@fluid-app/portal-sdk 0.1.404 → 0.1.406
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/{ContainerWidget-C59aHP9i.cjs → ContainerWidget-DILiQ1sH.cjs} +2 -2
- package/dist/{ContainerWidget-VRJ-V8sJ.cjs → ContainerWidget-I3XoxvEB.cjs} +2 -2
- package/dist/{ContainerWidget-VRJ-V8sJ.cjs.map → ContainerWidget-I3XoxvEB.cjs.map} +1 -1
- package/dist/{ContainerWidget-CC1zIMoX.mjs → ContainerWidget-ROInhX2I.mjs} +2 -2
- package/dist/{ContainerWidget-CC1zIMoX.mjs.map → ContainerWidget-ROInhX2I.mjs.map} +1 -1
- package/dist/{FluidProvider-w-PbxHiZ.mjs → FluidProvider-GKnXkeIj.mjs} +5 -5
- package/dist/{FluidProvider-w-PbxHiZ.mjs.map → FluidProvider-GKnXkeIj.mjs.map} +1 -1
- package/dist/{FluidProvider-D2ZXrmtu.cjs → FluidProvider-zwOtjsPk.cjs} +5 -5
- package/dist/{FluidProvider-D2ZXrmtu.cjs.map → FluidProvider-zwOtjsPk.cjs.map} +1 -1
- package/dist/{LayoutWidget-B6mLhd_v.mjs → LayoutWidget-B0IM6rzk.mjs} +4 -2
- package/dist/{LayoutWidget-B6mLhd_v.mjs.map → LayoutWidget-B0IM6rzk.mjs.map} +1 -1
- package/dist/{LayoutWidget-CUcF98Yv.cjs → LayoutWidget-CMcW03wp.cjs} +1 -1
- package/dist/{LayoutWidget-dn5ftAss.cjs → LayoutWidget-tf4a1rJr.cjs} +4 -2
- package/dist/{LayoutWidget-dn5ftAss.cjs.map → LayoutWidget-tf4a1rJr.cjs.map} +1 -1
- package/dist/{MessagingScreen-CEsE-08Y.cjs → MessagingScreen-B5ZgL6_2.cjs} +4 -4
- package/dist/{MessagingScreen-Dne7NwPj.cjs → MessagingScreen-CEkYdJlq.cjs} +2 -2
- package/dist/{MessagingScreen-Dne7NwPj.cjs.map → MessagingScreen-CEkYdJlq.cjs.map} +1 -1
- package/dist/{MessagingScreen-CsQU4HRk.mjs → MessagingScreen-COt4qkak.mjs} +4 -4
- package/dist/{MessagingScreen-BnaWRPuP.mjs → MessagingScreen-DVceg9ih.mjs} +2 -2
- package/dist/{MessagingScreen-BnaWRPuP.mjs.map → MessagingScreen-DVceg9ih.mjs.map} +1 -1
- package/dist/{OrdersScreen-BK0fGnpW.cjs → OrdersScreen-BlNndMxv.cjs} +208 -217
- package/dist/OrdersScreen-BlNndMxv.cjs.map +1 -0
- package/dist/{OrdersScreen-CUwiV1Uy.cjs → OrdersScreen-CXy2Vp_2.cjs} +4 -4
- package/dist/{OrdersScreen-K8jpRA_z.mjs → OrdersScreen-Cy2M0ZKk.mjs} +208 -217
- package/dist/OrdersScreen-Cy2M0ZKk.mjs.map +1 -0
- package/dist/{OrdersScreen-CGbcnv2h.mjs → OrdersScreen-DbORjbmv.mjs} +4 -4
- package/dist/{ProfileScreen-mtM-44zQ.mjs → ProfileScreen-AINzmYhB.mjs} +5 -5
- package/dist/{ProfileScreen-DKUniR1Y.cjs → ProfileScreen-BNChpThr.cjs} +5 -5
- package/dist/{ProfileScreen-Ds-P1N_j.mjs → ProfileScreen-BUjYpFxb.mjs} +3 -3
- package/dist/{ProfileScreen-Ds-P1N_j.mjs.map → ProfileScreen-BUjYpFxb.mjs.map} +1 -1
- package/dist/{ProfileScreen-ByzemRQY.cjs → ProfileScreen-Dsgfmgnj.cjs} +3 -3
- package/dist/{ProfileScreen-ByzemRQY.cjs.map → ProfileScreen-Dsgfmgnj.cjs.map} +1 -1
- package/dist/{ShopScreen-NfoqshXL.cjs → ShopScreen-BnuqmbI4.cjs} +4 -4
- package/dist/{ShopScreen-BEAKbAKU.cjs → ShopScreen-CWKF8aXQ.cjs} +2 -2
- package/dist/{ShopScreen-BEAKbAKU.cjs.map → ShopScreen-CWKF8aXQ.cjs.map} +1 -1
- package/dist/{ShopScreen-BHHRYQby.mjs → ShopScreen-b0u6k-QC.mjs} +2 -2
- package/dist/{ShopScreen-BHHRYQby.mjs.map → ShopScreen-b0u6k-QC.mjs.map} +1 -1
- package/dist/{ShopScreen-Du8UwaL2.mjs → ShopScreen-sPlTXKHt.mjs} +4 -4
- package/dist/{SubscriptionsScreen-CmH6q1xO.mjs → SubscriptionsScreen-0xmYA0F7.mjs} +5 -5
- package/dist/{SubscriptionsScreen-D0u_EuIi.mjs → SubscriptionsScreen-B3-aPOUe.mjs} +3 -3
- package/dist/{SubscriptionsScreen-D0u_EuIi.mjs.map → SubscriptionsScreen-B3-aPOUe.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-BM_q1ut3.cjs → SubscriptionsScreen-BNJPJC4Q.cjs} +5 -5
- package/dist/{SubscriptionsScreen-CqftonHe.cjs → SubscriptionsScreen-CMtKOvwi.cjs} +3 -3
- package/dist/{SubscriptionsScreen-CqftonHe.cjs.map → SubscriptionsScreen-CMtKOvwi.cjs.map} +1 -1
- package/dist/adapters/orders-api-adapter.d.ts.map +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +20 -20
- package/dist/preview/preview-entry.cjs +4 -4
- package/dist/preview/preview-entry.mjs +4 -4
- package/dist/screens/orders/PortalOrdersList.d.ts.map +1 -1
- package/dist/screens/orders/portal-orders-list-helpers.d.ts +7 -17
- package/dist/screens/orders/portal-orders-list-helpers.d.ts.map +1 -1
- package/dist/{use-portal-card-add-3ds-flow-B_sHohTN.mjs → use-portal-card-add-3ds-flow-B4DUz_fQ.mjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-B_sHohTN.mjs.map → use-portal-card-add-3ds-flow-B4DUz_fQ.mjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-Ca7Fvofg.cjs → use-portal-card-add-3ds-flow-BQyP5sxL.cjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-Ca7Fvofg.cjs.map → use-portal-card-add-3ds-flow-BQyP5sxL.cjs.map} +1 -1
- package/dist/{widget-package-utils-3cs8viyn.mjs → widget-package-utils-B7z7qApd.mjs} +2 -2
- package/dist/{widget-package-utils-3cs8viyn.mjs.map → widget-package-utils-B7z7qApd.mjs.map} +1 -1
- package/dist/{widget-package-utils-CygmmEmW.cjs → widget-package-utils-BGgoR0N5.cjs} +2 -2
- package/dist/{widget-package-utils-CygmmEmW.cjs.map → widget-package-utils-BGgoR0N5.cjs.map} +1 -1
- package/package.json +9 -9
- package/dist/OrdersScreen-BK0fGnpW.cjs.map +0 -1
- package/dist/OrdersScreen-K8jpRA_z.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./translation-adapter-B-Vhfzbz.mjs";
|
|
2
|
-
import { C as useLanguagesApi, f as DEFAULT_SDK_WIDGET_REGISTRY, g as createWidgetRegistry, h as createWidgetFromShareable, m as createScreen, n as useFluidContext, p as widgetPropertySchemas, r as SUPPORTED_LANGUAGES, t as FluidProvider, v as shellEn } from "./FluidProvider-
|
|
2
|
+
import { C as useLanguagesApi, f as DEFAULT_SDK_WIDGET_REGISTRY, g as createWidgetRegistry, h as createWidgetFromShareable, m as createScreen, n as useFluidContext, p as widgetPropertySchemas, r as SUPPORTED_LANGUAGES, t as FluidProvider, v as shellEn } from "./FluidProvider-GKnXkeIj.mjs";
|
|
3
3
|
import { A as useAppDefinitionApi, C as parseColor, D as RADIUS_KEYS, E as FONT_SIZE_KEYS, O as SEMANTIC_COLOR_NAMES, S as mergeDarkOverrides, T as FONT_FAMILY_KEYS, _ as DEFAULT_THEME_NAME, a as removeTheme, b as deriveDarkVariant, c as transformThemes, d as DEFAULT_COLORS, f as DEFAULT_FONT_FAMILIES, g as DEFAULT_THEME_ID, h as DEFAULT_SPACING, i as removeAllThemes, l as deserialiseTheme, m as DEFAULT_RADII, n as useThemeContext, o as buildThemeDefinition, p as DEFAULT_FONT_SIZES, r as applyTheme, s as getActiveThemeId, t as FluidThemeProvider, u as serialiseTheme, v as getDefaultThemeDefinition, w as resolveTheme, x as getForegroundColor, y as generateThemeCSS } from "./FluidThemeProvider-D_O4NV2b.mjs";
|
|
4
4
|
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-CBL1EEk8.mjs";
|
|
5
5
|
import { t as useAccount } from "./use-account-CVCEuI6e.mjs";
|
|
@@ -23,7 +23,7 @@ import { r as useShellTranslation, t as ShellTranslationContext } from "./shell-
|
|
|
23
23
|
import "./error-state-CmesiiXJ.mjs";
|
|
24
24
|
import { r as pointsWidgetPropertySchema, t as PointsWidget } from "./PointsWidget-Bvnj_7Ck.mjs";
|
|
25
25
|
import "./task-composer-form-DOoKMb9i.mjs";
|
|
26
|
-
import { a as sectionLayoutConfig, i as groupChildrenByColumn, r as layoutWidgetPropertySchema, t as LayoutWidget } from "./LayoutWidget-
|
|
26
|
+
import { a as sectionLayoutConfig, i as groupChildrenByColumn, r as layoutWidgetPropertySchema, t as LayoutWidget } from "./LayoutWidget-B0IM6rzk.mjs";
|
|
27
27
|
import { _ as extractPropertyValues, g as applyPropertyValues, h as PROPERTY_FIELD_TYPES, r as gapValues, v as groupPropertyFields, y as isPropertyFieldType } from "./registries-BZVov8GL.mjs";
|
|
28
28
|
import "./fields-Cq0nAluM.mjs";
|
|
29
29
|
import { r as textWidgetPropertySchema, t as TextWidget } from "./TextWidget-DROB24UD.mjs";
|
|
@@ -37,10 +37,10 @@ import "./MediaRenderer-BydUiy9x.mjs";
|
|
|
37
37
|
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-BUQ1Ri8G.mjs";
|
|
38
38
|
import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-SznFLD53.mjs";
|
|
39
39
|
import { Gn as cn$1, bt as CollapsibleTrigger, ct as Popover, dt as PopoverTrigger, g as Skeleton$1, jn as Button, m as Toaster, ut as PopoverContent, vt as Collapsible, yt as CollapsibleContent } from "./src-CAi8-qUm.mjs";
|
|
40
|
-
import { i as useMessagingAuth, n as messagingScreenPropertySchema, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-
|
|
41
|
-
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
40
|
+
import { i as useMessagingAuth, n as messagingScreenPropertySchema, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-DVceg9ih.mjs";
|
|
41
|
+
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-B3-aPOUe.mjs";
|
|
42
42
|
import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-Cm-KPwRD.mjs";
|
|
43
|
-
import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-
|
|
43
|
+
import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-ROInhX2I.mjs";
|
|
44
44
|
import { r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-BHidJxpW.mjs";
|
|
45
45
|
import { r as imageWidgetPropertySchema, t as ImageWidget } from "./ImageWidget-BwddirgT.mjs";
|
|
46
46
|
import { r as linkWidgetPropertySchema, t as LinkWidget } from "./LinkWidget-H88QpMf2.mjs";
|
|
@@ -59,23 +59,23 @@ import "./translation-adapter-CxA_PHry.mjs";
|
|
|
59
59
|
import "./translation-adapter-AUVlDFgQ.mjs";
|
|
60
60
|
import { a as matchSlugPrefix, c as getSystemNavigationBySection, d as normalizeSlug, i as isSlugInSection, l as isRepOnlySlug, n as collectNavSlugs, o as slugifyName, r as extractSlugFromPathname, s as SYSTEM_NAVIGATION_ITEMS, u as isSystemNavigationItem } from "./use-navigation-parent-Cg0KK6ay.mjs";
|
|
61
61
|
import { i as useScreenHeaderSlotRefs, r as ScreenHeaderProvider } from "./ScreenHeaderContext-BR9cGisQ.mjs";
|
|
62
|
-
import { _ as useFluidApp, a as loadWidgetPackages, c as getDefaultWidgetPackageManifestUrl, d as useFluidProfile, f as buildWidgetRegistry, g as APP_DATA_QUERY_KEY, h as useLogout, i as installAndReadFluidWidgetsRegistry, l as useCompanySwitch, m as createDefaultFluidConfig, n as resolveHostedWidgetPackageManifestUrl, o as subscribeToFluidWidgetsRegistry, p as mergeRegisteredWidgetsIntoRegistry, r as fetchWidgetPackageDescriptors, t as dedupeWidgetPackagesByPackageIdAndVersion, u as PROFILE_QUERY_KEY } from "./widget-package-utils-
|
|
62
|
+
import { _ as useFluidApp, a as loadWidgetPackages, c as getDefaultWidgetPackageManifestUrl, d as useFluidProfile, f as buildWidgetRegistry, g as APP_DATA_QUERY_KEY, h as useLogout, i as installAndReadFluidWidgetsRegistry, l as useCompanySwitch, m as createDefaultFluidConfig, n as resolveHostedWidgetPackageManifestUrl, o as subscribeToFluidWidgetsRegistry, p as mergeRegisteredWidgetsIntoRegistry, r as fetchWidgetPackageDescriptors, t as dedupeWidgetPackagesByPackageIdAndVersion, u as PROFILE_QUERY_KEY } from "./widget-package-utils-B7z7qApd.mjs";
|
|
63
63
|
import { t as useStore } from "./use-store-DfuRLjKx.mjs";
|
|
64
64
|
import { a as FallbackCard, i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-DCvI0D43.mjs";
|
|
65
65
|
import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-DQcQSWd1.mjs";
|
|
66
66
|
import { c as sourceWidgetPackagesToManifests, i as isSourceWidgetPackage, n as defineWidgetPackage, t as defineWidget } from "./authoring-BLhdAWs4.mjs";
|
|
67
|
-
import "./use-portal-card-add-3ds-flow-
|
|
67
|
+
import "./use-portal-card-add-3ds-flow-B4DUz_fQ.mjs";
|
|
68
68
|
import "./display-naBonVqF.mjs";
|
|
69
69
|
import "./Combobox-ddoKuFoT.mjs";
|
|
70
70
|
import "./use-mysite-portal-Dqa67HHg.mjs";
|
|
71
|
-
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
71
|
+
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-BUjYpFxb.mjs";
|
|
72
72
|
import "./dist-Bmw7ZdTO.mjs";
|
|
73
73
|
import "./es-FXBUBZx-.mjs";
|
|
74
74
|
import "./dist-BrCBMyxw.mjs";
|
|
75
|
-
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-
|
|
75
|
+
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-Cy2M0ZKk.mjs";
|
|
76
76
|
import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-JydhTLeO.mjs";
|
|
77
77
|
import "./sortable.esm-D4Dugc_5.mjs";
|
|
78
|
-
import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-
|
|
78
|
+
import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-b0u6k-QC.mjs";
|
|
79
79
|
import "./AppDownloadScreen-CaQWkU8Q.mjs";
|
|
80
80
|
import * as React$1 from "react";
|
|
81
81
|
import { Component, StrictMode, Suspense, createContext, forwardRef, lazy, memo, use, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -1823,12 +1823,12 @@ function BuilderScreenViewImpl({ screen, className }) {
|
|
|
1823
1823
|
const BuilderScreenView = memo(BuilderScreenViewImpl);
|
|
1824
1824
|
//#endregion
|
|
1825
1825
|
//#region src/shell/system-screen-map.ts
|
|
1826
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
1827
|
-
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-
|
|
1828
|
-
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-
|
|
1829
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
1826
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-AINzmYhB.mjs").then((m) => ({ default: m.ProfileScreen })));
|
|
1827
|
+
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-DbORjbmv.mjs").then((m) => ({ default: m.OrdersScreen })));
|
|
1828
|
+
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-0xmYA0F7.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
|
|
1829
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-COt4qkak.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
1830
1830
|
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-JzFU4VbX.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
|
|
1831
|
-
const ShopScreen$1 = lazy(() => import("./ShopScreen-
|
|
1831
|
+
const ShopScreen$1 = lazy(() => import("./ShopScreen-sPlTXKHt.mjs").then((m) => ({ default: m.ShopScreen })));
|
|
1832
1832
|
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-DCvI0D43.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
1833
1833
|
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-Ik4mk-QM.mjs").then((m) => ({ default: m.ShareablesScreen })));
|
|
1834
1834
|
const MySiteScreen$1 = lazy(() => import("./MySiteScreen-JydhTLeO.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
|
|
@@ -3405,15 +3405,15 @@ const CORE_PAGE_IDS = {
|
|
|
3405
3405
|
//#endregion
|
|
3406
3406
|
//#region src/screens/index.ts
|
|
3407
3407
|
const screenPropertySchemas = {
|
|
3408
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
3409
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
3408
|
+
ProfileScreen: () => import("./ProfileScreen-AINzmYhB.mjs").then((m) => m.profileScreenPropertySchema),
|
|
3409
|
+
MessagingScreen: () => import("./MessagingScreen-COt4qkak.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
3410
3410
|
ContactsScreen: () => import("./ContactsScreen-JzFU4VbX.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
|
|
3411
|
-
OrdersScreen: () => import("./OrdersScreen-
|
|
3412
|
-
SubscriptionsScreen: () => import("./SubscriptionsScreen-
|
|
3411
|
+
OrdersScreen: () => import("./OrdersScreen-DbORjbmv.mjs").then((m) => m.ordersScreenPropertySchema),
|
|
3412
|
+
SubscriptionsScreen: () => import("./SubscriptionsScreen-0xmYA0F7.mjs").then((m) => m.subscriptionsScreenPropertySchema),
|
|
3413
3413
|
CustomersScreen: () => import("./CustomersScreen-DCvI0D43.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
3414
3414
|
MySiteScreen: () => import("./MySiteScreen-JydhTLeO.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
|
|
3415
3415
|
ShareablesScreen: () => import("./ShareablesScreen-Ik4mk-QM.mjs").then((m) => m.shareablesScreenPropertySchema),
|
|
3416
|
-
ShopScreen: () => import("./ShopScreen-
|
|
3416
|
+
ShopScreen: () => import("./ShopScreen-sPlTXKHt.mjs").then((m) => m.shopScreenPropertySchema),
|
|
3417
3417
|
AppDownloadScreen: () => import("./AppDownloadScreen-CaQWkU8Q.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
|
|
3418
3418
|
};
|
|
3419
3419
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../chunk-9hOWP6kD.cjs");
|
|
3
|
-
const require_FluidProvider = require("../FluidProvider-
|
|
3
|
+
const require_FluidProvider = require("../FluidProvider-zwOtjsPk.cjs");
|
|
4
4
|
require("../FluidThemeProvider-DMfCMPLp.cjs");
|
|
5
5
|
require("../ScreenRenderer-B-ZfGmhX.cjs");
|
|
6
6
|
require("../use-account-C596ARpR.cjs");
|
|
@@ -22,7 +22,7 @@ require("../shell-translation-api-context-BxZ1W6Eb.cjs");
|
|
|
22
22
|
require("../error-state-BY6if4vN.cjs");
|
|
23
23
|
require("../PointsWidget-Dm_gKGfF.cjs");
|
|
24
24
|
require("../task-composer-form-BMw6N_M4.cjs");
|
|
25
|
-
require("../LayoutWidget-
|
|
25
|
+
require("../LayoutWidget-tf4a1rJr.cjs");
|
|
26
26
|
require("../registries-DgzzKX8_.cjs");
|
|
27
27
|
require("../fields-DSSM7CHZ.cjs");
|
|
28
28
|
require("../TextWidget-B2AKgxsS.cjs");
|
|
@@ -37,7 +37,7 @@ require("../CarouselWidget-osrUhPQT.cjs");
|
|
|
37
37
|
require("../CatchUpWidget-DiRqSIym.cjs");
|
|
38
38
|
require("../src-CMer7k-Y.cjs");
|
|
39
39
|
require("../ChartWidget-B0UAkgu6.cjs");
|
|
40
|
-
require("../ContainerWidget-
|
|
40
|
+
require("../ContainerWidget-I3XoxvEB.cjs");
|
|
41
41
|
require("../EmbedWidget-CI2A8btB.cjs");
|
|
42
42
|
require("../ImageWidget-nXyTe8cq.cjs");
|
|
43
43
|
require("../LinkWidget-CgKuDiIk.cjs");
|
|
@@ -54,7 +54,7 @@ require("../VideoWidget-D2o3UgOe.cjs");
|
|
|
54
54
|
require("../ShopWidget-Cy3Ix3Dx.cjs");
|
|
55
55
|
require("../translation-adapter-D2la7T-e.cjs");
|
|
56
56
|
require("../translation-adapter-Bi9lcWv1.cjs");
|
|
57
|
-
const require_widget_package_utils = require("../widget-package-utils-
|
|
57
|
+
const require_widget_package_utils = require("../widget-package-utils-BGgoR0N5.cjs");
|
|
58
58
|
const require_protocol = require("../protocol-DIE_XooL.cjs");
|
|
59
59
|
let react = require("react");
|
|
60
60
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../translation-adapter-B-Vhfzbz.mjs";
|
|
2
|
-
import { t as FluidProvider } from "../FluidProvider-
|
|
2
|
+
import { t as FluidProvider } from "../FluidProvider-GKnXkeIj.mjs";
|
|
3
3
|
import "../FluidThemeProvider-D_O4NV2b.mjs";
|
|
4
4
|
import "../ScreenRenderer-CBL1EEk8.mjs";
|
|
5
5
|
import "../use-account-CVCEuI6e.mjs";
|
|
@@ -20,7 +20,7 @@ import "../shell-translation-api-context-CwhOPjtM.mjs";
|
|
|
20
20
|
import "../error-state-CmesiiXJ.mjs";
|
|
21
21
|
import "../PointsWidget-Bvnj_7Ck.mjs";
|
|
22
22
|
import "../task-composer-form-DOoKMb9i.mjs";
|
|
23
|
-
import "../LayoutWidget-
|
|
23
|
+
import "../LayoutWidget-B0IM6rzk.mjs";
|
|
24
24
|
import "../registries-BZVov8GL.mjs";
|
|
25
25
|
import "../fields-Cq0nAluM.mjs";
|
|
26
26
|
import "../TextWidget-DROB24UD.mjs";
|
|
@@ -35,7 +35,7 @@ import "../CarouselWidget-BUQ1Ri8G.mjs";
|
|
|
35
35
|
import "../CatchUpWidget-SznFLD53.mjs";
|
|
36
36
|
import "../src-CAi8-qUm.mjs";
|
|
37
37
|
import "../ChartWidget-Cm-KPwRD.mjs";
|
|
38
|
-
import "../ContainerWidget-
|
|
38
|
+
import "../ContainerWidget-ROInhX2I.mjs";
|
|
39
39
|
import "../EmbedWidget-BHidJxpW.mjs";
|
|
40
40
|
import "../ImageWidget-BwddirgT.mjs";
|
|
41
41
|
import "../LinkWidget-H88QpMf2.mjs";
|
|
@@ -52,7 +52,7 @@ import "../VideoWidget-Dubqz6B9.mjs";
|
|
|
52
52
|
import "../ShopWidget-4V7UZLjB.mjs";
|
|
53
53
|
import "../translation-adapter-CxA_PHry.mjs";
|
|
54
54
|
import "../translation-adapter-AUVlDFgQ.mjs";
|
|
55
|
-
import { a as loadWidgetPackages, f as buildWidgetRegistry, i as installAndReadFluidWidgetsRegistry, m as createDefaultFluidConfig, p as mergeRegisteredWidgetsIntoRegistry, t as dedupeWidgetPackagesByPackageIdAndVersion } from "../widget-package-utils-
|
|
55
|
+
import { a as loadWidgetPackages, f as buildWidgetRegistry, i as installAndReadFluidWidgetsRegistry, m as createDefaultFluidConfig, p as mergeRegisteredWidgetsIntoRegistry, t as dedupeWidgetPackagesByPackageIdAndVersion } from "../widget-package-utils-B7z7qApd.mjs";
|
|
56
56
|
import { n as isPreviewCommand, t as isAllowedOrigin } from "../protocol-g9Z0NTk-.mjs";
|
|
57
57
|
import { Component, StrictMode, useCallback, useEffect, useRef, useState } from "react";
|
|
58
58
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PortalOrdersList.d.ts","sourceRoot":"","sources":["../../../src/screens/orders/PortalOrdersList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAqB,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PortalOrdersList.d.ts","sourceRoot":"","sources":["../../../src/screens/orders/PortalOrdersList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAqB,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,wBAAwB,CAAC;AAYhC,OAAO,EAEL,KAAK,CAAC,EAQP,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D,UAAU,qBAAqB;IAC7B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC;IAChD;;;;OAIG;IACH,CAAC,CAAC,EAAE,CAAC,CAAC;CACP;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,UAAU,EACV,YAAY,EACZ,CAAC,EAAE,KAAK,EACT,EAAE,qBAAqB,GAAG,GAAG,CAAC,OAAO,CAkIrC"}
|
|
@@ -4,29 +4,19 @@ import type { TranslationApi } from "@fluid-app/i18n/translation-api";
|
|
|
4
4
|
export type T = TranslationApi<OrdersDict>["t"];
|
|
5
5
|
export type FilterKey = "all" | "fulfilled" | "preparing" | "subscription";
|
|
6
6
|
export type StatusKind = "fulfilled" | "preparing" | "shipped" | "cancelled" | "pending";
|
|
7
|
-
export interface MappedStatus {
|
|
8
|
-
kind: StatusKind;
|
|
9
|
-
label: string;
|
|
10
|
-
}
|
|
11
7
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* `
|
|
16
|
-
* and the raw label capitalized — never synthesize a colored pill that
|
|
17
|
-
* pretends to be real status data.
|
|
8
|
+
* Classify a raw status string onto the internal `StatusKind` vocabulary
|
|
9
|
+
* used to drive the filter tabs. This is intentionally coarser than the
|
|
10
|
+
* rendered pill — the pill's label and color come from
|
|
11
|
+
* `FulfillmentStatusBadge`. Unknown statuses fall back to `pending`.
|
|
18
12
|
*/
|
|
19
|
-
export declare function
|
|
20
|
-
export declare const STATUS_STYLES: Record<StatusKind, {
|
|
21
|
-
bg: string;
|
|
22
|
-
text: string;
|
|
23
|
-
dot: string;
|
|
24
|
-
}>;
|
|
13
|
+
export declare function statusKind(orderStatus: string): StatusKind;
|
|
25
14
|
/**
|
|
26
15
|
* Pick the right status string to drive the pill / filter for a list order.
|
|
27
16
|
* Cancelled-family lifecycle states come from `order_status`; everything
|
|
28
17
|
* else is read off `fulfillment_status` (the BFF source-of-truth per the
|
|
29
|
-
* `Commerce::Order#fulfillment_status` enum).
|
|
18
|
+
* `Commerce::Order#fulfillment_status` enum). Delegates to the shared
|
|
19
|
+
* `resolveOrderStatus` so the list and the order detail page stay in lockstep.
|
|
30
20
|
*/
|
|
31
21
|
export declare function statusForOrder(order: orders.ListOrder): string;
|
|
32
22
|
export declare function filterPredicate(filter: FilterKey, order: orders.ListOrder): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-orders-list-helpers.d.ts","sourceRoot":"","sources":["../../../src/screens/orders/portal-orders-list-helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"portal-orders-list-helpers.d.ts","sourceRoot":"","sources":["../../../src/screens/orders/portal-orders-list-helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,MAAM,CAAC,GAAG,cAAc,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC;AAEhD,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,WAAW,GAAG,WAAW,GAAG,cAAc,CAAC;AAE3E,MAAM,MAAM,UAAU,GAClB,WAAW,GACX,WAAW,GACX,SAAS,GACT,WAAW,GACX,SAAS,CAAC;AA+Bd;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAE1D;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,SAAS,GAAG,MAAM,CAE9D;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,MAAM,CAAC,SAAS,GACtB,OAAO,CAOT;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,CAAC,SAAS,EAAE,GACvB,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAO3B;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,CAAC;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC,SAAS,GAAG,MAAM,CAEhE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,CAAC,SAAS,EAAE,EACxB,CAAC,EAAE,CAAC,EACJ,GAAG,GAAE,IAAiB,GACrB,UAAU,EAAE,CA6Cd;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,EACX,CAAC,EAAE,CAAC,EACJ,GAAG,GAAE,IAAiB,GACrB,MAAM,CAgCR;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CACtB,CAAC,EAAE,MAAM,EACT,KAAK,EAAE,MAAM,GACZ;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAuBrD"}
|
package/dist/{use-portal-card-add-3ds-flow-B_sHohTN.mjs → use-portal-card-add-3ds-flow-B4DUz_fQ.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ct as __commonJSMin, dt as __toESM } from "./translation-adapter-B-Vhfzbz.mjs";
|
|
2
|
-
import { S as useAddressAutocompleteApi, o as createProfileTranslationAdapter, s as profileDomain, x as useAddressFieldsApiOptional } from "./FluidProvider-
|
|
2
|
+
import { S as useAddressAutocompleteApi, o as createProfileTranslationAdapter, s as profileDomain, x as useAddressFieldsApiOptional } from "./FluidProvider-GKnXkeIj.mjs";
|
|
3
3
|
import { a as useActiveLocale, r as useDomainDict } from "./static-dict-adapter-CMDcV28R.mjs";
|
|
4
4
|
import { t as createTranslationContext } from "./translation-api-context-factory-dNziJNS1.mjs";
|
|
5
5
|
import { $ as Dialog, D as SelectTrigger, E as SelectItem, Gn as cn, H as DropdownMenu, J as DropdownMenuSeparator, M as Input$1, O as SelectValue, Q as DropdownMenuTrigger, T as SelectContent, U as DropdownMenuContent, V as Label, W as DropdownMenuItem, Wn as useZodForm, _t as CommandList, a as Textarea, ct as Popover, dt as PopoverTrigger, et as DialogClose, ft as Command, gt as CommandItem, ht as CommandInput, it as DialogHeader, jn as Button, k as ScrollArea, mt as CommandGroup, pt as CommandEmpty, rt as DialogFooter, st as DialogTitle, tt as DialogContent, ut as PopoverContent, w as Select } from "./src-CAi8-qUm.mjs";
|
|
@@ -22456,4 +22456,4 @@ function usePortalCardAdd3DSFlow({ payApi, onApproved, onFailed, onCanceled, t }
|
|
|
22456
22456
|
//#endregion
|
|
22457
22457
|
export { EllipsesDropdown as _, isThreeDsRequiredCreate as a, AddressFormDialog as c, PaymentIcon as d, getCardDisplayName as f, ConfirmActionDialog as g, UserInfoDialog as h, mapToFluidPayPaymentMethod as i, EditPaymentMethodDialog as l, getPaymentMethodLogoBrand as m, AddressAutocompleteInput as n, getBrowserInfo as o, getCardExpiry as p, createFluidPayApiAdapter as r, CreditCardFormDialog as s, usePortalCardAdd3DSFlow as t, FluidPayCoreProvider as u, ProfileTranslationBridge as v, useProfileTranslation as y };
|
|
22458
22458
|
|
|
22459
|
-
//# sourceMappingURL=use-portal-card-add-3ds-flow-
|
|
22459
|
+
//# sourceMappingURL=use-portal-card-add-3ds-flow-B4DUz_fQ.mjs.map
|