/* 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 ArrayField { "items": any[]; "name": string; } interface DatetimePicker { "dataTab": string; /** * @default 'Y-m-d H:i' */ "dateFormat": string; "label": string; "maxDate": string; "minDate": string; "name": string; "placeholder": string; /** * @default false */ "required": boolean; "setDate": (date: string) => Promise; "tooltip": string; "value": string; } interface DynamicForm { "endpointGet": string; "endpointPost": string; "schema": any; "submitUrl": string; } interface FormValidator { "idForm": string; } interface InputFile { "accept": string; "dataTab": string; "label": string; "multiple": boolean; "name": string; "required": boolean; "size": number; "tooltip": string; "value": string; } interface InputNumber { "dataTab": string; "disabled": boolean; "label": string; "name": string; "placeholder": string; "required": boolean; "tooltip": string; "value": number; } interface InputSwitch { "checked": boolean; "dataTab": string; "disabled": boolean; "label": string; "name": string; "required": boolean; "tooltip": string; "value": string; } interface InputText { "checkValidity": () => Promise; "dataTab": string; "disabled": boolean; "label": string; "maxLength": number; "minLength": number; "name": string; "pattern": string; "placeholder": string; "required": boolean; "tooltip": string; "type": string; "value": string; } interface InputTextarea { "dataTab": string; "disabled": boolean; "label": string; "maxLength": number; "minLength": number; "name": string; "placeholder": string; "required": boolean; "tooltip": string; "value": string; } interface LabelTooltip { "label": string; "tooltip": string; } interface LoadingComponent { } interface ModalConfirm { "hide": () => Promise; "send": () => Promise; "show": () => Promise; } interface MyComponent { /** * The first name */ "first": string; /** * The last name */ "last": string; /** * The middle name */ "middle": string; } interface RadioCheck { "dataTab": string; "disabled": boolean; "elements": Array<{ name: string; id: string; label: string }>; "label": string; "name": string; "required": boolean; "tooltip": string; "type": string; } interface SaveButton { "label": string; "name": string; } interface SelectBox { "checkValidity": () => Promise; "dataTab": string; "disabled": boolean; "label": string; "name": string; "options": Array<{ value: string; label: string }>; "required": boolean; "tooltip": string; } interface SendButton { "label": string; "name": string; } interface ToastNotification { /** * @default 'imagotipo-blanco.png' */ "imagotipo": string; "show": (type?: string) => Promise; "typeToast": string; } } export interface DatetimePickerCustomEvent extends CustomEvent { detail: T; target: HTMLDatetimePickerElement; } export interface DynamicFormCustomEvent extends CustomEvent { detail: T; target: HTMLDynamicFormElement; } export interface FormValidatorCustomEvent extends CustomEvent { detail: T; target: HTMLFormValidatorElement; } export interface SaveButtonCustomEvent extends CustomEvent { detail: T; target: HTMLSaveButtonElement; } export interface SendButtonCustomEvent extends CustomEvent { detail: T; target: HTMLSendButtonElement; } declare global { interface HTMLArrayFieldElement extends Components.ArrayField, HTMLStencilElement { } var HTMLArrayFieldElement: { prototype: HTMLArrayFieldElement; new (): HTMLArrayFieldElement; }; interface HTMLDatetimePickerElementEventMap { "datetimeChange": any; } interface HTMLDatetimePickerElement extends Components.DatetimePicker, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLDatetimePickerElement, ev: DatetimePickerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDatetimePickerElement, ev: DatetimePickerCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLDatetimePickerElement: { prototype: HTMLDatetimePickerElement; new (): HTMLDatetimePickerElement; }; interface HTMLDynamicFormElementEventMap { "submitForm": any; } interface HTMLDynamicFormElement extends Components.DynamicForm, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLDynamicFormElement, ev: DynamicFormCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDynamicFormElement, ev: DynamicFormCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLDynamicFormElement: { prototype: HTMLDynamicFormElement; new (): HTMLDynamicFormElement; }; interface HTMLFormValidatorElementEventMap { "formValid": any; "formInvalid": any; "submitForm": any; } interface HTMLFormValidatorElement extends Components.FormValidator, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLFormValidatorElement, ev: FormValidatorCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLFormValidatorElement, ev: FormValidatorCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLFormValidatorElement: { prototype: HTMLFormValidatorElement; new (): HTMLFormValidatorElement; }; interface HTMLInputFileElement extends Components.InputFile, HTMLStencilElement { } var HTMLInputFileElement: { prototype: HTMLInputFileElement; new (): HTMLInputFileElement; }; interface HTMLInputNumberElement extends Components.InputNumber, HTMLStencilElement { } var HTMLInputNumberElement: { prototype: HTMLInputNumberElement; new (): HTMLInputNumberElement; }; interface HTMLInputSwitchElement extends Components.InputSwitch, HTMLStencilElement { } var HTMLInputSwitchElement: { prototype: HTMLInputSwitchElement; new (): HTMLInputSwitchElement; }; interface HTMLInputTextElement extends Components.InputText, HTMLStencilElement { } var HTMLInputTextElement: { prototype: HTMLInputTextElement; new (): HTMLInputTextElement; }; interface HTMLInputTextareaElement extends Components.InputTextarea, HTMLStencilElement { } var HTMLInputTextareaElement: { prototype: HTMLInputTextareaElement; new (): HTMLInputTextareaElement; }; interface HTMLLabelTooltipElement extends Components.LabelTooltip, HTMLStencilElement { } var HTMLLabelTooltipElement: { prototype: HTMLLabelTooltipElement; new (): HTMLLabelTooltipElement; }; interface HTMLLoadingComponentElement extends Components.LoadingComponent, HTMLStencilElement { } var HTMLLoadingComponentElement: { prototype: HTMLLoadingComponentElement; new (): HTMLLoadingComponentElement; }; interface HTMLModalConfirmElement extends Components.ModalConfirm, HTMLStencilElement { } var HTMLModalConfirmElement: { prototype: HTMLModalConfirmElement; new (): HTMLModalConfirmElement; }; interface HTMLMyComponentElement extends Components.MyComponent, HTMLStencilElement { } var HTMLMyComponentElement: { prototype: HTMLMyComponentElement; new (): HTMLMyComponentElement; }; interface HTMLRadioCheckElement extends Components.RadioCheck, HTMLStencilElement { } var HTMLRadioCheckElement: { prototype: HTMLRadioCheckElement; new (): HTMLRadioCheckElement; }; interface HTMLSaveButtonElementEventMap { "saveButtonClick": any; } interface HTMLSaveButtonElement extends Components.SaveButton, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSaveButtonElement, ev: SaveButtonCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSaveButtonElement, ev: SaveButtonCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSaveButtonElement: { prototype: HTMLSaveButtonElement; new (): HTMLSaveButtonElement; }; interface HTMLSelectBoxElement extends Components.SelectBox, HTMLStencilElement { } var HTMLSelectBoxElement: { prototype: HTMLSelectBoxElement; new (): HTMLSelectBoxElement; }; interface HTMLSendButtonElementEventMap { "sendButtonClick": any; } interface HTMLSendButtonElement extends Components.SendButton, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSendButtonElement, ev: SendButtonCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSendButtonElement, ev: SendButtonCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSendButtonElement: { prototype: HTMLSendButtonElement; new (): HTMLSendButtonElement; }; interface HTMLToastNotificationElement extends Components.ToastNotification, HTMLStencilElement { } var HTMLToastNotificationElement: { prototype: HTMLToastNotificationElement; new (): HTMLToastNotificationElement; }; interface HTMLElementTagNameMap { "array-field": HTMLArrayFieldElement; "datetime-picker": HTMLDatetimePickerElement; "dynamic-form": HTMLDynamicFormElement; "form-validator": HTMLFormValidatorElement; "input-file": HTMLInputFileElement; "input-number": HTMLInputNumberElement; "input-switch": HTMLInputSwitchElement; "input-text": HTMLInputTextElement; "input-textarea": HTMLInputTextareaElement; "label-tooltip": HTMLLabelTooltipElement; "loading-component": HTMLLoadingComponentElement; "modal-confirm": HTMLModalConfirmElement; "my-component": HTMLMyComponentElement; "radio-check": HTMLRadioCheckElement; "save-button": HTMLSaveButtonElement; "select-box": HTMLSelectBoxElement; "send-button": HTMLSendButtonElement; "toast-notification": HTMLToastNotificationElement; } } declare namespace LocalJSX { interface ArrayField { "items"?: any[]; "name"?: string; } interface DatetimePicker { "dataTab"?: string; /** * @default 'Y-m-d H:i' */ "dateFormat"?: string; "label"?: string; "maxDate"?: string; "minDate"?: string; "name"?: string; "onDatetimeChange"?: (event: DatetimePickerCustomEvent) => void; "placeholder"?: string; /** * @default false */ "required"?: boolean; "tooltip"?: string; "value"?: string; } interface DynamicForm { "endpointGet"?: string; "endpointPost"?: string; "onSubmitForm"?: (event: DynamicFormCustomEvent) => void; "schema"?: any; "submitUrl"?: string; } interface FormValidator { "idForm"?: string; "onFormInvalid"?: (event: FormValidatorCustomEvent) => void; "onFormValid"?: (event: FormValidatorCustomEvent) => void; "onSubmitForm"?: (event: FormValidatorCustomEvent) => void; } interface InputFile { "accept"?: string; "dataTab"?: string; "label"?: string; "multiple"?: boolean; "name"?: string; "required"?: boolean; "size"?: number; "tooltip"?: string; "value"?: string; } interface InputNumber { "dataTab"?: string; "disabled"?: boolean; "label"?: string; "name"?: string; "placeholder"?: string; "required"?: boolean; "tooltip"?: string; "value"?: number; } interface InputSwitch { "checked"?: boolean; "dataTab"?: string; "disabled"?: boolean; "label"?: string; "name"?: string; "required"?: boolean; "tooltip"?: string; "value"?: string; } interface InputText { "dataTab"?: string; "disabled"?: boolean; "label"?: string; "maxLength"?: number; "minLength"?: number; "name"?: string; "pattern"?: string; "placeholder"?: string; "required"?: boolean; "tooltip"?: string; "type"?: string; "value"?: string; } interface InputTextarea { "dataTab"?: string; "disabled"?: boolean; "label"?: string; "maxLength"?: number; "minLength"?: number; "name"?: string; "placeholder"?: string; "required"?: boolean; "tooltip"?: string; "value"?: string; } interface LabelTooltip { "label"?: string; "tooltip"?: string; } interface LoadingComponent { } interface ModalConfirm { } interface MyComponent { /** * The first name */ "first"?: string; /** * The last name */ "last"?: string; /** * The middle name */ "middle"?: string; } interface RadioCheck { "dataTab"?: string; "disabled"?: boolean; "elements"?: Array<{ name: string; id: string; label: string }>; "label"?: string; "name"?: string; "required"?: boolean; "tooltip"?: string; "type"?: string; } interface SaveButton { "label"?: string; "name"?: string; "onSaveButtonClick"?: (event: SaveButtonCustomEvent) => void; } interface SelectBox { "dataTab"?: string; "disabled"?: boolean; "label"?: string; "name"?: string; "options"?: Array<{ value: string; label: string }>; "required"?: boolean; "tooltip"?: string; } interface SendButton { "label"?: string; "name"?: string; "onSendButtonClick"?: (event: SendButtonCustomEvent) => void; } interface ToastNotification { /** * @default 'imagotipo-blanco.png' */ "imagotipo"?: string; "typeToast"?: string; } interface IntrinsicElements { "array-field": ArrayField; "datetime-picker": DatetimePicker; "dynamic-form": DynamicForm; "form-validator": FormValidator; "input-file": InputFile; "input-number": InputNumber; "input-switch": InputSwitch; "input-text": InputText; "input-textarea": InputTextarea; "label-tooltip": LabelTooltip; "loading-component": LoadingComponent; "modal-confirm": ModalConfirm; "my-component": MyComponent; "radio-check": RadioCheck; "save-button": SaveButton; "select-box": SelectBox; "send-button": SendButton; "toast-notification": ToastNotification; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "array-field": LocalJSX.ArrayField & JSXBase.HTMLAttributes; "datetime-picker": LocalJSX.DatetimePicker & JSXBase.HTMLAttributes; "dynamic-form": LocalJSX.DynamicForm & JSXBase.HTMLAttributes; "form-validator": LocalJSX.FormValidator & JSXBase.HTMLAttributes; "input-file": LocalJSX.InputFile & JSXBase.HTMLAttributes; "input-number": LocalJSX.InputNumber & JSXBase.HTMLAttributes; "input-switch": LocalJSX.InputSwitch & JSXBase.HTMLAttributes; "input-text": LocalJSX.InputText & JSXBase.HTMLAttributes; "input-textarea": LocalJSX.InputTextarea & JSXBase.HTMLAttributes; "label-tooltip": LocalJSX.LabelTooltip & JSXBase.HTMLAttributes; "loading-component": LocalJSX.LoadingComponent & JSXBase.HTMLAttributes; "modal-confirm": LocalJSX.ModalConfirm & JSXBase.HTMLAttributes; "my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes; "radio-check": LocalJSX.RadioCheck & JSXBase.HTMLAttributes; "save-button": LocalJSX.SaveButton & JSXBase.HTMLAttributes; "select-box": LocalJSX.SelectBox & JSXBase.HTMLAttributes; "send-button": LocalJSX.SendButton & JSXBase.HTMLAttributes; "toast-notification": LocalJSX.ToastNotification & JSXBase.HTMLAttributes; } } }