@propeller-commerce/propeller-v2-react-ui 0.19.1 → 0.20.0
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/CHANGELOG.md +107 -0
- package/dist/index.cjs +67 -78
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -27
- package/dist/index.d.ts +46 -27
- package/dist/index.js +68 -79
- package/dist/index.js.map +1 -1
- package/dist/pure.cjs +3 -2
- package/dist/pure.cjs.map +1 -1
- package/dist/pure.d.cts +6 -4
- package/dist/pure.d.ts +6 -4
- package/dist/pure.js +3 -2
- package/dist/pure.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +6 -2
- package/dist/shared.d.cts +0 -24
- package/dist/shared.d.ts +0 -24
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { getLabel, getLocalizedValue, formatPrice, localeForLanguage, getClusterSku, getClusterImageUrl, isContentHidden, getProductSku, getProductImageUrl, createServices, err, ok, formatSurcharge, deriveUserMode, isContact, isCustomer, getAddresses, attributeNameMatches, getAttributeDisplayName, filterProductsBySelections, extractAttributeValues, buildInventoryFilter, MIN_STOCK_THRESHOLD, getNettedBonusItems, getLanguageString, collectAttributeValues, getCountryName } from '@propeller-commerce/propeller-v2-core-ui';
|
|
2
|
+
import { getLabel, getLocalizedValue, formatPrice, localeForLanguage, getClusterSku, getClusterImageUrl, isContentHidden, getProductSku, getProductImageUrl, isCheckoutAllowed, createServices, err, ok, formatSurcharge, deriveUserMode, isContact, isCustomer, getAddresses, attributeNameMatches, getAttributeDisplayName, filterProductsBySelections, extractAttributeValues, buildInventoryFilter, findPurchaserPac, isOverAuthorizationLimit, MIN_STOCK_THRESHOLD, getNettedBonusItems, getLanguageString, collectAttributeValues, getCountryName } from '@propeller-commerce/propeller-v2-core-ui';
|
|
3
3
|
export * from '@propeller-commerce/propeller-v2-core-ui';
|
|
4
4
|
import * as React6 from 'react';
|
|
5
5
|
import { createContext, useState, useRef, useCallback, useMemo, useContext, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
|
-
import { ProductStatus, ProductSortField, SortOrder,
|
|
7
|
+
import { ProductStatus, ProductSortField, SortOrder, CrossupsellType, CartStatus, CartAddressType, Gender, YesNo, AddressType, MagicTokenService, PaymentStatuses, OrderSearchFields, OrderItemClass, ProductSearchableField, machineService, PurchaseRole, AttributeType, OrderSortField, OrderType, BundleCondition, OrderDiscountType } from '@propeller-commerce/propeller-sdk-v2';
|
|
8
8
|
import { clsx } from 'clsx';
|
|
9
9
|
import { twMerge } from 'tailwind-merge';
|
|
10
10
|
import { User } from 'lucide-react';
|
|
@@ -725,6 +725,7 @@ var DEFAULT_IMAGE_VARIANT_FILTERS = {
|
|
|
725
725
|
function useCart(options) {
|
|
726
726
|
const { graphqlClient, user, companyId, configuration, onCartCreated } = options;
|
|
727
727
|
const language = options.language || configuration?.language || "NL";
|
|
728
|
+
const resolvedCompanyId = companyId ?? (user && "contactId" in user ? user.company?.companyId : void 0);
|
|
728
729
|
const [cart, setCart] = useState(null);
|
|
729
730
|
const [createdCartId, setCreatedCartId] = useState("");
|
|
730
731
|
const cartId = options.cartId || createdCartId;
|
|
@@ -746,20 +747,10 @@ function useCart(options) {
|
|
|
746
747
|
const [loading, setLoading] = useState(false);
|
|
747
748
|
const [error, setError] = useState(null);
|
|
748
749
|
const notesTimers = useRef({});
|
|
749
|
-
const checkoutAllowed = useMemo(
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
const pacData = user.purchaseAuthorizationConfigs;
|
|
754
|
-
const items = pacData?.items ?? [];
|
|
755
|
-
const purchaserPac = items.find(
|
|
756
|
-
(pac) => pac.purchaseRole === PurchaseRole.PURCHASER && pac.company?.companyId === companyId
|
|
757
|
-
);
|
|
758
|
-
if (!purchaserPac) return true;
|
|
759
|
-
const limit = purchaserPac.authorizationLimit ?? 0;
|
|
760
|
-
const totalGross = cart.total?.totalGross ?? 0;
|
|
761
|
-
return totalGross <= limit;
|
|
762
|
-
}, [user, companyId, cart]);
|
|
750
|
+
const checkoutAllowed = useMemo(
|
|
751
|
+
() => isCheckoutAllowed(user, companyId, cart),
|
|
752
|
+
[user, companyId, cart]
|
|
753
|
+
);
|
|
763
754
|
function getMinQuantity(product) {
|
|
764
755
|
const min = product?.minimumQuantity;
|
|
765
756
|
return min && min > 0 ? min : 1;
|
|
@@ -948,7 +939,8 @@ function useCart(options) {
|
|
|
948
939
|
imageVariantFilters: opts.imageVariantFilters ?? imageVariantFilters(),
|
|
949
940
|
priceCalculateProductInput: {
|
|
950
941
|
taxZone: taxZone || "NL",
|
|
951
|
-
|
|
942
|
+
// Switcher selection wins; the contact's default company is the fallback.
|
|
943
|
+
...resolvedCompanyId !== void 0 && { companyId: resolvedCompanyId },
|
|
952
944
|
...user && "contactId" in user && { contactId: user?.contactId },
|
|
953
945
|
...user && "customerId" in user && { customerId: user?.customerId }
|
|
954
946
|
}
|
|
@@ -958,7 +950,7 @@ function useCart(options) {
|
|
|
958
950
|
} catch {
|
|
959
951
|
return [];
|
|
960
952
|
}
|
|
961
|
-
}, [graphqlClient, language, user, imageSearchFilters, imageVariantFilters]);
|
|
953
|
+
}, [graphqlClient, language, user, resolvedCompanyId, imageSearchFilters, imageVariantFilters]);
|
|
962
954
|
return { cart, cartId, loading, error, checkoutAllowed, resolveCart, addItem, addItems, updateItemQuantity, updateItemNotes, deleteItem, addActionCode, removeActionCode, requestAuthorization, processCart, getCrossupsells, getMinQuantity, getStep };
|
|
963
955
|
}
|
|
964
956
|
function buildAddressInput(type, addr) {
|
|
@@ -4191,7 +4183,9 @@ function AccountIconAndMenu(rawProps) {
|
|
|
4191
4183
|
href: link.href,
|
|
4192
4184
|
onClick: (event) => handleMenuLinkClick(event, link.href),
|
|
4193
4185
|
"data-active": isActiveLink(link.href) ? "true" : "false",
|
|
4194
|
-
className:
|
|
4186
|
+
className: cn(
|
|
4187
|
+
`propeller-account-menu__link flex w-full items-center gap-3 px-4 py-2.5 text-sm font-medium transition-colors ${isActiveLink(link.href) ? "bg-primary/5 text-primary border-l-2 border-primary" : "text-muted-foreground hover:bg-surface-hover hover:text-foreground"}${props.linkClassName ? " " + props.linkClassName : ""}`
|
|
4188
|
+
),
|
|
4195
4189
|
children: link.label
|
|
4196
4190
|
}
|
|
4197
4191
|
) }, link.href)) }) }),
|
|
@@ -4213,7 +4207,7 @@ function AccountIconAndMenu(rawProps) {
|
|
|
4213
4207
|
onClick: (event) => handleIconClick(),
|
|
4214
4208
|
"aria-label": getLabel(props.labels, "accountLabel", "Account"),
|
|
4215
4209
|
"data-open": menuOpen ? "true" : "false",
|
|
4216
|
-
className: cn(`propeller-account-menu__trigger inline-flex items-center gap-2 px-3 py-2 rounded-control text-sm font-medium transition-colors text-
|
|
4210
|
+
className: cn(`propeller-account-menu__trigger inline-flex items-center gap-2 px-3 py-2 rounded-control text-sm font-medium transition-colors text-foreground hover:bg-surface-hover${props.iconClassName ? " " + props.iconClassName : ""}`),
|
|
4217
4211
|
children: [
|
|
4218
4212
|
/* @__PURE__ */ jsx(
|
|
4219
4213
|
"svg",
|
|
@@ -6491,7 +6485,8 @@ function pickPreselected(items, stored, keyOf) {
|
|
|
6491
6485
|
const list = items || [];
|
|
6492
6486
|
return (stored ? list.find((item) => keyOf(item) === stored) : void 0) || list[0];
|
|
6493
6487
|
}
|
|
6494
|
-
function CartCarriers(
|
|
6488
|
+
function CartCarriers(rawProps) {
|
|
6489
|
+
const props = useInfraProps(rawProps);
|
|
6495
6490
|
const [selectedName, setSelectedName] = useState("");
|
|
6496
6491
|
const containerClass = props.carriersContainerClass || "cart-carriers";
|
|
6497
6492
|
const showLogo = props.showCarrierLogo !== false;
|
|
@@ -6610,6 +6605,7 @@ function ItemStock(props) {
|
|
|
6610
6605
|
getTotalQuantity() > 0 ? /* @__PURE__ */ jsxs("span", { className: "propeller-item-stock__count opacity-70", children: [
|
|
6611
6606
|
"(",
|
|
6612
6607
|
getTotalQuantity(),
|
|
6608
|
+
" ",
|
|
6613
6609
|
getLabel(props.labels, "pieces", "pcs"),
|
|
6614
6610
|
")"
|
|
6615
6611
|
] }) : null
|
|
@@ -6843,7 +6839,7 @@ function CartItem(rawProps) {
|
|
|
6843
6839
|
}
|
|
6844
6840
|
useEffect(() => {
|
|
6845
6841
|
fetchCrossupsells();
|
|
6846
|
-
}, []);
|
|
6842
|
+
}, [props.companyId]);
|
|
6847
6843
|
useEffect(() => {
|
|
6848
6844
|
setQuantity(props.cartItem.quantity || 1);
|
|
6849
6845
|
setNotes(props.cartItem.notes || "");
|
|
@@ -7297,13 +7293,6 @@ CartItemExport.Price = CartItemPrice;
|
|
|
7297
7293
|
CartItemExport.Quantity = CartItemQuantity;
|
|
7298
7294
|
CartItemExport.Delete = CartItemDelete;
|
|
7299
7295
|
var CartItem_default = CartItemExport;
|
|
7300
|
-
function findPurchaserPAC(user, companyId) {
|
|
7301
|
-
if (!user || !("contactId" in user) || !companyId) return void 0;
|
|
7302
|
-
const items = user.purchaseAuthorizationConfigs?.items ?? [];
|
|
7303
|
-
return items.find(
|
|
7304
|
-
(pac) => pac.purchaseRole === PurchaseRole.PURCHASER && pac.company?.companyId === companyId
|
|
7305
|
-
);
|
|
7306
|
-
}
|
|
7307
7296
|
function CartIconAndSidebar(rawProps) {
|
|
7308
7297
|
const props = useInfraProps(rawProps);
|
|
7309
7298
|
const CartBonusItemsImpl = props.cartBonusItemsComponent ?? CartBonusItems_default;
|
|
@@ -7334,10 +7323,9 @@ function CartIconAndSidebar(rawProps) {
|
|
|
7334
7323
|
return useTax ? getLabel(props.labels, key, "Total") : getLabel(props.labels, "totalExclVat", "Total excl. VAT");
|
|
7335
7324
|
}
|
|
7336
7325
|
const sidebarTitle = props.cartSidebarTitle || props.labels?.["cartSidebarTitle"] || "Shopping cart";
|
|
7337
|
-
const purchaserPAC =
|
|
7338
|
-
const
|
|
7339
|
-
const
|
|
7340
|
-
const showCheckoutButton = props.cartCheckoutButton === false ? false : !props.user || !("contactId" in props.user) || !props.companyId || !purchaserPAC ? true : !overLimit;
|
|
7326
|
+
const purchaserPAC = findPurchaserPac(props.user, props.companyId);
|
|
7327
|
+
const overLimit = isOverAuthorizationLimit(props.user, props.companyId, props.cart);
|
|
7328
|
+
const showCheckoutButton = props.cartCheckoutButton === false ? false : !purchaserPAC ? true : !overLimit;
|
|
7341
7329
|
const showRequestAuthorizationButton = !!purchaserPAC && overLimit;
|
|
7342
7330
|
function handleIconClick() {
|
|
7343
7331
|
if (props.showCartSidebarOnClick !== false) {
|
|
@@ -7950,17 +7938,7 @@ function CartSummary(rawProps) {
|
|
|
7950
7938
|
}
|
|
7951
7939
|
}
|
|
7952
7940
|
function showRequestAuthorizationButton() {
|
|
7953
|
-
|
|
7954
|
-
if (!props.companyId) return false;
|
|
7955
|
-
if (!props.cart) return false;
|
|
7956
|
-
const items = props.user.purchaseAuthorizationConfigs?.items ?? [];
|
|
7957
|
-
const purchaserPAC = items.find(
|
|
7958
|
-
(pac) => pac.purchaseRole === PurchaseRole.PURCHASER && Number(pac.company?.companyId) === Number(props.companyId)
|
|
7959
|
-
);
|
|
7960
|
-
if (!purchaserPAC) return false;
|
|
7961
|
-
const limit = purchaserPAC.authorizationLimit ?? 0;
|
|
7962
|
-
const totalGross = props.cart.total?.totalGross ?? 0;
|
|
7963
|
-
return totalGross > limit;
|
|
7941
|
+
return isOverAuthorizationLimit(props.user, props.companyId, props.cart);
|
|
7964
7942
|
}
|
|
7965
7943
|
function showRequestQuoteButton() {
|
|
7966
7944
|
return !!props.onRequestQuoteClick && !!props.user && "contactId" in props.user;
|
|
@@ -8100,7 +8078,7 @@ function CategoryDescription(props) {
|
|
|
8100
8078
|
!shouldTruncate || expanded ? /* @__PURE__ */ jsx(
|
|
8101
8079
|
"div",
|
|
8102
8080
|
{
|
|
8103
|
-
className: "propeller-category-description__content
|
|
8081
|
+
className: "propeller-category-description__content text-muted-foreground",
|
|
8104
8082
|
dangerouslySetInnerHTML: { __html: html }
|
|
8105
8083
|
}
|
|
8106
8084
|
) : /* @__PURE__ */ jsx("p", { className: "propeller-category-description__truncated text-muted-foreground", children: getTruncated() }),
|
|
@@ -8126,7 +8104,7 @@ function CategoryShortDescription(props) {
|
|
|
8126
8104
|
return /* @__PURE__ */ jsx(Fragment, { children: !!html ? /* @__PURE__ */ jsx("div", { className: cn(`propeller-category-short-description mb-6 ${props.className || ""}`), children: /* @__PURE__ */ jsx(
|
|
8127
8105
|
"div",
|
|
8128
8106
|
{
|
|
8129
|
-
className: "propeller-category-short-description__content
|
|
8107
|
+
className: "propeller-category-short-description__content text-muted-foreground",
|
|
8130
8108
|
dangerouslySetInnerHTML: { __html: html }
|
|
8131
8109
|
}
|
|
8132
8110
|
) }) : null });
|
|
@@ -9366,27 +9344,24 @@ function ProductGrid(rawProps) {
|
|
|
9366
9344
|
{
|
|
9367
9345
|
children: [
|
|
9368
9346
|
props.beforeItem?.(item, idx),
|
|
9369
|
-
/* @__PURE__ */
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
}
|
|
9388
|
-
) : null }) : null
|
|
9389
|
-
] }),
|
|
9347
|
+
/* @__PURE__ */ jsx("div", { children: isClusterItem(item) ? /* @__PURE__ */ jsx(
|
|
9348
|
+
ClusterCardImpl,
|
|
9349
|
+
{
|
|
9350
|
+
cluster: item,
|
|
9351
|
+
labels: props.clusterCardLabels,
|
|
9352
|
+
stockLabels: props.stockLabels
|
|
9353
|
+
}
|
|
9354
|
+
) : /* @__PURE__ */ jsx(
|
|
9355
|
+
ProductCardImpl,
|
|
9356
|
+
{
|
|
9357
|
+
product: item,
|
|
9358
|
+
allowAddToCart: showAddToCart(),
|
|
9359
|
+
labels: props.productCardLabels,
|
|
9360
|
+
stockLabels: props.stockLabels,
|
|
9361
|
+
priceLabels: props.priceLabels,
|
|
9362
|
+
addToCartLabels: props.addToCartLabels
|
|
9363
|
+
}
|
|
9364
|
+
) }),
|
|
9390
9365
|
props.afterItem?.(item, idx)
|
|
9391
9366
|
]
|
|
9392
9367
|
},
|
|
@@ -11908,8 +11883,9 @@ function FavoriteListDetails(rawProps) {
|
|
|
11908
11883
|
if (contact.contactId) {
|
|
11909
11884
|
priceInput.contactId = contact.contactId;
|
|
11910
11885
|
}
|
|
11911
|
-
|
|
11912
|
-
|
|
11886
|
+
const activeCompanyId = props.companyId ?? contact.company?.companyId;
|
|
11887
|
+
if (activeCompanyId) {
|
|
11888
|
+
priceInput.companyId = activeCompanyId;
|
|
11913
11889
|
}
|
|
11914
11890
|
}
|
|
11915
11891
|
}
|
|
@@ -11985,12 +11961,15 @@ function FavoriteListDetails(rawProps) {
|
|
|
11985
11961
|
setPrevListId(props.favoriteListId || "");
|
|
11986
11962
|
fetchList();
|
|
11987
11963
|
}, []);
|
|
11964
|
+
const prevCompanyIdRef = useRef(props.companyId);
|
|
11988
11965
|
useEffect(() => {
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
|
|
11966
|
+
const listChanged = !!props.favoriteListId && props.favoriteListId !== prevListId;
|
|
11967
|
+
const companyChanged = props.companyId !== prevCompanyIdRef.current;
|
|
11968
|
+
if (!listChanged && !companyChanged) return;
|
|
11969
|
+
if (listChanged) setPrevListId(props.favoriteListId);
|
|
11970
|
+
prevCompanyIdRef.current = props.companyId;
|
|
11971
|
+
fetchList();
|
|
11972
|
+
}, [props.favoriteListId, props.companyId]);
|
|
11994
11973
|
return /* @__PURE__ */ jsxs("div", { className: cn(`propeller-favorite-list-details ${props.className || ""}`), "data-loading": loading ? "true" : "false", children: [
|
|
11995
11974
|
loading ? /* @__PURE__ */ jsx("div", { className: "propeller-favorite-list-details__skeleton space-y-4", children: [1, 2, 3]?.map((i) => /* @__PURE__ */ jsxs(
|
|
11996
11975
|
"div",
|
|
@@ -13866,7 +13845,7 @@ function OrderList(rawProps) {
|
|
|
13866
13845
|
return /* @__PURE__ */ jsxs("div", { className: cn(`propeller-order-list ${props.className || ""}`), "data-loading": loading ? "true" : "false", children: [
|
|
13867
13846
|
props.enableSearch && searchFields().length > 0 ? /* @__PURE__ */ jsxs("div", { className: "propeller-order-list__filters mb-6 bg-card p-4 rounded-container shadow space-y-4", children: [
|
|
13868
13847
|
searchFields().includes("term") ? /* @__PURE__ */ jsxs("div", { className: "propeller-order-list__search-field w-full", children: [
|
|
13869
|
-
/* @__PURE__ */ jsx("label", { className: "propeller-order-list__filter-label block text-sm font-medium text-muted-foreground
|
|
13848
|
+
/* @__PURE__ */ jsx("label", { className: "propeller-order-list__filter-label block text-sm font-medium text-muted-foreground mb-1", children: getColumnLabel("term") }),
|
|
13870
13849
|
/* @__PURE__ */ jsx(
|
|
13871
13850
|
"input",
|
|
13872
13851
|
{
|
|
@@ -13894,7 +13873,7 @@ function OrderList(rawProps) {
|
|
|
13894
13873
|
)
|
|
13895
13874
|
] }) : null,
|
|
13896
13875
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-4", children: searchFields().filter((f) => f !== "term")?.map((field) => /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
13897
|
-
/* @__PURE__ */ jsx("label", { className: "propeller-order-list__filter-label block text-sm font-medium text-muted-foreground
|
|
13876
|
+
/* @__PURE__ */ jsx("label", { className: "propeller-order-list__filter-label block text-sm font-medium text-muted-foreground", children: getColumnLabel(field) }),
|
|
13898
13877
|
field === "createdAt" ? /* @__PURE__ */ jsxs("div", { className: "flex space-x-2 w-full", children: [
|
|
13899
13878
|
/* @__PURE__ */ jsx(
|
|
13900
13879
|
"input",
|
|
@@ -14943,6 +14922,11 @@ function OrderSummary(props) {
|
|
|
14943
14922
|
] });
|
|
14944
14923
|
}
|
|
14945
14924
|
var OrderSummary_default = OrderSummary;
|
|
14925
|
+
function OrderSummaryWithProvider(rawProps) {
|
|
14926
|
+
const props = useInfraProps(rawProps);
|
|
14927
|
+
return /* @__PURE__ */ jsx(OrderSummary_default, { ...props });
|
|
14928
|
+
}
|
|
14929
|
+
var OrderSummaryWithProvider_default = OrderSummaryWithProvider;
|
|
14946
14930
|
function OrderTotals(props) {
|
|
14947
14931
|
const showSubtotal = props.showSubtotal !== false;
|
|
14948
14932
|
const showDiscount = props.showDiscount !== false;
|
|
@@ -15025,6 +15009,11 @@ function OrderTotals(props) {
|
|
|
15025
15009
|
] });
|
|
15026
15010
|
}
|
|
15027
15011
|
var OrderTotals_default = OrderTotals;
|
|
15012
|
+
function OrderTotalsWithProvider(rawProps) {
|
|
15013
|
+
const props = useInfraProps(rawProps);
|
|
15014
|
+
return /* @__PURE__ */ jsx(OrderTotals_default, { ...props });
|
|
15015
|
+
}
|
|
15016
|
+
var OrderTotalsWithProvider_default = OrderTotalsWithProvider;
|
|
15028
15017
|
function PriceToggle(props) {
|
|
15029
15018
|
const isControlled = props.value !== void 0;
|
|
15030
15019
|
const [internal, setInternal] = useState(props.initialState ?? true);
|
|
@@ -15588,7 +15577,7 @@ function ProductDescription(props) {
|
|
|
15588
15577
|
!shouldTruncate || expanded ? /* @__PURE__ */ jsx(
|
|
15589
15578
|
"div",
|
|
15590
15579
|
{
|
|
15591
|
-
className: "propeller-product-description__content
|
|
15580
|
+
className: "propeller-product-description__content text-muted-foreground",
|
|
15592
15581
|
dangerouslySetInnerHTML: { __html: html }
|
|
15593
15582
|
}
|
|
15594
15583
|
) : /* @__PURE__ */ jsx("p", { className: "propeller-product-description__truncated text-muted-foreground", children: getTruncated() }),
|
|
@@ -16330,7 +16319,7 @@ function ProductShortDescription(props) {
|
|
|
16330
16319
|
"div",
|
|
16331
16320
|
{
|
|
16332
16321
|
dangerouslySetInnerHTML: { __html: html },
|
|
16333
|
-
className: cn(`propeller-product-short-description
|
|
16322
|
+
className: cn(`propeller-product-short-description text-muted-foreground ${props.className || ""}`)
|
|
16334
16323
|
}
|
|
16335
16324
|
) : null });
|
|
16336
16325
|
}
|
|
@@ -19094,6 +19083,6 @@ function UserDetails(rawProps) {
|
|
|
19094
19083
|
}
|
|
19095
19084
|
var UserDetails_default = UserDetails;
|
|
19096
19085
|
|
|
19097
|
-
export { AccountIconAndMenu_default as AccountIconAndMenu, ActionCode_default as ActionCode, AddToCart_default as AddToCart, AddToFavorite_default as AddToFavorite, AddressCard_default as AddressCard, AddressSelector_default as AddressSelector, BreadcrumbsWithProvider_default as Breadcrumbs, CartBonusItems_default as CartBonusItems, CartCarriers_default as CartCarriers, CartIconAndSidebar_default as CartIconAndSidebar, CartItem_default as CartItem, CartOverview_default as CartOverview, CartPaymethods_default as CartPaymethods, CartSummary_default as CartSummary, CategoryDescription_default as CategoryDescription, CategoryShortDescriptionWithProvider_default as CategoryShortDescription, ClusterCard_default as ClusterCard, ClusterConfigurator_default as ClusterConfigurator, ClusterInfo_default as ClusterInfo, ClusterOptions_default as ClusterOptions, CompanySwitcher_default as CompanySwitcher, AddToCart_default as DefaultAddToCart, AddToFavorite_default as DefaultAddToFavorite, ItemStock_default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices_default as DefaultProductBulkPrices, ProductBundles_default as DefaultProductBundles, DefaultProductImage, ProductPrice_default as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate_default as DeliveryDate, FavoriteListDetails_default as FavoriteListDetails, FavoriteListItem_default as FavoriteListItem, FavoriteLists_default as FavoriteLists, ForgotPassword_default as ForgotPassword, GridFilters_default as GridFilters, GridFiltersPanel, GridPagination_default as GridPagination, GridTitleWithProvider_default as GridTitle, GridToolbar_default as GridToolbar, ItemStock_default as ItemStock, ItemsOverview_default as ItemsOverview, LoginForm_default as LoginForm, LoginToOrderButton_default as LoginToOrderButton, MachineCard, MachineGrid, Menu_default as Menu, OrderActions_default as OrderActions, OrderBonusItems_default as OrderBonusItems, OrderItemCard_default as OrderItemCard, OrderList_default as OrderList, OrderShipments_default as OrderShipments,
|
|
19086
|
+
export { AccountIconAndMenu_default as AccountIconAndMenu, ActionCode_default as ActionCode, AddToCart_default as AddToCart, AddToFavorite_default as AddToFavorite, AddressCard_default as AddressCard, AddressSelector_default as AddressSelector, BreadcrumbsWithProvider_default as Breadcrumbs, CartBonusItems_default as CartBonusItems, CartCarriers_default as CartCarriers, CartIconAndSidebar_default as CartIconAndSidebar, CartItem_default as CartItem, CartOverview_default as CartOverview, CartPaymethods_default as CartPaymethods, CartSummary_default as CartSummary, CategoryDescription_default as CategoryDescription, CategoryShortDescriptionWithProvider_default as CategoryShortDescription, ClusterCard_default as ClusterCard, ClusterConfigurator_default as ClusterConfigurator, ClusterInfo_default as ClusterInfo, ClusterOptions_default as ClusterOptions, CompanySwitcher_default as CompanySwitcher, AddToCart_default as DefaultAddToCart, AddToFavorite_default as DefaultAddToFavorite, ItemStock_default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices_default as DefaultProductBulkPrices, ProductBundles_default as DefaultProductBundles, DefaultProductImage, ProductPrice_default as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate_default as DeliveryDate, FavoriteListDetails_default as FavoriteListDetails, FavoriteListItem_default as FavoriteListItem, FavoriteLists_default as FavoriteLists, ForgotPassword_default as ForgotPassword, GridFilters_default as GridFilters, GridFiltersPanel, GridPagination_default as GridPagination, GridTitleWithProvider_default as GridTitle, GridToolbar_default as GridToolbar, ItemStock_default as ItemStock, ItemsOverview_default as ItemsOverview, LoginForm_default as LoginForm, LoginToOrderButton_default as LoginToOrderButton, MachineCard, MachineGrid, Menu_default as Menu, OrderActions_default as OrderActions, OrderBonusItems_default as OrderBonusItems, OrderItemCard_default as OrderItemCard, OrderList_default as OrderList, OrderShipments_default as OrderShipments, OrderSummaryWithProvider_default as OrderSummary, OrderTotalsWithProvider_default as OrderTotals, PriceToggle_default as PriceToggle, ProductBulkPricesWithProvider_default as ProductBulkPrices, ProductBundles_default as ProductBundles, ProductCard_default as ProductCard, ProductDescription_default as ProductDescription, ProductDownloads_default as ProductDownloads, ProductGallery_default as ProductGallery, ProductGrid_default as ProductGrid, ProductGridConfigProvider, ProductInfo_default as ProductInfo, ProductPriceWithProvider_default as ProductPrice, ProductShortDescriptionWithProvider_default as ProductShortDescription, ProductSlider_default as ProductSlider, ProductSpecifications_default as ProductSpecifications, ProductTabs_default as ProductTabs, ProductVideos_default as ProductVideos, PropellerDepsProvider, PropellerProvider, PurchaseAuthorizationConfigurator_default as PurchaseAuthorizationConfigurator, PurchaseAuthorizationRequests_default as PurchaseAuthorizationRequests, QuickOrder, QuoteActions_default as QuoteActions, RegisterForm_default as RegisterForm, SearchBar_default as SearchBar, UserDetails_default as UserDetails, buildRootMachinesQuery, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMachines, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useQuickOrder, useRequiredPropellerDeps, useResolvedProps, useServices, useSpareParts, useUserMode };
|
|
19098
19087
|
//# sourceMappingURL=index.js.map
|
|
19099
19088
|
//# sourceMappingURL=index.js.map
|