@alphakits/ui 1.27.27 → 1.27.29

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 (360) hide show
  1. package/dist/PhotoS-888e6e0c.js +1 -0
  2. package/dist/amount/component.js +1 -1
  3. package/dist/amount/index.js +1 -1
  4. package/dist/amount-input/component.js +1 -1
  5. package/dist/amount-input/index.js +1 -1
  6. package/dist/avatar/component.js +1 -1
  7. package/dist/avatar/index.js +1 -1
  8. package/dist/badge/component.js +1 -1
  9. package/dist/badge/index.js +1 -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 +2 -2
  13. package/dist/bottom-sheet/index.js +1 -1
  14. package/dist/box/component.js +1 -1
  15. package/dist/box/index.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-da58f14e.js → capitalize-5d26c09d.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/colors.module-dee57c29.js +1 -0
  57. package/dist/component-1852eed1.js +1 -0
  58. package/dist/component-75e0e7b6.js +1 -0
  59. package/dist/contact-block-813441b9.js +1 -0
  60. package/dist/copy-button/component.js +1 -1
  61. package/dist/copy-button/index.js +1 -1
  62. package/dist/date/component.js +1 -1
  63. package/dist/date/index.js +1 -1
  64. package/dist/date-functions.js +1 -1
  65. package/dist/date-switcher/component.js +1 -1
  66. package/dist/date-switcher/index.js +1 -1
  67. package/dist/decorated-item/component.js +1 -1
  68. package/dist/decorated-item/index.js +1 -1
  69. package/dist/divider/component.js +1 -1
  70. package/dist/divider/index.js +1 -1
  71. package/dist/dot/component.js +1 -1
  72. package/dist/dot/index.js +1 -1
  73. package/dist/flex/component.js +1 -1
  74. package/dist/flex/index.js +1 -1
  75. package/dist/flex-columns/component.js +1 -1
  76. package/dist/flex-columns/index.js +1 -1
  77. package/dist/footer/component.js +1 -1
  78. package/dist/footer/contact-block.js +1 -1
  79. package/dist/footer/index.js +1 -1
  80. package/dist/form/component.js +1 -1
  81. package/dist/form/components/form-footer/index.js +1 -1
  82. package/dist/form/components/form-loading/index.js +1 -1
  83. package/dist/form/components/form-outer/index.js +1 -1
  84. package/dist/form/components/form-updating/index.js +1 -1
  85. package/dist/form/components/form-wrapper/index.js +1 -1
  86. package/dist/form/components/index.d.ts +1 -1
  87. package/dist/form/components/index.js +1 -1
  88. package/dist/form/index.js +1 -1
  89. package/dist/form/templates/base-form/index.js +1 -1
  90. package/dist/form/templates/filters-form/index.js +1 -1
  91. package/dist/form/templates/rest-form/form.js +1 -1
  92. package/dist/form/templates/rest-form/index.js +1 -1
  93. package/dist/form/utils/get-default-values.js +1 -1
  94. package/dist/form-control/component.js +1 -1
  95. package/dist/form-control/index.js +1 -1
  96. package/dist/grid/col/component.js +1 -1
  97. package/dist/grid/col/index.js +1 -1
  98. package/dist/grid/component.js +1 -1
  99. package/dist/grid/index.js +1 -1
  100. package/dist/grid/row/component.js +1 -1
  101. package/dist/grid/row/index.js +1 -1
  102. package/dist/gutters.module-1e0c1369.js +1 -0
  103. package/dist/header-search/component.js +1 -1
  104. package/dist/header-search/index.js +1 -1
  105. package/dist/hooks/index.js +1 -1
  106. package/dist/hooks/use-crud-form-requests/index.js +1 -1
  107. package/dist/hooks/use-get-one/index.js +1 -1
  108. package/dist/icon-button/component.js +1 -1
  109. package/dist/icon-button/index.js +1 -1
  110. package/dist/image/component.js +1 -1
  111. package/dist/image/image-base.js +1 -1
  112. package/dist/image/index.js +1 -1
  113. package/dist/image/use-image-render-component.d.ts +0 -13
  114. package/dist/image/use-image-render-component.js +1 -1
  115. package/dist/image-gallery/component.js +1 -1
  116. package/dist/image-gallery/components/header/index.js +1 -1
  117. package/dist/image-gallery/components/header-info-block/index.js +1 -1
  118. package/dist/image-gallery/components/image-preview/index.js +1 -1
  119. package/dist/image-gallery/components/image-viewer/index.js +1 -1
  120. package/dist/image-gallery/components/image-viewer/slide.js +1 -1
  121. package/dist/image-gallery/components/index.js +1 -1
  122. package/dist/image-gallery/components/navigation-bar/index.js +1 -1
  123. package/dist/image-gallery/index.js +1 -1
  124. package/dist/image-uploader/component.js +1 -1
  125. package/dist/image-uploader/index.js +1 -1
  126. package/dist/index-200440e1.js +1 -0
  127. package/dist/index-2fa5f0ff.js +1 -0
  128. package/dist/index-36969ea7.js +1 -0
  129. package/dist/{index-00def255.js → index-6177f5e3.js} +1 -1
  130. package/dist/{index-579985bf.js → index-69b4d678.js} +1 -1
  131. package/dist/index-72b153ca.js +1 -0
  132. package/dist/{index-5d5dc52f.js → index-74c7ea5e.js} +1 -1
  133. package/dist/{index-8347460a.js → index-9a229f94.js} +1 -1
  134. package/dist/index-a487f3e1.js +1 -0
  135. package/dist/index-eb5ee370.js +1 -0
  136. package/dist/{index-f96da3a0.js → index-eef797c6.js} +2 -2
  137. package/dist/index-fd5802fb.js +1 -0
  138. package/dist/{index-7cac52e8.js → index-ff0ff21f.js} +1 -1
  139. package/dist/index.css +1 -0
  140. package/dist/info-block-header/component.js +1 -1
  141. package/dist/info-block-header/index.js +1 -1
  142. package/dist/info-block-item/component.js +1 -1
  143. package/dist/info-block-item/index.js +1 -1
  144. package/dist/info-block-wrapper/component.js +1 -1
  145. package/dist/info-block-wrapper/index.js +1 -1
  146. package/dist/input/component.js +1 -1
  147. package/dist/input/index.js +1 -1
  148. package/dist/input-autocomplete/autocomplete-field/index.js +1 -1
  149. package/dist/input-autocomplete/component.js +1 -1
  150. package/dist/input-autocomplete/index.js +1 -1
  151. package/dist/input-ghost/component.js +1 -1
  152. package/dist/input-ghost/index.js +1 -1
  153. package/dist/{isSymbol-6569b777.js → isSymbol-2f4ce52c.js} +1 -1
  154. package/dist/link/component.js +1 -1
  155. package/dist/link/index.js +1 -1
  156. package/dist/list-allert/component.js +1 -1
  157. package/dist/list-allert/index.js +1 -1
  158. package/dist/loader/component.js +1 -1
  159. package/dist/loader/index.js +1 -1
  160. package/dist/masked-input/component.js +1 -1
  161. package/dist/masked-input/index.js +1 -1
  162. package/dist/menu/component.js +1 -1
  163. package/dist/menu/components/content-header/index.js +1 -1
  164. package/dist/menu/components/index.js +1 -1
  165. package/dist/menu/components/menu-avatar/index.js +1 -1
  166. package/dist/menu/components/menu-back-button/index.js +1 -1
  167. package/dist/menu/components/menu-button/index.js +1 -1
  168. package/dist/menu/components/menu-buttons-list/index.js +1 -1
  169. package/dist/menu/components/user-button/index.js +1 -1
  170. package/dist/menu/index.js +1 -1
  171. package/dist/message/component.js +1 -1
  172. package/dist/message/index.js +1 -1
  173. package/dist/modal/components/modals/index.js +1 -1
  174. package/dist/modal/components/modals/modal.js +1 -1
  175. package/dist/modal/context.js +1 -1
  176. package/dist/modal/hooks/use-modal.d.ts +2 -2
  177. package/dist/modal/hooks/use-modal.js +1 -1
  178. package/dist/modal/index.js +1 -1
  179. package/dist/modal/types.d.ts +5 -3
  180. package/dist/modal/utils/delete-property-by-id.js +1 -1
  181. package/dist/not-found/component.js +1 -1
  182. package/dist/not-found/index.js +1 -1
  183. package/dist/notification/component.js +1 -1
  184. package/dist/notification/index.js +1 -1
  185. package/dist/page-container/component.js +1 -1
  186. package/dist/page-container/index.js +1 -1
  187. package/dist/page-loading/component.js +1 -1
  188. package/dist/page-loading/index.js +1 -1
  189. package/dist/{parse-query-params-5917b4fd.js → parse-query-params-a869615f.js} +1 -1
  190. package/dist/picker-button/common/index.js +1 -1
  191. package/dist/picker-button/common/labeled-button/index.js +1 -1
  192. package/dist/picker-button/component.js +1 -1
  193. package/dist/picker-button/field/Component.js +1 -1
  194. package/dist/picker-button/field/index.js +1 -1
  195. package/dist/picker-button/index.js +1 -1
  196. package/dist/popover/component.js +1 -1
  197. package/dist/popover/index.js +1 -1
  198. package/dist/progress-bar/component.js +1 -1
  199. package/dist/progress-bar/index.js +1 -1
  200. package/dist/progress-index/component.js +1 -1
  201. package/dist/progress-index/index.js +1 -1
  202. package/dist/pure-image/component.js +1 -1
  203. package/dist/pure-image/index.js +1 -1
  204. package/dist/radio/component.js +1 -1
  205. package/dist/radio/index.js +1 -1
  206. package/dist/radio-group/component.js +1 -1
  207. package/dist/radio-group/index.js +1 -1
  208. package/dist/radio-groups/component.js +1 -1
  209. package/dist/radio-groups/index.js +1 -1
  210. package/dist/section-wrapper/component.js +1 -1
  211. package/dist/section-wrapper/index.js +1 -1
  212. package/dist/select/component.js +1 -1
  213. package/dist/select/components/arrow/component.js +1 -1
  214. package/dist/select/components/arrow/index.js +1 -1
  215. package/dist/select/components/base-select/component.js +1 -1
  216. package/dist/select/components/base-select/index.js +1 -1
  217. package/dist/select/components/checkmark/component.js +1 -1
  218. package/dist/select/components/checkmark/index.js +1 -1
  219. package/dist/select/components/field/component.js +1 -1
  220. package/dist/select/components/field/index.js +1 -1
  221. package/dist/select/components/index.js +1 -1
  222. package/dist/select/components/native-select/component.js +1 -1
  223. package/dist/select/components/native-select/index.js +1 -1
  224. package/dist/select/components/optgroup/component.js +1 -1
  225. package/dist/select/components/optgroup/index.js +1 -1
  226. package/dist/select/components/option/component.js +1 -1
  227. package/dist/select/components/option/index.js +1 -1
  228. package/dist/select/components/options-list/component.js +1 -1
  229. package/dist/select/components/options-list/index.js +1 -1
  230. package/dist/select/components/virtual-options-list/component.js +1 -1
  231. package/dist/select/components/virtual-options-list/index.js +1 -1
  232. package/dist/select/index.js +1 -1
  233. package/dist/select/presets/index.js +1 -1
  234. package/dist/select/presets/use-lazy-loading/index.js +1 -1
  235. package/dist/select/presets/use-select-with-loading/hook.js +1 -1
  236. package/dist/sidepanel-header/component.js +1 -1
  237. package/dist/sidepanel-header/index.js +1 -1
  238. package/dist/skeleton/component.js +1 -1
  239. package/dist/skeleton/index.js +1 -1
  240. package/dist/slide-98ce8f96.js +1 -0
  241. package/dist/space/Item.js +1 -1
  242. package/dist/space/component.js +1 -1
  243. package/dist/space/index.js +1 -1
  244. package/dist/spinner/component.js +1 -1
  245. package/dist/spinner/index.js +1 -1
  246. package/dist/status/component.d.ts +1 -0
  247. package/dist/status/component.js +1 -1
  248. package/dist/status/index.js +1 -1
  249. package/dist/step-bar-2137118d.js +1 -0
  250. package/dist/stepped-progress-bar/index.js +1 -1
  251. package/dist/stepped-progress-bar/step-bar.js +1 -1
  252. package/dist/sticker/component.js +1 -1
  253. package/dist/sticker/index.js +1 -1
  254. package/dist/suffix-input/component.js +1 -1
  255. package/dist/suffix-input/index.js +1 -1
  256. package/dist/super-list-header/component.js +1 -1
  257. package/dist/super-list-header/index.js +1 -1
  258. package/dist/super-list-item/component.js +1 -1
  259. package/dist/super-list-item/index.js +1 -1
  260. package/dist/switch/component.js +1 -1
  261. package/dist/switch/index.js +1 -1
  262. package/dist/table/columns.js +1 -1
  263. package/dist/table/component.js +1 -1
  264. package/dist/table/components/cell/component.js +1 -1
  265. package/dist/table/components/cell/index.js +1 -1
  266. package/dist/table/components/cells/index.js +1 -1
  267. package/dist/table/components/empty-list/index.js +1 -1
  268. package/dist/table/components/error/index.js +1 -1
  269. package/dist/table/components/loading/index.js +1 -1
  270. package/dist/table/components/pagination/index.js +1 -1
  271. package/dist/table/components/table-header/index.js +1 -1
  272. package/dist/table/hooks/use-table-data.js +1 -1
  273. package/dist/table/index.d.ts +1 -1
  274. package/dist/table/index.js +1 -1
  275. package/dist/table/table.js +1 -1
  276. package/dist/table/utils/add-query-param.js +1 -1
  277. package/dist/table/utils/get-query-from-url.js +1 -1
  278. package/dist/table/utils/index.d.ts +1 -1
  279. package/dist/table/utils/index.js +1 -1
  280. package/dist/table/utils/parse-query-params.js +1 -1
  281. package/dist/table/utils/prepare-rows.js +1 -1
  282. package/dist/table/utils/query-adapter.js +1 -1
  283. package/dist/table/utils/remove-query-param.js +1 -1
  284. package/dist/table/utils/reset-query-param.js +1 -1
  285. package/dist/table-status/component.js +1 -1
  286. package/dist/table-status/index.js +1 -1
  287. package/dist/tag/component.js +1 -1
  288. package/dist/tag/index.js +1 -1
  289. package/dist/tags-list/component.js +1 -1
  290. package/dist/tags-list/index.js +1 -1
  291. package/dist/textarea/component.js +1 -1
  292. package/dist/textarea/index.js +1 -1
  293. package/dist/toast/component.js +1 -1
  294. package/dist/toast/index.js +1 -1
  295. package/dist/toast-notifier/component.js +1 -1
  296. package/dist/toast-notifier/index.js +1 -1
  297. package/dist/toast-plate/component.js +1 -1
  298. package/dist/toast-plate/index.js +1 -1
  299. package/dist/tooltip/component.js +1 -1
  300. package/dist/tooltip/index.js +1 -1
  301. package/dist/typography/component.js +1 -1
  302. package/dist/typography/index.js +1 -1
  303. package/dist/typography/text/component.js +1 -1
  304. package/dist/typography/text/index.js +1 -1
  305. package/dist/typography/title/component.js +1 -1
  306. package/dist/typography/title/index.js +1 -1
  307. package/dist/use-image-render-component-b09b57f4.d.ts +13 -0
  308. package/dist/use-image-render-component-b09b57f4.js +1 -0
  309. package/dist/utils/format-date/index.js +1 -1
  310. package/dist/utils/index.js +1 -1
  311. package/dist/utils/show-toast/index.js +1 -1
  312. package/dist/vars/typography.css +7 -0
  313. package/dist/welcome-layout/component.js +1 -1
  314. package/dist/welcome-layout/index.js +1 -1
  315. package/dist/with-suffix/component.js +1 -1
  316. package/dist/with-suffix/index.js +1 -1
  317. package/package.json +3 -2
  318. package/dist/colors.module-bcab070d.js +0 -1
  319. package/dist/component-8815e62a.js +0 -1
  320. package/dist/component-dd7178f2.js +0 -1
  321. package/dist/contact-block-ffd5adcd.js +0 -1
  322. package/dist/gutters.module-63c85344.js +0 -1
  323. package/dist/index-21c90eba.js +0 -1
  324. package/dist/index-290e6c62.js +0 -1
  325. package/dist/index-54cfd58f.js +0 -1
  326. package/dist/index-9ce5a5e7.js +0 -1
  327. package/dist/index-bae76388.js +0 -1
  328. package/dist/index-d33b2062.js +0 -1
  329. package/dist/index-fcfe1262.js +0 -1
  330. package/dist/index.module-2888c6f3.js +0 -1
  331. package/dist/index.module-37dfdb4b.js +0 -1
  332. package/dist/index.module-484c9508.js +0 -1
  333. package/dist/index.module-7efc4510.js +0 -1
  334. package/dist/index.module-ef79213a.js +0 -1
  335. package/dist/slide-e3b4aca4.js +0 -1
  336. package/dist/step-bar-f54b2d63.js +0 -1
  337. package/dist/style-inject.es-1f59c1d0.js +0 -1
  338. /package/dist/{ActionCopyM-2f28ae57.js → ActionCopyM-66c0b0d4.js} +0 -0
  339. /package/dist/{CheckmarkCircleM-10f50b3f.js → CheckmarkCircleM-ab70fc95.js} +0 -0
  340. /package/dist/{ChevronBackM-47d9cb6d.js → ChevronBackM-f221b96d.js} +0 -0
  341. /package/dist/{ChevronDownS-5f3ba4f5.js → ChevronDownS-1b1b979a.js} +0 -0
  342. /package/dist/{ChevronForwardS-78acca51.js → ChevronForwardS-0117b7b4.js} +0 -0
  343. /package/dist/{ClockCircleM-9cbd1915.js → ClockCircleM-4239c494.js} +0 -0
  344. /package/dist/{CloseS-c17ee568.js → CloseS-c67b27a4.js} +0 -0
  345. /package/dist/{NextS-2b028cce.js → NextS-9d66362a.js} +0 -0
  346. /package/dist/{PlusS-d3752d5b.js → PlusS-c9e4359e.js} +0 -0
  347. /package/dist/{SearchM-9b5d9f79.js → SearchM-b0f02c73.js} +0 -0
  348. /package/dist/{TrashM-504e1b6e.js → TrashM-d4062058.js} +0 -0
  349. /package/dist/{_commonjsHelpers-97e6d7b1.js → _commonjsHelpers-df4d639f.js} +0 -0
  350. /package/dist/{component-8815e62a.d.ts → component-1852eed1.d.ts} +0 -0
  351. /package/dist/{component-dd7178f2.d.ts → component-75e0e7b6.d.ts} +0 -0
  352. /package/dist/{contact-block-ffd5adcd.d.ts → contact-block-813441b9.d.ts} +0 -0
  353. /package/dist/{index-54cfd58f.d.ts → index-200440e1.d.ts} +0 -0
  354. /package/dist/{index-14cb6781.js → index-58997b72.js} +0 -0
  355. /package/dist/{index-acf532e5.js → index-e874f104.js} +0 -0
  356. /package/dist/{intersection-observer-044a6fec.js → intersection-observer-80f4ad58.js} +0 -0
  357. /package/dist/{parse-query-params-5917b4fd.d.ts → parse-query-params-a869615f.d.ts} +0 -0
  358. /package/dist/{slide-e3b4aca4.d.ts → slide-98ce8f96.d.ts} +0 -0
  359. /package/dist/{step-bar-f54b2d63.d.ts → step-bar-2137118d.d.ts} +0 -0
  360. /package/dist/{tslib.es6-c1295375.js → tslib.es6-e419faf4.js} +0 -0
@@ -1 +1 @@
1
- import p from"react";import{A as a}from"../ActionCopyM-2f28ae57.js";import e from"classnames";import{IconButton as x}from"../icon-button/component.js";import{ToastNotifier as o}from"../toast-notifier/component.js";import{Typography as t}from"../typography/component.js";import{s as r}from"../style-inject.es-1f59c1d0.js";import"../tslib.es6-c1295375.js";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"../CheckmarkCircleM-10f50b3f.js";import"../ClockCircleM-9cbd1915.js";import"../CloseS-c17ee568.js";import"../toast-notifier/use-timer.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../typography/title/index.js";import"../typography/title/component.js";var i={item:"index-module_item__BUo57",start:"index-module_start__G65gS",between:"index-module_between__yyp2w",rightAddons:"index-module_rightAddons__KS2QD",content:"index-module_content__Q7Zy2",copy:"index-module_copy__msKVu"};r(':root{--shadow-info-block:0px 4px 4px rgba(0,0,0,.25);--shadow-xs:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04);--shadow-s:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08);--shadow-m:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16);--shadow-l:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24);--shadow-xl:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32);--shadow-xs-hard:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04),0 2px 4px rgba(11,31,53,.16);--shadow-s-hard:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08),0 4px 8px rgba(11,31,53,.16);--shadow-m-hard:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16),0 8px 16px rgba(11,31,53,.16);--shadow-l-hard:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24),0 12px 24px rgba(11,31,53,.16);--shadow-xl-hard:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32),0 16px 32px rgba(11,31,53,.16);--shadow-xs-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04);--shadow-s-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08);--shadow-m-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16);--shadow-l-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24);--shadow-xl-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32);--shadow-xs-hard-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04),0 -2px 4px rgba(11,31,53,.16);--shadow-s-hard-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08),0 -4px 8px rgba(11,31,53,.16);--shadow-m-hard-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16),0 -8px 16px rgba(11,31,53,.16);--shadow-l-hard-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24),0 -12px 24px rgba(11,31,53,.16);--shadow-xl-hard-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32),0 -16px 32px rgba(11,31,53,.16);--radius-s:4px;--radius-m:8px;--radius-l:10px;--radius-circle:50%;--gap-2xs:4px;--gap-xs:8px;--gap-s:12px;--gap-m:16px;--gap-l:20px;--gap-xl:24px;--gap-xxl:28px;--gap-2xl:32px;--gap-3xl:40px;--gap-4xl:48px;--gap-5xl:64px;--gap-6xl:72px;--gap-7xl:96px;--gap-8xl:128px;--gap-2xs-neg:-4px;--gap-xs-neg:-8px;--gap-s-neg:-12px;--gap-m-neg:-16px;--gap-l-neg:-20px;--gap-xl-neg:-24px;--gap-2xl-neg:-32px;--gap-3xl-neg:-40px;--gap-4xl-neg:-48px;--gap-5xl-neg:-64px;--gap-6xl-neg:-72px;--gap-7xl-neg:-96px;--gap-8xl-neg:-128px;--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.index-module_item__BUo57{space-between:space-between;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;max-width:100%;padding:3px 0;text-align:left;width:100%}.index-module_start__G65gS{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.index-module_between__yyp2w{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.index-module_rightAddons__KS2QD{margin-left:var(--gap-2xs)}.index-module_content__Q7Zy2{display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:24px;position:relative;text-align:right}.index-module_copy__msKVu{background:var(--color-bg-primary)!important;display:none!important;left:4px!important;position:absolute!important;top:-2px!important;width:16px!important}.index-module_item__BUo57:hover .index-module_copy__msKVu{display:block!important}');var s=function(r){var s=r.label,n=r.value,g=r.view,d=void 0===g?"between":g,l=r.rightAddons,m=r.withCopyButton,b=r.color,c=void 0===b?"primary":b;return p.createElement("div",{className:e(i.item,i[d])},p.createElement(t.Text,{view:"caps",color:"secondary",weight:"medium"},s,n&&":"),p.createElement("div",{className:i.content},n&&p.createElement(t.Text,{view:"caps",className:i.value,color:c,weight:"medium"},n,m&&p.createElement(x,{icon:a,className:i.copy,size:"s",onClick:function(p){p.stopPropagation(),navigator.clipboard.writeText(n).then((function(){o({title:"Copied!",view:"positive",offset:30})}))}})),l&&p.createElement("div",{className:i.rightAddons},l)))};export{s as InfoBlockItem};
1
+ import e from"react";import{A as t}from"../ActionCopyM-66c0b0d4.js";import o from"classnames";import{IconButton as i}from"../icon-button/component.js";import{ToastNotifier as r}from"../toast-notifier/component.js";import{Typography as m}from"../typography/component.js";import"../tslib.es6-e419faf4.js";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"../CheckmarkCircleM-ab70fc95.js";import"../ClockCircleM-4239c494.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";var n={item:"index-module_item__BUo57",start:"index-module_start__G65gS",between:"index-module_between__yyp2w",rightAddons:"index-module_rightAddons__KS2QD",content:"index-module_content__Q7Zy2",copy:"index-module_copy__msKVu"},s=function(s){var c=s.label,p=s.value,a=s.view,l=void 0===a?"between":a,d=s.rightAddons,u=s.withCopyButton,y=s.color,_=void 0===y?"primary":y;return e.createElement("div",{className:o(n.item,n[l])},e.createElement(m.Text,{view:"caps",color:"secondary",weight:"medium"},c,p&&":"),e.createElement("div",{className:n.content},p&&e.createElement(m.Text,{view:"caps",className:n.value,color:_,weight:"medium"},p,u&&e.createElement(i,{icon:t,className:n.copy,size:"s",onClick:function(e){e.stopPropagation(),navigator.clipboard.writeText(p).then((function(){r({title:"Copied!",view:"positive",offset:30})}))}})),d&&e.createElement("div",{className:n.rightAddons},d)))};export{s as InfoBlockItem};
@@ -1 +1 @@
1
- export{InfoBlockItem}from"./component.js";import"react";import"../ActionCopyM-2f28ae57.js";import"classnames";import"../icon-button/component.js";import"../tslib.es6-c1295375.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../style-inject.es-1f59c1d0.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../ClockCircleM-9cbd1915.js";import"../CloseS-c17ee568.js";import"../toast-notifier/use-timer.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../typography/title/index.js";import"../typography/title/component.js";
1
+ export{InfoBlockItem}from"./component.js";import"react";import"../ActionCopyM-66c0b0d4.js";import"classnames";import"../icon-button/component.js";import"../tslib.es6-e419faf4.js";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"../CheckmarkCircleM-ab70fc95.js";import"../ClockCircleM-4239c494.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";
@@ -1 +1 @@
1
- import p from"react";import x from"classnames";import{s as a}from"../style-inject.es-1f59c1d0.js";var r={infoBlock:"index-module_infoBlock__UlYZ9",icon:"index-module_icon__lhrKn",bordered:"index-module_bordered__0yDPn",withHover:"index-module_withHover__OF8-i"};a(':root{--shadow-info-block:0px 4px 4px rgba(0,0,0,.25);--shadow-xs:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04);--shadow-s:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08);--shadow-m:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16);--shadow-l:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24);--shadow-xl:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32);--shadow-xs-hard:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04),0 2px 4px rgba(11,31,53,.16);--shadow-s-hard:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08),0 4px 8px rgba(11,31,53,.16);--shadow-m-hard:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16),0 8px 16px rgba(11,31,53,.16);--shadow-l-hard:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24),0 12px 24px rgba(11,31,53,.16);--shadow-xl-hard:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32),0 16px 32px rgba(11,31,53,.16);--shadow-xs-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04);--shadow-s-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08);--shadow-m-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16);--shadow-l-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24);--shadow-xl-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32);--shadow-xs-hard-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04),0 -2px 4px rgba(11,31,53,.16);--shadow-s-hard-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08),0 -4px 8px rgba(11,31,53,.16);--shadow-m-hard-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16),0 -8px 16px rgba(11,31,53,.16);--shadow-l-hard-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24),0 -12px 24px rgba(11,31,53,.16);--shadow-xl-hard-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32),0 -16px 32px rgba(11,31,53,.16);--radius-s:4px;--radius-m:8px;--radius-l:10px;--radius-circle:50%;--gap-2xs:4px;--gap-xs:8px;--gap-s:12px;--gap-m:16px;--gap-l:20px;--gap-xl:24px;--gap-xxl:28px;--gap-2xl:32px;--gap-3xl:40px;--gap-4xl:48px;--gap-5xl:64px;--gap-6xl:72px;--gap-7xl:96px;--gap-8xl:128px;--gap-2xs-neg:-4px;--gap-xs-neg:-8px;--gap-s-neg:-12px;--gap-m-neg:-16px;--gap-l-neg:-20px;--gap-xl-neg:-24px;--gap-2xl-neg:-32px;--gap-3xl-neg:-40px;--gap-4xl-neg:-48px;--gap-5xl-neg:-64px;--gap-6xl-neg:-72px;--gap-7xl-neg:-96px;--gap-8xl-neg:-128px;--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.index-module_infoBlock__UlYZ9{-webkit-box-orient:vertical;-webkit-box-direction:normal;background:var(--color-bg-primary);border:none;border-radius:var(--radius-m);-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--gap-s);outline:none;padding:var(--gap-s) var(--gap-m);position:relative;width:100%;&:hover{& .index-module_icon__lhrKn{color:var(--color-graphic-accent)}}}.index-module_bordered__0yDPn{border:1px solid var(--color-border-primary)}.index-module_icon__lhrKn{color:var(--color-graphic-thirdly);position:absolute;right:var(--gap-m);top:var(--gap-s)}.index-module_withHover__OF8-i{cursor:pointer}');var o=function(a){var o=a.children,g=a.view,e=void 0===g?"default":g;return p.createElement("div",{className:x(r.infoBlock,r[e])},o)};export{o as InfoBlockWrapper};
1
+ import e from"react";import o from"classnames";var i={infoBlock:"index-module_infoBlock__UlYZ9",icon:"index-module_icon__lhrKn",bordered:"index-module_bordered__0yDPn",withHover:"index-module_withHover__OF8-i"},r=function(r){var n=r.children,d=r.view,l=void 0===d?"default":d;return e.createElement("div",{className:o(i.infoBlock,i[l])},n)};export{r as InfoBlockWrapper};
@@ -1 +1 @@
1
- export{InfoBlockWrapper}from"./component.js";import"react";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{InfoBlockWrapper}from"./component.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import{_ as o,a as e}from"../tslib.es6-c1295375.js";import a,{useRef as l,useState as r,useCallback as s,Fragment as p}from"react";import i from"react-merge-refs";import n from"classnames";import{Button as t}from"../button/component.js";import{FormControl as c}from"../form-control/component.js";import{useFocus as d}from"../hooks/useFocus/index.js";import{s as u}from"../style-inject.es-1f59c1d0.js";import"../loader/component.js";var x={input:"index-module_input__XkSql",hasLabel:"index-module_hasLabel__3lW-T",block:"index-module_block__Lq9-V",clearIcon:"index-module_clearIcon__951a-",errorIcon:"index-module_errorIcon__Z4acu",successIcon:"index-module_successIcon__yfoME",focusVisible:"index-module_focusVisible__3hinw"};u(':root{--shadow-info-block:0px 4px 4px rgba(0,0,0,.25);--shadow-xs:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04);--shadow-s:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08);--shadow-m:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16);--shadow-l:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24);--shadow-xl:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32);--shadow-xs-hard:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04),0 2px 4px rgba(11,31,53,.16);--shadow-s-hard:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08),0 4px 8px rgba(11,31,53,.16);--shadow-m-hard:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16),0 8px 16px rgba(11,31,53,.16);--shadow-l-hard:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24),0 12px 24px rgba(11,31,53,.16);--shadow-xl-hard:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32),0 16px 32px rgba(11,31,53,.16);--shadow-xs-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04);--shadow-s-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08);--shadow-m-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16);--shadow-l-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24);--shadow-xl-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32);--shadow-xs-hard-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04),0 -2px 4px rgba(11,31,53,.16);--shadow-s-hard-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08),0 -4px 8px rgba(11,31,53,.16);--shadow-m-hard-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16),0 -8px 16px rgba(11,31,53,.16);--shadow-l-hard-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24),0 -12px 24px rgba(11,31,53,.16);--shadow-xl-hard-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32),0 -16px 32px rgba(11,31,53,.16);--radius-s:4px;--radius-m:8px;--radius-l:10px;--radius-circle:50%;--gap-2xs:4px;--gap-xs:8px;--gap-s:12px;--gap-m:16px;--gap-l:20px;--gap-xl:24px;--gap-xxl:28px;--gap-2xl:32px;--gap-3xl:40px;--gap-4xl:48px;--gap-5xl:64px;--gap-6xl:72px;--gap-7xl:96px;--gap-8xl:128px;--gap-2xs-neg:-4px;--gap-xs-neg:-8px;--gap-s-neg:-12px;--gap-m-neg:-16px;--gap-l-neg:-20px;--gap-xl-neg:-24px;--gap-2xl-neg:-32px;--gap-3xl-neg:-40px;--gap-4xl-neg:-48px;--gap-5xl-neg:-64px;--gap-6xl-neg:-72px;--gap-7xl-neg:-96px;--gap-8xl-neg:-128px;--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--text-primary-color:var(--color-text-primary);--text-secondary-color:var(--color-text-secondary);--text-tertiary-color:var(--color-text-tertiary);--border-radius:4px;--focus-color:var(--color-border-link);--font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Helvetica,sans-serif;--disabled-cursor:not-allowed;--arrow-transform:rotate(180deg);--input-clear-icon:url(https://alfabank.st/icons/glyph_cross-circle_m.svg);--input-color:var(--color-text-primary);--input-placeholder-color:var(--color-text-secondary);--input-focus-placeholder-color:var(--color-text-tertiary);--input-with-label-placeholder-color:var(--color-text-tertiary);--input-error-icon-display:flex;--input-success-icon-display:flex;--input-error-icon:url(https://alfabank.st/icons/icon_error_s_color.svg);--input-success-icon:url(https://alfabank.st/icons/icon_ok_s_color.svg);--input-disabled-color:var(--color-text-secondary);--input-read-only-color:var(--color-text-secondary)}.index-module_input__XkSql{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-appearance:none;background:none;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--input-color);display:block;font-family:var(--font-family);font-size:16px!important;font-weight:400;height:100%;line-height:20px;margin:0;outline:none;position:relative;text-overflow:ellipsis;width:100%}.index-module_input__XkSql::-webkit-input-placeholder{color:var(--input-placeholder-color);-webkit-transition:opacity .2s ease,color .2s ease;transition:opacity .2s ease,color .2s ease}.index-module_input__XkSql::-moz-placeholder{color:var(--input-placeholder-color);-moz-transition:opacity .2s ease,color .2s ease;transition:opacity .2s ease,color .2s ease}.index-module_input__XkSql:-ms-input-placeholder{color:var(--input-placeholder-color);-ms-transition:opacity .2s ease,color .2s ease;transition:opacity .2s ease,color .2s ease}.index-module_input__XkSql::-ms-input-placeholder{color:var(--input-placeholder-color);-ms-transition:opacity .2s ease,color .2s ease;transition:opacity .2s ease,color .2s ease}.index-module_input__XkSql::placeholder{color:var(--input-placeholder-color);-webkit-transition:opacity .2s ease,color .2s ease;transition:opacity .2s ease,color .2s ease}.index-module_hasLabel__3lW-T::-webkit-input-placeholder{color:var(--input-with-label-placeholder-color);opacity:0}.index-module_hasLabel__3lW-T::-moz-placeholder{color:var(--input-with-label-placeholder-color);opacity:0}.index-module_hasLabel__3lW-T:-ms-input-placeholder{color:var(--input-with-label-placeholder-color);opacity:0}.index-module_hasLabel__3lW-T::-ms-input-placeholder{color:var(--input-with-label-placeholder-color);opacity:0}.index-module_hasLabel__3lW-T::placeholder{color:var(--input-with-label-placeholder-color);opacity:0}.index-module_block__Lq9-V{width:100%}.index-module_clearIcon__951a-{background-image:var(--input-clear-icon);background-position:50% 50%;background-repeat:no-repeat;display:block;height:24px;opacity:.3;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;width:24px;&:hover{opacity:.6}&:active{opacity:1}}.index-module_errorIcon__Z4acu{background-image:url(https://alfabank.st/icons/icon_error_s_color.svg);display:var(--input-error-icon-display)}.index-module_errorIcon__Z4acu,.index-module_successIcon__yfoME{background-position:50% 50%;background-repeat:no-repeat;height:24px;width:24px}.index-module_successIcon__yfoME{background-image:url(https://alfabank.st/icons/icon_ok_s_color.svg);display:var(--input-success-icon-display)}.index-module_input__XkSql:disabled{color:var(--input-disabled-color);cursor:var(--disabled-cursor)}.index-module_input__XkSql:focus.index-module_hasLabel__3lW-T::-webkit-input-placeholder{opacity:1}.index-module_input__XkSql:focus.index-module_hasLabel__3lW-T::-moz-placeholder{opacity:1}.index-module_input__XkSql:focus.index-module_hasLabel__3lW-T:-ms-input-placeholder{opacity:1}.index-module_input__XkSql:focus.index-module_hasLabel__3lW-T::-ms-input-placeholder{opacity:1}.index-module_input__XkSql:focus.index-module_hasLabel__3lW-T::placeholder{opacity:1}.index-module_input__XkSql:focus::-webkit-input-placeholder{color:var(--input-focus-placeholder-color)}.index-module_input__XkSql:focus::-moz-placeholder{color:var(--input-focus-placeholder-color)}.index-module_input__XkSql:focus:-ms-input-placeholder{color:var(--input-focus-placeholder-color)}.index-module_input__XkSql:focus::-ms-input-placeholder{color:var(--input-focus-placeholder-color)}.index-module_input__XkSql:focus::placeholder{color:var(--input-focus-placeholder-color)}.index-module_focusVisible__3hinw{outline:2px solid var(--focus-color);outline-offset:2px}.index-module_input__XkSql:-moz-read-only{color:var(--input-read-only-color);cursor:var(--disabled-cursor);&:focus::placeholder{color:var(--input-placeholder-color)}}.index-module_input__XkSql:read-only{color:var(--input-read-only-color);cursor:var(--disabled-cursor);&:focus::-webkit-input-placeholder{color:var(--input-placeholder-color)}&:focus::-moz-placeholder{color:var(--input-placeholder-color)}&:focus:-ms-input-placeholder{color:var(--input-placeholder-color)}&:focus::-ms-input-placeholder{color:var(--input-placeholder-color)}&:focus::placeholder{color:var(--input-placeholder-color)}}.index-module_hasLabel__3lW-T:read-only:focus::-webkit-input-placeholder{opacity:0}.index-module_hasLabel__3lW-T:read-only:focus::-moz-placeholder{opacity:0}.index-module_hasLabel__3lW-T:read-only:focus:-ms-input-placeholder{opacity:0}.index-module_hasLabel__3lW-T:read-only:focus::-ms-input-placeholder{opacity:0}.index-module_hasLabel__3lW-T:-moz-read-only:focus::placeholder{opacity:0}.index-module_hasLabel__3lW-T:read-only:focus::placeholder{opacity:0}.index-module_input__XkSql::-ms-clear{display:none;height:0;width:0}.index-module_input__XkSql{&:-webkit-autofill,&:-webkit-autofill:active,&:-webkit-autofill:focus,&:-webkit-autofill:hover{-webkit-box-shadow:inset 0 0 0 30px #ffffff00!important;-webkit-transition:background-color 999999s ease-in-out 0s;transition:background-color 999999s ease-in-out 0s}}');var _=a.forwardRef((function(u,_){var b,m,h=u.size,g=void 0===h?"m":h,f=u.type,y=void 0===f?"text":f,k=u.block,v=void 0!==k&&k,w=u.bottomAddons,q=u.dataTestId,S=u.clear,C=void 0!==S&&S,N=u.disabled,L=u.error,X=u.success,T=u.required,I=u.hint,W=u.className,z=u.fieldClassName,M=u.inputClassName,A=u.labelClassName,E=u.addonsClassName,V=u.focusedClassName,j=u.filledClassName,B=u.label,F=u.leftAddons,U=u.onFocus,R=u.onBlur,D=u.onChange,O=u.onClear,H=u.onClick,Z=u.onMouseDown,P=u.onMouseUp,G=u.rightAddons,J=u.value,K=u.defaultValue,Q=u.wrapperRef,Y=u.readOnly,$=o(u,["size","type","block","bottomAddons","dataTestId","clear","disabled","error","success","required","hint","className","fieldClassName","inputClassName","labelClassName","addonsClassName","focusedClassName","filledClassName","label","leftAddons","onFocus","onBlur","onChange","onClear","onClick","onMouseDown","onMouseUp","rightAddons","value","defaultValue","wrapperRef","readOnly"]),oo=void 0===J,eo=l(null),ao=d(eo,"keyboard")[0],lo=r(!1),ro=lo[0],so=lo[1],po=r(K||""),io=po[0],no=po[1],to=Boolean(oo?io:J),co=C&&to&&!N&&!Y,uo=s((function(o){Y||so(!0),U&&U(o)}),[U,Y]),xo=s((function(o){so(!1),R&&R(o)}),[R]),_o=s((function(o){D&&D(o,{value:o.target.value}),oo&&no(o.target.value)}),[D,oo]),bo=s((function(o){co&&(oo&&no(""),O&&O(o),eo.current&&!ro&&eo.current.focus())}),[co,ro,O,oo]);return a.createElement(c,{ref:Q,className:n(W,ro&&V,to&&j),fieldClassName:n(z,(b={},b[x.focusVisible]=ao,b)),labelClassName:A,addonsClassName:E,size:g,block:v,required:T,disabled:N,filled:to||ro,focused:ro,error:L,label:B,hint:I,leftAddons:F,rightAddons:(co||G||X)&&a.createElement(p,null,co&&a.createElement(t,{type:"button",view:"ghost",disabled:N,"aria-label":"Очистить",className:x.clearButton,onClick:bo},a.createElement("span",{className:x.clearIcon})),X&&!L&&a.createElement("span",{className:x.successIcon}),G),bottomAddons:w,onClick:H,onMouseDown:Z,onMouseUp:P},a.createElement("input",e({},$,{className:n(x.input,(m={},m[x.hasLabel]=B,m),M),disabled:N,onBlur:xo,onFocus:uo,onChange:_o,maxLength:100,ref:i([_,eo]),type:y,value:oo?io:J,readOnly:Y,"data-test-id":q,"data-error":!!L,"aria-label":"string"==typeof B?B:void 0})))}));_.defaultProps={type:"text",block:!1};export{_ as Input};
1
+ import{_ as e,a as o}from"../tslib.es6-e419faf4.js";import a,{useRef as s,useState as l,useCallback as n,Fragment as r}from"react";import t from"react-merge-refs";import d from"classnames";import{Button as c}from"../button/component.js";import{FormControl as i}from"../form-control/component.js";import{useFocus as u}from"../hooks/useFocus/index.js";import"../loader/component.js";var m={input:"index-module_input__XkSql",hasLabel:"index-module_hasLabel__3lW-T",block:"index-module_block__Lq9-V",clearIcon:"index-module_clearIcon__951a-",errorIcon:"index-module_errorIcon__Z4acu",successIcon:"index-module_successIcon__yfoME",focusVisible:"index-module_focusVisible__3hinw"},f=a.forwardRef((function(f,p){var b,C,N=f.size,_=void 0===N?"m":N,h=f.type,v=void 0===h?"text":h,k=f.block,g=void 0!==k&&k,x=f.bottomAddons,y=f.dataTestId,I=f.clear,A=void 0!==I&&I,w=f.disabled,E=f.error,M=f.success,V=f.required,j=f.hint,q=f.className,B=f.fieldClassName,L=f.inputClassName,F=f.labelClassName,z=f.addonsClassName,D=f.focusedClassName,O=f.filledClassName,R=f.label,T=f.leftAddons,U=f.onFocus,P=f.onBlur,S=f.onChange,W=f.onClear,X=f.onClick,Z=f.onMouseDown,G=f.onMouseUp,H=f.rightAddons,J=f.value,K=f.defaultValue,Q=f.wrapperRef,Y=f.readOnly,$=e(f,["size","type","block","bottomAddons","dataTestId","clear","disabled","error","success","required","hint","className","fieldClassName","inputClassName","labelClassName","addonsClassName","focusedClassName","filledClassName","label","leftAddons","onFocus","onBlur","onChange","onClear","onClick","onMouseDown","onMouseUp","rightAddons","value","defaultValue","wrapperRef","readOnly"]),ee=void 0===J,oe=s(null),ae=u(oe,"keyboard")[0],se=l(!1),le=se[0],ne=se[1],re=l(K||""),te=re[0],de=re[1],ce=Boolean(ee?te:J),ie=A&&ce&&!w&&!Y,ue=n((function(e){Y||ne(!0),U&&U(e)}),[U,Y]),me=n((function(e){ne(!1),P&&P(e)}),[P]),fe=n((function(e){S&&S(e,{value:e.target.value}),ee&&de(e.target.value)}),[S,ee]),pe=n((function(e){ie&&(ee&&de(""),W&&W(e),oe.current&&!le&&oe.current.focus())}),[ie,le,W,ee]);return a.createElement(i,{ref:Q,className:d(q,le&&D,ce&&O),fieldClassName:d(B,(b={},b[m.focusVisible]=ae,b)),labelClassName:F,addonsClassName:z,size:_,block:g,required:V,disabled:w,filled:ce||le,focused:le,error:E,label:R,hint:j,leftAddons:T,rightAddons:(ie||H||M)&&a.createElement(r,null,ie&&a.createElement(c,{type:"button",view:"ghost",disabled:w,"aria-label":"Очистить",className:m.clearButton,onClick:pe},a.createElement("span",{className:m.clearIcon})),M&&!E&&a.createElement("span",{className:m.successIcon}),H),bottomAddons:x,onClick:X,onMouseDown:Z,onMouseUp:G},a.createElement("input",o({},$,{className:d(m.input,(C={},C[m.hasLabel]=R,C),L),disabled:w,onBlur:me,onFocus:ue,onChange:fe,maxLength:100,ref:t([p,oe]),type:v,value:ee?te:J,readOnly:Y,"data-test-id":y,"data-error":!!E,"aria-label":"string"==typeof R?R:void 0})))}));f.defaultProps={type:"text",block:!1};export{f as Input};
@@ -1 +1 @@
1
- export{Input}from"./component.js";import"../tslib.es6-c1295375.js";import"react";import"react-merge-refs";import"classnames";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../style-inject.es-1f59c1d0.js";import"../form-control/component.js";
1
+ export{Input}from"./component.js";import"../tslib.es6-e419faf4.js";import"react";import"react-merge-refs";import"classnames";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";
@@ -1 +1 @@
1
- import{a as r}from"../../tslib.es6-c1295375.js";import e,{useRef as o,useCallback as n}from"react";import t from"classnames";import{Input as s}from"../../input/component.js";import i from"react-merge-refs";import{s as l}from"../../style-inject.es-1f59c1d0.js";import"../../button/component.js";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../form-control/component.js";var a="index-module_arrow__qrJxu",m="index-module_error__z8Onx";l(".index-module_arrow__qrJxu.index-module_error__z8Onx~*{display:none}");var c=function(l){var c,d=l.label,p=l.placeholder,u=l.Arrow,f=l.Input,_=void 0===f?s:f,x=l.value,h=l.error,v=l.success,j=l.hint,b=l.disabled,g=l.readOnly,w=l.onInput,k=l.inputProps,y=void 0===k?{}:k,A=l.innerProps,C=o(null),F=A.onClick,O=A.onFocus,E=b||g,q=n((function(r){F&&F(r),C.current&&C.current.focus()}),[F]);return e.createElement(_,r({},y,A,{wrapperRef:i([A.ref,y.wrapperRef]),ref:i([C,y.ref]),disabled:b,readOnly:g,block:!0,label:d,placeholder:p,error:h,success:v,hint:j,onChange:w,onClick:E?void 0:q,onFocus:E?void 0:O,autoComplete:"off",value:x,rightAddons:(u||y.rightAddons)&&e.createElement(e.Fragment,null,y.rightAddons,u&&e.createElement("span",{className:t(a,(c={},c[m]=h,c))},u))}))};export{c as AutocompleteField};
1
+ import{a as e}from"../../tslib.es6-e419faf4.js";import r,{useRef as o,useCallback as n}from"react";import t from"classnames";import{Input as s}from"../../input/component.js";import a from"react-merge-refs";import"../../button/component.js";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../form-control/component.js";var l="index-module_arrow__qrJxu",i="index-module_error__z8Onx",c=function(c){var m,p=c.label,u=c.placeholder,d=c.Arrow,f=c.Input,h=void 0===f?s:f,v=c.value,b=c.error,g=c.success,j=c.hint,x=c.disabled,_=c.readOnly,k=c.onInput,w=c.inputProps,A=void 0===w?{}:w,C=c.innerProps,F=o(null),E=C.onClick,O=C.onFocus,y=x||_,I=n((function(e){E&&E(e),F.current&&F.current.focus()}),[E]);return r.createElement(h,e({},A,C,{wrapperRef:a([C.ref,A.wrapperRef]),ref:a([F,A.ref]),disabled:x,readOnly:_,block:!0,label:p,placeholder:u,error:b,success:g,hint:j,onChange:k,onClick:y?void 0:I,onFocus:y?void 0:O,autoComplete:"off",value:v,rightAddons:(d||A.rightAddons)&&r.createElement(r.Fragment,null,A.rightAddons,d&&r.createElement("span",{className:t(l,(m={},m[i]=b,m))},d))}))};export{c as AutocompleteField};
@@ -1 +1 @@
1
- import{_ as o,a as t}from"../tslib.es6-c1295375.js";import e,{forwardRef as s}from"react";import"../select/component.js";import"classnames";import"../select/components/arrow/component.js";import{BaseSelect as r}from"../select/components/base-select/component.js";import"../form-control/component.js";import"../select/components/field/component.js";import{Optgroup as p}from"../select/components/optgroup/component.js";import{Option as i}from"../select/components/option/component.js";import{OptionsList as n}from"../select/components/options-list/component.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../toast-notifier/component.js";import"../index.module-37dfdb4b.js";import"../index.module-2888c6f3.js";import"../index.module-484c9508.js";import"../intersection-observer-044a6fec.js";import{AutocompleteField as m}from"./autocomplete-field/index.js";import"../style-inject.es-1f59c1d0.js";import"react-merge-refs";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../select/utils.js";import"../select/components/native-select/component.js";import"../hooks/useFocus/index.js";import"../skeleton/component.js";import"../select/components/checkmark/component.js";import"../ClockCircleM-9cbd1915.js";import"../button/component.js";import"../loader/component.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../CloseS-c17ee568.js";import"../toast-notifier/use-timer.js";import"../input/component.js";var c=s((function(s,c){var l=s.OptionsList,a=void 0===l?n:l,j=s.Optgroup,u=void 0===j?p:j,d=s.Option,f=void 0===d?i:d,v=s.Input,O=s.inputProps,g=void 0===O?{}:O,k=s.onInput,b=s.value,x=s.success,I=s.readOnly,C=s.closeOnSelect,h=void 0!==C&&C,y=s.options,P=o(s,["OptionsList","Optgroup","Option","Input","inputProps","onInput","value","success","readOnly","closeOnSelect","options"]);return e.createElement(r,t({ref:c,autocomplete:!0,options:y,closeOnSelect:h,Option:f,Field:m,fieldProps:{Input:v,onInput:k,value:b,inputProps:g,readOnly:I,success:x},Optgroup:u,OptionsList:a},P))}));export{c as InputAutocomplete};
1
+ import{_ as o,a as t}from"../tslib.es6-e419faf4.js";import e,{forwardRef as r}from"react";import"../select/component.js";import"classnames";import{BaseSelect as s}from"../select/components/base-select/component.js";import"../form-control/component.js";import{Optgroup as p}from"../select/components/optgroup/component.js";import{Option as n}from"../select/components/option/component.js";import{OptionsList as i}from"../select/components/options-list/component.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../toast-notifier/component.js";import"../intersection-observer-80f4ad58.js";import{AutocompleteField as m}from"./autocomplete-field/index.js";import"../select/components/arrow/component.js";import"../select/components/field/component.js";import"../hooks/useFocus/index.js";import"../select/utils.js";import"react-merge-refs";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../select/components/native-select/component.js";import"../skeleton/component.js";import"../select/components/checkmark/component.js";import"../ClockCircleM-4239c494.js";import"../button/component.js";import"../loader/component.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../input/component.js";var c=r((function(r,c){var l=r.OptionsList,a=void 0===l?i:l,u=r.Optgroup,j=void 0===u?p:u,f=r.Option,d=void 0===f?n:f,v=r.Input,O=r.inputProps,g=void 0===O?{}:O,k=r.onInput,b=r.value,I=r.success,x=r.readOnly,C=r.closeOnSelect,h=void 0!==C&&C,P=r.options,S=o(r,["OptionsList","Optgroup","Option","Input","inputProps","onInput","value","success","readOnly","closeOnSelect","options"]);return e.createElement(s,t({ref:c,autocomplete:!0,options:P,closeOnSelect:h,Option:d,Field:m,fieldProps:{Input:v,onInput:k,value:b,inputProps:g,readOnly:x,success:I},Optgroup:j,OptionsList:a},S))}));export{c as InputAutocomplete};
@@ -1 +1 @@
1
- export{InputAutocomplete}from"./component.js";import"../tslib.es6-c1295375.js";import"react";import"../select/component.js";import"../select/components/arrow/component.js";import"classnames";import"../style-inject.es-1f59c1d0.js";import"../select/components/base-select/component.js";import"react-merge-refs";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../hooks/useFocus/index.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../skeleton/component.js";import"../index.module-2888c6f3.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"../ClockCircleM-9cbd1915.js";import"../button/component.js";import"../loader/component.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../CloseS-c17ee568.js";import"../toast-notifier/use-timer.js";import"../index.module-37dfdb4b.js";import"../index.module-484c9508.js";import"../intersection-observer-044a6fec.js";import"./autocomplete-field/index.js";import"../input/component.js";
1
+ export{InputAutocomplete}from"./component.js";import"../tslib.es6-e419faf4.js";import"react";import"../select/component.js";import"../select/components/arrow/component.js";import"classnames";import"../select/components/base-select/component.js";import"react-merge-refs";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../hooks/useFocus/index.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../skeleton/component.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"../ClockCircleM-4239c494.js";import"../button/component.js";import"../loader/component.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../intersection-observer-80f4ad58.js";import"./autocomplete-field/index.js";import"../input/component.js";
@@ -1 +1 @@
1
- import p from"react";import{S as x}from"../SearchM-9b5d9f79.js";import e from"classnames";import{s as a}from"../style-inject.es-1f59c1d0.js";var o={input:"index-module_input__Sx0kB",block:"index-module_block__vmjqb",s:"index-module_s__5THxm",m:"index-module_m__Xkulo",leftAddons:"index-module_leftAddons__tJy0W"};a(':root{--shadow-info-block:0px 4px 4px rgba(0,0,0,.25);--shadow-xs:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04);--shadow-s:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08);--shadow-m:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16);--shadow-l:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24);--shadow-xl:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32);--shadow-xs-hard:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04),0 2px 4px rgba(11,31,53,.16);--shadow-s-hard:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08),0 4px 8px rgba(11,31,53,.16);--shadow-m-hard:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16),0 8px 16px rgba(11,31,53,.16);--shadow-l-hard:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24),0 12px 24px rgba(11,31,53,.16);--shadow-xl-hard:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32),0 16px 32px rgba(11,31,53,.16);--shadow-xs-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04);--shadow-s-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08);--shadow-m-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16);--shadow-l-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24);--shadow-xl-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32);--shadow-xs-hard-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04),0 -2px 4px rgba(11,31,53,.16);--shadow-s-hard-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08),0 -4px 8px rgba(11,31,53,.16);--shadow-m-hard-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16),0 -8px 16px rgba(11,31,53,.16);--shadow-l-hard-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24),0 -12px 24px rgba(11,31,53,.16);--shadow-xl-hard-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32),0 -16px 32px rgba(11,31,53,.16);--radius-s:4px;--radius-m:8px;--radius-l:10px;--radius-circle:50%;--gap-2xs:4px;--gap-xs:8px;--gap-s:12px;--gap-m:16px;--gap-l:20px;--gap-xl:24px;--gap-xxl:28px;--gap-2xl:32px;--gap-3xl:40px;--gap-4xl:48px;--gap-5xl:64px;--gap-6xl:72px;--gap-7xl:96px;--gap-8xl:128px;--gap-2xs-neg:-4px;--gap-xs-neg:-8px;--gap-s-neg:-12px;--gap-m-neg:-16px;--gap-l-neg:-20px;--gap-xl-neg:-24px;--gap-2xl-neg:-32px;--gap-3xl-neg:-40px;--gap-4xl-neg:-48px;--gap-5xl-neg:-64px;--gap-6xl-neg:-72px;--gap-7xl-neg:-96px;--gap-8xl-neg:-128px;--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.index-module_input__Sx0kB{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;width:50%;&.index-module_block__vmjqb{width:100%}&.index-module_s__5THxm{padding:0 12px 0 14px;& input{height:40px;padding:0 0 0 33.5px}}&.index-module_m__Xkulo input{height:32px;padding-left:44px}& input{border:none;color:var(--color-text-secondary);font-size:12px;font-weight:500;line-height:20px;outline:none;text-overflow:ellipsis;white-space:nowrap;width:100%;&::-webkit-input-placeholder{color:var(--color-text-secondary);font-size:12px;font-weight:500;line-height:20px}&::-moz-placeholder{color:var(--color-text-secondary);font-size:12px;font-weight:500;line-height:20px}&:-ms-input-placeholder{color:var(--color-text-secondary);font-size:12px;font-weight:500;line-height:20px}&::-ms-input-placeholder{color:var(--color-text-secondary);font-size:12px;font-weight:500;line-height:20px}&::placeholder{color:var(--color-text-secondary);font-size:12px;font-weight:500;line-height:20px}}& .index-module_leftAddons__tJy0W{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;color:var(--color-text-secondary);display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;pointer-events:none;position:absolute}}');var r=function(a){var r,l=a.value,t=a.onChange,n=a.placeholder,g=a.leftAddons,i=a.block,s=a.size,d=void 0===s?"m":s;return p.createElement("div",{className:e(o.input,o[d],(r={},r[o.block]=i,r))},p.createElement("span",{className:o.leftAddons},g||p.createElement(x,null)),p.createElement("input",{value:l,onChange:function(p){t(p.target.value)},placeholder:n,type:"text"}))};export{r as InputGhost};
1
+ import e from"react";import{S as l}from"../SearchM-b0f02c73.js";import t from"classnames";var n={input:"index-module_input__Sx0kB",block:"index-module_block__vmjqb",s:"index-module_s__5THxm",m:"index-module_m__Xkulo",leftAddons:"index-module_leftAddons__tJy0W"},o=function(o){var a,m=o.value,d=o.onChange,r=o.placeholder,c=o.leftAddons,i=o.block,s=o.size,u=void 0===s?"m":s;return e.createElement("div",{className:t(n.input,n[u],(a={},a[n.block]=i,a))},e.createElement("span",{className:n.leftAddons},c||e.createElement(l,null)),e.createElement("input",{value:m,onChange:function(e){d(e.target.value)},placeholder:r,type:"text"}))};export{o as InputGhost};
@@ -1 +1 @@
1
- export{InputGhost}from"./component.js";import"react";import"../SearchM-9b5d9f79.js";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{InputGhost}from"./component.js";import"react";import"../SearchM-b0f02c73.js";import"classnames";
@@ -1 +1 @@
1
- import{a as t}from"./_commonjsHelpers-97e6d7b1.js";var e="object"==typeof t&&t&&t.Object===Object&&t,o="object"==typeof self&&self&&self.Object===Object&&self,r=e||o||Function("return this")(),n=r.Symbol,c=Object.prototype,a=c.hasOwnProperty,l=c.toString,i=n?n.toStringTag:void 0;var b=function(t){var e=a.call(t,i),o=t[i];try{t[i]=void 0;var r=!0}catch(t){}var n=l.call(t);return r&&(e?t[i]=o:delete t[i]),n},f=Object.prototype.toString;var j=function(t){return f.call(t)},u="[object Null]",s="[object Undefined]",v=n?n.toStringTag:void 0;var p=function(t){return null==t?void 0===t?s:u:v&&v in Object(t)?b(t):j(t)};var y=function(t){return null!=t&&"object"==typeof t},d="[object Symbol]";var O=function(t){return"symbol"==typeof t||y(t)&&p(t)==d};export{n as _,r as a,O as i};
1
+ import{a as t}from"./_commonjsHelpers-df4d639f.js";var e="object"==typeof t&&t&&t.Object===Object&&t,o="object"==typeof self&&self&&self.Object===Object&&self,r=e||o||Function("return this")(),n=r.Symbol,c=Object.prototype,a=c.hasOwnProperty,l=c.toString,i=n?n.toStringTag:void 0;var f=function(t){var e=a.call(t,i),o=t[i];try{t[i]=void 0;var r=!0}catch(t){}var n=l.call(t);return r&&(e?t[i]=o:delete t[i]),n},b=Object.prototype.toString;var j=function(t){return b.call(t)},u="[object Null]",s="[object Undefined]",v=n?n.toStringTag:void 0;var p=function(t){return null==t?void 0===t?s:u:v&&v in Object(t)?f(t):j(t)};var y=function(t){return null!=t&&"object"==typeof t},d="[object Symbol]";var O=function(t){return"symbol"==typeof t||y(t)&&p(t)==d};export{n as _,r as a,O as i};
@@ -1 +1 @@
1
- import{_ as o,a as r}from"../tslib.es6-c1295375.js";import e,{forwardRef as a,useRef as l}from"react";import x from"react-merge-refs";import p from"classnames";import{useFocus as n}from"../hooks/useFocus/index.js";import{s as d}from"../style-inject.es-1f59c1d0.js";var i={component:"index-module_component__hqvbj",text:"index-module_text__zFBAJ",withAddons:"index-module_withAddons__R-v34",focused:"index-module_focused__mZChf",primary:"index-module_primary__7QnHL",secondary:"index-module_secondary__CXgR1",default:"index-module_default__axx5g",pseudo:"index-module_pseudo__eQCgC",addons:"index-module_addons__rF1Ob",m:"index-module_m__k1NeY",s:"index-module_s__0pCnE"};d(':root{--shadow-info-block:0px 4px 4px rgba(0,0,0,.25);--shadow-xs:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04);--shadow-s:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08);--shadow-m:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16);--shadow-l:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24);--shadow-xl:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32);--shadow-xs-hard:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04),0 2px 4px rgba(11,31,53,.16);--shadow-s-hard:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08),0 4px 8px rgba(11,31,53,.16);--shadow-m-hard:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16),0 8px 16px rgba(11,31,53,.16);--shadow-l-hard:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24),0 12px 24px rgba(11,31,53,.16);--shadow-xl-hard:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32),0 16px 32px rgba(11,31,53,.16);--shadow-xs-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04);--shadow-s-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08);--shadow-m-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16);--shadow-l-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24);--shadow-xl-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32);--shadow-xs-hard-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04),0 -2px 4px rgba(11,31,53,.16);--shadow-s-hard-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08),0 -4px 8px rgba(11,31,53,.16);--shadow-m-hard-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16),0 -8px 16px rgba(11,31,53,.16);--shadow-l-hard-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24),0 -12px 24px rgba(11,31,53,.16);--shadow-xl-hard-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32),0 -16px 32px rgba(11,31,53,.16);--radius-s:4px;--radius-m:8px;--radius-l:10px;--radius-circle:50%;--gap-2xs:4px;--gap-xs:8px;--gap-s:12px;--gap-m:16px;--gap-l:20px;--gap-xl:24px;--gap-xxl:28px;--gap-2xl:32px;--gap-3xl:40px;--gap-4xl:48px;--gap-5xl:64px;--gap-6xl:72px;--gap-7xl:96px;--gap-8xl:128px;--gap-2xs-neg:-4px;--gap-xs-neg:-8px;--gap-s-neg:-12px;--gap-m-neg:-16px;--gap-l-neg:-20px;--gap-xl-neg:-24px;--gap-2xl-neg:-32px;--gap-3xl-neg:-40px;--gap-4xl-neg:-48px;--gap-5xl-neg:-64px;--gap-6xl-neg:-72px;--gap-7xl-neg:-96px;--gap-8xl-neg:-128px;--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--link-primary-color:var(--color-text-primary);--link-primary-hover-color:color-mix(in srgb,var(--link-primary-color) 30%,#fff);--link-primary-active-color:color-mix(in srgb,var(--link-primary-color) 50%,#fff);--link-secondary-color:var(--color-text-secondary);--link-secondary-hover-color:color-mix(in srgb,var(--link-secondary-color) 30%,#fff);--link-secondary-active-color:color-mix(in srgb,var(--link-secondary-color) 50%,#fff);--link-default-color:var(--color-text-accent);--link-default-hover-color:color-mix(in srgb,var(--link-default-color) 30%,#fff);--link-default-active-color:color-mix(in srgb,var(--link-default-color) 50%,#fff)}.index-module_component__hqvbj{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-family:var(--font-family);outline:none;text-decoration:none}.index-module_withAddons__R-v34{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.index-module_text__zFBAJ{border-bottom:1px solid;-webkit-transition:border .2s ease,color .2s ease;transition:border .2s ease,color .2s ease}.index-module_focused__mZChf{outline:2px solid var(--focus-color);outline-offset:2px}.index-module_primary__7QnHL{border-bottom-color:var(--link-primary-color);color:var(--link-primary-color);&:hover{color:var(--link-primary-hover-color)}&:active{color:var(--link-primary-active-color)}}.index-module_secondary__CXgR1{border-bottom-color:var(--link-secondary-color);color:var(--link-secondary-color);&:hover{color:var(--link-secondary-hover-color)}&:active{color:var(--link-secondary-active-color)}}.index-module_default__axx5g{border-bottom-color:var(--link-default-color);color:var(--link-default-color);&:hover{color:var(--link-default-hover-color)}&:active{color:var(--link-default-active-color)}}.index-module_pseudo__eQCgC .index-module_text__zFBAJ{border-bottom-style:dashed}.index-module_addons__rF1Ob{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transition:color .2s ease;transition:color .2s ease}.index-module_addons__rF1Ob:first-child{margin-right:var(--gap-xs)}.index-module_addons__rF1Ob:last-child{margin-left:var(--gap-xs)}.index-module_addons__rF1Ob:only-child{margin-left:0;margin-right:0}.index-module_m__k1NeY{font-size:14px;font-weight:500;line-height:20px}.index-module_s__0pCnE{font-size:12px;font-weight:500;line-height:20px}');var s=a((function(a,d){var s,t=a.view,g=void 0===t?"default":t,c=a.pseudo,m=void 0!==c&&c,b=a.leftAddons,_=a.rightAddons,u=a.className,f=a.dataTestId,h=a.children,v=a.size,w=void 0===v?"m":v,k=o(a,["view","pseudo","leftAddons","rightAddons","className","dataTestId","children","size"]),y=l(null),F=n(y,"keyboard")[0],A={className:p(i.component,i[g],(s={},s[i.pseudo]=m,s[i.focused]=F,s[i.withAddons]=b||_,s),u),"data-test-id":f,rel:"_blank"===k.target?"noreferrer noopener":void 0};return e.createElement("a",r({},A,k,{ref:x([y,d])}),b||_?e.createElement(e.Fragment,null,b&&e.createElement("span",{className:i.addons},b),h&&e.createElement("span",null,e.createElement("span",{className:p(i.text,i[w])},h)),_&&e.createElement("span",{className:i.addons},_)):e.createElement("span",{className:p(i.text,i[w])},h))}));export{s as Link};
1
+ import{_ as e,a as d}from"../tslib.es6-e419faf4.js";import o,{forwardRef as s,useRef as a}from"react";import n from"react-merge-refs";import t from"classnames";import{useFocus as m}from"../hooks/useFocus/index.js";var r={component:"index-module_component__hqvbj",text:"index-module_text__zFBAJ",withAddons:"index-module_withAddons__R-v34",focused:"index-module_focused__mZChf",primary:"index-module_primary__7QnHL",secondary:"index-module_secondary__CXgR1",default:"index-module_default__axx5g",pseudo:"index-module_pseudo__eQCgC",addons:"index-module_addons__rF1Ob",m:"index-module_m__k1NeY",s:"index-module_s__0pCnE"},l=s((function(s,l){var i,_=s.view,c=void 0===_?"default":_,u=s.pseudo,p=void 0!==u&&u,f=s.leftAddons,x=s.rightAddons,h=s.className,v=s.dataTestId,g=s.children,A=s.size,E=void 0===A?"m":A,N=e(s,["view","pseudo","leftAddons","rightAddons","className","dataTestId","children","size"]),b=a(null),w=m(b,"keyboard")[0],y={className:t(r.component,r[c],(i={},i[r.pseudo]=p,i[r.focused]=w,i[r.withAddons]=f||x,i),h),"data-test-id":v,rel:"_blank"===N.target?"noreferrer noopener":void 0};return o.createElement("a",d({},y,N,{ref:n([b,l])}),f||x?o.createElement(o.Fragment,null,f&&o.createElement("span",{className:r.addons},f),g&&o.createElement("span",null,o.createElement("span",{className:t(r.text,r[E])},g)),x&&o.createElement("span",{className:r.addons},x)):o.createElement("span",{className:t(r.text,r[E])},g))}));export{l as Link};
@@ -1 +1 @@
1
- export{Link}from"./component.js";import"../tslib.es6-c1295375.js";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../style-inject.es-1f59c1d0.js";
1
+ export{Link}from"./component.js";import"../tslib.es6-e419faf4.js";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";
@@ -1 +1 @@
1
- import p from"react";import a from"classnames";import{Typography as x}from"../typography/component.js";import{s as r}from"../style-inject.es-1f59c1d0.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../typography/title/index.js";import"../tslib.es6-c1295375.js";import"../typography/title/component.js";var o={component:"index-module_component__1zepl",accent:"index-module_accent__37BTV",attention:"index-module_attention__zzR-C",negative:"index-module_negative__SXrwC"};r(':root{--shadow-info-block:0px 4px 4px rgba(0,0,0,.25);--shadow-xs:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04);--shadow-s:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08);--shadow-m:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16);--shadow-l:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24);--shadow-xl:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32);--shadow-xs-hard:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04),0 2px 4px rgba(11,31,53,.16);--shadow-s-hard:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08),0 4px 8px rgba(11,31,53,.16);--shadow-m-hard:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16),0 8px 16px rgba(11,31,53,.16);--shadow-l-hard:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24),0 12px 24px rgba(11,31,53,.16);--shadow-xl-hard:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32),0 16px 32px rgba(11,31,53,.16);--shadow-xs-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04);--shadow-s-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08);--shadow-m-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16);--shadow-l-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24);--shadow-xl-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32);--shadow-xs-hard-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04),0 -2px 4px rgba(11,31,53,.16);--shadow-s-hard-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08),0 -4px 8px rgba(11,31,53,.16);--shadow-m-hard-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16),0 -8px 16px rgba(11,31,53,.16);--shadow-l-hard-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24),0 -12px 24px rgba(11,31,53,.16);--shadow-xl-hard-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32),0 -16px 32px rgba(11,31,53,.16);--radius-s:4px;--radius-m:8px;--radius-l:10px;--radius-circle:50%;--gap-2xs:4px;--gap-xs:8px;--gap-s:12px;--gap-m:16px;--gap-l:20px;--gap-xl:24px;--gap-xxl:28px;--gap-2xl:32px;--gap-3xl:40px;--gap-4xl:48px;--gap-5xl:64px;--gap-6xl:72px;--gap-7xl:96px;--gap-8xl:128px;--gap-2xs-neg:-4px;--gap-xs-neg:-8px;--gap-s-neg:-12px;--gap-m-neg:-16px;--gap-l-neg:-20px;--gap-xl-neg:-24px;--gap-2xl-neg:-32px;--gap-3xl-neg:-40px;--gap-4xl-neg:-48px;--gap-5xl-neg:-64px;--gap-6xl-neg:-72px;--gap-7xl-neg:-96px;--gap-8xl-neg:-128px;--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.index-module_component__1zepl{border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:var(--gap-m);padding:var(--gap-s);width:100%}.index-module_accent__37BTV{background-color:color-mix(in srgb,var(--color-bg-accent) 10%,var(--color-bg-primary));border:1px solid var(--color-bg-accent)}.index-module_attention__zzR-C{background-color:color-mix(in srgb,var(--color-bg-attention) 10%,var(--color-bg-primary));border:1px solid var(--color-bg-attention)}.index-module_negative__SXrwC{background-color:color-mix(in srgb,var(--color-bg-negative) 10%,var(--color-bg-primary));border:1px solid var(--color-bg-negative)}');var g=function(r){var g=r.className,e=r.dataTestId,t=r.view,b=void 0===t?"accent":t,n=r.text;return p.createElement("div",{className:a(o.component,g,o[b]),"data-test-id":e},p.createElement(x.Text,{view:"title",color:"primary",weight:"medium"},n))};export{g as ListAllert};
1
+ import e from"react";import t from"classnames";import{Typography as o}from"../typography/component.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../tslib.es6-e419faf4.js";import"../typography/title/component.js";var n={component:"index-module_component__1zepl",accent:"index-module_accent__37BTV",attention:"index-module_attention__zzR-C",negative:"index-module_negative__SXrwC"},i=function(i){var m=i.className,a=i.dataTestId,r=i.view,p=void 0===r?"accent":r,c=i.text;return e.createElement("div",{className:t(n.component,m,n[p]),"data-test-id":a},e.createElement(o.Text,{view:"title",color:"primary",weight:"medium"},c))};export{i as ListAllert};
@@ -1 +1 @@
1
- export{ListAllert}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../style-inject.es-1f59c1d0.js";import"../typography/title/index.js";import"../tslib.es6-c1295375.js";import"../typography/title/component.js";
1
+ export{ListAllert}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../tslib.es6-e419faf4.js";import"../typography/title/component.js";
@@ -1 +1 @@
1
- import i from"react";import n from"classnames";import{s as e}from"../style-inject.es-1f59c1d0.js";var a="index-module_component__Qa85p";e(".index-module_component__Qa85p{fill:currentColor;& circle{-webkit-animation-duration:.95s;animation-duration:.95s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:index-module_blink__5-n2z;animation-name:index-module_blink__5-n2z;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-transform:scale(0);transform:scale(0)}& circle:first-child{-webkit-animation-delay:0ms;animation-delay:0ms;-webkit-transform-origin:15% 50%;transform-origin:15% 50%}& circle:nth-child(2){-webkit-animation-delay:.15s;animation-delay:.15s;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}& circle:nth-child(3){-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-transform-origin:85% 50%;transform-origin:85% 50%}}@-webkit-keyframes index-module_blink__5-n2z{21%{-webkit-transform:scale(1);transform:scale(1)}47%{-webkit-transform:scale(1);transform:scale(1)}68%{-webkit-transform:scale(0);transform:scale(0)}}@keyframes index-module_blink__5-n2z{21%{-webkit-transform:scale(1);transform:scale(1)}47%{-webkit-transform:scale(1);transform:scale(1)}68%{-webkit-transform:scale(0);transform:scale(0)}}");var t=function(e){var t=e.className,r=e.dataTestId;return i.createElement("svg",{height:"24",width:"24",viewBox:"0 0 24 24",className:n(a,t),"data-test-id":r},i.createElement("circle",{cx:"4",cy:"12",r:"2"}),i.createElement("circle",{cx:"12",cy:"12",r:"2"}),i.createElement("circle",{cx:"20",cy:"12",r:"2"}))};export{t as Loader};
1
+ import e from"react";import c from"classnames";var t="index-module_component__Qa85p",r=function(r){var a=r.className,m=r.dataTestId;return e.createElement("svg",{height:"24",width:"24",viewBox:"0 0 24 24",className:c(t,a),"data-test-id":m},e.createElement("circle",{cx:"4",cy:"12",r:"2"}),e.createElement("circle",{cx:"12",cy:"12",r:"2"}),e.createElement("circle",{cx:"20",cy:"12",r:"2"}))};export{r as Loader};
@@ -1 +1 @@
1
- export{Loader}from"./component.js";import"react";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{Loader}from"./component.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import{_ as e,a as r}from"../tslib.es6-c1295375.js";import t,{useRef as n,useState as o,useCallback as a,useEffect as i}from"react";import u from"react-merge-refs";import l from"classnames";import{c as s,u as f,a as c}from"../_commonjsHelpers-97e6d7b1.js";import{Input as d}from"../input/component.js";import{s as p}from"../style-inject.es-1f59c1d0.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";var v=s((function(e,r){e.exports=function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var o=t(3);Object.defineProperty(r,"conformToMask",{enumerable:!0,get:function(){return n(o).default}});var a=t(2);Object.defineProperty(r,"adjustCaretPosition",{enumerable:!0,get:function(){return n(a).default}});var i=t(5);Object.defineProperty(r,"createTextMaskInputElement",{enumerable:!0,get:function(){return n(i).default}})},function(e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.placeholderChar="_",r.strFunction="function"},function(e,r){function t(e){var r=e.previousConformedValue,t=void 0===r?o:r,a=e.previousPlaceholder,i=void 0===a?o:a,u=e.currentCaretPosition,l=void 0===u?0:u,s=e.conformedValue,f=e.rawValue,c=e.placeholderChar,d=e.placeholder,p=e.indexesOfPipedChars,v=void 0===p?n:p,h=e.caretTrapIndexes,m=void 0===h?n:h;if(0===l||!f.length)return 0;var g=f.length,y=t.length,C=d.length,b=s.length,P=g-y,k=P>0;if(P>1&&!k&&0!==y)return l;var x=0,T=void 0,j=void 0;if(!k||t!==s&&s!==d){var O=s.toLowerCase(),_=f.toLowerCase().substr(0,l).split(o).filter((function(e){return-1!==O.indexOf(e)}));j=_[_.length-1];var w=i.substr(0,_.length).split(o).filter((function(e){return e!==c})).length,M=d.substr(0,_.length).split(o).filter((function(e){return e!==c})).length,S=M!==w,V=void 0!==i[_.length-1]&&void 0!==d[_.length-2]&&i[_.length-1]!==c&&i[_.length-1]!==d[_.length-1]&&i[_.length-1]===d[_.length-2];!k&&(S||V)&&w>0&&d.indexOf(j)>-1&&void 0!==f[l]&&(T=!0,j=f[l]);for(var N=v.map((function(e){return O[e]})),A=N.filter((function(e){return e===j})).length,E=_.filter((function(e){return e===j})).length,F=d.substr(0,d.indexOf(c)).split(o).filter((function(e,r){return e===j&&f[r]!==e})).length,I=F+E+A+(T?1:0),J=0,R=0;R<b&&(x=R+1,O[R]===j&&J++,!(J>=I));R++);}else x=l-P;if(k){for(var L=x,H=x;H<=C;H++)if(d[H]===c&&(L=H),d[H]===c||-1!==m.indexOf(H)||H===C)return L}else if(T){for(var W=x-1;W>=0;W--)if(s[W]===j||-1!==m.indexOf(W)||0===W)return W}else for(var q=x;q>=0;q--)if(d[q-1]===c||-1!==m.indexOf(q)||0===q)return q}Object.defineProperty(r,"__esModule",{value:!0}),r.default=t;var n=[],o=""},function(e,r,t){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,a.isArray)(r)){if((void 0===r?"undefined":o(r))!==i.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");r=r(e,t),r=(0,a.processCaretTraps)(r).maskWithoutCaretTraps}var n=t.guide,s=void 0===n||n,f=t.previousConformedValue,c=void 0===f?l:f,d=t.placeholderChar,p=void 0===d?i.placeholderChar:d,v=t.placeholder,h=void 0===v?(0,a.convertMaskToPlaceholder)(r,p):v,m=t.currentCaretPosition,g=t.keepCharPositions,y=!1===s&&void 0!==c,C=e.length,b=c.length,P=h.length,k=r.length,x=C-b,T=x>0,j=m+(T?-x:0),O=j+Math.abs(x);if(!0===g&&!T){for(var _=l,w=j;w<O;w++)h[w]===p&&(_+=p);e=e.slice(0,j)+_+e.slice(j,C)}for(var M=e.split(l).map((function(e,r){return{char:e,isNew:r>=j&&r<O}})),S=C-1;S>=0;S--){var V=M[S].char;V!==p&&V===h[S>=j&&b===k?S-x:S]&&M.splice(S,1)}var N=l,A=!1;e:for(var E=0;E<P;E++){var F=h[E];if(F===p){if(M.length>0)for(;M.length>0;){var I=M.shift(),J=I.char,R=I.isNew;if(J===p&&!0!==y){N+=p;continue e}if(r[E].test(J)){if(!0===g&&!1!==R&&c!==l&&!1!==s&&T){for(var L=M.length,H=null,W=0;W<L;W++){var q=M[W];if(q.char!==p&&!1===q.isNew)break;if(q.char===p){H=W;break}}null!==H?(N+=J,M.splice(H,1)):E--}else N+=J;continue e}A=!0}!1===y&&(N+=h.substr(E,P));break}N+=F}if(y&&!1===T){for(var B=null,D=0;D<N.length;D++)h[D]===p&&(B=D);N=null!==B?N.substr(0,B+1):l}return{conformedValue:N,meta:{someCharsRejected:A}}}Object.defineProperty(r,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r.default=n;var a=t(4),i=t(1),u=[],l=""},function(e,r,t){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.placeholderChar;if(!o(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(r))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(r)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?r:e})).join("")}function o(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function a(e){return"string"==typeof e||e instanceof String}function i(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)}function u(e){return null==e}function l(e){for(var r=[],t=void 0;-1!==(t=e.indexOf(c));)r.push(t),e.splice(t,1);return{maskWithoutCaretTraps:e,indexes:r}}Object.defineProperty(r,"__esModule",{value:!0}),r.convertMaskToPlaceholder=n,r.isArray=o,r.isString=a,r.isNumber=i,r.isNil=u,r.processCaretTraps=l;var s=t(1),f=[],c="[]"},function(e,r,t){function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var r={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:r,update:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=n.inputElement,v=n.mask,m=n.guide,g=n.pipe,y=n.placeholderChar,C=void 0===y?d.placeholderChar:y,b=n.keepCharPositions,P=void 0!==b&&b,k=n.showMask,x=void 0!==k&&k;if(void 0===t&&(t=o.value),t!==r.previousConformedValue){(void 0===v?"undefined":l(v))===h&&void 0!==v.pipe&&void 0!==v.mask&&(g=v.pipe,v=v.mask);var T=void 0,j=void 0;if(v instanceof Array&&(T=(0,c.convertMaskToPlaceholder)(v,C)),!1!==v){var O=i(t),_=o.selectionEnd,w=r.previousConformedValue,M=r.previousPlaceholder,S=void 0;if((void 0===v?"undefined":l(v))===d.strFunction){if(!1===(j=v(O,{currentCaretPosition:_,previousConformedValue:w,placeholderChar:C})))return;var V=(0,c.processCaretTraps)(j);j=V.maskWithoutCaretTraps,S=V.indexes,T=(0,c.convertMaskToPlaceholder)(j,C)}else j=v;var N={previousConformedValue:w,guide:m,placeholderChar:C,pipe:g,placeholder:T,currentCaretPosition:_,keepCharPositions:P},A=(0,f.default)(O,j,N).conformedValue,E=(void 0===g?"undefined":l(g))===d.strFunction,F={};E&&(!1===(F=g(A,u({rawValue:O},N)))?F={value:w,rejected:!0}:(0,c.isString)(F)&&(F={value:F}));var I=E?F.value:A,J=(0,s.default)({previousConformedValue:w,previousPlaceholder:M,conformedValue:I,placeholder:T,rawValue:O,currentCaretPosition:_,placeholderChar:C,indexesOfPipedChars:F.indexesOfPipedChars,caretTrapIndexes:S}),R=I===T&&0===J?x?T:p:I;r.previousConformedValue=R,r.previousPlaceholder=T,o.value!==R&&(o.value=R,a(o,J))}}}}}function a(e,r){document.activeElement===e&&(m?g((function(){return e.setSelectionRange(r,r,v)}),0):e.setSelectionRange(r,r,v))}function i(e){if((0,c.isString)(e))return e;if((0,c.isNumber)(e))return String(e);if(null==e)return p;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(r,"__esModule",{value:!0});var u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r.default=o;var s=n(t(2)),f=n(t(3)),c=t(4),d=t(1),p="",v="none",h="object",m="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout}])}));f(v);var h=v.createTextMaskInputElement;v.textMaskCore;var m="index-module_textHidden__dIPJL";p(".index-module_textHidden__dIPJL input{opacity:0}");var g=" ",y=t.forwardRef((function(s,f){var c,p=s.mask,v=s.value,g=s.defaultValue,y=s.className,C=s.onBeforeDisplay,b=s.onChange,P=s.onClear,k=e(s,["mask","value","defaultValue","className","onBeforeDisplay","onChange","onClear"]),x=n(null),T=n(null),j=o(v||g||""),O=j[0],_=j[1],w=o(!0),M=w[0],S=w[1],V=a((function(e){void 0===e&&(e=""),T.current&&x.current&&(T.current.update(e),_(x.current.value))}),[]),N=a((function(e){V(e.target.value),b&&b(e,{value:e.target.value})}),[b,V]),A=a((function(e){V(""),P&&P(e)}),[P,V]);return i((function(){x.current&&(T.current=h({mask:p,inputElement:x.current,pipe:C,guide:!1,keepCharPositions:!1,showMask:!1,placeholderChar:" ",rawValue:"",currentCaretPosition:0,previousConformedValue:""}))}),[C,p]),i((function(){V(v||g)}),[v,V,g]),i((function(){S(!1)}),[]),t.createElement(d,r({},k,{className:l(y,(c={},c[m]=M,c)),value:O,onChange:N,onClear:A,ref:u([f,x])}))}));export{y as MaskedInput,g as PLACEHOLDER_CHAR};
1
+ import{_ as e,a as r}from"../tslib.es6-e419faf4.js";import t,{useRef as n,useState as o,useCallback as a,useEffect as i}from"react";import u from"react-merge-refs";import l from"classnames";import{c as s,u as f,a as c}from"../_commonjsHelpers-df4d639f.js";import{Input as d}from"../input/component.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";var p=s((function(e,r){e.exports=function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var o=t(3);Object.defineProperty(r,"conformToMask",{enumerable:!0,get:function(){return n(o).default}});var a=t(2);Object.defineProperty(r,"adjustCaretPosition",{enumerable:!0,get:function(){return n(a).default}});var i=t(5);Object.defineProperty(r,"createTextMaskInputElement",{enumerable:!0,get:function(){return n(i).default}})},function(e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.placeholderChar="_",r.strFunction="function"},function(e,r){function t(e){var r=e.previousConformedValue,t=void 0===r?o:r,a=e.previousPlaceholder,i=void 0===a?o:a,u=e.currentCaretPosition,l=void 0===u?0:u,s=e.conformedValue,f=e.rawValue,c=e.placeholderChar,d=e.placeholder,p=e.indexesOfPipedChars,v=void 0===p?n:p,h=e.caretTrapIndexes,m=void 0===h?n:h;if(0===l||!f.length)return 0;var g=f.length,y=t.length,C=d.length,b=s.length,k=g-y,P=k>0;if(k>1&&!P&&0!==y)return l;var x=0,T=void 0,O=void 0;if(!P||t!==s&&s!==d){var j=s.toLowerCase(),w=f.toLowerCase().substr(0,l).split(o).filter((function(e){return-1!==j.indexOf(e)}));O=w[w.length-1];var M=i.substr(0,w.length).split(o).filter((function(e){return e!==c})).length,_=d.substr(0,w.length).split(o).filter((function(e){return e!==c})).length,S=_!==M,V=void 0!==i[w.length-1]&&void 0!==d[w.length-2]&&i[w.length-1]!==c&&i[w.length-1]!==d[w.length-1]&&i[w.length-1]===d[w.length-2];!P&&(S||V)&&M>0&&d.indexOf(O)>-1&&void 0!==f[l]&&(T=!0,O=f[l]);for(var N=v.map((function(e){return j[e]})),A=N.filter((function(e){return e===O})).length,E=w.filter((function(e){return e===O})).length,F=d.substr(0,d.indexOf(c)).split(o).filter((function(e,r){return e===O&&f[r]!==e})).length,I=F+E+A+(T?1:0),R=0,J=0;J<b&&(x=J+1,j[J]===O&&R++,!(R>=I));J++);}else x=l-k;if(P){for(var L=x,W=x;W<=C;W++)if(d[W]===c&&(L=W),d[W]===c||-1!==m.indexOf(W)||W===C)return L}else if(T){for(var q=x-1;q>=0;q--)if(s[q]===O||-1!==m.indexOf(q)||0===q)return q}else for(var B=x;B>=0;B--)if(d[B-1]===c||-1!==m.indexOf(B)||0===B)return B}Object.defineProperty(r,"__esModule",{value:!0}),r.default=t;var n=[],o=""},function(e,r,t){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,a.isArray)(r)){if((void 0===r?"undefined":o(r))!==i.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");r=r(e,t),r=(0,a.processCaretTraps)(r).maskWithoutCaretTraps}var n=t.guide,s=void 0===n||n,f=t.previousConformedValue,c=void 0===f?l:f,d=t.placeholderChar,p=void 0===d?i.placeholderChar:d,v=t.placeholder,h=void 0===v?(0,a.convertMaskToPlaceholder)(r,p):v,m=t.currentCaretPosition,g=t.keepCharPositions,y=!1===s&&void 0!==c,C=e.length,b=c.length,k=h.length,P=r.length,x=C-b,T=x>0,O=m+(T?-x:0),j=O+Math.abs(x);if(!0===g&&!T){for(var w=l,M=O;M<j;M++)h[M]===p&&(w+=p);e=e.slice(0,O)+w+e.slice(O,C)}for(var _=e.split(l).map((function(e,r){return{char:e,isNew:r>=O&&r<j}})),S=C-1;S>=0;S--){var V=_[S].char;V!==p&&V===h[S>=O&&b===P?S-x:S]&&_.splice(S,1)}var N=l,A=!1;e:for(var E=0;E<k;E++){var F=h[E];if(F===p){if(_.length>0)for(;_.length>0;){var I=_.shift(),R=I.char,J=I.isNew;if(R===p&&!0!==y){N+=p;continue e}if(r[E].test(R)){if(!0===g&&!1!==J&&c!==l&&!1!==s&&T){for(var L=_.length,W=null,q=0;q<L;q++){var B=_[q];if(B.char!==p&&!1===B.isNew)break;if(B.char===p){W=q;break}}null!==W?(N+=R,_.splice(W,1)):E--}else N+=R;continue e}A=!0}!1===y&&(N+=h.substr(E,k));break}N+=F}if(y&&!1===T){for(var D=null,H=0;H<N.length;H++)h[H]===p&&(D=H);N=null!==D?N.substr(0,D+1):l}return{conformedValue:N,meta:{someCharsRejected:A}}}Object.defineProperty(r,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r.default=n;var a=t(4),i=t(1),u=[],l=""},function(e,r,t){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.placeholderChar;if(!o(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(r))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(r)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?r:e})).join("")}function o(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function a(e){return"string"==typeof e||e instanceof String}function i(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)}function u(e){return null==e}function l(e){for(var r=[],t=void 0;-1!==(t=e.indexOf(c));)r.push(t),e.splice(t,1);return{maskWithoutCaretTraps:e,indexes:r}}Object.defineProperty(r,"__esModule",{value:!0}),r.convertMaskToPlaceholder=n,r.isArray=o,r.isString=a,r.isNumber=i,r.isNil=u,r.processCaretTraps=l;var s=t(1),f=[],c="[]"},function(e,r,t){function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var r={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:r,update:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=n.inputElement,v=n.mask,m=n.guide,g=n.pipe,y=n.placeholderChar,C=void 0===y?d.placeholderChar:y,b=n.keepCharPositions,k=void 0!==b&&b,P=n.showMask,x=void 0!==P&&P;if(void 0===t&&(t=o.value),t!==r.previousConformedValue){(void 0===v?"undefined":l(v))===h&&void 0!==v.pipe&&void 0!==v.mask&&(g=v.pipe,v=v.mask);var T=void 0,O=void 0;if(v instanceof Array&&(T=(0,c.convertMaskToPlaceholder)(v,C)),!1!==v){var j=i(t),w=o.selectionEnd,M=r.previousConformedValue,_=r.previousPlaceholder,S=void 0;if((void 0===v?"undefined":l(v))===d.strFunction){if(!1===(O=v(j,{currentCaretPosition:w,previousConformedValue:M,placeholderChar:C})))return;var V=(0,c.processCaretTraps)(O);O=V.maskWithoutCaretTraps,S=V.indexes,T=(0,c.convertMaskToPlaceholder)(O,C)}else O=v;var N={previousConformedValue:M,guide:m,placeholderChar:C,pipe:g,placeholder:T,currentCaretPosition:w,keepCharPositions:k},A=(0,f.default)(j,O,N).conformedValue,E=(void 0===g?"undefined":l(g))===d.strFunction,F={};E&&(!1===(F=g(A,u({rawValue:j},N)))?F={value:M,rejected:!0}:(0,c.isString)(F)&&(F={value:F}));var I=E?F.value:A,R=(0,s.default)({previousConformedValue:M,previousPlaceholder:_,conformedValue:I,placeholder:T,rawValue:j,currentCaretPosition:w,placeholderChar:C,indexesOfPipedChars:F.indexesOfPipedChars,caretTrapIndexes:S}),J=I===T&&0===R?x?T:p:I;r.previousConformedValue=J,r.previousPlaceholder=T,o.value!==J&&(o.value=J,a(o,R))}}}}}function a(e,r){document.activeElement===e&&(m?g((function(){return e.setSelectionRange(r,r,v)}),0):e.setSelectionRange(r,r,v))}function i(e){if((0,c.isString)(e))return e;if((0,c.isNumber)(e))return String(e);if(null==e)return p;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(r,"__esModule",{value:!0});var u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r.default=o;var s=n(t(2)),f=n(t(3)),c=t(4),d=t(1),p="",v="none",h="object",m="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout}])}));f(p);var v=p.createTextMaskInputElement;p.textMaskCore;var h="index-module_textHidden__dIPJL",m=" ",g=t.forwardRef((function(s,f){var c,p=s.mask,m=s.value,g=s.defaultValue,y=s.className,C=s.onBeforeDisplay,b=s.onChange,k=s.onClear,P=e(s,["mask","value","defaultValue","className","onBeforeDisplay","onChange","onClear"]),x=n(null),T=n(null),O=o(m||g||""),j=O[0],w=O[1],M=o(!0),_=M[0],S=M[1],V=a((function(e){void 0===e&&(e=""),T.current&&x.current&&(T.current.update(e),w(x.current.value))}),[]),N=a((function(e){V(e.target.value),b&&b(e,{value:e.target.value})}),[b,V]),A=a((function(e){V(""),k&&k(e)}),[k,V]);return i((function(){x.current&&(T.current=v({mask:p,inputElement:x.current,pipe:C,guide:!1,keepCharPositions:!1,showMask:!1,placeholderChar:" ",rawValue:"",currentCaretPosition:0,previousConformedValue:""}))}),[C,p]),i((function(){V(m||g)}),[m,V,g]),i((function(){S(!1)}),[]),t.createElement(d,r({},P,{className:l(y,(c={},c[h]=_,c)),value:j,onChange:N,onClear:A,ref:u([f,x])}))}));export{g as MaskedInput,m as PLACEHOLDER_CHAR};
@@ -1 +1 @@
1
- export{MaskedInput,PLACEHOLDER_CHAR}from"./component.js";import"../tslib.es6-c1295375.js";import"react";import"react-merge-refs";import"classnames";import"../_commonjsHelpers-97e6d7b1.js";import"../input/component.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../style-inject.es-1f59c1d0.js";import"../form-control/component.js";
1
+ export{MaskedInput,PLACEHOLDER_CHAR}from"./component.js";import"../tslib.es6-e419faf4.js";import"react";import"react-merge-refs";import"classnames";import"../_commonjsHelpers-df4d639f.js";import"../input/component.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";
@@ -1 +1 @@
1
- import e from"react";import t from"classnames";import{useMenu as o}from"./hooks/use-menu.js";import{ContentHeader as i}from"./components/content-header/index.js";import{MenuAvatar as n}from"./components/menu-avatar/index.js";import{MenuBackButton as r}from"./components/menu-back-button/index.js";import{MenuButtonsList as s}from"./components/menu-buttons-list/index.js";import{UserButton as m}from"./components/user-button/index.js";import{s as p}from"../style-inject.es-1f59c1d0.js";import"../icon-button/component.js";import"../tslib.es6-c1295375.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../avatar/component.js";import"../image/component.js";import"../skeleton/component.js";import"../index.module-2888c6f3.js";import"../image/use-image-render-component.js";import"../index.module-7efc4510.js";import"../spinner/component.js";import"../index.module-ef79213a.js";import"../image/types.js";import"../image/utils.js";import"../NextS-2b028cce.js";import"../divider/component.js";import"./components/menu-button/index.js";import"../select/component.js";import"../select/components/arrow/component.js";import"../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"../ClockCircleM-9cbd1915.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../CloseS-c17ee568.js";import"../toast-notifier/use-timer.js";import"../index.module-37dfdb4b.js";import"../index.module-484c9508.js";import"../intersection-observer-044a6fec.js";var a="index-module_layout_wrapper__amEhE",c="index-module_left_menu__N5dgM",l="index-module_menu_static__FNEjo",d="index-module_hidden_menu_opened__X0hFE",u="index-module_content_header__WlsJj",_="index-module_content_wrapper__6MsO6",x="index-module_content_offseted__wo5Xl",j="index-module_calendar_view__PeL0k";p(".index-module_layout_wrapper__amEhE{height:100%;position:relative;width:100%}.index-module_left_menu__N5dgM{-webkit-box-orient:vertical;-webkit-box-direction:normal;background-color:var(--color-bg-secondary);bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;left:0;overflow:hidden;position:absolute;top:0;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;width:88px;z-index:10}.index-module_menu_static__FNEjo{width:296px}.index-module_hidden_menu_opened__X0hFE{background-color:var(--color-bg-secondary);-webkit-box-shadow:var(--shadow-s-hard);box-shadow:var(--shadow-s-hard);width:296px}.index-module_content_header__WlsJj{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:28px 32px 23px 44px}.index-module_content_header__WlsJj,.index-module_content_header__WlsJj>div{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.index-module_header_buttons__rckN->:not(:last-child){margin-right:16px}.index-module_header_buttons__rckN->:last-child{margin-right:0}.index-module_content_wrapper__6MsO6{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;margin-left:88px;-webkit-transition:margin .3s ease-in-out;transition:margin .3s ease-in-out}.index-module_content_offseted__wo5Xl{margin-left:296px}.index-module_calendar_view__PeL0k{margin-right:296px}");var f=function(p){var f,b,h=p.pathname,g=p.children,k=p.routes,w=p.showBackButton,v=p.userName,y=p.userImage,E=p.userDialogOptions,N=p.profileTitle,C=p.profileImage,M=p.Link,F=p.profileOnClick,L=p.navigate,W=p.t,J=o(),O=J.staticMenu,T=J.setStaticMenu,X=J.showMenu,I=J.ref,P=O||X,S="/"+h.split("/").slice(-1)[0],z=t(c,((f={})[l]=O,f[d]=X,f)),B=t(_,((b={})[x]=O,b[j]=h.startsWith("/app/calendar"),b));return e.createElement("div",{className:t(a)},e.createElement("div",{ref:I,className:z},e.createElement(n,{title:N,showTitle:P,image:C,onClick:F}),w&&e.createElement(r,{showTitle:P,onClick:function(){return L("/app/calendar")}}),e.createElement(s,{routes:k,showLabels:P,currentPath:S,Link:M,t:W})),e.createElement("div",{className:B},e.createElement("div",{className:u},e.createElement(i,{onClick:function(){return T(!O)},title:W("menu."+S)}),e.createElement(m,{photo:y,fullName:v,options:E})),g))};export{f as Menu};
1
+ import e from"react";import t from"classnames";import{useMenu as o}from"./hooks/use-menu.js";import{ContentHeader as n}from"./components/content-header/index.js";import{MenuAvatar as r}from"./components/menu-avatar/index.js";import{MenuBackButton as m}from"./components/menu-back-button/index.js";import{MenuButtonsList as i}from"./components/menu-buttons-list/index.js";import{UserButton as s}from"./components/user-button/index.js";import"../icon-button/component.js";import"../tslib.es6-e419faf4.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../avatar/component.js";import"../image/component.js";import"../skeleton/component.js";import"../use-image-render-component-b09b57f4.js";import"../PhotoS-888e6e0c.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"../NextS-9d66362a.js";import"../divider/component.js";import"./components/menu-button/index.js";import"../select/component.js";import"../select/components/arrow/component.js";import"../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"../ClockCircleM-4239c494.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../intersection-observer-80f4ad58.js";var p="index-module_layout_wrapper__amEhE",c="index-module_left_menu__N5dgM",a="index-module_menu_static__FNEjo",l="index-module_hidden_menu_opened__X0hFE",u="index-module_content_header__WlsJj",j="index-module_content_wrapper__6MsO6",d="index-module_content_offseted__wo5Xl",_="index-module_calendar_view__PeL0k",f=function(f){var h,x,g=f.pathname,k=f.children,v=f.routes,b=f.showBackButton,E=f.userName,w=f.userImage,y=f.userDialogOptions,C=f.profileTitle,N=f.profileImage,M=f.Link,L=f.profileOnClick,S=f.navigate,T=f.t,F=o(),I=F.staticMenu,O=F.setStaticMenu,P=F.showMenu,B=F.ref,D=I||P,W="/"+g.split("/").slice(-1)[0],X=t(c,((h={})[a]=I,h[l]=P,h)),z=t(j,((x={})[d]=I,x[_]=g.startsWith("/app/calendar"),x));return e.createElement("div",{className:t(p)},e.createElement("div",{ref:B,className:X},e.createElement(r,{title:C,showTitle:D,image:N,onClick:L}),b&&e.createElement(m,{showTitle:D,onClick:function(){return S("/app/calendar")}}),e.createElement(i,{routes:v,showLabels:D,currentPath:W,Link:M,t:T})),e.createElement("div",{className:z},e.createElement("div",{className:u},e.createElement(n,{onClick:function(){return O(!I)},title:T("menu."+W)}),e.createElement(s,{photo:w,fullName:E,options:y})),k))};export{f as Menu};
@@ -1 +1 @@
1
- import*as t from"react";import o from"react";import{IconButton as e}from"../../../icon-button/component.js";import{Typography as r}from"../../../typography/component.js";import{s as n}from"../../../style-inject.es-1f59c1d0.js";import"../../../tslib.es6-c1295375.js";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../typography/text/component.js";import"../../../colors.module-bcab070d.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";var i=function(){return i=Object.assign||function(t){for(var o,e=1,r=arguments.length;e<r;e++)for(var n in o=arguments[e])Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n]);return t},i.apply(this,arguments)};function m(o){return t.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"currentColor",viewBox:"0 0 16 17"},o),t.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.664 4.503h10.667m-10.667 4h10.667m-10.667 4h10.667"}))}var p="index-module_open_button__a4IKw";n(".index-module_open_button__a4IKw{margin-right:12px!important}");var s=function(t){var n=t.onClick,i=t.title;return o.createElement("div",null,o.createElement(e,{size:"m",icon:m,onClick:n,className:p}),o.createElement(r.Title,{tag:"div",view:"xsmall",weight:"regular"},i))};export{s as ContentHeader};
1
+ import*as t from"react";import e from"react";import{IconButton as o}from"../../../icon-button/component.js";import{Typography as r}from"../../../typography/component.js";import"../../../tslib.es6-e419faf4.js";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../typography/text/component.js";import"../../../colors.module-dee57c29.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";var n=function(){return n=Object.assign||function(t){for(var e,o=1,r=arguments.length;o<r;o++)for(var n in e=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},n.apply(this,arguments)};function i(e){return t.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"currentColor",viewBox:"0 0 16 17"},e),t.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.664 4.503h10.667m-10.667 4h10.667m-10.667 4h10.667"}))}var m="index-module_open_button__a4IKw",p=function(t){var n=t.onClick,p=t.title;return e.createElement("div",null,e.createElement(o,{size:"m",icon:i,onClick:n,className:m}),e.createElement(r.Title,{tag:"div",view:"xsmall",weight:"regular"},p))};export{p as ContentHeader};
@@ -1 +1 @@
1
- export{ContentHeader}from"./content-header/index.js";export{MenuAvatar}from"./menu-avatar/index.js";export{MenuBackButton}from"./menu-back-button/index.js";export{MenuButtonsList}from"./menu-buttons-list/index.js";export{UserButton}from"./user-button/index.js";import"react";import"../../icon-button/component.js";import"../../tslib.es6-c1295375.js";import"classnames";import"../../button/component.js";import"react-merge-refs";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../style-inject.es-1f59c1d0.js";import"../../typography/component.js";import"../../typography/text/component.js";import"../../colors.module-bcab070d.js";import"../../typography/title/index.js";import"../../typography/title/component.js";import"../../avatar/component.js";import"../../image/component.js";import"../../skeleton/component.js";import"../../index.module-2888c6f3.js";import"../../image/use-image-render-component.js";import"../../index.module-7efc4510.js";import"../../spinner/component.js";import"../../index.module-ef79213a.js";import"../../image/types.js";import"../../image/utils.js";import"../../NextS-2b028cce.js";import"../../divider/component.js";import"./menu-button/index.js";import"../../select/component.js";import"../../select/components/arrow/component.js";import"../../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../../__internal/utils/getDataTestId.js";import"../../popover/component.js";import"react-popper";import"react-transition-group";import"../../portal/component.js";import"react-dom";import"../../portal/utils.js";import"../../stack/context.js";import"../../stack/component.js";import"../../select/utils.js";import"../../select/components/native-select/component.js";import"../../select/components/field/component.js";import"../../form-control/component.js";import"../../select/components/optgroup/component.js";import"../../select/components/option/component.js";import"../../select/components/checkmark/component.js";import"../../select/components/options-list/component.js";import"../../ClockCircleM-9cbd1915.js";import"react-virtual";import"../../utils/get-service-error/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";import"../../toast-notifier/component.js";import"../../toast-plate/component.js";import"../../CheckmarkCircleM-10f50b3f.js";import"../../CloseS-c17ee568.js";import"../../toast-notifier/use-timer.js";import"../../index.module-37dfdb4b.js";import"../../index.module-484c9508.js";import"../../intersection-observer-044a6fec.js";
1
+ export{ContentHeader}from"./content-header/index.js";export{MenuAvatar}from"./menu-avatar/index.js";export{MenuBackButton}from"./menu-back-button/index.js";export{MenuButtonsList}from"./menu-buttons-list/index.js";export{UserButton}from"./user-button/index.js";import"react";import"../../icon-button/component.js";import"../../tslib.es6-e419faf4.js";import"classnames";import"../../button/component.js";import"react-merge-refs";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../typography/component.js";import"../../typography/text/component.js";import"../../colors.module-dee57c29.js";import"../../typography/title/index.js";import"../../typography/title/component.js";import"../../avatar/component.js";import"../../image/component.js";import"../../skeleton/component.js";import"../../use-image-render-component-b09b57f4.js";import"../../PhotoS-888e6e0c.js";import"../../spinner/component.js";import"../../image/types.js";import"../../image/utils.js";import"../../NextS-9d66362a.js";import"../../divider/component.js";import"./menu-button/index.js";import"../../select/component.js";import"../../select/components/arrow/component.js";import"../../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../../__internal/utils/getDataTestId.js";import"../../popover/component.js";import"react-popper";import"react-transition-group";import"../../portal/component.js";import"react-dom";import"../../portal/utils.js";import"../../stack/context.js";import"../../stack/component.js";import"../../select/utils.js";import"../../select/components/native-select/component.js";import"../../select/components/field/component.js";import"../../form-control/component.js";import"../../select/components/optgroup/component.js";import"../../select/components/option/component.js";import"../../select/components/checkmark/component.js";import"../../select/components/options-list/component.js";import"../../ClockCircleM-4239c494.js";import"react-virtual";import"../../utils/get-service-error/index.js";import"../../utils/get-service-error/is-axios-error.js";import"../../utils/get-service-error/is-network-error.js";import"../../toast-notifier/component.js";import"../../toast-plate/component.js";import"../../CheckmarkCircleM-ab70fc95.js";import"../../CloseS-c67b27a4.js";import"../../toast-notifier/use-timer.js";import"../../intersection-observer-80f4ad58.js";
@@ -1 +1 @@
1
- import e from"react";import t from"classnames";import{Avatar as o}from"../../../avatar/component.js";import{Typography as i}from"../../../typography/component.js";import{s as n}from"../../../style-inject.es-1f59c1d0.js";import"../../../button/component.js";import"../../../tslib.es6-c1295375.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../image/component.js";import"../../../skeleton/component.js";import"../../../index.module-2888c6f3.js";import"../../../image/use-image-render-component.js";import"../../../index.module-7efc4510.js";import"../../../spinner/component.js";import"../../../index.module-ef79213a.js";import"../../../image/types.js";import"../../../image/utils.js";import"../../../typography/text/component.js";import"../../../colors.module-bcab070d.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";var m="index-module_menu_header__CELkb",r="index-module_text__RyE4x",s="index-module_hidden_text__94pZC";n(".index-module_menu_header__CELkb{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin:28px 28px 24px;overflow:hidden;position:relative}.index-module_text__RyE4x{left:32px;margin-left:12px;overflow:hidden;position:absolute;text-overflow:ellipsis}.index-module_hidden_text__94pZC,.index-module_text__RyE4x{-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out;white-space:nowrap}.index-module_hidden_text__94pZC{left:0;opacity:0;pointer-events:none;z-index:-100}");var p=function(n){var p,l=n.showTitle,a=n.title,d=n.image,x=n.onClick;return e.createElement("div",{className:m},e.createElement(o,{onClick:function(){x&&x()},src:d,text:a}),e.createElement(i.Text,{className:t(r,(p={},p[s]=!l,p)),view:"primary-medium",weight:"bold"},a))};export{p as MenuAvatar};
1
+ import e from"react";import t from"classnames";import{Avatar as o}from"../../../avatar/component.js";import{Typography as m}from"../../../typography/component.js";import"../../../button/component.js";import"../../../tslib.es6-e419faf4.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../image/component.js";import"../../../skeleton/component.js";import"../../../use-image-render-component-b09b57f4.js";import"../../../PhotoS-888e6e0c.js";import"../../../spinner/component.js";import"../../../image/types.js";import"../../../image/utils.js";import"../../../typography/text/component.js";import"../../../colors.module-dee57c29.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";var r="index-module_menu_header__CELkb",i="index-module_text__RyE4x",n="index-module_hidden_text__94pZC",p=function(p){var s,a=p.showTitle,c=p.title,l=p.image,d=p.onClick;return e.createElement("div",{className:r},e.createElement(o,{onClick:function(){d&&d()},src:l,text:c}),e.createElement(m.Text,{className:t(i,(s={},s[n]=!a,s)),view:"primary-medium",weight:"bold"},c))};export{p as MenuAvatar};
@@ -1 +1 @@
1
- import e from"react";import{N as t}from"../../../NextS-2b028cce.js";import{Divider as n}from"../../../divider/component.js";import{s as r}from"../../../style-inject.es-1f59c1d0.js";import"classnames";var o="index-module_back_btn_wrapper__hkZkN",a="index-module_back_btn__Ak25Q";r(".index-module_back_btn_wrapper__hkZkN{padding:0 16px 8px}.index-module_back_btn__Ak25Q{background:none;border:none;color:var(--color-text-secondary);cursor:pointer;font-size:14px;font-weight:500;height:40px;line-height:20px;margin:0 16px 8px;outline:none;padding:0;white-space:nowrap;width:100%}.index-module_back_btn__Ak25Q,.index-module_back_btn__Ak25Q span{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.index-module_back_btn__Ak25Q span{-webkit-box-pack:center;-ms-flex-pack:center;background-color:var(--color-bg-secondary-inverted);border-radius:50%;height:24px;justify-content:center;margin-right:12px;min-height:24px;min-width:24px;width:24px}.index-module_back_btn__Ak25Q span svg{color:var(--color-text-primary-inverted);-webkit-transform:rotate(180deg);transform:rotate(180deg)}");var i=function(r){var i=r.showTitle,c=r.onClick;return e.createElement("div",{className:o},e.createElement("button",{onClick:c,type:"button",className:a},e.createElement("span",null,e.createElement(t,null)),i&&"Go back"),e.createElement(n,{size:"m"}))};export{i as MenuBackButton};
1
+ import e from"react";import{N as t}from"../../../NextS-9d66362a.js";import{Divider as n}from"../../../divider/component.js";import"classnames";var a="index-module_back_btn_wrapper__hkZkN",r="index-module_back_btn__Ak25Q",m=function(m){var o=m.showTitle,l=m.onClick;return e.createElement("div",{className:a},e.createElement("button",{onClick:l,type:"button",className:r},e.createElement("span",null,e.createElement(t,null)),o&&"Go back"),e.createElement(n,{size:"m"}))};export{m as MenuBackButton};
@@ -1 +1 @@
1
- import e from"react";import o from"classnames";import{Typography as t}from"../../../typography/component.js";import{s as i}from"../../../style-inject.es-1f59c1d0.js";import"../../../typography/text/component.js";import"../../../colors.module-bcab070d.js";import"../../../typography/title/index.js";import"../../../tslib.es6-c1295375.js";import"../../../typography/title/component.js";var n="index-module_menu_button__I-v-u",d="index-module_text__L8D-Q",r="index-module_active__1v-Nx",a="index-module_leftAddons__eaiZB",_="index-module_rightAddons__RCmVm",m="index-module_isHidden__MDpf0";i(".index-module_menu_button__I-v-u{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:none;border:none;border-radius:4px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:28px;margin:0 16px 8px;outline:none;padding:6px 0 6px 16px;position:relative;text-decoration:none;z-index:10}.index-module_menu_button__I-v-u svg{color:var(--color-text-secondary)}.index-module_text__L8D-Q{-webkit-transition:opacity .3 ease-in-out;transition:opacity .3 ease-in-out;white-space:nowrap}.index-module_active__1v-Nx .index-module_text__L8D-Q,.index-module_active__1v-Nx svg,.index-module_menu_button__I-v-u:hover .index-module_text__L8D-Q,.index-module_menu_button__I-v-u:hover svg{color:var(--color-text-accent)}.index-module_leftAddons__eaiZB{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:12px}.index-module_rightAddons__RCmVm{margin-left:16px}.index-module_active__1v-Nx{background-color:var(--color-bg-primary)}.index-module_isHidden__MDpf0 .index-module_rightAddons__RCmVm{opacity:0;pointer-events:none;-webkit-transition:opacity .3 ease-in-out;transition:opacity .3 ease-in-out}.index-module_isHidden__MDpf0 .index-module_text__L8D-Q{opacity:0;pointer-events:none}");var l=function(i){var l,s=i.href,x=i.children,p=i.active,c=i.leftAddons,u=i.rightAddons,v=i.showLabels,b=i.Link;return e.createElement(b,{className:o(n,(l={},l[r]=p,l[m]=!v,l)),to:s},c&&e.createElement("div",{className:a},c),e.createElement(t.Text,{view:"title",weight:"medium",color:"secondary",className:d},x),u&&e.createElement("div",{className:_},u))};export{l as MenuButton};
1
+ import e from"react";import t from"classnames";import{Typography as o}from"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-dee57c29.js";import"../../../typography/title/index.js";import"../../../tslib.es6-e419faf4.js";import"../../../typography/title/component.js";var m="index-module_menu_button__I-v-u",i="index-module_text__L8D-Q",r="index-module_active__1v-Nx",n="index-module_leftAddons__eaiZB",d="index-module_rightAddons__RCmVm",s="index-module_isHidden__MDpf0",a=function(a){var l,c=a.href,p=a.children,_=a.active,u=a.leftAddons,x=a.rightAddons,f=a.showLabels,h=a.Link;return e.createElement(h,{className:t(m,(l={},l[r]=_,l[s]=!f,l)),to:c},u&&e.createElement("div",{className:n},u),e.createElement(o.Text,{view:"title",weight:"medium",color:"secondary",className:i},p),x&&e.createElement("div",{className:d},x))};export{a as MenuButton};
@@ -1 +1 @@
1
- import e from"react";import{MenuButton as o}from"../menu-button/index.js";import{s as t}from"../../../style-inject.es-1f59c1d0.js";import"classnames";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-bcab070d.js";import"../../../typography/title/index.js";import"../../../tslib.es6-c1295375.js";import"../../../typography/title/component.js";var i="index-module_component__HYQZU";t(".index-module_component__HYQZU{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-x:hidden;overflow-y:hidden}.index-module_component__HYQZU:hover{overflow-y:auto}");var n=function(t){var n=t.routes,r=t.showLabels,l=t.currentPath,m=t.t,s=t.Link;return e.createElement("div",{className:i},!!n.length&&n.map((function(t){var i="/"+t.path.split("/").slice(-1)[0];return e.createElement(o,{showLabels:r,leftAddons:t.icon,active:i===l,key:t.path,href:t.path,Link:s},m("menu."+i))})))};export{n as MenuButtonsList};
1
+ import t from"react";import{MenuButton as e}from"../menu-button/index.js";import"classnames";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-dee57c29.js";import"../../../typography/title/index.js";import"../../../tslib.es6-e419faf4.js";import"../../../typography/title/component.js";var o="index-module_component__HYQZU",r=function(r){var n=r.routes,p=r.showLabels,i=r.currentPath,m=r.t,a=r.Link;return t.createElement("div",{className:o},!!n.length&&n.map((function(o){var r="/"+o.path.split("/").slice(-1)[0];return t.createElement(e,{showLabels:p,leftAddons:o.icon,active:r===i,key:o.path,href:o.path,Link:a},m("menu."+r))})))};export{r as MenuButtonsList};
@@ -1 +1 @@
1
- import{a as o}from"../../../tslib.es6-c1295375.js";import t from"react";import{Avatar as e}from"../../../avatar/component.js";import{Button as i}from"../../../button/component.js";import{Select as r}from"../../../select/component.js";import"classnames";import"../../../select/components/arrow/component.js";import"../../../select/components/base-select/component.js";import"../../../form-control/component.js";import"../../../select/components/field/component.js";import"../../../select/components/optgroup/component.js";import"../../../index.module-2888c6f3.js";import"../../../select/components/checkmark/component.js";import"../../../select/components/option/component.js";import"../../../select/components/options-list/component.js";import"react-virtual";import"../../../utils/get-service-error/index.js";import"../../../toast-notifier/component.js";import"../../../index.module-37dfdb4b.js";import"../../../index.module-484c9508.js";import"../../../intersection-observer-044a6fec.js";import{s as n}from"../../../style-inject.es-1f59c1d0.js";import"../../../image/component.js";import"../../../skeleton/component.js";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-bcab070d.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../image/use-image-render-component.js";import"../../../index.module-7efc4510.js";import"../../../spinner/component.js";import"../../../index.module-ef79213a.js";import"../../../image/types.js";import"../../../image/utils.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"downshift";import"resize-observer";import"../../../__internal/utils/getDataTestId.js";import"../../../popover/component.js";import"react-popper";import"react-transition-group";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../stack/context.js";import"../../../stack/component.js";import"../../../select/utils.js";import"../../../select/components/native-select/component.js";import"../../../ClockCircleM-9cbd1915.js";import"../../../utils/get-service-error/is-axios-error.js";import"../../../utils/get-service-error/is-network-error.js";import"../../../toast-plate/component.js";import"../../../CheckmarkCircleM-10f50b3f.js";import"../../../CloseS-c17ee568.js";import"../../../toast-notifier/use-timer.js";var s="index-module_option_wrap__H32lk",p="index-module_field_avatar__qjMv6";n(".index-module_avatar__CLDOx{min-height:32px;min-width:32px}.index-module_option__MwDsW{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:36px;justify-content:center;padding:0 12px}.index-module_option__MwDsW>button>span{font-size:12px;font-weight:500;line-height:20px;text-align:left}.index-module_option_wrap__H32lk>span:first-child{display:none}.index-module_option_wrap__H32lk{padding-left:0;padding-right:0}.index-module_field_avatar__qjMv6{height:32px}");var m=t.memo((function(n){var m=n.options,c=n.fullName,l=n.photo;return t.createElement("div",{className:p},t.createElement(r,{options:m,optionsListWidth:"content",block:!1,popoverPosition:"bottom-end",selected:[],closeOnSelect:!0,optionClassName:s,Field:function(r){var n=r.innerProps;return t.createElement(i,o({},n,{view:"ghost"}),t.createElement(e,{onClick:m.length?function(){}:void 0,src:l,text:c}))}}))}));export{m as UserButton};
1
+ import{a as o}from"../../../tslib.es6-e419faf4.js";import t from"react";import{Avatar as e}from"../../../avatar/component.js";import{Button as r}from"../../../button/component.js";import{Select as s}from"../../../select/component.js";import"classnames";import"../../../select/components/base-select/component.js";import"../../../form-control/component.js";import"../../../select/components/options-list/component.js";import"react-virtual";import"../../../utils/get-service-error/index.js";import"../../../toast-notifier/component.js";import"../../../intersection-observer-80f4ad58.js";import"../../../image/component.js";import"../../../skeleton/component.js";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-dee57c29.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../use-image-render-component-b09b57f4.js";import"../../../PhotoS-888e6e0c.js";import"../../../spinner/component.js";import"../../../image/types.js";import"../../../image/utils.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../select/components/arrow/component.js";import"../../../select/components/field/component.js";import"../../../select/utils.js";import"../../../select/components/optgroup/component.js";import"../../../select/components/option/component.js";import"../../../select/components/checkmark/component.js";import"downshift";import"resize-observer";import"../../../__internal/utils/getDataTestId.js";import"../../../popover/component.js";import"react-popper";import"react-transition-group";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../stack/context.js";import"../../../stack/component.js";import"../../../select/components/native-select/component.js";import"../../../ClockCircleM-4239c494.js";import"../../../utils/get-service-error/is-axios-error.js";import"../../../utils/get-service-error/is-network-error.js";import"../../../toast-plate/component.js";import"../../../CheckmarkCircleM-ab70fc95.js";import"../../../CloseS-c67b27a4.js";import"../../../toast-notifier/use-timer.js";var p="index-module_option_wrap__H32lk",i="index-module_field_avatar__qjMv6",n=t.memo((function(n){var m=n.options,c=n.fullName,a=n.photo;return t.createElement("div",{className:i},t.createElement(s,{options:m,optionsListWidth:"content",block:!1,popoverPosition:"bottom-end",selected:[],closeOnSelect:!0,optionClassName:p,Field:function(s){var p=s.innerProps;return t.createElement(r,o({},p,{view:"ghost"}),t.createElement(e,{onClick:m.length?function(){}:void 0,src:a,text:c}))}}))}));export{n as UserButton};
@@ -1 +1 @@
1
- export{Menu}from"./component.js";import"react";import"classnames";import"./hooks/use-menu.js";import"./components/content-header/index.js";import"../icon-button/component.js";import"../tslib.es6-c1295375.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../style-inject.es-1f59c1d0.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../typography/title/index.js";import"../typography/title/component.js";import"./components/menu-avatar/index.js";import"../avatar/component.js";import"../image/component.js";import"../skeleton/component.js";import"../index.module-2888c6f3.js";import"../image/use-image-render-component.js";import"../index.module-7efc4510.js";import"../spinner/component.js";import"../index.module-ef79213a.js";import"../image/types.js";import"../image/utils.js";import"./components/menu-back-button/index.js";import"../NextS-2b028cce.js";import"../divider/component.js";import"./components/menu-buttons-list/index.js";import"./components/menu-button/index.js";import"./components/user-button/index.js";import"../select/component.js";import"../select/components/arrow/component.js";import"../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"../ClockCircleM-9cbd1915.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../CloseS-c17ee568.js";import"../toast-notifier/use-timer.js";import"../index.module-37dfdb4b.js";import"../index.module-484c9508.js";import"../intersection-observer-044a6fec.js";
1
+ export{Menu}from"./component.js";import"react";import"classnames";import"./hooks/use-menu.js";import"./components/content-header/index.js";import"../icon-button/component.js";import"../tslib.es6-e419faf4.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";import"./components/menu-avatar/index.js";import"../avatar/component.js";import"../image/component.js";import"../skeleton/component.js";import"../use-image-render-component-b09b57f4.js";import"../PhotoS-888e6e0c.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"./components/menu-back-button/index.js";import"../NextS-9d66362a.js";import"../divider/component.js";import"./components/menu-buttons-list/index.js";import"./components/menu-button/index.js";import"./components/user-button/index.js";import"../select/component.js";import"../select/components/arrow/component.js";import"../select/components/base-select/component.js";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../select/utils.js";import"../select/components/native-select/component.js";import"../select/components/field/component.js";import"../form-control/component.js";import"../select/components/optgroup/component.js";import"../select/components/option/component.js";import"../select/components/checkmark/component.js";import"../select/components/options-list/component.js";import"../ClockCircleM-4239c494.js";import"react-virtual";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../intersection-observer-80f4ad58.js";
@@ -1 +1 @@
1
- import e,{useState as a}from"react";import{Button as p}from"../button/component.js";import{Flex as r}from"../flex/component.js";import{Image as t}from"../image/component.js";import"../image/types.js";import{ImageGallery as i}from"../image-gallery/component.js";import{Padding as o}from"../padding/component.js";import{Typography as s}from"../typography/component.js";import{s as x}from"../style-inject.es-1f59c1d0.js";import"../tslib.es6-c1295375.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../index.module-2888c6f3.js";import"../image/use-image-render-component.js";import"../index.module-7efc4510.js";import"../spinner/component.js";import"../index.module-ef79213a.js";import"../image/utils.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"element-closest";import"swiper";import"swiper/react";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../ClockCircleM-9cbd1915.js";import"../CloseS-c17ee568.js";import"../toast-notifier/use-timer.js";import"../slide-e3b4aca4.js";import"swiper/swiper.min.css";var l="index-module_topRow__IFW6P",m="index-module_answer__tTLUV",n="index-module_leftSide__vZvXK",g="index-module_title__9s63W",d="index-module_rightAddons__fhvSp",c="index-module_text__U4-9Q";x(':root{--shadow-info-block:0px 4px 4px rgba(0,0,0,.25);--shadow-xs:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04);--shadow-s:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08);--shadow-m:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16);--shadow-l:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24);--shadow-xl:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32);--shadow-xs-hard:0 0 4px rgba(11,31,53,.02),0 2px 4px rgba(11,31,53,.04),0 2px 4px rgba(11,31,53,.16);--shadow-s-hard:0 0 8px rgba(11,31,53,.04),0 4px 8px rgba(11,31,53,.08),0 4px 8px rgba(11,31,53,.16);--shadow-m-hard:0 0 16px rgba(11,31,53,.08),0 8px 16px rgba(11,31,53,.16),0 8px 16px rgba(11,31,53,.16);--shadow-l-hard:0 0 24px rgba(11,31,53,.12),0 12px 24px rgba(11,31,53,.24),0 12px 24px rgba(11,31,53,.16);--shadow-xl-hard:0 0 32px rgba(11,31,53,.16),0 16px 32px rgba(11,31,53,.32),0 16px 32px rgba(11,31,53,.16);--shadow-xs-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04);--shadow-s-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08);--shadow-m-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16);--shadow-l-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24);--shadow-xl-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32);--shadow-xs-hard-up:0 0 4px rgba(11,31,53,.02),0 -2px 4px rgba(11,31,53,.04),0 -2px 4px rgba(11,31,53,.16);--shadow-s-hard-up:0 0 8px rgba(11,31,53,.04),0 -4px 8px rgba(11,31,53,.08),0 -4px 8px rgba(11,31,53,.16);--shadow-m-hard-up:0 0 16px rgba(11,31,53,.08),0 -8px 16px rgba(11,31,53,.16),0 -8px 16px rgba(11,31,53,.16);--shadow-l-hard-up:0 0 24px rgba(11,31,53,.12),0 -12px 24px rgba(11,31,53,.24),0 -12px 24px rgba(11,31,53,.16);--shadow-xl-hard-up:0 0 32px rgba(11,31,53,.16),0 -16px 32px rgba(11,31,53,.32),0 -16px 32px rgba(11,31,53,.16);--radius-s:4px;--radius-m:8px;--radius-l:10px;--radius-circle:50%;--gap-2xs:4px;--gap-xs:8px;--gap-s:12px;--gap-m:16px;--gap-l:20px;--gap-xl:24px;--gap-xxl:28px;--gap-2xl:32px;--gap-3xl:40px;--gap-4xl:48px;--gap-5xl:64px;--gap-6xl:72px;--gap-7xl:96px;--gap-8xl:128px;--gap-2xs-neg:-4px;--gap-xs-neg:-8px;--gap-s-neg:-12px;--gap-m-neg:-16px;--gap-l-neg:-20px;--gap-xl-neg:-24px;--gap-2xl-neg:-32px;--gap-3xl-neg:-40px;--gap-4xl-neg:-48px;--gap-5xl-neg:-64px;--gap-6xl-neg:-72px;--gap-7xl-neg:-96px;--gap-8xl-neg:-128px;--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.index-module_topRow__IFW6P{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between;max-width:100%;width:100%}.index-module_answer__tTLUV{border-left:2px solid var(--color-border-secondary);display:block;padding-left:16px;padding-top:4px}.index-module_leftSide__vZvXK{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;max-width:80%;&>span{white-space:nowrap}&>*{margin-right:var(--gap-m);&:last-child{margin-right:0}}}.index-module_title__9s63W{overflow:hidden;text-overflow:ellipsis}.index-module_rightAddons__fhvSp{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;&>*{margin-left:var(--gap-xs);&:first-child{margin-left:var(--gap-xl)}}}.index-module_text__U4-9Q{padding-left:48px}');var b=function(x){var b=x.className,u=x.dataTestId,h=x.title,w=x.date,f=x.rightAddons,j=x.answer,y=x.text,v=x.image,_=x.photos,k=void 0===_?[]:_,E=x.withImage,S=void 0===E||E,N=a(!1),C=N[0],T=N[1],F=a(0),U=F[0],I=F[1];return e.createElement("div",{"data-test-id":u,className:b},e.createElement("div",{className:l},e.createElement("div",{className:n},S&&e.createElement(t,{src:v,size:"s",text:h,view:"circle"}),e.createElement(s.Text,{className:g,view:"title",weight:"bold"},h),w&&e.createElement(s.Text,{view:"title",color:"secondary",weight:"regular"},w)),f&&e.createElement("div",{className:d},f)),e.createElement("div",{className:c},e.createElement(s.Text,{view:"primary-medium",color:"primary",weight:"medium"},y),!!j&&e.createElement(s.Text,{className:m,view:"primary-small",color:"secondary",weight:"medium"},j),!!k.length&&e.createElement(e.Fragment,null,e.createElement(o,{padding:"8px 0"}),e.createElement(r,{justify:"start",gap:"md"},k.map((function(a,r){return e.createElement(p,{view:"ghost",onClick:function(){I(r),T(!0)}},e.createElement(t,{src:a,size:"xl",view:"default"}))}))),e.createElement(i,{initialSlide:U,onClose:function(){return T(!1)},open:C,images:k.map((function(e){return{src:e,previewSrc:e}}))}))))};export{b as Message};
1
+ import e,{useState as t}from"react";import{Button as i}from"../button/component.js";import{Flex as r}from"../flex/component.js";import{Image as o}from"../image/component.js";import"../image/types.js";import{ImageGallery as m}from"../image-gallery/component.js";import{Padding as s}from"../padding/component.js";import{Typography as n}from"../typography/component.js";import"../tslib.es6-e419faf4.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../use-image-render-component-b09b57f4.js";import"../PhotoS-888e6e0c.js";import"../spinner/component.js";import"../image/utils.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"element-closest";import"swiper";import"swiper/react";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../ClockCircleM-4239c494.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../slide-98ce8f96.js";import"swiper/swiper.min.css";var a="index-module_topRow__IFW6P",l="index-module_answer__tTLUV",p="index-module_leftSide__vZvXK",c="index-module_title__9s63W",d="index-module_rightAddons__fhvSp",g="index-module_text__U4-9Q",j=function(j){var u=j.className,x=j.dataTestId,f=j.title,v=j.date,y=j.rightAddons,w=j.answer,h=j.text,_=j.image,E=j.photos,b=void 0===E?[]:E,k=j.withImage,N=void 0===k||k,C=t(!1),S=C[0],T=C[1],F=t(0),I=F[0],z=F[1];return e.createElement("div",{"data-test-id":x,className:u},e.createElement("div",{className:a},e.createElement("div",{className:p},N&&e.createElement(o,{src:_,size:"s",text:f,view:"circle"}),e.createElement(n.Text,{className:c,view:"title",weight:"bold"},f),v&&e.createElement(n.Text,{view:"title",color:"secondary",weight:"regular"},v)),y&&e.createElement("div",{className:d},y)),e.createElement("div",{className:g},e.createElement(n.Text,{view:"primary-medium",color:"primary",weight:"medium"},h),!!w&&e.createElement(n.Text,{className:l,view:"primary-small",color:"secondary",weight:"medium"},w),!!b.length&&e.createElement(e.Fragment,null,e.createElement(s,{padding:"8px 0"}),e.createElement(r,{justify:"start",gap:"md"},b.map((function(t,r){return e.createElement(i,{view:"ghost",onClick:function(){z(r),T(!0)}},e.createElement(o,{src:t,size:"xl",view:"default"}))}))),e.createElement(m,{initialSlide:I,onClose:function(){return T(!1)},open:S,images:b.map((function(e){return{src:e,previewSrc:e}}))}))))};export{j as Message};
@@ -1 +1 @@
1
- export{Message}from"./component.js";import"react";import"../button/component.js";import"../tslib.es6-c1295375.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../style-inject.es-1f59c1d0.js";import"../flex/component.js";import"../image/component.js";import"../skeleton/component.js";import"../index.module-2888c6f3.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../image/use-image-render-component.js";import"../index.module-7efc4510.js";import"../spinner/component.js";import"../index.module-ef79213a.js";import"../image/types.js";import"../image/utils.js";import"../image-gallery/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"element-closest";import"swiper";import"swiper/react";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../ClockCircleM-9cbd1915.js";import"../CloseS-c17ee568.js";import"../toast-notifier/use-timer.js";import"../slide-e3b4aca4.js";import"swiper/swiper.min.css";import"../padding/component.js";
1
+ export{Message}from"./component.js";import"react";import"../button/component.js";import"../tslib.es6-e419faf4.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../flex/component.js";import"../image/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../use-image-render-component-b09b57f4.js";import"../PhotoS-888e6e0c.js";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"../image-gallery/component.js";import"../image-gallery/components/navigation-bar/index.js";import"../image-gallery/context.js";import"../image-gallery/utils/utils.js";import"../image-gallery/utils/constants.js";import"../image-gallery/components/image-preview/index.js";import"../image-gallery/components/header/index.js";import"../image-gallery/components/header-info-block/index.js";import"../image-gallery/utils/split-filename.js";import"../image-gallery/components/image-viewer/index.js";import"element-closest";import"swiper";import"swiper/react";import"../utils/get-service-error/index.js";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../ClockCircleM-4239c494.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../slide-98ce8f96.js";import"swiper/swiper.min.css";import"../padding/component.js";
@@ -1 +1 @@
1
- import e from"react";import{Modal as o}from"./modal.js";import"../../../tslib.es6-c1295375.js";import"../../../CloseS-c17ee568.js";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../style-inject.es-1f59c1d0.js";var r=function(r){var t=r.modals,s=r.dirtyModals,m=r.closeModal,n=r.currentModalId;return e.createElement(e.Fragment,null,t.map((function(r,t){return e.createElement(o,{key:r.id,index:t,modal:r,dirtyModals:s,closeModal:m,currentModalId:n})})))};export{r as Modals};
1
+ import o from"react";import{Modal as e}from"./modal.js";import"../../../tslib.es6-e419faf4.js";import"../../../button/component.js";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var r=function(r){var t=r.modals,a=r.dirtyModals,m=r.closeModal,n=r.currentModalId;return o.createElement(o.Fragment,null,t.map((function(r,t){return o.createElement(e,{key:r.id,index:t,modal:r,dirtyModals:a,closeModal:m,currentModalId:n})})))};export{r as Modals};