@alphakits/ui 1.3.14 → 1.3.15

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 (227) hide show
  1. package/dist/{_commonjsHelpers-2bb7680c.js → _commonjsHelpers-e647a4bf.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.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/button/component.js +1 -1
  9. package/dist/button/index.js +1 -1
  10. package/dist/calendar/component.js +1 -1
  11. package/dist/calendar/components/days-table/component.js +1 -1
  12. package/dist/calendar/components/days-table/index.js +1 -1
  13. package/dist/calendar/components/header/index.js +1 -1
  14. package/dist/calendar/components/header//321/201omponent.js +1 -1
  15. package/dist/calendar/components/months-table/index.js +1 -1
  16. package/dist/calendar/components/months-table//321/201omponent.js +1 -1
  17. package/dist/calendar/components/select-button/index.js +1 -1
  18. package/dist/calendar/components/select-button//321/201omponent.js +1 -1
  19. package/dist/calendar/components/years-table/index.js +1 -1
  20. package/dist/calendar/components/years-table//321/201omponent.js +1 -1
  21. package/dist/calendar/index.js +1 -1
  22. package/dist/calendar-input/component.js +1 -1
  23. package/dist/calendar-input/index.js +1 -1
  24. package/dist/cell/action/component.js +1 -1
  25. package/dist/cell/action/index.d.ts +1 -1
  26. package/dist/cell/action/index.js +1 -1
  27. package/dist/cell/autopayment/component.js +1 -1
  28. package/dist/cell/autopayment/index.d.ts +1 -1
  29. package/dist/cell/autopayment/index.js +1 -1
  30. package/dist/cell/base/component.js +1 -1
  31. package/dist/cell/base/index.d.ts +1 -1
  32. package/dist/cell/base/index.js +1 -1
  33. package/dist/cell/catalog/component.js +1 -1
  34. package/dist/cell/catalog/index.d.ts +1 -1
  35. package/dist/cell/catalog/index.js +1 -1
  36. package/dist/cell/component.js +1 -1
  37. package/dist/cell/index.js +1 -1
  38. package/dist/cell/pure/component.js +1 -1
  39. package/dist/cell/pure/index.js +1 -1
  40. package/dist/cell/subscription/component.js +1 -1
  41. package/dist/cell/subscription/index.d.ts +1 -1
  42. package/dist/cell/subscription/index.js +1 -1
  43. package/dist/cell/transaction/component.js +1 -1
  44. package/dist/cell/transaction/index.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/collapse/component.js +1 -1
  52. package/dist/collapse/index.js +1 -1
  53. package/dist/{colors.module-ba9af794.js → colors.module-2174a258.js} +0 -0
  54. package/dist/{common.module-4f0fab65.js → common.module-74582d34.js} +0 -0
  55. package/dist/{component-6a7a4b43.d.ts → component-cba31799.d.ts} +0 -0
  56. package/dist/{component-6a7a4b43.js → component-cba31799.js} +0 -0
  57. package/dist/{contact-block-4d700ea5.d.ts → contact-block-74533e01.d.ts} +0 -0
  58. package/dist/{contact-block-4d700ea5.js → contact-block-74533e01.js} +0 -0
  59. package/dist/copy-button/component.js +1 -1
  60. package/dist/copy-button/index.js +1 -1
  61. package/dist/date/component.js +1 -1
  62. package/dist/date/index.js +1 -1
  63. package/dist/date-switcher/component.js +1 -1
  64. package/dist/date-switcher/index.js +1 -1
  65. package/dist/footer/component.js +1 -1
  66. package/dist/footer/components/contacts-block.js +1 -1
  67. package/dist/footer/contact-block.js +1 -1
  68. package/dist/footer/index.js +1 -1
  69. package/dist/form/component.js +1 -1
  70. package/dist/form/components/form-footer/index.js +1 -1
  71. package/dist/form/components/index.js +1 -1
  72. package/dist/form/index.js +1 -1
  73. package/dist/form/templates/crud-form/index.js +1 -1
  74. package/dist/form/templates/filters-form/index.js +1 -1
  75. package/dist/form/templates/rest-form/index.js +1 -1
  76. package/dist/form/utils/get-default-values.js +1 -1
  77. package/dist/form-control/component.js +1 -1
  78. package/dist/form-control/index.js +1 -1
  79. package/dist/{formik.esm-c8a270b9.js → formik.esm-3efc4d1c.js} +1 -1
  80. package/dist/grid/col/component.js +1 -1
  81. package/dist/grid/col/index.js +1 -1
  82. package/dist/grid/component.js +1 -1
  83. package/dist/grid/index.js +1 -1
  84. package/dist/grid/row/component.js +1 -1
  85. package/dist/grid/row/index.js +1 -1
  86. package/dist/{gutters.module-97996de4.js → gutters.module-73190d1a.js} +0 -0
  87. package/dist/heading/component.js +1 -1
  88. package/dist/heading/index.js +1 -1
  89. package/dist/hooks/index.js +1 -1
  90. package/dist/hooks/use-crud-form-requests/index.d.ts +1 -1
  91. package/dist/hooks/use-crud-form-requests/index.js +1 -1
  92. package/dist/hooks/use-get-ine/index.d.ts +1 -1
  93. package/dist/hooks/use-get-ine/index.js +1 -1
  94. package/dist/icon-button/component.js +1 -1
  95. package/dist/icon-button/index.js +1 -1
  96. package/dist/image/component.js +1 -1
  97. package/dist/image/index.js +1 -1
  98. package/dist/index.css +2 -2
  99. package/dist/info-block-header/component.js +1 -1
  100. package/dist/info-block-header/index.js +1 -1
  101. package/dist/info-block-item/component.js +1 -1
  102. package/dist/info-block-item/index.js +1 -1
  103. package/dist/input/component.js +1 -1
  104. package/dist/input/index.js +1 -1
  105. package/dist/link/component.js +1 -1
  106. package/dist/link/index.js +1 -1
  107. package/dist/list-allert/component.js +1 -1
  108. package/dist/list-allert/index.js +1 -1
  109. package/dist/masked-input/component.js +1 -1
  110. package/dist/masked-input/index.js +1 -1
  111. package/dist/message/component.js +1 -1
  112. package/dist/message/index.js +1 -1
  113. package/dist/modal/components/modals/index.js +1 -1
  114. package/dist/modal/context.js +1 -1
  115. package/dist/modal/hooks/use-modal.js +1 -1
  116. package/dist/modal/index.js +1 -1
  117. package/dist/not-found/component.js +1 -1
  118. package/dist/not-found/index.js +1 -1
  119. package/dist/notification/component.js +1 -1
  120. package/dist/notification/index.js +1 -1
  121. package/dist/{parse-query-params-fdce63ec.d.ts → parse-query-params-96fefa4e.d.ts} +0 -0
  122. package/dist/{parse-query-params-fdce63ec.js → parse-query-params-96fefa4e.js} +1 -1
  123. package/dist/photo-uploader/component.js +1 -1
  124. package/dist/photo-uploader/index.js +1 -1
  125. package/dist/photo-uploader-multiple/component.js +1 -1
  126. package/dist/photo-uploader-multiple/index.js +1 -1
  127. package/dist/picker-button/component.js +1 -1
  128. package/dist/picker-button/field/Component.js +1 -1
  129. package/dist/picker-button/field/index.js +1 -1
  130. package/dist/picker-button/index.js +1 -1
  131. package/dist/popover/component.js +1 -1
  132. package/dist/popover/index.js +1 -1
  133. package/dist/progress-bar/component.js +1 -1
  134. package/dist/progress-bar/index.js +1 -1
  135. package/dist/progress-index/component.js +1 -1
  136. package/dist/progress-index/index.js +1 -1
  137. package/dist/radio/component.js +1 -1
  138. package/dist/radio/index.js +1 -1
  139. package/dist/radio-group/component.js +1 -1
  140. package/dist/radio-group/index.js +1 -1
  141. package/dist/radio-groups/component.js +1 -1
  142. package/dist/radio-groups/index.js +1 -1
  143. package/dist/select/component.js +1 -1
  144. package/dist/select/components/base-select/component.js +1 -1
  145. package/dist/select/components/base-select/index.js +1 -1
  146. package/dist/select/components/field/component.js +1 -1
  147. package/dist/select/components/field/index.js +1 -1
  148. package/dist/select/components/index.js +1 -1
  149. package/dist/select/components/native-select/component.js +1 -1
  150. package/dist/select/components/native-select/index.js +1 -1
  151. package/dist/select/components/option/component.js +1 -1
  152. package/dist/select/components/option/index.js +1 -1
  153. package/dist/select/components/virtual-options-list/component.js +1 -1
  154. package/dist/select/components/virtual-options-list/index.js +1 -1
  155. package/dist/select/index.js +1 -1
  156. package/dist/select/presets/index.js +1 -1
  157. package/dist/select/presets/use-select-with-loading/hook.js +1 -1
  158. package/dist/sidepanel-header/component.js +1 -1
  159. package/dist/sidepanel-header/index.js +1 -1
  160. package/dist/space/Item.js +1 -1
  161. package/dist/space/component.js +1 -1
  162. package/dist/space/index.js +1 -1
  163. package/dist/suffix-input/component.js +1 -1
  164. package/dist/suffix-input/index.js +1 -1
  165. package/dist/super-ellipse-button/component.js +1 -1
  166. package/dist/super-ellipse-button/index.js +1 -1
  167. package/dist/super-list-header/component.js +1 -1
  168. package/dist/super-list-header/index.js +1 -1
  169. package/dist/super-list-item/component.js +1 -1
  170. package/dist/super-list-item/index.js +1 -1
  171. package/dist/switch/component.js +1 -1
  172. package/dist/switch/index.js +1 -1
  173. package/dist/table/columns.js +1 -1
  174. package/dist/table/component.js +1 -1
  175. package/dist/table/components/cell/component.js +1 -1
  176. package/dist/table/components/cell/index.js +1 -1
  177. package/dist/table/components/cells/index.js +1 -1
  178. package/dist/table/components/empty-list/index.js +1 -1
  179. package/dist/table/components/error/index.js +1 -1
  180. package/dist/table/components/pagination/index.js +1 -1
  181. package/dist/table/components/row/component.js +1 -1
  182. package/dist/table/components/row/index.js +1 -1
  183. package/dist/table/components/rows/index.js +1 -1
  184. package/dist/table/components/table-header/index.js +1 -1
  185. package/dist/table/hooks/use-table-data.js +1 -1
  186. package/dist/table/index.js +1 -1
  187. package/dist/table/table.js +1 -1
  188. package/dist/table/utils/add-query-param.js +1 -1
  189. package/dist/table/utils/get-query-from-url.js +1 -1
  190. package/dist/table/utils/index.d.ts +1 -1
  191. package/dist/table/utils/index.js +1 -1
  192. package/dist/table/utils/parse-query-params.js +1 -1
  193. package/dist/table/utils/query-adapter.js +1 -1
  194. package/dist/table/utils/remove-query-param.js +1 -1
  195. package/dist/table/utils/reset-query-param.js +1 -1
  196. package/dist/table-status/component.js +1 -1
  197. package/dist/table-status/index.js +1 -1
  198. package/dist/tag/component.js +1 -1
  199. package/dist/tag/index.js +1 -1
  200. package/dist/tags-list/component.js +1 -1
  201. package/dist/tags-list/index.js +1 -1
  202. package/dist/tariff-builder/component.js +1 -1
  203. package/dist/tariff-builder/index.js +1 -1
  204. package/dist/textarea/component.js +1 -1
  205. package/dist/textarea/index.js +1 -1
  206. package/dist/toast/component.js +1 -1
  207. package/dist/toast/index.js +1 -1
  208. package/dist/toast-notifier/component.js +1 -1
  209. package/dist/toast-notifier/index.js +1 -1
  210. package/dist/toast-plate/component.js +1 -1
  211. package/dist/toast-plate/index.js +1 -1
  212. package/dist/tooltip/component.js +1 -1
  213. package/dist/tooltip/index.js +1 -1
  214. package/dist/{tslib.es6-ad524806.js → tslib.es6-b91a8b79.js} +0 -0
  215. package/dist/typings/api.d.ts +18 -0
  216. package/dist/typings/api.js +1 -0
  217. package/dist/typography/component.js +1 -1
  218. package/dist/typography/index.js +1 -1
  219. package/dist/typography/text/component.js +1 -1
  220. package/dist/typography/text/index.js +1 -1
  221. package/dist/typography/title/component.js +1 -1
  222. package/dist/typography/title/index.js +1 -1
  223. package/dist/typography/title-responsive/component.js +1 -1
  224. package/dist/typography/title-responsive/index.js +1 -1
  225. package/dist/with-suffix/component.js +1 -1
  226. package/dist/with-suffix/index.js +1 -1
  227. package/package.json +1 -1
@@ -1 +1 @@
1
- export{BaseSelect}from"./component.js";import"../../../tslib.es6-ad524806.js";import"react";import"react-merge-refs";import"classnames";import"downshift";import"resize-observer";import"../../../__internal/utils/getDataTestId.js";import"../../../popover/component.js";import"react-popper";import"react-transition-group";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../stack/context.js";import"../../../stack/component.js";import"../../utils.js";import"../native-select/component.js";
1
+ export{BaseSelect}from"./component.js";import"../../../tslib.es6-b91a8b79.js";import"react";import"react-merge-refs";import"classnames";import"downshift";import"resize-observer";import"../../../__internal/utils/getDataTestId.js";import"../../../popover/component.js";import"react-popper";import"react-transition-group";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../stack/context.js";import"../../../stack/component.js";import"../../utils.js";import"../native-select/component.js";
@@ -1 +1 @@
1
- import{_ as e,a as l}from"../../../tslib.es6-ad524806.js";import r,{useState as o,useRef as d,useCallback as a}from"react";import t from"classnames";import{FormControl as s}from"../../../form-control/component.js";import{useFocus as n}from"../../../hooks/useFocus/index.js";import{joinOptions as i}from"../../utils.js";var m="index-module_component__vfzkT",c="index-module_field__1aUsO",u="index-module_disabled__3SuAx",p="index-module_arrow__3uEBv",_="index-module_placeholder__eqMpp",f="index-module_contentWrapper__1YCpa",v="index-module_value__3iHA6",b="index-module_focusVisible__3vNfu",x=function(x){var h,N=x.size,E=void 0===N?"m":N,A=x.open;x.multiple;var g=x.error,j=x.hint,k=x.disabled,z=x.label,C=x.placeholder,M=x.selectedMultiple,w=void 0===M?[]:M,B=x.selected,F=x.rightAddons,T=x.valueRenderer,I=void 0===T?i:T,P=x.Arrow,R=x.innerProps,q=x.dataTestId,y=x.fieldClassName,H=e(x,["size","open","multiple","error","hint","disabled","label","placeholder","selectedMultiple","selected","rightAddons","valueRenderer","Arrow","innerProps","dataTestId","fieldClassName"]),O=o(!1),S=O[0],U=O[1],V=d(null),W=n(V,"keyboard")[0],Y=a((function(){return U(!0)}),[]),D=a((function(){return U(!1)}),[]),G=I({selected:B,selectedMultiple:w}),J=Boolean(G),K=!!z&&(J||!C);return r.createElement("div",{className:m,ref:V,onFocus:Y,onBlur:D},r.createElement(s,l({fieldClassName:t(c,y,(h={},h[u]=k,h[b]=W,h)),block:!0,size:E,focused:A||S,disabled:k,filled:J,label:K&&z,error:g,hint:j,rightAddons:(P||F)&&r.createElement(r.Fragment,null,F,P?r.cloneElement(P,{className:p}):null),"data-test-id":q},H,R),r.createElement("div",{className:f},C&&!J&&r.createElement("span",{className:_},C),J&&r.createElement("div",{className:v},G))))};export{x as Field};
1
+ import{_ as e,a as l}from"../../../tslib.es6-b91a8b79.js";import r,{useState as o,useRef as d,useCallback as a}from"react";import t from"classnames";import{FormControl as s}from"../../../form-control/component.js";import{useFocus as n}from"../../../hooks/useFocus/index.js";import{joinOptions as i}from"../../utils.js";var m="index-module_component__vfzkT",c="index-module_field__1aUsO",u="index-module_disabled__3SuAx",p="index-module_arrow__3uEBv",_="index-module_placeholder__eqMpp",f="index-module_contentWrapper__1YCpa",v="index-module_value__3iHA6",b="index-module_focusVisible__3vNfu",x=function(x){var h,N=x.size,E=void 0===N?"m":N,A=x.open;x.multiple;var g=x.error,j=x.hint,k=x.disabled,z=x.label,C=x.placeholder,M=x.selectedMultiple,w=void 0===M?[]:M,B=x.selected,F=x.rightAddons,T=x.valueRenderer,I=void 0===T?i:T,P=x.Arrow,R=x.innerProps,q=x.dataTestId,y=x.fieldClassName,H=e(x,["size","open","multiple","error","hint","disabled","label","placeholder","selectedMultiple","selected","rightAddons","valueRenderer","Arrow","innerProps","dataTestId","fieldClassName"]),O=o(!1),S=O[0],U=O[1],V=d(null),W=n(V,"keyboard")[0],Y=a((function(){return U(!0)}),[]),D=a((function(){return U(!1)}),[]),G=I({selected:B,selectedMultiple:w}),J=Boolean(G),K=!!z&&(J||!C);return r.createElement("div",{className:m,ref:V,onFocus:Y,onBlur:D},r.createElement(s,l({fieldClassName:t(c,y,(h={},h[u]=k,h[b]=W,h)),block:!0,size:E,focused:A||S,disabled:k,filled:J,label:K&&z,error:g,hint:j,rightAddons:(P||F)&&r.createElement(r.Fragment,null,F,P?r.cloneElement(P,{className:p}):null),"data-test-id":q},H,R),r.createElement("div",{className:f},C&&!J&&r.createElement("span",{className:_},C),J&&r.createElement("div",{className:v},G))))};export{x as Field};
@@ -1 +1 @@
1
- export{Field}from"./component.js";import"../../../tslib.es6-ad524806.js";import"react";import"classnames";import"../../../form-control/component.js";import"../../../hooks/useFocus/index.js";import"../../utils.js";
1
+ export{Field}from"./component.js";import"../../../tslib.es6-b91a8b79.js";import"react";import"classnames";import"../../../form-control/component.js";import"../../../hooks/useFocus/index.js";import"../../utils.js";
@@ -1 +1 @@
1
- export{Arrow}from"./arrow/component.js";export{BaseSelect}from"./base-select/component.js";export{Field}from"./field/component.js";export{Optgroup}from"./optgroup/component.js";export{Option}from"./option/component.js";export{OptionsList}from"./options-list/component.js";export{VirtualOptionsList}from"./virtual-options-list/component.js";import"react";import"classnames";import"../../tslib.es6-ad524806.js";import"react-merge-refs";import"downshift";import"resize-observer";import"../../__internal/utils/getDataTestId.js";import"../../popover/component.js";import"react-popper";import"react-transition-group";import"../../portal/component.js";import"react-dom";import"../../portal/utils.js";import"../../stack/context.js";import"../../stack/component.js";import"../utils.js";import"./native-select/component.js";import"../../form-control/component.js";import"../../hooks/useFocus/index.js";import"./checkmark/component.js";import"react-virtual";import"../../hooks/usePrevious/index.js";import"../../toast-notifier/component.js";import"../../toast-plate/component.js";import"alpha-cli-icons";import"../../button/component.js";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";import"axios";
1
+ export{Arrow}from"./arrow/component.js";export{BaseSelect}from"./base-select/component.js";export{Field}from"./field/component.js";export{Optgroup}from"./optgroup/component.js";export{Option}from"./option/component.js";export{OptionsList}from"./options-list/component.js";export{VirtualOptionsList}from"./virtual-options-list/component.js";import"react";import"classnames";import"../../tslib.es6-b91a8b79.js";import"react-merge-refs";import"downshift";import"resize-observer";import"../../__internal/utils/getDataTestId.js";import"../../popover/component.js";import"react-popper";import"react-transition-group";import"../../portal/component.js";import"react-dom";import"../../portal/utils.js";import"../../stack/context.js";import"../../stack/component.js";import"../utils.js";import"./native-select/component.js";import"../../form-control/component.js";import"../../hooks/useFocus/index.js";import"./checkmark/component.js";import"react-virtual";import"../../hooks/usePrevious/index.js";import"../../toast-notifier/component.js";import"../../toast-plate/component.js";import"alpha-cli-icons";import"../../button/component.js";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";import"axios";
@@ -1 +1 @@
1
- import{_ as e,a as t}from"../../../tslib.es6-ad524806.js";import n,{forwardRef as a,useCallback as o}from"react";import{isGroup as l}from"../../utils.js";var r=function(e){var t=e.option;return n.createElement("option",{value:t.key,disabled:t.disabled},"string"==typeof t.content?t.content:t.key)},i=function(e){var t=e.label,a=e.options;return n.createElement("optgroup",{label:t},a.map((function(e){return n.createElement(r,{option:e,key:e.key})})))},s=a((function(a,s){var m=a.className,p=a.disabled,c=a.multiple,u=a.value,d=a.name,f=a.options,b=a.onChange,k=e(a,["className","disabled","multiple","value","name","options","onChange"]),v=o((function(e){e.stopPropagation()}),[]);return n.createElement("select",t({className:m,disabled:p,multiple:c,name:d,value:u,onChange:b,onClick:v,ref:s},k),f.map((function(e){return l(e)?n.createElement(i,t({},e,{key:e.label})):n.createElement(r,{option:e,key:e.key})})))}));export{s as NativeSelect};
1
+ import{_ as e,a as t}from"../../../tslib.es6-b91a8b79.js";import n,{forwardRef as a,useCallback as o}from"react";import{isGroup as l}from"../../utils.js";var r=function(e){var t=e.option;return n.createElement("option",{value:t.key,disabled:t.disabled},"string"==typeof t.content?t.content:t.key)},i=function(e){var t=e.label,a=e.options;return n.createElement("optgroup",{label:t},a.map((function(e){return n.createElement(r,{option:e,key:e.key})})))},s=a((function(a,s){var m=a.className,p=a.disabled,c=a.multiple,u=a.value,b=a.name,f=a.options,d=a.onChange,k=e(a,["className","disabled","multiple","value","name","options","onChange"]),v=o((function(e){e.stopPropagation()}),[]);return n.createElement("select",t({className:m,disabled:p,multiple:c,name:b,value:u,onChange:d,onClick:v,ref:s},k),f.map((function(e){return l(e)?n.createElement(i,t({},e,{key:e.label})):n.createElement(r,{option:e,key:e.key})})))}));export{s as NativeSelect};
@@ -1 +1 @@
1
- export{NativeSelect}from"./component.js";import"../../../tslib.es6-ad524806.js";import"react";import"../../utils.js";
1
+ export{NativeSelect}from"./component.js";import"../../../tslib.es6-b91a8b79.js";import"react";import"../../utils.js";
@@ -1 +1 @@
1
- import{a as e}from"../../../tslib.es6-ad524806.js";import t,{isValidElement as d}from"react";import i from"classnames";import{Checkmark as n}from"../checkmark/component.js";var o={option:"index-module_option__1Y-nZ",disabled:"index-module_disabled__3qFlt",s:"index-module_s__3ZiXJ",m:"index-module_m__3U_ko",l:"index-module_l__3AFdi",xl:"index-module_xl__37OwE",selected:"index-module_selected__3VkZj",highlighted:"index-module_highlighted__3bn_O",content:"index-module_content__3lPGB",textContent:"index-module_textContent__343E2"},l=function(l){var _,m,s=l.size,a=void 0===s?"s":s,c=l.className,r=l.option,x=l.children,h=l.selected,p=l.highlighted,u=l.disabled,g=l.Checkmark,k=void 0===g?n:g,b=l.innerProps,v=l.index,f=x||r.content||r.key;return t.createElement("div",e({},b,{className:i(o.option,o[a],c,(_={},_[o.highlighted]=p,_[o.selected]=h,_[o.disabled]=u,_)),"data-test-id":"option-"+v}),k&&t.createElement(k,{selected:h}),t.createElement("div",{className:i(o.content,(m={},m[o.textContent]=!d(f),m))},f))};export{l as Option};
1
+ import{a as e}from"../../../tslib.es6-b91a8b79.js";import t,{isValidElement as d}from"react";import i from"classnames";import{Checkmark as n}from"../checkmark/component.js";var o={option:"index-module_option__1Y-nZ",disabled:"index-module_disabled__3qFlt",s:"index-module_s__3ZiXJ",m:"index-module_m__3U_ko",l:"index-module_l__3AFdi",xl:"index-module_xl__37OwE",selected:"index-module_selected__3VkZj",highlighted:"index-module_highlighted__3bn_O",content:"index-module_content__3lPGB",textContent:"index-module_textContent__343E2"},l=function(l){var _,m,s=l.size,a=void 0===s?"s":s,c=l.className,r=l.option,x=l.children,h=l.selected,p=l.highlighted,u=l.disabled,b=l.Checkmark,g=void 0===b?n:b,k=l.innerProps,v=l.index,f=x||r.content||r.key;return t.createElement("div",e({},k,{className:i(o.option,o[a],c,(_={},_[o.highlighted]=p,_[o.selected]=h,_[o.disabled]=u,_)),"data-test-id":"option-"+v}),g&&t.createElement(g,{selected:h}),t.createElement("div",{className:i(o.content,(m={},m[o.textContent]=!d(f),m))},f))};export{l as Option};
@@ -1 +1 @@
1
- export{Option}from"./component.js";import"../../../tslib.es6-ad524806.js";import"react";import"classnames";import"../checkmark/component.js";
1
+ export{Option}from"./component.js";import"../../../tslib.es6-b91a8b79.js";import"react";import"classnames";import"../checkmark/component.js";
@@ -1 +1 @@
1
- import e,{useRef as t,useState as i,useEffect as o,useMemo as n}from"react";import{useVirtual as r}from"react-virtual";import l from"classnames";import{usePrevious as s}from"../../../hooks/usePrevious/index.js";import"../../../toast-notifier/component.js";import"axios";import{lastIndexOf as a,useVisibleOptions as d,isGroup as m}from"../../utils.js";import{Optgroup as p}from"../optgroup/component.js";import"../../../tslib.es6-ad524806.js";import"react-dom";import"../../../toast-plate/component.js";import"alpha-cli-icons";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../toast-notifier/use-timer.js";var u={virtualOptionsList:"index-module_virtualOptionsList__2cwvP",inner:"index-module_inner__IXUKA",virtualRow:"index-module_virtualRow__1iNrK",highlighted:"index-module_highlighted__1JWUQ",emptyPlaceholder:"index-module_emptyPlaceholder__1Dxba",l:"index-module_l__2ISF8",xl:"index-module_xl__26ISi"},c=function(c){var v=c.size,f=void 0===v?"s":v,h=c.flatOptions,x=void 0===h?[]:h,g=c.highlightedIndex,_=void 0===g?-1:g,I=c.className,j=c.Option,b=c.open,y=c.options,O=void 0===y?[]:y,R=c.overscan,N=void 0===R?10:R,P=c.Optgroup,T=void 0===P?p:P,E=c.dataTestId,w=c.emptyPlaceholder,k=c.visibleOptions,z=void 0===k?5:k,L=t(null),S=t(null),F=i(0),K=F[0],U=F[1],A=s(_)||-1,D=r({size:x.length,parentRef:S,overscan:N});o((function(){b&&D.scrollToIndex(_,{align:"end"})}),[b]),o((function(){-1!==_&&(D.virtualItems.some((function(e){return e.index===_}))||D.scrollToIndex(_,{align:"end"}))}),[_]),o((function(){var e=function(e){return!e.disabled},t=x.findIndex(e),i=a(x,e);A<=t&&_===x.length-1&&D.scrollToIndex(i),A>=i&&0===_&&D.scrollToIndex(0)}),[A,_]),o((function(){U(D.virtualItems.length>1?x.length:1)}),[D.virtualItems.length,x.length]),d({visibleOptions:z,invalidate:K,listRef:L,styleTargetRef:S,open:b});var J=n((function(){var e=0;return O.reduce((function(t,i,o){return m(i)?(t[e]=o,e+=i.options.length):e+=1,t}),{})}),[O]);return e.createElement("div",{className:l(u.virtualOptionsList,u[f],I),ref:S,"data-test-id":E},e.createElement("div",{className:u.inner,style:{height:D.totalSize+"px"},ref:L},D.virtualItems.map((function(t){var i,o=x[t.index],n=O[J[t.index]];return e.createElement("div",{key:t.index,ref:t.measureRef,className:l(u.virtualRow,(i={},i[u.highlighted]=_===t.index,i)),style:{transform:"translateY("+t.start+"px)"}},n&&e.createElement(T,{label:n.label}),!m(o)&&j({option:o,index:t.index}))}))),w&&0===O.length&&e.createElement("div",{className:u.emptyPlaceholder},w))};export{c as VirtualOptionsList};
1
+ import e,{useRef as t,useState as i,useEffect as o,useMemo as n}from"react";import{useVirtual as r}from"react-virtual";import l from"classnames";import{usePrevious as s}from"../../../hooks/usePrevious/index.js";import"../../../toast-notifier/component.js";import"axios";import{lastIndexOf as a,useVisibleOptions as d,isGroup as m}from"../../utils.js";import{Optgroup as p}from"../optgroup/component.js";import"../../../tslib.es6-b91a8b79.js";import"react-dom";import"../../../toast-plate/component.js";import"alpha-cli-icons";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../toast-notifier/use-timer.js";var u={virtualOptionsList:"index-module_virtualOptionsList__2cwvP",inner:"index-module_inner__IXUKA",virtualRow:"index-module_virtualRow__1iNrK",highlighted:"index-module_highlighted__1JWUQ",emptyPlaceholder:"index-module_emptyPlaceholder__1Dxba",l:"index-module_l__2ISF8",xl:"index-module_xl__26ISi"},c=function(c){var v=c.size,f=void 0===v?"s":v,h=c.flatOptions,x=void 0===h?[]:h,g=c.highlightedIndex,_=void 0===g?-1:g,I=c.className,b=c.Option,j=c.open,y=c.options,O=void 0===y?[]:y,R=c.overscan,N=void 0===R?10:R,P=c.Optgroup,T=void 0===P?p:P,E=c.dataTestId,w=c.emptyPlaceholder,k=c.visibleOptions,z=void 0===k?5:k,L=t(null),S=t(null),F=i(0),K=F[0],U=F[1],A=s(_)||-1,D=r({size:x.length,parentRef:S,overscan:N});o((function(){j&&D.scrollToIndex(_,{align:"end"})}),[j]),o((function(){-1!==_&&(D.virtualItems.some((function(e){return e.index===_}))||D.scrollToIndex(_,{align:"end"}))}),[_]),o((function(){var e=function(e){return!e.disabled},t=x.findIndex(e),i=a(x,e);A<=t&&_===x.length-1&&D.scrollToIndex(i),A>=i&&0===_&&D.scrollToIndex(0)}),[A,_]),o((function(){U(D.virtualItems.length>1?x.length:1)}),[D.virtualItems.length,x.length]),d({visibleOptions:z,invalidate:K,listRef:L,styleTargetRef:S,open:j});var J=n((function(){var e=0;return O.reduce((function(t,i,o){return m(i)?(t[e]=o,e+=i.options.length):e+=1,t}),{})}),[O]);return e.createElement("div",{className:l(u.virtualOptionsList,u[f],I),ref:S,"data-test-id":E},e.createElement("div",{className:u.inner,style:{height:D.totalSize+"px"},ref:L},D.virtualItems.map((function(t){var i,o=x[t.index],n=O[J[t.index]];return e.createElement("div",{key:t.index,ref:t.measureRef,className:l(u.virtualRow,(i={},i[u.highlighted]=_===t.index,i)),style:{transform:"translateY("+t.start+"px)"}},n&&e.createElement(T,{label:n.label}),!m(o)&&b({option:o,index:t.index}))}))),w&&0===O.length&&e.createElement("div",{className:u.emptyPlaceholder},w))};export{c as VirtualOptionsList};
@@ -1 +1 @@
1
- export{VirtualOptionsList}from"./component.js";import"react";import"react-virtual";import"classnames";import"../../../hooks/usePrevious/index.js";import"../../../toast-notifier/component.js";import"../../../tslib.es6-ad524806.js";import"react-dom";import"../../../toast-plate/component.js";import"alpha-cli-icons";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../toast-notifier/use-timer.js";import"axios";import"../../utils.js";import"../optgroup/component.js";
1
+ export{VirtualOptionsList}from"./component.js";import"react";import"react-virtual";import"classnames";import"../../../hooks/usePrevious/index.js";import"../../../toast-notifier/component.js";import"../../../tslib.es6-b91a8b79.js";import"react-dom";import"../../../toast-plate/component.js";import"alpha-cli-icons";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../toast-notifier/use-timer.js";import"axios";import"../../utils.js";import"../optgroup/component.js";
@@ -1 +1 @@
1
- export{Select}from"./component.js";export{Arrow}from"./components/arrow/component.js";export{BaseSelect}from"./components/base-select/component.js";export{Field}from"./components/field/component.js";export{Optgroup}from"./components/optgroup/component.js";export{Option}from"./components/option/component.js";export{OptionsList}from"./components/options-list/component.js";export{VirtualOptionsList}from"./components/virtual-options-list/component.js";export{useSelectWithLoading}from"./presets/use-select-with-loading/hook.js";export{isGroup,isOptionShape,joinOptions,lastIndexOf,processOptions,useVisibleOptions}from"./utils.js";import"../tslib.es6-ad524806.js";import"react";import"classnames";import"react-merge-refs";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"./components/native-select/component.js";import"../form-control/component.js";import"../hooks/useFocus/index.js";import"./components/checkmark/component.js";import"react-virtual";import"../hooks/usePrevious/index.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"axios";import"../skeleton/component.js";
1
+ export{Select}from"./component.js";export{Arrow}from"./components/arrow/component.js";export{BaseSelect}from"./components/base-select/component.js";export{Field}from"./components/field/component.js";export{Optgroup}from"./components/optgroup/component.js";export{Option}from"./components/option/component.js";export{OptionsList}from"./components/options-list/component.js";export{VirtualOptionsList}from"./components/virtual-options-list/component.js";export{useSelectWithLoading}from"./presets/use-select-with-loading/hook.js";export{isGroup,isOptionShape,joinOptions,lastIndexOf,processOptions,useVisibleOptions}from"./utils.js";import"../tslib.es6-b91a8b79.js";import"react";import"classnames";import"react-merge-refs";import"downshift";import"resize-observer";import"../__internal/utils/getDataTestId.js";import"../popover/component.js";import"react-popper";import"react-transition-group";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"./components/native-select/component.js";import"../form-control/component.js";import"../hooks/useFocus/index.js";import"./components/checkmark/component.js";import"react-virtual";import"../hooks/usePrevious/index.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"alpha-cli-icons";import"../button/component.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"axios";import"../skeleton/component.js";
@@ -1 +1 @@
1
- export{useSelectWithLoading}from"./use-select-with-loading/hook.js";import"../../tslib.es6-ad524806.js";import"react";import"../../skeleton/component.js";import"classnames";import"../components/option/component.js";import"../components/checkmark/component.js";
1
+ export{useSelectWithLoading}from"./use-select-with-loading/hook.js";import"../../tslib.es6-b91a8b79.js";import"react";import"../../skeleton/component.js";import"classnames";import"../components/option/component.js";import"../components/checkmark/component.js";
@@ -1 +1 @@
1
- import{a as e}from"../../../tslib.es6-ad524806.js";import o,{useCallback as n}from"react";import{Skeleton as t}from"../../../skeleton/component.js";import{Option as i}from"../../components/option/component.js";import"classnames";import"../../components/checkmark/component.js";var r="index-module_skeleton__3exug";function m(m){var s=m.loading,l=void 0!==s&&s,a=m.visibleOptions,c=void 0===a?6:a,p=n((function(n){return o.createElement(i,e({},n,{Checkmark:null,highlighted:!l&&n.highlighted}))}),[l]),d=Array(c).fill(0).map((function(e,n){return{key:n,disabled:!0,content:o.createElement(t,{className:r,visible:!0})}}));return l?{Option:p,options:d}:null}export{m as useSelectWithLoading};
1
+ import{a as e}from"../../../tslib.es6-b91a8b79.js";import o,{useCallback as n}from"react";import{Skeleton as t}from"../../../skeleton/component.js";import{Option as i}from"../../components/option/component.js";import"classnames";import"../../components/checkmark/component.js";var r="index-module_skeleton__3exug";function m(m){var s=m.loading,l=void 0!==s&&s,a=m.visibleOptions,c=void 0===a?6:a,p=n((function(n){return o.createElement(i,e({},n,{Checkmark:null,highlighted:!l&&n.highlighted}))}),[l]),u=Array(c).fill(0).map((function(e,n){return{key:n,disabled:!0,content:o.createElement(t,{className:r,visible:!0})}}));return l?{Option:p,options:u}:null}export{m as useSelectWithLoading};
@@ -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-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var r="index-module_wrapper__2MUBI",m="index-module_heading__1vASq",a="index-module_bottomAddons__2aL0E",i="index-module_border__2rk9E",d=function(d){var s,n=d.className,l=d.dataTestId,p=d.title,c=d.rightAddons,_=d.bottomAddons,y=d.border;return e.createElement("div",{"data-test-id":l,className:t(r,n,(s={},s[i]=y,s))},e.createElement("div",{className:m},e.createElement(o.Title,{tag:"h3",view:"xsmall",weight:"bold"},p),c&&e.createElement("div",null,c)),_&&e.createElement("div",{className:a},_))};export{d as SidepanelHeader};
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-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var r="index-module_wrapper__2MUBI",m="index-module_heading__1vASq",a="index-module_bottomAddons__2aL0E",i="index-module_border__2rk9E",d=function(d){var s,n=d.className,l=d.dataTestId,p=d.title,c=d.rightAddons,_=d.bottomAddons,y=d.border;return e.createElement("div",{"data-test-id":l,className:t(r,n,(s={},s[i]=y,s))},e.createElement("div",{className:m},e.createElement(o.Title,{tag:"h3",view:"xsmall",weight:"bold"},p),c&&e.createElement("div",null,c)),_&&e.createElement("div",{className:a},_))};export{d as SidepanelHeader};
@@ -1 +1 @@
1
- export{SidepanelHeader}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
1
+ export{SidepanelHeader}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
@@ -1 +1 @@
1
- import{a as e}from"../tslib.es6-ad524806.js";import*as t from"react";var a=function(a){var r=a.className,i=a.horizontalSize,l=a.verticalSize,n=a.length,m=a.direction,o=a.index,s=a.children,c=a.divider,d=a.wrap,g={};return"vertical"===m?o<n&&(g={marginBottom:i/(c?2:1)}):g=e(e({},o<n&&{marginRight:i/(c?2:1)}),d&&{paddingBottom:l}),null==s?null:t.createElement(t.Fragment,null,t.createElement("div",{className:r,style:g},s),o<n-1&&c&&t.createElement("span",{style:e({width:"100%"},g)},c))};export{a as default};
1
+ import{a as e}from"../tslib.es6-b91a8b79.js";import*as t from"react";var a=function(a){var r=a.className,i=a.horizontalSize,l=a.verticalSize,n=a.length,m=a.direction,o=a.index,s=a.children,c=a.divider,d=a.wrap,g={};return"vertical"===m?o<n&&(g={marginBottom:i/(c?2:1)}):g=e(e({},o<n&&{marginRight:i/(c?2:1)}),d&&{paddingBottom:l}),null==s?null:t.createElement(t.Fragment,null,t.createElement("div",{className:r,style:g},s),o<n-1&&c&&t.createElement("span",{style:e({width:"100%"},g)},c))};export{a as default};
@@ -1 +1 @@
1
- import{a as e}from"../tslib.es6-ad524806.js";import t,{forwardRef as i,Children as r}from"react";import n from"classnames";import a from"./Item.js";var o={spaceContainer:"index-module_spaceContainer__3Dq0d",spaceContainerFullWidth:"index-module_spaceContainerFullWidth__xJUHo",vertical:"index-module_vertical__on3nF",center:"index-module_center__7A1ZE",start:"index-module_start__1K4MQ",end:"index-module_end__o7H21",spaceItemFullWidth:"index-module_spaceItemFullWidth__jOTm4",spaceItem:"index-module_spaceItem__2F_mi"},l={s:12,m:16,l:20},d=i((function(i,d){var m,s,c=i.children,u=i.className,_=i.align,p=void 0===_?"start":_,v=i.direction,f=void 0===v?"vertical":v,h=i.size,x=void 0===h?"m":h,F=i.wrap,W=void 0!==F&&F,I=i.divider,g=void 0!==I&&I,y=i.fullWidth,C=void 0!==y&&y,z=t.useMemo((function(){return(Array.isArray(x)?x:[x,x]).map((function(e){return function(e){return"string"==typeof e?l[e]:e||0}(e)}))}),[x]),A=z[0],j=z[1],w=r.toArray(c);if(0===w.length)return null;var E=n(o.spaceContainer,o[f],((m={})[o[p]]=p,m[o.spaceContainerFullWidth]=C,m),u),N=n(o.spaceItem,((s={})[o.spaceItemFullWidth]=C,s)),H=w.map((function(e,i){return t.createElement(a,{className:N,key:N+"-"+i,direction:f,horizontalSize:A,verticalSize:j,length:w.length,index:i,wrap:W,divider:g},e)}));return t.createElement("div",{className:E,style:e({},W&&{flexWrap:"wrap",marginBottom:-j}),ref:d},H)}));export{d as Space};
1
+ import{a as e}from"../tslib.es6-b91a8b79.js";import t,{forwardRef as i,Children as r}from"react";import n from"classnames";import a from"./Item.js";var o={spaceContainer:"index-module_spaceContainer__3Dq0d",spaceContainerFullWidth:"index-module_spaceContainerFullWidth__xJUHo",vertical:"index-module_vertical__on3nF",center:"index-module_center__7A1ZE",start:"index-module_start__1K4MQ",end:"index-module_end__o7H21",spaceItemFullWidth:"index-module_spaceItemFullWidth__jOTm4",spaceItem:"index-module_spaceItem__2F_mi"},l={s:12,m:16,l:20},d=i((function(i,d){var m,s,c=i.children,u=i.className,_=i.align,p=void 0===_?"start":_,v=i.direction,f=void 0===v?"vertical":v,h=i.size,x=void 0===h?"m":h,F=i.wrap,W=void 0!==F&&F,I=i.divider,g=void 0!==I&&I,y=i.fullWidth,C=void 0!==y&&y,z=t.useMemo((function(){return(Array.isArray(x)?x:[x,x]).map((function(e){return function(e){return"string"==typeof e?l[e]:e||0}(e)}))}),[x]),A=z[0],b=z[1],j=r.toArray(c);if(0===j.length)return null;var w=n(o.spaceContainer,o[f],((m={})[o[p]]=p,m[o.spaceContainerFullWidth]=C,m),u),E=n(o.spaceItem,((s={})[o.spaceItemFullWidth]=C,s)),N=j.map((function(e,i){return t.createElement(a,{className:E,key:E+"-"+i,direction:f,horizontalSize:A,verticalSize:b,length:j.length,index:i,wrap:W,divider:g},e)}));return t.createElement("div",{className:w,style:e({},W&&{flexWrap:"wrap",marginBottom:-b}),ref:d},N)}));export{d as Space};
@@ -1 +1 @@
1
- export{Space}from"./component.js";import"../tslib.es6-ad524806.js";import"react";import"classnames";import"./Item.js";
1
+ export{Space}from"./component.js";import"../tslib.es6-b91a8b79.js";import"react";import"classnames";import"./Item.js";
@@ -1 +1 @@
1
- import{_ as e,a as o}from"../tslib.es6-ad524806.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-b91a8b79.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,b=r.focusedClassName,h=r.required,j=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:h,placeholder:C,value:y,className:s(d.component,N),focusedClassName:b,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:j,ref:m})))}));export{f as SuffixInput};
@@ -1 +1 @@
1
- export{SuffixInput}from"./component.js";import"../tslib.es6-ad524806.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-b91a8b79.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{_ as e,a as s}from"../tslib.es6-ad524806.js";import o from"react";import r from"classnames";import{Button as t}from"../button/component.js";import{SuperEllipse as m}from"../super-ellipse/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../__internal/utils/getDataTestId.js";import"../super-ellipse-pure/component.js";import"../super-ellipse-shape/component.js";var p="component-module_component__2ITBq",a="component-module_superEllipse__ArZlb",l=function(l){var n=l.children,i=l.className,c=l.superEllipseProps,u=void 0===c?{}:c,d=u.className,_=e(u,["className"]),j=e(l,["children","className","superEllipseProps"]);return o.createElement(t,s({view:"ghost",className:r(p,i)},j),o.createElement(m,s({className:r(a,d),view:"secondary"},_),n))};export{l as SuperEllipseButton};
1
+ import{_ as e,a as s}from"../tslib.es6-b91a8b79.js";import o from"react";import r from"classnames";import{Button as t}from"../button/component.js";import{SuperEllipse as m}from"../super-ellipse/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../__internal/utils/getDataTestId.js";import"../super-ellipse-pure/component.js";import"../super-ellipse-shape/component.js";var p="component-module_component__2ITBq",a="component-module_superEllipse__ArZlb",l=function(l){var n=l.children,i=l.className,c=l.superEllipseProps,u=void 0===c?{}:c,d=u.className,_=e(u,["className"]),j=e(l,["children","className","superEllipseProps"]);return o.createElement(t,s({view:"ghost",className:r(p,i)},j),o.createElement(m,s({className:r(a,d),view:"secondary"},_),n))};export{l as SuperEllipseButton};
@@ -1 +1 @@
1
- export{SuperEllipseButton}from"./component.js";import"../tslib.es6-ad524806.js";import"react";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../super-ellipse/component.js";import"../__internal/utils/getDataTestId.js";import"../super-ellipse-pure/component.js";import"../super-ellipse-shape/component.js";
1
+ export{SuperEllipseButton}from"./component.js";import"../tslib.es6-b91a8b79.js";import"react";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../super-ellipse/component.js";import"../__internal/utils/getDataTestId.js";import"../super-ellipse-pure/component.js";import"../super-ellipse-shape/component.js";
@@ -1 +1 @@
1
- import e from"react";import{Typography as t}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"classnames";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.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
+ import e from"react";import{Typography as t}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-b91a8b79.js";import"../typography/title/component.js";import"classnames";import"../colors.module-2174a258.js";import"../common.module-74582d34.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,a=i.leftAddons,p=i.rightAddons;return e.createElement("div",{className:o},e.createElement("div",{className:m},e.createElement(t.Text,{weight:"bold",tag:"span"},s),a&&e.createElement("div",{className:r},a)),p&&e.createElement("div",{className:n},p))};export{i as SuperListHeader};
@@ -1 +1 @@
1
- export{SuperListHeader}from"./component.js";import"react";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"classnames";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.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-b91a8b79.js";import"../typography/title/component.js";import"classnames";import"../colors.module-2174a258.js";import"../common.module-74582d34.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-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var a="index-module_component__2owJP",m="index-module_leftSide__dDCo_",r="index-module_leftAddons__gqGvn",s="index-module_disabled_dot__2wF8s",i="index-module_rightAddons__QpHoK",d=function(d){var n=d.text,l=d.rightAddons,p=d.leftAddons,c=d.color,_=void 0===c?"secondary":c,g=d.disabled,v=d.className,y=d.weight,f=void 0===y?"regular":y;return e.createElement("div",{className:t(a,v)},e.createElement("div",{className:m},p&&!g&&e.createElement("div",{className:r},p),g&&e.createElement("div",{className:r},e.createElement("span",{className:s})),e.createElement(o.Text,{weight:f,color:_,view:"title",tag:"span"},n)),l&&e.createElement("div",{className:i},l))};export{d 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-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.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",i="index-module_rightAddons__QpHoK",d=function(d){var n=d.text,l=d.rightAddons,p=d.leftAddons,c=d.color,_=void 0===c?"secondary":c,g=d.disabled,v=d.className,y=d.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:i},l))};export{d 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-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.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-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
@@ -1 +1 @@
1
- import{_ as e,a}from"../tslib.es6-ad524806.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,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=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]=f,r[m.checked]=b,r[m.reversed]=u,r[m.focused]=q,r[m.block]=v,r)),ref:c([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
+ import{_ as e,a}from"../tslib.es6-b91a8b79.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,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=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]=f,r[m.checked]=b,r[m.reversed]=u,r[m.focused]=q,r[m.block]=v,r)),ref:c([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-ad524806.js";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";
1
+ export{Switch}from"./component.js";import"../tslib.es6-b91a8b79.js";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";
@@ -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-ad524806.js";import"../component-6a7a4b43.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-ba9af794.js";import"../common.module-4f0fab65.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-fdce63ec.js";import"../_commonjsHelpers-2bb7680c.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{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-b91a8b79.js";import"../component-cba31799.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-2174a258.js";import"../common.module-74582d34.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-96fefa4e.js";import"../_commonjsHelpers-e647a4bf.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 +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-ad524806.js";import"react";import"classnames";import"../component-6a7a4b43.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-ba9af794.js";import"../common.module-4f0fab65.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-fdce63ec.js";import"../_commonjsHelpers-2bb7680c.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-b91a8b79.js";import"react";import"classnames";import"../component-cba31799.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-2174a258.js";import"../common.module-74582d34.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-96fefa4e.js";import"../_commonjsHelpers-e647a4bf.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 +1 @@
1
- import{_ as t,a as o}from"../../../tslib.es6-ad524806.js";import e from"react";import s from"classnames";import{C as m}from"../../../component-6a7a4b43.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-ba9af794.js";import"../../../common.module-4f0fab65.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",p="index-module_children__35FGz",i=function(i){var a=i.dataTestID,n=i.className,l=i.children,c=t(i,["dataTestID","className","children"]);return e.createElement("td",o({"data-test-id":a,className:s(r,n)},c),l?e.createElement("div",{className:s(p)},l):e.createElement(m.Base,o({},c)))};export{i as Cell};
1
+ import{_ as t,a as o}from"../../../tslib.es6-b91a8b79.js";import e from"react";import s from"classnames";import{C as m}from"../../../component-cba31799.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-2174a258.js";import"../../../common.module-74582d34.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",p="index-module_children__35FGz",i=function(i){var n=i.dataTestID,a=i.className,l=i.children,c=t(i,["dataTestID","className","children"]);return e.createElement("td",o({"data-test-id":n,className:s(r,a)},c),l?e.createElement("div",{className:s(p)},l):e.createElement(m.Base,o({},c)))};export{i as Cell};
@@ -1 +1 @@
1
- export{Cell}from"./component.js";import"../../../tslib.es6-ad524806.js";import"react";import"classnames";import"../../../component-6a7a4b43.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-ba9af794.js";import"../../../common.module-4f0fab65.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-b91a8b79.js";import"react";import"classnames";import"../../../component-cba31799.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-2174a258.js";import"../../../common.module-74582d34.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 +1 @@
1
- import{a as e}from"../../../tslib.es6-ad524806.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-ba9af794.js";import"../../../common.module-4f0fab65.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var l={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"},d=function(d){var i=d.headerGroups,m=d.addParam,s=d.params;return r.createElement(r.Fragment,null,i.map((function(d){return r.createElement(n,e({className:l.header_row},d.getHeaderGroupProps()),d.headers.map((function(e){var n,d;e.isSorted=(null==s?void 0:s.sort)===e.id,e.isSortedDesc="ASC"===(null==s?void 0:s.order);var i=!e.isSorted||e.isSortedDesc?"down":"up";return r.createElement("th",{className:t(l.head_cell,(n={},n[l.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:l.head_wrapper,tag:"div",view:"caps",color:"secondary",weight:"medium"},e.render("Header").toUpperCase(),e.enableSort&&r.createElement("span",{className:t(l.arrow,l[i],(d={},d[l.accent]=e.isSorted,d))},r.createElement(o,null))))})))})))};export{d as Cells};
1
+ import{a as e}from"../../../tslib.es6-b91a8b79.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-2174a258.js";import"../../../common.module-74582d34.js";import"../../../typography/text/component.js";import"../../../typography/title-responsive/component.js";var l={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"},d=function(d){var i=d.headerGroups,m=d.addParam,s=d.params;return r.createElement(r.Fragment,null,i.map((function(d){return r.createElement(n,e({className:l.header_row},d.getHeaderGroupProps()),d.headers.map((function(e){var n,d;e.isSorted=(null==s?void 0:s.sort)===e.id,e.isSortedDesc="ASC"===(null==s?void 0:s.order);var i=!e.isSorted||e.isSortedDesc?"down":"up";return r.createElement("th",{className:t(l.head_cell,(n={},n[l.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:l.head_wrapper,tag:"div",view:"caps",color:"secondary",weight:"medium"},e.render("Header").toUpperCase(),e.enableSort&&r.createElement("span",{className:t(l.arrow,l[i],(d={},d[l.accent]=e.isSorted,d))},r.createElement(o,null))))})))})))};export{d 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-ad524806.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-ba9af794.js";import"../../../common.module-4f0fab65.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-b91a8b79.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-2174a258.js";import"../../../common.module-74582d34.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-ad524806.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-ba9af794.js";import"../../../common.module-4f0fab65.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-b91a8b79.js";import"../../../typography/title/component.js";import"classnames";import"../../../colors.module-2174a258.js";import"../../../common.module-74582d34.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-ad524806.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-ba9af794.js";import"../../../common.module-4f0fab65.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-b91a8b79.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-2174a258.js";import"../../../common.module-74582d34.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-ad524806.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-b91a8b79.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 +1 @@
1
- export{Row}from"./component.js";import"../../../tslib.es6-ad524806.js";import"react";import"classnames";
1
+ export{Row}from"./component.js";import"../../../tslib.es6-b91a8b79.js";import"react";import"classnames";
@@ -1 +1 @@
1
- import{a as e}from"../../../tslib.es6-ad524806.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-ba9af794.js";import"../../../common.module-4f0fab65.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")})))}))):o.createElement(r,{language:u})};export{i as Rows};
1
+ import{a as e}from"../../../tslib.es6-b91a8b79.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-2174a258.js";import"../../../common.module-74582d34.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")})))}))):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-ad524806.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.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(k)("create")),!!f&&e.createElement(o,{view:"outlined",size:"xs",onClick:f},r(k)("export")),!!C&&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};
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-b91a8b79.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,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")),!!C&&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 +1 @@
1
- import{c as t,d as r}from"../../tslib.es6-ad524806.js";import{useState as e,useCallback as s,useEffect as a}from"react";import{getQueryFromUrl as n}from"../utils/get-query-from-url.js";import"../../parse-query-params-fdce63ec.js";import"../../_commonjsHelpers-2bb7680c.js";function o(o){var c=this,i=e(!1),u=i[0],m=i[1],f=e(!1),l=f[0],p=f[1],d=e([]),b=d[0],h=d[1],j=e(0),g=j[0],v=j[1],y=e(1),q=y[0],P=y[1],w=e(),x=w[0],C=w[1],D=s((function(){return t(c,void 0,void 0,(function(){var t,e,s,a;return r(this,(function(r){switch(r.label){case 0:if(t=n(),C(t),!o)return[2];p(!1),m(!0),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,o(t)];case 2:return e=r.sent().data,s=e.items,a=e.meta,v(a.totalItems),P(a.totalPages),h(s),[3,5];case 3:return r.sent(),p(!0),[3,5];case 4:return m(!1),[7];case 5:return[2]}}))}))}),[o]);return a((function(){D()}),[]),{loading:u,error:l,asyncData:b,total:g,params:x,pagesCount:q,fetch:D,setParams:C}}export{o as useTableData};
1
+ import{c as t,d as r}from"../../tslib.es6-b91a8b79.js";import{useState as e,useCallback as a,useEffect as s}from"react";import{getQueryFromUrl as n}from"../utils/get-query-from-url.js";import"../../parse-query-params-96fefa4e.js";import"../../_commonjsHelpers-e647a4bf.js";function o(o){var i=this,u=e(!1),c=u[0],m=u[1],f=e(!1),l=f[0],p=f[1],b=e([]),d=b[0],h=b[1],j=e(0),g=j[0],v=j[1],y=e(1),q=y[0],P=y[1],w=e(),x=w[0],C=w[1],D=a((function(){return t(i,void 0,void 0,(function(){var t,e,a,s;return r(this,(function(r){switch(r.label){case 0:if(t=n(),C(t),!o)return[2];p(!1),m(!0),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,o(t)];case 2:return e=r.sent().data,a=e.items,s=e.meta,v(s.totalItems),P(s.totalPages),h(a),[3,5];case 3:return r.sent(),p(!0),[3,5];case 4:return m(!1),[7];case 5:return[2]}}))}))}),[o]);return s((function(){D()}),[]),{loading:c,error:l,asyncData:d,total:g,params:x,pagesCount:q,fetch:D,setParams:C}}export{o as useTableData};
@@ -1 +1 @@
1
- export{Table}from"./component.js";export{Cell}from"./components/cell/component.js";export{Row}from"./components/row/component.js";import"./table.js";import"../tslib.es6-ad524806.js";import"react";import"react-table";import"./components/cells/index.js";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./components/pagination/index.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";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-fdce63ec.js";import"../_commonjsHelpers-2bb7680c.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";import"../component-6a7a4b43.js";import"ts-keycode-enum";import"../__internal/utils/getDataTestId.js";import"../super-ellipse/component.js";import"../super-ellipse-pure/component.js";import"../super-ellipse-shape/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{Table}from"./component.js";export{Cell}from"./components/cell/component.js";export{Row}from"./components/row/component.js";import"./table.js";import"../tslib.es6-b91a8b79.js";import"react";import"react-table";import"./components/cells/index.js";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./components/pagination/index.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";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-96fefa4e.js";import"../_commonjsHelpers-e647a4bf.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";import"../component-cba31799.js";import"ts-keycode-enum";import"../__internal/utils/getDataTestId.js";import"../super-ellipse/component.js";import"../super-ellipse-pure/component.js";import"../super-ellipse-shape/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 +1 @@
1
- import{a as e}from"../tslib.es6-ad524806.js";import o,{useState as t,useEffect as r}from"react";import{useTable as a}from"react-table";import{Cells as s}from"./components/cells/index.js";import{Pagination as i}from"./components/pagination/index.js";import{Rows as n}from"./components/rows/index.js";import{TableHeader as m}from"./components/table-header/index.js";import{useTableData as l}from"./hooks/use-table-data.js";import{addQueryParam as p}from"./utils/add-query-param.js";import{getTags as c}from"./utils/get-tags.js";import{removeQueryParam as d}from"./utils/remove-query-param.js";import{resetQueryParam as u}from"./utils/reset-query-param.js";import"../parse-query-params-fdce63ec.js";import{serializeData as g}from"./utils/serialize-data.js";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./components/row/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"./languages/index.js";import"./components/empty-list/index.js";import"./components/error/index.js";import"./components/loading/index.js";import"./utils/get-query-from-url.js";import"./utils/set-query-to-url.js";import"../_commonjsHelpers-2bb7680c.js";import"./utils/sort-array.js";import"./utils/is-object.js";var j="index-module_table_wrapper__2Ws0b",f="index-module_table__3VsC2",y=function(y){var h=y.columns,b=y.searchPlaceholder,x=void 0===b?"Поиск по таблице":b,C=y.loadedData,k=y.tagsBuilder,w=y.promise,P=y.onRowClick,v=y.onCreateClick,E=y.onFiltersClick,_=y.onDownloadClick,q=y.language,D=l(w),T=D.loading,R=D.error,B=D.asyncData,F=D.total,G=D.params,N=D.pagesCount,V=D.fetch,z=t([]),H=z[0],S=z[1];r((function(){S([]),setTimeout((function(){S(C?g(C,G):B)}))}),[B,C,G]);var W=function(){return E?E({submitCallback:function(e){return u(e),void V()},initialValues:G}):null},A=function(e){p(e),V()},I=c({params:G,onDelete:function(e,o){d(e,o),V()},tagsBuilder:k,onClick:W}),J=a({columns:h,data:H}),K=J.getTableProps,L=J.getTableBodyProps,M=J.headerGroups,O=J.rows,Q=J.prepareRow;return o.createElement("div",{className:j},o.createElement(m,{language:q,searchText:G?G.searchText:"",addParam:A,searchPlaceholder:x,tags:I,onCreateClick:v,onDownloadClick:_,onFiltersClick:W}),o.createElement("div",{className:f},o.createElement("table",e({},K(),{cellSpacing:"0",cellPadding:"0",style:{width:"100%"}}),o.createElement("thead",null,o.createElement(s,{addParam:A,headerGroups:M,params:G})),o.createElement("tbody",e({},L()),o.createElement(n,{language:q,prepareRow:Q,onRowClick:P,rows:O,error:R,loading:T})))),o.createElement(i,{language:q,currentPage:G?+G.page:1,recordsPerPage:G?+G.limit:10,pagesCount:+N,addParam:A,total:+F}))};export{y as Table};
1
+ import{a as e}from"../tslib.es6-b91a8b79.js";import o,{useState as t,useEffect as r}from"react";import{useTable as a}from"react-table";import{Cells as s}from"./components/cells/index.js";import{Pagination as i}from"./components/pagination/index.js";import{Rows as n}from"./components/rows/index.js";import{TableHeader as m}from"./components/table-header/index.js";import{useTableData as l}from"./hooks/use-table-data.js";import{addQueryParam as p}from"./utils/add-query-param.js";import{getTags as c}from"./utils/get-tags.js";import{removeQueryParam as d}from"./utils/remove-query-param.js";import{resetQueryParam as u}from"./utils/reset-query-param.js";import"../parse-query-params-96fefa4e.js";import{serializeData as g}from"./utils/serialize-data.js";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./components/row/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"./languages/index.js";import"./components/empty-list/index.js";import"./components/error/index.js";import"./components/loading/index.js";import"./utils/get-query-from-url.js";import"./utils/set-query-to-url.js";import"../_commonjsHelpers-e647a4bf.js";import"./utils/sort-array.js";import"./utils/is-object.js";var j="index-module_table_wrapper__2Ws0b",f="index-module_table__3VsC2",y=function(y){var h=y.columns,b=y.searchPlaceholder,x=void 0===b?"Поиск по таблице":b,C=y.loadedData,k=y.tagsBuilder,w=y.promise,P=y.onRowClick,v=y.onCreateClick,E=y.onFiltersClick,_=y.onDownloadClick,q=y.language,D=l(w),T=D.loading,R=D.error,B=D.asyncData,F=D.total,G=D.params,N=D.pagesCount,V=D.fetch,z=t([]),H=z[0],S=z[1];r((function(){S([]),setTimeout((function(){S(C?g(C,G):B)}))}),[B,C,G]);var W=function(){return E?E({submitCallback:function(e){return u(e),void V()},initialValues:G}):null},A=function(e){p(e),V()},I=c({params:G,onDelete:function(e,o){d(e,o),V()},tagsBuilder:k,onClick:W}),J=a({columns:h,data:H}),K=J.getTableProps,L=J.getTableBodyProps,M=J.headerGroups,O=J.rows,Q=J.prepareRow;return o.createElement("div",{className:j},o.createElement(m,{language:q,searchText:G?G.searchText:"",addParam:A,searchPlaceholder:x,tags:I,onCreateClick:v,onDownloadClick:_,onFiltersClick:W}),o.createElement("div",{className:f},o.createElement("table",e({},K(),{cellSpacing:"0",cellPadding:"0",style:{width:"100%"}}),o.createElement("thead",null,o.createElement(s,{addParam:A,headerGroups:M,params:G})),o.createElement("tbody",e({},L()),o.createElement(n,{language:q,prepareRow:Q,onRowClick:P,rows:O,error:R,loading:T})))),o.createElement(i,{language:q,currentPage:G?+G.page:1,recordsPerPage:G?+G.limit:10,pagesCount:+N,addParam:A,total:+F}))};export{y as Table};
@@ -1 +1 @@
1
- import{a as r}from"../../tslib.es6-ad524806.js";import{p as s,q as o}from"../../parse-query-params-fdce63ec.js";import{setQueryToUrl as e}from"./set-query-to-url.js";import"../../_commonjsHelpers-2bb7680c.js";function m(m){var a=s();e(o(r(r({},a),m)))}export{m as addQueryParam};
1
+ import{a as r}from"../../tslib.es6-b91a8b79.js";import{p as s,q as o}from"../../parse-query-params-96fefa4e.js";import{setQueryToUrl as a}from"./set-query-to-url.js";import"../../_commonjsHelpers-e647a4bf.js";function e(e){var m=s();a(o(r(r({},m),e)))}export{e as addQueryParam};
@@ -1 +1 @@
1
- import{_ as r}from"../../tslib.es6-ad524806.js";import{p as e}from"../../parse-query-params-fdce63ec.js";import"../../_commonjsHelpers-2bb7680c.js";function t(){var t=e(),s=t.limit,o=t.page,a=t.searchText,i=t.sort,m=t.order,p={where:r(t,["limit","page","searchText","sort","order"]),limit:Number(s)||10,page:Number(o)||1};return"ASC"!==m&&"DESC"!==m||(p.order=m),"string"==typeof a&&(p.searchText=a),"string"==typeof i&&(p.sort=i),p}export{t as getQueryFromUrl};
1
+ import{_ as r}from"../../tslib.es6-b91a8b79.js";import{p as e}from"../../parse-query-params-96fefa4e.js";import"../../_commonjsHelpers-e647a4bf.js";function t(){var t=e(),s=t.limit,o=t.page,a=t.searchText,i=t.sort,m=t.order,p={where:r(t,["limit","page","searchText","sort","order"]),limit:Number(s)||10,page:Number(o)||1};return"ASC"!==m&&"DESC"!==m||(p.order=m),"string"==typeof a&&(p.searchText=a),"string"==typeof i&&(p.sort=i),p}export{t as getQueryFromUrl};
@@ -1,7 +1,7 @@
1
1
  export * from "./add-query-param";
2
2
  export * from "./get-query-from-url";
3
3
  export * from "./get-tags";
4
- export * from "../../parse-query-params-fdce63ec";
4
+ export * from "../../parse-query-params-96fefa4e";
5
5
  export * from "./remove-query-param";
6
6
  export * from "./reset-query-param";
7
7
  export * from "./set-query-to-url";
@@ -1 +1 @@
1
- export{addQueryParam}from"./add-query-param.js";export{getQueryFromUrl}from"./get-query-from-url.js";export{getTags}from"./get-tags.js";export{p as parseQueryParams}from"../../parse-query-params-fdce63ec.js";export{removeQueryParam}from"./remove-query-param.js";export{resetQueryParam}from"./reset-query-param.js";export{setQueryToUrl}from"./set-query-to-url.js";export{serializeData}from"./serialize-data.js";import"../../tslib.es6-ad524806.js";import"../../_commonjsHelpers-2bb7680c.js";import"./sort-array.js";import"./is-object.js";
1
+ export{addQueryParam}from"./add-query-param.js";export{getQueryFromUrl}from"./get-query-from-url.js";export{getTags}from"./get-tags.js";export{p as parseQueryParams}from"../../parse-query-params-96fefa4e.js";export{removeQueryParam}from"./remove-query-param.js";export{resetQueryParam}from"./reset-query-param.js";export{setQueryToUrl}from"./set-query-to-url.js";export{serializeData}from"./serialize-data.js";import"../../tslib.es6-b91a8b79.js";import"../../_commonjsHelpers-e647a4bf.js";import"./sort-array.js";import"./is-object.js";
@@ -1 +1 @@
1
- export{p as parseQueryParams}from"../../parse-query-params-fdce63ec.js";import"../../_commonjsHelpers-2bb7680c.js";
1
+ export{p as parseQueryParams}from"../../parse-query-params-96fefa4e.js";import"../../_commonjsHelpers-e647a4bf.js";
@@ -1 +1 @@
1
- import{a as r}from"../../tslib.es6-ad524806.js";var e={dev:{limit:"_limit",page:"_page",sort:"_sort",order:"_order",searchText:"q"},prod:{limit:"limit",page:"page",sort:"sort",order:"order",searchText:"searchText"}};function t(t,o){return Object.entries(t).reduce((function(t,i){var a,s=i[0],d=i[1],c=e[o][s]||s;return r(((a={})[c]=d,a),t)}),{})}export{t as queryAdapter};
1
+ import{a as r}from"../../tslib.es6-b91a8b79.js";var e={dev:{limit:"_limit",page:"_page",sort:"_sort",order:"_order",searchText:"q"},prod:{limit:"limit",page:"page",sort:"sort",order:"order",searchText:"searchText"}};function t(t,o){return Object.entries(t).reduce((function(t,i){var a,s=i[0],c=i[1],d=e[o][s]||s;return r(((a={})[d]=c,a),t)}),{})}export{t as queryAdapter};
@@ -1 +1 @@
1
- import{p as r,q as e}from"../../parse-query-params-fdce63ec.js";import{setQueryToUrl as o}from"./set-query-to-url.js";import"../../_commonjsHelpers-2bb7680c.js";function s(s,t){var a=r();Array.isArray(a[s])&&t?a[s]=a[s].filter((function(r){return r!==t})):delete a[s],o(e(a))}export{s as removeQueryParam};
1
+ import{p as r,q as e}from"../../parse-query-params-96fefa4e.js";import{setQueryToUrl as o}from"./set-query-to-url.js";import"../../_commonjsHelpers-e647a4bf.js";function s(s,t){var a=r();Array.isArray(a[s])&&t?a[s]=a[s].filter((function(r){return r!==t})):delete a[s],o(e(a))}export{s as removeQueryParam};
@@ -1 +1 @@
1
- import{a as r}from"../../tslib.es6-ad524806.js";import{p as e,q as t}from"../../parse-query-params-fdce63ec.js";import{setQueryToUrl as s}from"./set-query-to-url.js";import"../../_commonjsHelpers-2bb7680c.js";function o(o){var a=Object.fromEntries(Object.entries(o).filter((function(r){return""!==r[1]}))),i=e(),m=i.searchText,c=i.order,p=i.sort;s(t(r({limit:10,page:1,searchText:m,order:c,sort:p},a)))}export{o as resetQueryParam};
1
+ import{a as r}from"../../tslib.es6-b91a8b79.js";import{p as e,q as t}from"../../parse-query-params-96fefa4e.js";import{setQueryToUrl as s}from"./set-query-to-url.js";import"../../_commonjsHelpers-e647a4bf.js";function o(o){var a=Object.fromEntries(Object.entries(o).filter((function(r){return""!==r[1]}))),i=e(),m=i.searchText,f=i.order,p=i.sort;s(t(r({limit:10,page:1,searchText:m,order:f,sort:p},a)))}export{o as resetQueryParam};
@@ -1 +1 @@
1
- import e from"react";import{CloseMarkM as t,CheckmarkRoudedM as o,ClockRoundM as r,AlertCircleM as m}from"alpha-cli-icons";import n from"classnames";import{Typography as a}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var i="index-module_icon__K7YrF",l="index-module_text__2HEoz",p={negative:e.createElement(t,null),positive:e.createElement(o,null),secondary:e.createElement(r,null),accent:e.createElement(t,null),attention:e.createElement(m,null)},c=function(t){var o=t.text,r=t.view,m=void 0===r?"secondary":r,c=t.className;return e.createElement(a.Text,{className:n(l,c),tag:"div",view:"caps",weight:"medium",color:m},e.createElement("span",{className:i},p[m])," ",o)};export{c as TableStatus};
1
+ import e from"react";import{CloseMarkM as t,CheckmarkRoudedM as o,ClockRoundM as r,AlertCircleM as m}from"alpha-cli-icons";import n from"classnames";import{Typography as a}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var i="index-module_icon__K7YrF",l="index-module_text__2HEoz",p={negative:e.createElement(t,null),positive:e.createElement(o,null),secondary:e.createElement(r,null),accent:e.createElement(t,null),attention:e.createElement(m,null)},c=function(t){var o=t.text,r=t.view,m=void 0===r?"secondary":r,c=t.className;return e.createElement(a.Text,{className:n(l,c),tag:"div",view:"caps",weight:"medium",color:m},e.createElement("span",{className:i},p[m])," ",o)};export{c as TableStatus};
@@ -1 +1 @@
1
- export{TableStatus}from"./component.js";import"react";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
1
+ export{TableStatus}from"./component.js";import"react";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
@@ -1 +1 @@
1
- import t from"react";import{CrossCompactM as e}from"alpha-cli-icons";import o from"classnames";import{Typography as i}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var r={tag:"index-module_tag__3K8Ul",s:"index-module_s__2mpbc",m:"index-module_m__3rDzv",show_cross:"index-module_show_cross__3XM5X",text:"index-module_text__3ztOa",primary:"index-module_primary__wgQ3Q","primary-inverted":"index-module_primary-inverted__2Teca"},a=function(a){var m,s=a.text,n=a.onClick,p=a.onCloseClick,l=a.view,c=void 0===l?"primary":l,d=a.dataTestId,_=a.size,u=void 0===_?"m":_,y=a.className;return t.createElement("button",{type:"button","data-test-id":d,onClick:n,disabled:!n&&!p,className:o(r.tag,r[c],r[u],(m={},m[r.show_cross]=!!p,m),y)},t.createElement(i.Text,{className:r.text,view:"caps",weight:"medium",color:c},s),!!p&&t.createElement("button",{"data-test-id":d+"_close",type:"button","aria-label":"close-tag",onClick:function(t){t.stopPropagation(),p()}},t.createElement(e,null)))};export{a as Tag};
1
+ import t from"react";import{CrossCompactM as e}from"alpha-cli-icons";import o from"classnames";import{Typography as i}from"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var r={tag:"index-module_tag__3K8Ul",s:"index-module_s__2mpbc",m:"index-module_m__3rDzv",show_cross:"index-module_show_cross__3XM5X",text:"index-module_text__3ztOa",primary:"index-module_primary__wgQ3Q","primary-inverted":"index-module_primary-inverted__2Teca"},m=function(m){var a,s=m.text,n=m.onClick,p=m.onCloseClick,l=m.view,c=void 0===l?"primary":l,d=m.dataTestId,_=m.size,u=void 0===_?"m":_,y=m.className;return t.createElement("button",{type:"button","data-test-id":d,onClick:n,disabled:!n&&!p,className:o(r.tag,r[c],r[u],(a={},a[r.show_cross]=!!p,a),y)},t.createElement(i.Text,{className:r.text,view:"caps",weight:"medium",color:c},s),!!p&&t.createElement("button",{"data-test-id":d+"_close",type:"button","aria-label":"close-tag",onClick:function(t){t.stopPropagation(),p()}},t.createElement(e,null)))};export{m as Tag};
package/dist/tag/index.js CHANGED
@@ -1 +1 @@
1
- export{Tag}from"./component.js";import"react";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
1
+ export{Tag}from"./component.js";import"react";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
@@ -1 +1 @@
1
- import o from"react";import{Tag as t}from"../tag/component.js";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var e="index-module_tags__3C3tK",i=function(i){var r=i.tags,p=i.view,m=void 0===p?"primary":p,n=i.onClick,a=i.onCloseClick;return o.createElement("div",{className:e},(null==r?void 0:r.length)&&r.map((function(e){return o.createElement(t,{key:e,text:e,onClick:n,onCloseClick:a,view:m})})))};export{i as TagsList};
1
+ import o from"react";import{Tag as t}from"../tag/component.js";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";var e="index-module_tags__3C3tK",i=function(i){var r=i.tags,p=i.view,m=void 0===p?"primary":p,n=i.onClick,s=i.onCloseClick;return o.createElement("div",{className:e},(null==r?void 0:r.length)&&r.map((function(e){return o.createElement(t,{key:e,text:e,onClick:n,onCloseClick:s,view:m})})))};export{i as TagsList};
@@ -1 +1 @@
1
- export{TagsList}from"./component.js";import"react";import"../tag/component.js";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-ad524806.js";import"../typography/title/component.js";import"../colors.module-ba9af794.js";import"../common.module-4f0fab65.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
1
+ export{TagsList}from"./component.js";import"react";import"../tag/component.js";import"alpha-cli-icons";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-b91a8b79.js";import"../typography/title/component.js";import"../colors.module-2174a258.js";import"../common.module-74582d34.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";