@tesouro/embedded-components-react 0.5.150 → 0.5.153
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/lib/monite-sdk.d.ts +2 -44
- package/dist/lib/monite-sdk.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +20 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +5 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +10 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +11 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +133 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +5 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +3 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +33 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +180 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +201 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +98 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +63 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +55 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +89 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +75 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +87 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +12 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +17 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +5 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +20 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +60 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +28 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +2 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +33 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +14 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +28 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +97 -17
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index10.js +39 -39
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index11.js +32 -30
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index12.js +77 -72
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index5.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index6.js +27 -23
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index7.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index8.js +64 -48
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index9.js +107 -92
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index4.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +0 -97
|
@@ -1,206 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import { MoniteScopedProviders as o } from "./index241.js";
|
|
9
|
-
import { GetNoRowsOverlay as s } from "./index250.js";
|
|
10
|
-
import { TablePagination as c } from "./index335.js";
|
|
11
|
-
import { classNames as l } from "./index337.js";
|
|
12
|
-
import { ReceivableCursorFields as u } from "./index444.js";
|
|
13
|
-
import { useKanmonContext as d } from "./index570.js";
|
|
14
|
-
import { useGetFinancedInvoices as f } from "./index573.js";
|
|
15
|
-
import "./index574.js";
|
|
16
|
-
import { FinancedInvoiceStatusChip as p } from "./index577.js";
|
|
17
|
-
import { FinanceDetails as m } from "./index578.js";
|
|
18
|
-
import { useMemo as h, useState as g } from "react";
|
|
19
|
-
import { jsx as _, jsxs as v } from "@emotion/react/jsx-runtime";
|
|
20
|
-
import { Box as y, Button as b, Typography as x } from "@mui/material";
|
|
21
|
-
import { useLingui as S } from "@lingui/react";
|
|
22
|
-
import { DataGrid as C } from "@mui/x-data-grid";
|
|
1
|
+
import { MoniteScopedProviders as e } from "./index241.js";
|
|
2
|
+
import { PageHeader as t } from "./index330.js";
|
|
3
|
+
import { FinanceIntegrationCard as n } from "./index569.js";
|
|
4
|
+
import "./index578.js";
|
|
5
|
+
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Box as o } from "@mui/material";
|
|
7
|
+
import { useLingui as s } from "@lingui/react";
|
|
23
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
limit: L,
|
|
31
|
-
pagination_token: F
|
|
32
|
-
}), K = H?.data, q = (e) => {
|
|
33
|
-
B(e[0]), I(void 0);
|
|
34
|
-
}, J = D.dateFormat, Y = h(() => [
|
|
35
|
-
{
|
|
36
|
-
field: "document_id",
|
|
37
|
-
headerName: E._("Number"),
|
|
38
|
-
sortable: !1,
|
|
39
|
-
width: 140,
|
|
40
|
-
renderCell: ({ value: e }) => e ? /* @__PURE__ */ _("span", {
|
|
41
|
-
className: "Monite-TextOverflowContainer",
|
|
42
|
-
children: e
|
|
43
|
-
}) : /* @__PURE__ */ _("span", {
|
|
44
|
-
className: "Monite-TextOverflowContainer",
|
|
45
|
-
children: /* @__PURE__ */ _(x, {
|
|
46
|
-
color: "text.secondary",
|
|
47
|
-
component: "span",
|
|
48
|
-
fontSize: "inherit",
|
|
49
|
-
children: E._("Pending")
|
|
50
|
-
})
|
|
51
|
-
})
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
field: "payer_type",
|
|
55
|
-
headerName: E._("Customer"),
|
|
56
|
-
display: "flex",
|
|
57
|
-
width: 250,
|
|
58
|
-
renderCell: (e) => /* @__PURE__ */ _(x, { children: e.row.payer_type == "BUSINESS" ? e.row.payer_business_name : `${e.row.payer_first_name} ${e.row.payer_last_name}` })
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
field: "status",
|
|
62
|
-
headerName: E._("Status"),
|
|
63
|
-
sortable: u.includes("status"),
|
|
64
|
-
width: 160,
|
|
65
|
-
renderCell: ({ value: e }) => /* @__PURE__ */ _(p, {
|
|
66
|
-
icon: !0,
|
|
67
|
-
status: e
|
|
68
|
-
})
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
field: "total_amount",
|
|
72
|
-
headerName: E._("Amount due"),
|
|
73
|
-
headerAlign: "right",
|
|
74
|
-
align: "right",
|
|
75
|
-
width: 120,
|
|
76
|
-
valueGetter: (e, t) => {
|
|
77
|
-
let n = t.repayment_schedule?.repayment_amount;
|
|
78
|
-
return n ? V(n, t.currency) : "-";
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
field: "repayment_schedule",
|
|
83
|
-
headerName: E._("Loan sum"),
|
|
84
|
-
headerAlign: "right",
|
|
85
|
-
align: "right",
|
|
86
|
-
width: 120,
|
|
87
|
-
valueGetter: (e, t) => {
|
|
88
|
-
let n = t.repayment_schedule?.repayment_principal_amount;
|
|
89
|
-
return n ? V(n, t.currency) : "-";
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
field: "issue_date",
|
|
94
|
-
headerName: E._("Financing date"),
|
|
95
|
-
sortable: !1,
|
|
96
|
-
width: 140,
|
|
97
|
-
valueFormatter: (e) => e ? E.date(e, J) : "—"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
field: "repayment_date",
|
|
101
|
-
headerName: E._("Repayment date"),
|
|
102
|
-
sortable: !1,
|
|
103
|
-
width: 120,
|
|
104
|
-
valueGetter: (e, t) => {
|
|
105
|
-
let n = t.repayment_schedule?.repayment_date;
|
|
106
|
-
return n ? E.date(n, J) : "-";
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
field: "",
|
|
111
|
-
headerName: E._("Payment"),
|
|
112
|
-
sortable: !1,
|
|
113
|
-
width: 120,
|
|
114
|
-
renderCell: (e) => e.row.status === "FUNDED" || e.row.status === "LATE" ? /* @__PURE__ */ _(b, {
|
|
115
|
-
variant: "contained",
|
|
116
|
-
color: "primary",
|
|
117
|
-
onClick: (e) => {
|
|
118
|
-
e.stopPropagation(), k({ component: "PAY_NOW" });
|
|
119
|
-
},
|
|
120
|
-
sx: {
|
|
121
|
-
py: 1.25,
|
|
122
|
-
px: 1.5,
|
|
123
|
-
height: 32,
|
|
124
|
-
fontSize: 14
|
|
125
|
-
},
|
|
126
|
-
children: E._("Repay now")
|
|
127
|
-
}) : null
|
|
128
|
-
}
|
|
129
|
-
], [
|
|
130
|
-
V,
|
|
131
|
-
E,
|
|
132
|
-
J,
|
|
133
|
-
k
|
|
134
|
-
]), X = i(K, Y, !1, "FinancedInvoicesTable");
|
|
135
|
-
return /* @__PURE__ */ v(y, {
|
|
136
|
-
className: l(e, "Monite-FinancedInvoicesTable"),
|
|
9
|
+
function c() {
|
|
10
|
+
return /* @__PURE__ */ i(e, { children: /* @__PURE__ */ i(l, {}) });
|
|
11
|
+
}
|
|
12
|
+
function l() {
|
|
13
|
+
let { i18n: e } = s();
|
|
14
|
+
return /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ i(t, { title: /* @__PURE__ */ i(r, { children: e._("Integrations") }) }), /* @__PURE__ */ i(o, {
|
|
137
15
|
sx: {
|
|
138
|
-
display: "
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
height: "inherit",
|
|
142
|
-
minHeight: "500px"
|
|
16
|
+
display: "grid",
|
|
17
|
+
gridTemplateColumns: "minmax(360px, 480px) minmax(360px, 480px)",
|
|
18
|
+
gap: 2
|
|
143
19
|
},
|
|
144
|
-
children:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
variant: "subtitle1",
|
|
148
|
-
children: E._("Financed invoices")
|
|
149
|
-
}),
|
|
150
|
-
/* @__PURE__ */ _(C, {
|
|
151
|
-
apiRef: X,
|
|
152
|
-
rowSelection: !1,
|
|
153
|
-
disableColumnFilter: !0,
|
|
154
|
-
loading: U,
|
|
155
|
-
onSortModelChange: q,
|
|
156
|
-
onRowClick: (e) => {
|
|
157
|
-
j(!0), N?.(e.row);
|
|
158
|
-
},
|
|
159
|
-
slots: {
|
|
160
|
-
pagination: () => /* @__PURE__ */ _(c, {
|
|
161
|
-
pageSizeOptions: O.receivables.pageSizeOptions,
|
|
162
|
-
nextPage: H?.next_pagination_token,
|
|
163
|
-
prevPage: H?.prev_pagination_token,
|
|
164
|
-
paginationModel: {
|
|
165
|
-
pageSize: L,
|
|
166
|
-
page: F
|
|
167
|
-
},
|
|
168
|
-
onPaginationModelChange: ({ page: e, pageSize: t }) => {
|
|
169
|
-
R(t), I(e ?? void 0);
|
|
170
|
-
}
|
|
171
|
-
}),
|
|
172
|
-
noRowsOverlay: () => /* @__PURE__ */ _(s, {
|
|
173
|
-
isLoading: U,
|
|
174
|
-
dataLength: K?.length || 0,
|
|
175
|
-
isFiltering: !1,
|
|
176
|
-
isSearching: !1,
|
|
177
|
-
isError: W,
|
|
178
|
-
refetch: G,
|
|
179
|
-
entityName: E._("Financed Invoices"),
|
|
180
|
-
actionOptions: [E._("Invoice")],
|
|
181
|
-
type: "no-data"
|
|
182
|
-
})
|
|
183
|
-
},
|
|
184
|
-
columns: Y,
|
|
185
|
-
getRowId: (e) => e.document_id,
|
|
186
|
-
rows: K ?? []
|
|
187
|
-
}),
|
|
188
|
-
P && M && /* @__PURE__ */ _(a, {
|
|
189
|
-
open: A,
|
|
190
|
-
onClose: () => {
|
|
191
|
-
j(!1), N(null);
|
|
192
|
-
},
|
|
193
|
-
alignDialog: "right",
|
|
194
|
-
children: /* @__PURE__ */ _(m, {
|
|
195
|
-
invoice: P,
|
|
196
|
-
offers: T ?? [],
|
|
197
|
-
financedInvoice: M,
|
|
198
|
-
enableNavigate: !0,
|
|
199
|
-
handleNavigate: o
|
|
200
|
-
})
|
|
201
|
-
})
|
|
202
|
-
]
|
|
203
|
-
});
|
|
204
|
-
};
|
|
20
|
+
children: /* @__PURE__ */ i(n, {})
|
|
21
|
+
})] });
|
|
22
|
+
}
|
|
205
23
|
//#endregion
|
|
206
|
-
export {
|
|
24
|
+
export { c as Integrations };
|
|
@@ -1,102 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { Box as r, List as i, ListItem as a, Typography as o } from "@mui/material";
|
|
4
|
-
import { useLingui as s } from "@lingui/react";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js
|
|
6
|
-
var c = () => {
|
|
7
|
-
let { i18n: c } = s(), { componentSettings: l } = e(), u = [
|
|
8
|
-
{
|
|
9
|
-
id: 1,
|
|
10
|
-
title: c._("Create an invoice:"),
|
|
11
|
-
description: c._("If you applied for accounts receivable financing, issue an invoice and deliver it to your customer via email or any other channel."),
|
|
12
|
-
description2: c._("Or if you applied for accounts payable financing, upload/select the uploaded invoice you've received from your vendor."),
|
|
13
|
-
list: {
|
|
14
|
-
listTitle: c._("Invoices cannot be financed if:"),
|
|
15
|
-
listItems: [
|
|
16
|
-
{
|
|
17
|
-
id: "listItem-1",
|
|
18
|
-
text: c._("- they are due within 7 days.")
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: "listItem-2",
|
|
22
|
-
text: c._("- they are already overdue.")
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: "listItem-3",
|
|
26
|
-
text: c._("- the loan sum exceeds your remaining limit.")
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
id: 2,
|
|
33
|
-
title: c._("Select 'Get Paid Now':"),
|
|
34
|
-
description: c._("Access funding through the invoice list, within the invoice details, or the 'My Financing' tab. If approved, you will receive the invoice amount instantly, minus the fee associated with the payment offer chosen.")
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: 3,
|
|
38
|
-
title: c._("Pay out the financed sum:"),
|
|
39
|
-
description: c._("The full sum will be withdrawn from your bank account automatically on the date specified in the selected offer. You can also pay out the sum earlier via the 'Pay out' button.")
|
|
40
|
-
}
|
|
41
|
-
], d = l?.financing?.financeSteps ?? u;
|
|
42
|
-
return /* @__PURE__ */ n(r, {
|
|
43
|
-
px: 4,
|
|
44
|
-
py: 5,
|
|
45
|
-
children: [/* @__PURE__ */ t(r, { children: /* @__PURE__ */ t(o, {
|
|
46
|
-
variant: "h3",
|
|
47
|
-
children: c._("How does invoice financing work?")
|
|
48
|
-
}) }), /* @__PURE__ */ t(i, {
|
|
49
|
-
sx: {
|
|
50
|
-
mt: 4,
|
|
51
|
-
display: "flex",
|
|
52
|
-
flexDirection: "column",
|
|
53
|
-
gap: 3,
|
|
54
|
-
p: 0,
|
|
55
|
-
pl: 2
|
|
56
|
-
},
|
|
57
|
-
component: "ul",
|
|
58
|
-
children: d.map((e) => /* @__PURE__ */ n(a, {
|
|
59
|
-
component: "li",
|
|
60
|
-
sx: {
|
|
61
|
-
p: 0,
|
|
62
|
-
display: "list-item",
|
|
63
|
-
listStyleType: "disc",
|
|
64
|
-
maxWidth: 472,
|
|
65
|
-
mx: "auto"
|
|
66
|
-
},
|
|
67
|
-
children: [
|
|
68
|
-
/* @__PURE__ */ n(o, {
|
|
69
|
-
variant: "body1",
|
|
70
|
-
fontWeight: 400,
|
|
71
|
-
mb: e.list || e.description2 ? 3 : 0,
|
|
72
|
-
children: [/* @__PURE__ */ n(o, {
|
|
73
|
-
component: "span",
|
|
74
|
-
variant: "body1",
|
|
75
|
-
fontWeight: 600,
|
|
76
|
-
children: [e.title, " "]
|
|
77
|
-
}), e.description]
|
|
78
|
-
}),
|
|
79
|
-
e.description2 && /* @__PURE__ */ t(o, {
|
|
80
|
-
variant: "body1",
|
|
81
|
-
fontWeight: 400,
|
|
82
|
-
mb: e.list ? 3 : 0,
|
|
83
|
-
children: e.description2
|
|
84
|
-
}),
|
|
85
|
-
e.list && /* @__PURE__ */ n(o, {
|
|
86
|
-
variant: "body1",
|
|
87
|
-
fontWeight: 600,
|
|
88
|
-
children: [e.list.listTitle, e.list.listItems.map((e) => /* @__PURE__ */ t(o, {
|
|
89
|
-
variant: "body1",
|
|
90
|
-
component: "span",
|
|
91
|
-
display: "block",
|
|
92
|
-
fontWeight: 400,
|
|
93
|
-
children: e.text
|
|
94
|
-
}, e.id))]
|
|
95
|
-
})
|
|
96
|
-
]
|
|
97
|
-
}, e.id))
|
|
98
|
-
})]
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
//#endregion
|
|
102
|
-
export { c as FinanceHowItWorks };
|
|
1
|
+
import "./index579.js";
|
|
@@ -1,66 +1,60 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
})
|
|
62
|
-
]
|
|
63
|
-
}) : null;
|
|
64
|
-
};
|
|
65
|
-
//#endregion
|
|
66
|
-
export { p as FinanceIntegrationCard };
|
|
1
|
+
import "./index52.js";
|
|
2
|
+
import "./index119.js";
|
|
3
|
+
import "./index234.js";
|
|
4
|
+
import "./index235.js";
|
|
5
|
+
import "./index244.js";
|
|
6
|
+
import "./index257.js";
|
|
7
|
+
import "./index258.js";
|
|
8
|
+
import "./index260.js";
|
|
9
|
+
import "./index262.js";
|
|
10
|
+
import "./index313.js";
|
|
11
|
+
import "./index328.js";
|
|
12
|
+
import "./index330.js";
|
|
13
|
+
import "./index331.js";
|
|
14
|
+
import "./index347.js";
|
|
15
|
+
import "./index349.js";
|
|
16
|
+
import "./index352.js";
|
|
17
|
+
import "./index353.js";
|
|
18
|
+
import "./index354.js";
|
|
19
|
+
import "./index355.js";
|
|
20
|
+
import "./index356.js";
|
|
21
|
+
import "./index357.js";
|
|
22
|
+
import "./index358.js";
|
|
23
|
+
import "./index359.js";
|
|
24
|
+
import "./index360.js";
|
|
25
|
+
import "./index361.js";
|
|
26
|
+
import "./index362.js";
|
|
27
|
+
import "./index363.js";
|
|
28
|
+
import "./index364.js";
|
|
29
|
+
import "./index365.js";
|
|
30
|
+
import "./index366.js";
|
|
31
|
+
import "./index367.js";
|
|
32
|
+
import "./index368.js";
|
|
33
|
+
import "./index369.js";
|
|
34
|
+
import "./index370.js";
|
|
35
|
+
import "./index416.js";
|
|
36
|
+
import "./index429.js";
|
|
37
|
+
import "./index434.js";
|
|
38
|
+
import "./index440.js";
|
|
39
|
+
import "./index445.js";
|
|
40
|
+
import "./index446.js";
|
|
41
|
+
import "./index505.js";
|
|
42
|
+
import "./index536.js";
|
|
43
|
+
import "./index537.js";
|
|
44
|
+
import "./index544.js";
|
|
45
|
+
import "./index548.js";
|
|
46
|
+
import "./index549.js";
|
|
47
|
+
import "./index550.js";
|
|
48
|
+
import "./index563.js";
|
|
49
|
+
import "./index569.js";
|
|
50
|
+
import "./index571.js";
|
|
51
|
+
import "./index576.js";
|
|
52
|
+
import "./index578.js";
|
|
53
|
+
import "./index579.js";
|
|
54
|
+
import "./index263.js";
|
|
55
|
+
import "./index332.js";
|
|
56
|
+
import "./index350.js";
|
|
57
|
+
import "./index435.js";
|
|
58
|
+
import "./index538.js";
|
|
59
|
+
import "./index551.js";
|
|
60
|
+
import "./index580.js";
|
|
@@ -1,57 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import { Dialog as n } from "./index234.js";
|
|
5
|
-
import "./index235.js";
|
|
6
|
-
import { useGetFinancedInvoices as r } from "./index573.js";
|
|
7
|
-
import "./index574.js";
|
|
8
|
-
import { FinancedInvoiceStatusChip as i } from "./index577.js";
|
|
9
|
-
import { FinanceDetails as a } from "./index578.js";
|
|
10
|
-
import { useState as o } from "react";
|
|
11
|
-
import { Fragment as s, jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
12
|
-
import { Box as u, Skeleton as d, Typography as f, useTheme as p } from "@mui/material";
|
|
13
|
-
import { useLingui as m } from "@lingui/react";
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Toaster as t } from "react-hot-toast";
|
|
3
|
+
import { useTheme as n } from "@mui/material";
|
|
14
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js
|
|
15
|
-
var
|
|
16
|
-
let
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
alignItems: "center",
|
|
31
|
-
justifyContent: "space-between",
|
|
32
|
-
border: `1px solid ${v.palette.divider}`,
|
|
33
|
-
cursor: "pointer"
|
|
5
|
+
var r = () => {
|
|
6
|
+
let r = n();
|
|
7
|
+
return /* @__PURE__ */ e(t, {
|
|
8
|
+
toastOptions: {
|
|
9
|
+
className: "ttw:[&>[role=status]]:min-w-0",
|
|
10
|
+
style: {
|
|
11
|
+
padding: "8px 12px",
|
|
12
|
+
borderRadius: "4px",
|
|
13
|
+
fontFamily: r.typography.body1.fontFamily,
|
|
14
|
+
fontWeight: 500,
|
|
15
|
+
fontSize: "14px",
|
|
16
|
+
lineHeight: "20px",
|
|
17
|
+
background: r.palette.grey[900],
|
|
18
|
+
color: r.palette.grey[50]
|
|
19
|
+
}
|
|
34
20
|
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}) })]
|
|
45
|
-
}), /* @__PURE__ */ c(n, {
|
|
46
|
-
open: b,
|
|
47
|
-
onClose: () => x(!1),
|
|
48
|
-
alignDialog: "right",
|
|
49
|
-
children: /* @__PURE__ */ c(a, {
|
|
50
|
-
invoice: h,
|
|
51
|
-
offers: g?.offers,
|
|
52
|
-
financedInvoice: T
|
|
53
|
-
})
|
|
54
|
-
})] });
|
|
21
|
+
gutter: 8,
|
|
22
|
+
position: "bottom-left",
|
|
23
|
+
containerStyle: {
|
|
24
|
+
top: 40,
|
|
25
|
+
left: 40,
|
|
26
|
+
bottom: 40,
|
|
27
|
+
right: 40
|
|
28
|
+
}
|
|
29
|
+
});
|
|
55
30
|
};
|
|
56
31
|
//#endregion
|
|
57
|
-
export {
|
|
32
|
+
export { r as GlobalToast };
|