@tesouro/embedded-components-react 0.2.33 → 0.2.35
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/index.css +3 -3
- package/dist/lib/ReceivablesWidget.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +26 -26
- 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 +25 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.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/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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +34 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +4 -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 +25 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1271 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +23 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +10 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +97 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +25 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +6 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +7 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +10 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +214 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +56 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +33 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +7 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +74 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +28 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +12 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +24 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +100 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +46 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +43 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +14 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +41 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +10 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +152 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +54 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +66 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +26 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +61 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +82 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +58 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +194 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +14 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +80 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +27 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +40 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +246 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +179 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +113 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +84 -73
- 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 +105 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +108 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +58 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +60 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +86 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +48 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +112 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +184 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +30 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +121 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +53 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +19 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +27 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +18 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +12 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +8 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +22 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +4 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +5 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +6 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +45 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +50 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +381 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +19 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +92 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +97 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +2 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +10 -368
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +27 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +114 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +67 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +10 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +12 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +96 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +101 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +12 -212
- 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 +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +60 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +398 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +69 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +407 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.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/index251.js +35 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +50 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +34 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +54 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +343 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +9 -486
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +16 -163
- 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 +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +35 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +37 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +15 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +17 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +38 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +50 -31
- 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 +30 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +96 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +37 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +27 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +5 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +72 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +32 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +18 -96
- 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 +484 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +167 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +22 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +53 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +29 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +60 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +19 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +40 -20
- 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 +59 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +94 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +109 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +84 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +62 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +63 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +22 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +183 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +102 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +81 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +287 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +43 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +15 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +80 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +225 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +39 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +149 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +48 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +47 -57
- 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 +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +111 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +38 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +344 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +291 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +103 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +160 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +263 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +25 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +18 -37
- 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 +41 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +59 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +30 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +113 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +21 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +54 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +10 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +44 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +46 -17
- 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 +38 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +6 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +95 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +34 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +54 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +41 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +54 -338
- 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 +13 -303
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +88 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +122 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +16 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +38 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +40 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +158 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +27 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +78 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +2 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +92 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +95 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +191 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +25 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +126 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +20 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +19 -28
- 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 +169 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +132 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +156 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +59 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +66 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +59 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +6 -288
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +8 -46
- 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 +62 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +58 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +14 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +14 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +73 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +76 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +42 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +19 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +22 -61
- 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 +29 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +18 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +38 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +67 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +11 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +255 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +30 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +92 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +37 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +32 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +22 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +45 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +11 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +50 -65
- 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 +67 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +15 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +36 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +25 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +73 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +65 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +61 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +66 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +31 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +24 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +103 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +107 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +29 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +39 -7
- 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 +9 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +19 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +18 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +10 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +33 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +21 -35
- 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 +96 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +36 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +35 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +123 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +18 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +72 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +9 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +68 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +42 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +27 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +18 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +38 -39
- 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 +45 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +56 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +32 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +51 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +57 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +42 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +35 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +14 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +53 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +39 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +92 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +75 -83
- 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 +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +12 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +9 -9
- 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 +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +2 -2
- 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 +12 -12
- 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/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +1 -1
|
@@ -1,99 +1,52 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import "./
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
invoice: r,
|
|
18
|
-
initialValues: n,
|
|
19
|
-
isLoading: u,
|
|
20
|
-
onSubmit: s,
|
|
21
|
-
onCancel: c
|
|
1
|
+
import { jsx as t, jsxs as e, Fragment as c } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useEffect as f } from "react";
|
|
3
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
|
+
import { X as g, CloudUpload as x, AlertCircle as N, CheckCircle2 as b } from "lucide-react";
|
|
5
|
+
import { LoadingSpinner as y } from "./index148.js";
|
|
6
|
+
import { Typography as l } from "./index87.js";
|
|
7
|
+
import { twMerge as v } from "tailwind-merge";
|
|
8
|
+
import { UploadBar as C } from "./index457.js";
|
|
9
|
+
const U = ({
|
|
10
|
+
isUploading: o,
|
|
11
|
+
isSuccess: r,
|
|
12
|
+
isError: i,
|
|
13
|
+
isDraggingOver: d,
|
|
14
|
+
resetUpload: a,
|
|
15
|
+
fileName: m,
|
|
16
|
+
onClick: u
|
|
22
17
|
}) => {
|
|
23
18
|
const {
|
|
24
|
-
i18n:
|
|
25
|
-
} =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}, [n])
|
|
40
|
-
});
|
|
41
|
-
C(() => {
|
|
42
|
-
l(n);
|
|
43
|
-
}, [n, l]);
|
|
44
|
-
const h = d(r.currency);
|
|
45
|
-
return /* @__PURE__ */ e(b, { children: /* @__PURE__ */ o("form", { onSubmit: f(s), children: [
|
|
46
|
-
/* @__PURE__ */ e(T, { sx: {
|
|
47
|
-
px: 4,
|
|
48
|
-
pt: 4
|
|
49
|
-
}, variant: "h3", id: "dialog-title", children: t._("Record payment") }),
|
|
50
|
-
/* @__PURE__ */ e(P, { sx: {
|
|
51
|
-
p: 4
|
|
52
|
-
}, children: /* @__PURE__ */ o(i, { container: !0, spacing: 1, children: [
|
|
53
|
-
/* @__PURE__ */ o(i, { item: !0, xs: 12, children: [
|
|
54
|
-
/* @__PURE__ */ e(S, { label: t._("Amount"), name: "amount", placeholder: "0", control: a, type: "number", sx: {
|
|
55
|
-
"::after": {
|
|
56
|
-
content: `"${h}"`,
|
|
57
|
-
position: "absolute",
|
|
58
|
-
right: "16px",
|
|
59
|
-
bottom: 0,
|
|
60
|
-
transform: "translateY(-50%)",
|
|
61
|
-
fontSize: "16px",
|
|
62
|
-
color: "rgba(0,0,0,0.28)",
|
|
63
|
-
pointerEvents: "none"
|
|
64
|
-
}
|
|
65
|
-
}, fullWidth: !0, required: !0 }),
|
|
66
|
-
/* @__PURE__ */ o(k, { children: [
|
|
67
|
-
t._("Enter full amount due of"),
|
|
68
|
-
" ",
|
|
69
|
-
/* @__PURE__ */ e(m, { variant: "text", sx: {
|
|
70
|
-
textDecoration: "underline"
|
|
71
|
-
}, onClick: () => x("amount", r.amount_due / 100), children: p(r.amount_due, r.currency) })
|
|
72
|
-
] })
|
|
19
|
+
i18n: s
|
|
20
|
+
} = h(), w = o || r || i;
|
|
21
|
+
function p() {
|
|
22
|
+
return i ? /* @__PURE__ */ t(N, { className: "ttw:size-5 ttw:text-danger" }) : r ? /* @__PURE__ */ t(b, { className: "ttw:size-5 ttw:text-success" }) : /* @__PURE__ */ t(y, { className: "ttw:w-5 ttw:h-5" });
|
|
23
|
+
}
|
|
24
|
+
return f(() => {
|
|
25
|
+
let n;
|
|
26
|
+
return r && (n = setTimeout(() => a(), 2e3)), () => clearTimeout(n);
|
|
27
|
+
}, [r, a]), /* @__PURE__ */ t("div", { className: v("ttw:w-full ttw:h-38 ttw:bg-white ttw:box-border ttw:transition-all ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:gap-2 ttw:rounded-lg ttw:border ttw:px-4 ttw:py-6", d ? "ttw:border-solid ttw:border-primary" : "ttw:border-dashed ttw:border-border"), onClick: () => {
|
|
28
|
+
w || u();
|
|
29
|
+
}, children: w ? /* @__PURE__ */ e(c, { children: [
|
|
30
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-4 ttw:justify-center ttw:w-full", children: [
|
|
31
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:w-1/2 ttw:items-center", children: [
|
|
32
|
+
p(),
|
|
33
|
+
/* @__PURE__ */ t("span", { className: "ttw:w-full ttw:text-sm ttw:leading-5 ttw:text-medium ttw:text-neutral ttw:truncate", children: m })
|
|
73
34
|
] }),
|
|
74
|
-
/* @__PURE__ */ e(
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
] }) }),
|
|
88
|
-
/* @__PURE__ */ o(E, { sx: {
|
|
89
|
-
px: 4,
|
|
90
|
-
pb: 4
|
|
91
|
-
}, children: [
|
|
92
|
-
/* @__PURE__ */ e(m, { autoFocus: !0, onClick: c, children: t._("Cancel") }),
|
|
93
|
-
/* @__PURE__ */ e(m, { variant: "contained", startIcon: u ? /* @__PURE__ */ e(H, { size: 20, color: "warning" }) : null, type: "submit", children: t._("Save") })
|
|
94
|
-
] })
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:items-center", children: [
|
|
36
|
+
/* @__PURE__ */ t(C, { shouldStartProgress: o, isError: i, isSuccess: r }),
|
|
37
|
+
i && /* @__PURE__ */ t("button", { type: "button", disabled: o, onClick: a, className: "ttw:border-none ttw:cursor-pointer", children: /* @__PURE__ */ t(g, { className: "ttw:size-4" }) })
|
|
38
|
+
] })
|
|
39
|
+
] }),
|
|
40
|
+
i && /* @__PURE__ */ t(l, { variant: "body2", color: "destructive", className: "ttw:font-medium", children: s._("Wrong file format. Please, upload the file in JPEG, PNG or GIF format.") })
|
|
41
|
+
] }) : /* @__PURE__ */ e(c, { children: [
|
|
42
|
+
/* @__PURE__ */ t("div", { className: "ttw:p-3 ttw:bg-primary ttw:rounded-full", children: /* @__PURE__ */ t(x, { className: "ttw:text-white ttw:size-5" }) }),
|
|
43
|
+
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:font-medium", children: [
|
|
44
|
+
s._("Drop your files here, or "),
|
|
45
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline ttw:hover:cursor-pointer", children: s._("click to browse") })
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ t(l, { variant: "caption", color: "muted", children: s._("PNG, JPG or GIF (max. 10MB)") })
|
|
95
48
|
] }) });
|
|
96
49
|
};
|
|
97
50
|
export {
|
|
98
|
-
|
|
51
|
+
U as DragAndDropBox
|
|
99
52
|
};
|
|
@@ -1,39 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} = c();
|
|
12
|
-
return e.finops.postRecurrencesIdCancel.useMutation({
|
|
13
|
-
path: {
|
|
14
|
-
recurrence_id: s
|
|
15
|
-
}
|
|
16
|
-
}, {
|
|
17
|
-
onError: (n) => {
|
|
18
|
-
a.error(o(i, n));
|
|
19
|
-
},
|
|
20
|
-
onSuccess: async () => {
|
|
21
|
-
await Promise.all([e.finops.getReceivables.invalidateQueries(r), e.finops.getReceivablesId.invalidateQueries({
|
|
22
|
-
parameters: {
|
|
23
|
-
path: {
|
|
24
|
-
receivable_id: t
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}, r), e.finops.getRecurrencesId.invalidateQueries({
|
|
28
|
-
parameters: {
|
|
29
|
-
path: {
|
|
30
|
-
recurrence_id: s
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}, r)]), a.success(i._("Recurrence has been canceled"));
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
};
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Switch as a } from "radix-ui";
|
|
3
|
+
import { cn as e } from "./index102.js";
|
|
4
|
+
function o({
|
|
5
|
+
className: s,
|
|
6
|
+
size: r = "default",
|
|
7
|
+
...i
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "switch", "data-size": r, className: e("ttw:peer ttw:group/switch ttw:inline-flex ttw:shrink-0 ttw:items-center ttw:rounded-full ttw:border ttw:border-transparent ttw:shadow-xs ttw:transition-all ttw:outline-none ttw:focus-visible:border-ring ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50 ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-[1.15rem] ttw:data-[size=default]:w-8 ttw:data-[size=sm]:h-3.5 ttw:data-[size=sm]:w-6 ttw:data-[state=checked]:bg-primary ttw:data-[state=unchecked]:bg-input ttw:dark:data-[state=unchecked]:bg-input/80", s), ...i, children: /* @__PURE__ */ t(a.Thumb, { "data-slot": "switch-thumb", className: e("ttw:pointer-events-none ttw:block ttw:rounded-full ttw:bg-background ttw:ring-0 ttw:transition-transform ttw:group-data-[size=default]/switch:size-4 ttw:group-data-[size=sm]/switch:size-3 ttw:data-[state=checked]:translate-x-[calc(100%-2px)] ttw:data-[state=unchecked]:translate-x-0 ttw:dark:data-[state=checked]:bg-primary-foreground ttw:dark:data-[state=unchecked]:bg-foreground") }) });
|
|
10
|
+
}
|
|
37
11
|
export {
|
|
38
|
-
|
|
12
|
+
o as Switch
|
|
39
13
|
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const n = 1e3 * 60 * 60 * 24, T = Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()), o = Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), a = Math.floor((T - o) / n);
|
|
8
|
-
return a > 0 ? a : 0;
|
|
9
|
-
};
|
|
1
|
+
const t = (e) => ({
|
|
2
|
+
approved: e._("Approved"),
|
|
3
|
+
canceled: e._("Canceled"),
|
|
4
|
+
rejected: e._("Rejected"),
|
|
5
|
+
waiting: e._("In approval")
|
|
6
|
+
});
|
|
10
7
|
export {
|
|
11
|
-
|
|
8
|
+
t as getRowToStatusTextMap
|
|
12
9
|
};
|
|
@@ -1,71 +1,56 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import { useUpdateMeasureUnit as V } from "./index387.js";
|
|
12
|
-
const P = {
|
|
13
|
-
name: "",
|
|
14
|
-
description: ""
|
|
15
|
-
}, D = ({
|
|
16
|
-
id: s,
|
|
17
|
-
isEditMode: n,
|
|
18
|
-
initialValues: h = P,
|
|
19
|
-
onCancel: g,
|
|
20
|
-
onEdit: v
|
|
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 "./index59.js";
|
|
4
|
+
import { useRootElements as I } from "./index94.js";
|
|
5
|
+
import { classNames as _ } from "./index184.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
|
|
21
11
|
}) => {
|
|
22
12
|
const {
|
|
23
|
-
i18n:
|
|
24
|
-
} =
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
})), i = V(s ?? "", () => v?.(), (e) => c("name", {
|
|
36
|
-
type: "custom",
|
|
37
|
-
message: e
|
|
38
|
-
})), x = (e) => {
|
|
39
|
-
if (!n || !s) {
|
|
40
|
-
console.error("handleEdit called without valid id or edit mode");
|
|
41
|
-
return;
|
|
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
|
|
42
25
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
26
|
+
}, {
|
|
27
|
+
enabled: i
|
|
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
|
+
} }) });
|
|
68
53
|
};
|
|
69
54
|
export {
|
|
70
|
-
|
|
55
|
+
$ as AutocompleteCreatedBy
|
|
71
56
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { CreateCounterpartDialog as Ce } from "./
|
|
2
|
+
import { CreateCounterpartDialog as Ce } from "./index166.js";
|
|
3
3
|
import { getCounterpartName as k } from "./index7.js";
|
|
4
4
|
import "./index59.js";
|
|
5
5
|
import { useLingui as xe } from "@lingui/react";
|
|
@@ -10,13 +10,13 @@ import "react-dom";
|
|
|
10
10
|
import "@mui/x-data-grid";
|
|
11
11
|
import { useIsMounted as ge } from "./index70.js";
|
|
12
12
|
import { useCounterpartList as Ne } from "./index73.js";
|
|
13
|
-
import { Alert as $, AlertTitle as _e, AlertDescription as ee } from "./
|
|
13
|
+
import { Alert as $, AlertTitle as _e, AlertDescription as ee } from "./index167.js";
|
|
14
14
|
import { Button as g } from "./index86.js";
|
|
15
15
|
import { useComboboxAnchor as Ae, Combobox as te, ComboboxChips as Te, ComboboxChip as ke, ComboboxChipsInput as Le, ComboboxContent as re, ComboboxList as ae, ComboboxItem as j, ComboboxInput as Ve, ComboboxEmpty as De } from "./index92.js";
|
|
16
|
-
import { Field as ie, FieldContent as oe, FieldLabel as ne, FieldError as Ee } from "./
|
|
17
|
-
import { Input as Ie } from "./
|
|
16
|
+
import { Field as ie, FieldContent as oe, FieldLabel as ne, FieldError as Ee } from "./index168.js";
|
|
17
|
+
import { Input as Ie } from "./index129.js";
|
|
18
18
|
import { Typography as le } from "./index87.js";
|
|
19
|
-
import { LoadingSpinner as ze } from "./
|
|
19
|
+
import { LoadingSpinner as ze } from "./index148.js";
|
|
20
20
|
import { Plus as se, Sparkles as Fe } from "lucide-react";
|
|
21
21
|
import { useFormContext as Se, Controller as je } from "react-hook-form";
|
|
22
22
|
const P = "__create-new__", Pe = 50, ot = ({
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsx as t, jsxs as v, Fragment as Pe } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { useCounterpartById as Qe } from "./index72.js";
|
|
2
|
+
import { ItemsSection as $e } from "./index196.js";
|
|
3
|
+
import { InvoicePreview as Fe } from "./index197.js";
|
|
4
|
+
import { getCreateInvoiceValidationSchema as Me } from "./index198.js";
|
|
5
|
+
import { buildPaymentTermsPayload as Be } from "./index199.js";
|
|
6
|
+
import { BankAccountFormDialog as Ee } from "./index43.js";
|
|
7
|
+
import { BankAccountSection as Le } from "./index200.js";
|
|
8
|
+
import { CustomerSection as qe } from "./index201.js";
|
|
9
|
+
import { InvoiceCreationHeader as Te } from "./index202.js";
|
|
10
|
+
import { useCreateReceivable as Ne } from "./index203.js";
|
|
11
|
+
import { useCreateRecurrence as Re } from "./index204.js";
|
|
12
|
+
import { useLineItemSubmitCleanup as Oe } from "./index205.js";
|
|
13
|
+
import { useGetEntityBankAccounts as je } from "./index206.js";
|
|
14
|
+
import { useGetInvoiceRequiredFields as Ve } from "./index207.js";
|
|
15
|
+
import { useMoniteContext as ze } from "./index59.js";
|
|
16
|
+
import { MoniteScopedProviders as Ke } from "./index85.js";
|
|
17
|
+
import { useCounterpartById as Ge } from "./index72.js";
|
|
19
18
|
import "@tanstack/react-query";
|
|
20
|
-
import { useCounterpartAddresses as
|
|
19
|
+
import { useCounterpartAddresses as Qe } from "./index74.js";
|
|
21
20
|
import { format as R } from "date-fns";
|
|
22
|
-
import { useMyEntity as
|
|
23
|
-
import { useRef as
|
|
21
|
+
import { useMyEntity as Ue } from "./index80.js";
|
|
22
|
+
import { useRef as He, useState as b, useMemo as O, useId as Ye, useEffect as j } from "react";
|
|
24
23
|
import { toast as m } from "react-hot-toast";
|
|
25
24
|
import { useLingui as V } from "@lingui/react";
|
|
26
|
-
import { rateMajorToMinor as
|
|
27
|
-
import { AccessRestriction as
|
|
28
|
-
import { LoadingPage as
|
|
29
|
-
import { zodResolver as
|
|
30
|
-
import { useForm as
|
|
31
|
-
import { Dialog as
|
|
32
|
-
import { useGetMeasureUnits as
|
|
33
|
-
import { CreateProduct as
|
|
34
|
-
import { BillingSection as
|
|
25
|
+
import { rateMajorToMinor as Je } from "./index208.js";
|
|
26
|
+
import { AccessRestriction as We } from "./index146.js";
|
|
27
|
+
import { LoadingPage as Xe } from "./index209.js";
|
|
28
|
+
import { zodResolver as Ze } from "@hookform/resolvers/zod";
|
|
29
|
+
import { useForm as et, FormProvider as tt } from "react-hook-form";
|
|
30
|
+
import { Dialog as rt, DialogContent as at } from "./index194.js";
|
|
31
|
+
import { useGetMeasureUnits as it } from "./index210.js";
|
|
32
|
+
import { CreateProduct as nt } from "./index46.js";
|
|
33
|
+
import { BillingSection as ot } from "./index211.js";
|
|
34
|
+
import { NotesSection as dt } from "./index212.js";
|
|
35
35
|
const zt = (s) => {
|
|
36
36
|
const {
|
|
37
37
|
i18n: _
|
|
38
38
|
} = V();
|
|
39
|
-
return /* @__PURE__ */ t(
|
|
40
|
-
},
|
|
39
|
+
return /* @__PURE__ */ t(Ke, { children: s.type === "invoice" ? /* @__PURE__ */ t(st, { ...s }) : /* @__PURE__ */ t(We, { description: _._("You can not create receivable with a type other than “invoice”") }) });
|
|
40
|
+
}, S = "USD", st = ({
|
|
41
41
|
type: s,
|
|
42
42
|
onCreate: _,
|
|
43
43
|
open: z,
|
|
@@ -46,24 +46,24 @@ const zt = (s) => {
|
|
|
46
46
|
const {
|
|
47
47
|
i18n: n
|
|
48
48
|
} = V(), {
|
|
49
|
-
api:
|
|
49
|
+
api: D,
|
|
50
50
|
componentSettings: G,
|
|
51
51
|
queryClient: Q
|
|
52
|
-
} =
|
|
52
|
+
} = ze(), I = He(!1), d = !!G?.receivables?.enableEntityBankAccount, {
|
|
53
53
|
data: A,
|
|
54
54
|
isLoading: U
|
|
55
|
-
} =
|
|
55
|
+
} = D.finops.getPaymentTerms.useQuery(), {
|
|
56
56
|
data: l
|
|
57
|
-
} =
|
|
57
|
+
} = je(void 0, d), {
|
|
58
58
|
isLoading: H,
|
|
59
59
|
data: P
|
|
60
|
-
} =
|
|
60
|
+
} = Ue(), [Y, J] = b(!1), [$, g] = b(!1), [F, h] = b(!1), [M, B] = b(""), E = et({
|
|
61
61
|
// `zodResolver`'s inferred `Resolver` generic and react-hook-form's own
|
|
62
62
|
// `Resolver` type end up structurally "unrelated" to `tsc --build` for
|
|
63
63
|
// this schema's shape (deeply nested `line_items` + large currency
|
|
64
64
|
// union), so the cast pins it to the same `Resolver` identity `useForm`
|
|
65
65
|
// expects instead of relying on that cross-package inference.
|
|
66
|
-
resolver:
|
|
66
|
+
resolver: Ze(Me(n, d)),
|
|
67
67
|
defaultValues: O(() => ({
|
|
68
68
|
type: s,
|
|
69
69
|
counterpart_id: "",
|
|
@@ -77,7 +77,7 @@ const zt = (s) => {
|
|
|
77
77
|
bank_account_id: "",
|
|
78
78
|
overdue_reminder_id: "",
|
|
79
79
|
payment_reminder_id: "",
|
|
80
|
-
memo:
|
|
80
|
+
memo: "",
|
|
81
81
|
footer: "",
|
|
82
82
|
tax_mode: "exclusive",
|
|
83
83
|
frequency: "once",
|
|
@@ -99,27 +99,27 @@ const zt = (s) => {
|
|
|
99
99
|
setValue: o,
|
|
100
100
|
clearErrors: L,
|
|
101
101
|
getFieldState: ee
|
|
102
|
-
} =
|
|
102
|
+
} = E, {
|
|
103
103
|
registerLineItemCleanupFn: te,
|
|
104
104
|
runLineItemCleanup: re
|
|
105
|
-
} =
|
|
105
|
+
} = Oe(), c = i("counterpart_id"), ae = i("frequency") !== "once", {
|
|
106
106
|
data: a
|
|
107
|
-
} =
|
|
107
|
+
} = Ge(c), {
|
|
108
108
|
data: x
|
|
109
|
-
} =
|
|
109
|
+
} = Qe(c), p = i("default_billing_address_id"), f = O(() => x?.data?.find((e) => e.id === p), [p, x?.data]), {
|
|
110
110
|
mutateAsync: ie,
|
|
111
111
|
isPending: ne
|
|
112
|
-
} =
|
|
112
|
+
} = Ne(), {
|
|
113
113
|
mutate: oe,
|
|
114
114
|
isPending: de
|
|
115
|
-
} =
|
|
115
|
+
} = Re(), u = ne || de, {
|
|
116
116
|
data: se
|
|
117
|
-
} =
|
|
117
|
+
} = Ve({
|
|
118
118
|
counterpart_billing_address_id: a?.id === c && p || void 0,
|
|
119
119
|
counterpart_country: f?.id === p && f?.country || void 0,
|
|
120
120
|
counterpart_id: c || void 0,
|
|
121
121
|
counterpart_type: a?.id === c && a?.type || void 0
|
|
122
|
-
}), ce = se?.entity?.tax_id?.required, q = `Monite-Form-receivablesDetailsForm-${
|
|
122
|
+
}), ce = se?.entity?.tax_id?.required, q = `Monite-Form-receivablesDetailsForm-${Ye()}`;
|
|
123
123
|
j(() => {
|
|
124
124
|
if (d && l && !I.current) {
|
|
125
125
|
const e = l?.data?.[0];
|
|
@@ -129,7 +129,7 @@ const zt = (s) => {
|
|
|
129
129
|
const {
|
|
130
130
|
data: ue,
|
|
131
131
|
isLoading: me
|
|
132
|
-
} =
|
|
132
|
+
} = it(), w = i("bank_account_id"), _e = i("bank_account_type"), le = async (e) => {
|
|
133
133
|
const C = a && a?.reminders_enabled, Ce = a && "organization" in a ? a?.organization?.email : void 0, ke = a && "individual" in a ? a?.individual?.email : void 0, k = Ce || ke;
|
|
134
134
|
if (e.type !== "invoice") {
|
|
135
135
|
m.error(n._("`type` except `invoice` is not supported yet"));
|
|
@@ -151,11 +151,11 @@ const zt = (s) => {
|
|
|
151
151
|
m.error(n._("Reminders are disabled for this customer, and no email address has been added for it. Please update the details or turn off reminders."));
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
|
-
const
|
|
154
|
+
const Se = e.default_shipping_address_id, De = x?.data?.find((r) => r.id === Se), Ie = {
|
|
155
155
|
type: e.type,
|
|
156
156
|
counterpart_id: e.counterpart_id,
|
|
157
157
|
counterpart_billing_address_id: f?.id,
|
|
158
|
-
counterpart_shipping_address_id:
|
|
158
|
+
counterpart_shipping_address_id: De?.id,
|
|
159
159
|
bank_account_id: e.bank_account_id || void 0,
|
|
160
160
|
bank_account_type: e.bank_account_id ? e.bank_account_type : void 0,
|
|
161
161
|
...Be({
|
|
@@ -176,12 +176,12 @@ const zt = (s) => {
|
|
|
176
176
|
} : void 0,
|
|
177
177
|
type: "product"
|
|
178
178
|
},
|
|
179
|
-
tax_rate_value: r.taxable ?
|
|
179
|
+
tax_rate_value: r.taxable ? Je(Number(e.tax_rate) || 0) : void 0
|
|
180
180
|
})),
|
|
181
181
|
memo: e.memo,
|
|
182
182
|
footer: e.footer,
|
|
183
183
|
purchase_order: e.purchase_order || void 0,
|
|
184
|
-
currency:
|
|
184
|
+
currency: S,
|
|
185
185
|
payment_reminder_id: e.payment_reminder_id || void 0,
|
|
186
186
|
overdue_reminder_id: e.overdue_reminder_id || void 0,
|
|
187
187
|
tag_ids: [],
|
|
@@ -191,7 +191,7 @@ const zt = (s) => {
|
|
|
191
191
|
id: N
|
|
192
192
|
} = await ie(Ie, {
|
|
193
193
|
onSuccess: async (r) => {
|
|
194
|
-
e.frequency === "once" && (await
|
|
194
|
+
e.frequency === "once" && (await D.finops.getReceivables.invalidateQueries(Q), _?.(r.id));
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
e.frequency !== "once" && oe({
|
|
@@ -214,31 +214,31 @@ const zt = (s) => {
|
|
|
214
214
|
}, pe = i("line_items"), fe = i("payment_terms_id"), ye = i("memo"), ve = i("footer"), be = i("tax_mode"), ge = i("purchase_order"), he = i("tax_rate"), T = ee("bank_account_id"), xe = (e) => {
|
|
215
215
|
o("bank_account_id", e), o("bank_account_type", e ? "BANK_DETAILS" : void 0);
|
|
216
216
|
}, y = () => {
|
|
217
|
-
h(!1), M &&
|
|
217
|
+
h(!1), M && B("");
|
|
218
218
|
}, we = (e) => {
|
|
219
219
|
h(!1), o("bank_account_id", e), o("bank_account_type", "BANK_DETAILS");
|
|
220
220
|
};
|
|
221
221
|
return j(() => {
|
|
222
222
|
w && T?.invalid && L("bank_account_id");
|
|
223
|
-
}, [w, T, L]), H || me ? /* @__PURE__ */ t(
|
|
224
|
-
/* @__PURE__ */ t(
|
|
223
|
+
}, [w, T, L]), H || me ? /* @__PURE__ */ t(Xe, {}) : /* @__PURE__ */ v(Pe, { children: [
|
|
224
|
+
/* @__PURE__ */ t(rt, { open: z, onOpenChange: K, modal: !1, children: /* @__PURE__ */ v(at, { showCloseButton: !1, fullScreen: !0, className: "ttw:flex ttw:gap-0 ttw:p-0", onInteractOutside: (e) => e.preventDefault(), children: [
|
|
225
225
|
/* @__PURE__ */ v("div", { className: "ttw:w-1/2 ttw:h-screen ttw:overflow-auto ttw:flex ttw:flex-col ttw:gap-6 ttw:px-8 ttw:pt-6 ttw:pb-10", children: [
|
|
226
|
-
/* @__PURE__ */ t(
|
|
227
|
-
/* @__PURE__ */ t(
|
|
226
|
+
/* @__PURE__ */ t(Te, { formName: q, isDisabled: u, isRecurrenceEnabled: ae }),
|
|
227
|
+
/* @__PURE__ */ t(tt, { ...E, children: /* @__PURE__ */ t("form", { id: q, noValidate: !0, onSubmit: async (e) => {
|
|
228
228
|
e.preventDefault(), re(), await Z(le)(e);
|
|
229
229
|
}, children: /* @__PURE__ */ v("div", { className: "ttw:flex ttw:flex-col ttw:gap-8", children: [
|
|
230
|
-
/* @__PURE__ */ t(
|
|
231
|
-
/* @__PURE__ */ t(
|
|
232
|
-
/* @__PURE__ */ t(
|
|
233
|
-
d && /* @__PURE__ */ t(
|
|
234
|
-
h(!0), e &&
|
|
230
|
+
/* @__PURE__ */ t(qe, { disabled: u, isEditCustomerOpen: Y, handleOpenEditCustomer: W, counterpart: a }),
|
|
231
|
+
/* @__PURE__ */ t(ot, { paymentTerms: A, isPaymentTermsLoading: U, disabled: u }),
|
|
232
|
+
/* @__PURE__ */ t($e, { registerLineItemCleanupFn: te, defaultCurrency: S, handleOpenCreateProductDialog: X }),
|
|
233
|
+
d && /* @__PURE__ */ t(Le, { disabled: u, handleOpenBankModal: (e) => {
|
|
234
|
+
h(!0), e && B(e);
|
|
235
235
|
} }),
|
|
236
|
-
/* @__PURE__ */ t(
|
|
236
|
+
/* @__PURE__ */ t(dt, { disabled: u })
|
|
237
237
|
] }) }) })
|
|
238
238
|
] }),
|
|
239
239
|
/* @__PURE__ */ t("div", { className: "ttw:w-1/2 ttw:h-screen ttw:overflow-auto", style: {
|
|
240
240
|
background: "linear-gradient(180deg, #F6F6F6 0%, #E4E4FF 100%)"
|
|
241
|
-
}, children: /* @__PURE__ */ t(
|
|
241
|
+
}, children: /* @__PURE__ */ t(Fe, { invoiceData: {
|
|
242
242
|
payment_terms_id: fe,
|
|
243
243
|
line_items: (pe || []).map((e) => ({
|
|
244
244
|
...e,
|
|
@@ -251,10 +251,10 @@ const zt = (s) => {
|
|
|
251
251
|
tax_mode: be,
|
|
252
252
|
purchase_order: ge || void 0,
|
|
253
253
|
tax_rate: he
|
|
254
|
-
}, counterpart: a, currency:
|
|
254
|
+
}, counterpart: a, currency: S, entityData: P, address: f, paymentTerms: A }) })
|
|
255
255
|
] }) }),
|
|
256
|
-
$ && /* @__PURE__ */ t(
|
|
257
|
-
d && F && /* @__PURE__ */ t(
|
|
256
|
+
$ && /* @__PURE__ */ t(nt, { open: $, onClose: () => g(!1), onCreated: () => g(!1) }),
|
|
257
|
+
d && F && /* @__PURE__ */ t(Ee, { isOpen: F, entityBankAccountId: M, bankAccounts: l?.data ?? [], onCancel: y, onCreate: we, onUpdate: y, onDelete: y, handleClose: y, handleSelectBankAfterDeletion: xe })
|
|
258
258
|
] });
|
|
259
259
|
};
|
|
260
260
|
export {
|