@alphakits/ui 1.3.20 → 1.5.0

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 (319) hide show
  1. package/dist/{_commonjsHelpers-51fecfef.js → _commonjsHelpers-3e170942.js} +0 -0
  2. package/dist/amount/component.js +1 -1
  3. package/dist/amount/index.js +1 -1
  4. package/dist/amount-input/component.d.ts +1 -1
  5. package/dist/amount-input/component.js +1 -1
  6. package/dist/amount-input/index.js +1 -1
  7. package/dist/avatar/component.d.ts +6 -18
  8. package/dist/avatar/component.js +1 -1
  9. package/dist/avatar/index.js +1 -1
  10. package/dist/button/component.js +1 -1
  11. package/dist/button/index.js +1 -1
  12. package/dist/calendar/component.js +1 -1
  13. package/dist/calendar/components/days-table/component.js +1 -1
  14. package/dist/calendar/components/days-table/index.js +1 -1
  15. package/dist/calendar/components/header/index.js +1 -1
  16. package/dist/calendar/components/header//321/201omponent.js +1 -1
  17. package/dist/calendar/components/months-table/index.js +1 -1
  18. package/dist/calendar/components/months-table//321/201omponent.js +1 -1
  19. package/dist/calendar/components/select-button/index.js +1 -1
  20. package/dist/calendar/components/select-button//321/201omponent.d.ts +1 -1
  21. package/dist/calendar/components/select-button//321/201omponent.js +1 -1
  22. package/dist/calendar/components/years-table/index.js +1 -1
  23. package/dist/calendar/components/years-table//321/201omponent.js +1 -1
  24. package/dist/calendar/index.js +1 -1
  25. package/dist/calendar-input/component.d.ts +1 -1
  26. package/dist/calendar-input/component.js +1 -1
  27. package/dist/calendar-input/index.js +1 -1
  28. package/dist/cell/base/component.js +1 -1
  29. package/dist/cell/base/index.d.ts +1 -1
  30. package/dist/cell/base/index.js +1 -1
  31. package/dist/cell/component.js +1 -1
  32. package/dist/cell/index.d.ts +1 -1
  33. package/dist/cell/index.js +1 -1
  34. package/dist/cell/pure/component.d.ts +1 -1
  35. package/dist/cell/pure/component.js +1 -1
  36. package/dist/cell/pure/index.js +1 -1
  37. package/dist/checkbox/component.d.ts +1 -1
  38. package/dist/checkbox/component.js +1 -1
  39. package/dist/checkbox/index.js +1 -1
  40. package/dist/checkbox-group/component.js +1 -1
  41. package/dist/checkbox-group/index.js +1 -1
  42. package/dist/checkbox-lists/component.d.ts +2 -1
  43. package/dist/checkbox-lists/component.js +1 -1
  44. package/dist/checkbox-lists/index.js +1 -1
  45. package/dist/collapse/component.js +1 -1
  46. package/dist/collapse/index.js +1 -1
  47. package/dist/{colors.module-cc121901.js → colors.module-ad73c09a.js} +0 -0
  48. package/dist/{common.module-d34bb3c5.js → common.module-10ade317.js} +0 -0
  49. package/dist/component-9ce2c0ee.d.ts +14 -0
  50. package/dist/component-9ce2c0ee.js +1 -0
  51. package/dist/component-e71445f5.d.ts +7 -0
  52. package/dist/{contact-block-e5022060.d.ts → contact-block-cce152f7.d.ts} +0 -0
  53. package/dist/{contact-block-e5022060.js → contact-block-cce152f7.js} +0 -0
  54. package/dist/copy-button/component.js +1 -1
  55. package/dist/copy-button/index.js +1 -1
  56. package/dist/date/component.js +1 -1
  57. package/dist/date/index.js +1 -1
  58. package/dist/date-switcher/component.js +1 -1
  59. package/dist/date-switcher/index.js +1 -1
  60. package/dist/footer/component.js +1 -1
  61. package/dist/footer/components/contacts-block.js +1 -1
  62. package/dist/footer/contact-block.js +1 -1
  63. package/dist/footer/index.js +1 -1
  64. package/dist/form/component.js +1 -1
  65. package/dist/form/components/form-footer/index.js +1 -1
  66. package/dist/form/components/index.js +1 -1
  67. package/dist/form/index.js +1 -1
  68. package/dist/form/templates/crud-form/index.js +1 -1
  69. package/dist/form/templates/filters-form/index.js +1 -1
  70. package/dist/form/templates/rest-form/index.js +1 -1
  71. package/dist/form/utils/get-default-values.js +1 -1
  72. package/dist/form-control/component.d.ts +1 -1
  73. package/dist/form-control/component.js +1 -1
  74. package/dist/form-control/index.js +1 -1
  75. package/dist/{formik.esm-10a4c7bf.js → formik.esm-9b402931.js} +1 -1
  76. package/dist/grid/col/component.js +1 -1
  77. package/dist/grid/col/index.js +1 -1
  78. package/dist/grid/component.js +1 -1
  79. package/dist/grid/index.js +1 -1
  80. package/dist/grid/row/component.js +1 -1
  81. package/dist/grid/row/index.js +1 -1
  82. package/dist/{gutters.module-6e22a1ed.js → gutters.module-557bd949.js} +0 -0
  83. package/dist/heading/component.js +1 -1
  84. package/dist/heading/index.js +1 -1
  85. package/dist/hooks/index.js +1 -1
  86. package/dist/hooks/use-crud-form-requests/index.js +1 -1
  87. package/dist/hooks/use-get-ine/index.js +1 -1
  88. package/dist/icon-button/component.d.ts +1 -1
  89. package/dist/icon-button/component.js +1 -1
  90. package/dist/icon-button/index.js +1 -1
  91. package/dist/image/component.d.ts +2 -16
  92. package/dist/image/component.js +1 -1
  93. package/dist/image/constants.d.ts +13 -0
  94. package/dist/image/constants.js +1 -0
  95. package/dist/image/index.d.ts +3 -0
  96. package/dist/image/index.js +1 -1
  97. package/dist/image/typings.d.ts +25 -0
  98. package/dist/image/typings.js +1 -0
  99. package/dist/{cell/action/component.d.ts → image/use-image-render-component.d.ts} +0 -0
  100. package/dist/image/use-image-render-component.js +1 -0
  101. package/dist/image/utils.d.ts +4 -0
  102. package/dist/image/utils.js +1 -0
  103. package/dist/index.css +1 -5
  104. package/dist/index.ts +0 -7
  105. package/dist/info-block-header/component.js +1 -1
  106. package/dist/info-block-header/index.js +1 -1
  107. package/dist/info-block-item/component.js +1 -1
  108. package/dist/info-block-item/index.js +1 -1
  109. package/dist/input/component.d.ts +1 -1
  110. package/dist/input/component.js +1 -1
  111. package/dist/input/index.js +1 -1
  112. package/dist/intersection-observer-ce86058b.js +1 -0
  113. package/dist/link/component.js +1 -1
  114. package/dist/link/index.js +1 -1
  115. package/dist/list-allert/component.js +1 -1
  116. package/dist/list-allert/index.js +1 -1
  117. package/dist/masked-input/component.d.ts +1 -1
  118. package/dist/masked-input/component.js +1 -1
  119. package/dist/masked-input/index.js +1 -1
  120. package/dist/message/component.js +1 -1
  121. package/dist/message/index.js +1 -1
  122. package/dist/modal/components/modals/index.js +1 -1
  123. package/dist/modal/context.js +1 -1
  124. package/dist/modal/hooks/use-modal.js +1 -1
  125. package/dist/modal/index.js +1 -1
  126. package/dist/modal/types.d.ts +1 -1
  127. package/dist/not-found/component.js +1 -1
  128. package/dist/not-found/index.js +1 -1
  129. package/dist/notification/component.js +1 -1
  130. package/dist/notification/index.js +1 -1
  131. package/dist/{parse-query-params-42783896.d.ts → parse-query-params-d519bf2a.d.ts} +0 -0
  132. package/dist/{parse-query-params-42783896.js → parse-query-params-d519bf2a.js} +1 -1
  133. package/dist/picker-button/component.d.ts +2 -2
  134. package/dist/picker-button/component.js +1 -1
  135. package/dist/picker-button/field/Component.js +1 -1
  136. package/dist/picker-button/field/index.js +1 -1
  137. package/dist/picker-button/index.js +1 -1
  138. package/dist/popover/component.js +1 -1
  139. package/dist/popover/index.js +1 -1
  140. package/dist/progress-bar/component.js +1 -1
  141. package/dist/progress-bar/index.js +1 -1
  142. package/dist/progress-index/component.js +1 -1
  143. package/dist/progress-index/index.js +1 -1
  144. package/dist/radio/component.d.ts +1 -1
  145. package/dist/radio/component.js +1 -1
  146. package/dist/radio/index.js +1 -1
  147. package/dist/radio-group/component.js +1 -1
  148. package/dist/radio-group/index.js +1 -1
  149. package/dist/radio-groups/component.d.ts +2 -1
  150. package/dist/radio-groups/component.js +1 -1
  151. package/dist/radio-groups/index.js +1 -1
  152. package/dist/select/component.d.ts +2 -2
  153. package/dist/select/component.js +1 -1
  154. package/dist/select/components/base-select/component.js +1 -1
  155. package/dist/select/components/base-select/index.js +1 -1
  156. package/dist/select/components/field/component.js +1 -1
  157. package/dist/select/components/field/index.js +1 -1
  158. package/dist/select/components/index.js +1 -1
  159. package/dist/select/components/native-select/component.js +1 -1
  160. package/dist/select/components/native-select/index.js +1 -1
  161. package/dist/select/components/option/component.js +1 -1
  162. package/dist/select/components/option/index.js +1 -1
  163. package/dist/select/components/options-list/component.d.ts +2 -1
  164. package/dist/select/components/options-list/component.js +1 -1
  165. package/dist/select/components/options-list/index.js +1 -1
  166. package/dist/select/components/virtual-options-list/component.js +1 -1
  167. package/dist/select/components/virtual-options-list/index.js +1 -1
  168. package/dist/select/index.js +1 -1
  169. package/dist/select/presets/index.d.ts +1 -0
  170. package/dist/select/presets/index.js +1 -1
  171. package/dist/select/presets/use-lazy-loading/index.d.ts +45 -0
  172. package/dist/select/presets/use-lazy-loading/index.js +1 -0
  173. package/dist/select/presets/use-select-with-loading/hook.js +1 -1
  174. package/dist/select/typings.d.ts +7 -0
  175. package/dist/select/utils.d.ts +13 -1
  176. package/dist/select/utils.js +1 -1
  177. package/dist/sidepanel-header/component.js +1 -1
  178. package/dist/sidepanel-header/index.js +1 -1
  179. package/dist/space/Item.js +1 -1
  180. package/dist/space/component.js +1 -1
  181. package/dist/space/index.js +1 -1
  182. package/dist/suffix-input/component.d.ts +1 -1
  183. package/dist/suffix-input/component.js +1 -1
  184. package/dist/suffix-input/index.js +1 -1
  185. package/dist/super-list-header/component.js +1 -1
  186. package/dist/super-list-header/index.js +1 -1
  187. package/dist/super-list-item/component.js +1 -1
  188. package/dist/super-list-item/index.js +1 -1
  189. package/dist/switch/component.d.ts +1 -1
  190. package/dist/switch/component.js +1 -1
  191. package/dist/switch/index.js +1 -1
  192. package/dist/table/columns.d.ts +2 -10
  193. package/dist/table/columns.js +1 -1
  194. package/dist/table/component.js +1 -1
  195. package/dist/table/components/cell/component.d.ts +6 -2
  196. package/dist/table/components/cell/component.js +1 -1
  197. package/dist/table/components/cell/index.js +1 -1
  198. package/dist/table/components/cells/index.js +1 -1
  199. package/dist/table/components/empty-list/index.js +1 -1
  200. package/dist/table/components/error/index.js +1 -1
  201. package/dist/table/components/pagination/index.js +1 -1
  202. package/dist/table/components/row/component.js +1 -1
  203. package/dist/table/components/row/index.js +1 -1
  204. package/dist/table/components/rows/index.js +1 -1
  205. package/dist/table/components/table-header/index.js +1 -1
  206. package/dist/table/data.js +1 -1
  207. package/dist/table/hooks/use-table-data.js +1 -1
  208. package/dist/table/index.js +1 -1
  209. package/dist/table/table.js +1 -1
  210. package/dist/table/utils/add-query-param.js +1 -1
  211. package/dist/table/utils/get-query-from-url.js +1 -1
  212. package/dist/table/utils/index.d.ts +1 -1
  213. package/dist/table/utils/index.js +1 -1
  214. package/dist/table/utils/parse-query-params.js +1 -1
  215. package/dist/table/utils/query-adapter.js +1 -1
  216. package/dist/table/utils/remove-query-param.js +1 -1
  217. package/dist/table/utils/reset-query-param.js +1 -1
  218. package/dist/table/utils/serialize-data.d.ts +1 -1
  219. package/dist/table/utils/serialize-data.js +1 -1
  220. package/dist/table-status/component.js +1 -1
  221. package/dist/table-status/index.js +1 -1
  222. package/dist/tag/component.js +1 -1
  223. package/dist/tag/index.js +1 -1
  224. package/dist/tags-list/component.js +1 -1
  225. package/dist/tags-list/index.js +1 -1
  226. package/dist/tariff-builder/component.js +1 -1
  227. package/dist/tariff-builder/index.js +1 -1
  228. package/dist/textarea/component.d.ts +1 -1
  229. package/dist/textarea/component.js +1 -1
  230. package/dist/textarea/index.js +1 -1
  231. package/dist/toast/component.js +1 -1
  232. package/dist/toast/index.js +1 -1
  233. package/dist/toast-notifier/component.js +1 -1
  234. package/dist/toast-notifier/index.js +1 -1
  235. package/dist/toast-plate/component.js +1 -1
  236. package/dist/toast-plate/index.js +1 -1
  237. package/dist/tooltip/component.js +1 -1
  238. package/dist/tooltip/index.js +1 -1
  239. package/dist/{tslib.es6-5f92d514.js → tslib.es6-c88014b9.js} +0 -0
  240. package/dist/typography/component.js +1 -1
  241. package/dist/typography/index.js +1 -1
  242. package/dist/typography/text/component.js +1 -1
  243. package/dist/typography/text/index.js +1 -1
  244. package/dist/typography/title/component.js +1 -1
  245. package/dist/typography/title/index.js +1 -1
  246. package/dist/typography/title-responsive/component.js +1 -1
  247. package/dist/typography/title-responsive/index.js +1 -1
  248. package/dist/use-image-render-component-c2070538.d.ts +13 -0
  249. package/dist/use-image-render-component-c2070538.js +1 -0
  250. package/dist/utils/index.d.ts +2 -0
  251. package/dist/utils/index.js +1 -1
  252. package/dist/utils/show-toast/index.d.ts +3 -0
  253. package/dist/utils/show-toast/index.js +1 -0
  254. package/dist/vars/alpha-radiuses.css +1 -0
  255. package/dist/vars/typography.css +1 -1
  256. package/dist/with-suffix/component.d.ts +1 -1
  257. package/dist/with-suffix/component.js +1 -1
  258. package/dist/with-suffix/index.js +1 -1
  259. package/package.json +9 -14
  260. package/dist/avatar/hooks/index.d.ts +0 -1
  261. package/dist/avatar/hooks/index.js +0 -1
  262. package/dist/avatar/hooks/use-image-loading-state.d.ts +0 -4
  263. package/dist/avatar/hooks/use-image-loading-state.js +0 -1
  264. package/dist/avatar/types.d.ts +0 -3
  265. package/dist/avatar/types.js +0 -1
  266. package/dist/cell/action/component.js +0 -1
  267. package/dist/cell/action/index.d.ts +0 -1
  268. package/dist/cell/action/index.js +0 -1
  269. package/dist/cell/autopayment/component.d.ts +0 -0
  270. package/dist/cell/autopayment/component.js +0 -1
  271. package/dist/cell/autopayment/index.d.ts +0 -1
  272. package/dist/cell/autopayment/index.js +0 -1
  273. package/dist/cell/catalog/component.d.ts +0 -0
  274. package/dist/cell/catalog/component.js +0 -1
  275. package/dist/cell/catalog/index.d.ts +0 -1
  276. package/dist/cell/catalog/index.js +0 -1
  277. package/dist/cell/subscription/component.d.ts +0 -0
  278. package/dist/cell/subscription/component.js +0 -1
  279. package/dist/cell/subscription/index.d.ts +0 -1
  280. package/dist/cell/subscription/index.js +0 -1
  281. package/dist/cell/transaction/component.d.ts +0 -19
  282. package/dist/cell/transaction/component.js +0 -1
  283. package/dist/cell/transaction/index.d.ts +0 -1
  284. package/dist/cell/transaction/index.js +0 -1
  285. package/dist/component-5dbe6e58.d.ts +0 -17
  286. package/dist/component-fa2c94c0.d.ts +0 -63
  287. package/dist/component-fa2c94c0.js +0 -1
  288. package/dist/photo-uploader/component.d.ts +0 -22
  289. package/dist/photo-uploader/component.js +0 -1
  290. package/dist/photo-uploader/index.d.ts +0 -1
  291. package/dist/photo-uploader/index.js +0 -1
  292. package/dist/photo-uploader-multiple/component.d.ts +0 -21
  293. package/dist/photo-uploader-multiple/component.js +0 -1
  294. package/dist/photo-uploader-multiple/index.d.ts +0 -1
  295. package/dist/photo-uploader-multiple/index.js +0 -1
  296. package/dist/photos/attach/index.d.ts +0 -7
  297. package/dist/photos/attach/index.js +0 -1
  298. package/dist/photos/index.d.ts +0 -2
  299. package/dist/photos/index.js +0 -1
  300. package/dist/photos/photo/index.d.ts +0 -11
  301. package/dist/photos/photo/index.js +0 -1
  302. package/dist/photos/photos/index.d.ts +0 -11
  303. package/dist/photos/photos/index.js +0 -1
  304. package/dist/super-ellipse/component.d.ts +0 -10
  305. package/dist/super-ellipse/component.js +0 -1
  306. package/dist/super-ellipse/index.d.ts +0 -1
  307. package/dist/super-ellipse/index.js +0 -1
  308. package/dist/super-ellipse-button/component.d.ts +0 -9
  309. package/dist/super-ellipse-button/component.js +0 -1
  310. package/dist/super-ellipse-button/index.d.ts +0 -1
  311. package/dist/super-ellipse-button/index.js +0 -1
  312. package/dist/super-ellipse-pure/component.d.ts +0 -11
  313. package/dist/super-ellipse-pure/component.js +0 -1
  314. package/dist/super-ellipse-pure/index.d.ts +0 -1
  315. package/dist/super-ellipse-pure/index.js +0 -1
  316. package/dist/super-ellipse-shape/component.d.ts +0 -12
  317. package/dist/super-ellipse-shape/component.js +0 -1
  318. package/dist/super-ellipse-shape/index.d.ts +0 -1
  319. package/dist/super-ellipse-shape/index.js +0 -1
@@ -1 +1 @@
1
- import{_ as e,a as o}from"../tslib.es6-5f92d514.js";import n,{forwardRef as r,useState as a,useEffect as t,useCallback as i,Fragment as l}from"react";import s from"classnames";import{Input as m}from"../input/component.js";import{withSuffix as d}from"../with-suffix/component.js";import"react-merge-refs";import"../button/component.js";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";var c={container:"index-module_container__17_Uh",minorPartAndCurrency:"index-module_minorPartAndCurrency__KGrfs",bold:"index-module_bold__mBp14",input:"index-module_input__2zS2T",suffixContainer:"index-module_suffixContainer__3DlRH",filled:"index-module_filled__2oM1c"},u=d(m),f=r((function(r,m){var d,f=r.value,p=r.suffix,_=r.placeholder,C=void 0===_?"":_,x=r.bold,v=void 0===x||x,N=r.className,h=r.focusedClassName,j=r.required,b=r.dataTestId,g=r.clear,E=void 0!==g&&g,q=r.onChange,A=r.onClear,T=e(r,["value","suffix","placeholder","bold","className","focusedClassName","required","dataTestId","clear","onChange","onClear"]),w=a(f),y=w[0],I=w[1];t((function(){return y!==f?I(f):function(){}}),[f]);var P=i((function(e){I(""),A&&A(e)}),[A]);return n.createElement("div",{className:s(c.container,(d={},d[c.bold]=v,d[c.filled]=Boolean(y),d))},n.createElement(u,o({},T,{suffix:n.createElement(l,null,y,n.createElement("span",{className:c.minorPartAndCurrency}," ",p)),suffixContainerClassName:c.suffixContainer,clear:E,required:j,placeholder:C,value:y,className:s(c.component,N),focusedClassName:h,inputClassName:c.input,onChange:function(e){var o=e.target,n=o.value;if(n===y){var r=o.selectionStart;window.requestAnimationFrame((function(){o.selectionStart=r,o.selectionEnd=r}))}I(n),q&&q(e,{value:n})},onClear:P,dataTestId:b,ref:m})))}));export{f as SuffixInput};
1
+ import{_ as e,a as o}from"../tslib.es6-c88014b9.js";import n,{forwardRef as r,useState as a,useEffect as t,useCallback as i,Fragment as l}from"react";import s from"classnames";import{Input as m}from"../input/component.js";import{withSuffix as c}from"../with-suffix/component.js";import"react-merge-refs";import"../button/component.js";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";var d={container:"index-module_container__17_Uh",minorPartAndCurrency:"index-module_minorPartAndCurrency__KGrfs",bold:"index-module_bold__mBp14",input:"index-module_input__2zS2T",suffixContainer:"index-module_suffixContainer__3DlRH",filled:"index-module_filled__2oM1c"},u=c(m),f=r((function(r,m){var c,f=r.value,p=r.suffix,_=r.placeholder,C=void 0===_?"":_,x=r.bold,v=void 0===x||x,N=r.className,h=r.focusedClassName,j=r.required,b=r.dataTestId,g=r.clear,E=void 0!==g&&g,q=r.onChange,A=r.onClear,T=e(r,["value","suffix","placeholder","bold","className","focusedClassName","required","dataTestId","clear","onChange","onClear"]),w=a(f),y=w[0],I=w[1];t((function(){return y!==f?I(f):function(){}}),[f]);var P=i((function(e){I(""),A&&A(e)}),[A]);return n.createElement("div",{className:s(d.container,(c={},c[d.bold]=v,c[d.filled]=Boolean(y),c))},n.createElement(u,o({},T,{suffix:n.createElement(l,null,y,n.createElement("span",{className:d.minorPartAndCurrency}," ",p)),suffixContainerClassName:d.suffixContainer,clear:E,required:j,placeholder:C,value:y,className:s(d.component,N),focusedClassName:h,inputClassName:d.input,onChange:function(e){var o=e.target,n=o.value;if(n===y){var r=o.selectionStart;window.requestAnimationFrame((function(){o.selectionStart=r,o.selectionEnd=r}))}I(n),q&&q(e,{value:n})},onClear:P,dataTestId:b,ref:m})))}));export{f as SuffixInput};
@@ -1 +1 @@
1
- export{SuffixInput}from"./component.js";import"../tslib.es6-5f92d514.js";import"react";import"classnames";import"../input/component.js";import"react-merge-refs";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../with-suffix/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";
1
+ export{SuffixInput}from"./component.js";import"../tslib.es6-c88014b9.js";import"react";import"classnames";import"../input/component.js";import"react-merge-refs";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../with-suffix/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";
@@ -1 +1 @@
1
- import e from"react";import{Typography as t}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-5f92d514.js";import"../typography/title/component.js";import"classnames";import"../colors.module-cc121901.js";import"../common.module-d34bb3c5.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var o="index-module_component__3E6RG",m="index-module_leftSide__27t82",r="index-module_leftAddons__1hmka",n="index-module_rightAddons__oESgN",i=function(i){var s=i.text,p=i.leftAddons,d=i.rightAddons;return e.createElement("div",{className:o},e.createElement("div",{className:m},e.createElement(t.Text,{weight:"bold",tag:"span"},s),p&&e.createElement("div",{className:r},p)),d&&e.createElement("div",{className:n},d))};export{i as SuperListHeader};
1
+ import e from"react";import{Typography as t}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c88014b9.js";import"../typography/title/component.js";import"classnames";import"../colors.module-ad73c09a.js";import"../common.module-10ade317.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var o="index-module_component__3E6RG",m="index-module_leftSide__27t82",r="index-module_leftAddons__1hmka",n="index-module_rightAddons__oESgN",a=function(a){var i=a.text,s=a.leftAddons,p=a.rightAddons;return e.createElement("div",{className:o},e.createElement("div",{className:m},e.createElement(t.Text,{weight:"bold",tag:"span"},i),s&&e.createElement("div",{className:r},s)),p&&e.createElement("div",{className:n},p))};export{a as SuperListHeader};
@@ -1 +1 @@
1
- export{SuperListHeader}from"./component.js";import"react";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-5f92d514.js";import"../typography/title/component.js";import"classnames";import"../colors.module-cc121901.js";import"../common.module-d34bb3c5.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
1
+ export{SuperListHeader}from"./component.js";import"react";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c88014b9.js";import"../typography/title/component.js";import"classnames";import"../colors.module-ad73c09a.js";import"../common.module-10ade317.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
@@ -1 +1 @@
1
- import e from"react";import t from"classnames";import{Typography as o}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-5f92d514.js";import"../typography/title/component.js";import"../colors.module-cc121901.js";import"../common.module-d34bb3c5.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var m="index-module_component__2owJP",r="index-module_leftSide__dDCo_",s="index-module_leftAddons__gqGvn",a="index-module_disabled_dot__2wF8s",d="index-module_rightAddons__QpHoK",i=function(i){var n=i.text,l=i.rightAddons,c=i.leftAddons,p=i.color,_=void 0===p?"secondary":p,g=i.disabled,v=i.className,y=i.weight,u=void 0===y?"regular":y;return e.createElement("div",{className:t(m,v)},e.createElement("div",{className:r},c&&!g&&e.createElement("div",{className:s},c),g&&e.createElement("div",{className:s},e.createElement("span",{className:a})),e.createElement(o.Text,{weight:u,color:_,view:"title",tag:"span"},n)),l&&e.createElement("div",{className:d},l))};export{i as SuperListItem};
1
+ import e from"react";import t from"classnames";import{Typography as o}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c88014b9.js";import"../typography/title/component.js";import"../colors.module-ad73c09a.js";import"../common.module-10ade317.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var m="index-module_component__2owJP",a="index-module_leftSide__dDCo_",r="index-module_leftAddons__gqGvn",s="index-module_disabled_dot__2wF8s",d="index-module_rightAddons__QpHoK",i=function(i){var n=i.text,l=i.rightAddons,p=i.leftAddons,c=i.color,_=void 0===c?"secondary":c,g=i.disabled,v=i.className,y=i.weight,u=void 0===y?"regular":y;return e.createElement("div",{className:t(m,v)},e.createElement("div",{className:a},p&&!g&&e.createElement("div",{className:r},p),g&&e.createElement("div",{className:r},e.createElement("span",{className:s})),e.createElement(o.Text,{weight:u,color:_,view:"title",tag:"span"},n)),l&&e.createElement("div",{className:d},l))};export{i as SuperListItem};
@@ -1 +1 @@
1
- export{SuperListItem}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-5f92d514.js";import"../typography/title/component.js";import"../colors.module-cc121901.js";import"../common.module-d34bb3c5.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
1
+ export{SuperListItem}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c88014b9.js";import"../typography/title/component.js";import"../colors.module-ad73c09a.js";import"../common.module-10ade317.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
@@ -16,7 +16,7 @@ type SwitchProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'hint' |
16
16
  }) => void;
17
17
  dataTestId?: string;
18
18
  };
19
- declare const Switch: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "color" | "className" | "children" | "form" | "list" | "slot" | "style" | "title" | "pattern" | "value" | "size" | "id" | "src" | "alt" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "step" | "required" | "accept" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "width"> & {
19
+ declare const Switch: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "form" | "slot" | "style" | "title" | "pattern" | "children" | "size" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "list" | "step" | "required" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "src" | "width"> & {
20
20
  checked?: boolean | undefined;
21
21
  label?: ReactNode;
22
22
  hint?: ReactNode;
@@ -1 +1 @@
1
- import{_ as e,a}from"../tslib.es6-5f92d514.js";import d,{forwardRef as n,useRef as s,useCallback as t}from"react";import c from"react-merge-refs";import l from"classnames";import{useFocus as o}from"../hooks/useFocus/index.js";var m={component:"index-module_component__1AP_p",checked:"index-module_checked__2oqiY",switch:"index-module_switch__GR_yw",start:"index-module_start__2JC_c",center:"index-module_center__HJdzR",addons:"index-module_addons__2n-cM",block:"index-module_block__3g4Ka",content:"index-module_content__2AI9y",label:"index-module_label__3gE5K",hint:"index-module_hint__2uMpX",reversed:"index-module_reversed__TQn2L",disabled:"index-module_disabled__1-qzh",focused:"index-module_focused__2WhHc"},i=n((function(n,i){var r,_=n.reversed,u=void 0!==_&&_,h=n.checked,b=void 0!==h&&h,p=n.align,k=void 0===p?"start":p,x=n.addons,f=n.block,v=n.disabled,g=n.label,E=n.hint,N=n.name,w=n.value,y=n.className,C=n.onChange,I=n.dataTestId,T=e(n,["reversed","checked","align","addons","block","disabled","label","hint","name","value","className","onChange","dataTestId"]),j=s(null),q=o(j,"keyboard")[0],z=t((function(e){C&&C(e,{checked:e.target.checked,name:N})}),[C,N]);return d.createElement("label",{className:l(m.component,m[k],y,(r={},r[m.disabled]=v,r[m.checked]=b,r[m.reversed]=u,r[m.focused]=q,r[m.block]=f,r)),ref:c([j,i])},d.createElement("input",a({type:"checkbox",onChange:z,disabled:v,checked:b,name:N,value:w,"data-test-id":I},T)),d.createElement("span",{className:m.switch}),(g||E)&&d.createElement("span",{className:m.content},g&&d.createElement("span",{className:m.label},g),E&&d.createElement("span",{className:m.hint},E)),x&&d.createElement("span",{className:m.addons},x))}));export{i as Switch};
1
+ import{_ as e,a}from"../tslib.es6-c88014b9.js";import d,{forwardRef as n,useRef as c,useCallback as s}from"react";import t from"react-merge-refs";import l from"classnames";import{useFocus as o}from"../hooks/useFocus/index.js";var m={component:"index-module_component__1AP_p",checked:"index-module_checked__2oqiY",switch:"index-module_switch__GR_yw",start:"index-module_start__2JC_c",center:"index-module_center__HJdzR",addons:"index-module_addons__2n-cM",block:"index-module_block__3g4Ka",content:"index-module_content__2AI9y",label:"index-module_label__3gE5K",hint:"index-module_hint__2uMpX",reversed:"index-module_reversed__TQn2L",disabled:"index-module_disabled__1-qzh",focused:"index-module_focused__2WhHc"},i=n((function(n,i){var r,_=n.reversed,u=void 0!==_&&_,h=n.checked,b=void 0!==h&&h,p=n.align,k=void 0===p?"start":p,x=n.addons,v=n.block,f=n.disabled,g=n.label,E=n.hint,N=n.name,w=n.value,y=n.className,C=n.onChange,I=n.dataTestId,T=e(n,["reversed","checked","align","addons","block","disabled","label","hint","name","value","className","onChange","dataTestId"]),j=c(null),q=o(j,"keyboard")[0],z=s((function(e){C&&C(e,{checked:e.target.checked,name:N})}),[C,N]);return d.createElement("label",{className:l(m.component,m[k],y,(r={},r[m.disabled]=f,r[m.checked]=b,r[m.reversed]=u,r[m.focused]=q,r[m.block]=v,r)),ref:t([j,i])},d.createElement("input",a({type:"checkbox",onChange:z,disabled:f,checked:b,name:N,value:w,"data-test-id":I},T)),d.createElement("span",{className:m.switch}),(g||E)&&d.createElement("span",{className:m.content},g&&d.createElement("span",{className:m.label},g),E&&d.createElement("span",{className:m.hint},E)),x&&d.createElement("span",{className:m.addons},x))}));export{i as Switch};
@@ -1 +1 @@
1
- export{Switch}from"./component.js";import"../tslib.es6-5f92d514.js";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";
1
+ export{Switch}from"./component.js";import"../tslib.es6-c88014b9.js";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";
@@ -2,20 +2,12 @@
2
2
  declare const ClientsColumns: (t: any) => ({
3
3
  Header: any;
4
4
  accessor: string;
5
- Cell: ({ row: { original } }: {
6
- row: {
7
- original: any;
8
- };
9
- }) => JSX.Element;
5
+ Cell: ({ cell, row: { original } }: any) => JSX.Element;
10
6
  enableSort?: undefined;
11
7
  } | {
12
8
  Header: any;
13
9
  accessor: string;
14
10
  enableSort: boolean;
15
- Cell: ({ row: { original } }: {
16
- row: {
17
- original: any;
18
- };
19
- }) => JSX.Element;
11
+ Cell: ({ cell, row: { original } }: any) => JSX.Element;
20
12
  })[];
21
13
  export { ClientsColumns };
@@ -1 +1 @@
1
- import t from"react";import{Table as o}from"./component.js";import"classnames";import"ts-keycode-enum";import"../cell/pure/component.js";import"./components/cell/component.js";import"../tslib.es6-5f92d514.js";import"../component-fa2c94c0.js";import"../__internal/utils/getDataTestId.js";import"../hooks/useFocus/index.js";import"../super-ellipse/component.js";import"../super-ellipse-pure/component.js";import"../super-ellipse-shape/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-cc121901.js";import"../common.module-d34bb3c5.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../divider/component.js";import"../avatar/component.js";import"../spinner/component.js";import"../avatar/hooks/use-image-loading-state.js";import"../cell/transaction/component.js";import"../amount/component.js";import"../utils/format-amount/util.js";import"../utils/get-currency-symbol/util.js";import"../utils/data/currency-codes.js";import"../utils/split-amount/util.js";import"./components/row/component.js";import"./table.js";import"react-table";import"./components/cells/index.js";import"alpha-cli-icons";import"./components/pagination/index.js";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"./languages/index.js";import"./components/rows/index.js";import"./components/empty-list/index.js";import"./components/error/index.js";import"./components/loading/index.js";import"./components/table-header/index.js";import"./hooks/use-table-data.js";import"./utils/get-query-from-url.js";import"../parse-query-params-42783896.js";import"../_commonjsHelpers-51fecfef.js";import"./utils/add-query-param.js";import"./utils/set-query-to-url.js";import"./utils/get-tags.js";import"./utils/remove-query-param.js";import"./utils/reset-query-param.js";import"./utils/serialize-data.js";import"./utils/sort-array.js";import"./utils/is-object.js";var e=function(e){return[{Header:e("tables.certificate"),accessor:"title",Cell:function(e){var r=e.row.original;return t.createElement(o.Cell,{title:r.title})}},{Header:e("tables.order"),accessor:"description",enableSort:!0,Cell:function(e){var r=e.row.original;return t.createElement(o.Cell,{title:r.time})}}]};export{e as ClientsColumns};
1
+ import t from"react";import{Image as o}from"../image/component.js";import"../image/typings.js";import"../image/constants.js";import{Table as e}from"./component.js";import"classnames";import"../cell/pure/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-c88014b9.js";import"../typography/title/component.js";import"../colors.module-ad73c09a.js";import"../common.module-10ade317.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../use-image-render-component-c2070538.js";import"alpha-cli-icons";import"../spinner/component.js";import"../image/utils.js";import"./components/cell/component.js";import"../component-9ce2c0ee.js";import"../__internal/utils/getDataTestId.js";import"../hooks/useFocus/index.js";import"./components/row/component.js";import"./table.js";import"react-table";import"./components/cells/index.js";import"./components/pagination/index.js";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"./languages/index.js";import"./components/rows/index.js";import"./components/empty-list/index.js";import"./components/error/index.js";import"./components/loading/index.js";import"./components/table-header/index.js";import"./hooks/use-table-data.js";import"./utils/get-query-from-url.js";import"../parse-query-params-d519bf2a.js";import"../_commonjsHelpers-3e170942.js";import"./utils/add-query-param.js";import"./utils/set-query-to-url.js";import"./utils/get-tags.js";import"./utils/remove-query-param.js";import"./utils/reset-query-param.js";import"./utils/serialize-data.js";import"./utils/sort-array.js";import"./utils/is-object.js";var r=function(r){return[{Header:r("tables.certificate"),accessor:"title",Cell:function(r){r.cell;var i=r.row.original;return t.createElement(e.Cell,{title:i.title,addon:t.createElement(o,{src:i.photo,text:i.title,view:"ellipse"})})}},{Header:r("tables.order"),accessor:"description",enableSort:!0,Cell:function(o){o.cell;var r=o.row.original;return t.createElement(e.Cell,{title:r.time})}}]};export{r as ClientsColumns};
@@ -1 +1 @@
1
- import{Cell as o}from"./components/cell/component.js";import{Row as t}from"./components/row/component.js";import{Table as e}from"./table.js";import"../tslib.es6-5f92d514.js";import"react";import"classnames";import"../component-fa2c94c0.js";import"ts-keycode-enum";import"../__internal/utils/getDataTestId.js";import"../hooks/useFocus/index.js";import"../super-ellipse/component.js";import"../super-ellipse-pure/component.js";import"../super-ellipse-shape/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-cc121901.js";import"../common.module-d34bb3c5.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../divider/component.js";import"../cell/pure/component.js";import"../avatar/component.js";import"../spinner/component.js";import"../avatar/hooks/use-image-loading-state.js";import"../cell/transaction/component.js";import"../amount/component.js";import"../utils/format-amount/util.js";import"../utils/get-currency-symbol/util.js";import"../utils/data/currency-codes.js";import"../utils/split-amount/util.js";import"react-table";import"./components/cells/index.js";import"alpha-cli-icons";import"./components/pagination/index.js";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"./languages/index.js";import"./components/rows/index.js";import"./components/empty-list/index.js";import"./components/error/index.js";import"./components/loading/index.js";import"./components/table-header/index.js";import"./hooks/use-table-data.js";import"./utils/get-query-from-url.js";import"../parse-query-params-42783896.js";import"../_commonjsHelpers-51fecfef.js";import"./utils/add-query-param.js";import"./utils/set-query-to-url.js";import"./utils/get-tags.js";import"./utils/remove-query-param.js";import"./utils/reset-query-param.js";import"./utils/serialize-data.js";import"./utils/sort-array.js";import"./utils/is-object.js";var s={Cell:o,Row:t,TableComponent:e};export{s as Table};
1
+ import{Cell as o}from"./components/cell/component.js";import{Row as t}from"./components/row/component.js";import{Table as e}from"./table.js";import"../tslib.es6-c88014b9.js";import"react";import"classnames";import"../component-9ce2c0ee.js";import"../__internal/utils/getDataTestId.js";import"../hooks/useFocus/index.js";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-ad73c09a.js";import"../common.module-10ade317.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../cell/pure/component.js";import"react-table";import"./components/cells/index.js";import"alpha-cli-icons";import"./components/pagination/index.js";import"../button/component.js";import"react-merge-refs";import"../loader/component.js";import"./languages/index.js";import"./components/rows/index.js";import"./components/empty-list/index.js";import"./components/error/index.js";import"./components/loading/index.js";import"./components/table-header/index.js";import"./hooks/use-table-data.js";import"./utils/get-query-from-url.js";import"../parse-query-params-d519bf2a.js";import"../_commonjsHelpers-3e170942.js";import"./utils/add-query-param.js";import"./utils/set-query-to-url.js";import"./utils/get-tags.js";import"./utils/remove-query-param.js";import"./utils/reset-query-param.js";import"./utils/serialize-data.js";import"./utils/sort-array.js";import"./utils/is-object.js";var r={Cell:o,Row:t,TableComponent:e};export{r as Table};
@@ -4,7 +4,11 @@ import { BaseProps } from "../../../cell/base/index";
4
4
  type CellProps = {
5
5
  className?: string;
6
6
  dataTestID?: string;
7
- title?: React.ReactNode;
8
- } & React.TdHTMLAttributes<any> & Omit<BaseProps, 'title'>;
7
+ title?: BaseProps['title'];
8
+ subtitle?: BaseProps['subtitle'];
9
+ cellProps?: Omit<BaseProps, 'title' | 'subtitle'>;
10
+ tableProps?: React.TdHTMLAttributes<any>;
11
+ addon?: React.ReactNode;
12
+ };
9
13
  declare const Cell: React.FC<CellProps>;
10
14
  export { CellProps, Cell };
@@ -1 +1 @@
1
- import{_ as t,a as e}from"../../../tslib.es6-5f92d514.js";import o from"react";import s from"classnames";import{C as m}from"../../../component-fa2c94c0.js";import"ts-keycode-enum";import"../../../__internal/utils/getDataTestId.js";import"../../../hooks/useFocus/index.js";import"../../../super-ellipse/component.js";import"../../../super-ellipse-pure/component.js";import"../../../super-ellipse-shape/component.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-cc121901.js";import"../../../common.module-d34bb3c5.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";import"../../../divider/component.js";import"../../../cell/pure/component.js";import"../../../avatar/component.js";import"../../../spinner/component.js";import"../../../avatar/hooks/use-image-loading-state.js";import"../../../cell/transaction/component.js";import"../../../amount/component.js";import"../../../utils/format-amount/util.js";import"../../../utils/get-currency-symbol/util.js";import"../../../utils/data/currency-codes.js";import"../../../utils/split-amount/util.js";var r="index-module_cell__OF2zH",i="index-module_children__35FGz",p=function(p){var n=p.dataTestID,a=p.className,l=p.children,c=p.title,u=t(p,["dataTestID","className","children","title"]);return o.createElement("td",e({"data-test-id":n,className:s(r,a)},u),l?o.createElement("div",{className:s(i)},l):o.createElement(m.Base,e({title:c||"-"},u)))};export{p as Cell};
1
+ import{a as t}from"../../../tslib.es6-c88014b9.js";import e from"react";import o from"classnames";import{C as r}from"../../../component-9ce2c0ee.js";import"../../../__internal/utils/getDataTestId.js";import"../../../hooks/useFocus/index.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-ad73c09a.js";import"../../../common.module-10ade317.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";import"../../../cell/pure/component.js";var s="index-module_cell__OF2zH",m="index-module_children__35FGz",a=function(a){var p=a.dataTestID,i=a.className,l=a.children,n=a.title,c=a.subtitle,d=a.tableProps,j=a.cellProps,u=a.addon;return e.createElement("td",t({"data-test-id":p,className:o(s,i)},d),l?e.createElement("div",{className:o(m)},l):e.createElement(r.Base,t({title:n||"-",subtitle:c,addon:u},j)))};export{a as Cell};
@@ -1 +1 @@
1
- export{Cell}from"./component.js";import"../../../tslib.es6-5f92d514.js";import"react";import"classnames";import"../../../component-fa2c94c0.js";import"ts-keycode-enum";import"../../../__internal/utils/getDataTestId.js";import"../../../hooks/useFocus/index.js";import"../../../super-ellipse/component.js";import"../../../super-ellipse-pure/component.js";import"../../../super-ellipse-shape/component.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-cc121901.js";import"../../../common.module-d34bb3c5.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";import"../../../divider/component.js";import"../../../cell/pure/component.js";import"../../../avatar/component.js";import"../../../spinner/component.js";import"../../../avatar/hooks/use-image-loading-state.js";import"../../../cell/transaction/component.js";import"../../../amount/component.js";import"../../../utils/format-amount/util.js";import"../../../utils/get-currency-symbol/util.js";import"../../../utils/data/currency-codes.js";import"../../../utils/split-amount/util.js";
1
+ export{Cell}from"./component.js";import"../../../tslib.es6-c88014b9.js";import"react";import"classnames";import"../../../component-9ce2c0ee.js";import"../../../__internal/utils/getDataTestId.js";import"../../../hooks/useFocus/index.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-ad73c09a.js";import"../../../common.module-10ade317.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";import"../../../cell/pure/component.js";
@@ -1 +1 @@
1
- import{a as e}from"../../../tslib.es6-5f92d514.js";import r from"react";import{ChevronForwardS as o}from"alpha-cli-icons";import t from"classnames";import{Typography as a}from"../../../typography/component.js";import{Row as n}from"../row/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-cc121901.js";import"../../../common.module-d34bb3c5.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var d={header_row:"index-module_header_row__1Coio",head_cell:"index-module_head_cell__Huons",clickable:"index-module_clickable__1StIl",head_wrapper:"index-module_head_wrapper__5RA17",arrow:"index-module_arrow__28ZHq",accent:"index-module_accent__1mJqP",up:"index-module_up__1VJxJ",down:"index-module_down__23K1t"},l=function(l){var i=l.headerGroups,m=l.addParam,c=l.params;return r.createElement(r.Fragment,null,i.map((function(l){return r.createElement(n,e({className:d.header_row},l.getHeaderGroupProps()),l.headers.map((function(e){var n,l;e.isSorted=(null==c?void 0:c.sort)===e.id,e.isSortedDesc="ASC"===(null==c?void 0:c.order);var i=!e.isSorted||e.isSortedDesc?"down":"up";return r.createElement("th",{className:t(d.head_cell,(n={},n[d.clickable]=e.enableSort,n)),align:"left",onClick:function(){return function(e){return e.enableSort?(e.isSorted&&e.isSortedDesc?m({sort:void 0,order:void 0}):m({sort:e.id,order:e.isSorted?"ASC":"DESC"}),null):null}(e)}},r.createElement(a.Text,{className:d.head_wrapper,tag:"div",view:"caps",color:"secondary",weight:"medium"},e.render("Header").toUpperCase(),e.enableSort&&r.createElement("span",{className:t(d.arrow,d[i],(l={},l[d.accent]=e.isSorted,l))},r.createElement(o,null))))})))})))};export{l as Cells};
1
+ import{a as e}from"../../../tslib.es6-c88014b9.js";import r from"react";import{ChevronForwardS as o}from"alpha-cli-icons";import t from"classnames";import{Typography as a}from"../../../typography/component.js";import{Row as n}from"../row/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-ad73c09a.js";import"../../../common.module-10ade317.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var d={header_row:"index-module_header_row__1Coio",head_cell:"index-module_head_cell__Huons",clickable:"index-module_clickable__1StIl",head_wrapper:"index-module_head_wrapper__5RA17",arrow:"index-module_arrow__28ZHq",accent:"index-module_accent__1mJqP",up:"index-module_up__1VJxJ",down:"index-module_down__23K1t"},l=function(l){var i=l.headerGroups,m=l.addParam,s=l.params;return r.createElement(r.Fragment,null,i.map((function(l){return r.createElement(n,e({className:d.header_row},l.getHeaderGroupProps()),l.headers.map((function(n){var l,i;n.isSorted=(null==s?void 0:s.sort)===n.id,n.isSortedDesc="ASC"===(null==s?void 0:s.order);var c=!n.isSorted||n.isSortedDesc?"down":"up";return r.createElement("th",e({className:t(d.head_cell,(l={},l[d.clickable]=n.enableSort,l)),align:"left",onClick:function(){return function(e){return e.enableSort?(e.isSorted&&e.isSortedDesc?m({sort:void 0,order:void 0}):m({sort:e.id,order:e.isSorted?"ASC":"DESC"}),null):null}(n)}},n.getHeaderProps()),r.createElement(a.Text,{className:d.head_wrapper,tag:"div",view:"caps",color:"secondary",weight:"medium"},n.render("Header").toUpperCase(),n.enableSort&&r.createElement("span",{className:t(d.arrow,d[c],(i={},i[d.accent]=n.isSorted,i))},r.createElement(o,null))))})))})))};export{l as Cells};
@@ -1 +1 @@
1
- import t from"react";import{Typography as e}from"../../../typography/component.js";import{translate as o}from"../../languages/index.js";import"../../../typography/title/index.js";import"../../../tslib.es6-5f92d514.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-cc121901.js";import"../../../common.module-d34bb3c5.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var m="index-module_empty_list__428Kf",p=function(p){var r=p.language;return t.createElement("div",{className:m},t.createElement(e.Text,{view:"title"},o(r)("emptyList")))};export{p as EmptyList};
1
+ import t from"react";import{Typography as e}from"../../../typography/component.js";import{translate as o}from"../../languages/index.js";import"../../../typography/title/index.js";import"../../../tslib.es6-c88014b9.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-ad73c09a.js";import"../../../common.module-10ade317.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var m="index-module_empty_list__428Kf",p=function(p){var r=p.language;return t.createElement("div",{className:m},t.createElement(e.Text,{view:"title"},o(r)("emptyList")))};export{p as EmptyList};
@@ -1 +1 @@
1
- import t from"react";import{Typography as e}from"../../../typography/component.js";import{translate as o}from"../../languages/index.js";import"../../../typography/title/index.js";import"../../../tslib.es6-5f92d514.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-cc121901.js";import"../../../common.module-d34bb3c5.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var r="index-module_empty_list__eV-Yg",m=function(m){var p=m.language;return t.createElement("div",{className:r},t.createElement(e.Text,{view:"title"},o(p)("error")))};export{m as Error};
1
+ import t from"react";import{Typography as e}from"../../../typography/component.js";import{translate as o}from"../../languages/index.js";import"../../../typography/title/index.js";import"../../../tslib.es6-c88014b9.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-ad73c09a.js";import"../../../common.module-10ade317.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var r="index-module_empty_list__eV-Yg",m=function(m){var p=m.language;return t.createElement("div",{className:r},t.createElement(e.Text,{view:"title"},o(p)("error")))};export{m as Error};
@@ -1 +1 @@
1
- import e from"react";import{ChevronForwardS as t}from"alpha-cli-icons";import n from"classnames";import{Button as o}from"../../../button/component.js";import{Typography as a}from"../../../typography/component.js";import{translate as r}from"../../languages/index.js";import"../../../tslib.es6-5f92d514.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-cc121901.js";import"../../../common.module-d34bb3c5.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var i="index-module_pagination_wrap__1Pf2T",l="index-module_pagination__3z3iJ",m="index-module_pages_info__3YNLY",s="index-module_prev_btn__CQ4VT",c="index-module_disabled_btn__1_hCe",p="index-module_pagination_btn__1naj1",u="index-module_btn__4QUl7",d="index-module_active__jRfaP",g="index-module_select__hGK1a";var _=function(_){var f,h,v,x,E,j=_.pagesCount,y=_.currentPage,b=_.recordsPerPage,N=void 0===b?30:b,C=_.total,k=_.language,w=_.addParam,P=function(e,t){for(var n=e-2,o=e+2+1,a=[],r=[],i=0,l=1;l<=t;l++)(1===l||l===t||l>=n&&l<o)&&a.push(l);return a.forEach((function(e){i&&(e-i==2?r.push(i+1):e-i!=1&&r.push("...")),r.push(e),i=e})),r}(y,j),T=1===y,F=y===j;return e.createElement("div",{className:i},e.createElement("div",{className:m},(v=1===y?1:(y-1)*N,E=(x=N*y)>C?C:x,e.createElement(a.Text,{view:"title",weight:"medium",color:"secondary"},r(k)("resultsFromTo")," ",r(k)("from")," ",e.createElement("strong",null,v," "),r(k)("to")," ",e.createElement("strong",null,E," "),r(k)("totalCount")," ",e.createElement("strong",null,C," ")))),P.length>1&&e.createElement("div",{className:l},e.createElement(o,{className:n(s,u,(f={},f[c]=T,f)),leftAddons:e.createElement(t,null),view:"ghost",onClick:function(){return w({page:y-1})},disabled:T}),P.map((function(t,a){var r;return Number.isFinite(t)?e.createElement(o,{className:n(p,(r={},r[d]=t===y,r)),size:"xs",view:"ghost",key:t,onClick:function(){return w({page:t})}},t):e.createElement(o,{key:t+a,className:n(p),view:"ghost",disabled:!0},"...")})),e.createElement(o,{className:n(u,(h={},h[c]=F,h)),leftAddons:e.createElement(t,null),view:"ghost",onClick:function(){w({page:y+1})},disabled:F})),e.createElement("select",{value:N,className:g,onChange:function(e){w({page:1,limit:e.target.value})}},[5,10,20,30,40,50].map((function(t){return e.createElement("option",{key:t,value:t},r(k)("resultsOnPage")+"    "+t+"   ")}))))};export{_ as Pagination};
1
+ import e from"react";import{ChevronForwardS as t}from"alpha-cli-icons";import n from"classnames";import{Button as o}from"../../../button/component.js";import{Typography as a}from"../../../typography/component.js";import{translate as r}from"../../languages/index.js";import"../../../tslib.es6-c88014b9.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-ad73c09a.js";import"../../../common.module-10ade317.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var i="index-module_pagination_wrap__1Pf2T",l="index-module_pagination__3z3iJ",m="index-module_pages_info__3YNLY",s="index-module_prev_btn__CQ4VT",c="index-module_disabled_btn__1_hCe",p="index-module_pagination_btn__1naj1",u="index-module_btn__4QUl7",d="index-module_active__jRfaP",g="index-module_select__hGK1a";var _=function(_){var f,h,v,x,E,j=_.pagesCount,y=_.currentPage,b=_.recordsPerPage,N=void 0===b?30:b,C=_.total,k=_.language,w=_.addParam,P=function(e,t){for(var n=e-2,o=e+2+1,a=[],r=[],i=0,l=1;l<=t;l++)(1===l||l===t||l>=n&&l<o)&&a.push(l);return a.forEach((function(e){i&&(e-i==2?r.push(i+1):e-i!=1&&r.push("...")),r.push(e),i=e})),r}(y,j),T=1===y,F=y===j;return e.createElement("div",{className:i},e.createElement("div",{className:m},(v=1===y?1:(y-1)*N,E=(x=N*y)>C?C:x,e.createElement(a.Text,{view:"title",weight:"medium",color:"secondary"},r(k)("resultsFromTo")," ",r(k)("from")," ",e.createElement("strong",null,v," "),r(k)("to")," ",e.createElement("strong",null,E," "),r(k)("totalCount")," ",e.createElement("strong",null,C," ")))),P.length>1&&e.createElement("div",{className:l},e.createElement(o,{className:n(s,u,(f={},f[c]=T,f)),leftAddons:e.createElement(t,null),view:"ghost",onClick:function(){return w({page:y-1})},disabled:T}),P.map((function(t,a){var r;return Number.isFinite(t)?e.createElement(o,{className:n(p,(r={},r[d]=t===y,r)),size:"xs",view:"ghost",key:t,onClick:function(){return w({page:t})}},t):e.createElement(o,{key:t+a,className:n(p),view:"ghost",disabled:!0},"...")})),e.createElement(o,{className:n(u,(h={},h[c]=F,h)),leftAddons:e.createElement(t,null),view:"ghost",onClick:function(){w({page:y+1})},disabled:F})),e.createElement("select",{value:N,className:g,onChange:function(e){w({page:1,limit:e.target.value})}},[5,10,20,30,40,50].map((function(t){return e.createElement("option",{key:t,value:t},r(k)("resultsOnPage")+"    "+t+"   ")}))))};export{_ as Pagination};
@@ -1 +1 @@
1
- import{_ as a,a as e}from"../../../tslib.es6-5f92d514.js";import r from"react";import t from"classnames";var s="index-module_row__1M9Ag",l="index-module_clickable__1L76r",c=function(c){var i,o=c.children,m=c.onClick,n=c.dataTestID,d=c.className,_=a(c,["children","onClick","dataTestID","className"]);return r.createElement("tr",e({onClick:m},_,{"data-test-id":n,className:t(s,d,(i={},i[l]=!!m,i))}),o)};export{c as Row};
1
+ import{_ as a,a as e}from"../../../tslib.es6-c88014b9.js";import r from"react";import t from"classnames";var s="index-module_row__1M9Ag",c="index-module_clickable__1L76r",l=function(l){var i,o=l.children,m=l.onClick,n=l.dataTestID,d=l.className,_=a(l,["children","onClick","dataTestID","className"]);return r.createElement("tr",e({onClick:m},_,{"data-test-id":n,className:t(s,d,(i={},i[c]=!!m,i))}),o)};export{l as Row};
@@ -1 +1 @@
1
- export{Row}from"./component.js";import"../../../tslib.es6-5f92d514.js";import"react";import"classnames";
1
+ export{Row}from"./component.js";import"../../../tslib.es6-c88014b9.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import{a as e}from"../../../tslib.es6-5f92d514.js";import o from"react";import t from"classnames";import{EmptyList as r}from"../empty-list/index.js";import{Error as n}from"../error/index.js";import{Loading as m}from"../loading/index.js";import{Row as p}from"../row/component.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-cc121901.js";import"../../../common.module-d34bb3c5.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";import"../../languages/index.js";import"../../../loader/component.js";var i={empty_list:"index-module_empty_list__2gH8c"},a=function(a){var l=a.onRowClick,s=a.prepareRow,c=a.rows,g=a.loading,d=a.error,u=a.language;return d?o.createElement(n,{language:u}):g?o.createElement(m,null):c.length?o.createElement(o.Fragment,null,c.map((function(r){var n;s(r);var m=r.getRowProps().key;return o.createElement(p,e({dataTestID:""+m,onClick:function(){l&&l({recordId:r.original.id})},className:t(i.table_row,(n={},n[i.clickable]=!!l,n))},r.getRowProps()),r.cells.map((function(e){return e.render("Cell")})))}))):o.createElement(r,{language:u})};export{a as Rows};
1
+ import{a as e}from"../../../tslib.es6-c88014b9.js";import o from"react";import t from"classnames";import{EmptyList as r}from"../empty-list/index.js";import{Error as n}from"../error/index.js";import{Loading as m}from"../loading/index.js";import{Row as a}from"../row/component.js";import"../../../typography/component.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../colors.module-ad73c09a.js";import"../../../common.module-10ade317.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";import"../../languages/index.js";import"../../../loader/component.js";var p={empty_list:"index-module_empty_list__2gH8c"},i=function(i){var l=i.onRowClick,s=i.prepareRow,c=i.rows,g=i.loading,d=i.error,u=i.language;return d?o.createElement(n,{language:u}):g?o.createElement(m,null):c.length?o.createElement(o.Fragment,null,c.map((function(r){var n;s(r);var m=r.getRowProps().key;return o.createElement(a,e({dataTestID:""+m,onClick:function(){l&&l({recordId:r.original.id})},className:t(p.table_row,(n={},n[p.clickable]=!!l,n))},r.getRowProps()),r.cells.map((function(e){return e.render("Cell",e.getCellProps())})))}))):o.createElement(r,{language:u})};export{i as Rows};
@@ -1 +1 @@
1
- import e from"react";import{SearchM as t,CloseS as n,PlusS as a,ControllerS as l}from"alpha-cli-icons";import{Button as o}from"../../../button/component.js";import{translate as r}from"../../languages/index.js";import"../../../tslib.es6-5f92d514.js";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var i="index-module_table_header__3NmqR",s="index-module_actions__2WmdB",m="index-module_input__2iguo",c="index-module_input_clear_btn__3Reyi",d="index-module_tags__EbdAH",u="index-module_buttons__2n5aF",p=function(p){var _=p.tags,x=p.searchPlaceholder,v=void 0===x?"Type something..":x,E=p.searchText,g=p.addParam,h=p.onCreateClick,f=p.onDownloadClick,C=p.onFiltersClick,k=p.showFiltersButton,b=p.language;return e.createElement("div",{className:i},e.createElement("div",{className:s},e.createElement("div",{className:m},e.createElement(t,null),e.createElement("input",{autoComplete:"none",value:E,onChange:function(e){g({searchText:e.target.value||void 0,page:1})},placeholder:v,type:"text"}),E&&e.createElement(o,{className:c,leftAddons:e.createElement(n,null),view:"ghost",onClick:function(){return g({searchText:""})}})),e.createElement("div",{className:u},!!h&&e.createElement(o,{dataTestId:"createbtn",onClick:h,view:"primary",leftAddons:e.createElement(a,null),size:"xs"},r(b)("create")),!!f&&e.createElement(o,{view:"outlined",size:"xs",onClick:f},r(b)("export")),k&&e.createElement(o,{leftAddons:e.createElement(l,null),onClick:C,view:"outlined",size:"xs"},r(b)("filters")))),!!_.length&&e.createElement("div",{className:d},_))};export{p as TableHeader};
1
+ import e from"react";import{SearchM as t,CloseS as n,PlusS as a,ControllerS as l}from"alpha-cli-icons";import{Button as o}from"../../../button/component.js";import{translate as r}from"../../languages/index.js";import"../../../tslib.es6-c88014b9.js";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var i="index-module_table_header__3NmqR",s="index-module_actions__2WmdB",c="index-module_input__2iguo",m="index-module_input_clear_btn__3Reyi",d="index-module_tags__EbdAH",u="index-module_buttons__2n5aF",p=function(p){var _=p.tags,x=p.searchPlaceholder,v=void 0===x?"Type something..":x,E=p.searchText,g=p.addParam,h=p.onCreateClick,f=p.onDownloadClick,C=p.onFiltersClick,b=p.showFiltersButton,k=p.language;return e.createElement("div",{className:i},e.createElement("div",{className:s},e.createElement("div",{className:c},e.createElement(t,null),e.createElement("input",{autoComplete:"none",value:E,onChange:function(e){g({searchText:e.target.value||void 0,page:1})},placeholder:v,type:"text"}),E&&e.createElement(o,{className:m,leftAddons:e.createElement(n,null),view:"ghost",onClick:function(){return g({searchText:""})}})),e.createElement("div",{className:u},!!h&&e.createElement(o,{dataTestId:"createbtn",onClick:h,view:"primary",leftAddons:e.createElement(a,null),size:"xs"},r(k)("create")),!!f&&e.createElement(o,{view:"outlined",size:"xs",onClick:f},r(k)("export")),b&&e.createElement(o,{leftAddons:e.createElement(l,null),onClick:C,view:"outlined",size:"xs"},r(k)("filters")))),!!_.length&&e.createElement("div",{className:d},_))};export{p as TableHeader};