@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
|
@@ -4,35 +4,38 @@ import { InvoicesFilterBar as t } from "./index4.js";
|
|
|
4
4
|
import "./index5.js";
|
|
5
5
|
import { INVOICING_TABS_LABELS_EN as n } from "./index6.js";
|
|
6
6
|
import { InvoicingTabs as r } from "./index7.js";
|
|
7
|
-
import
|
|
7
|
+
import "./index8.js";
|
|
8
8
|
import "./index9.js";
|
|
9
9
|
import "./index10.js";
|
|
10
|
-
import { ReceivableActionsModal as
|
|
10
|
+
import { ReceivableActionsModal as i } from "./index13.js";
|
|
11
11
|
import "./index14.js";
|
|
12
12
|
import "./index15.js";
|
|
13
13
|
import "./index16.js";
|
|
14
14
|
import "./index17.js";
|
|
15
15
|
import "./index18.js";
|
|
16
|
-
import { ReceivableActionDialog as
|
|
17
|
-
import { ReceivableBankAccountSection as
|
|
18
|
-
import { ReceivableAttachmentsSection as
|
|
19
|
-
import { RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE as
|
|
20
|
-
import { ReceivableBillingSection as
|
|
16
|
+
import { ReceivableActionDialog as a } from "./index19.js";
|
|
17
|
+
import { ReceivableBankAccountSection as o } from "./index20.js";
|
|
18
|
+
import { ReceivableAttachmentsSection as s } from "./index21.js";
|
|
19
|
+
import { RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE as c, RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE as l } from "./index24.js";
|
|
20
|
+
import { ReceivableBillingSection as u } from "./index25.js";
|
|
21
21
|
import "./index26.js";
|
|
22
|
-
import { ReceivableCustomerSection as
|
|
22
|
+
import { ReceivableCustomerSection as d } from "./index27.js";
|
|
23
23
|
import "./index28.js";
|
|
24
|
-
import { RECEIVABLE_DETAILS_SECTION as
|
|
25
|
-
import { ReceivableDetailsPanel as
|
|
24
|
+
import { RECEIVABLE_DETAILS_SECTION as f } from "./index31.js";
|
|
25
|
+
import { ReceivableDetailsPanel as p } from "./index43.js";
|
|
26
26
|
import "./index44.js";
|
|
27
|
-
import { ReceivableFormDialog as
|
|
28
|
-
import { ReceivablePaymentDialog as
|
|
27
|
+
import { ReceivableFormDialog as m } from "./index47.js";
|
|
28
|
+
import { ReceivablePaymentDialog as h } from "./index48.js";
|
|
29
29
|
import "./index49.js";
|
|
30
|
-
import { ReceivablePreview as
|
|
30
|
+
import { ReceivablePreview as g } from "./index52.js";
|
|
31
31
|
import "./index53.js";
|
|
32
|
-
import { ReceivableRecurrenceEmailDialog as
|
|
33
|
-
import { ReceivableRecurrenceSection as
|
|
32
|
+
import { ReceivableRecurrenceEmailDialog as _ } from "./index54.js";
|
|
33
|
+
import { ReceivableRecurrenceSection as v } from "./index56.js";
|
|
34
34
|
import "./index57.js";
|
|
35
|
-
import { ReceivableRemindersSection as
|
|
36
|
-
import { ReceivablesScreen as
|
|
37
|
-
import {
|
|
38
|
-
|
|
35
|
+
import { ReceivableRemindersSection as y } from "./index58.js";
|
|
36
|
+
import { ReceivablesScreen as b } from "./index60.js";
|
|
37
|
+
import { RECURRING_SERIES_SCREEN_LABELS_EN as x } from "./index61.js";
|
|
38
|
+
import { RecurringSeriesScreen as S } from "./index62.js";
|
|
39
|
+
import "./index63.js";
|
|
40
|
+
import { UnsavedInvoiceDialog as C } from "./index64.js";
|
|
41
|
+
export { n as INVOICING_TABS_LABELS_EN, t as InvoicesFilterBar, e as InvoicesFilterField, r as InvoicingTabs, f as RECEIVABLE_DETAILS_SECTION, c as RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE, l as RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE, x as RECURRING_SERIES_SCREEN_LABELS_EN, a as ReceivableActionDialog, i as ReceivableActionsModal, s as ReceivableAttachmentsSection, o as ReceivableBankAccountSection, u as ReceivableBillingSection, d as ReceivableCustomerSection, p as ReceivableDetailsPanel, m as ReceivableFormDialog, h as ReceivablePaymentDialog, g as ReceivablePreview, _ as ReceivableRecurrenceEmailDialog, v as ReceivableRecurrenceSection, y as ReceivableRemindersSection, b as ReceivablesScreen, S as RecurringSeriesScreen, C as UnsavedInvoiceDialog };
|
|
@@ -13,15 +13,16 @@ var a = {
|
|
|
13
13
|
statusCardsLoading: a.loading,
|
|
14
14
|
columnDueDate: "Due date",
|
|
15
15
|
columnStatus: "Status",
|
|
16
|
-
columnNumber: "
|
|
16
|
+
columnNumber: "Invoice number",
|
|
17
17
|
columnCustomer: "Customer",
|
|
18
|
-
columnIssueDate: "
|
|
18
|
+
columnIssueDate: "Invoice date",
|
|
19
|
+
columnBalanceDue: "Balance due",
|
|
19
20
|
columnAmount: "Amount",
|
|
20
21
|
openRow: (e) => `View invoice — ${e}`,
|
|
21
22
|
sortByDueDate: "Sort by due date",
|
|
22
23
|
sortByStatus: "Sort by status",
|
|
23
|
-
sortByNumber: "Sort by number",
|
|
24
|
-
sortByIssueDate: "Sort by
|
|
24
|
+
sortByNumber: "Sort by invoice number",
|
|
25
|
+
sortByIssueDate: "Sort by invoice date",
|
|
25
26
|
sortByAmount: "Sort by amount",
|
|
26
27
|
emptyTitle: "No Invoices",
|
|
27
28
|
emptyDescription: "You don’t have any invoices yet.",
|
|
@@ -45,6 +46,7 @@ var a = {
|
|
|
45
46
|
...r,
|
|
46
47
|
...s,
|
|
47
48
|
createTitle: "Create invoice",
|
|
49
|
+
createRecurringTitle: "Create recurring invoice",
|
|
48
50
|
createDescription: "Create and issue an invoice to your customers",
|
|
49
51
|
editTitle: "Edit invoice",
|
|
50
52
|
editDescription: "Invoice details",
|
|
@@ -6,7 +6,7 @@ import { useId as ne } from "react";
|
|
|
6
6
|
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
7
7
|
import { CircleAlertIcon as O, MinusIcon as k, PlusIcon as A, Trash2Icon as j, XIcon as M } from "lucide-react";
|
|
8
8
|
// ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js
|
|
9
|
-
var N = "__none__", P = "__manage__", F = "ttw:flex ttw:h-9 ttw:min-w-0 ttw:items-center ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:has-[input:focus-visible]:border-ring ttw:has-[input:focus-visible]:ring-[3px] ttw:has-[input:focus-visible]:ring-ring/50 ttw:has-[[aria-invalid=true]]:border-destructive", I = "ttw:h-full ttw:min-w-0 ttw:flex-1 ttw:bg-transparent ttw:text-right ttw:text-base ttw:outline-none ttw:placeholder:text-muted-foreground ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:md:text-sm", L = "ttw:flex ttw:items-center ttw:text-sm ttw:font-medium ttw:text-muted-foreground ttw:select-none", R = "ttw:flex ttw:size-6 ttw:shrink-0 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-
|
|
9
|
+
var N = "__none__", P = "__manage__", F = "ttw:flex ttw:h-9 ttw:min-w-0 ttw:items-center ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:has-[input:focus-visible]:border-ring ttw:has-[input:focus-visible]:ring-[3px] ttw:has-[input:focus-visible]:ring-ring/50 ttw:has-[[aria-invalid=true]]:border-destructive", I = "ttw:h-full ttw:min-w-0 ttw:flex-1 ttw:bg-transparent ttw:text-right ttw:text-base ttw:outline-none ttw:placeholder:text-muted-foreground ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:md:text-sm", L = "ttw:flex ttw:items-center ttw:text-sm ttw:font-medium ttw:text-muted-foreground ttw:select-none", R = "ttw:flex ttw:size-6 ttw:shrink-0 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:outline-none ttw:transition-all ttw:hover:bg-accent ttw:hover:text-accent-foreground ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50 ttw:disabled:pointer-events-none ttw:disabled:opacity-50";
|
|
10
10
|
function re({ message: e }) {
|
|
11
11
|
return e ? /* @__PURE__ */ E("p", {
|
|
12
12
|
className: "ttw:text-sm ttw:text-destructive",
|
|
@@ -204,7 +204,7 @@ function z({ open: r, onRequestClose: g, mode: _ = "create", values: v, errors:
|
|
|
204
204
|
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
205
205
|
children: [/* @__PURE__ */ E(l, {
|
|
206
206
|
className: "ttw:text-3xl ttw:tracking-normal",
|
|
207
|
-
children: _ === "edit" ? Q.editTitle : Q.createTitle
|
|
207
|
+
children: _ === "edit" ? Q.editTitle : _ === "createRecurring" ? Q.createRecurringTitle : Q.createTitle
|
|
208
208
|
}), /* @__PURE__ */ E(o, {
|
|
209
209
|
className: w(_ === "edit" && "ttw:sr-only"),
|
|
210
210
|
children: _ === "edit" ? Q.editDescription : Q.createDescription
|
|
@@ -435,7 +435,7 @@ function z({ open: r, onRequestClose: g, mode: _ = "create", values: v, errors:
|
|
|
435
435
|
]
|
|
436
436
|
})]
|
|
437
437
|
}), /* @__PURE__ */ E("div", {
|
|
438
|
-
className: "ttw:h-full ttw:min-h-0 ttw:w-1/2 ttw:overflow-auto ttw:bg-linear-to-b ttw:from-
|
|
438
|
+
className: "ttw:h-full ttw:min-h-0 ttw:w-1/2 ttw:overflow-auto ttw:bg-linear-to-b ttw:from-muted ttw:to-primary/10",
|
|
439
439
|
children: pe
|
|
440
440
|
})]
|
|
441
441
|
})]
|
|
@@ -1,197 +1,205 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EmptyState as
|
|
3
|
-
import { ErrorState as
|
|
1
|
+
import { Badge as e, Button as t, DataTable as n, Skeleton as r, Tooltip as i, TooltipContent as a, TooltipProvider as o, TooltipTrigger as s, cn as c } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { EmptyState as l } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
|
|
3
|
+
import { ErrorState as u } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
4
4
|
import "../../../shared/ui/dist/index.js";
|
|
5
|
-
import { ReceivableStatusBadge as
|
|
5
|
+
import { ReceivableStatusBadge as d } from "../../../shared/document-status/ui/dist/index7.js";
|
|
6
6
|
import "../../../shared/document-status/ui/dist/index.js";
|
|
7
|
-
import { TabRowAction as
|
|
8
|
-
import { RECEIVABLES_SCREEN_LABELS_EN as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { ArrowDownIcon as f, ArrowUpDownIcon as p, ArrowUpIcon as m, LockKeyholeIcon as h, RefreshCwIcon as g } from "lucide-react";
|
|
7
|
+
import { TabRowAction as f } from "./index8.js";
|
|
8
|
+
import { RECEIVABLES_SCREEN_LABELS_EN as p } from "./index18.js";
|
|
9
|
+
import { ReceivableStatusCards as m } from "./index59.js";
|
|
10
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
11
|
+
import { ArrowDownIcon as _, ArrowUpDownIcon as v, ArrowUpIcon as y, LockKeyholeIcon as b } from "lucide-react";
|
|
13
12
|
// ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js
|
|
14
|
-
var
|
|
13
|
+
var x = [
|
|
15
14
|
10,
|
|
16
15
|
25,
|
|
17
16
|
50,
|
|
18
17
|
100
|
|
19
18
|
];
|
|
20
|
-
function
|
|
19
|
+
function S({ label: e, ariaLabel: n, column: r }) {
|
|
21
20
|
let i = r.getIsSorted();
|
|
22
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ g("div", {
|
|
23
22
|
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
24
|
-
children: [
|
|
23
|
+
children: [e, /* @__PURE__ */ h(t, {
|
|
25
24
|
variant: "ghost",
|
|
26
25
|
size: "icon-sm",
|
|
27
26
|
"aria-label": n,
|
|
28
27
|
onClick: () => r.toggleSorting(i === "asc"),
|
|
29
|
-
children:
|
|
28
|
+
children: h(i === "asc" ? y : i === "desc" ? _ : v, { className: "ttw:size-4" })
|
|
30
29
|
})]
|
|
31
30
|
});
|
|
32
31
|
}
|
|
33
|
-
function
|
|
34
|
-
return e.dueDateOverdueLabel ? /* @__PURE__ */
|
|
35
|
-
|
|
36
|
-
children:
|
|
37
|
-
className: "ttw:text-
|
|
38
|
-
children:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
function C({ row: e }) {
|
|
33
|
+
return e.dueDateOverdueLabel ? /* @__PURE__ */ h(o, { children: /* @__PURE__ */ g(i, { children: [/* @__PURE__ */ h(s, {
|
|
34
|
+
asChild: !0,
|
|
35
|
+
children: /* @__PURE__ */ g("span", {
|
|
36
|
+
className: "ttw:text-destructive",
|
|
37
|
+
children: [/* @__PURE__ */ h("span", {
|
|
38
|
+
"aria-hidden": !0,
|
|
39
|
+
children: e.dueDateOverdueLabel
|
|
40
|
+
}), /* @__PURE__ */ h("span", {
|
|
41
|
+
className: "ttw:sr-only",
|
|
42
|
+
children: e.dueDateAccessibleLabel
|
|
43
|
+
})]
|
|
44
|
+
})
|
|
45
|
+
}), /* @__PURE__ */ h(a, { children: e.dueDateLabel })] }) }) : e.dueDateLabel;
|
|
44
46
|
}
|
|
45
|
-
function
|
|
46
|
-
|
|
47
|
-
return r ? r.kind === "loading" ? /* @__PURE__ */ u(n, { className: "ttw:h-4 ttw:w-full" }) : r.kind === "chip" ? /* @__PURE__ */ u(c, {
|
|
48
|
-
label: r.label,
|
|
49
|
-
tone: r.tone
|
|
50
|
-
}) : null : /* @__PURE__ */ u(a, {
|
|
47
|
+
function w({ row: e, statusBadgeLabels: t }) {
|
|
48
|
+
return /* @__PURE__ */ h(d, {
|
|
51
49
|
status: e.status,
|
|
52
50
|
variant: "filled",
|
|
53
51
|
labels: t
|
|
54
52
|
});
|
|
55
53
|
}
|
|
56
|
-
function
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}) :
|
|
54
|
+
function T({ row: t }) {
|
|
55
|
+
if (t.customerState === "resolving") return /* @__PURE__ */ h(r, { className: "ttw:h-4 ttw:w-full" });
|
|
56
|
+
let n = /* @__PURE__ */ h("span", {
|
|
57
|
+
className: c("ttw:min-w-0", t.customerState === "missing" && "ttw:opacity-40"),
|
|
58
|
+
children: t.customerLabel
|
|
59
|
+
});
|
|
60
|
+
return t.recurringBadgeLabel ? /* @__PURE__ */ g("span", {
|
|
61
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
62
|
+
children: [n, /* @__PURE__ */ h(e, {
|
|
63
|
+
tone: "neutral",
|
|
64
|
+
className: "ttw:shrink-0",
|
|
65
|
+
children: t.recurringBadgeLabel
|
|
66
|
+
})]
|
|
67
|
+
}) : n;
|
|
70
68
|
}
|
|
71
|
-
function
|
|
72
|
-
let
|
|
73
|
-
...
|
|
74
|
-
...
|
|
69
|
+
function E({ rows: e, isLoading: t, isError: r, isAccessRestricted: i, sorting: a, onSortingChange: o, pageSize: s, onPageSizeChange: c, pageSizeOptions: d = x, pageInfo: _, hasNextPage: v, hasPrevPage: y, onNextPage: E, onPrevPage: D, statusCards: O, onStatusCardSelect: k, filterBar: A, isFiltering: j, onCreateClick: M, headerActionContainer: N, onRowClick: P, onRetry: F, labels: I }) {
|
|
70
|
+
let L = {
|
|
71
|
+
...p,
|
|
72
|
+
...I,
|
|
75
73
|
statusBadge: {
|
|
76
|
-
...
|
|
77
|
-
...
|
|
74
|
+
...p.statusBadge,
|
|
75
|
+
...I?.statusBadge
|
|
78
76
|
}
|
|
79
|
-
},
|
|
77
|
+
}, R = [
|
|
80
78
|
{
|
|
81
|
-
accessorKey: "
|
|
79
|
+
accessorKey: "customerLabel",
|
|
80
|
+
header: L.columnCustomer,
|
|
81
|
+
cell: ({ row: e }) => /* @__PURE__ */ h(T, { row: e.original }),
|
|
82
|
+
minSize: 180
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
accessorKey: "documentLabel",
|
|
82
86
|
enableSorting: !0,
|
|
83
|
-
header: ({ column: e }) => /* @__PURE__ */
|
|
87
|
+
header: ({ column: e }) => /* @__PURE__ */ h(S, {
|
|
84
88
|
column: e,
|
|
85
|
-
label:
|
|
86
|
-
ariaLabel:
|
|
87
|
-
})
|
|
88
|
-
cell: ({ row: e }) => /* @__PURE__ */ u(y, { row: e.original })
|
|
89
|
+
label: L.columnNumber,
|
|
90
|
+
ariaLabel: L.sortByNumber
|
|
91
|
+
})
|
|
89
92
|
},
|
|
90
93
|
{
|
|
91
94
|
accessorKey: "status",
|
|
92
95
|
enableSorting: !0,
|
|
93
|
-
header: ({ column: e }) => /* @__PURE__ */
|
|
96
|
+
header: ({ column: e }) => /* @__PURE__ */ h(S, {
|
|
94
97
|
column: e,
|
|
95
|
-
label:
|
|
96
|
-
ariaLabel:
|
|
98
|
+
label: L.columnStatus,
|
|
99
|
+
ariaLabel: L.sortByStatus
|
|
97
100
|
}),
|
|
98
|
-
cell: ({ row: e }) => /* @__PURE__ */
|
|
101
|
+
cell: ({ row: e }) => /* @__PURE__ */ h(w, {
|
|
99
102
|
row: e.original,
|
|
100
|
-
statusBadgeLabels:
|
|
103
|
+
statusBadgeLabels: L.statusBadge
|
|
101
104
|
})
|
|
102
105
|
},
|
|
103
106
|
{
|
|
104
|
-
accessorKey: "
|
|
107
|
+
accessorKey: "issueDateLabel",
|
|
105
108
|
enableSorting: !0,
|
|
106
|
-
header: ({ column: e }) => /* @__PURE__ */
|
|
109
|
+
header: ({ column: e }) => /* @__PURE__ */ h(S, {
|
|
107
110
|
column: e,
|
|
108
|
-
label:
|
|
109
|
-
ariaLabel:
|
|
110
|
-
})
|
|
111
|
-
cell: ({ row: e }) => /* @__PURE__ */ u(x, { row: e.original })
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
accessorKey: "customerLabel",
|
|
115
|
-
header: R.columnCustomer,
|
|
116
|
-
cell: ({ row: e }) => /* @__PURE__ */ u(S, { row: e.original }),
|
|
117
|
-
minSize: 180
|
|
111
|
+
label: L.columnIssueDate,
|
|
112
|
+
ariaLabel: L.sortByIssueDate
|
|
113
|
+
})
|
|
118
114
|
},
|
|
119
115
|
{
|
|
120
|
-
accessorKey: "
|
|
116
|
+
accessorKey: "dueDateLabel",
|
|
121
117
|
enableSorting: !0,
|
|
122
|
-
header: ({ column: e }) => /* @__PURE__ */
|
|
118
|
+
header: ({ column: e }) => /* @__PURE__ */ h(S, {
|
|
123
119
|
column: e,
|
|
124
|
-
label:
|
|
125
|
-
ariaLabel:
|
|
126
|
-
})
|
|
120
|
+
label: L.columnDueDate,
|
|
121
|
+
ariaLabel: L.sortByDueDate
|
|
122
|
+
}),
|
|
123
|
+
cell: ({ row: e }) => /* @__PURE__ */ h(C, { row: e.original })
|
|
127
124
|
},
|
|
128
125
|
{
|
|
129
126
|
accessorKey: "totalLabel",
|
|
130
127
|
enableSorting: !0,
|
|
131
|
-
header: ({ column: e }) => /* @__PURE__ */
|
|
128
|
+
header: ({ column: e }) => /* @__PURE__ */ h("div", {
|
|
132
129
|
className: "ttw:flex ttw:justify-end",
|
|
133
|
-
children: /* @__PURE__ */
|
|
130
|
+
children: /* @__PURE__ */ h(S, {
|
|
134
131
|
column: e,
|
|
135
|
-
label:
|
|
136
|
-
ariaLabel:
|
|
132
|
+
label: L.columnAmount,
|
|
133
|
+
ariaLabel: L.sortByAmount
|
|
137
134
|
})
|
|
138
135
|
}),
|
|
139
|
-
cell: ({ row: e }) => /* @__PURE__ */
|
|
140
|
-
className: "ttw:text-right",
|
|
136
|
+
cell: ({ row: e }) => /* @__PURE__ */ h("div", {
|
|
137
|
+
className: "ttw:text-right ttw:tabular-nums",
|
|
141
138
|
children: e.original.totalLabel
|
|
142
139
|
})
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
accessorKey: "balanceDueLabel",
|
|
143
|
+
header: () => /* @__PURE__ */ h("div", {
|
|
144
|
+
className: "ttw:text-right",
|
|
145
|
+
children: L.columnBalanceDue
|
|
146
|
+
}),
|
|
147
|
+
cell: ({ row: e }) => /* @__PURE__ */ h("div", {
|
|
148
|
+
className: "ttw:text-right ttw:tabular-nums",
|
|
149
|
+
children: e.original.balanceDueLabel
|
|
150
|
+
})
|
|
143
151
|
}
|
|
144
|
-
],
|
|
145
|
-
return /* @__PURE__ */
|
|
152
|
+
], z = !i && !r && !j && e.length === 0;
|
|
153
|
+
return /* @__PURE__ */ g("div", {
|
|
146
154
|
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
147
155
|
children: [
|
|
148
|
-
|
|
149
|
-
container:
|
|
150
|
-
label:
|
|
151
|
-
onClick:
|
|
156
|
+
M && !z && /* @__PURE__ */ h(f, {
|
|
157
|
+
container: N,
|
|
158
|
+
label: L.createInvoiceButton,
|
|
159
|
+
onClick: M
|
|
152
160
|
}),
|
|
153
|
-
!
|
|
154
|
-
view:
|
|
155
|
-
onSelect:
|
|
161
|
+
!i && O && k && /* @__PURE__ */ h(m, {
|
|
162
|
+
view: O,
|
|
163
|
+
onSelect: k,
|
|
156
164
|
labels: {
|
|
157
|
-
group:
|
|
158
|
-
loading:
|
|
165
|
+
group: L.statusCardsGroup,
|
|
166
|
+
loading: L.statusCardsLoading
|
|
159
167
|
}
|
|
160
168
|
}),
|
|
161
|
-
|
|
162
|
-
icon: /* @__PURE__ */
|
|
163
|
-
title:
|
|
164
|
-
description:
|
|
165
|
-
}) : /* @__PURE__ */
|
|
166
|
-
columns:
|
|
169
|
+
i ? /* @__PURE__ */ h(u, {
|
|
170
|
+
icon: /* @__PURE__ */ h(b, { className: "ttw:size-8 ttw:text-primary" }),
|
|
171
|
+
title: L.accessRestrictedTitle,
|
|
172
|
+
description: L.accessRestrictedDescription
|
|
173
|
+
}) : /* @__PURE__ */ h(n, {
|
|
174
|
+
columns: R,
|
|
167
175
|
data: e,
|
|
168
|
-
isLoading:
|
|
169
|
-
sorting:
|
|
170
|
-
onSortingChange:
|
|
171
|
-
pageSize:
|
|
172
|
-
onPageSizeChange:
|
|
173
|
-
pageSizeOptions:
|
|
174
|
-
pageInfo:
|
|
175
|
-
hasNextPage:
|
|
176
|
-
hasPrevPage:
|
|
177
|
-
onNextPage:
|
|
178
|
-
onPrevPage:
|
|
179
|
-
onRowClick:
|
|
180
|
-
rowAriaLabel: (e) =>
|
|
181
|
-
filterComponent:
|
|
182
|
-
children:
|
|
183
|
-
title:
|
|
184
|
-
description:
|
|
185
|
-
retryLabel:
|
|
186
|
-
onRetry:
|
|
187
|
-
}) : /* @__PURE__ */
|
|
188
|
-
title:
|
|
189
|
-
description:
|
|
190
|
-
actionLabel:
|
|
191
|
-
onAction:
|
|
176
|
+
isLoading: t,
|
|
177
|
+
sorting: a,
|
|
178
|
+
onSortingChange: o,
|
|
179
|
+
pageSize: s,
|
|
180
|
+
onPageSizeChange: c,
|
|
181
|
+
pageSizeOptions: d,
|
|
182
|
+
pageInfo: _,
|
|
183
|
+
hasNextPage: v,
|
|
184
|
+
hasPrevPage: y,
|
|
185
|
+
onNextPage: E,
|
|
186
|
+
onPrevPage: D,
|
|
187
|
+
onRowClick: P,
|
|
188
|
+
rowAriaLabel: (e) => L.openRow(e.documentLabel),
|
|
189
|
+
filterComponent: A,
|
|
190
|
+
children: r && !j ? /* @__PURE__ */ h(u, {
|
|
191
|
+
title: L.errorTitle,
|
|
192
|
+
description: L.errorDescription,
|
|
193
|
+
retryLabel: F ? L.errorRetry : void 0,
|
|
194
|
+
onRetry: F
|
|
195
|
+
}) : /* @__PURE__ */ h(l, {
|
|
196
|
+
title: j ? L.filterEmptyTitle : L.emptyTitle,
|
|
197
|
+
description: j ? void 0 : L.emptyDescription,
|
|
198
|
+
actionLabel: j ? void 0 : L.createInvoiceButton,
|
|
199
|
+
onAction: j ? void 0 : M
|
|
192
200
|
})
|
|
193
201
|
})
|
|
194
202
|
]
|
|
195
203
|
});
|
|
196
204
|
}
|
|
197
|
-
export {
|
|
205
|
+
export { E as ReceivablesScreen, E as default };
|
|
@@ -1,47 +1,22 @@
|
|
|
1
|
-
import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { UNSAVED_INVOICE_DIALOG_LABELS_EN as s } from "./index18.js";
|
|
3
|
-
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
4
|
-
import { XIcon as u } from "lucide-react";
|
|
5
1
|
// ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index61.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})]
|
|
28
|
-
}),
|
|
29
|
-
/* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: v.unsavedTitle }), /* @__PURE__ */ c(n, { children: v.unsavedDescription })] }),
|
|
30
|
-
/* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
|
|
31
|
-
type: "button",
|
|
32
|
-
variant: "outline",
|
|
33
|
-
onClick: p,
|
|
34
|
-
disabled: h,
|
|
35
|
-
children: v.unsavedDiscardButton
|
|
36
|
-
}), /* @__PURE__ */ c(o, {
|
|
37
|
-
type: "button",
|
|
38
|
-
loading: h,
|
|
39
|
-
disabled: h || g,
|
|
40
|
-
onClick: f,
|
|
41
|
-
children: v.unsavedSaveDraftButton
|
|
42
|
-
})] })
|
|
43
|
-
]
|
|
44
|
-
})
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
export { d as UnsavedInvoiceDialog, d as default };
|
|
2
|
+
var e = {
|
|
3
|
+
createButton: "Create recurring invoice",
|
|
4
|
+
columnCustomer: "Customer",
|
|
5
|
+
columnRepeats: "Repeats",
|
|
6
|
+
columnNextInvoice: "Next invoice",
|
|
7
|
+
columnStatus: "Status",
|
|
8
|
+
columnAmount: "Amount",
|
|
9
|
+
openRow: (e) => `View series — ${e}`,
|
|
10
|
+
searchPlaceholder: "Search series",
|
|
11
|
+
searchLabel: "Search series",
|
|
12
|
+
emptyTitle: "No recurring invoices",
|
|
13
|
+
emptyDescription: "You don’t have any recurring invoices yet.",
|
|
14
|
+
filterEmptyTitle: "No series found",
|
|
15
|
+
filterEmptyAction: "Clear filters",
|
|
16
|
+
errorTitle: "Couldn’t load recurring invoices",
|
|
17
|
+
errorDescription: "There was an error loading recurring invoices.",
|
|
18
|
+
errorRetry: "Try again",
|
|
19
|
+
accessRestrictedTitle: "Access restricted",
|
|
20
|
+
accessRestrictedDescription: "You don’t have permissions to view this page. Contact your system administrator for details."
|
|
21
|
+
};
|
|
22
|
+
export { e as RECURRING_SERIES_SCREEN_LABELS_EN };
|