/* 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 { Address } from "./components/address/address"; import { DateEvent } from "./types/date-event"; import { ChartType } from "chart.js"; import { IconLibraryMutator, IconLibraryResolver } from "./components/icon-library/icon-library-registry"; import { AnyLayer, AnySourceData } from "mapbox-gl"; import { CalendarDataSource } from "./types/calendar-data-source"; import { Period } from "./types/period"; import { Resource } from "./types/resource"; export namespace Components { /** * @since 1.0 * @status stable */ interface SlAddress { /** * The list of countries to show in the list, defined as alpha-2 (fx. DA, EN, NO). If not specified, all countries are shown. */ "countries": string[]; /** * Set to true to disable the input. */ "disabled": boolean; /** * The input's error text. Alternatively, you can use the error-text slot. */ "errorText": string; /** * The input's help text. Alternatively, you can use the help-text slot. */ "helpText": string; /** * The input's label. Alternatively, you can use the label slot. */ "label": string; /** * The input's value attribute. */ "value": Address; } /** * @since 1.0 * @status stable */ interface SlAlert { /** * Set to true to make the alert closable. */ "closable": boolean; /** * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart. */ "duration": number; /** * Hides the alert */ "hide": () => Promise; /** * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods. */ "open": boolean; /** * Shows the alert. */ "show": () => Promise; /** * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by calling this method again. The returned promise will resolve after the alert is hidden. */ "toast": () => Promise; /** * The type of alert. */ "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'neutral'; } /** * @since 1.0 * @status stable */ interface SlAnimation { /** * Clears all KeyframeEffects caused by this animation and aborts its playback. */ "cancel": () => Promise; /** * The number of milliseconds to delay the start of the animation. */ "delay": number; /** * Determines the direction of playback as well as the behavior when reaching the end of an iteration. */ "direction": PlaybackDirection; /** * The number of milliseconds each iteration of the animation takes to complete. */ "duration": number; /** * The easing function to use for the animation. This can be a Stallion easing function or a custom easing function such as `cubic-bezier(0, 1, .76, 1.14)`. */ "easing": string; /** * The number of milliseconds to delay after the active period of an animation sequence. */ "endDelay": number; /** * Sets how the animation applies styles to its target before and after its execution. */ "fill": FillMode; /** * Sets the playback time to the end of the animation corresponding to the current playback direction. */ "finish": () => Promise; /** * Gets a list of all supported animation names. */ "getAnimationNames": () => Promise; /** * Gets the current time of the animation in milliseconds. */ "getCurrentTime": () => Promise; /** * Gets a list of all supported easing function names. */ "getEasingNames": () => Promise; /** * The offset at which to start the animation, usually between 0 (start) and 1 (end). */ "iterationStart": number; /** * The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops. */ "iterations": number; /** * The keyframes to use for the animation. If this is set, `name` will be ignored. */ "keyframes": Keyframe[]; /** * The name of the built-in animation to use. For custom animations, use the `keyframes` prop. */ "name": string; /** * Pauses the animation. The animation will resume when this prop is removed. */ "pause": boolean; /** * Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this to `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This value can be changed without causing the animation to restart. */ "playbackRate": number; /** * Sets the current time of the animation in milliseconds. */ "setCurrentTime": (time: number) => Promise; } /** * @since 1.0 * @status stable */ interface SlAuth { /** * The url of the auth api */ "api": string; /** * The email to preset in the input */ "email": string; /** * Whether changing email should be prevented */ "preventEmailChange": boolean; /** * Reset the view */ "reset": () => Promise; /** * The optional description for the sign in view. */ "signInDescription": string; /** * The header for the sign in view. */ "signInHeader": any; /** * The url of the terms */ "terms": string; /** * Whether webauthn is enabled if supported by client. */ "webauthn": boolean; } /** * @since 1.0 * @status stable */ interface SlAuthProfile { /** * The url of the auth api */ "api": string; } /** * @since 1.0 * @status stable */ interface SlAvatar { /** * Alternative text for the image. */ "alt": string; /** * The image source to use for the avatar. */ "image": string; /** * Initials to use as a fallback when no image is available (1-2 characters max recommended). */ "initials": string; /** * The shape of the avatar. */ "shape": 'circle' | 'square' | 'rounded'; } /** * @since 1.0 * @status stable */ interface SlBadge { /** * Set to true to draw a pill-style badge with rounded edges. */ "pill": boolean; /** * Set to true to make the badge pulsate to draw attention. */ "pulse": boolean; /** * The badge's type. */ "type": 'primary' | 'success' | 'info' | 'warning' | 'danger'; } /** * @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy. * @documentation https://shoelace.style/components/breadcrumb * @status stable * @since $.0 * @dependency sl-icon * @csspart base - The component's base wrapper. */ interface SlBreadcrumb { /** * The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by screen readers and other assistive devices to provide more context for users. */ "label": string; } /** * @summary Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links. * @status stable * @since $.0 * @csspart base - The component's base wrapper. * @csspart label - The breadcrumb item's label. * @csspart prefix - The container that wraps the prefix. * @csspart suffix - The container that wraps the suffix. * @csspart separator - The container that wraps the separator. */ interface SlBreadcrumbItem { /** * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead. */ "href"?: string; /** * Whether this is displayed as leaf or not. */ "leaf": boolean; /** * The `rel` attribute to use on the link. Only used when `href` is set. */ "rel": string; /** * Tells the browser where to open the link. Only used when `href` is set. */ "target"?: '_blank' | '_parent' | '_self' | '_top'; } /** * @since 1.0 * @status stable */ interface SlBubble { } /** * @since 1.0 * @status stable */ interface SlButton { /** * Set to true to draw the button with a caret for use with dropdowns, popovers, etc. */ "caret": boolean; /** * When true, the button will be rendered in a 'pushed' state. */ "checked": boolean; /** * Set to true to draw a circle button. */ "circle": boolean; /** * Set to true to disable the button. */ "disabled": boolean; /** * Tells the browser to download the linked file as this filename. Only used when `href` is set. */ "download": string; /** * When set, the underlying button will be rendered as an `` with this `href` instead of a `