@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,16 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { useIsMounted as e } from "./index28.js";
|
|
2
|
+
import "./index189.js";
|
|
3
|
+
import { useEffect as t, useRef as n } from "react";
|
|
3
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})
|
|
14
|
-
|
|
5
|
+
var r = (r, i = 50) => {
|
|
6
|
+
let a = n(r), o = n(void 0), s = n(void 0), c = e();
|
|
7
|
+
a.current = r;
|
|
8
|
+
let l = (e) => {
|
|
9
|
+
!e || typeof window > "u" || (s.current && s.current.disconnect(), s.current = new ResizeObserver(() => {
|
|
10
|
+
o.current && clearTimeout(o.current), o.current = setTimeout(() => {
|
|
11
|
+
c.current && a.current();
|
|
12
|
+
}, i);
|
|
13
|
+
}), s.current.observe(e));
|
|
14
|
+
}, u = () => {
|
|
15
|
+
s.current && s.current.disconnect(), o.current && clearTimeout(o.current);
|
|
16
|
+
};
|
|
17
|
+
return t(() => () => {
|
|
18
|
+
u();
|
|
19
|
+
}, []), {
|
|
20
|
+
observe: l,
|
|
21
|
+
disconnect: u
|
|
22
|
+
};
|
|
23
|
+
};
|
|
15
24
|
//#endregion
|
|
16
|
-
export {
|
|
25
|
+
export { r as useResizeObserver };
|
|
@@ -1,44 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { useAdaptiveScale as r } from "./index493.js";
|
|
5
|
-
import { AspectRatio as i } from "./index494.js";
|
|
6
|
-
import { useRef as a } from "react";
|
|
7
|
-
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { useIsMounted as e } from "./index28.js";
|
|
2
|
+
import "./index189.js";
|
|
3
|
+
import { useEffect as t, useRef as n } from "react";
|
|
8
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js
|
|
9
|
-
var
|
|
10
|
-
let
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
measureUnits: h?.data || []
|
|
23
|
-
};
|
|
24
|
-
return /* @__PURE__ */ o("div", {
|
|
25
|
-
ref: p,
|
|
26
|
-
className: e("ttw:flex ttw:overflow-auto ttw:relative", "ttw:w-full ttw:h-full ttw:min-h-0", "ttw:p-12", "ttw:bg-gradient-to-br ttw:from-slate-50 ttw:to-slate-200", "ttw:[transform:translateZ(0)]"),
|
|
27
|
-
style: {
|
|
28
|
-
justifyContent: "safe center",
|
|
29
|
-
alignItems: "safe center"
|
|
30
|
-
},
|
|
31
|
-
children: /* @__PURE__ */ o(i, {
|
|
32
|
-
ratio: 21 / 29.7,
|
|
33
|
-
className: e("ttw:max-w-[21cm]", "ttw:min-w-[794px] ttw:min-h-[1123px]", "ttw:transition-transform ttw:duration-200 ttw:ease-in-out", "motion-reduce:ttw:transition-none", "ttw:origin-center", "ttw:shrink-0", "ttw:[contain:\"layout style\"]"),
|
|
34
|
-
style: { transform: `scale(${g})` },
|
|
35
|
-
children: /* @__PURE__ */ o("div", {
|
|
36
|
-
ref: m,
|
|
37
|
-
className: e("ttw:w-full ttw:h-full", "ttw:bg-white ttw:shrink-0", "ttw:shadow-md", "ttw:overflow-hidden"),
|
|
38
|
-
children: /* @__PURE__ */ o(n, { ..._ })
|
|
39
|
-
})
|
|
40
|
-
})
|
|
41
|
-
});
|
|
5
|
+
var r = (r, i = 100) => {
|
|
6
|
+
let a = n(r), o = n(void 0), s = e();
|
|
7
|
+
a.current = r, t(() => {
|
|
8
|
+
if (typeof window > "u") return;
|
|
9
|
+
let e = () => {
|
|
10
|
+
o.current && clearTimeout(o.current), o.current = setTimeout(() => {
|
|
11
|
+
s.current && a.current();
|
|
12
|
+
}, i);
|
|
13
|
+
};
|
|
14
|
+
return window.addEventListener("resize", e), () => {
|
|
15
|
+
window.removeEventListener("resize", e), o.current && clearTimeout(o.current);
|
|
16
|
+
};
|
|
17
|
+
}, [i, s]);
|
|
42
18
|
};
|
|
43
19
|
//#endregion
|
|
44
|
-
export {
|
|
20
|
+
export { r as useWindowResize };
|
|
@@ -1,148 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../shared/data-access/dist/index.js";
|
|
3
|
-
import { useMoniteContext as t } from "./index47.js";
|
|
4
|
-
import { useCounterpartById as n } from "./index48.js";
|
|
5
|
-
import { Button as r } from "./index56.js";
|
|
6
|
-
import { useCounterpartAddresses as i } from "./index126.js";
|
|
7
|
-
import { useMyEntity as a } from "./index133.js";
|
|
8
|
-
import "./index138.js";
|
|
9
|
-
import { Dialog as o, DialogContent as s, DialogDescription as c, DialogFooter as l, DialogHeader as u, DialogTitle as d } from "./index58.js";
|
|
10
|
-
import { ConfirmationModal as f } from "./index59.js";
|
|
11
|
-
import "./index60.js";
|
|
12
|
-
import { useUserPermissions as p } from "./index112.js";
|
|
13
|
-
import { buildInvoicePreviewData as ee } from "./index221.js";
|
|
14
|
-
import "./index226.js";
|
|
15
|
-
import { LoadingPage as te } from "./index249.js";
|
|
16
|
-
import "./index250.js";
|
|
17
|
-
import { CustomerSection as ne } from "./index450.js";
|
|
18
|
-
import { BillingSection as re } from "./index460.js";
|
|
19
|
-
import { ItemsSection as ie } from "./index483.js";
|
|
20
|
-
import { BankAccountSection as m } from "./index485.js";
|
|
21
|
-
import { NotesSection as h } from "./index486.js";
|
|
22
|
-
import { AttachmentSection as g } from "./index487.js";
|
|
23
|
-
import { InvoicePreview as _ } from "./index495.js";
|
|
24
|
-
import { useMemo as v, useState as y } from "react";
|
|
25
|
-
import { X as b } from "lucide-react";
|
|
26
|
-
import { Fragment as x, jsx as S, jsxs as C } from "@emotion/react/jsx-runtime";
|
|
27
|
-
import { useLingui as w } from "@lingui/react";
|
|
28
|
-
import { FormProvider as T } from "react-hook-form";
|
|
1
|
+
import { useEffect as e, useState as t } from "react";
|
|
29
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js
|
|
30
|
-
var
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
isEditCustomerOpen: le,
|
|
82
|
-
handleOpenEditCustomer: ue,
|
|
83
|
-
counterpart: Q
|
|
84
|
-
}),
|
|
85
|
-
/* @__PURE__ */ S(re, {
|
|
86
|
-
paymentTerms: J,
|
|
87
|
-
isPaymentTermsLoading: oe,
|
|
88
|
-
disabled: B,
|
|
89
|
-
showPurchaseOrder: N,
|
|
90
|
-
lockRecurrenceSchedule: P
|
|
91
|
-
}),
|
|
92
|
-
/* @__PURE__ */ S(ie, {
|
|
93
|
-
registerLineItemCleanupFn: R,
|
|
94
|
-
defaultCurrency: j
|
|
95
|
-
}),
|
|
96
|
-
q && /* @__PURE__ */ S(m, {
|
|
97
|
-
disabled: B,
|
|
98
|
-
embeddedBankName: M
|
|
99
|
-
}),
|
|
100
|
-
/* @__PURE__ */ S(h, { disabled: B }),
|
|
101
|
-
/* @__PURE__ */ S(g, {
|
|
102
|
-
disabled: B,
|
|
103
|
-
onUploadingChange: z
|
|
104
|
-
})
|
|
105
|
-
]
|
|
106
|
-
})
|
|
107
|
-
})
|
|
108
|
-
}), /* @__PURE__ */ S(l, {
|
|
109
|
-
className: "ttw:sticky ttw:bottom-0 ttw:z-10 ttw:flex ttw:items-center ttw:justify-end ttw:gap-4 ttw:bg-background ttw:pt-3 ttw:px-6 ttw:pb-6",
|
|
110
|
-
children: V
|
|
111
|
-
})]
|
|
112
|
-
}), /* @__PURE__ */ S("div", {
|
|
113
|
-
className: "ttw:w-1/2 ttw:h-full ttw:min-h-0 ttw:overflow-auto",
|
|
114
|
-
style: { background: "linear-gradient(180deg, #F6F6F6 0%, #E4E4FF 100%)" },
|
|
115
|
-
children: /* @__PURE__ */ S(_, {
|
|
116
|
-
invoiceData: ee({
|
|
117
|
-
lineItems: fe,
|
|
118
|
-
paymentTermsId: pe,
|
|
119
|
-
paymentTermsCustomDate: me,
|
|
120
|
-
memo: he,
|
|
121
|
-
footer: ge,
|
|
122
|
-
bankAccountId: be,
|
|
123
|
-
bankAccountType: xe,
|
|
124
|
-
taxMode: _e,
|
|
125
|
-
purchaseOrder: ve,
|
|
126
|
-
taxRate: ye
|
|
127
|
-
}),
|
|
128
|
-
counterpart: Q,
|
|
129
|
-
currency: j,
|
|
130
|
-
entityData: ce,
|
|
131
|
-
address: de,
|
|
132
|
-
paymentTerms: J
|
|
133
|
-
})
|
|
134
|
-
})]
|
|
135
|
-
})]
|
|
136
|
-
})
|
|
137
|
-
}), /* @__PURE__ */ S(f, {
|
|
138
|
-
open: H.open,
|
|
139
|
-
title: U._("You have unsaved changes"),
|
|
140
|
-
message: U._("Any unsaved changes will be lost. Are you sure you want to quit without saving?"),
|
|
141
|
-
confirmLabel: U._("Quit without saving"),
|
|
142
|
-
cancelLabel: U._("Cancel"),
|
|
143
|
-
onClose: () => H.onOpenChange(!1),
|
|
144
|
-
onConfirm: H.onConfirm
|
|
145
|
-
})] });
|
|
3
|
+
var n = {
|
|
4
|
+
mm: {
|
|
5
|
+
width: 210,
|
|
6
|
+
height: 297
|
|
7
|
+
},
|
|
8
|
+
cm: {
|
|
9
|
+
width: 21,
|
|
10
|
+
height: 29.7
|
|
11
|
+
},
|
|
12
|
+
inches: {
|
|
13
|
+
width: 8.27,
|
|
14
|
+
height: 11.69
|
|
15
|
+
}
|
|
16
|
+
}, r = () => {
|
|
17
|
+
let [r, i] = t({
|
|
18
|
+
width: 794,
|
|
19
|
+
height: 1123,
|
|
20
|
+
dpi: 96
|
|
21
|
+
});
|
|
22
|
+
return e(() => {
|
|
23
|
+
if (typeof window > "u") return;
|
|
24
|
+
let e = () => {
|
|
25
|
+
let e = [
|
|
26
|
+
72,
|
|
27
|
+
96,
|
|
28
|
+
120,
|
|
29
|
+
144,
|
|
30
|
+
192,
|
|
31
|
+
240,
|
|
32
|
+
288,
|
|
33
|
+
384
|
|
34
|
+
], t = 96;
|
|
35
|
+
for (let n of e) if (window.matchMedia(`(resolution: ${n}dpi)`).matches) {
|
|
36
|
+
t = n;
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
let r = window.devicePixelRatio || 1, a = t * r, o = document.createElement("div");
|
|
40
|
+
o.style.width = "1in", o.style.height = "1in", o.style.position = "absolute", o.style.left = "-9999px", document.body.appendChild(o);
|
|
41
|
+
let s = o.getBoundingClientRect(), c = Math.round(s.width);
|
|
42
|
+
document.body.removeChild(o);
|
|
43
|
+
let l = c > 0 ? c : a, u = Math.round(n.inches.width * l), d = Math.round(n.inches.height * l);
|
|
44
|
+
i({
|
|
45
|
+
width: u,
|
|
46
|
+
height: d,
|
|
47
|
+
dpi: l
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
return e(), window.addEventListener("resize", e), () => {
|
|
51
|
+
window.removeEventListener("resize", e);
|
|
52
|
+
};
|
|
53
|
+
}, []), r;
|
|
146
54
|
};
|
|
147
55
|
//#endregion
|
|
148
|
-
export {
|
|
56
|
+
export { r as useA4Dimensions };
|
|
@@ -1,116 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { useUserPermissions as o } from "./index112.js";
|
|
8
|
-
import { AccessRestriction as s } from "./index236.js";
|
|
9
|
-
import { useReceivableSubmit as c } from "./index448.js";
|
|
10
|
-
import { ReceivableFormLayout as l } from "./index496.js";
|
|
11
|
-
import { useCallback as u, useMemo as d, useRef as f } from "react";
|
|
12
|
-
import { Fragment as p, jsx as m, jsxs as h } from "@emotion/react/jsx-runtime";
|
|
13
|
-
import { useLingui as g } from "@lingui/react";
|
|
14
|
-
import { useForm as _ } from "react-hook-form";
|
|
15
|
-
import { zodResolver as v } from "@hookform/resolvers/zod";
|
|
1
|
+
import { useIsMounted as e } from "./index28.js";
|
|
2
|
+
import "./index189.js";
|
|
3
|
+
import { useResizeObserver as t } from "./index494.js";
|
|
4
|
+
import { useWindowResize as n } from "./index495.js";
|
|
5
|
+
import { useA4Dimensions as r } from "./index496.js";
|
|
6
|
+
import { useCallback as i, useEffect as a, useRef as o, useState as s } from "react";
|
|
16
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js
|
|
17
|
-
var
|
|
18
|
-
let {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
8
|
+
var c = (c, l, u = {}) => {
|
|
9
|
+
let { minWidth: d, minHeight: f, containerPadding: p = 96, minScale: m = 1, initialDelay: h = 100, useAdaptiveDimensions: g = !0 } = u, [_, v] = s(1), y = o(!1), b = e(), x = r(), S = d ?? (g ? x.width : 794), C = f ?? (g ? x.height : 1123), w = i(() => {
|
|
10
|
+
if (!c.current || !l.current || typeof window > "u" || !b.current) return;
|
|
11
|
+
let e = c.current, t = e.clientWidth - p, n = e.clientHeight - p;
|
|
12
|
+
if (t <= 0 || n <= 0 || S <= 0 || C <= 0) {
|
|
13
|
+
v(m);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
let r = t / S, i = n / C;
|
|
17
|
+
v(Math.max(Math.min(r, i), m));
|
|
18
|
+
}, [
|
|
19
|
+
c,
|
|
20
|
+
l,
|
|
21
|
+
b,
|
|
22
|
+
p,
|
|
23
|
+
S,
|
|
24
|
+
C,
|
|
25
|
+
m
|
|
26
|
+
]);
|
|
27
|
+
n(w, 100);
|
|
28
|
+
let { observe: T, disconnect: E } = t(w, 50);
|
|
29
|
+
return a(() => {
|
|
30
|
+
if (typeof window > "u") return;
|
|
31
|
+
let e = setTimeout(() => {
|
|
32
|
+
w(), y.current = !0;
|
|
33
|
+
}, h);
|
|
34
|
+
return c.current && T(c.current), () => {
|
|
35
|
+
clearTimeout(e), E();
|
|
36
|
+
};
|
|
37
|
+
}, [
|
|
38
|
+
T,
|
|
39
|
+
E,
|
|
40
|
+
h,
|
|
22
41
|
w,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
resolver: j,
|
|
28
|
-
defaultValues: d(() => ({
|
|
29
|
-
type: r,
|
|
30
|
-
counterpart_id: C ?? "",
|
|
31
|
-
counterpart_name: "",
|
|
32
|
-
counterpart_email: "",
|
|
33
|
-
payment_terms_id: "",
|
|
34
|
-
payment_terms_custom_date: null,
|
|
35
|
-
default_shipping_address_id: "",
|
|
36
|
-
default_billing_address_id: "",
|
|
37
|
-
purchase_order: "",
|
|
38
|
-
line_items: [],
|
|
39
|
-
bank_account_id: "",
|
|
40
|
-
overdue_reminder_id: "",
|
|
41
|
-
payment_reminder_id: "",
|
|
42
|
-
memo: "",
|
|
43
|
-
footer: "",
|
|
44
|
-
tax_mode: "exclusive",
|
|
45
|
-
frequency: "once",
|
|
46
|
-
recurrence_start_date: void 0,
|
|
47
|
-
recurrence_end_date: void 0,
|
|
48
|
-
recurrence_issue_mode: "first_day",
|
|
49
|
-
recurrence_days_of_week: void 0,
|
|
50
|
-
recurrence_end_mode: "after",
|
|
51
|
-
recurrence_max_occurrences: void 0,
|
|
52
|
-
tax_rate: void 0,
|
|
53
|
-
attachments: []
|
|
54
|
-
}), [r, C])
|
|
55
|
-
}), N = c({
|
|
56
|
-
mode: "create",
|
|
57
|
-
methods: M,
|
|
58
|
-
currency: b,
|
|
59
|
-
submitModeRef: O,
|
|
60
|
-
onComplete: (e) => s?.(e.receivableId, {
|
|
61
|
-
mode: e.mode,
|
|
62
|
-
counterpartId: e.counterpartId,
|
|
63
|
-
inlineLineItems: e.inlineLineItems,
|
|
64
|
-
hasCustomerEmail: e.hasCustomerEmail
|
|
65
|
-
}),
|
|
66
|
-
onClose: () => x(!1)
|
|
67
|
-
});
|
|
68
|
-
return /* @__PURE__ */ m(l, {
|
|
69
|
-
open: y,
|
|
70
|
-
onRequestClose: N.requestClose,
|
|
71
|
-
methods: M,
|
|
72
|
-
title: w._("Create invoice"),
|
|
73
|
-
description: w._("Create and issue an invoice to your customers "),
|
|
74
|
-
currency: b,
|
|
75
|
-
embeddedBankName: S,
|
|
76
|
-
showPurchaseOrder: !0,
|
|
77
|
-
formName: N.formName,
|
|
78
|
-
onSubmit: N.onSubmit,
|
|
79
|
-
formScrollRef: N.formScrollRef,
|
|
80
|
-
registerLineItemCleanupFn: N.registerLineItemCleanupFn,
|
|
81
|
-
onAttachmentsUploadingChange: N.onAttachmentsUploadingChange,
|
|
82
|
-
disabled: N.isLoading,
|
|
83
|
-
closeDisabled: N.isSaving,
|
|
84
|
-
discardModal: N.discardModal,
|
|
85
|
-
footer: /* @__PURE__ */ h(p, { children: [
|
|
86
|
-
/* @__PURE__ */ m(n, {
|
|
87
|
-
variant: "outline",
|
|
88
|
-
className: "ttw:border-border",
|
|
89
|
-
onClick: N.requestClose,
|
|
90
|
-
disabled: N.isSaving || N.attachmentsUploading,
|
|
91
|
-
children: w._("Cancel")
|
|
92
|
-
}),
|
|
93
|
-
!N.isRecurrenceEnabled && /* @__PURE__ */ m(n, {
|
|
94
|
-
variant: "secondary",
|
|
95
|
-
type: "submit",
|
|
96
|
-
form: N.formName,
|
|
97
|
-
disabled: N.isLoading || N.attachmentsUploading,
|
|
98
|
-
onClick: () => {
|
|
99
|
-
N.submitModeRef.current = "draft";
|
|
100
|
-
},
|
|
101
|
-
children: w._("Save as draft")
|
|
102
|
-
}),
|
|
103
|
-
/* @__PURE__ */ m(n, {
|
|
104
|
-
type: "submit",
|
|
105
|
-
form: N.formName,
|
|
106
|
-
disabled: N.isLoading || N.attachmentsUploading || N.isIssuePreflightLoading || !N.isRecurrenceEnabled && N.isCustomerEmailLoading,
|
|
107
|
-
onClick: () => {
|
|
108
|
-
N.submitModeRef.current = N.isRecurrenceEnabled ? "draft" : "issue";
|
|
109
|
-
},
|
|
110
|
-
children: N.isRecurrenceEnabled ? w._("Activate recurring billing schedule") : w._("Issue invoice")
|
|
111
|
-
}, "next")
|
|
112
|
-
] })
|
|
113
|
-
});
|
|
42
|
+
c
|
|
43
|
+
]), a(() => {
|
|
44
|
+
c.current && y.current && T(c.current);
|
|
45
|
+
}, [c, T]), _;
|
|
114
46
|
};
|
|
115
47
|
//#endregion
|
|
116
|
-
export {
|
|
48
|
+
export { c as useAdaptiveScale };
|
|
@@ -1,43 +1,16 @@
|
|
|
1
1
|
import { cn as e } from "./index49.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { ChevronDownIcon as t } from "lucide-react";
|
|
4
|
-
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
5
|
-
import * as i from "@radix-ui/react-accordion";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
6
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
function o({ className: t, ...r }) {
|
|
14
|
-
return /* @__PURE__ */ n(i.Item, {
|
|
15
|
-
"data-slot": "accordion-item",
|
|
16
|
-
className: e("ttw:border-b ttw:border-border ttw:last:border-b-0", t),
|
|
17
|
-
...r
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function s({ className: a, children: o, ...s }) {
|
|
21
|
-
return /* @__PURE__ */ n(i.Header, {
|
|
22
|
-
className: "ttw:flex",
|
|
23
|
-
children: /* @__PURE__ */ r(i.Trigger, {
|
|
24
|
-
"data-slot": "accordion-trigger",
|
|
25
|
-
className: e("ttw:group ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:flex ttw:flex-1 ttw:cursor-pointer ttw:items-start ttw:justify-between ttw:gap-4 ttw:rounded-md ttw:py-4 ttw:text-left ttw:text-sm ttw:font-medium ttw:transition-all ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:pointer-events-none ttw:disabled:opacity-50 ttw:[&[data-state=open]>svg]:rotate-180", a),
|
|
26
|
-
...s,
|
|
27
|
-
children: [o, /* @__PURE__ */ n(t, { className: "ttw:text-muted-foreground ttw:pointer-events-none ttw:size-4 ttw:shrink-0 ttw:translate-y-0.5 ttw:transition-transform ttw:duration-200" })]
|
|
28
|
-
})
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
function c({ className: t, children: r, ...a }) {
|
|
32
|
-
return /* @__PURE__ */ n(i.Content, {
|
|
33
|
-
"data-slot": "accordion-content",
|
|
34
|
-
className: "ttw:data-[state=closed]:animate-accordion-up ttw:data-[state=open]:animate-accordion-down ttw:overflow-hidden ttw:text-sm",
|
|
4
|
+
var n = ({ ratio: n, children: r, className: i, style: a, ref: o, ...s }) => /* @__PURE__ */ t("div", {
|
|
5
|
+
ref: o,
|
|
6
|
+
className: e("ttw:w-full", i),
|
|
7
|
+
style: {
|
|
35
8
|
...a,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
9
|
+
aspectRatio: n.toString()
|
|
10
|
+
},
|
|
11
|
+
...s,
|
|
12
|
+
children: r
|
|
13
|
+
});
|
|
14
|
+
n.displayName = "AspectRatio";
|
|
42
15
|
//#endregion
|
|
43
|
-
export {
|
|
16
|
+
export { n as AspectRatio };
|
|
@@ -1,35 +1,44 @@
|
|
|
1
1
|
import { cn as e } from "./index49.js";
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
2
|
+
import { useGetMeasureUnits as t } from "./index450.js";
|
|
3
|
+
import { InvoicePreviewMonite as n } from "./index493.js";
|
|
4
|
+
import { useAdaptiveScale as r } from "./index497.js";
|
|
5
|
+
import { AspectRatio as i } from "./index498.js";
|
|
6
|
+
import { useRef as a } from "react";
|
|
7
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
5
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
var s = ({ address: s, counterpart: c, currency: l, invoiceData: u, entityData: d, paymentTerms: f }) => {
|
|
10
|
+
let p = a(null), m = a(null), { data: h } = t(), g = r(p, m, {
|
|
11
|
+
containerPadding: 96,
|
|
12
|
+
minScale: 1,
|
|
13
|
+
initialDelay: 100,
|
|
14
|
+
useAdaptiveDimensions: !0
|
|
15
|
+
}), _ = {
|
|
16
|
+
address: s,
|
|
17
|
+
counterpart: c,
|
|
18
|
+
currency: l,
|
|
19
|
+
invoiceData: u,
|
|
20
|
+
entityData: d,
|
|
21
|
+
paymentTerms: f,
|
|
22
|
+
measureUnits: h?.data || []
|
|
23
|
+
};
|
|
24
|
+
return /* @__PURE__ */ o("div", {
|
|
25
|
+
ref: p,
|
|
26
|
+
className: e("ttw:flex ttw:overflow-auto ttw:relative", "ttw:w-full ttw:h-full ttw:min-h-0", "ttw:p-12", "ttw:bg-gradient-to-br ttw:from-slate-50 ttw:to-slate-200", "ttw:[transform:translateZ(0)]"),
|
|
27
|
+
style: {
|
|
28
|
+
justifyContent: "safe center",
|
|
29
|
+
alignItems: "safe center"
|
|
30
|
+
},
|
|
31
|
+
children: /* @__PURE__ */ o(i, {
|
|
32
|
+
ratio: 21 / 29.7,
|
|
33
|
+
className: e("ttw:max-w-[21cm]", "ttw:min-w-[794px] ttw:min-h-[1123px]", "ttw:transition-transform ttw:duration-200 ttw:ease-in-out", "motion-reduce:ttw:transition-none", "ttw:origin-center", "ttw:shrink-0", "ttw:[contain:\"layout style\"]"),
|
|
34
|
+
style: { transform: `scale(${g})` },
|
|
35
|
+
children: /* @__PURE__ */ o("div", {
|
|
36
|
+
ref: m,
|
|
37
|
+
className: e("ttw:w-full ttw:h-full", "ttw:bg-white ttw:shrink-0", "ttw:shadow-md", "ttw:overflow-hidden"),
|
|
38
|
+
children: /* @__PURE__ */ o(n, { ..._ })
|
|
39
|
+
})
|
|
40
|
+
})
|
|
11
41
|
});
|
|
12
|
-
}
|
|
13
|
-
function a({ ...e }) {
|
|
14
|
-
return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(r.Root, {
|
|
15
|
-
"data-slot": "tooltip",
|
|
16
|
-
...e
|
|
17
|
-
}) });
|
|
18
|
-
}
|
|
19
|
-
function o({ ...e }) {
|
|
20
|
-
return /* @__PURE__ */ t(r.Trigger, {
|
|
21
|
-
"data-slot": "tooltip-trigger",
|
|
22
|
-
...e
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function s({ className: i, sideOffset: a = 0, children: o, ...s }) {
|
|
26
|
-
return /* @__PURE__ */ t(r.Portal, { children: /* @__PURE__ */ n(r.Content, {
|
|
27
|
-
"data-slot": "tooltip-content",
|
|
28
|
-
sideOffset: a,
|
|
29
|
-
className: e("ttw:bg-primary ttw:text-primary-foreground ttw:animate-in ttw:fade-in-0 ttw:zoom-in-95 ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-fit ttw:origin-(--radix-tooltip-content-transform-origin) ttw:rounded-md ttw:px-3 ttw:py-1.5 ttw:text-xs ttw:text-balance", i),
|
|
30
|
-
...s,
|
|
31
|
-
children: [o, /* @__PURE__ */ t(r.Arrow, { className: "ttw:bg-primary ttw:fill-primary ttw:z-1300 ttw:size-2.5 ttw:translate-y-[calc(-50%_-_2px)] ttw:rotate-45 ttw:rounded-[2px]" })]
|
|
32
|
-
}) });
|
|
33
|
-
}
|
|
42
|
+
};
|
|
34
43
|
//#endregion
|
|
35
|
-
export {
|
|
44
|
+
export { s as InvoicePreview };
|