@tap-payments/os-micro-frontend-shared 0.1.503 → 0.1.504

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 (444) hide show
  1. package/build/{chunk-MVFI4FYO.js → chunk-255CFNWT.js} +1 -1
  2. package/build/{chunk-GKHUZBEU.js → chunk-3S6UFMPM.js} +1 -1
  3. package/build/chunk-5EAPKV6Z.js +1 -0
  4. package/build/{chunk-EK33LA53.js → chunk-5FGBAQCB.js} +1 -1
  5. package/build/{chunk-FFHV6BRC.js → chunk-6AXK6G6F.js} +1 -1
  6. package/build/{chunk-UXE5BRMF.js → chunk-77XQEKYU.js} +1 -1
  7. package/build/chunk-7ZFSATUN.js +1 -0
  8. package/build/chunk-A3J2TSGA.js +1 -0
  9. package/build/{chunk-L7INAQR3.js → chunk-CNA7B5KD.js} +1 -1
  10. package/build/{chunk-R3L6IFBO.js → chunk-EVW2UJCX.js} +1 -1
  11. package/build/chunk-FISWDDPT.js +1 -0
  12. package/build/chunk-GNGXG4OF.js +1 -0
  13. package/build/{chunk-BETVYM2R.js → chunk-GPUCSAC4.js} +1 -1
  14. package/build/{chunk-ALDNT5OP.js → chunk-GXN5LKJW.js} +1 -1
  15. package/build/{chunk-CLDH2MKY.js → chunk-HJT5C7PJ.js} +1 -1
  16. package/build/{chunk-5AN7MCOE.js → chunk-INI5TW45.js} +1 -1
  17. package/build/{chunk-OT7SU4XQ.js → chunk-JFOGBMFV.js} +1 -1
  18. package/build/{chunk-CONS4YKE.js → chunk-JVYER6MG.js} +1 -1
  19. package/build/{chunk-UMMHRPGR.js → chunk-KDN6XYG3.js} +1 -1
  20. package/build/chunk-LDUQJLP3.js +1 -0
  21. package/build/chunk-NIITDYRN.js +1 -0
  22. package/build/{chunk-UZEPNI5Y.js → chunk-NVLXVSQ7.js} +1 -1
  23. package/build/chunk-NWOFF5RI.js +1 -0
  24. package/build/chunk-NZCE7RE7.js +1 -0
  25. package/build/chunk-OW2DTTU4.js +1 -0
  26. package/build/{chunk-DFPYWLAB.js → chunk-PGCYOIBA.js} +1 -1
  27. package/build/{chunk-MUEJH3YL.js → chunk-Q24IFWEQ.js} +1 -1
  28. package/build/{chunk-RZVKO5KI.js → chunk-QJ4PDT3I.js} +1 -1
  29. package/build/{chunk-ZGPXDBCL.js → chunk-RIWGIBLO.js} +1 -1
  30. package/build/chunk-SXCR3DTQ.js +1 -0
  31. package/build/chunk-TAVFP2H4.js +1 -0
  32. package/build/{chunk-XI7ZZXSW.js → chunk-WGT7KRBX.js} +1 -1
  33. package/build/{chunk-URMDC2NQ.js → chunk-WPL3V2ZA.js} +1 -1
  34. package/build/chunk-X2LGTGCL.js +1 -0
  35. package/build/chunk-YRME2XLH.js +1 -0
  36. package/build/components/Amount/TotalAmount/TotalAmount.js +1 -1
  37. package/build/components/Amount/TotalAmount/index.js +1 -1
  38. package/build/components/Amount/TotalAmount/style.js +1 -1
  39. package/build/components/Amount/index.js +1 -1
  40. package/build/components/AmountConversionFilter/AmountConversionFilter.js +1 -1
  41. package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.js +1 -1
  42. package/build/components/AmountConversionFilter/index.js +1 -1
  43. package/build/components/AmountConversionFilter/style.js +1 -1
  44. package/build/components/AmountInput/AmountInput.js +1 -1
  45. package/build/components/AmountInput/index.js +1 -1
  46. package/build/components/AmountInput/style.js +1 -1
  47. package/build/components/AppServices/AppServices.js +1 -1
  48. package/build/components/AppServices/ServiceItem.js +1 -1
  49. package/build/components/AppServices/index.js +1 -1
  50. package/build/components/AppServicesBar/AppServicesBar.js +1 -1
  51. package/build/components/AppServicesBar/index.js +1 -1
  52. package/build/components/AppWindowWrapper/AppWindow/AppWindow.js +1 -1
  53. package/build/components/AppWindowWrapper/AppWindow/index.js +1 -1
  54. package/build/components/AppWindowWrapper/AppWindowWrapper.js +1 -1
  55. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.js +1 -1
  56. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +1 -1
  57. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.js +1 -1
  58. package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +1 -1
  59. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.js +1 -1
  60. package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.js +1 -1
  61. package/build/components/AppWindowWrapper/index.js +1 -1
  62. package/build/components/BrandLogo/BrandLogo.js +1 -1
  63. package/build/components/BrandLogo/Loading.js +1 -1
  64. package/build/components/BrandLogo/index.js +1 -1
  65. package/build/components/CopyImage/CopyImage.js +1 -1
  66. package/build/components/CopyImage/index.js +1 -1
  67. package/build/components/CountryFilter/CountryFilter.js +1 -1
  68. package/build/components/CountryFilter/index.d.ts +3 -1
  69. package/build/components/CountryFilter/index.js +1 -1
  70. package/build/components/CountryFilter/style.d.ts +9 -5
  71. package/build/components/CountryFilter/style.js +1 -1
  72. package/build/components/CurrencyFilter/CurrencyFilter.js +1 -1
  73. package/build/components/CurrencyFilter/index.js +1 -1
  74. package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +1 -1
  75. package/build/components/Customer/CustomerDropdown/index.js +1 -1
  76. package/build/components/Customer/CustomerForms/CustomerEmailForm.js +1 -1
  77. package/build/components/Customer/CustomerForms/CustomerFullInfo.js +1 -1
  78. package/build/components/Customer/CustomerForms/CustomerFullInfoForm.js +1 -1
  79. package/build/components/Customer/CustomerForms/CustomerPhoneNumberForm.js +1 -1
  80. package/build/components/Customer/CustomerForms/index.js +1 -1
  81. package/build/components/Customer/CustomerForms/style.js +1 -1
  82. package/build/components/Customer/index.js +1 -1
  83. package/build/components/DateFilter/DateFilter.js +1 -1
  84. package/build/components/DateFilter/index.js +1 -1
  85. package/build/components/DateFilter/style.js +1 -1
  86. package/build/components/Dialog/components/DialogToolbar.js +1 -1
  87. package/build/components/Dialog/components/index.js +1 -1
  88. package/build/components/Dialog/index.js +1 -1
  89. package/build/components/Discount/DiscountDropdown/DiscountDropdown.js +1 -1
  90. package/build/components/Discount/DiscountDropdown/index.js +1 -1
  91. package/build/components/Discount/DiscountRateDropdown/DiscountRateDropdown.js +1 -1
  92. package/build/components/Discount/DiscountRateDropdown/index.js +1 -1
  93. package/build/components/Discount/TotalDiscount/TotalDiscount.js +1 -1
  94. package/build/components/Discount/TotalDiscount/index.js +1 -1
  95. package/build/components/Discount/index.js +1 -1
  96. package/build/components/Dropdown2/Dropdown2.js +1 -1
  97. package/build/components/Dropdown2/index.js +1 -1
  98. package/build/components/ExpandableSideBar/ExpandableSideBar.js +1 -1
  99. package/build/components/ExpandableSideBar/index.js +1 -1
  100. package/build/components/ExpandableSideBar/style.js +1 -1
  101. package/build/components/FileInputPreview/FileInputPreview.js +1 -1
  102. package/build/components/FileInputPreview/index.js +1 -1
  103. package/build/components/FileInputPreview/style.js +1 -1
  104. package/build/components/FilterDropdown/FilterDropdown.js +1 -1
  105. package/build/components/FilterDropdown/components/BrandItem/BrandItem.js +1 -1
  106. package/build/components/FilterDropdown/components/BrandItem/index.js +1 -1
  107. package/build/components/FilterDropdown/components/CountriesItem/CountriesItem.js +1 -1
  108. package/build/components/FilterDropdown/components/CountriesItem/index.js +1 -1
  109. package/build/components/FilterDropdown/components/CurrenciesItem/CurrenciesItem.js +1 -1
  110. package/build/components/FilterDropdown/components/CurrenciesItem/index.js +1 -1
  111. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/FlatMerchantsListMenu.js +1 -1
  112. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/index.js +1 -1
  113. package/build/components/FilterDropdown/components/FlatMerchantsListMenu/style.js +1 -1
  114. package/build/components/FilterDropdown/components/MerchantItem/MerchantItem.js +1 -1
  115. package/build/components/FilterDropdown/components/MerchantItem/index.js +1 -1
  116. package/build/components/FilterDropdown/components/MerchantsFilterItem/MerchantsFilterItem.js +1 -1
  117. package/build/components/FilterDropdown/components/MerchantsFilterItem/index.js +1 -1
  118. package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.js +1 -1
  119. package/build/components/FilterDropdown/components/RetailersItem/RetailersItem.js +1 -1
  120. package/build/components/FilterDropdown/components/RetailersItem/index.js +1 -1
  121. package/build/components/FilterDropdown/components/index.js +1 -1
  122. package/build/components/FilterDropdown/index.js +1 -1
  123. package/build/components/FilterDropdown/style.js +1 -1
  124. package/build/components/Filters/index.js +1 -1
  125. package/build/components/Filters/style.js +1 -1
  126. package/build/components/FlagDetails/FlagDetails.js +1 -1
  127. package/build/components/FlagDetails/index.js +1 -1
  128. package/build/components/InputBase/SelectBase/SelectBase.js +1 -1
  129. package/build/components/InputBase/SelectBase/SelectBaseMultiple.js +1 -1
  130. package/build/components/InputBase/SelectBase/index.js +1 -1
  131. package/build/components/InputBase/index.js +1 -1
  132. package/build/components/Inputs/SearchInput/SearchInput.js +1 -1
  133. package/build/components/Inputs/SearchInput/index.js +1 -1
  134. package/build/components/Inputs/index.js +1 -1
  135. package/build/components/JSONViewer/JSONViewer.js +1 -1
  136. package/build/components/JSONViewer/JSONViewerList.js +1 -1
  137. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -1
  138. package/build/components/JSONViewer/components/JSONTitleBar/index.js +1 -1
  139. package/build/components/JSONViewer/components/index.js +1 -1
  140. package/build/components/JSONViewer/context/Provider.js +1 -1
  141. package/build/components/JSONViewer/context/index.js +1 -1
  142. package/build/components/JSONViewer/hooks/index.js +1 -1
  143. package/build/components/JSONViewer/hooks/useJsonViewerContext.js +1 -1
  144. package/build/components/JSONViewer/index.js +1 -1
  145. package/build/components/LanguageDropdown/LanguageDropdown.js +1 -1
  146. package/build/components/LanguageDropdown/index.js +1 -1
  147. package/build/components/ListColumnFilter/ListColumnFilter.js +1 -1
  148. package/build/components/ListColumnFilter/index.js +1 -1
  149. package/build/components/ListColumnFilter/style.js +1 -1
  150. package/build/components/MerchantCurrencyDropdown/MerchantCurrencyDropdown.js +1 -1
  151. package/build/components/MerchantCurrencyDropdown/SelectedCurrency.js +1 -1
  152. package/build/components/MerchantCurrencyDropdown/index.js +1 -1
  153. package/build/components/MerchantLogo/MerchantLogo.js +1 -1
  154. package/build/components/MerchantLogo/index.js +1 -1
  155. package/build/components/MerchantLogo/style.js +1 -1
  156. package/build/components/MerchantsDropdown/BrandItem.js +1 -1
  157. package/build/components/MerchantsDropdown/EntityItem.js +1 -1
  158. package/build/components/MerchantsDropdown/EntityList.js +1 -1
  159. package/build/components/MerchantsDropdown/MerchantItem.js +1 -1
  160. package/build/components/MerchantsDropdown/MerchantsDropdown.js +1 -1
  161. package/build/components/MerchantsDropdown/MerchantsList.js +1 -1
  162. package/build/components/MerchantsDropdown/index.js +1 -1
  163. package/build/components/MerchantsDropdown/style.js +1 -1
  164. package/build/components/PartnersFilter/PartnersFilter.js +1 -1
  165. package/build/components/PartnersFilter/index.js +1 -1
  166. package/build/components/PaymentSourceFilter/AuthenticationMode.js +1 -1
  167. package/build/components/PaymentSourceFilter/PaymentIcon.js +1 -1
  168. package/build/components/PaymentSourceFilter/PaymentInitiated.js +1 -1
  169. package/build/components/PaymentSourceFilter/PaymentMethod.js +1 -1
  170. package/build/components/PaymentSourceFilter/PaymentMethods.js +1 -1
  171. package/build/components/PaymentSourceFilter/PaymentSchemes.js +1 -1
  172. package/build/components/PaymentSourceFilter/PaymentSourceFilter.js +1 -1
  173. package/build/components/PaymentSourceFilter/index.js +1 -1
  174. package/build/components/PaymentSourceFilter/style.js +1 -1
  175. package/build/components/PhoneFilter/PhoneFilter.js +1 -1
  176. package/build/components/PhoneFilter/index.js +1 -1
  177. package/build/components/RFH/Inputs/AmountInput/AmountInput.js +1 -1
  178. package/build/components/RFH/Inputs/AmountInput/index.js +1 -1
  179. package/build/components/RFH/Inputs/FormInput/FormInput.js +1 -1
  180. package/build/components/RFH/Inputs/FormInput/index.js +1 -1
  181. package/build/components/RFH/Inputs/FormSelect/FormSelect.js +1 -1
  182. package/build/components/RFH/Inputs/FormSelect/index.js +1 -1
  183. package/build/components/RFH/Inputs/MultiSelect/MultiSelect.js +1 -1
  184. package/build/components/RFH/Inputs/MultiSelect/index.js +1 -1
  185. package/build/components/RFH/Inputs/PhoneInput/PhoneInput.js +1 -1
  186. package/build/components/RFH/Inputs/PhoneInput/index.js +1 -1
  187. package/build/components/RFH/Inputs/SelectWithAccordion/SelectWithAccordion.js +1 -1
  188. package/build/components/RFH/Inputs/SelectWithAccordion/index.js +1 -1
  189. package/build/components/RFH/Inputs/index.js +1 -1
  190. package/build/components/RFH/index.js +1 -1
  191. package/build/components/RangeCalender/RangeCalender.js +1 -1
  192. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +1 -1
  193. package/build/components/RangeCalender/components/CustomTimepicker/index.js +1 -1
  194. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +1 -1
  195. package/build/components/RangeCalender/components/GroupBy/index.js +1 -1
  196. package/build/components/RangeCalender/components/Hijri/Hijri.js +1 -1
  197. package/build/components/RangeCalender/components/Hijri/index.js +1 -1
  198. package/build/components/RangeCalender/components/Timezone/Timezone.js +1 -1
  199. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +1 -1
  200. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +1 -1
  201. package/build/components/RangeCalender/components/Timezone/index.js +1 -1
  202. package/build/components/RangeCalender/index.js +1 -1
  203. package/build/components/ReceiptsViewer/ReceiptViewer.js +1 -1
  204. package/build/components/ReceiptsViewer/ReceiptsViewer.js +1 -1
  205. package/build/components/ReceiptsViewer/index.js +1 -1
  206. package/build/components/ReferenceTypeFilter/ReferenceTypeFilter.js +1 -1
  207. package/build/components/ReferenceTypeFilter/index.js +1 -1
  208. package/build/components/ReferenceTypeFilter/style.js +1 -1
  209. package/build/components/SalesChannelFilter/SalesChannelFilter.js +1 -1
  210. package/build/components/SalesChannelFilter/index.js +1 -1
  211. package/build/components/SelectWithSearch/SelectWithSearch.js +1 -1
  212. package/build/components/SelectWithSearch/index.js +1 -1
  213. package/build/components/StatusFilter/StatusFilter.js +1 -1
  214. package/build/components/StatusFilter/index.js +1 -1
  215. package/build/components/StatusIcons/AuthorizationAutoIcons/CaptureAutoIcon.js +1 -1
  216. package/build/components/StatusIcons/AuthorizationAutoIcons/VoidAutoIcon.js +1 -1
  217. package/build/components/StatusIcons/AuthorizationAutoIcons/index.js +1 -1
  218. package/build/components/StatusIcons/AuthorizationAutoIcons/style.js +1 -1
  219. package/build/components/StatusIcons/AuthorizedIcon/AuthorizedIcon.js +1 -1
  220. package/build/components/StatusIcons/AuthorizedIcon/index.js +1 -1
  221. package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +1 -1
  222. package/build/components/StatusIcons/ChargeStatusIcon/index.js +1 -1
  223. package/build/components/StatusIcons/ChargeStatusIcon/style.js +1 -1
  224. package/build/components/StatusIcons/DisputeIcon/DisputeIcon.js +1 -1
  225. package/build/components/StatusIcons/DisputeIcon/index.js +1 -1
  226. package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +1 -1
  227. package/build/components/StatusIcons/PayoutIcon/index.js +1 -1
  228. package/build/components/StatusIcons/RefundIcon/RefundIcon.js +1 -1
  229. package/build/components/StatusIcons/RefundIcon/index.js +1 -1
  230. package/build/components/StatusIcons/index.js +1 -1
  231. package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +1 -1
  232. package/build/components/TableCells/CustomCells/ActionCell/components/ActionIconColumn.js +1 -1
  233. package/build/components/TableCells/CustomCells/ActionCell/components/ActionsColumn.js +1 -1
  234. package/build/components/TableCells/CustomCells/ActionCell/components/index.js +1 -1
  235. package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -1
  236. package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +1 -1
  237. package/build/components/TableCells/CustomCells/AgreementCell/index.js +1 -1
  238. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +1 -1
  239. package/build/components/TableCells/CustomCells/AmountCell/AmountCellSheet.js +1 -1
  240. package/build/components/TableCells/CustomCells/AmountCell/AmountCellText.js +1 -1
  241. package/build/components/TableCells/CustomCells/AmountCell/components/AmountConversionTooltipLabel.js +1 -1
  242. package/build/components/TableCells/CustomCells/AmountCell/components/CurrencyInfo.js +1 -1
  243. package/build/components/TableCells/CustomCells/AmountCell/components/index.js +1 -1
  244. package/build/components/TableCells/CustomCells/AmountCell/index.js +1 -1
  245. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +1 -1
  246. package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +1 -1
  247. package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +1 -1
  248. package/build/components/TableCells/CustomCells/AuthCell/index.js +1 -1
  249. package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +1 -1
  250. package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +1 -1
  251. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +1 -1
  252. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -1
  253. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +1 -1
  254. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +1 -1
  255. package/build/components/TableCells/CustomCells/AvatarCell/AvatarCell.js +1 -1
  256. package/build/components/TableCells/CustomCells/AvatarCell/index.js +1 -1
  257. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +1 -1
  258. package/build/components/TableCells/CustomCells/BalanceCell/BalanceCellSheet.js +1 -1
  259. package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -1
  260. package/build/components/TableCells/CustomCells/BankCell/BankCell.js +1 -1
  261. package/build/components/TableCells/CustomCells/BankCell/index.js +1 -1
  262. package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -1
  263. package/build/components/TableCells/CustomCells/BrandCell/index.js +1 -1
  264. package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +1 -1
  265. package/build/components/TableCells/CustomCells/ChannelsCell/index.js +1 -1
  266. package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +1 -1
  267. package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +1 -1
  268. package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +1 -1
  269. package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -1
  270. package/build/components/TableCells/CustomCells/DateCell/DateCell.js +1 -1
  271. package/build/components/TableCells/CustomCells/DateCell/DateViewer.js +1 -1
  272. package/build/components/TableCells/CustomCells/DateCell/index.js +1 -1
  273. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellSheet.js +1 -1
  274. package/build/components/TableCells/CustomCells/DestinationCell/DestinationCellText.js +1 -1
  275. package/build/components/TableCells/CustomCells/DestinationCell/index.js +1 -1
  276. package/build/components/TableCells/CustomCells/DestinationCell/utils.js +1 -1
  277. package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +1 -1
  278. package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +1 -1
  279. package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +1 -1
  280. package/build/components/TableCells/CustomCells/DeviceCell/index.js +1 -1
  281. package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +1 -1
  282. package/build/components/TableCells/CustomCells/DueDateCell/index.js +1 -1
  283. package/build/components/TableCells/CustomCells/EntityCell/EntityCell.js +1 -1
  284. package/build/components/TableCells/CustomCells/EntityCell/index.js +1 -1
  285. package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +1 -1
  286. package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +1 -1
  287. package/build/components/TableCells/CustomCells/InvoiceStatusCell/ChargeStatusIcon.js +1 -1
  288. package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +1 -1
  289. package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +1 -1
  290. package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.js +1 -1
  291. package/build/components/TableCells/CustomCells/LeadStatusCell/index.js +1 -1
  292. package/build/components/TableCells/CustomCells/LinkCell/LinkCell.js +1 -1
  293. package/build/components/TableCells/CustomCells/LinkCell/index.js +1 -1
  294. package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -1
  295. package/build/components/TableCells/CustomCells/OrderCell/OrderCellSheet.js +1 -1
  296. package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -1
  297. package/build/components/TableCells/CustomCells/OrdersCell/OrdersCellSheet.js +1 -1
  298. package/build/components/TableCells/CustomCells/OrdersCell/index.js +1 -1
  299. package/build/components/TableCells/CustomCells/PaymentAgreementCell/PaymentAgreementCellSheet.js +1 -1
  300. package/build/components/TableCells/CustomCells/PaymentAgreementCell/index.js +1 -1
  301. package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +1 -1
  302. package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +1 -1
  303. package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +1 -1
  304. package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +1 -1
  305. package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +1 -1
  306. package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +1 -1
  307. package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +1 -1
  308. package/build/components/TableCells/CustomCells/ProductsCell/index.js +1 -1
  309. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +1 -1
  310. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellSheet.js +1 -1
  311. package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCellText.js +1 -1
  312. package/build/components/TableCells/CustomCells/ReceiptCell/index.js +1 -1
  313. package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +1 -1
  314. package/build/components/TableCells/CustomCells/ReferenceCell/index.js +1 -1
  315. package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +1 -1
  316. package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +1 -1
  317. package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +1 -1
  318. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.js +1 -1
  319. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +1 -1
  320. package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatusIcon.js +1 -1
  321. package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +1 -1
  322. package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +1 -1
  323. package/build/components/TableCells/CustomCells/RefundStatusCell/style.js +1 -1
  324. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +1 -1
  325. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCellSheet.js +1 -1
  326. package/build/components/TableCells/CustomCells/SalesChannelCell/index.js +1 -1
  327. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +1 -1
  328. package/build/components/TableCells/CustomCells/SegmentsCell/index.js +1 -1
  329. package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +1 -1
  330. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/PaymentCardNumberSource.js +1 -1
  331. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentCardNumberSource/index.js +1 -1
  332. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/PaymentMethodSource.js +1 -1
  333. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentMethodSource/index.js +1 -1
  334. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/PaymentSchemeSource.js +1 -1
  335. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentSchemeSource/index.js +1 -1
  336. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/PaymentTypeSource.js +1 -1
  337. package/build/components/TableCells/CustomCells/SourceCell/components/PaymentTypeSource/index.js +1 -1
  338. package/build/components/TableCells/CustomCells/SourceCell/components/index.js +1 -1
  339. package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -1
  340. package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +1 -1
  341. package/build/components/TableCells/CustomCells/StatusCell/StatusCellSheet.js +1 -1
  342. package/build/components/TableCells/CustomCells/StatusCell/StatusCellText.js +1 -1
  343. package/build/components/TableCells/CustomCells/StatusCell/index.js +1 -1
  344. package/build/components/TableCells/CustomCells/TextTableCell/TextTableCell.js +1 -1
  345. package/build/components/TableCells/CustomCells/TextTableCell/index.js +1 -1
  346. package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +1 -1
  347. package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +1 -1
  348. package/build/components/TableCells/CustomCells/TextWithChipCell/TextWithChipCell.js +1 -1
  349. package/build/components/TableCells/CustomCells/TextWithChipCell/index.js +1 -1
  350. package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +1 -1
  351. package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +1 -1
  352. package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +1 -1
  353. package/build/components/TableCells/CustomCells/WalletCell/index.js +1 -1
  354. package/build/components/TableCells/CustomCells/index.js +1 -1
  355. package/build/components/TableCells/CustomCells/style.js +1 -1
  356. package/build/components/TableCells/index.js +1 -1
  357. package/build/components/TableHeader/FiltersRow.js +1 -1
  358. package/build/components/TableHeader/TableHeader.js +1 -1
  359. package/build/components/TableHeader/TableModeButton.js +1 -1
  360. package/build/components/TableHeader/TableView/ColumnItem.js +1 -1
  361. package/build/components/TableHeader/TableView/CreateViewDialog.js +1 -1
  362. package/build/components/TableHeader/TableView/CustomViews.js +1 -1
  363. package/build/components/TableHeader/TableView/TableView.js +1 -1
  364. package/build/components/TableHeader/TableView/ViewsDropdown.js +1 -1
  365. package/build/components/TableHeader/TableView/ViewsMenu.js +1 -1
  366. package/build/components/TableHeader/TableView/components/ColumnList.js +1 -1
  367. package/build/components/TableHeader/TableView/components/ViewsSubmenu.js +1 -1
  368. package/build/components/TableHeader/TableView/components/index.js +1 -1
  369. package/build/components/TableHeader/TableView/hooks/index.js +1 -1
  370. package/build/components/TableHeader/TableView/hooks/useCreateViewDialog.js +1 -1
  371. package/build/components/TableHeader/TableView/hooks/useCustomTableViews.js +1 -1
  372. package/build/components/TableHeader/TableView/hooks/useViewsManager.js +1 -1
  373. package/build/components/TableHeader/TableView/hooks/useViewsMenu.js +1 -1
  374. package/build/components/TableHeader/TableView/index.js +1 -1
  375. package/build/components/TableHeader/TableView/utils/index.js +1 -1
  376. package/build/components/TableHeader/index.js +1 -1
  377. package/build/components/TableReports/TableReports.js +1 -1
  378. package/build/components/TableReports/components/DownloadButton/DownloadButton.js +1 -1
  379. package/build/components/TableReports/components/DownloadButton/index.js +1 -1
  380. package/build/components/TableReports/index.js +1 -1
  381. package/build/components/ToolbarIcon/index.js +1 -1
  382. package/build/components/TreeDropdown/TreeDropdown.js +1 -1
  383. package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.js +1 -1
  384. package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.js +1 -1
  385. package/build/components/TreeDropdown/TreeNodeItem/index.js +1 -1
  386. package/build/components/TreeDropdown/TreeNodeItem/style.js +1 -1
  387. package/build/components/TreeDropdown/TreeNodeList/List.js +1 -1
  388. package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.js +1 -1
  389. package/build/components/TreeDropdown/TreeNodeList/index.js +1 -1
  390. package/build/components/TreeDropdown/TreeNodeList/style.js +1 -1
  391. package/build/components/TreeDropdown/index.js +1 -1
  392. package/build/components/TreeDropdown/style.js +1 -1
  393. package/build/components/VAT/TotalVAT/TotalVAT.js +1 -1
  394. package/build/components/VAT/TotalVAT/index.js +1 -1
  395. package/build/components/VAT/VATDropdown/VATDropdown.js +1 -1
  396. package/build/components/VAT/VATDropdown/index.js +1 -1
  397. package/build/components/VAT/VATRateDropdown/VATRateDropdown.js +1 -1
  398. package/build/components/VAT/VATRateDropdown/index.js +1 -1
  399. package/build/components/VAT/index.js +1 -1
  400. package/build/components/VerificationIcon/VerificationIcon.js +1 -1
  401. package/build/components/VerificationIcon/index.js +1 -1
  402. package/build/components/ViewColumnRadioFilter/ViewColumnRadioFilter.js +1 -1
  403. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  404. package/build/components/ViewColumnRadioFilter/style.js +1 -1
  405. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.js +1 -1
  406. package/build/components/VirtualTables/SheetViewVirtualTable/components/LoadingMainTable.js +1 -1
  407. package/build/components/VirtualTables/SheetViewVirtualTable/components/MainTable.js +1 -1
  408. package/build/components/VirtualTables/SheetViewVirtualTable/components/NoDataView.js +1 -1
  409. package/build/components/VirtualTables/SheetViewVirtualTable/components/PinnedColumn.js +1 -1
  410. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeader.js +1 -1
  411. package/build/components/VirtualTables/SheetViewVirtualTable/components/SheetViewTableHeaderCell.js +1 -1
  412. package/build/components/VirtualTables/SheetViewVirtualTable/components/index.js +1 -1
  413. package/build/components/VirtualTables/SheetViewVirtualTable/hooks/index.js +1 -1
  414. package/build/components/VirtualTables/SheetViewVirtualTable/index.js +1 -1
  415. package/build/components/VirtualTables/VirtualTable/VirtualTable.js +1 -1
  416. package/build/components/VirtualTables/components/ColumnFilter/index.js +1 -1
  417. package/build/components/VirtualTables/components/TableError.js +1 -1
  418. package/build/components/VirtualTables/components/TableHeader/TableHeader.js +1 -1
  419. package/build/components/VirtualTables/components/TableHeader/components/TableCell/TableCell.js +1 -1
  420. package/build/components/VirtualTables/components/TableHeader/components/TableCell/index.js +1 -1
  421. package/build/components/VirtualTables/components/TableHeader/components/index.js +1 -1
  422. package/build/components/VirtualTables/components/TableHeader/index.js +1 -1
  423. package/build/components/VirtualTables/components/TableNoData.js +1 -1
  424. package/build/components/VirtualTables/components/index.js +1 -1
  425. package/build/components/VirtualTables/index.js +1 -1
  426. package/build/components/WindowSideBar/WindowSideBar.js +1 -1
  427. package/build/components/WindowSideBar/index.js +1 -1
  428. package/build/components/WindowSideBar/style.js +1 -1
  429. package/build/components/index.js +1 -1
  430. package/build/index.js +1 -1
  431. package/package.json +1 -1
  432. package/build/chunk-4P5P6A6A.js +0 -1
  433. package/build/chunk-6VVXV6N3.js +0 -1
  434. package/build/chunk-75AYLMLD.js +0 -1
  435. package/build/chunk-ANKQ44MM.js +0 -1
  436. package/build/chunk-C5F4FWEK.js +0 -1
  437. package/build/chunk-D6LYW3SJ.js +0 -1
  438. package/build/chunk-DM2274SN.js +0 -1
  439. package/build/chunk-F27N2WXU.js +0 -1
  440. package/build/chunk-GD6YR363.js +0 -1
  441. package/build/chunk-MFRIGL3Y.js +0 -1
  442. package/build/chunk-RQDIVE2Z.js +0 -1
  443. package/build/chunk-VRGBWLVR.js +0 -1
  444. package/build/chunk-VSTJWEAL.js +0 -1
@@ -1 +1 @@
1
- import {a}from'./chunk-36OZDVH3.js';import {a as a$2}from'./chunk-DVWCJZ6Q.js';import {a as a$1}from'./chunk-F3X6HMMQ.js';import {a as a$3}from'./chunk-2RVMXGID.js';import {g}from'./chunk-OAVXDN55.js';import {Ee}from'./chunk-KUCUMYUK.js';import {memo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function T({title:p,onClose:s,onMaximize:c,maximized:o=false,id:m,onRequestClick:f,isSidebarExpanded:u=false,isHovered:t=false,onMouseHover:H,onMouseLeave:x,showSectionsButton:y,rightActions:A,icon:M}){return jsx(g,{id:m,"data-testid":"UserTitleBar",maximized:o||false,children:jsx(a,{onMouseEnter:H,onMouseLeave:x,isMaximized:o,isHovered:t,title:p,icon:M||Ee,leftActions:jsxs(Fragment,{children:[jsx(a$1,{onClick:s}),jsx(a$2,{isMaximized:o,onClick:c}),y&&jsx(a$3,{onClick:f,isExpanded:!u,isHovered:t,children:"Sidebar"})]}),rightActions:A})})}var v=memo(T);export{v as a};
1
+ import {a}from'./chunk-36OZDVH3.js';import {a as a$3}from'./chunk-2RVMXGID.js';import {a as a$1}from'./chunk-F3X6HMMQ.js';import {a as a$2}from'./chunk-DVWCJZ6Q.js';import {g}from'./chunk-OAVXDN55.js';import {Ee}from'./chunk-KUCUMYUK.js';import {memo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function T({title:p,onClose:s,onMaximize:c,maximized:o=false,id:m,onRequestClick:f,isSidebarExpanded:u=false,isHovered:t=false,onMouseHover:H,onMouseLeave:x,showSectionsButton:y,rightActions:A,icon:M}){return jsx(g,{id:m,"data-testid":"UserTitleBar",maximized:o||false,children:jsx(a,{onMouseEnter:H,onMouseLeave:x,isMaximized:o,isHovered:t,title:p,icon:M||Ee,leftActions:jsxs(Fragment,{children:[jsx(a$1,{onClick:s}),jsx(a$2,{isMaximized:o,onClick:c}),y&&jsx(a$3,{onClick:f,isExpanded:!u,isHovered:t,children:"Sidebar"})]}),rightActions:A})})}var v=memo(T);export{v as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-AF4HLDFY.js';import {a as a$2}from'./chunk-H4FES5TH.js';import {e,a as a$3,d,c}from'./chunk-C4ACNEWP.js';import {a}from'./chunk-KJTI2SXY.js';import q,{useState,useCallback,useMemo}from'react';import ne from'@mui/material/InputLabel';import te from'@mui/material/MenuItem';import {jsx,jsxs}from'react/jsx-runtime';function re({required:p,hasError:$,label:i,value:l,helperText:T,onChange:f,options:m,isOptionEqualToValue:a$4,renderOption:y,getOptionValue:r,isLoading:S,children:U,getOptionLabel:b,IconComponent:C,showClearIcon:D=false,ClearIconComponent:F=a$2,onClear:W,endAdornment:_,inputProps:z,open:u,onOpen:h,onClose:g,...M},H){let[N,j]=useState(false),G=u??N,I=useCallback((e,n)=>{n?h?.(e):g?.(e),u===void 0&&j(n);},[h,g,u]),J=e=>{f?.(e);},K=()=>{let e=l?.filter(n=>n!=null)??[];return r?e.map(r):e.map(n=>n?.id)},Q=useMemo(()=>m?.filter(e=>l?.some(n=>{if(n==null)return false;if(a$4)return a$4(e,n);if(r){let s=r(e),d=r(n);return s===d||String(s)===String(d)}let o=e?.id,t=n?.id;return o===t||String(o)===String(t)})),[m,l,a$4,r]),X=()=>Q?.map(e=>b?b(e):e.label)?.join(", "),w=!!(M.disabled||S),Y=D&&a(l,r)&&!w,Z=jsx(a$1,{endAdornmentProp:_,isLoading:!!S,showClear:Y,showMenuArrow:!S,menuOpen:G,IconComponent:C,ClearIconComponent:F,onClear:W,onClearDefault:()=>f?.([])});return jsxs(e,{children:[jsxs(a$3,{variant:"filled","data-testid":"SelectBase",required:p,children:[jsx(ne,{id:`select-label-${i.trim()}`,"data-testid":"SelectBase_InputLabel",children:i}),jsx(d,{multiple:true,"data-testid":"SelectBase_Select",ref:H,value:K()??"",error:$,disableUnderline:true,required:p,labelId:`select-label-${i.trim()}`,id:`select-label-${i.trim()}`,renderValue:X,...M,open:u,onOpen:e=>I(e,true),onClose:e=>I(e,false),inputProps:z,disabled:w,IconComponent:C??(()=>null),endAdornment:Z,onChange:e=>{let o=e.target.value?.map(t=>m?.find(s=>{if(r){let B=r(s);return B===t||String(B)===String(t)}let d=s?.id;return d===t||String(d)===String(t)}));f?.(o?.filter(t=>t!=null)??[]);},children:U||m?.map((e,n)=>{let o=a$4?a$4(e,l):e?.id===l?.id;return jsx(te,{value:(r?r(e):e?.id)??"",onClick:()=>{J(e);},sx:{fontSize:"12px",backgroundColor:t=>o?t.palette.action.hover:t.palette.common.white},children:y?y(e):e.label},`select-base-multiple-item-${n}`)})})]}),jsx(c,{children:T})]})}var ue=q.forwardRef(re);export{ue as a};
1
+ import {a as a$1}from'./chunk-AF4HLDFY.js';import {a as a$2}from'./chunk-H4FES5TH.js';import {a}from'./chunk-KJTI2SXY.js';import {e,a as a$3,d,c}from'./chunk-C4ACNEWP.js';import q,{useState,useCallback,useMemo}from'react';import ne from'@mui/material/InputLabel';import te from'@mui/material/MenuItem';import {jsx,jsxs}from'react/jsx-runtime';function re({required:p,hasError:$,label:i,value:l,helperText:T,onChange:f,options:m,isOptionEqualToValue:a$4,renderOption:y,getOptionValue:r,isLoading:S,children:U,getOptionLabel:b,IconComponent:C,showClearIcon:D=false,ClearIconComponent:F=a$2,onClear:W,endAdornment:_,inputProps:z,open:u,onOpen:h,onClose:g,...M},H){let[N,j]=useState(false),G=u??N,I=useCallback((e,n)=>{n?h?.(e):g?.(e),u===void 0&&j(n);},[h,g,u]),J=e=>{f?.(e);},K=()=>{let e=l?.filter(n=>n!=null)??[];return r?e.map(r):e.map(n=>n?.id)},Q=useMemo(()=>m?.filter(e=>l?.some(n=>{if(n==null)return false;if(a$4)return a$4(e,n);if(r){let s=r(e),d=r(n);return s===d||String(s)===String(d)}let o=e?.id,t=n?.id;return o===t||String(o)===String(t)})),[m,l,a$4,r]),X=()=>Q?.map(e=>b?b(e):e.label)?.join(", "),w=!!(M.disabled||S),Y=D&&a(l,r)&&!w,Z=jsx(a$1,{endAdornmentProp:_,isLoading:!!S,showClear:Y,showMenuArrow:!S,menuOpen:G,IconComponent:C,ClearIconComponent:F,onClear:W,onClearDefault:()=>f?.([])});return jsxs(e,{children:[jsxs(a$3,{variant:"filled","data-testid":"SelectBase",required:p,children:[jsx(ne,{id:`select-label-${i.trim()}`,"data-testid":"SelectBase_InputLabel",children:i}),jsx(d,{multiple:true,"data-testid":"SelectBase_Select",ref:H,value:K()??"",error:$,disableUnderline:true,required:p,labelId:`select-label-${i.trim()}`,id:`select-label-${i.trim()}`,renderValue:X,...M,open:u,onOpen:e=>I(e,true),onClose:e=>I(e,false),inputProps:z,disabled:w,IconComponent:C??(()=>null),endAdornment:Z,onChange:e=>{let o=e.target.value?.map(t=>m?.find(s=>{if(r){let B=r(s);return B===t||String(B)===String(t)}let d=s?.id;return d===t||String(d)===String(t)}));f?.(o?.filter(t=>t!=null)??[]);},children:U||m?.map((e,n)=>{let o=a$4?a$4(e,l):e?.id===l?.id;return jsx(te,{value:(r?r(e):e?.id)??"",onClick:()=>{J(e);},sx:{fontSize:"12px",backgroundColor:t=>o?t.palette.action.hover:t.palette.common.white},children:y?y(e):e.label},`select-base-multiple-item-${n}`)})})]}),jsx(c,{children:T})]})}var ue=q.forwardRef(re);export{ue as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-PGCYOIBA.js';var p=a;export{p as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-7CTXQAOF.js';import {a as a$2}from'./chunk-D5ZHOSFO.js';import {h,a,b}from'./chunk-G37FXTFR.js';import {j,k}from'./chunk-LFFSLLNQ.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function v({hasPinnedStart:t,hasPinnedEnd:i,unpinnedColumnsData:l,showHeader:h$1,columnsSorting:T,onColumnSort:c,headerProps:g,showBackDrop:u,pinnedStartColumns:x,pinnedEndColumns:f,onColumnPin:S,isPinnable:w,lastColumnId:V,selectedColumn:y,onColumnClick:L,tableTitle:P,areAllRowsLoaded:W,isFetchingNextPage:B,scrollToIndex:_,isLoading:C,isError:H,hasTimeoutError:M,tableMode:D,showNoDataView:o,tableBodyStyles:k$1}){let r=useTheme();return jsx(j,{hasPinnedStart:t,hasPinnedEnd:i,children:jsx(h,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":P,"data-direction":r.direction,"data-are-all-rows-loaded":!!W,"data-is-fetching-next-page":!!B,"data-scroll-to-index":_,"data-is-loading":!!C,"data-is-error":!!H,"data-is-error-timeout":!!M,"data-table-mode":D,height:"100%",dir:r.direction,showNoDataView:o,scrollable:true,children:jsxs(a,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:o,sx:{...k$1,display:"flex",flexDirection:"column",height:"100%"},children:[h$1&&jsx(k,{children:jsx(a$1,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:T,onColumnSort:c,columns:l,headerProps:g,showBackDrop:u,pinnedColumns:[...x,...f],onColumnPin:S,isPinnable:w,lastColumnId:V,selectedColumn:y,onColumnClick:L,tablePosition:"scrollable",hasPinnedStart:t,hasPinnedEnd:i})}),jsx(a,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(b,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(a$2,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:l,isLoading:true,isPinned:false})})})]})})})}var J=memo(v);export{J as a};
1
+ import {a as a$2}from'./chunk-D5ZHOSFO.js';import {a as a$1}from'./chunk-7CTXQAOF.js';import {h,a,b}from'./chunk-G37FXTFR.js';import {j,k}from'./chunk-LFFSLLNQ.js';import {memo}from'react';import {useTheme}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';function v({hasPinnedStart:t,hasPinnedEnd:i,unpinnedColumnsData:l,showHeader:h$1,columnsSorting:T,onColumnSort:c,headerProps:g,showBackDrop:u,pinnedStartColumns:x,pinnedEndColumns:f,onColumnPin:S,isPinnable:w,lastColumnId:V,selectedColumn:y,onColumnClick:L,tableTitle:P,areAllRowsLoaded:W,isFetchingNextPage:B,scrollToIndex:_,isLoading:C,isError:H,hasTimeoutError:M,tableMode:D,showNoDataView:o,tableBodyStyles:k$1}){let r=useTheme();return jsx(j,{hasPinnedStart:t,hasPinnedEnd:i,children:jsx(h,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":P,"data-direction":r.direction,"data-are-all-rows-loaded":!!W,"data-is-fetching-next-page":!!B,"data-scroll-to-index":_,"data-is-loading":!!C,"data-is-error":!!H,"data-is-error-timeout":!!M,"data-table-mode":D,height:"100%",dir:r.direction,showNoDataView:o,scrollable:true,children:jsxs(a,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:o,sx:{...k$1,display:"flex",flexDirection:"column",height:"100%"},children:[h$1&&jsx(k,{children:jsx(a$1,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:T,onColumnSort:c,columns:l,headerProps:g,showBackDrop:u,pinnedColumns:[...x,...f],onColumnPin:S,isPinnable:w,lastColumnId:V,selectedColumn:y,onColumnClick:L,tablePosition:"scrollable",hasPinnedStart:t,hasPinnedEnd:i})}),jsx(a,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(b,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(a$2,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:l,isLoading:true,isPinned:false})})})]})})})}var J=memo(v);export{J as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-OZ4EKETX.js';import {a as a$1}from'./chunk-ALDNT5OP.js';import {useState,useCallback,useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';var O=({children:u})=>{let[o,t]=useState([]),[c,m]=useState(false),[J,V]=useState(1),d=useCallback(e=>{if(o.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(o.some(r=>r.json.id===e.json.id))return;let i=structuredClone(e.json),l=i.request_body,n={json:i,requestJson:e.requestJson||l||void 0};delete n.json.request_body,t(r=>[...r,n]);},[o]),p=e=>{t(i=>i.filter((l,n)=>e!==n));},f=e=>{m(e);},g=e=>{V(e);},v=useMemo(()=>({jsonViewerList:o,handleJsonViewerDialogOpen:d,handleWindowMinimize:f,handleWindowOrder:g}),[o,d]);return jsxs(a.Provider,{value:v,children:[u,jsx(a$1,{list:o,onClose:p,isWindowMinimized:c,windowOrder:J})]})};export{O as a};
1
+ import {a}from'./chunk-OZ4EKETX.js';import {a as a$1}from'./chunk-GXN5LKJW.js';import {useState,useCallback,useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';var O=({children:u})=>{let[o,t]=useState([]),[c,m]=useState(false),[J,V]=useState(1),d=useCallback(e=>{if(o.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(o.some(r=>r.json.id===e.json.id))return;let i=structuredClone(e.json),l=i.request_body,n={json:i,requestJson:e.requestJson||l||void 0};delete n.json.request_body,t(r=>[...r,n]);},[o]),p=e=>{t(i=>i.filter((l,n)=>e!==n));},f=e=>{m(e);},g=e=>{V(e);},v=useMemo(()=>({jsonViewerList:o,handleJsonViewerDialogOpen:d,handleWindowMinimize:f,handleWindowOrder:g}),[o,d]);return jsxs(a.Provider,{value:v,children:[u,jsx(a$1,{list:o,onClose:p,isWindowMinimized:c,windowOrder:J})]})};export{O as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-AF4HLDFY.js';import {a as a$2}from'./chunk-H4FES5TH.js';import {e,a as a$3,d,c}from'./chunk-C4ACNEWP.js';import {a}from'./chunk-KJTI2SXY.js';import K,{useState,useCallback}from'react';import Y from'@mui/material/InputLabel';import Z from'@mui/material/MenuItem';import {jsx,jsxs}from'react/jsx-runtime';function j({required:i,hasError:v,label:o,value:n,helperText:x,onChange:c$1,options:T,isOptionEqualToValue:m,renderOption:r,getOptionValue:t,isLoading:d$1,children:k,getOptionLabel:u,IconComponent:p,showClearIcon:L=false,ClearIconComponent:$=a$2,onClear:U,endAdornment:D,inputProps:F,open:a$4,onOpen:f,onClose:y,...S},W){let[_,q]=useState(false),z=a$4??_,b=useCallback((e,s)=>{s?f?.(e):y?.(e),a$4===void 0&&q(s);},[f,y,a$4]),H=e=>{c$1?.(e);},N=()=>n==null?"":r?r(n):u?u(n):n?.label??"",h="";n!=null&&(h=(t?t(n):n?.id)??"");let C=!!(S.disabled||d$1),V=L&&a(n,t)&&!C,G=jsx(a$1,{endAdornmentProp:D,isLoading:!!d$1,showClear:V,showMenuArrow:!d$1,menuOpen:z,IconComponent:p,ClearIconComponent:$,onClear:U,onClearDefault:()=>c$1?.(null)});return jsxs(e,{children:[jsxs(a$3,{variant:"filled","data-testid":"SelectBase",required:i,children:[jsx(Y,{sx:{height:"100%"},id:`select-label-${o.trim()}`,"data-testid":"SelectBase_InputLabel",children:o}),jsx(d,{"data-testid":"SelectBase_Select",ref:W,value:h,error:v,disableUnderline:true,required:i,labelId:`select-label-${o.trim()}`,id:`select-label-${o.trim()}`,renderValue:N,...S,open:a$4,onOpen:e=>b(e,true),onClose:e=>b(e,false),inputProps:F,disabled:C,IconComponent:p??(()=>null),endAdornment:G,children:k||T?.map((e,s)=>{let J=m?m(e,n):e?.id===n?.id;return jsx(Z,{disabled:!!e.disabled,value:(t?t(e):e?.id)??"",onClick:()=>{H(e);},sx:{fontSize:"12px",backgroundColor:I=>J?I.palette.action.hover:I.palette.common.white},children:r?r(e):e.label},`select-base-item-${s}`)})})]}),jsx(c,{children:x})]})}var se=K.forwardRef(j);export{se as a};
1
+ import {a as a$1}from'./chunk-AF4HLDFY.js';import {a as a$2}from'./chunk-H4FES5TH.js';import {a}from'./chunk-KJTI2SXY.js';import {e,a as a$3,d,c}from'./chunk-C4ACNEWP.js';import K,{useState,useCallback}from'react';import Y from'@mui/material/InputLabel';import Z from'@mui/material/MenuItem';import {jsx,jsxs}from'react/jsx-runtime';function j({required:i,hasError:v,label:o,value:n,helperText:x,onChange:c$1,options:T,isOptionEqualToValue:m,renderOption:r,getOptionValue:t,isLoading:d$1,children:k,getOptionLabel:u,IconComponent:p,showClearIcon:L=false,ClearIconComponent:$=a$2,onClear:U,endAdornment:D,inputProps:F,open:a$4,onOpen:f,onClose:y,...S},W){let[_,q]=useState(false),z=a$4??_,b=useCallback((e,s)=>{s?f?.(e):y?.(e),a$4===void 0&&q(s);},[f,y,a$4]),H=e=>{c$1?.(e);},N=()=>n==null?"":r?r(n):u?u(n):n?.label??"",h="";n!=null&&(h=(t?t(n):n?.id)??"");let C=!!(S.disabled||d$1),V=L&&a(n,t)&&!C,G=jsx(a$1,{endAdornmentProp:D,isLoading:!!d$1,showClear:V,showMenuArrow:!d$1,menuOpen:z,IconComponent:p,ClearIconComponent:$,onClear:U,onClearDefault:()=>c$1?.(null)});return jsxs(e,{children:[jsxs(a$3,{variant:"filled","data-testid":"SelectBase",required:i,children:[jsx(Y,{sx:{height:"100%"},id:`select-label-${o.trim()}`,"data-testid":"SelectBase_InputLabel",children:o}),jsx(d,{"data-testid":"SelectBase_Select",ref:W,value:h,error:v,disableUnderline:true,required:i,labelId:`select-label-${o.trim()}`,id:`select-label-${o.trim()}`,renderValue:N,...S,open:a$4,onOpen:e=>b(e,true),onClose:e=>b(e,false),inputProps:F,disabled:C,IconComponent:p??(()=>null),endAdornment:G,children:k||T?.map((e,s)=>{let J=m?m(e,n):e?.id===n?.id;return jsx(Z,{disabled:!!e.disabled,value:(t?t(e):e?.id)??"",onClick:()=>{H(e);},sx:{fontSize:"12px",backgroundColor:I=>J?I.palette.action.hover:I.palette.common.white},children:r?r(e):e.label},`select-base-item-${s}`)})})]}),jsx(c,{children:x})]})}var se=K.forwardRef(j);export{se as a};
@@ -0,0 +1 @@
1
+ import {a as a$1}from'./chunk-77XQEKYU.js';var a=a$1;export{a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-WGT7KRBX.js';var r=a;export{r as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-36OZDVH3.js';import {a as a$2}from'./chunk-DVWCJZ6Q.js';import {a as a$1}from'./chunk-F3X6HMMQ.js';import {a as a$3}from'./chunk-2RVMXGID.js';import {g}from'./chunk-OAVXDN55.js';import {ad}from'./chunk-KUCUMYUK.js';import {memo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function M({title:s,onClose:d,onMaximize:p,maximized:o=false,id:f,onMouseHover:m,onMouseLeave:c,onRequestClick:u,isRequestExpanded:S=false,showRequestIcon:x=false,isHovered:y=false}){return jsx(g,{id:f,maximized:o||false,children:jsx(a,{isHovered:true,onMouseEnter:m,onMouseLeave:c,isMaximized:o,title:s,icon:ad,leftActions:jsxs(Fragment,{children:[jsx(a$1,{onClick:d}),jsx(a$2,{isMaximized:o,onClick:p}),x&&jsx(a$3,{onClick:u,isExpanded:S,isHovered:y,children:"Request"})]})})})}var I=memo(M);export{I as a};
1
+ import {a}from'./chunk-36OZDVH3.js';import {a as a$3}from'./chunk-2RVMXGID.js';import {a as a$1}from'./chunk-F3X6HMMQ.js';import {a as a$2}from'./chunk-DVWCJZ6Q.js';import {g}from'./chunk-OAVXDN55.js';import {ad}from'./chunk-KUCUMYUK.js';import {memo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function M({title:s,onClose:d,onMaximize:p,maximized:o=false,id:f,onMouseHover:m,onMouseLeave:c,onRequestClick:u,isRequestExpanded:S=false,showRequestIcon:x=false,isHovered:y=false}){return jsx(g,{id:f,maximized:o||false,children:jsx(a,{isHovered:true,onMouseEnter:m,onMouseLeave:c,isMaximized:o,title:s,icon:ad,leftActions:jsxs(Fragment,{children:[jsx(a$1,{onClick:d}),jsx(a$2,{isMaximized:o,onClick:p}),x&&jsx(a$3,{onClick:u,isExpanded:S,isHovered:y,children:"Request"})]})})})}var I=memo(M);export{I as a};
@@ -1 +1 @@
1
- import {b,a as a$1}from'./chunk-DWEG5RIX.js';import {a}from'./chunk-IH7IR6A7.js';import {y,Oe}from'./chunk-KUCUMYUK.js';import {Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';function i({showSearchIcon:s=true,...r}){return jsxs(Box,{children:[jsx(a,{InputProps:{endAdornment:!r.disabled&&s&&jsx(Box,{component:"img",maxWidth:"16px",maxHeight:"16px",src:y,alt:"search"}),sx:{...r.error&&{border:"1px solid #FF000026",borderBottom:"none",borderRadius:"4px 4px 0 0"}},...r.InputProps},sx:{...r.error&&{border:"1px solid #FF000026",borderBottom:"none",borderRadius:"4px 4px 0 0"}},...r}),r.error&&jsxs(b,{children:[jsx(a$1,{src:Oe}),jsx(Typography,{color:"red",fontSize:"10px",children:r.errorMessage})]})]})}export{i as a};
1
+ import {a}from'./chunk-IH7IR6A7.js';import {b,a as a$1}from'./chunk-DWEG5RIX.js';import {y,Oe}from'./chunk-KUCUMYUK.js';import {Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';function i({showSearchIcon:s=true,...r}){return jsxs(Box,{children:[jsx(a,{InputProps:{endAdornment:!r.disabled&&s&&jsx(Box,{component:"img",maxWidth:"16px",maxHeight:"16px",src:y,alt:"search"}),sx:{...r.error&&{border:"1px solid #FF000026",borderBottom:"none",borderRadius:"4px 4px 0 0"}},...r.InputProps},sx:{...r.error&&{border:"1px solid #FF000026",borderBottom:"none",borderRadius:"4px 4px 0 0"}},...r}),r.error&&jsxs(b,{children:[jsx(a$1,{src:Oe}),jsx(Typography,{color:"red",fontSize:"10px",children:r.errorMessage})]})]})}export{i as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-CNA7B5KD.js';var t=a;export{t as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-KDN6XYG3.js';var l=a;export{l as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-VRGBWLVR.js';import'./chunk-OJDPKSYO.js';import {a}from'./chunk-Y7S6MRVA.js';import {b}from'./chunk-DJZHCN65.js';import {memo,useRef,useContext}from'react';import {createPortal}from'react-dom';import {Dialog}from'@mui/material';import G from'@mui/material/Box';import {Resizable}from're-resizable';import K from'react-draggable';import {jsx,jsxs}from'react/jsx-runtime';function Q({children:z,titleBar:W,titleBarText:D,mainAppOrder:R,mainAppIsMinimized:S,showSectionsButton:y=true,rightActions:H,titleBarIcon:I}){let l=useRef(null),{dimensions:i,position:h,resizableRef:v,isMaximized:e,isOpen:A,onClose:C,viewerDefaultWidth:m,viewerDefaultHeight:o,windowZIndex:P,setPosition:M,setNewDimensions:T,isToolbarAnimationDisabled:E,fullWindowWidth:a$2,fullWindowHeight:p,setIsMaximized:f,setIsResized:B,isResized:g,setIsToolbarAnimationDisabled:t,setIsSidebarExpanded:k,isSidebarExpanded:N}=useContext(a),b$1=b(),n=i.width||m;return createPortal(jsx(K,{nodeRef:l,disabled:e,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:a$2/2-n/2,y:p/2-o/2},position:{x:a$2-h.x,y:h.y},onStop:(s,d)=>{M({x:a$2-d.x,y:d.y});},bounds:{top:10},children:jsx(Dialog,{ref:l,sx:{backgroundColor:"transparent",zIndex:Number(R||0)+P,...S&&{display:"none"},transform:"translate(180px, 14px)",...!e&&{width:b$1?n:"fit-content",height:b$1?o:"fit-content"},...e&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)"},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:g?"fit-content":n,height:g?"fit-content":"100%",...e&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{f(false),t(true),setTimeout(()=>{t(false);},.5*1e3);},open:A,hideBackdrop:true,fullScreen:e,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{left:true,right:true,bottomRight:true,bottom:true,top:true},size:{width:i.width,height:i.height},maxHeight:p-40,maxWidth:a$2,minWidth:e?"100vw":m,minHeight:e?"100vh":o,ref:s=>{v.current=s;},onResizeStart:()=>{t(true);},onResizeStop:()=>{t(false);},onResize:(s,d,u)=>{B(true),T({width:u.offsetWidth,height:u.offsetHeight});},defaultSize:{width:n,height:o},style:{background:"transparent",height:i.height,overflow:"hidden",...e&&{height:"100% !important",width:"100% !important",flex:1},...e&&{position:"relative"}},children:jsxs(G,{sx:{height:"100%"},"data-testid":"AppWindow",children:[W??jsx(a$1,{setIsToolbarAnimationDisabled:t,onClose:C,setIsMaximized:f,isToolbarAnimationDisabled:E,setIsSidebarExpanded:k,isSidebarExpanded:N,title:D,isMaximized:e,showSectionsButton:y,rightActions:H,icon:I}),z]})})})}),document.body)}var ae=memo(Q);export{ae as a};
1
+ import {a as a$1}from'./chunk-X2LGTGCL.js';import'./chunk-OJDPKSYO.js';import {a}from'./chunk-Y7S6MRVA.js';import {b}from'./chunk-DJZHCN65.js';import {memo,useRef,useContext}from'react';import {createPortal}from'react-dom';import {Dialog}from'@mui/material';import G from'@mui/material/Box';import {Resizable}from're-resizable';import K from'react-draggable';import {jsx,jsxs}from'react/jsx-runtime';function Q({children:z,titleBar:W,titleBarText:D,mainAppOrder:R,mainAppIsMinimized:S,showSectionsButton:y=true,rightActions:H,titleBarIcon:I}){let l=useRef(null),{dimensions:i,position:h,resizableRef:v,isMaximized:e,isOpen:A,onClose:C,viewerDefaultWidth:m,viewerDefaultHeight:o,windowZIndex:P,setPosition:M,setNewDimensions:T,isToolbarAnimationDisabled:E,fullWindowWidth:a$2,fullWindowHeight:p,setIsMaximized:f,setIsResized:B,isResized:g,setIsToolbarAnimationDisabled:t,setIsSidebarExpanded:k,isSidebarExpanded:N}=useContext(a),b$1=b(),n=i.width||m;return createPortal(jsx(K,{nodeRef:l,disabled:e,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:a$2/2-n/2,y:p/2-o/2},position:{x:a$2-h.x,y:h.y},onStop:(s,d)=>{M({x:a$2-d.x,y:d.y});},bounds:{top:10},children:jsx(Dialog,{ref:l,sx:{backgroundColor:"transparent",zIndex:Number(R||0)+P,...S&&{display:"none"},transform:"translate(180px, 14px)",...!e&&{width:b$1?n:"fit-content",height:b$1?o:"fit-content"},...e&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)"},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:g?"fit-content":n,height:g?"fit-content":"100%",...e&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{f(false),t(true),setTimeout(()=>{t(false);},.5*1e3);},open:A,hideBackdrop:true,fullScreen:e,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{left:true,right:true,bottomRight:true,bottom:true,top:true},size:{width:i.width,height:i.height},maxHeight:p-40,maxWidth:a$2,minWidth:e?"100vw":m,minHeight:e?"100vh":o,ref:s=>{v.current=s;},onResizeStart:()=>{t(true);},onResizeStop:()=>{t(false);},onResize:(s,d,u)=>{B(true),T({width:u.offsetWidth,height:u.offsetHeight});},defaultSize:{width:n,height:o},style:{background:"transparent",height:i.height,overflow:"hidden",...e&&{height:"100% !important",width:"100% !important",flex:1},...e&&{position:"relative"}},children:jsxs(G,{sx:{height:"100%"},"data-testid":"AppWindow",children:[W??jsx(a$1,{setIsToolbarAnimationDisabled:t,onClose:C,setIsMaximized:f,isToolbarAnimationDisabled:E,setIsSidebarExpanded:k,isSidebarExpanded:N,title:D,isMaximized:e,showSectionsButton:y,rightActions:H,icon:I}),z]})})})}),document.body)}var ae=memo(Q);export{ae as a};
@@ -1 +1 @@
1
- import {a}from'./chunk-RZVKO5KI.js';import {jsx,Fragment}from'react/jsx-runtime';var J=({list:e,onClose:s,isWindowMinimized:d,windowOrder:w})=>e?.length?jsx(Fragment,{children:e.map((o,n)=>jsx(a,{index:n,json:o.json,requestJson:o?.requestJson,onClose:()=>{s(n);},isWindowMinimized:d,windowOrder:w},o.json.id))}):null;export{J as a};
1
+ import {a}from'./chunk-QJ4PDT3I.js';import {jsx,Fragment}from'react/jsx-runtime';var J=({list:e,onClose:s,isWindowMinimized:d,windowOrder:w})=>e?.length?jsx(Fragment,{children:e.map((o,n)=>jsx(a,{index:n,json:o.json,requestJson:o?.requestJson,onClose:()=>{s(n);},isWindowMinimized:d,windowOrder:w},o.json.id))}):null;export{J as a};
@@ -1 +1 @@
1
- import {a as a$8}from'./chunk-NWQMRKVZ.js';import {a}from'./chunk-FMQC7GDH.js';import {a as a$7}from'./chunk-RAMFJYEC.js';import {a as a$2}from'./chunk-5YIL7RLX.js';import {a as a$3}from'./chunk-JSS3TF4O.js';import {a as a$1}from'./chunk-6BK47B2L.js';import {a as a$5}from'./chunk-DHG3QK7Z.js';import {a as a$c}from'./chunk-MUEJH3YL.js';import {a as a$b}from'./chunk-WQTRXPAM.js';import {a as a$9}from'./chunk-ZGPXDBCL.js';import {a as a$a}from'./chunk-EK33LA53.js';import {a as a$4}from'./chunk-QWIDAWC3.js';import {a as a$6}from'./chunk-5NE5BZIN.js';import {d}from'./chunk-HBKTHCT2.js';import {a as a$e}from'./chunk-634MIREV.js';import {k}from'./chunk-G37FXTFR.js';import {g}from'./chunk-LFFSLLNQ.js';import {a as a$d}from'./chunk-ELM4GRHD.js';import {c}from'./chunk-SFVYZWDL.js';import'./chunk-Y36KRKYI.js';import {memo,useMemo,useRef,useEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function sn({columns:R,rows:b,threshold:w=20,showHeader:I,headerProps:ge,rowProps:De,footerProps:S,rowHeight:Ve=28,isLoading:d$1,error:k$1,columnsSorting:Pe,onColumnSort:We,loadMoreItems:z,isFetchingNextPage:L,triggerDataRefetch:Re,scrollToIndex:u,areAllRowsLoaded:l=false,tableBodyStyles:we,tableTitle:Ie,onStartDrag:ke,onColumnPin:ze,clearBackdropVisibilityTimeout:H=100,isPinnable:y=false,tableMode:Le,overscanCount:v,windowId:He,serviceCode:ye,customNoDataComponent:ve,defaultSkeleton:M=true}){let x=useMemo(()=>c(R,d$1??false,M),[R,d$1,M]),{selectedCell:Me,selectedColumn:B,selectedRow:xe,showBackDrop:F,setShowBackdrop:N,handleCellClick:Be,handleColumnClick:Fe,handleChipClick:Ne,selectedChip:Oe}=a(),O=useRef(null),f=useRef(null),{isError:_,tableLoading:E,tableError:_e,tableEmpty:Xe,hasTimeoutError:X,showNoDataView:A,lastItemIndex:Y,areTotalRowsNotFillingHeight:q,itemsCount:G,isDelayedFetchingNextPage:Ae}=a$1({rows:b,isLoading:d$1,error:k$1,isFetchingNextPage:L,areAllRowsLoaded:l}),{pinnedStartColumns:i,pinnedEndColumns:m,handleColumnPin:Ye,pinnedStartColumnsData:qe,pinnedEndColumnsData:Ge,unpinnedColumnsData:J,orderedColumns:Q,lastColumnId:Je}=a$2(x,y,ze),{pinnedStartVirtualListRef:h,scrollableVirtualListRef:c$1,pinnedEndVirtualListRef:p,handleScroll:U}=a$3();useEffect(()=>{h.current?.resetAfterIndex(0),c$1.current?.resetAfterIndex(0),p.current?.resetAfterIndex(0);},[b.length,h,c$1,p]);let{columnWidths:o,isResizing:T,resizingColumn:Qe,resizeIndicatorX:Ue,cursorPosition:Z,startResize:Ze,handleColumnClick:$e}=a$4({columns:x,handleColumnClick:Fe,windowId:He,serviceCode:ye,tableContainerRef:f}),$=a$5({tableContainerRef:O,showHeader:I??false,isResizing:T}),{pinnedStartColumnsWidth:j,pinnedEndColumnsWidth:K,pinnedStartColumnsDataWithWidths:n,pinnedEndColumnsDataWithWidths:t}=a$6({pinnedStartColumnsData:qe,pinnedEndColumnsData:Ge,columnWidths:o}),ee=useMemo(()=>d(J,o),[J,o]),je=useMemo(()=>d(Q,o),[Q,o]),{getItemSize:ne,getItemDataForContainer:te}=a$7({rowHeight:Ve,areAllRowsLoaded:l,rows:b,isDelayedFetchingNextPage:Ae,rowProps:De,scrollToIndex:u,footerProps:S,isError:_,selectedCell:Me,selectedColumn:B,selectedRow:xe,selectedChip:Oe,handleCellClick:Be,handleChipClick:Ne}),Ke=g=>{ke?.(g);},r=useCallback((g,C,en=false,nn)=>jsx(a$8,{columnsData:g,itemCount:G,lastItemIndex:Y,areAllRowsLoaded:l,loadMoreItems:z,threshold:w,getItemSize:ne,getItemData:te,isPinned:en,fixedWidth:nn,scrollToIndex:u,areTotalRowsNotFillingHeight:q,clearBackdropVisibilityTimeout:H,onScroll:tn=>{U(tn,C==="pinnedStart"?"start":C==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:N,listRef:C==="pinnedStart"?h:C==="pinnedEnd"?p:c$1,overscanCount:v}),[G,Y,l,z,w,ne,te,u,q,H,U,N,h,p,c$1,v]),ie={showHeader:I,columnsSorting:Pe,onColumnSort:We,headerProps:ge,showBackDrop:F,onColumnPin:Ye,isPinnable:y,lastColumnId:Je,selectedColumn:B,onColumnClick:$e,tableTitle:Ie,areAllRowsLoaded:l,isFetchingNextPage:L,scrollToIndex:u,isLoading:d$1,isError:_,tableMode:Le,showNoDataView:A,tableBodyStyles:we,onStartResize:Ze,isResizing:T,resizingColumn:Qe},a$f={...ie,hasTimeoutError:X,tableLoading:E};return jsxs(Fragment,{children:[jsx(k,{ref:O,children:A?E?jsxs(g,{ref:f,children:[n.length>0&&jsx(a$9,{position:"start",columnsData:n,columnsWidth:j,pinnedColumnsList:i,hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f}),jsx(a$a,{hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,unpinnedColumnsData:ee,pinnedStartColumns:i,pinnedEndColumns:m,...a$f}),t.length>0&&jsx(a$9,{position:"end",columnsData:t,columnsWidth:K,pinnedColumnsList:[...i,...m],hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f})]}):jsx(a$b,{tableLoading:E,tableError:_e,tableEmpty:Xe,hasTimeoutError:X,orderedColumns:je,error:k$1,triggerDataRefetch:Re,footerProps:S,customNoDataComponent:ve,...ie}):jsxs(g,{ref:f,children:[n.length>0&&jsx(a$9,{position:"start",columnsData:n,columnsWidth:j,pinnedColumnsList:i,hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f}),jsx(a$c,{hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,unpinnedColumnsData:ee,pinnedStartColumns:i,pinnedEndColumns:m,createVirtualTableContainer:r,...a$f}),t.length>0&&jsx(a$9,{position:"end",columnsData:t,columnsWidth:K,pinnedColumnsList:[...i,...m],hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f})]})}),jsx(a$d,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:F,onPointerDown:Ke,...S}),jsx(a$e,{isVisible:T,indicatorX:Ue,indicatorHeight:$.height,indicatorTop:$.top,iconX:Z.x,iconY:Z.y})]})}var Vn=memo(sn);export{Vn as a};
1
+ import {a as a$8}from'./chunk-NWQMRKVZ.js';import {a as a$a}from'./chunk-5FGBAQCB.js';import {a as a$c}from'./chunk-Q24IFWEQ.js';import {a as a$b}from'./chunk-WQTRXPAM.js';import {a as a$9}from'./chunk-RIWGIBLO.js';import {a as a$4}from'./chunk-QWIDAWC3.js';import {a as a$6}from'./chunk-5NE5BZIN.js';import {d}from'./chunk-HBKTHCT2.js';import {a as a$e}from'./chunk-634MIREV.js';import {a as a$2}from'./chunk-5YIL7RLX.js';import {a as a$3}from'./chunk-JSS3TF4O.js';import {a as a$1}from'./chunk-6BK47B2L.js';import {a as a$5}from'./chunk-DHG3QK7Z.js';import {a}from'./chunk-FMQC7GDH.js';import {a as a$7}from'./chunk-RAMFJYEC.js';import {k}from'./chunk-G37FXTFR.js';import {g}from'./chunk-LFFSLLNQ.js';import {a as a$d}from'./chunk-ELM4GRHD.js';import {c}from'./chunk-SFVYZWDL.js';import'./chunk-Y36KRKYI.js';import {memo,useMemo,useRef,useEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function sn({columns:R,rows:b,threshold:w=20,showHeader:I,headerProps:ge,rowProps:De,footerProps:S,rowHeight:Ve=28,isLoading:d$1,error:k$1,columnsSorting:Pe,onColumnSort:We,loadMoreItems:z,isFetchingNextPage:L,triggerDataRefetch:Re,scrollToIndex:u,areAllRowsLoaded:l=false,tableBodyStyles:we,tableTitle:Ie,onStartDrag:ke,onColumnPin:ze,clearBackdropVisibilityTimeout:H=100,isPinnable:y=false,tableMode:Le,overscanCount:v,windowId:He,serviceCode:ye,customNoDataComponent:ve,defaultSkeleton:M=true}){let x=useMemo(()=>c(R,d$1??false,M),[R,d$1,M]),{selectedCell:Me,selectedColumn:B,selectedRow:xe,showBackDrop:F,setShowBackdrop:N,handleCellClick:Be,handleColumnClick:Fe,handleChipClick:Ne,selectedChip:Oe}=a(),O=useRef(null),f=useRef(null),{isError:_,tableLoading:E,tableError:_e,tableEmpty:Xe,hasTimeoutError:X,showNoDataView:A,lastItemIndex:Y,areTotalRowsNotFillingHeight:q,itemsCount:G,isDelayedFetchingNextPage:Ae}=a$1({rows:b,isLoading:d$1,error:k$1,isFetchingNextPage:L,areAllRowsLoaded:l}),{pinnedStartColumns:i,pinnedEndColumns:m,handleColumnPin:Ye,pinnedStartColumnsData:qe,pinnedEndColumnsData:Ge,unpinnedColumnsData:J,orderedColumns:Q,lastColumnId:Je}=a$2(x,y,ze),{pinnedStartVirtualListRef:h,scrollableVirtualListRef:c$1,pinnedEndVirtualListRef:p,handleScroll:U}=a$3();useEffect(()=>{h.current?.resetAfterIndex(0),c$1.current?.resetAfterIndex(0),p.current?.resetAfterIndex(0);},[b.length,h,c$1,p]);let{columnWidths:o,isResizing:T,resizingColumn:Qe,resizeIndicatorX:Ue,cursorPosition:Z,startResize:Ze,handleColumnClick:$e}=a$4({columns:x,handleColumnClick:Fe,windowId:He,serviceCode:ye,tableContainerRef:f}),$=a$5({tableContainerRef:O,showHeader:I??false,isResizing:T}),{pinnedStartColumnsWidth:j,pinnedEndColumnsWidth:K,pinnedStartColumnsDataWithWidths:n,pinnedEndColumnsDataWithWidths:t}=a$6({pinnedStartColumnsData:qe,pinnedEndColumnsData:Ge,columnWidths:o}),ee=useMemo(()=>d(J,o),[J,o]),je=useMemo(()=>d(Q,o),[Q,o]),{getItemSize:ne,getItemDataForContainer:te}=a$7({rowHeight:Ve,areAllRowsLoaded:l,rows:b,isDelayedFetchingNextPage:Ae,rowProps:De,scrollToIndex:u,footerProps:S,isError:_,selectedCell:Me,selectedColumn:B,selectedRow:xe,selectedChip:Oe,handleCellClick:Be,handleChipClick:Ne}),Ke=g=>{ke?.(g);},r=useCallback((g,C,en=false,nn)=>jsx(a$8,{columnsData:g,itemCount:G,lastItemIndex:Y,areAllRowsLoaded:l,loadMoreItems:z,threshold:w,getItemSize:ne,getItemData:te,isPinned:en,fixedWidth:nn,scrollToIndex:u,areTotalRowsNotFillingHeight:q,clearBackdropVisibilityTimeout:H,onScroll:tn=>{U(tn,C==="pinnedStart"?"start":C==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:N,listRef:C==="pinnedStart"?h:C==="pinnedEnd"?p:c$1,overscanCount:v}),[G,Y,l,z,w,ne,te,u,q,H,U,N,h,p,c$1,v]),ie={showHeader:I,columnsSorting:Pe,onColumnSort:We,headerProps:ge,showBackDrop:F,onColumnPin:Ye,isPinnable:y,lastColumnId:Je,selectedColumn:B,onColumnClick:$e,tableTitle:Ie,areAllRowsLoaded:l,isFetchingNextPage:L,scrollToIndex:u,isLoading:d$1,isError:_,tableMode:Le,showNoDataView:A,tableBodyStyles:we,onStartResize:Ze,isResizing:T,resizingColumn:Qe},a$f={...ie,hasTimeoutError:X,tableLoading:E};return jsxs(Fragment,{children:[jsx(k,{ref:O,children:A?E?jsxs(g,{ref:f,children:[n.length>0&&jsx(a$9,{position:"start",columnsData:n,columnsWidth:j,pinnedColumnsList:i,hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f}),jsx(a$a,{hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,unpinnedColumnsData:ee,pinnedStartColumns:i,pinnedEndColumns:m,...a$f}),t.length>0&&jsx(a$9,{position:"end",columnsData:t,columnsWidth:K,pinnedColumnsList:[...i,...m],hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f})]}):jsx(a$b,{tableLoading:E,tableError:_e,tableEmpty:Xe,hasTimeoutError:X,orderedColumns:je,error:k$1,triggerDataRefetch:Re,footerProps:S,customNoDataComponent:ve,...ie}):jsxs(g,{ref:f,children:[n.length>0&&jsx(a$9,{position:"start",columnsData:n,columnsWidth:j,pinnedColumnsList:i,hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f}),jsx(a$c,{hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,unpinnedColumnsData:ee,pinnedStartColumns:i,pinnedEndColumns:m,createVirtualTableContainer:r,...a$f}),t.length>0&&jsx(a$9,{position:"end",columnsData:t,columnsWidth:K,pinnedColumnsList:[...i,...m],hasPinnedStart:n.length>0,hasPinnedEnd:t.length>0,createVirtualTableContainer:r,...a$f})]})}),jsx(a$d,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:F,onPointerDown:Ke,...S}),jsx(a$e,{isVisible:T,indicatorX:Ue,indicatorHeight:$.height,indicatorTop:$.top,iconX:Z.x,iconY:Z.y})]})}var Vn=memo(sn);export{Vn as a};
@@ -1 +1 @@
1
- import {a as a$1,k}from'./chunk-N3BUW7VN.js';import {a}from'./chunk-6VVXV6N3.js';import {y}from'./chunk-KUCUMYUK.js';import R,{useState,useMemo}from'react';import {Box,MenuItem}from'@mui/material';import {useFormContext,Controller}from'react-hook-form';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function x(w){let{name:I,helperText:V,showSearchInput:s=false,showClearIcon:i=false,searchPlaceholder:h="Search",getOptionValue:t,getOptionLabel:u,renderOption:m,isOptionEqualToValue:p,options:n,MenuProps:F,valueOnly:d=false,...L}=w,{control:M}=useFormContext(),[c,k$1]=useState(""),S=useMemo(()=>{if(!s||!c.trim())return n??[];let e=c.toLowerCase().trim();return (n??[]).filter(o=>{let a=(u?u(o):o?.label)??"";return String(a).toLowerCase().includes(e)})},[n,s,c,u]),f=useMemo(()=>{let e=s?S:n??[];return !i||!t?e:e.filter(o=>{let a=t(o);return a!=null&&a!==""})},[i,t,n,s,S]),E={...F,autoFocus:false,disableEnforceFocus:true},g=e=>(t?t(e):e?.id)??"",T=e=>!d||!e?e:n?.find(o=>g(o)===e)??e;return jsx(Controller,{name:I,control:M,render:({field:e,fieldState:o})=>{let a$2=T(e.value);return jsx(a,{...L,...e,value:a$2,showClearIcon:i,options:f,getOptionValue:t,getOptionLabel:u,renderOption:m,isOptionEqualToValue:p,hasError:!!o.error,helperText:V??o.error?.message,onChange:r=>e.onChange(d?g(r):r),MenuProps:E,children:s?jsxs(Fragment,{children:[jsx(a$1,{disableSticky:true,children:jsx(k,{placeholder:h,value:c,onChange:r=>k$1(r.target.value),onKeyDown:r=>r.stopPropagation(),onKeyUp:r=>r.stopPropagation(),disableUnderline:true,fullWidth:true,inputProps:{"aria-label":h},endAdornment:jsx(Box,{component:"img",src:y,alt:"search",sx:{width:14,height:14,flexShrink:0}})})}),f.map((r,q)=>{let B=p?p(r,e.value):r?.id===e.value?.id;return jsx(MenuItem,{disabled:!!r.disabled,value:(t?t(r):r?.id)??"",onClick:()=>{e.onChange(r);},sx:{fontSize:"12px",backgroundColor:y=>B?y.palette.action.hover:y.palette.common.white},children:m?m(r):r.label},`form-select-item-${(t?t(r):r?.id)??q}`)})]}):void 0})}})}x.displayName="RFHSelect";var Y=R.memo(x);export{Y as a};
1
+ import {a as a$1,k}from'./chunk-N3BUW7VN.js';import {a}from'./chunk-7ZFSATUN.js';import {y}from'./chunk-KUCUMYUK.js';import R,{useState,useMemo}from'react';import {Box,MenuItem}from'@mui/material';import {useFormContext,Controller}from'react-hook-form';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function x(w){let{name:I,helperText:V,showSearchInput:s=false,showClearIcon:i=false,searchPlaceholder:h="Search",getOptionValue:t,getOptionLabel:u,renderOption:m,isOptionEqualToValue:p,options:n,MenuProps:F,valueOnly:d=false,...L}=w,{control:M}=useFormContext(),[c,k$1]=useState(""),S=useMemo(()=>{if(!s||!c.trim())return n??[];let e=c.toLowerCase().trim();return (n??[]).filter(o=>{let a=(u?u(o):o?.label)??"";return String(a).toLowerCase().includes(e)})},[n,s,c,u]),f=useMemo(()=>{let e=s?S:n??[];return !i||!t?e:e.filter(o=>{let a=t(o);return a!=null&&a!==""})},[i,t,n,s,S]),E={...F,autoFocus:false,disableEnforceFocus:true},g=e=>(t?t(e):e?.id)??"",T=e=>!d||!e?e:n?.find(o=>g(o)===e)??e;return jsx(Controller,{name:I,control:M,render:({field:e,fieldState:o})=>{let a$2=T(e.value);return jsx(a,{...L,...e,value:a$2,showClearIcon:i,options:f,getOptionValue:t,getOptionLabel:u,renderOption:m,isOptionEqualToValue:p,hasError:!!o.error,helperText:V??o.error?.message,onChange:r=>e.onChange(d?g(r):r),MenuProps:E,children:s?jsxs(Fragment,{children:[jsx(a$1,{disableSticky:true,children:jsx(k,{placeholder:h,value:c,onChange:r=>k$1(r.target.value),onKeyDown:r=>r.stopPropagation(),onKeyUp:r=>r.stopPropagation(),disableUnderline:true,fullWidth:true,inputProps:{"aria-label":h},endAdornment:jsx(Box,{component:"img",src:y,alt:"search",sx:{width:14,height:14,flexShrink:0}})})}),f.map((r,q)=>{let B=p?p(r,e.value):r?.id===e.value?.id;return jsx(MenuItem,{disabled:!!r.disabled,value:(t?t(r):r?.id)??"",onClick:()=>{e.onChange(r);},sx:{fontSize:"12px",backgroundColor:y=>B?y.palette.action.hover:y.palette.common.white},children:m?m(r):r.label},`form-select-item-${(t?t(r):r?.id)??q}`)})]}):void 0})}})}x.displayName="RFHSelect";var Y=R.memo(x);export{Y as a};
@@ -1 +1 @@
1
- import {b,a}from'./chunk-DZG37E6L.js';import {c,e as e$1}from'./chunk-T3L7SZTA.js';import {f}from'./chunk-OJMSM3YI.js';import {e}from'./chunk-VTSCZN4A.js';import {useMemo,useCallback}from'react';function B({templates:i,setTemplates:s,createTemplate:L,updateTemplate:P,deleteTemplate:S,tableMode:c$1,isTemplatesLoading:T,lang:h="en",mainDefaultTemplate:U}){let u=useMemo(()=>i.find(e=>e.default),[i]),l=i.find(e=>e.selected)?.id??u?.id,d=useCallback(e=>{s(n=>n.find(t=>t.selected)?.id===e?n:n.map(t=>({...t,selected:e?t.id===e:false})));},[s]),R=useCallback(async({name:e$1,layout:n})=>{let o=e(n,c$1,u),t=await L({name:e$1,layout:o}),m=c(t);return s(w=>[...w.map(f=>({...f,selected:false})),{...m,selected:true}]),{id:t.id,name:t.name??""}},[L,s,c$1,u]),I=useCallback(async e=>{await S(e),s(n=>n.filter(o=>o.id!==e)),d(l===e?u?.id:l);},[S,s,u,d]),x=useCallback((e,n)=>{let o=i.find(r=>r.default);if(!o)return;let t=f(e,c$1,h),{name:m,layout:w}=b(o,{layout:t}),f$1={...o,name:m,layout:w,modified:{...o.modified??{},[c$1]:n}};s(r=>a(r,V=>V.default,f$1));},[i,c$1,h,s]),D=useCallback(async(e,n)=>{let o=i.find(r=>r.id===e),{name:t,layout:m}=b(o,n),w=await P(e,{name:t,layout:m}),f=c(w);s(r=>a(r,V=>V.id===e,f)),d(f.id);},[i,P,s,d]),F=useMemo(()=>({templates:i,onCreateCustomView:R,onEditCustomView:D,onDeleteCustomView:I,onUpdateDefaultView:x,isLoading:T,mainDefaultTemplate:U}),[i,R,D,I,x,T,U]),j=useCallback(e=>{if(!u){d(void 0);return}if(!e?.id||e.id==="default"){d(u.id);return}let n=i.find(o=>o.id===e.id);d(n?.id??u.id);},[i,u,d]),q=useMemo(()=>{let e=i.find(o=>l?o.id===l:false)??u,n=[];return e&&(n=e$1(e,c$1)),n.length===0?[]:n},[c$1,i,l,u]);return {customViews:F,onViewChange:j,columnsView:q,selectedViewId:l}}export{B as a};
1
+ import {e}from'./chunk-VTSCZN4A.js';import {b,a}from'./chunk-DZG37E6L.js';import {c,e as e$1}from'./chunk-T3L7SZTA.js';import {f}from'./chunk-OJMSM3YI.js';import {useMemo,useCallback}from'react';function B({templates:i,setTemplates:s,createTemplate:L,updateTemplate:P,deleteTemplate:S,tableMode:c$1,isTemplatesLoading:T,lang:h="en",mainDefaultTemplate:U}){let u=useMemo(()=>i.find(e=>e.default),[i]),l=i.find(e=>e.selected)?.id??u?.id,d=useCallback(e=>{s(n=>n.find(t=>t.selected)?.id===e?n:n.map(t=>({...t,selected:e?t.id===e:false})));},[s]),R=useCallback(async({name:e$1,layout:n})=>{let o=e(n,c$1,u),t=await L({name:e$1,layout:o}),m=c(t);return s(w=>[...w.map(f=>({...f,selected:false})),{...m,selected:true}]),{id:t.id,name:t.name??""}},[L,s,c$1,u]),I=useCallback(async e=>{await S(e),s(n=>n.filter(o=>o.id!==e)),d(l===e?u?.id:l);},[S,s,u,d]),x=useCallback((e,n)=>{let o=i.find(r=>r.default);if(!o)return;let t=f(e,c$1,h),{name:m,layout:w}=b(o,{layout:t}),f$1={...o,name:m,layout:w,modified:{...o.modified??{},[c$1]:n}};s(r=>a(r,V=>V.default,f$1));},[i,c$1,h,s]),D=useCallback(async(e,n)=>{let o=i.find(r=>r.id===e),{name:t,layout:m}=b(o,n),w=await P(e,{name:t,layout:m}),f=c(w);s(r=>a(r,V=>V.id===e,f)),d(f.id);},[i,P,s,d]),F=useMemo(()=>({templates:i,onCreateCustomView:R,onEditCustomView:D,onDeleteCustomView:I,onUpdateDefaultView:x,isLoading:T,mainDefaultTemplate:U}),[i,R,D,I,x,T,U]),j=useCallback(e=>{if(!u){d(void 0);return}if(!e?.id||e.id==="default"){d(u.id);return}let n=i.find(o=>o.id===e.id);d(n?.id??u.id);},[i,u,d]),q=useMemo(()=>{let e=i.find(o=>l?o.id===l:false)??u,n=[];return e&&(n=e$1(e,c$1)),n.length===0?[]:n},[c$1,i,l,u]);return {customViews:F,onViewChange:j,columnsView:q,selectedViewId:l}}export{B as a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-D6LYW3SJ.js';import {a}from'./chunk-QRHWOR5L.js';import {jsx}from'react/jsx-runtime';function t({children:r,windowProps:d,...o}){return o.isOpen?jsx(a,{...o,children:jsx(a$1,{...d,children:r})}):null}var W=t;export{W as a};
1
+ import {a as a$1}from'./chunk-TAVFP2H4.js';import {a}from'./chunk-QRHWOR5L.js';import {jsx}from'react/jsx-runtime';function t({children:r,windowProps:d,...o}){return o.isOpen?jsx(a,{...o,children:jsx(a$1,{...d,children:r})}):null}var W=t;export{W as a};
@@ -1 +1 @@
1
- import {a as a$1,k,g,d,c,b,e,i,h,j}from'./chunk-N3BUW7VN.js';import {a}from'./chunk-GKHUZBEU.js';import {y}from'./chunk-KUCUMYUK.js';import {useState,useMemo}from'react';import {useFormContext,Controller}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function ee({name:W,helperText:q,getOptionValue:r,getOptionLabel:a$2,renderOption:y$1,isOptionEqualToValue:f,getOptionDisabled:h$1,showSearchInput:d$1=false,searchPlaceholder:b$1="Search",showCheckbox:z=true,showSelectionMenuHeader:G=false,valueOnly:C=false,options:s,...c$1}){let{control:J}=useFormContext(),[u,N]=useState(""),M=t=>(r?r(t):t?.id)??"",Q=t=>!C||!t?.length?t??[]:t.map(n=>s?.find(o=>M(o)===n)).filter(Boolean),T=t=>t?.map(M)??[],X=useMemo(()=>{if(!d$1||!u.trim())return s??[];let t=u.toLowerCase().trim();return (s??[]).filter(n=>{let o=(a$2?a$2(n):n?.label)??"";return String(o).toLowerCase().includes(t)})},[s,d$1,u,a$2]);return jsx(Controller,{name:W,control:J,defaultValue:[],render:({field:t,fieldState:n})=>{let o=Array.isArray(t.value)?t.value.filter(e=>e!=null).length:0,Y=G&&o>0,p=Q(t.value);return jsxs(a,{...c$1,...t,options:s??[],value:p,getOptionLabel:a$2,hasError:!!n.error,helperText:q??n.error?.message,onChange:e=>t.onChange(C?T(e):e),MenuProps:{...c$1.MenuProps,autoFocus:false,disableEnforceFocus:true},children:[d$1&&jsx(a$1,{disableSticky:true,children:jsx(k,{placeholder:b$1,value:u,onChange:e=>N(e.target.value),onKeyDown:e=>e.stopPropagation(),onKeyUp:e=>e.stopPropagation(),disableUnderline:true,fullWidth:true,inputProps:{"aria-label":b$1},endAdornment:jsx(g,{src:y,alt:"search"})})}),Y&&jsx(d,{disableSticky:true,children:jsxs(c,{children:[jsxs(b,{children:[o," selected"]}),jsx(e,{type:"button",variant:"text",disableRipple:true,"aria-label":"Clear all selected options",onMouseDown:e=>{e.preventDefault(),e.stopPropagation();},onClick:e=>{e.preventDefault(),e.stopPropagation(),c$1.onClear?c$1.onClear():t.onChange([]);},children:"Clear"})]})}),X?.map(e=>{let m=p?.some(S=>{if(S==null)return false;if(f)return f(e,S);if(r){let k=r(e),I=r(S);return k===I||String(k)===String(I)}let w=e?.id,v=S?.id;return w===v||String(w)===String(v)}),g=h$1?h$1(e):false,Z=a$2?a$2(e):e.label,P=y$1?y$1(e):Z;return jsx(i,{value:(r?r(e):e?.id)??"",disabled:g,$selected:m,children:z?jsxs(h,{children:[jsx(j,{checked:m,$mutedRect:m&&g}),P]}):P},(r?r(e):e?.id)??"")})]})}})}export{ee as a};
1
+ import {a as a$1,k,g,d,c,b,e,i,h,j}from'./chunk-N3BUW7VN.js';import {a}from'./chunk-3S6UFMPM.js';import {y}from'./chunk-KUCUMYUK.js';import {useState,useMemo}from'react';import {useFormContext,Controller}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function ee({name:W,helperText:q,getOptionValue:r,getOptionLabel:a$2,renderOption:y$1,isOptionEqualToValue:f,getOptionDisabled:h$1,showSearchInput:d$1=false,searchPlaceholder:b$1="Search",showCheckbox:z=true,showSelectionMenuHeader:G=false,valueOnly:C=false,options:s,...c$1}){let{control:J}=useFormContext(),[u,N]=useState(""),M=t=>(r?r(t):t?.id)??"",Q=t=>!C||!t?.length?t??[]:t.map(n=>s?.find(o=>M(o)===n)).filter(Boolean),T=t=>t?.map(M)??[],X=useMemo(()=>{if(!d$1||!u.trim())return s??[];let t=u.toLowerCase().trim();return (s??[]).filter(n=>{let o=(a$2?a$2(n):n?.label)??"";return String(o).toLowerCase().includes(t)})},[s,d$1,u,a$2]);return jsx(Controller,{name:W,control:J,defaultValue:[],render:({field:t,fieldState:n})=>{let o=Array.isArray(t.value)?t.value.filter(e=>e!=null).length:0,Y=G&&o>0,p=Q(t.value);return jsxs(a,{...c$1,...t,options:s??[],value:p,getOptionLabel:a$2,hasError:!!n.error,helperText:q??n.error?.message,onChange:e=>t.onChange(C?T(e):e),MenuProps:{...c$1.MenuProps,autoFocus:false,disableEnforceFocus:true},children:[d$1&&jsx(a$1,{disableSticky:true,children:jsx(k,{placeholder:b$1,value:u,onChange:e=>N(e.target.value),onKeyDown:e=>e.stopPropagation(),onKeyUp:e=>e.stopPropagation(),disableUnderline:true,fullWidth:true,inputProps:{"aria-label":b$1},endAdornment:jsx(g,{src:y,alt:"search"})})}),Y&&jsx(d,{disableSticky:true,children:jsxs(c,{children:[jsxs(b,{children:[o," selected"]}),jsx(e,{type:"button",variant:"text",disableRipple:true,"aria-label":"Clear all selected options",onMouseDown:e=>{e.preventDefault(),e.stopPropagation();},onClick:e=>{e.preventDefault(),e.stopPropagation(),c$1.onClear?c$1.onClear():t.onChange([]);},children:"Clear"})]})}),X?.map(e=>{let m=p?.some(S=>{if(S==null)return false;if(f)return f(e,S);if(r){let k=r(e),I=r(S);return k===I||String(k)===String(I)}let w=e?.id,v=S?.id;return w===v||String(w)===String(v)}),g=h$1?h$1(e):false,Z=a$2?a$2(e):e.label,P=y$1?y$1(e):Z;return jsx(i,{value:(r?r(e):e?.id)??"",disabled:g,$selected:m,children:z?jsxs(h,{children:[jsx(j,{checked:m,$mutedRect:m&&g}),P]}):P},(r?r(e):e?.id)??"")})]})}})}export{ee as a};
@@ -0,0 +1 @@
1
+ import {a}from'./chunk-EVW2UJCX.js';var e=a;export{e as a};