@tesouro/embedded-components-react 0.2.160 → 0.2.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +9 -0
- package/dist/lib/ReceivablesWidget.js +19 -19
- package/dist/lib/WidgetProvider.d.ts +9 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index5.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +6 -6
- 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/index3.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/data-access/dist/index3.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +2 -2
- 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/expense-receipt-match-widget/data-access/dist/index6.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index6.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- 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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +9 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +46 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +76 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +54 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +14 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +22 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +80 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +38 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +7 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +221 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +469 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +109 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +512 -444
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +23 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +86 -524
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +57 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +94 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +97 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +18 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +2 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +27 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +110 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +66 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +101 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +26 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +214 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +3 -3
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.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/index241.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +1 -1
- 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/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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +52 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +29 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +5 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +74 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +32 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +18 -40
- 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 +18 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +28 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +37 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +58 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +96 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +107 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +85 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +2 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +92 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +97 -63
- 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 +213 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +62 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +149 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +8 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +34 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +22 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +52 -44
- 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 +27 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +55 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +72 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +44 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +25 -488
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +122 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +58 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +30 -96
- 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 +110 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +21 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +40 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +55 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +25 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +124 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +44 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +113 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +93 -329
- 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 +47 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +193 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +68 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +59 -259
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +31 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +20 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +36 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +31 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +29 -15
- 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 +25 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +48 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +157 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +28 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +28 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +78 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +484 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +158 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +22 -19
- 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 +15 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +17 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +168 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +134 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +158 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +61 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +64 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +60 -14
- 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 +6 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +11 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +57 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +60 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +17 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +40 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +14 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +77 -9
- 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 +77 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +42 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +36 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +339 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +302 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +99 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +155 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +264 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +15 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +125 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +34 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +19 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +25 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +36 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +18 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +48 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +35 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +65 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +17 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +67 -2
- 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 +20 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +105 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +81 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +7 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +49 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +1 -1
- 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 +82 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +83 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +265 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +37 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +63 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +137 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +93 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +10 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +285 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +15 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +66 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +45 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +5 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +93 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +33 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +8 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +18 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +57 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +39 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +75 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +67 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +33 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +32 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +85 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +23 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +99 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +112 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +20 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +38 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +82 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +38 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +47 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +69 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +83 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +55 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +50 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +52 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +29 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +54 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +67 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +93 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +75 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +20 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +9 -55
- 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 +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +30 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +42 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +14 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +18 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +49 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +57 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +32 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +20 -48
- 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 +6 -6
- 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 +2 -2
- 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 +1 -1
- 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 +7 -7
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +18 -18
- 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 +12 -12
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +7 -7
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +119 -119
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +52 -52
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1671 -1613
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index10.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index11.js +15 -15
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index16.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index17.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index20.js +7 -7
- 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/index22.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index3.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index8.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getCountries as G } from "./index93.js";
|
|
2
2
|
import { parseISO as H } from "date-fns";
|
|
3
|
-
import { rateMinorToMajor as J } from "./
|
|
3
|
+
import { rateMinorToMajor as J } from "./index305.js";
|
|
4
4
|
import { getDaysOverdue as K } from "./index360.js";
|
|
5
5
|
import { formatReminderSchedule as Q } from "./index361.js";
|
|
6
6
|
const V = /^\d{4}-\d{2}-\d{2}$/, X = (e, r) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseISO as d } from "date-fns";
|
|
2
|
-
import { rateMinorToMajor as n } from "./
|
|
3
|
-
import { CUSTOM_DATE_PAYMENT_TERM as i, RECEIPT_DUE_PAYMENT_TERM as c } from "./
|
|
2
|
+
import { rateMinorToMajor as n } from "./index305.js";
|
|
3
|
+
import { CUSTOM_DATE_PAYMENT_TERM as i, RECEIPT_DUE_PAYMENT_TERM as c } from "./index304.js";
|
|
4
4
|
const u = (e) => {
|
|
5
5
|
if (e?.id)
|
|
6
6
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as o } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as u } from "./
|
|
2
|
+
import { getAPIErrorMessage as u } from "./index121.js";
|
|
3
3
|
import { useLingui as c } from "@lingui/react";
|
|
4
4
|
import { toast as a } from "react-hot-toast";
|
|
5
5
|
const f = (s, t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as o } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as u } from "./
|
|
2
|
+
import { getAPIErrorMessage as u } from "./index121.js";
|
|
3
3
|
import { useLingui as c } from "@lingui/react";
|
|
4
4
|
import { toast as t } from "react-hot-toast";
|
|
5
5
|
const f = (s, a) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as s } from "./
|
|
2
|
+
import { getAPIErrorMessage as s } from "./index121.js";
|
|
3
3
|
import { useLingui as a } from "@lingui/react";
|
|
4
4
|
import { toast as i } from "react-hot-toast";
|
|
5
5
|
const f = () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n, jsxs as F, Fragment as x } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { getDraftInvoiceValidationSchema as N, getInvoiceValidationSchema as V } from "./
|
|
2
|
+
import { getDraftInvoiceValidationSchema as N, getInvoiceValidationSchema as V } from "./index171.js";
|
|
3
3
|
import { useMeasureUnitsMapping as q } from "./index352.js";
|
|
4
4
|
import { useGetRecurrenceById as A } from "./index232.js";
|
|
5
|
-
import { useReceivableSubmit as B } from "./
|
|
5
|
+
import { useReceivableSubmit as B } from "./index172.js";
|
|
6
6
|
import { useMoniteContext as P } from "./index57.js";
|
|
7
7
|
import { useUserPermissions as D } from "./index141.js";
|
|
8
8
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
@@ -13,14 +13,14 @@ import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
|
13
13
|
import { Scope as G } from "../../shared/data-access/dist/lib/scopes.js";
|
|
14
14
|
import { useRef as O, useMemo as a, useCallback as j, useEffect as w } from "react";
|
|
15
15
|
import { Button as u } from "./index84.js";
|
|
16
|
-
import { LoadingPage as z } from "./
|
|
16
|
+
import { LoadingPage as z } from "./index295.js";
|
|
17
17
|
import { zodResolver as C } from "@hookform/resolvers/zod";
|
|
18
18
|
import { useLingui as T } from "@lingui/react";
|
|
19
19
|
import { useForm as W } from "react-hook-form";
|
|
20
|
-
import { useGetMeasureUnits as H } from "./
|
|
20
|
+
import { useGetMeasureUnits as H } from "./index275.js";
|
|
21
21
|
import "date-fns";
|
|
22
22
|
import { buildEditInvoiceFormValues as J } from "./index227.js";
|
|
23
|
-
import { ReceivableFormLayout as K } from "./
|
|
23
|
+
import { ReceivableFormLayout as K } from "./index173.js";
|
|
24
24
|
const Ce = (t) => {
|
|
25
25
|
const {
|
|
26
26
|
data: c,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useGetReceivableById as r } from "./index82.js";
|
|
3
3
|
import { useCancelReceivableById as m } from "./index353.js";
|
|
4
|
-
import { ConfirmationModal as d } from "./
|
|
4
|
+
import { ConfirmationModal as d } from "./index253.js";
|
|
5
5
|
import { useLingui as u } from "@lingui/react";
|
|
6
6
|
const v = ({
|
|
7
7
|
invoiceId: o,
|
|
@@ -9,7 +9,7 @@ import "@tanstack/react-query";
|
|
|
9
9
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
10
10
|
import { Scope as b } from "../../shared/data-access/dist/lib/scopes.js";
|
|
11
11
|
import "react";
|
|
12
|
-
import { ConfirmationModal as C } from "./
|
|
12
|
+
import { ConfirmationModal as C } from "./index253.js";
|
|
13
13
|
import { useLingui as D } from "@lingui/react";
|
|
14
14
|
import { toast as I } from "react-hot-toast";
|
|
15
15
|
const H = ({
|
|
@@ -4,8 +4,8 @@ import { Dialog as u, DialogContent as g, DialogHeader as b, DialogTitle as f, D
|
|
|
4
4
|
import { useLingui as k } from "@lingui/react";
|
|
5
5
|
import { useMarkAsUncollectibleReceivableById as C } from "./index356.js";
|
|
6
6
|
import { useState as x } from "react";
|
|
7
|
-
import { Textarea as D } from "./
|
|
8
|
-
import { Label as _ } from "./
|
|
7
|
+
import { Textarea as D } from "./index119.js";
|
|
8
|
+
import { Label as _ } from "./index273.js";
|
|
9
9
|
import { LoadingSpinner as M } from "./index131.js";
|
|
10
10
|
const $ = ({
|
|
11
11
|
invoiceId: r,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as r } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as s } from "./
|
|
2
|
+
import { getAPIErrorMessage as s } from "./index121.js";
|
|
3
3
|
import { useLingui as o } from "@lingui/react";
|
|
4
4
|
import { toast as n } from "react-hot-toast";
|
|
5
5
|
const m = () => {
|
|
@@ -8,7 +8,7 @@ import { useLingui as g, Trans as h } from "@lingui/react";
|
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "./index57.js";
|
|
10
10
|
import "@mui/x-data-grid";
|
|
11
|
-
import { ConfirmationModal as b } from "./
|
|
11
|
+
import { ConfirmationModal as b } from "./index253.js";
|
|
12
12
|
import w from "deep-eql";
|
|
13
13
|
import { usePreviousDistinct as y } from "react-use";
|
|
14
14
|
const $ = ({
|
|
@@ -10,10 +10,10 @@ import { getCounterpartName as J, getCounterpartEmail as K } from "./index7.js";
|
|
|
10
10
|
import { useGetReceivableById as O } from "./index82.js";
|
|
11
11
|
import { DialogHeader as U, DialogTitle as V, DialogDescription as W, DialogFooter as X } from "./index222.js";
|
|
12
12
|
import { Button as C } from "./index84.js";
|
|
13
|
-
import { Input as Z } from "./
|
|
14
|
-
import { Textarea as tt } from "./
|
|
13
|
+
import { Input as Z } from "./index118.js";
|
|
14
|
+
import { Textarea as tt } from "./index119.js";
|
|
15
15
|
import { Typography as o } from "./index85.js";
|
|
16
|
-
import { formatFileSize as et } from "./
|
|
16
|
+
import { formatFileSize as et } from "./index367.js";
|
|
17
17
|
const bt = ({
|
|
18
18
|
receivableId: s,
|
|
19
19
|
counterpartId: $,
|
|
@@ -8,7 +8,7 @@ import { useCurrencies as A } from "./index58.js";
|
|
|
8
8
|
import "./index92.js";
|
|
9
9
|
import "react-dom";
|
|
10
10
|
import "@mui/x-data-grid";
|
|
11
|
-
import { useGetMeasureUnits as L } from "./
|
|
11
|
+
import { useGetMeasureUnits as L } from "./index275.js";
|
|
12
12
|
import { DialogHeader as U, DialogTitle as B, DialogFooter as G } from "./index222.js";
|
|
13
13
|
import { Button as p } from "./index84.js";
|
|
14
14
|
import { Checkbox as x } from "./index350.js";
|
|
@@ -1,12 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsx as o, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { LoadingSpinner as f } from "./index131.js";
|
|
3
|
+
import { Button as t } from "./index84.js";
|
|
4
|
+
import { Dialog as C, DialogContent as u, DialogHeader as D, DialogTitle as b, DialogDescription as w, DialogFooter as L } from "./index222.js";
|
|
5
|
+
import { useLingui as v } from "@lingui/react";
|
|
6
|
+
const P = ({
|
|
7
|
+
open: e,
|
|
8
|
+
title: l,
|
|
9
|
+
message: s,
|
|
10
|
+
children: c,
|
|
11
|
+
confirmLabel: d,
|
|
12
|
+
cancelLabel: m,
|
|
13
|
+
onClose: a,
|
|
14
|
+
onConfirm: p,
|
|
15
|
+
container: g,
|
|
16
|
+
isLoading: r = !1
|
|
17
|
+
}) => {
|
|
18
|
+
const {
|
|
19
|
+
i18n: h
|
|
20
|
+
} = v();
|
|
21
|
+
return /* @__PURE__ */ o(C, { open: e, onOpenChange: a, "aria-label": h._("Confirmation dialog"), children: /* @__PURE__ */ n(u, { container: g, showCloseButton: !1, children: [
|
|
22
|
+
/* @__PURE__ */ o(D, { children: /* @__PURE__ */ o(b, { children: l }) }),
|
|
23
|
+
/* @__PURE__ */ o(w, { children: s || c }),
|
|
24
|
+
/* @__PURE__ */ n(L, { children: [
|
|
25
|
+
/* @__PURE__ */ o(t, { onClick: (i) => {
|
|
26
|
+
i.stopPropagation(), a();
|
|
27
|
+
}, variant: "outline", children: m }),
|
|
28
|
+
/* @__PURE__ */ n(t, { onClick: (i) => {
|
|
29
|
+
i.stopPropagation(), p();
|
|
30
|
+
}, disabled: r, variant: "destructive", children: [
|
|
31
|
+
r && /* @__PURE__ */ o(f, { className: "ttw:w-5 ttw:h-5 ttw:border-inherit ttw:border-t-transparent" }),
|
|
32
|
+
d
|
|
33
|
+
] })
|
|
34
|
+
] })
|
|
35
|
+
] }) });
|
|
36
|
+
};
|
|
10
37
|
export {
|
|
11
|
-
|
|
38
|
+
P as ConfirmationModal
|
|
12
39
|
};
|
|
@@ -1,75 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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 "./index365.js";
|
|
6
|
+
import { twMerge as h } from "tailwind-merge";
|
|
7
|
+
const x = ({
|
|
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
|
+
] })
|
|
24
51
|
] });
|
|
25
|
-
}
|
|
26
|
-
function x({
|
|
27
|
-
className: e,
|
|
28
|
-
children: s,
|
|
29
|
-
position: o = "popper",
|
|
30
|
-
...r
|
|
31
|
-
}) {
|
|
32
|
-
return /* @__PURE__ */ t(a.Portal, { children: /* @__PURE__ */ l(a.Content, { "data-slot": "select-content", className: n("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", o === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", e), position: o, ...r, children: [
|
|
33
|
-
/* @__PURE__ */ t(c, {}),
|
|
34
|
-
/* @__PURE__ */ t(a.Viewport, { className: n("ttw:p-1", o === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"), children: s }),
|
|
35
|
-
/* @__PURE__ */ t(u, {})
|
|
36
|
-
] }) });
|
|
37
|
-
}
|
|
38
|
-
function b({
|
|
39
|
-
className: e,
|
|
40
|
-
children: s,
|
|
41
|
-
...o
|
|
42
|
-
}) {
|
|
43
|
-
return /* @__PURE__ */ l(a.Item, { "data-slot": "select-item", className: n("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", e), ...o, children: [
|
|
44
|
-
/* @__PURE__ */ t("span", { className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(a.ItemIndicator, { children: /* @__PURE__ */ t(w, { className: "ttw:size-4" }) }) }),
|
|
45
|
-
/* @__PURE__ */ t(a.ItemText, { children: s })
|
|
46
|
-
] });
|
|
47
|
-
}
|
|
48
|
-
function N({
|
|
49
|
-
className: e,
|
|
50
|
-
...s
|
|
51
|
-
}) {
|
|
52
|
-
return /* @__PURE__ */ t(a.Separator, { "data-slot": "select-separator", className: n("ttw:bg-border ttw:pointer-events-none ttw:-mx-1 ttw:my-1 ttw:h-px", e), ...s });
|
|
53
|
-
}
|
|
54
|
-
function c({
|
|
55
|
-
className: e,
|
|
56
|
-
...s
|
|
57
|
-
}) {
|
|
58
|
-
return /* @__PURE__ */ t(a.ScrollUpButton, { "data-slot": "select-scroll-up-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(d, { className: "ttw:size-4" }) });
|
|
59
|
-
}
|
|
60
|
-
function u({
|
|
61
|
-
className: e,
|
|
62
|
-
...s
|
|
63
|
-
}) {
|
|
64
|
-
return /* @__PURE__ */ t(a.ScrollDownButton, { "data-slot": "select-scroll-down-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(i, { className: "ttw:size-4" }) });
|
|
65
|
-
}
|
|
52
|
+
};
|
|
66
53
|
export {
|
|
67
|
-
|
|
68
|
-
x as SelectContent,
|
|
69
|
-
b as SelectItem,
|
|
70
|
-
u as SelectScrollDownButton,
|
|
71
|
-
c as SelectScrollUpButton,
|
|
72
|
-
N as SelectSeparator,
|
|
73
|
-
v as SelectTrigger,
|
|
74
|
-
h as SelectValue
|
|
54
|
+
x as PDFSettings
|
|
75
55
|
};
|
|
@@ -1,46 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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
|
-
...a
|
|
30
|
-
}) {
|
|
31
|
-
return /* @__PURE__ */ e("th", { "data-slot": "table-head", className: l("ttw:h-10 ttw:px-2 ttw:text-left ttw:align-middle ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
32
|
-
}
|
|
33
|
-
function b({
|
|
34
|
-
className: t,
|
|
35
|
-
...a
|
|
36
|
-
}) {
|
|
37
|
-
return /* @__PURE__ */ e("td", { "data-slot": "table-cell", className: l("ttw:p-2 ttw:align-middle ttw:whitespace-nowrap ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
38
|
-
}
|
|
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
|
+
});
|
|
28
|
+
};
|
|
39
29
|
export {
|
|
40
|
-
|
|
41
|
-
c as TableBody,
|
|
42
|
-
b as TableCell,
|
|
43
|
-
d as TableHead,
|
|
44
|
-
w as TableHeader,
|
|
45
|
-
n as TableRow
|
|
30
|
+
c as usePatchEntitySettings
|
|
46
31
|
};
|
|
@@ -1,22 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const {
|
|
6
|
-
i18n: e
|
|
7
|
-
} = s(), {
|
|
8
|
-
api: t,
|
|
9
|
-
queryClient: o
|
|
10
|
-
} = n();
|
|
11
|
-
return t.finops.deleteCounterpartsId.useMutation(void 0, {
|
|
12
|
-
onSuccess: async () => {
|
|
13
|
-
await t.finops.getCounterparts.invalidateQueries(o), r.success(e._("Counterpart has been deleted."));
|
|
14
|
-
},
|
|
15
|
-
onError: () => {
|
|
16
|
-
r.error(e._("Failed to delete Counterpart."));
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
};
|
|
1
|
+
import { zodResolver as e } from "@hookform/resolvers/zod";
|
|
2
|
+
function t(o) {
|
|
3
|
+
return e(o);
|
|
4
|
+
}
|
|
20
5
|
export {
|
|
21
|
-
|
|
6
|
+
t as safeZodResolver
|
|
22
7
|
};
|
|
@@ -1,39 +1,79 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
children: c,
|
|
11
|
-
confirmLabel: d,
|
|
12
|
-
cancelLabel: m,
|
|
13
|
-
onClose: a,
|
|
14
|
-
onConfirm: p,
|
|
15
|
-
container: g,
|
|
16
|
-
isLoading: r = !1
|
|
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 "./index154.js";
|
|
6
|
+
import { Input as g } from "./index118.js";
|
|
7
|
+
import { Checkbox as S } from "./index350.js";
|
|
8
|
+
const E = ({
|
|
9
|
+
control: o
|
|
17
10
|
}) => {
|
|
18
11
|
const {
|
|
19
|
-
i18n:
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
+
] });
|
|
36
76
|
};
|
|
37
77
|
export {
|
|
38
|
-
|
|
78
|
+
E as InvoiceNumbering
|
|
39
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
|
};
|