@tesouro/embedded-components-react 0.5.160 → 0.5.162
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/bill-pay-widget/feature/dist/index68.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/index182.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +33 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +11 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +11 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +27 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +4 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +1 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +19 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +51 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +0 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +43 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +38 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +59 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +39 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +21 -11
- 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 +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +56 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +11 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +117 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +8 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +48 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +15 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +0 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +24 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +20 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +445 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +2 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +38 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +76 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +46 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +122 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +5 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +99 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +206 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +155 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +51 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +299 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +23 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +69 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +82 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +8 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +13 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +73 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +56 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +0 -577
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +577 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +1 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +2 -2
- 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 +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +1 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +91 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +16 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +77 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +62 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +120 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +21 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +6 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +7 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +54 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +71 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +28 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +1 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +57 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +18 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +3 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +61 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +28 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +7 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +2 -2
- 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 +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +3 -3
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +4 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +115 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +38 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +5 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +6 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +5 -410
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +412 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +2 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +179 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +53 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +60 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +44 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +48 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +21 -305
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +307 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +1 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +160 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +3 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +88 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +171 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +209 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +32 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +166 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +8 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +35 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +153 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +68 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +215 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +82 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +14 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +110 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +163 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +5 -384
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +407 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +83 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +199 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +55 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +42 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +29 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +83 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +133 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +37 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +54 -549
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +59 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +137 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +534 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +141 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +143 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +36 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +59 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +66 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +149 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +61 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +84 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +16 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +20 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +21 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +42 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +13 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +9 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +101 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +34 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +43 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +64 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +98 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +43 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +173 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +129 -235
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +131 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +79 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +232 -385
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +8 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +6 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +399 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +44 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +45 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +14 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +39 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +138 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +113 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +40 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +30 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +22 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +22 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +71 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +71 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +16 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +175 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +142 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +31 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +116 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +19 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +45 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +22 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +26 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +38 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +71 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +49 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +87 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +0 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +37 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +128 -783
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +104 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +51 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +791 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +89 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +102 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +8 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +23 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +14 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +171 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +199 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +73 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +160 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +100 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +43 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +4 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +74 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +20 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +4 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +133 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +5 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +211 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +11 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +32 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +173 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +201 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +92 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +57 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +51 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +87 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +41 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +76 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +87 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +3 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +21 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +60 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +34 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +29 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +10 -2
- 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
|
@@ -1,791 +1,136 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import "
|
|
13
|
-
import {
|
|
14
|
-
import "
|
|
15
|
-
import {
|
|
16
|
-
import { Sheet as ne, SheetContent as re, SheetDescription as ie, SheetHeader as ae, SheetTitle as oe } from "./index49.js";
|
|
17
|
-
import { LoadingSpinner as u } from "./index50.js";
|
|
18
|
-
import "./index51.js";
|
|
19
|
-
import { DialogTitle as d } from "./index57.js";
|
|
20
|
-
import { Typography as f } from "./index61.js";
|
|
21
|
-
import { ACTION_ICON as se, AUDIT_HISTORY_SECTION as ce, STATUS_ICON as le, amountValueToneClass as ue, headerIconButtonClass as p } from "./index92.js";
|
|
22
|
-
import { getInvoiceValidationSchema as de } from "./index100.js";
|
|
23
|
-
import { useUserPermissions as fe } from "./index118.js";
|
|
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 "./index182.js";
|
|
32
|
-
import { useDuplicateInvoice as be } from "./index183.js";
|
|
33
|
-
import { useGetPaymentRecords as xe } from "./index187.js";
|
|
34
|
-
import { useGetReceivablePDFById as Se } from "./index190.js";
|
|
35
|
-
import { useGetRecurrenceById as Ce } from "./index199.js";
|
|
36
|
-
import { useGetInvoiceRequiredFields as we } from "./index201.js";
|
|
37
|
-
import { Badge as m } from "./index228.js";
|
|
38
|
-
import { InvoiceStatusChip as Te } from "./index242.js";
|
|
39
|
-
import { NotFound as Ee } from "./index243.js";
|
|
40
|
-
import { CounterpartDetails as De } from "./index244.js";
|
|
41
|
-
import { AccessRestriction as Oe } from "./index251.js";
|
|
42
|
-
import "./index415.js";
|
|
43
|
-
import { InvoiceRecurrenceStatusChip as ke } from "./index437.js";
|
|
44
|
-
import { useIssueReceivableById as Ae } from "./index448.js";
|
|
45
|
-
import { ActionsModal as je } from "./index516.js";
|
|
46
|
-
import { Accordion as Me, AccordionContent as h, AccordionItem as g, AccordionTrigger as _ } from "./index506.js";
|
|
47
|
-
import { Tooltip as Ne, TooltipContent as Pe, TooltipProvider as Fe, TooltipTrigger as v } from "./index507.js";
|
|
48
|
-
import { usePauseRecurrence as Ie } from "./index508.js";
|
|
49
|
-
import { useResumeRecurrence as Le } from "./index509.js";
|
|
50
|
-
import { InvoiceDetailsAmountCell as Re } from "./index510.js";
|
|
51
|
-
import { InvoiceDetailsAttachments as ze } from "./index511.js";
|
|
52
|
-
import { InvoiceDetailsAuditHistory as Be } from "./index512.js";
|
|
53
|
-
import { InvoiceDetailsCloseButton as y } from "./index513.js";
|
|
54
|
-
import { EditInvoiceDetails as Ve } from "./index517.js";
|
|
55
|
-
import { InvoiceDetailsInfoRow as He } from "./index518.js";
|
|
56
|
-
import { InvoiceDetailsCustomerRow as Ue } from "./index519.js";
|
|
57
|
-
import { InvoiceCancelModal as We } from "./index521.js";
|
|
58
|
-
import { InvoiceDeleteModal as Ge } from "./index522.js";
|
|
59
|
-
import { InvoiceDetailsTabScheduledInvoices as Ke } from "./index524.js";
|
|
60
|
-
import { MarkAsUncollectibleModal as qe } from "./index525.js";
|
|
61
|
-
import { InvoiceDetailsOverflowMenu as Je } from "./index526.js";
|
|
62
|
-
import { RecordManualPaymentModal as Ye } from "./index533.js";
|
|
63
|
-
import { RecurrenceCancelModal as Xe } from "./index534.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";
|
|
1
|
+
import { useCurrencies as e } from "./index62.js";
|
|
2
|
+
import "./index223.js";
|
|
3
|
+
import { manualPaymentRecordValidationSchema as t } from "./index100.js";
|
|
4
|
+
import { RHFTextField as n } from "./index307.js";
|
|
5
|
+
import "./index308.js";
|
|
6
|
+
import { safeZodResolver as r } from "./index385.js";
|
|
7
|
+
import { RHFDatePicker as i } from "./index531.js";
|
|
8
|
+
import "./index532.js";
|
|
9
|
+
import { RHFTimePicker as a } from "./index533.js";
|
|
10
|
+
import "./index534.js";
|
|
11
|
+
import { useEffect as o, useMemo as s } from "react";
|
|
12
|
+
import { Fragment as c, jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
13
|
+
import { Button as d, CircularProgress as f, DialogActions as p, DialogContent as m, DialogTitle as h, FormHelperText as g, Grid as _ } from "@mui/material";
|
|
14
|
+
import { useLingui as v } from "@lingui/react";
|
|
15
|
+
import { useForm as y } from "react-hook-form";
|
|
69
16
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js
|
|
70
|
-
var
|
|
71
|
-
let { i18n:
|
|
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
|
-
return de(A, M, Ut).safeParse(e).success;
|
|
131
|
-
}, [
|
|
132
|
-
P,
|
|
133
|
-
V,
|
|
134
|
-
A,
|
|
135
|
-
M,
|
|
136
|
-
Ut
|
|
137
|
-
]), $ = b((e) => {
|
|
138
|
-
if (!en()) return $t(e), !1;
|
|
139
|
-
if (B) return !1;
|
|
140
|
-
if (ht && !lt?.tax_id) return E.error(A._("Set your organization's Tax ID to issue invoice")), !1;
|
|
141
|
-
if (!gt) return !0;
|
|
142
|
-
let t = r(L), n = L?.reminders_enabled;
|
|
143
|
-
return !n && t ? (E.error(A._("Payment reminders are disabled for this customer. Please enable them in the customer details or turn them off.")), !1) : !t && n ? (E.error(A._("No email address is added for the selected customer. Please add it to the customer details or turn off the reminders.")), !1) : !n && !t ? (E.error(A._("Reminders are disabled for this customer, and no email address has been added for it. Please update the details or turn off reminders.")), !1) : !0;
|
|
144
|
-
}, [
|
|
145
|
-
L,
|
|
146
|
-
lt?.tax_id,
|
|
147
|
-
gt,
|
|
148
|
-
A,
|
|
149
|
-
ht,
|
|
150
|
-
B,
|
|
151
|
-
en,
|
|
152
|
-
$t
|
|
153
|
-
]), tn = b(async () => {
|
|
154
|
-
if ($("issue")) try {
|
|
155
|
-
await Y({ path: { receivable_id: l } });
|
|
156
|
-
} catch {
|
|
157
|
-
E.error(A._("Failed to issue invoice. Add any missing information to your draft invoice and try again."));
|
|
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)]
|
|
17
|
+
var b = ({ invoice: b, initialValues: x, isLoading: S, onSubmit: C, onCancel: w }) => {
|
|
18
|
+
let { i18n: T } = v(), { formatCurrencyToDisplay: E, getSymbolFromCurrency: D } = e(), { control: O, handleSubmit: k, reset: A, setValue: j } = y({
|
|
19
|
+
resolver: r(t(T, b.amount_due)),
|
|
20
|
+
defaultValues: s(() => x ?? {
|
|
21
|
+
amount: 0,
|
|
22
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
23
|
+
payment_time: /* @__PURE__ */ new Date()
|
|
24
|
+
}, [x])
|
|
25
|
+
});
|
|
26
|
+
o(() => {
|
|
27
|
+
A(x);
|
|
28
|
+
}, [x, A]);
|
|
29
|
+
let M = D(b.currency);
|
|
30
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("form", {
|
|
31
|
+
onSubmit: k(C),
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ l(h, {
|
|
34
|
+
sx: {
|
|
35
|
+
px: 4,
|
|
36
|
+
pt: 4
|
|
37
|
+
},
|
|
38
|
+
variant: "h3",
|
|
39
|
+
id: "dialog-title",
|
|
40
|
+
children: T._("Record payment")
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ l(m, {
|
|
43
|
+
sx: { p: 4 },
|
|
44
|
+
children: /* @__PURE__ */ u(_, {
|
|
45
|
+
container: !0,
|
|
46
|
+
spacing: 1,
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ u(_, {
|
|
49
|
+
item: !0,
|
|
50
|
+
xs: 12,
|
|
51
|
+
children: [/* @__PURE__ */ l(n, {
|
|
52
|
+
label: T._("Amount"),
|
|
53
|
+
name: "amount",
|
|
54
|
+
placeholder: "0",
|
|
55
|
+
control: O,
|
|
56
|
+
type: "number",
|
|
57
|
+
sx: { "::after": {
|
|
58
|
+
content: `"${M}"`,
|
|
59
|
+
position: "absolute",
|
|
60
|
+
right: "16px",
|
|
61
|
+
bottom: 0,
|
|
62
|
+
transform: "translateY(-50%)",
|
|
63
|
+
fontSize: "16px",
|
|
64
|
+
color: "rgba(0,0,0,0.28)",
|
|
65
|
+
pointerEvents: "none"
|
|
66
|
+
} },
|
|
67
|
+
fullWidth: !0,
|
|
68
|
+
required: !0
|
|
69
|
+
}), /* @__PURE__ */ u(g, { children: [
|
|
70
|
+
T._("Enter full amount due of"),
|
|
71
|
+
" ",
|
|
72
|
+
/* @__PURE__ */ l(d, {
|
|
73
|
+
variant: "text",
|
|
74
|
+
sx: { textDecoration: "underline" },
|
|
75
|
+
onClick: () => j("amount", b.amount_due / 100),
|
|
76
|
+
children: E(b.amount_due, b.currency)
|
|
336
77
|
})
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
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 })]
|
|
78
|
+
] })]
|
|
79
|
+
}),
|
|
80
|
+
/* @__PURE__ */ l(_, {
|
|
81
|
+
item: !0,
|
|
82
|
+
xs: 6,
|
|
83
|
+
children: /* @__PURE__ */ l(i, {
|
|
84
|
+
label: T._("Date"),
|
|
85
|
+
name: "payment_date",
|
|
86
|
+
control: O
|
|
362
87
|
})
|
|
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
88
|
}),
|
|
419
|
-
/* @__PURE__ */
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
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
|
-
})]
|
|
89
|
+
/* @__PURE__ */ l(_, {
|
|
90
|
+
item: !0,
|
|
91
|
+
xs: 6,
|
|
92
|
+
children: /* @__PURE__ */ l(a, {
|
|
93
|
+
label: T._("Time"),
|
|
94
|
+
name: "payment_time",
|
|
95
|
+
control: O,
|
|
96
|
+
sx: { "::after": {
|
|
97
|
+
content: "\"UTC\"",
|
|
98
|
+
position: "absolute",
|
|
99
|
+
right: "16px",
|
|
100
|
+
bottom: 0,
|
|
101
|
+
transform: "translateY(-50%)",
|
|
102
|
+
fontSize: "16px",
|
|
103
|
+
color: "rgba(0,0,0,0.28)",
|
|
104
|
+
pointerEvents: "none"
|
|
105
|
+
} },
|
|
106
|
+
fullWidth: !0,
|
|
107
|
+
required: !0
|
|
108
|
+
})
|
|
746
109
|
})
|
|
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)
|
|
110
|
+
]
|
|
785
111
|
})
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
112
|
+
}),
|
|
113
|
+
/* @__PURE__ */ u(p, {
|
|
114
|
+
sx: {
|
|
115
|
+
px: 4,
|
|
116
|
+
pb: 4
|
|
117
|
+
},
|
|
118
|
+
children: [/* @__PURE__ */ l(d, {
|
|
119
|
+
autoFocus: !0,
|
|
120
|
+
onClick: w,
|
|
121
|
+
children: T._("Cancel")
|
|
122
|
+
}), /* @__PURE__ */ l(d, {
|
|
123
|
+
variant: "contained",
|
|
124
|
+
startIcon: S ? /* @__PURE__ */ l(f, {
|
|
125
|
+
size: 20,
|
|
126
|
+
color: "warning"
|
|
127
|
+
}) : null,
|
|
128
|
+
type: "submit",
|
|
129
|
+
children: T._("Save")
|
|
130
|
+
})]
|
|
131
|
+
})
|
|
132
|
+
]
|
|
133
|
+
}) });
|
|
789
134
|
};
|
|
790
135
|
//#endregion
|
|
791
|
-
export {
|
|
136
|
+
export { b as PaymentRecordForm };
|