@tesouro/embedded-components-react 0.2.205 → 0.2.206
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 +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- 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/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +35 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +22 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +73 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +119 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +217 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +11 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +13 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +19 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +2 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +113 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +66 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +91 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +99 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +12 -226
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +91 -462
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +57 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +9 -539
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +43 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +74 -25
- 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 +55 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +80 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +225 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +462 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +106 -66
- 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 +536 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +5 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +488 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +164 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +42 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +59 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +31 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +119 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +23 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +53 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +142 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +85 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +22 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +183 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +23 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +18 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +32 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +24 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +42 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +50 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +96 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +111 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +88 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +49 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +63 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +56 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +53 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +28 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +77 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +10 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +76 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +76 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +42 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +18 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +167 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +132 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +66 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +158 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +12 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +62 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +57 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +6 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +9 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +58 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +59 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +14 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +60 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +22 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +57 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -489
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +55 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +17 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +36 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +81 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +34 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +360 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +117 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +6 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +17 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +10 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +10 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +11 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +11 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +56 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +19 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +36 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +34 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +15 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +27 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +107 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +18 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +36 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +57 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +48 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +96 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +44 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +145 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +99 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +22 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +25 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +122 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +44 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +117 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +108 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +45 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +202 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +68 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +341 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +303 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +97 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +158 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +261 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +23 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +18 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +26 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +4 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +31 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +33 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +32 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +40 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +95 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +96 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +208 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +127 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +157 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +56 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +11 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +255 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +122 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +54 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +71 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +3 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +46 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +50 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +17 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +26 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +45 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +66 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +116 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +80 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +66 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +47 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +25 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +20 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +50 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +95 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +79 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +17 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +83 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +265 -20
- 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 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +65 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +43 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +139 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +93 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +10 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +2 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +278 -262
- 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 +47 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +15 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +35 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +40 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +66 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +92 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +9 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +5 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +28 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +31 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +125 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +46 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +36 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +45 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +69 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +80 -48
- 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 +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +51 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +8 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +81 -41
- 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 +38 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +14 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +32 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +85 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +103 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +109 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +72 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +68 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +35 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +12 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +41 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +37 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +52 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +51 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +59 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +29 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +26 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +92 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +9 -29
- 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 +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +39 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +52 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +47 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +7 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +39 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.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 +9 -9
- 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 +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { CreateCounterpartDialog as ye } from "./
|
|
2
|
+
import { CreateCounterpartDialog as ye } from "./index157.js";
|
|
3
3
|
import { getCounterpartName as x } from "./index7.js";
|
|
4
4
|
import "./index57.js";
|
|
5
5
|
import { useLingui as ge } from "@lingui/react";
|
|
@@ -14,9 +14,9 @@ import { Alert as ee, AlertTitle as Ae, AlertDescription as te } from "./index15
|
|
|
14
14
|
import { Button as _ } from "./index84.js";
|
|
15
15
|
import { useComboboxAnchor as Te, Combobox as re, ComboboxChips as Ve, ComboboxChip as ke, ComboboxChipsInput as De, ComboboxContent as oe, ComboboxList as ae, ComboboxItem as z, ComboboxInput as Ie, ComboboxEmpty as Le } from "./index90.js";
|
|
16
16
|
import { Field as ie, FieldContent as le, FieldLabel as ne, FieldError as Ee } from "./index159.js";
|
|
17
|
-
import { Input as Se } from "./
|
|
17
|
+
import { Input as Se } from "./index121.js";
|
|
18
18
|
import { Typography as se } from "./index85.js";
|
|
19
|
-
import { LoadingSpinner as je } from "./
|
|
19
|
+
import { LoadingSpinner as je } from "./index138.js";
|
|
20
20
|
import { Plus as de, Sparkles as Pe } from "lucide-react";
|
|
21
21
|
import { useFormContext as qe, Controller as ze } from "react-hook-form";
|
|
22
22
|
const B = "__create-new__", Be = 50, lt = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as M, Fragment as S } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { InvoiceDetailsPanel as N } from "./
|
|
2
|
+
import { InvoiceDetailsPanel as N } from "./index200.js";
|
|
3
3
|
import { CreateReceivables as j } from "./index39.js";
|
|
4
|
-
import { ActionsModal as A } from "./
|
|
4
|
+
import { ActionsModal as A } from "./index201.js";
|
|
5
5
|
import { ReceivablesTableTabEnum as k, ReceivablesTable as V } from "./index41.js";
|
|
6
6
|
import { MoniteScopedProviders as y } from "./index83.js";
|
|
7
7
|
import "./index57.js";
|
|
@@ -12,8 +12,8 @@ import "./index92.js";
|
|
|
12
12
|
import "react-dom";
|
|
13
13
|
import "@mui/x-data-grid";
|
|
14
14
|
import { useComponentSettings as Q } from "./index67.js";
|
|
15
|
-
import { useUserPermissions as U } from "./
|
|
16
|
-
import { AccessRestriction as W } from "./
|
|
15
|
+
import { useUserPermissions as U } from "./index135.js";
|
|
16
|
+
import { AccessRestriction as W } from "./index136.js";
|
|
17
17
|
import { Button as _ } from "./index84.js";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import "tailwind-merge";
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
const t = () =>
|
|
1
|
+
const t = (e) => ({
|
|
2
|
+
approved: e._("Approved"),
|
|
3
|
+
canceled: e._("Canceled"),
|
|
4
|
+
rejected: e._("Rejected"),
|
|
5
|
+
waiting: e._("In approval")
|
|
6
|
+
});
|
|
2
7
|
export {
|
|
3
|
-
t as
|
|
8
|
+
t as getRowToStatusTextMap
|
|
4
9
|
};
|
|
@@ -1,13 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as o, jsxs as h, Fragment as x } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as n } from "react";
|
|
3
|
+
import { useMoniteContext as y } from "./index57.js";
|
|
4
|
+
import { useRootElements as I } from "./index92.js";
|
|
5
|
+
import { classNames as _ } from "./index196.js";
|
|
6
|
+
import { useLingui as F } from "@lingui/react";
|
|
7
|
+
import { Autocomplete as M, TextField as O, CircularProgress as v } from "@mui/material";
|
|
8
|
+
const $ = ({
|
|
9
|
+
onChange: l,
|
|
10
|
+
className: p
|
|
11
|
+
}) => {
|
|
3
12
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
13
|
+
i18n: r
|
|
14
|
+
} = F(), {
|
|
15
|
+
api: d
|
|
16
|
+
} = y(), {
|
|
17
|
+
root: u
|
|
18
|
+
} = I(), [i, s] = n(!1), [m, c] = n(null), [f, g] = n(""), {
|
|
19
|
+
data: C,
|
|
20
|
+
isLoading: a,
|
|
21
|
+
refetch: A
|
|
22
|
+
} = d.finops.getEntityUsers.useQuery({
|
|
23
|
+
query: {
|
|
24
|
+
name__istartswith: f || void 0
|
|
8
25
|
}
|
|
26
|
+
}, {
|
|
27
|
+
enabled: i
|
|
9
28
|
});
|
|
29
|
+
return /* @__PURE__ */ o(M, { autoComplete: !0, includeInputInList: !0, filterSelectedOptions: !0, value: m, noOptionsText: r._("No users found"), slotProps: {
|
|
30
|
+
popper: {
|
|
31
|
+
container: u
|
|
32
|
+
}
|
|
33
|
+
}, open: i, onOpen: () => {
|
|
34
|
+
s(!0);
|
|
35
|
+
}, onClose: () => {
|
|
36
|
+
s(!1);
|
|
37
|
+
}, loading: a, options: C?.data || [], getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(), isOptionEqualToValue: (e, t) => e.id === t.id, filterOptions: (e) => e, onInputChange: (e, t) => {
|
|
38
|
+
g(t);
|
|
39
|
+
}, onChange: (e, t) => {
|
|
40
|
+
c(t), l(t?.id), A();
|
|
41
|
+
}, className: _("Monite-ApprovalAddedByFilter-Container", "Monite-FilterControl", p), sx: {
|
|
42
|
+
"&.MuiAutocomplete-root": {
|
|
43
|
+
display: "flex",
|
|
44
|
+
alignItems: "center"
|
|
45
|
+
}
|
|
46
|
+
}, renderInput: (e) => /* @__PURE__ */ o(O, { ...e, variant: "standard", placeholder: r._("Added by"), className: "Monite-ApprovalAddedByFilter Monite-FilterControl", InputProps: {
|
|
47
|
+
...e.InputProps,
|
|
48
|
+
endAdornment: /* @__PURE__ */ h(x, { children: [
|
|
49
|
+
a ? /* @__PURE__ */ o(v, { color: "inherit", size: 20 }) : null,
|
|
50
|
+
e.InputProps.endAdornment
|
|
51
|
+
] })
|
|
52
|
+
} }) });
|
|
10
53
|
};
|
|
11
54
|
export {
|
|
12
|
-
|
|
55
|
+
$ as AutocompleteCreatedBy
|
|
13
56
|
};
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFileById as s } from "./index77.js";
|
|
3
|
+
import { Avatar as e } from "@mui/material";
|
|
4
|
+
const n = ({
|
|
5
|
+
alt: t,
|
|
6
|
+
fileId: a,
|
|
7
|
+
...r
|
|
8
|
+
}) => a ? /* @__PURE__ */ l(i, { fileId: a, alt: t, ...r }) : /* @__PURE__ */ l(e, { alt: t, ...r }), i = ({
|
|
9
|
+
alt: t,
|
|
10
|
+
fileId: a,
|
|
11
|
+
...r
|
|
12
|
+
}) => {
|
|
3
13
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
return e
|
|
7
|
-
onError: () => {
|
|
8
|
-
}
|
|
9
|
-
});
|
|
14
|
+
data: o
|
|
15
|
+
} = s(a);
|
|
16
|
+
return /* @__PURE__ */ l(e, { alt: t, src: o?.url, ...r });
|
|
10
17
|
};
|
|
11
18
|
export {
|
|
12
|
-
|
|
19
|
+
n as UserAvatar
|
|
13
20
|
};
|
|
@@ -1,12 +1,98 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as n, jsxs as I } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as l, useEffect as w } from "react";
|
|
3
|
+
import { toast as c } from "react-hot-toast";
|
|
4
|
+
import { useRootElements as S } from "./index92.js";
|
|
5
|
+
import "./index57.js";
|
|
6
|
+
import "@tanstack/react-query";
|
|
7
|
+
import "date-fns";
|
|
8
|
+
import { useLingui as R } from "@lingui/react";
|
|
9
|
+
import { usePaymentIntentById as $ } from "./index80.js";
|
|
10
|
+
import { useCreatePayablePaymentLink as v, usePaymentLinkById as B } from "./index453.js";
|
|
11
|
+
import { Modal as j, Box as x, CircularProgress as D } from "@mui/material";
|
|
12
|
+
const G = (r, d, f, i) => {
|
|
13
|
+
const {
|
|
14
|
+
i18n: t
|
|
15
|
+
} = R(), {
|
|
16
|
+
root: k
|
|
17
|
+
} = S(), b = v(), [L, m] = l(!1), [u, o] = l(null), [g, p] = l(null), [_, P] = l(!1), {
|
|
18
|
+
data: s,
|
|
19
|
+
isSuccess: h
|
|
20
|
+
} = $(i ?? "");
|
|
21
|
+
w(() => {
|
|
22
|
+
h && s?.payment_link_id && i && p(s.payment_link_id);
|
|
23
|
+
}, [h, s, i]);
|
|
24
|
+
const {
|
|
25
|
+
data: e,
|
|
26
|
+
refetch: C,
|
|
27
|
+
isSuccess: y,
|
|
28
|
+
isLoading: E
|
|
29
|
+
} = B(g ?? "");
|
|
30
|
+
return w(() => {
|
|
31
|
+
y && e?.payment_intent?.status === "processing" && f?.(r ?? "", e?.payment_intent?.status ?? "");
|
|
32
|
+
}, [e, y, f, r]), {
|
|
33
|
+
handlePay: async () => {
|
|
34
|
+
if (!d) {
|
|
35
|
+
c.error(t._("Vendor not found. Please create a vendor first."));
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (!_)
|
|
39
|
+
try {
|
|
40
|
+
if (E) {
|
|
41
|
+
c.error(t._("Payment link is still loading. Please wait a moment and try again."));
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (!g || y && e?.payment_intent?.status !== "created") {
|
|
45
|
+
if (P(!0), !r) throw new Error("Payable ID is undefined");
|
|
46
|
+
const a = await b(
|
|
47
|
+
r,
|
|
48
|
+
d,
|
|
49
|
+
["sepa_credit"],
|
|
50
|
+
60
|
|
51
|
+
// 60 days from now
|
|
52
|
+
);
|
|
53
|
+
if (a.payment_page_url)
|
|
54
|
+
p(a.id), o(a.payment_page_url);
|
|
55
|
+
else
|
|
56
|
+
throw p(null), o(null), new Error("No payment page URL in response");
|
|
57
|
+
} else if (e?.payment_page_url)
|
|
58
|
+
o(e.payment_page_url);
|
|
59
|
+
else
|
|
60
|
+
throw new Error("No payment page URL in existing payment link");
|
|
61
|
+
m(!0);
|
|
62
|
+
} catch (a) {
|
|
63
|
+
console.error("Payment link creation/retrieval error:", a), c.error(i && s?.status === "created" ? t._("Failed to retrieve payment link. Please try again.") : t._("Failed to create payment link. Please try again.")), m(!1);
|
|
64
|
+
} finally {
|
|
65
|
+
P(!1);
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
isCreatingPaymentLink: _,
|
|
69
|
+
modalComponent: /* @__PURE__ */ n(j, { open: L, onClose: async () => {
|
|
70
|
+
await C(), m(!1), o(null);
|
|
71
|
+
}, container: k, children: /* @__PURE__ */ n(x, { sx: {
|
|
72
|
+
position: "absolute",
|
|
73
|
+
top: "50%",
|
|
74
|
+
left: "50%",
|
|
75
|
+
transform: "translate(-50%, -50%)",
|
|
76
|
+
width: "80%",
|
|
77
|
+
maxWidth: 600,
|
|
78
|
+
bgcolor: "background.paper",
|
|
79
|
+
boxShadow: 24,
|
|
80
|
+
p: 4,
|
|
81
|
+
borderRadius: 2
|
|
82
|
+
}, children: u ? /* @__PURE__ */ n("iframe", { src: u, title: "Payment Page", width: "100%", height: "400px", style: {
|
|
83
|
+
border: "none"
|
|
84
|
+
} }) : /* @__PURE__ */ I(x, { sx: {
|
|
85
|
+
display: "flex",
|
|
86
|
+
flexDirection: "column",
|
|
87
|
+
alignItems: "center",
|
|
88
|
+
gap: 2,
|
|
89
|
+
py: 4
|
|
90
|
+
}, children: [
|
|
91
|
+
/* @__PURE__ */ n(D, {}),
|
|
92
|
+
/* @__PURE__ */ n("p", { children: t._("Loading payment page...") })
|
|
93
|
+
] }) }) })
|
|
94
|
+
};
|
|
9
95
|
};
|
|
10
96
|
export {
|
|
11
|
-
|
|
97
|
+
G as usePaymentHandler
|
|
12
98
|
};
|
|
@@ -1,13 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { useMoniteContext as u } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as l } from "./index119.js";
|
|
3
|
+
import { useLingui as m } from "@lingui/react";
|
|
4
|
+
import { toast as a } from "react-hot-toast";
|
|
5
|
+
const v = (i, n, s, p) => {
|
|
6
|
+
const {
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: t
|
|
9
|
+
} = u(), {
|
|
10
|
+
i18n: o
|
|
11
|
+
} = m();
|
|
12
|
+
return e.finops.postApprovalRequestsIdReject.useMutation({
|
|
13
|
+
path: {
|
|
14
|
+
approval_request_id: i
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: () => {
|
|
18
|
+
if (e.finops.getApprovalRequests.invalidateQueries(t), a.success(o._("Payable “{document_id}” has been rejected", {
|
|
19
|
+
document_id: p
|
|
20
|
+
})), !!s)
|
|
21
|
+
return n?.(s ?? ""), new Promise((r) => {
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
Promise.all([e.finops.getPayablesId.invalidateQueries({
|
|
24
|
+
parameters: {
|
|
25
|
+
path: {
|
|
26
|
+
payable_id: s ?? ""
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, t), e.finops.getPayables.invalidateQueries(t)]).then(() => r());
|
|
30
|
+
}, 500);
|
|
31
|
+
});
|
|
32
|
+
},
|
|
33
|
+
onError: (r) => {
|
|
34
|
+
a.error(l(o, r));
|
|
35
|
+
}
|
|
36
|
+
});
|
|
10
37
|
};
|
|
11
38
|
export {
|
|
12
|
-
|
|
39
|
+
v as useRejectApprovalRequest
|
|
13
40
|
};
|
|
@@ -1,9 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { useMoniteContext as u } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index119.js";
|
|
3
|
+
import { useLingui as d } from "@lingui/react";
|
|
4
|
+
import { toast as a } from "react-hot-toast";
|
|
5
|
+
const g = (i, p, t, n) => {
|
|
6
|
+
const {
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: o
|
|
9
|
+
} = u(), {
|
|
10
|
+
i18n: r
|
|
11
|
+
} = d();
|
|
12
|
+
return e.finops.postApprovalRequestsIdApprove.useMutation({
|
|
13
|
+
path: {
|
|
14
|
+
approval_request_id: i
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: () => (e.finops.getApprovalRequests.invalidateQueries(o), a.success(r._('Payable "{document_id}" has been approved', {
|
|
18
|
+
document_id: n ?? "document id is unknown"
|
|
19
|
+
})), p?.(t ?? ""), new Promise((s) => {
|
|
20
|
+
setTimeout(() => {
|
|
21
|
+
Promise.all([e.finops.getPayablesId.invalidateQueries({
|
|
22
|
+
parameters: {
|
|
23
|
+
path: {
|
|
24
|
+
payable_id: t ?? ""
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, o), e.finops.getPayables.invalidateQueries(o)]).then(() => s());
|
|
28
|
+
}, 500);
|
|
29
|
+
})),
|
|
30
|
+
onError: (s) => {
|
|
31
|
+
a.error(m(r, s));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
};
|
|
7
35
|
export {
|
|
8
|
-
|
|
36
|
+
g as useApproveApprovalRequest
|
|
9
37
|
};
|
|
@@ -1,56 +1,87 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as t, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as S, useMemo as p } from "react";
|
|
3
|
+
import { useFormContext as $, Controller as E } from "react-hook-form";
|
|
4
|
+
import { getCounterpartEmail as V, getCounterpartName as I } from "./index7.js";
|
|
5
|
+
import { useRootElements as j } from "./index92.js";
|
|
6
|
+
import "./index57.js";
|
|
7
|
+
import { useCounterpartList as k } from "./index71.js";
|
|
8
|
+
import "react-hot-toast";
|
|
9
|
+
import { useLingui as z } from "@lingui/react";
|
|
10
|
+
import { Combobox as D, ComboboxInput as A, ComboboxContent as q, ComboboxList as B, ComboboxEmpty as G, ComboboxItem as K } from "./index90.js";
|
|
11
|
+
import { Field as M, FieldContent as O, FieldLabel as P, FieldDescription as R, FieldError as T } from "./index159.js";
|
|
12
|
+
import { InputGroupAddon as H } from "./index101.js";
|
|
13
|
+
import { Loader2 as J, Search as Q } from "lucide-react";
|
|
14
|
+
const me = ({
|
|
15
|
+
disabled: _,
|
|
16
|
+
canCreateCounterpart: i = !0
|
|
11
17
|
}) => {
|
|
12
18
|
const {
|
|
13
|
-
i18n:
|
|
14
|
-
} =
|
|
15
|
-
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
i18n: o
|
|
20
|
+
} = z(), {
|
|
21
|
+
root: g
|
|
22
|
+
} = j(), {
|
|
23
|
+
control: x,
|
|
24
|
+
setValue: s,
|
|
25
|
+
watch: v,
|
|
26
|
+
clearErrors: f
|
|
27
|
+
} = $(), {
|
|
28
|
+
data: d,
|
|
29
|
+
isLoading: L
|
|
30
|
+
} = k({
|
|
23
31
|
query: {
|
|
24
|
-
|
|
32
|
+
is_customer: !0
|
|
25
33
|
}
|
|
26
|
-
}, {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
}), [h, C] = S(!1), m = v("counterpart_name") ?? "", c = p(() => d ? d.data.map((e) => ({
|
|
35
|
+
id: e.id,
|
|
36
|
+
name: I(e),
|
|
37
|
+
email: V(e)
|
|
38
|
+
})) : [], [d]), a = p(() => {
|
|
39
|
+
const e = m.toLowerCase().trim();
|
|
40
|
+
return e ? c.filter((n) => n.name.toLowerCase().includes(e) || n.email.toLowerCase().includes(e)) : c;
|
|
41
|
+
}, [c, m]), y = p(() => a.map((e) => e.id), [a]);
|
|
42
|
+
return /* @__PURE__ */ t(E, { name: "counterpart_id", control: x, render: ({
|
|
43
|
+
field: e,
|
|
44
|
+
fieldState: {
|
|
45
|
+
error: n
|
|
32
46
|
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
}) => {
|
|
48
|
+
const w = (r) => {
|
|
49
|
+
s("counterpart_name", ""), s("counterpart_email", ""), f(["counterpart_id", "counterpart_email"]), e.onChange(r ?? "");
|
|
50
|
+
}, N = (r, l) => {
|
|
51
|
+
if (l.reason !== "input-change") {
|
|
52
|
+
i || s("counterpart_name", "");
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
s("counterpart_name", r), e.value && e.onChange(""), i && r.trim() && f("counterpart_id");
|
|
56
|
+
};
|
|
57
|
+
return /* @__PURE__ */ t(M, { children: /* @__PURE__ */ u(O, { children: [
|
|
58
|
+
/* @__PURE__ */ t(P, { htmlFor: "counterpart_id", children: o._("Name") }),
|
|
59
|
+
/* @__PURE__ */ u(D, { value: e.value || null, onValueChange: w, inputValue: m, onInputValueChange: N, items: y, filter: () => !0, disabled: _, open: h, onOpenChange: C, children: [
|
|
60
|
+
/* @__PURE__ */ t(A, { id: "counterpart_id", placeholder: i ? o._("Search or type to add a customer") : o._("Search for a customer"), "aria-invalid": !!n, onKeyDown: (r) => {
|
|
61
|
+
if (r.key === "Enter") {
|
|
62
|
+
r.preventDefault();
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (r.key === "Tab" && h) {
|
|
66
|
+
const l = m.toLowerCase().trim();
|
|
67
|
+
if (!l) return;
|
|
68
|
+
const b = a.find((F) => F.name.toLowerCase() === l) ?? (a.length === 1 ? a[0] : void 0);
|
|
69
|
+
b && (w(b.id), C(!1));
|
|
70
|
+
}
|
|
71
|
+
}, children: /* @__PURE__ */ t(H, { align: "inline-start", children: L ? /* @__PURE__ */ t(J, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ t(Q, { className: "ttw:size-4 ttw:text-muted-foreground" }) }) }),
|
|
72
|
+
/* @__PURE__ */ t(q, { container: g, children: /* @__PURE__ */ u(B, { children: [
|
|
73
|
+
/* @__PURE__ */ t(G, { children: i ? o._("No customers found - type to add a customer") : o._("No customers found") }),
|
|
74
|
+
a.map((r) => /* @__PURE__ */ t(K, { value: r.id, children: /* @__PURE__ */ u("div", { className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
75
|
+
/* @__PURE__ */ t("span", { children: r.name }),
|
|
76
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-muted-foreground", children: r.email })
|
|
77
|
+
] }) }, r.id))
|
|
78
|
+
] }) })
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ t(R, { children: i ? o._("Search by customer name or email. New customers will be saved when saving the invoice.") : o._("Search by customer name or email.") }),
|
|
81
|
+
/* @__PURE__ */ t(T, { errors: n ? [n] : [] })
|
|
82
|
+
] }) });
|
|
83
|
+
} });
|
|
53
84
|
};
|
|
54
85
|
export {
|
|
55
|
-
|
|
86
|
+
me as CounterpartSelector
|
|
56
87
|
};
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return /* @__PURE__ */ l(e, { alt: t, src: o?.url, ...r });
|
|
17
|
-
};
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "./index100.js";
|
|
3
|
+
import * as r from "@radix-ui/react-avatar";
|
|
4
|
+
function n({
|
|
5
|
+
className: t,
|
|
6
|
+
...a
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(r.Root, { "data-slot": "avatar", className: l("ttw:relative ttw:flex ttw:size-8 ttw:shrink-0 ttw:overflow-hidden ttw:rounded-full", t), ...a });
|
|
9
|
+
}
|
|
10
|
+
function f({
|
|
11
|
+
className: t,
|
|
12
|
+
...a
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e(r.Fallback, { "data-slot": "avatar-fallback", className: l("ttw:bg-muted ttw:flex ttw:size-full ttw:items-center ttw:justify-center ttw:rounded-full", t), ...a });
|
|
15
|
+
}
|
|
18
16
|
export {
|
|
19
|
-
n as
|
|
17
|
+
n as Avatar,
|
|
18
|
+
f as AvatarFallback
|
|
20
19
|
};
|
|
@@ -1,18 +1,88 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as e, Fragment as v, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as k, useMemo as b } from "react";
|
|
3
|
+
import { useFormContext as Y, Controller as j } from "react-hook-form";
|
|
4
|
+
import { format as x } from "date-fns";
|
|
5
|
+
import { Calendar as A } from "lucide-react";
|
|
6
|
+
import { calculateDueDate as N } from "./index7.js";
|
|
7
|
+
import { useLingui as L } from "@lingui/react";
|
|
8
|
+
import { dedupePaymentTermsByContent as $ } from "./index454.js";
|
|
9
|
+
import { RECEIPT_DUE_PAYMENT_TERM as u, CUSTOM_DATE_PAYMENT_TERM as l } from "./index330.js";
|
|
10
|
+
import { cn as D } from "./index100.js";
|
|
11
|
+
import { Skeleton as O } from "./index139.js";
|
|
12
|
+
import { Select as R, SelectTrigger as U, SelectValue as V, SelectContent as z, SelectItem as h, SelectSeparator as I } from "./index240.js";
|
|
13
|
+
import { Popover as q, PopoverAnchor as B, PopoverContent as K } from "./index373.js";
|
|
14
|
+
import { Calendar as G } from "./index455.js";
|
|
15
|
+
import { Field as H, FieldContent as J, FieldLabel as Q, FieldDescription as W, FieldError as X } from "./index159.js";
|
|
16
|
+
const S = "MMM d, yyyy", ue = ({
|
|
17
|
+
disabled: T,
|
|
18
|
+
paymentTerms: f,
|
|
19
|
+
isLoading: E
|
|
20
|
+
}) => {
|
|
3
21
|
const {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
22
|
+
i18n: a
|
|
23
|
+
} = L(), {
|
|
24
|
+
control: M,
|
|
25
|
+
watch: w,
|
|
26
|
+
setValue: _
|
|
27
|
+
} = Y(), [F, m] = k(!1), i = w("payment_terms_id"), y = w("frequency") !== "once", o = w("payment_terms_custom_date") ?? void 0, p = (r) => _("payment_terms_custom_date", r ?? null), {
|
|
28
|
+
dedupedTerms: g
|
|
29
|
+
} = b(() => $(f?.data ?? []), [f]), d = g.find((r) => r?.id === i), P = d && N(d), c = () => {
|
|
30
|
+
window.setTimeout(() => m(!0), 0);
|
|
31
|
+
}, C = (r, s) => /* @__PURE__ */ n("span", { className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
32
|
+
/* @__PURE__ */ e("span", { className: "ttw:truncate", children: r }),
|
|
33
|
+
s && /* @__PURE__ */ e("span", { className: "ttw:text-muted-foreground ttw:shrink-0 ttw:text-xs", children: x(s, S) })
|
|
34
|
+
] });
|
|
35
|
+
return /* @__PURE__ */ e(v, { children: E ? /* @__PURE__ */ e(O, { className: "ttw:w-full ttw:h-9" }) : /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(j, { name: "payment_terms_id", control: M, render: ({
|
|
36
|
+
field: r,
|
|
37
|
+
fieldState: {
|
|
38
|
+
error: s
|
|
13
39
|
}
|
|
14
|
-
})
|
|
40
|
+
}) => /* @__PURE__ */ e(H, { children: /* @__PURE__ */ n(J, { children: [
|
|
41
|
+
/* @__PURE__ */ e(Q, { htmlFor: "payment_terms_id", children: a._("Payment terms") }),
|
|
42
|
+
/* @__PURE__ */ n(q, { open: F, onOpenChange: (t) => {
|
|
43
|
+
m(t), !t && i === l && !o && r.onChange(void 0);
|
|
44
|
+
}, children: [
|
|
45
|
+
/* @__PURE__ */ n(R, { ...r, disabled: T, value: r.value, onValueChange: (t) => {
|
|
46
|
+
if (t === l) {
|
|
47
|
+
i !== l && p(void 0), r.onChange(t), c();
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
r.onChange(t), t === u && _("payment_reminder_id", "", {
|
|
51
|
+
shouldDirty: !0
|
|
52
|
+
}), p(void 0), m(!1);
|
|
53
|
+
}, children: [
|
|
54
|
+
/* @__PURE__ */ e(B, { className: "ttw:w-full", children: /* @__PURE__ */ e(U, { id: "payment_terms_id", className: "ttw:w-full", "aria-invalid": !!s, children: /* @__PURE__ */ n(V, { placeholder: a._("Select payment terms"), children: [
|
|
55
|
+
i === u && /* @__PURE__ */ e("span", { className: "ttw:truncate", children: a._("Due on receipt") }),
|
|
56
|
+
i === l && /* @__PURE__ */ n("span", { className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
57
|
+
/* @__PURE__ */ n("span", { className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-1.5", children: [
|
|
58
|
+
/* @__PURE__ */ e(A, { className: D("ttw:size-4 ttw:shrink-0", !o && "ttw:text-muted-foreground") }),
|
|
59
|
+
/* @__PURE__ */ e("span", { className: D("ttw:truncate", !o && "ttw:text-muted-foreground"), children: o ? x(o, S) : a._("Mon DD, YYYY") })
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ e("span", { className: "ttw:text-muted-foreground ttw:shrink-0 ttw:text-xs", children: a._("Custom date") })
|
|
62
|
+
] }),
|
|
63
|
+
d && C(d.name, P)
|
|
64
|
+
] }) }) }),
|
|
65
|
+
/* @__PURE__ */ n(z, { children: [
|
|
66
|
+
/* @__PURE__ */ e(h, { value: u, children: a._("Due on receipt") }),
|
|
67
|
+
!y && /* @__PURE__ */ e(h, { value: l, onPointerUp: c, onClick: c, onKeyDown: (t) => {
|
|
68
|
+
(t.key === "Enter" || t.key === " ") && c();
|
|
69
|
+
}, children: a._("Custom date") }),
|
|
70
|
+
/* @__PURE__ */ e(I, {}),
|
|
71
|
+
g.map((t) => /* @__PURE__ */ e(h, { value: t.id, children: C(t.name, N(t)) }, t.id))
|
|
72
|
+
] })
|
|
73
|
+
] }),
|
|
74
|
+
/* @__PURE__ */ e(K, { className: "ttw:w-auto ttw:overflow-hidden ttw:p-0", align: "start", onFocusOutside: (t) => {
|
|
75
|
+
t.preventDefault();
|
|
76
|
+
}, children: /* @__PURE__ */ e(G, { mode: "single", captionLayout: "dropdown", selected: o, disabled: {
|
|
77
|
+
before: /* @__PURE__ */ new Date()
|
|
78
|
+
}, onSelect: (t) => {
|
|
79
|
+
p(t), m(!1);
|
|
80
|
+
} }) })
|
|
81
|
+
] }),
|
|
82
|
+
y && /* @__PURE__ */ e(W, { children: a._("Each invoice in the series will have the same payment term.") }),
|
|
83
|
+
/* @__PURE__ */ e(X, { errors: s ? [s] : [] })
|
|
84
|
+
] }) }) }) }) });
|
|
15
85
|
};
|
|
16
86
|
export {
|
|
17
|
-
|
|
87
|
+
ue as PaymentSection
|
|
18
88
|
};
|