@fluid-app/portal-sdk 0.1.280 → 0.1.281

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.
Files changed (72) hide show
  1. package/dist/{ContactsScreen-D42uVkfI.mjs → ContactsScreen-CMETL0o1.mjs} +33 -36
  2. package/dist/ContactsScreen-CMETL0o1.mjs.map +1 -0
  3. package/dist/{ContactsScreen-CVUFwHD0.cjs → ContactsScreen-CNM9nqb1.cjs} +33 -36
  4. package/dist/ContactsScreen-CNM9nqb1.cjs.map +1 -0
  5. package/dist/{ContactsScreen-BWgTp9z6.cjs → ContactsScreen-CZLLBgUB.cjs} +2 -2
  6. package/dist/{MessagingScreen-ihaUzGp0.mjs → MessagingScreen-BvVhwvm8.mjs} +2 -2
  7. package/dist/{MessagingScreen-CE8MTQxn.cjs → MessagingScreen-C3yCIWo4.cjs} +41 -62
  8. package/dist/MessagingScreen-C3yCIWo4.cjs.map +1 -0
  9. package/dist/{MessagingScreen-r73abdKa.mjs → MessagingScreen-C7W5-K1N.mjs} +41 -62
  10. package/dist/{MessagingScreen-r73abdKa.mjs.map → MessagingScreen-C7W5-K1N.mjs.map} +1 -1
  11. package/dist/{MessagingScreen-DIbrm4HW.cjs → MessagingScreen-sc1u2IwX.cjs} +2 -2
  12. package/dist/{MySiteScreen-B1_Xx5-L.cjs → MySiteScreen-BiRsdk3F.cjs} +5 -10
  13. package/dist/MySiteScreen-BiRsdk3F.cjs.map +1 -0
  14. package/dist/{MySiteScreen-Dx8wYdv3.mjs → MySiteScreen-CfCr1_w0.mjs} +5 -10
  15. package/dist/{MySiteScreen-Dx8wYdv3.mjs.map → MySiteScreen-CfCr1_w0.mjs.map} +1 -1
  16. package/dist/{MySiteScreen-CFyr06DP.cjs → MySiteScreen-D2ivRa2e.cjs} +2 -2
  17. package/dist/{OrdersScreen-RNTW7SCI.mjs → OrdersScreen-BCFfxurP.mjs} +2 -2
  18. package/dist/{OrdersScreen-BQKy-1vC.cjs → OrdersScreen-CSkiK7j8.cjs} +13 -15
  19. package/dist/OrdersScreen-CSkiK7j8.cjs.map +1 -0
  20. package/dist/{OrdersScreen-C-32UkcG.cjs → OrdersScreen-DOCdTWOx.cjs} +2 -2
  21. package/dist/{OrdersScreen-9wp4AWDC.mjs → OrdersScreen-NzGaufXO.mjs} +13 -15
  22. package/dist/OrdersScreen-NzGaufXO.mjs.map +1 -0
  23. package/dist/{ProfileScreen-OZZ9Zcab.mjs → ProfileScreen-CkRFE_jb.mjs} +5 -6
  24. package/dist/{ProfileScreen-OZZ9Zcab.mjs.map → ProfileScreen-CkRFE_jb.mjs.map} +1 -1
  25. package/dist/{ProfileScreen-BdMZsorI.mjs → ProfileScreen-Cm4WZ54w.mjs} +2 -2
  26. package/dist/{ProfileScreen-BvIfbjnw.cjs → ProfileScreen-Dacb369p.cjs} +5 -6
  27. package/dist/ProfileScreen-Dacb369p.cjs.map +1 -0
  28. package/dist/{ProfileScreen-BrdjkmQd.cjs → ProfileScreen-zzk5SGP5.cjs} +2 -2
  29. package/dist/ScreenHeaderContext-CsfhnuJk.cjs +86 -0
  30. package/dist/ScreenHeaderContext-CsfhnuJk.cjs.map +1 -0
  31. package/dist/ScreenHeaderContext-Dn12BZyj.mjs +62 -0
  32. package/dist/ScreenHeaderContext-Dn12BZyj.mjs.map +1 -0
  33. package/dist/{ShareablesScreen-BP1Ed_Sv.cjs → ShareablesScreen-BwFmwYNG.cjs} +2 -2
  34. package/dist/{ShareablesScreen-DwxcReCu.cjs → ShareablesScreen-C6pCPvmx.cjs} +1101 -1144
  35. package/dist/ShareablesScreen-C6pCPvmx.cjs.map +1 -0
  36. package/dist/{ShareablesScreen-tq0taJJe.mjs → ShareablesScreen-kr2RL4FN.mjs} +2 -2
  37. package/dist/{ShareablesScreen-C5ZRdX-y.mjs → ShareablesScreen-uMQYLpTv.mjs} +1101 -1144
  38. package/dist/ShareablesScreen-uMQYLpTv.mjs.map +1 -0
  39. package/dist/{ShopScreen-B-OBQ2S7.mjs → ShopScreen-BqDNPM7i.mjs} +36 -47
  40. package/dist/{ShopScreen-B-OBQ2S7.mjs.map → ShopScreen-BqDNPM7i.mjs.map} +1 -1
  41. package/dist/{ShopScreen-Cn94XVxx.mjs → ShopScreen-CpCBdW0Z.mjs} +2 -2
  42. package/dist/{ShopScreen-zdvCwxBT.cjs → ShopScreen-DRnPRtV7.cjs} +36 -47
  43. package/dist/ShopScreen-DRnPRtV7.cjs.map +1 -0
  44. package/dist/{ShopScreen-CQDkeQrR.cjs → ShopScreen-SN91S9Ao.cjs} +2 -2
  45. package/dist/{SubscriptionsScreen-CRHHXzrB.cjs → SubscriptionsScreen-D4C8a7-e.cjs} +13 -15
  46. package/dist/SubscriptionsScreen-D4C8a7-e.cjs.map +1 -0
  47. package/dist/{SubscriptionsScreen-Dx7Evic_.mjs → SubscriptionsScreen-DCeby11T.mjs} +13 -15
  48. package/dist/SubscriptionsScreen-DCeby11T.mjs.map +1 -0
  49. package/dist/{SubscriptionsScreen-DH10SUZK.cjs → SubscriptionsScreen-DzwK-Sck.cjs} +2 -2
  50. package/dist/index.cjs +35 -34
  51. package/dist/index.cjs.map +1 -1
  52. package/dist/index.d.cts.map +1 -1
  53. package/dist/index.d.mts.map +1 -1
  54. package/dist/index.mjs +35 -34
  55. package/dist/index.mjs.map +1 -1
  56. package/package.json +18 -18
  57. package/dist/ContactsScreen-CVUFwHD0.cjs.map +0 -1
  58. package/dist/ContactsScreen-D42uVkfI.mjs.map +0 -1
  59. package/dist/MessagingScreen-CE8MTQxn.cjs.map +0 -1
  60. package/dist/MySiteScreen-B1_Xx5-L.cjs.map +0 -1
  61. package/dist/OrdersScreen-9wp4AWDC.mjs.map +0 -1
  62. package/dist/OrdersScreen-BQKy-1vC.cjs.map +0 -1
  63. package/dist/ProfileScreen-BvIfbjnw.cjs.map +0 -1
  64. package/dist/ScreenHeaderContext-BDjNSUfr.mjs +0 -85
  65. package/dist/ScreenHeaderContext-BDjNSUfr.mjs.map +0 -1
  66. package/dist/ScreenHeaderContext-PbjwAMeB.cjs +0 -109
  67. package/dist/ScreenHeaderContext-PbjwAMeB.cjs.map +0 -1
  68. package/dist/ShareablesScreen-C5ZRdX-y.mjs.map +0 -1
  69. package/dist/ShareablesScreen-DwxcReCu.cjs.map +0 -1
  70. package/dist/ShopScreen-zdvCwxBT.cjs.map +0 -1
  71. package/dist/SubscriptionsScreen-CRHHXzrB.cjs.map +0 -1
  72. package/dist/SubscriptionsScreen-Dx7Evic_.mjs.map +0 -1
@@ -4,7 +4,7 @@ import { i as usePayApi } from "./api-context-3GmfqvIB.mjs";
4
4
  import { n as useCountriesApi } from "./countries-api-context-CMh13cfX.mjs";
5
5
  import { n as usePortalTenantClient } from "./PortalTenantClientProvider-BF-1Fy27.mjs";
6
6
  import { $t as constructFrom, At as isProtectedDayOfYearToken, C as SelectContent, Cn as cn$1, E as SelectValue, Ft as getWeekYear, Ht as addWeeks, It as getISOWeek, Jt as startOfWeek, Kt as getTimezoneOffsetInMilliseconds, Lt as enUS, Mt as warnOrThrowProtectedError, Nt as longFormatters, Ot as isAfter, Pt as getWeek, Q as DialogContent, Qt as toDate, R as Label, S as Select, T as SelectTrigger, Vt as addYears, X as Dialog, Xt as addMonths, Yt as getDefaultOptions$1, Zt as addDays, _n as AlertDialogTitle, an as BreadcrumbLink, at as Popover, cn as BreadcrumbSeparator, en as millisecondsInHour, et as DialogFooter, f as fluidToast, fn as AlertDialogCancel, gn as AlertDialogHeader, h as Skeleton, hn as AlertDialogFooter, in as BreadcrumbItem, it as DialogTitle, jt as isProtectedWeekYearToken, k as Input, kt as format, mn as AlertDialogDescription, nn as millisecondsInSecond, on as BreadcrumbList, ot as PopoverContent, pn as AlertDialogContent, qt as startOfISOWeek, rn as Breadcrumb, sn as BreadcrumbPage, st as PopoverTrigger, tn as millisecondsInMinute, tt as DialogHeader, un as AlertDialog, vn as Button, w as SelectItem, wt as Calendar$1, xn as PortalContainerProvider } from "./src-Dk1FJOX0.mjs";
7
- import { r as useScreenHeaderBreadcrumbs } from "./ScreenHeaderContext-BDjNSUfr.mjs";
7
+ import { n as ScreenHeaderBreadcrumbs } from "./ScreenHeaderContext-Dn12BZyj.mjs";
8
8
  import { n as payKeys, r as storeKeys } from "./query-keys-BkMRwfNo.mjs";
9
9
  import { t as useAccount } from "./use-account-B201ntr4.mjs";
10
10
  import { n as useAppNavigation } from "./AppNavigationContext-DNomMUij.mjs";
@@ -2819,13 +2819,6 @@ function friendlyDaysAhead(end, t, now = Date.now()) {
2819
2819
  //#region src/screens/subscriptions/PortalSubscriptionsList.tsx
2820
2820
  const identityT = (key) => key;
2821
2821
  function PortalSubscriptionsList({ customerId, isLoadingCustomer, onSubscriptionClick, onResume, t = identityT }) {
2822
- useScreenHeaderBreadcrumbs(/* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, {
2823
- className: "text-lg",
2824
- children: /* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, {
2825
- className: "font-semibold",
2826
- children: t("subs_breadcrumb")
2827
- }) })
2828
- }) }));
2829
2822
  const [filter, setFilter] = useState("all");
2830
2823
  const { data, isLoading, isError, refetch, fetchNextPage, hasNextPage, isFetchingNextPage } = useInfiniteSubscriptions({
2831
2824
  customerId,
@@ -2841,7 +2834,13 @@ function PortalSubscriptionsList({ customerId, isLoadingCustomer, onSubscription
2841
2834
  inactiveSubs: sorted.filter((s) => !isActiveKind(mapStatus(s.status, t).kind))
2842
2835
  };
2843
2836
  }, [filteredList, t]);
2844
- return /* @__PURE__ */ jsx("div", {
2837
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(ScreenHeaderBreadcrumbs, { children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, {
2838
+ className: "text-lg",
2839
+ children: /* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, {
2840
+ className: "font-semibold",
2841
+ children: t("subs_breadcrumb")
2842
+ }) })
2843
+ }) }) }), /* @__PURE__ */ jsx("div", {
2845
2844
  className: "relative",
2846
2845
  children: /* @__PURE__ */ jsxs("div", {
2847
2846
  className: "max-w-profile-container relative mx-auto px-5 pt-8 pb-20 md:px-8",
@@ -2899,7 +2898,7 @@ function PortalSubscriptionsList({ customerId, isLoadingCustomer, onSubscription
2899
2898
  })
2900
2899
  ]
2901
2900
  })
2902
- });
2901
+ })] });
2903
2902
  }
2904
2903
  const FILTER_KEYS = [
2905
2904
  {
@@ -4688,7 +4687,7 @@ function SubscriptionDetail({ token, onNotFound, onError, onSuccess, onMutationE
4688
4687
  //#endregion
4689
4688
  //#region ../../subscriptions/ui/src/screens/SubscriptionDetailScreen.tsx
4690
4689
  function SubscriptionDetailScreen$1({ token, onNavigateToList, onNavigateToSubscription, onNotFound, onError, onSuccess, onMutationError, renderPaymentMethod, renderShippingAddress }) {
4691
- useScreenHeaderBreadcrumbs(useMemo(() => /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsxs(BreadcrumbList, {
4690
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(ScreenHeaderBreadcrumbs, { children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsxs(BreadcrumbList, {
4692
4691
  className: "text-lg",
4693
4692
  children: [
4694
4693
  /* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbLink, {
@@ -4705,8 +4704,7 @@ function SubscriptionDetailScreen$1({ token, onNavigateToList, onNavigateToSubsc
4705
4704
  children: ["Subscription #", token]
4706
4705
  }) })
4707
4706
  ]
4708
- }) }), [token, onNavigateToList]));
4709
- return /* @__PURE__ */ jsx("div", {
4707
+ }) }) }), /* @__PURE__ */ jsx("div", {
4710
4708
  className: "mx-auto max-w-7xl px-4 py-4 sm:px-6 sm:py-6 lg:px-10 lg:py-8",
4711
4709
  children: /* @__PURE__ */ jsx(SubscriptionDetail, {
4712
4710
  token,
@@ -4718,7 +4716,7 @@ function SubscriptionDetailScreen$1({ token, onNavigateToList, onNavigateToSubsc
4718
4716
  renderPaymentMethod,
4719
4717
  renderShippingAddress
4720
4718
  })
4721
- });
4719
+ })] });
4722
4720
  }
4723
4721
  //#endregion
4724
4722
  //#region src/subscriptions/SelectablePaymentMethodDropdown.tsx
@@ -5544,4 +5542,4 @@ const subscriptionsScreenPropertySchema = {
5544
5542
  //#endregion
5545
5543
  export { SubscriptionsScreen_exports as n, subscriptionsScreenPropertySchema as r, SubscriptionsScreen as t };
5546
5544
 
5547
- //# sourceMappingURL=SubscriptionsScreen-Dx7Evic_.mjs.map
5545
+ //# sourceMappingURL=SubscriptionsScreen-DCeby11T.mjs.map