@tesouro/embedded-components-react 0.2.85 → 0.2.86
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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- 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 +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +1 -1
- 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/index173.js +6 -6
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -2
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +46 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +75 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +32 -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/index240.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +486 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +162 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +343 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +11 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +31 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +35 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +15 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -30
- 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 +244 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +179 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +24 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +54 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +52 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +97 -72
- 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 +47 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +73 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +29 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +41 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +60 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +90 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +104 -483
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +83 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +41 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +342 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +296 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +103 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +155 -73
- 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 +265 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +24 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +89 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +90 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +191 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +39 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +58 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +29 -61
- 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 +113 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +21 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +41 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +51 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +27 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +124 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +59 -259
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +22 -23
- 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 +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +17 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +40 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +13 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +27 -169
- 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 +76 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +59 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +185 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +106 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +81 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +283 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +46 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +15 -62
- 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 +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +220 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +74 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +42 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +14 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +17 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +169 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +119 -270
- 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 +157 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +58 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +63 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +60 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +8 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +61 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +21 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +62 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +96 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +74 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +46 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +46 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +25 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +104 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +21 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +20 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +55 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +24 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +70 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +94 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +32 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +13 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +47 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +15 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +124 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +120 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +70 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +38 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +75 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +67 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +33 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +32 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +106 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +21 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +68 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +44 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +25 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +17 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +46 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +55 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +51 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +94 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +75 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +20 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +36 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +14 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +16 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +48 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +33 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- 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 +7 -7
- 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 +19 -19
- package/package.json +1 -1
|
@@ -1,42 +1,37 @@
|
|
|
1
1
|
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const v = (a) => {
|
|
2
|
+
import { useLingui as o } from "@lingui/react";
|
|
3
|
+
import { toast as r } from "react-hot-toast";
|
|
4
|
+
const l = (i) => {
|
|
6
5
|
const {
|
|
7
|
-
i18n:
|
|
8
|
-
} =
|
|
6
|
+
i18n: a
|
|
7
|
+
} = o(), {
|
|
9
8
|
api: e,
|
|
10
|
-
queryClient:
|
|
9
|
+
queryClient: t
|
|
11
10
|
} = n();
|
|
12
|
-
return e.finops.
|
|
11
|
+
return e.finops.postReceivablesIdSend.useMutation({
|
|
13
12
|
path: {
|
|
14
|
-
receivable_id:
|
|
13
|
+
receivable_id: i
|
|
15
14
|
}
|
|
16
15
|
}, {
|
|
17
|
-
onSuccess: async (
|
|
18
|
-
e.finops.getReceivablesId.
|
|
19
|
-
path: {
|
|
20
|
-
receivable_id: a
|
|
21
|
-
}
|
|
22
|
-
}, r, s), await Promise.all([e.finops.getReceivablesIdPdfLink.resetQueries({
|
|
16
|
+
onSuccess: async () => {
|
|
17
|
+
await Promise.all([e.finops.getReceivables.invalidateQueries(t), e.finops.getReceivablesId.invalidateQueries({
|
|
23
18
|
parameters: {
|
|
24
19
|
path: {
|
|
25
|
-
receivable_id:
|
|
20
|
+
receivable_id: i
|
|
26
21
|
}
|
|
27
22
|
}
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
}, t)]);
|
|
24
|
+
const s = e.finops.getReceivablesId.getQueryData({
|
|
25
|
+
path: {
|
|
26
|
+
receivable_id: i
|
|
27
|
+
}
|
|
28
|
+
}, t);
|
|
29
|
+
r.success(a._("This {type} has been sent", {
|
|
30
|
+
type: s?.type === "credit_note" ? "credit memo" : s?.type
|
|
36
31
|
}));
|
|
37
32
|
}
|
|
38
33
|
});
|
|
39
34
|
};
|
|
40
35
|
export {
|
|
41
|
-
|
|
36
|
+
l as useSendReceivableById
|
|
42
37
|
};
|
|
@@ -1,36 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { jsx as t, Fragment as v, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as b } from "@lingui/react";
|
|
3
|
+
import { useState as y, useEffect as N } from "react";
|
|
4
|
+
import { useCreateInvoiceEmailPreview as j } from "./index413.js";
|
|
5
|
+
import { LanguageCodeEnum as C } from "./index183.js";
|
|
6
|
+
import { CenteredContentBox as s } from "./index218.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 "./index131.js";
|
|
10
|
+
const q = ({
|
|
11
|
+
invoiceId: l,
|
|
12
|
+
body: c,
|
|
13
|
+
subject: m
|
|
14
|
+
}) => {
|
|
6
15
|
const {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
16
|
+
i18n: e
|
|
17
|
+
} = b(), [a, d] = y(0), {
|
|
18
|
+
data: w,
|
|
19
|
+
mutateAsync: f,
|
|
20
|
+
isPending: p,
|
|
21
|
+
error: u
|
|
22
|
+
} = j(l), x = () => {
|
|
23
|
+
d(a + 1);
|
|
24
|
+
}, h = (r) => Object.values(C).includes(r), g = () => {
|
|
25
|
+
const r = e.locale, o = r.indexOf("-"), n = o >= 0 ? r.substring(0, o) : r;
|
|
26
|
+
return h(n) ? n : "en";
|
|
27
|
+
};
|
|
28
|
+
return N(() => {
|
|
29
|
+
f({
|
|
30
|
+
body_text: c,
|
|
31
|
+
subject_text: m,
|
|
32
|
+
language: g(),
|
|
33
|
+
type: "receivable"
|
|
34
|
+
});
|
|
35
|
+
}, [a]), /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:min-h-0 ttw:overflow-hidden ttw:flex-1", children: p ? /* @__PURE__ */ t(s, { children: /* @__PURE__ */ t(B, {}) }) : /* @__PURE__ */ t(v, { children: u ? /* @__PURE__ */ t(s, { children: /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:gap-4", children: [
|
|
36
|
+
/* @__PURE__ */ t(E, { className: "ttw:text-red-500" }),
|
|
37
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:justify-center ttw:text-center ttw:gap-1 ttw:items-center", children: [
|
|
38
|
+
/* @__PURE__ */ t("h2", { className: "ttw:font-bold ttw:text-base", children: e._("Failed to generate email preview") }),
|
|
39
|
+
/* @__PURE__ */ i("div", { className: "ttw:items-center", children: [
|
|
40
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:leading-5", children: e._("Please try to reload.") }),
|
|
41
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:leading-5", children: e._("If the error recurs, contact support, please.") })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ i(_, { variant: "ghost", onClick: x, "data-testid": "reload-preview-button", children: [
|
|
44
|
+
/* @__PURE__ */ t(P, {}),
|
|
45
|
+
e._("Reload")
|
|
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
|
+
} }) }) });
|
|
33
56
|
};
|
|
34
57
|
export {
|
|
35
|
-
|
|
58
|
+
q as PreviewEmail
|
|
36
59
|
};
|
|
@@ -1,10 +1,37 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
1
|
+
import { useMoniteContext as c } from "./index57.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as o } from "react-hot-toast";
|
|
4
|
+
const u = (i) => {
|
|
3
5
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
6
|
+
i18n: s
|
|
7
|
+
} = n(), {
|
|
8
|
+
api: e,
|
|
9
|
+
queryClient: a
|
|
10
|
+
} = c();
|
|
11
|
+
return e.finops.postReceivablesIdCancel.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
receivable_id: i
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async () => {
|
|
17
|
+
const t = e.finops.getReceivablesId.getQueryData({
|
|
18
|
+
path: {
|
|
19
|
+
receivable_id: i
|
|
20
|
+
}
|
|
21
|
+
}, a);
|
|
22
|
+
t?.type === "invoice" && e.finops.getReceivablesId.setQueryData({
|
|
23
|
+
path: {
|
|
24
|
+
receivable_id: i
|
|
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
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
7
34
|
};
|
|
8
35
|
export {
|
|
9
|
-
|
|
36
|
+
u as useCancelReceivableById
|
|
10
37
|
};
|
|
@@ -1,106 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
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";
|
|
9
|
-
import "date-fns";
|
|
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
|
-
}) => {
|
|
1
|
+
import { toast as a } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
4
|
+
const u = (t) => {
|
|
25
5
|
const {
|
|
26
|
-
|
|
27
|
-
} =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
|
6
|
+
i18n: o
|
|
7
|
+
} = r(), {
|
|
8
|
+
api: e,
|
|
9
|
+
queryClient: i
|
|
10
|
+
} = n();
|
|
11
|
+
return e.finops.deleteReceivablesId.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
receivable_id: t
|
|
41
14
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
] }) });
|
|
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
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: () => {
|
|
17
|
+
const s = e.finops.getReceivablesId.getQueryData({
|
|
18
|
+
path: {
|
|
19
|
+
receivable_id: t
|
|
98
20
|
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
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
|
+
});
|
|
102
27
|
};
|
|
103
28
|
export {
|
|
104
|
-
|
|
105
|
-
O as FormContent
|
|
29
|
+
u as useDeleteReceivableById
|
|
106
30
|
};
|
|
@@ -1,23 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { getCommonRecurrenceIterationStatusLabel as w } from "./index304.js";
|
|
3
|
+
import "date-fns";
|
|
4
|
+
import { Badge as s } from "./index244.js";
|
|
5
|
+
import { cn as g } from "./index100.js";
|
|
6
|
+
import { useLingui as c } from "@lingui/react";
|
|
7
|
+
import { cva as l } from "class-variance-authority";
|
|
8
|
+
const r = l("", {
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
pending: "ttw:bg-zinc-100 ttw:text-zinc-700",
|
|
12
|
+
skipped: "ttw:bg-yellow-100 ttw:text-yellow-700",
|
|
13
|
+
canceled: "ttw:bg-red-100 ttw:text-red-700",
|
|
14
|
+
issue_failed: "ttw:bg-red-100 ttw:text-red-700",
|
|
15
|
+
send_failed: "ttw:bg-red-100 ttw:text-red-700",
|
|
16
|
+
completed: "ttw:bg-green-100 ttw:text-green-700"
|
|
17
|
+
},
|
|
18
|
+
dotVariant: {
|
|
19
|
+
pending: "ttw:border-zinc-100 ttw:bg-zinc-700",
|
|
20
|
+
skipped: "ttw:border-yellow-100 ttw:bg-yellow-700",
|
|
21
|
+
canceled: "ttw:border-red-100 ttw:bg-red-700",
|
|
22
|
+
issue_failed: "ttw:border-red-100 ttw:bg-red-700",
|
|
23
|
+
send_failed: "ttw:border-red-100 ttw:bg-red-700",
|
|
24
|
+
completed: "ttw:border-green-100 ttw:bg-green-700"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}), z = ({
|
|
28
|
+
status: t,
|
|
29
|
+
className: o,
|
|
30
|
+
showBadgeBackground: e = !0,
|
|
31
|
+
dotSize: d,
|
|
32
|
+
ref: a
|
|
33
|
+
}) => {
|
|
34
|
+
const {
|
|
35
|
+
i18n: n
|
|
36
|
+
} = c();
|
|
37
|
+
return /* @__PURE__ */ i(s, { ref: a, className: g("ttw:inline-flex ttw:items-center ttw:gap-1", r({
|
|
38
|
+
variant: t
|
|
39
|
+
}), o), dotClassName: r({
|
|
40
|
+
dotVariant: t
|
|
41
|
+
}), showBadgeBackground: e, showDotBorder: !e, dotSize: d, showDot: !0, children: w(n, t) });
|
|
42
|
+
};
|
|
20
43
|
export {
|
|
21
|
-
|
|
22
|
-
i as getDefaultContact
|
|
44
|
+
z as InvoiceRecurrenceIterationStatusChip
|
|
23
45
|
};
|
|
@@ -1,37 +1,27 @@
|
|
|
1
|
+
import { toast as c } from "react-hot-toast";
|
|
1
2
|
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
-
import { useLingui as
|
|
3
|
-
|
|
4
|
-
const l = (i) => {
|
|
3
|
+
import { useLingui as l } from "@lingui/react";
|
|
4
|
+
const b = (e, t) => {
|
|
5
5
|
const {
|
|
6
|
+
api: i,
|
|
7
|
+
queryClient: s
|
|
8
|
+
} = n(), {
|
|
6
9
|
i18n: a
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
queryClient: t
|
|
10
|
-
} = n();
|
|
11
|
-
return e.finops.postReceivablesIdSend.useMutation({
|
|
10
|
+
} = l();
|
|
11
|
+
return i.finops.postReceivablesIdMarkAsUncollectible.useMutation({
|
|
12
12
|
path: {
|
|
13
|
-
receivable_id:
|
|
13
|
+
receivable_id: e
|
|
14
14
|
}
|
|
15
15
|
}, {
|
|
16
|
-
onSuccess: async () => {
|
|
17
|
-
|
|
18
|
-
parameters: {
|
|
19
|
-
path: {
|
|
20
|
-
receivable_id: i
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}, t)]);
|
|
24
|
-
const s = e.finops.getReceivablesId.getQueryData({
|
|
16
|
+
onSuccess: async (o) => {
|
|
17
|
+
t?.(e), i.finops.getReceivablesId.setQueryData({
|
|
25
18
|
path: {
|
|
26
|
-
receivable_id:
|
|
19
|
+
receivable_id: e
|
|
27
20
|
}
|
|
28
|
-
},
|
|
29
|
-
r.success(a._("This {type} has been sent", {
|
|
30
|
-
type: s?.type === "credit_note" ? "credit memo" : s?.type
|
|
31
|
-
}));
|
|
21
|
+
}, o, s), await i.finops.getReceivables.invalidateQueries(s), c.success(a._("Marked as uncollectible"));
|
|
32
22
|
}
|
|
33
23
|
});
|
|
34
24
|
};
|
|
35
25
|
export {
|
|
36
|
-
|
|
26
|
+
b as useMarkAsUncollectibleReceivableById
|
|
37
27
|
};
|
|
@@ -1,59 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMoniteContext as h } from "./index57.js";
|
|
3
|
+
import { useCurrencies as y } from "./index58.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./index92.js";
|
|
6
|
+
import { useLingui as f } from "@lingui/react";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import "@tanstack/react-query";
|
|
10
|
+
import "date-fns";
|
|
11
|
+
import { useEntityUserByAuthToken as x } from "./index75.js";
|
|
12
|
+
import "react-hot-toast";
|
|
13
|
+
import { MoniteCard as g } from "./index454.js";
|
|
14
|
+
import _ from "@mui/icons-material/DriveFileRenameOutline";
|
|
15
|
+
import { Box as o, Typography as r, Skeleton as v, Alert as b } from "@mui/material";
|
|
16
|
+
const L = ({
|
|
17
|
+
paymentRecords: i,
|
|
18
|
+
invoice: n
|
|
14
19
|
}) => {
|
|
15
20
|
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
|
-
|
|
21
|
+
i18n: t
|
|
22
|
+
} = f(), {
|
|
23
|
+
locale: c
|
|
24
|
+
} = h(), {
|
|
25
|
+
formatCurrencyToDisplay: s
|
|
26
|
+
} = y(), d = new Date(i.payment_date ?? "").setHours(i.payment_time?.getHours() ?? 0, i.payment_time?.getMinutes() ?? 0), p = t.date(new Date(d), c.dateTimeFormat), {
|
|
27
|
+
data: l,
|
|
28
|
+
isLoading: u
|
|
29
|
+
} = x(), m = `${l?.first_name ?? ""} ${l?.last_name ?? ""}`;
|
|
30
|
+
return /* @__PURE__ */ a(o, { sx: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
flexDirection: "column",
|
|
33
|
+
gap: 3
|
|
34
|
+
}, children: [
|
|
35
|
+
/* @__PURE__ */ a(o, { sx: {
|
|
36
|
+
display: "flex",
|
|
37
|
+
flexDirection: "column",
|
|
38
|
+
gap: 1,
|
|
39
|
+
alignItems: "center",
|
|
40
|
+
textAlign: "center"
|
|
41
|
+
}, children: [
|
|
42
|
+
/* @__PURE__ */ e(o, { sx: {
|
|
43
|
+
borderRadius: "100%",
|
|
44
|
+
backgroundColor: "#F2F2F2",
|
|
45
|
+
width: "44px",
|
|
46
|
+
height: "44px",
|
|
47
|
+
display: "flex",
|
|
48
|
+
justifyContent: "center",
|
|
49
|
+
alignItems: "center"
|
|
50
|
+
}, children: /* @__PURE__ */ e(_, { sx: {
|
|
51
|
+
color: "#707070"
|
|
52
|
+
} }) }),
|
|
53
|
+
/* @__PURE__ */ e(r, { variant: "body1", children: t._("Manual payment record") }),
|
|
54
|
+
/* @__PURE__ */ a(o, { children: [
|
|
55
|
+
/* @__PURE__ */ e(r, { variant: "h2", children: s(i?.amount ?? 0, n.currency) }),
|
|
56
|
+
/* @__PURE__ */ e(r, { variant: "body1", children: t._("from {invoiceCounterpart_name}", {
|
|
57
|
+
invoiceCounterpart_name: n.counterpart_name
|
|
58
|
+
}) })
|
|
46
59
|
] })
|
|
47
|
-
] })
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ e(g, { items: [{
|
|
62
|
+
label: t._("Received"),
|
|
63
|
+
value: i.payment_date ? /* @__PURE__ */ e(r, { fontWeight: 500, children: p }) : "—"
|
|
64
|
+
}, {
|
|
65
|
+
label: t._("Reference"),
|
|
66
|
+
value: n.id ? /* @__PURE__ */ e(r, { fontWeight: 500, children: n.id }) : "—"
|
|
67
|
+
}, {
|
|
68
|
+
label: t._("Created by"),
|
|
69
|
+
value: u ? /* @__PURE__ */ e(v, { variant: "text", width: "50%" }) : m ? /* @__PURE__ */ e(r, { fontWeight: 500, children: m }) : "—"
|
|
70
|
+
}] }),
|
|
71
|
+
/* @__PURE__ */ e(b, { severity: "warning", children: /* @__PURE__ */ e(r, { variant: "body2", children: t._("Please, check the details of your payment record. You won't be able to change or delete it after.") }) })
|
|
72
|
+
] });
|
|
56
73
|
};
|
|
57
74
|
export {
|
|
58
|
-
|
|
75
|
+
L as ManualPaymentRecordDetails
|
|
59
76
|
};
|