@tesouro/embedded-components-react 0.11.250 → 0.11.254
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 -344
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +3 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +47 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +87 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +238 -248
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index46.js +15 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +199 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index10.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index11.js +150 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js +2 -150
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index13.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +272 -70
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +1 -279
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index16.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index17.js +51 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index18.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index19.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index20.js +369 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index21.js +2 -373
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index22.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index23.js +124 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index24.js +2 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index25.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index26.js +51 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index27.js +1 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index28.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index29.js +10 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js +35 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index30.js +133 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index32.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +52 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +2 -315
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index35.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index36.js +158 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +2 -162
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index38.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index39.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index40.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index41.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index42.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index43.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index44.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index45.js +27 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index46.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index47.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +100 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +2 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index50.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index51.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index52.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index6.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index7.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index8.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index9.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +119 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index2.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index9.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index10.js +76 -171
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index12.js +33 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index13.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index14.js +126 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index15.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index2.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index3.js +32 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index4.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +28 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index7.js +72 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index8.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index9.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js +53 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +17 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index4.js +13 -14
- 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/feature/dist/lib/document/documentPreview.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/TooltipIconButton/TooltipIconButton.js +55 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +1322 -1312
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index53.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +0 -5
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index4.js
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import { Label as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index4.js
|
|
4
|
+
function r({ label: r, value: i }) {
|
|
5
|
+
return /* @__PURE__ */ n("div", {
|
|
6
|
+
className: "ttw:grid ttw:content-start ttw:gap-2",
|
|
7
|
+
children: [/* @__PURE__ */ t(e, { children: r }), /* @__PURE__ */ t("div", {
|
|
8
|
+
"aria-disabled": !0,
|
|
9
|
+
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",
|
|
10
|
+
children: i
|
|
11
|
+
})]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export { r as ReadOnlyAmountField };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
var t = {
|
|
5
|
-
title: "Review transaction",
|
|
6
|
-
hiddenDescription: "Review the payment before submitting it.",
|
|
7
|
-
payToHeading: "Pay to",
|
|
8
|
-
backButton: "Back",
|
|
9
|
-
submitButton: "Submit",
|
|
10
|
-
close: "Close",
|
|
11
|
-
...e
|
|
12
|
-
};
|
|
13
|
-
export { t as REVIEW_TRANSACTION_DIALOG_LABELS_EN };
|
|
1
|
+
import "./index2.js";
|
|
2
|
+
import "./index3.js";
|
|
3
|
+
import "./index4.js";
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js
CHANGED
|
@@ -1,107 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RevealableField as c } from "../../../ui/dist/index23.js";
|
|
3
|
-
import "../../../ui/dist/index.js";
|
|
4
|
-
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as l } from "./index5.js";
|
|
5
|
-
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
1
|
+
import { LABEL_LABELS_EN as e, REQUIRED_FIELDS_LEGEND_LABELS_EN as t, mergeRequiredFieldsLegendLabels as n } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
2
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
var r = {
|
|
4
|
+
title: "Mark this bill as paid",
|
|
5
|
+
description: "You can't undo this action.",
|
|
6
|
+
amountDue: "Amount due",
|
|
7
|
+
paymentAmount: "Payment amount",
|
|
8
|
+
paymentDate: "Payment date",
|
|
9
|
+
paymentDatePlaceholder: "Select",
|
|
10
|
+
today: "Today",
|
|
11
|
+
comments: "Comments",
|
|
12
|
+
commentsPlaceholder: "Additional context for this payment.",
|
|
13
|
+
cancelButton: "Cancel",
|
|
14
|
+
confirmButton: "Mark as paid",
|
|
15
|
+
close: "Close",
|
|
16
|
+
fieldMarkers: e,
|
|
17
|
+
requiredFieldsLegend: t
|
|
18
|
+
};
|
|
19
|
+
function i(e) {
|
|
20
|
+
let t = {
|
|
21
|
+
...r.fieldMarkers,
|
|
22
|
+
...e?.fieldMarkers
|
|
23
|
+
};
|
|
24
|
+
return {
|
|
25
|
+
...r,
|
|
26
|
+
...e,
|
|
27
|
+
fieldMarkers: t,
|
|
28
|
+
requiredFieldsLegend: n(t, e?.requiredFieldsLegend)
|
|
11
29
|
};
|
|
12
|
-
return /* @__PURE__ */ u(t, {
|
|
13
|
-
open: f,
|
|
14
|
-
onOpenChange: (e) => e ? p(e) : b(),
|
|
15
|
-
children: /* @__PURE__ */ d(n, {
|
|
16
|
-
closeDisabled: v,
|
|
17
|
-
"data-testid": S,
|
|
18
|
-
labels: { close: w.close },
|
|
19
|
-
className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-6",
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ d(a, {
|
|
22
|
-
className: "ttw:border-b ttw:border-border ttw:pb-7",
|
|
23
|
-
children: [/* @__PURE__ */ u(o, {
|
|
24
|
-
className: "ttw:text-3xl ttw:tracking-tight",
|
|
25
|
-
children: w.title
|
|
26
|
-
}), /* @__PURE__ */ u(r, {
|
|
27
|
-
className: "ttw:sr-only",
|
|
28
|
-
children: w.hiddenDescription
|
|
29
|
-
})]
|
|
30
|
-
}),
|
|
31
|
-
/* @__PURE__ */ d("div", {
|
|
32
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ d("div", {
|
|
35
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
36
|
-
children: [/* @__PURE__ */ u("p", {
|
|
37
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
38
|
-
children: m
|
|
39
|
-
}), /* @__PURE__ */ u("p", {
|
|
40
|
-
className: "ttw:text-4xl ttw:font-semibold",
|
|
41
|
-
children: h
|
|
42
|
-
})]
|
|
43
|
-
}),
|
|
44
|
-
/* @__PURE__ */ u("dl", {
|
|
45
|
-
className: "ttw:flex ttw:flex-col",
|
|
46
|
-
children: g.map((e, t) => /* @__PURE__ */ d("div", {
|
|
47
|
-
className: s("ttw:flex ttw:items-center ttw:gap-4 ttw:py-2.5", t < g.length - 1 && "ttw:border-b ttw:border-border"),
|
|
48
|
-
children: [/* @__PURE__ */ u("dt", {
|
|
49
|
-
className: "ttw:w-32 ttw:shrink-0 ttw:text-sm ttw:text-muted-foreground",
|
|
50
|
-
children: e.label
|
|
51
|
-
}), /* @__PURE__ */ u("dd", {
|
|
52
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
53
|
-
children: e.value
|
|
54
|
-
})]
|
|
55
|
-
}, e.label))
|
|
56
|
-
}),
|
|
57
|
-
/* @__PURE__ */ d("section", {
|
|
58
|
-
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-muted/30 ttw:p-4",
|
|
59
|
-
children: [
|
|
60
|
-
/* @__PURE__ */ u("p", {
|
|
61
|
-
className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
62
|
-
children: w.payToHeading
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ u("p", {
|
|
65
|
-
className: "ttw:mt-1 ttw:text-xl ttw:font-semibold",
|
|
66
|
-
children: _.name
|
|
67
|
-
}),
|
|
68
|
-
_.email ? /* @__PURE__ */ u("p", {
|
|
69
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
70
|
-
children: _.email
|
|
71
|
-
}) : null,
|
|
72
|
-
_.methodLabel || _.fields.length > 0 ? /* @__PURE__ */ d("div", {
|
|
73
|
-
className: "ttw:mt-4 ttw:border-t ttw:border-border ttw:pt-4",
|
|
74
|
-
children: [_.methodLabel ? /* @__PURE__ */ u("p", {
|
|
75
|
-
className: "ttw:text-xs ttw:font-semibold ttw:text-muted-foreground",
|
|
76
|
-
children: _.methodLabel
|
|
77
|
-
}) : null, /* @__PURE__ */ u("dl", {
|
|
78
|
-
className: "ttw:mt-3 ttw:grid ttw:gap-3",
|
|
79
|
-
children: _.fields.map((e) => /* @__PURE__ */ u(c, {
|
|
80
|
-
field: e,
|
|
81
|
-
labels: w
|
|
82
|
-
}, e.label))
|
|
83
|
-
})]
|
|
84
|
-
}) : null
|
|
85
|
-
]
|
|
86
|
-
})
|
|
87
|
-
]
|
|
88
|
-
}),
|
|
89
|
-
/* @__PURE__ */ d(i, {
|
|
90
|
-
className: "ttw:pt-4 ttw:sm:gap-3",
|
|
91
|
-
children: [/* @__PURE__ */ u(e, {
|
|
92
|
-
type: "button",
|
|
93
|
-
variant: "outline",
|
|
94
|
-
onClick: y,
|
|
95
|
-
children: w.backButton
|
|
96
|
-
}), /* @__PURE__ */ u(e, {
|
|
97
|
-
type: "button",
|
|
98
|
-
loading: v,
|
|
99
|
-
onClick: x,
|
|
100
|
-
children: w.submitButton
|
|
101
|
-
})]
|
|
102
|
-
})
|
|
103
|
-
]
|
|
104
|
-
})
|
|
105
|
-
});
|
|
106
30
|
}
|
|
107
|
-
export {
|
|
31
|
+
export { r as MARK_AS_PAID_DIALOG_LABELS_EN, i as mergeMarkAsPaidDialogLabels };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index7.js
CHANGED
|
@@ -1,2 +1,73 @@
|
|
|
1
|
+
import { FieldRequirement as e, FormDialog as t, Label as n, RequiredFieldsLegend as r, Textarea as i } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { mergeMarkAsPaidDialogLabels as a } from "./index6.js";
|
|
3
|
+
import { AmountDueHeader as o } from "./index2.js";
|
|
4
|
+
import { PaymentDateField as s } from "./index3.js";
|
|
5
|
+
import { ReadOnlyAmountField as c } from "./index4.js";
|
|
1
6
|
import "./index5.js";
|
|
2
|
-
import "
|
|
7
|
+
import { useId as l } from "react";
|
|
8
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
|
+
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index7.js
|
|
10
|
+
function f({ open: f, amountDue: p, dueDateSuffix: m, paymentAmount: h, selectedDate: g, isToday: _, paymentDateError: v, comment: y, isSubmitting: b, onDateChange: x, onCommentChange: S, onConfirm: C, onCancel: w, testId: T, confirmTestId: E, labels: D }) {
|
|
11
|
+
let O = a(D), k = l();
|
|
12
|
+
return /* @__PURE__ */ u(t, {
|
|
13
|
+
open: f,
|
|
14
|
+
onOpenChange: (e) => e ? void 0 : w(),
|
|
15
|
+
title: O.title,
|
|
16
|
+
description: O.description,
|
|
17
|
+
onSubmit: C,
|
|
18
|
+
submitting: b,
|
|
19
|
+
labels: {
|
|
20
|
+
submit: O.confirmButton,
|
|
21
|
+
cancel: O.cancelButton,
|
|
22
|
+
close: O.close
|
|
23
|
+
},
|
|
24
|
+
testIds: {
|
|
25
|
+
content: T,
|
|
26
|
+
submit: E
|
|
27
|
+
},
|
|
28
|
+
children: /* @__PURE__ */ d("div", {
|
|
29
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
30
|
+
children: [
|
|
31
|
+
/* @__PURE__ */ u(o, {
|
|
32
|
+
label: O.amountDue,
|
|
33
|
+
amount: p,
|
|
34
|
+
suffix: m
|
|
35
|
+
}),
|
|
36
|
+
/* @__PURE__ */ u(r, { labels: O.requiredFieldsLegend }),
|
|
37
|
+
/* @__PURE__ */ d("div", {
|
|
38
|
+
className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
|
|
39
|
+
children: [/* @__PURE__ */ u(c, {
|
|
40
|
+
label: O.paymentAmount,
|
|
41
|
+
value: h
|
|
42
|
+
}), /* @__PURE__ */ u(s, {
|
|
43
|
+
value: g,
|
|
44
|
+
isToday: _,
|
|
45
|
+
error: v,
|
|
46
|
+
onChange: x,
|
|
47
|
+
labels: {
|
|
48
|
+
label: O.paymentDate,
|
|
49
|
+
placeholder: O.paymentDatePlaceholder,
|
|
50
|
+
today: O.today,
|
|
51
|
+
fieldMarkers: O.fieldMarkers
|
|
52
|
+
}
|
|
53
|
+
})]
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ d("div", {
|
|
56
|
+
className: "ttw:grid ttw:gap-2",
|
|
57
|
+
children: [/* @__PURE__ */ u(n, {
|
|
58
|
+
htmlFor: k,
|
|
59
|
+
requirement: e.Optional,
|
|
60
|
+
labels: O.fieldMarkers,
|
|
61
|
+
children: O.comments
|
|
62
|
+
}), /* @__PURE__ */ u(i, {
|
|
63
|
+
id: k,
|
|
64
|
+
value: y,
|
|
65
|
+
placeholder: O.commentsPlaceholder,
|
|
66
|
+
onChange: (e) => S(e.target.value)
|
|
67
|
+
})]
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
})
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
export { f as MarkAsPaidDialog, f as default };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index8.js
CHANGED
|
@@ -1,33 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
var r = {
|
|
4
|
-
title: "Schedule payment",
|
|
5
|
-
hiddenDescription: "Choose the account to pay from and the payment date.",
|
|
6
|
-
payFrom: "Pay from",
|
|
7
|
-
payFromPlaceholder: "Select an account",
|
|
8
|
-
paymentDate: "Payment date",
|
|
9
|
-
paymentDatePlaceholder: "Choose a date",
|
|
10
|
-
today: "Today",
|
|
11
|
-
noAccounts: "No accounts available",
|
|
12
|
-
loadingAccounts: "Loading accounts",
|
|
13
|
-
accountsError: "Couldn't load accounts. Try again.",
|
|
14
|
-
poweredByBank: (e) => `Powered by ${e}`,
|
|
15
|
-
cancelButton: "Cancel",
|
|
16
|
-
reviewButton: "Review payment",
|
|
17
|
-
close: "Close",
|
|
18
|
-
fieldMarkers: e,
|
|
19
|
-
requiredFieldsLegend: t
|
|
20
|
-
};
|
|
21
|
-
function i(e) {
|
|
22
|
-
let t = {
|
|
23
|
-
...r.fieldMarkers,
|
|
24
|
-
...e?.fieldMarkers
|
|
25
|
-
};
|
|
26
|
-
return {
|
|
27
|
-
...r,
|
|
28
|
-
...e,
|
|
29
|
-
fieldMarkers: t,
|
|
30
|
-
requiredFieldsLegend: n(t, e?.requiredFieldsLegend)
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export { r as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, i as mergeSchedulePaymentDialogLabels };
|
|
1
|
+
import "./index6.js";
|
|
2
|
+
import "./index7.js";
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index9.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { MASKED_ACCOUNT_NUMBER_LABELS_EN as e } from "../../../../shared/ui/dist/lib/MaskedAccountNumber/labels.js";
|
|
2
|
+
import "../../../../shared/ui/dist/index.js";
|
|
1
3
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index9.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var t = {
|
|
5
|
+
title: "Review payment",
|
|
6
|
+
stepLabel: "Step 2 of 2",
|
|
7
|
+
payToHeading: "Pay to",
|
|
8
|
+
backButton: "Back",
|
|
9
|
+
submitButton: "Schedule payment",
|
|
10
|
+
doneButton: "Done",
|
|
11
|
+
close: "Close",
|
|
12
|
+
maskedAccountNumber: e
|
|
8
13
|
};
|
|
9
|
-
export {
|
|
14
|
+
export { t as REVIEW_TRANSACTION_DIALOG_LABELS_EN };
|
|
@@ -8,16 +8,13 @@ import { BillDuplicateWarning as i } from "./index8.js";
|
|
|
8
8
|
import "./index9.js";
|
|
9
9
|
import { BillFailedPaymentIcon as a } from "./index10.js";
|
|
10
10
|
import "./index11.js";
|
|
11
|
-
import
|
|
12
|
-
import { BillOverflowMenu as
|
|
11
|
+
import "./index12.js";
|
|
12
|
+
import { BillOverflowMenu as o } from "./index13.js";
|
|
13
13
|
import "./index14.js";
|
|
14
14
|
import "./index15.js";
|
|
15
|
-
import { BillPayWidgetHeaderUi as
|
|
15
|
+
import { BillPayWidgetHeaderUi as s, BillPayWidgetUi as c } from "./index16.js";
|
|
16
16
|
import "./index17.js";
|
|
17
|
-
import { BILL_UPLOAD_DROPZONE_LABELS_EN as
|
|
18
|
-
import { BillUploadDropzone as
|
|
17
|
+
import { BILL_UPLOAD_DROPZONE_LABELS_EN as l } from "./index18.js";
|
|
18
|
+
import { BillUploadDropzone as u, getAcceptedBillUploadFiles as d } from "./index19.js";
|
|
19
19
|
import "./index21.js";
|
|
20
|
-
|
|
21
|
-
import { RevealableField as m } from "./index23.js";
|
|
22
|
-
import "./index24.js";
|
|
23
|
-
export { u as BILL_UPLOAD_DROPZONE_LABELS_EN, e as BillActionButtons, n as BillDecisionDialog, r as BillDuplicateIcon, i as BillDuplicateWarning, a as BillFailedPaymentIcon, s as BillOverflowMenu, c as BillPayWidgetHeaderUi, l as BillPayWidgetUi, d as BillUploadDropzone, t as NO_BILL_ACTIONS, p as REVEALABLE_FIELD_LABELS_EN, m as RevealableField, f as getAcceptedBillUploadFiles, o as groupBySectionHeading };
|
|
20
|
+
export { l as BILL_UPLOAD_DROPZONE_LABELS_EN, e as BillActionButtons, n as BillDecisionDialog, r as BillDuplicateIcon, i as BillDuplicateWarning, a as BillFailedPaymentIcon, o as BillOverflowMenu, s as BillPayWidgetHeaderUi, c as BillPayWidgetUi, u as BillUploadDropzone, t as NO_BILL_ACTIONS, d as getAcceptedBillUploadFiles };
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
let
|
|
4
|
-
for (let
|
|
5
|
-
let e = t.at(-1);
|
|
6
|
-
|
|
7
|
-
heading: n.sectionHeading,
|
|
8
|
-
items: [n]
|
|
9
|
-
});
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = [], r;
|
|
4
|
+
for (let i of e) {
|
|
5
|
+
let e = t(i), a = n.at(-1);
|
|
6
|
+
a && e === r ? a.push(i) : n.push([i]), r = e;
|
|
10
7
|
}
|
|
11
|
-
return
|
|
8
|
+
return n;
|
|
12
9
|
}
|
|
13
10
|
export { e as groupBySectionHeading };
|
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DropdownMenu as e, DropdownMenuContent as t, DropdownMenuGroup as n, DropdownMenuItem as r, DropdownMenuLabel as i, DropdownMenuSeparator as a, DropdownMenuTrigger as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { TooltipIconButton as s } from "../../../shared/ui/dist/lib/TooltipIconButton/TooltipIconButton.js";
|
|
3
|
+
import "../../../shared/ui/dist/index.js";
|
|
2
4
|
import { groupBySectionHeading as c } from "./index12.js";
|
|
3
5
|
import { Fragment as l, useId as u } from "react";
|
|
4
6
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
7
|
+
import { MoreVerticalIcon as p } from "lucide-react";
|
|
6
8
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
if (!
|
|
10
|
-
let
|
|
11
|
-
return /* @__PURE__ */ f(
|
|
9
|
+
function m({ actions: m, triggerLabel: h, disabled: g, testId: _ }) {
|
|
10
|
+
let v = u();
|
|
11
|
+
if (!m.length) return null;
|
|
12
|
+
let y = c(m, (e) => e.destructive ? "destructive" : e.sectionHeading);
|
|
13
|
+
return /* @__PURE__ */ f(e, { children: [/* @__PURE__ */ d(o, {
|
|
12
14
|
asChild: !0,
|
|
13
|
-
children: /* @__PURE__ */ d(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"data-testid": v,
|
|
15
|
+
children: /* @__PURE__ */ d(s, {
|
|
16
|
+
label: h,
|
|
17
|
+
icon: p,
|
|
18
|
+
disabled: g,
|
|
19
|
+
testId: _,
|
|
19
20
|
onPointerDown: (e) => e.stopPropagation(),
|
|
20
|
-
onClick: (e) => e.stopPropagation()
|
|
21
|
-
children: /* @__PURE__ */ d(S, { className: "ttw:size-4" })
|
|
21
|
+
onClick: (e) => e.stopPropagation()
|
|
22
22
|
})
|
|
23
|
-
}), /* @__PURE__ */ d(
|
|
23
|
+
}), /* @__PURE__ */ d(t, {
|
|
24
24
|
align: "end",
|
|
25
25
|
onPointerDown: (e) => e.stopPropagation(),
|
|
26
26
|
onClick: (e) => e.stopPropagation(),
|
|
27
|
-
children:
|
|
28
|
-
let
|
|
27
|
+
children: y.map((e, t) => {
|
|
28
|
+
let o = e[0], s = e.map((e) => {
|
|
29
29
|
let t = e.icon;
|
|
30
|
-
return /* @__PURE__ */ f(
|
|
30
|
+
return /* @__PURE__ */ f(r, {
|
|
31
|
+
variant: e.destructive ? "destructive" : void 0,
|
|
31
32
|
disabled: e.disabled,
|
|
32
33
|
onClick: e.onSelect,
|
|
33
34
|
children: [t ? /* @__PURE__ */ d(t, { className: "ttw:size-4" }) : null, e.label]
|
|
34
35
|
}, e.id);
|
|
35
|
-
});
|
|
36
|
-
if (!
|
|
37
|
-
let
|
|
36
|
+
}), c = t > 0 ? /* @__PURE__ */ d(a, {}) : null;
|
|
37
|
+
if (!o?.sectionHeading || o.destructive) return /* @__PURE__ */ f(l, { children: [o?.destructive ? c : null, s] }, o?.id);
|
|
38
|
+
let u = `${v}-${t}`;
|
|
38
39
|
return /* @__PURE__ */ f(l, { children: [
|
|
39
|
-
|
|
40
|
-
/* @__PURE__ */ d(
|
|
41
|
-
id:
|
|
40
|
+
c,
|
|
41
|
+
/* @__PURE__ */ d(i, {
|
|
42
|
+
id: u,
|
|
42
43
|
className: "ttw:py-1 ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
|
|
43
|
-
children:
|
|
44
|
+
children: o.sectionHeading
|
|
44
45
|
}),
|
|
45
|
-
/* @__PURE__ */ d(
|
|
46
|
-
"aria-labelledby":
|
|
47
|
-
children:
|
|
46
|
+
/* @__PURE__ */ d(n, {
|
|
47
|
+
"aria-labelledby": u,
|
|
48
|
+
children: s
|
|
48
49
|
})
|
|
49
|
-
] },
|
|
50
|
+
] }, o.id);
|
|
50
51
|
})
|
|
51
52
|
})] });
|
|
52
53
|
}
|
|
53
|
-
export {
|
|
54
|
+
export { m as BillOverflowMenu, m as default };
|
|
@@ -2,13 +2,15 @@ import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index
|
|
|
2
2
|
import { Fragment as t, jsx as n } from "react/jsx-runtime";
|
|
3
3
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js
|
|
4
4
|
var r = {
|
|
5
|
-
|
|
5
|
+
header: [],
|
|
6
|
+
footer: {},
|
|
6
7
|
menu: []
|
|
7
8
|
};
|
|
8
|
-
function i({ actions: r }) {
|
|
9
|
+
function i({ actions: r, size: i = "default" }) {
|
|
9
10
|
return /* @__PURE__ */ n(t, { children: r.map((t) => /* @__PURE__ */ n(e, {
|
|
10
11
|
type: "button",
|
|
11
12
|
variant: t.variant,
|
|
13
|
+
size: i,
|
|
12
14
|
disabled: t.disabled,
|
|
13
15
|
loading: t.loading,
|
|
14
16
|
onClick: t.onSelect,
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import { LABEL_LABELS_EN as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
2
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js
|
|
3
|
-
var t =
|
|
3
|
+
var t = [
|
|
4
|
+
"First",
|
|
5
|
+
"Second",
|
|
6
|
+
"Third",
|
|
7
|
+
"Fourth",
|
|
8
|
+
"Fifth"
|
|
9
|
+
], n = {
|
|
4
10
|
cancelButton: "Cancel",
|
|
5
11
|
close: "Close",
|
|
6
12
|
orConnector: "or",
|
|
13
|
+
pendingApproverStep: (e) => {
|
|
14
|
+
let n = t[e - 1];
|
|
15
|
+
return n ? `${n} approval` : `Approval ${e}`;
|
|
16
|
+
},
|
|
7
17
|
fieldMarkers: e
|
|
8
18
|
};
|
|
9
|
-
function
|
|
19
|
+
function r(e) {
|
|
10
20
|
return {
|
|
11
|
-
...
|
|
21
|
+
...n,
|
|
12
22
|
...e,
|
|
13
23
|
fieldMarkers: {
|
|
14
|
-
...
|
|
24
|
+
...n.fieldMarkers,
|
|
15
25
|
...e?.fieldMarkers
|
|
16
26
|
}
|
|
17
27
|
};
|
|
18
28
|
}
|
|
19
|
-
export {
|
|
29
|
+
export { n as BILL_DECISION_DIALOG_LABELS_EN, r as mergeBillDecisionDialogLabels };
|
|
@@ -1,89 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { mergeBillDecisionDialogLabels as
|
|
3
|
-
import {
|
|
4
|
-
import { jsx as
|
|
1
|
+
import { ConfirmDialog as e, FieldRequirement as t, Label as n, Textarea as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { mergeBillDecisionDialogLabels as i } from "./index3.js";
|
|
3
|
+
import { useEffect as a, useState as o } from "react";
|
|
4
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
5
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js
|
|
6
|
-
function
|
|
7
|
-
let
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
}, [
|
|
11
|
-
let {
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
open:
|
|
6
|
+
function l({ open: l, copy: u, onConfirm: d, onCancel: f, isPending: p, labels: m, testId: h, confirmTestId: g, reasonTestId: _, reasonFieldId: v = "bill-decision-reason" }) {
|
|
7
|
+
let y = i(m), [b, x] = o("");
|
|
8
|
+
if (a(() => {
|
|
9
|
+
l || x("");
|
|
10
|
+
}, [l]), !u) return null;
|
|
11
|
+
let { icon: S, tone: C = "default" } = u.presentation ?? {}, w = C === "destructive", T = u.pendingApprovers ?? [], E = T.length > 1, D = (e) => e.join(` ${y.orConnector} `), O = T.length === 1 ? T[0] : null;
|
|
12
|
+
return /* @__PURE__ */ c(e, {
|
|
13
|
+
open: l,
|
|
14
14
|
onOpenChange: (e) => {
|
|
15
|
-
e
|
|
15
|
+
!e && !p && f();
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}), /* @__PURE__ */ m(l, {
|
|
57
|
-
id: E,
|
|
58
|
-
value: O,
|
|
59
|
-
placeholder: _.reason.placeholder,
|
|
60
|
-
onChange: (e) => k(e.target.value),
|
|
61
|
-
disabled: b,
|
|
62
|
-
"data-testid": T
|
|
63
|
-
})]
|
|
64
|
-
}) : null,
|
|
65
|
-
/* @__PURE__ */ h(r, {
|
|
66
|
-
className: P ? "ttw:sm:justify-center" : void 0,
|
|
67
|
-
children: [/* @__PURE__ */ m(o, {
|
|
68
|
-
type: "button",
|
|
69
|
-
variant: "outline",
|
|
70
|
-
onClick: y,
|
|
71
|
-
disabled: b,
|
|
72
|
-
className: F ? "ttw:flex-1" : void 0,
|
|
73
|
-
children: D.cancelButton
|
|
74
|
-
}), /* @__PURE__ */ h(o, {
|
|
75
|
-
type: "button",
|
|
76
|
-
variant: M === "destructive" ? "destructive" : "default",
|
|
77
|
-
loading: b,
|
|
78
|
-
disabled: b,
|
|
79
|
-
onClick: () => v(_.reason ? O.trim() : void 0),
|
|
80
|
-
className: F ? "ttw:flex-1" : void 0,
|
|
81
|
-
"data-testid": w,
|
|
82
|
-
children: [b ? null : x, _.confirmButton]
|
|
83
|
-
})]
|
|
84
|
-
})
|
|
85
|
-
]
|
|
86
|
-
})
|
|
17
|
+
title: u.title,
|
|
18
|
+
description: u.description,
|
|
19
|
+
icon: w && S ? /* @__PURE__ */ s(S, {}) : void 0,
|
|
20
|
+
destructive: w,
|
|
21
|
+
details: E ? T.map((e, t) => ({
|
|
22
|
+
label: y.pendingApproverStep(t + 1),
|
|
23
|
+
value: D(e.names)
|
|
24
|
+
})) : void 0,
|
|
25
|
+
onConfirm: () => d(u.reason ? b.trim() : void 0),
|
|
26
|
+
confirmDisabled: p,
|
|
27
|
+
loading: p,
|
|
28
|
+
labels: {
|
|
29
|
+
confirm: u.confirmButton,
|
|
30
|
+
cancel: y.cancelButton,
|
|
31
|
+
close: y.close
|
|
32
|
+
},
|
|
33
|
+
testIds: {
|
|
34
|
+
content: h,
|
|
35
|
+
confirm: g
|
|
36
|
+
},
|
|
37
|
+
children: [O ? /* @__PURE__ */ s("p", {
|
|
38
|
+
className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
39
|
+
children: D(O.names)
|
|
40
|
+
}) : null, u.reason ? /* @__PURE__ */ c("div", {
|
|
41
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
42
|
+
children: [/* @__PURE__ */ s(n, {
|
|
43
|
+
htmlFor: v,
|
|
44
|
+
requirement: t.Optional,
|
|
45
|
+
labels: y.fieldMarkers,
|
|
46
|
+
children: u.reason.label
|
|
47
|
+
}), /* @__PURE__ */ s(r, {
|
|
48
|
+
id: v,
|
|
49
|
+
value: b,
|
|
50
|
+
placeholder: u.reason.placeholder,
|
|
51
|
+
onChange: (e) => x(e.target.value),
|
|
52
|
+
disabled: p,
|
|
53
|
+
"data-testid": _
|
|
54
|
+
})]
|
|
55
|
+
}) : null]
|
|
87
56
|
});
|
|
88
57
|
}
|
|
89
|
-
export {
|
|
58
|
+
export { l as BillDecisionDialog, l as default };
|