@tesouro/embedded-components-react 0.7.30 → 0.7.31
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 +0 -1
- package/dist/lib/monite-sdk.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +41 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +55 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +36 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +71 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +6 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +79 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +42 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +0 -577
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +160 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +0 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +10 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +120 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +21 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +6 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +35 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +56 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +69 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +25 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +181 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +64 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +31 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +6 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +42 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +111 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +62 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +38 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +6 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +359 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +1 -412
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +182 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +96 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +44 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +44 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +48 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +82 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +7 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +305 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +1 -307
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +160 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +3 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +102 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +172 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +116 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +191 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +11 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +138 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +1 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +166 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +25 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +5 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +26 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +100 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +42 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +27 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +1 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +166 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +202 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +87 -207
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +17 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +87 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +42 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +131 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +4 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +31 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +11 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +180 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +14 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +204 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +88 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +61 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +54 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +83 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +40 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +71 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +32 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +97 -2
- 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/monite-sdk/dist/index418.js +0 -97
|
@@ -1,77 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { Dialog as e } from "./index122.js";
|
|
2
|
+
import "./index123.js";
|
|
3
|
+
import { FinanceFaqDetails as t } from "./index379.js";
|
|
4
|
+
import { useState as n } from "react";
|
|
5
|
+
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
4
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js
|
|
5
|
-
var o =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: 3,
|
|
18
|
-
question: "When should I expect to receive a loan offer?",
|
|
19
|
-
answer: "Once you are enrolled into the program, we will be actively analyzing your financials and creating pre-approved offers that work best for your business needs. We do this to help you avoid debt trap. Loan offers are usually provided within less than 48 hours."
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
id: 4,
|
|
23
|
-
question: "How do I repay the loan?",
|
|
24
|
-
answer: "At the moment we support monthly loan repayment once you agree to the loan payment schedule. A fixed amount will be automatically deducted from the bank you linked during the onboarding.In the near future, you can also choose to pay back the loan as a fixed percentage of your daily sales until the loan is fully repaid."
|
|
25
|
-
}
|
|
26
|
-
], s = () => {
|
|
27
|
-
let { i18n: s } = a();
|
|
28
|
-
return /* @__PURE__ */ t(n, {
|
|
29
|
-
p: 4,
|
|
30
|
-
children: [
|
|
31
|
-
/* @__PURE__ */ t(n, { children: [/* @__PURE__ */ e(i, {
|
|
32
|
-
variant: "h3",
|
|
33
|
-
children: s._("Simplified, fast funding for your growing business")
|
|
34
|
-
}), /* @__PURE__ */ e(i, {
|
|
35
|
-
variant: "subtitle2",
|
|
36
|
-
mt: 2,
|
|
37
|
-
children: s._("Get your business moving and accelerate growth with quick and easy access to funding. Multiple options available.")
|
|
38
|
-
})] }),
|
|
39
|
-
/* @__PURE__ */ t(n, {
|
|
40
|
-
mt: 5,
|
|
41
|
-
children: [/* @__PURE__ */ e(i, {
|
|
42
|
-
mb: 1,
|
|
43
|
-
variant: "h3",
|
|
44
|
-
children: s._("FAQ")
|
|
45
|
-
}), o.map((r) => /* @__PURE__ */ t(n, {
|
|
46
|
-
mt: 3,
|
|
47
|
-
children: [/* @__PURE__ */ e(i, {
|
|
48
|
-
variant: "subtitle2",
|
|
49
|
-
children: s._("{faqQuestion}", { faqQuestion: r.question })
|
|
50
|
-
}), /* @__PURE__ */ e(i, {
|
|
51
|
-
variant: "body1",
|
|
52
|
-
mt: 1,
|
|
53
|
-
children: s._("{faqAnswer}", { faqAnswer: r.answer })
|
|
54
|
-
})]
|
|
55
|
-
}, r.id))]
|
|
56
|
-
}),
|
|
57
|
-
/* @__PURE__ */ e(n, {
|
|
58
|
-
mt: 5,
|
|
59
|
-
children: /* @__PURE__ */ t(i, {
|
|
60
|
-
variant: "body2",
|
|
61
|
-
children: [
|
|
62
|
-
s._("All loans are subject to credit approval. Your terms may vary. Flourish Capital loans are issued by Kanmon. California Loans are made pursuant to a Department of Financial Protection and Innovation California Lenders Law License. Read more about Kanmon"),
|
|
63
|
-
" ",
|
|
64
|
-
/* @__PURE__ */ e(r, {
|
|
65
|
-
target: "_blank",
|
|
66
|
-
rel: "noopener noreferrer",
|
|
67
|
-
href: "https://kanmon.com",
|
|
68
|
-
children: s._("here.")
|
|
69
|
-
})
|
|
70
|
-
]
|
|
71
|
-
})
|
|
72
|
-
})
|
|
73
|
-
]
|
|
74
|
-
});
|
|
7
|
+
var o = ({ children: o }) => {
|
|
8
|
+
let [s, c] = n(!1);
|
|
9
|
+
return /* @__PURE__ */ a(r, { children: [o({ openModal: () => {
|
|
10
|
+
c(!0);
|
|
11
|
+
} }), /* @__PURE__ */ i(e, {
|
|
12
|
+
open: s,
|
|
13
|
+
onClose: () => c(!1),
|
|
14
|
+
alignDialog: "right",
|
|
15
|
+
children: /* @__PURE__ */ i(t, {})
|
|
16
|
+
})] });
|
|
75
17
|
};
|
|
76
18
|
//#endregion
|
|
77
|
-
export {
|
|
19
|
+
export { o as FinanceFaqWrapper };
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import { FinanceFaqDetails as t } from "./index380.js";
|
|
4
|
-
import { useState as n } from "react";
|
|
5
|
-
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Box as t, useTheme as n } from "@mui/material";
|
|
6
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js
|
|
7
|
-
var
|
|
8
|
-
let
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
var r = ({ progress: r }) => {
|
|
5
|
+
let i = n();
|
|
6
|
+
return /* @__PURE__ */ e(t, {
|
|
7
|
+
sx: {
|
|
8
|
+
backgroundColor: i.palette.divider,
|
|
9
|
+
width: "100%",
|
|
10
|
+
height: "6px",
|
|
11
|
+
borderRadius: .5
|
|
12
|
+
},
|
|
13
|
+
children: /* @__PURE__ */ e(t, { sx: {
|
|
14
|
+
backgroundColor: i.palette.primary.main,
|
|
15
|
+
width: `${r}%`,
|
|
16
|
+
height: "6px",
|
|
17
|
+
borderRadius: .5
|
|
18
|
+
} })
|
|
19
|
+
});
|
|
17
20
|
};
|
|
18
21
|
//#endregion
|
|
19
|
-
export {
|
|
22
|
+
export { r as FinanceProgressBar };
|
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Box as t, useTheme as n } from "@mui/material";
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js
|
|
4
|
-
var
|
|
5
|
-
let
|
|
6
|
-
return
|
|
7
|
-
sx: {
|
|
8
|
-
backgroundColor: i.palette.divider,
|
|
9
|
-
width: "100%",
|
|
10
|
-
height: "6px",
|
|
11
|
-
borderRadius: .5
|
|
12
|
-
},
|
|
13
|
-
children: /* @__PURE__ */ e(t, { sx: {
|
|
14
|
-
backgroundColor: i.palette.primary.main,
|
|
15
|
-
width: `${r}%`,
|
|
16
|
-
height: "6px",
|
|
17
|
-
borderRadius: .5
|
|
18
|
-
} })
|
|
19
|
-
});
|
|
3
|
+
var t = () => {
|
|
4
|
+
let { api: t } = e();
|
|
5
|
+
return t.finops.getFinancingOffers.useQuery();
|
|
20
6
|
};
|
|
21
7
|
//#endregion
|
|
22
|
-
export {
|
|
8
|
+
export { t as useGetFinanceOffers };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { toast as t } from "react-hot-toast";
|
|
3
|
+
import { useLingui as n } from "@lingui/react";
|
|
2
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js
|
|
3
|
-
var
|
|
4
|
-
let { api:
|
|
5
|
-
return
|
|
5
|
+
var r = () => {
|
|
6
|
+
let { api: r } = e(), { i18n: i } = n();
|
|
7
|
+
return r.finops.postFinancingTokens.useMutation({}, { onError: () => {
|
|
8
|
+
t.error(i._("The financing service is currently unavailable. Please reload the page or try again later."));
|
|
9
|
+
} });
|
|
6
10
|
};
|
|
7
11
|
//#endregion
|
|
8
|
-
export {
|
|
12
|
+
export { r as useGetFinancingConnectToken };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import "./index129.js";
|
|
2
|
+
import { createContext as e, useContext as t } from "react";
|
|
3
|
+
import "@emotion/react/jsx-runtime";
|
|
4
|
+
import "@lingui/react";
|
|
4
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
6
|
+
var n = e(null);
|
|
7
|
+
function r() {
|
|
8
|
+
let e = t(n);
|
|
9
|
+
if (!e) throw Error("Could not find KanmonContext. Make sure that you are using \"MoniteProvider\" component before calling this hook.");
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
11
12
|
//#endregion
|
|
12
|
-
export { r as
|
|
13
|
+
export { n as KanmonContext, r as useKanmonContext };
|
|
@@ -1,13 +1,133 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useMyEntity as t } from "./index143.js";
|
|
3
|
+
import "./index148.js";
|
|
4
|
+
import { useComponentSettings as n } from "./index171.js";
|
|
5
|
+
import "./index173.js";
|
|
6
|
+
import { useKanmonContext as r } from "./index384.js";
|
|
7
|
+
import { useGetFinanceOffers as i } from "./index382.js";
|
|
8
|
+
import { useGetFinancingConnectToken as a } from "./index383.js";
|
|
9
|
+
import { useEffect as o, useState as s } from "react";
|
|
10
|
+
import { useLingui as c } from "@lingui/react";
|
|
11
|
+
import l from "react-script-hook";
|
|
5
12
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
var u = "https://cdn.sandbox.kanmon.dev/scripts/v2/kanmon-connect.js", d = "https://cdn.kanmon.dev/scripts/v2/kanmon-connect.js", f = {
|
|
14
|
+
INIT: "init",
|
|
15
|
+
IN_PROGRESS: "in_progress",
|
|
16
|
+
PENDING_APPROVAL: "pending_approval",
|
|
17
|
+
NO_OFFERS_AVAILABLE: "no_offers",
|
|
18
|
+
SERVICING: "servicing",
|
|
19
|
+
APPROVED: "approved",
|
|
20
|
+
OFFER_ACCEPTED: "offer_accepted",
|
|
21
|
+
OFFERS_EXPIRED: "offers_expired"
|
|
22
|
+
}, p = () => {
|
|
23
|
+
let { apiUrl: p, api: m, queryClient: h, entityId: g } = e(), { isKanmonInitialized: _, toggleKanmon: v, handleButtonText: y, buttonText: b } = r(), { onboardingCallbacks: x } = n(), { i18n: S } = c(), C = a(), { data: w } = i(), { isUSEntity: T } = t(), E = (() => {
|
|
24
|
+
switch (w?.business_status) {
|
|
25
|
+
case "NEW":
|
|
26
|
+
default: return f.INIT;
|
|
27
|
+
case "INPUT_REQUIRED": return f.IN_PROGRESS;
|
|
28
|
+
case "ONBOARDED": return w?.offers?.length === 0 ? f.PENDING_APPROVAL : w?.offers?.[0]?.status === "NEW" ? f.APPROVED : w?.offers?.[0]?.status === "EXPIRED" ? f.OFFERS_EXPIRED : w?.offers?.[0]?.status === "ACCEPTED" ? f.OFFER_ACCEPTED : f.SERVICING;
|
|
29
|
+
}
|
|
30
|
+
})(), D = (() => {
|
|
31
|
+
try {
|
|
32
|
+
let e = new URL(p);
|
|
33
|
+
return !["api.dev.monite.com", "api.sandbox.monite.com"].includes(e.hostname);
|
|
34
|
+
} catch {
|
|
35
|
+
return !0;
|
|
36
|
+
}
|
|
37
|
+
})() ? d : u, [O] = l({ src: D }), [k, A] = s(!1), j = (e) => {
|
|
38
|
+
let t = {
|
|
39
|
+
type: "receivable",
|
|
40
|
+
status: "NEW",
|
|
41
|
+
invoice_id: e?.platformInvoiceId,
|
|
42
|
+
document_id: e?.platformInvoiceNumber,
|
|
43
|
+
due_date: e?.invoiceDueDate,
|
|
44
|
+
issue_date: e?.invoiceIssuedDate,
|
|
45
|
+
total_amount: e?.invoiceAmountCents,
|
|
46
|
+
currency: "USD",
|
|
47
|
+
payer_type: e?.payorType,
|
|
48
|
+
payer_business_name: e?.payorBusinessName,
|
|
49
|
+
payer_first_name: e?.payorFirstName,
|
|
50
|
+
payer_last_name: e?.payorLastName,
|
|
51
|
+
requested_amount: e?.amountRequestedForFinancingCents,
|
|
52
|
+
principal_amount: e?.principalAmountCents,
|
|
53
|
+
repayment_amount: e?.repaymentAmountCents,
|
|
54
|
+
advance_amount: e?.invoiceAdvanceAmountCents,
|
|
55
|
+
advance_rate_percentage: e?.advanceRatePercentage * 100,
|
|
56
|
+
fee_amount: e?.feeAmountCents,
|
|
57
|
+
fee_percentage: e?.transactionFeePercentage * 100,
|
|
58
|
+
repayment_schedule: {
|
|
59
|
+
repayment_date: e?.repaymentSchedule?.schedule?.[0]?.repaymentDate,
|
|
60
|
+
repayment_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentAmountCents,
|
|
61
|
+
repayment_fee_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentFeeAmountCents,
|
|
62
|
+
repayment_principal_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentPrincipalAmountCents
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
m.finops.getFinancingInvoices.setQueryData(m.finops.getFinancingInvoices.getQueryKey({ query: {
|
|
66
|
+
type: "receivable",
|
|
67
|
+
invoice_id: e?.platformInvoiceId
|
|
68
|
+
} }), (e) => ({
|
|
69
|
+
...e,
|
|
70
|
+
data: [t]
|
|
71
|
+
}), h), m.finops.getFinancingInvoices.setQueryData(m.finops.getFinancingInvoices.getQueryKey({ query: {} }), (e) => {
|
|
72
|
+
let n = e?.data ? e.data : [];
|
|
73
|
+
return {
|
|
74
|
+
...e,
|
|
75
|
+
data: [t, ...n]
|
|
76
|
+
};
|
|
77
|
+
}, h);
|
|
78
|
+
}, M = ({ connectToken: e }) => {
|
|
79
|
+
window?.KANMON_CONNECT?.start({
|
|
80
|
+
connectToken: e,
|
|
81
|
+
onEvent: (e) => {
|
|
82
|
+
if (e.eventType === "USER_STATE_CHANGED" || e.eventType === "USER_CONFIRMED_INVOICE") {
|
|
83
|
+
if (e.eventType === "USER_CONFIRMED_INVOICE") j(e.data.invoice);
|
|
84
|
+
else {
|
|
85
|
+
switch (e.data.userState) {
|
|
86
|
+
case "START_FLOW":
|
|
87
|
+
y(S._("Apply for financing"));
|
|
88
|
+
break;
|
|
89
|
+
case "USER_INPUT_REQUIRED":
|
|
90
|
+
e.data.section === "OFFER" ? y(S._("Review terms and sign")) : y(S._("Resume application"));
|
|
91
|
+
break;
|
|
92
|
+
case "WAITING_FOR_OFFERS":
|
|
93
|
+
y(""), (w?.business_status === "INPUT_REQUIRED" || w?.business_status === "NEW") && x.onWorkingCapitalOnboardingComplete?.(g);
|
|
94
|
+
break;
|
|
95
|
+
case "OFFERS_EXPIRED":
|
|
96
|
+
case "NO_OFFERS_EXTENDED":
|
|
97
|
+
y("");
|
|
98
|
+
break;
|
|
99
|
+
case "SERVICING":
|
|
100
|
+
y(S._("Financing menu")), w?.business_status === "ONBOARDED" && w?.offers?.[0]?.status === "NEW" && window.localStorage.setItem("isFinanceTabNew", "true");
|
|
101
|
+
break;
|
|
102
|
+
case "VIEW_OFFERS":
|
|
103
|
+
case "OFFER_ACCEPTED": y(S._("Review terms and sign"));
|
|
104
|
+
}
|
|
105
|
+
m.finops.getFinancingOffers.invalidateQueries(h);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
o(() => {
|
|
112
|
+
!_ && !O && T && (async () => {
|
|
113
|
+
A(!0);
|
|
114
|
+
try {
|
|
115
|
+
let e = await C.mutateAsync();
|
|
116
|
+
M({ connectToken: e.connect_token }), v(!0);
|
|
117
|
+
} catch {} finally {
|
|
118
|
+
A(!1);
|
|
119
|
+
}
|
|
120
|
+
})();
|
|
121
|
+
}, [O, T]);
|
|
122
|
+
let N = O || k, P = T, F = w?.business_status === "ONBOARDED" && w?.offers?.[0]?.status === "CURRENT";
|
|
123
|
+
return {
|
|
124
|
+
buttonText: b,
|
|
125
|
+
applicationState: E,
|
|
126
|
+
offer: w?.offers?.[0],
|
|
127
|
+
isLoading: N,
|
|
128
|
+
isEnabled: P,
|
|
129
|
+
isServicing: F
|
|
130
|
+
};
|
|
131
|
+
};
|
|
12
132
|
//#endregion
|
|
13
|
-
export {
|
|
133
|
+
export { f as FinancialApplicationState, p as useFinancing };
|
|
@@ -1,133 +1,8 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
-
import { useMyEntity as t } from "./index143.js";
|
|
3
|
-
import "./index148.js";
|
|
4
|
-
import { useComponentSettings as n } from "./index171.js";
|
|
5
|
-
import "./index173.js";
|
|
6
|
-
import { useKanmonContext as r } from "./index385.js";
|
|
7
|
-
import { useGetFinanceOffers as i } from "./index383.js";
|
|
8
|
-
import { useGetFinancingConnectToken as a } from "./index384.js";
|
|
9
|
-
import { useEffect as o, useState as s } from "react";
|
|
10
|
-
import { useLingui as c } from "@lingui/react";
|
|
11
|
-
import l from "react-script-hook";
|
|
12
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
PENDING_APPROVAL: "pending_approval",
|
|
17
|
-
NO_OFFERS_AVAILABLE: "no_offers",
|
|
18
|
-
SERVICING: "servicing",
|
|
19
|
-
APPROVED: "approved",
|
|
20
|
-
OFFER_ACCEPTED: "offer_accepted",
|
|
21
|
-
OFFERS_EXPIRED: "offers_expired"
|
|
22
|
-
}, p = () => {
|
|
23
|
-
let { apiUrl: p, api: m, queryClient: h, entityId: g } = e(), { isKanmonInitialized: _, toggleKanmon: v, handleButtonText: y, buttonText: b } = r(), { onboardingCallbacks: x } = n(), { i18n: S } = c(), C = a(), { data: w } = i(), { isUSEntity: T } = t(), E = (() => {
|
|
24
|
-
switch (w?.business_status) {
|
|
25
|
-
case "NEW":
|
|
26
|
-
default: return f.INIT;
|
|
27
|
-
case "INPUT_REQUIRED": return f.IN_PROGRESS;
|
|
28
|
-
case "ONBOARDED": return w?.offers?.length === 0 ? f.PENDING_APPROVAL : w?.offers?.[0]?.status === "NEW" ? f.APPROVED : w?.offers?.[0]?.status === "EXPIRED" ? f.OFFERS_EXPIRED : w?.offers?.[0]?.status === "ACCEPTED" ? f.OFFER_ACCEPTED : f.SERVICING;
|
|
29
|
-
}
|
|
30
|
-
})(), D = (() => {
|
|
31
|
-
try {
|
|
32
|
-
let e = new URL(p);
|
|
33
|
-
return !["api.dev.monite.com", "api.sandbox.monite.com"].includes(e.hostname);
|
|
34
|
-
} catch {
|
|
35
|
-
return !0;
|
|
36
|
-
}
|
|
37
|
-
})() ? d : u, [O] = l({ src: D }), [k, A] = s(!1), j = (e) => {
|
|
38
|
-
let t = {
|
|
39
|
-
type: "receivable",
|
|
40
|
-
status: "NEW",
|
|
41
|
-
invoice_id: e?.platformInvoiceId,
|
|
42
|
-
document_id: e?.platformInvoiceNumber,
|
|
43
|
-
due_date: e?.invoiceDueDate,
|
|
44
|
-
issue_date: e?.invoiceIssuedDate,
|
|
45
|
-
total_amount: e?.invoiceAmountCents,
|
|
46
|
-
currency: "USD",
|
|
47
|
-
payer_type: e?.payorType,
|
|
48
|
-
payer_business_name: e?.payorBusinessName,
|
|
49
|
-
payer_first_name: e?.payorFirstName,
|
|
50
|
-
payer_last_name: e?.payorLastName,
|
|
51
|
-
requested_amount: e?.amountRequestedForFinancingCents,
|
|
52
|
-
principal_amount: e?.principalAmountCents,
|
|
53
|
-
repayment_amount: e?.repaymentAmountCents,
|
|
54
|
-
advance_amount: e?.invoiceAdvanceAmountCents,
|
|
55
|
-
advance_rate_percentage: e?.advanceRatePercentage * 100,
|
|
56
|
-
fee_amount: e?.feeAmountCents,
|
|
57
|
-
fee_percentage: e?.transactionFeePercentage * 100,
|
|
58
|
-
repayment_schedule: {
|
|
59
|
-
repayment_date: e?.repaymentSchedule?.schedule?.[0]?.repaymentDate,
|
|
60
|
-
repayment_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentAmountCents,
|
|
61
|
-
repayment_fee_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentFeeAmountCents,
|
|
62
|
-
repayment_principal_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentPrincipalAmountCents
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
m.finops.getFinancingInvoices.setQueryData(m.finops.getFinancingInvoices.getQueryKey({ query: {
|
|
66
|
-
type: "receivable",
|
|
67
|
-
invoice_id: e?.platformInvoiceId
|
|
68
|
-
} }), (e) => ({
|
|
69
|
-
...e,
|
|
70
|
-
data: [t]
|
|
71
|
-
}), h), m.finops.getFinancingInvoices.setQueryData(m.finops.getFinancingInvoices.getQueryKey({ query: {} }), (e) => {
|
|
72
|
-
let n = e?.data ? e.data : [];
|
|
73
|
-
return {
|
|
74
|
-
...e,
|
|
75
|
-
data: [t, ...n]
|
|
76
|
-
};
|
|
77
|
-
}, h);
|
|
78
|
-
}, M = ({ connectToken: e }) => {
|
|
79
|
-
window?.KANMON_CONNECT?.start({
|
|
80
|
-
connectToken: e,
|
|
81
|
-
onEvent: (e) => {
|
|
82
|
-
if (e.eventType === "USER_STATE_CHANGED" || e.eventType === "USER_CONFIRMED_INVOICE") {
|
|
83
|
-
if (e.eventType === "USER_CONFIRMED_INVOICE") j(e.data.invoice);
|
|
84
|
-
else {
|
|
85
|
-
switch (e.data.userState) {
|
|
86
|
-
case "START_FLOW":
|
|
87
|
-
y(S._("Apply for financing"));
|
|
88
|
-
break;
|
|
89
|
-
case "USER_INPUT_REQUIRED":
|
|
90
|
-
e.data.section === "OFFER" ? y(S._("Review terms and sign")) : y(S._("Resume application"));
|
|
91
|
-
break;
|
|
92
|
-
case "WAITING_FOR_OFFERS":
|
|
93
|
-
y(""), (w?.business_status === "INPUT_REQUIRED" || w?.business_status === "NEW") && x.onWorkingCapitalOnboardingComplete?.(g);
|
|
94
|
-
break;
|
|
95
|
-
case "OFFERS_EXPIRED":
|
|
96
|
-
case "NO_OFFERS_EXTENDED":
|
|
97
|
-
y("");
|
|
98
|
-
break;
|
|
99
|
-
case "SERVICING":
|
|
100
|
-
y(S._("Financing menu")), w?.business_status === "ONBOARDED" && w?.offers?.[0]?.status === "NEW" && window.localStorage.setItem("isFinanceTabNew", "true");
|
|
101
|
-
break;
|
|
102
|
-
case "VIEW_OFFERS":
|
|
103
|
-
case "OFFER_ACCEPTED": y(S._("Review terms and sign"));
|
|
104
|
-
}
|
|
105
|
-
m.finops.getFinancingOffers.invalidateQueries(h);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
};
|
|
111
|
-
o(() => {
|
|
112
|
-
!_ && !O && T && (async () => {
|
|
113
|
-
A(!0);
|
|
114
|
-
try {
|
|
115
|
-
let e = await C.mutateAsync();
|
|
116
|
-
M({ connectToken: e.connect_token }), v(!0);
|
|
117
|
-
} catch {} finally {
|
|
118
|
-
A(!1);
|
|
119
|
-
}
|
|
120
|
-
})();
|
|
121
|
-
}, [O, T]);
|
|
122
|
-
let N = O || k, P = T, F = w?.business_status === "ONBOARDED" && w?.offers?.[0]?.status === "CURRENT";
|
|
123
|
-
return {
|
|
124
|
-
buttonText: b,
|
|
125
|
-
applicationState: E,
|
|
126
|
-
offer: w?.offers?.[0],
|
|
127
|
-
isLoading: N,
|
|
128
|
-
isEnabled: P,
|
|
129
|
-
isServicing: F
|
|
130
|
-
};
|
|
3
|
+
var t = () => {
|
|
4
|
+
let { api: t } = e();
|
|
5
|
+
return t.finops.postFinancingInvoices.useMutation({}, { onError: () => {} });
|
|
131
6
|
};
|
|
132
7
|
//#endregion
|
|
133
|
-
export {
|
|
8
|
+
export { t as useFinanceAnInvoice };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index45.js";
|
|
2
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js
|
|
3
|
-
var t = () => {
|
|
4
|
-
let { api:
|
|
5
|
-
return
|
|
3
|
+
var t = (t, n = !0) => {
|
|
4
|
+
let { api: r } = e();
|
|
5
|
+
return r.finops.getFinancingInvoices.useQuery({ query: t }, { enabled: n });
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
|
-
export { t as
|
|
8
|
+
export { t as useGetFinancedInvoices };
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { t as useGetFinancedInvoices };
|
|
1
|
+
import "./index382.js";
|
|
2
|
+
import "./index383.js";
|
|
3
|
+
import "./index385.js";
|
|
4
|
+
import "./index386.js";
|
|
5
|
+
import "./index387.js";
|