import { OrderItem } from '@propeller-commerce/propeller-sdk-v2'; import { Component } from 'vue'; export interface OrderItemCardProps { /** * The order item to display. * * `orderItem.product` is optional and really can be absent: a product that is * hidden, withdrawn or deleted from the catalog still appears on the orders * and quotes it was sold on, but the API returns no product record for it. * Every product-derived value below therefore falls back to the order item, * which carries its own snapshot of the line — name, sku, quantity and prices * — taken when the order was placed. Such a row renders as plain text: the * placeholder thumbnail, the untranslated `orderItem.name` (there are no * localized names to resolve), and no PDP link (there are no slugs to build * one from). */ orderItem: OrderItem; /** Currency symbol to display. Defaults to '€'. */ currency?: string; /** * Active language for the localized product name. Resolved from * `` when omitted. Without it the card showed * `names[0]` — whichever language the backend happened to return first, * which is how a German product name reached a Dutch thank-you page. */ language?: string; /** Child order items (rendered as indented sub-rows beneath the parent) */ childItems?: OrderItem[]; /** Should the item title be a link to the PDP */ titleLinkable?: boolean; /** Display a small thumbnail of the order item */ showImage?: boolean; /** Should stock info be displayed */ showStockComponent?: boolean; /** Display the SKU of the order item beneath the item name */ showSku?: boolean; /** Display the quantity of the order item */ showQuantity?: boolean; /** Display the price of the order item */ showPrice?: boolean; /** Display the discount column */ showDiscount?: boolean; /** Should the order item notes field be displayed */ showItemNotes?: boolean; /** Render as a child/sub-item (indented, no image) */ isChildItem?: boolean; /** Custom price formatting function */ formatPrice?: (price: number) => string; /** Translated labels keyed by the slugs used inside the component (see * `getLabel` calls). Missing keys fall back to the English defaults. */ labels?: Record; priceComponent?: Component; stockComponent?: Component; } declare const _default: import('vue').DefineComponent & Readonly<{}>, { showPrice: boolean; titleLinkable: boolean; showStockComponent: boolean; showSku: boolean; showDiscount: boolean; showImage: boolean; showQuantity: boolean; showItemNotes: boolean; isChildItem: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableSectionElement>; export default _default;