@tesouro/embedded-components-react 0.7.58 → 0.7.59
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 +3 -98
- package/dist/lib/monite-sdk.js +51 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1222 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +171 -1219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +6 -174
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +15 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +5 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +55 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +37 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +71 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +39 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +65 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +158 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +7 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +78 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +42 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -568
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +160 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +68 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +24 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +6 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +48 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +58 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +40 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +76 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +4 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +108 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +128 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +0 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +5 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +120 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +22 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +35 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +56 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +71 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +25 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +183 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +1 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +5 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +26 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +81 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +100 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +42 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +27 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +1 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +166 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +12 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +70 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +20 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +209 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +88 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +91 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +42 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +131 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +5 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +31 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +11 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +72 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +181 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +204 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +88 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +61 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +54 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +83 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +40 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +71 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +32 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +30 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +825 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +20 -930
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +68 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +43 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +21 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +50 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +46 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +11 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +35 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +64 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +29 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +53 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +12 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +71 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +77 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +2 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +57 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1 -55
- 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/index276.js +0 -2
|
@@ -1,46 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { AccessRestriction as r } from "./index158.js";
|
|
6
|
-
import "./index161.js";
|
|
7
|
-
import { ProductsTable as i } from "./index222.js";
|
|
8
|
-
import { ProductDetails as a } from "./index232.js";
|
|
9
|
-
import { CreateProduct as o } from "./index233.js";
|
|
10
|
-
import { useCallback as s, useState as c } from "react";
|
|
11
|
-
import { Fragment as l, jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js
|
|
13
|
-
var f = (e) => /* @__PURE__ */ u(t, { children: /* @__PURE__ */ u(p, { ...e }) }), p = ({ pageTitleComponent: t }) => {
|
|
14
|
-
let f = n().has(e.InvoiceReadOrg), [p, m] = c(void 0), [h, g] = c(!1), _ = s((e) => {
|
|
15
|
-
m(e);
|
|
16
|
-
}, []), v = s(() => {
|
|
17
|
-
m(void 0);
|
|
18
|
-
}, []), y = s(() => {
|
|
19
|
-
g(!1);
|
|
20
|
-
}, []), b = s(() => {
|
|
21
|
-
g(!0);
|
|
22
|
-
}, []), x = s((e) => {
|
|
23
|
-
m(e);
|
|
24
|
-
}, []);
|
|
25
|
-
return /* @__PURE__ */ d(l, { children: [
|
|
26
|
-
t(/* @__PURE__ */ u(l, {})),
|
|
27
|
-
!f && /* @__PURE__ */ u(r, {}),
|
|
28
|
-
f && /* @__PURE__ */ u(i, {
|
|
29
|
-
onRowClick: _,
|
|
30
|
-
onDeleted: x,
|
|
31
|
-
openCreateModal: b
|
|
32
|
-
}),
|
|
33
|
-
h && /* @__PURE__ */ u(o, {
|
|
34
|
-
open: !0,
|
|
35
|
-
onClose: y,
|
|
36
|
-
onCreated: y
|
|
37
|
-
}),
|
|
38
|
-
!!p && p && /* @__PURE__ */ u(a, {
|
|
39
|
-
id: p,
|
|
40
|
-
open: !0,
|
|
41
|
-
onClose: v
|
|
42
|
-
})
|
|
43
|
-
] });
|
|
44
|
-
};
|
|
45
|
-
//#endregion
|
|
46
|
-
export { f as Products };
|
|
1
|
+
import "./index221.js";
|
|
2
|
+
import "./index231.js";
|
|
3
|
+
import "./index232.js";
|
|
4
|
+
import "./index233.js";
|
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Box as t, useTheme as n } from "@mui/material";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js
|
|
4
|
+
var r = ({ children: r, shouldApplyFinanceStyles: i = !1 }) => {
|
|
5
|
+
let a = n();
|
|
6
|
+
return /* @__PURE__ */ e(t, {
|
|
7
|
+
sx: {
|
|
8
|
+
background: `linear-gradient(180deg, ${a.palette.primary.light} 0%, ${a.palette.background.paper} 100%)`,
|
|
9
|
+
display: "flex",
|
|
10
|
+
flexDirection: "column",
|
|
11
|
+
gap: 1,
|
|
12
|
+
px: 3,
|
|
13
|
+
py: i ? 3 : 2.5,
|
|
14
|
+
width: "100%",
|
|
15
|
+
minHeight: "auto",
|
|
16
|
+
borderRadius: "16px",
|
|
17
|
+
boxShadow: "0 16px 24px 0 rgba(0, 0, 0, 0.02)",
|
|
18
|
+
border: i ? "none" : `1px solid ${a.palette.divider}`
|
|
19
|
+
},
|
|
20
|
+
children: r
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { r as FinanceBannerWrapper };
|
|
@@ -1,24 +1,77 @@
|
|
|
1
|
-
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { Box as
|
|
1
|
+
import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Box as n, Link as r, Typography as i } from "@mui/material";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
3
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
5
|
+
var o = [
|
|
6
|
+
{
|
|
7
|
+
id: 1,
|
|
8
|
+
question: "Does enrolling in the program affect my credit score?",
|
|
9
|
+
answer: "Nope! During the onboarding process we will only conduct a soft pull on your credit report, which will not affect your personal credit score."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
id: 2,
|
|
13
|
+
question: "Why do I need to provide my bank connection details?",
|
|
14
|
+
answer: "Securely connecting your business bank account allows us to review your cashflow and determine your best loan offers."
|
|
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
|
+
]
|
|
21
74
|
});
|
|
22
75
|
};
|
|
23
76
|
//#endregion
|
|
24
|
-
export {
|
|
77
|
+
export { s as FinanceFaqDetails };
|
|
@@ -1,77 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { Dialog as e } from "./index124.js";
|
|
2
|
+
import "./index125.js";
|
|
3
|
+
import { FinanceFaqDetails as t } from "./index236.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/index237.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 "./index237.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/index238.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 "./index36.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index239.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
|
-
import { useMoniteContext as e } from "./
|
|
1
|
+
import { useMoniteContext as e } from "./index36.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/index240.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 "./index150.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/index241.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 "./index36.js";
|
|
2
|
+
import { useMyEntity as t } from "./index48.js";
|
|
3
|
+
import "./index52.js";
|
|
4
|
+
import { useComponentSettings as n } from "./index77.js";
|
|
5
|
+
import "./index79.js";
|
|
6
|
+
import { useKanmonContext as r } from "./index241.js";
|
|
7
|
+
import { useGetFinanceOffers as i } from "./index239.js";
|
|
8
|
+
import { useGetFinancingConnectToken as a } from "./index240.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/index242.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 };
|