@tesouro/embedded-components-react 0.2.241 → 0.2.242
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 +55 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-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 +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +4 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +7 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +445 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +2 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +38 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +76 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +48 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +110 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +5 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +98 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +206 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +155 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +51 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +299 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +24 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +74 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +90 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +8 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +13 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +73 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +56 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +9 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +21 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +50 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +48 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +169 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +0 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +82 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +29 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +1 -598
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +598 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +1 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +167 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +1 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +91 -10
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +18 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +62 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +120 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +21 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +6 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +7 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +53 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +71 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +28 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +1 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +57 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +3 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +61 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +8 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +4 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +113 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +42 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +5 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +6 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +5 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +425 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +2 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +187 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +53 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +60 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +44 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +48 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +45 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +0 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +347 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +1 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +3 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +88 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +169 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +206 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +0 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +255 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +32 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +166 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +59 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +35 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +151 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +69 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +14 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +214 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +76 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +103 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +163 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +5 -313
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +310 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +83 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +190 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +28 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +84 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +132 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +37 -447
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +447 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +16 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +78 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +142 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +34 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +62 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +67 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +140 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +58 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +85 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +23 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +156 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +8 -463
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +443 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +13 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +51 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +39 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +142 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +112 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +18 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +149 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +136 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +31 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +115 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +34 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +86 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +0 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +129 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +105 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +48 -779
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +780 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +84 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +105 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +163 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +204 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +82 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +146 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +95 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +13 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +42 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +219 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +32 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +168 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +66 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +104 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +72 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +14 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +91 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +66 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +29 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js +2 -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
|
@@ -6,46 +6,45 @@ import { Input as r } from "./index89.js";
|
|
|
6
6
|
import { Typography as i } from "./index62.js";
|
|
7
7
|
import { RadioGroup as a, RadioGroupItem as o } from "./index90.js";
|
|
8
8
|
import { useUserPermissions as s } from "./index112.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
9
|
+
import { useGetPaymentReminderById as c } from "./index142.js";
|
|
10
|
+
import { useGetPaymentReminders as l } from "./index143.js";
|
|
11
|
+
import { useCreatePaymentReminder as u } from "./index144.js";
|
|
12
|
+
import { useGetPaymentTermById as d } from "./index169.js";
|
|
12
13
|
import "./index194.js";
|
|
13
|
-
import { CUSTOM_DATE_PAYMENT_TERM as
|
|
14
|
-
import {
|
|
15
|
-
import { Loader2 as h
|
|
16
|
-
import { format as _ } from "date-fns";
|
|
14
|
+
import { CUSTOM_DATE_PAYMENT_TERM as f, RECEIPT_DUE_PAYMENT_TERM as p } from "./index222.js";
|
|
15
|
+
import { useState as m } from "react";
|
|
16
|
+
import { Loader2 as h } from "lucide-react";
|
|
17
|
+
import { differenceInCalendarDays as g, format as _ } from "date-fns";
|
|
17
18
|
import { jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
18
19
|
import { useLingui as b } from "@lingui/react";
|
|
19
20
|
import { useFormContext as x } from "react-hook-form";
|
|
20
21
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js
|
|
21
|
-
var S = "MMM d, yyyy", C =
|
|
22
|
-
let { data:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
D([""]);
|
|
28
|
-
}, W = E.every((e) => Number(e) >= 1);
|
|
22
|
+
var S = "MMM d, yyyy", C = 1, w = 1e4, T = ({ disabled: T }) => {
|
|
23
|
+
let { data: E } = l(), [D, O] = m(""), { i18n: k } = b(), A = s().has(e.InvoiceWriteOrg), { watch: j, setValue: M } = x(), N = j("payment_reminder_id"), P = j("payment_terms_id"), F = j("payment_terms_custom_date"), I = P === f, L = P === p, { data: R } = d(P && !I && !L ? P : void 0), z = I ? F ?? void 0 : L ? /* @__PURE__ */ new Date() : R && t(R) || void 0, { mutate: B, isPending: V } = u(), H = Number(D), U = D !== "" && H >= C && H <= w, W = D !== "" && !U, G = I && F ? g(F, /* @__PURE__ */ new Date()) : void 0, { data: K } = c(N), q = K ? [
|
|
24
|
+
K.term_1_reminder?.days_before,
|
|
25
|
+
K.term_2_reminder?.days_before,
|
|
26
|
+
K.term_final_reminder?.days_before
|
|
27
|
+
].filter((e) => typeof e == "number") : [], J = G !== void 0 && (D !== "" && Number(D) > G || q.some((e) => e > G));
|
|
29
28
|
return /* @__PURE__ */ y("div", {
|
|
30
29
|
className: "ttw:border ttw:border-border ttw:rounded-lg ttw:min-h-28 ttw:p-2.5 ttw:flex ttw:w-full ttw:flex-col ttw:gap-4 ttw:xl:w-1/2",
|
|
31
30
|
children: [
|
|
32
31
|
/* @__PURE__ */ y(i, {
|
|
33
32
|
variant: "body2",
|
|
34
33
|
children: [
|
|
35
|
-
|
|
34
|
+
k._("Number of days"),
|
|
36
35
|
" ",
|
|
37
36
|
/* @__PURE__ */ v("span", {
|
|
38
|
-
className: "ttw:text-
|
|
39
|
-
children:
|
|
37
|
+
className: "ttw:text-green-700 ttw:font-bold",
|
|
38
|
+
children: k._("BEFORE")
|
|
40
39
|
}),
|
|
41
40
|
" ",
|
|
42
|
-
|
|
41
|
+
k._("due date")
|
|
43
42
|
]
|
|
44
43
|
}),
|
|
45
44
|
/* @__PURE__ */ v(a, {
|
|
46
45
|
className: "ttw:contents",
|
|
47
|
-
value:
|
|
48
|
-
onValueChange: (e) =>
|
|
46
|
+
value: N ?? "",
|
|
47
|
+
onValueChange: (e) => M("payment_reminder_id", e),
|
|
49
48
|
children: /* @__PURE__ */ y("ul", {
|
|
50
49
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
51
50
|
children: [/* @__PURE__ */ v("li", {
|
|
@@ -54,14 +53,14 @@ var S = "MMM d, yyyy", C = 3, w = ({ disabled: w }) => {
|
|
|
54
53
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
55
54
|
children: [/* @__PURE__ */ v(o, {
|
|
56
55
|
value: "",
|
|
57
|
-
id: "no-
|
|
56
|
+
id: "no-payment-reminder"
|
|
58
57
|
}), /* @__PURE__ */ v(i, {
|
|
59
58
|
variant: "body2",
|
|
60
59
|
className: "ttw:leading-snug",
|
|
61
|
-
children:
|
|
60
|
+
children: k._("No reminder")
|
|
62
61
|
})]
|
|
63
62
|
})
|
|
64
|
-
}),
|
|
63
|
+
}), E?.map((e) => /* @__PURE__ */ v("li", {
|
|
65
64
|
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:justify-between",
|
|
66
65
|
children: /* @__PURE__ */ y("div", {
|
|
67
66
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
@@ -77,71 +76,73 @@ var S = "MMM d, yyyy", C = 3, w = ({ disabled: w }) => {
|
|
|
77
76
|
}, e.value))]
|
|
78
77
|
})
|
|
79
78
|
}),
|
|
80
|
-
|
|
79
|
+
A && /* @__PURE__ */ y("div", {
|
|
81
80
|
className: "ttw:flex ttw:flex-col ttw:gap-2.5",
|
|
82
81
|
children: [
|
|
83
|
-
/* @__PURE__ */ v(i, {
|
|
82
|
+
!!(E && E?.length > 0) && /* @__PURE__ */ v(i, {
|
|
84
83
|
variant: "caption",
|
|
85
84
|
color: "muted",
|
|
86
|
-
children:
|
|
85
|
+
children: k._("Add schedule")
|
|
87
86
|
}),
|
|
88
87
|
/* @__PURE__ */ y("div", {
|
|
89
88
|
className: "ttw:flex ttw:items-center ttw:gap-2.5",
|
|
90
|
-
children: [
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
89
|
+
children: [
|
|
90
|
+
/* @__PURE__ */ v(r, {
|
|
91
|
+
type: "text",
|
|
92
|
+
inputMode: "numeric",
|
|
93
|
+
value: D,
|
|
94
|
+
onChange: (e) => O(e.target.value.replace(/\D/g, "")),
|
|
95
|
+
disabled: T || V,
|
|
96
|
+
name: "new_reminders",
|
|
97
|
+
className: "ttw:text-right ttw:w-full ttw:p-1.5 ttw:max-w-56",
|
|
98
|
+
placeholder: k._("e.g., 3"),
|
|
99
|
+
"aria-invalid": W,
|
|
100
|
+
"aria-describedby": W ? "new-reminder-error" : void 0
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ v(i, {
|
|
103
|
+
variant: "body2",
|
|
104
|
+
children: Number(D) === 1 ? k._("day") : k._("days")
|
|
105
|
+
}),
|
|
106
|
+
/* @__PURE__ */ v(n, {
|
|
107
|
+
type: "button",
|
|
108
|
+
variant: "secondary",
|
|
109
|
+
className: "ttw:hover:brightness-95 ttw:text-secondary-foreground ttw:text-xs",
|
|
110
|
+
disabled: !U || V,
|
|
111
|
+
onClick: () => {
|
|
112
|
+
let e = Number(D);
|
|
113
|
+
B({ body: {
|
|
114
|
+
name: e === 1 ? k._("{daysBefore} day", { daysBefore: e }) : k._("{daysBefore} days", { daysBefore: e }),
|
|
115
|
+
term_final_reminder: {
|
|
116
|
+
days_before: e,
|
|
117
|
+
subject: k._("Payment is due soon"),
|
|
118
|
+
body: z ? k._("Payment is due on {dueDate}.", { dueDate: _(z, S) }) : k._("Payment is due soon.")
|
|
119
|
+
}
|
|
120
|
+
} }, { onSuccess: (e) => {
|
|
121
|
+
O(""), M("payment_reminder_id", e.id);
|
|
122
|
+
} });
|
|
123
|
+
},
|
|
124
|
+
children: V ? /* @__PURE__ */ v(h, { className: "ttw:size-4 ttw:animate-spin" }) : k._("Save")
|
|
125
|
+
})
|
|
126
|
+
]
|
|
110
127
|
}),
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
children: O._("Clear")
|
|
120
|
-
}), /* @__PURE__ */ v(n, {
|
|
121
|
-
type: "button",
|
|
122
|
-
variant: "secondary",
|
|
123
|
-
className: "ttw:hover:brightness-95 ttw:text-secondary-foreground ttw:text-xs",
|
|
124
|
-
disabled: w || B || !W,
|
|
125
|
-
onClick: () => {
|
|
126
|
-
let e = E.map((e) => Number(e)).sort((e, t) => e - t), t = e.map((e) => e === 1 ? O._("{daysAfter} day", { daysAfter: e }) : O._("{daysAfter} days", { daysAfter: e })), n = t.length === 1 ? t[0] : `${t.slice(0, -1).join(", ")} ${O._("and")} ${t[t.length - 1]}`;
|
|
127
|
-
z({ body: {
|
|
128
|
-
name: n,
|
|
129
|
-
terms: e.map((e) => ({
|
|
130
|
-
days_after: e,
|
|
131
|
-
subject: O._("Payment is overdue"),
|
|
132
|
-
body: R ? O._("Payment was due on {dueDate}.", { dueDate: _(R, S) }) : O._("Payment is overdue.")
|
|
133
|
-
}))
|
|
134
|
-
} }, { onSuccess: (e) => {
|
|
135
|
-
D([""]), j("overdue_reminder_id", e.id);
|
|
136
|
-
} });
|
|
137
|
-
},
|
|
138
|
-
children: B ? /* @__PURE__ */ v(h, { className: "ttw:size-4 ttw:animate-spin" }) : O._("Save")
|
|
139
|
-
})]
|
|
128
|
+
W && /* @__PURE__ */ v(i, {
|
|
129
|
+
id: "new-reminder-error",
|
|
130
|
+
variant: "caption",
|
|
131
|
+
color: "destructive",
|
|
132
|
+
children: k._("Enter a number of days between {min} and {max}.", {
|
|
133
|
+
min: C,
|
|
134
|
+
max: w
|
|
135
|
+
})
|
|
140
136
|
})
|
|
141
137
|
]
|
|
138
|
+
}),
|
|
139
|
+
J && /* @__PURE__ */ v(i, {
|
|
140
|
+
variant: "body2",
|
|
141
|
+
className: "ttw:text-amber-700",
|
|
142
|
+
children: k._("This reminder would be sent after the due date has already passed.")
|
|
142
143
|
})
|
|
143
144
|
]
|
|
144
145
|
});
|
|
145
146
|
};
|
|
146
147
|
//#endregion
|
|
147
|
-
export {
|
|
148
|
+
export { T as ReminderBeforeDueDate };
|
|
@@ -1,40 +1,147 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { calculateDueDate as t } from "./index53.js";
|
|
4
|
+
import { Button as n } from "./index56.js";
|
|
5
|
+
import { Input as r } from "./index89.js";
|
|
6
|
+
import { Typography as i } from "./index62.js";
|
|
7
|
+
import { RadioGroup as a, RadioGroupItem as o } from "./index90.js";
|
|
8
|
+
import { useUserPermissions as s } from "./index112.js";
|
|
9
|
+
import { useGetOverdueReminders as c } from "./index146.js";
|
|
10
|
+
import { useCreateOverdueReminder as l } from "./index147.js";
|
|
11
|
+
import { useGetPaymentTermById as u } from "./index169.js";
|
|
12
|
+
import "./index194.js";
|
|
13
|
+
import { CUSTOM_DATE_PAYMENT_TERM as d, RECEIPT_DUE_PAYMENT_TERM as f } from "./index222.js";
|
|
14
|
+
import { Fragment as p, useState as m } from "react";
|
|
15
|
+
import { Loader2 as h, Plus as g } from "lucide-react";
|
|
16
|
+
import { format as _ } from "date-fns";
|
|
17
|
+
import { jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
18
|
+
import { useLingui as b } from "@lingui/react";
|
|
19
|
+
import { useFormContext as x } from "react-hook-form";
|
|
10
20
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js
|
|
11
|
-
var d = ({ disabled:
|
|
12
|
-
let { i18n:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"aria-label": f._("Payment reminders")
|
|
24
|
-
}), /* @__PURE__ */ s(e, {
|
|
21
|
+
var S = "MMM d, yyyy", C = 3, w = ({ disabled: w }) => {
|
|
22
|
+
let { data: T } = c(), [E, D] = m([""]), { i18n: O } = b(), k = s().has(e.InvoiceWriteOrg), { watch: A, setValue: j } = x(), M = A("overdue_reminder_id"), N = A("payment_terms_id"), P = A("payment_terms_custom_date"), F = N === d, I = N === f, { data: L } = u(N && !F && !I ? N : void 0), R = F ? P ?? void 0 : I ? /* @__PURE__ */ new Date() : L && t(L) || void 0, { mutate: z, isPending: B } = l(), V = (e, t) => {
|
|
23
|
+
D((n) => n.map((n, r) => r === e ? t : n));
|
|
24
|
+
}, H = () => {
|
|
25
|
+
D((e) => e.length < C ? [...e, ""] : e);
|
|
26
|
+
}, U = () => {
|
|
27
|
+
D([""]);
|
|
28
|
+
}, W = E.every((e) => Number(e) >= 1);
|
|
29
|
+
return /* @__PURE__ */ y("div", {
|
|
30
|
+
className: "ttw:border ttw:border-border ttw:rounded-lg ttw:min-h-28 ttw:p-2.5 ttw:flex ttw:w-full ttw:flex-col ttw:gap-4 ttw:xl:w-1/2",
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ y(i, {
|
|
25
33
|
variant: "body2",
|
|
26
|
-
children:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
children: [
|
|
35
|
+
O._("Number of days"),
|
|
36
|
+
" ",
|
|
37
|
+
/* @__PURE__ */ v("span", {
|
|
38
|
+
className: "ttw:text-destructive ttw:font-bold",
|
|
39
|
+
children: O._("AFTER")
|
|
40
|
+
}),
|
|
41
|
+
" ",
|
|
42
|
+
O._("due date")
|
|
43
|
+
]
|
|
44
|
+
}),
|
|
45
|
+
/* @__PURE__ */ v(a, {
|
|
46
|
+
className: "ttw:contents",
|
|
47
|
+
value: M ?? "",
|
|
48
|
+
onValueChange: (e) => j("overdue_reminder_id", e),
|
|
49
|
+
children: /* @__PURE__ */ y("ul", {
|
|
50
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
51
|
+
children: [/* @__PURE__ */ v("li", {
|
|
52
|
+
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:justify-between",
|
|
53
|
+
children: /* @__PURE__ */ y("div", {
|
|
54
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
55
|
+
children: [/* @__PURE__ */ v(o, {
|
|
56
|
+
value: "",
|
|
57
|
+
id: "no-overdue-reminder"
|
|
58
|
+
}), /* @__PURE__ */ v(i, {
|
|
59
|
+
variant: "body2",
|
|
60
|
+
className: "ttw:leading-snug",
|
|
61
|
+
children: O._("No reminder")
|
|
62
|
+
})]
|
|
63
|
+
})
|
|
64
|
+
}), T?.map((e) => /* @__PURE__ */ v("li", {
|
|
65
|
+
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:justify-between",
|
|
66
|
+
children: /* @__PURE__ */ y("div", {
|
|
67
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
68
|
+
children: [/* @__PURE__ */ v(o, {
|
|
69
|
+
value: e.value,
|
|
70
|
+
id: e.value
|
|
71
|
+
}), /* @__PURE__ */ v(i, {
|
|
72
|
+
variant: "body2",
|
|
73
|
+
className: "ttw:leading-snug",
|
|
74
|
+
children: e.label
|
|
75
|
+
})]
|
|
76
|
+
})
|
|
77
|
+
}, e.value))]
|
|
78
|
+
})
|
|
79
|
+
}),
|
|
80
|
+
k && /* @__PURE__ */ y("div", {
|
|
81
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2.5",
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ v(i, {
|
|
84
|
+
variant: "caption",
|
|
85
|
+
color: "muted",
|
|
86
|
+
children: T && T.length > 0 ? O._("Add schedule (Specify up to 3 terms)") : O._("Send up to three reminders")
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ y("div", {
|
|
89
|
+
className: "ttw:flex ttw:items-center ttw:gap-2.5",
|
|
90
|
+
children: [E.map((e, t, n) => /* @__PURE__ */ y(p, { children: [/* @__PURE__ */ v(r, {
|
|
91
|
+
type: "text",
|
|
92
|
+
inputMode: "numeric",
|
|
93
|
+
value: e,
|
|
94
|
+
onChange: (e) => V(t, e.target.value.replace(/\D/g, "")),
|
|
95
|
+
disabled: w || B,
|
|
96
|
+
name: `new_reminders_${t}`,
|
|
97
|
+
className: "ttw:text-right ttw:w-15 ttw:p-1.5",
|
|
98
|
+
placeholder: n.length === 1 ? O._("e.g., 3") : void 0
|
|
99
|
+
}), /* @__PURE__ */ v(i, {
|
|
100
|
+
variant: "body2",
|
|
101
|
+
children: Number(e) === 1 ? O._("day") : O._("days")
|
|
102
|
+
})] }, t)), E.length < C && /* @__PURE__ */ y(n, {
|
|
103
|
+
type: "button",
|
|
104
|
+
variant: "ghost",
|
|
105
|
+
className: "ttw:text-xs ttw:text-primary ttw:hover:text-primary",
|
|
106
|
+
disabled: w || B || !E[E.length - 1],
|
|
107
|
+
onClick: H,
|
|
108
|
+
children: [/* @__PURE__ */ v(g, {}), O._("Add")]
|
|
109
|
+
})]
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ y("div", {
|
|
112
|
+
className: "ttw:flex ttw:items-center ttw:gap-2.5",
|
|
113
|
+
children: [/* @__PURE__ */ v(n, {
|
|
114
|
+
type: "button",
|
|
115
|
+
variant: "ghost",
|
|
116
|
+
className: "ttw:text-xs",
|
|
117
|
+
disabled: w || B,
|
|
118
|
+
onClick: U,
|
|
119
|
+
children: O._("Clear")
|
|
120
|
+
}), /* @__PURE__ */ v(n, {
|
|
121
|
+
type: "button",
|
|
122
|
+
variant: "secondary",
|
|
123
|
+
className: "ttw:hover:brightness-95 ttw:text-secondary-foreground ttw:text-xs",
|
|
124
|
+
disabled: w || B || !W,
|
|
125
|
+
onClick: () => {
|
|
126
|
+
let e = E.map((e) => Number(e)).sort((e, t) => e - t), t = e.map((e) => e === 1 ? O._("{daysAfter} day", { daysAfter: e }) : O._("{daysAfter} days", { daysAfter: e })), n = t.length === 1 ? t[0] : `${t.slice(0, -1).join(", ")} ${O._("and")} ${t[t.length - 1]}`;
|
|
127
|
+
z({ body: {
|
|
128
|
+
name: n,
|
|
129
|
+
terms: e.map((e) => ({
|
|
130
|
+
days_after: e,
|
|
131
|
+
subject: O._("Payment is overdue"),
|
|
132
|
+
body: R ? O._("Payment was due on {dueDate}.", { dueDate: _(R, S) }) : O._("Payment is overdue.")
|
|
133
|
+
}))
|
|
134
|
+
} }, { onSuccess: (e) => {
|
|
135
|
+
D([""]), j("overdue_reminder_id", e.id);
|
|
136
|
+
} });
|
|
137
|
+
},
|
|
138
|
+
children: B ? /* @__PURE__ */ v(h, { className: "ttw:size-4 ttw:animate-spin" }) : O._("Save")
|
|
139
|
+
})]
|
|
140
|
+
})
|
|
141
|
+
]
|
|
142
|
+
})
|
|
143
|
+
]
|
|
37
144
|
});
|
|
38
145
|
};
|
|
39
146
|
//#endregion
|
|
40
|
-
export {
|
|
147
|
+
export { w as ReminderOverdue };
|
|
@@ -1,66 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { jsx as
|
|
8
|
-
import { useLingui as
|
|
9
|
-
import {
|
|
1
|
+
import { Typography as e } from "./index62.js";
|
|
2
|
+
import { RECEIPT_DUE_PAYMENT_TERM as t } from "./index222.js";
|
|
3
|
+
import { Switch as n } from "./index456.js";
|
|
4
|
+
import { ReminderBeforeDueDate as r } from "./index457.js";
|
|
5
|
+
import { ReminderOverdue as i } from "./index458.js";
|
|
6
|
+
import { useState as a } from "react";
|
|
7
|
+
import { Fragment as o, jsx as s, jsxs as c } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { useLingui as l } from "@lingui/react";
|
|
9
|
+
import { useFormContext as u } from "react-hook-form";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js
|
|
11
|
-
var
|
|
12
|
-
let { i18n:
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
className: "ttw:flex ttw:flex-col ttw:
|
|
15
|
-
children: [/* @__PURE__ */
|
|
16
|
-
className: "ttw:flex ttw:
|
|
17
|
-
children: [/* @__PURE__ */
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
var d = ({ disabled: d }) => {
|
|
12
|
+
let { i18n: f } = l(), { watch: p, setValue: m } = u(), h = p("payment_terms_id"), g = p("payment_terms_custom_date"), _ = p("payment_reminder_id"), v = p("overdue_reminder_id"), y = !!(h || g), b = !!(_ || v), x = h !== t, [S, C] = a(y || b);
|
|
13
|
+
return /* @__PURE__ */ c("section", {
|
|
14
|
+
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
15
|
+
children: [/* @__PURE__ */ c("div", {
|
|
16
|
+
className: "ttw:flex ttw:items-center ttw:gap-3",
|
|
17
|
+
children: [/* @__PURE__ */ s(n, {
|
|
18
|
+
checked: S,
|
|
19
|
+
disabled: !y,
|
|
20
|
+
onCheckedChange: (e) => {
|
|
21
|
+
e || (m("payment_reminder_id", "", { shouldDirty: !0 }), m("overdue_reminder_id", "", { shouldDirty: !0 })), C(e);
|
|
22
|
+
},
|
|
23
|
+
"aria-label": f._("Payment reminders")
|
|
24
|
+
}), /* @__PURE__ */ s(e, {
|
|
21
25
|
variant: "body2",
|
|
22
|
-
|
|
23
|
-
className: "ttw:font-medium",
|
|
24
|
-
children: y._("What are the billing terms?")
|
|
26
|
+
children: f._("Send reminders when an invoice is approaching its due date or past due.")
|
|
25
27
|
})]
|
|
26
|
-
}), /* @__PURE__ */
|
|
27
|
-
className: "ttw:flex ttw:flex-col ttw:gap-
|
|
28
|
-
children: [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
isLoading: g
|
|
36
|
-
}), _ && /* @__PURE__ */ l(f, {
|
|
37
|
-
name: "purchase_order",
|
|
38
|
-
control: b,
|
|
39
|
-
render: ({ field: o, fieldState: { error: s } }) => /* @__PURE__ */ l(n, { children: /* @__PURE__ */ u(r, { children: [
|
|
40
|
-
/* @__PURE__ */ u(a, {
|
|
41
|
-
htmlFor: o.name,
|
|
42
|
-
className: "ttw:text-nowrap",
|
|
43
|
-
children: [y._("PO Number"), /* @__PURE__ */ l(t, {
|
|
44
|
-
variant: "body2",
|
|
45
|
-
color: "muted",
|
|
46
|
-
className: "ttw:leading-snug",
|
|
47
|
-
children: y._("(optional)")
|
|
48
|
-
})]
|
|
49
|
-
}),
|
|
50
|
-
/* @__PURE__ */ l(e, {
|
|
51
|
-
...o,
|
|
52
|
-
id: o.name,
|
|
53
|
-
disabled: h,
|
|
54
|
-
"aria-invalid": !!s
|
|
55
|
-
}),
|
|
56
|
-
/* @__PURE__ */ l(i, { errors: s ? [s] : [] })
|
|
57
|
-
] }) })
|
|
58
|
-
})]
|
|
59
|
-
}),
|
|
60
|
-
/* @__PURE__ */ l(c, { disabled: h })
|
|
61
|
-
]
|
|
62
|
-
})]
|
|
28
|
+
}), S && /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ c("div", {
|
|
29
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:w-full ttw:xl:flex-row",
|
|
30
|
+
children: [x && /* @__PURE__ */ s(r, { disabled: d }), /* @__PURE__ */ s(i, { disabled: d })]
|
|
31
|
+
}), /* @__PURE__ */ s(e, {
|
|
32
|
+
variant: "body2",
|
|
33
|
+
color: "muted",
|
|
34
|
+
className: "ttw:font-medium",
|
|
35
|
+
children: f._("New reminders will be saved to your organization's library and can be managed via Invoice settings")
|
|
36
|
+
})] })]
|
|
63
37
|
});
|
|
64
38
|
};
|
|
65
39
|
//#endregion
|
|
66
|
-
export {
|
|
40
|
+
export { d as RemindersSection };
|
|
@@ -1,72 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { Input as e } from "./index89.js";
|
|
2
|
+
import { Typography as t } from "./index62.js";
|
|
3
|
+
import { Field as n, FieldContent as r, FieldError as i, FieldLabel as a } from "./index88.js";
|
|
4
|
+
import { PaymentSection as o } from "./index453.js";
|
|
5
|
+
import { RecurrenceSection as s } from "./index455.js";
|
|
6
|
+
import { RemindersSection as c } from "./index459.js";
|
|
7
|
+
import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { useLingui as d } from "@lingui/react";
|
|
9
|
+
import { Controller as f, useFormContext as p } from "react-hook-form";
|
|
6
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js
|
|
7
|
-
var
|
|
8
|
-
let
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
sx: { mt: +!!e },
|
|
22
|
-
children: Object.entries(t).map(([e, t]) => t ? /* @__PURE__ */ r(c, {
|
|
23
|
-
disablePadding: !0,
|
|
24
|
-
children: /* @__PURE__ */ r(l, {
|
|
25
|
-
primary: t,
|
|
26
|
-
primaryTypographyProps: { sx: { color: "inherit" } }
|
|
27
|
-
})
|
|
28
|
-
}, e) : null)
|
|
11
|
+
var m = ({ paymentTerms: m, disabled: h, isPaymentTermsLoading: g, showPurchaseOrder: _ = !0, lockRecurrenceSchedule: v = !1 }) => {
|
|
12
|
+
let { i18n: y } = d(), { control: b } = p();
|
|
13
|
+
return /* @__PURE__ */ u("div", {
|
|
14
|
+
className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl",
|
|
15
|
+
children: [/* @__PURE__ */ u("div", {
|
|
16
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
|
|
17
|
+
children: [/* @__PURE__ */ l(t, {
|
|
18
|
+
variant: "h4",
|
|
19
|
+
children: y._("Billing details")
|
|
20
|
+
}), /* @__PURE__ */ l(t, {
|
|
21
|
+
variant: "body2",
|
|
22
|
+
color: "muted",
|
|
23
|
+
className: "ttw:font-medium",
|
|
24
|
+
children: y._("What are the billing terms?")
|
|
29
25
|
})]
|
|
30
|
-
})
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
hasErrors: !!(m || s || c || l || d || f || p)
|
|
69
|
-
};
|
|
26
|
+
}), /* @__PURE__ */ u("div", {
|
|
27
|
+
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
28
|
+
children: [
|
|
29
|
+
/* @__PURE__ */ l(s, { lockSchedule: v }),
|
|
30
|
+
/* @__PURE__ */ u("div", {
|
|
31
|
+
className: "ttw:flex ttw:items-start ttw:gap-2.5 ttw:w-full",
|
|
32
|
+
children: [/* @__PURE__ */ l(o, {
|
|
33
|
+
paymentTerms: m,
|
|
34
|
+
disabled: h,
|
|
35
|
+
isLoading: g
|
|
36
|
+
}), _ && /* @__PURE__ */ l(f, {
|
|
37
|
+
name: "purchase_order",
|
|
38
|
+
control: b,
|
|
39
|
+
render: ({ field: o, fieldState: { error: s } }) => /* @__PURE__ */ l(n, { children: /* @__PURE__ */ u(r, { children: [
|
|
40
|
+
/* @__PURE__ */ u(a, {
|
|
41
|
+
htmlFor: o.name,
|
|
42
|
+
className: "ttw:text-nowrap",
|
|
43
|
+
children: [y._("PO Number"), /* @__PURE__ */ l(t, {
|
|
44
|
+
variant: "body2",
|
|
45
|
+
color: "muted",
|
|
46
|
+
className: "ttw:leading-snug",
|
|
47
|
+
children: y._("(optional)")
|
|
48
|
+
})]
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ l(e, {
|
|
51
|
+
...o,
|
|
52
|
+
id: o.name,
|
|
53
|
+
disabled: h,
|
|
54
|
+
"aria-invalid": !!s
|
|
55
|
+
}),
|
|
56
|
+
/* @__PURE__ */ l(i, { errors: s ? [s] : [] })
|
|
57
|
+
] }) })
|
|
58
|
+
})]
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ l(c, { disabled: h })
|
|
61
|
+
]
|
|
62
|
+
})]
|
|
63
|
+
});
|
|
70
64
|
};
|
|
71
65
|
//#endregion
|
|
72
|
-
export {
|
|
66
|
+
export { m as BillingSection };
|