@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,69 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { useMoniteContext as c } from "./index59.js";
|
|
2
|
+
import { getAPIErrorMessage as u } from "./index122.js";
|
|
3
|
+
import { useLingui as p } from "@lingui/react";
|
|
4
|
+
import { toast as i } from "react-hot-toast";
|
|
5
|
+
const g = (a, n) => {
|
|
4
6
|
const {
|
|
5
|
-
api:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} =
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: s
|
|
9
|
+
} = c(), {
|
|
10
|
+
i18n: t
|
|
11
|
+
} = p();
|
|
12
|
+
return e.finops.patchRecurrencesId.useMutation({
|
|
10
13
|
path: {
|
|
11
|
-
|
|
14
|
+
recurrence_id: a
|
|
12
15
|
}
|
|
13
16
|
}, {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
onError(r) {
|
|
18
|
+
i.error(u(t, r));
|
|
19
|
+
},
|
|
20
|
+
async onSuccess(r) {
|
|
21
|
+
e.finops.getRecurrencesId.setQueryData({
|
|
22
|
+
path: {
|
|
23
|
+
recurrence_id: r.id
|
|
24
|
+
}
|
|
25
|
+
}, (o) => ({
|
|
26
|
+
...o,
|
|
27
|
+
...r
|
|
28
|
+
}), s), await Promise.all([e.finops.getReceivablesId.invalidateQueries({
|
|
29
|
+
parameters: {
|
|
30
|
+
path: {
|
|
31
|
+
receivable_id: n
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}, s), e.finops.getReceivables.invalidateQueries(s)]), i.success(t._("Recurrence has been updated"));
|
|
22
35
|
}
|
|
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
|
|
65
|
-
};
|
|
36
|
+
});
|
|
66
37
|
};
|
|
67
38
|
export {
|
|
68
|
-
|
|
39
|
+
g as useUpdateRecurrenceById
|
|
69
40
|
};
|
|
@@ -3,14 +3,14 @@ const m = (e) => {
|
|
|
3
3
|
const {
|
|
4
4
|
api: t
|
|
5
5
|
} = n();
|
|
6
|
-
return t.finops.
|
|
6
|
+
return t.finops.getPaymentTermsId.useQuery({
|
|
7
7
|
path: {
|
|
8
|
-
|
|
8
|
+
payment_terms_id: e ?? ""
|
|
9
9
|
}
|
|
10
10
|
}, {
|
|
11
11
|
enabled: !!e
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
|
-
m as
|
|
15
|
+
m as useGetPaymentTermById
|
|
16
16
|
};
|
|
@@ -1,18 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { Price as v } from "./index418.js";
|
|
2
|
+
import { useMemo as m } from "react";
|
|
3
|
+
const w = ({
|
|
4
|
+
lineItems: c,
|
|
5
|
+
isInclusivePricing: o,
|
|
6
|
+
actualCurrency: p,
|
|
7
|
+
formatCurrencyToDisplay: i,
|
|
8
|
+
taxRate: n
|
|
9
|
+
}) => {
|
|
10
|
+
const b = (e) => {
|
|
11
|
+
const a = e.product?.price?.value ?? e.price?.value ?? 0, r = e.quantity ?? 1;
|
|
12
|
+
return {
|
|
13
|
+
price: a,
|
|
14
|
+
quantity: r
|
|
15
|
+
};
|
|
16
|
+
}, s = m(() => {
|
|
17
|
+
const e = n !== void 0 ? (n ?? 0) / 100 : void 0, a = c.reduce((t, f) => {
|
|
18
|
+
const {
|
|
19
|
+
price: l,
|
|
20
|
+
quantity: u
|
|
21
|
+
} = b(f);
|
|
22
|
+
if (o && e && f.taxable) {
|
|
23
|
+
const d = l * u / (1 + e);
|
|
24
|
+
return t + d;
|
|
25
|
+
}
|
|
26
|
+
return t + l * u;
|
|
27
|
+
}, 0), r = p ?? c.find((t) => !!t.product?.price?.currency)?.product?.price?.currency ?? c.find((t) => !!t.price?.currency)?.price?.currency;
|
|
28
|
+
if (r)
|
|
29
|
+
return new v({
|
|
30
|
+
value: a,
|
|
31
|
+
currency: r,
|
|
32
|
+
formatter: i
|
|
33
|
+
});
|
|
34
|
+
}, [c, i, p, o, n]), y = m(() => {
|
|
35
|
+
const e = p ?? c.find((r) => !!r.product?.price?.currency)?.product?.price?.currency ?? c.find((r) => !!r.price?.currency)?.price?.currency;
|
|
36
|
+
if (!e)
|
|
37
|
+
return;
|
|
38
|
+
if (!n)
|
|
39
|
+
return new v({
|
|
40
|
+
value: 0,
|
|
41
|
+
currency: e,
|
|
42
|
+
formatter: i
|
|
43
|
+
});
|
|
44
|
+
const a = c.reduce((r, t) => {
|
|
45
|
+
if (!t.taxable) return r;
|
|
46
|
+
const {
|
|
47
|
+
price: f,
|
|
48
|
+
quantity: l
|
|
49
|
+
} = b(t), u = n / 100, d = f * l;
|
|
50
|
+
return o ? r + d * u / (1 + u) : r + d * u;
|
|
51
|
+
}, 0);
|
|
52
|
+
return new v({
|
|
11
53
|
value: a,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
54
|
+
currency: e,
|
|
55
|
+
formatter: i
|
|
56
|
+
});
|
|
57
|
+
}, [c, i, p, n, o]), x = m(() => {
|
|
58
|
+
if (!(!s || !y))
|
|
59
|
+
return s.add(y);
|
|
60
|
+
}, [s, y]);
|
|
61
|
+
return {
|
|
62
|
+
subtotalPrice: s,
|
|
63
|
+
totalTaxes: y,
|
|
64
|
+
totalPrice: x
|
|
65
|
+
};
|
|
15
66
|
};
|
|
16
67
|
export {
|
|
17
|
-
|
|
68
|
+
w as useCreateInvoiceProductsTable
|
|
18
69
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
class t {
|
|
2
|
+
value;
|
|
3
|
+
currency;
|
|
4
|
+
formatter;
|
|
5
|
+
constructor(r) {
|
|
6
|
+
this.value = r.value, this.currency = r.currency, this.formatter = r.formatter;
|
|
7
|
+
}
|
|
8
|
+
add(r) {
|
|
9
|
+
if (this.currency !== r.currency)
|
|
10
|
+
throw new Error("Currencies must match");
|
|
11
|
+
return new t({
|
|
12
|
+
value: Number(this.value) + Number(r.value),
|
|
13
|
+
currency: this.currency,
|
|
14
|
+
formatter: this.formatter
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
toString() {
|
|
18
|
+
return this.formatter(this.value, this.currency) ?? "";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
t as Price
|
|
23
23
|
};
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
const t = () => typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : `${Date.now().toString(36)}-${Math.random().toString(36).substring(2, 9)}`;
|
|
14
2
|
export {
|
|
15
|
-
|
|
3
|
+
t as generateUniqueId
|
|
16
4
|
};
|
|
@@ -1,18 +1,71 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as t, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { getMeasureUnitValidationSchema as z } from "./index222.js";
|
|
3
|
+
import { Button as o } from "./index86.js";
|
|
4
|
+
import { Input as p } from "./index129.js";
|
|
5
|
+
import { TableRow as C, TableCell as M } from "./index261.js";
|
|
6
|
+
import { zodResolver as S } from "@hookform/resolvers/zod";
|
|
7
|
+
import { useLingui as U } from "@lingui/react";
|
|
8
|
+
import { Check as $, X as j } from "lucide-react";
|
|
9
|
+
import { useForm as k, Controller as f } from "react-hook-form";
|
|
10
|
+
import { useCreateMeasureUnit as E } from "./index439.js";
|
|
11
|
+
import { useUpdateMeasureUnit as V } from "./index440.js";
|
|
12
|
+
const P = {
|
|
13
|
+
name: "",
|
|
14
|
+
description: ""
|
|
15
|
+
}, D = ({
|
|
16
|
+
id: s,
|
|
17
|
+
isEditMode: n,
|
|
18
|
+
initialValues: h = P,
|
|
19
|
+
onCancel: g,
|
|
20
|
+
onEdit: v
|
|
21
|
+
}) => {
|
|
3
22
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
i18n: m
|
|
24
|
+
} = U(), b = z(m), {
|
|
25
|
+
handleSubmit: l,
|
|
26
|
+
control: d,
|
|
27
|
+
reset: y,
|
|
28
|
+
setError: c
|
|
29
|
+
} = k({
|
|
30
|
+
defaultValues: h,
|
|
31
|
+
resolver: S(b)
|
|
32
|
+
}), w = E(() => y(), (e) => c("name", {
|
|
33
|
+
type: "custom",
|
|
34
|
+
message: e
|
|
35
|
+
})), i = V(s ?? "", () => v?.(), (e) => c("name", {
|
|
36
|
+
type: "custom",
|
|
37
|
+
message: e
|
|
38
|
+
})), x = (e) => {
|
|
39
|
+
if (!n || !s) {
|
|
40
|
+
console.error("handleEdit called without valid id or edit mode");
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
i.mutate(e);
|
|
44
|
+
}, N = (e) => {
|
|
45
|
+
w.mutate(e);
|
|
46
|
+
}, u = w.isPending || i.isPending;
|
|
47
|
+
return /* @__PURE__ */ t(C, { className: "ttw:border-border ttw:hover:bg-transparent", children: /* @__PURE__ */ t(M, { colSpan: 3, className: "ttw:w-full ttw:whitespace-normal", children: /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-start", children: [
|
|
48
|
+
/* @__PURE__ */ t(f, { name: "name", control: d, render: ({
|
|
49
|
+
field: e,
|
|
50
|
+
fieldState: {
|
|
51
|
+
error: r
|
|
52
|
+
}
|
|
53
|
+
}) => /* @__PURE__ */ a("div", { className: "ttw:w-[35%]", children: [
|
|
54
|
+
/* @__PURE__ */ t(p, { ...e, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }),
|
|
55
|
+
r && /* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:text-destructive ttw:mt-1", children: r.message })
|
|
56
|
+
] }) }),
|
|
57
|
+
/* @__PURE__ */ t(f, { name: "description", control: d, render: ({
|
|
58
|
+
field: e,
|
|
59
|
+
fieldState: {
|
|
60
|
+
error: r
|
|
61
|
+
}
|
|
62
|
+
}) => /* @__PURE__ */ t("div", { className: "ttw:w-[55%]", children: /* @__PURE__ */ t(p, { ...e, id: e.name, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }) }) }),
|
|
63
|
+
n ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:justify-center ttw:gap-1", children: [
|
|
64
|
+
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", disabled: i.isPending, onClick: l(x), children: /* @__PURE__ */ t($, { className: "ttw:size-4" }) }),
|
|
65
|
+
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: g, children: /* @__PURE__ */ t(j, { className: "ttw:size-4" }) })
|
|
66
|
+
] }) : /* @__PURE__ */ t(o, { variant: "outline", size: "sm", className: "ttw:h-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: l(N), children: m._("Add") })
|
|
67
|
+
] }) }) });
|
|
15
68
|
};
|
|
16
69
|
export {
|
|
17
|
-
|
|
70
|
+
D as MeasureUnitsFormRow
|
|
18
71
|
};
|
|
@@ -1,23 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { jsx as e, jsxs as a, Fragment as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCurrencies as b } from "./index60.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "./index94.js";
|
|
5
|
+
import { useLingui as x } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index59.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { ConfirmationModal as y } from "./index263.js";
|
|
10
|
+
import { Table as C, TableBody as _, TableRow as D, TableCell as l } from "./index261.js";
|
|
11
|
+
import { Typography as r } from "./index87.js";
|
|
12
|
+
import { Loader2 as L } from "lucide-react";
|
|
13
|
+
import { useGetProducts as T } from "./index219.js";
|
|
14
|
+
const R = ({
|
|
15
|
+
onClose: c,
|
|
16
|
+
onDelete: d,
|
|
17
|
+
name: p,
|
|
18
|
+
isLoading: u,
|
|
19
|
+
open: h,
|
|
20
|
+
id: n
|
|
21
|
+
}) => {
|
|
6
22
|
const {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
i18n: t
|
|
24
|
+
} = x(), {
|
|
25
|
+
formatCurrencyToDisplay: w
|
|
26
|
+
} = b(), {
|
|
27
|
+
data: s,
|
|
28
|
+
isLoading: o
|
|
29
|
+
} = T({
|
|
30
|
+
measure_unit_id: n ?? ""
|
|
31
|
+
}, !!n), f = s?.data.length === 0, g = () => f ? /* @__PURE__ */ a(m, { children: [
|
|
32
|
+
/* @__PURE__ */ e(r, { children: t._("There are no items created with this measure unit.") }),
|
|
33
|
+
/* @__PURE__ */ e(r, { color: "muted", children: t._("Deleting it won't affect your items.") })
|
|
34
|
+
] }) : /* @__PURE__ */ a(m, { children: [
|
|
35
|
+
/* @__PURE__ */ e(r, { children: t._("Any products or services referencing this unit will update to use a blank unit of measure.") }),
|
|
36
|
+
/* @__PURE__ */ e(r, { color: "muted", children: t._("Previously issued invoices will not be impacted.") }),
|
|
37
|
+
o && /* @__PURE__ */ e(L, { className: "ttw:mx-auto ttw:size-6 ttw:animate-spin" }),
|
|
38
|
+
!o && /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(_, { children: s?.data.map((i) => /* @__PURE__ */ a(D, { className: "ttw:border-border ttw:hover:bg-transparent", children: [
|
|
39
|
+
/* @__PURE__ */ e(l, { className: "ttw:pl-0 ttw:whitespace-normal ttw:text-text ttw:font-medium", children: i.name }),
|
|
40
|
+
/* @__PURE__ */ e(l, { className: "ttw:pr-0 ttw:text-right ttw:text-text ttw:font-medium", children: i.price && w(i.price?.value, i.price?.currency) })
|
|
41
|
+
] }, i.id)) }) })
|
|
42
|
+
] });
|
|
43
|
+
return /* @__PURE__ */ e(y, { open: h, title: t._('Delete "{name}"?', {
|
|
44
|
+
name: p
|
|
45
|
+
}), confirmLabel: t._("Delete"), cancelLabel: t._("Cancel"), onClose: c, onConfirm: d, isLoading: u || o, children: g() });
|
|
20
46
|
};
|
|
21
47
|
export {
|
|
22
|
-
|
|
48
|
+
R as ConfirmDeleteMeasureUnitDialog
|
|
23
49
|
};
|
|
@@ -1,14 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsxs as i, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { DropdownMenu as s, DropdownMenuTrigger as a, DropdownMenuContent as d, DropdownMenuItem as r } from "./index142.js";
|
|
3
|
+
import { Button as c } from "./index86.js";
|
|
4
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
|
+
import { MoreVertical as m, Pencil as p, Trash2 as h } from "lucide-react";
|
|
6
|
+
const A = ({
|
|
7
|
+
onEdit: t,
|
|
8
|
+
onDelete: l,
|
|
9
|
+
permissions: o
|
|
10
|
+
}) => {
|
|
3
11
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
return
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
i18n: n
|
|
13
|
+
} = u();
|
|
14
|
+
return o.isUpdateAllowed || o.isDeleteAllowed ? /* @__PURE__ */ i(s, { children: [
|
|
15
|
+
/* @__PURE__ */ e(a, { asChild: !0, children: /* @__PURE__ */ e(c, { variant: "ghost", size: "icon", "aria-label": "actions-menu-button", children: /* @__PURE__ */ e(m, {}) }) }),
|
|
16
|
+
/* @__PURE__ */ i(d, { align: "end", children: [
|
|
17
|
+
o.isUpdateAllowed && /* @__PURE__ */ i(r, { onClick: t, children: [
|
|
18
|
+
/* @__PURE__ */ e(p, {}),
|
|
19
|
+
n._("Edit")
|
|
20
|
+
] }),
|
|
21
|
+
o.isDeleteAllowed && /* @__PURE__ */ i(r, { onClick: l, variant: "destructive", children: [
|
|
22
|
+
/* @__PURE__ */ e(h, {}),
|
|
23
|
+
n._("Delete")
|
|
24
|
+
] })
|
|
25
|
+
] })
|
|
26
|
+
] }) : null;
|
|
11
27
|
};
|
|
12
28
|
export {
|
|
13
|
-
|
|
29
|
+
A as TableActions
|
|
14
30
|
};
|
|
@@ -1,40 +1,24 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const g = (a, n) => {
|
|
1
|
+
import { useMoniteContext as n } from "./index59.js";
|
|
2
|
+
import { useLingui as a } from "@lingui/react";
|
|
3
|
+
import { toast as s } from "react-hot-toast";
|
|
4
|
+
const m = (e) => {
|
|
6
5
|
const {
|
|
7
|
-
api:
|
|
8
|
-
queryClient:
|
|
9
|
-
} =
|
|
10
|
-
i18n:
|
|
11
|
-
} =
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
onError(r) {
|
|
18
|
-
i.error(u(t, r));
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: i
|
|
8
|
+
} = n(), {
|
|
9
|
+
i18n: o
|
|
10
|
+
} = a();
|
|
11
|
+
return t.finops.deleteMeasureUnitsId.useMutation(void 0, {
|
|
12
|
+
onSuccess: async () => {
|
|
13
|
+
e && (await t.finops.getMeasureUnits.invalidateQueries(i), s.success(o._("Unit {name} was deleted from the list.", {
|
|
14
|
+
name: e
|
|
15
|
+
})));
|
|
19
16
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
path: {
|
|
23
|
-
recurrence_id: r.id
|
|
24
|
-
}
|
|
25
|
-
}, (o) => ({
|
|
26
|
-
...o,
|
|
27
|
-
...r
|
|
28
|
-
}), s), await Promise.all([e.finops.getReceivablesId.invalidateQueries({
|
|
29
|
-
parameters: {
|
|
30
|
-
path: {
|
|
31
|
-
receivable_id: n
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}, s), e.finops.getReceivables.invalidateQueries(s)]), i.success(t._("Recurrence has been updated"));
|
|
17
|
+
onError: (r) => {
|
|
18
|
+
console.error(r), s.error(o._("Failed to delete Unit."));
|
|
35
19
|
}
|
|
36
20
|
});
|
|
37
21
|
};
|
|
38
22
|
export {
|
|
39
|
-
|
|
23
|
+
m as useDeleteMeasureUnit
|
|
40
24
|
};
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
enabled: !!e
|
|
12
|
-
});
|
|
13
|
-
};
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Switch as a } from "radix-ui";
|
|
3
|
+
import { cn as e } from "./index102.js";
|
|
4
|
+
function o({
|
|
5
|
+
className: s,
|
|
6
|
+
size: r = "default",
|
|
7
|
+
...i
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "switch", "data-size": r, className: e("ttw:peer ttw:group/switch ttw:inline-flex ttw:shrink-0 ttw:items-center ttw:rounded-full ttw:border ttw:border-transparent ttw:shadow-xs ttw:transition-all ttw:outline-none ttw:focus-visible:border-ring ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50 ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-[1.15rem] ttw:data-[size=default]:w-8 ttw:data-[size=sm]:h-3.5 ttw:data-[size=sm]:w-6 ttw:data-[state=checked]:bg-primary ttw:data-[state=unchecked]:bg-input ttw:dark:data-[state=unchecked]:bg-input/80", s), ...i, children: /* @__PURE__ */ t(a.Thumb, { "data-slot": "switch-thumb", className: e("ttw:pointer-events-none ttw:block ttw:rounded-full ttw:bg-background ttw:ring-0 ttw:transition-transform ttw:group-data-[size=default]/switch:size-4 ttw:group-data-[size=sm]/switch:size-3 ttw:data-[state=checked]:translate-x-[calc(100%-2px)] ttw:data-[state=unchecked]:translate-x-0 ttw:dark:data-[state=checked]:bg-primary-foreground ttw:dark:data-[state=unchecked]:bg-foreground") }) });
|
|
10
|
+
}
|
|
14
11
|
export {
|
|
15
|
-
|
|
12
|
+
o as Switch
|
|
16
13
|
};
|
|
@@ -1,69 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
isInclusivePricing: o,
|
|
6
|
-
actualCurrency: p,
|
|
7
|
-
formatCurrencyToDisplay: i,
|
|
8
|
-
taxRate: n
|
|
9
|
-
}) => {
|
|
10
|
-
const b = (e) => {
|
|
11
|
-
const a = e.product?.price?.value ?? e.price?.value ?? 0, r = e.quantity ?? 1;
|
|
12
|
-
return {
|
|
13
|
-
price: a,
|
|
14
|
-
quantity: r
|
|
15
|
-
};
|
|
16
|
-
}, s = m(() => {
|
|
17
|
-
const e = n !== void 0 ? (n ?? 0) / 100 : void 0, a = c.reduce((t, f) => {
|
|
18
|
-
const {
|
|
19
|
-
price: l,
|
|
20
|
-
quantity: u
|
|
21
|
-
} = b(f);
|
|
22
|
-
if (o && e && f.taxable) {
|
|
23
|
-
const d = l * u / (1 + e);
|
|
24
|
-
return t + d;
|
|
25
|
-
}
|
|
26
|
-
return t + l * u;
|
|
27
|
-
}, 0), r = p ?? c.find((t) => !!t.product?.price?.currency)?.product?.price?.currency ?? c.find((t) => !!t.price?.currency)?.price?.currency;
|
|
28
|
-
if (r)
|
|
29
|
-
return new v({
|
|
30
|
-
value: a,
|
|
31
|
-
currency: r,
|
|
32
|
-
formatter: i
|
|
33
|
-
});
|
|
34
|
-
}, [c, i, p, o, n]), y = m(() => {
|
|
35
|
-
const e = p ?? c.find((r) => !!r.product?.price?.currency)?.product?.price?.currency ?? c.find((r) => !!r.price?.currency)?.price?.currency;
|
|
36
|
-
if (!e)
|
|
37
|
-
return;
|
|
38
|
-
if (!n)
|
|
39
|
-
return new v({
|
|
40
|
-
value: 0,
|
|
41
|
-
currency: e,
|
|
42
|
-
formatter: i
|
|
43
|
-
});
|
|
44
|
-
const a = c.reduce((r, t) => {
|
|
45
|
-
if (!t.taxable) return r;
|
|
46
|
-
const {
|
|
47
|
-
price: f,
|
|
48
|
-
quantity: l
|
|
49
|
-
} = b(t), u = n / 100, d = f * l;
|
|
50
|
-
return o ? r + d * u / (1 + u) : r + d * u;
|
|
51
|
-
}, 0);
|
|
52
|
-
return new v({
|
|
53
|
-
value: a,
|
|
54
|
-
currency: e,
|
|
55
|
-
formatter: i
|
|
56
|
-
});
|
|
57
|
-
}, [c, i, p, n, o]), x = m(() => {
|
|
58
|
-
if (!(!s || !y))
|
|
59
|
-
return s.add(y);
|
|
60
|
-
}, [s, y]);
|
|
61
|
-
return {
|
|
62
|
-
subtotalPrice: s,
|
|
63
|
-
totalTaxes: y,
|
|
64
|
-
totalPrice: x
|
|
65
|
-
};
|
|
66
|
-
};
|
|
1
|
+
function r(l, e) {
|
|
2
|
+
if (l !== void 0) return l;
|
|
3
|
+
if (e !== void 0) return null;
|
|
4
|
+
}
|
|
67
5
|
export {
|
|
68
|
-
|
|
6
|
+
r as resolveNullableUpdate
|
|
69
7
|
};
|