@fluid-app/portal-sdk 0.1.321 → 0.1.323
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/{AddressAutocompleteInput-PJBI9E5E.mjs → AddressAutocompleteInput-BpbBARKk.mjs} +4 -1
- package/dist/AddressAutocompleteInput-BpbBARKk.mjs.map +1 -0
- package/dist/{AddressAutocompleteInput-CQLCLiwR.cjs → AddressAutocompleteInput-DkFs_leA.cjs} +4 -1
- package/dist/AddressAutocompleteInput-DkFs_leA.cjs.map +1 -0
- package/dist/{ProfileScreen-DyLQihOW.cjs → ProfileScreen-C3zOvEhX.cjs} +90 -2
- package/dist/ProfileScreen-C3zOvEhX.cjs.map +1 -0
- package/dist/{ProfileScreen-C7scpZZH.mjs → ProfileScreen-Chk8YkMW.mjs} +91 -3
- package/dist/ProfileScreen-Chk8YkMW.mjs.map +1 -0
- package/dist/{ProfileScreen-C9aqx1sO.cjs → ProfileScreen-CxOJ1D3H.cjs} +2 -2
- package/dist/{ProfileScreen-imlOJIjC.mjs → ProfileScreen-DZFMc4E9.mjs} +2 -2
- package/dist/{SubscriptionsScreen-CQ3L8wDE.mjs → SubscriptionsScreen-BIVZPjlJ.mjs} +20 -19
- package/dist/SubscriptionsScreen-BIVZPjlJ.mjs.map +1 -0
- package/dist/{SubscriptionsScreen-BP-sSa__.mjs → SubscriptionsScreen-BLligJrd.mjs} +2 -2
- package/dist/{SubscriptionsScreen-D0BtuCfM.cjs → SubscriptionsScreen-CLJO_AE7.cjs} +20 -19
- package/dist/SubscriptionsScreen-CLJO_AE7.cjs.map +1 -0
- package/dist/{SubscriptionsScreen-B3kKkAuA.cjs → SubscriptionsScreen-fUWYlZkB.cjs} +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +11 -11
- package/dist/AddressAutocompleteInput-CQLCLiwR.cjs.map +0 -1
- package/dist/AddressAutocompleteInput-PJBI9E5E.mjs.map +0 -1
- package/dist/ProfileScreen-C7scpZZH.mjs.map +0 -1
- package/dist/ProfileScreen-DyLQihOW.cjs.map +0 -1
- package/dist/SubscriptionsScreen-CQ3L8wDE.mjs.map +0 -1
- package/dist/SubscriptionsScreen-D0BtuCfM.cjs.map +0 -1
|
@@ -25,7 +25,7 @@ import "./MediaRenderer-CLmBOrvK.mjs";
|
|
|
25
25
|
import "./CarouselWidget-2fu0NYxd.mjs";
|
|
26
26
|
import "./CatchUpWidget-DxeBgueZ.mjs";
|
|
27
27
|
import "./src-DC5QoBhR.mjs";
|
|
28
|
-
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
28
|
+
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-BIVZPjlJ.mjs";
|
|
29
29
|
import "./ChartWidget-DfQQU2w2.mjs";
|
|
30
30
|
import "./ContainerWidget-CPacdtRy.mjs";
|
|
31
31
|
import "./ImageWidget-BOFNCjT1.mjs";
|
|
@@ -45,6 +45,6 @@ import "./VideoWidget-CjOhc8KW.mjs";
|
|
|
45
45
|
import "./SearchSort-BeYMXXIi.mjs";
|
|
46
46
|
import "./ShopWidget-BKTYcwx_.mjs";
|
|
47
47
|
import "./ScreenHeaderContext-Dn12BZyj.mjs";
|
|
48
|
-
import "./AddressAutocompleteInput-
|
|
48
|
+
import "./AddressAutocompleteInput-BpbBARKk.mjs";
|
|
49
49
|
import "./Combobox-B-rNFLTr.mjs";
|
|
50
50
|
export { SubscriptionsScreen, subscriptionsScreenPropertySchema };
|
|
@@ -10,7 +10,7 @@ const require_use_store = require("./use-store-D2S1FywW.cjs");
|
|
|
10
10
|
const require_query_keys = require("./query-keys-BpEJqQUB.cjs");
|
|
11
11
|
const require_use_account = require("./use-account-BS0vV-sW.cjs");
|
|
12
12
|
const require_AppNavigationContext = require("./AppNavigationContext-CDowN9gd.cjs");
|
|
13
|
-
const require_AddressAutocompleteInput = require("./AddressAutocompleteInput-
|
|
13
|
+
const require_AddressAutocompleteInput = require("./AddressAutocompleteInput-DkFs_leA.cjs");
|
|
14
14
|
const require_isAfter = require("./isAfter-DoabulQ5.cjs");
|
|
15
15
|
let react = require("react");
|
|
16
16
|
let _tanstack_react_query = require("@tanstack/react-query");
|
|
@@ -2515,7 +2515,7 @@ function mapDetailSubscription(bff) {
|
|
|
2515
2515
|
last_bill_date: bff.last_billing_date ?? null,
|
|
2516
2516
|
timezone: bff.timezone ?? null,
|
|
2517
2517
|
next_ship_date: null,
|
|
2518
|
-
last_ship_date: null,
|
|
2518
|
+
last_ship_date: bff.last_shipping_date ?? null,
|
|
2519
2519
|
disabled: false,
|
|
2520
2520
|
attempts: 0,
|
|
2521
2521
|
last_failed_at: bff.last_failed_at ?? null,
|
|
@@ -2943,6 +2943,8 @@ const subscriptionsDomain = require_static_dict_adapter.createDomainTranslations
|
|
|
2943
2943
|
order_frequency: "Order Frequency",
|
|
2944
2944
|
next_payment: "Next Payment",
|
|
2945
2945
|
last_billed: "Last Billed",
|
|
2946
|
+
last_shipped: "Last Shipped",
|
|
2947
|
+
last_bill_amount: "Last Bill Amount",
|
|
2946
2948
|
payment_and_shipping: "Payment & Shipping",
|
|
2947
2949
|
shipping_address: "Shipping Address",
|
|
2948
2950
|
payment_method: "Payment Method",
|
|
@@ -5993,7 +5995,7 @@ function SubscriptionItemsSection({ subscription, displayQuantity, displayNextBi
|
|
|
5993
5995
|
})
|
|
5994
5996
|
});
|
|
5995
5997
|
}
|
|
5996
|
-
function SubscriptionManagementSection({ subscription, isActive, isPaused, isCancelled, isMutating, onSkip, onPause, onResume, onCancel, onReactivate, onEditBillDate, onUpdatePaymentClick,
|
|
5998
|
+
function SubscriptionManagementSection({ subscription, isActive, isPaused, isCancelled, isMutating, onSkip, onPause, onResume, onCancel, onReactivate, onEditBillDate, onUpdatePaymentClick, renderPaymentMethod, renderShippingAddress }) {
|
|
5997
5999
|
const { t } = useSubscriptionsTranslation();
|
|
5998
6000
|
const plan = subscription.subscription_plan;
|
|
5999
6001
|
const quantity = subscription.quantity;
|
|
@@ -6111,32 +6113,32 @@ function SubscriptionManagementSection({ subscription, isActive, isPaused, isCan
|
|
|
6111
6113
|
children: formatSubscriptionFrequency(plan.billing_interval_unit)
|
|
6112
6114
|
})]
|
|
6113
6115
|
}),
|
|
6114
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6116
|
+
subscription.last_ship_date && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6117
|
+
className: "flex-1 px-4",
|
|
6118
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6119
|
+
className: "text-muted-foreground text-sm",
|
|
6120
|
+
children: t("last_shipped")
|
|
6121
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6122
|
+
className: "text-foreground font-medium",
|
|
6123
|
+
children: formatDate(subscription.last_ship_date)
|
|
6124
|
+
})]
|
|
6125
|
+
}),
|
|
6126
|
+
subscription.last_bill_date && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6115
6127
|
className: "flex-1 px-4",
|
|
6116
6128
|
children: [
|
|
6117
6129
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6118
6130
|
className: "text-muted-foreground text-sm",
|
|
6119
|
-
children: t("
|
|
6131
|
+
children: t("last_bill_amount")
|
|
6120
6132
|
}),
|
|
6121
6133
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6122
6134
|
className: "text-foreground font-medium",
|
|
6123
6135
|
children: totalPrice
|
|
6124
6136
|
}),
|
|
6125
|
-
|
|
6137
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6126
6138
|
className: "text-muted-foreground text-xs",
|
|
6127
|
-
children: formatDate(
|
|
6139
|
+
children: formatDate(subscription.last_bill_date)
|
|
6128
6140
|
})
|
|
6129
6141
|
]
|
|
6130
|
-
}),
|
|
6131
|
-
subscription.last_bill_date && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6132
|
-
className: "flex-1 pl-4 text-right",
|
|
6133
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6134
|
-
className: "text-muted-foreground text-sm",
|
|
6135
|
-
children: t("last_billed")
|
|
6136
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6137
|
-
className: "text-foreground font-medium",
|
|
6138
|
-
children: formatDate(subscription.last_bill_date)
|
|
6139
|
-
})]
|
|
6140
6142
|
})
|
|
6141
6143
|
]
|
|
6142
6144
|
})]
|
|
@@ -6466,7 +6468,6 @@ function SubscriptionDetail({ token, onNotFound, onError, onSuccess, onMutationE
|
|
|
6466
6468
|
onReactivate: handleReactivate,
|
|
6467
6469
|
onEditBillDate: () => setShowEditBillDateModal(true),
|
|
6468
6470
|
onUpdatePaymentClick,
|
|
6469
|
-
displayNextBillDate: pendingNextBillDate ?? void 0,
|
|
6470
6471
|
renderPaymentMethod,
|
|
6471
6472
|
renderShippingAddress
|
|
6472
6473
|
})]
|
|
@@ -7431,4 +7432,4 @@ Object.defineProperty(exports, "subscriptionsScreenPropertySchema", {
|
|
|
7431
7432
|
}
|
|
7432
7433
|
});
|
|
7433
7434
|
|
|
7434
|
-
//# sourceMappingURL=SubscriptionsScreen-
|
|
7435
|
+
//# sourceMappingURL=SubscriptionsScreen-CLJO_AE7.cjs.map
|