@tesouro/embedded-components-react 0.5.236 → 0.5.245
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/fixtures/index.d.ts +3544 -505
- package/dist/fixtures/index.js +12 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +27 -27
- package/dist/lib/AcceptDisclosuresWidget.js +1 -1
- package/dist/lib/BalancesWidget.js +1 -1
- package/dist/lib/BankAccountOnboardingWidget.js +2 -2
- package/dist/lib/BankAccountsWidget.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/CardDetailsWidget.js +1 -1
- package/dist/lib/CounterpartsWidgetPublic.js +1 -1
- package/dist/lib/CreditCardsWidget.js +1 -1
- package/dist/lib/CustomersWidget.js +1 -1
- package/dist/lib/DebitCardsWidget.js +1 -1
- package/dist/lib/ExpenseManagementWidget.js +1 -1
- package/dist/lib/InsightsWidget.js +2 -2
- package/dist/lib/InvoicingWidget.js +1 -1
- package/dist/lib/LinkedAccountsWidget.js +1 -1
- package/dist/lib/MarketingWidget.js +2 -2
- package/dist/lib/ProductsWidget.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +4 -1
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/lib/SettingsWidget.js +2 -2
- package/dist/lib/TransfersWidget.js +2 -2
- package/dist/lib/UploadReceiptWidget.js +1 -1
- package/dist/lib/WidgetSuite.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/{index5.js → lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js} +18 -18
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/{index3.js → lib/AcceptDisclosuresWidget/resolveAcceptDisclosuresContent.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/{index4.js → lib/AcceptDisclosuresWidget/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/mocks/acceptDisclosures.js +62 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/mocks/labels.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/{index3.js → lib/BalancesWidget/BalancesWidgetContext.js} +12 -12
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/{index6.js → lib/BalancesWidget/BalancesWidgetFeature.js} +10 -10
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/{index5.js → lib/BalancesWidget/SingleBalance/SingleBalance.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/{index4.js → lib/BalancesWidget/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/mocks/balances.js +69 -0
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/mocks/labels.js +28 -0
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index18.js → lib/BankAccountOnboardingWidget/AdditionalOwnersStep.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index26.js → lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js} +50 -50
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index13.js → lib/BankAccountOnboardingWidget/BusinessDetailsStep.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index15.js → lib/BankAccountOnboardingWidget/PersonalDetailsStep.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index16.js → lib/BankAccountOnboardingWidget/additionalOwnerDraft.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index19.js → lib/BankAccountOnboardingWidget/apiMapping.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index23.js → lib/BankAccountOnboardingWidget/applicationStatusView.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index20.js → lib/BankAccountOnboardingWidget/buildOnboardingPrefill.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index11.js → lib/BankAccountOnboardingWidget/businessDetailsPanelMapping.js} +10 -10
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index21.js → lib/BankAccountOnboardingWidget/draftApplicationMapping.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index2.js → lib/BankAccountOnboardingWidget/fieldInput/formatPhoneNumberInput.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index8.js → lib/BankAccountOnboardingWidget/fieldInput/isValidWebsiteUrl.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index6.js → lib/BankAccountOnboardingWidget/fieldInput/maskIdentifierLast4.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index4.js → lib/BankAccountOnboardingWidget/fieldInput/maskedSsnInput.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index9.js → lib/BankAccountOnboardingWidget/fieldInput/maxBirthDate.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index5.js → lib/BankAccountOnboardingWidget/fieldInput/sanitizeTaxIdInput.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index3.js → lib/BankAccountOnboardingWidget/fieldInput/sanitizeZipCodeInput.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index7.js → lib/BankAccountOnboardingWidget/fieldInput/storedIdentifier.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index25.js → lib/BankAccountOnboardingWidget/hostInitialValues.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index22.js → lib/BankAccountOnboardingWidget/labels.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index14.js → lib/BankAccountOnboardingWidget/personalDetailsPanelMapping.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index10.js → lib/BankAccountOnboardingWidget/stepSchemas.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index12.js → lib/BankAccountOnboardingWidget/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index17.js → lib/BankAccountOnboardingWidget/valuesKey.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/{index24.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/mocks/bankAccountOnboarding.js +71 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/mocks/fixtures.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/mocks/labels.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/scenarios.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/{index8.js → lib/BankAccountsWidget/BankAccountsWidget.js} +11 -11
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/{index2.js → lib/BankAccountsWidget/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/{index3.js → lib/formatters.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/{index4.js → lib/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/{index5.js → lib/permissions.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/{index6.js → lib/teamMembers.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/{index7.js → lib/useBankAccountsWidget.js} +25 -25
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/mocks/bankAccounts.js +165 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/mocks/fixtures.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/mocks/labels.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/scenarios.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/{index3.js → lib/BillPayWidgetMonite/BillPayWidgetMonite.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetMonite/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/{index8.js → lib/BillPayWidgetNative/BillPayWidgetNative.js} +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/{index6.js → lib/BillPayWidgetNative/BillsTab.js} +14 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetNative/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/{index7.js → lib/BillPayWidgetNative/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/{index5.js → lib/BillPayWidgetNative/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/{index2.js → lib/analytics/events.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/billPay.js +339 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/fixtures.js +41 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/labels.js +37 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/scenarios.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index13.js → lib/CardDetailsWidget.js} +27 -27
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index7.js → lib/activation.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index10.js → lib/cardControls.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index4.js → lib/cardDetailsView.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index3.js → lib/formatters.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index5.js → lib/labels.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index6.js → lib/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index9.js → lib/useActivateCard.js} +16 -16
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index11.js → lib/useCardLock.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index12.js → lib/useEditCardNickname.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/{index8.js → lib/useIdScopedRequest.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/mocks/cardDetails.js +54 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/mocks/labels.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index10.js → lib/CardsWidget.js} +14 -14
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index11.js → lib/CreditCardsWidget.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index12.js → lib/DebitCardsWidget.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index2.js → lib/analytics/events.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index6.js → lib/formatters.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index5.js → lib/labels.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index7.js → lib/permissions.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index8.js → lib/rows.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index4.js → lib/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/{index9.js → lib/useCardsWidget.js} +17 -17
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/mocks/creditCards.js +89 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/mocks/debitCards.js +182 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/mocks/labels.js +24 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/scenarios.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/{index8.js → lib/CounterpartsWidget/CounterpartsWidget.js} +16 -16
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/{index3.js → lib/CounterpartsWidget/constants.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/{index5.js → lib/CounterpartsWidget/permissions.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/{index4.js → lib/CounterpartsWidget/useCounterpartsTable.js} +10 -10
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/{index7.js → lib/CounterpartsWidget/useCounterpartsWidget.js} +21 -21
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/{index6.js → lib/CounterpartsWidget/viewModels.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/counterparts.js +394 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/{index5.js → lib/CustomersWidget/CustomersWidget.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/{index3.js → lib/CustomersWidgetMonite/CustomersWidgetMonite.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/{index4.js → lib/CustomersWidgetNative/CustomersWidgetNative.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/scenarios.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index19.js → lib/ExpenseManagementWidget/ExpenseManagementWidget.js} +33 -33
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index16.js → lib/ExpenseManagementWidget/actionItemLabels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index3.js → lib/ExpenseManagementWidget/analytics/events.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index13.js → lib/ExpenseManagementWidget/datePresets.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index4.js → lib/ExpenseManagementWidget/entityUserLabel.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index12.js → lib/ExpenseManagementWidget/mapTransactionRow.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index5.js → lib/ExpenseManagementWidget/permissions.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index17.js → lib/ExpenseManagementWidget/useExpenseActionItems.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index18.js → lib/ExpenseManagementWidget/useExpenseTabBadgeCounts.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index15.js → lib/ExpenseManagementWidget/useExpensesTransactions.js} +10 -10
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index14.js → lib/ExpenseManagementWidget/useExpensesTransactionsFilter.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index10.js → lib/TransactionDetails/TransactionDetailsActionsFeature.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index11.js → lib/TransactionDetails/TransactionDetailsFeature.js} +37 -37
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index7.js → lib/TransactionDetails/auditHistory/buildExpenseAuditHistory.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index8.js → lib/TransactionDetails/auditHistory/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index9.js → lib/TransactionDetails/footerActions.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index6.js → lib/TransactionDetails/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/{index2.js → lib/expenseStatus.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/mocks/expenseManagement.js +460 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/mocks/fixtures.js +60 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/mocks/labels.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/scenarios.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index8.js → lib/InsightsWidget/InsightsWidgetContext.js} +12 -12
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index12.js → lib/InsightsWidget/InsightsWidgetFeature.js} +11 -11
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index11.js → lib/InsightsWidget/SingleInsight/SingleInsight.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index4.js → lib/InsightsWidget/dismissedInsightsUserDataKey.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index3.js → lib/InsightsWidget/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index9.js → lib/InsightsWidget/mapInsightToRowView.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index7.js → lib/InsightsWidget/permissions.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/lib/InsightsWidget/shouldShowRoutingOnboardingInsight.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index10.js → lib/InsightsWidget/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index5.js → lib/InsightsWidget/useDismissedInsightIds.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/mocks/insights.js +90 -0
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/mocks/labels.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index5.js → lib/ReceivablesWidget/ReceivableAttachmentsSection.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +359 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index8.js → lib/ReceivablesWidget/actionsModal.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index2.js → lib/ReceivablesWidget/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index24.js → lib/ReceivablesWidget/apiValidationErrors.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index7.js → lib/ReceivablesWidget/attachments.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index19.js → lib/ReceivablesWidget/auditHistory/labels.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index20.js → lib/ReceivablesWidget/bankAccounts.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index4.js → lib/ReceivablesWidget/constants.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index32.js → lib/ReceivablesWidget/datePresets.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index22.js → lib/ReceivablesWidget/details.js} +91 -87
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index11.js → lib/ReceivablesWidget/discount.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index13.js → lib/ReceivablesWidget/helpers.js} +58 -41
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index33.js → lib/ReceivablesWidget/invoicesFilter.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index34.js → lib/ReceivablesWidget/invoicesFilterLabels.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index14.js → lib/ReceivablesWidget/labels.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index6.js → lib/ReceivablesWidget/lineItems.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index10.js → lib/ReceivablesWidget/paymentTerms.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/permissions.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index21.js → lib/ReceivablesWidget/preview.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index9.js → lib/ReceivablesWidget/recurrence.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index15.js → lib/ReceivablesWidget/reminders.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index36.js → lib/ReceivablesWidget/statusCards.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index12.js → lib/ReceivablesWidget/totals.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index35.js → lib/ReceivablesWidget/useInvoicesFilter.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +296 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index18.js → lib/ReceivablesWidget/useReceivableActionsModal.js} +14 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index25.js → lib/ReceivablesWidget/useReceivableAttachmentUploads.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index28.js → lib/ReceivablesWidget/useReceivableBankAccount.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableCustomerNames.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +110 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index31.js → lib/ReceivablesWidget/useReceivableForm.js} +34 -34
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index16.js → lib/ReceivablesWidget/useReceivableIssuePreflight.js} +7 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index26.js → lib/ReceivablesWidget/useReceivablePaymentTerms.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePreview.js +37 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index27.js → lib/ReceivablesWidget/useReceivableRecurrence.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index29.js → lib/ReceivablesWidget/useReceivableReminders.js} +10 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +99 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +219 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/{index3.js → lib/ReceivablesWidgetMonite/ReceivablesWidgetMonite.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/fixtures.js +94 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/invoicing.js +242 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/labels.js +37 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/receivables.js +409 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/scenarios.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +40 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +279 -274
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index10.js → lib/LinkedAccountsWidget.js} +9 -9
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index3.js → lib/forms.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index4.js → lib/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index5.js → lib/permissions.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index6.js → lib/rows.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index8.js → lib/teamMembers.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index7.js → lib/useAdminEligibleUserIds.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/{index9.js → lib/useLinkedAccountsWidget.js} +34 -34
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/mocks/labels.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/mocks/linkedAccounts.js +144 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/{index6.js → lib/MarketingWidget/MarketingWidget.js} +16 -16
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/{index4.js → lib/MarketingWidget/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/{index5.js → lib/MarketingWidget/marketingApplicationView.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/{index3.js → lib/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/mocks/labels.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/mocks/marketing.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index10.js → lib/ProductsWidget/ProductsWidget.js} +15 -15
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index3.js → lib/ProductsWidget/constants.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index5.js → lib/ProductsWidget/permissions.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index4.js → lib/ProductsWidget/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index6.js → lib/ProductsWidget/useProductDelete.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index7.js → lib/ProductsWidget/useProductDetails.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index8.js → lib/ProductsWidget/useProductsTable.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index9.js → lib/ProductsWidget/useProductsWidget.js} +12 -12
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/mocks/labels.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/mocks/products.js +189 -0
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/{index5.js → lib/ExpenseSettingsTabs/ExpenseSettingsTabs.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/{index6.js → lib/SettingsWidget/SettingsWidget.js} +29 -29
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/{index2.js → lib/SettingsWidget/analytics/events.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/lib/SettingsWidget/index.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/{index3.js → lib/SettingsWidget/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/{index4.js → lib/SettingsWidget/sections.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/labels.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +190 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +2125 -2537
- package/dist/libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/lib/fixtures.js +232 -40
- package/dist/libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/mocks/scenarios/labels.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/mocks/scenarios/scenario.js +180 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/mocks/scenarios/team.js +79 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/mocks/scenarios/worlds.js +45 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/{index7.js → lib/TransfersWidget/TransfersWidgetFeature.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/{index6.js → lib/TransfersWidget/TransfersWidgetInner.js} +21 -21
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/{index3.js → lib/TransfersWidget/featureLabels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/{index5.js → lib/TransfersWidget/testIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/{index4.js → lib/TransfersWidget/useTransferMoneyModalController.js} +11 -11
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/labels.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/transfers.js +182 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/{index2.js → lib/UploadReceiptWidget.js} +8 -8
- package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/mocks/labels.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/mocks/uploadReceipt.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/scenarios.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/{index16.js → lib/WidgetSuite/WidgetSuite.js} +28 -28
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/{index6.js → lib/WidgetSuite/WidgetSuiteProvider.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/{index3.js → lib/WidgetSuite/disclosureGate.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/{index4.js → lib/WidgetSuite/labels.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/AccountsSection.js +24 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/BillPaySection.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/{index9.js → lib/WidgetSuite/sections/CardsSection.js} +10 -10
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/DashboardSection.js +33 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/ExpensesSection.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/InvoicingSection.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/{index13.js → lib/WidgetSuite/sections/SettingsSection.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/TransfersSection.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/sections/index.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/{index5.js → lib/WidgetSuite/sections/sectionIds.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/{index2.js → lib/analytics/events.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/mocks/labels.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/mocks/widgetSuite.js +70 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/scenarios.js +2 -0
- package/dist/scenarios/index.d.ts +583 -0
- package/dist/scenarios/index.js +42 -0
- package/package.json +6 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index9.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index20.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +0 -290
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +0 -108
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +0 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index37.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index38.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index39.js +0 -146
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index40.js +0 -354
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index7.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index10.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index11.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index12.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index14.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index15.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +0 -23
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index39.js
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { useAnalyticsTrack as e } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
6
|
-
import "../../../shared/feature/dist/index.js";
|
|
7
|
-
import { ReceivablesWidgetAnalyticsEvent as t } from "./index2.js";
|
|
8
|
-
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as n } from "../../ui/dist/index13.js";
|
|
9
|
-
import "../../ui/dist/index.js";
|
|
10
|
-
import { hasSelectedText as r } from "../../../shared/product-catalog/feature/dist/lib/helpers.js";
|
|
11
|
-
import "../../../shared/product-catalog/feature/dist/index.js";
|
|
12
|
-
import { getCreateFollowUp as i } from "./index8.js";
|
|
13
|
-
import { coerceEnabledTabs as a, getDocumentTitle as o, resolveInitialTab as s, tabForType as c, typeForTab as l } from "./index13.js";
|
|
14
|
-
import { RECEIVABLE_MESSAGE_LABELS_EN as u } from "./index14.js";
|
|
15
|
-
import { useReceivableActions as d } from "./index17.js";
|
|
16
|
-
import { useReceivableActionsModal as f } from "./index18.js";
|
|
17
|
-
import { useReceivableDetails as p } from "./index23.js";
|
|
18
|
-
import { useReceivableForm as m } from "./index31.js";
|
|
19
|
-
import { useReceivablesTable as h } from "./index38.js";
|
|
20
|
-
import { useCallback as g, useEffect as _, useMemo as v, useState as y } from "react";
|
|
21
|
-
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index39.js
|
|
22
|
-
function b({ auditHistoryLabels: b, counterpartMessageLabels: x, defaultTab: S, embeddedBankName: C, enabledTabs: w, filterLabels: T, initialCounterpartId: E, messageLabels: D, onReceivableCreated: O, onReceivableOpened: k, screenLabels: A }) {
|
|
23
|
-
let j = e();
|
|
24
|
-
_(() => {
|
|
25
|
-
j(t.Mounted);
|
|
26
|
-
}, [j]);
|
|
27
|
-
let M = v(() => ({
|
|
28
|
-
...u,
|
|
29
|
-
...D
|
|
30
|
-
}), [D]), N = A?.statusBadge, P = v(() => ({
|
|
31
|
-
...n,
|
|
32
|
-
...N
|
|
33
|
-
}), [N]), F = v(() => a(w), [w]), [I, L] = y(() => s({
|
|
34
|
-
defaultTab: S,
|
|
35
|
-
enabledTabs: F
|
|
36
|
-
})), [R, z] = y(), [B, V] = y(!1);
|
|
37
|
-
_(() => {
|
|
38
|
-
F.includes(I) || L(s({
|
|
39
|
-
defaultTab: S,
|
|
40
|
-
enabledTabs: F
|
|
41
|
-
}));
|
|
42
|
-
}, [
|
|
43
|
-
I,
|
|
44
|
-
S,
|
|
45
|
-
F
|
|
46
|
-
]);
|
|
47
|
-
let H = g((e, t) => {
|
|
48
|
-
L(c(t)), z(e), V(!0), O?.(e, t);
|
|
49
|
-
}, [O]), U = f({ messages: M }), W = U.open, G = g((e, t, n) => {
|
|
50
|
-
L(c(t));
|
|
51
|
-
let r = i(n);
|
|
52
|
-
r.openDetails && (z(e), V(!0)), r.actionsModal && W({
|
|
53
|
-
action: n.mode,
|
|
54
|
-
receivableId: e,
|
|
55
|
-
counterpartId: n.counterpartId,
|
|
56
|
-
inlineItems: n.inlineItems,
|
|
57
|
-
showEmailStep: r.actionsModal.showEmailStep
|
|
58
|
-
}), O?.(e, t);
|
|
59
|
-
}, [O, W]), K = h({
|
|
60
|
-
activeTab: I,
|
|
61
|
-
initialCounterpartId: E,
|
|
62
|
-
messages: M,
|
|
63
|
-
statusLabels: P,
|
|
64
|
-
filterLabels: T
|
|
65
|
-
}), q = g((e) => {
|
|
66
|
-
z(e), V(!0), k?.(e, "invoice");
|
|
67
|
-
}, [k]), J = p({
|
|
68
|
-
selectedReceivableId: R,
|
|
69
|
-
enabled: B,
|
|
70
|
-
messages: M,
|
|
71
|
-
statusLabels: P,
|
|
72
|
-
auditHistoryLabels: b,
|
|
73
|
-
onOpenReceivable: q
|
|
74
|
-
}), Y = m({
|
|
75
|
-
messages: M,
|
|
76
|
-
counterpartMessageLabels: x,
|
|
77
|
-
embeddedBankName: C,
|
|
78
|
-
onCreated: G
|
|
79
|
-
}), X = g(() => {
|
|
80
|
-
let e = l(I);
|
|
81
|
-
Y.openCreate(e === "quote" ? "quote" : "invoice");
|
|
82
|
-
}, [I, Y.openCreate]), Z = d({
|
|
83
|
-
selectedReceivable: J.receivable,
|
|
84
|
-
selectedRecurrence: J.recurrence,
|
|
85
|
-
messages: M,
|
|
86
|
-
onCreated: H,
|
|
87
|
-
onDeleted: (e) => {
|
|
88
|
-
e === R && (z(void 0), V(!1));
|
|
89
|
-
},
|
|
90
|
-
onCompleteBeforeIssue: (e) => {
|
|
91
|
-
Y.openEdit(e, { highlightForIssue: !0 }), V(!1);
|
|
92
|
-
}
|
|
93
|
-
}), Q = g((e) => {
|
|
94
|
-
r() || (z(e.id), V(!0), k?.(e.id, e.type));
|
|
95
|
-
}, [k]);
|
|
96
|
-
return {
|
|
97
|
-
activeTab: I,
|
|
98
|
-
enabledTabs: F,
|
|
99
|
-
setActiveTab: L,
|
|
100
|
-
table: K,
|
|
101
|
-
details: J,
|
|
102
|
-
detailsOpen: B,
|
|
103
|
-
closeDetails: g(() => {
|
|
104
|
-
V(!1), z(void 0);
|
|
105
|
-
}, []),
|
|
106
|
-
form: Y,
|
|
107
|
-
openCreate: X,
|
|
108
|
-
actions: Z,
|
|
109
|
-
actionsModal: U,
|
|
110
|
-
handleRowClick: Q,
|
|
111
|
-
handleActionClick: g((e, t) => {
|
|
112
|
-
let n = K.getReceivableById(t.id);
|
|
113
|
-
if (e === "edit") {
|
|
114
|
-
if (n) {
|
|
115
|
-
Y.openEdit(n);
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
z(t.id), V(!0);
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
z(t.id), Z.openAction(e, t, n ?? null);
|
|
122
|
-
}, [
|
|
123
|
-
Z,
|
|
124
|
-
Y.openEdit,
|
|
125
|
-
K.getReceivableById
|
|
126
|
-
]),
|
|
127
|
-
handleDetailsActionClick: g((e, t) => {
|
|
128
|
-
if (e === "edit") {
|
|
129
|
-
J.receivable && (Y.openEdit(J.receivable), V(!1));
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
Z.openAction(e, {
|
|
133
|
-
id: t.id,
|
|
134
|
-
title: J.receivable ? o(J.receivable, M) : t.title,
|
|
135
|
-
type: t.type
|
|
136
|
-
}, J.receivable ?? null);
|
|
137
|
-
}, [
|
|
138
|
-
Z,
|
|
139
|
-
J.receivable,
|
|
140
|
-
Y.openEdit,
|
|
141
|
-
M
|
|
142
|
-
])
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
//#endregion
|
|
146
|
-
export { b as useReceivablesWidget };
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index40.js
DELETED
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { Calendar as e, Skeleton as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
-
import { EmbeddedToaster as n } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
|
|
7
|
-
import "../../../shared/ui/dist/index.js";
|
|
8
|
-
import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
9
|
-
import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
10
|
-
import "../../../shared/feature/dist/index.js";
|
|
11
|
-
import { CounterpartFormSheet as a } from "../../../shared/counterpart-management/ui/dist/index9.js";
|
|
12
|
-
import { CounterpartSelector as o } from "../../../shared/counterpart-management/feature/dist/lib/CounterpartSelector.js";
|
|
13
|
-
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
14
|
-
import { ReceivablesWidgetAnalyticsEvent as s, WIDGET_NAME as c } from "./index2.js";
|
|
15
|
-
import { PAGE_SIZE_OPTIONS as l } from "./index4.js";
|
|
16
|
-
import { InvoicesFilterBar as u } from "../../ui/dist/index4.js";
|
|
17
|
-
import { ReceivableActionsModal as d } from "../../ui/dist/index9.js";
|
|
18
|
-
import { ReceivableActionDialog as f } from "../../ui/dist/index14.js";
|
|
19
|
-
import { ReceivableBankAccountSection as p } from "../../ui/dist/index15.js";
|
|
20
|
-
import { ReceivableBillingSection as m } from "../../ui/dist/index20.js";
|
|
21
|
-
import { ReceivableDetailsPanel as h } from "../../ui/dist/index34.js";
|
|
22
|
-
import { ReceivableFormSheet as g } from "../../ui/dist/index38.js";
|
|
23
|
-
import { ReceivablePaymentDialog as _ } from "../../ui/dist/index39.js";
|
|
24
|
-
import { ReceivableRecurrenceEmailDialog as v } from "../../ui/dist/index44.js";
|
|
25
|
-
import { ReceivableRecurrenceSection as y } from "../../ui/dist/index46.js";
|
|
26
|
-
import { ReceivableRemindersSection as b } from "../../ui/dist/index48.js";
|
|
27
|
-
import { ReceivableSendDialog as x } from "../../ui/dist/index49.js";
|
|
28
|
-
import { ReceivablesScreen as ee } from "../../ui/dist/index51.js";
|
|
29
|
-
import "../../ui/dist/index.js";
|
|
30
|
-
import { ReceivableAttachmentsSection as te } from "./index5.js";
|
|
31
|
-
import { MeasureUnitsManagerContainer as ne } from "../../../shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js";
|
|
32
|
-
import { ProductSelector as re } from "../../../shared/product-catalog/feature/dist/lib/ProductSelector.js";
|
|
33
|
-
import "../../../shared/product-catalog/feature/dist/index.js";
|
|
34
|
-
import { useReceivablesWidget as ie } from "./index39.js";
|
|
35
|
-
import { useEffect as S, useId as C, useState as w } from "react";
|
|
36
|
-
import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
37
|
-
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index40.js
|
|
38
|
-
function O({ auditHistoryLabels: i, counterpartFormLabels: c, counterpartMessageLabels: O, defaultTab: k, detailsLabels: A, embeddedBankName: j, enabledTabs: M, filterBarLabels: N, filterLabels: P, formLabels: F, initialCounterpartId: I, measureUnitDeleteLabels: L, measureUnitsLabels: ae, messageLabels: R, onReceivableCreated: z, onReceivableOpened: B, onTemplateSettingsClick: V, pageSizeOptions: H = l, paymentLabels: U, productMessageLabels: W, screenLabels: G, sendLabels: K, actionLabels: q, actionsModalLabels: J }) {
|
|
39
|
-
let Y = r();
|
|
40
|
-
S(() => {
|
|
41
|
-
Y(s.Mounted);
|
|
42
|
-
}, [Y]);
|
|
43
|
-
let X = ie({
|
|
44
|
-
auditHistoryLabels: i,
|
|
45
|
-
counterpartMessageLabels: O,
|
|
46
|
-
defaultTab: k,
|
|
47
|
-
embeddedBankName: j,
|
|
48
|
-
enabledTabs: M,
|
|
49
|
-
filterLabels: P,
|
|
50
|
-
initialCounterpartId: I,
|
|
51
|
-
messageLabels: R,
|
|
52
|
-
onReceivableCreated: z,
|
|
53
|
-
onReceivableOpened: B,
|
|
54
|
-
screenLabels: G
|
|
55
|
-
}), [Z, Q] = w(!1), oe = C(), $ = C(), se = C(), ce = C(), le = C();
|
|
56
|
-
return /* @__PURE__ */ D(T, { children: [
|
|
57
|
-
/* @__PURE__ */ E(n, {}),
|
|
58
|
-
/* @__PURE__ */ E(ee, {
|
|
59
|
-
rows: X.table.rows,
|
|
60
|
-
activeTab: X.activeTab,
|
|
61
|
-
enabledTabs: X.enabledTabs,
|
|
62
|
-
onTabChange: X.setActiveTab,
|
|
63
|
-
isLoading: X.table.isLoading,
|
|
64
|
-
isError: X.table.isError,
|
|
65
|
-
sorting: X.table.sorting,
|
|
66
|
-
onSortingChange: X.table.onSortingChange,
|
|
67
|
-
pageSize: X.table.pageSize,
|
|
68
|
-
onPageSizeChange: X.table.onPageSizeChange,
|
|
69
|
-
pageSizeOptions: H,
|
|
70
|
-
hasNextPage: X.table.hasNextPage,
|
|
71
|
-
hasPrevPage: X.table.hasPrevPage,
|
|
72
|
-
onNextPage: X.table.onNextPage,
|
|
73
|
-
onPrevPage: X.table.onPrevPage,
|
|
74
|
-
searchValue: X.table.searchValue,
|
|
75
|
-
onSearchChange: X.table.onSearchChange,
|
|
76
|
-
statusFilter: X.table.statusFilter,
|
|
77
|
-
statusOptions: X.table.statusOptions,
|
|
78
|
-
onStatusFilterChange: X.table.onStatusFilterChange,
|
|
79
|
-
statusCards: X.table.statusCards,
|
|
80
|
-
onStatusCardSelect: X.table.onStatusCardSelect,
|
|
81
|
-
filterBar: X.table.invoicesFilterBar && /* @__PURE__ */ E(u, {
|
|
82
|
-
...X.table.invoicesFilterBar,
|
|
83
|
-
labels: N
|
|
84
|
-
}),
|
|
85
|
-
isFiltering: X.table.isFiltering,
|
|
86
|
-
onCreateClick: X.openCreate,
|
|
87
|
-
onTemplateSettingsClick: V,
|
|
88
|
-
onRowClick: X.handleRowClick,
|
|
89
|
-
onActionClick: X.handleActionClick,
|
|
90
|
-
onRetry: X.table.onRetry,
|
|
91
|
-
labels: G
|
|
92
|
-
}),
|
|
93
|
-
/* @__PURE__ */ E(g, {
|
|
94
|
-
open: X.form.open,
|
|
95
|
-
onOpenChange: (e) => {
|
|
96
|
-
e || X.form.close();
|
|
97
|
-
},
|
|
98
|
-
mode: X.form.mode,
|
|
99
|
-
values: X.form.sheetValues,
|
|
100
|
-
errors: X.form.errors,
|
|
101
|
-
currencyOptions: X.form.currencyOptions,
|
|
102
|
-
unitOptions: X.form.lineItemUnitOptions,
|
|
103
|
-
currencySymbol: X.form.currencySymbol,
|
|
104
|
-
lineItemControls: X.form.lineItemControls,
|
|
105
|
-
autoFocusLineItemId: X.form.autoFocusLineItemId,
|
|
106
|
-
lineItemsLoading: X.form.lineItemsLoading,
|
|
107
|
-
inProgress: X.form.isSubmitting,
|
|
108
|
-
customerSelector: /* @__PURE__ */ E(o, {
|
|
109
|
-
mode: "customer",
|
|
110
|
-
value: X.form.values.customerId || void 0,
|
|
111
|
-
invalid: !!X.form.errors.customerId,
|
|
112
|
-
onValueChange: (e) => X.form.updateValues({ customerId: e }),
|
|
113
|
-
onCreateClick: X.form.openCounterpartCreate
|
|
114
|
-
}),
|
|
115
|
-
renderProductSelector: (e, t) => /* @__PURE__ */ E(re, {
|
|
116
|
-
...t,
|
|
117
|
-
inputValue: e.name,
|
|
118
|
-
selectedProductId: X.form.values.lineItems.find((t) => t.id === e.id)?.productId || void 0,
|
|
119
|
-
currency: X.form.values.currency,
|
|
120
|
-
maxLength: 100,
|
|
121
|
-
onInputValueChange: (t) => X.form.updateLineItem(e.id, { name: t }),
|
|
122
|
-
onProductSelect: (t) => X.form.selectProduct(e.id, t)
|
|
123
|
-
}),
|
|
124
|
-
onChange: X.form.updateValues,
|
|
125
|
-
onLineItemChange: X.form.updateLineItem,
|
|
126
|
-
onLineItemCommit: X.form.commitLineItem,
|
|
127
|
-
onLineItemQuantityStep: X.form.stepLineItem,
|
|
128
|
-
onTaxRateCommit: X.form.commitTaxRate,
|
|
129
|
-
onDiscountFocus: X.form.focusDiscount,
|
|
130
|
-
onDiscountCommit: X.form.commitDiscount,
|
|
131
|
-
totals: X.form.totalsView,
|
|
132
|
-
onManageUnits: () => Q(!0),
|
|
133
|
-
onAddLineItem: X.form.addLineItem,
|
|
134
|
-
onRemoveLineItem: X.form.removeLineItem,
|
|
135
|
-
showDueDateField: X.form.showDueDateField,
|
|
136
|
-
billingSection: X.form.showBillingSection && /* @__PURE__ */ E(m, {
|
|
137
|
-
idPrefix: oe,
|
|
138
|
-
paymentTerms: X.form.paymentTerms.view,
|
|
139
|
-
paymentTermsError: X.form.errors.paymentTermsId,
|
|
140
|
-
disabled: X.form.isSubmitting,
|
|
141
|
-
onPaymentTermsChange: X.form.paymentTerms.select,
|
|
142
|
-
onCustomDatePickerOpenChange: X.form.paymentTerms.changeCustomDatePickerOpen,
|
|
143
|
-
customDateCalendar: /* @__PURE__ */ E(e, {
|
|
144
|
-
mode: "single",
|
|
145
|
-
captionLayout: "dropdown",
|
|
146
|
-
...X.form.paymentTerms.calendar,
|
|
147
|
-
onSelect: X.form.paymentTerms.selectCustomDate
|
|
148
|
-
}),
|
|
149
|
-
recurrenceSection: X.form.showRecurrenceSection && (X.form.recurrenceLoading ? /* @__PURE__ */ E(t, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ E(y, {
|
|
150
|
-
idPrefix: $,
|
|
151
|
-
view: X.form.recurrence.view,
|
|
152
|
-
disabled: X.form.isSubmitting,
|
|
153
|
-
onFrequencyChange: X.form.recurrence.changeFrequency,
|
|
154
|
-
onMonthDayChange: X.form.recurrence.changeMonthDay,
|
|
155
|
-
onWeekdayChange: X.form.recurrence.changeWeekday,
|
|
156
|
-
onStartDateChange: X.form.recurrence.changeStartDate,
|
|
157
|
-
onEndModeChange: X.form.recurrence.changeEndMode,
|
|
158
|
-
onEndDateChange: X.form.recurrence.changeEndDate,
|
|
159
|
-
onMaxOccurrencesChange: X.form.recurrence.changeMaxOccurrences,
|
|
160
|
-
onCreationModeChange: X.form.recurrence.changeCreationMode,
|
|
161
|
-
onSetUpEmailClick: X.form.recurrence.setUpEmail,
|
|
162
|
-
emailDialog: /* @__PURE__ */ E(v, {
|
|
163
|
-
idPrefix: $,
|
|
164
|
-
view: X.form.recurrence.emailView,
|
|
165
|
-
onOpenChange: X.form.recurrence.changeEmailOpen,
|
|
166
|
-
onChange: X.form.recurrence.changeEmail,
|
|
167
|
-
onSave: X.form.recurrence.saveEmail,
|
|
168
|
-
labels: F
|
|
169
|
-
}),
|
|
170
|
-
labels: F
|
|
171
|
-
})),
|
|
172
|
-
labels: F
|
|
173
|
-
}),
|
|
174
|
-
remindersSection: X.form.reminders.view && /* @__PURE__ */ E(b, {
|
|
175
|
-
idPrefix: ce,
|
|
176
|
-
view: X.form.reminders.view,
|
|
177
|
-
onToggle: X.form.reminders.toggle,
|
|
178
|
-
onPaymentReminderSelect: X.form.reminders.selectPaymentReminder,
|
|
179
|
-
onOverdueReminderSelect: X.form.reminders.selectOverdueReminder,
|
|
180
|
-
onBeforeDueInputChange: X.form.reminders.changeBeforeDueInput,
|
|
181
|
-
onBeforeDueSave: X.form.reminders.saveBeforeDue,
|
|
182
|
-
onOverdueTermChange: X.form.reminders.changeOverdueTerm,
|
|
183
|
-
onOverdueAddTerm: X.form.reminders.addOverdueTerm,
|
|
184
|
-
onOverdueClear: X.form.reminders.clearOverdueTerms,
|
|
185
|
-
onOverdueSave: X.form.reminders.saveOverdue,
|
|
186
|
-
labels: F
|
|
187
|
-
}),
|
|
188
|
-
bankAccountSection: /* @__PURE__ */ E(p, {
|
|
189
|
-
idPrefix: se,
|
|
190
|
-
view: X.form.bankAccount.view,
|
|
191
|
-
error: X.form.errors.bankAccountId,
|
|
192
|
-
disabled: X.form.isSubmitting,
|
|
193
|
-
onAccountSelect: X.form.bankAccount.selectAccount,
|
|
194
|
-
onAddAccountClick: X.form.bankAccount.openAddAccount,
|
|
195
|
-
onFormChange: X.form.bankAccount.updateAccountForm,
|
|
196
|
-
onFormSave: X.form.bankAccount.saveAccount,
|
|
197
|
-
onFormCancel: X.form.bankAccount.cancelAddAccount,
|
|
198
|
-
labels: F
|
|
199
|
-
}),
|
|
200
|
-
attachmentsSection: X.form.attachmentsView && /* @__PURE__ */ E(te, {
|
|
201
|
-
view: X.form.attachmentsView,
|
|
202
|
-
disabled: X.form.isSubmitting,
|
|
203
|
-
onFilesSelect: X.form.selectAttachmentFiles,
|
|
204
|
-
onIncludeInEmailChange: X.form.setAttachmentIncludeInEmail,
|
|
205
|
-
onRemove: X.form.removeAttachment,
|
|
206
|
-
labels: F
|
|
207
|
-
}),
|
|
208
|
-
cancelDisabled: X.form.isSubmitting || X.form.attachmentsUploading,
|
|
209
|
-
draftButtonLabel: X.form.draftButtonLabel,
|
|
210
|
-
draftDisabled: X.form.draftDisabled,
|
|
211
|
-
draftLoading: X.form.draftLoading,
|
|
212
|
-
primaryButtonLabel: X.form.primaryButtonLabel,
|
|
213
|
-
primaryDisabled: X.form.primaryDisabled,
|
|
214
|
-
primaryLoading: X.form.primaryLoading,
|
|
215
|
-
scrollContainerRef: X.form.scrollContainerRef,
|
|
216
|
-
onSubmit: X.form.submit,
|
|
217
|
-
onDraftClick: X.form.selectDraftMode,
|
|
218
|
-
onPrimaryClick: X.form.selectPrimaryMode,
|
|
219
|
-
onCancel: X.form.close,
|
|
220
|
-
labels: F
|
|
221
|
-
}),
|
|
222
|
-
/* @__PURE__ */ E(h, {
|
|
223
|
-
open: X.detailsOpen,
|
|
224
|
-
onOpenChange: (e) => {
|
|
225
|
-
e || X.closeDetails();
|
|
226
|
-
},
|
|
227
|
-
details: X.details.detailsView,
|
|
228
|
-
unsupported: X.details.unsupportedView,
|
|
229
|
-
isLoading: X.details.isLoading,
|
|
230
|
-
isError: X.details.isError,
|
|
231
|
-
onActionClick: X.handleDetailsActionClick,
|
|
232
|
-
onClose: X.closeDetails,
|
|
233
|
-
openSections: X.details.openSections,
|
|
234
|
-
onOpenSectionsChange: X.details.setOpenSections,
|
|
235
|
-
disabledActions: X.actions.pendingActions,
|
|
236
|
-
labels: A
|
|
237
|
-
}),
|
|
238
|
-
/* @__PURE__ */ E(x, {
|
|
239
|
-
open: X.actions.sendOpen,
|
|
240
|
-
onOpenChange: (e) => {
|
|
241
|
-
e || X.actions.closeSend();
|
|
242
|
-
},
|
|
243
|
-
values: X.actions.sendValues,
|
|
244
|
-
errors: X.actions.sendErrors,
|
|
245
|
-
inProgress: X.actions.sendInProgress,
|
|
246
|
-
onChange: (e) => X.actions.setSendValues((t) => ({
|
|
247
|
-
...t,
|
|
248
|
-
...e
|
|
249
|
-
})),
|
|
250
|
-
onSubmit: X.actions.submitSend,
|
|
251
|
-
onCancel: X.actions.closeSend,
|
|
252
|
-
labels: K
|
|
253
|
-
}),
|
|
254
|
-
/* @__PURE__ */ E(_, {
|
|
255
|
-
open: X.actions.paymentOpen,
|
|
256
|
-
onOpenChange: (e) => {
|
|
257
|
-
e || X.actions.closePayment();
|
|
258
|
-
},
|
|
259
|
-
values: X.actions.paymentValues,
|
|
260
|
-
errors: X.actions.paymentErrors,
|
|
261
|
-
inProgress: X.actions.paymentInProgress,
|
|
262
|
-
onChange: (e) => X.actions.setPaymentValues((t) => ({
|
|
263
|
-
...t,
|
|
264
|
-
...e
|
|
265
|
-
})),
|
|
266
|
-
onSubmit: X.actions.submitPayment,
|
|
267
|
-
onCancel: X.actions.closePayment,
|
|
268
|
-
labels: U
|
|
269
|
-
}),
|
|
270
|
-
X.actions.actionDialog && /* @__PURE__ */ E(f, {
|
|
271
|
-
open: !!X.actions.actionTarget,
|
|
272
|
-
onOpenChange: (e) => {
|
|
273
|
-
e || X.actions.closeAction();
|
|
274
|
-
},
|
|
275
|
-
title: X.actions.actionDialog.title,
|
|
276
|
-
description: X.actions.actionDialog.description,
|
|
277
|
-
confirmLabel: X.actions.actionDialog.confirmLabel,
|
|
278
|
-
cancelLabel: X.actions.actionDialog.cancelLabel,
|
|
279
|
-
destructive: X.actions.actionDialog.destructive,
|
|
280
|
-
error: X.actions.actionError,
|
|
281
|
-
inProgress: X.actions.actionInProgress,
|
|
282
|
-
onConfirm: X.actions.confirmAction,
|
|
283
|
-
onCancel: X.actions.closeAction,
|
|
284
|
-
labels: q
|
|
285
|
-
}),
|
|
286
|
-
/* @__PURE__ */ E(d, {
|
|
287
|
-
idPrefix: le,
|
|
288
|
-
open: X.actionsModal.isOpen,
|
|
289
|
-
view: X.actionsModal.view,
|
|
290
|
-
onSkip: X.actionsModal.skip,
|
|
291
|
-
onSubjectChange: X.actionsModal.changeSubject,
|
|
292
|
-
onMessageChange: X.actionsModal.changeMessage,
|
|
293
|
-
onSend: X.actionsModal.send,
|
|
294
|
-
onToggleItem: X.actionsModal.toggleItem,
|
|
295
|
-
onToggleAll: X.actionsModal.toggleAll,
|
|
296
|
-
onAllSelectedChange: X.actionsModal.setAllSelected,
|
|
297
|
-
onSaveItems: X.actionsModal.saveItems,
|
|
298
|
-
labels: J
|
|
299
|
-
}),
|
|
300
|
-
/* @__PURE__ */ E(a, {
|
|
301
|
-
open: X.form.counterpartView === "create",
|
|
302
|
-
onOpenChange: (e) => {
|
|
303
|
-
e || X.form.counterpartForm.close();
|
|
304
|
-
},
|
|
305
|
-
mode: "create",
|
|
306
|
-
values: X.form.counterpartForm.values,
|
|
307
|
-
errors: X.form.counterpartForm.errors,
|
|
308
|
-
stateOptions: X.form.stateOptions,
|
|
309
|
-
inProgress: X.form.counterpartForm.isSubmitting,
|
|
310
|
-
onChange: (e) => X.form.counterpartForm.setValues((t) => ({
|
|
311
|
-
...t,
|
|
312
|
-
...e
|
|
313
|
-
})),
|
|
314
|
-
onAddressChange: (e) => X.form.counterpartForm.setValues((t) => ({
|
|
315
|
-
...t,
|
|
316
|
-
address: {
|
|
317
|
-
...t.address,
|
|
318
|
-
...e
|
|
319
|
-
}
|
|
320
|
-
})),
|
|
321
|
-
onSubmit: X.form.counterpartForm.submit,
|
|
322
|
-
onCancel: X.form.counterpartForm.close,
|
|
323
|
-
labels: c
|
|
324
|
-
}),
|
|
325
|
-
/* @__PURE__ */ E(ne, {
|
|
326
|
-
open: Z,
|
|
327
|
-
onClose: () => Q(!1),
|
|
328
|
-
managerLabels: ae,
|
|
329
|
-
deleteLabels: L,
|
|
330
|
-
messageLabels: W
|
|
331
|
-
})
|
|
332
|
-
] });
|
|
333
|
-
}
|
|
334
|
-
function k({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: l, errorFallback: u, onError: d, analytics: f, disclosuresAcceptance: p, providerLabels: m, ...h }) {
|
|
335
|
-
return /* @__PURE__ */ E(i, {
|
|
336
|
-
widgetName: c,
|
|
337
|
-
baseUrl: e,
|
|
338
|
-
widgetToken: t,
|
|
339
|
-
organizationId: n,
|
|
340
|
-
configClient: r,
|
|
341
|
-
gatewayRouting: a,
|
|
342
|
-
linkComponent: o,
|
|
343
|
-
implementation: s,
|
|
344
|
-
uiFramework: l,
|
|
345
|
-
errorFallback: u,
|
|
346
|
-
onError: d,
|
|
347
|
-
analytics: f,
|
|
348
|
-
disclosuresAcceptance: p,
|
|
349
|
-
providerLabels: m,
|
|
350
|
-
children: /* @__PURE__ */ E(O, { ...h })
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
//#endregion
|
|
354
|
-
export { k as ReceivablesWidget, k as default };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
-
import { WidgetSuiteSectionId as t } from "./index5.js";
|
|
7
|
-
import { useWidgetSuiteProvider as n } from "./index6.js";
|
|
8
|
-
import { hasAnyScope as r } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
9
|
-
import { Scope as i } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
10
|
-
import "../../../shared/data-access/dist/index.js";
|
|
11
|
-
import { BalancesWidget as a } from "../../../balances-widget/feature/dist/index6.js";
|
|
12
|
-
import "../../../balances-widget/feature/dist/index.js";
|
|
13
|
-
import { InsightsWidget as o } from "../../../insights-widget/feature/dist/index12.js";
|
|
14
|
-
import "../../../insights-widget/feature/dist/index.js";
|
|
15
|
-
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
16
|
-
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index10.js
|
|
17
|
-
function l() {
|
|
18
|
-
let { grantedScopes: l, availableSections: u, labels: d, navigate: f, openAccount: p } = n(), m = r(l, [i.BankAccountReadOrg]), h = u.includes(t.Accounts), g = u.includes(t.Transfers), _ = h ? () => f(t.Accounts) : void 0;
|
|
19
|
-
return /* @__PURE__ */ c("div", {
|
|
20
|
-
className: e("ttw:grid ttw:gap-4", m && "ttw:md:grid-cols-2"),
|
|
21
|
-
children: [m && /* @__PURE__ */ s(a, {
|
|
22
|
-
...d.sections.dashboard.balances,
|
|
23
|
-
onViewAllAccountsClick: _,
|
|
24
|
-
onBalanceRowClick: h ? p : void 0
|
|
25
|
-
}), /* @__PURE__ */ s(o, {
|
|
26
|
-
...d.sections.dashboard.insights,
|
|
27
|
-
onLinkExternalAccountClick: g ? () => f(t.Transfers) : void 0
|
|
28
|
-
})]
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
var u = { Content: l };
|
|
32
|
-
//#endregion
|
|
33
|
-
export { l as DashboardSection, u as dashboardSection };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { WidgetSuiteSectionId as e } from "./index5.js";
|
|
6
|
-
import { useWidgetSuiteProvider as t } from "./index6.js";
|
|
7
|
-
import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
-
import "../../../shared/data-access/dist/index.js";
|
|
9
|
-
import { ExpenseManagementWidget as r } from "../../../expense-management-widget/feature/dist/index19.js";
|
|
10
|
-
import "../../../expense-management-widget/feature/dist/index.js";
|
|
11
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index11.js
|
|
13
|
-
function a() {
|
|
14
|
-
let { availableSections: n, labels: a, navigate: o } = t(), s = n.includes(e.Settings);
|
|
15
|
-
return /* @__PURE__ */ i(r, {
|
|
16
|
-
...a.sections.expenses,
|
|
17
|
-
onSettingsClick: s ? () => o(e.Settings) : void 0
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
var o = {
|
|
21
|
-
anyOfScopes: [n.ExpenseReadOrg, n.ExpenseReadSelf],
|
|
22
|
-
Content: a
|
|
23
|
-
};
|
|
24
|
-
//#endregion
|
|
25
|
-
export { a as ExpensesSection, o as expensesSection };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { Scope as e } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
6
|
-
import "../../../shared/data-access/dist/index.js";
|
|
7
|
-
import { InvoicingWidget as t } from "../../../invoicing-widget/feature/dist/index3.js";
|
|
8
|
-
import "../../../invoicing-widget/feature/dist/index.js";
|
|
9
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index12.js
|
|
11
|
-
function r({ renderTitle: e } = {}) {
|
|
12
|
-
return /* @__PURE__ */ n(t, { pageTitleComponent: e });
|
|
13
|
-
}
|
|
14
|
-
var i = {
|
|
15
|
-
anyOfScopes: [e.InvoiceReadOrg],
|
|
16
|
-
placesOwnTitle: !0,
|
|
17
|
-
Content: r
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { r as InvoicingSection, i as invoicingSection };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { useWidgetSuiteProvider as e } from "./index6.js";
|
|
6
|
-
import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
|
-
import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
-
import "../../../shared/data-access/dist/index.js";
|
|
9
|
-
import { LinkedAccountsWidget as r } from "../../../linked-accounts-widget/feature/dist/index10.js";
|
|
10
|
-
import "../../../linked-accounts-widget/feature/dist/index.js";
|
|
11
|
-
import { TransfersWidget as i } from "../../../transfers-widget/feature/dist/index7.js";
|
|
12
|
-
import "../../../transfers-widget/feature/dist/index.js";
|
|
13
|
-
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
14
|
-
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index14.js
|
|
15
|
-
function s() {
|
|
16
|
-
let { grantedScopes: s, labels: c } = e(), l = t(s, [n.ExternalBankAccountReadOrg]);
|
|
17
|
-
return /* @__PURE__ */ o("div", {
|
|
18
|
-
className: "ttw:grid ttw:gap-4",
|
|
19
|
-
children: [l && /* @__PURE__ */ a(r, { ...c.sections.linkedAccounts }), /* @__PURE__ */ a(i, { ...c.sections.transfers })]
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
var c = {
|
|
23
|
-
anyOfScopes: [n.BankAccountReadOrg],
|
|
24
|
-
Content: s
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
export { s as TransfersSection, c as transfersSection };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { WidgetSuiteSectionId as e } from "./index5.js";
|
|
2
|
-
import { accountsSection as t } from "./index7.js";
|
|
3
|
-
import { billPaySection as n } from "./index8.js";
|
|
4
|
-
import { cardsSection as r } from "./index9.js";
|
|
5
|
-
import { dashboardSection as i } from "./index10.js";
|
|
6
|
-
import { expensesSection as a } from "./index11.js";
|
|
7
|
-
import { invoicingSection as o } from "./index12.js";
|
|
8
|
-
import { settingsSection as s } from "./index13.js";
|
|
9
|
-
import { transfersSection as c } from "./index14.js";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index15.js
|
|
11
|
-
var l = {
|
|
12
|
-
[e.Dashboard]: i,
|
|
13
|
-
[e.Accounts]: t,
|
|
14
|
-
[e.Cards]: r,
|
|
15
|
-
[e.Transfers]: c,
|
|
16
|
-
[e.BillPay]: n,
|
|
17
|
-
[e.Invoicing]: o,
|
|
18
|
-
[e.Expenses]: a,
|
|
19
|
-
[e.Settings]: s
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
export { l as WIDGET_SUITE_SECTIONS, e as WidgetSuiteSectionId };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { useWidgetSuiteProvider as e } from "./index6.js";
|
|
6
|
-
import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
7
|
-
import "../../../shared/data-access/dist/index.js";
|
|
8
|
-
import { BankAccountsWidget as n } from "../../../bank-accounts-widget/feature/dist/index8.js";
|
|
9
|
-
import "../../../bank-accounts-widget/feature/dist/index.js";
|
|
10
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
11
|
-
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js
|
|
12
|
-
function i() {
|
|
13
|
-
let { arrivingAccountId: t, labels: i } = e();
|
|
14
|
-
return /* @__PURE__ */ r(n, {
|
|
15
|
-
defaultSelectedAccountId: t,
|
|
16
|
-
...i.sections.accounts
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
var a = {
|
|
20
|
-
anyOfScopes: [t.BankAccountReadOrg, t.ExternalBankAccountReadOrg],
|
|
21
|
-
Content: i
|
|
22
|
-
};
|
|
23
|
-
//#endregion
|
|
24
|
-
export { i as AccountsSection, a as accountsSection };
|