@tesouro/embedded-components-react 0.5.136 → 0.5.139
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/index.css +0 -6
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.js +50 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +26 -129
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +145 -204
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +214 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +4 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +5 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +113 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +93 -79
- 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 +51 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +575 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +1 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +157 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +1 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +24 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +10 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +16 -597
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +126 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +11 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +5 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +120 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +21 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +6 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +7 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +72 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +26 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +19 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +20 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +183 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +59 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +31 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +11 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +43 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +5 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +9 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +20 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +12 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +13 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +15 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +37 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +5 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +62 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +196 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +41 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +5 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +3 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +407 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +18 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +95 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +180 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +98 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +49 -419
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +18 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +158 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +7 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +55 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +51 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +80 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +307 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +158 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +34 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +3 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +181 -340
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +134 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +209 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +14 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +229 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +34 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +135 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +163 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +26 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +8 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +36 -207
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +154 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +67 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +217 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +83 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +184 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +169 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +15 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +383 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +88 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +198 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +30 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +84 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +136 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +35 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +58 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +54 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +135 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +552 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +145 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +142 -382
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +36 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +59 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +67 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +147 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +57 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +82 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +14 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +16 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +21 -552
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +89 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +41 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +27 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +12 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +5 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +102 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +35 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +43 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +71 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +99 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +186 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +139 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +130 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +77 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +245 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +6 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +398 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +22 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +18 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +44 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +45 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +14 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +39 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +140 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +112 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +39 -246
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +33 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +24 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +22 -399
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +71 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +179 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +138 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +28 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +93 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +44 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +36 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +76 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +33 -177
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +82 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +50 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +1 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +1 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +133 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +109 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +49 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +787 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +88 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +101 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +23 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +23 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +165 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +208 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +87 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +17 -789
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +154 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +98 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +46 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +47 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +63 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +164 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +175 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +1 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +34 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +18 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +179 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +203 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +98 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +66 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +51 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +91 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +40 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +69 -174
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +80 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +12 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +4 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +64 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +36 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +31 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +2 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +93 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index10.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index2.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index3.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index4.js +31 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index5.js +22 -13
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index6.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index7.js +19 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index8.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index9.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index10.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index11.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index4.js +16 -58
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index5.js +95 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index7.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index8.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index9.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index2.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/{shared/tag-selection/ui/dist/index3.js → settings-widget/tags/ui/dist/index5.js} +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +17 -17
- 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/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +539 -533
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +0 -97
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index2.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index3.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index4.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index5.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index6.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index7.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/index.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/TagSelectorField.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/helpers.js +0 -38
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/labels.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/permissions.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/useTagCreateForm.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index2.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index4.js +0 -4
|
@@ -1,149 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { useMyEntity as a } from "./index139.js";
|
|
8
|
-
import "./index144.js";
|
|
9
|
-
import { Dialog as o, DialogContent as s, DialogDescription as c, DialogFooter as l, DialogHeader as u, DialogTitle as d } from "./index57.js";
|
|
10
|
-
import { ConfirmationModal as f } from "./index58.js";
|
|
11
|
-
import "./index59.js";
|
|
12
|
-
import { useUserPermissions as p } from "./index118.js";
|
|
13
|
-
import { buildInvoicePreviewData as ee } from "./index175.js";
|
|
14
|
-
import "./index182.js";
|
|
15
|
-
import { LoadingPage as te } from "./index264.js";
|
|
16
|
-
import "./index265.js";
|
|
17
|
-
import { CustomerSection as ne } from "./index465.js";
|
|
18
|
-
import { BillingSection as re } from "./index477.js";
|
|
19
|
-
import { ItemsSection as ie } from "./index502.js";
|
|
20
|
-
import { BankAccountSection as m } from "./index504.js";
|
|
21
|
-
import { NotesSection as h } from "./index505.js";
|
|
22
|
-
import { AttachmentSection as g } from "./index506.js";
|
|
23
|
-
import { InvoicePreview as _ } from "./index515.js";
|
|
24
|
-
import { useMemo as v, useState as y } from "react";
|
|
25
|
-
import { X as b } from "lucide-react";
|
|
26
|
-
import { Fragment as x, jsx as S, jsxs as C } from "@emotion/react/jsx-runtime";
|
|
27
|
-
import { useLingui as w } from "@lingui/react";
|
|
28
|
-
import { FormProvider as T } from "react-hook-form";
|
|
1
|
+
import { Dialog as e, DialogContent as t } from "./index57.js";
|
|
2
|
+
import { ActionsModalIssueStep as n } from "./index514.js";
|
|
3
|
+
import { ActionsModalProductsStep as r } from "./index515.js";
|
|
4
|
+
import { useState as i } from "react";
|
|
5
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useLingui as o } from "@lingui/react";
|
|
29
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js
|
|
30
|
-
var
|
|
31
|
-
let { i18n:
|
|
32
|
-
|
|
33
|
-
|
|
8
|
+
var s = ({ open: s, onClose: c, action: l, inlineLineItems: u, issue: d, isEditFlow: f = !1 }) => {
|
|
9
|
+
let { i18n: p } = o(), [m, h] = i(d ? "issue" : "products"), [g, _] = i(null), v = (e) => {
|
|
10
|
+
_(e), u.length > 0 ? h("products") : c();
|
|
11
|
+
}, y = g === "sent" ? p._("Invoice sent") : g === "issued" || l === "issue" ? p._("Invoice issued") : l === "recurrence" ? p._("Recurring billing activated") : l === "update" ? p._("Invoice updated") : p._("Draft saved");
|
|
12
|
+
return /* @__PURE__ */ a(e, {
|
|
13
|
+
open: s,
|
|
34
14
|
onOpenChange: (e) => {
|
|
35
|
-
e ||
|
|
15
|
+
e || (m === "issue" ? v("issued") : c());
|
|
36
16
|
},
|
|
37
|
-
|
|
38
|
-
children: /* @__PURE__ */ C(s, {
|
|
17
|
+
children: /* @__PURE__ */ a(t, {
|
|
39
18
|
showCloseButton: !1,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
children: A ?? U._("Invoice details")
|
|
53
|
-
})]
|
|
54
|
-
}), /* @__PURE__ */ S(r, {
|
|
55
|
-
variant: "ghost",
|
|
56
|
-
type: "button",
|
|
57
|
-
className: "ttw:p-2 ttw:has-[>svg]:px-2",
|
|
58
|
-
onClick: D,
|
|
59
|
-
disabled: ae,
|
|
60
|
-
"aria-label": U._("Close"),
|
|
61
|
-
children: /* @__PURE__ */ S(b, { className: "ttw:size-6.5" })
|
|
62
|
-
})]
|
|
63
|
-
}), /* @__PURE__ */ C("div", {
|
|
64
|
-
className: "ttw:flex ttw:flex-1 ttw:min-h-0",
|
|
65
|
-
children: [/* @__PURE__ */ C("div", {
|
|
66
|
-
ref: L,
|
|
67
|
-
className: "ttw:w-1/2 ttw:h-full ttw:min-h-0 ttw:overflow-auto ttw:px-8 ttw:pt-6",
|
|
68
|
-
children: [/* @__PURE__ */ S(T, {
|
|
69
|
-
...O,
|
|
70
|
-
children: /* @__PURE__ */ S("form", {
|
|
71
|
-
id: F,
|
|
72
|
-
noValidate: !0,
|
|
73
|
-
className: "ttw:pb-10",
|
|
74
|
-
onSubmit: I,
|
|
75
|
-
children: /* @__PURE__ */ C("div", {
|
|
76
|
-
className: "ttw:flex ttw:flex-col ttw:gap-8",
|
|
77
|
-
children: [
|
|
78
|
-
/* @__PURE__ */ S(ne, {
|
|
79
|
-
disabled: B,
|
|
80
|
-
canCreateCounterpart: K,
|
|
81
|
-
isEditCustomerOpen: le,
|
|
82
|
-
handleOpenEditCustomer: ue,
|
|
83
|
-
counterpart: Q
|
|
84
|
-
}),
|
|
85
|
-
/* @__PURE__ */ S(re, {
|
|
86
|
-
paymentTerms: J,
|
|
87
|
-
isPaymentTermsLoading: oe,
|
|
88
|
-
disabled: B,
|
|
89
|
-
showPurchaseOrder: N,
|
|
90
|
-
lockRecurrenceSchedule: P
|
|
91
|
-
}),
|
|
92
|
-
/* @__PURE__ */ S(ie, {
|
|
93
|
-
registerLineItemCleanupFn: R,
|
|
94
|
-
defaultCurrency: j
|
|
95
|
-
}),
|
|
96
|
-
q && /* @__PURE__ */ S(m, {
|
|
97
|
-
disabled: B,
|
|
98
|
-
embeddedBankName: M
|
|
99
|
-
}),
|
|
100
|
-
/* @__PURE__ */ S(h, { disabled: B }),
|
|
101
|
-
/* @__PURE__ */ S(g, {
|
|
102
|
-
disabled: B,
|
|
103
|
-
onUploadingChange: z
|
|
104
|
-
})
|
|
105
|
-
]
|
|
106
|
-
})
|
|
107
|
-
})
|
|
108
|
-
}), /* @__PURE__ */ S(l, {
|
|
109
|
-
className: "ttw:sticky ttw:bottom-0 ttw:z-10 ttw:flex ttw:items-center ttw:justify-end ttw:gap-4 ttw:bg-background ttw:pt-3 ttw:px-6 ttw:pb-6",
|
|
110
|
-
children: V
|
|
111
|
-
})]
|
|
112
|
-
}), /* @__PURE__ */ S("div", {
|
|
113
|
-
className: "ttw:w-1/2 ttw:h-full ttw:min-h-0 ttw:overflow-auto",
|
|
114
|
-
style: { background: "linear-gradient(180deg, #F6F6F6 0%, #E4E4FF 100%)" },
|
|
115
|
-
children: /* @__PURE__ */ S(_, {
|
|
116
|
-
invoiceData: ee({
|
|
117
|
-
lineItems: fe,
|
|
118
|
-
paymentTermsId: pe,
|
|
119
|
-
paymentTermsCustomDate: me,
|
|
120
|
-
memo: he,
|
|
121
|
-
footer: ge,
|
|
122
|
-
bankAccountId: xe,
|
|
123
|
-
bankAccountType: Se,
|
|
124
|
-
taxMode: _e,
|
|
125
|
-
purchaseOrder: ve,
|
|
126
|
-
taxRate: ye,
|
|
127
|
-
discount: be
|
|
128
|
-
}),
|
|
129
|
-
counterpart: Q,
|
|
130
|
-
currency: j,
|
|
131
|
-
entityData: ce,
|
|
132
|
-
address: de,
|
|
133
|
-
paymentTerms: J
|
|
134
|
-
})
|
|
135
|
-
})]
|
|
136
|
-
})]
|
|
19
|
+
className: "ttw:gap-0 ttw:p-0 ttw:max-w-178 ttw:sm:max-w-178",
|
|
20
|
+
children: m === "issue" && d ? /* @__PURE__ */ a(n, {
|
|
21
|
+
receivableId: d.receivableId,
|
|
22
|
+
counterpartId: d.counterpartId,
|
|
23
|
+
isEditFlow: f,
|
|
24
|
+
onSkip: () => v("issued"),
|
|
25
|
+
onSent: () => v("sent")
|
|
26
|
+
}) : /* @__PURE__ */ a(r, {
|
|
27
|
+
inlineLineItems: u,
|
|
28
|
+
title: y,
|
|
29
|
+
onClose: c
|
|
30
|
+
})
|
|
137
31
|
})
|
|
138
|
-
})
|
|
139
|
-
open: H.open,
|
|
140
|
-
title: U._("You have unsaved changes"),
|
|
141
|
-
message: U._("Any unsaved changes will be lost. Are you sure you want to quit without saving?"),
|
|
142
|
-
confirmLabel: U._("Quit without saving"),
|
|
143
|
-
cancelLabel: U._("Cancel"),
|
|
144
|
-
onClose: () => H.onOpenChange(!1),
|
|
145
|
-
onConfirm: H.onConfirm
|
|
146
|
-
})] });
|
|
32
|
+
});
|
|
147
33
|
};
|
|
148
34
|
//#endregion
|
|
149
|
-
export {
|
|
35
|
+
export { s as ActionsModal };
|
|
@@ -2,117 +2,118 @@ import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
|
2
2
|
import "../../shared/data-access/dist/index.js";
|
|
3
3
|
import { useMoniteContext as t } from "./index46.js";
|
|
4
4
|
import { Button as n } from "./index55.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
5
|
+
import { getDraftInvoiceValidationSchema as r, getInvoiceValidationSchema as i } from "./index100.js";
|
|
6
|
+
import { useUserPermissions as a } from "./index118.js";
|
|
7
|
+
import { willRecurrenceIssue as o } from "./index169.js";
|
|
8
|
+
import { buildEditInvoiceFormValues as s } from "./index177.js";
|
|
9
|
+
import "./index182.js";
|
|
10
|
+
import { useMeasureUnitsMapping as c } from "./index196.js";
|
|
11
|
+
import { useGetRecurrenceById as l } from "./index199.js";
|
|
12
|
+
import { LoadingPage as u } from "./index264.js";
|
|
13
|
+
import "./index265.js";
|
|
14
|
+
import { useGetMeasureUnits as d } from "./index449.js";
|
|
15
|
+
import { useReceivableSubmit as f } from "./index450.js";
|
|
16
|
+
import { ReceivableFormLayout as p } from "./index504.js";
|
|
17
|
+
import { useCallback as m, useEffect as h, useMemo as g, useRef as _ } from "react";
|
|
18
|
+
import { Fragment as v, jsx as y, jsxs as b } from "@emotion/react/jsx-runtime";
|
|
19
|
+
import { useLingui as x } from "@lingui/react";
|
|
20
|
+
import { useForm as S } from "react-hook-form";
|
|
21
|
+
import { zodResolver as C } from "@hookform/resolvers/zod";
|
|
17
22
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js
|
|
18
|
-
var
|
|
19
|
-
let {
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
var w = (e) => {
|
|
24
|
+
let { data: t, isLoading: n } = l(e.invoice.recurrence_id);
|
|
25
|
+
return e.invoice.recurrence_id && n ? /* @__PURE__ */ y(u, {}) : /* @__PURE__ */ y(T, {
|
|
26
|
+
...e,
|
|
27
|
+
recurrence: t
|
|
28
|
+
});
|
|
29
|
+
}, T = ({ invoice: l, onCancel: u, onUpdated: w, isOpen: T, recurrence: E, issueIntent: D, embeddedBankName: O }) => {
|
|
30
|
+
let { i18n: k } = x(), { componentSettings: A } = t(), j = a().has(e.CounterpartWriteOrg), M = !!A?.receivables?.enableEntityBankAccount, N = _("draft"), { data: P } = d(), F = l.currency, I = g(() => s(l, E), [l, E]), L = g(() => E?.iterations?.filter((e) => e.issued_invoice_id).length ?? 0, [E?.iterations]), R = g(() => C(r(k, j, L)), [
|
|
31
|
+
k,
|
|
32
|
+
j,
|
|
33
|
+
L
|
|
34
|
+
]), z = g(() => C(i(k, M, j, L)), [
|
|
35
|
+
k,
|
|
36
|
+
M,
|
|
37
|
+
j,
|
|
38
|
+
L
|
|
39
|
+
]), B = m((e, t, n) => (N.current === "issue" || o(e) && L === 0 ? z : R)(e, t, n), [
|
|
40
|
+
z,
|
|
41
|
+
R,
|
|
42
|
+
L
|
|
43
|
+
]), V = S({
|
|
27
44
|
mode: "onBlur",
|
|
28
|
-
resolver:
|
|
29
|
-
defaultValues:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
footer: "",
|
|
45
|
-
tax_mode: "exclusive",
|
|
46
|
-
frequency: "once",
|
|
47
|
-
recurrence_start_date: void 0,
|
|
48
|
-
recurrence_end_date: void 0,
|
|
49
|
-
recurrence_issue_mode: "first_day",
|
|
50
|
-
recurrence_days_of_week: void 0,
|
|
51
|
-
recurrence_end_mode: "after",
|
|
52
|
-
recurrence_max_occurrences: void 0,
|
|
53
|
-
tax_rate: void 0,
|
|
54
|
-
discount: null,
|
|
55
|
-
attachments: []
|
|
56
|
-
}), [r, w])
|
|
57
|
-
}), P = l({
|
|
58
|
-
mode: "create",
|
|
59
|
-
methods: N,
|
|
60
|
-
currency: x,
|
|
61
|
-
submitModeRef: k,
|
|
62
|
-
onComplete: (e) => c?.(e.receivableId, {
|
|
63
|
-
mode: e.mode,
|
|
64
|
-
counterpartId: e.counterpartId,
|
|
45
|
+
resolver: B,
|
|
46
|
+
defaultValues: I
|
|
47
|
+
}), { getValues: H, reset: U } = V;
|
|
48
|
+
c(P, H, U);
|
|
49
|
+
let W = !!E?.iterations?.some((e) => e.issued_invoice_id), G = f({
|
|
50
|
+
mode: "edit",
|
|
51
|
+
methods: V,
|
|
52
|
+
currency: F,
|
|
53
|
+
invoice: l,
|
|
54
|
+
submitModeRef: N,
|
|
55
|
+
existingRecurrence: E ? {
|
|
56
|
+
id: E.id,
|
|
57
|
+
scheduleLocked: W
|
|
58
|
+
} : void 0,
|
|
59
|
+
hasStartedRecurrence: L > 0,
|
|
60
|
+
onComplete: (e) => w(e.receivable, {
|
|
65
61
|
inlineLineItems: e.inlineLineItems,
|
|
62
|
+
activatedRecurrence: e.mode === "recurrence",
|
|
63
|
+
issued: e.mode === "issue",
|
|
64
|
+
counterpartId: e.counterpartId,
|
|
66
65
|
hasCustomerEmail: e.hasCustomerEmail
|
|
67
66
|
}),
|
|
68
|
-
onClose:
|
|
67
|
+
onClose: u
|
|
69
68
|
});
|
|
70
|
-
return
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
69
|
+
return h(() => {
|
|
70
|
+
D && G.highlightForIssue();
|
|
71
|
+
}, []), /* @__PURE__ */ y(p, {
|
|
72
|
+
open: T,
|
|
73
|
+
onRequestClose: G.requestClose,
|
|
74
|
+
methods: V,
|
|
75
|
+
title: k._("Edit invoice"),
|
|
76
|
+
currency: F,
|
|
77
|
+
embeddedBankName: O,
|
|
78
|
+
showPurchaseOrder: !1,
|
|
79
|
+
lockRecurrenceSchedule: W,
|
|
80
|
+
formName: G.formName,
|
|
81
|
+
onSubmit: G.onSubmit,
|
|
82
|
+
formScrollRef: G.formScrollRef,
|
|
83
|
+
registerLineItemCleanupFn: G.registerLineItemCleanupFn,
|
|
84
|
+
onAttachmentsUploadingChange: G.onAttachmentsUploadingChange,
|
|
85
|
+
disabled: G.isLoading,
|
|
86
|
+
closeDisabled: G.isSaving,
|
|
87
|
+
discardModal: G.discardModal,
|
|
88
|
+
footer: /* @__PURE__ */ b(v, { children: [
|
|
89
|
+
/* @__PURE__ */ y(n, {
|
|
89
90
|
variant: "outline",
|
|
90
91
|
className: "ttw:border-border",
|
|
91
|
-
onClick:
|
|
92
|
-
disabled:
|
|
93
|
-
children:
|
|
92
|
+
onClick: G.requestClose,
|
|
93
|
+
disabled: G.isSaving || G.attachmentsUploading,
|
|
94
|
+
children: k._("Cancel")
|
|
94
95
|
}),
|
|
95
|
-
!
|
|
96
|
+
!G.isRecurrenceEnabled && /* @__PURE__ */ y(n, {
|
|
96
97
|
variant: "secondary",
|
|
97
98
|
type: "submit",
|
|
98
|
-
form:
|
|
99
|
-
disabled:
|
|
99
|
+
form: G.formName,
|
|
100
|
+
disabled: G.isLoading || G.attachmentsUploading,
|
|
100
101
|
onClick: () => {
|
|
101
|
-
|
|
102
|
+
G.submitModeRef.current = "draft";
|
|
102
103
|
},
|
|
103
|
-
children:
|
|
104
|
+
children: k._("Update draft")
|
|
104
105
|
}),
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ y(n, {
|
|
106
107
|
type: "submit",
|
|
107
|
-
form:
|
|
108
|
-
disabled:
|
|
108
|
+
form: G.formName,
|
|
109
|
+
disabled: G.isLoading || G.attachmentsUploading || G.isIssuePreflightLoading || !G.isRecurrenceEnabled && G.isCustomerEmailLoading,
|
|
109
110
|
onClick: () => {
|
|
110
|
-
|
|
111
|
+
G.submitModeRef.current = G.isRecurrenceEnabled ? "draft" : "issue";
|
|
111
112
|
},
|
|
112
|
-
children:
|
|
113
|
+
children: G.isRecurrenceEnabled ? E ? k._("Update recurring billing schedule") : k._("Activate recurring billing schedule") : k._("Issue invoice")
|
|
113
114
|
}, "next")
|
|
114
115
|
] })
|
|
115
116
|
});
|
|
116
117
|
};
|
|
117
118
|
//#endregion
|
|
118
|
-
export {
|
|
119
|
+
export { w as EditInvoiceDetails };
|
|
@@ -1,43 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "react";
|
|
3
|
-
import { ChevronDownIcon as t } from "lucide-react";
|
|
4
|
-
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
5
|
-
import * as i from "@radix-ui/react-accordion";
|
|
1
|
+
import { Typography as e } from "./index61.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
6
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */ n(
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"data-slot": "accordion-item",
|
|
16
|
-
className: e("ttw:border-b ttw:border-border ttw:last:border-b-0", t),
|
|
17
|
-
...r
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function s({ className: a, children: o, ...s }) {
|
|
21
|
-
return /* @__PURE__ */ n(i.Header, {
|
|
22
|
-
className: "ttw:flex",
|
|
23
|
-
children: /* @__PURE__ */ r(i.Trigger, {
|
|
24
|
-
"data-slot": "accordion-trigger",
|
|
25
|
-
className: e("ttw:group ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:flex ttw:flex-1 ttw:cursor-pointer ttw:items-start ttw:justify-between ttw:gap-4 ttw:rounded-md ttw:py-4 ttw:text-left ttw:text-sm ttw:font-medium ttw:transition-all ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:pointer-events-none ttw:disabled:opacity-50 ttw:[&[data-state=open]>svg]:rotate-180", a),
|
|
26
|
-
...s,
|
|
27
|
-
children: [o, /* @__PURE__ */ n(t, { className: "ttw:text-muted-foreground ttw:pointer-events-none ttw:size-4 ttw:shrink-0 ttw:translate-y-0.5 ttw:transition-transform ttw:duration-200" })]
|
|
28
|
-
})
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
function c({ className: t, children: r, ...a }) {
|
|
32
|
-
return /* @__PURE__ */ n(i.Content, {
|
|
33
|
-
"data-slot": "accordion-content",
|
|
34
|
-
className: "ttw:data-[state=closed]:animate-accordion-up ttw:data-[state=open]:animate-accordion-down ttw:overflow-hidden ttw:text-sm",
|
|
35
|
-
...a,
|
|
36
|
-
children: /* @__PURE__ */ n("div", {
|
|
37
|
-
className: e("ttw:pt-0 ttw:pb-4", t),
|
|
4
|
+
function r({ label: r, value: i }) {
|
|
5
|
+
return /* @__PURE__ */ n("div", {
|
|
6
|
+
className: "ttw:flex ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0",
|
|
7
|
+
children: [/* @__PURE__ */ t(e, {
|
|
8
|
+
component: "span",
|
|
9
|
+
variant: "body2",
|
|
10
|
+
color: "muted",
|
|
11
|
+
className: "ttw:w-40 ttw:shrink-0",
|
|
38
12
|
children: r
|
|
39
|
-
})
|
|
13
|
+
}), /* @__PURE__ */ t(e, {
|
|
14
|
+
component: "span",
|
|
15
|
+
variant: "body2",
|
|
16
|
+
className: "ttw:whitespace-pre-line",
|
|
17
|
+
children: i
|
|
18
|
+
})]
|
|
40
19
|
});
|
|
41
20
|
}
|
|
42
21
|
//#endregion
|
|
43
|
-
export {
|
|
22
|
+
export { r as InvoiceDetailsInfoRow };
|
|
@@ -1,35 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx as
|
|
4
|
-
import * as r from "@radix-ui/react-tooltip";
|
|
1
|
+
import { Typography as e } from "./index61.js";
|
|
2
|
+
import { ChevronRight as t } from "lucide-react";
|
|
3
|
+
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
5
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js
|
|
6
|
-
function i({
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
function i({ label: i, name: a, onOpenCounterpart: o }) {
|
|
6
|
+
let s = "ttw:flex ttw:items-center ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0";
|
|
7
|
+
return o ? /* @__PURE__ */ r("button", {
|
|
8
|
+
type: "button",
|
|
9
|
+
onClick: o,
|
|
10
|
+
"aria-haspopup": "dialog",
|
|
11
|
+
className: `ttw:group ttw:w-full ttw:cursor-pointer ttw:rounded-sm ttw:text-left ttw:outline-none ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ${s}`,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ n(e, {
|
|
14
|
+
component: "span",
|
|
15
|
+
variant: "body2",
|
|
16
|
+
color: "muted",
|
|
17
|
+
className: "ttw:w-40 ttw:shrink-0",
|
|
18
|
+
children: i
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ n(e, {
|
|
21
|
+
component: "span",
|
|
22
|
+
variant: "body2",
|
|
23
|
+
color: "primary",
|
|
24
|
+
className: "ttw:underline-offset-4 ttw:group-hover:underline",
|
|
25
|
+
children: a
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ n(t, {
|
|
28
|
+
className: "ttw:ml-auto ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground",
|
|
29
|
+
"aria-hidden": "true"
|
|
30
|
+
})
|
|
31
|
+
]
|
|
32
|
+
}) : /* @__PURE__ */ r("div", {
|
|
33
|
+
className: s,
|
|
34
|
+
children: [/* @__PURE__ */ n(e, {
|
|
35
|
+
component: "span",
|
|
36
|
+
variant: "body2",
|
|
37
|
+
color: "muted",
|
|
38
|
+
className: "ttw:w-40 ttw:shrink-0",
|
|
39
|
+
children: i
|
|
40
|
+
}), /* @__PURE__ */ n(e, {
|
|
41
|
+
component: "span",
|
|
42
|
+
variant: "body2",
|
|
43
|
+
children: a
|
|
44
|
+
})]
|
|
11
45
|
});
|
|
12
46
|
}
|
|
13
|
-
function a({ ...e }) {
|
|
14
|
-
return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(r.Root, {
|
|
15
|
-
"data-slot": "tooltip",
|
|
16
|
-
...e
|
|
17
|
-
}) });
|
|
18
|
-
}
|
|
19
|
-
function o({ ...e }) {
|
|
20
|
-
return /* @__PURE__ */ t(r.Trigger, {
|
|
21
|
-
"data-slot": "tooltip-trigger",
|
|
22
|
-
...e
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function s({ className: i, sideOffset: a = 0, children: o, ...s }) {
|
|
26
|
-
return /* @__PURE__ */ t(r.Portal, { children: /* @__PURE__ */ n(r.Content, {
|
|
27
|
-
"data-slot": "tooltip-content",
|
|
28
|
-
sideOffset: a,
|
|
29
|
-
className: e("ttw:bg-primary ttw:text-primary-foreground ttw:animate-in ttw:fade-in-0 ttw:zoom-in-95 ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-fit ttw:origin-(--radix-tooltip-content-transform-origin) ttw:rounded-md ttw:px-3 ttw:py-1.5 ttw:text-xs ttw:text-balance", i),
|
|
30
|
-
...s,
|
|
31
|
-
children: [o, /* @__PURE__ */ t(r.Arrow, { className: "ttw:bg-primary ttw:fill-primary ttw:z-1300 ttw:size-2.5 ttw:translate-y-[calc(-50%_-_2px)] ttw:rotate-45 ttw:rounded-[2px]" })]
|
|
32
|
-
}) });
|
|
33
|
-
}
|
|
34
47
|
//#endregion
|
|
35
|
-
export {
|
|
48
|
+
export { i as InvoiceDetailsCustomerRow };
|
|
@@ -1,26 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { invalidateReceivableLists as r } from "./index158.js";
|
|
1
|
+
import { useMoniteContext as e } from "./index46.js";
|
|
2
|
+
import { invalidateReceivableHistory as t } from "./index157.js";
|
|
3
|
+
import { invalidateReceivableLists as n } from "./index158.js";
|
|
5
4
|
import "./index182.js";
|
|
6
|
-
import { toast as
|
|
7
|
-
import { useLingui as
|
|
5
|
+
import { toast as r } from "react-hot-toast";
|
|
6
|
+
import { useLingui as i } from "@lingui/react";
|
|
8
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js
|
|
9
|
-
var
|
|
10
|
-
let { i18n:
|
|
11
|
-
return
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
l.finops.getReceivablesId.invalidateQueries({ parameters: { path: { receivable_id: s } } }, u),
|
|
19
|
-
n(l, u, s),
|
|
20
|
-
l.finops.getRecurrencesId.invalidateQueries({ parameters: { path: { recurrence_id: o } } }, u)
|
|
21
|
-
]), i.success(c._("Series has been paused"));
|
|
22
|
-
}
|
|
23
|
-
});
|
|
8
|
+
var a = (a) => {
|
|
9
|
+
let { i18n: o } = i(), { api: s, queryClient: c } = e();
|
|
10
|
+
return s.finops.postReceivablesIdCancel.useMutation({ path: { receivable_id: a } }, { onSuccess: async () => {
|
|
11
|
+
let e = s.finops.getReceivablesId.getQueryData({ path: { receivable_id: a } }, c);
|
|
12
|
+
e?.type === "invoice" && s.finops.getReceivablesId.setQueryData({ path: { receivable_id: a } }, {
|
|
13
|
+
...e,
|
|
14
|
+
status: "canceled"
|
|
15
|
+
}, c), await Promise.all([n(s, c), t(s, c, a)]), r.success(o._("This {type} has been canceled", { type: e?.type === "credit_note" ? "credit memo" : e?.type }));
|
|
16
|
+
} });
|
|
24
17
|
};
|
|
25
18
|
//#endregion
|
|
26
|
-
export {
|
|
19
|
+
export { a as useCancelReceivableById };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import { useLingui as a } from "@lingui/react";
|
|
1
|
+
import { useGetReceivableById as e } from "./index143.js";
|
|
2
|
+
import { ConfirmationModal as t } from "./index58.js";
|
|
3
|
+
import "./index59.js";
|
|
4
|
+
import { useCancelReceivableById as n } from "./index520.js";
|
|
5
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useLingui as i } from "@lingui/react";
|
|
8
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js
|
|
9
|
-
var
|
|
10
|
-
let { i18n: c } =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
var a = ({ invoiceId: a, open: o, onClose: s }) => {
|
|
9
|
+
let { i18n: c } = i(), { data: l, isLoading: u } = e(a), d = n(a);
|
|
10
|
+
if (!l) return null;
|
|
11
|
+
let f = l.document_id ? c._("Cancel receivable") + ` "${l?.document_id}"?` : c._("Cancel receivable?");
|
|
12
|
+
return /* @__PURE__ */ r(t, {
|
|
13
|
+
open: o && !!a,
|
|
14
|
+
title: f,
|
|
15
|
+
message: c._("This action can't be undone."),
|
|
16
|
+
confirmLabel: c._("Cancel"),
|
|
17
|
+
cancelLabel: c._("Close"),
|
|
18
|
+
onClose: s,
|
|
19
|
+
onConfirm: () => {
|
|
20
|
+
d.mutate(void 0, { onSuccess: s });
|
|
14
21
|
},
|
|
15
|
-
|
|
16
|
-
await Promise.all([
|
|
17
|
-
r(l, u),
|
|
18
|
-
l.finops.getReceivablesId.invalidateQueries({ parameters: { path: { receivable_id: s } } }, u),
|
|
19
|
-
n(l, u, s),
|
|
20
|
-
l.finops.getRecurrencesId.invalidateQueries({ parameters: { path: { recurrence_id: o } } }, u)
|
|
21
|
-
]), i.success(c._("Series has been resumed"));
|
|
22
|
-
}
|
|
22
|
+
isLoading: d.isPending || u
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
26
|
-
export {
|
|
26
|
+
export { a as InvoiceCancelModal };
|