@propeller-commerce/propeller-v2-vue-ui 0.3.14
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 +549 -0
- package/LICENSE +21 -0
- package/MIGRATION.md +178 -0
- package/README.md +282 -0
- package/STYLING.md +119 -0
- package/dist/ProductVideos.vue_vue_type_script_setup_true_lang-BSXOpWBD.js +1706 -0
- package/dist/ProductVideos.vue_vue_type_script_setup_true_lang-BSXOpWBD.js.map +1 -0
- package/dist/ProductVideos.vue_vue_type_script_setup_true_lang-cfRT3L_k.cjs +1705 -0
- package/dist/ProductVideos.vue_vue_type_script_setup_true_lang-cfRT3L_k.cjs.map +1 -0
- package/dist/__mocks__/decorators.d.ts +17 -0
- package/dist/__mocks__/fixtures.d.ts +43 -0
- package/dist/__mocks__/mockServices.d.ts +7 -0
- package/dist/components/AccountIconAndMenu.vue.d.ts +152 -0
- package/dist/components/ActionCode.vue.d.ts +29 -0
- package/dist/components/AddToCart.vue.d.ts +122 -0
- package/dist/components/AddToFavorite.vue.d.ts +19 -0
- package/dist/components/AddressCard.vue.d.ts +169 -0
- package/dist/components/AddressSelector.vue.d.ts +30 -0
- package/dist/components/Breadcrumbs.vue.d.ts +69 -0
- package/dist/components/CartBonusItems.vue.d.ts +21 -0
- package/dist/components/CartCarriers.vue.d.ts +24 -0
- package/dist/components/CartIconAndSidebar.vue.d.ts +104 -0
- package/dist/components/CartItem.vue.d.ts +178 -0
- package/dist/components/CartOverview.vue.d.ts +41 -0
- package/dist/components/CartPaymethods.vue.d.ts +23 -0
- package/dist/components/CartSummary.vue.d.ts +58 -0
- package/dist/components/CategoryDescription.vue.d.ts +29 -0
- package/dist/components/CategoryShortDescription.vue.d.ts +18 -0
- package/dist/components/ClusterCard.vue.d.ts +251 -0
- package/dist/components/ClusterConfigurator.vue.d.ts +41 -0
- package/dist/components/ClusterInfo.vue.d.ts +73 -0
- package/dist/components/ClusterJsonLd.vue.d.ts +10 -0
- package/dist/components/ClusterOptions.vue.d.ts +44 -0
- package/dist/components/CompanySwitcher.vue.d.ts +18 -0
- package/dist/components/DeliveryDate.vue.d.ts +27 -0
- package/dist/components/FavoriteListDetails.vue.d.ts +94 -0
- package/dist/components/FavoriteListItem.vue.d.ts +141 -0
- package/dist/components/FavoriteLists.vue.d.ts +73 -0
- package/dist/components/ForgotPassword.vue.d.ts +35 -0
- package/dist/components/GridFilters.vue.d.ts +64 -0
- package/dist/components/GridPagination.vue.d.ts +34 -0
- package/dist/components/GridTitle.vue.d.ts +22 -0
- package/dist/components/GridToolbar.vue.d.ts +117 -0
- package/dist/components/ItemListJsonLd.vue.d.ts +10 -0
- package/dist/components/ItemStock.vue.d.ts +31 -0
- package/dist/components/ItemsOverview.vue.d.ts +40 -0
- package/dist/components/LoginForm.vue.d.ts +139 -0
- package/dist/components/Menu.vue.d.ts +73 -0
- package/dist/components/OrderActions.vue.d.ts +25 -0
- package/dist/components/OrderBonusItems.vue.d.ts +19 -0
- package/dist/components/OrderItemCard.vue.d.ts +47 -0
- package/dist/components/OrderList.vue.d.ts +66 -0
- package/dist/components/OrderShipments.vue.d.ts +11 -0
- package/dist/components/OrderSummary.vue.d.ts +49 -0
- package/dist/components/OrderTotals.vue.d.ts +34 -0
- package/dist/components/PriceToggle.vue.d.ts +24 -0
- package/dist/components/ProductBulkPrices.vue.d.ts +35 -0
- package/dist/components/ProductBundles.vue.d.ts +88 -0
- package/dist/components/ProductCard.vue.d.ts +332 -0
- package/dist/components/ProductDescription.vue.d.ts +30 -0
- package/dist/components/ProductDownloads.vue.d.ts +22 -0
- package/dist/components/ProductGallery.vue.d.ts +25 -0
- package/dist/components/ProductGrid.vue.d.ts +290 -0
- package/dist/components/ProductInfo.vue.d.ts +179 -0
- package/dist/components/ProductJsonLd.vue.d.ts +10 -0
- package/dist/components/ProductPrice.vue.d.ts +42 -0
- package/dist/components/ProductShortDescription.vue.d.ts +18 -0
- package/dist/components/ProductSlider.vue.d.ts +176 -0
- package/dist/components/ProductSpecifications.vue.d.ts +37 -0
- package/dist/components/ProductTabs.vue.d.ts +83 -0
- package/dist/components/ProductVideos.vue.d.ts +22 -0
- package/dist/components/PropellerProvider.vue.d.ts +40 -0
- package/dist/components/PurchaseAuthorizationConfigurator.vue.d.ts +44 -0
- package/dist/components/PurchaseAuthorizationRequests.vue.d.ts +50 -0
- package/dist/components/QuoteActions.vue.d.ts +22 -0
- package/dist/components/RegisterForm.vue.d.ts +87 -0
- package/dist/components/SearchBar.vue.d.ts +71 -0
- package/dist/components/UserDetails.vue.d.ts +44 -0
- package/dist/components/defaults/DefaultProductBadges.vue.d.ts +3 -0
- package/dist/components/defaults/DefaultProductImage.vue.d.ts +3 -0
- package/dist/components/defaults/DefaultProductSurcharges.vue.d.ts +3 -0
- package/dist/composables/shared/usePagination.d.ts +19 -0
- package/dist/composables/shared/useServiceFetch.d.ts +9 -0
- package/dist/composables/shared/useUserIdentity.d.ts +13 -0
- package/dist/composables/shared/utils/cartInit.d.ts +18 -0
- package/dist/composables/shared/utils/fetchActiveCart.d.ts +10 -0
- package/dist/composables/shared/utils/mergeAnonymousCart.d.ts +12 -0
- package/dist/composables/vue/useAddress.d.ts +50 -0
- package/dist/composables/vue/useAuth.d.ts +80 -0
- package/dist/composables/vue/useCart.d.ts +64 -0
- package/dist/composables/vue/useCheckout.d.ts +41 -0
- package/dist/composables/vue/useClusterConfigurator.d.ts +26 -0
- package/dist/composables/vue/useCompany.d.ts +31 -0
- package/dist/composables/vue/useFavorites.d.ts +39 -0
- package/dist/composables/vue/useInfraProps.d.ts +27 -0
- package/dist/composables/vue/useMenu.d.ts +24 -0
- package/dist/composables/vue/useOrders.d.ts +64 -0
- package/dist/composables/vue/useProductBundles.d.ts +37 -0
- package/dist/composables/vue/useProductInfo.d.ts +33 -0
- package/dist/composables/vue/useProductSearch.d.ts +49 -0
- package/dist/composables/vue/useProductSlider.d.ts +31 -0
- package/dist/composables/vue/useProductSpecs.d.ts +24 -0
- package/dist/composables/vue/usePurchaseAuthorization.d.ts +102 -0
- package/dist/composables/vue/useResolvedProps.d.ts +42 -0
- package/dist/composables/vue/useServices.d.ts +13 -0
- package/dist/context/ProductGridContext.d.ts +59 -0
- package/dist/context/PropellerContext.d.ts +51 -0
- package/dist/index-BN8nyGRL.js +518 -0
- package/dist/index-BN8nyGRL.js.map +1 -0
- package/dist/index-CrrZsxTR.cjs +517 -0
- package/dist/index-CrrZsxTR.cjs.map +1 -0
- package/dist/index.cjs +20086 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +109 -0
- package/dist/index.js +20088 -0
- package/dist/index.js.map +1 -0
- package/dist/plugin.d.ts +67 -0
- package/dist/pure.cjs +16 -0
- package/dist/pure.cjs.map +1 -0
- package/dist/pure.d.ts +37 -0
- package/dist/pure.js +16 -0
- package/dist/pure.js.map +1 -0
- package/dist/shared.cjs +50 -0
- package/dist/shared.cjs.map +1 -0
- package/dist/shared.d.ts +14 -0
- package/dist/shared.js +50 -0
- package/dist/shared.js.map +1 -0
- package/dist/styles.css +2 -0
- package/package.json +91 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Contact, Customer } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface GridToolbarProps {
|
|
3
|
+
/**
|
|
4
|
+
* Sort field keys to show in the sort dropdown.
|
|
5
|
+
* Accepts keys of the ProductSortField enum (e.g. 'NAME', 'PRICE').
|
|
6
|
+
* Defaults to all available sort fields.
|
|
7
|
+
*/
|
|
8
|
+
sortOptions?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Active sort — first element is used.
|
|
11
|
+
* Defaults to [{ field: 'CATEGORY_ORDER', order: 'DESC' }].
|
|
12
|
+
*/
|
|
13
|
+
defaultSort?: {
|
|
14
|
+
field: string;
|
|
15
|
+
order: string;
|
|
16
|
+
}[];
|
|
17
|
+
/**
|
|
18
|
+
* Layout mode: 'grid' or 'list'.
|
|
19
|
+
* Controls which icon the view-toggle button shows.
|
|
20
|
+
* Defaults to 'grid'.
|
|
21
|
+
*/
|
|
22
|
+
viewMode?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Available page-size options shown in the per-page dropdown.
|
|
25
|
+
* Defaults to [12, 24, 48].
|
|
26
|
+
*/
|
|
27
|
+
offset?: number[];
|
|
28
|
+
/**
|
|
29
|
+
* Initially selected page size.
|
|
30
|
+
* Defaults to 12.
|
|
31
|
+
*/
|
|
32
|
+
defaultOffset?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Called when the sort field or sort direction changes.
|
|
35
|
+
* Receives the new field key and direction ('ASC'|'DESC').
|
|
36
|
+
*/
|
|
37
|
+
onSortChange?: (field: string, order: string) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Called when the user selects a different per-page value.
|
|
40
|
+
* Receives the new page size number.
|
|
41
|
+
*/
|
|
42
|
+
onOffsetChange?: (offset: number) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Called when the user clicks the view-mode toggle button.
|
|
45
|
+
* Receives the new mode: 'grid' or 'list'.
|
|
46
|
+
*/
|
|
47
|
+
onViewChange?: (mode: string) => void;
|
|
48
|
+
/**
|
|
49
|
+
* Total products found — displayed as a result count on the left side.
|
|
50
|
+
* Pass 0 or undefined to hide the count.
|
|
51
|
+
*/
|
|
52
|
+
itemsFound?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Current page number. Used together with `pageSize` and `itemsFound`
|
|
55
|
+
* to display a range indicator (e.g. "1–10 from 594 results").
|
|
56
|
+
* When omitted the component falls back to a simple total count.
|
|
57
|
+
*/
|
|
58
|
+
page?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Items per page. Used together with `page` and `itemsFound`
|
|
61
|
+
* to compute the result range. Defaults to 12.
|
|
62
|
+
*/
|
|
63
|
+
pageSize?: number;
|
|
64
|
+
/**
|
|
65
|
+
* Actual number of items visible on the current page.
|
|
66
|
+
* When provided, overrides `pageSize` for the range end calculation.
|
|
67
|
+
*/
|
|
68
|
+
pageItemCount?: number;
|
|
69
|
+
/**
|
|
70
|
+
* Currently active attribute filter selections.
|
|
71
|
+
* Key = attribute name, value = array of selected values.
|
|
72
|
+
* Used to render removable filter badges.
|
|
73
|
+
*/
|
|
74
|
+
activeTextFilters?: Record<string, string[]>;
|
|
75
|
+
/**
|
|
76
|
+
* Currently active price filter lower bound.
|
|
77
|
+
* When defined (together with or without priceFilterMax), renders a price badge.
|
|
78
|
+
*/
|
|
79
|
+
priceFilterMin?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Currently active price filter upper bound.
|
|
82
|
+
*/
|
|
83
|
+
priceFilterMax?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Called when an attribute filter badge × is clicked.
|
|
86
|
+
* Receives the attribute name and the specific value to remove.
|
|
87
|
+
*/
|
|
88
|
+
onFilterRemove?: (filterName: string, value: string) => void;
|
|
89
|
+
/**
|
|
90
|
+
* Called when the price filter badge × is clicked.
|
|
91
|
+
*/
|
|
92
|
+
onPriceFilterRemove?: () => void;
|
|
93
|
+
/**
|
|
94
|
+
* Called when "Clear All" is clicked.
|
|
95
|
+
*/
|
|
96
|
+
onClearFilters?: () => void;
|
|
97
|
+
/**
|
|
98
|
+
* Label overrides. Supply any subset of DEFAULT_LABELS keys plus
|
|
99
|
+
* any of the ProductSortField key strings to customise display text.
|
|
100
|
+
*/
|
|
101
|
+
labels?: Record<string, string>;
|
|
102
|
+
/**
|
|
103
|
+
* Portal visibility mode.
|
|
104
|
+
* 'open' — price sorting is available for all users.
|
|
105
|
+
* 'semi-closed' — price sorting is disabled for unauthenticated users.
|
|
106
|
+
*/
|
|
107
|
+
portalMode?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Authenticated user object.
|
|
110
|
+
* When null/undefined in semi-closed mode the PRICE sort option is disabled.
|
|
111
|
+
*/
|
|
112
|
+
user?: Contact | Customer | null;
|
|
113
|
+
/** Extra CSS class applied to the root element. */
|
|
114
|
+
className?: string;
|
|
115
|
+
}
|
|
116
|
+
declare const _default: import('vue').DefineComponent<GridToolbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GridToolbarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
117
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Product } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
import { JsonLdContext } from '@propeller-commerce/propeller-v2-core-ui';
|
|
3
|
+
export interface ItemListJsonLdProps {
|
|
4
|
+
/** First-page products (from server-side fetch). */
|
|
5
|
+
products: ReadonlyArray<Product>;
|
|
6
|
+
/** Per-request context: siteUrl, language, currency, portalMode, user, URL builders. */
|
|
7
|
+
context: JsonLdContext;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<ItemListJsonLdProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemListJsonLdProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ProductInventory } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface ItemStockProps {
|
|
3
|
+
/**
|
|
4
|
+
* Product inventory to display stock and availability for.
|
|
5
|
+
* May be undefined when the product carries no inventory record — the
|
|
6
|
+
* component then renders its unknown-stock state.
|
|
7
|
+
*/
|
|
8
|
+
inventory?: ProductInventory;
|
|
9
|
+
/**
|
|
10
|
+
* Shows whether the product is available or not available.
|
|
11
|
+
* Defaults to true.
|
|
12
|
+
*/
|
|
13
|
+
showAvailability?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Shows the actual stock quantity (`inventory.totalQuantity`).
|
|
16
|
+
* Defaults to true.
|
|
17
|
+
*/
|
|
18
|
+
showStock?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* UI string overrides.
|
|
21
|
+
* Available keys: inStock, outOfStock, lowStock, available, notAvailable, pieces
|
|
22
|
+
*/
|
|
23
|
+
labels?: Record<string, string>;
|
|
24
|
+
/** Extra CSS class applied to the root element. */
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
declare const _default: import('vue').DefineComponent<ItemStockProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemStockProps> & Readonly<{}>, {
|
|
28
|
+
showStock: boolean;
|
|
29
|
+
showAvailability: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Cart, CartMainItem } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface ItemsOverviewProps {
|
|
3
|
+
/** Shopping cart object from which the cart items overview will be displayed */
|
|
4
|
+
cart: Cart;
|
|
5
|
+
/** Currency symbol to display. Defaults to '€'. */
|
|
6
|
+
currency?: string;
|
|
7
|
+
/** Active language for localized surcharge names. */
|
|
8
|
+
language?: string;
|
|
9
|
+
/** The CSS class for the cart items overview container */
|
|
10
|
+
itemsOverviewContainerClass?: string;
|
|
11
|
+
/** Title of the cart items overview */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** The cart items names are clickable links */
|
|
14
|
+
itemNameClickable?: boolean;
|
|
15
|
+
/** Action when a cart item's name is clicked */
|
|
16
|
+
onCartItemNameClick?: (item: CartMainItem) => void;
|
|
17
|
+
/** Show the quantity of the cart item */
|
|
18
|
+
showQuantity?: boolean;
|
|
19
|
+
/** Show the availability of the cart item */
|
|
20
|
+
showAvailability?: boolean;
|
|
21
|
+
/** Show the SKU of the cart item */
|
|
22
|
+
showSku?: boolean;
|
|
23
|
+
/** Show a small image of the cart item */
|
|
24
|
+
showImage?: boolean;
|
|
25
|
+
/** Show the price of the cart item */
|
|
26
|
+
showPrice?: boolean;
|
|
27
|
+
/** Custom price formatting function */
|
|
28
|
+
formatPrice?: (price: number) => string;
|
|
29
|
+
/** Labels for the component */
|
|
30
|
+
labels?: Record<string, string>;
|
|
31
|
+
}
|
|
32
|
+
declare const _default: import('vue').DefineComponent<ItemsOverviewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItemsOverviewProps> & Readonly<{}>, {
|
|
33
|
+
showPrice: boolean;
|
|
34
|
+
showAvailability: boolean;
|
|
35
|
+
showSku: boolean;
|
|
36
|
+
showImage: boolean;
|
|
37
|
+
itemNameClickable: boolean;
|
|
38
|
+
showQuantity: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Cart, Contact, Customer, GraphQLClient } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface LoginFormProps {
|
|
3
|
+
/**
|
|
4
|
+
* GraphQL client for self-contained login.
|
|
5
|
+
* When provided (and onLoginSubmit is not), the component handles
|
|
6
|
+
* authentication internally via LoginService + UserService.
|
|
7
|
+
*/
|
|
8
|
+
graphqlClient?: GraphQLClient;
|
|
9
|
+
/** Title of the login form
|
|
10
|
+
* @default "Log in"
|
|
11
|
+
*/
|
|
12
|
+
title?: string;
|
|
13
|
+
/** Subtitle of the login form
|
|
14
|
+
* @default ""
|
|
15
|
+
*/
|
|
16
|
+
subtitle?: string;
|
|
17
|
+
/** Show/hide the password reset link
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
displayForgotPasswordLink?: boolean;
|
|
21
|
+
/** Action for the password reset link click */
|
|
22
|
+
onForgotPasswordClick?: (event?: any) => void;
|
|
23
|
+
/** Show/hide the registration link
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
displayRegisterLink?: boolean;
|
|
27
|
+
/** Action for the registration link click */
|
|
28
|
+
onRegisterClick?: (event?: any) => void;
|
|
29
|
+
/** Show/hide the guest checkout link
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
displayGuestCheckoutLink?: boolean;
|
|
33
|
+
/** Action for the guest checkout link click */
|
|
34
|
+
onGuestCheckoutClick?: (event?: any) => void;
|
|
35
|
+
/** Label for the submit button
|
|
36
|
+
* @default "Login"
|
|
37
|
+
*/
|
|
38
|
+
buttonText?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Labels for the login form fields.
|
|
41
|
+
*
|
|
42
|
+
* Available keys:
|
|
43
|
+
* - email: Email field label (default: "Email")
|
|
44
|
+
* - password: Password field label (default: "Password")
|
|
45
|
+
* - emailPlaceholder: Email input placeholder (default: "name@example.com")
|
|
46
|
+
* - passwordPlaceholder: Password input placeholder (default: "••••••••")
|
|
47
|
+
* - forgotPassword: Forgot password link text (default: "Forgot password?")
|
|
48
|
+
* - registerText: Text before register link (default: "Don't have an account?")
|
|
49
|
+
* - registerLink: Register link text (default: "Create an Account")
|
|
50
|
+
* - guestCheckoutLink: Guest checkout link text (default: "Continue as Guest")
|
|
51
|
+
*/
|
|
52
|
+
labels?: Record<string, string>;
|
|
53
|
+
/**
|
|
54
|
+
* Fires when login form is submitted (delegation mode).
|
|
55
|
+
* When provided, the component does NOT call the SDK — the parent handles authentication.
|
|
56
|
+
* When absent and graphqlClient is provided, the component handles login internally.
|
|
57
|
+
*/
|
|
58
|
+
onLoginSubmit?: (email: string, password: string) => void;
|
|
59
|
+
/** Whether login is currently in progress (shows loading state on button).
|
|
60
|
+
* Used in delegation mode. Ignored in self-contained mode.
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
loginLoading?: boolean;
|
|
64
|
+
/** Error message to display in the form.
|
|
65
|
+
* Used in delegation mode. In self-contained mode the component manages its own error.
|
|
66
|
+
*/
|
|
67
|
+
loginError?: string;
|
|
68
|
+
/** Callback before the login process starts */
|
|
69
|
+
beforeLogin?: () => void;
|
|
70
|
+
/** Callback after successful login with user data.
|
|
71
|
+
* `anonymousCart` is the cart held in the parent's store/state at the moment of submission,
|
|
72
|
+
* forwarded so the parent can merge it into the authenticated user's cart.
|
|
73
|
+
*/
|
|
74
|
+
afterLogin?: (user: Contact | Customer, accessToken?: string, refreshToken?: string, expiresAt?: string, anonymousCart?: Cart | null) => void;
|
|
75
|
+
/** Anonymous cart snapshot from the parent's store/state — forwarded to `afterLogin`. */
|
|
76
|
+
cart?: Cart | null;
|
|
77
|
+
/**
|
|
78
|
+
* Show login form in dropdown for immediate login when user is not logged in.
|
|
79
|
+
* @default true
|
|
80
|
+
*/
|
|
81
|
+
accountHeaderLoginForm?: boolean;
|
|
82
|
+
/** Config object providing imageSearchFiltersGrid and imageVariantFiltersSmall. */
|
|
83
|
+
configuration?: any;
|
|
84
|
+
}
|
|
85
|
+
declare function __VLS_template(): {
|
|
86
|
+
attrs: Partial<{}>;
|
|
87
|
+
slots: {
|
|
88
|
+
emailField?(_: {
|
|
89
|
+
email: string;
|
|
90
|
+
onEmailChange: (value: string) => void;
|
|
91
|
+
labels: Record<string, string> | undefined;
|
|
92
|
+
}): any;
|
|
93
|
+
passwordField?(_: {
|
|
94
|
+
password: string;
|
|
95
|
+
onPasswordChange: (value: string) => void;
|
|
96
|
+
labels: Record<string, string> | undefined;
|
|
97
|
+
displayForgotPassword: boolean;
|
|
98
|
+
}): any;
|
|
99
|
+
errorMessage?(_: {
|
|
100
|
+
error: string;
|
|
101
|
+
}): any;
|
|
102
|
+
submitButton?(_: {
|
|
103
|
+
isLoading: boolean;
|
|
104
|
+
buttonText: string;
|
|
105
|
+
labels: Record<string, string> | undefined;
|
|
106
|
+
}): any;
|
|
107
|
+
registerLink?(_: {
|
|
108
|
+
onClick: (e: any) => void | undefined;
|
|
109
|
+
labels: Record<string, string> | undefined;
|
|
110
|
+
}): any;
|
|
111
|
+
registerLink?(_: {
|
|
112
|
+
onClick: (e: any) => void | undefined;
|
|
113
|
+
labels: Record<string, string> | undefined;
|
|
114
|
+
}): any;
|
|
115
|
+
guestCheckoutButton?(_: {
|
|
116
|
+
onClick: (e: any) => void | undefined;
|
|
117
|
+
labels: Record<string, string> | undefined;
|
|
118
|
+
}): any;
|
|
119
|
+
forgotPasswordLink?(_: {
|
|
120
|
+
onClick: (e: any) => void | undefined;
|
|
121
|
+
labels: Record<string, string> | undefined;
|
|
122
|
+
}): any;
|
|
123
|
+
};
|
|
124
|
+
refs: {};
|
|
125
|
+
rootEl: HTMLDivElement;
|
|
126
|
+
};
|
|
127
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
128
|
+
declare const __VLS_component: import('vue').DefineComponent<LoginFormProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LoginFormProps> & Readonly<{}>, {
|
|
129
|
+
displayForgotPasswordLink: boolean;
|
|
130
|
+
displayRegisterLink: boolean;
|
|
131
|
+
displayGuestCheckoutLink: boolean;
|
|
132
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
133
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
134
|
+
export default _default;
|
|
135
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
136
|
+
new (): {
|
|
137
|
+
$slots: S;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Category, Contact, Customer, GraphQLClient } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
import { MenuCategory } from '../composables/vue/useMenu';
|
|
3
|
+
export interface MenuProps {
|
|
4
|
+
/**
|
|
5
|
+
* Initialised Propeller SDK GraphQL client.
|
|
6
|
+
* Used internally to fetch the category hierarchy.
|
|
7
|
+
*/
|
|
8
|
+
graphqlClient: GraphQLClient;
|
|
9
|
+
/**
|
|
10
|
+
* Base category ID for fetching all categories.
|
|
11
|
+
* This is the root of the menu tree.
|
|
12
|
+
*/
|
|
13
|
+
categoryId: number;
|
|
14
|
+
/**
|
|
15
|
+
* Language code for fetching localised category names and slugs.
|
|
16
|
+
*/
|
|
17
|
+
language: string;
|
|
18
|
+
/**
|
|
19
|
+
* Maximum nesting depth of the menu hierarchy.
|
|
20
|
+
* Defaults to 3.
|
|
21
|
+
*/
|
|
22
|
+
depth?: number;
|
|
23
|
+
/**
|
|
24
|
+
* CSS class applied to the menu container element.
|
|
25
|
+
*/
|
|
26
|
+
menuClass?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Main menu display type.
|
|
29
|
+
* - 'dropdown-vertical': nested flyout panels on hover (default)
|
|
30
|
+
* - 'jumbotron': full-width mega-menu panel showing all subcategories
|
|
31
|
+
*/
|
|
32
|
+
menuStyle?: string;
|
|
33
|
+
/**
|
|
34
|
+
* URL pattern for category links.
|
|
35
|
+
* Use `{categoryId}` and `{slug}` as placeholders.
|
|
36
|
+
* Defaults to 'category/{categoryId}/{slug}'.
|
|
37
|
+
*/
|
|
38
|
+
menuLinkFormat?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Called when a menu item is clicked.
|
|
41
|
+
* Use for SPA-style routing instead of full-page navigation.
|
|
42
|
+
*/
|
|
43
|
+
onMenuItemClick: (category: Category) => void;
|
|
44
|
+
/**
|
|
45
|
+
* Override any UI string.
|
|
46
|
+
* Available keys: loading, error, empty
|
|
47
|
+
*/
|
|
48
|
+
labels?: Record<string, string>;
|
|
49
|
+
/**
|
|
50
|
+
* Authenticated user object. When user changes (login/logout),
|
|
51
|
+
* the menu cache is cleared and the menu is re-fetched.
|
|
52
|
+
*/
|
|
53
|
+
user?: Contact | Customer | null;
|
|
54
|
+
/** Extra CSS class applied to the root element. */
|
|
55
|
+
className?: string;
|
|
56
|
+
/** Configuration object passed to the component */
|
|
57
|
+
configuration?: any;
|
|
58
|
+
/**
|
|
59
|
+
* Pre-fetched menu tree. When provided, the component skips its internal
|
|
60
|
+
* `useMenu` fetch entirely and renders the tree directly — following the
|
|
61
|
+
* same opt-in pattern as `ProductGrid.products`. Lets host apps fetch the
|
|
62
|
+
* category tree server-side (e.g. in `entry-server.ts`'s always-on prefetch)
|
|
63
|
+
* and have
|
|
64
|
+
* the menu HTML land in the initial response, with no client-side
|
|
65
|
+
* roundtrip after hydration.
|
|
66
|
+
*
|
|
67
|
+
* Omitting the prop preserves the legacy client-side fetch behaviour —
|
|
68
|
+
* no breaking change for consumers that haven't migrated.
|
|
69
|
+
*/
|
|
70
|
+
tree?: MenuCategory[];
|
|
71
|
+
}
|
|
72
|
+
declare const _default: import('vue').DefineComponent<MenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MenuProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
73
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { GraphQLClient, Order, Cart, Contact, Customer } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface OrderActionsProps {
|
|
3
|
+
/** GraphQL client for the Propeller SDK */
|
|
4
|
+
graphqlClient: GraphQLClient;
|
|
5
|
+
/** The order to act upon */
|
|
6
|
+
order: Order;
|
|
7
|
+
/** The authenticated user */
|
|
8
|
+
user: Contact | Customer | null;
|
|
9
|
+
/** Cart ID — if provided, re-order adds items to this cart */
|
|
10
|
+
cartId?: string;
|
|
11
|
+
/** Active company ID from the company switcher */
|
|
12
|
+
companyId?: number;
|
|
13
|
+
/** Configuration object (imageSearchFiltersGrid, imageVariantFiltersSmall, etc.) */
|
|
14
|
+
configuration?: any;
|
|
15
|
+
/** Label overrides for UI strings */
|
|
16
|
+
labels?: Record<string, string>;
|
|
17
|
+
/** Additional CSS class for the root element */
|
|
18
|
+
className?: string;
|
|
19
|
+
/** Callback when a new cart is created during re-order */
|
|
20
|
+
onCartCreated?: (cart: Cart) => void;
|
|
21
|
+
/** Callback fired after all re-order items have been added */
|
|
22
|
+
afterReorder?: (cart: Cart) => void;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: import('vue').DefineComponent<OrderActionsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OrderActionsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { Order, OrderItem } from '@propeller-commerce/propeller-sdk-v2';
|
|
3
|
+
export interface OrderBonusItemsProps {
|
|
4
|
+
/** Order whose bonus items are displayed. When omitted, pass `items` directly. */
|
|
5
|
+
order?: Order | null;
|
|
6
|
+
/** Pre-resolved order items. When omitted, `order.items` is used. */
|
|
7
|
+
items?: OrderItem[];
|
|
8
|
+
/** Currency symbol for prices, forwarded to OrderItemCard. Resolved from the Propeller provider when omitted; defaults to '€'. */
|
|
9
|
+
currency?: string;
|
|
10
|
+
/** Additional CSS class for the root element. */
|
|
11
|
+
className?: string;
|
|
12
|
+
/** Label overrides. Keys: `title` ('Bonus items'). */
|
|
13
|
+
labels?: Record<string, string>;
|
|
14
|
+
orderItemCardComponent?: Component;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import('vue').DefineComponent<OrderBonusItemsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OrderBonusItemsProps> & Readonly<{}>, {
|
|
17
|
+
order: Order | null;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { OrderItem } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
import { Component } from 'vue';
|
|
3
|
+
export interface OrderItemCardProps {
|
|
4
|
+
/** The order item to display */
|
|
5
|
+
orderItem: OrderItem;
|
|
6
|
+
/** Currency symbol to display. Defaults to '€'. */
|
|
7
|
+
currency?: string;
|
|
8
|
+
/** Child order items (rendered as indented sub-rows beneath the parent) */
|
|
9
|
+
childItems?: OrderItem[];
|
|
10
|
+
/** Should the item title be a link to the PDP */
|
|
11
|
+
titleLinkable?: boolean;
|
|
12
|
+
/** Display a small thumbnail of the order item */
|
|
13
|
+
showImage?: boolean;
|
|
14
|
+
/** Should stock info be displayed */
|
|
15
|
+
showStockComponent?: boolean;
|
|
16
|
+
/** Display the SKU of the order item beneath the item name */
|
|
17
|
+
showSku?: boolean;
|
|
18
|
+
/** Display the quantity of the order item */
|
|
19
|
+
showQuantity?: boolean;
|
|
20
|
+
/** Display the price of the order item */
|
|
21
|
+
showPrice?: boolean;
|
|
22
|
+
/** Display the discount column */
|
|
23
|
+
showDiscount?: boolean;
|
|
24
|
+
/** Should the order item notes field be displayed */
|
|
25
|
+
showItemNotes?: boolean;
|
|
26
|
+
/** Render as a child/sub-item (indented, no image) */
|
|
27
|
+
isChildItem?: boolean;
|
|
28
|
+
/** Custom price formatting function */
|
|
29
|
+
formatPrice?: (price: number) => string;
|
|
30
|
+
/** Translated labels keyed by the slugs used inside the component (see
|
|
31
|
+
* `getLabel` calls). Missing keys fall back to the English defaults. */
|
|
32
|
+
labels?: Record<string, string>;
|
|
33
|
+
priceComponent?: Component;
|
|
34
|
+
stockComponent?: Component;
|
|
35
|
+
}
|
|
36
|
+
declare const _default: import('vue').DefineComponent<OrderItemCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OrderItemCardProps> & Readonly<{}>, {
|
|
37
|
+
showPrice: boolean;
|
|
38
|
+
titleLinkable: boolean;
|
|
39
|
+
showStockComponent: boolean;
|
|
40
|
+
showSku: boolean;
|
|
41
|
+
showDiscount: boolean;
|
|
42
|
+
showImage: boolean;
|
|
43
|
+
showQuantity: boolean;
|
|
44
|
+
showItemNotes: boolean;
|
|
45
|
+
isChildItem: boolean;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableSectionElement>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Contact, Customer, GraphQLClient } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface OrderListProps {
|
|
3
|
+
/** The authenticated user (Contact or Customer) */
|
|
4
|
+
user: Contact | Customer | null;
|
|
5
|
+
/** Currency symbol to display. Defaults to '€'. */
|
|
6
|
+
currency?: string;
|
|
7
|
+
/** The initialized GraphQL Client instance */
|
|
8
|
+
graphqlClient: GraphQLClient;
|
|
9
|
+
/** Callback when an order is clicked */
|
|
10
|
+
onOrderClick: (orderId: number) => void;
|
|
11
|
+
/** Columns to display. Defaults to ['id', 'date', 'status', 'total', 'action'] */
|
|
12
|
+
columns?: string[];
|
|
13
|
+
/** Label mapping for columns */
|
|
14
|
+
columnConfig?: Record<string, string>;
|
|
15
|
+
/** Enable searching */
|
|
16
|
+
enableSearch?: boolean;
|
|
17
|
+
/** Fields enabled for searching (UI inputs) */
|
|
18
|
+
searchFields?: string[];
|
|
19
|
+
/** Term fields configuration (backend) */
|
|
20
|
+
termFields?: any[];
|
|
21
|
+
/** Override company ID for order filtering (respects company switcher) */
|
|
22
|
+
companyId?: number;
|
|
23
|
+
/** Filter orders by these statuses */
|
|
24
|
+
orderStatus?: string[];
|
|
25
|
+
/** Override base styles */
|
|
26
|
+
className?: string;
|
|
27
|
+
/** Items per page default */
|
|
28
|
+
initialItemsPerPage?: number;
|
|
29
|
+
/** Rows are clickable */
|
|
30
|
+
rowsClickable?: boolean;
|
|
31
|
+
/** Show company orders */
|
|
32
|
+
showCompanyOrders?: boolean;
|
|
33
|
+
/** Hide pagination controls. Defaults to false. */
|
|
34
|
+
hidePagination?: boolean;
|
|
35
|
+
/** Filter orders by channel IDs */
|
|
36
|
+
channelIds?: number[];
|
|
37
|
+
/** Format price */
|
|
38
|
+
formatPrice?: (price: number) => string;
|
|
39
|
+
/** Format date */
|
|
40
|
+
formatDate?: (dateString: string) => string;
|
|
41
|
+
/** Get status color */
|
|
42
|
+
getStatusColor?: (status: string) => string;
|
|
43
|
+
/** Localization labels */
|
|
44
|
+
labels?: {
|
|
45
|
+
view?: string;
|
|
46
|
+
previous?: string;
|
|
47
|
+
next?: string;
|
|
48
|
+
showingPage?: string;
|
|
49
|
+
of?: string;
|
|
50
|
+
noOrders?: string;
|
|
51
|
+
loading?: string;
|
|
52
|
+
order?: string;
|
|
53
|
+
date?: string;
|
|
54
|
+
status?: string;
|
|
55
|
+
total?: string;
|
|
56
|
+
action?: string;
|
|
57
|
+
};
|
|
58
|
+
/** Callback when a new cart is created during re-order */
|
|
59
|
+
onCartCreated?: (cart: any) => void;
|
|
60
|
+
/** Callback fired after all re-order items have been added */
|
|
61
|
+
afterReorder?: (cart: any) => void;
|
|
62
|
+
/** Configuration object (imageSearchFiltersGrid, imageVariantFiltersSmall, etc.) */
|
|
63
|
+
configuration?: any;
|
|
64
|
+
}
|
|
65
|
+
declare const _default: import('vue').DefineComponent<OrderListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OrderListProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Order } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface OrderShipmentsProps {
|
|
3
|
+
/** The current order the user is viewing */
|
|
4
|
+
order: Order;
|
|
5
|
+
/** Labels for the component */
|
|
6
|
+
labels?: Record<string, string>;
|
|
7
|
+
/** Additional CSS class for the root element */
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<OrderShipmentsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OrderShipmentsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Order } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface OrderSummaryProps {
|
|
3
|
+
/** The order object from propeller-sdk-v2 */
|
|
4
|
+
order: Order;
|
|
5
|
+
/** Currency symbol to display. Defaults to '€'. */
|
|
6
|
+
currency?: string;
|
|
7
|
+
/** The CSS class for the order summary container */
|
|
8
|
+
orderSummaryContainerClass?: string;
|
|
9
|
+
/** Title of the order summary */
|
|
10
|
+
title?: string;
|
|
11
|
+
/** Show the order number */
|
|
12
|
+
showOrderNumber?: boolean;
|
|
13
|
+
/** Show the order date */
|
|
14
|
+
showOrderDate?: boolean;
|
|
15
|
+
/** Show the order status */
|
|
16
|
+
showOrderStatus?: boolean;
|
|
17
|
+
/** Show the order total */
|
|
18
|
+
showOrderTotal?: boolean;
|
|
19
|
+
/** Custom price formatting function */
|
|
20
|
+
formatPrice?: (price: number) => string;
|
|
21
|
+
/** Show the invoice address */
|
|
22
|
+
showInvoiceAddress?: boolean;
|
|
23
|
+
/** Show the delivery address */
|
|
24
|
+
showDeliveryAddress?: boolean;
|
|
25
|
+
/** Show payment, carrier, and delivery date info */
|
|
26
|
+
showDeliveryInfo?: boolean;
|
|
27
|
+
/** Show order remarks and reference */
|
|
28
|
+
showRemarks?: boolean;
|
|
29
|
+
/** Custom date formatting function */
|
|
30
|
+
formatDate?: (dateString: string) => string;
|
|
31
|
+
/** Labels for the component */
|
|
32
|
+
labels?: Record<string, string>;
|
|
33
|
+
/** List of countries for resolving codes to names [{code: 'NL', name: 'Netherlands'}, ...] */
|
|
34
|
+
countries?: {
|
|
35
|
+
code: string;
|
|
36
|
+
name: string;
|
|
37
|
+
}[];
|
|
38
|
+
}
|
|
39
|
+
declare const _default: import('vue').DefineComponent<OrderSummaryProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OrderSummaryProps> & Readonly<{}>, {
|
|
40
|
+
showOrderNumber: boolean;
|
|
41
|
+
showOrderDate: boolean;
|
|
42
|
+
showOrderStatus: boolean;
|
|
43
|
+
showOrderTotal: boolean;
|
|
44
|
+
showInvoiceAddress: boolean;
|
|
45
|
+
showDeliveryAddress: boolean;
|
|
46
|
+
showDeliveryInfo: boolean;
|
|
47
|
+
showRemarks: boolean;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Order } from '@propeller-commerce/propeller-sdk-v2';
|
|
2
|
+
export interface OrderTotalsProps {
|
|
3
|
+
/** The order/quote used to populate the summary data */
|
|
4
|
+
order: Order;
|
|
5
|
+
/** Currency symbol to display. Defaults to '€'. */
|
|
6
|
+
currency?: string;
|
|
7
|
+
/** Order summary block title */
|
|
8
|
+
title?: string;
|
|
9
|
+
/** Labels for the component */
|
|
10
|
+
labels?: Record<string, string>;
|
|
11
|
+
/** Display the subtotal of the order/quote */
|
|
12
|
+
showSubtotal?: boolean;
|
|
13
|
+
/** Display the total discount of the order/quote */
|
|
14
|
+
showDiscount?: boolean;
|
|
15
|
+
/** Display the shipping costs of the order/quote */
|
|
16
|
+
showShippingCosts?: boolean;
|
|
17
|
+
/** Display all VATs of the order/quote */
|
|
18
|
+
showVATs?: boolean;
|
|
19
|
+
/** Display the total of the order/quote excluding the VAT */
|
|
20
|
+
showTotalExclVat?: boolean;
|
|
21
|
+
/** Display the total VAT of the order/quote */
|
|
22
|
+
showTotalVat?: boolean;
|
|
23
|
+
/** Custom price formatting function */
|
|
24
|
+
formatPrice?: (price: number) => string;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import('vue').DefineComponent<OrderTotalsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OrderTotalsProps> & Readonly<{}>, {
|
|
27
|
+
showSubtotal: boolean;
|
|
28
|
+
showDiscount: boolean;
|
|
29
|
+
showShippingCosts: boolean;
|
|
30
|
+
showVATs: boolean;
|
|
31
|
+
showTotalExclVat: boolean;
|
|
32
|
+
showTotalVat: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
34
|
+
export default _default;
|