@tesouro/embedded-components-react 0.2.60 → 0.2.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +1270 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +60 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +397 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +69 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +407 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +7 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +25 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +73 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +30 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +44 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +45 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +11 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +144 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +68 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +64 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +36 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +81 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +5 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +57 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +58 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +194 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +14 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +80 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +39 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +6 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +111 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +69 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +185 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +31 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +120 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +58 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +21 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +29 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +18 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +11 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +10 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +21 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +4 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +5 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +88 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +44 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +392 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +14 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +88 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +9 -390
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +19 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +107 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +65 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +93 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +100 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +13 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +2 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +35 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +100 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +93 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +96 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +191 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +62 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +44 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +22 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +184 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +104 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +81 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +284 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +48 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +83 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +224 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +38 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +40 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +340 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +300 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +103 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +162 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +267 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +24 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +19 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +489 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +165 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +66 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +149 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +10 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +19 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +79 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +76 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +41 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +72 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +48 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +47 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +106 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +44 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +63 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +155 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +28 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +73 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +25 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +125 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +22 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +55 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +57 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +18 -223
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +37 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +20 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +17 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +16 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +165 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +124 -257
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +157 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +61 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +67 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +57 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +9 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +59 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +24 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +60 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +14 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +60 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +29 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +108 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +57 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +18 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +29 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +29 -478
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +57 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +91 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +110 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +85 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +10 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +31 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +127 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +15 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +48 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +66 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +45 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +23 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +12 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +64 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +28 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +23 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +20 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +9 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +14 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +32 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +85 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +105 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +110 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +72 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +66 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +34 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +52 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +18 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +53 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +29 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +116 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +73 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +15 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +46 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +33 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +52 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +45 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +75 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +9 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +55 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +72 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +39 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +36 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +47 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +56 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +72 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +83 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +52 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +30 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +50 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +13 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +39 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +43 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/package.json +1 -1
|
@@ -1,269 +1,136 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import "
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import { isFieldRequired as c } from "./index352.js";
|
|
21
|
-
import { MoniteScopedProviders as pe } from "./index84.js";
|
|
22
|
-
import { useCurrencies as _e } from "./index59.js";
|
|
23
|
-
import { useOptionalFields as ye } from "./index60.js";
|
|
24
|
-
import { useCounterpartContactList as fe } from "./index75.js";
|
|
25
|
-
import { useEntityUserById as ge } from "./index76.js";
|
|
26
|
-
import { useApprovalPolicyById as be } from "./index77.js";
|
|
27
|
-
import { dateStringToLocalDate as k } from "./index97.js";
|
|
28
|
-
import { StyledLabelTableCell as s } from "./index441.js";
|
|
29
|
-
import { CenteredContentBox as ve } from "./index233.js";
|
|
30
|
-
import { TagsModal as xe } from "./index464.js";
|
|
31
|
-
import { classNames as O } from "./index186.js";
|
|
32
|
-
import Ce from "@mui/icons-material/CachedOutlined";
|
|
33
|
-
import Te from "@mui/icons-material/Edit";
|
|
34
|
-
import we from "@mui/icons-material/WarningAmberRounded";
|
|
35
|
-
import { Box as h, Typography as u, Grid as y, Paper as C, Table as T, TableBody as w, TableRow as l, TableCell as r, Stack as v, Chip as z, IconButton as Re, TableHead as Ie, CircularProgress as Se, Tooltip as G } from "@mui/material";
|
|
36
|
-
import { styled as Ne } from "@mui/material/styles";
|
|
37
|
-
import { Sparkles as Pe } from "lucide-react";
|
|
38
|
-
const H = Ne(h)(() => ({
|
|
39
|
-
pb: 6,
|
|
40
|
-
display: "flex",
|
|
41
|
-
flex: "1 1 auto",
|
|
42
|
-
overflow: "auto",
|
|
43
|
-
width: "100%",
|
|
44
|
-
height: 0
|
|
45
|
-
})), _t = (t) => /* @__PURE__ */ e(pe, { children: /* @__PURE__ */ e(Ae, { ...t }) }), Ae = ({
|
|
46
|
-
payable: t,
|
|
47
|
-
enableGLCodes: f,
|
|
48
|
-
updateTags: R,
|
|
49
|
-
...x
|
|
1
|
+
import { jsxs as r, Fragment as R, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { FinancedInvoiceStatusChip as T } from "./index55.js";
|
|
3
|
+
import { InvoiceStatusChip as N } from "./index56.js";
|
|
4
|
+
import { INVOICE_DOCUMENT_AUTO_ID as w } from "./index244.js";
|
|
5
|
+
import { useKanmonContext as A } from "./index57.js";
|
|
6
|
+
import { useMoniteContext as P } from "./index58.js";
|
|
7
|
+
import { useCurrencies as j } from "./index59.js";
|
|
8
|
+
import "react";
|
|
9
|
+
import "./index93.js";
|
|
10
|
+
import { useLingui as O } from "@lingui/react";
|
|
11
|
+
import "react-dom";
|
|
12
|
+
import "@mui/x-data-grid";
|
|
13
|
+
import { useTheme as U, Box as i, Typography as a, darken as d, Divider as f, Button as $ } from "@mui/material";
|
|
14
|
+
const Q = ({
|
|
15
|
+
invoice: s,
|
|
16
|
+
offers: g,
|
|
17
|
+
financedInvoice: e,
|
|
18
|
+
enableNavigate: u = !1,
|
|
19
|
+
handleNavigate: m
|
|
50
20
|
}) => {
|
|
51
21
|
const {
|
|
52
|
-
i18n:
|
|
53
|
-
} =
|
|
54
|
-
locale:
|
|
55
|
-
} =
|
|
56
|
-
|
|
57
|
-
} =
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
lineItemsQuery: Y
|
|
77
|
-
} = se({
|
|
78
|
-
currentCounterpartId: I?.id,
|
|
79
|
-
payableId: t.id
|
|
80
|
-
}), {
|
|
81
|
-
data: A
|
|
82
|
-
} = de(f), Z = (n) => {
|
|
83
|
-
if (!n || !A?.data) return;
|
|
84
|
-
const p = A.data.find((ie) => ie.id === n);
|
|
85
|
-
if (!p) return;
|
|
86
|
-
const L = p.nominal_code && p.type ? `${p.nominal_code} — ${p.type}` : p.nominal_code ?? p.type ?? "";
|
|
87
|
-
return L ? `${a._("GL code")}: ${L}` : void 0;
|
|
88
|
-
}, {
|
|
89
|
-
data: $
|
|
90
|
-
} = Y, ee = $?.data, {
|
|
91
|
-
data: D
|
|
92
|
-
} = fe(I?.id), {
|
|
93
|
-
data: g
|
|
94
|
-
} = ge(t.was_created_by_user_id), {
|
|
95
|
-
data: b,
|
|
96
|
-
isLoading: q
|
|
97
|
-
} = be(t.approval_policy_id), te = !!b?.id, S = B(() => D?.find((n) => n.is_default), [D]), N = B(() => P.data?.data.find((n) => n.id === t.counterpart_bank_account_id), [P, t]), m = "Monite-PayableDetailsInfo", [ae, F] = le(!1);
|
|
98
|
-
return ce(t) ? /* @__PURE__ */ e(H, { className: O(M, m, m + "--ocr-processing"), children: /* @__PURE__ */ e(ve, { children: /* @__PURE__ */ i(h, { textAlign: "center", children: [
|
|
99
|
-
/* @__PURE__ */ e(Ce, { color: "primary", fontSize: "large" }),
|
|
100
|
-
/* @__PURE__ */ e(u, { variant: "h3", mb: 2, children: a._("File is being processed...") }),
|
|
101
|
-
/* @__PURE__ */ e(u, { variant: "body1", children: a._("Hold on, we’re processing the file you’ve uploaded.") }),
|
|
102
|
-
/* @__PURE__ */ e(u, { variant: "body1", children: a._("Usually it takes no more than 1–2 minutes.") })
|
|
103
|
-
] }) }) }) : /* @__PURE__ */ i(H, { className: O(M, m), children: [
|
|
104
|
-
/* @__PURE__ */ i(y, { container: !0, spacing: 3, children: [
|
|
105
|
-
/* @__PURE__ */ i(y, { item: !0, xs: 12, className: m + "-Details", children: [
|
|
106
|
-
/* @__PURE__ */ e(u, { variant: "subtitle2", mb: 2, children: a._("Details") }),
|
|
107
|
-
/* @__PURE__ */ e(C, { variant: "outlined", children: /* @__PURE__ */ e(T, { children: /* @__PURE__ */ i(w, { children: [
|
|
108
|
-
/* @__PURE__ */ i(l, { children: [
|
|
109
|
-
/* @__PURE__ */ e(s, { isRequired: c("invoiceNumber", d, t?.document_id) && t?.ocr_status === null, children: a._("Number") }),
|
|
110
|
-
/* @__PURE__ */ e(r, { children: t.document_id ?? "—" })
|
|
111
|
-
] }),
|
|
112
|
-
/* @__PURE__ */ i(l, { children: [
|
|
113
|
-
/* @__PURE__ */ e(s, { isRequired: c("counterpartName", d) && t?.ocr_status === null, children: a._("Vendor") }),
|
|
114
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(De, { counterpart: I, counterpartRawName: W, isCounterpartAIMatched: K, isCounterpartMatchingToOCRFound: X, isCounterpartLoading: J }) })
|
|
115
|
-
] }),
|
|
116
|
-
S && /* @__PURE__ */ i(l, { children: [
|
|
117
|
-
/* @__PURE__ */ e(s, { isRequired: c("contactPerson", d) && t?.ocr_status === null, children: a._("Contact person") }),
|
|
118
|
-
/* @__PURE__ */ e(r, { children: `${S.first_name} ${S.last_name}` })
|
|
119
|
-
] }),
|
|
120
|
-
N && /* @__PURE__ */ i(l, { children: [
|
|
121
|
-
/* @__PURE__ */ e(s, { isRequired: c("counterpartBankAccount", d, N?.name) && t?.ocr_status === null, children: a._("Bank account") }),
|
|
122
|
-
/* @__PURE__ */ e(r, { children: N.name })
|
|
123
|
-
] }),
|
|
124
|
-
j && /* @__PURE__ */ i(l, { children: [
|
|
125
|
-
/* @__PURE__ */ e(s, { isRequired: c("issueDate", d) && t?.ocr_status === null, children: a._("Issue date") }),
|
|
126
|
-
/* @__PURE__ */ e(r, { children: t.issued_at ? a.date(k(t.issued_at), _.dateFormat) : "—" })
|
|
127
|
-
] }),
|
|
128
|
-
/* @__PURE__ */ i(l, { children: [
|
|
129
|
-
/* @__PURE__ */ e(s, { isRequired: c("dueDate", d, t.due_date) && t?.ocr_status === null, children: a._("Due date") }),
|
|
130
|
-
/* @__PURE__ */ e(r, { children: t.due_date ? a.date(k(t.due_date), _.dateFormat) : "—" })
|
|
131
|
-
] }),
|
|
132
|
-
/* @__PURE__ */ i(l, { children: [
|
|
133
|
-
/* @__PURE__ */ e(s, { isRequired: c("amount", d) && t?.ocr_status === null, children: a._("Total") }),
|
|
134
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(h, { sx: {
|
|
135
|
-
display: "flex",
|
|
136
|
-
justifyContent: "space-between"
|
|
137
|
-
}, children: /* @__PURE__ */ e(h, { children: t.total_amount && t.currency ? o(t.total_amount, t.currency) : t.currency ? o(0, t.currency) : "—" }) }) })
|
|
138
|
-
] }),
|
|
139
|
-
E && /* @__PURE__ */ i(l, { children: [
|
|
140
|
-
/* @__PURE__ */ e(s, { isRequired: c("tags", d, t.tags?.[0]?.id) && t?.ocr_status === null, children: a._("Tags") }),
|
|
141
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ i(v, { direction: "row", gap: 1, children: [
|
|
142
|
-
/* @__PURE__ */ e(h, { sx: {
|
|
143
|
-
width: "100%"
|
|
144
|
-
}, children: t.tags?.length ? /* @__PURE__ */ e(v, { spacing: 1, direction: "row", useFlexGap: !0, flexWrap: "wrap", children: t.tags.map((n) => /* @__PURE__ */ e(z, { label: n.name, color: "primary", sx: {
|
|
145
|
-
maxWidth: 200
|
|
146
|
-
} }, n.id)) }) : /* @__PURE__ */ e(u, { variant: "body2", sx: {
|
|
147
|
-
marginTop: 1
|
|
148
|
-
}, children: a._("Not set") }) }),
|
|
149
|
-
/* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(Re, { "aria-label": a._("Edit tags"), size: "small", onClick: () => F(!0), children: /* @__PURE__ */ e(Te, { fontSize: "small" }) }) })
|
|
150
|
-
] }) })
|
|
151
|
-
] }),
|
|
152
|
-
/* @__PURE__ */ i(l, { children: [
|
|
153
|
-
/* @__PURE__ */ e(s, { isRequired: c("appliedPolicy", d) && t?.ocr_status === null, children: a._("Applied policy") }),
|
|
154
|
-
/* @__PURE__ */ e(r, { children: !q && b?.name ? /* @__PURE__ */ i(h, { sx: {
|
|
155
|
-
display: "flex",
|
|
156
|
-
alignItems: "center",
|
|
157
|
-
gap: 1
|
|
158
|
-
}, children: [
|
|
159
|
-
/* @__PURE__ */ e("span", { children: b.name }),
|
|
160
|
-
(t.status === "waiting_to_be_paid" || t.status === "paid" || t.status === "partially_paid") && /* @__PURE__ */ e(z, { label: a._("Approved"), color: "success", size: "small" })
|
|
161
|
-
] }) : !q && a._("no policy") })
|
|
162
|
-
] })
|
|
163
|
-
] }) }) })
|
|
22
|
+
i18n: n
|
|
23
|
+
} = O(), {
|
|
24
|
+
locale: x
|
|
25
|
+
} = P(), {
|
|
26
|
+
startFinanceSession: b
|
|
27
|
+
} = A(), {
|
|
28
|
+
formatCurrencyToDisplay: c
|
|
29
|
+
} = j(), o = U(), y = x.dateFormat, h = e ? n.date(e.issue_date, y) : "—", v = e ? c(e.total_amount, e.currency) : "-", l = g?.[0]?.pricing_plans?.reduce((_, p, W) => (p?.fee_percentage === e?.fee_percentage && p?.advance_rate_percentage === e?.advance_rate_percentage && (_ = {
|
|
30
|
+
pricingPlanIndex: W,
|
|
31
|
+
data: p
|
|
32
|
+
}), _), null), D = e?.repayment_schedule?.repayment_date ? n.date(e.repayment_schedule.repayment_date, y) : "—", C = e?.advance_amount ? c(e.advance_amount, e.currency) : "-", F = e?.fee_amount ? c(e.fee_amount, e.currency) : "-", I = e?.repayment_amount ? c(e.repayment_amount, e.currency) : "-", E = e?.status === "REJECTED" || e?.status === "NEW", S = e?.status === "FUNDED" || e?.status === "LATE";
|
|
33
|
+
return /* @__PURE__ */ r(R, { children: [
|
|
34
|
+
/* @__PURE__ */ r(i, { sx: {
|
|
35
|
+
p: 4,
|
|
36
|
+
display: "flex",
|
|
37
|
+
flexDirection: "column",
|
|
38
|
+
gap: 4
|
|
39
|
+
}, children: [
|
|
40
|
+
/* @__PURE__ */ t(a, { variant: "h3", children: n._("Funding details") }),
|
|
41
|
+
/* @__PURE__ */ r(i, { children: [
|
|
42
|
+
/* @__PURE__ */ t(a, { variant: "h2", fontWeight: 600, fontSize: 32, children: v }),
|
|
43
|
+
/* @__PURE__ */ t(a, { fontWeight: 500, variant: "body1", children: n._("{issueDate}", {
|
|
44
|
+
issueDate: h
|
|
45
|
+
}) })
|
|
164
46
|
] }),
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
f && n.ledger_account_id && /* @__PURE__ */ e(u, { variant: "body2", color: "secondary.main", children: Z(n.ledger_account_id) })
|
|
179
|
-
] }) }),
|
|
180
|
-
/* @__PURE__ */ e(r, { children: n.quantity }),
|
|
181
|
-
/* @__PURE__ */ e(r, { children: n.unit_price ? o(n.unit_price, t.currency ?? "USD") : "—" }),
|
|
182
|
-
/* @__PURE__ */ e(r, { align: "right", children: n.subtotal && t.currency ? /* @__PURE__ */ i(U, { children: [
|
|
183
|
-
/* @__PURE__ */ e(h, { children: o(n.subtotal ?? 0, t.currency) }),
|
|
184
|
-
/* @__PURE__ */ i(h, { sx: {
|
|
185
|
-
color: "secondary.main"
|
|
186
|
-
}, children: [
|
|
187
|
-
a._("excl. Tax"),
|
|
188
|
-
" ",
|
|
189
|
-
`${n.tax ? (n.tax / 100).toFixed(0) : 0}%`
|
|
190
|
-
] })
|
|
191
|
-
] }) : t.currency ? o(0, t.currency) : "—" })
|
|
192
|
-
] }, n.id)) })
|
|
193
|
-
] }) })
|
|
194
|
-
] }),
|
|
195
|
-
/* @__PURE__ */ e(y, { item: !0, xs: 12, className: m + "-Totals", children: /* @__PURE__ */ e(C, { variant: "outlined", children: /* @__PURE__ */ e(T, { children: /* @__PURE__ */ i(w, { children: [
|
|
196
|
-
/* @__PURE__ */ i(l, { children: [
|
|
197
|
-
/* @__PURE__ */ e(r, { children: a._("Subtotal") }),
|
|
198
|
-
/* @__PURE__ */ e(r, { align: "right", children: t.subtotal && t.currency ? o(t.subtotal, t.currency) : t.currency ? o(0, t.currency) : "—" })
|
|
199
|
-
] }),
|
|
200
|
-
!!t.discount && t.currency && /* @__PURE__ */ i(l, { children: [
|
|
201
|
-
/* @__PURE__ */ e(r, { children: a._("Discount") }),
|
|
202
|
-
/* @__PURE__ */ e(r, { align: "right", children: o(t.discount ?? 0, t.currency) })
|
|
47
|
+
/* @__PURE__ */ r(i, { sx: {
|
|
48
|
+
display: "flex",
|
|
49
|
+
gap: 3
|
|
50
|
+
}, children: [
|
|
51
|
+
/* @__PURE__ */ r(i, { width: "100%", children: [
|
|
52
|
+
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), mb: 0.5, fontWeight: 400, children: n._("Financing plan {value}", {
|
|
53
|
+
value: (l?.pricingPlanIndex ?? 0) + 1
|
|
54
|
+
}) }),
|
|
55
|
+
/* @__PURE__ */ t(a, { variant: "body1", fontWeight: 400, children: n._("{value}% advance rate, Pay in {pricingPlan} days, {value1}% fee", {
|
|
56
|
+
value: (l?.data?.advance_rate_percentage ?? 0) / 100,
|
|
57
|
+
pricingPlan: l?.data?.repayment_duration_days,
|
|
58
|
+
value1: (l?.data?.fee_percentage ?? 0) / 100
|
|
59
|
+
}) })
|
|
203
60
|
] }),
|
|
204
|
-
/* @__PURE__ */ i
|
|
205
|
-
/* @__PURE__ */
|
|
206
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ r(i, { width: "100%", children: [
|
|
62
|
+
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), mb: 0.5, fontWeight: 400, children: n._("Repayment on") }),
|
|
63
|
+
/* @__PURE__ */ t(a, { variant: "body1", fontWeight: 400, children: n._("{repaymentDate}", {
|
|
64
|
+
repaymentDate: D
|
|
65
|
+
}) })
|
|
207
66
|
] }),
|
|
208
|
-
/* @__PURE__ */ i
|
|
209
|
-
/* @__PURE__ */
|
|
210
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ r(i, { width: "100%", children: [
|
|
68
|
+
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), mb: 0.5, fontWeight: 400, children: n._("Status") }),
|
|
69
|
+
/* @__PURE__ */ t(T, { icon: !0, status: e?.status ?? "DEFAULTED" })
|
|
211
70
|
] })
|
|
212
|
-
] })
|
|
213
|
-
/* @__PURE__ */
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
71
|
+
] }),
|
|
72
|
+
/* @__PURE__ */ t(f, {}),
|
|
73
|
+
/* @__PURE__ */ r(i, { sx: {
|
|
74
|
+
display: "grid",
|
|
75
|
+
gridTemplateColumns: "minmax(140px, auto) 1fr",
|
|
76
|
+
flexDirection: "column",
|
|
77
|
+
rowGap: 1,
|
|
78
|
+
columnGap: 2
|
|
79
|
+
}, children: [
|
|
80
|
+
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), children: n._("{isRequestedSum}", {
|
|
81
|
+
isRequestedSum: E ? "Requested sum" : "Received sum"
|
|
82
|
+
}) }),
|
|
83
|
+
/* @__PURE__ */ t(a, { variant: "body1", children: C }),
|
|
84
|
+
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), children: n._("Service Fee") }),
|
|
85
|
+
/* @__PURE__ */ t(a, { variant: "body1", children: F }),
|
|
86
|
+
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), children: n._("Repayment sum") }),
|
|
87
|
+
/* @__PURE__ */ t(a, { variant: "body1", children: I })
|
|
88
|
+
] }),
|
|
89
|
+
/* @__PURE__ */ t(f, {}),
|
|
90
|
+
/* @__PURE__ */ r(i, { sx: {
|
|
91
|
+
borderRadius: "16px",
|
|
92
|
+
px: 3,
|
|
93
|
+
py: 2.5,
|
|
94
|
+
border: `1px solid ${o.palette.divider}`,
|
|
95
|
+
display: "flex",
|
|
96
|
+
gap: 2,
|
|
97
|
+
justifyContent: "space-between",
|
|
98
|
+
alignItems: "center",
|
|
99
|
+
cursor: u ? "pointer" : "default"
|
|
100
|
+
}, ...u && m && {
|
|
101
|
+
onClick: () => m(s.id)
|
|
102
|
+
}, children: [
|
|
103
|
+
/* @__PURE__ */ r(i, { children: [
|
|
104
|
+
/* @__PURE__ */ t(a, { variant: "body1", fontWeight: 500, children: n._("Invoice {invoiceDocument_id}", {
|
|
105
|
+
invoiceDocument_id: s.document_id || w
|
|
106
|
+
}) }),
|
|
107
|
+
/* @__PURE__ */ t(a, { color: o.palette.text.secondary, variant: "body2", children: n._("For {invoiceAmount} | Issued {issueDate}", {
|
|
108
|
+
invoiceAmount: v,
|
|
109
|
+
issueDate: h
|
|
110
|
+
}) })
|
|
111
|
+
] }),
|
|
112
|
+
/* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(N, { status: s.status }) })
|
|
240
113
|
] })
|
|
241
114
|
] }),
|
|
242
|
-
/* @__PURE__ */
|
|
115
|
+
S && /* @__PURE__ */ t(i, { sx: {
|
|
116
|
+
mt: "auto",
|
|
117
|
+
borderTop: `1px solid ${o.palette.divider}`,
|
|
118
|
+
px: 4,
|
|
119
|
+
py: 2,
|
|
120
|
+
display: "flex",
|
|
121
|
+
alignItems: "center",
|
|
122
|
+
justifyContent: "flex-end"
|
|
123
|
+
}, children: /* @__PURE__ */ t($, { variant: "contained", color: "primary", onClick: () => b({
|
|
124
|
+
component: "PAY_NOW"
|
|
125
|
+
}), sx: {
|
|
126
|
+
py: 1.25,
|
|
127
|
+
px: 1.5,
|
|
128
|
+
height: 32,
|
|
129
|
+
fontSize: 14,
|
|
130
|
+
ml: "auto"
|
|
131
|
+
}, children: n._("Repay now") }) })
|
|
243
132
|
] });
|
|
244
|
-
}, De = ({
|
|
245
|
-
counterpart: t,
|
|
246
|
-
counterpartRawName: f,
|
|
247
|
-
isCounterpartAIMatched: R,
|
|
248
|
-
isCounterpartMatchingToOCRFound: x,
|
|
249
|
-
isCounterpartLoading: a
|
|
250
|
-
}) => {
|
|
251
|
-
const {
|
|
252
|
-
i18n: _
|
|
253
|
-
} = Q();
|
|
254
|
-
if (a)
|
|
255
|
-
return /* @__PURE__ */ e(Se, { size: 14, color: "secondary" });
|
|
256
|
-
const o = he(t);
|
|
257
|
-
return o && !x ? /* @__PURE__ */ i(v, { component: "span", gap: 1, direction: "row", children: [
|
|
258
|
-
o,
|
|
259
|
-
R && /* @__PURE__ */ e(G, { title: _._("Vendor auto-matched by AI. The vendor name on the bill doesn’t exactly match the saved vendor, so AI selected the closest option."), children: /* @__PURE__ */ e(Pe, { className: "ttw:text-blue-600" }) })
|
|
260
|
-
] }) : f ? /* @__PURE__ */ i(v, { component: "span", gap: 1, direction: "row", children: [
|
|
261
|
-
f,
|
|
262
|
-
/* @__PURE__ */ e(G, { title: x ? _._("The vendor details in the bill don’t fully match the saved vendor.") : _._("The specified vendor has not been saved yet."), children: /* @__PURE__ */ e(we, { color: "warning", fontSize: "small", sx: {
|
|
263
|
-
alignSelf: "center"
|
|
264
|
-
} }) })
|
|
265
|
-
] }) : /* @__PURE__ */ e(U, { children: "—" });
|
|
266
133
|
};
|
|
267
134
|
export {
|
|
268
|
-
|
|
135
|
+
Q as FinanceDetails
|
|
269
136
|
};
|
|
@@ -1,27 +1,164 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { jsx as t, jsxs as $ } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { FinanceDetails as z } from "./index336.js";
|
|
3
|
+
import { ScopedCssBaselineContainerClassName as G } from "./index105.js";
|
|
4
|
+
import { FinancedInvoiceStatusChip as k } from "./index55.js";
|
|
5
|
+
import { useMoniteContext as A } from "./index58.js";
|
|
6
|
+
import "react-hot-toast";
|
|
7
|
+
import { useLingui as E } from "@lingui/react";
|
|
8
|
+
import { useKanmonContext as L } from "./index57.js";
|
|
9
|
+
import { useCurrencies as B } from "./index59.js";
|
|
10
|
+
import { useState as r, useMemo as W } from "react";
|
|
11
|
+
import "./index93.js";
|
|
12
|
+
import { defaultCounterpartColumnWidth as j, useAutosizeGridColumns as U } from "./index63.js";
|
|
13
|
+
import "@tanstack/react-query";
|
|
14
|
+
import "date-fns";
|
|
15
|
+
import { useGetReceivableById as q } from "./index83.js";
|
|
16
|
+
import "react-script-hook";
|
|
17
|
+
import { useGetFinancedInvoices as H } from "./index338.js";
|
|
18
|
+
import { MoniteScopedProviders as K } from "./index84.js";
|
|
19
|
+
import { ReceivableCursorFields as V } from "./index173.js";
|
|
20
|
+
import { GetNoRowsOverlay as Y } from "./index163.js";
|
|
21
|
+
import { Dialog as Z } from "./index51.js";
|
|
22
|
+
import { TablePagination as J } from "./index87.js";
|
|
23
|
+
import { classNames as Q } from "./index178.js";
|
|
24
|
+
import { Typography as c, Button as X, Box as ee } from "@mui/material";
|
|
25
|
+
import { DataGrid as ae } from "@mui/x-data-grid";
|
|
26
|
+
const Re = (s) => /* @__PURE__ */ t(K, { children: /* @__PURE__ */ t(te, { ...s }) }), te = ({
|
|
27
|
+
onRowClick: s,
|
|
28
|
+
query: u,
|
|
29
|
+
offers: x
|
|
30
|
+
}) => {
|
|
6
31
|
const {
|
|
7
|
-
i18n:
|
|
8
|
-
} =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
32
|
+
i18n: a
|
|
33
|
+
} = E(), {
|
|
34
|
+
locale: b,
|
|
35
|
+
componentSettings: f
|
|
36
|
+
} = A(), {
|
|
37
|
+
startFinanceSession: h
|
|
38
|
+
} = L(), [F, g] = r(!1), [n, _] = r(null), {
|
|
39
|
+
data: v
|
|
40
|
+
} = q(n?.invoice_id ?? "", !!n?.invoice_id), [y, w] = r(void 0), [C, I] = r(f.receivables.pageSizeOptions?.[0] ?? 10), [R, M] = r({
|
|
41
|
+
field: u?.sort ?? "created_at",
|
|
42
|
+
sort: u?.order ?? "desc"
|
|
43
|
+
}), {
|
|
44
|
+
formatCurrencyToDisplay: l
|
|
45
|
+
} = B(), {
|
|
46
|
+
data: d,
|
|
47
|
+
isLoading: N,
|
|
48
|
+
isError: O,
|
|
49
|
+
refetch: T
|
|
50
|
+
} = H({
|
|
51
|
+
order: R?.sort,
|
|
52
|
+
limit: C,
|
|
53
|
+
pagination_token: y
|
|
54
|
+
}), m = d?.data, D = (e) => {
|
|
55
|
+
M(e[0]), w(void 0);
|
|
56
|
+
}, p = b.dateFormat, S = W(() => [{
|
|
57
|
+
field: "document_id",
|
|
58
|
+
headerName: a._("Number"),
|
|
59
|
+
sortable: !1,
|
|
60
|
+
width: 140,
|
|
61
|
+
renderCell: ({
|
|
62
|
+
value: e
|
|
63
|
+
}) => e ? /* @__PURE__ */ t("span", { className: "Monite-TextOverflowContainer", children: e }) : /* @__PURE__ */ t("span", { className: "Monite-TextOverflowContainer", children: /* @__PURE__ */ t(c, { color: "text.secondary", component: "span", fontSize: "inherit", children: a._("INV-auto") }) })
|
|
64
|
+
}, {
|
|
65
|
+
field: "payer_type",
|
|
66
|
+
headerName: a._("Customer"),
|
|
67
|
+
display: "flex",
|
|
68
|
+
width: j,
|
|
69
|
+
renderCell: (e) => /* @__PURE__ */ t(c, { children: e.row.payer_type == "BUSINESS" ? e.row.payer_business_name : `${e.row.payer_first_name} ${e.row.payer_last_name}` })
|
|
70
|
+
}, {
|
|
71
|
+
field: "status",
|
|
72
|
+
headerName: a._("Status"),
|
|
73
|
+
sortable: V.includes("status"),
|
|
74
|
+
width: 160,
|
|
75
|
+
renderCell: ({
|
|
76
|
+
value: e
|
|
77
|
+
}) => /* @__PURE__ */ t(k, { icon: !0, status: e })
|
|
78
|
+
}, {
|
|
79
|
+
field: "total_amount",
|
|
80
|
+
headerName: a._("Amount due"),
|
|
81
|
+
headerAlign: "right",
|
|
82
|
+
align: "right",
|
|
83
|
+
width: 120,
|
|
84
|
+
valueGetter: (e, i) => {
|
|
85
|
+
const o = i.repayment_schedule?.repayment_amount;
|
|
86
|
+
return o ? l(o, i.currency) : "-";
|
|
87
|
+
}
|
|
88
|
+
}, {
|
|
89
|
+
field: "repayment_schedule",
|
|
90
|
+
headerName: a._("Loan sum"),
|
|
91
|
+
headerAlign: "right",
|
|
92
|
+
align: "right",
|
|
93
|
+
width: 120,
|
|
94
|
+
valueGetter: (e, i) => {
|
|
95
|
+
const o = i.repayment_schedule?.repayment_principal_amount;
|
|
96
|
+
return o ? l(o, i.currency) : "-";
|
|
97
|
+
}
|
|
98
|
+
}, {
|
|
99
|
+
field: "issue_date",
|
|
100
|
+
headerName: a._("Financing date"),
|
|
101
|
+
sortable: !1,
|
|
102
|
+
width: 140,
|
|
103
|
+
valueFormatter: (e) => e ? a.date(e, p) : "—"
|
|
104
|
+
}, {
|
|
105
|
+
field: "repayment_date",
|
|
106
|
+
headerName: a._("Repayment date"),
|
|
107
|
+
sortable: !1,
|
|
108
|
+
width: 120,
|
|
109
|
+
valueGetter: (e, i) => {
|
|
110
|
+
const o = i.repayment_schedule?.repayment_date;
|
|
111
|
+
return o ? a.date(o, p) : "-";
|
|
112
|
+
}
|
|
113
|
+
}, {
|
|
114
|
+
field: "",
|
|
115
|
+
headerName: a._("Payment"),
|
|
116
|
+
sortable: !1,
|
|
117
|
+
width: 120,
|
|
118
|
+
renderCell: (e) => e.row.status === "FUNDED" || e.row.status === "LATE" ? /* @__PURE__ */ t(X, { variant: "contained", color: "primary", onClick: (i) => {
|
|
119
|
+
i.stopPropagation(), h({
|
|
120
|
+
component: "PAY_NOW"
|
|
121
|
+
});
|
|
122
|
+
}, sx: {
|
|
123
|
+
py: 1.25,
|
|
124
|
+
px: 1.5,
|
|
125
|
+
height: 32,
|
|
126
|
+
fontSize: 14
|
|
127
|
+
}, children: a._("Repay now") }) : null
|
|
128
|
+
}], [l, a, p, h]), P = U(
|
|
129
|
+
m,
|
|
130
|
+
S,
|
|
131
|
+
!1,
|
|
132
|
+
// eslint-disable-next-line lingui/no-unlocalized-strings
|
|
133
|
+
"FinancedInvoicesTable"
|
|
134
|
+
);
|
|
135
|
+
return /* @__PURE__ */ $(ee, { className: Q(G, "Monite-FinancedInvoicesTable"), sx: {
|
|
12
136
|
display: "flex",
|
|
13
137
|
flexDirection: "column",
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
margin: "auto"
|
|
138
|
+
overflow: "hidden",
|
|
139
|
+
height: "inherit",
|
|
140
|
+
minHeight: "500px"
|
|
18
141
|
}, children: [
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
142
|
+
/* @__PURE__ */ t(c, { mb: 2, variant: "subtitle1", children: a._("Financed invoices") }),
|
|
143
|
+
/* @__PURE__ */ t(ae, { apiRef: P, rowSelection: !1, disableColumnFilter: !0, loading: N, onSortModelChange: D, onRowClick: (e) => {
|
|
144
|
+
g(!0), _?.(e.row);
|
|
145
|
+
}, slots: {
|
|
146
|
+
pagination: () => /* @__PURE__ */ t(J, { pageSizeOptions: f.receivables.pageSizeOptions, nextPage: d?.next_pagination_token, prevPage: d?.prev_pagination_token, paginationModel: {
|
|
147
|
+
pageSize: C,
|
|
148
|
+
page: y
|
|
149
|
+
}, onPaginationModelChange: ({
|
|
150
|
+
page: e,
|
|
151
|
+
pageSize: i
|
|
152
|
+
}) => {
|
|
153
|
+
I(i), w(e ?? void 0);
|
|
154
|
+
} }),
|
|
155
|
+
noRowsOverlay: () => /* @__PURE__ */ t(Y, { isLoading: N, dataLength: m?.length || 0, isFiltering: !1, isSearching: !1, isError: O, refetch: T, entityName: a._("Financed Invoices"), actionOptions: [a._("Invoice")], type: "no-data" })
|
|
156
|
+
}, columns: S, getRowId: (e) => e.document_id, rows: m ?? [] }),
|
|
157
|
+
v && n && /* @__PURE__ */ t(Z, { open: F, onClose: () => {
|
|
158
|
+
g(!1), _(null);
|
|
159
|
+
}, alignDialog: "right", children: /* @__PURE__ */ t(z, { invoice: v, offers: x ?? [], financedInvoice: n, enableNavigate: !0, handleNavigate: s }) })
|
|
160
|
+
] });
|
|
24
161
|
};
|
|
25
162
|
export {
|
|
26
|
-
|
|
163
|
+
Re as FinancedInvoicesTable
|
|
27
164
|
};
|
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
objectFit: "contain"
|
|
12
|
-
} }), c = ({
|
|
13
|
-
url: o,
|
|
14
|
-
showCloseButton: l,
|
|
15
|
-
onClose: t
|
|
16
|
-
}) => {
|
|
17
|
-
const [s, n] = i(!1);
|
|
18
|
-
return a(() => n(!0), []), s ? /* @__PURE__ */ e(u, { fallback: null, children: /* @__PURE__ */ e(m, { url: o, showCloseButton: l, onClose: t }) }) : null;
|
|
1
|
+
import { useMoniteContext as s } from "./index58.js";
|
|
2
|
+
const i = (e, n = !0) => {
|
|
3
|
+
const {
|
|
4
|
+
api: t
|
|
5
|
+
} = s();
|
|
6
|
+
return t.finops.getFinancingInvoices.useQuery({
|
|
7
|
+
query: e
|
|
8
|
+
}, {
|
|
9
|
+
enabled: n
|
|
10
|
+
});
|
|
19
11
|
};
|
|
20
12
|
export {
|
|
21
|
-
|
|
13
|
+
i as useGetFinancedInvoices
|
|
22
14
|
};
|