@tesouro/embedded-components-react 0.5.169 → 0.5.171

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 (129) hide show
  1. package/dist/index.css +39 -17
  2. package/dist/index.js +1 -1
  3. package/dist/lib/BillPayWidget.js +1 -1
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +11 -11
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +95 -80
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +37 -11
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +13 -15
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +56 -67
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +4 -43
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +6 -115
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +202 -63
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +2 -4
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +84 -4
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +3 -84
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +5 -4
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +4 -5
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +32 -3
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +36 -30
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +167 -35
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +40 -164
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -49
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +50 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +11 -45
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +8 -13
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +14 -8
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +59 -7
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +8 -64
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +24 -8
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +150 -18
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +9 -152
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +25 -9
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +19 -21
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +32 -14
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +14 -39
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +8 -16
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +4 -8
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +98 -4
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +68 -83
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +3 -83
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +143 -3
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +44 -143
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +114 -45
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +189 -111
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +13 -0
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +72 -186
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +31 -76
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +89 -32
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +406 -83
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +12 -411
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +84 -12
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +67 -72
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +222 -73
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +37 -223
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +245 -37
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +5 -23
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +23 -252
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +626 -21
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +4 -586
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +45 -4
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +256 -41
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +3 -263
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +4 -3
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +44 -2
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -46
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -1
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +22 -57
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +11 -6
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +130 -11
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +3 -132
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +6 -3
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +129 -3
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +8 -124
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +7 -8
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +82 -8
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +19 -48
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +20 -21
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +14 -6
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +28 -19
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +82 -27
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +47 -83
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +260 -47
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +24 -251
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +382 -25
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +294 -144
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +4 -223
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +7 -4
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +112 -5
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +37 -5
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +1 -114
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +26 -0
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +18 -21
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +126 -10
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +1 -105
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +33 -2
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +7 -28
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +126 -73
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +1 -1
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +11 -30
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +106 -8
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +2 -181
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +10 -2
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +50 -12
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +2 -108
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +6 -0
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +8 -4
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -1
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +154 -23
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +1 -0
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +343 -250
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +5 -123
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +28 -26
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -94
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +7 -2
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +32 -5
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +2 -30
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +12 -2
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +104 -5
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +2 -34
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +31 -2
  121. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  122. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  123. package/dist/packages/shared-ui-shadcn/dist/index.js +2458 -2284
  124. package/package.json +2 -1
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index92.js +0 -27
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +0 -2
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +0 -10
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +0 -52
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +0 -2
@@ -1,4 +1,7 @@
1
- import "./index75.js";
2
- import "./index78.js";
3
- import "./index86.js";
4
- import "./index87.js";
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js
2
+ var e = {
3
+ bills: "Bills",
4
+ vendors: "Vendors"
5
+ };
6
+ //#endregion
7
+ export { e as DEFAULT_TABS_LABELS };
@@ -1,7 +1,114 @@
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/index62.js";
15
+ import { BillUploadStatusTray as s } from "../../ui/dist/index87.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 "./index78.js";
20
+ import { BillsTab as u } from "./index86.js";
21
+ import "./index87.js";
22
+ import { BillPayWidgetAnalyticsEvent as d, WIDGET_NAME as f } from "./index66.js";
23
+ import { DEFAULT_TABS_LABELS as p } from "./index88.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";
1
28
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js
2
- var e = {
3
- bills: "Bills",
4
- vendors: "Vendors"
5
- };
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
+ passThrough: !0,
64
+ onViewAllDocuments: A ? (e) => V({
65
+ vendorId: e.id,
66
+ vendorName: e.name,
67
+ action: "viewBills"
68
+ }) : void 0,
69
+ onCreateDocument: j ? (e) => V({
70
+ vendorId: e.id,
71
+ vendorName: e.name,
72
+ action: "createBill"
73
+ }) : void 0
74
+ })
75
+ }], U = H.some((e) => e.id === N) ? N : S.find((e) => H.some((t) => t.id === e)) ?? H[0]?.id ?? "";
76
+ return /* @__PURE__ */ b(v, { children: [
77
+ /* @__PURE__ */ y(n, {}),
78
+ /* @__PURE__ */ y(o, {
79
+ labels: i,
80
+ tabs: H,
81
+ selectedTabId: U,
82
+ onTabChange: P
83
+ }),
84
+ R.isVisible ? /* @__PURE__ */ y(s, {
85
+ sections: R.sections,
86
+ summaryLabel: R.summaryLabel,
87
+ collapsed: R.collapsed,
88
+ onToggleCollapsed: R.onToggleCollapsed,
89
+ onClose: R.onClose,
90
+ testId: l.uploadTray
91
+ }) : null
92
+ ] });
93
+ }
94
+ 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 }) {
95
+ return /* @__PURE__ */ y(i, {
96
+ widgetName: f,
97
+ baseUrl: e,
98
+ widgetToken: t,
99
+ organizationId: n,
100
+ configClient: r,
101
+ gatewayRouting: a,
102
+ linkComponent: o,
103
+ implementation: s,
104
+ uiFramework: c,
105
+ errorFallback: l,
106
+ onError: u,
107
+ analytics: d,
108
+ disclosuresAcceptance: p,
109
+ providerLabels: m,
110
+ children: /* @__PURE__ */ y(C, { ...h })
111
+ });
112
+ }
6
113
  //#endregion
7
- export { e as DEFAULT_TABS_LABELS };
114
+ export { w as BillPayWidgetNative, w as default };
@@ -1,8 +1,40 @@
1
+ import { DuplicateVerdict as e, suspectedPayableDuplicates as t } from "../../data-access/dist/index7.js";
2
+ import "../../data-access/dist/index.js";
1
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js
2
- function e(e) {
3
- if (e === "draft") return "delete";
4
- if (e === "new") return "cancel";
5
- if (e === "canceled") return "confirm";
4
+ function n(e) {
5
+ let n = new Map(e.map((e) => [e.id, e])), i = /* @__PURE__ */ new Map(), a = (e) => {
6
+ let t = i.get(e);
7
+ if (t === void 0 || t === e) return e;
8
+ let n = a(t);
9
+ return i.set(e, n), n;
10
+ }, o = (e, t) => {
11
+ let n = a(e), r = a(t);
12
+ n !== r && i.set(n, r);
13
+ };
14
+ e.forEach((e) => {
15
+ i.set(e.id, i.get(e.id) ?? e.id), t(e).forEach((t) => {
16
+ n.has(t.matched_payable_id) && o(e.id, t.matched_payable_id);
17
+ });
18
+ });
19
+ let s = /* @__PURE__ */ new Map();
20
+ return e.forEach((e) => {
21
+ let t = a(e.id);
22
+ s.set(t, [...s.get(t) ?? [], e]);
23
+ }), [...s.values()].map((e) => ({ members: [...e].sort(r) }));
24
+ }
25
+ function r(e, t) {
26
+ return (e.created_at ?? "").localeCompare(t.created_at ?? "") || e.id.localeCompare(t.id);
27
+ }
28
+ function i(e) {
29
+ if (e.length < 2) return;
30
+ let n = new Set(e.map((e) => e.id));
31
+ if (e.every((e) => t(e).every((e) => n.has(e.matched_payable_id)))) return [...e].sort(r)[0].id;
32
+ }
33
+ function a(n, r, i) {
34
+ let a = t(n);
35
+ if (r !== e.Keep || !i) return a;
36
+ let o = a.find((e) => e.matched_payable_id === i);
37
+ return o ? [o] : a;
6
38
  }
7
39
  //#endregion
8
- export { e as payableRemoval };
40
+ export { r as compareByArrival, a as duplicateVerdictMatches, n as groupSuspectedDuplicates, i as resolveDuplicateOriginalId };
@@ -1,114 +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/index62.js";
15
- import { BillUploadStatusTray as s } from "../../ui/dist/index87.js";
16
- import "../../ui/dist/index.js";
17
- import { useBillUploadQueue as c } from "./index72.js";
18
- import "./index73.js";
19
- import { billsTabTestIds as l } from "./index79.js";
20
- import { BillsTab as u } from "./index87.js";
21
- import "./index88.js";
22
- import { BillPayWidgetAnalyticsEvent as d, WIDGET_NAME as f } from "./index67.js";
23
- import { DEFAULT_TABS_LABELS as p } from "./index89.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/index90.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
- passThrough: !0,
64
- onViewAllDocuments: A ? (e) => V({
65
- vendorId: e.id,
66
- vendorName: e.name,
67
- action: "viewBills"
68
- }) : void 0,
69
- onCreateDocument: j ? (e) => V({
70
- vendorId: e.id,
71
- vendorName: e.name,
72
- action: "createBill"
73
- }) : void 0
74
- })
75
- }], U = H.some((e) => e.id === N) ? N : S.find((e) => H.some((t) => t.id === e)) ?? H[0]?.id ?? "";
76
- return /* @__PURE__ */ b(v, { children: [
77
- /* @__PURE__ */ y(n, {}),
78
- /* @__PURE__ */ y(o, {
79
- labels: i,
80
- tabs: H,
81
- selectedTabId: U,
82
- onTabChange: P
83
- }),
84
- R.isVisible ? /* @__PURE__ */ y(s, {
85
- sections: R.sections,
86
- summaryLabel: R.summaryLabel,
87
- collapsed: R.collapsed,
88
- onToggleCollapsed: R.onToggleCollapsed,
89
- onClose: R.onClose,
90
- testId: l.uploadTray
91
- }) : null
92
- ] });
93
- }
94
- 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 }) {
95
- return /* @__PURE__ */ y(i, {
96
- widgetName: f,
97
- baseUrl: e,
98
- widgetToken: t,
99
- organizationId: n,
100
- configClient: r,
101
- gatewayRouting: a,
102
- linkComponent: o,
103
- implementation: s,
104
- uiFramework: c,
105
- errorFallback: l,
106
- onError: u,
107
- analytics: d,
108
- disclosuresAcceptance: p,
109
- providerLabels: m,
110
- children: /* @__PURE__ */ y(C, { ...h })
111
- });
112
- }
113
- //#endregion
114
- export { w as BillPayWidgetNative, w as default };
1
+ import "./index89.js";
@@ -1 +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 "./index89.js";
1
11
  import "./index90.js";
12
+ import { jsx as i } from "react/jsx-runtime";
13
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.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 };
@@ -77,28 +77,25 @@ import { BillsScreen as m } from "./index84.js";
77
77
  import "./index85.js";
78
78
  import { BillUploadStatusTray as h } from "./index87.js";
79
79
  import "./index89.js";
80
- import "./index91.js";
81
- import { DuplicateBillsDialog as g } from "./index92.js";
80
+ import "./index90.js";
81
+ import { ExtractionNotice as g } from "./index91.js";
82
+ import "./index92.js";
82
83
  import "./index93.js";
83
84
  import "./index94.js";
84
- import { ExtractionNotice as _ } from "./index95.js";
85
- import "./index96.js";
86
- import "./index97.js";
85
+ import "./index95.js";
86
+ import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as _ } from "./index96.js";
87
+ import { ReviewTransactionDialog as v } from "./index97.js";
87
88
  import "./index98.js";
88
- import "./index99.js";
89
- import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as v } from "./index100.js";
90
- import { ReviewTransactionDialog as y } from "./index101.js";
91
- import "./index102.js";
92
- import { MARK_AS_PAID_DIALOG_LABELS_EN as b, mergeMarkAsPaidDialogLabels as x } from "./index103.js";
93
- import { MarkAsPaidDialog as S } from "./index104.js";
89
+ import { MARK_AS_PAID_DIALOG_LABELS_EN as y, mergeMarkAsPaidDialogLabels as b } from "./index99.js";
90
+ import { MarkAsPaidDialog as x } from "./index100.js";
91
+ import "./index101.js";
92
+ import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as S, mergeSchedulePaymentDialogLabels as C } from "./index102.js";
93
+ import { SchedulePaymentDialog as w } from "./index104.js";
94
94
  import "./index105.js";
95
- import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as C, mergeSchedulePaymentDialogLabels as w } from "./index106.js";
96
- import { SchedulePaymentDialog as T } from "./index108.js";
97
- import "./index109.js";
98
- import "./index110.js";
99
- import { SourceDocumentPanel as E } from "./index111.js";
100
- import "./index112.js";
101
- import { UNSAVED_BILL_DIALOG_LABELS_EN as D } from "./index113.js";
102
- import { UnsavedBillDialog as O } from "./index114.js";
103
- import "./index115.js";
104
- export { e as AddBillDialog, t as BILL_DETAILS_SHEET_LABELS_EN, u as BILL_REJECTED_BANNER_LABELS_EN, p as BillColumn, r as BillCreateScreen, a as BillDecisionDialog, o as BillDetailsSheet, l as BillDuplicateNotice, i 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, S as MarkAsPaidDialog, v as REVIEW_TRANSACTION_DIALOG_LABELS_EN, y as ReviewTransactionDialog, C as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, T as SchedulePaymentDialog, E as SourceDocumentPanel, D as UNSAVED_BILL_DIALOG_LABELS_EN, O as UnsavedBillDialog, n as VendorSearchCombobox, x as mergeMarkAsPaidDialogLabels, w as mergeSchedulePaymentDialogLabels };
95
+ import "./index106.js";
96
+ import { SourceDocumentPanel as T } from "./index107.js";
97
+ import "./index108.js";
98
+ import { UNSAVED_BILL_DIALOG_LABELS_EN as E } from "./index109.js";
99
+ import { UnsavedBillDialog as D } from "./index110.js";
100
+ import "./index111.js";
101
+ export { e as AddBillDialog, t as BILL_DETAILS_SHEET_LABELS_EN, u as BILL_REJECTED_BANNER_LABELS_EN, p as BillColumn, r as BillCreateScreen, a as BillDecisionDialog, o as BillDetailsSheet, l as BillDuplicateNotice, i 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 ExtractionNotice, y as MARK_AS_PAID_DIALOG_LABELS_EN, x as MarkAsPaidDialog, _ as REVIEW_TRANSACTION_DIALOG_LABELS_EN, v as ReviewTransactionDialog, S as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, w as SchedulePaymentDialog, T as SourceDocumentPanel, E as UNSAVED_BILL_DIALOG_LABELS_EN, D as UnsavedBillDialog, n as VendorSearchCombobox, b as mergeMarkAsPaidDialogLabels, C as mergeSchedulePaymentDialogLabels };
@@ -1,12 +1,128 @@
1
- import { REVEALABLE_FIELD_LABELS_EN as e } from "./index97.js";
1
+ import { Badge as e, Button as t, Calendar as n, Dialog as r, DialogContent as i, DialogDescription as a, DialogFooter as o, DialogHeader as s, DialogTitle as c, FieldRequirement as l, Label as u, Popover as d, PopoverContent as f, PopoverTrigger as p, RequiredFieldsLegend as m, Textarea as h } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { mergeMarkAsPaidDialogLabels as g } from "./index99.js";
3
+ import { useId as _ } from "react";
4
+ import { jsx as v, jsxs as y } from "react/jsx-runtime";
5
+ import { CalendarIcon as b } from "lucide-react";
2
6
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js
3
- var t = {
4
- title: "Review transaction",
5
- hiddenDescription: "Review the payment before submitting it.",
6
- payToHeading: "Pay to",
7
- backButton: "Back",
8
- submitButton: "Submit",
9
- ...e
10
- };
7
+ function x({ open: x, amountDue: S, dueDateSuffix: C, paymentAmount: w, selectedDate: T, selectedDateLabel: E, isToday: D, comment: O, isSubmitting: k, onDateChange: A, onCommentChange: j, onConfirm: M, onCancel: N, testId: P, confirmTestId: F, labels: I }) {
8
+ let L = g(I), R = _(), z = _(), B = _(), V = _();
9
+ return /* @__PURE__ */ v(r, {
10
+ open: x,
11
+ onOpenChange: (e) => e ? void 0 : N(),
12
+ children: /* @__PURE__ */ y(i, {
13
+ "data-testid": P,
14
+ className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-3",
15
+ children: [
16
+ /* @__PURE__ */ y(s, { children: [/* @__PURE__ */ v(c, { children: L.title }), /* @__PURE__ */ v(a, { children: L.description })] }),
17
+ /* @__PURE__ */ y("div", {
18
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
19
+ children: [
20
+ /* @__PURE__ */ y("div", {
21
+ className: "ttw:flex ttw:flex-col ttw:gap-1.5",
22
+ children: [/* @__PURE__ */ v("p", {
23
+ className: "ttw:text-base ttw:text-muted-foreground",
24
+ children: L.amountDue
25
+ }), /* @__PURE__ */ y("div", {
26
+ className: "ttw:flex ttw:flex-wrap ttw:items-end ttw:gap-2",
27
+ children: [/* @__PURE__ */ v("p", {
28
+ className: "ttw:text-4xl ttw:font-semibold ttw:text-foreground",
29
+ children: S
30
+ }), C ? /* @__PURE__ */ v("p", {
31
+ className: "ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
32
+ children: C
33
+ }) : null]
34
+ })]
35
+ }),
36
+ /* @__PURE__ */ v(m, { labels: L.requiredFieldsLegend }),
37
+ /* @__PURE__ */ y("div", {
38
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
39
+ children: [/* @__PURE__ */ y("div", {
40
+ className: "ttw:grid ttw:gap-2.5",
41
+ children: [/* @__PURE__ */ v(u, { children: L.paymentAmount }), /* @__PURE__ */ v("div", {
42
+ "aria-disabled": !0,
43
+ className: "ttw:flex ttw:h-9 ttw:items-center ttw:rounded-md ttw:border ttw:border-border ttw:bg-muted ttw:px-3 ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
44
+ children: w
45
+ })]
46
+ }), /* @__PURE__ */ y("div", {
47
+ className: "ttw:grid ttw:gap-2.5",
48
+ children: [
49
+ /* @__PURE__ */ v(u, {
50
+ id: R,
51
+ requirement: l.Required,
52
+ labels: L.fieldMarkers,
53
+ children: L.paymentDate
54
+ }),
55
+ /* @__PURE__ */ v("span", {
56
+ id: B,
57
+ className: "ttw:sr-only",
58
+ children: L.fieldMarkers.requiredAccessibleText
59
+ }),
60
+ /* @__PURE__ */ y(d, { children: [/* @__PURE__ */ v(p, {
61
+ asChild: !0,
62
+ children: /* @__PURE__ */ y(t, {
63
+ type: "button",
64
+ variant: "outline",
65
+ className: "ttw:justify-start ttw:gap-2",
66
+ "aria-labelledby": `${R} ${z} ${B}`,
67
+ children: [
68
+ /* @__PURE__ */ v(b, { className: "ttw:size-4" }),
69
+ /* @__PURE__ */ v("span", {
70
+ id: z,
71
+ children: E ?? L.paymentDatePlaceholder
72
+ }),
73
+ D ? /* @__PURE__ */ v(e, {
74
+ variant: "secondary",
75
+ children: L.today
76
+ }) : null
77
+ ]
78
+ })
79
+ }), /* @__PURE__ */ v(f, {
80
+ align: "start",
81
+ className: "ttw:w-auto ttw:p-0",
82
+ children: /* @__PURE__ */ v(n, {
83
+ mode: "single",
84
+ selected: T,
85
+ onSelect: A
86
+ })
87
+ })] })
88
+ ]
89
+ })]
90
+ }),
91
+ /* @__PURE__ */ y("div", {
92
+ className: "ttw:grid ttw:gap-2.5",
93
+ children: [/* @__PURE__ */ v(u, {
94
+ htmlFor: V,
95
+ requirement: l.Optional,
96
+ labels: L.fieldMarkers,
97
+ children: L.comments
98
+ }), /* @__PURE__ */ v(h, {
99
+ id: V,
100
+ value: O,
101
+ placeholder: L.commentsPlaceholder,
102
+ onChange: (e) => j(e.target.value)
103
+ })]
104
+ })
105
+ ]
106
+ }),
107
+ /* @__PURE__ */ y(o, {
108
+ className: "ttw:pt-4 ttw:sm:gap-3",
109
+ children: [/* @__PURE__ */ v(t, {
110
+ type: "button",
111
+ variant: "outline",
112
+ onClick: N,
113
+ children: L.cancelButton
114
+ }), /* @__PURE__ */ v(t, {
115
+ type: "button",
116
+ "data-testid": F,
117
+ disabled: !T,
118
+ loading: k,
119
+ onClick: M,
120
+ children: L.confirmButton
121
+ })]
122
+ })
123
+ ]
124
+ })
125
+ });
126
+ }
11
127
  //#endregion
12
- export { t as REVIEW_TRANSACTION_DIALOG_LABELS_EN };
128
+ export { x as MarkAsPaidDialog, x as default };
@@ -1,106 +1,2 @@
1
- import { Button as e, Dialog as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o, cn as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { RevealableField as c } from "./index98.js";
3
1
  import "./index99.js";
4
- import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as l } from "./index100.js";
5
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
6
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js
7
- function f({ open: f, onOpenChange: p, amountLabel: m, amount: h, rows: g, payTo: _, isSubmitting: v, onBack: y, onCancel: b, onSubmit: x, testId: S, labels: C }) {
8
- let w = {
9
- ...l,
10
- ...C
11
- };
12
- return /* @__PURE__ */ u(t, {
13
- open: f,
14
- onOpenChange: (e) => e ? p(e) : b(),
15
- children: /* @__PURE__ */ d(n, {
16
- "data-testid": S,
17
- className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-6",
18
- children: [
19
- /* @__PURE__ */ d(a, {
20
- className: "ttw:border-b ttw:border-border ttw:pb-7",
21
- children: [/* @__PURE__ */ u(o, {
22
- className: "ttw:text-3xl ttw:tracking-tight",
23
- children: w.title
24
- }), /* @__PURE__ */ u(r, {
25
- className: "ttw:sr-only",
26
- children: w.hiddenDescription
27
- })]
28
- }),
29
- /* @__PURE__ */ d("div", {
30
- className: "ttw:flex ttw:flex-col ttw:gap-6",
31
- children: [
32
- /* @__PURE__ */ d("div", {
33
- className: "ttw:flex ttw:flex-col ttw:gap-1",
34
- children: [/* @__PURE__ */ u("p", {
35
- className: "ttw:text-sm ttw:text-muted-foreground",
36
- children: m
37
- }), /* @__PURE__ */ u("p", {
38
- className: "ttw:text-4xl ttw:font-semibold",
39
- children: h
40
- })]
41
- }),
42
- /* @__PURE__ */ u("dl", {
43
- className: "ttw:flex ttw:flex-col",
44
- children: g.map((e, t) => /* @__PURE__ */ d("div", {
45
- className: s("ttw:flex ttw:items-center ttw:gap-4 ttw:py-2.5", t < g.length - 1 && "ttw:border-b ttw:border-border"),
46
- children: [/* @__PURE__ */ u("dt", {
47
- className: "ttw:w-32 ttw:shrink-0 ttw:text-sm ttw:text-muted-foreground",
48
- children: e.label
49
- }), /* @__PURE__ */ u("dd", {
50
- className: "ttw:text-sm ttw:font-medium",
51
- children: e.value
52
- })]
53
- }, e.label))
54
- }),
55
- /* @__PURE__ */ d("section", {
56
- className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-muted/30 ttw:p-4",
57
- children: [
58
- /* @__PURE__ */ u("p", {
59
- className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
60
- children: w.payToHeading
61
- }),
62
- /* @__PURE__ */ u("p", {
63
- className: "ttw:mt-1 ttw:text-xl ttw:font-semibold",
64
- children: _.name
65
- }),
66
- _.email ? /* @__PURE__ */ u("p", {
67
- className: "ttw:text-sm ttw:text-muted-foreground",
68
- children: _.email
69
- }) : null,
70
- _.methodLabel || _.fields.length > 0 ? /* @__PURE__ */ d("div", {
71
- className: "ttw:mt-4 ttw:border-t ttw:border-border ttw:pt-4",
72
- children: [_.methodLabel ? /* @__PURE__ */ u("p", {
73
- className: "ttw:text-xs ttw:font-semibold ttw:text-muted-foreground",
74
- children: _.methodLabel
75
- }) : null, /* @__PURE__ */ u("dl", {
76
- className: "ttw:mt-3 ttw:grid ttw:gap-3",
77
- children: _.fields.map((e) => /* @__PURE__ */ u(c, {
78
- field: e,
79
- labels: w
80
- }, e.label))
81
- })]
82
- }) : null
83
- ]
84
- })
85
- ]
86
- }),
87
- /* @__PURE__ */ d(i, {
88
- className: "ttw:pt-4 ttw:sm:gap-3",
89
- children: [/* @__PURE__ */ u(e, {
90
- type: "button",
91
- variant: "outline",
92
- onClick: y,
93
- children: w.backButton
94
- }), /* @__PURE__ */ u(e, {
95
- type: "button",
96
- loading: v,
97
- onClick: x,
98
- children: w.submitButton
99
- })]
100
- })
101
- ]
102
- })
103
- });
104
- }
105
- //#endregion
106
- export { f as ReviewTransactionDialog, f as default };
2
+ import "./index100.js";
@@ -1,2 +1,33 @@
1
- import "./index100.js";
2
- import "./index101.js";
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
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js
3
+ var r = {
4
+ title: "Schedule payment",
5
+ hiddenDescription: "Choose the account to pay from and the payment date.",
6
+ payFrom: "Pay from",
7
+ payFromPlaceholder: "Select an account",
8
+ paymentDate: "Payment date",
9
+ paymentDatePlaceholder: "Choose a date",
10
+ today: "Today",
11
+ noAccounts: "No accounts available",
12
+ loadingAccounts: "Loading accounts",
13
+ accountsError: "Couldn't load accounts. Try again.",
14
+ poweredByBank: (e) => `Powered by ${e}`,
15
+ cancelButton: "Cancel",
16
+ reviewButton: "Review payment",
17
+ fieldMarkers: e,
18
+ requiredFieldsLegend: t
19
+ };
20
+ function i(e) {
21
+ let t = {
22
+ ...r.fieldMarkers,
23
+ ...e?.fieldMarkers
24
+ };
25
+ return {
26
+ ...r,
27
+ ...e,
28
+ fieldMarkers: t,
29
+ requiredFieldsLegend: n(t, e?.requiredFieldsLegend)
30
+ };
31
+ }
32
+ //#endregion
33
+ export { r as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, i as mergeSchedulePaymentDialogLabels };