@tesouro/embedded-components-react 0.3.16 → 0.3.18

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 (111) hide show
  1. package/dist/index.d.ts +22 -1
  2. package/dist/index.js +10 -10
  3. package/dist/lib/AcceptDisclosuresWidget.d.ts +11 -1
  4. package/dist/lib/AcceptDisclosuresWidget.js +1 -1
  5. package/dist/lib/BalancesWidget.js +1 -1
  6. package/dist/lib/BankAccountOnboardingWidget.d.ts +21 -21
  7. package/dist/lib/BankAccountOnboardingWidget.js +1 -1
  8. package/dist/lib/CardsWidget.js +1 -1
  9. package/dist/lib/ExpenseApprovalPoliciesWidget.js +1 -1
  10. package/dist/lib/ExpenseManagementWidget.js +1 -1
  11. package/dist/lib/InsightsWidget.js +1 -1
  12. package/dist/lib/ReceiptMatchWidget.js +1 -1
  13. package/dist/lib/TransfersWidget.js +1 -1
  14. package/dist/lib/UploadReceiptWidget.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index.js +1 -1
  16. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index4.js +10 -140
  17. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js +152 -0
  18. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +19 -19
  19. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index.js +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index4.js +10 -11
  21. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index5.js +15 -64
  22. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index6.js +75 -0
  23. package/dist/libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/BalancesWidget.js +16 -16
  24. package/dist/libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/SingleBalance/SingleBalance.js +7 -7
  25. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +109 -169
  27. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index11.js +170 -63
  28. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +73 -81
  29. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +77 -101
  30. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js +110 -83
  31. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index15.js +91 -7
  32. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +7 -28
  33. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +26 -320
  34. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +341 -0
  35. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index9.js +29 -100
  36. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +0 -1
  37. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index11.js +3 -3
  38. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index15.js +32 -32
  39. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index16.js +2 -2
  40. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index18.js +14 -10
  41. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index19.js +42 -42
  42. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index2.js +80 -77
  43. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index20.js +2 -2
  44. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index22.js +14 -10
  45. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index23.js +16 -16
  46. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js +5 -5
  47. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index3.js +7 -6
  48. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index5.js +23 -18
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +0 -1
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +28 -28
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +0 -1
  52. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/index.js +0 -1
  53. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsHeader.js +5 -5
  54. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index.js +3 -3
  55. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index3.js +4 -23
  56. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index4.js +23 -24
  57. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index5.js +24 -30
  58. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index6.js +28 -55
  59. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index7.js +54 -209
  60. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index8.js +206 -81
  61. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +95 -0
  62. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardFaceSwatch.js +2 -2
  63. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +31 -30
  64. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListRow.js +11 -10
  65. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index.js +5 -5
  66. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index10.js +1 -255
  67. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index11.js +253 -2
  68. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index12.js +2 -71
  69. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +73 -0
  70. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index5.js +7 -218
  71. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index6.js +219 -79
  72. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index7.js +89 -2
  73. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index8.js +2 -47
  74. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index9.js +49 -1
  75. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/ApprovalRuleCard.js +2 -2
  76. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/ApprovalRuleForm.js +32 -32
  77. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/ExpenseApprovalsPage.js +11 -8
  78. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index.js +1 -1
  79. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +12 -14
  80. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index11.js +21 -62
  81. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index12.js +73 -0
  82. package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/InsightsWidget.js +6 -6
  83. package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/SingleInsight.js +10 -10
  84. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js +1 -1
  85. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js +67 -46
  86. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/testIds.js +26 -0
  87. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApprovalPolicyRules.js +151 -135
  88. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index11.js +11 -11
  89. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index14.js +17 -17
  90. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index16.js +17 -15
  91. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index18.js +9 -9
  92. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index20.js +16 -13
  93. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index3.js +13 -13
  94. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index5.js +11 -11
  95. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index7.js +5 -5
  96. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index9.js +6 -6
  97. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  98. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +21 -20
  99. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShellOverlayPortal.js +10 -10
  100. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShellScrollRegion.js +17 -17
  101. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index.js +1 -1
  102. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index5.js +18 -99
  103. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +116 -19
  104. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index7.js +28 -0
  105. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/ReviewTransferStep.js +9 -9
  106. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModal.js +13 -11
  107. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferResultStep.js +7 -7
  108. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransfersWidget.js +19 -19
  109. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +4 -4
  110. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  111. package/package.json +1 -1
@@ -18,10 +18,10 @@ function r({ label: r, value: i, testId: a, valueMonospace: o }) {
18
18
  })]
19
19
  }) : null;
20
20
  }
21
- function i({ rows: e }) {
21
+ function i({ rows: e, testIds: n }) {
22
22
  return /* @__PURE__ */ t("div", {
23
23
  className: "ttw:flex ttw:flex-col ttw:gap-2",
24
- "data-testid": "about-you-summary",
24
+ "data-testid": n?.root,
25
25
  children: e.map((e) => /* @__PURE__ */ t(r, {
26
26
  label: e.label,
27
27
  value: e.value,
@@ -5,14 +5,14 @@ import { AboutYouSummary as c } from "./index20.js";
5
5
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
6
6
  import { Pen as d } from "lucide-react";
7
7
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index22.js
8
- function f({ isEditing: f, onEditClick: p, summaryRows: m, editFields: h, labels: g, isDisabled: _, ssnRevealed: v, ssnToggleAriaLabel: y, onToggleSsnVisibility: b, showOwnershipPercentage: x, maxBirthDate: S, ssnMaskedDisplay: C, ssnFormattedDisplay: w }) {
9
- let T = {
8
+ function f({ isEditing: f, onEditClick: p, summaryRows: m, editFields: h, labels: g, isDisabled: _, ssnRevealed: v, ssnToggleAriaLabel: y, onToggleSsnVisibility: b, showOwnershipPercentage: x, maxBirthDate: S, ssnMaskedDisplay: C, ssnFormattedDisplay: w, testIds: T }) {
9
+ let E = {
10
10
  ...o,
11
11
  ...g
12
12
  };
13
13
  return f ? /* @__PURE__ */ l(s, {
14
14
  fields: h,
15
- labels: T,
15
+ labels: E,
16
16
  isDisabled: _,
17
17
  ssnRevealed: v,
18
18
  ssnToggleAriaLabel: y,
@@ -20,9 +20,10 @@ function f({ isEditing: f, onEditClick: p, summaryRows: m, editFields: h, labels
20
20
  showOwnershipPercentage: x,
21
21
  maxBirthDate: S,
22
22
  ssnMaskedDisplay: C,
23
- ssnFormattedDisplay: w
23
+ ssnFormattedDisplay: w,
24
+ testIds: T?.editForm
24
25
  }) : /* @__PURE__ */ u("section", {
25
- "data-testid": "about-you-panel",
26
+ "data-testid": T?.root,
26
27
  className: "ttw:relative ttw:min-w-0 ttw:rounded-lg ttw:bg-surface-subtle ttw:p-4",
27
28
  children: [
28
29
  /* @__PURE__ */ u("div", {
@@ -31,7 +32,7 @@ function f({ isEditing: f, onEditClick: p, summaryRows: m, editFields: h, labels
31
32
  component: "h3",
32
33
  variant: "h6",
33
34
  className: "ttw:font-semibold ttw:text-foreground",
34
- children: T.panelTitle
35
+ children: E.panelTitle
35
36
  }), /* @__PURE__ */ l(r, { children: /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ l(i, {
36
37
  asChild: !0,
37
38
  onFocus: (e) => {
@@ -43,8 +44,8 @@ function f({ isEditing: f, onEditClick: p, summaryRows: m, editFields: h, labels
43
44
  size: "icon-sm",
44
45
  onClick: p,
45
46
  disabled: _,
46
- "aria-label": T.editButtonAriaLabel,
47
- "data-testid": "about-you-edit-button",
47
+ "aria-label": E.editButtonAriaLabel,
48
+ "data-testid": T?.editButton,
48
49
  className: "ttw:rounded-lg ttw:bg-muted ttw:text-foreground ttw:hover:bg-primary/10 ttw:hover:text-foreground",
49
50
  children: /* @__PURE__ */ l(d, {
50
51
  className: "ttw:size-5",
@@ -54,14 +55,17 @@ function f({ isEditing: f, onEditClick: p, summaryRows: m, editFields: h, labels
54
55
  }), /* @__PURE__ */ l(n, {
55
56
  side: "top",
56
57
  sideOffset: 4,
57
- children: T.editTooltip
58
+ children: E.editTooltip
58
59
  })] }) })]
59
60
  }),
60
61
  /* @__PURE__ */ l("div", {
61
62
  className: "ttw:mb-3 ttw:border-b ttw:border-border",
62
63
  "aria-hidden": !0
63
64
  }),
64
- /* @__PURE__ */ l(c, { rows: m })
65
+ /* @__PURE__ */ l(c, {
66
+ rows: m,
67
+ testIds: T?.summary
68
+ })
65
69
  ]
66
70
  });
67
71
  }
@@ -15,15 +15,15 @@ function o({ href: e, children: t }) {
15
15
  children: t
16
16
  });
17
17
  }
18
- function s({ value: a, onChange: s, isSubmitting: c, labels: l, bankName: u, termsHref: d, privacyHref: f, electronicCommunicationHref: p, patriotActHref: m }) {
19
- let h = {
18
+ function s({ value: a, onChange: s, isSubmitting: c, labels: l, bankName: u, termsHref: d, privacyHref: f, electronicCommunicationHref: p, patriotActHref: m, testIds: h }) {
19
+ let g = {
20
20
  ...t,
21
21
  ...l,
22
22
  companyStructureOptions: {
23
23
  ...t.companyStructureOptions,
24
24
  ...l?.companyStructureOptions ?? {}
25
25
  }
26
- }, g = (e, t) => s({
26
+ }, _ = (e, t) => s({
27
27
  ...a,
28
28
  [e]: t
29
29
  });
@@ -33,24 +33,24 @@ function s({ value: a, onChange: s, isSubmitting: c, labels: l, bankName: u, ter
33
33
  className: "ttw:flex ttw:items-start ttw:gap-2",
34
34
  children: [/* @__PURE__ */ r(e, {
35
35
  id: "isAuthorized",
36
- "data-testid": "bank-account-onboarding-authorization-checkbox",
36
+ "data-testid": h?.authorizationCheckbox,
37
37
  checked: a.isAuthorized === !0,
38
- onCheckedChange: (e) => g("isAuthorized", e === !0 || null),
38
+ onCheckedChange: (e) => _("isAuthorized", e === !0 || null),
39
39
  disabled: c,
40
40
  className: "ttw:mt-0.5",
41
41
  "aria-labelledby": "bank-account-onboarding-authorization-text"
42
42
  }), /* @__PURE__ */ r("p", {
43
43
  id: "bank-account-onboarding-authorization-text",
44
44
  className: "ttw:text-sm ttw:font-normal ttw:leading-snug",
45
- children: h.isAuthorizedQuestion
45
+ children: g.isAuthorizedQuestion
46
46
  })]
47
47
  }), /* @__PURE__ */ i("div", {
48
48
  className: "ttw:flex ttw:items-start ttw:gap-2",
49
49
  children: [/* @__PURE__ */ r(e, {
50
50
  id: "isCheckboxChecked",
51
- "data-testid": "bank-account-onboarding-disclosure-checkbox",
51
+ "data-testid": h?.disclosureCheckbox,
52
52
  checked: a.isCheckboxChecked,
53
- onCheckedChange: (e) => g("isCheckboxChecked", e === !0),
53
+ onCheckedChange: (e) => _("isCheckboxChecked", e === !0),
54
54
  disabled: c,
55
55
  className: "ttw:mt-0.5",
56
56
  "aria-labelledby": "bank-account-onboarding-disclosure-text"
@@ -58,25 +58,25 @@ function s({ value: a, onChange: s, isSubmitting: c, labels: l, bankName: u, ter
58
58
  id: "bank-account-onboarding-disclosure-text",
59
59
  className: "ttw:text-sm ttw:font-normal ttw:leading-snug",
60
60
  children: [
61
- n(h.acceptDisclosuresPrefix, u),
61
+ n(g.acceptDisclosuresPrefix, u),
62
62
  /* @__PURE__ */ r(o, {
63
63
  href: d,
64
- children: h.termsOfUse
64
+ children: g.termsOfUse
65
65
  }),
66
- h.acceptDisclosuresTermsPrivacyJoin,
66
+ g.acceptDisclosuresTermsPrivacyJoin,
67
67
  /* @__PURE__ */ r(o, {
68
68
  href: f,
69
- children: h.privacyPolicy
69
+ children: g.privacyPolicy
70
70
  }),
71
- n(h.acceptDisclosuresAfterPrivacy, u),
71
+ n(g.acceptDisclosuresAfterPrivacy, u),
72
72
  /* @__PURE__ */ r(o, {
73
73
  href: p,
74
- children: h.electronicCommunication
74
+ children: g.electronicCommunication
75
75
  }),
76
- n(h.acceptDisclosuresAfterElectronic, u),
76
+ n(g.acceptDisclosuresAfterElectronic, u),
77
77
  /* @__PURE__ */ r(o, {
78
78
  href: m,
79
- children: h.patriotAct
79
+ children: g.patriotAct
80
80
  })
81
81
  ]
82
82
  })]
@@ -1,7 +1,7 @@
1
1
  import { Button as e, Dialog as t, DialogClose as n, DialogContent as r, DialogTitle as i } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { MARKETING_WIDGET_LABELS_EN as a } from "./index24.js";
3
- import { marketingWidgetTestIds as o } from "./index26.js";
4
- import { MarketingBenefitItem as s } from "./index25.js";
3
+ import { MarketingBenefitItem as o } from "./index25.js";
4
+ import { marketingWidgetTestIds as s } from "./index26.js";
5
5
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
6
  import { ArrowRight as u, X as d } from "lucide-react";
7
7
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js
@@ -16,7 +16,7 @@ function f({ open: f, providedByCaption: p, modalPrimaryImg: m, primaryModalHead
16
16
  e || v();
17
17
  },
18
18
  children: /* @__PURE__ */ l(r, {
19
- "data-testid": o.modal,
19
+ "data-testid": s.modal,
20
20
  showCloseButton: !1,
21
21
  className: "ttw:max-w-[500px] ttw:gap-0 ttw:p-6",
22
22
  style: {
@@ -53,7 +53,7 @@ function f({ open: f, providedByCaption: p, modalPrimaryImg: m, primaryModalHead
53
53
  }),
54
54
  /* @__PURE__ */ c("div", {
55
55
  className: "ttw:mb-6 ttw:grid ttw:grid-cols-2 ttw:gap-4",
56
- children: g.map((e) => /* @__PURE__ */ c(s, {
56
+ children: g.map((e) => /* @__PURE__ */ c(o, {
57
57
  text: e,
58
58
  iconColor: _.primaryColor
59
59
  }, e))
@@ -68,7 +68,7 @@ function f({ open: f, providedByCaption: p, modalPrimaryImg: m, primaryModalHead
68
68
  backgroundColor: _.primaryColor,
69
69
  color: _.primaryContrastColor
70
70
  },
71
- "data-testid": o.primaryCtaButton,
71
+ "data-testid": s.primaryCtaButton,
72
72
  children: [x.primaryCta, /* @__PURE__ */ c(u, {
73
73
  className: "ttw:size-4",
74
74
  "aria-hidden": !0
@@ -13,10 +13,11 @@ function S({ htmlFor: e, children: t }) {
13
13
  });
14
14
  }
15
15
  var C = "ttw:w-full";
16
- function w({ fields: o, display: w, isExisting: T, isValid: E, isDisabled: D, labels: O, onCancel: k, onSubmit: A, onClose: j, ssnRevealed: M, ssnToggleAriaLabel: N, onToggleSsnVisibility: P }) {
17
- let [F, I] = m.useState(!1), L = !M && !F, R = T ? O.saveOwnerSubmit : O.addOwnerSubmit;
16
+ function w({ fields: o, display: w, isExisting: T, isValid: E, isDisabled: D, labels: O, onCancel: k, onSubmit: A, onClose: j, ssnRevealed: M, ssnToggleAriaLabel: N, onToggleSsnVisibility: P, testIds: F }) {
17
+ let [I, L] = m.useState(!1), R = !M && !I, z = T ? O.saveOwnerSubmit : O.addOwnerSubmit;
18
18
  return /* @__PURE__ */ h(p, {
19
19
  expandContainer: !0,
20
+ testIds: F?.overlay,
20
21
  children: /* @__PURE__ */ g("div", {
21
22
  className: "ttw:flex ttw:h-full ttw:w-full ttw:min-h-0 ttw:flex-col ttw:px-8 ttw:pb-8 ttw:pt-8",
22
23
  role: "dialog",
@@ -103,10 +104,10 @@ function w({ fields: o, display: w, isExisting: T, isValid: E, isDisabled: D, la
103
104
  id: "owner-ssn",
104
105
  className: "ttw:flex-1 ttw:font-mono ttw:tracking-wider",
105
106
  type: "text",
106
- value: L ? w.ssnMaskedDisplay : w.ssnFormattedDisplay,
107
+ value: R ? w.ssnMaskedDisplay : w.ssnFormattedDisplay,
107
108
  onChange: (e) => o.ssn.onValueChange(e.target.value),
108
- onFocus: () => I(!0),
109
- onBlur: () => I(!1),
109
+ onFocus: () => L(!0),
110
+ onBlur: () => L(!1),
110
111
  disabled: D,
111
112
  autoComplete: "off",
112
113
  inputMode: "numeric",
@@ -243,7 +244,7 @@ function w({ fields: o, display: w, isExisting: T, isValid: E, isDisabled: D, la
243
244
  onClick: A,
244
245
  disabled: D || !E,
245
246
  className: "ttw:gap-1.5",
246
- children: [R, /* @__PURE__ */ h(y, { className: "ttw:size-4" })]
247
+ children: [z, /* @__PURE__ */ h(y, { className: "ttw:size-4" })]
247
248
  })]
248
249
  })
249
250
  ]
@@ -5,11 +5,11 @@ import { AdditionalOwnerFormOverlay as d } from "./index3.js";
5
5
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
6
6
  import { PencilIcon as m, PlusIcon as h, Trash2Icon as g } from "lucide-react";
7
7
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index5.js
8
- function _({ ownerRows: _, primaryOwnerName: v, primaryOwnerShareDisplay: y, showPrimaryOwner: b = !0, totalOwnershipError: x, addOwnerDisabled: S, onAddOwner: C, onEditOwner: w, onDeleteOwnerRequest: T, deletingOwnerName: E, onDeleteOwnerConfirm: D, onDeleteOwnerCancel: O, editingOverlay: k, isSubmitting: A, labels: j }) {
9
- let M = {
8
+ function _({ ownerRows: _, primaryOwnerName: v, primaryOwnerShareDisplay: y, showPrimaryOwner: b = !0, totalOwnershipError: x, addOwnerDisabled: S, onAddOwner: C, onEditOwner: w, onDeleteOwnerRequest: T, deletingOwnerName: E, onDeleteOwnerConfirm: D, onDeleteOwnerCancel: O, editingOverlay: k, isSubmitting: A, labels: j, testIds: M }) {
9
+ let N = {
10
10
  ...l,
11
11
  ...j
12
- }, N = k !== null || E !== null;
12
+ }, P = k !== null || E !== null;
13
13
  return /* @__PURE__ */ p("div", {
14
14
  className: "ttw:relative ttw:flex ttw:flex-col ttw:gap-6",
15
15
  children: [
@@ -22,15 +22,15 @@ function _({ ownerRows: _, primaryOwnerName: v, primaryOwnerShareDisplay: y, sho
22
22
  children: [
23
23
  /* @__PURE__ */ f(o, {
24
24
  className: "ttw:px-4 ttw:py-3",
25
- children: M.ownerNameColumn
25
+ children: N.ownerNameColumn
26
26
  }),
27
27
  /* @__PURE__ */ f(o, {
28
28
  className: "ttw:px-4 ttw:py-3",
29
- children: M.ownerShareColumn
29
+ children: N.ownerShareColumn
30
30
  }),
31
31
  /* @__PURE__ */ f(o, {
32
32
  className: "ttw:px-4 ttw:py-3 ttw:text-right",
33
- children: M.ownerActionsColumn
33
+ children: N.ownerActionsColumn
34
34
  })
35
35
  ]
36
36
  }) }), /* @__PURE__ */ p(i, { children: [
@@ -67,17 +67,17 @@ function _({ ownerRows: _, primaryOwnerName: v, primaryOwnerShareDisplay: y, sho
67
67
  type: "button",
68
68
  variant: "ghost",
69
69
  size: "icon-sm",
70
- "aria-label": M.edit,
70
+ "aria-label": N.edit,
71
71
  onClick: () => w(t),
72
- disabled: A || N,
72
+ disabled: A || P,
73
73
  children: /* @__PURE__ */ f(m, { className: "ttw:size-4" })
74
74
  }), /* @__PURE__ */ f(n, {
75
75
  type: "button",
76
76
  variant: "ghost",
77
77
  size: "icon-sm",
78
- "aria-label": M.remove,
78
+ "aria-label": N.remove,
79
79
  onClick: () => T(t),
80
- disabled: A || N,
80
+ disabled: A || P,
81
81
  children: /* @__PURE__ */ f(g, { className: "ttw:size-4" })
82
82
  })]
83
83
  })
@@ -89,18 +89,18 @@ function _({ ownerRows: _, primaryOwnerName: v, primaryOwnerShareDisplay: y, sho
89
89
  children: /* @__PURE__ */ f(a, {
90
90
  colSpan: 3,
91
91
  className: "ttw:px-4 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
92
- children: M.emptyOwnersText
92
+ children: N.emptyOwnersText
93
93
  })
94
94
  }) : null
95
95
  ] })] })
96
- }), N ? null : /* @__PURE__ */ p(n, {
96
+ }), P ? null : /* @__PURE__ */ p(n, {
97
97
  type: "button",
98
98
  variant: "ghost",
99
99
  onClick: C,
100
100
  disabled: S || A,
101
- "data-testid": "bank-account-onboarding-add-owner-button",
101
+ "data-testid": M?.addOwnerButton,
102
102
  className: "ttw:h-auto ttw:w-fit ttw:justify-start ttw:gap-1.5 ttw:px-0 ttw:has-[>svg]:px-0 ttw:pl-4 ttw:font-normal ttw:text-primary ttw:hover:bg-transparent ttw:hover:text-primary/90",
103
- children: [/* @__PURE__ */ f(h, { className: "ttw:size-4" }), M.addOwner]
103
+ children: [/* @__PURE__ */ f(h, { className: "ttw:size-4" }), N.addOwner]
104
104
  })]
105
105
  }),
106
106
  x ? /* @__PURE__ */ f(e, {
@@ -113,21 +113,26 @@ function _({ ownerRows: _, primaryOwnerName: v, primaryOwnerShareDisplay: y, sho
113
113
  isExisting: k.isExisting,
114
114
  isValid: k.isValid,
115
115
  isDisabled: A,
116
- labels: M,
116
+ labels: N,
117
117
  onCancel: k.onCancel,
118
118
  onSubmit: k.onSubmit,
119
119
  onClose: k.onCancel,
120
120
  ssnRevealed: k.ssnRevealed,
121
121
  ssnToggleAriaLabel: k.ssnToggleAriaLabel,
122
- onToggleSsnVisibility: k.onToggleSsnVisibility
122
+ onToggleSsnVisibility: k.onToggleSsnVisibility,
123
+ testIds: { overlay: M?.overlay }
123
124
  }) : null,
124
125
  E ? /* @__PURE__ */ f(u, {
125
126
  ownerName: E,
126
- labels: M,
127
+ labels: N,
127
128
  isDisabled: A,
128
129
  onCancel: O,
129
130
  onConfirm: D,
130
- onClose: O
131
+ onClose: O,
132
+ testIds: {
133
+ ...M?.deleteOverlay,
134
+ overlay: M?.overlay
135
+ }
131
136
  }) : null
132
137
  ]
133
138
  });
@@ -20,7 +20,6 @@ import "./index56.js";
20
20
  import "./index57.js";
21
21
  import "./index58.js";
22
22
  import "./index60.js";
23
- import "./index61.js";
24
23
  import "./index62.js";
25
24
  import "./index63.js";
26
25
  import "./index64.js";
@@ -14,70 +14,70 @@ import { BillsScreen as a } from "../../ui/dist/index60.js";
14
14
  import "../../ui/dist/index.js";
15
15
  import { BillCreateDialog as o } from "./index41.js";
16
16
  import "./index42.js";
17
- import { BillDetailsContainer as s } from "./index45.js";
17
+ import { BillDetailsContainer as ee } from "./index45.js";
18
18
  import "./index46.js";
19
19
  import "./index52.js";
20
20
  import "./index53.js";
21
- import { DuplicateBillsContainer as c } from "./index56.js";
21
+ import { DuplicateBillsContainer as s } from "./index56.js";
22
22
  import "./index57.js";
23
- import { BILL_QUEUE_ORDER as l, BillQueue as u } from "./index58.js";
24
- import { BILLS_TAB_LABELS_EN as d } from "./index60.js";
25
- import { billsTabTestIds as f, billsTableCellTestIds as p } from "./index61.js";
26
- import { useBillsTable as ee } from "./index62.js";
27
- import { copyTextToClipboard as te } from "./index59.js";
23
+ import { BILL_QUEUE_ORDER as c, BillQueue as l } from "./index58.js";
24
+ import { BILLS_TAB_LABELS_EN as u } from "./index60.js";
25
+ import { useBillsTable as d } from "./index62.js";
26
+ import { copyTextToClipboard as f } from "./index59.js";
27
+ import { billsTabTestIds as p, billsTableCellTestIds as te } from "./index61.js";
28
28
  import { useCallback as ne, useEffect as m, useMemo as h, useState as g } from "react";
29
29
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
30
30
  import { CalendarClockIcon as y, CheckIcon as b, FilePenIcon as x, ListIcon as S, LoaderCircleIcon as C } from "lucide-react";
31
31
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js
32
32
  var w = "bills@business-banking.app", T = {
33
- [u.Drafts]: /* @__PURE__ */ _(x, {
33
+ [l.Drafts]: /* @__PURE__ */ _(x, {
34
34
  className: "ttw:size-4",
35
35
  "aria-hidden": !0
36
36
  }),
37
- [u.Pending]: /* @__PURE__ */ _(C, {
37
+ [l.Pending]: /* @__PURE__ */ _(C, {
38
38
  className: "ttw:size-4",
39
39
  "aria-hidden": !0
40
40
  }),
41
- [u.Scheduled]: /* @__PURE__ */ _(y, {
41
+ [l.Scheduled]: /* @__PURE__ */ _(y, {
42
42
  className: "ttw:size-4",
43
43
  "aria-hidden": !0
44
44
  }),
45
- [u.Paid]: /* @__PURE__ */ _(b, {
45
+ [l.Paid]: /* @__PURE__ */ _(b, {
46
46
  className: "ttw:size-4",
47
47
  "aria-hidden": !0
48
48
  }),
49
- [u.All]: /* @__PURE__ */ _(S, {
49
+ [l.All]: /* @__PURE__ */ _(S, {
50
50
  className: "ttw:size-4",
51
51
  "aria-hidden": !0
52
52
  })
53
53
  };
54
- function E({ labels: u, onEnqueueFiles: y, openPayableId: b, onOpenPayableHandled: x, poweredByBankName: S, duplicateBills: C }) {
54
+ function E({ labels: l, onEnqueueFiles: y, openPayableId: b, onOpenPayableHandled: x, poweredByBankName: S, duplicateBills: C }) {
55
55
  let E = h(() => ({
56
- ...d,
57
56
  ...u,
57
+ ...l,
58
58
  queues: {
59
- ...d.queues,
60
- ...u?.queues
59
+ ...u.queues,
60
+ ...l?.queues
61
61
  },
62
- queueEmptyStates: l.reduce((e, t) => ({
62
+ queueEmptyStates: c.reduce((e, t) => ({
63
63
  ...e,
64
64
  [t]: {
65
- ...d.queueEmptyStates[t],
66
- ...u?.queueEmptyStates?.[t]
65
+ ...u.queueEmptyStates[t],
66
+ ...l?.queueEmptyStates?.[t]
67
67
  }
68
68
  }), {})
69
- }), [u]), [D, O] = g(!1), [k, A] = g(), [j, M] = g(!1), [N, P] = g(), [F, I] = g(!1), [L, R] = g(!1), [z, B] = g(!1), { initResponse: V } = r(), H = t(V?.scopes, [n.PayableReadOrg]), U = t(V?.scopes, [n.PayableWriteOrg]), W = !V || H, G = !V || U, K = ne((e, t) => {
69
+ }), [l]), [D, O] = g(!1), [k, A] = g(), [j, M] = g(!1), [N, P] = g(), [F, I] = g(!1), [L, R] = g(!1), [z, B] = g(!1), { initResponse: V } = r(), H = t(V?.scopes, [n.PayableReadOrg]), U = t(V?.scopes, [n.PayableWriteOrg]), W = !V || H, G = !V || U, K = ne((e, t) => {
70
70
  if (t && G) {
71
71
  A(e), M(!0);
72
72
  return;
73
73
  }
74
74
  P(e), I(!0);
75
- }, [G]), q = h(() => (C ?? []).filter((e) => e.isPossibleDuplicate).map((e) => e.id), [C]), J = ee({
75
+ }, [G]), q = h(() => (C ?? []).filter((e) => e.isPossibleDuplicate).map((e) => e.id), [C]), J = d({
76
76
  enabled: W,
77
77
  onOpenBill: K,
78
78
  duplicateBillIds: q,
79
79
  duplicateBadgeLabel: E.duplicateBadge
80
- }), Y = (e) => !!(e && q.includes(e)), X = q.length, re = X === 0 ? void 0 : X === 1 ? E.duplicateWarningOne : E.duplicateWarningMany(X), ie = h(() => l.map((e) => ({
80
+ }), Y = (e) => !!(e && q.includes(e)), X = q.length, re = X === 0 ? void 0 : X === 1 ? E.duplicateWarningOne : E.duplicateWarningMany(X), ie = h(() => c.map((e) => ({
81
81
  id: e,
82
82
  label: E.queues[e],
83
83
  icon: T[e]
@@ -93,12 +93,12 @@ function E({ labels: u, onEnqueueFiles: y, openPayableId: b, onOpenPayableHandle
93
93
  }, Q = (e) => {
94
94
  O(!1), y?.(e);
95
95
  }, $ = async () => {
96
- await te(w) ? e.success(E.emailCopiedToast) : e.error(E.emailCopyFailedToast);
96
+ await f(w) ? e.success(E.emailCopiedToast) : e.error(E.emailCopyFailedToast);
97
97
  };
98
98
  return m(() => {
99
99
  b && (A(b), M(!0), x?.());
100
100
  }, [x, b]), /* @__PURE__ */ v("div", {
101
- "data-testid": f.root,
101
+ "data-testid": p.root,
102
102
  children: [
103
103
  /* @__PURE__ */ _(a, {
104
104
  rows: J.rows,
@@ -119,7 +119,7 @@ function E({ labels: u, onEnqueueFiles: y, openPayableId: b, onOpenPayableHandle
119
119
  searchValue: J.searchValue,
120
120
  onSearchChange: J.onSearchChange,
121
121
  visibleColumns: J.visibleColumns,
122
- cellTestIds: p,
122
+ cellTestIds: te,
123
123
  isSearchActive: J.isSearchActive,
124
124
  showAddPanelWhenEmpty: J.showAddPanelWhenEmpty,
125
125
  emptyState: E.queueEmptyStates[J.selectedFilterTabId],
@@ -133,7 +133,7 @@ function E({ labels: u, onEnqueueFiles: y, openPayableId: b, onOpenPayableHandle
133
133
  onReviewDuplicates: () => B(!0),
134
134
  labels: se
135
135
  }),
136
- z ? /* @__PURE__ */ _(c, {
136
+ z ? /* @__PURE__ */ _(s, {
137
137
  open: z,
138
138
  onOpenChange: B,
139
139
  bills: C,
@@ -156,14 +156,14 @@ function E({ labels: u, onEnqueueFiles: y, openPayableId: b, onOpenPayableHandle
156
156
  payableId: k,
157
157
  isPossibleDuplicate: Y(k)
158
158
  }) : null,
159
- F ? /* @__PURE__ */ _(s, {
159
+ F ? /* @__PURE__ */ _(ee, {
160
160
  open: F,
161
161
  onOpenChange: I,
162
162
  payableId: N,
163
163
  onClose: () => I(!1),
164
164
  onExpand: oe,
165
165
  isPossibleDuplicate: Y(N),
166
- testId: f.detailsSheet,
166
+ testId: p.detailsSheet,
167
167
  poweredByBankName: S
168
168
  }) : null,
169
169
  L ? /* @__PURE__ */ _(o, {
@@ -1,5 +1,4 @@
1
1
  import "./index58.js";
2
2
  import "./index60.js";
3
- import "./index61.js";
4
3
  import "./index62.js";
5
4
  import "./index63.js";
@@ -1,4 +1,3 @@
1
- import "./lib/CardDetailsPanel/testIds.js";
2
1
  import "./lib/CardDetailsPanel/statusBadge.js";
3
2
  import "./lib/CardDetailsPanel/CardDetailsHeader.js";
4
3
  import "./lib/CardDetailsPanel/CardFace.js";
@@ -1,6 +1,6 @@
1
1
  import { Badge as e, Button as t, DropdownMenu as n, DropdownMenuContent as r, DropdownMenuTrigger as i, Skeleton as a } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { cardDetailsWidgetUiTestIds as o } from "./testIds.js";
3
- import { cardStatusToneClassName as s } from "./statusBadge.js";
2
+ import { cardStatusToneClassName as o } from "./statusBadge.js";
3
+ import { cardDetailsWidgetUiTestIds as s } from "./testIds.js";
4
4
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
5
  import { EllipsisVerticalIcon as u, XIcon as d } from "lucide-react";
6
6
  //#region ../../libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsHeader.js
@@ -16,7 +16,7 @@ function f({ labels: f, title: p, isTitlePending: m, statusLabel: h, statusTone:
16
16
  className: "ttw:truncate ttw:text-2xl ttw:font-semibold ttw:tracking-[-0.6px] ttw:text-foreground",
17
17
  children: p
18
18
  }) : null, h ? /* @__PURE__ */ c(e, {
19
- className: s(g ?? "neutral"),
19
+ className: o(g ?? "neutral"),
20
20
  children: h
21
21
  }) : null]
22
22
  }), _ ? /* @__PURE__ */ c("p", {
@@ -32,7 +32,7 @@ function f({ labels: f, title: p, isTitlePending: m, statusLabel: h, statusTone:
32
32
  size: "icon",
33
33
  className: "ttw:size-8 ttw:shrink-0 ttw:bg-muted",
34
34
  "aria-label": f.menuTriggerAriaLabel,
35
- "data-testid": o.menuTrigger,
35
+ "data-testid": s.menuTrigger,
36
36
  children: /* @__PURE__ */ c(u, { className: "ttw:size-4" })
37
37
  })
38
38
  }), /* @__PURE__ */ c(r, {
@@ -45,7 +45,7 @@ function f({ labels: f, title: p, isTitlePending: m, statusLabel: h, statusTone:
45
45
  size: "icon",
46
46
  className: "ttw:size-8 ttw:shrink-0",
47
47
  "aria-label": f.closeAriaLabel,
48
- "data-testid": o.closeButton,
48
+ "data-testid": s.closeButton,
49
49
  onClick: y,
50
50
  children: /* @__PURE__ */ c(d, { className: "ttw:size-4" })
51
51
  }) : null
@@ -1,4 +1,4 @@
1
- import "./index3.js";
2
- import "./index5.js";
3
- import { CardsWidget as e } from "./index8.js";
1
+ import "./index4.js";
2
+ import "./index6.js";
3
+ import { CardsWidget as e } from "./index9.js";
4
4
  export { e as CardsWidget };
@@ -1,26 +1,7 @@
1
- import { CARD_STATUS_LABELS_EN as e, CARD_TYPE_LABELS_EN as t } from "../../../shared/feature/dist/lib/card/cardPresentation.js";
2
- import "../../../shared/feature/dist/index.js";
3
1
  //#region ../../libs/tesouro-embedded-components-react/cards-widget/feature/dist/index3.js
4
- var n = {
5
- emptyValue: "—",
6
- untitledCard: "Untitled card",
7
- untitledFundingAccount: "Account",
8
- cardStatus: e,
9
- cardType: t
2
+ var e = {
3
+ list: "cards-list",
4
+ cardFaceSwatch: "card-face-swatch"
10
5
  };
11
- function r(e) {
12
- return {
13
- ...n,
14
- ...e,
15
- cardStatus: {
16
- ...n.cardStatus,
17
- ...e?.cardStatus
18
- },
19
- cardType: {
20
- ...n.cardType,
21
- ...e?.cardType
22
- }
23
- };
24
- }
25
6
  //#endregion
26
- export { n as DEFAULT_CARDS_FEATURE_LABELS, r as resolveCardsFeatureLabels };
7
+ export { e as cardsWidgetTestIds };
@@ -1,27 +1,26 @@
1
- import { minorExponentForCurrency as e } from "../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
2
- import { normalizeAmountOutputCurrencyCode as t } from "../../../shared/util/dist/lib/normalizeAmountOutputCurrencyCode.js";
1
+ import { CARD_STATUS_LABELS_EN as e, CARD_TYPE_LABELS_EN as t } from "../../../shared/feature/dist/lib/card/cardPresentation.js";
2
+ import "../../../shared/feature/dist/index.js";
3
3
  //#region ../../libs/tesouro-embedded-components-react/cards-widget/feature/dist/index4.js
4
- function n(e) {
5
- if (e == null || e === "") return;
6
- let t = Number(e);
7
- return Number.isFinite(t) ? t : void 0;
8
- }
9
- function r({ limit: r, currencyCode: i }) {
10
- let a = n(r);
11
- if (a === void 0) return;
12
- let o = t(i);
13
- return new Intl.NumberFormat(void 0, {
14
- style: "currency",
15
- currency: o,
16
- maximumFractionDigits: 0
17
- }).format(a / 10 ** e(o));
18
- }
19
- function i(e) {
20
- let t = e?.trim().slice(-4);
21
- return t ? `••••${t}` : void 0;
22
- }
23
- function a(e, t) {
24
- return e?.trim() || t;
4
+ var n = {
5
+ emptyValue: "—",
6
+ untitledCard: "Untitled card",
7
+ untitledFundingAccount: "Account",
8
+ cardStatus: e,
9
+ cardType: t
10
+ };
11
+ function r(e) {
12
+ return {
13
+ ...n,
14
+ ...e,
15
+ cardStatus: {
16
+ ...n.cardStatus,
17
+ ...e?.cardStatus
18
+ },
19
+ cardType: {
20
+ ...n.cardType,
21
+ ...e?.cardType
22
+ }
23
+ };
25
24
  }
26
25
  //#endregion
27
- export { r as formatCardLimit, i as maskAccountNumber, a as withFallback };
26
+ export { n as DEFAULT_CARDS_FEATURE_LABELS, r as resolveCardsFeatureLabels };