@tesouro/embedded-components-react 0.7.45 → 0.7.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +29 -39
- package/dist/lib/CounterpartsWidget.d.ts +29 -22
- package/dist/lib/CounterpartsWidgetPublic.d.ts +29 -22
- package/dist/lib/CustomersWidget.d.ts +29 -22
- package/dist/lib/ReceivablesWidget.d.ts +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index24.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +30 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +76 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +2 -76
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +5 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/viewModels.js +73 -77
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index2.js +8 -25
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index7.js +197 -208
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/auditHistory/labels.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +21 -53
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +77 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +31 -69
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +26 -38
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +18 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +35 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +14 -36
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +26 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +84 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +487 -80
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +2 -494
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +48 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +62 -38
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +438 -61
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +207 -431
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +20 -222
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +6 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +265 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index49.js +2 -265
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +131 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +22 -125
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index52.js +235 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index53.js +3 -240
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index54.js +249 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index55.js +54 -242
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index56.js +221 -51
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +38 -222
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index2.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index4.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index5.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index6.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index7.js +32 -0
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index8.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/{bill-pay-widget → shared/document-status}/util/dist/lib/derivePayableStatus.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/util/dist/lib/receivableFilledTone.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index58.js +0 -45
|
@@ -20,15 +20,15 @@ import { ReceivableActionsModal as f } from "../../../../ui/dist/index9.js";
|
|
|
20
20
|
import { ReceivableActionDialog as p } from "../../../../ui/dist/index15.js";
|
|
21
21
|
import { ReceivableBankAccountSection as m } from "../../../../ui/dist/index16.js";
|
|
22
22
|
import { ReceivableBillingSection as h } from "../../../../ui/dist/index21.js";
|
|
23
|
-
import { ReceivableDetailsPanel as g } from "../../../../ui/dist/
|
|
24
|
-
import { ReceivableFormDialog as _ } from "../../../../ui/dist/
|
|
25
|
-
import { ReceivablePaymentDialog as v } from "../../../../ui/dist/
|
|
26
|
-
import { ReceivablePreview as y } from "../../../../ui/dist/
|
|
27
|
-
import { ReceivableRecurrenceEmailDialog as b } from "../../../../ui/dist/
|
|
28
|
-
import { ReceivableRecurrenceSection as x } from "../../../../ui/dist/
|
|
29
|
-
import { ReceivableRemindersSection as ee } from "../../../../ui/dist/
|
|
30
|
-
import { ReceivablesScreen as te } from "../../../../ui/dist/
|
|
31
|
-
import { UnsavedInvoiceDialog as ne } from "../../../../ui/dist/
|
|
23
|
+
import { ReceivableDetailsPanel as g } from "../../../../ui/dist/index39.js";
|
|
24
|
+
import { ReceivableFormDialog as _ } from "../../../../ui/dist/index43.js";
|
|
25
|
+
import { ReceivablePaymentDialog as v } from "../../../../ui/dist/index44.js";
|
|
26
|
+
import { ReceivablePreview as y } from "../../../../ui/dist/index48.js";
|
|
27
|
+
import { ReceivableRecurrenceEmailDialog as b } from "../../../../ui/dist/index50.js";
|
|
28
|
+
import { ReceivableRecurrenceSection as x } from "../../../../ui/dist/index52.js";
|
|
29
|
+
import { ReceivableRemindersSection as ee } from "../../../../ui/dist/index54.js";
|
|
30
|
+
import { ReceivablesScreen as te } from "../../../../ui/dist/index56.js";
|
|
31
|
+
import { UnsavedInvoiceDialog as ne } from "../../../../ui/dist/index57.js";
|
|
32
32
|
import "../../../../ui/dist/index.js";
|
|
33
33
|
import { ReceivableAttachmentsSection as re } from "./ReceivableAttachmentsSection.js";
|
|
34
34
|
import { ReceivableCustomerSection as ie } from "./ReceivableCustomerSection.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as e } from "
|
|
2
|
-
import "
|
|
1
|
+
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as e } from "../../../../../../shared/document-status/ui/dist/index6.js";
|
|
2
|
+
import "../../../../../../shared/document-status/ui/dist/index.js";
|
|
3
3
|
import { formatDate as t, formatMoney as n, getDocumentTypeLabel as r } from "../helpers.js";
|
|
4
4
|
import { RECEIVABLE_MESSAGE_LABELS_EN as i } from "../labels.js";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/auditHistory/labels.js
|
|
@@ -9,7 +9,7 @@ import "../../../../../shared/data-access/dist/index.js";
|
|
|
9
9
|
import { useWidgetConfig as r } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
10
10
|
import { useOrganizationUserNames as i } from "../../../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
|
|
11
11
|
import "../../../../../shared/feature/dist/index.js";
|
|
12
|
-
import { RECEIVABLE_DETAILS_SECTION as a } from "../../../../ui/dist/
|
|
12
|
+
import { RECEIVABLE_DETAILS_SECTION as a } from "../../../../ui/dist/index27.js";
|
|
13
13
|
import "../../../../ui/dist/index.js";
|
|
14
14
|
import { useAllReceivableHistoryQuery as ee } from "../../../../data-access/dist/index4.js";
|
|
15
15
|
import { usePaymentAccountsQuery as o } from "../../../../data-access/dist/index6.js";
|
|
@@ -7,8 +7,8 @@ import { Scope as t } from "../../../../../shared/data-access/dist/lib/scopes.js
|
|
|
7
7
|
import "../../../../../shared/data-access/dist/index.js";
|
|
8
8
|
import { useRefetchWidget as n, useWidgetConfig as r, useWidgetError as i, useWidgetInitStaleForToken as ee, useWidgetLoading as te } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
9
9
|
import "../../../../../shared/feature/dist/index.js";
|
|
10
|
-
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as ne } from "
|
|
11
|
-
import "
|
|
10
|
+
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as ne } from "../../../../../shared/document-status/ui/dist/index6.js";
|
|
11
|
+
import "../../../../../shared/document-status/ui/dist/index.js";
|
|
12
12
|
import { hasSelectedText as re } from "../../../../../shared/product-catalog/feature/dist/lib/helpers.js";
|
|
13
13
|
import "../../../../../shared/product-catalog/feature/dist/index.js";
|
|
14
14
|
import { getCreateFollowUp as ie } from "./actionsModal.js";
|
|
@@ -8,28 +8,27 @@ import "./index10.js";
|
|
|
8
8
|
import "./index11.js";
|
|
9
9
|
import "./index12.js";
|
|
10
10
|
import "./index13.js";
|
|
11
|
-
import
|
|
12
|
-
import { ReceivableActionDialog as
|
|
13
|
-
import { ReceivableBankAccountSection as
|
|
14
|
-
import { ReceivableAttachmentsSection as
|
|
15
|
-
import { RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE as
|
|
16
|
-
import { ReceivableBillingSection as
|
|
11
|
+
import "./index14.js";
|
|
12
|
+
import { ReceivableActionDialog as r } from "./index15.js";
|
|
13
|
+
import { ReceivableBankAccountSection as i } from "./index16.js";
|
|
14
|
+
import { ReceivableAttachmentsSection as a } from "./index17.js";
|
|
15
|
+
import { RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE as o, RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE as s } from "./index20.js";
|
|
16
|
+
import { ReceivableBillingSection as c } from "./index21.js";
|
|
17
17
|
import "./index22.js";
|
|
18
|
-
import { ReceivableCustomerSection as
|
|
18
|
+
import { ReceivableCustomerSection as l } from "./index23.js";
|
|
19
19
|
import "./index24.js";
|
|
20
|
-
import "./
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import "./
|
|
24
|
-
import {
|
|
25
|
-
import
|
|
26
|
-
import "./
|
|
27
|
-
import
|
|
28
|
-
import "./index50.js";
|
|
29
|
-
import {
|
|
30
|
-
import
|
|
31
|
-
import "./index54.js";
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
|
|
35
|
-
export { t as InvoicesFilterBar, e as InvoicesFilterField, d as RECEIVABLE_DETAILS_SECTION, s as RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE, c as RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE, r as RECEIVABLE_STATUS_BADGE_LABELS_EN, i as ReceivableActionDialog, n as ReceivableActionsModal, o as ReceivableAttachmentsSection, a as ReceivableBankAccountSection, l as ReceivableBillingSection, u as ReceivableCustomerSection, f as ReceivableDetailsPanel, p as ReceivableFormDialog, m as ReceivablePaymentDialog, h as ReceivablePreview, g as ReceivableRecurrenceEmailDialog, _ as ReceivableRecurrenceSection, v as ReceivableRemindersSection, y as ReceivablesScreen, b as UnsavedInvoiceDialog };
|
|
20
|
+
import { RECEIVABLE_DETAILS_SECTION as u } from "./index27.js";
|
|
21
|
+
import { ReceivableDetailsPanel as d } from "./index39.js";
|
|
22
|
+
import "./index40.js";
|
|
23
|
+
import { ReceivableFormDialog as f } from "./index43.js";
|
|
24
|
+
import { ReceivablePaymentDialog as p } from "./index44.js";
|
|
25
|
+
import "./index45.js";
|
|
26
|
+
import { ReceivablePreview as m } from "./index48.js";
|
|
27
|
+
import "./index49.js";
|
|
28
|
+
import { ReceivableRecurrenceEmailDialog as h } from "./index50.js";
|
|
29
|
+
import { ReceivableRecurrenceSection as g } from "./index52.js";
|
|
30
|
+
import "./index53.js";
|
|
31
|
+
import { ReceivableRemindersSection as _ } from "./index54.js";
|
|
32
|
+
import { ReceivablesScreen as v } from "./index56.js";
|
|
33
|
+
import { UnsavedInvoiceDialog as y } from "./index57.js";
|
|
34
|
+
export { t as InvoicesFilterBar, e as InvoicesFilterField, u as RECEIVABLE_DETAILS_SECTION, o as RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE, s as RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE, r as ReceivableActionDialog, n as ReceivableActionsModal, a as ReceivableAttachmentsSection, i as ReceivableBankAccountSection, c as ReceivableBillingSection, l as ReceivableCustomerSection, d as ReceivableDetailsPanel, f as ReceivableFormDialog, p as ReceivablePaymentDialog, m as ReceivablePreview, h as ReceivableRecurrenceEmailDialog, g as ReceivableRecurrenceSection, _ as ReceivableRemindersSection, v as ReceivablesScreen, y as UnsavedInvoiceDialog };
|
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as e } from "../../../shared/document-status/ui/dist/index6.js";
|
|
2
|
+
import "../../../shared/document-status/ui/dist/index.js";
|
|
3
|
+
import { RECEIVABLE_BILLING_SECTION_LABELS_EN as t } from "./index11.js";
|
|
4
|
+
import { RECEIVABLE_CUSTOMER_SECTION_LABELS_EN as n } from "./index12.js";
|
|
5
|
+
import { RECEIVABLE_RECURRENCE_EMAIL_DIALOG_LABELS_EN as r, RECEIVABLE_RECURRENCE_SECTION_LABELS_EN as i } from "./index13.js";
|
|
4
6
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js
|
|
5
|
-
var
|
|
6
|
-
draft: "Draft",
|
|
7
|
-
issuing: "Issuing",
|
|
8
|
-
issued: "Issued",
|
|
9
|
-
failed: "Failed",
|
|
10
|
-
accepted: "Accepted",
|
|
11
|
-
expired: "Expired",
|
|
12
|
-
declined: "Declined",
|
|
13
|
-
recurring: "Recurring",
|
|
14
|
-
partially_paid: "Partially paid",
|
|
15
|
-
paid: "Paid",
|
|
16
|
-
overdue: "Overdue",
|
|
17
|
-
uncollectible: "Uncollectible",
|
|
18
|
-
canceled: "Canceled",
|
|
19
|
-
deleted: "Deleted",
|
|
20
|
-
unknown: "Unknown"
|
|
21
|
-
}, a = { all: "All invoices" }, o = {
|
|
7
|
+
var a = { all: "All invoices" }, o = {
|
|
22
8
|
createInvoiceButton: "Create Invoice",
|
|
23
9
|
settingsButton: "Invoice settings",
|
|
24
10
|
bankAttributionPrefix: "Business Banking provided by",
|
|
@@ -43,7 +29,7 @@ var i = {
|
|
|
43
29
|
errorRetry: "Reload",
|
|
44
30
|
accessRestrictedTitle: "Access Restricted",
|
|
45
31
|
accessRestrictedDescription: "You don’t have permissions to view this page. Contact your system administrator for details.",
|
|
46
|
-
statusBadge:
|
|
32
|
+
statusBadge: e
|
|
47
33
|
}, s = {
|
|
48
34
|
unsavedTitle: "Save this invoice as a draft?",
|
|
49
35
|
unsavedDescription: "This invoice has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
|
|
@@ -51,10 +37,10 @@ var i = {
|
|
|
51
37
|
unsavedSaveDraftButton: "Save as draft",
|
|
52
38
|
unsavedCloseButton: "Close"
|
|
53
39
|
}, c = {
|
|
54
|
-
...e,
|
|
55
40
|
...t,
|
|
56
|
-
...r,
|
|
57
41
|
...n,
|
|
42
|
+
...i,
|
|
43
|
+
...r,
|
|
58
44
|
...s,
|
|
59
45
|
createTitle: "Create invoice",
|
|
60
46
|
createDescription: "Create and issue an invoice to your customers",
|
|
@@ -216,4 +202,4 @@ var i = {
|
|
|
216
202
|
commentPlaceholder: "Add a comment"
|
|
217
203
|
};
|
|
218
204
|
//#endregion
|
|
219
|
-
export { o as RECEIVABLES_SCREEN_LABELS_EN, d as RECEIVABLE_ACTION_DIALOG_LABELS_EN, l as RECEIVABLE_DETAILS_PANEL_LABELS_EN, c as RECEIVABLE_FORM_DIALOG_LABELS_EN, u as RECEIVABLE_PAYMENT_DIALOG_LABELS_EN,
|
|
205
|
+
export { o as RECEIVABLES_SCREEN_LABELS_EN, d as RECEIVABLE_ACTION_DIALOG_LABELS_EN, l as RECEIVABLE_DETAILS_PANEL_LABELS_EN, c as RECEIVABLE_FORM_DIALOG_LABELS_EN, u as RECEIVABLE_PAYMENT_DIALOG_LABELS_EN, a as RECEIVABLE_STATUS_CARDS_LABELS_EN, s as UNSAVED_INVOICE_DIALOG_LABELS_EN };
|
|
@@ -1,39 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as n } from "./index14.js";
|
|
3
|
-
import { jsxs as r } from "react/jsx-runtime";
|
|
1
|
+
import { Ban as e, CalendarX2 as t, Check as n, ChevronsRight as r, CircleCheck as i, CircleOff as a, CircleX as o, ClipboardCheck as s, Clock as c, CopyPlus as l, FileCheck as u, Mail as d, Pause as f, PenTool as p, Pencil as m, Play as h, Send as g, Trash2 as _ } from "lucide-react";
|
|
4
2
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
3
|
+
var v = {
|
|
4
|
+
edit: "editButton",
|
|
5
|
+
issue: "issueButton",
|
|
6
|
+
issueAndSend: "issueAndSendButton",
|
|
7
|
+
recordPayment: "recordPaymentButton",
|
|
8
|
+
send: "sendButton",
|
|
9
|
+
accept: "acceptButton",
|
|
10
|
+
decline: "declineButton",
|
|
11
|
+
markPaid: "markPaidButton",
|
|
12
|
+
markUncollectible: "markUncollectibleButton",
|
|
13
|
+
cancel: "cancelButton",
|
|
14
|
+
clone: "cloneButton",
|
|
15
|
+
delete: "deleteButton",
|
|
16
|
+
pauseRecurrence: "pauseRecurrenceButton",
|
|
17
|
+
resumeRecurrence: "resumeRecurrenceButton",
|
|
18
|
+
cancelRecurrence: "cancelRecurrenceButton"
|
|
19
|
+
}, y = {
|
|
20
|
+
edit: m,
|
|
21
|
+
issue: u,
|
|
22
|
+
issueAndSend: g,
|
|
23
|
+
recordPayment: s,
|
|
24
|
+
send: d,
|
|
25
|
+
accept: i,
|
|
26
|
+
decline: o,
|
|
27
|
+
markPaid: i,
|
|
28
|
+
markUncollectible: a,
|
|
29
|
+
cancel: e,
|
|
30
|
+
clone: l,
|
|
31
|
+
delete: _,
|
|
32
|
+
pauseRecurrence: f,
|
|
33
|
+
resumeRecurrence: h,
|
|
34
|
+
cancelRecurrence: t
|
|
35
|
+
}, b = {
|
|
36
|
+
draft: p,
|
|
37
|
+
issuing: c,
|
|
38
|
+
issued: c,
|
|
39
|
+
partially_paid: c,
|
|
40
|
+
paid: n,
|
|
41
|
+
overdue: c,
|
|
42
|
+
canceled: e
|
|
43
|
+
}, x = {
|
|
44
|
+
forward: r,
|
|
45
|
+
pause: f,
|
|
46
|
+
ban: e,
|
|
47
|
+
check: n
|
|
48
|
+
}, S = {
|
|
49
|
+
default: "ttw:text-foreground",
|
|
50
|
+
danger: "ttw:text-red-600",
|
|
51
|
+
success: "ttw:text-emerald-600",
|
|
52
|
+
muted: "ttw:text-muted-foreground"
|
|
53
|
+
}, C = "ttw:group ttw:cursor-pointer ttw:hover:no-underline", w = "ttw:translate-y-0.5", T = "ttw:border-border", E = "ttw:rounded-full ttw:bg-muted ttw:text-muted-foreground", D = "ttw:bg-primary ttw:text-primary-foreground", O = "ttw:bg-primary ttw:fill-primary", k = "ttw:bg-muted ttw:text-muted-foreground ttw:hover:bg-accent", A = (e) => e.preventDefault();
|
|
38
54
|
//#endregion
|
|
39
|
-
export {
|
|
55
|
+
export { y as ACTION_ICON, v as ACTION_LABEL_KEY, x as SERIES_STATUS_ICON, b as STATUS_ICON, S as amountValueToneClass, k as headerIconButtonClass, O as headerTooltipArrowClass, D as headerTooltipClass, A as preventTooltipFocusOpen, w as sectionChevronClass, E as sectionCountBadgeClass, T as sectionItemClass, C as sectionTriggerClass };
|
|
@@ -1,55 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Typography as e, cn as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { amountValueToneClass as n } from "./index25.js";
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
4
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
edit: m,
|
|
21
|
-
issue: u,
|
|
22
|
-
issueAndSend: g,
|
|
23
|
-
recordPayment: s,
|
|
24
|
-
send: d,
|
|
25
|
-
accept: i,
|
|
26
|
-
decline: o,
|
|
27
|
-
markPaid: i,
|
|
28
|
-
markUncollectible: a,
|
|
29
|
-
cancel: e,
|
|
30
|
-
clone: l,
|
|
31
|
-
delete: _,
|
|
32
|
-
pauseRecurrence: f,
|
|
33
|
-
resumeRecurrence: h,
|
|
34
|
-
cancelRecurrence: t
|
|
35
|
-
}, b = {
|
|
36
|
-
draft: p,
|
|
37
|
-
issuing: c,
|
|
38
|
-
issued: c,
|
|
39
|
-
partially_paid: c,
|
|
40
|
-
paid: n,
|
|
41
|
-
overdue: c,
|
|
42
|
-
canceled: e
|
|
43
|
-
}, x = {
|
|
44
|
-
forward: r,
|
|
45
|
-
pause: f,
|
|
46
|
-
ban: e,
|
|
47
|
-
check: n
|
|
48
|
-
}, S = {
|
|
49
|
-
default: "ttw:text-foreground",
|
|
50
|
-
danger: "ttw:text-red-600",
|
|
51
|
-
success: "ttw:text-emerald-600",
|
|
52
|
-
muted: "ttw:text-muted-foreground"
|
|
53
|
-
}, C = "ttw:group ttw:cursor-pointer ttw:hover:no-underline", w = "ttw:translate-y-0.5", T = "ttw:border-border", E = "ttw:rounded-full ttw:bg-muted ttw:text-muted-foreground", D = "ttw:bg-primary ttw:text-primary-foreground", O = "ttw:bg-primary ttw:fill-primary", k = "ttw:bg-muted ttw:text-muted-foreground ttw:hover:bg-accent", A = (e) => e.preventDefault();
|
|
5
|
+
function a({ row: a, defaultTone: o }) {
|
|
6
|
+
let s = a.tone ?? (a.emphasis ? o : "default");
|
|
7
|
+
return /* @__PURE__ */ i("div", {
|
|
8
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
9
|
+
children: [/* @__PURE__ */ r(e, {
|
|
10
|
+
variant: "caption",
|
|
11
|
+
color: "muted",
|
|
12
|
+
className: "ttw:font-medium",
|
|
13
|
+
children: a.label
|
|
14
|
+
}), /* @__PURE__ */ r(e, {
|
|
15
|
+
component: "span",
|
|
16
|
+
variant: a.emphasis ? "h3" : "body1",
|
|
17
|
+
className: t(!a.emphasis && "ttw:font-medium", n[s]),
|
|
18
|
+
children: a.value
|
|
19
|
+
})]
|
|
20
|
+
});
|
|
21
|
+
}
|
|
54
22
|
//#endregion
|
|
55
|
-
export {
|
|
23
|
+
export { a as AmountCell };
|
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
import { Typography as e, cn as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { amountValueToneClass as n } from "./index26.js";
|
|
3
|
-
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
1
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
className: "ttw:font-medium",
|
|
13
|
-
children: a.label
|
|
14
|
-
}), /* @__PURE__ */ r(e, {
|
|
15
|
-
component: "span",
|
|
16
|
-
variant: a.emphasis ? "h3" : "body1",
|
|
17
|
-
className: t(!a.emphasis && "ttw:font-medium", n[s]),
|
|
18
|
-
children: a.value
|
|
19
|
-
})]
|
|
20
|
-
});
|
|
21
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
billing: "billing",
|
|
4
|
+
lineItems: "line-items",
|
|
5
|
+
notes: "notes",
|
|
6
|
+
attachments: "attachments",
|
|
7
|
+
auditHistory: "audit-history"
|
|
8
|
+
};
|
|
22
9
|
//#endregion
|
|
23
|
-
export {
|
|
10
|
+
export { e as RECEIVABLE_DETAILS_SECTION };
|
|
@@ -1,10 +1,79 @@
|
|
|
1
|
+
import { AccordionContent as e, AccordionItem as t, AccordionTrigger as n, Badge as r, Typography as i } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { RECEIVABLE_DETAILS_SECTION as a } from "./index27.js";
|
|
3
|
+
import { sectionChevronClass as o, sectionCountBadgeClass as s, sectionItemClass as c, sectionTriggerClass as l } from "./index25.js";
|
|
4
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
5
|
+
import { Check as f } from "lucide-react";
|
|
1
6
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
function p({ attachments: p, labels: m }) {
|
|
8
|
+
return /* @__PURE__ */ d(t, {
|
|
9
|
+
value: a.attachments,
|
|
10
|
+
className: c,
|
|
11
|
+
children: [/* @__PURE__ */ u(n, {
|
|
12
|
+
className: l,
|
|
13
|
+
iconClassName: o,
|
|
14
|
+
children: /* @__PURE__ */ d("span", {
|
|
15
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
16
|
+
children: [/* @__PURE__ */ u("span", {
|
|
17
|
+
className: "ttw:group-hover:underline",
|
|
18
|
+
children: m.attachmentsHeading
|
|
19
|
+
}), /* @__PURE__ */ u(r, {
|
|
20
|
+
variant: "secondary",
|
|
21
|
+
className: s,
|
|
22
|
+
children: p.countLabel
|
|
23
|
+
})]
|
|
24
|
+
})
|
|
25
|
+
}), /* @__PURE__ */ u(e, { children: p.rows.length === 0 ? /* @__PURE__ */ u(i, {
|
|
26
|
+
variant: "body2",
|
|
27
|
+
color: "muted",
|
|
28
|
+
children: m.attachmentsEmpty
|
|
29
|
+
}) : /* @__PURE__ */ d("table", {
|
|
30
|
+
className: "ttw:w-full ttw:border-collapse",
|
|
31
|
+
children: [/* @__PURE__ */ u("thead", { children: /* @__PURE__ */ d("tr", {
|
|
32
|
+
className: "ttw:border-b ttw:border-border",
|
|
33
|
+
children: [/* @__PURE__ */ u("th", {
|
|
34
|
+
scope: "col",
|
|
35
|
+
className: "ttw:py-2 ttw:text-left",
|
|
36
|
+
children: /* @__PURE__ */ u(i, {
|
|
37
|
+
component: "span",
|
|
38
|
+
variant: "caption",
|
|
39
|
+
color: "muted",
|
|
40
|
+
children: m.attachmentsFileColumn
|
|
41
|
+
})
|
|
42
|
+
}), /* @__PURE__ */ u("th", {
|
|
43
|
+
scope: "col",
|
|
44
|
+
className: "ttw:py-2 ttw:text-right",
|
|
45
|
+
children: /* @__PURE__ */ u(i, {
|
|
46
|
+
component: "span",
|
|
47
|
+
variant: "caption",
|
|
48
|
+
color: "muted",
|
|
49
|
+
children: m.attachmentsEmailedColumn
|
|
50
|
+
})
|
|
51
|
+
})]
|
|
52
|
+
}) }), /* @__PURE__ */ u("tbody", { children: p.rows.map((e) => /* @__PURE__ */ d("tr", {
|
|
53
|
+
className: "ttw:border-b ttw:border-border ttw:last:border-b-0",
|
|
54
|
+
children: [/* @__PURE__ */ u("td", {
|
|
55
|
+
className: "ttw:py-3",
|
|
56
|
+
children: /* @__PURE__ */ u("a", {
|
|
57
|
+
href: e.url,
|
|
58
|
+
target: "_blank",
|
|
59
|
+
rel: "noreferrer",
|
|
60
|
+
className: "ttw:text-primary ttw:hover:underline",
|
|
61
|
+
children: e.name
|
|
62
|
+
})
|
|
63
|
+
}), /* @__PURE__ */ u("td", {
|
|
64
|
+
className: "ttw:py-3 ttw:text-right ttw:align-middle",
|
|
65
|
+
children: e.includeInEmail ? /* @__PURE__ */ u(f, {
|
|
66
|
+
role: "img",
|
|
67
|
+
"aria-label": e.emailedLabel,
|
|
68
|
+
className: "ttw:inline-block ttw:size-4 ttw:text-emerald-600"
|
|
69
|
+
}) : /* @__PURE__ */ u("span", {
|
|
70
|
+
className: "ttw:sr-only",
|
|
71
|
+
children: e.emailedLabel
|
|
72
|
+
})
|
|
73
|
+
})]
|
|
74
|
+
}, e.id)) })]
|
|
75
|
+
}) })]
|
|
76
|
+
});
|
|
77
|
+
}
|
|
9
78
|
//#endregion
|
|
10
|
-
export {
|
|
79
|
+
export { p as AttachmentsItem };
|
|
@@ -1,79 +1,41 @@
|
|
|
1
|
-
import { AccordionContent as e, AccordionItem as t, AccordionTrigger as n,
|
|
2
|
-
import { RECEIVABLE_DETAILS_SECTION as
|
|
3
|
-
import { sectionChevronClass as
|
|
4
|
-
import { jsx as
|
|
5
|
-
import { Check as f } from "lucide-react";
|
|
1
|
+
import { AccordionContent as e, AccordionItem as t, AccordionTrigger as n, AuditHistoryList as r, Badge as i, Typography as a } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { RECEIVABLE_DETAILS_SECTION as o } from "./index27.js";
|
|
3
|
+
import { sectionChevronClass as s, sectionCountBadgeClass as c, sectionItemClass as l, sectionTriggerClass as u } from "./index25.js";
|
|
4
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
6
5
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js
|
|
7
|
-
function p({
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
value:
|
|
10
|
-
className:
|
|
11
|
-
children: [/* @__PURE__ */
|
|
12
|
-
className:
|
|
13
|
-
iconClassName:
|
|
14
|
-
children: /* @__PURE__ */
|
|
6
|
+
function p({ auditHistory: p, labels: m }) {
|
|
7
|
+
return /* @__PURE__ */ f(t, {
|
|
8
|
+
value: o.auditHistory,
|
|
9
|
+
className: l,
|
|
10
|
+
children: [/* @__PURE__ */ d(n, {
|
|
11
|
+
className: u,
|
|
12
|
+
iconClassName: s,
|
|
13
|
+
children: /* @__PURE__ */ f("span", {
|
|
15
14
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
16
|
-
children: [/* @__PURE__ */
|
|
15
|
+
children: [/* @__PURE__ */ d("span", {
|
|
17
16
|
className: "ttw:group-hover:underline",
|
|
18
|
-
children: m.
|
|
19
|
-
}), /* @__PURE__ */
|
|
17
|
+
children: m.auditHistoryHeading
|
|
18
|
+
}), p.countLabel ? /* @__PURE__ */ d(i, {
|
|
20
19
|
variant: "secondary",
|
|
21
|
-
className:
|
|
20
|
+
className: c,
|
|
22
21
|
children: p.countLabel
|
|
23
|
-
})]
|
|
22
|
+
}) : null]
|
|
24
23
|
})
|
|
25
|
-
}), /* @__PURE__ */
|
|
26
|
-
variant: "
|
|
24
|
+
}), /* @__PURE__ */ f(e, { children: [p.showNamesError ? /* @__PURE__ */ d(a, {
|
|
25
|
+
variant: "caption",
|
|
27
26
|
color: "muted",
|
|
28
|
-
children: m.
|
|
29
|
-
}) : /* @__PURE__ */ d(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
color: "muted",
|
|
40
|
-
children: m.attachmentsFileColumn
|
|
41
|
-
})
|
|
42
|
-
}), /* @__PURE__ */ u("th", {
|
|
43
|
-
scope: "col",
|
|
44
|
-
className: "ttw:py-2 ttw:text-right",
|
|
45
|
-
children: /* @__PURE__ */ u(i, {
|
|
46
|
-
component: "span",
|
|
47
|
-
variant: "caption",
|
|
48
|
-
color: "muted",
|
|
49
|
-
children: m.attachmentsEmailedColumn
|
|
50
|
-
})
|
|
51
|
-
})]
|
|
52
|
-
}) }), /* @__PURE__ */ u("tbody", { children: p.rows.map((e) => /* @__PURE__ */ d("tr", {
|
|
53
|
-
className: "ttw:border-b ttw:border-border ttw:last:border-b-0",
|
|
54
|
-
children: [/* @__PURE__ */ u("td", {
|
|
55
|
-
className: "ttw:py-3",
|
|
56
|
-
children: /* @__PURE__ */ u("a", {
|
|
57
|
-
href: e.url,
|
|
58
|
-
target: "_blank",
|
|
59
|
-
rel: "noreferrer",
|
|
60
|
-
className: "ttw:text-primary ttw:hover:underline",
|
|
61
|
-
children: e.name
|
|
62
|
-
})
|
|
63
|
-
}), /* @__PURE__ */ u("td", {
|
|
64
|
-
className: "ttw:py-3 ttw:text-right ttw:align-middle",
|
|
65
|
-
children: e.includeInEmail ? /* @__PURE__ */ u(f, {
|
|
66
|
-
role: "img",
|
|
67
|
-
"aria-label": e.emailedLabel,
|
|
68
|
-
className: "ttw:inline-block ttw:size-4 ttw:text-emerald-600"
|
|
69
|
-
}) : /* @__PURE__ */ u("span", {
|
|
70
|
-
className: "ttw:sr-only",
|
|
71
|
-
children: e.emailedLabel
|
|
72
|
-
})
|
|
73
|
-
})]
|
|
74
|
-
}, e.id)) })]
|
|
75
|
-
}) })]
|
|
27
|
+
children: m.auditHistoryNamesError
|
|
28
|
+
}) : null, /* @__PURE__ */ d(r, {
|
|
29
|
+
rows: p.rows,
|
|
30
|
+
isLoading: p.isLoading,
|
|
31
|
+
isError: p.isError,
|
|
32
|
+
labels: {
|
|
33
|
+
empty: m.auditHistoryEmpty,
|
|
34
|
+
loading: m.auditHistoryLoading,
|
|
35
|
+
error: m.auditHistoryError
|
|
36
|
+
}
|
|
37
|
+
})] })]
|
|
76
38
|
});
|
|
77
39
|
}
|
|
78
40
|
//#endregion
|
|
79
|
-
export { p as
|
|
41
|
+
export { p as AuditHistoryItem };
|