@tesouro/embedded-components-react 0.11.201 → 0.11.204

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 (14) hide show
  1. package/README.md +32 -18
  2. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/accounts/feature/dist/lib/AccountsQuickViewWidget/AccountsQuickViewWidgetFeature.js +70 -59
  3. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/accounts/ui/dist/index3.js +17 -16
  4. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/bills/feature/dist/lib/BillsQuickViewWidget/BillsQuickViewWidgetFeature.js +49 -41
  5. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/bills/ui/dist/index3.js +19 -18
  6. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/CardsQuickViewWidgetFeature.js +53 -45
  7. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index3.js +18 -17
  8. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/invoices/feature/dist/lib/InvoicesQuickViewWidget/InvoicesQuickViewWidgetFeature.js +55 -45
  9. package/dist/libs/tesouro-embedded-components-react/quick-view-widget/invoices/ui/dist/index3.js +20 -18
  10. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  11. package/dist/libs/tesouro-embedded-components-react/shared/quick-view/ui/dist/index3.js +98 -66
  12. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index.js +23 -22
  13. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/formatCompactAmount.js +14 -0
  14. package/package.json +1 -1
package/README.md CHANGED
@@ -95,7 +95,9 @@ docs specifies its claims and encryption. Your route returns the same
95
95
  shortly before `exp`, and shares the signed-in scope with every widget inside
96
96
  it. It runs in the browser, so in the App Router it goes in a Client Component
97
97
  that your root layout renders, such as `app/providers.tsx`. Import the
98
- stylesheet there too: widgets render unstyled without it.
98
+ stylesheet there too: widgets render unstyled without it. If you load the
99
+ widgets from the CDN instead, skip this import; see
100
+ [About the stylesheet](#about-the-stylesheet).
99
101
 
100
102
  ```tsx
101
103
  'use client';
@@ -148,13 +150,13 @@ them inline.
148
150
 
149
151
  ### Entry points
150
152
 
151
- | Import path | What you get |
152
- | ------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
153
- | `@tesouro/embedded-components-react` | All widgets, `WidgetSuite`, and the providers, including `RefreshingRootWidgetProvider`. |
154
- | `@tesouro/embedded-components-react/styles.css` | The widget stylesheet. See [About the stylesheet](#about-the-stylesheet). |
155
- | `@tesouro/embedded-components-react/pdf.worker.min.mjs` | The pdf.js worker, to self-host with `configureCsp()` under a strict CSP. Nothing imports it. |
156
- | `@tesouro/embedded-components-react/core` | Framework-agnostic token utilities (`createWidgetTokenManager`). |
157
- | `@tesouro/embedded-components-react/experimental` | Work in progress, with no compatibility promise. See [below](#experimental-entry-point). |
153
+ | Import path | What you get |
154
+ | ------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
155
+ | `@tesouro/embedded-components-react` | All widgets, `WidgetSuite`, and the providers, including `RefreshingRootWidgetProvider`. |
156
+ | `@tesouro/embedded-components-react/styles.css` | The widget stylesheet, for the bundled install. See [About the stylesheet](#about-the-stylesheet). |
157
+ | `@tesouro/embedded-components-react/pdf.worker.min.mjs` | The pdf.js worker, to self-host with `configureCsp()` under a strict CSP. Nothing imports it. |
158
+ | `@tesouro/embedded-components-react/core` | Framework-agnostic token utilities (`createWidgetTokenManager`). |
159
+ | `@tesouro/embedded-components-react/experimental` | Work in progress, with no compatibility promise. See [below](#experimental-entry-point). |
158
160
 
159
161
  ### Experimental entry point
160
162
 
@@ -165,6 +167,18 @@ here. Use it only if we point you at a specific module, and pin an exact version
165
167
 
166
168
  ### About the stylesheet
167
169
 
170
+ How the stylesheet reaches the page depends on how you install:
171
+
172
+ - **Bundled from npm**, as in the steps above: import
173
+ `@tesouro/embedded-components-react/styles.css` yourself. The package's
174
+ JavaScript never imports it.
175
+ - **Hosted build through `@tesouro/embedded-components-loader`**: do not import
176
+ `styles.css`. The loader adds the hosted build's stylesheet from the Tesouro
177
+ CDN itself, so importing it too loads the stylesheet twice, and from two
178
+ different versions once your npm install and the hosted version drift apart.
179
+ Your `style-src` then needs the CDN origin; see
180
+ [Load from the Tesouro CDN](https://components.tesouro.com/components/load-from-cdn).
181
+
168
182
  The stylesheet won't restyle your host page. It ships no global CSS reset (the
169
183
  reset is scoped under the `.tesouro-embedded` wrapper every widget renders), and
170
184
  all utilities are `ttw`-prefixed, so it won't collide with your own Tailwind.
@@ -177,6 +191,11 @@ The widgets run inside your page, so your Content Security Policy has to allow
177
191
  the origins they reach. Each is first-party Tesouro infrastructure or a URL you
178
192
  pass in; nothing is loaded from a third-party CDN.
179
193
 
194
+ This section covers the bundled install. For the hosted build, follow the
195
+ loader guide's
196
+ [Content Security Policy](https://components.tesouro.com/components/load-from-cdn#content-security-policy)
197
+ instead.
198
+
180
199
  | Origin | Directive | What for |
181
200
  | ---------------------------------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
182
201
  | Your `baseUrl`, e.g. `https://api.tesouro.com` | `connect-src` | Every API call. Use `https://api.sandbox.tesouro.com` in sandbox. |
@@ -219,16 +238,11 @@ needs no `widgets.tesouro.com` entry and no `blob:`.
219
238
  Copy the file rather than importing it with a bundler `?url` suffix: a library
220
239
  build inlines that as base64, which puts the worker back in your bundle.
221
240
 
222
- **Styles.** The widget styles are all in `styles.css`. Two `<style>` tags are
223
- added at run time:
224
-
225
- - **Dialog scroll lock.** It carries your page's nonce, found as above when the
226
- first dialog opens, so a strict `style-src` needs no `'unsafe-inline'` for it.
227
- If it is blocked, dialogs still open but the page behind them can scroll.
228
- - **Toasts.** The toast library ([sonner](https://sonner.emilkowal.ski)) adds
229
- its stylesheet when the package loads and cannot take a nonce. A strict
230
- `style-src` blocks it, so toasts render without their positioning. Allow it
231
- with `'unsafe-inline'` until this is fixed.
241
+ **Styles.** The widget styles, toast styles included, are all in `styles.css`,
242
+ which you serve from your own origin. One `<style>` tag is added at run time,
243
+ for the dialog scroll lock. It carries your page's nonce, found as above when
244
+ the first dialog opens, so a strict `style-src` needs no `'unsafe-inline'` for
245
+ it. If it is blocked, dialogs still open but the page behind them can scroll.
232
246
 
233
247
  If your policy blocks one of these, only that feature is affected: a PDF
234
248
  preview reports a load error, analytics is dropped. The rest of the widget
@@ -3,74 +3,85 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { amountOutputToMajorUnits as e, minorExponentForCurrency as t } from "../../../../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
6
- import { formatMoneyExact as n } from "../../../../../../shared/util/dist/lib/formatMoneyExact.js";
6
+ import { formatCompactAmount as n } from "../../../../../../shared/util/dist/lib/formatCompactAmount.js";
7
+ import { formatMoneyExact as r } from "../../../../../../shared/util/dist/lib/formatMoneyExact.js";
7
8
  import "../../../../../../shared/util/dist/index.js";
8
- import { isOrganizationOnItsWay as r } from "../../../../../../shared/data-access/dist/lib/organizationStatus.js";
9
- import { useEmbedApi as i } from "../../../../../../shared/data-access/dist/lib/EmbedApiContext.js";
10
- import { Scope as a } from "../../../../../../shared/data-access/dist/lib/scopes.js";
9
+ import { isOrganizationOnItsWay as i } from "../../../../../../shared/data-access/dist/lib/organizationStatus.js";
10
+ import { useEmbedApi as a } from "../../../../../../shared/data-access/dist/lib/EmbedApiContext.js";
11
+ import { Scope as o } from "../../../../../../shared/data-access/dist/lib/scopes.js";
11
12
  import "../../../../../../shared/data-access/dist/index.js";
12
- import { useAnalyticsTrack as o } from "../../../../../../shared/feature/dist/lib/analytics/hooks.js";
13
- import { WidgetProvider as s } from "../../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
14
- import { useRefetchWidget as c, useWidgetConfig as l, useWidgetError as u, useWidgetLoading as d } from "../../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
+ import { useAnalyticsTrack as s } from "../../../../../../shared/feature/dist/lib/analytics/hooks.js";
14
+ import { WidgetProvider as c } from "../../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
15
+ import { useRefetchWidget as l, useWidgetConfig as u, useWidgetError as d, useWidgetLoading as f } from "../../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
15
16
  import "../../../../../../shared/feature/dist/index.js";
16
- import { AccountsQuickViewTile as f } from "../../../../ui/dist/index3.js";
17
+ import { AccountsQuickViewTile as p } from "../../../../ui/dist/index3.js";
17
18
  import "../../../../ui/dist/index.js";
18
- import { ACCOUNTS_QUICK_VIEW_WIDGET_LABELS_EN as p } from "./labels.js";
19
- import { useAccountsBalanceSummary as m } from "../accountsBalanceSummary/useAccountsBalanceSummary.js";
20
- import { AccountsQuickViewWidgetAnalyticsEvent as h, WIDGET_NAME as g } from "../analytics/events.js";
21
- import { accountsQuickViewWidgetTestIds as _ } from "./testIds.js";
22
- import { useCallback as v, useEffect as y, useMemo as b } from "react";
23
- import { jsx as x } from "react/jsx-runtime";
19
+ import { ACCOUNTS_QUICK_VIEW_WIDGET_LABELS_EN as m } from "./labels.js";
20
+ import { useAccountsBalanceSummary as h } from "../accountsBalanceSummary/useAccountsBalanceSummary.js";
21
+ import { AccountsQuickViewWidgetAnalyticsEvent as g, WIDGET_NAME as _ } from "../analytics/events.js";
22
+ import { accountsQuickViewWidgetTestIds as v } from "./testIds.js";
23
+ import { useCallback as y, useEffect as b, useMemo as x } from "react";
24
+ import { jsx as S } from "react/jsx-runtime";
24
25
  // ../../libs/tesouro-embedded-components-react/quick-view-widget/accounts/feature/dist/lib/AccountsQuickViewWidget/AccountsQuickViewWidgetFeature.js
25
- function S({ labels: s, onViewAccountsClick: g, className: S, style: C }) {
26
- let w = {
27
- ...p,
28
- ...s
29
- }, T = o();
30
- y(() => {
31
- T(h.Mounted);
32
- }, [T]);
33
- let { initResponse: E } = l(), D = d(), O = u(), k = c(), { organizationId: A, organizationStatus: j } = i(), M = r(j), N = E?.scopes?.includes(a.BankAccountReadOrg) ?? !1, { summary: P, accountsLoaded: F, isLoading: I, isError: L, isResolving: R, refetch: z } = m({
34
- enabled: N,
35
- organizationId: A
36
- }), B = D && !E || M && !F || I || R, V = !!O && !F || L, H = P?.accountCount ?? 0, U = v(() => {
37
- k(), N && A && z();
26
+ function C({ labels: c, onViewAccountsClick: _, className: C, style: w }) {
27
+ let T = {
28
+ ...m,
29
+ ...c
30
+ }, E = s();
31
+ b(() => {
32
+ E(g.Mounted);
33
+ }, [E]);
34
+ let { initResponse: D } = u(), O = f(), k = d(), A = l(), { organizationId: j, organizationStatus: M } = a(), N = i(M), P = D?.scopes?.includes(o.BankAccountReadOrg) ?? !1, { summary: F, accountsLoaded: I, isLoading: L, isError: R, isResolving: z, refetch: B } = h({
35
+ enabled: P,
36
+ organizationId: j
37
+ }), V = O && !D || N && !I || L || z, H = !!k && !I || R, U = F?.accountCount ?? 0, W = y(() => {
38
+ A(), P && j && B();
38
39
  }, [
39
- k,
40
- z,
41
- N,
42
- A
43
- ]), W = b(() => {
44
- if (!P) return "";
45
- let { currencyCode: r, minorTotal: i } = P, a = e({
46
- value: i,
47
- currencyCode: r
48
- }), o = t(r);
49
- return n(a, {
50
- currencyCode: r,
40
+ A,
41
+ B,
42
+ P,
43
+ j
44
+ ]), G = x(() => {
45
+ if (!F) return {
46
+ shown: "",
47
+ exact: void 0
48
+ };
49
+ let { currencyCode: i, minorTotal: a } = F, o = e({
50
+ value: a,
51
+ currencyCode: i
52
+ }), s = t(i), c = r(o, {
53
+ currencyCode: i,
51
54
  includeSpaceAfterCurrencySymbol: !1,
52
- minimumFractionDigits: o,
53
- maximumFractionDigits: o
54
- });
55
- }, [P]), G = P && P.summedAccountCount < P.accountCount ? w.accountCountInCurrency(P.summedAccountCount, P.accountCount, P.currencyCode) : w.accountCount(H);
56
- return E && !N || !B && !V && H === 0 ? null : /* @__PURE__ */ x(f, {
57
- value: W,
58
- subtext: G,
59
- onClick: g,
60
- isLoading: B,
61
- isError: V,
62
- onRetry: V ? U : void 0,
63
- labels: w,
64
- testIds: _,
65
- className: S,
66
- style: C
55
+ minimumFractionDigits: s,
56
+ maximumFractionDigits: s
57
+ }), l = n(o, i);
58
+ return l ? {
59
+ shown: l,
60
+ exact: c
61
+ } : {
62
+ shown: c,
63
+ exact: void 0
64
+ };
65
+ }, [F]), K = F && F.summedAccountCount < F.accountCount ? T.accountCountInCurrency(F.summedAccountCount, F.accountCount, F.currencyCode) : T.accountCount(U);
66
+ return D && !P || !V && !H && U === 0 ? null : /* @__PURE__ */ S(p, {
67
+ value: G.shown,
68
+ exactValue: G.exact,
69
+ subtext: K,
70
+ onClick: _,
71
+ isLoading: V,
72
+ isError: H,
73
+ onRetry: H ? W : void 0,
74
+ labels: T,
75
+ testIds: v,
76
+ className: C,
77
+ style: w
67
78
  });
68
79
  }
69
- function C({ labels: e, onViewAccountsClick: t, className: n, style: r, ...i }) {
70
- return /* @__PURE__ */ x(s, {
80
+ function w({ labels: e, onViewAccountsClick: t, className: n, style: r, ...i }) {
81
+ return /* @__PURE__ */ S(c, {
71
82
  ...i,
72
- widgetName: g,
73
- children: /* @__PURE__ */ x(S, {
83
+ widgetName: _,
84
+ children: /* @__PURE__ */ S(C, {
74
85
  labels: e,
75
86
  onViewAccountsClick: t,
76
87
  className: n,
@@ -78,4 +89,4 @@ function C({ labels: e, onViewAccountsClick: t, className: n, style: r, ...i })
78
89
  })
79
90
  });
80
91
  }
81
- export { C as AccountsQuickViewWidget, S as AccountsQuickViewWidgetWithContext };
92
+ export { w as AccountsQuickViewWidget, C as AccountsQuickViewWidgetWithContext };
@@ -3,28 +3,29 @@ import { QuickViewTile as t } from "../../../../shared/quick-view/ui/dist/index3
3
3
  import "../../../../shared/quick-view/ui/dist/index.js";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
5
  // ../../libs/tesouro-embedded-components-react/quick-view-widget/accounts/ui/dist/index3.js
6
- function r({ value: r, subtext: i, onClick: a, isLoading: o, isError: s, onRetry: c, labels: l, testIds: u, className: d, style: f }) {
7
- let p = {
6
+ function r({ value: r, exactValue: i, subtext: a, onClick: o, isLoading: s, isError: c, onRetry: l, labels: u, testIds: d, className: f, style: p }) {
7
+ let m = {
8
8
  ...e,
9
- ...l
9
+ ...u
10
10
  };
11
11
  return /* @__PURE__ */ n(t, {
12
- title: p.title,
12
+ title: m.title,
13
13
  value: r,
14
- subtext: i,
15
- linkText: p.viewAccounts,
16
- onClick: a,
17
- isLoading: o,
18
- isError: s,
19
- onRetry: c,
14
+ exactValue: i,
15
+ subtext: a,
16
+ linkText: m.viewAccounts,
17
+ onClick: o,
18
+ isLoading: s,
19
+ isError: c,
20
+ onRetry: l,
20
21
  labels: {
21
- loadingLabel: p.loadingLabel,
22
- loadErrorTitle: p.loadErrorTitle,
23
- loadErrorRetry: p.loadErrorRetry
22
+ loadingLabel: m.loadingLabel,
23
+ loadErrorTitle: m.loadErrorTitle,
24
+ loadErrorRetry: m.loadErrorRetry
24
25
  },
25
- testIds: u,
26
- className: d,
27
- style: f
26
+ testIds: d,
27
+ className: f,
28
+ style: p
28
29
  });
29
30
  }
30
31
  export { r as AccountsQuickViewTile };
@@ -3,33 +3,40 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { amountOutputToMajorUnits as e } from "../../../../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
6
- import { formatMoneyExact as t } from "../../../../../../shared/util/dist/lib/formatMoneyExact.js";
6
+ import { formatCompactAmount as t } from "../../../../../../shared/util/dist/lib/formatCompactAmount.js";
7
+ import { formatMoneyExact as n } from "../../../../../../shared/util/dist/lib/formatMoneyExact.js";
7
8
  import "../../../../../../shared/util/dist/index.js";
8
- import { OrganizationStatus as n, isOrganizationOnItsWay as r } from "../../../../../../shared/data-access/dist/lib/organizationStatus.js";
9
- import { useEmbedApi as i } from "../../../../../../shared/data-access/dist/lib/EmbedApiContext.js";
10
- import { Scope as a } from "../../../../../../shared/data-access/dist/lib/scopes.js";
9
+ import { OrganizationStatus as r, isOrganizationOnItsWay as i } from "../../../../../../shared/data-access/dist/lib/organizationStatus.js";
10
+ import { useEmbedApi as a } from "../../../../../../shared/data-access/dist/lib/EmbedApiContext.js";
11
+ import { Scope as o } from "../../../../../../shared/data-access/dist/lib/scopes.js";
11
12
  import "../../../../../../shared/data-access/dist/index.js";
12
- import { useAnalyticsTrack as o } from "../../../../../../shared/feature/dist/lib/analytics/hooks.js";
13
- import { WidgetProvider as s } from "../../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
14
- import { useRefetchWidget as c, useWidgetConfig as l, useWidgetError as u, useWidgetLoading as d } from "../../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
+ import { useAnalyticsTrack as s } from "../../../../../../shared/feature/dist/lib/analytics/hooks.js";
14
+ import { WidgetProvider as c } from "../../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
15
+ import { useRefetchWidget as l, useWidgetConfig as u, useWidgetError as d, useWidgetLoading as f } from "../../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
15
16
  import "../../../../../../shared/feature/dist/index.js";
16
- import { BillsQuickViewTile as f } from "../../../../ui/dist/index3.js";
17
+ import { BillsQuickViewTile as p } from "../../../../ui/dist/index3.js";
17
18
  import "../../../../ui/dist/index.js";
18
- import { BILLS_QUICK_VIEW_WIDGET_LABELS_EN as p } from "./labels.js";
19
- import { BillsQuickViewWidgetAnalyticsEvent as m, WIDGET_NAME as h } from "../analytics/events.js";
20
- import { billsQuickViewWidgetTestIds as g } from "./testIds.js";
21
- import { useOpenBillsSummary as _ } from "./useOpenBillsSummary.js";
22
- import { useCallback as v, useEffect as y } from "react";
23
- import { jsx as b } from "react/jsx-runtime";
19
+ import { BILLS_QUICK_VIEW_WIDGET_LABELS_EN as m } from "./labels.js";
20
+ import { BillsQuickViewWidgetAnalyticsEvent as h, WIDGET_NAME as g } from "../analytics/events.js";
21
+ import { billsQuickViewWidgetTestIds as _ } from "./testIds.js";
22
+ import { useOpenBillsSummary as v } from "./useOpenBillsSummary.js";
23
+ import { useCallback as y, useEffect as b } from "react";
24
+ import { jsx as x } from "react/jsx-runtime";
24
25
  // ../../libs/tesouro-embedded-components-react/quick-view-widget/bills/feature/dist/lib/BillsQuickViewWidget/BillsQuickViewWidgetFeature.js
25
- var x = (n) => t(e({
26
- value: n,
27
- currencyCode: "USD"
28
- }), {
29
- currencyCode: "USD",
30
- includeSpaceAfterCurrencySymbol: !1
31
- });
32
- function S(e, t, n) {
26
+ var S = (r) => {
27
+ let i = e({
28
+ value: r,
29
+ currencyCode: "USD"
30
+ }), a = n(i, {
31
+ currencyCode: "USD",
32
+ includeSpaceAfterCurrencySymbol: !1
33
+ });
34
+ return {
35
+ shown: t(i, "USD") ?? a,
36
+ exact: a
37
+ };
38
+ };
39
+ function C(e, t, n) {
33
40
  let r = (e, t = "viewBills") => ({
34
41
  subtext: e,
35
42
  description: e,
@@ -46,15 +53,15 @@ function S(e, t, n) {
46
53
  callToAction: "viewBills"
47
54
  };
48
55
  }
49
- function C({ labels: e, onViewBillsClick: t, onAddBillClick: s, className: h, style: C }) {
56
+ function w({ labels: e, onViewBillsClick: t, onAddBillClick: n, className: c, style: g }) {
50
57
  let w = {
51
- ...p,
58
+ ...m,
52
59
  ...e
53
- }, T = o();
54
- y(() => {
55
- T(m.Mounted);
60
+ }, T = s();
61
+ b(() => {
62
+ T(h.Mounted);
56
63
  }, [T]);
57
- let { initResponse: E } = l(), D = d(), O = u(), k = c(), { organizationId: A, organizationStatus: j } = i(), M = r(j), N = E?.scopes?.includes(a.PayableReadOrg) ?? !1, P = E?.scopes?.includes(a.PayableWriteOrg) ?? !1, { data: F, isLoading: I, isError: L, refetch: R } = _({ enabled: N }), z = D && !E || M && F === void 0 || I, B = (!!O || L) && F === void 0, V = v(() => {
64
+ let { initResponse: E } = u(), D = f(), O = d(), k = l(), { organizationId: A, organizationStatus: j } = a(), M = i(j), N = E?.scopes?.includes(o.PayableReadOrg) ?? !1, P = E?.scopes?.includes(o.PayableWriteOrg) ?? !1, { data: F, isLoading: I, isError: L, refetch: R } = v({ enabled: N }), z = D && !E || M && F === void 0 || I, B = (!!O || L) && F === void 0, V = y(() => {
58
65
  k(), N && A && R();
59
66
  }, [
60
67
  k,
@@ -62,17 +69,18 @@ function C({ labels: e, onViewBillsClick: t, onAddBillClick: s, className: h, st
62
69
  N,
63
70
  A
64
71
  ]);
65
- if (E && (!N || j === n.None)) return null;
66
- let H = F ? x(F.openAmountDue) : "", U = F ? S(F, w, P) : void 0, W = U?.callToAction === "addBill" ? s : t;
67
- return /* @__PURE__ */ b(f, {
68
- value: H,
72
+ if (E && (!N || j === r.None)) return null;
73
+ let H = F ? S(F.openAmountDue) : void 0, U = F ? C(F, w, P) : void 0, W = U?.callToAction === "addBill" ? n : t;
74
+ return /* @__PURE__ */ x(p, {
75
+ value: H?.shown ?? "",
76
+ exactValue: H && H.shown !== H.exact ? H.exact : void 0,
69
77
  subtext: U?.subtext,
70
78
  subtextTone: U?.subtextTone,
71
79
  linkText: w[U?.callToAction ?? "viewBills"],
72
80
  onClick: W,
73
81
  ariaLabel: U ? w.accessibleName({
74
82
  title: w.accessibleTitle,
75
- value: H,
83
+ value: H?.exact ?? "",
76
84
  detail: U.description,
77
85
  action: w[U.callToAction]
78
86
  }) : void 0,
@@ -80,16 +88,16 @@ function C({ labels: e, onViewBillsClick: t, onAddBillClick: s, className: h, st
80
88
  isError: B,
81
89
  onRetry: B ? V : void 0,
82
90
  labels: w,
83
- testIds: g,
84
- className: h,
85
- style: C
91
+ testIds: _,
92
+ className: c,
93
+ style: g
86
94
  });
87
95
  }
88
- function w({ labels: e, onViewBillsClick: t, onAddBillClick: n, className: r, style: i, ...a }) {
89
- return /* @__PURE__ */ b(s, {
96
+ function T({ labels: e, onViewBillsClick: t, onAddBillClick: n, className: r, style: i, ...a }) {
97
+ return /* @__PURE__ */ x(c, {
90
98
  ...a,
91
- widgetName: h,
92
- children: /* @__PURE__ */ b(C, {
99
+ widgetName: g,
100
+ children: /* @__PURE__ */ x(w, {
93
101
  labels: e,
94
102
  onViewBillsClick: t,
95
103
  onAddBillClick: n,
@@ -98,4 +106,4 @@ function w({ labels: e, onViewBillsClick: t, onAddBillClick: n, className: r, st
98
106
  })
99
107
  });
100
108
  }
101
- export { w as BillsQuickViewWidget, C as BillsQuickViewWidgetWithContext };
109
+ export { T as BillsQuickViewWidget, w as BillsQuickViewWidgetWithContext };
@@ -3,30 +3,31 @@ import "../../../../shared/quick-view/ui/dist/index.js";
3
3
  import { BILLS_QUICK_VIEW_TILE_LABELS_EN as t } from "./index2.js";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
5
  // ../../libs/tesouro-embedded-components-react/quick-view-widget/bills/ui/dist/index3.js
6
- function r({ value: r, subtext: i, subtextTone: a, linkText: o, onClick: s, ariaLabel: c, isLoading: l, isError: u, onRetry: d, labels: f, testIds: p, className: m, style: h }) {
7
- let g = {
6
+ function r({ value: r, exactValue: i, subtext: a, subtextTone: o, linkText: s, onClick: c, ariaLabel: l, isLoading: u, isError: d, onRetry: f, labels: p, testIds: m, className: h, style: g }) {
7
+ let _ = {
8
8
  ...t,
9
- ...f
9
+ ...p
10
10
  };
11
11
  return /* @__PURE__ */ n(e, {
12
- title: g.title,
12
+ title: _.title,
13
13
  value: r,
14
- subtext: i,
15
- subtextTone: a,
16
- linkText: o,
17
- onClick: s,
18
- ariaLabel: c,
19
- isLoading: l,
20
- isError: u,
21
- onRetry: d,
14
+ exactValue: i,
15
+ subtext: a,
16
+ subtextTone: o,
17
+ linkText: s,
18
+ onClick: c,
19
+ ariaLabel: l,
20
+ isLoading: u,
21
+ isError: d,
22
+ onRetry: f,
22
23
  labels: {
23
- loadingLabel: g.loadingLabel,
24
- loadErrorTitle: g.loadErrorTitle,
25
- loadErrorRetry: g.loadErrorRetry
24
+ loadingLabel: _.loadingLabel,
25
+ loadErrorTitle: _.loadErrorTitle,
26
+ loadErrorRetry: _.loadErrorRetry
26
27
  },
27
- testIds: p,
28
- className: m,
29
- style: h
28
+ testIds: m,
29
+ className: h,
30
+ style: g
30
31
  });
31
32
  }
32
33
  export { r as BillsQuickViewTile };
@@ -4,37 +4,44 @@
4
4
  "use client";
5
5
  import { amountOutputToMajorUnits as e } from "../../../../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
6
6
  import { formatAccountingAmount as t } from "../../../../../../shared/util/dist/lib/formatAccountingAmount.js";
7
+ import { formatCompactAmount as n } from "../../../../../../shared/util/dist/lib/formatCompactAmount.js";
7
8
  import "../../../../../../shared/util/dist/index.js";
8
- import { OrganizationStatus as n, isOrganizationOnItsWay as r } from "../../../../../../shared/data-access/dist/lib/organizationStatus.js";
9
- import { useEmbedApi as i } from "../../../../../../shared/data-access/dist/lib/EmbedApiContext.js";
10
- import { Scope as a } from "../../../../../../shared/data-access/dist/lib/scopes.js";
9
+ import { OrganizationStatus as r, isOrganizationOnItsWay as i } from "../../../../../../shared/data-access/dist/lib/organizationStatus.js";
10
+ import { useEmbedApi as a } from "../../../../../../shared/data-access/dist/lib/EmbedApiContext.js";
11
+ import { Scope as o } from "../../../../../../shared/data-access/dist/lib/scopes.js";
11
12
  import "../../../../../../shared/data-access/dist/index.js";
12
- import { useAnalyticsTrack as o } from "../../../../../../shared/feature/dist/lib/analytics/hooks.js";
13
- import { WidgetProvider as s } from "../../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
14
- import { useRefetchWidget as c, useWidgetConfig as l, useWidgetError as u, useWidgetLoading as d } from "../../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
+ import { useAnalyticsTrack as s } from "../../../../../../shared/feature/dist/lib/analytics/hooks.js";
14
+ import { WidgetProvider as c } from "../../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
15
+ import { useRefetchWidget as l, useWidgetConfig as u, useWidgetError as d, useWidgetLoading as f } from "../../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
15
16
  import "../../../../../../shared/feature/dist/index.js";
16
- import { CardsQuickViewTile as f } from "../../../../ui/dist/index3.js";
17
+ import { CardsQuickViewTile as p } from "../../../../ui/dist/index3.js";
17
18
  import "../../../../ui/dist/index.js";
18
- import { CARDS_QUICK_VIEW_WIDGET_LABELS_EN as p } from "./labels.js";
19
- import { CardsQuickViewWidgetAnalyticsEvent as m, WIDGET_NAME as h } from "../analytics/events.js";
20
- import { cardsQuickViewWidgetTestIds as g } from "./testIds.js";
21
- import { useCardSpendSummary as _ } from "./useCardSpendSummary.js";
22
- import { useCallback as v, useEffect as y } from "react";
23
- import { jsx as b } from "react/jsx-runtime";
19
+ import { CARDS_QUICK_VIEW_WIDGET_LABELS_EN as m } from "./labels.js";
20
+ import { CardsQuickViewWidgetAnalyticsEvent as h, WIDGET_NAME as g } from "../analytics/events.js";
21
+ import { cardsQuickViewWidgetTestIds as _ } from "./testIds.js";
22
+ import { useCardSpendSummary as v } from "./useCardSpendSummary.js";
23
+ import { useCallback as y, useEffect as b } from "react";
24
+ import { jsx as x } from "react/jsx-runtime";
24
25
  // ../../libs/tesouro-embedded-components-react/quick-view-widget/cards/feature/dist/lib/CardsQuickViewWidget/CardsQuickViewWidgetFeature.js
25
- var x = (n) => t(e({
26
- value: n,
27
- currencyCode: "USD"
28
- }), "USD"), S = (e) => Number(e.slice(5, 7)) - 1;
29
- function C({ labels: e, onViewCardsClick: t, className: s, style: h }) {
30
- let C = {
31
- ...p,
26
+ var S = (r) => {
27
+ let i = e({
28
+ value: r,
29
+ currencyCode: "USD"
30
+ });
31
+ return {
32
+ ...t(i, "USD"),
33
+ compact: n(i, "USD")
34
+ };
35
+ }, C = (e) => Number(e.slice(5, 7)) - 1;
36
+ function w({ labels: e, onViewCardsClick: t, className: n, style: c }) {
37
+ let g = {
38
+ ...m,
32
39
  ...e
33
- }, w = o();
34
- y(() => {
35
- w(m.Mounted);
40
+ }, w = s();
41
+ b(() => {
42
+ w(h.Mounted);
36
43
  }, [w]);
37
- let { initResponse: T } = l(), E = d(), D = u(), O = c(), { organizationId: k, organizationStatus: A } = i(), j = r(A), M = T?.scopes?.includes(a.DebitCardReadOrg) ?? !1, { data: N, today: P, isLoading: F, isError: I, refetch: L } = _({ enabled: M }), R = E && !T || j && N === void 0 || F, z = (!!D || I) && N === void 0, B = v(() => {
44
+ let { initResponse: T } = u(), E = f(), D = d(), O = l(), { organizationId: k, organizationStatus: A } = a(), j = i(A), M = T?.scopes?.includes(o.DebitCardReadOrg) ?? !1, { data: N, today: P, isLoading: F, isError: I, refetch: L } = v({ enabled: M }), R = E && !T || j && N === void 0 || F, z = (!!D || I) && N === void 0, B = y(() => {
38
45
  O(), M && k && L();
39
46
  }, [
40
47
  O,
@@ -42,34 +49,35 @@ function C({ labels: e, onViewCardsClick: t, className: s, style: h }) {
42
49
  M,
43
50
  k
44
51
  ]);
45
- if (T && (!M || A === n.None)) return null;
46
- let V = P === void 0 ? void 0 : S(P), H = N ? x(N.spendAmount) : void 0, U = H?.text ?? "", W = N ? N.hasCards ? C.cardCount(N.cardCount) : C.noCardsYet : void 0;
47
- return /* @__PURE__ */ b(f, {
48
- title: V === void 0 ? void 0 : C.titleForMonth(V),
49
- value: U,
50
- subtext: W,
51
- linkText: C.viewCards,
52
+ if (T && (!M || A === r.None)) return null;
53
+ let V = P === void 0 ? void 0 : C(P), H = N ? S(N.spendAmount) : void 0, U = H?.text ?? "", W = H?.compact ?? U, G = N ? N.hasCards ? g.cardCount(N.cardCount) : g.noCardsYet : void 0;
54
+ return /* @__PURE__ */ x(p, {
55
+ title: V === void 0 ? void 0 : g.titleForMonth(V),
56
+ value: W,
57
+ exactValue: H?.compact ? U : void 0,
58
+ subtext: G,
59
+ linkText: g.viewCards,
52
60
  onClick: t,
53
- ariaLabel: N && W && V !== void 0 ? C.accessibleName({
54
- title: C.accessibleTitleForMonth(V),
55
- value: H?.isNegative ? C.negativeAmount(H.magnitude) : U,
56
- detail: W,
57
- action: C.viewCards
61
+ ariaLabel: N && G && V !== void 0 ? g.accessibleName({
62
+ title: g.accessibleTitleForMonth(V),
63
+ value: H?.isNegative ? g.negativeAmount(H.magnitude) : U,
64
+ detail: G,
65
+ action: g.viewCards
58
66
  }) : void 0,
59
67
  isLoading: R,
60
68
  isError: z,
61
69
  onRetry: z ? B : void 0,
62
- labels: C,
63
- testIds: g,
64
- className: s,
65
- style: h
70
+ labels: g,
71
+ testIds: _,
72
+ className: n,
73
+ style: c
66
74
  });
67
75
  }
68
- function w({ labels: e, onViewCardsClick: t, className: n, style: r, ...i }) {
69
- return /* @__PURE__ */ b(s, {
76
+ function T({ labels: e, onViewCardsClick: t, className: n, style: r, ...i }) {
77
+ return /* @__PURE__ */ x(c, {
70
78
  ...i,
71
- widgetName: h,
72
- children: /* @__PURE__ */ b(C, {
79
+ widgetName: g,
80
+ children: /* @__PURE__ */ x(w, {
73
81
  labels: e,
74
82
  onViewCardsClick: t,
75
83
  className: n,
@@ -77,4 +85,4 @@ function w({ labels: e, onViewCardsClick: t, className: n, style: r, ...i }) {
77
85
  })
78
86
  });
79
87
  }
80
- export { w as CardsQuickViewWidget, C as CardsQuickViewWidgetWithContext };
88
+ export { T as CardsQuickViewWidget, w as CardsQuickViewWidgetWithContext };
@@ -3,29 +3,30 @@ import "../../../../shared/quick-view/ui/dist/index.js";
3
3
  import { CARDS_QUICK_VIEW_TILE_LABELS_EN as t } from "./index2.js";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
5
  // ../../libs/tesouro-embedded-components-react/quick-view-widget/cards/ui/dist/index3.js
6
- function r({ title: r, value: i, subtext: a, linkText: o, onClick: s, ariaLabel: c, isLoading: l, isError: u, onRetry: d, labels: f, testIds: p, className: m, style: h }) {
7
- let g = {
6
+ function r({ title: r, value: i, exactValue: a, subtext: o, linkText: s, onClick: c, ariaLabel: l, isLoading: u, isError: d, onRetry: f, labels: p, testIds: m, className: h, style: g }) {
7
+ let _ = {
8
8
  ...t,
9
- ...f
9
+ ...p
10
10
  };
11
11
  return /* @__PURE__ */ n(e, {
12
- title: r ?? g.title,
12
+ title: r ?? _.title,
13
13
  value: i,
14
- subtext: a,
15
- linkText: o,
16
- onClick: s,
17
- ariaLabel: c,
18
- isLoading: l,
19
- isError: u,
20
- onRetry: d,
14
+ exactValue: a,
15
+ subtext: o,
16
+ linkText: s,
17
+ onClick: c,
18
+ ariaLabel: l,
19
+ isLoading: u,
20
+ isError: d,
21
+ onRetry: f,
21
22
  labels: {
22
- loadingLabel: g.loadingLabel,
23
- loadErrorTitle: g.loadErrorTitle,
24
- loadErrorRetry: g.loadErrorRetry
23
+ loadingLabel: _.loadingLabel,
24
+ loadErrorTitle: _.loadErrorTitle,
25
+ loadErrorRetry: _.loadErrorRetry
25
26
  },
26
- testIds: p,
27
- className: m,
28
- style: h
27
+ testIds: m,
28
+ className: h,
29
+ style: g
29
30
  });
30
31
  }
31
32
  export { r as CardsQuickViewTile };
@@ -3,34 +3,41 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { amountOutputToMajorUnits as e } from "../../../../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
6
- import { formatMoneyExact as t } from "../../../../../../shared/util/dist/lib/formatMoneyExact.js";
6
+ import { formatCompactAmount as t } from "../../../../../../shared/util/dist/lib/formatCompactAmount.js";
7
+ import { formatMoneyExact as n } from "../../../../../../shared/util/dist/lib/formatMoneyExact.js";
7
8
  import "../../../../../../shared/util/dist/index.js";
8
- import { OrganizationStatus as n, isOrganizationOnItsWay as r } from "../../../../../../shared/data-access/dist/lib/organizationStatus.js";
9
- import { useEmbedApi as i } from "../../../../../../shared/data-access/dist/lib/EmbedApiContext.js";
10
- import { Scope as a } from "../../../../../../shared/data-access/dist/lib/scopes.js";
9
+ import { OrganizationStatus as r, isOrganizationOnItsWay as i } from "../../../../../../shared/data-access/dist/lib/organizationStatus.js";
10
+ import { useEmbedApi as a } from "../../../../../../shared/data-access/dist/lib/EmbedApiContext.js";
11
+ import { Scope as o } from "../../../../../../shared/data-access/dist/lib/scopes.js";
11
12
  import "../../../../../../shared/data-access/dist/index.js";
12
- import { useAnalyticsTrack as o } from "../../../../../../shared/feature/dist/lib/analytics/hooks.js";
13
- import { WidgetProvider as s } from "../../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
14
- import { useRefetchWidget as c, useWidgetConfig as l, useWidgetError as u, useWidgetLoading as d } from "../../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
+ import { useAnalyticsTrack as s } from "../../../../../../shared/feature/dist/lib/analytics/hooks.js";
14
+ import { WidgetProvider as c } from "../../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
15
+ import { useRefetchWidget as l, useWidgetConfig as u, useWidgetError as d, useWidgetLoading as f } from "../../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
15
16
  import "../../../../../../shared/feature/dist/index.js";
16
- import { InvoicesQuickViewTile as f } from "../../../../ui/dist/index3.js";
17
+ import { InvoicesQuickViewTile as p } from "../../../../ui/dist/index3.js";
17
18
  import "../../../../ui/dist/index.js";
18
- import { INVOICES_QUICK_VIEW_WIDGET_LABELS_EN as p } from "./labels.js";
19
- import { InvoicesQuickViewWidgetAnalyticsEvent as m, WIDGET_NAME as h } from "../analytics/events.js";
20
- import { invoicesQuickViewWidgetTestIds as g } from "./testIds.js";
19
+ import { INVOICES_QUICK_VIEW_WIDGET_LABELS_EN as m } from "./labels.js";
20
+ import { InvoicesQuickViewWidgetAnalyticsEvent as h, WIDGET_NAME as g } from "../analytics/events.js";
21
+ import { invoicesQuickViewWidgetTestIds as _ } from "./testIds.js";
21
22
  import "./summarizeOpenInvoices.js";
22
- import { useOpenInvoicesSummary as _ } from "./useOpenInvoicesSummary.js";
23
- import { useCallback as v, useEffect as y } from "react";
24
- import { jsx as b } from "react/jsx-runtime";
23
+ import { useOpenInvoicesSummary as v } from "./useOpenInvoicesSummary.js";
24
+ import { useCallback as y, useEffect as b } from "react";
25
+ import { jsx as x } from "react/jsx-runtime";
25
26
  // ../../libs/tesouro-embedded-components-react/quick-view-widget/invoices/feature/dist/lib/InvoicesQuickViewWidget/InvoicesQuickViewWidgetFeature.js
26
- var x = (n) => t(e({
27
- value: n,
28
- currencyCode: "USD"
29
- }), {
30
- currencyCode: "USD",
31
- includeSpaceAfterCurrencySymbol: !1
32
- });
33
- function S(e, t, n) {
27
+ var S = (r) => {
28
+ let i = e({
29
+ value: r,
30
+ currencyCode: "USD"
31
+ }), a = n(i, {
32
+ currencyCode: "USD",
33
+ includeSpaceAfterCurrencySymbol: !1
34
+ });
35
+ return {
36
+ shown: t(i, "USD") ?? a,
37
+ exact: a
38
+ };
39
+ };
40
+ function C(e, t, n) {
34
41
  let r = (e, t = "viewInvoices") => ({
35
42
  subtext: e,
36
43
  description: e,
@@ -41,28 +48,29 @@ function S(e, t, n) {
41
48
  if (!e.hasOpenInvoices) return r(t.noOpenInvoices);
42
49
  if (e.openCount === 0) return r(t.noOpenInvoicesInCurrency("USD"));
43
50
  if (e.overdueCount > 0) {
44
- let n = x(e.overdueAmountDue);
51
+ let n = S(e.overdueAmountDue), r = t.overdueInvoiceCount(e.overdueCount);
45
52
  return {
46
53
  subtext: [{
47
- text: t.overdueAmount(n),
54
+ text: t.overdueAmount(n.shown),
48
55
  tone: "destructive"
49
- }, { text: t.overdueInvoiceCount(e.overdueCount) }],
50
- description: t.overdueDescription(n, e.overdueCount),
56
+ }, { text: r }],
57
+ description: t.overdueDescription(n.exact, e.overdueCount),
58
+ exactSubtext: n.shown === n.exact ? void 0 : `${t.overdueAmount(n.exact)}${r}`,
51
59
  subtextTone: "muted",
52
60
  callToAction: "viewInvoices"
53
61
  };
54
62
  }
55
63
  return r(t.openInvoiceCount(e.openCount));
56
64
  }
57
- function C({ labels: e, onViewInvoicesClick: t, onCreateInvoiceClick: s, className: h, style: C }) {
65
+ function w({ labels: e, onViewInvoicesClick: t, onCreateInvoiceClick: n, className: c, style: g }) {
58
66
  let w = {
59
- ...p,
67
+ ...m,
60
68
  ...e
61
- }, T = o();
62
- y(() => {
63
- T(m.Mounted);
69
+ }, T = s();
70
+ b(() => {
71
+ T(h.Mounted);
64
72
  }, [T]);
65
- let { initResponse: E } = l(), D = d(), O = u(), k = c(), { organizationId: A, organizationStatus: j } = i(), M = r(j), N = E?.scopes?.includes(a.InvoiceReadOrg) ?? !1, P = E?.scopes?.includes(a.InvoiceWriteOrg) ?? !1, { data: F, isLoading: I, isError: L, refetch: R } = _({ enabled: N }), z = D && !E || M && F === void 0 || I, B = (!!O || L) && F === void 0, V = v(() => {
73
+ let { initResponse: E } = u(), D = f(), O = d(), k = l(), { organizationId: A, organizationStatus: j } = a(), M = i(j), N = E?.scopes?.includes(o.InvoiceReadOrg) ?? !1, P = E?.scopes?.includes(o.InvoiceWriteOrg) ?? !1, { data: F, isLoading: I, isError: L, refetch: R } = v({ enabled: N }), z = D && !E || M && F === void 0 || I, B = (!!O || L) && F === void 0, V = y(() => {
66
74
  k(), N && A && R();
67
75
  }, [
68
76
  k,
@@ -70,17 +78,19 @@ function C({ labels: e, onViewInvoicesClick: t, onCreateInvoiceClick: s, classNa
70
78
  N,
71
79
  A
72
80
  ]);
73
- if (E && (!N || j === n.None)) return null;
74
- let H = F ? x(F.openAmountDue) : "", U = F ? S(F, w, P) : void 0, W = U?.callToAction === "sendFirstInvoice" ? s : t;
75
- return /* @__PURE__ */ b(f, {
76
- value: H,
81
+ if (E && (!N || j === r.None)) return null;
82
+ let H = F ? S(F.openAmountDue) : void 0, U = F ? C(F, w, P) : void 0, W = U?.callToAction === "sendFirstInvoice" ? n : t;
83
+ return /* @__PURE__ */ x(p, {
84
+ value: H?.shown ?? "",
85
+ exactValue: H && H.shown !== H.exact ? H.exact : void 0,
77
86
  subtext: U?.subtext,
87
+ exactSubtext: U?.exactSubtext,
78
88
  subtextTone: U?.subtextTone,
79
89
  linkText: w[U?.callToAction ?? "viewInvoices"],
80
90
  onClick: W,
81
91
  ariaLabel: U ? w.accessibleName({
82
92
  title: w.title,
83
- value: H,
93
+ value: H?.exact ?? "",
84
94
  detail: U.description,
85
95
  action: w[U.callToAction]
86
96
  }) : void 0,
@@ -88,16 +98,16 @@ function C({ labels: e, onViewInvoicesClick: t, onCreateInvoiceClick: s, classNa
88
98
  isError: B,
89
99
  onRetry: B ? V : void 0,
90
100
  labels: w,
91
- testIds: g,
92
- className: h,
93
- style: C
101
+ testIds: _,
102
+ className: c,
103
+ style: g
94
104
  });
95
105
  }
96
- function w({ labels: e, onViewInvoicesClick: t, onCreateInvoiceClick: n, className: r, style: i, ...a }) {
97
- return /* @__PURE__ */ b(s, {
106
+ function T({ labels: e, onViewInvoicesClick: t, onCreateInvoiceClick: n, className: r, style: i, ...a }) {
107
+ return /* @__PURE__ */ x(c, {
98
108
  ...a,
99
- widgetName: h,
100
- children: /* @__PURE__ */ b(C, {
109
+ widgetName: g,
110
+ children: /* @__PURE__ */ x(w, {
101
111
  labels: e,
102
112
  onViewInvoicesClick: t,
103
113
  onCreateInvoiceClick: n,
@@ -106,4 +116,4 @@ function w({ labels: e, onViewInvoicesClick: t, onCreateInvoiceClick: n, classNa
106
116
  })
107
117
  });
108
118
  }
109
- export { w as InvoicesQuickViewWidget, C as InvoicesQuickViewWidgetWithContext };
119
+ export { T as InvoicesQuickViewWidget, w as InvoicesQuickViewWidgetWithContext };
@@ -3,30 +3,32 @@ import "../../../../shared/quick-view/ui/dist/index.js";
3
3
  import { INVOICES_QUICK_VIEW_TILE_LABELS_EN as t } from "./index2.js";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
5
  // ../../libs/tesouro-embedded-components-react/quick-view-widget/invoices/ui/dist/index3.js
6
- function r({ value: r, subtext: i, subtextTone: a, linkText: o, onClick: s, ariaLabel: c, isLoading: l, isError: u, onRetry: d, labels: f, testIds: p, className: m, style: h }) {
7
- let g = {
6
+ function r({ value: r, exactValue: i, exactSubtext: a, subtext: o, subtextTone: s, linkText: c, onClick: l, ariaLabel: u, isLoading: d, isError: f, onRetry: p, labels: m, testIds: h, className: g, style: _ }) {
7
+ let v = {
8
8
  ...t,
9
- ...f
9
+ ...m
10
10
  };
11
11
  return /* @__PURE__ */ n(e, {
12
- title: g.title,
12
+ title: v.title,
13
13
  value: r,
14
- subtext: i,
15
- subtextTone: a,
16
- linkText: o,
17
- onClick: s,
18
- ariaLabel: c,
19
- isLoading: l,
20
- isError: u,
21
- onRetry: d,
14
+ exactValue: i,
15
+ exactSubtext: a,
16
+ subtext: o,
17
+ subtextTone: s,
18
+ linkText: c,
19
+ onClick: l,
20
+ ariaLabel: u,
21
+ isLoading: d,
22
+ isError: f,
23
+ onRetry: p,
22
24
  labels: {
23
- loadingLabel: g.loadingLabel,
24
- loadErrorTitle: g.loadErrorTitle,
25
- loadErrorRetry: g.loadErrorRetry
25
+ loadingLabel: v.loadingLabel,
26
+ loadErrorTitle: v.loadErrorTitle,
27
+ loadErrorRetry: v.loadErrorRetry
26
28
  },
27
- testIds: p,
28
- className: m,
29
- style: h
29
+ testIds: h,
30
+ className: g,
31
+ style: _
30
32
  });
31
33
  }
32
34
  export { r as InvoicesQuickViewTile };
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.201", n = "61bba2a109dee6d96cfe9ef3abcbd3f2331408ec", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.204", n = "d1ebdade149639d6d96602c11fae0e8f45d6f45f", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -1,51 +1,60 @@
1
- import { DisplayAmount as e, Skeleton as t, Typography as n, cn as r } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { ErrorState as i } from "../../../ui/dist/lib/ErrorState/ErrorState.js";
1
+ import { DisplayAmount as e, Skeleton as t, Tooltip as n, TooltipContent as r, TooltipProvider as i, TooltipTrigger as a, Typography as o, cn as s } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { ErrorState as c } from "../../../ui/dist/lib/ErrorState/ErrorState.js";
3
3
  import "../../../ui/dist/index.js";
4
- import { QUICK_VIEW_TILE_LABELS_EN as a } from "./index2.js";
5
- import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
6
- import { ChevronRight as l } from "lucide-react";
4
+ import { QUICK_VIEW_TILE_LABELS_EN as l } from "./index2.js";
5
+ import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
6
+ import { ChevronRight as p } from "lucide-react";
7
7
  // ../../libs/tesouro-embedded-components-react/shared/quick-view/ui/dist/index3.js
8
- var u = "ttw:flex ttw:w-[320px] ttw:min-w-0 ttw:max-w-full ttw:flex-col ttw:gap-1 ttw:rounded-xl ttw:border ttw:border-border ttw:bg-card ttw:p-4 ttw:text-left ttw:text-card-foreground";
9
- function d({ title: d, value: f, subtext: p, subtextTone: m = "muted", linkText: h, onClick: g, ariaLabel: _, isLoading: v = !1, isError: y = !1, onRetry: b, labels: x, testIds: S, className: C, style: w }) {
10
- let T = {
11
- ...a,
12
- ...x
13
- }, E = typeof p == "string" ? p ? [{
14
- text: p,
15
- tone: m
16
- }] : [] : p ?? [], D = !!g && !v && !y, O = /* @__PURE__ */ c("span", {
8
+ var m = "ttw:flex ttw:w-[320px] ttw:min-w-0 ttw:max-w-full ttw:flex-col ttw:gap-1 ttw:rounded-xl ttw:border ttw:border-border ttw:bg-card ttw:p-4 ttw:text-left ttw:text-card-foreground", h = "ttw:focus-visible:outline-none ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring ttw:focus-visible:ring-offset-2";
9
+ function g({ "aria-describedby": e, ...t }) {
10
+ return /* @__PURE__ */ d("button", {
11
+ type: "button",
12
+ ...t
13
+ });
14
+ }
15
+ function _({ "aria-describedby": e, ...t }) {
16
+ return /* @__PURE__ */ d("div", { ...t });
17
+ }
18
+ function v({ title: v, value: y, subtext: b, subtextTone: x = "muted", exactValue: S, exactSubtext: C, linkText: w, onClick: T, ariaLabel: E, isLoading: D = !1, isError: O = !1, onRetry: k, labels: A, testIds: j, className: M, style: N }) {
19
+ let P = {
20
+ ...l,
21
+ ...A
22
+ }, F = typeof b == "string" ? b ? [{
23
+ text: b,
24
+ tone: x
25
+ }] : [] : b ?? [], I = !!T && !D && !O, L = /* @__PURE__ */ f("span", {
17
26
  className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2",
18
- children: [/* @__PURE__ */ s(n, {
27
+ children: [/* @__PURE__ */ d(o, {
19
28
  component: "span",
20
29
  variant: "body2",
21
30
  color: "muted",
22
31
  className: "ttw:min-w-0 ttw:break-words ttw:font-semibold",
23
- children: d
24
- }), D ? /* @__PURE__ */ s(l, {
32
+ children: v
33
+ }), I ? /* @__PURE__ */ d(p, {
25
34
  className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground",
26
35
  "aria-hidden": !0
27
36
  }) : null]
28
37
  });
29
- if (v) return /* @__PURE__ */ c("div", {
30
- className: r(u, C),
31
- style: w,
32
- "data-testid": S?.tile,
33
- children: [O, /* @__PURE__ */ c("div", {
38
+ if (D) return /* @__PURE__ */ f("div", {
39
+ className: s(m, M),
40
+ style: N,
41
+ "data-testid": j?.tile,
42
+ children: [L, /* @__PURE__ */ f("div", {
34
43
  role: "status",
35
44
  "aria-busy": !0,
36
45
  className: "ttw:flex ttw:flex-col ttw:gap-2",
37
46
  children: [
38
- /* @__PURE__ */ s("span", {
47
+ /* @__PURE__ */ d("span", {
39
48
  className: "ttw:sr-only",
40
- children: T.loadingLabel
49
+ children: P.loadingLabel
41
50
  }),
42
- /* @__PURE__ */ s(t, {
43
- "data-testid": S?.skeleton,
51
+ /* @__PURE__ */ d(t, {
52
+ "data-testid": j?.skeleton,
44
53
  height: 36,
45
54
  width: "60%",
46
55
  className: "ttw:rounded-md"
47
56
  }),
48
- /* @__PURE__ */ s(t, {
57
+ /* @__PURE__ */ d(t, {
49
58
  height: 16,
50
59
  width: "30%",
51
60
  className: "ttw:rounded-md"
@@ -53,53 +62,76 @@ function d({ title: d, value: f, subtext: p, subtextTone: m = "muted", linkText:
53
62
  ]
54
63
  })]
55
64
  });
56
- if (y) return /* @__PURE__ */ c("div", {
57
- className: r(u, C),
58
- style: w,
59
- "data-testid": S?.tile,
60
- children: [O, /* @__PURE__ */ s(i, {
61
- title: T.loadErrorTitle,
62
- retryLabel: T.loadErrorRetry,
63
- onRetry: b,
65
+ if (O) return /* @__PURE__ */ f("div", {
66
+ className: s(m, M),
67
+ style: N,
68
+ "data-testid": j?.tile,
69
+ children: [L, /* @__PURE__ */ d(c, {
70
+ title: P.loadErrorTitle,
71
+ retryLabel: P.loadErrorRetry,
72
+ onRetry: k,
64
73
  className: "ttw:px-0 ttw:py-4",
65
- testId: S?.error
74
+ testId: j?.error
66
75
  })]
67
76
  });
68
- let k = /* @__PURE__ */ c(o, { children: [
69
- O,
70
- /* @__PURE__ */ s(e, {
77
+ let R = /* @__PURE__ */ f(u, { children: [
78
+ L,
79
+ S ? /* @__PURE__ */ d("span", {
80
+ className: "ttw:sr-only",
81
+ children: S
82
+ }) : null,
83
+ /* @__PURE__ */ d(e, {
71
84
  component: "span",
85
+ "aria-hidden": S ? !0 : void 0,
72
86
  className: "ttw:block ttw:min-w-0 ttw:break-words ttw:leading-tight ttw:tracking-tight ttw:text-foreground",
73
- children: f
87
+ children: y
74
88
  }),
75
- E.length > 0 ? /* @__PURE__ */ s("span", {
89
+ F.length > 0 ? /* @__PURE__ */ f("span", {
76
90
  className: "ttw:block ttw:min-w-0 ttw:break-words ttw:text-sm ttw:leading-6",
77
- children: E.map(({ text: e, tone: t = "muted" }, i) => /* @__PURE__ */ s(n, {
78
- component: "span",
79
- variant: "body2",
80
- color: t,
81
- className: r(t !== "muted" && "ttw:font-medium"),
82
- children: e
83
- }, i))
91
+ children: [C ? /* @__PURE__ */ d("span", {
92
+ className: "ttw:sr-only",
93
+ children: C
94
+ }) : null, /* @__PURE__ */ d("span", {
95
+ "aria-hidden": C ? !0 : void 0,
96
+ children: F.map(({ text: e, tone: t = "muted" }, n) => /* @__PURE__ */ d(o, {
97
+ component: "span",
98
+ variant: "body2",
99
+ color: t,
100
+ className: s(t !== "muted" && "ttw:font-medium"),
101
+ children: e
102
+ }, n))
103
+ })]
84
104
  }) : null,
85
- D && h ? /* @__PURE__ */ s("span", {
105
+ I && w ? /* @__PURE__ */ d("span", {
86
106
  className: "ttw:mt-3 ttw:min-w-0 ttw:break-words ttw:text-sm ttw:font-medium ttw:text-primary ttw:group-hover:underline",
87
- children: h
107
+ children: w
88
108
  }) : null
89
- ] });
90
- return D ? /* @__PURE__ */ s("button", {
91
- type: "button",
92
- onClick: g,
93
- "aria-label": _,
94
- "data-testid": S?.tile,
95
- style: w,
96
- className: r(u, "ttw:group ttw:cursor-pointer ttw:transition-colors ttw:hover:bg-accent/40 ttw:focus-visible:outline-none ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring ttw:focus-visible:ring-offset-2", C),
97
- children: k
98
- }) : /* @__PURE__ */ s("div", {
99
- className: r(u, C),
100
- style: w,
101
- "data-testid": S?.tile,
102
- children: k
103
- });
109
+ ] }), z = !!(S || C);
110
+ return ((e) => z ? /* @__PURE__ */ d(i, { children: /* @__PURE__ */ f(n, { children: [/* @__PURE__ */ d(a, {
111
+ asChild: !0,
112
+ children: e
113
+ }), /* @__PURE__ */ f(r, {
114
+ "data-testid": j?.exactTooltip,
115
+ children: [S ? /* @__PURE__ */ d("span", {
116
+ className: "ttw:block",
117
+ children: S
118
+ }) : null, C ? /* @__PURE__ */ d("span", {
119
+ className: "ttw:block",
120
+ children: C
121
+ }) : null]
122
+ })] }) }) : e)(I ? /* @__PURE__ */ d(g, {
123
+ onClick: T,
124
+ "aria-label": E,
125
+ "data-testid": j?.tile,
126
+ style: N,
127
+ className: s(m, "ttw:group ttw:cursor-pointer ttw:transition-colors ttw:hover:bg-accent/40", h, M),
128
+ children: R
129
+ }) : /* @__PURE__ */ d(_, {
130
+ tabIndex: z ? 0 : void 0,
131
+ className: s(m, z && h, M),
132
+ style: N,
133
+ "data-testid": j?.tile,
134
+ children: R
135
+ }));
104
136
  }
105
- export { d as QuickViewTile };
137
+ export { v as QuickViewTile };
@@ -8,29 +8,30 @@ import { formatCalendarDate as l } from "./lib/formatCalendarDate.js";
8
8
  import { formatTimestampDate as u } from "./lib/formatTimestampDate.js";
9
9
  import { formatRejectionDate as d } from "./lib/formatRejectionDate.js";
10
10
  import { formatAccountingAmount as f } from "./lib/formatAccountingAmount.js";
11
- import { currencySymbolForCode as p, formatMoneyExact as m } from "./lib/formatMoneyExact.js";
12
- import { formatPhoneDisplay as h } from "./lib/formatPhoneDisplay.js";
13
- import { getInitials as g } from "./lib/getInitials.js";
14
- import { isValidAchAccountNumber as _ } from "./lib/isValidAchAccountNumber.js";
15
- import { mergeLabelTree as v } from "./lib/mergeLabelTree.js";
16
- import { normalizeAmountOutputCurrencyCode as y } from "./lib/normalizeAmountOutputCurrencyCode.js";
17
- import { parseAmountOutputMajorUnits as b } from "./lib/parseAmountOutputMajorUnits.js";
18
- import { getRelativeCalendarDay as x } from "./lib/relativeCalendarDay.js";
19
- import { parseDecimalAmountToMinorUnits as S } from "./lib/parseDecimalAmountToMinorUnits.js";
20
- import { sumAmountOutputsMajorUnits as C } from "./lib/sumAmountOutputsMajorUnits.js";
21
- import { US_STATE_NAMES_EN as w, getStateOptions as T, isStateValid as E } from "./lib/usStates.js";
22
- import { createWidgetTokenManager as D } from "./lib/widgetTokenManager.js";
23
- import { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as O, TESOURO_NEW_EXTERNAL_BANK_ACCOUNT_LINKED_SUCCESS_EVENT as k, emitWidgetDomEvent as A } from "./lib/widgetDomEvents.js";
24
- import { extractApiErrorMessage as j } from "./lib/apiErrors.js";
25
- import { parseApiValidationErrors as M } from "./lib/apiValidationErrors.js";
11
+ import { formatCompactAmount as p } from "./lib/formatCompactAmount.js";
12
+ import { currencySymbolForCode as m, formatMoneyExact as h } from "./lib/formatMoneyExact.js";
13
+ import { formatPhoneDisplay as g } from "./lib/formatPhoneDisplay.js";
14
+ import { getInitials as _ } from "./lib/getInitials.js";
15
+ import { isValidAchAccountNumber as v } from "./lib/isValidAchAccountNumber.js";
16
+ import { mergeLabelTree as y } from "./lib/mergeLabelTree.js";
17
+ import { normalizeAmountOutputCurrencyCode as b } from "./lib/normalizeAmountOutputCurrencyCode.js";
18
+ import { parseAmountOutputMajorUnits as x } from "./lib/parseAmountOutputMajorUnits.js";
19
+ import { getRelativeCalendarDay as S } from "./lib/relativeCalendarDay.js";
20
+ import { parseDecimalAmountToMinorUnits as C } from "./lib/parseDecimalAmountToMinorUnits.js";
21
+ import { sumAmountOutputsMajorUnits as w } from "./lib/sumAmountOutputsMajorUnits.js";
22
+ import { US_STATE_NAMES_EN as T, getStateOptions as E, isStateValid as D } from "./lib/usStates.js";
23
+ import { createWidgetTokenManager as O } from "./lib/widgetTokenManager.js";
24
+ import { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as k, TESOURO_NEW_EXTERNAL_BANK_ACCOUNT_LINKED_SUCCESS_EVENT as A, emitWidgetDomEvent as j } from "./lib/widgetDomEvents.js";
25
+ import { extractApiErrorMessage as M } from "./lib/apiErrors.js";
26
+ import { parseApiValidationErrors as N } from "./lib/apiValidationErrors.js";
26
27
  import "./lib/auditHistory/auditHistoryActor.js";
27
- import { buildReceivableAuditHistory as N } from "./lib/auditHistory/buildReceivableAuditHistory.js";
28
- import { buildPayableAuditHistory as P, hasUnattributedAuditRows as F } from "./lib/auditHistory/buildPayableAuditHistory.js";
28
+ import { buildReceivableAuditHistory as P } from "./lib/auditHistory/buildReceivableAuditHistory.js";
29
+ import { buildPayableAuditHistory as F, hasUnattributedAuditRows as I } from "./lib/auditHistory/buildPayableAuditHistory.js";
29
30
  import "./lib/theme/color.js";
30
- import { THEME_TOKEN_NAMES as I } from "./lib/theme/themeTokens.js";
31
+ import { THEME_TOKEN_NAMES as L } from "./lib/theme/themeTokens.js";
31
32
  import "./lib/theme/toneColors.js";
32
- import { createTheme as L, isThemeDevelopmentBuild as R, readThemeTokens as z, reportThemeIssues as B, themeIssues as V, themeToCss as H } from "./lib/theme/createTheme.js";
33
+ import { createTheme as R, isThemeDevelopmentBuild as z, readThemeTokens as B, reportThemeIssues as V, themeIssues as H, themeToCss as U } from "./lib/theme/createTheme.js";
33
34
  import "./lib/theme/index.js";
34
- import { configureCsp as U, installStyleNonce as W } from "./lib/csp.js";
35
- import { resolvePdfWorkerSrc as G } from "./lib/pdfWorkerSrc.js";
36
- export { i as DATE_DISPLAY_LOCALE, a as DATE_DISPLAY_OPTIONS, O as TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT, k as TESOURO_NEW_EXTERNAL_BANK_ACCOUNT_LINKED_SUCCESS_EVENT, I as THEME_TOKEN_NAMES, w as US_STATE_NAMES_EN, n as amountOutputToMajorUnits, P as buildPayableAuditHistory, N as buildReceivableAuditHistory, e as coerceAmountValueToMinorUnits, U as configureCsp, t as createCurrencyFormatter, L as createTheme, D as createWidgetTokenManager, p as currencySymbolForCode, A as emitWidgetDomEvent, j as extractApiErrorMessage, f as formatAccountingAmount, l as formatCalendarDate, m as formatMoneyExact, h as formatPhoneDisplay, d as formatRejectionDate, u as formatTimestampDate, g as getInitials, x as getRelativeCalendarDay, T as getStateOptions, F as hasUnattributedAuditRows, W as installStyleNonce, E as isStateValid, R as isThemeDevelopmentBuild, _ as isValidAchAccountNumber, v as mergeLabelTree, r as minorExponentForCurrency, y as normalizeAmountOutputCurrencyCode, b as parseAmountOutputMajorUnits, M as parseApiValidationErrors, o as parseCalendarDate, s as parseDateOrTimestamp, S as parseDecimalAmountToMinorUnits, z as readThemeTokens, B as reportThemeIssues, c as resolveDueDateDisplay, G as resolvePdfWorkerSrc, C as sumAmountOutputsMajorUnits, V as themeIssues, H as themeToCss };
35
+ import { configureCsp as W, installStyleNonce as G } from "./lib/csp.js";
36
+ import { resolvePdfWorkerSrc as K } from "./lib/pdfWorkerSrc.js";
37
+ export { i as DATE_DISPLAY_LOCALE, a as DATE_DISPLAY_OPTIONS, k as TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT, A as TESOURO_NEW_EXTERNAL_BANK_ACCOUNT_LINKED_SUCCESS_EVENT, L as THEME_TOKEN_NAMES, T as US_STATE_NAMES_EN, n as amountOutputToMajorUnits, F as buildPayableAuditHistory, P as buildReceivableAuditHistory, e as coerceAmountValueToMinorUnits, W as configureCsp, t as createCurrencyFormatter, R as createTheme, O as createWidgetTokenManager, m as currencySymbolForCode, j as emitWidgetDomEvent, M as extractApiErrorMessage, f as formatAccountingAmount, l as formatCalendarDate, p as formatCompactAmount, h as formatMoneyExact, g as formatPhoneDisplay, d as formatRejectionDate, u as formatTimestampDate, _ as getInitials, S as getRelativeCalendarDay, E as getStateOptions, I as hasUnattributedAuditRows, G as installStyleNonce, D as isStateValid, z as isThemeDevelopmentBuild, v as isValidAchAccountNumber, y as mergeLabelTree, r as minorExponentForCurrency, b as normalizeAmountOutputCurrencyCode, x as parseAmountOutputMajorUnits, N as parseApiValidationErrors, o as parseCalendarDate, s as parseDateOrTimestamp, C as parseDecimalAmountToMinorUnits, B as readThemeTokens, V as reportThemeIssues, c as resolveDueDateDisplay, K as resolvePdfWorkerSrc, w as sumAmountOutputsMajorUnits, H as themeIssues, U as themeToCss };
@@ -0,0 +1,14 @@
1
+ import { createCurrencyFormatter as e } from "./createCurrencyFormatter.js";
2
+ // ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/formatCompactAmount.js
3
+ var t = {
4
+ notation: "compact",
5
+ minimumFractionDigits: 2,
6
+ maximumFractionDigits: 2,
7
+ roundingMode: "trunc"
8
+ };
9
+ function n(n, r) {
10
+ if (!Number.isFinite(n) || Math.abs(n) < 1e6) return;
11
+ let i = e(r, t, "en-US").format(Math.abs(n));
12
+ return n < 0 ? `(${i})` : i;
13
+ }
14
+ export { n as formatCompactAmount };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.11.201",
3
+ "version": "0.11.204",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [