@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,37 +1,99 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsx as e, Fragment as b, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { manualPaymentRecordValidationSchema as y } from "./index175.js";
|
|
3
|
+
import { useCurrencies as g } from "./index58.js";
|
|
4
|
+
import { useMemo as _, useEffect as C } from "react";
|
|
5
|
+
import "./index92.js";
|
|
6
|
+
import { useLingui as F } from "@lingui/react";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "./index57.js";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
import { safeZodResolver as v } from "./index237.js";
|
|
11
|
+
import { RHFDatePicker as D } from "./index455.js";
|
|
12
|
+
import { RHFTextField as S } from "./index449.js";
|
|
13
|
+
import { RHFTimePicker as R } from "./index456.js";
|
|
14
|
+
import { DialogTitle as T, DialogContent as P, Grid as i, FormHelperText as k, Button as m, DialogActions as E, CircularProgress as H } from "@mui/material";
|
|
15
|
+
import { useForm as V } from "react-hook-form";
|
|
16
|
+
const Z = ({
|
|
17
|
+
invoice: r,
|
|
18
|
+
initialValues: n,
|
|
19
|
+
isLoading: u,
|
|
20
|
+
onSubmit: s,
|
|
21
|
+
onCancel: c
|
|
22
|
+
}) => {
|
|
5
23
|
const {
|
|
6
|
-
i18n:
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
}
|
|
24
|
+
i18n: t
|
|
25
|
+
} = F(), {
|
|
26
|
+
formatCurrencyToDisplay: p,
|
|
27
|
+
getSymbolFromCurrency: d
|
|
28
|
+
} = g(), {
|
|
29
|
+
control: a,
|
|
30
|
+
handleSubmit: f,
|
|
31
|
+
reset: l,
|
|
32
|
+
setValue: x
|
|
33
|
+
} = V({
|
|
34
|
+
resolver: v(y(t, r.amount_due)),
|
|
35
|
+
defaultValues: _(() => n ?? {
|
|
36
|
+
amount: 0,
|
|
37
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
38
|
+
payment_time: /* @__PURE__ */ new Date()
|
|
39
|
+
}, [n])
|
|
33
40
|
});
|
|
41
|
+
C(() => {
|
|
42
|
+
l(n);
|
|
43
|
+
}, [n, l]);
|
|
44
|
+
const h = d(r.currency);
|
|
45
|
+
return /* @__PURE__ */ e(b, { children: /* @__PURE__ */ o("form", { onSubmit: f(s), children: [
|
|
46
|
+
/* @__PURE__ */ e(T, { sx: {
|
|
47
|
+
px: 4,
|
|
48
|
+
pt: 4
|
|
49
|
+
}, variant: "h3", id: "dialog-title", children: t._("Record payment") }),
|
|
50
|
+
/* @__PURE__ */ e(P, { sx: {
|
|
51
|
+
p: 4
|
|
52
|
+
}, children: /* @__PURE__ */ o(i, { container: !0, spacing: 1, children: [
|
|
53
|
+
/* @__PURE__ */ o(i, { item: !0, xs: 12, children: [
|
|
54
|
+
/* @__PURE__ */ e(S, { label: t._("Amount"), name: "amount", placeholder: "0", control: a, type: "number", sx: {
|
|
55
|
+
"::after": {
|
|
56
|
+
content: `"${h}"`,
|
|
57
|
+
position: "absolute",
|
|
58
|
+
right: "16px",
|
|
59
|
+
bottom: 0,
|
|
60
|
+
transform: "translateY(-50%)",
|
|
61
|
+
fontSize: "16px",
|
|
62
|
+
color: "rgba(0,0,0,0.28)",
|
|
63
|
+
pointerEvents: "none"
|
|
64
|
+
}
|
|
65
|
+
}, fullWidth: !0, required: !0 }),
|
|
66
|
+
/* @__PURE__ */ o(k, { children: [
|
|
67
|
+
t._("Enter full amount due of"),
|
|
68
|
+
" ",
|
|
69
|
+
/* @__PURE__ */ e(m, { variant: "text", sx: {
|
|
70
|
+
textDecoration: "underline"
|
|
71
|
+
}, onClick: () => x("amount", r.amount_due / 100), children: p(r.amount_due, r.currency) })
|
|
72
|
+
] })
|
|
73
|
+
] }),
|
|
74
|
+
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(D, { label: t._("Date"), name: "payment_date", control: a }) }),
|
|
75
|
+
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(R, { label: t._("Time"), name: "payment_time", control: a, sx: {
|
|
76
|
+
"::after": {
|
|
77
|
+
content: '"UTC"',
|
|
78
|
+
position: "absolute",
|
|
79
|
+
right: "16px",
|
|
80
|
+
bottom: 0,
|
|
81
|
+
transform: "translateY(-50%)",
|
|
82
|
+
fontSize: "16px",
|
|
83
|
+
color: "rgba(0,0,0,0.28)",
|
|
84
|
+
pointerEvents: "none"
|
|
85
|
+
}
|
|
86
|
+
}, fullWidth: !0, required: !0 }) })
|
|
87
|
+
] }) }),
|
|
88
|
+
/* @__PURE__ */ o(E, { sx: {
|
|
89
|
+
px: 4,
|
|
90
|
+
pb: 4
|
|
91
|
+
}, children: [
|
|
92
|
+
/* @__PURE__ */ e(m, { autoFocus: !0, onClick: c, children: t._("Cancel") }),
|
|
93
|
+
/* @__PURE__ */ e(m, { variant: "contained", startIcon: u ? /* @__PURE__ */ e(H, { size: 20, color: "warning" }) : null, type: "submit", children: t._("Save") })
|
|
94
|
+
] })
|
|
95
|
+
] }) });
|
|
34
96
|
};
|
|
35
97
|
export {
|
|
36
|
-
|
|
98
|
+
Z as PaymentRecordForm
|
|
37
99
|
};
|
|
@@ -1,30 +1,39 @@
|
|
|
1
|
+
import { useMoniteContext as c } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as o } from "./index121.js";
|
|
3
|
+
import { useLingui as u } from "@lingui/react";
|
|
1
4
|
import { toast as a } from "react-hot-toast";
|
|
2
|
-
|
|
3
|
-
import { useLingui as r } from "@lingui/react";
|
|
4
|
-
const u = (t) => {
|
|
5
|
+
const f = (s, t) => {
|
|
5
6
|
const {
|
|
6
|
-
i18n:
|
|
7
|
-
} =
|
|
7
|
+
i18n: i
|
|
8
|
+
} = u(), {
|
|
8
9
|
api: e,
|
|
9
|
-
queryClient:
|
|
10
|
-
} =
|
|
11
|
-
return e.finops.
|
|
10
|
+
queryClient: r
|
|
11
|
+
} = c();
|
|
12
|
+
return e.finops.postRecurrencesIdCancel.useMutation({
|
|
12
13
|
path: {
|
|
13
|
-
|
|
14
|
+
recurrence_id: s
|
|
14
15
|
}
|
|
15
16
|
}, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
onError: (n) => {
|
|
18
|
+
a.error(o(i, n));
|
|
19
|
+
},
|
|
20
|
+
onSuccess: async () => {
|
|
21
|
+
await Promise.all([e.finops.getReceivables.invalidateQueries(r), e.finops.getReceivablesId.invalidateQueries({
|
|
22
|
+
parameters: {
|
|
23
|
+
path: {
|
|
24
|
+
receivable_id: t
|
|
25
|
+
}
|
|
20
26
|
}
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
}, r), e.finops.getRecurrencesId.invalidateQueries({
|
|
28
|
+
parameters: {
|
|
29
|
+
path: {
|
|
30
|
+
recurrence_id: s
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, r)]), a.success(i._("Recurrence has been canceled"));
|
|
25
34
|
}
|
|
26
35
|
});
|
|
27
36
|
};
|
|
28
37
|
export {
|
|
29
|
-
|
|
38
|
+
f as useCancelRecurrence
|
|
30
39
|
};
|
|
@@ -1,45 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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) });
|
|
1
|
+
const g = (r, t = /* @__PURE__ */ new Date()) => {
|
|
2
|
+
if (!r)
|
|
3
|
+
return 0;
|
|
4
|
+
const e = new Date(r);
|
|
5
|
+
if (Number.isNaN(e.getTime()))
|
|
6
|
+
return 0;
|
|
7
|
+
const n = 1e3 * 60 * 60 * 24, T = Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()), o = Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), a = Math.floor((T - o) / n);
|
|
8
|
+
return a > 0 ? a : 0;
|
|
42
9
|
};
|
|
43
10
|
export {
|
|
44
|
-
|
|
11
|
+
g as getDaysOverdue
|
|
45
12
|
};
|
|
@@ -1,27 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
} = l();
|
|
11
|
-
return i.finops.postReceivablesIdMarkAsUncollectible.useMutation({
|
|
12
|
-
path: {
|
|
13
|
-
receivable_id: e
|
|
14
|
-
}
|
|
15
|
-
}, {
|
|
16
|
-
onSuccess: async (o) => {
|
|
17
|
-
t?.(e), i.finops.getReceivablesId.setQueryData({
|
|
18
|
-
path: {
|
|
19
|
-
receivable_id: e
|
|
20
|
-
}
|
|
21
|
-
}, o, s), await i.finops.getReceivables.invalidateQueries(s), c.success(a._("Marked as uncollectible"));
|
|
22
|
-
}
|
|
23
|
-
});
|
|
1
|
+
const f = (n, r) => `${n} ${n === 1 ? r._("day") : r._("days")}`, s = (n, r) => {
|
|
2
|
+
const e = n.map((_) => f(_, r));
|
|
3
|
+
if (e.length <= 1) return e[0] ?? "";
|
|
4
|
+
const t = r._("and");
|
|
5
|
+
return e.length === 2 ? `${e[0]} ${t} ${e[1]}` : `${e.slice(0, -1).join(", ")}, ${t} ${e[e.length - 1]}`;
|
|
6
|
+
}, d = (n) => [n?.term_1_reminder?.days_before, n?.term_2_reminder?.days_before, n?.term_final_reminder?.days_before].filter((r) => typeof r == "number"), l = (n) => (n?.terms ?? []).map((r) => r.days_after).filter((r) => typeof r == "number"), m = (n, r, e, t = !1) => {
|
|
7
|
+
const _ = d(n), o = l(r), a = [];
|
|
8
|
+
return _.length > 0 && a.push(`${s(_, e)} ${e._("before")}`), o.length > 0 && a.push(`${s(o, e)} ${e._("after")}`), a.length > 0 ? a.join(`
|
|
9
|
+
`) : t ? "-" : e._("None");
|
|
24
10
|
};
|
|
25
11
|
export {
|
|
26
|
-
|
|
12
|
+
m as formatReminderSchedule
|
|
27
13
|
};
|
|
@@ -1,76 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
}) })
|
|
59
|
-
] })
|
|
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
|
-
] });
|
|
73
|
-
};
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as i } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-popover";
|
|
4
|
+
function m({
|
|
5
|
+
...t
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "popover", ...t });
|
|
8
|
+
}
|
|
9
|
+
function d({
|
|
10
|
+
ref: t,
|
|
11
|
+
...a
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e(o.Trigger, { "data-slot": "popover-trigger", ref: t, ...a });
|
|
14
|
+
}
|
|
15
|
+
d.displayName = o.Trigger.displayName;
|
|
16
|
+
function f({
|
|
17
|
+
className: t,
|
|
18
|
+
align: a = "center",
|
|
19
|
+
sideOffset: r = 4,
|
|
20
|
+
...n
|
|
21
|
+
}) {
|
|
22
|
+
return /* @__PURE__ */ e(o.Portal, { children: /* @__PURE__ */ e(o.Content, { "data-slot": "popover-content", align: a, sideOffset: r, className: i("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-72 ttw:origin-(--radix-popover-content-transform-origin) ttw:rounded-md ttw:border ttw:p-4 ttw:shadow-md ttw:outline-hidden", t), ...n }) });
|
|
23
|
+
}
|
|
24
|
+
function l({
|
|
25
|
+
...t
|
|
26
|
+
}) {
|
|
27
|
+
return /* @__PURE__ */ e(o.Anchor, { "data-slot": "popover-anchor", ...t });
|
|
28
|
+
}
|
|
74
29
|
export {
|
|
75
|
-
|
|
30
|
+
m as Popover,
|
|
31
|
+
l as PopoverAnchor,
|
|
32
|
+
f as PopoverContent,
|
|
33
|
+
d as PopoverTrigger
|
|
76
34
|
};
|
|
@@ -1,99 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { useCurrencies as g } from "./index58.js";
|
|
4
|
-
import { useMemo as _, useEffect as C } from "react";
|
|
5
|
-
import "./index92.js";
|
|
6
|
-
import { useLingui as F } from "@lingui/react";
|
|
7
|
-
import "react-dom";
|
|
8
|
-
import "./index57.js";
|
|
9
|
-
import "@mui/x-data-grid";
|
|
10
|
-
import { safeZodResolver as v } from "./index265.js";
|
|
11
|
-
import { RHFDatePicker as D } from "./index454.js";
|
|
12
|
-
import { RHFTextField as S } from "./index448.js";
|
|
13
|
-
import { RHFTimePicker as R } from "./index455.js";
|
|
14
|
-
import { DialogTitle as T, DialogContent as P, Grid as i, FormHelperText as k, Button as m, DialogActions as E, CircularProgress as H } from "@mui/material";
|
|
15
|
-
import { useForm as V } from "react-hook-form";
|
|
16
|
-
const Z = ({
|
|
17
|
-
invoice: r,
|
|
18
|
-
initialValues: n,
|
|
19
|
-
isLoading: u,
|
|
20
|
-
onSubmit: s,
|
|
21
|
-
onCancel: c
|
|
22
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as e } from "./index57.js";
|
|
2
|
+
const a = () => {
|
|
23
3
|
const {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
resolver: v(y(t, r.amount_due)),
|
|
35
|
-
defaultValues: _(() => n ?? {
|
|
36
|
-
amount: 0,
|
|
37
|
-
payment_date: /* @__PURE__ */ new Date(),
|
|
38
|
-
payment_time: /* @__PURE__ */ new Date()
|
|
39
|
-
}, [n])
|
|
4
|
+
api: t,
|
|
5
|
+
queryClient: i
|
|
6
|
+
} = e();
|
|
7
|
+
return t.finops.putEntitiesIdLogo.useMutation(void 0, {
|
|
8
|
+
onSuccess: async (s) => {
|
|
9
|
+
t.finops.getEntityUsersMyEntity.setQueryData({}, (o) => o && {
|
|
10
|
+
...o,
|
|
11
|
+
logo: s
|
|
12
|
+
}, i), await t.finops.getEntityUsersMyEntity.invalidateQueries(i);
|
|
13
|
+
}
|
|
40
14
|
});
|
|
41
|
-
C(() => {
|
|
42
|
-
l(n);
|
|
43
|
-
}, [n, l]);
|
|
44
|
-
const h = d(r.currency);
|
|
45
|
-
return /* @__PURE__ */ e(b, { children: /* @__PURE__ */ o("form", { onSubmit: f(s), children: [
|
|
46
|
-
/* @__PURE__ */ e(T, { sx: {
|
|
47
|
-
px: 4,
|
|
48
|
-
pt: 4
|
|
49
|
-
}, variant: "h3", id: "dialog-title", children: t._("Record payment") }),
|
|
50
|
-
/* @__PURE__ */ e(P, { sx: {
|
|
51
|
-
p: 4
|
|
52
|
-
}, children: /* @__PURE__ */ o(i, { container: !0, spacing: 1, children: [
|
|
53
|
-
/* @__PURE__ */ o(i, { item: !0, xs: 12, children: [
|
|
54
|
-
/* @__PURE__ */ e(S, { label: t._("Amount"), name: "amount", placeholder: "0", control: a, type: "number", sx: {
|
|
55
|
-
"::after": {
|
|
56
|
-
content: `"${h}"`,
|
|
57
|
-
position: "absolute",
|
|
58
|
-
right: "16px",
|
|
59
|
-
bottom: 0,
|
|
60
|
-
transform: "translateY(-50%)",
|
|
61
|
-
fontSize: "16px",
|
|
62
|
-
color: "rgba(0,0,0,0.28)",
|
|
63
|
-
pointerEvents: "none"
|
|
64
|
-
}
|
|
65
|
-
}, fullWidth: !0, required: !0 }),
|
|
66
|
-
/* @__PURE__ */ o(k, { children: [
|
|
67
|
-
t._("Enter full amount due of"),
|
|
68
|
-
" ",
|
|
69
|
-
/* @__PURE__ */ e(m, { variant: "text", sx: {
|
|
70
|
-
textDecoration: "underline"
|
|
71
|
-
}, onClick: () => x("amount", r.amount_due / 100), children: p(r.amount_due, r.currency) })
|
|
72
|
-
] })
|
|
73
|
-
] }),
|
|
74
|
-
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(D, { label: t._("Date"), name: "payment_date", control: a }) }),
|
|
75
|
-
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(R, { label: t._("Time"), name: "payment_time", control: a, sx: {
|
|
76
|
-
"::after": {
|
|
77
|
-
content: '"UTC"',
|
|
78
|
-
position: "absolute",
|
|
79
|
-
right: "16px",
|
|
80
|
-
bottom: 0,
|
|
81
|
-
transform: "translateY(-50%)",
|
|
82
|
-
fontSize: "16px",
|
|
83
|
-
color: "rgba(0,0,0,0.28)",
|
|
84
|
-
pointerEvents: "none"
|
|
85
|
-
}
|
|
86
|
-
}, fullWidth: !0, required: !0 }) })
|
|
87
|
-
] }) }),
|
|
88
|
-
/* @__PURE__ */ o(E, { sx: {
|
|
89
|
-
px: 4,
|
|
90
|
-
pb: 4
|
|
91
|
-
}, children: [
|
|
92
|
-
/* @__PURE__ */ e(m, { autoFocus: !0, onClick: c, children: t._("Cancel") }),
|
|
93
|
-
/* @__PURE__ */ e(m, { variant: "contained", startIcon: u ? /* @__PURE__ */ e(H, { size: 20, color: "warning" }) : null, type: "submit", children: t._("Save") })
|
|
94
|
-
] })
|
|
95
|
-
] }) });
|
|
96
15
|
};
|
|
97
16
|
export {
|
|
98
|
-
|
|
17
|
+
a as useUploadEntityLogo
|
|
99
18
|
};
|
|
@@ -1,39 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
|
|
5
|
-
const f = (s, t) => {
|
|
1
|
+
import { toast as o } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
4
|
+
const p = (i) => {
|
|
6
5
|
const {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} =
|
|
12
|
-
return
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: s
|
|
8
|
+
} = n(), {
|
|
9
|
+
i18n: e
|
|
10
|
+
} = r();
|
|
11
|
+
return t.finops.deleteEntitiesIdLogo.useMutation({
|
|
13
12
|
path: {
|
|
14
|
-
|
|
13
|
+
entity_id: i
|
|
15
14
|
}
|
|
16
15
|
}, {
|
|
17
|
-
onError: (n) => {
|
|
18
|
-
a.error(o(i, n));
|
|
19
|
-
},
|
|
20
16
|
onSuccess: async () => {
|
|
21
|
-
await
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}, r), e.finops.getRecurrencesId.invalidateQueries({
|
|
28
|
-
parameters: {
|
|
29
|
-
path: {
|
|
30
|
-
recurrence_id: s
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}, r)]), a.success(i._("Recurrence has been canceled"));
|
|
17
|
+
await t.finops.getEntityUsersMyEntity.invalidateQueries(s), o.success(e._("Logo was removed."));
|
|
18
|
+
},
|
|
19
|
+
onError: () => {
|
|
20
|
+
o.error(e._("Failed to remove logo."));
|
|
34
21
|
}
|
|
35
22
|
});
|
|
36
23
|
};
|
|
37
24
|
export {
|
|
38
|
-
|
|
25
|
+
p as useDeleteEntityLogo
|
|
39
26
|
};
|