@tesouro/embedded-components-react 0.2.1 → 0.2.6
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/index3.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.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/index113.js +1 -1
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +10 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +24 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +79 -194
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +5 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +20 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +72 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +27 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +117 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +70 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +33 -256
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +9 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +12 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +35 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +71 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +54 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +194 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +12 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +14 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +64 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +80 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +28 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +39 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +7 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +250 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +181 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +13 -235
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +108 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +84 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +104 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +106 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +53 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +60 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +88 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +47 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +57 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +148 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +73 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +72 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +236 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +122 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +56 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +25 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +65 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +27 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +18 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +11 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +10 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +53 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +8 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +93 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +24 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +14 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +121 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +47 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +41 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +149 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +70 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +3 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +89 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +100 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +14 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +12 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +59 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +397 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +69 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +406 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +101 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +12 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +7 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +12 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +12 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +7 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +2 -2
- 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 +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +149 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +10 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +18 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +144 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +86 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +22 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +183 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +17 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +29 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +63 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +49 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +26 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +127 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +44 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +73 -14
- 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 +157 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +26 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +78 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +166 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +133 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +14 -90
- 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 +156 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +12 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +18 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +63 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +64 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +59 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +6 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +10 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +55 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +24 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +1 -1
- 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 +60 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +14 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +93 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +96 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +186 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +22 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +53 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +27 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +59 -25
- 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 +16 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +67 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +12 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +46 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +37 -304
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +31 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +104 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +21 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +28 -45
- 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 +30 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +57 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +16 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +8 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +23 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +43 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +92 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +44 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +42 -12
- 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 +17 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +61 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +12 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +90 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +110 -473
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +36 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +37 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +13 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +40 -168
- 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 +53 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +11 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +63 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +70 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +34 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +184 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +24 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +157 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +76 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +20 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +304 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +39 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +14 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +77 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +87 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +41 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +255 -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 +50 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +47 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +204 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +155 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +106 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +49 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +73 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +113 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +41 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +478 -29
- 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 +162 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +39 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +59 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +28 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +114 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +21 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +43 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +53 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +18 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +63 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +96 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +110 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +85 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +93 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +28 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +28 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +5 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +31 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +26 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +12 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +23 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +49 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +21 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +33 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +7 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +18 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +69 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +44 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +26 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +72 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +95 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +35 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +34 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +35 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +13 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +85 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +37 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +12 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +64 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +14 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +61 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +19 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +59 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +116 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +2 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +28 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +37 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +138 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +80 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +68 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +68 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +72 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +44 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +31 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +120 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +70 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +32 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +96 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +75 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +9 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +71 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +21 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +40 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +36 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +13 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +15 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +49 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +56 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +28 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +68 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +39 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +16 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +134 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +16 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +70 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +82 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +52 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +49 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +49 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +44 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +52 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +42 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.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/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/package.json +1 -1
|
@@ -1,113 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { Combobox as Y, ComboboxInput as Z, ComboboxContent as tt, ComboboxList as et, ComboboxItem as C, ComboboxSeparator as rt } from "./index92.js";
|
|
11
|
-
import { Button as ot } from "./index86.js";
|
|
12
|
-
import { Field as at, FieldContent as it, FieldLabel as nt, FieldError as st } from "./index227.js";
|
|
13
|
-
import { InputGroupAddon as lt } from "./index103.js";
|
|
14
|
-
import { cn as dt } from "./index102.js";
|
|
15
|
-
import { Loader2 as ut, Plus as mt } from "lucide-react";
|
|
16
|
-
const h = "__create-new__", Vt = ({
|
|
17
|
-
setIsCreateCounterpartOpened: f,
|
|
18
|
-
setIsViewCounterpartOpened: b,
|
|
19
|
-
isSimplified: a = !1,
|
|
20
|
-
shouldDisableFormUpdate: x = !1,
|
|
21
|
-
disabled: S,
|
|
22
|
-
currentCounterpartId: z,
|
|
23
|
-
handleUpdateCounterpartId: v,
|
|
24
|
-
counterpartAddresses: I
|
|
1
|
+
import { jsx as s } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useGetReceivableById as r } from "./index84.js";
|
|
3
|
+
import { useCancelReceivableById as m } from "./index407.js";
|
|
4
|
+
import { ConfirmationModal as d } from "./index249.js";
|
|
5
|
+
import { useLingui as u } from "@lingui/react";
|
|
6
|
+
const v = ({
|
|
7
|
+
invoiceId: o,
|
|
8
|
+
open: c,
|
|
9
|
+
onClose: i
|
|
25
10
|
}) => {
|
|
26
11
|
const {
|
|
27
|
-
i18n:
|
|
28
|
-
} =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}), [m, _] = F(""), [c, y] = F(!1), M = k(() => {
|
|
41
|
-
!a && f && f(!0);
|
|
42
|
-
}, [a, f]), O = k(() => {
|
|
43
|
-
!a && b && b(!0);
|
|
44
|
-
}, [a, b]), q = j("counterpart_id"), p = x ? z : q, i = w(() => g ? g.data.map((r) => ({
|
|
45
|
-
id: r.id,
|
|
46
|
-
label: H(r)
|
|
47
|
-
})) : [], [g]), o = w(() => i.find((r) => r.id === p) ?? null, [i, p]), B = o ? o.label : m, {
|
|
48
|
-
matchingItems: N,
|
|
49
|
-
nonMatchingItems: L
|
|
50
|
-
} = w(() => {
|
|
51
|
-
const r = o ? "" : m.toLowerCase().trim();
|
|
52
|
-
if (!r)
|
|
53
|
-
return {
|
|
54
|
-
matchingItems: i,
|
|
55
|
-
nonMatchingItems: []
|
|
56
|
-
};
|
|
57
|
-
const n = [], l = [];
|
|
58
|
-
for (const d of i)
|
|
59
|
-
d.label.toLowerCase().includes(r) ? n.push(d) : l.push(d);
|
|
60
|
-
return {
|
|
61
|
-
matchingItems: n,
|
|
62
|
-
nonMatchingItems: l
|
|
63
|
-
};
|
|
64
|
-
}, [m, o, i]), U = w(() => [...a ? [] : [h], ...i.map((r) => r.id)], [i, a]), E = o ? Array.from(o.label)[0]?.toUpperCase() ?? "?" : "+", V = I?.data?.[0] ? J({
|
|
65
|
-
address: I.data[0]
|
|
66
|
-
}) : "", G = !c && !!o && !!V && !a;
|
|
67
|
-
return /* @__PURE__ */ e($, { name: "counterpart_id", control: P, render: ({
|
|
68
|
-
field: r,
|
|
69
|
-
fieldState: {
|
|
70
|
-
error: n
|
|
71
|
-
}
|
|
72
|
-
}) => {
|
|
73
|
-
const l = (t) => {
|
|
74
|
-
x && v ? v(t) : r.onChange(t);
|
|
75
|
-
}, d = (t) => {
|
|
76
|
-
if (t === h) {
|
|
77
|
-
M();
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
_(""), l(t ?? "");
|
|
81
|
-
}, R = (t) => {
|
|
82
|
-
t !== h && (i.some((Q) => Q.id === t) || (_(t), p && l("")));
|
|
83
|
-
};
|
|
84
|
-
return /* @__PURE__ */ e(at, { children: /* @__PURE__ */ s(it, { children: [
|
|
85
|
-
/* @__PURE__ */ e(nt, { htmlFor: "counterpart_id", required: !0, children: u._("Customer") }),
|
|
86
|
-
/* @__PURE__ */ s(Y, { value: p ?? null, onValueChange: d, inputValue: B, onInputValueChange: R, items: U, filter: () => !0, disabled: S, open: c, onOpenChange: (t) => y(t), children: [
|
|
87
|
-
/* @__PURE__ */ s("div", { className: dt("ttw:flex ttw:flex-col ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow]", "ttw:has-[[data-slot=input-group-control]:focus-visible]:border-ring ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50", "ttw:has-[[data-slot][aria-invalid=true]]:border-destructive ttw:has-[[data-slot][aria-invalid=true]]:ring-destructive/20"), children: [
|
|
88
|
-
/* @__PURE__ */ s("div", { className: "ttw:relative", children: [
|
|
89
|
-
/* @__PURE__ */ e(Z, { id: "counterpart_id", placeholder: u._("Select customer"), "aria-invalid": !!n, showClear: c && (!!o || !!m), className: "ttw:min-h-10 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0 ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent", children: /* @__PURE__ */ e(lt, { align: "inline-start", children: D ? /* @__PURE__ */ e(ut, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ e("span", { className: "ttw:flex ttw:size-7 ttw:items-center ttw:justify-center ttw:rounded-full ttw:select-none ttw:text-xs ttw:font-medium", style: {
|
|
90
|
-
backgroundColor: o ? "rgba(203, 203, 254, 1)" : "rgba(235, 235, 255, 1)",
|
|
91
|
-
color: "rgba(55, 55, 255, 1)"
|
|
92
|
-
}, children: E }) }) }),
|
|
93
|
-
!c && o && !a && /* @__PURE__ */ e("div", { className: "ttw:pointer-events-none ttw:absolute ttw:inset-y-0 ttw:right-8 ttw:flex ttw:items-center", children: /* @__PURE__ */ e(ot, { type: "button", variant: "ghost", size: "sm", className: "ttw:pointer-events-auto ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary/10", onPointerDown: (t) => t.stopPropagation(), onClick: O, children: u._("View details") }) })
|
|
94
|
-
] }),
|
|
95
|
-
G && /* @__PURE__ */ e("p", { className: "ttw:pl-12 ttw:pr-3 ttw:pb-2 ttw:text-xs ttw:text-muted-foreground ttw:cursor-text ttw:select-none", onClick: () => y(!0), children: V })
|
|
96
|
-
] }),
|
|
97
|
-
/* @__PURE__ */ e(tt, { container: A, children: /* @__PURE__ */ s(et, { children: [
|
|
98
|
-
!a && /* @__PURE__ */ s(C, { value: h, className: "ttw:text-primary ttw:font-semibold ttw:hover:text-primary ttw:focus:text-primary", children: [
|
|
99
|
-
/* @__PURE__ */ e(mt, {}),
|
|
100
|
-
u._("Create new customer")
|
|
101
|
-
] }),
|
|
102
|
-
N.map((t) => /* @__PURE__ */ e(C, { value: t.id, children: t.label }, t.id)),
|
|
103
|
-
N.length > 0 && L.length > 0 && /* @__PURE__ */ e(rt, {}),
|
|
104
|
-
L.map((t) => /* @__PURE__ */ e(C, { value: t.id, children: t.label }, t.id))
|
|
105
|
-
] }) })
|
|
106
|
-
] }),
|
|
107
|
-
/* @__PURE__ */ e(st, { errors: n ? [n] : [] })
|
|
108
|
-
] }) });
|
|
109
|
-
} });
|
|
12
|
+
i18n: e
|
|
13
|
+
} = u(), {
|
|
14
|
+
data: n,
|
|
15
|
+
isLoading: t
|
|
16
|
+
} = r(o), a = m(o);
|
|
17
|
+
if (!n)
|
|
18
|
+
return null;
|
|
19
|
+
const l = n.document_id ? e._("Cancel receivable") + ` "${n?.document_id}"?` : e._("Cancel receivable?");
|
|
20
|
+
return /* @__PURE__ */ s(d, { open: c && !!o, title: l, message: e._("This action can't be undone."), confirmLabel: e._("Cancel"), cancelLabel: e._("Close"), onClose: i, onConfirm: () => {
|
|
21
|
+
a.mutate(void 0, {
|
|
22
|
+
onSuccess: i
|
|
23
|
+
});
|
|
24
|
+
}, isLoading: a.isPending || t });
|
|
110
25
|
};
|
|
111
26
|
export {
|
|
112
|
-
|
|
27
|
+
v as InvoiceCancelModal
|
|
113
28
|
};
|
|
@@ -1,55 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { jsx as d } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDeleteReceivableById as u } from "./index408.js";
|
|
3
|
+
import { useComponentSettings as f } from "./index69.js";
|
|
4
|
+
import { useUserPermissions as v } from "./index133.js";
|
|
5
|
+
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
6
|
+
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
5
8
|
import "@tanstack/react-query";
|
|
6
|
-
import "
|
|
7
|
-
import {
|
|
8
|
-
import "date-fns";
|
|
9
|
+
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
10
|
+
import { Scope as b } from "../../shared/data-access/dist/lib/scopes.js";
|
|
9
11
|
import "react";
|
|
10
|
-
import "
|
|
11
|
-
import { useLingui as
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
handleEditCustomer: u
|
|
12
|
+
import { ConfirmationModal as C } from "./index249.js";
|
|
13
|
+
import { useLingui as D } from "@lingui/react";
|
|
14
|
+
import { toast as I } from "react-hot-toast";
|
|
15
|
+
const H = ({
|
|
16
|
+
open: r,
|
|
17
|
+
onClose: o,
|
|
18
|
+
invoiceId: t,
|
|
19
|
+
onDelete: n,
|
|
20
|
+
documentId: i
|
|
20
21
|
}) => {
|
|
21
22
|
const {
|
|
22
|
-
i18n:
|
|
23
|
-
} =
|
|
24
|
-
|
|
25
|
-
} =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} = v(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
u(!0);
|
|
39
|
-
}, children: r._("Edit customer") })
|
|
40
|
-
] }) }),
|
|
41
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-6 ttw:space-between ttw:w-full", children: [
|
|
42
|
-
/* @__PURE__ */ e(R, { handleCreate: l, onUpdatePaymentReminder: c, disabled: m || o }),
|
|
43
|
-
/* @__PURE__ */ e(C, { handleCreate: l, onUpdateOverdueReminder: p, disabled: m || o })
|
|
44
|
-
] }),
|
|
45
|
-
s && /* @__PURE__ */ a("p", { className: "ttw:text-muted-foreground ttw:text-sm ttw:font-medium", children: [
|
|
46
|
-
r._("Recipient email: "),
|
|
47
|
-
s,
|
|
48
|
-
/* @__PURE__ */ e("br", {}),
|
|
49
|
-
r._("You can change it in the customer profile.")
|
|
50
|
-
] })
|
|
51
|
-
] });
|
|
23
|
+
i18n: e
|
|
24
|
+
} = D(), {
|
|
25
|
+
receivablesCallbacks: s
|
|
26
|
+
} = f(), {
|
|
27
|
+
mutate: m,
|
|
28
|
+
isPending: a
|
|
29
|
+
} = u(t), l = v().has(b.InvoiceWriteOrg), c = () => {
|
|
30
|
+
l ? m(void 0, {
|
|
31
|
+
onSuccess: () => {
|
|
32
|
+
s?.onDelete?.(t), n?.(), o();
|
|
33
|
+
}
|
|
34
|
+
}) : I.error(e._("You don't have permission to delete this document. Please, contact your system administrator for details."));
|
|
35
|
+
}, p = i ? e._("Delete receivable “{documentId}”?", {
|
|
36
|
+
documentId: i
|
|
37
|
+
}) : e._("Delete receivable?");
|
|
38
|
+
return /* @__PURE__ */ d(C, { open: r, title: p, message: e._("This action can't be undone."), confirmLabel: e._("Delete"), cancelLabel: e._("Cancel"), onClose: o, onConfirm: c, isLoading: a });
|
|
52
39
|
};
|
|
53
40
|
export {
|
|
54
|
-
|
|
41
|
+
H as InvoiceDeleteModal
|
|
55
42
|
};
|
|
@@ -1,75 +1,54 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { Button as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
areFieldsAlwaysSelected: w,
|
|
16
|
-
setAreFieldsAlwaysSelected: f
|
|
1
|
+
import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as l } from "./index86.js";
|
|
3
|
+
import { Dialog as u, DialogContent as g, DialogHeader as b, DialogTitle as f, DialogDescription as w, DialogFooter as k } from "./index178.js";
|
|
4
|
+
import { useLingui as v } from "@lingui/react";
|
|
5
|
+
import { useMarkAsUncollectibleReceivableById as C } from "./index409.js";
|
|
6
|
+
import { useState as x } from "react";
|
|
7
|
+
import { Textarea as D } from "./index124.js";
|
|
8
|
+
import { Label as _ } from "./index265.js";
|
|
9
|
+
import { LoadingSpinner as M } from "./index147.js";
|
|
10
|
+
const U = ({
|
|
11
|
+
invoiceId: r,
|
|
12
|
+
open: s,
|
|
13
|
+
onClose: i,
|
|
14
|
+
onMarkAsUncollectible: c
|
|
17
15
|
}) => {
|
|
18
16
|
const {
|
|
19
|
-
i18n:
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
i18n: o
|
|
18
|
+
} = v(), [n, m] = x(""), {
|
|
19
|
+
mutate: d,
|
|
20
|
+
isPending: a
|
|
21
|
+
} = C(r, c), p = () => {
|
|
22
|
+
d({
|
|
23
|
+
comment: n.trim()
|
|
24
|
+
}, {
|
|
25
|
+
onSuccess: () => {
|
|
26
|
+
i();
|
|
27
|
+
}
|
|
24
28
|
});
|
|
25
29
|
};
|
|
26
|
-
return /* @__PURE__ */ e(u, { open:
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */ e(
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
34
|
-
/* @__PURE__ */ e(l, { variant: "body2", children: t._("Fulfillment date") }),
|
|
35
|
-
/* @__PURE__ */ e(l, { variant: "body2", color: "muted", children: t._("Add a date when the product will be delivered or the service provided") })
|
|
36
|
-
] }),
|
|
37
|
-
/* @__PURE__ */ e(r, { checked: n.isFulfillmentDateShown, onCheckedChange: (a) => o("isFulfillmentDateShown", a), "aria-label": t._("Fulfillment date") })
|
|
38
|
-
] }),
|
|
39
|
-
/* @__PURE__ */ e(c, {}),
|
|
40
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4", children: [
|
|
41
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
42
|
-
/* @__PURE__ */ e(l, { variant: "body2", children: t._("Purchase order") }),
|
|
43
|
-
/* @__PURE__ */ e(l, { variant: "body2", color: "muted", children: t._("You can add a document number to have it in the PDF") })
|
|
44
|
-
] }),
|
|
45
|
-
/* @__PURE__ */ e(r, { checked: n.isPurchaseOrderShown, onCheckedChange: (a) => o("isPurchaseOrderShown", a), "aria-label": t._("Purchase order") })
|
|
46
|
-
] }),
|
|
47
|
-
/* @__PURE__ */ e(c, {}),
|
|
48
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4", children: [
|
|
49
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
50
|
-
/* @__PURE__ */ e(l, { variant: "body2", children: t._("Note to customer") }),
|
|
51
|
-
/* @__PURE__ */ e(l, { variant: "body2", color: "muted", children: t._("Add a note that will be displayed below the line items") })
|
|
52
|
-
] }),
|
|
53
|
-
/* @__PURE__ */ e(r, { checked: n.isFooterShown, onCheckedChange: (a) => o("isFooterShown", a), "aria-label": t._("Note to customer") })
|
|
54
|
-
] }),
|
|
55
|
-
/* @__PURE__ */ i("div", { className: "ttw:hidden ttw:justify-between ttw:items-center ttw:gap-4", children: [
|
|
56
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
57
|
-
/* @__PURE__ */ e(l, { variant: "body2", children: t._("Terms and conditions") }),
|
|
58
|
-
/* @__PURE__ */ e(l, { variant: "body2", color: "muted", children: t._("You can include details about the warranty, insurance, liability, late payment fees and any other important notes") })
|
|
59
|
-
] }),
|
|
60
|
-
/* @__PURE__ */ e(r, { checked: n.isTermsAndConditionsShown, onCheckedChange: (a) => o("isTermsAndConditionsShown", a), "aria-label": t._("Terms and conditions") })
|
|
61
|
-
] }),
|
|
62
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
63
|
-
/* @__PURE__ */ e(p, { id: "alwaysDisplay", checked: w, onCheckedChange: (a) => f(!!a) }),
|
|
64
|
-
/* @__PURE__ */ e(_, { htmlFor: "alwaysDisplay", children: t._("Always display selected fields on the form (where available)") })
|
|
30
|
+
return /* @__PURE__ */ e(u, { open: s, onOpenChange: i, children: /* @__PURE__ */ t(g, { showCloseButton: !1, children: [
|
|
31
|
+
/* @__PURE__ */ t(b, { children: [
|
|
32
|
+
/* @__PURE__ */ e(f, { children: o._("Mark invoice as uncollectible?") }),
|
|
33
|
+
/* @__PURE__ */ t(w, { children: [
|
|
34
|
+
/* @__PURE__ */ e("p", { children: o._("This invoice will change its status, and you won't be able to receive or log any payment against it.") }),
|
|
35
|
+
/* @__PURE__ */ e("br", {}),
|
|
36
|
+
/* @__PURE__ */ e("p", { children: o._("For bookkeeping purposes, this is a write-off and has tax implications.") })
|
|
65
37
|
] })
|
|
66
38
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
/* @__PURE__ */ e(
|
|
69
|
-
/* @__PURE__ */ e(
|
|
39
|
+
/* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:gap-2", children: [
|
|
40
|
+
/* @__PURE__ */ e(_, { htmlFor: "comment", children: o._("Comment (optional)") }),
|
|
41
|
+
/* @__PURE__ */ e(D, { id: "comment", placeholder: o._("Add a comment"), value: n, onChange: (h) => m(h.target.value) })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ t(k, { children: [
|
|
44
|
+
/* @__PURE__ */ e(l, { variant: "outline", onClick: i, children: o._("Cancel") }),
|
|
45
|
+
/* @__PURE__ */ t(l, { onClick: p, disabled: a, children: [
|
|
46
|
+
a && /* @__PURE__ */ e(M, { className: "ttw:w-5 ttw:h-5 ttw:border-inherit ttw:border-t-transparent" }),
|
|
47
|
+
o._("Mark as uncollectible")
|
|
48
|
+
] })
|
|
70
49
|
] })
|
|
71
50
|
] }) });
|
|
72
51
|
};
|
|
73
52
|
export {
|
|
74
|
-
|
|
53
|
+
U as MarkAsUncollectibleModal
|
|
75
54
|
};
|
|
@@ -1,117 +1,100 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import "./
|
|
6
|
-
import { useLingui as _ } from "@lingui/react";
|
|
7
|
-
import { useMemo as h } from "react";
|
|
8
|
-
import "date-fns";
|
|
9
|
-
import { useUserPermissions as v } from "./index133.js";
|
|
10
|
-
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
11
|
-
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
12
|
-
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
1
|
+
import { jsxs as o, Fragment as _, jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ManualPaymentRecordDetails as k } from "./index410.js";
|
|
3
|
+
import { PaymentRecordForm as E } from "./index411.js";
|
|
4
|
+
import { useMoniteContext as $ } from "./index59.js";
|
|
5
|
+
import { useRootElements as B } from "./index94.js";
|
|
13
6
|
import "@tanstack/react-query";
|
|
14
|
-
import "
|
|
15
|
-
import
|
|
16
|
-
import "
|
|
17
|
-
import "
|
|
18
|
-
import "@
|
|
19
|
-
import "
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
import "@mui/icons-material/Close";
|
|
30
|
-
import "@mui/material/IconButton";
|
|
31
|
-
import "@mui/material/Tooltip";
|
|
32
|
-
import { AccessRestrictionModal as D } from "./index399.js";
|
|
33
|
-
import { Dialog as C, DialogContent as z, DialogHeader as E, DialogTitle as S, DialogDescription as P, DialogFooter as $ } from "./index161.js";
|
|
34
|
-
import { Form as F } from "./index376.js";
|
|
35
|
-
import { zodResolver as M } from "@hookform/resolvers/zod";
|
|
36
|
-
const N = (t) => {
|
|
37
|
-
const o = {
|
|
38
|
-
email: t.email || void 0,
|
|
39
|
-
tax_id: t.tax_id || void 0,
|
|
40
|
-
address_line_1: t.address.line1 || void 0,
|
|
41
|
-
address_line_2: t.address.line2 || void 0,
|
|
42
|
-
city: t.address.city || void 0,
|
|
43
|
-
postal_code: t.address.postal_code || void 0,
|
|
44
|
-
state: t.address.state || void 0,
|
|
45
|
-
country: t.address.country || void 0,
|
|
46
|
-
phone: t.phone || void 0,
|
|
47
|
-
website: t.website || void 0
|
|
48
|
-
};
|
|
49
|
-
return "organization" in t ? {
|
|
50
|
-
name: t.organization.legal_name || void 0,
|
|
51
|
-
...o
|
|
52
|
-
} : {
|
|
53
|
-
title: t.individual.title || void 0,
|
|
54
|
-
name: t.individual.first_name || void 0,
|
|
55
|
-
surname: t.individual.last_name || void 0,
|
|
56
|
-
...o
|
|
57
|
-
};
|
|
58
|
-
}, O = ({
|
|
59
|
-
open: t,
|
|
60
|
-
onClose: o,
|
|
61
|
-
entity: r
|
|
7
|
+
import { fromMinorUnits as F, toMinorUnits as H } from "./index119.js";
|
|
8
|
+
import "date-fns";
|
|
9
|
+
import { useEntityUserByAuthToken as L } from "./index77.js";
|
|
10
|
+
import { useCreatePaymentRecord as U } from "./index81.js";
|
|
11
|
+
import { useLingui as A } from "@lingui/react";
|
|
12
|
+
import { Dialog as I, DialogContent as Q, DialogActions as W, Button as m, Box as q } from "@mui/material";
|
|
13
|
+
import { useState as l } from "react";
|
|
14
|
+
const g = {
|
|
15
|
+
amount: 0,
|
|
16
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
17
|
+
payment_time: /* @__PURE__ */ new Date(),
|
|
18
|
+
created_by: ""
|
|
19
|
+
}, ie = ({
|
|
20
|
+
children: b,
|
|
21
|
+
invoice: t
|
|
62
22
|
}) => {
|
|
63
|
-
const {
|
|
64
|
-
i18n:
|
|
65
|
-
} =
|
|
66
|
-
|
|
67
|
-
} =
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}), {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} =
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
23
|
+
const [h, c] = l(!1), [C, r] = l(!1), [e, u] = l(g), {
|
|
24
|
+
i18n: s
|
|
25
|
+
} = A(), {
|
|
26
|
+
root: x
|
|
27
|
+
} = B(), v = () => c(!0), n = () => c(!1), {
|
|
28
|
+
api: p,
|
|
29
|
+
queryClient: y
|
|
30
|
+
} = $(), {
|
|
31
|
+
mutate: D,
|
|
32
|
+
isPending: M
|
|
33
|
+
} = U(), {
|
|
34
|
+
data: f,
|
|
35
|
+
isLoading: R
|
|
36
|
+
} = L(), w = (a) => {
|
|
37
|
+
u({
|
|
38
|
+
...a,
|
|
39
|
+
amount: H(a?.amount ?? 0),
|
|
40
|
+
created_by: f?.id ?? ""
|
|
41
|
+
}), r(!0);
|
|
42
|
+
}, P = () => {
|
|
43
|
+
r(!1), u(g);
|
|
44
|
+
}, S = () => {
|
|
45
|
+
const a = new Date(e.payment_date).setHours(e.payment_time.getHours(), e.payment_time.getMinutes()), j = new Date(a);
|
|
46
|
+
D({
|
|
47
|
+
amount: e?.amount ?? 0,
|
|
48
|
+
currency: t.currency,
|
|
49
|
+
paid_at: j.toISOString(),
|
|
50
|
+
object: {
|
|
51
|
+
id: t.id,
|
|
52
|
+
type: "receivable"
|
|
86
53
|
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
54
|
+
payment_intent_id: t.id,
|
|
55
|
+
entity_user_id: f?.id,
|
|
56
|
+
status: "succeeded"
|
|
57
|
+
}, {
|
|
58
|
+
onSuccess: () => {
|
|
59
|
+
p.finops.getReceivablesId.invalidateQueries({
|
|
60
|
+
parameters: {
|
|
61
|
+
path: {
|
|
62
|
+
receivable_id: t.id
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}, y), p.finops.getReceivables.invalidateQueries(y), n(), P();
|
|
95
66
|
}
|
|
96
67
|
});
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
68
|
+
}, d = M || R;
|
|
69
|
+
return ["draft", "paid", "canceled", "deleted", "accepted", "recurring", "expired", "declined", "uncollectible"].includes(t.status) ? null : /* @__PURE__ */ o(_, { children: [
|
|
70
|
+
b({
|
|
71
|
+
openModal: v
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ i(I, { open: h, onClose: n, container: x, "aria-labelledby": "dialog-title", fullWidth: !0, maxWidth: "sm", children: C ? /* @__PURE__ */ o(_, { children: [
|
|
74
|
+
/* @__PURE__ */ i(Q, { sx: {
|
|
75
|
+
p: 4
|
|
76
|
+
}, children: /* @__PURE__ */ i(k, { invoice: t, paymentRecords: e }) }),
|
|
77
|
+
/* @__PURE__ */ o(W, { sx: {
|
|
78
|
+
px: 4,
|
|
79
|
+
pb: 4,
|
|
80
|
+
justifyContent: "space-between"
|
|
81
|
+
}, children: [
|
|
82
|
+
/* @__PURE__ */ i(m, { onClick: n, children: s._("Cancel") }),
|
|
83
|
+
/* @__PURE__ */ o(q, { sx: {
|
|
84
|
+
display: "flex",
|
|
85
|
+
gap: 2
|
|
86
|
+
}, children: [
|
|
87
|
+
/* @__PURE__ */ i(m, { variant: "outlined", disabled: d, onClick: () => r(!1), children: s._("Edit record") }),
|
|
88
|
+
/* @__PURE__ */ i(m, { variant: "contained", disabled: d, onClick: S, children: s._("Confirm") })
|
|
89
|
+
] })
|
|
90
|
+
] })
|
|
91
|
+
] }) : /* @__PURE__ */ i(E, { invoice: t, initialValues: {
|
|
92
|
+
amount: e.amount ? F(e.amount) : 0,
|
|
93
|
+
payment_date: e.payment_date,
|
|
94
|
+
payment_time: e.payment_time
|
|
95
|
+
}, isLoading: d, onCancel: n, onSubmit: w }) })
|
|
96
|
+
] });
|
|
114
97
|
};
|
|
115
98
|
export {
|
|
116
|
-
|
|
99
|
+
ie as RecordManualPaymentModal
|
|
117
100
|
};
|