@fluid-app/portal-sdk 0.1.253 → 0.1.254
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/{ContactsScreen-9gyQNZY-.cjs → ContactsScreen-BC5P7RD1.cjs} +2 -2
- package/dist/{ContactsScreen-B9I61v6-.cjs → ContactsScreen-BTBszjeo.cjs} +22 -22
- package/dist/{ContactsScreen-B9I61v6-.cjs.map → ContactsScreen-BTBszjeo.cjs.map} +1 -1
- package/dist/{ContactsScreen-gMBovFil.mjs → ContactsScreen-CYl6fWtE.mjs} +22 -22
- package/dist/{ContactsScreen-gMBovFil.mjs.map → ContactsScreen-CYl6fWtE.mjs.map} +1 -1
- package/dist/{FluidProvider-Can6hW1d.mjs → FluidProvider-B58aBJhk.mjs} +4 -5
- package/dist/{FluidProvider-Can6hW1d.mjs.map → FluidProvider-B58aBJhk.mjs.map} +1 -1
- package/dist/{FluidProvider-BLri8EGR.cjs → FluidProvider-IFbNov8P.cjs} +3 -10
- package/dist/{FluidProvider-BLri8EGR.cjs.map → FluidProvider-IFbNov8P.cjs.map} +1 -1
- package/dist/{MessagingScreen-CTjDMhpI.mjs → MessagingScreen-BU7xPuff.mjs} +2 -2
- package/dist/{MessagingScreen-CLnVhFC5.cjs → MessagingScreen-BohdQMST.cjs} +2 -2
- package/dist/{MessagingScreen-BqmMhGDq.mjs → MessagingScreen-CKE4KsvW.mjs} +2 -2
- package/dist/{MessagingScreen-BqmMhGDq.mjs.map → MessagingScreen-CKE4KsvW.mjs.map} +1 -1
- package/dist/{MessagingScreen-CLcsshRX.cjs → MessagingScreen-CrTcbztO.cjs} +2 -2
- package/dist/{MessagingScreen-CLcsshRX.cjs.map → MessagingScreen-CrTcbztO.cjs.map} +1 -1
- package/dist/{ProfileScreen-Ckh4xGkq.cjs → ProfileScreen-CFXyi6hi.cjs} +2 -2
- package/dist/{ProfileScreen-Ckh4xGkq.cjs.map → ProfileScreen-CFXyi6hi.cjs.map} +1 -1
- package/dist/{ProfileScreen-0fVNXPBY.cjs → ProfileScreen-CS-4fa9g.cjs} +2 -2
- package/dist/{ProfileScreen-6nDSJ8F0.mjs → ProfileScreen-CfTHeXRn.mjs} +2 -2
- package/dist/{ProfileScreen-DvWpS_uG.mjs → ProfileScreen-DxO1rvGl.mjs} +2 -2
- package/dist/{ProfileScreen-DvWpS_uG.mjs.map → ProfileScreen-DxO1rvGl.mjs.map} +1 -1
- package/dist/{ShopScreen-Cdxvxph7.cjs → ShopScreen-C4z4aB8f.cjs} +3 -3
- package/dist/{ShopScreen-Cdxvxph7.cjs.map → ShopScreen-C4z4aB8f.cjs.map} +1 -1
- package/dist/{ShopScreen-C5IVlT_r.cjs → ShopScreen-CrRI83Xk.cjs} +3 -3
- package/dist/{ShopScreen-CvefnY1H.mjs → ShopScreen-DXzBm27P.mjs} +3 -3
- package/dist/{ShopScreen-CvefnY1H.mjs.map → ShopScreen-DXzBm27P.mjs.map} +1 -1
- package/dist/{ShopScreen-Dyy0Yi2Q.mjs → ShopScreen-kuA8cWVc.mjs} +3 -3
- package/dist/de-C_Zyp0-8.mjs +55 -0
- package/dist/de-C_Zyp0-8.mjs.map +1 -0
- package/dist/de-DeRNmEET.cjs +61 -0
- package/dist/de-DeRNmEET.cjs.map +1 -0
- package/dist/el-BD_oG0S8.cjs +61 -0
- package/dist/el-BD_oG0S8.cjs.map +1 -0
- package/dist/el-DR5yE3hc.mjs +55 -0
- package/dist/el-DR5yE3hc.mjs.map +1 -0
- package/dist/es-BBPaROwb.mjs +55 -0
- package/dist/es-BBPaROwb.mjs.map +1 -0
- package/dist/es-Bb_shBOb.cjs +61 -0
- package/dist/es-Bb_shBOb.cjs.map +1 -0
- package/dist/fr-BetvW17a.mjs +55 -0
- package/dist/fr-BetvW17a.mjs.map +1 -0
- package/dist/fr-Cah7_RPB.cjs +61 -0
- package/dist/fr-Cah7_RPB.cjs.map +1 -0
- package/dist/he-D3kODvf8.mjs +55 -0
- package/dist/he-D3kODvf8.mjs.map +1 -0
- package/dist/he-gYOd_7Xx.cjs +61 -0
- package/dist/he-gYOd_7Xx.cjs.map +1 -0
- package/dist/hu-C68EBfmm.mjs +55 -0
- package/dist/hu-C68EBfmm.mjs.map +1 -0
- package/dist/hu-Cn5739bo.cjs +61 -0
- package/dist/hu-Cn5739bo.cjs.map +1 -0
- package/dist/id-BH2K_Gbr.cjs +61 -0
- package/dist/id-BH2K_Gbr.cjs.map +1 -0
- package/dist/id-Bt8m325E.mjs +55 -0
- package/dist/id-Bt8m325E.mjs.map +1 -0
- package/dist/index.cjs +18 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +19 -55
- package/dist/index.mjs.map +1 -1
- package/dist/it-BqtPjHii.cjs +61 -0
- package/dist/it-BqtPjHii.cjs.map +1 -0
- package/dist/it-WF3n2-Dh.mjs +55 -0
- package/dist/it-WF3n2-Dh.mjs.map +1 -0
- package/dist/ja-D6Gu5dFq.cjs +61 -0
- package/dist/ja-D6Gu5dFq.cjs.map +1 -0
- package/dist/ja-DwJ0vZjy.mjs +55 -0
- package/dist/ja-DwJ0vZjy.mjs.map +1 -0
- package/dist/ko-BdbrLr2D.mjs +55 -0
- package/dist/ko-BdbrLr2D.mjs.map +1 -0
- package/dist/ko-Dl2fBpWC.cjs +61 -0
- package/dist/ko-Dl2fBpWC.cjs.map +1 -0
- package/dist/nl-CA5o2t0S.cjs +61 -0
- package/dist/nl-CA5o2t0S.cjs.map +1 -0
- package/dist/nl-CUiqH5zZ.mjs +55 -0
- package/dist/nl-CUiqH5zZ.mjs.map +1 -0
- package/dist/pl-IbyEkNiD.mjs +55 -0
- package/dist/pl-IbyEkNiD.mjs.map +1 -0
- package/dist/pl-WlQv3-yq.cjs +61 -0
- package/dist/pl-WlQv3-yq.cjs.map +1 -0
- package/dist/pt-BhhvO4Qw.mjs +55 -0
- package/dist/pt-BhhvO4Qw.mjs.map +1 -0
- package/dist/pt-Cuoe77sP.cjs +61 -0
- package/dist/pt-Cuoe77sP.cjs.map +1 -0
- package/dist/ro-DIrwj2Mc.cjs +61 -0
- package/dist/ro-DIrwj2Mc.cjs.map +1 -0
- package/dist/ro-GgbW8Cux.mjs +55 -0
- package/dist/ro-GgbW8Cux.mjs.map +1 -0
- package/dist/ru-BC9x5NIp.mjs +55 -0
- package/dist/ru-BC9x5NIp.mjs.map +1 -0
- package/dist/ru-DCHj3W_N.cjs +61 -0
- package/dist/ru-DCHj3W_N.cjs.map +1 -0
- package/dist/{static-dict-adapter-Bxrw9FK5.cjs → static-dict-adapter-BLfRl80i.cjs} +1 -2
- package/dist/static-dict-adapter-BLfRl80i.cjs.map +1 -0
- package/dist/{static-dict-adapter-Bc5RtEkZ.mjs → static-dict-adapter-CdbsRyE-.mjs} +1 -2
- package/dist/static-dict-adapter-CdbsRyE-.mjs.map +1 -0
- package/dist/th-C2DeNJoD.mjs +55 -0
- package/dist/th-C2DeNJoD.mjs.map +1 -0
- package/dist/th-CebgyxgZ.cjs +61 -0
- package/dist/th-CebgyxgZ.cjs.map +1 -0
- package/dist/tl-CxY_bq4K.mjs +55 -0
- package/dist/tl-CxY_bq4K.mjs.map +1 -0
- package/dist/tl-DlFV8z30.cjs +61 -0
- package/dist/tl-DlFV8z30.cjs.map +1 -0
- package/dist/tr-Dj-KyRbz.cjs +61 -0
- package/dist/tr-Dj-KyRbz.cjs.map +1 -0
- package/dist/tr-DjrNAJD7.mjs +55 -0
- package/dist/tr-DjrNAJD7.mjs.map +1 -0
- package/dist/zh_CN-BE-GTtuO.mjs +55 -0
- package/dist/zh_CN-BE-GTtuO.mjs.map +1 -0
- package/dist/zh_CN-s2Jm_Dbu.cjs +61 -0
- package/dist/zh_CN-s2Jm_Dbu.cjs.map +1 -0
- package/dist/zh_TW-CR1xJCr6.mjs +55 -0
- package/dist/zh_TW-CR1xJCr6.mjs.map +1 -0
- package/dist/zh_TW-t10xPnCU.cjs +61 -0
- package/dist/zh_TW-t10xPnCU.cjs.map +1 -0
- package/package.json +15 -15
- package/dist/de-69v-QMl3.mjs +0 -6
- package/dist/de-69v-QMl3.mjs.map +0 -1
- package/dist/de-CvBkoR8P.cjs +0 -12
- package/dist/de-CvBkoR8P.cjs.map +0 -1
- package/dist/el-CP3qYmjt.cjs +0 -12
- package/dist/el-CP3qYmjt.cjs.map +0 -1
- package/dist/el-moRf_431.mjs +0 -6
- package/dist/el-moRf_431.mjs.map +0 -1
- package/dist/es-BAjIJqb8.mjs +0 -6
- package/dist/es-BAjIJqb8.mjs.map +0 -1
- package/dist/es-DdHDXWW1.cjs +0 -12
- package/dist/es-DdHDXWW1.cjs.map +0 -1
- package/dist/fr-B6rL2HtM.mjs +0 -6
- package/dist/fr-B6rL2HtM.mjs.map +0 -1
- package/dist/fr-wZG7Wsps.cjs +0 -12
- package/dist/fr-wZG7Wsps.cjs.map +0 -1
- package/dist/he-B5y3gSwp.mjs +0 -6
- package/dist/he-B5y3gSwp.mjs.map +0 -1
- package/dist/he-C_xAhEyE.cjs +0 -12
- package/dist/he-C_xAhEyE.cjs.map +0 -1
- package/dist/hu-BYzcu3lh.mjs +0 -6
- package/dist/hu-BYzcu3lh.mjs.map +0 -1
- package/dist/hu-CttQPNpi.cjs +0 -12
- package/dist/hu-CttQPNpi.cjs.map +0 -1
- package/dist/id-D_R-JS-K.mjs +0 -6
- package/dist/id-D_R-JS-K.mjs.map +0 -1
- package/dist/id-iykEHp5z.cjs +0 -12
- package/dist/id-iykEHp5z.cjs.map +0 -1
- package/dist/it-BM8H-5lK.mjs +0 -6
- package/dist/it-BM8H-5lK.mjs.map +0 -1
- package/dist/it-aOan3LJA.cjs +0 -12
- package/dist/it-aOan3LJA.cjs.map +0 -1
- package/dist/ja-DJwh8O25.cjs +0 -12
- package/dist/ja-DJwh8O25.cjs.map +0 -1
- package/dist/ja-uq5fuZ2n.mjs +0 -6
- package/dist/ja-uq5fuZ2n.mjs.map +0 -1
- package/dist/ko-BrOveybS.cjs +0 -12
- package/dist/ko-BrOveybS.cjs.map +0 -1
- package/dist/ko-DCZTj-Cn.mjs +0 -6
- package/dist/ko-DCZTj-Cn.mjs.map +0 -1
- package/dist/nl-BOJJj-wO.mjs +0 -6
- package/dist/nl-BOJJj-wO.mjs.map +0 -1
- package/dist/nl-CwVoaQ7l.cjs +0 -12
- package/dist/nl-CwVoaQ7l.cjs.map +0 -1
- package/dist/pl-Cjublhfj.mjs +0 -6
- package/dist/pl-Cjublhfj.mjs.map +0 -1
- package/dist/pl-CxlPZSW0.cjs +0 -12
- package/dist/pl-CxlPZSW0.cjs.map +0 -1
- package/dist/pt-DIdr0upI.cjs +0 -12
- package/dist/pt-DIdr0upI.cjs.map +0 -1
- package/dist/pt-Dj1-G3ee.mjs +0 -6
- package/dist/pt-Dj1-G3ee.mjs.map +0 -1
- package/dist/ro-94vihNFf.mjs +0 -6
- package/dist/ro-94vihNFf.mjs.map +0 -1
- package/dist/ro-B_Do9sPB.cjs +0 -12
- package/dist/ro-B_Do9sPB.cjs.map +0 -1
- package/dist/ru-CeRancbh.cjs +0 -12
- package/dist/ru-CeRancbh.cjs.map +0 -1
- package/dist/ru-DoATiIwu.mjs +0 -6
- package/dist/ru-DoATiIwu.mjs.map +0 -1
- package/dist/static-dict-adapter-Bc5RtEkZ.mjs.map +0 -1
- package/dist/static-dict-adapter-Bxrw9FK5.cjs.map +0 -1
- package/dist/th-B43cNBU0.cjs +0 -12
- package/dist/th-B43cNBU0.cjs.map +0 -1
- package/dist/th-YR02xDFQ.mjs +0 -6
- package/dist/th-YR02xDFQ.mjs.map +0 -1
- package/dist/tl-CHqst9js.cjs +0 -12
- package/dist/tl-CHqst9js.cjs.map +0 -1
- package/dist/tl-RXmEp0_X.mjs +0 -6
- package/dist/tl-RXmEp0_X.mjs.map +0 -1
- package/dist/tr-BuEAVG9I.mjs +0 -6
- package/dist/tr-BuEAVG9I.mjs.map +0 -1
- package/dist/tr-DYe4JMxj.cjs +0 -12
- package/dist/tr-DYe4JMxj.cjs.map +0 -1
- package/dist/zh_CN-CUeI99z0.cjs +0 -12
- package/dist/zh_CN-CUeI99z0.cjs.map +0 -1
- package/dist/zh_CN-NCLMiB-i.mjs +0 -6
- package/dist/zh_CN-NCLMiB-i.mjs.map +0 -1
- package/dist/zh_TW-CgTn_SV4.cjs +0 -12
- package/dist/zh_TW-CgTn_SV4.cjs.map +0 -1
- package/dist/zh_TW-CtEmIukX.mjs +0 -6
- package/dist/zh_TW-CtEmIukX.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as parseColor, B as deleteDatabase, C as DEFAULT_THEME_ID, D as deriveDarkVariant, E as generateThemeCSS, F as SEMANTIC_COLOR_NAMES, M as FONT_FAMILY_KEYS, N as FONT_SIZE_KEYS, O as getForegroundColor, P as RADIUS_KEYS, R as useAppDefinitionApi, S as DEFAULT_SPACING, T as getDefaultThemeDefinition, _ as serialiseTheme, a as createScreen, b as DEFAULT_FONT_SIZES, c as FluidThemeProvider, d as removeAllThemes, f as removeTheme, g as deserialiseTheme, h as transformThemes, i as widgetPropertySchemas, j as resolveTheme, k as mergeDarkOverrides, l as useThemeContext, m as getActiveThemeId, n as useFluidContext, o as createWidgetFromShareable, p as buildThemeDefinition, r as DEFAULT_SDK_WIDGET_REGISTRY, s as createWidgetRegistry, t as FluidProvider, u as applyTheme, v as DEFAULT_COLORS, w as DEFAULT_THEME_NAME, x as DEFAULT_RADII, y as DEFAULT_FONT_FAMILIES, z as createPersister } from "./FluidProvider-B58aBJhk.mjs";
|
|
2
2
|
import { a as assertNever, i as assertDefined, n as DataAwareWidget, o as isWidgetType, r as WIDGET_TYPE_NAMES, s as isWidgetTypeName, u as useRegistry } from "./ScreenRenderer-YOmW7J80.mjs";
|
|
3
3
|
import "./account-api-context-BIZ_aibJ.mjs";
|
|
4
4
|
import "./store-api-context-C1lXT_3d.mjs";
|
|
@@ -9,7 +9,7 @@ import { n as usePortalTenantClient } from "./PortalTenantClientProvider-4ZmY6ha
|
|
|
9
9
|
import "./registry-context-BSJeDI2A.mjs";
|
|
10
10
|
import { t as WidgetInteractionProvider } from "./WidgetInteractionContext-I716c8kj.mjs";
|
|
11
11
|
import { a as useRepUser, i as RepUserProvider, r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-DE1yhLR1.mjs";
|
|
12
|
-
import
|
|
12
|
+
import "./locale-context-B_ufX9EH.mjs";
|
|
13
13
|
import "./error-state--Z2OlDFr.mjs";
|
|
14
14
|
import { a as sectionLayoutConfig, i as groupChildrenByColumn, r as layoutWidgetPropertySchema, t as LayoutWidget } from "./LayoutWidget-8KxCmJcd.mjs";
|
|
15
15
|
import { g as isPropertyFieldType, h as PROPERTY_FIELD_TYPES, r as gapValues } from "./registries-kvRRUHcO.mjs";
|
|
@@ -24,7 +24,7 @@ import "./MediaRenderer-13Jlf38P.mjs";
|
|
|
24
24
|
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-C0X-nFyW.mjs";
|
|
25
25
|
import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-Bj30ZbUk.mjs";
|
|
26
26
|
import { At as CardTitle, C as Skeleton$1, Dt as CardDescription, In as cn$1, On as Button, Ot as CardFooter, _t as CollapsibleContent, gt as Collapsible, ht as PopoverTrigger, kt as CardHeader, mt as PopoverContent, pt as Popover, vt as CollapsibleTrigger, wt as Card, x as Toaster } from "./src-C2-FdDaD.mjs";
|
|
27
|
-
import { a as useMessagingAuth, i as useMessagingConfig, n as messagingScreenPropertySchema, r as createFluidFileUploader, t as MessagingScreen } from "./MessagingScreen-
|
|
27
|
+
import { a as useMessagingAuth, i as useMessagingConfig, n as messagingScreenPropertySchema, r as createFluidFileUploader, t as MessagingScreen } from "./MessagingScreen-CKE4KsvW.mjs";
|
|
28
28
|
import { r as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-Y4UgpC1Y.mjs";
|
|
29
29
|
import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-VQNT2NgS.mjs";
|
|
30
30
|
import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-YMePQ1FG.mjs";
|
|
@@ -50,11 +50,11 @@ import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigati
|
|
|
50
50
|
import "./AddressAutocompleteInput-Dy5sL54V.mjs";
|
|
51
51
|
import "./sortable.esm-C-MnF_6h.mjs";
|
|
52
52
|
import "./components-C556hFhF.mjs";
|
|
53
|
-
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
53
|
+
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-DxO1rvGl.mjs";
|
|
54
54
|
import "./dist-CCN3CBrB.mjs";
|
|
55
55
|
import "./es-CJB82_ux.mjs";
|
|
56
|
-
import "./static-dict-adapter-
|
|
57
|
-
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-
|
|
56
|
+
import "./static-dict-adapter-CdbsRyE-.mjs";
|
|
57
|
+
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-CYl6fWtE.mjs";
|
|
58
58
|
import "./dist-BSeGZUFs.mjs";
|
|
59
59
|
import "./order-status-badge-z-_tAqHq.mjs";
|
|
60
60
|
import { r as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-BQiVo6oK.mjs";
|
|
@@ -62,14 +62,14 @@ import "./SearchSort-RMqZCtu4.mjs";
|
|
|
62
62
|
import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-NLTRHHJf.mjs";
|
|
63
63
|
import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-fbEYL6HO.mjs";
|
|
64
64
|
import "./PortalProductsApiProvider-INNXFwu_.mjs";
|
|
65
|
-
import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-
|
|
65
|
+
import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-DXzBm27P.mjs";
|
|
66
66
|
import "./UpgradeScreen-DoBQk24a.mjs";
|
|
67
67
|
import "./AppDownloadScreen-BnuNBZnT.mjs";
|
|
68
68
|
import * as React$1 from "react";
|
|
69
69
|
import { Component, StrictMode, Suspense, createContext, forwardRef, lazy, memo, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
70
70
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
71
71
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
72
|
-
import { Bell, Box, Boxes, Briefcase, Building2, Calendar,
|
|
72
|
+
import { Bell, Box, Boxes, Briefcase, Building2, Calendar, ChevronRight, CircleUser, Compass, ContactRound, Ellipsis, File, FileText, FileVideo, Folder, FolderOpen, Globe, GraduationCap, Heart, House, Image, LayoutGrid, ListMusic, LogOut, Mail, Menu, MessageCircle, MessageSquare, Moon, PackageOpen, PanelLeft, Repeat, Search, Settings, ShoppingCart, Smartphone, Star, Store, Sun, TriangleAlert, User, UserCog, Users, X } from "lucide-react";
|
|
73
73
|
import { clsx } from "clsx";
|
|
74
74
|
import { twMerge } from "tailwind-merge";
|
|
75
75
|
import { Slot } from "@radix-ui/react-slot";
|
|
@@ -1746,41 +1746,6 @@ function SdkMobileProfileMenu({ onNavigate, onLogout }) {
|
|
|
1746
1746
|
})] });
|
|
1747
1747
|
}
|
|
1748
1748
|
//#endregion
|
|
1749
|
-
//#region src/shell/LanguageSelector.tsx
|
|
1750
|
-
function LanguageSelector() {
|
|
1751
|
-
const [open, setOpen] = useState(false);
|
|
1752
|
-
const { locale, setLocale } = useActiveLocale();
|
|
1753
|
-
return /* @__PURE__ */ jsxs(Popover, {
|
|
1754
|
-
open,
|
|
1755
|
-
onOpenChange: setOpen,
|
|
1756
|
-
children: [/* @__PURE__ */ jsx(PopoverTrigger, {
|
|
1757
|
-
asChild: true,
|
|
1758
|
-
children: /* @__PURE__ */ jsxs(Button, {
|
|
1759
|
-
variant: "ghost",
|
|
1760
|
-
size: "sm",
|
|
1761
|
-
className: "text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shrink-0 gap-1.5",
|
|
1762
|
-
"aria-label": "Select language",
|
|
1763
|
-
children: [/* @__PURE__ */ jsx(Globe, { className: "h-3 w-3" }), /* @__PURE__ */ jsx("span", {
|
|
1764
|
-
className: "text-xs uppercase",
|
|
1765
|
-
children: locale.split("_")[0]
|
|
1766
|
-
})]
|
|
1767
|
-
})
|
|
1768
|
-
}), /* @__PURE__ */ jsx(PopoverContent, {
|
|
1769
|
-
align: "end",
|
|
1770
|
-
className: "bg-popover z-50 w-56 rounded-lg p-1 shadow-lg",
|
|
1771
|
-
children: SUPPORTED_LANGUAGES.map((lang) => /* @__PURE__ */ jsxs(Button, {
|
|
1772
|
-
variant: "ghost",
|
|
1773
|
-
className: "h-auto w-full justify-between px-3 py-2 text-left text-sm whitespace-normal",
|
|
1774
|
-
onClick: () => {
|
|
1775
|
-
setLocale(lang.iso);
|
|
1776
|
-
setOpen(false);
|
|
1777
|
-
},
|
|
1778
|
-
children: [/* @__PURE__ */ jsx("span", { children: lang.name }), lang.iso === locale && /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" })]
|
|
1779
|
-
}, lang.iso))
|
|
1780
|
-
})]
|
|
1781
|
-
});
|
|
1782
|
-
}
|
|
1783
|
-
//#endregion
|
|
1784
1749
|
//#region src/shell/SdkHeader.tsx
|
|
1785
1750
|
function SdkHeader({ mobileTabs, currentSlug, onNavigate, onLogout }) {
|
|
1786
1751
|
const sidebar = useSidebar();
|
|
@@ -1791,12 +1756,12 @@ function SdkHeader({ mobileTabs, currentSlug, onNavigate, onLogout }) {
|
|
|
1791
1756
|
className: "bg-sidebar shrink-0",
|
|
1792
1757
|
children: [isMobileWithBottomNav ? /* @__PURE__ */ jsx("div", {
|
|
1793
1758
|
className: "flex h-[52px] items-center px-4",
|
|
1794
|
-
children: /* @__PURE__ */
|
|
1759
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
1795
1760
|
className: "text-muted-foreground ml-auto flex flex-none items-center justify-end gap-2",
|
|
1796
|
-
children:
|
|
1761
|
+
children: /* @__PURE__ */ jsx(SdkMobileProfileMenu, {
|
|
1797
1762
|
onNavigate,
|
|
1798
1763
|
onLogout
|
|
1799
|
-
})
|
|
1764
|
+
})
|
|
1800
1765
|
})
|
|
1801
1766
|
}) : /* @__PURE__ */ jsxs("div", {
|
|
1802
1767
|
className: "flex h-[52px] items-center gap-2 px-6",
|
|
@@ -1809,7 +1774,6 @@ function SdkHeader({ mobileTabs, currentSlug, onNavigate, onLogout }) {
|
|
|
1809
1774
|
children: /* @__PURE__ */ jsx(Menu, { className: "size-5" })
|
|
1810
1775
|
}),
|
|
1811
1776
|
/* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
1812
|
-
/* @__PURE__ */ jsx(LanguageSelector, {}),
|
|
1813
1777
|
/* @__PURE__ */ jsx("button", {
|
|
1814
1778
|
type: "button",
|
|
1815
1779
|
onClick: themeMode.cycleMode,
|
|
@@ -2109,12 +2073,12 @@ function BuilderScreenViewImpl({ screen, className }) {
|
|
|
2109
2073
|
const BuilderScreenView = memo(BuilderScreenViewImpl);
|
|
2110
2074
|
//#endregion
|
|
2111
2075
|
//#region src/shell/system-screen-map.ts
|
|
2112
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
2076
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-CfTHeXRn.mjs").then((m) => ({ default: m.ProfileScreen })));
|
|
2113
2077
|
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-BQiVo6oK.mjs").then((n) => n.n).then((m) => ({ default: m.OrdersScreen })));
|
|
2114
2078
|
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-Y4UgpC1Y.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2115
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
2116
|
-
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-
|
|
2117
|
-
const ShopScreen$1 = lazy(() => import("./ShopScreen-
|
|
2079
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-BU7xPuff.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
2080
|
+
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-CYl6fWtE.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
|
|
2081
|
+
const ShopScreen$1 = lazy(() => import("./ShopScreen-kuA8cWVc.mjs").then((m) => ({ default: m.ShopScreen })));
|
|
2118
2082
|
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-COYZv9YJ.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
2119
2083
|
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-D-8ftgWG.mjs").then((m) => ({ default: m.ShareablesScreen })));
|
|
2120
2084
|
const MySiteScreen$1 = lazy(() => import("./MySiteScreen-NLTRHHJf.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
|
|
@@ -3762,15 +3726,15 @@ z.object({
|
|
|
3762
3726
|
//#endregion
|
|
3763
3727
|
//#region src/screens/index.ts
|
|
3764
3728
|
const screenPropertySchemas = {
|
|
3765
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
3766
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
3767
|
-
ContactsScreen: () => import("./ContactsScreen-
|
|
3729
|
+
ProfileScreen: () => import("./ProfileScreen-CfTHeXRn.mjs").then((m) => m.profileScreenPropertySchema),
|
|
3730
|
+
MessagingScreen: () => import("./MessagingScreen-BU7xPuff.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
3731
|
+
ContactsScreen: () => import("./ContactsScreen-CYl6fWtE.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
|
|
3768
3732
|
OrdersScreen: () => import("./OrdersScreen-BQiVo6oK.mjs").then((n) => n.n).then((m) => m.ordersScreenPropertySchema),
|
|
3769
3733
|
SubscriptionsScreen: () => import("./SubscriptionsScreen-Y4UgpC1Y.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
|
|
3770
3734
|
CustomersScreen: () => import("./CustomersScreen-COYZv9YJ.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
3771
3735
|
MySiteScreen: () => import("./MySiteScreen-NLTRHHJf.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
|
|
3772
3736
|
ShareablesScreen: () => import("./ShareablesScreen-D-8ftgWG.mjs").then((m) => m.shareablesScreenPropertySchema),
|
|
3773
|
-
ShopScreen: () => import("./ShopScreen-
|
|
3737
|
+
ShopScreen: () => import("./ShopScreen-kuA8cWVc.mjs").then((m) => m.shopScreenPropertySchema),
|
|
3774
3738
|
UpgradeScreen: () => import("./UpgradeScreen-DoBQk24a.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
|
|
3775
3739
|
AppDownloadScreen: () => import("./AppDownloadScreen-BnuNBZnT.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
|
|
3776
3740
|
};
|