@tesouro/embedded-components-react 0.7.59 → 0.7.61
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/README.md +2 -3
- package/dist/index.css +0 -15
- package/dist/lib/monite-sdk.d.ts +2 -163
- package/dist/lib/monite-sdk.js +41 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +45 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +174 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +3 -1224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +55 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +73 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +41 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +69 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +168 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +6 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +65 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +77 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +57 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +39 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +562 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +23 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +10 -567
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +16 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +69 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +40 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +51 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +58 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +28 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +40 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +77 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +48 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +81 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +111 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +12 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +73 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +124 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +54 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +5 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +15 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +62 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +73 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +22 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +59 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +181 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +30 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +0 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +35 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +16 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +81 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +98 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +42 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +104 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +37 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +171 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +11 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +67 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +203 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +87 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +19 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +157 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +100 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +43 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +77 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +18 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +31 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +34 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +73 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +184 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +14 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +203 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +99 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +64 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +54 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +91 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +33 -174
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +77 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +80 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +22 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +31 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +23 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +31 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +10 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +30 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +72 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +50 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +46 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +14 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +63 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +38 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +50 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +23 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +71 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +79 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +8 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +16 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +3 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +56 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +37 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +104 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +53 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +50 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +49 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +14 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +150 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1224 -1
- 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/index269.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +0 -2
|
@@ -1,222 +1,16 @@
|
|
|
1
|
-
import { useCurrencies as e } from "./index66.js";
|
|
2
|
-
import "./index79.js";
|
|
3
|
-
import { MoniteScopedProviders as t } from "./index150.js";
|
|
4
|
-
import { FinanceBannerWrapper as n } from "./index235.js";
|
|
5
|
-
import { FinanceFaqWrapper as r } from "./index237.js";
|
|
6
|
-
import { FinanceProgressBar as i } from "./index238.js";
|
|
7
|
-
import { useKanmonContext as a } from "./index241.js";
|
|
8
|
-
import { FinancialApplicationState as o, useFinancing as s } from "./index242.js";
|
|
9
|
-
import "./index245.js";
|
|
10
|
-
import { useState as c } from "react";
|
|
11
|
-
import { Fragment as l, jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
12
|
-
import { Box as f, Button as p, CircularProgress as m, Stack as h, Typography as g, useMediaQuery as _, useTheme as v } from "@mui/material";
|
|
13
|
-
import { useLingui as y } from "@lingui/react";
|
|
14
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
justifyContent: "space-between",
|
|
29
|
-
gap: 2,
|
|
30
|
-
width: "100%",
|
|
31
|
-
height: "100%",
|
|
32
|
-
children: [/* @__PURE__ */ u(f, {
|
|
33
|
-
sx: {
|
|
34
|
-
width: "100%",
|
|
35
|
-
display: "flex",
|
|
36
|
-
gap: 2,
|
|
37
|
-
flex: "1 1 0%",
|
|
38
|
-
alignItems: E && !B ? "flex-start" : "center"
|
|
39
|
-
},
|
|
40
|
-
children: /* @__PURE__ */ u(f, {
|
|
41
|
-
sx: { flex: "1 1 0%" },
|
|
42
|
-
children: (() => {
|
|
43
|
-
switch (j) {
|
|
44
|
-
case o.INIT:
|
|
45
|
-
case o.IN_PROGRESS:
|
|
46
|
-
default: return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(g, {
|
|
47
|
-
variant: "subtitle2",
|
|
48
|
-
sx: { fontSize: 20 },
|
|
49
|
-
children: C._("Fund your sales/purchases")
|
|
50
|
-
}), /* @__PURE__ */ d(g, {
|
|
51
|
-
variant: "body1",
|
|
52
|
-
children: [
|
|
53
|
-
C._("Get a small business loan plan to manage finances more efficiently."),
|
|
54
|
-
" ",
|
|
55
|
-
/* @__PURE__ */ u(r, { children: ({ openModal: e }) => /* @__PURE__ */ u(g, {
|
|
56
|
-
onClick: e,
|
|
57
|
-
variant: "body1",
|
|
58
|
-
sx: {
|
|
59
|
-
textDecoration: "underline",
|
|
60
|
-
cursor: "pointer"
|
|
61
|
-
},
|
|
62
|
-
component: "span",
|
|
63
|
-
children: C._("Read more >")
|
|
64
|
-
}) })
|
|
65
|
-
]
|
|
66
|
-
})] });
|
|
67
|
-
case o.PENDING_APPROVAL: return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(g, {
|
|
68
|
-
variant: "subtitle2",
|
|
69
|
-
sx: { fontSize: 20 },
|
|
70
|
-
children: C._("Your application is in review")
|
|
71
|
-
}), /* @__PURE__ */ u(g, {
|
|
72
|
-
variant: "body1",
|
|
73
|
-
children: C._("It can take up to 48 hours. We'll notify you about the results.")
|
|
74
|
-
})] });
|
|
75
|
-
case o.APPROVED:
|
|
76
|
-
case o.OFFER_ACCEPTED: return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(g, {
|
|
77
|
-
variant: "subtitle2",
|
|
78
|
-
sx: { fontSize: 20 },
|
|
79
|
-
children: C._("Your application was approved")
|
|
80
|
-
}), /* @__PURE__ */ u(g, {
|
|
81
|
-
variant: "body1",
|
|
82
|
-
children: C._("Please, review the offered credit limit and approved financing plans.")
|
|
83
|
-
})] });
|
|
84
|
-
case o.NO_OFFERS_AVAILABLE: return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(g, {
|
|
85
|
-
variant: "subtitle2",
|
|
86
|
-
sx: { fontSize: 20 },
|
|
87
|
-
children: C._("A provider can’t offer you financing")
|
|
88
|
-
}), /* @__PURE__ */ u(g, {
|
|
89
|
-
variant: "body1",
|
|
90
|
-
children: C._("They will contact you if your credit score improves and you can reapply.")
|
|
91
|
-
})] });
|
|
92
|
-
case o.OFFERS_EXPIRED: return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(g, {
|
|
93
|
-
variant: "subtitle2",
|
|
94
|
-
sx: { fontSize: 20 },
|
|
95
|
-
children: C._("You haven’t accepted the offer and it has expired")
|
|
96
|
-
}), /* @__PURE__ */ u(g, {
|
|
97
|
-
variant: "body1",
|
|
98
|
-
children: C._("Please get in touch with the provider if you still wish to receive financing.")
|
|
99
|
-
})] });
|
|
100
|
-
case o.SERVICING: return /* @__PURE__ */ u(g, {
|
|
101
|
-
variant: "subtitle2",
|
|
102
|
-
sx: { fontSize: 20 },
|
|
103
|
-
children: C._("My financing")
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
})()
|
|
107
|
-
})
|
|
108
|
-
}), /* @__PURE__ */ d(h, {
|
|
109
|
-
width: E && !B ? "100%" : "auto",
|
|
110
|
-
direction: "row",
|
|
111
|
-
gap: 1,
|
|
112
|
-
alignItems: "center",
|
|
113
|
-
justifyContent: E && !B ? "flex-end" : "flex-start",
|
|
114
|
-
children: [B && S ? /* @__PURE__ */ u(p, {
|
|
115
|
-
onClick: S,
|
|
116
|
-
variant: "text",
|
|
117
|
-
children: C._("View details")
|
|
118
|
-
}) : /* @__PURE__ */ u(p, {
|
|
119
|
-
onClick: () => {
|
|
120
|
-
switch (z(!0), j) {
|
|
121
|
-
case o.IN_PROGRESS:
|
|
122
|
-
case o.APPROVED:
|
|
123
|
-
case o.PENDING_APPROVAL:
|
|
124
|
-
case o.OFFER_ACCEPTED:
|
|
125
|
-
sessionStorage.setItem(b, JSON.stringify({
|
|
126
|
-
isHidden: !0,
|
|
127
|
-
expires_at: null
|
|
128
|
-
}));
|
|
129
|
-
return;
|
|
130
|
-
case o.INIT:
|
|
131
|
-
localStorage.setItem(b, JSON.stringify({
|
|
132
|
-
isHidden: !0,
|
|
133
|
-
expires_at: (/* @__PURE__ */ new Date()).getTime() + x
|
|
134
|
-
}));
|
|
135
|
-
return;
|
|
136
|
-
case o.NO_OFFERS_AVAILABLE:
|
|
137
|
-
case o.OFFERS_EXPIRED:
|
|
138
|
-
default:
|
|
139
|
-
localStorage.setItem(b, JSON.stringify({
|
|
140
|
-
isHidden: !0,
|
|
141
|
-
expires_at: null
|
|
142
|
-
}));
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
variant: "text",
|
|
147
|
-
children: V ? C._("Hide") : C._("Close")
|
|
148
|
-
}), V && O && /* @__PURE__ */ u(p, {
|
|
149
|
-
onClick: () => {
|
|
150
|
-
w();
|
|
151
|
-
},
|
|
152
|
-
disabled: k,
|
|
153
|
-
variant: "contained",
|
|
154
|
-
color: "primary",
|
|
155
|
-
sx: {
|
|
156
|
-
px: 2.5,
|
|
157
|
-
py: 1.5,
|
|
158
|
-
height: 40
|
|
159
|
-
},
|
|
160
|
-
children: k ? /* @__PURE__ */ u(m, { size: 20 }) : O
|
|
161
|
-
})]
|
|
162
|
-
})]
|
|
163
|
-
}), B && /* @__PURE__ */ d(f, { children: [
|
|
164
|
-
L ? /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(g, {
|
|
165
|
-
variant: "body1",
|
|
166
|
-
children: C._("Remaining limit")
|
|
167
|
-
}), /* @__PURE__ */ d(f, {
|
|
168
|
-
display: "flex",
|
|
169
|
-
alignItems: "center",
|
|
170
|
-
justifyContent: "space-between",
|
|
171
|
-
gap: 1,
|
|
172
|
-
mb: 1,
|
|
173
|
-
children: [/* @__PURE__ */ d(f, {
|
|
174
|
-
display: "flex",
|
|
175
|
-
alignItems: "center",
|
|
176
|
-
gap: 1,
|
|
177
|
-
flexShrink: 0,
|
|
178
|
-
children: [/* @__PURE__ */ u(g, {
|
|
179
|
-
variant: "h2",
|
|
180
|
-
fontSize: 32,
|
|
181
|
-
children: D(F, "USD")
|
|
182
|
-
}), /* @__PURE__ */ d(g, {
|
|
183
|
-
component: "span",
|
|
184
|
-
variant: "subtitle1",
|
|
185
|
-
sx: { color: T.palette.grey[400] },
|
|
186
|
-
children: ["/ ", D(P, "USD")]
|
|
187
|
-
})]
|
|
188
|
-
}), /* @__PURE__ */ d(g, {
|
|
189
|
-
variant: "body1",
|
|
190
|
-
sx: {
|
|
191
|
-
textOverflow: "ellipsis",
|
|
192
|
-
overflow: "hidden",
|
|
193
|
-
whiteSpace: "nowrap"
|
|
194
|
-
},
|
|
195
|
-
children: [
|
|
196
|
-
N?.pricing_plans?.length,
|
|
197
|
-
" ",
|
|
198
|
-
C._("financial plans enabled")
|
|
199
|
-
]
|
|
200
|
-
})]
|
|
201
|
-
})] }) : /* @__PURE__ */ u(g, {
|
|
202
|
-
variant: "h2",
|
|
203
|
-
fontSize: 32,
|
|
204
|
-
mb: 1,
|
|
205
|
-
children: C._("Not available")
|
|
206
|
-
}),
|
|
207
|
-
/* @__PURE__ */ u(i, { progress: I }),
|
|
208
|
-
(!L || N?.status === "LATE") && /* @__PURE__ */ d(g, {
|
|
209
|
-
variant: "body1",
|
|
210
|
-
fontWeight: 400,
|
|
211
|
-
mt: 1,
|
|
212
|
-
children: [
|
|
213
|
-
N?.status === "CLOSED" && C._("Financing is not available for your business anymore. Please, contact the provider for further details."),
|
|
214
|
-
N?.status === "DEFAULTED" && C._("Financing is blocked due to a violation of the agreed-upon terms. Please, contact the provider for further details."),
|
|
215
|
-
N?.status === "LATE" && C._("Due to late payment your financing is currently on hold. Please, contact the provider for further details.")
|
|
216
|
-
]
|
|
217
|
-
})
|
|
218
|
-
] })]
|
|
219
|
-
});
|
|
220
|
-
};
|
|
2
|
+
var e = Object.values({
|
|
3
|
+
counterpart_name: "counterpart_name",
|
|
4
|
+
counterpart_id: "counterpart_id",
|
|
5
|
+
amount: "amount",
|
|
6
|
+
status: "status",
|
|
7
|
+
due_date: "due_date",
|
|
8
|
+
issue_date: "issue_date",
|
|
9
|
+
document_id: "document_id",
|
|
10
|
+
created_at: "created_at",
|
|
11
|
+
project_id: "project_id",
|
|
12
|
+
total_amount: "total_amount",
|
|
13
|
+
discounted_subtotal: "discounted_subtotal"
|
|
14
|
+
});
|
|
221
15
|
//#endregion
|
|
222
|
-
export {
|
|
16
|
+
export { e as ReceivableCursorFields };
|
|
@@ -1,34 +1,206 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import t from "
|
|
3
|
-
import n from "
|
|
4
|
-
import r from "
|
|
5
|
-
import i from "
|
|
6
|
-
import a from "
|
|
1
|
+
import { ScopedCssBaselineContainerClassName as e } from "./index21.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index36.js";
|
|
3
|
+
import { useGetReceivableById as n } from "./index47.js";
|
|
4
|
+
import { useCurrencies as r } from "./index62.js";
|
|
5
|
+
import { useAutosizeGridColumns as i } from "./index66.js";
|
|
6
|
+
import { Dialog as a } from "./index117.js";
|
|
7
|
+
import "./index118.js";
|
|
8
|
+
import { MoniteScopedProviders as o } from "./index143.js";
|
|
9
|
+
import { GetNoRowsOverlay as s } from "./index149.js";
|
|
10
|
+
import { TablePagination as c } from "./index171.js";
|
|
11
|
+
import { classNames as l } from "./index173.js";
|
|
12
|
+
import { useKanmonContext as u } from "./index234.js";
|
|
13
|
+
import { useGetFinancedInvoices as d } from "./index237.js";
|
|
14
|
+
import "./index238.js";
|
|
15
|
+
import { FinancedInvoiceStatusChip as f } from "./index242.js";
|
|
16
|
+
import { FinanceDetails as p } from "./index245.js";
|
|
17
|
+
import { ReceivableCursorFields as m } from "./index246.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";
|
|
7
23
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js
|
|
8
|
-
var o = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
var w = (e) => /* @__PURE__ */ _(o, { children: /* @__PURE__ */ _(T, { ...e }) }), T = ({ onRowClick: o, query: w, offers: T }) => {
|
|
25
|
+
let { i18n: E } = S(), { locale: D, componentSettings: O } = t(), { startFinanceSession: k } = u(), [A, j] = g(!1), [M, N] = g(null), { data: P } = n(M?.invoice_id ?? "", !!M?.invoice_id), [F, I] = g(void 0), [L, R] = g(O.receivables.pageSizeOptions?.[0] ?? 10), [z, B] = g({
|
|
26
|
+
field: w?.sort ?? "created_at",
|
|
27
|
+
sort: w?.order ?? "desc"
|
|
28
|
+
}), { formatCurrencyToDisplay: V } = r(), { data: H, isLoading: U, isError: W, refetch: G } = d({
|
|
29
|
+
order: z?.sort,
|
|
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: m.includes("status"),
|
|
64
|
+
width: 160,
|
|
65
|
+
renderCell: ({ value: e }) => /* @__PURE__ */ _(f, {
|
|
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"),
|
|
137
|
+
sx: {
|
|
138
|
+
display: "flex",
|
|
139
|
+
flexDirection: "column",
|
|
140
|
+
overflow: "hidden",
|
|
141
|
+
height: "inherit",
|
|
142
|
+
minHeight: "500px"
|
|
143
|
+
},
|
|
144
|
+
children: [
|
|
145
|
+
/* @__PURE__ */ _(x, {
|
|
146
|
+
mb: 2,
|
|
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__ */ _(p, {
|
|
195
|
+
invoice: P,
|
|
196
|
+
offers: T ?? [],
|
|
197
|
+
financedInvoice: M,
|
|
198
|
+
enableNavigate: !0,
|
|
199
|
+
handleNavigate: o
|
|
200
|
+
})
|
|
201
|
+
})
|
|
202
|
+
]
|
|
203
|
+
});
|
|
32
204
|
};
|
|
33
205
|
//#endregion
|
|
34
|
-
export {
|
|
206
|
+
export { w as FinancedInvoicesTable };
|
|
@@ -1,14 +1,102 @@
|
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
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";
|
|
1
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
+
});
|
|
12
100
|
};
|
|
13
101
|
//#endregion
|
|
14
|
-
export {
|
|
102
|
+
export { c as FinanceHowItWorks };
|