@tesouro/embedded-components-react 0.5.32 → 0.5.34

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 (40) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +17 -1
  3. package/dist/index.js +2 -2
  4. package/dist/lib/BankAccountOnboardingWidget.d.ts +17 -1
  5. package/dist/lib/BankAccountOnboardingWidget.js +1 -1
  6. package/dist/lib/SettingsWidget.js +1 -2
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +3 -1
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +30 -0
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +48 -0
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +6 -0
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +1 -1
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js +1 -0
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index15.js +9 -2
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +96 -5
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +5 -28
  16. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +26 -320
  17. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index19.js +7 -0
  18. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index20.js +387 -0
  19. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index.js +3 -2
  20. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +2 -2
  21. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index7.js +3 -0
  22. package/dist/libs/tesouro-embedded-components-react/settings-widget/help/feature/dist/index2.js +5 -0
  23. package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/feature/dist/index3.js +7 -7
  24. package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/ui/contract/dist/index2.js +1 -1
  25. package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/ui/contract/dist/index3.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/settings-widget/help/ui/contract/dist/index4.js +4 -0
  27. package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/ui/contract/dist/index5.js +1 -1
  28. package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/ui/shadcn/dist/index2.js +1 -1
  29. package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/ui/shadcn/dist/index3.js +4 -4
  30. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +27 -27
  31. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +162 -154
  32. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js +11 -11
  33. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  34. package/package.json +1 -1
  35. package/dist/libs/tesouro-embedded-components-react/help-widget/feature/dist/index2.js +0 -4
  36. package/dist/libs/tesouro-embedded-components-react/help-widget/ui/contract/dist/index4.js +0 -4
  37. /package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/feature/dist/index.js +0 -0
  38. /package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/ui/contract/dist/index.js +0 -0
  39. /package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/ui/shadcn/dist/index.js +0 -0
  40. /package/dist/libs/tesouro-embedded-components-react/{help-widget → settings-widget/help}/ui/shadcn/dist/index4.js +0 -0
@@ -8,23 +8,23 @@ import { withAuthEpoch as n } from "./withAuthEpoch.js";
8
8
  import { OnboardingSuppressionReason as r } from "./onboardingSuppressionReason.js";
9
9
  import { useQuery as i } from "@tanstack/react-query";
10
10
  //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js
11
- var a = "COMPLETE", o = "BANK_ACCOUNT", s = "STARTED_BY_OTHER", c = 2, l = 300;
12
- function u(e) {
11
+ var a = "COMPLETE", o = "BANK_ACCOUNT", s = "STARTED_BY_OTHER";
12
+ function c(e) {
13
13
  let t = e.filter((e) => e.product === o);
14
14
  return t.some((e) => e.status === a) ? r.OrganizationApplicationComplete : t.some((e) => e.ownership === s) ? r.OrganizationApplicationStartedByOther : null;
15
15
  }
16
- function d() {
17
- let { client: r, widgetToken: a, authEpoch: o } = e(), s = !!a, d = i({
16
+ function l() {
17
+ let { client: r, widgetToken: a, authEpoch: o } = e(), s = !!a, l = i({
18
18
  ...n(t({ client: r }), o),
19
19
  enabled: s,
20
- retry: c,
21
- retryDelay: l
22
- }), f = d.data ? u(d.data.applications) : null;
20
+ retry: 2,
21
+ retryDelay: 300
22
+ }), u = l.data ? c(l.data.applications) : null;
23
23
  return {
24
- isSuppressed: f !== null,
25
- reason: f,
26
- isResolved: !s || d.isSuccess || d.isError
24
+ isSuppressed: u !== null,
25
+ reason: u,
26
+ isResolved: !s || l.isSuccess || l.isError
27
27
  };
28
28
  }
29
29
  //#endregion
30
- export { d as useOrganizationOnboardingSuppression };
30
+ export { l as useOrganizationOnboardingSuppression };
@@ -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.5.32", n = "b173c22974bd1325f16c2944cccf6ab072572670", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.34", n = "856b01025fd0ffad80d2f73a02d8646d5f1185a2", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.32",
3
+ "version": "0.5.34",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {
@@ -1,4 +0,0 @@
1
- //#region ../../libs/tesouro-embedded-components-react/help-widget/feature/dist/index2.js
2
- var e = { Mounted: "help_widget.mounted" }, t = "help_widget";
3
- //#endregion
4
- export { e as HelpWidgetAnalyticsEvent, t as WIDGET_NAME };
@@ -1,4 +0,0 @@
1
- //#region ../../libs/tesouro-embedded-components-react/help-widget/ui/contract/dist/index4.js
2
- var e = "help-widget";
3
- //#endregion
4
- export { e as HELP_WIDGET_ID };