@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,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,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,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,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,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,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,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 @@
|
|
|
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,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;
|