@woovi/ui 0.0.1

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 (404) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +36 -0
  3. package/dist/BackButton.d.ts +6 -0
  4. package/dist/Badge.d.ts +2 -0
  5. package/dist/Banner.d.ts +9 -0
  6. package/dist/BannerError.d.ts +6 -0
  7. package/dist/BannerInfos.d.ts +27 -0
  8. package/dist/CashbackTagStatus.d.ts +5 -0
  9. package/dist/Circle.d.ts +5 -0
  10. package/dist/CircleButton.d.ts +7 -0
  11. package/dist/ClockIcon.d.ts +7 -0
  12. package/dist/Column.d.ts +2 -0
  13. package/dist/CopyInput.d.ts +8 -0
  14. package/dist/EmptyMessage.d.ts +6 -0
  15. package/dist/EncryptedText.d.ts +3 -0
  16. package/dist/FloatingMenu.d.ts +15 -0
  17. package/dist/LayoutRoot.d.ts +1 -0
  18. package/dist/LinearProgress.d.ts +8 -0
  19. package/dist/Link.d.ts +3 -0
  20. package/dist/Loading.d.ts +8 -0
  21. package/dist/Logo.d.ts +1 -0
  22. package/dist/LoremIpsum.d.ts +2 -0
  23. package/dist/Modal/Modal.d.ts +19 -0
  24. package/dist/OverflowDiv.d.ts +2 -0
  25. package/dist/ProgressBar.d.ts +10 -0
  26. package/dist/QuestionTooltip.d.ts +11 -0
  27. package/dist/RadioCard/RadioCard.d.ts +11 -0
  28. package/dist/ReactJson.d.ts +2 -0
  29. package/dist/ReactRouterLinkBehavior.d.ts +2 -0
  30. package/dist/Row.d.ts +2 -0
  31. package/dist/SafeTextTooltip.d.ts +9 -0
  32. package/dist/SearchField.d.ts +14 -0
  33. package/dist/Step.d.ts +8 -0
  34. package/dist/SwipeableDialog/SwipeableDialog.d.ts +19 -0
  35. package/dist/SwipeableDialog/SwipeableDialogActions.d.ts +9 -0
  36. package/dist/SwipeableDialog/SwipeableDialogClose.d.ts +9 -0
  37. package/dist/SwipeableDialog/SwipeableDialogContent.d.ts +12 -0
  38. package/dist/SwipeableDialog/SwipeableDialogModal.d.ts +9 -0
  39. package/dist/SwipeableDialog/SwipeableDialogTitle.d.ts +11 -0
  40. package/dist/SwipeableDialog/SwipeableDialogTrigger.d.ts +9 -0
  41. package/dist/TagWebhookStatus.d.ts +12 -0
  42. package/dist/ThemeProvider.d.ts +11 -0
  43. package/dist/ToggleButtonGroup.d.ts +24 -0
  44. package/dist/ToggleButtonGroupMobile.d.ts +7 -0
  45. package/dist/TransactionStatusTag.d.ts +1 -0
  46. package/dist/TransactionTagEntryTypes.d.ts +12 -0
  47. package/dist/TransactionTagStatus.d.ts +7 -0
  48. package/dist/UnsupportedBrowserWarning.d.ts +3 -0
  49. package/dist/auth/LoginWrapper.d.ts +7 -0
  50. package/dist/avatar/Avatar.d.ts +12 -0
  51. package/dist/avatar/AvatarGroup.d.ts +11 -0
  52. package/dist/avatar/AvatarGroupArray.d.ts +8 -0
  53. package/dist/avatar/AvatarGroupSelectedAll.d.ts +9 -0
  54. package/dist/buttons/ActionButton.d.ts +14 -0
  55. package/dist/buttons/ButtonMenu.d.ts +12 -0
  56. package/dist/buttons/CopyButton.d.ts +9 -0
  57. package/dist/buttons/DangerButton.d.ts +2 -0
  58. package/dist/buttons/PayWithPixButton.d.ts +12 -0
  59. package/dist/buttons/ResponsiveSplitButton.d.ts +19 -0
  60. package/dist/buttons/SplitButton.d.ts +19 -0
  61. package/dist/buttons/clickpix/ClickPixButton.d.ts +6 -0
  62. package/dist/buttons/clickpix/DonateClickPixButton.d.ts +6 -0
  63. package/dist/buttons/clickpix/DonateWithClickButton.d.ts +6 -0
  64. package/dist/buttons/getLoadingIconProp.d.ts +3 -0
  65. package/dist/card/Card.d.ts +16 -0
  66. package/dist/card/CardActions.d.ts +8 -0
  67. package/dist/card/CardContent.d.ts +6 -0
  68. package/dist/card/CardCopy.d.ts +6 -0
  69. package/dist/card/CardForm.d.ts +10 -0
  70. package/dist/card/CardList.d.ts +13 -0
  71. package/dist/card/CardRadio.d.ts +1 -0
  72. package/dist/card/CardSelectable.d.ts +13 -0
  73. package/dist/card/CardSkeleton.d.ts +3 -0
  74. package/dist/card/CardStep.d.ts +10 -0
  75. package/dist/card/CardWithIcon.d.ts +9 -0
  76. package/dist/card/CardWithLink.d.ts +9 -0
  77. package/dist/card/CardWithLinkSkeleton.d.ts +3 -0
  78. package/dist/card/basicContext/CardBasicContext.d.ts +35 -0
  79. package/dist/card/cardWithActions/CardFooter.d.ts +3 -0
  80. package/dist/card/cardWithActions/CardHeader.d.ts +6 -0
  81. package/dist/card/cardWithActions/CardWithActions.d.ts +27 -0
  82. package/dist/cardAnalytics/CardAnalytics.d.ts +11 -0
  83. package/dist/cardAnalytics/CardAnalyticsSkeleton.d.ts +3 -0
  84. package/dist/cardGrid/CardField.d.ts +9 -0
  85. package/dist/cardGrid/CardFieldCentered.d.ts +8 -0
  86. package/dist/cardGrid/CardGrid.d.ts +12 -0
  87. package/dist/cardGrid/Grid.d.ts +8 -0
  88. package/dist/cardWithImage/CardWithImage.d.ts +10 -0
  89. package/dist/clickpix/ClickPixButton.d.ts +13 -0
  90. package/dist/clickpix/ClickPixLogo.d.ts +9 -0
  91. package/dist/code/Code.d.ts +8 -0
  92. package/dist/collapsible/Collapse.d.ts +6 -0
  93. package/dist/collapsible/Collapsible.d.ts +59 -0
  94. package/dist/collapsible/CollapsibleActions.d.ts +7 -0
  95. package/dist/collapsible/CollapsibleDetails.d.ts +7 -0
  96. package/dist/collapsible/CollapsibleFillWrapper.d.ts +1 -0
  97. package/dist/collapsible/CollapsibleGroup.d.ts +2 -0
  98. package/dist/collapsible/CollapsibleInfinityActions.d.ts +57 -0
  99. package/dist/collapsible/CollapsiblePanelActions.d.ts +3 -0
  100. package/dist/collapsible/CollapsibleStep.d.ts +17 -0
  101. package/dist/collapsible/CollapsibleStepHeader.d.ts +11 -0
  102. package/dist/collapsible/CollapsibleSummary.d.ts +9 -0
  103. package/dist/collapsible/CollapsibleTree.d.ts +12 -0
  104. package/dist/collapsible/ExpandMoreIcon.d.ts +7 -0
  105. package/dist/collapsible/LeafCollapsible.d.ts +5 -0
  106. package/dist/collapsible/TransparencyCollapsibleWrapper.d.ts +2 -0
  107. package/dist/company/CompanyLogo.d.ts +15 -0
  108. package/dist/content/ActionMargin.d.ts +7 -0
  109. package/dist/content/ActionMarginText.d.ts +2 -0
  110. package/dist/content/Content.d.ts +6 -0
  111. package/dist/content/IntroText.d.ts +6 -0
  112. package/dist/countdown/Countdown.d.ts +9 -0
  113. package/dist/countdown/ShowCounter.d.ts +11 -0
  114. package/dist/countdown/useCountdown.d.ts +2 -0
  115. package/dist/datagrid/DataGrid.d.ts +24 -0
  116. package/dist/datagrid/DataGridDetailContainer.d.ts +6 -0
  117. package/dist/datagrid/DataGridGridToolbarExport.d.ts +3 -0
  118. package/dist/datagrid/DataGridLoading.d.ts +8 -0
  119. package/dist/datagrid/DataGridRow.d.ts +11 -0
  120. package/dist/datagrid/cellTypeBasisToPercentage.d.ts +5 -0
  121. package/dist/datagrid/cellTypeBoolean.d.ts +7 -0
  122. package/dist/datagrid/cellTypeCurrency.d.ts +3 -0
  123. package/dist/datagrid/cellTypeDate.d.ts +3 -0
  124. package/dist/datagrid/cellTypeDatetime.d.ts +3 -0
  125. package/dist/datagrid/cellTypeDatetimeSeconds.d.ts +2 -0
  126. package/dist/datagrid/cellTypeExpand.d.ts +125 -0
  127. package/dist/datagrid/cellTypeLink.d.ts +2 -0
  128. package/dist/datagrid/cellTypePhone.d.ts +2 -0
  129. package/dist/datagrid/cellTypeTag.d.ts +2 -0
  130. package/dist/datagrid/cellTypeTaxID.d.ts +2 -0
  131. package/dist/datagrid/cellTypeTime.d.ts +2 -0
  132. package/dist/datagrid/columnTypes.d.ts +11 -0
  133. package/dist/datagrid/useTableView.d.ts +2 -0
  134. package/dist/datagrid/wrapColumnTypes.d.ts +2 -0
  135. package/dist/device/Phone.d.ts +5 -0
  136. package/dist/dialog/DialogContext.d.ts +17 -0
  137. package/dist/dialog/DialogProvider.d.ts +7 -0
  138. package/dist/dialog/index.d.ts +5 -0
  139. package/dist/dialog/useDialog.d.ts +6 -0
  140. package/dist/drawer/DrawerCard.d.ts +11 -0
  141. package/dist/drawer/DrawerResponsiveWrapper.d.ts +1 -0
  142. package/dist/drawer/swipable/SwipeableDrawer.d.ts +8 -0
  143. package/dist/error/ErrorBoundaryWithRetry.d.ts +26 -0
  144. package/dist/error/ErrorView.d.ts +10 -0
  145. package/dist/file/FileDrop.d.ts +12 -0
  146. package/dist/file/IconButton.d.ts +12 -0
  147. package/dist/file/MaterialIcon.d.ts +13 -0
  148. package/dist/filter/Filter.d.ts +15 -0
  149. package/dist/filter/FilterRelayFormik.d.ts +26 -0
  150. package/dist/filter/FormikFilter.d.ts +10 -0
  151. package/dist/filter/decodeQueryParamsFromLocation.d.ts +2 -0
  152. package/dist/filter/fieldToParamConfigMap.d.ts +3 -0
  153. package/dist/filter/formatFilterValue.d.ts +1 -0
  154. package/dist/filter/formatFilters.d.ts +1 -0
  155. package/dist/filter/isValidDatetime.d.ts +1 -0
  156. package/dist/filter/stringToBoolean.d.ts +1 -0
  157. package/dist/filter/useFilterFormik.d.ts +50 -0
  158. package/dist/form/FieldRow.d.ts +7 -0
  159. package/dist/heading/SectionHeading.d.ts +7 -0
  160. package/dist/helpers/Divider.d.ts +8 -0
  161. package/dist/helpers/HorizontalStack.d.ts +4 -0
  162. package/dist/helpers/HoverPopper.d.ts +10 -0
  163. package/dist/helpers.d.ts +10 -0
  164. package/dist/hooks/useControlledState.d.ts +1 -0
  165. package/dist/hooks/useCopyToClipboard.d.ts +1 -0
  166. package/dist/hooks/usePooling.d.ts +3 -0
  167. package/dist/hooks/useTheme.d.ts +14 -0
  168. package/dist/hooks/useWindowHelpers.d.ts +6 -0
  169. package/dist/icons/AssineOnlineIcon.d.ts +14 -0
  170. package/dist/icons/BotConversaIcon.d.ts +14 -0
  171. package/dist/icons/CheckIconLabel.d.ts +6 -0
  172. package/dist/icons/CheckboxChecked.d.ts +8 -0
  173. package/dist/icons/CheckboxIndeterminate.d.ts +15 -0
  174. package/dist/icons/CheckboxUnchecked.d.ts +15 -0
  175. package/dist/icons/CvvIcon.d.ts +6 -0
  176. package/dist/icons/DownloadIcon.d.ts +8 -0
  177. package/dist/icons/Icon.d.ts +3 -0
  178. package/dist/icons/MetaIcon.d.ts +13 -0
  179. package/dist/icons/N8nIcon.d.ts +13 -0
  180. package/dist/icons/NfeIcon.d.ts +6 -0
  181. package/dist/icons/NuvemshopIcon.d.ts +14 -0
  182. package/dist/icons/RejectIcon.d.ts +3 -0
  183. package/dist/icons/RightTopDiagonalVector.d.ts +5 -0
  184. package/dist/icons/SVG.d.ts +32 -0
  185. package/dist/icons/SearchIcon.d.ts +3 -0
  186. package/dist/icons/SocPanelIcon.d.ts +12 -0
  187. package/dist/icons/SuccessIcon.d.ts +3 -0
  188. package/dist/icons/WabizIcon.d.ts +14 -0
  189. package/dist/icons/WakeIcon.d.ts +14 -0
  190. package/dist/icons/WarningIcon.d.ts +3 -0
  191. package/dist/import/Dropzone.d.ts +2 -0
  192. package/dist/import/DropzoneFile.d.ts +19 -0
  193. package/dist/import/xlsx/Import.d.ts +19 -0
  194. package/dist/import/xlsx/ImportDropzone.d.ts +16 -0
  195. package/dist/import/xlsx/ImportProcessData.d.ts +8 -0
  196. package/dist/import/xlsx/ImportProcessQueue.d.ts +21 -0
  197. package/dist/import/xlsx/ImportStepper.d.ts +24 -0
  198. package/dist/import/xlsx/ImportTable.d.ts +8 -0
  199. package/dist/import/xlsx/ImportUtils.d.ts +89 -0
  200. package/dist/index.cjs +1555 -0
  201. package/dist/index.cjs.LICENSE.txt +35 -0
  202. package/dist/index.d.ts +245 -0
  203. package/dist/index.js +1555 -0
  204. package/dist/index.js.LICENSE.txt +35 -0
  205. package/dist/layoutWrapper/LayoutWrapper.d.ts +8 -0
  206. package/dist/layoutWrapper/LayoutWrapperFluid.d.ts +8 -0
  207. package/dist/link/WooviLink.d.ts +7 -0
  208. package/dist/logo/OpenPixLogoColor.d.ts +7 -0
  209. package/dist/logo/WooviLogo.d.ts +8 -0
  210. package/dist/mui/BoxFlex.d.ts +14 -0
  211. package/dist/mui/Typography.d.ts +8 -0
  212. package/dist/multifactor/MultiFactorConfirmModal.d.ts +26 -0
  213. package/dist/multifactor/MultiFactorPixPaymentMatch.d.ts +7 -0
  214. package/dist/multifactor/MultiFactorPixPaymentMismatch.d.ts +6 -0
  215. package/dist/multifactor/MultiFactorPixPaymentView.d.ts +10 -0
  216. package/dist/openpix/charge/ChargeTagStatus.d.ts +12 -0
  217. package/dist/openpix/cobr/CobrTagStatus.d.ts +6 -0
  218. package/dist/openpix/images/WooviLogoInMobile.d.ts +5 -0
  219. package/dist/openpix/order/CheckIcon.d.ts +3 -0
  220. package/dist/openpix/order/ConfirmedIcon.d.ts +3 -0
  221. package/dist/openpix/order/EarnCashback.d.ts +7 -0
  222. package/dist/openpix/order/EarnCashbackExclusive.d.ts +7 -0
  223. package/dist/openpix/order/PayPixValueCompany.d.ts +8 -0
  224. package/dist/openpix/order/PixPaymentWoovi.d.ts +7 -0
  225. package/dist/openpix/order/discount/EarnDiscount.d.ts +7 -0
  226. package/dist/openpix/paymentLink/AdditionalInfo.d.ts +12 -0
  227. package/dist/openpix/paymentLink/BrCodeInput.d.ts +6 -0
  228. package/dist/openpix/paymentLink/CopyBarcode.d.ts +8 -0
  229. package/dist/openpix/paymentLink/CopyQRCode.d.ts +8 -0
  230. package/dist/openpix/paymentLink/ErrorIcon.d.ts +3 -0
  231. package/dist/openpix/paymentLink/InterestsInfo.d.ts +11 -0
  232. package/dist/openpix/paymentLink/PaymentFooter.d.ts +6 -0
  233. package/dist/openpix/paymentLink/QrCodeShowButton.d.ts +7 -0
  234. package/dist/openpix/paymentLink/QrCodeWrapper.d.ts +8 -0
  235. package/dist/openpix/paymentLink/ShareButton.d.ts +10 -0
  236. package/dist/openpix/paymentLink/types/ChargeDataType.d.ts +99 -0
  237. package/dist/openpix/shopper/WooviAuthForm.d.ts +21 -0
  238. package/dist/openpix/transaction/PixTransactionTypeTag.d.ts +6 -0
  239. package/dist/paymentLinkRow/PaymentLinkRow.d.ts +9 -0
  240. package/dist/pinInput/PinInput.d.ts +62 -0
  241. package/dist/pinInput/PinInputFormik.d.ts +7 -0
  242. package/dist/pinInput/createPinArray.d.ts +1 -0
  243. package/dist/pinInput/pinInputRegex.d.ts +4 -0
  244. package/dist/relay/RefreshButtonRelay.d.ts +8 -0
  245. package/dist/relay/RefreshIconButton.d.ts +6 -0
  246. package/dist/relay/SearchInputRelay.d.ts +17 -0
  247. package/dist/relay/TopPagination.d.ts +10 -0
  248. package/dist/rewardTicket/RewardTicket.d.ts +9 -0
  249. package/dist/ribbon/Ribbon.d.ts +7 -0
  250. package/dist/roles/Roles.d.ts +139 -0
  251. package/dist/roles/modules.d.ts +117 -0
  252. package/dist/root/ContentBoundary.d.ts +5 -0
  253. package/dist/routed/RoutedTabs.d.ts +19 -0
  254. package/dist/routed/TabbedContent.d.ts +7 -0
  255. package/dist/routedTemp/RoutedTabsTempGreen.d.ts +19 -0
  256. package/dist/routedTemp/RoutedTabsTempWhite.d.ts +19 -0
  257. package/dist/router/drawRoutes.d.ts +3 -0
  258. package/dist/router/getFiltersFromLocation.d.ts +3 -0
  259. package/dist/router/getQuery.d.ts +4 -0
  260. package/dist/router/getRouteFromPath.d.ts +11 -0
  261. package/dist/router/stringToValue.d.ts +4 -0
  262. package/dist/router/types.d.ts +48 -0
  263. package/dist/screenHeader/ScreenHeaderUI.d.ts +20 -0
  264. package/dist/screenHeader/components/ScreenHeaderSubtitle.d.ts +2 -0
  265. package/dist/screenHeader/components/ScreenHeaderTitle.d.ts +6 -0
  266. package/dist/screenHeaderCard/ScreenHeaderCard.d.ts +12 -0
  267. package/dist/screenHeaderResponsive/ScreenHeaderUIResponsive.d.ts +14 -0
  268. package/dist/screenHeaderResponsive/components/ScreenHeaderSubtitle.d.ts +2 -0
  269. package/dist/screenHeaderResponsive/components/ScreenHeaderTitle.d.ts +6 -0
  270. package/dist/screenHeaderTemp/ScreenHeaderUITempGreen.d.ts +14 -0
  271. package/dist/screenHeaderTemp/ScreenHeaderUITempWhite.d.ts +14 -0
  272. package/dist/screenHeaderTemp/components/ScreenHeaderSubtitle.d.ts +2 -0
  273. package/dist/screenHeaderTemp/components/ScreenHeaderTitle.d.ts +6 -0
  274. package/dist/search/GlobalSearchField.d.ts +12 -0
  275. package/dist/select/Select.d.ts +6 -0
  276. package/dist/select/SelectAll.d.ts +14 -0
  277. package/dist/shared/AppEnvironmentEnum.d.ts +9 -0
  278. package/dist/shared/CashbackStatus.d.ts +25 -0
  279. package/dist/shared/appEventDomains.d.ts +11 -0
  280. package/dist/shared/appEventTypes.d.ts +26 -0
  281. package/dist/shared/chargeStatusEnum.d.ts +12 -0
  282. package/dist/shared/cobrStatusEnum.d.ts +15 -0
  283. package/dist/shared/getSelected.d.ts +1 -0
  284. package/dist/shared/multiFactorActionEnum.d.ts +6 -0
  285. package/dist/shared/pixAuthenticationResultEnum.d.ts +6 -0
  286. package/dist/shared/pixTransactionEntryTypes.d.ts +11 -0
  287. package/dist/shared/pixTransactionStatus.d.ts +40 -0
  288. package/dist/shared/pixTransactionTypes.d.ts +102 -0
  289. package/dist/shared/projectType.d.ts +10 -0
  290. package/dist/shared/queryString.d.ts +5 -0
  291. package/dist/shared/statementTypes.d.ts +14 -0
  292. package/dist/shared/subscriptionInstallmentEnum.d.ts +7 -0
  293. package/dist/shared/webhookStatus.d.ts +18 -0
  294. package/dist/sidebar/Group.d.ts +11 -0
  295. package/dist/sidebar/Item.d.ts +9 -0
  296. package/dist/sidebar/MenuList.d.ts +16 -0
  297. package/dist/sidebar/Sidebar.d.ts +16 -0
  298. package/dist/sidebar/SidebarContext.d.ts +9 -0
  299. package/dist/sidebar/index.d.ts +6 -0
  300. package/dist/sidebar/useSidebar.d.ts +7 -0
  301. package/dist/sidebar/utils.d.ts +2 -0
  302. package/dist/snackbar/CloseSnack.d.ts +5 -0
  303. package/dist/snackbar/Snackbar.d.ts +6 -0
  304. package/dist/snackbar/SnackbarContext.d.ts +15 -0
  305. package/dist/snackbar/index.d.ts +6 -0
  306. package/dist/snackbar/useSnackbar.d.ts +6 -0
  307. package/dist/statement/TransactionTypeText.d.ts +2 -0
  308. package/dist/statement/ledgerStatementColors.d.ts +8 -0
  309. package/dist/statement/statementColors.d.ts +3 -0
  310. package/dist/stepper/Stepper.d.ts +10 -0
  311. package/dist/swipeableModal/SwipeableModal.d.ts +16 -0
  312. package/dist/swipeableModal/SwipeableModalTransition.d.ts +6 -0
  313. package/dist/table/CardColumn.d.ts +9 -0
  314. package/dist/table/CardListLoading.d.ts +8 -0
  315. package/dist/table/CardListVirtualized.d.ts +20 -0
  316. package/dist/table/ImportReport.d.ts +4 -0
  317. package/dist/table/StatusCell.d.ts +18 -0
  318. package/dist/table/TableToggleViewModel.d.ts +7 -0
  319. package/dist/table/cells/ActionCellNode.d.ts +5 -0
  320. package/dist/table/cells/Cell.d.ts +9 -0
  321. package/dist/table/cells/CellCheckbox.d.ts +17 -0
  322. package/dist/table/cells/CellEditable.d.ts +11 -0
  323. package/dist/table/cells/CheckboxCellNode.d.ts +3 -0
  324. package/dist/table/cells/IconCellNode.d.ts +6 -0
  325. package/dist/table/cells/LinkCellNode.d.ts +3 -0
  326. package/dist/table/cells/RenderCell.d.ts +3 -0
  327. package/dist/table/cells/cellTypes.d.ts +15 -0
  328. package/dist/table/cells/getCellCurrency.d.ts +3 -0
  329. package/dist/table/cells/getCellDate.d.ts +8 -0
  330. package/dist/table/cells/getCellLink.d.ts +3 -0
  331. package/dist/table/cells/getCellValue.d.ts +1 -0
  332. package/dist/table/cells/index.d.ts +1 -0
  333. package/dist/table/emv/TablePixEMV.d.ts +5 -0
  334. package/dist/table/emv/emvParser.d.ts +9 -0
  335. package/dist/table/emv/emvTags.d.ts +10 -0
  336. package/dist/table/muiTable/Body.d.ts +15 -0
  337. package/dist/table/muiTable/Footer.d.ts +9 -0
  338. package/dist/table/muiTable/Header.d.ts +11 -0
  339. package/dist/table/muiTable/Table.d.ts +72 -0
  340. package/dist/table/reactTable/ImportReport.d.ts +4 -0
  341. package/dist/table/reactTable/ImportTable.d.ts +9 -0
  342. package/dist/table/reactTable/IndeterminateCheckbox.d.ts +2 -0
  343. package/dist/table/reactTable/InputCell.d.ts +9 -0
  344. package/dist/table/reactTable/InputDateCell.d.ts +9 -0
  345. package/dist/table/reactTable/InputForCells.d.ts +7 -0
  346. package/dist/table/reactTable/InputMoneyCell.d.ts +9 -0
  347. package/dist/table/reactTable/InputPhoneCell.d.ts +9 -0
  348. package/dist/table/reactTable/InputTaxIDCell.d.ts +9 -0
  349. package/dist/table/reactTable/RowTable.d.ts +6 -0
  350. package/dist/table/reactTable/StatusCell.d.ts +18 -0
  351. package/dist/table/reactTable/Table.d.ts +9 -0
  352. package/dist/table/reactTable/TableBodyVirtualized.d.ts +7 -0
  353. package/dist/table/reactTable/TableCell.d.ts +8 -0
  354. package/dist/table/reactTable/TableHeadVirtualized.d.ts +4 -0
  355. package/dist/table/reactTable/TableVirtualized.d.ts +8 -0
  356. package/dist/tag/Tag.d.ts +11 -0
  357. package/dist/tag/TagsContainer.d.ts +5 -0
  358. package/dist/term/Terms.d.ts +1 -0
  359. package/dist/term/TermsLink.d.ts +1 -0
  360. package/dist/term/TermsModal.d.ts +13 -0
  361. package/dist/term/useTerms.d.ts +5 -0
  362. package/dist/text/TextMultiline.d.ts +6 -0
  363. package/dist/theme/HeaderButtonTheme.d.ts +2 -0
  364. package/dist/theme/Themes.d.ts +42 -0
  365. package/dist/timeline/Timeline.d.ts +6 -0
  366. package/dist/timeline/TimelineAppEventDomainIcon.d.ts +3 -0
  367. package/dist/timeline/TimelineAppEventItem.d.ts +10 -0
  368. package/dist/timeline/TimelineAppEventTypeColor.d.ts +3 -0
  369. package/dist/timeline/TimelineItem.d.ts +12 -0
  370. package/dist/unSupportedBrowser/UnsupportedBrowserWarning.d.ts +3 -0
  371. package/dist/unSupportedBrowser/index.d.ts +2 -0
  372. package/dist/unSupportedBrowser/isUnSupportedBrowser.d.ts +4 -0
  373. package/dist/user/chip/UserChip.d.ts +7 -0
  374. package/dist/utils/BrowserOnly.d.ts +7 -0
  375. package/dist/utils/ChargeInterestsTypes.d.ts +11 -0
  376. package/dist/utils/DesktopOnly.d.ts +6 -0
  377. package/dist/utils/MaskUtils.d.ts +5 -0
  378. package/dist/utils/MobileOnly.d.ts +6 -0
  379. package/dist/utils/composeEventHandlers.d.ts +4 -0
  380. package/dist/utils/composeStyles.d.ts +2 -0
  381. package/dist/utils/convertToCents.d.ts +3 -0
  382. package/dist/utils/convertToCurrency.d.ts +1 -0
  383. package/dist/utils/convertToMoney.d.ts +2 -0
  384. package/dist/utils/copyToClipboard.d.ts +1 -0
  385. package/dist/utils/dates.d.ts +17 -0
  386. package/dist/utils/excel/ChargeImport.d.ts +16 -0
  387. package/dist/utils/excel/CompanyImport.d.ts +4 -0
  388. package/dist/utils/excel/CustomerImport.d.ts +13 -0
  389. package/dist/utils/excel/ImportHelpers.d.ts +3 -0
  390. package/dist/utils/excel/PaymentImport.d.ts +7 -0
  391. package/dist/utils/excel/UserImport.d.ts +30 -0
  392. package/dist/utils/excel/formatCells.d.ts +2 -0
  393. package/dist/utils/excel/generateExcel.d.ts +44 -0
  394. package/dist/utils/excel/getCellsWithDataTypes.d.ts +7 -0
  395. package/dist/utils/isSafeCNPJ.d.ts +7 -0
  396. package/dist/utils/isSafeCPF.d.ts +6 -0
  397. package/dist/utils/isSafeUtils.d.ts +1 -0
  398. package/dist/utils/maskMoney.d.ts +2 -0
  399. package/dist/utils/onlyDigits.d.ts +1 -0
  400. package/dist/utils/parseNumber.d.ts +3 -0
  401. package/dist/utils/parsePhoneNumber.d.ts +1 -0
  402. package/dist/windowPopper/WindowPopper.d.ts +16 -0
  403. package/dist/windowPopper/WindowPopperTransition.d.ts +6 -0
  404. package/package.json +145 -0
@@ -0,0 +1,2 @@
1
+ declare const _default: import("styled-components").StyledComponent<"span", any, {}, never>;
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ children: ReactNode;
4
+ };
5
+ declare const _default: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ children: ReactNode;
4
+ };
5
+ declare const _default: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { type SxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ type CountdownProps = {
4
+ targetDate: string;
5
+ fallback?: ReactNode;
6
+ sx?: SxProps;
7
+ };
8
+ export declare const Countdown: ({ targetDate, fallback, sx }: CountdownProps) => ReactNode;
9
+ export default Countdown;
@@ -0,0 +1,11 @@
1
+ import { type SxProps } from '@mui/material';
2
+ import type { ReactNode } from 'react';
3
+ type ShowCounterProps = {
4
+ days: number;
5
+ hours: number;
6
+ minutes: number;
7
+ seconds: number;
8
+ sx?: SxProps;
9
+ };
10
+ export declare const ShowCounter: ({ days, hours, minutes, seconds, sx, }: ShowCounterProps) => ReactNode;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const useCountdown: (targetDate: string | Date) => number[];
2
+ export { useCountdown };
@@ -0,0 +1,24 @@
1
+ import type { GridExperimentalProFeatures, DataGridProProps as MUIDataGridProProps } from "@mui/x-data-grid-pro";
2
+ import type { ReactNode } from "react";
3
+ export declare const GridDensityTypes: {
4
+ readonly Compact: "compact";
5
+ readonly Standard: "standard";
6
+ readonly Comfortable: "comfortable";
7
+ };
8
+ export type GridDensityTypes = (typeof GridDensityTypes)[keyof typeof GridDensityTypes];
9
+ export type DataGridProps = MUIDataGridProProps & {
10
+ maxLines?: number;
11
+ rowHref?: string;
12
+ tableName?: string;
13
+ disableSelectAllCheckbox?: boolean;
14
+ experimentalFeatures?: GridExperimentalProFeatures & {
15
+ rowAnchor?: boolean;
16
+ zebraRow?: boolean;
17
+ persistState?: boolean;
18
+ exportTable?: boolean;
19
+ };
20
+ exportBeta?: boolean;
21
+ getCustomRoute?: (id: string) => string;
22
+ };
23
+ declare const DataGrid: ({ columns: _columns, rows, onRowClick, maxLines, rowHref, experimentalFeatures, exportBeta, initialState, getCustomRoute, ...rest }: DataGridProps) => ReactNode;
24
+ export default DataGrid;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ type DataGridDetailContainerProps = {
3
+ children?: React.ReactNode;
4
+ };
5
+ export declare const DataGridDetailContainer: ({ children, }: DataGridDetailContainerProps) => ReactNode;
6
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { GridToolbarContainerProps } from '@mui/x-data-grid-pro';
2
+ import type { ReactNode } from 'react';
3
+ export declare const DataGridToolbarExport: (props: GridToolbarContainerProps) => ReactNode;
@@ -0,0 +1,8 @@
1
+ import type { DataGridProProps } from '@mui/x-data-grid-pro';
2
+ import type { ReactNode } from 'react';
3
+ type DataGridLoadingProps = {
4
+ size?: number;
5
+ columns: DataGridProProps['columns'];
6
+ };
7
+ export declare const DataGridLoading: ({ size, ...rest }: DataGridLoadingProps) => ReactNode;
8
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { ReactNode } from 'react';
2
+ export type DataGridRowProps = {
3
+ href: (row: Record<string, unknown>) => string;
4
+ };
5
+ /**
6
+ * A custom implementation of the GridRow component focusing in anchored rows.
7
+ *
8
+ * See the default implementation [here](https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/components/GridRow.tsx).
9
+ */
10
+ declare const DataGridRow: (props: DataGridRowProps) => ReactNode;
11
+ export default DataGridRow;
@@ -0,0 +1,5 @@
1
+ import type { GridColTypeDef } from '@mui/x-data-grid-pro';
2
+ export declare const defaultThousandSeparator = ".";
3
+ export declare const defaultDecimalSeparator = ",";
4
+ export declare const parseNumber: (num: string | number | null, options?: {}) => number | null;
5
+ export declare const cellTypeBasisToPercentage: GridColTypeDef;
@@ -0,0 +1,7 @@
1
+ import type { GridColTypeDef } from '@mui/x-data-grid-pro';
2
+ export type CellTypeBooleanProps = {
3
+ value?: boolean;
4
+ };
5
+ export declare const CellTypeBoolean: ({ value }: CellTypeBooleanProps) => string;
6
+ export declare const cellTypeBoolean: GridColTypeDef;
7
+ export declare const GRID_BOOLEAN_CUSTOM_COL_DEF: GridColTypeDef;
@@ -0,0 +1,3 @@
1
+ import type { GridColTypeDef } from "@mui/x-data-grid-pro";
2
+ export declare const cellTypeCurrency: GridColTypeDef;
3
+ export declare const GRID_CURRENCY_CUSTOM_COL_DEF: GridColTypeDef;
@@ -0,0 +1,3 @@
1
+ import type { GridColTypeDef } from '@mui/x-data-grid-pro';
2
+ export declare const cellTypeDate: GridColTypeDef;
3
+ export declare const GRID_DATE_CUSTOM_COL_DEF: GridColTypeDef;
@@ -0,0 +1,3 @@
1
+ import type { GridColTypeDef } from '@mui/x-data-grid-pro';
2
+ export declare const cellTypeDatetime: GridColTypeDef;
3
+ export declare const GRID_DATETIME_CUSTOM_COL_DEF: GridColTypeDef;
@@ -0,0 +1,2 @@
1
+ import type { GridColTypeDef } from '@mui/x-data-grid-pro';
2
+ export declare const cellTypeDatetimeSeconds: GridColTypeDef;
@@ -0,0 +1,125 @@
1
+ import type { GridAlignment, GridRenderCellParams, GridValidRowModel } from '@mui/x-data-grid-pro';
2
+ import React from 'react';
3
+ import type { ReactNode } from 'react';
4
+ export declare const cellTypeExpand: <T extends GridValidRowModel>(renderExpand?: (<T_1 extends GridValidRowModel>(params: GridRenderCellParams<unknown, T_1, unknown, import("@mui/x-data-grid").GridTreeNodeWithRender>) => boolean) | undefined) => {
5
+ field: string;
6
+ headerName?: string | undefined;
7
+ description?: string | undefined;
8
+ width?: number | undefined;
9
+ flex?: number | undefined;
10
+ minWidth?: number | undefined;
11
+ maxWidth?: number | undefined;
12
+ hideable?: boolean | undefined;
13
+ sortable?: boolean | undefined;
14
+ sortingOrder?: import("@mui/x-data-grid").GridSortDirection[] | undefined;
15
+ resizable?: boolean | undefined;
16
+ editable?: boolean | undefined;
17
+ groupable?: boolean | undefined;
18
+ pinnable?: boolean | undefined;
19
+ sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
20
+ valueGetter?: ((params: import("@mui/x-data-grid").GridValueGetterParams<any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => any) | undefined;
21
+ valueSetter?: ((params: import("@mui/x-data-grid").GridValueSetterParams<any, any>) => any) | undefined;
22
+ valueFormatter?: ((params: import("@mui/x-data-grid").GridValueFormatterParams<any>) => any) | undefined;
23
+ valueParser?: ((value: any, params?: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode> | undefined) => any) | undefined;
24
+ cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
25
+ renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => ReactNode) | undefined;
26
+ preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps<any, any>) => import("@mui/x-data-grid").GridEditCellProps<any> | Promise<import("@mui/x-data-grid").GridEditCellProps<any>>) | undefined;
27
+ headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType | undefined;
28
+ renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => ReactNode) | undefined;
29
+ headerAlign?: GridAlignment | undefined;
30
+ hideSortIcons?: boolean | undefined;
31
+ disableColumnMenu?: boolean | undefined;
32
+ filterable?: boolean | undefined;
33
+ filterOperators?: import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
34
+ getApplyQuickFilterFn?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnLegacy<any, any, any> | undefined;
35
+ getApplyQuickFilterFnV7?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnV7<any, any> | undefined;
36
+ disableReorder?: boolean | undefined;
37
+ disableExport?: boolean | undefined;
38
+ colSpan?: number | ((params: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode>) => number | undefined) | undefined;
39
+ type: "actions";
40
+ getActions: (params: import("@mui/x-data-grid").GridRowParams<any>) => React.ReactElement<import("@mui/x-data-grid").GridActionsCellItemProps, string | React.JSXElementConstructor<any>>[];
41
+ renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridHeaderFilterCellProps) => ReactNode) | undefined;
42
+ align: GridAlignment;
43
+ renderCell: (params: GridRenderCellParams<unknown, T, unknown, import("@mui/x-data-grid").GridTreeNodeWithRender>) => import("react/jsx-runtime").JSX.Element;
44
+ } | {
45
+ field: string;
46
+ headerName?: string | undefined;
47
+ description?: string | undefined;
48
+ width?: number | undefined;
49
+ flex?: number | undefined;
50
+ minWidth?: number | undefined;
51
+ maxWidth?: number | undefined;
52
+ hideable?: boolean | undefined;
53
+ sortable?: boolean | undefined;
54
+ sortingOrder?: import("@mui/x-data-grid").GridSortDirection[] | undefined;
55
+ resizable?: boolean | undefined;
56
+ editable?: boolean | undefined;
57
+ groupable?: boolean | undefined;
58
+ pinnable?: boolean | undefined;
59
+ sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
60
+ type?: import("@mui/x-data-grid").GridColType | undefined;
61
+ valueGetter?: ((params: import("@mui/x-data-grid").GridValueGetterParams<any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => any) | undefined;
62
+ valueSetter?: ((params: import("@mui/x-data-grid").GridValueSetterParams<any, any>) => any) | undefined;
63
+ valueFormatter?: ((params: import("@mui/x-data-grid").GridValueFormatterParams<any>) => any) | undefined;
64
+ valueParser?: ((value: any, params?: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode> | undefined) => any) | undefined;
65
+ cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
66
+ renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => ReactNode) | undefined;
67
+ preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps<any, any>) => import("@mui/x-data-grid").GridEditCellProps<any> | Promise<import("@mui/x-data-grid").GridEditCellProps<any>>) | undefined;
68
+ headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType | undefined;
69
+ renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => ReactNode) | undefined;
70
+ headerAlign?: GridAlignment | undefined;
71
+ hideSortIcons?: boolean | undefined;
72
+ disableColumnMenu?: boolean | undefined;
73
+ filterable?: boolean | undefined;
74
+ filterOperators?: import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
75
+ getApplyQuickFilterFn?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnLegacy<any, any, any> | undefined;
76
+ getApplyQuickFilterFnV7?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnV7<any, any> | undefined;
77
+ disableReorder?: boolean | undefined;
78
+ disableExport?: boolean | undefined;
79
+ colSpan?: number | ((params: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode>) => number | undefined) | undefined;
80
+ renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridHeaderFilterCellProps) => ReactNode) | undefined;
81
+ align: GridAlignment;
82
+ renderCell: (params: GridRenderCellParams<unknown, T, unknown, import("@mui/x-data-grid").GridTreeNodeWithRender>) => import("react/jsx-runtime").JSX.Element;
83
+ } | {
84
+ field: string;
85
+ headerName?: string | undefined;
86
+ description?: string | undefined;
87
+ width?: number | undefined;
88
+ flex?: number | undefined;
89
+ minWidth?: number | undefined;
90
+ maxWidth?: number | undefined;
91
+ hideable?: boolean | undefined;
92
+ sortable?: boolean | undefined;
93
+ sortingOrder?: import("@mui/x-data-grid").GridSortDirection[] | undefined;
94
+ resizable?: boolean | undefined;
95
+ editable?: boolean | undefined;
96
+ groupable?: boolean | undefined;
97
+ pinnable?: boolean | undefined;
98
+ sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
99
+ valueGetter?: ((params: import("@mui/x-data-grid").GridValueGetterParams<any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => any) | undefined;
100
+ valueSetter?: ((params: import("@mui/x-data-grid").GridValueSetterParams<any, any>) => any) | undefined;
101
+ valueFormatter?: ((params: import("@mui/x-data-grid").GridValueFormatterParams<any>) => any) | undefined;
102
+ valueParser?: ((value: any, params?: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode> | undefined) => any) | undefined;
103
+ cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
104
+ renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => ReactNode) | undefined;
105
+ preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps<any, any>) => import("@mui/x-data-grid").GridEditCellProps<any> | Promise<import("@mui/x-data-grid").GridEditCellProps<any>>) | undefined;
106
+ headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType | undefined;
107
+ renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => ReactNode) | undefined;
108
+ headerAlign?: GridAlignment | undefined;
109
+ hideSortIcons?: boolean | undefined;
110
+ disableColumnMenu?: boolean | undefined;
111
+ filterable?: boolean | undefined;
112
+ filterOperators?: import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
113
+ getApplyQuickFilterFn?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnLegacy<any, any, any> | undefined;
114
+ getApplyQuickFilterFnV7?: import("@mui/x-data-grid/models/colDef/gridColDef").GetApplyQuickFilterFnV7<any, any> | undefined;
115
+ disableReorder?: boolean | undefined;
116
+ disableExport?: boolean | undefined;
117
+ colSpan?: number | ((params: import("@mui/x-data-grid").GridCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNode>) => number | undefined) | undefined;
118
+ type: "singleSelect";
119
+ valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => import("@mui/x-data-grid").ValueOptions[]) | undefined;
120
+ getOptionLabel?: ((value: import("@mui/x-data-grid").ValueOptions) => string) | undefined;
121
+ getOptionValue?: ((value: import("@mui/x-data-grid").ValueOptions) => any) | undefined;
122
+ renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridHeaderFilterCellProps) => ReactNode) | undefined;
123
+ align: GridAlignment;
124
+ renderCell: (params: GridRenderCellParams<unknown, T, unknown, import("@mui/x-data-grid").GridTreeNodeWithRender>) => import("react/jsx-runtime").JSX.Element;
125
+ };
@@ -0,0 +1,2 @@
1
+ import type { GridColTypeDef, GridValidRowModel, GridValueGetterParams } from '@mui/x-data-grid-pro';
2
+ export declare const cellTypeLink: <R extends GridValidRowModel>(getLink: (link: GridValueGetterParams<R, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => string) => GridColTypeDef<unknown, R>;
@@ -0,0 +1,2 @@
1
+ import type { GridColTypeDef } from "@mui/x-data-grid-pro";
2
+ export declare const cellTypePhone: GridColTypeDef;
@@ -0,0 +1,2 @@
1
+ import type { GridColTypeDef, GridValidRowModel } from '@mui/x-data-grid-pro';
2
+ export declare const cellTypeTag: <R extends GridValidRowModel>(onClick?: ((tag: string) => unknown) | undefined, breakByColon?: boolean) => GridColTypeDef<unknown, R>;
@@ -0,0 +1,2 @@
1
+ import type { GridColTypeDef } from '@mui/x-data-grid-pro';
2
+ export declare const cellTypeTaxID: GridColTypeDef;
@@ -0,0 +1,2 @@
1
+ import type { GridColTypeDef } from '@mui/x-data-grid-pro';
2
+ export declare const cellTypeTime: GridColTypeDef;
@@ -0,0 +1,11 @@
1
+ export declare const columnTypes: {
2
+ boolean: import("@mui/x-data-grid").GridColTypeDef;
3
+ currency: import("@mui/x-data-grid").GridColTypeDef;
4
+ dateAny: import("@mui/x-data-grid").GridColTypeDef;
5
+ datetime: import("@mui/x-data-grid").GridColTypeDef;
6
+ datetimeSeconds: import("@mui/x-data-grid").GridColTypeDef;
7
+ phone: import("@mui/x-data-grid").GridColTypeDef;
8
+ tag: import("@mui/x-data-grid").GridColTypeDef<unknown, import("@mui/x-data-grid").GridValidRowModel>;
9
+ taxID: import("@mui/x-data-grid").GridColTypeDef;
10
+ time: import("@mui/x-data-grid").GridColTypeDef;
11
+ };
@@ -0,0 +1,2 @@
1
+ import { type Dispatch, type SetStateAction } from "react";
2
+ export declare const useTableView: () => ["CARD_VIEW_MODEL" | "TABLE_VIEW_MODEL", Dispatch<SetStateAction<"CARD_VIEW_MODEL" | "TABLE_VIEW_MODEL">>];
@@ -0,0 +1,2 @@
1
+ import type { GridColDef } from '@mui/x-data-grid-pro';
2
+ export declare const wrapColumnTypes: (columns: readonly GridColDef[]) => any[];
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ children?: React.ReactNode;
3
+ }
4
+ declare const Phone: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
5
+ export default Phone;
@@ -0,0 +1,17 @@
1
+ import type { DialogProps } from '@mui/material/Dialog';
2
+ export type ShowDialogArgs = {
3
+ onClose?: () => void;
4
+ title: string;
5
+ message?: string | React.ReactNode | (() => string);
6
+ action?: React.ReactNode[];
7
+ onContinue?: () => void;
8
+ } & Partial<DialogProps>;
9
+ export type DialogContextProps = {
10
+ showDialog: (args: ShowDialogArgs) => void;
11
+ hideDialog: () => void;
12
+ };
13
+ declare const DialogContext: import("react").Context<{
14
+ showDialog: (args: ShowDialogArgs) => void;
15
+ hideDialog: () => void;
16
+ }>;
17
+ export default DialogContext;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare const useDefinedState: (initialState: any) => any[];
6
+ declare const DialogProvider: ({ children }: Props) => ReactNode;
7
+ export default DialogProvider;
@@ -0,0 +1,5 @@
1
+ import type { DialogContextProps, ShowDialogArgs } from './DialogContext.tsx';
2
+ import DialogProvider from './DialogProvider.tsx';
3
+ import useDialog from './useDialog.tsx';
4
+ export { DialogProvider, useDialog };
5
+ export type { ShowDialogArgs, DialogContextProps };
@@ -0,0 +1,6 @@
1
+ declare const useDialog: () => {
2
+ showDialog: (args: import("../index.ts").ShowDialogArgs) => void;
3
+ hideDialog: () => void;
4
+ };
5
+ export { useDialog };
6
+ export default useDialog;
@@ -0,0 +1,11 @@
1
+ import type { ReactNode } from 'react';
2
+ export type DrawerCardProps = {
3
+ children: ReactNode;
4
+ onClickSelect?: (e: Event) => void;
5
+ selected?: boolean;
6
+ selectOnLeft?: boolean;
7
+ disabled?: boolean;
8
+ testId?: string;
9
+ };
10
+ declare const DrawerCard: ({ children, selectOnLeft, onClickSelect, selected, disabled, testId, }: DrawerCardProps) => ReactNode;
11
+ export default DrawerCard;
@@ -0,0 +1 @@
1
+ export declare const DrawerResponsiveWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,8 @@
1
+ import type { SwipeableDrawerProps as _SwipeableDrawerProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ export type SwipeableDrawerProps = {
4
+ children: ReactNode;
5
+ handleDrawer: () => void;
6
+ } & _SwipeableDrawerProps;
7
+ declare const SwipeableDrawer: ({ anchor, children, handleDrawer, ...props }: SwipeableDrawerProps) => ReactNode;
8
+ export default SwipeableDrawer;
@@ -0,0 +1,26 @@
1
+ import type { ErrorInfo, ReactNode } from "react";
2
+ import { Component } from "react";
3
+ type RetryFn = () => void;
4
+ type Props = {
5
+ children: ReactNode | (({ fetchKey }: {
6
+ fetchKey: number;
7
+ }) => ReactNode);
8
+ fallback?: (error: string | null, retry: RetryFn) => ReactNode | ReactNode;
9
+ };
10
+ type State = {
11
+ error: string | null;
12
+ fetchKey: number;
13
+ };
14
+ declare class ErrorBoundaryWithRetry extends Component<Props, State> {
15
+ state: {
16
+ error: null;
17
+ fetchKey: number;
18
+ };
19
+ static getDerivedStateFromError(error: Error): {
20
+ error: Error;
21
+ };
22
+ componentDidCatch(error: Error, { componentStack }: ErrorInfo): void;
23
+ _retry: () => void;
24
+ render(): void | string | number | boolean | Iterable<ReactNode> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
25
+ }
26
+ export default ErrorBoundaryWithRetry;
@@ -0,0 +1,10 @@
1
+ import { type ReactNode } from 'react';
2
+ type Props = {
3
+ error: string;
4
+ retry?: () => void;
5
+ };
6
+ declare const ErrorView: ({ error, retry }: Props) => ReactNode;
7
+ export declare const ErrorViewBoundary: ({ children }: {
8
+ children: any;
9
+ }) => ReactNode;
10
+ export default ErrorView;
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { DropEvent } from 'react-dropzone';
3
+ type Props = {
4
+ onDrop?(acceptedFiles: File[], rejectedFiles: File[], event: DropEvent): void;
5
+ onFileDialogCancel?(): void;
6
+ onRemoveFile: () => void | null;
7
+ isLoading: boolean;
8
+ url: string;
9
+ children: (open: () => void) => React.ReactNode;
10
+ };
11
+ declare const FileDrop: ({ onDrop, onFileDialogCancel, isLoading, children, url, onRemoveFile, }: Props) => ReactNode;
12
+ export default FileDrop;
@@ -0,0 +1,12 @@
1
+ type Props = {
2
+ children: ReactNode;
3
+ background?: string;
4
+ color?: string;
5
+ };
6
+ declare function IconButton(props: Props): import("react/jsx-runtime").JSX.Element;
7
+ declare namespace IconButton {
8
+ var defaultProps: {
9
+ background: string;
10
+ };
11
+ }
12
+ export default IconButton;
@@ -0,0 +1,13 @@
1
+ type Props = {
2
+ children: React.ReactNode;
3
+ className?: string;
4
+ };
5
+ declare function MaterialIcon(props: Props): import("react/jsx-runtime").JSX.Element;
6
+ declare namespace MaterialIcon {
7
+ var defaultProps: {
8
+ color: string;
9
+ fontSize: number;
10
+ padding: string;
11
+ };
12
+ }
13
+ export default MaterialIcon;
@@ -0,0 +1,15 @@
1
+ import type { DrawerProps } from "@mui/material/Drawer";
2
+ import type { ReactNode } from "react";
3
+ export { getFiltersFromLocation } from "../router/getFiltersFromLocation";
4
+ type Props = {
5
+ children: React.ReactNode;
6
+ isOpen: boolean;
7
+ onRequestClose: () => void;
8
+ onClear: () => void;
9
+ onApply: () => void;
10
+ filtersTitle?: string | null;
11
+ showFooterButtons?: boolean;
12
+ sx: DrawerProps["sx"];
13
+ };
14
+ declare const Filter: ({ children, isOpen, onRequestClose, onClear, onApply, filtersTitle, showFooterButtons, sx, }: Props) => ReactNode;
15
+ export default Filter;
@@ -0,0 +1,26 @@
1
+ import type { ComponentType, ReactNode } from 'react';
2
+ import type { RelayRefetchProp } from 'react-relay';
3
+ export type FilterItem = {
4
+ field: string | string[];
5
+ type: string;
6
+ component: ReactNode | ComponentType<any>;
7
+ props: Record<string, unknown>;
8
+ };
9
+ export type FilterRelayFormikProps = {
10
+ filters: FilterItem[];
11
+ isOpen: boolean;
12
+ onCloseFilter: () => void;
13
+ useQueryString?: boolean;
14
+ updateFilter: (filters: Record<string, unknown>) => void;
15
+ stateFilters: Record<string, unknown>;
16
+ getFragmentVariables: (resetFilter?: boolean) => object;
17
+ filterProp?: string;
18
+ useDecodeEncode?: boolean;
19
+ filtersTitle?: string | null;
20
+ shouldUpdateFilter: string | null;
21
+ setShouldUpdateFilter: () => null;
22
+ refetch: RelayRefetchProp['refetch'];
23
+ handleLoading: (state: boolean, callback?: () => void) => void;
24
+ };
25
+ declare const FilterRelayFormik: (props: FilterRelayFormikProps) => ReactNode;
26
+ export default FilterRelayFormik;
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ isOpen: boolean;
4
+ resetFilters: () => void;
5
+ filters: Record<string, unknown>[];
6
+ onCloseFilter: () => void;
7
+ renderFilterInput: (filter: Record<string, unknown>, index: number) => void;
8
+ };
9
+ declare const FormikFilter: (props: Props) => ReactNode;
10
+ export default FormikFilter;
@@ -0,0 +1,2 @@
1
+ import type { FieldParam } from "./useFilterFormik.tsx";
2
+ export declare const decodeQueryParamsFromLocation: (location: any, fields: FieldParam<any>) => import("serialize-query-params").DecodedValueMap<import("serialize-query-params").QueryParamConfigMap>;
@@ -0,0 +1,3 @@
1
+ import { type QueryParamConfigMap } from 'serialize-query-params';
2
+ import type { FieldParam } from './useFilterFormik.tsx';
3
+ export declare const fieldsToParamConfigMap: (fields: FieldParam[]) => QueryParamConfigMap;
@@ -0,0 +1 @@
1
+ export declare const formatFilterValue: (value: string | Record<string, any>, key?: string | undefined) => any;
@@ -0,0 +1 @@
1
+ export declare const formatFilters: (values: Record<string, any>) => {};
@@ -0,0 +1 @@
1
+ export declare const isValidDatetime: (datetime: string | null) => "" | boolean | null;
@@ -0,0 +1 @@
1
+ export declare const stringToBoolean: (value: string) => string | boolean;
@@ -0,0 +1,50 @@
1
+ import { type FormikProps } from "formik";
2
+ import { type FC, type ReactNode } from "react";
3
+ import type { RelayRefetchProp } from "react-relay";
4
+ /**
5
+ * Based on https://github.com/pbeshai/serialize-query-params
6
+ * Configuration for a query param specifying how to encode it
7
+ * (convert it to a string) and decode it (convert it from a string
8
+ * back to its native type)
9
+ *
10
+ * D = type to be encoded
11
+ * D2 = type from decode (typically = D)
12
+ */
13
+ export type FieldParam<D = unknown, D2 = D> = {
14
+ key: string;
15
+ field: string;
16
+ component: FC;
17
+ props?: Record<string, unknown>;
18
+ getProps?: (props: Record<string, unknown>) => Record<string, unknown>;
19
+ encode?: (value: D) => string | string[] | undefined;
20
+ decode?: (value: string | string[]) => D2;
21
+ equals?: (valueA: D | D2, valueB: D | D2) => boolean;
22
+ };
23
+ export type FilterSectionParam = {
24
+ section: string;
25
+ fields: FieldParam[];
26
+ };
27
+ export type FilterParam = FilterSectionParam | FieldParam;
28
+ type Props = {
29
+ isOpen: boolean;
30
+ onCloseFilter: () => void;
31
+ useQueryString: boolean;
32
+ updateFilter: (filters: Record<string, unknown>) => void;
33
+ stateFilters: Record<string, unknown>;
34
+ getFragmentVariables: (resetFilter?: boolean) => Record<string, unknown>;
35
+ filterProp?: string;
36
+ handleLoading?: (state: boolean, callback?: () => void) => void;
37
+ refetch: RelayRefetchProp["refetch"];
38
+ filters: FilterParam[];
39
+ useDecodeEncode?: boolean;
40
+ shouldUpdateFilter: string | null;
41
+ setShouldUpdateFilter: () => null;
42
+ filtersProps?: Record<string, unknown>;
43
+ };
44
+ type UseFilterFormikReturn = {
45
+ formikbag: FormikProps<unknown>;
46
+ resetFilters: () => void;
47
+ renderFilterInput: (filter: FieldParam, index: number) => ReactNode;
48
+ };
49
+ export declare const useFilterFormik: (props: Props) => UseFilterFormikReturn;
50
+ export default useFilterFormik;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ export type FieldRowProps = {
3
+ children: ReactNode;
4
+ forceRow?: boolean;
5
+ };
6
+ declare const FieldRow: ({ children, forceRow }: FieldRowProps) => ReactNode;
7
+ export default FieldRow;
@@ -0,0 +1,7 @@
1
+ import { type ReactNode } from 'react';
2
+ type Props = {
3
+ title: string;
4
+ subTitle?: ReactNode;
5
+ };
6
+ declare const SectionHeading: ({ title, subTitle }: Props) => ReactNode;
7
+ export default SectionHeading;
@@ -0,0 +1,8 @@
1
+ import type { BoxProps } from '@mui/material/Box';
2
+ import type { ComponentType } from 'react';
3
+ type OwnProps = {
4
+ opacity: number;
5
+ };
6
+ type Props = BoxProps & OwnProps;
7
+ declare const Divider: import("styled-components").StyledComponent<ComponentType<Props>, any, never, never>;
8
+ export default Divider;