@tesouro/embedded-components-react 0.2.254 → 0.2.255
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.
- package/dist/core.js +1 -1
- package/dist/index.css +15 -0
- package/dist/index.js +2 -2
- package/dist/lib/BillPayWidget.d.ts +151 -151
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/InsightsWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index3.js +28 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +75 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +166 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +17 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +15 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +99 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +50 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +85 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +112 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +51 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +235 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +106 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +35 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +36 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +74 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +15 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index11.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +83 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +205 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +89 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +131 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +45 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +149 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +73 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +145 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +93 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +88 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +62 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index7.js +58 -58
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index8.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +13 -62
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index11.js +66 -0
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +11 -109
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index8.js +113 -21
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/profile-widget/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/policyViewModel.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +32 -29
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useSubEntityForm.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index8.js +232 -220
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +171 -138
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/client/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/core/bodySerializer.gen.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +404 -293
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/lib/useProductForm.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index3.js → lib/amountOutputToMajorUnits.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index14.js → lib/apiErrors.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index2.js → lib/coerceAmountValueToMinorUnits.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/formatCalendarDate.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index4.js → lib/formatMoneyExact.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index5.js → lib/formatPhoneDisplay.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index6.js → lib/getInitials.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index7.js → lib/normalizeAmountOutputCurrencyCode.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index8.js → lib/parseAmountOutputMajorUnits.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index9.js → lib/parseDecimalAmountToMinorUnits.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index10.js → lib/sumAmountOutputsMajorUnits.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index11.js → lib/usStates.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index13.js → lib/widgetDomEvents.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/{index12.js → lib/widgetTokenManager.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/tags-widget/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index5.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +3593 -3582
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { WidgetTokenRefreshContext as e } from "./WidgetTokenRefreshContext.js";
|
|
6
|
-
import { createWidgetTokenManager as t } from "../../../../util/dist/
|
|
6
|
+
import { createWidgetTokenManager as t } from "../../../../util/dist/lib/widgetTokenManager.js";
|
|
7
7
|
import { useEffect as n, useMemo as r, useRef as i } from "react";
|
|
8
8
|
import { jsx as a } from "react/jsx-runtime";
|
|
9
9
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -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.2.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.2.255", n = "2ad40c79a29e42ce7d0d910602a36d6aeacdca18", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../util/dist/
|
|
1
|
+
import "../../../util/dist/lib/apiErrors.js";
|
|
2
2
|
import { PRODUCT_MESSAGE_LABELS_EN as e } from "./lib/labels.js";
|
|
3
3
|
import { EMPTY_PRODUCT_FORM_VALUES as t, buildProductDetailsView as n, buildProductRows as r, getCurrencyOptions as i, hasSelectedText as a } from "./lib/helpers.js";
|
|
4
4
|
import { ProductFormSheet as o } from "../../ui/dist/index3.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { extractApiErrorMessage as e } from "../../../../util/dist/
|
|
5
|
+
import { extractApiErrorMessage as e } from "../../../../util/dist/lib/apiErrors.js";
|
|
6
6
|
import { PRODUCT_MESSAGE_LABELS_EN as t } from "./labels.js";
|
|
7
7
|
import { formatPrice as n, validateMeasureUnit as r } from "./helpers.js";
|
|
8
8
|
import { MeasureUnitsManager as i } from "../../../ui/dist/index4.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { extractApiErrorMessage as e } from "../../../../util/dist/
|
|
5
|
+
import { extractApiErrorMessage as e } from "../../../../util/dist/lib/apiErrors.js";
|
|
6
6
|
import { EMPTY_PRODUCT_FORM_VALUES as t, getCurrencyOptions as n, hasProductFormErrors as r, productFormValuesToRequest as i, productFormValuesToUpdateRequest as a, productToFormValues as o, validateProductForm as s } from "./helpers.js";
|
|
7
7
|
import { useCreateProductMutation as c } from "../../../data-access/dist/index5.js";
|
|
8
8
|
import { useUpdateProductMutation as l } from "../../../data-access/dist/index6.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/coerceAmountValueToMinorUnits.js
|
|
2
2
|
function e(e) {
|
|
3
3
|
if (e == null) return 0;
|
|
4
4
|
if (typeof e == "number") return Number.isFinite(e) ? Math.round(e) : 0;
|
package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/formatCalendarDate.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/formatCalendarDate.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (!e) return "";
|
|
4
|
+
let [t, n, r] = e.split("-").map(Number);
|
|
5
|
+
return !t || !n || !r ? e : new Date(Date.UTC(t, n - 1, r)).toLocaleDateString("en-US", {
|
|
6
|
+
month: "short",
|
|
7
|
+
day: "numeric",
|
|
8
|
+
year: "numeric",
|
|
9
|
+
timeZone: "UTC"
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { e as formatCalendarDate };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/getInitials.js
|
|
2
2
|
function e(e) {
|
|
3
3
|
let t = e.split(/\s+/).filter(Boolean);
|
|
4
4
|
return t.length === 0 ? "" : (t[0][0] + (t.length > 1 ? t[t.length - 1][0] : "")).toUpperCase();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/parseAmountOutputMajorUnits.js
|
|
2
2
|
function e(e) {
|
|
3
3
|
let t = e?.value, n = typeof t == "string" ? parseFloat(t) : t ?? 0;
|
|
4
4
|
return Number.isFinite(n) ? n / 100 : 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { minorExponentForCurrency as e } from "./
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/
|
|
1
|
+
import { minorExponentForCurrency as e } from "./amountOutputToMajorUnits.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/parseDecimalAmountToMinorUnits.js
|
|
3
3
|
var t = /^(?:\d{1,3}(?:,\d{3})+(?:\.\d+)?|\d+(?:\.\d+)?|\.\d+)$/;
|
|
4
4
|
function n(e) {
|
|
5
5
|
let n = e.trim();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { normalizeAmountOutputCurrencyCode as e } from "./
|
|
2
|
-
import { parseAmountOutputMajorUnits as t } from "./
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/
|
|
1
|
+
import { normalizeAmountOutputCurrencyCode as e } from "./normalizeAmountOutputCurrencyCode.js";
|
|
2
|
+
import { parseAmountOutputMajorUnits as t } from "./parseAmountOutputMajorUnits.js";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/sumAmountOutputsMajorUnits.js
|
|
4
4
|
function n(n, r) {
|
|
5
5
|
let i = e(r), a = n.reduce((n, r) => e(r?.currencyCode) === i ? n + t(r) : n, 0);
|
|
6
6
|
return Math.round(a * 100) / 100;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/widgetDomEvents.js
|
|
2
2
|
var e = "tesouro-new-external-bank-account-linked-success", t = "tesouro-new-embedded-bank-account-created-success";
|
|
3
3
|
function n(e) {
|
|
4
4
|
typeof window > "u" || window.dispatchEvent(new CustomEvent(e));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/widgetTokenManager.js
|
|
2
2
|
function e(e) {
|
|
3
3
|
let { fetcher: t } = e, n = e.leadSeconds ?? 60, r = { status: "loading" }, i = /* @__PURE__ */ new Set(), a = 0, o = 0, s = 0, c = !1, l, u, d, f = () => {
|
|
4
4
|
i.forEach((e) => e());
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { extractApiErrorMessage as e } from "../../../shared/util/dist/
|
|
5
|
+
import { extractApiErrorMessage as e } from "../../../shared/util/dist/lib/apiErrors.js";
|
|
6
6
|
import { EMPTY_FORM_VALUES as t } from "./index3.js";
|
|
7
7
|
import { buildKeywordsByTagId as n, computeNextOcrAutoTagging as r, getCategoryOptions as i, hasFormErrors as a, isDuplicateTagNameError as o, validateTagForm as s } from "./index5.js";
|
|
8
8
|
import { useCreateTagMutation as c } from "../../data-access/dist/index4.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getInitials as e } from "../../../shared/util/dist/
|
|
1
|
+
import { getInitials as e } from "../../../shared/util/dist/lib/getInitials.js";
|
|
2
2
|
import { filterRolesForOrganization as t, isRoleVisibleForOrganization as n } from "../../../../shared/util-validation/dist/index6.js";
|
|
3
3
|
import { sortRolesBySortOrdinal as r } from "../../../../shared/util-validation/dist/index22.js";
|
|
4
4
|
import { bareRoleKey as i, resolveOrganizationRoleDescription as a, resolveOrganizationRoleDisplayName as o, resolveOrganizationRoleIcon as s, resolveOrganizationRoleKeyForUser as c, rolesForMemberOrganization as l, stripRoleNamespace as u, toRoleDisplayOptions as d } from "./index9.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getInitials as e } from "../../../shared/util/dist/
|
|
1
|
+
import { getInitials as e } from "../../../shared/util/dist/lib/getInitials.js";
|
|
2
2
|
//#region ../../libs/tesouro-embedded-components-react/team-widget/feature/dist/index4.js
|
|
3
3
|
function t(e) {
|
|
4
4
|
let t = e.name?.trim();
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
6
|
import "../../../shared/ui/dist/index.js";
|
|
7
|
-
import { coerceAmountValueToMinorUnits as t } from "../../../shared/util/dist/
|
|
8
|
-
import { amountOutputToMajorUnits as n, minorExponentForCurrency as r } from "../../../shared/util/dist/
|
|
9
|
-
import { currencySymbolForCode as i, formatMoneyExact as a } from "../../../shared/util/dist/
|
|
10
|
-
import { parseDecimalAmountToMinorUnits as o } from "../../../shared/util/dist/
|
|
7
|
+
import { coerceAmountValueToMinorUnits as t } from "../../../shared/util/dist/lib/coerceAmountValueToMinorUnits.js";
|
|
8
|
+
import { amountOutputToMajorUnits as n, minorExponentForCurrency as r } from "../../../shared/util/dist/lib/amountOutputToMajorUnits.js";
|
|
9
|
+
import { currencySymbolForCode as i, formatMoneyExact as a } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
10
|
+
import { parseDecimalAmountToMinorUnits as o } from "../../../shared/util/dist/lib/parseDecimalAmountToMinorUnits.js";
|
|
11
11
|
import { TRANSFERS_ANALYTICS_EVENTS as s } from "./index2.js";
|
|
12
12
|
import { useCreateBookTransferMutation as c } from "../../data-access/dist/index7.js";
|
|
13
13
|
import { useCreateAchMoneyMovementMutation as l } from "../../data-access/dist/index8.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Scope as e } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
6
6
|
import "../../../shared/data-access/dist/index.js";
|
|
7
7
|
import { useAnalyticsTrack as t } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
8
|
-
import { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as n, TESOURO_NEW_EXTERNAL_BANK_ACCOUNT_LINKED_SUCCESS_EVENT as r } from "../../../shared/util/dist/
|
|
8
|
+
import { TESOURO_NEW_EMBEDDED_BANK_ACCOUNT_CREATED_SUCCESS_EVENT as n, TESOURO_NEW_EXTERNAL_BANK_ACCOUNT_LINKED_SUCCESS_EVENT as r } from "../../../shared/util/dist/lib/widgetDomEvents.js";
|
|
9
9
|
import { useWidgetConfig as i } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
10
10
|
import "../../../shared/feature/dist/index.js";
|
|
11
11
|
import { DEFAULT_FEATURE_LABELS as a } from "./index3.js";
|