@tesouro/embedded-components-react 0.2.94 → 0.2.96
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/core.js +1 -1
- package/dist/lib/ReceivablesWidget.js +17 -17
- package/dist/libs/embedded-banking/shared/util/dist/index10.js +2 -2
- package/dist/libs/embedded-banking/shared/util/dist/index11.js +2 -2
- package/dist/libs/embedded-banking/shared/util/dist/index12.js +4 -0
- package/dist/libs/embedded-banking/shared/util/dist/index9.js +143 -2
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +35 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +12 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +1 -1
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +10 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +20 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +113 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +11 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -201
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +45 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +54 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +196 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +78 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +29 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +114 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +70 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +201 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +29 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +109 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +131 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +18 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +25 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +19 -390
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +183 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +12 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +47 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +88 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +44 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +203 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +390 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +96 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +94 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.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/index240.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +1 -1
- 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/index253.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +1 -1
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +490 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +168 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +67 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +60 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +30 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +113 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +21 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +44 -10
- 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 +53 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +95 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +95 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +182 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +44 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +10 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +17 -93
- 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 +27 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +36 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +59 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +92 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +107 -298
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +83 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +149 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +19 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +55 -18
- 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 +27 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +52 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +17 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +57 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +16 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +170 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +131 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +160 -17
- 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 +10 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +18 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +60 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +65 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +59 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +6 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +8 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +52 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +61 -9
- 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 +14 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +19 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +40 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +80 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +23 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +127 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +154 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +29 -2
- 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 +76 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +74 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +41 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +36 -486
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +337 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +303 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +103 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +160 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +267 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +24 -28
- 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 +20 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +32 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +46 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +40 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +29 -11
- 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 +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +100 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +21 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +20 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +55 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +24 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +70 -53
- 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 +94 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +66 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +38 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +25 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +31 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +127 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +118 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +73 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +10 -10
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +50 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +53 -37
- 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 +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +23 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +33 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +7 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +54 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +20 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +64 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +18 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +14 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +65 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +2 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +92 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +35 -7
- 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 +12 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +5 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +72 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +67 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +8 -21
- 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 +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +85 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +23 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +105 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +112 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +51 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +46 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +80 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +29 -40
- 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 +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +70 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +85 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +54 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +52 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +55 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +55 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +21 -19
- 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 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +67 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +39 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +18 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +37 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +15 -39
- 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 +15 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +49 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +28 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +50 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +92 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +15 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +74 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +48 -20
- 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/onboarding-widget/feature/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/profile-widget/feature/dist/index2.js +50 -49
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useSubEntityForm.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/useProductForm.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index10.js +6 -117
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index11.js +116 -64
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index12.js +65 -6
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index13.js +6 -40
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index14.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index5.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index6.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index7.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index8.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index9.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/tags-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +1 -1
- package/package.json +1 -1
- package/dist/libs/embedded-banking/shared/util/dist/index8.js +0 -145
|
@@ -1,98 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import { useMyEntity as P } from "./index78.js";
|
|
13
|
-
import { SquarePen as T, Trash2 as k } from "lucide-react";
|
|
14
|
-
import { Button as x } from "./index84.js";
|
|
15
|
-
import { Typography as l } from "./index85.js";
|
|
16
|
-
import { useUploadEntityLogo as B } from "./index369.js";
|
|
17
|
-
import { useDeleteEntityLogo as U } from "./index370.js";
|
|
18
|
-
import { DragAndDropBox as A } from "./index371.js";
|
|
19
|
-
import { Skeleton as j } from "./index132.js";
|
|
20
|
-
const st = () => {
|
|
21
|
-
const {
|
|
22
|
-
i18n: o
|
|
23
|
-
} = $(), {
|
|
24
|
-
data: i,
|
|
25
|
-
isLoading: m
|
|
26
|
-
} = P(), c = i?.id ?? "", {
|
|
27
|
-
FileInput: D,
|
|
28
|
-
openFileInput: d,
|
|
29
|
-
checkFileError: N,
|
|
30
|
-
resetInput: p
|
|
31
|
-
} = z({
|
|
32
|
-
acceptedFormats: C,
|
|
33
|
-
maxFileSizeInMB: M
|
|
34
|
-
}), [f, s] = v(!1), [g, n] = v(""), {
|
|
35
|
-
mutateAsync: _,
|
|
36
|
-
isSuccess: b,
|
|
37
|
-
isError: w,
|
|
38
|
-
isPending: u,
|
|
39
|
-
reset: E
|
|
40
|
-
} = B(), {
|
|
41
|
-
mutate: S,
|
|
42
|
-
isPending: F
|
|
43
|
-
} = U(c);
|
|
44
|
-
async function h(t) {
|
|
45
|
-
if (t) {
|
|
46
|
-
const a = N(t);
|
|
47
|
-
if (a) {
|
|
48
|
-
I.error(a);
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
n(t.name), await _({
|
|
52
|
-
body: {
|
|
53
|
-
file: t
|
|
54
|
-
},
|
|
55
|
-
path: {
|
|
56
|
-
entity_id: c
|
|
57
|
-
}
|
|
58
|
-
}), p(), n("");
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
const L = u || w, y = !!i?.logo && !g && !L && !m;
|
|
62
|
-
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
63
|
-
/* @__PURE__ */ r("div", { className: "ttw:pt-5 ttw:pb-2.5 ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
64
|
-
/* @__PURE__ */ e(l, { variant: "h3", children: o._("Branding") }),
|
|
65
|
-
/* @__PURE__ */ e(l, { variant: "body2", color: "muted", children: o._("Control how your invoices will appear to your customers by adding your company's logo. Changes apply to new invoices only.") })
|
|
66
|
-
] }),
|
|
67
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", onDragEnter: (t) => {
|
|
68
|
-
t.preventDefault(), s(!0);
|
|
69
|
-
}, onDragLeave: (t) => {
|
|
70
|
-
t.preventDefault(), s(!1);
|
|
71
|
-
}, onDragOver: (t) => t.preventDefault(), onDrop: (t) => {
|
|
72
|
-
t.preventDefault(), s(!1);
|
|
73
|
-
const a = t.dataTransfer?.files ? t.dataTransfer?.files?.[0] : null;
|
|
74
|
-
h(a);
|
|
75
|
-
}, children: [
|
|
76
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
77
|
-
/* @__PURE__ */ e(l, { variant: "body1", className: "ttw:font-medium", children: o._("Upload your company logo") }),
|
|
78
|
-
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:leading-5", color: "muted", children: o._("Proudly display your logo on all your invoices.") })
|
|
79
|
-
] }),
|
|
80
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:items-end ttw:gap-2", children: [
|
|
81
|
-
m ? /* @__PURE__ */ e(j, { className: "ttw:w-full ttw:h-38 ttw:bg-zinc-200" }) : /* @__PURE__ */ e(O, { children: y ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:w-full ttw:h-38 ttw:box-border", children: /* @__PURE__ */ e("img", { src: i?.logo?.url, className: "ttw:w-auto ttw:max-w-full ttw:object-contain ttw:max-h-38", alt: o._("Organization logo") }) }) : /* @__PURE__ */ e(A, { isUploading: u, isSuccess: b, isError: w, isDraggingOver: f, fileName: g, resetUpload: () => {
|
|
82
|
-
p(), E(), n("");
|
|
83
|
-
}, onClick: d }) }),
|
|
84
|
-
!f && y && /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
85
|
-
/* @__PURE__ */ e(x, { variant: "ghost", size: "sm", onClick: d, "aria-label": o._("Edit logo"), children: /* @__PURE__ */ e(T, { className: "ttw:size-4 ttw:w-fit" }) }),
|
|
86
|
-
i?.logo && /* @__PURE__ */ e(x, { variant: "ghost", size: "sm", disabled: F, "aria-label": o._("Delete logo"), onClick: () => S(), children: /* @__PURE__ */ e(k, { className: "ttw:size-4" }) })
|
|
87
|
-
] })
|
|
88
|
-
] }),
|
|
89
|
-
/* @__PURE__ */ e(D, { onChange: (t) => {
|
|
90
|
-
const a = t.target.files ? t.target.files[0] : null;
|
|
91
|
-
h(a);
|
|
92
|
-
} })
|
|
93
|
-
] })
|
|
94
|
-
] });
|
|
1
|
+
import { useRef as l, useCallback as n } from "react";
|
|
2
|
+
const a = () => {
|
|
3
|
+
const e = l(null), t = n((r) => {
|
|
4
|
+
e.current = r;
|
|
5
|
+
}, []), u = n(() => {
|
|
6
|
+
e.current?.();
|
|
7
|
+
}, []);
|
|
8
|
+
return {
|
|
9
|
+
registerLineItemCleanupFn: t,
|
|
10
|
+
runLineItemCleanup: u
|
|
11
|
+
};
|
|
95
12
|
};
|
|
96
13
|
export {
|
|
97
|
-
|
|
14
|
+
a as useLineItemSubmitCleanup
|
|
98
15
|
};
|
|
@@ -1,103 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { usePatchEntitySettings as w } from "./index266.js";
|
|
8
|
-
import { safeZodResolver as F } from "./index267.js";
|
|
9
|
-
import { useEffect as P } from "react";
|
|
10
|
-
import { InvoiceNumbering as C } from "./index268.js";
|
|
11
|
-
import { getInvoiceSettingsFormSchema as I } from "./index269.js";
|
|
12
|
-
import { getBankDisplayValue as d, buildDocumentRendering as V } from "./index270.js";
|
|
13
|
-
const Z = ({
|
|
14
|
-
entityId: _,
|
|
15
|
-
entitySettings: e,
|
|
16
|
-
nextNumbers: i,
|
|
17
|
-
isDialog: c
|
|
1
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
2
|
+
const a = ({
|
|
3
|
+
counterpart_billing_address_id: e,
|
|
4
|
+
counterpart_country: r,
|
|
5
|
+
counterpart_id: t,
|
|
6
|
+
counterpart_type: n
|
|
18
7
|
}) => {
|
|
19
8
|
const {
|
|
20
|
-
|
|
21
|
-
} =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
defaultValues: {
|
|
29
|
-
credit_note: e?.document_ids?.document_type_prefix?.credit_note ?? "CN",
|
|
30
|
-
credit_note_number: i?.credit_note ?? 1,
|
|
31
|
-
delivery_note: e?.document_ids?.document_type_prefix?.delivery_note ?? "DN",
|
|
32
|
-
delivery_note_number: i?.delivery_note ?? 1,
|
|
33
|
-
invoice: e?.document_ids?.document_type_prefix?.invoice ?? "INV",
|
|
34
|
-
invoice_number: i?.invoice ?? 1,
|
|
35
|
-
purchase_order: e?.document_ids?.document_type_prefix?.purchase_order ?? "PO",
|
|
36
|
-
purchase_order_number: i?.purchase_order ?? 1,
|
|
37
|
-
quote: e?.document_ids?.document_type_prefix?.quote ?? "Q",
|
|
38
|
-
quote_number: i?.quote ?? 1,
|
|
39
|
-
include_date: e?.document_ids?.include_date ?? !1,
|
|
40
|
-
min_digits: e?.document_ids?.min_digits ?? 5,
|
|
41
|
-
prefix: e?.document_ids?.prefix ?? "",
|
|
42
|
-
separator: e?.document_ids?.separator ?? "-",
|
|
43
|
-
invoice_bank_display: d(e?.document_rendering?.invoice, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
44
|
-
credit_note_bank_display: d(e?.document_rendering?.credit_note, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
45
|
-
quote_bank_display: d(e?.document_rendering?.quote, !!(e?.document_rendering?.display_organization_bank_account ?? !1)),
|
|
46
|
-
update_paid_invoices: e?.generate_paid_invoice_pdf ?? !1,
|
|
47
|
-
quote_signature_display: e?.document_rendering?.quote?.display_signature ?? !1,
|
|
48
|
-
quote_electronic_signature: e?.quote_signature_required ?? !1
|
|
9
|
+
api: i
|
|
10
|
+
} = o();
|
|
11
|
+
return i.finops.getReceivablesRequiredFields.useQuery({
|
|
12
|
+
query: {
|
|
13
|
+
counterpart_billing_address_id: e,
|
|
14
|
+
counterpart_country: r,
|
|
15
|
+
counterpart_id: t,
|
|
16
|
+
counterpart_type: n
|
|
49
17
|
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
formState: n,
|
|
54
|
-
reset: g
|
|
55
|
-
} = o, f = (t) => {
|
|
56
|
-
const {
|
|
57
|
-
dirtyFields: y
|
|
58
|
-
} = n, v = V(e?.document_rendering, t), b = y.invoice_number;
|
|
59
|
-
m({
|
|
60
|
-
path: {
|
|
61
|
-
entity_id: _
|
|
62
|
-
},
|
|
63
|
-
body: {
|
|
64
|
-
...e,
|
|
65
|
-
document_ids: {
|
|
66
|
-
document_type_prefix: {
|
|
67
|
-
invoice: t.invoice,
|
|
68
|
-
credit_note: t.credit_note,
|
|
69
|
-
delivery_note: t.delivery_note,
|
|
70
|
-
purchase_order: t.purchase_order,
|
|
71
|
-
quote: t.quote
|
|
72
|
-
},
|
|
73
|
-
...b && {
|
|
74
|
-
next_number: {
|
|
75
|
-
invoice: t.invoice_number
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
min_digits: t.min_digits,
|
|
79
|
-
separator: t.separator,
|
|
80
|
-
include_date: t.include_date,
|
|
81
|
-
prefix: t.prefix || null
|
|
82
|
-
},
|
|
83
|
-
document_rendering: v,
|
|
84
|
-
generate_paid_invoice_pdf: t.update_paid_invoices,
|
|
85
|
-
quote_signature_required: t.quote_electronic_signature === !0 || t.quote_electronic_signature === "true"
|
|
86
|
-
}
|
|
87
|
-
}, {
|
|
88
|
-
onSuccess: () => {
|
|
89
|
-
g(o.getValues());
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
return P(() => {
|
|
94
|
-
s(n?.isDirty);
|
|
95
|
-
}, [n?.isDirty, s]), /* @__PURE__ */ r(D, { ...o, children: /* @__PURE__ */ x("form", { className: "ttw:flex ttw:flex-col ttw:gap-6", onSubmit: l(f), children: [
|
|
96
|
-
/* @__PURE__ */ r(C, { control: u }),
|
|
97
|
-
/* @__PURE__ */ r(q, { control: u, isDialog: c }),
|
|
98
|
-
/* @__PURE__ */ r(h, { type: "submit", className: "ttw:w-fit", disabled: p || !n?.isDirty, children: a._("Save changes") })
|
|
99
|
-
] }) });
|
|
18
|
+
}, {
|
|
19
|
+
enabled: !!e && !!t
|
|
20
|
+
});
|
|
100
21
|
};
|
|
101
22
|
export {
|
|
102
|
-
|
|
23
|
+
a as useGetInvoiceRequiredFields
|
|
103
24
|
};
|
|
@@ -1,20 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
import { useMemo as A } from "react";
|
|
2
|
+
import { useLingui as E } from "@lingui/react";
|
|
3
|
+
import { useUserPermissions as k } from "./index141.js";
|
|
4
|
+
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
5
|
+
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
6
|
+
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
7
|
+
import "@tanstack/react-query";
|
|
8
|
+
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
9
|
+
import { Scope as i } from "../../shared/data-access/dist/lib/scopes.js";
|
|
10
|
+
import { getLineLabel as u } from "./index360.js";
|
|
11
|
+
import { useGetEmbeddedBankAccounts as f } from "./index363.js";
|
|
12
|
+
import { useGetEntityBankAccounts as L } from "./index364.js";
|
|
13
|
+
import { useGetExternalBankAccounts as g } from "./index365.js";
|
|
14
|
+
const V = (t = !0) => {
|
|
10
15
|
const {
|
|
11
16
|
i18n: o
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
} = E(), n = k(), m = t && n.has(i.BankAccountReadOrg), s = t && n.has(i.ExternalBankAccountReadOrg), {
|
|
18
|
+
data: e,
|
|
19
|
+
isLoading: d
|
|
20
|
+
} = L(void 0, t), {
|
|
21
|
+
data: c,
|
|
22
|
+
isLoading: p
|
|
23
|
+
} = f(void 0, m), {
|
|
24
|
+
data: r,
|
|
25
|
+
isLoading: _
|
|
26
|
+
} = g(void 0, s), l = d || p || _;
|
|
27
|
+
return {
|
|
28
|
+
bankAccounts: A(() => [...(e?.data ?? []).map((a) => ({
|
|
29
|
+
id: a.id,
|
|
30
|
+
display_name: a.display_name,
|
|
31
|
+
account_number: a.account_number,
|
|
32
|
+
account_number_last4: a.account_number_last4,
|
|
33
|
+
bank_account_type: "BANK_DETAILS"
|
|
34
|
+
})), ...(c?.data ?? []).filter((a) => a.status === "ACTIVE").map((a) => ({
|
|
35
|
+
id: a.id,
|
|
36
|
+
display_name: a.nickname,
|
|
37
|
+
account_number: a.accountNumber,
|
|
38
|
+
account_number_last4: null,
|
|
39
|
+
bank_account_type: "INTERNAL"
|
|
40
|
+
})), ...(r?.data ?? []).filter((a) => a.accountStatus === "ACTIVE" && a.verificationStatus === "VERIFIED").map((a) => ({
|
|
41
|
+
id: a.id,
|
|
42
|
+
display_name: a.nickname || a.nameOnAccount,
|
|
43
|
+
account_number: a.accountNumber,
|
|
44
|
+
account_number_last4: null,
|
|
45
|
+
bank_account_type: "EXTERNAL"
|
|
46
|
+
}))].sort((a, b) => u(a, o).localeCompare(u(b, o))), [e, c, r, o]),
|
|
47
|
+
isLoading: l
|
|
48
|
+
};
|
|
17
49
|
};
|
|
18
50
|
export {
|
|
19
|
-
|
|
51
|
+
V as useSelectableBankAccounts
|
|
20
52
|
};
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
const {
|
|
4
|
-
api: n
|
|
5
|
-
} = i();
|
|
6
|
-
return n.finops.getEntitiesIdSettings.useQuery({
|
|
7
|
-
path: {
|
|
8
|
-
entity_id: t
|
|
9
|
-
}
|
|
10
|
-
}, {
|
|
11
|
-
enabled: e && !!t
|
|
12
|
-
});
|
|
13
|
-
};
|
|
1
|
+
import { toMinorUnits as r, fromMinorUnits as a } from "./index120.js";
|
|
2
|
+
const s = (o) => a(o), t = (o) => r(o);
|
|
14
3
|
export {
|
|
15
|
-
|
|
4
|
+
t as rateMajorToMinor,
|
|
5
|
+
s as rateMinorToMajor
|
|
16
6
|
};
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} = o();
|
|
6
|
-
return n.finops.getDocumentsIdNextNumbers.useQuery({
|
|
7
|
-
path: {
|
|
8
|
-
entity_id: t
|
|
9
|
-
}
|
|
10
|
-
}, {
|
|
11
|
-
enabled: e && !!t
|
|
12
|
-
});
|
|
13
|
-
};
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CenteredContentBox as r } from "./index230.js";
|
|
3
|
+
import { LoadingSpinner as n } from "./index131.js";
|
|
4
|
+
const m = () => /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(n, {}) });
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
m as LoadingPage
|
|
16
7
|
};
|
|
@@ -1,29 +1,90 @@
|
|
|
1
|
-
import { jsx as
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { jsx as e, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as c } from "lucide-react";
|
|
5
|
+
function x({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "dialog", ...t });
|
|
9
|
+
}
|
|
10
|
+
function u({
|
|
11
|
+
...t
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e(o.Portal, { "data-slot": "dialog-portal", ...t });
|
|
14
|
+
}
|
|
15
|
+
function v({
|
|
16
|
+
...t
|
|
17
|
+
}) {
|
|
18
|
+
return /* @__PURE__ */ e(o.Close, { "data-slot": "dialog-close", ...t });
|
|
19
|
+
}
|
|
20
|
+
function g({
|
|
21
|
+
className: t,
|
|
22
|
+
...a
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ e(o.Overlay, { "data-slot": "dialog-overlay", className: s("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:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...a });
|
|
25
|
+
}
|
|
26
|
+
function N({
|
|
27
|
+
className: t,
|
|
28
|
+
children: a,
|
|
29
|
+
showCloseButton: r = !0,
|
|
30
|
+
fullScreen: i = !1,
|
|
31
|
+
container: l = typeof document < "u" ? document.body : null,
|
|
32
|
+
...d
|
|
33
|
+
}) {
|
|
34
|
+
return /* @__PURE__ */ n(u, { container: l, "data-slot": "dialog-portal", children: [
|
|
35
|
+
/* @__PURE__ */ e(g, {}),
|
|
36
|
+
/* @__PURE__ */ n(
|
|
37
|
+
o.Content,
|
|
38
|
+
{
|
|
39
|
+
"data-slot": "dialog-content",
|
|
40
|
+
className: s("ttw:bg-background 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:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", i && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", t),
|
|
41
|
+
...d,
|
|
42
|
+
onCloseAutoFocus: (w) => {
|
|
43
|
+
w.preventDefault(), (l ?? document.body).style.pointerEvents = "";
|
|
44
|
+
},
|
|
45
|
+
children: [
|
|
46
|
+
a,
|
|
47
|
+
r && /* @__PURE__ */ n(o.Close, { "data-slot": "dialog-close", className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", children: [
|
|
48
|
+
/* @__PURE__ */ e(c, {}),
|
|
49
|
+
/* @__PURE__ */ e("span", { className: "ttw:sr-only", children: "Close" })
|
|
50
|
+
] })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
] });
|
|
55
|
+
}
|
|
56
|
+
function b({
|
|
57
|
+
className: t,
|
|
58
|
+
...a
|
|
59
|
+
}) {
|
|
60
|
+
return /* @__PURE__ */ e("div", { "data-slot": "dialog-header", className: s("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", t), ...a });
|
|
61
|
+
}
|
|
62
|
+
function h({
|
|
63
|
+
className: t,
|
|
64
|
+
...a
|
|
65
|
+
}) {
|
|
66
|
+
return /* @__PURE__ */ e("div", { "data-slot": "dialog-footer", className: s("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", t), ...a });
|
|
67
|
+
}
|
|
68
|
+
function y({
|
|
69
|
+
className: t,
|
|
70
|
+
...a
|
|
71
|
+
}) {
|
|
72
|
+
return /* @__PURE__ */ e(o.Title, { "data-slot": "dialog-title", className: s("ttw:text-lg ttw:leading-none ttw:font-semibold", t), ...a });
|
|
73
|
+
}
|
|
74
|
+
function D({
|
|
75
|
+
className: t,
|
|
76
|
+
...a
|
|
77
|
+
}) {
|
|
78
|
+
return /* @__PURE__ */ e(o.Description, { "data-slot": "dialog-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...a });
|
|
79
|
+
}
|
|
27
80
|
export {
|
|
28
|
-
|
|
81
|
+
x as Dialog,
|
|
82
|
+
v as DialogClose,
|
|
83
|
+
N as DialogContent,
|
|
84
|
+
D as DialogDescription,
|
|
85
|
+
h as DialogFooter,
|
|
86
|
+
b as DialogHeader,
|
|
87
|
+
g as DialogOverlay,
|
|
88
|
+
u as DialogPortal,
|
|
89
|
+
y as DialogTitle
|
|
29
90
|
};
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { useLingui as p } from "@lingui/react";
|
|
4
|
-
import { twMerge as c } from "tailwind-merge";
|
|
5
|
-
const d = ({
|
|
6
|
-
type: e
|
|
7
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
const n = () => {
|
|
8
3
|
const {
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
return
|
|
4
|
+
api: e
|
|
5
|
+
} = s();
|
|
6
|
+
return e.finops.getMeasureUnits.useQuery();
|
|
12
7
|
};
|
|
13
8
|
export {
|
|
14
|
-
|
|
9
|
+
n as useGetMeasureUnits
|
|
15
10
|
};
|
|
@@ -1,22 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as e, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as l } from "./index85.js";
|
|
3
|
+
import { useLingui as m } from "@lingui/react";
|
|
4
|
+
import { PaymentSection as c } from "./index351.js";
|
|
5
|
+
import { useFormContext as p, Controller as w } from "react-hook-form";
|
|
6
|
+
import { Field as f, FieldContent as h, FieldLabel as u, FieldError as b } from "./index153.js";
|
|
7
|
+
import { Input as g } from "./index117.js";
|
|
8
|
+
import { RecurrenceSection as x } from "./index352.js";
|
|
9
|
+
import { RemindersSection as y } from "./index353.js";
|
|
10
|
+
const j = ({
|
|
11
|
+
paymentTerms: n,
|
|
12
|
+
disabled: i,
|
|
13
|
+
isPaymentTermsLoading: d
|
|
9
14
|
}) => {
|
|
10
15
|
const {
|
|
11
|
-
i18n:
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
i18n: r
|
|
17
|
+
} = m(), {
|
|
18
|
+
control: s
|
|
19
|
+
} = p();
|
|
20
|
+
return /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
22
|
+
/* @__PURE__ */ t(l, { variant: "h4", children: r._("Billing details") }),
|
|
23
|
+
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:font-medium", children: r._("What are the billing terms?") })
|
|
24
|
+
] }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-6", children: [
|
|
26
|
+
/* @__PURE__ */ t(x, {}),
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-start ttw:gap-2.5 ttw:w-full", children: [
|
|
28
|
+
/* @__PURE__ */ t(c, { paymentTerms: n, disabled: i, isLoading: d }),
|
|
29
|
+
/* @__PURE__ */ t(w, { name: "purchase_order", control: s, render: ({
|
|
30
|
+
field: a,
|
|
31
|
+
fieldState: {
|
|
32
|
+
error: o
|
|
33
|
+
}
|
|
34
|
+
}) => /* @__PURE__ */ t(f, { children: /* @__PURE__ */ e(h, { children: [
|
|
35
|
+
/* @__PURE__ */ e(u, { htmlFor: a.name, className: "ttw:text-nowrap", children: [
|
|
36
|
+
r._("PO Number"),
|
|
37
|
+
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
38
|
+
] }),
|
|
39
|
+
/* @__PURE__ */ t(g, { ...a, id: a.name, disabled: i, "aria-invalid": !!o }),
|
|
40
|
+
/* @__PURE__ */ t(b, { errors: o ? [o] : [] })
|
|
41
|
+
] }) }) })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ t(y, { disabled: i })
|
|
44
|
+
] })
|
|
45
|
+
] });
|
|
19
46
|
};
|
|
20
47
|
export {
|
|
21
|
-
|
|
48
|
+
j as BillingSection
|
|
22
49
|
};
|
|
@@ -1,23 +1,52 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as i } from "./index85.js";
|
|
3
|
+
import { useLingui as w } from "@lingui/react";
|
|
4
|
+
import { useFormContext as f, Controller as s } from "react-hook-form";
|
|
5
|
+
import { Field as d, FieldContent as c, FieldLabel as m, FieldDescription as h, FieldError as p } from "./index153.js";
|
|
6
|
+
import { Textarea as u } from "./index118.js";
|
|
7
|
+
const _ = ({
|
|
8
|
+
disabled: n
|
|
8
9
|
}) => {
|
|
9
10
|
const {
|
|
10
|
-
|
|
11
|
-
} =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
i18n: t
|
|
12
|
+
} = w(), {
|
|
13
|
+
control: l
|
|
14
|
+
} = f();
|
|
15
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
16
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
17
|
+
/* @__PURE__ */ e(i, { variant: "h4", children: t._("Notes") }),
|
|
18
|
+
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:font-medium", children: t._("Provide additional information for your customer.") })
|
|
19
|
+
] }),
|
|
20
|
+
/* @__PURE__ */ e(s, { name: "memo", control: l, render: ({
|
|
21
|
+
field: r,
|
|
22
|
+
fieldState: {
|
|
23
|
+
error: o
|
|
24
|
+
}
|
|
25
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a(c, { children: [
|
|
26
|
+
/* @__PURE__ */ a(m, { htmlFor: r.name, className: "ttw:text-nowrap", children: [
|
|
27
|
+
t._("Opening note to the customer"),
|
|
28
|
+
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: t._("(optional)") })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ e(u, { ...r, id: r.name, disabled: n, placeholder: t._("e.g., As discussed on our call, please find the attached invoice."), className: "ttw:h-26 ttw:resize-none", "aria-invalid": !!o }),
|
|
31
|
+
/* @__PURE__ */ e(h, { children: t._("Appears above your line items. Use it to reference a discussion, agreement, or project.") }),
|
|
32
|
+
/* @__PURE__ */ e(p, { errors: o ? [o] : [] })
|
|
33
|
+
] }) }) }),
|
|
34
|
+
/* @__PURE__ */ e(s, { name: "footer", control: l, render: ({
|
|
35
|
+
field: r,
|
|
36
|
+
fieldState: {
|
|
37
|
+
error: o
|
|
38
|
+
}
|
|
39
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a(c, { children: [
|
|
40
|
+
/* @__PURE__ */ a(m, { htmlFor: r.name, className: "ttw:text-nowrap", children: [
|
|
41
|
+
t._("Closing note to the customer"),
|
|
42
|
+
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: t._("(optional)") })
|
|
43
|
+
] }),
|
|
44
|
+
/* @__PURE__ */ e(u, { ...r, id: r.name, disabled: n, placeholder: t._("e.g., Thank you for your business!"), className: "ttw:h-26 ttw:resize-none", "aria-invalid": !!o }),
|
|
45
|
+
/* @__PURE__ */ e(h, { children: t._("Appears below your line items. Commonly used for thank you messages or payment instructions.") }),
|
|
46
|
+
/* @__PURE__ */ e(p, { errors: o ? [o] : [] })
|
|
47
|
+
] }) }) })
|
|
48
|
+
] });
|
|
49
|
+
};
|
|
21
50
|
export {
|
|
22
|
-
|
|
51
|
+
_ as NotesSection
|
|
23
52
|
};
|