@tesouro/embedded-components-react 0.2.266 → 0.2.267
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 +45 -9
- 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 +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +99 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +7 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +99 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +1 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +48 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +8 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +100 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +6 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +83 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +2 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +103 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +37 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +15 -116
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +126 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +32 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +34 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +261 -181
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +32 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js +1 -1
- package/package.json +1 -1
|
@@ -11,38 +11,38 @@ import { BILL_CREATE_SCREEN_LABELS_EN as m } from "./index27.js";
|
|
|
11
11
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
12
12
|
import { MoreVertical as _, X as v } from "lucide-react";
|
|
13
13
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js
|
|
14
|
-
function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor: w, values: T, errors: E, onChange: D,
|
|
15
|
-
let
|
|
14
|
+
function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor: w, values: T, errors: E, onChange: D, lineItems: O, documentPanel: k, menuItems: A, isLineItemsLoading: j, isSavingDraft: M, isFinalizing: N, onCancel: P, onSaveDraft: F, onFinalize: I, testId: L, labels: R }) {
|
|
15
|
+
let z = {
|
|
16
16
|
...m,
|
|
17
|
-
...
|
|
17
|
+
...R,
|
|
18
18
|
vendorSection: {
|
|
19
19
|
...m.vendorSection,
|
|
20
|
-
...
|
|
20
|
+
...R?.vendorSection,
|
|
21
21
|
summaryCard: {
|
|
22
22
|
...m.vendorSection.summaryCard,
|
|
23
|
-
...
|
|
23
|
+
...R?.vendorSection?.summaryCard
|
|
24
24
|
},
|
|
25
25
|
search: {
|
|
26
26
|
...m.vendorSection.search,
|
|
27
|
-
...
|
|
27
|
+
...R?.vendorSection?.search
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
detailsFields: {
|
|
31
31
|
...m.detailsFields,
|
|
32
|
-
...
|
|
32
|
+
...R?.detailsFields
|
|
33
33
|
},
|
|
34
34
|
lineItems: {
|
|
35
35
|
...m.lineItems,
|
|
36
|
-
...
|
|
36
|
+
...R?.lineItems
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ h(t, {
|
|
40
40
|
open: y,
|
|
41
|
-
onOpenChange: (e) => e ? b(e) :
|
|
41
|
+
onOpenChange: (e) => e ? b(e) : P(),
|
|
42
42
|
children: /* @__PURE__ */ g(n, {
|
|
43
43
|
showCloseButton: !1,
|
|
44
44
|
className: "ttw:flex ttw:h-[calc(100vh-3rem)] ttw:w-[calc(100vw-3rem)] ttw:max-w-[calc(100vw-3rem)] ttw:flex-col ttw:gap-0 ttw:p-0",
|
|
45
|
-
"data-testid":
|
|
45
|
+
"data-testid": L,
|
|
46
46
|
children: [
|
|
47
47
|
/* @__PURE__ */ g(i, {
|
|
48
48
|
className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:border-b ttw:border-border ttw:px-6 ttw:py-4",
|
|
@@ -59,23 +59,23 @@ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor:
|
|
|
59
59
|
}) : null,
|
|
60
60
|
/* @__PURE__ */ h(r, {
|
|
61
61
|
className: "ttw:sr-only",
|
|
62
|
-
children:
|
|
62
|
+
children: z.hiddenDescription
|
|
63
63
|
})
|
|
64
64
|
]
|
|
65
65
|
}), /* @__PURE__ */ g("div", {
|
|
66
66
|
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
67
|
-
children: [
|
|
67
|
+
children: [A && A.length > 0 ? /* @__PURE__ */ g(o, { children: [/* @__PURE__ */ h(l, {
|
|
68
68
|
asChild: !0,
|
|
69
69
|
children: /* @__PURE__ */ h(e, {
|
|
70
70
|
type: "button",
|
|
71
71
|
variant: "ghost",
|
|
72
72
|
size: "icon",
|
|
73
|
-
"aria-label":
|
|
73
|
+
"aria-label": z.menuTrigger,
|
|
74
74
|
children: /* @__PURE__ */ h(_, { className: "ttw:size-4" })
|
|
75
75
|
})
|
|
76
76
|
}), /* @__PURE__ */ h(s, {
|
|
77
77
|
align: "end",
|
|
78
|
-
children:
|
|
78
|
+
children: A.map((e) => /* @__PURE__ */ h(c, {
|
|
79
79
|
variant: e.destructive ? "destructive" : void 0,
|
|
80
80
|
onSelect: e.onSelect,
|
|
81
81
|
children: e.label
|
|
@@ -84,8 +84,8 @@ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor:
|
|
|
84
84
|
type: "button",
|
|
85
85
|
variant: "ghost",
|
|
86
86
|
size: "icon",
|
|
87
|
-
"aria-label":
|
|
88
|
-
onClick:
|
|
87
|
+
"aria-label": z.closeButton,
|
|
88
|
+
onClick: P,
|
|
89
89
|
children: /* @__PURE__ */ h(v, { className: "ttw:size-4" })
|
|
90
90
|
})]
|
|
91
91
|
})]
|
|
@@ -99,24 +99,23 @@ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor:
|
|
|
99
99
|
C,
|
|
100
100
|
/* @__PURE__ */ h(p, {
|
|
101
101
|
...w,
|
|
102
|
-
labels:
|
|
102
|
+
labels: z.vendorSection
|
|
103
103
|
}),
|
|
104
104
|
/* @__PURE__ */ h(d, {
|
|
105
105
|
values: T,
|
|
106
106
|
errors: E,
|
|
107
107
|
onChange: D,
|
|
108
|
-
|
|
109
|
-
labels: B.detailsFields
|
|
108
|
+
labels: z.detailsFields
|
|
110
109
|
}),
|
|
111
110
|
/* @__PURE__ */ h(f, {
|
|
112
|
-
...
|
|
113
|
-
disabled:
|
|
114
|
-
labels:
|
|
111
|
+
...O,
|
|
112
|
+
disabled: O.disabled || j,
|
|
113
|
+
labels: z.lineItems
|
|
115
114
|
})
|
|
116
115
|
]
|
|
117
116
|
}), /* @__PURE__ */ h("div", {
|
|
118
117
|
className: "ttw:overflow-y-auto ttw:bg-muted/30 ttw:px-6 ttw:py-6",
|
|
119
|
-
children:
|
|
118
|
+
children: k
|
|
120
119
|
})]
|
|
121
120
|
}),
|
|
122
121
|
/* @__PURE__ */ g("div", {
|
|
@@ -125,23 +124,23 @@ function y({ open: y, onOpenChange: b, title: x, subtitle: S, notice: C, vendor:
|
|
|
125
124
|
/* @__PURE__ */ h(e, {
|
|
126
125
|
type: "button",
|
|
127
126
|
variant: "ghost",
|
|
128
|
-
onClick:
|
|
129
|
-
children:
|
|
127
|
+
onClick: P,
|
|
128
|
+
children: z.cancelButton
|
|
130
129
|
}),
|
|
131
130
|
/* @__PURE__ */ h(e, {
|
|
132
131
|
type: "button",
|
|
133
132
|
variant: "secondary",
|
|
134
|
-
onClick:
|
|
135
|
-
loading:
|
|
136
|
-
disabled:
|
|
137
|
-
children:
|
|
133
|
+
onClick: F,
|
|
134
|
+
loading: M,
|
|
135
|
+
disabled: N || j,
|
|
136
|
+
children: z.saveDraftButton
|
|
138
137
|
}),
|
|
139
138
|
/* @__PURE__ */ h(e, {
|
|
140
139
|
type: "button",
|
|
141
|
-
onClick:
|
|
142
|
-
loading:
|
|
143
|
-
disabled:
|
|
144
|
-
children:
|
|
140
|
+
onClick: I,
|
|
141
|
+
loading: N,
|
|
142
|
+
disabled: M || j,
|
|
143
|
+
children: z.finalizeButton
|
|
145
144
|
})
|
|
146
145
|
]
|
|
147
146
|
})
|
|
@@ -33,8 +33,8 @@ function c({ emailAddress: c, onCopyEmail: l, onFilesSelected: u, accept: d, upl
|
|
|
33
33
|
type: "button",
|
|
34
34
|
onClick: l,
|
|
35
35
|
"aria-label": _.copyEmail,
|
|
36
|
-
className: "ttw:inline-flex ttw:items-center ttw:gap-1 ttw:align-
|
|
37
|
-
children: [/* @__PURE__ */ a(s, { className: "ttw:size-3.5" })
|
|
36
|
+
className: "ttw:inline-flex ttw:items-center ttw:gap-1.5 ttw:rounded-md ttw:border ttw:border-input ttw:px-2 ttw:py-1 ttw:align-middle ttw:text-foreground ttw:hover:bg-accent",
|
|
37
|
+
children: [c, /* @__PURE__ */ a(s, { className: "ttw:size-3.5 ttw:text-muted-foreground" })]
|
|
38
38
|
}),
|
|
39
39
|
" ",
|
|
40
40
|
_.subcopySuffix
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.2.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.2.267", n = "ffc9d042b2bcd9bb009f185e224c044803586799", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -9,7 +9,7 @@ import { CardProgram as n } from "../../../shared/feature/dist/lib/card/cardProg
|
|
|
9
9
|
import "../../../shared/feature/dist/index.js";
|
|
10
10
|
import { BankAccountsWidget as r } from "../../../bank-accounts-widget/feature/dist/index8.js";
|
|
11
11
|
import "../../../bank-accounts-widget/feature/dist/index.js";
|
|
12
|
-
import { BillPayWidget as i } from "../../../bill-pay-widget/feature/dist/
|
|
12
|
+
import { BillPayWidget as i } from "../../../bill-pay-widget/feature/dist/index30.js";
|
|
13
13
|
import "../../../bill-pay-widget/feature/dist/index.js";
|
|
14
14
|
import { CardsWidget as a } from "../../../cards-widget/feature/dist/index8.js";
|
|
15
15
|
import "../../../cards-widget/feature/dist/index.js";
|