@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,136 +1,61 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import "./index94.js";
|
|
10
|
-
import { useLingui as O } from "@lingui/react";
|
|
11
|
-
import "react-dom";
|
|
12
|
-
import "@mui/x-data-grid";
|
|
13
|
-
import { useTheme as U, Box as i, Typography as a, darken as d, Divider as f, Button as $ } from "@mui/material";
|
|
14
|
-
const Q = ({
|
|
15
|
-
invoice: s,
|
|
16
|
-
offers: g,
|
|
17
|
-
financedInvoice: e,
|
|
18
|
-
enableNavigate: u = !1,
|
|
19
|
-
handleNavigate: m
|
|
1
|
+
import { jsxs as a, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { DatePicker as D } from "./index349.js";
|
|
3
|
+
import { FormField as c, FormItem as i, FormLabel as u, FormControl as h, FormMessage as m } from "./index357.js";
|
|
4
|
+
import { Select as p, SelectTrigger as F, SelectValue as M, SelectContent as S, SelectItem as g } from "./index279.js";
|
|
5
|
+
import { useLingui as C } from "@lingui/react";
|
|
6
|
+
import { useFormContext as N } from "react-hook-form";
|
|
7
|
+
const V = ({
|
|
8
|
+
isUpdate: n = !1
|
|
20
9
|
}) => {
|
|
21
10
|
const {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} =
|
|
26
|
-
|
|
27
|
-
} =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
issueDate: h
|
|
45
|
-
}) })
|
|
46
|
-
] }),
|
|
47
|
-
/* @__PURE__ */ r(i, { sx: {
|
|
48
|
-
display: "flex",
|
|
49
|
-
gap: 3
|
|
50
|
-
}, children: [
|
|
51
|
-
/* @__PURE__ */ r(i, { width: "100%", children: [
|
|
52
|
-
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), mb: 0.5, fontWeight: 400, children: n._("Financing plan {value}", {
|
|
53
|
-
value: (l?.pricingPlanIndex ?? 0) + 1
|
|
54
|
-
}) }),
|
|
55
|
-
/* @__PURE__ */ t(a, { variant: "body1", fontWeight: 400, children: n._("{value}% advance rate, Pay in {pricingPlan} days, {value1}% fee", {
|
|
56
|
-
value: (l?.data?.advance_rate_percentage ?? 0) / 100,
|
|
57
|
-
pricingPlan: l?.data?.repayment_duration_days,
|
|
58
|
-
value1: (l?.data?.fee_percentage ?? 0) / 100
|
|
59
|
-
}) })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ r(i, { width: "100%", children: [
|
|
62
|
-
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), mb: 0.5, fontWeight: 400, children: n._("Repayment on") }),
|
|
63
|
-
/* @__PURE__ */ t(a, { variant: "body1", fontWeight: 400, children: n._("{repaymentDate}", {
|
|
64
|
-
repaymentDate: D
|
|
65
|
-
}) })
|
|
66
|
-
] }),
|
|
67
|
-
/* @__PURE__ */ r(i, { width: "100%", children: [
|
|
68
|
-
/* @__PURE__ */ t(a, { variant: "body1", color: d(o.palette.grey[50], 0.4), mb: 0.5, fontWeight: 400, children: n._("Status") }),
|
|
69
|
-
/* @__PURE__ */ t(T, { icon: !0, status: e?.status ?? "DEFAULTED" })
|
|
11
|
+
control: s,
|
|
12
|
+
watch: w,
|
|
13
|
+
setValue: f
|
|
14
|
+
} = N(), {
|
|
15
|
+
i18n: r
|
|
16
|
+
} = C(), _ = w("recurrence_start_date"), o = w("recurrence_issue_mode"), d = _ ? new Date(_) : void 0, v = (e) => {
|
|
17
|
+
if (!o) return !1;
|
|
18
|
+
const l = e.getDate(), x = new Date(e.getFullYear(), e.getMonth() + 1, 0).getDate();
|
|
19
|
+
return o === "first_day" ? l !== 1 : o === "last_day" ? l !== x : !1;
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-6", children: [
|
|
22
|
+
/* @__PURE__ */ t(c, { control: s, name: "recurrence_issue_mode", render: ({
|
|
23
|
+
field: e
|
|
24
|
+
}) => /* @__PURE__ */ a(i, { className: "ttw:flex-1", children: [
|
|
25
|
+
/* @__PURE__ */ t(u, { children: r._("Issue at") }),
|
|
26
|
+
/* @__PURE__ */ a(p, { disabled: n, onValueChange: (l) => {
|
|
27
|
+
e.onChange(l), f("recurrence_start_date", void 0), f("recurrence_end_date", void 0);
|
|
28
|
+
}, value: e.value, children: [
|
|
29
|
+
/* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(F, { className: "ttw:w-full", children: /* @__PURE__ */ t(M, { className: "ttw:max-w-4/5 ttw:text-ellipsis ttw:whitespace-nowrap" }) }) }),
|
|
30
|
+
/* @__PURE__ */ a(S, { children: [
|
|
31
|
+
/* @__PURE__ */ t(g, { value: "first_day", children: r._("Start of the month") }),
|
|
32
|
+
/* @__PURE__ */ t(g, { value: "last_day", children: r._("End of the month") })
|
|
70
33
|
] })
|
|
71
34
|
] }),
|
|
72
|
-
/* @__PURE__ */ t(
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
/* @__PURE__ */ t(
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
border: `1px solid ${o.palette.divider}`,
|
|
95
|
-
display: "flex",
|
|
96
|
-
gap: 2,
|
|
97
|
-
justifyContent: "space-between",
|
|
98
|
-
alignItems: "center",
|
|
99
|
-
cursor: u ? "pointer" : "default"
|
|
100
|
-
}, ...u && m && {
|
|
101
|
-
onClick: () => m(s.id)
|
|
102
|
-
}, children: [
|
|
103
|
-
/* @__PURE__ */ r(i, { children: [
|
|
104
|
-
/* @__PURE__ */ t(a, { variant: "body1", fontWeight: 500, children: n._("Invoice {invoiceDocument_id}", {
|
|
105
|
-
invoiceDocument_id: s.document_id || w
|
|
106
|
-
}) }),
|
|
107
|
-
/* @__PURE__ */ t(a, { color: o.palette.text.secondary, variant: "body2", children: n._("For {invoiceAmount} | Issued {issueDate}", {
|
|
108
|
-
invoiceAmount: v,
|
|
109
|
-
issueDate: h
|
|
110
|
-
}) })
|
|
111
|
-
] }),
|
|
112
|
-
/* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(N, { status: s.status }) })
|
|
113
|
-
] })
|
|
114
|
-
] }),
|
|
115
|
-
W && /* @__PURE__ */ t(i, { sx: {
|
|
116
|
-
mt: "auto",
|
|
117
|
-
borderTop: `1px solid ${o.palette.divider}`,
|
|
118
|
-
px: 4,
|
|
119
|
-
py: 2,
|
|
120
|
-
display: "flex",
|
|
121
|
-
alignItems: "center",
|
|
122
|
-
justifyContent: "flex-end"
|
|
123
|
-
}, children: /* @__PURE__ */ t($, { variant: "contained", color: "primary", onClick: () => b({
|
|
124
|
-
component: "PAY_NOW"
|
|
125
|
-
}), sx: {
|
|
126
|
-
py: 1.25,
|
|
127
|
-
px: 1.5,
|
|
128
|
-
height: 32,
|
|
129
|
-
fontSize: 14,
|
|
130
|
-
ml: "auto"
|
|
131
|
-
}, children: n._("Repay now") }) })
|
|
35
|
+
/* @__PURE__ */ t(m, {})
|
|
36
|
+
] }) }),
|
|
37
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-start ttw:gap-4", children: [
|
|
38
|
+
/* @__PURE__ */ t(c, { control: s, name: "recurrence_start_date", render: ({
|
|
39
|
+
field: e
|
|
40
|
+
}) => /* @__PURE__ */ a(i, { className: "ttw:flex-1", children: [
|
|
41
|
+
/* @__PURE__ */ t(u, { children: r._("Period starts on") }),
|
|
42
|
+
/* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(D, { ...e, selected: e.value ? new Date(e.value) : void 0, onSelect: e.onChange, showOutsideDays: !1, disabled: v, shouldDisableButton: n, startMonth: /* @__PURE__ */ new Date(), endMonth: new Date(2050, 11), ...n && e.value ? {
|
|
43
|
+
defaultMonth: new Date(e.value)
|
|
44
|
+
} : {} }) }),
|
|
45
|
+
/* @__PURE__ */ t(m, {})
|
|
46
|
+
] }) }),
|
|
47
|
+
/* @__PURE__ */ t(c, { control: s, name: "recurrence_end_date", render: ({
|
|
48
|
+
field: e
|
|
49
|
+
}) => /* @__PURE__ */ a(i, { className: "ttw:flex-1", children: [
|
|
50
|
+
/* @__PURE__ */ t(u, { children: r._("Period ends on") }),
|
|
51
|
+
/* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(D, { ...e, selected: e.value ? new Date(e.value) : void 0, onSelect: e.onChange, showOutsideDays: !1, disabled: v, startMonth: d ? new Date(d.getFullYear(), d.getMonth() + 2, 0) : /* @__PURE__ */ new Date(), endMonth: new Date(2050, 11), ...n && e.value ? {
|
|
52
|
+
defaultMonth: new Date(e.value)
|
|
53
|
+
} : {} }) }),
|
|
54
|
+
/* @__PURE__ */ t(m, {})
|
|
55
|
+
] }) })
|
|
56
|
+
] })
|
|
132
57
|
] });
|
|
133
58
|
};
|
|
134
59
|
export {
|
|
135
|
-
|
|
60
|
+
V as RecurrenceFormContent
|
|
136
61
|
};
|
|
@@ -1,164 +1,13 @@
|
|
|
1
|
-
import { jsx as t
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import "./index94.js";
|
|
12
|
-
import { defaultCounterpartColumnWidth as j, useAutosizeGridColumns as U } from "./index64.js";
|
|
13
|
-
import "@tanstack/react-query";
|
|
14
|
-
import "date-fns";
|
|
15
|
-
import { useGetReceivableById as q } from "./index84.js";
|
|
16
|
-
import "react-script-hook";
|
|
17
|
-
import { useGetFinancedInvoices as H } from "./index342.js";
|
|
18
|
-
import { MoniteScopedProviders as K } from "./index85.js";
|
|
19
|
-
import { ReceivableCursorFields as V } from "./index141.js";
|
|
20
|
-
import { GetNoRowsOverlay as Y } from "./index143.js";
|
|
21
|
-
import { Dialog as Z } from "./index52.js";
|
|
22
|
-
import { TablePagination as J } from "./index88.js";
|
|
23
|
-
import { classNames as Q } from "./index150.js";
|
|
24
|
-
import { Typography as c, Button as X, Box as ee } from "@mui/material";
|
|
25
|
-
import { DataGrid as ae } from "@mui/x-data-grid";
|
|
26
|
-
const Re = (s) => /* @__PURE__ */ t(K, { children: /* @__PURE__ */ t(te, { ...s }) }), te = ({
|
|
27
|
-
onRowClick: s,
|
|
28
|
-
query: u,
|
|
29
|
-
offers: x
|
|
30
|
-
}) => {
|
|
31
|
-
const {
|
|
32
|
-
i18n: a
|
|
33
|
-
} = E(), {
|
|
34
|
-
locale: b,
|
|
35
|
-
componentSettings: f
|
|
36
|
-
} = A(), {
|
|
37
|
-
startFinanceSession: h
|
|
38
|
-
} = L(), [F, g] = r(!1), [n, _] = r(null), {
|
|
39
|
-
data: v
|
|
40
|
-
} = q(n?.invoice_id ?? "", !!n?.invoice_id), [y, w] = r(void 0), [C, I] = r(f.receivables.pageSizeOptions?.[0] ?? 10), [R, M] = r({
|
|
41
|
-
field: u?.sort ?? "created_at",
|
|
42
|
-
sort: u?.order ?? "desc"
|
|
43
|
-
}), {
|
|
44
|
-
formatCurrencyToDisplay: l
|
|
45
|
-
} = B(), {
|
|
46
|
-
data: d,
|
|
47
|
-
isLoading: N,
|
|
48
|
-
isError: O,
|
|
49
|
-
refetch: T
|
|
50
|
-
} = H({
|
|
51
|
-
order: R?.sort,
|
|
52
|
-
limit: C,
|
|
53
|
-
pagination_token: y
|
|
54
|
-
}), m = d?.data, D = (e) => {
|
|
55
|
-
M(e[0]), w(void 0);
|
|
56
|
-
}, p = b.dateFormat, S = W(() => [{
|
|
57
|
-
field: "document_id",
|
|
58
|
-
headerName: a._("Number"),
|
|
59
|
-
sortable: !1,
|
|
60
|
-
width: 140,
|
|
61
|
-
renderCell: ({
|
|
62
|
-
value: e
|
|
63
|
-
}) => e ? /* @__PURE__ */ t("span", { className: "Monite-TextOverflowContainer", children: e }) : /* @__PURE__ */ t("span", { className: "Monite-TextOverflowContainer", children: /* @__PURE__ */ t(c, { color: "text.secondary", component: "span", fontSize: "inherit", children: a._("INV-auto") }) })
|
|
64
|
-
}, {
|
|
65
|
-
field: "payer_type",
|
|
66
|
-
headerName: a._("Customer"),
|
|
67
|
-
display: "flex",
|
|
68
|
-
width: j,
|
|
69
|
-
renderCell: (e) => /* @__PURE__ */ t(c, { children: e.row.payer_type == "BUSINESS" ? e.row.payer_business_name : `${e.row.payer_first_name} ${e.row.payer_last_name}` })
|
|
70
|
-
}, {
|
|
71
|
-
field: "status",
|
|
72
|
-
headerName: a._("Status"),
|
|
73
|
-
sortable: V.includes("status"),
|
|
74
|
-
width: 160,
|
|
75
|
-
renderCell: ({
|
|
76
|
-
value: e
|
|
77
|
-
}) => /* @__PURE__ */ t(k, { icon: !0, status: e })
|
|
78
|
-
}, {
|
|
79
|
-
field: "total_amount",
|
|
80
|
-
headerName: a._("Amount due"),
|
|
81
|
-
headerAlign: "right",
|
|
82
|
-
align: "right",
|
|
83
|
-
width: 120,
|
|
84
|
-
valueGetter: (e, i) => {
|
|
85
|
-
const o = i.repayment_schedule?.repayment_amount;
|
|
86
|
-
return o ? l(o, i.currency) : "-";
|
|
87
|
-
}
|
|
88
|
-
}, {
|
|
89
|
-
field: "repayment_schedule",
|
|
90
|
-
headerName: a._("Loan sum"),
|
|
91
|
-
headerAlign: "right",
|
|
92
|
-
align: "right",
|
|
93
|
-
width: 120,
|
|
94
|
-
valueGetter: (e, i) => {
|
|
95
|
-
const o = i.repayment_schedule?.repayment_principal_amount;
|
|
96
|
-
return o ? l(o, i.currency) : "-";
|
|
97
|
-
}
|
|
98
|
-
}, {
|
|
99
|
-
field: "issue_date",
|
|
100
|
-
headerName: a._("Financing date"),
|
|
101
|
-
sortable: !1,
|
|
102
|
-
width: 140,
|
|
103
|
-
valueFormatter: (e) => e ? a.date(e, p) : "—"
|
|
104
|
-
}, {
|
|
105
|
-
field: "repayment_date",
|
|
106
|
-
headerName: a._("Repayment date"),
|
|
107
|
-
sortable: !1,
|
|
108
|
-
width: 120,
|
|
109
|
-
valueGetter: (e, i) => {
|
|
110
|
-
const o = i.repayment_schedule?.repayment_date;
|
|
111
|
-
return o ? a.date(o, p) : "-";
|
|
112
|
-
}
|
|
113
|
-
}, {
|
|
114
|
-
field: "",
|
|
115
|
-
headerName: a._("Payment"),
|
|
116
|
-
sortable: !1,
|
|
117
|
-
width: 120,
|
|
118
|
-
renderCell: (e) => e.row.status === "FUNDED" || e.row.status === "LATE" ? /* @__PURE__ */ t(X, { variant: "contained", color: "primary", onClick: (i) => {
|
|
119
|
-
i.stopPropagation(), h({
|
|
120
|
-
component: "PAY_NOW"
|
|
121
|
-
});
|
|
122
|
-
}, sx: {
|
|
123
|
-
py: 1.25,
|
|
124
|
-
px: 1.5,
|
|
125
|
-
height: 32,
|
|
126
|
-
fontSize: 14
|
|
127
|
-
}, children: a._("Repay now") }) : null
|
|
128
|
-
}], [l, a, p, h]), P = U(
|
|
129
|
-
m,
|
|
130
|
-
S,
|
|
131
|
-
!1,
|
|
132
|
-
// eslint-disable-next-line lingui/no-unlocalized-strings
|
|
133
|
-
"FinancedInvoicesTable"
|
|
134
|
-
);
|
|
135
|
-
return /* @__PURE__ */ $(ee, { className: Q(G, "Monite-FinancedInvoicesTable"), sx: {
|
|
136
|
-
display: "flex",
|
|
137
|
-
flexDirection: "column",
|
|
138
|
-
overflow: "hidden",
|
|
139
|
-
height: "inherit",
|
|
140
|
-
minHeight: "500px"
|
|
141
|
-
}, children: [
|
|
142
|
-
/* @__PURE__ */ t(c, { mb: 2, variant: "subtitle1", children: a._("Financed invoices") }),
|
|
143
|
-
/* @__PURE__ */ t(ae, { apiRef: P, rowSelection: !1, disableColumnFilter: !0, loading: N, onSortModelChange: D, onRowClick: (e) => {
|
|
144
|
-
g(!0), _?.(e.row);
|
|
145
|
-
}, slots: {
|
|
146
|
-
pagination: () => /* @__PURE__ */ t(J, { pageSizeOptions: f.receivables.pageSizeOptions, nextPage: d?.next_pagination_token, prevPage: d?.prev_pagination_token, paginationModel: {
|
|
147
|
-
pageSize: C,
|
|
148
|
-
page: y
|
|
149
|
-
}, onPaginationModelChange: ({
|
|
150
|
-
page: e,
|
|
151
|
-
pageSize: i
|
|
152
|
-
}) => {
|
|
153
|
-
I(i), w(e ?? void 0);
|
|
154
|
-
} }),
|
|
155
|
-
noRowsOverlay: () => /* @__PURE__ */ t(Y, { isLoading: N, dataLength: m?.length || 0, isFiltering: !1, isSearching: !1, isError: O, refetch: T, entityName: a._("Financed Invoices"), actionOptions: [a._("Invoice")], type: "no-data" })
|
|
156
|
-
}, columns: S, getRowId: (e) => e.document_id, rows: m ?? [] }),
|
|
157
|
-
v && n && /* @__PURE__ */ t(Z, { open: F, onClose: () => {
|
|
158
|
-
g(!1), _(null);
|
|
159
|
-
}, alignDialog: "right", children: /* @__PURE__ */ t(z, { invoice: v, offers: x ?? [], financedInvoice: n, enableNavigate: !0, handleNavigate: s }) })
|
|
160
|
-
] });
|
|
161
|
-
};
|
|
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
|
+
}
|
|
162
11
|
export {
|
|
163
|
-
|
|
12
|
+
o as Switch
|
|
164
13
|
};
|
|
@@ -1,14 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as u, jsxs as g } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as o, useCallback as _ } from "react";
|
|
3
|
+
import { getLineItemErrorMessage as v } from "./index429.js";
|
|
4
|
+
import { useLingui as x } from "@lingui/react";
|
|
5
|
+
import { Collapse as b, Alert as E, List as j, ListItem as L, ListItemText as A } from "@mui/material";
|
|
6
|
+
const q = ({
|
|
7
|
+
generalError: e,
|
|
8
|
+
fieldErrors: i
|
|
9
|
+
}) => {
|
|
10
|
+
const t = o(() => {
|
|
11
|
+
for (const r of Object.values(i))
|
|
12
|
+
if (r) return !0;
|
|
13
|
+
return !1;
|
|
14
|
+
}, [i]);
|
|
15
|
+
return e || t ? /* @__PURE__ */ u(b, { in: !0, sx: {
|
|
16
|
+
":not(.MuiCollapse-hidden)": {
|
|
17
|
+
marginBottom: 1
|
|
18
|
+
}
|
|
19
|
+
}, children: /* @__PURE__ */ g(E, { severity: "error", sx: {
|
|
20
|
+
"& .MuiAlert-icon": {
|
|
21
|
+
alignItems: "center"
|
|
22
|
+
}
|
|
23
|
+
}, children: [
|
|
24
|
+
e && /* @__PURE__ */ u("div", { children: e }),
|
|
25
|
+
t && /* @__PURE__ */ u(j, { dense: !0, disablePadding: !0, sx: {
|
|
26
|
+
mt: e ? 1 : 0
|
|
27
|
+
}, children: Object.entries(i).map(([r, s]) => s ? /* @__PURE__ */ u(L, { disablePadding: !0, children: /* @__PURE__ */ u(A, { primary: s, primaryTypographyProps: {
|
|
28
|
+
sx: {
|
|
29
|
+
color: "inherit"
|
|
30
|
+
}
|
|
31
|
+
} }) }, r) : null) })
|
|
32
|
+
] }) }) : null;
|
|
33
|
+
}, C = (e) => {
|
|
3
34
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
35
|
+
i18n: i
|
|
36
|
+
} = x(), t = o(() => Array.isArray(e) ? e : e ? [e] : [], [e]), r = _((n) => {
|
|
37
|
+
for (let a = 0; a < t.length; a++) {
|
|
38
|
+
const f = t[a];
|
|
39
|
+
if (typeof f == "object") {
|
|
40
|
+
const h = v(f, n);
|
|
41
|
+
if (h)
|
|
42
|
+
return h;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
}, [t]), s = o(() => r("product.name") ?? r("name"), [r]), l = o(() => r("quantity"), [r]), c = o(() => r("price") ?? r("product.price.value") ?? r("product.price.currency"), [r]), m = o(() => r("vat_rate_id") ?? r("vat_rate_value") ?? r("tax_rate_value"), [r]), p = o(() => r("product.measure_unit_id") ?? r("product.measure_unit_name") ?? r("measure_unit"), [r]), d = o(() => r("product.type"), [r]), y = o(() => t.length === 0 || (s || l || c || m || p || d) ? void 0 : t.some((n) => {
|
|
47
|
+
if (!n || typeof n != "object") return !1;
|
|
48
|
+
const a = Object.keys(n);
|
|
49
|
+
return a.length > 0 && a.some((f) => n[f] != null);
|
|
50
|
+
}) ? i._("Please check the form for errors") : void 0, [t, s, l, c, m, p, d, i]);
|
|
51
|
+
return {
|
|
52
|
+
generalError: y,
|
|
53
|
+
fieldErrors: {
|
|
54
|
+
name: s,
|
|
55
|
+
quantity: l,
|
|
56
|
+
price: c,
|
|
57
|
+
tax: m,
|
|
58
|
+
measureUnit: p,
|
|
59
|
+
productType: d
|
|
60
|
+
},
|
|
61
|
+
hasErrors: !!(y || s || l || c || m || p || d)
|
|
62
|
+
};
|
|
11
63
|
};
|
|
12
64
|
export {
|
|
13
|
-
|
|
65
|
+
q as FormErrorDisplay,
|
|
66
|
+
C as useFormErrors
|
|
14
67
|
};
|
|
@@ -1,21 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { jsxs as q, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { memo as F } from "react";
|
|
3
|
+
import { Button as M } from "./index86.js";
|
|
4
|
+
import { TableRow as T, TableCell as u } from "./index278.js";
|
|
5
|
+
import { Trash2 as O } from "lucide-react";
|
|
6
|
+
import { ItemSelector as S } from "./index345.js";
|
|
7
|
+
import { PriceField as j } from "./index446.js";
|
|
8
|
+
import { QuantityField as z } from "./index447.js";
|
|
9
|
+
import { TaxRateField as B } from "./index448.js";
|
|
10
|
+
import { VatRateField as E } from "./index449.js";
|
|
11
|
+
const P = ({
|
|
12
|
+
field: v,
|
|
13
|
+
index: t,
|
|
14
|
+
control: h,
|
|
15
|
+
errors: l,
|
|
16
|
+
actualCurrency: m,
|
|
17
|
+
defaultCurrency: _ = "USD",
|
|
18
|
+
measureUnitsData: c,
|
|
19
|
+
isNonVatSupported: s,
|
|
20
|
+
vatRates: p,
|
|
21
|
+
highestVatRate: f,
|
|
22
|
+
tableRowClassName: x,
|
|
23
|
+
shouldOverrideVatRateDefaults: V,
|
|
24
|
+
container: w,
|
|
25
|
+
onRequestLineItemValue: a,
|
|
26
|
+
onLineItemValueChange: r,
|
|
27
|
+
onLineItemManuallyChanged: o,
|
|
28
|
+
onRequestOpenCreateProductDialog: R,
|
|
29
|
+
onUpdateItem: C,
|
|
30
|
+
onRemoveItem: I,
|
|
31
|
+
onRequestLineItemValidation: g
|
|
32
|
+
}) => {
|
|
33
|
+
const N = !!l.line_items?.[t]?.product?.name, y = !!l.line_items?.[t]?.quantity, D = !!l.line_items?.[t]?.product?.price?.value, L = l.line_items?.[t]?.product?.measure_unit_id, U = (i, n, d) => {
|
|
34
|
+
a("vat_rate_id") !== i && r("vat_rate_id", i, {
|
|
35
|
+
shouldValidate: !1
|
|
36
|
+
}), a("vat_rate_value") !== n && r("vat_rate_value", n, {
|
|
37
|
+
shouldValidate: !1
|
|
38
|
+
}), s && a("tax_rate_value") !== d ? r("tax_rate_value", d, {
|
|
39
|
+
shouldValidate: !1
|
|
40
|
+
}) : !s && d === null && a("tax_rate_value") !== void 0 && r("tax_rate_value", void 0, {
|
|
41
|
+
shouldValidate: !1
|
|
42
|
+
});
|
|
43
|
+
}, b = () => {
|
|
44
|
+
g?.("tax_rate_value");
|
|
45
|
+
};
|
|
46
|
+
return /* @__PURE__ */ q(T, { className: x, children: [
|
|
47
|
+
/* @__PURE__ */ e(u, { className: "ttw:w-[30%] ttw:xl:w-[40%]", children: /* @__PURE__ */ e(S, { onCreateItem: R, onChange: (i, n) => C(t, i, n), fieldName: a("product.name") || "", index: t, error: N, actualCurrency: m, defaultCurrency: _, measureUnits: c, container: w }) }),
|
|
48
|
+
/* @__PURE__ */ e(u, { className: "ttw:w-[30%] ttw:xl:w-[20%]", children: /* @__PURE__ */ e(z, { index: t, control: h, quantityError: y, measureUnitsData: c, measureUnitFieldError: L, onRequestLineItemValue: a, onLineItemValueChange: r, onLineItemManuallyChanged: o }) }),
|
|
49
|
+
/* @__PURE__ */ e(u, { className: "ttw:w-[20%] ttw:text-right", children: /* @__PURE__ */ e(j, { error: D, currency: m ?? _, value: a("product.price.value"), onChange: (i) => {
|
|
50
|
+
r("product.price.value", i, {
|
|
51
|
+
shouldValidate: !0
|
|
52
|
+
}), o();
|
|
53
|
+
} }) }),
|
|
54
|
+
/* @__PURE__ */ e(u, { className: "ttw:w-fit", children: s ? /* @__PURE__ */ e(B, { value: a("tax_rate_value"), onChange: (i) => {
|
|
55
|
+
r("tax_rate_value", i, {
|
|
56
|
+
shouldValidate: !0
|
|
57
|
+
}), o();
|
|
58
|
+
}, error: !!l.line_items?.[t]?.tax_rate_value, onModified: o, onBlur: b }) : /* @__PURE__ */ e(E, { value: a("vat_rate_id"), onChange: (i, n) => {
|
|
59
|
+
r("vat_rate_id", i, {
|
|
60
|
+
shouldValidate: !0
|
|
61
|
+
}), r("vat_rate_value", n, {
|
|
62
|
+
shouldValidate: !0
|
|
63
|
+
}), r("tax_rate_value", void 0, {
|
|
64
|
+
shouldValidate: !1
|
|
65
|
+
}), o();
|
|
66
|
+
}, availableVatRates: p ?? [], error: !!l.line_items?.[t]?.vat_rate_id, fieldError: l.line_items?.[t]?.vat_rate_id, isNonVatSupported: s, highestVatRate: f, currentTaxRateValue: a("tax_rate_value"), onInitializeDefaults: U, shouldOverrideVatRateDefaults: V, onModified: o }) }),
|
|
67
|
+
/* @__PURE__ */ e(u, { className: "ttw:p-0 ttw:w-12", children: /* @__PURE__ */ e(M, { type: "button", variant: "ghost", size: "sm", className: "ttw:text-muted-foreground ttw:hover:text-destructive", onClick: () => I(t), children: /* @__PURE__ */ e(O, {}) }) })
|
|
68
|
+
] }, v.id);
|
|
69
|
+
}, Y = F(P);
|
|
19
70
|
export {
|
|
20
|
-
|
|
71
|
+
Y as InvoiceItemRow
|
|
21
72
|
};
|
|
@@ -1,65 +1,40 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useLingui as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// eslint-disable-next-line lingui/no-unlocalized-strings
|
|
26
|
-
"Once you are enrolled into the program, we will be actively analyzing your financials and creating pre-approved offers that work best for your business needs. We do this to help you avoid debt trap. Loan offers are usually provided within less than 48 hours."
|
|
27
|
-
)
|
|
28
|
-
}, {
|
|
29
|
-
id: 4,
|
|
30
|
-
// eslint-disable-next-line lingui/no-unlocalized-strings
|
|
31
|
-
question: "How do I repay the loan?",
|
|
32
|
-
answer: (
|
|
33
|
-
// eslint-disable-next-line lingui/no-unlocalized-strings
|
|
34
|
-
"At the moment we support monthly loan repayment once you agree to the loan payment schedule. A fixed amount will be automatically deducted from the bank you linked during the onboarding.In the near future, you can also choose to pay back the loan as a fixed percentage of your daily sales until the loan is fully repaid."
|
|
35
|
-
)
|
|
36
|
-
}], h = () => {
|
|
1
|
+
import { jsxs as m, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as x } from "@lingui/react";
|
|
3
|
+
import { twMerge as f } from "tailwind-merge";
|
|
4
|
+
import { useCurrencies as p } from "./index60.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./index94.js";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "./index59.js";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
const a = ({
|
|
11
|
+
label: l,
|
|
12
|
+
value: r,
|
|
13
|
+
className: s
|
|
14
|
+
}) => /* @__PURE__ */ m("li", { className: f("ttw:flex ttw:justify-between ttw:items-center", s), children: [
|
|
15
|
+
/* @__PURE__ */ t("span", { children: l }),
|
|
16
|
+
/* @__PURE__ */ t("span", { children: r?.toString() })
|
|
17
|
+
] }), _ = ({
|
|
18
|
+
subtotalPrice: l,
|
|
19
|
+
totalTaxes: r,
|
|
20
|
+
totalPrice: s,
|
|
21
|
+
taxesByVatRate: o = {},
|
|
22
|
+
actualCurrency: i,
|
|
23
|
+
defaultCurrency: c
|
|
24
|
+
}) => {
|
|
37
25
|
const {
|
|
38
26
|
i18n: e
|
|
39
|
-
} =
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
] }),
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
/* @__PURE__ */ n(o, { variant: "subtitle2", children: e._("{faqQuestion}", {
|
|
49
|
-
faqQuestion: i.question
|
|
50
|
-
}) }),
|
|
51
|
-
/* @__PURE__ */ n(o, { variant: "body1", mt: 1, children: e._("{faqAnswer}", {
|
|
52
|
-
faqAnswer: i.answer
|
|
53
|
-
}) })
|
|
54
|
-
] }, i.id))
|
|
55
|
-
] }),
|
|
56
|
-
/* @__PURE__ */ n(r, { mt: 5, children: /* @__PURE__ */ a(o, { variant: "body2", children: [
|
|
57
|
-
e._("All loans are subject to credit approval. Your terms may vary. Flourish Capital loans are issued by Kanmon. California Loans are made pursuant to a Department of Financial Protection and Innovation California Lenders Law License. Read more about Kanmon"),
|
|
58
|
-
" ",
|
|
59
|
-
/* @__PURE__ */ n(s, { target: "_blank", rel: "noopener noreferrer", href: "https://kanmon.com", children: e._("here.") })
|
|
60
|
-
] }) })
|
|
27
|
+
} = x(), {
|
|
28
|
+
formatCurrencyToDisplay: u
|
|
29
|
+
} = p();
|
|
30
|
+
return /* @__PURE__ */ m("ul", { className: "ttw:w-full ttw:flex ttw:flex-col ttw:gap-2 ttw:list-none ttw:mt-4", children: [
|
|
31
|
+
/* @__PURE__ */ t(a, { label: e._("Subtotal"), value: l, className: "ttw:text-sm ttw:font-normal ttw:text-neutral" }),
|
|
32
|
+
Object.entries(o)?.length > 0 ? Object.entries(o).map(([n, w]) => /* @__PURE__ */ t(a, { label: e._("Total Tax ({taxRate}%)", {
|
|
33
|
+
taxRate: n
|
|
34
|
+
}), value: u(w, i || c || "USD", !0)?.toString(), className: "ttw:text-sm ttw:font-normal ttw:text-neutral" }, n)) : /* @__PURE__ */ t(a, { label: e._("Taxes total"), value: r, className: "ttw:text-sm ttw:font-normal ttw:text-neutral" }),
|
|
35
|
+
/* @__PURE__ */ t(a, { label: e._("Total"), value: s, className: "ttw:text-base ttw:font-medium ttw:text-" })
|
|
61
36
|
] });
|
|
62
37
|
};
|
|
63
38
|
export {
|
|
64
|
-
|
|
39
|
+
_ as InvoiceTotals
|
|
65
40
|
};
|