@tesouro/embedded-components-react 0.3.19 → 0.3.22
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 +9 -0
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +28 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +81 -176
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +50 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +250 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +106 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +209 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +3 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +114 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +36 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +10 -283
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +199 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +14 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +314 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +85 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +113 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +5 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +81 -145
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +8 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +89 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +2 -0
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +19 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +72 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +99 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +35 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +171 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +5 -456
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +455 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +13 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +51 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +39 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +143 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +114 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +18 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +149 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +136 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +31 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +116 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +34 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +86 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +0 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +129 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +105 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +48 -779
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +780 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +84 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +105 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +163 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +204 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +82 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +146 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +95 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +13 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +41 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +219 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +32 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +168 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +66 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +104 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +72 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +14 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +91 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index612.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index613.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index614.js +0 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +66 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index617.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index619.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index620.js +29 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index621.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index622.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index623.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +1 -1
- 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/index7.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +16 -11
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +0 -2
|
@@ -1,26 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import { FinanceWidget as r } from "./index588.js";
|
|
6
|
-
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import { CircularProgress as o, Stack as s } from "@mui/material";
|
|
1
|
+
import { FinanceLimits as e } from "./index587.js";
|
|
2
|
+
import { FinanceOffers as t } from "./index588.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import { Box as i } from "@mui/material";
|
|
8
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
gap: 4,
|
|
17
|
-
px: 1.5,
|
|
18
|
-
height: "100%",
|
|
19
|
-
children: [u?.offers && u.offers.length > 0 && /* @__PURE__ */ i(r, { offers: u.offers }), /* @__PURE__ */ i(n, {
|
|
20
|
-
onRowClick: c,
|
|
21
|
-
offers: u?.offers
|
|
22
|
-
})]
|
|
23
|
-
}) : null;
|
|
24
|
-
};
|
|
6
|
+
var a = ({ offers: a }) => /* @__PURE__ */ r(i, {
|
|
7
|
+
sx: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
gap: 2
|
|
10
|
+
},
|
|
11
|
+
children: [/* @__PURE__ */ n(e, { offers: a }), a?.[0]?.status === "CURRENT" && /* @__PURE__ */ n(t, { offers: a })]
|
|
12
|
+
});
|
|
25
13
|
//#endregion
|
|
26
|
-
export {
|
|
14
|
+
export { a as FinanceWidget };
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./index567.js";
|
|
4
|
-
import "./index568.js";
|
|
1
|
+
import { useGetFinanceOffers as e } from "./index570.js";
|
|
2
|
+
import { useFinancing as t } from "./index573.js";
|
|
5
3
|
import "./index576.js";
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
import { FinancedInvoicesTable as n } from "./index581.js";
|
|
5
|
+
import { FinanceWidget as r } from "./index589.js";
|
|
6
|
+
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { CircularProgress as o, Stack as s } from "@mui/material";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js
|
|
9
|
+
var c = ({ onRowClick: c }) => {
|
|
10
|
+
let { isLoading: l, data: u } = e(), { isLoading: d, isEnabled: f } = t();
|
|
11
|
+
return d || l ? /* @__PURE__ */ i(o, {
|
|
12
|
+
color: "inherit",
|
|
13
|
+
size: 20
|
|
14
|
+
}) : f ? /* @__PURE__ */ a(s, {
|
|
15
|
+
mt: 4,
|
|
16
|
+
gap: 4,
|
|
17
|
+
px: 1.5,
|
|
18
|
+
height: "100%",
|
|
19
|
+
children: [u?.offers && u.offers.length > 0 && /* @__PURE__ */ i(r, { offers: u.offers }), /* @__PURE__ */ i(n, {
|
|
20
|
+
onRowClick: c,
|
|
21
|
+
offers: u?.offers
|
|
22
|
+
})]
|
|
23
|
+
}) : null;
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { c as FinanceTab };
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
1
|
+
import "./index566.js";
|
|
2
|
+
import "./index567.js";
|
|
3
|
+
import "./index568.js";
|
|
4
|
+
import "./index569.js";
|
|
5
|
+
import "./index577.js";
|
|
6
|
+
import "./index583.js";
|
|
7
|
+
import "./index579.js";
|
|
8
|
+
import "./index580.js";
|
|
3
9
|
import "./index584.js";
|
|
10
|
+
import "./index585.js";
|
|
11
|
+
import "./index581.js";
|
|
12
|
+
import "./index582.js";
|
|
13
|
+
import "./index586.js";
|
|
14
|
+
import "./index587.js";
|
|
15
|
+
import "./index588.js";
|
|
4
16
|
import "./index589.js";
|
|
5
17
|
import "./index590.js";
|
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "./index577.js";
|
|
2
|
+
import "./index583.js";
|
|
3
|
+
import "./index585.js";
|
|
4
|
+
import "./index590.js";
|
|
4
5
|
import "./index591.js";
|
|
5
|
-
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import { Box as o } from "@mui/material";
|
|
7
|
-
import { useLingui as s } from "@lingui/react";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js
|
|
9
|
-
function c() {
|
|
10
|
-
return /* @__PURE__ */ i(e, { children: /* @__PURE__ */ i(l, {}) });
|
|
11
|
-
}
|
|
12
|
-
function l() {
|
|
13
|
-
let { i18n: e } = s();
|
|
14
|
-
return /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ i(t, { title: /* @__PURE__ */ i(r, { children: e._("Integrations") }) }), /* @__PURE__ */ i(o, {
|
|
15
|
-
sx: {
|
|
16
|
-
display: "grid",
|
|
17
|
-
gridTemplateColumns: "minmax(360px, 480px) minmax(360px, 480px)",
|
|
18
|
-
gap: 2
|
|
19
|
-
},
|
|
20
|
-
children: /* @__PURE__ */ i(n, {})
|
|
21
|
-
})] });
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { c as Integrations };
|
|
@@ -1 +1,24 @@
|
|
|
1
|
+
import { MoniteScopedProviders as e } from "./index237.js";
|
|
2
|
+
import { PageHeader as t } from "./index337.js";
|
|
3
|
+
import { FinanceIntegrationCard as n } from "./index583.js";
|
|
1
4
|
import "./index592.js";
|
|
5
|
+
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Box as o } from "@mui/material";
|
|
7
|
+
import { useLingui as s } from "@lingui/react";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js
|
|
9
|
+
function c() {
|
|
10
|
+
return /* @__PURE__ */ i(e, { children: /* @__PURE__ */ i(l, {}) });
|
|
11
|
+
}
|
|
12
|
+
function l() {
|
|
13
|
+
let { i18n: e } = s();
|
|
14
|
+
return /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ i(t, { title: /* @__PURE__ */ i(r, { children: e._("Integrations") }) }), /* @__PURE__ */ i(o, {
|
|
15
|
+
sx: {
|
|
16
|
+
display: "grid",
|
|
17
|
+
gridTemplateColumns: "minmax(360px, 480px) minmax(360px, 480px)",
|
|
18
|
+
gap: 2
|
|
19
|
+
},
|
|
20
|
+
children: /* @__PURE__ */ i(n, {})
|
|
21
|
+
})] });
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { c as Integrations };
|
|
@@ -1,24 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createContext as t, useCallback as n, useContext as r, useState as i } from "react";
|
|
3
|
-
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js
|
|
5
|
-
var o = t(null);
|
|
6
|
-
function s() {
|
|
7
|
-
let e = r(o);
|
|
8
|
-
if (!e) throw Error("Could not find DiscardChangesContext. Make sure that you are using \"DiscardChangesContext\" component before calling this hook.");
|
|
9
|
-
return e;
|
|
10
|
-
}
|
|
11
|
-
var c = ({ children: t }) => /* @__PURE__ */ a(e, { children: /* @__PURE__ */ a(l, { children: t }) }), l = ({ children: e }) => {
|
|
12
|
-
let [t, r] = i(!1), s = n((e) => {
|
|
13
|
-
r(e);
|
|
14
|
-
}, []);
|
|
15
|
-
return /* @__PURE__ */ a(o.Provider, {
|
|
16
|
-
value: {
|
|
17
|
-
handleShowModal: s,
|
|
18
|
-
shouldShowChangesModal: t
|
|
19
|
-
},
|
|
20
|
-
children: e
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
//#endregion
|
|
24
|
-
export { o as DiscardChangesContext, c as DiscardChangesContextProvider, s as useDiscardChangesContext };
|
|
1
|
+
import "./index593.js";
|
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "react";
|
|
3
|
-
import "react-
|
|
4
|
-
|
|
1
|
+
import { MoniteScopedProviders as e } from "./index237.js";
|
|
2
|
+
import { createContext as t, useCallback as n, useContext as r, useState as i } from "react";
|
|
3
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js
|
|
5
|
+
var o = t(null);
|
|
6
|
+
function s() {
|
|
7
|
+
let e = r(o);
|
|
8
|
+
if (!e) throw Error("Could not find DiscardChangesContext. Make sure that you are using \"DiscardChangesContext\" component before calling this hook.");
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
var c = ({ children: t }) => /* @__PURE__ */ a(e, { children: /* @__PURE__ */ a(l, { children: t }) }), l = ({ children: e }) => {
|
|
12
|
+
let [t, r] = i(!1), s = n((e) => {
|
|
13
|
+
r(e);
|
|
14
|
+
}, []);
|
|
15
|
+
return /* @__PURE__ */ a(o.Provider, {
|
|
16
|
+
value: {
|
|
17
|
+
handleShowModal: s,
|
|
18
|
+
shouldShowChangesModal: t
|
|
19
|
+
},
|
|
20
|
+
children: e
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { o as DiscardChangesContext, c as DiscardChangesContextProvider, s as useDiscardChangesContext };
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return t.finops.putEntitiesIdLogo.useMutation(void 0, { onSuccess: async (e) => {
|
|
6
|
-
t.finops.getEntityUsersMyEntity.setQueryData({}, (t) => t && {
|
|
7
|
-
...t,
|
|
8
|
-
logo: e
|
|
9
|
-
}, n), await t.finops.getEntityUsersMyEntity.invalidateQueries(n);
|
|
10
|
-
} });
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { t as useUploadEntityLogo };
|
|
1
|
+
import "./index47.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-hot-toast";
|
|
4
|
+
import "@lingui/react";
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
-
import { toast as t } from "react-hot-toast";
|
|
3
|
-
import { useLingui as n } from "@lingui/react";
|
|
4
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js
|
|
5
|
-
var
|
|
6
|
-
let { api:
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
});
|
|
3
|
+
var t = () => {
|
|
4
|
+
let { api: t, queryClient: n } = e();
|
|
5
|
+
return t.finops.putEntitiesIdLogo.useMutation(void 0, { onSuccess: async (e) => {
|
|
6
|
+
t.finops.getEntityUsersMyEntity.setQueryData({}, (t) => t && {
|
|
7
|
+
...t,
|
|
8
|
+
logo: e
|
|
9
|
+
}, n), await t.finops.getEntityUsersMyEntity.invalidateQueries(n);
|
|
10
|
+
} });
|
|
15
11
|
};
|
|
16
12
|
//#endregion
|
|
17
|
-
export {
|
|
13
|
+
export { t as useUploadEntityLogo };
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { toast as t } from "react-hot-toast";
|
|
3
|
+
import { useLingui as n } from "@lingui/react";
|
|
2
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js
|
|
3
|
-
var
|
|
4
|
-
let { api:
|
|
5
|
-
return
|
|
5
|
+
var r = (r) => {
|
|
6
|
+
let { api: i, queryClient: a } = e(), { i18n: o } = n();
|
|
7
|
+
return i.finops.deleteEntitiesIdLogo.useMutation({ path: { entity_id: r } }, {
|
|
8
|
+
onSuccess: async () => {
|
|
9
|
+
await i.finops.getEntityUsersMyEntity.invalidateQueries(a), t.success(o._("Logo was removed."));
|
|
10
|
+
},
|
|
11
|
+
onError: () => {
|
|
12
|
+
t.error(o._("Failed to remove logo."));
|
|
13
|
+
}
|
|
14
|
+
});
|
|
6
15
|
};
|
|
7
16
|
//#endregion
|
|
8
|
-
export {
|
|
17
|
+
export { r as useDeleteEntityLogo };
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
-
import { toast as t } from "react-hot-toast";
|
|
3
|
-
import { useLingui as n } from "@lingui/react";
|
|
4
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js
|
|
5
|
-
var
|
|
6
|
-
let { api:
|
|
7
|
-
return
|
|
8
|
-
t.success(o._("Settings updated successfully.")), i.finops.getEntitiesIdSettings.invalidateQueries({ parameters: { path: { entity_id: r } } }, a), i.finops.getDocumentsIdNextNumbers.invalidateQueries({ parameters: { path: { entity_id: r } } }, a);
|
|
9
|
-
} });
|
|
3
|
+
var t = (t, n = !0) => {
|
|
4
|
+
let { api: r } = e();
|
|
5
|
+
return r.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: t } }, { enabled: n && !!t });
|
|
10
6
|
};
|
|
11
7
|
//#endregion
|
|
12
|
-
export {
|
|
8
|
+
export { t as useGetEntitySettings };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { toast as t } from "react-hot-toast";
|
|
3
|
+
import { useLingui as n } from "@lingui/react";
|
|
2
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js
|
|
3
|
-
var
|
|
4
|
-
let { api:
|
|
5
|
-
return
|
|
5
|
+
var r = (r) => {
|
|
6
|
+
let { api: i, queryClient: a } = e(), { i18n: o } = n();
|
|
7
|
+
return i.finops.patchEntitiesIdSettings.useMutation(void 0, { onSuccess: () => {
|
|
8
|
+
t.success(o._("Settings updated successfully.")), i.finops.getEntitiesIdSettings.invalidateQueries({ parameters: { path: { entity_id: r } } }, a), i.finops.getDocumentsIdNextNumbers.invalidateQueries({ parameters: { path: { entity_id: r } } }, a);
|
|
9
|
+
} });
|
|
6
10
|
};
|
|
7
11
|
//#endregion
|
|
8
|
-
export {
|
|
12
|
+
export { r as usePatchEntitySettings };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js
|
|
3
|
+
var t = (t, n = !0) => {
|
|
4
|
+
let { api: r } = e();
|
|
5
|
+
return r.finops.getDocumentsIdNextNumbers.useQuery({ path: { entity_id: t } }, { enabled: n && !!t });
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as useGetEntityDocumentNumber };
|
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
let e;
|
|
8
|
-
return r && (e = setInterval(() => {
|
|
9
|
-
s((e) => e < 98 ? e + 2 : e === 98 ? e + 1 : e);
|
|
10
|
-
}, 200)), () => {
|
|
11
|
-
clearInterval(e);
|
|
12
|
-
};
|
|
13
|
-
}, [r]), a ? /* @__PURE__ */ n("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-success ttw:rounded-md" }) : i ? /* @__PURE__ */ n("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-danger ttw:rounded-md" }) : /* @__PURE__ */ n("div", {
|
|
14
|
-
className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-neutral ttw:rounded-md",
|
|
15
|
-
children: /* @__PURE__ */ n("div", {
|
|
16
|
-
className: "ttw:bg-primary ttw:h-full ttw:rounded-md",
|
|
17
|
-
style: { width: `${o}%` }
|
|
18
|
-
})
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
export { r as UploadBar };
|
|
1
|
+
import "./index599.js";
|
|
2
|
+
import "./index601.js";
|
|
3
|
+
import "./index597.js";
|
|
4
|
+
import "./index598.js";
|
|
5
|
+
import "./index596.js";
|
|
6
|
+
import "./index600.js";
|
|
@@ -1,73 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import { Typography as t } from "./index62.js";
|
|
4
|
-
import { UploadBar as n } from "./index602.js";
|
|
5
|
-
import { useEffect as r } from "react";
|
|
6
|
-
import { AlertCircle as i, CheckCircle2 as a, CloudUpload as o, X as s } from "lucide-react";
|
|
7
|
-
import { Fragment as c, jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
8
|
-
import { useLingui as d } from "@lingui/react";
|
|
9
|
-
import { twMerge as f } from "tailwind-merge";
|
|
1
|
+
import { useEffect as e, useState as t } from "react";
|
|
2
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
10
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js
|
|
11
|
-
var
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
return h ? /* @__PURE__ */ l(i, { className: "ttw:size-5 ttw:text-danger" }) : m ? /* @__PURE__ */ l(a, { className: "ttw:size-5 ttw:text-success" }) : /* @__PURE__ */ l(e, { className: "ttw:w-5 ttw:h-5" });
|
|
15
|
-
}
|
|
16
|
-
return r(() => {
|
|
4
|
+
var r = ({ shouldStartProgress: r, isError: i, isSuccess: a }) => {
|
|
5
|
+
let [o, s] = t(0);
|
|
6
|
+
return e(() => {
|
|
17
7
|
let e;
|
|
18
|
-
return
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
className: "ttw:w-full ttw:text-sm ttw:leading-5 ttw:text-medium ttw:text-neutral ttw:truncate",
|
|
30
|
-
children: v
|
|
31
|
-
})]
|
|
32
|
-
}), /* @__PURE__ */ u("div", {
|
|
33
|
-
className: "ttw:flex ttw:gap-2 ttw:items-center",
|
|
34
|
-
children: [/* @__PURE__ */ l(n, {
|
|
35
|
-
shouldStartProgress: p,
|
|
36
|
-
isError: h,
|
|
37
|
-
isSuccess: m
|
|
38
|
-
}), h && /* @__PURE__ */ l("button", {
|
|
39
|
-
type: "button",
|
|
40
|
-
disabled: p,
|
|
41
|
-
onClick: _,
|
|
42
|
-
className: "ttw:border-none ttw:cursor-pointer",
|
|
43
|
-
children: /* @__PURE__ */ l(s, { className: "ttw:size-4" })
|
|
44
|
-
})]
|
|
45
|
-
})]
|
|
46
|
-
}), h && /* @__PURE__ */ l(t, {
|
|
47
|
-
variant: "body2",
|
|
48
|
-
color: "destructive",
|
|
49
|
-
className: "ttw:font-medium",
|
|
50
|
-
children: b._("Wrong file format. Please, upload the file in JPEG, PNG or GIF format.")
|
|
51
|
-
})] }) : /* @__PURE__ */ u(c, { children: [
|
|
52
|
-
/* @__PURE__ */ l("div", {
|
|
53
|
-
className: "ttw:p-3 ttw:bg-primary ttw:rounded-full",
|
|
54
|
-
children: /* @__PURE__ */ l(o, { className: "ttw:text-white ttw:size-5" })
|
|
55
|
-
}),
|
|
56
|
-
/* @__PURE__ */ u(t, {
|
|
57
|
-
variant: "body2",
|
|
58
|
-
className: "ttw:font-medium",
|
|
59
|
-
children: [b._("Drop your files here, or "), /* @__PURE__ */ l("span", {
|
|
60
|
-
className: "ttw:text-primary ttw:underline ttw:hover:cursor-pointer",
|
|
61
|
-
children: b._("click to browse")
|
|
62
|
-
})]
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ l(t, {
|
|
65
|
-
variant: "caption",
|
|
66
|
-
color: "muted",
|
|
67
|
-
children: b._("PNG, JPG or GIF (max. 10MB)")
|
|
68
|
-
})
|
|
69
|
-
] })
|
|
8
|
+
return r && (e = setInterval(() => {
|
|
9
|
+
s((e) => e < 98 ? e + 2 : e === 98 ? e + 1 : e);
|
|
10
|
+
}, 200)), () => {
|
|
11
|
+
clearInterval(e);
|
|
12
|
+
};
|
|
13
|
+
}, [r]), a ? /* @__PURE__ */ n("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-success ttw:rounded-md" }) : i ? /* @__PURE__ */ n("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-danger ttw:rounded-md" }) : /* @__PURE__ */ n("div", {
|
|
14
|
+
className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-neutral ttw:rounded-md",
|
|
15
|
+
children: /* @__PURE__ */ n("div", {
|
|
16
|
+
className: "ttw:bg-primary ttw:h-full ttw:rounded-md",
|
|
17
|
+
style: { width: `${o}%` }
|
|
18
|
+
})
|
|
70
19
|
});
|
|
71
20
|
};
|
|
72
21
|
//#endregion
|
|
73
|
-
export {
|
|
22
|
+
export { r as UploadBar };
|