@tesouro/embedded-components-react 0.2.122 → 0.2.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +8 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +25 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +76 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +9 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +21 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +117 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +217 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +48 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +48 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +11 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +150 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +54 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +61 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +37 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +79 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +41 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +74 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +56 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +21 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +80 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +39 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +6 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +114 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +70 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +189 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +29 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +110 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +134 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +18 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +22 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +25 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +183 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +18 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +48 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +4 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +88 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +37 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +205 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +427 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +94 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +57 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +24 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +9 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +18 -424
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +117 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +68 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +397 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +406 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +1 -1
- 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 +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +3 -3
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +4 -4
- 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 +2 -2
- 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 +22 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +55 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +29 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +57 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +20 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +489 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +165 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +73 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +44 -171
- 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 +39 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +57 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +30 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +111 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +21 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +41 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +53 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +62 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +126 -61
- 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 +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +28 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +42 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +60 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +92 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +112 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +82 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +2 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +96 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +209 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +346 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +297 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +96 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +162 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +264 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +23 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +19 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +64 -22
- 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 +20 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +16 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +18 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +165 -279
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +129 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +162 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +10 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +18 -224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +59 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +68 -11
- 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 +58 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +61 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +59 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +20 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +34 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +149 -50
- 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 +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +19 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +42 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +73 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +76 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +41 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +158 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +28 -112
- 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 +27 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +78 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +61 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +42 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +133 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +109 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +81 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +283 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +49 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +15 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +84 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +222 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +36 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +11 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +10 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +88 -483
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +16 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +48 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +10 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +48 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +49 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +15 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +123 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +17 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +71 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +15 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +53 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +34 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +24 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +32 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +127 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +90 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +38 -12
- 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 +34 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +21 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +66 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +19 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +18 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +65 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +66 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +46 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +19 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +21 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +26 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +5 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +75 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +68 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +85 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +105 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +112 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +23 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +38 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +8 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +80 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +39 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +29 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +69 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +80 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +51 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +44 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +72 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +49 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +96 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +75 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +1 -1
- 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 +51 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +41 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +35 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +14 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- 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 +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +20 -20
- package/package.json +1 -1
|
@@ -1,65 +1,46 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
handleCancel: v
|
|
1
|
+
import { jsxs as l, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import { Badge as d } from "./index238.js";
|
|
4
|
+
import { Button as m } from "./index84.js";
|
|
5
|
+
import { cn as p } from "./index100.js";
|
|
6
|
+
import { XIcon as h } from "lucide-react";
|
|
7
|
+
const g = ({
|
|
8
|
+
className: i,
|
|
9
|
+
value: e,
|
|
10
|
+
onChange: a,
|
|
11
|
+
ref: c,
|
|
12
|
+
...f
|
|
14
13
|
}) => {
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
error: i
|
|
43
|
-
}
|
|
44
|
-
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
45
|
-
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Routing number") }),
|
|
46
|
-
/* @__PURE__ */ e(h, { id: r.name, ...r, placeholder: t._("e.g., 123456789"), className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
47
|
-
/* @__PURE__ */ e(u, { errors: [i] })
|
|
48
|
-
] }) }) }),
|
|
49
|
-
/* @__PURE__ */ e(w, { name: "accountNumber", control: d, render: ({
|
|
50
|
-
field: r,
|
|
51
|
-
fieldState: {
|
|
52
|
-
error: i
|
|
53
|
-
}
|
|
54
|
-
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
55
|
-
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Account number") }),
|
|
56
|
-
/* @__PURE__ */ e(h, { id: r.name, ...r, placeholder: t._("e.g., 12345678"), className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
57
|
-
/* @__PURE__ */ e(u, { errors: [i] })
|
|
58
|
-
] }) }) })
|
|
59
|
-
] }),
|
|
60
|
-
/* @__PURE__ */ e(p, { color: "muted", variant: "body2", children: t._("Ask your vendor for this — it's usually on their invoice, W-9, or a payment instructions email they send you.") })
|
|
14
|
+
const [r, n] = w.useState("");
|
|
15
|
+
w.useEffect(() => {
|
|
16
|
+
if (r.includes(",")) {
|
|
17
|
+
const t = /* @__PURE__ */ new Set([...e, ...r.split(",").map((s) => s.trim())]);
|
|
18
|
+
a(Array.from(t)), n("");
|
|
19
|
+
}
|
|
20
|
+
}, [r, a, e]);
|
|
21
|
+
const u = () => {
|
|
22
|
+
if (r) {
|
|
23
|
+
const t = /* @__PURE__ */ new Set([...e, r]);
|
|
24
|
+
a(Array.from(t)), n("");
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
return /* @__PURE__ */ l("div", { className: p(
|
|
28
|
+
// caveat: :has() variant requires tailwind v3.4 or above: https://tailwindcss.com/blog/tailwindcss-v3-4#new-has-variant
|
|
29
|
+
"ttw:has-[:focus-visible]:ttw:outline-none ttw:has-[:focus-visible]:ttw:ring-2 ttw:has-[:focus-visible]:ttw:ring-neutral-950 ttw:has-[:focus-visible]:ttw:ring-offset-2 dark:ttw:has-[:focus-visible]:ttw:ring-neutral-300 ttw:min-h-10 ttw:flex ttw:w-full ttw:flex-wrap ttw:gap-2 ttw:rounded-md ttw:border ttw:border-neutral-200 ttw:bg-white ttw:px-3 ttw:py-2 ttw:text-sm ttw:ring-offset-white ttw:disabled:ttw:cursor-not-allowed ttw:disabled:ttw:opacity-50 dark:ttw:border-neutral-800 dark:ttw:bg-neutral-950 dark:ttw:ring-offset-neutral-950",
|
|
30
|
+
i
|
|
31
|
+
), children: [
|
|
32
|
+
e.map((t) => /* @__PURE__ */ l(d, { variant: "secondary", children: [
|
|
33
|
+
t,
|
|
34
|
+
/* @__PURE__ */ o(m, { variant: "ghost", size: "icon", className: "ttw:ml-2 ttw:h-3 ttw:w-3", onClick: () => {
|
|
35
|
+
a(e.filter((s) => s !== t));
|
|
36
|
+
}, children: /* @__PURE__ */ o(h, { className: "ttw:w-3" }) })
|
|
37
|
+
] }, t)),
|
|
38
|
+
/* @__PURE__ */ o("input", { className: "ttw:flex-1 ttw:outline-none ttw:placeholder:ttw:text-neutral-500 dark:ttw:placeholder:ttw:text-neutral-400", value: r, onChange: (t) => n(t.target.value), onKeyDown: (t) => {
|
|
39
|
+
t.key === "Enter" || t.key === "," ? (t.preventDefault(), u()) : t.key === "Backspace" && r.length === 0 && e.length > 0 && (t.preventDefault(), a(e.slice(0, -1)));
|
|
40
|
+
}, ...f, ref: c })
|
|
61
41
|
] });
|
|
62
42
|
};
|
|
43
|
+
g.displayName = "InputTags";
|
|
63
44
|
export {
|
|
64
|
-
|
|
45
|
+
g as InputTags
|
|
65
46
|
};
|
|
@@ -1,98 +1,162 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { isIndividualCounterpart as y, isOrganizationCounterpart as b } from "./index7.js";
|
|
2
|
+
import { fromMinorUnits as g, toMinorUnits as x } from "./index120.js";
|
|
3
|
+
import { getIndividualName as D } from "./index95.js";
|
|
4
|
+
import { format as q } from "date-fns";
|
|
5
|
+
import { resolveNullableUpdate as I } from "./index427.js";
|
|
6
|
+
const C = (t, e, a) => t?.find((n) => n.id === a)?.default_billing_address_id ?? (e?.id === a ? e?.default_billing_address_id : void 0), T = (t) => t ? t.map((e) => ({
|
|
7
|
+
value: e.id,
|
|
8
|
+
label: y(e) ? D(e.individual.first_name, e.individual.last_name) : b(e) ? e.organization.legal_name : ""
|
|
9
|
+
})) : [];
|
|
10
|
+
function _(t) {
|
|
11
|
+
const [e, a, r] = t.split("-");
|
|
12
|
+
return new Date(+e, +a - 1, +r);
|
|
13
|
+
}
|
|
14
|
+
const m = (t) => q(t, "yyyy-MM-dd"), M = (t, e, a, r) => {
|
|
15
|
+
if (!e)
|
|
16
|
+
return {
|
|
17
|
+
invoiceNumber: "",
|
|
18
|
+
counterpart: r ?? "",
|
|
19
|
+
counterpartBankAccount: "",
|
|
20
|
+
invoiceDate: void 0,
|
|
21
|
+
dueDate: void 0,
|
|
22
|
+
currency: "USD",
|
|
23
|
+
tags: [],
|
|
24
|
+
discount: null,
|
|
25
|
+
lineItems: [{
|
|
26
|
+
id: "",
|
|
27
|
+
name: "",
|
|
28
|
+
quantity: 1,
|
|
29
|
+
price: 0,
|
|
30
|
+
tax: 0
|
|
31
|
+
}]
|
|
32
|
+
};
|
|
24
33
|
const {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
34
|
+
document_id: n,
|
|
35
|
+
counterpart_id: i,
|
|
36
|
+
counterpart_bank_account_id: o,
|
|
37
|
+
issued_at: u,
|
|
38
|
+
due_date: c,
|
|
39
|
+
currency: d,
|
|
40
|
+
tags: l,
|
|
41
|
+
discount: p
|
|
42
|
+
} = e;
|
|
43
|
+
return {
|
|
44
|
+
invoiceNumber: n ?? "",
|
|
45
|
+
counterpart: i ?? "",
|
|
46
|
+
counterpartBankAccount: o ?? "",
|
|
47
|
+
invoiceDate: u ? _(u) : void 0,
|
|
48
|
+
dueDate: c ? _(c) : void 0,
|
|
49
|
+
currency: d ?? "USD",
|
|
50
|
+
tags: l ?? [],
|
|
51
|
+
discount: p && d ? t(p, d) : null,
|
|
52
|
+
lineItems: (a || []).map((s) => ({
|
|
53
|
+
id: s.id ?? "",
|
|
54
|
+
name: s.name ?? "",
|
|
55
|
+
quantity: s.quantity ?? 1,
|
|
56
|
+
price: s.unit_price && d ? t(s.unit_price, d) ?? 0 : 0,
|
|
57
|
+
tax: s.tax ? N(s.tax) : 0,
|
|
58
|
+
ledger_account_id: s.ledger_account_id
|
|
59
|
+
}))
|
|
60
|
+
};
|
|
61
|
+
}, P = ({
|
|
62
|
+
discount: t,
|
|
63
|
+
invoiceNumber: e,
|
|
64
|
+
counterpart: a,
|
|
65
|
+
counterpartBankAccount: r,
|
|
66
|
+
invoiceDate: n,
|
|
67
|
+
dueDate: i,
|
|
68
|
+
currency: o,
|
|
69
|
+
tags: u,
|
|
70
|
+
counterpartAddressId: c
|
|
71
|
+
}, d) => ({
|
|
72
|
+
document_id: e,
|
|
73
|
+
discount: t && o ? d(t, o) ?? 0 : 0,
|
|
74
|
+
counterpart_id: a || void 0,
|
|
75
|
+
counterpart_bank_account_id: r || void 0,
|
|
76
|
+
issued_at: n instanceof Date ? m(n) : void 0,
|
|
77
|
+
due_date: i instanceof Date ? m(i) : void 0,
|
|
78
|
+
currency: o,
|
|
79
|
+
tag_ids: u.map((l) => l.id),
|
|
80
|
+
counterpart_address_id: c
|
|
81
|
+
}), f = (t, e) => {
|
|
82
|
+
const a = t * e;
|
|
83
|
+
return parseFloat(a.toFixed(2));
|
|
84
|
+
}, v = (t, e) => {
|
|
85
|
+
const a = t + e * t / 100;
|
|
86
|
+
return parseFloat(a.toFixed(2));
|
|
87
|
+
}, w = (t) => {
|
|
88
|
+
const {
|
|
89
|
+
price: e,
|
|
90
|
+
quantity: a,
|
|
91
|
+
tax: r
|
|
92
|
+
} = t;
|
|
93
|
+
if (!e || !a) return 0;
|
|
94
|
+
const n = f(e, a);
|
|
95
|
+
return v(n, r || 0);
|
|
96
|
+
}, z = (t, e) => {
|
|
97
|
+
const {
|
|
98
|
+
subtotal: a,
|
|
99
|
+
taxes: r,
|
|
100
|
+
total: n
|
|
101
|
+
} = t.reduce((i, o) => {
|
|
102
|
+
const u = f(o.price, o.quantity), c = v(u, o.tax || 0);
|
|
103
|
+
return {
|
|
104
|
+
subtotal: i.subtotal + u,
|
|
105
|
+
taxes: i.taxes + (c - u),
|
|
106
|
+
total: i.total + c
|
|
107
|
+
};
|
|
108
|
+
}, {
|
|
109
|
+
subtotal: 0,
|
|
110
|
+
taxes: 0,
|
|
111
|
+
total: 0
|
|
112
|
+
});
|
|
113
|
+
return {
|
|
114
|
+
subtotal: a,
|
|
115
|
+
taxes: r,
|
|
116
|
+
total: n - (e ?? 0)
|
|
117
|
+
};
|
|
118
|
+
}, L = (t, e, a, r) => {
|
|
119
|
+
const {
|
|
120
|
+
name: n,
|
|
121
|
+
quantity: i,
|
|
122
|
+
price: o,
|
|
123
|
+
tax: u,
|
|
124
|
+
ledger_account_id: c
|
|
125
|
+
} = e, d = r?.allowLedgerUpdate ? I(c, r?.previous) : c, l = {
|
|
126
|
+
name: n,
|
|
127
|
+
quantity: i,
|
|
128
|
+
tax: F(u),
|
|
129
|
+
unit_price: a(o, t) ?? 0
|
|
130
|
+
};
|
|
131
|
+
return d !== void 0 && (l.ledger_account_id = d), l;
|
|
95
132
|
};
|
|
133
|
+
function F(t) {
|
|
134
|
+
return x(t);
|
|
135
|
+
}
|
|
136
|
+
function N(t) {
|
|
137
|
+
return g(t);
|
|
138
|
+
}
|
|
139
|
+
const O = (t, e, a) => {
|
|
140
|
+
const r = {
|
|
141
|
+
invoiceNumber: !0,
|
|
142
|
+
dueDate: !0,
|
|
143
|
+
tags: !0,
|
|
144
|
+
currency: !0
|
|
145
|
+
};
|
|
146
|
+
if (a)
|
|
147
|
+
return !1;
|
|
148
|
+
const n = r[t] ?? !1, i = e?.[t] ?? !1;
|
|
149
|
+
return n || i;
|
|
150
|
+
}, R = (t, e) => t.find((a) => a.currency === e && a.is_default_for_currency)?.id || "";
|
|
96
151
|
export {
|
|
97
|
-
|
|
152
|
+
w as calculateTotalPriceForLineItem,
|
|
153
|
+
z as calculateTotalsForPayable,
|
|
154
|
+
T as counterpartsToSelect,
|
|
155
|
+
m as dateToString,
|
|
156
|
+
R as findDefaultBankAccount,
|
|
157
|
+
O as isFieldRequired,
|
|
158
|
+
M as prepareDefaultValues,
|
|
159
|
+
L as prepareLineItemSubmit,
|
|
160
|
+
P as prepareSubmit,
|
|
161
|
+
C as resolveCreatePayableCounterpartAddressId
|
|
98
162
|
};
|
|
@@ -1,114 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */ e("span", { className: "ttw:text-muted-foreground", children: l._("(optional)") })
|
|
29
|
-
] }) }) }),
|
|
30
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
31
|
-
/* @__PURE__ */ e(w, { name: "line1", control: h, render: ({
|
|
32
|
-
field: t,
|
|
33
|
-
fieldState: {
|
|
34
|
-
error: r
|
|
35
|
-
}
|
|
36
|
-
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
37
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("Street address") }),
|
|
38
|
-
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
39
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
40
|
-
] }) }) }),
|
|
41
|
-
/* @__PURE__ */ e(w, { name: "line2", control: h, render: ({
|
|
42
|
-
field: t,
|
|
43
|
-
fieldState: {
|
|
44
|
-
error: r
|
|
45
|
-
}
|
|
46
|
-
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
47
|
-
/* @__PURE__ */ a(c, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
48
|
-
l._("Apt, suite, floor, etc."),
|
|
49
|
-
i && /* @__PURE__ */ e(b, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: l._("(optional)") })
|
|
50
|
-
] }),
|
|
51
|
-
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
52
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
53
|
-
] }) }) })
|
|
54
|
-
] }),
|
|
55
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
56
|
-
/* @__PURE__ */ e(w, { name: "city", control: h, render: ({
|
|
57
|
-
field: t,
|
|
58
|
-
fieldState: {
|
|
59
|
-
error: r
|
|
60
|
-
}
|
|
61
|
-
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
62
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("City") }),
|
|
63
|
-
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
64
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
65
|
-
] }) }) }),
|
|
66
|
-
/* @__PURE__ */ e(w, { name: "state", control: h, render: ({
|
|
67
|
-
field: t,
|
|
68
|
-
fieldState: {
|
|
69
|
-
error: r
|
|
70
|
-
}
|
|
71
|
-
}) => N("country") === "US" ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
72
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("State") }),
|
|
73
|
-
/* @__PURE__ */ a(F, { value: t.value ?? void 0, onValueChange: t.onChange, disabled: n, children: [
|
|
74
|
-
/* @__PURE__ */ e(_, { ref: t.ref, onBlur: t.onBlur, "aria-invalid": !!r || void 0, className: g("ttw:w-full", (d || i) && "ttw:bg-white"), disabled: n, children: /* @__PURE__ */ e(j, { placeholder: l._("Select a state") }) }),
|
|
75
|
-
/* @__PURE__ */ e(A, { children: Object.entries(x).map(([p, C]) => /* @__PURE__ */ a(E, { value: p, children: [
|
|
76
|
-
C,
|
|
77
|
-
" — ",
|
|
78
|
-
p
|
|
79
|
-
] }, p)) })
|
|
80
|
-
] }),
|
|
81
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
82
|
-
] }) }) : /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
83
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("State") }),
|
|
84
|
-
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
85
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
86
|
-
] }) }) })
|
|
87
|
-
] }),
|
|
88
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
89
|
-
/* @__PURE__ */ e(w, { name: "postalCode", control: h, render: ({
|
|
90
|
-
field: t,
|
|
91
|
-
fieldState: {
|
|
92
|
-
error: r
|
|
93
|
-
}
|
|
94
|
-
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
95
|
-
/* @__PURE__ */ e(c, { htmlFor: t.name, children: l._("Postal code") }),
|
|
96
|
-
/* @__PURE__ */ e(f, { id: t.name, ...t, className: d || i ? "ttw:bg-white" : "", disabled: n, "aria-invalid": !!r || void 0 }),
|
|
97
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
98
|
-
] }) }) }),
|
|
99
|
-
/* @__PURE__ */ e(w, { name: "country", control: h, render: ({
|
|
100
|
-
field: t,
|
|
101
|
-
fieldState: {
|
|
102
|
-
error: r
|
|
103
|
-
}
|
|
104
|
-
}) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ a(s, { children: [
|
|
105
|
-
/* @__PURE__ */ e(c, { children: l._("Country") }),
|
|
106
|
-
/* @__PURE__ */ e(L, { value: t.value, className: d || i ? "ttw:bg-white" : "", onChange: t.onChange, invalid: !!r, disabled: n, container: u?.current, allowedCountries: ["US"] }),
|
|
107
|
-
/* @__PURE__ */ e(m, { errors: [r] })
|
|
108
|
-
] }) }) })
|
|
109
|
-
] })
|
|
110
|
-
] });
|
|
111
|
-
};
|
|
1
|
+
import { jsxs as r, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { classNames as a } from "./index170.js";
|
|
3
|
+
import { Stack as e } from "@mui/material";
|
|
4
|
+
const x = ({
|
|
5
|
+
className: t,
|
|
6
|
+
searchField: i,
|
|
7
|
+
children: s,
|
|
8
|
+
sx: n
|
|
9
|
+
}) => /* @__PURE__ */ r(e, { direction: "row", justifyContent: "space-between", alignItems: "center", className: a("Monite-Filters", t), sx: Object.assign({
|
|
10
|
+
"& > *": {
|
|
11
|
+
flexBasis: "fit-content",
|
|
12
|
+
flexGrow: 1
|
|
13
|
+
},
|
|
14
|
+
"& > .Monite-SearchField": {
|
|
15
|
+
maxWidth: "400px",
|
|
16
|
+
width: "100%"
|
|
17
|
+
}
|
|
18
|
+
}, n || {}), children: [
|
|
19
|
+
i,
|
|
20
|
+
/* @__PURE__ */ o(e, { gap: 1, direction: "row", justifyContent: "flex-end", alignItems: "center", className: "Monite-Filters-Group", sx: {
|
|
21
|
+
ml: 2,
|
|
22
|
+
"& .Monite-FilterControl": {
|
|
23
|
+
maxWidth: "160px",
|
|
24
|
+
width: "100%"
|
|
25
|
+
}
|
|
26
|
+
}, children: s })
|
|
27
|
+
] });
|
|
112
28
|
export {
|
|
113
|
-
|
|
29
|
+
x as FilterContainer
|
|
114
30
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as i } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as n } from "./
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index121.js";
|
|
3
3
|
import { useLingui as l } from "@lingui/react";
|
|
4
4
|
import { toast as p } from "react-hot-toast";
|
|
5
5
|
const y = (e, r) => {
|
|
@@ -1,90 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import "date-fns";
|
|
11
|
-
import { getCounterpartName as k } from "./index7.js";
|
|
12
|
-
import { useUpdateCounterpartAddress as D } from "./index336.js";
|
|
13
|
-
import { useCreateCounterpartAddress as T } from "./index421.js";
|
|
14
|
-
import { LoadingSpinner as V } from "./index136.js";
|
|
15
|
-
import { CounterpartAddressFormContent as B } from "./index339.js";
|
|
16
|
-
const tt = ({
|
|
17
|
-
counterpartId: c,
|
|
18
|
-
isStandalone: C,
|
|
19
|
-
address: t,
|
|
20
|
-
customerType: u,
|
|
21
|
-
handleClose: h,
|
|
22
|
-
onUpdate: i,
|
|
23
|
-
onCreate: n
|
|
1
|
+
import { jsxs as i, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDebounceCallback as c } from "./index65.js";
|
|
3
|
+
import m from "@mui/icons-material/Search";
|
|
4
|
+
import { FormControl as s, InputLabel as h, Input as p, InputAdornment as d } from "@mui/material";
|
|
5
|
+
const u = 500, x = ({
|
|
6
|
+
label: r,
|
|
7
|
+
value: o,
|
|
8
|
+
placeholder: l,
|
|
9
|
+
onChange: n
|
|
24
10
|
}) => {
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
country: t?.country ?? "US",
|
|
42
|
-
postalCode: t?.postal_code ?? ""
|
|
43
|
-
}), [t]), {
|
|
44
|
-
resetField: e,
|
|
45
|
-
...a
|
|
46
|
-
} = N({
|
|
47
|
-
resolver: U(j(r, u === "vendor")),
|
|
48
|
-
defaultValues: v
|
|
49
|
-
}), _ = L((l) => {
|
|
50
|
-
l.preventDefault(), l.stopPropagation(), a.handleSubmit((s) => {
|
|
51
|
-
const b = {
|
|
52
|
-
line1: s.line1 ?? "",
|
|
53
|
-
line2: s.line2,
|
|
54
|
-
city: s.city ?? "",
|
|
55
|
-
state: s.state ?? "",
|
|
56
|
-
country: s.country,
|
|
57
|
-
postal_code: s.postalCode ?? ""
|
|
58
|
-
};
|
|
59
|
-
return t ? f(b, {
|
|
60
|
-
onSuccess: () => {
|
|
61
|
-
p.success(r._("Address has been updated.")), i && i();
|
|
62
|
-
}
|
|
63
|
-
}) : w({
|
|
64
|
-
path: {
|
|
65
|
-
counterpart_id: c
|
|
66
|
-
},
|
|
67
|
-
body: b
|
|
68
|
-
}, {
|
|
69
|
-
onSuccess: () => {
|
|
70
|
-
p.success(r._("Address has been added.")), n && n();
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
})(l);
|
|
74
|
-
}, [p, f, w, k, i, n, a.handleSubmit, r]);
|
|
75
|
-
return /* @__PURE__ */ d(F, { resetField: e, ...a, children: /* @__PURE__ */ m("form", { id: S, onSubmit: _, className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100", children: [
|
|
76
|
-
/* @__PURE__ */ d(B, { hasExistingAddress: g, isLoading: o, isStandalone: C, customerType: u }),
|
|
77
|
-
/* @__PURE__ */ m("div", { className: "ttw:flex ttw:gap-4 ttw:pt-6", children: [
|
|
78
|
-
/* @__PURE__ */ d(y, { type: "button", variant: "outline", className: "ttw:border-border ttw:flex-1", disabled: o, onClick: () => {
|
|
79
|
-
e("line1"), e("line2"), e("city"), e("state"), e("postalCode"), e("country"), h();
|
|
80
|
-
}, children: r._("Cancel") }),
|
|
81
|
-
/* @__PURE__ */ m(y, { type: "submit", className: "ttw:flex-1", disabled: o || !a.formState.isDirty, children: [
|
|
82
|
-
o && /* @__PURE__ */ d(V, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }),
|
|
83
|
-
r._("Save")
|
|
84
|
-
] })
|
|
85
|
-
] })
|
|
86
|
-
] }) });
|
|
11
|
+
const t = c((a) => n(a), u);
|
|
12
|
+
return /* @__PURE__ */ i(s, { "aria-label": "search-by-name", className: "Monite-SearchField Monite-FilterControl", children: [
|
|
13
|
+
r && /* @__PURE__ */ e(h, { htmlFor: "search-by-name", shrink: !0, children: r }),
|
|
14
|
+
/* @__PURE__ */ e(p, { id: "search-by-name", name: "search-by-name", "aria-label": "search-by-name", placeholder: l, value: o, onChange: (a) => {
|
|
15
|
+
t(a.target.value || null);
|
|
16
|
+
}, startAdornment: /* @__PURE__ */ e(d, { position: "end", children: /* @__PURE__ */ e(m, { fontSize: "medium" }) }), sx: {
|
|
17
|
+
"&::placeholder": {
|
|
18
|
+
opacity: 1,
|
|
19
|
+
color: "text.primary"
|
|
20
|
+
},
|
|
21
|
+
"& input::placeholder": {
|
|
22
|
+
opacity: 1,
|
|
23
|
+
color: "text.primary"
|
|
24
|
+
}
|
|
25
|
+
} })
|
|
26
|
+
] });
|
|
87
27
|
};
|
|
88
28
|
export {
|
|
89
|
-
|
|
29
|
+
u as DEBOUNCE_SEARCH_TIMEOUT,
|
|
30
|
+
x as SearchField
|
|
90
31
|
};
|