@tesouro/embedded-components-react 0.5.45 → 0.5.47
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/README.md +7 -5
- package/dist/index.d.ts +54 -24
- package/dist/index.js +1 -1
- package/dist/lib/BankAccountOnboardingWidget.d.ts +15 -1
- package/dist/lib/BillPayWidget.d.ts +16 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/SettingsWidget.d.ts +1 -0
- package/dist/lib/WidgetSuite.d.ts +1 -0
- package/dist/lib/monite-sdk.d.ts +2 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +233 -211
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +7 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +46 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +34 -184
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +163 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +22 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +88 -317
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +322 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +12 -59
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +57 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +52 -208
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +215 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +35 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +240 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +21 -532
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +536 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +38 -230
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +234 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +129 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +3 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +124 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +44 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +27 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +83 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +47 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +241 -122
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +126 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +219 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +5 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +100 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +163 -151
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index6.js +77 -77
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/ExpenseApprovalsPage.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/labels.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index3.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/help/ui/shadcn/dist/index3.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js +29 -28
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index11.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +4 -4
- 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/user/useOrganizationUserNames.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js +137 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
|
@@ -1,115 +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/index53.js";
|
|
15
|
-
import { BillUploadStatusTray as s } from "../../ui/dist/index85.js";
|
|
16
|
-
import "../../ui/dist/index.js";
|
|
17
|
-
import { ApprovalPoliciesSettings as c } from "../../../shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js";
|
|
18
|
-
import "../../../shared/approval-policy/feature/dist/index.js";
|
|
19
|
-
import { useBillUploadQueue as l } from "./index70.js";
|
|
20
|
-
import "./index71.js";
|
|
21
|
-
import { billsTabTestIds as u } from "./index76.js";
|
|
22
|
-
import { BillsTab as d } from "./index82.js";
|
|
23
|
-
import "./index83.js";
|
|
24
|
-
import { BillPayWidgetAnalyticsEvent as f, WIDGET_NAME as p } from "./index65.js";
|
|
25
|
-
import { DEFAULT_TABS_LABELS as m } from "./index84.js";
|
|
26
|
-
import { CounterpartsWidget as h } from "../../../counterparts-widget/feature/dist/index8.js";
|
|
27
|
-
import "../../../counterparts-widget/feature/dist/index.js";
|
|
28
|
-
import { useCallback as g, useEffect as _, useState as v } from "react";
|
|
29
|
-
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
30
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}, C = [
|
|
36
|
-
S.Bills,
|
|
37
|
-
S.Vendors,
|
|
38
|
-
S.Settings
|
|
39
|
-
];
|
|
40
|
-
function w({ labels: i, tabsLabels: p, approvalPolicyLabels: w, approvalPolicyComponentLabels: T, vendorLabels: E, poweredByBankName: D }) {
|
|
41
|
-
let O = r();
|
|
42
|
-
_(() => {
|
|
43
|
-
O(f.Mounted);
|
|
44
|
-
}, [O]);
|
|
45
|
-
let k = {
|
|
46
|
-
...m,
|
|
47
|
-
...p
|
|
48
|
-
}, { initResponse: A } = a(), j = e(A?.scopes, [t.ApprovalPolicyWriteOrg]), M = !A || j, [N, P] = v(S.Bills), [F, I] = v(), L = g((e) => {
|
|
49
|
-
P(S.Bills), I(e);
|
|
50
|
-
}, []), R = l({ onOpenBill: L }), z = [{
|
|
51
|
-
id: S.Bills,
|
|
52
|
-
label: k.bills,
|
|
53
|
-
content: /* @__PURE__ */ b(d, {
|
|
54
|
-
onEnqueueFiles: R.enqueue,
|
|
55
|
-
openPayableId: F,
|
|
56
|
-
onOpenPayableHandled: () => I(void 0),
|
|
57
|
-
poweredByBankName: D
|
|
58
|
-
})
|
|
59
|
-
}, {
|
|
60
|
-
id: S.Vendors,
|
|
61
|
-
label: k.vendors,
|
|
62
|
-
content: /* @__PURE__ */ b(h, {
|
|
63
|
-
...E,
|
|
64
|
-
counterpartType: "vendor",
|
|
65
|
-
onViewAllDocuments: () => P(S.Bills)
|
|
66
|
-
})
|
|
67
|
-
}];
|
|
68
|
-
M && z.push({
|
|
69
|
-
id: S.Settings,
|
|
70
|
-
label: k.settings,
|
|
71
|
-
content: /* @__PURE__ */ b(c, {
|
|
72
|
-
labels: w,
|
|
73
|
-
componentLabels: T
|
|
74
|
-
})
|
|
75
|
-
});
|
|
76
|
-
let B = z.some((e) => e.id === N) ? N : C.find((e) => z.some((t) => t.id === e)) ?? z[0]?.id ?? "";
|
|
77
|
-
return /* @__PURE__ */ x(y, { children: [
|
|
78
|
-
/* @__PURE__ */ b(n, {}),
|
|
79
|
-
/* @__PURE__ */ b(o, {
|
|
80
|
-
labels: i,
|
|
81
|
-
tabs: z,
|
|
82
|
-
selectedTabId: B,
|
|
83
|
-
onTabChange: P
|
|
84
|
-
}),
|
|
85
|
-
R.isVisible ? /* @__PURE__ */ b(s, {
|
|
86
|
-
sections: R.sections,
|
|
87
|
-
summaryLabel: R.summaryLabel,
|
|
88
|
-
collapsed: R.collapsed,
|
|
89
|
-
onToggleCollapsed: R.onToggleCollapsed,
|
|
90
|
-
onClose: R.onClose,
|
|
91
|
-
testId: u.uploadTray
|
|
92
|
-
}) : null
|
|
93
|
-
] });
|
|
94
|
-
}
|
|
95
|
-
function T({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: f, providerLabels: m, ...h }) {
|
|
96
|
-
return /* @__PURE__ */ b(i, {
|
|
97
|
-
widgetName: p,
|
|
98
|
-
baseUrl: e,
|
|
99
|
-
widgetToken: t,
|
|
100
|
-
organizationId: n,
|
|
101
|
-
configClient: r,
|
|
102
|
-
gatewayRouting: a,
|
|
103
|
-
linkComponent: o,
|
|
104
|
-
implementation: s,
|
|
105
|
-
uiFramework: c,
|
|
106
|
-
errorFallback: l,
|
|
107
|
-
onError: u,
|
|
108
|
-
analytics: d,
|
|
109
|
-
disclosuresAcceptance: f,
|
|
110
|
-
providerLabels: m,
|
|
111
|
-
children: /* @__PURE__ */ b(w, { ...h })
|
|
112
|
-
});
|
|
113
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
bills: "Bills",
|
|
4
|
+
vendors: "Vendors"
|
|
5
|
+
};
|
|
114
6
|
//#endregion
|
|
115
|
-
export {
|
|
7
|
+
export { e as DEFAULT_TABS_LABELS };
|
|
@@ -1 +1,100 @@
|
|
|
1
|
-
|
|
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/index53.js";
|
|
15
|
+
import { BillUploadStatusTray as s } from "../../ui/dist/index85.js";
|
|
16
|
+
import "../../ui/dist/index.js";
|
|
17
|
+
import { useBillUploadQueue as c } from "./index71.js";
|
|
18
|
+
import "./index72.js";
|
|
19
|
+
import { billsTabTestIds as l } from "./index77.js";
|
|
20
|
+
import { BillsTab as u } from "./index83.js";
|
|
21
|
+
import "./index84.js";
|
|
22
|
+
import { BillPayWidgetAnalyticsEvent as d, WIDGET_NAME as f } from "./index66.js";
|
|
23
|
+
import { DEFAULT_TABS_LABELS as p } from "./index85.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/index86.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.ApprovalPolicyWriteOrg]) && e(k?.scopes, [t.PayableWriteOrg]) && e(k?.scopes, [t.RoleReadOrg]) && e(k?.scopes, [t.UserReadOrg]), [j, M] = _(f), [N, P] = _(), F = h((e) => {
|
|
42
|
+
M(x.Bills), P(e);
|
|
43
|
+
}, []), I = c({ onOpenBill: F }), L = [{
|
|
44
|
+
id: x.Bills,
|
|
45
|
+
label: O.bills,
|
|
46
|
+
content: /* @__PURE__ */ y(u, {
|
|
47
|
+
onEnqueueFiles: I.enqueue,
|
|
48
|
+
openPayableId: N,
|
|
49
|
+
onOpenPayableHandled: () => P(void 0),
|
|
50
|
+
poweredByBankName: T,
|
|
51
|
+
onSettingsClick: E && A ? E : void 0
|
|
52
|
+
})
|
|
53
|
+
}, {
|
|
54
|
+
id: x.Vendors,
|
|
55
|
+
label: O.vendors,
|
|
56
|
+
content: /* @__PURE__ */ y(m, {
|
|
57
|
+
...w,
|
|
58
|
+
counterpartType: "vendor",
|
|
59
|
+
onViewAllDocuments: () => M(x.Bills)
|
|
60
|
+
})
|
|
61
|
+
}], R = L.some((e) => e.id === j) ? j : S.find((e) => L.some((t) => t.id === e)) ?? L[0]?.id ?? "";
|
|
62
|
+
return /* @__PURE__ */ b(v, { children: [
|
|
63
|
+
/* @__PURE__ */ y(n, {}),
|
|
64
|
+
/* @__PURE__ */ y(o, {
|
|
65
|
+
labels: i,
|
|
66
|
+
tabs: L,
|
|
67
|
+
selectedTabId: R,
|
|
68
|
+
onTabChange: M
|
|
69
|
+
}),
|
|
70
|
+
I.isVisible ? /* @__PURE__ */ y(s, {
|
|
71
|
+
sections: I.sections,
|
|
72
|
+
summaryLabel: I.summaryLabel,
|
|
73
|
+
collapsed: I.collapsed,
|
|
74
|
+
onToggleCollapsed: I.onToggleCollapsed,
|
|
75
|
+
onClose: I.onClose,
|
|
76
|
+
testId: l.uploadTray
|
|
77
|
+
}) : null
|
|
78
|
+
] });
|
|
79
|
+
}
|
|
80
|
+
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 }) {
|
|
81
|
+
return /* @__PURE__ */ y(i, {
|
|
82
|
+
widgetName: f,
|
|
83
|
+
baseUrl: e,
|
|
84
|
+
widgetToken: t,
|
|
85
|
+
organizationId: n,
|
|
86
|
+
configClient: r,
|
|
87
|
+
gatewayRouting: a,
|
|
88
|
+
linkComponent: o,
|
|
89
|
+
implementation: s,
|
|
90
|
+
uiFramework: c,
|
|
91
|
+
errorFallback: l,
|
|
92
|
+
onError: u,
|
|
93
|
+
analytics: d,
|
|
94
|
+
disclosuresAcceptance: p,
|
|
95
|
+
providerLabels: m,
|
|
96
|
+
children: /* @__PURE__ */ y(C, { ...h })
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
//#endregion
|
|
100
|
+
export { w as BillPayWidgetNative, w as default };
|
|
@@ -1,25 +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 "./index85.js";
|
|
11
1
|
import "./index86.js";
|
|
12
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
13
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js
|
|
14
|
-
function a({ implementation: a, ...o }) {
|
|
15
|
-
let s = t().implementation, c = a ?? s ?? e.Monite;
|
|
16
|
-
return c === e.Native ? /* @__PURE__ */ i(r, {
|
|
17
|
-
implementation: c,
|
|
18
|
-
...o
|
|
19
|
-
}) : /* @__PURE__ */ i(n, {
|
|
20
|
-
implementation: c,
|
|
21
|
-
...o
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
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 "./index67.js";
|
|
9
|
+
import "./index68.js";
|
|
10
|
+
import { BillPayWidgetNative as r } from "./index86.js";
|
|
11
|
+
import "./index87.js";
|
|
12
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
13
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.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 };
|
|
@@ -11,7 +11,7 @@ import "./index12.js";
|
|
|
11
11
|
import "./index13.js";
|
|
12
12
|
import "./index14.js";
|
|
13
13
|
import "./index17.js";
|
|
14
|
-
import
|
|
14
|
+
import "./index18.js";
|
|
15
15
|
import "./index19.js";
|
|
16
16
|
import "./index20.js";
|
|
17
17
|
import "./index21.js";
|
|
@@ -35,19 +35,19 @@ import "./index39.js";
|
|
|
35
35
|
import "./index40.js";
|
|
36
36
|
import "./index41.js";
|
|
37
37
|
import "./index42.js";
|
|
38
|
-
import { VendorSearchCombobox as
|
|
38
|
+
import { VendorSearchCombobox as t } from "./index43.js";
|
|
39
39
|
import "./index44.js";
|
|
40
40
|
import "./index45.js";
|
|
41
41
|
import "./index46.js";
|
|
42
42
|
import "./index47.js";
|
|
43
43
|
import "./index48.js";
|
|
44
|
-
import { BillCreateScreen as
|
|
44
|
+
import { BillCreateScreen as n } from "./index50.js";
|
|
45
45
|
import "./index51.js";
|
|
46
46
|
import "./index52.js";
|
|
47
|
-
import { BillPayWidgetUi as
|
|
47
|
+
import { BillPayWidgetUi as r } from "./index53.js";
|
|
48
48
|
import "./index54.js";
|
|
49
49
|
import "./index55.js";
|
|
50
|
-
import { BillDecisionDialog as
|
|
50
|
+
import { BillDecisionDialog as i } from "./index56.js";
|
|
51
51
|
import "./index57.js";
|
|
52
52
|
import "./index58.js";
|
|
53
53
|
import "./index59.js";
|
|
@@ -55,50 +55,50 @@ import "./index60.js";
|
|
|
55
55
|
import "./index61.js";
|
|
56
56
|
import "./index62.js";
|
|
57
57
|
import "./index63.js";
|
|
58
|
-
import { BILL_DETAILS_SHEET_LABELS_EN as
|
|
59
|
-
import { BillDetailsSheet as
|
|
60
|
-
import { DISCARD_CHANGES_DIALOG_LABELS_EN as
|
|
61
|
-
import { DiscardChangesDialog as
|
|
58
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as a } from "./index64.js";
|
|
59
|
+
import { BillDetailsSheet as o } from "./index65.js";
|
|
60
|
+
import { DISCARD_CHANGES_DIALOG_LABELS_EN as s } from "./index66.js";
|
|
61
|
+
import { DiscardChangesDialog as c } from "./index67.js";
|
|
62
62
|
import "./index68.js";
|
|
63
63
|
import "./index69.js";
|
|
64
64
|
import "./index70.js";
|
|
65
65
|
import "./index71.js";
|
|
66
|
-
import { BillDuplicateNotice as
|
|
66
|
+
import { BillDuplicateNotice as l } from "./index72.js";
|
|
67
67
|
import "./index73.js";
|
|
68
|
-
import { BILL_REJECTED_BANNER_LABELS_EN as
|
|
69
|
-
import { BillRejectedBanner as
|
|
68
|
+
import { BILL_REJECTED_BANNER_LABELS_EN as u } from "./index74.js";
|
|
69
|
+
import { BillRejectedBanner as d } from "./index75.js";
|
|
70
70
|
import "./index76.js";
|
|
71
71
|
import "./index77.js";
|
|
72
|
-
import { BillsFilterField as
|
|
72
|
+
import { BillsFilterField as f } from "./index78.js";
|
|
73
73
|
import "./index79.js";
|
|
74
74
|
import "./index80.js";
|
|
75
|
-
import { BillColumn as
|
|
76
|
-
import { BillsScreen as
|
|
75
|
+
import { BillColumn as p } from "./index81.js";
|
|
76
|
+
import { BillsScreen as m } from "./index82.js";
|
|
77
77
|
import "./index83.js";
|
|
78
|
-
import { BillUploadStatusTray as
|
|
78
|
+
import { BillUploadStatusTray as h } from "./index85.js";
|
|
79
79
|
import "./index87.js";
|
|
80
80
|
import "./index89.js";
|
|
81
|
-
import { DuplicateBillsDialog as
|
|
81
|
+
import { DuplicateBillsDialog as g } from "./index90.js";
|
|
82
82
|
import "./index91.js";
|
|
83
83
|
import "./index92.js";
|
|
84
|
-
import { ExtractionNotice as
|
|
84
|
+
import { ExtractionNotice as _ } from "./index93.js";
|
|
85
85
|
import "./index94.js";
|
|
86
86
|
import "./index95.js";
|
|
87
87
|
import "./index96.js";
|
|
88
88
|
import "./index97.js";
|
|
89
|
-
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as
|
|
90
|
-
import { ReviewTransactionDialog as
|
|
89
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as v } from "./index98.js";
|
|
90
|
+
import { ReviewTransactionDialog as y } from "./index99.js";
|
|
91
91
|
import "./index100.js";
|
|
92
|
-
import { MARK_AS_PAID_DIALOG_LABELS_EN as
|
|
93
|
-
import { MarkAsPaidDialog as
|
|
92
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as b } from "./index101.js";
|
|
93
|
+
import { MarkAsPaidDialog as x } from "./index102.js";
|
|
94
94
|
import "./index103.js";
|
|
95
|
-
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as
|
|
96
|
-
import { SchedulePaymentDialog as
|
|
95
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as S } from "./index104.js";
|
|
96
|
+
import { SchedulePaymentDialog as C } from "./index106.js";
|
|
97
97
|
import "./index107.js";
|
|
98
98
|
import "./index108.js";
|
|
99
|
-
import { SourceDocumentPanel as
|
|
99
|
+
import { SourceDocumentPanel as w } from "./index109.js";
|
|
100
100
|
import "./index110.js";
|
|
101
|
-
import { UNSAVED_BILL_DIALOG_LABELS_EN as
|
|
102
|
-
import { UnsavedBillDialog as
|
|
101
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as T } from "./index111.js";
|
|
102
|
+
import { UnsavedBillDialog as E } from "./index112.js";
|
|
103
103
|
import "./index113.js";
|
|
104
|
-
export { e as AddBillDialog,
|
|
104
|
+
export { e as AddBillDialog, a as BILL_DETAILS_SHEET_LABELS_EN, u as BILL_REJECTED_BANNER_LABELS_EN, p as BillColumn, n as BillCreateScreen, i as BillDecisionDialog, o as BillDetailsSheet, l as BillDuplicateNotice, r as BillPayWidgetUi, d as BillRejectedBanner, h as BillUploadStatusTray, f as BillsFilterField, m as BillsScreen, s as DISCARD_CHANGES_DIALOG_LABELS_EN, c as DiscardChangesDialog, g as DuplicateBillsDialog, _ as ExtractionNotice, b as MARK_AS_PAID_DIALOG_LABELS_EN, x as MarkAsPaidDialog, v as REVIEW_TRANSACTION_DIALOG_LABELS_EN, y as ReviewTransactionDialog, S as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, C as SchedulePaymentDialog, w as SourceDocumentPanel, T as UNSAVED_BILL_DIALOG_LABELS_EN, E as UnsavedBillDialog, t as VendorSearchCombobox };
|
|
@@ -13,13 +13,13 @@ function s({ labels: s, tabs: c, selectedTabId: l, onTabChange: u }) {
|
|
|
13
13
|
};
|
|
14
14
|
return /* @__PURE__ */ o("section", {
|
|
15
15
|
className: "ttw:w-full ttw:space-y-5",
|
|
16
|
-
children: [/* @__PURE__ */ a("div", {
|
|
16
|
+
children: [d.description ? /* @__PURE__ */ a("div", {
|
|
17
17
|
className: "ttw:min-w-0",
|
|
18
18
|
children: /* @__PURE__ */ a("p", {
|
|
19
19
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
20
20
|
children: d.description
|
|
21
21
|
})
|
|
22
|
-
}), /* @__PURE__ */ o(e, {
|
|
22
|
+
}) : null, /* @__PURE__ */ o(e, {
|
|
23
23
|
value: l,
|
|
24
24
|
onValueChange: u,
|
|
25
25
|
className: "ttw:w-full",
|