@fluid-app/portal-sdk 0.1.392 → 0.1.393
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/{ProfileScreen-Bzg2jCK_.cjs → ProfileScreen-3BCTz0hZ.cjs} +2 -2
- package/dist/{ProfileScreen-BBfb-yb0.mjs → ProfileScreen-CwW_BXx5.mjs} +6 -3
- package/dist/ProfileScreen-CwW_BXx5.mjs.map +1 -0
- package/dist/{ProfileScreen-B_szE2dH.mjs → ProfileScreen-D7o4EJKU.mjs} +2 -2
- package/dist/{ProfileScreen-Dv04cioU.cjs → ProfileScreen-Djhj0Dzj.cjs} +6 -3
- package/dist/ProfileScreen-Djhj0Dzj.cjs.map +1 -0
- package/dist/{SubscriptionsScreen-_7NA14X-.mjs → SubscriptionsScreen-BkG6ZKIn.mjs} +2 -2
- package/dist/{SubscriptionsScreen-DQMgUyOE.cjs → SubscriptionsScreen-CtwQAUqZ.cjs} +10 -4
- package/dist/SubscriptionsScreen-CtwQAUqZ.cjs.map +1 -0
- package/dist/{SubscriptionsScreen-ZeR1GQzC.cjs → SubscriptionsScreen-Ddj5KXP6.cjs} +2 -2
- package/dist/{SubscriptionsScreen-CGjYmRj3.mjs → SubscriptionsScreen-unXU7IZN.mjs} +10 -4
- package/dist/SubscriptionsScreen-unXU7IZN.mjs.map +1 -0
- package/dist/index.cjs +7 -7
- package/dist/index.mjs +7 -7
- package/dist/screens/ProfileContentScreen.d.ts.map +1 -1
- package/dist/screens/SubscriptionsListScreen.d.ts.map +1 -1
- package/dist/{use-portal-card-add-3ds-flow-BCCtRHVn.mjs → use-portal-card-add-3ds-flow-C20B8F2z.mjs} +15 -4
- package/dist/{use-portal-card-add-3ds-flow-BCCtRHVn.mjs.map → use-portal-card-add-3ds-flow-C20B8F2z.mjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-CaoqaZ1K.cjs → use-portal-card-add-3ds-flow-CoRnrLuK.cjs} +15 -4
- package/dist/{use-portal-card-add-3ds-flow-CaoqaZ1K.cjs.map → use-portal-card-add-3ds-flow-CoRnrLuK.cjs.map} +1 -1
- package/package.json +8 -8
- package/dist/ProfileScreen-BBfb-yb0.mjs.map +0 -1
- package/dist/ProfileScreen-Dv04cioU.cjs.map +0 -1
- package/dist/SubscriptionsScreen-CGjYmRj3.mjs.map +0 -1
- package/dist/SubscriptionsScreen-DQMgUyOE.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -66,13 +66,13 @@ const require_CustomersScreen = require("./CustomersScreen-BZyYTDhk.cjs");
|
|
|
66
66
|
const require_AppNavigationContext = require("./AppNavigationContext-DAQiBWD5.cjs");
|
|
67
67
|
const require_authoring = require("./authoring-B57Kt2rm.cjs");
|
|
68
68
|
const require_MessagingScreen = require("./MessagingScreen-BxFNVnPB.cjs");
|
|
69
|
-
require("./use-portal-card-add-3ds-flow-
|
|
69
|
+
require("./use-portal-card-add-3ds-flow-CoRnrLuK.cjs");
|
|
70
70
|
require("./display-Bbu9dVv-.cjs");
|
|
71
71
|
require("./Combobox-CMWzBod7.cjs");
|
|
72
72
|
require("./prop-types-BL9DoSxF.cjs");
|
|
73
73
|
require("./use-mysite-portal-C_V5cNaa.cjs");
|
|
74
|
-
const require_ProfileScreen = require("./ProfileScreen-
|
|
75
|
-
const require_SubscriptionsScreen = require("./SubscriptionsScreen-
|
|
74
|
+
const require_ProfileScreen = require("./ProfileScreen-Djhj0Dzj.cjs");
|
|
75
|
+
const require_SubscriptionsScreen = require("./SubscriptionsScreen-CtwQAUqZ.cjs");
|
|
76
76
|
require("./dist-BY7oIoRh.cjs");
|
|
77
77
|
require("./es-C0D2Nzch.cjs");
|
|
78
78
|
require("./dist-D2JCrLWW.cjs");
|
|
@@ -1828,9 +1828,9 @@ function BuilderScreenViewImpl({ screen, className }) {
|
|
|
1828
1828
|
const BuilderScreenView = (0, react.memo)(BuilderScreenViewImpl);
|
|
1829
1829
|
//#endregion
|
|
1830
1830
|
//#region src/shell/system-screen-map.ts
|
|
1831
|
-
const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-
|
|
1831
|
+
const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-3BCTz0hZ.cjs")).then((m) => ({ default: m.ProfileScreen })));
|
|
1832
1832
|
const OrdersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./OrdersScreen-CoYzyNb0.cjs")).then((m) => ({ default: m.OrdersScreen })));
|
|
1833
|
-
const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-
|
|
1833
|
+
const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-Ddj5KXP6.cjs")).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
1834
1834
|
const MessagingScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MessagingScreen-BGMv3dIE.cjs")).then((m) => ({ default: m.MessagingScreen })));
|
|
1835
1835
|
const ContactsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ContactsScreen-DeVYEw6N.cjs")).then((m) => ({ default: m.ContactsScreen })));
|
|
1836
1836
|
const ShopScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShopScreen-Cv4ybD_r.cjs")).then((m) => ({ default: m.ShopScreen })));
|
|
@@ -3395,11 +3395,11 @@ zod.z.object({
|
|
|
3395
3395
|
//#endregion
|
|
3396
3396
|
//#region src/screens/index.ts
|
|
3397
3397
|
const screenPropertySchemas = {
|
|
3398
|
-
ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-
|
|
3398
|
+
ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-3BCTz0hZ.cjs")).then((m) => m.profileScreenPropertySchema),
|
|
3399
3399
|
MessagingScreen: () => Promise.resolve().then(() => require("./MessagingScreen-BGMv3dIE.cjs")).then((m) => m.messagingScreenPropertySchema),
|
|
3400
3400
|
ContactsScreen: () => Promise.resolve().then(() => require("./ContactsScreen-DeVYEw6N.cjs")).then((m) => m.contactsScreenPropertySchema),
|
|
3401
3401
|
OrdersScreen: () => Promise.resolve().then(() => require("./OrdersScreen-CoYzyNb0.cjs")).then((m) => m.ordersScreenPropertySchema),
|
|
3402
|
-
SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-
|
|
3402
|
+
SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-Ddj5KXP6.cjs")).then((m) => m.subscriptionsScreenPropertySchema),
|
|
3403
3403
|
CustomersScreen: () => Promise.resolve().then(() => require("./CustomersScreen-BP5AcObz.cjs")).then((m) => m.customersScreenPropertySchema),
|
|
3404
3404
|
MySiteScreen: () => Promise.resolve().then(() => require("./MySiteScreen-ARB1ty65.cjs")).then((m) => m.mySiteScreenPropertySchema),
|
|
3405
3405
|
ShareablesScreen: () => Promise.resolve().then(() => require("./ShareablesScreen-C-7I64eY.cjs")).then((m) => m.shareablesScreenPropertySchema),
|
package/dist/index.mjs
CHANGED
|
@@ -38,7 +38,7 @@ import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./Carous
|
|
|
38
38
|
import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-YcBSSind.mjs";
|
|
39
39
|
import { Kn 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-DX_SrMKJ.mjs";
|
|
40
40
|
import { i as useMessagingAuth, n as messagingScreenPropertySchema, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-CLYzVDN0.mjs";
|
|
41
|
-
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
41
|
+
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-unXU7IZN.mjs";
|
|
42
42
|
import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-D_7sQnDf.mjs";
|
|
43
43
|
import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-BsF3wwzo.mjs";
|
|
44
44
|
import { r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-Dx6ePQPf.mjs";
|
|
@@ -65,11 +65,11 @@ import { t as useStore } from "./use-store-CMkp2oqW.mjs";
|
|
|
65
65
|
import { a as FallbackCard, i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-BbQyIVj8.mjs";
|
|
66
66
|
import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-DKrqfc9z.mjs";
|
|
67
67
|
import { c as sourceWidgetPackagesToManifests, i as isSourceWidgetPackage, n as defineWidgetPackage, t as defineWidget } from "./authoring-DNXZMEng.mjs";
|
|
68
|
-
import "./use-portal-card-add-3ds-flow-
|
|
68
|
+
import "./use-portal-card-add-3ds-flow-C20B8F2z.mjs";
|
|
69
69
|
import "./display--fzMa6G4.mjs";
|
|
70
70
|
import "./Combobox-BhN_CzP6.mjs";
|
|
71
71
|
import "./use-mysite-portal-C65170If.mjs";
|
|
72
|
-
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
72
|
+
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-CwW_BXx5.mjs";
|
|
73
73
|
import "./dist-DUZ6wcFa.mjs";
|
|
74
74
|
import "./es-1RCzTjho.mjs";
|
|
75
75
|
import "./dist-B945kDSV.mjs";
|
|
@@ -1825,9 +1825,9 @@ function BuilderScreenViewImpl({ screen, className }) {
|
|
|
1825
1825
|
const BuilderScreenView = memo(BuilderScreenViewImpl);
|
|
1826
1826
|
//#endregion
|
|
1827
1827
|
//#region src/shell/system-screen-map.ts
|
|
1828
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
1828
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-D7o4EJKU.mjs").then((m) => ({ default: m.ProfileScreen })));
|
|
1829
1829
|
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-Cg5HcgmH.mjs").then((m) => ({ default: m.OrdersScreen })));
|
|
1830
|
-
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-
|
|
1830
|
+
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-BkG6ZKIn.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
|
|
1831
1831
|
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-GBjtssBo.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
1832
1832
|
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-gGKpK4bU.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
|
|
1833
1833
|
const ShopScreen$1 = lazy(() => import("./ShopScreen-L4X2wKpT.mjs").then((m) => ({ default: m.ShopScreen })));
|
|
@@ -3392,11 +3392,11 @@ z.object({
|
|
|
3392
3392
|
//#endregion
|
|
3393
3393
|
//#region src/screens/index.ts
|
|
3394
3394
|
const screenPropertySchemas = {
|
|
3395
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
3395
|
+
ProfileScreen: () => import("./ProfileScreen-D7o4EJKU.mjs").then((m) => m.profileScreenPropertySchema),
|
|
3396
3396
|
MessagingScreen: () => import("./MessagingScreen-GBjtssBo.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
3397
3397
|
ContactsScreen: () => import("./ContactsScreen-gGKpK4bU.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
|
|
3398
3398
|
OrdersScreen: () => import("./OrdersScreen-Cg5HcgmH.mjs").then((m) => m.ordersScreenPropertySchema),
|
|
3399
|
-
SubscriptionsScreen: () => import("./SubscriptionsScreen-
|
|
3399
|
+
SubscriptionsScreen: () => import("./SubscriptionsScreen-BkG6ZKIn.mjs").then((m) => m.subscriptionsScreenPropertySchema),
|
|
3400
3400
|
CustomersScreen: () => import("./CustomersScreen-BbQyIVj8.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
3401
3401
|
MySiteScreen: () => import("./MySiteScreen-DsDcBDeV.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
|
|
3402
3402
|
ShareablesScreen: () => import("./ShareablesScreen-XFHNgV5T.mjs").then((m) => m.shareablesScreenPropertySchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileContentScreen.d.ts","sourceRoot":"","sources":["../../src/screens/ProfileContentScreen.tsx"],"names":[],"mappings":"AA4DA,UAAU,yBAAyB;IACjC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1E,UAAU,EAAE,MAAM,CAAC;CACpB;AA6ED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,UAAU,EACX,EAAE,yBAAyB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"ProfileContentScreen.d.ts","sourceRoot":"","sources":["../../src/screens/ProfileContentScreen.tsx"],"names":[],"mappings":"AA4DA,UAAU,yBAAyB;IACjC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1E,UAAU,EAAE,MAAM,CAAC;CACpB;AA6ED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,UAAU,EACX,EAAE,yBAAyB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA+4B/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionsListScreen.d.ts","sourceRoot":"","sources":["../../src/screens/SubscriptionsListScreen.tsx"],"names":[],"mappings":"AA2CA,UAAU,4BAA4B;IACpC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,KAAK,IAAI,CAAC;CAC5E;
|
|
1
|
+
{"version":3,"file":"SubscriptionsListScreen.d.ts","sourceRoot":"","sources":["../../src/screens/SubscriptionsListScreen.tsx"],"names":[],"mappings":"AA2CA,UAAU,4BAA4B;IACpC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,KAAK,IAAI,CAAC;CAC5E;AAqfD,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,4BAA4B,GAClC,KAAK,CAAC,GAAG,CAAC,OAAO,CAanB"}
|
package/dist/{use-portal-card-add-3ds-flow-BCCtRHVn.mjs → use-portal-card-add-3ds-flow-C20B8F2z.mjs}
RENAMED
|
@@ -21121,7 +21121,10 @@ function useVgsCollect() {
|
|
|
21121
21121
|
const next = {
|
|
21122
21122
|
isFocused: !!field.isFocused,
|
|
21123
21123
|
isValid: !!field.isValid,
|
|
21124
|
-
isEmpty: !!field.isEmpty
|
|
21124
|
+
isEmpty: !!field.isEmpty,
|
|
21125
|
+
cardType: field.cardType,
|
|
21126
|
+
bin: field.bin,
|
|
21127
|
+
last4: field.last4
|
|
21125
21128
|
};
|
|
21126
21129
|
if (!newState[key] || JSON.stringify(newState[key]) !== JSON.stringify(next)) {
|
|
21127
21130
|
newState[key] = next;
|
|
@@ -21504,6 +21507,7 @@ function CreditCardFormDialog({ isOpen, onClose, onSubmit, isSubmitting, error,
|
|
|
21504
21507
|
setIsVgsSubmitting(false);
|
|
21505
21508
|
return;
|
|
21506
21509
|
}
|
|
21510
|
+
const cardMeta = vgsFieldState["card_number"];
|
|
21507
21511
|
onSubmit({
|
|
21508
21512
|
set_as_default: formData.set_as_default,
|
|
21509
21513
|
payment_method: {
|
|
@@ -21511,7 +21515,10 @@ function CreditCardFormDialog({ isOpen, onClose, onSubmit, isSubmitting, error,
|
|
|
21511
21515
|
cvv_token: response.card_cvc,
|
|
21512
21516
|
exp_month: expMonth,
|
|
21513
21517
|
exp_year: expYear,
|
|
21514
|
-
card_holder: cardholderName
|
|
21518
|
+
card_holder: cardholderName,
|
|
21519
|
+
...cardMeta?.bin ? { bin: cardMeta.bin } : {},
|
|
21520
|
+
...cardMeta?.last4 ? { last_four: cardMeta.last4 } : {},
|
|
21521
|
+
...cardMeta?.cardType ? { card_network: cardMeta.cardType } : {}
|
|
21515
21522
|
},
|
|
21516
21523
|
billing_address_id: billingAddressId
|
|
21517
21524
|
});
|
|
@@ -21520,7 +21527,11 @@ function CreditCardFormDialog({ isOpen, onClose, onSubmit, isSubmitting, error,
|
|
|
21520
21527
|
setCardError("Please select a billing address.");
|
|
21521
21528
|
setIsVgsSubmitting(false);
|
|
21522
21529
|
})();
|
|
21523
|
-
}, [
|
|
21530
|
+
}, [
|
|
21531
|
+
handleSubmit,
|
|
21532
|
+
onSubmit,
|
|
21533
|
+
vgsFieldState
|
|
21534
|
+
]);
|
|
21524
21535
|
const handleVgsError = useCallback((err) => {
|
|
21525
21536
|
setCardError(err);
|
|
21526
21537
|
setIsVgsSubmitting(false);
|
|
@@ -22445,4 +22456,4 @@ function usePortalCardAdd3DSFlow({ payApi, onApproved, onFailed, onCanceled, t }
|
|
|
22445
22456
|
//#endregion
|
|
22446
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 };
|
|
22447
22458
|
|
|
22448
|
-
//# sourceMappingURL=use-portal-card-add-3ds-flow-
|
|
22459
|
+
//# sourceMappingURL=use-portal-card-add-3ds-flow-C20B8F2z.mjs.map
|