/* 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"; export namespace Components { interface YcAppDoor { "backTitle": any; "changeApp": (item: any) => Promise; "config": any; "direction": string; } interface YcAppServes { "color"?: string; "config": any; /** * 列表值 */ "direction"?: string; "isLink"?: boolean; "size": number; } interface YcButton { /** * 自定义按钮颜色 */ "color": string; "disabled": boolean; "finishloading": () => Promise; /** * 按钮类型 */ "icon": string; "loading": () => Promise; /** * 按钮形状 */ "shape": 'default' | 'conner' | 'rounder'; /** * 按钮类型 */ "type": 'primary' | 'danger' | 'default'; } interface YcDialog { /** * 是否有默认的X关闭按钮 */ "closeX": boolean; /** * 内容 */ "content": string; "destory": (item: any) => Promise; "display": () => Promise; /** * 定时关闭 */ "duration": number; /** * 样式 */ "effect": 'zoom' | 'fadeIn'; /** * 底部按钮 */ "footer": string; /** * 以服务的形式调用 */ "init": (option: any) => Promise; /** * 点击背景是否关闭 */ "maskClosable": boolean; "placeholder": string; /** * 标题 */ "titles": string; /** * 类型 */ "type": string; /** * 显示隐藏 */ "visible": boolean; } interface YcIcon { "color": string; "name": string; "size": number; "spin": boolean; } interface YcPanel { "desc": string; "status": string; "titles": string; } interface YcPopover { "bindClick": () => Promise; "closePopover": () => Promise; "direction": string; "event": string; /** * 已服务的形式调用 */ "init": (option: any) => Promise; "initPosition": () => Promise; "offset": number; "position": string; } interface YcProgress { "percent": (percent: number) => Promise; } } declare global { interface HTMLYcAppDoorElement extends Components.YcAppDoor, HTMLStencilElement { } var HTMLYcAppDoorElement: { prototype: HTMLYcAppDoorElement; new (): HTMLYcAppDoorElement; }; interface HTMLYcAppServesElement extends Components.YcAppServes, HTMLStencilElement { } var HTMLYcAppServesElement: { prototype: HTMLYcAppServesElement; new (): HTMLYcAppServesElement; }; interface HTMLYcButtonElement extends Components.YcButton, HTMLStencilElement { } var HTMLYcButtonElement: { prototype: HTMLYcButtonElement; new (): HTMLYcButtonElement; }; interface HTMLYcDialogElement extends Components.YcDialog, HTMLStencilElement { } var HTMLYcDialogElement: { prototype: HTMLYcDialogElement; new (): HTMLYcDialogElement; }; interface HTMLYcIconElement extends Components.YcIcon, HTMLStencilElement { } var HTMLYcIconElement: { prototype: HTMLYcIconElement; new (): HTMLYcIconElement; }; interface HTMLYcPanelElement extends Components.YcPanel, HTMLStencilElement { } var HTMLYcPanelElement: { prototype: HTMLYcPanelElement; new (): HTMLYcPanelElement; }; interface HTMLYcPopoverElement extends Components.YcPopover, HTMLStencilElement { } var HTMLYcPopoverElement: { prototype: HTMLYcPopoverElement; new (): HTMLYcPopoverElement; }; interface HTMLYcProgressElement extends Components.YcProgress, HTMLStencilElement { } var HTMLYcProgressElement: { prototype: HTMLYcProgressElement; new (): HTMLYcProgressElement; }; interface HTMLElementTagNameMap { "yc-app-door": HTMLYcAppDoorElement; "yc-app-serves": HTMLYcAppServesElement; "yc-button": HTMLYcButtonElement; "yc-dialog": HTMLYcDialogElement; "yc-icon": HTMLYcIconElement; "yc-panel": HTMLYcPanelElement; "yc-popover": HTMLYcPopoverElement; "yc-progress": HTMLYcProgressElement; } } declare namespace LocalJSX { interface YcAppDoor { "backTitle"?: any; "config"?: any; "direction"?: string; } interface YcAppServes { "color"?: string; "config"?: any; /** * 列表值 */ "direction"?: string; "isLink"?: boolean; "onOpenUrl"?: (event: CustomEvent) => void; "size"?: number; } interface YcButton { /** * 自定义按钮颜色 */ "color"?: string; "disabled"?: boolean; /** * 按钮类型 */ "icon"?: string; "onVclick"?: (event: CustomEvent) => void; /** * 按钮形状 */ "shape"?: 'default' | 'conner' | 'rounder'; /** * 按钮类型 */ "type"?: 'primary' | 'danger' | 'default'; } interface YcDialog { /** * 是否有默认的X关闭按钮 */ "closeX"?: boolean; /** * 内容 */ "content"?: string; /** * 定时关闭 */ "duration"?: number; /** * 样式 */ "effect"?: 'zoom' | 'fadeIn'; /** * 底部按钮 */ "footer"?: string; /** * 点击背景是否关闭 */ "maskClosable"?: boolean; "onOkHandle"?: (event: CustomEvent) => void; "onVdestory"?: (event: CustomEvent) => void; "placeholder"?: string; /** * 标题 */ "titles"?: string; /** * 类型 */ "type"?: string; /** * 显示隐藏 */ "visible"?: boolean; } interface YcIcon { "color"?: string; "name"?: string; "size"?: number; "spin"?: boolean; } interface YcPanel { "desc"?: string; "status"?: string; "titles"?: string; } interface YcPopover { "direction"?: string; "event"?: string; "offset"?: number; "position"?: string; } interface YcProgress { } interface IntrinsicElements { "yc-app-door": YcAppDoor; "yc-app-serves": YcAppServes; "yc-button": YcButton; "yc-dialog": YcDialog; "yc-icon": YcIcon; "yc-panel": YcPanel; "yc-popover": YcPopover; "yc-progress": YcProgress; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "yc-app-door": LocalJSX.YcAppDoor & JSXBase.HTMLAttributes; "yc-app-serves": LocalJSX.YcAppServes & JSXBase.HTMLAttributes; "yc-button": LocalJSX.YcButton & JSXBase.HTMLAttributes; "yc-dialog": LocalJSX.YcDialog & JSXBase.HTMLAttributes; "yc-icon": LocalJSX.YcIcon & JSXBase.HTMLAttributes; "yc-panel": LocalJSX.YcPanel & JSXBase.HTMLAttributes; "yc-popover": LocalJSX.YcPopover & JSXBase.HTMLAttributes; "yc-progress": LocalJSX.YcProgress & JSXBase.HTMLAttributes; } } }