@tesouro/embedded-components-react 0.11.141 → 0.11.168
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/NOTICE +24 -0
- package/README.md +15 -37
- package/dist/experimental/BalanceHistoryWidget.d.ts +0 -11
- package/dist/experimental/QuickViewWidget.d.ts +0 -11
- package/dist/experimental/RemoteCheckCapture.d.ts +0 -11
- package/dist/experimental/index.d.ts +0 -11
- package/dist/fixtures/index.d.ts +27 -1
- package/dist/index.css +6976 -6246
- package/dist/index.d.ts +67 -173
- package/dist/index.js +9 -10
- package/dist/lib/AcceptDisclosuresWidget.d.ts +0 -11
- package/dist/lib/BalancesWidget.d.ts +0 -11
- package/dist/lib/BankAccountOnboardingWidget.d.ts +0 -11
- package/dist/lib/BankAccountsWidget.d.ts +3 -11
- package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -11
- package/dist/lib/BillPayWidget.d.ts +0 -11
- package/dist/lib/CardDetailsWidget.d.ts +0 -11
- package/dist/lib/CounterpartsWidget.d.ts +1 -12
- package/dist/lib/CounterpartsWidgetPublic.d.ts +1 -12
- package/dist/lib/CreditCardsWidget.d.ts +1 -11
- package/dist/lib/DebitCardsWidget.d.ts +1 -11
- package/dist/lib/ExpenseManagementWidget.d.ts +1 -12
- package/dist/lib/InsightsWidget.d.ts +0 -11
- package/dist/lib/LinkedAccountsWidget.d.ts +1 -11
- package/dist/lib/OfferWidget.d.ts +0 -11
- package/dist/lib/ReceivablesWidget.d.ts +60 -17
- package/dist/lib/ReceivablesWidget.js +3 -2
- package/dist/lib/SettingsWidget.d.ts +0 -11
- package/dist/lib/TransfersWidget.d.ts +0 -11
- package/dist/lib/WidgetProvider.d.ts +0 -11
- package/dist/lib/WidgetProviderPublic.d.ts +0 -11
- package/dist/lib/WidgetSuite.d.ts +63 -15
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index4.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index10.js +83 -82
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +84 -79
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/formatters.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +122 -121
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js +51 -46
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/BankAccountsWidgetUi.js +63 -59
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +1 -1
- 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-detail/feature/dist/index36.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useActivateCard.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useCardLock.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useEditCardNickname.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/testIds.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/useCardsWidget.js +161 -160
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +126 -122
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/TransactionDetails/TransactionDetailsFeature.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +66 -74
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +351 -318
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +126 -133
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +63 -56
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilter.js +78 -72
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilterLabels.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +138 -129
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +119 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusCards.js +37 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/tabs.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useInvoicesFilter.js +131 -81
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useLocalDayStart.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +440 -438
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentTerms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +62 -56
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +78 -86
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +180 -158
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useRecurringSeriesTable.js +132 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/invoicing.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/receivables.js +153 -137
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +137 -129
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index61.js +21 -46
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index62.js +143 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index63.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index64.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +193 -192
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +100 -96
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductDelete.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/mocks/products.js +3 -11
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/scenarios.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index2.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/summarizeCardSpend.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/useCardSpendSummary.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index8.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index16.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +43 -43
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +233 -211
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -42
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/util/dist/lib/receivableFilledTone.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/feature/dist/lib/ExpenseRequirementsWidget.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/toasts.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmbeddedToaster.js +33 -32
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +9 -8
- package/dist/node_modules/sonner/dist/index.js +620 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +6072 -6062
- package/dist/scenarios/index.d.ts +1 -3
- package/dist/scenarios/index.js +17 -20
- package/package.json +17 -4
- package/dist/lib/CustomersWidget.d.ts +0 -993
- package/dist/lib/CustomersWidget.js +0 -2
- package/dist/lib/ProductsWidget.d.ts +0 -893
- package/dist/lib/ProductsWidget.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidget/CustomersWidget.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/analytics/events.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/scenarios.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useUtcDayStart.js +0 -15
package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js
CHANGED
|
@@ -5,51 +5,52 @@
|
|
|
5
5
|
import { Badge as e, Button as t, DataTable as n, Switch as r, TablePagination as i, cn as a } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
6
|
import { EmptyState as o } from "../../../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
|
|
7
7
|
import { ErrorState as s } from "../../../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
8
|
+
import { NoAccessState as c } from "../../../../../shared/ui/dist/lib/StatePanel/NoAccessState.js";
|
|
8
9
|
import "../../../../../shared/ui/dist/index.js";
|
|
9
|
-
import { resolveCardsListLabels as
|
|
10
|
-
import { useId as
|
|
11
|
-
import { jsx as
|
|
12
|
-
import { CreditCardIcon as
|
|
10
|
+
import { resolveCardsListLabels as l } from "./labels.js";
|
|
11
|
+
import { useId as u, useMemo as d } from "react";
|
|
12
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
13
|
+
import { CreditCardIcon as m } from "lucide-react";
|
|
13
14
|
// ../../libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js
|
|
14
|
-
var
|
|
15
|
+
var h = [
|
|
15
16
|
10,
|
|
16
17
|
25,
|
|
17
18
|
50
|
|
18
|
-
],
|
|
19
|
-
function
|
|
20
|
-
return /* @__PURE__ */
|
|
19
|
+
], g = [], _ = () => void 0;
|
|
20
|
+
function v({ row: e, labels: t, isClickable: n }) {
|
|
21
|
+
return /* @__PURE__ */ p("span", {
|
|
21
22
|
className: "ttw:flex ttw:min-w-0 ttw:flex-col ttw:gap-0.5",
|
|
22
|
-
children: [/* @__PURE__ */
|
|
23
|
+
children: [/* @__PURE__ */ p("span", {
|
|
23
24
|
className: "ttw:flex ttw:gap-1 ttw:text-sm",
|
|
24
25
|
children: [
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
+
/* @__PURE__ */ f("span", {
|
|
26
27
|
className: a("ttw:truncate ttw:font-medium", n ? "ttw:text-primary" : "ttw:text-foreground"),
|
|
27
28
|
children: e.nickname
|
|
28
29
|
}),
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ f("span", {
|
|
30
31
|
className: "ttw:text-muted-foreground",
|
|
31
32
|
"aria-hidden": !0,
|
|
32
33
|
children: t.cardNameSeparator
|
|
33
34
|
}),
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ f("span", {
|
|
35
36
|
className: "ttw:font-normal ttw:text-muted-foreground",
|
|
36
37
|
children: e.lastFour
|
|
37
38
|
})
|
|
38
39
|
]
|
|
39
|
-
}), /* @__PURE__ */
|
|
40
|
+
}), /* @__PURE__ */ f("span", {
|
|
40
41
|
className: "ttw:truncate ttw:text-xs ttw:font-normal ttw:text-muted-foreground",
|
|
41
42
|
children: e.typeLabel
|
|
42
43
|
})]
|
|
43
44
|
});
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
-
return /* @__PURE__ */
|
|
46
|
+
function y({ row: e, labels: t }) {
|
|
47
|
+
return /* @__PURE__ */ p("span", {
|
|
47
48
|
className: "ttw:flex ttw:min-w-0 ttw:items-baseline ttw:gap-1 ttw:text-sm ttw:font-normal",
|
|
48
|
-
children: [/* @__PURE__ */
|
|
49
|
+
children: [/* @__PURE__ */ f("span", {
|
|
49
50
|
className: "ttw:max-w-50 ttw:truncate ttw:text-foreground",
|
|
50
51
|
title: e.fundingAccount,
|
|
51
52
|
children: e.fundingAccount
|
|
52
|
-
}), e.fundingAccountLastFour && /* @__PURE__ */
|
|
53
|
+
}), e.fundingAccountLastFour && /* @__PURE__ */ p("span", {
|
|
53
54
|
className: "ttw:shrink-0 ttw:text-muted-foreground",
|
|
54
55
|
children: [
|
|
55
56
|
t.cardNameSeparator,
|
|
@@ -59,29 +60,29 @@ function v({ row: e, labels: t }) {
|
|
|
59
60
|
})]
|
|
60
61
|
});
|
|
61
62
|
}
|
|
62
|
-
function
|
|
63
|
-
return e.limit ? /* @__PURE__ */
|
|
63
|
+
function b({ row: e, labels: t }) {
|
|
64
|
+
return e.limit ? /* @__PURE__ */ p("span", {
|
|
64
65
|
className: "ttw:text-sm ttw:tabular-nums",
|
|
65
|
-
children: [/* @__PURE__ */
|
|
66
|
+
children: [/* @__PURE__ */ f("span", {
|
|
66
67
|
className: "ttw:text-foreground",
|
|
67
68
|
children: e.limit
|
|
68
|
-
}), e.limitPeriod && /* @__PURE__ */
|
|
69
|
+
}), e.limitPeriod && /* @__PURE__ */ p("span", {
|
|
69
70
|
className: "ttw:font-normal ttw:text-muted-foreground",
|
|
70
71
|
children: [" ", e.limitPeriod]
|
|
71
72
|
})]
|
|
72
|
-
}) : /* @__PURE__ */
|
|
73
|
+
}) : /* @__PURE__ */ f("span", {
|
|
73
74
|
className: "ttw:text-sm ttw:font-normal ttw:text-muted-foreground",
|
|
74
75
|
children: t.noLimit
|
|
75
76
|
});
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
-
return /* @__PURE__ */
|
|
78
|
+
function x({ row: t }) {
|
|
79
|
+
return /* @__PURE__ */ f(e, {
|
|
79
80
|
tone: t.statusTone,
|
|
80
81
|
children: t.statusLabel
|
|
81
82
|
});
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
-
return e.onActivate ? /* @__PURE__ */
|
|
84
|
+
function S({ row: e, labels: n }) {
|
|
85
|
+
return e.onActivate ? /* @__PURE__ */ f(t, {
|
|
85
86
|
size: "sm",
|
|
86
87
|
variant: "outline",
|
|
87
88
|
"aria-label": `${n.activateButtonForCard} ${e.nickname}`,
|
|
@@ -91,26 +92,26 @@ function x({ row: e, labels: n }) {
|
|
|
91
92
|
children: n.activateButton
|
|
92
93
|
}) : null;
|
|
93
94
|
}
|
|
94
|
-
function
|
|
95
|
+
function C(e, t, n, r) {
|
|
95
96
|
let i = {
|
|
96
|
-
cardName: (e) => /* @__PURE__ */
|
|
97
|
+
cardName: (e) => /* @__PURE__ */ f(v, {
|
|
97
98
|
row: e,
|
|
98
99
|
labels: t,
|
|
99
100
|
isClickable: n
|
|
100
101
|
}),
|
|
101
|
-
fundingAccount: (e) => /* @__PURE__ */
|
|
102
|
+
fundingAccount: (e) => /* @__PURE__ */ f(y, {
|
|
102
103
|
row: e,
|
|
103
104
|
labels: t
|
|
104
105
|
}),
|
|
105
|
-
cardholder: (e) => /* @__PURE__ */
|
|
106
|
+
cardholder: (e) => /* @__PURE__ */ f("span", {
|
|
106
107
|
className: "ttw:block ttw:max-w-50 ttw:truncate ttw:text-sm ttw:font-normal ttw:text-foreground",
|
|
107
108
|
title: e.cardholder,
|
|
108
109
|
children: e.cardholder
|
|
109
110
|
}),
|
|
110
|
-
status: (e) => /* @__PURE__ */
|
|
111
|
-
limit: (e) => /* @__PURE__ */
|
|
111
|
+
status: (e) => /* @__PURE__ */ f(x, { row: e }),
|
|
112
|
+
limit: (e) => /* @__PURE__ */ f("div", {
|
|
112
113
|
className: "ttw:text-right",
|
|
113
|
-
children: /* @__PURE__ */
|
|
114
|
+
children: /* @__PURE__ */ f(b, {
|
|
114
115
|
row: e,
|
|
115
116
|
labels: t
|
|
116
117
|
})
|
|
@@ -119,7 +120,7 @@ function S(e, t, n, r) {
|
|
|
119
120
|
return [...e.map((e) => ({
|
|
120
121
|
id: e,
|
|
121
122
|
meta: { fitContent: e === "status" || e === "limit" },
|
|
122
|
-
header: () => e === "limit" ? /* @__PURE__ */
|
|
123
|
+
header: () => e === "limit" ? /* @__PURE__ */ f("div", {
|
|
123
124
|
className: "ttw:text-right",
|
|
124
125
|
children: t.columnHeaders[e]
|
|
125
126
|
}) : t.columnHeaders[e],
|
|
@@ -127,45 +128,45 @@ function S(e, t, n, r) {
|
|
|
127
128
|
})), ...r ? [{
|
|
128
129
|
id: "actions",
|
|
129
130
|
meta: { fitContent: !0 },
|
|
130
|
-
header: () => /* @__PURE__ */
|
|
131
|
+
header: () => /* @__PURE__ */ f("span", {
|
|
131
132
|
className: "ttw:sr-only",
|
|
132
133
|
children: t.rowActionsColumn
|
|
133
134
|
}),
|
|
134
|
-
cell: ({ row: e }) => /* @__PURE__ */
|
|
135
|
+
cell: ({ row: e }) => /* @__PURE__ */ f("div", {
|
|
135
136
|
className: "ttw:text-right",
|
|
136
|
-
children: /* @__PURE__ */
|
|
137
|
+
children: /* @__PURE__ */ f(S, {
|
|
137
138
|
row: e.original,
|
|
138
139
|
labels: t
|
|
139
140
|
})
|
|
140
141
|
})
|
|
141
142
|
}] : []];
|
|
142
143
|
}
|
|
143
|
-
function
|
|
144
|
-
return /* @__PURE__ */
|
|
144
|
+
function w({ row: e, columns: t, labels: n, isClickable: r }) {
|
|
145
|
+
return /* @__PURE__ */ p("div", {
|
|
145
146
|
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
146
147
|
children: [
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ p("div", {
|
|
148
149
|
className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-2",
|
|
149
|
-
children: [/* @__PURE__ */
|
|
150
|
+
children: [/* @__PURE__ */ f(v, {
|
|
150
151
|
row: e,
|
|
151
152
|
labels: n,
|
|
152
153
|
isClickable: r
|
|
153
|
-
}), t.includes("status") && /* @__PURE__ */
|
|
154
|
+
}), t.includes("status") && /* @__PURE__ */ f(x, { row: e })]
|
|
154
155
|
}),
|
|
155
|
-
t.includes("cardholder") && /* @__PURE__ */
|
|
156
|
+
t.includes("cardholder") && /* @__PURE__ */ f("span", {
|
|
156
157
|
className: "ttw:text-sm ttw:text-foreground",
|
|
157
158
|
children: e.cardholder
|
|
158
159
|
}),
|
|
159
|
-
t.includes("fundingAccount") && /* @__PURE__ */
|
|
160
|
+
t.includes("fundingAccount") && /* @__PURE__ */ f(y, {
|
|
160
161
|
row: e,
|
|
161
162
|
labels: n
|
|
162
163
|
}),
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ p("div", {
|
|
164
165
|
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-2",
|
|
165
|
-
children: [t.includes("limit") ? /* @__PURE__ */
|
|
166
|
+
children: [t.includes("limit") ? /* @__PURE__ */ f(b, {
|
|
166
167
|
row: e,
|
|
167
168
|
labels: n
|
|
168
|
-
}) : null, /* @__PURE__ */
|
|
169
|
+
}) : null, /* @__PURE__ */ f(S, {
|
|
169
170
|
row: e,
|
|
170
171
|
labels: n
|
|
171
172
|
})]
|
|
@@ -173,107 +174,110 @@ function C({ row: e, columns: t, labels: n, isClickable: r }) {
|
|
|
173
174
|
]
|
|
174
175
|
});
|
|
175
176
|
}
|
|
176
|
-
function
|
|
177
|
-
let
|
|
177
|
+
function T({ rows: e, columns: a, isLoading: v = !1, isError: y = !1, isAccessRestricted: b = !1, canToggleShowMyCards: x = !1, isShowingMyCards: S = !0, onShowMyCardsChange: T, canCreateCard: E = !1, onCreateCardClick: D, headerStart: O, onRetry: k, isPaginationVisible: A = !1, pageSize: j = 10, pageSizeOptions: M = h, rangeLabel: N = "", isPreviousPageDisabled: P = !1, isNextPageDisabled: F = !1, onPageSizeChange: I, onPreviousPageClick: L, onNextPageClick: R, labels: z, testIds: B }) {
|
|
178
|
+
let V = u(), H = d(() => l(z), [z]), U = e.length > 0 && e.every((e) => e.onSelect !== void 0), W = e.some((e) => !!e.onActivate), G = d(() => C(a, H, U, W), [
|
|
178
179
|
a,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
]),
|
|
180
|
+
H,
|
|
181
|
+
U,
|
|
182
|
+
W
|
|
183
|
+
]), K = !!(E && D && !b), q = !v && !y && !b && e.length === 0, J = K && !q, Y = !!(A && I && L && R), X = U ? {
|
|
183
184
|
onRowClick: (e) => e.onSelect?.(),
|
|
184
|
-
rowAriaLabel: (e) => `${
|
|
185
|
+
rowAriaLabel: (e) => `${H.selectCardButton} ${e.nickname} ${e.lastFour} ${e.typeLabel}`
|
|
185
186
|
} : {};
|
|
186
|
-
return /* @__PURE__ */
|
|
187
|
-
"aria-label":
|
|
188
|
-
"aria-busy":
|
|
189
|
-
"data-testid":
|
|
187
|
+
return /* @__PURE__ */ p("section", {
|
|
188
|
+
"aria-label": H.regionLabel,
|
|
189
|
+
"aria-busy": v || void 0,
|
|
190
|
+
"data-testid": B?.root,
|
|
190
191
|
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
191
192
|
children: [
|
|
192
|
-
(
|
|
193
|
+
(J || O) && /* @__PURE__ */ p("header", {
|
|
193
194
|
className: "ttw:flex ttw:items-center ttw:gap-4",
|
|
194
|
-
children: [
|
|
195
|
+
children: [O, J && /* @__PURE__ */ f(t, {
|
|
195
196
|
size: "sm",
|
|
196
|
-
disabled:
|
|
197
|
-
onClick:
|
|
197
|
+
disabled: v,
|
|
198
|
+
onClick: D,
|
|
198
199
|
className: "ttw:ml-auto",
|
|
199
|
-
children:
|
|
200
|
+
children: H.createCardButton
|
|
200
201
|
})]
|
|
201
202
|
}),
|
|
202
|
-
|
|
203
|
+
x && T && /* @__PURE__ */ p("div", {
|
|
203
204
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
204
|
-
children: [/* @__PURE__ */
|
|
205
|
-
checked:
|
|
206
|
-
disabled:
|
|
207
|
-
onCheckedChange:
|
|
208
|
-
"aria-labelledby":
|
|
209
|
-
}), /* @__PURE__ */
|
|
210
|
-
id:
|
|
205
|
+
children: [/* @__PURE__ */ f(r, {
|
|
206
|
+
checked: S,
|
|
207
|
+
disabled: v,
|
|
208
|
+
onCheckedChange: T,
|
|
209
|
+
"aria-labelledby": V
|
|
210
|
+
}), /* @__PURE__ */ f("span", {
|
|
211
|
+
id: V,
|
|
211
212
|
className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
212
|
-
children:
|
|
213
|
+
children: H.showMyCardsToggle
|
|
213
214
|
})]
|
|
214
215
|
}),
|
|
215
|
-
|
|
216
|
+
b || y || q ? /* @__PURE__ */ p("div", {
|
|
216
217
|
className: "ttw:rounded-xl ttw:border ttw:border-border ttw:bg-card",
|
|
217
|
-
children: [
|
|
218
|
-
title:
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
218
|
+
children: [b ? /* @__PURE__ */ f(c, {
|
|
219
|
+
title: H.accessRestrictedTitle,
|
|
220
|
+
testId: B?.accessRestricted
|
|
221
|
+
}) : y ? /* @__PURE__ */ f(s, {
|
|
222
|
+
title: H.errorTitle,
|
|
223
|
+
description: H.errorDescription,
|
|
224
|
+
retryLabel: H.retryButton,
|
|
225
|
+
onRetry: k,
|
|
226
|
+
testId: B?.error
|
|
227
|
+
}) : /* @__PURE__ */ f(o, {
|
|
228
|
+
icon: /* @__PURE__ */ f(m, {}),
|
|
229
|
+
title: H.emptyTitle,
|
|
230
|
+
description: H.emptyDescription,
|
|
231
|
+
actionLabel: K ? H.createCardButton : void 0,
|
|
232
|
+
onAction: K ? D : void 0,
|
|
233
|
+
testId: B?.empty
|
|
234
|
+
}), !y && !b && Y ? /* @__PURE__ */ f(i, {
|
|
235
|
+
pageSize: j,
|
|
236
|
+
pageSizeOptions: M,
|
|
237
|
+
onPageSizeChange: I,
|
|
238
|
+
pageInfo: N || void 0,
|
|
239
|
+
hasPrevPage: !P,
|
|
240
|
+
hasNextPage: !F,
|
|
241
|
+
onPrevPage: L ?? _,
|
|
242
|
+
onNextPage: R ?? _,
|
|
239
243
|
labels: {
|
|
240
|
-
rowsPerPage:
|
|
241
|
-
previousPage:
|
|
242
|
-
nextPage:
|
|
244
|
+
rowsPerPage: H.pagination.rowsPerPageLabel,
|
|
245
|
+
previousPage: H.pagination.previousPageButton,
|
|
246
|
+
nextPage: H.pagination.nextPageButton
|
|
243
247
|
}
|
|
244
248
|
}) : null]
|
|
245
|
-
}) : /* @__PURE__ */
|
|
246
|
-
columns:
|
|
249
|
+
}) : /* @__PURE__ */ f(n, {
|
|
250
|
+
columns: G,
|
|
247
251
|
data: e,
|
|
248
252
|
getRowId: (e) => e.key,
|
|
249
|
-
rowTestId:
|
|
250
|
-
sorting:
|
|
251
|
-
onSortingChange:
|
|
252
|
-
isLoading:
|
|
253
|
-
showPagination:
|
|
254
|
-
pageSize:
|
|
255
|
-
pageSizeOptions:
|
|
256
|
-
onPageSizeChange:
|
|
257
|
-
pageInfo:
|
|
258
|
-
hasPrevPage: !
|
|
259
|
-
hasNextPage: !
|
|
260
|
-
onPrevPage:
|
|
261
|
-
onNextPage:
|
|
262
|
-
renderCard: (e) => /* @__PURE__ */
|
|
253
|
+
rowTestId: B?.row,
|
|
254
|
+
sorting: g,
|
|
255
|
+
onSortingChange: _,
|
|
256
|
+
isLoading: v,
|
|
257
|
+
showPagination: Y,
|
|
258
|
+
pageSize: j,
|
|
259
|
+
pageSizeOptions: M,
|
|
260
|
+
onPageSizeChange: I ?? _,
|
|
261
|
+
pageInfo: N || void 0,
|
|
262
|
+
hasPrevPage: !P && !v,
|
|
263
|
+
hasNextPage: !F && !v,
|
|
264
|
+
onPrevPage: L ?? _,
|
|
265
|
+
onNextPage: R ?? _,
|
|
266
|
+
renderCard: (e) => /* @__PURE__ */ f(w, {
|
|
263
267
|
row: e,
|
|
264
268
|
columns: a,
|
|
265
|
-
labels:
|
|
266
|
-
isClickable:
|
|
269
|
+
labels: H,
|
|
270
|
+
isClickable: U
|
|
267
271
|
}),
|
|
268
272
|
labels: {
|
|
269
|
-
loading:
|
|
270
|
-
rowsPerPage:
|
|
271
|
-
previousPage:
|
|
272
|
-
nextPage:
|
|
273
|
+
loading: H.loadingLabel,
|
|
274
|
+
rowsPerPage: H.pagination.rowsPerPageLabel,
|
|
275
|
+
previousPage: H.pagination.previousPageButton,
|
|
276
|
+
nextPage: H.pagination.nextPageButton
|
|
273
277
|
},
|
|
274
|
-
...
|
|
278
|
+
...X
|
|
275
279
|
})
|
|
276
280
|
]
|
|
277
281
|
});
|
|
278
282
|
}
|
|
279
|
-
export {
|
|
283
|
+
export { T as CardsList, T as default };
|
package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/labels.js
CHANGED
|
@@ -21,6 +21,7 @@ var t = {
|
|
|
21
21
|
loadingLabel: "Loading cards",
|
|
22
22
|
emptyTitle: "No cards yet",
|
|
23
23
|
emptyDescription: "Create a physical or virtual card to get started.",
|
|
24
|
+
accessRestrictedTitle: "You don't have access to these cards",
|
|
24
25
|
errorTitle: "Couldn't load cards",
|
|
25
26
|
errorDescription: "Check your connection, then try again.",
|
|
26
27
|
retryButton: "Try again",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "../../../../../../../
|
|
5
|
+
import { toast as e } from "../../../../../../../node_modules/sonner/dist/index.js";
|
|
6
6
|
import "../../../../../shared/ui/dist/index.js";
|
|
7
7
|
import { bankAccountToAchFormValues as t, counterpartToFormValues as n } from "../../../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
8
8
|
import { useCounterpartForm as r } from "../../../../../shared/counterpart-management/feature/dist/lib/useCounterpartForm.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "../../../../../../
|
|
5
|
+
import { toast as e } from "../../../../../../node_modules/sonner/dist/index.js";
|
|
6
6
|
import { isOrganizationOnItsWay as t } from "../../../../shared/data-access/dist/lib/organizationStatus.js";
|
|
7
7
|
import { useEmbedApi as n } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
8
|
import { Scope as r } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
5
|
+
import { toast as e } from "../../../../../../../node_modules/sonner/dist/index.js";
|
|
6
|
+
import { Button as t } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
7
|
import { useMailboxAddress as n } from "../../../../../shared/data-access/dist/lib/useMailboxAddress.js";
|
|
7
8
|
import { useAllOrganizationUsersQuery as ee } from "../../../../../shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js";
|
|
8
9
|
import "../../../../../shared/data-access/dist/index.js";
|
|
@@ -108,22 +109,22 @@ function O({ screenLabels: s, headerLabels: v, transactionsTableLabels: O, filte
|
|
|
108
109
|
return rt(e);
|
|
109
110
|
}, mt = (e) => {
|
|
110
111
|
X.current = e, $e.current?.click();
|
|
111
|
-
}, ht = async (
|
|
112
|
+
}, ht = async (t) => {
|
|
112
113
|
let n = X.current;
|
|
113
114
|
if (X.current = null, n) {
|
|
114
115
|
tt(n);
|
|
115
116
|
try {
|
|
116
|
-
let
|
|
117
|
-
if (!
|
|
117
|
+
let e = await Xe.mutateAsync({ body: { file: t } });
|
|
118
|
+
if (!e.id) throw Error("Receipt upload returned no id");
|
|
118
119
|
await Qe.mutateAsync({
|
|
119
|
-
path: { receipt_id:
|
|
120
|
+
path: { receipt_id: e.id },
|
|
120
121
|
body: { transaction_id: n }
|
|
121
122
|
}), it({
|
|
122
|
-
receiptId:
|
|
123
|
+
receiptId: e.id,
|
|
123
124
|
transactionId: n
|
|
124
125
|
}).catch(() => void 0);
|
|
125
126
|
} catch {
|
|
126
|
-
|
|
127
|
+
e.error(p.receiptUploadFailed);
|
|
127
128
|
} finally {
|
|
128
129
|
tt(null);
|
|
129
130
|
}
|
|
@@ -206,7 +207,7 @@ function O({ screenLabels: s, headerLabels: v, transactionsTableLabels: O, filte
|
|
|
206
207
|
myTransactionsContent: /* @__PURE__ */ D(T, { children: [
|
|
207
208
|
ct && /* @__PURE__ */ D(o, {
|
|
208
209
|
className: "ttw:mb-4 ttw:flex ttw:items-center ttw:gap-2",
|
|
209
|
-
children: [/* @__PURE__ */ E("span", { children: b.countsFailed }), /* @__PURE__ */ E(
|
|
210
|
+
children: [/* @__PURE__ */ E("span", { children: b.countsFailed }), /* @__PURE__ */ E(t, {
|
|
210
211
|
type: "button",
|
|
211
212
|
variant: "link",
|
|
212
213
|
size: "sm",
|
|
@@ -292,7 +293,7 @@ function O({ screenLabels: s, headerLabels: v, transactionsTableLabels: O, filte
|
|
|
292
293
|
teamTransactionsContent: F ? /* @__PURE__ */ D(T, { children: [
|
|
293
294
|
lt && /* @__PURE__ */ D(o, {
|
|
294
295
|
className: "ttw:mb-4 ttw:flex ttw:items-center ttw:gap-2",
|
|
295
|
-
children: [/* @__PURE__ */ E("span", { children: b.countsFailed }), /* @__PURE__ */ E(
|
|
296
|
+
children: [/* @__PURE__ */ E("span", { children: b.countsFailed }), /* @__PURE__ */ E(t, {
|
|
296
297
|
type: "button",
|
|
297
298
|
variant: "link",
|
|
298
299
|
size: "sm",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "../../../../../../../
|
|
5
|
+
import { toast as e } from "../../../../../../../node_modules/sonner/dist/index.js";
|
|
6
6
|
import { formatTimestampDate as t } from "../../../../../shared/util/dist/lib/formatTimestampDate.js";
|
|
7
7
|
import { formatMoneyExact as n } from "../../../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
8
8
|
import "../../../../../shared/util/dist/index.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { toast as e } from "../../../../../../
|
|
5
|
+
import { toast as e } from "../../../../../../node_modules/sonner/dist/index.js";
|
|
6
6
|
import { formatCalendarDate as t } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
7
7
|
import { formatTimestampDate as n } from "../../../../shared/util/dist/lib/formatTimestampDate.js";
|
|
8
8
|
import "../../../../shared/util/dist/index.js";
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js
CHANGED
|
@@ -12,6 +12,6 @@ import { useAcceptReceivableMutation as d, useCancelReceivableMutation as f, use
|
|
|
12
12
|
import { useReceivablePaymentRecordsQuery as y } from "./index12.js";
|
|
13
13
|
import { useCreateReceivablePaymentRecordMutation as b, useMarkReceivablePaidMutation as x, useMarkReceivableUncollectibleMutation as S } from "./index13.js";
|
|
14
14
|
import { useReceivablePdfLinkQuery as C, useReceivableQuery as w, useReceivableRequiredFieldsQuery as T, useReceivablesByIdQueries as E, useReceivablesQuery as D } from "./index15.js";
|
|
15
|
-
import { useCancelRecurrenceMutation as O, useCreateOverdueReminderMutation as k, useCreatePaymentReminderMutation as A, useCreateRecurrenceMutation as j, useOverdueRemindersQuery as M, usePauseRecurrenceMutation as N, usePaymentRemindersQuery as P, useRecurrenceQuery as F,
|
|
15
|
+
import { useCancelRecurrenceMutation as O, useCreateOverdueReminderMutation as k, useCreatePaymentReminderMutation as A, useCreateRecurrenceMutation as j, useOverdueRemindersQuery as M, usePauseRecurrenceMutation as N, usePaymentRemindersQuery as P, useRecurrenceQuery as F, useRecurrencesQuery as I, useResumeRecurrenceMutation as L, useUpdateRecurrenceMutation as R } from "./index16.js";
|
|
16
16
|
import { useReceivablesAnalyticsQuery as z } from "./index17.js";
|
|
17
|
-
export { d as useAcceptReceivableMutation, t as useAllCustomersQuery, n as useAllReceivableHistoryQuery, f as useCancelReceivableMutation, O as useCancelRecurrenceMutation, p as useCloneReceivableMutation, a as useCreateEntityBankAccountMutation, k as useCreateOverdueReminderMutation, A as useCreatePaymentReminderMutation, m as useCreateReceivableMutation, b as useCreateReceivablePaymentRecordMutation, j as useCreateRecurrenceMutation, h as useDeclineReceivableMutation, c as useDeleteReceivableAttachmentMutation, g as useDeleteReceivableMutation, r as useEntityPaymentMethodsQuery, i as useEntitySettingsQuery, _ as useIssueReceivableMutation, x as useMarkReceivablePaidMutation, S as useMarkReceivableUncollectibleMutation, M as useOverdueRemindersQuery, N as usePauseRecurrenceMutation, o as usePaymentAccountQuery, s as usePaymentAccountsQuery, P as usePaymentRemindersQuery, e as usePaymentTermsQuery, y as useReceivablePaymentRecordsQuery, C as useReceivablePdfLinkQuery, w as useReceivableQuery, T as useReceivableRequiredFieldsQuery, z as useReceivablesAnalyticsQuery, E as useReceivablesByIdQueries, D as useReceivablesQuery, F as useRecurrenceQuery, I as
|
|
17
|
+
export { d as useAcceptReceivableMutation, t as useAllCustomersQuery, n as useAllReceivableHistoryQuery, f as useCancelReceivableMutation, O as useCancelRecurrenceMutation, p as useCloneReceivableMutation, a as useCreateEntityBankAccountMutation, k as useCreateOverdueReminderMutation, A as useCreatePaymentReminderMutation, m as useCreateReceivableMutation, b as useCreateReceivablePaymentRecordMutation, j as useCreateRecurrenceMutation, h as useDeclineReceivableMutation, c as useDeleteReceivableAttachmentMutation, g as useDeleteReceivableMutation, r as useEntityPaymentMethodsQuery, i as useEntitySettingsQuery, _ as useIssueReceivableMutation, x as useMarkReceivablePaidMutation, S as useMarkReceivableUncollectibleMutation, M as useOverdueRemindersQuery, N as usePauseRecurrenceMutation, o as usePaymentAccountQuery, s as usePaymentAccountsQuery, P as usePaymentRemindersQuery, e as usePaymentTermsQuery, y as useReceivablePaymentRecordsQuery, C as useReceivablePdfLinkQuery, w as useReceivableQuery, T as useReceivableRequiredFieldsQuery, z as useReceivablesAnalyticsQuery, E as useReceivablesByIdQueries, D as useReceivablesQuery, F as useRecurrenceQuery, I as useRecurrencesQuery, L as useResumeRecurrenceMutation, u as useSendReceivableEmailMutation, v as useUpdateReceivableMutation, R as useUpdateRecurrenceMutation, l as useUploadReceivableAttachmentMutation };
|