@tesouro/embedded-components-react 0.11.141 → 0.11.167

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.
Files changed (148) hide show
  1. package/NOTICE +24 -0
  2. package/README.md +15 -37
  3. package/dist/experimental/BalanceHistoryWidget.d.ts +0 -11
  4. package/dist/experimental/QuickViewWidget.d.ts +0 -11
  5. package/dist/experimental/RemoteCheckCapture.d.ts +0 -11
  6. package/dist/experimental/index.d.ts +0 -11
  7. package/dist/fixtures/index.d.ts +27 -1
  8. package/dist/index.css +6976 -6246
  9. package/dist/index.d.ts +64 -173
  10. package/dist/index.js +9 -10
  11. package/dist/lib/AcceptDisclosuresWidget.d.ts +0 -11
  12. package/dist/lib/BalancesWidget.d.ts +0 -11
  13. package/dist/lib/BankAccountOnboardingWidget.d.ts +0 -11
  14. package/dist/lib/BankAccountsWidget.d.ts +2 -11
  15. package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -11
  16. package/dist/lib/BillPayWidget.d.ts +0 -11
  17. package/dist/lib/CardDetailsWidget.d.ts +0 -11
  18. package/dist/lib/CounterpartsWidget.d.ts +1 -12
  19. package/dist/lib/CounterpartsWidgetPublic.d.ts +1 -12
  20. package/dist/lib/CreditCardsWidget.d.ts +0 -11
  21. package/dist/lib/DebitCardsWidget.d.ts +0 -11
  22. package/dist/lib/ExpenseManagementWidget.d.ts +1 -12
  23. package/dist/lib/InsightsWidget.d.ts +0 -11
  24. package/dist/lib/LinkedAccountsWidget.d.ts +0 -11
  25. package/dist/lib/OfferWidget.d.ts +0 -11
  26. package/dist/lib/ReceivablesWidget.d.ts +60 -17
  27. package/dist/lib/ReceivablesWidget.js +3 -2
  28. package/dist/lib/SettingsWidget.d.ts +0 -11
  29. package/dist/lib/TransfersWidget.d.ts +0 -11
  30. package/dist/lib/WidgetProvider.d.ts +0 -11
  31. package/dist/lib/WidgetProviderPublic.d.ts +0 -11
  32. package/dist/lib/WidgetSuite.d.ts +60 -15
  33. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +1 -1
  34. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +20 -19
  35. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +8 -8
  36. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index4.js +2 -3
  37. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index10.js +83 -82
  38. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +84 -79
  39. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +2 -1
  40. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/formatters.js +2 -3
  41. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +4 -4
  42. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js +51 -46
  43. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +2 -1
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +1 -1
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +1 -1
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +1 -1
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +1 -1
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +1 -1
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +1 -1
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +1 -1
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +1 -1
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +1 -1
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +1 -1
  55. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useActivateCard.js +1 -1
  56. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useCardLock.js +1 -1
  57. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/useEditCardNickname.js +1 -1
  58. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +1 -1
  59. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsActions.js +1 -1
  60. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index7.js +1 -1
  61. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js +10 -9
  62. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/TransactionDetails/TransactionDetailsFeature.js +1 -1
  63. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -1
  64. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
  65. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +66 -74
  66. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +3 -2
  67. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +351 -318
  68. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +126 -133
  69. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +63 -56
  70. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilter.js +78 -72
  71. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/invoicesFilterLabels.js +2 -1
  72. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +14 -1
  73. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +138 -129
  74. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +119 -0
  75. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/statusCards.js +37 -28
  76. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/tabs.js +1 -2
  77. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useInvoicesFilter.js +131 -81
  78. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useLocalDayStart.js +15 -0
  79. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +46 -46
  80. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +1 -1
  81. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +13 -13
  82. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -1
  83. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +440 -438
  84. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +7 -7
  85. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentTerms.js +1 -1
  86. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +62 -56
  87. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
  88. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +47 -16
  89. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +78 -86
  90. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +180 -158
  91. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useRecurringSeriesTable.js +132 -0
  92. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/invoicing.js +4 -0
  93. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/receivables.js +153 -137
  94. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +22 -19
  95. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +6 -4
  96. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +1 -1
  97. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +3 -3
  98. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +137 -129
  99. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index61.js +21 -46
  100. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index62.js +143 -0
  101. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index63.js +2 -0
  102. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index64.js +47 -0
  103. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +25 -25
  104. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +1 -1
  105. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/useProductDelete.js +1 -1
  106. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/mocks/products.js +3 -11
  107. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/scenarios.js +1 -1
  108. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/data-access/dist/index2.js +36 -77
  109. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/summarizeCardSpend.js +11 -13
  110. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/useCardSpendSummary.js +20 -17
  111. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +1 -1
  112. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
  113. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +7 -0
  114. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -1
  115. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +1 -1
  116. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index8.js +4 -9
  117. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +1 -1
  118. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index16.js +2 -3
  119. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +2 -2
  120. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +1 -1
  121. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +2 -2
  122. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +1 -1
  123. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useDeleteController.js +1 -1
  124. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +43 -43
  125. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +233 -211
  126. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -42
  127. package/dist/libs/tesouro-embedded-components-react/shared/document-status/util/dist/lib/receivableFilledTone.js +1 -1
  128. package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/feature/dist/lib/ExpenseRequirementsWidget.js +5 -4
  129. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  130. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -1
  131. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/toasts.js +1 -1
  132. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +28 -28
  133. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmbeddedToaster.js +33 -32
  134. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransferMoneyModalController.js +9 -8
  135. package/dist/node_modules/sonner/dist/index.js +620 -0
  136. package/dist/packages/shared-ui-shadcn/dist/index.js +6072 -6062
  137. package/dist/scenarios/index.d.ts +1 -3
  138. package/dist/scenarios/index.js +17 -20
  139. package/package.json +17 -4
  140. package/dist/lib/CustomersWidget.d.ts +0 -993
  141. package/dist/lib/CustomersWidget.js +0 -2
  142. package/dist/lib/ProductsWidget.d.ts +0 -893
  143. package/dist/lib/ProductsWidget.js +0 -2
  144. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index.js +0 -1
  145. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidget/CustomersWidget.js +0 -41
  146. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/analytics/events.js +0 -3
  147. package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/scenarios.js +0 -2
  148. 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 { TabRowAction as i } from "./index8.js";
7
+ import "./index8.js";
8
8
  import "./index9.js";
9
9
  import "./index10.js";
10
- import { ReceivableActionsModal as a } from "./index13.js";
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 o } from "./index19.js";
17
- import { ReceivableBankAccountSection as s } from "./index20.js";
18
- import { ReceivableAttachmentsSection as c } from "./index21.js";
19
- import { RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE as l, RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE as u } from "./index24.js";
20
- import { ReceivableBillingSection as d } from "./index25.js";
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 f } from "./index27.js";
22
+ import { ReceivableCustomerSection as d } from "./index27.js";
23
23
  import "./index28.js";
24
- import { RECEIVABLE_DETAILS_SECTION as p } from "./index31.js";
25
- import { ReceivableDetailsPanel as m } from "./index43.js";
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 h } from "./index47.js";
28
- import { ReceivablePaymentDialog as g } from "./index48.js";
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 _ } from "./index52.js";
30
+ import { ReceivablePreview as g } from "./index52.js";
31
31
  import "./index53.js";
32
- import { ReceivableRecurrenceEmailDialog as v } from "./index54.js";
33
- import { ReceivableRecurrenceSection as y } from "./index56.js";
32
+ import { ReceivableRecurrenceEmailDialog as _ } from "./index54.js";
33
+ import { ReceivableRecurrenceSection as v } from "./index56.js";
34
34
  import "./index57.js";
35
- import { ReceivableRemindersSection as b } from "./index58.js";
36
- import { ReceivablesScreen as x } from "./index60.js";
37
- import { UnsavedInvoiceDialog as S } from "./index61.js";
38
- export { n as INVOICING_TABS_LABELS_EN, t as InvoicesFilterBar, e as InvoicesFilterField, r as InvoicingTabs, p as RECEIVABLE_DETAILS_SECTION, l as RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE, u as RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE, o as ReceivableActionDialog, a as ReceivableActionsModal, c as ReceivableAttachmentsSection, s as ReceivableBankAccountSection, d as ReceivableBillingSection, f as ReceivableCustomerSection, m as ReceivableDetailsPanel, h as ReceivableFormDialog, g as ReceivablePaymentDialog, _ as ReceivablePreview, v as ReceivableRecurrenceEmailDialog, y as ReceivableRecurrenceSection, b as ReceivableRemindersSection, x as ReceivablesScreen, i as TabRowAction, S as UnsavedInvoiceDialog };
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: "Number",
16
+ columnNumber: "Invoice number",
17
17
  columnCustomer: "Customer",
18
- columnIssueDate: "Issue date",
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 issue date",
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",
@@ -4,7 +4,7 @@ var i = {
4
4
  fields: {
5
5
  dueDate: "Due date",
6
6
  createdAt: "Created on",
7
- issueDate: "Issue date",
7
+ issueDate: "Invoice date",
8
8
  status: "Status",
9
9
  amount: "Amount",
10
10
  customer: "Customer"
@@ -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-[calc(var(--radius)-5px)] 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";
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-[#F6F6F6] ttw:to-[#E4E4FF]",
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 { Button as e, DataTable as t, Skeleton as n } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { EmptyState as r } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
3
- import { ErrorState as i } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
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 a } from "../../../shared/document-status/ui/dist/index7.js";
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 o } from "./index8.js";
8
- import { RECEIVABLES_SCREEN_LABELS_EN as s } from "./index18.js";
9
- import { SeriesStatusChip as c } from "./index41.js";
10
- import { ReceivableStatusCards as l } from "./index59.js";
11
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
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 v({ label: t, ariaLabel: n, column: r }) {
19
+ function S({ label: e, ariaLabel: n, column: r }) {
21
20
  let i = r.getIsSorted();
22
- return /* @__PURE__ */ d("div", {
21
+ return /* @__PURE__ */ g("div", {
23
22
  className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
24
- children: [t, /* @__PURE__ */ u(e, {
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: u(i === "asc" ? m : i === "desc" ? f : p, { className: "ttw:size-4" })
28
+ children: h(i === "asc" ? y : i === "desc" ? _ : v, { className: "ttw:size-4" })
30
29
  })]
31
30
  });
32
31
  }
33
- function y({ row: e }) {
34
- return e.dueDateOverdueLabel ? /* @__PURE__ */ d("div", {
35
- className: "ttw:flex ttw:flex-col ttw:justify-center ttw:gap-1 ttw:text-destructive",
36
- children: [/* @__PURE__ */ u("span", {
37
- className: "ttw:text-sm ttw:leading-5",
38
- children: e.dueDateLabel
39
- }), /* @__PURE__ */ u("span", {
40
- className: "ttw:text-xs ttw:leading-4.5",
41
- children: e.dueDateOverdueLabel
42
- })]
43
- }) : e.dueDateLabel;
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 b({ row: e, statusBadgeLabels: t }) {
46
- let r = e.statusOverride;
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 x({ row: e }) {
57
- return e.showDocumentSyncIcon ? /* @__PURE__ */ d("span", {
58
- className: "ttw:flex ttw:items-center ttw:gap-1",
59
- children: [/* @__PURE__ */ u(g, {
60
- className: "ttw:size-[1em]",
61
- "aria-hidden": !0
62
- }), e.documentLabel]
63
- }) : e.documentLabel;
64
- }
65
- function S({ row: e }) {
66
- return e.customerState === "resolving" ? /* @__PURE__ */ u(n, { className: "ttw:h-4 ttw:w-full" }) : e.customerState === "missing" ? /* @__PURE__ */ u("span", {
67
- className: "ttw:opacity-40",
68
- children: e.customerLabel
69
- }) : /* @__PURE__ */ u("span", { children: e.customerLabel });
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 C({ rows: e, isLoading: n, isError: a, isAccessRestricted: c, sorting: f, onSortingChange: p, pageSize: m, onPageSizeChange: g, pageSizeOptions: C = _, pageInfo: w, hasNextPage: T, hasPrevPage: E, onNextPage: D, onPrevPage: O, statusCards: k, onStatusCardSelect: A, filterBar: j, isFiltering: M, onCreateClick: N, headerActionContainer: P, onRowClick: F, onRetry: I, labels: L }) {
72
- let R = {
73
- ...s,
74
- ...L,
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
- ...s.statusBadge,
77
- ...L?.statusBadge
74
+ ...p.statusBadge,
75
+ ...I?.statusBadge
78
76
  }
79
- }, z = [
77
+ }, R = [
80
78
  {
81
- accessorKey: "dueDateLabel",
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__ */ u(v, {
87
+ header: ({ column: e }) => /* @__PURE__ */ h(S, {
84
88
  column: e,
85
- label: R.columnDueDate,
86
- ariaLabel: R.sortByDueDate
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__ */ u(v, {
96
+ header: ({ column: e }) => /* @__PURE__ */ h(S, {
94
97
  column: e,
95
- label: R.columnStatus,
96
- ariaLabel: R.sortByStatus
98
+ label: L.columnStatus,
99
+ ariaLabel: L.sortByStatus
97
100
  }),
98
- cell: ({ row: e }) => /* @__PURE__ */ u(b, {
101
+ cell: ({ row: e }) => /* @__PURE__ */ h(w, {
99
102
  row: e.original,
100
- statusBadgeLabels: R.statusBadge
103
+ statusBadgeLabels: L.statusBadge
101
104
  })
102
105
  },
103
106
  {
104
- accessorKey: "documentLabel",
107
+ accessorKey: "issueDateLabel",
105
108
  enableSorting: !0,
106
- header: ({ column: e }) => /* @__PURE__ */ u(v, {
109
+ header: ({ column: e }) => /* @__PURE__ */ h(S, {
107
110
  column: e,
108
- label: R.columnNumber,
109
- ariaLabel: R.sortByNumber
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: "issueDateLabel",
116
+ accessorKey: "dueDateLabel",
121
117
  enableSorting: !0,
122
- header: ({ column: e }) => /* @__PURE__ */ u(v, {
118
+ header: ({ column: e }) => /* @__PURE__ */ h(S, {
123
119
  column: e,
124
- label: R.columnIssueDate,
125
- ariaLabel: R.sortByIssueDate
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__ */ u("div", {
128
+ header: ({ column: e }) => /* @__PURE__ */ h("div", {
132
129
  className: "ttw:flex ttw:justify-end",
133
- children: /* @__PURE__ */ u(v, {
130
+ children: /* @__PURE__ */ h(S, {
134
131
  column: e,
135
- label: R.columnAmount,
136
- ariaLabel: R.sortByAmount
132
+ label: L.columnAmount,
133
+ ariaLabel: L.sortByAmount
137
134
  })
138
135
  }),
139
- cell: ({ row: e }) => /* @__PURE__ */ u("div", {
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
- ], B = !c && !a && !M && e.length === 0;
145
- return /* @__PURE__ */ d("div", {
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
- N && !B && /* @__PURE__ */ u(o, {
149
- container: P,
150
- label: R.createInvoiceButton,
151
- onClick: N
156
+ M && !z && /* @__PURE__ */ h(f, {
157
+ container: N,
158
+ label: L.createInvoiceButton,
159
+ onClick: M
152
160
  }),
153
- !c && k && A && /* @__PURE__ */ u(l, {
154
- view: k,
155
- onSelect: A,
161
+ !i && O && k && /* @__PURE__ */ h(m, {
162
+ view: O,
163
+ onSelect: k,
156
164
  labels: {
157
- group: R.statusCardsGroup,
158
- loading: R.statusCardsLoading
165
+ group: L.statusCardsGroup,
166
+ loading: L.statusCardsLoading
159
167
  }
160
168
  }),
161
- c ? /* @__PURE__ */ u(i, {
162
- icon: /* @__PURE__ */ u(h, { className: "ttw:size-8 ttw:text-primary" }),
163
- title: R.accessRestrictedTitle,
164
- description: R.accessRestrictedDescription
165
- }) : /* @__PURE__ */ u(t, {
166
- columns: z,
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: n,
169
- sorting: f,
170
- onSortingChange: p,
171
- pageSize: m,
172
- onPageSizeChange: g,
173
- pageSizeOptions: C,
174
- pageInfo: w,
175
- hasNextPage: T,
176
- hasPrevPage: E,
177
- onNextPage: D,
178
- onPrevPage: O,
179
- onRowClick: F,
180
- rowAriaLabel: (e) => R.openRow(e.documentLabel),
181
- filterComponent: j,
182
- children: a && !M ? /* @__PURE__ */ u(i, {
183
- title: R.errorTitle,
184
- description: R.errorDescription,
185
- retryLabel: I ? R.errorRetry : void 0,
186
- onRetry: I
187
- }) : /* @__PURE__ */ u(r, {
188
- title: M ? R.filterEmptyTitle : R.emptyTitle,
189
- description: M ? void 0 : R.emptyDescription,
190
- actionLabel: M ? void 0 : R.createInvoiceButton,
191
- onAction: M ? void 0 : N
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 { C as ReceivablesScreen, C as default };
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
- function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, isSaveDraftDisabled: g, labels: _ }) {
7
- let v = {
8
- ...s,
9
- ..._
10
- };
11
- return /* @__PURE__ */ c(e, {
12
- open: d,
13
- onOpenChange: (e) => {
14
- !e && !h && m();
15
- },
16
- children: /* @__PURE__ */ l(t, {
17
- showCloseButton: !1,
18
- children: [
19
- /* @__PURE__ */ l("button", {
20
- type: "button",
21
- onClick: m,
22
- disabled: h,
23
- className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
24
- children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
25
- className: "ttw:sr-only",
26
- children: v.unsavedCloseButton
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 };