@fluid-app/portal-sdk 0.1.484 → 0.1.486

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 (23) hide show
  1. package/dist/{ProfileScreen-CUkBqifi.mjs → ProfileScreen-B6a4dd62.mjs} +2 -2
  2. package/dist/{ProfileScreen-yi6_DEsN.cjs → ProfileScreen-B9ew5EIJ.cjs} +2 -2
  3. package/dist/{ProfileScreen-Bo0Pnojo.cjs → ProfileScreen-BQMf7w0k.cjs} +2 -2
  4. package/dist/{ProfileScreen-Bo0Pnojo.cjs.map → ProfileScreen-BQMf7w0k.cjs.map} +1 -1
  5. package/dist/{ProfileScreen-DX_erSoF.mjs → ProfileScreen-D4FpU_l8.mjs} +2 -2
  6. package/dist/{ProfileScreen-DX_erSoF.mjs.map → ProfileScreen-D4FpU_l8.mjs.map} +1 -1
  7. package/dist/{SubscriptionsScreen-DPymXVC4.cjs → SubscriptionsScreen-ByVgv3qf.cjs} +144 -66
  8. package/dist/SubscriptionsScreen-ByVgv3qf.cjs.map +1 -0
  9. package/dist/{SubscriptionsScreen-BKJALFrF.mjs → SubscriptionsScreen-DQuqYGHH.mjs} +144 -66
  10. package/dist/SubscriptionsScreen-DQuqYGHH.mjs.map +1 -0
  11. package/dist/{SubscriptionsScreen-B8vSO2d9.mjs → SubscriptionsScreen-DaJsb9sg.mjs} +2 -2
  12. package/dist/{SubscriptionsScreen-DIxkq3nu.cjs → SubscriptionsScreen-f5mFmNJ_.cjs} +2 -2
  13. package/dist/index.cjs +7 -7
  14. package/dist/index.mjs +7 -7
  15. package/dist/{use-portal-card-add-3ds-flow-DPX94F0H.cjs → use-portal-card-add-3ds-flow-B6h1F8qd.cjs} +48 -28
  16. package/dist/use-portal-card-add-3ds-flow-B6h1F8qd.cjs.map +1 -0
  17. package/dist/{use-portal-card-add-3ds-flow-CaxgEoqx.mjs → use-portal-card-add-3ds-flow-CCxDpsu-.mjs} +48 -28
  18. package/dist/use-portal-card-add-3ds-flow-CCxDpsu-.mjs.map +1 -0
  19. package/package.json +13 -13
  20. package/dist/SubscriptionsScreen-BKJALFrF.mjs.map +0 -1
  21. package/dist/SubscriptionsScreen-DPymXVC4.cjs.map +0 -1
  22. package/dist/use-portal-card-add-3ds-flow-CaxgEoqx.mjs.map +0 -1
  23. package/dist/use-portal-card-add-3ds-flow-DPX94F0H.cjs.map +0 -1
@@ -32,7 +32,7 @@ import "./preview-context-Dy8QjidU.mjs";
32
32
  import "./CalendarWidget-Bigs2Yvo.mjs";
33
33
  import "./error-state-D0yEb7vf.mjs";
34
34
  import "./src-CfaFafsq.mjs";
35
- import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-BKJALFrF.mjs";
35
+ import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-DQuqYGHH.mjs";
36
36
  import "./WidgetLoadingSkeleton-ruGYRKhU.mjs";
37
37
  import "./CardWidget-Cz2BRDba.mjs";
38
38
  import "./helpers-BCelXIdD.mjs";
@@ -64,7 +64,7 @@ import "./translation-adapter-B1CZloeG.mjs";
64
64
  import "./translation-adapter-CVikTJ7a.mjs";
65
65
  import "./sidebar-DwB6s4af.mjs";
66
66
  import "./ScreenHeaderContext-DnGLNAvp.mjs";
67
- import "./use-portal-card-add-3ds-flow-CaxgEoqx.mjs";
67
+ import "./use-portal-card-add-3ds-flow-CCxDpsu-.mjs";
68
68
  import "./display-BEVe3Jb4.mjs";
69
69
  import "./Combobox-D5Yr79xv.mjs";
70
70
  export { SubscriptionsScreen, subscriptionsScreenPropertySchema };
@@ -64,10 +64,10 @@ require("./translation-adapter-BPuWcqly.cjs");
64
64
  require("./translation-adapter-BjCxBn41.cjs");
65
65
  require("./sidebar-CwLe2lHD.cjs");
66
66
  require("./ScreenHeaderContext-ClYEnA4E.cjs");
67
- require("./use-portal-card-add-3ds-flow-DPX94F0H.cjs");
67
+ require("./use-portal-card-add-3ds-flow-B6h1F8qd.cjs");
68
68
  require("./display-C4lR3Fx6.cjs");
69
69
  require("./Combobox-CSQBMeAc.cjs");
70
70
  require("./prop-types-RKmVoT8k.cjs");
71
- const require_SubscriptionsScreen = require("./SubscriptionsScreen-DPymXVC4.cjs");
71
+ const require_SubscriptionsScreen = require("./SubscriptionsScreen-ByVgv3qf.cjs");
72
72
  exports.SubscriptionsScreen = require_SubscriptionsScreen.SubscriptionsScreen;
73
73
  exports.subscriptionsScreenPropertySchema = require_SubscriptionsScreen.subscriptionsScreenPropertySchema;
package/dist/index.cjs CHANGED
@@ -75,12 +75,12 @@ const require_ScreenHeaderContext = require("./ScreenHeaderContext-ClYEnA4E.cjs"
75
75
  const require_ShopScreen = require("./ShopScreen-DgyjakSC.cjs");
76
76
  const require_CustomersScreen = require("./CustomersScreen-C2Sy0Pgh.cjs");
77
77
  const require_ActivityScreen = require("./ActivityScreen-B1ruFySH.cjs");
78
- require("./use-portal-card-add-3ds-flow-DPX94F0H.cjs");
78
+ require("./use-portal-card-add-3ds-flow-B6h1F8qd.cjs");
79
79
  require("./display-C4lR3Fx6.cjs");
80
80
  require("./Combobox-CSQBMeAc.cjs");
81
81
  require("./prop-types-RKmVoT8k.cjs");
82
- const require_ProfileScreen = require("./ProfileScreen-Bo0Pnojo.cjs");
83
- const require_SubscriptionsScreen = require("./SubscriptionsScreen-DPymXVC4.cjs");
82
+ const require_ProfileScreen = require("./ProfileScreen-BQMf7w0k.cjs");
83
+ const require_SubscriptionsScreen = require("./SubscriptionsScreen-ByVgv3qf.cjs");
84
84
  require("./dist-C037I5IV.cjs");
85
85
  require("./es-BTYUW9oo.cjs");
86
86
  require("./dist-CjsaQra7.cjs");
@@ -2080,9 +2080,9 @@ function resolveMemberTypePage(registry, memberTypeSlug, currentSlug, baseSlug)
2080
2080
  }
2081
2081
  //#endregion
2082
2082
  //#region src/shell/system-screen-map.ts
2083
- const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-yi6_DEsN.cjs")).then((m) => ({ default: m.ProfileScreen })));
2083
+ const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-B9ew5EIJ.cjs")).then((m) => ({ default: m.ProfileScreen })));
2084
2084
  const OrdersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./OrdersScreen-DvlVcWnE.cjs")).then((m) => ({ default: m.OrdersScreen })));
2085
- const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-DIxkq3nu.cjs")).then((m) => ({ default: m.SubscriptionsScreen })));
2085
+ const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-f5mFmNJ_.cjs")).then((m) => ({ default: m.SubscriptionsScreen })));
2086
2086
  const MessagingScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MessagingScreen-rXnEys1O.cjs")).then((m) => ({ default: m.MessagingScreen })));
2087
2087
  const ContactsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ContactsScreen-D4_8k-uG.cjs")).then((m) => ({ default: m.ContactsScreen })));
2088
2088
  const ShopScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShopScreen-DQAIM-1U.cjs")).then((m) => ({ default: m.ShopScreen })));
@@ -4588,11 +4588,11 @@ const CORE_PAGE_IDS = {
4588
4588
  //#endregion
4589
4589
  //#region src/screens/index.ts
4590
4590
  const screenPropertySchemas = {
4591
- ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-yi6_DEsN.cjs")).then((m) => m.profileScreenPropertySchema),
4591
+ ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-B9ew5EIJ.cjs")).then((m) => m.profileScreenPropertySchema),
4592
4592
  MessagingScreen: () => Promise.resolve().then(() => require("./MessagingScreen-rXnEys1O.cjs")).then((m) => m.messagingScreenPropertySchema),
4593
4593
  ContactsScreen: () => Promise.resolve().then(() => require("./ContactsScreen-D4_8k-uG.cjs")).then((m) => m.contactsScreenPropertySchema),
4594
4594
  OrdersScreen: () => Promise.resolve().then(() => require("./OrdersScreen-DvlVcWnE.cjs")).then((m) => m.ordersScreenPropertySchema),
4595
- SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-DIxkq3nu.cjs")).then((m) => m.subscriptionsScreenPropertySchema),
4595
+ SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-f5mFmNJ_.cjs")).then((m) => m.subscriptionsScreenPropertySchema),
4596
4596
  CustomersScreen: () => Promise.resolve().then(() => require("./CustomersScreen-BWx8sXQd.cjs")).then((m) => m.customersScreenPropertySchema),
4597
4597
  MySiteScreen: () => Promise.resolve().then(() => require("./MySiteScreen-CTDjOrjd.cjs")).then((m) => m.mySiteScreenPropertySchema),
4598
4598
  ShareablesScreen: () => Promise.resolve().then(() => require("./ShareablesScreen-CdnWChUo.cjs")).then((m) => m.shareablesScreenPropertySchema),
package/dist/index.mjs CHANGED
@@ -35,7 +35,7 @@ import { r as calendarWidgetPropertySchema, t as CalendarWidget } from "./Calend
35
35
  import "./error-state-D0yEb7vf.mjs";
36
36
  import { Cn as Button, Ln as cn, P as IconButton, bt as CollapsibleTrigger, dt as PopoverTrigger, g as Skeleton, lt as Popover, m as Toaster, ut as PopoverContent, vt as Collapsible, yt as CollapsibleContent } from "./src-CfaFafsq.mjs";
37
37
  import { a as BottomNavVisibilityProvider, i as useMessagingAuth, n as messagingScreenPropertySchema, o as useBottomNavHidden, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-C_7uhkWH.mjs";
38
- import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-BKJALFrF.mjs";
38
+ import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-DQuqYGHH.mjs";
39
39
  import "./WidgetLoadingSkeleton-ruGYRKhU.mjs";
40
40
  import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-Cz2BRDba.mjs";
41
41
  import "./helpers-BCelXIdD.mjs";
@@ -74,10 +74,10 @@ import { a as useScreenHeaderSlotRefs, i as ScreenHeaderProvider, r as ScreenHea
74
74
  import { a as CartWidget, i as CartButton, o as CartScript, r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-DYp8QJ-U.mjs";
75
75
  import { a as FallbackCard, i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-BKCI-3Me.mjs";
76
76
  import { a as OPT_IN_SYSTEM_SCREEN_SLUGS, i as AppLink, o as findSystemSlugByPrefix, r as activityScreenPropertySchema, t as ActivityScreen } from "./ActivityScreen-Day9UCuj.mjs";
77
- import "./use-portal-card-add-3ds-flow-CaxgEoqx.mjs";
77
+ import "./use-portal-card-add-3ds-flow-CCxDpsu-.mjs";
78
78
  import "./display-BEVe3Jb4.mjs";
79
79
  import "./Combobox-D5Yr79xv.mjs";
80
- import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-DX_erSoF.mjs";
80
+ import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-D4FpU_l8.mjs";
81
81
  import "./dist-BYMZ_VJO.mjs";
82
82
  import "./es-CQmJl-p7.mjs";
83
83
  import "./dist-DzxPrZA5.mjs";
@@ -2077,9 +2077,9 @@ function resolveMemberTypePage(registry, memberTypeSlug, currentSlug, baseSlug)
2077
2077
  }
2078
2078
  //#endregion
2079
2079
  //#region src/shell/system-screen-map.ts
2080
- const ProfileScreen$1 = lazy(() => import("./ProfileScreen-CUkBqifi.mjs").then((m) => ({ default: m.ProfileScreen })));
2080
+ const ProfileScreen$1 = lazy(() => import("./ProfileScreen-B6a4dd62.mjs").then((m) => ({ default: m.ProfileScreen })));
2081
2081
  const OrdersScreen$1 = lazy(() => import("./OrdersScreen-lkUWFmX4.mjs").then((m) => ({ default: m.OrdersScreen })));
2082
- const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-B8vSO2d9.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
2082
+ const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-DaJsb9sg.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
2083
2083
  const MessagingScreen$1 = lazy(() => import("./MessagingScreen-DvwTOptN.mjs").then((m) => ({ default: m.MessagingScreen })));
2084
2084
  const ContactsScreen$1 = lazy(() => import("./ContactsScreen-CDRNDPb_.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
2085
2085
  const ShopScreen$1 = lazy(() => import("./ShopScreen-DYp8QJ-U.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
@@ -4585,11 +4585,11 @@ const CORE_PAGE_IDS = {
4585
4585
  //#endregion
4586
4586
  //#region src/screens/index.ts
4587
4587
  const screenPropertySchemas = {
4588
- ProfileScreen: () => import("./ProfileScreen-CUkBqifi.mjs").then((m) => m.profileScreenPropertySchema),
4588
+ ProfileScreen: () => import("./ProfileScreen-B6a4dd62.mjs").then((m) => m.profileScreenPropertySchema),
4589
4589
  MessagingScreen: () => import("./MessagingScreen-DvwTOptN.mjs").then((m) => m.messagingScreenPropertySchema),
4590
4590
  ContactsScreen: () => import("./ContactsScreen-CDRNDPb_.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
4591
4591
  OrdersScreen: () => import("./OrdersScreen-lkUWFmX4.mjs").then((m) => m.ordersScreenPropertySchema),
4592
- SubscriptionsScreen: () => import("./SubscriptionsScreen-B8vSO2d9.mjs").then((m) => m.subscriptionsScreenPropertySchema),
4592
+ SubscriptionsScreen: () => import("./SubscriptionsScreen-DaJsb9sg.mjs").then((m) => m.subscriptionsScreenPropertySchema),
4593
4593
  CustomersScreen: () => import("./CustomersScreen-BKCI-3Me.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
4594
4594
  MySiteScreen: () => import("./MySiteScreen-ksthJDlR.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
4595
4595
  ShareablesScreen: () => import("./ShareablesScreen-CdkVH5qc.mjs").then((m) => m.shareablesScreenPropertySchema),
@@ -705,29 +705,6 @@ function AddressAutocompleteInput({ control, setValue, countryIso, addressLineFi
705
705
  }
706
706
  //#endregion
707
707
  //#region ../../platform/address-fields/src/country-config.ts
708
- function isFieldRequired$1(addressFields, fieldName) {
709
- return addressFields.find((f) => f.field === fieldName)?.required ?? false;
710
- }
711
- (0, react.createContext)(null);
712
- //#endregion
713
- //#region ../../fluid-pay/core/src/context.ts
714
- const FluidPayApiContext = (0, react.createContext)(null);
715
- const FluidPayApiProvider = FluidPayApiContext.Provider;
716
- function useFluidPayApi() {
717
- const api = (0, react.useContext)(FluidPayApiContext);
718
- if (!api) throw new Error("useFluidPayApi must be used within a FluidPayCoreProvider");
719
- return api;
720
- }
721
- //#endregion
722
- //#region ../../fluid-pay/core/src/provider.tsx
723
- function FluidPayCoreProvider({ api, children }) {
724
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FluidPayApiProvider, {
725
- value: api,
726
- children
727
- });
728
- }
729
- //#endregion
730
- //#region ../../fluid-pay/core/src/utils/country-config.ts
731
708
  const US_STATES = [
732
709
  {
733
710
  name: "Alabama",
@@ -737,6 +714,10 @@ const US_STATES = [
737
714
  name: "Alaska",
738
715
  isoCode: "AK"
739
716
  },
717
+ {
718
+ name: "American Samoa",
719
+ isoCode: "AS"
720
+ },
740
721
  {
741
722
  name: "Arizona",
742
723
  isoCode: "AZ"
@@ -761,6 +742,10 @@ const US_STATES = [
761
742
  name: "Delaware",
762
743
  isoCode: "DE"
763
744
  },
745
+ {
746
+ name: "District of Columbia",
747
+ isoCode: "DC"
748
+ },
764
749
  {
765
750
  name: "Florida",
766
751
  isoCode: "FL"
@@ -769,6 +754,10 @@ const US_STATES = [
769
754
  name: "Georgia",
770
755
  isoCode: "GA"
771
756
  },
757
+ {
758
+ name: "Guam",
759
+ isoCode: "GU"
760
+ },
772
761
  {
773
762
  name: "Hawaii",
774
763
  isoCode: "HI"
@@ -865,6 +854,10 @@ const US_STATES = [
865
854
  name: "North Dakota",
866
855
  isoCode: "ND"
867
856
  },
857
+ {
858
+ name: "Northern Mariana Islands",
859
+ isoCode: "MP"
860
+ },
868
861
  {
869
862
  name: "Ohio",
870
863
  isoCode: "OH"
@@ -881,6 +874,10 @@ const US_STATES = [
881
874
  name: "Pennsylvania",
882
875
  isoCode: "PA"
883
876
  },
877
+ {
878
+ name: "Puerto Rico",
879
+ isoCode: "PR"
880
+ },
884
881
  {
885
882
  name: "Rhode Island",
886
883
  isoCode: "RI"
@@ -905,6 +902,10 @@ const US_STATES = [
905
902
  name: "Utah",
906
903
  isoCode: "UT"
907
904
  },
905
+ {
906
+ name: "U.S. Virgin Islands",
907
+ isoCode: "VI"
908
+ },
908
909
  {
909
910
  name: "Vermont",
910
911
  isoCode: "VT"
@@ -928,12 +929,31 @@ const US_STATES = [
928
929
  {
929
930
  name: "Wyoming",
930
931
  isoCode: "WY"
931
- },
932
- {
933
- name: "District of Columbia",
934
- isoCode: "DC"
935
932
  }
936
933
  ];
934
+ function isFieldRequired$1(addressFields, fieldName) {
935
+ return addressFields.find((f) => f.field === fieldName)?.required ?? false;
936
+ }
937
+ (0, react.createContext)(null);
938
+ //#endregion
939
+ //#region ../../fluid-pay/core/src/context.ts
940
+ const FluidPayApiContext = (0, react.createContext)(null);
941
+ const FluidPayApiProvider = FluidPayApiContext.Provider;
942
+ function useFluidPayApi() {
943
+ const api = (0, react.useContext)(FluidPayApiContext);
944
+ if (!api) throw new Error("useFluidPayApi must be used within a FluidPayCoreProvider");
945
+ return api;
946
+ }
947
+ //#endregion
948
+ //#region ../../fluid-pay/core/src/provider.tsx
949
+ function FluidPayCoreProvider({ api, children }) {
950
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FluidPayApiProvider, {
951
+ value: api,
952
+ children
953
+ });
954
+ }
955
+ //#endregion
956
+ //#region ../../fluid-pay/core/src/utils/country-config.ts
937
957
  const COUNTRY_CONFIGS = {
938
958
  US: {
939
959
  regionLabel: "State",
@@ -22665,4 +22685,4 @@ Object.defineProperty(exports, "useProfileTranslation", {
22665
22685
  }
22666
22686
  });
22667
22687
 
22668
- //# sourceMappingURL=use-portal-card-add-3ds-flow-DPX94F0H.cjs.map
22688
+ //# sourceMappingURL=use-portal-card-add-3ds-flow-B6h1F8qd.cjs.map