@tesouro/embedded-components-react 0.2.164 → 0.2.166
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 +22 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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/index117.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -9
- 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 +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- 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 +60 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +397 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +67 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +407 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +6 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +5 -8
- 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 +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +29 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +22 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +13 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +119 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +215 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +10 -47
- 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 +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +46 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +49 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +41 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +147 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +57 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +70 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +25 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +64 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +36 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +81 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +5 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +57 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +20 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +2 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +10 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +113 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +66 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +42 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +75 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +55 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +25 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +71 -460
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +28 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +38 -533
- 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 +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +220 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +467 -396
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +109 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +537 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +25 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +6 -6
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +1 -1
- 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 +37 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +55 -340
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +29 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +117 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +22 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +41 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +55 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +5 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +491 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +168 -22
- 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 +72 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +44 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +22 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +32 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +343 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +300 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +98 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +153 -482
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +257 -158
- 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 +23 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +18 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +93 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +96 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +209 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +29 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +41 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +60 -41
- 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 +90 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +110 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +83 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +22 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +51 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +27 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +57 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +15 -83
- 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/index302.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +77 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +77 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +40 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +17 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +38 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +62 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +66 -18
- 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 +158 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +27 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +26 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +78 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +21 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +15 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +169 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +134 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +161 -62
- 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 +8 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +18 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +59 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +67 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +60 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +8 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +8 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +57 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +21 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +58 -106
- 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 +14 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +25 -205
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +125 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +47 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +117 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +108 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +50 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +200 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +70 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +26 -18
- 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 +125 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +33 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +30 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +48 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +13 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +45 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +32 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +41 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +23 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +72 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +88 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +33 -93
- 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 +9 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +123 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +16 -5
- 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 +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +32 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +70 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +3 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +11 -16
- 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 +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +92 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +54 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +18 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +33 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +53 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +34 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +63 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +47 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +24 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +5 -269
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +80 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +17 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +82 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +262 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +36 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +63 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +41 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +138 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +110 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +81 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +16 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +283 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +46 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +15 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +48 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +47 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +62 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +18 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +11 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +65 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +29 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +68 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +18 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +32 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +94 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +75 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +22 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +57 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +68 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +35 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +14 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +55 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +49 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +53 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +34 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +45 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +30 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +37 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +80 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +73 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +68 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +38 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +32 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +85 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +23 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +101 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +106 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +54 -54
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1238 -1222
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopes.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- package/package.json +1 -1
|
@@ -1,76 +1,99 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as e, Fragment as b, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { manualPaymentRecordValidationSchema as g } from "./index191.js";
|
|
3
3
|
import { useCurrencies as y } from "./index58.js";
|
|
4
|
-
import "react";
|
|
4
|
+
import { useMemo as _, useEffect as C } from "react";
|
|
5
5
|
import "./index92.js";
|
|
6
|
-
import { useLingui as
|
|
6
|
+
import { useLingui as F } from "@lingui/react";
|
|
7
7
|
import "react-dom";
|
|
8
|
+
import "./index57.js";
|
|
8
9
|
import "@mui/x-data-grid";
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import {
|
|
12
|
-
import "
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
import { safeZodResolver as v } from "./index223.js";
|
|
11
|
+
import { RHFDatePicker as D } from "./index435.js";
|
|
12
|
+
import { RHFTextField as S } from "./index436.js";
|
|
13
|
+
import { RHFTimePicker as R } from "./index437.js";
|
|
14
|
+
import { DialogTitle as T, DialogContent as P, Grid as i, FormHelperText as k, Button as m, DialogActions as E, CircularProgress as H } from "@mui/material";
|
|
15
|
+
import { useForm as V } from "react-hook-form";
|
|
16
|
+
const Z = ({
|
|
17
|
+
invoice: r,
|
|
18
|
+
initialValues: n,
|
|
19
|
+
isLoading: u,
|
|
20
|
+
onSubmit: s,
|
|
21
|
+
onCancel: c
|
|
19
22
|
}) => {
|
|
20
23
|
const {
|
|
21
24
|
i18n: t
|
|
22
|
-
} =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
25
|
+
} = F(), {
|
|
26
|
+
formatCurrencyToDisplay: p,
|
|
27
|
+
getSymbolFromCurrency: d
|
|
28
|
+
} = y(), {
|
|
29
|
+
control: a,
|
|
30
|
+
handleSubmit: f,
|
|
31
|
+
reset: l,
|
|
32
|
+
setValue: x
|
|
33
|
+
} = V({
|
|
34
|
+
resolver: v(g(t, r.amount_due)),
|
|
35
|
+
defaultValues: _(() => n ?? {
|
|
36
|
+
amount: 0,
|
|
37
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
38
|
+
payment_time: /* @__PURE__ */ new Date()
|
|
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
|
+
] })
|
|
73
|
+
] }),
|
|
74
|
+
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(D, { label: t._("Date"), name: "payment_date", control: a }) }),
|
|
75
|
+
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(R, { label: t._("Time"), name: "payment_time", control: a, sx: {
|
|
76
|
+
"::after": {
|
|
77
|
+
content: '"UTC"',
|
|
78
|
+
position: "absolute",
|
|
79
|
+
right: "16px",
|
|
80
|
+
bottom: 0,
|
|
81
|
+
transform: "translateY(-50%)",
|
|
82
|
+
fontSize: "16px",
|
|
83
|
+
color: "rgba(0,0,0,0.28)",
|
|
84
|
+
pointerEvents: "none"
|
|
85
|
+
}
|
|
86
|
+
}, fullWidth: !0, required: !0 }) })
|
|
87
|
+
] }) }),
|
|
88
|
+
/* @__PURE__ */ o(E, { sx: {
|
|
89
|
+
px: 4,
|
|
90
|
+
pb: 4
|
|
41
91
|
}, children: [
|
|
42
|
-
/* @__PURE__ */ e(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
height: "44px",
|
|
47
|
-
display: "flex",
|
|
48
|
-
justifyContent: "center",
|
|
49
|
-
alignItems: "center"
|
|
50
|
-
}, children: /* @__PURE__ */ e(_, { sx: {
|
|
51
|
-
color: "#707070"
|
|
52
|
-
} }) }),
|
|
53
|
-
/* @__PURE__ */ e(r, { variant: "body1", children: t._("Manual payment record") }),
|
|
54
|
-
/* @__PURE__ */ a(o, { children: [
|
|
55
|
-
/* @__PURE__ */ e(r, { variant: "h2", children: s(i?.amount ?? 0, n.currency) }),
|
|
56
|
-
/* @__PURE__ */ e(r, { variant: "body1", children: t._("from {invoiceCounterpart_name}", {
|
|
57
|
-
invoiceCounterpart_name: n.counterpart_name
|
|
58
|
-
}) })
|
|
59
|
-
] })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ e(g, { items: [{
|
|
62
|
-
label: t._("Received"),
|
|
63
|
-
value: i.payment_date ? /* @__PURE__ */ e(r, { fontWeight: 500, children: p }) : "—"
|
|
64
|
-
}, {
|
|
65
|
-
label: t._("Reference"),
|
|
66
|
-
value: n.id ? /* @__PURE__ */ e(r, { fontWeight: 500, children: n.id }) : "—"
|
|
67
|
-
}, {
|
|
68
|
-
label: t._("Created by"),
|
|
69
|
-
value: u ? /* @__PURE__ */ e(v, { variant: "text", width: "50%" }) : m ? /* @__PURE__ */ e(r, { fontWeight: 500, children: m }) : "—"
|
|
70
|
-
}] }),
|
|
71
|
-
/* @__PURE__ */ e(b, { severity: "warning", children: /* @__PURE__ */ e(r, { variant: "body2", children: t._("Please, check the details of your payment record. You won't be able to change or delete it after.") }) })
|
|
72
|
-
] });
|
|
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
|
+
] })
|
|
95
|
+
] }) });
|
|
73
96
|
};
|
|
74
97
|
export {
|
|
75
|
-
|
|
98
|
+
Z as PaymentRecordForm
|
|
76
99
|
};
|
|
@@ -1,99 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { useLingui as F } from "@lingui/react";
|
|
7
|
-
import "react-dom";
|
|
8
|
-
import "./index57.js";
|
|
9
|
-
import "@mui/x-data-grid";
|
|
10
|
-
import { safeZodResolver as v } from "./index223.js";
|
|
11
|
-
import { RHFDatePicker as D } from "./index439.js";
|
|
12
|
-
import { RHFTextField as S } from "./index440.js";
|
|
13
|
-
import { RHFTimePicker as R } from "./index441.js";
|
|
14
|
-
import { DialogTitle as T, DialogContent as P, Grid as i, FormHelperText as k, Button as m, DialogActions as E, CircularProgress as H } from "@mui/material";
|
|
15
|
-
import { useForm as V } from "react-hook-form";
|
|
16
|
-
const Z = ({
|
|
17
|
-
invoice: r,
|
|
18
|
-
initialValues: n,
|
|
19
|
-
isLoading: u,
|
|
20
|
-
onSubmit: s,
|
|
21
|
-
onCancel: c
|
|
22
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as c } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as o } from "./index119.js";
|
|
3
|
+
import { useLingui as u } from "@lingui/react";
|
|
4
|
+
import { toast as a } from "react-hot-toast";
|
|
5
|
+
const f = (s, t) => {
|
|
23
6
|
const {
|
|
24
|
-
i18n:
|
|
25
|
-
} =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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"
|
|
7
|
+
i18n: i
|
|
8
|
+
} = u(), {
|
|
9
|
+
api: e,
|
|
10
|
+
queryClient: r
|
|
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
|
|
64
31
|
}
|
|
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
|
-
] })
|
|
73
|
-
] }),
|
|
74
|
-
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(D, { label: t._("Date"), name: "payment_date", control: a }) }),
|
|
75
|
-
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(R, { label: t._("Time"), name: "payment_time", control: a, sx: {
|
|
76
|
-
"::after": {
|
|
77
|
-
content: '"UTC"',
|
|
78
|
-
position: "absolute",
|
|
79
|
-
right: "16px",
|
|
80
|
-
bottom: 0,
|
|
81
|
-
transform: "translateY(-50%)",
|
|
82
|
-
fontSize: "16px",
|
|
83
|
-
color: "rgba(0,0,0,0.28)",
|
|
84
|
-
pointerEvents: "none"
|
|
85
32
|
}
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
] })
|
|
95
|
-
] }) });
|
|
33
|
+
}, r)]), a.success(i._("Recurrence has been canceled"));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
96
36
|
};
|
|
97
37
|
export {
|
|
98
|
-
|
|
38
|
+
f as useCancelRecurrence
|
|
99
39
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as r, jsxs as u, Fragment as $ } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { InvoicesCounterpartCell as q } from "./
|
|
3
|
-
import { InvoiceRecurrenceStatusChip as B } from "./
|
|
2
|
+
import { InvoicesCounterpartCell as q } from "./index181.js";
|
|
3
|
+
import { InvoiceRecurrenceStatusChip as B } from "./index182.js";
|
|
4
4
|
import { InvoiceStatusChip as E } from "./index55.js";
|
|
5
|
-
import { InvoicesFilterBar as U } from "./
|
|
6
|
-
import { InvoiceStatusCardsFilter as V } from "./
|
|
7
|
-
import { useInvoicesFilter as j } from "./
|
|
8
|
-
import { useGetReceivables as G } from "./
|
|
5
|
+
import { InvoicesFilterBar as U } from "./index183.js";
|
|
6
|
+
import { InvoiceStatusCardsFilter as V } from "./index184.js";
|
|
7
|
+
import { useInvoicesFilter as j } from "./index148.js";
|
|
8
|
+
import { useGetReceivables as G } from "./index149.js";
|
|
9
9
|
import { useMoniteContext as x } from "./index57.js";
|
|
10
10
|
import { MoniteScopedProviders as Q } from "./index83.js";
|
|
11
11
|
import { useCurrencies as W } from "./index58.js";
|
|
12
|
-
import { ReceivableCursorFields as C } from "./
|
|
13
|
-
import { GetNoRowsOverlay as H } from "./
|
|
14
|
-
import { DueDateCell as J } from "./
|
|
15
|
-
import { DataTable as X } from "./
|
|
16
|
-
import { Skeleton as Y } from "./
|
|
12
|
+
import { ReceivableCursorFields as C } from "./index185.js";
|
|
13
|
+
import { GetNoRowsOverlay as H } from "./index163.js";
|
|
14
|
+
import { DueDateCell as J } from "./index186.js";
|
|
15
|
+
import { DataTable as X } from "./index164.js";
|
|
16
|
+
import { Skeleton as Y } from "./index139.js";
|
|
17
17
|
import { useLingui as Z } from "@lingui/react";
|
|
18
18
|
import tt from "@mui/icons-material/Sync";
|
|
19
19
|
import { useState as d, useEffect as w } from "react";
|
|
@@ -1,39 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
api: e,
|
|
10
|
-
queryClient: r
|
|
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
|
-
});
|
|
1
|
+
const g = (r, t = /* @__PURE__ */ new Date()) => {
|
|
2
|
+
if (!r)
|
|
3
|
+
return 0;
|
|
4
|
+
const e = new Date(r);
|
|
5
|
+
if (Number.isNaN(e.getTime()))
|
|
6
|
+
return 0;
|
|
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;
|
|
36
9
|
};
|
|
37
10
|
export {
|
|
38
|
-
|
|
11
|
+
g as getDaysOverdue
|
|
39
12
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
return a > 0
|
|
1
|
+
const f = (n, r) => `${n} ${n === 1 ? r._("day") : r._("days")}`, s = (n, r) => {
|
|
2
|
+
const e = n.map((_) => f(_, r));
|
|
3
|
+
if (e.length <= 1) return e[0] ?? "";
|
|
4
|
+
const t = r._("and");
|
|
5
|
+
return e.length === 2 ? `${e[0]} ${t} ${e[1]}` : `${e.slice(0, -1).join(", ")}, ${t} ${e[e.length - 1]}`;
|
|
6
|
+
}, d = (n) => [n?.term_1_reminder?.days_before, n?.term_2_reminder?.days_before, n?.term_final_reminder?.days_before].filter((r) => typeof r == "number"), l = (n) => (n?.terms ?? []).map((r) => r.days_after).filter((r) => typeof r == "number"), m = (n, r, e, t = !1) => {
|
|
7
|
+
const _ = d(n), o = l(r), a = [];
|
|
8
|
+
return _.length > 0 && a.push(`${s(_, e)} ${e._("before")}`), o.length > 0 && a.push(`${s(o, e)} ${e._("after")}`), a.length > 0 ? a.join(`
|
|
9
|
+
`) : t ? "-" : e._("None");
|
|
9
10
|
};
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
m as formatReminderSchedule
|
|
12
13
|
};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
return
|
|
6
|
-
}, d = (n) => [n?.term_1_reminder?.days_before, n?.term_2_reminder?.days_before, n?.term_final_reminder?.days_before].filter((r) => typeof r == "number"), l = (n) => (n?.terms ?? []).map((r) => r.days_after).filter((r) => typeof r == "number"), m = (n, r, e, t = !1) => {
|
|
7
|
-
const _ = d(n), o = l(r), a = [];
|
|
8
|
-
return _.length > 0 && a.push(`${s(_, e)} ${e._("before")}`), o.length > 0 && a.push(`${s(o, e)} ${e._("after")}`), a.length > 0 ? a.join(`
|
|
9
|
-
`) : t ? "-" : e._("None");
|
|
1
|
+
const e = (t) => {
|
|
2
|
+
if (t < 1024)
|
|
3
|
+
return `${t} B`;
|
|
4
|
+
const o = t / 1024;
|
|
5
|
+
return o < 1024 ? `${Math.round(o)} KB` : `${(o / 1024).toFixed(1)} MB`;
|
|
10
6
|
};
|
|
11
7
|
export {
|
|
12
|
-
|
|
8
|
+
e as formatFileSize
|
|
13
9
|
};
|
|
@@ -2,10 +2,10 @@ import { jsx as t, jsxs as e, Fragment as c } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import { useEffect as f } from "react";
|
|
3
3
|
import { useLingui as h } from "@lingui/react";
|
|
4
4
|
import { X as g, CloudUpload as x, AlertCircle as N, CheckCircle2 as b } from "lucide-react";
|
|
5
|
-
import { LoadingSpinner as y } from "./
|
|
5
|
+
import { LoadingSpinner as y } from "./index138.js";
|
|
6
6
|
import { Typography as l } from "./index85.js";
|
|
7
7
|
import { twMerge as v } from "tailwind-merge";
|
|
8
|
-
import { UploadBar as C } from "./
|
|
8
|
+
import { UploadBar as C } from "./index439.js";
|
|
9
9
|
const U = ({
|
|
10
10
|
isUploading: o,
|
|
11
11
|
isSuccess: r,
|
|
@@ -1,34 +1,125 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { useCurrencies as m } from "./index58.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "./index92.js";
|
|
4
|
+
import "@emotion/react/jsx-runtime";
|
|
5
|
+
import { useLingui as d } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index57.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { getTriggerKeyAndValue as f, isValidTriggerKey as p, isValidOperation as A, OPERATOR_OPERATIONS as o } from "./index465.js";
|
|
10
|
+
const O = ({
|
|
11
|
+
approvalPolicy: i
|
|
12
|
+
}) => {
|
|
13
|
+
const {
|
|
14
|
+
i18n: t
|
|
15
|
+
} = d(), {
|
|
16
|
+
formatCurrencyToDisplay: s
|
|
17
|
+
} = m(), c = (e) => {
|
|
18
|
+
switch (e) {
|
|
19
|
+
case "amount":
|
|
20
|
+
return t._("Amount");
|
|
21
|
+
case "was_created_by_user_id":
|
|
22
|
+
return t._("Created by user");
|
|
23
|
+
case "counterpart_id":
|
|
24
|
+
return t._("Vendors");
|
|
25
|
+
case "tags":
|
|
26
|
+
return t._("Tags");
|
|
27
|
+
default:
|
|
28
|
+
return e;
|
|
29
|
+
}
|
|
30
|
+
}, l = (e) => {
|
|
31
|
+
switch (e) {
|
|
32
|
+
case "amount":
|
|
33
|
+
return t._("Amount");
|
|
34
|
+
case "was_created_by_user_id":
|
|
35
|
+
return t._("Created by");
|
|
36
|
+
case "counterpart_id":
|
|
37
|
+
return t._("Vendors");
|
|
38
|
+
case "tags":
|
|
39
|
+
return t._("Has tags");
|
|
40
|
+
default:
|
|
41
|
+
return e;
|
|
42
|
+
}
|
|
43
|
+
}, _ = (e, u) => {
|
|
44
|
+
const a = s(e[0][1], u);
|
|
45
|
+
if (e.length === 1)
|
|
46
|
+
switch (e[0][0]) {
|
|
47
|
+
case o.GREATER_THAN:
|
|
48
|
+
return t._("Greater than {formattedValue}", {
|
|
49
|
+
formattedValue: a
|
|
50
|
+
});
|
|
51
|
+
case o.GREATER_THAN_OR_EQUAL:
|
|
52
|
+
return t._("Greater than or equal to {formattedValue}", {
|
|
53
|
+
formattedValue: a
|
|
54
|
+
});
|
|
55
|
+
case o.LESS_THAN:
|
|
56
|
+
return t._("Less than {formattedValue}", {
|
|
57
|
+
formattedValue: a
|
|
58
|
+
});
|
|
59
|
+
case o.LESS_THAN_OR_EQUAL:
|
|
60
|
+
return t._("Less than or equal to {formattedValue}", {
|
|
61
|
+
formattedValue: a
|
|
62
|
+
});
|
|
63
|
+
case o.EQUALS:
|
|
64
|
+
return t._("Equal to {formattedValue}", {
|
|
65
|
+
formattedValue: a
|
|
66
|
+
});
|
|
67
|
+
default:
|
|
68
|
+
return a;
|
|
69
|
+
}
|
|
70
|
+
if (e.length === 2) {
|
|
71
|
+
const r = e.find((n) => n[0] === o.GREATER_THAN_OR_EQUAL), g = e.find((n) => n[0] === o.LESS_THAN_OR_EQUAL);
|
|
72
|
+
if (r && g)
|
|
73
|
+
return t._("{from} - {to}", {
|
|
74
|
+
from: s(r[1], u),
|
|
75
|
+
to: s(g[1], u)
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
return a;
|
|
79
|
+
};
|
|
80
|
+
return ((e) => !!(e && typeof e == "object" && "all" in e && Array.isArray(e.all)))(i?.trigger) ? {
|
|
81
|
+
triggers: i.trigger?.all?.reduce((e, u) => {
|
|
82
|
+
if (typeof u == "string" || !u.operator || !u.left_operand || u.right_operand == null)
|
|
83
|
+
return e;
|
|
84
|
+
const {
|
|
85
|
+
key: a,
|
|
86
|
+
value: r
|
|
87
|
+
} = f(u);
|
|
88
|
+
if (!a || r == null || !p(a))
|
|
89
|
+
return e;
|
|
90
|
+
switch (a) {
|
|
91
|
+
case "amount":
|
|
92
|
+
(typeof r == "string" || typeof r == "number") && A(u.operator) && (e.amount || (e.amount = {
|
|
93
|
+
currency: "EUR",
|
|
94
|
+
value: []
|
|
95
|
+
}), e.amount.value.push([u.operator, r]));
|
|
96
|
+
break;
|
|
97
|
+
case "currency":
|
|
98
|
+
e.amount ? e.amount.currency = r : e.amount = {
|
|
99
|
+
value: [],
|
|
100
|
+
currency: r
|
|
101
|
+
};
|
|
102
|
+
break;
|
|
103
|
+
case "tags.id":
|
|
104
|
+
typeof r == "string" && (e.tags || (e.tags = []), e.tags.push(r));
|
|
105
|
+
break;
|
|
106
|
+
case "counterpart_id":
|
|
107
|
+
case "was_created_by_user_id":
|
|
108
|
+
Array.isArray(r) && (e[a] = r);
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
return e;
|
|
112
|
+
}, {}),
|
|
113
|
+
getTriggerName: c,
|
|
114
|
+
getTriggerLabel: l,
|
|
115
|
+
getAmountLabel: _
|
|
116
|
+
} : {
|
|
117
|
+
triggers: {},
|
|
118
|
+
getTriggerName: c,
|
|
119
|
+
getTriggerLabel: l,
|
|
120
|
+
getAmountLabel: _
|
|
121
|
+
};
|
|
122
|
+
};
|
|
29
123
|
export {
|
|
30
|
-
|
|
31
|
-
l as PopoverAnchor,
|
|
32
|
-
f as PopoverContent,
|
|
33
|
-
d as PopoverTrigger
|
|
124
|
+
O as useApprovalPolicyTrigger
|
|
34
125
|
};
|