@tesouro/embedded-components-react 0.5.176 → 0.5.179
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/monite-sdk.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js +47 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +31 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +67 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +7 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +13 -348
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +347 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +6 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +112 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +33 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +11 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +11 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +27 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +4 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +19 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +51 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +0 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +43 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +38 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +59 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +39 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +56 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +11 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +117 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +8 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +48 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +15 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +0 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +24 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +20 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +445 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +2 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +38 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +76 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +46 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +122 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +99 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +206 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +155 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +51 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +299 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +23 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +69 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +82 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +8 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +13 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +73 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +56 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +0 -577
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +577 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +1 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +1 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +91 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +77 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +62 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +120 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +21 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +6 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +7 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +54 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +71 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +28 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +1 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +57 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +18 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +3 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +61 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +28 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +7 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +4 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +115 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +38 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +5 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +6 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +5 -410
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +412 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +2 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +179 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +53 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +60 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +44 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +48 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +21 -305
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +307 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +1 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +160 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +3 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +88 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +171 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +209 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +32 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +166 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +35 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +153 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +68 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +215 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +82 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +14 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +110 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +163 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +5 -408
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +407 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +83 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +199 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +59 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +43 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +28 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +84 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +132 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +37 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +53 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +59 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +135 -549
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +551 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +16 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +79 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +142 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +34 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +62 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +67 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +141 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +58 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +85 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +19 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +72 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +99 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +35 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +172 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +5 -400
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +408 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +22 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +14 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +45 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +14 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +40 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +137 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +114 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +40 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +22 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +19 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +72 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +18 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +177 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +137 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +114 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +45 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +16 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +26 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +78 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +50 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +35 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +92 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +41 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +36 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +1 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +126 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +106 -785
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +50 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +783 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +92 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +102 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +23 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +14 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +166 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +210 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +82 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +17 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +154 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +104 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +4 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +73 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +8 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +5 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +219 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +11 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +32 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +169 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +198 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +97 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +63 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +54 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +88 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +37 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +83 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +26 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +23 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +60 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +29 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +33 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +29 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index4.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index5.js +28 -30
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index6.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index14.js +31 -33
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index17.js +29 -31
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index18.js +36 -38
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index21.js +29 -31
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index22.js +36 -38
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js +47 -46
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js +38 -37
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +31 -30
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js +33 -32
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +0 -25
|
@@ -1,791 +1,112 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { getCounterpartEmail as r } from "./index52.js";
|
|
6
|
-
import { useCurrencies as i } from "./index62.js";
|
|
7
|
-
import { cn as a } from "./index48.js";
|
|
8
|
-
import { Button as o } from "./index55.js";
|
|
9
|
-
import { useCounterpartAddresses as s } from "./index132.js";
|
|
10
|
-
import { useMyEntity as c } from "./index139.js";
|
|
11
|
-
import { useGetReceivableById as ee } from "./index143.js";
|
|
1
|
+
import { fromMinorUnits as e, toMinorUnits as t } from "./index13.js";
|
|
2
|
+
import { useMoniteContext as n } from "./index46.js";
|
|
3
|
+
import { useEntityUserByAuthToken as r } from "./index135.js";
|
|
4
|
+
import { useCreatePaymentRecord as i } from "./index140.js";
|
|
12
5
|
import "./index144.js";
|
|
13
|
-
import {
|
|
14
|
-
import "./
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import "./
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { useSelectableBankAccounts as pe } from "./index127.js";
|
|
25
|
-
import { useGetPaymentReminderById as me } from "./index148.js";
|
|
26
|
-
import { useGetOverdueReminderById as he } from "./index151.js";
|
|
27
|
-
import { buildInvoiceDetailsView as ge } from "./index166.js";
|
|
28
|
-
import { preventTooltipFocusOpen as _e } from "./index170.js";
|
|
29
|
-
import { buildEditInvoiceFormValues as ve } from "./index177.js";
|
|
30
|
-
import { isPrimaryActionDisabled as ye } from "./index179.js";
|
|
31
|
-
import "./index183.js";
|
|
32
|
-
import { useDuplicateInvoice as be } from "./index184.js";
|
|
33
|
-
import { useGetPaymentRecords as xe } from "./index188.js";
|
|
34
|
-
import { useGetReceivablePDFById as Se } from "./index191.js";
|
|
35
|
-
import { useGetRecurrenceById as Ce } from "./index200.js";
|
|
36
|
-
import { useGetInvoiceRequiredFields as we } from "./index202.js";
|
|
37
|
-
import { Badge as m } from "./index229.js";
|
|
38
|
-
import { InvoiceStatusChip as Te } from "./index243.js";
|
|
39
|
-
import { NotFound as Ee } from "./index244.js";
|
|
40
|
-
import { CounterpartDetails as De } from "./index245.js";
|
|
41
|
-
import { AccessRestriction as Oe } from "./index252.js";
|
|
42
|
-
import "./index416.js";
|
|
43
|
-
import { InvoiceRecurrenceStatusChip as ke } from "./index438.js";
|
|
44
|
-
import { useIssueReceivableById as Ae } from "./index449.js";
|
|
45
|
-
import { ActionsModal as je } from "./index519.js";
|
|
46
|
-
import { Accordion as Me, AccordionContent as h, AccordionItem as g, AccordionTrigger as _ } from "./index509.js";
|
|
47
|
-
import { Tooltip as Ne, TooltipContent as Pe, TooltipProvider as Fe, TooltipTrigger as v } from "./index510.js";
|
|
48
|
-
import { usePauseRecurrence as Ie } from "./index511.js";
|
|
49
|
-
import { useResumeRecurrence as Le } from "./index512.js";
|
|
50
|
-
import { InvoiceDetailsAmountCell as Re } from "./index513.js";
|
|
51
|
-
import { InvoiceDetailsAttachments as ze } from "./index514.js";
|
|
52
|
-
import { InvoiceDetailsAuditHistory as Be } from "./index515.js";
|
|
53
|
-
import { InvoiceDetailsCloseButton as y } from "./index516.js";
|
|
54
|
-
import { EditInvoiceDetails as Ve } from "./index520.js";
|
|
55
|
-
import { InvoiceDetailsInfoRow as He } from "./index521.js";
|
|
56
|
-
import { InvoiceDetailsCustomerRow as Ue } from "./index522.js";
|
|
57
|
-
import { InvoiceCancelModal as We } from "./index524.js";
|
|
58
|
-
import { InvoiceDeleteModal as Ge } from "./index525.js";
|
|
59
|
-
import { InvoiceDetailsTabScheduledInvoices as Ke } from "./index527.js";
|
|
60
|
-
import { MarkAsUncollectibleModal as qe } from "./index528.js";
|
|
61
|
-
import { InvoiceDetailsOverflowMenu as Je } from "./index529.js";
|
|
62
|
-
import { RecordManualPaymentModal as Ye } from "./index536.js";
|
|
63
|
-
import { RecurrenceCancelModal as Xe } from "./index537.js";
|
|
64
|
-
import { useCallback as b, useMemo as x, useState as S } from "react";
|
|
65
|
-
import { ChevronLeft as Ze, CircleAlert as Qe, Eye as $e, Repeat as et } from "lucide-react";
|
|
66
|
-
import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
|
|
67
|
-
import { toast as E } from "react-hot-toast";
|
|
68
|
-
import { useLingui as tt } from "@lingui/react";
|
|
6
|
+
import { useRootElements as a } from "./index213.js";
|
|
7
|
+
import "./index214.js";
|
|
8
|
+
import { invalidateReceivableHistory as o } from "./index157.js";
|
|
9
|
+
import { invalidateReceivableLists as s } from "./index158.js";
|
|
10
|
+
import "./index184.js";
|
|
11
|
+
import { ManualPaymentRecordDetails as c } from "./index532.js";
|
|
12
|
+
import { PaymentRecordForm as l } from "./index537.js";
|
|
13
|
+
import { useState as u } from "react";
|
|
14
|
+
import { Fragment as d, jsx as f, jsxs as p } from "@emotion/react/jsx-runtime";
|
|
15
|
+
import { Box as m, Button as h, Dialog as g, DialogActions as _, DialogContent as v } from "@mui/material";
|
|
16
|
+
import { useLingui as y } from "@lingui/react";
|
|
69
17
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js
|
|
70
|
-
var
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
$,
|
|
161
|
-
Y,
|
|
162
|
-
l,
|
|
163
|
-
A
|
|
164
|
-
]), nn = b(async () => {
|
|
165
|
-
if (P?.counterpart_id && !R) {
|
|
166
|
-
if (!z) {
|
|
167
|
-
E.error(A._("This customer has no email address. Add one in the customer details to send the invoice."));
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
if ($("issueAndSend")) {
|
|
171
|
-
try {
|
|
172
|
-
await Y({ path: { receivable_id: l } });
|
|
173
|
-
} catch {
|
|
174
|
-
E.error(A._("Failed to issue invoice. Add any missing information to your draft invoice and try again."));
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
|
-
q({
|
|
178
|
-
action: "issue",
|
|
179
|
-
inlineLineItems: [],
|
|
180
|
-
isEditFlow: !1,
|
|
181
|
-
issue: {
|
|
182
|
-
receivableId: l,
|
|
183
|
-
counterpartId: P.counterpart_id
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}, [
|
|
189
|
-
P?.counterpart_id,
|
|
190
|
-
z,
|
|
191
|
-
R,
|
|
192
|
-
$,
|
|
193
|
-
Y,
|
|
194
|
-
l,
|
|
195
|
-
A
|
|
196
|
-
]), rn = b((e) => {
|
|
197
|
-
switch (e) {
|
|
198
|
-
case "edit": return Q(() => {
|
|
199
|
-
G("edit"), W(!0);
|
|
200
|
-
});
|
|
201
|
-
case "issue": return Q(tn);
|
|
202
|
-
case "issueAndSend": return Q(nn);
|
|
203
|
-
case "send": return Q(() => {
|
|
204
|
-
if (!R) {
|
|
205
|
-
if (!z) {
|
|
206
|
-
E.error(A._("This customer has no email address. Add one in the customer details to send the invoice."));
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
|
-
P?.counterpart_id && q({
|
|
210
|
-
action: "issue",
|
|
211
|
-
inlineLineItems: [],
|
|
212
|
-
isEditFlow: !0,
|
|
213
|
-
issue: {
|
|
214
|
-
receivableId: l,
|
|
215
|
-
counterpartId: P.counterpart_id
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
case "clone": return Q(() => Gt({ path: { receivable_id: l } }));
|
|
221
|
-
case "cancel": return Q(() => jt(!0));
|
|
222
|
-
case "delete": return Q(() => Nt(!0));
|
|
223
|
-
case "markUncollectible": return Q(() => Ft(!0));
|
|
224
|
-
case "pauseRecurrence": return Q(() => qt(void 0));
|
|
225
|
-
case "resumeRecurrence": return Q(() => Yt(void 0));
|
|
226
|
-
case "cancelRecurrence": return Q(() => Lt(!0));
|
|
227
|
-
case "recordPayment": return;
|
|
228
|
-
}
|
|
229
|
-
}, [
|
|
230
|
-
Q,
|
|
231
|
-
tn,
|
|
232
|
-
nn,
|
|
233
|
-
z,
|
|
234
|
-
R,
|
|
235
|
-
P?.counterpart_id,
|
|
236
|
-
Gt,
|
|
237
|
-
l,
|
|
238
|
-
qt,
|
|
239
|
-
Yt,
|
|
240
|
-
A
|
|
241
|
-
]);
|
|
242
|
-
return /* @__PURE__ */ T(C, { children: [U && P && /* @__PURE__ */ w(Ve, {
|
|
243
|
-
isOpen: U,
|
|
244
|
-
invoice: P,
|
|
245
|
-
issueIntent: kt !== "edit",
|
|
246
|
-
embeddedBankName: rt,
|
|
247
|
-
onUpdated: (e, t) => {
|
|
248
|
-
W(!1);
|
|
249
|
-
let n = kt !== "issue";
|
|
250
|
-
G("edit"), at?.onUpdate?.(e.id, e), t.issued && n && t.hasCustomerEmail ? q({
|
|
251
|
-
action: "issue",
|
|
252
|
-
isEditFlow: !1,
|
|
253
|
-
inlineLineItems: t.inlineLineItems,
|
|
254
|
-
issue: {
|
|
255
|
-
receivableId: e.id,
|
|
256
|
-
counterpartId: t.counterpartId
|
|
257
|
-
}
|
|
258
|
-
}) : t.issued && t.inlineLineItems.length > 0 ? q({
|
|
259
|
-
action: "issue",
|
|
260
|
-
isEditFlow: !1,
|
|
261
|
-
inlineLineItems: t.inlineLineItems
|
|
262
|
-
}) : t.inlineLineItems.length > 0 && q({
|
|
263
|
-
action: t.activatedRecurrence ? "recurrence" : "update",
|
|
264
|
-
isEditFlow: !0,
|
|
265
|
-
inlineLineItems: t.inlineLineItems
|
|
266
|
-
});
|
|
267
|
-
},
|
|
268
|
-
onCancel: () => {
|
|
269
|
-
W(!1), G("edit");
|
|
270
|
-
}
|
|
271
|
-
}), /* @__PURE__ */ w(ne, {
|
|
272
|
-
open: Zt,
|
|
273
|
-
modal: !1,
|
|
274
|
-
onOpenChange: O,
|
|
275
|
-
children: /* @__PURE__ */ T(re, {
|
|
276
|
-
showCloseButton: !1,
|
|
277
|
-
layer: "under-dialogs",
|
|
278
|
-
className: "ttw:overflow-y-auto ttw:p-0",
|
|
279
|
-
children: [
|
|
280
|
-
/* @__PURE__ */ w(ie, {
|
|
281
|
-
hidden: !0,
|
|
282
|
-
children: A._("Invoice details")
|
|
283
|
-
}),
|
|
284
|
-
Qt ? null : /* @__PURE__ */ w(y, {
|
|
285
|
-
label: A._("Close"),
|
|
286
|
-
onClose: O,
|
|
287
|
-
className: a(p, "ttw:absolute ttw:right-4 ttw:top-4 ttw:z-10")
|
|
288
|
-
}),
|
|
289
|
-
(() => {
|
|
290
|
-
if (ot || yt) return /* @__PURE__ */ T("div", {
|
|
291
|
-
className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-center ttw:h-full",
|
|
292
|
-
children: [/* @__PURE__ */ w(d, {
|
|
293
|
-
hidden: !0,
|
|
294
|
-
children: A._("Loading invoice details")
|
|
295
|
-
}), /* @__PURE__ */ w(u, {})]
|
|
296
|
-
});
|
|
297
|
-
if (!Bt) return /* @__PURE__ */ T("div", {
|
|
298
|
-
className: "ttw:w-3/4 ttw:m-auto",
|
|
299
|
-
children: [/* @__PURE__ */ w(d, {
|
|
300
|
-
hidden: !0,
|
|
301
|
-
children: A._("Access restricted")
|
|
302
|
-
}), /* @__PURE__ */ w(Oe, {})]
|
|
303
|
-
});
|
|
304
|
-
if (P && P.type !== "invoice") return /* @__PURE__ */ T("div", {
|
|
305
|
-
className: "ttw:w-3/4 ttw:m-auto",
|
|
306
|
-
children: [/* @__PURE__ */ w(d, {
|
|
307
|
-
hidden: !0,
|
|
308
|
-
children: A._("Receivable type not supported")
|
|
309
|
-
}), /* @__PURE__ */ w(Ee, {
|
|
310
|
-
title: A._("Receivable type not supported"),
|
|
311
|
-
description: A._("Receivable type {type} is not supported. Only invoice is supported.", { type: P.type })
|
|
312
|
-
})]
|
|
313
|
-
});
|
|
314
|
-
if (!P || !X) return /* @__PURE__ */ T("div", {
|
|
315
|
-
className: "ttw:w-3/4 ttw:m-auto",
|
|
316
|
-
children: [/* @__PURE__ */ w(d, {
|
|
317
|
-
hidden: !0,
|
|
318
|
-
children: A._("Invoice not found")
|
|
319
|
-
}), /* @__PURE__ */ w(Ee, {
|
|
320
|
-
title: A._("Invoice not found"),
|
|
321
|
-
description: A._("There is no invoice for the provided id: {invoiceId}", { invoiceId: l })
|
|
322
|
-
})]
|
|
323
|
-
});
|
|
324
|
-
let e = le[X.status], t = X.amountTone === "danger", n = X.recurringSeries, r = !!n, i = P.counterpart_name, s = P.counterpart_id && Ht ? () => zt(!0) : void 0, c = X.primaryActions.length > 0 ? /* @__PURE__ */ w("div", {
|
|
325
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-t ttw:border-border ttw:pt-3",
|
|
326
|
-
children: X.primaryActions.map((e, t) => {
|
|
327
|
-
let n = se[e], r = t === X.primaryActions.length - 1 ? "default" : "outline";
|
|
328
|
-
return e === "recordPayment" && P.type === "invoice" ? /* @__PURE__ */ w(Ye, {
|
|
329
|
-
invoice: P,
|
|
330
|
-
children: ({ openModal: t }) => /* @__PURE__ */ T(o, {
|
|
331
|
-
type: "button",
|
|
332
|
-
size: "sm",
|
|
333
|
-
variant: r,
|
|
334
|
-
onClick: () => Q(t),
|
|
335
|
-
children: [/* @__PURE__ */ w(n, { className: "ttw:size-4" }), Z(e)]
|
|
336
|
-
})
|
|
337
|
-
}, e) : /* @__PURE__ */ T(o, {
|
|
338
|
-
type: "button",
|
|
339
|
-
size: "sm",
|
|
340
|
-
variant: r,
|
|
341
|
-
disabled: ye(e, {
|
|
342
|
-
isIssuing: Wt,
|
|
343
|
-
isIssuePreflightLoading: B,
|
|
344
|
-
isCounterpartLoading: R
|
|
345
|
-
}),
|
|
346
|
-
onClick: () => rn(e),
|
|
347
|
-
children: [/* @__PURE__ */ w(n, { className: "ttw:size-4" }), Z(e)]
|
|
348
|
-
}, e);
|
|
349
|
-
})
|
|
350
|
-
}) : null;
|
|
351
|
-
return /* @__PURE__ */ T(C, { children: [
|
|
352
|
-
X.seriesLink ? /* @__PURE__ */ w("div", {
|
|
353
|
-
className: "ttw:border-b ttw:border-border ttw:px-6 ttw:py-3",
|
|
354
|
-
children: /* @__PURE__ */ T("button", {
|
|
355
|
-
type: "button",
|
|
356
|
-
onClick: () => X.seriesLink && k?.(X.seriesLink.invoiceId),
|
|
357
|
-
className: "ttw:flex ttw:items-center ttw:gap-1 ttw:text-sm ttw:text-primary ttw:hover:underline",
|
|
358
|
-
children: [/* @__PURE__ */ w(Ze, {
|
|
359
|
-
className: "ttw:size-4",
|
|
360
|
-
"aria-hidden": "true"
|
|
361
|
-
}), A._("Back to {title} recurring series", { title: X.seriesLink.title })]
|
|
362
|
-
})
|
|
363
|
-
}) : null,
|
|
364
|
-
/* @__PURE__ */ T(ae, {
|
|
365
|
-
className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-2 ttw:space-y-0 ttw:px-6 ttw:py-4",
|
|
366
|
-
children: [/* @__PURE__ */ T("div", {
|
|
367
|
-
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
368
|
-
children: [/* @__PURE__ */ w(oe, {
|
|
369
|
-
className: "ttw:text-xl ttw:font-semibold ttw:text-foreground",
|
|
370
|
-
children: X.title
|
|
371
|
-
}), X.subtitle ? /* @__PURE__ */ w(f, {
|
|
372
|
-
variant: "body2",
|
|
373
|
-
color: "muted",
|
|
374
|
-
children: X.subtitle
|
|
375
|
-
}) : null]
|
|
376
|
-
}), /* @__PURE__ */ w(Fe, {
|
|
377
|
-
delayDuration: 500,
|
|
378
|
-
children: /* @__PURE__ */ T("div", {
|
|
379
|
-
className: "ttw:flex ttw:items-center ttw:gap-1.5",
|
|
380
|
-
children: [
|
|
381
|
-
vt ? /* @__PURE__ */ T(Ne, { children: [/* @__PURE__ */ w(v, {
|
|
382
|
-
asChild: !0,
|
|
383
|
-
onFocus: _e,
|
|
384
|
-
children: /* @__PURE__ */ w(o, {
|
|
385
|
-
asChild: !0,
|
|
386
|
-
variant: "ghost",
|
|
387
|
-
size: "icon",
|
|
388
|
-
className: p,
|
|
389
|
-
children: /* @__PURE__ */ w("a", {
|
|
390
|
-
href: vt,
|
|
391
|
-
target: "_blank",
|
|
392
|
-
rel: "noreferrer",
|
|
393
|
-
"aria-label": A._("View PDF"),
|
|
394
|
-
children: /* @__PURE__ */ w($e, { className: "ttw:size-4" })
|
|
395
|
-
})
|
|
396
|
-
})
|
|
397
|
-
}), /* @__PURE__ */ w(Pe, { children: A._("View PDF") })] }) : null,
|
|
398
|
-
X.overflowActions.length > 0 ? /* @__PURE__ */ w(Je, {
|
|
399
|
-
actions: X.overflowActions,
|
|
400
|
-
triggerLabel: A._("More actions"),
|
|
401
|
-
getActionLabel: Z,
|
|
402
|
-
onSelect: rn,
|
|
403
|
-
isActionDisabled: (e) => e === "clone" && Kt || e === "pauseRecurrence" && Jt || e === "resumeRecurrence" && Xt || e === "send" && R,
|
|
404
|
-
className: p
|
|
405
|
-
}) : null,
|
|
406
|
-
/* @__PURE__ */ T(Ne, { children: [/* @__PURE__ */ w(v, {
|
|
407
|
-
asChild: !0,
|
|
408
|
-
onFocus: _e,
|
|
409
|
-
children: /* @__PURE__ */ w(y, {
|
|
410
|
-
label: A._("Close"),
|
|
411
|
-
onClose: O,
|
|
412
|
-
className: p
|
|
413
|
-
})
|
|
414
|
-
}), /* @__PURE__ */ w(Pe, { children: A._("Close") })] })
|
|
415
|
-
]
|
|
416
|
-
})
|
|
417
|
-
})]
|
|
418
|
-
}),
|
|
419
|
-
/* @__PURE__ */ T("div", {
|
|
420
|
-
className: "ttw:flex ttw:flex-col",
|
|
421
|
-
children: [/* @__PURE__ */ w("div", {
|
|
422
|
-
className: "ttw:px-6",
|
|
423
|
-
children: r && n ? /* @__PURE__ */ T("div", {
|
|
424
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-violet-50 ttw:p-4",
|
|
425
|
-
children: [
|
|
426
|
-
/* @__PURE__ */ T("div", {
|
|
427
|
-
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
428
|
-
children: [/* @__PURE__ */ w(f, {
|
|
429
|
-
variant: "caption",
|
|
430
|
-
color: "muted",
|
|
431
|
-
children: A._("Recurring amount")
|
|
432
|
-
}), /* @__PURE__ */ T("div", {
|
|
433
|
-
className: "ttw:flex ttw:items-baseline ttw:gap-1.5",
|
|
434
|
-
children: [/* @__PURE__ */ w(f, {
|
|
435
|
-
component: "span",
|
|
436
|
-
variant: "h3",
|
|
437
|
-
className: ue[X.amountTone],
|
|
438
|
-
children: n.amountLabel
|
|
439
|
-
}), /* @__PURE__ */ w(f, {
|
|
440
|
-
component: "span",
|
|
441
|
-
variant: "body2",
|
|
442
|
-
color: "muted",
|
|
443
|
-
children: n.amountPeriodLabel
|
|
444
|
-
})]
|
|
445
|
-
})]
|
|
446
|
-
}),
|
|
447
|
-
/* @__PURE__ */ T("div", {
|
|
448
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
449
|
-
children: [/* @__PURE__ */ T(m, {
|
|
450
|
-
variant: "outline",
|
|
451
|
-
className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700",
|
|
452
|
-
children: [/* @__PURE__ */ w(et, { className: "ttw:size-3" }), A._("Recurring")]
|
|
453
|
-
}), /* @__PURE__ */ w(ke, {
|
|
454
|
-
status: n.status,
|
|
455
|
-
showIcon: !0
|
|
456
|
-
})]
|
|
457
|
-
}),
|
|
458
|
-
/* @__PURE__ */ T("div", {
|
|
459
|
-
className: "ttw:flex ttw:gap-12",
|
|
460
|
-
children: [/* @__PURE__ */ T("div", {
|
|
461
|
-
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
462
|
-
children: [/* @__PURE__ */ w(f, {
|
|
463
|
-
variant: "caption",
|
|
464
|
-
color: "muted",
|
|
465
|
-
children: A._("Starts on")
|
|
466
|
-
}), /* @__PURE__ */ w(f, {
|
|
467
|
-
component: "span",
|
|
468
|
-
variant: "body2",
|
|
469
|
-
children: n.startsOnLabel
|
|
470
|
-
})]
|
|
471
|
-
}), /* @__PURE__ */ T("div", {
|
|
472
|
-
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
473
|
-
children: [/* @__PURE__ */ w(f, {
|
|
474
|
-
variant: "caption",
|
|
475
|
-
color: "muted",
|
|
476
|
-
children: A._("Ends on")
|
|
477
|
-
}), /* @__PURE__ */ w(f, {
|
|
478
|
-
component: "span",
|
|
479
|
-
variant: "body2",
|
|
480
|
-
children: n.endsOnLabel
|
|
481
|
-
})]
|
|
482
|
-
})]
|
|
483
|
-
}),
|
|
484
|
-
c
|
|
485
|
-
]
|
|
486
|
-
}) : /* @__PURE__ */ T("div", {
|
|
487
|
-
className: a("ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:p-4", t && "ttw:border ttw:border-red-200"),
|
|
488
|
-
children: [
|
|
489
|
-
/* @__PURE__ */ w("div", {
|
|
490
|
-
className: "ttw:flex ttw:flex-row ttw:flex-wrap ttw:gap-x-12 ttw:gap-y-2",
|
|
491
|
-
children: X.amountRows.map((e) => /* @__PURE__ */ w(Re, {
|
|
492
|
-
row: e,
|
|
493
|
-
defaultTone: X.amountTone
|
|
494
|
-
}, e.label))
|
|
495
|
-
}),
|
|
496
|
-
/* @__PURE__ */ T("div", {
|
|
497
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
498
|
-
children: [X.overdueLabel ? /* @__PURE__ */ T("span", {
|
|
499
|
-
className: "ttw:inline-flex ttw:items-center ttw:gap-1 ttw:rounded-full ttw:bg-red-100 ttw:px-2.5 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:text-red-700",
|
|
500
|
-
children: [/* @__PURE__ */ w(Qe, { className: "ttw:size-3" }), X.overdueLabel]
|
|
501
|
-
}) : /* @__PURE__ */ w(Te, {
|
|
502
|
-
status: X.status,
|
|
503
|
-
variant: "outline",
|
|
504
|
-
label: X.statusLabel,
|
|
505
|
-
icon: e ? /* @__PURE__ */ w(e, { className: "ttw:size-3" }) : void 0
|
|
506
|
-
}), X.recurring ? /* @__PURE__ */ T(m, {
|
|
507
|
-
variant: "outline",
|
|
508
|
-
className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700",
|
|
509
|
-
children: [/* @__PURE__ */ w(et, { className: "ttw:size-3" }), A._("Recurring")]
|
|
510
|
-
}) : null]
|
|
511
|
-
}),
|
|
512
|
-
/* @__PURE__ */ T("div", {
|
|
513
|
-
className: "ttw:flex ttw:gap-12",
|
|
514
|
-
children: [/* @__PURE__ */ T("div", {
|
|
515
|
-
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
516
|
-
children: [/* @__PURE__ */ w(f, {
|
|
517
|
-
variant: "caption",
|
|
518
|
-
color: "muted",
|
|
519
|
-
children: A._("Invoice date")
|
|
520
|
-
}), /* @__PURE__ */ w(f, {
|
|
521
|
-
component: "span",
|
|
522
|
-
variant: "body2",
|
|
523
|
-
children: X.invoiceDateLabel
|
|
524
|
-
})]
|
|
525
|
-
}), /* @__PURE__ */ T("div", {
|
|
526
|
-
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
527
|
-
children: [/* @__PURE__ */ w(f, {
|
|
528
|
-
variant: "caption",
|
|
529
|
-
color: "muted",
|
|
530
|
-
children: X.dueDateCaption
|
|
531
|
-
}), /* @__PURE__ */ w(f, {
|
|
532
|
-
component: "span",
|
|
533
|
-
variant: "body2",
|
|
534
|
-
children: X.dueDateLabel
|
|
535
|
-
})]
|
|
536
|
-
})]
|
|
537
|
-
}),
|
|
538
|
-
c
|
|
539
|
-
]
|
|
540
|
-
})
|
|
541
|
-
}), /* @__PURE__ */ T("div", {
|
|
542
|
-
className: "ttw:px-6",
|
|
543
|
-
children: [
|
|
544
|
-
X.paymentHistory ? /* @__PURE__ */ T("section", {
|
|
545
|
-
"aria-label": A._("Payment history"),
|
|
546
|
-
className: "ttw:border-b ttw:border-border ttw:py-4",
|
|
547
|
-
children: [/* @__PURE__ */ w(f, {
|
|
548
|
-
component: "h3",
|
|
549
|
-
variant: "body2",
|
|
550
|
-
className: "ttw:mb-3 ttw:font-medium",
|
|
551
|
-
children: A._("Payment history")
|
|
552
|
-
}), X.paymentHistory.loading ? /* @__PURE__ */ w("div", {
|
|
553
|
-
className: "ttw:flex ttw:py-2",
|
|
554
|
-
children: /* @__PURE__ */ w(u, { className: "ttw:h-5 ttw:w-5 ttw:border-2" })
|
|
555
|
-
}) : X.paymentHistory.rows.length === 0 ? /* @__PURE__ */ w(f, {
|
|
556
|
-
variant: "body2",
|
|
557
|
-
className: X.paymentHistory.emptyTone === "danger" ? "ttw:text-red-600" : "ttw:text-muted-foreground",
|
|
558
|
-
children: A._("You've received no payments yet.")
|
|
559
|
-
}) : /* @__PURE__ */ T("div", {
|
|
560
|
-
className: "ttw:flex ttw:flex-col",
|
|
561
|
-
children: [X.paymentHistory.rows.map((e) => /* @__PURE__ */ T("div", {
|
|
562
|
-
className: "ttw:flex ttw:justify-between ttw:border-b ttw:border-border ttw:py-2",
|
|
563
|
-
children: [/* @__PURE__ */ w(f, {
|
|
564
|
-
component: "span",
|
|
565
|
-
variant: "body2",
|
|
566
|
-
children: e.dateLabel
|
|
567
|
-
}), /* @__PURE__ */ w(f, {
|
|
568
|
-
component: "span",
|
|
569
|
-
variant: "body2",
|
|
570
|
-
children: e.amountLabel
|
|
571
|
-
})]
|
|
572
|
-
}, e.id)), /* @__PURE__ */ T("div", {
|
|
573
|
-
className: "ttw:flex ttw:justify-between ttw:py-2 ttw:font-medium",
|
|
574
|
-
children: [/* @__PURE__ */ w(f, {
|
|
575
|
-
component: "span",
|
|
576
|
-
variant: "body2",
|
|
577
|
-
children: A._("Total received")
|
|
578
|
-
}), /* @__PURE__ */ w(f, {
|
|
579
|
-
component: "span",
|
|
580
|
-
variant: "body2",
|
|
581
|
-
children: X.paymentHistory.totalLabel
|
|
582
|
-
})]
|
|
583
|
-
})]
|
|
584
|
-
})]
|
|
585
|
-
}) : null,
|
|
586
|
-
i || X.customerContact.length > 0 ? /* @__PURE__ */ T("section", {
|
|
587
|
-
"aria-label": A._("Customer details"),
|
|
588
|
-
className: "ttw:border-b ttw:border-border ttw:py-4",
|
|
589
|
-
children: [/* @__PURE__ */ w(f, {
|
|
590
|
-
component: "h3",
|
|
591
|
-
variant: "body2",
|
|
592
|
-
className: "ttw:mb-3 ttw:font-medium",
|
|
593
|
-
children: A._("Customer details")
|
|
594
|
-
}), /* @__PURE__ */ T("div", {
|
|
595
|
-
className: "ttw:flex ttw:flex-col",
|
|
596
|
-
children: [i ? /* @__PURE__ */ w(Ue, {
|
|
597
|
-
label: A._("Name"),
|
|
598
|
-
name: i,
|
|
599
|
-
onOpenCounterpart: s
|
|
600
|
-
}) : null, X.customerContact.map((e) => /* @__PURE__ */ w(He, { ...e }, e.label))]
|
|
601
|
-
})]
|
|
602
|
-
}) : null,
|
|
603
|
-
/* @__PURE__ */ T(Me, {
|
|
604
|
-
type: "multiple",
|
|
605
|
-
value: Dt,
|
|
606
|
-
onValueChange: Ot,
|
|
607
|
-
className: "ttw:w-full",
|
|
608
|
-
children: [
|
|
609
|
-
/* @__PURE__ */ T(g, {
|
|
610
|
-
value: "billing",
|
|
611
|
-
children: [/* @__PURE__ */ w(_, { children: /* @__PURE__ */ w("span", {
|
|
612
|
-
className: "ttw:group-hover:underline",
|
|
613
|
-
children: A._("Billing details")
|
|
614
|
-
}) }), /* @__PURE__ */ w(h, { children: /* @__PURE__ */ T("div", {
|
|
615
|
-
className: "ttw:flex ttw:flex-col",
|
|
616
|
-
children: [X.billingItems.map((e) => /* @__PURE__ */ w(He, { ...e }, e.label)), X.seriesLink ? /* @__PURE__ */ T("div", {
|
|
617
|
-
className: "ttw:flex ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0",
|
|
618
|
-
children: [/* @__PURE__ */ w(f, {
|
|
619
|
-
component: "span",
|
|
620
|
-
variant: "body2",
|
|
621
|
-
color: "muted",
|
|
622
|
-
className: "ttw:w-40 ttw:shrink-0",
|
|
623
|
-
children: A._("Recurring series")
|
|
624
|
-
}), /* @__PURE__ */ w("button", {
|
|
625
|
-
type: "button",
|
|
626
|
-
onClick: () => X.seriesLink && k?.(X.seriesLink.invoiceId),
|
|
627
|
-
className: "ttw:text-left ttw:text-primary ttw:hover:underline",
|
|
628
|
-
children: X.seriesLink.title
|
|
629
|
-
})]
|
|
630
|
-
}) : null]
|
|
631
|
-
}) })]
|
|
632
|
-
}),
|
|
633
|
-
r ? null : /* @__PURE__ */ T(g, {
|
|
634
|
-
value: "line-items",
|
|
635
|
-
children: [/* @__PURE__ */ w(_, { children: /* @__PURE__ */ T("span", {
|
|
636
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
637
|
-
children: [/* @__PURE__ */ w("span", {
|
|
638
|
-
className: "ttw:group-hover:underline",
|
|
639
|
-
children: A._("Line items")
|
|
640
|
-
}), /* @__PURE__ */ w(m, {
|
|
641
|
-
variant: "secondary",
|
|
642
|
-
className: "ttw:rounded-full",
|
|
643
|
-
children: X.lineItems.length
|
|
644
|
-
})]
|
|
645
|
-
}) }), /* @__PURE__ */ w(h, { children: /* @__PURE__ */ T("div", {
|
|
646
|
-
className: "ttw:flex ttw:flex-col",
|
|
647
|
-
children: [X.lineItems.length === 0 ? /* @__PURE__ */ w(f, {
|
|
648
|
-
variant: "body2",
|
|
649
|
-
color: "muted",
|
|
650
|
-
className: "ttw:py-3",
|
|
651
|
-
children: A._("No line items.")
|
|
652
|
-
}) : X.lineItems.map((e) => /* @__PURE__ */ T("div", {
|
|
653
|
-
className: "ttw:flex ttw:items-start ttw:justify-between ttw:border-b ttw:border-border ttw:py-3",
|
|
654
|
-
children: [/* @__PURE__ */ T("div", {
|
|
655
|
-
className: "ttw:flex ttw:flex-col",
|
|
656
|
-
children: [/* @__PURE__ */ w(f, {
|
|
657
|
-
component: "span",
|
|
658
|
-
variant: "body2",
|
|
659
|
-
className: "ttw:font-medium",
|
|
660
|
-
children: e.name
|
|
661
|
-
}), /* @__PURE__ */ w(f, {
|
|
662
|
-
component: "span",
|
|
663
|
-
variant: "body2",
|
|
664
|
-
color: "muted",
|
|
665
|
-
children: A._("{quantity} x {price} ea", {
|
|
666
|
-
quantity: e.quantityLabel,
|
|
667
|
-
price: e.unitPriceLabel
|
|
668
|
-
})
|
|
669
|
-
})]
|
|
670
|
-
}), /* @__PURE__ */ w(f, {
|
|
671
|
-
component: "span",
|
|
672
|
-
variant: "body2",
|
|
673
|
-
children: e.totalLabel
|
|
674
|
-
})]
|
|
675
|
-
}, e.id)), X.lineItemTotals.length > 0 ? /* @__PURE__ */ w("div", {
|
|
676
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1 ttw:py-3",
|
|
677
|
-
children: X.lineItemTotals.map((e) => /* @__PURE__ */ T("div", {
|
|
678
|
-
className: a("ttw:flex ttw:justify-between", e.emphasis && "ttw:font-medium"),
|
|
679
|
-
children: [/* @__PURE__ */ w(f, {
|
|
680
|
-
component: "span",
|
|
681
|
-
variant: "body2",
|
|
682
|
-
children: e.label
|
|
683
|
-
}), /* @__PURE__ */ w(f, {
|
|
684
|
-
component: "span",
|
|
685
|
-
variant: "body2",
|
|
686
|
-
children: e.value
|
|
687
|
-
})]
|
|
688
|
-
}, e.label))
|
|
689
|
-
}) : null]
|
|
690
|
-
}) })]
|
|
691
|
-
}),
|
|
692
|
-
!r && X.notes ? /* @__PURE__ */ T(g, {
|
|
693
|
-
value: "notes",
|
|
694
|
-
children: [/* @__PURE__ */ w(_, { children: /* @__PURE__ */ T("span", {
|
|
695
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
696
|
-
children: [/* @__PURE__ */ w("span", {
|
|
697
|
-
className: "ttw:group-hover:underline",
|
|
698
|
-
children: A._("Notes")
|
|
699
|
-
}), /* @__PURE__ */ w(m, {
|
|
700
|
-
variant: "secondary",
|
|
701
|
-
className: "ttw:rounded-full",
|
|
702
|
-
children: [X.notes.opening, X.notes.closing].filter(Boolean).length
|
|
703
|
-
})]
|
|
704
|
-
}) }), /* @__PURE__ */ w(h, { children: /* @__PURE__ */ w("div", {
|
|
705
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
706
|
-
children: [{
|
|
707
|
-
label: A._("Opening note to customer"),
|
|
708
|
-
text: X.notes.opening
|
|
709
|
-
}, {
|
|
710
|
-
label: A._("Closing note to customer"),
|
|
711
|
-
text: X.notes.closing
|
|
712
|
-
}].filter((e) => e.text).map((e) => /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w(f, {
|
|
713
|
-
variant: "body2",
|
|
714
|
-
className: "ttw:mb-1 ttw:font-medium",
|
|
715
|
-
children: e.label
|
|
716
|
-
}), /* @__PURE__ */ w(f, {
|
|
717
|
-
variant: "body2",
|
|
718
|
-
color: "muted",
|
|
719
|
-
children: e.text
|
|
720
|
-
})] }, e.label))
|
|
721
|
-
}) })]
|
|
722
|
-
}) : null,
|
|
723
|
-
/* @__PURE__ */ w(ze, { attachments: P.attachments ?? [] }),
|
|
724
|
-
/* @__PURE__ */ w(Be, {
|
|
725
|
-
invoice: P,
|
|
726
|
-
isOpen: Dt.includes(ce)
|
|
727
|
-
})
|
|
728
|
-
]
|
|
729
|
-
}),
|
|
730
|
-
r && n && V ? /* @__PURE__ */ T("section", {
|
|
731
|
-
"aria-label": n.scheduleTitle,
|
|
732
|
-
className: "ttw:border-t ttw:border-border ttw:py-4",
|
|
733
|
-
children: [/* @__PURE__ */ w(f, {
|
|
734
|
-
component: "h3",
|
|
735
|
-
variant: "body2",
|
|
736
|
-
className: "ttw:mb-3 ttw:font-medium",
|
|
737
|
-
children: n.scheduleTitle
|
|
738
|
-
}), /* @__PURE__ */ w(Ke, {
|
|
739
|
-
invoice: P,
|
|
740
|
-
recurrence: V,
|
|
741
|
-
openInvoiceDetails: k
|
|
742
|
-
})]
|
|
743
|
-
}) : null
|
|
744
|
-
]
|
|
745
|
-
})]
|
|
746
|
-
})
|
|
747
|
-
] });
|
|
748
|
-
})(),
|
|
749
|
-
At && /* @__PURE__ */ w(We, {
|
|
750
|
-
invoiceId: P?.id ?? "",
|
|
751
|
-
open: At,
|
|
752
|
-
onClose: () => jt(!1)
|
|
753
|
-
}),
|
|
754
|
-
Mt && /* @__PURE__ */ w(Ge, {
|
|
755
|
-
open: Mt,
|
|
756
|
-
onClose: () => Nt(!1),
|
|
757
|
-
invoiceId: P?.id ?? "",
|
|
758
|
-
documentId: P?.type === "invoice" ? P?.document_id : void 0,
|
|
759
|
-
onDelete: O
|
|
760
|
-
}),
|
|
761
|
-
Pt && /* @__PURE__ */ w(qe, {
|
|
762
|
-
invoiceId: P?.id ?? "",
|
|
763
|
-
open: Pt,
|
|
764
|
-
onClose: () => Ft(!1)
|
|
765
|
-
}),
|
|
766
|
-
It && P?.type === "invoice" && /* @__PURE__ */ w(Xe, {
|
|
767
|
-
invoice: P,
|
|
768
|
-
open: It,
|
|
769
|
-
onClose: () => Lt(!1)
|
|
770
|
-
}),
|
|
771
|
-
Rt && P?.counterpart_id && Ht && /* @__PURE__ */ w(De, {
|
|
772
|
-
counterpartId: P.counterpart_id,
|
|
773
|
-
open: Rt,
|
|
774
|
-
onClose: () => zt(!1),
|
|
775
|
-
showActionsMenu: !1,
|
|
776
|
-
customerType: "customer"
|
|
777
|
-
}),
|
|
778
|
-
K && /* @__PURE__ */ w(je, {
|
|
779
|
-
open: !0,
|
|
780
|
-
isEditFlow: K.isEditFlow,
|
|
781
|
-
action: K.action,
|
|
782
|
-
issue: K.issue,
|
|
783
|
-
inlineLineItems: K.inlineLineItems,
|
|
784
|
-
onClose: () => q(null)
|
|
785
|
-
})
|
|
786
|
-
]
|
|
18
|
+
var b = {
|
|
19
|
+
amount: 0,
|
|
20
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
21
|
+
payment_time: /* @__PURE__ */ new Date(),
|
|
22
|
+
created_by: ""
|
|
23
|
+
}, x = ({ children: x, invoice: S }) => {
|
|
24
|
+
let [C, w] = u(!1), [T, E] = u(!1), [D, O] = u(b), { i18n: k } = y(), { root: A } = a(), j = () => w(!0), M = () => w(!1), { api: N, queryClient: P } = n(), { mutate: F, isPending: I } = i(), { data: L, isLoading: R } = r(), z = (e) => {
|
|
25
|
+
O({
|
|
26
|
+
...e,
|
|
27
|
+
amount: t(e?.amount ?? 0),
|
|
28
|
+
created_by: L?.id ?? ""
|
|
29
|
+
}), E(!0);
|
|
30
|
+
}, B = () => {
|
|
31
|
+
E(!1), O(b);
|
|
32
|
+
}, V = () => {
|
|
33
|
+
let e = new Date(D.payment_date).setHours(D.payment_time.getHours(), D.payment_time.getMinutes()), t = new Date(e);
|
|
34
|
+
F({
|
|
35
|
+
amount: D?.amount ?? 0,
|
|
36
|
+
currency: S.currency,
|
|
37
|
+
paid_at: t.toISOString(),
|
|
38
|
+
object: {
|
|
39
|
+
id: S.id,
|
|
40
|
+
type: "receivable"
|
|
41
|
+
},
|
|
42
|
+
payment_intent_id: S.id,
|
|
43
|
+
entity_user_id: L?.id,
|
|
44
|
+
status: "succeeded"
|
|
45
|
+
}, { onSuccess: () => {
|
|
46
|
+
N.finops.getReceivablesId.invalidateQueries({ parameters: { path: { receivable_id: S.id } } }, P), o(N, P, S.id), s(N, P), M(), B();
|
|
47
|
+
} });
|
|
48
|
+
}, H = I || R;
|
|
49
|
+
return [
|
|
50
|
+
"draft",
|
|
51
|
+
"paid",
|
|
52
|
+
"canceled",
|
|
53
|
+
"deleted",
|
|
54
|
+
"accepted",
|
|
55
|
+
"recurring",
|
|
56
|
+
"expired",
|
|
57
|
+
"declined",
|
|
58
|
+
"uncollectible"
|
|
59
|
+
].includes(S.status) ? null : /* @__PURE__ */ p(d, { children: [x({ openModal: j }), /* @__PURE__ */ f(g, {
|
|
60
|
+
open: C,
|
|
61
|
+
onClose: M,
|
|
62
|
+
container: A,
|
|
63
|
+
"aria-labelledby": "dialog-title",
|
|
64
|
+
fullWidth: !0,
|
|
65
|
+
maxWidth: "sm",
|
|
66
|
+
children: T ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(v, {
|
|
67
|
+
sx: { p: 4 },
|
|
68
|
+
children: /* @__PURE__ */ f(c, {
|
|
69
|
+
invoice: S,
|
|
70
|
+
paymentRecords: D
|
|
71
|
+
})
|
|
72
|
+
}), /* @__PURE__ */ p(_, {
|
|
73
|
+
sx: {
|
|
74
|
+
px: 4,
|
|
75
|
+
pb: 4,
|
|
76
|
+
justifyContent: "space-between"
|
|
77
|
+
},
|
|
78
|
+
children: [/* @__PURE__ */ f(h, {
|
|
79
|
+
onClick: M,
|
|
80
|
+
children: k._("Cancel")
|
|
81
|
+
}), /* @__PURE__ */ p(m, {
|
|
82
|
+
sx: {
|
|
83
|
+
display: "flex",
|
|
84
|
+
gap: 2
|
|
85
|
+
},
|
|
86
|
+
children: [/* @__PURE__ */ f(h, {
|
|
87
|
+
variant: "outlined",
|
|
88
|
+
disabled: H,
|
|
89
|
+
onClick: () => E(!1),
|
|
90
|
+
children: k._("Edit record")
|
|
91
|
+
}), /* @__PURE__ */ f(h, {
|
|
92
|
+
variant: "contained",
|
|
93
|
+
disabled: H,
|
|
94
|
+
onClick: V,
|
|
95
|
+
children: k._("Confirm")
|
|
96
|
+
})]
|
|
97
|
+
})]
|
|
98
|
+
})] }) : /* @__PURE__ */ f(l, {
|
|
99
|
+
invoice: S,
|
|
100
|
+
initialValues: {
|
|
101
|
+
amount: D.amount ? e(D.amount) : 0,
|
|
102
|
+
payment_date: D.payment_date,
|
|
103
|
+
payment_time: D.payment_time
|
|
104
|
+
},
|
|
105
|
+
isLoading: H,
|
|
106
|
+
onCancel: M,
|
|
107
|
+
onSubmit: z
|
|
787
108
|
})
|
|
788
109
|
})] });
|
|
789
110
|
};
|
|
790
111
|
//#endregion
|
|
791
|
-
export {
|
|
112
|
+
export { x as RecordManualPaymentModal };
|