@tesouro/embedded-components-react 0.2.212 → 0.2.213
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 +20 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.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/index147.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +10 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +19 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +27 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +117 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +68 -226
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +12 -468
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +9 -539
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +43 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +74 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +55 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +80 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +225 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +462 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +106 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +536 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +52 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +29 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +77 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +32 -361
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +36 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +51 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +82 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +66 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +360 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +117 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +17 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +7 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +19 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +22 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +49 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +24 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +17 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +110 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +11 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +23 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +36 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +59 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +45 -484
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +28 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +96 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +43 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +107 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +488 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +162 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +42 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +62 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +31 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +118 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +22 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +41 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +53 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +18 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +28 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +37 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +58 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +96 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +107 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +85 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +62 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +77 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +74 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +41 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +73 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +22 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +57 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +58 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +17 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +21 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +38 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +14 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +168 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +126 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +158 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +18 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +60 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +64 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +60 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +11 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +59 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +22 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +61 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +157 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +28 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +76 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +22 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +26 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +62 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +23 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +126 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +46 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +115 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +111 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +47 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +204 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +67 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +94 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +97 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +206 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +149 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +19 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +31 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +4 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +17 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +36 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +30 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +29 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +25 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +127 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +24 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +48 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +255 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +32 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +48 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +48 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +44 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +22 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +42 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +24 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +65 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +97 -18
- 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 +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +53 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +54 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +18 -11
- 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 +123 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +71 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +3 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +66 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +47 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +25 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +20 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +64 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +20 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +65 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +114 -65
- 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 +81 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +8 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +28 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +33 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +30 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +4 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +124 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +82 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +17 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +79 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +267 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +62 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +44 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +25 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +138 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +91 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +282 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +47 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +30 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +29 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +8 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +53 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +36 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +45 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +12 -51
- 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 +38 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +69 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +82 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +52 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +49 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +55 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +68 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +54 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +57 -32
- 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 +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +93 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +75 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +9 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +40 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +34 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +16 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +34 -85
- 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 +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +85 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +22 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +97 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +108 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +70 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +68 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +38 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +48 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +39 -47
- 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/index8.js +3 -3
- 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/settings-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +20 -20
- package/package.json +1 -1
|
@@ -1,39 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
isLoading: r = !1
|
|
17
|
-
}) => {
|
|
18
|
-
const {
|
|
19
|
-
i18n: h
|
|
20
|
-
} = v();
|
|
21
|
-
return /* @__PURE__ */ o(C, { open: e, onOpenChange: a, "aria-label": h._("Confirmation dialog"), children: /* @__PURE__ */ n(u, { container: g, showCloseButton: !1, children: [
|
|
22
|
-
/* @__PURE__ */ o(D, { children: /* @__PURE__ */ o(b, { children: l }) }),
|
|
23
|
-
/* @__PURE__ */ o(w, { children: s || c }),
|
|
24
|
-
/* @__PURE__ */ n(L, { children: [
|
|
25
|
-
/* @__PURE__ */ o(t, { onClick: (i) => {
|
|
26
|
-
i.stopPropagation(), a();
|
|
27
|
-
}, variant: "outline", children: m }),
|
|
28
|
-
/* @__PURE__ */ n(t, { onClick: (i) => {
|
|
29
|
-
i.stopPropagation(), p();
|
|
30
|
-
}, disabled: r, variant: "destructive", children: [
|
|
31
|
-
r && /* @__PURE__ */ o(f, { className: "ttw:w-5 ttw:h-5 ttw:border-inherit ttw:border-t-transparent" }),
|
|
32
|
-
d
|
|
33
|
-
] })
|
|
34
|
-
] })
|
|
35
|
-
] }) });
|
|
1
|
+
import _ from "@mui/icons-material/Cancel";
|
|
2
|
+
import t from "@mui/icons-material/HourglassEmpty";
|
|
3
|
+
import a from "@mui/icons-material/PaidOutlined";
|
|
4
|
+
const T = "search", o = "created_at", p = "created_by", d = ["ApprovalRequests.request_approval_by_roles", "ApprovalRequests.request_approval_by_role"], R = {
|
|
5
|
+
active: "success",
|
|
6
|
+
deleted: "error",
|
|
7
|
+
pending: "warning"
|
|
8
|
+
}, i = (e) => ({
|
|
9
|
+
active: e._("Active"),
|
|
10
|
+
deleted: e._("Deleted"),
|
|
11
|
+
pending: e._("Pending")
|
|
12
|
+
}), n = {
|
|
13
|
+
active: a,
|
|
14
|
+
deleted: _,
|
|
15
|
+
pending: t
|
|
36
16
|
};
|
|
37
17
|
export {
|
|
38
|
-
|
|
18
|
+
n as APPROVAL_STATUS_TO_MUI_ICON_MAP,
|
|
19
|
+
o as FILTER_TYPE_CREATED_AT,
|
|
20
|
+
p as FILTER_TYPE_CREATED_BY,
|
|
21
|
+
T as FILTER_TYPE_SEARCH,
|
|
22
|
+
d as ROLE_APPROVAL_CALLS,
|
|
23
|
+
R as ROW_TO_STATUS_MUI_MAP,
|
|
24
|
+
i as getRowToStatusTextMap
|
|
39
25
|
};
|
|
@@ -1,32 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { jsx as i, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useApprovalPolicyTrigger as l } from "./index380.js";
|
|
3
|
+
import { ColumnList as s } from "./index381.js";
|
|
4
|
+
import { UBuilding as n } from "./index382.js";
|
|
5
|
+
import { ULabel as c } from "./index383.js";
|
|
6
|
+
import { UMoneyBill as m } from "./index384.js";
|
|
7
|
+
import { UUserCircle as p } from "./index385.js";
|
|
8
|
+
const U = ({
|
|
9
|
+
approvalPolicy: o
|
|
10
|
+
}) => {
|
|
6
11
|
const {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} = s();
|
|
12
|
-
return t.finops.patchCounterpartsId.useMutation(void 0, {
|
|
13
|
-
onSuccess: async (e) => {
|
|
14
|
-
t.finops.getCounterpartsId.setQueryData({
|
|
15
|
-
path: {
|
|
16
|
-
counterpart_id: e.id
|
|
17
|
-
}
|
|
18
|
-
}, (n) => ({
|
|
19
|
-
...n,
|
|
20
|
-
...e
|
|
21
|
-
}), o), await t.finops.getCounterparts.invalidateQueries(o), a.success(r._("{name} has been updated.", {
|
|
22
|
-
name: p(e)
|
|
23
|
-
}));
|
|
24
|
-
},
|
|
25
|
-
onError: () => {
|
|
26
|
-
a.error(r._("Failed to update counterpart."));
|
|
27
|
-
}
|
|
12
|
+
triggers: a,
|
|
13
|
+
getTriggerName: e
|
|
14
|
+
} = l({
|
|
15
|
+
approvalPolicy: o
|
|
28
16
|
});
|
|
17
|
+
return o ? /* @__PURE__ */ i(s, { children: Object.keys(a).map((r) => {
|
|
18
|
+
switch (r) {
|
|
19
|
+
case "amount":
|
|
20
|
+
return /* @__PURE__ */ t("li", { children: [
|
|
21
|
+
/* @__PURE__ */ i(m, { width: 18 }),
|
|
22
|
+
e(r)
|
|
23
|
+
] }, r);
|
|
24
|
+
case "was_created_by_user_id":
|
|
25
|
+
return /* @__PURE__ */ t("li", { children: [
|
|
26
|
+
/* @__PURE__ */ i(p, { width: 18 }),
|
|
27
|
+
e(r)
|
|
28
|
+
] }, r);
|
|
29
|
+
case "counterpart_id":
|
|
30
|
+
return /* @__PURE__ */ t("li", { children: [
|
|
31
|
+
/* @__PURE__ */ i(n, { width: 18 }),
|
|
32
|
+
e(r)
|
|
33
|
+
] }, r);
|
|
34
|
+
case "tags":
|
|
35
|
+
return /* @__PURE__ */ t("li", { children: [
|
|
36
|
+
/* @__PURE__ */ i(c, { width: 18 }),
|
|
37
|
+
e(r)
|
|
38
|
+
] }, r);
|
|
39
|
+
default:
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
}) }) : null;
|
|
29
43
|
};
|
|
30
44
|
export {
|
|
31
|
-
|
|
45
|
+
U as ApprovalPoliciesTriggers
|
|
32
46
|
};
|
|
@@ -1,44 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsxs as f, jsx as s } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as c, useMemo as u } from "react";
|
|
3
|
+
import { useMoniteContext as y } from "./index57.js";
|
|
4
|
+
import { useRootElements as E } from "./index92.js";
|
|
5
|
+
import { useDebounceCallback as x, useDebounce as T } from "./index65.js";
|
|
6
|
+
import { useLingui as _ } from "@lingui/react";
|
|
7
|
+
import { X as N } from "lucide-react";
|
|
8
|
+
import { SearchInput as A, DatePicker as $, Combobox as R } from "../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
9
|
+
import { FILTER_TYPE_SEARCH as k, FILTER_TYPE_CREATED_BY as D, FILTER_TYPE_CREATED_AT as v } from "./index269.js";
|
|
10
|
+
const C = 500, F = (t) => {
|
|
11
|
+
const e = `${t.first_name ?? ""} ${t.last_name ?? ""}`.trim();
|
|
12
|
+
return e && t.email ? `${e} (${t.email})` : e || t.email || t.id;
|
|
13
|
+
}, L = ({
|
|
14
|
+
onChange: t
|
|
7
15
|
}) => {
|
|
8
16
|
const {
|
|
9
|
-
i18n:
|
|
10
|
-
} =
|
|
11
|
-
api:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
address_id: t
|
|
17
|
+
i18n: e
|
|
18
|
+
} = _(), {
|
|
19
|
+
api: n
|
|
20
|
+
} = y(), [r, l] = c(null), [m, a] = c(""), b = T(m, C), {
|
|
21
|
+
data: w
|
|
22
|
+
} = n.finops.getEntityUsers.useQuery({
|
|
23
|
+
query: {
|
|
24
|
+
name__istartswith: b || void 0
|
|
18
25
|
}
|
|
19
|
-
}, {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
26
|
+
}), d = u(() => w?.data ?? [], [w]), i = u(() => d.map((o) => ({
|
|
27
|
+
value: o.id,
|
|
28
|
+
label: F(o)
|
|
29
|
+
})), [d]), p = u(() => !r || i.some((o) => o.value === r.value) ? i : [r, ...i], [i, r]);
|
|
30
|
+
return /* @__PURE__ */ s(R, { items: p, value: r?.value ?? "", placeholder: e._("Added by"), emptyMessage: e._("No users found"), clearAriaLabel: e._("Clear selection"), onQueryChange: a, onValueChange: (o) => {
|
|
31
|
+
const h = Array.isArray(o) ? o[0] ?? "" : o ?? "";
|
|
32
|
+
l(p.find((g) => g.value === h) ?? null), t(h || void 0);
|
|
33
|
+
} });
|
|
34
|
+
}, X = ({
|
|
35
|
+
onChangeFilter: t
|
|
36
|
+
}) => {
|
|
37
|
+
const {
|
|
38
|
+
i18n: e
|
|
39
|
+
} = _(), {
|
|
40
|
+
root: n
|
|
41
|
+
} = E(), [r, l] = c(void 0), m = x((a) => {
|
|
42
|
+
t(k, a.trim() ? a : null);
|
|
43
|
+
}, C);
|
|
44
|
+
return /* @__PURE__ */ f("div", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:px-2 ttw:py-2", children: [
|
|
45
|
+
/* @__PURE__ */ s("div", { className: "ttw:flex-1", children: /* @__PURE__ */ s(A, { placeholder: e._("Search"), className: "ttw:h-9 ttw:w-full", onChange: (a) => m(a.target.value) }) }),
|
|
46
|
+
/* @__PURE__ */ s("div", { className: "ttw:w-48 ttw:shrink-0", children: /* @__PURE__ */ s(L, { onChange: (a) => t(D, a ?? null) }) }),
|
|
47
|
+
/* @__PURE__ */ f("div", { className: "ttw:relative ttw:w-44 ttw:shrink-0", children: [
|
|
48
|
+
/* @__PURE__ */ s($, { value: r, placeholder: e._("Created at"), className: `ttw:h-9 ttw:border-border${r ? " ttw:pr-8" : ""}`, container: n, onChange: (a) => {
|
|
49
|
+
l(a), t(v, a ?? null);
|
|
50
|
+
} }),
|
|
51
|
+
r ? /* @__PURE__ */ s("button", { type: "button", "aria-label": e._("Clear created at filter"), className: "ttw:absolute ttw:right-2 ttw:top-1/2 ttw:inline-flex ttw:size-4 ttw:-translate-y-1/2 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:opacity-70 hover:ttw:opacity-100", onClick: () => {
|
|
52
|
+
l(void 0), t(v, null);
|
|
53
|
+
}, children: /* @__PURE__ */ s(N, { className: "ttw:size-3.5" }) }) : null
|
|
54
|
+
] })
|
|
55
|
+
] });
|
|
41
56
|
};
|
|
42
57
|
export {
|
|
43
|
-
|
|
58
|
+
X as Filters
|
|
44
59
|
};
|
|
@@ -1,65 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { Typography as p } from "./index85.js";
|
|
6
|
-
import { useLingui as g } from "@lingui/react";
|
|
7
|
-
import { useFormContext as y, Controller as w } from "react-hook-form";
|
|
8
|
-
import { twMerge as N } from "tailwind-merge";
|
|
9
|
-
const j = ({
|
|
10
|
-
hasExistingBankAccount: a,
|
|
11
|
-
isLoading: o,
|
|
12
|
-
isStandalone: b,
|
|
13
|
-
handleCancel: v
|
|
14
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
+
import { useLingui as s } from "@lingui/react";
|
|
3
|
+
import { toast as r } from "react-hot-toast";
|
|
4
|
+
const p = () => {
|
|
15
5
|
const {
|
|
16
|
-
i18n:
|
|
17
|
-
} =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} =
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
field: r,
|
|
30
|
-
fieldState: {
|
|
31
|
-
error: i
|
|
32
|
-
}
|
|
33
|
-
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
34
|
-
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Account holder name") }),
|
|
35
|
-
/* @__PURE__ */ e(h, { id: r.name, ...r, className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
36
|
-
/* @__PURE__ */ e(u, { errors: [i] })
|
|
37
|
-
] }) }) }),
|
|
38
|
-
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
39
|
-
/* @__PURE__ */ e(w, { name: "routingNumber", control: d, render: ({
|
|
40
|
-
field: r,
|
|
41
|
-
fieldState: {
|
|
42
|
-
error: i
|
|
43
|
-
}
|
|
44
|
-
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
45
|
-
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Routing number") }),
|
|
46
|
-
/* @__PURE__ */ e(h, { id: r.name, ...r, placeholder: t._("e.g., 123456789"), className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
47
|
-
/* @__PURE__ */ e(u, { errors: [i] })
|
|
48
|
-
] }) }) }),
|
|
49
|
-
/* @__PURE__ */ e(w, { name: "accountNumber", control: d, render: ({
|
|
50
|
-
field: r,
|
|
51
|
-
fieldState: {
|
|
52
|
-
error: i
|
|
53
|
-
}
|
|
54
|
-
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
55
|
-
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Account number") }),
|
|
56
|
-
/* @__PURE__ */ e(h, { id: r.name, ...r, placeholder: t._("e.g., 12345678"), className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
57
|
-
/* @__PURE__ */ e(u, { errors: [i] })
|
|
58
|
-
] }) }) })
|
|
59
|
-
] }),
|
|
60
|
-
/* @__PURE__ */ e(p, { color: "muted", variant: "body2", children: t._("Ask your vendor for this — it's usually on their invoice, W-9, or a payment instructions email they send you.") })
|
|
61
|
-
] });
|
|
6
|
+
i18n: e
|
|
7
|
+
} = s(), {
|
|
8
|
+
api: t,
|
|
9
|
+
queryClient: o
|
|
10
|
+
} = n();
|
|
11
|
+
return t.finops.deleteCounterpartsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async () => {
|
|
13
|
+
await t.finops.getCounterparts.invalidateQueries(o), r.success(e._("Counterpart has been deleted."));
|
|
14
|
+
},
|
|
15
|
+
onError: () => {
|
|
16
|
+
r.error(e._("Failed to delete Counterpart."));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
62
19
|
};
|
|
63
20
|
export {
|
|
64
|
-
|
|
21
|
+
p as useDeleteCounterpart
|
|
65
22
|
};
|
|
@@ -1,98 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { Button as w } from "./index84.js";
|
|
7
|
-
import { getCounterpartBankValidationSchema as U } from "./index216.js";
|
|
8
|
-
import "./index57.js";
|
|
9
|
-
import { toast as l } from "react-hot-toast";
|
|
10
|
-
import { useCreateCounterpartBank as A } from "./index219.js";
|
|
11
|
-
import { useUpdateCounterpartBank as D } from "./index387.js";
|
|
12
|
-
import "date-fns";
|
|
13
|
-
import { getCounterpartName as L } from "./index7.js";
|
|
14
|
-
import { LoadingSpinner as j } from "./index138.js";
|
|
15
|
-
import { CounterpartBankFormContent as I } from "./index272.js";
|
|
16
|
-
const $ = ({
|
|
17
|
-
counterpartId: p,
|
|
18
|
-
isStandalone: g,
|
|
19
|
-
bankAccount: t,
|
|
20
|
-
handleClose: b,
|
|
21
|
-
onUpdate: c,
|
|
22
|
-
onCreate: i
|
|
23
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
import { useLingui as i } from "@lingui/react";
|
|
3
|
+
import { toast as a } from "react-hot-toast";
|
|
4
|
+
import { getCounterpartName as p } from "./index7.js";
|
|
5
|
+
const f = () => {
|
|
24
6
|
const {
|
|
25
|
-
i18n:
|
|
26
|
-
} =
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} =
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
account_number: r.accountNumber,
|
|
48
|
-
routing_number: r.routingNumber
|
|
49
|
-
};
|
|
50
|
-
return f({
|
|
51
|
-
path: {
|
|
52
|
-
counterpart_id: p,
|
|
53
|
-
bank_account_id: t?.id
|
|
54
|
-
},
|
|
55
|
-
body: s
|
|
56
|
-
}, {
|
|
57
|
-
onSuccess: () => {
|
|
58
|
-
l.success(e._("Bank account information has been updated.")), c && c();
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
} else {
|
|
62
|
-
const s = {
|
|
63
|
-
account_holder_name: r.accountHolderName,
|
|
64
|
-
account_number: r.accountNumber,
|
|
65
|
-
routing_number: r.routingNumber,
|
|
66
|
-
country: "US",
|
|
67
|
-
currency: "USD",
|
|
68
|
-
is_default_for_currency: !0
|
|
69
|
-
};
|
|
70
|
-
return _({
|
|
71
|
-
path: {
|
|
72
|
-
counterpart_id: p
|
|
73
|
-
},
|
|
74
|
-
body: s
|
|
75
|
-
}, {
|
|
76
|
-
onSuccess: () => {
|
|
77
|
-
l.success(e._("Bank Account has been added.")), i && i();
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
})(m);
|
|
82
|
-
}, [l, f, _, L, c, i, a.handleSubmit, e]);
|
|
83
|
-
return /* @__PURE__ */ u(B, { resetField: n, ...a, children: /* @__PURE__ */ d("form", { id: h, onSubmit: x, className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100", children: [
|
|
84
|
-
/* @__PURE__ */ u(I, { hasExistingBankAccount: N, handleCancel: b, isLoading: o, isStandalone: g }),
|
|
85
|
-
/* @__PURE__ */ d("div", { className: "ttw:flex ttw:gap-4 ttw:pt-6", children: [
|
|
86
|
-
/* @__PURE__ */ u(w, { type: "button", variant: "outline", className: "ttw:border-border ttw:flex-1", disabled: o, onClick: () => {
|
|
87
|
-
n("accountHolderName"), n("accountNumber"), n("routingNumber"), b();
|
|
88
|
-
}, children: e._("Cancel") }),
|
|
89
|
-
/* @__PURE__ */ d(w, { type: "submit", className: "ttw:flex-1", disabled: o || !a.formState.isDirty, children: [
|
|
90
|
-
o && /* @__PURE__ */ u(j, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }),
|
|
91
|
-
e._("Save")
|
|
92
|
-
] })
|
|
93
|
-
] })
|
|
94
|
-
] }) });
|
|
7
|
+
i18n: r
|
|
8
|
+
} = i(), {
|
|
9
|
+
api: t,
|
|
10
|
+
queryClient: o
|
|
11
|
+
} = s();
|
|
12
|
+
return t.finops.patchCounterpartsId.useMutation(void 0, {
|
|
13
|
+
onSuccess: async (e) => {
|
|
14
|
+
t.finops.getCounterpartsId.setQueryData({
|
|
15
|
+
path: {
|
|
16
|
+
counterpart_id: e.id
|
|
17
|
+
}
|
|
18
|
+
}, (n) => ({
|
|
19
|
+
...n,
|
|
20
|
+
...e
|
|
21
|
+
}), o), await t.finops.getCounterparts.invalidateQueries(o), a.success(r._("{name} has been updated.", {
|
|
22
|
+
name: p(e)
|
|
23
|
+
}));
|
|
24
|
+
},
|
|
25
|
+
onError: () => {
|
|
26
|
+
a.error(r._("Failed to update counterpart."));
|
|
27
|
+
}
|
|
28
|
+
});
|
|
95
29
|
};
|
|
96
30
|
export {
|
|
97
|
-
|
|
31
|
+
f as useUpdateCounterpart
|
|
98
32
|
};
|
|
@@ -1,114 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { MoniteCountryShadcn as L } from "./index404.js";
|
|
8
|
-
import { useLingui as T } from "@lingui/react";
|
|
9
|
-
import { useRef as U } from "react";
|
|
10
|
-
import { useFormContext as B, Controller as w } from "react-hook-form";
|
|
11
|
-
import { twMerge as g } from "tailwind-merge";
|
|
12
|
-
const G = ({
|
|
13
|
-
hasExistingAddress: v,
|
|
14
|
-
isLoading: n,
|
|
15
|
-
isStandalone: d,
|
|
16
|
-
customerType: S
|
|
1
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
+
import { useLingui as i } from "@lingui/react";
|
|
3
|
+
import { toast as p } from "react-hot-toast";
|
|
4
|
+
const m = ({
|
|
5
|
+
counterpartId: e,
|
|
6
|
+
addressId: t
|
|
17
7
|
}) => {
|
|
18
8
|
const {
|
|
19
|
-
i18n:
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} =
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
9
|
+
i18n: a
|
|
10
|
+
} = i(), {
|
|
11
|
+
api: r,
|
|
12
|
+
queryClient: s
|
|
13
|
+
} = n();
|
|
14
|
+
return r.finops.patchCounterpartsIdAddressesId.useMutation({
|
|
15
|
+
path: {
|
|
16
|
+
counterpart_id: e,
|
|
17
|
+
address_id: t
|
|
18
|
+
}
|
|
19
|
+
}, {
|
|
20
|
+
onSuccess: async (d) => {
|
|
21
|
+
r.finops.getCounterpartsIdAddressesId.setQueryData({
|
|
22
|
+
path: {
|
|
23
|
+
counterpart_id: e,
|
|
24
|
+
address_id: t
|
|
35
25
|
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
error: r
|
|
26
|
+
}, (o) => ({
|
|
27
|
+
...o,
|
|
28
|
+
...d
|
|
29
|
+
}), s), await r.finops.getCounterpartsIdAddresses.invalidateQueries({
|
|
30
|
+
parameters: {
|
|
31
|
+
path: {
|
|
32
|
+
counterpart_id: e
|
|
33
|
+
}
|
|
45
34
|
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
53
|
-
] }) }) })
|
|
54
|
-
] }),
|
|
55
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
56
|
-
/* @__PURE__ */ e(w, { name: "city", control: h, render: ({
|
|
57
|
-
field: t,
|
|
58
|
-
fieldState: {
|
|
59
|
-
error: r
|
|
60
|
-
}
|
|
61
|
-
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
62
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("City") }),
|
|
63
|
-
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
64
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
65
|
-
] }) }) }),
|
|
66
|
-
/* @__PURE__ */ e(w, { name: "state", control: h, render: ({
|
|
67
|
-
field: t,
|
|
68
|
-
fieldState: {
|
|
69
|
-
error: r
|
|
70
|
-
}
|
|
71
|
-
}) => N("country") === "US" ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
72
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("State") }),
|
|
73
|
-
/* @__PURE__ */ a(F, { value: t.value ?? void 0, onValueChange: t.onChange, disabled: n, children: [
|
|
74
|
-
/* @__PURE__ */ e(_, { ref: t.ref, onBlur: t.onBlur, "aria-invalid": !!r || void 0, className: g("ttw:w-full", (d || i) && "ttw:bg-white"), disabled: n, children: /* @__PURE__ */ e(j, { placeholder: l._("Select a state") }) }),
|
|
75
|
-
/* @__PURE__ */ e(A, { children: Object.entries(x).map(([p, C]) => /* @__PURE__ */ a(E, { value: p, children: [
|
|
76
|
-
C,
|
|
77
|
-
" — ",
|
|
78
|
-
p
|
|
79
|
-
] }, p)) })
|
|
80
|
-
] }),
|
|
81
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
82
|
-
] }) }) : /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
83
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("State") }),
|
|
84
|
-
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
85
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
86
|
-
] }) }) })
|
|
87
|
-
] }),
|
|
88
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
89
|
-
/* @__PURE__ */ e(w, { name: "postalCode", control: h, render: ({
|
|
90
|
-
field: t,
|
|
91
|
-
fieldState: {
|
|
92
|
-
error: r
|
|
93
|
-
}
|
|
94
|
-
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
95
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("Postal code") }),
|
|
96
|
-
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
97
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
98
|
-
] }) }) }),
|
|
99
|
-
/* @__PURE__ */ e(w, { name: "country", control: h, render: ({
|
|
100
|
-
field: t,
|
|
101
|
-
fieldState: {
|
|
102
|
-
error: r
|
|
103
|
-
}
|
|
104
|
-
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
105
|
-
/* @__PURE__ */ e(c, { children: l._("Country") }),
|
|
106
|
-
/* @__PURE__ */ e(L, { value: t.value, className: d || i ? "ttw:bg-white" : "", onChange: t.onChange, invalid: !!r, disabled: n, container: u?.current, allowedCountries: ["US"] }),
|
|
107
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
108
|
-
] }) }) })
|
|
109
|
-
] })
|
|
110
|
-
] });
|
|
35
|
+
}, s);
|
|
36
|
+
},
|
|
37
|
+
onError: () => {
|
|
38
|
+
p.error(a._("Failed to update address."));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
111
41
|
};
|
|
112
42
|
export {
|
|
113
|
-
|
|
43
|
+
m as useUpdateCounterpartAddress
|
|
114
44
|
};
|