@tesouro/embedded-components-react 0.7.16 → 0.7.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 (46) hide show
  1. package/README.md +14 -14
  2. package/dist/index.css +9 -12
  3. package/dist/index.d.ts +70 -19
  4. package/dist/lib/CounterpartsWidget.d.ts +49 -6
  5. package/dist/lib/CounterpartsWidgetPublic.d.ts +49 -6
  6. package/dist/lib/CustomersWidget.d.ts +49 -6
  7. package/dist/lib/LinkedAccountsWidget.d.ts +20 -12
  8. package/dist/lib/WidgetSuite.d.ts +20 -12
  9. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index3.js +2 -1
  10. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartDetailsContainer.js +18 -13
  11. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +146 -137
  12. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartDetailsSheetView.js +56 -55
  13. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsWidget.js +108 -77
  14. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/viewModels.js +181 -25
  15. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index.js +1 -1
  16. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index2.js +50 -7
  17. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index4.js +127 -596
  18. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index5.js +66 -0
  19. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index6.js +210 -0
  20. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index7.js +520 -0
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +2 -1
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useInvoicesFilter.js +10 -7
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +1 -0
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +141 -125
  26. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/forms.js +2 -1
  27. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/labels.js +11 -1
  28. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/summary.js +22 -0
  29. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +182 -162
  30. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/mocks/linkedAccounts.js +1 -0
  31. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index10.js +36 -86
  32. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js +1 -1
  33. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index12.js +17 -23
  34. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +6 -6
  35. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index15.js +14 -17
  36. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index16.js +3 -6
  37. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index5.js +168 -35
  38. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js +70 -83
  39. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index7.js +11 -112
  40. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index8.js +6 -12
  41. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js +82 -7
  42. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +11 -11
  43. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index.js +7 -7
  44. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +1 -8
  45. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  46. package/package.json +1 -1
@@ -1,116 +1,15 @@
1
- import { Avatar as e, AvatarFallback as t, Badge as n, Separator as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { FeaturedIcon as i } from "./index2.js";
3
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
4
- import { CheckIcon as s, ClockIcon as c, LinkIcon as l } from "lucide-react";
1
+ import { jsx as e } from "react/jsx-runtime";
5
2
  //#region ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index7.js
6
- function u({ label: e }) {
7
- return /* @__PURE__ */ o(n, {
8
- className: "ttw:shrink-0 ttw:border-transparent ttw:bg-emerald-100 ttw:text-emerald-700 ttw:hover:bg-emerald-100 ttw:hover:text-emerald-700",
9
- children: [/* @__PURE__ */ a(s, {}), e]
10
- });
11
- }
12
- function d({ label: e }) {
13
- return /* @__PURE__ */ o(n, {
14
- variant: "secondary",
15
- className: "ttw:shrink-0 ttw:hover:bg-neutral ttw:hover:text-neutral-foreground",
16
- children: [/* @__PURE__ */ a(c, {}), e]
17
- });
18
- }
19
- function f({ title: e, description: t, badge: n, children: r }) {
20
- return /* @__PURE__ */ o("div", {
21
- className: "ttw:space-y-2",
22
- children: [/* @__PURE__ */ o("div", {
23
- className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-3",
24
- children: [/* @__PURE__ */ o("div", {
25
- className: "ttw:space-y-1",
26
- children: [/* @__PURE__ */ a("p", {
27
- className: "ttw:text-sm ttw:font-semibold ttw:text-foreground",
28
- children: e
29
- }), /* @__PURE__ */ a("p", {
30
- className: "ttw:text-sm ttw:text-muted-foreground",
31
- children: t
32
- })]
33
- }), n]
34
- }), r]
35
- });
36
- }
37
- function p({ labels: n, summary: s }) {
38
- return /* @__PURE__ */ o("div", {
39
- className: "ttw:space-y-6",
40
- children: [
41
- /* @__PURE__ */ o("div", {
42
- className: "ttw:space-y-4",
43
- children: [
44
- /* @__PURE__ */ a("h3", {
45
- className: "ttw:text-base ttw:font-semibold ttw:text-primary",
46
- children: n.summaryCompletedHeading
47
- }),
48
- /* @__PURE__ */ a(f, {
49
- title: n.summaryStep1Title,
50
- description: n.summaryStep1Description,
51
- badge: /* @__PURE__ */ a(u, { label: n.statusComplete }),
52
- children: /* @__PURE__ */ o("div", {
53
- className: "ttw:flex ttw:items-center ttw:gap-3 ttw:rounded-xl ttw:border ttw:border-border ttw:p-3",
54
- children: [/* @__PURE__ */ a(i, { children: /* @__PURE__ */ a(l, { className: "ttw:size-5 ttw:text-foreground" }) }), /* @__PURE__ */ o("div", {
55
- className: "ttw:min-w-0",
56
- children: [/* @__PURE__ */ a("p", {
57
- className: "ttw:truncate ttw:text-sm ttw:font-medium ttw:text-foreground",
58
- children: s.nickname
59
- }), /* @__PURE__ */ a("p", {
60
- className: "ttw:text-sm ttw:text-muted-foreground",
61
- children: `${n.summaryAccountPrefix} (${s.maskedAccountNumber})`
62
- })]
63
- })]
64
- })
65
- }),
66
- /* @__PURE__ */ a(f, {
67
- title: n.summaryStep2Title,
68
- description: n.summaryStep2Description,
69
- badge: /* @__PURE__ */ a(u, { label: n.statusComplete }),
70
- children: /* @__PURE__ */ a("ul", {
71
- className: "ttw:divide-y ttw:divide-border ttw:rounded-xl ttw:border ttw:border-border",
72
- children: s.users.map((n) => /* @__PURE__ */ o("li", {
73
- className: "ttw:flex ttw:items-center ttw:gap-3 ttw:p-3",
74
- children: [/* @__PURE__ */ a(e, {
75
- size: "sm",
76
- children: /* @__PURE__ */ a(t, { children: n.initials })
77
- }), /* @__PURE__ */ o("div", {
78
- className: "ttw:min-w-0",
79
- children: [/* @__PURE__ */ a("p", {
80
- className: "ttw:truncate ttw:text-sm ttw:font-medium ttw:text-foreground",
81
- children: n.name
82
- }), /* @__PURE__ */ a("p", {
83
- className: "ttw:truncate ttw:text-sm ttw:text-muted-foreground",
84
- children: n.role
85
- })]
86
- })]
87
- }, n.key))
88
- })
89
- })
90
- ]
91
- }),
92
- /* @__PURE__ */ a(r, {}),
93
- /* @__PURE__ */ o("div", {
94
- className: "ttw:space-y-4",
95
- children: [
96
- /* @__PURE__ */ a("h3", {
97
- className: "ttw:text-base ttw:font-semibold ttw:text-primary",
98
- children: n.summaryNextStepsHeading
99
- }),
100
- /* @__PURE__ */ a(f, {
101
- title: n.summaryStep3Title,
102
- description: n.summaryStep3Description,
103
- badge: /* @__PURE__ */ a(d, { label: n.statusTodo })
104
- }),
105
- /* @__PURE__ */ a(f, {
106
- title: n.summaryStep4Title,
107
- description: n.summaryStep4Description,
108
- badge: /* @__PURE__ */ a(d, { label: n.statusTodo })
109
- })
110
- ]
111
- })
112
- ]
3
+ var t = {
4
+ default: "ttw:bg-primary ttw:text-primary-foreground ttw:ring-primary/20",
5
+ destructive: "ttw:bg-destructive ttw:text-destructive-foreground ttw:ring-destructive/20",
6
+ success: "ttw:bg-emerald-100 ttw:text-emerald-600 ttw:ring-emerald-500/20"
7
+ };
8
+ function n({ children: n, variant: r = "default" }) {
9
+ return /* @__PURE__ */ e("span", {
10
+ className: `ttw:flex ttw:size-11 ttw:items-center ttw:justify-center ttw:rounded-full ttw:ring-8 ${t[r]}`,
11
+ children: n
113
12
  });
114
13
  }
115
14
  //#endregion
116
- export { p as ConnectStepSummary };
15
+ export { n as DialogFeaturedIcon };
@@ -1,15 +1,9 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
1
  //#region ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index8.js
3
- var t = {
4
- default: "ttw:bg-primary ttw:text-primary-foreground ttw:ring-primary/20",
5
- destructive: "ttw:bg-destructive ttw:text-destructive-foreground ttw:ring-destructive/20",
6
- success: "ttw:bg-emerald-100 ttw:text-emerald-600 ttw:ring-emerald-500/20"
2
+ var e = {
3
+ connectAccountButton: "linked-accounts-widget-connect-account-button",
4
+ emptyState: "linked-accounts-widget-empty-state",
5
+ connectAccountDialog: "linked-accounts-widget-connect-account-dialog",
6
+ verifySuccessTitle: "linked-accounts-widget-verify-success-title"
7
7
  };
8
- function n({ children: n, variant: r = "default" }) {
9
- return /* @__PURE__ */ e("span", {
10
- className: `ttw:flex ttw:size-11 ttw:items-center ttw:justify-center ttw:rounded-full ttw:ring-8 ${t[r]}`,
11
- children: n
12
- });
13
- }
14
8
  //#endregion
15
- export { n as DialogFeaturedIcon };
9
+ export { e as linkedAccountsWidgetUiTestIds };
@@ -1,9 +1,84 @@
1
+ import { Button as e, Dialog as t, DialogContent as n, DialogFooter as r, DialogHeader as i, DialogTitle as a } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { InlineErrorAlert as o } from "../../../shared/ui/dist/lib/InlineErrorAlert/InlineErrorAlert.js";
3
+ import "../../../shared/ui/dist/index.js";
4
+ import { linkedAccountsWidgetUiTestIds as s } from "./index8.js";
5
+ import { ConnectStepAccess as c } from "./index4.js";
6
+ import { ConnectStepDetails as l } from "./index5.js";
7
+ import { ConnectStepSummary as u } from "./index6.js";
8
+ import { DialogFeaturedIcon as d } from "./index7.js";
9
+ import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
10
+ import { ArrowRightIcon as h, LinkIcon as g } from "lucide-react";
1
11
  //#region ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js
2
- var e = {
3
- connectAccountButton: "linked-accounts-widget-connect-account-button",
4
- emptyStateConnectAccountButton: "linked-accounts-widget-empty-state-connect-account-button",
5
- connectAccountDialog: "linked-accounts-widget-connect-account-dialog",
6
- verifySuccessTitle: "linked-accounts-widget-verify-success-title"
7
- };
12
+ var _ = 2;
13
+ function v({ open: v, labels: y, connectStep: b, connectForm: x, accessRows: S, accessGrantedCount: C, connectSummary: w, isTeamMembersLoading: T, isTeamMembersError: E, isSubmitting: D, isActionDisabled: O, canConnect: k, isConnectError: A, isConnectNextDisabled: j, isConnectRoutingNumberInvalid: M, connectErrorMessage: N, onOpenChange: P, onConnectFormChange: F, onConnectNext: I, onConnectBack: L }) {
14
+ let R = O || !k, z = b === 3, B = y.stepIndicator.replace("{current}", String(b)).replace("{total}", String(_));
15
+ return /* @__PURE__ */ p(t, {
16
+ open: v,
17
+ onOpenChange: P,
18
+ children: /* @__PURE__ */ p(n, {
19
+ showCloseButton: !0,
20
+ "data-testid": s.connectAccountDialog,
21
+ className: "ttw:flex ttw:max-h-[90dvh] ttw:flex-col ttw:gap-0 ttw:rounded-xl ttw:p-0",
22
+ children: z && w ? /* @__PURE__ */ p(u, {
23
+ labels: y,
24
+ summary: w,
25
+ onDone: () => P(!1)
26
+ }) : /* @__PURE__ */ m(f, { children: [
27
+ /* @__PURE__ */ m(i, {
28
+ className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-3 ttw:px-6 ttw:pb-4 ttw:pt-6 ttw:text-left",
29
+ children: [/* @__PURE__ */ p(d, { children: /* @__PURE__ */ p(g, { className: "ttw:size-5" }) }), /* @__PURE__ */ p(a, {
30
+ className: "ttw:text-xl",
31
+ children: y.connectTitle
32
+ })]
33
+ }),
34
+ /* @__PURE__ */ m("div", {
35
+ className: "ttw:min-h-0 ttw:flex-1 ttw:space-y-4 ttw:overflow-y-auto ttw:border-y ttw:border-border ttw:p-6",
36
+ children: [
37
+ b === 1 && /* @__PURE__ */ p(l, {
38
+ labels: y,
39
+ connectForm: x,
40
+ disabled: R,
41
+ routingNumberError: M,
42
+ onConnectFormChange: F
43
+ }),
44
+ b === 2 && /* @__PURE__ */ p(c, {
45
+ labels: y,
46
+ rows: S,
47
+ grantedCount: C,
48
+ isLoading: T,
49
+ isError: E
50
+ }),
51
+ A && /* @__PURE__ */ p(o, { children: N ?? y.actionErrorTitle })
52
+ ]
53
+ }),
54
+ /* @__PURE__ */ p(r, {
55
+ className: "ttw:px-6 ttw:pb-6 ttw:pt-4",
56
+ children: /* @__PURE__ */ m("div", {
57
+ className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:gap-3",
58
+ children: [/* @__PURE__ */ p("span", {
59
+ className: "ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
60
+ children: B
61
+ }), /* @__PURE__ */ m("div", {
62
+ className: "ttw:flex ttw:gap-2",
63
+ children: [/* @__PURE__ */ p(e, {
64
+ type: "button",
65
+ variant: "outline",
66
+ disabled: D,
67
+ onClick: b === 1 ? () => P(!1) : L,
68
+ children: b === 1 ? y.cancelButton : y.backButton
69
+ }), /* @__PURE__ */ m(e, {
70
+ type: "button",
71
+ loading: D,
72
+ disabled: R || j,
73
+ onClick: I,
74
+ children: [y.nextButton, /* @__PURE__ */ p(h, {})]
75
+ })]
76
+ })]
77
+ })
78
+ })
79
+ ] })
80
+ })
81
+ });
82
+ }
8
83
  //#endregion
9
- export { e as linkedAccountsWidgetUiTestIds };
84
+ export { v as ConnectAccountDialog };
@@ -5,18 +5,18 @@ import { BankAccountFormSheet as r } from "../../ui/dist/index11.js";
5
5
  import { ConfirmDeleteDialog as i } from "../../ui/dist/index14.js";
6
6
  import "../../ui/dist/index.js";
7
7
  import { COUNTERPART_MESSAGE_LABELS_EN as a } from "./lib/labels.js";
8
- import { buildAnalyticsMap as o, buildCounterpartRows as s, counterpartFormBankAccountToCreatePayload as c, counterpartFormBankAccountToUpdatePayload as l, emptyCounterpartFormValues as u, formatCounterpartDate as d, formatMoney as f, getAchInstructions as p, getCounterpartEmail as m, getCounterpartName as h, getPayableAchInstructions as g, hasCounterpartFormErrors as _, hasSelectedText as v, isAchCompatibleBankAccount as y, resolveCounterpartBankAccountWrite as b, validateAchFormValues as x, validateCounterpartForm as S } from "./lib/helpers.js";
9
- import { useCounterpartQuery as C, useCounterpartsByIdsQuery as w, useCounterpartsQuery as T, useCreateCounterpartMutation as E } from "../../data-access/dist/index3.js";
10
- import { useCreateCounterpartBankAccountMutation as D, useUpdateCounterpartBankAccountMutation as O } from "../../data-access/dist/index5.js";
11
- import { useCounterpartAddressesForRowsQuery as k, useCounterpartAddressesQuery as A } from "../../data-access/dist/index7.js";
8
+ import { addressResponseToFormValues as o, buildAnalyticsMap as s, buildCounterpartRows as c, counterpartFormBankAccountToCreatePayload as l, counterpartFormBankAccountToUpdatePayload as u, counterpartToFormValues as d, emptyCounterpartFormValues as f, formatMoney as p, getAchInstructions as m, getCounterpartEmail as h, getCounterpartName as g, getPayableAchInstructions as _, hasCounterpartFormErrors as v, hasSelectedText as y, isAchCompatibleBankAccount as b, resolveCounterpartBankAccountWrite as x, validateAchFormValues as S, validateCounterpartForm as C } from "./lib/helpers.js";
9
+ import { useCounterpartQuery as w, useCounterpartsByIdsQuery as T, useCounterpartsQuery as E, useCreateCounterpartMutation as D } from "../../data-access/dist/index3.js";
10
+ import { useCreateCounterpartBankAccountMutation as O, useUpdateCounterpartBankAccountMutation as k } from "../../data-access/dist/index5.js";
11
+ import { useCounterpartAddressesForRowsQuery as A, useCounterpartAddressesQuery as j } from "../../data-access/dist/index7.js";
12
12
  import "../../data-access/dist/index.js";
13
- import { useAddressForm as j } from "./lib/useAddressForm.js";
14
- import { useCounterpartDetails as M } from "./lib/useCounterpartDetails.js";
15
- import { usePayableAchInstructions as N } from "./lib/usePayableAchInstructions.js";
16
- import { useCounterpartForm as P } from "./lib/useCounterpartForm.js";
13
+ import { useAddressForm as M } from "./lib/useAddressForm.js";
14
+ import { useCounterpartDetails as N } from "./lib/useCounterpartDetails.js";
15
+ import { usePayableAchInstructions as P } from "./lib/usePayableAchInstructions.js";
16
+ import { useCounterpartForm as F } from "./lib/useCounterpartForm.js";
17
17
  import "./lib/useCounterpartSelector.js";
18
18
  import "./lib/CounterpartSelector.js";
19
- import { useDeleteController as F } from "./lib/useDeleteController.js";
19
+ import { useDeleteController as I } from "./lib/useDeleteController.js";
20
20
  import "./lib/useSubEntityForm.js";
21
- import { useBankAccountForm as I } from "./lib/subEntityForms.js";
22
- export { r as BankAccountFormSheet, a as COUNTERPART_MESSAGE_LABELS_EN, i as ConfirmDeleteDialog, e as CounterpartFormFields, t as CounterpartFormSheet, o as buildAnalyticsMap, s as buildCounterpartRows, c as counterpartFormBankAccountToCreatePayload, l as counterpartFormBankAccountToUpdatePayload, u as emptyCounterpartFormValues, d as formatCounterpartDate, f as formatMoney, p as getAchInstructions, m as getCounterpartEmail, h as getCounterpartName, g as getPayableAchInstructions, _ as hasCounterpartFormErrors, v as hasSelectedText, y as isAchCompatibleBankAccount, b as resolveCounterpartBankAccountWrite, j as useAddressForm, I as useBankAccountForm, k as useCounterpartAddressesForRowsQuery, A as useCounterpartAddressesQuery, M as useCounterpartDetails, P as useCounterpartForm, C as useCounterpartQuery, w as useCounterpartsByIdsQuery, T as useCounterpartsQuery, D as useCreateCounterpartBankAccountMutation, E as useCreateCounterpartMutation, F as useDeleteController, n as useFocusFirstInvalidField, N as usePayableAchInstructions, O as useUpdateCounterpartBankAccountMutation, x as validateAchFormValues, S as validateCounterpartForm };
21
+ import { useBankAccountForm as L } from "./lib/subEntityForms.js";
22
+ export { r as BankAccountFormSheet, a as COUNTERPART_MESSAGE_LABELS_EN, i as ConfirmDeleteDialog, e as CounterpartFormFields, t as CounterpartFormSheet, o as addressResponseToFormValues, s as buildAnalyticsMap, c as buildCounterpartRows, l as counterpartFormBankAccountToCreatePayload, u as counterpartFormBankAccountToUpdatePayload, d as counterpartToFormValues, f as emptyCounterpartFormValues, p as formatMoney, m as getAchInstructions, h as getCounterpartEmail, g as getCounterpartName, _ as getPayableAchInstructions, v as hasCounterpartFormErrors, y as hasSelectedText, b as isAchCompatibleBankAccount, x as resolveCounterpartBankAccountWrite, M as useAddressForm, L as useBankAccountForm, A as useCounterpartAddressesForRowsQuery, j as useCounterpartAddressesQuery, N as useCounterpartDetails, F as useCounterpartForm, w as useCounterpartQuery, T as useCounterpartsByIdsQuery, E as useCounterpartsQuery, O as useCreateCounterpartBankAccountMutation, D as useCreateCounterpartMutation, I as useDeleteController, n as useFocusFirstInvalidField, P as usePayableAchInstructions, k as useUpdateCounterpartBankAccountMutation, S as validateAchFormValues, C as validateCounterpartForm };
@@ -1,13 +1,13 @@
1
- import { ACH_FIELD_GROUP_LABELS_EN as e, ADDRESS_FORM_SHEET_LABELS_EN as t, COUNTERPART_FORM_SHEET_LABELS_EN as n } from "./index2.js";
1
+ import { ACH_FIELD_GROUP_LABELS_EN as e } from "./index2.js";
2
2
  import "./index3.js";
3
- import { AchFieldGroup as r } from "./index5.js";
4
- import { AddressFieldGroup as i, EMPTY_ADDRESS_FORM_VALUES as a } from "./index6.js";
3
+ import { AchFieldGroup as t } from "./index5.js";
4
+ import { EMPTY_ADDRESS_FORM_VALUES as n } from "./index6.js";
5
5
  import "./index7.js";
6
- import { CounterpartFormFields as o, CounterpartFormSheet as s, countErrors as c, useFocusFirstInvalidField as l } from "./index9.js";
6
+ import { CounterpartFormFields as r, CounterpartFormSheet as i, countErrors as a, useFocusFirstInvalidField as o } from "./index9.js";
7
7
  import "./index10.js";
8
- import { BankAccountFormSheet as u } from "./index11.js";
8
+ import { BankAccountFormSheet as s } from "./index11.js";
9
9
  import "./index12.js";
10
10
  import "./index13.js";
11
- import { ConfirmDeleteDialog as d } from "./index14.js";
11
+ import { ConfirmDeleteDialog as c } from "./index14.js";
12
12
  import "./index15.js";
13
- export { e as ACH_FIELD_GROUP_LABELS_EN, t as ADDRESS_FORM_SHEET_LABELS_EN, r as AchFieldGroup, i as AddressFieldGroup, u as BankAccountFormSheet, n as COUNTERPART_FORM_SHEET_LABELS_EN, d as ConfirmDeleteDialog, o as CounterpartFormFields, s as CounterpartFormSheet, a as EMPTY_ADDRESS_FORM_VALUES, c as countErrors, l as useFocusFirstInvalidField };
13
+ export { e as ACH_FIELD_GROUP_LABELS_EN, t as AchFieldGroup, s as BankAccountFormSheet, c as ConfirmDeleteDialog, r as CounterpartFormFields, i as CounterpartFormSheet, n as EMPTY_ADDRESS_FORM_VALUES, a as countErrors, o as useFocusFirstInvalidField };
@@ -86,15 +86,8 @@ var n = {
86
86
  saveButton: "Save",
87
87
  fieldMarkers: e
88
88
  }, s = {
89
- title: "Edit address",
90
- cancelButton: "Cancel",
91
- saveButton: "Save",
92
- address: r,
93
- fieldMarkers: e,
94
- requiredFieldsLegend: t
95
- }, c = {
96
89
  confirmButton: "Delete",
97
90
  cancelButton: "Cancel"
98
91
  };
99
92
  //#endregion
100
- export { i as ACH_FIELD_GROUP_LABELS_EN, r as ADDRESS_FIELD_GROUP_LABELS_EN, s as ADDRESS_FORM_SHEET_LABELS_EN, o as BANK_ACCOUNT_FORM_SHEET_LABELS_EN, c as CONFIRM_DELETE_DIALOG_LABELS_EN, a as COUNTERPART_FORM_SHEET_LABELS_EN, n as COUNTERPART_TYPE_CHOOSER_LABELS_EN };
93
+ export { i as ACH_FIELD_GROUP_LABELS_EN, r as ADDRESS_FIELD_GROUP_LABELS_EN, o as BANK_ACCOUNT_FORM_SHEET_LABELS_EN, s as CONFIRM_DELETE_DIALOG_LABELS_EN, a as COUNTERPART_FORM_SHEET_LABELS_EN, n as COUNTERPART_TYPE_CHOOSER_LABELS_EN };
@@ -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.7.16", n = "a083ab4aeac3063c5633760e990747183486100c", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.7.18", n = "cbb0c0df9af2d67668ca779bb0e8231c25877c41", 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.7.16",
3
+ "version": "0.7.18",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [