@fluid-app/portal-sdk 0.1.34 → 0.1.36
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/{AppNavigationContext-v_y8OYHo.mjs → AppNavigationContext-CcRZ_LqM.mjs} +1 -1
- package/dist/{AppNavigationContext-v_y8OYHo.mjs.map → AppNavigationContext-CcRZ_LqM.mjs.map} +1 -1
- package/dist/{AppNavigationContext-0Ij6tU2H.cjs → AppNavigationContext-Dt02ymnf.cjs} +1 -1
- package/dist/{AppNavigationContext-0Ij6tU2H.cjs.map → AppNavigationContext-Dt02ymnf.cjs.map} +1 -1
- package/dist/{ContactsScreen-DXstI3Jj.mjs → ContactsScreen-Cqj2ylQd.mjs} +4 -4
- package/dist/{ContactsScreen-DXstI3Jj.mjs.map → ContactsScreen-Cqj2ylQd.mjs.map} +1 -1
- package/dist/{ContactsScreen-Ck_ngCS3.cjs → ContactsScreen-DTbdVDl2.cjs} +4 -4
- package/dist/{ContactsScreen-Ck_ngCS3.cjs.map → ContactsScreen-DTbdVDl2.cjs.map} +1 -1
- package/dist/{ContactsScreen-BmggZSZU.cjs → ContactsScreen-DwuusoZ9.cjs} +3 -3
- package/dist/{CustomersScreen-CeIiZKrq.cjs → CustomersScreen-B5k86dq0.cjs} +1 -1
- package/dist/{CustomersScreen-CeIiZKrq.cjs.map → CustomersScreen-B5k86dq0.cjs.map} +1 -1
- package/dist/{CustomersScreen-DEFY3mRL.mjs → CustomersScreen-DiXO5M5q.mjs} +1 -1
- package/dist/{CustomersScreen-DEFY3mRL.mjs.map → CustomersScreen-DiXO5M5q.mjs.map} +1 -1
- package/dist/{FluidProvider-BXxRdatZ.cjs → FluidProvider-D2VHDQOl.cjs} +23 -1
- package/dist/{FluidProvider-BXxRdatZ.cjs.map → FluidProvider-D2VHDQOl.cjs.map} +1 -1
- package/dist/{FluidProvider-CWC6LA9W.mjs → FluidProvider-S05cIFwO.mjs} +23 -1
- package/dist/FluidProvider-S05cIFwO.mjs.map +1 -0
- package/dist/{MessagingScreen-CUkIqREX.mjs → MessagingScreen-B5FFX0rk.mjs} +5 -5
- package/dist/{MessagingScreen-CUkIqREX.mjs.map → MessagingScreen-B5FFX0rk.mjs.map} +1 -1
- package/dist/{MessagingScreen-CbBgOUSs.cjs → MessagingScreen-BVoTHaZo.cjs} +5 -5
- package/dist/{MessagingScreen-CbBgOUSs.cjs.map → MessagingScreen-BVoTHaZo.cjs.map} +1 -1
- package/dist/{MessagingScreen-BZWaW9H_.cjs → MessagingScreen-CbtZhxMa.cjs} +3 -3
- package/dist/{MessagingScreen-Kij03Kn-.mjs → MessagingScreen-oclISkI22.mjs} +3 -3
- package/dist/{OrdersScreen-BEIE6mCd.cjs → OrdersScreen-BHNpjPwv.cjs} +5 -5
- package/dist/{OrdersScreen-BEIE6mCd.cjs.map → OrdersScreen-BHNpjPwv.cjs.map} +1 -1
- package/dist/{OrdersScreen-CBxsKlnU.mjs → OrdersScreen-Bec6SqNo.mjs} +5 -5
- package/dist/{OrdersScreen-CBxsKlnU.mjs.map → OrdersScreen-Bec6SqNo.mjs.map} +1 -1
- package/dist/{OrdersScreen-DrvVSd4b.cjs → OrdersScreen-C3BIRY6j.cjs} +3 -3
- package/dist/{ProductsScreen-DVxAFERc.mjs → ProductsScreen-BfPljupU.mjs} +8 -8
- package/dist/ProductsScreen-BfPljupU.mjs.map +1 -0
- package/dist/{ProductsScreen-Dzq3KP63.cjs → ProductsScreen-CCrZS-7j.cjs} +4 -4
- package/dist/{ProductsScreen-D_crd0ir.cjs → ProductsScreen-D3ySzLOk.cjs} +8 -8
- package/dist/ProductsScreen-D3ySzLOk.cjs.map +1 -0
- package/dist/{ProductsScreen-CoHFvcO_.mjs → ProductsScreen-DSmPPJfw.mjs} +4 -4
- package/dist/{ProfileScreen-Cn4iihgD.mjs → ProfileScreen-BFzPOFB1.mjs} +5 -4
- package/dist/{ProfileScreen-Cn4iihgD.mjs.map → ProfileScreen-BFzPOFB1.mjs.map} +1 -1
- package/dist/{ProfileScreen-B1_m1WId.cjs → ProfileScreen-CqUT2-XX.cjs} +2 -2
- package/dist/{ProfileScreen-BACkWuAC.cjs → ProfileScreen-T9Exf2DR.cjs} +7 -6
- package/dist/{ProfileScreen-BACkWuAC.cjs.map → ProfileScreen-T9Exf2DR.cjs.map} +1 -1
- package/dist/{ShareablesScreen-BEFG54-I.mjs → ShareablesScreen-Ce-wWJPW.mjs} +9 -9
- package/dist/ShareablesScreen-Ce-wWJPW.mjs.map +1 -0
- package/dist/{ShareablesScreen-D588qo6a.mjs → ShareablesScreen-CjjnN7JR.mjs} +4 -4
- package/dist/{ShareablesScreen-6fpWI08O.cjs → ShareablesScreen-CoAe2YQx.cjs} +4 -4
- package/dist/{ShareablesScreen-BhrhYh4W.cjs → ShareablesScreen-TqfgVJm_.cjs} +9 -9
- package/dist/ShareablesScreen-TqfgVJm_.cjs.map +1 -0
- package/dist/{ShopScreen-B3EgfJsG.cjs → ShopScreen-7G98Kb3F.cjs} +2 -2
- package/dist/{ShopScreen-B7mMrj2I.cjs → ShopScreen-Cyq4ebDX.cjs} +8 -6
- package/dist/ShopScreen-Cyq4ebDX.cjs.map +1 -0
- package/dist/{ShopScreen-Drg27OZM.mjs → ShopScreen-DP4SvMCy.mjs} +8 -6
- package/dist/{ShopScreen-Drg27OZM.mjs.map → ShopScreen-DP4SvMCy.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-DMFug2Kk.cjs → SubscriptionsScreen-CXQM1Z7M.cjs} +5 -5
- package/dist/{SubscriptionsScreen-DMFug2Kk.cjs.map → SubscriptionsScreen-CXQM1Z7M.cjs.map} +1 -1
- package/dist/{SubscriptionsScreen-DsHjhOII.cjs → SubscriptionsScreen-D2Z7L3Z6.cjs} +3 -3
- package/dist/{SubscriptionsScreen-DtcFH3sB.mjs → SubscriptionsScreen-iFx-VQrU.mjs} +5 -5
- package/dist/{SubscriptionsScreen-DtcFH3sB.mjs.map → SubscriptionsScreen-iFx-VQrU.mjs.map} +1 -1
- package/dist/customers-BHw3-Lg-.mjs +19 -0
- package/dist/customers-BHw3-Lg-.mjs.map +1 -0
- package/dist/customers-DIn-CxMl.cjs +30 -0
- package/dist/customers-DIn-CxMl.cjs.map +1 -0
- package/dist/{es-DZKcJZKh.mjs → es-BPF1dsEO.mjs} +1 -1
- package/dist/{es-DZKcJZKh.mjs.map → es-BPF1dsEO.mjs.map} +1 -1
- package/dist/{es-B1uNuoqD.cjs → es-DfGWLS4J.cjs} +1 -1
- package/dist/{es-B1uNuoqD.cjs.map → es-DfGWLS4J.cjs.map} +1 -1
- package/dist/index.cjs +35 -35
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +35 -35
- package/dist/index.mjs.map +1 -1
- package/dist/{products-CBjo08FD.mjs → products--saBmlZw.mjs} +2 -2
- package/dist/{products-CBjo08FD.mjs.map → products--saBmlZw.mjs.map} +1 -1
- package/dist/{products-Q7fqnjYK.cjs → products-B-qICtJG.cjs} +2 -2
- package/dist/{products-Q7fqnjYK.cjs.map → products-B-qICtJG.cjs.map} +1 -1
- package/dist/{src-BHiCoWU5.cjs → src-B7JarYAL.cjs} +1 -1
- package/dist/{src-BHiCoWU5.cjs.map → src-B7JarYAL.cjs.map} +1 -1
- package/dist/{src-C1qfvUE4.cjs → src-BKkLa2oq.cjs} +5 -5
- package/dist/{src-C1qfvUE4.cjs.map → src-BKkLa2oq.cjs.map} +1 -1
- package/dist/{src-J8sXTG9i.mjs → src-C2NjWMLg.mjs} +1 -1
- package/dist/{src-J8sXTG9i.mjs.map → src-C2NjWMLg.mjs.map} +1 -1
- package/dist/{src-D7GSa3rY.mjs → src-CECPMmmx.mjs} +5 -5
- package/dist/{src-D7GSa3rY.mjs.map → src-CECPMmmx.mjs.map} +1 -1
- package/dist/{use-account-clients-ak24jQa5.mjs → use-account-clients-7RWjXPNu.mjs} +3 -19
- package/dist/use-account-clients-7RWjXPNu.mjs.map +1 -0
- package/dist/{use-account-clients-D7BxTeLW.cjs → use-account-clients-YWHavlX7.cjs} +2 -30
- package/dist/use-account-clients-YWHavlX7.cjs.map +1 -0
- package/dist/{use-customer-account-KDDX2Irm.cjs → use-customer-account-BO2vTl2o.cjs} +4 -3
- package/dist/{use-customer-account-KDDX2Irm.cjs.map → use-customer-account-BO2vTl2o.cjs.map} +1 -1
- package/dist/{use-customer-account-BnnxuHea.mjs → use-customer-account-hnWIJ0oS.mjs} +3 -2
- package/dist/{use-customer-account-BnnxuHea.mjs.map → use-customer-account-hnWIJ0oS.mjs.map} +1 -1
- package/dist/{use-fluid-api-CQIVrQCO.mjs → use-fluid-api-D8iCEtbP.mjs} +2 -2
- package/dist/{use-fluid-api-CQIVrQCO.mjs.map → use-fluid-api-D8iCEtbP.mjs.map} +1 -1
- package/dist/{use-fluid-api-B27mJ8gv.cjs → use-fluid-api-haPhtgOR.cjs} +2 -2
- package/dist/{use-fluid-api-B27mJ8gv.cjs.map → use-fluid-api-haPhtgOR.cjs.map} +1 -1
- package/package.json +14 -14
- package/dist/FluidProvider-CWC6LA9W.mjs.map +0 -1
- package/dist/ProductsScreen-DVxAFERc.mjs.map +0 -1
- package/dist/ProductsScreen-D_crd0ir.cjs.map +0 -1
- package/dist/ShareablesScreen-BEFG54-I.mjs.map +0 -1
- package/dist/ShareablesScreen-BhrhYh4W.cjs.map +0 -1
- package/dist/ShopScreen-B7mMrj2I.cjs.map +0 -1
- package/dist/use-account-clients-D7BxTeLW.cjs.map +0 -1
- package/dist/use-account-clients-ak24jQa5.mjs.map +0 -1
package/dist/{AppNavigationContext-v_y8OYHo.mjs.map → AppNavigationContext-CcRZ_LqM.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppNavigationContext-
|
|
1
|
+
{"version":3,"file":"AppNavigationContext-CcRZ_LqM.mjs","names":[],"sources":["../src/shell/AppNavigationContext.tsx"],"sourcesContent":["import { createContext, useContext, useMemo, type ReactNode } from \"react\";\n\nexport interface AppNavigationContextValue {\n /** Current active slug (e.g. \"contacts/123\") */\n currentSlug: string;\n /** Base path for subpath deployments (e.g. \"/portal\"). Default: \"/\" */\n basePath: string;\n /** Navigate to a slug programmatically */\n navigate: (slug: string) => void;\n /** Build a full href for a slug (for use in <a> tags) */\n buildHref: (slug: string) => string;\n}\n\nconst AppNavigationContext = createContext<AppNavigationContextValue | null>(\n null,\n);\n\nexport interface AppNavigationProviderProps {\n currentSlug: string;\n basePath: string;\n navigate: (slug: string) => void;\n children: ReactNode;\n}\n\nexport function AppNavigationProvider({\n currentSlug,\n basePath,\n navigate,\n children,\n}: AppNavigationProviderProps): React.JSX.Element {\n const buildHref = useMemo(() => {\n return (slug: string) => {\n if (basePath === \"/\") return `/${slug}`;\n return `${basePath}/${slug}`;\n };\n }, [basePath]);\n\n const value = useMemo(\n () => ({ currentSlug, basePath, navigate, buildHref }),\n [currentSlug, basePath, navigate, buildHref],\n );\n\n return (\n <AppNavigationContext.Provider value={value}>\n {children}\n </AppNavigationContext.Provider>\n );\n}\n\nexport function useAppNavigation(): AppNavigationContextValue {\n const ctx = useContext(AppNavigationContext);\n if (!ctx) {\n throw new Error(\n \"useAppNavigation must be used within an <AppShell> or <AppNavigationProvider>\",\n );\n }\n return ctx;\n}\n"],"mappings":";;;AAaA,MAAM,uBAAuB,cAC3B,KACD;AASD,SAAgB,sBAAsB,EACpC,aACA,UACA,UACA,YACgD;CAChD,MAAM,YAAY,cAAc;AAC9B,UAAQ,SAAiB;AACvB,OAAI,aAAa,IAAK,QAAO,IAAI;AACjC,UAAO,GAAG,SAAS,GAAG;;IAEvB,CAAC,SAAS,CAAC;CAEd,MAAM,QAAQ,eACL;EAAE;EAAa;EAAU;EAAU;EAAW,GACrD;EAAC;EAAa;EAAU;EAAU;EAAU,CAC7C;AAED,QACE,oBAAC,qBAAqB,UAAtB;EAAsC;EACnC;EAC6B,CAAA;;AAIpC,SAAgB,mBAA8C;CAC5D,MAAM,MAAM,WAAW,qBAAqB;AAC5C,KAAI,CAAC,IACH,OAAM,IAAI,MACR,gFACD;AAEH,QAAO"}
|
package/dist/{AppNavigationContext-0Ij6tU2H.cjs.map → AppNavigationContext-Dt02ymnf.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppNavigationContext-
|
|
1
|
+
{"version":3,"file":"AppNavigationContext-Dt02ymnf.cjs","names":[],"sources":["../src/shell/AppNavigationContext.tsx"],"sourcesContent":["import { createContext, useContext, useMemo, type ReactNode } from \"react\";\n\nexport interface AppNavigationContextValue {\n /** Current active slug (e.g. \"contacts/123\") */\n currentSlug: string;\n /** Base path for subpath deployments (e.g. \"/portal\"). Default: \"/\" */\n basePath: string;\n /** Navigate to a slug programmatically */\n navigate: (slug: string) => void;\n /** Build a full href for a slug (for use in <a> tags) */\n buildHref: (slug: string) => string;\n}\n\nconst AppNavigationContext = createContext<AppNavigationContextValue | null>(\n null,\n);\n\nexport interface AppNavigationProviderProps {\n currentSlug: string;\n basePath: string;\n navigate: (slug: string) => void;\n children: ReactNode;\n}\n\nexport function AppNavigationProvider({\n currentSlug,\n basePath,\n navigate,\n children,\n}: AppNavigationProviderProps): React.JSX.Element {\n const buildHref = useMemo(() => {\n return (slug: string) => {\n if (basePath === \"/\") return `/${slug}`;\n return `${basePath}/${slug}`;\n };\n }, [basePath]);\n\n const value = useMemo(\n () => ({ currentSlug, basePath, navigate, buildHref }),\n [currentSlug, basePath, navigate, buildHref],\n );\n\n return (\n <AppNavigationContext.Provider value={value}>\n {children}\n </AppNavigationContext.Provider>\n );\n}\n\nexport function useAppNavigation(): AppNavigationContextValue {\n const ctx = useContext(AppNavigationContext);\n if (!ctx) {\n throw new Error(\n \"useAppNavigation must be used within an <AppShell> or <AppNavigationProvider>\",\n );\n }\n return ctx;\n}\n"],"mappings":";;;;AAaA,MAAM,wBAAA,GAAA,MAAA,eACJ,KACD;AASD,SAAgB,sBAAsB,EACpC,aACA,UACA,UACA,YACgD;CAChD,MAAM,aAAA,GAAA,MAAA,eAA0B;AAC9B,UAAQ,SAAiB;AACvB,OAAI,aAAa,IAAK,QAAO,IAAI;AACjC,UAAO,GAAG,SAAS,GAAG;;IAEvB,CAAC,SAAS,CAAC;CAEd,MAAM,SAAA,GAAA,MAAA,gBACG;EAAE;EAAa;EAAU;EAAU;EAAW,GACrD;EAAC;EAAa;EAAU;EAAU;EAAU,CAC7C;AAED,QACE,iBAAA,GAAA,kBAAA,KAAC,qBAAqB,UAAtB;EAAsC;EACnC;EAC6B,CAAA;;AAIpC,SAAgB,mBAA8C;CAC5D,MAAM,OAAA,GAAA,MAAA,YAAiB,qBAAqB;AAC5C,KAAI,CAAC,IACH,OAAM,IAAI,MACR,gFACD;AAEH,QAAO"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-ByhMGyNw.mjs";
|
|
2
|
-
import { _t as createFetchClient, n as useFluidContext } from "./FluidProvider-
|
|
2
|
+
import { _t as createFetchClient, n as useFluidContext } from "./FluidProvider-S05cIFwO.mjs";
|
|
3
3
|
import { t as parseApiErrors } from "./parse-api-errors-Dy2gL1eC.mjs";
|
|
4
4
|
import { B as DropdownMenuContent, C as SelectContent, E as SelectValue, Gt as AlertDialogDescription, Ht as AlertDialogAction, Jt as AlertDialogTitle, Kt as AlertDialogFooter, R as Label, S as Select, T as SelectTrigger, Ut as AlertDialogCancel, V as DropdownMenuItem, Vt as AlertDialog, Wt as AlertDialogContent, Yt as Button, a as Tabs, b as Skeleton, c as TabsTrigger, d as TableCell, dt as Card, f as TableHead, ft as CardContent, i as TooltipTrigger, k as Input, l as Table$1, m as TableRow, mt as CardTitle, n as TooltipContent, nn as useZodForm, o as TabsContent, p as TableHeader, pt as CardHeader, q as DropdownMenuTrigger, qt as AlertDialogHeader, r as TooltipProvider, rn as cn, s as TabsList, t as Tooltip, u as TableBody, v as fluidToast, w as SelectItem, z as DropdownMenu } from "./src-S_xL86wk.mjs";
|
|
5
|
-
import { i as PaginationFooter } from "./src-
|
|
5
|
+
import { i as PaginationFooter } from "./src-C2NjWMLg.mjs";
|
|
6
6
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
7
7
|
import { keepPreviousData, useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
8
|
+
import { z } from "zod";
|
|
8
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { ArrowLeft, Bell, Building, Calendar, CalendarDays, ChevronLeft, ChevronRight, CircleCheck, ClipboardList, EllipsisVertical, Eye, ListChecks, Mail, MessageCircle, Paperclip, Pen, Pencil, Phone, Play, Plus, Repeat2, Rocket, Search, Share2, ShoppingCart, SquareCheckBig, Star, StickyNote, Trash2, Trophy, User, UserPlus } from "lucide-react";
|
|
10
11
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
11
12
|
import { FormProvider, useController, useForm, useFormContext, useWatch } from "react-hook-form";
|
|
12
|
-
import { z } from "zod";
|
|
13
13
|
//#region ../../contacts/ui/src/shared/components/contacts/statusBadge.tsx
|
|
14
14
|
const statusStyles = {
|
|
15
15
|
new: "border-[var(--status-new-border)] bg-[var(--status-new)] text-[var(--status-new-foreground)]",
|
|
@@ -3252,4 +3252,4 @@ const contactsScreenPropertySchema = {
|
|
|
3252
3252
|
//#endregion
|
|
3253
3253
|
export { ContactsScreen_exports as n, contactsScreenPropertySchema as r, ContactsScreen as t };
|
|
3254
3254
|
|
|
3255
|
-
//# sourceMappingURL=ContactsScreen-
|
|
3255
|
+
//# sourceMappingURL=ContactsScreen-Cqj2ylQd.mjs.map
|