@tesouro/embedded-components-react 0.2.92 → 0.2.93
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/index3.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
- 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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -6
- 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 +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +32 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +12 -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 +8 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +25 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +76 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +9 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +21 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +23 -29
- 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 +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +117 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +48 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -49
- 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 +11 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +150 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +54 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +71 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +3 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +61 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +37 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +79 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +41 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +74 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +56 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +196 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +22 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +79 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +28 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +41 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +112 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +67 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +200 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +30 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +111 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +129 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +21 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +27 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +20 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +20 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +183 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +88 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +6 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +45 -48
- 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 +50 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +203 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +11 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +392 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +93 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +57 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +22 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -391
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +18 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +2 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +117 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +68 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +397 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +406 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +1 -1
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +1 -1
- 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 +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.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 +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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +1 -1
- 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 +487 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +163 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +39 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +62 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +29 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +114 -32
- 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 +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +44 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +57 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +14 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +78 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +76 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +39 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +73 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +43 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +36 -280
- 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 +340 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +303 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +98 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +156 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +262 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +42 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +63 -2
- 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 +159 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +28 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +29 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +8 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +2 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +93 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +97 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +189 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +149 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +19 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +126 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +17 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +34 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +29 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +41 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +62 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +93 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +107 -52
- 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 +79 -482
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +17 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +22 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +57 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +57 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +17 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +62 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +41 -90
- 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 +25 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +5 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +77 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +32 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +20 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +61 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +182 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +106 -95
- 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 +80 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +283 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +48 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +83 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +219 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +35 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +11 -62
- 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 +6 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +2 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +17 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +168 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +125 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +162 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +18 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +62 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +65 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +60 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +6 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +8 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +56 -297
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +21 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +56 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +13 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +94 -23
- 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 +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +71 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +17 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +45 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +6 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +46 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -1
- 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 +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +10 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +118 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +69 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +11 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +96 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +38 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +35 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +20 -103
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +64 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +66 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +2 -21
- 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 +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +31 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +126 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +28 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +32 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +26 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +54 -16
- 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 +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +28 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +36 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +69 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +33 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +85 -54
- 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 +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +11 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +104 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +112 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +12 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +70 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +67 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +37 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +28 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +23 -68
- 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 +38 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +74 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +81 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +50 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +50 -37
- 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 +53 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +29 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +45 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +52 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +67 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +21 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +48 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +82 -29
- 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 +39 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +28 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +69 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +33 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +41 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +34 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +50 -21
- 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 +59 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +93 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +75 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +13 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +18 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +39 -47
- 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 +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +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/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 +21 -21
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/interceptor.js +56 -44
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/traceId.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- package/package.json +1 -1
|
@@ -1,13 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { useMoniteContext as u } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index118.js";
|
|
3
|
+
import { useLingui as d } from "@lingui/react";
|
|
4
|
+
import { toast as a } from "react-hot-toast";
|
|
5
|
+
const g = (i, p, t, n) => {
|
|
6
|
+
const {
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: o
|
|
9
|
+
} = u(), {
|
|
10
|
+
i18n: r
|
|
11
|
+
} = d();
|
|
12
|
+
return e.finops.postApprovalRequestsIdApprove.useMutation({
|
|
13
|
+
path: {
|
|
14
|
+
approval_request_id: i
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: () => (e.finops.getApprovalRequests.invalidateQueries(o), a.success(r._('Payable "{document_id}" has been approved', {
|
|
18
|
+
document_id: n ?? "document id is unknown"
|
|
19
|
+
})), p?.(t ?? ""), new Promise((s) => {
|
|
20
|
+
setTimeout(() => {
|
|
21
|
+
Promise.all([e.finops.getPayablesId.invalidateQueries({
|
|
22
|
+
parameters: {
|
|
23
|
+
path: {
|
|
24
|
+
payable_id: t ?? ""
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, o), e.finops.getPayables.invalidateQueries(o)]).then(() => s());
|
|
28
|
+
}, 500);
|
|
29
|
+
})),
|
|
30
|
+
onError: (s) => {
|
|
31
|
+
a.error(m(r, s));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
};
|
|
11
35
|
export {
|
|
12
|
-
|
|
36
|
+
g as useApproveApprovalRequest
|
|
13
37
|
};
|
|
@@ -1,107 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
import { useState as A } from "react";
|
|
6
|
-
import { useUserPermissions as G } from "./index146.js";
|
|
7
|
-
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
8
|
-
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
|
-
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
10
|
-
import "@tanstack/react-query";
|
|
11
|
-
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
12
|
-
import { Scope as S } from "../../shared/data-access/dist/lib/scopes.js";
|
|
13
|
-
import { differenceInCalendarDays as O, format as U } from "date-fns";
|
|
14
|
-
import "clsx";
|
|
15
|
-
import "tailwind-merge";
|
|
16
|
-
import "@radix-ui/react-dropdown-menu";
|
|
17
|
-
import { Loader2 as F } from "lucide-react";
|
|
18
|
-
import { Button as L } from "./index84.js";
|
|
19
|
-
import { useGetPaymentReminderById as V } from "./index245.js";
|
|
20
|
-
import { useGetPaymentReminders as Y } from "./index403.js";
|
|
21
|
-
import { useCreatePaymentReminder as k } from "./index404.js";
|
|
22
|
-
import { useGetPaymentTermById as z } from "./index408.js";
|
|
23
|
-
import "./index92.js";
|
|
24
|
-
import "react-dom";
|
|
25
|
-
import "@mui/x-data-grid";
|
|
26
|
-
import { useFormContext as W } from "react-hook-form";
|
|
27
|
-
import { calculateDueDate as Z } from "./index7.js";
|
|
28
|
-
import { CUSTOM_DATE_PAYMENT_TERM as q, RECEIPT_DUE_PAYMENT_TERM as H } from "./index179.js";
|
|
29
|
-
import { RadioGroup as J, RadioGroupItem as N } from "./index352.js";
|
|
30
|
-
import { Typography as m } from "./index85.js";
|
|
31
|
-
import { Input as K } from "./index118.js";
|
|
32
|
-
const Q = "MMM d, yyyy", D = 1, P = 1e4, Re = ({
|
|
33
|
-
disabled: E
|
|
34
|
-
}) => {
|
|
1
|
+
import { toast as o } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
4
|
+
const p = (t) => {
|
|
35
5
|
const {
|
|
36
|
-
|
|
37
|
-
} =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
M({
|
|
52
|
-
body: {
|
|
53
|
-
name: e === 1 ? t._("{daysBefore} day", {
|
|
54
|
-
daysBefore: e
|
|
55
|
-
}) : t._("{daysBefore} days", {
|
|
56
|
-
daysBefore: e
|
|
57
|
-
}),
|
|
58
|
-
term_final_reminder: {
|
|
59
|
-
days_before: e,
|
|
60
|
-
subject: t._("Payment is due soon"),
|
|
61
|
-
body: v ? t._("Payment is due on {dueDate}.", {
|
|
62
|
-
dueDate: U(v, Q)
|
|
63
|
-
}) : t._("Payment is due soon.")
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}, {
|
|
67
|
-
onSuccess: (I) => {
|
|
68
|
-
f(""), y("payment_reminder_id", I.id);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
};
|
|
72
|
-
return /* @__PURE__ */ i("div", { className: "ttw:border ttw:border-border ttw:rounded-lg ttw:min-h-28 ttw:p-2.5 ttw:flex ttw:w-full ttw:flex-col ttw:gap-4 ttw:xl:w-1/2", children: [
|
|
73
|
-
/* @__PURE__ */ i(m, { variant: "body2", children: [
|
|
74
|
-
t._("Number of days"),
|
|
75
|
-
" ",
|
|
76
|
-
/* @__PURE__ */ r("span", { className: "ttw:text-green-700 ttw:font-bold", children: t._("BEFORE") }),
|
|
77
|
-
" ",
|
|
78
|
-
t._("due date")
|
|
79
|
-
] }),
|
|
80
|
-
/* @__PURE__ */ r(J, { className: "ttw:contents", value: _ ?? "", onValueChange: (e) => y("payment_reminder_id", e), children: /* @__PURE__ */ i("ul", { className: "ttw:flex ttw:flex-col ttw:gap-3", children: [
|
|
81
|
-
/* @__PURE__ */ r("li", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:justify-between", children: /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
82
|
-
/* @__PURE__ */ r(N, { value: "", id: "no-payment-reminder" }),
|
|
83
|
-
/* @__PURE__ */ r(m, { variant: "body2", className: "ttw:leading-snug", children: t._("No reminder") })
|
|
84
|
-
] }) }),
|
|
85
|
-
d?.map((e) => /* @__PURE__ */ r("li", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:justify-between", children: /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
86
|
-
/* @__PURE__ */ r(N, { value: e.value, id: e.value }),
|
|
87
|
-
/* @__PURE__ */ r(m, { variant: "body2", className: "ttw:leading-snug", children: e.label })
|
|
88
|
-
] }) }, e.value))
|
|
89
|
-
] }) }),
|
|
90
|
-
T && /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
91
|
-
!!(d && d?.length > 0) && /* @__PURE__ */ r(m, { variant: "caption", color: "muted", children: t._("Add schedule") }),
|
|
92
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2.5", children: [
|
|
93
|
-
/* @__PURE__ */ r(K, { type: "text", inputMode: "numeric", value: a, onChange: (e) => f(e.target.value.replace(/\D/g, "")), disabled: E || p, name: "new_reminders", className: "ttw:text-right ttw:w-full ttw:p-1.5 ttw:max-w-56", placeholder: t._("e.g., 3"), "aria-invalid": u, "aria-describedby": u ? "new-reminder-error" : void 0 }),
|
|
94
|
-
/* @__PURE__ */ r(m, { variant: "body2", children: Number(a) === 1 ? t._("day") : t._("days") }),
|
|
95
|
-
/* @__PURE__ */ r(L, { type: "button", variant: "secondary", className: "ttw:hover:brightness-95 ttw:text-secondary-foreground ttw:text-xs", disabled: !x || p, onClick: C, children: p ? /* @__PURE__ */ r(F, { className: "ttw:size-4 ttw:animate-spin" }) : t._("Save") })
|
|
96
|
-
] }),
|
|
97
|
-
u && /* @__PURE__ */ r(m, { id: "new-reminder-error", variant: "caption", color: "destructive", children: t._("Enter a number of days between {min} and {max}.", {
|
|
98
|
-
min: D,
|
|
99
|
-
max: P
|
|
100
|
-
}) })
|
|
101
|
-
] }),
|
|
102
|
-
B && /* @__PURE__ */ r(m, { variant: "body2", className: "ttw:text-amber-700", children: t._("This reminder would be sent after the due date has already passed.") })
|
|
103
|
-
] });
|
|
6
|
+
i18n: n
|
|
7
|
+
} = r(), {
|
|
8
|
+
api: a,
|
|
9
|
+
queryClient: i
|
|
10
|
+
} = s();
|
|
11
|
+
return a.finops.postBankDetails.useMutation(void 0, {
|
|
12
|
+
onSuccess: async (e) => {
|
|
13
|
+
await a.finops.getBankDetails.invalidateQueries(i), t && t(e?.id), o.success(n._('Bank Account "{name}" has been created.', {
|
|
14
|
+
name: e.display_name
|
|
15
|
+
}));
|
|
16
|
+
},
|
|
17
|
+
onError: (e) => {
|
|
18
|
+
o.error(e?.detail?.[0]?.msg || n._("Failed to create Bank Account."));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
104
21
|
};
|
|
105
22
|
export {
|
|
106
|
-
|
|
23
|
+
p as useCreateEntityBankAccount
|
|
107
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { CreateCounterpartDialog as ye } from "./
|
|
2
|
+
import { CreateCounterpartDialog as ye } from "./index151.js";
|
|
3
3
|
import { getCounterpartName as x } from "./index7.js";
|
|
4
4
|
import "./index57.js";
|
|
5
5
|
import { useLingui as ge } from "@lingui/react";
|
|
@@ -10,13 +10,13 @@ import "react-dom";
|
|
|
10
10
|
import "@mui/x-data-grid";
|
|
11
11
|
import { useIsMounted as Ne } from "./index68.js";
|
|
12
12
|
import { useCounterpartList as _e } from "./index71.js";
|
|
13
|
-
import { Alert as ee, AlertTitle as Ae, AlertDescription as te } from "./
|
|
13
|
+
import { Alert as ee, AlertTitle as Ae, AlertDescription as te } from "./index152.js";
|
|
14
14
|
import { Button as _ } from "./index84.js";
|
|
15
15
|
import { useComboboxAnchor as Te, Combobox as re, ComboboxChips as Ve, ComboboxChip as ke, ComboboxChipsInput as De, ComboboxContent as oe, ComboboxList as ae, ComboboxItem as z, ComboboxInput as Ie, ComboboxEmpty as Le } from "./index90.js";
|
|
16
|
-
import { Field as ie, FieldContent as le, FieldLabel as ne, FieldError as Ee } from "./
|
|
17
|
-
import { Input as Se } from "./
|
|
16
|
+
import { Field as ie, FieldContent as le, FieldLabel as ne, FieldError as Ee } from "./index153.js";
|
|
17
|
+
import { Input as Se } from "./index119.js";
|
|
18
18
|
import { Typography as se } from "./index85.js";
|
|
19
|
-
import { LoadingSpinner as je } from "./
|
|
19
|
+
import { LoadingSpinner as je } from "./index133.js";
|
|
20
20
|
import { Plus as de, Sparkles as Pe } from "lucide-react";
|
|
21
21
|
import { useFormContext as qe, Controller as ze } from "react-hook-form";
|
|
22
22
|
const B = "__create-new__", Be = 50, lt = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as T, Fragment as d } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { InvoiceDetailsPanel as O } from "./
|
|
2
|
+
import { InvoiceDetailsPanel as O } from "./index193.js";
|
|
3
3
|
import { CreateReceivables as $ } from "./index39.js";
|
|
4
4
|
import { ReceivablesTableTabEnum as b, ReceivablesTable as x } from "./index41.js";
|
|
5
5
|
import { MoniteScopedProviders as B } from "./index83.js";
|
|
@@ -11,8 +11,8 @@ import "./index92.js";
|
|
|
11
11
|
import "react-dom";
|
|
12
12
|
import "@mui/x-data-grid";
|
|
13
13
|
import { useComponentSettings as j } from "./index67.js";
|
|
14
|
-
import { useUserPermissions as z } from "./
|
|
15
|
-
import { AccessRestriction as N } from "./
|
|
14
|
+
import { useUserPermissions as z } from "./index130.js";
|
|
15
|
+
import { AccessRestriction as N } from "./index131.js";
|
|
16
16
|
import { Button as U } from "./index84.js";
|
|
17
17
|
import "clsx";
|
|
18
18
|
import "tailwind-merge";
|
|
@@ -1,114 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
import { useLingui as j } from "@lingui/react";
|
|
5
|
-
import { useState as I, Fragment as O } from "react";
|
|
6
|
-
import { useUserPermissions as G } from "./index146.js";
|
|
7
|
-
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
8
|
-
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
9
|
-
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
10
|
-
import "@tanstack/react-query";
|
|
11
|
-
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
12
|
-
import { Scope as k } from "../../shared/data-access/dist/lib/scopes.js";
|
|
13
|
-
import { format as F } from "date-fns";
|
|
14
|
-
import "clsx";
|
|
15
|
-
import "tailwind-merge";
|
|
16
|
-
import "@radix-ui/react-dropdown-menu";
|
|
17
|
-
import { Plus as U, Loader2 as B } from "lucide-react";
|
|
18
|
-
import { Button as h } from "./index84.js";
|
|
19
|
-
import { useGetOverdueReminders as L } from "./index405.js";
|
|
20
|
-
import { useCreateOverdueReminder as V } from "./index406.js";
|
|
21
|
-
import { useGetPaymentTermById as Y } from "./index408.js";
|
|
22
|
-
import "./index92.js";
|
|
23
|
-
import "react-dom";
|
|
24
|
-
import "@mui/x-data-grid";
|
|
25
|
-
import { useFormContext as z } from "react-hook-form";
|
|
26
|
-
import { calculateDueDate as K } from "./index7.js";
|
|
27
|
-
import { CUSTOM_DATE_PAYMENT_TERM as W, RECEIPT_DUE_PAYMENT_TERM as q } from "./index179.js";
|
|
28
|
-
import { RadioGroup as H, RadioGroupItem as b } from "./index352.js";
|
|
29
|
-
import { Typography as n } from "./index85.js";
|
|
30
|
-
import { Input as J } from "./index118.js";
|
|
31
|
-
const Q = "MMM d, yyyy", N = 3, Et = ({
|
|
32
|
-
disabled: l
|
|
33
|
-
}) => {
|
|
1
|
+
import { useMemo as g } from "react";
|
|
2
|
+
import { useMoniteContext as k } from "./index57.js";
|
|
3
|
+
const p = (t, u) => {
|
|
34
4
|
const {
|
|
35
|
-
|
|
36
|
-
} =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
5
|
+
api: r
|
|
6
|
+
} = k(), i = !!(t && u), o = i && u === "BANK_DETAILS", c = i && u === "INTERNAL", d = i && u === "EXTERNAL", {
|
|
7
|
+
data: n,
|
|
8
|
+
isLoading: b
|
|
9
|
+
} = r.finops.getBankDetailsId.useQuery({
|
|
10
|
+
path: {
|
|
11
|
+
bank_account_id: t ?? ""
|
|
12
|
+
}
|
|
13
|
+
}, {
|
|
14
|
+
enabled: o,
|
|
15
|
+
retry: !1
|
|
16
|
+
}), {
|
|
17
|
+
data: e,
|
|
18
|
+
isLoading: m
|
|
19
|
+
} = r.embeddedBanking.getBankAccount.useQuery({
|
|
20
|
+
path: {
|
|
21
|
+
id: t ?? ""
|
|
22
|
+
}
|
|
23
|
+
}, {
|
|
24
|
+
enabled: c,
|
|
25
|
+
retry: !1
|
|
26
|
+
}), {
|
|
27
|
+
data: a,
|
|
28
|
+
isLoading: _
|
|
29
|
+
} = r.embeddedBanking.getExternalBankAccount.useQuery({
|
|
30
|
+
path: {
|
|
31
|
+
id: t ?? ""
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
enabled: d,
|
|
35
|
+
retry: !1
|
|
36
|
+
}), s = b || m || _;
|
|
37
|
+
return {
|
|
38
|
+
data: g(() => {
|
|
39
|
+
if (n)
|
|
40
|
+
return {
|
|
41
|
+
id: n.id,
|
|
42
|
+
bank_name: n.bank_name,
|
|
43
|
+
account_number: n.account_number,
|
|
44
|
+
routing_number: n.routing_number,
|
|
45
|
+
bank_account_type: "BANK_DETAILS"
|
|
46
|
+
};
|
|
47
|
+
if (e)
|
|
48
|
+
return {
|
|
49
|
+
id: e.id,
|
|
50
|
+
bank_name: null,
|
|
51
|
+
account_number: e.accountNumber,
|
|
52
|
+
routing_number: e.routingNumber,
|
|
53
|
+
bank_account_type: "INTERNAL"
|
|
54
|
+
};
|
|
55
|
+
if (a)
|
|
56
|
+
return {
|
|
57
|
+
id: a.id,
|
|
58
|
+
bank_name: null,
|
|
59
|
+
account_number: a.accountNumber,
|
|
60
|
+
routing_number: a.routingNumber,
|
|
61
|
+
bank_account_type: "EXTERNAL"
|
|
62
|
+
};
|
|
63
|
+
}, [n, e, a]),
|
|
64
|
+
isLoading: s
|
|
74
65
|
};
|
|
75
|
-
return /* @__PURE__ */ s("div", { className: "ttw:border ttw:border-border ttw:rounded-lg ttw:min-h-28 ttw:p-2.5 ttw:flex ttw:w-full ttw:flex-col ttw:gap-4 ttw:xl:w-1/2", children: [
|
|
76
|
-
/* @__PURE__ */ s(n, { variant: "body2", children: [
|
|
77
|
-
e._("Number of days"),
|
|
78
|
-
" ",
|
|
79
|
-
/* @__PURE__ */ a("span", { className: "ttw:text-destructive ttw:font-bold", children: e._("AFTER") }),
|
|
80
|
-
" ",
|
|
81
|
-
e._("due date")
|
|
82
|
-
] }),
|
|
83
|
-
/* @__PURE__ */ a(H, { className: "ttw:contents", value: A ?? "", onValueChange: (t) => y("overdue_reminder_id", t), children: /* @__PURE__ */ s("ul", { className: "ttw:flex ttw:flex-col ttw:gap-3", children: [
|
|
84
|
-
/* @__PURE__ */ a("li", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:justify-between", children: /* @__PURE__ */ s("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
85
|
-
/* @__PURE__ */ a(b, { value: "", id: "no-overdue-reminder" }),
|
|
86
|
-
/* @__PURE__ */ a(n, { variant: "body2", className: "ttw:leading-snug", children: e._("No reminder") })
|
|
87
|
-
] }) }),
|
|
88
|
-
u?.map((t) => /* @__PURE__ */ a("li", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:justify-between", children: /* @__PURE__ */ s("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
89
|
-
/* @__PURE__ */ a(b, { value: t.value, id: t.value }),
|
|
90
|
-
/* @__PURE__ */ a(n, { variant: "body2", className: "ttw:leading-snug", children: t.label })
|
|
91
|
-
] }) }, t.value))
|
|
92
|
-
] }) }),
|
|
93
|
-
T && /* @__PURE__ */ s("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
94
|
-
/* @__PURE__ */ a(n, { variant: "caption", color: "muted", children: u && u.length > 0 ? e._("Add schedule (Specify up to 3 terms)") : e._("Send up to three reminders") }),
|
|
95
|
-
/* @__PURE__ */ s("div", { className: "ttw:flex ttw:items-center ttw:gap-2.5", children: [
|
|
96
|
-
o.map((t, i, m) => /* @__PURE__ */ s(O, { children: [
|
|
97
|
-
/* @__PURE__ */ a(J, { type: "text", inputMode: "numeric", value: t, onChange: (r) => M(i, r.target.value.replace(/\D/g, "")), disabled: l || d, name: `new_reminders_${i}`, className: "ttw:text-right ttw:w-15 ttw:p-1.5", placeholder: m.length === 1 ? e._("e.g., 3") : void 0 }),
|
|
98
|
-
/* @__PURE__ */ a(n, { variant: "body2", children: Number(t) === 1 ? e._("day") : e._("days") })
|
|
99
|
-
] }, i)),
|
|
100
|
-
o.length < N && /* @__PURE__ */ s(h, { type: "button", variant: "ghost", className: "ttw:text-xs ttw:text-primary ttw:hover:text-primary", disabled: l || d || !o[o.length - 1], onClick: R, children: [
|
|
101
|
-
/* @__PURE__ */ a(U, {}),
|
|
102
|
-
e._("Add")
|
|
103
|
-
] })
|
|
104
|
-
] }),
|
|
105
|
-
/* @__PURE__ */ s("div", { className: "ttw:flex ttw:items-center ttw:gap-2.5", children: [
|
|
106
|
-
/* @__PURE__ */ a(h, { type: "button", variant: "ghost", className: "ttw:text-xs", disabled: l || d, onClick: D, children: e._("Clear") }),
|
|
107
|
-
/* @__PURE__ */ a(h, { type: "button", variant: "secondary", className: "ttw:hover:brightness-95 ttw:text-secondary-foreground ttw:text-xs", disabled: l || d || !$, onClick: S, children: d ? /* @__PURE__ */ a(B, { className: "ttw:size-4 ttw:animate-spin" }) : e._("Save") })
|
|
108
|
-
] })
|
|
109
|
-
] })
|
|
110
|
-
] });
|
|
111
66
|
};
|
|
112
67
|
export {
|
|
113
|
-
|
|
68
|
+
p as useGetBankAccountById
|
|
114
69
|
};
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { useMoniteContext as a } from "./index57.js";
|
|
2
|
+
const m = (r) => {
|
|
3
|
+
const t = [r.term_1_reminder, r.term_2_reminder, r.term_final_reminder].filter((e) => !!e).map((e) => e.days_before);
|
|
4
|
+
return t.length > 0 ? Math.min(...t) : Number.POSITIVE_INFINITY;
|
|
5
|
+
}, s = () => {
|
|
6
|
+
const {
|
|
7
|
+
api: r
|
|
8
|
+
} = a();
|
|
9
|
+
return r.finops.getPaymentReminders.useQuery(void 0, {
|
|
10
|
+
select: (t) => [...t.data].sort((e, n) => m(e) - m(n)).map(({
|
|
11
|
+
id: e,
|
|
12
|
+
name: n
|
|
13
|
+
}) => ({
|
|
14
|
+
value: e,
|
|
15
|
+
label: n
|
|
16
|
+
}))
|
|
17
|
+
});
|
|
18
|
+
};
|
|
5
19
|
export {
|
|
6
|
-
|
|
20
|
+
s as useGetPaymentReminders
|
|
7
21
|
};
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as i } from "./index118.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
1
4
|
import { toast as o } from "react-hot-toast";
|
|
2
|
-
|
|
3
|
-
import { useLingui as r } from "@lingui/react";
|
|
4
|
-
const p = (t) => {
|
|
5
|
+
const c = () => {
|
|
5
6
|
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
return
|
|
12
|
-
onSuccess: async (
|
|
13
|
-
await
|
|
14
|
-
name: e.display_name
|
|
15
|
-
}));
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: s
|
|
9
|
+
} = n(), {
|
|
10
|
+
i18n: r
|
|
11
|
+
} = a();
|
|
12
|
+
return e.finops.postPaymentReminders.useMutation(void 0, {
|
|
13
|
+
onSuccess: async () => {
|
|
14
|
+
await e.finops.getPaymentReminders.invalidateQueries(s), o.success(r._("Reminder has been added"));
|
|
16
15
|
},
|
|
17
|
-
onError: (
|
|
18
|
-
o.error(
|
|
16
|
+
onError: (t) => {
|
|
17
|
+
o.error(i(r, t));
|
|
19
18
|
}
|
|
20
19
|
});
|
|
21
20
|
};
|
|
22
21
|
export {
|
|
23
|
-
|
|
22
|
+
c as useCreatePaymentReminder
|
|
24
23
|
};
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
const
|
|
3
|
-
const t = [r.term_1_reminder, r.term_2_reminder, r.term_final_reminder].filter((e) => !!e).map((e) => e.days_before);
|
|
4
|
-
return t.length > 0 ? Math.min(...t) : Number.POSITIVE_INFINITY;
|
|
5
|
-
}, s = () => {
|
|
1
|
+
import { useMoniteContext as m } from "./index57.js";
|
|
2
|
+
const a = (e) => e && e.length > 0 ? Math.min(...e.map((t) => t.days_after)) : Number.POSITIVE_INFINITY, i = () => {
|
|
6
3
|
const {
|
|
7
|
-
api:
|
|
8
|
-
} =
|
|
9
|
-
return
|
|
10
|
-
select: (t) => [...t.data].sort((
|
|
11
|
-
id:
|
|
12
|
-
name:
|
|
4
|
+
api: e
|
|
5
|
+
} = m();
|
|
6
|
+
return e.finops.getOverdueReminders.useQuery(void 0, {
|
|
7
|
+
select: (t) => [...t.data].sort((r, s) => a(r.terms) - a(s.terms)).map(({
|
|
8
|
+
id: r,
|
|
9
|
+
name: s
|
|
13
10
|
}) => ({
|
|
14
|
-
value:
|
|
15
|
-
label:
|
|
11
|
+
value: r,
|
|
12
|
+
label: s
|
|
16
13
|
}))
|
|
17
14
|
});
|
|
18
15
|
};
|
|
19
16
|
export {
|
|
20
|
-
|
|
17
|
+
i as useGetOverdueReminders
|
|
21
18
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
import { getAPIErrorMessage as
|
|
1
|
+
import { useMoniteContext as t } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index118.js";
|
|
3
3
|
import { useLingui as a } from "@lingui/react";
|
|
4
|
-
import { toast as
|
|
4
|
+
import { toast as s } from "react-hot-toast";
|
|
5
5
|
const c = () => {
|
|
6
6
|
const {
|
|
7
7
|
api: e,
|
|
8
|
-
queryClient:
|
|
9
|
-
} =
|
|
8
|
+
queryClient: o
|
|
9
|
+
} = t(), {
|
|
10
10
|
i18n: r
|
|
11
11
|
} = a();
|
|
12
|
-
return e.finops.
|
|
12
|
+
return e.finops.postOverdueReminders.useMutation(void 0, {
|
|
13
13
|
onSuccess: async () => {
|
|
14
|
-
await e.finops.
|
|
14
|
+
await e.finops.getOverdueReminders.invalidateQueries(o), s.success(r._("Reminder has been added"));
|
|
15
15
|
},
|
|
16
|
-
onError: (
|
|
17
|
-
|
|
16
|
+
onError: (i) => {
|
|
17
|
+
s.error(n(r, i));
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
export {
|
|
22
|
-
c as
|
|
22
|
+
c as useCreateOverdueReminder
|
|
23
23
|
};
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
const
|
|
1
|
+
import { useMoniteContext as i } from "./index57.js";
|
|
2
|
+
const s = (e) => {
|
|
3
3
|
const {
|
|
4
|
-
api:
|
|
5
|
-
} =
|
|
6
|
-
return
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}) => ({
|
|
11
|
-
value: r,
|
|
12
|
-
label: s
|
|
13
|
-
}))
|
|
4
|
+
api: t
|
|
5
|
+
} = i();
|
|
6
|
+
return t.finops.postReceivablesIdPreview.useMutation({
|
|
7
|
+
path: {
|
|
8
|
+
receivable_id: e
|
|
9
|
+
}
|
|
14
10
|
});
|
|
15
11
|
};
|
|
16
12
|
export {
|
|
17
|
-
|
|
13
|
+
s as useCreateInvoiceEmailPreview
|
|
18
14
|
};
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
3
|
-
import { useLingui as a } from "@lingui/react";
|
|
4
|
-
import { toast as s } from "react-hot-toast";
|
|
5
|
-
const c = () => {
|
|
1
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
+
const m = (e) => {
|
|
6
3
|
const {
|
|
7
|
-
api:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return e.finops.postOverdueReminders.useMutation(void 0, {
|
|
13
|
-
onSuccess: async () => {
|
|
14
|
-
await e.finops.getOverdueReminders.invalidateQueries(o), s.success(r._("Reminder has been added"));
|
|
15
|
-
},
|
|
16
|
-
onError: (i) => {
|
|
17
|
-
s.error(n(r, i));
|
|
4
|
+
api: t
|
|
5
|
+
} = n();
|
|
6
|
+
return t.finops.getPaymentTermsId.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
payment_terms_id: e ?? ""
|
|
18
9
|
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: !!e
|
|
19
12
|
});
|
|
20
13
|
};
|
|
21
14
|
export {
|
|
22
|
-
|
|
15
|
+
m as useGetPaymentTermById
|
|
23
16
|
};
|