@tesouro/embedded-components-react 0.2.83 → 0.2.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +25 -0
- package/dist/index.d.ts +34 -1
- package/dist/lib/ReceivablesWidget.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +5 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +10 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -46
- 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 +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +152 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +24 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +5 -5
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +27 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +13 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +20 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +20 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +11 -9
- 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 +21 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +117 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +11 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +93 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +98 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +59 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +398 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +406 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +35 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +100 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +26 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +6 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +212 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +10 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +12 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +2 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +73 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +44 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +40 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +54 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +28 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +113 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +42 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +56 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +490 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +160 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +22 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +51 -485
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +26 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +60 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +20 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +17 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +21 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +14 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +74 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +76 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +42 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +92 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +94 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +187 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +17 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +28 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +40 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +95 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +109 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +83 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +337 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +299 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +98 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +162 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +263 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +25 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +62 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +156 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +27 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +28 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +77 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +18 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +171 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +153 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +10 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +60 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +65 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +60 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +6 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +8 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +57 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +24 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +59 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +60 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +44 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +23 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +186 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +104 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +81 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +282 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +48 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +15 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +78 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +220 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +149 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +19 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +26 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +127 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +94 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +71 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +48 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +50 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +37 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +65 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +11 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +255 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +11 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +46 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +43 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +38 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +99 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +33 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +52 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +22 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +43 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +73 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +89 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +37 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +123 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +10 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +7 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +51 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +30 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +4 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +125 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +33 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +93 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +32 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +65 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +15 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +17 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +20 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +65 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +2 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +66 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +39 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +32 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +85 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +97 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +108 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +20 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +27 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +37 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +38 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +8 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +66 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +45 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +71 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +86 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +50 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +49 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +51 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +47 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +56 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +72 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +49 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +29 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +38 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +81 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +32 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +39 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +39 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +14 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +50 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +29 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +50 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +12 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +92 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +75 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +41 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +48 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +20 -20
- package/dist/pending-feature-style-sources.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,106 +1,52 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
formName: n,
|
|
18
|
-
style: t,
|
|
19
|
-
children: i,
|
|
20
|
-
handleIssueAndSend: a
|
|
21
|
-
}) => /* @__PURE__ */ e("form", { id: n, noValidate: !0, onSubmit: a, style: t, children: i }), k = ({
|
|
22
|
-
invoiceId: n,
|
|
23
|
-
control: t
|
|
1
|
+
import { jsx as t, jsxs as e, Fragment as c } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useEffect as f } from "react";
|
|
3
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
|
+
import { X as g, CloudUpload as x, AlertCircle as N, CheckCircle2 as b } from "lucide-react";
|
|
5
|
+
import { LoadingSpinner as y } from "./index131.js";
|
|
6
|
+
import { Typography as l } from "./index85.js";
|
|
7
|
+
import { twMerge as v } from "tailwind-merge";
|
|
8
|
+
import { UploadBar as C } from "./index452.js";
|
|
9
|
+
const U = ({
|
|
10
|
+
isUploading: o,
|
|
11
|
+
isSuccess: r,
|
|
12
|
+
isError: i,
|
|
13
|
+
isDraggingOver: d,
|
|
14
|
+
resetUpload: a,
|
|
15
|
+
fileName: m,
|
|
16
|
+
onClick: u
|
|
24
17
|
}) => {
|
|
25
18
|
const {
|
|
26
|
-
|
|
27
|
-
} =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
19
|
+
i18n: s
|
|
20
|
+
} = h(), w = o || r || i;
|
|
21
|
+
function p() {
|
|
22
|
+
return i ? /* @__PURE__ */ t(N, { className: "ttw:size-5 ttw:text-danger" }) : r ? /* @__PURE__ */ t(b, { className: "ttw:size-5 ttw:text-success" }) : /* @__PURE__ */ t(y, { className: "ttw:w-5 ttw:h-5" });
|
|
23
|
+
}
|
|
24
|
+
return f(() => {
|
|
25
|
+
let n;
|
|
26
|
+
return r && (n = setTimeout(() => a(), 2e3)), () => clearTimeout(n);
|
|
27
|
+
}, [r, a]), /* @__PURE__ */ t("div", { className: v("ttw:w-full ttw:h-38 ttw:bg-white ttw:box-border ttw:transition-all ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:gap-2 ttw:rounded-lg ttw:border ttw:px-4 ttw:py-6", d ? "ttw:border-solid ttw:border-primary" : "ttw:border-dashed ttw:border-border"), onClick: () => {
|
|
28
|
+
w || u();
|
|
29
|
+
}, children: w ? /* @__PURE__ */ e(c, { children: [
|
|
30
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-4 ttw:justify-center ttw:w-full", children: [
|
|
31
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:w-1/2 ttw:items-center", children: [
|
|
32
|
+
p(),
|
|
33
|
+
/* @__PURE__ */ t("span", { className: "ttw:w-full ttw:text-sm ttw:leading-5 ttw:text-medium ttw:text-neutral ttw:truncate", children: m })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:items-center", children: [
|
|
36
|
+
/* @__PURE__ */ t(C, { shouldStartProgress: o, isError: i, isSuccess: r }),
|
|
37
|
+
i && /* @__PURE__ */ t("button", { type: "button", disabled: o, onClick: a, className: "ttw:border-none ttw:cursor-pointer", children: /* @__PURE__ */ t(g, { className: "ttw:size-4" }) })
|
|
38
|
+
] })
|
|
39
|
+
] }),
|
|
40
|
+
i && /* @__PURE__ */ t(l, { variant: "body2", color: "destructive", className: "ttw:font-medium", children: s._("Wrong file format. Please, upload the file in JPEG, PNG or GIF format.") })
|
|
41
|
+
] }) : /* @__PURE__ */ e(c, { children: [
|
|
42
|
+
/* @__PURE__ */ t("div", { className: "ttw:p-3 ttw:bg-primary ttw:rounded-full", children: /* @__PURE__ */ t(x, { className: "ttw:text-white ttw:size-5" }) }),
|
|
43
|
+
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:font-medium", children: [
|
|
44
|
+
s._("Drop your files here, or "),
|
|
45
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline ttw:hover:cursor-pointer", children: s._("click to browse") })
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ t(l, { variant: "caption", color: "muted", children: s._("PNG, JPG or GIF (max. 10MB)") })
|
|
47
48
|
] }) });
|
|
48
|
-
}, O = ({
|
|
49
|
-
invoiceId: n,
|
|
50
|
-
control: t,
|
|
51
|
-
isDisabled: i
|
|
52
|
-
}) => {
|
|
53
|
-
const {
|
|
54
|
-
i18n: a
|
|
55
|
-
} = I();
|
|
56
|
-
return /* @__PURE__ */ d(C, { children: [
|
|
57
|
-
/* @__PURE__ */ e(u, { sx: {
|
|
58
|
-
mb: 3
|
|
59
|
-
}, children: /* @__PURE__ */ e(m, { sx: {
|
|
60
|
-
px: 3,
|
|
61
|
-
pt: 1,
|
|
62
|
-
pb: 1,
|
|
63
|
-
"&:last-child": {
|
|
64
|
-
pb: 1
|
|
65
|
-
}
|
|
66
|
-
// last-child is necessary to override default style of the MUI theme
|
|
67
|
-
}, children: /* @__PURE__ */ d(f, { spacing: 2, direction: "row", alignItems: "center", children: [
|
|
68
|
-
/* @__PURE__ */ e(h, { variant: "body2", sx: {
|
|
69
|
-
minWidth: "52px"
|
|
70
|
-
}, children: a._("To") }),
|
|
71
|
-
/* @__PURE__ */ e(k, { invoiceId: n, control: t })
|
|
72
|
-
] }) }) }),
|
|
73
|
-
/* @__PURE__ */ d(u, { children: [
|
|
74
|
-
/* @__PURE__ */ e(m, { sx: {
|
|
75
|
-
px: 3,
|
|
76
|
-
py: 1,
|
|
77
|
-
borderBottomWidth: "1px",
|
|
78
|
-
borderBottomStyle: "solid",
|
|
79
|
-
borderBottomColor: "divider"
|
|
80
|
-
}, children: /* @__PURE__ */ d(f, { spacing: 2, direction: "row", alignItems: "center", children: [
|
|
81
|
-
/* @__PURE__ */ e(h, { variant: "body2", children: a._("Subject") }),
|
|
82
|
-
/* @__PURE__ */ e(c, { name: "subject", control: t, render: ({
|
|
83
|
-
field: r,
|
|
84
|
-
fieldState: {
|
|
85
|
-
error: o
|
|
86
|
-
}
|
|
87
|
-
}) => /* @__PURE__ */ e(b, { id: r.name, "data-testid": `${r.name}-input`, variant: "standard", className: "Monite-NakedField", fullWidth: !0, error: !!o, helperText: o?.message, required: !0, ...r, disabled: i }) })
|
|
88
|
-
] }) }),
|
|
89
|
-
/* @__PURE__ */ e(m, { sx: {
|
|
90
|
-
pl: 3,
|
|
91
|
-
pr: 3,
|
|
92
|
-
pb: 3,
|
|
93
|
-
pt: 1
|
|
94
|
-
}, children: /* @__PURE__ */ e(c, { name: "body", control: t, render: ({
|
|
95
|
-
field: r,
|
|
96
|
-
fieldState: {
|
|
97
|
-
error: o
|
|
98
|
-
}
|
|
99
|
-
}) => /* @__PURE__ */ e(b, { id: r.name, "data-testid": `${r.name}-input`, variant: "standard", className: "Monite-NakedField", fullWidth: !0, error: !!o, helperText: o?.message, required: !0, multiline: !0, rows: 8, ...r, disabled: i }) }) })
|
|
100
|
-
] })
|
|
101
|
-
] });
|
|
102
49
|
};
|
|
103
50
|
export {
|
|
104
|
-
|
|
105
|
-
O as FormContent
|
|
51
|
+
U as DragAndDropBox
|
|
106
52
|
};
|
|
@@ -1,23 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
counterpart_id: t.id,
|
|
12
|
-
email: r,
|
|
13
|
-
is_default: !0,
|
|
14
|
-
first_name: o(t),
|
|
15
|
-
last_name: "",
|
|
16
|
-
is_customer: t.is_customer,
|
|
17
|
-
is_vendor: t.is_vendor
|
|
18
|
-
};
|
|
19
|
-
}, u = (a, t) => a?.length ? a : t ? [t] : [];
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Switch as a } from "radix-ui";
|
|
3
|
+
import { cn as e } from "./index100.js";
|
|
4
|
+
function o({
|
|
5
|
+
className: s,
|
|
6
|
+
size: r = "default",
|
|
7
|
+
...i
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "switch", "data-size": r, className: e("ttw:peer ttw:group/switch ttw:inline-flex ttw:shrink-0 ttw:items-center ttw:rounded-full ttw:border ttw:border-transparent ttw:shadow-xs ttw:transition-all ttw:outline-none ttw:focus-visible:border-ring ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50 ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-[1.15rem] ttw:data-[size=default]:w-8 ttw:data-[size=sm]:h-3.5 ttw:data-[size=sm]:w-6 ttw:data-[state=checked]:bg-primary ttw:data-[state=unchecked]:bg-input ttw:dark:data-[state=unchecked]:bg-input/80", s), ...i, children: /* @__PURE__ */ t(a.Thumb, { "data-slot": "switch-thumb", className: e("ttw:pointer-events-none ttw:block ttw:rounded-full ttw:bg-background ttw:ring-0 ttw:transition-transform ttw:group-data-[size=default]/switch:size-4 ttw:group-data-[size=sm]/switch:size-3 ttw:data-[state=checked]:translate-x-[calc(100%-2px)] ttw:data-[state=unchecked]:translate-x-0 ttw:dark:data-[state=checked]:bg-primary-foreground ttw:dark:data-[state=unchecked]:bg-foreground") }) });
|
|
10
|
+
}
|
|
20
11
|
export {
|
|
21
|
-
|
|
22
|
-
i as getDefaultContact
|
|
12
|
+
o as Switch
|
|
23
13
|
};
|
|
@@ -1,37 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
parameters: {
|
|
19
|
-
path: {
|
|
20
|
-
receivable_id: i
|
|
21
|
-
}
|
|
1
|
+
import { useEffect as _ } from "react";
|
|
2
|
+
const c = (i, u, r) => {
|
|
3
|
+
_(() => {
|
|
4
|
+
if (!i?.data?.length) return;
|
|
5
|
+
const d = u(), m = new Map(i.data.map((e) => [e.id, e])), s = new Map(i.data.filter((e) => e.name).map((e) => [e.name?.toLowerCase(), e])), o = d.line_items.map((e) => {
|
|
6
|
+
const n = e.product.measure_unit_id, t = e.product.measure_unit_name || e.measure_unit?.name;
|
|
7
|
+
let a;
|
|
8
|
+
return n && m.has(n) ? a = m.get(n) : t && s.has(t.toLowerCase()) && (a = s.get(t.toLowerCase())), a ? {
|
|
9
|
+
...e,
|
|
10
|
+
product: {
|
|
11
|
+
...e.product,
|
|
12
|
+
measure_unit_id: a.id,
|
|
13
|
+
measure_unit_name: void 0
|
|
14
|
+
},
|
|
15
|
+
measure_unit: {
|
|
16
|
+
id: a.id,
|
|
17
|
+
name: a.name || ""
|
|
22
18
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
} : t ? {
|
|
20
|
+
...e,
|
|
21
|
+
product: {
|
|
22
|
+
...e.product,
|
|
23
|
+
measure_unit_id: void 0,
|
|
24
|
+
measure_unit_name: t
|
|
25
|
+
},
|
|
26
|
+
measure_unit: {
|
|
27
|
+
name: t,
|
|
28
|
+
id: null
|
|
27
29
|
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
} : n === "" || n === void 0 ? {
|
|
31
|
+
...e,
|
|
32
|
+
product: {
|
|
33
|
+
...e.product,
|
|
34
|
+
measure_unit_id: void 0
|
|
35
|
+
}
|
|
36
|
+
} : {
|
|
37
|
+
...e
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
r({
|
|
41
|
+
...d,
|
|
42
|
+
line_items: o
|
|
43
|
+
});
|
|
44
|
+
}, [i?.data, r, u]);
|
|
34
45
|
};
|
|
35
46
|
export {
|
|
36
|
-
|
|
47
|
+
c as useMeasureUnitsMapping
|
|
37
48
|
};
|
|
@@ -1,59 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { CenteredContentBox as s } from "./index224.js";
|
|
7
|
-
import { Button as _ } from "./index84.js";
|
|
8
|
-
import { CircleAlert as E, RefreshCcw as P } from "lucide-react";
|
|
9
|
-
import { LoadingSpinner as B } from "./index133.js";
|
|
10
|
-
const q = ({
|
|
11
|
-
invoiceId: l,
|
|
12
|
-
body: c,
|
|
13
|
-
subject: m
|
|
14
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as p } from "./index122.js";
|
|
3
|
+
import { useLingui as c } from "@lingui/react";
|
|
4
|
+
import { toast as t } from "react-hot-toast";
|
|
5
|
+
const v = (a) => {
|
|
15
6
|
const {
|
|
16
|
-
i18n:
|
|
17
|
-
} =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
] }) }) : /* @__PURE__ */ t("iframe", { srcDoc: w?.body_preview, style: {
|
|
49
|
-
width: "100%",
|
|
50
|
-
height: "100%",
|
|
51
|
-
marginBottom: "-16px",
|
|
52
|
-
// Margin is necessary to avoid vertical scrollbar on the iframe container element. It's not clear why, but it helps.
|
|
53
|
-
border: 0,
|
|
54
|
-
flex: 1
|
|
55
|
-
} }) }) });
|
|
7
|
+
i18n: i
|
|
8
|
+
} = c(), {
|
|
9
|
+
api: e,
|
|
10
|
+
queryClient: s
|
|
11
|
+
} = n();
|
|
12
|
+
return e.finops.patchReceivablesId.useMutation({
|
|
13
|
+
path: {
|
|
14
|
+
receivable_id: a
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: async (r) => {
|
|
18
|
+
e.finops.getReceivablesId.setQueryData({
|
|
19
|
+
path: {
|
|
20
|
+
receivable_id: a
|
|
21
|
+
}
|
|
22
|
+
}, r, s), await Promise.all([e.finops.getReceivablesIdPdfLink.resetQueries({
|
|
23
|
+
parameters: {
|
|
24
|
+
path: {
|
|
25
|
+
receivable_id: a
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}, s), e.finops.getReceivables.invalidateQueries(s)]), t.success(i._("{receivableType} has been updated", {
|
|
29
|
+
receivableType: r.type
|
|
30
|
+
}));
|
|
31
|
+
},
|
|
32
|
+
onError: (r) => {
|
|
33
|
+
const o = p(i, r);
|
|
34
|
+
t.error(i._("Failed to update receivable: {errorMessage}", {
|
|
35
|
+
errorMessage: o
|
|
36
|
+
}));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
56
39
|
};
|
|
57
40
|
export {
|
|
58
|
-
|
|
41
|
+
v as useUpdateReceivable
|
|
59
42
|
};
|
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index122.js";
|
|
3
|
+
import { useLingui as p } from "@lingui/react";
|
|
4
|
+
import { toast as c } from "react-hot-toast";
|
|
5
|
+
const g = (e) => {
|
|
5
6
|
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
return
|
|
7
|
+
api: r,
|
|
8
|
+
queryClient: i
|
|
9
|
+
} = o(), {
|
|
10
|
+
i18n: t
|
|
11
|
+
} = p();
|
|
12
|
+
return r.finops.putReceivablesIdLineItems.useMutation({
|
|
12
13
|
path: {
|
|
13
|
-
receivable_id:
|
|
14
|
+
receivable_id: e
|
|
14
15
|
}
|
|
15
16
|
}, {
|
|
16
17
|
onSuccess: async () => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
await r.finops.getReceivablesId.invalidateQueries({
|
|
19
|
+
parameters: {
|
|
20
|
+
path: {
|
|
21
|
+
receivable_id: e
|
|
22
|
+
}
|
|
20
23
|
}
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
...t,
|
|
28
|
-
status: "canceled"
|
|
29
|
-
}, a), await e.finops.getReceivables.invalidateQueries(a), o.success(s._("This {type} has been canceled", {
|
|
30
|
-
type: t?.type === "credit_note" ? "credit memo" : t?.type
|
|
24
|
+
}, i);
|
|
25
|
+
},
|
|
26
|
+
onError: (s) => {
|
|
27
|
+
const a = n(t, s);
|
|
28
|
+
c.error(t._("Failed to update receivable line items: {errorMessage}", {
|
|
29
|
+
errorMessage: a
|
|
31
30
|
}));
|
|
32
31
|
}
|
|
33
32
|
});
|
|
34
33
|
};
|
|
35
34
|
export {
|
|
36
|
-
|
|
35
|
+
g as useUpdateReceivableLineItems
|
|
37
36
|
};
|
|
@@ -1,30 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { useLingui as r } from "@lingui/react";
|
|
4
|
-
const u = (t) => {
|
|
1
|
+
import { useMoniteContext as t } from "./index57.js";
|
|
2
|
+
const o = () => {
|
|
5
3
|
const {
|
|
6
|
-
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
queryClient: i
|
|
10
|
-
} = n();
|
|
11
|
-
return e.finops.deleteReceivablesId.useMutation({
|
|
12
|
-
path: {
|
|
13
|
-
receivable_id: t
|
|
14
|
-
}
|
|
15
|
-
}, {
|
|
16
|
-
onSuccess: () => {
|
|
17
|
-
const s = e.finops.getReceivablesId.getQueryData({
|
|
18
|
-
path: {
|
|
19
|
-
receivable_id: t
|
|
20
|
-
}
|
|
21
|
-
}, i);
|
|
22
|
-
e.finops.getReceivables.invalidateQueries(i), a.success(o._("This {type} has been deleted", {
|
|
23
|
-
type: s?.type === "credit_note" ? "credit memo" : s?.type
|
|
24
|
-
}));
|
|
25
|
-
}
|
|
26
|
-
});
|
|
4
|
+
api: e
|
|
5
|
+
} = t();
|
|
6
|
+
return e.finops.getPaymentTerms.useQuery();
|
|
27
7
|
};
|
|
28
8
|
export {
|
|
29
|
-
|
|
9
|
+
o as useGetPaymentTerms
|
|
30
10
|
};
|
|
@@ -19,7 +19,7 @@ import "tailwind-merge";
|
|
|
19
19
|
import "@radix-ui/react-dropdown-menu";
|
|
20
20
|
import "lucide-react";
|
|
21
21
|
import "./index84.js";
|
|
22
|
-
import { useGetReceivables as j } from "./
|
|
22
|
+
import { useGetReceivables as j } from "./index142.js";
|
|
23
23
|
import "./index92.js";
|
|
24
24
|
import { useAreCounterpartsLoading as q, defaultCounterpartColumnWidth as E, useAutosizeGridColumns as V } from "./index62.js";
|
|
25
25
|
import "react-hook-form";
|
|
@@ -1,45 +1,106 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as e, jsxs as d, Fragment as C } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Controller as c } from "react-hook-form";
|
|
3
|
+
import { DefaultEmail as v } from "./index456.js";
|
|
4
|
+
import { useRootElements as y } from "./index92.js";
|
|
5
|
+
import { useCounterpartById as S } from "./index70.js";
|
|
6
|
+
import "@tanstack/react-query";
|
|
7
|
+
import "./index57.js";
|
|
8
|
+
import { useCounterpartContactList as F } from "./index74.js";
|
|
3
9
|
import "date-fns";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { useLingui as
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
import "react";
|
|
11
|
+
import "react-hot-toast";
|
|
12
|
+
import { useLingui as I } from "@lingui/react";
|
|
13
|
+
import { useGetReceivableById as N } from "./index82.js";
|
|
14
|
+
import { Card as u, CardContent as m, Stack as f, Typography as h, TextField as b, CircularProgress as M, FormControl as T, Select as B, MenuItem as L, FormHelperText as W } from "@mui/material";
|
|
15
|
+
import { getDefaultContact as _, getContactList as j } from "./index371.js";
|
|
16
|
+
const K = ({
|
|
17
|
+
formName: n,
|
|
18
|
+
style: t,
|
|
19
|
+
children: i,
|
|
20
|
+
handleIssueAndSend: a
|
|
21
|
+
}) => /* @__PURE__ */ e("form", { id: n, noValidate: !0, onSubmit: a, style: t, children: i }), k = ({
|
|
22
|
+
invoiceId: n,
|
|
23
|
+
control: t
|
|
24
|
+
}) => {
|
|
25
|
+
const {
|
|
26
|
+
data: i
|
|
27
|
+
} = N(n), {
|
|
28
|
+
data: a
|
|
29
|
+
} = S(i?.counterpart_id), {
|
|
30
|
+
data: r,
|
|
31
|
+
isLoading: o
|
|
32
|
+
} = F(i?.counterpart_id), {
|
|
33
|
+
root: x
|
|
34
|
+
} = y();
|
|
35
|
+
if (o) return /* @__PURE__ */ e(M, {});
|
|
36
|
+
const g = _(r, a);
|
|
37
|
+
return /* @__PURE__ */ e(c, { name: "to", control: t, render: ({
|
|
38
|
+
field: p,
|
|
39
|
+
fieldState: {
|
|
40
|
+
error: s
|
|
25
41
|
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
42
|
+
}) => /* @__PURE__ */ d(T, { variant: "standard", required: !0, fullWidth: !0, error: !!s, children: [
|
|
43
|
+
/* @__PURE__ */ e(B, { MenuProps: {
|
|
44
|
+
container: x
|
|
45
|
+
}, className: "Monite-NakedField Monite-RecipientSelector", "data-testid": `${p.name}-select`, ...p, children: j(r, g).map((l) => /* @__PURE__ */ e(L, { value: l.email, children: /* @__PURE__ */ e(v, { email: l.email ?? "", isDefault: l.is_default }) }, l.id)) }),
|
|
46
|
+
s && /* @__PURE__ */ e(W, { children: s.message })
|
|
47
|
+
] }) });
|
|
48
|
+
}, O = ({
|
|
49
|
+
invoiceId: n,
|
|
50
|
+
control: t,
|
|
51
|
+
isDisabled: i
|
|
33
52
|
}) => {
|
|
34
53
|
const {
|
|
35
|
-
i18n:
|
|
36
|
-
} =
|
|
37
|
-
return /* @__PURE__ */
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
54
|
+
i18n: a
|
|
55
|
+
} = I();
|
|
56
|
+
return /* @__PURE__ */ d(C, { children: [
|
|
57
|
+
/* @__PURE__ */ e(u, { sx: {
|
|
58
|
+
mb: 3
|
|
59
|
+
}, children: /* @__PURE__ */ e(m, { sx: {
|
|
60
|
+
px: 3,
|
|
61
|
+
pt: 1,
|
|
62
|
+
pb: 1,
|
|
63
|
+
"&:last-child": {
|
|
64
|
+
pb: 1
|
|
65
|
+
}
|
|
66
|
+
// last-child is necessary to override default style of the MUI theme
|
|
67
|
+
}, children: /* @__PURE__ */ d(f, { spacing: 2, direction: "row", alignItems: "center", children: [
|
|
68
|
+
/* @__PURE__ */ e(h, { variant: "body2", sx: {
|
|
69
|
+
minWidth: "52px"
|
|
70
|
+
}, children: a._("To") }),
|
|
71
|
+
/* @__PURE__ */ e(k, { invoiceId: n, control: t })
|
|
72
|
+
] }) }) }),
|
|
73
|
+
/* @__PURE__ */ d(u, { children: [
|
|
74
|
+
/* @__PURE__ */ e(m, { sx: {
|
|
75
|
+
px: 3,
|
|
76
|
+
py: 1,
|
|
77
|
+
borderBottomWidth: "1px",
|
|
78
|
+
borderBottomStyle: "solid",
|
|
79
|
+
borderBottomColor: "divider"
|
|
80
|
+
}, children: /* @__PURE__ */ d(f, { spacing: 2, direction: "row", alignItems: "center", children: [
|
|
81
|
+
/* @__PURE__ */ e(h, { variant: "body2", children: a._("Subject") }),
|
|
82
|
+
/* @__PURE__ */ e(c, { name: "subject", control: t, render: ({
|
|
83
|
+
field: r,
|
|
84
|
+
fieldState: {
|
|
85
|
+
error: o
|
|
86
|
+
}
|
|
87
|
+
}) => /* @__PURE__ */ e(b, { id: r.name, "data-testid": `${r.name}-input`, variant: "standard", className: "Monite-NakedField", fullWidth: !0, error: !!o, helperText: o?.message, required: !0, ...r, disabled: i }) })
|
|
88
|
+
] }) }),
|
|
89
|
+
/* @__PURE__ */ e(m, { sx: {
|
|
90
|
+
pl: 3,
|
|
91
|
+
pr: 3,
|
|
92
|
+
pb: 3,
|
|
93
|
+
pt: 1
|
|
94
|
+
}, children: /* @__PURE__ */ e(c, { name: "body", control: t, render: ({
|
|
95
|
+
field: r,
|
|
96
|
+
fieldState: {
|
|
97
|
+
error: o
|
|
98
|
+
}
|
|
99
|
+
}) => /* @__PURE__ */ e(b, { id: r.name, "data-testid": `${r.name}-input`, variant: "standard", className: "Monite-NakedField", fullWidth: !0, error: !!o, helperText: o?.message, required: !0, multiline: !0, rows: 8, ...r, disabled: i }) }) })
|
|
100
|
+
] })
|
|
101
|
+
] });
|
|
42
102
|
};
|
|
43
103
|
export {
|
|
44
|
-
|
|
104
|
+
K as Form,
|
|
105
|
+
O as FormContent
|
|
45
106
|
};
|