@nextblock-cms/ecom 0.18.8 → 0.19.2
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/index.cjs.js +1 -1
- package/index.es.js +26 -25
- package/lib/CurrencyProvider.cjs.js +1 -1
- package/lib/CurrencyProvider.es.js +41 -45
- package/lib/PaymentReadinessProvider.cjs.js +1 -1
- package/lib/PaymentReadinessProvider.es.js +15 -19
- package/lib/cart-store.cjs.js +1 -1
- package/lib/cart-store.d.ts +4 -0
- package/lib/cart-store.es.js +77 -69
- package/lib/components/AccountNavigationMenu.cjs.js +1 -1
- package/lib/components/AccountNavigationMenu.es.js +44 -62
- package/lib/components/AddToCartButton.cjs.js +1 -1
- package/lib/components/AddToCartButton.es.js +50 -78
- package/lib/components/Cart.cjs.js +1 -1
- package/lib/components/Cart.es.js +154 -381
- package/lib/components/CartDrawer.cjs.js +1 -1
- package/lib/components/CartDrawer.es.js +143 -297
- package/lib/components/CartIcon.cjs.js +1 -1
- package/lib/components/CartIcon.es.js +21 -47
- package/lib/components/Checkout.cjs.js +1 -1
- package/lib/components/Checkout.es.js +814 -1614
- package/lib/components/CouponForm.cjs.js +1 -1
- package/lib/components/CouponForm.es.js +104 -155
- package/lib/components/CurrencySwitcher.cjs.js +1 -1
- package/lib/components/CurrencySwitcher.es.js +14 -33
- package/lib/components/CustomerProfileForm.cjs.js +1 -1
- package/lib/components/CustomerProfileForm.es.js +264 -672
- package/lib/components/FeaturedProduct.cjs.js +1 -1
- package/lib/components/FeaturedProduct.es.js +46 -125
- package/lib/components/FreemiusLicensePanel.cjs.js +1 -1
- package/lib/components/FreemiusLicensePanel.es.js +45 -125
- package/lib/components/InvoiceDocument.cjs.js +1 -1
- package/lib/components/InvoiceDocument.es.js +148 -487
- package/lib/components/InvoiceViewerShell.cjs.js +2 -2
- package/lib/components/InvoiceViewerShell.d.ts +4 -1
- package/lib/components/InvoiceViewerShell.es.js +59 -142
- package/lib/components/ProductCard.cjs.js +1 -1
- package/lib/components/ProductCard.d.ts +3 -1
- package/lib/components/ProductCard.es.js +128 -242
- package/lib/components/ProductDetailsLayout.cjs.js +1 -1
- package/lib/components/ProductDetailsLayout.es.js +311 -652
- package/lib/components/ProductGallery.cjs.js +1 -1
- package/lib/components/ProductGallery.d.ts +2 -0
- package/lib/components/ProductGallery.es.js +37 -66
- package/lib/components/ProductGrid.cjs.js +1 -1
- package/lib/components/ProductGrid.es.js +23 -32
- package/lib/components/ShippingEstimator.cjs.js +1 -1
- package/lib/components/ShippingEstimator.es.js +118 -231
- package/lib/components/SimpleTiptapRenderer.cjs.js +1 -1
- package/lib/components/SimpleTiptapRenderer.es.js +111 -294
- package/lib/components/SubscriptionSelector.cjs.js +1 -1
- package/lib/components/SubscriptionSelector.es.js +120 -181
- package/lib/freemius-trial-provision.cjs.js +1 -0
- package/lib/freemius-trial-provision.d.ts +85 -0
- package/lib/freemius-trial-provision.es.js +136 -0
- package/lib/invoice.cjs.js +1 -1
- package/lib/invoice.d.ts +1 -1
- package/lib/invoice.es.js +6 -5
- package/lib/pages/cms/coupons/CouponEditorForm.cjs.js +1 -1
- package/lib/pages/cms/coupons/CouponEditorForm.es.js +115 -375
- package/lib/pages/cms/coupons/CouponsPage.cjs.js +2 -2
- package/lib/pages/cms/coupons/CouponsPage.es.js +116 -368
- package/lib/pages/cms/coupons/CreateCouponDialog.cjs.js +1 -1
- package/lib/pages/cms/coupons/CreateCouponDialog.es.js +26 -62
- package/lib/pages/cms/coupons/EditCouponPage.cjs.js +1 -1
- package/lib/pages/cms/coupons/EditCouponPage.es.js +35 -71
- package/lib/pages/cms/coupons/ProductScopePicker.cjs.js +1 -1
- package/lib/pages/cms/coupons/ProductScopePicker.es.js +72 -167
- package/lib/pages/cms/orders/ExportReportsDialog.cjs.js +1 -1
- package/lib/pages/cms/orders/ExportReportsDialog.es.js +87 -247
- package/lib/pages/cms/orders/OrderDetailPage.cjs.js +1 -1
- package/lib/pages/cms/orders/OrderDetailPage.es.js +95 -283
- package/lib/pages/cms/orders/OrderPrintButton.cjs.js +1 -1
- package/lib/pages/cms/orders/OrderPrintButton.es.js +9 -21
- package/lib/pages/cms/orders/OrderStatusForm.cjs.js +1 -1
- package/lib/pages/cms/orders/OrderStatusForm.es.js +46 -106
- package/lib/pages/cms/orders/OrdersPage.cjs.js +1 -1
- package/lib/pages/cms/orders/OrdersPage.es.js +78 -257
- package/lib/pages/cms/payments/PaymentsClient.cjs.js +1 -1
- package/lib/pages/cms/payments/PaymentsClient.es.js +192 -580
- package/lib/pages/cms/payments/PaymentsPage.cjs.js +1 -1
- package/lib/pages/cms/payments/PaymentsPage.es.js +14 -22
- package/lib/pages/cms/products/ProductsPage.cjs.js +1 -1
- package/lib/pages/cms/products/ProductsPage.es.js +47 -87
- package/lib/pages/cms/products/_id_/edit/EditProductPage.cjs.js +1 -1
- package/lib/pages/cms/products/_id_/edit/EditProductPage.es.js +97 -177
- package/lib/pages/cms/products/attributes/AttributeManagementPage.cjs.js +1 -1
- package/lib/pages/cms/products/attributes/AttributeManagementPage.es.js +40 -84
- package/lib/pages/cms/products/attributes/components/AttributeManager.cjs.js +1 -1
- package/lib/pages/cms/products/attributes/components/AttributeManager.es.js +192 -455
- package/lib/pages/cms/products/categories/CategoryManagementPage.cjs.js +1 -1
- package/lib/pages/cms/products/categories/CategoryManagementPage.es.js +28 -72
- package/lib/pages/cms/products/categories/components/CategoryManager.cjs.js +1 -1
- package/lib/pages/cms/products/categories/components/CategoryManager.es.js +183 -490
- package/lib/pages/cms/products/components/CopyProductFromLanguage.cjs.js +1 -1
- package/lib/pages/cms/products/components/CopyProductFromLanguage.es.js +69 -177
- package/lib/pages/cms/products/components/CurrencyPriceFields.cjs.js +1 -1
- package/lib/pages/cms/products/components/CurrencyPriceFields.es.js +102 -213
- package/lib/pages/cms/products/components/DeleteProductButton.cjs.js +1 -1
- package/lib/pages/cms/products/components/DeleteProductButton.es.js +25 -45
- package/lib/pages/cms/products/components/FreemiusPricingDashboard.cjs.js +1 -1
- package/lib/pages/cms/products/components/FreemiusPricingDashboard.es.js +58 -202
- package/lib/pages/cms/products/components/ProductCategorySelector.cjs.js +1 -1
- package/lib/pages/cms/products/components/ProductCategorySelector.es.js +89 -235
- package/lib/pages/cms/products/components/ProductForm.cjs.js +1 -1
- package/lib/pages/cms/products/components/ProductForm.es.js +526 -1110
- package/lib/pages/cms/products/components/ProductMediaManager.cjs.js +1 -1
- package/lib/pages/cms/products/components/ProductMediaManager.es.js +63 -154
- package/lib/pages/cms/products/components/ProductsBulkTable.cjs.js +1 -1
- package/lib/pages/cms/products/components/ProductsBulkTable.es.js +213 -544
- package/lib/pages/cms/products/components/SaleScheduleFields.cjs.js +1 -1
- package/lib/pages/cms/products/components/SaleScheduleFields.es.js +91 -207
- package/lib/pages/cms/products/components/SyncFreemiusButton.cjs.js +1 -1
- package/lib/pages/cms/products/components/SyncFreemiusButton.es.js +16 -28
- package/lib/pages/cms/products/components/SyncFreemiusPricingButton.cjs.js +2 -2
- package/lib/pages/cms/products/components/SyncFreemiusPricingButton.es.js +25 -37
- package/lib/pages/cms/products/components/VariationsEditor.cjs.js +1 -1
- package/lib/pages/cms/products/components/VariationsEditor.es.js +261 -492
- package/lib/pages/cms/products/inventory/InventoryPage.cjs.js +1 -1
- package/lib/pages/cms/products/inventory/InventoryPage.es.js +12 -32
- package/lib/pages/cms/products/inventory/InventoryTableClient.cjs.js +2 -2
- package/lib/pages/cms/products/inventory/InventoryTableClient.es.js +145 -365
- package/lib/pages/cms/products/new/NewProductPage.cjs.js +1 -1
- package/lib/pages/cms/products/new/NewProductPage.es.js +30 -42
- package/lib/pages/cms/shipping/ShippingPage.cjs.js +2 -2
- package/lib/pages/cms/shipping/ShippingPage.es.js +155 -507
- package/lib/pages/cms/shipping/components/RateForm.cjs.js +1 -1
- package/lib/pages/cms/shipping/components/RateForm.es.js +334 -717
- package/lib/pages/cms/shipping/components/ZoneForm.cjs.js +1 -1
- package/lib/pages/cms/shipping/components/ZoneForm.es.js +158 -392
- package/lib/pages/cms/taxes/TaxesPage.cjs.js +1 -1
- package/lib/pages/cms/taxes/TaxesPage.es.js +119 -447
- package/lib/pages/cms/taxes/components/TaxRateForm.cjs.js +1 -1
- package/lib/pages/cms/taxes/components/TaxRateForm.es.js +52 -156
- package/lib/product-context.cjs.js +1 -1
- package/lib/product-context.es.js +10 -14
- package/lib/trials.cjs.js +1 -1
- package/lib/trials.d.ts +10 -3
- package/lib/trials.es.js +28 -21
- package/lib/types.d.ts +2 -0
- package/lib/use-price-formatter.cjs.js +1 -0
- package/lib/use-price-formatter.d.ts +11 -0
- package/lib/use-price-formatter.es.js +13 -0
- package/lib/variation-utils.cjs.js +1 -1
- package/lib/variation-utils.d.ts +10 -0
- package/lib/variation-utils.es.js +139 -123
- package/package.json +4 -4
- package/server.cjs.js +1 -1
- package/server.d.ts +1 -0
- package/server.es.js +180 -172
package/server.es.js
CHANGED
|
@@ -1,203 +1,211 @@
|
|
|
1
|
-
import { clearPaymentConfigCache as t, getPaymentConfigStatus as o, getPaymentCredentialsView as
|
|
2
|
-
import { StripeNotConfiguredError as
|
|
3
|
-
import { createCheckoutSession as
|
|
1
|
+
import { clearPaymentConfigCache as t, getPaymentConfigStatus as o, getPaymentCredentialsView as i, hydrateFreemiusEnvFromDb as a, resolveStripePublishableKey as n, resolveStripeSecretKey as s, resolveStripeWebhookSecret as u, savePaymentCredentials as c } from "./lib/payment-config.es.js";
|
|
2
|
+
import { StripeNotConfiguredError as d, getStripeClient as p } from "./lib/stripe/client.es.js";
|
|
3
|
+
import { createCheckoutSession as l } from "./lib/stripe/checkout.es.js";
|
|
4
4
|
import { syncStripeOrderFromSession as P } from "./lib/stripe/order-sync.es.js";
|
|
5
|
-
import { handleStripeWebhook as
|
|
5
|
+
import { handleStripeWebhook as S } from "./lib/stripe/webhooks.es.js";
|
|
6
6
|
import { applyOrderInventoryDeduction as y } from "./lib/order-inventory.es.js";
|
|
7
|
-
import { aggregateOrderTaxLines as
|
|
8
|
-
import { DEFAULT_INVOICE_SETTINGS as D, INVOICE_SETTINGS_KEY as M, formatInvoiceCurrency as
|
|
9
|
-
import { assignInvoiceMetadata as z, getInvoiceBrandingData as
|
|
10
|
-
import { getCurrentCustomerOrder as
|
|
7
|
+
import { aggregateOrderTaxLines as F, buildOrderTaxDetailsFromCalculation as v, buildOrderTaxDetailsFromStripeSession as R, getOrderTaxRateJurisdiction as A, getOrderTaxRateLabel as I, getOrderTaxRatePercentage as h, normalizeOrderTaxDetails as T } from "./lib/order-tax-details.es.js";
|
|
8
|
+
import { DEFAULT_INVOICE_SETTINGS as D, INVOICE_SETTINGS_KEY as M, formatInvoiceCurrency as _, formatInvoiceDate as b, getInvoiceAddressLines as L, normalizeInvoiceSettings as k, serializeInvoiceSettings as N } from "./lib/invoice.es.js";
|
|
9
|
+
import { assignInvoiceMetadata as z, getInvoiceBrandingData as G, getInvoiceOrder as W, getInvoicePresentationData as K } from "./lib/invoice-server.es.js";
|
|
10
|
+
import { getCurrentCustomerOrder as Y, getCurrentCustomerOrderInvoice as w, getCurrentCustomerOrders as B } from "./lib/customer-orders.es.js";
|
|
11
11
|
import { getCouponQuote as Q, getQuoteLineDiscountMap as J, recordCouponRedemption as X } from "./lib/coupon-server.es.js";
|
|
12
12
|
import { deleteCouponFromFreemius as q, syncCouponToFreemius as H, syncProductSaleCouponToFreemius as $ } from "./lib/freemius-coupons.es.js";
|
|
13
|
-
import { FREEMIUS_LICENSE_CLAIM_MAX_AGE_MINUTES as re, FREEMIUS_LICENSE_CLAIM_REFUSED_MESSAGE as te, claimFreemiusLicenseKey as oe, evaluateFreemiusLicenseClaim as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
13
|
+
import { FREEMIUS_LICENSE_CLAIM_MAX_AGE_MINUTES as re, FREEMIUS_LICENSE_CLAIM_REFUSED_MESSAGE as te, claimFreemiusLicenseKey as oe, evaluateFreemiusLicenseClaim as ie, parseFreemiusTimestamp as ae } from "./lib/freemius-license-claim.es.js";
|
|
14
|
+
import { FREEMIUS_TRIAL_ALREADY_USED_MESSAGE as se, FREEMIUS_TRIAL_PROVISION_FAILED_MESSAGE as ue, computeTrialExpiry as ce, evaluateTrialEligibility as me, formatFreemiusTimestamp as de, pickTrialPricing as pe, provisionFreemiusTrialLicense as ge } from "./lib/freemius-trial-provision.es.js";
|
|
15
|
+
import { addressesMatch as Ce, emptyCustomerAddress as Pe, isCustomerAddressComplete as fe, normalizeCustomerAddress as Se, normalizeOrderCustomerDetails as xe } from "./lib/customer.es.js";
|
|
16
|
+
import { fillMissingUserProfileCheckoutDetails as Ee, getDefaultUserAddresses as Fe, upsertDefaultUserAddresses as ve } from "./lib/customer-addresses.es.js";
|
|
17
|
+
import { CURRENCY_ROUNDING_MODES as Ae, applyCurrencyRounding as Ie, convertMinorUnitAmount as he, describeCurrencyRoundingRule as Te, getCurrencyLookup as Oe, getDefaultCurrency as De, getExchangeRateForCurrency as Me, inferCurrencyCodeFromLocale as _e, isSaleWindowActive as be, isScheduledPriceDue as Le, normalizeCurrencyRecord as ke, normalizeCurrencyRoundingMode as Ne, normalizePriceMap as Ue, normalizeSalePriceMap as ze, resolveEffectivePriceForCurrency as Ge, resolvePriceForCurrency as We, resolvePriceRangeForCurrency as Ke, sortCurrencies as Ve } from "./lib/currency.es.js";
|
|
18
|
+
import { CURRENCY_COOKIE_NAME as we } from "./lib/currency-constants.es.js";
|
|
19
|
+
import { clearAutoSyncedCurrencyPriceOverrides as Ze, rebaseStoreCurrencyExchangeRates as Qe, syncStoreCurrencyRates as Je } from "./lib/currency-sync.es.js";
|
|
20
|
+
import { productSchema as je } from "./lib/product-schema.es.js";
|
|
21
|
+
import { copyProductFromLanguage as He, createProduct as $e, deleteProduct as er, fetchTranslatedProductsForCartInternal as rr, getProduct as tr, getProductBySlug as or, getProducts as ir, syncCategoriesForTranslationGroup as ar, updateProduct as nr } from "./lib/product-actions.es.js";
|
|
22
|
+
import { getPaymentProvider as ur } from "./lib/factory.es.js";
|
|
23
|
+
import { StripeProvider as mr } from "./lib/providers/stripe.es.js";
|
|
24
|
+
import { FreemiusProvider as pr, parseFreemiusCheckoutCredentialsMap as gr, readFreemiusEnvValue as lr, resolveFreemiusCheckoutCredentials as Cr, syncFreemiusProductsToSupabase as Pr, syncSingleFreemiusProduct as fr } from "./lib/providers/freemius.es.js";
|
|
25
|
+
import { extractFreemiusCheckoutMetadata as xr, getFreemiusWebhookSecretCandidates as yr, resolveFreemiusStatusFromCheckoutResponse as Er, resolveFreemiusStatusFromWebhookEvent as Fr, syncFreemiusCheckoutOrder as vr, syncFreemiusOrderFromWebhookEvent as Rr, verifyFreemiusWebhookSignature as Ar } from "./lib/freemius-order-sync.es.js";
|
|
26
|
+
import { getFreemiusOrderLicense as hr } from "./lib/freemius-license.es.js";
|
|
27
|
+
import { getCategoriesWithCount as Or, getCategoryBySlug as Dr, getProduct as Mr, getProducts as _r, getGlobalProductAttributes as br, getProductCategories as Lr, getProductTranslations as kr } from "./lib/pages/cms/products/actions.es.js";
|
|
28
|
+
import { createCategoryAction as Ur, createProductAction as zr, deleteCategoryAction as Gr, deleteProductAction as Wr, publishProductAction as Kr, syncProductCategoriesAction as Vr, updateCategoryAction as Yr, updateProductAction as wr } from "./lib/pages/cms/products/server-actions.es.js";
|
|
29
|
+
import { getEnabledPaymentProviders as Zr, getPaymentSettings as Qr, getProviderReadiness as Jr, getReadinessForProductType as Xr, getStoreConfigStatus as jr, getStoreReadiness as qr } from "./lib/pages/cms/payments/queries.es.js";
|
|
30
|
+
import { OrdersPage as $r } from "./lib/pages/cms/orders/OrdersPage.es.js";
|
|
31
|
+
import { OrderDetailPage as rt } from "./lib/pages/cms/orders/OrderDetailPage.es.js";
|
|
32
|
+
import { ExportReportsDialog as ot } from "./lib/pages/cms/orders/ExportReportsDialog.es.js";
|
|
33
|
+
import { fetchOrderReportData as at } from "./lib/pages/cms/orders/export-actions.es.js";
|
|
34
|
+
import { getOrderDetails as st, getOrders as ut } from "./lib/pages/cms/orders/actions.es.js";
|
|
35
|
+
import { ProductsPage as mt } from "./lib/pages/cms/products/ProductsPage.es.js";
|
|
36
|
+
import { InventoryPage as pt } from "./lib/pages/cms/products/inventory/InventoryPage.es.js";
|
|
37
|
+
import { AttributeManagementPage as lt } from "./lib/pages/cms/products/attributes/AttributeManagementPage.es.js";
|
|
38
|
+
import { NewProductPage as Pt } from "./lib/pages/cms/products/new/NewProductPage.es.js";
|
|
39
|
+
import { EditProductPage as St } from "./lib/pages/cms/products/_id_/edit/EditProductPage.es.js";
|
|
40
|
+
import { CopyProductFromLanguage as yt } from "./lib/pages/cms/products/components/CopyProductFromLanguage.es.js";
|
|
41
|
+
import { CategoryManagementPage as Ft } from "./lib/pages/cms/products/categories/CategoryManagementPage.es.js";
|
|
42
|
+
import { PaymentsPage as Rt } from "./lib/pages/cms/payments/PaymentsPage.es.js";
|
|
43
|
+
import { savePaymentProviderCredentials as It, updatePaymentSettings as ht } from "./lib/pages/cms/payments/actions.es.js";
|
|
44
|
+
import { ShippingPage as Ot } from "./lib/pages/cms/shipping/ShippingPage.es.js";
|
|
45
|
+
import { createShippingRate as Mt, createShippingZone as _t, deleteShippingRate as bt, deleteShippingZone as Lt, updateInventoryTrackingAction as kt, updateShippingRate as Nt, updateShippingZone as Ut } from "./lib/pages/cms/shipping/server-actions.es.js";
|
|
46
|
+
import { TaxesPage as Gt } from "./lib/pages/cms/taxes/TaxesPage.es.js";
|
|
47
|
+
import { deleteTaxRateAction as Kt, saveTaxRateAction as Vt, updateTaxSettingsAction as Yt } from "./lib/pages/cms/taxes/actions.es.js";
|
|
48
|
+
import { CouponsPage as Bt } from "./lib/pages/cms/coupons/CouponsPage.es.js";
|
|
49
|
+
import { EditCouponPage as Qt } from "./lib/pages/cms/coupons/EditCouponPage.es.js";
|
|
49
50
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
lt as AttributeManagementPage,
|
|
52
|
+
we as CURRENCY_COOKIE_NAME,
|
|
53
|
+
Ae as CURRENCY_ROUNDING_MODES,
|
|
54
|
+
Ft as CategoryManagementPage,
|
|
55
|
+
yt as CopyProductFromLanguage,
|
|
56
|
+
Bt as CouponsPage,
|
|
56
57
|
D as DEFAULT_INVOICE_SETTINGS,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
Qt as EditCouponPage,
|
|
59
|
+
St as EditProductPage,
|
|
60
|
+
ot as ExportReportsDialog,
|
|
60
61
|
re as FREEMIUS_LICENSE_CLAIM_MAX_AGE_MINUTES,
|
|
61
62
|
te as FREEMIUS_LICENSE_CLAIM_REFUSED_MESSAGE,
|
|
62
|
-
|
|
63
|
+
se as FREEMIUS_TRIAL_ALREADY_USED_MESSAGE,
|
|
64
|
+
ue as FREEMIUS_TRIAL_PROVISION_FAILED_MESSAGE,
|
|
65
|
+
pr as FreemiusProvider,
|
|
63
66
|
M as INVOICE_SETTINGS_KEY,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
67
|
+
pt as InventoryPage,
|
|
68
|
+
Pt as NewProductPage,
|
|
69
|
+
rt as OrderDetailPage,
|
|
70
|
+
$r as OrdersPage,
|
|
71
|
+
Rt as PaymentsPage,
|
|
72
|
+
mt as ProductsPage,
|
|
73
|
+
Ot as ShippingPage,
|
|
74
|
+
d as StripeNotConfiguredError,
|
|
75
|
+
mr as StripeProvider,
|
|
76
|
+
Gt as TaxesPage,
|
|
77
|
+
Ce as addressesMatch,
|
|
78
|
+
F as aggregateOrderTaxLines,
|
|
79
|
+
Ie as applyCurrencyRounding,
|
|
77
80
|
y as applyOrderInventoryDeduction,
|
|
78
81
|
z as assignInvoiceMetadata,
|
|
79
|
-
|
|
80
|
-
|
|
82
|
+
v as buildOrderTaxDetailsFromCalculation,
|
|
83
|
+
R as buildOrderTaxDetailsFromStripeSession,
|
|
81
84
|
oe as claimFreemiusLicenseKey,
|
|
82
|
-
|
|
85
|
+
Ze as clearAutoSyncedCurrencyPriceOverrides,
|
|
83
86
|
t as clearPaymentConfigCache,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
87
|
+
ce as computeTrialExpiry,
|
|
88
|
+
he as convertMinorUnitAmount,
|
|
89
|
+
He as copyProductFromLanguage,
|
|
90
|
+
Ur as createCategoryAction,
|
|
91
|
+
l as createCheckoutSession,
|
|
92
|
+
$e as createProduct,
|
|
93
|
+
zr as createProductAction,
|
|
94
|
+
Mt as createShippingRate,
|
|
95
|
+
_t as createShippingZone,
|
|
96
|
+
Gr as deleteCategoryAction,
|
|
93
97
|
q as deleteCouponFromFreemius,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
98
|
+
er as deleteProduct,
|
|
99
|
+
Wr as deleteProductAction,
|
|
100
|
+
bt as deleteShippingRate,
|
|
101
|
+
Lt as deleteShippingZone,
|
|
102
|
+
Kt as deleteTaxRateAction,
|
|
103
|
+
Te as describeCurrencyRoundingRule,
|
|
104
|
+
Pe as emptyCustomerAddress,
|
|
105
|
+
ie as evaluateFreemiusLicenseClaim,
|
|
106
|
+
me as evaluateTrialEligibility,
|
|
107
|
+
xr as extractFreemiusCheckoutMetadata,
|
|
108
|
+
at as fetchOrderReportData,
|
|
109
|
+
rr as fetchTranslatedProductsForCartInternal,
|
|
110
|
+
Ee as fillMissingUserProfileCheckoutDetails,
|
|
111
|
+
de as formatFreemiusTimestamp,
|
|
112
|
+
_ as formatInvoiceCurrency,
|
|
113
|
+
b as formatInvoiceDate,
|
|
114
|
+
Or as getCategoriesWithCount,
|
|
115
|
+
Dr as getCategoryBySlug,
|
|
116
|
+
Mr as getCmsProduct,
|
|
117
|
+
_r as getCmsProducts,
|
|
112
118
|
Q as getCouponQuote,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
119
|
+
Oe as getCurrencyLookup,
|
|
120
|
+
Y as getCurrentCustomerOrder,
|
|
121
|
+
w as getCurrentCustomerOrderInvoice,
|
|
122
|
+
B as getCurrentCustomerOrders,
|
|
123
|
+
De as getDefaultCurrency,
|
|
124
|
+
Fe as getDefaultUserAddresses,
|
|
125
|
+
Zr as getEnabledPaymentProviders,
|
|
126
|
+
Me as getExchangeRateForCurrency,
|
|
127
|
+
hr as getFreemiusOrderLicense,
|
|
128
|
+
yr as getFreemiusWebhookSecretCandidates,
|
|
129
|
+
br as getGlobalProductAttributes,
|
|
124
130
|
L as getInvoiceAddressLines,
|
|
125
|
-
|
|
126
|
-
|
|
131
|
+
G as getInvoiceBrandingData,
|
|
132
|
+
W as getInvoiceOrder,
|
|
127
133
|
K as getInvoicePresentationData,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
134
|
+
st as getOrderDetails,
|
|
135
|
+
A as getOrderTaxRateJurisdiction,
|
|
136
|
+
I as getOrderTaxRateLabel,
|
|
137
|
+
h as getOrderTaxRatePercentage,
|
|
138
|
+
ut as getOrders,
|
|
133
139
|
o as getPaymentConfigStatus,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
i as getPaymentCredentialsView,
|
|
141
|
+
ur as getPaymentProvider,
|
|
142
|
+
Qr as getPaymentSettings,
|
|
143
|
+
tr as getProduct,
|
|
144
|
+
or as getProductBySlug,
|
|
145
|
+
Lr as getProductCategories,
|
|
146
|
+
kr as getProductTranslations,
|
|
147
|
+
ir as getProducts,
|
|
148
|
+
Jr as getProviderReadiness,
|
|
143
149
|
J as getQuoteLineDiscountMap,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
150
|
+
Xr as getReadinessForProductType,
|
|
151
|
+
jr as getStoreConfigStatus,
|
|
152
|
+
qr as getStoreReadiness,
|
|
147
153
|
p as getStripeClient,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
S as handleStripeWebhook,
|
|
155
|
+
a as hydrateFreemiusEnvFromDb,
|
|
156
|
+
_e as inferCurrencyCodeFromLocale,
|
|
157
|
+
fe as isCustomerAddressComplete,
|
|
158
|
+
be as isSaleWindowActive,
|
|
159
|
+
Le as isScheduledPriceDue,
|
|
160
|
+
ke as normalizeCurrencyRecord,
|
|
161
|
+
Ne as normalizeCurrencyRoundingMode,
|
|
162
|
+
Se as normalizeCustomerAddress,
|
|
157
163
|
k as normalizeInvoiceSettings,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
164
|
+
xe as normalizeOrderCustomerDetails,
|
|
165
|
+
T as normalizeOrderTaxDetails,
|
|
166
|
+
Ue as normalizePriceMap,
|
|
167
|
+
ze as normalizeSalePriceMap,
|
|
168
|
+
gr as parseFreemiusCheckoutCredentialsMap,
|
|
169
|
+
ae as parseFreemiusTimestamp,
|
|
170
|
+
pe as pickTrialPricing,
|
|
171
|
+
je as productSchema,
|
|
172
|
+
ge as provisionFreemiusTrialLicense,
|
|
173
|
+
Kr as publishProductAction,
|
|
174
|
+
lr as readFreemiusEnvValue,
|
|
175
|
+
Qe as rebaseStoreCurrencyExchangeRates,
|
|
168
176
|
X as recordCouponRedemption,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
Ge as resolveEffectivePriceForCurrency,
|
|
178
|
+
Cr as resolveFreemiusCheckoutCredentials,
|
|
179
|
+
Er as resolveFreemiusStatusFromCheckoutResponse,
|
|
180
|
+
Fr as resolveFreemiusStatusFromWebhookEvent,
|
|
181
|
+
We as resolvePriceForCurrency,
|
|
182
|
+
Ke as resolvePriceRangeForCurrency,
|
|
175
183
|
n as resolveStripePublishableKey,
|
|
176
184
|
s as resolveStripeSecretKey,
|
|
177
185
|
u as resolveStripeWebhookSecret,
|
|
178
186
|
c as savePaymentCredentials,
|
|
179
|
-
|
|
180
|
-
|
|
187
|
+
It as savePaymentProviderCredentials,
|
|
188
|
+
Vt as saveTaxRateAction,
|
|
181
189
|
N as serializeInvoiceSettings,
|
|
182
|
-
|
|
183
|
-
|
|
190
|
+
Ve as sortCurrencies,
|
|
191
|
+
ar as syncCategoriesForTranslationGroup,
|
|
184
192
|
H as syncCouponToFreemius,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
193
|
+
vr as syncFreemiusCheckoutOrder,
|
|
194
|
+
Rr as syncFreemiusOrderFromWebhookEvent,
|
|
195
|
+
Pr as syncFreemiusProductsToSupabase,
|
|
196
|
+
Vr as syncProductCategoriesAction,
|
|
189
197
|
$ as syncProductSaleCouponToFreemius,
|
|
190
|
-
|
|
191
|
-
|
|
198
|
+
fr as syncSingleFreemiusProduct,
|
|
199
|
+
Je as syncStoreCurrencyRates,
|
|
192
200
|
P as syncStripeOrderFromSession,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
Yr as updateCategoryAction,
|
|
202
|
+
kt as updateInventoryTrackingAction,
|
|
203
|
+
ht as updatePaymentSettings,
|
|
204
|
+
nr as updateProduct,
|
|
205
|
+
wr as updateProductAction,
|
|
206
|
+
Nt as updateShippingRate,
|
|
207
|
+
Ut as updateShippingZone,
|
|
208
|
+
Yt as updateTaxSettingsAction,
|
|
209
|
+
ve as upsertDefaultUserAddresses,
|
|
210
|
+
Ar as verifyFreemiusWebhookSignature
|
|
203
211
|
};
|