@tesouro/embedded-components-react 0.7.51 → 0.7.52
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/index.css +0 -25
- package/dist/lib/monite-sdk.d.ts +2 -37
- package/dist/lib/monite-sdk.js +56 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +60 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +36 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +51 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +25 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +150 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +2 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +3 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +38 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +67 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +11 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +65 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +167 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +6 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +76 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +75 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +56 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +564 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -569
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +22 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +6 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +39 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +48 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +27 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +52 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +81 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +119 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +122 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +21 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +72 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +25 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +58 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +19 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +181 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +27 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +61 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +34 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +42 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +34 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +111 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +196 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +9 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +358 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -351
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +179 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +95 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +15 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +43 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +36 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +0 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +56 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +49 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +82 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +7 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +304 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +30 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -307
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +33 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +101 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +185 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +132 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +196 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +11 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +15 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +29 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +239 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +137 -237
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +164 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +25 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +15 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +8 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +23 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +81 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +100 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +42 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +101 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +33 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +173 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +11 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +4 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +67 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +21 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +212 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +89 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +17 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +147 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +88 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +44 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +4 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +20 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +74 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +19 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +5 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +33 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +19 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +72 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +180 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +202 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +87 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +64 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +52 -201
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +84 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +34 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +74 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +80 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +12 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +23 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +17 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +22 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +43 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +29 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +36 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +93 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +1 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +46 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +45 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +63 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +33 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +36 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +19 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +12 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +53 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +73 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +79 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +8 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +56 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +12 -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/index367.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +0 -97
|
@@ -1,206 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import "./index338.js";
|
|
15
|
-
import { FinancedInvoiceStatusChip as f } from "./index342.js";
|
|
16
|
-
import { FinanceDetails as p } from "./index345.js";
|
|
17
|
-
import { ReceivableCursorFields as m } from "./index346.js";
|
|
18
|
-
import { useMemo as h, useState as g } from "react";
|
|
19
|
-
import { jsx as _, jsxs as v } from "@emotion/react/jsx-runtime";
|
|
20
|
-
import { Box as y, Button as b, Typography as x } from "@mui/material";
|
|
21
|
-
import { useLingui as S } from "@lingui/react";
|
|
22
|
-
import { DataGrid as C } from "@mui/x-data-grid";
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useCurrencies as t } from "./index74.js";
|
|
3
|
+
import "./index87.js";
|
|
4
|
+
import { Dialog as n } from "./index127.js";
|
|
5
|
+
import "./index128.js";
|
|
6
|
+
import { useGetFinancedInvoices as r } from "./index334.js";
|
|
7
|
+
import "./index335.js";
|
|
8
|
+
import { FinancedInvoiceStatusChip as i } from "./index339.js";
|
|
9
|
+
import { FinanceDetails as a } from "./index342.js";
|
|
10
|
+
import { useState as o } from "react";
|
|
11
|
+
import { Fragment as s, jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
12
|
+
import { Box as u, Skeleton as d, Typography as f, useTheme as p } from "@mui/material";
|
|
13
|
+
import { useLingui as m } from "@lingui/react";
|
|
23
14
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js
|
|
24
|
-
var
|
|
25
|
-
let { i18n:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})
|
|
33
|
-
|
|
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"),
|
|
15
|
+
var h = ({ invoice: h, offers: g }) => {
|
|
16
|
+
let { i18n: _ } = m(), v = p(), { locale: y } = e(), [b, x] = o(!1), { formatCurrencyToDisplay: S } = t(), { isLoading: C, data: w } = r({
|
|
17
|
+
invoice_id: h.id,
|
|
18
|
+
type: "receivable"
|
|
19
|
+
}), T = w?.data?.[0] ?? null, E = y.dateFormat, D = T ? S(T.repayment_schedule?.repayment_amount ?? 0, h.currency) : "—", O = T?.repayment_schedule?.repayment_date ? _.date(T?.repayment_schedule?.repayment_date, E) : "—", k = T?.status;
|
|
20
|
+
return C ? /* @__PURE__ */ c(d, {
|
|
21
|
+
variant: "rounded",
|
|
22
|
+
height: 80
|
|
23
|
+
}) : /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ l(u, {
|
|
24
|
+
onClick: () => x(!0),
|
|
137
25
|
sx: {
|
|
26
|
+
borderRadius: "16px",
|
|
27
|
+
px: 3,
|
|
28
|
+
py: 2.5,
|
|
138
29
|
display: "flex",
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
},
|
|
144
|
-
children: [
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
})
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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
|
-
});
|
|
30
|
+
alignItems: "center",
|
|
31
|
+
justifyContent: "space-between",
|
|
32
|
+
border: `1px solid ${v.palette.divider}`,
|
|
33
|
+
cursor: "pointer"
|
|
34
|
+
},
|
|
35
|
+
children: [/* @__PURE__ */ l(u, { children: [/* @__PURE__ */ c(f, {
|
|
36
|
+
variant: "subtitle2",
|
|
37
|
+
children: _._("Funding for {repaymentAmount}", { repaymentAmount: D })
|
|
38
|
+
}), /* @__PURE__ */ c(f, {
|
|
39
|
+
variant: "body1",
|
|
40
|
+
children: _._("Repayment on {repaymentDate}", { repaymentDate: O })
|
|
41
|
+
})] }), /* @__PURE__ */ c(u, { children: /* @__PURE__ */ c(i, {
|
|
42
|
+
icon: !0,
|
|
43
|
+
status: k ?? "DEFAULTED"
|
|
44
|
+
}) })]
|
|
45
|
+
}), /* @__PURE__ */ c(n, {
|
|
46
|
+
open: b,
|
|
47
|
+
onClose: () => x(!1),
|
|
48
|
+
alignDialog: "right",
|
|
49
|
+
children: /* @__PURE__ */ c(a, {
|
|
50
|
+
invoice: h,
|
|
51
|
+
offers: g?.offers,
|
|
52
|
+
financedInvoice: T
|
|
53
|
+
})
|
|
54
|
+
})] });
|
|
204
55
|
};
|
|
205
56
|
//#endregion
|
|
206
|
-
export {
|
|
57
|
+
export { h as FinanceOverviewCard };
|
|
@@ -1,102 +1,94 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { FinanceBannerWrapper as e } from "./index325.js";
|
|
2
|
+
import { useKanmonContext as t } from "./index331.js";
|
|
3
|
+
import { useGetFinanceOffers as n } from "./index329.js";
|
|
4
|
+
import { useFinancing as r } from "./index332.js";
|
|
5
|
+
import { useFinanceAnInvoice as i } from "./index333.js";
|
|
6
|
+
import { useGetFinancedInvoices as a } from "./index334.js";
|
|
7
|
+
import "./index335.js";
|
|
8
|
+
import { FinanceOverviewCard as o } from "./index347.js";
|
|
9
|
+
import { useState as s } from "react";
|
|
10
|
+
import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
11
|
+
import { Box as u, Button as d, Tooltip as f, Typography as p } from "@mui/material";
|
|
12
|
+
import { useLingui as m } from "@lingui/react";
|
|
5
13
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js
|
|
6
|
-
var
|
|
7
|
-
let { i18n:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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.")
|
|
14
|
+
var h = 5184e5, g = ({ invoice: g }) => {
|
|
15
|
+
let { i18n: _ } = m(), { startFinanceSession: v } = t(), [y, b] = s(!1), x = i(), { isLoading: S, data: C } = a({
|
|
16
|
+
invoice_id: g.id,
|
|
17
|
+
type: "receivable"
|
|
18
|
+
}), { isLoading: w, isEnabled: T, isServicing: E } = r(), { isLoading: D, data: O } = n(), k = !!C?.data?.find((e) => e?.invoice_id === g.id), A = w || S || D, j = ["issued", "partially_paid"].includes(g.status), M = g.due_date ? new Date(g.due_date).getTime() - ((/* @__PURE__ */ new Date()).getTime() + h) > 0 : !1;
|
|
19
|
+
return !T || !E ? null : k ? /* @__PURE__ */ c(u, { children: /* @__PURE__ */ c(o, {
|
|
20
|
+
invoice: g,
|
|
21
|
+
offers: O ?? null
|
|
22
|
+
}) }) : j && M ? /* @__PURE__ */ c(e, { children: /* @__PURE__ */ l(u, {
|
|
23
|
+
sx: {
|
|
24
|
+
display: "flex",
|
|
25
|
+
alignItems: "center",
|
|
26
|
+
gap: 2,
|
|
27
|
+
justifyContent: "space-between"
|
|
35
28
|
},
|
|
36
|
-
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
},
|
|
29
|
+
children: [/* @__PURE__ */ l(u, {
|
|
30
|
+
sx: { flex: "1 1 0%" },
|
|
31
|
+
children: [/* @__PURE__ */ c(p, {
|
|
32
|
+
variant: "subtitle2",
|
|
33
|
+
children: _._("Don't wait for your client to pay")
|
|
34
|
+
}), /* @__PURE__ */ l(p, {
|
|
35
|
+
variant: "body1",
|
|
67
36
|
children: [
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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, {
|
|
37
|
+
_._("This invoice can be financed"),
|
|
38
|
+
".",
|
|
39
|
+
" ",
|
|
40
|
+
/* @__PURE__ */ c(f, {
|
|
41
|
+
arrow: !0,
|
|
42
|
+
title: _._("Invoices that are due within 7 days cannot be financed. Overdue invoices cannot be financed. The loan sum must be within your remaining limit."),
|
|
43
|
+
children: /* @__PURE__ */ c(p, {
|
|
89
44
|
variant: "body1",
|
|
45
|
+
sx: { textDecoration: "underline" },
|
|
90
46
|
component: "span",
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
children: e.text
|
|
94
|
-
}, e.id))]
|
|
47
|
+
children: _._("Why?")
|
|
48
|
+
})
|
|
95
49
|
})
|
|
96
50
|
]
|
|
97
|
-
}
|
|
51
|
+
})]
|
|
52
|
+
}), /* @__PURE__ */ c(d, {
|
|
53
|
+
onClick: async () => {
|
|
54
|
+
try {
|
|
55
|
+
b(!0), x.mutate({ invoices: [{
|
|
56
|
+
id: g.id,
|
|
57
|
+
type: "receivable"
|
|
58
|
+
}] }, {
|
|
59
|
+
onError: () => {
|
|
60
|
+
b(!1);
|
|
61
|
+
},
|
|
62
|
+
onSuccess: ({ session_token: e }) => {
|
|
63
|
+
v({
|
|
64
|
+
sessionToken: e,
|
|
65
|
+
component: "SESSION_INVOICE_FLOW_WITH_INVOICE_FILE"
|
|
66
|
+
}), b(!1);
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
} catch {
|
|
70
|
+
b(!1);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
disabled: y || A,
|
|
74
|
+
color: "primary",
|
|
75
|
+
variant: "contained",
|
|
76
|
+
sx: {
|
|
77
|
+
px: 2.5,
|
|
78
|
+
py: 1.5
|
|
79
|
+
},
|
|
80
|
+
children: y ? _._("Loading...") : _._("Get paid now")
|
|
81
|
+
})]
|
|
82
|
+
}) }) : /* @__PURE__ */ c(e, { children: /* @__PURE__ */ l(u, {
|
|
83
|
+
sx: { flex: "1 1 0%" },
|
|
84
|
+
children: [/* @__PURE__ */ c(p, {
|
|
85
|
+
variant: "subtitle2",
|
|
86
|
+
children: _._("This invoice can't be financed")
|
|
87
|
+
}), /* @__PURE__ */ c(p, {
|
|
88
|
+
variant: "body1",
|
|
89
|
+
children: _._("It must be in the “Issued” or “Partially paid” statuses and have more than 7 days till overdue.")
|
|
98
90
|
})]
|
|
99
|
-
});
|
|
91
|
+
}) });
|
|
100
92
|
};
|
|
101
93
|
//#endregion
|
|
102
|
-
export {
|
|
94
|
+
export { g as FinanceInvoice };
|
|
@@ -1,66 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
1
|
+
import { Dialog as e } from "./index127.js";
|
|
2
|
+
import "./index128.js";
|
|
3
|
+
import { useKanmonContext as t } from "./index331.js";
|
|
4
|
+
import { FinanceHowItWorks as n } from "./index345.js";
|
|
5
|
+
import { useState as r } from "react";
|
|
6
|
+
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { Button as o, Stack as s } from "@mui/material";
|
|
8
|
+
import { useLingui as c } from "@lingui/react";
|
|
9
9
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js
|
|
10
|
-
var
|
|
11
|
-
let { i18n:
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
p: 3,
|
|
10
|
+
var l = () => {
|
|
11
|
+
let { i18n: l } = c(), { startFinanceSession: u } = t(), [d, f] = r(!1);
|
|
12
|
+
return /* @__PURE__ */ a(s, {
|
|
13
|
+
direction: "row",
|
|
14
|
+
gap: 1,
|
|
15
|
+
alignItems: "center",
|
|
17
16
|
children: [
|
|
18
|
-
/* @__PURE__ */
|
|
17
|
+
/* @__PURE__ */ i(o, {
|
|
18
|
+
variant: "text",
|
|
19
|
+
onClick: () => f(!0),
|
|
20
|
+
children: l._("How does invoice financing work?")
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ i(o, {
|
|
23
|
+
onClick: () => u(),
|
|
24
|
+
variant: "contained",
|
|
25
|
+
color: "primary",
|
|
19
26
|
sx: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
height: "40px",
|
|
24
|
-
display: "flex",
|
|
25
|
-
justifyContent: "center",
|
|
26
|
-
alignItems: "center",
|
|
27
|
-
p: 2
|
|
27
|
+
px: 2.5,
|
|
28
|
+
py: 1.5,
|
|
29
|
+
height: 40
|
|
28
30
|
},
|
|
29
|
-
children:
|
|
30
|
-
color: h.palette.primary.main,
|
|
31
|
-
width: 20,
|
|
32
|
-
height: 20
|
|
33
|
-
} })
|
|
34
|
-
}) }),
|
|
35
|
-
/* @__PURE__ */ i(s, {
|
|
36
|
-
gap: 1,
|
|
37
|
-
children: [/* @__PURE__ */ r(c, {
|
|
38
|
-
variant: "subtitle1",
|
|
39
|
-
children: p._("Invoice financing")
|
|
40
|
-
}), /* @__PURE__ */ r(c, {
|
|
41
|
-
variant: "body1",
|
|
42
|
-
fontWeight: 400,
|
|
43
|
-
children: p._("Apply for a monthly plan loans to manage your business more efficiently")
|
|
44
|
-
})]
|
|
31
|
+
children: l._("Financing menu")
|
|
45
32
|
}),
|
|
46
|
-
/* @__PURE__ */ i(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
children:
|
|
51
|
-
disabled: g,
|
|
52
|
-
onClick: () => m(),
|
|
53
|
-
variant: "outlined",
|
|
54
|
-
sx: { px: 2 },
|
|
55
|
-
children: p._("Apply for loans")
|
|
56
|
-
}), /* @__PURE__ */ r(e, { children: ({ openModal: e }) => /* @__PURE__ */ r(o, {
|
|
57
|
-
onClick: e,
|
|
58
|
-
variant: "text",
|
|
59
|
-
children: p._("Read more")
|
|
60
|
-
}) })]
|
|
33
|
+
/* @__PURE__ */ i(e, {
|
|
34
|
+
open: d,
|
|
35
|
+
onClose: () => f(!1),
|
|
36
|
+
alignDialog: "right",
|
|
37
|
+
children: /* @__PURE__ */ i(n, {})
|
|
61
38
|
})
|
|
62
39
|
]
|
|
63
|
-
})
|
|
40
|
+
});
|
|
64
41
|
};
|
|
65
42
|
//#endregion
|
|
66
|
-
export {
|
|
43
|
+
export { l as FinanceMenuButtons };
|