@tesouro/embedded-components-react 0.5.136 → 0.5.138

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.
Files changed (19) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +2 -2
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +26 -129
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +145 -204
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +214 -4
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +4 -7
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +5 -111
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +113 -1
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -26
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +27 -0
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +2 -0
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +93 -79
  14. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +4 -4
  15. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +21 -12
  16. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +17 -17
  17. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  19. package/package.json +1 -1
@@ -1,4 +1,214 @@
1
- import "./index73.js";
2
- import "./index76.js";
3
- import "./index83.js";
4
- import "./index84.js";
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
+ import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
7
+ import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
8
+ import "../../../shared/data-access/dist/index.js";
9
+ import "../../../shared/ui/dist/index.js";
10
+ import { useWidgetConfig as ee, useWidgetInitStaleForToken as te } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
+ import "../../../shared/feature/dist/index.js";
12
+ import { useDuplicateBillsCount as ne } from "./index10.js";
13
+ import { AddBillDialog as r } from "../../ui/dist/index10.js";
14
+ import { BillsScreen as re } from "../../ui/dist/index82.js";
15
+ import "../../ui/dist/index.js";
16
+ import { DuplicateBillsContainer as ie } from "./index12.js";
17
+ import "./index14.js";
18
+ import { BillCreateDialog as i } from "./index60.js";
19
+ import "./index61.js";
20
+ import { BillDetailsContainer as ae } from "./index63.js";
21
+ import "./index64.js";
22
+ import "./index70.js";
23
+ import "./index71.js";
24
+ import { BILL_QUEUE_ORDER as a } from "./index73.js";
25
+ import { BILLS_TAB_LABELS_EN as o } from "./index76.js";
26
+ import { useBillsTable as s } from "./index84.js";
27
+ import { formatBillQueueBadge as c } from "./index72.js";
28
+ import { copyTextToClipboard as l } from "./index74.js";
29
+ import { resolveDuplicateWarning as u } from "./index75.js";
30
+ import { billsTabTestIds as d, billsTableCellTestIds as f } from "./index77.js";
31
+ import { useBillQueueCounts as oe } from "./index78.js";
32
+ import { useCallback as p, useEffect as m, useMemo as h, useState as g } from "react";
33
+ import { jsx as _, jsxs as se } from "react/jsx-runtime";
34
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js
35
+ var v = "bills@business-banking.app";
36
+ function y({ labels: y, onEnqueueFiles: b, openPayableId: x, onOpenPayableHandled: S, vendorIntent: C, onVendorIntentHandled: w, poweredByBankName: T, onSettingsClick: E }) {
37
+ let D = h(() => ({
38
+ ...o,
39
+ ...y,
40
+ queues: {
41
+ ...o.queues,
42
+ ...y?.queues
43
+ },
44
+ filters: {
45
+ ...o.filters,
46
+ ...y?.filters,
47
+ presets: {
48
+ ...o.filters.presets,
49
+ ...y?.filters?.presets
50
+ },
51
+ statuses: {
52
+ ...o.filters.statuses,
53
+ ...y?.filters?.statuses
54
+ },
55
+ dateFieldNames: {
56
+ ...o.filters.dateFieldNames,
57
+ ...y?.filters?.dateFieldNames
58
+ }
59
+ },
60
+ filterBar: {
61
+ ...o.filterBar,
62
+ ...y?.filterBar
63
+ },
64
+ queueEmptyStates: a.reduce((e, t) => ({
65
+ ...e,
66
+ [t]: {
67
+ ...o.queueEmptyStates[t],
68
+ ...y?.queueEmptyStates?.[t]
69
+ }
70
+ }), {})
71
+ }), [y]), [ce, O] = g(!1), [le, k] = g(), [A, j] = g(), [M, N] = g(!1), [P, F] = g(), [I, L] = g(!1), [R, z] = g(!1), [B, V] = g(!1), { initResponse: H } = ee(), U = te(), ue = t(H?.scopes, [n.PayableReadOrg]), de = t(H?.scopes, [n.PayableWriteOrg]), W = !H || ue, G = !H || de, fe = p((e, t) => {
72
+ if (t && G) {
73
+ k(e), j(void 0), N(!0);
74
+ return;
75
+ }
76
+ F(e), z(!0);
77
+ }, [G]), pe = t(H?.scopes, [n.CounterpartReadOrg]), K = s({
78
+ enabled: W,
79
+ canReadVendors: pe,
80
+ isVendorFilterPaused: U,
81
+ filterLabels: D.filters,
82
+ onOpenBill: fe,
83
+ duplicateRowNote: D.duplicateRowNote,
84
+ attachmentLabel: D.attachmentIndicator
85
+ }), q = ne({ enabled: W }), me = u(q, D), J = oe({ enabled: W }), he = h(() => a.map((e) => ({
86
+ id: e,
87
+ label: D.queues[e],
88
+ badge: c(J[e])
89
+ })), [D.queues, J]), ge = (e) => {
90
+ V(!1), F(e), z(!0);
91
+ }, _e = () => {
92
+ L(!1), z(!0);
93
+ }, ve = () => {
94
+ z(!1), L(!0);
95
+ }, Y = () => {
96
+ L(!1), z(!1), k(P), j(void 0), N(!0);
97
+ }, ye = h(() => ({
98
+ createButton: D.createButton,
99
+ settingsButton: D.settingsButton,
100
+ addBill: { heading: D.nonEmptyHeading }
101
+ }), [
102
+ D.createButton,
103
+ D.settingsButton,
104
+ D.nonEmptyHeading
105
+ ]), be = h(() => ({
106
+ ...K.filterBarProps,
107
+ labels: D.filterBar
108
+ }), [K.filterBarProps, D.filterBar]), X = p((e) => {
109
+ O(!1), k(void 0), j(e), N(!0);
110
+ }, []), Z = (e) => {
111
+ O(!1), b?.(e);
112
+ }, Q = async () => {
113
+ await l(v) ? e.success(D.emailCopiedToast) : e.error(D.emailCopyFailedToast);
114
+ };
115
+ m(() => {
116
+ x && (k(x), j(void 0), N(!0), S?.());
117
+ }, [S, x]);
118
+ let { showVendorBills: $ } = K;
119
+ return m(() => {
120
+ C && (C.action === "createBill" ? G && X(C.vendorId) : $({
121
+ id: C.vendorId,
122
+ name: C.vendorName
123
+ }), w?.());
124
+ }, [
125
+ G,
126
+ w,
127
+ X,
128
+ $,
129
+ C
130
+ ]), /* @__PURE__ */ se("div", {
131
+ "data-testid": d.root,
132
+ children: [
133
+ /* @__PURE__ */ _(re, {
134
+ rows: K.rows,
135
+ isLoading: K.isLoading || !H,
136
+ isError: K.isError,
137
+ onRetry: K.onRetry,
138
+ sorting: K.sorting,
139
+ onSortingChange: K.onSortingChange,
140
+ pageSize: K.pageSize,
141
+ onPageSizeChange: K.onPageSizeChange,
142
+ hasNextPage: K.hasNextPage,
143
+ hasPrevPage: K.hasPrevPage,
144
+ onNextPage: K.onNextPage,
145
+ onPrevPage: K.onPrevPage,
146
+ filterTabs: he,
147
+ selectedFilterTabId: K.selectedFilterTabId,
148
+ onFilterTabChange: K.onFilterTabChange,
149
+ searchValue: K.searchValue,
150
+ onSearchChange: K.onSearchChange,
151
+ filters: be,
152
+ visibleColumns: K.visibleColumns,
153
+ cellTestIds: f,
154
+ isSearchActive: K.isSearchActive,
155
+ showAddPanelWhenEmpty: K.showAddPanelWhenEmpty,
156
+ emptyState: D.queueEmptyStates[K.selectedFilterTabId],
157
+ onCreateClick: G ? () => O(!0) : void 0,
158
+ onSettingsClick: E,
159
+ onEnterManually: G ? () => X() : void 0,
160
+ onFilesSelected: G ? Z : void 0,
161
+ maxFiles: 10,
162
+ emailAddress: v,
163
+ onCopyEmail: Q,
164
+ duplicateWarning: me,
165
+ onReviewDuplicates: q.isError ? void 0 : () => V(!0),
166
+ labels: ye
167
+ }),
168
+ B ? /* @__PURE__ */ _(ie, {
169
+ open: B,
170
+ onOpenChange: V,
171
+ enabled: W,
172
+ canManageDuplicates: G,
173
+ onOpenBill: ge
174
+ }) : null,
175
+ G ? /* @__PURE__ */ _(r, {
176
+ open: ce,
177
+ onOpenChange: O,
178
+ onFilesSelected: Z,
179
+ maxFiles: 10,
180
+ onEnterManually: () => X(),
181
+ emailAddress: v,
182
+ onCopyEmail: Q,
183
+ labels: { heading: K.hasAnyBills ? D.nonEmptyHeading : D.emptyHeading }
184
+ }) : null,
185
+ M ? /* @__PURE__ */ _(i, {
186
+ open: M,
187
+ onOpenChange: N,
188
+ payableId: le,
189
+ initialCounterpartId: A
190
+ }) : null,
191
+ I ? /* @__PURE__ */ _(ae, {
192
+ open: I,
193
+ onOpenChange: L,
194
+ payableId: P,
195
+ onClose: () => L(!1),
196
+ onExpand: _e,
197
+ onEdit: Y,
198
+ testId: d.detailsSheet,
199
+ poweredByBankName: T
200
+ }) : null,
201
+ R ? /* @__PURE__ */ _(i, {
202
+ open: R,
203
+ onOpenChange: z,
204
+ payableId: P,
205
+ readOnly: !0,
206
+ onCollapse: ve,
207
+ onEdit: Y,
208
+ poweredByBankName: T
209
+ }) : null
210
+ ]
211
+ });
212
+ }
213
+ //#endregion
214
+ export { y as BillsTab, y as default };
@@ -1,7 +1,4 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js
2
- var e = {
3
- bills: "Bills",
4
- vendors: "Vendors"
5
- };
6
- //#endregion
7
- export { e as DEFAULT_TABS_LABELS };
1
+ import "./index73.js";
2
+ import "./index76.js";
3
+ import "./index84.js";
4
+ import "./index85.js";
@@ -1,113 +1,7 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
6
- import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
7
- import "../../../shared/data-access/dist/index.js";
8
- import { EmbeddedToaster as n } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
9
- import "../../../shared/ui/dist/index.js";
10
- import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
11
- import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
12
- import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
- import "../../../shared/feature/dist/index.js";
14
- import { BillPayWidgetUi as o } from "../../ui/dist/index60.js";
15
- import { BillUploadStatusTray as s } from "../../ui/dist/index85.js";
16
- import "../../ui/dist/index.js";
17
- import { useBillUploadQueue as c } from "./index70.js";
18
- import "./index71.js";
19
- import { billsTabTestIds as l } from "./index77.js";
20
- import { BillsTab as u } from "./index84.js";
21
- import "./index85.js";
22
- import { BillPayWidgetAnalyticsEvent as d, WIDGET_NAME as f } from "./index65.js";
23
- import { DEFAULT_TABS_LABELS as p } from "./index86.js";
24
- import { CounterpartsWidget as m } from "../../../counterparts-widget/feature/dist/index8.js";
25
- import "../../../counterparts-widget/feature/dist/index.js";
26
- import { useCallback as h, useEffect as g, useState as _ } from "react";
27
- import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
28
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js
29
- var x = {
30
- Bills: "bills",
31
- Vendors: "vendors"
32
- }, S = [x.Bills, x.Vendors];
33
- function C({ labels: i, initialTab: f = x.Bills, tabsLabels: C, vendorLabels: w, poweredByBankName: T, onSettingsClick: E }) {
34
- let D = r();
35
- g(() => {
36
- D(d.Mounted);
37
- }, [D]);
38
- let O = {
39
- ...p,
40
- ...C
41
- }, { initResponse: k } = a(), A = e(k?.scopes, [t.PayableReadOrg]), j = e(k?.scopes, [t.PayableWriteOrg]), M = e(k?.scopes, [t.ApprovalPolicyWriteOrg]) && e(k?.scopes, [t.PayableWriteOrg]) && e(k?.scopes, [t.RoleReadOrg]) && e(k?.scopes, [t.UserReadOrg]), [N, P] = _(f), [F, I] = _(), L = h((e) => {
42
- P(x.Bills), I(e);
43
- }, []), R = c({ onOpenBill: L }), [z, B] = _(), V = h((e) => {
44
- P(x.Bills), B(e);
45
- }, []), H = [{
46
- id: x.Bills,
47
- label: O.bills,
48
- content: /* @__PURE__ */ y(u, {
49
- onEnqueueFiles: R.enqueue,
50
- openPayableId: F,
51
- onOpenPayableHandled: () => I(void 0),
52
- vendorIntent: z,
53
- onVendorIntentHandled: () => B(void 0),
54
- poweredByBankName: T,
55
- onSettingsClick: E && M ? E : void 0
56
- })
57
- }, {
58
- id: x.Vendors,
59
- label: O.vendors,
60
- content: /* @__PURE__ */ y(m, {
61
- ...w,
62
- counterpartType: "vendor",
63
- onViewAllDocuments: A ? (e) => V({
64
- vendorId: e.id,
65
- vendorName: e.name,
66
- action: "viewBills"
67
- }) : void 0,
68
- onCreateDocument: j ? (e) => V({
69
- vendorId: e.id,
70
- vendorName: e.name,
71
- action: "createBill"
72
- }) : void 0
73
- })
74
- }], U = H.some((e) => e.id === N) ? N : S.find((e) => H.some((t) => t.id === e)) ?? H[0]?.id ?? "";
75
- return /* @__PURE__ */ b(v, { children: [
76
- /* @__PURE__ */ y(n, {}),
77
- /* @__PURE__ */ y(o, {
78
- labels: i,
79
- tabs: H,
80
- selectedTabId: U,
81
- onTabChange: P
82
- }),
83
- R.isVisible ? /* @__PURE__ */ y(s, {
84
- sections: R.sections,
85
- summaryLabel: R.summaryLabel,
86
- collapsed: R.collapsed,
87
- onToggleCollapsed: R.onToggleCollapsed,
88
- onClose: R.onClose,
89
- testId: l.uploadTray
90
- }) : null
91
- ] });
92
- }
93
- function w({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: p, providerLabels: m, ...h }) {
94
- return /* @__PURE__ */ y(i, {
95
- widgetName: f,
96
- baseUrl: e,
97
- widgetToken: t,
98
- organizationId: n,
99
- configClient: r,
100
- gatewayRouting: a,
101
- linkComponent: o,
102
- implementation: s,
103
- uiFramework: c,
104
- errorFallback: l,
105
- onError: u,
106
- analytics: d,
107
- disclosuresAcceptance: p,
108
- providerLabels: m,
109
- children: /* @__PURE__ */ y(C, { ...h })
110
- });
111
- }
2
+ var e = {
3
+ bills: "Bills",
4
+ vendors: "Vendors"
5
+ };
112
6
  //#endregion
113
- export { w as BillPayWidgetNative, w as default };
7
+ export { e as DEFAULT_TABS_LABELS };
@@ -1 +1,113 @@
1
- import "./index87.js";
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
6
+ import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
7
+ import "../../../shared/data-access/dist/index.js";
8
+ import { EmbeddedToaster as n } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
9
+ import "../../../shared/ui/dist/index.js";
10
+ import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
11
+ import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
12
+ import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
+ import "../../../shared/feature/dist/index.js";
14
+ import { BillPayWidgetUi as o } from "../../ui/dist/index60.js";
15
+ import { BillUploadStatusTray as s } from "../../ui/dist/index85.js";
16
+ import "../../ui/dist/index.js";
17
+ import { useBillUploadQueue as c } from "./index70.js";
18
+ import "./index71.js";
19
+ import { billsTabTestIds as l } from "./index77.js";
20
+ import { BillsTab as u } from "./index85.js";
21
+ import "./index86.js";
22
+ import { BillPayWidgetAnalyticsEvent as d, WIDGET_NAME as f } from "./index65.js";
23
+ import { DEFAULT_TABS_LABELS as p } from "./index87.js";
24
+ import { CounterpartsWidget as m } from "../../../counterparts-widget/feature/dist/index8.js";
25
+ import "../../../counterparts-widget/feature/dist/index.js";
26
+ import { useCallback as h, useEffect as g, useState as _ } from "react";
27
+ import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
28
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js
29
+ var x = {
30
+ Bills: "bills",
31
+ Vendors: "vendors"
32
+ }, S = [x.Bills, x.Vendors];
33
+ function C({ labels: i, initialTab: f = x.Bills, tabsLabels: C, vendorLabels: w, poweredByBankName: T, onSettingsClick: E }) {
34
+ let D = r();
35
+ g(() => {
36
+ D(d.Mounted);
37
+ }, [D]);
38
+ let O = {
39
+ ...p,
40
+ ...C
41
+ }, { initResponse: k } = a(), A = e(k?.scopes, [t.PayableReadOrg]), j = e(k?.scopes, [t.PayableWriteOrg]), M = e(k?.scopes, [t.ApprovalPolicyWriteOrg]) && e(k?.scopes, [t.PayableWriteOrg]) && e(k?.scopes, [t.RoleReadOrg]) && e(k?.scopes, [t.UserReadOrg]), [N, P] = _(f), [F, I] = _(), L = h((e) => {
42
+ P(x.Bills), I(e);
43
+ }, []), R = c({ onOpenBill: L }), [z, B] = _(), V = h((e) => {
44
+ P(x.Bills), B(e);
45
+ }, []), H = [{
46
+ id: x.Bills,
47
+ label: O.bills,
48
+ content: /* @__PURE__ */ y(u, {
49
+ onEnqueueFiles: R.enqueue,
50
+ openPayableId: F,
51
+ onOpenPayableHandled: () => I(void 0),
52
+ vendorIntent: z,
53
+ onVendorIntentHandled: () => B(void 0),
54
+ poweredByBankName: T,
55
+ onSettingsClick: E && M ? E : void 0
56
+ })
57
+ }, {
58
+ id: x.Vendors,
59
+ label: O.vendors,
60
+ content: /* @__PURE__ */ y(m, {
61
+ ...w,
62
+ counterpartType: "vendor",
63
+ onViewAllDocuments: A ? (e) => V({
64
+ vendorId: e.id,
65
+ vendorName: e.name,
66
+ action: "viewBills"
67
+ }) : void 0,
68
+ onCreateDocument: j ? (e) => V({
69
+ vendorId: e.id,
70
+ vendorName: e.name,
71
+ action: "createBill"
72
+ }) : void 0
73
+ })
74
+ }], U = H.some((e) => e.id === N) ? N : S.find((e) => H.some((t) => t.id === e)) ?? H[0]?.id ?? "";
75
+ return /* @__PURE__ */ b(v, { children: [
76
+ /* @__PURE__ */ y(n, {}),
77
+ /* @__PURE__ */ y(o, {
78
+ labels: i,
79
+ tabs: H,
80
+ selectedTabId: U,
81
+ onTabChange: P
82
+ }),
83
+ R.isVisible ? /* @__PURE__ */ y(s, {
84
+ sections: R.sections,
85
+ summaryLabel: R.summaryLabel,
86
+ collapsed: R.collapsed,
87
+ onToggleCollapsed: R.onToggleCollapsed,
88
+ onClose: R.onClose,
89
+ testId: l.uploadTray
90
+ }) : null
91
+ ] });
92
+ }
93
+ function w({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: p, providerLabels: m, ...h }) {
94
+ return /* @__PURE__ */ y(i, {
95
+ widgetName: f,
96
+ baseUrl: e,
97
+ widgetToken: t,
98
+ organizationId: n,
99
+ configClient: r,
100
+ gatewayRouting: a,
101
+ linkComponent: o,
102
+ implementation: s,
103
+ uiFramework: c,
104
+ errorFallback: l,
105
+ onError: u,
106
+ analytics: d,
107
+ disclosuresAcceptance: p,
108
+ providerLabels: m,
109
+ children: /* @__PURE__ */ y(C, { ...h })
110
+ });
111
+ }
112
+ //#endregion
113
+ export { w as BillPayWidgetNative, w as default };
@@ -1,27 +1 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { Implementation as e } from "../../../shared/feature/dist/lib/WidgetProvider/types.js";
6
- import { useWidgetConfig as t } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
7
- import "../../../shared/feature/dist/index.js";
8
- import { BillPayWidgetMonite as n } from "./index66.js";
9
- import "./index67.js";
10
- import { BillPayWidgetNative as r } from "./index87.js";
11
1
  import "./index88.js";
12
- import { jsx as i } from "react/jsx-runtime";
13
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js
14
- function a({ implementation: a, initialTab: o, onSettingsClick: s, ...c }) {
15
- let l = t().implementation, u = a ?? l ?? e.Monite;
16
- return u === e.Native ? /* @__PURE__ */ i(r, {
17
- implementation: u,
18
- initialTab: o,
19
- onSettingsClick: s,
20
- ...c
21
- }) : /* @__PURE__ */ i(n, {
22
- implementation: u,
23
- ...c
24
- });
25
- }
26
- //#endregion
27
- export { a as BillPayWidget, a as default };
@@ -0,0 +1,27 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { Implementation as e } from "../../../shared/feature/dist/lib/WidgetProvider/types.js";
6
+ import { useWidgetConfig as t } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
7
+ import "../../../shared/feature/dist/index.js";
8
+ import { BillPayWidgetMonite as n } from "./index66.js";
9
+ import "./index67.js";
10
+ import { BillPayWidgetNative as r } from "./index88.js";
11
+ import "./index89.js";
12
+ import { jsx as i } from "react/jsx-runtime";
13
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js
14
+ function a({ implementation: a, initialTab: o, onSettingsClick: s, ...c }) {
15
+ let l = t().implementation, u = a ?? l ?? e.Monite;
16
+ return u === e.Native ? /* @__PURE__ */ i(r, {
17
+ implementation: u,
18
+ initialTab: o,
19
+ onSettingsClick: s,
20
+ ...c
21
+ }) : /* @__PURE__ */ i(n, {
22
+ implementation: u,
23
+ ...c
24
+ });
25
+ }
26
+ //#endregion
27
+ export { a as BillPayWidget, a as default };
@@ -74,6 +74,8 @@ var c = {
74
74
  columnStatus: "Status",
75
75
  columnAddedOn: "Added on",
76
76
  openRow: (e) => `View bill — ${e}`,
77
+ vendorResolving: "Loading vendor",
78
+ vendorUnavailable: "Vendor unavailable",
77
79
  duplicateBillsReviewButton: "Review duplicates",
78
80
  searchPlaceholder: "Search by vendor name",
79
81
  searchLabel: "Search bills by vendor name",