@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,35 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*!
8
+ * EMVCO Parser
9
+ *
10
+ * Refs:
11
+ * - https://github.com/apemon/promptpay-emv-parser
12
+ * - https://www.blognone.com/node/95133
13
+ * - https://www.emvco.com/emv-technologies/qrcodes/
14
+ * - https://github.com/dtinth/promptpay-qr
15
+ * - https://github.com/mhdnamvar/node-emv.git
16
+ *
17
+ */
18
+
19
+ /** @license React v16.13.1
20
+ * react-is.development.js
21
+ *
22
+ * Copyright (c) Facebook, Inc. and its affiliates.
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */
27
+
28
+ /** @license React v16.13.1
29
+ * react-is.production.min.js
30
+ *
31
+ * Copyright (c) Facebook, Inc. and its affiliates.
32
+ *
33
+ * This source code is licensed under the MIT license found in the
34
+ * LICENSE file in the root directory of this source tree.
35
+ */
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ children: ReactNode;
4
+ header: ReactNode;
5
+ sidebar: ReactNode;
6
+ };
7
+ declare const LayoutWrapper: ({ header, sidebar, children }: Props) => ReactNode;
8
+ export default LayoutWrapper;
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ children: ReactNode;
4
+ header: ReactNode;
5
+ sidebar: ReactNode;
6
+ };
7
+ declare const LayoutWrapperFluid: ({ header, sidebar, children, }: Props) => ReactNode;
8
+ export default LayoutWrapperFluid;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ type WooviLinkProps = {
3
+ children: ReactNode;
4
+ to: string;
5
+ };
6
+ export declare const WooviLink: ({ children, to, ...rest }: WooviLinkProps) => ReactNode;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ width?: string;
3
+ height?: string;
4
+ showText?: boolean;
5
+ };
6
+ declare const _default: ({ width, height, showText }: Props) => import("react/jsx-runtime").JSX.Element;
7
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ width?: string;
4
+ height?: string;
5
+ color?: string;
6
+ };
7
+ declare const WooviLogo: ({ width, height, color, }: Props) => ReactNode;
8
+ export default WooviLogo;
@@ -0,0 +1,14 @@
1
+ import type { BoxProps } from '@mui/material';
2
+ import type { ReactNode } from 'react';
3
+ type MuiFlexProps = {
4
+ children: ReactNode;
5
+ tabIndex?: number;
6
+ sx?: BoxProps['sx'];
7
+ 'data-testid'?: string;
8
+ };
9
+ /**
10
+ * @deprecated This component is deprecated.
11
+ * Please use MUI's Stack component instead.
12
+ */
13
+ declare const BoxFlex: import("react").ForwardRefExoticComponent<MuiFlexProps & import("react").RefAttributes<unknown>>;
14
+ export default BoxFlex;
@@ -0,0 +1,8 @@
1
+ import type { SxProps } from '@mui/material';
2
+ import type { TypographyProps } from '@mui/material/Typography/Typography';
3
+ import type { ReactNode } from 'react';
4
+ type TypographyPropsUI = TypographyProps & {
5
+ sx?: SxProps;
6
+ };
7
+ declare const Typography: ({ variant, children, color, ...props }: TypographyPropsUI) => ReactNode;
8
+ export default Typography;
@@ -0,0 +1,26 @@
1
+ import type { ReactNode } from "react";
2
+ import type { MultiFactorActionEnum } from "../shared/multiFactorActionEnum";
3
+ export type MultiFactorConfirmModalProps = {
4
+ title: string;
5
+ message?: ReactNode;
6
+ actionMessage?: string;
7
+ isOpen: boolean;
8
+ isMutationPending?: boolean;
9
+ onConfirm: () => void;
10
+ handleOpenChange: () => void;
11
+ onTryAnotherWay?: () => Promise<{
12
+ brCode?: string;
13
+ } | void>;
14
+ onGetResult?: () => Promise<{
15
+ result?: string;
16
+ } | void>;
17
+ onContinue?: () => void;
18
+ email?: string;
19
+ isTOTPActive?: boolean;
20
+ isWhatsAppAuthenticatorActive?: boolean;
21
+ phoneNumber?: string;
22
+ name?: string;
23
+ action?: MultiFactorActionEnum;
24
+ };
25
+ declare const MultiFactorConfirmModal: ({ title, message, actionMessage, isOpen, isMutationPending, onConfirm, handleOpenChange, onTryAnotherWay, email, isTOTPActive, isWhatsAppAuthenticatorActive, phoneNumber, name, action, onGetResult, onContinue, }: MultiFactorConfirmModalProps) => ReactNode;
26
+ export default MultiFactorConfirmModal;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from "react";
2
+ type MultiFactorPixPaymentMatchProps = {
3
+ amount?: number;
4
+ onContinue?: () => void;
5
+ };
6
+ declare const MultiFactorPixPaymentMatch: ({ amount, onContinue, }: MultiFactorPixPaymentMatchProps) => ReactNode;
7
+ export default MultiFactorPixPaymentMatch;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from "react";
2
+ type MultiFactorPixPaymentMismatchProps = {
3
+ amount?: number;
4
+ };
5
+ declare const MultiFactorPixPaymentMismatch: ({ amount }: MultiFactorPixPaymentMismatchProps) => ReactNode;
6
+ export default MultiFactorPixPaymentMismatch;
@@ -0,0 +1,10 @@
1
+ import { type ReactNode } from "react";
2
+ type MultiFactorPixPaymentViewProps = {
3
+ brCode: string;
4
+ onGetResult?: () => Promise<{
5
+ result?: string;
6
+ } | void>;
7
+ onContinue?: () => void;
8
+ };
9
+ declare const MultiFactorPixPaymentView: ({ brCode, onGetResult, onContinue, }: MultiFactorPixPaymentViewProps) => ReactNode;
10
+ export default MultiFactorPixPaymentView;
@@ -0,0 +1,12 @@
1
+ export declare const TAG_STATUS_COLOR: {
2
+ [x: string]: string;
3
+ ACTIVE: string;
4
+ DELETED: string;
5
+ ACTIVE_WAITING_PAYMENT_METHOD: string;
6
+ EXPIRED: string;
7
+ OVERDUE: string;
8
+ COMPLETED: string;
9
+ };
10
+ export declare const ChargeTagStatus: import("styled-components").StyledComponent<(props: import("../../index.ts").TagProps) => import("react").ReactNode, any, {
11
+ status: string;
12
+ }, never>;
@@ -0,0 +1,6 @@
1
+ export declare const CobrTagStatus: import("styled-components").StyledComponent<(props: import("../../index.ts").TagProps) => import("react").ReactNode, any, {
2
+ status: "ACTIVE" | "CANCELED" | "CONCLUDED" | "CREATED" | "EXPIRED" | "FAILED_TRY" | "REJECTED";
3
+ }, never>;
4
+ export declare const CobrTryTagStatus: import("styled-components").StyledComponent<(props: import("../../index.ts").TagProps) => import("react").ReactNode, any, {
5
+ status: "PAID" | "REJECTED" | "REQUESTED" | "SCHEDULED";
6
+ }, never>;
@@ -0,0 +1,5 @@
1
+ import type { ReactNode } from 'react';
2
+ declare const WooviLogoInMobile: ({ size }: {
3
+ size?: string | undefined;
4
+ }) => ReactNode;
5
+ export default WooviLogoInMobile;
@@ -0,0 +1,3 @@
1
+ import type { ReactNode } from 'react';
2
+ declare const CheckIcon: () => ReactNode;
3
+ export default CheckIcon;
@@ -0,0 +1,3 @@
1
+ import type { ReactNode } from 'react';
2
+ declare const ConfirmedIcon: () => ReactNode;
3
+ export default ConfirmedIcon;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from "react";
2
+ import type { ChargeData } from "../paymentLink/types/ChargeDataType.tsx";
3
+ type EarnGfitbackProps = {
4
+ chargeData: ChargeData;
5
+ };
6
+ declare const EarnCashback: ({ chargeData }: EarnGfitbackProps) => ReactNode;
7
+ export default EarnCashback;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from "react";
2
+ import type { ChargeData } from "../paymentLink/types/ChargeDataType.tsx";
3
+ type EarnCashbackExclusiveProps = {
4
+ chargeData: ChargeData;
5
+ };
6
+ declare const EarnCashbackExclusive: ({ chargeData }: EarnCashbackExclusiveProps) => ReactNode;
7
+ export default EarnCashbackExclusive;
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from "react";
2
+ import type { ChargeData } from "../paymentLink/types/ChargeDataType.tsx";
3
+ type Props = {
4
+ charge: ChargeData;
5
+ companyName: string;
6
+ };
7
+ export declare const PayPixValueCompany: ({ charge, companyName }: Props) => ReactNode;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from "react";
2
+ type PixPaymentWooviProps = {
3
+ isTemp: boolean;
4
+ projectType: string;
5
+ };
6
+ declare const PixPaymentWoovi: ({ projectType }: PixPaymentWooviProps) => ReactNode;
7
+ export default PixPaymentWoovi;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from "react";
2
+ import type { ChargeData } from "../../paymentLink/types/ChargeDataType.tsx";
3
+ type EarnDiscount = {
4
+ chargeData: ChargeData;
5
+ };
6
+ declare const EarnDiscount: ({ chargeData }: EarnDiscount) => ReactNode;
7
+ export default EarnDiscount;
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { ChargeData } from './types/ChargeDataType.tsx';
3
+ type AccountInfoLabelProps = {
4
+ label: string;
5
+ text: string | JSX.Element;
6
+ };
7
+ export declare const AccountInfoLabel: ({ label, text, }: AccountInfoLabelProps) => ReactNode;
8
+ type AdditionalInfoProps = {
9
+ charge: ChargeData;
10
+ };
11
+ export declare const AdditionalInfo: ({ charge }: AdditionalInfoProps) => import("react/jsx-runtime").JSX.Element | null;
12
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from "react";
2
+ type BrCodeInputProps = {
3
+ value: string;
4
+ };
5
+ declare const BrCodeInput: ({ value }: BrCodeInputProps) => ReactNode;
6
+ export default BrCodeInput;
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ export type CopyBarcodeProps = {
3
+ value: string;
4
+ debounceDelay?: number;
5
+ onError?: (error: boolean) => void;
6
+ };
7
+ declare const CopyBarcode: ({ value, onError, debounceDelay, }: CopyBarcodeProps) => ReactNode;
8
+ export default CopyBarcode;
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ export type CopyQRCodeProps = {
3
+ value: string;
4
+ debounceDelay?: number;
5
+ onError?: (error: boolean) => void;
6
+ };
7
+ declare const CopyQRCode: ({ value, onError, debounceDelay, }: CopyQRCodeProps) => ReactNode;
8
+ export default CopyQRCode;
@@ -0,0 +1,3 @@
1
+ import type { ReactNode } from 'react';
2
+ declare const ErrorIcon: () => ReactNode;
3
+ export default ErrorIcon;
@@ -0,0 +1,11 @@
1
+ import type { ReactNode } from "react";
2
+ import type { ChargeData } from "./types/ChargeDataType.tsx";
3
+ export declare const InterestsInfoRow: ({ title, value, }: {
4
+ title: string;
5
+ value: ReactNode;
6
+ }) => ReactNode;
7
+ type InterestsInfoProps = {
8
+ chargeData: ChargeData;
9
+ };
10
+ declare const InterestsInfo: ({ chargeData }: InterestsInfoProps) => ReactNode;
11
+ export default InterestsInfo;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ type PaymentFooterProps = {
3
+ projectType: string;
4
+ };
5
+ declare const PaymentFooter: ({ projectType }: PaymentFooterProps) => ReactNode;
6
+ export default PaymentFooter;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ type QrCodeShowButtonProps = {
3
+ qrCodeShow: boolean;
4
+ setQrCodeShow: (value: boolean) => unknown;
5
+ };
6
+ declare const QrCodeShowButton: ({ qrCodeShow, setQrCodeShow, }: QrCodeShowButtonProps) => ReactNode;
7
+ export default QrCodeShowButton;
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ type QRCodeWrapperProps = {
3
+ qrCodeShow: boolean;
4
+ children: ReactNode;
5
+ 'data-testid'?: string;
6
+ };
7
+ export declare const QRCodeWrapper: ({ qrCodeShow, children, ...props }: QRCodeWrapperProps) => ReactNode;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from "react";
2
+ import type { ChargeData } from "../../openpix/paymentLink/types/ChargeDataType.tsx";
3
+ type Props = {
4
+ charge: ChargeData;
5
+ merchantName?: string;
6
+ paymentLinkUrl?: string;
7
+ disabled?: boolean;
8
+ };
9
+ declare const ShareButton: ({ charge, disabled }: Props) => ReactNode;
10
+ export default ShareButton;
@@ -0,0 +1,99 @@
1
+ import type { INTERESTS_MODALITY_TYPE_ENUM, INTERESTS_VALUE_TYPE_ENUM } from "../../../utils/ChargeInterestsTypes";
2
+ export type CompanyBankData = {
3
+ name: string;
4
+ code: number;
5
+ pixKey: string;
6
+ };
7
+ export type IAdditionalInfo = {
8
+ key: string;
9
+ value: string;
10
+ };
11
+ export type TransactionCashback = {
12
+ value: number;
13
+ };
14
+ export type CashbackType = {
15
+ percentage: number;
16
+ value: number;
17
+ status: string;
18
+ transactionCashback?: TransactionCashback;
19
+ };
20
+ export type CashbackExclusiveScheduledType = {
21
+ value: number;
22
+ percentage: number;
23
+ };
24
+ export type TransactionType = {
25
+ endToEndId: string;
26
+ };
27
+ export type RedeemedCashbackExclusiveType = {
28
+ value: number;
29
+ percentage: number;
30
+ };
31
+ export type Customer = {
32
+ phone: string;
33
+ name: string;
34
+ };
35
+ export type ChargeData = {
36
+ id: string;
37
+ brCode: string;
38
+ value: number;
39
+ valueWithDiscount: number;
40
+ valuePaid?: number;
41
+ discount: number;
42
+ merchantName: string;
43
+ merchantTaxId: string;
44
+ comment: string;
45
+ identifier: string;
46
+ expiration: string;
47
+ companyBank: CompanyBankData;
48
+ logo: string | null;
49
+ reference: string | null;
50
+ paymentLinkUrl: string;
51
+ qrCodeImage: string;
52
+ customer?: Customer;
53
+ additionalInfo?: Array<IAdditionalInfo>;
54
+ hasTemp: boolean;
55
+ isRemoved: boolean;
56
+ status: string;
57
+ error: string;
58
+ taxID?: {
59
+ taxID: string;
60
+ type: string;
61
+ };
62
+ cashback?: CashbackType;
63
+ cashbackExclusive?: CashbackType;
64
+ cashbackExclusiveScheduled?: CashbackExclusiveScheduledType[];
65
+ redeemedCashbackExclusive?: RedeemedCashbackExclusiveType[];
66
+ projectType: string;
67
+ expiresDate?: string;
68
+ isPixQrCode?: boolean;
69
+ interestsSettings: {
70
+ active: boolean;
71
+ daysAfterDueDate: number;
72
+ interests: {
73
+ type: INTERESTS_VALUE_TYPE_ENUM;
74
+ value: number;
75
+ modality: INTERESTS_MODALITY_TYPE_ENUM;
76
+ };
77
+ fines: {
78
+ type: INTERESTS_VALUE_TYPE_ENUM;
79
+ value: number;
80
+ };
81
+ };
82
+ decodedBrCode?: {
83
+ interests: number;
84
+ fines: number;
85
+ finalValue: number;
86
+ };
87
+ installment?: {
88
+ installmentNumber: number;
89
+ };
90
+ subscription?: {
91
+ installmentsCount: number;
92
+ };
93
+ transactions: TransactionType[];
94
+ isFromTestAccount: boolean;
95
+ };
96
+ export type Shopper = {
97
+ id: string;
98
+ name: string;
99
+ };
@@ -0,0 +1,21 @@
1
+ import type { ButtonProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ type WooviAuthFormProps = {
4
+ children: ReactNode;
5
+ heading: string;
6
+ secondaryHeading?: string;
7
+ primaryAction?: () => void;
8
+ primaryActionLabel?: string;
9
+ primaryActionProps?: ButtonProps;
10
+ payAsGuestAction?: () => void | null;
11
+ payAsGuestActionLabel?: string | null;
12
+ payAsGuestActionProps?: ButtonProps | null;
13
+ secondaryAction?: () => void | null;
14
+ secondaryActionLabel?: string | null;
15
+ secondaryActionProps?: ButtonProps | null;
16
+ renderFooter?: () => ReactNode | null;
17
+ isTemp: boolean;
18
+ withCard: boolean;
19
+ };
20
+ declare const WooviAuthForm: ({ children, heading, secondaryHeading, primaryAction, primaryActionLabel, primaryActionProps, payAsGuestAction, payAsGuestActionLabel, payAsGuestActionProps, secondaryAction, secondaryActionLabel, secondaryActionProps, renderFooter, isTemp, withCard, }: WooviAuthFormProps) => ReactNode;
21
+ export default WooviAuthForm;
@@ -0,0 +1,6 @@
1
+ export declare const PIX_TRANSACTION_TYPE_TAG_COLOR: {
2
+ [x: string]: string;
3
+ };
4
+ export declare const PixTransactionTypeTag: import("styled-components").StyledComponent<(props: import("../../index.ts").TagProps) => import("react").ReactNode, any, {
5
+ status: string;
6
+ }, never>;
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import type { ReactNode } from "react";
3
+ export type PaymentLinkRowProps = {
4
+ title: string | React.ReactNode;
5
+ value: number | ReactNode;
6
+ variant?: "h6" | "body1";
7
+ };
8
+ declare const PaymentLinkRow: ({ title, value, variant }: PaymentLinkRowProps) => ReactNode;
9
+ export default PaymentLinkRow;
@@ -0,0 +1,62 @@
1
+ import React from 'react';
2
+ export type PinInputProps = {
3
+ /** Hidden input name attribute */
4
+ name?: string;
5
+ /** If set, first input is focused when component is mounted */
6
+ autoFocus?: boolean;
7
+ /** Value for controlled component */
8
+ value?: string;
9
+ /** Default value for uncontrolled component */
10
+ defaultValue?: string;
11
+ /** Called when value changes */
12
+ onChange?: (value: string) => void;
13
+ /** Called when user enters value to all inputs */
14
+ onComplete?(value: string): void;
15
+ /** Placeholder for every input field */
16
+ placeholder?: string;
17
+ /** Determines whether focus should be moved automatically to the next input once filled */
18
+ manageFocus?: boolean;
19
+ /** The top-level id that is used as a base in all input fields */
20
+ id?: string;
21
+ /** Sets inputs disabled attribute */
22
+ disabled?: boolean;
23
+ /** Adds error styles to all inputs */
24
+ error?: boolean;
25
+ /** The type of allowed values */
26
+ type?: 'alphanumeric' | 'number' | RegExp;
27
+ /** Changes input type to "password" */
28
+ mask?: boolean;
29
+ /** Number of input boxes */
30
+ length?: number;
31
+ } & Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'>;
32
+ declare const PinInput: React.ForwardRefExoticComponent<{
33
+ /** Hidden input name attribute */
34
+ name?: string | undefined;
35
+ /** If set, first input is focused when component is mounted */
36
+ autoFocus?: boolean | undefined;
37
+ /** Value for controlled component */
38
+ value?: string | undefined;
39
+ /** Default value for uncontrolled component */
40
+ defaultValue?: string | undefined;
41
+ /** Called when value changes */
42
+ onChange?: ((value: string) => void) | undefined;
43
+ /** Called when user enters value to all inputs */
44
+ onComplete?(value: string): void;
45
+ /** Placeholder for every input field */
46
+ placeholder?: string | undefined;
47
+ /** Determines whether focus should be moved automatically to the next input once filled */
48
+ manageFocus?: boolean | undefined;
49
+ /** The top-level id that is used as a base in all input fields */
50
+ id?: string | undefined;
51
+ /** Sets inputs disabled attribute */
52
+ disabled?: boolean | undefined;
53
+ /** Adds error styles to all inputs */
54
+ error?: boolean | undefined;
55
+ /** The type of allowed values */
56
+ type?: "alphanumeric" | "number" | RegExp | undefined;
57
+ /** Changes input type to "password" */
58
+ mask?: boolean | undefined;
59
+ /** Number of input boxes */
60
+ length?: number | undefined;
61
+ } & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onChange"> & React.RefAttributes<HTMLDivElement>>;
62
+ export default PinInput;
@@ -0,0 +1,7 @@
1
+ import type { PinInputProps } from './PinInput.tsx';
2
+ import type { ReactNode } from 'react';
3
+ export type PinInputFormikProps = {
4
+ name: string;
5
+ } & PinInputProps;
6
+ declare const PinInputFormik: (props: PinInputFormikProps) => ReactNode;
7
+ export default PinInputFormik;
@@ -0,0 +1 @@
1
+ export declare const createPinArray: (length: number, value: string) => string[];
@@ -0,0 +1,4 @@
1
+ export declare const pinInputRegex: {
2
+ number: RegExp;
3
+ alphanumeric: RegExp;
4
+ };
@@ -0,0 +1,8 @@
1
+ import type { RelayRefetchProp } from 'react-relay';
2
+ type Props = {
3
+ relay: RelayRefetchProp;
4
+ handleLoading: (state: boolean, callback: () => void) => void;
5
+ getFragmentVariables?: () => object;
6
+ };
7
+ declare const RefreshButtonRelay: ({ getFragmentVariables, relay, handleLoading, }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export default RefreshButtonRelay;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ onRefresh: () => void;
4
+ };
5
+ declare const RefreshIconButton: ({ onRefresh }: Props) => ReactNode;
6
+ export default RefreshIconButton;
@@ -0,0 +1,17 @@
1
+ import type { RelayRefetchProp } from "react-relay";
2
+ type Props = {
3
+ relay: RelayRefetchProp;
4
+ handleLoading: (state: boolean, callback?: () => void) => void;
5
+ placeholder?: string;
6
+ useQueryString: boolean;
7
+ filters: any;
8
+ updateFilter: (filters: any) => void;
9
+ useNewFilters?: boolean;
10
+ getFragmentVariables: () => void;
11
+ width?: string;
12
+ fontSize?: string;
13
+ marginRight?: string;
14
+ searchName?: string;
15
+ };
16
+ declare const SearchInputRelay: (props: Props) => import("react/jsx-runtime").JSX.Element;
17
+ export default SearchInputRelay;
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from 'react';
2
+ type Props = {
3
+ firstItemIndex: number;
4
+ lastItemIndex: number;
5
+ totalItems: number;
6
+ handlePageChange: (isForward: boolean) => void;
7
+ isLoading?: boolean;
8
+ };
9
+ declare const TopPagination: ({ firstItemIndex, lastItemIndex, totalItems, handlePageChange, isLoading, }: Props) => ReactNode;
10
+ export default TopPagination;
@@ -0,0 +1,9 @@
1
+ import type { ReactNode } from 'react';
2
+ export type RewardTicketProps = {
3
+ title: string;
4
+ description: string;
5
+ value: string;
6
+ color?: string;
7
+ };
8
+ declare const RewardTicket: ({ title, description, value, ...props }: RewardTicketProps) => ReactNode;
9
+ export default RewardTicket;
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ export type RibbonProps = {
3
+ children: ReactNode;
4
+ color?: string;
5
+ };
6
+ declare const Ribbon: ({ children, color }: RibbonProps) => ReactNode;
7
+ export default Ribbon;