@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.
- package/LICENSE +21 -0
- package/README.md +36 -0
- package/dist/BackButton.d.ts +6 -0
- package/dist/Badge.d.ts +2 -0
- package/dist/Banner.d.ts +9 -0
- package/dist/BannerError.d.ts +6 -0
- package/dist/BannerInfos.d.ts +27 -0
- package/dist/CashbackTagStatus.d.ts +5 -0
- package/dist/Circle.d.ts +5 -0
- package/dist/CircleButton.d.ts +7 -0
- package/dist/ClockIcon.d.ts +7 -0
- package/dist/Column.d.ts +2 -0
- package/dist/CopyInput.d.ts +8 -0
- package/dist/EmptyMessage.d.ts +6 -0
- package/dist/EncryptedText.d.ts +3 -0
- package/dist/FloatingMenu.d.ts +15 -0
- package/dist/LayoutRoot.d.ts +1 -0
- package/dist/LinearProgress.d.ts +8 -0
- package/dist/Link.d.ts +3 -0
- package/dist/Loading.d.ts +8 -0
- package/dist/Logo.d.ts +1 -0
- package/dist/LoremIpsum.d.ts +2 -0
- package/dist/Modal/Modal.d.ts +19 -0
- package/dist/OverflowDiv.d.ts +2 -0
- package/dist/ProgressBar.d.ts +10 -0
- package/dist/QuestionTooltip.d.ts +11 -0
- package/dist/RadioCard/RadioCard.d.ts +11 -0
- package/dist/ReactJson.d.ts +2 -0
- package/dist/ReactRouterLinkBehavior.d.ts +2 -0
- package/dist/Row.d.ts +2 -0
- package/dist/SafeTextTooltip.d.ts +9 -0
- package/dist/SearchField.d.ts +14 -0
- package/dist/Step.d.ts +8 -0
- package/dist/SwipeableDialog/SwipeableDialog.d.ts +19 -0
- package/dist/SwipeableDialog/SwipeableDialogActions.d.ts +9 -0
- package/dist/SwipeableDialog/SwipeableDialogClose.d.ts +9 -0
- package/dist/SwipeableDialog/SwipeableDialogContent.d.ts +12 -0
- package/dist/SwipeableDialog/SwipeableDialogModal.d.ts +9 -0
- package/dist/SwipeableDialog/SwipeableDialogTitle.d.ts +11 -0
- package/dist/SwipeableDialog/SwipeableDialogTrigger.d.ts +9 -0
- package/dist/TagWebhookStatus.d.ts +12 -0
- package/dist/ThemeProvider.d.ts +11 -0
- package/dist/ToggleButtonGroup.d.ts +24 -0
- package/dist/ToggleButtonGroupMobile.d.ts +7 -0
- package/dist/TransactionStatusTag.d.ts +1 -0
- package/dist/TransactionTagEntryTypes.d.ts +12 -0
- package/dist/TransactionTagStatus.d.ts +7 -0
- package/dist/UnsupportedBrowserWarning.d.ts +3 -0
- package/dist/auth/LoginWrapper.d.ts +7 -0
- package/dist/avatar/Avatar.d.ts +12 -0
- package/dist/avatar/AvatarGroup.d.ts +11 -0
- package/dist/avatar/AvatarGroupArray.d.ts +8 -0
- package/dist/avatar/AvatarGroupSelectedAll.d.ts +9 -0
- package/dist/buttons/ActionButton.d.ts +14 -0
- package/dist/buttons/ButtonMenu.d.ts +12 -0
- package/dist/buttons/CopyButton.d.ts +9 -0
- package/dist/buttons/DangerButton.d.ts +2 -0
- package/dist/buttons/PayWithPixButton.d.ts +12 -0
- package/dist/buttons/ResponsiveSplitButton.d.ts +19 -0
- package/dist/buttons/SplitButton.d.ts +19 -0
- package/dist/buttons/clickpix/ClickPixButton.d.ts +6 -0
- package/dist/buttons/clickpix/DonateClickPixButton.d.ts +6 -0
- package/dist/buttons/clickpix/DonateWithClickButton.d.ts +6 -0
- package/dist/buttons/getLoadingIconProp.d.ts +3 -0
- package/dist/card/Card.d.ts +16 -0
- package/dist/card/CardActions.d.ts +8 -0
- package/dist/card/CardContent.d.ts +6 -0
- package/dist/card/CardCopy.d.ts +6 -0
- package/dist/card/CardForm.d.ts +10 -0
- package/dist/card/CardList.d.ts +13 -0
- package/dist/card/CardRadio.d.ts +1 -0
- package/dist/card/CardSelectable.d.ts +13 -0
- package/dist/card/CardSkeleton.d.ts +3 -0
- package/dist/card/CardStep.d.ts +10 -0
- package/dist/card/CardWithIcon.d.ts +9 -0
- package/dist/card/CardWithLink.d.ts +9 -0
- package/dist/card/CardWithLinkSkeleton.d.ts +3 -0
- package/dist/card/basicContext/CardBasicContext.d.ts +35 -0
- package/dist/card/cardWithActions/CardFooter.d.ts +3 -0
- package/dist/card/cardWithActions/CardHeader.d.ts +6 -0
- package/dist/card/cardWithActions/CardWithActions.d.ts +27 -0
- package/dist/cardAnalytics/CardAnalytics.d.ts +11 -0
- package/dist/cardAnalytics/CardAnalyticsSkeleton.d.ts +3 -0
- package/dist/cardGrid/CardField.d.ts +9 -0
- package/dist/cardGrid/CardFieldCentered.d.ts +8 -0
- package/dist/cardGrid/CardGrid.d.ts +12 -0
- package/dist/cardGrid/Grid.d.ts +8 -0
- package/dist/cardWithImage/CardWithImage.d.ts +10 -0
- package/dist/clickpix/ClickPixButton.d.ts +13 -0
- package/dist/clickpix/ClickPixLogo.d.ts +9 -0
- package/dist/code/Code.d.ts +8 -0
- package/dist/collapsible/Collapse.d.ts +6 -0
- package/dist/collapsible/Collapsible.d.ts +59 -0
- package/dist/collapsible/CollapsibleActions.d.ts +7 -0
- package/dist/collapsible/CollapsibleDetails.d.ts +7 -0
- package/dist/collapsible/CollapsibleFillWrapper.d.ts +1 -0
- package/dist/collapsible/CollapsibleGroup.d.ts +2 -0
- package/dist/collapsible/CollapsibleInfinityActions.d.ts +57 -0
- package/dist/collapsible/CollapsiblePanelActions.d.ts +3 -0
- package/dist/collapsible/CollapsibleStep.d.ts +17 -0
- package/dist/collapsible/CollapsibleStepHeader.d.ts +11 -0
- package/dist/collapsible/CollapsibleSummary.d.ts +9 -0
- package/dist/collapsible/CollapsibleTree.d.ts +12 -0
- package/dist/collapsible/ExpandMoreIcon.d.ts +7 -0
- package/dist/collapsible/LeafCollapsible.d.ts +5 -0
- package/dist/collapsible/TransparencyCollapsibleWrapper.d.ts +2 -0
- package/dist/company/CompanyLogo.d.ts +15 -0
- package/dist/content/ActionMargin.d.ts +7 -0
- package/dist/content/ActionMarginText.d.ts +2 -0
- package/dist/content/Content.d.ts +6 -0
- package/dist/content/IntroText.d.ts +6 -0
- package/dist/countdown/Countdown.d.ts +9 -0
- package/dist/countdown/ShowCounter.d.ts +11 -0
- package/dist/countdown/useCountdown.d.ts +2 -0
- package/dist/datagrid/DataGrid.d.ts +24 -0
- package/dist/datagrid/DataGridDetailContainer.d.ts +6 -0
- package/dist/datagrid/DataGridGridToolbarExport.d.ts +3 -0
- package/dist/datagrid/DataGridLoading.d.ts +8 -0
- package/dist/datagrid/DataGridRow.d.ts +11 -0
- package/dist/datagrid/cellTypeBasisToPercentage.d.ts +5 -0
- package/dist/datagrid/cellTypeBoolean.d.ts +7 -0
- package/dist/datagrid/cellTypeCurrency.d.ts +3 -0
- package/dist/datagrid/cellTypeDate.d.ts +3 -0
- package/dist/datagrid/cellTypeDatetime.d.ts +3 -0
- package/dist/datagrid/cellTypeDatetimeSeconds.d.ts +2 -0
- package/dist/datagrid/cellTypeExpand.d.ts +125 -0
- package/dist/datagrid/cellTypeLink.d.ts +2 -0
- package/dist/datagrid/cellTypePhone.d.ts +2 -0
- package/dist/datagrid/cellTypeTag.d.ts +2 -0
- package/dist/datagrid/cellTypeTaxID.d.ts +2 -0
- package/dist/datagrid/cellTypeTime.d.ts +2 -0
- package/dist/datagrid/columnTypes.d.ts +11 -0
- package/dist/datagrid/useTableView.d.ts +2 -0
- package/dist/datagrid/wrapColumnTypes.d.ts +2 -0
- package/dist/device/Phone.d.ts +5 -0
- package/dist/dialog/DialogContext.d.ts +17 -0
- package/dist/dialog/DialogProvider.d.ts +7 -0
- package/dist/dialog/index.d.ts +5 -0
- package/dist/dialog/useDialog.d.ts +6 -0
- package/dist/drawer/DrawerCard.d.ts +11 -0
- package/dist/drawer/DrawerResponsiveWrapper.d.ts +1 -0
- package/dist/drawer/swipable/SwipeableDrawer.d.ts +8 -0
- package/dist/error/ErrorBoundaryWithRetry.d.ts +26 -0
- package/dist/error/ErrorView.d.ts +10 -0
- package/dist/file/FileDrop.d.ts +12 -0
- package/dist/file/IconButton.d.ts +12 -0
- package/dist/file/MaterialIcon.d.ts +13 -0
- package/dist/filter/Filter.d.ts +15 -0
- package/dist/filter/FilterRelayFormik.d.ts +26 -0
- package/dist/filter/FormikFilter.d.ts +10 -0
- package/dist/filter/decodeQueryParamsFromLocation.d.ts +2 -0
- package/dist/filter/fieldToParamConfigMap.d.ts +3 -0
- package/dist/filter/formatFilterValue.d.ts +1 -0
- package/dist/filter/formatFilters.d.ts +1 -0
- package/dist/filter/isValidDatetime.d.ts +1 -0
- package/dist/filter/stringToBoolean.d.ts +1 -0
- package/dist/filter/useFilterFormik.d.ts +50 -0
- package/dist/form/FieldRow.d.ts +7 -0
- package/dist/heading/SectionHeading.d.ts +7 -0
- package/dist/helpers/Divider.d.ts +8 -0
- package/dist/helpers/HorizontalStack.d.ts +4 -0
- package/dist/helpers/HoverPopper.d.ts +10 -0
- package/dist/helpers.d.ts +10 -0
- package/dist/hooks/useControlledState.d.ts +1 -0
- package/dist/hooks/useCopyToClipboard.d.ts +1 -0
- package/dist/hooks/usePooling.d.ts +3 -0
- package/dist/hooks/useTheme.d.ts +14 -0
- package/dist/hooks/useWindowHelpers.d.ts +6 -0
- package/dist/icons/AssineOnlineIcon.d.ts +14 -0
- package/dist/icons/BotConversaIcon.d.ts +14 -0
- package/dist/icons/CheckIconLabel.d.ts +6 -0
- package/dist/icons/CheckboxChecked.d.ts +8 -0
- package/dist/icons/CheckboxIndeterminate.d.ts +15 -0
- package/dist/icons/CheckboxUnchecked.d.ts +15 -0
- package/dist/icons/CvvIcon.d.ts +6 -0
- package/dist/icons/DownloadIcon.d.ts +8 -0
- package/dist/icons/Icon.d.ts +3 -0
- package/dist/icons/MetaIcon.d.ts +13 -0
- package/dist/icons/N8nIcon.d.ts +13 -0
- package/dist/icons/NfeIcon.d.ts +6 -0
- package/dist/icons/NuvemshopIcon.d.ts +14 -0
- package/dist/icons/RejectIcon.d.ts +3 -0
- package/dist/icons/RightTopDiagonalVector.d.ts +5 -0
- package/dist/icons/SVG.d.ts +32 -0
- package/dist/icons/SearchIcon.d.ts +3 -0
- package/dist/icons/SocPanelIcon.d.ts +12 -0
- package/dist/icons/SuccessIcon.d.ts +3 -0
- package/dist/icons/WabizIcon.d.ts +14 -0
- package/dist/icons/WakeIcon.d.ts +14 -0
- package/dist/icons/WarningIcon.d.ts +3 -0
- package/dist/import/Dropzone.d.ts +2 -0
- package/dist/import/DropzoneFile.d.ts +19 -0
- package/dist/import/xlsx/Import.d.ts +19 -0
- package/dist/import/xlsx/ImportDropzone.d.ts +16 -0
- package/dist/import/xlsx/ImportProcessData.d.ts +8 -0
- package/dist/import/xlsx/ImportProcessQueue.d.ts +21 -0
- package/dist/import/xlsx/ImportStepper.d.ts +24 -0
- package/dist/import/xlsx/ImportTable.d.ts +8 -0
- package/dist/import/xlsx/ImportUtils.d.ts +89 -0
- package/dist/index.cjs +1555 -0
- package/dist/index.cjs.LICENSE.txt +35 -0
- package/dist/index.d.ts +245 -0
- package/dist/index.js +1555 -0
- package/dist/index.js.LICENSE.txt +35 -0
- package/dist/layoutWrapper/LayoutWrapper.d.ts +8 -0
- package/dist/layoutWrapper/LayoutWrapperFluid.d.ts +8 -0
- package/dist/link/WooviLink.d.ts +7 -0
- package/dist/logo/OpenPixLogoColor.d.ts +7 -0
- package/dist/logo/WooviLogo.d.ts +8 -0
- package/dist/mui/BoxFlex.d.ts +14 -0
- package/dist/mui/Typography.d.ts +8 -0
- package/dist/multifactor/MultiFactorConfirmModal.d.ts +26 -0
- package/dist/multifactor/MultiFactorPixPaymentMatch.d.ts +7 -0
- package/dist/multifactor/MultiFactorPixPaymentMismatch.d.ts +6 -0
- package/dist/multifactor/MultiFactorPixPaymentView.d.ts +10 -0
- package/dist/openpix/charge/ChargeTagStatus.d.ts +12 -0
- package/dist/openpix/cobr/CobrTagStatus.d.ts +6 -0
- package/dist/openpix/images/WooviLogoInMobile.d.ts +5 -0
- package/dist/openpix/order/CheckIcon.d.ts +3 -0
- package/dist/openpix/order/ConfirmedIcon.d.ts +3 -0
- package/dist/openpix/order/EarnCashback.d.ts +7 -0
- package/dist/openpix/order/EarnCashbackExclusive.d.ts +7 -0
- package/dist/openpix/order/PayPixValueCompany.d.ts +8 -0
- package/dist/openpix/order/PixPaymentWoovi.d.ts +7 -0
- package/dist/openpix/order/discount/EarnDiscount.d.ts +7 -0
- package/dist/openpix/paymentLink/AdditionalInfo.d.ts +12 -0
- package/dist/openpix/paymentLink/BrCodeInput.d.ts +6 -0
- package/dist/openpix/paymentLink/CopyBarcode.d.ts +8 -0
- package/dist/openpix/paymentLink/CopyQRCode.d.ts +8 -0
- package/dist/openpix/paymentLink/ErrorIcon.d.ts +3 -0
- package/dist/openpix/paymentLink/InterestsInfo.d.ts +11 -0
- package/dist/openpix/paymentLink/PaymentFooter.d.ts +6 -0
- package/dist/openpix/paymentLink/QrCodeShowButton.d.ts +7 -0
- package/dist/openpix/paymentLink/QrCodeWrapper.d.ts +8 -0
- package/dist/openpix/paymentLink/ShareButton.d.ts +10 -0
- package/dist/openpix/paymentLink/types/ChargeDataType.d.ts +99 -0
- package/dist/openpix/shopper/WooviAuthForm.d.ts +21 -0
- package/dist/openpix/transaction/PixTransactionTypeTag.d.ts +6 -0
- package/dist/paymentLinkRow/PaymentLinkRow.d.ts +9 -0
- package/dist/pinInput/PinInput.d.ts +62 -0
- package/dist/pinInput/PinInputFormik.d.ts +7 -0
- package/dist/pinInput/createPinArray.d.ts +1 -0
- package/dist/pinInput/pinInputRegex.d.ts +4 -0
- package/dist/relay/RefreshButtonRelay.d.ts +8 -0
- package/dist/relay/RefreshIconButton.d.ts +6 -0
- package/dist/relay/SearchInputRelay.d.ts +17 -0
- package/dist/relay/TopPagination.d.ts +10 -0
- package/dist/rewardTicket/RewardTicket.d.ts +9 -0
- package/dist/ribbon/Ribbon.d.ts +7 -0
- package/dist/roles/Roles.d.ts +139 -0
- package/dist/roles/modules.d.ts +117 -0
- package/dist/root/ContentBoundary.d.ts +5 -0
- package/dist/routed/RoutedTabs.d.ts +19 -0
- package/dist/routed/TabbedContent.d.ts +7 -0
- package/dist/routedTemp/RoutedTabsTempGreen.d.ts +19 -0
- package/dist/routedTemp/RoutedTabsTempWhite.d.ts +19 -0
- package/dist/router/drawRoutes.d.ts +3 -0
- package/dist/router/getFiltersFromLocation.d.ts +3 -0
- package/dist/router/getQuery.d.ts +4 -0
- package/dist/router/getRouteFromPath.d.ts +11 -0
- package/dist/router/stringToValue.d.ts +4 -0
- package/dist/router/types.d.ts +48 -0
- package/dist/screenHeader/ScreenHeaderUI.d.ts +20 -0
- package/dist/screenHeader/components/ScreenHeaderSubtitle.d.ts +2 -0
- package/dist/screenHeader/components/ScreenHeaderTitle.d.ts +6 -0
- package/dist/screenHeaderCard/ScreenHeaderCard.d.ts +12 -0
- package/dist/screenHeaderResponsive/ScreenHeaderUIResponsive.d.ts +14 -0
- package/dist/screenHeaderResponsive/components/ScreenHeaderSubtitle.d.ts +2 -0
- package/dist/screenHeaderResponsive/components/ScreenHeaderTitle.d.ts +6 -0
- package/dist/screenHeaderTemp/ScreenHeaderUITempGreen.d.ts +14 -0
- package/dist/screenHeaderTemp/ScreenHeaderUITempWhite.d.ts +14 -0
- package/dist/screenHeaderTemp/components/ScreenHeaderSubtitle.d.ts +2 -0
- package/dist/screenHeaderTemp/components/ScreenHeaderTitle.d.ts +6 -0
- package/dist/search/GlobalSearchField.d.ts +12 -0
- package/dist/select/Select.d.ts +6 -0
- package/dist/select/SelectAll.d.ts +14 -0
- package/dist/shared/AppEnvironmentEnum.d.ts +9 -0
- package/dist/shared/CashbackStatus.d.ts +25 -0
- package/dist/shared/appEventDomains.d.ts +11 -0
- package/dist/shared/appEventTypes.d.ts +26 -0
- package/dist/shared/chargeStatusEnum.d.ts +12 -0
- package/dist/shared/cobrStatusEnum.d.ts +15 -0
- package/dist/shared/getSelected.d.ts +1 -0
- package/dist/shared/multiFactorActionEnum.d.ts +6 -0
- package/dist/shared/pixAuthenticationResultEnum.d.ts +6 -0
- package/dist/shared/pixTransactionEntryTypes.d.ts +11 -0
- package/dist/shared/pixTransactionStatus.d.ts +40 -0
- package/dist/shared/pixTransactionTypes.d.ts +102 -0
- package/dist/shared/projectType.d.ts +10 -0
- package/dist/shared/queryString.d.ts +5 -0
- package/dist/shared/statementTypes.d.ts +14 -0
- package/dist/shared/subscriptionInstallmentEnum.d.ts +7 -0
- package/dist/shared/webhookStatus.d.ts +18 -0
- package/dist/sidebar/Group.d.ts +11 -0
- package/dist/sidebar/Item.d.ts +9 -0
- package/dist/sidebar/MenuList.d.ts +16 -0
- package/dist/sidebar/Sidebar.d.ts +16 -0
- package/dist/sidebar/SidebarContext.d.ts +9 -0
- package/dist/sidebar/index.d.ts +6 -0
- package/dist/sidebar/useSidebar.d.ts +7 -0
- package/dist/sidebar/utils.d.ts +2 -0
- package/dist/snackbar/CloseSnack.d.ts +5 -0
- package/dist/snackbar/Snackbar.d.ts +6 -0
- package/dist/snackbar/SnackbarContext.d.ts +15 -0
- package/dist/snackbar/index.d.ts +6 -0
- package/dist/snackbar/useSnackbar.d.ts +6 -0
- package/dist/statement/TransactionTypeText.d.ts +2 -0
- package/dist/statement/ledgerStatementColors.d.ts +8 -0
- package/dist/statement/statementColors.d.ts +3 -0
- package/dist/stepper/Stepper.d.ts +10 -0
- package/dist/swipeableModal/SwipeableModal.d.ts +16 -0
- package/dist/swipeableModal/SwipeableModalTransition.d.ts +6 -0
- package/dist/table/CardColumn.d.ts +9 -0
- package/dist/table/CardListLoading.d.ts +8 -0
- package/dist/table/CardListVirtualized.d.ts +20 -0
- package/dist/table/ImportReport.d.ts +4 -0
- package/dist/table/StatusCell.d.ts +18 -0
- package/dist/table/TableToggleViewModel.d.ts +7 -0
- package/dist/table/cells/ActionCellNode.d.ts +5 -0
- package/dist/table/cells/Cell.d.ts +9 -0
- package/dist/table/cells/CellCheckbox.d.ts +17 -0
- package/dist/table/cells/CellEditable.d.ts +11 -0
- package/dist/table/cells/CheckboxCellNode.d.ts +3 -0
- package/dist/table/cells/IconCellNode.d.ts +6 -0
- package/dist/table/cells/LinkCellNode.d.ts +3 -0
- package/dist/table/cells/RenderCell.d.ts +3 -0
- package/dist/table/cells/cellTypes.d.ts +15 -0
- package/dist/table/cells/getCellCurrency.d.ts +3 -0
- package/dist/table/cells/getCellDate.d.ts +8 -0
- package/dist/table/cells/getCellLink.d.ts +3 -0
- package/dist/table/cells/getCellValue.d.ts +1 -0
- package/dist/table/cells/index.d.ts +1 -0
- package/dist/table/emv/TablePixEMV.d.ts +5 -0
- package/dist/table/emv/emvParser.d.ts +9 -0
- package/dist/table/emv/emvTags.d.ts +10 -0
- package/dist/table/muiTable/Body.d.ts +15 -0
- package/dist/table/muiTable/Footer.d.ts +9 -0
- package/dist/table/muiTable/Header.d.ts +11 -0
- package/dist/table/muiTable/Table.d.ts +72 -0
- package/dist/table/reactTable/ImportReport.d.ts +4 -0
- package/dist/table/reactTable/ImportTable.d.ts +9 -0
- package/dist/table/reactTable/IndeterminateCheckbox.d.ts +2 -0
- package/dist/table/reactTable/InputCell.d.ts +9 -0
- package/dist/table/reactTable/InputDateCell.d.ts +9 -0
- package/dist/table/reactTable/InputForCells.d.ts +7 -0
- package/dist/table/reactTable/InputMoneyCell.d.ts +9 -0
- package/dist/table/reactTable/InputPhoneCell.d.ts +9 -0
- package/dist/table/reactTable/InputTaxIDCell.d.ts +9 -0
- package/dist/table/reactTable/RowTable.d.ts +6 -0
- package/dist/table/reactTable/StatusCell.d.ts +18 -0
- package/dist/table/reactTable/Table.d.ts +9 -0
- package/dist/table/reactTable/TableBodyVirtualized.d.ts +7 -0
- package/dist/table/reactTable/TableCell.d.ts +8 -0
- package/dist/table/reactTable/TableHeadVirtualized.d.ts +4 -0
- package/dist/table/reactTable/TableVirtualized.d.ts +8 -0
- package/dist/tag/Tag.d.ts +11 -0
- package/dist/tag/TagsContainer.d.ts +5 -0
- package/dist/term/Terms.d.ts +1 -0
- package/dist/term/TermsLink.d.ts +1 -0
- package/dist/term/TermsModal.d.ts +13 -0
- package/dist/term/useTerms.d.ts +5 -0
- package/dist/text/TextMultiline.d.ts +6 -0
- package/dist/theme/HeaderButtonTheme.d.ts +2 -0
- package/dist/theme/Themes.d.ts +42 -0
- package/dist/timeline/Timeline.d.ts +6 -0
- package/dist/timeline/TimelineAppEventDomainIcon.d.ts +3 -0
- package/dist/timeline/TimelineAppEventItem.d.ts +10 -0
- package/dist/timeline/TimelineAppEventTypeColor.d.ts +3 -0
- package/dist/timeline/TimelineItem.d.ts +12 -0
- package/dist/unSupportedBrowser/UnsupportedBrowserWarning.d.ts +3 -0
- package/dist/unSupportedBrowser/index.d.ts +2 -0
- package/dist/unSupportedBrowser/isUnSupportedBrowser.d.ts +4 -0
- package/dist/user/chip/UserChip.d.ts +7 -0
- package/dist/utils/BrowserOnly.d.ts +7 -0
- package/dist/utils/ChargeInterestsTypes.d.ts +11 -0
- package/dist/utils/DesktopOnly.d.ts +6 -0
- package/dist/utils/MaskUtils.d.ts +5 -0
- package/dist/utils/MobileOnly.d.ts +6 -0
- package/dist/utils/composeEventHandlers.d.ts +4 -0
- package/dist/utils/composeStyles.d.ts +2 -0
- package/dist/utils/convertToCents.d.ts +3 -0
- package/dist/utils/convertToCurrency.d.ts +1 -0
- package/dist/utils/convertToMoney.d.ts +2 -0
- package/dist/utils/copyToClipboard.d.ts +1 -0
- package/dist/utils/dates.d.ts +17 -0
- package/dist/utils/excel/ChargeImport.d.ts +16 -0
- package/dist/utils/excel/CompanyImport.d.ts +4 -0
- package/dist/utils/excel/CustomerImport.d.ts +13 -0
- package/dist/utils/excel/ImportHelpers.d.ts +3 -0
- package/dist/utils/excel/PaymentImport.d.ts +7 -0
- package/dist/utils/excel/UserImport.d.ts +30 -0
- package/dist/utils/excel/formatCells.d.ts +2 -0
- package/dist/utils/excel/generateExcel.d.ts +44 -0
- package/dist/utils/excel/getCellsWithDataTypes.d.ts +7 -0
- package/dist/utils/isSafeCNPJ.d.ts +7 -0
- package/dist/utils/isSafeCPF.d.ts +6 -0
- package/dist/utils/isSafeUtils.d.ts +1 -0
- package/dist/utils/maskMoney.d.ts +2 -0
- package/dist/utils/onlyDigits.d.ts +1 -0
- package/dist/utils/parseNumber.d.ts +3 -0
- package/dist/utils/parsePhoneNumber.d.ts +1 -0
- package/dist/windowPopper/WindowPopper.d.ts +16 -0
- package/dist/windowPopper/WindowPopperTransition.d.ts +6 -0
- 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,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,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,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
|
+
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,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,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,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,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,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;
|