@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,165 +1,101 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { CalendarIcon as C } from "lucide-react";
|
|
1
|
+
import { Button as e, Dialog as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o, cn as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { RevealableField as c } from "./index77.js";
|
|
3
|
+
import "./index78.js";
|
|
4
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as l } from "./index79.js";
|
|
5
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
7
6
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
open: y,
|
|
20
|
-
onOpenChange: (e) => e ? T(e) : G(),
|
|
21
|
-
children: /* @__PURE__ */ S(i, {
|
|
22
|
-
"data-testid": K,
|
|
23
|
-
className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-3",
|
|
7
|
+
function f({ open: f, onOpenChange: p, amountLabel: m, amount: h, rows: g, payTo: _, isSubmitting: v, onBack: y, onCancel: b, onSubmit: x, testId: S, labels: C }) {
|
|
8
|
+
let w = {
|
|
9
|
+
...l,
|
|
10
|
+
...C
|
|
11
|
+
};
|
|
12
|
+
return /* @__PURE__ */ u(t, {
|
|
13
|
+
open: f,
|
|
14
|
+
onOpenChange: (e) => e ? p(e) : b(),
|
|
15
|
+
children: /* @__PURE__ */ d(n, {
|
|
16
|
+
"data-testid": S,
|
|
17
|
+
className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-6",
|
|
24
18
|
children: [
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
className: "ttw:
|
|
27
|
-
children:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
/* @__PURE__ */ d(a, {
|
|
20
|
+
className: "ttw:border-b ttw:border-border ttw:pb-7",
|
|
21
|
+
children: [/* @__PURE__ */ u(o, {
|
|
22
|
+
className: "ttw:text-3xl ttw:tracking-tight",
|
|
23
|
+
children: w.title
|
|
24
|
+
}), /* @__PURE__ */ u(r, {
|
|
25
|
+
className: "ttw:sr-only",
|
|
26
|
+
children: w.hiddenDescription
|
|
27
|
+
})]
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ d("div", {
|
|
30
|
+
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
31
31
|
children: [
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1
|
|
34
|
-
children: [/* @__PURE__ */
|
|
35
|
-
className: "ttw:text-
|
|
36
|
-
children:
|
|
37
|
-
}), /* @__PURE__ */
|
|
38
|
-
className: "ttw:
|
|
39
|
-
children:
|
|
40
|
-
className: "ttw:text-4xl ttw:font-semibold ttw:text-foreground",
|
|
41
|
-
children: D
|
|
42
|
-
}), O ? /* @__PURE__ */ x("p", {
|
|
43
|
-
className: "ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
|
|
44
|
-
children: O
|
|
45
|
-
}) : null]
|
|
32
|
+
/* @__PURE__ */ d("div", {
|
|
33
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
34
|
+
children: [/* @__PURE__ */ u("p", {
|
|
35
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
36
|
+
children: m
|
|
37
|
+
}), /* @__PURE__ */ u("p", {
|
|
38
|
+
className: "ttw:text-4xl ttw:font-semibold",
|
|
39
|
+
children: h
|
|
46
40
|
})]
|
|
47
41
|
}),
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
className: "ttw:
|
|
50
|
-
children:
|
|
51
|
-
className: "ttw:
|
|
52
|
-
children: [/* @__PURE__ */
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
42
|
+
/* @__PURE__ */ u("dl", {
|
|
43
|
+
className: "ttw:flex ttw:flex-col",
|
|
44
|
+
children: g.map((e, t) => /* @__PURE__ */ d("div", {
|
|
45
|
+
className: s("ttw:flex ttw:items-center ttw:gap-4 ttw:py-2.5", t < g.length - 1 && "ttw:border-b ttw:border-border"),
|
|
46
|
+
children: [/* @__PURE__ */ u("dt", {
|
|
47
|
+
className: "ttw:w-32 ttw:shrink-0 ttw:text-sm ttw:text-muted-foreground",
|
|
48
|
+
children: e.label
|
|
49
|
+
}), /* @__PURE__ */ u("dd", {
|
|
50
|
+
className: "ttw:text-sm ttw:font-medium",
|
|
51
|
+
children: e.value
|
|
56
52
|
})]
|
|
57
|
-
}
|
|
58
|
-
className: "ttw:grid ttw:gap-2.5",
|
|
59
|
-
children: [/* @__PURE__ */ x(c, {
|
|
60
|
-
id: Y,
|
|
61
|
-
children: J.paymentDate
|
|
62
|
-
}), /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ x(d, {
|
|
63
|
-
asChild: !0,
|
|
64
|
-
children: /* @__PURE__ */ S(t, {
|
|
65
|
-
type: "button",
|
|
66
|
-
variant: "outline",
|
|
67
|
-
className: "ttw:justify-start ttw:gap-2",
|
|
68
|
-
"aria-labelledby": `${Y} ${X}`,
|
|
69
|
-
children: [
|
|
70
|
-
/* @__PURE__ */ x(C, { className: "ttw:size-4" }),
|
|
71
|
-
/* @__PURE__ */ x("span", {
|
|
72
|
-
id: X,
|
|
73
|
-
children: M ?? J.paymentDatePlaceholder
|
|
74
|
-
}),
|
|
75
|
-
P ? /* @__PURE__ */ x(e, {
|
|
76
|
-
variant: "secondary",
|
|
77
|
-
children: J.today
|
|
78
|
-
}) : null
|
|
79
|
-
]
|
|
80
|
-
})
|
|
81
|
-
}), /* @__PURE__ */ x(u, {
|
|
82
|
-
align: "start",
|
|
83
|
-
className: "ttw:w-auto ttw:p-0",
|
|
84
|
-
children: /* @__PURE__ */ x(n, {
|
|
85
|
-
mode: "single",
|
|
86
|
-
selected: j,
|
|
87
|
-
onSelect: H,
|
|
88
|
-
disabled: N
|
|
89
|
-
})
|
|
90
|
-
})] })]
|
|
91
|
-
})]
|
|
53
|
+
}, e.label))
|
|
92
54
|
}),
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
className: "ttw:
|
|
55
|
+
/* @__PURE__ */ d("section", {
|
|
56
|
+
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-muted/30 ttw:p-4",
|
|
95
57
|
children: [
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
|
|
98
|
-
children:
|
|
58
|
+
/* @__PURE__ */ u("p", {
|
|
59
|
+
className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
60
|
+
children: w.payToHeading
|
|
99
61
|
}),
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
onValueChange: U,
|
|
104
|
-
children: [/* @__PURE__ */ x(h, {
|
|
105
|
-
className: "ttw:w-full ttw:data-[size=default]:h-14",
|
|
106
|
-
"aria-labelledby": Z,
|
|
107
|
-
children: $ ? /* @__PURE__ */ S("span", {
|
|
108
|
-
className: "ttw:flex ttw:w-full ttw:items-center ttw:gap-3",
|
|
109
|
-
children: [/* @__PURE__ */ S("span", {
|
|
110
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col ttw:text-left",
|
|
111
|
-
children: [/* @__PURE__ */ x("span", {
|
|
112
|
-
className: "ttw:truncate",
|
|
113
|
-
children: $.primaryLabel
|
|
114
|
-
}), $.secondaryLabel ? /* @__PURE__ */ x("span", {
|
|
115
|
-
className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
|
|
116
|
-
children: $.secondaryLabel
|
|
117
|
-
}) : null]
|
|
118
|
-
}), L ? /* @__PURE__ */ x(e, {
|
|
119
|
-
variant: "secondary",
|
|
120
|
-
className: "ttw:shrink-0",
|
|
121
|
-
children: J.poweredByBank(L)
|
|
122
|
-
}) : null]
|
|
123
|
-
}) : /* @__PURE__ */ x(g, { placeholder: J.payFromPlaceholder })
|
|
124
|
-
}), /* @__PURE__ */ x(p, { children: I.map((e) => /* @__PURE__ */ x(m, {
|
|
125
|
-
value: e.id,
|
|
126
|
-
children: /* @__PURE__ */ S("span", {
|
|
127
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col",
|
|
128
|
-
children: [/* @__PURE__ */ x("span", {
|
|
129
|
-
className: "ttw:truncate",
|
|
130
|
-
children: e.primaryLabel
|
|
131
|
-
}), e.secondaryLabel ? /* @__PURE__ */ x("span", {
|
|
132
|
-
className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
|
|
133
|
-
children: e.secondaryLabel
|
|
134
|
-
}) : null]
|
|
135
|
-
})
|
|
136
|
-
}, e.id)) })]
|
|
62
|
+
/* @__PURE__ */ u("p", {
|
|
63
|
+
className: "ttw:mt-1 ttw:text-xl ttw:font-semibold",
|
|
64
|
+
children: _.name
|
|
137
65
|
}),
|
|
138
|
-
|
|
139
|
-
className:
|
|
140
|
-
|
|
141
|
-
|
|
66
|
+
_.email ? /* @__PURE__ */ u("p", {
|
|
67
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
68
|
+
children: _.email
|
|
69
|
+
}) : null,
|
|
70
|
+
_.methodLabel || _.fields.length > 0 ? /* @__PURE__ */ d("div", {
|
|
71
|
+
className: "ttw:mt-4 ttw:border-t ttw:border-border ttw:pt-4",
|
|
72
|
+
children: [_.methodLabel ? /* @__PURE__ */ u("p", {
|
|
73
|
+
className: "ttw:text-xs ttw:font-semibold ttw:text-muted-foreground",
|
|
74
|
+
children: _.methodLabel
|
|
75
|
+
}) : null, /* @__PURE__ */ u("dl", {
|
|
76
|
+
className: "ttw:mt-3 ttw:grid ttw:gap-3",
|
|
77
|
+
children: _.fields.map((e) => /* @__PURE__ */ u(c, {
|
|
78
|
+
field: e,
|
|
79
|
+
labels: w
|
|
80
|
+
}, e.label))
|
|
81
|
+
})]
|
|
142
82
|
}) : null
|
|
143
83
|
]
|
|
144
|
-
})
|
|
145
|
-
R.message ? /* @__PURE__ */ x("p", {
|
|
146
|
-
className: _("ttw:text-sm", w[R.state]),
|
|
147
|
-
children: R.message
|
|
148
|
-
}) : null
|
|
84
|
+
})
|
|
149
85
|
]
|
|
150
86
|
}),
|
|
151
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ d(i, {
|
|
152
88
|
className: "ttw:pt-4 ttw:sm:gap-3",
|
|
153
|
-
children: [/* @__PURE__ */
|
|
89
|
+
children: [/* @__PURE__ */ u(e, {
|
|
154
90
|
type: "button",
|
|
155
91
|
variant: "outline",
|
|
156
|
-
onClick:
|
|
157
|
-
children:
|
|
158
|
-
}), /* @__PURE__ */
|
|
92
|
+
onClick: y,
|
|
93
|
+
children: w.backButton
|
|
94
|
+
}), /* @__PURE__ */ u(e, {
|
|
159
95
|
type: "button",
|
|
160
|
-
loading:
|
|
161
|
-
onClick:
|
|
162
|
-
children:
|
|
96
|
+
loading: v,
|
|
97
|
+
onClick: x,
|
|
98
|
+
children: w.submitButton
|
|
163
99
|
})]
|
|
164
100
|
})
|
|
165
101
|
]
|
|
@@ -167,4 +103,4 @@ function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateS
|
|
|
167
103
|
});
|
|
168
104
|
}
|
|
169
105
|
//#endregion
|
|
170
|
-
export {
|
|
106
|
+
export { f as ReviewTransactionDialog, f as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import "./index79.js";
|
|
2
2
|
import "./index80.js";
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "./index2.js";
|
|
2
|
-
import "./index5.js";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var e = {
|
|
3
|
+
title: "Schedule payment",
|
|
4
|
+
hiddenDescription: "Choose the account to pay from and the payment date.",
|
|
5
|
+
payFrom: "Pay from",
|
|
6
|
+
payFromPlaceholder: "Select an account",
|
|
7
|
+
paymentDate: "Payment date",
|
|
8
|
+
paymentDatePlaceholder: "Choose a date",
|
|
9
|
+
today: "Today",
|
|
10
|
+
noAccounts: "No accounts available",
|
|
11
|
+
loadingAccounts: "Loading accounts",
|
|
12
|
+
accountsError: "Couldn't load accounts. Try again.",
|
|
13
|
+
poweredByBank: (e) => `Powered by ${e}`,
|
|
14
|
+
cancelButton: "Cancel",
|
|
15
|
+
reviewButton: "Review payment"
|
|
12
16
|
};
|
|
13
17
|
//#endregion
|
|
14
|
-
export {
|
|
18
|
+
export { e as SCHEDULE_PAYMENT_DIALOG_LABELS_EN };
|
|
@@ -1,89 +1,10 @@
|
|
|
1
|
-
import { Button as e, Skeleton as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { BillUploadDropzone as n } from "./index3.js";
|
|
3
|
-
import "./index5.js";
|
|
4
|
-
import { SOURCE_DOCUMENT_PANEL_LABELS_EN as r } from "./index82.js";
|
|
5
|
-
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
-
import { Download as o, Trash2 as s } from "lucide-react";
|
|
7
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
if (l === "loading") return /* @__PURE__ */ a("div", {
|
|
18
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
19
|
-
"data-testid": u,
|
|
20
|
-
children: [/* @__PURE__ */ i("div", {
|
|
21
|
-
className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
|
|
22
|
-
children: /* @__PURE__ */ i("span", {
|
|
23
|
-
"aria-live": "polite",
|
|
24
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
25
|
-
children: c.fileName ? f.scanningAttachment(c.fileName) : f.scanning
|
|
26
|
-
})
|
|
27
|
-
}), /* @__PURE__ */ a("div", {
|
|
28
|
-
className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
29
|
-
children: [
|
|
30
|
-
/* @__PURE__ */ i(t, { className: "ttw:h-6 ttw:w-2/5" }),
|
|
31
|
-
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-3/5" }),
|
|
32
|
-
/* @__PURE__ */ i(t, { className: "ttw:mt-4 ttw:h-4 ttw:w-full" }),
|
|
33
|
-
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-full" }),
|
|
34
|
-
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-4/5" }),
|
|
35
|
-
/* @__PURE__ */ i(t, { className: "ttw:mt-auto ttw:h-24 ttw:w-full" })
|
|
36
|
-
]
|
|
37
|
-
})]
|
|
38
|
-
});
|
|
39
|
-
if (l === "document") {
|
|
40
|
-
let { fileName: t, preview: n, onDownload: r, onDelete: l } = c;
|
|
41
|
-
return /* @__PURE__ */ a("div", {
|
|
42
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
43
|
-
"data-testid": u,
|
|
44
|
-
children: [/* @__PURE__ */ a("div", {
|
|
45
|
-
className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
|
|
46
|
-
children: [
|
|
47
|
-
/* @__PURE__ */ i("span", {
|
|
48
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
49
|
-
children: f.scannedAttachment(t ?? "")
|
|
50
|
-
}),
|
|
51
|
-
r ? /* @__PURE__ */ i(e, {
|
|
52
|
-
type: "button",
|
|
53
|
-
variant: "ghost",
|
|
54
|
-
size: "icon",
|
|
55
|
-
"aria-label": f.download,
|
|
56
|
-
onClick: r,
|
|
57
|
-
children: /* @__PURE__ */ i(o, { className: "ttw:size-4" })
|
|
58
|
-
}) : null,
|
|
59
|
-
l ? /* @__PURE__ */ i(e, {
|
|
60
|
-
type: "button",
|
|
61
|
-
variant: "ghost",
|
|
62
|
-
size: "icon",
|
|
63
|
-
"aria-label": f.delete,
|
|
64
|
-
onClick: l,
|
|
65
|
-
children: /* @__PURE__ */ i(s, { className: "ttw:size-4" })
|
|
66
|
-
}) : null
|
|
67
|
-
]
|
|
68
|
-
}), /* @__PURE__ */ i("div", {
|
|
69
|
-
className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:items-start ttw:justify-center ttw:overflow-auto ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
70
|
-
children: n
|
|
71
|
-
})]
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
return /* @__PURE__ */ a("div", {
|
|
75
|
-
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
76
|
-
"data-testid": u,
|
|
77
|
-
children: [/* @__PURE__ */ i("p", {
|
|
78
|
-
className: "ttw:mb-3 ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
79
|
-
children: f.uploadHeading
|
|
80
|
-
}), /* @__PURE__ */ i(n, {
|
|
81
|
-
status: c.uploadStatus,
|
|
82
|
-
errorMessage: c.uploadErrorMessage,
|
|
83
|
-
onFilesSelected: c.onFilesSelected,
|
|
84
|
-
labels: f.dropzone
|
|
85
|
-
})]
|
|
86
|
-
});
|
|
87
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
neutral: "ttw:text-foreground",
|
|
4
|
+
muted: "ttw:text-muted-foreground",
|
|
5
|
+
success: "ttw:text-emerald-700",
|
|
6
|
+
warning: "ttw:text-amber-700",
|
|
7
|
+
error: "ttw:text-destructive"
|
|
8
|
+
};
|
|
88
9
|
//#endregion
|
|
89
|
-
export {
|
|
10
|
+
export { e as TONE_TEXT_CLASS };
|
|
@@ -1,2 +1,170 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./
|
|
1
|
+
import { Badge as e, Button as t, Calendar as n, Dialog as r, DialogContent as i, DialogDescription as a, DialogFooter as o, DialogHeader as ee, DialogTitle as s, Label as c, Popover as l, PopoverContent as u, PopoverTrigger as d, Select as f, SelectContent as p, SelectItem as m, SelectTrigger as h, SelectValue as g, cn as _ } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as v } from "./index82.js";
|
|
3
|
+
import { TONE_TEXT_CLASS as y } from "./index83.js";
|
|
4
|
+
import { useId as b } from "react";
|
|
5
|
+
import { jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
6
|
+
import { CalendarIcon as C } from "lucide-react";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js
|
|
8
|
+
var w = {
|
|
9
|
+
sufficient: y.muted,
|
|
10
|
+
warning: y.warning,
|
|
11
|
+
error: y.error
|
|
12
|
+
};
|
|
13
|
+
function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateSuffix: O, paymentAmountLabel: k, paymentAmount: A, selectedDate: j, selectedDateLabel: M, calendarDisabled: N, isToday: P, selectedAccountId: F, accounts: I, poweredByBankName: L, funds: R, isAccountsLoading: z, isAccountsError: B, isSubmitting: V, onDateChange: H, onAccountChange: U, onReview: W, onCancel: G, testId: K, labels: q }) {
|
|
14
|
+
let J = {
|
|
15
|
+
...v,
|
|
16
|
+
...q
|
|
17
|
+
}, Y = b(), X = b(), Z = b(), Q = z || B || I.length === 0, $ = I.find((e) => e.id === F);
|
|
18
|
+
return /* @__PURE__ */ x(r, {
|
|
19
|
+
open: y,
|
|
20
|
+
onOpenChange: (e) => e ? T(e) : G(),
|
|
21
|
+
children: /* @__PURE__ */ S(i, {
|
|
22
|
+
"data-testid": K,
|
|
23
|
+
className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-3",
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ S(ee, { children: [/* @__PURE__ */ x(s, { children: J.title }), /* @__PURE__ */ x(a, {
|
|
26
|
+
className: "ttw:sr-only",
|
|
27
|
+
children: J.hiddenDescription
|
|
28
|
+
})] }),
|
|
29
|
+
/* @__PURE__ */ S("div", {
|
|
30
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ S("div", {
|
|
33
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
34
|
+
children: [/* @__PURE__ */ x("p", {
|
|
35
|
+
className: "ttw:text-base ttw:text-muted-foreground",
|
|
36
|
+
children: E
|
|
37
|
+
}), /* @__PURE__ */ S("div", {
|
|
38
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-end ttw:gap-2",
|
|
39
|
+
children: [/* @__PURE__ */ x("p", {
|
|
40
|
+
className: "ttw:text-4xl ttw:font-semibold ttw:text-foreground",
|
|
41
|
+
children: D
|
|
42
|
+
}), O ? /* @__PURE__ */ x("p", {
|
|
43
|
+
className: "ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
|
|
44
|
+
children: O
|
|
45
|
+
}) : null]
|
|
46
|
+
})]
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ S("div", {
|
|
49
|
+
className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
|
|
50
|
+
children: [/* @__PURE__ */ S("div", {
|
|
51
|
+
className: "ttw:grid ttw:gap-2.5",
|
|
52
|
+
children: [/* @__PURE__ */ x(c, { children: k }), /* @__PURE__ */ x("div", {
|
|
53
|
+
"aria-disabled": !0,
|
|
54
|
+
className: "ttw:flex ttw:h-9 ttw:items-center ttw:rounded-md ttw:border ttw:border-border ttw:bg-muted ttw:px-3 ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
|
|
55
|
+
children: A
|
|
56
|
+
})]
|
|
57
|
+
}), /* @__PURE__ */ S("div", {
|
|
58
|
+
className: "ttw:grid ttw:gap-2.5",
|
|
59
|
+
children: [/* @__PURE__ */ x(c, {
|
|
60
|
+
id: Y,
|
|
61
|
+
children: J.paymentDate
|
|
62
|
+
}), /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ x(d, {
|
|
63
|
+
asChild: !0,
|
|
64
|
+
children: /* @__PURE__ */ S(t, {
|
|
65
|
+
type: "button",
|
|
66
|
+
variant: "outline",
|
|
67
|
+
className: "ttw:justify-start ttw:gap-2",
|
|
68
|
+
"aria-labelledby": `${Y} ${X}`,
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ x(C, { className: "ttw:size-4" }),
|
|
71
|
+
/* @__PURE__ */ x("span", {
|
|
72
|
+
id: X,
|
|
73
|
+
children: M ?? J.paymentDatePlaceholder
|
|
74
|
+
}),
|
|
75
|
+
P ? /* @__PURE__ */ x(e, {
|
|
76
|
+
variant: "secondary",
|
|
77
|
+
children: J.today
|
|
78
|
+
}) : null
|
|
79
|
+
]
|
|
80
|
+
})
|
|
81
|
+
}), /* @__PURE__ */ x(u, {
|
|
82
|
+
align: "start",
|
|
83
|
+
className: "ttw:w-auto ttw:p-0",
|
|
84
|
+
children: /* @__PURE__ */ x(n, {
|
|
85
|
+
mode: "single",
|
|
86
|
+
selected: j,
|
|
87
|
+
onSelect: H,
|
|
88
|
+
disabled: N
|
|
89
|
+
})
|
|
90
|
+
})] })]
|
|
91
|
+
})]
|
|
92
|
+
}),
|
|
93
|
+
/* @__PURE__ */ S("div", {
|
|
94
|
+
className: "ttw:grid ttw:gap-2.5",
|
|
95
|
+
children: [
|
|
96
|
+
/* @__PURE__ */ x(c, {
|
|
97
|
+
id: Z,
|
|
98
|
+
children: J.payFrom
|
|
99
|
+
}),
|
|
100
|
+
/* @__PURE__ */ S(f, {
|
|
101
|
+
value: F,
|
|
102
|
+
disabled: Q,
|
|
103
|
+
onValueChange: U,
|
|
104
|
+
children: [/* @__PURE__ */ x(h, {
|
|
105
|
+
className: "ttw:w-full ttw:data-[size=default]:h-14",
|
|
106
|
+
"aria-labelledby": Z,
|
|
107
|
+
children: $ ? /* @__PURE__ */ S("span", {
|
|
108
|
+
className: "ttw:flex ttw:w-full ttw:items-center ttw:gap-3",
|
|
109
|
+
children: [/* @__PURE__ */ S("span", {
|
|
110
|
+
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col ttw:text-left",
|
|
111
|
+
children: [/* @__PURE__ */ x("span", {
|
|
112
|
+
className: "ttw:truncate",
|
|
113
|
+
children: $.primaryLabel
|
|
114
|
+
}), $.secondaryLabel ? /* @__PURE__ */ x("span", {
|
|
115
|
+
className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
|
|
116
|
+
children: $.secondaryLabel
|
|
117
|
+
}) : null]
|
|
118
|
+
}), L ? /* @__PURE__ */ x(e, {
|
|
119
|
+
variant: "secondary",
|
|
120
|
+
className: "ttw:shrink-0",
|
|
121
|
+
children: J.poweredByBank(L)
|
|
122
|
+
}) : null]
|
|
123
|
+
}) : /* @__PURE__ */ x(g, { placeholder: J.payFromPlaceholder })
|
|
124
|
+
}), /* @__PURE__ */ x(p, { children: I.map((e) => /* @__PURE__ */ x(m, {
|
|
125
|
+
value: e.id,
|
|
126
|
+
children: /* @__PURE__ */ S("span", {
|
|
127
|
+
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col",
|
|
128
|
+
children: [/* @__PURE__ */ x("span", {
|
|
129
|
+
className: "ttw:truncate",
|
|
130
|
+
children: e.primaryLabel
|
|
131
|
+
}), e.secondaryLabel ? /* @__PURE__ */ x("span", {
|
|
132
|
+
className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
|
|
133
|
+
children: e.secondaryLabel
|
|
134
|
+
}) : null]
|
|
135
|
+
})
|
|
136
|
+
}, e.id)) })]
|
|
137
|
+
}),
|
|
138
|
+
Q ? /* @__PURE__ */ x("p", {
|
|
139
|
+
className: _("ttw:text-sm", B ? "ttw:text-destructive" : "ttw:text-muted-foreground"),
|
|
140
|
+
role: B ? "alert" : void 0,
|
|
141
|
+
children: z ? J.loadingAccounts : B ? J.accountsError : J.noAccounts
|
|
142
|
+
}) : null
|
|
143
|
+
]
|
|
144
|
+
}),
|
|
145
|
+
R.message ? /* @__PURE__ */ x("p", {
|
|
146
|
+
className: _("ttw:text-sm", w[R.state]),
|
|
147
|
+
children: R.message
|
|
148
|
+
}) : null
|
|
149
|
+
]
|
|
150
|
+
}),
|
|
151
|
+
/* @__PURE__ */ S(o, {
|
|
152
|
+
className: "ttw:pt-4 ttw:sm:gap-3",
|
|
153
|
+
children: [/* @__PURE__ */ x(t, {
|
|
154
|
+
type: "button",
|
|
155
|
+
variant: "outline",
|
|
156
|
+
onClick: G,
|
|
157
|
+
children: J.cancelButton
|
|
158
|
+
}), /* @__PURE__ */ x(t, {
|
|
159
|
+
type: "button",
|
|
160
|
+
loading: V,
|
|
161
|
+
onClick: W,
|
|
162
|
+
children: J.reviewButton
|
|
163
|
+
})]
|
|
164
|
+
})
|
|
165
|
+
]
|
|
166
|
+
})
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
//#endregion
|
|
170
|
+
export { T as SchedulePaymentDialog, T as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "./index2.js";
|
|
2
|
+
import "./index5.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js
|
|
4
|
+
var t = {
|
|
5
|
+
uploadHeading: "Attach an invoice (optional)",
|
|
6
|
+
scannedAttachment: (e) => `Scanned attachment: ${e}`,
|
|
7
|
+
scanning: "Scanning attachment…",
|
|
8
|
+
scanningAttachment: (e) => `Scanning attachment: ${e}`,
|
|
9
|
+
download: "Download the scanned attachment",
|
|
10
|
+
delete: "Delete the scanned attachment",
|
|
11
|
+
dropzone: e
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { t as SOURCE_DOCUMENT_PANEL_LABELS_EN };
|