@tap-payments/os-micro-frontend-shared 0.3.261 → 0.3.262-test.1793538361

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 (386) hide show
  1. package/build/_chunks/{chunk-IYTH5356.js → chunk-2XJONJ45.js} +1 -1
  2. package/build/_chunks/{chunk-ZPC7Y4T2.js → chunk-36SHJ6S2.js} +1 -1
  3. package/build/_chunks/{chunk-REHFVMTP.js → chunk-3JBBLZWL.js} +1 -1
  4. package/build/_chunks/chunk-3M2GZVQW.js +2 -0
  5. package/build/_chunks/chunk-3QSCYUND.js +1 -0
  6. package/build/_chunks/{chunk-2ITOOBQZ.js → chunk-3WR7EY43.js} +1 -1
  7. package/build/_chunks/{chunk-V74Y2K3P.js → chunk-4GZLLAS4.js} +1 -1
  8. package/build/_chunks/{chunk-OJEJ53B4.js → chunk-4MFFTUBV.js} +1 -1
  9. package/build/_chunks/{chunk-VSHATHTL.js → chunk-4QQ6CKIQ.js} +1 -1
  10. package/build/_chunks/{chunk-ZV4XKW5D.js → chunk-4XT4B6K7.js} +1 -1
  11. package/build/_chunks/{chunk-L6TUTV44.js → chunk-5BSC7RRT.js} +1 -1
  12. package/build/_chunks/{chunk-FER75O5A.js → chunk-6KBWHZYB.js} +1 -1
  13. package/build/_chunks/{chunk-HZMX7CZH.js → chunk-6QQMLTOO.js} +1 -1
  14. package/build/_chunks/{chunk-EAHMGHPT.js → chunk-BE4MNKFI.js} +1 -1
  15. package/build/_chunks/{chunk-BEZFFMKM.js → chunk-BGS3NKUI.js} +1 -1
  16. package/build/_chunks/{chunk-MLS6BCBH.js → chunk-BY2DNX5T.js} +1 -1
  17. package/build/_chunks/{chunk-XCGRVGRM.js → chunk-DR3O4E6N.js} +1 -1
  18. package/build/_chunks/{chunk-P5EDYLUL.js → chunk-DS3S6KVP.js} +1 -1
  19. package/build/_chunks/{chunk-5BSNFEJE.js → chunk-EEERORD5.js} +1 -1
  20. package/build/_chunks/{chunk-HO7RNP7T.js → chunk-ERISOE2A.js} +1 -1
  21. package/build/_chunks/{chunk-JOUY3DKN.js → chunk-FHEJBVKA.js} +1 -1
  22. package/build/_chunks/{chunk-7OZ5UGYK.js → chunk-FYNRGR2H.js} +1 -1
  23. package/build/_chunks/{chunk-FN7OC4F6.js → chunk-G33HURH3.js} +1 -1
  24. package/build/_chunks/chunk-G3ATI7I2.js +1 -0
  25. package/build/_chunks/{chunk-WXZQZRWR.js → chunk-HUHMT3IW.js} +1 -1
  26. package/build/_chunks/{chunk-VLFGX6QI.js → chunk-IICHBOFB.js} +1 -1
  27. package/build/_chunks/chunk-IPJPOM43.js +2 -0
  28. package/build/_chunks/chunk-ISC5KT5E.js +1 -0
  29. package/build/_chunks/chunk-IVLEMYPN.js +1 -0
  30. package/build/_chunks/{chunk-R3FTDEQO.js → chunk-JLYTOV7G.js} +1 -1
  31. package/build/_chunks/{chunk-QIDRXD5E.js → chunk-JOWUWZFT.js} +1 -1
  32. package/build/_chunks/chunk-KB65AF7U.js +1 -0
  33. package/build/_chunks/{chunk-6DJYSPGQ.js → chunk-KSNYC2C3.js} +1 -1
  34. package/build/_chunks/{chunk-FHG4V5PQ.js → chunk-L3STJCFN.js} +1 -1
  35. package/build/_chunks/{chunk-SLTW35Q5.js → chunk-LN5SIMM3.js} +1 -1
  36. package/build/_chunks/{chunk-OOULBKJW.js → chunk-LQ3HIOYZ.js} +1 -1
  37. package/build/_chunks/{chunk-LBMK6FQ3.js → chunk-LVAT2VNL.js} +1 -1
  38. package/build/_chunks/chunk-MGKF4NEJ.js +1 -0
  39. package/build/_chunks/{chunk-ZZ7EU2OI.js → chunk-N3OY66V4.js} +1 -1
  40. package/build/_chunks/{chunk-RHTXMAB4.js → chunk-NGM2PRD2.js} +1 -1
  41. package/build/_chunks/chunk-NNRGDZ2M.js +2 -0
  42. package/build/_chunks/{chunk-VTMSP54J.js → chunk-OYLQPQFF.js} +1 -1
  43. package/build/_chunks/{chunk-QQ6DXLUC.js → chunk-PK6QTFSN.js} +1 -1
  44. package/build/_chunks/chunk-PT57COC3.js +1 -0
  45. package/build/_chunks/{chunk-POFEJ7FS.js → chunk-QEK7MYHH.js} +1 -1
  46. package/build/_chunks/{chunk-V52W3D2L.js → chunk-QGQML2MR.js} +1 -1
  47. package/build/_chunks/chunk-QHURNXQM.js +1 -0
  48. package/build/_chunks/{chunk-VUVSMGM3.js → chunk-QNLOQSUC.js} +1 -1
  49. package/build/_chunks/{chunk-W72VVJ55.js → chunk-QVIJYCFF.js} +1 -1
  50. package/build/_chunks/{chunk-T2W2B7VO.js → chunk-QWSWFYCS.js} +1 -1
  51. package/build/_chunks/{chunk-HON2LH2I.js → chunk-QZS5OBVK.js} +1 -1
  52. package/build/_chunks/{chunk-HMDKNB7G.js → chunk-RNTJ5NYK.js} +1 -1
  53. package/build/_chunks/{chunk-JNZVH3L6.js → chunk-RTQF7GB2.js} +1 -1
  54. package/build/_chunks/{chunk-C7B47V4K.js → chunk-SGS55HAD.js} +1 -1
  55. package/build/_chunks/{chunk-K27TDIQE.js → chunk-SLNZYTEH.js} +1 -1
  56. package/build/_chunks/{chunk-KZ4TQIFX.js → chunk-TTA6Y4FQ.js} +1 -1
  57. package/build/_chunks/{chunk-2RNGRW7A.js → chunk-TVJQOVUR.js} +1 -1
  58. package/build/_chunks/{chunk-ZCCEZR4S.js → chunk-UKTRTZLD.js} +1 -1
  59. package/build/_chunks/{chunk-IJOSAPPR.js → chunk-UKVDNN6Q.js} +1 -1
  60. package/build/_chunks/{chunk-KENASKSB.js → chunk-UXNLDSFY.js} +1 -1
  61. package/build/_chunks/chunk-V65IRT3G.js +1 -0
  62. package/build/_chunks/chunk-VAAJBFPG.js +1 -0
  63. package/build/_chunks/{chunk-374HIN4B.js → chunk-VH6XFZJC.js} +1 -1
  64. package/build/_chunks/{chunk-5VS2EY44.js → chunk-VXERDHY7.js} +1 -1
  65. package/build/_chunks/chunk-VZWP3CGF.js +1 -0
  66. package/build/_chunks/chunk-W2OLEYTE.js +1 -0
  67. package/build/_chunks/{chunk-IQTJWCJI.js → chunk-W7E52UM5.js} +1 -1
  68. package/build/_chunks/{chunk-A6O2RAUJ.js → chunk-WNVUCPFC.js} +1 -1
  69. package/build/_chunks/{chunk-ZM23PXYZ.js → chunk-X2EDIOJE.js} +1 -1
  70. package/build/_chunks/{chunk-SMCKS2MG.js → chunk-XYTVDVEN.js} +1 -1
  71. package/build/components/ActionsDropdownMenu/index.js +1 -1
  72. package/build/components/Alert/index.js +1 -1
  73. package/build/components/AreaChart/index.js +1 -1
  74. package/build/components/Autocomplete/index.js +1 -1
  75. package/build/components/AvatarStack/index.js +1 -1
  76. package/build/components/Calender/index.js +1 -1
  77. package/build/components/Calender/style.d.ts +4 -4
  78. package/build/components/Card/index.js +1 -1
  79. package/build/components/CardList/CardList.d.ts +4 -0
  80. package/build/components/CardList/CardListItem.d.ts +4 -0
  81. package/build/components/CardList/constants.d.ts +15 -0
  82. package/build/components/CardList/index.d.ts +4 -0
  83. package/build/components/CardList/index.js +1 -0
  84. package/build/components/CardList/style.d.ts +13 -0
  85. package/build/components/CardList/type.d.ts +33 -0
  86. package/build/components/ColorPicker/index.js +1 -1
  87. package/build/components/ColorPicker/style.d.ts +2 -2
  88. package/build/components/ColumnViews/index.js +1 -1
  89. package/build/components/ColumnViews/styles.d.ts +6 -2
  90. package/build/components/ConfirmDialog/index.js +1 -1
  91. package/build/components/CountryFilter/index.js +1 -1
  92. package/build/components/CountryFlag/index.js +1 -1
  93. package/build/components/CurrenciesMenu/index.js +1 -1
  94. package/build/components/CurrencyAmount/index.js +1 -1
  95. package/build/components/CurrencyAmountInput/index.js +1 -1
  96. package/build/components/CurrencySymbol/index.js +1 -1
  97. package/build/components/DateFilter/index.js +1 -1
  98. package/build/components/DeviceIcon/index.js +1 -1
  99. package/build/components/DropdownMenu/index.js +1 -1
  100. package/build/components/EmptyState/index.js +1 -1
  101. package/build/components/ErrorToast/index.js +1 -1
  102. package/build/components/FileDropbox/index.js +1 -1
  103. package/build/components/FilePreview/index.js +1 -1
  104. package/build/components/FileUploader/index.js +1 -1
  105. package/build/components/FilterChip/index.js +1 -1
  106. package/build/components/FilterDropdown/index.js +1 -1
  107. package/build/components/FilterDropdown/style.d.ts +2 -2
  108. package/build/components/Filters/index.js +1 -1
  109. package/build/components/Filters/style.d.ts +2 -2
  110. package/build/components/FlippingCard/index.js +1 -1
  111. package/build/components/FormSelect/index.js +1 -1
  112. package/build/components/GroupedSelect/index.js +1 -1
  113. package/build/components/HeatMap/index.js +1 -1
  114. package/build/components/InputBase/SelectBase/style.d.ts +1 -1
  115. package/build/components/InputBase/index.js +1 -1
  116. package/build/components/Inputs/index.js +1 -1
  117. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  118. package/build/components/ListColumnFilter/index.js +1 -1
  119. package/build/components/ListHeader/index.js +1 -1
  120. package/build/components/ListLayout/index.js +1 -1
  121. package/build/components/Loader/index.js +1 -1
  122. package/build/components/Logo/index.js +1 -1
  123. package/build/components/MaskedText/index.js +1 -1
  124. package/build/components/MultiSelect/index.js +1 -1
  125. package/build/components/MultiSelect/style.d.ts +1 -1
  126. package/build/components/NestedDropdown/index.js +1 -1
  127. package/build/components/NestedMultiSelect/index.js +1 -1
  128. package/build/components/PhoneFilter/index.js +1 -1
  129. package/build/components/PhoneInput/index.js +1 -1
  130. package/build/components/ProgressRing/index.js +1 -1
  131. package/build/components/RadioGroup/index.js +1 -1
  132. package/build/components/RadioGroup/style.d.ts +1 -1
  133. package/build/components/RangeCalender/components/QuickFilters/style.d.ts +1 -1
  134. package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
  135. package/build/components/RangeCalender/index.js +1 -1
  136. package/build/components/RangeCalender/style.d.ts +3 -3
  137. package/build/components/RatingCount/index.js +1 -1
  138. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  139. package/build/components/SearchButton/index.js +1 -1
  140. package/build/components/SearchButton/style.d.ts +1 -1
  141. package/build/components/SearchInput/index.js +1 -1
  142. package/build/components/SearchInput/style.d.ts +2 -2
  143. package/build/components/SheetViewChip/index.js +1 -1
  144. package/build/components/Sidebar/constants.d.ts +2 -0
  145. package/build/components/Sidebar/index.js +1 -1
  146. package/build/components/StatusBar/index.js +1 -1
  147. package/build/components/StatusButton/index.js +1 -1
  148. package/build/components/StatusButton/style.d.ts +2 -2
  149. package/build/components/StatusFilter/index.js +1 -1
  150. package/build/components/StatusIcons/index.js +1 -1
  151. package/build/components/StatusLabel/index.js +1 -1
  152. package/build/components/TableCells/index.js +1 -1
  153. package/build/components/TableReports/index.js +1 -1
  154. package/build/components/TextInput/index.js +1 -1
  155. package/build/components/Timepicker/index.js +1 -1
  156. package/build/components/TreeDropdown/index.js +1 -1
  157. package/build/components/VerificationIcon/index.js +1 -1
  158. package/build/components/VirtualTables/SheetViewVirtualTable/SheetViewVirtualTable.d.ts +1 -1
  159. package/build/components/VirtualTables/VirtualTable/VirtualTable.d.ts +1 -1
  160. package/build/components/VirtualTables/VirtualTableWithCard/VirtualTableWithCard.d.ts +1 -1
  161. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
  162. package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
  163. package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
  164. package/build/components/VirtualTables/components/TableFooter/TableFooter.d.ts +1 -1
  165. package/build/components/VirtualTables/index.js +1 -1
  166. package/build/components/Window/Window.d.ts +13 -0
  167. package/build/components/Window/WindowContent.d.ts +4 -0
  168. package/build/components/Window/WindowDialog.d.ts +4 -0
  169. package/build/components/Window/WindowFooter.d.ts +4 -0
  170. package/build/components/Window/WindowFooterActions.d.ts +4 -0
  171. package/build/components/Window/WindowProvider.d.ts +3 -0
  172. package/build/components/Window/constants.d.ts +41 -0
  173. package/build/components/Window/context.d.ts +10 -0
  174. package/build/components/Window/index.d.ts +9 -0
  175. package/build/components/Window/index.js +1 -0
  176. package/build/components/Window/style.d.ts +36 -0
  177. package/build/components/Window/type.d.ts +223 -0
  178. package/build/components/Window/utils.d.ts +42 -0
  179. package/build/components/WindowServices/DropdownIcon.d.ts +9 -0
  180. package/build/components/WindowServices/ServiceItem.d.ts +9 -0
  181. package/build/components/WindowServices/WindowServices.d.ts +4 -0
  182. package/build/components/WindowServices/WindowSkeleton.d.ts +4 -0
  183. package/build/components/WindowServices/constants.d.ts +37 -0
  184. package/build/components/WindowServices/index.d.ts +4 -0
  185. package/build/components/WindowServices/index.js +1 -0
  186. package/build/components/WindowServices/style.d.ts +45 -0
  187. package/build/components/WindowServices/type.d.ts +66 -0
  188. package/build/components/WindowServices/utils.d.ts +9 -0
  189. package/build/components/WindowToolbar/CloseIcon.d.ts +9 -0
  190. package/build/components/WindowToolbar/DirectionIcon.d.ts +12 -0
  191. package/build/components/WindowToolbar/MaximizeIcon.d.ts +9 -0
  192. package/build/components/WindowToolbar/MinimizeIcon.d.ts +9 -0
  193. package/build/components/WindowToolbar/SandboxIcon.d.ts +10 -0
  194. package/build/components/WindowToolbar/WindowToolbar.d.ts +4 -0
  195. package/build/components/WindowToolbar/WindowToolbarEndAdornment.d.ts +4 -0
  196. package/build/components/WindowToolbar/WindowToolbarStartAdornment.d.ts +4 -0
  197. package/build/components/WindowToolbar/WindowToolbarTitle.d.ts +12 -0
  198. package/build/components/WindowToolbar/constants.d.ts +12 -0
  199. package/build/components/WindowToolbar/index.d.ts +11 -0
  200. package/build/components/WindowToolbar/index.js +1 -0
  201. package/build/components/WindowToolbar/style.d.ts +56 -0
  202. package/build/components/WindowToolbar/type.d.ts +64 -0
  203. package/build/components/index.d.ts +8 -10
  204. package/build/components/index.js +1 -1
  205. package/build/components/modules/JSONViewWindow/JSONViewWindow.d.ts +12 -0
  206. package/build/components/modules/JSONViewWindow/components/Content/Content.d.ts +11 -0
  207. package/build/components/modules/JSONViewWindow/components/Content/constants.d.ts +4 -0
  208. package/build/components/modules/JSONViewWindow/components/Content/index.d.ts +3 -0
  209. package/build/components/modules/JSONViewWindow/components/Content/style.d.ts +266 -0
  210. package/build/components/modules/JSONViewWindow/components/Content/type.d.ts +10 -0
  211. package/build/components/{JSONViewer → modules/JSONViewWindow}/components/CopiedIndicator/CopiedIndicator.d.ts +1 -1
  212. package/build/components/modules/JSONViewWindow/components/CopiedIndicator/style.d.ts +276 -0
  213. package/build/components/{AppWindowWrapper/AppWindow/AppWindow.d.ts → modules/JSONViewWindow/components/Footer/Footer.d.ts} +2 -2
  214. package/build/components/modules/JSONViewWindow/components/Footer/index.d.ts +3 -0
  215. package/build/components/modules/JSONViewWindow/components/Footer/style.d.ts +7 -0
  216. package/build/components/modules/JSONViewWindow/components/Footer/type.d.ts +11 -0
  217. package/build/components/modules/JSONViewWindow/components/HighlightText/index.d.ts +1 -0
  218. package/build/components/modules/JSONViewWindow/components/IconButton/IconButton.d.ts +8 -0
  219. package/build/components/modules/JSONViewWindow/components/IconButton/index.d.ts +2 -0
  220. package/build/components/modules/JSONViewWindow/components/IconButton/style.d.ts +2 -0
  221. package/build/components/modules/JSONViewWindow/components/IconButton/type.d.ts +6 -0
  222. package/build/components/{JSONViewer/components/JSONSearchBar/styles.d.ts → modules/JSONViewWindow/components/JSONSearchBar/style.d.ts} +2 -2
  223. package/build/components/modules/JSONViewWindow/components/JSONViewArrow/JSONViewArrow.d.ts +8 -0
  224. package/build/components/modules/JSONViewWindow/components/JSONViewArrow/index.d.ts +2 -0
  225. package/build/components/modules/JSONViewWindow/components/JSONViewArrow/type.d.ts +6 -0
  226. package/build/components/modules/JSONViewWindow/components/List/List.d.ts +8 -0
  227. package/build/components/modules/JSONViewWindow/components/List/index.d.ts +3 -0
  228. package/build/components/modules/JSONViewWindow/components/List/type.d.ts +8 -0
  229. package/build/components/modules/JSONViewWindow/components/Pane/Pane.d.ts +20 -0
  230. package/build/components/modules/JSONViewWindow/components/Pane/index.d.ts +3 -0
  231. package/build/components/modules/JSONViewWindow/components/Pane/type.d.ts +5 -0
  232. package/build/components/modules/JSONViewWindow/components/Toolbar/Toolbar.d.ts +4 -0
  233. package/build/components/modules/JSONViewWindow/components/Toolbar/constants.d.ts +4 -0
  234. package/build/components/modules/JSONViewWindow/components/Toolbar/index.d.ts +4 -0
  235. package/build/components/modules/JSONViewWindow/components/Toolbar/type.d.ts +21 -0
  236. package/build/components/modules/JSONViewWindow/components/index.d.ts +8 -0
  237. package/build/components/modules/JSONViewWindow/constants.d.ts +26 -0
  238. package/build/components/modules/JSONViewWindow/context/Provider.d.ts +7 -0
  239. package/build/components/modules/JSONViewWindow/context/context.d.ts +3 -0
  240. package/build/components/modules/JSONViewWindow/context/index.d.ts +2 -0
  241. package/build/components/modules/JSONViewWindow/hooks/index.d.ts +2 -0
  242. package/build/components/modules/JSONViewWindow/hooks/useJSONViewWindow.d.ts +24 -0
  243. package/build/components/{JSONViewer → modules/JSONViewWindow}/hooks/useJsonSearch.d.ts +1 -1
  244. package/build/components/modules/JSONViewWindow/index.d.ts +9 -0
  245. package/build/components/modules/JSONViewWindow/index.js +1 -0
  246. package/build/components/{JSONViewer → modules/JSONViewWindow}/style.d.ts +29 -40
  247. package/build/components/modules/JSONViewWindow/type.d.ts +33 -0
  248. package/build/components/modules/JSONViewWindow/utils.d.ts +14 -0
  249. package/build/components/modules/WindowShell/WindowShell.d.ts +4 -0
  250. package/build/components/modules/WindowShell/WindowShellAnimator.d.ts +28 -0
  251. package/build/components/modules/WindowShell/WindowShellToolbar.d.ts +14 -0
  252. package/build/components/modules/WindowShell/constants.d.ts +6 -0
  253. package/build/components/modules/WindowShell/index.d.ts +3 -0
  254. package/build/components/modules/WindowShell/index.js +1 -0
  255. package/build/components/modules/WindowShell/style.d.ts +36 -0
  256. package/build/components/modules/WindowShell/type.d.ts +228 -0
  257. package/build/components/modules/WindowShell/utils.d.ts +44 -0
  258. package/build/components/modules/index.d.ts +4 -0
  259. package/build/components/modules/index.js +1 -0
  260. package/build/components/primitives/Input/style.d.ts +2 -2
  261. package/build/components/primitives/Slider/style.d.ts +1 -1
  262. package/build/components/primitives/Textarea/style.d.ts +2 -2
  263. package/build/components/primitives/index.js +1 -1
  264. package/build/constants/assets.d.ts +0 -1
  265. package/build/constants/index.d.ts +1 -2
  266. package/build/constants/index.js +1 -1
  267. package/build/constants/window.d.ts +10 -5
  268. package/build/datetime/components/DateRangeCalendar/style.d.ts +5 -5
  269. package/build/datetime/components/index.js +1 -1
  270. package/build/hooks/index.d.ts +1 -1
  271. package/build/hooks/index.js +1 -1
  272. package/build/hooks/useElementSizeObserver.d.ts +18 -0
  273. package/build/index.js +1 -1
  274. package/build/types/appEvents.d.ts +6 -0
  275. package/build/types/table.d.ts +0 -2
  276. package/build/utils/index.js +1 -1
  277. package/package.json +1 -1
  278. package/build/_chunks/chunk-4HVIM6IH.js +0 -1
  279. package/build/_chunks/chunk-7K3FJQAY.js +0 -1
  280. package/build/_chunks/chunk-C6TIIIZJ.js +0 -1
  281. package/build/_chunks/chunk-EVW2FPLJ.js +0 -1
  282. package/build/_chunks/chunk-F2WRAUH7.js +0 -2
  283. package/build/_chunks/chunk-GSOCKNAX.js +0 -1
  284. package/build/_chunks/chunk-HD5Z47JE.js +0 -2
  285. package/build/_chunks/chunk-ILP5V6AY.js +0 -1
  286. package/build/_chunks/chunk-J5LY5OR3.js +0 -1
  287. package/build/_chunks/chunk-MUCEA5V5.js +0 -1
  288. package/build/_chunks/chunk-NNPPYWR7.js +0 -1
  289. package/build/_chunks/chunk-RCOA4KYV.js +0 -1
  290. package/build/_chunks/chunk-SMXSQIKB.js +0 -1
  291. package/build/_chunks/chunk-UMWEVLY4.js +0 -1
  292. package/build/_chunks/chunk-ZTNJXPMT.js +0 -2
  293. package/build/components/AppServices/AppServices.d.ts +0 -15
  294. package/build/components/AppServices/ServiceItem.d.ts +0 -12
  295. package/build/components/AppServices/index.d.ts +0 -2
  296. package/build/components/AppServices/index.js +0 -1
  297. package/build/components/AppServices/style.d.ts +0 -12
  298. package/build/components/AppServicesBar/AppServicesBar.d.ts +0 -22
  299. package/build/components/AppServicesBar/index.d.ts +0 -3
  300. package/build/components/AppServicesBar/index.js +0 -1
  301. package/build/components/AppWindowWrapper/AppWindow/constant.d.ts +0 -2
  302. package/build/components/AppWindowWrapper/AppWindow/index.d.ts +0 -5
  303. package/build/components/AppWindowWrapper/AppWindow/style.d.ts +0 -18
  304. package/build/components/AppWindowWrapper/AppWindow/type.d.ts +0 -18
  305. package/build/components/AppWindowWrapper/AppWindow/utils.d.ts +0 -34
  306. package/build/components/AppWindowWrapper/AppWindowWrapper.d.ts +0 -4
  307. package/build/components/AppWindowWrapper/context/Provider.d.ts +0 -3
  308. package/build/components/AppWindowWrapper/context/context.d.ts +0 -3
  309. package/build/components/AppWindowWrapper/context/index.d.ts +0 -2
  310. package/build/components/AppWindowWrapper/context/type.d.ts +0 -88
  311. package/build/components/AppWindowWrapper/headers/AccountHeader/AccountHeader.d.ts +0 -5
  312. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.d.ts +0 -5
  313. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/index.d.ts +0 -3
  314. package/build/components/AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle/type.d.ts +0 -16
  315. package/build/components/AppWindowWrapper/headers/AccountHeader/index.d.ts +0 -4
  316. package/build/components/AppWindowWrapper/headers/AccountHeader/type.d.ts +0 -14
  317. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeader.d.ts +0 -5
  318. package/build/components/AppWindowWrapper/headers/AppWindowHeader/AppWindowHeaderBase.d.ts +0 -5
  319. package/build/components/AppWindowWrapper/headers/AppWindowHeader/index.d.ts +0 -4
  320. package/build/components/AppWindowWrapper/headers/AppWindowHeader/type.d.ts +0 -25
  321. package/build/components/AppWindowWrapper/index.d.ts +0 -8
  322. package/build/components/AppWindowWrapper/index.js +0 -1
  323. package/build/components/AppWindowWrapper/type.d.ts +0 -11
  324. package/build/components/JSONViewer/JSONViewer.d.ts +0 -3
  325. package/build/components/JSONViewer/JSONViewerList.d.ts +0 -11
  326. package/build/components/JSONViewer/components/FooterButton/FooterButton.d.ts +0 -5
  327. package/build/components/JSONViewer/components/FooterButton/index.d.ts +0 -2
  328. package/build/components/JSONViewer/components/HighlightText/index.d.ts +0 -2
  329. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.d.ts +0 -5
  330. package/build/components/JSONViewer/components/JSONTitleBar/index.d.ts +0 -3
  331. package/build/components/JSONViewer/components/JSONTitleBar/type.d.ts +0 -14
  332. package/build/components/JSONViewer/components/index.d.ts +0 -4
  333. package/build/components/JSONViewer/context/Provider.d.ts +0 -7
  334. package/build/components/JSONViewer/context/context.d.ts +0 -3
  335. package/build/components/JSONViewer/context/index.d.ts +0 -2
  336. package/build/components/JSONViewer/hooks/index.d.ts +0 -2
  337. package/build/components/JSONViewer/hooks/useJsonViewerContext.d.ts +0 -9
  338. package/build/components/JSONViewer/index.d.ts +0 -7
  339. package/build/components/JSONViewer/index.js +0 -1
  340. package/build/components/JSONViewer/type.d.ts +0 -33
  341. package/build/components/JSONViewer/utils.d.ts +0 -7
  342. package/build/components/MFWidgetLoader/DefaultMFWidgetLoader.d.ts +0 -2
  343. package/build/components/MFWidgetLoader/MFWidgetLoader.d.ts +0 -6
  344. package/build/components/MFWidgetLoader/ReportsMFWidgetLoader.d.ts +0 -2
  345. package/build/components/MFWidgetLoader/index.d.ts +0 -2
  346. package/build/components/MFWidgetLoader/index.js +0 -1
  347. package/build/components/Toolbar/Toolbar.d.ts +0 -5
  348. package/build/components/Toolbar/ToolbarAppIcon.d.ts +0 -7
  349. package/build/components/Toolbar/index.d.ts +0 -4
  350. package/build/components/Toolbar/index.js +0 -1
  351. package/build/components/Toolbar/style.d.ts +0 -34
  352. package/build/components/Toolbar/type.d.ts +0 -10
  353. package/build/components/ToolbarIcon/CloseIcon/CloseIcon.d.ts +0 -3
  354. package/build/components/ToolbarIcon/CloseIcon/index.d.ts +0 -1
  355. package/build/components/ToolbarIcon/CloseIcon/style.d.ts +0 -4
  356. package/build/components/ToolbarIcon/ExpandButton/ExpandButton.d.ts +0 -9
  357. package/build/components/ToolbarIcon/ExpandButton/index.d.ts +0 -1
  358. package/build/components/ToolbarIcon/ExpandButton/style.d.ts +0 -14
  359. package/build/components/ToolbarIcon/MaximizeIcon/MaximizeIcon.d.ts +0 -7
  360. package/build/components/ToolbarIcon/MaximizeIcon/index.d.ts +0 -1
  361. package/build/components/ToolbarIcon/MaximizeIcon/style.d.ts +0 -4
  362. package/build/components/ToolbarIcon/MinimizeIcon/MinimizeIcon.d.ts +0 -3
  363. package/build/components/ToolbarIcon/MinimizeIcon/index.d.ts +0 -1
  364. package/build/components/ToolbarIcon/MinimizeIcon/style.d.ts +0 -4
  365. package/build/components/ToolbarIcon/index.d.ts +0 -4
  366. package/build/components/ToolbarIcon/index.js +0 -1
  367. package/build/components/ToolbarIcon/style.d.ts +0 -4
  368. package/build/components/Widget/List.d.ts +0 -9
  369. package/build/components/Widget/ListItem.d.ts +0 -11
  370. package/build/components/Widget/index.d.ts +0 -3
  371. package/build/components/Widget/index.js +0 -1
  372. package/build/components/Widget/style.d.ts +0 -19
  373. package/build/constants/style.d.ts +0 -4
  374. package/build/hooks/useMouseState.d.ts +0 -8
  375. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/CopiedIndicator/index.d.ts +0 -0
  376. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/HighlightText/HighlightText.d.ts +0 -0
  377. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/HighlightText/HighlightedParts.d.ts +0 -0
  378. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/HighlightText/type.d.ts +0 -0
  379. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/HighlightText/util.d.ts +0 -0
  380. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchBar/JSONSearchBar.d.ts +0 -0
  381. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchBar/index.d.ts +0 -0
  382. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/HighlightMatchingKey.d.ts +0 -0
  383. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/HighlightMatchingValue.d.ts +0 -0
  384. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/index.d.ts +0 -0
  385. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/type.d.ts +0 -0
  386. /package/build/components/{JSONViewer → modules/JSONViewWindow}/components/JSONSearchHighlighters/util.d.ts +0 -0
@@ -1 +1 @@
1
- import {j}from'./chunk-QQ6DXLUC.js';import {lc}from'./chunk-RCOA4KYV.js';import {jf}from'./chunk-ZTNJXPMT.js';import {forwardRef,memo}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a="os-shared-ErrorToast",t={root:`${a}-root`,message:`${a}-message`,icon:`${a}-icon`};var i=styled(Box,{shouldForwardProp:o=>o!=="toastPosition"})(({theme:o,toastPosition:r})=>({width:160,position:"absolute",bottom:12,zIndex:1e3,display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:o.v2.palette.background.primary,height:31,gap:o.v2.spacing(8),borderRadius:o.v2.radius(8),borderWidth:1,padding:o.v2.spacing(8),border:`1px solid ${o.v2.palette.border.default}`,boxShadow:"0px 0px 16px 0px #00000014",animation:"slideIn 0.5s ease-out",...r==="bottom-center"&&{left:"50%",transform:"translateX(-50%)"},...r==="bottom-right"&&{right:12,transform:"none"},...r==="bottom-left"&&{left:12,transform:"none"},"@keyframes slideIn":{"0%":{opacity:0,transform:r==="bottom-center"?"translate(-50%, 100%)":r==="bottom-right"?"translateX(100%)":"translateX(-100%)"},"100%":{opacity:1,transform:r==="bottom-center"?"translate(-50%, 0)":"translateX(0)"}}})),l=styled("img")({cursor:"pointer"});var c=forwardRef(({message:o="Something went wrong",onRetry:r,position:f="bottom-center",id:e,className:T,sx:y,...g},x)=>jsxs(i,{ref:x,...g,className:lc(t.root,T),sx:y,id:e,"data-testid":e??"ErrorToast",toastPosition:f,children:[jsx(j,{component:"p",textVariant:"body.small.medium",noWrap:true,className:t.message,children:o}),jsx(l,{className:t.icon,onClick:b=>r?.(b),src:jf,alt:"toast-icon"})]}));c.displayName="ErrorToast";var N=memo(c);export{t as a,N as b};
1
+ import {j}from'./chunk-PK6QTFSN.js';import {lc}from'./chunk-W2OLEYTE.js';import {jf}from'./chunk-3M2GZVQW.js';import {forwardRef,memo}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a="os-shared-ErrorToast",t={root:`${a}-root`,message:`${a}-message`,icon:`${a}-icon`};var i=styled(Box,{shouldForwardProp:o=>o!=="toastPosition"})(({theme:o,toastPosition:r})=>({width:160,position:"absolute",bottom:12,zIndex:1e3,display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:o.v2.palette.background.primary,height:31,gap:o.v2.spacing(8),borderRadius:o.v2.radius(8),borderWidth:1,padding:o.v2.spacing(8),border:`1px solid ${o.v2.palette.border.default}`,boxShadow:"0px 0px 16px 0px #00000014",animation:"slideIn 0.5s ease-out",...r==="bottom-center"&&{left:"50%",transform:"translateX(-50%)"},...r==="bottom-right"&&{right:12,transform:"none"},...r==="bottom-left"&&{left:12,transform:"none"},"@keyframes slideIn":{"0%":{opacity:0,transform:r==="bottom-center"?"translate(-50%, 100%)":r==="bottom-right"?"translateX(100%)":"translateX(-100%)"},"100%":{opacity:1,transform:r==="bottom-center"?"translate(-50%, 0)":"translateX(0)"}}})),l=styled("img")({cursor:"pointer"});var c=forwardRef(({message:o="Something went wrong",onRetry:r,position:f="bottom-center",id:e,className:T,sx:y,...g},x)=>jsxs(i,{ref:x,...g,className:lc(t.root,T),sx:y,id:e,"data-testid":e??"ErrorToast",toastPosition:f,children:[jsx(j,{component:"p",textVariant:"body.small.medium",noWrap:true,className:t.message,children:o}),jsx(l,{className:t.icon,onClick:b=>r?.(b),src:jf,alt:"toast-icon"})]}));c.displayName="ErrorToast";var N=memo(c);export{t as a,N as b};
@@ -1 +1 @@
1
- import {p}from'./chunk-QQ6DXLUC.js';import {Wa,zc,cb}from'./chunk-RCOA4KYV.js';import {Tk,ya,xa,wa,Qj}from'./chunk-ZTNJXPMT.js';import {memo,useId}from'react';import C from'@mui/material/Box';import O from'lodash/capitalize';import {useTranslation}from'react-i18next';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var D=styled(C,{shouldForwardProp:o=>o!=="tableMode"})(({theme:o,tableMode:t})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,height:Wa(t)?"18px":"24px"}));var e={DESKTOP:wa,PHONE:xa,TABLET:ya,TERMINAL:Tk};var i=o=>!!e[o];function S({type:o,isTextShown:t,tableMode:T,...E}){let p$1=zc(useId(),"device-icon"),{t:v}=useTranslation(),m=i(o)?e[o]:null;return jsx(p,{title:m?`Device - ${cb((o??"").toLowerCase())}`:v("unKnown"),children:t?jsx(D,{id:p$1,"data-testid":"DeviceIcon",tableMode:T,children:o?O(o):"Unknown"}):jsx(C,{...E,id:p$1,"data-testid":"DeviceIcon",component:"img",src:o?m||Qj:Qj,alt:o})})}var b=memo(S);var X=b;export{e as a,i as b,X as c};
1
+ import {p}from'./chunk-PK6QTFSN.js';import {Wa,zc,cb}from'./chunk-W2OLEYTE.js';import {Sk,ya,xa,wa,Pj}from'./chunk-3M2GZVQW.js';import {memo,useId}from'react';import C from'@mui/material/Box';import O from'lodash/capitalize';import {useTranslation}from'react-i18next';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var D=styled(C,{shouldForwardProp:o=>o!=="tableMode"})(({theme:o,tableMode:t})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,height:Wa(t)?"18px":"24px"}));var e={DESKTOP:wa,PHONE:xa,TABLET:ya,TERMINAL:Sk};var i=o=>!!e[o];function S({type:o,isTextShown:t,tableMode:T,...E}){let p$1=zc(useId(),"device-icon"),{t:v}=useTranslation(),m=i(o)?e[o]:null;return jsx(p,{title:m?`Device - ${cb((o??"").toLowerCase())}`:v("unKnown"),children:t?jsx(D,{id:p$1,"data-testid":"DeviceIcon",tableMode:T,children:o?O(o):"Unknown"}):jsx(C,{...E,id:p$1,"data-testid":"DeviceIcon",component:"img",src:o?m||Pj:Pj,alt:o})})}var b=memo(S);var X=b;export{e as a,i as b,X as c};
@@ -1,4 +1,4 @@
1
- import {f}from'./chunk-QQ6DXLUC.js';import e from'@mui/material/Box';import l from'@mui/material/Button';import d from'@mui/material/Input';import n from'@mui/material/ListSubheader';import r from'@mui/material/MenuItem';import {keyframes,styled}from'@mui/material/styles';var c=keyframes`
1
+ import {f}from'./chunk-PK6QTFSN.js';import e from'@mui/material/Box';import l from'@mui/material/Button';import d from'@mui/material/Input';import n from'@mui/material/ListSubheader';import r from'@mui/material/MenuItem';import {keyframes,styled}from'@mui/material/styles';var c=keyframes`
2
2
  0% {
3
3
  transform: rotate(-90deg);
4
4
  }
@@ -1 +1 @@
1
- import {kc,lc}from'./chunk-RCOA4KYV.js';import {forwardRef,useCallback,memo}from'react';import {jsxs,jsx}from'react/jsx-runtime';import {styled,alpha}from'@mui/material/styles';var n="os-shared-FilterChip",r={root:`${n}-root`,label:`${n}-label`,dismissButton:`${n}-dismissButton`,dismissIcon:`${n}-dismissIcon`},h=",",u="Dismiss filter";function y({className:t}){return jsxs("svg",{className:t,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none","aria-hidden":"true",children:[jsx("path",{d:"M1.79488 1.73941L6.31572 6.26024",stroke:"currentColor",strokeWidth:"0.875",strokeMiterlimit:"10",strokeLinecap:"round"}),jsx("path",{d:"M6.31572 1.73941L1.79488 6.26024",stroke:"currentColor",strokeWidth:"0.875",strokeMiterlimit:"10",strokeLinecap:"round"})]})}var S=styled("div",{shouldForwardProp:t=>!["$disabled"].includes(t)})(({theme:t,$disabled:e})=>{let{base:o}=t.v2.palette;return {display:"inline-flex",position:"relative",alignItems:"center",justifyContent:"center",gap:t.v2.spacing(8),height:"32px",paddingInline:t.v2.spacing(16),minWidth:"8.4rem",maxWidth:"16rem",boxSizing:"border-box",background:"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)",color:o.white,borderRadius:t.v2.radius(48),...t.v2.typography.textVariants.body.small.regular,whiteSpace:"nowrap",overflow:"hidden",cursor:"default",opacity:e?.6:1}}),L=styled("span")({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:"1 1 auto",textAlign:"center"}),I=styled("button",{shouldForwardProp:t=>t!=="$disabled"})(({theme:t,$disabled:e})=>{let{base:o}=t.v2.palette;return {display:"inline-flex",position:"relative",alignItems:"center",justifyContent:"center",flexShrink:0,width:"16px",height:"16px",padding:0,border:"none",borderRadius:"50%",backgroundColor:alpha(o.black,.1),color:o.white,cursor:e?"not-allowed":"pointer",opacity:e?.6:1,transition:"opacity 150ms ease, background-color 150ms ease","&:hover":e?void 0:{backgroundColor:alpha(o.black,.2)},"&:focus-visible":{outline:`2px solid ${o.white}`,outlineOffset:"1px"},"& svg":{display:"block"}}});var E=forwardRef(({label:t,value:e,separator:o=h,visible:_=true,dismissible:k=true,onDismiss:p,dismissLabel:P=u,disabled:s=false,children:x,id:F,sx:R,className:w,slotProps:A,"data-testid":T},D)=>{let{label:d,dismissButton:i}=A??{},v=useCallback(m=>{m.stopPropagation(),!s&&(i?.onClick?.(m),p?.(m));},[s,i,p]);if(!_)return null;let c=t??(typeof e=="string"?e:e&&e.length>0?e.join(o):void 0);if(!c&&!x)return null;let N=k&&p!=null;return jsxs(S,{ref:D,id:F,"data-testid":T??F??"FilterChip",className:lc(r.root,w),sx:kc({},R),$disabled:s,role:"status",children:[c?jsx(L,{...d,className:lc(r.label,d?.className),sx:kc({},d?.sx),children:c}):x,N&&jsx(I,{...i,type:"button","aria-label":i?.["aria-label"]??P,disabled:s,onClick:v,className:lc(r.dismissButton,i?.className),sx:kc({},i?.sx),$disabled:s,children:jsx(y,{className:r.dismissIcon})})]})});E.displayName="FilterChip";var U=memo(E);export{r as a,h as b,u as c,U as d};
1
+ import {kc,lc}from'./chunk-W2OLEYTE.js';import {forwardRef,useCallback,memo}from'react';import {jsxs,jsx}from'react/jsx-runtime';import {styled,alpha}from'@mui/material/styles';var n="os-shared-FilterChip",r={root:`${n}-root`,label:`${n}-label`,dismissButton:`${n}-dismissButton`,dismissIcon:`${n}-dismissIcon`},h=",",u="Dismiss filter";function y({className:t}){return jsxs("svg",{className:t,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none","aria-hidden":"true",children:[jsx("path",{d:"M1.79488 1.73941L6.31572 6.26024",stroke:"currentColor",strokeWidth:"0.875",strokeMiterlimit:"10",strokeLinecap:"round"}),jsx("path",{d:"M6.31572 1.73941L1.79488 6.26024",stroke:"currentColor",strokeWidth:"0.875",strokeMiterlimit:"10",strokeLinecap:"round"})]})}var S=styled("div",{shouldForwardProp:t=>!["$disabled"].includes(t)})(({theme:t,$disabled:e})=>{let{base:o}=t.v2.palette;return {display:"inline-flex",position:"relative",alignItems:"center",justifyContent:"center",gap:t.v2.spacing(8),height:"32px",paddingInline:t.v2.spacing(16),minWidth:"8.4rem",maxWidth:"16rem",boxSizing:"border-box",background:"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)",color:o.white,borderRadius:t.v2.radius(48),...t.v2.typography.textVariants.body.small.regular,whiteSpace:"nowrap",overflow:"hidden",cursor:"default",opacity:e?.6:1}}),L=styled("span")({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:"1 1 auto",textAlign:"center"}),I=styled("button",{shouldForwardProp:t=>t!=="$disabled"})(({theme:t,$disabled:e})=>{let{base:o}=t.v2.palette;return {display:"inline-flex",position:"relative",alignItems:"center",justifyContent:"center",flexShrink:0,width:"16px",height:"16px",padding:0,border:"none",borderRadius:"50%",backgroundColor:alpha(o.black,.1),color:o.white,cursor:e?"not-allowed":"pointer",opacity:e?.6:1,transition:"opacity 150ms ease, background-color 150ms ease","&:hover":e?void 0:{backgroundColor:alpha(o.black,.2)},"&:focus-visible":{outline:`2px solid ${o.white}`,outlineOffset:"1px"},"& svg":{display:"block"}}});var E=forwardRef(({label:t,value:e,separator:o=h,visible:_=true,dismissible:k=true,onDismiss:p,dismissLabel:P=u,disabled:s=false,children:x,id:F,sx:R,className:w,slotProps:A,"data-testid":T},D)=>{let{label:d,dismissButton:i}=A??{},v=useCallback(m=>{m.stopPropagation(),!s&&(i?.onClick?.(m),p?.(m));},[s,i,p]);if(!_)return null;let c=t??(typeof e=="string"?e:e&&e.length>0?e.join(o):void 0);if(!c&&!x)return null;let N=k&&p!=null;return jsxs(S,{ref:D,id:F,"data-testid":T??F??"FilterChip",className:lc(r.root,w),sx:kc({},R),$disabled:s,role:"status",children:[c?jsx(L,{...d,className:lc(r.label,d?.className),sx:kc({},d?.sx),children:c}):x,N&&jsx(I,{...i,type:"button","aria-label":i?.["aria-label"]??P,disabled:s,onClick:v,className:lc(r.dismissButton,i?.className),sx:kc({},i?.sx),$disabled:s,children:jsx(y,{className:r.dismissIcon})})]})});E.displayName="FilterChip";var U=memo(E);export{r as a,h as b,u as c,U as d};
@@ -1,2 +1,2 @@
1
- import {f}from'./chunk-V74Y2K3P.js';import {z}from'./chunk-QQ6DXLUC.js';import {zc,Ka,g}from'./chunk-RCOA4KYV.js';import {Al,ja,Va,Pg,kl,_a,Ua,Yg,Xg,Zg,Wg,$g,Bb,Ab,Bk,jk,ib,wk,B,w as w$1,A,D,Uh,ik,u,Ck}from'./chunk-ZTNJXPMT.js';import {memo,useId,useState,useRef,useEffect,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {styled,Button,Box,alpha,useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function w({isActive:t,disableHover:e}){let[n,g]=useState(false),l=useTheme(),r=()=>{e||g(true);},u=()=>{g(false);},C=t?l.palette.common.white:l.palette.grey[700],d=n?l.palette.common.black:"transparent";return jsx("svg",{width:"27",height:"30",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 140343",children:[jsx("path",{id:"Active",d:"M0 0H11C19.8366 0 27 7.16344 27 16C27 24.8366 19.8366 32 11 32H0V0Z",fill:d,fillOpacity:"0.1",onMouseEnter:r,onMouseLeave:u}),jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.6941 15.0078C15.6494 15.0193 15.6083 15.043 15.5758 15.0769L12.5026 18.1501L12.5025 18.1501L15.5756 15.0769C15.6082 15.043 15.6493 15.0193 15.6941 15.0078ZM12.5619 18.7465C12.5426 18.7512 12.5227 18.7536 12.5026 18.7536C12.4363 18.7536 12.3727 18.7273 12.3258 18.6804L9.07581 15.4304C9.04012 15.3957 9.01559 15.3512 9.00535 15.3025C8.99511 15.2538 8.99963 15.2032 9.01833 15.1571C9.03703 15.111 9.06907 15.0715 9.11033 15.0437C9.13446 15.0275 9.16112 15.0156 9.18904 15.0086C9.16105 15.0156 9.13433 15.0275 9.11013 15.0438C9.06887 15.0716 9.03684 15.111 9.01814 15.1571C8.99944 15.2032 8.99492 15.2539 9.00516 15.3026C9.0154 15.3513 9.03993 15.3958 9.07562 15.4305L12.3256 18.6805C12.3725 18.7273 12.4361 18.7537 12.5024 18.7537C12.5226 18.7537 12.5426 18.7512 12.5619 18.7465ZM16.1965 15.342C16.1781 15.4301 16.1338 15.5105 16.0693 15.5731L12.8205 18.8219C12.7361 18.9063 12.6217 18.9537 12.5024 18.9537C12.3831 18.9537 12.2686 18.9062 12.1842 18.8219L8.93507 15.5728C8.87148 15.5105 8.82775 15.4308 8.80944 15.3437C8.79101 15.2561 8.79914 15.165 8.8328 15.082C8.86646 14.999 8.92412 14.9279 8.99839 14.8779C9.07266 14.8279 9.16022 14.8011 9.24978 14.8011C9.30998 14.8011 9.36958 14.8132 9.42503 14.8366C9.47997 14.8599 9.52973 14.8938 9.57144 14.9364L12.5024 17.8673L15.433 14.9368C15.5151 14.852 15.6273 14.803 15.7454 14.8002C15.836 14.798 15.9252 14.8233 16.0013 14.8728C16.0773 14.9222 16.1367 14.9935 16.1715 15.0772C16.2063 15.1609 16.2151 15.2533 16.1965 15.342Z",fill:C})]})})}var zt=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),mt=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...zt(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),gt={active:mt,inActive:mt};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:n})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(n??"")&&e==="inActive")&&n!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"}));var ht=styled(f)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),Ct=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),ft=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),vt=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),It=styled("img")(({theme:t,variant:e,icon:n})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(n??"")&&e==="inActive")&&n!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),xt=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));var bt={inProgress:Ck,initiated:Ck,abandoned:u,cancelled:ik,reversed:Uh,reports:D,search:A,chevronDown:w$1,unAuthorized:B,unSettled:wk,unCaptured:ib,captured:jk,authorized:Bk,openFlag:Ab,closedFlag:Bb,unauthenticated:$g,authenticated:Wg,paidOut:Zg,scheduled:Xg,checked:Yg,dashedChecked:Ua,deactivated:_a,destination:kl,destinationReversed:Pg,outstanding:Va,active:ja,inactive:Al};var Ut=memo(t=>{let{variant:e="inActive",badgeCount:n,icon:g$1,label:l,dropdownOptions:r,selectedStatus:u,onButtonBodyClick:C,iconMapper:d=bt,buttonSx:yt,...wt}=t,kt=zc(useId(),"status-button"),[Lt,M]=useState(0),{t:R}=useTranslation(),P=useRef(null),[T,x]=useState(null),[a,V]=useState(u??r?.[0]?.status);useEffect(()=>{u!==void 0&&V(u);},[u]);let p=useMemo(()=>!!r?.length,[r]),f=!!T&&Lt>1,m=e==="active",H=useMemo(()=>m?"active":"inactive",[m]),h=useMemo(()=>a?r?.find(o=>o.status===a):null,[a,r]),Mt=useMemo(()=>{if(h?.icon)return jsx(xt,{variant:e,children:h.icon});let o=a&&d[a]?a:g$1;if(o&&d[o])return jsx(It,{icon:o,variant:e,src:d[o],alt:`${o}-icon`})},[h,a,d,g$1,e]),Rt=useMemo(()=>!n||Number.isNaN(Ka(n))?null:jsx(z,{color:H,children:g(Number(n))}),[n,H]),W=useMemo(()=>p?jsx(w,{isActive:m}):null,[p,m]);useEffect(()=>{m||(M(0),x(null));},[m]);let b=useCallback(()=>{x(null);},[]),A=useCallback(()=>{p&&x(f?null:P.current);},[p,f]),Pt=useCallback(o=>{o.stopPropagation(),t?.onClick?.(o),C?.(a||r?.[0]?.status||"all"),A(),M(B=>B+1);},[t,C,a,r,A]),E=useCallback(o=>B=>{o?.onClick?.(B),V(o.status),b();},[b]),Tt=useMemo(()=>r?.map(o=>({...o,onClick:E(o)}))||[],[r,E]),Vt=gt[e],Ht=useMemo(()=>h?.label||(a?R(a):l),[h,a,R,l]);return jsxs(Fragment,{children:[jsx(Vt,{id:kt,"data-testid":"StatusButton",...wt,ref:P,onClick:Pt,statusVariant:e,sx:{...p&&{paddingInlineEnd:"27px"},...yt},children:jsxs(vt,{children:[jsxs(ft,{variant:e,children:[Mt,Ht,Rt]}),W&&jsx(Ct,{children:W})]})}),f&&p&&jsx(ht,{open:f,onClose:b,anchorEl:T,menuItems:Tt})]})}),St=Ut;var ge=St;
1
+ import {f}from'./chunk-4GZLLAS4.js';import {z}from'./chunk-PK6QTFSN.js';import {zc,Ka,g}from'./chunk-W2OLEYTE.js';import {zl,ja,Va,Pg,jl,_a,Ua,Yg,Xg,Zg,Wg,$g,Bb,Ab,Ak,ik,ib,vk,B,w as w$1,A,D,Uh,hk,u,Bk}from'./chunk-3M2GZVQW.js';import {memo,useId,useState,useRef,useEffect,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {styled,Button,Box,alpha,useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function w({isActive:t,disableHover:e}){let[n,g]=useState(false),l=useTheme(),r=()=>{e||g(true);},u=()=>{g(false);},C=t?l.palette.common.white:l.palette.grey[700],d=n?l.palette.common.black:"transparent";return jsx("svg",{width:"27",height:"30",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 140343",children:[jsx("path",{id:"Active",d:"M0 0H11C19.8366 0 27 7.16344 27 16C27 24.8366 19.8366 32 11 32H0V0Z",fill:d,fillOpacity:"0.1",onMouseEnter:r,onMouseLeave:u}),jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.6941 15.0078C15.6494 15.0193 15.6083 15.043 15.5758 15.0769L12.5026 18.1501L12.5025 18.1501L15.5756 15.0769C15.6082 15.043 15.6493 15.0193 15.6941 15.0078ZM12.5619 18.7465C12.5426 18.7512 12.5227 18.7536 12.5026 18.7536C12.4363 18.7536 12.3727 18.7273 12.3258 18.6804L9.07581 15.4304C9.04012 15.3957 9.01559 15.3512 9.00535 15.3025C8.99511 15.2538 8.99963 15.2032 9.01833 15.1571C9.03703 15.111 9.06907 15.0715 9.11033 15.0437C9.13446 15.0275 9.16112 15.0156 9.18904 15.0086C9.16105 15.0156 9.13433 15.0275 9.11013 15.0438C9.06887 15.0716 9.03684 15.111 9.01814 15.1571C8.99944 15.2032 8.99492 15.2539 9.00516 15.3026C9.0154 15.3513 9.03993 15.3958 9.07562 15.4305L12.3256 18.6805C12.3725 18.7273 12.4361 18.7537 12.5024 18.7537C12.5226 18.7537 12.5426 18.7512 12.5619 18.7465ZM16.1965 15.342C16.1781 15.4301 16.1338 15.5105 16.0693 15.5731L12.8205 18.8219C12.7361 18.9063 12.6217 18.9537 12.5024 18.9537C12.3831 18.9537 12.2686 18.9062 12.1842 18.8219L8.93507 15.5728C8.87148 15.5105 8.82775 15.4308 8.80944 15.3437C8.79101 15.2561 8.79914 15.165 8.8328 15.082C8.86646 14.999 8.92412 14.9279 8.99839 14.8779C9.07266 14.8279 9.16022 14.8011 9.24978 14.8011C9.30998 14.8011 9.36958 14.8132 9.42503 14.8366C9.47997 14.8599 9.52973 14.8938 9.57144 14.9364L12.5024 17.8673L15.433 14.9368C15.5151 14.852 15.6273 14.803 15.7454 14.8002C15.836 14.798 15.9252 14.8233 16.0013 14.8728C16.0773 14.9222 16.1367 14.9935 16.1715 15.0772C16.2063 15.1609 16.2151 15.2533 16.1965 15.342Z",fill:C})]})})}var zt=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),mt=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...zt(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),gt={active:mt,inActive:mt};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:n})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(n??"")&&e==="inActive")&&n!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"}));var ht=styled(f)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),Ct=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),ft=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),vt=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),It=styled("img")(({theme:t,variant:e,icon:n})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(n??"")&&e==="inActive")&&n!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),xt=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));var bt={inProgress:Bk,initiated:Bk,abandoned:u,cancelled:hk,reversed:Uh,reports:D,search:A,chevronDown:w$1,unAuthorized:B,unSettled:vk,unCaptured:ib,captured:ik,authorized:Ak,openFlag:Ab,closedFlag:Bb,unauthenticated:$g,authenticated:Wg,paidOut:Zg,scheduled:Xg,checked:Yg,dashedChecked:Ua,deactivated:_a,destination:jl,destinationReversed:Pg,outstanding:Va,active:ja,inactive:zl};var Ut=memo(t=>{let{variant:e="inActive",badgeCount:n,icon:g$1,label:l,dropdownOptions:r,selectedStatus:u,onButtonBodyClick:C,iconMapper:d=bt,buttonSx:yt,...wt}=t,kt=zc(useId(),"status-button"),[Lt,M]=useState(0),{t:R}=useTranslation(),P=useRef(null),[T,x]=useState(null),[a,V]=useState(u??r?.[0]?.status);useEffect(()=>{u!==void 0&&V(u);},[u]);let p=useMemo(()=>!!r?.length,[r]),f=!!T&&Lt>1,m=e==="active",H=useMemo(()=>m?"active":"inactive",[m]),h=useMemo(()=>a?r?.find(o=>o.status===a):null,[a,r]),Mt=useMemo(()=>{if(h?.icon)return jsx(xt,{variant:e,children:h.icon});let o=a&&d[a]?a:g$1;if(o&&d[o])return jsx(It,{icon:o,variant:e,src:d[o],alt:`${o}-icon`})},[h,a,d,g$1,e]),Rt=useMemo(()=>!n||Number.isNaN(Ka(n))?null:jsx(z,{color:H,children:g(Number(n))}),[n,H]),W=useMemo(()=>p?jsx(w,{isActive:m}):null,[p,m]);useEffect(()=>{m||(M(0),x(null));},[m]);let b=useCallback(()=>{x(null);},[]),A=useCallback(()=>{p&&x(f?null:P.current);},[p,f]),Pt=useCallback(o=>{o.stopPropagation(),t?.onClick?.(o),C?.(a||r?.[0]?.status||"all"),A(),M(B=>B+1);},[t,C,a,r,A]),E=useCallback(o=>B=>{o?.onClick?.(B),V(o.status),b();},[b]),Tt=useMemo(()=>r?.map(o=>({...o,onClick:E(o)}))||[],[r,E]),Vt=gt[e],Ht=useMemo(()=>h?.label||(a?R(a):l),[h,a,R,l]);return jsxs(Fragment,{children:[jsx(Vt,{id:kt,"data-testid":"StatusButton",...wt,ref:P,onClick:Pt,statusVariant:e,sx:{...p&&{paddingInlineEnd:"27px"},...yt},children:jsxs(vt,{children:[jsxs(ft,{variant:e,children:[Mt,Ht,Rt]}),W&&jsx(Ct,{children:W})]})}),f&&p&&jsx(ht,{open:f,onClose:b,anchorEl:T,menuItems:Tt})]})}),St=Ut;var ge=St;
2
2
  export{w as a,ge as b};
@@ -0,0 +1 @@
1
+ import {h,b as b$1,f as f$1}from'./chunk-PT57COC3.js';import {b,h as h$1,c,e,d,j as j$1,i}from'./chunk-V65IRT3G.js';import {f,h as h$2}from'./chunk-ISC5KT5E.js';import {H as H$1,j}from'./chunk-PK6QTFSN.js';import {a}from'./chunk-VAAJBFPG.js';import {g,kc,lc}from'./chunk-W2OLEYTE.js';import {Vd,ta,dl,el,wi,Ik,A,xe as xe$1,we,sa,qa,ra}from'./chunk-3M2GZVQW.js';import {forwardRef,memo,createContext,useState,useRef,useMemo,useContext,useEffect,useCallback,useId}from'react';import ie from'@mui/material/Box';import nt from'@mui/material/Typography';import P from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {useTranslation}from'react-i18next';var O="os-shared-JSONViewWindow",m={root:`${O}-root`,body:`${O}-body`,requestPane:`${O}-requestPane`,responsePane:`${O}-responsePane`,section:`${O}-section`,title:`${O}-title`,actions:`${O}-actions`,scroll:`${O}-scroll`,footer:`${O}-footer`,count:`${O}-count`},N=400,B=545,Z=.5,po=20,co=30,Ne="Items",be="JSON Response",We="JSON Request & Response",mo="rgb(231, 231, 231)";var fo=styled("span")({display:"inline-flex",alignItems:"center",gap:"6px"}),uo=styled("span")({margin:"0px",fontStyle:"normal",fontStretch:"normal",color:"rgb(32, 35, 43)",letterSpacing:"0px",fontSize:"9px",fontWeight:400,lineHeight:"10.8px"}),xo=styled("span")({margin:"0px",fontStyle:"normal",fontStretch:"normal",color:"rgb(32, 35, 43)",letterSpacing:"0px",fontSize:"10.5px",fontWeight:700,lineHeight:"12.6px",textAlign:"right"});var ho=forwardRef(function({totalCount:o,id:n,className:t,sx:r},i){return jsx(h,{ref:i,id:n,"data-testid":n??"Footer",className:lc(m.footer,t),sx:kc({justifyContent:"flex-start"},r),children:o!=null?jsx(H$1,{variant:"text",className:m.count,sx:{cursor:"text",borderWidth:.75},children:jsxs(fo,{children:[jsx(uo,{children:Ne}),jsx(xo,{children:g(o??0)})]})}):null})});ho.displayName="Footer";var H=memo(ho);var wo=styled("button")(({theme:e})=>({outline:"none",cursor:"pointer",border:"1px solid transparent","&:hover":{boxShadow:e.shadows[8]},borderRadius:"0.25rem",position:"relative",backgroundColor:e.palette.background.transparent,display:"inline-flex",alignItems:"center",justifyContent:"center"})),Ie=styled(motion.img)({height:"14px",width:"14px"});function oe({"data-copied":e,style:o,onClick:n},{keyName:t}){return t?jsxs(wo,{style:o,onClick:r=>{n?.(r);},children:[jsx(AnimatePresence,{children:e&&jsx(Ie,{initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:ta,alt:"icon"},"copied-icon")}),jsx(AnimatePresence,{children:!e&&jsx(Ie,{initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:ra,alt:"icon"},"copy-icon")})]}):jsx("span",{})}var So=styled("button")(({theme:e})=>({padding:"0rem",borderRadius:"0.25rem",backgroundColor:e.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem",color:e.palette.text.primary,fontSize:"0.625rem",fontWeight:e.typography.fontWeightBold,outline:"none",cursor:"pointer",border:`1px solid ${e.palette.grey[100]}`,"&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark};`},position:"relative",overflow:"hidden",transition:"all 0.2s ease-in-out",width:"24px",height:"24px",flexShrink:0}));function No({onClick:e,icon:o,label:n,disableAnimation:t,...r}){let[i,s]=useState(false),{t:c}=useTranslation();return jsxs(So,{...r,onClick:p=>{e?.(p),!t&&(s(true),setTimeout(()=>{s(false);},2e3));},children:[jsxs(ie,{sx:{width:"16px",display:"flex",overflow:"hidden",justifyContent:"center",alignItems:"center"},children:[jsx(AnimatePresence,{mode:"wait",children:i&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:ta,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{mode:"wait",children:!i&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:o,alt:"icon"},"id-icon")})]}),n&&jsxs(Fragment,{children:[jsx(AnimatePresence,{children:i&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute"},transition:{duration:.4},children:c("copied")})}),jsx(AnimatePresence,{children:!i&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,position:"absolute",width:"53px"},transition:{duration:.4},children:n})})]})]})}No.displayName="IconButton";var T=memo(No);var bo=styled("div")(()=>({display:"flex",alignItems:"center",position:"relative",flexShrink:0,width:"24px",height:"24px"})),Wo=styled("button")(({theme:e,isActive:o})=>({width:"24px",height:"24px",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",border:`1px solid ${o?e.palette.info.dark:e.palette.grey[100]}`,backgroundColor:e.palette.background.paper,cursor:"pointer",outline:"none",padding:0,position:"relative",zIndex:11,transition:"all 0.2s ease-in-out","&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark}`}})),Co=styled(motion.div)(()=>({position:"absolute",right:0,top:0,height:"24px",display:"flex",alignItems:"center",zIndex:20,background:"transparent"})),Io=styled(motion.input)(({theme:e})=>({width:"177px",height:"24px",borderRadius:"4px",color:e.palette.text.primary,fontSize:"10px",outline:0,background:e.palette.background.paper,boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark}`,paddingLeft:"8px",boxSizing:"border-box","::placeholder":{color:"#D5D5D5"}})),Te={position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:2,userSelect:"none"},Oo={...Te,background:"none",border:"none",padding:0,margin:0,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",outline:"none","&:disabled":{opacity:.3,cursor:"default"}},To=styled("button")(()=>({...Oo,right:53})),Po=styled("button")(()=>({...Oo,right:39})),vo=styled(motion.img)(()=>({...Te,right:24,width:10,height:10,cursor:"pointer"})),_o=styled(motion.img)(()=>({...Te,right:8,width:11,height:11,cursor:"default"})),Pe=styled("img")(()=>({width:10,height:10})),Jo=styled("img")(()=>({width:12,height:12})),Eo=styled("span")(({theme:e})=>({position:"absolute",right:67,top:"50%",transform:"translateY(-50%)",fontSize:"9px",lineHeight:1,color:e.palette.text.secondary,whiteSpace:"nowrap",userSelect:"none",zIndex:2,pointerEvents:"none"}));function Bt({value:e,onChange:o,currentIndex:n,totalCount:t,onPrev:r,onNext:i,onOpen:s,placeholder:c="Search..."}){let[a,p]=useState(false),u=useRef(null),f=e.trim().length>0,y=t>0,S=f,W=()=>{s?.(),p(true),requestAnimationFrame(()=>u.current?.focus());},C=()=>{o(""),p(false);};return jsxs(bo,{children:[jsx(AnimatePresence,{children:a&&jsxs(Co,{initial:{clipPath:"inset(0 0 0 100%)",opacity:0},animate:{clipPath:"inset(0 0 0 0%)",opacity:1},exit:{clipPath:"inset(0 0 0 100%)",opacity:0},transition:{duration:.22,ease:[.4,0,.2,1]},children:[jsx(Io,{ref:u,initial:false,animate:{paddingRight:S?"98px":"24px"},transition:{duration:.15},placeholder:c,value:e,onChange:I=>o(I.target.value),onKeyDown:I=>{I.key==="Enter"&&(I.shiftKey?r():i()),I.key==="Escape"&&C();},onBlur:()=>{f||p(false);}}),S&&jsx(To,{onClick:r,disabled:!y,title:"Previous match (Shift+Enter)",children:jsx(Pe,{src:dl,alt:"prev"})}),S&&jsx(Po,{onClick:i,disabled:!y,title:"Next match (Enter)",children:jsx(Pe,{src:el,alt:"next"})}),S&&jsx(vo,{src:wi,alt:"clear",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:C}),jsx(_o,{src:Ik,alt:"search",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),S&&jsx(Eo,{children:y?`${n+1}/${t}`:"0/0"})]},"input-area")}),jsx(AnimatePresence,{children:!a&&jsx(motion.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.15},children:jsx(Wo,{isActive:false,onClick:W,title:"Search",children:jsx(Jo,{src:A,alt:"search"})})})})]})}var M=memo(Bt);function ko(e,o){let n=[],t=o.length,r=0,i=e.indexOf(o,r);for(;i!==-1;){let s=i+t;n.push([i,s]),r=s,i=e.indexOf(o,r);}return n}var At={padding:0,outline:"none"};function Bo({text:e,queryLength:o,ranges:n,idPrefix:t}){let r=[],i=0;return n.forEach(([s,c],a)=>{s>i&&r.push(e.slice(i,s)),r.push(jsx("mark",{style:At,children:e.slice(s,s+o)},`${t}-${a}`)),i=c;}),i<e.length&&r.push(e.slice(i)),jsx(Fragment,{children:r})}function V({text:e,query:o}){let n=useId(),t=useMemo(()=>o.trim().toLowerCase(),[o]),r=useMemo(()=>{if(!t)return e;let i=e.toLowerCase(),s=ko(i,t);return s.length===0?e:jsx(Bo,{text:e,queryLength:o.length,ranges:s,idPrefix:n})},[e,o.length,t,n]);return jsx(Fragment,{children:r})}var ve={"--w-rjv-color":"#9cdcfe","--w-rjv-key-string":"#357fb9","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ffffff","--w-rjv-arrow-color":"#116e6bed","--w-rjv-edit-color":"#9cdcfe","--w-rjv-info-color":"#9c9c9c7a","--w-rjv-update-color":"#FFE20B","--w-rjv-copied-color":"#9cdcfe","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#000000","--w-rjv-colon-color":"#000000","--w-rjv-brackets-color":"#000000","--w-rjv-quotes-color":"#9cdcfe","--w-rjv-quotes-string-color":"#c27c46","--w-rjv-type-string-color":"#c27c46","--w-rjv-type-int-color":"#956ea5","--w-rjv-type-float-color":"#956ea5","--w-rjv-type-bigint-color":"#956ea5","--w-rjv-type-boolean-color":"#956ea5","--w-rjv-type-date-color":"#956ea5","--w-rjv-type-url-color":"#3b89cf","--w-rjv-type-null-color":"#956ea5","--w-rjv-type-nan-color":"#956ea5","--w-rjv-type-undefined-color":"#956ea5",padding:"1rem",height:"100%",overflow:"auto"},jo={...ve,background:"transparent","--w-rjv-line-color":"transparent"},_e=styled(j)(()=>({border:"1px solid rgba(242, 242, 242, 0.70);",display:"inline-flex",height:"24px",minWidth:"73px",padding:"0px 8px",justifyContent:"center",alignItems:"center",gap:"6px",borderRadius:"37.5px",backgroundColor:"#fff",fontSize:"9px",lineHeight:"15px",fontWeight:400})),Je=styled(ie)(()=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:"4px",paddingBlock:"8px",paddingInlineStart:"12px",paddingInlineEnd:"12px",position:"sticky",left:0,right:0,top:0,background:"#fff",zIndex:5,flexShrink:0,minHeight:44})),Ee=styled(ie)(()=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"4px",flexShrink:0,marginLeft:"auto"})),Lo=styled(ie)(()=>({display:"flex",flexDirection:"row",flex:1,minHeight:0,height:"100%",width:"100%",background:"transparent",position:"relative",overflow:"visible"})),Re=styled(ie)(()=>({display:"flex",flexDirection:"column",flex:1,minHeight:0,overflowY:"auto",overflowX:"hidden"})),zo=styled(motion.div,{shouldForwardProp:e=>!["isRequestShown","isMaximized"].includes(e)})(({isRequestShown:e,isMaximized:o})=>({width:"100%",height:"100%",minHeight:0,overflow:"hidden",background:"#fff",zIndex:20,position:"relative",left:0,display:"flex",flexDirection:"column",flex:1,minWidth:0,borderBottomRightRadius:"12px",borderBottomLeftRadius:e?0:"12px",...o&&{borderBottomLeftRadius:0,borderBottomRightRadius:0}})),qo=styled(motion.div,{shouldForwardProp:e=>!["isMaximized","currentRequestWidth"].includes(e)})(({isMaximized:e,currentRequestWidth:o})=>({backgroundColor:mo,backdropFilter:"blur(24px)",height:"100%",overflowY:"auto",overflowX:"hidden",position:"absolute",width:e?"100%":o,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px",top:0,bottom:0})),Fo=styled("span")(()=>({color:"#032F62"})),$o=styled("span")(()=>({color:"#357fb9"}));function se(e,o){return e.toLowerCase().includes(o)}function ae(e){return e.trim().toLowerCase()}function le(e){let o=ae(e);return (n,{keyName:t})=>{if(!o||!t)return;let r=String(t);if(se(r,o))return jsx($o,{children:jsx(V,{text:String(t),query:e})})}}function pe(e){let o=ae(e);return (n,{value:t})=>{if(!o)return;let r=String(t??"");if(se(r,o))return jsxs(Fo,{children:['"',jsx(V,{text:String(t??""),query:e}),'"']})}}function Uo(e,o){return e==null?String(e).includes(o):typeof e=="string"?e.toLowerCase().includes(o):typeof e=="number"||typeof e=="boolean"?String(e).includes(o):false}function Go(e,o){if(Array.isArray(e)){let n=e.map(t=>Go(t,o)).filter(t=>t!=null);return n.length>0?n:null}return typeof e=="object"&&e!==null?Qo(e,o):Uo(e,o)?e:null}function Qo(e,o){let n={};for(let[t,r]of Object.entries(e))if(t.toLowerCase().includes(o))n[t]=r;else if(typeof r=="object"&&r!==null){let i=Go(r,o);i!==null&&(n[t]=i);}else Uo(r,o)&&(n[t]=r);return Object.keys(n).length>0?n:null}function Ve(e,o){return o.trim()?Qo(e,o.toLowerCase()):e}function Yo(e,o,n){return {x:e/2-N/4+n*po,y:o/2-B/2+n*co}}var ot="#FFE20B";function z(e,o){let[n,t]=useState(0),[r,i]=useState(0);useEffect(()=>{if(!o.trim()){i(0),t(0);return}let a=setTimeout(()=>{let p=e.current?.querySelectorAll("mark")??[];i(p.length),t(0);},50);return ()=>clearTimeout(a)},[o,e]),useEffect(()=>{if(!e.current||!o.trim())return;let a=Array.from(e.current.querySelectorAll("mark"));a.forEach((p,u)=>{let f=u===n;p.style.backgroundColor=f?ot:"transparent",p.style.outline=f?`1px solid ${ot}`:"none",p.style.borderRadius="2px";}),a[n]?.scrollIntoView({behavior:"smooth",block:"nearest"});},[n,r,o,e]);let s=useCallback(()=>{r!==0&&t(a=>(a+1)%r);},[r]),c=useCallback(()=>{r!==0&&t(a=>(a-1+r)%r);},[r]);return {currentIndex:n,totalCount:r,goNext:s,goPrev:c}}function rt({json:e,requestJson:o={},onJsonSearch:n,onJsonCopy:t,onJsonIdCopy:r,onJsonNodesMinimize:i,onJsonNodesMaximize:s,isRequestShown:c,isToolbarAnimationDisabled:a}){let{isMaximized:p,size:u,isResizing:f}=b$1(),[y,S]=useState(false),[W,C]=useState(true),[x,h]=useState(""),[g,I]=useState(""),D=useRef(null),A=useRef(null),U=z(D,x),G=z(A,g),St=useMemo(()=>Object.keys(e??{})?.length??0,[e]),Ae=u.width||N,He=v=>{setTimeout(()=>{navigator.clipboard.writeText(v||"").then(()=>{});},10);},Nt=useMemo(()=>Object.keys(o??{})?.length??0,[o]),Me=useMemo(()=>Ve(e,x),[e,x]),je=useMemo(()=>Ve(o,g),[o,g]);return jsxs(Lo,{"data-testid":"Pane",className:lc(m.root,m.body),children:[jsx(AnimatePresence,{children:c&&jsx(qo,{className:lc(m.requestPane),initial:{left:0},animate:{left:p?0:-Ae},exit:{left:0},transition:{duration:Z,...a&&{duration:0},...f&&{duration:0}},isMaximized:p,currentRequestWidth:Ae,children:jsxs(ie,{ref:A,sx:{display:"flex",flexDirection:"column",flex:1,minHeight:0},children:[jsxs(Je,{className:lc(m.section),sx:{background:"transparent"},children:[jsx(_e,{variant:"subtitle1",className:lc(m.title),children:"API Request"}),jsxs(Ee,{className:lc(m.actions),children:[jsx(M,{value:g,onChange:I,onOpen:()=>n?.(),currentIndex:G.currentIndex,totalCount:G.totalCount,onPrev:G.goPrev,onNext:G.goNext}),jsx(T,{disableAnimation:true,onClick:()=>{W?s?.():i?.(),C(v=>!v);},icon:W?xe$1:we}),jsx(T,{onClick:()=>{t?.(),navigator.clipboard.writeText(JSON.stringify(o,null,2)).then(()=>{});},icon:sa}),jsx(T,{onClick:()=>{r?.(),navigator.clipboard.writeText(e?.id||"").then(()=>{});},icon:qa})]})]}),g.trim()&&je===null?jsx(ie,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(nt,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsx(Re,{className:lc(m.scroll),children:jsxs(P,{value:je??o,style:jo,displayDataTypes:false,collapsed:g.trim()?void 0:W?1:void 0,onCopied:(v,_)=>{typeof _=="string"&&He(_);},enableClipboard:false,children:[jsx(P.String,{render:pe(g)}),jsx(P.KeyName,{render:le(g)}),jsx(P.CountInfo,{render:(v,{keyName:_})=>{if(!_)return jsx("span",{})}}),jsx(P.Copied,{render:oe})]})}),jsx(H,{totalCount:Nt,sx:{borderBottomRightRadius:0,background:"#f8f9fb"}})]})},"request-pane")}),jsxs(zo,{ref:D,className:lc(m.responsePane),isMaximized:p,isRequestShown:c,initial:{...p&&{width:"100vw",left:0}},animate:{...p&&{position:"absolute",left:c?"50vw":"0"}},transition:{duration:Z,...a&&{duration:0},...f&&{duration:0}},children:[jsxs(Je,{className:lc(m.section),children:[jsx(_e,{variant:"subtitle1",className:lc(m.title),children:"API Response"}),jsxs(Ee,{className:lc(m.actions),children:[jsx(M,{value:x,onChange:h,onOpen:()=>n?.(),currentIndex:U.currentIndex,totalCount:U.totalCount,onPrev:U.goPrev,onNext:U.goNext}),jsx(T,{disableAnimation:true,onClick:()=>{y?s?.():i?.(),S(v=>!v);},icon:y?xe$1:we}),jsx(T,{onClick:()=>{t?.(),navigator.clipboard.writeText(JSON.stringify(e,null,2)).then(()=>{});},icon:sa}),jsx(T,{onClick:()=>{r?.(),navigator.clipboard.writeText(e?.id||"").then(()=>{});},icon:qa})]})]}),x.trim()&&Me===null?jsx(ie,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(nt,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsx(Re,{className:lc(m.scroll),children:jsxs(P,{value:Me??e,style:ve,displayDataTypes:false,collapsed:x.trim()?void 0:y?1:void 0,onCopied:(v,_)=>{typeof _=="string"&&He(_);},children:[jsx(P.String,{render:pe(x)}),jsx(P.KeyName,{render:le(x)}),jsx(P.CountInfo,{render:(v,{keyName:_})=>{if(!_)return jsx("span",{})}}),jsx(P.Copied,{render:oe})]})}),jsx(H,{totalCount:St,sx:{borderBottomLeftRadius:c?0:"12px",background:"#f8f9fb"}})]})]})}rt.displayName="Pane";var me=memo(rt);var $t="os-shared-JSONViewWindowToolbar",q={root:`${$t}-root`};var st=forwardRef(function({title:o,onClose:n,onMaximize:t,maximized:r=false,onRequestClick:i$1,requestDirection:s="left",showRequestIcon:c$1=false,id:a,className:p,sx:u},f$1){return jsxs(b,{ref:f$1,id:a??f,"data-testid":a??"Toolbar",sx:kc({backgroundColor:"#f9f9f9",backdropFilter:"none"},u),className:lc(q.root,p),children:[jsxs(h$1,{children:[jsx(c,{onClick:n}),jsx(e,{isMaximized:r,onClick:t}),c$1&&jsx(d,{onClick:i$1,direction:s,children:"Request"})]}),jsx(j$1,{title:o,icon:Vd}),jsx(i,{})]})});st.displayName="Toolbar";var $=memo(st);var Gt="os-shared-JSONViewWindowContent",at={root:`${Gt}-root`};var pt=styled(motion.div)({flexShrink:0}),ct=styled("div")({display:"contents"});function Xt({requestJson:e={},onClose:o,onJsonRequestOpen:n,isRequestShown:t,setIsRequestShown:r,isToolbarAnimationDisabled:i,setIsToolbarAnimationDisabled:s,className:c,...a}){let{isMaximized:p,setIsMaximized:u,setSize:f,size:y,isResizing:S}=b$1(),W=Object.keys(e??{})?.length,C=y.width||N;return jsxs(Fragment,{children:[jsx(pt,{animate:{width:p?"100%":t?C*2:C,x:!p&&t?-C:0},transition:{duration:S||i?0:h$2},children:jsx($,{title:t?We:be,onClose:()=>o(),onMaximize:()=>{u(x=>!x),s(true),setTimeout(()=>{s(false);},h$2*1e3);},maximized:p,onRequestClick:()=>{r(x=>!x),s(false),t||(n?.(),f({width:N,height:B}));},requestDirection:t?"right":"left",showRequestIcon:!!W})}),jsx(ct,{className:lc(at.root,c),children:jsx(me,{...a,requestJson:e,onClose:o,onJsonRequestOpen:n,isRequestShown:t,isToolbarAnimationDisabled:i})})]})}var K=memo(Xt);var k=createContext({windows:[],open:()=>{},close:()=>{},closeAll:()=>{},handleWindowMinimize:()=>{},handleWindowOrder:()=>{},registerJSONViewWindowEvents:()=>{},containerRef:{current:null}});function mt({list:e,events:o,onClose:n,isWindowMinimized:t,windowOrder:r}){return e?.length?jsx(Fragment,{children:e.map((i,s)=>jsx(xe,{index:s,...o,...i,onClose:()=>{n(s);},isWindowMinimized:t,windowOrder:r},i.json.id))}):null}mt.displayName="List";var ue=memo(mt);var ut=({children:e,containerRef:o})=>{let[n,t]=useState([]),[r,i]=useState(false),[s,c]=useState(1),a=useRef({}),p=useCallback(h=>{if(n.length===7){alert("Maximum allowed active JSON View Window is 7 per table.");return}if(n.some(A=>A.json.id===h.json.id))return;let g=structuredClone(h.json),I=g.request_body,D={...h,json:g,requestJson:h.requestJson||I||void 0};delete D.json.request_body,t(A=>[...A,D]);},[n]),u=useCallback(h=>{t(g=>g.filter((I,D)=>h!==D));},[]),f=useCallback(()=>{t([]);},[]),y=useCallback(h=>{i(h);},[]),S=useCallback(h=>{c(h);},[]),W=useCallback(h=>{a.current=h;},[]),C=useMemo(()=>({onJsonRequestOpen:()=>a.current.onJsonRequestOpen?.(),onJsonSearch:()=>a.current.onJsonSearch?.(),onJsonCopy:()=>a.current.onJsonCopy?.(),onJsonIdCopy:()=>a.current.onJsonIdCopy?.(),onJsonNodesMinimize:()=>a.current.onJsonNodesMinimize?.(),onJsonNodesMaximize:()=>a.current.onJsonNodesMaximize?.()}),[]),x=useMemo(()=>({windows:n,open:p,close:u,closeAll:f,handleWindowMinimize:y,handleWindowOrder:S,registerJSONViewWindowEvents:W,containerRef:o}),[n,p,u,f,y,S,W,o]);return jsxs(k.Provider,{value:x,children:[e,jsx(ue,{list:n,events:C,onClose:u,isWindowMinimized:r,windowOrder:s})]})};function gt(e){let{containerRef:o}=useContext(k),{height:n,width:t}=a(),[r,i]=useState(false),[s,c]=useState(false);return jsx(f$1,{isOpen:true,onClose:e.onClose,containerRef:o,defaultSize:{width:N,height:B},minSize:{width:N,height:300},defaultPosition:Yo(t,n,e.index),order:e.windowOrder,isMinimized:e.isWindowMinimized,sx:{boxShadow:"none",overflow:"visible"},id:"json-view-window",className:lc(m.root,e.className),children:jsx(K,{...e,isRequestShown:r,setIsRequestShown:i,isToolbarAnimationDisabled:s,setIsToolbarAnimationDisabled:c})})}gt.displayName="JSONViewWindow";var xe=memo(gt);var yt=({isWindowMinimized:e,windowOrder:o,...n}={})=>{let{windows:t,open:r,close:i,closeAll:s,handleWindowMinimize:c,handleWindowOrder:a,registerJSONViewWindowEvents:p}=useContext(k),u=useCallback(()=>{c(e??false);},[c,e]),f=useCallback(()=>{a(o??1);},[a,o]);return useEffect(()=>{f();},[f]),useEffect(()=>{u();},[u]),useEffect(()=>{p(n);},[p,n]),{open:r,close:i,closeAll:s,windows:t,count:t.length}};var Cs=xe;export{m as a,N as b,B as c,Z as d,Ne as e,be as f,We as g,H as h,T as i,M as j,V as k,z as l,me as m,q as n,$ as o,K as p,k as q,ue as r,ut as s,yt as t,Cs as u};
@@ -1 +1 @@
1
- import {lc}from'./chunk-RCOA4KYV.js';import {Sh}from'./chunk-ZTNJXPMT.js';import {forwardRef,memo}from'react';import h from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var o="os-shared-EmptyState",t={root:`${o}-root`,icon:`${o}-icon`,title:`${o}-title`,description:`${o}-description`},l="Empty state",n="No data found",y="There is nothing to show here yet.";var c=styled(h)(()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.5rem"})),S=styled("img")(()=>({width:"2rem",height:"2rem"})),d=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0,textAlign:"center"})),f=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,margin:0,opacity:.5,textAlign:"center"}));var T=jsx(S,{src:Sh,alt:l,className:t.icon}),x=forwardRef(({className:e,sx:E,icon:g=T,title:m=n,description:r=y,children:N,...u},D)=>jsxs(c,{ref:D,className:lc(t.root,e),sx:E,"data-testid":"EmptyState",...u,children:[g,m?jsx(d,{className:t.title,children:m}):null,r?jsx(f,{className:t.description,children:r}):null,N]}));x.displayName="EmptyState";var A=memo(x);export{t as a,A as b};
1
+ import {lc}from'./chunk-W2OLEYTE.js';import {Sh}from'./chunk-3M2GZVQW.js';import {forwardRef,memo}from'react';import h from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var o="os-shared-EmptyState",t={root:`${o}-root`,icon:`${o}-icon`,title:`${o}-title`,description:`${o}-description`},l="Empty state",n="No data found",y="There is nothing to show here yet.";var c=styled(h)(()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.5rem"})),S=styled("img")(()=>({width:"2rem",height:"2rem"})),d=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0,textAlign:"center"})),f=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,margin:0,opacity:.5,textAlign:"center"}));var T=jsx(S,{src:Sh,alt:l,className:t.icon}),x=forwardRef(({className:e,sx:E,icon:g=T,title:m=n,description:r=y,children:N,...u},D)=>jsxs(c,{ref:D,className:lc(t.root,e),sx:E,"data-testid":"EmptyState",...u,children:[g,m?jsx(d,{className:t.title,children:m}):null,r?jsx(f,{className:t.description,children:r}):null,N]}));x.displayName="EmptyState";var A=memo(x);export{t as a,A as b};
@@ -1 +1 @@
1
- import {m as m$1,n}from'./chunk-QQ6DXLUC.js';import {lc}from'./chunk-RCOA4KYV.js';import {forwardRef,memo}from'react';import y from'@mui/material/Box';import {circularProgressClasses}from'@mui/material/CircularProgress';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var u="os-shared-Loader",a={root:`${u}-root`},m=24,t=5,d=3.2,L="inherit",i="rgba(0, 0, 0, 0.62)";function x(r,e){if(e==="inherit")return i;let o=r.palette[e];return o&&typeof o=="object"&&"main"in o&&typeof o.main=="string"?o.main:i}var c=styled(y,{shouldForwardProp:r=>r!=="$size"&&r!=="$color"})(({theme:r,$size:e,$color:o})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,boxSizing:"border-box",width:r.v2.spacing(e),height:r.v2.spacing(e),padding:r.v2.spacing(t),[`& .${m$1.progress}`]:{background:"transparent",color:x(r,o)},[`& .${m$1.progress} .${circularProgressClasses.circle}`]:{strokeLinecap:"butt"}}));var E=forwardRef(({size:r=m,thickness:e=d,color:o=L,id:n$1,className:D,sx:C,"data-testid":A,...N},_)=>{let g=typeof r=="number"?r-t*2:"100%";return jsx(c,{ref:_,$size:r,$color:o,id:n$1,"data-testid":A??n$1??"Loader",className:lc(a.root,D),sx:C,children:jsx(n,{...N,size:g,thickness:e,color:o,variant:"indeterminate",hasLabel:false})})});E.displayName="Loader";var T=memo(E);export{a,T as b};
1
+ import {m as m$1,n}from'./chunk-PK6QTFSN.js';import {lc}from'./chunk-W2OLEYTE.js';import {forwardRef,memo}from'react';import y from'@mui/material/Box';import {circularProgressClasses}from'@mui/material/CircularProgress';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var u="os-shared-Loader",a={root:`${u}-root`},m=24,t=5,d=3.2,L="inherit",i="rgba(0, 0, 0, 0.62)";function x(r,e){if(e==="inherit")return i;let o=r.palette[e];return o&&typeof o=="object"&&"main"in o&&typeof o.main=="string"?o.main:i}var c=styled(y,{shouldForwardProp:r=>r!=="$size"&&r!=="$color"})(({theme:r,$size:e,$color:o})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,boxSizing:"border-box",width:r.v2.spacing(e),height:r.v2.spacing(e),padding:r.v2.spacing(t),[`& .${m$1.progress}`]:{background:"transparent",color:x(r,o)},[`& .${m$1.progress} .${circularProgressClasses.circle}`]:{strokeLinecap:"butt"}}));var E=forwardRef(({size:r=m,thickness:e=d,color:o=L,id:n$1,className:D,sx:C,"data-testid":A,...N},_)=>{let g=typeof r=="number"?r-t*2:"100%";return jsx(c,{ref:_,$size:r,$color:o,id:n$1,"data-testid":A??n$1??"Loader",className:lc(a.root,D),sx:C,children:jsx(n,{...N,size:g,thickness:e,color:o,variant:"indeterminate",hasLabel:false})})});E.displayName="Loader";var T=memo(E);export{a,T as b};