@tesouro/embedded-components-react 0.5.82 → 0.5.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/monite-sdk.js +68 -68
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index2.js +7 -23
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index3.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index5.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index6.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index7.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index8.js +3 -43
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +31 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +29 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +33 -55
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +71 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +3 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +49 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +1 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +35 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +64 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +29 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +12 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +110 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +1 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +48 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +32 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +38 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +5 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +23 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +72 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +70 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +24 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +74 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +20 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +445 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +2 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +75 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +57 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +40 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +119 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +4 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +189 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +124 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +152 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +53 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +290 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +6 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +50 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +76 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +85 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +1 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +55 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +37 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +71 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +6 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +79 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +42 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +52 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +62 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +55 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +164 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +1 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +85 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +25 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +598 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +0 -598
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +168 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +10 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +73 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +54 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +5 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +120 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +21 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +6 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +35 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +56 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +70 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +25 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +1 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +181 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +1 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +64 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +31 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +42 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +120 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +62 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +42 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +6 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +423 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +1 -425
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +191 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +97 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +44 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +44 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +48 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +82 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +21 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +1 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +347 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +0 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +162 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +3 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +102 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +172 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +116 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +191 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +11 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +138 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +1 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +166 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +25 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +38 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +151 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +68 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +214 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +37 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +1 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +83 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +14 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +186 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +87 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +12 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +382 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +88 -324
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +192 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +30 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +83 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +132 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +37 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +59 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +139 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +549 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +15 -551
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +145 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +78 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +35 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +60 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +68 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +146 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +54 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +82 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +97 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +42 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +27 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +1 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +105 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +45 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +71 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +100 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +43 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +179 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +125 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +123 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +73 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +232 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +8 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +396 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +22 -396
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +13 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +41 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +43 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +14 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +41 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +144 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +112 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +39 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +21 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +72 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +66 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +17 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +178 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +119 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +30 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +115 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +19 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +36 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +16 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +77 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +50 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +33 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +89 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +48 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +135 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +103 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +50 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +786 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +87 -786
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +97 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +6 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +27 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +171 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +203 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +88 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +17 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +88 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +42 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +24 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +131 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +4 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +11 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +181 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +189 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +88 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +61 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +54 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +83 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +40 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +71 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +4 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +113 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +64 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +138 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index612.js +28 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index613.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index614.js +87 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +3 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index617.js +67 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index619.js +65 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index620.js +32 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index621.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index622.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index623.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index624.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index625.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index626.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index627.js +97 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +186 -175
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +37 -49
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopedClientSecret.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/transportInterceptors.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +39 -36
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +86 -83
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/client.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +0 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index628.js +0 -97
|
@@ -1,191 +1,144 @@
|
|
|
1
1
|
import { Button as e } from "./index55.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import "
|
|
13
|
-
import { InvoiceItemRow as g } from "./index499.js";
|
|
14
|
-
import { InvoiceDiscountField as _ } from "./index500.js";
|
|
15
|
-
import { InvoiceTotals as v } from "./index501.js";
|
|
16
|
-
import { useCallback as y, useEffect as b, useRef as x } from "react";
|
|
17
|
-
import { Plus as S } from "lucide-react";
|
|
18
|
-
import { jsx as C, jsxs as w } from "@emotion/react/jsx-runtime";
|
|
19
|
-
import { useLingui as ee } from "@lingui/react";
|
|
20
|
-
import { Controller as T, useFormContext as E } from "react-hook-form";
|
|
2
|
+
import { Input as t } from "./index88.js";
|
|
3
|
+
import { Typography as n } from "./index61.js";
|
|
4
|
+
import { Field as r, FieldContent as i, FieldError as a, FieldLabel as o } from "./index87.js";
|
|
5
|
+
import { getCreateBankAccountSchema as s } from "./index100.js";
|
|
6
|
+
import { useCreateEntityBankAccount as c } from "./index120.js";
|
|
7
|
+
import { prepareBankAccountCreatePayload as l } from "./index155.js";
|
|
8
|
+
import "./index181.js";
|
|
9
|
+
import { safeZodResolver as u } from "./index394.js";
|
|
10
|
+
import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
11
|
+
import { useLingui as p } from "@lingui/react";
|
|
12
|
+
import { Controller as m, useForm as h } from "react-hook-form";
|
|
21
13
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js
|
|
22
|
-
var
|
|
23
|
-
let { i18n:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
i && !r ? (Z(`line_items.${e}.product.measure_unit_id`, ""), Z(`line_items.${e}.product.measure_unit_name`, i), Z(`line_items.${e}.measure_unit`, {
|
|
33
|
-
name: i,
|
|
34
|
-
id: null
|
|
35
|
-
})) : (r || n) && (Z(`line_items.${e}.product.measure_unit_id`, r || n), Z(`line_items.${e}.product.measure_unit_name`, void 0), Z(`line_items.${e}.measure_unit`, void 0));
|
|
36
|
-
}, [Z]), ie = y((e, t, n) => {
|
|
37
|
-
let r = t.label ?? "";
|
|
38
|
-
Z(`line_items.${e}.product.name`, r), r.trim() && F(`line_items.${e}.product.name`);
|
|
39
|
-
let i = t.id !== "" && t.id !== "custom" && n;
|
|
40
|
-
if (Z(`line_items.${e}.product_id`, i ? t.id : ""), i) {
|
|
41
|
-
Z(`line_items.${e}.product.price.value`, t.price?.value ?? 0), Z(`line_items.${e}.product.price.currency`, D);
|
|
42
|
-
let n = M(`line_items.${e}.product.measure_unit_id`);
|
|
43
|
-
$(e, t, n), Z(`line_items.${e}.quantity`, t.smallestAmount || 1), Z(`line_items.${e}.product.smallest_amount`, t.smallestAmount), Z(`line_items.${e}.product.type`, "product"), Z(`line_items.${e}.product.description`, t.description ?? ""), P(`line_items.${e}`);
|
|
14
|
+
var g = ({ bankAccountsLength: g, onCreate: _, onCancel: v }) => {
|
|
15
|
+
let { i18n: y } = p(), { mutate: b, isPending: x } = c(_), { control: S, handleSubmit: C } = h({
|
|
16
|
+
mode: "onSubmit",
|
|
17
|
+
reValidateMode: "onSubmit",
|
|
18
|
+
resolver: u(s(y)),
|
|
19
|
+
defaultValues: {
|
|
20
|
+
display_name: "",
|
|
21
|
+
account_holder_name: "",
|
|
22
|
+
account_number: "",
|
|
23
|
+
routing_number: ""
|
|
44
24
|
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
Z,
|
|
49
|
-
$,
|
|
50
|
-
P,
|
|
51
|
-
F
|
|
52
|
-
]);
|
|
53
|
-
return /* @__PURE__ */ w("div", {
|
|
54
|
-
ref: Q,
|
|
55
|
-
className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl",
|
|
25
|
+
});
|
|
26
|
+
return /* @__PURE__ */ f("div", {
|
|
27
|
+
className: "ttw:flex ttw:flex-col ttw:p-3 ttw:gap-4 ttw:border ttw:border-border ttw:rounded-xl",
|
|
56
28
|
children: [
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
className: "ttw:flex ttw:flex-col ttw:gap-
|
|
59
|
-
children:
|
|
60
|
-
variant: "h4",
|
|
61
|
-
children: k._("Products and services")
|
|
62
|
-
}), /* @__PURE__ */ C(a, {
|
|
29
|
+
/* @__PURE__ */ d("div", {
|
|
30
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
31
|
+
children: /* @__PURE__ */ d(n, {
|
|
63
32
|
variant: "body2",
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
children: k._("Add the products and services on this invoice. You'll have the option to save new items to your inventory.")
|
|
67
|
-
})]
|
|
68
|
-
}),
|
|
69
|
-
/* @__PURE__ */ C(m, {
|
|
70
|
-
generalError: j?.errors?.line_items?.root?.message ?? ne,
|
|
71
|
-
fieldErrors: re
|
|
33
|
+
children: y._("Add a bank account")
|
|
34
|
+
})
|
|
72
35
|
}),
|
|
73
|
-
/* @__PURE__ */
|
|
74
|
-
className: "ttw:flex ttw:
|
|
75
|
-
children: [/* @__PURE__ */
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
children:
|
|
82
|
-
}),
|
|
83
|
-
/* @__PURE__ */ C(a, {
|
|
84
|
-
variant: "body2",
|
|
85
|
-
className: "ttw:font-medium ttw:leading-5 ttw:w-24 ttw:min-w-24",
|
|
86
|
-
children: k._("Quantity")
|
|
36
|
+
/* @__PURE__ */ f("div", {
|
|
37
|
+
className: "ttw:flex ttw:gap-4",
|
|
38
|
+
children: [/* @__PURE__ */ d(m, {
|
|
39
|
+
name: "routing_number",
|
|
40
|
+
control: S,
|
|
41
|
+
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
42
|
+
/* @__PURE__ */ d(o, {
|
|
43
|
+
htmlFor: "routing_number",
|
|
44
|
+
children: y._("Routing number")
|
|
87
45
|
}),
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
46
|
+
/* @__PURE__ */ d(t, {
|
|
47
|
+
...e,
|
|
48
|
+
id: "routing_number",
|
|
49
|
+
placeholder: y._("e.g. 123456789"),
|
|
50
|
+
value: e.value ?? "",
|
|
51
|
+
disabled: x,
|
|
52
|
+
"aria-invalid": !!n
|
|
92
53
|
}),
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
54
|
+
/* @__PURE__ */ d(a, { errors: n ? [n] : [] })
|
|
55
|
+
] }) })
|
|
56
|
+
}), /* @__PURE__ */ d(m, {
|
|
57
|
+
name: "account_number",
|
|
58
|
+
control: S,
|
|
59
|
+
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
60
|
+
/* @__PURE__ */ d(o, {
|
|
61
|
+
htmlFor: "account_number",
|
|
62
|
+
children: y._("Account number")
|
|
97
63
|
}),
|
|
98
|
-
/* @__PURE__ */
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
64
|
+
/* @__PURE__ */ d(t, {
|
|
65
|
+
...e,
|
|
66
|
+
id: "account_number",
|
|
67
|
+
placeholder: y._("e.g. 123456789"),
|
|
68
|
+
value: e.value ?? "",
|
|
69
|
+
disabled: x,
|
|
70
|
+
"aria-invalid": !!n
|
|
102
71
|
}),
|
|
103
|
-
|
|
104
|
-
]
|
|
105
|
-
})
|
|
106
|
-
className: "ttw:flex ttw:items-center ttw:justify-center ttw:h-9",
|
|
107
|
-
children: /* @__PURE__ */ C(i, { className: "ttw:w-5 ttw:h-5" })
|
|
108
|
-
}) : z.map((e, t) => /* @__PURE__ */ C(g, {
|
|
109
|
-
field: e,
|
|
110
|
-
index: t,
|
|
111
|
-
control: A,
|
|
112
|
-
errors: j.errors,
|
|
113
|
-
defaultCurrency: D,
|
|
114
|
-
measureUnitsData: L,
|
|
115
|
-
onRequestLineItemValue: (e) => M(`line_items.${t}.${e}`),
|
|
116
|
-
onLineItemValueChange: (e, n, r) => {
|
|
117
|
-
let i = `line_items.${t}.${e}`;
|
|
118
|
-
Y(i, n, r);
|
|
119
|
-
},
|
|
120
|
-
canRemove: z.length > 1,
|
|
121
|
-
autoFocusName: t === K,
|
|
122
|
-
onUpdateItem: ie,
|
|
123
|
-
onRemoveItem: J,
|
|
124
|
-
container: Q
|
|
125
|
-
}, e.id))]
|
|
126
|
-
}),
|
|
127
|
-
/* @__PURE__ */ w(e, {
|
|
128
|
-
type: "button",
|
|
129
|
-
variant: "ghost",
|
|
130
|
-
onClick: q,
|
|
131
|
-
className: "ttw:text-primary ttw:hover:text-primary ttw:w-fit",
|
|
132
|
-
children: [/* @__PURE__ */ C(S, { className: "ttw:size-5 ttw:text-primary" }), k._("Add item")]
|
|
133
|
-
}),
|
|
134
|
-
/* @__PURE__ */ C(T, {
|
|
135
|
-
name: "discount",
|
|
136
|
-
control: A,
|
|
137
|
-
render: ({ field: e }) => /* @__PURE__ */ C(_, {
|
|
138
|
-
value: e.value,
|
|
139
|
-
onChange: e.onChange,
|
|
140
|
-
onBlur: e.onBlur,
|
|
141
|
-
currency: D,
|
|
142
|
-
errorMessage: j.errors.discount?.amount?.message
|
|
143
|
-
})
|
|
72
|
+
/* @__PURE__ */ d(a, { errors: n ? [n] : [] })
|
|
73
|
+
] }) })
|
|
74
|
+
})]
|
|
144
75
|
}),
|
|
145
|
-
/* @__PURE__ */
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
children:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
76
|
+
/* @__PURE__ */ f("div", {
|
|
77
|
+
className: "ttw:flex ttw:gap-4",
|
|
78
|
+
children: [/* @__PURE__ */ d(m, {
|
|
79
|
+
name: "account_holder_name",
|
|
80
|
+
control: S,
|
|
81
|
+
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
82
|
+
/* @__PURE__ */ d(o, {
|
|
83
|
+
htmlFor: "account_holder_name",
|
|
84
|
+
children: y._("Account holder name")
|
|
85
|
+
}),
|
|
86
|
+
/* @__PURE__ */ d(t, {
|
|
87
|
+
...e,
|
|
88
|
+
id: "account_holder_name",
|
|
89
|
+
placeholder: y._("e.g. James Smith"),
|
|
90
|
+
value: e.value ?? "",
|
|
91
|
+
disabled: x,
|
|
92
|
+
"aria-invalid": !!n
|
|
93
|
+
}),
|
|
94
|
+
/* @__PURE__ */ d(a, { errors: n ? [n] : [] })
|
|
95
|
+
] }) })
|
|
96
|
+
}), /* @__PURE__ */ d(m, {
|
|
97
|
+
name: "display_name",
|
|
98
|
+
control: S,
|
|
99
|
+
render: ({ field: e, fieldState: { error: s } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
100
|
+
/* @__PURE__ */ f(o, {
|
|
101
|
+
htmlFor: "display_name",
|
|
102
|
+
className: "ttw:gap-1",
|
|
103
|
+
children: [y._("Account nickname"), /* @__PURE__ */ d(n, {
|
|
104
|
+
variant: "body2",
|
|
105
|
+
color: "muted",
|
|
106
|
+
className: "ttw:leading-snug",
|
|
107
|
+
children: y._("(optional)")
|
|
108
|
+
})]
|
|
109
|
+
}),
|
|
110
|
+
/* @__PURE__ */ d(t, {
|
|
156
111
|
...e,
|
|
112
|
+
id: "display_name",
|
|
113
|
+
placeholder: y._("e.g. Empire Bank Checking"),
|
|
157
114
|
value: e.value ?? "",
|
|
158
|
-
|
|
159
|
-
"aria-invalid": !!
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
onChange: (t) => {
|
|
165
|
-
e.onChange(d(t.target.value));
|
|
166
|
-
},
|
|
167
|
-
onBlur: (t) => {
|
|
168
|
-
let n = t.target.value;
|
|
169
|
-
e.onChange(n.endsWith(".") ? n.slice(0, -1) : n), e.onBlur();
|
|
170
|
-
}
|
|
171
|
-
}), /* @__PURE__ */ C(n, {
|
|
172
|
-
align: "inline-end",
|
|
173
|
-
children: "%"
|
|
174
|
-
})]
|
|
175
|
-
})]
|
|
176
|
-
}), /* @__PURE__ */ C(l, { errors: [i] })] })
|
|
115
|
+
disabled: x,
|
|
116
|
+
"aria-invalid": !!s
|
|
117
|
+
}),
|
|
118
|
+
/* @__PURE__ */ d(a, { errors: s ? [s] : [] })
|
|
119
|
+
] }) })
|
|
120
|
+
})]
|
|
177
121
|
}),
|
|
178
|
-
/* @__PURE__ */
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
122
|
+
/* @__PURE__ */ f("div", {
|
|
123
|
+
className: "ttw:flex ttw:gap-4",
|
|
124
|
+
children: [g !== 0 && /* @__PURE__ */ d(e, {
|
|
125
|
+
type: "button",
|
|
126
|
+
variant: "outline",
|
|
127
|
+
className: "ttw:border-border",
|
|
128
|
+
disabled: x,
|
|
129
|
+
onClick: v,
|
|
130
|
+
children: y._("Cancel")
|
|
131
|
+
}), /* @__PURE__ */ d(e, {
|
|
132
|
+
type: "button",
|
|
133
|
+
disabled: x,
|
|
134
|
+
onClick: C((e) => {
|
|
135
|
+
b({ body: l(e) });
|
|
136
|
+
}),
|
|
137
|
+
children: y._("Save account")
|
|
138
|
+
})]
|
|
186
139
|
})
|
|
187
140
|
]
|
|
188
141
|
});
|
|
189
142
|
};
|
|
190
143
|
//#endregion
|
|
191
|
-
export {
|
|
144
|
+
export { g as BankAccountSectionForm };
|
|
@@ -1,144 +1,133 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { Skeleton as t } from "./index53.js";
|
|
3
4
|
import { Typography as n } from "./index61.js";
|
|
4
|
-
import { Field as r, FieldContent as i, FieldError as a
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
5
|
+
import { Field as r, FieldContent as i, FieldError as a } from "./index87.js";
|
|
6
|
+
import { Select as o, SelectContent as s, SelectItem as c, SelectSeparator as l, SelectTrigger as u, SelectValue as d } from "./index107.js";
|
|
7
|
+
import { useUserPermissions as f } from "./index118.js";
|
|
8
|
+
import { getLineLabel as p, getSourceLabel as m } from "./index126.js";
|
|
9
|
+
import { useSelectableBankAccounts as h } from "./index127.js";
|
|
10
|
+
import "./index226.js";
|
|
11
|
+
import { Badge as g } from "./index227.js";
|
|
12
|
+
import { Alert as _, AlertDescription as v, AlertTitle as y } from "./index260.js";
|
|
13
|
+
import { BankAccountSectionForm as b } from "./index502.js";
|
|
14
|
+
import { useEffect as x, useRef as S, useState as C } from "react";
|
|
15
|
+
import { Plus as w, TriangleAlert as T } from "lucide-react";
|
|
16
|
+
import { Fragment as E, jsx as D, jsxs as O } from "@emotion/react/jsx-runtime";
|
|
17
|
+
import { useLingui as k } from "@lingui/react";
|
|
18
|
+
import { Controller as A, useFormContext as j } from "react-hook-form";
|
|
13
19
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js
|
|
14
|
-
var
|
|
15
|
-
let { i18n:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
display_name: "",
|
|
21
|
-
account_holder_name: "",
|
|
22
|
-
account_number: "",
|
|
23
|
-
routing_number: ""
|
|
20
|
+
var M = ({ disabled: M, embeddedBankName: N }) => {
|
|
21
|
+
let { i18n: P } = k(), F = S(!1), { control: I, setValue: L, getFieldState: R, clearErrors: z } = j(), [B, V] = C(!1), H = f().has(e.BankAccountWriteOrg), { bankAccounts: U, isLoading: W } = h(), G = R("bank_account_id");
|
|
22
|
+
return x(() => {
|
|
23
|
+
if (U.length === 1 && !W && !F.current) {
|
|
24
|
+
let e = U[0];
|
|
25
|
+
L("bank_account_id", e.id), L("bank_account_type", e.bank_account_type), F.current = !0;
|
|
24
26
|
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
}, [
|
|
28
|
+
L,
|
|
29
|
+
U,
|
|
30
|
+
W
|
|
31
|
+
]), /* @__PURE__ */ O("div", {
|
|
32
|
+
className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl",
|
|
33
|
+
children: [/* @__PURE__ */ O("div", {
|
|
34
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
|
|
35
|
+
children: [/* @__PURE__ */ D(n, {
|
|
36
|
+
variant: "h4",
|
|
37
|
+
children: P._("Payment instructions")
|
|
38
|
+
}), /* @__PURE__ */ D(n, {
|
|
39
|
+
variant: "body2",
|
|
40
|
+
color: "muted",
|
|
41
|
+
className: "ttw:font-medium",
|
|
42
|
+
children: P._("Tells the customer how they can pay you. We'll include the selected info on the invoice")
|
|
43
|
+
})]
|
|
44
|
+
}), W || U.length > 0 && !B ? /* @__PURE__ */ O("div", {
|
|
45
|
+
className: "ttw:flex ttw:flex-col ttw:p-3 ttw:gap-4 ttw:border ttw:border-border ttw:rounded-xl",
|
|
46
|
+
children: [/* @__PURE__ */ O("div", {
|
|
30
47
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
31
|
-
children: /* @__PURE__ */
|
|
48
|
+
children: [/* @__PURE__ */ D(n, {
|
|
32
49
|
variant: "body2",
|
|
33
|
-
children:
|
|
34
|
-
})
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
children: [/* @__PURE__ */ d(m, {
|
|
39
|
-
name: "routing_number",
|
|
40
|
-
control: S,
|
|
41
|
-
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
42
|
-
/* @__PURE__ */ d(o, {
|
|
43
|
-
htmlFor: "routing_number",
|
|
44
|
-
children: y._("Routing number")
|
|
45
|
-
}),
|
|
46
|
-
/* @__PURE__ */ d(t, {
|
|
47
|
-
...e,
|
|
48
|
-
id: "routing_number",
|
|
49
|
-
placeholder: y._("e.g. 123456789"),
|
|
50
|
-
value: e.value ?? "",
|
|
51
|
-
disabled: x,
|
|
52
|
-
"aria-invalid": !!n
|
|
53
|
-
}),
|
|
54
|
-
/* @__PURE__ */ d(a, { errors: n ? [n] : [] })
|
|
55
|
-
] }) })
|
|
56
|
-
}), /* @__PURE__ */ d(m, {
|
|
57
|
-
name: "account_number",
|
|
58
|
-
control: S,
|
|
59
|
-
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
60
|
-
/* @__PURE__ */ d(o, {
|
|
61
|
-
htmlFor: "account_number",
|
|
62
|
-
children: y._("Account number")
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ d(t, {
|
|
65
|
-
...e,
|
|
66
|
-
id: "account_number",
|
|
67
|
-
placeholder: y._("e.g. 123456789"),
|
|
68
|
-
value: e.value ?? "",
|
|
69
|
-
disabled: x,
|
|
70
|
-
"aria-invalid": !!n
|
|
71
|
-
}),
|
|
72
|
-
/* @__PURE__ */ d(a, { errors: n ? [n] : [] })
|
|
73
|
-
] }) })
|
|
50
|
+
children: P._("Bank account")
|
|
51
|
+
}), /* @__PURE__ */ D(n, {
|
|
52
|
+
variant: "caption",
|
|
53
|
+
color: "muted",
|
|
54
|
+
children: P._("Display your bank account number and routing number")
|
|
74
55
|
})]
|
|
75
|
-
}),
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
-
htmlFor: "account_holder_name",
|
|
84
|
-
children: y._("Account holder name")
|
|
85
|
-
}),
|
|
86
|
-
/* @__PURE__ */ d(t, {
|
|
56
|
+
}), W ? /* @__PURE__ */ D(t, { className: "ttw:w-full ttw:h-9 ttw:rounded-md" }) : /* @__PURE__ */ D(A, {
|
|
57
|
+
name: "bank_account_id",
|
|
58
|
+
control: I,
|
|
59
|
+
render: ({ field: e, fieldState: { error: t } }) => {
|
|
60
|
+
let n = U.find((t) => t.id === e.value), f = n ? m(n.bank_account_type, N, P) : null;
|
|
61
|
+
return /* @__PURE__ */ D(r, { children: /* @__PURE__ */ O(i, { children: [/* @__PURE__ */ D("div", {
|
|
62
|
+
className: "ttw:relative",
|
|
63
|
+
children: /* @__PURE__ */ O(o, {
|
|
87
64
|
...e,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
65
|
+
disabled: M,
|
|
66
|
+
value: e.value,
|
|
67
|
+
onValueChange: (t) => {
|
|
68
|
+
if (t === "add_new") V(!0);
|
|
69
|
+
else {
|
|
70
|
+
e.onChange(t);
|
|
71
|
+
let n = U.find((e) => e.id === t);
|
|
72
|
+
n && L("bank_account_type", n.bank_account_type), G?.invalid && z("bank_account_id");
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
children: [/* @__PURE__ */ D(u, {
|
|
76
|
+
id: "bank_account_id",
|
|
77
|
+
className: "ttw:w-full",
|
|
78
|
+
"aria-label": P._("Bank account selector"),
|
|
79
|
+
"aria-invalid": !!t,
|
|
80
|
+
children: /* @__PURE__ */ D(d, {
|
|
81
|
+
placeholder: P._("Select bank account"),
|
|
82
|
+
children: n && /* @__PURE__ */ O("span", {
|
|
83
|
+
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2",
|
|
84
|
+
children: [/* @__PURE__ */ D("span", {
|
|
85
|
+
className: "ttw:truncate",
|
|
86
|
+
children: p(n, P)
|
|
87
|
+
}), f && /* @__PURE__ */ D(g, {
|
|
88
|
+
variant: "secondary",
|
|
89
|
+
className: "ttw:shrink-0",
|
|
90
|
+
children: f
|
|
91
|
+
})]
|
|
92
|
+
})
|
|
93
|
+
})
|
|
94
|
+
}), /* @__PURE__ */ O(s, { children: [U.map((e) => {
|
|
95
|
+
let t = m(e.bank_account_type, N, P);
|
|
96
|
+
return /* @__PURE__ */ D(c, {
|
|
97
|
+
value: e.id,
|
|
98
|
+
children: /* @__PURE__ */ O("span", {
|
|
99
|
+
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2",
|
|
100
|
+
children: [/* @__PURE__ */ D("span", {
|
|
101
|
+
className: "ttw:truncate",
|
|
102
|
+
children: p(e, P)
|
|
103
|
+
}), t && /* @__PURE__ */ D("span", {
|
|
104
|
+
className: "ttw:shrink-0 ttw:text-muted-foreground",
|
|
105
|
+
children: t
|
|
106
|
+
})]
|
|
107
|
+
})
|
|
108
|
+
}, e.id);
|
|
109
|
+
}), H && /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(l, {}), /* @__PURE__ */ O(c, {
|
|
110
|
+
value: "add_new",
|
|
111
|
+
className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary",
|
|
112
|
+
children: [/* @__PURE__ */ D(w, { className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary" }), P._("Add a new account")]
|
|
113
|
+
})] })] })]
|
|
114
|
+
})
|
|
115
|
+
}), /* @__PURE__ */ D(a, { errors: t ? [t] : [] })] }) });
|
|
116
|
+
}
|
|
117
|
+
})]
|
|
118
|
+
}) : /* @__PURE__ */ D(E, { children: H ? /* @__PURE__ */ D(b, {
|
|
119
|
+
bankAccountsLength: U.length,
|
|
120
|
+
onCreate: (e) => {
|
|
121
|
+
V(!1), L("bank_account_id", e), L("bank_account_type", "BANK_DETAILS"), G?.invalid && z("bank_account_id");
|
|
122
|
+
},
|
|
123
|
+
onCancel: () => V(!1)
|
|
124
|
+
}) : /* @__PURE__ */ O(_, {
|
|
125
|
+
enableClose: !1,
|
|
126
|
+
variant: "warning",
|
|
127
|
+
icon: /* @__PURE__ */ D(T, {}),
|
|
128
|
+
children: [/* @__PURE__ */ D(y, { children: P._("There are no bank accounts on file for this account") }), /* @__PURE__ */ D(v, { children: P._("A bank account is required in order to issue invoices. Contact your company admin to set one up.") })]
|
|
129
|
+
}) })]
|
|
141
130
|
});
|
|
142
131
|
};
|
|
143
132
|
//#endregion
|
|
144
|
-
export {
|
|
133
|
+
export { M as BankAccountSection };
|