@tesouro/embedded-components-react 0.2.66 → 0.2.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +8 -0
- package/dist/lib/ReceivablesWidget.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +138 -135
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/labels.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index3.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index5.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index8.js +4 -4
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +10 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +2 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +20 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +113 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +11 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +9 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +45 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +74 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +54 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +196 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +79 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +116 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +70 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +184 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +31 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +120 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +53 -388
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +21 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +88 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +390 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +22 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +17 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +93 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +46 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +75 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +54 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +345 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +11 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +247 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +182 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +11 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +36 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +56 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +52 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +28 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +98 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +16 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +25 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +42 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +63 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +96 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +107 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +85 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +486 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +165 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +113 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +22 -303
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +40 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +52 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +16 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +41 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +76 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +36 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +338 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +301 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +101 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +161 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +264 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +23 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +2 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +94 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +96 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +189 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +77 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +73 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +57 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +56 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +10 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +149 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +63 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +24 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +127 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +44 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +30 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +157 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +27 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +76 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +63 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +43 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +187 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +106 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +81 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +287 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +86 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +223 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +35 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +47 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +46 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +110 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +22 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +171 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +153 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +10 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +60 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +65 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +60 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +6 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +8 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +57 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +22 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +14 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +32 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +43 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +6 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +104 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +33 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +55 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +26 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +41 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +23 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +65 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +93 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +36 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +54 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +33 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +10 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +10 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +118 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +32 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +15 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +48 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +11 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +65 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +17 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +31 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +52 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +46 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +27 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +21 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +62 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +37 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +85 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +103 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +112 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +28 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +24 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +39 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +5 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +9 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +69 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +54 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +41 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +69 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +51 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +30 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +52 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +36 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +44 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +67 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +21 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +52 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +31 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +39 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +17 -21
- 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 +95 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +75 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +17 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +36 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +13 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +54 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/index2.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- package/package.json +1 -1
|
@@ -1,27 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 "./index249.js";
|
|
5
|
+
import { cn as g } from "./index101.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"
|
|
22
25
|
}
|
|
23
|
-
}
|
|
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) });
|
|
24
42
|
};
|
|
25
43
|
export {
|
|
26
|
-
|
|
44
|
+
z as InvoiceRecurrenceIterationStatusChip
|
|
27
45
|
};
|
|
@@ -1,76 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useMoniteContext as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import "./index93.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 "./index76.js";
|
|
12
|
-
import "react-hot-toast";
|
|
13
|
-
import { MoniteCard as g } from "./index444.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
|
|
19
|
-
}) => {
|
|
1
|
+
import { toast as c } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as n } from "./index58.js";
|
|
3
|
+
import { useLingui as l } from "@lingui/react";
|
|
4
|
+
const b = (e, t) => {
|
|
20
5
|
const {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
] });
|
|
6
|
+
api: i,
|
|
7
|
+
queryClient: s
|
|
8
|
+
} = n(), {
|
|
9
|
+
i18n: a
|
|
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
|
+
});
|
|
73
24
|
};
|
|
74
25
|
export {
|
|
75
|
-
|
|
26
|
+
b as useMarkAsUncollectibleReceivableById
|
|
76
27
|
};
|
|
@@ -1,99 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMoniteContext as h } from "./index58.js";
|
|
3
3
|
import { useCurrencies as y } from "./index59.js";
|
|
4
|
-
import
|
|
4
|
+
import "react";
|
|
5
5
|
import "./index93.js";
|
|
6
|
-
import { useLingui as
|
|
6
|
+
import { useLingui as f } from "@lingui/react";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
import "./index58.js";
|
|
9
8
|
import "@mui/x-data-grid";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
onSubmit: s,
|
|
21
|
-
onCancel: c
|
|
9
|
+
import "@tanstack/react-query";
|
|
10
|
+
import "date-fns";
|
|
11
|
+
import { useEntityUserByAuthToken as x } from "./index76.js";
|
|
12
|
+
import "react-hot-toast";
|
|
13
|
+
import { MoniteCard as g } from "./index441.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
|
|
22
19
|
}) => {
|
|
23
20
|
const {
|
|
24
21
|
i18n: t
|
|
25
|
-
} =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
|
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"
|
|
91
41
|
}, children: [
|
|
92
|
-
/* @__PURE__ */ e(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
+
] });
|
|
96
73
|
};
|
|
97
74
|
export {
|
|
98
|
-
|
|
75
|
+
L as ManualPaymentRecordDetails
|
|
99
76
|
};
|
|
@@ -1,39 +1,99 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { jsx as e, Fragment as b, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { manualPaymentRecordValidationSchema as g } from "./index189.js";
|
|
3
|
+
import { useCurrencies as y } from "./index59.js";
|
|
4
|
+
import { useMemo as _, useEffect as C } from "react";
|
|
5
|
+
import "./index93.js";
|
|
6
|
+
import { useLingui as F } from "@lingui/react";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "./index58.js";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
import { safeZodResolver as v } from "./index244.js";
|
|
11
|
+
import { RHFDatePicker as D } from "./index442.js";
|
|
12
|
+
import { RHFTextField as S } from "./index443.js";
|
|
13
|
+
import { RHFTimePicker as R } from "./index444.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
|
+
}) => {
|
|
6
23
|
const {
|
|
7
|
-
i18n:
|
|
8
|
-
} =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
i18n: t
|
|
25
|
+
} = F(), {
|
|
26
|
+
formatCurrencyToDisplay: p,
|
|
27
|
+
getSymbolFromCurrency: d
|
|
28
|
+
} = y(), {
|
|
29
|
+
control: a,
|
|
30
|
+
handleSubmit: f,
|
|
31
|
+
reset: l,
|
|
32
|
+
setValue: x
|
|
33
|
+
} = V({
|
|
34
|
+
resolver: v(g(t, r.amount_due)),
|
|
35
|
+
defaultValues: _(() => n ?? {
|
|
36
|
+
amount: 0,
|
|
37
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
38
|
+
payment_time: /* @__PURE__ */ new Date()
|
|
39
|
+
}, [n])
|
|
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"
|
|
31
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"
|
|
32
85
|
}
|
|
33
|
-
},
|
|
34
|
-
}
|
|
35
|
-
|
|
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
|
+
] }) });
|
|
36
96
|
};
|
|
37
97
|
export {
|
|
38
|
-
|
|
98
|
+
Z as PaymentRecordForm
|
|
39
99
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o, jsxs as b, Fragment as $ } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { ScopedCssBaselineContainerClassName as z } from "./index105.js";
|
|
3
3
|
import { InvoiceStatusChip as k } from "./index56.js";
|
|
4
|
-
import { ReceivableFilters as B } from "./
|
|
4
|
+
import { ReceivableFilters as B } from "./index183.js";
|
|
5
5
|
import "react-hot-toast";
|
|
6
6
|
import { useMoniteContext as G } from "./index58.js";
|
|
7
7
|
import { useLingui as A } from "@lingui/react";
|
|
8
8
|
import { useState as c, useMemo as D } from "react";
|
|
9
|
-
import { useReceivablesFilters as W } from "./
|
|
9
|
+
import { useReceivablesFilters as W } from "./index184.js";
|
|
10
10
|
import "date-fns";
|
|
11
11
|
import { useCurrencies as j } from "./index59.js";
|
|
12
12
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
@@ -24,12 +24,12 @@ import "./index93.js";
|
|
|
24
24
|
import { useAreCounterpartsLoading as V, defaultCounterpartColumnWidth as q, useAutosizeGridColumns as H } from "./index63.js";
|
|
25
25
|
import "react-hook-form";
|
|
26
26
|
import { MoniteScopedProviders as Q } from "./index84.js";
|
|
27
|
-
import { ReceivableCursorFields as x } from "./
|
|
27
|
+
import { ReceivableCursorFields as x } from "./index181.js";
|
|
28
28
|
import { CounterpartNameCellById as Y } from "./index157.js";
|
|
29
|
-
import { DataGridEmptyState as J } from "./
|
|
29
|
+
import { DataGridEmptyState as J } from "./index185.js";
|
|
30
30
|
import { GetNoRowsOverlay as K } from "./index158.js";
|
|
31
31
|
import { TablePagination as U } from "./index87.js";
|
|
32
|
-
import { classNames as X } from "./
|
|
32
|
+
import { classNames as X } from "./index186.js";
|
|
33
33
|
import { hasSelectedText as Z } from "./index160.js";
|
|
34
34
|
import { Stack as ee, Typography as te, Box as oe } from "@mui/material";
|
|
35
35
|
import { DataGrid as ie } from "@mui/x-data-grid";
|
|
@@ -1,12 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { useMoniteContext as c } from "./index58.js";
|
|
2
|
+
import { getAPIErrorMessage as o } from "./index121.js";
|
|
3
|
+
import { useLingui as u } from "@lingui/react";
|
|
4
|
+
import { toast as a } from "react-hot-toast";
|
|
5
|
+
const f = (s, t) => {
|
|
6
|
+
const {
|
|
7
|
+
i18n: i
|
|
8
|
+
} = u(), {
|
|
9
|
+
api: e,
|
|
10
|
+
queryClient: r
|
|
11
|
+
} = c();
|
|
12
|
+
return e.finops.postRecurrencesIdCancel.useMutation({
|
|
13
|
+
path: {
|
|
14
|
+
recurrence_id: s
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
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
|
+
}
|
|
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"));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
9
36
|
};
|
|
10
37
|
export {
|
|
11
|
-
|
|
38
|
+
f as useCancelRecurrence
|
|
12
39
|
};
|
|
@@ -1,13 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { useMoniteContext as e } from "./index58.js";
|
|
2
|
+
import { useLingui as i } from "@lingui/react";
|
|
3
|
+
import { toast as u } from "react-hot-toast";
|
|
4
|
+
const d = () => {
|
|
5
|
+
const {
|
|
6
|
+
api: r,
|
|
7
|
+
queryClient: n
|
|
8
|
+
} = e(), {
|
|
9
|
+
i18n: o
|
|
10
|
+
} = i();
|
|
11
|
+
return r.finops.patchCounterpartsIdBankAccountsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async (t) => {
|
|
13
|
+
r.finops.getCounterpartsIdBankAccountsId.setQueryData({
|
|
14
|
+
path: {
|
|
15
|
+
counterpart_id: t.counterpart_id,
|
|
16
|
+
bank_account_id: t.id
|
|
17
|
+
}
|
|
18
|
+
}, (a) => ({
|
|
19
|
+
...a,
|
|
20
|
+
...t
|
|
21
|
+
}), n), await r.finops.getCounterpartsIdBankAccounts.invalidateQueries({
|
|
22
|
+
parameters: {
|
|
23
|
+
path: {
|
|
24
|
+
counterpart_id: t.counterpart_id
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, n);
|
|
28
|
+
},
|
|
29
|
+
onError: () => {
|
|
30
|
+
u.error(o._("Failed to update Bank Account."));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
10
33
|
};
|
|
11
34
|
export {
|
|
12
|
-
|
|
35
|
+
d as useUpdateCounterpartBank
|
|
13
36
|
};
|