@tesouro/embedded-components-react 0.2.288 → 0.2.292
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/lib/ReceivablesWidget.d.ts +1 -0
- package/dist/lib/monite-sdk.d.ts +1 -1
- package/dist/lib/monite-sdk.js +55 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +33 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +189 -185
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +8 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +8 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +74 -444
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +443 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +40 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +81 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +58 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +31 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +43 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +4 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +2 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +49 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +118 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +5 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +181 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +209 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +157 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +57 -296
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +60 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +297 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +1 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +17 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +72 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +51 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +24 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +88 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +8 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +27 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +3 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +55 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +101 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +24 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +55 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +55 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +2 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +7 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +49 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +40 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +74 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +7 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +1 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +7 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +20 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +48 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +63 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +53 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +162 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +85 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +25 -595
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +599 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +163 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +16 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +27 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +91 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +10 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +70 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +126 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +5 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +62 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +120 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +33 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +7 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +55 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +74 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +25 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +57 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +17 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +180 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +29 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +3 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +8 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +31 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +44 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +8 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +20 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +5 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +117 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +62 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +198 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +42 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +7 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +421 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +1 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +92 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +2 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +193 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +160 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +1 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +10 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +61 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +44 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +49 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +81 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +23 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +40 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +344 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +159 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +34 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +31 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +4 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +87 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +173 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +132 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +209 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +14 -253
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +237 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +142 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +165 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +26 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +8 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +59 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +38 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +153 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +67 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +217 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +33 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +1 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +77 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +185 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +166 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +12 -310
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +9 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +5 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +312 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +90 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +182 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +82 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +133 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +37 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +434 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +141 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +143 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +36 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +59 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +66 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +149 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +59 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +84 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +14 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +19 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +42 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +27 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +13 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +13 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +9 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +101 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +35 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +43 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +65 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +28 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +157 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +129 -235
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +131 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +68 -434
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +246 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +6 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +433 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +53 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +44 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +40 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +143 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +111 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +38 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +32 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +19 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +22 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +72 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +17 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +172 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +138 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +114 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +45 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +12 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +22 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +28 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +36 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +92 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +50 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +1 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +35 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +1 -785
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +132 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +104 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +54 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +781 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +89 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +103 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +24 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +12 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +2 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +21 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +156 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +202 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +80 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +19 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +157 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +94 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +3 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +24 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +183 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +17 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +19 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +128 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +5 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +212 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +11 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +34 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +172 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +198 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +96 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +60 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +54 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +92 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +39 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +79 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +87 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +9 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +5 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +18 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +71 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +117 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +75 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +146 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +28 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +91 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +2 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +66 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +25 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +36 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +15 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +33 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,142 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { cn as e } from "./index49.js";
|
|
2
|
+
import { Button as t } from "./index56.js";
|
|
3
|
+
import { useFileInput as n } from "./index181.js";
|
|
4
|
+
import "./index189.js";
|
|
5
|
+
import { Popover as r, PopoverContent as i, PopoverTrigger as a } from "./index431.js";
|
|
6
|
+
import { useState as o } from "react";
|
|
7
|
+
import { ChevronDownIcon as s, ChevronUpIcon as c, CloudUpload as l, Copy as u, Plus as d } from "lucide-react";
|
|
8
|
+
import { jsx as f, jsxs as p } from "@emotion/react/jsx-runtime";
|
|
9
|
+
import { toast as m } from "react-hot-toast";
|
|
10
|
+
import { useLingui as h } from "@lingui/react";
|
|
11
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js
|
|
12
|
+
var g = ({ isCreateAllowed: g, onCreateInvoice: _, handleFileUpload: v }) => {
|
|
13
|
+
let { i18n: y } = h(), [b, x] = o(!1), { FileInput: S, openFileInput: C, checkFileError: w } = n(), [T, E] = o(!1);
|
|
14
|
+
return /* @__PURE__ */ f("div", {
|
|
15
|
+
className: "Monite-Payables",
|
|
16
|
+
children: /* @__PURE__ */ p(r, {
|
|
17
|
+
open: b,
|
|
18
|
+
onOpenChange: x,
|
|
19
|
+
children: [/* @__PURE__ */ f(a, {
|
|
20
|
+
asChild: !0,
|
|
21
|
+
children: /* @__PURE__ */ p(t, {
|
|
22
|
+
size: "lg",
|
|
23
|
+
disabled: !g,
|
|
24
|
+
children: [y._("Add new bill"), f(b ? c : s, {})]
|
|
25
|
+
})
|
|
26
|
+
}), /* @__PURE__ */ p(i, {
|
|
27
|
+
align: "end",
|
|
28
|
+
className: "ttw:w-auto ttw:min-w-110 ttw:border-none ttw:p-6",
|
|
29
|
+
children: [/* @__PURE__ */ p("div", {
|
|
30
|
+
className: "ttw:w-110 ttw:flex ttw:flex-col ttw:gap-4",
|
|
31
|
+
onClick: (e) => {
|
|
32
|
+
e.preventDefault(), e.stopPropagation();
|
|
33
|
+
},
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h3", {
|
|
36
|
+
className: "ttw:text-xl ttw:font-semibold ttw:text-zinc-950",
|
|
37
|
+
children: y._("Upload bills")
|
|
38
|
+
}), /* @__PURE__ */ f("p", {
|
|
39
|
+
className: "ttw:text-sm ttw:font-normal ttw:text-zinc-500",
|
|
40
|
+
children: y._("Upload your bills and we'll automatically pull the details so you can review and approve.")
|
|
41
|
+
})] }),
|
|
42
|
+
/* @__PURE__ */ f("div", {
|
|
43
|
+
className: e("ttw:box-border ttw:cursor-pointer ttw:w-full ttw:h-36.5 ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:border ttw:rounded-lg ttw:border-dashed ttw:border-zinc-200 ttw:bg-zinc-50", T && "ttw:bg-transparent"),
|
|
44
|
+
onDragOver: (e) => {
|
|
45
|
+
e.preventDefault(), E(!0);
|
|
46
|
+
},
|
|
47
|
+
onDragLeave: (e) => {
|
|
48
|
+
e.preventDefault(), E(!1);
|
|
49
|
+
},
|
|
50
|
+
onDrop: (e) => {
|
|
51
|
+
e.preventDefault(), E(!1);
|
|
52
|
+
let t = Array.from(e.dataTransfer.files);
|
|
53
|
+
if (t.length > 10) {
|
|
54
|
+
m.error(y._("You can only upload up to {fileCount} files at a time", { fileCount: 10 })), x(!1);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
t.forEach((e) => {
|
|
58
|
+
let t = w(e);
|
|
59
|
+
if (t) {
|
|
60
|
+
m.error(t);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
v(e);
|
|
64
|
+
}), x(!1);
|
|
65
|
+
},
|
|
66
|
+
onClick: C,
|
|
67
|
+
children: /* @__PURE__ */ p("div", {
|
|
68
|
+
className: "ttw:mx-auto ttw:flex ttw:flex-col ttw:items-center ttw:gap-2",
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ f("div", {
|
|
71
|
+
className: "ttw:w-11 ttw:h-11 ttw:rounded-full ttw:bg-primary ttw:flex ttw:items-center ttw:justify-center",
|
|
72
|
+
children: /* @__PURE__ */ f(l, { className: "ttw:text-white ttw:size-5" })
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ p("p", {
|
|
75
|
+
className: "ttw:text-sm ttw:font-medium ttw:text-zinc-950",
|
|
76
|
+
children: [
|
|
77
|
+
y._("Drop your files here, or"),
|
|
78
|
+
" ",
|
|
79
|
+
/* @__PURE__ */ f("span", {
|
|
80
|
+
className: "ttw:text-primary ttw:underline",
|
|
81
|
+
children: y._("click to browse")
|
|
82
|
+
})
|
|
83
|
+
]
|
|
84
|
+
}),
|
|
85
|
+
/* @__PURE__ */ f("p", {
|
|
86
|
+
className: "ttw:text-xs ttw:font-normal ttw:text-zinc-500",
|
|
87
|
+
children: y._("PDF, PNG or JPG (max. 20MB)")
|
|
88
|
+
})
|
|
89
|
+
]
|
|
90
|
+
})
|
|
91
|
+
}),
|
|
92
|
+
/* @__PURE__ */ p("div", {
|
|
93
|
+
className: "ttw:flex ttw:flex-col",
|
|
94
|
+
children: [/* @__PURE__ */ f("h3", {
|
|
95
|
+
className: "ttw:text-primary ttw:text-sm ttw:font-semibold",
|
|
96
|
+
children: y._("Send via email")
|
|
97
|
+
}), /* @__PURE__ */ f("p", {
|
|
98
|
+
className: "ttw:text-zinc-500 ttw:font-normal ttw:text-sm",
|
|
99
|
+
children: y._("Email your bills here and they'll appear in your bill pay inbox, ready to review and pay.")
|
|
100
|
+
})]
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ p("div", {
|
|
103
|
+
className: "ttw:px-3 ttw:h-14 ttw:border ttw:border-zinc-200 ttw:rounded-lg ttw:flex ttw:items-center ttw:justify-between ttw:gap-6",
|
|
104
|
+
children: [/* @__PURE__ */ f("span", { children: y._("bills@business-banking.com") }), /* @__PURE__ */ p(t, {
|
|
105
|
+
type: "button",
|
|
106
|
+
variant: "ghost",
|
|
107
|
+
size: "sm",
|
|
108
|
+
className: "ttw:text-primary ttw:hover:bg-primary-foreground ttw:hover:text-primary",
|
|
109
|
+
onClick: () => {
|
|
110
|
+
navigator.clipboard.writeText("bills@business-banking.com"), m.success(y._("Email address copied to clipboard"));
|
|
111
|
+
},
|
|
112
|
+
children: [/* @__PURE__ */ f(u, {}), y._("Copy")]
|
|
113
|
+
})]
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ p("div", {
|
|
116
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
117
|
+
children: [/* @__PURE__ */ f("h3", {
|
|
118
|
+
className: "ttw:text-sm ttw:font-semibold ttw:text-primary",
|
|
119
|
+
children: y._("Or add bill manually")
|
|
120
|
+
}), /* @__PURE__ */ p(t, {
|
|
121
|
+
onClick: () => {
|
|
122
|
+
x(!1), _();
|
|
123
|
+
},
|
|
124
|
+
className: "ttw:w-fit ttw:bg-primary-foreground ttw:hover:bg-primary-foreground ttw:text-primary",
|
|
125
|
+
children: [/* @__PURE__ */ f(d, {}), y._("Add new bill")]
|
|
126
|
+
})]
|
|
127
|
+
})
|
|
128
|
+
]
|
|
129
|
+
}), /* @__PURE__ */ f(S, {
|
|
130
|
+
"aria-label": y._("Upload payable files"),
|
|
131
|
+
multiple: !0,
|
|
132
|
+
onChange: (e) => {
|
|
133
|
+
let t = e.target.files;
|
|
134
|
+
t && v(t), x(!1);
|
|
135
|
+
}
|
|
136
|
+
})]
|
|
137
|
+
})]
|
|
138
|
+
})
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
//#endregion
|
|
142
|
+
export { g as CreatePayableMenu };
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./index329.js";
|
|
3
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js
|
|
5
|
-
var n = ({ counterpartName: n, counterpartId: r }) => n ? /* @__PURE__ */ t("span", { children: n }) : r ? /* @__PURE__ */ t(e, { counterpartId: r }) : /* @__PURE__ */ t("span", {
|
|
6
|
-
style: { opacity: .4 },
|
|
7
|
-
children: "-"
|
|
8
|
-
});
|
|
9
|
-
//#endregion
|
|
10
|
-
export { n as InvoicesCounterpartCell };
|
|
1
|
+
import "./index432.js";
|
|
@@ -1,61 +1,167 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
12
|
-
import "
|
|
13
|
-
import "
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { getAPIErrorMessage as t } from "./index26.js";
|
|
4
|
+
import { generatePayablesButtonCssVars as n } from "./index44.js";
|
|
5
|
+
import { useMoniteContext as r } from "./index47.js";
|
|
6
|
+
import { useRootElements as i } from "./index178.js";
|
|
7
|
+
import "./index179.js";
|
|
8
|
+
import { useFileInput as a } from "./index181.js";
|
|
9
|
+
import { useComponentSettings as o } from "./index187.js";
|
|
10
|
+
import "./index189.js";
|
|
11
|
+
import { Dialog as s } from "./index201.js";
|
|
12
|
+
import "./index202.js";
|
|
13
|
+
import { MoniteScopedProviders as c } from "./index209.js";
|
|
14
|
+
import { useUserPermissions as ee } from "./index112.js";
|
|
15
|
+
import { AccessRestriction as l } from "./index238.js";
|
|
16
|
+
import "./index240.js";
|
|
17
|
+
import { usePayableCallbacks as u } from "./index352.js";
|
|
18
|
+
import { PayableDetails as d } from "./index416.js";
|
|
19
|
+
import { PayablesTable as f } from "./index429.js";
|
|
20
|
+
import "./index417.js";
|
|
21
|
+
import "./index430.js";
|
|
22
|
+
import { CreatePayableMenu as p } from "./index432.js";
|
|
23
|
+
import "./index433.js";
|
|
24
|
+
import { useEffect as te, useMemo as ne, useRef as re, useState as m } from "react";
|
|
25
|
+
import { jsx as h, jsxs as g } from "@emotion/react/jsx-runtime";
|
|
26
|
+
import { toast as _ } from "react-hot-toast";
|
|
27
|
+
import { useLingui as v } from "@lingui/react";
|
|
14
28
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js
|
|
15
|
-
var
|
|
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
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
29
|
+
var y = (e) => /* @__PURE__ */ h(c, { children: /* @__PURE__ */ h(b, { ...e }) }), b = ({ pageTitleComponent: c, enableGLCodes: y, initialView: b, initialCounterpartId: x, onSaved: S, onCanceled: C, onSubmitted: w, onRejected: T, onApproved: ie, onReopened: ae, onDeleted: oe, onPay: se }) => {
|
|
30
|
+
let { i18n: E } = v(), { api: D, queryClient: O, theme: k } = r(), { componentSettings: A } = o(), { handleSaved: j, handleCanceled: M, handleSubmitted: N, handleRejected: P, handleApproved: F, handleReopened: I, handleDeleted: L, handlePay: R } = u({
|
|
31
|
+
onSaved: S,
|
|
32
|
+
onCanceled: C,
|
|
33
|
+
onSubmitted: w,
|
|
34
|
+
onRejected: T,
|
|
35
|
+
onApproved: ie,
|
|
36
|
+
onReopened: ae,
|
|
37
|
+
onDeleted: oe,
|
|
38
|
+
onPay: se
|
|
39
|
+
}), [z, B] = m({
|
|
40
|
+
invoiceId: void 0,
|
|
41
|
+
open: !1,
|
|
42
|
+
shouldOpenEditMode: !1
|
|
43
|
+
}), V = () => {
|
|
44
|
+
B((e) => ({
|
|
45
|
+
...e,
|
|
46
|
+
open: !1,
|
|
47
|
+
shouldOpenEditMode: !1,
|
|
48
|
+
invoiceId: void 0
|
|
49
|
+
}));
|
|
50
|
+
}, [ce, H] = m(!1), [U, W] = m(void 0), G = re(!1), K = () => {
|
|
51
|
+
H(!1), W(void 0);
|
|
52
|
+
}, { FileInput: le, openFileInput: ue, checkFileError: de } = a(), q = D.finops.postPayablesUploadFromFile.useMutation({}, {
|
|
53
|
+
onSuccess: () => D.finops.getPayables.invalidateQueries(O),
|
|
54
|
+
onError: () => {}
|
|
55
|
+
}), J = (e) => {
|
|
56
|
+
let n = e instanceof File ? [e] : Array.from(e);
|
|
57
|
+
if (n.length > 10) {
|
|
58
|
+
_.error(E._("You can only upload up to {fileCount} files at a time", { fileCount: 10 }));
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
n.forEach((e) => {
|
|
62
|
+
let n = de(e);
|
|
63
|
+
if (n) {
|
|
64
|
+
_.error(n);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
_.promise(q.mutateAsync({ file: e }), {
|
|
68
|
+
loading: E._("Uploading {fileName}", { fileName: e.name }),
|
|
69
|
+
success: E._("Payable {fileName} uploaded successfully", { fileName: e.name }),
|
|
70
|
+
error: (e) => t(E, e)
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}, Y = ee(), X = Y.has(e.PayableWriteOrg), Z = Y.has(e.PayableReadOrg);
|
|
74
|
+
te(() => {
|
|
75
|
+
G.current || b === "create" && X && (G.current = !0, W(x), H(!0));
|
|
76
|
+
}, [
|
|
77
|
+
b,
|
|
78
|
+
X,
|
|
79
|
+
x
|
|
80
|
+
]);
|
|
81
|
+
let { root: Q } = i(), $ = y ?? A?.payables?.enableGLCodes ?? !1, fe = ne(() => n(k.components?.styles?.payables?.button), [k.components?.styles?.payables?.button]);
|
|
82
|
+
return /* @__PURE__ */ g("div", {
|
|
83
|
+
className: "Monite-Payables",
|
|
84
|
+
style: fe,
|
|
85
|
+
children: [
|
|
86
|
+
c(/* @__PURE__ */ h(p, {
|
|
87
|
+
isCreateAllowed: X,
|
|
88
|
+
onCreateInvoice: () => {
|
|
89
|
+
W(void 0), H(!0);
|
|
90
|
+
},
|
|
91
|
+
handleFileUpload: J
|
|
92
|
+
})),
|
|
93
|
+
!Z && /* @__PURE__ */ h(l, {}),
|
|
94
|
+
Z && /* @__PURE__ */ h(f, {
|
|
95
|
+
initialCounterpartId: b === "create" ? void 0 : x,
|
|
96
|
+
onRowClick: (e) => B({
|
|
97
|
+
open: !0,
|
|
98
|
+
invoiceId: e
|
|
99
|
+
}),
|
|
100
|
+
onPay: R,
|
|
101
|
+
onApproved: F,
|
|
102
|
+
onCanceled: M,
|
|
103
|
+
onSubmitted: N,
|
|
104
|
+
openFileInput: ue,
|
|
105
|
+
setIsCreateInvoiceDialogOpen: H,
|
|
106
|
+
openEditDialog: (e) => B({
|
|
107
|
+
open: !0,
|
|
108
|
+
invoiceId: e,
|
|
109
|
+
shouldOpenEditMode: !0
|
|
110
|
+
})
|
|
111
|
+
}),
|
|
112
|
+
/* @__PURE__ */ h(le, {
|
|
113
|
+
"aria-label": E._("Upload payable files"),
|
|
114
|
+
multiple: !0,
|
|
115
|
+
onChange: (e) => {
|
|
116
|
+
let t = e.target.files;
|
|
117
|
+
t && J(t);
|
|
118
|
+
}
|
|
119
|
+
}),
|
|
120
|
+
/* @__PURE__ */ h(s, {
|
|
121
|
+
className: "Monite-Payables-Header-Dialog-PayableDetails",
|
|
122
|
+
open: z.open,
|
|
123
|
+
container: Q,
|
|
124
|
+
onClose: V,
|
|
125
|
+
onClosed: V,
|
|
126
|
+
fullScreen: !0,
|
|
127
|
+
children: /* @__PURE__ */ h(d, {
|
|
128
|
+
id: z.invoiceId,
|
|
129
|
+
shouldOpenInEditMode: z.shouldOpenEditMode,
|
|
130
|
+
enableGLCodes: $,
|
|
131
|
+
onClose: V,
|
|
132
|
+
onSaved: j,
|
|
133
|
+
onCanceled: M,
|
|
134
|
+
onSubmitted: N,
|
|
135
|
+
onRejected: P,
|
|
136
|
+
onApproved: F,
|
|
137
|
+
onReopened: I,
|
|
138
|
+
onDeleted: (e) => {
|
|
139
|
+
L?.(e), V(), _(E._("Bill #{payableId} has been deleted", { payableId: e }), { duration: 5e3 });
|
|
140
|
+
},
|
|
141
|
+
onPay: R
|
|
142
|
+
})
|
|
143
|
+
}),
|
|
144
|
+
/* @__PURE__ */ h(s, {
|
|
145
|
+
className: "Monite-Payables-Header-Dialog-CreatePayable",
|
|
146
|
+
open: ce,
|
|
147
|
+
container: Q,
|
|
148
|
+
onClose: K,
|
|
149
|
+
fullScreen: !0,
|
|
150
|
+
children: /* @__PURE__ */ h(d, {
|
|
151
|
+
shouldOpenInEditMode: !0,
|
|
152
|
+
initialCounterpartId: U,
|
|
153
|
+
enableGLCodes: $,
|
|
154
|
+
onClose: K,
|
|
155
|
+
onSaved: (e) => {
|
|
156
|
+
B({
|
|
157
|
+
open: !0,
|
|
158
|
+
invoiceId: e
|
|
159
|
+
}), K(), j?.(e);
|
|
160
|
+
}
|
|
161
|
+
})
|
|
162
|
+
})
|
|
163
|
+
]
|
|
164
|
+
});
|
|
165
|
+
};
|
|
60
166
|
//#endregion
|
|
61
|
-
export {
|
|
167
|
+
export { y as Payables };
|
|
@@ -1,40 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
className: e("ttw:inline-flex ttw:items-center ttw:gap-1", c({ variant: s }), l),
|
|
28
|
-
dotClassName: c({ dotVariant: s }),
|
|
29
|
-
showBadgeBackground: u,
|
|
30
|
-
showDotBorder: !u,
|
|
31
|
-
dotSize: f,
|
|
32
|
-
showDot: !1,
|
|
33
|
-
children: [d && /* @__PURE__ */ i(h, {
|
|
34
|
-
className: "ttw:size-3",
|
|
35
|
-
"aria-hidden": !0
|
|
36
|
-
}), n(m, s)]
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
//#endregion
|
|
40
|
-
export { l as InvoiceRecurrenceStatusChip };
|
|
1
|
+
import "./index113.js";
|
|
2
|
+
import "./index350.js";
|
|
3
|
+
import "./index351.js";
|
|
4
|
+
import "./index352.js";
|
|
5
|
+
import "./index353.js";
|
|
6
|
+
import "./index354.js";
|
|
7
|
+
import "./index355.js";
|
|
8
|
+
import "./index356.js";
|
|
9
|
+
import "./index357.js";
|
|
10
|
+
import "./index358.js";
|
|
11
|
+
import "./index359.js";
|
|
12
|
+
import "./index360.js";
|
|
13
|
+
import "./index361.js";
|
|
14
|
+
import "./index362.js";
|
|
15
|
+
import "./index363.js";
|
|
16
|
+
import "./index364.js";
|
|
17
|
+
import "./index365.js";
|
|
18
|
+
import "./index366.js";
|
|
19
|
+
import "./index367.js";
|
|
20
|
+
import "./index368.js";
|
|
21
|
+
import "./index369.js";
|
|
22
|
+
import "./index416.js";
|
|
23
|
+
import "./index429.js";
|
|
24
|
+
import "./index417.js";
|
|
25
|
+
import "./index430.js";
|
|
26
|
+
import "./index434.js";
|
|
@@ -1,156 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { useLingui as g } from "@lingui/react";
|
|
1
|
+
import { CounterpartNameCellById as e } from "./index234.js";
|
|
2
|
+
import "./index331.js";
|
|
3
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
5
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, v = [
|
|
11
|
-
{
|
|
12
|
-
id: "date_due_date",
|
|
13
|
-
label: "Due date",
|
|
14
|
-
field: "due_date"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: "date_created_at",
|
|
18
|
-
label: "Created on",
|
|
19
|
-
field: "created_at"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
id: "date_issue_date",
|
|
23
|
-
label: "Issue date",
|
|
24
|
-
field: "issue_date"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: "status",
|
|
28
|
-
label: "Status",
|
|
29
|
-
field: void 0
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
id: "amount",
|
|
33
|
-
label: "Amount",
|
|
34
|
-
field: void 0
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: "customer",
|
|
38
|
-
label: "Customer",
|
|
39
|
-
field: void 0
|
|
40
|
-
}
|
|
41
|
-
], y = {
|
|
42
|
-
date_due_date: "ttw:w-auto",
|
|
43
|
-
date_created_at: "ttw:w-auto",
|
|
44
|
-
date_issue_date: "ttw:w-auto",
|
|
45
|
-
status: "ttw:w-56",
|
|
46
|
-
amount: "ttw:w-64",
|
|
47
|
-
customer: "ttw:w-64"
|
|
48
|
-
};
|
|
49
|
-
function b(b) {
|
|
50
|
-
let { i18n: x } = g(), S = d(), C = S.isMenuOpen || !!S.activePanelId, w = S.activePanelId && y[S.activePanelId] || "ttw:w-52", T = b.allPresets.map((e) => ({
|
|
51
|
-
value: e.value,
|
|
52
|
-
label: e.label,
|
|
53
|
-
group: e.group
|
|
54
|
-
})), E = (e) => {
|
|
55
|
-
e || (S.closeMenu(), S.closePanel());
|
|
56
|
-
}, D = (e) => {
|
|
57
|
-
S.openPanel(e);
|
|
58
|
-
};
|
|
59
|
-
return /* @__PURE__ */ m(n, {
|
|
60
|
-
className: "ttw:pl-4",
|
|
61
|
-
searchSlot: /* @__PURE__ */ m(u, {
|
|
62
|
-
value: b.searchValue,
|
|
63
|
-
onChange: (e) => b.onSearchChange(e.target.value),
|
|
64
|
-
placeholder: "Search by number or customer...",
|
|
65
|
-
className: "ttw:min-w-64"
|
|
66
|
-
}),
|
|
67
|
-
menuSlot: /* @__PURE__ */ h(s, {
|
|
68
|
-
open: C,
|
|
69
|
-
onOpenChange: E,
|
|
70
|
-
children: [/* @__PURE__ */ m(l, {
|
|
71
|
-
asChild: !0,
|
|
72
|
-
children: /* @__PURE__ */ m(r, {
|
|
73
|
-
activeCount: b.activeFilterCount,
|
|
74
|
-
onClick: S.toggleMenu
|
|
75
|
-
})
|
|
76
|
-
}), /* @__PURE__ */ h(c, {
|
|
77
|
-
align: "start",
|
|
78
|
-
className: `ttw:p-0 ${w}`,
|
|
79
|
-
children: [
|
|
80
|
-
S.isMenuOpen && /* @__PURE__ */ m("div", {
|
|
81
|
-
className: "ttw:p-1",
|
|
82
|
-
children: v.map((e) => /* @__PURE__ */ h("button", {
|
|
83
|
-
type: "button",
|
|
84
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:w-full ttw:px-2 ttw:py-1.5 ttw:rounded-md ttw:text-xs ttw:font-medium ttw:hover:bg-accent ttw:transition-colors ttw:cursor-pointer",
|
|
85
|
-
onClick: () => D(e.id),
|
|
86
|
-
children: [/* @__PURE__ */ m(f, { className: "ttw:size-4 ttw:text-muted-foreground ttw:shrink-0" }), e.label]
|
|
87
|
-
}, e.id))
|
|
88
|
-
}),
|
|
89
|
-
v.filter((e) => e.field !== void 0).map((e) => S.activePanelId === e.id && e.field && /* @__PURE__ */ m(t, {
|
|
90
|
-
from: b.activeDateFields[e.field]?.from,
|
|
91
|
-
to: b.activeDateFields[e.field]?.to,
|
|
92
|
-
onRangeChange: (t) => b.onDateFieldRangeChange(e.field, t),
|
|
93
|
-
selectedPreset: b.activeDateFields[e.field]?.preset,
|
|
94
|
-
onPresetChange: (t) => b.onDateFieldPresetChange(e.field, t),
|
|
95
|
-
presets: T,
|
|
96
|
-
labels: { fieldLabel: _[e.field] }
|
|
97
|
-
}, e.id)),
|
|
98
|
-
S.activePanelId === "status" && /* @__PURE__ */ m(o, {
|
|
99
|
-
options: b.statusOptions,
|
|
100
|
-
selectedValues: b.selectedStatus,
|
|
101
|
-
onSelectionChange: b.onStatusChange
|
|
102
|
-
}),
|
|
103
|
-
S.activePanelId === "amount" && /* @__PURE__ */ m(e, {
|
|
104
|
-
mode: b.amountMode,
|
|
105
|
-
onModeChange: b.onAmountModeChange,
|
|
106
|
-
min: b.amountMin,
|
|
107
|
-
max: b.amountMax,
|
|
108
|
-
onMinChange: b.onAmountMinChange,
|
|
109
|
-
onMaxChange: b.onAmountMaxChange,
|
|
110
|
-
showFlowDirection: !1,
|
|
111
|
-
labels: {
|
|
112
|
-
min: "No less than",
|
|
113
|
-
max: "No more than"
|
|
114
|
-
}
|
|
115
|
-
}),
|
|
116
|
-
S.activePanelId === "customer" && /* @__PURE__ */ h("div", {
|
|
117
|
-
className: "ttw:p-3 ttw:flex ttw:flex-col ttw:gap-2",
|
|
118
|
-
children: [
|
|
119
|
-
/* @__PURE__ */ m("p", {
|
|
120
|
-
className: "ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
|
|
121
|
-
children: "Customer name"
|
|
122
|
-
}),
|
|
123
|
-
/* @__PURE__ */ m(a, {
|
|
124
|
-
type: "text",
|
|
125
|
-
value: b.customerName,
|
|
126
|
-
onChange: (e) => b.onCustomerNameChange(e.target.value),
|
|
127
|
-
placeholder: "Search customers...",
|
|
128
|
-
className: "ttw:h-8 ttw:text-xs"
|
|
129
|
-
}),
|
|
130
|
-
/* @__PURE__ */ m("p", {
|
|
131
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
132
|
-
children: x._("Matches names containing your search")
|
|
133
|
-
})
|
|
134
|
-
]
|
|
135
|
-
})
|
|
136
|
-
]
|
|
137
|
-
})]
|
|
138
|
-
}),
|
|
139
|
-
activeChipsSlot: /* @__PURE__ */ h(p, { children: [b.activeChips.map((e) => /* @__PURE__ */ m(i, {
|
|
140
|
-
label: e.label,
|
|
141
|
-
count: e.count,
|
|
142
|
-
variant: "default",
|
|
143
|
-
onLabelClick: e.key === "date" ? () => {
|
|
144
|
-
S.openPanel("date");
|
|
145
|
-
} : void 0,
|
|
146
|
-
onDismiss: () => b.onDismissChip(e.key)
|
|
147
|
-
}, e.key)), b.activeFilterCount > 0 && /* @__PURE__ */ m("button", {
|
|
148
|
-
type: "button",
|
|
149
|
-
className: "ttw:text-xs ttw:text-muted-foreground ttw:hover:text-foreground ttw:transition-colors ttw:cursor-pointer ttw:whitespace-nowrap",
|
|
150
|
-
onClick: b.onClearAll,
|
|
151
|
-
children: "Clear all"
|
|
152
|
-
})] })
|
|
153
|
-
});
|
|
154
|
-
}
|
|
5
|
+
var n = ({ counterpartName: n, counterpartId: r }) => n ? /* @__PURE__ */ t("span", { children: n }) : r ? /* @__PURE__ */ t(e, { counterpartId: r }) : /* @__PURE__ */ t("span", {
|
|
6
|
+
style: { opacity: .4 },
|
|
7
|
+
children: "-"
|
|
8
|
+
});
|
|
155
9
|
//#endregion
|
|
156
|
-
export {
|
|
10
|
+
export { n as InvoicesCounterpartCell };
|