@woovi/ui 6.8.28 → 6.9.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/dist/index.cjs +15 -2
- package/dist/index.js +15 -2
- package/dist/llms.txt +79 -0
- package/dist/src/datagrid/DataGrid.d.ts +15 -0
- package/dist/{filter → src/filter}/Filter.d.ts +1 -1
- package/dist/{index.d.ts → src/index.d.ts} +7 -1
- package/dist/src/muiTable/Body.d.ts +16 -0
- package/dist/src/muiTable/Footer.d.ts +9 -0
- package/dist/src/muiTable/Header.d.ts +11 -0
- package/dist/src/muiTable/Table.d.ts +85 -0
- package/dist/src/muiTable/TableRelayPagination.d.ts +7 -0
- package/dist/src/muiTable/cells/Cell.d.ts +12 -0
- package/dist/src/muiTable/cells/CellCheckbox.d.ts +17 -0
- package/dist/src/muiTable/cells/CellCurrency.d.ts +10 -0
- package/dist/src/muiTable/cells/CellCustom.d.ts +10 -0
- package/dist/src/muiTable/cells/CellDate.d.ts +10 -0
- package/dist/src/muiTable/cells/CellEditable.d.ts +11 -0
- package/dist/src/muiTable/cells/CellIcon.d.ts +8 -0
- package/dist/src/muiTable/cells/CellLink.d.ts +10 -0
- package/dist/src/muiTable/cells/CellString.d.ts +12 -0
- package/dist/src/muiTable/cells/CellTags.d.ts +11 -0
- package/dist/src/muiTable/cells/RenderCell.d.ts +12 -0
- package/dist/src/muiTable/cells/cellTypes.d.ts +15 -0
- package/dist/src/muiTable/cells/index.d.ts +8 -0
- package/dist/src/muiTable/useTableProps.d.ts +7 -0
- package/dist/{multifactor → src/multifactor}/MultiFactorConfirmModal.d.ts +1 -1
- package/dist/{openpix → src/openpix}/cobr/CobrTagStatus.d.ts +1 -1
- package/dist/{routed → src/routed}/RoutedTabs.d.ts +1 -1
- package/dist/{screenHeader → src/screenHeader}/ScreenHeaderUI.d.ts +1 -1
- package/dist/{statement → src/statement}/ledgerStatementColors.d.ts +1 -1
- package/dist/{statement → src/statement}/statementColors.d.ts +1 -1
- package/dist/{timeline → src/timeline}/TimelineAppEventDomainIcon.d.ts +1 -1
- package/package.json +5 -3
- package/dist/datagrid/DataGrid.d.ts +0 -21
- /package/dist/{BackButton.d.ts → src/BackButton.d.ts} +0 -0
- /package/dist/{Banner.d.ts → src/Banner.d.ts} +0 -0
- /package/dist/{BannerError.d.ts → src/BannerError.d.ts} +0 -0
- /package/dist/{BannerInfos.d.ts → src/BannerInfos.d.ts} +0 -0
- /package/dist/{CashbackTagStatus.d.ts → src/CashbackTagStatus.d.ts} +0 -0
- /package/dist/{ClockIcon.d.ts → src/ClockIcon.d.ts} +0 -0
- /package/dist/{CopyInput.d.ts → src/CopyInput.d.ts} +0 -0
- /package/dist/{EncryptedText.d.ts → src/EncryptedText.d.ts} +0 -0
- /package/dist/{FloatingMenu.d.ts → src/FloatingMenu.d.ts} +0 -0
- /package/dist/{LayoutRoot.d.ts → src/LayoutRoot.d.ts} +0 -0
- /package/dist/{Link.d.ts → src/Link.d.ts} +0 -0
- /package/dist/{Loading.d.ts → src/Loading.d.ts} +0 -0
- /package/dist/{Logo.d.ts → src/Logo.d.ts} +0 -0
- /package/dist/{Modal → src/Modal}/Modal.d.ts +0 -0
- /package/dist/{RadioCard → src/RadioCard}/RadioCard.d.ts +0 -0
- /package/dist/{ReactRouterLinkBehavior.d.ts → src/ReactRouterLinkBehavior.d.ts} +0 -0
- /package/dist/{Row.d.ts → src/Row.d.ts} +0 -0
- /package/dist/{SearchField.d.ts → src/SearchField.d.ts} +0 -0
- /package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialog.d.ts +0 -0
- /package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogActions.d.ts +0 -0
- /package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogClose.d.ts +0 -0
- /package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogContent.d.ts +0 -0
- /package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogModal.d.ts +0 -0
- /package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogTitle.d.ts +0 -0
- /package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogTrigger.d.ts +0 -0
- /package/dist/{ThemeProvider.d.ts → src/ThemeProvider.d.ts} +0 -0
- /package/dist/{TransactionTagStatus.d.ts → src/TransactionTagStatus.d.ts} +0 -0
- /package/dist/{avatar → src/avatar}/Avatar.d.ts +0 -0
- /package/dist/{breadcrumb → src/breadcrumb}/Breadcrumb.d.ts +0 -0
- /package/dist/{breadcrumb → src/breadcrumb}/BreadcrumbItem.d.ts +0 -0
- /package/dist/{breadcrumb → src/breadcrumb}/index.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/ActionButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/ButtonMenu.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/CopyButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/PayWithPixButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/ResponsiveSplitButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/SplitButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/clickpix/DonateClickPixButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/clickpix/DonateWithClickButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/getLoadingIconProp.d.ts +0 -0
- /package/dist/{card → src/card}/Card.d.ts +0 -0
- /package/dist/{card → src/card}/CardActions.d.ts +0 -0
- /package/dist/{card → src/card}/CardContent.d.ts +0 -0
- /package/dist/{card → src/card}/CardCopy.d.ts +0 -0
- /package/dist/{card → src/card}/CardForm.d.ts +0 -0
- /package/dist/{card → src/card}/CardSelectable.d.ts +0 -0
- /package/dist/{card → src/card}/CardStep.d.ts +0 -0
- /package/dist/{card → src/card}/CardWithIcon.d.ts +0 -0
- /package/dist/{card → src/card}/CardWithLink.d.ts +0 -0
- /package/dist/{card → src/card}/CardWithLinkSkeleton.d.ts +0 -0
- /package/dist/{card → src/card}/cardWithActions/CardFooter.d.ts +0 -0
- /package/dist/{card → src/card}/cardWithActions/CardHeader.d.ts +0 -0
- /package/dist/{card → src/card}/cardWithActions/CardWithActions.d.ts +0 -0
- /package/dist/{cardAnalytics → src/cardAnalytics}/CardAnalytics.d.ts +0 -0
- /package/dist/{cardAnalytics → src/cardAnalytics}/CardAnalyticsSkeleton.d.ts +0 -0
- /package/dist/{cardGrid → src/cardGrid}/CardField.d.ts +0 -0
- /package/dist/{cardGrid → src/cardGrid}/CardGrid.d.ts +0 -0
- /package/dist/{cardGrid → src/cardGrid}/Grid.d.ts +0 -0
- /package/dist/{cardWithImage → src/cardWithImage}/CardWithImage.d.ts +0 -0
- /package/dist/{clickpix → src/clickpix}/ClickPixButton.d.ts +0 -0
- /package/dist/{clickpix → src/clickpix}/ClickPixLogo.d.ts +0 -0
- /package/dist/{code → src/code}/Code.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/Collapse.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/Collapsible.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleDetails.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleGroup.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsiblePanelActions.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleStep.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleStepHeader.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleSummary.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleTree.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/ExpandMoreIcon.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/LeafCollapsible.d.ts +0 -0
- /package/dist/{content → src/content}/ActionMargin.d.ts +0 -0
- /package/dist/{content → src/content}/Content.d.ts +0 -0
- /package/dist/{countdown → src/countdown}/Countdown.d.ts +0 -0
- /package/dist/{countdown → src/countdown}/ShowCounter.d.ts +0 -0
- /package/dist/{countdown → src/countdown}/useCountdown.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/DataGridDetailContainer.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/DataGridGridToolbarExport.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/DataGridLoading.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/DataGridRow.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeBasisToPercentage.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeBoolean.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeCurrency.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeDate.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeDatetime.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeDatetimeSeconds.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeExpand.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeLink.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypePhone.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeTag.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeTaxID.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeTime.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/columnTypes.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/useTableView.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/wrapColumnTypes.d.ts +0 -0
- /package/dist/{dialog → src/dialog}/DialogContext.d.ts +0 -0
- /package/dist/{dialog → src/dialog}/DialogProvider.d.ts +0 -0
- /package/dist/{dialog → src/dialog}/index.d.ts +0 -0
- /package/dist/{dialog → src/dialog}/useDialog.d.ts +0 -0
- /package/dist/{drawer → src/drawer}/DrawerCard.d.ts +0 -0
- /package/dist/{drawer → src/drawer}/DrawerResponsiveWrapper.d.ts +0 -0
- /package/dist/{error → src/error}/ErrorBoundaryWithRetry.d.ts +0 -0
- /package/dist/{error → src/error}/ErrorView.d.ts +0 -0
- /package/dist/{filter → src/filter}/FilterRelayFormik.d.ts +0 -0
- /package/dist/{filter → src/filter}/fieldToParamConfigMap.d.ts +0 -0
- /package/dist/{filter → src/filter}/formatFilterValue.d.ts +0 -0
- /package/dist/{filter → src/filter}/formatFilters.d.ts +0 -0
- /package/dist/{filter → src/filter}/isValidDatetime.d.ts +0 -0
- /package/dist/{filter → src/filter}/useFilterFormik.d.ts +0 -0
- /package/dist/{form → src/form}/FieldRow.d.ts +0 -0
- /package/dist/{heading → src/heading}/SectionHeading.d.ts +0 -0
- /package/dist/{helpers → src/helpers}/Divider.d.ts +0 -0
- /package/dist/{helpers → src/helpers}/HorizontalStack.d.ts +0 -0
- /package/dist/{helpers.d.ts → src/helpers.d.ts} +0 -0
- /package/dist/{hooks → src/hooks}/useControlledState.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useCopyToClipboard.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/usePooling.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useWindowHelpers.d.ts +0 -0
- /package/dist/{icons → src/icons}/AssineOnlineIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/BotConversaIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/CheckIconLabel.d.ts +0 -0
- /package/dist/{icons → src/icons}/CheckboxChecked.d.ts +0 -0
- /package/dist/{icons → src/icons}/CheckboxIndeterminate.d.ts +0 -0
- /package/dist/{icons → src/icons}/CheckboxUnchecked.d.ts +0 -0
- /package/dist/{icons → src/icons}/CvvIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/DownloadIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/Icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/MetaIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/N8nIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/NfeIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/NuvemshopIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/RejectIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/SVG.d.ts +0 -0
- /package/dist/{icons → src/icons}/SearchIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/SocPanelIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/SuccessIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/WabizIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/WakeIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/WarningIcon.d.ts +0 -0
- /package/dist/{import → src/import}/Dropzone.d.ts +0 -0
- /package/dist/{import → src/import}/DropzoneFile.d.ts +0 -0
- /package/dist/{layoutWrapper → src/layoutWrapper}/LayoutWrapper.d.ts +0 -0
- /package/dist/{link → src/link}/WooviLink.d.ts +0 -0
- /package/dist/{logo → src/logo}/WooviLogo.d.ts +0 -0
- /package/dist/{mui → src/mui}/BoxFlex.d.ts +0 -0
- /package/dist/{mui → src/mui}/Typography.d.ts +0 -0
- /package/dist/{multifactor → src/multifactor}/MultiFactorPixPaymentMatch.d.ts +0 -0
- /package/dist/{multifactor → src/multifactor}/MultiFactorPixPaymentMismatch.d.ts +0 -0
- /package/dist/{multifactor → src/multifactor}/MultiFactorPixPaymentView.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/charge/ChargeTagStatus.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/order/CheckIcon.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/order/PixPaymentWoovi.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/AdditionalInfo.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/CopyBarcode.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/CopyQRCode.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/ErrorIcon.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/PaymentFooter.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/QrCodeShowButton.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/QrCodeWrapper.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/shopper/WooviAuthForm.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/transaction/PixTransactionTypeTag.d.ts +0 -0
- /package/dist/{paymentLinkRow → src/paymentLinkRow}/PaymentLinkRow.d.ts +0 -0
- /package/dist/{pinInput → src/pinInput}/PinInput.d.ts +0 -0
- /package/dist/{pinInput → src/pinInput}/PinInputFormik.d.ts +0 -0
- /package/dist/{pinInput → src/pinInput}/createPinArray.d.ts +0 -0
- /package/dist/{pinInput → src/pinInput}/pinInputRegex.d.ts +0 -0
- /package/dist/{relay → src/relay}/RefreshButtonRelay.d.ts +0 -0
- /package/dist/{relay → src/relay}/SearchInputRelay.d.ts +0 -0
- /package/dist/{relay → src/relay}/TopPagination.d.ts +0 -0
- /package/dist/{rewardTicket → src/rewardTicket}/RewardTicket.d.ts +0 -0
- /package/dist/{ribbon → src/ribbon}/Ribbon.d.ts +0 -0
- /package/dist/{roles → src/roles}/Roles.d.ts +0 -0
- /package/dist/{roles → src/roles}/modules.d.ts +0 -0
- /package/dist/{root → src/root}/ContentBoundary.d.ts +0 -0
- /package/dist/{router → src/router}/drawRoutes.d.ts +0 -0
- /package/dist/{router → src/router}/getFiltersFromLocation.d.ts +0 -0
- /package/dist/{router → src/router}/getQuery.d.ts +0 -0
- /package/dist/{router → src/router}/getRouteFromPath.d.ts +0 -0
- /package/dist/{router → src/router}/stringToValue.d.ts +0 -0
- /package/dist/{router → src/router}/types.d.ts +0 -0
- /package/dist/{screenHeader → src/screenHeader}/components/ScreenHeaderSubtitle.d.ts +0 -0
- /package/dist/{screenHeader → src/screenHeader}/components/ScreenHeaderTitle.d.ts +0 -0
- /package/dist/{screenHeaderCard → src/screenHeaderCard}/ScreenHeaderCard.d.ts +0 -0
- /package/dist/{search → src/search}/GlobalSearchField.d.ts +0 -0
- /package/dist/{select → src/select}/Select.d.ts +0 -0
- /package/dist/{shared → src/shared}/AppEnvironmentEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/CashbackStatus.d.ts +0 -0
- /package/dist/{shared → src/shared}/appEventDomains.d.ts +0 -0
- /package/dist/{shared → src/shared}/chargeStatusEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/cobrStatusEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/getSelected.d.ts +0 -0
- /package/dist/{shared → src/shared}/multiFactorActionEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/pixAuthenticationResultEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/pixTransactionEntryTypes.d.ts +0 -0
- /package/dist/{shared → src/shared}/pixTransactionStatus.d.ts +0 -0
- /package/dist/{shared → src/shared}/pixTransactionTypes.d.ts +0 -0
- /package/dist/{shared → src/shared}/queryString.d.ts +0 -0
- /package/dist/{shared → src/shared}/statementTypes.d.ts +0 -0
- /package/dist/{shared → src/shared}/subscriptionInstallmentEnum.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/Group.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/Item.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/MenuList.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/Sidebar.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/SidebarContext.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/index.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/useSidebar.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/utils.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/CloseSnack.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/Snackbar.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/SnackbarContext.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/index.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/useSnackbar.d.ts +0 -0
- /package/dist/{statement → src/statement}/TransactionTypeText.d.ts +0 -0
- /package/dist/{swipeableModal → src/swipeableModal}/SwipeableModal.d.ts +0 -0
- /package/dist/{swipeableModal → src/swipeableModal}/SwipeableModalTransition.d.ts +0 -0
- /package/dist/{table → src/table}/CardColumn.d.ts +0 -0
- /package/dist/{table → src/table}/CardListLoading.d.ts +0 -0
- /package/dist/{table → src/table}/CardListVirtualized.d.ts +0 -0
- /package/dist/{table → src/table}/TableToggleViewModel.d.ts +0 -0
- /package/dist/{table → src/table}/emv/TablePixEMV.d.ts +0 -0
- /package/dist/{table → src/table}/emv/emvParser.d.ts +0 -0
- /package/dist/{table → src/table}/emv/emvTags.d.ts +0 -0
- /package/dist/{tag → src/tag}/Tag.d.ts +0 -0
- /package/dist/{tag → src/tag}/TagsContainer.d.ts +0 -0
- /package/dist/{term → src/term}/Terms.d.ts +0 -0
- /package/dist/{term → src/term}/TermsLink.d.ts +0 -0
- /package/dist/{text → src/text}/TextMultiline.d.ts +0 -0
- /package/dist/{text → src/text}/TruncatedText.d.ts +0 -0
- /package/dist/{theme → src/theme}/HeaderButtonTheme.d.ts +0 -0
- /package/dist/{theme → src/theme}/Themes.d.ts +0 -0
- /package/dist/{timeline → src/timeline}/Timeline.d.ts +0 -0
- /package/dist/{timeline → src/timeline}/TimelineAppEventItem.d.ts +0 -0
- /package/dist/{timeline → src/timeline}/TimelineItem.d.ts +0 -0
- /package/dist/{unSupportedBrowser → src/unSupportedBrowser}/UnsupportedBrowserWarning.d.ts +0 -0
- /package/dist/{unSupportedBrowser → src/unSupportedBrowser}/index.d.ts +0 -0
- /package/dist/{unSupportedBrowser → src/unSupportedBrowser}/isUnSupportedBrowser.d.ts +0 -0
- /package/dist/{user → src/user}/chip/UserChip.d.ts +0 -0
- /package/dist/{utils → src/utils}/BrowserOnly.d.ts +0 -0
- /package/dist/{utils → src/utils}/DesktopOnly.d.ts +0 -0
- /package/dist/{utils → src/utils}/MobileOnly.d.ts +0 -0
- /package/dist/{utils → src/utils}/composeEventHandlers.d.ts +0 -0
- /package/dist/{utils → src/utils}/composeStyles.d.ts +0 -0
- /package/dist/{utils → src/utils}/convertToCents.d.ts +0 -0
- /package/dist/{utils → src/utils}/convertToCurrency.d.ts +0 -0
- /package/dist/{utils → src/utils}/convertToMoney.d.ts +0 -0
- /package/dist/{utils → src/utils}/copyToClipboard.d.ts +0 -0
- /package/dist/{utils → src/utils}/dates.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/ChargeImport.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/CompanyImport.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/CustomerImport.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/ImportHelpers.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/PaymentImport.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/UserImport.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/formatCells.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/generateExcel.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/getCellsWithDataTypes.d.ts +0 -0
- /package/dist/{utils → src/utils}/isSafeCPF.d.ts +0 -0
- /package/dist/{utils → src/utils}/maskMoney.d.ts +0 -0
- /package/dist/{utils → src/utils}/parseNumber.d.ts +0 -0
- /package/dist/{utils → src/utils}/parsePhoneNumber.d.ts +0 -0
- /package/dist/{utils → src/utils}/rifmFormatToCPF.d.ts +0 -0
- /package/dist/{windowPopper → src/windowPopper}/WindowPopper.d.ts +0 -0
- /package/dist/{windowPopper → src/windowPopper}/WindowPopperTransition.d.ts +0 -0
package/dist/llms.txt
CHANGED
|
@@ -1049,6 +1049,85 @@ import {
|
|
|
1049
1049
|
- TableToggleViewModel: https://storybook.woovi.design/?path=/docs/components-table-tabletoggleviewmodel--docs
|
|
1050
1050
|
- TablePixEMV: https://storybook.woovi.design/?path=/docs/components-table-tablepixemv--docs
|
|
1051
1051
|
|
|
1052
|
+
## MuiTable
|
|
1053
|
+
|
|
1054
|
+
Tabela MUI com paginação, seleção de linhas e multiplos tipos de celula. Substitui o pacote `@woovi/table` (descontinuado). Use com `useRelayPagination` de `@woovi/hooks` para consumers Relay.
|
|
1055
|
+
|
|
1056
|
+
```tsx
|
|
1057
|
+
import { Table, TableRelayPagination, CELL_TYPES, useTableProps } from '@woovi/ui';
|
|
1058
|
+
import type { TableColumn } from '@woovi/ui';
|
|
1059
|
+
import { useRelayPagination } from '@woovi/hooks';
|
|
1060
|
+
|
|
1061
|
+
// Definicao de colunas
|
|
1062
|
+
const columns: TableColumn<User>[] = [
|
|
1063
|
+
{ property: 'name', type: CELL_TYPES.STRING, header: { label: 'Nome' } },
|
|
1064
|
+
{ property: 'email', type: CELL_TYPES.STRING, header: { label: 'E-mail' } },
|
|
1065
|
+
{ property: 'amount', type: CELL_TYPES.CURRENCY, header: { label: 'Saldo' } },
|
|
1066
|
+
{ property: 'createdAt', type: CELL_TYPES.DATETIME, header: { label: 'Data' } },
|
|
1067
|
+
// Renderizacao customizada
|
|
1068
|
+
{
|
|
1069
|
+
property: 'status',
|
|
1070
|
+
header: { label: 'Status' },
|
|
1071
|
+
renderRow: (value) => <StatusChip status={value} />,
|
|
1072
|
+
},
|
|
1073
|
+
// Link para rota interna
|
|
1074
|
+
{
|
|
1075
|
+
property: 'id',
|
|
1076
|
+
type: CELL_TYPES.LINK,
|
|
1077
|
+
header: { label: 'ID' },
|
|
1078
|
+
getClickPath: (value) => `/transactions/${value}`,
|
|
1079
|
+
},
|
|
1080
|
+
// Menu de acoes
|
|
1081
|
+
{
|
|
1082
|
+
property: 'id',
|
|
1083
|
+
type: CELL_TYPES.ACTIONS,
|
|
1084
|
+
header: { label: '' },
|
|
1085
|
+
actions: [
|
|
1086
|
+
{ label: 'Editar', action: (row) => handleEdit(row) },
|
|
1087
|
+
{ label: 'Excluir', action: (row) => handleDelete(row) },
|
|
1088
|
+
],
|
|
1089
|
+
},
|
|
1090
|
+
];
|
|
1091
|
+
|
|
1092
|
+
// Table simples (dados em memoria)
|
|
1093
|
+
const { isLoading, quantityPerPage, setQuantityPerPage } = useTableProps();
|
|
1094
|
+
<Table
|
|
1095
|
+
columns={columns}
|
|
1096
|
+
rows={users}
|
|
1097
|
+
isLoading={isLoading}
|
|
1098
|
+
emptyMessage="Nenhum resultado encontrado"
|
|
1099
|
+
rowsPerPage={quantityPerPage}
|
|
1100
|
+
totalItems={users.length}
|
|
1101
|
+
firstItemIndex={0}
|
|
1102
|
+
lastItemIndex={users.length}
|
|
1103
|
+
handleRowsPerPageChange={setQuantityPerPage}
|
|
1104
|
+
handlePageChange={() => {}}
|
|
1105
|
+
isSelectable={false}
|
|
1106
|
+
isRowClickEnabled={() => false}
|
|
1107
|
+
fixedHeader={false}
|
|
1108
|
+
height="auto"
|
|
1109
|
+
onSelectedRowsChange={() => {}}
|
|
1110
|
+
onRowCheck={() => {}}
|
|
1111
|
+
onSelectAllCheck={() => {}}
|
|
1112
|
+
selectedRows={[]}
|
|
1113
|
+
/>
|
|
1114
|
+
|
|
1115
|
+
// TableRelayPagination — consumer Relay com useRelayPagination
|
|
1116
|
+
const { edges, paginationProps } = useRelayPagination({ connection, relay });
|
|
1117
|
+
<TableRelayPagination
|
|
1118
|
+
columns={columns}
|
|
1119
|
+
edges={edges}
|
|
1120
|
+
isLoading={isLoading}
|
|
1121
|
+
emptyMessage="Nenhum resultado"
|
|
1122
|
+
{...paginationProps}
|
|
1123
|
+
/>
|
|
1124
|
+
```
|
|
1125
|
+
|
|
1126
|
+
Tipos de célula disponíveis em CELL_TYPES: STRING, CURRENCY, DATE, TIME, DATETIME, LINK, ICON, ACTIONS, CHECKBOX, EDITABLE, TAG. Use `renderRow` para renderização JSX customizada em qualquer coluna.
|
|
1127
|
+
|
|
1128
|
+
- Table: https://storybook.woovi.design/?path=/docs/components-muitable-table--docs
|
|
1129
|
+
- TableRelayPagination: https://storybook.woovi.design/?path=/docs/components-muitable-table--relay-pagination
|
|
1130
|
+
|
|
1052
1131
|
## Tag
|
|
1053
1132
|
|
|
1054
1133
|
Componentes de tag e status.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DataGridProProps as MUIDataGridProProps } from "@mui/x-data-grid-pro";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export type DataGridProps = MUIDataGridProProps & {
|
|
4
|
+
rowHref?: (row: any) => string;
|
|
5
|
+
maxLines?: number;
|
|
6
|
+
zebraRow?: boolean;
|
|
7
|
+
tableName?: string;
|
|
8
|
+
rowAnchor?: boolean;
|
|
9
|
+
exportTable?: boolean;
|
|
10
|
+
persistState?: boolean;
|
|
11
|
+
getCustomRoute?: (id: string) => string;
|
|
12
|
+
disableSelectAllCheckbox?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const DataGrid: ({ rows, slots: slotsProp, rowHref, density, columns: _columns, maxLines, zebraRow, rowAnchor, onRowClick, showToolbar, exportTable, persistState, initialState, getCustomRoute, rowSelectionModel, onRowSelectionModelChange, ...rest }: DataGridProps) => ReactNode;
|
|
15
|
+
export default DataGrid;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DrawerProps } from "@mui/material/Drawer";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
-
export { getFiltersFromLocation } from "
|
|
3
|
+
export { getFiltersFromLocation } from "../../router/getFiltersFromLocation";
|
|
4
4
|
type Props = {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
isOpen: boolean;
|
|
@@ -116,7 +116,7 @@ export { cellTypeLink } from "./datagrid/cellTypeLink.tsx";
|
|
|
116
116
|
export { cellTypePhone } from "./datagrid/cellTypePhone.tsx";
|
|
117
117
|
export { cellTypeTag } from "./datagrid/cellTypeTag.tsx";
|
|
118
118
|
export type { DataGridProps } from "./datagrid/DataGrid.tsx";
|
|
119
|
-
export { default as DataGrid
|
|
119
|
+
export { default as DataGrid } from "./datagrid/DataGrid.tsx";
|
|
120
120
|
export { DataGridDetailContainer } from "./datagrid/DataGridDetailContainer.tsx";
|
|
121
121
|
export { DataGridLoading } from "./datagrid/DataGridLoading.tsx";
|
|
122
122
|
export { useTableView } from "./datagrid/useTableView.tsx";
|
|
@@ -174,3 +174,9 @@ export { BrowserOnly } from "./utils/BrowserOnly.tsx";
|
|
|
174
174
|
export { DesktopOnly } from "./utils/DesktopOnly.tsx";
|
|
175
175
|
export { MobileOnly } from "./utils/MobileOnly.tsx";
|
|
176
176
|
export { WindowPopper } from "./windowPopper/WindowPopper.tsx";
|
|
177
|
+
export { default as Table } from './muiTable/Table.tsx';
|
|
178
|
+
export type { Props as TableProps, NodeT, Sort, TableColumn, TableColumns } from './muiTable/Table.tsx';
|
|
179
|
+
export { default as TableRelayPagination } from './muiTable/TableRelayPagination.tsx';
|
|
180
|
+
export type { TableRelayPaginationProps } from './muiTable/TableRelayPagination.tsx';
|
|
181
|
+
export { CELL_TYPES } from './muiTable/cells/index.ts';
|
|
182
|
+
export { useTableProps } from './muiTable/useTableProps.tsx';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from './Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
emptyMessage: string;
|
|
5
|
+
isSelectable: boolean;
|
|
6
|
+
isRowSelected: (row: NodeT<T>) => boolean;
|
|
7
|
+
isRowDisabled?: (row: NodeT<T>) => boolean;
|
|
8
|
+
onRowCheck: (row: NodeT<T>, checked: boolean) => void;
|
|
9
|
+
onRowClick: (row: NodeT<T>) => void;
|
|
10
|
+
isRowClickEnabled: (row: NodeT<T>) => boolean;
|
|
11
|
+
rows: NodeT<T>[];
|
|
12
|
+
columns: TableColumn<T>[];
|
|
13
|
+
extraRow?: any[];
|
|
14
|
+
};
|
|
15
|
+
declare const TableBody: <T extends object>(props: Props<T>) => ReactNode;
|
|
16
|
+
export default TableBody;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
rowsPerPage: number;
|
|
3
|
+
firstItemIndex: number;
|
|
4
|
+
totalItems: number;
|
|
5
|
+
handlePageChange: (state: boolean) => void;
|
|
6
|
+
handleRowsPerPageChange: (value: number) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const TableFooter: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default TableFooter;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from './Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
selectedRows: NodeT<T>[];
|
|
5
|
+
rows: NodeT<T>[];
|
|
6
|
+
columns: TableColumn<T>[];
|
|
7
|
+
onSelectAllCheck: (rows: NodeT<T>[]) => void;
|
|
8
|
+
isSelectable: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const TableHeader: <T extends object>(props: Props<T>) => ReactNode;
|
|
11
|
+
export default TableHeader;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { TableProps } from '@mui/material/Table';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export type NodeT<T> = {
|
|
4
|
+
id?: string;
|
|
5
|
+
} & T;
|
|
6
|
+
export type Edge<T> = {
|
|
7
|
+
node: NodeT<T>;
|
|
8
|
+
};
|
|
9
|
+
export type Action<T> = {
|
|
10
|
+
label: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
action: (row: T) => void;
|
|
13
|
+
};
|
|
14
|
+
export type Sort<T> = {
|
|
15
|
+
order: 'desc' | 'asc' | undefined;
|
|
16
|
+
orderBy: string;
|
|
17
|
+
onSort: (column: TableColumn<T>) => void;
|
|
18
|
+
};
|
|
19
|
+
export type TableColumn<T> = {
|
|
20
|
+
property: string | ((row: NodeT<T>) => string);
|
|
21
|
+
header?: {
|
|
22
|
+
label: string;
|
|
23
|
+
icon?: string;
|
|
24
|
+
type?: string;
|
|
25
|
+
onChange?: (value: string, row: NodeT<T>) => void;
|
|
26
|
+
};
|
|
27
|
+
onChange?: (value: string, row: NodeT<T>) => void;
|
|
28
|
+
icon?: string | ((row: T) => string);
|
|
29
|
+
rightIcon?: string | ((row: T) => string);
|
|
30
|
+
type?: string;
|
|
31
|
+
clickPath?: string | ((row: T) => string);
|
|
32
|
+
renderRow?: (value: string, row: NodeT<T>) => any;
|
|
33
|
+
onClick?: (row: T, rowIndex?: number) => void;
|
|
34
|
+
actions?: Action<T>[] | ((row: T) => Action<T>[]);
|
|
35
|
+
shouldShowRow?: (row: T, column: TableColumn<T>) => boolean;
|
|
36
|
+
minWidth?: number;
|
|
37
|
+
value?: string;
|
|
38
|
+
cellProps?: Record<string, unknown>;
|
|
39
|
+
sort?: Sort<T>;
|
|
40
|
+
isColumnChecked?: (row: T) => boolean;
|
|
41
|
+
onColumnCheck?: (row: T) => void;
|
|
42
|
+
isColumnDisabled?: (row: T) => boolean;
|
|
43
|
+
route?: {
|
|
44
|
+
value: string;
|
|
45
|
+
params: Record<string, unknown>;
|
|
46
|
+
};
|
|
47
|
+
format?: string;
|
|
48
|
+
getClickPath?: (value: any, row: NodeT<T>) => string | undefined;
|
|
49
|
+
};
|
|
50
|
+
export type TableColumns<T> = TableColumn<T>[];
|
|
51
|
+
export type Props<T> = {
|
|
52
|
+
onRowClick?: (row: T) => void;
|
|
53
|
+
isRowClickEnabled: (row: T) => boolean;
|
|
54
|
+
columns: TableColumn<T>[];
|
|
55
|
+
rows: NodeT<T>[];
|
|
56
|
+
height: string;
|
|
57
|
+
hideFooter?: boolean;
|
|
58
|
+
fixedHeader: boolean;
|
|
59
|
+
isLoading?: boolean;
|
|
60
|
+
emptyMessage: string;
|
|
61
|
+
handleRowsPerPageChange: (quantity: number) => void;
|
|
62
|
+
rowsPerPage: number;
|
|
63
|
+
totalItems: number;
|
|
64
|
+
firstItemIndex: number;
|
|
65
|
+
lastItemIndex: number;
|
|
66
|
+
handlePageChange: (isForward: boolean) => void;
|
|
67
|
+
isSelectable: boolean;
|
|
68
|
+
onSelectedRowsChange: (selectedRows: NodeT<T>[]) => void;
|
|
69
|
+
onRowCheck: (row: T, checkedState: boolean) => void;
|
|
70
|
+
onSelectAllCheck: (selectedRows: NodeT<T>[]) => void;
|
|
71
|
+
selectedRows: T[];
|
|
72
|
+
isRowSelected?: (row: T) => boolean;
|
|
73
|
+
handleLoading?: (value: boolean, callback: () => void) => void;
|
|
74
|
+
setIsLoading?: (value: boolean) => void;
|
|
75
|
+
currentSort?: any;
|
|
76
|
+
onSort?: (column: TableColumn<T>) => void;
|
|
77
|
+
showCheckbox?: boolean;
|
|
78
|
+
sortColumns?: string[];
|
|
79
|
+
columnsNames?: string[];
|
|
80
|
+
hasPreviousPage?: boolean;
|
|
81
|
+
hasNextPage?: boolean;
|
|
82
|
+
staticContext?: any;
|
|
83
|
+
} & TableProps;
|
|
84
|
+
declare const Table: <T extends object>(props: Props<T>) => ReactNode;
|
|
85
|
+
export default Table;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Edge, Props as TableProps } from './Table.tsx';
|
|
3
|
+
export type TableRelayPaginationProps<T extends object> = {
|
|
4
|
+
edges: Edge<T>[];
|
|
5
|
+
} & Omit<TableProps<T>, 'rows'>;
|
|
6
|
+
declare const TableRelayPagination: <T extends object>({ edges, columns, ...props }: TableRelayPaginationProps<T>) => ReactNode;
|
|
7
|
+
export default TableRelayPagination;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TableCellProps } from '@mui/material/TableCell';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { TableColumn } from '../Table.tsx';
|
|
4
|
+
type Props<T> = Omit<TableCellProps, 'onClick'> & {
|
|
5
|
+
onClick?: any;
|
|
6
|
+
column: TableColumn<T>;
|
|
7
|
+
cellProps?: Record<string, any>;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
staticContext?: any;
|
|
10
|
+
};
|
|
11
|
+
declare const Cell: <T extends object>(props: Props<T>) => ReactNode;
|
|
12
|
+
export default Cell;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
column?: TableColumn<T>;
|
|
5
|
+
row?: NodeT<T>;
|
|
6
|
+
cellProps?: Record<string, any>;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
indeterminate?: boolean;
|
|
9
|
+
onChange: () => void;
|
|
10
|
+
indeterminateIcon?: React.ReactNode;
|
|
11
|
+
checkedIcon?: React.ReactNode;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
dataTestID?: string;
|
|
15
|
+
};
|
|
16
|
+
declare const CellCheckbox: <T extends object>(props: Props<T>) => ReactNode;
|
|
17
|
+
export default CellCheckbox;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
column: TableColumn<T>;
|
|
5
|
+
row: NodeT<T>;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
cellProps?: Record<string, any>;
|
|
8
|
+
};
|
|
9
|
+
declare const CellCurrency: <T extends Record<string, unknown>>(props: Props<T>) => ReactNode;
|
|
10
|
+
export default CellCurrency;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
column: TableColumn<T>;
|
|
5
|
+
row: NodeT<T>;
|
|
6
|
+
cellProps?: Record<string, any>;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const CellCustom: <T extends object>(props: Props<T>) => ReactNode;
|
|
10
|
+
export default CellCustom;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
column: TableColumn<T>;
|
|
5
|
+
row: NodeT<T>;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
cellProps?: Record<string, any>;
|
|
8
|
+
};
|
|
9
|
+
declare const CellDate: <T extends Record<string, unknown>>(props: Props<T>) => ReactNode;
|
|
10
|
+
export default CellDate;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
2
|
+
type Props<T> = {
|
|
3
|
+
column?: TableColumn<T>;
|
|
4
|
+
row?: NodeT<T>;
|
|
5
|
+
onChange: (value: string, row: NodeT<T>) => void;
|
|
6
|
+
cellProps?: Record<string, any>;
|
|
7
|
+
header?: boolean;
|
|
8
|
+
value?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const CellEditable: <T extends object>(props: Props<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default CellEditable;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
2
|
+
type Props<T> = {
|
|
3
|
+
column: TableColumn<T>;
|
|
4
|
+
row: NodeT<T>;
|
|
5
|
+
cellProps?: Record<string, any>;
|
|
6
|
+
};
|
|
7
|
+
declare const CellIcon: <T extends object>(props: Props<T>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default CellIcon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
column: TableColumn<T>;
|
|
5
|
+
row: NodeT<T>;
|
|
6
|
+
cellProps?: Record<string, unknown>;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const CellLink: <T extends object>(props: Props<T>) => ReactNode;
|
|
10
|
+
export default CellLink;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
column: TableColumn<T>;
|
|
5
|
+
row: NodeT<T>;
|
|
6
|
+
cellProps?: {
|
|
7
|
+
onClick?: any;
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
declare const CellString: <T extends object>(props: Props<T>) => ReactNode;
|
|
12
|
+
export default CellString;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
3
|
+
type Props<T> = {
|
|
4
|
+
column: TableColumn<T>;
|
|
5
|
+
row: NodeT<T>;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
};
|
|
8
|
+
declare const CellTags: <T extends {
|
|
9
|
+
tags?: string[];
|
|
10
|
+
}>(props: Props<T>) => ReactNode;
|
|
11
|
+
export default CellTags;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { NodeT, TableColumn } from '../Table.tsx';
|
|
2
|
+
type Row = NodeT<{
|
|
3
|
+
emptyMessage?: string;
|
|
4
|
+
tags?: string[];
|
|
5
|
+
}> & Record<string, any>;
|
|
6
|
+
type CellProps = {
|
|
7
|
+
row: Row;
|
|
8
|
+
column: TableColumn<Row>;
|
|
9
|
+
cellProps: Record<string, unknown>;
|
|
10
|
+
};
|
|
11
|
+
declare const RenderCell: (props: CellProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default RenderCell;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const CELL_TYPES: {
|
|
2
|
+
TIME: string;
|
|
3
|
+
DATE: string;
|
|
4
|
+
DATETIME: string;
|
|
5
|
+
EMPTY: string;
|
|
6
|
+
STRING: string;
|
|
7
|
+
ICON: string;
|
|
8
|
+
ACTIONS: string;
|
|
9
|
+
CHECKBOX: string;
|
|
10
|
+
EDITABLE: string;
|
|
11
|
+
LINK: string;
|
|
12
|
+
CURRENCY: string;
|
|
13
|
+
TAG: string;
|
|
14
|
+
};
|
|
15
|
+
export default CELL_TYPES;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as CellString } from './CellString.tsx';
|
|
2
|
+
export { default as CellCheckbox } from './CellCheckbox.tsx';
|
|
3
|
+
export { default as CellCustom } from './CellCustom.tsx';
|
|
4
|
+
export { default as CellDate } from './CellDate.tsx';
|
|
5
|
+
export { default as CellIcon } from './CellIcon.tsx';
|
|
6
|
+
export { default as CellEditable } from './CellEditable.tsx';
|
|
7
|
+
export { default as CellLink } from './CellLink.tsx';
|
|
8
|
+
export { default as CELL_TYPES } from './cellTypes.ts';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const useTableProps: () => {
|
|
2
|
+
isLoading: boolean;
|
|
3
|
+
setIsLoading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
4
|
+
quantityPerPage: number;
|
|
5
|
+
setQuantityPerPage: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
6
|
+
handleLoading: (value: boolean, callback: () => void) => void;
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import { type MultiFactorActionEnum } from "
|
|
2
|
+
import { type MultiFactorActionEnum } from "../../shared/multiFactorActionEnum";
|
|
3
3
|
import { type PixAuthenticationArgs } from "./MultiFactorPixPaymentView.tsx";
|
|
4
4
|
type MultiFactorConfirmModalProps = {
|
|
5
5
|
title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import { COBR_STATUS_ENUM, COBR_TRY_STATUS } from "
|
|
2
|
+
import { COBR_STATUS_ENUM, COBR_TRY_STATUS } from "../../../shared/cobrStatusEnum";
|
|
3
3
|
import { type TagProps } from "../../tag/Tag.tsx";
|
|
4
4
|
type CobrTagStatusProps = TagProps & {
|
|
5
5
|
status: keyof typeof COBR_STATUS_ENUM;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import type { RouteParamsType, RouteType } from "
|
|
2
|
+
import type { RouteParamsType, RouteType } from "../../router/types";
|
|
3
3
|
export declare const hasTemp: (requiredFeatures?: any) => any;
|
|
4
4
|
type LabelParams = {
|
|
5
5
|
t: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
-
import type { RouteType } from "
|
|
3
|
+
import type { RouteType } from "../../router/types";
|
|
4
4
|
export type ScreenHeaderUIProps = {
|
|
5
5
|
routedTabs?: RouteType[];
|
|
6
6
|
children?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import { PIX_TRANSACTION_ENTRY_TYPES } from "
|
|
2
|
+
import { PIX_TRANSACTION_ENTRY_TYPES } from "../../shared/pixTransactionEntryTypes";
|
|
3
3
|
export declare const ledgerTypeColors: {
|
|
4
4
|
[PIX_TRANSACTION_ENTRY_TYPES.CREDIT]: string;
|
|
5
5
|
[PIX_TRANSACTION_ENTRY_TYPES.DEBIT]: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APP_EVENT_DOMAINS } from "
|
|
1
|
+
import { APP_EVENT_DOMAINS } from "../../shared/appEventDomains.ts";
|
|
2
2
|
export declare const TIMELINE_APPEVENT_DOMAIN_ICON: {
|
|
3
3
|
[APP_EVENT_DOMAINS.CHARGE]: import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
[APP_EVENT_DOMAINS.DISPUTE]: import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@woovi/ui",
|
|
3
3
|
"description": "Woovi UI component library",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.9.1",
|
|
5
5
|
"packageManager": "pnpm@10.28.1",
|
|
6
6
|
"author": "Woovi",
|
|
7
7
|
"dependencies": {
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"formik": "3.0.0-next.6",
|
|
21
21
|
"i18next": "^23.16.5",
|
|
22
22
|
"i18next-browser-languagedetector": "8.2.1",
|
|
23
|
+
"lodash": "^4.17.21",
|
|
23
24
|
"libphonenumber-js": "1.12.36",
|
|
24
25
|
"mime-types": "3.0.2",
|
|
25
26
|
"moment": "2.30.1",
|
|
@@ -59,11 +60,12 @@
|
|
|
59
60
|
"@storybook/addon-vitest": "^10.3.5",
|
|
60
61
|
"@storybook/react-vite": "^10.3.5",
|
|
61
62
|
"@types/dot-object": "^2.1.6",
|
|
63
|
+
"@types/lodash": "^4.14.197",
|
|
62
64
|
"@types/node": "^25.6.0",
|
|
63
65
|
"@types/react": "^18.3.12",
|
|
64
66
|
"@types/react-dom": "^18.3.0",
|
|
65
67
|
"@types/react-relay": "^18.2.1",
|
|
66
|
-
"@typescript/native-preview": "
|
|
68
|
+
"@typescript/native-preview": "beta",
|
|
67
69
|
"@vitest/browser-playwright": "^4.1.0",
|
|
68
70
|
"@vitest/coverage-v8": "^4.1.4",
|
|
69
71
|
"eslint": "^9.39.1",
|
|
@@ -79,7 +81,7 @@
|
|
|
79
81
|
"simple-git": "^3.30.0",
|
|
80
82
|
"storybook": "^10.3.5",
|
|
81
83
|
"turbo": "^2.9.6",
|
|
82
|
-
"typescript": "
|
|
84
|
+
"typescript": "npm:@typescript/typescript6@^6.0.0",
|
|
83
85
|
"typescript-eslint": "^8.54.0",
|
|
84
86
|
"vite": "^7.3.1",
|
|
85
87
|
"vitest": "^4.1.4"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { 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
|
-
rowHref?: (row: any) => string;
|
|
11
|
-
maxLines?: number;
|
|
12
|
-
zebraRow?: boolean;
|
|
13
|
-
tableName?: string;
|
|
14
|
-
rowAnchor?: boolean;
|
|
15
|
-
exportTable?: boolean;
|
|
16
|
-
persistState?: boolean;
|
|
17
|
-
getCustomRoute?: (id: string) => string;
|
|
18
|
-
disableSelectAllCheckbox?: boolean;
|
|
19
|
-
};
|
|
20
|
-
declare const DataGrid: ({ rows, slots: slotsProp, rowHref, columns: _columns, maxLines, zebraRow, rowAnchor, onRowClick, showToolbar, exportTable, persistState, initialState, getCustomRoute, rowSelectionModel, onRowSelectionModelChange, ...rest }: DataGridProps) => ReactNode;
|
|
21
|
-
export default DataGrid;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|