/* 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 CanvasEditor { "autoStartScreenshot": boolean; "borderLabelText": string; "canvasEditorCancelText": string; "canvasEditorSaveText": string; "canvasEditorTitle": string; "clickOutsideClose": boolean; "editTextButtonText": string; "editTextPromptText": string; "escapeClose": boolean; "existingScreenshot": string; "screenshotAttachedText": string; "screenshotButtonText": string; "screenshotErrorBrowserNotSupported": string; "screenshotErrorCancelled": string; "screenshotErrorGeneral": string; "screenshotErrorNotFound": string; "screenshotErrorNotSupported": string; "screenshotErrorPermission": string; "screenshotErrorUnexpected": string; "screenshotTakingText": string; "sizeLabelText": string; } interface FeedbackButton { /** * Optional API key sent with feedback submissions, for projects that require one. Sent as `Authorization: Api-Key ` on the feedback POST request only, never on the public config request. Only use keys scoped to `feedback:submit`: like any credential used by an embedded widget, the value is part of the page and readable by any script running on it, so it provides server-side scoping and traceability rather than client-side secrecy. Intended for internal or access-controlled pages. */ "apiKey": string; /** * Position of the button on the page. Valid values: `default`, `bottom-right`, `bottom-left`, `top-right`, `top-left`, `center-right` (vertical tab on the right edge) and `center-left` (vertical tab on the left edge). Any other value behaves like `default`. */ "buttonPosition": string; "buttonStyle": string; "clickOutsideClose": boolean; "customFont": boolean; "emailAddress": string; "emailPlaceholder": string; "errorMessage": string; "errorMessage401": string; "errorMessage403": string; "errorMessage404": string; "fetchData": boolean; "footerText": string; "hideEmail": boolean; "hideIcon": boolean; "hideMobile": boolean; "hidePrivacyPolicy": boolean; "hideRating": boolean; "hideScreenshotButton": boolean; "historyClose": boolean; "isEmailRequired": boolean; "messagePlaceholder": string; "metadata": string; "modalPosition": string; "modalTitle": string; "modalTitleError": string; "modalTitleSuccess": string; "privacyPolicyText": string; "project": string; "rating": number; "ratingMode": string; "ratingPlaceholder": string; "ratingStarsPlaceholder": string; "recaptchaText": string; "screenshotAttachedText": string; "screenshotBorderLabelText": string; "screenshotButtonText": string; "screenshotEditTextButtonText": string; "screenshotEditTextPromptText": string; "screenshotEditorCancelText": string; "screenshotEditorSaveText": string; "screenshotEditorTitle": string; "screenshotErrorBrowserNotSupported": string; "screenshotErrorCancelled": string; "screenshotErrorGeneral": string; "screenshotErrorNotFound": string; "screenshotErrorNotSupported": string; "screenshotErrorPermission": string; "screenshotErrorUnexpected": string; /** * Show the page-positioning step for an inline (default-position) button. */ "screenshotPositioning": boolean; "screenshotPositioningCancelText": string; "screenshotPositioningCaptureText": string; /** * Instruction shown while positioning the page for capture. */ "screenshotPositioningText": string; "screenshotSizeLabelText": string; "screenshotTakingText": string; "sendButtonText": string; "sessionId": string; "submit": boolean; "successMessage": string; } interface FeedbackModal { /** * Optional API key sent with feedback submissions, for projects that require one. Sent as `Authorization: Api-Key ` on the feedback POST request only, never on the public config request. Only use keys scoped to `feedback:submit`: like any credential used by an embedded widget, the value is part of the page and readable by any script running on it, so it provides server-side scoping and traceability rather than client-side secrecy. Intended for internal or access-controlled pages. */ "apiKey": string; "clickOutsideClose": boolean; "closeButtonLabel": string; "customFont": boolean; "emailAddress": string; "emailPlaceholder": string; "embedded": boolean; "errorMessage": string; "errorMessage401": string; "errorMessage403": string; "errorMessage404": string; "escapeClose": boolean; "fetchData": boolean; "footerText": string; "hasSelectedElement": boolean; "hideEmail": boolean; "hidePrivacyPolicy": boolean; "hideRating": boolean; "hideScreenshotButton": boolean; "historyClose": boolean; "isEmailRequired": boolean; "messagePlaceholder": string; "metadata": ''; "modalPosition": string; "modalTitle": string; "modalTitleError": string; "modalTitleSuccess": string; "openModal": () => Promise; "privacyPolicyText": string; "project": string; "rating": number; "ratingMode": string; "ratingNegativeLabel": string; "ratingPlaceholder": string; "ratingPositiveLabel": string; "ratingStarLabel": string; "ratingStarsPlaceholder": string; "recaptchaText": string; "screenshotAttachedText": string; "screenshotBorderLabelText": string; "screenshotButtonText": string; "screenshotEditTextButtonText": string; "screenshotEditTextPromptText": string; "screenshotEditorCancelText": string; "screenshotEditorSaveText": string; "screenshotEditorTitle": string; "screenshotErrorBrowserNotSupported": string; "screenshotErrorCancelled": string; "screenshotErrorGeneral": string; "screenshotErrorNotFound": string; "screenshotErrorNotSupported": string; "screenshotErrorPermission": string; "screenshotErrorUnexpected": string; /** * Show the page-positioning step before capture outside embedded mode. */ "screenshotPositioning": boolean; "screenshotPositioningCancelText": string; "screenshotPositioningCaptureText": string; "screenshotPositioningText": string; "screenshotSizeLabelText": string; "screenshotTakingText": string; "sendButtonText": string; "showModal": boolean; "showScreenshotMode": boolean; "showScreenshotTopBar": boolean; "successMessage": string; } } export interface CanvasEditorCustomEvent extends CustomEvent { detail: T; target: HTMLCanvasEditorElement; } export interface FeedbackButtonCustomEvent extends CustomEvent { detail: T; target: HTMLFeedbackButtonElement; } export interface FeedbackModalCustomEvent extends CustomEvent { detail: T; target: HTMLFeedbackModalElement; } declare global { interface HTMLCanvasEditorElement extends Components.CanvasEditor, HTMLStencilElement { } var HTMLCanvasEditorElement: { prototype: HTMLCanvasEditorElement; new (): HTMLCanvasEditorElement; }; interface HTMLFeedbackButtonElement extends Components.FeedbackButton, HTMLStencilElement { } var HTMLFeedbackButtonElement: { prototype: HTMLFeedbackButtonElement; new (): HTMLFeedbackButtonElement; }; interface HTMLFeedbackModalElement extends Components.FeedbackModal, HTMLStencilElement { } var HTMLFeedbackModalElement: { prototype: HTMLFeedbackModalElement; new (): HTMLFeedbackModalElement; }; interface HTMLElementTagNameMap { "canvas-editor": HTMLCanvasEditorElement; "feedback-button": HTMLFeedbackButtonElement; "feedback-modal": HTMLFeedbackModalElement; } } declare namespace LocalJSX { interface CanvasEditor { "autoStartScreenshot"?: boolean; "borderLabelText"?: string; "canvasEditorCancelText"?: string; "canvasEditorSaveText"?: string; "canvasEditorTitle"?: string; "clickOutsideClose"?: boolean; "editTextButtonText"?: string; "editTextPromptText"?: string; "escapeClose"?: boolean; "existingScreenshot"?: string; "onScreenshotCancelled"?: (event: CanvasEditorCustomEvent) => void; "onScreenshotFailed"?: (event: CanvasEditorCustomEvent<{ error: string }>) => void; "onScreenshotReady"?: (event: CanvasEditorCustomEvent<{ screenshot: string }>) => void; "screenshotAttachedText"?: string; "screenshotButtonText"?: string; "screenshotErrorBrowserNotSupported"?: string; "screenshotErrorCancelled"?: string; "screenshotErrorGeneral"?: string; "screenshotErrorNotFound"?: string; "screenshotErrorNotSupported"?: string; "screenshotErrorPermission"?: string; "screenshotErrorUnexpected"?: string; "screenshotTakingText"?: string; "sizeLabelText"?: string; } interface FeedbackButton { /** * Optional API key sent with feedback submissions, for projects that require one. Sent as `Authorization: Api-Key ` on the feedback POST request only, never on the public config request. Only use keys scoped to `feedback:submit`: like any credential used by an embedded widget, the value is part of the page and readable by any script running on it, so it provides server-side scoping and traceability rather than client-side secrecy. Intended for internal or access-controlled pages. */ "apiKey"?: string; /** * Position of the button on the page. Valid values: `default`, `bottom-right`, `bottom-left`, `top-right`, `top-left`, `center-right` (vertical tab on the right edge) and `center-left` (vertical tab on the left edge). Any other value behaves like `default`. */ "buttonPosition"?: string; "buttonStyle"?: string; "clickOutsideClose"?: boolean; "customFont"?: boolean; "emailAddress"?: string; "emailPlaceholder"?: string; "errorMessage"?: string; "errorMessage401"?: string; "errorMessage403"?: string; "errorMessage404"?: string; "fetchData"?: boolean; "footerText"?: string; "hideEmail"?: boolean; "hideIcon"?: boolean; "hideMobile"?: boolean; "hidePrivacyPolicy"?: boolean; "hideRating"?: boolean; "hideScreenshotButton"?: boolean; "historyClose"?: boolean; "isEmailRequired"?: boolean; "messagePlaceholder"?: string; "metadata"?: string; "modalPosition"?: string; "modalTitle"?: string; "modalTitleError"?: string; "modalTitleSuccess"?: string; "onFeedbackError"?: (event: FeedbackButtonCustomEvent<{ error: any }>) => void; "onFeedbackSent"?: (event: FeedbackButtonCustomEvent<{ feedback: any }>) => void; "privacyPolicyText"?: string; "project"?: string; "rating"?: number; "ratingMode"?: string; "ratingPlaceholder"?: string; "ratingStarsPlaceholder"?: string; "recaptchaText"?: string; "screenshotAttachedText"?: string; "screenshotBorderLabelText"?: string; "screenshotButtonText"?: string; "screenshotEditTextButtonText"?: string; "screenshotEditTextPromptText"?: string; "screenshotEditorCancelText"?: string; "screenshotEditorSaveText"?: string; "screenshotEditorTitle"?: string; "screenshotErrorBrowserNotSupported"?: string; "screenshotErrorCancelled"?: string; "screenshotErrorGeneral"?: string; "screenshotErrorNotFound"?: string; "screenshotErrorNotSupported"?: string; "screenshotErrorPermission"?: string; "screenshotErrorUnexpected"?: string; /** * Show the page-positioning step for an inline (default-position) button. */ "screenshotPositioning"?: boolean; "screenshotPositioningCancelText"?: string; "screenshotPositioningCaptureText"?: string; /** * Instruction shown while positioning the page for capture. */ "screenshotPositioningText"?: string; "screenshotSizeLabelText"?: string; "screenshotTakingText"?: string; "sendButtonText"?: string; "sessionId"?: string; "submit"?: boolean; "successMessage"?: string; } interface FeedbackModal { /** * Optional API key sent with feedback submissions, for projects that require one. Sent as `Authorization: Api-Key ` on the feedback POST request only, never on the public config request. Only use keys scoped to `feedback:submit`: like any credential used by an embedded widget, the value is part of the page and readable by any script running on it, so it provides server-side scoping and traceability rather than client-side secrecy. Intended for internal or access-controlled pages. */ "apiKey"?: string; "clickOutsideClose"?: boolean; "closeButtonLabel"?: string; "customFont"?: boolean; "emailAddress"?: string; "emailPlaceholder"?: string; "embedded"?: boolean; "errorMessage"?: string; "errorMessage401"?: string; "errorMessage403"?: string; "errorMessage404"?: string; "escapeClose"?: boolean; "fetchData"?: boolean; "footerText"?: string; "hasSelectedElement"?: boolean; "hideEmail"?: boolean; "hidePrivacyPolicy"?: boolean; "hideRating"?: boolean; "hideScreenshotButton"?: boolean; "historyClose"?: boolean; "isEmailRequired"?: boolean; "messagePlaceholder"?: string; "metadata"?: ''; "modalPosition"?: string; "modalTitle"?: string; "modalTitleError"?: string; "modalTitleSuccess"?: string; "onFeedbackError"?: (event: FeedbackModalCustomEvent<{ error: any }>) => void; "onFeedbackSent"?: (event: FeedbackModalCustomEvent<{ feedback: any }>) => void; "privacyPolicyText"?: string; "project"?: string; "rating"?: number; "ratingMode"?: string; "ratingNegativeLabel"?: string; "ratingPlaceholder"?: string; "ratingPositiveLabel"?: string; "ratingStarLabel"?: string; "ratingStarsPlaceholder"?: string; "recaptchaText"?: string; "screenshotAttachedText"?: string; "screenshotBorderLabelText"?: string; "screenshotButtonText"?: string; "screenshotEditTextButtonText"?: string; "screenshotEditTextPromptText"?: string; "screenshotEditorCancelText"?: string; "screenshotEditorSaveText"?: string; "screenshotEditorTitle"?: string; "screenshotErrorBrowserNotSupported"?: string; "screenshotErrorCancelled"?: string; "screenshotErrorGeneral"?: string; "screenshotErrorNotFound"?: string; "screenshotErrorNotSupported"?: string; "screenshotErrorPermission"?: string; "screenshotErrorUnexpected"?: string; /** * Show the page-positioning step before capture outside embedded mode. */ "screenshotPositioning"?: boolean; "screenshotPositioningCancelText"?: string; "screenshotPositioningCaptureText"?: string; "screenshotPositioningText"?: string; "screenshotSizeLabelText"?: string; "screenshotTakingText"?: string; "sendButtonText"?: string; "showModal"?: boolean; "showScreenshotMode"?: boolean; "showScreenshotTopBar"?: boolean; "successMessage"?: string; } interface IntrinsicElements { "canvas-editor": CanvasEditor; "feedback-button": FeedbackButton; "feedback-modal": FeedbackModal; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "canvas-editor": LocalJSX.CanvasEditor & JSXBase.HTMLAttributes; "feedback-button": LocalJSX.FeedbackButton & JSXBase.HTMLAttributes; "feedback-modal": LocalJSX.FeedbackModal & JSXBase.HTMLAttributes; } } }