@tesouro/embedded-components-react 0.7.58 → 0.7.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/dist/index.css +0 -15
- package/dist/lib/monite-sdk.d.ts +5 -261
- package/dist/lib/monite-sdk.js +46 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +50 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +176 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +3 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +2 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +53 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +41 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +69 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +14 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +71 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +170 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +6 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +65 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +32 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +1 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +57 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +156 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +24 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +10 -567
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +16 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +69 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +41 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +49 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +40 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +78 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +75 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +113 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +77 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +125 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +54 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +117 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +54 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +26 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +59 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +184 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +29 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +3 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +35 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +16 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +102 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +42 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +101 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +171 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +67 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +24 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +212 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +87 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +160 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +101 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +43 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +133 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +217 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +73 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +181 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +196 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +99 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +63 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +53 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +91 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +39 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +72 -177
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +85 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +22 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +17 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +20 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +22 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +28 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +18 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +33 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +29 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +825 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +20 -930
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +68 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +6 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +4 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +18 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +70 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +15 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +64 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +31 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +10 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +69 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +25 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +3 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +103 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +15 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1222 -53
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +0 -2
|
@@ -1,184 +1,79 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./
|
|
2
|
-
import { useCurrencies as t } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { useCurrencies as t } from "./index62.js";
|
|
3
|
+
import "./index73.js";
|
|
4
|
+
import { FinanceBannerWrapper as n } from "./index228.js";
|
|
5
|
+
import { FinanceProgressBar as r } from "./index231.js";
|
|
6
|
+
import { FinanceMenuButtons as i } from "./index252.js";
|
|
7
7
|
import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
8
|
-
import { Box as c,
|
|
9
|
-
import { useLingui as
|
|
8
|
+
import { Box as c, Typography as l, useTheme as u } from "@mui/material";
|
|
9
|
+
import { useLingui as d } from "@lingui/react";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js
|
|
11
|
-
var
|
|
12
|
-
let {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
children:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
var f = ({ offers: f = [] }) => {
|
|
12
|
+
let { componentSettings: p } = e(), { i18n: m } = d(), h = u(), { formatCurrencyToDisplay: g } = t(), _ = f?.[0]?.total_amount ?? 0, v = (f?.[0]?.status === "LATE" ? 0 : f?.[0]?.available_amount) ?? 0, y = v / _ * 100, b = f?.[0]?.status !== "CLOSED" && f?.[0]?.status !== "DEFAULTED";
|
|
13
|
+
return !f || f.length === 0 ? null : /* @__PURE__ */ s(c, {
|
|
14
|
+
maxWidth: "440px",
|
|
15
|
+
width: "100%",
|
|
16
|
+
children: [/* @__PURE__ */ o(l, {
|
|
17
|
+
variant: "subtitle1",
|
|
18
|
+
sx: {
|
|
19
|
+
mb: 3,
|
|
20
|
+
display: "inline-block"
|
|
21
|
+
},
|
|
22
|
+
children: m._("My financing")
|
|
23
|
+
}), /* @__PURE__ */ o(n, { children: /* @__PURE__ */ s(c, {
|
|
24
|
+
sx: {
|
|
25
|
+
display: "flex",
|
|
26
|
+
flexDirection: "column",
|
|
27
|
+
gap: 1.25
|
|
28
|
+
},
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ o(c, { children: b ? /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o(l, {
|
|
31
|
+
variant: "body1",
|
|
32
|
+
children: m._("Remaining limit")
|
|
33
|
+
}), /* @__PURE__ */ s(c, {
|
|
34
|
+
display: "flex",
|
|
35
|
+
alignItems: "center",
|
|
36
|
+
gap: 1,
|
|
37
|
+
children: [/* @__PURE__ */ o(l, {
|
|
38
|
+
variant: "h2",
|
|
39
|
+
fontSize: 24,
|
|
40
|
+
lineHeight: "32px",
|
|
41
|
+
children: g(v, "USD")
|
|
42
|
+
}), /* @__PURE__ */ s(l, {
|
|
43
|
+
component: "span",
|
|
44
|
+
variant: "subtitle1",
|
|
45
|
+
fontSize: 18,
|
|
46
|
+
color: h.palette.grey[400],
|
|
47
|
+
children: ["/ ", g(_, "USD")]
|
|
48
|
+
})]
|
|
49
|
+
})] }) : /* @__PURE__ */ o(l, {
|
|
50
|
+
variant: "h2",
|
|
51
|
+
fontSize: 24,
|
|
52
|
+
children: m._("Not available")
|
|
53
|
+
}) }),
|
|
54
|
+
/* @__PURE__ */ s(c, {
|
|
40
55
|
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
56
|
flexDirection: "column",
|
|
97
|
-
|
|
98
|
-
|
|
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, {
|
|
57
|
+
gap: 1.5,
|
|
58
|
+
children: [b && /* @__PURE__ */ o(r, { progress: y }), /* @__PURE__ */ o(l, {
|
|
111
59
|
variant: "body1",
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
})
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
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"
|
|
167
|
-
},
|
|
168
|
-
children: /* @__PURE__ */ o(l, {
|
|
169
|
-
variant: "contained",
|
|
170
|
-
color: "primary",
|
|
171
|
-
onClick: () => S({ component: "PAY_NOW" }),
|
|
172
|
-
sx: {
|
|
173
|
-
py: 1.25,
|
|
174
|
-
px: 1.5,
|
|
175
|
-
height: 32,
|
|
176
|
-
fontSize: 14,
|
|
177
|
-
ml: "auto"
|
|
178
|
-
},
|
|
179
|
-
children: b._("Repay now")
|
|
180
|
-
})
|
|
181
|
-
})] });
|
|
60
|
+
fontSize: 14,
|
|
61
|
+
lineHeight: "22px",
|
|
62
|
+
fontWeight: 400,
|
|
63
|
+
children: (() => {
|
|
64
|
+
switch (f?.[0]?.status) {
|
|
65
|
+
case "DEFAULTED": return m._("Financing is blocked due to a violation of the agreed-upon terms. Please, contact the provider for further details.");
|
|
66
|
+
case "CLOSED": return m._("Financing is not available for your business anymore. Please, contact the provider for further details.");
|
|
67
|
+
case "LATE": return m._("Due to late payment your financing is currently on hold. Please, contact the provider for further details.");
|
|
68
|
+
default: return m._("Your amount available for financing additional invoices.");
|
|
69
|
+
}
|
|
70
|
+
})()
|
|
71
|
+
})]
|
|
72
|
+
}),
|
|
73
|
+
p?.financing?.enableFinanceWidgetButton && /* @__PURE__ */ o(i, {})
|
|
74
|
+
]
|
|
75
|
+
}) })]
|
|
76
|
+
});
|
|
182
77
|
};
|
|
183
78
|
//#endregion
|
|
184
|
-
export {
|
|
79
|
+
export { f as FinanceLimits };
|
|
@@ -1,16 +1,87 @@
|
|
|
1
|
+
import { Fragment as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { Box as r, List as i, ListItem as a, Typography as o, lighten as s, useTheme as c } from "@mui/material";
|
|
4
|
+
import { useLingui as l } from "@lingui/react";
|
|
5
|
+
import u from "@mui/icons-material/MonetizationOnOutlined";
|
|
1
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
var d = ({ offers: d }) => {
|
|
8
|
+
let { i18n: f } = l(), p = c();
|
|
9
|
+
return !d || d.length === 0 ? null : /* @__PURE__ */ n(r, {
|
|
10
|
+
width: "100%",
|
|
11
|
+
children: [/* @__PURE__ */ t(o, {
|
|
12
|
+
variant: "subtitle1",
|
|
13
|
+
sx: {
|
|
14
|
+
mb: 3,
|
|
15
|
+
display: "inline-block"
|
|
16
|
+
},
|
|
17
|
+
children: f._("Current offer")
|
|
18
|
+
}), /* @__PURE__ */ t(r, {
|
|
19
|
+
sx: {
|
|
20
|
+
display: "flex",
|
|
21
|
+
gap: 2,
|
|
22
|
+
flexWrap: "wrap"
|
|
23
|
+
},
|
|
24
|
+
children: d.map((c, l) => c?.pricing_plans?.map((d, m) => /* @__PURE__ */ n(r, {
|
|
25
|
+
width: 232,
|
|
26
|
+
height: 148,
|
|
27
|
+
px: 3,
|
|
28
|
+
py: 2.5,
|
|
29
|
+
sx: {
|
|
30
|
+
backgroundColor: p.palette.background.paper,
|
|
31
|
+
borderRadius: "16px",
|
|
32
|
+
border: `1px solid ${p.palette.divider}`
|
|
33
|
+
},
|
|
34
|
+
children: [/* @__PURE__ */ n(r, {
|
|
35
|
+
sx: {
|
|
36
|
+
display: "flex",
|
|
37
|
+
alignItems: "center",
|
|
38
|
+
gap: 1,
|
|
39
|
+
mb: 2
|
|
40
|
+
},
|
|
41
|
+
children: [/* @__PURE__ */ t(u, { sx: {
|
|
42
|
+
fontSize: 24,
|
|
43
|
+
color: s(p.palette.primary.main, .6)
|
|
44
|
+
} }), /* @__PURE__ */ t(o, {
|
|
45
|
+
variant: "body1",
|
|
46
|
+
fontWeight: 500,
|
|
47
|
+
sx: {
|
|
48
|
+
flex: "1 1 0%",
|
|
49
|
+
width: "100%"
|
|
50
|
+
},
|
|
51
|
+
children: f._("Financing plan")
|
|
52
|
+
})]
|
|
53
|
+
}), /* @__PURE__ */ t(i, {
|
|
54
|
+
sx: { p: 0 },
|
|
55
|
+
children: /* @__PURE__ */ n(e, { children: [
|
|
56
|
+
/* @__PURE__ */ t(a, {
|
|
57
|
+
sx: { p: 0 },
|
|
58
|
+
children: /* @__PURE__ */ t(o, {
|
|
59
|
+
variant: "body1",
|
|
60
|
+
fontWeight: 400,
|
|
61
|
+
children: f._("{itemAdvance_rate_percentage}% advance rate", { itemAdvance_rate_percentage: d.advance_rate_percentage / 100 })
|
|
62
|
+
})
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ t(a, {
|
|
65
|
+
sx: { p: 0 },
|
|
66
|
+
children: /* @__PURE__ */ t(o, {
|
|
67
|
+
variant: "body1",
|
|
68
|
+
fontWeight: 400,
|
|
69
|
+
children: f._("Pay in {itemRepayment_duration_days} days", { itemRepayment_duration_days: d.repayment_duration_days })
|
|
70
|
+
})
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ t(a, {
|
|
73
|
+
sx: { p: 0 },
|
|
74
|
+
children: /* @__PURE__ */ t(o, {
|
|
75
|
+
variant: "body1",
|
|
76
|
+
fontWeight: 400,
|
|
77
|
+
children: f._("{itemFee_percentage}% fee", { itemFee_percentage: d.fee_percentage / 100 })
|
|
78
|
+
})
|
|
79
|
+
})
|
|
80
|
+
] }, d.advance_rate_percentage)
|
|
81
|
+
})]
|
|
82
|
+
}, `${c.available_amount}-${l}-${c.total_amount}-${m}`)))
|
|
83
|
+
})]
|
|
84
|
+
});
|
|
85
|
+
};
|
|
15
86
|
//#endregion
|
|
16
|
-
export {
|
|
87
|
+
export { d as FinanceOffers };
|
|
@@ -1,206 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { useAutosizeGridColumns as i } from "./index73.js";
|
|
6
|
-
import { Dialog as a } from "./index125.js";
|
|
7
|
-
import "./index126.js";
|
|
8
|
-
import { MoniteScopedProviders as o } from "./index151.js";
|
|
9
|
-
import { GetNoRowsOverlay as s } from "./index157.js";
|
|
10
|
-
import { TablePagination as c } from "./index179.js";
|
|
11
|
-
import { classNames as l } from "./index181.js";
|
|
12
|
-
import { useKanmonContext as u } from "./index242.js";
|
|
13
|
-
import { useGetFinancedInvoices as d } from "./index245.js";
|
|
14
|
-
import "./index246.js";
|
|
15
|
-
import { FinancedInvoiceStatusChip as f } from "./index250.js";
|
|
16
|
-
import { FinanceDetails as p } from "./index253.js";
|
|
17
|
-
import { ReceivableCursorFields as m } from "./index254.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 { FinanceLimits as e } from "./index253.js";
|
|
2
|
+
import { FinanceOffers as t } from "./index254.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import { Box as i } from "@mui/material";
|
|
23
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
pagination_token: F
|
|
32
|
-
}), K = H?.data, q = (e) => {
|
|
33
|
-
B(e[0]), I(void 0);
|
|
34
|
-
}, J = D.dateFormat, Y = h(() => [
|
|
35
|
-
{
|
|
36
|
-
field: "document_id",
|
|
37
|
-
headerName: E._("Number"),
|
|
38
|
-
sortable: !1,
|
|
39
|
-
width: 140,
|
|
40
|
-
renderCell: ({ value: e }) => e ? /* @__PURE__ */ _("span", {
|
|
41
|
-
className: "Monite-TextOverflowContainer",
|
|
42
|
-
children: e
|
|
43
|
-
}) : /* @__PURE__ */ _("span", {
|
|
44
|
-
className: "Monite-TextOverflowContainer",
|
|
45
|
-
children: /* @__PURE__ */ _(x, {
|
|
46
|
-
color: "text.secondary",
|
|
47
|
-
component: "span",
|
|
48
|
-
fontSize: "inherit",
|
|
49
|
-
children: E._("Pending")
|
|
50
|
-
})
|
|
51
|
-
})
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
field: "payer_type",
|
|
55
|
-
headerName: E._("Customer"),
|
|
56
|
-
display: "flex",
|
|
57
|
-
width: 250,
|
|
58
|
-
renderCell: (e) => /* @__PURE__ */ _(x, { children: e.row.payer_type == "BUSINESS" ? e.row.payer_business_name : `${e.row.payer_first_name} ${e.row.payer_last_name}` })
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
field: "status",
|
|
62
|
-
headerName: E._("Status"),
|
|
63
|
-
sortable: m.includes("status"),
|
|
64
|
-
width: 160,
|
|
65
|
-
renderCell: ({ value: e }) => /* @__PURE__ */ _(f, {
|
|
66
|
-
icon: !0,
|
|
67
|
-
status: e
|
|
68
|
-
})
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
field: "total_amount",
|
|
72
|
-
headerName: E._("Amount due"),
|
|
73
|
-
headerAlign: "right",
|
|
74
|
-
align: "right",
|
|
75
|
-
width: 120,
|
|
76
|
-
valueGetter: (e, t) => {
|
|
77
|
-
let n = t.repayment_schedule?.repayment_amount;
|
|
78
|
-
return n ? V(n, t.currency) : "-";
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
field: "repayment_schedule",
|
|
83
|
-
headerName: E._("Loan sum"),
|
|
84
|
-
headerAlign: "right",
|
|
85
|
-
align: "right",
|
|
86
|
-
width: 120,
|
|
87
|
-
valueGetter: (e, t) => {
|
|
88
|
-
let n = t.repayment_schedule?.repayment_principal_amount;
|
|
89
|
-
return n ? V(n, t.currency) : "-";
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
field: "issue_date",
|
|
94
|
-
headerName: E._("Financing date"),
|
|
95
|
-
sortable: !1,
|
|
96
|
-
width: 140,
|
|
97
|
-
valueFormatter: (e) => e ? E.date(e, J) : "—"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
field: "repayment_date",
|
|
101
|
-
headerName: E._("Repayment date"),
|
|
102
|
-
sortable: !1,
|
|
103
|
-
width: 120,
|
|
104
|
-
valueGetter: (e, t) => {
|
|
105
|
-
let n = t.repayment_schedule?.repayment_date;
|
|
106
|
-
return n ? E.date(n, J) : "-";
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
field: "",
|
|
111
|
-
headerName: E._("Payment"),
|
|
112
|
-
sortable: !1,
|
|
113
|
-
width: 120,
|
|
114
|
-
renderCell: (e) => e.row.status === "FUNDED" || e.row.status === "LATE" ? /* @__PURE__ */ _(b, {
|
|
115
|
-
variant: "contained",
|
|
116
|
-
color: "primary",
|
|
117
|
-
onClick: (e) => {
|
|
118
|
-
e.stopPropagation(), k({ component: "PAY_NOW" });
|
|
119
|
-
},
|
|
120
|
-
sx: {
|
|
121
|
-
py: 1.25,
|
|
122
|
-
px: 1.5,
|
|
123
|
-
height: 32,
|
|
124
|
-
fontSize: 14
|
|
125
|
-
},
|
|
126
|
-
children: E._("Repay now")
|
|
127
|
-
}) : null
|
|
128
|
-
}
|
|
129
|
-
], [
|
|
130
|
-
V,
|
|
131
|
-
E,
|
|
132
|
-
J,
|
|
133
|
-
k
|
|
134
|
-
]), X = i(K, Y, !1, "FinancedInvoicesTable");
|
|
135
|
-
return /* @__PURE__ */ v(y, {
|
|
136
|
-
className: l(e, "Monite-FinancedInvoicesTable"),
|
|
137
|
-
sx: {
|
|
138
|
-
display: "flex",
|
|
139
|
-
flexDirection: "column",
|
|
140
|
-
overflow: "hidden",
|
|
141
|
-
height: "inherit",
|
|
142
|
-
minHeight: "500px"
|
|
143
|
-
},
|
|
144
|
-
children: [
|
|
145
|
-
/* @__PURE__ */ _(x, {
|
|
146
|
-
mb: 2,
|
|
147
|
-
variant: "subtitle1",
|
|
148
|
-
children: E._("Financed invoices")
|
|
149
|
-
}),
|
|
150
|
-
/* @__PURE__ */ _(C, {
|
|
151
|
-
apiRef: X,
|
|
152
|
-
rowSelection: !1,
|
|
153
|
-
disableColumnFilter: !0,
|
|
154
|
-
loading: U,
|
|
155
|
-
onSortModelChange: q,
|
|
156
|
-
onRowClick: (e) => {
|
|
157
|
-
j(!0), N?.(e.row);
|
|
158
|
-
},
|
|
159
|
-
slots: {
|
|
160
|
-
pagination: () => /* @__PURE__ */ _(c, {
|
|
161
|
-
pageSizeOptions: O.receivables.pageSizeOptions,
|
|
162
|
-
nextPage: H?.next_pagination_token,
|
|
163
|
-
prevPage: H?.prev_pagination_token,
|
|
164
|
-
paginationModel: {
|
|
165
|
-
pageSize: L,
|
|
166
|
-
page: F
|
|
167
|
-
},
|
|
168
|
-
onPaginationModelChange: ({ page: e, pageSize: t }) => {
|
|
169
|
-
R(t), I(e ?? void 0);
|
|
170
|
-
}
|
|
171
|
-
}),
|
|
172
|
-
noRowsOverlay: () => /* @__PURE__ */ _(s, {
|
|
173
|
-
isLoading: U,
|
|
174
|
-
dataLength: K?.length || 0,
|
|
175
|
-
isFiltering: !1,
|
|
176
|
-
isSearching: !1,
|
|
177
|
-
isError: W,
|
|
178
|
-
refetch: G,
|
|
179
|
-
entityName: E._("Financed Invoices"),
|
|
180
|
-
actionOptions: [E._("Invoice")],
|
|
181
|
-
type: "no-data"
|
|
182
|
-
})
|
|
183
|
-
},
|
|
184
|
-
columns: Y,
|
|
185
|
-
getRowId: (e) => e.document_id,
|
|
186
|
-
rows: K ?? []
|
|
187
|
-
}),
|
|
188
|
-
P && M && /* @__PURE__ */ _(a, {
|
|
189
|
-
open: A,
|
|
190
|
-
onClose: () => {
|
|
191
|
-
j(!1), N(null);
|
|
192
|
-
},
|
|
193
|
-
alignDialog: "right",
|
|
194
|
-
children: /* @__PURE__ */ _(p, {
|
|
195
|
-
invoice: P,
|
|
196
|
-
offers: T ?? [],
|
|
197
|
-
financedInvoice: M,
|
|
198
|
-
enableNavigate: !0,
|
|
199
|
-
handleNavigate: o
|
|
200
|
-
})
|
|
201
|
-
})
|
|
202
|
-
]
|
|
203
|
-
});
|
|
204
|
-
};
|
|
6
|
+
var a = ({ offers: a }) => /* @__PURE__ */ r(i, {
|
|
7
|
+
sx: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
gap: 2
|
|
10
|
+
},
|
|
11
|
+
children: [/* @__PURE__ */ n(e, { offers: a }), a?.[0]?.status === "CURRENT" && /* @__PURE__ */ n(t, { offers: a })]
|
|
12
|
+
});
|
|
205
13
|
//#endregion
|
|
206
|
-
export {
|
|
14
|
+
export { a as FinanceWidget };
|