@propeller-commerce/propeller-v2-react-ui 0.4.29 → 0.6.1
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 +66 -0
- package/dist/index.cjs +6530 -5896
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +277 -21
- package/dist/index.d.ts +277 -21
- package/dist/index.js +6527 -5898
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { Services, ShopMode, UserMode, PriceComponentProps, StockComponentProps,
|
|
|
3
3
|
export * from '@propeller-commerce/propeller-v2-core-ui';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
6
|
-
import { GraphQLClient, Contact, Customer, Cart, CartMainItem, Product, Cluster, AddressType, Gender, YesNo, Address, TransformationsInput, MediaImageProductSearchInput, CartProcessResponse, Crossupsell, CartUpdateAddressInput, CartUpdateInput, CartAddressType, ClusterConfig, Company, CompanyVariables, PurchaseAuthorizationConfigCreateInput, PurchaseAuthorizationConfigUpdateInput, FavoriteList, DateSearchInput, DecimalSearchInput, OrderSortInput, OrderType, OrderSearchFields, Order, ProductTextFilterInput, AttributeFilter, ProductsResponse, Category, CrossupsellType, AttributeResult, RegisterContactInput as RegisterContactInput$1, PurchaseAuthorizationConfig, CartChildItemInput, CartAddress, WarehouseAddress, OrderAddress, CartBaseItem, CartCarrier, CartPaymethod, ClusterOption, ProductInventory, OrderItem, ProductPrice, Bundle, PaginatedMediaDocumentResponse, PaginatedMediaVideoResponse } from '@propeller-commerce/propeller-sdk-v2';
|
|
6
|
+
import { GraphQLClient, Contact, Customer, Cart, CartMainItem, Product, Cluster, AddressType, Gender, YesNo, Address, TransformationsInput, MediaImageProductSearchInput, CartProcessResponse, Crossupsell, CartUpdateAddressInput, CartUpdateInput, CartAddressType, ClusterConfig, Company, CompanyVariables, PurchaseAuthorizationConfigCreateInput, PurchaseAuthorizationConfigUpdateInput, FavoriteList, DateSearchInput, DecimalSearchInput, OrderSortInput, OrderType, OrderSearchFields, Order, ProductTextFilterInput, AttributeFilter, ProductsResponse, Category, SparePart, ProductSortField, SortOrder, SparePartsResponse, SparePartsMachine, CrossupsellType, AttributeResult, RegisterContactInput as RegisterContactInput$1, PurchaseAuthorizationConfig, CartChildItemInput, CartAddress, WarehouseAddress, OrderAddress, CartBaseItem, CartCarrier, CartPaymethod, ClusterOption, ProductInventory, OrderItem, ProductPrice, Bundle, PaginatedMediaDocumentResponse, PaginatedMediaVideoResponse } from '@propeller-commerce/propeller-sdk-v2';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Tier 1 — application-wide infrastructure. Bound by `<PropellerDepsProvider>`
|
|
@@ -501,25 +501,6 @@ interface UseAuthReturn {
|
|
|
501
501
|
/** Triggers a password-reset email for the given address. */
|
|
502
502
|
forgotPassword: (email: string) => Promise<Result<void, string>>;
|
|
503
503
|
}
|
|
504
|
-
/**
|
|
505
|
-
* useAuth — login, registration, and forgot-password flows.
|
|
506
|
-
*
|
|
507
|
-
* @param options - see {@link UseAuthOptions}.
|
|
508
|
-
* @returns loading/error state plus async auth actions — see {@link UseAuthReturn}.
|
|
509
|
-
*
|
|
510
|
-
* @remarks
|
|
511
|
-
* GraphQL integration: services are built per-call via `createServices(graphqlClient)`.
|
|
512
|
-
* `login` calls `services.login.login()` (`LoginService`) then `services.user.getViewer()`
|
|
513
|
-
* (`UserService`) to fetch the Contact/Customer; the JWT is set as an in-memory Bearer
|
|
514
|
-
* header via `graphqlClient.updateConfig()` only — never persisted (cross-reload auth
|
|
515
|
-
* relies on an httpOnly cookie). `registerContact` runs `company.createCompany` →
|
|
516
|
-
* `user.registerContact` → implicit `login` → `address.createCompanyAddress` →
|
|
517
|
-
* `user.triggerContactSendWelcomeEmailEvent`. `registerCustomer` runs
|
|
518
|
-
* `user.registerCustomer` → `login` → `address.createCustomerAddress` →
|
|
519
|
-
* `user.triggerCustomerSendWelcomeEmailEvent`, re-fetching the viewer afterward.
|
|
520
|
-
* When `autoLogin` is `false` the session is dropped via `clearAccessToken()`.
|
|
521
|
-
* `forgotPassword` calls `user.sendPasswordResetEmail()`.
|
|
522
|
-
*/
|
|
523
504
|
declare function useAuth(options: UseAuthOptions): UseAuthReturn;
|
|
524
505
|
|
|
525
506
|
/**
|
|
@@ -1474,6 +1455,149 @@ interface UseProductSearchReturn {
|
|
|
1474
1455
|
*/
|
|
1475
1456
|
declare function useProductSearch(options: UseProductSearchOptions): UseProductSearchReturn;
|
|
1476
1457
|
|
|
1458
|
+
/**
|
|
1459
|
+
* useSpareParts (React) — a machine node's spare-parts list.
|
|
1460
|
+
*
|
|
1461
|
+
* The machine-tree sibling of `useProductSearch`: same contract (options in,
|
|
1462
|
+
* state + actions out), same controlled/uncontrolled sentinel, same race
|
|
1463
|
+
* guards — but sourced from `machine(slug:).sparePartProducts` instead of
|
|
1464
|
+
* `category(categoryId:).products`.
|
|
1465
|
+
*
|
|
1466
|
+
* Two things it deliberately does NOT copy from `useProductSearch`:
|
|
1467
|
+
* - the debounced search-bar path (`search()` / `searchResults`). Searching
|
|
1468
|
+
* within a machine is server-side and scoped to this node's parts, so it is
|
|
1469
|
+
* just the `term` option feeding the same fetch.
|
|
1470
|
+
* - the derived price-bounds fallback. The parts response carries the same
|
|
1471
|
+
* aggregate `minPrice`/`maxPrice` fields, so the fallback is kept — see
|
|
1472
|
+
* the note at the call site.
|
|
1473
|
+
*/
|
|
1474
|
+
|
|
1475
|
+
interface UseSparePartsOptions {
|
|
1476
|
+
/** SDK client. Without it the hook stays idle (controlled mode needs no client). */
|
|
1477
|
+
graphqlClient?: GraphQLClient;
|
|
1478
|
+
/**
|
|
1479
|
+
* Controlled mode: pre-fetched parts (e.g. SSR-seeded). When DEFINED the hook
|
|
1480
|
+
* performs no fetching at all and simply echoes these back. Pass `[]` (not
|
|
1481
|
+
* `undefined`) to show an empty state while the host controls loading.
|
|
1482
|
+
*/
|
|
1483
|
+
parts?: SparePart[];
|
|
1484
|
+
/** Slug of the machine whose parts to list. */
|
|
1485
|
+
slug?: string;
|
|
1486
|
+
/** Free-text search, scoped server-side to this machine's parts. */
|
|
1487
|
+
term?: string;
|
|
1488
|
+
/** Language for the spare parts themselves (the storefront language). */
|
|
1489
|
+
language: string;
|
|
1490
|
+
/**
|
|
1491
|
+
* Language the MACHINE TREE is authored in. Defaults to `language`.
|
|
1492
|
+
*
|
|
1493
|
+
* `machine(slug:, language:)` is language-scoped and hard-errors with
|
|
1494
|
+
* "No machine found for slug and language" when the machine has no name/slug
|
|
1495
|
+
* in that language. Machine trees are commonly maintained in one language
|
|
1496
|
+
* (typically EN) while their spare parts are localized — so the lookup and the
|
|
1497
|
+
* parts list need different languages. Set this when they diverge.
|
|
1498
|
+
*/
|
|
1499
|
+
machineLanguage?: string;
|
|
1500
|
+
/** Tax zone for price calculation. */
|
|
1501
|
+
taxZone?: string;
|
|
1502
|
+
/** Active user — drives `userId` scoping and contact/customer pricing. */
|
|
1503
|
+
user?: Contact | Customer | null;
|
|
1504
|
+
/** Active company — scopes the assortment. */
|
|
1505
|
+
companyId?: number;
|
|
1506
|
+
/** Attribute (facet) filters. */
|
|
1507
|
+
textFilters?: ProductTextFilterInput[];
|
|
1508
|
+
/** Price-range filter lower bound. */
|
|
1509
|
+
priceFilterMin?: number;
|
|
1510
|
+
/** Price-range filter upper bound. */
|
|
1511
|
+
priceFilterMax?: number;
|
|
1512
|
+
/** Sort field. */
|
|
1513
|
+
sortField?: ProductSortField | string;
|
|
1514
|
+
/** Sort direction. */
|
|
1515
|
+
sortOrder?: SortOrder | string;
|
|
1516
|
+
/** Items per page. Defaults to 12. */
|
|
1517
|
+
pageSize?: number;
|
|
1518
|
+
/** Image filter config, mirroring `useProductSearch`'s `configuration`. */
|
|
1519
|
+
configuration?: {
|
|
1520
|
+
imageSearchFiltersGrid?: unknown;
|
|
1521
|
+
imageVariantFiltersMedium?: unknown;
|
|
1522
|
+
};
|
|
1523
|
+
/** Fired with the facet list after each fetch. */
|
|
1524
|
+
onFiltersChange?: (filters: AttributeFilter[]) => void;
|
|
1525
|
+
/** Fired with the price-slider bounds after each fetch. */
|
|
1526
|
+
onPriceBoundsChange?: (min: number, max: number) => void;
|
|
1527
|
+
/** Fired with the total item count after each fetch. */
|
|
1528
|
+
onItemsFoundChange?: (count: number) => void;
|
|
1529
|
+
/** Fired with the raw parts response after each fetch. */
|
|
1530
|
+
onPartsResponse?: (response: SparePartsResponse) => void;
|
|
1531
|
+
/** Fired with the machine itself after each fetch (name, child machines, …). */
|
|
1532
|
+
onMachineChange?: (machine: SparePartsMachine) => void;
|
|
1533
|
+
}
|
|
1534
|
+
interface UseSparePartsReturn {
|
|
1535
|
+
/** The parts to render — the controlled prop when set, else the fetched list. */
|
|
1536
|
+
displayParts: SparePart[];
|
|
1537
|
+
/** Child machines of this node, for rendering alongside the parts. */
|
|
1538
|
+
childMachines: SparePartsMachine[];
|
|
1539
|
+
/** Total parts found. */
|
|
1540
|
+
itemsFound: number;
|
|
1541
|
+
/** `true` while an internal fetch is in flight. Always `false` when controlled. */
|
|
1542
|
+
isLoading: boolean;
|
|
1543
|
+
/** Current page (1-based). */
|
|
1544
|
+
currentPage: number;
|
|
1545
|
+
/** Total pages. */
|
|
1546
|
+
totalPages: number;
|
|
1547
|
+
/** Re-run the fetch. No-op in controlled mode. */
|
|
1548
|
+
fetchParts: () => Promise<void>;
|
|
1549
|
+
/** Navigate to a page. */
|
|
1550
|
+
goToPage: (page: number) => void;
|
|
1551
|
+
}
|
|
1552
|
+
/**
|
|
1553
|
+
* useSpareParts — fetch and paginate a machine node's spare-parts list.
|
|
1554
|
+
*
|
|
1555
|
+
* @param options - see {@link UseSparePartsOptions}
|
|
1556
|
+
* @returns parts, child machines, paging state and actions — see {@link UseSparePartsReturn}
|
|
1557
|
+
*/
|
|
1558
|
+
declare function useSpareParts(options: UseSparePartsOptions): UseSparePartsReturn;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Build ONE aliased query resolving every installation in a single request:
|
|
1562
|
+
* `machine_0: machine(source: $source, sourceId: $sourceId_0, language: $language) { … }`
|
|
1563
|
+
* per id. One shared `$source`/`$language`/`$imageVariantFilters`, one
|
|
1564
|
+
* `$sourceId_N` per id. `imageVariants(input:)` is NON_NULL — the same
|
|
1565
|
+
* `TransformationsInput!` the SDK `machine`/`category` queries require.
|
|
1566
|
+
*/
|
|
1567
|
+
declare function buildRootMachinesQuery(count: number): string;
|
|
1568
|
+
interface UseMachinesOptions {
|
|
1569
|
+
/** SDK client. Without it the hook stays idle. */
|
|
1570
|
+
graphqlClient?: GraphQLClient;
|
|
1571
|
+
/** External system the machine ids belong to (pairs with each id). */
|
|
1572
|
+
source?: string;
|
|
1573
|
+
/** Installation ids (from the `MY_INSTALLATIONS` company track attribute). */
|
|
1574
|
+
sourceIds?: string[];
|
|
1575
|
+
/** Language the machine TREE is authored in (usually EN). */
|
|
1576
|
+
language?: string;
|
|
1577
|
+
/**
|
|
1578
|
+
* Image transformation for the card thumbnail — the `TransformationsInput!`
|
|
1579
|
+
* the schema requires on `imageVariants(input:)`. Without it the query fails
|
|
1580
|
+
* validation ("argument input of type TransformationsInput! is required").
|
|
1581
|
+
* Pass `config.imageVariantFiltersMedium` (same value the node query uses).
|
|
1582
|
+
*/
|
|
1583
|
+
imageVariantFilters?: unknown;
|
|
1584
|
+
}
|
|
1585
|
+
interface UseMachinesReturn {
|
|
1586
|
+
/** Resolved installations, in `sourceIds` order, nulls dropped. */
|
|
1587
|
+
machines: SparePartsMachine[];
|
|
1588
|
+
/** `true` while the concat request is in flight. */
|
|
1589
|
+
isLoading: boolean;
|
|
1590
|
+
/** Re-run the fetch. */
|
|
1591
|
+
fetchMachines: () => Promise<void>;
|
|
1592
|
+
}
|
|
1593
|
+
/**
|
|
1594
|
+
* useMachines — resolve a company's installations in one concatenated request.
|
|
1595
|
+
*
|
|
1596
|
+
* @param options - see {@link UseMachinesOptions}
|
|
1597
|
+
* @returns machines + loading + refetch — see {@link UseMachinesReturn}
|
|
1598
|
+
*/
|
|
1599
|
+
declare function useMachines(options: UseMachinesOptions): UseMachinesReturn;
|
|
1600
|
+
|
|
1477
1601
|
/**
|
|
1478
1602
|
* useProductSlider (React) — Crossupsell/product fetch + scroll tracking.
|
|
1479
1603
|
*
|
|
@@ -3525,6 +3649,138 @@ type ClusterCardComponent = typeof MemoizedRoot$1 & {
|
|
|
3525
3649
|
};
|
|
3526
3650
|
declare const ClusterCardExport: ClusterCardComponent;
|
|
3527
3651
|
|
|
3652
|
+
/**
|
|
3653
|
+
* @rsc-blocked — Client-only component: JSX event handlers (onClick).
|
|
3654
|
+
* Must be rendered inside (or below) a Client Component boundary; cannot be
|
|
3655
|
+
* imported directly into a React Server Component. The 'use client' header
|
|
3656
|
+
* above marks this boundary to Next.js.
|
|
3657
|
+
*/
|
|
3658
|
+
|
|
3659
|
+
interface MachineCardProps {
|
|
3660
|
+
/** The machine (spare-parts tree node) to display. */
|
|
3661
|
+
machine: SparePartsMachine;
|
|
3662
|
+
/**
|
|
3663
|
+
* Destination for the card link — the child node's URL.
|
|
3664
|
+
*
|
|
3665
|
+
* Passed in rather than derived from `configuration.urls` because a machine's
|
|
3666
|
+
* URL is its ancestor path (`/machines/a/b/c`), which only the host route
|
|
3667
|
+
* knows; the machine object carries just its own slug.
|
|
3668
|
+
*/
|
|
3669
|
+
href: string;
|
|
3670
|
+
/** Show the machine image. Defaults to true. */
|
|
3671
|
+
showImage?: boolean;
|
|
3672
|
+
/** Show the machine description under the name. Defaults to false. */
|
|
3673
|
+
showDescription?: boolean;
|
|
3674
|
+
/** Language used to resolve the localized name/description. */
|
|
3675
|
+
language?: string;
|
|
3676
|
+
/** UI label overrides. Supported key: `viewMachine`. */
|
|
3677
|
+
labels?: Record<string, string>;
|
|
3678
|
+
/** Extra classes on the card root. */
|
|
3679
|
+
className?: string;
|
|
3680
|
+
/** Click handler for the card link (e.g. analytics). Does not prevent navigation. */
|
|
3681
|
+
onClick?: (machine: SparePartsMachine) => void;
|
|
3682
|
+
}
|
|
3683
|
+
/**
|
|
3684
|
+
* A single node in the spare-parts machine tree, rendered as a card that
|
|
3685
|
+
* navigates one level deeper.
|
|
3686
|
+
*
|
|
3687
|
+
* Deliberately a plain link, not an add-to-cart surface: a machine is a
|
|
3688
|
+
* container you browse into. (The WP reference styles this link with its
|
|
3689
|
+
* add-to-basket button class, which reads as "buy" — not copied.)
|
|
3690
|
+
*/
|
|
3691
|
+
declare function MachineCard(props: MachineCardProps): React$1.JSX.Element;
|
|
3692
|
+
|
|
3693
|
+
/**
|
|
3694
|
+
* @rsc-blocked — Client-only component: hooks + effects (via useSpareParts /
|
|
3695
|
+
* useMachines) and event handlers. Render inside a Client boundary.
|
|
3696
|
+
*/
|
|
3697
|
+
/**
|
|
3698
|
+
* MachineGrid — the spare-parts machine tree, as one self-contained grid.
|
|
3699
|
+
*
|
|
3700
|
+
* The machine-tree sibling of `ProductGrid`. Driven by the current URL path
|
|
3701
|
+
* (`segments`), it renders one of two modes:
|
|
3702
|
+
*
|
|
3703
|
+
* - **Root** (`segments` empty): resolves the company's installations in ONE
|
|
3704
|
+
* concatenated request via `useMachines(source, sourceIds)` and renders them
|
|
3705
|
+
* as `MachineCard`s.
|
|
3706
|
+
* - **Node** (`segments` non-empty): fetches that machine by its leaf slug via
|
|
3707
|
+
* `useSpareParts`, and renders its child machines (`MachineCard`s) above a
|
|
3708
|
+
* category-style spare-parts listing (facets + toolbar + a permanently
|
|
3709
|
+
* controlled `ProductGrid` + pagination, with the qty-in-machine `belowName`).
|
|
3710
|
+
*
|
|
3711
|
+
* Navigation between levels is via `MachineCard`'s `href` (built from `basePath`
|
|
3712
|
+
* + segments + child slug) — the package owns no router. The parts listing is
|
|
3713
|
+
* **controlled**: the current state comes in via `listing`, and every filter /
|
|
3714
|
+
* sort / page / search interaction emits the next state via `onListingChange`.
|
|
3715
|
+
* The host route maps that to the URL (so a filtered view is shareable), exactly
|
|
3716
|
+
* as `ProductGrid` + the category island already do.
|
|
3717
|
+
*/
|
|
3718
|
+
|
|
3719
|
+
/**
|
|
3720
|
+
* The controlled listing state for the spare-parts view — mirrors what the host
|
|
3721
|
+
* derives from the URL (`page`/`offset`/`sort`/attribute-`filters`/`price`/`term`).
|
|
3722
|
+
* Primitives + SDK enums only, so no app type leaks into the package.
|
|
3723
|
+
*/
|
|
3724
|
+
interface MachineListingState {
|
|
3725
|
+
page: number;
|
|
3726
|
+
offset: number;
|
|
3727
|
+
sortField: ProductSortField | string;
|
|
3728
|
+
sortOrder: SortOrder | string;
|
|
3729
|
+
/** Attribute name → selected facet values. */
|
|
3730
|
+
filters: Record<string, string[]>;
|
|
3731
|
+
minPrice?: number;
|
|
3732
|
+
maxPrice?: number;
|
|
3733
|
+
term: string;
|
|
3734
|
+
}
|
|
3735
|
+
interface MachineGridProps {
|
|
3736
|
+
/** Current URL path under the machines root, e.g. `['mixer','frame']`. `[]` = root. */
|
|
3737
|
+
segments: string[];
|
|
3738
|
+
/** Localized machines base path (e.g. `/nl/machines`) — used to build hrefs. */
|
|
3739
|
+
basePath: string;
|
|
3740
|
+
/** External system the installation ids belong to (root mode). */
|
|
3741
|
+
source?: string;
|
|
3742
|
+
/** Installation ids from `MY_INSTALLATIONS` (root mode). */
|
|
3743
|
+
sourceIds?: string[];
|
|
3744
|
+
/** Title for the root list. Defaults to `'Machines'`. */
|
|
3745
|
+
rootTitle?: string;
|
|
3746
|
+
/** Language the machine tree is authored in (usually EN). Defaults to `'EN'`. */
|
|
3747
|
+
machineLanguage?: string;
|
|
3748
|
+
listing: MachineListingState;
|
|
3749
|
+
onListingChange: (next: MachineListingState) => void;
|
|
3750
|
+
graphqlClient?: GraphQLClient;
|
|
3751
|
+
user?: Contact | Customer | null;
|
|
3752
|
+
companyId?: number;
|
|
3753
|
+
/** Storefront language (parts). */
|
|
3754
|
+
language?: string;
|
|
3755
|
+
taxZone?: string;
|
|
3756
|
+
configuration?: {
|
|
3757
|
+
imageSearchFiltersGrid?: unknown;
|
|
3758
|
+
imageVariantFiltersMedium?: unknown;
|
|
3759
|
+
};
|
|
3760
|
+
portalMode?: string;
|
|
3761
|
+
cartId?: string;
|
|
3762
|
+
createCart?: boolean;
|
|
3763
|
+
onCartCreated?: (cart: Cart) => void;
|
|
3764
|
+
/**
|
|
3765
|
+
* Fired after every successful add-to-cart (adds into an EXISTING cart too, not
|
|
3766
|
+
* just the first create). Forward this to `CartContext.saveCart` or the cart
|
|
3767
|
+
* icon/sidebar/page won't reflect parts added from the grid — `onCartCreated`
|
|
3768
|
+
* alone only fires when a brand-new cart is created.
|
|
3769
|
+
*/
|
|
3770
|
+
afterAddToCart?: (cart: Cart, item?: CartMainItem) => void;
|
|
3771
|
+
allowAddToCart?: boolean;
|
|
3772
|
+
showPrice?: boolean;
|
|
3773
|
+
showStock?: boolean;
|
|
3774
|
+
showAvailability?: boolean;
|
|
3775
|
+
onProductClick?: (product: Product) => void;
|
|
3776
|
+
paginationLabels?: Record<string, string>;
|
|
3777
|
+
filtersLabels?: Record<string, string>;
|
|
3778
|
+
toolbarLabels?: Record<string, string>;
|
|
3779
|
+
machineCardLabels?: Record<string, string>;
|
|
3780
|
+
className?: string;
|
|
3781
|
+
}
|
|
3782
|
+
declare function MachineGrid(rawProps: MachineGridProps): React$1.JSX.Element;
|
|
3783
|
+
|
|
3528
3784
|
/**
|
|
3529
3785
|
* @rsc-blocked — Client-only component: side effects (useEffect).
|
|
3530
3786
|
* Must be rendered inside (or below) a Client Component boundary; cannot be
|
|
@@ -6773,4 +7029,4 @@ declare function DefaultProductBadges(props: BadgesComponentProps): React__defau
|
|
|
6773
7029
|
*/
|
|
6774
7030
|
declare function DefaultProductSurcharges(props: ProductSurchargesComponentProps): React__default.JSX.Element | null;
|
|
6775
7031
|
|
|
6776
|
-
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 };
|
|
7032
|
+
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, MachineCard, type MachineCardProps, MachineGrid, type MachineGridProps, type MachineListingState, 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 UseMachinesOptions, type UseMachinesReturn, 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, type UseSparePartsOptions, type UseSparePartsReturn, UserDetails, type UserDetailsProps, 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, useRequiredPropellerDeps, useResolvedProps, useServices, useSpareParts, useUserMode };
|