@tesouro/embedded-components-react 0.5.228 → 0.5.230

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 (85) hide show
  1. package/README.md +22 -21
  2. package/dist/index.d.ts +34 -1
  3. package/dist/index.js +1 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +34 -1
  5. package/dist/lib/ReceivablesWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +32 -33
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +34 -32
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -1
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +120 -52
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +44 -100
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +93 -337
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +356 -211
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +225 -157
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +152 -21
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +18 -221
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +224 -56
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +126 -231
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +53 -298
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +232 -43
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +295 -118
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +38 -145
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +126 -46
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +145 -117
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +38 -91
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +113 -107
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +94 -27
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +104 -619
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +34 -41
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +635 -34
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +39 -77
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +34 -117
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js +75 -318
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index34.js +139 -0
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index35.js +340 -0
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +1 -1
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +55 -468
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +443 -97
  41. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +24 -21
  42. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +32 -2
  43. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +205 -84
  44. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +161 -3
  45. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +12 -20
  46. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +23 -40
  47. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +2 -17
  48. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +90 -68
  49. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +3 -20
  50. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +20 -12
  51. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +40 -30
  52. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +14 -7
  53. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +15 -301
  54. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +73 -1
  55. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +17 -45
  56. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +12 -68
  57. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +26 -490
  58. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +294 -95
  59. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +1 -0
  60. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +48 -2
  61. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +72 -4
  62. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +496 -1
  63. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +121 -27
  64. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +97 -91
  65. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +2 -236
  66. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +3 -2
  67. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +1 -249
  68. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +89 -82
  69. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +23 -54
  70. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +223 -340
  71. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +3 -0
  72. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +249 -0
  73. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +100 -216
  74. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +93 -0
  75. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +59 -0
  76. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +353 -0
  77. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +35 -29
  78. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -216
  79. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +9 -159
  80. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +27 -14
  81. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +216 -23
  82. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  83. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js +12 -12
  84. package/package.json +1 -1
  85. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +0 -28
@@ -1,237 +1,132 @@
1
- import { minorExponentForCurrency as e } from "../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
2
- import "../../ui/dist/index10.js";
3
- import "../../ui/dist/index.js";
4
- import { isBlankLineItem as t, keepsSavedTaxRates as n, lineItemTaxRateMinorUnits as r, parseQuantity as i, priceInputToMinorUnits as a, taxRateToMinorUnits as o } from "./index6.js";
5
- import { formatTermDate as s, resolveIssueDate as c, termDueDate as l } from "./index9.js";
6
- import { formatMoney as u } from "./index12.js";
7
- import { differenceInCalendarDays as d, parseISO as f } from "date-fns";
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
+ import "../../../shared/ui/dist/index.js";
7
+ import { getCounterpartEmail as t, getCounterpartName as n } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
8
+ import { useCounterpartQuery as r } from "../../../shared/counterpart-management/data-access/dist/index3.js";
9
+ import "../../../shared/counterpart-management/feature/dist/index.js";
10
+ import { useCreateProductMutation as i } from "../../../shared/product-catalog/data-access/dist/index6.js";
11
+ import { useMeasureUnits as a } from "../../../shared/product-catalog/feature/dist/lib/useMeasureUnits.js";
12
+ import "../../../shared/product-catalog/feature/dist/index.js";
13
+ import { getInlineItemPriceLabel as o, getIssueAttachments as s, getIssueSubject as c, getProductsStepTitle as l, inlineItemToProductRequest as u } from "./index8.js";
14
+ import { useSendReceivableEmailMutation as d } from "../../data-access/dist/index6.js";
15
+ import { useReceivableQuery as f } from "../../data-access/dist/index10.js";
16
+ import "../../data-access/dist/index.js";
17
+ import { useCallback as p, useMemo as m, useState as h } from "react";
8
18
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js
9
- var p = "US", m = 100;
10
- function h(e) {
11
- try {
12
- return new Intl.DisplayNames(void 0, { type: "region" }).of(e) ?? e;
13
- } catch {
14
- return e;
15
- }
16
- }
17
- function g({ address: e, issuerCountry: t, formatCountry: n = h }) {
18
- if (!e) return [];
19
- let r = [e.city, e.state].filter(Boolean).join(", "), i = e.country === p && t === p;
20
- return [
21
- [e.line1, e.line2].filter(Boolean).join(" "),
22
- [r, e.postal_code].filter(Boolean).join(" "),
23
- e.country && !i ? n(e.country) : ""
24
- ].filter(Boolean);
25
- }
26
- var _ = { kind: "pending" }, v = (e) => ({
27
- kind: "text",
28
- lines: e
29
- });
30
- function y(e, t) {
31
- return e.previewNetDays.replace("{days}", String(t));
32
- }
33
- function b(e, t) {
34
- let n = e.previewEarlyPaymentDays.replace("{days}", String(t.number_of_days));
35
- return t.discount ? `${n}, ${e.previewEarlyPaymentDiscount.replace("{rate}", String(t.discount / m))}` : n;
36
- }
37
- function x({ paymentTermsId: e, paymentTermsCustomDate: t, paymentTerms: n, issueDate: r, messages: i }) {
38
- let a = {
39
- dueDate: _,
40
- paymentTerms: _
41
- };
42
- if (e === "custom") {
43
- if (!t) return a;
44
- let e = f(t), n = Math.max(0, d(e, r));
45
- return {
46
- dueDate: v([s(e)]),
47
- paymentTerms: v([y(i, n)])
48
- };
49
- }
50
- if (e === "receipt_due") return {
51
- dueDate: v([s(r)]),
52
- paymentTerms: v([i.previewDueOnReceipt])
53
- };
54
- let o = n?.find((t) => t.id === e);
55
- if (!o) return a;
56
- let c = l(o, r), u = [
57
- o.term_1 && b(i, o.term_1),
58
- o.term_2 && b(i, o.term_2),
59
- o.term_final && y(i, o.term_final.number_of_days)
60
- ].filter((e) => !!e);
61
- return {
62
- dueDate: c ? v([s(c)]) : _,
63
- paymentTerms: u.length > 0 ? v(u) : _
64
- };
65
- }
66
- function S(e, t) {
67
- return t ? e.previewTaxId.replace("{taxId}", t) : void 0;
68
- }
69
- function C(e) {
70
- return e.length > 0 ? e : void 0;
71
- }
72
- function w(e, t) {
73
- return e ? {
74
- name: e.type === "organization" ? e.organization.legal_name : void 0,
75
- addressLines: C(g({
76
- address: e.address,
77
- issuerCountry: e.address?.country
78
- })),
79
- taxIdLine: S(t, e.tax_id),
80
- email: e.email ?? void 0,
81
- phone: e.phone ?? void 0
82
- } : {};
83
- }
84
- function T(e) {
85
- let t = "organization" in e ? e.organization : e.individual;
86
- return {
87
- name: "organization" in e ? e.organization.legal_name : [e.individual.first_name, e.individual.last_name].filter(Boolean).join(" "),
88
- email: t.email,
89
- phone: t.phone
90
- };
91
- }
92
- function E({ counterpart: e, billingAddress: t, issuerCountry: n, messages: r }) {
93
- if (!e) return { kind: "pending" };
94
- let { name: i, email: a, phone: o } = T(e);
95
- return i ? {
96
- kind: "party",
97
- name: i,
98
- addressLines: C(g({
99
- address: t,
100
- issuerCountry: n
101
- })),
102
- taxIdLine: S(r, e.tax_id),
103
- email: a || void 0,
104
- phone: o || void 0
105
- } : { kind: "pending" };
106
- }
107
- function D({ lineItems: e, currency: n, unitNamesById: r, messages: o }) {
108
- return e.filter((e) => !t(e)).map((e) => {
109
- let t = a(e.price, n), s = i(e.quantity), c = r[e.measureUnitId] || e.measureUnitName;
110
- return {
111
- id: e.id,
112
- name: e.name,
113
- quantity: String(s),
114
- price: u({
115
- amount: t,
116
- currency: n,
117
- fallback: ""
118
- }),
119
- ...c ? { unit: c } : {},
120
- taxable: e.taxable ? o.previewTaxableYes : o.previewTaxableNo,
121
- amount: u({
122
- amount: Math.round(t * s),
123
- currency: n,
124
- fallback: ""
125
- })
126
- };
127
- });
128
- }
129
- function O(t, n) {
130
- return n ? new Intl.NumberFormat(void 0, {
131
- style: "currency",
132
- currency: n,
133
- currencySign: "accounting"
134
- }).format(-t / 10 ** e(n)) : "";
135
- }
136
- function k(e, i) {
137
- if (!e.taxRate) return i.previewTax;
138
- let a = o(e.taxRate), s = n(e.taxRate, e.savedTaxRate);
139
- return new Set(e.lineItems.filter((e) => e.taxable && !t(e)).map((e) => r(e, a, s))).size > 1 ? i.previewTax : i.previewTaxWithRate.replace("{rate}", String(a / m));
140
- }
141
- function A({ totals: e, currency: t, taxLabel: n, messages: r }) {
142
- let i = (e) => u({
143
- amount: e,
144
- currency: t,
145
- fallback: ""
146
- }), a = e.discountAmount > 0, o = e.taxableItemsSubtotal > 0, s = e.nonTaxableItemsSubtotal > 0, c = [{
147
- id: "subtotal",
148
- label: r.previewSubtotal,
149
- value: i(e.subtotal)
150
- }];
151
- return a && c.push({
152
- id: "discount",
153
- label: r.previewDiscount,
154
- value: O(e.discountAmount, t)
155
- }), s && (o || a) && c.push({
156
- id: "nonTaxableSubtotal",
157
- label: r.previewNonTaxableSubtotal,
158
- value: i(e.nonTaxableSubtotal),
159
- muted: !0
160
- }), o && (s || a) && c.push({
161
- id: "taxableSubtotal",
162
- label: r.previewTaxableSubtotal,
163
- value: i(e.taxableSubtotal),
164
- muted: !0
165
- }), c.push({
166
- id: "tax",
167
- label: n,
168
- value: i(e.totalTaxes)
169
- }), {
170
- rows: c,
171
- total: {
172
- label: r.previewTotal,
173
- value: i(e.total)
19
+ function g({ messages: g }) {
20
+ let [_, v] = h(), [y, b] = h("products"), [x, S] = h(), [C, w] = h(), [T, E] = h(""), [D, O] = h(() => /* @__PURE__ */ new Set()), [k, A] = h(!1), j = !!_ && y === "issue", M = f(_?.receivableId, { enabled: j }), N = r(j ? _?.counterpartId : void 0), { unitNamesById: P } = a({ enabled: !!_?.inlineItems.length }), F = d(), I = i(), L = N.data?.id === _?.counterpartId ? N.data : void 0, R = L ? n(L) : "", z = L ? t(L) : "", B = M.data?.id === _?.receivableId ? M.data : void 0, V = C ?? c(B?.document_id, R, g), H = p((e) => {
21
+ v(e), b(e.showEmailStep ? "issue" : "products"), S(void 0), w(void 0), E(""), O(new Set(e.inlineItems.map((e) => e.key)));
22
+ }, []), U = p(() => v(void 0), []), W = p((e) => {
23
+ S(e), _?.inlineItems.length ? b("products") : U();
24
+ }, [U, _]), G = p(() => {
25
+ y === "issue" ? W("issued") : U();
26
+ }, [
27
+ U,
28
+ W,
29
+ y
30
+ ]), K = p(async () => {
31
+ if (_) try {
32
+ await F.mutateAsync({
33
+ path: { receivable_id: _.receivableId },
34
+ body: {
35
+ subject_text: V,
36
+ body_text: T,
37
+ recipients: z ? { to: [z] } : void 0
38
+ }
39
+ }), e.success(g.actionsSendSucceeded), W("sent");
40
+ } catch {
41
+ e.error(g.actionsSendFailed);
174
42
  }
175
- };
176
- }
177
- function j({ bankDetails: e, canReceivePayments: t, messages: n }) {
178
- let r = e ? [
179
- [n.previewAccountHolderName, e.accountHolderName],
180
- [n.previewRoutingNumber, e.routingNumber],
181
- [n.previewAccountNumber, e.accountNumber]
182
- ].filter((e) => !!e[1]).map(([e, t]) => e.replace("{value}", t)) : [];
183
- if (t || r.length !== 0) return {
184
- showPayOnline: t,
185
- bankLines: r
186
- };
187
- }
188
- function M({ values: e, totals: t, entity: n, counterpart: r, billingAddress: i, paymentTerms: a, unitNamesById: o, bankDetails: l, canReceivePayments: u = !1, messages: d, today: f = /* @__PURE__ */ new Date() }) {
189
- let p = D({
190
- lineItems: e.lineItems,
191
- currency: e.currency,
192
- unitNamesById: o,
193
- messages: d
194
- }), m = n?.logo?.url, h = w(n, d), g = c(e.issueDate, f);
43
+ }, [
44
+ z,
45
+ T,
46
+ g,
47
+ W,
48
+ V,
49
+ F,
50
+ _
51
+ ]), q = _?.inlineItems ?? [], J = D.size > 0, Y = p((e) => {
52
+ O(new Set(e ? (_?.inlineItems ?? []).map((e) => e.key) : []));
53
+ }, [_]), X = p(() => Y(!J), [Y, J]), Z = p((e) => {
54
+ O((t) => {
55
+ let n = new Set(t);
56
+ return n.has(e) ? n.delete(e) : n.add(e), n;
57
+ });
58
+ }, []), Q = p(async () => {
59
+ let t = (_?.inlineItems ?? []).filter((e) => D.has(e.key));
60
+ if (t.length) {
61
+ A(!0);
62
+ try {
63
+ await Promise.all(t.map((e) => I.mutateAsync({ body: u(e) }))), e.success(g.actionsProductsSaved), U();
64
+ } catch {
65
+ e.error(g.actionsProductsSaveFailed);
66
+ } finally {
67
+ A(!1);
68
+ }
69
+ }
70
+ }, [
71
+ U,
72
+ I,
73
+ g,
74
+ D,
75
+ _
76
+ ]), $ = m(() => {
77
+ if (_) return y === "issue" ? {
78
+ step: "issue",
79
+ title: g.actionsIssueTitle.replace("{name}", R),
80
+ recipient: z ? `${R} <${z}>` : R,
81
+ subject: V,
82
+ message: T,
83
+ attachments: s(B),
84
+ sendDisabled: F.isPending || !V.trim() || !T.trim(),
85
+ inProgress: F.isPending
86
+ } : {
87
+ step: "products",
88
+ title: l(_.action, x, g),
89
+ items: q.map((e) => ({
90
+ key: e.key,
91
+ name: e.name,
92
+ priceLabel: o(e, P),
93
+ selected: D.has(e.key)
94
+ })),
95
+ allSelected: q.length > 0 && D.size === q.length,
96
+ toggleAllLabel: J ? g.actionsDeselectAll : g.actionsSelectAll,
97
+ saveDisabled: !J || k,
98
+ inProgress: k
99
+ };
100
+ }, [
101
+ z,
102
+ R,
103
+ k,
104
+ x,
105
+ q,
106
+ T,
107
+ g,
108
+ B,
109
+ V,
110
+ D,
111
+ F.isPending,
112
+ J,
113
+ y,
114
+ _,
115
+ P
116
+ ]);
195
117
  return {
196
- issuer: h,
197
- logo: m ? {
198
- kind: "image",
199
- src: m,
200
- alt: h.name ? d.previewLogoAlt.replace("{name}", h.name) : d.previewLogoAltNoName
201
- } : { kind: "placeholder" },
202
- billTo: E({
203
- counterpart: r,
204
- billingAddress: i,
205
- issuerCountry: n?.address?.country,
206
- messages: d
207
- }),
208
- invoiceNumber: _,
209
- issueDate: s(g),
210
- ...x({
211
- paymentTermsId: e.paymentTermsId,
212
- paymentTermsCustomDate: e.paymentTermsCustomDate,
213
- paymentTerms: a,
214
- issueDate: g,
215
- messages: d
216
- }),
217
- openingNote: e.openingNote || void 0,
218
- lineItems: p.length > 0 ? {
219
- kind: "rows",
220
- rows: p
221
- } : { kind: "empty" },
222
- totals: p.length > 0 ? A({
223
- totals: t,
224
- currency: e.currency,
225
- taxLabel: k(e, d),
226
- messages: d
227
- }) : void 0,
228
- closingNote: e.closingNote || void 0,
229
- payment: j({
230
- bankDetails: l,
231
- canReceivePayments: u,
232
- messages: d
233
- })
118
+ isOpen: !!_,
119
+ view: $,
120
+ open: H,
121
+ skip: G,
122
+ changeSubject: w,
123
+ changeMessage: E,
124
+ send: K,
125
+ toggleItem: Z,
126
+ toggleAll: X,
127
+ setAllSelected: Y,
128
+ saveItems: Q
234
129
  };
235
130
  }
236
131
  //#endregion
237
- export { g as buildPreviewAddressLines, x as buildPreviewPaymentTerms, M as buildReceivablePreviewView, h as formatCountryName, O as formatDeduction };
132
+ export { g as useReceivableActionsModal };