@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,125 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "react";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsx as t, jsxs as e, Fragment as c } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useEffect as f } from "react";
|
|
3
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
|
+
import { X as g, CloudUpload as x, AlertCircle as N, CheckCircle2 as b } from "lucide-react";
|
|
5
|
+
import { LoadingSpinner as y } from "./index131.js";
|
|
6
|
+
import { Typography as l } from "./index85.js";
|
|
7
|
+
import { twMerge as v } from "tailwind-merge";
|
|
8
|
+
import { UploadBar as C } from "./index439.js";
|
|
9
|
+
const U = ({
|
|
10
|
+
isUploading: o,
|
|
11
|
+
isSuccess: r,
|
|
12
|
+
isError: i,
|
|
13
|
+
isDraggingOver: d,
|
|
14
|
+
resetUpload: a,
|
|
15
|
+
fileName: m,
|
|
16
|
+
onClick: u
|
|
12
17
|
}) => {
|
|
13
18
|
const {
|
|
14
|
-
i18n:
|
|
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
|
-
const a = s(e[0][1], u);
|
|
45
|
-
if (e.length === 1)
|
|
46
|
-
switch (e[0][0]) {
|
|
47
|
-
case o.GREATER_THAN:
|
|
48
|
-
return t._("Greater than {formattedValue}", {
|
|
49
|
-
formattedValue: a
|
|
50
|
-
});
|
|
51
|
-
case o.GREATER_THAN_OR_EQUAL:
|
|
52
|
-
return t._("Greater than or equal to {formattedValue}", {
|
|
53
|
-
formattedValue: a
|
|
54
|
-
});
|
|
55
|
-
case o.LESS_THAN:
|
|
56
|
-
return t._("Less than {formattedValue}", {
|
|
57
|
-
formattedValue: a
|
|
58
|
-
});
|
|
59
|
-
case o.LESS_THAN_OR_EQUAL:
|
|
60
|
-
return t._("Less than or equal to {formattedValue}", {
|
|
61
|
-
formattedValue: a
|
|
62
|
-
});
|
|
63
|
-
case o.EQUALS:
|
|
64
|
-
return t._("Equal to {formattedValue}", {
|
|
65
|
-
formattedValue: a
|
|
66
|
-
});
|
|
67
|
-
default:
|
|
68
|
-
return a;
|
|
69
|
-
}
|
|
70
|
-
if (e.length === 2) {
|
|
71
|
-
const r = e.find((n) => n[0] === o.GREATER_THAN_OR_EQUAL), g = e.find((n) => n[0] === o.LESS_THAN_OR_EQUAL);
|
|
72
|
-
if (r && g)
|
|
73
|
-
return t._("{from} - {to}", {
|
|
74
|
-
from: s(r[1], u),
|
|
75
|
-
to: s(g[1], u)
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
return a;
|
|
79
|
-
};
|
|
80
|
-
return ((e) => !!(e && typeof e == "object" && "all" in e && Array.isArray(e.all)))(i?.trigger) ? {
|
|
81
|
-
triggers: i.trigger?.all?.reduce((e, u) => {
|
|
82
|
-
if (typeof u == "string" || !u.operator || !u.left_operand || u.right_operand == null)
|
|
83
|
-
return e;
|
|
84
|
-
const {
|
|
85
|
-
key: a,
|
|
86
|
-
value: r
|
|
87
|
-
} = f(u);
|
|
88
|
-
if (!a || r == null || !p(a))
|
|
89
|
-
return e;
|
|
90
|
-
switch (a) {
|
|
91
|
-
case "amount":
|
|
92
|
-
(typeof r == "string" || typeof r == "number") && A(u.operator) && (e.amount || (e.amount = {
|
|
93
|
-
currency: "EUR",
|
|
94
|
-
value: []
|
|
95
|
-
}), e.amount.value.push([u.operator, r]));
|
|
96
|
-
break;
|
|
97
|
-
case "currency":
|
|
98
|
-
e.amount ? e.amount.currency = r : e.amount = {
|
|
99
|
-
value: [],
|
|
100
|
-
currency: r
|
|
101
|
-
};
|
|
102
|
-
break;
|
|
103
|
-
case "tags.id":
|
|
104
|
-
typeof r == "string" && (e.tags || (e.tags = []), e.tags.push(r));
|
|
105
|
-
break;
|
|
106
|
-
case "counterpart_id":
|
|
107
|
-
case "was_created_by_user_id":
|
|
108
|
-
Array.isArray(r) && (e[a] = r);
|
|
109
|
-
break;
|
|
110
|
-
}
|
|
111
|
-
return e;
|
|
112
|
-
}, {}),
|
|
113
|
-
getTriggerName: c,
|
|
114
|
-
getTriggerLabel: l,
|
|
115
|
-
getAmountLabel: _
|
|
116
|
-
} : {
|
|
117
|
-
triggers: {},
|
|
118
|
-
getTriggerName: c,
|
|
119
|
-
getTriggerLabel: l,
|
|
120
|
-
getAmountLabel: _
|
|
121
|
-
};
|
|
19
|
+
i18n: s
|
|
20
|
+
} = h(), w = o || r || i;
|
|
21
|
+
function p() {
|
|
22
|
+
return i ? /* @__PURE__ */ t(N, { className: "ttw:size-5 ttw:text-danger" }) : r ? /* @__PURE__ */ t(b, { className: "ttw:size-5 ttw:text-success" }) : /* @__PURE__ */ t(y, { className: "ttw:w-5 ttw:h-5" });
|
|
23
|
+
}
|
|
24
|
+
return f(() => {
|
|
25
|
+
let n;
|
|
26
|
+
return r && (n = setTimeout(() => a(), 2e3)), () => clearTimeout(n);
|
|
27
|
+
}, [r, a]), /* @__PURE__ */ t("div", { className: v("ttw:w-full ttw:h-38 ttw:bg-white ttw:box-border ttw:transition-all ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:gap-2 ttw:rounded-lg ttw:border ttw:px-4 ttw:py-6", d ? "ttw:border-solid ttw:border-primary" : "ttw:border-dashed ttw:border-border"), onClick: () => {
|
|
28
|
+
w || u();
|
|
29
|
+
}, children: w ? /* @__PURE__ */ e(c, { children: [
|
|
30
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-4 ttw:justify-center ttw:w-full", children: [
|
|
31
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:w-1/2 ttw:items-center", children: [
|
|
32
|
+
p(),
|
|
33
|
+
/* @__PURE__ */ t("span", { className: "ttw:w-full ttw:text-sm ttw:leading-5 ttw:text-medium ttw:text-neutral ttw:truncate", children: m })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:items-center", children: [
|
|
36
|
+
/* @__PURE__ */ t(C, { shouldStartProgress: o, isError: i, isSuccess: r }),
|
|
37
|
+
i && /* @__PURE__ */ t("button", { type: "button", disabled: o, onClick: a, className: "ttw:border-none ttw:cursor-pointer", children: /* @__PURE__ */ t(g, { className: "ttw:size-4" }) })
|
|
38
|
+
] })
|
|
39
|
+
] }),
|
|
40
|
+
i && /* @__PURE__ */ t(l, { variant: "body2", color: "destructive", className: "ttw:font-medium", children: s._("Wrong file format. Please, upload the file in JPEG, PNG or GIF format.") })
|
|
41
|
+
] }) : /* @__PURE__ */ e(c, { children: [
|
|
42
|
+
/* @__PURE__ */ t("div", { className: "ttw:p-3 ttw:bg-primary ttw:rounded-full", children: /* @__PURE__ */ t(x, { className: "ttw:text-white ttw:size-5" }) }),
|
|
43
|
+
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:font-medium", children: [
|
|
44
|
+
s._("Drop your files here, or "),
|
|
45
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline ttw:hover:cursor-pointer", children: s._("click to browse") })
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ t(l, { variant: "caption", color: "muted", children: s._("PNG, JPG or GIF (max. 10MB)") })
|
|
48
|
+
] }) });
|
|
122
49
|
};
|
|
123
50
|
export {
|
|
124
|
-
|
|
51
|
+
U as DragAndDropBox
|
|
125
52
|
};
|
|
@@ -1,20 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Switch as a } from "radix-ui";
|
|
3
|
+
import { cn as e } from "./index100.js";
|
|
4
|
+
function o({
|
|
5
|
+
className: s,
|
|
6
|
+
size: r = "default",
|
|
7
|
+
...i
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "switch", "data-size": r, className: e("ttw:peer ttw:group/switch ttw:inline-flex ttw:shrink-0 ttw:items-center ttw:rounded-full ttw:border ttw:border-transparent ttw:shadow-xs ttw:transition-all ttw:outline-none ttw:focus-visible:border-ring ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50 ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-[1.15rem] ttw:data-[size=default]:w-8 ttw:data-[size=sm]:h-3.5 ttw:data-[size=sm]:w-6 ttw:data-[state=checked]:bg-primary ttw:data-[state=unchecked]:bg-input ttw:dark:data-[state=unchecked]:bg-input/80", s), ...i, children: /* @__PURE__ */ t(a.Thumb, { "data-slot": "switch-thumb", className: e("ttw:pointer-events-none ttw:block ttw:rounded-full ttw:bg-background ttw:ring-0 ttw:transition-transform ttw:group-data-[size=default]/switch:size-4 ttw:group-data-[size=sm]/switch:size-3 ttw:data-[state=checked]:translate-x-[calc(100%-2px)] ttw:data-[state=unchecked]:translate-x-0 ttw:dark:data-[state=checked]:bg-primary-foreground ttw:dark:data-[state=unchecked]:bg-foreground") }) });
|
|
4
10
|
}
|
|
5
|
-
const e = /* @__PURE__ */ b("ul", process.env.NODE_ENV === "production" ? {
|
|
6
|
-
target: "e10it8hw0"
|
|
7
|
-
} : {
|
|
8
|
-
target: "e10it8hw0",
|
|
9
|
-
label: "ColumnList"
|
|
10
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
11
|
-
name: "1932ye7",
|
|
12
|
-
styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}"
|
|
13
|
-
} : {
|
|
14
|
-
name: "1932ye7",
|
|
15
|
-
styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL2xpYnMvdGVzb3Vyby1lbWJlZGRlZC1jb21wb25lbnRzLXJlYWN0L21vbml0ZS1zZGsvc3JjL2NvbXBvbmVudHMvYXBwcm92YWxQb2xpY2llcy9BcHByb3ZhbFBvbGljaWVzVGFibGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVtQyIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9saWJzL3Rlc291cm8tZW1iZWRkZWQtY29tcG9uZW50cy1yZWFjdC9tb25pdGUtc2RrL3NyYy9jb21wb25lbnRzL2FwcHJvdmFsUG9saWNpZXMvQXBwcm92YWxQb2xpY2llc1RhYmxlL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuZXhwb3J0IGNvbnN0IENvbHVtbkxpc3QgPSBzdHlsZWQudWxgXG4gIG1hcmdpbjogMDtcbiAgcGFkZGluZzogMDtcbiAgbGlzdC1zdHlsZTogbm9uZTtcblxuICBsaSB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBnYXA6IDRweDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICB9XG5gO1xuIl19 */",
|
|
16
|
-
toString: t
|
|
17
|
-
});
|
|
18
11
|
export {
|
|
19
|
-
|
|
12
|
+
o as Switch
|
|
20
13
|
};
|
|
@@ -1,18 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { useMoniteContext as e } from "./index57.js";
|
|
2
|
+
import { useLingui as i } from "@lingui/react";
|
|
3
|
+
import { toast as u } from "react-hot-toast";
|
|
4
|
+
const d = () => {
|
|
5
|
+
const {
|
|
6
|
+
api: r,
|
|
7
|
+
queryClient: n
|
|
8
|
+
} = e(), {
|
|
9
|
+
i18n: o
|
|
10
|
+
} = i();
|
|
11
|
+
return r.finops.patchCounterpartsIdBankAccountsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async (t) => {
|
|
13
|
+
r.finops.getCounterpartsIdBankAccountsId.setQueryData({
|
|
14
|
+
path: {
|
|
15
|
+
counterpart_id: t.counterpart_id,
|
|
16
|
+
bank_account_id: t.id
|
|
17
|
+
}
|
|
18
|
+
}, (a) => ({
|
|
19
|
+
...a,
|
|
20
|
+
...t
|
|
21
|
+
}), n), await r.finops.getCounterpartsIdBankAccounts.invalidateQueries({
|
|
22
|
+
parameters: {
|
|
23
|
+
path: {
|
|
24
|
+
counterpart_id: t.counterpart_id
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, n);
|
|
28
|
+
},
|
|
29
|
+
onError: () => {
|
|
30
|
+
u.error(o._("Failed to update Bank Account."));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
};
|
|
16
34
|
export {
|
|
17
|
-
|
|
35
|
+
d as useUpdateCounterpartBank
|
|
18
36
|
};
|
|
@@ -1,18 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
const a = {
|
|
2
|
+
AL: "Alabama",
|
|
3
|
+
AK: "Alaska",
|
|
4
|
+
AZ: "Arizona",
|
|
5
|
+
AR: "Arkansas",
|
|
6
|
+
CA: "California",
|
|
7
|
+
CO: "Colorado",
|
|
8
|
+
CT: "Connecticut",
|
|
9
|
+
DE: "Delaware",
|
|
10
|
+
FL: "Florida",
|
|
11
|
+
GA: "Georgia",
|
|
12
|
+
HI: "Hawaii",
|
|
13
|
+
ID: "Idaho",
|
|
14
|
+
IL: "Illinois",
|
|
15
|
+
IN: "Indiana",
|
|
16
|
+
IA: "Iowa",
|
|
17
|
+
KS: "Kansas",
|
|
18
|
+
KY: "Kentucky",
|
|
19
|
+
LA: "Louisiana",
|
|
20
|
+
ME: "Maine",
|
|
21
|
+
MD: "Maryland",
|
|
22
|
+
MA: "Massachusetts",
|
|
23
|
+
MI: "Michigan",
|
|
24
|
+
MN: "Minnesota",
|
|
25
|
+
MS: "Mississippi",
|
|
26
|
+
MO: "Missouri",
|
|
27
|
+
MT: "Montana",
|
|
28
|
+
NE: "Nebraska",
|
|
29
|
+
NV: "Nevada",
|
|
30
|
+
NH: "New Hampshire",
|
|
31
|
+
NJ: "New Jersey",
|
|
32
|
+
NM: "New Mexico",
|
|
33
|
+
NY: "New York",
|
|
34
|
+
NC: "North Carolina",
|
|
35
|
+
ND: "North Dakota",
|
|
36
|
+
OH: "Ohio",
|
|
37
|
+
OK: "Oklahoma",
|
|
38
|
+
OR: "Oregon",
|
|
39
|
+
PA: "Pennsylvania",
|
|
40
|
+
RI: "Rhode Island",
|
|
41
|
+
SC: "South Carolina",
|
|
42
|
+
SD: "South Dakota",
|
|
43
|
+
TN: "Tennessee",
|
|
44
|
+
TX: "Texas",
|
|
45
|
+
UT: "Utah",
|
|
46
|
+
VT: "Vermont",
|
|
47
|
+
VA: "Virginia",
|
|
48
|
+
WA: "Washington",
|
|
49
|
+
WV: "West Virginia",
|
|
50
|
+
WI: "Wisconsin",
|
|
51
|
+
WY: "Wyoming",
|
|
52
|
+
DC: "Washington D.C."
|
|
53
|
+
};
|
|
16
54
|
export {
|
|
17
|
-
a as
|
|
55
|
+
a as USStatesEnum
|
|
18
56
|
};
|
|
@@ -1,18 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
})
|
|
1
|
+
import { jsxs as l, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as d } from "react";
|
|
3
|
+
import { getCountriesArray as g } from "./index93.js";
|
|
4
|
+
import { Combobox as v, ComboboxInput as L, ComboboxContent as y, ComboboxList as N, ComboboxEmpty as M, ComboboxCollection as _, ComboboxItem as j } from "./index90.js";
|
|
5
|
+
import { useLingui as A } from "@lingui/react";
|
|
6
|
+
const E = ({
|
|
7
|
+
value: c,
|
|
8
|
+
onChange: u,
|
|
9
|
+
disabled: b,
|
|
10
|
+
invalid: C,
|
|
11
|
+
allowedCountries: a,
|
|
12
|
+
showClearButton: h = !0,
|
|
13
|
+
className: p,
|
|
14
|
+
container: x
|
|
15
|
+
}) => {
|
|
16
|
+
const {
|
|
17
|
+
i18n: t
|
|
18
|
+
} = A(), r = d(() => {
|
|
19
|
+
const e = g(t);
|
|
20
|
+
return a ? e.filter((n) => a.includes(n.code)) : e;
|
|
21
|
+
}, [a, t]), s = d(() => new Map(r.map((e) => [e.code, e])), [r]), m = b || r.length === 1, f = (e) => s.get(e)?.label ?? e;
|
|
22
|
+
return /* @__PURE__ */ l(v, { value: c ?? null, onValueChange: (e) => u?.(e ?? void 0), items: r.map((e) => e.code), itemToStringLabel: f, filter: (e, n, w) => {
|
|
23
|
+
const i = n.toLowerCase().trim();
|
|
24
|
+
return i ? e.toLowerCase().includes(i) || (w?.(e) ?? "").toLowerCase().includes(i) : !0;
|
|
25
|
+
}, disabled: m, children: [
|
|
26
|
+
/* @__PURE__ */ o(L, { showClear: h, disabled: m, className: p, placeholder: t._("Country"), "aria-invalid": C || void 0 }),
|
|
27
|
+
/* @__PURE__ */ o(y, { container: x, children: /* @__PURE__ */ l(N, { children: [
|
|
28
|
+
/* @__PURE__ */ o(M, { children: t._("No countries found") }),
|
|
29
|
+
/* @__PURE__ */ o(_, { children: (e) => /* @__PURE__ */ l(j, { value: e, children: [
|
|
30
|
+
/* @__PURE__ */ o("span", { children: s.get(e)?.label ?? e }),
|
|
31
|
+
/* @__PURE__ */ o("span", { className: "ttw:ml-auto ttw:text-xs ttw:text-muted-foreground", children: e })
|
|
32
|
+
] }, e) })
|
|
33
|
+
] }) })
|
|
34
|
+
] });
|
|
35
|
+
};
|
|
16
36
|
export {
|
|
17
|
-
|
|
37
|
+
E as MoniteCountryShadcn
|
|
18
38
|
};
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
2
|
+
import { useLingui as a } from "@lingui/react";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
const d = () => {
|
|
5
|
+
const {
|
|
6
|
+
i18n: e
|
|
7
|
+
} = a(), {
|
|
8
|
+
api: r,
|
|
9
|
+
queryClient: t
|
|
10
|
+
} = o();
|
|
11
|
+
return r.finops.postCounterpartsIdAddresses.useMutation(void 0, {
|
|
12
|
+
onSuccess: async (s) => {
|
|
13
|
+
await r.finops.getCounterpartsIdAddresses.invalidateQueries({
|
|
14
|
+
parameters: {
|
|
15
|
+
path: {
|
|
16
|
+
counterpart_id: s.counterpart_id
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, t);
|
|
20
|
+
},
|
|
21
|
+
onError: () => {
|
|
22
|
+
n.error(e._("There was an error setting up the address"));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
};
|
|
16
26
|
export {
|
|
17
|
-
|
|
27
|
+
d as useCreateCounterpartAddress
|
|
18
28
|
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const n = 1e3 * 60 * 60 * 24, T = Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()), o = Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), a = Math.floor((T - o) / n);
|
|
8
|
-
return a > 0 ? a : 0;
|
|
9
|
-
};
|
|
1
|
+
const t = (e) => ({
|
|
2
|
+
approved: e._("Approved"),
|
|
3
|
+
canceled: e._("Canceled"),
|
|
4
|
+
rejected: e._("Rejected"),
|
|
5
|
+
waiting: e._("In approval")
|
|
6
|
+
});
|
|
10
7
|
export {
|
|
11
|
-
|
|
8
|
+
t as getRowToStatusTextMap
|
|
12
9
|
};
|
|
@@ -1,13 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsx as o, jsxs as h, Fragment as x } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as n } from "react";
|
|
3
|
+
import { useMoniteContext as y } from "./index57.js";
|
|
4
|
+
import { useRootElements as I } from "./index92.js";
|
|
5
|
+
import { classNames as _ } from "./index172.js";
|
|
6
|
+
import { useLingui as F } from "@lingui/react";
|
|
7
|
+
import { Autocomplete as M, TextField as O, CircularProgress as v } from "@mui/material";
|
|
8
|
+
const $ = ({
|
|
9
|
+
onChange: l,
|
|
10
|
+
className: p
|
|
11
|
+
}) => {
|
|
12
|
+
const {
|
|
13
|
+
i18n: r
|
|
14
|
+
} = F(), {
|
|
15
|
+
api: d
|
|
16
|
+
} = y(), {
|
|
17
|
+
root: u
|
|
18
|
+
} = I(), [i, s] = n(!1), [m, c] = n(null), [f, g] = n(""), {
|
|
19
|
+
data: C,
|
|
20
|
+
isLoading: a,
|
|
21
|
+
refetch: A
|
|
22
|
+
} = d.finops.getEntityUsers.useQuery({
|
|
23
|
+
query: {
|
|
24
|
+
name__istartswith: f || void 0
|
|
25
|
+
}
|
|
26
|
+
}, {
|
|
27
|
+
enabled: i
|
|
28
|
+
});
|
|
29
|
+
return /* @__PURE__ */ o(M, { autoComplete: !0, includeInputInList: !0, filterSelectedOptions: !0, value: m, noOptionsText: r._("No users found"), slotProps: {
|
|
30
|
+
popper: {
|
|
31
|
+
container: u
|
|
32
|
+
}
|
|
33
|
+
}, open: i, onOpen: () => {
|
|
34
|
+
s(!0);
|
|
35
|
+
}, onClose: () => {
|
|
36
|
+
s(!1);
|
|
37
|
+
}, loading: a, options: C?.data || [], getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(), isOptionEqualToValue: (e, t) => e.id === t.id, filterOptions: (e) => e, onInputChange: (e, t) => {
|
|
38
|
+
g(t);
|
|
39
|
+
}, onChange: (e, t) => {
|
|
40
|
+
c(t), l(t?.id), A();
|
|
41
|
+
}, className: _("Monite-ApprovalAddedByFilter-Container", "Monite-FilterControl", p), sx: {
|
|
42
|
+
"&.MuiAutocomplete-root": {
|
|
43
|
+
display: "flex",
|
|
44
|
+
alignItems: "center"
|
|
45
|
+
}
|
|
46
|
+
}, renderInput: (e) => /* @__PURE__ */ o(O, { ...e, variant: "standard", placeholder: r._("Added by"), className: "Monite-ApprovalAddedByFilter Monite-FilterControl", InputProps: {
|
|
47
|
+
...e.InputProps,
|
|
48
|
+
endAdornment: /* @__PURE__ */ h(x, { children: [
|
|
49
|
+
a ? /* @__PURE__ */ o(v, { color: "inherit", size: 20 }) : null,
|
|
50
|
+
e.InputProps.endAdornment
|
|
51
|
+
] })
|
|
52
|
+
} }) });
|
|
10
53
|
};
|
|
11
54
|
export {
|
|
12
|
-
|
|
55
|
+
$ as AutocompleteCreatedBy
|
|
13
56
|
};
|
|
@@ -1,75 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFileById as s } from "./index77.js";
|
|
3
|
+
import { Avatar as e } from "@mui/material";
|
|
4
|
+
const n = ({
|
|
5
|
+
alt: t,
|
|
6
|
+
fileId: a,
|
|
7
|
+
...r
|
|
8
|
+
}) => a ? /* @__PURE__ */ l(i, { fileId: a, alt: t, ...r }) : /* @__PURE__ */ l(e, { alt: t, ...r }), i = ({
|
|
9
|
+
alt: t,
|
|
10
|
+
fileId: a,
|
|
11
|
+
...r
|
|
5
12
|
}) => {
|
|
6
13
|
const {
|
|
7
|
-
|
|
8
|
-
} =
|
|
9
|
-
|
|
10
|
-
const e = r.params;
|
|
11
|
-
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");
|
|
12
|
-
}, 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)), f = (r) => {
|
|
13
|
-
if (!Array.isArray(r) || r.length !== 1) return !1;
|
|
14
|
-
const [e] = r;
|
|
15
|
-
if (typeof e != "object" || e === null || !("if" in e) || !("then" in e) || !("else" in e)) return !1;
|
|
16
|
-
const {
|
|
17
|
-
if: a,
|
|
18
|
-
then: l,
|
|
19
|
-
else: R
|
|
20
|
-
} = e;
|
|
21
|
-
if (typeof a != "object" || a === null || !("run_concurrently" in a) || !("all" in a)) return !1;
|
|
22
|
-
const {
|
|
23
|
-
run_concurrently: E,
|
|
24
|
-
all: c
|
|
25
|
-
} = a;
|
|
26
|
-
return typeof E != "boolean" || !Array.isArray(c) || !Array.isArray(l) || !Array.isArray(R) ? !1 : c.every((y) => s(y) || i(y));
|
|
27
|
-
}, u = (r) => r.call === n.REQUEST_APPROVAL_BY_USERS && Array.isArray(r.params.user_ids) && r.params.user_ids.length === 1 && r.params.required_approval_count === 1, A = (r) => r.call === n.REQUEST_APPROVAL_BY_USERS && Array.isArray(r.params.user_ids) && r.params.user_ids.length > 1 && r.params.required_approval_count > 0, d = (r) => r.call === n.REQUEST_APPROVAL_BY_ROLES && Array.isArray(r.params.role_ids) && r.params.role_ids.length >= 1 && r.params.required_approval_count > 0, m = (r) => !r.run_concurrently && r.all.length > 1 && r.all.every((e) => s(e) && u(e)), _ = (r) => L(r, o), p = (r, e) => g(r, o, e);
|
|
28
|
-
return f(t?.script) ? {
|
|
29
|
-
rules: t?.script[0].if.all.reduce((r, e) => {
|
|
30
|
-
if (i(e)) {
|
|
31
|
-
if (m(e))
|
|
32
|
-
return {
|
|
33
|
-
...r,
|
|
34
|
-
approval_chain: {
|
|
35
|
-
chainUserIds: e.all.reduce((a, l) => s(l) && u(l) && l.params.user_ids[0] && l.params.user_ids[0] ? [...a, l.params.user_ids[0]] : a, [])
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
} else if (s(e)) {
|
|
39
|
-
if (u(e))
|
|
40
|
-
return {
|
|
41
|
-
...r,
|
|
42
|
-
single_user: {
|
|
43
|
-
userId: e.params.user_ids[0]
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
if (A(e))
|
|
47
|
-
return {
|
|
48
|
-
...r,
|
|
49
|
-
users_from_list: {
|
|
50
|
-
userIds: e.params.user_ids,
|
|
51
|
-
count: e.params.required_approval_count
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
if (d(e))
|
|
55
|
-
return {
|
|
56
|
-
...r,
|
|
57
|
-
roles_from_list: {
|
|
58
|
-
roleIds: e.params.role_ids,
|
|
59
|
-
count: e.params.required_approval_count
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
return r;
|
|
64
|
-
}, {}),
|
|
65
|
-
getRuleName: _,
|
|
66
|
-
getRuleLabel: p
|
|
67
|
-
} : {
|
|
68
|
-
rules: void 0,
|
|
69
|
-
getRuleName: _,
|
|
70
|
-
getRuleLabel: p
|
|
71
|
-
};
|
|
14
|
+
data: o
|
|
15
|
+
} = s(a);
|
|
16
|
+
return /* @__PURE__ */ l(e, { alt: t, src: o?.url, ...r });
|
|
72
17
|
};
|
|
73
18
|
export {
|
|
74
|
-
|
|
19
|
+
n as UserAvatar
|
|
75
20
|
};
|