@tesouro/embedded-components-react 0.2.27 → 0.2.29
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 +20 -20
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index2.js +19 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index2.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +35 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1271 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +8 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +7 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +72 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +9 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +119 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +11 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +2 -2
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.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/index246.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +491 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +165 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +42 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +62 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +31 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +114 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +41 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +53 -17
- 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 +73 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +44 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +30 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +60 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +90 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +106 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +88 -30
- 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 +50 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +62 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +36 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +34 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +54 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +343 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +17 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +34 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +37 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +14 -490
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +17 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +12 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +22 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +38 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +50 -112
- 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 +30 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +96 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +42 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +47 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +27 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +74 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +35 -37
- 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 +340 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +291 -333
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +87 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +157 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +261 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +23 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +90 -89
- 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 +185 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +65 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +157 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +28 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +26 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +77 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +21 -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 +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +19 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +169 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +132 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +162 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +10 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +19 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +60 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +62 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +54 -102
- 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 +7 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +8 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +56 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +24 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +57 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +14 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +40 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +14 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +70 -24
- 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 +76 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +40 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +22 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +54 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +27 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +57 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +12 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +126 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +32 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +45 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +36 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +32 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +8 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +99 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +21 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +31 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +54 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +58 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +12 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +89 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +118 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +16 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +63 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +43 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +187 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +106 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +81 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +287 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +82 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +225 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +50 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +48 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +107 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +255 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +53 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +32 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +26 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +123 -16
- 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 +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +23 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +72 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +94 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +9 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +65 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +14 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +19 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +32 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +65 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +67 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +45 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +5 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +32 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +126 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +93 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +37 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +24 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +48 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +7 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +54 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +25 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +36 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +103 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +109 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +14 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +66 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +12 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +32 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +85 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +23 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +37 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +57 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +29 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +49 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +36 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +44 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +69 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +80 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +49 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +54 -44
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +29 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +68 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +41 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +96 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +75 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +18 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +40 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +36 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +18 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +49 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +28 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/data-access/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/feature/dist/index2.js +59 -68
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/feature/dist/index6.js +55 -68
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +124 -124
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +44 -44
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +4477 -3065
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useUpsertUserDataMutation.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index7.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index20.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index21.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index8.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index9.js +2 -2
- package/package.json +1 -1
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { useMoniteContext as a } from "./index59.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
|
+
});
|
|
9
18
|
};
|
|
10
19
|
export {
|
|
11
|
-
|
|
20
|
+
s as useGetPaymentReminders
|
|
12
21
|
};
|
|
@@ -11,8 +11,8 @@ import "./index94.js";
|
|
|
11
11
|
import "react-dom";
|
|
12
12
|
import "@mui/x-data-grid";
|
|
13
13
|
import { useComponentSettings as j } from "./index69.js";
|
|
14
|
-
import { useUserPermissions as y } from "./
|
|
15
|
-
import { AccessRestriction as U } from "./
|
|
14
|
+
import { useUserPermissions as y } from "./index137.js";
|
|
15
|
+
import { AccessRestriction as U } from "./index138.js";
|
|
16
16
|
import { Button as w } from "./index86.js";
|
|
17
17
|
import "clsx";
|
|
18
18
|
import "tailwind-merge";
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { useMoniteContext as n } from "./index59.js";
|
|
2
|
+
import { getAPIErrorMessage as i } from "./index122.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
4
|
+
import { toast as o } from "react-hot-toast";
|
|
5
|
+
const c = () => {
|
|
6
|
+
const {
|
|
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"));
|
|
15
|
+
},
|
|
16
|
+
onError: (t) => {
|
|
17
|
+
o.error(i(r, t));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
};
|
|
11
21
|
export {
|
|
12
|
-
c as
|
|
22
|
+
c as useCreatePaymentReminder
|
|
13
23
|
};
|
|
@@ -1,257 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
AW: "AW",
|
|
15
|
-
AU: "AU",
|
|
16
|
-
AT: "AT",
|
|
17
|
-
AZ: "AZ",
|
|
18
|
-
BS: "BS",
|
|
19
|
-
BH: "BH",
|
|
20
|
-
BD: "BD",
|
|
21
|
-
BB: "BB",
|
|
22
|
-
BL: "BL",
|
|
23
|
-
BY: "BY",
|
|
24
|
-
BE: "BE",
|
|
25
|
-
BZ: "BZ",
|
|
26
|
-
BJ: "BJ",
|
|
27
|
-
CW: "CW",
|
|
28
|
-
MF: "MF",
|
|
29
|
-
CX: "CX",
|
|
30
|
-
BM: "BM",
|
|
31
|
-
BT: "BT",
|
|
32
|
-
BO: "BO",
|
|
33
|
-
BA: "BA",
|
|
34
|
-
BW: "BW",
|
|
35
|
-
BV: "BV",
|
|
36
|
-
BR: "BR",
|
|
37
|
-
IO: "IO",
|
|
38
|
-
BN: "BN",
|
|
39
|
-
BG: "BG",
|
|
40
|
-
BF: "BF",
|
|
41
|
-
BI: "BI",
|
|
42
|
-
BQ: "BQ",
|
|
43
|
-
KH: "KH",
|
|
44
|
-
CM: "CM",
|
|
45
|
-
CA: "CA",
|
|
46
|
-
IC: "IC",
|
|
47
|
-
CV: "CV",
|
|
48
|
-
KY: "KY",
|
|
49
|
-
CF: "CF",
|
|
50
|
-
EA: "EA",
|
|
51
|
-
TD: "TD",
|
|
52
|
-
CL: "CL",
|
|
53
|
-
CN: "CN",
|
|
54
|
-
CC: "CC",
|
|
55
|
-
CO: "CO",
|
|
56
|
-
KM: "KM",
|
|
57
|
-
CG: "CG",
|
|
58
|
-
CD: "CD",
|
|
59
|
-
CK: "CK",
|
|
60
|
-
CR: "CR",
|
|
61
|
-
CI: "CI",
|
|
62
|
-
HR: "HR",
|
|
63
|
-
CU: "CU",
|
|
64
|
-
CY: "CY",
|
|
65
|
-
CZ: "CZ",
|
|
66
|
-
DK: "DK",
|
|
67
|
-
DJ: "DJ",
|
|
68
|
-
DM: "DM",
|
|
69
|
-
DO: "DO",
|
|
70
|
-
EC: "EC",
|
|
71
|
-
EG: "EG",
|
|
72
|
-
SV: "SV",
|
|
73
|
-
GQ: "GQ",
|
|
74
|
-
ER: "ER",
|
|
75
|
-
EE: "EE",
|
|
76
|
-
ET: "ET",
|
|
77
|
-
FK: "FK",
|
|
78
|
-
FO: "FO",
|
|
79
|
-
FJ: "FJ",
|
|
80
|
-
FI: "FI",
|
|
81
|
-
FR: "FR",
|
|
82
|
-
GF: "GF",
|
|
83
|
-
PF: "PF",
|
|
84
|
-
TF: "TF",
|
|
85
|
-
GA: "GA",
|
|
86
|
-
GM: "GM",
|
|
87
|
-
GE: "GE",
|
|
88
|
-
DE: "DE",
|
|
89
|
-
GH: "GH",
|
|
90
|
-
GI: "GI",
|
|
91
|
-
GR: "GR",
|
|
92
|
-
GL: "GL",
|
|
93
|
-
GD: "GD",
|
|
94
|
-
GP: "GP",
|
|
95
|
-
GU: "GU",
|
|
96
|
-
GT: "GT",
|
|
97
|
-
GG: "GG",
|
|
98
|
-
GN: "GN",
|
|
99
|
-
GW: "GW",
|
|
100
|
-
GY: "GY",
|
|
101
|
-
HT: "HT",
|
|
102
|
-
HM: "HM",
|
|
103
|
-
VA: "VA",
|
|
104
|
-
HN: "HN",
|
|
105
|
-
HK: "HK",
|
|
106
|
-
HU: "HU",
|
|
107
|
-
IS: "IS",
|
|
108
|
-
IN: "IN",
|
|
109
|
-
ID: "ID",
|
|
110
|
-
IR: "IR",
|
|
111
|
-
IQ: "IQ",
|
|
112
|
-
IE: "IE",
|
|
113
|
-
IM: "IM",
|
|
114
|
-
IL: "IL",
|
|
115
|
-
IT: "IT",
|
|
116
|
-
JM: "JM",
|
|
117
|
-
JP: "JP",
|
|
118
|
-
JE: "JE",
|
|
119
|
-
JO: "JO",
|
|
120
|
-
KZ: "KZ",
|
|
121
|
-
KE: "KE",
|
|
122
|
-
KI: "KI",
|
|
123
|
-
KP: "KP",
|
|
124
|
-
KR: "KR",
|
|
125
|
-
KW: "KW",
|
|
126
|
-
KG: "KG",
|
|
127
|
-
LA: "LA",
|
|
128
|
-
LV: "LV",
|
|
129
|
-
LB: "LB",
|
|
130
|
-
LS: "LS",
|
|
131
|
-
LR: "LR",
|
|
132
|
-
LY: "LY",
|
|
133
|
-
LI: "LI",
|
|
134
|
-
LT: "LT",
|
|
135
|
-
LU: "LU",
|
|
136
|
-
MO: "MO",
|
|
137
|
-
MK: "MK",
|
|
138
|
-
MG: "MG",
|
|
139
|
-
MW: "MW",
|
|
140
|
-
MY: "MY",
|
|
141
|
-
MV: "MV",
|
|
142
|
-
ML: "ML",
|
|
143
|
-
MT: "MT",
|
|
144
|
-
MH: "MH",
|
|
145
|
-
MQ: "MQ",
|
|
146
|
-
MR: "MR",
|
|
147
|
-
MU: "MU",
|
|
148
|
-
YT: "YT",
|
|
149
|
-
MX: "MX",
|
|
150
|
-
FM: "FM",
|
|
151
|
-
MD: "MD",
|
|
152
|
-
MC: "MC",
|
|
153
|
-
ME: "ME",
|
|
154
|
-
MN: "MN",
|
|
155
|
-
MS: "MS",
|
|
156
|
-
MA: "MA",
|
|
157
|
-
MZ: "MZ",
|
|
158
|
-
MM: "MM",
|
|
159
|
-
NA: "NA",
|
|
160
|
-
NR: "NR",
|
|
161
|
-
NP: "NP",
|
|
162
|
-
NL: "NL",
|
|
163
|
-
AN: "AN",
|
|
164
|
-
NC: "NC",
|
|
165
|
-
NZ: "NZ",
|
|
166
|
-
NI: "NI",
|
|
167
|
-
NE: "NE",
|
|
168
|
-
NG: "NG",
|
|
169
|
-
NU: "NU",
|
|
170
|
-
NF: "NF",
|
|
171
|
-
MP: "MP",
|
|
172
|
-
NO: "NO",
|
|
173
|
-
OM: "OM",
|
|
174
|
-
PK: "PK",
|
|
175
|
-
PW: "PW",
|
|
176
|
-
PS: "PS",
|
|
177
|
-
PA: "PA",
|
|
178
|
-
PG: "PG",
|
|
179
|
-
PY: "PY",
|
|
180
|
-
PE: "PE",
|
|
181
|
-
PH: "PH",
|
|
182
|
-
PN: "PN",
|
|
183
|
-
PL: "PL",
|
|
184
|
-
PT: "PT",
|
|
185
|
-
PR: "PR",
|
|
186
|
-
QA: "QA",
|
|
187
|
-
RE: "RE",
|
|
188
|
-
RO: "RO",
|
|
189
|
-
RS: "RS",
|
|
190
|
-
RU: "RU",
|
|
191
|
-
RW: "RW",
|
|
192
|
-
SH: "SH",
|
|
193
|
-
KN: "KN",
|
|
194
|
-
LC: "LC",
|
|
195
|
-
PM: "PM",
|
|
196
|
-
VC: "VC",
|
|
197
|
-
WS: "WS",
|
|
198
|
-
SM: "SM",
|
|
199
|
-
ST: "ST",
|
|
200
|
-
SA: "SA",
|
|
201
|
-
SN: "SN",
|
|
202
|
-
SS: "SS",
|
|
203
|
-
SC: "SC",
|
|
204
|
-
SL: "SL",
|
|
205
|
-
SG: "SG",
|
|
206
|
-
SK: "SK",
|
|
207
|
-
SI: "SI",
|
|
208
|
-
SB: "SB",
|
|
209
|
-
SO: "SO",
|
|
210
|
-
SX: "SX",
|
|
211
|
-
ZA: "ZA",
|
|
212
|
-
GS: "GS",
|
|
213
|
-
ES: "ES",
|
|
214
|
-
LK: "LK",
|
|
215
|
-
SD: "SD",
|
|
216
|
-
SR: "SR",
|
|
217
|
-
SJ: "SJ",
|
|
218
|
-
SZ: "SZ",
|
|
219
|
-
SE: "SE",
|
|
220
|
-
CH: "CH",
|
|
221
|
-
SY: "SY",
|
|
222
|
-
TW: "TW",
|
|
223
|
-
TJ: "TJ",
|
|
224
|
-
TZ: "TZ",
|
|
225
|
-
TH: "TH",
|
|
226
|
-
TL: "TL",
|
|
227
|
-
TG: "TG",
|
|
228
|
-
TK: "TK",
|
|
229
|
-
TO: "TO",
|
|
230
|
-
TT: "TT",
|
|
231
|
-
TN: "TN",
|
|
232
|
-
TR: "TR",
|
|
233
|
-
TM: "TM",
|
|
234
|
-
TC: "TC",
|
|
235
|
-
TV: "TV",
|
|
236
|
-
UG: "UG",
|
|
237
|
-
UA: "UA",
|
|
238
|
-
AE: "AE",
|
|
239
|
-
GB: "GB",
|
|
240
|
-
US: "US",
|
|
241
|
-
UM: "UM",
|
|
242
|
-
UY: "UY",
|
|
243
|
-
UZ: "UZ",
|
|
244
|
-
VU: "VU",
|
|
245
|
-
VE: "VE",
|
|
246
|
-
VN: "VN",
|
|
247
|
-
VG: "VG",
|
|
248
|
-
VI: "VI",
|
|
249
|
-
WF: "WF",
|
|
250
|
-
EH: "EH",
|
|
251
|
-
YE: "YE",
|
|
252
|
-
ZM: "ZM",
|
|
253
|
-
ZW: "ZW"
|
|
254
|
-
}, S = Object.values(M);
|
|
1
|
+
import { useMoniteContext as d } from "./index59.js";
|
|
2
|
+
const n = (e) => {
|
|
3
|
+
const {
|
|
4
|
+
api: r
|
|
5
|
+
} = d();
|
|
6
|
+
return r.finops.getOverdueRemindersId.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
overdue_reminder_id: e ?? ""
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: !!e
|
|
12
|
+
});
|
|
13
|
+
};
|
|
255
14
|
export {
|
|
256
|
-
|
|
15
|
+
n as useGetOverdueReminderById
|
|
257
16
|
};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import { useMoniteContext as m } from "./index59.js";
|
|
2
|
+
const a = (e) => e && e.length > 0 ? Math.min(...e.map((t) => t.days_after)) : Number.POSITIVE_INFINITY, i = () => {
|
|
3
|
+
const {
|
|
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
|
|
10
|
+
}) => ({
|
|
11
|
+
value: r,
|
|
12
|
+
label: s
|
|
13
|
+
}))
|
|
14
|
+
});
|
|
15
|
+
};
|
|
11
16
|
export {
|
|
12
|
-
|
|
17
|
+
i as useGetOverdueReminders
|
|
13
18
|
};
|
|
@@ -1,107 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { differenceInCalendarDays as G, format as S } from "date-fns";
|
|
7
|
-
import { useUserPermissions as O } from "./index148.js";
|
|
8
|
-
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
9
|
-
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
10
|
-
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
11
|
-
import "@tanstack/react-query";
|
|
12
|
-
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
13
|
-
import { Scope as U } from "../../shared/data-access/dist/lib/scopes.js";
|
|
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 "./index86.js";
|
|
19
|
-
import { useGetPaymentReminderById as V } from "./index416.js";
|
|
20
|
-
import { useGetPaymentReminders as Y } from "./index417.js";
|
|
21
|
-
import { useCreatePaymentReminder as k } from "./index418.js";
|
|
22
|
-
import { useGetPaymentTermById as z } from "./index424.js";
|
|
23
|
-
import "./index94.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 "./index194.js";
|
|
29
|
-
import { RadioGroup as J, RadioGroupItem as N } from "./index380.js";
|
|
30
|
-
import { Typography as m } from "./index87.js";
|
|
31
|
-
import { Input as K } from "./index124.js";
|
|
32
|
-
const Q = "MMM d, yyyy", D = 1, P = 1e4, Re = ({
|
|
33
|
-
disabled: E
|
|
34
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as t } from "./index59.js";
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index122.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
4
|
+
import { toast as s } from "react-hot-toast";
|
|
5
|
+
const c = () => {
|
|
35
6
|
const {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} = V(_), R = n ? [n.term_1_reminder?.days_before, n.term_2_reminder?.days_before, n.term_final_reminder?.days_before].filter((e) => typeof e == "number") : [], B = w !== void 0 && (a !== "" && Number(a) > w || R.some((e) => e > w)), C = () => {
|
|
50
|
-
const e = Number(a);
|
|
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: S(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
|
-
] });
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: o
|
|
9
|
+
} = t(), {
|
|
10
|
+
i18n: r
|
|
11
|
+
} = a();
|
|
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));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
104
20
|
};
|
|
105
21
|
export {
|
|
106
|
-
|
|
22
|
+
c as useCreateOverdueReminder
|
|
107
23
|
};
|
|
@@ -1,114 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import "./index59.js";
|
|
4
|
-
import { useLingui as j } from "@lingui/react";
|
|
5
|
-
import { useState as I, Fragment as O } from "react";
|
|
6
|
-
import { format as G } from "date-fns";
|
|
7
|
-
import { useUserPermissions as k } from "./index148.js";
|
|
8
|
-
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
9
|
-
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
10
|
-
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
11
|
-
import "@tanstack/react-query";
|
|
12
|
-
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
13
|
-
import { Scope as F } from "../../shared/data-access/dist/lib/scopes.js";
|
|
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 f } from "./index86.js";
|
|
19
|
-
import { useGetOverdueReminders as L } from "./index420.js";
|
|
20
|
-
import { useCreateOverdueReminder as V } from "./index421.js";
|
|
21
|
-
import { useGetPaymentTermById as Y } from "./index424.js";
|
|
22
|
-
import "./index94.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 "./index194.js";
|
|
28
|
-
import { RadioGroup as H, RadioGroupItem as x } from "./index380.js";
|
|
29
|
-
import { Typography as n } from "./index87.js";
|
|
30
|
-
import { Input as J } from "./index124.js";
|
|
31
|
-
const Q = "MMM d, yyyy", b = 3, Et = ({
|
|
32
|
-
disabled: l
|
|
33
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as i } from "./index59.js";
|
|
2
|
+
const s = (e) => {
|
|
34
3
|
const {
|
|
35
|
-
|
|
36
|
-
} =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
data: _
|
|
43
|
-
} = Y(C), g = v ? A ?? void 0 : y ? /* @__PURE__ */ new Date() : _ && K(_) || void 0, {
|
|
44
|
-
mutate: P,
|
|
45
|
-
isPending: d
|
|
46
|
-
} = V(), E = (t, i) => {
|
|
47
|
-
c((m) => m.map((a, S) => S === t ? i : a));
|
|
48
|
-
}, M = () => {
|
|
49
|
-
c((t) => t.length < b ? [...t, ""] : t);
|
|
50
|
-
}, R = () => {
|
|
51
|
-
c([""]);
|
|
52
|
-
}, D = o.every((t) => Number(t) >= 1), $ = () => {
|
|
53
|
-
const t = o.map((a) => Number(a)), i = t.map((a) => a === 1 ? e._("{daysAfter} day", {
|
|
54
|
-
daysAfter: a
|
|
55
|
-
}) : e._("{daysAfter} days", {
|
|
56
|
-
daysAfter: a
|
|
57
|
-
})), m = i.length === 1 ? i[0] : `${i.slice(0, -1).join(", ")} ${e._("and")} ${i[i.length - 1]}`;
|
|
58
|
-
P({
|
|
59
|
-
body: {
|
|
60
|
-
name: m,
|
|
61
|
-
terms: t.map((a) => ({
|
|
62
|
-
days_after: a,
|
|
63
|
-
subject: e._("Payment is overdue"),
|
|
64
|
-
body: g ? e._("Payment was due on {dueDate}.", {
|
|
65
|
-
dueDate: G(g, Q)
|
|
66
|
-
}) : e._("Payment is overdue.")
|
|
67
|
-
}))
|
|
68
|
-
}
|
|
69
|
-
}, {
|
|
70
|
-
onSuccess: (a) => {
|
|
71
|
-
c([""]), h("overdue_reminder_id", a.id);
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
};
|
|
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__ */ r("span", { className: "ttw:text-destructive ttw:font-bold", children: e._("AFTER") }),
|
|
80
|
-
" ",
|
|
81
|
-
e._("due date")
|
|
82
|
-
] }),
|
|
83
|
-
/* @__PURE__ */ r(H, { className: "ttw:contents", value: T ?? "", onValueChange: (t) => h("overdue_reminder_id", t), children: /* @__PURE__ */ s("ul", { className: "ttw:flex ttw:flex-col ttw:gap-3", children: [
|
|
84
|
-
/* @__PURE__ */ r("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__ */ r(x, { value: "", id: "no-overdue-reminder" }),
|
|
86
|
-
/* @__PURE__ */ r(n, { variant: "body2", className: "ttw:leading-snug", children: e._("No reminder") })
|
|
87
|
-
] }) }),
|
|
88
|
-
u?.map((t) => /* @__PURE__ */ r("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__ */ r(x, { value: t.value, id: t.value }),
|
|
90
|
-
/* @__PURE__ */ r(n, { variant: "body2", className: "ttw:leading-snug", children: t.label })
|
|
91
|
-
] }) }, t.value))
|
|
92
|
-
] }) }),
|
|
93
|
-
N && /* @__PURE__ */ s("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
94
|
-
/* @__PURE__ */ r(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__ */ r(J, { type: "text", inputMode: "numeric", value: t, onChange: (a) => E(i, a.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__ */ r(n, { variant: "body2", children: Number(t) === 1 ? e._("day") : e._("days") })
|
|
99
|
-
] }, i)),
|
|
100
|
-
o.length < b && /* @__PURE__ */ s(f, { type: "button", variant: "ghost", className: "ttw:text-xs ttw:text-primary ttw:hover:text-primary", disabled: l || d || !o[o.length - 1], onClick: M, children: [
|
|
101
|
-
/* @__PURE__ */ r(U, {}),
|
|
102
|
-
e._("Add")
|
|
103
|
-
] })
|
|
104
|
-
] }),
|
|
105
|
-
/* @__PURE__ */ s("div", { className: "ttw:flex ttw:items-center ttw:gap-2.5", children: [
|
|
106
|
-
/* @__PURE__ */ r(f, { type: "button", variant: "ghost", className: "ttw:text-xs", disabled: l || d, onClick: R, children: e._("Clear") }),
|
|
107
|
-
/* @__PURE__ */ r(f, { type: "button", variant: "secondary", className: "ttw:hover:brightness-95 ttw:text-secondary-foreground ttw:text-xs", disabled: l || d || !D, onClick: $, children: d ? /* @__PURE__ */ r(B, { className: "ttw:size-4 ttw:animate-spin" }) : e._("Save") })
|
|
108
|
-
] })
|
|
109
|
-
] })
|
|
110
|
-
] });
|
|
4
|
+
api: t
|
|
5
|
+
} = i();
|
|
6
|
+
return t.finops.postReceivablesIdPreview.useMutation({
|
|
7
|
+
path: {
|
|
8
|
+
receivable_id: e
|
|
9
|
+
}
|
|
10
|
+
});
|
|
111
11
|
};
|
|
112
12
|
export {
|
|
113
|
-
|
|
13
|
+
s as useCreateInvoiceEmailPreview
|
|
114
14
|
};
|