@tesouro/embedded-components-react 0.2.27 → 0.2.29
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 +20 -20
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index2.js +19 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index2.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +7 -7
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +35 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1271 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +8 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +7 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +72 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +9 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +119 -10
- 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 +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +11 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +1 -1
- 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 +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.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/index246.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +491 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +165 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +42 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +62 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +31 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +114 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +41 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +53 -17
- 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 +73 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +44 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +30 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +60 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +90 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +106 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +88 -30
- 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 +50 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +62 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +36 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +34 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +54 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +343 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +14 -14
- 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 +17 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +34 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +37 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +14 -490
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +17 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +12 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +22 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +38 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +50 -112
- 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 +30 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +96 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +42 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +47 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +27 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +74 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +35 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- 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 +340 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +291 -333
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +87 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +157 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +261 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +23 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +90 -89
- 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 +185 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +65 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +157 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +28 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +26 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +77 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +21 -62
- 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 +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +19 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +169 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +132 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +162 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +10 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +19 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +60 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +62 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +54 -102
- 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 +7 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +8 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +56 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +24 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +57 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +14 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +40 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +14 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +70 -24
- 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 +76 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +40 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +22 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +54 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +27 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +57 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +12 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +126 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +32 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +45 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +36 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +32 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +8 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +99 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +21 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +31 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +54 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +58 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +12 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +89 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +118 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +16 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +63 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +43 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +187 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +106 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +81 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +287 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +82 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +225 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +50 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +48 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +107 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +255 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +53 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +32 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +26 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +123 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +23 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +72 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +94 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +9 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +65 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +14 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +19 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +32 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +65 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +67 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +45 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +5 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +32 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +126 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +93 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +37 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +24 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +48 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +7 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +54 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +25 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +36 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +103 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +109 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +14 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +66 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +12 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +32 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +85 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +23 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +37 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +57 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +29 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +49 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +36 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +44 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +69 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +49 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +54 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +29 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +68 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +41 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +96 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +75 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +18 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +40 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +36 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +18 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +49 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +28 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/data-access/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/feature/dist/index2.js +59 -68
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/feature/dist/index6.js +55 -68
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +124 -124
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +44 -44
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +4477 -3065
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useUpsertUserDataMutation.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index7.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index20.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index21.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index8.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index9.js +2 -2
- package/package.json +1 -1
|
@@ -1,46 +1,100 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as o, Fragment as _, jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ManualPaymentRecordDetails as k } from "./index403.js";
|
|
3
|
+
import { PaymentRecordForm as E } from "./index404.js";
|
|
4
|
+
import { useMoniteContext as $ } from "./index59.js";
|
|
5
|
+
import { useRootElements as B } from "./index94.js";
|
|
6
|
+
import "@tanstack/react-query";
|
|
7
|
+
import { fromMinorUnits as F, toMinorUnits as H } from "./index123.js";
|
|
8
|
+
import "date-fns";
|
|
9
|
+
import { useEntityUserByAuthToken as L } from "./index77.js";
|
|
10
|
+
import { useCreatePaymentRecord as U } from "./index81.js";
|
|
11
|
+
import { useLingui as A } from "@lingui/react";
|
|
12
|
+
import { Dialog as I, DialogContent as Q, DialogActions as W, Button as m, Box as q } from "@mui/material";
|
|
13
|
+
import { useState as l } from "react";
|
|
14
|
+
const g = {
|
|
15
|
+
amount: 0,
|
|
16
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
17
|
+
payment_time: /* @__PURE__ */ new Date(),
|
|
18
|
+
created_by: ""
|
|
19
|
+
}, ie = ({
|
|
20
|
+
children: b,
|
|
21
|
+
invoice: t
|
|
10
22
|
}) => {
|
|
11
|
-
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
23
|
+
const [h, c] = l(!1), [C, r] = l(!1), [e, u] = l(g), {
|
|
24
|
+
i18n: s
|
|
25
|
+
} = A(), {
|
|
26
|
+
root: x
|
|
27
|
+
} = B(), v = () => c(!0), n = () => c(!1), {
|
|
28
|
+
api: p,
|
|
29
|
+
queryClient: y
|
|
30
|
+
} = $(), {
|
|
31
|
+
mutate: D,
|
|
32
|
+
isPending: M
|
|
33
|
+
} = U(), {
|
|
34
|
+
data: f,
|
|
35
|
+
isLoading: R
|
|
36
|
+
} = L(), w = (a) => {
|
|
37
|
+
u({
|
|
38
|
+
...a,
|
|
39
|
+
amount: H(a?.amount ?? 0),
|
|
40
|
+
created_by: f?.id ?? ""
|
|
41
|
+
}), r(!0);
|
|
42
|
+
}, P = () => {
|
|
43
|
+
r(!1), u(g);
|
|
44
|
+
}, S = () => {
|
|
45
|
+
const a = new Date(e.payment_date).setHours(e.payment_time.getHours(), e.payment_time.getMinutes()), j = new Date(a);
|
|
46
|
+
D({
|
|
47
|
+
amount: e?.amount ?? 0,
|
|
48
|
+
currency: t.currency,
|
|
49
|
+
paid_at: j.toISOString(),
|
|
50
|
+
object: {
|
|
51
|
+
id: t.id,
|
|
52
|
+
type: "receivable"
|
|
53
|
+
},
|
|
54
|
+
payment_intent_id: t.id,
|
|
55
|
+
entity_user_id: f?.id,
|
|
56
|
+
status: "succeeded"
|
|
57
|
+
}, {
|
|
58
|
+
onSuccess: () => {
|
|
59
|
+
p.finops.getReceivablesId.invalidateQueries({
|
|
60
|
+
parameters: {
|
|
61
|
+
path: {
|
|
62
|
+
receivable_id: t.id
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}, y), p.finops.getReceivables.invalidateQueries(y), n(), P();
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}, d = M || R;
|
|
69
|
+
return ["draft", "paid", "canceled", "deleted", "accepted", "recurring", "expired", "declined", "uncollectible"].includes(t.status) ? null : /* @__PURE__ */ o(_, { children: [
|
|
70
|
+
b({
|
|
71
|
+
openModal: v
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ i(I, { open: h, onClose: n, container: x, "aria-labelledby": "dialog-title", fullWidth: !0, maxWidth: "sm", children: C ? /* @__PURE__ */ o(_, { children: [
|
|
74
|
+
/* @__PURE__ */ i(Q, { sx: {
|
|
75
|
+
p: 4
|
|
76
|
+
}, children: /* @__PURE__ */ i(k, { invoice: t, paymentRecords: e }) }),
|
|
77
|
+
/* @__PURE__ */ o(W, { sx: {
|
|
78
|
+
px: 4,
|
|
79
|
+
pb: 4,
|
|
80
|
+
justifyContent: "space-between"
|
|
81
|
+
}, children: [
|
|
82
|
+
/* @__PURE__ */ i(m, { onClick: n, children: s._("Cancel") }),
|
|
83
|
+
/* @__PURE__ */ o(q, { sx: {
|
|
84
|
+
display: "flex",
|
|
85
|
+
gap: 2
|
|
86
|
+
}, children: [
|
|
87
|
+
/* @__PURE__ */ i(m, { variant: "outlined", disabled: d, onClick: () => r(!1), children: s._("Edit record") }),
|
|
88
|
+
/* @__PURE__ */ i(m, { variant: "contained", disabled: d, onClick: S, children: s._("Confirm") })
|
|
89
|
+
] })
|
|
90
|
+
] })
|
|
91
|
+
] }) : /* @__PURE__ */ i(E, { invoice: t, initialValues: {
|
|
92
|
+
amount: e.amount ? F(e.amount) : 0,
|
|
93
|
+
payment_date: e.payment_date,
|
|
94
|
+
payment_time: e.payment_time
|
|
95
|
+
}, isLoading: d, onCancel: n, onSubmit: w }) })
|
|
96
|
+
] });
|
|
43
97
|
};
|
|
44
98
|
export {
|
|
45
|
-
|
|
99
|
+
ie as RecordManualPaymentModal
|
|
46
100
|
};
|
|
@@ -1,59 +1,49 @@
|
|
|
1
|
-
import { jsxs as f, jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
1
|
+
import { jsxs as f, jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCancelRecurrence as v } from "./index405.js";
|
|
3
|
+
import { useGetRecurrenceById as _ } from "./index181.js";
|
|
4
|
+
import { useCurrencies as C } from "./index60.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./index94.js";
|
|
7
|
+
import { useLingui as g, Trans as h } from "@lingui/react";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "./index59.js";
|
|
10
|
+
import "@mui/x-data-grid";
|
|
11
|
+
import { ConfirmationModal as b } from "./index263.js";
|
|
12
|
+
import w from "deep-eql";
|
|
13
|
+
import { usePreviousDistinct as y } from "react-use";
|
|
14
|
+
const $ = ({
|
|
15
|
+
invoice: i,
|
|
16
|
+
open: a,
|
|
17
|
+
onClose: r
|
|
15
18
|
}) => {
|
|
16
19
|
const {
|
|
17
20
|
i18n: e
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
t(k, a.trim() ? a : null);
|
|
43
|
-
}, C);
|
|
44
|
-
return /* @__PURE__ */ f("div", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:px-2 ttw:py-2", children: [
|
|
45
|
-
/* @__PURE__ */ s("div", { className: "ttw:flex-1", children: /* @__PURE__ */ s(A, { placeholder: e._("Search"), className: "ttw:h-9 ttw:w-full", onChange: (a) => m(a.target.value) }) }),
|
|
46
|
-
/* @__PURE__ */ s("div", { className: "ttw:w-48 ttw:shrink-0", children: /* @__PURE__ */ s(L, { onChange: (a) => t(D, a ?? null) }) }),
|
|
47
|
-
/* @__PURE__ */ f("div", { className: "ttw:relative ttw:w-44 ttw:shrink-0", children: [
|
|
48
|
-
/* @__PURE__ */ s(R, { value: r, placeholder: e._("Created at"), className: `ttw:h-9 ttw:border-border${r ? " ttw:pr-8" : ""}`, container: n, onChange: (a) => {
|
|
49
|
-
l(a), t(_, a ?? null);
|
|
50
|
-
} }),
|
|
51
|
-
r ? /* @__PURE__ */ s("button", { type: "button", "aria-label": e._("Clear created at filter"), className: "ttw:absolute ttw:right-2 ttw:top-1/2 ttw:inline-flex ttw:size-4 ttw:-translate-y-1/2 ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:rounded-sm ttw:text-muted-foreground ttw:opacity-70 hover:ttw:opacity-100", onClick: () => {
|
|
52
|
-
l(void 0), t(_, null);
|
|
53
|
-
}, children: /* @__PURE__ */ s(T, { className: "ttw:size-3.5" }) }) : null
|
|
54
|
-
] })
|
|
21
|
+
} = g(), {
|
|
22
|
+
formatCurrencyToDisplay: l
|
|
23
|
+
} = C(), c = i?.recurrence_id ?? "", {
|
|
24
|
+
mutate: m,
|
|
25
|
+
isPending: u
|
|
26
|
+
} = v(c, i.id), {
|
|
27
|
+
data: t
|
|
28
|
+
} = _(c), s = y(t, w), o = (s?.status === "active" && t?.status === "canceled" ? s : t)?.iterations?.filter(({
|
|
29
|
+
status: p
|
|
30
|
+
}) => p === "pending")?.length ?? 0, d = i && o !== void 0 ? l(i.total_amount_with_credit_notes * o, i.currency) : void 0;
|
|
31
|
+
return /* @__PURE__ */ f(b, { open: a && !!i.id, title: e._("Cancel Recurring Invoice"), confirmLabel: e._("Cancel recurrence"), cancelLabel: e._("Close"), onClose: r, onConfirm: () => m(void 0, {
|
|
32
|
+
onSuccess: r
|
|
33
|
+
}), isLoading: u, children: [
|
|
34
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("Are you sure you want to cancel this recurring invoice?") }),
|
|
35
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("All future iterations of this invoice will be canceled.") }),
|
|
36
|
+
i && o !== void 0 && /* @__PURE__ */ n("span", { className: "ttw:inline-block", children: /* @__PURE__ */ n(h, { id: "ZYrFPL", values: {
|
|
37
|
+
0: o === 1 ? e._("invoice") : e._("invoices"),
|
|
38
|
+
totalPendingInvoices: o,
|
|
39
|
+
pendingInvoicesTotalAmountWithCreditNotes: d
|
|
40
|
+
}, components: {
|
|
41
|
+
0: /* @__PURE__ */ n("strong", {}),
|
|
42
|
+
1: /* @__PURE__ */ n("strong", {})
|
|
43
|
+
} }) }),
|
|
44
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("This action can't be undone.") })
|
|
55
45
|
] });
|
|
56
46
|
};
|
|
57
47
|
export {
|
|
58
|
-
|
|
48
|
+
$ as RecurrenceCancelModal
|
|
59
49
|
};
|
|
@@ -1,24 +1,49 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as a, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as m, Controller as w } from "react-hook-form";
|
|
3
|
+
import { Typography as n } from "./index87.js";
|
|
4
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
|
+
import { Switch as i } from "./index424.js";
|
|
6
|
+
import { twMerge as h } from "tailwind-merge";
|
|
7
|
+
const x = ({
|
|
8
|
+
control: l,
|
|
9
|
+
isDialog: r
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
i18n: e
|
|
13
|
+
} = u(), {
|
|
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__ */ t(n, { variant: "h3", children: e._("PDF settings") }),
|
|
20
|
+
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("Invoices are generated as PDFs") })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ a("div", { className: h("ttw:flex ttw:flex-col ttw:gap-2.5 ttw:p-4 ttw:rounded-lg", r ? "ttw:bg-zinc-100" : "ttw:bg-white"), children: [
|
|
23
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
24
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
25
|
+
/* @__PURE__ */ t(n, { variant: "body1", className: "ttw:font-medium", children: e._("Display your bank account details on the PDF") }),
|
|
26
|
+
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("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.") })
|
|
27
|
+
] }),
|
|
28
|
+
/* @__PURE__ */ t(i, { checked: s, onCheckedChange: (o) => {
|
|
29
|
+
d("invoice_bank_display", o, {
|
|
30
|
+
shouldDirty: !0
|
|
31
|
+
});
|
|
32
|
+
}, "aria-label": e._("Display bank display options") })
|
|
33
|
+
] }),
|
|
34
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
35
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
36
|
+
/* @__PURE__ */ t(n, { variant: "body1", className: "ttw:font-medium", children: e._("Update PDF files for paid invoices") }),
|
|
37
|
+
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", children: e._("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.") }),
|
|
38
|
+
/* @__PURE__ */ t(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: e._("Once updated, you won't be able to revert the PDFs.") })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ t(w, { name: "update_paid_invoices", control: l, render: ({
|
|
41
|
+
field: o
|
|
42
|
+
}) => /* @__PURE__ */ t(i, { checked: o.value, onCheckedChange: o.onChange, "aria-label": e._("Enable update paid invoices pdf") }) })
|
|
43
|
+
] })
|
|
44
|
+
] })
|
|
45
|
+
] });
|
|
46
|
+
};
|
|
16
47
|
export {
|
|
17
|
-
|
|
18
|
-
A as APPROVAL_REQUEST_STATUS_TO_MUI_ICON_MAP,
|
|
19
|
-
i as FILTER_TYPE_ADDED_BY,
|
|
20
|
-
d as FILTER_TYPE_CREATED_AT,
|
|
21
|
-
S as FILTER_TYPE_CURRENT_USER,
|
|
22
|
-
R as FILTER_TYPE_STATUS,
|
|
23
|
-
o as ROW_TO_STATUS_MUI_MAP
|
|
48
|
+
x as PDFSettings
|
|
24
49
|
};
|
|
@@ -1,59 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { FormControl as u, InputLabel as c, Select as d, MenuItem as E, FormControlLabel as F, Switch as T } from "@mui/material";
|
|
6
|
-
import { DatePicker as _ } from "@mui/x-date-pickers";
|
|
7
|
-
import { APPROVAL_REQUEST_STATUSES as v, FILTER_TYPE_STATUS as R, FILTER_TYPE_ADDED_BY as A, FILTER_TYPE_CREATED_AT as C, FILTER_TYPE_CURRENT_USER as h } from "./index293.js";
|
|
8
|
-
import { getRowToStatusTextMap as S } from "./index400.js";
|
|
9
|
-
import { AutocompleteCreatedBy as M } from "./index401.js";
|
|
10
|
-
const O = ({
|
|
11
|
-
onChangeFilter: l,
|
|
12
|
-
sx: i
|
|
13
|
-
}) => {
|
|
1
|
+
import { toast as n } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as o } from "./index59.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
4
|
+
const c = (e) => {
|
|
14
5
|
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */ t(M, { onChange: (e) => l(A, e || null) }),
|
|
38
|
-
/* @__PURE__ */ t(_, { label: a._("Requested on"), className: "Monite-ApprovalRequestedOnFilter Monite-FilterControl Monite-DateFilterControl", onChange: (e, o) => {
|
|
39
|
-
o.validationError || l(C, e);
|
|
40
|
-
}, slotProps: {
|
|
41
|
-
textField: {
|
|
42
|
-
variant: "standard"
|
|
43
|
-
},
|
|
44
|
-
popper: {
|
|
45
|
-
container: r
|
|
46
|
-
},
|
|
47
|
-
dialog: {
|
|
48
|
-
container: r
|
|
49
|
-
},
|
|
50
|
-
actionBar: {
|
|
51
|
-
actions: ["clear", "today"]
|
|
52
|
-
}
|
|
53
|
-
}, views: ["year", "month", "day"] }),
|
|
54
|
-
/* @__PURE__ */ t(F, { control: /* @__PURE__ */ t(T, {}), className: "Monite-ApprovalOnlyMyFilter Monite-FilterControl", label: a._("Only my approvals"), onChange: (e, o) => l(h, o) })
|
|
55
|
-
] });
|
|
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
|
+
});
|
|
56
28
|
};
|
|
57
29
|
export {
|
|
58
|
-
|
|
30
|
+
c as usePatchEntitySettings
|
|
59
31
|
};
|
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { ROW_TO_STATUS_MUI_MAP as A, APPROVAL_REQUEST_STATUS_TO_MUI_ICON_MAP as S } from "./index293.js";
|
|
6
|
-
import { getRowToStatusTextMap as T } from "./index400.js";
|
|
7
|
-
const c = ({
|
|
8
|
-
ref: s,
|
|
9
|
-
...e
|
|
10
|
-
}) => {
|
|
11
|
-
const {
|
|
12
|
-
status: t,
|
|
13
|
-
icon: a,
|
|
14
|
-
size: i,
|
|
15
|
-
variant: p
|
|
16
|
-
} = f({
|
|
17
|
-
props: e,
|
|
18
|
-
name: "MoniteApprovalRequestStatusChip"
|
|
19
|
-
}), {
|
|
20
|
-
i18n: m
|
|
21
|
-
} = n(), o = S[t];
|
|
22
|
-
return /* @__PURE__ */ r(_, { ref: s, color: A[t], icon: a && o ? /* @__PURE__ */ r(o, { fontSize: "small" }) : void 0, label: T(m)[t], size: i, status: t, variant: p ?? "filled" });
|
|
23
|
-
}, _ = l(u, {
|
|
24
|
-
// eslint-disable-next-line lingui/no-unlocalized-strings
|
|
25
|
-
name: "MoniteApprovalRequestStatusChip",
|
|
26
|
-
slot: "root",
|
|
27
|
-
shouldForwardProp: () => !0
|
|
28
|
-
})({});
|
|
1
|
+
import { zodResolver as e } from "@hookform/resolvers/zod";
|
|
2
|
+
function t(o) {
|
|
3
|
+
return e(o);
|
|
4
|
+
}
|
|
29
5
|
export {
|
|
30
|
-
|
|
6
|
+
t as safeZodResolver
|
|
31
7
|
};
|
|
@@ -1,62 +1,79 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import f from "@mui/icons-material/HighlightOffRounded";
|
|
11
|
-
import { Stack as m, IconButton as a } from "@mui/material";
|
|
12
|
-
const C = ({
|
|
13
|
-
id: o,
|
|
14
|
-
onClick: t
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as $, Controller as c } from "react-hook-form";
|
|
3
|
+
import { useLingui as F } from "@lingui/react";
|
|
4
|
+
import { Typography as d } from "./index87.js";
|
|
5
|
+
import { Field as m, FieldContent as s, FieldLabel as w, FieldError as u } from "./index160.js";
|
|
6
|
+
import { Input as g } from "./index129.js";
|
|
7
|
+
import { Checkbox as S } from "./index383.js";
|
|
8
|
+
const E = ({
|
|
9
|
+
control: o
|
|
15
10
|
}) => {
|
|
16
11
|
const {
|
|
17
|
-
i18n:
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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(d, { variant: "h3", children: i._("Invoice numbering") }),
|
|
24
|
+
/* @__PURE__ */ e(d, { 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(d, { variant: "body2", color: "muted", children: i._("Preview") }),
|
|
28
|
+
/* @__PURE__ */ e(d, { 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(c, { 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(c, { 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(c, { 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(c, { 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
|
+
] });
|
|
59
76
|
};
|
|
60
77
|
export {
|
|
61
|
-
|
|
78
|
+
E as InvoiceNumbering
|
|
62
79
|
};
|