@tesouro/embedded-components-react 0.2.204 → 0.2.205
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 +24 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +24 -24
- 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 +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +78 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +3 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +216 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +11 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +152 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +24 -150
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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 +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +94 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +97 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +76 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +54 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +14 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +80 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +39 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +227 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +470 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +106 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +530 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +24 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +13 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +19 -227
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +19 -468
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +10 -537
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +19 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +27 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +110 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +66 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +6 -6
- 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 +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +72 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +44 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +34 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +30 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +63 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +96 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +111 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +87 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +53 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +28 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +77 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +62 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +82 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +66 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +359 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +2 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +117 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +11 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +11 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +19 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +49 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +25 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +37 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +14 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +25 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +17 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +106 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +18 -490
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +37 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +54 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +50 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +30 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +97 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +44 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +141 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +101 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +481 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +168 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +62 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +29 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +118 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +22 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +51 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +36 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +336 -292
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +287 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +98 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +156 -261
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +265 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +14 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +77 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +73 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +41 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +43 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +2 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +94 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +96 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +211 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +54 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +27 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +55 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +15 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +20 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +16 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +18 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +171 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +134 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +160 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +18 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +65 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +48 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +6 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +20 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +57 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +13 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +65 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +121 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +46 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +114 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +111 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +48 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +204 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +68 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +24 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +34 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +149 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +31 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +4 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +16 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +27 -201
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +33 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +31 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +156 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +27 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +28 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +78 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +255 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +54 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +36 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +28 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +31 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +126 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +94 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +33 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +34 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +119 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +16 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +73 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +3 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +11 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +45 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +45 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +46 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +43 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +73 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +96 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +35 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +65 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +114 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +79 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +10 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +9 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +10 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +7 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +51 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +16 -19
- 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 +18 -15
- 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 +48 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +11 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +69 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +40 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +27 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +82 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +17 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +86 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +268 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +35 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +65 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +42 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +21 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +138 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +91 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +11 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +276 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +46 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +9 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +25 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +74 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +81 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +50 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +50 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +55 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +30 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +52 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +35 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +44 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +69 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +41 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +35 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +13 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +92 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +16 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +75 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +20 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +9 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +17 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +51 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +29 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +54 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +82 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +38 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +67 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +40 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +50 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +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 +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +33 -30
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
- 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 +24 -24
- package/package.json +1 -1
|
@@ -1,39 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
});
|
|
36
|
-
};
|
|
1
|
+
import { createElement as r } from "react";
|
|
2
|
+
const h = ({
|
|
3
|
+
color: o = "currentColor",
|
|
4
|
+
size: e,
|
|
5
|
+
...t
|
|
6
|
+
}) => r("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: e,
|
|
9
|
+
height: e,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: o,
|
|
12
|
+
...t
|
|
13
|
+
}, r("path", {
|
|
14
|
+
d: "M12,2A10,10,0,0,0,4.65,18.76h0a10,10,0,0,0,14.7,0h0A10,10,0,0,0,12,2Zm0,18a8,8,0,0,1-5.55-2.25,6,6,0,0,1,11.1,0A8,8,0,0,1,12,20ZM10,10a2,2,0,1,1,2,2A2,2,0,0,1,10,10Zm8.91,6A8,8,0,0,0,15,12.62a4,4,0,1,0-6,0A8,8,0,0,0,5.09,16,7.92,7.92,0,0,1,4,12a8,8,0,0,1,16,0A7.92,7.92,0,0,1,18.91,16Z"
|
|
15
|
+
}));
|
|
37
16
|
export {
|
|
38
|
-
|
|
17
|
+
h as UUserCircle
|
|
39
18
|
};
|
|
@@ -1,12 +1,76 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
1
|
+
import { useLingui as S } from "@lingui/react";
|
|
2
|
+
import { getRuleLabel as b, getRuleName as E, APPROVAL_REQUEST_CALLS as u } from "./index465.js";
|
|
3
|
+
import { isRoleApprovalCall as f } from "./index375.js";
|
|
4
|
+
const U = ({
|
|
5
|
+
approvalPolicy: t
|
|
6
|
+
}) => {
|
|
7
|
+
const {
|
|
8
|
+
i18n: o
|
|
9
|
+
} = S(), s = (r) => {
|
|
10
|
+
if (typeof r != "object" || r === null || !("call" in r) || typeof r.call != "string" || r.call !== u.REQUEST_APPROVAL_BY_USERS && !f(r.call) || !("params" in r) || typeof r.params != "object" || r.params === null) return !1;
|
|
11
|
+
const e = r.params;
|
|
12
|
+
return !("user_ids" in e && !Array.isArray(e.user_ids) || "role_ids" in e && !Array.isArray(e.role_ids) || !("required_approval_count" in e) || typeof e.required_approval_count != "number");
|
|
13
|
+
}, i = (r) => typeof r != "object" || r === null || !("run_concurrently" in r) || typeof r.run_concurrently != "boolean" || !("all" in r) || !Array.isArray(r.all) ? !1 : r.all.every((e) => s(e) || i(e)), m = (r) => {
|
|
14
|
+
if (!Array.isArray(r) || r.length !== 1) return !1;
|
|
15
|
+
const [e] = r;
|
|
16
|
+
if (typeof e != "object" || e === null || !("if" in e) || !("then" in e) || !("else" in e)) return !1;
|
|
17
|
+
const {
|
|
18
|
+
if: a,
|
|
19
|
+
then: l,
|
|
20
|
+
else: v
|
|
21
|
+
} = e;
|
|
22
|
+
if (typeof a != "object" || a === null || !("run_concurrently" in a) || !("all" in a)) return !1;
|
|
23
|
+
const {
|
|
24
|
+
run_concurrently: g,
|
|
25
|
+
all: c
|
|
26
|
+
} = a;
|
|
27
|
+
return typeof g != "boolean" || !Array.isArray(c) || !Array.isArray(l) || !Array.isArray(v) ? !1 : c.every((y) => s(y) || i(y));
|
|
28
|
+
}, n = (r) => r.call === u.REQUEST_APPROVAL_BY_USERS && Array.isArray(r.params.user_ids) && r.params.user_ids.length === 1 && r.params.required_approval_count === 1, d = (r) => r.call === u.REQUEST_APPROVAL_BY_USERS && Array.isArray(r.params.user_ids) && r.params.user_ids.length > 1 && r.params.required_approval_count > 0, A = (r) => f(r.call) && Array.isArray(r.params.role_ids) && r.params.role_ids.length >= 1 && r.params.required_approval_count > 0, R = (r) => !r.run_concurrently && r.all.length > 1 && r.all.every((e) => s(e) && n(e)), p = (r) => E(r, o), _ = (r, e) => b(r, o, e);
|
|
29
|
+
return m(t?.script) ? {
|
|
30
|
+
rules: t?.script[0].if.all.reduce((r, e) => {
|
|
31
|
+
if (i(e)) {
|
|
32
|
+
if (R(e))
|
|
33
|
+
return {
|
|
34
|
+
...r,
|
|
35
|
+
approval_chain: {
|
|
36
|
+
chainUserIds: e.all.reduce((a, l) => s(l) && n(l) && l.params.user_ids[0] && l.params.user_ids[0] ? [...a, l.params.user_ids[0]] : a, [])
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
} else if (s(e)) {
|
|
40
|
+
if (n(e))
|
|
41
|
+
return {
|
|
42
|
+
...r,
|
|
43
|
+
single_user: {
|
|
44
|
+
userId: e.params.user_ids[0]
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
if (d(e))
|
|
48
|
+
return {
|
|
49
|
+
...r,
|
|
50
|
+
users_from_list: {
|
|
51
|
+
userIds: e.params.user_ids,
|
|
52
|
+
count: e.params.required_approval_count
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
if (A(e))
|
|
56
|
+
return {
|
|
57
|
+
...r,
|
|
58
|
+
roles_from_list: {
|
|
59
|
+
roleIds: e.params.role_ids,
|
|
60
|
+
count: e.params.required_approval_count
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
return r;
|
|
65
|
+
}, {}),
|
|
66
|
+
getRuleName: p,
|
|
67
|
+
getRuleLabel: _
|
|
68
|
+
} : {
|
|
69
|
+
rules: void 0,
|
|
70
|
+
getRuleName: p,
|
|
71
|
+
getRuleLabel: _
|
|
72
|
+
};
|
|
9
73
|
};
|
|
10
74
|
export {
|
|
11
|
-
|
|
75
|
+
U as useApprovalPolicyScript
|
|
12
76
|
};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { createElement as t } from "react";
|
|
2
|
+
const e = ({
|
|
3
|
+
color: h = "currentColor",
|
|
4
|
+
size: a,
|
|
5
|
+
...o
|
|
6
|
+
}) => t("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: a,
|
|
9
|
+
height: a,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: h,
|
|
12
|
+
...o
|
|
13
|
+
}, t("path", {
|
|
14
|
+
d: "M3.5,6a1,1,0,1,0,1,1A1,1,0,0,0,3.5,6Zm4,2h14a1,1,0,0,0,0-2H7.5a1,1,0,0,0,0,2Zm0,3a1,1,0,1,0,1,1A1,1,0,0,0,7.5,11Zm4,5a1,1,0,1,0,1,1A1,1,0,0,0,11.5,16Zm10-5h-10a1,1,0,0,0,0,2h10a1,1,0,0,0,0-2Zm0,5h-6a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Z"
|
|
15
|
+
}));
|
|
11
16
|
export {
|
|
12
|
-
|
|
17
|
+
e as UListUiAlt
|
|
13
18
|
};
|
|
@@ -1,71 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
id: s,
|
|
17
|
-
isEditMode: n,
|
|
18
|
-
initialValues: h = P,
|
|
19
|
-
onCancel: g,
|
|
20
|
-
onEdit: v
|
|
21
|
-
}) => {
|
|
22
|
-
const {
|
|
23
|
-
i18n: m
|
|
24
|
-
} = U(), b = z(m), {
|
|
25
|
-
handleSubmit: l,
|
|
26
|
-
control: d,
|
|
27
|
-
reset: y,
|
|
28
|
-
setError: c
|
|
29
|
-
} = k({
|
|
30
|
-
defaultValues: h,
|
|
31
|
-
resolver: S(b)
|
|
32
|
-
}), w = E(() => y(), (e) => c("name", {
|
|
33
|
-
type: "custom",
|
|
34
|
-
message: e
|
|
35
|
-
})), i = V(s ?? "", () => v?.(), (e) => c("name", {
|
|
36
|
-
type: "custom",
|
|
37
|
-
message: e
|
|
38
|
-
})), x = (e) => {
|
|
39
|
-
if (!n || !s) {
|
|
40
|
-
console.error("handleEdit called without valid id or edit mode");
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
i.mutate(e);
|
|
44
|
-
}, N = (e) => {
|
|
45
|
-
w.mutate(e);
|
|
46
|
-
}, u = w.isPending || i.isPending;
|
|
47
|
-
return /* @__PURE__ */ t(C, { className: "ttw:border-border ttw:hover:bg-transparent", children: /* @__PURE__ */ t(M, { colSpan: 3, className: "ttw:w-full ttw:whitespace-normal", children: /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-start", children: [
|
|
48
|
-
/* @__PURE__ */ t(f, { name: "name", control: d, render: ({
|
|
49
|
-
field: e,
|
|
50
|
-
fieldState: {
|
|
51
|
-
error: r
|
|
52
|
-
}
|
|
53
|
-
}) => /* @__PURE__ */ a("div", { className: "ttw:w-[35%]", children: [
|
|
54
|
-
/* @__PURE__ */ t(p, { ...e, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }),
|
|
55
|
-
r && /* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:text-destructive ttw:mt-1", children: r.message })
|
|
56
|
-
] }) }),
|
|
57
|
-
/* @__PURE__ */ t(f, { name: "description", control: d, render: ({
|
|
58
|
-
field: e,
|
|
59
|
-
fieldState: {
|
|
60
|
-
error: r
|
|
61
|
-
}
|
|
62
|
-
}) => /* @__PURE__ */ t("div", { className: "ttw:w-[55%]", children: /* @__PURE__ */ t(p, { ...e, id: e.name, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }) }) }),
|
|
63
|
-
n ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:justify-center ttw:gap-1", children: [
|
|
64
|
-
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", disabled: i.isPending, onClick: l(x), children: /* @__PURE__ */ t($, { className: "ttw:size-4" }) }),
|
|
65
|
-
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: g, children: /* @__PURE__ */ t(j, { className: "ttw:size-4" }) })
|
|
66
|
-
] }) : /* @__PURE__ */ t(o, { variant: "outline", size: "sm", className: "ttw:h-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: l(N), children: m._("Add") })
|
|
67
|
-
] }) }) });
|
|
68
|
-
};
|
|
1
|
+
import { createElement as e } from "react";
|
|
2
|
+
const a = ({
|
|
3
|
+
color: o = "currentColor",
|
|
4
|
+
size: t,
|
|
5
|
+
...r
|
|
6
|
+
}) => e("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: t,
|
|
9
|
+
height: t,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: o,
|
|
12
|
+
...r
|
|
13
|
+
}, e("path", {
|
|
14
|
+
d: "M12.3,12.22A4.92,4.92,0,0,0,14,8.5a5,5,0,0,0-10,0,4.92,4.92,0,0,0,1.7,3.72A8,8,0,0,0,1,19.5a1,1,0,0,0,2,0,6,6,0,0,1,12,0,1,1,0,0,0,2,0A8,8,0,0,0,12.3,12.22ZM9,11.5a3,3,0,1,1,3-3A3,3,0,0,1,9,11.5Zm9.74.32A5,5,0,0,0,15,3.5a1,1,0,0,0,0,2,3,3,0,0,1,3,3,3,3,0,0,1-1.5,2.59,1,1,0,0,0-.5.84,1,1,0,0,0,.45.86l.39.26.13.07a7,7,0,0,1,4,6.38,1,1,0,0,0,2,0A9,9,0,0,0,18.74,11.82Z"
|
|
15
|
+
}));
|
|
69
16
|
export {
|
|
70
|
-
|
|
17
|
+
a as UUsersAlt
|
|
71
18
|
};
|
|
@@ -1,49 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
onDelete: d,
|
|
17
|
-
name: p,
|
|
18
|
-
isLoading: u,
|
|
19
|
-
open: h,
|
|
20
|
-
id: n
|
|
21
|
-
}) => {
|
|
22
|
-
const {
|
|
23
|
-
i18n: t
|
|
24
|
-
} = x(), {
|
|
25
|
-
formatCurrencyToDisplay: w
|
|
26
|
-
} = b(), {
|
|
27
|
-
data: s,
|
|
28
|
-
isLoading: o
|
|
29
|
-
} = T({
|
|
30
|
-
measure_unit_id: n ?? ""
|
|
31
|
-
}, !!n), f = s?.data.length === 0, g = () => f ? /* @__PURE__ */ a(m, { children: [
|
|
32
|
-
/* @__PURE__ */ e(r, { children: t._("There are no items created with this measure unit.") }),
|
|
33
|
-
/* @__PURE__ */ e(r, { color: "muted", children: t._("Deleting it won't affect your items.") })
|
|
34
|
-
] }) : /* @__PURE__ */ a(m, { children: [
|
|
35
|
-
/* @__PURE__ */ e(r, { children: t._("Any products or services referencing this unit will update to use a blank unit of measure.") }),
|
|
36
|
-
/* @__PURE__ */ e(r, { color: "muted", children: t._("Previously issued invoices will not be impacted.") }),
|
|
37
|
-
o && /* @__PURE__ */ e(L, { className: "ttw:mx-auto ttw:size-6 ttw:animate-spin" }),
|
|
38
|
-
!o && /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(_, { children: s?.data.map((i) => /* @__PURE__ */ a(D, { className: "ttw:border-border ttw:hover:bg-transparent", children: [
|
|
39
|
-
/* @__PURE__ */ e(l, { className: "ttw:pl-0 ttw:whitespace-normal ttw:text-text ttw:font-medium", children: i.name }),
|
|
40
|
-
/* @__PURE__ */ e(l, { className: "ttw:pr-0 ttw:text-right ttw:text-text ttw:font-medium", children: i.price && w(i.price?.value, i.price?.currency) })
|
|
41
|
-
] }, i.id)) }) })
|
|
42
|
-
] });
|
|
43
|
-
return /* @__PURE__ */ e(y, { open: h, title: t._('Delete "{name}"?', {
|
|
44
|
-
name: p
|
|
45
|
-
}), confirmLabel: t._("Delete"), cancelLabel: t._("Cancel"), onClose: c, onConfirm: d, isLoading: u || o, children: g() });
|
|
46
|
-
};
|
|
1
|
+
import { createElement as e } from "react";
|
|
2
|
+
const A = ({
|
|
3
|
+
color: r = "currentColor",
|
|
4
|
+
size: a,
|
|
5
|
+
...t
|
|
6
|
+
}) => e("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: a,
|
|
9
|
+
height: a,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: r,
|
|
12
|
+
...t
|
|
13
|
+
}, e("path", {
|
|
14
|
+
d: "M14.81,12.28a3.73,3.73,0,0,0,1-2.5,3.78,3.78,0,0,0-7.56,0,3.73,3.73,0,0,0,1,2.5A5.94,5.94,0,0,0,6,16.89a1,1,0,0,0,2,.22,4,4,0,0,1,7.94,0A1,1,0,0,0,17,18h.11a1,1,0,0,0,.88-1.1A5.94,5.94,0,0,0,14.81,12.28ZM12,11.56a1.78,1.78,0,1,1,1.78-1.78A1.78,1.78,0,0,1,12,11.56ZM19,2H5A3,3,0,0,0,2,5V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V5A3,3,0,0,0,19,2Zm1,17a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V5A1,1,0,0,1,5,4H19a1,1,0,0,1,1,1Z"
|
|
15
|
+
}));
|
|
47
16
|
export {
|
|
48
|
-
|
|
17
|
+
A as UUserSquare
|
|
49
18
|
};
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { Button as c } from "./index84.js";
|
|
4
|
-
import { useLingui as u } from "@lingui/react";
|
|
5
|
-
import { MoreVertical as m, Pencil as p, Trash2 as h } from "lucide-react";
|
|
6
|
-
const A = ({
|
|
7
|
-
onEdit: t,
|
|
8
|
-
onDelete: l,
|
|
9
|
-
permissions: o
|
|
10
|
-
}) => {
|
|
11
|
-
const {
|
|
12
|
-
i18n: n
|
|
13
|
-
} = u();
|
|
14
|
-
return o.isUpdateAllowed || o.isDeleteAllowed ? /* @__PURE__ */ i(s, { children: [
|
|
15
|
-
/* @__PURE__ */ e(a, { asChild: !0, children: /* @__PURE__ */ e(c, { variant: "ghost", size: "icon", "aria-label": "actions-menu-button", children: /* @__PURE__ */ e(m, {}) }) }),
|
|
16
|
-
/* @__PURE__ */ i(d, { align: "end", children: [
|
|
17
|
-
o.isUpdateAllowed && /* @__PURE__ */ i(r, { onClick: t, children: [
|
|
18
|
-
/* @__PURE__ */ e(p, {}),
|
|
19
|
-
n._("Edit")
|
|
20
|
-
] }),
|
|
21
|
-
o.isDeleteAllowed && /* @__PURE__ */ i(r, { onClick: l, variant: "destructive", children: [
|
|
22
|
-
/* @__PURE__ */ e(h, {}),
|
|
23
|
-
n._("Delete")
|
|
24
|
-
] })
|
|
25
|
-
] })
|
|
26
|
-
] }) : null;
|
|
27
|
-
};
|
|
1
|
+
import { ROLE_APPROVAL_CALLS as s } from "./index280.js";
|
|
2
|
+
const l = (o) => typeof o == "string" && s.includes(o);
|
|
28
3
|
export {
|
|
29
|
-
|
|
4
|
+
l as isRoleApprovalCall
|
|
30
5
|
};
|
|
@@ -1,24 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = a();
|
|
11
|
-
return t.finops.deleteMeasureUnitsId.useMutation(void 0, {
|
|
12
|
-
onSuccess: async () => {
|
|
13
|
-
e && (await t.finops.getMeasureUnits.invalidateQueries(i), s.success(o._("Unit {name} was deleted from the list.", {
|
|
14
|
-
name: e
|
|
15
|
-
})));
|
|
16
|
-
},
|
|
17
|
-
onError: (r) => {
|
|
18
|
-
console.error(r), s.error(o._("Failed to delete Unit."));
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
};
|
|
1
|
+
const e = {
|
|
2
|
+
singleUser: (s) => s._("Single user"),
|
|
3
|
+
anyUserFromList: (s) => s._("Any user from the list"),
|
|
4
|
+
anyUsersFromList: (s, r) => s._("Any {count} users from the list", {
|
|
5
|
+
count: r.toString()
|
|
6
|
+
}),
|
|
7
|
+
anyUserWithRole: (s) => s._("Any user with role"),
|
|
8
|
+
allUsersFromList: (s) => s._("All users from list, one by one")
|
|
9
|
+
}, t = (s, r = 0) => r === 1 ? e.anyUserFromList(s) : e.anyUsersFromList(s, r);
|
|
22
10
|
export {
|
|
23
|
-
|
|
11
|
+
e as getSharedApprovalRuleLabel,
|
|
12
|
+
t as getUsersFromListLabel
|
|
24
13
|
};
|
|
@@ -1,98 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
} = R(), {
|
|
16
|
-
root: k
|
|
17
|
-
} = S(), b = v(), [L, m] = l(!1), [u, o] = l(null), [g, p] = l(null), [_, P] = l(!1), {
|
|
18
|
-
data: s,
|
|
19
|
-
isSuccess: h
|
|
20
|
-
} = $(i ?? "");
|
|
21
|
-
w(() => {
|
|
22
|
-
h && s?.payment_link_id && i && p(s.payment_link_id);
|
|
23
|
-
}, [h, s, i]);
|
|
24
|
-
const {
|
|
25
|
-
data: e,
|
|
26
|
-
refetch: C,
|
|
27
|
-
isSuccess: y,
|
|
28
|
-
isLoading: E
|
|
29
|
-
} = B(g ?? "");
|
|
30
|
-
return w(() => {
|
|
31
|
-
y && e?.payment_intent?.status === "processing" && f?.(r ?? "", e?.payment_intent?.status ?? "");
|
|
32
|
-
}, [e, y, f, r]), {
|
|
33
|
-
handlePay: async () => {
|
|
34
|
-
if (!d) {
|
|
35
|
-
c.error(t._("Vendor not found. Please create a vendor first."));
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
if (!_)
|
|
39
|
-
try {
|
|
40
|
-
if (E) {
|
|
41
|
-
c.error(t._("Payment link is still loading. Please wait a moment and try again."));
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
if (!g || y && e?.payment_intent?.status !== "created") {
|
|
45
|
-
if (P(!0), !r) throw new Error("Payable ID is undefined");
|
|
46
|
-
const a = await b(
|
|
47
|
-
r,
|
|
48
|
-
d,
|
|
49
|
-
["sepa_credit"],
|
|
50
|
-
60
|
|
51
|
-
// 60 days from now
|
|
52
|
-
);
|
|
53
|
-
if (a.payment_page_url)
|
|
54
|
-
p(a.id), o(a.payment_page_url);
|
|
55
|
-
else
|
|
56
|
-
throw p(null), o(null), new Error("No payment page URL in response");
|
|
57
|
-
} else if (e?.payment_page_url)
|
|
58
|
-
o(e.payment_page_url);
|
|
59
|
-
else
|
|
60
|
-
throw new Error("No payment page URL in existing payment link");
|
|
61
|
-
m(!0);
|
|
62
|
-
} catch (a) {
|
|
63
|
-
console.error("Payment link creation/retrieval error:", a), c.error(i && s?.status === "created" ? t._("Failed to retrieve payment link. Please try again.") : t._("Failed to create payment link. Please try again.")), m(!1);
|
|
64
|
-
} finally {
|
|
65
|
-
P(!1);
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
isCreatingPaymentLink: _,
|
|
69
|
-
modalComponent: /* @__PURE__ */ n(j, { open: L, onClose: async () => {
|
|
70
|
-
await C(), m(!1), o(null);
|
|
71
|
-
}, container: k, children: /* @__PURE__ */ n(x, { sx: {
|
|
72
|
-
position: "absolute",
|
|
73
|
-
top: "50%",
|
|
74
|
-
left: "50%",
|
|
75
|
-
transform: "translate(-50%, -50%)",
|
|
76
|
-
width: "80%",
|
|
77
|
-
maxWidth: 600,
|
|
78
|
-
bgcolor: "background.paper",
|
|
79
|
-
boxShadow: 24,
|
|
80
|
-
p: 4,
|
|
81
|
-
borderRadius: 2
|
|
82
|
-
}, children: u ? /* @__PURE__ */ n("iframe", { src: u, title: "Payment Page", width: "100%", height: "400px", style: {
|
|
83
|
-
border: "none"
|
|
84
|
-
} }) : /* @__PURE__ */ I(x, { sx: {
|
|
85
|
-
display: "flex",
|
|
86
|
-
flexDirection: "column",
|
|
87
|
-
alignItems: "center",
|
|
88
|
-
gap: 2,
|
|
89
|
-
py: 4
|
|
90
|
-
}, children: [
|
|
91
|
-
/* @__PURE__ */ n(D, {}),
|
|
92
|
-
/* @__PURE__ */ n("p", { children: t._("Loading payment page...") })
|
|
93
|
-
] }) }) })
|
|
94
|
-
};
|
|
1
|
+
const t = (e, n, a) => {
|
|
2
|
+
switch (e) {
|
|
3
|
+
case "INTERNAL":
|
|
4
|
+
return n ? a._("Powered by {embeddedBankName}", {
|
|
5
|
+
embeddedBankName: n
|
|
6
|
+
}) : null;
|
|
7
|
+
case "EXTERNAL":
|
|
8
|
+
return a._("Linked account");
|
|
9
|
+
default:
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
}, c = (e, n) => {
|
|
13
|
+
const a = e.account_number?.slice(-4) ?? e.account_number_last4;
|
|
14
|
+
return [e.display_name || n._("Bank Account"), a].filter(Boolean).join(" - ");
|
|
95
15
|
};
|
|
96
16
|
export {
|
|
97
|
-
|
|
17
|
+
c as getLineLabel,
|
|
18
|
+
t as getSourceLabel
|
|
98
19
|
};
|
|
@@ -1,40 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { toast as a } from "react-hot-toast";
|
|
5
|
-
const v = (i, n, s, p) => {
|
|
1
|
+
import { useEffect as m, useMemo as f } from "react";
|
|
2
|
+
import { useMoniteContext as k } from "./index57.js";
|
|
3
|
+
const p = 100, h = (s, g = !0) => {
|
|
6
4
|
const {
|
|
7
|
-
api:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return e.finops.postApprovalRequestsIdReject.useMutation({
|
|
13
|
-
path: {
|
|
14
|
-
approval_request_id: i
|
|
5
|
+
api: u
|
|
6
|
+
} = k(), e = u.embeddedBanking.getBankAccounts.useInfiniteQuery({
|
|
7
|
+
query: {
|
|
8
|
+
...s,
|
|
9
|
+
limit: p
|
|
15
10
|
}
|
|
16
11
|
}, {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
return n?.(s ?? ""), new Promise((r) => {
|
|
22
|
-
setTimeout(() => {
|
|
23
|
-
Promise.all([e.finops.getPayablesId.invalidateQueries({
|
|
24
|
-
parameters: {
|
|
25
|
-
path: {
|
|
26
|
-
payable_id: s ?? ""
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}, t), e.finops.getPayables.invalidateQueries(t)]).then(() => r());
|
|
30
|
-
}, 500);
|
|
31
|
-
});
|
|
12
|
+
initialPageParam: {
|
|
13
|
+
query: {
|
|
14
|
+
pagination_token: void 0
|
|
15
|
+
}
|
|
32
16
|
},
|
|
33
|
-
|
|
34
|
-
a.
|
|
35
|
-
|
|
36
|
-
|
|
17
|
+
getNextPageParam: (a, P, x, d) => {
|
|
18
|
+
const t = a.nextPaginationToken ?? void 0;
|
|
19
|
+
if (!(!t || d.some((c) => c?.query?.pagination_token === t)))
|
|
20
|
+
return {
|
|
21
|
+
query: {
|
|
22
|
+
pagination_token: t
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
enabled: g
|
|
27
|
+
}), {
|
|
28
|
+
hasNextPage: n,
|
|
29
|
+
isFetchingNextPage: i,
|
|
30
|
+
isError: o,
|
|
31
|
+
fetchNextPage: r
|
|
32
|
+
} = e;
|
|
33
|
+
return m(() => {
|
|
34
|
+
n && !i && !o && r();
|
|
35
|
+
}, [n, i, o, r]), {
|
|
36
|
+
data: f(() => {
|
|
37
|
+
if (e.data)
|
|
38
|
+
return {
|
|
39
|
+
data: e.data.pages.flatMap((a) => a.data ?? []),
|
|
40
|
+
nextPaginationToken: null,
|
|
41
|
+
prevPaginationToken: null
|
|
42
|
+
};
|
|
43
|
+
}, [e.data]),
|
|
44
|
+
isLoading: e.isLoading,
|
|
45
|
+
isFetching: e.isFetching,
|
|
46
|
+
isError: e.isError,
|
|
47
|
+
error: e.error
|
|
48
|
+
};
|
|
37
49
|
};
|
|
38
50
|
export {
|
|
39
|
-
|
|
51
|
+
h as useGetEmbeddedBankAccounts
|
|
40
52
|
};
|
|
@@ -1,37 +1,14 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
3
|
-
import { useLingui as d } from "@lingui/react";
|
|
4
|
-
import { toast as a } from "react-hot-toast";
|
|
5
|
-
const g = (i, p, t, n) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
const r = (e, t = !0) => {
|
|
6
3
|
const {
|
|
7
|
-
api:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} = d();
|
|
12
|
-
return e.finops.postApprovalRequestsIdApprove.useMutation({
|
|
13
|
-
path: {
|
|
14
|
-
approval_request_id: i
|
|
15
|
-
}
|
|
4
|
+
api: n
|
|
5
|
+
} = s();
|
|
6
|
+
return n.finops.getBankDetails.useQuery({
|
|
7
|
+
query: e
|
|
16
8
|
}, {
|
|
17
|
-
|
|
18
|
-
document_id: n ?? "document id is unknown"
|
|
19
|
-
})), p?.(t ?? ""), new Promise((s) => {
|
|
20
|
-
setTimeout(() => {
|
|
21
|
-
Promise.all([e.finops.getPayablesId.invalidateQueries({
|
|
22
|
-
parameters: {
|
|
23
|
-
path: {
|
|
24
|
-
payable_id: t ?? ""
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}, o), e.finops.getPayables.invalidateQueries(o)]).then(() => s());
|
|
28
|
-
}, 500);
|
|
29
|
-
})),
|
|
30
|
-
onError: (s) => {
|
|
31
|
-
a.error(m(r, s));
|
|
32
|
-
}
|
|
9
|
+
enabled: t
|
|
33
10
|
});
|
|
34
11
|
};
|
|
35
12
|
export {
|
|
36
|
-
|
|
13
|
+
r as useGetEntityBankAccounts
|
|
37
14
|
};
|