@fluid-app/portal-sdk 0.1.82 → 0.1.83
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/{AppDownloadScreen-3DHcVSP9.cjs → AppDownloadScreen-B-JdFulZ.cjs} +3 -3
- package/dist/{AppDownloadScreen-BZ8IA_i0.mjs → AppDownloadScreen-BE6M8WxN.mjs} +2 -2
- package/dist/{AppDownloadScreen-BZ8IA_i0.mjs.map → AppDownloadScreen-BE6M8WxN.mjs.map} +1 -1
- package/dist/{AppDownloadScreen-BDnZv0Ve.cjs → AppDownloadScreen-CaTNCtzb.cjs} +2 -2
- package/dist/{AppDownloadScreen-BDnZv0Ve.cjs.map → AppDownloadScreen-CaTNCtzb.cjs.map} +1 -1
- package/dist/{ContactsScreen-BF2txIn2.cjs → ContactsScreen-6gXKTN61.cjs} +2 -2
- package/dist/{ContactsScreen-BF2txIn2.cjs.map → ContactsScreen-6gXKTN61.cjs.map} +1 -1
- package/dist/{ContactsScreen-w2w-l_0b.mjs → ContactsScreen-FJUtn2_G.mjs} +2 -2
- package/dist/{ContactsScreen-w2w-l_0b.mjs.map → ContactsScreen-FJUtn2_G.mjs.map} +1 -1
- package/dist/{ContactsScreen-Cphil7Lf.cjs → ContactsScreen-aPH9Xaim.cjs} +3 -3
- package/dist/{FluidProvider-BeQDNd2R.cjs → FluidProvider-BSBLJp15.cjs} +3 -3
- package/dist/{FluidProvider-BeQDNd2R.cjs.map → FluidProvider-BSBLJp15.cjs.map} +1 -1
- package/dist/{FluidProvider-aDOk1vw3.mjs → FluidProvider-CwkMUOoy.mjs} +3 -3
- package/dist/{FluidProvider-aDOk1vw3.mjs.map → FluidProvider-CwkMUOoy.mjs.map} +1 -1
- package/dist/{MessagingScreen-B3_sZuUW.mjs → MessagingScreen-7_YhiLVY.mjs} +3 -3
- package/dist/{MessagingScreen-B3_sZuUW.mjs.map → MessagingScreen-7_YhiLVY.mjs.map} +1 -1
- package/dist/{MessagingScreen-DzwIbgUU.cjs → MessagingScreen-B_5Ci5s-.cjs} +3 -3
- package/dist/{MessagingScreen-DzwIbgUU.cjs.map → MessagingScreen-B_5Ci5s-.cjs.map} +1 -1
- package/dist/{MessagingScreen-yHZm0vFM.cjs → MessagingScreen-CWJA4usG.cjs} +3 -3
- package/dist/{MessagingScreen-CnBpPXBm.mjs → MessagingScreen-DWNe8VFM.mjs} +3 -3
- package/dist/{MySiteScreen-DJ-rkDlD.mjs → MySiteScreen-Cspeq0cy.mjs} +2 -2
- package/dist/{MySiteScreen-DJ-rkDlD.mjs.map → MySiteScreen-Cspeq0cy.mjs.map} +1 -1
- package/dist/{MySiteScreen-DkHGVOlx.cjs → MySiteScreen-CtVL7wfc.cjs} +2 -2
- package/dist/{MySiteScreen-DkHGVOlx.cjs.map → MySiteScreen-CtVL7wfc.cjs.map} +1 -1
- package/dist/{MySiteScreen-BwdayTZT.cjs → MySiteScreen-D5tr7TdT.cjs} +3 -3
- package/dist/{OrdersScreen-C_fTfG0m.cjs → OrdersScreen-Bu82RCok.cjs} +3 -3
- package/dist/{OrdersScreen-C_fTfG0m.cjs.map → OrdersScreen-Bu82RCok.cjs.map} +1 -1
- package/dist/{OrdersScreen-DipdGDcy.cjs → OrdersScreen-DiKPQvwJ.cjs} +3 -3
- package/dist/{OrdersScreen-C0dg1NEJ.mjs → OrdersScreen-DrCPl7uv.mjs} +3 -3
- package/dist/{OrdersScreen-C0dg1NEJ.mjs.map → OrdersScreen-DrCPl7uv.mjs.map} +1 -1
- package/dist/{PointsWidget-Cc88UHqD.mjs → PointsWidget-CYesuDDG.mjs} +3 -3
- package/dist/PointsWidget-CYesuDDG.mjs.map +1 -0
- package/dist/{PointsWidget-DISBtuAm.cjs → PointsWidget-D8U2k-_A.cjs} +3 -3
- package/dist/PointsWidget-D8U2k-_A.cjs.map +1 -0
- package/dist/{ProductsScreen-B2_8nFMd.mjs → ProductsScreen-BHHo6Wen.mjs} +3 -3
- package/dist/{ProductsScreen-B2_8nFMd.mjs.map → ProductsScreen-BHHo6Wen.mjs.map} +1 -1
- package/dist/{ProductsScreen-DHgkH0rd.cjs → ProductsScreen-CCNyLHqR.cjs} +3 -3
- package/dist/{ProductsScreen-BjCjYPiq.mjs → ProductsScreen-CoyGeILD.mjs} +3 -3
- package/dist/{ProductsScreen-D7ag_21-.cjs → ProductsScreen-Doc9tmAQ.cjs} +3 -3
- package/dist/{ProductsScreen-D7ag_21-.cjs.map → ProductsScreen-Doc9tmAQ.cjs.map} +1 -1
- package/dist/{ProfileScreen-DhS4QlAJ.cjs → ProfileScreen-BKKIMZiD.cjs} +3 -3
- package/dist/{ProfileScreen-DHZDYTid.mjs → ProfileScreen-C4g7ZGPo.mjs} +3 -3
- package/dist/{ProfileScreen-DHZDYTid.mjs.map → ProfileScreen-C4g7ZGPo.mjs.map} +1 -1
- package/dist/{ProfileScreen-B8XYP1GA.cjs → ProfileScreen-CANmoFsP.cjs} +3 -3
- package/dist/{ProfileScreen-B8XYP1GA.cjs.map → ProfileScreen-CANmoFsP.cjs.map} +1 -1
- package/dist/{ShareablesScreen-3a7V8ZEB.mjs → ShareablesScreen-BRxLz3zn.mjs} +3 -3
- package/dist/{ShareablesScreen-BtZfpC1v.cjs → ShareablesScreen-C5GJg1EP.cjs} +3 -3
- package/dist/{ShareablesScreen-DBSG5bbX.mjs → ShareablesScreen-CNMWSoKY.mjs} +3 -3
- package/dist/{ShareablesScreen-DBSG5bbX.mjs.map → ShareablesScreen-CNMWSoKY.mjs.map} +1 -1
- package/dist/{ShareablesScreen-DDcnZnRA.cjs → ShareablesScreen-Dp3BcjuA.cjs} +3 -3
- package/dist/{ShareablesScreen-DDcnZnRA.cjs.map → ShareablesScreen-Dp3BcjuA.cjs.map} +1 -1
- package/dist/{ShopScreen-BiFPqcSn.cjs → ShopScreen-CPWZhKgE.cjs} +4 -4
- package/dist/{ShopScreen-BiFPqcSn.cjs.map → ShopScreen-CPWZhKgE.cjs.map} +1 -1
- package/dist/{ShopScreen-5DkzkCmK.mjs → ShopScreen-CVxmqfmN.mjs} +4 -4
- package/dist/{ShopScreen-5DkzkCmK.mjs.map → ShopScreen-CVxmqfmN.mjs.map} +1 -1
- package/dist/{ShopScreen-CK5hcRSz.cjs → ShopScreen-nJhut901.cjs} +3 -3
- package/dist/{SubscriptionsScreen-iSqfV2RZ.cjs → SubscriptionsScreen-C1UWxvQk.cjs} +3 -3
- package/dist/{SubscriptionsScreen-CRJjvX47.mjs → SubscriptionsScreen-CJdcyH-e.mjs} +3 -3
- package/dist/{SubscriptionsScreen-CRJjvX47.mjs.map → SubscriptionsScreen-CJdcyH-e.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-BM4Tk_vo.cjs → SubscriptionsScreen-CSKVsakI.cjs} +3 -3
- package/dist/{SubscriptionsScreen-BM4Tk_vo.cjs.map → SubscriptionsScreen-CSKVsakI.cjs.map} +1 -1
- package/dist/index.cjs +311 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +311 -37
- package/dist/index.mjs.map +1 -1
- package/dist/{use-account-clients-DJVDMbzf.cjs → use-account-clients-62dZrh9E.cjs} +2 -2
- package/dist/{use-account-clients-DJVDMbzf.cjs.map → use-account-clients-62dZrh9E.cjs.map} +1 -1
- package/dist/{use-account-clients-D3YbXh9Y.mjs → use-account-clients-Cf_6sxeC.mjs} +2 -2
- package/dist/{use-account-clients-D3YbXh9Y.mjs.map → use-account-clients-Cf_6sxeC.mjs.map} +1 -1
- package/dist/{use-current-user-DIkhY-Or.mjs → use-current-user-Bl9nPNFt.mjs} +3 -3
- package/dist/{use-current-user-DIkhY-Or.mjs.map → use-current-user-Bl9nPNFt.mjs.map} +1 -1
- package/dist/{use-current-user-B_BV-XL3.cjs → use-current-user-SFCzJt0q.cjs} +3 -3
- package/dist/{use-current-user-B_BV-XL3.cjs.map → use-current-user-SFCzJt0q.cjs.map} +1 -1
- package/dist/{use-customer-account-Bh4RXGq-.mjs → use-customer-account-B0DeL6m0.mjs} +3 -3
- package/dist/{use-customer-account-Bh4RXGq-.mjs.map → use-customer-account-B0DeL6m0.mjs.map} +1 -1
- package/dist/{use-customer-account-D3WQH1de.cjs → use-customer-account-Dysq4hpT.cjs} +3 -3
- package/dist/{use-customer-account-D3WQH1de.cjs.map → use-customer-account-Dysq4hpT.cjs.map} +1 -1
- package/dist/{use-fluid-api-DDS0EZdY.mjs → use-fluid-api-DPhr-9Jv.mjs} +2 -2
- package/dist/{use-fluid-api-DDS0EZdY.mjs.map → use-fluid-api-DPhr-9Jv.mjs.map} +1 -1
- package/dist/{use-fluid-api-BL1IJowk.cjs → use-fluid-api-DwRQk00z.cjs} +2 -2
- package/dist/{use-fluid-api-BL1IJowk.cjs.map → use-fluid-api-DwRQk00z.cjs.map} +1 -1
- package/package.json +14 -14
- package/dist/PointsWidget-Cc88UHqD.mjs.map +0 -1
- package/dist/PointsWidget-DISBtuAm.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductsScreen-
|
|
1
|
+
{"version":3,"file":"ProductsScreen-BHHo6Wen.mjs","names":[],"sources":["../src/screens/ProductsScreen.tsx"],"sourcesContent":["import { useCallback, useMemo, type ComponentProps } from \"react\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\nimport type { WidgetPropertySchema } from \"../registries/property-schema-types\";\nimport { ShareablesCoreProvider } from \"@fluid-app/shareables-core\";\nimport { ShareablesUIProvider, ProductsApp } from \"@fluid-app/shareables-ui\";\nimport { useCurrentUser } from \"../hooks/use-current-user\";\nimport { useAppNavigation } from \"../shell/AppNavigationContext\";\nimport { useSdkClient } from \"../account/use-account-clients\";\n\ntype ProductsScreenProps = ComponentProps<\"div\"> & {\n background?: BackgroundValue;\n textColor?: ColorOptions;\n accentColor?: ColorOptions;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n};\n\nexport function ProductsScreen({\n /* eslint-disable @typescript-eslint/no-unused-vars -- destructured to exclude from divProps spread */\n background,\n textColor,\n accentColor,\n padding,\n borderRadius,\n /* eslint-enable @typescript-eslint/no-unused-vars */\n ...divProps\n}: ProductsScreenProps): React.JSX.Element {\n const domainClient = useSdkClient();\n const { data: userData } = useCurrentUser();\n const { currentSlug, navigate } = useAppNavigation();\n\n // Extract product ID from slug: \"products/123\" → \"123\"\n const productId = useMemo(() => {\n const match = currentSlug.match(/^products\\/(.+)/);\n return match?.[1] ?? null;\n }, [currentSlug]);\n\n const handleSelectProduct = useCallback(\n (id: string) => {\n navigate(`products/${id}`);\n },\n [navigate],\n );\n\n const handleBack = useCallback(() => {\n navigate(\"products\");\n }, [navigate]);\n\n const coreConfig = useMemo(\n () => ({\n client: domainClient,\n user: userData ? { id: userData.id } : null,\n }),\n [domainClient, userData],\n );\n\n const uiConfig = useMemo(\n () => ({\n user: userData\n ? {\n id: userData.id,\n company: userData.company\n ? { logo_url: userData.company.logo_url }\n : null,\n }\n : undefined,\n basePath: \"\",\n navigate: (path: string) => {\n navigate(path);\n },\n showToast: (opts: {\n title: string;\n type: \"success\" | \"error\" | \"warning\";\n }) => {\n console.log(`[Products] ${opts.type}: ${opts.title}`);\n },\n }),\n [userData, navigate],\n );\n\n return (\n <div {...divProps} className={`h-full ${divProps.className ?? \"\"}`}>\n <ShareablesCoreProvider config={coreConfig}>\n <ShareablesUIProvider config={uiConfig}>\n <ProductsApp\n countryCode={userData?.country?.iso}\n companyLogoUrl={userData?.company?.logo_url}\n productId={productId}\n onSelectProduct={handleSelectProduct}\n onBack={handleBack}\n />\n </ShareablesUIProvider>\n </ShareablesCoreProvider>\n </div>\n );\n}\n\nexport const productsScreenPropertySchema: WidgetPropertySchema = {\n widgetType: \"ProductsScreen\",\n displayName: \"Products Screen\",\n tabsConfig: [{ id: \"styling\", label: \"Styling\" }],\n fields: [],\n} as const satisfies WidgetProp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QAAQ,EAAE;CACX"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require("./chunk-9hOWP6kD.cjs");
|
|
2
|
-
require("./FluidProvider-
|
|
3
|
-
require("./PointsWidget-
|
|
2
|
+
require("./FluidProvider-BSBLJp15.cjs");
|
|
3
|
+
require("./PointsWidget-D8U2k-_A.cjs");
|
|
4
4
|
require("./error-state-BDBF2JrB.cjs");
|
|
5
5
|
require("./ScreenRenderer-D65AsKjr.cjs");
|
|
6
6
|
require("./WidgetInteractionContext-GLPlhAfT.cjs");
|
|
@@ -39,6 +39,6 @@ require("./es-BSkb3AZk.cjs");
|
|
|
39
39
|
require("./dist-B4Ke7bHH.cjs");
|
|
40
40
|
require("./src-fXyI4AWk.cjs");
|
|
41
41
|
require("./dist-lO2OG0T5.cjs");
|
|
42
|
-
const require_ProductsScreen = require("./ProductsScreen-
|
|
42
|
+
const require_ProductsScreen = require("./ProductsScreen-Doc9tmAQ.cjs");
|
|
43
43
|
exports.ProductsScreen = require_ProductsScreen.ProductsScreen;
|
|
44
44
|
exports.productsScreenPropertySchema = require_ProductsScreen.productsScreenPropertySchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./FluidProvider-
|
|
2
|
-
import "./PointsWidget-
|
|
1
|
+
import "./FluidProvider-CwkMUOoy.mjs";
|
|
2
|
+
import "./PointsWidget-CYesuDDG.mjs";
|
|
3
3
|
import "./error-state-C9MqwdW7.mjs";
|
|
4
4
|
import "./ScreenRenderer-DoVfmxCl.mjs";
|
|
5
5
|
import "./WidgetInteractionContext-1AMQFvCN.mjs";
|
|
@@ -38,5 +38,5 @@ import "./es-1KItbbYg.mjs";
|
|
|
38
38
|
import "./dist-Cl4FsM3V.mjs";
|
|
39
39
|
import "./src-nhqydD53.mjs";
|
|
40
40
|
import "./sortable.esm-CzzU6kIR.mjs";
|
|
41
|
-
import { n as productsScreenPropertySchema, t as ProductsScreen } from "./ProductsScreen-
|
|
41
|
+
import { n as productsScreenPropertySchema, t as ProductsScreen } from "./ProductsScreen-BHHo6Wen.mjs";
|
|
42
42
|
export { ProductsScreen, productsScreenPropertySchema };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require("./chunk-9hOWP6kD.cjs");
|
|
2
|
-
const require_use_account_clients = require("./use-account-clients-
|
|
3
|
-
const require_use_current_user = require("./use-current-user-
|
|
2
|
+
const require_use_account_clients = require("./use-account-clients-62dZrh9E.cjs");
|
|
3
|
+
const require_use_current_user = require("./use-current-user-SFCzJt0q.cjs");
|
|
4
4
|
const require_AppNavigationContext = require("./AppNavigationContext-Agp0UkCQ.cjs");
|
|
5
5
|
const require_src = require("./src-fXyI4AWk.cjs");
|
|
6
6
|
let react = require("react");
|
|
@@ -77,4 +77,4 @@ Object.defineProperty(exports, "productsScreenPropertySchema", {
|
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
//# sourceMappingURL=ProductsScreen-
|
|
80
|
+
//# sourceMappingURL=ProductsScreen-Doc9tmAQ.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductsScreen-
|
|
1
|
+
{"version":3,"file":"ProductsScreen-Doc9tmAQ.cjs","names":["useSdkClient","useCurrentUser","useAppNavigation","ShareablesCoreProvider","ShareablesUIProvider","ProductsApp"],"sources":["../src/screens/ProductsScreen.tsx"],"sourcesContent":["import { useCallback, useMemo, type ComponentProps } from \"react\";\nimport type {\n BackgroundValue,\n BorderRadiusOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\nimport type { WidgetPropertySchema } from \"../registries/property-schema-types\";\nimport { ShareablesCoreProvider } from \"@fluid-app/shareables-core\";\nimport { ShareablesUIProvider, ProductsApp } from \"@fluid-app/shareables-ui\";\nimport { useCurrentUser } from \"../hooks/use-current-user\";\nimport { useAppNavigation } from \"../shell/AppNavigationContext\";\nimport { useSdkClient } from \"../account/use-account-clients\";\n\ntype ProductsScreenProps = ComponentProps<\"div\"> & {\n background?: BackgroundValue;\n textColor?: ColorOptions;\n accentColor?: ColorOptions;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n};\n\nexport function ProductsScreen({\n /* eslint-disable @typescript-eslint/no-unused-vars -- destructured to exclude from divProps spread */\n background,\n textColor,\n accentColor,\n padding,\n borderRadius,\n /* eslint-enable @typescript-eslint/no-unused-vars */\n ...divProps\n}: ProductsScreenProps): React.JSX.Element {\n const domainClient = useSdkClient();\n const { data: userData } = useCurrentUser();\n const { currentSlug, navigate } = useAppNavigation();\n\n // Extract product ID from slug: \"products/123\" → \"123\"\n const productId = useMemo(() => {\n const match = currentSlug.match(/^products\\/(.+)/);\n return match?.[1] ?? null;\n }, [currentSlug]);\n\n const handleSelectProduct = useCallback(\n (id: string) => {\n navigate(`products/${id}`);\n },\n [navigate],\n );\n\n const handleBack = useCallback(() => {\n navigate(\"products\");\n }, [navigate]);\n\n const coreConfig = useMemo(\n () => ({\n client: domainClient,\n user: userData ? { id: userData.id } : null,\n }),\n [domainClient, userData],\n );\n\n const uiConfig = useMemo(\n () => ({\n user: userData\n ? {\n id: userData.id,\n company: userData.company\n ? { logo_url: userData.company.logo_url }\n : null,\n }\n : undefined,\n basePath: \"\",\n navigate: (path: string) => {\n navigate(path);\n },\n showToast: (opts: {\n title: string;\n type: \"success\" | \"error\" | \"warning\";\n }) => {\n console.log(`[Products] ${opts.type}: ${opts.title}`);\n },\n }),\n [userData, navigate],\n );\n\n return (\n <div {...divProps} className={`h-full ${divProps.className ?? \"\"}`}>\n <ShareablesCoreProvider config={coreConfig}>\n <ShareablesUIProvider config={uiConfig}>\n <ProductsApp\n countryCode={userData?.country?.iso}\n companyLogoUrl={userData?.company?.logo_url}\n productId={productId}\n onSelectProduct={handleSelectProduct}\n onBack={handleBack}\n />\n </ShareablesUIProvider>\n </ShareablesCoreProvider>\n </div>\n );\n}\n\nexport const productsScreenPropertySchema: WidgetPropertySchema = {\n widgetType: \"ProductsScreen\",\n displayName: \"Products Screen\",\n tabsConfig: [{ id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aAAD;KACE,aAAa,UAAU,SAAS;KAChC,gBAAgB,UAAU,SAAS;KACxB;KACX,iBAAiB;KACjB,QAAQ;KACR,CAAA;IACmB,CAAA;GACA,CAAA;EACrB,CAAA;;AAIV,MAAa,+BAAqD;CAChE,YAAY;CACZ,aAAa;CACb,YAAY,CAAC;EAAE,IAAI;EAAW,OAAO;EAAW,CAAC;CACjD,QAAQ,EAAE;CACX"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require("./chunk-9hOWP6kD.cjs");
|
|
2
|
-
require("./FluidProvider-
|
|
3
|
-
const require_ProfileScreen = require("./ProfileScreen-
|
|
4
|
-
require("./PointsWidget-
|
|
2
|
+
require("./FluidProvider-BSBLJp15.cjs");
|
|
3
|
+
const require_ProfileScreen = require("./ProfileScreen-CANmoFsP.cjs");
|
|
4
|
+
require("./PointsWidget-D8U2k-_A.cjs");
|
|
5
5
|
require("./error-state-BDBF2JrB.cjs");
|
|
6
6
|
require("./ScreenRenderer-D65AsKjr.cjs");
|
|
7
7
|
require("./WidgetInteractionContext-GLPlhAfT.cjs");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-ByhMGyNw.mjs";
|
|
2
|
-
import { _t as fetchCustomerAccount, n as useFluidContext, vt as updateCustomer } from "./FluidProvider-
|
|
2
|
+
import { _t as fetchCustomerAccount, n as useFluidContext, vt as updateCustomer } from "./FluidProvider-CwkMUOoy.mjs";
|
|
3
3
|
import { t as parseApiErrors } from "./parse-api-errors-Dy2gL1eC.mjs";
|
|
4
4
|
import { $t as Avatar, A as SelectContent, G as Label, I as Input, J as DropdownMenuItem, K as DropdownMenu, Kt as Breadcrumb, M as SelectTrigger, N as SelectValue, X as DropdownMenuSeparator, Xt as BreadcrumbPage, Yt as BreadcrumbList, _n as AccordionTrigger, at as DialogFooter, dn as Button, en as AvatarFallback, et as DropdownMenuTrigger, gn as AccordionItem, hn as AccordionContent, j as SelectItem, k as Select, lt as DialogTitle, mn as Accordion, nt as DialogClose, ot as DialogHeader, q as DropdownMenuContent, qt as BreadcrumbItem, rt as DialogContent, tt as Dialog, vn as useZodForm, x as Skeleton, y as fluidToast, yn as cn } from "./src-77nf0QPD.mjs";
|
|
5
|
-
import { i as useSdkClient, n as useFluidPayClient, o as useFluidAuth, t as API_VERSION } from "./use-account-clients-
|
|
5
|
+
import { i as useSdkClient, n as useFluidPayClient, o as useFluidAuth, t as API_VERSION } from "./use-account-clients-Cf_6sxeC.mjs";
|
|
6
6
|
import { r as useScreenHeaderBreadcrumbs } from "./ScreenHeaderContext-NdrJ58Mg.mjs";
|
|
7
7
|
import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
8
8
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
@@ -2757,4 +2757,4 @@ const profileScreenPropertySchema = {
|
|
|
2757
2757
|
//#endregion
|
|
2758
2758
|
export { ProfileScreen_exports as n, profileScreenPropertySchema as r, ProfileScreen as t };
|
|
2759
2759
|
|
|
2760
|
-
//# sourceMappingURL=ProfileScreen-
|
|
2760
|
+
//# sourceMappingURL=ProfileScreen-C4g7ZGPo.mjs.map
|