@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
@@ -0,0 +1 @@
1
+ var o={primary:"colors-module_primary__f19I7","primary-inverted":"colors-module_primary-inverted__g2GMq",secondary:"colors-module_secondary__Gon7c","secondary-inverted":"colors-module_secondary-inverted__oauNr",positive:"colors-module_positive__Vno8V",attention:"colors-module_attention__ZbzM2",negative:"colors-module_negative__7JvUF",link:"colors-module_link__gqQZ2",disabled:"colors-module_disabled__TPJs4",tertiary:"colors-module_tertiary__e7GJP","tertiary-inverted":"colors-module_tertiary-inverted__jgNuV",accent:"colors-module_accent__-sG9C"};export{o as c};
@@ -0,0 +1 @@
1
+ import{TableCell as e}from"./table/components/cell/component.js";import t,{useCallback as l,useEffect as o,useMemo as r}from"react";import n from"classnames";import{Cells as a}from"./table/components/cells/index.js";import{EmptyList as i}from"./table/components/empty-list/index.js";import{Error as c}from"./table/components/error/index.js";import{Loading as s}from"./table/components/loading/index.js";import{Pagination as m}from"./table/components/pagination/index.js";import{TableHeader as u}from"./table/components/table-header/index.js";import{useTableData as d}from"./table/hooks/use-table-data.js";import{addQueryParam as p}from"./table/utils/add-query-param.js";import{getTags as f}from"./table/utils/get-tags.js";import{a as v}from"./PhotoS-888e6e0c.js";import{Image as g}from"./image/component.js";import"./image/types.js";import"./cell/pure/component.js";import{removeQueryParam as b}from"./table/utils/remove-query-param.js";import{resetQueryParam as h}from"./table/utils/reset-query-param.js";function w(e,t,l){return e?"string"==typeof e?t[e]:"function"==typeof e?e({row:t,refetch:l}):null:null}function C(e,t,l){return e?"string"==typeof e?t[e]:"function"==typeof e?e({row:t,refetch:l}):null:null}function E(e){var l=e.columns,o=e.data,r=e.refetch,n=o.map((function(e){return{row:e,cells:l.map((function(l){var o,n,a,i,c,s,m,u,d,p,f=C((null===(o=l.row)||void 0===o?void 0:o.title)||l.accessor,e,r);if(null===(n=l.row)||void 0===n?void 0:n.image){var b=w(null===(a=l.row)||void 0===a?void 0:a.image,e,r);p=b?t.createElement(g,{bgColor:"secondary",src:b,text:null==f?void 0:f.toString(),view:"ellipse"}):t.createElement(g,{bgColor:"secondary",icon:t.createElement(v,null),text:null==f?void 0:f.toString(),view:"ellipse"})}else if(null===(i=l.row)||void 0===i?void 0:i.icon){var h=w(null===(c=l.row)||void 0===c?void 0:c.icon,e,r);p=t.createElement(g,{icon:h||t.createElement(v,null),text:null==f?void 0:f.toString(),view:"ellipse"})}else(null===(s=l.row)||void 0===s?void 0:s.customAddon)&&(p=w(null===(m=l.row)||void 0===m?void 0:m.customAddon,e,r));return t.createElement(_.Cell,{title:f,align:l.align,subtitle:(null===(u=l.row)||void 0===u?void 0:u.subtitle)&&C(null===(d=l.row)||void 0===d?void 0:d.subtitle,e,r),addon:p})}))}}));return n}var j={table_wrapper:"index-module_table_wrapper__SeB5n",table:"index-module_table__9sbda",fill:"index-module_fill__Q-icF",clickable:"index-module_clickable__k4S8g"};function x(e){var v=e.columns,g=e.searchPlaceholder,w=void 0===g?"Поиск по таблице":g,C=e.records,x=e.hideSearch,_=e.rightHeaderAddons,y=e.leftHeaderAddons,k=e.filtersButtonLabel,P=e.createButtonLabel,S=e.loading,B=e.height,A=void 0===B?"fill":B,L=e.tagsBuilder,F=e.promise,H=e.onRowClick,T=e.onCreateClick,q=e.onFiltersClick,N=e.refetch,D=e.language,Q=d({promise:F,records:C}),R=Q.loading,V=Q.error,z=Q.data,G=Q.total,I=Q.params,J=Q.pagesCount,K=Q.updateData,M=T?function(){return T(K)}:void 0,O=l((function(e){h(e),K()}),[]);o((function(){K()}),[]);var U=function(){return q?q({submitCallback:function(e){return O(e)},initialValues:I}):null},W=function(e){p(e),K()},X=f({params:(null==I?void 0:I.where)||{},onDelete:function(e,t){b(e,t),K()},tagsBuilder:L,onClick:U}),Y=r((function(){return E({columns:v,data:z,refetch:N||K})}),[z,v]),Z=R||S;return t.createElement("div",{className:n(j.table_wrapper,j[A])},(!x||_||y||T||q)&&t.createElement(u,{language:D,hideSearch:x,rightHeaderAddons:_,leftHeaderAddons:y,searchText:(null==I?void 0:I.searchText)||"",addParam:W,searchPlaceholder:w,filtersButtonLabel:k,tags:X,onCreateClick:M,createButtonLabel:P,onFiltersClick:U,showFiltersButton:!!q}),t.createElement("div",{className:j.table},t.createElement("table",{cellSpacing:"0",cellPadding:"0"},t.createElement(a,{sort:null==I?void 0:I.sort,order:null==I?void 0:I.order,addParam:W,columns:v}),t.createElement("tbody",null,V&&t.createElement(c,{language:D}),!Y.length&&!Z&&!V&&t.createElement(i,{language:D}),Z&&t.createElement(s,{columnsLength:v.length}),Y.map((function(e){var l,o=e.row,r=e.cells;return t.createElement("tr",{onClick:function(){return e=o,null==H?void 0:H(e,K);var e},className:n((l={},l[j.clickable]=!!H,l)),style:{visibility:Z?"collapse":"visible"}},r.map((function(e){return e})))}))))),!!F&&t.createElement(m,{language:D,currentPage:I?+I.page:1,recordsPerPage:I?+I.limit:10,pagesCount:+J,addParam:W,total:+G}))}var _={Cell:e,TableComponent:x};export{_ as T,x as a,E as p};
@@ -0,0 +1 @@
1
+ import e,{useRef as t}from"react";import o from"classnames";import{getDataTestId as a}from"./__internal/utils/getDataTestId.js";import{useFocus as r}from"./hooks/useFocus/index.js";import{Typography as m}from"./typography/component.js";import{Pure as s}from"./cell/pure/component.js";var i="index-module_component__BNjZ4",l="index-module_title__VeYlM",n="index-module_subtitle__OOoZr",d="index-module_focused__ootMA",c=function(s){var c,p=s.className,_=s.dataTestId,f=s.title,x=s.subtitle,g=s.size,v=void 0===g?"m":g,j=s.addon,y=t(null),N=r(y,"keyboard")[0];return e.createElement(u.Pure,{slot:j,className:o(i,(c={},c[d]=N,c),p),dataTestId:a("cell-action",_,!0),tabIndex:0,size:v,ref:y},e.createElement(e.Fragment,null,f&&e.createElement(m.Text,{view:"title",color:"primary",weight:"medium",tag:"div",className:l},f),x&&e.createElement(m.Text,{weight:"medium",view:"caps",tag:"div",className:n,color:"secondary"},x)))},u={Pure:s,Base:c};export{c as B,u as C};
@@ -0,0 +1 @@
1
+ import e from"react";var t={wrapper:"index-module_wrapper__EnjfK",row_wrapper:"index-module_row_wrapper__8067q",title:"index-module_title__Tgf-N",block:"index-module_block__rSzcB",link:"index-module_link__Oe3C9",text:"index-module_text__qVH7d",email:"index-module_email__h6jhO",buttons:"index-module_buttons__dZl85",bottomBlock:"index-module_bottomBlock__fjWwD",contactBlock:"index-module_contactBlock__kAr-f",phone:"index-module_phone__yts-p"},o=function(o){var _=o.title,l=o.value;return e.createElement("div",{className:t.contactBlock},e.createElement("span",{className:t.text},_),e.createElement("span",{className:t.phone},l))};export{o as C,t as s};
@@ -1 +1 @@
1
- import t from"react";import{A as o}from"../ActionCopyM-2f28ae57.js";import{IconButton as e}from"../icon-button/component.js";import{ToastNotifier as i}from"../toast-notifier/component.js";import{Typography as r}from"../typography/component.js";import{s as m}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"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 n="index-module_wrapper__dZRhL",p="index-module_link_button__VKWD-";m(".index-module_wrapper__dZRhL{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.index-module_link_button__VKWD-{margin-left:8px;& svg{width:20px}}");var s=function(m){var s=m.text,a=m.fullText,c=m.color;return t.createElement("div",{className:n},t.createElement(r.Text,{view:"title",weight:"medium",color:c||"primary"},s),t.createElement(e,{icon:o,className:p,onClick:function(t){t.stopPropagation(),navigator.clipboard.writeText(a||s).then((function(){i({title:"Copied!",view:"positive",offset:30})}))},view:"ghost"}))};export{s as CopyButton};
1
+ import t from"react";import{A as o}from"../ActionCopyM-66c0b0d4.js";import{IconButton as e}from"../icon-button/component.js";import{ToastNotifier as r}from"../toast-notifier/component.js";import{Typography as i}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"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 m="index-module_wrapper__dZRhL",p="index-module_link_button__VKWD-",n=function(n){var s=n.text,c=n.fullText,a=n.color;return t.createElement("div",{className:m},t.createElement(i.Text,{view:"title",weight:"medium",color:a||"primary"},s),t.createElement(e,{icon:o,className:p,onClick:function(t){t.stopPropagation(),navigator.clipboard.writeText(c||s).then((function(){r({title:"Copied!",view:"positive",offset:30})}))},view:"ghost"}))};export{n as CopyButton};
@@ -1 +1 @@
1
- export{CopyButton}from"./component.js";import"react";import"../ActionCopyM-2f28ae57.js";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"../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{CopyButton}from"./component.js";import"react";import"../ActionCopyM-66c0b0d4.js";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"../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{_ as t,a as o}from"../tslib.es6-c1295375.js";import e from"react";import{Typography as r}from"../typography/component.js";import"../toast-notifier/component.js";import{formatDate as m}from"../utils/format-date/index.js";import"../typography/text/component.js";import"classnames";import"../colors.module-bcab070d.js";import"../style-inject.es-1f59c1d0.js";import"../typography/title/index.js";import"../typography/title/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../ClockCircleM-9cbd1915.js";import"../CloseS-c17ee568.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../index-8347460a.js";import"../index-acf532e5.js";import"../index-7cac52e8.js";import"../index-579985bf.js";import"../index-14cb6781.js";var i=function(i){var s=i.className,a=i.dataTestId,p=i.date,n=i.time,c=i.format,d=void 0===c?"dd.MM.yyyy":c,j=i.language,l=void 0===j?"de":j,f=t(i,["className","dataTestId","date","time","format","language"]);return e.createElement(r.Text,o({},f,{className:s,"data-test-id":a}),m(p,{format:d,lang:l,time:n}))};export{i as FormattedDate};
1
+ import{_ as t,a as o}from"../tslib.es6-e419faf4.js";import e from"react";import{Typography as r}from"../typography/component.js";import"../toast-notifier/component.js";import{formatDate as m}from"../utils/format-date/index.js";import"../typography/text/component.js";import"classnames";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../ClockCircleM-4239c494.js";import"../CloseS-c67b27a4.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../index-9a229f94.js";import"../index-e874f104.js";import"../index-ff0ff21f.js";import"../index-69b4d678.js";import"../index-58997b72.js";var i=function(i){var a=i.className,s=i.dataTestId,p=i.date,n=i.time,d=i.format,c=void 0===d?"dd.MM.yyyy":d,f=i.language,j=void 0===f?"de":f,l=t(i,["className","dataTestId","date","time","format","language"]);return e.createElement(r.Text,o({},l,{className:a,"data-test-id":s}),m(p,{format:c,lang:j,time:n}))};export{i as FormattedDate};
@@ -1 +1 @@
1
- export{FormattedDate}from"./component.js";import"../tslib.es6-c1295375.js";import"react";import"../typography/component.js";import"../typography/text/component.js";import"classnames";import"../colors.module-bcab070d.js";import"../style-inject.es-1f59c1d0.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../ClockCircleM-9cbd1915.js";import"../CloseS-c17ee568.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../utils/format-date/index.js";import"../index-8347460a.js";import"../index-acf532e5.js";import"../index-7cac52e8.js";import"../index-579985bf.js";import"../index-14cb6781.js";
1
+ export{FormattedDate}from"./component.js";import"../tslib.es6-e419faf4.js";import"react";import"../typography/component.js";import"../typography/text/component.js";import"classnames";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../ClockCircleM-4239c494.js";import"../CloseS-c67b27a4.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../utils/format-date/index.js";import"../index-9a229f94.js";import"../index-e874f104.js";import"../index-ff0ff21f.js";import"../index-69b4d678.js";import"../index-58997b72.js";
@@ -1 +1 @@
1
- export{a as add,p as parseISO,s as subWeeks}from"./index-00def255.js";export{a as addDays,b as addMonths,i as isAfter,c as isBefore,d as isSameDay,s as startOfDay,e as startOfISOWeek,f as startOfWeek,g as subDays}from"./index-fcfe1262.js";export{a as addYears,s as subYears}from"./index-21c90eba.js";export{e as eachDayOfInterval,a as eachMonthOfInterval,b as eachYearOfInterval,c as endOfISOWeek,d as endOfWeek,f as endOfYear,i as isSameMonth,l as lastDayOfMonth,m as max,g as min,s as startOfMonth,h as startOfYear,j as subMonths}from"./index-5d5dc52f.js";export{f as format}from"./index-7cac52e8.js";export{i as isEqual,a as isLastDayOfMonth,b as isWithinInterval}from"./index-bae76388.js";export{i as isSameYear,a as isThisYear}from"./index-9ce5a5e7.js";export{i as isThisMonth}from"./index-290e6c62.js";export{i as isToday}from"./index-d33b2062.js";export{p as parse}from"./index-579985bf.js";import{t as r}from"./index-8347460a.js";import{r as t,t as o}from"./index-acf532e5.js";import"./index-14cb6781.js";function n(a,s){t(2,arguments);var e=o(a),i=r(s);return isNaN(e.getTime())?new Date(NaN):(e.setFullYear(i),e)}export{n as setYear};
1
+ export{a as add,p as parseISO,s as subWeeks}from"./index-6177f5e3.js";export{a as addDays,b as addMonths,i as isAfter,c as isBefore,d as isSameDay,s as startOfDay,e as startOfISOWeek,f as startOfWeek,g as subDays}from"./index-36969ea7.js";export{a as addYears,s as subYears}from"./index-72b153ca.js";export{e as eachDayOfInterval,a as eachMonthOfInterval,b as eachYearOfInterval,c as endOfISOWeek,d as endOfWeek,f as endOfYear,i as isSameMonth,l as lastDayOfMonth,m as max,g as min,s as startOfMonth,h as startOfYear,j as subMonths}from"./index-74c7ea5e.js";export{f as format}from"./index-ff0ff21f.js";export{i as isEqual,a as isLastDayOfMonth,b as isWithinInterval}from"./index-a487f3e1.js";export{i as isSameYear,a as isThisYear}from"./index-fd5802fb.js";export{i as isThisMonth}from"./index-eb5ee370.js";export{i as isToday}from"./index-2fa5f0ff.js";export{p as parse}from"./index-69b4d678.js";import{t as r}from"./index-9a229f94.js";import{r as t,t as o}from"./index-e874f104.js";import"./index-58997b72.js";function n(a,s){t(2,arguments);var e=o(a),f=r(s);return isNaN(e.getTime())?new Date(NaN):(e.setFullYear(f),e)}export{n as setYear};
@@ -1 +1 @@
1
- import*as e from"react";import t from"react";import{C as a}from"../ChevronBackM-47d9cb6d.js";import i from"classnames";import{Button as o}from"../button/component.js";import{p as r,a as n,s}from"../index-00def255.js";import{f as d}from"../index-7cac52e8.js";import{e as m,i as l,c,g as p}from"../index-fcfe1262.js";import{i as x}from"../index-d33b2062.js";import{IconButton as f}from"../icon-button/component.js";import{Typography as y}from"../typography/component.js";import{s as w}from"../style-inject.es-1f59c1d0.js";import"../tslib.es6-c1295375.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-acf532e5.js";import"../index-8347460a.js";import"../index-14cb6781.js";import"../typography/text/component.js";import"../colors.module-bcab070d.js";import"../typography/title/index.js";import"../typography/title/component.js";var u=function(){return u=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var o in t=arguments[a])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)};function _(t){return e.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},t),e.createElement("path",{fillRule:"evenodd",d:"M8.125 4.793a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414l6.293-6.293-6.293-6.293a1 1 0 0 1 0-1.414",clipRule:"evenodd"}))}var b={date_switcher:"index-module_date_switcher__-TXru",date_wrap:"index-module_date_wrap__Tzlmm",day:"index-module_day__HX9YV",week:"index-module_week__s9uze"};w(".index-module_date_switcher__-TXru{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:start;-ms-flex-pack:start;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:flex-start;&>:not(:last-child){margin-right:12px}}.index-module_date_wrap__Tzlmm{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center}.index-module_day__HX9YV{min-width:70px}.index-module_week__s9uze{min-width:140px}");var h="yyyy-MM-dd",g="dd.MM.yy",j=function(e){var w=e.view,u=void 0===w?"day":w,j=e.startDate,k=e.onChange,v=e.minDate,E=e.maxDate,C=e.todayLabel,M=m(r(j)),D="day"===u?r(j):M,T=v?r(v):new Date,z=l(D,T),X=!E||c(D,r(E)),O=x(D);return t.createElement("div",{className:b.date_switcher},t.createElement(f,{disabled:!!v&&!z,onClick:function(){"day"===u&&k(d(p(D,1),h)),"week"===u&&k(d(s(D,1),h))},icon:a}),t.createElement("div",{className:i(b.date_wrap,b[u])},t.createElement(y.Text,{tag:"div",view:"title",color:"secondary",weight:"bold"},"day"===u?d(D,g):d(D,g)+" - "+d(n(D,{days:6}),g))),t.createElement(f,{disabled:!X,onClick:function(){"day"===u&&k(d(n(D,{days:1}),h)),"week"===u&&k(d(n(D,{days:7}),h))},icon:_}),t.createElement(o,{disabled:O,onClick:function(){k(d(new Date,h))},view:"ghost"},C))};export{j as DateSwitcher};
1
+ import*as e from"react";import t from"react";import{C as o}from"../ChevronBackM-f221b96d.js";import a from"classnames";import{Button as r}from"../button/component.js";import{p as i,a as n,s}from"../index-6177f5e3.js";import{f as m}from"../index-ff0ff21f.js";import{e as d,i as p,c,g as l}from"../index-36969ea7.js";import{i as f}from"../index-2fa5f0ff.js";import{IconButton as y}from"../icon-button/component.js";import{Typography as u}from"../typography/component.js";import"../tslib.es6-e419faf4.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-e874f104.js";import"../index-9a229f94.js";import"../index-58997b72.js";import"../typography/text/component.js";import"../colors.module-dee57c29.js";import"../typography/title/index.js";import"../typography/title/component.js";var w=function(){return w=Object.assign||function(e){for(var t,o=1,a=arguments.length;o<a;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},w.apply(this,arguments)};function h(t){return e.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},t),e.createElement("path",{fillRule:"evenodd",d:"M8.125 4.793a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414l6.293-6.293-6.293-6.293a1 1 0 0 1 0-1.414",clipRule:"evenodd"}))}var j={date_switcher:"index-module_date_switcher__-TXru",date_wrap:"index-module_date_wrap__Tzlmm",day:"index-module_day__HX9YV",week:"index-module_week__s9uze"},x="yyyy-MM-dd",v="dd.MM.yy",_=function(e){var w=e.view,_=void 0===w?"day":w,g=e.startDate,b=e.onChange,k=e.minDate,E=e.maxDate,C=e.todayLabel,M=d(i(g)),D="day"===_?i(g):M,O=k?i(k):new Date,T=p(D,O),z=!E||c(D,i(E)),B=f(D);return t.createElement("div",{className:j.date_switcher},t.createElement(y,{disabled:!!k&&!T,onClick:function(){"day"===_&&b(m(l(D,1),x)),"week"===_&&b(m(s(D,1),x))},icon:o}),t.createElement("div",{className:a(j.date_wrap,j[_])},t.createElement(u.Text,{tag:"div",view:"title",color:"secondary",weight:"bold"},"day"===_?m(D,v):m(D,v)+" - "+m(n(D,{days:6}),v))),t.createElement(y,{disabled:!z,onClick:function(){"day"===_&&b(m(n(D,{days:1}),x)),"week"===_&&b(m(n(D,{days:7}),x))},icon:h}),t.createElement(r,{disabled:B,onClick:function(){b(m(new Date,x))},view:"ghost"},C))};export{_ as DateSwitcher};
@@ -1 +1 @@
1
- export{DateSwitcher}from"./component.js";import"react";import"../ChevronBackM-47d9cb6d.js";import"classnames";import"../button/component.js";import"../tslib.es6-c1295375.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../style-inject.es-1f59c1d0.js";import"../index-00def255.js";import"../index-fcfe1262.js";import"../index-8347460a.js";import"../index-acf532e5.js";import"../index-14cb6781.js";import"../index-7cac52e8.js";import"../index-d33b2062.js";import"../icon-button/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";
1
+ export{DateSwitcher}from"./component.js";import"react";import"../ChevronBackM-f221b96d.js";import"classnames";import"../button/component.js";import"../tslib.es6-e419faf4.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-6177f5e3.js";import"../index-36969ea7.js";import"../index-9a229f94.js";import"../index-e874f104.js";import"../index-58997b72.js";import"../index-ff0ff21f.js";import"../index-2fa5f0ff.js";import"../icon-button/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";
@@ -1 +1 @@
1
- import e from"react";import t from"classnames";import{s as i}from"../style-inject.es-1f59c1d0.js";var l="index-module_component__Ixhte",a="index-module_textWrap__bCPEX",o="index-module_title__Gh4bf",d="index-module_description__ZQqtl";i(".index-module_component__Ixhte{display:-webkit-box;display:-ms-flexbox;display:flex;&>:first-child{margin-right:12px}}.index-module_textWrap__bCPEX{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:14px;font-weight:500;padding-bottom:12px}.index-module_title__Gh4bf{-webkit-box-pack:justify;-ms-flex-pack:justify;color:var(--color-text-primary);display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between;line-height:24px;& span{font-weight:700;padding-left:10px;white-space:nowrap}}.index-module_description__ZQqtl{color:var(--color-text-accent);line-height:20px;padding-top:7px}");var n=function(i){var n=i.className,s=i.leftAddon,p=i.title,r=i.rightAddon,x=i.description,m=i.dataTestId;return e.createElement("div",{className:t(l,n),"data-test-id":m},s,e.createElement("div",{className:a},e.createElement("div",{className:o},p,r&&e.createElement("span",null,r)),x&&e.createElement("div",{className:d},x)))};export{n as DecoratedItem};
1
+ import e from"react";import t from"classnames";var a="index-module_component__Ixhte",d="index-module_textWrap__bCPEX",l="index-module_title__Gh4bf",n="index-module_description__ZQqtl",m=function(m){var i=m.className,r=m.leftAddon,s=m.title,c=m.rightAddon,o=m.description,_=m.dataTestId;return e.createElement("div",{className:t(a,i),"data-test-id":_},r,e.createElement("div",{className:d},e.createElement("div",{className:l},s,c&&e.createElement("span",null,c)),o&&e.createElement("div",{className:n},o)))};export{m as DecoratedItem};
@@ -1 +1 @@
1
- export{DecoratedItem}from"./component.js";import"react";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{DecoratedItem}from"./component.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import x from"react";import a from"classnames";import{s as p}from"../style-inject.es-1f59c1d0.js";var r={divider:"index-module_divider__ZKiTt",s:"index-module_s__IublT",horizontal:"index-module_horizontal__KaDB2",m:"index-module_m__HRxzG",l:"index-module_l__Qw-4h",vertical:"index-module_vertical__9k6eu"};p(':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;--divider-color:var(--color-border-secondary)}.index-module_divider__ZKiTt{background:var(--divider-color);margin:0}.index-module_s__IublT{margin:0}.index-module_horizontal__KaDB2{&.index-module_divider__ZKiTt{height:1px;width:100%}&.index-module_m__HRxzG{margin:var(--gap-s) 0}&.index-module_l__Qw-4h{margin:var(--gap-xl) 0}}.index-module_vertical__9k6eu{&.index-module_divider__ZKiTt{-ms-flex-item-align:stretch;align-self:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;width:1px}&.index-module_m__HRxzG{margin:0 var(--gap-s)}&.index-module_l__Qw-4h{margin:0 var(--gap-xl)}}');var g=function(p){var g=p.className,d=p.dataTestId,e=p.view,l=void 0===e?"horizontal":e,i=p.size,s=void 0===i?"s":i;return x.createElement("div",{className:a(r.divider,g,r[s],r[l]),"data-test-id":d})};export{g as Divider};
1
+ import e from"react";import i from"classnames";var d={divider:"index-module_divider__ZKiTt",s:"index-module_s__IublT",horizontal:"index-module_horizontal__KaDB2",m:"index-module_m__HRxzG",l:"index-module_l__Qw-4h",vertical:"index-module_vertical__9k6eu"},a=function(a){var o=a.className,r=a.dataTestId,t=a.view,l=void 0===t?"horizontal":t,_=a.size,m=void 0===_?"s":_;return e.createElement("div",{className:i(d.divider,o,d[m],d[l]),"data-test-id":r})};export{a as Divider};
@@ -1 +1 @@
1
- export{Divider}from"./component.js";import"react";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{Divider}from"./component.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import p from"react";import x from"classnames";import{s as a}from"../style-inject.es-1f59c1d0.js";var r={dot:"index-module_dot__yq5P7",sm:"index-module_sm__VWY0w",md:"index-module_md__j7DRG",green:"index-module_green__XwZ97",orange:"index-module_orange__TT74v",red:"index-module_red__-zhwA",blue:"index-module_blue__ouTHj",grey:"index-module_grey__SLgp5",purple:"index-module_purple__8pLyX",teal:"index-module_teal__5h0IW"};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_dot__yq5P7{border-radius:50%;&.index-module_sm__VWY0w{height:4px;width:4px}&.index-module_md__j7DRG{height:8px;width:8px}&.index-module_green__XwZ97{background:var(--color-bg-positive)}&.index-module_orange__TT74v{background:var(--color-graphic-attention)}&.index-module_red__-zhwA{background:var(--color-graphic-negative)}&.index-module_blue__ouTHj{background:var(--color-bg-accent)}&.index-module_grey__SLgp5{background:var(--color-graphic-secondary)}&.index-module_purple__8pLyX{background:var(--color-status-purple)}&.index-module_teal__5h0IW{background:var(--color-status-teal)}}');var g=function(a){var g=a.color,e=void 0===g?"green":g,d=a.size,o=void 0===d?"sm":d;return p.createElement("div",{className:x([r.dot,r[o],r[e]])})};export{g as Dot};
1
+ import e from"react";import d from"classnames";var _={dot:"index-module_dot__yq5P7",sm:"index-module_sm__VWY0w",md:"index-module_md__j7DRG",green:"index-module_green__XwZ97",orange:"index-module_orange__TT74v",red:"index-module_red__-zhwA",blue:"index-module_blue__ouTHj",grey:"index-module_grey__SLgp5",purple:"index-module_purple__8pLyX",teal:"index-module_teal__5h0IW"},o=function(o){var r=o.color,m=void 0===r?"green":r,l=o.size,n=void 0===l?"sm":l;return e.createElement("div",{className:d([_.dot,_[n],_[m]])})};export{o as Dot};
package/dist/dot/index.js CHANGED
@@ -1 +1 @@
1
- export{Dot}from"./component.js";import"react";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{Dot}from"./component.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import e from"react";import _ from"classnames";import{s as i}from"../style-inject.es-1f59c1d0.js";var n,t={component:"index-module_component__f6FBj",wrap:"index-module_wrap__pji79",align_center:"index-module_align_center__ADi9O",align_start:"index-module_align_start__aicBS",align_end:"index-module_align_end__SD1--",align_stretch:"index-module_align_stretch__DBMhl",justify_center:"index-module_justify_center__enCYa",justify_start:"index-module_justify_start__TRWGZ",justify_end:"index-module_justify_end__7DKqg",justify_between:"index-module_justify_between__rZIJ-",justify_around:"index-module_justify_around__1Y35a",direction_row:"index-module_direction_row__D1fq1",direction_column:"index-module_direction_column__X-Fxm",gap_xxxs:"index-module_gap_xxxs__TC-NP",gap_xxs:"index-module_gap_xxs__8J2WP",gap_xs:"index-module_gap_xs__n5Jht",gap_sm:"index-module_gap_sm__MpYHL",gap_md:"index-module_gap_md__hOPNY",gap_l:"index-module_gap_l__7SmI2",gap_xl:"index-module_gap_xl__gxptO",gap_xxl:"index-module_gap_xxl__0rCIC",marginBottom_xxxs:"index-module_marginBottom_xxxs__mSx42",marginBottom_xxs:"index-module_marginBottom_xxs__H5Lu0",marginBottom_xs:"index-module_marginBottom_xs__NOZn1",marginBottom_sm:"index-module_marginBottom_sm__6su9V",marginBottom_md:"index-module_marginBottom_md__PxIku",marginBottom_l:"index-module_marginBottom_l__I1OS1",marginBottom_xl:"index-module_marginBottom_xl__DQlDH",marginBottom_xxl:"index-module_marginBottom_xxl__-7u1J"};i(".index-module_component__f6FBj{-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}.index-module_wrap__pji79{-ms-flex-wrap:wrap;flex-wrap:wrap}.index-module_align_center__ADi9O{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.index-module_align_start__aicBS{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.index-module_align_end__SD1--{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.index-module_align_stretch__DBMhl{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.index-module_justify_center__enCYa{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.index-module_justify_start__TRWGZ{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.index-module_justify_end__7DKqg{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.index-module_justify_between__rZIJ-{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.index-module_justify_around__1Y35a{-ms-flex-pack:distribute;justify-content:space-around}.index-module_direction_row__D1fq1{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.index-module_direction_column__X-Fxm{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.index-module_gap_xxxs__TC-NP{gap:2px}.index-module_gap_xxs__8J2WP{gap:4px}.index-module_gap_xs__n5Jht{gap:8px}.index-module_gap_sm__MpYHL{gap:12px}.index-module_gap_md__hOPNY{gap:16px}.index-module_gap_l__7SmI2{gap:24px}.index-module_gap_xl__gxptO{gap:32px}.index-module_gap_xxl__0rCIC{gap:48px}.index-module_marginBottom_xxxs__mSx42{padding:2px}.index-module_marginBottom_xxs__H5Lu0{padding:4px}.index-module_marginBottom_xs__NOZn1{padding:8px}.index-module_marginBottom_sm__6su9V{padding:12px}.index-module_marginBottom_md__PxIku{padding:16px}.index-module_marginBottom_l__I1OS1{padding:24px}.index-module_marginBottom_xl__DQlDH{padding:32px}.index-module_marginBottom_xxl__-7u1J{padding:48px}"),function(e){e[e.xxxs=4]="xxxs",e[e.xxs=4]="xxs",e[e.xs=8]="xs",e[e.sm=12]="sm",e[e.md=16]="md",e[e.l=20]="l",e[e.xl=24]="xl",e[e.xxl=32]="xxl"}(n||(n={}));var x=function(i){var n,x=i.children,o=i.className,d=i.gap,m=i.marginBottom,a=i.wrap,l=i.align,s=i.direction,r=void 0===s?"row":s,u=i.justify;return e.createElement("div",{style:{},className:_([o,t.component,(n={},n[t["align_"+l]]=l,n[t.wrap]=a,n[t["justify_"+u]]=u,n[t["direction_"+r]]=r,n[t["gap_"+d]]=d,n[t["marginBottom_"+m]]=m,n)])},x)};export{x as Flex};
1
+ import _ from"react";import e from"classnames";var n,m={component:"index-module_component__f6FBj",wrap:"index-module_wrap__pji79",align_center:"index-module_align_center__ADi9O",align_start:"index-module_align_start__aicBS",align_end:"index-module_align_end__SD1--",align_stretch:"index-module_align_stretch__DBMhl",justify_center:"index-module_justify_center__enCYa",justify_start:"index-module_justify_start__TRWGZ",justify_end:"index-module_justify_end__7DKqg",justify_between:"index-module_justify_between__rZIJ-",justify_around:"index-module_justify_around__1Y35a",direction_row:"index-module_direction_row__D1fq1",direction_column:"index-module_direction_column__X-Fxm",gap_xxxs:"index-module_gap_xxxs__TC-NP",gap_xxs:"index-module_gap_xxs__8J2WP",gap_xs:"index-module_gap_xs__n5Jht",gap_sm:"index-module_gap_sm__MpYHL",gap_md:"index-module_gap_md__hOPNY",gap_l:"index-module_gap_l__7SmI2",gap_xl:"index-module_gap_xl__gxptO",gap_xxl:"index-module_gap_xxl__0rCIC",marginBottom_xxxs:"index-module_marginBottom_xxxs__mSx42",marginBottom_xxs:"index-module_marginBottom_xxs__H5Lu0",marginBottom_xs:"index-module_marginBottom_xs__NOZn1",marginBottom_sm:"index-module_marginBottom_sm__6su9V",marginBottom_md:"index-module_marginBottom_md__PxIku",marginBottom_l:"index-module_marginBottom_l__I1OS1",marginBottom_xl:"index-module_marginBottom_xl__DQlDH",marginBottom_xxl:"index-module_marginBottom_xxl__-7u1J"};!function(_){_[_.xxxs=4]="xxxs",_[_.xxs=4]="xxs",_[_.xs=8]="xs",_[_.sm=12]="sm",_[_.md=16]="md",_[_.l=20]="l",_[_.xl=24]="xl",_[_.xxl=32]="xxl"}(n||(n={}));var o=function(n){var o,i=n.children,x=n.className,t=n.gap,d=n.marginBottom,a=n.wrap,l=n.align,r=n.direction,u=void 0===r?"row":r,s=n.justify;return _.createElement("div",{style:{},className:e([x,m.component,(o={},o[m["align_"+l]]=l,o[m.wrap]=a,o[m["justify_"+s]]=s,o[m["direction_"+u]]=u,o[m["gap_"+t]]=t,o[m["marginBottom_"+d]]=d,o)])},i)};export{o as Flex};
@@ -1 +1 @@
1
- export{Flex}from"./component.js";import"react";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{Flex}from"./component.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import e from"react";import r from"classnames";import{s as i}from"../style-inject.es-1f59c1d0.js";var a="index-module_flexColumns__aTLJX";i(".index-module_flexColumns__aTLJX{display:grid;width:100%;&>*{min-width:100%!important}}");var m=function(i){var m=i.children,o=i.columns,l=void 0===o?3:o,s=i.gr,t=void 0===s?20:s,d=i.gc,n=void 0===d?20:d,p=i.className;return e.createElement("div",{className:r(a,p),style:{gridTemplateColumns:"1fr ".repeat(l),gridRowGap:t+"px",gridColumnGap:n+"px"}},m)};export{m as FlexColumns};
1
+ import e from"react";import r from"classnames";var a="index-module_flexColumns__aTLJX",o=function(o){var m=o.children,l=o.columns,i=void 0===l?3:l,n=o.gr,s=void 0===n?20:n,t=o.gc,d=void 0===t?20:t,c=o.className;return e.createElement("div",{className:r(a,c),style:{gridTemplateColumns:"1fr ".repeat(i),gridRowGap:s+"px",gridColumnGap:d+"px"}},m)};export{o as FlexColumns};
@@ -1 +1 @@
1
- export{FlexColumns}from"./component.js";import"react";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{FlexColumns}from"./component.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import{a as e}from"../tslib.es6-c1295375.js";import*as t from"react";import r from"react";import{Grid as n}from"../grid/component.js";import{IconButton as a}from"../icon-button/component.js";import{SectionWrapper as l}from"../section-wrapper/component.js";import{s as o,C as c}from"../contact-block-ffd5adcd.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-63c85344.js";import"../style-inject.es-1f59c1d0.js";import"../grid/row/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)};function m(e){return t.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{d:"m6.284 20.465.925-1.586H4.05l-.12.21-.083.166a1.364 1.364 0 0 0 2.438 1.21M17.469 14.788 14.344 9.37l-1.584 2.713 4.833 8.377.103.154a1.364 1.364 0 0 0 2.259-1.517l-.913-1.582 1.591.002.185-.012a1.364 1.364 0 0 0 1.179-1.352l-.013-.185a1.364 1.364 0 0 0-1.35-1.178z"}),t.createElement("path",{d:"M14.862 5.756a1.364 1.364 0 0 0-2.437-1.21l-.438.744-.424-.738-.103-.154a1.364 1.364 0 0 0-1.76-.345l-.153.103a1.364 1.364 0 0 0-.346 1.76L10.405 8 6.44 14.79H3.36l-.185.012a1.364 1.364 0 0 0 .185 2.715H14.32l-1.573-2.728-3.148-.001 5.182-8.866z"}))}var s=function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},s.apply(this,arguments)};function p(e){return t.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{d:"M13.452 9.378v-2.5c0-.69.653-1.25 1.458-1.25h1.458V2.503h-2.916c-2.417 0-4.375 1.678-4.375 3.75v3.125H6.16v3.125h2.917v10h4.375v-10h2.916l1.459-3.125z"}))}var u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},u.apply(this,arguments)};function v(e){return t.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{d:"M6.17 2.757a1.56 1.56 0 0 0-1.57-.08l8.472 9 2.77-2.95zm-2.349.754c-.107.24-.164.506-.164.78v16.461c0 .276.058.539.166.774l8.469-9.019zm9.252 9.826-8.459 9.007c.225.11.464.159.702.159.295 0 .588-.075.854-.245l9.674-5.978zM19.526 11l-.01-.007-2.686-1.657-2.977 3.17 2.979 3.164 2.694-1.665c.5-.321.797-.883.797-1.503s-.298-1.18-.797-1.502"}))}var h=function(){return h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},h.apply(this,arguments)};function d(e){return t.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{fillRule:"evenodd",d:"M11.997 7.503a5 5 0 1 0 0 10 5 5 0 0 0 0-10m0 8.125a3.13 3.13 0 0 1-3.125-3.125 3.13 3.13 0 0 1 3.125-3.125 3.13 3.13 0 0 1 3.125 3.125 3.13 3.13 0 0 1-3.125 3.125",clipRule:"evenodd"}),t.createElement("path",{d:"M18.037 7.128a.666.666 0 1 1-1.332 0 .666.666 0 0 1 1.332 0"}),t.createElement("path",{fillRule:"evenodd",d:"M15.747 2.503h-7.5a6.25 6.25 0 0 0-6.25 6.25v7.5a6.25 6.25 0 0 0 6.25 6.25h7.5a6.25 6.25 0 0 0 6.25-6.25v-7.5a6.25 6.25 0 0 0-6.25-6.25m4.375 13.75a4.38 4.38 0 0 1-4.375 4.375h-7.5a4.38 4.38 0 0 1-4.375-4.375v-7.5a4.38 4.38 0 0 1 4.375-4.375h7.5a4.38 4.38 0 0 1 4.375 4.375z",clipRule:"evenodd"}))}var f=function(){return f=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},f.apply(this,arguments)};function w(e){return t.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{fillRule:"evenodd",d:"M5.57 5.494a3.87 3.87 0 0 0-3.573 3.86v6.292a3.87 3.87 0 0 0 3.573 3.86l1.784.136h9.286l1.783-.137a3.87 3.87 0 0 0 3.574-3.859V9.353a3.87 3.87 0 0 0-3.574-3.859l-1.783-.137H7.354zm9.857 6.625-5.51 2.923V9.254z",clipRule:"evenodd"}))}var g=function(t){var i=t.sections,s=void 0===i?[]:i,u=t.contacts,h=void 0===u?[]:u,f=t.company,g=t.email,E=t.address,b=t.facebookLink,j=t.instagramLink,y=t.youtubeLink,x=t.appText,k=t.google,O=t.appstore,N=b||j||y,z=x&&O&&k;return r.createElement(l,{pb:"m",pt:"l",isBlackBg:!0},r.createElement("div",{className:o.wrapper},r.createElement("div",{className:o.row_wrapper},r.createElement(n.Row,null,r.createElement(r.Fragment,null,s.map((function(e){return r.createElement(n.Col,{key:e.title,width:{desktop:2,mobile:12}},r.createElement("div",{className:o.block},r.createElement("span",{className:o.title},e.title),e.items.map((function(e){return r.createElement("a",{key:e.text,className:o.link,href:e.link},e.text)}))))})),r.createElement(n.Col,{key:"cont",width:{desktop:2,mobile:12}},r.createElement("div",{className:o.contacts},h.map((function(e){return r.createElement(c,{key:e.title,title:e.title,value:e.value})})),g&&r.createElement("div",{className:o.email},g),r.createElement("br",null),E&&r.createElement("div",{className:o.text},E),r.createElement("br",null),f&&r.createElement("div",{className:o.text},f),r.createElement("br",null),N&&r.createElement("div",{className:o.buttons},b&&r.createElement(a,e({},{href:b},{icon:p})),y&&r.createElement(a,e({},{href:y},{icon:w})),j&&r.createElement(a,e({},{href:j},{icon:d}))))))))),r.createElement("div",{className:o.bottomBlock},z&&r.createElement(r.Fragment,null,r.createElement("div",{className:o.text},x),r.createElement("div",{className:o.buttons},O&&r.createElement(a,e({},{href:O},{icon:m})),k&&r.createElement(a,e({},{href:k},{icon:v}))))))};export{g as Footer};
1
+ import{a as e}from"../tslib.es6-e419faf4.js";import*as t from"react";import r from"react";import{Grid as n}from"../grid/component.js";import{IconButton as a}from"../icon-button/component.js";import{SectionWrapper as l}from"../section-wrapper/component.js";import{s as o,C as c}from"../contact-block-813441b9.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-1e0c1369.js";import"../grid/row/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)};function m(e){return t.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{d:"m6.284 20.465.925-1.586H4.05l-.12.21-.083.166a1.364 1.364 0 0 0 2.438 1.21M17.469 14.788 14.344 9.37l-1.584 2.713 4.833 8.377.103.154a1.364 1.364 0 0 0 2.259-1.517l-.913-1.582 1.591.002.185-.012a1.364 1.364 0 0 0 1.179-1.352l-.013-.185a1.364 1.364 0 0 0-1.35-1.178z"}),t.createElement("path",{d:"M14.862 5.756a1.364 1.364 0 0 0-2.437-1.21l-.438.744-.424-.738-.103-.154a1.364 1.364 0 0 0-1.76-.345l-.153.103a1.364 1.364 0 0 0-.346 1.76L10.405 8 6.44 14.79H3.36l-.185.012a1.364 1.364 0 0 0 .185 2.715H14.32l-1.573-2.728-3.148-.001 5.182-8.866z"}))}var s=function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},s.apply(this,arguments)};function p(e){return t.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{d:"M13.452 9.378v-2.5c0-.69.653-1.25 1.458-1.25h1.458V2.503h-2.916c-2.417 0-4.375 1.678-4.375 3.75v3.125H6.16v3.125h2.917v10h4.375v-10h2.916l1.459-3.125z"}))}var u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},u.apply(this,arguments)};function v(e){return t.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{d:"M6.17 2.757a1.56 1.56 0 0 0-1.57-.08l8.472 9 2.77-2.95zm-2.349.754c-.107.24-.164.506-.164.78v16.461c0 .276.058.539.166.774l8.469-9.019zm9.252 9.826-8.459 9.007c.225.11.464.159.702.159.295 0 .588-.075.854-.245l9.674-5.978zM19.526 11l-.01-.007-2.686-1.657-2.977 3.17 2.979 3.164 2.694-1.665c.5-.321.797-.883.797-1.503s-.298-1.18-.797-1.502"}))}var h=function(){return h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},h.apply(this,arguments)};function f(e){return t.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{fillRule:"evenodd",d:"M11.997 7.503a5 5 0 1 0 0 10 5 5 0 0 0 0-10m0 8.125a3.13 3.13 0 0 1-3.125-3.125 3.13 3.13 0 0 1 3.125-3.125 3.13 3.13 0 0 1 3.125 3.125 3.13 3.13 0 0 1-3.125 3.125",clipRule:"evenodd"}),t.createElement("path",{d:"M18.037 7.128a.666.666 0 1 1-1.332 0 .666.666 0 0 1 1.332 0"}),t.createElement("path",{fillRule:"evenodd",d:"M15.747 2.503h-7.5a6.25 6.25 0 0 0-6.25 6.25v7.5a6.25 6.25 0 0 0 6.25 6.25h7.5a6.25 6.25 0 0 0 6.25-6.25v-7.5a6.25 6.25 0 0 0-6.25-6.25m4.375 13.75a4.38 4.38 0 0 1-4.375 4.375h-7.5a4.38 4.38 0 0 1-4.375-4.375v-7.5a4.38 4.38 0 0 1 4.375-4.375h7.5a4.38 4.38 0 0 1 4.375 4.375z",clipRule:"evenodd"}))}var d=function(){return d=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},d.apply(this,arguments)};function w(e){return t.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"currentColor",viewBox:"0 0 24 25"},e),t.createElement("path",{fillRule:"evenodd",d:"M5.57 5.494a3.87 3.87 0 0 0-3.573 3.86v6.292a3.87 3.87 0 0 0 3.573 3.86l1.784.136h9.286l1.783-.137a3.87 3.87 0 0 0 3.574-3.859V9.353a3.87 3.87 0 0 0-3.574-3.859l-1.783-.137H7.354zm9.857 6.625-5.51 2.923V9.254z",clipRule:"evenodd"}))}var g=function(t){var i=t.sections,s=void 0===i?[]:i,u=t.contacts,h=void 0===u?[]:u,d=t.company,g=t.email,E=t.address,b=t.facebookLink,j=t.instagramLink,y=t.youtubeLink,x=t.appText,k=t.google,O=t.appstore,N=b||j||y,z=x&&O&&k;return r.createElement(l,{pb:"m",pt:"l",isBlackBg:!0},r.createElement("div",{className:o.wrapper},r.createElement("div",{className:o.row_wrapper},r.createElement(n.Row,null,r.createElement(r.Fragment,null,s.map((function(e){return r.createElement(n.Col,{key:e.title,width:{desktop:2,mobile:12}},r.createElement("div",{className:o.block},r.createElement("span",{className:o.title},e.title),e.items.map((function(e){return r.createElement("a",{key:e.text,className:o.link,href:e.link},e.text)}))))})),r.createElement(n.Col,{key:"cont",width:{desktop:2,mobile:12}},r.createElement("div",{className:o.contacts},h.map((function(e){return r.createElement(c,{key:e.title,title:e.title,value:e.value})})),g&&r.createElement("div",{className:o.email},g),r.createElement("br",null),E&&r.createElement("div",{className:o.text},E),r.createElement("br",null),d&&r.createElement("div",{className:o.text},d),r.createElement("br",null),N&&r.createElement("div",{className:o.buttons},b&&r.createElement(a,e({},{href:b},{icon:p})),y&&r.createElement(a,e({},{href:y},{icon:w})),j&&r.createElement(a,e({},{href:j},{icon:f}))))))))),r.createElement("div",{className:o.bottomBlock},z&&r.createElement(r.Fragment,null,r.createElement("div",{className:o.text},x),r.createElement("div",{className:o.buttons},O&&r.createElement(a,e({},{href:O},{icon:m})),k&&r.createElement(a,e({},{href:k},{icon:v}))))))};export{g as Footer};
@@ -1 +1 @@
1
- import"react";export{C as ContactBlock}from"../contact-block-ffd5adcd.js";import"../style-inject.es-1f59c1d0.js";
1
+ import"react";export{C as ContactBlock}from"../contact-block-813441b9.js";
@@ -1 +1 @@
1
- export{Footer}from"./component.js";import"../tslib.es6-c1295375.js";import"react";import"../grid/component.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-63c85344.js";import"../style-inject.es-1f59c1d0.js";import"../grid/row/component.js";import"../icon-button/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../section-wrapper/component.js";import"../contact-block-ffd5adcd.js";
1
+ export{Footer}from"./component.js";import"../tslib.es6-e419faf4.js";import"react";import"../grid/component.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-1e0c1369.js";import"../grid/row/component.js";import"../icon-button/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../section-wrapper/component.js";import"../contact-block-813441b9.js";
@@ -1 +1 @@
1
- import e from"react";import{Button as t}from"../button/component.js";import{FlexColumns as o}from"../flex-columns/component.js";import{Input as r}from"../input/component.js";import{ModalContext as n}from"../modal/context.js";import{showSuccess as m,showError as i}from"../utils/show-toast/index.js";import{RestForm as s}from"./templates/rest-form/index.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"../form-control/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../modal/components/modals/index.js";import"../modal/components/modals/modal.js";import"../CloseS-c17ee568.js";import"../modal/hooks/use-modal.js";import"uuid";import"../modal/utils/delete-property-by-id.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-10f50b3f.js";import"../ClockCircleM-9cbd1915.js";import"../toast-notifier/use-timer.js";import"../index-54cfd58f.js";import"../index-f96da3a0.js";import"../_commonjsHelpers-97e6d7b1.js";import"./components/form-loading/index.js";import"../skeleton/component.js";import"../index.module-2888c6f3.js";import"./components/form-outer/index.js";import"./templates/rest-form/form.js";import"../TrashM-504e1b6e.js";import"../icon-button/component.js";import"../list-allert/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"../sidepanel-header/component.js";import"./components/form-footer/index.js";import"./components/form-updating/index.js";var a={baz:"",bar:""},u={buz:"",bur:""},c=function(t){var n=e.useState(!0),a=n[0],c=n[1],l=e.useState(!1),p=l[0],d=l[1],f=e.useState(!1),j=f[0],b=f[1];e.useEffect((function(){setTimeout((function(){return c(!1)}),500)}),[]);return e.createElement(s,{recordId:827368276387,initialValues:u,customValidationFields:["bur"],save:function(){return new Promise((function(e){d(!0),setTimeout((function(){e(),d(!1),m("","Saved")}),3e3)}))},remove:function(){return new Promise((function(e){b(!0),setTimeout((function(){e(),b(!1),i("Some error from server","Error")}),3e3)}))},title:"custom title other",loading:a,submitButtonText:"submit",updating:p,removing:j,close:null==t?void 0:t.close,t:function(e){return e}},(function(t){var n=t.values,m=t.touched,i=t.errors,s=t.handleChange;return e.createElement(o,{columns:1,gr:16,gc:0},e.createElement(r,{label:"buz",value:n.buz,onChange:s("buz"),error:m.buz&&i.buz}),e.createElement(r,{label:"bur",value:n.bur,onChange:s("bur"),error:m.bur&&i.bur}))}))},l=function(u){var l=e.useState(!0),p=l[0],d=l[1],f=e.useState(!1),j=f[0],b=f[1],g=e.useState(!1),v=g[0],h=g[1],x=(0,e.useContext(n).openModal)(c);e.useEffect((function(){setTimeout((function(){return d(!1)}),500)}),[]);return e.createElement(s,{recordId:8273682763,initialValues:a,customValidationFields:["bar"],save:function(){return new Promise((function(e){b(!0),setTimeout((function(){e(),b(!1),m("","Saved")}),3e3)}))},remove:function(){return new Promise((function(e){h(!0),setTimeout((function(){e(),h(!1),i("Some error from server","Error")}),3e3)}))},title:"custom title",loading:p,submitButtonText:"csdcds",updating:j,removing:v,close:null==u?void 0:u.close,t:function(e){return e}},(function(n){var m=n.values,i=n.touched,s=n.errors,a=n.handleChange;return e.createElement(o,{columns:1,gr:16,gc:0},e.createElement(r,{label:"baz",value:m.baz,onChange:a("baz"),error:i.baz&&s.baz}),e.createElement(r,{label:"bar",value:m.bar,onChange:a("bar"),error:i.bar&&s.bar}),e.createElement(t,{onClick:x},"openCrudModalOther"))}))},p=function(){var o=(0,e.useContext(n).openModal)(l);return e.createElement(e.Fragment,null,e.createElement(t,{onClick:o},"open crud modal"))};export{p as Component};
1
+ import e from"react";import{Button as o}from"../button/component.js";import{FlexColumns as t}from"../flex-columns/component.js";import{Input as r}from"../input/component.js";import{ModalContext as n}from"../modal/context.js";import{showSuccess as m,showError as i}from"../utils/show-toast/index.js";import{RestForm as s}from"./templates/rest-form/index.js";import"../tslib.es6-e419faf4.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../modal/components/modals/index.js";import"../modal/components/modals/modal.js";import"../modal/hooks/use-modal.js";import"uuid";import"../modal/utils/delete-property-by-id.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CheckmarkCircleM-ab70fc95.js";import"../ClockCircleM-4239c494.js";import"../CloseS-c67b27a4.js";import"../toast-notifier/use-timer.js";import"../index-200440e1.js";import"../index-eef797c6.js";import"../_commonjsHelpers-df4d639f.js";import"./components/form-loading/index.js";import"../skeleton/component.js";import"./components/form-outer/index.js";import"./templates/rest-form/form.js";import"../TrashM-d4062058.js";import"../icon-button/component.js";import"../list-allert/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"../sidepanel-header/component.js";import"./components/form-footer/index.js";import"./components/form-updating/index.js";var a={baz:"",bar:""},u={buz:"",bur:""},c=function(o){var n=e.useState(!0),a=n[0],c=n[1],l=e.useState(!1),p=l[0],d=l[1],f=e.useState(!1),j=f[0],b=f[1];e.useEffect((function(){setTimeout((function(){return c(!1)}),500)}),[]);return e.createElement(s,{recordId:827368276387,initialValues:u,customValidationFields:["bur"],save:function(){return new Promise((function(e){d(!0),setTimeout((function(){e(),d(!1),m("","Saved")}),3e3)}))},remove:function(){return new Promise((function(e){b(!0),setTimeout((function(){e(),b(!1),i("Some error from server","Error")}),3e3)}))},title:"custom title other",loading:a,submitButtonText:"submit",updating:p,removing:j,close:null==o?void 0:o.close,t:function(e){return e}},(function(o){var n=o.values,m=o.touched,i=o.errors,s=o.handleChange;return e.createElement(t,{columns:1,gr:16,gc:0},e.createElement(r,{label:"buz",value:n.buz,onChange:s("buz"),error:m.buz&&i.buz}),e.createElement(r,{label:"bur",value:n.bur,onChange:s("bur"),error:m.bur&&i.bur}))}))},l=function(u){var l=e.useState(!0),p=l[0],d=l[1],f=e.useState(!1),j=f[0],b=f[1],g=e.useState(!1),v=g[0],h=g[1],x=(0,e.useContext(n).openModal)(c);e.useEffect((function(){setTimeout((function(){return d(!1)}),500)}),[]);return e.createElement(s,{recordId:8273682763,initialValues:a,customValidationFields:["bar"],save:function(){return new Promise((function(e){b(!0),setTimeout((function(){e(),b(!1),m("","Saved")}),3e3)}))},remove:function(){return new Promise((function(e){h(!0),setTimeout((function(){e(),h(!1),i("Some error from server","Error")}),3e3)}))},title:"custom title",loading:p,submitButtonText:"csdcds",updating:j,removing:v,close:null==u?void 0:u.close,t:function(e){return e}},(function(n){var m=n.values,i=n.touched,s=n.errors,a=n.handleChange;return e.createElement(t,{columns:1,gr:16,gc:0},e.createElement(r,{label:"baz",value:m.baz,onChange:a("baz"),error:i.baz&&s.baz}),e.createElement(r,{label:"bar",value:m.bar,onChange:a("bar"),error:i.bar&&s.bar}),e.createElement(o,{onClick:x},"openCrudModalOther"))}))},p=function(){var t=(0,e.useContext(n).openModal)(l);return e.createElement(e.Fragment,null,e.createElement(o,{onClick:t},"open crud modal"))};export{p as Component};
@@ -1 +1 @@
1
- import e,{useRef as o,useEffect as t}from"react";import{Button as r}from"../../../button/component.js";import{s as i}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";var n="index-module_component__ijVOx";i(".index-module_component__ijVOx{-webkit-backdrop-filter:saturate(200%) blur(20px);backdrop-filter:saturate(200%) blur(6px);background:var(--color-glass-footer);border-top:1px solid var(--color-border-secondary);bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;padding:24px 32px;position:absolute;width:100%;z-index:80}.index-module_component__ijVOx button:first-child:not(:only-child){margin-right:20px}");var a=function(i){var a=i.submitButtonText,s=void 0===a?"save":a,l=i.customFooter,d=i.submit,c=i.close,m=i.children,u=i.loading,p=i.disabled,b=i.t,x=o(null);return t((function(){var e;null===(e=null==x?void 0:x.current)||void 0===e||e.focus()}),[x]),e.createElement("div",{className:n},l||e.createElement(e.Fragment,null,e.createElement(r,{view:"primary",size:"xs",loading:u,disabled:p,dataTestId:"buttonSave",onClick:function(){return d()},ref:x},b(s)),e.createElement(r,{view:"secondary",size:"xs",dataTestId:"buttonCancel",onClick:c},b("cancel")),m))};export{a as FormFooter};
1
+ import e,{useRef as t,useEffect as o}from"react";import{Button as n}from"../../../button/component.js";import"../../../tslib.es6-e419faf4.js";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var r="index-module_component__ijVOx",i=function(i){var a=i.submitButtonText,s=void 0===a?"save":a,l=i.customFooter,c=i.submit,m=i.close,u=i.children,d=i.loading,p=i.disabled,v=i.t,f=t(null);return o((function(){var e;null===(e=null==f?void 0:f.current)||void 0===e||e.focus()}),[f]),e.createElement("div",{className:r},l||e.createElement(e.Fragment,null,e.createElement(n,{view:"primary",size:"xs",loading:d,disabled:p,dataTestId:"buttonSave",onClick:function(){return c()},ref:f},v(s)),e.createElement(n,{view:"secondary",size:"xs",dataTestId:"buttonCancel",onClick:m},v("cancel")),u))};export{i as FormFooter};
@@ -1 +1 @@
1
- import e from"react";import{FlexColumns as t}from"../../../flex-columns/component.js";import{Skeleton as i}from"../../../skeleton/component.js";import{FormOuter as l}from"../form-outer/index.js";import{a as n}from"../../../index-54cfd58f.js";import{s as m}from"../../../style-inject.es-1f59c1d0.js";import"classnames";import"../../../index.module-2888c6f3.js";import"../../../index-f96da3a0.js";import"../../../_commonjsHelpers-97e6d7b1.js";var a="index-module_header__UtYpF",s="index-module_title__mrNu8",o="index-module_addon__-bw-y",r="index-module_input__MEN8P",d="index-module_buttons__PtGvG",c="index-module_button__hWCWD";m(".index-module_header__UtYpF{-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;padding:var(--gap-2xl)}.index-module_title__mrNu8{height:32px;width:130px}.index-module_addon__-bw-y{height:32px;width:32px}.index-module_input__MEN8P{height:60px;margin-bottom:16px;min-height:60px;width:100%}.index-module_buttons__PtGvG{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:24px 32px 32px}.index-module_button__hWCWD{height:32px;margin-right:20px;width:100px}");var x=function(){return e.createElement(t,{columns:1,gr:16},e.createElement(i,{visible:!0,className:r}),e.createElement(i,{visible:!0,className:r}),e.createElement(i,{visible:!0,className:r}),e.createElement(i,{visible:!0,className:r}),e.createElement(i,{visible:!0,className:r}))},p=function(){return e.createElement(l,null,e.createElement("div",{className:a},e.createElement(i,{visible:!0,className:s}),e.createElement(i,{visible:!0,className:o})),e.createElement(n,null,e.createElement(x,null)),e.createElement("div",{className:d},e.createElement(i,{visible:!0,className:c}),e.createElement(i,{visible:!0,className:c})))};export{p as FormLoading,x as FormLoadingCompact};
1
+ import e from"react";import{FlexColumns as t}from"../../../flex-columns/component.js";import{Skeleton as l}from"../../../skeleton/component.js";import{FormOuter as m}from"../form-outer/index.js";import{a as s}from"../../../index-200440e1.js";import"classnames";import"../../../index-eef797c6.js";import"../../../_commonjsHelpers-df4d639f.js";var n="index-module_header__UtYpF",a="index-module_title__mrNu8",i="index-module_addon__-bw-y",r="index-module_input__MEN8P",c="index-module_buttons__PtGvG",o="index-module_button__hWCWD",d=function(){return e.createElement(t,{columns:1,gr:16},e.createElement(l,{visible:!0,className:r}),e.createElement(l,{visible:!0,className:r}),e.createElement(l,{visible:!0,className:r}),e.createElement(l,{visible:!0,className:r}),e.createElement(l,{visible:!0,className:r}))},u=function(){return e.createElement(m,null,e.createElement("div",{className:n},e.createElement(l,{visible:!0,className:a}),e.createElement(l,{visible:!0,className:i})),e.createElement(s,null,e.createElement(d,null)),e.createElement("div",{className:c},e.createElement(l,{visible:!0,className:o}),e.createElement(l,{visible:!0,className:o})))};export{u as FormLoading,d as FormLoadingCompact};
@@ -1 +1 @@
1
- import e from"react";import{s as i}from"../../../style-inject.es-1f59c1d0.js";var o="index-module_component__qdG0L";i(".index-module_component__qdG0L{-webkit-box-orient:vertical;-webkit-box-direction:normal;-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:100%;overflow:hidden;position:relative;width:100%}");var r=function(i){var r=i.children;return e.createElement("div",{className:o},r)};export{r as FormOuter};
1
+ import e from"react";var r="index-module_component__qdG0L",n=function(n){var t=n.children;return e.createElement("div",{className:r},t)};export{n as FormOuter};
@@ -1 +1 @@
1
- import e from"react";import{Loader as t}from"../../../loader/component.js";import{s as o}from"../../../style-inject.es-1f59c1d0.js";import"classnames";var i="index-module_updating__46RW-",a="index-module_bg__hsJ1J",n="index-module_loader__uNOaT";o(".index-module_updating__46RW-{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:81}.index-module_bg__hsJ1J{background:var(--color-bg-thirdly);bottom:0;left:0;opacity:.8;position:absolute;right:0;top:0;z-index:1}.index-module_loader__uNOaT{color:var(--color-graphic-accent);position:relative;z-index:2}");var l=function(){return e.createElement("div",{className:i},e.createElement("div",{className:a}),e.createElement(t,{className:n}))};export{l as FormUpdating};
1
+ import e from"react";import{Loader as a}from"../../../loader/component.js";import"classnames";var m="index-module_updating__46RW-",r="index-module_bg__hsJ1J",t="index-module_loader__uNOaT",o=function(){return e.createElement("div",{className:m},e.createElement("div",{className:r}),e.createElement(a,{className:t}))};export{o as FormUpdating};
@@ -1 +1 @@
1
- import"react";export{a as FormWrapper}from"../../../index-54cfd58f.js";import"../../../index-f96da3a0.js";import"../../../_commonjsHelpers-97e6d7b1.js";import"../../../style-inject.es-1f59c1d0.js";
1
+ import"react";export{a as FormWrapper}from"../../../index-200440e1.js";import"../../../index-eef797c6.js";import"../../../_commonjsHelpers-df4d639f.js";
@@ -1,7 +1,7 @@
1
1
  import { FormFooter } from "./form-footer/index";
2
2
  import { FormLoading } from "./form-loading/index";
3
3
  import { FormUpdating } from "./form-updating/index";
4
- import { FormWrapper } from "../../index-54cfd58f";
4
+ import { FormWrapper } from "../../index-200440e1";
5
5
  type FormProps = {
6
6
  Footer: typeof FormFooter;
7
7
  Wrapper: typeof FormWrapper;
@@ -1 +1 @@
1
- import{FormFooter as o}from"./form-footer/index.js";import{FormLoading as r}from"./form-loading/index.js";import{FormUpdating as e}from"./form-updating/index.js";import{a as m}from"../../index-54cfd58f.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-columns/component.js";import"../../skeleton/component.js";import"../../index.module-2888c6f3.js";import"./form-outer/index.js";import"../../index-f96da3a0.js";import"../../_commonjsHelpers-97e6d7b1.js";var t={Footer:o,Wrapper:m,Updating:e,Loading:r};export{t as Form};
1
+ import{FormFooter as o}from"./form-footer/index.js";import{FormLoading as r}from"./form-loading/index.js";import{FormUpdating as e}from"./form-updating/index.js";import{a as m}from"../../index-200440e1.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-columns/component.js";import"../../skeleton/component.js";import"./form-outer/index.js";import"../../index-eef797c6.js";import"../../_commonjsHelpers-df4d639f.js";var t={Footer:o,Wrapper:m,Updating:e,Loading:r};export{t as Form};
@@ -1 +1 @@
1
- export{FiltersForm}from"./templates/filters-form/index.js";export{Form}from"./components/index.js";import"react";import"../index-54cfd58f.js";import"../index-f96da3a0.js";import"../_commonjsHelpers-97e6d7b1.js";import"../style-inject.es-1f59c1d0.js";import"../sidepanel-header/component.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";import"./components/form-footer/index.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"./components/form-outer/index.js";import"./utils/get-default-values.js";import"./components/form-loading/index.js";import"../flex-columns/component.js";import"../skeleton/component.js";import"../index.module-2888c6f3.js";import"./components/form-updating/index.js";
1
+ export{FiltersForm}from"./templates/filters-form/index.js";export{Form}from"./components/index.js";import"react";import"../index-200440e1.js";import"../index-eef797c6.js";import"../_commonjsHelpers-df4d639f.js";import"../sidepanel-header/component.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";import"./components/form-footer/index.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"./components/form-outer/index.js";import"./utils/get-default-values.js";import"./components/form-loading/index.js";import"../flex-columns/component.js";import"../skeleton/component.js";import"./components/form-updating/index.js";
@@ -1 +1 @@
1
- import{a as e}from"../../../tslib.es6-c1295375.js";import i from"react";import{F as t}from"../../../index-54cfd58f.js";import{FormLoadingCompact as o}from"../../components/form-loading/index.js";import"../../../index-f96da3a0.js";import"../../../_commonjsHelpers-97e6d7b1.js";import"../../../style-inject.es-1f59c1d0.js";import"../../../flex-columns/component.js";import"classnames";import"../../../skeleton/component.js";import"../../../index.module-2888c6f3.js";import"../../components/form-outer/index.js";function n(n){var r=n.loading,a=n.validate,m=n.customValidationFields,s=n.initialValues,l=n.enableReinitialize,c=n.save,d=n.children,p=n.t;if(r)return i.createElement(o,null);var u,f,j;return i.createElement(t,{validate:(u=a,f=m,u||(f?(j=f,function(e){return j.reduce((function(i,t){return("object"==typeof e?e:{})[t]||(i[t]=p("validationErrors:Required")),i}),{})}):void 0)),initialValues:s,enableReinitialize:l,onSubmit:c},(function(i){return d(e({},i))}))}export{n as BaseForm};
1
+ import{a as e}from"../../../tslib.es6-e419faf4.js";import i from"react";import{F as t}from"../../../index-200440e1.js";import{FormLoadingCompact as n}from"../../components/form-loading/index.js";import"../../../index-eef797c6.js";import"../../../_commonjsHelpers-df4d639f.js";import"../../../flex-columns/component.js";import"classnames";import"../../../skeleton/component.js";import"../../components/form-outer/index.js";function o(o){var r=o.loading,a=o.validate,m=o.customValidationFields,s=o.initialValues,l=o.enableReinitialize,c=o.save,f=o.children,u=o.t;if(r)return i.createElement(n,null);var d,p,j;return i.createElement(t,{validate:(d=a,p=m,d||(p?(j=p,function(e){return j.reduce((function(i,t){return("object"==typeof e?e:{})[t]||(i[t]=u("validationErrors:Required")),i}),{})}):void 0)),initialValues:s,enableReinitialize:l,onSubmit:c},(function(i){return f(e({},i))}))}export{o as BaseForm};
@@ -1 +1 @@
1
- import t from"react";import{F as e,a as o}from"../../../index-54cfd58f.js";import{SidepanelHeader as r}from"../../../sidepanel-header/component.js";import{FormFooter as m}from"../../components/form-footer/index.js";import{FormOuter as i}from"../../components/form-outer/index.js";import{getDefaultValues as n}from"../../utils/get-default-values.js";import"../../../index-f96da3a0.js";import"../../../_commonjsHelpers-97e6d7b1.js";import"../../../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";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var s=function(s){var p=s.initialValues,l=s.defaultValues,a=s.children,c=s.submitCallback,u=s.close,d=s.t,f=n(p,l);return t.createElement(e,{initialValues:f,onSubmit:function(t){c(t),u()}},(function(e){return t.createElement(i,null,t.createElement(r,{title:d("filters"),border:!1}),t.createElement(o,null,a(e)),t.createElement(m,{t:d,submit:e.handleSubmit,close:u}))}))};export{s as FiltersForm};
1
+ import e from"react";import{F as t,a as o}from"../../../index-200440e1.js";import{SidepanelHeader as r}from"../../../sidepanel-header/component.js";import{FormFooter as m}from"../../components/form-footer/index.js";import{FormOuter as i}from"../../components/form-outer/index.js";import{getDefaultValues as n}from"../../utils/get-default-values.js";import"../../../index-eef797c6.js";import"../../../_commonjsHelpers-df4d639f.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";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var s=function(s){var p=s.initialValues,l=s.defaultValues,a=s.children,c=s.submitCallback,u=s.close,f=s.t,d=n(p,l);return e.createElement(t,{initialValues:d,onSubmit:function(e){c(e),u()}},(function(t){return e.createElement(i,null,e.createElement(r,{title:f("filters"),border:!1}),e.createElement(o,null,a(t)),e.createElement(m,{t:f,submit:t.handleSubmit,close:u}))}))};export{s as FiltersForm};
@@ -1 +1 @@
1
- import{_ as e,a as o}from"../../../tslib.es6-c1295375.js";import t,{useContext as r,useState as i,useCallback as n,useEffect as m}from"react";import{T as d}from"../../../TrashM-504e1b6e.js";import{FlexColumns as s}from"../../../flex-columns/component.js";import{IconButton as a}from"../../../icon-button/component.js";import{ListAllert as l}from"../../../list-allert/component.js";import{ModalContext as c}from"../../../modal/context.js";import{SidepanelHeader as p}from"../../../sidepanel-header/component.js";import{FormFooter as u}from"../../components/form-footer/index.js";import{FormOuter as f}from"../../components/form-outer/index.js";import{FormUpdating as x}from"../../components/form-updating/index.js";import{a as b}from"../../../index-54cfd58f.js";import{s as j}from"../../../style-inject.es-1f59c1d0.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-bcab070d.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../modal/components/modals/index.js";import"../../../modal/components/modals/modal.js";import"../../../CloseS-c17ee568.js";import"../../../modal/hooks/use-modal.js";import"uuid";import"../../../modal/utils/delete-property-by-id.js";import"../../../index-f96da3a0.js";import"../../../_commonjsHelpers-97e6d7b1.js";var _={header_addons:"index-module_header_addons__Kx-q1",disabled_form_inner:"index-module_disabled_form_inner__9HqiU"};function h(j){var h=j.recordId,g=j.title,y=j.headerBottomAddons,v=j.initialValues,E=j.submitButtonText,k=j.customFooter,V=j.loading,A=j.updating,T=j.removing;j.customValidationFields,j.validate,j.save;var w=j.remove,B=j.close,F=j.t,q=j.children,C=j.headerAddon;j.error;var I=j.softError,S=e(j,["recordId","title","headerBottomAddons","initialValues","submitButtonText","customFooter","loading","updating","removing","customValidationFields","validate","save","remove","close","t","children","headerAddon","error","softError"]),H=r(c),K=H.setModalDirty,M=H.currentModalId,z=i(M)[0],N=S.submitCount,U=S.handleSubmit,D=S.isValid,P=e(S,["submitCount","handleSubmit","isValid"]),G=!!h&&!!w,J=n((function(){K(z,!1),U()}),[P.dirty,z]),L=n((function(){K(z,!1),confirm("Are you shure?")&&(null==w||w())}),[P.dirty,z]);m((function(){V||K(z,P.dirty)}),[P.dirty,V,z]);var O=G||C?t.createElement("div",{className:_.header_addons},G&&t.createElement(a,{dataTestId:"removeTariffBtn",size:"m",disabled:A,loading:T,onClick:L,icon:d}),C):null;return t.createElement(f,null,(A||T)&&t.createElement(x,null),t.createElement(p,{rightAddons:O,title:g,border:!1,bottomAddons:t.createElement(s,{columns:1,gr:8},y,!!I&&t.createElement(l,{text:I,view:"negative"}),!D&&!!N&&t.createElement(l,{text:"Please correct errors before submitting form.",view:"negative"}))}),t.createElement(b,null,(A||T)&&t.createElement("div",{className:_.disabled_form_inner}),q(o({submitCount:N,isValid:D,handleSubmit:J,initialValues:v},P))),t.createElement(u,{t:F,disabled:T,customFooter:k,submit:J,submitButtonText:E,close:B}))}j(".index-module_header_addons__Kx-q1{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:end;-ms-flex-pack:end;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:flex-end}.index-module_header_addons__Kx-q1>:last-child:not(:only-child){margin-left:8px}.index-module_disabled_form_inner__9HqiU{background-color:var(--color-trans-form);height:100%;position:fixed;width:100%;z-index:10}");export{h as Form};
1
+ import{_ as e,a as o}from"../../../tslib.es6-e419faf4.js";import t,{useContext as r,useState as i,useCallback as m,useEffect as n}from"react";import{T as s}from"../../../TrashM-d4062058.js";import{FlexColumns as d}from"../../../flex-columns/component.js";import{IconButton as a}from"../../../icon-button/component.js";import{ListAllert as l}from"../../../list-allert/component.js";import{ModalContext as p}from"../../../modal/context.js";import{SidepanelHeader as c}from"../../../sidepanel-header/component.js";import{FormFooter as u}from"../../components/form-footer/index.js";import{FormOuter as f}from"../../components/form-outer/index.js";import{FormUpdating as j}from"../../components/form-updating/index.js";import{a as b}from"../../../index-200440e1.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"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../modal/components/modals/index.js";import"../../../modal/components/modals/modal.js";import"../../../modal/hooks/use-modal.js";import"uuid";import"../../../modal/utils/delete-property-by-id.js";import"../../../index-eef797c6.js";import"../../../_commonjsHelpers-df4d639f.js";var h={header_addons:"index-module_header_addons__Kx-q1",disabled_form_inner:"index-module_disabled_form_inner__9HqiU"};function v(v){var x=v.recordId,g=v.title,_=v.headerBottomAddons,y=v.initialValues,E=v.submitButtonText,V=v.customFooter,A=v.loading,T=v.updating,B=v.removing;v.customValidationFields,v.validate,v.save;var F=v.remove,C=v.close,I=v.t,k=v.children,M=v.headerAddon;v.error;var S=v.softError,q=e(v,["recordId","title","headerBottomAddons","initialValues","submitButtonText","customFooter","loading","updating","removing","customValidationFields","validate","save","remove","close","t","children","headerAddon","error","softError"]),w=r(p),H=w.setModalDirty,N=w.currentModalId,z=i(N)[0],D=q.submitCount,K=q.handleSubmit,P=q.isValid,U=e(q,["submitCount","handleSubmit","isValid"]),G=!!x&&!!F,J=m((function(){H(z,!1),K()}),[U.dirty,z]),L=m((function(){H(z,!1),confirm("Are you shure?")&&(null==F||F())}),[U.dirty,z]);n((function(){A||H(z,U.dirty)}),[U.dirty,A,z]);var O=G||M?t.createElement("div",{className:h.header_addons},G&&t.createElement(a,{dataTestId:"removeTariffBtn",size:"m",disabled:T,loading:B,onClick:L,icon:s}),M):null;return t.createElement(f,null,(T||B)&&t.createElement(j,null),t.createElement(c,{rightAddons:O,title:g,border:!1,bottomAddons:t.createElement(d,{columns:1,gr:8},_,!!S&&t.createElement(l,{text:S,view:"negative"}),!P&&!!D&&t.createElement(l,{text:"Please correct errors before submitting form.",view:"negative"}))}),t.createElement(b,null,(T||B)&&t.createElement("div",{className:h.disabled_form_inner}),k(o({submitCount:D,isValid:P,handleSubmit:J,initialValues:y},U))),t.createElement(u,{t:I,disabled:B,customFooter:V,submit:J,submitButtonText:E,close:C}))}export{v as Form};
@@ -1 +1 @@
1
- import{a as o}from"../../../tslib.es6-c1295375.js";import t from"react";import{F as e}from"../../../index-54cfd58f.js";import{FormLoading as r}from"../../components/form-loading/index.js";import{Form as m}from"./form.js";import"../../../index-f96da3a0.js";import"../../../_commonjsHelpers-97e6d7b1.js";import"../../../style-inject.es-1f59c1d0.js";import"../../../flex-columns/component.js";import"classnames";import"../../../skeleton/component.js";import"../../../index.module-2888c6f3.js";import"../../components/form-outer/index.js";import"../../../TrashM-504e1b6e.js";import"../../../icon-button/component.js";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../list-allert/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"../../../modal/context.js";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../modal/components/modals/index.js";import"../../../modal/components/modals/modal.js";import"../../../CloseS-c17ee568.js";import"../../../modal/hooks/use-modal.js";import"uuid";import"../../../modal/utils/delete-property-by-id.js";import"../../../sidepanel-header/component.js";import"../../components/form-footer/index.js";import"../../components/form-updating/index.js";function i(i){var n=i.loading,s=i.error,p=i.validate,a=i.customValidationFields,l=i.initialValues,c=i.save;if(s)return t.createElement("div",null,"Error ");if(n)return t.createElement(r,null);var d,j,u;return t.createElement(e,{validate:(d=p,j=a,d||(j?(u=j,function(o){return u.reduce((function(t,e){return("object"==typeof o?o:{})[e]||(t[e]=i.t("validationErrors:Required")),t}),{})}):void 0)),initialValues:l,onSubmit:c},(function(e){return t.createElement(m,o({},e,i))}))}export{i as RestForm};
1
+ import{a as o}from"../../../tslib.es6-e419faf4.js";import t from"react";import{F as e}from"../../../index-200440e1.js";import{FormLoading as r}from"../../components/form-loading/index.js";import{Form as m}from"./form.js";import"../../../index-eef797c6.js";import"../../../_commonjsHelpers-df4d639f.js";import"../../../flex-columns/component.js";import"classnames";import"../../../skeleton/component.js";import"../../components/form-outer/index.js";import"../../../TrashM-d4062058.js";import"../../../icon-button/component.js";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../list-allert/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"../../../modal/context.js";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../modal/components/modals/index.js";import"../../../modal/components/modals/modal.js";import"../../../modal/hooks/use-modal.js";import"uuid";import"../../../modal/utils/delete-property-by-id.js";import"../../../sidepanel-header/component.js";import"../../components/form-footer/index.js";import"../../components/form-updating/index.js";function i(i){var n=i.loading,p=i.error,s=i.validate,a=i.customValidationFields,l=i.initialValues,d=i.save;if(p)return t.createElement("div",null,"Error ");if(n)return t.createElement(r,null);var c,j,u;return t.createElement(e,{validate:(c=s,j=a,c||(j?(u=j,function(o){return u.reduce((function(t,e){return("object"==typeof o?o:{})[e]||(t[e]=i.t("validationErrors:Required")),t}),{})}):void 0)),initialValues:l,onSubmit:d},(function(e){return t.createElement(m,o({},e,i))}))}export{i as RestForm};
@@ -1 +1 @@
1
- import{a as r}from"../../tslib.es6-c1295375.js";function e(e,t){return Object.entries(t).reduce((function(t,n){var c,i=n[0],o=n[1];return r(((c={})[i]=e[i]||o,c),t)}),{})}export{e as getDefaultValues};
1
+ import{a as e}from"../../tslib.es6-e419faf4.js";function r(r,t){return Object.entries(t).reduce((function(t,n){var f,i=n[0],o=n[1];return e(((f={})[i]=r[i]||o,f),t)}),{})}export{r as getDefaultValues};
@@ -1 +1 @@
1
- import{_ as o,a as e}from"../tslib.es6-c1295375.js";import r from"react";import a from"classnames";import{s as l}from"../style-inject.es-1f59c1d0.js";var d={component:"index-module_component__88xUs",inner:"index-module_inner__5E-18",inputWrapper:"index-module_inputWrapper__EYDad",input:"index-module_input__28cIX",label:"index-module_label__38axD",labelInner:"index-module_labelInner__EJhNP",addons:"index-module_addons__lhT1R",leftAddons:"index-module_leftAddons__LEkge",rightAddons:"index-module_rightAddons__zsPCo",sub:"index-module_sub__i9z6r",hint:"index-module_hint__RpKM-",block:"index-module_block__flzeK",s:"index-module_s__prKUx",hasLabel:"index-module_hasLabel__ZoVEF",m:"index-module_m__WsWRp",l:"index-module_l__GgDaN",hasLeftAddons:"index-module_hasLeftAddons__SCMwi",hasRightAddons:"index-module_hasRightAddons__-5ME3",disabled:"index-module_disabled__xb0nE",focused:"index-module_focused__gP4eM",hasError:"index-module_hasError__YIyAz",filled:"index-module_filled__eiB1o",error:"index-module_error__kbem3"};l(':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);--form-control-s-min-height:48px;--form-control-m-min-height:60px;--form-control-l-min-height:72px;--form-control-border-radius:4px 4px 0 0;--form-control-border-bottom:1px solid var(--color-border-primary);--form-control-bg-color:var(--color-bg-secondary);--form-control-bg-backdrop-filter:unset;--form-control-color:var(--color-text-primary);--form-control-label-color:var(--color-text-secondary);--form-control-hint-color:var(--color-text-secondary);--form-control-paddings:0 var(--gap-s);--form-control-l-paddings:0 var(--gap-m);--form-control-labeled-s-paddings:23px var(--gap-s) 5px;--form-control-labeled-m-paddings:28px var(--gap-s) 8px;--form-control-labeled-l-paddings:38px var(--gap-m) 14px;--form-control-disabled-bg-color:color-mix(in srgb,var(--color-bg-primary-inverted) 85%,#fff);--form-control-disabled-border-bottom:1px solid var(--color-border-primary);--form-control-disabled-opacity:0.5;--form-control-disabled-color:var(--color-text-secondary);--form-control-focus-border-bottom:1px solid var(--color-border-accent);--form-control-hover-bg-color:color-mix(in srgb,var(--form-control-bg-color) 95%,#000);--form-control-error-color:var(--color-text-negative);--form-control-error-label-color:var(--color-text-negative);--form-control-error-shadow:none;--form-control-error-border-bottom:1px solid var(--form-control-error-color);--form-control-font-family:var(--font-family)}.index-module_component__88xUs{color:var(--form-control-color);font-family:var(--form-control-font-family);width:-webkit-max-content;width:-moz-max-content;width:max-content}.index-module_inner__5E-18{-webkit-backdrop-filter:var(--form-control-bg-backdrop-filter);backdrop-filter:var(--form-control-bg-backdrop-filter);background-color:var(--form-control-bg-color);border-radius:var(--form-control-border-radius);-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:100%;outline:none;position:relative;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transition:background .2s ease,-webkit-box-shadow .2s ease;transition:background .2s ease,-webkit-box-shadow .2s ease;transition:background .2s ease,box-shadow .2s ease;transition:background .2s ease,box-shadow .2s ease,-webkit-box-shadow .2s ease}.index-module_inner__5E-18:before{border-bottom:var(--form-control-border-bottom);bottom:0;content:"";display:block;height:0;position:absolute;-webkit-transform-origin:bottom;transform-origin:bottom;-webkit-transition:border .2s ease,-webkit-transform .2s ease;transition:border .2s ease,-webkit-transform .2s ease;transition:transform .2s ease,border .2s ease;transition:transform .2s ease,border .2s ease,-webkit-transform .2s ease;width:100%}.index-module_inputWrapper__EYDad{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;overflow:hidden;position:relative}.index-module_input__28cIX{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;position:relative}.index-module_input__28cIX>*{padding:var(--form-control-paddings)}.index-module_label__38axD{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--form-control-label-color);display:-webkit-box;display:-ms-flexbox;display:flex;left:var(--gap-s);position:absolute;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:color,-webkit-transform;transition-property:color,-webkit-transform;transition-property:color,transform;transition-property:color,transform,-webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease}.index-module_labelInner__EJhNP{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.index-module_addons__lhT1R{-ms-flex-negative:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;flex-shrink:0}.index-module_leftAddons__LEkge{padding-left:var(--gap-s)}.index-module_rightAddons__zsPCo{padding-right:var(--gap-s)}.index-module_sub__i9z6r{display:block;font-family:var(--font-family);font-size:12px;font-weight:500;line-height:20px;margin-top:var(--gap-2xs)}.index-module_hint__RpKM-{color:var(--form-control-hint-color)}.index-module_block__flzeK{width:100%}.index-module_s__prKUx .index-module_inner__5E-18{min-height:48px}.index-module_s__prKUx .index-module_hasLabel__ZoVEF .index-module_input__28cIX>*{padding:var(--form-control-labeled-s-paddings)}.index-module_s__prKUx .index-module_label__38axD{top:calc(var(--form-control-s-min-height)/2 + 1px)}.index-module_m__WsWRp .index-module_inner__5E-18{min-height:var(--form-control-m-min-height)}.index-module_m__WsWRp .index-module_hasLabel__ZoVEF .index-module_input__28cIX>*{padding:var(--form-control-labeled-m-paddings)}.index-module_m__WsWRp .index-module_label__38axD{top:calc(var(--form-control-m-min-height)/2)}.index-module_l__GgDaN .index-module_inner__5E-18{min-height:72px}.index-module_l__GgDaN .index-module_label__38axD{left:var(--gap-m)}.index-module_l__GgDaN .index-module_input__28cIX>*{padding:var(--form-control-l-paddings)}.index-module_l__GgDaN .index-module_hasLabel__ZoVEF .index-module_input__28cIX>*{padding:var(--form-control-labeled-l-paddings)}.index-module_l__GgDaN .index-module_leftAddons__LEkge{padding-left:var(--gap-m)}.index-module_l__GgDaN .index-module_rightAddons__zsPCo{padding-right:var(--gap-m)}.index-module_l__GgDaN.index-module_hasLeftAddons__SCMwi .index-module_label__38axD{left:var(--gap-s)}.index-module_l__GgDaN.index-module_hasLeftAddons__SCMwi .index-module_input__28cIX>*{padding-left:var(--gap-s)}.index-module_l__GgDaN.index-module_hasRightAddons__-5ME3 .index-module_input__28cIX>*{padding-right:var(--gap-s)}.index-module_l__GgDaN .index-module_sub__i9z6r{margin-top:var(--gap-xs)}.index-module_l__GgDaN .index-module_label__38axD{top:calc(var(--form-control-l-min-height)/2 - 1px)}.index-module_disabled__xb0nE{opacity:var(--form-control-disabled-opacity)}.index-module_disabled__xb0nE:before{border-bottom:var(--form-control-disabled-border-bottom)}.index-module_focused__gP4eM:not(.index-module_disabled__xb0nE):not(.index-module_hasError__YIyAz):before{border-bottom:var(--form-control-focus-border-bottom);-webkit-transform:scaleY(2);transform:scaleY(2)}.index-module_filled__eiB1o .index-module_label__38axD{color:var(--form-control-label-color);-webkit-transform:translateY(-100%) scale(.875);transform:translateY(-100%) scale(.875)}.index-module_inner__5E-18:not(.index-module_disabled__xb0nE):hover{background-color:var(--form-control-hover-bg-color)}.index-module_error__kbem3{color:var(--form-control-error-color)}.index-module_hasError__YIyAz .index-module_label__38axD{color:var(--form-control-error-label-color)}.index-module_hasError__YIyAz{-webkit-box-shadow:var(--form-control-error-shadow);box-shadow:var(--form-control-error-shadow)}.index-module_hasError__YIyAz:before{border-bottom:var(--form-control-error-border-bottom);-webkit-transform:scaleY(2);transform:scaleY(2)}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.index-module_component__88xUs{clear:left;float:left}.index-module_inner__5E-18:after{content:"";font-size:0;min-height:inherit}}');var n=r.forwardRef((function(l,n){var t,i,s=l.block,x=void 0!==s&&s,m=l.size,p=void 0===m?"s":m,_=l.className,b=l.required,c=l.fieldClassName,g=l.labelClassName,f=l.addonsClassName,u=l.disabled,h=l.focused,v=l.filled,w=l.error,k=l.hint,y=l.label,E=l.leftAddons,N=l.rightAddons,A=l.bottomAddons,D=l.children,I=l.dataTestId,z=o(l,["block","size","className","required","fieldClassName","labelClassName","addonsClassName","disabled","focused","filled","error","hint","label","leftAddons","rightAddons","bottomAddons","children","dataTestId"]),R="string"==typeof w?w:"";return r.createElement("div",{"data-test-id":I,className:a(d.component,_,d[p],(t={},t[d.block]=x,t[d.hasLeftAddons]=E,t[d.hasRightAddons]=N||w,t))},r.createElement("div",e({},z,{className:a(c,d.inner,(i={},i[d.focused]=h,i[d.disabled]=u,i[d.filled]=v,i[d.hasError]=w,i[d.hasLabel]=y,i)),ref:n}),E&&r.createElement("div",{className:a(d.addons,d.leftAddons,f)},E),r.createElement("div",{className:d.inputWrapper},y&&r.createElement("div",{className:a(d.label,g)},r.createElement("span",{className:d.labelInner},b?y+" *":y)),r.createElement("div",{className:d.input},D)),N&&r.createElement("div",{className:a(d.addons,d.rightAddons,f)},N)),A,R&&r.createElement("span",{"data-attribute":"form-error",className:a(d.sub,d.error)},R),k&&!R&&r.createElement("span",{className:a(d.sub,d.hint)},k))}));export{n as FormControl};
1
+ import{_ as e,a as d}from"../tslib.es6-e419faf4.js";import a from"react";import l from"classnames";var s={component:"index-module_component__88xUs",inner:"index-module_inner__5E-18",inputWrapper:"index-module_inputWrapper__EYDad",input:"index-module_input__28cIX",label:"index-module_label__38axD",labelInner:"index-module_labelInner__EJhNP",addons:"index-module_addons__lhT1R",leftAddons:"index-module_leftAddons__LEkge",rightAddons:"index-module_rightAddons__zsPCo",sub:"index-module_sub__i9z6r",hint:"index-module_hint__RpKM-",block:"index-module_block__flzeK",s:"index-module_s__prKUx",hasLabel:"index-module_hasLabel__ZoVEF",m:"index-module_m__WsWRp",l:"index-module_l__GgDaN",hasLeftAddons:"index-module_hasLeftAddons__SCMwi",hasRightAddons:"index-module_hasRightAddons__-5ME3",disabled:"index-module_disabled__xb0nE",focused:"index-module_focused__gP4eM",hasError:"index-module_hasError__YIyAz",filled:"index-module_filled__eiB1o",error:"index-module_error__kbem3"},n=a.forwardRef((function(n,o){var i,r,t=n.block,_=void 0!==t&&t,m=n.size,u=void 0===m?"s":m,c=n.className,b=n.required,f=n.fieldClassName,h=n.labelClassName,x=n.addonsClassName,p=n.disabled,E=n.focused,N=n.filled,A=n.error,g=n.hint,v=n.label,C=n.leftAddons,k=n.rightAddons,I=n.bottomAddons,L=n.children,R=n.dataTestId,z=e(n,["block","size","className","required","fieldClassName","labelClassName","addonsClassName","disabled","focused","filled","error","hint","label","leftAddons","rightAddons","bottomAddons","children","dataTestId"]),W="string"==typeof A?A:"";return a.createElement("div",{"data-test-id":R,className:l(s.component,c,s[u],(i={},i[s.block]=_,i[s.hasLeftAddons]=C,i[s.hasRightAddons]=k||A,i))},a.createElement("div",d({},z,{className:l(f,s.inner,(r={},r[s.focused]=E,r[s.disabled]=p,r[s.filled]=N,r[s.hasError]=A,r[s.hasLabel]=v,r)),ref:o}),C&&a.createElement("div",{className:l(s.addons,s.leftAddons,x)},C),a.createElement("div",{className:s.inputWrapper},v&&a.createElement("div",{className:l(s.label,h)},a.createElement("span",{className:s.labelInner},b?v+" *":v)),a.createElement("div",{className:s.input},L)),k&&a.createElement("div",{className:l(s.addons,s.rightAddons,x)},k)),I,W&&a.createElement("span",{"data-attribute":"form-error",className:l(s.sub,s.error)},W),g&&!W&&a.createElement("span",{className:l(s.sub,s.hint)},g))}));export{n as FormControl};
@@ -1 +1 @@
1
- export{FormControl}from"./component.js";import"../tslib.es6-c1295375.js";import"react";import"classnames";import"../style-inject.es-1f59c1d0.js";
1
+ export{FormControl}from"./component.js";import"../tslib.es6-e419faf4.js";import"react";import"classnames";