@propeller-commerce/propeller-v2-react-ui 0.4.7 → 0.4.10
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 +51 -0
- package/dist/index.cjs +120 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +120 -26
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4164,6 +4164,33 @@ interface GridFiltersProps {
|
|
|
4164
4164
|
*/
|
|
4165
4165
|
declare function GridFilters(rawProps: GridFiltersProps): React$1.JSX.Element;
|
|
4166
4166
|
|
|
4167
|
+
/**
|
|
4168
|
+
* @rsc-blocked — Client-only component: interactive open/close state.
|
|
4169
|
+
* Owns BOTH the desktop filter sidebar and the mobile slide-in drawer around a
|
|
4170
|
+
* single {@link GridFilters} instance. At `lg` (1024px) and up the filters
|
|
4171
|
+
* render inline as a static sidebar; below `lg` they collapse behind a
|
|
4172
|
+
* "Filters" trigger button and slide in from the left as an off-canvas drawer.
|
|
4173
|
+
* One `GridFilters` is mounted regardless of viewport — no duplicate state.
|
|
4174
|
+
*/
|
|
4175
|
+
|
|
4176
|
+
interface GridFiltersPanelProps extends GridFiltersProps {
|
|
4177
|
+
/**
|
|
4178
|
+
* Number of active filters, shown as a badge on the mobile trigger button.
|
|
4179
|
+
* The host computes this from its active filter state. Omit or 0 to hide
|
|
4180
|
+
* the badge.
|
|
4181
|
+
*/
|
|
4182
|
+
activeFilterCount?: number;
|
|
4183
|
+
/** Extra CSS class on the outer panel root. */
|
|
4184
|
+
wrapperClassName?: string;
|
|
4185
|
+
}
|
|
4186
|
+
/**
|
|
4187
|
+
* Responsive filters panel. Replaces the host's `<aside>` + `<GridFilters>`
|
|
4188
|
+
* with a single component that is the inline sidebar at `lg`+ and the
|
|
4189
|
+
* off-canvas drawer below `lg`. Filters apply live on every change (same as
|
|
4190
|
+
* the inline sidebar), so the drawer's "Show results" button just closes it.
|
|
4191
|
+
*/
|
|
4192
|
+
declare function GridFiltersPanel(props: GridFiltersPanelProps): React$1.JSX.Element;
|
|
4193
|
+
|
|
4167
4194
|
/**
|
|
4168
4195
|
* @rsc-safe — Pure display component. No React hooks, no event handlers, no
|
|
4169
4196
|
* browser APIs, no context reads. Renders directly from props and can be
|
|
@@ -6475,4 +6502,4 @@ declare function DefaultProductBadges(props: BadgesComponentProps): React__defau
|
|
|
6475
6502
|
*/
|
|
6476
6503
|
declare function DefaultProductSurcharges(props: ProductSurchargesComponentProps): React__default.JSX.Element | null;
|
|
6477
6504
|
|
|
6478
|
-
export { AccountIconAndMenu, type AccountIconAndMenuProps, ActionCode, type ActionCodeProps, type AddContactFormState, type AddItemOptions, _default$1 as AddToCart, type AddToCartProps, AddToFavorite, type AddToFavoriteProps, AddressCardExport as AddressCard, type AddressCardProps, type AddressInput, AddressSelector, type AddressSelectorProps, type AttributeDisplayItem, type AttributeGroup, BreadcrumbsWithProvider as Breadcrumbs, type BreadcrumbsProps, CartBonusItems, type CartBonusItemsProps, CartCarriers, type CartCarriersProps, CartIconAndSidebar, type CartIconAndSidebarProps, type CartInitConfig, CartItemExport as CartItem, type CartItemProps, CartOverview, type CartOverviewProps, CartPaymethods, type CartPaymethodsProps, CartSummary, type CartSummaryProps, CategoryDescription, type CategoryDescriptionProps, CategoryShortDescriptionWithProvider as CategoryShortDescription, type CategoryShortDescriptionProps, ClusterCardExport as ClusterCard, type ClusterCardProps, ClusterConfigurator, type ClusterConfiguratorProps, ClusterInfo, type ClusterInfoProps, ClusterOptions, type ClusterOptionsProps, CompanySwitcher, type CompanySwitcherProps, type ConfiguredSetting, _default$1 as DefaultAddToCart, AddToFavorite as DefaultAddToFavorite, _default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices as DefaultProductBulkPrices, ProductBundles as DefaultProductBundles, DefaultProductImage, ProductPriceDisplay as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate, type DeliveryDateProps, FavoriteListDetails, type FavoriteListDetailsProps, type FavoriteListFormData, FavoriteListItemExport as FavoriteListItem, type FavoriteListItemProps, FavoriteLists, type FavoriteListsProps, type FetchActiveCartConfig, type FetchCrossupsellsInput, ForgotPassword, type ForgotPasswordProps, type GetCrossupsellsOptions, GridFilters, type GridFiltersProps, GridPagination, type GridPaginationProps, GridTitleWithProvider as GridTitle, type GridTitleProps, GridToolbar, type GridToolbarProps, _default as ItemStock, type ItemStockProps, ItemsOverview, type ItemsOverviewProps, LoginFormExport as LoginForm, type LoginFormProps, Menu, type MenuCategory, type MenuProps, OrderActions, type OrderActionsProps, OrderBonusItems, type OrderBonusItemsProps, OrderItemCard, type OrderItemCardProps, OrderList, type OrderListProps, type OrderSearchForm, OrderShipments, type OrderShipmentsProps, OrderSummary, type OrderSummaryProps, OrderTotals, type OrderTotalsProps, type PlaceOrderOptions, PriceToggle, type PriceToggleProps, ProductBulkPricesWithProvider as ProductBulkPrices, type ProductBulkPricesProps, ProductBundles, type ProductBundlesProps, ProductCard, type ProductCardProps, ProductDescription, type ProductDescriptionProps, ProductDownloads, type ProductDownloadsProps, ProductGallery, type ProductGalleryProps, ProductGridCompound as ProductGrid, type ProductGridConfig, ProductGridConfigProvider, type ProductGridProps, ProductInfoExport as ProductInfo, type ProductInfoProps, ProductPriceWithProvider as ProductPrice, type ProductPriceProps, ProductShortDescriptionWithProvider as ProductShortDescription, type ProductShortDescriptionProps, ProductSlider, type ProductSliderProps, ProductSpecifications, type ProductSpecificationsProps, ProductTabs, type ProductTabsProps, ProductVideos, type ProductVideosProps, type PropellerDeps, PropellerDepsProvider, type PropellerDepsProviderProps, type PropellerInfra, PropellerProvider, type PropellerProviderProps, type PropellerScope, PurchaseAuthorizationConfigurator, type PurchaseAuthorizationConfiguratorProps, PurchaseAuthorizationRequests, type PurchaseAuthorizationRequestsProps, QuoteActions, type QuoteActionsProps, RegisterForm, type RegisterFormProps, type ResolveSpec, type RowEdit, SearchBar, type SearchBarProps, type UseAddressOptions, type UseAddressReturn, type LoginResult as UseAuthLoginResult, type UseAuthOptions, type RegisterContactInput as UseAuthRegisterContactInput, type RegisterCustomerInput as UseAuthRegisterCustomerInput, type UseAuthReturn, type UseCartOptions, type UseCartReturn, type UseCheckoutOptions, type UseCheckoutReturn, type UseClusterConfiguratorOptions, type UseClusterConfiguratorReturn, type UseCompanyOptions, type UseCompanyReturn, type UseFavoritesOptions, type UseFavoritesReturn, type UseMenuOptions, type UseMenuReturn, type UseOrdersOptions, type UseOrdersReturn, type BundleItem as UseProductBundlesBundleItem, type UseProductBundlesOptions, type UseProductBundlesReturn, type UseProductInfoOptions, type UseProductInfoReturn, type UseProductSearchOptions, type UseProductSearchReturn, type UseProductSliderOptions, type UseProductSliderReturn, type UseProductSpecsOptions, type UseProductSpecsReturn, type UsePurchaseAuthorizationConfiguratorOptions, type UsePurchaseAuthorizationConfiguratorReturn, type UsePurchaseAuthorizationRequestsOptions, type UsePurchaseAuthorizationRequestsReturn, UserDetails, type UserDetailsProps, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useRequiredPropellerDeps, useResolvedProps, useServices, useUserMode };
|
|
6505
|
+
export { AccountIconAndMenu, type AccountIconAndMenuProps, ActionCode, type ActionCodeProps, type AddContactFormState, type AddItemOptions, _default$1 as AddToCart, type AddToCartProps, AddToFavorite, type AddToFavoriteProps, AddressCardExport as AddressCard, type AddressCardProps, type AddressInput, AddressSelector, type AddressSelectorProps, type AttributeDisplayItem, type AttributeGroup, BreadcrumbsWithProvider as Breadcrumbs, type BreadcrumbsProps, CartBonusItems, type CartBonusItemsProps, CartCarriers, type CartCarriersProps, CartIconAndSidebar, type CartIconAndSidebarProps, type CartInitConfig, CartItemExport as CartItem, type CartItemProps, CartOverview, type CartOverviewProps, CartPaymethods, type CartPaymethodsProps, CartSummary, type CartSummaryProps, CategoryDescription, type CategoryDescriptionProps, CategoryShortDescriptionWithProvider as CategoryShortDescription, type CategoryShortDescriptionProps, ClusterCardExport as ClusterCard, type ClusterCardProps, ClusterConfigurator, type ClusterConfiguratorProps, ClusterInfo, type ClusterInfoProps, ClusterOptions, type ClusterOptionsProps, CompanySwitcher, type CompanySwitcherProps, type ConfiguredSetting, _default$1 as DefaultAddToCart, AddToFavorite as DefaultAddToFavorite, _default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices as DefaultProductBulkPrices, ProductBundles as DefaultProductBundles, DefaultProductImage, ProductPriceDisplay as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate, type DeliveryDateProps, FavoriteListDetails, type FavoriteListDetailsProps, type FavoriteListFormData, FavoriteListItemExport as FavoriteListItem, type FavoriteListItemProps, FavoriteLists, type FavoriteListsProps, type FetchActiveCartConfig, type FetchCrossupsellsInput, ForgotPassword, type ForgotPasswordProps, type GetCrossupsellsOptions, GridFilters, GridFiltersPanel, type GridFiltersPanelProps, type GridFiltersProps, GridPagination, type GridPaginationProps, GridTitleWithProvider as GridTitle, type GridTitleProps, GridToolbar, type GridToolbarProps, _default as ItemStock, type ItemStockProps, ItemsOverview, type ItemsOverviewProps, LoginFormExport as LoginForm, type LoginFormProps, Menu, type MenuCategory, type MenuProps, OrderActions, type OrderActionsProps, OrderBonusItems, type OrderBonusItemsProps, OrderItemCard, type OrderItemCardProps, OrderList, type OrderListProps, type OrderSearchForm, OrderShipments, type OrderShipmentsProps, OrderSummary, type OrderSummaryProps, OrderTotals, type OrderTotalsProps, type PlaceOrderOptions, PriceToggle, type PriceToggleProps, ProductBulkPricesWithProvider as ProductBulkPrices, type ProductBulkPricesProps, ProductBundles, type ProductBundlesProps, ProductCard, type ProductCardProps, ProductDescription, type ProductDescriptionProps, ProductDownloads, type ProductDownloadsProps, ProductGallery, type ProductGalleryProps, ProductGridCompound as ProductGrid, type ProductGridConfig, ProductGridConfigProvider, type ProductGridProps, ProductInfoExport as ProductInfo, type ProductInfoProps, ProductPriceWithProvider as ProductPrice, type ProductPriceProps, ProductShortDescriptionWithProvider as ProductShortDescription, type ProductShortDescriptionProps, ProductSlider, type ProductSliderProps, ProductSpecifications, type ProductSpecificationsProps, ProductTabs, type ProductTabsProps, ProductVideos, type ProductVideosProps, type PropellerDeps, PropellerDepsProvider, type PropellerDepsProviderProps, type PropellerInfra, PropellerProvider, type PropellerProviderProps, type PropellerScope, PurchaseAuthorizationConfigurator, type PurchaseAuthorizationConfiguratorProps, PurchaseAuthorizationRequests, type PurchaseAuthorizationRequestsProps, QuoteActions, type QuoteActionsProps, RegisterForm, type RegisterFormProps, type ResolveSpec, type RowEdit, SearchBar, type SearchBarProps, type UseAddressOptions, type UseAddressReturn, type LoginResult as UseAuthLoginResult, type UseAuthOptions, type RegisterContactInput as UseAuthRegisterContactInput, type RegisterCustomerInput as UseAuthRegisterCustomerInput, type UseAuthReturn, type UseCartOptions, type UseCartReturn, type UseCheckoutOptions, type UseCheckoutReturn, type UseClusterConfiguratorOptions, type UseClusterConfiguratorReturn, type UseCompanyOptions, type UseCompanyReturn, type UseFavoritesOptions, type UseFavoritesReturn, type UseMenuOptions, type UseMenuReturn, type UseOrdersOptions, type UseOrdersReturn, type BundleItem as UseProductBundlesBundleItem, type UseProductBundlesOptions, type UseProductBundlesReturn, type UseProductInfoOptions, type UseProductInfoReturn, type UseProductSearchOptions, type UseProductSearchReturn, type UseProductSliderOptions, type UseProductSliderReturn, type UseProductSpecsOptions, type UseProductSpecsReturn, type UsePurchaseAuthorizationConfiguratorOptions, type UsePurchaseAuthorizationConfiguratorReturn, type UsePurchaseAuthorizationRequestsOptions, type UsePurchaseAuthorizationRequestsReturn, UserDetails, type UserDetailsProps, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useRequiredPropellerDeps, useResolvedProps, useServices, useUserMode };
|
package/dist/index.d.ts
CHANGED
|
@@ -4164,6 +4164,33 @@ interface GridFiltersProps {
|
|
|
4164
4164
|
*/
|
|
4165
4165
|
declare function GridFilters(rawProps: GridFiltersProps): React$1.JSX.Element;
|
|
4166
4166
|
|
|
4167
|
+
/**
|
|
4168
|
+
* @rsc-blocked — Client-only component: interactive open/close state.
|
|
4169
|
+
* Owns BOTH the desktop filter sidebar and the mobile slide-in drawer around a
|
|
4170
|
+
* single {@link GridFilters} instance. At `lg` (1024px) and up the filters
|
|
4171
|
+
* render inline as a static sidebar; below `lg` they collapse behind a
|
|
4172
|
+
* "Filters" trigger button and slide in from the left as an off-canvas drawer.
|
|
4173
|
+
* One `GridFilters` is mounted regardless of viewport — no duplicate state.
|
|
4174
|
+
*/
|
|
4175
|
+
|
|
4176
|
+
interface GridFiltersPanelProps extends GridFiltersProps {
|
|
4177
|
+
/**
|
|
4178
|
+
* Number of active filters, shown as a badge on the mobile trigger button.
|
|
4179
|
+
* The host computes this from its active filter state. Omit or 0 to hide
|
|
4180
|
+
* the badge.
|
|
4181
|
+
*/
|
|
4182
|
+
activeFilterCount?: number;
|
|
4183
|
+
/** Extra CSS class on the outer panel root. */
|
|
4184
|
+
wrapperClassName?: string;
|
|
4185
|
+
}
|
|
4186
|
+
/**
|
|
4187
|
+
* Responsive filters panel. Replaces the host's `<aside>` + `<GridFilters>`
|
|
4188
|
+
* with a single component that is the inline sidebar at `lg`+ and the
|
|
4189
|
+
* off-canvas drawer below `lg`. Filters apply live on every change (same as
|
|
4190
|
+
* the inline sidebar), so the drawer's "Show results" button just closes it.
|
|
4191
|
+
*/
|
|
4192
|
+
declare function GridFiltersPanel(props: GridFiltersPanelProps): React$1.JSX.Element;
|
|
4193
|
+
|
|
4167
4194
|
/**
|
|
4168
4195
|
* @rsc-safe — Pure display component. No React hooks, no event handlers, no
|
|
4169
4196
|
* browser APIs, no context reads. Renders directly from props and can be
|
|
@@ -6475,4 +6502,4 @@ declare function DefaultProductBadges(props: BadgesComponentProps): React__defau
|
|
|
6475
6502
|
*/
|
|
6476
6503
|
declare function DefaultProductSurcharges(props: ProductSurchargesComponentProps): React__default.JSX.Element | null;
|
|
6477
6504
|
|
|
6478
|
-
export { AccountIconAndMenu, type AccountIconAndMenuProps, ActionCode, type ActionCodeProps, type AddContactFormState, type AddItemOptions, _default$1 as AddToCart, type AddToCartProps, AddToFavorite, type AddToFavoriteProps, AddressCardExport as AddressCard, type AddressCardProps, type AddressInput, AddressSelector, type AddressSelectorProps, type AttributeDisplayItem, type AttributeGroup, BreadcrumbsWithProvider as Breadcrumbs, type BreadcrumbsProps, CartBonusItems, type CartBonusItemsProps, CartCarriers, type CartCarriersProps, CartIconAndSidebar, type CartIconAndSidebarProps, type CartInitConfig, CartItemExport as CartItem, type CartItemProps, CartOverview, type CartOverviewProps, CartPaymethods, type CartPaymethodsProps, CartSummary, type CartSummaryProps, CategoryDescription, type CategoryDescriptionProps, CategoryShortDescriptionWithProvider as CategoryShortDescription, type CategoryShortDescriptionProps, ClusterCardExport as ClusterCard, type ClusterCardProps, ClusterConfigurator, type ClusterConfiguratorProps, ClusterInfo, type ClusterInfoProps, ClusterOptions, type ClusterOptionsProps, CompanySwitcher, type CompanySwitcherProps, type ConfiguredSetting, _default$1 as DefaultAddToCart, AddToFavorite as DefaultAddToFavorite, _default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices as DefaultProductBulkPrices, ProductBundles as DefaultProductBundles, DefaultProductImage, ProductPriceDisplay as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate, type DeliveryDateProps, FavoriteListDetails, type FavoriteListDetailsProps, type FavoriteListFormData, FavoriteListItemExport as FavoriteListItem, type FavoriteListItemProps, FavoriteLists, type FavoriteListsProps, type FetchActiveCartConfig, type FetchCrossupsellsInput, ForgotPassword, type ForgotPasswordProps, type GetCrossupsellsOptions, GridFilters, type GridFiltersProps, GridPagination, type GridPaginationProps, GridTitleWithProvider as GridTitle, type GridTitleProps, GridToolbar, type GridToolbarProps, _default as ItemStock, type ItemStockProps, ItemsOverview, type ItemsOverviewProps, LoginFormExport as LoginForm, type LoginFormProps, Menu, type MenuCategory, type MenuProps, OrderActions, type OrderActionsProps, OrderBonusItems, type OrderBonusItemsProps, OrderItemCard, type OrderItemCardProps, OrderList, type OrderListProps, type OrderSearchForm, OrderShipments, type OrderShipmentsProps, OrderSummary, type OrderSummaryProps, OrderTotals, type OrderTotalsProps, type PlaceOrderOptions, PriceToggle, type PriceToggleProps, ProductBulkPricesWithProvider as ProductBulkPrices, type ProductBulkPricesProps, ProductBundles, type ProductBundlesProps, ProductCard, type ProductCardProps, ProductDescription, type ProductDescriptionProps, ProductDownloads, type ProductDownloadsProps, ProductGallery, type ProductGalleryProps, ProductGridCompound as ProductGrid, type ProductGridConfig, ProductGridConfigProvider, type ProductGridProps, ProductInfoExport as ProductInfo, type ProductInfoProps, ProductPriceWithProvider as ProductPrice, type ProductPriceProps, ProductShortDescriptionWithProvider as ProductShortDescription, type ProductShortDescriptionProps, ProductSlider, type ProductSliderProps, ProductSpecifications, type ProductSpecificationsProps, ProductTabs, type ProductTabsProps, ProductVideos, type ProductVideosProps, type PropellerDeps, PropellerDepsProvider, type PropellerDepsProviderProps, type PropellerInfra, PropellerProvider, type PropellerProviderProps, type PropellerScope, PurchaseAuthorizationConfigurator, type PurchaseAuthorizationConfiguratorProps, PurchaseAuthorizationRequests, type PurchaseAuthorizationRequestsProps, QuoteActions, type QuoteActionsProps, RegisterForm, type RegisterFormProps, type ResolveSpec, type RowEdit, SearchBar, type SearchBarProps, type UseAddressOptions, type UseAddressReturn, type LoginResult as UseAuthLoginResult, type UseAuthOptions, type RegisterContactInput as UseAuthRegisterContactInput, type RegisterCustomerInput as UseAuthRegisterCustomerInput, type UseAuthReturn, type UseCartOptions, type UseCartReturn, type UseCheckoutOptions, type UseCheckoutReturn, type UseClusterConfiguratorOptions, type UseClusterConfiguratorReturn, type UseCompanyOptions, type UseCompanyReturn, type UseFavoritesOptions, type UseFavoritesReturn, type UseMenuOptions, type UseMenuReturn, type UseOrdersOptions, type UseOrdersReturn, type BundleItem as UseProductBundlesBundleItem, type UseProductBundlesOptions, type UseProductBundlesReturn, type UseProductInfoOptions, type UseProductInfoReturn, type UseProductSearchOptions, type UseProductSearchReturn, type UseProductSliderOptions, type UseProductSliderReturn, type UseProductSpecsOptions, type UseProductSpecsReturn, type UsePurchaseAuthorizationConfiguratorOptions, type UsePurchaseAuthorizationConfiguratorReturn, type UsePurchaseAuthorizationRequestsOptions, type UsePurchaseAuthorizationRequestsReturn, UserDetails, type UserDetailsProps, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useRequiredPropellerDeps, useResolvedProps, useServices, useUserMode };
|
|
6505
|
+
export { AccountIconAndMenu, type AccountIconAndMenuProps, ActionCode, type ActionCodeProps, type AddContactFormState, type AddItemOptions, _default$1 as AddToCart, type AddToCartProps, AddToFavorite, type AddToFavoriteProps, AddressCardExport as AddressCard, type AddressCardProps, type AddressInput, AddressSelector, type AddressSelectorProps, type AttributeDisplayItem, type AttributeGroup, BreadcrumbsWithProvider as Breadcrumbs, type BreadcrumbsProps, CartBonusItems, type CartBonusItemsProps, CartCarriers, type CartCarriersProps, CartIconAndSidebar, type CartIconAndSidebarProps, type CartInitConfig, CartItemExport as CartItem, type CartItemProps, CartOverview, type CartOverviewProps, CartPaymethods, type CartPaymethodsProps, CartSummary, type CartSummaryProps, CategoryDescription, type CategoryDescriptionProps, CategoryShortDescriptionWithProvider as CategoryShortDescription, type CategoryShortDescriptionProps, ClusterCardExport as ClusterCard, type ClusterCardProps, ClusterConfigurator, type ClusterConfiguratorProps, ClusterInfo, type ClusterInfoProps, ClusterOptions, type ClusterOptionsProps, CompanySwitcher, type CompanySwitcherProps, type ConfiguredSetting, _default$1 as DefaultAddToCart, AddToFavorite as DefaultAddToFavorite, _default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices as DefaultProductBulkPrices, ProductBundles as DefaultProductBundles, DefaultProductImage, ProductPriceDisplay as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate, type DeliveryDateProps, FavoriteListDetails, type FavoriteListDetailsProps, type FavoriteListFormData, FavoriteListItemExport as FavoriteListItem, type FavoriteListItemProps, FavoriteLists, type FavoriteListsProps, type FetchActiveCartConfig, type FetchCrossupsellsInput, ForgotPassword, type ForgotPasswordProps, type GetCrossupsellsOptions, GridFilters, GridFiltersPanel, type GridFiltersPanelProps, type GridFiltersProps, GridPagination, type GridPaginationProps, GridTitleWithProvider as GridTitle, type GridTitleProps, GridToolbar, type GridToolbarProps, _default as ItemStock, type ItemStockProps, ItemsOverview, type ItemsOverviewProps, LoginFormExport as LoginForm, type LoginFormProps, Menu, type MenuCategory, type MenuProps, OrderActions, type OrderActionsProps, OrderBonusItems, type OrderBonusItemsProps, OrderItemCard, type OrderItemCardProps, OrderList, type OrderListProps, type OrderSearchForm, OrderShipments, type OrderShipmentsProps, OrderSummary, type OrderSummaryProps, OrderTotals, type OrderTotalsProps, type PlaceOrderOptions, PriceToggle, type PriceToggleProps, ProductBulkPricesWithProvider as ProductBulkPrices, type ProductBulkPricesProps, ProductBundles, type ProductBundlesProps, ProductCard, type ProductCardProps, ProductDescription, type ProductDescriptionProps, ProductDownloads, type ProductDownloadsProps, ProductGallery, type ProductGalleryProps, ProductGridCompound as ProductGrid, type ProductGridConfig, ProductGridConfigProvider, type ProductGridProps, ProductInfoExport as ProductInfo, type ProductInfoProps, ProductPriceWithProvider as ProductPrice, type ProductPriceProps, ProductShortDescriptionWithProvider as ProductShortDescription, type ProductShortDescriptionProps, ProductSlider, type ProductSliderProps, ProductSpecifications, type ProductSpecificationsProps, ProductTabs, type ProductTabsProps, ProductVideos, type ProductVideosProps, type PropellerDeps, PropellerDepsProvider, type PropellerDepsProviderProps, type PropellerInfra, PropellerProvider, type PropellerProviderProps, type PropellerScope, PurchaseAuthorizationConfigurator, type PurchaseAuthorizationConfiguratorProps, PurchaseAuthorizationRequests, type PurchaseAuthorizationRequestsProps, QuoteActions, type QuoteActionsProps, RegisterForm, type RegisterFormProps, type ResolveSpec, type RowEdit, SearchBar, type SearchBarProps, type UseAddressOptions, type UseAddressReturn, type LoginResult as UseAuthLoginResult, type UseAuthOptions, type RegisterContactInput as UseAuthRegisterContactInput, type RegisterCustomerInput as UseAuthRegisterCustomerInput, type UseAuthReturn, type UseCartOptions, type UseCartReturn, type UseCheckoutOptions, type UseCheckoutReturn, type UseClusterConfiguratorOptions, type UseClusterConfiguratorReturn, type UseCompanyOptions, type UseCompanyReturn, type UseFavoritesOptions, type UseFavoritesReturn, type UseMenuOptions, type UseMenuReturn, type UseOrdersOptions, type UseOrdersReturn, type BundleItem as UseProductBundlesBundleItem, type UseProductBundlesOptions, type UseProductBundlesReturn, type UseProductInfoOptions, type UseProductInfoReturn, type UseProductSearchOptions, type UseProductSearchReturn, type UseProductSliderOptions, type UseProductSliderReturn, type UseProductSpecsOptions, type UseProductSpecsReturn, type UsePurchaseAuthorizationConfiguratorOptions, type UsePurchaseAuthorizationConfiguratorReturn, type UsePurchaseAuthorizationRequestsOptions, type UsePurchaseAuthorizationRequestsReturn, UserDetails, type UserDetailsProps, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useRequiredPropellerDeps, useResolvedProps, useServices, useUserMode };
|
package/dist/index.js
CHANGED
|
@@ -7580,22 +7580,28 @@ function ClusterCard(rawProps) {
|
|
|
7580
7580
|
props.showManufacturer && manufacturer ? /* @__PURE__ */ jsx(ClusterCardManufacturer, {}) : null,
|
|
7581
7581
|
props.showShortDescription && shortDescription ? /* @__PURE__ */ jsx(ClusterCardShortDescription, {}) : null
|
|
7582
7582
|
] }) }),
|
|
7583
|
-
/* @__PURE__ */ jsxs("div", { className: "propeller-cluster-card__footer w-full md:w-auto flex items-center gap-3 px-4 py-2 md:py-0 border-t md:border-t-0 border-border-subtle", children: [
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7583
|
+
/* @__PURE__ */ jsxs("div", { className: "propeller-cluster-card__footer w-full md:w-auto flex flex-col gap-2 md:flex-row md:items-center md:gap-3 px-4 py-2 md:py-0 border-t md:border-t-0 border-border-subtle", children: [
|
|
7584
|
+
/* @__PURE__ */ jsxs("div", { className: "propeller-cluster-card__footer-meta flex items-center justify-between gap-3 md:contents", children: [
|
|
7585
|
+
props.showStock && defaultProductInventory ? /* @__PURE__ */ jsx(ClusterCardStock, {}) : null,
|
|
7586
|
+
props.showPrice !== false && priceObj ? /* @__PURE__ */ jsx(ClusterCardPrice, {}) : null
|
|
7587
|
+
] }),
|
|
7588
|
+
/* @__PURE__ */ jsx("div", { className: "propeller-cluster-card__cta w-full md:w-auto md:flex-shrink-0 md:ml-auto", children: /* @__PURE__ */ jsx(ClusterCardViewClusterLink, {}) })
|
|
7587
7589
|
] })
|
|
7588
7590
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7589
7591
|
/* @__PURE__ */ jsxs("div", { className: "propeller-cluster-card__body flex flex-1 flex-col gap-1.5 p-3 sm:gap-2 sm:p-4", children: [
|
|
7590
7592
|
props.showSku !== false && clusterSku ? /* @__PURE__ */ jsx(ClusterCardSku, {}) : null,
|
|
7591
7593
|
props.showName !== false ? /* @__PURE__ */ jsx(ClusterCardName, { linkable: true }) : null,
|
|
7592
|
-
props.showStock && defaultProductInventory ? /* @__PURE__ */ jsx(ClusterCardStock, {}) : null,
|
|
7594
|
+
props.showStock && defaultProductInventory ? /* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx(ClusterCardStock, {}) }) : null,
|
|
7593
7595
|
textLabelValues.length > 0 ? /* @__PURE__ */ jsx(ClusterCardTextLabels, {}) : null,
|
|
7594
7596
|
props.showManufacturer && manufacturer ? /* @__PURE__ */ jsx(ClusterCardManufacturer, {}) : null,
|
|
7595
7597
|
props.showShortDescription && shortDescription ? /* @__PURE__ */ jsx(ClusterCardShortDescription, {}) : null,
|
|
7596
|
-
props.showPrice !== false && priceObj ? /* @__PURE__ */ jsx(ClusterCardPrice, {}) : null
|
|
7598
|
+
props.showPrice !== false && priceObj ? /* @__PURE__ */ jsx("div", { className: "mt-auto hidden md:block", children: /* @__PURE__ */ jsx(ClusterCardPrice, {}) }) : null
|
|
7597
7599
|
] }),
|
|
7598
|
-
/* @__PURE__ */
|
|
7600
|
+
props.showStock && defaultProductInventory || props.showPrice !== false && priceObj ? /* @__PURE__ */ jsxs("div", { className: "propeller-cluster-card__footer-meta flex flex-wrap items-center justify-between gap-x-2 gap-y-1 px-3 pt-1 sm:px-4 md:hidden", children: [
|
|
7601
|
+
props.showStock && defaultProductInventory ? /* @__PURE__ */ jsx(ClusterCardStock, {}) : null,
|
|
7602
|
+
props.showPrice !== false && priceObj ? /* @__PURE__ */ jsx(ClusterCardPrice, {}) : null
|
|
7603
|
+
] }) : null,
|
|
7604
|
+
/* @__PURE__ */ jsx("div", { className: "propeller-cluster-card__cta px-3 pb-3 pt-2 sm:px-4 sm:pb-4", children: /* @__PURE__ */ jsx(ClusterCardViewClusterLink, {}) })
|
|
7599
7605
|
] })
|
|
7600
7606
|
]
|
|
7601
7607
|
}
|
|
@@ -8814,7 +8820,7 @@ var DEFAULT_LABELS = {
|
|
|
8814
8820
|
of: "of"
|
|
8815
8821
|
};
|
|
8816
8822
|
function GridPagination(props) {
|
|
8817
|
-
function
|
|
8823
|
+
function getLabel53(key) {
|
|
8818
8824
|
const labels = props.labels || {};
|
|
8819
8825
|
return labels[key] !== void 0 ? labels[key] : DEFAULT_LABELS[key] || key;
|
|
8820
8826
|
}
|
|
@@ -8887,15 +8893,15 @@ function GridPagination(props) {
|
|
|
8887
8893
|
className: "propeller-grid-pagination__btn propeller-grid-pagination__btn--prev inline-flex items-center rounded-control border border-input bg-card px-4 py-2 text-sm font-medium text-foreground shadow-sm hover:bg-surface-hover disabled:opacity-40 disabled:cursor-not-allowed",
|
|
8888
8894
|
disabled: currentPage === 1,
|
|
8889
8895
|
onClick: () => handlePageChange(currentPage - 1),
|
|
8890
|
-
children:
|
|
8896
|
+
children: getLabel53("previous")
|
|
8891
8897
|
}
|
|
8892
8898
|
),
|
|
8893
8899
|
/* @__PURE__ */ jsxs("span", { className: "propeller-grid-pagination__info px-2 text-sm font-medium text-muted-foreground", children: [
|
|
8894
|
-
|
|
8900
|
+
getLabel53("page"),
|
|
8895
8901
|
"\xA0",
|
|
8896
8902
|
currentPage,
|
|
8897
8903
|
"\xA0",
|
|
8898
|
-
|
|
8904
|
+
getLabel53("of"),
|
|
8899
8905
|
"\xA0",
|
|
8900
8906
|
totalPages
|
|
8901
8907
|
] }),
|
|
@@ -8906,7 +8912,7 @@ function GridPagination(props) {
|
|
|
8906
8912
|
className: "propeller-grid-pagination__btn propeller-grid-pagination__btn--next inline-flex items-center rounded-control border border-input bg-card px-4 py-2 text-sm font-medium text-foreground shadow-sm hover:bg-surface-hover disabled:opacity-40 disabled:cursor-not-allowed",
|
|
8907
8913
|
disabled: currentPage === totalPages,
|
|
8908
8914
|
onClick: () => handlePageChange(currentPage + 1),
|
|
8909
|
-
children:
|
|
8915
|
+
children: getLabel53("next")
|
|
8910
8916
|
}
|
|
8911
8917
|
)
|
|
8912
8918
|
] }) : null,
|
|
@@ -8918,7 +8924,7 @@ function GridPagination(props) {
|
|
|
8918
8924
|
className: "propeller-grid-pagination__btn propeller-grid-pagination__btn--prev inline-flex items-center rounded-control border border-input bg-card px-3 py-2 text-sm font-medium text-foreground shadow-sm hover:bg-surface-hover disabled:opacity-40 disabled:cursor-not-allowed",
|
|
8919
8925
|
disabled: currentPage === 1,
|
|
8920
8926
|
onClick: () => handlePageChange(currentPage - 1),
|
|
8921
|
-
children:
|
|
8927
|
+
children: getLabel53("previous")
|
|
8922
8928
|
}
|
|
8923
8929
|
),
|
|
8924
8930
|
getFullPages().map((item, idx) => /* @__PURE__ */ jsx(
|
|
@@ -8945,7 +8951,7 @@ function GridPagination(props) {
|
|
|
8945
8951
|
className: "propeller-grid-pagination__btn propeller-grid-pagination__btn--next inline-flex items-center rounded-control border border-input bg-card px-3 py-2 text-sm font-medium text-foreground shadow-sm hover:bg-surface-hover disabled:opacity-40 disabled:cursor-not-allowed",
|
|
8946
8952
|
disabled: currentPage === totalPages,
|
|
8947
8953
|
onClick: () => handlePageChange(currentPage + 1),
|
|
8948
|
-
children:
|
|
8954
|
+
children: getLabel53("next")
|
|
8949
8955
|
}
|
|
8950
8956
|
)
|
|
8951
8957
|
] }) : null
|
|
@@ -10506,6 +10512,94 @@ function GridFilters(rawProps) {
|
|
|
10506
10512
|
);
|
|
10507
10513
|
}
|
|
10508
10514
|
var GridFilters_default = GridFilters;
|
|
10515
|
+
function GridFiltersPanel(props) {
|
|
10516
|
+
const { activeFilterCount, wrapperClassName, labels, ...gridFiltersProps } = props;
|
|
10517
|
+
const [open, setOpen] = useState(false);
|
|
10518
|
+
useEffect(() => {
|
|
10519
|
+
if (!open) return;
|
|
10520
|
+
const onKey = (e) => {
|
|
10521
|
+
if (e.key === "Escape") setOpen(false);
|
|
10522
|
+
};
|
|
10523
|
+
document.addEventListener("keydown", onKey);
|
|
10524
|
+
const prevOverflow = document.body.style.overflow;
|
|
10525
|
+
document.body.style.overflow = "hidden";
|
|
10526
|
+
return () => {
|
|
10527
|
+
document.removeEventListener("keydown", onKey);
|
|
10528
|
+
document.body.style.overflow = prevOverflow;
|
|
10529
|
+
};
|
|
10530
|
+
}, [open]);
|
|
10531
|
+
return /* @__PURE__ */ jsxs("div", { className: `propeller-grid-filters-panel w-full lg:w-64 lg:flex-shrink-0 ${wrapperClassName || ""}`, children: [
|
|
10532
|
+
/* @__PURE__ */ jsxs(
|
|
10533
|
+
"button",
|
|
10534
|
+
{
|
|
10535
|
+
type: "button",
|
|
10536
|
+
className: "propeller-grid-filters-panel__trigger lg:hidden inline-flex items-center justify-center gap-2 h-10 px-4 rounded-control border border-border bg-card text-sm font-medium text-foreground shadow-sm hover:bg-surface-hover transition-colors",
|
|
10537
|
+
onClick: () => setOpen(true),
|
|
10538
|
+
"aria-haspopup": "dialog",
|
|
10539
|
+
"aria-expanded": open,
|
|
10540
|
+
children: [
|
|
10541
|
+
/* @__PURE__ */ jsx(
|
|
10542
|
+
"svg",
|
|
10543
|
+
{
|
|
10544
|
+
className: "propeller-grid-filters-panel__trigger-icon w-[1.1em] h-[1.1em] flex-shrink-0",
|
|
10545
|
+
viewBox: "0 0 24 24",
|
|
10546
|
+
fill: "none",
|
|
10547
|
+
stroke: "currentColor",
|
|
10548
|
+
strokeWidth: 2,
|
|
10549
|
+
strokeLinecap: "round",
|
|
10550
|
+
strokeLinejoin: "round",
|
|
10551
|
+
"aria-hidden": "true",
|
|
10552
|
+
children: /* @__PURE__ */ jsx("path", { d: "M22 3H2l8 9.46V19l4 2v-8.54L22 3z" })
|
|
10553
|
+
}
|
|
10554
|
+
),
|
|
10555
|
+
getLabel(labels, "filtersButton", "Filters"),
|
|
10556
|
+
activeFilterCount && activeFilterCount > 0 ? /* @__PURE__ */ jsx("span", { className: "propeller-grid-filters-panel__count inline-flex items-center justify-center min-w-[1.25rem] h-5 px-1 rounded-full bg-secondary text-secondary-foreground text-xs font-semibold", children: activeFilterCount }) : null
|
|
10557
|
+
]
|
|
10558
|
+
}
|
|
10559
|
+
),
|
|
10560
|
+
/* @__PURE__ */ jsx(
|
|
10561
|
+
"div",
|
|
10562
|
+
{
|
|
10563
|
+
className: `propeller-grid-filters-panel__backdrop lg:hidden fixed inset-0 z-40 bg-foreground/40 transition-opacity ${open ? "opacity-100" : "pointer-events-none opacity-0"}`,
|
|
10564
|
+
onClick: () => setOpen(false),
|
|
10565
|
+
"aria-hidden": "true"
|
|
10566
|
+
}
|
|
10567
|
+
),
|
|
10568
|
+
/* @__PURE__ */ jsxs(
|
|
10569
|
+
"div",
|
|
10570
|
+
{
|
|
10571
|
+
className: `propeller-grid-filters-panel__panel fixed inset-y-0 left-0 z-50 w-80 max-w-[85vw] bg-card shadow-xl flex flex-col transition-transform duration-300 lg:static lg:z-auto lg:w-auto lg:max-w-none lg:translate-x-0 lg:bg-transparent lg:shadow-none lg:block ${open ? "translate-x-0" : "-translate-x-full"}`,
|
|
10572
|
+
role: "dialog",
|
|
10573
|
+
"aria-modal": "true",
|
|
10574
|
+
children: [
|
|
10575
|
+
/* @__PURE__ */ jsxs("div", { className: "propeller-grid-filters-panel__header lg:hidden flex items-center justify-between gap-3 px-4 h-14 border-b border-border-subtle flex-shrink-0", children: [
|
|
10576
|
+
/* @__PURE__ */ jsx("span", { className: "propeller-grid-filters-panel__title text-base font-semibold text-foreground", children: getLabel(labels, "filtersButton", "Filters") }),
|
|
10577
|
+
/* @__PURE__ */ jsx(
|
|
10578
|
+
"button",
|
|
10579
|
+
{
|
|
10580
|
+
type: "button",
|
|
10581
|
+
className: "propeller-grid-filters-panel__close inline-flex items-center justify-center h-8 w-8 rounded-control text-foreground-subtle hover:text-foreground hover:bg-surface-hover transition-colors",
|
|
10582
|
+
onClick: () => setOpen(false),
|
|
10583
|
+
"aria-label": getLabel(labels, "closeFilters", "Close"),
|
|
10584
|
+
children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", className: "w-5 h-5", children: /* @__PURE__ */ jsx("path", { d: "M18 6 6 18M6 6l12 12" }) })
|
|
10585
|
+
}
|
|
10586
|
+
)
|
|
10587
|
+
] }),
|
|
10588
|
+
/* @__PURE__ */ jsx("div", { className: "propeller-grid-filters-panel__body flex-1 overflow-y-auto px-4 py-4 lg:flex-none lg:overflow-visible lg:p-0", children: /* @__PURE__ */ jsx(GridFilters_default, { ...gridFiltersProps, labels }) }),
|
|
10589
|
+
/* @__PURE__ */ jsx("div", { className: "propeller-grid-filters-panel__footer lg:hidden px-4 py-3 border-t border-border-subtle flex-shrink-0", children: /* @__PURE__ */ jsx(
|
|
10590
|
+
"button",
|
|
10591
|
+
{
|
|
10592
|
+
type: "button",
|
|
10593
|
+
className: "propeller-grid-filters-panel__apply w-full inline-flex justify-center items-center h-10 px-6 rounded-control text-sm font-medium text-secondary-foreground bg-secondary hover:bg-secondary/90 transition-colors",
|
|
10594
|
+
onClick: () => setOpen(false),
|
|
10595
|
+
children: getLabel(labels, "applyFilters", "Show results")
|
|
10596
|
+
}
|
|
10597
|
+
) })
|
|
10598
|
+
]
|
|
10599
|
+
}
|
|
10600
|
+
)
|
|
10601
|
+
] });
|
|
10602
|
+
}
|
|
10509
10603
|
function GridTitle(props) {
|
|
10510
10604
|
return /* @__PURE__ */ jsx("div", { className: `propeller-grid-title mb-8 ${props.className || ""}`, children: /* @__PURE__ */ jsxs("div", { className: "propeller-grid-title__row flex items-baseline gap-3 mb-3", children: [
|
|
10511
10605
|
props.headingLevel === "h2" ? /* @__PURE__ */ jsx("h2", { className: "propeller-grid-title__heading text-3xl sm:text-4xl font-bold tracking-tight", children: props.title }) : null,
|
|
@@ -10558,7 +10652,7 @@ function GridToolbar(rawProps) {
|
|
|
10558
10652
|
const [currentSortOrder, setCurrentSortOrder] = useState(SortOrder.DESC);
|
|
10559
10653
|
const [currentOffset, setCurrentOffset] = useState(12);
|
|
10560
10654
|
const [currentViewMode, setCurrentViewMode] = useState("grid");
|
|
10561
|
-
function
|
|
10655
|
+
function getLabel53(key) {
|
|
10562
10656
|
const labels = props.labels || {};
|
|
10563
10657
|
return labels[key] !== void 0 ? labels[key] : DEFAULT_LABELS2[key] || key;
|
|
10564
10658
|
}
|
|
@@ -10635,7 +10729,7 @@ function GridToolbar(rawProps) {
|
|
|
10635
10729
|
/* @__PURE__ */ jsxs("div", { className: "propeller-grid-toolbar__bar flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4 mb-4", children: [
|
|
10636
10730
|
/* @__PURE__ */ jsx("div", { className: "propeller-grid-toolbar__count text-sm text-muted-foreground font-medium", children: props.itemsFound > 0 ? /* @__PURE__ */ jsxs("span", { children: [
|
|
10637
10731
|
props.itemsFound,
|
|
10638
|
-
|
|
10732
|
+
getLabel53("products")
|
|
10639
10733
|
] }) : null }),
|
|
10640
10734
|
/* @__PURE__ */ jsxs("div", { className: "propeller-grid-toolbar__controls flex flex-wrap items-center gap-3", children: [
|
|
10641
10735
|
/* @__PURE__ */ jsx(
|
|
@@ -10646,7 +10740,7 @@ function GridToolbar(rawProps) {
|
|
|
10646
10740
|
onChange: (e) => handleOffsetChange(parseInt(e.target.value)),
|
|
10647
10741
|
children: getOffsetOptions()?.map((n) => /* @__PURE__ */ jsxs("option", { value: n, children: [
|
|
10648
10742
|
n,
|
|
10649
|
-
|
|
10743
|
+
getLabel53("perPage")
|
|
10650
10744
|
] }, n))
|
|
10651
10745
|
}
|
|
10652
10746
|
),
|
|
@@ -10662,7 +10756,7 @@ function GridToolbar(rawProps) {
|
|
|
10662
10756
|
{
|
|
10663
10757
|
value: field,
|
|
10664
10758
|
disabled: field === "PRICE" && isPriceSortDisabled(),
|
|
10665
|
-
children:
|
|
10759
|
+
children: getLabel53(field)
|
|
10666
10760
|
},
|
|
10667
10761
|
field
|
|
10668
10762
|
))
|
|
@@ -10675,8 +10769,8 @@ function GridToolbar(rawProps) {
|
|
|
10675
10769
|
value: currentSortOrder,
|
|
10676
10770
|
onChange: (e) => handleSortOrderChange(e.target.value),
|
|
10677
10771
|
children: [
|
|
10678
|
-
/* @__PURE__ */ jsx("option", { value: SortOrder.ASC, children:
|
|
10679
|
-
/* @__PURE__ */ jsx("option", { value: SortOrder.DESC, children:
|
|
10772
|
+
/* @__PURE__ */ jsx("option", { value: SortOrder.ASC, children: getLabel53("ASC") }),
|
|
10773
|
+
/* @__PURE__ */ jsx("option", { value: SortOrder.DESC, children: getLabel53("DESC") })
|
|
10680
10774
|
]
|
|
10681
10775
|
}
|
|
10682
10776
|
),
|
|
@@ -10686,7 +10780,7 @@ function GridToolbar(rawProps) {
|
|
|
10686
10780
|
type: "button",
|
|
10687
10781
|
className: "propeller-grid-toolbar__view-toggle h-9 w-9 flex items-center justify-center rounded-control border border-input bg-transparent hover:bg-accent hover:text-accent-foreground transition-colors",
|
|
10688
10782
|
onClick: (event) => handleViewChange(),
|
|
10689
|
-
title: currentViewMode === "grid" ?
|
|
10783
|
+
title: currentViewMode === "grid" ? getLabel53("switchToList") : getLabel53("switchToGrid"),
|
|
10690
10784
|
children: [
|
|
10691
10785
|
currentViewMode === "grid" ? /* @__PURE__ */ jsxs(
|
|
10692
10786
|
"svg",
|
|
@@ -10744,7 +10838,7 @@ function GridToolbar(rawProps) {
|
|
|
10744
10838
|
onClick: (event) => {
|
|
10745
10839
|
if (props.onClearFilters) props.onClearFilters();
|
|
10746
10840
|
},
|
|
10747
|
-
children:
|
|
10841
|
+
children: getLabel53("clearAll")
|
|
10748
10842
|
}
|
|
10749
10843
|
),
|
|
10750
10844
|
props.priceFilterMin !== void 0 || props.priceFilterMax !== void 0 ? /* @__PURE__ */ jsxs(
|
|
@@ -10755,7 +10849,7 @@ function GridToolbar(rawProps) {
|
|
|
10755
10849
|
if (props.onPriceFilterRemove) props.onPriceFilterRemove();
|
|
10756
10850
|
},
|
|
10757
10851
|
children: [
|
|
10758
|
-
|
|
10852
|
+
getLabel53("price"),
|
|
10759
10853
|
": \u20AC",
|
|
10760
10854
|
props.priceFilterMin ?? 0,
|
|
10761
10855
|
" \u2013 \u20AC",
|
|
@@ -13277,9 +13371,9 @@ function ProductCardRoot(rawProps) {
|
|
|
13277
13371
|
props.showShortDescription && shortDescription ? /* @__PURE__ */ jsx(ProductCardShortDescription, {}) : null,
|
|
13278
13372
|
props.showPrice !== false && !!product?.price ? /* @__PURE__ */ jsx("div", { className: "propeller-product-card__price mt-auto pt-1 hidden md:block", children: /* @__PURE__ */ jsx(ProductCardPrice, { priceSize: "text-base sm:text-lg" }) }) : null
|
|
13279
13373
|
] }),
|
|
13280
|
-
props.showStock && !!product.inventory || props.showPrice !== false && !!product?.price ? /* @__PURE__ */ jsxs("div", { className: "propeller-product-card__footer-meta flex items-center justify-between gap-2 px-3 pt-1 sm:px-4 md:hidden", children: [
|
|
13374
|
+
props.showStock && !!product.inventory || props.showPrice !== false && !!product?.price ? /* @__PURE__ */ jsxs("div", { className: "propeller-product-card__footer-meta flex flex-wrap items-center justify-between gap-x-2 gap-y-1 px-3 pt-1 sm:px-4 md:hidden", children: [
|
|
13281
13375
|
props.showStock && !!product.inventory ? /* @__PURE__ */ jsx(ProductCardStock, {}) : null,
|
|
13282
|
-
props.showPrice !== false && !!product?.price ? /* @__PURE__ */ jsx(ProductCardPrice, { priceSize: "text-base" }) : null
|
|
13376
|
+
props.showPrice !== false && !!product?.price ? /* @__PURE__ */ jsx(ProductCardPrice, { priceSize: "text-base", className: "propeller-product-card__price min-w-0 text-right" }) : null
|
|
13283
13377
|
] }) : null,
|
|
13284
13378
|
props.allowAddToCart !== false ? /* @__PURE__ */ jsx("div", { className: "propeller-product-card__cta px-3 pb-3 pt-2 sm:px-4 sm:pb-4", children: /* @__PURE__ */ jsx(ProductCardAddToCart, {}) }) : null
|
|
13285
13379
|
] })
|
|
@@ -17237,6 +17331,6 @@ function UserDetails(rawProps) {
|
|
|
17237
17331
|
}
|
|
17238
17332
|
var UserDetails_default = UserDetails;
|
|
17239
17333
|
|
|
17240
|
-
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, GridPagination_default as GridPagination, GridTitleWithProvider_default as GridTitle, GridToolbar_default as GridToolbar, ItemStock_default as ItemStock, ItemsOverview_default as ItemsOverview, LoginForm_default as LoginForm, Menu_default as Menu, OrderActions_default as OrderActions, OrderBonusItems_default as OrderBonusItems, OrderItemCard_default as OrderItemCard, OrderList_default as OrderList, OrderShipments_default as OrderShipments, OrderSummary_default as OrderSummary, OrderTotals_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, QuoteActions_default as QuoteActions, RegisterForm_default as RegisterForm, SearchBar_default as SearchBar, UserDetails_default as UserDetails, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useRequiredPropellerDeps, useResolvedProps, useServices, useUserMode };
|
|
17334
|
+
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, Menu_default as Menu, OrderActions_default as OrderActions, OrderBonusItems_default as OrderBonusItems, OrderItemCard_default as OrderItemCard, OrderList_default as OrderList, OrderShipments_default as OrderShipments, OrderSummary_default as OrderSummary, OrderTotals_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, QuoteActions_default as QuoteActions, RegisterForm_default as RegisterForm, SearchBar_default as SearchBar, UserDetails_default as UserDetails, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useRequiredPropellerDeps, useResolvedProps, useServices, useUserMode };
|
|
17241
17335
|
//# sourceMappingURL=index.js.map
|
|
17242
17336
|
//# sourceMappingURL=index.js.map
|