/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { ODS_PERIOD_ISO_CODE, OdsCartManagerFooter, OdsCartManagerSection, OdsCartRounded, OdsCartSize, OdsI18nHook } from "@ovhcloud/ods-core"; export namespace Components { interface OsdsCart { /** * is the cart is collapsed (if collapsible) * @see OdsCartAttributes.collapsed */ "collapsed"?: boolean; /** * is the cart can be collapsed in a smaller view * @see OdsCartAttributes.collapsible */ "collapsible"?: boolean; /** * full width or not: see component principles * @see OdsCartAttributes.flex */ "flex"?: boolean; /** * get the number of cart items detected in the DOM * @see OdsCartMethods.getItemQuantity */ "getItemQuantity": () => Promise; /** * Render manually the cart in order to refresh the component. * @see OdsCartMethods.refresh */ "refresh": () => Promise; /** * rounds corners of cart's outer border edge * @see OdsCartAttributes.rounded */ "rounded"?: OdsCartRounded; /** * size: see component principles * @see OdsCartAttributes.size */ "size"?: OdsCartSize; } interface OsdsCartFooter { } interface OsdsCartFooterItem { } interface OsdsCartHeader { /** * @see OdsCartHeaderAttributes.headerTitle */ "headerTitle"?: string; /** * Render manually the cart header in order to refresh the component. * @see OdsCartHeaderMethods.refresh */ "refresh": () => Promise; } interface OsdsCartItem { } interface OsdsCartItemOption { } interface OsdsCartManager { /** * full width or not: see component principles * @see OdsCartManagerAttributes.flex */ "flex"?: boolean; /** * describe what the footer is made of * @see OdsCartManagerAttributes.footer */ "footer"?: OdsCartManagerFooter; /** * get the number of item flagged as product * @see OdsCartManagerMethods.getProductQuantity */ "getProductQuantity": () => Promise; /** * get the total amount of the cart * @see OdsCartManagerMethods.getTotalAmount */ "getTotalAmount": () => Promise; /** * internationalisation system connector * @see OdsCartManagerAttributes.i18n */ "i18n"?: OdsI18nHook; /** * ISO period code that describe the duration of a periodical payment * @see OdsCartManagerAttributes.period */ "period"?: ODS_PERIOD_ISO_CODE; /** * Sections made of one item and multiple options * @see OdsCartManagerAttributes.sections */ "sections": OdsCartManagerSection[]; /** * size: see component principles * @see OdsCartManagerAttributes.size */ "size"?: OdsCartSize; /** * is the cart display the Value Added Tax * @see OdsCartManagerAttributes.vatMode */ "vatMode"?: boolean; } interface OsdsCartSection { } interface OsdsCartTotal { } } declare global { interface HTMLOsdsCartElement extends Components.OsdsCart, HTMLStencilElement { } var HTMLOsdsCartElement: { prototype: HTMLOsdsCartElement; new (): HTMLOsdsCartElement; }; interface HTMLOsdsCartFooterElement extends Components.OsdsCartFooter, HTMLStencilElement { } var HTMLOsdsCartFooterElement: { prototype: HTMLOsdsCartFooterElement; new (): HTMLOsdsCartFooterElement; }; interface HTMLOsdsCartFooterItemElement extends Components.OsdsCartFooterItem, HTMLStencilElement { } var HTMLOsdsCartFooterItemElement: { prototype: HTMLOsdsCartFooterItemElement; new (): HTMLOsdsCartFooterItemElement; }; interface HTMLOsdsCartHeaderElement extends Components.OsdsCartHeader, HTMLStencilElement { } var HTMLOsdsCartHeaderElement: { prototype: HTMLOsdsCartHeaderElement; new (): HTMLOsdsCartHeaderElement; }; interface HTMLOsdsCartItemElement extends Components.OsdsCartItem, HTMLStencilElement { } var HTMLOsdsCartItemElement: { prototype: HTMLOsdsCartItemElement; new (): HTMLOsdsCartItemElement; }; interface HTMLOsdsCartItemOptionElement extends Components.OsdsCartItemOption, HTMLStencilElement { } var HTMLOsdsCartItemOptionElement: { prototype: HTMLOsdsCartItemOptionElement; new (): HTMLOsdsCartItemOptionElement; }; interface HTMLOsdsCartManagerElement extends Components.OsdsCartManager, HTMLStencilElement { } var HTMLOsdsCartManagerElement: { prototype: HTMLOsdsCartManagerElement; new (): HTMLOsdsCartManagerElement; }; interface HTMLOsdsCartSectionElement extends Components.OsdsCartSection, HTMLStencilElement { } var HTMLOsdsCartSectionElement: { prototype: HTMLOsdsCartSectionElement; new (): HTMLOsdsCartSectionElement; }; interface HTMLOsdsCartTotalElement extends Components.OsdsCartTotal, HTMLStencilElement { } var HTMLOsdsCartTotalElement: { prototype: HTMLOsdsCartTotalElement; new (): HTMLOsdsCartTotalElement; }; interface HTMLElementTagNameMap { "osds-cart": HTMLOsdsCartElement; "osds-cart-footer": HTMLOsdsCartFooterElement; "osds-cart-footer-item": HTMLOsdsCartFooterItemElement; "osds-cart-header": HTMLOsdsCartHeaderElement; "osds-cart-item": HTMLOsdsCartItemElement; "osds-cart-item-option": HTMLOsdsCartItemOptionElement; "osds-cart-manager": HTMLOsdsCartManagerElement; "osds-cart-section": HTMLOsdsCartSectionElement; "osds-cart-total": HTMLOsdsCartTotalElement; } } declare namespace LocalJSX { interface OsdsCart { /** * is the cart is collapsed (if collapsible) * @see OdsCartAttributes.collapsed */ "collapsed"?: boolean; /** * is the cart can be collapsed in a smaller view * @see OdsCartAttributes.collapsible */ "collapsible"?: boolean; /** * full width or not: see component principles * @see OdsCartAttributes.flex */ "flex"?: boolean; /** * rounds corners of cart's outer border edge * @see OdsCartAttributes.rounded */ "rounded"?: OdsCartRounded; /** * size: see component principles * @see OdsCartAttributes.size */ "size"?: OdsCartSize; } interface OsdsCartFooter { } interface OsdsCartFooterItem { } interface OsdsCartHeader { /** * @see OdsCartHeaderAttributes.headerTitle */ "headerTitle"?: string; } interface OsdsCartItem { } interface OsdsCartItemOption { } interface OsdsCartManager { /** * full width or not: see component principles * @see OdsCartManagerAttributes.flex */ "flex"?: boolean; /** * describe what the footer is made of * @see OdsCartManagerAttributes.footer */ "footer"?: OdsCartManagerFooter; /** * internationalisation system connector * @see OdsCartManagerAttributes.i18n */ "i18n"?: OdsI18nHook; /** * ISO period code that describe the duration of a periodical payment * @see OdsCartManagerAttributes.period */ "period"?: ODS_PERIOD_ISO_CODE; /** * Sections made of one item and multiple options * @see OdsCartManagerAttributes.sections */ "sections"?: OdsCartManagerSection[]; /** * size: see component principles * @see OdsCartManagerAttributes.size */ "size"?: OdsCartSize; /** * is the cart display the Value Added Tax * @see OdsCartManagerAttributes.vatMode */ "vatMode"?: boolean; } interface OsdsCartSection { } interface OsdsCartTotal { } interface IntrinsicElements { "osds-cart": OsdsCart; "osds-cart-footer": OsdsCartFooter; "osds-cart-footer-item": OsdsCartFooterItem; "osds-cart-header": OsdsCartHeader; "osds-cart-item": OsdsCartItem; "osds-cart-item-option": OsdsCartItemOption; "osds-cart-manager": OsdsCartManager; "osds-cart-section": OsdsCartSection; "osds-cart-total": OsdsCartTotal; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "osds-cart": LocalJSX.OsdsCart & JSXBase.HTMLAttributes; "osds-cart-footer": LocalJSX.OsdsCartFooter & JSXBase.HTMLAttributes; "osds-cart-footer-item": LocalJSX.OsdsCartFooterItem & JSXBase.HTMLAttributes; "osds-cart-header": LocalJSX.OsdsCartHeader & JSXBase.HTMLAttributes; "osds-cart-item": LocalJSX.OsdsCartItem & JSXBase.HTMLAttributes; "osds-cart-item-option": LocalJSX.OsdsCartItemOption & JSXBase.HTMLAttributes; "osds-cart-manager": LocalJSX.OsdsCartManager & JSXBase.HTMLAttributes; "osds-cart-section": LocalJSX.OsdsCartSection & JSXBase.HTMLAttributes; "osds-cart-total": LocalJSX.OsdsCartTotal & JSXBase.HTMLAttributes; } } }