@tesouro/embedded-components-react 0.7.57 → 0.7.58
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 -28
- package/dist/lib/monite-sdk.d.ts +2376 -4041
- package/dist/lib/monite-sdk.js +53 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +58 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +1 -39
- 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 +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1222 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +176 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +5 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +5 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +3 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +38 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +11 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +50 -1222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +65 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +167 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +6 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +76 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +75 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +56 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +564 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +1 -569
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +22 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +18 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +162 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +6 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +39 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +48 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +27 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index16.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +52 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +81 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +109 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +59 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +122 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +62 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index18.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +22 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +6 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +73 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +25 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +58 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +19 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +182 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +27 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +8 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +15 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +23 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +81 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +97 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +1 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +102 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +166 -193
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +67 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +24 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +209 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +89 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js +23 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +153 -354
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +104 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +4 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +20 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +5 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +10 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +129 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +5 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +221 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +175 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +204 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +93 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +63 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +54 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +92 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +37 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +77 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +80 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +28 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +30 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +28 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +2 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +156 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +57 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +929 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +67 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +14 -930
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +43 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +22 -67
- 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 +5 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +8 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +4 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +49 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +45 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +37 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +31 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +12 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +69 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +8 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +25 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +3 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +103 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +0 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +0 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -242
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +0 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +0 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +0 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +0 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +0 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +0 -97
|
@@ -1,64 +1,14 @@
|
|
|
1
|
+
import e from "chroma-js";
|
|
1
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
if (typeof e != "object" || !e) return null;
|
|
13
|
-
let { loc: t, msg: n, type: a } = e;
|
|
14
|
-
if (typeof n != "string" || !n.trim()) return null;
|
|
15
|
-
let o = Array.isArray(t) ? t.filter(i) : [];
|
|
16
|
-
return {
|
|
17
|
-
path: r(o),
|
|
18
|
-
loc: o,
|
|
19
|
-
msg: n,
|
|
20
|
-
type: typeof a == "string" ? a : ""
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
function s(t, { irrelevantVariants: n = [] } = {}) {
|
|
24
|
-
if (!e(t) || !t.detail?.length) return [];
|
|
25
|
-
let r = [], i = /* @__PURE__ */ new Set();
|
|
26
|
-
for (let e of t.detail) {
|
|
27
|
-
let t = o(e);
|
|
28
|
-
if (!t || t.loc.some((e) => typeof e == "string" && n.some((t) => a(e, t)))) continue;
|
|
29
|
-
let s = `${t.path}:${t.msg}`;
|
|
30
|
-
i.has(s) || (i.add(s), r.push(t));
|
|
31
|
-
}
|
|
32
|
-
return r;
|
|
33
|
-
}
|
|
34
|
-
var c = (e) => e.split(".").some(t), l = (e) => e.split(".").map((e) => t(e) ? "*" : e).join("."), u = (e, n) => {
|
|
35
|
-
let r = n.split(".").filter(t), i = 0;
|
|
36
|
-
return e.split(".").map((e) => e === "*" ? r[i++] ?? e : e).join(".");
|
|
37
|
-
};
|
|
38
|
-
function d(e, t, { fieldMap: n, normalizePath: r }) {
|
|
39
|
-
let i = [], a = /* @__PURE__ */ new Map();
|
|
40
|
-
for (let { path: e, msg: o } of t) {
|
|
41
|
-
if (!e) continue;
|
|
42
|
-
let t = r ? r(e) : e, s = n[l(t)];
|
|
43
|
-
if (!s) continue;
|
|
44
|
-
let c = u(s, t);
|
|
45
|
-
a.has(c) || i.push(c), a.set(c, o);
|
|
46
|
-
}
|
|
47
|
-
let o = [...i].sort((e, t) => Number(c(t)) - Number(c(e)));
|
|
48
|
-
for (let t of o) e(t, {
|
|
49
|
-
type: "server",
|
|
50
|
-
message: a.get(t)
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
var f = 3;
|
|
54
|
-
function p(e, t) {
|
|
55
|
-
let n = [...new Set(t.map(({ msg: e }) => e))];
|
|
56
|
-
if (!n.length) return "";
|
|
57
|
-
let r = n.slice(0, f).join("; "), i = n.length - f;
|
|
58
|
-
return i > 0 ? e._("{message} (+{count} more)", {
|
|
59
|
-
message: r,
|
|
60
|
-
count: i
|
|
61
|
-
}) : r;
|
|
62
|
-
}
|
|
3
|
+
var t = (t) => ({
|
|
4
|
+
main: t,
|
|
5
|
+
10: e(t).darken(2.5).hex(),
|
|
6
|
+
30: e(t).darken(1.5).hex(),
|
|
7
|
+
50: t,
|
|
8
|
+
70: e(t).brighten(.7).hex(),
|
|
9
|
+
80: e(t).brighten(2.3).hex(),
|
|
10
|
+
90: e(t).brighten(2.68).hex(),
|
|
11
|
+
95: e(t).brighten(2.84).hex()
|
|
12
|
+
});
|
|
63
13
|
//#endregion
|
|
64
|
-
export {
|
|
14
|
+
export { t as getNeutralColors };
|
|
@@ -1 +1,36 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { BACKGROUND_FINANCE_STATUS_MUI_MAP as e, FINANCE_INVOICE_STATUS_TO_MUI_ICON_MAP as t, ROW_TO_TAG_FINANCE_STATUS_MUI_MAP as n } from "./index248.js";
|
|
2
|
+
import { getCommonStatusLabel as r } from "./index249.js";
|
|
3
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import { Chip as a } from "@mui/material";
|
|
5
|
+
import { useLingui as o } from "@lingui/react";
|
|
6
|
+
import s from "@mui/icons-material/Circle";
|
|
7
|
+
import { styled as c, useThemeProps as l } from "@mui/material/styles";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js
|
|
9
|
+
var u = ({ ref: a, ...c }) => {
|
|
10
|
+
let { status: u, variant: f, icon: p, size: m } = l({
|
|
11
|
+
props: c,
|
|
12
|
+
name: "MoniteFinancedInvoiceStatusChip"
|
|
13
|
+
}), { i18n: h } = o(), g = t[u];
|
|
14
|
+
return /* @__PURE__ */ i(d, {
|
|
15
|
+
ref: a,
|
|
16
|
+
sx: {
|
|
17
|
+
width: "auto",
|
|
18
|
+
color: n[u],
|
|
19
|
+
bgcolor: e[u]
|
|
20
|
+
},
|
|
21
|
+
icon: p && g ? /* @__PURE__ */ i(g, { sx: {
|
|
22
|
+
fontSize: 16,
|
|
23
|
+
fill: n[u]
|
|
24
|
+
} }) : /* @__PURE__ */ i(s, { sx: { fontSize: "10px !important" } }),
|
|
25
|
+
label: r(h, u),
|
|
26
|
+
size: m,
|
|
27
|
+
status: u,
|
|
28
|
+
variant: f ?? "filled"
|
|
29
|
+
});
|
|
30
|
+
}, d = c(a, {
|
|
31
|
+
name: "MoniteFinancedInvoiceStatusChip",
|
|
32
|
+
slot: "root",
|
|
33
|
+
shouldForwardProp: () => !0
|
|
34
|
+
})({});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { u as FinancedInvoiceStatusChip };
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { ConfirmationModal as e } from "./index249.js";
|
|
2
|
-
import "./index250.js";
|
|
3
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import { useLingui as n } from "@lingui/react";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
var e = (e, t) => {
|
|
3
|
+
switch (t) {
|
|
4
|
+
case "draft": return e._("Draft");
|
|
5
|
+
case "issuing": return e._("Issuing");
|
|
6
|
+
case "issued": return e._("Issued");
|
|
7
|
+
case "failed": return e._("Failed");
|
|
8
|
+
case "accepted": return e._("Accepted");
|
|
9
|
+
case "expired": return e._("Expired");
|
|
10
|
+
case "declined": return e._("Declined");
|
|
11
|
+
case "recurring": return e._("Recurring");
|
|
12
|
+
case "partially_paid": return e._("Partially paid");
|
|
13
|
+
case "paid": return e._("Paid");
|
|
14
|
+
case "overdue": return e._("Overdue");
|
|
15
|
+
case "uncollectible": return e._("Uncollectible");
|
|
16
|
+
case "canceled": return e._("Canceled");
|
|
17
|
+
case "deleted": return e._("Deleted");
|
|
18
|
+
default: throw Error(`Unknown status ${JSON.stringify(t)}`);
|
|
19
|
+
}
|
|
19
20
|
};
|
|
20
21
|
//#endregion
|
|
21
|
-
export {
|
|
22
|
+
export { e as getCommonStatusLabel };
|
|
@@ -1 +1,76 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { cn as e } from "./index54.js";
|
|
2
|
+
import { Badge as t } from "./index61.js";
|
|
3
|
+
import { getCommonStatusLabel as n } from "./index251.js";
|
|
4
|
+
import { jsxs as r } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { useLingui as i } from "@lingui/react";
|
|
6
|
+
import { cva as a } from "class-variance-authority";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js
|
|
8
|
+
var o = a("", { variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
draft: "ttw:bg-zinc-100 ttw:text-zinc-700",
|
|
11
|
+
issuing: "ttw:bg-cyan-100 ttw:text-cyan-700",
|
|
12
|
+
issued: "ttw:bg-cyan-100 ttw:text-cyan-700",
|
|
13
|
+
failed: "ttw:bg-red-100 ttw:text-red-700",
|
|
14
|
+
accepted: "ttw:bg-green-100 ttw:text-green-700",
|
|
15
|
+
partially_paid: "ttw:bg-purple-100 ttw:text-purple-700",
|
|
16
|
+
paid: "ttw:bg-green-100 ttw:text-green-700",
|
|
17
|
+
expired: "ttw:bg-red-100 ttw:text-red-700",
|
|
18
|
+
uncollectible: "ttw:bg-red-100 ttw:text-red-700",
|
|
19
|
+
canceled: "ttw:bg-red-100 ttw:text-red-700",
|
|
20
|
+
recurring: "ttw:bg-zinc-100 ttw:text-zinc-700",
|
|
21
|
+
declined: "ttw:bg-red-100 ttw:text-red-700",
|
|
22
|
+
overdue: "ttw:bg-orange-100 ttw:text-orange-700",
|
|
23
|
+
deleted: "ttw:bg-red-100 ttw:text-red-700"
|
|
24
|
+
},
|
|
25
|
+
dotVariant: {
|
|
26
|
+
draft: "ttw:border-zinc-100 ttw:bg-zinc-700",
|
|
27
|
+
issuing: "ttw:border-cyan-100 ttw:bg-cyan-700",
|
|
28
|
+
issued: "ttw:border-cyan-100 ttw:bg-cyan-700",
|
|
29
|
+
failed: "ttw:border-red-100 ttw:bg-red-700",
|
|
30
|
+
accepted: "ttw:border-green-100 ttw:bg-green-700",
|
|
31
|
+
partially_paid: "ttw:border-purple-100 ttw:bg-purple-700",
|
|
32
|
+
paid: "ttw:border-green-100 ttw:bg-green-700",
|
|
33
|
+
expired: "ttw:border-red-100 ttw:bg-red-700",
|
|
34
|
+
uncollectible: "ttw:border-red-100 ttw:bg-red-700",
|
|
35
|
+
canceled: "ttw:border-red-100 ttw:bg-red-700",
|
|
36
|
+
recurring: "ttw:border-zinc-100 ttw:bg-zinc-700",
|
|
37
|
+
declined: "ttw:border-red-100 ttw:bg-red-700",
|
|
38
|
+
overdue: "ttw:border-orange-100 ttw:bg-orange-700",
|
|
39
|
+
deleted: "ttw:border-red-100 ttw:bg-red-700"
|
|
40
|
+
},
|
|
41
|
+
outlineVariant: {
|
|
42
|
+
draft: "ttw:border-zinc-200 ttw:bg-zinc-50 ttw:text-zinc-700 ttw:hover:bg-zinc-50",
|
|
43
|
+
issuing: "ttw:border-blue-200 ttw:bg-blue-50 ttw:text-blue-700 ttw:hover:bg-blue-50",
|
|
44
|
+
issued: "ttw:border-blue-200 ttw:bg-blue-50 ttw:text-blue-700 ttw:hover:bg-blue-50",
|
|
45
|
+
failed: "ttw:border-red-200 ttw:bg-red-50 ttw:text-red-700 ttw:hover:bg-red-50",
|
|
46
|
+
accepted: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700 ttw:hover:bg-emerald-50",
|
|
47
|
+
partially_paid: "ttw:border-blue-200 ttw:bg-blue-50 ttw:text-blue-700 ttw:hover:bg-blue-50",
|
|
48
|
+
paid: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700 ttw:hover:bg-emerald-50",
|
|
49
|
+
expired: "ttw:border-red-200 ttw:bg-red-50 ttw:text-red-700 ttw:hover:bg-red-50",
|
|
50
|
+
uncollectible: "ttw:border-zinc-200 ttw:bg-zinc-50 ttw:text-zinc-700 ttw:hover:bg-zinc-50",
|
|
51
|
+
canceled: "ttw:border-zinc-200 ttw:bg-zinc-50 ttw:text-zinc-700 ttw:hover:bg-zinc-50",
|
|
52
|
+
recurring: "ttw:border-zinc-200 ttw:bg-zinc-50 ttw:text-zinc-700 ttw:hover:bg-zinc-50",
|
|
53
|
+
declined: "ttw:border-red-200 ttw:bg-red-50 ttw:text-red-700 ttw:hover:bg-red-50",
|
|
54
|
+
overdue: "ttw:border-red-200 ttw:bg-red-50 ttw:text-red-700 ttw:hover:bg-red-50",
|
|
55
|
+
deleted: "ttw:border-zinc-200 ttw:bg-zinc-50 ttw:text-zinc-700 ttw:hover:bg-zinc-50"
|
|
56
|
+
}
|
|
57
|
+
} }), s = ({ status: a, variant: s = "filled", label: c, icon: l, className: u, showBadgeBackground: d = !0, dotSize: f, ref: p }) => {
|
|
58
|
+
let { i18n: m } = i();
|
|
59
|
+
return s === "outline" ? /* @__PURE__ */ r(t, {
|
|
60
|
+
ref: p,
|
|
61
|
+
variant: "outline",
|
|
62
|
+
className: e(o({ outlineVariant: a }), u),
|
|
63
|
+
children: [l, c ?? n(m, a)]
|
|
64
|
+
}) : /* @__PURE__ */ r(t, {
|
|
65
|
+
ref: p,
|
|
66
|
+
className: e("ttw:inline-flex ttw:items-center ttw:gap-1", o({ variant: a }), !d && "ttw:text-zinc-950!", u),
|
|
67
|
+
dotClassName: o({ dotVariant: a }),
|
|
68
|
+
showBadgeBackground: d,
|
|
69
|
+
showDotBorder: !d,
|
|
70
|
+
dotSize: f,
|
|
71
|
+
showDot: !1,
|
|
72
|
+
children: [l, c ?? n(m, a)]
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
//#endregion
|
|
76
|
+
export { s as InvoiceStatusChip };
|
|
@@ -1,162 +1,184 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import "./index247.js";
|
|
11
|
-
import { PayableDetailsCancelModal as s } from "./index251.js";
|
|
12
|
-
import "./index252.js";
|
|
13
|
-
import { useState as c } from "react";
|
|
14
|
-
import { Wallet as l } from "lucide-react";
|
|
15
|
-
import { Fragment as u, jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
16
|
-
import { Box as p, Button as m } from "@mui/material";
|
|
17
|
-
import { useLingui as h } from "@lingui/react";
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
2
|
+
import { useCurrencies as t } from "./index67.js";
|
|
3
|
+
import "./index80.js";
|
|
4
|
+
import { useKanmonContext as n } from "./index242.js";
|
|
5
|
+
import { FinancedInvoiceStatusChip as r } from "./index250.js";
|
|
6
|
+
import { InvoiceStatusChip as i } from "./index252.js";
|
|
7
|
+
import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { Box as c, Button as l, Divider as u, Typography as d, darken as f, useTheme as p } from "@mui/material";
|
|
9
|
+
import { useLingui as m } from "@lingui/react";
|
|
18
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js
|
|
19
|
-
var
|
|
20
|
-
let { i18n:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
var h = ({ invoice: h, offers: g, financedInvoice: _, enableNavigate: v = !1, handleNavigate: y }) => {
|
|
12
|
+
let { i18n: b } = m(), { locale: x } = e(), { startFinanceSession: S } = n(), { formatCurrencyToDisplay: C } = t(), w = p(), T = x.dateFormat, E = _ ? b.date(_.issue_date, T) : "—", D = _ ? C(_.total_amount, _.currency) : "-", O = g?.[0]?.pricing_plans?.reduce((e, t, n) => (t?.fee_percentage === _?.fee_percentage && t?.advance_rate_percentage === _?.advance_rate_percentage && (e = {
|
|
13
|
+
pricingPlanIndex: n,
|
|
14
|
+
data: t
|
|
15
|
+
}), e), null), k = _?.repayment_schedule?.repayment_date ? b.date(_.repayment_schedule.repayment_date, T) : "—", A = _?.advance_amount ? C(_.advance_amount, _.currency) : "-", j = _?.fee_amount ? C(_.fee_amount, _.currency) : "-", M = _?.repayment_amount ? C(_.repayment_amount, _.currency) : "-", N = _?.status === "REJECTED" || _?.status === "NEW", P = _?.status === "FUNDED" || _?.status === "LATE";
|
|
16
|
+
return /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ s(c, {
|
|
17
|
+
sx: {
|
|
18
|
+
p: 4,
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column",
|
|
21
|
+
gap: 4
|
|
25
22
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ o(d, {
|
|
25
|
+
variant: "h3",
|
|
26
|
+
children: b._("Funding details")
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(d, {
|
|
29
|
+
variant: "h2",
|
|
30
|
+
fontWeight: 600,
|
|
31
|
+
fontSize: 32,
|
|
32
|
+
children: D
|
|
33
|
+
}), /* @__PURE__ */ o(d, {
|
|
34
|
+
fontWeight: 500,
|
|
35
|
+
variant: "body1",
|
|
36
|
+
children: b._("{issueDate}", { issueDate: E })
|
|
37
|
+
})] }),
|
|
38
|
+
/* @__PURE__ */ s(c, {
|
|
39
|
+
sx: {
|
|
40
|
+
display: "flex",
|
|
41
|
+
gap: 3
|
|
42
|
+
},
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ s(c, {
|
|
45
|
+
width: "100%",
|
|
46
|
+
children: [/* @__PURE__ */ o(d, {
|
|
47
|
+
variant: "body1",
|
|
48
|
+
color: f(w.palette.grey[50], .4),
|
|
49
|
+
mb: .5,
|
|
50
|
+
fontWeight: 400,
|
|
51
|
+
children: b._("Financing plan {value}", { value: (O?.pricingPlanIndex ?? 0) + 1 })
|
|
52
|
+
}), /* @__PURE__ */ o(d, {
|
|
53
|
+
variant: "body1",
|
|
54
|
+
fontWeight: 400,
|
|
55
|
+
children: b._("{value}% advance rate, Pay in {pricingPlan} days, {value1}% fee", {
|
|
56
|
+
value: (O?.data?.advance_rate_percentage ?? 0) / 100,
|
|
57
|
+
pricingPlan: O?.data?.repayment_duration_days,
|
|
58
|
+
value1: (O?.data?.fee_percentage ?? 0) / 100
|
|
59
|
+
})
|
|
60
|
+
})]
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ s(c, {
|
|
63
|
+
width: "100%",
|
|
64
|
+
children: [/* @__PURE__ */ o(d, {
|
|
65
|
+
variant: "body1",
|
|
66
|
+
color: f(w.palette.grey[50], .4),
|
|
67
|
+
mb: .5,
|
|
68
|
+
fontWeight: 400,
|
|
69
|
+
children: b._("Repayment on")
|
|
70
|
+
}), /* @__PURE__ */ o(d, {
|
|
71
|
+
variant: "body1",
|
|
72
|
+
fontWeight: 400,
|
|
73
|
+
children: b._("{repaymentDate}", { repaymentDate: k })
|
|
74
|
+
})]
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ s(c, {
|
|
77
|
+
width: "100%",
|
|
78
|
+
children: [/* @__PURE__ */ o(d, {
|
|
79
|
+
variant: "body1",
|
|
80
|
+
color: f(w.palette.grey[50], .4),
|
|
81
|
+
mb: .5,
|
|
82
|
+
fontWeight: 400,
|
|
83
|
+
children: b._("Status")
|
|
84
|
+
}), /* @__PURE__ */ o(r, {
|
|
85
|
+
icon: !0,
|
|
86
|
+
status: _?.status ?? "DEFAULTED"
|
|
87
|
+
})]
|
|
88
|
+
})
|
|
89
|
+
]
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ o(u, {}),
|
|
92
|
+
/* @__PURE__ */ s(c, {
|
|
93
|
+
sx: {
|
|
94
|
+
display: "grid",
|
|
95
|
+
gridTemplateColumns: "minmax(140px, auto) 1fr",
|
|
96
|
+
flexDirection: "column",
|
|
97
|
+
rowGap: 1,
|
|
98
|
+
columnGap: 2
|
|
99
|
+
},
|
|
100
|
+
children: [
|
|
101
|
+
/* @__PURE__ */ o(d, {
|
|
102
|
+
variant: "body1",
|
|
103
|
+
color: f(w.palette.grey[50], .4),
|
|
104
|
+
children: b._("{isRequestedSum}", { isRequestedSum: N ? "Requested sum" : "Received sum" })
|
|
105
|
+
}),
|
|
106
|
+
/* @__PURE__ */ o(d, {
|
|
107
|
+
variant: "body1",
|
|
108
|
+
children: A
|
|
109
|
+
}),
|
|
110
|
+
/* @__PURE__ */ o(d, {
|
|
111
|
+
variant: "body1",
|
|
112
|
+
color: f(w.palette.grey[50], .4),
|
|
113
|
+
children: b._("Service Fee")
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ o(d, {
|
|
116
|
+
variant: "body1",
|
|
117
|
+
children: j
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ o(d, {
|
|
120
|
+
variant: "body1",
|
|
121
|
+
color: f(w.palette.grey[50], .4),
|
|
122
|
+
children: b._("Repayment sum")
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ o(d, {
|
|
125
|
+
variant: "body1",
|
|
126
|
+
children: M
|
|
127
|
+
})
|
|
128
|
+
]
|
|
129
|
+
}),
|
|
130
|
+
/* @__PURE__ */ o(u, {}),
|
|
131
|
+
/* @__PURE__ */ s(c, {
|
|
132
|
+
sx: {
|
|
133
|
+
borderRadius: "16px",
|
|
134
|
+
px: 3,
|
|
135
|
+
py: 2.5,
|
|
136
|
+
border: `1px solid ${w.palette.divider}`,
|
|
137
|
+
display: "flex",
|
|
138
|
+
gap: 2,
|
|
139
|
+
justifyContent: "space-between",
|
|
140
|
+
alignItems: "center",
|
|
141
|
+
cursor: v ? "pointer" : "default"
|
|
142
|
+
},
|
|
143
|
+
...v && y && { onClick: () => y(h.id) },
|
|
144
|
+
children: [/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(d, {
|
|
145
|
+
variant: "body1",
|
|
146
|
+
fontWeight: 500,
|
|
147
|
+
children: b._("Invoice {invoiceDocument_id}", { invoiceDocument_id: h.document_id || b._("Pending") })
|
|
148
|
+
}), /* @__PURE__ */ o(d, {
|
|
149
|
+
color: w.palette.text.secondary,
|
|
150
|
+
variant: "body2",
|
|
151
|
+
children: b._("For {invoiceAmount} | Issued {issueDate}", {
|
|
152
|
+
invoiceAmount: D,
|
|
153
|
+
issueDate: E
|
|
154
|
+
})
|
|
155
|
+
})] }), /* @__PURE__ */ o(c, { children: /* @__PURE__ */ o(i, { status: h.status }) })]
|
|
156
|
+
})
|
|
157
|
+
]
|
|
158
|
+
}), P && /* @__PURE__ */ o(c, {
|
|
159
|
+
sx: {
|
|
160
|
+
mt: "auto",
|
|
161
|
+
borderTop: `1px solid ${w.palette.divider}`,
|
|
162
|
+
px: 4,
|
|
163
|
+
py: 2,
|
|
164
|
+
display: "flex",
|
|
165
|
+
alignItems: "center",
|
|
166
|
+
justifyContent: "flex-end"
|
|
74
167
|
},
|
|
75
|
-
|
|
168
|
+
children: /* @__PURE__ */ o(l, {
|
|
76
169
|
variant: "contained",
|
|
77
|
-
|
|
78
|
-
onClick: () =>
|
|
79
|
-
disabled: !M,
|
|
80
|
-
startIcon: /* @__PURE__ */ d(l, { size: 14 }),
|
|
81
|
-
children: N._("Pay")
|
|
82
|
-
},
|
|
83
|
-
forceApprove: {
|
|
84
|
-
variant: "outlined",
|
|
85
|
-
onClick: () => w(),
|
|
86
|
-
children: N._("Force Approve")
|
|
87
|
-
},
|
|
88
|
-
forceReject: {
|
|
89
|
-
variant: "outlined",
|
|
90
|
-
color: "error",
|
|
91
|
-
onClick: () => C(),
|
|
92
|
-
children: N._("Force Reject")
|
|
93
|
-
}
|
|
94
|
-
}, B = _.includes("cancel"), V = g?.document_id ? L ? `${N._("Bill")} #${g.document_id} ${N._("from")} ${L}` : y ? `${N._("Edit bill")} #${g.document_id}` : `${N._("Bill")} #${g.document_id}` : N._("New incoming invoice"), H = null;
|
|
95
|
-
if (!g || !n(g)) {
|
|
96
|
-
let e = _.filter((e) => e === "approve" || e === "reject"), t = _.filter((e) => e === "forceApprove" || e === "forceReject"), n = ["forceApprove", "forceReject"].filter((e) => t.includes(e)), r = n.map((e) => {
|
|
97
|
-
let { children: t, onClick: n } = z[e];
|
|
98
|
-
return {
|
|
99
|
-
key: e,
|
|
100
|
-
label: t,
|
|
101
|
-
onClick: n,
|
|
102
|
-
sx: { color: e === "forceReject" ? "error.main" : "text.primary" }
|
|
103
|
-
};
|
|
104
|
-
}), i = _.filter((e) => ![
|
|
105
|
-
"approve",
|
|
106
|
-
"reject",
|
|
107
|
-
"forceApprove",
|
|
108
|
-
"forceReject"
|
|
109
|
-
].includes(e));
|
|
110
|
-
H = /* @__PURE__ */ f(p, {
|
|
170
|
+
color: "primary",
|
|
171
|
+
onClick: () => S({ component: "PAY_NOW" }),
|
|
111
172
|
sx: {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
173
|
+
py: 1.25,
|
|
174
|
+
px: 1.5,
|
|
175
|
+
height: 32,
|
|
176
|
+
fontSize: 14,
|
|
177
|
+
ml: "auto"
|
|
115
178
|
},
|
|
116
|
-
children:
|
|
117
|
-
i.map((e) => {
|
|
118
|
-
let { children: t, ...n } = z[e];
|
|
119
|
-
return /* @__PURE__ */ d(m, {
|
|
120
|
-
...n,
|
|
121
|
-
children: t
|
|
122
|
-
}, e);
|
|
123
|
-
}),
|
|
124
|
-
e.length > 0 && e.map((e) => {
|
|
125
|
-
let { children: t, ...n } = z[e];
|
|
126
|
-
return /* @__PURE__ */ d(m, {
|
|
127
|
-
...n,
|
|
128
|
-
children: t
|
|
129
|
-
}, e);
|
|
130
|
-
}),
|
|
131
|
-
n.length > 0 && /* @__PURE__ */ d(a, { items: r })
|
|
132
|
-
]
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
return /* @__PURE__ */ f(u, { children: [
|
|
136
|
-
/* @__PURE__ */ d(o, {
|
|
137
|
-
className: "Monite-PayableDetails-Header",
|
|
138
|
-
title: V,
|
|
139
|
-
statusElement: /* @__PURE__ */ f("div", {
|
|
140
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
141
|
-
children: [/* @__PURE__ */ d(i, {
|
|
142
|
-
status: g?.status ?? "draft",
|
|
143
|
-
dueDate: g?.due_date
|
|
144
|
-
}), R && /* @__PURE__ */ d(i, {
|
|
145
|
-
status: g?.status ?? "draft",
|
|
146
|
-
dueDate: g?.due_date,
|
|
147
|
-
showOverdueBadge: !0
|
|
148
|
-
})]
|
|
149
|
-
}),
|
|
150
|
-
actions: H,
|
|
151
|
-
closeButtonTooltip: N._("Close payable details")
|
|
152
|
-
}),
|
|
153
|
-
j,
|
|
154
|
-
B && /* @__PURE__ */ d(s, {
|
|
155
|
-
isOpen: F,
|
|
156
|
-
handleCloseModal: () => I(!1),
|
|
157
|
-
handleConfirmation: T
|
|
179
|
+
children: b._("Repay now")
|
|
158
180
|
})
|
|
159
|
-
] });
|
|
181
|
+
})] });
|
|
160
182
|
};
|
|
161
183
|
//#endregion
|
|
162
|
-
export {
|
|
184
|
+
export { h as FinanceDetails };
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js
|
|
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
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { e as ReceivableCursorFields };
|