@tesouro/embedded-components-react 0.2.211 → 0.2.212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +79 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +6 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +31 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +29 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +119 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +218 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +46 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +44 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +14 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +46 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +152 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +55 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +69 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +62 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +79 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +4 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +97 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +9 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +42 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +75 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +54 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +22 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +77 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +29 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +39 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +227 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +462 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +110 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +539 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +23 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +25 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +10 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +20 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +24 -225
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +109 -462
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +66 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +11 -536
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +5 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +485 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +160 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +42 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +58 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +116 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +22 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +41 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +57 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +44 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +10 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +26 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +42 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +59 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +95 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +109 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +88 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +22 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +50 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +57 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +18 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +37 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +337 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +295 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +100 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +160 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +263 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +22 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +18 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +94 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +94 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +213 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +62 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +160 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +27 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +27 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +78 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +27 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +127 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +65 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +25 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +122 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +46 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +119 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +99 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +42 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +195 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +68 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +22 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +29 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +7 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +52 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +4 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +75 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +32 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +18 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +18 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +39 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +14 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +74 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +77 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +42 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +22 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +17 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +17 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +164 -340
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +130 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +152 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +10 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +18 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +61 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +67 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +60 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +6 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +10 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +58 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +60 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +14 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +9 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +47 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +45 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +32 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +41 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +23 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +72 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +88 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +9 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +120 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +74 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +16 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +16 -269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +3 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +32 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +31 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +4 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +125 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +92 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +34 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +31 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +33 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +65 -283
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +15 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +67 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +114 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +80 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +53 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +34 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +26 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +50 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +15 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +66 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +45 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +78 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +86 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +269 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +65 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +43 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +142 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +285 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +46 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +25 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +23 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +49 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +10 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +83 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +46 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +38 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +30 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +8 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +82 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +50 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +54 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +54 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +56 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +39 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +44 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +69 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +92 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +15 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +74 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +33 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +41 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +14 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +50 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +48 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +57 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +33 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +83 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +24 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +101 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +112 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +72 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +65 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +36 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +28 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +38 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +18 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/package.json +1 -1
|
@@ -1,65 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
case "accepted":
|
|
8
|
-
return e._("Accepted");
|
|
9
|
-
case "expired":
|
|
10
|
-
return e._("Expired");
|
|
11
|
-
case "declined":
|
|
12
|
-
return e._("Declined");
|
|
13
|
-
case "recurring":
|
|
14
|
-
return e._("Recurring");
|
|
15
|
-
case "partially_paid":
|
|
16
|
-
return e._("Partially paid");
|
|
17
|
-
case "paid":
|
|
18
|
-
return e._("Paid");
|
|
19
|
-
case "overdue":
|
|
20
|
-
return e._("Overdue");
|
|
21
|
-
case "uncollectible":
|
|
22
|
-
return e._("Uncollectible");
|
|
23
|
-
case "canceled":
|
|
24
|
-
return e._("Canceled");
|
|
25
|
-
case "deleted":
|
|
26
|
-
return e._("Deleted");
|
|
27
|
-
default:
|
|
28
|
-
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
29
|
-
}
|
|
30
|
-
}, a = (e, r) => {
|
|
31
|
-
switch (r) {
|
|
32
|
-
case "active":
|
|
33
|
-
return e._("Active");
|
|
34
|
-
case "paused":
|
|
35
|
-
return e._("Paused");
|
|
36
|
-
case "canceled":
|
|
37
|
-
return e._("Cancelled");
|
|
38
|
-
case "completed":
|
|
39
|
-
return e._("Complete");
|
|
40
|
-
default:
|
|
41
|
-
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
42
|
-
}
|
|
43
|
-
}, n = (e, r) => {
|
|
44
|
-
switch (r) {
|
|
45
|
-
case "pending":
|
|
46
|
-
return e._("Scheduled");
|
|
47
|
-
case "skipped":
|
|
48
|
-
return e._("Skipped");
|
|
49
|
-
case "canceled":
|
|
50
|
-
return e._("Cancelled");
|
|
51
|
-
case "issue_failed":
|
|
52
|
-
return e._("Issue failed");
|
|
53
|
-
case "send_failed":
|
|
54
|
-
return e._("Send failed");
|
|
55
|
-
case "completed":
|
|
56
|
-
return e._("Complete");
|
|
57
|
-
default:
|
|
58
|
-
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
59
|
-
}
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
const n = () => {
|
|
3
|
+
const {
|
|
4
|
+
api: e
|
|
5
|
+
} = s();
|
|
6
|
+
return e.finops.getMeasureUnits.useQuery();
|
|
60
7
|
};
|
|
61
8
|
export {
|
|
62
|
-
n as
|
|
63
|
-
a as getCommonRecurrenceStatusLabel,
|
|
64
|
-
t as getCommonStatusLabel
|
|
9
|
+
n as useGetMeasureUnits
|
|
65
10
|
};
|
|
@@ -1,162 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function _(t) {
|
|
11
|
-
const [e, a, r] = t.split("-");
|
|
12
|
-
return new Date(+e, +a - 1, +r);
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as i } from "./index100.js";
|
|
3
|
+
import * as e from "@radix-ui/react-radio-group";
|
|
4
|
+
import { CircleIcon as s } from "lucide-react";
|
|
5
|
+
function w({
|
|
6
|
+
className: r,
|
|
7
|
+
...a
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ t(e.Root, { "data-slot": "radio-group", className: i("ttw:grid ttw:gap-3", r), ...a });
|
|
13
10
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
invoiceDate: void 0,
|
|
21
|
-
dueDate: void 0,
|
|
22
|
-
currency: "USD",
|
|
23
|
-
tags: [],
|
|
24
|
-
discount: null,
|
|
25
|
-
lineItems: [{
|
|
26
|
-
id: "",
|
|
27
|
-
name: "",
|
|
28
|
-
quantity: 1,
|
|
29
|
-
price: 0,
|
|
30
|
-
tax: 0
|
|
31
|
-
}]
|
|
32
|
-
};
|
|
33
|
-
const {
|
|
34
|
-
document_id: n,
|
|
35
|
-
counterpart_id: i,
|
|
36
|
-
counterpart_bank_account_id: o,
|
|
37
|
-
issued_at: u,
|
|
38
|
-
due_date: c,
|
|
39
|
-
currency: d,
|
|
40
|
-
tags: l,
|
|
41
|
-
discount: p
|
|
42
|
-
} = e;
|
|
43
|
-
return {
|
|
44
|
-
invoiceNumber: n ?? "",
|
|
45
|
-
counterpart: i ?? "",
|
|
46
|
-
counterpartBankAccount: o ?? "",
|
|
47
|
-
invoiceDate: u ? _(u) : void 0,
|
|
48
|
-
dueDate: c ? _(c) : void 0,
|
|
49
|
-
currency: d ?? "USD",
|
|
50
|
-
tags: l ?? [],
|
|
51
|
-
discount: p && d ? t(p, d) : null,
|
|
52
|
-
lineItems: (a || []).map((s) => ({
|
|
53
|
-
id: s.id ?? "",
|
|
54
|
-
name: s.name ?? "",
|
|
55
|
-
quantity: s.quantity ?? 1,
|
|
56
|
-
price: s.unit_price && d ? t(s.unit_price, d) ?? 0 : 0,
|
|
57
|
-
tax: s.tax ? N(s.tax) : 0,
|
|
58
|
-
ledger_account_id: s.ledger_account_id
|
|
59
|
-
}))
|
|
60
|
-
};
|
|
61
|
-
}, P = ({
|
|
62
|
-
discount: t,
|
|
63
|
-
invoiceNumber: e,
|
|
64
|
-
counterpart: a,
|
|
65
|
-
counterpartBankAccount: r,
|
|
66
|
-
invoiceDate: n,
|
|
67
|
-
dueDate: i,
|
|
68
|
-
currency: o,
|
|
69
|
-
tags: u,
|
|
70
|
-
counterpartAddressId: c
|
|
71
|
-
}, d) => ({
|
|
72
|
-
document_id: e,
|
|
73
|
-
discount: t && o ? d(t, o) ?? 0 : 0,
|
|
74
|
-
counterpart_id: a || void 0,
|
|
75
|
-
counterpart_bank_account_id: r || void 0,
|
|
76
|
-
issued_at: n instanceof Date ? m(n) : void 0,
|
|
77
|
-
due_date: i instanceof Date ? m(i) : void 0,
|
|
78
|
-
currency: o,
|
|
79
|
-
tag_ids: u.map((l) => l.id),
|
|
80
|
-
counterpart_address_id: c
|
|
81
|
-
}), f = (t, e) => {
|
|
82
|
-
const a = t * e;
|
|
83
|
-
return parseFloat(a.toFixed(2));
|
|
84
|
-
}, v = (t, e) => {
|
|
85
|
-
const a = t + e * t / 100;
|
|
86
|
-
return parseFloat(a.toFixed(2));
|
|
87
|
-
}, w = (t) => {
|
|
88
|
-
const {
|
|
89
|
-
price: e,
|
|
90
|
-
quantity: a,
|
|
91
|
-
tax: r
|
|
92
|
-
} = t;
|
|
93
|
-
if (!e || !a) return 0;
|
|
94
|
-
const n = f(e, a);
|
|
95
|
-
return v(n, r || 0);
|
|
96
|
-
}, z = (t, e) => {
|
|
97
|
-
const {
|
|
98
|
-
subtotal: a,
|
|
99
|
-
taxes: r,
|
|
100
|
-
total: n
|
|
101
|
-
} = t.reduce((i, o) => {
|
|
102
|
-
const u = f(o.price, o.quantity), c = v(u, o.tax || 0);
|
|
103
|
-
return {
|
|
104
|
-
subtotal: i.subtotal + u,
|
|
105
|
-
taxes: i.taxes + (c - u),
|
|
106
|
-
total: i.total + c
|
|
107
|
-
};
|
|
108
|
-
}, {
|
|
109
|
-
subtotal: 0,
|
|
110
|
-
taxes: 0,
|
|
111
|
-
total: 0
|
|
112
|
-
});
|
|
113
|
-
return {
|
|
114
|
-
subtotal: a,
|
|
115
|
-
taxes: r,
|
|
116
|
-
total: n - (e ?? 0)
|
|
117
|
-
};
|
|
118
|
-
}, L = (t, e, a, r) => {
|
|
119
|
-
const {
|
|
120
|
-
name: n,
|
|
121
|
-
quantity: i,
|
|
122
|
-
price: o,
|
|
123
|
-
tax: u,
|
|
124
|
-
ledger_account_id: c
|
|
125
|
-
} = e, d = r?.allowLedgerUpdate ? I(c, r?.previous) : c, l = {
|
|
126
|
-
name: n,
|
|
127
|
-
quantity: i,
|
|
128
|
-
tax: F(u),
|
|
129
|
-
unit_price: a(o, t) ?? 0
|
|
130
|
-
};
|
|
131
|
-
return d !== void 0 && (l.ledger_account_id = d), l;
|
|
132
|
-
};
|
|
133
|
-
function F(t) {
|
|
134
|
-
return x(t);
|
|
135
|
-
}
|
|
136
|
-
function N(t) {
|
|
137
|
-
return g(t);
|
|
11
|
+
function c({
|
|
12
|
+
className: r,
|
|
13
|
+
dotClassName: a,
|
|
14
|
+
...o
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ t(e.Item, { "data-slot": "radio-group-item", className: i("ttw:border-input ttw:text-primary ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:aspect-square ttw:size-4 ttw:shrink-0 ttw:rounded-full ttw:border ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50", r), ...o, children: /* @__PURE__ */ t(e.Indicator, { "data-slot": "radio-group-indicator", className: "ttw:relative ttw:flex ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(s, { className: i("ttw:fill-primary ttw:absolute ttw:top-1/2 ttw:left-1/2 ttw:size-2 ttw:-translate-x-1/2 ttw:-translate-y-1/2", a) }) }) });
|
|
138
17
|
}
|
|
139
|
-
const O = (t, e, a) => {
|
|
140
|
-
const r = {
|
|
141
|
-
invoiceNumber: !0,
|
|
142
|
-
dueDate: !0,
|
|
143
|
-
tags: !0,
|
|
144
|
-
currency: !0
|
|
145
|
-
};
|
|
146
|
-
if (a)
|
|
147
|
-
return !1;
|
|
148
|
-
const n = r[t] ?? !1, i = e?.[t] ?? !1;
|
|
149
|
-
return n || i;
|
|
150
|
-
}, R = (t, e) => t.find((a) => a.currency === e && a.is_default_for_currency)?.id || "";
|
|
151
18
|
export {
|
|
152
|
-
w as
|
|
153
|
-
|
|
154
|
-
T as counterpartsToSelect,
|
|
155
|
-
m as dateToString,
|
|
156
|
-
R as findDefaultBankAccount,
|
|
157
|
-
O as isFieldRequired,
|
|
158
|
-
M as prepareDefaultValues,
|
|
159
|
-
L as prepareLineItemSubmit,
|
|
160
|
-
P as prepareSubmit,
|
|
161
|
-
C as resolveCreatePayableCounterpartAddressId
|
|
19
|
+
w as RadioGroup,
|
|
20
|
+
c as RadioGroupItem
|
|
162
21
|
};
|
|
@@ -1,30 +1,55 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as m, Controller as u } from "react-hook-form";
|
|
3
|
+
import { Typography as n } from "./index85.js";
|
|
4
|
+
import { useLingui as w } from "@lingui/react";
|
|
5
|
+
import { Switch as i } from "./index434.js";
|
|
6
|
+
import { twMerge as h } from "tailwind-merge";
|
|
4
7
|
const x = ({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
8
|
+
control: l,
|
|
9
|
+
isDialog: r
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
i18n: t
|
|
13
|
+
} = w(), {
|
|
14
|
+
watch: c,
|
|
15
|
+
setValue: d
|
|
16
|
+
} = m(), s = c("invoice_bank_display");
|
|
17
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
18
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
|
|
19
|
+
/* @__PURE__ */ e(n, { variant: "h3", children: t._("PDF settings") }),
|
|
20
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("Invoices are generated as PDFs") })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ a("div", { className: h(
|
|
23
|
+
"ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-lg",
|
|
24
|
+
// In the dialog the toggles sit in their own grey grouping box, so the
|
|
25
|
+
// inset padding is needed. On the settings page they already sit inside
|
|
26
|
+
// the section card, so the extra padding just indented the body.
|
|
27
|
+
r ? "ttw:bg-zinc-100 ttw:p-4" : ""
|
|
28
|
+
), children: [
|
|
29
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
30
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
31
|
+
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: t._("Display your bank account details on the PDF") }),
|
|
32
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("Shows your bank account number, routing number, and account holder name so that customers can pay using an ACH bank transfer. Should only be used with accounts that have a debit block.") })
|
|
33
|
+
] }),
|
|
34
|
+
/* @__PURE__ */ e(i, { checked: s, onCheckedChange: (o) => {
|
|
35
|
+
d("invoice_bank_display", o, {
|
|
36
|
+
shouldDirty: !0
|
|
37
|
+
});
|
|
38
|
+
}, "aria-label": t._("Display bank display options") })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
41
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
42
|
+
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: t._("Update PDF files for paid invoices") }),
|
|
43
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("PDF invoice files will be regenerated to reflect payments made and any remaining amount due. Once a PDF has been updated, you won't be able to revert it.") }),
|
|
44
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: t._("Once updated, you won't be able to revert the PDFs.") })
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ e(u, { name: "update_paid_invoices", control: l, render: ({
|
|
47
|
+
field: o
|
|
48
|
+
}) => /* @__PURE__ */ e(i, { checked: o.value, onCheckedChange: o.onChange, "aria-label": t._("Enable update paid invoices pdf") }) })
|
|
49
|
+
] })
|
|
50
|
+
] })
|
|
51
|
+
] });
|
|
52
|
+
};
|
|
28
53
|
export {
|
|
29
|
-
x as
|
|
54
|
+
x as PDFSettings
|
|
30
55
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { toast as n } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
4
|
+
const c = (e) => {
|
|
5
|
+
const {
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: i
|
|
8
|
+
} = o(), {
|
|
9
|
+
i18n: s
|
|
10
|
+
} = a();
|
|
11
|
+
return t.finops.patchEntitiesIdSettings.useMutation(void 0, {
|
|
12
|
+
onSuccess: () => {
|
|
13
|
+
n.success(s._("Settings updated successfully.")), t.finops.getEntitiesIdSettings.invalidateQueries({
|
|
14
|
+
parameters: {
|
|
15
|
+
path: {
|
|
16
|
+
entity_id: e
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, i), t.finops.getDocumentsIdNextNumbers.invalidateQueries({
|
|
20
|
+
parameters: {
|
|
21
|
+
path: {
|
|
22
|
+
entity_id: e
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}, i);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
27
28
|
};
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
-
x as SearchField
|
|
30
|
+
c as usePatchEntitySettings
|
|
31
31
|
};
|
|
@@ -1,80 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
pageSizePosition: t,
|
|
5
|
-
hasPageSizeSelect: n
|
|
6
|
-
}) {
|
|
7
|
-
if (!n)
|
|
8
|
-
return {
|
|
9
|
-
justifyContent: "center",
|
|
10
|
-
flexDirection: "row",
|
|
11
|
-
gap: void 0
|
|
12
|
-
};
|
|
13
|
-
if (r === "custom") {
|
|
14
|
-
if (e === "center" && t === "center")
|
|
15
|
-
return {
|
|
16
|
-
justifyContent: "center",
|
|
17
|
-
flexDirection: "row",
|
|
18
|
-
gap: 3
|
|
19
|
-
};
|
|
20
|
-
if (e === "left" && t === "left")
|
|
21
|
-
return {
|
|
22
|
-
justifyContent: "flex-start",
|
|
23
|
-
flexDirection: "row",
|
|
24
|
-
gap: 3
|
|
25
|
-
};
|
|
26
|
-
if (e === "right" && t === "right")
|
|
27
|
-
return {
|
|
28
|
-
justifyContent: "flex-end",
|
|
29
|
-
flexDirection: "row-reverse",
|
|
30
|
-
gap: 3
|
|
31
|
-
};
|
|
32
|
-
if (e === "left" && t === "right")
|
|
33
|
-
return {
|
|
34
|
-
justifyContent: "space-between",
|
|
35
|
-
flexDirection: "row",
|
|
36
|
-
gap: void 0
|
|
37
|
-
};
|
|
38
|
-
if (e === "right" && t === "left")
|
|
39
|
-
return {
|
|
40
|
-
justifyContent: "space-between",
|
|
41
|
-
flexDirection: "row-reverse",
|
|
42
|
-
gap: void 0
|
|
43
|
-
};
|
|
44
|
-
if (e === "center")
|
|
45
|
-
return {
|
|
46
|
-
justifyContent: "space-around",
|
|
47
|
-
flexDirection: t === "left" ? "row-reverse" : "row",
|
|
48
|
-
gap: void 0
|
|
49
|
-
};
|
|
50
|
-
if (t === "center")
|
|
51
|
-
return {
|
|
52
|
-
justifyContent: "space-around",
|
|
53
|
-
flexDirection: e === "left" ? "row" : "row-reverse",
|
|
54
|
-
gap: void 0
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
switch (r) {
|
|
58
|
-
case "reversed":
|
|
59
|
-
return {
|
|
60
|
-
justifyContent: "space-between",
|
|
61
|
-
flexDirection: "row-reverse",
|
|
62
|
-
gap: void 0
|
|
63
|
-
};
|
|
64
|
-
case "centered":
|
|
65
|
-
return {
|
|
66
|
-
justifyContent: "center",
|
|
67
|
-
flexDirection: "row",
|
|
68
|
-
gap: 3
|
|
69
|
-
};
|
|
70
|
-
default:
|
|
71
|
-
return {
|
|
72
|
-
justifyContent: "space-between",
|
|
73
|
-
flexDirection: "row",
|
|
74
|
-
gap: void 0
|
|
75
|
-
};
|
|
76
|
-
}
|
|
1
|
+
import { zodResolver as e } from "@hookform/resolvers/zod";
|
|
2
|
+
function t(o) {
|
|
3
|
+
return e(o);
|
|
77
4
|
}
|
|
78
5
|
export {
|
|
79
|
-
|
|
6
|
+
t as safeZodResolver
|
|
80
7
|
};
|
|
@@ -1,22 +1,79 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as $, Controller as d } from "react-hook-form";
|
|
3
|
+
import { useLingui as F } from "@lingui/react";
|
|
4
|
+
import { Typography as c } from "./index85.js";
|
|
5
|
+
import { Field as m, FieldContent as s, FieldLabel as w, FieldError as u } from "./index159.js";
|
|
6
|
+
import { Input as g } from "./index118.js";
|
|
7
|
+
import { Checkbox as S } from "./index351.js";
|
|
8
|
+
const E = ({
|
|
9
|
+
control: o
|
|
10
|
+
}) => {
|
|
5
11
|
const {
|
|
6
|
-
i18n:
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
i18n: i
|
|
13
|
+
} = F(), {
|
|
14
|
+
setValue: v,
|
|
15
|
+
watch: a
|
|
16
|
+
} = $(), p = a("min_digits"), f = a("prefix"), h = a("separator"), b = a("include_date"), x = a("invoice"), N = a("invoice_number");
|
|
17
|
+
function y() {
|
|
18
|
+
return `${x}${h}${f ? `${f}${h}` : ""}${b ? `${(/* @__PURE__ */ new Date()).getFullYear()}${h}` : ""}${N.toString().padStart(p, "0")}`;
|
|
19
|
+
}
|
|
20
|
+
const _ = y();
|
|
21
|
+
return /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
22
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
|
|
23
|
+
/* @__PURE__ */ e(c, { variant: "h3", children: i._("Invoice numbering") }),
|
|
24
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "muted", children: i._("Specify how you want your invoices to be numbered. Changes apply to new invoices only. Existing invoice numbers won't be updated.") })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:w-94 ttw:gap-0.5 ttw:p-4 ttw:bg-neutral-200 ttw:rounded-xl", children: [
|
|
27
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "muted", children: i._("Preview") }),
|
|
28
|
+
/* @__PURE__ */ e(c, { variant: "h4", className: "ttw:font-medium", children: _ })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:w-min ttw:gap-2 ttw:p-2", children: [
|
|
31
|
+
/* @__PURE__ */ e(d, { name: "invoice", control: o, render: ({
|
|
32
|
+
field: t,
|
|
33
|
+
fieldState: {
|
|
34
|
+
error: r
|
|
35
|
+
}
|
|
36
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
37
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Invoice prefix") }),
|
|
38
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, maxLength: 25, "aria-invalid": !!r || void 0, className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
|
|
39
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
40
|
+
] }) }) }),
|
|
41
|
+
/* @__PURE__ */ e(d, { name: "invoice_number", control: o, render: ({
|
|
42
|
+
field: t,
|
|
43
|
+
fieldState: {
|
|
44
|
+
error: r
|
|
45
|
+
}
|
|
46
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
47
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Starting number") }),
|
|
48
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", "aria-invalid": !!r || void 0, onChange: (l) => {
|
|
49
|
+
const C = l.target.value.replace(/^0+(?=\d)/, "");
|
|
50
|
+
t.onChange(Number(C));
|
|
51
|
+
}, value: t.value.toString().padStart(p, "0"), className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
|
|
52
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
53
|
+
] }) }) }),
|
|
54
|
+
/* @__PURE__ */ e(d, { name: "min_digits", control: o, render: ({
|
|
55
|
+
field: t,
|
|
56
|
+
fieldState: {
|
|
57
|
+
error: r
|
|
58
|
+
}
|
|
59
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
60
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Digit count") }),
|
|
61
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", className: "ttw:bg-white ttw:w-29 ttw:max-w-29", onChange: (l) => {
|
|
62
|
+
+l.target.value > 20 ? v("min_digits", 20, {
|
|
63
|
+
shouldDirty: !0
|
|
64
|
+
}) : t.onChange(l);
|
|
65
|
+
}, "aria-invalid": !!r || void 0 }),
|
|
66
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
67
|
+
] }) }) })
|
|
68
|
+
] }),
|
|
69
|
+
/* @__PURE__ */ e("div", { className: "ttw:bg-transparent ttw:w-full ttw:p-2", children: /* @__PURE__ */ e(d, { name: "include_date", control: o, render: ({
|
|
70
|
+
field: t
|
|
71
|
+
}) => /* @__PURE__ */ e(m, { orientation: "horizontal", children: /* @__PURE__ */ n(s, { className: "ttw:flex-row ttw:items-center", children: [
|
|
72
|
+
/* @__PURE__ */ e(S, { id: t.name, ref: t.ref, checked: t.value ?? !1, onCheckedChange: t.onChange, onBlur: t.onBlur, className: "ttw:bg-white" }),
|
|
73
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, className: "ttw:font-normal", children: i._("Include the current year in the invoice number prefix") })
|
|
74
|
+
] }) }) }) })
|
|
75
|
+
] });
|
|
19
76
|
};
|
|
20
77
|
export {
|
|
21
|
-
|
|
78
|
+
E as InvoiceNumbering
|
|
22
79
|
};
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import { z as e } from "zod";
|
|
2
|
+
const i = (n, t) => e.object({
|
|
3
|
+
min_digits: e.coerce.number().int().min(1, n._("Can't be less than 1")).max(20, n._("Can't be greater than 20")),
|
|
4
|
+
credit_note: e.string().min(1),
|
|
5
|
+
credit_note_number: e.coerce.number().int().min(t.credit_note, n._("Can't be less than {nextNumbersCredit_note}", {
|
|
6
|
+
nextNumbersCredit_note: t.credit_note
|
|
7
|
+
})),
|
|
8
|
+
delivery_note: e.string().min(1),
|
|
9
|
+
delivery_note_number: e.coerce.number().int().min(t.delivery_note, n._("Can't be less than {nextNumbersDelivery_note}", {
|
|
10
|
+
nextNumbersDelivery_note: t.delivery_note
|
|
11
|
+
})),
|
|
12
|
+
quote: e.string().min(1),
|
|
13
|
+
quote_number: e.coerce.number().int().min(t.quote, n._("Can't be less than {nextNumbersQuote}", {
|
|
14
|
+
nextNumbersQuote: t.quote
|
|
15
|
+
})),
|
|
16
|
+
invoice: e.string().min(1, n._("Invoice prefix is required")).max(25, n._("Invoice prefix should have at most 25 characters")),
|
|
17
|
+
invoice_number: e.coerce.number().int().min(t.invoice, n._("Can't be less than {nextNumbersInvoice}", {
|
|
18
|
+
nextNumbersInvoice: t.invoice
|
|
19
|
+
})),
|
|
20
|
+
purchase_order: e.string().min(1),
|
|
21
|
+
purchase_order_number: e.coerce.number().int().min(t.purchase_order, n._("Can't be less than {nextNumbersPurchase_order}", {
|
|
22
|
+
nextNumbersPurchase_order: t.purchase_order
|
|
23
|
+
})),
|
|
24
|
+
include_date: e.boolean(),
|
|
25
|
+
prefix: e.string().max(25, n._("Prefix should have at most 25 characters")),
|
|
26
|
+
separator: e.enum(["/", "-", "|", ".", ""]),
|
|
27
|
+
invoice_bank_display: e.boolean(),
|
|
28
|
+
update_paid_invoices: e.boolean(),
|
|
29
|
+
quote_signature_display: e.boolean(),
|
|
30
|
+
quote_electronic_signature: e.union([e.boolean(), e.string()])
|
|
31
|
+
});
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
i as getInvoiceSettingsFormSchema
|
|
32
34
|
};
|