@tesouro/embedded-components-react 0.5.139 → 0.5.142
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.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +21 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +8 -98
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +4 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +98 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +78 -135
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +4 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +139 -109
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +44 -186
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +108 -72
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +188 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +71 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +27 -406
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +403 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +13 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +77 -221
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +78 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +212 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +234 -557
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +581 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +4 -251
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +45 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +261 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +3 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +6 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +126 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +3 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +124 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +51 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +19 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +28 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +76 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +48 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +249 -142
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +27 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +160 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +217 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +3 -112
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +104 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index92.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +102 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -128
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +125 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +29 -177
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +178 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +106 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +26 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +28 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +27 -117
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +123 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +20 -99
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +97 -273
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +79 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +273 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +2 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +2 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +47 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +2 -374
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +369 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +93 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +53 -194
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +195 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +2 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +78 -308
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +311 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +37 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +2 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +34 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +37 -199
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +199 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +2 -402
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +413 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +8 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +93 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +118 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +92 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +1 -105
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +855 -831
- 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/util/dist/lib/relativeCalendarDay.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +0 -125
|
@@ -1,52 +1,2 @@
|
|
|
1
|
-
import { Typography as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { VendorSummaryCard as t } from "./index28.js";
|
|
3
|
-
import "./index29.js";
|
|
4
|
-
import { VendorSearchCombobox as n } from "./index50.js";
|
|
5
1
|
import "./index51.js";
|
|
6
|
-
import
|
|
7
|
-
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js
|
|
9
|
-
function o(o) {
|
|
10
|
-
let { onEdit: s, error: c, testId: l, labels: u, disabled: d } = o, f = r(u);
|
|
11
|
-
return /* @__PURE__ */ a("section", {
|
|
12
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
13
|
-
"data-invalid": c ? !0 : void 0,
|
|
14
|
-
"data-testid": l,
|
|
15
|
-
children: [
|
|
16
|
-
/* @__PURE__ */ i(e, {
|
|
17
|
-
component: "h2",
|
|
18
|
-
variant: "h6",
|
|
19
|
-
className: "ttw:font-semibold",
|
|
20
|
-
children: f.heading
|
|
21
|
-
}),
|
|
22
|
-
o.mode === "resolved" ? /* @__PURE__ */ i(t, {
|
|
23
|
-
summary: o.summary,
|
|
24
|
-
onEdit: s,
|
|
25
|
-
paymentInstructions: d ? void 0 : o.paymentInstructions,
|
|
26
|
-
showPaymentInstructions: o.showPaymentInstructions,
|
|
27
|
-
labels: f.summaryCard
|
|
28
|
-
}) : d ? /* @__PURE__ */ i(e, {
|
|
29
|
-
variant: "body2",
|
|
30
|
-
className: "ttw:text-muted-foreground",
|
|
31
|
-
children: f.noVendorPlaceholder
|
|
32
|
-
}) : o.mode === "selecting" ? /* @__PURE__ */ i(n, {
|
|
33
|
-
...o.search,
|
|
34
|
-
labels: f.search
|
|
35
|
-
}) : o.summary ? /* @__PURE__ */ a("div", {
|
|
36
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
37
|
-
children: [o.newVendorForm, /* @__PURE__ */ i(t, {
|
|
38
|
-
summary: o.summary,
|
|
39
|
-
paymentInstructions: o.paymentInstructions,
|
|
40
|
-
showPaymentInstructions: o.showPaymentInstructions,
|
|
41
|
-
labels: f.summaryCard
|
|
42
|
-
})]
|
|
43
|
-
}) : o.newVendorForm,
|
|
44
|
-
c ? /* @__PURE__ */ i("p", {
|
|
45
|
-
className: "ttw:text-sm ttw:text-destructive",
|
|
46
|
-
children: c
|
|
47
|
-
}) : null
|
|
48
|
-
]
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
//#endregion
|
|
52
|
-
export { o as VendorSection, o as default };
|
|
2
|
+
import "./index52.js";
|
|
@@ -1,2 +1,32 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { VENDOR_SUMMARY_CARD_LABELS_EN as e } from "./index29.js";
|
|
2
|
+
import "./index31.js";
|
|
3
|
+
import { VENDOR_SEARCH_COMBOBOX_LABELS_EN as t, mergeVendorSearchComboboxLabels as n } from "./index51.js";
|
|
2
4
|
import "./index53.js";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js
|
|
6
|
+
var r = {
|
|
7
|
+
heading: "Who are you paying?",
|
|
8
|
+
summaryCard: e,
|
|
9
|
+
search: t,
|
|
10
|
+
noVendorPlaceholder: "No vendor selected"
|
|
11
|
+
};
|
|
12
|
+
function i(e) {
|
|
13
|
+
return {
|
|
14
|
+
...r,
|
|
15
|
+
...e,
|
|
16
|
+
summaryCard: {
|
|
17
|
+
...r.summaryCard,
|
|
18
|
+
...e?.summaryCard,
|
|
19
|
+
ach: {
|
|
20
|
+
...r.summaryCard.ach,
|
|
21
|
+
...e?.summaryCard?.ach,
|
|
22
|
+
fieldMarkers: {
|
|
23
|
+
...r.summaryCard.ach.fieldMarkers,
|
|
24
|
+
...e?.summaryCard?.ach?.fieldMarkers
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
search: n(e?.search)
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { r as VENDOR_SECTION_LABELS_EN, i as mergeVendorSectionLabels };
|
|
@@ -1,56 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import { VENDOR_SECTION_LABELS_EN as l, mergeVendorSectionLabels as u } from "./index52.js";
|
|
9
|
-
import "./index54.js";
|
|
1
|
+
import { Typography as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { VendorSummaryCard as t } from "./index30.js";
|
|
3
|
+
import "./index31.js";
|
|
4
|
+
import { VendorSearchCombobox as n } from "./index52.js";
|
|
5
|
+
import "./index53.js";
|
|
6
|
+
import { mergeVendorSectionLabels as r } from "./index54.js";
|
|
7
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
10
8
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
requiredFieldsLegend: n(t, e?.requiredFieldsLegend)
|
|
53
|
-
};
|
|
9
|
+
function o(o) {
|
|
10
|
+
let { onEdit: s, error: c, testId: l, labels: u, disabled: d } = o, f = r(u);
|
|
11
|
+
return /* @__PURE__ */ a("section", {
|
|
12
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
13
|
+
"data-invalid": c ? !0 : void 0,
|
|
14
|
+
"data-testid": l,
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ i(e, {
|
|
17
|
+
component: "h2",
|
|
18
|
+
variant: "h6",
|
|
19
|
+
className: "ttw:font-semibold",
|
|
20
|
+
children: f.heading
|
|
21
|
+
}),
|
|
22
|
+
o.mode === "resolved" ? /* @__PURE__ */ i(t, {
|
|
23
|
+
summary: o.summary,
|
|
24
|
+
onEdit: s,
|
|
25
|
+
paymentInstructions: d ? void 0 : o.paymentInstructions,
|
|
26
|
+
showPaymentInstructions: o.showPaymentInstructions,
|
|
27
|
+
labels: f.summaryCard
|
|
28
|
+
}) : d ? /* @__PURE__ */ i(e, {
|
|
29
|
+
variant: "body2",
|
|
30
|
+
className: "ttw:text-muted-foreground",
|
|
31
|
+
children: f.noVendorPlaceholder
|
|
32
|
+
}) : o.mode === "selecting" ? /* @__PURE__ */ i(n, {
|
|
33
|
+
...o.search,
|
|
34
|
+
labels: f.search
|
|
35
|
+
}) : o.summary ? /* @__PURE__ */ a("div", {
|
|
36
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
37
|
+
children: [o.newVendorForm, /* @__PURE__ */ i(t, {
|
|
38
|
+
summary: o.summary,
|
|
39
|
+
paymentInstructions: o.paymentInstructions,
|
|
40
|
+
showPaymentInstructions: o.showPaymentInstructions,
|
|
41
|
+
labels: f.summaryCard
|
|
42
|
+
})]
|
|
43
|
+
}) : o.newVendorForm,
|
|
44
|
+
c ? /* @__PURE__ */ i("p", {
|
|
45
|
+
className: "ttw:text-sm ttw:text-destructive",
|
|
46
|
+
children: c
|
|
47
|
+
}) : null
|
|
48
|
+
]
|
|
49
|
+
});
|
|
54
50
|
}
|
|
55
51
|
//#endregion
|
|
56
|
-
export {
|
|
52
|
+
export { o as VendorSection, o as default };
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
function n(n) {
|
|
4
|
-
let r = t(null), i = t(n);
|
|
5
|
-
return e(() => {
|
|
6
|
-
if (n === i.current) return;
|
|
7
|
-
i.current = n;
|
|
8
|
-
let e = r.current?.querySelector("[aria-invalid=\"true\"], [data-invalid=\"true\"]");
|
|
9
|
-
e?.scrollIntoView({ block: "center" }), e?.focus({ preventScroll: !0 });
|
|
10
|
-
}, [n]), r;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { n as useFocusFirstInvalidField };
|
|
1
|
+
import "./index54.js";
|
|
2
|
+
import "./index55.js";
|
|
@@ -1,197 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
10
|
-
import { LineItemsSection as g } from "./index47.js";
|
|
11
|
-
import "./index48.js";
|
|
12
|
-
import { VendorSection as _ } from "./index53.js";
|
|
13
|
-
import "./index54.js";
|
|
14
|
-
import { mergeBillCreateScreenLabels as v } from "./index55.js";
|
|
15
|
-
import { useFocusFirstInvalidField as y } from "./index56.js";
|
|
16
|
-
import { Fragment as b, useId as x } from "react";
|
|
17
|
-
import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
18
|
-
import { Minimize2 as ne, MoreVertical as T, X as E } from "lucide-react";
|
|
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";
|
|
2
|
+
import { BILL_DETAIL_BODY_LABELS_EN as r, mergeBillDetailBodyLabels as i } from "./index39.js";
|
|
3
|
+
import "./index41.js";
|
|
4
|
+
import { BILL_FORM_FIELDS_LABELS_EN as a, mergeBillFormFieldsLabels as o } from "./index42.js";
|
|
5
|
+
import "./index44.js";
|
|
6
|
+
import { LINE_ITEMS_SECTION_LABELS_EN as s, mergeLineItemsSectionLabels as c } from "./index48.js";
|
|
7
|
+
import "./index50.js";
|
|
8
|
+
import { VENDOR_SECTION_LABELS_EN as l, mergeVendorSectionLabels as u } from "./index54.js";
|
|
9
|
+
import "./index56.js";
|
|
19
10
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
type: "button",
|
|
64
|
-
variant: "ghost",
|
|
65
|
-
size: "icon",
|
|
66
|
-
"aria-label": Q.menuTrigger,
|
|
67
|
-
disabled: U,
|
|
68
|
-
children: /* @__PURE__ */ C(T, { className: "ttw:size-4" })
|
|
69
|
-
})
|
|
70
|
-
}), /* @__PURE__ */ C(s, {
|
|
71
|
-
align: "end",
|
|
72
|
-
children: oe.map((e, t) => {
|
|
73
|
-
let n = e.items.map((e) => {
|
|
74
|
-
let t = e.icon;
|
|
75
|
-
return /* @__PURE__ */ w(l, {
|
|
76
|
-
variant: e.destructive ? "destructive" : void 0,
|
|
77
|
-
disabled: e.disabled,
|
|
78
|
-
onSelect: e.onSelect,
|
|
79
|
-
children: [t ? /* @__PURE__ */ C(t, { className: "ttw:size-4" }) : null, e.label]
|
|
80
|
-
}, e.id);
|
|
81
|
-
});
|
|
82
|
-
if (!e.heading) return /* @__PURE__ */ C(b, { children: n }, e.items[0]?.id);
|
|
83
|
-
let r = `${ae}-${t}`;
|
|
84
|
-
return /* @__PURE__ */ w(b, { children: [
|
|
85
|
-
t > 0 ? /* @__PURE__ */ C(u, {}) : null,
|
|
86
|
-
/* @__PURE__ */ C(ee, {
|
|
87
|
-
id: r,
|
|
88
|
-
className: "ttw:py-1 ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
|
|
89
|
-
children: e.heading
|
|
90
|
-
}),
|
|
91
|
-
/* @__PURE__ */ C(c, {
|
|
92
|
-
"aria-labelledby": r,
|
|
93
|
-
children: n
|
|
94
|
-
})
|
|
95
|
-
] }, e.items[0]?.id);
|
|
96
|
-
})
|
|
97
|
-
})] }) : null,
|
|
98
|
-
/* @__PURE__ */ C(e, {
|
|
99
|
-
type: "button",
|
|
100
|
-
variant: "ghost",
|
|
101
|
-
size: "icon",
|
|
102
|
-
"aria-label": Q.closeButton,
|
|
103
|
-
disabled: U,
|
|
104
|
-
onClick: q,
|
|
105
|
-
children: /* @__PURE__ */ C(E, { className: "ttw:size-4" })
|
|
106
|
-
})
|
|
107
|
-
]
|
|
108
|
-
})]
|
|
109
|
-
}),
|
|
110
|
-
/* @__PURE__ */ w("div", {
|
|
111
|
-
className: "ttw:grid ttw:flex-1 ttw:grid-cols-2 ttw:overflow-hidden",
|
|
112
|
-
children: [/* @__PURE__ */ w("div", {
|
|
113
|
-
ref: se,
|
|
114
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:overflow-y-auto ttw:px-6 ttw:py-6",
|
|
115
|
-
children: [
|
|
116
|
-
P?.form ? /* @__PURE__ */ C("div", {
|
|
117
|
-
"data-invalid": "true",
|
|
118
|
-
children: /* @__PURE__ */ C(te, { children: P.form })
|
|
119
|
-
}) : null,
|
|
120
|
-
j ? /* @__PURE__ */ C("div", {
|
|
121
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
122
|
-
children: j
|
|
123
|
-
}) : null,
|
|
124
|
-
$ ? /* @__PURE__ */ C(p, {
|
|
125
|
-
...B,
|
|
126
|
-
labels: Q.detailBody
|
|
127
|
-
}) : /* @__PURE__ */ w(S, { children: [
|
|
128
|
-
/* @__PURE__ */ C(f, { labels: Q.requiredFieldsLegend }),
|
|
129
|
-
/* @__PURE__ */ C(_, {
|
|
130
|
-
...M,
|
|
131
|
-
onEdit: z ? void 0 : M.onEdit,
|
|
132
|
-
disabled: z,
|
|
133
|
-
labels: Q.vendorSection
|
|
134
|
-
}),
|
|
135
|
-
/* @__PURE__ */ C(m, {
|
|
136
|
-
values: N,
|
|
137
|
-
errors: P,
|
|
138
|
-
onChange: F,
|
|
139
|
-
disabled: z,
|
|
140
|
-
labels: Q.detailsFields
|
|
141
|
-
}),
|
|
142
|
-
/* @__PURE__ */ C(g, {
|
|
143
|
-
...I,
|
|
144
|
-
disabled: I.disabled || H || z,
|
|
145
|
-
labels: Q.lineItems
|
|
146
|
-
})
|
|
147
|
-
] })
|
|
148
|
-
]
|
|
149
|
-
}), /* @__PURE__ */ C("div", {
|
|
150
|
-
className: "ttw:overflow-y-auto ttw:bg-muted/30 ttw:px-6 ttw:py-6",
|
|
151
|
-
children: L
|
|
152
|
-
})]
|
|
153
|
-
}),
|
|
154
|
-
$ ? V ? /* @__PURE__ */ w("div", {
|
|
155
|
-
className: "ttw:flex ttw:justify-end ttw:gap-2 ttw:border-t ttw:border-border ttw:px-6 ttw:py-4",
|
|
156
|
-
children: [/* @__PURE__ */ C(e, {
|
|
157
|
-
type: "button",
|
|
158
|
-
variant: "ghost",
|
|
159
|
-
disabled: V.isSaving,
|
|
160
|
-
onClick: V.onCancel,
|
|
161
|
-
children: Q.cancelButton
|
|
162
|
-
}), /* @__PURE__ */ C(e, {
|
|
163
|
-
type: "button",
|
|
164
|
-
onClick: V.onSave,
|
|
165
|
-
loading: V.isSaving,
|
|
166
|
-
disabled: V.isSaving,
|
|
167
|
-
children: Q.saveButton
|
|
168
|
-
})]
|
|
169
|
-
}) : null : /* @__PURE__ */ w("div", {
|
|
170
|
-
className: "ttw:flex ttw:justify-end ttw:gap-2 ttw:border-t ttw:border-border ttw:px-6 ttw:py-4",
|
|
171
|
-
children: [/* @__PURE__ */ C(e, {
|
|
172
|
-
type: "button",
|
|
173
|
-
variant: "ghost",
|
|
174
|
-
disabled: U,
|
|
175
|
-
onClick: q,
|
|
176
|
-
children: z ? Q.closeButton : Q.cancelButton
|
|
177
|
-
}), z ? null : /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C(e, {
|
|
178
|
-
type: "button",
|
|
179
|
-
variant: K ? "secondary" : "default",
|
|
180
|
-
onClick: Y,
|
|
181
|
-
loading: W,
|
|
182
|
-
disabled: U || G || H,
|
|
183
|
-
children: Q.saveDraftButton
|
|
184
|
-
}), K ? /* @__PURE__ */ C(e, {
|
|
185
|
-
type: "button",
|
|
186
|
-
onClick: X,
|
|
187
|
-
loading: G,
|
|
188
|
-
disabled: U || W || H,
|
|
189
|
-
children: Q.submitButton
|
|
190
|
-
}) : null] })]
|
|
191
|
-
})
|
|
192
|
-
]
|
|
193
|
-
})
|
|
194
|
-
});
|
|
11
|
+
var d = {
|
|
12
|
+
closeButton: "Close",
|
|
13
|
+
collapseButton: "Exit full screen",
|
|
14
|
+
menuTrigger: "More actions",
|
|
15
|
+
cancelButton: "Cancel",
|
|
16
|
+
saveDraftButton: "Save and close",
|
|
17
|
+
submitButton: "Submit",
|
|
18
|
+
saveButton: "Save",
|
|
19
|
+
hiddenDescription: "Enter the details of the bill you want to pay.",
|
|
20
|
+
vendorSection: l,
|
|
21
|
+
detailsFields: a,
|
|
22
|
+
lineItems: s,
|
|
23
|
+
detailBody: r,
|
|
24
|
+
requiredFieldsLegend: t,
|
|
25
|
+
fieldMarkers: e
|
|
26
|
+
};
|
|
27
|
+
function f(e) {
|
|
28
|
+
let t = {
|
|
29
|
+
...d.fieldMarkers,
|
|
30
|
+
...e?.fieldMarkers
|
|
31
|
+
};
|
|
32
|
+
return {
|
|
33
|
+
...d,
|
|
34
|
+
...e,
|
|
35
|
+
fieldMarkers: t,
|
|
36
|
+
vendorSection: u({
|
|
37
|
+
...e?.vendorSection,
|
|
38
|
+
search: {
|
|
39
|
+
fieldMarkers: t,
|
|
40
|
+
...e?.vendorSection?.search
|
|
41
|
+
}
|
|
42
|
+
}),
|
|
43
|
+
detailsFields: o({
|
|
44
|
+
fieldMarkers: t,
|
|
45
|
+
...e?.detailsFields
|
|
46
|
+
}),
|
|
47
|
+
lineItems: c({
|
|
48
|
+
fieldMarkers: t,
|
|
49
|
+
...e?.lineItems
|
|
50
|
+
}),
|
|
51
|
+
detailBody: i(e?.detailBody),
|
|
52
|
+
requiredFieldsLegend: n(t, e?.requiredFieldsLegend)
|
|
53
|
+
};
|
|
195
54
|
}
|
|
196
55
|
//#endregion
|
|
197
|
-
export {
|
|
56
|
+
export { d as BILL_CREATE_SCREEN_LABELS_EN, f as mergeBillCreateScreenLabels };
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
1
|
+
import { useEffect as e, useRef as t } from "react";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js
|
|
3
|
+
function n(n) {
|
|
4
|
+
let r = t(null), i = t(n);
|
|
5
|
+
return e(() => {
|
|
6
|
+
if (n === i.current) return;
|
|
7
|
+
i.current = n;
|
|
8
|
+
let e = r.current?.querySelector("[aria-invalid=\"true\"], [data-invalid=\"true\"]");
|
|
9
|
+
e?.scrollIntoView({ block: "center" }), e?.focus({ preventScroll: !0 });
|
|
10
|
+
}, [n]), r;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { n as useFocusFirstInvalidField };
|