@tesouro/embedded-components-react 0.2.85 → 0.2.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +46 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +75 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +486 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +162 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +343 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +11 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +31 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +35 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +15 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +244 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +179 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +24 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +54 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +52 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +97 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +47 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +73 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +29 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +41 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +60 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +90 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +104 -483
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +83 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +41 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +342 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +296 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +103 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +155 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +265 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +24 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +89 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +90 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +191 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +39 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +58 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +29 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +113 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +21 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +41 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +51 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +27 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +124 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +10 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +59 -259
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +17 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +40 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +13 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +27 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +76 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +59 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +185 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +106 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +81 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +283 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +46 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +15 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +220 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +74 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +42 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +14 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +17 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +169 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +119 -270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +157 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +58 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +63 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +60 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +8 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +61 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +21 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +62 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +96 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +74 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +46 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +46 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +25 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +104 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +21 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +20 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +55 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +24 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +70 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +94 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +32 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +13 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +47 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +15 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +124 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +120 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +70 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +38 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +75 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +67 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +33 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +32 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +106 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +21 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +68 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +44 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +25 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +17 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +46 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +55 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +51 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +39 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +94 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +75 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +20 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +36 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +14 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +16 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +48 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +33 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +19 -19
- package/package.json +1 -1
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
import { useCounterpartsBankAccountsList as o } from "./index146.js";
|
|
3
|
+
function p({
|
|
4
|
+
currentCounterpartId: e,
|
|
5
|
+
payableId: t
|
|
6
|
+
}) {
|
|
5
7
|
const {
|
|
6
|
-
api:
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return n.finops.postFinancingTokens.useMutation({}, {
|
|
11
|
-
onError: () => {
|
|
12
|
-
o.error(e._("The financing service is currently unavailable. Please reload the page or try again later."));
|
|
8
|
+
api: a
|
|
9
|
+
} = s(), n = o(e), r = a.finops.getPayablesIdLineItems.useQuery({
|
|
10
|
+
path: {
|
|
11
|
+
payable_id: t
|
|
13
12
|
}
|
|
14
13
|
});
|
|
15
|
-
|
|
14
|
+
return {
|
|
15
|
+
counterpartBankAccountQuery: n,
|
|
16
|
+
lineItemsQuery: r
|
|
17
|
+
};
|
|
18
|
+
}
|
|
16
19
|
export {
|
|
17
|
-
|
|
20
|
+
p as usePayableDetailsInfo
|
|
18
21
|
};
|
|
@@ -1,98 +1,53 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsxs as p, jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as m } from "react";
|
|
3
|
+
import { getUserDisplayName as c, getIndividualName as w } from "./index95.js";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { UserAvatar as d } from "./index389.js";
|
|
6
|
+
import { Box as f, Typography as h } from "@mui/material";
|
|
7
|
+
const U = ({
|
|
8
|
+
user: e,
|
|
9
|
+
showUserEmail: r = !1,
|
|
10
|
+
showAvatar: s = !0,
|
|
11
|
+
avatarSize: i = 24,
|
|
12
|
+
variant: x = "inline",
|
|
13
|
+
typographyVariant: l = "body2",
|
|
14
|
+
sx: o
|
|
12
15
|
}) => {
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0 }) }) }),
|
|
47
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1, container: !0, sx: {
|
|
48
|
-
justifyContent: "flex-end",
|
|
49
|
-
alignItems: "center"
|
|
50
|
-
}, children: /* @__PURE__ */ e($, { "aria-label": "delete", onClick: () => I(i), disabled: c.length === 1, children: /* @__PURE__ */ e(L, {}) }) })
|
|
51
|
-
] }),
|
|
52
|
-
f && /* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", children: [
|
|
53
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 11, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.ledger_account_id`, control: a, render: ({
|
|
54
|
-
field: t,
|
|
55
|
-
fieldState: {
|
|
56
|
-
error: n
|
|
57
|
-
}
|
|
58
|
-
}) => /* @__PURE__ */ e(W, { value: t.value ?? void 0, onChange: (C) => t.onChange(C ?? void 0), error: !!n, helperText: n?.message }) }) }),
|
|
59
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", justifyContent: "flex-end", children: [
|
|
62
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 8, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.price`, control: a, render: ({
|
|
63
|
-
field: t,
|
|
64
|
-
fieldState: {
|
|
65
|
-
error: n
|
|
66
|
-
}
|
|
67
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Price"), variant: "standard", type: "number", inputProps: {
|
|
68
|
-
min: 0
|
|
69
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
70
|
-
endAdornment: x(s("currency"))
|
|
71
|
-
} }) }) }),
|
|
72
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 3, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.tax`, control: a, render: ({
|
|
73
|
-
field: t,
|
|
74
|
-
fieldState: {
|
|
75
|
-
error: n
|
|
76
|
-
}
|
|
77
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Tax"), variant: "standard", type: "number", inputProps: {
|
|
78
|
-
min: 0,
|
|
79
|
-
max: 100
|
|
80
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
81
|
-
endAdornment: "%"
|
|
82
|
-
} }) }) }),
|
|
83
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
84
|
-
] }),
|
|
85
|
-
p?.[i] && u && /* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, className: "Monite-PayableDetailsForm-Item-Total", children: /* @__PURE__ */ e(j, { fontWeight: "bold", align: "right", children: h(g(P(p?.[i]), u) || 0, u) }) })
|
|
86
|
-
] }, b.id)),
|
|
87
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, children: /* @__PURE__ */ e(w, { variant: "text", startIcon: /* @__PURE__ */ e(S, {}), onClick: () => y({
|
|
88
|
-
id: "",
|
|
89
|
-
name: "",
|
|
90
|
-
quantity: 1,
|
|
91
|
-
price: 0,
|
|
92
|
-
tax: 19
|
|
93
|
-
}), children: o._("Add item") }) })
|
|
16
|
+
const t = m(() => c(e, r), [e, r]), n = m(() => w(e.first_name || "", e.last_name || ""), [e.first_name, e.last_name]);
|
|
17
|
+
return x === "stacked" ? /* @__PURE__ */ p(f, { sx: {
|
|
18
|
+
display: "flex",
|
|
19
|
+
flexDirection: "column",
|
|
20
|
+
alignItems: "center",
|
|
21
|
+
gap: 1,
|
|
22
|
+
...o
|
|
23
|
+
}, children: [
|
|
24
|
+
s && /* @__PURE__ */ a(d, { sx: {
|
|
25
|
+
width: i,
|
|
26
|
+
height: i
|
|
27
|
+
}, alt: n, fileId: e.userpic_file_id }),
|
|
28
|
+
/* @__PURE__ */ a(h, { variant: l, title: t ?? "", sx: {
|
|
29
|
+
overflow: "hidden",
|
|
30
|
+
textOverflow: "ellipsis",
|
|
31
|
+
whiteSpace: "nowrap",
|
|
32
|
+
textAlign: "center"
|
|
33
|
+
}, children: t ?? "" })
|
|
34
|
+
] }) : /* @__PURE__ */ p(f, { sx: {
|
|
35
|
+
display: "flex",
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
gap: 1,
|
|
38
|
+
...o
|
|
39
|
+
}, children: [
|
|
40
|
+
s && /* @__PURE__ */ a(d, { sx: {
|
|
41
|
+
width: i,
|
|
42
|
+
height: i
|
|
43
|
+
}, alt: n, fileId: e.userpic_file_id }),
|
|
44
|
+
/* @__PURE__ */ a(h, { variant: l, title: t ?? "", sx: {
|
|
45
|
+
overflow: "hidden",
|
|
46
|
+
textOverflow: "ellipsis",
|
|
47
|
+
whiteSpace: "nowrap"
|
|
48
|
+
}, children: t ?? "" })
|
|
94
49
|
] });
|
|
95
50
|
};
|
|
96
51
|
export {
|
|
97
|
-
|
|
52
|
+
U as UserDisplayCell
|
|
98
53
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as a, Fragment as D, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { tagCategories as _, getTagCategoryLabel as B } from "./
|
|
3
|
-
import { useTags as K } from "./
|
|
2
|
+
import { tagCategories as _, getTagCategoryLabel as B } from "./index315.js";
|
|
3
|
+
import { useTags as K } from "./index316.js";
|
|
4
4
|
import { MoniteScopedProviders as L } from "./index83.js";
|
|
5
5
|
import { useRootElements as R } from "./index92.js";
|
|
6
6
|
import { Button as c } from "./index84.js";
|
|
7
|
-
import { Form as O, FormField as g, FormItem as u, FormLabel as p, FormControl as N, FormMessage as h } from "./
|
|
7
|
+
import { Form as O, FormField as g, FormItem as u, FormLabel as p, FormControl as N, FormMessage as h } from "./index333.js";
|
|
8
8
|
import { Input as U } from "./index118.js";
|
|
9
|
-
import { InputTags as q } from "./
|
|
10
|
-
import { Select as H, SelectTrigger as G, SelectValue as J, SelectContent as Q, SelectItem as W } from "./
|
|
9
|
+
import { InputTags as q } from "./index334.js";
|
|
10
|
+
import { Select as H, SelectTrigger as G, SelectValue as J, SelectContent as Q, SelectItem as W } from "./index271.js";
|
|
11
11
|
import { Sheet as X, SheetContent as Y, SheetHeader as Z, SheetTitle as ee, SheetDescription as ae, SheetFooter as te } from "./index130.js";
|
|
12
12
|
import { zodResolver as re } from "@hookform/resolvers/zod";
|
|
13
13
|
import { useLingui as oe } from "@lingui/react";
|
|
@@ -1,18 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
1
|
+
import { jsx as e, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { User as x } from "./index298.js";
|
|
3
|
+
import { PayableStatusChip as u } from "./index144.js";
|
|
4
|
+
import { useLingui as y } from "@lingui/react";
|
|
5
|
+
import { Box as n, CircularProgress as g, Typography as r, Paper as v, Table as f, TableBody as b, TableRow as w, TableCell as l, Stack as A } from "@mui/material";
|
|
6
|
+
import { useResolvedApprovalStepsWithPolicy as P } from "./index475.js";
|
|
7
|
+
const j = ({
|
|
8
|
+
approvalPolicy: d,
|
|
9
|
+
payableId: p,
|
|
10
|
+
showUsersAsEmail: h = !0
|
|
11
|
+
}) => {
|
|
12
|
+
const {
|
|
13
|
+
i18n: s
|
|
14
|
+
} = y(), {
|
|
15
|
+
steps: a,
|
|
16
|
+
isLoading: c
|
|
17
|
+
} = P(p, d);
|
|
18
|
+
return c ? /* @__PURE__ */ e(n, { sx: {
|
|
19
|
+
display: "flex",
|
|
20
|
+
justifyContent: "center",
|
|
21
|
+
p: 3
|
|
22
|
+
}, children: /* @__PURE__ */ e(g, { size: 20 }) }) : a.length ? /* @__PURE__ */ o(n, { sx: {
|
|
23
|
+
mt: 4
|
|
24
|
+
}, children: [
|
|
25
|
+
/* @__PURE__ */ e(r, { variant: "h6", gutterBottom: !0, sx: {
|
|
26
|
+
fontWeight: 600
|
|
27
|
+
}, children: s._("Approval flow") }),
|
|
28
|
+
/* @__PURE__ */ e(v, { variant: "outlined", sx: {
|
|
29
|
+
mt: 2
|
|
30
|
+
}, children: /* @__PURE__ */ e(f, { sx: {
|
|
31
|
+
tableLayout: "fixed",
|
|
32
|
+
width: "100%"
|
|
33
|
+
}, children: /* @__PURE__ */ e(b, { children: a.map((i, m) => /* @__PURE__ */ o(w, { children: [
|
|
34
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
35
|
+
verticalAlign: "middle",
|
|
36
|
+
py: 2,
|
|
37
|
+
width: "160px"
|
|
38
|
+
}, children: /* @__PURE__ */ e(r, { variant: "body2", color: "text.primary", sx: {
|
|
39
|
+
fontWeight: "normal"
|
|
40
|
+
}, children: i.type }) }),
|
|
41
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
42
|
+
py: 2,
|
|
43
|
+
verticalAlign: "middle",
|
|
44
|
+
minWidth: "52px"
|
|
45
|
+
}, children: i.userNames.length > 0 ? /* @__PURE__ */ e(A, { direction: "column", spacing: 0.5, sx: {
|
|
46
|
+
overflow: "hidden"
|
|
47
|
+
}, children: i.resolvedUsers.map((t) => t ? /* @__PURE__ */ e(x, { user: t, variant: "cell", showUsersAsEmail: h, showAvatar: !1 }, t.id) : null) }) : /* @__PURE__ */ e(r, { variant: "body2", color: "text.secondary", sx: {
|
|
48
|
+
fontWeight: "medium"
|
|
49
|
+
}, children: s._("No users assigned") }) }),
|
|
50
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
51
|
+
py: 2,
|
|
52
|
+
textAlign: "right",
|
|
53
|
+
verticalAlign: "middle",
|
|
54
|
+
width: "140px"
|
|
55
|
+
}, children: /* @__PURE__ */ e(u, { status: i.payableStatus }) })
|
|
56
|
+
] }, m)) }) }) })
|
|
57
|
+
] }) : null;
|
|
58
|
+
};
|
|
16
59
|
export {
|
|
17
|
-
|
|
60
|
+
j as PayableApprovalFlowSection
|
|
18
61
|
};
|
|
@@ -1,77 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
title: e._("Invoice Number")
|
|
34
|
-
}),
|
|
35
|
-
counterpart: t.string().meta({
|
|
36
|
-
title: e._("Vendor")
|
|
37
|
-
}),
|
|
38
|
-
counterpartBankAccount: t.string().optional().meta({
|
|
39
|
-
title: e._("Vendor Bank Account")
|
|
40
|
-
}),
|
|
41
|
-
invoiceDate: t.preprocess((a) => a === null ? void 0 : a, t.date()).optional().meta({
|
|
42
|
-
title: e._("Invoice Date")
|
|
43
|
-
}),
|
|
44
|
-
dueDate: t.preprocess((a) => a === null ? void 0 : a, t.date()).optional().meta({
|
|
45
|
-
title: e._("Due Date")
|
|
46
|
-
}),
|
|
47
|
-
currency: o().optional().meta({
|
|
48
|
-
title: e._("Currency")
|
|
49
|
-
}),
|
|
50
|
-
tags: t.array(i).meta({
|
|
51
|
-
title: e._("Tags")
|
|
52
|
-
}),
|
|
53
|
-
lineItems: n,
|
|
54
|
-
discount: t.union([t.coerce.number().min(0), t.null()]).optional().meta({
|
|
55
|
-
title: e._("Discount")
|
|
56
|
-
})
|
|
57
|
-
});
|
|
58
|
-
}, s = (e, n) => c(e).refine((i) => i.dueDate instanceof Date, {
|
|
59
|
-
path: ["dueDate"],
|
|
60
|
-
message: e._("Due date is required")
|
|
61
|
-
}).refine((i) => !r("counterpart_id", n) || !!i.counterpart, {
|
|
62
|
-
path: ["counterpart"],
|
|
63
|
-
message: e._("Vendor is required")
|
|
64
|
-
}).refine((i) => !r("counterpart_bank_account_id", n) || !!i.counterpartBankAccount, {
|
|
65
|
-
path: ["counterpartBankAccount"],
|
|
66
|
-
message: e._("Vendor bank account is required")
|
|
67
|
-
}).refine((i) => !r("issued_at", n) || i.invoiceDate instanceof Date, {
|
|
68
|
-
path: ["invoiceDate"],
|
|
69
|
-
message: e._("Invoice date is required")
|
|
70
|
-
}).refine((i) => !r("currency", n) || i.currency !== void 0, {
|
|
71
|
-
path: ["currency"],
|
|
72
|
-
message: e._("Currency is required")
|
|
73
|
-
});
|
|
1
|
+
import { jsxs as n, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRootElements as g } from "./index92.js";
|
|
3
|
+
import { TagsAutocomplete as f } from "./index450.js";
|
|
4
|
+
import { DialogTitle as h, DialogContent as C, DialogActions as v, Button as r } from "@mui/material";
|
|
5
|
+
import "react-hook-form";
|
|
6
|
+
import { Dialog as x } from "./index50.js";
|
|
7
|
+
import { useLingui as D } from "@lingui/react";
|
|
8
|
+
import { useState as T } from "react";
|
|
9
|
+
const R = ({
|
|
10
|
+
opened: a,
|
|
11
|
+
onClose: t,
|
|
12
|
+
value: l,
|
|
13
|
+
updateTags: s
|
|
14
|
+
}) => {
|
|
15
|
+
const {
|
|
16
|
+
root: m
|
|
17
|
+
} = g(), {
|
|
18
|
+
i18n: e
|
|
19
|
+
} = D(), [i, c] = T(l), d = (u) => {
|
|
20
|
+
c(u);
|
|
21
|
+
}, p = () => {
|
|
22
|
+
s?.(i), t();
|
|
23
|
+
};
|
|
24
|
+
return /* @__PURE__ */ n(x, { open: a, onClose: t, container: m, fullWidth: !0, children: [
|
|
25
|
+
/* @__PURE__ */ o(h, { children: e._("Edit tags") }),
|
|
26
|
+
/* @__PURE__ */ o(C, { dividers: !0, children: /* @__PURE__ */ o(f, { value: i, onChange: d }) }),
|
|
27
|
+
/* @__PURE__ */ n(v, { children: [
|
|
28
|
+
/* @__PURE__ */ o(r, { variant: "text", onClick: t, children: e._("Cancel") }),
|
|
29
|
+
/* @__PURE__ */ o(r, { variant: "contained", onClick: p, children: e._("Update") })
|
|
30
|
+
] })
|
|
31
|
+
] });
|
|
32
|
+
};
|
|
74
33
|
export {
|
|
75
|
-
|
|
76
|
-
r as isFieldRequiredByValidations
|
|
34
|
+
R as TagsModal
|
|
77
35
|
};
|
|
@@ -1,24 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { useExistingCurrenciesFromProducts as u } from "./index475.js";
|
|
4
|
-
const d = () => {
|
|
1
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
+
const r = (e) => {
|
|
5
3
|
const {
|
|
6
|
-
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
api: t
|
|
5
|
+
} = n();
|
|
6
|
+
return t.finops.getPaymentLinksId.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
payment_link_id: e ?? ""
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: !!e
|
|
12
|
+
});
|
|
13
|
+
}, y = () => {
|
|
14
|
+
const {
|
|
15
|
+
api: e
|
|
16
|
+
} = n(), t = e.finops.postPaymentLinks.useMutation({});
|
|
17
|
+
return async (a, s, i, o) => t.mutateAsync({
|
|
18
|
+
recipient: {
|
|
19
|
+
id: s,
|
|
20
|
+
type: "counterpart"
|
|
21
|
+
},
|
|
22
|
+
object: {
|
|
23
|
+
id: a,
|
|
24
|
+
type: "payable"
|
|
25
|
+
},
|
|
26
|
+
payment_methods: i,
|
|
27
|
+
expires_at: new Date(
|
|
28
|
+
Date.now() + o * 24 * 3600 * 1e3
|
|
29
|
+
// x days from now
|
|
30
|
+
).toISOString()
|
|
31
|
+
});
|
|
21
32
|
};
|
|
22
33
|
export {
|
|
23
|
-
|
|
34
|
+
y as useCreatePayablePaymentLink,
|
|
35
|
+
r as usePaymentLinkById
|
|
24
36
|
};
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})
|
|
8
|
-
|
|
1
|
+
import { toast as o } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as r } from "./index57.js";
|
|
3
|
+
import { useLingui as t } from "@lingui/react";
|
|
4
|
+
const c = () => {
|
|
5
|
+
const {
|
|
6
|
+
api: n
|
|
7
|
+
} = r(), {
|
|
8
|
+
i18n: e
|
|
9
|
+
} = t();
|
|
10
|
+
return n.finops.postFinancingTokens.useMutation({}, {
|
|
11
|
+
onError: () => {
|
|
12
|
+
o.error(e._("The financing service is currently unavailable. Please reload the page or try again later."));
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
};
|
|
9
16
|
export {
|
|
10
|
-
|
|
17
|
+
c as useGetFinancingConnectToken
|
|
11
18
|
};
|
|
@@ -1,70 +1,15 @@
|
|
|
1
1
|
import { useMemo as s } from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { ApprovalStepResolver as j } from "./index480.js";
|
|
5
|
-
import { extractStructureItemsFromScriptStep as q, processApprovalStructure as w, findUserApprovalCall as x } from "./index274.js";
|
|
6
|
-
function C(i, p, v = "desc") {
|
|
2
|
+
import { useGetProducts as i } from "./index199.js";
|
|
3
|
+
const a = () => {
|
|
7
4
|
const {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} = b(), {
|
|
12
|
-
data: f,
|
|
13
|
-
isLoading: _
|
|
14
|
-
} = n.finops.getApprovalRequests.useQuery({
|
|
15
|
-
query: {
|
|
16
|
-
object_id: i,
|
|
17
|
-
object_type: "payable",
|
|
18
|
-
limit: 50,
|
|
19
|
-
order: v
|
|
20
|
-
}
|
|
21
|
-
}), {
|
|
22
|
-
data: g,
|
|
23
|
-
isLoading: h
|
|
24
|
-
} = n.finops.getApprovalPoliciesId.useQuery({
|
|
25
|
-
path: {
|
|
26
|
-
approval_policy_id: p
|
|
27
|
-
}
|
|
28
|
-
}), u = s(() => f?.data || [], [f]), a = s(() => g?.script || [], [g]), o = s(() => !a.length || !u ? [] : new j(a, u, m).buildCompleteSteps(), [a, u, m]), l = s(() => {
|
|
29
|
-
const t = /* @__PURE__ */ new Set();
|
|
30
|
-
return a.forEach((e) => {
|
|
31
|
-
const r = q(e), S = w(r), y = x(S);
|
|
32
|
-
y?.params?.user_ids && y.params.user_ids.forEach((E) => t.add(E));
|
|
33
|
-
}), o.forEach((e) => {
|
|
34
|
-
e.actualAssignees.forEach((r) => t.add(r));
|
|
35
|
-
}), Array.from(t);
|
|
36
|
-
}, [a, o]), {
|
|
37
|
-
data: d,
|
|
38
|
-
isLoading: A
|
|
39
|
-
} = n.finops.getEntityUsers.useQuery({
|
|
40
|
-
query: {
|
|
41
|
-
id__in: l.length > 0 ? l : void 0,
|
|
42
|
-
limit: 100
|
|
43
|
-
}
|
|
44
|
-
}, {
|
|
45
|
-
enabled: l.length > 0
|
|
46
|
-
}), c = s(() => {
|
|
47
|
-
const t = /* @__PURE__ */ new Map();
|
|
48
|
-
return d?.data && d.data.forEach((e) => {
|
|
49
|
-
t.set(e.id, e);
|
|
50
|
-
}), t;
|
|
51
|
-
}, [d]);
|
|
5
|
+
data: e,
|
|
6
|
+
isLoading: t
|
|
7
|
+
} = i();
|
|
52
8
|
return {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
resolvedUsers: t.actualAssignees.map((e) => c.get(e)),
|
|
56
|
-
userNames: t.actualAssignees.map((e) => {
|
|
57
|
-
const r = c.get(e);
|
|
58
|
-
return r && (`${r.first_name || ""} ${r.last_name || ""}`.trim() || r.email || r.login) || e;
|
|
59
|
-
})
|
|
60
|
-
})), [o, c]),
|
|
61
|
-
isLoading: _ || h || A,
|
|
62
|
-
error: null
|
|
9
|
+
existingCurrencies: s(() => new Set(e?.data?.map((r) => r.price?.currency).filter((r) => !!r) ?? []), [e?.data]),
|
|
10
|
+
isLoadingProducts: t
|
|
63
11
|
};
|
|
64
|
-
}
|
|
65
|
-
function $(i, p) {
|
|
66
|
-
return C(i, p.id, "desc");
|
|
67
|
-
}
|
|
12
|
+
};
|
|
68
13
|
export {
|
|
69
|
-
|
|
14
|
+
a as useExistingCurrenciesFromProducts
|
|
70
15
|
};
|
|
@@ -1,15 +1,70 @@
|
|
|
1
1
|
import { useMemo as s } from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { useMoniteContext as b } from "./index57.js";
|
|
3
|
+
import { useLingui as L } from "@lingui/react";
|
|
4
|
+
import { ApprovalStepResolver as j } from "./index481.js";
|
|
5
|
+
import { extractStructureItemsFromScriptStep as q, processApprovalStructure as w, findUserApprovalCall as x } from "./index300.js";
|
|
6
|
+
function C(i, p, v = "desc") {
|
|
4
7
|
const {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
i18n: m
|
|
9
|
+
} = L(), {
|
|
10
|
+
api: n
|
|
11
|
+
} = b(), {
|
|
12
|
+
data: f,
|
|
13
|
+
isLoading: _
|
|
14
|
+
} = n.finops.getApprovalRequests.useQuery({
|
|
15
|
+
query: {
|
|
16
|
+
object_id: i,
|
|
17
|
+
object_type: "payable",
|
|
18
|
+
limit: 50,
|
|
19
|
+
order: v
|
|
20
|
+
}
|
|
21
|
+
}), {
|
|
22
|
+
data: g,
|
|
23
|
+
isLoading: h
|
|
24
|
+
} = n.finops.getApprovalPoliciesId.useQuery({
|
|
25
|
+
path: {
|
|
26
|
+
approval_policy_id: p
|
|
27
|
+
}
|
|
28
|
+
}), u = s(() => f?.data || [], [f]), a = s(() => g?.script || [], [g]), o = s(() => !a.length || !u ? [] : new j(a, u, m).buildCompleteSteps(), [a, u, m]), l = s(() => {
|
|
29
|
+
const t = /* @__PURE__ */ new Set();
|
|
30
|
+
return a.forEach((e) => {
|
|
31
|
+
const r = q(e), S = w(r), y = x(S);
|
|
32
|
+
y?.params?.user_ids && y.params.user_ids.forEach((E) => t.add(E));
|
|
33
|
+
}), o.forEach((e) => {
|
|
34
|
+
e.actualAssignees.forEach((r) => t.add(r));
|
|
35
|
+
}), Array.from(t);
|
|
36
|
+
}, [a, o]), {
|
|
37
|
+
data: d,
|
|
38
|
+
isLoading: A
|
|
39
|
+
} = n.finops.getEntityUsers.useQuery({
|
|
40
|
+
query: {
|
|
41
|
+
id__in: l.length > 0 ? l : void 0,
|
|
42
|
+
limit: 100
|
|
43
|
+
}
|
|
44
|
+
}, {
|
|
45
|
+
enabled: l.length > 0
|
|
46
|
+
}), c = s(() => {
|
|
47
|
+
const t = /* @__PURE__ */ new Map();
|
|
48
|
+
return d?.data && d.data.forEach((e) => {
|
|
49
|
+
t.set(e.id, e);
|
|
50
|
+
}), t;
|
|
51
|
+
}, [d]);
|
|
8
52
|
return {
|
|
9
|
-
|
|
10
|
-
|
|
53
|
+
steps: s(() => o.map((t) => ({
|
|
54
|
+
...t,
|
|
55
|
+
resolvedUsers: t.actualAssignees.map((e) => c.get(e)),
|
|
56
|
+
userNames: t.actualAssignees.map((e) => {
|
|
57
|
+
const r = c.get(e);
|
|
58
|
+
return r && (`${r.first_name || ""} ${r.last_name || ""}`.trim() || r.email || r.login) || e;
|
|
59
|
+
})
|
|
60
|
+
})), [o, c]),
|
|
61
|
+
isLoading: _ || h || A,
|
|
62
|
+
error: null
|
|
11
63
|
};
|
|
12
|
-
}
|
|
64
|
+
}
|
|
65
|
+
function $(i, p) {
|
|
66
|
+
return C(i, p.id, "desc");
|
|
67
|
+
}
|
|
13
68
|
export {
|
|
14
|
-
|
|
69
|
+
$ as useResolvedApprovalStepsWithPolicy
|
|
15
70
|
};
|