@tesouro/embedded-components-react 0.3.63 → 0.4.1

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 (82) hide show
  1. package/README.md +1 -70
  2. package/dist/index.d.ts +67 -832
  3. package/dist/index.js +18 -34
  4. package/dist/lib/BillPayWidget.js +1 -1
  5. package/dist/lib/SettingsWidget.d.ts +53 -7
  6. package/dist/lib/SettingsWidget.js +4 -2
  7. package/dist/lib/WidgetSuite.d.ts +38 -0
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +8 -8
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +8 -14
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +7 -57
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +56 -16
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +18 -126
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +126 -14
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +22 -4
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +4 -41
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +40 -4
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +5 -73
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +72 -48
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +47 -91
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +91 -33
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +33 -167
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +167 -75
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +75 -21
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +23 -210
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +199 -203
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +198 -89
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +105 -13
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +12 -47
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +47 -31
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +27 -198
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +198 -30
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +30 -234
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +240 -18
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +18 -341
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +343 -4
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +4 -33
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +31 -83
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +78 -163
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +170 -3
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +3 -4
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +2 -44
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +46 -1
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +1 -8
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +6 -9
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +9 -92
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +94 -3
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +3 -128
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +125 -8
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -7
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -46
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +43 -18
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +20 -28
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +27 -82
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +83 -47
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +47 -250
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +239 -101
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +107 -202
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +209 -3
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +4 -8
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +6 -113
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +115 -1
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +0 -24
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +25 -0
  64. package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index.js +3 -3
  65. package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index.js +5 -5
  66. package/dist/libs/tesouro-embedded-components-react/help-widget/feature/dist/index.js +4 -2
  67. package/dist/libs/tesouro-embedded-components-react/help-widget/ui/shadcn/dist/index.js +4 -4
  68. package/dist/libs/tesouro-embedded-components-react/help-widget/ui/shadcn/dist/index4.js +2 -3
  69. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +35 -32
  70. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  71. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  72. package/package.json +1 -1
  73. package/dist/lib/ChartOfAccountsWidget.d.ts +0 -958
  74. package/dist/lib/ChartOfAccountsWidget.js +0 -9
  75. package/dist/lib/HelpWidget.d.ts +0 -739
  76. package/dist/lib/HelpWidget.js +0 -6
  77. package/dist/lib/ProfileWidget.d.ts +0 -672
  78. package/dist/lib/ProfileWidget.js +0 -3
  79. package/dist/lib/TagsWidget.d.ts +0 -719
  80. package/dist/lib/TagsWidget.js +0 -3
  81. package/dist/lib/TeamWidget.d.ts +0 -878
  82. package/dist/lib/TeamWidget.js +0 -3
@@ -1 +1,115 @@
1
- import "./index79.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/index48.js";
15
+ import { BillUploadStatusTray as s } from "../../ui/dist/index71.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 "./index65.js";
20
+ import "./index66.js";
21
+ import { billsTabTestIds as u } from "./index71.js";
22
+ import { BillsTab as d } from "./index77.js";
23
+ import "./index78.js";
24
+ import { BillPayWidgetAnalyticsEvent as f, WIDGET_NAME as p } from "./index60.js";
25
+ import { DEFAULT_TABS_LABELS as m } from "./index79.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
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js
31
+ var S = {
32
+ Bills: "bills",
33
+ Vendors: "vendors",
34
+ Settings: "settings"
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
+ }
114
+ //#endregion
115
+ export { T as BillPayWidgetNative, T 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 "./index60.js";
9
- import "./index61.js";
10
- import { BillPayWidgetNative as r } from "./index79.js";
11
1
  import "./index80.js";
12
- import { jsx as i } from "react/jsx-runtime";
13
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.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,25 @@
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 "./index61.js";
9
+ import "./index62.js";
10
+ import { BillPayWidgetNative as r } from "./index80.js";
11
+ import "./index81.js";
12
+ import { jsx as i } from "react/jsx-runtime";
13
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.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 };
@@ -1,3 +1,3 @@
1
- import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as e } from "./index5.js";
2
- import { ChartOfAccountsWidget as t } from "./index8.js";
3
- export { e as CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, t as ChartOfAccountsWidget };
1
+ import "./index5.js";
2
+ import { ChartOfAccountsWidget as e } from "./index8.js";
3
+ export { e as ChartOfAccountsWidget };
@@ -1,5 +1,5 @@
1
- import { ACCOUNT_DELETE_DIALOG_LABELS_EN as e, ACCOUNT_FORM_SHEET_LABELS_EN as t, CHART_OF_ACCOUNTS_LABELS_EN as n } from "./index2.js";
2
- import { ChartOfAccountsTable as r } from "./index3.js";
3
- import { AccountFormSheet as i } from "./index4.js";
4
- import { AccountDeleteDialog as a } from "./index5.js";
5
- export { e as ACCOUNT_DELETE_DIALOG_LABELS_EN, t as ACCOUNT_FORM_SHEET_LABELS_EN, a as AccountDeleteDialog, i as AccountFormSheet, n as CHART_OF_ACCOUNTS_LABELS_EN, r as ChartOfAccountsTable };
1
+ import { ACCOUNT_DELETE_DIALOG_LABELS_EN as e, ACCOUNT_FORM_SHEET_LABELS_EN as t } from "./index2.js";
2
+ import { ChartOfAccountsTable as n } from "./index3.js";
3
+ import { AccountFormSheet as r } from "./index4.js";
4
+ import { AccountDeleteDialog as i } from "./index5.js";
5
+ export { e as ACCOUNT_DELETE_DIALOG_LABELS_EN, t as ACCOUNT_FORM_SHEET_LABELS_EN, i as AccountDeleteDialog, r as AccountFormSheet, n as ChartOfAccountsTable };
@@ -1,2 +1,4 @@
1
- import { HelpWidget as e } from "./index3.js";
2
- export { e as HelpWidget };
1
+ import { HELP_FAQ_EN as e } from "../../ui/contract/dist/index3.js";
2
+ import "../../ui/contract/dist/index.js";
3
+ import { HelpWidget as t } from "./index3.js";
4
+ export { e as HELP_FAQ_EN, t as HelpWidget };
@@ -1,6 +1,6 @@
1
- import { HELP_WIDGET_LABELS_EN as e } from "../../contract/dist/index2.js";
2
- import { HELP_FAQ_EN as t } from "../../contract/dist/index3.js";
1
+ import "../../contract/dist/index2.js";
2
+ import "../../contract/dist/index3.js";
3
3
  import "../../contract/dist/index4.js";
4
- import { HelpWidgetShadcn as n } from "./index3.js";
4
+ import { HelpWidgetShadcn as e } from "./index3.js";
5
5
  import "./index4.js";
6
- export { t as HELP_FAQ_EN, e as HELP_WIDGET_LABELS_EN, n as HelpWidgetShadcn };
6
+ export { e as HelpWidgetShadcn };
@@ -1,6 +1,5 @@
1
- import { HELP_WIDGET_LABELS_EN as e } from "../../contract/dist/index2.js";
2
- import { HELP_FAQ_EN as t } from "../../contract/dist/index3.js";
1
+ import "../../contract/dist/index2.js";
2
+ import "../../contract/dist/index3.js";
3
3
  import "../../contract/dist/index4.js";
4
4
  import "../../contract/dist/index.js";
5
5
  import "./index3.js";
6
- export { t as HELP_FAQ_EN, e as HELP_WIDGET_LABELS_EN };
@@ -43,69 +43,72 @@ var S = {
43
43
  [c.Expense]: [t.ApprovalPolicyWriteOrg, t.ExpenseWriteOrg],
44
44
  [c.Help]: []
45
45
  };
46
- function C({ labels: t, featureLabels: o, acceptInviteRedirectUri: d, helpContactUrl: C, profileContactUrl: w, selectedSection: T, defaultSelectedSection: E, onSelectedSectionChange: D, additionalSections: O, profileContent: k, teamContent: A, billPayContent: j, helpContent: M, expenseContent: N, accountingContent: P, tagsContent: F, invoiceContent: I }) {
47
- let L = {
46
+ function C({ labels: t, featureLabels: o, acceptInviteRedirectUri: d, helpContactUrl: C, helpFaq: w, profileContactUrl: T, selectedSection: E, defaultSelectedSection: D, onSelectedSectionChange: O, additionalSections: k, profileContent: A, teamContent: j, billPayContent: M, helpContent: N, expenseContent: P, accountingContent: F, tagsContent: I, invoiceContent: L }) {
47
+ let R = {
48
48
  ...s,
49
49
  ...o
50
- }, R = n();
50
+ }, z = n();
51
51
  y(() => {
52
- R(u.Mounted);
53
- }, [R]);
54
- let { initResponse: z } = r(), B = z?.scopes, V = [
52
+ z(u.Mounted);
53
+ }, [z]);
54
+ let { initResponse: B } = r(), V = B?.scopes, H = [
55
55
  {
56
56
  id: c.Profile,
57
- label: L.profileSection,
58
- content: k ?? /* @__PURE__ */ b(v, { contactUrl: w })
57
+ label: R.profileSection,
58
+ content: A ?? /* @__PURE__ */ b(v, { contactUrl: T })
59
59
  },
60
60
  {
61
61
  id: c.Team,
62
- label: L.teamSection,
63
- content: A ?? /* @__PURE__ */ b(m, { acceptInviteRedirectUri: d })
62
+ label: R.teamSection,
63
+ content: j ?? /* @__PURE__ */ b(m, { acceptInviteRedirectUri: d })
64
64
  },
65
65
  {
66
66
  id: c.Invoice,
67
- label: L.invoiceSection,
68
- content: I ?? /* @__PURE__ */ b(a, {})
67
+ label: R.invoiceSection,
68
+ content: L ?? /* @__PURE__ */ b(a, {})
69
69
  },
70
70
  {
71
71
  id: c.Expense,
72
- label: L.expenseSection,
73
- content: N ?? /* @__PURE__ */ b(f, {
74
- approvalsLabel: L.expenseApprovalsTab,
75
- requirementsLabel: L.expenseRequirementsTab
72
+ label: R.expenseSection,
73
+ content: P ?? /* @__PURE__ */ b(f, {
74
+ approvalsLabel: R.expenseApprovalsTab,
75
+ requirementsLabel: R.expenseRequirementsTab
76
76
  })
77
77
  },
78
78
  {
79
79
  id: c.BillPay,
80
- label: L.billPaySection,
81
- content: j ?? /* @__PURE__ */ b(i, {})
80
+ label: R.billPaySection,
81
+ content: M ?? /* @__PURE__ */ b(i, {})
82
82
  },
83
83
  {
84
84
  id: c.Accounting,
85
- label: L.accountingSection,
86
- content: P ?? /* @__PURE__ */ b(g, {})
85
+ label: R.accountingSection,
86
+ content: F ?? /* @__PURE__ */ b(g, {})
87
87
  },
88
88
  {
89
89
  id: c.Tags,
90
- label: L.tagsSection,
91
- content: F ?? /* @__PURE__ */ b(p, {})
90
+ label: R.tagsSection,
91
+ content: I ?? /* @__PURE__ */ b(p, {})
92
92
  },
93
93
  {
94
94
  id: c.Help,
95
- label: L.helpSection,
96
- content: M ?? /* @__PURE__ */ b(_, { contactUrl: C })
95
+ label: R.helpSection,
96
+ content: N ?? /* @__PURE__ */ b(_, {
97
+ contactUrl: C,
98
+ faq: w
99
+ })
97
100
  }
98
- ], H = l(V.filter((t) => S[t.id].every((t) => e(B, [t]))), O ?? []), U = H[0]?.id ?? "", [W, G] = x({
99
- prop: T,
100
- defaultProp: E ?? U,
101
- onChange: D,
101
+ ], U = l(H.filter((t) => S[t.id].every((t) => e(V, [t]))), k ?? []), W = U[0]?.id ?? "", [G, K] = x({
102
+ prop: E,
103
+ defaultProp: D ?? W,
104
+ onChange: O,
102
105
  caller: "SettingsWidget"
103
- }), K = H.some((e) => e.id === W) ? W : U;
106
+ }), q = U.some((e) => e.id === G) ? G : W;
104
107
  return /* @__PURE__ */ b(h, {
105
108
  labels: t,
106
- sections: H,
107
- selectedSectionId: K,
108
- onSectionChange: G
109
+ sections: U,
110
+ selectedSectionId: q,
111
+ onSectionChange: K
109
112
  });
110
113
  }
111
114
  function w({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: a, implementation: s, uiFramework: c, errorFallback: l, onError: u, finopsThemeColors: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
@@ -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.3.63", n = "3a358b9e37f930f92cf8c7fa2416fce77496bcb0", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.4.1", n = "d57ee0d8bb5b762f890ffc20d4293be04981e232", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -4,7 +4,7 @@
4
4
  "use client";
5
5
  import { Scope as e } from "../../../shared/data-access/dist/lib/scopes.js";
6
6
  import "../../../shared/data-access/dist/index.js";
7
- import { BillPayWidget as t } from "../../../bill-pay-widget/feature/dist/index81.js";
7
+ import { BillPayWidget as t } from "../../../bill-pay-widget/feature/dist/index82.js";
8
8
  import "../../../bill-pay-widget/feature/dist/index.js";
9
9
  import { jsx as n } from "react/jsx-runtime";
10
10
  //#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.3.63",
3
+ "version": "0.4.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {