/* 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 { ChartDataset, ChartTypeRegistry, TooltipLabelStyle } from "chart.js"; import { Color, SelectCompareFn, SelectInterface, TextFieldTypes } from "@ionic/core"; import { FunctionalComponent } from "./stencil-public-runtime"; import { Control } from "./components/renderer"; import { filterControl } from "./typings"; export namespace Components { interface FireenjinAvatar { "fallback": string; "initials": string; "size": string; "src": string; } interface FireenjinForm { /** * The action to use for the form */ "action": string; "apiUrl": string; /** * A method that runs before form submission to allow editing of formData */ "beforeSubmit": (data: any, options?: any) => Promise; "checkFormValidity": (reportValidity?: boolean) => Promise; /** * Confirm leaving the page when the form is filled */ "confirmExit": boolean; /** * Should the enter button binding be disabled */ "disableEnterButton": boolean; /** * Should the form disable the loader on submit */ "disableLoader": boolean; /** * Should the form disable reset */ "disableReset": boolean; /** * The id of the document being edited */ "documentId": string; /** * The endpoint that form submission should link to */ "endpoint": string; /** * The data to exclude from the form submit event */ "excludeData": string[]; /** * The data map to find */ "findDataMap": any; /** * The endpoint to get data to fill the form */ "findEndpoint": string; /** * The form params */ "findParams": any; /** * The data from the form being filled out */ "formData": any; /** * Has the form fields been changed */ "hasChanged": boolean; /** * Should the form controls be hidden? */ "hideControls": boolean; /** * Is the component currently loading */ "loading": boolean; /** * The HTTP method to use when submitting the form */ "method": string; /** * The name of the form used for ID and name */ "name": string; "reportFormValidity": () => Promise; /** * Emit fireenjinReset event with form data * @param event The form reset event */ "reset": (event?: any) => Promise; /** * What the reset button says */ "resetButton": string; /** * What color the reset button is */ "resetButtonColor": string; /** * What fill option to use for the reset button */ "resetButtonFill": "clear" | "outline" | "solid" | "default"; "setFormData": (data: any) => Promise; "setLoading": (value: boolean) => Promise; /** * Emit fireenjinSubmit event with form data * @param event The form submit event */ "submit": (event?: any, options?: { manual: boolean; }) => Promise; /** * What the save button says */ "submitButton": string; /** * What color the submit button is */ "submitButtonColor": string; /** * What fill option to use for the submit button */ "submitButtonFill": "clear" | "outline" | "solid" | "default"; } interface FireenjinGraph { /** * The dataset to render graph with */ "datasets": ChartDataset[]; /** * The labels for the graph */ "labels": string[]; /** * The title of the graph */ "name": string; /** * Refresh the graph */ "refresh": () => Promise; /** * Destroy the ChartJS instance and reset chart on state */ "removeChart": () => Promise; /** * Set the list datasets for the graph * @param datasets The datasets to render */ "setDatasets": (datasets: ChartDataset[]) => Promise; /** * Set the list labels for the graph * @param labels The labels for the graph */ "setLabels": (labels: string[]) => Promise; /** * The type of graph to generate */ "type": keyof ChartTypeRegistry; } interface FireenjinInput { "actionOptions": any; "autocapitalize": string; "autocomplete": "on" | "off"; "autocorrect": "on" | "off"; "autofocus": boolean; "checkValidity": (options?: { setValidationClass?: boolean; validationClassOptions?: { ignoreInvalid?: boolean; }; }) => Promise; "clear": () => Promise; "clearInput": boolean; "disabled": boolean; "edit": boolean; "getCardToken": (options?: { name?: string; address_line1?: string; address_line2?: string; address_city?: string; address_state?: string; address_zip?: string; address_country?: string; currency?: string; }) => Promise; "iconLeft": string; "iconRight": string; "info": string; "inputMode": string; "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines": "full" | "inset" | "none"; "max": string; "maxlength": number; "min": string; "minlength": number; "multiple": boolean; "name": string; "pattern": any; "placeholder": any; "readOnly": boolean; "reportValidity": () => Promise; "required": any; "setFocus": () => Promise; "silence": boolean; "spellCheck": boolean; "step": string; "stripeElements": { style?: any; fonts?: any[]; }; "stripeKey": string; "type": any; "value": any; } interface FireenjinInputAddress { /** * The Google Maps API Key */ "googleMapsKey": string; /** * The label of the input field */ "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines": "full" | "inset" | "none"; /** * The name attribute of the input */ "name": string; /** * The placeholder text for the input field */ "placeholder": string; /** * Whether the address input is required */ "required": boolean; /** * The value of the input field */ "value": any; } interface FireenjinInputAmount { "autofocus": boolean; "decimal": boolean; "disabled": boolean; "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines": "full" | "inset" | "none"; "max": string; "min": string; "name": string; "placeholder": string; "presets": ({ label?: string; value: any } | string)[]; "required": boolean; "step": string; "value": any; } interface FireenjinInputFile { "accept"?: string; "defaultValue": any; "documentId": string; /** * The endpoint to upload to */ "endpoint": string; "fileName": string; "icon": string; "label": string; "name"?: string; "openFile": () => Promise; "path": string; "type": string; "uploadData": any; "value": any; } interface FireenjinInputJson { "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines": "full" | "inset" | "none"; "name": string; "value": any; } interface FireenjinInputPhoto { /** * Text to display on the photo upload button */ "buttonText": string; /** * Is the uploader disabled */ "disabled": boolean; /** * The ID of the document the photo is tied to */ "documentId": string; /** * The endpoint to upload to */ "endpoint": string; /** * The fallback image to use if photo isn't set */ "fallback": string; /** * The filename to use for the uploaded file */ "fileName"?: string; "initials": string; "loading": boolean; /** * Allow uploading multiple */ "multiple": boolean; /** * The name to use when emitting field change event */ "name"?: string; /** * The storage path to upload the file to */ "path": string; /** * Resize photos before uploading */ "resize": boolean; /** * Should the photo uploader show the button */ "showButton": boolean; "triggerFileInput": (_event: any) => Promise; /** * The type of photo being uploaded */ "type": string; /** * A link to the photo to display */ "value": string; } interface FireenjinInputSearch { "autofocus": boolean; "checkValidity": (options?: { setValidationClass?: boolean; validationClassOptions?: { ignoreInvalid?: boolean; }; }) => Promise; "clearResults": () => Promise; "closePopover": () => Promise; "dataPropsMap": any; "disableSearch": boolean; "disabled": boolean; "endpoint": string; "iconEnd": string; "iconStart": string; "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines": "full" | "inset" | "none"; "mode": "popover" | "inline"; "name": string; "openPopover": () => Promise; "placeholder": string; "reportValidity": () => Promise; "required": boolean; "results": any[]; "resultsKey": string; "searchParams": any; "template": (result) => any; "type": TextFieldTypes; "value": any; } interface FireenjinInputSearchPopover { "name": string; "results": any; "template": (result) => any; } interface FireenjinInputSearchUser { "autofocus": boolean; "dataPropsMap": any; "disableSearch": boolean; "disabled": boolean; "endpoint": string; "iconEnd": string; "iconStart": string; "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "limit": number; "lines": "full" | "inset" | "none"; "mode": "popover" | "inline"; "name": string; "placeholder": string; "required": boolean; "results": any[]; "template": (result) => any; "value": any; } interface FireenjinInputState { "name": string; "placeholder": string; "value": string; } interface FireenjinJsonEditor { "editorOptions": any; "get": () => Promise; "label": string; "mode": "tree" | "code"; "modes": ("code" | "form" | "text" | "tree" | "view" | "preview")[]; "name": string; "set": (value: any) => Promise; "value": any; } interface FireenjinJsonViewer { "formatStringJSON": (str: string) => Promise; "openDepth": number; "watcher": boolean; } interface FireenjinKanban { "options": any; } interface FireenjinLogItem { "createdAt": string; "input": string; "lines": "full" | "inset" | "none"; "name": string; "output": string; "resolveTime": number; "type": string; } interface FireenjinMap { /** * Add a marker to the map * @param location The location information for the marker on the map */ "addMarker": (location: { position: { lat: number; lng: number; }; name: string; icon: string; payload?: any; }) => Promise; /** * The Google Maps API Key */ "apiKey": string; /** * Clear the markers off of the map */ "clearMarkers": () => Promise; /** * A list of markers to put onto the map */ "markers": { position: { lat: number; lng: number; }; name: string; icon: string; payload?: any; }[]; /** * Google Maps options */ "optins": any; "setCenter": (latLng: google.maps.LatLng | google.maps.LatLngLiteral) => Promise; /** * Set the list of map markers * @param markers A list of map markers */ "setMarkers": (markers?: { position: { lat: number; lng: number; }; name: string; icon: string; payload?: any; }[]) => Promise<{ position: { lat: number; lng: number; }; name: string; icon: string; payload?: any; }[]>; "setZoom": (level: number) => Promise; /** * Should the map be visible? */ "visible": boolean; } interface FireenjinPagination { "addResults": (results?: any[]) => Promise; "approxItemHeight": number; "clearParamData": (key?: string) => Promise<{ query?: string; limit?: number; orderBy?: string; orderDirection?: "asc" | "desc"; whereEqual?: string; whereLessThan?: string; whereLessThanOrEqual?: string; whereGreaterThan?: string; whereGreaterThanOrEqual?: string; whereArrayContains?: string; whereArrayContainsAny?: string; whereIn?: string; next?: string; back?: string; }>; "clearResults": () => Promise; "collection": string; "dataPropsMap": any; "disableFetch": boolean; "disablePageCheck": boolean; "disableVirtualScroll": boolean; "display": "list" | "grid"; "endpoint"?: string; "fetchData"?: any; "fetchParams": any; "getResults": (options?: { page?: number; next?: boolean; limit?: number; paramData?: any; }) => Promise; "gridEl": FunctionalComponent; "groupBy": string; "limit"?: number; "listEl": FunctionalComponent; "loadingSpinner": string; "loadingText": string; "name": string; "orderBy"?: string; "orderDirection"?: string; "page"?: number; "pageCountKey": string; "pageKey": string; "query"?: string; "removeDuplicates": boolean; "renderItem": (item: any, i: number) => any; "resultCountKey": string; "results": any[]; "resultsKey": string; } interface FireenjinPopoverFilter { "controls": Control[]; "label": string; } interface FireenjinProgressCircle { /** * The percent value of progress filled between 0 and 100 */ "percent": number; /** * The radius size of the circle in pixels */ "radius": number; /** * The stroke thickness of the progress bar */ "stroke": number; } interface FireenjinRadios { "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines": "full" | "inset" | "none"; "name": string; "options": any; "required": any; "selected": number; "value": any; } interface FireenjinRenderTemplate { "data": any; "partials": {id: string; html: string;}[]; "renderTemplate": () => Promise; "setPartials": (partials?: { id: string; html: string; }[]) => Promise; "template": any; "templateId": string; } interface FireenjinRenderer { } interface FireenjinResizer { /** * The resize direction */ "direction": 'top' | 'right' | 'bottom' | 'left' | 'topRight' | 'bottomRight' | 'bottomLeft' | 'topLeft'; /** * The styles to replace */ "replaceStyles"?: any; /** * A callback fired when resize starts */ "resizeStart": ( e: any, dir: 'top' | 'right' | 'bottom' | 'left' | 'topRight' | 'bottomRight' | 'bottomLeft' | 'topLeft', ) => void; } interface FireenjinSearchBar { "beforeGetResults": any; "clearFilter": (event: any, clearingControl: filterControl) => Promise; "disabled": boolean; "displayMode": "list" | "grid"; "filter"?: { label?: string; controls: filterControl[]; }; "modeToggle": boolean; "paginationEl": any; "showFilter": boolean; "sort"?: { label?: string; value?: string; header?: string; subHeader?: string; message?: string; options: { label: string; value: string; }[]; }; "togglePaginationDisplay": () => Promise; "updateCurrentFilters": () => Promise; } interface FireenjinSelect { /** * The text to display on the cancel button. */ "cancelText": string; /** * A property name or function used to compare object values */ "compareWith"?: string | SelectCompareFn | null; "dataPropsMap"?: any; /** * If `true`, the user cannot interact with the select. */ "disabled": boolean; "endpoint"?: string; "header"?: string; "icon"?: string; /** * The interface the select should use: `action-sheet`, `popover` or `alert`. */ "interface": SelectInterface; /** * Any additional options that the `alert`, `action-sheet` or `popover` interface can take. See the [ion-alert docs](../alert), the [ion-action-sheet docs](../action-sheet) and the [ion-popover docs](../popover) for the create options for each interface. Note: `interfaceOptions` will not override `inputs` or `buttons` with the `alert` interface. */ "interfaceOptions": any; "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "limit": number; "lines": "full" | "inset" | "none"; "message"?: string; /** * If `true`, the select can accept multiple values. */ "multiple": boolean; /** * The name of the control, which is submitted with the form data. */ "name": string; /** * The text to display on the ok button. */ "okText": string; "optionEl"?: (result: any) => HTMLIonSelectOptionElement; "options": { label?: string; value?: any; disabled?: boolean; payload?: any; }[]; "orderBy"?: string; "params"?: any; /** * The text to display when the select is empty. */ "placeholder"?: string | null; "query"?: string; "resultsKey"?: string; /** * The text to display instead of the selected option's value. */ "selectedText"?: string | null; "subHeader"?: string; /** * the value of the select. */ "value"?: any | null; } interface FireenjinSelectTags { "addResults": (results?: any[]) => Promise; "allowAdding": boolean; "clearParamData": (key?: string) => Promise<{ query?: string; limit?: number; orderBy?: string; orderDirection?: "asc" | "desc"; whereEqual?: string; whereLessThan?: string; whereLessThanOrEqual?: string; whereGreaterThan?: string; whereGreaterThanOrEqual?: string; whereArrayContains?: string; whereArrayContainsAny?: string; whereIn?: string; next?: string; back?: string; }>; "clearResults": () => Promise; "dataPropsMap": any; "disableFetch": boolean; "disabled": boolean; "duplicates": boolean; "endpoint": string; "fetchData"?: any; "getChoices": () => Promise; "getResults": (options?: { page?: number; next?: boolean; limit?: number; paramData?: any; }) => Promise; "label": any; "labelPosition"?: "stacked" | "fixed" | "floating"; "limit": number; "lines": "full" | "inset" | "none"; "multiple": boolean; "name": string; "options": { label: string; value: any }[]; "orderBy"?: string; "orderDirection"?: string; "page"?: number; "placeholder": string; "query"?: string; "required": boolean; "results": any[]; "resultsKey": string; "setValue": (value: any) => Promise; "value": any; } interface FireenjinShare { "facebookAppId": string; "lines": "full" | "inset" | "none"; "subject": string; "text": string; "url": string; } interface FireenjinStarRating { "disabled": boolean; "maxRating": number; "name": string; "setCurrentRating": (rating: any) => Promise; "value": string; } interface FireenjinTab { "selected": boolean; "tab": string; } interface FireenjinTabs { "hash": boolean; "selected": string; } interface FireenjinToggle { "color": Color; /** * If `true`, the user cannot interact with the select. */ "disabled": boolean; "label": string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines": "full" | "inset" | "none"; "name": string; "value": boolean; } } declare global { interface HTMLFireenjinAvatarElement extends Components.FireenjinAvatar, HTMLStencilElement { } var HTMLFireenjinAvatarElement: { prototype: HTMLFireenjinAvatarElement; new (): HTMLFireenjinAvatarElement; }; interface HTMLFireenjinFormElement extends Components.FireenjinForm, HTMLStencilElement { } var HTMLFireenjinFormElement: { prototype: HTMLFireenjinFormElement; new (): HTMLFireenjinFormElement; }; interface HTMLFireenjinGraphElement extends Components.FireenjinGraph, HTMLStencilElement { } var HTMLFireenjinGraphElement: { prototype: HTMLFireenjinGraphElement; new (): HTMLFireenjinGraphElement; }; interface HTMLFireenjinInputElement extends Components.FireenjinInput, HTMLStencilElement { } var HTMLFireenjinInputElement: { prototype: HTMLFireenjinInputElement; new (): HTMLFireenjinInputElement; }; interface HTMLFireenjinInputAddressElement extends Components.FireenjinInputAddress, HTMLStencilElement { } var HTMLFireenjinInputAddressElement: { prototype: HTMLFireenjinInputAddressElement; new (): HTMLFireenjinInputAddressElement; }; interface HTMLFireenjinInputAmountElement extends Components.FireenjinInputAmount, HTMLStencilElement { } var HTMLFireenjinInputAmountElement: { prototype: HTMLFireenjinInputAmountElement; new (): HTMLFireenjinInputAmountElement; }; interface HTMLFireenjinInputFileElement extends Components.FireenjinInputFile, HTMLStencilElement { } var HTMLFireenjinInputFileElement: { prototype: HTMLFireenjinInputFileElement; new (): HTMLFireenjinInputFileElement; }; interface HTMLFireenjinInputJsonElement extends Components.FireenjinInputJson, HTMLStencilElement { } var HTMLFireenjinInputJsonElement: { prototype: HTMLFireenjinInputJsonElement; new (): HTMLFireenjinInputJsonElement; }; interface HTMLFireenjinInputPhotoElement extends Components.FireenjinInputPhoto, HTMLStencilElement { } var HTMLFireenjinInputPhotoElement: { prototype: HTMLFireenjinInputPhotoElement; new (): HTMLFireenjinInputPhotoElement; }; interface HTMLFireenjinInputSearchElement extends Components.FireenjinInputSearch, HTMLStencilElement { } var HTMLFireenjinInputSearchElement: { prototype: HTMLFireenjinInputSearchElement; new (): HTMLFireenjinInputSearchElement; }; interface HTMLFireenjinInputSearchPopoverElement extends Components.FireenjinInputSearchPopover, HTMLStencilElement { } var HTMLFireenjinInputSearchPopoverElement: { prototype: HTMLFireenjinInputSearchPopoverElement; new (): HTMLFireenjinInputSearchPopoverElement; }; interface HTMLFireenjinInputSearchUserElement extends Components.FireenjinInputSearchUser, HTMLStencilElement { } var HTMLFireenjinInputSearchUserElement: { prototype: HTMLFireenjinInputSearchUserElement; new (): HTMLFireenjinInputSearchUserElement; }; interface HTMLFireenjinInputStateElement extends Components.FireenjinInputState, HTMLStencilElement { } var HTMLFireenjinInputStateElement: { prototype: HTMLFireenjinInputStateElement; new (): HTMLFireenjinInputStateElement; }; interface HTMLFireenjinJsonEditorElement extends Components.FireenjinJsonEditor, HTMLStencilElement { } var HTMLFireenjinJsonEditorElement: { prototype: HTMLFireenjinJsonEditorElement; new (): HTMLFireenjinJsonEditorElement; }; interface HTMLFireenjinJsonViewerElement extends Components.FireenjinJsonViewer, HTMLStencilElement { } var HTMLFireenjinJsonViewerElement: { prototype: HTMLFireenjinJsonViewerElement; new (): HTMLFireenjinJsonViewerElement; }; interface HTMLFireenjinKanbanElement extends Components.FireenjinKanban, HTMLStencilElement { } var HTMLFireenjinKanbanElement: { prototype: HTMLFireenjinKanbanElement; new (): HTMLFireenjinKanbanElement; }; interface HTMLFireenjinLogItemElement extends Components.FireenjinLogItem, HTMLStencilElement { } var HTMLFireenjinLogItemElement: { prototype: HTMLFireenjinLogItemElement; new (): HTMLFireenjinLogItemElement; }; interface HTMLFireenjinMapElement extends Components.FireenjinMap, HTMLStencilElement { } var HTMLFireenjinMapElement: { prototype: HTMLFireenjinMapElement; new (): HTMLFireenjinMapElement; }; interface HTMLFireenjinPaginationElement extends Components.FireenjinPagination, HTMLStencilElement { } var HTMLFireenjinPaginationElement: { prototype: HTMLFireenjinPaginationElement; new (): HTMLFireenjinPaginationElement; }; interface HTMLFireenjinPopoverFilterElement extends Components.FireenjinPopoverFilter, HTMLStencilElement { } var HTMLFireenjinPopoverFilterElement: { prototype: HTMLFireenjinPopoverFilterElement; new (): HTMLFireenjinPopoverFilterElement; }; interface HTMLFireenjinProgressCircleElement extends Components.FireenjinProgressCircle, HTMLStencilElement { } var HTMLFireenjinProgressCircleElement: { prototype: HTMLFireenjinProgressCircleElement; new (): HTMLFireenjinProgressCircleElement; }; interface HTMLFireenjinRadiosElement extends Components.FireenjinRadios, HTMLStencilElement { } var HTMLFireenjinRadiosElement: { prototype: HTMLFireenjinRadiosElement; new (): HTMLFireenjinRadiosElement; }; interface HTMLFireenjinRenderTemplateElement extends Components.FireenjinRenderTemplate, HTMLStencilElement { } var HTMLFireenjinRenderTemplateElement: { prototype: HTMLFireenjinRenderTemplateElement; new (): HTMLFireenjinRenderTemplateElement; }; interface HTMLFireenjinRendererElement extends Components.FireenjinRenderer, HTMLStencilElement { } var HTMLFireenjinRendererElement: { prototype: HTMLFireenjinRendererElement; new (): HTMLFireenjinRendererElement; }; interface HTMLFireenjinResizerElement extends Components.FireenjinResizer, HTMLStencilElement { } var HTMLFireenjinResizerElement: { prototype: HTMLFireenjinResizerElement; new (): HTMLFireenjinResizerElement; }; interface HTMLFireenjinSearchBarElement extends Components.FireenjinSearchBar, HTMLStencilElement { } var HTMLFireenjinSearchBarElement: { prototype: HTMLFireenjinSearchBarElement; new (): HTMLFireenjinSearchBarElement; }; interface HTMLFireenjinSelectElement extends Components.FireenjinSelect, HTMLStencilElement { } var HTMLFireenjinSelectElement: { prototype: HTMLFireenjinSelectElement; new (): HTMLFireenjinSelectElement; }; interface HTMLFireenjinSelectTagsElement extends Components.FireenjinSelectTags, HTMLStencilElement { } var HTMLFireenjinSelectTagsElement: { prototype: HTMLFireenjinSelectTagsElement; new (): HTMLFireenjinSelectTagsElement; }; interface HTMLFireenjinShareElement extends Components.FireenjinShare, HTMLStencilElement { } var HTMLFireenjinShareElement: { prototype: HTMLFireenjinShareElement; new (): HTMLFireenjinShareElement; }; interface HTMLFireenjinStarRatingElement extends Components.FireenjinStarRating, HTMLStencilElement { } var HTMLFireenjinStarRatingElement: { prototype: HTMLFireenjinStarRatingElement; new (): HTMLFireenjinStarRatingElement; }; interface HTMLFireenjinTabElement extends Components.FireenjinTab, HTMLStencilElement { } var HTMLFireenjinTabElement: { prototype: HTMLFireenjinTabElement; new (): HTMLFireenjinTabElement; }; interface HTMLFireenjinTabsElement extends Components.FireenjinTabs, HTMLStencilElement { } var HTMLFireenjinTabsElement: { prototype: HTMLFireenjinTabsElement; new (): HTMLFireenjinTabsElement; }; interface HTMLFireenjinToggleElement extends Components.FireenjinToggle, HTMLStencilElement { } var HTMLFireenjinToggleElement: { prototype: HTMLFireenjinToggleElement; new (): HTMLFireenjinToggleElement; }; interface HTMLElementTagNameMap { "fireenjin-avatar": HTMLFireenjinAvatarElement; "fireenjin-form": HTMLFireenjinFormElement; "fireenjin-graph": HTMLFireenjinGraphElement; "fireenjin-input": HTMLFireenjinInputElement; "fireenjin-input-address": HTMLFireenjinInputAddressElement; "fireenjin-input-amount": HTMLFireenjinInputAmountElement; "fireenjin-input-file": HTMLFireenjinInputFileElement; "fireenjin-input-json": HTMLFireenjinInputJsonElement; "fireenjin-input-photo": HTMLFireenjinInputPhotoElement; "fireenjin-input-search": HTMLFireenjinInputSearchElement; "fireenjin-input-search-popover": HTMLFireenjinInputSearchPopoverElement; "fireenjin-input-search-user": HTMLFireenjinInputSearchUserElement; "fireenjin-input-state": HTMLFireenjinInputStateElement; "fireenjin-json-editor": HTMLFireenjinJsonEditorElement; "fireenjin-json-viewer": HTMLFireenjinJsonViewerElement; "fireenjin-kanban": HTMLFireenjinKanbanElement; "fireenjin-log-item": HTMLFireenjinLogItemElement; "fireenjin-map": HTMLFireenjinMapElement; "fireenjin-pagination": HTMLFireenjinPaginationElement; "fireenjin-popover-filter": HTMLFireenjinPopoverFilterElement; "fireenjin-progress-circle": HTMLFireenjinProgressCircleElement; "fireenjin-radios": HTMLFireenjinRadiosElement; "fireenjin-render-template": HTMLFireenjinRenderTemplateElement; "fireenjin-renderer": HTMLFireenjinRendererElement; "fireenjin-resizer": HTMLFireenjinResizerElement; "fireenjin-search-bar": HTMLFireenjinSearchBarElement; "fireenjin-select": HTMLFireenjinSelectElement; "fireenjin-select-tags": HTMLFireenjinSelectTagsElement; "fireenjin-share": HTMLFireenjinShareElement; "fireenjin-star-rating": HTMLFireenjinStarRatingElement; "fireenjin-tab": HTMLFireenjinTabElement; "fireenjin-tabs": HTMLFireenjinTabsElement; "fireenjin-toggle": HTMLFireenjinToggleElement; } } declare namespace LocalJSX { interface FireenjinAvatar { "fallback"?: string; "initials"?: string; "size"?: string; "src"?: string; } interface FireenjinForm { /** * The action to use for the form */ "action"?: string; "apiUrl"?: string; /** * A method that runs before form submission to allow editing of formData */ "beforeSubmit"?: (data: any, options?: any) => Promise; /** * Confirm leaving the page when the form is filled */ "confirmExit"?: boolean; /** * Should the enter button binding be disabled */ "disableEnterButton"?: boolean; /** * Should the form disable the loader on submit */ "disableLoader"?: boolean; /** * Should the form disable reset */ "disableReset"?: boolean; /** * The id of the document being edited */ "documentId"?: string; /** * The endpoint that form submission should link to */ "endpoint"?: string; /** * The data to exclude from the form submit event */ "excludeData"?: string[]; /** * The data map to find */ "findDataMap"?: any; /** * The endpoint to get data to fill the form */ "findEndpoint"?: string; /** * The form params */ "findParams"?: any; /** * The data from the form being filled out */ "formData"?: any; /** * Has the form fields been changed */ "hasChanged"?: boolean; /** * Should the form controls be hidden? */ "hideControls"?: boolean; /** * Is the component currently loading */ "loading"?: boolean; /** * The HTTP method to use when submitting the form */ "method"?: string; /** * The name of the form used for ID and name */ "name"?: string; /** * Emitted on load with endpoint */ "onFireenjinFetch"?: (event: CustomEvent<{ event?; endpoint: string; params?: any; name?: string; }>) => void; /** * Emitted when the user resets the form */ "onFireenjinReset"?: (event: CustomEvent<{ event; id: string; endpoint: string; data: any; name: string; }>) => void; /** * Emitted when the user submits the form */ "onFireenjinSubmit"?: (event: CustomEvent<{ event; id: string; endpoint: string; data: any; name: string; }>) => void; /** * Emitted when a filed checks validation */ "onFireenjinValidation"?: (event: CustomEvent<{ event; isValid: boolean; name: string; }>) => void; /** * What the reset button says */ "resetButton"?: string; /** * What color the reset button is */ "resetButtonColor"?: string; /** * What fill option to use for the reset button */ "resetButtonFill"?: "clear" | "outline" | "solid" | "default"; /** * What the save button says */ "submitButton"?: string; /** * What color the submit button is */ "submitButtonColor"?: string; /** * What fill option to use for the submit button */ "submitButtonFill"?: "clear" | "outline" | "solid" | "default"; } interface FireenjinGraph { /** * The dataset to render graph with */ "datasets"?: ChartDataset[]; /** * The labels for the graph */ "labels"?: string[]; /** * The title of the graph */ "name"?: string; /** * Emitted when the graph is clicked */ "onFireenjinGraphClick"?: (event: CustomEvent<{ event; item?: any }>) => void; /** * Emitted when a tooltip is shown over the graph */ "onFireenjinGraphTooltip"?: (event: CustomEvent<{ event: { afterBody: any[]; backgroundColor: string; beforeBody: any[]; body: any[]; bodyFontColor: string; bodyFontSize: number; bodySpacing: number; borderColor: string; borderWidth: number; caretPadding: number; caretSize: number; caretX: number; caretY: number; cornerRadius: number; dataPoints: any[]; displayColors: boolean; footer: any[]; footerFontColor: string; footerFontSize: number; footerMarginTop: number; footerSpacing: number; height: number; labelStyle: TooltipLabelStyle; labelTextColors: string[]; legendBackgroundColor: string; opacity: number; title: string[]; titleFontColor: string; titleFontSize: number; titleMarinBottom: number; titleSpacing: number; width: number; x: number; xAlign: number; xPadding: number; y: number; yAlign: number; yPadding: number; }; }>) => void; /** * The type of graph to generate */ "type"?: keyof ChartTypeRegistry; } interface FireenjinInput { "actionOptions"?: any; "autocapitalize"?: string; "autocomplete"?: "on" | "off"; "autocorrect"?: "on" | "off"; "autofocus"?: boolean; "clearInput"?: boolean; "disabled"?: boolean; "edit"?: boolean; "iconLeft"?: string; "iconRight"?: string; "info"?: string; "inputMode"?: string; "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines"?: "full" | "inset" | "none"; "max"?: string; "maxlength"?: number; "min"?: string; "minlength"?: number; "multiple"?: boolean; "name"?: string; "onIonBlur"?: (event: CustomEvent) => void; "onIonChange"?: (event: CustomEvent) => void; "onIonFocus"?: (event: CustomEvent) => void; "onIonInput"?: (event: CustomEvent) => void; "pattern"?: any; "placeholder"?: any; "readOnly"?: boolean; "required"?: any; "silence"?: boolean; "spellCheck"?: boolean; "step"?: string; "stripeElements"?: { style?: any; fonts?: any[]; }; "stripeKey"?: string; "type"?: any; "value"?: any; } interface FireenjinInputAddress { /** * The Google Maps API Key */ "googleMapsKey"?: string; /** * The label of the input field */ "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines"?: "full" | "inset" | "none"; /** * The name attribute of the input */ "name"?: string; "onFireenjinAddressMode"?: (event: CustomEvent) => void; "onFireenjinUpdateAutoHeight"?: (event: CustomEvent) => void; "onIonInput"?: (event: CustomEvent) => void; /** * The placeholder text for the input field */ "placeholder"?: string; /** * Whether the address input is required */ "required"?: boolean; /** * The value of the input field */ "value"?: any; } interface FireenjinInputAmount { "autofocus"?: boolean; "decimal"?: boolean; "disabled"?: boolean; "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines"?: "full" | "inset" | "none"; "max"?: string; "min"?: string; "name"?: string; "onIonChange"?: (event: CustomEvent) => void; "onIonInput"?: (event: CustomEvent) => void; "placeholder"?: string; "presets"?: ({ label?: string; value: any } | string)[]; "required"?: boolean; "step"?: string; "value"?: any; } interface FireenjinInputFile { "accept"?: string; "defaultValue"?: any; "documentId"?: string; /** * The endpoint to upload to */ "endpoint"?: string; "fileName"?: string; "icon"?: string; "label"?: string; "name"?: string; "onFireenjinUpload"?: (event: CustomEvent) => void; "onIonInput"?: (event: CustomEvent) => void; "path"?: string; "type"?: string; "uploadData"?: any; "value"?: any; } interface FireenjinInputJson { "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines"?: "full" | "inset" | "none"; "name"?: string; "value"?: any; } interface FireenjinInputPhoto { /** * Text to display on the photo upload button */ "buttonText"?: string; /** * Is the uploader disabled */ "disabled"?: boolean; /** * The ID of the document the photo is tied to */ "documentId"?: string; /** * The endpoint to upload to */ "endpoint"?: string; /** * The fallback image to use if photo isn't set */ "fallback"?: string; /** * The filename to use for the uploaded file */ "fileName"?: string; "initials"?: string; "loading"?: boolean; /** * Allow uploading multiple */ "multiple"?: boolean; /** * The name to use when emitting field change event */ "name"?: string; "onFireenjinUpload"?: (event: CustomEvent) => void; "onIonInput"?: (event: CustomEvent) => void; /** * The storage path to upload the file to */ "path"?: string; /** * Resize photos before uploading */ "resize"?: boolean; /** * Should the photo uploader show the button */ "showButton"?: boolean; /** * The type of photo being uploaded */ "type"?: string; /** * A link to the photo to display */ "value"?: string; } interface FireenjinInputSearch { "autofocus"?: boolean; "dataPropsMap"?: any; "disableSearch"?: boolean; "disabled"?: boolean; "endpoint"?: string; "iconEnd"?: string; "iconStart"?: string; "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines"?: "full" | "inset" | "none"; "mode"?: "popover" | "inline"; "name"?: string; "onFireenjinFetch"?: (event: CustomEvent) => void; "onIonInput"?: (event: CustomEvent) => void; "placeholder"?: string; "required"?: boolean; "results"?: any[]; "resultsKey"?: string; "searchParams"?: any; "template"?: (result) => any; "type"?: TextFieldTypes; "value"?: any; } interface FireenjinInputSearchPopover { "name"?: string; "results"?: any; "template"?: (result) => any; } interface FireenjinInputSearchUser { "autofocus"?: boolean; "dataPropsMap"?: any; "disableSearch"?: boolean; "disabled"?: boolean; "endpoint"?: string; "iconEnd"?: string; "iconStart"?: string; "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "limit"?: number; "lines"?: "full" | "inset" | "none"; "mode"?: "popover" | "inline"; "name"?: string; "onFireenjinSelectUser"?: (event: CustomEvent) => void; "onIonInput"?: (event: CustomEvent) => void; "placeholder"?: string; "required"?: boolean; "results"?: any[]; "template"?: (result) => any; "value"?: any; } interface FireenjinInputState { "name"?: string; "placeholder"?: string; "value"?: string; } interface FireenjinJsonEditor { "editorOptions"?: any; "label"?: string; "mode"?: "tree" | "code"; "modes"?: ("code" | "form" | "text" | "tree" | "view" | "preview")[]; "name"?: string; "onIonChange"?: (event: CustomEvent) => void; "onIonInput"?: (event: CustomEvent) => void; "value"?: any; } interface FireenjinJsonViewer { "openDepth"?: number; "watcher"?: boolean; } interface FireenjinKanban { "options"?: any; } interface FireenjinLogItem { "createdAt"?: string; "input"?: string; "lines"?: "full" | "inset" | "none"; "name"?: string; "output"?: string; "resolveTime"?: number; "type"?: string; } interface FireenjinMap { /** * The Google Maps API Key */ "apiKey"?: string; /** * A list of markers to put onto the map */ "markers"?: { position: { lat: number; lng: number; }; name: string; icon: string; payload?: any; }[]; /** * When a marker on the map is clicked */ "onFireenjinTrigger"?: (event: CustomEvent<{ trigger: string; payload: { marker: google.maps.Marker; location: { position: { lat: number; lng: number; }; name: string; icon: string; payload?: any; }; } }>) => void; /** * Google Maps options */ "optins"?: any; /** * Should the map be visible? */ "visible"?: boolean; } interface FireenjinPagination { "approxItemHeight"?: number; "collection"?: string; "dataPropsMap"?: any; "disableFetch"?: boolean; "disablePageCheck"?: boolean; "disableVirtualScroll"?: boolean; "display"?: "list" | "grid"; "endpoint"?: string; "fetchData"?: any; "fetchParams"?: any; "gridEl"?: FunctionalComponent; "groupBy"?: string; "limit"?: number; "listEl"?: FunctionalComponent; "loadingSpinner"?: string; "loadingText"?: string; "name"?: string; "onFireenjinFetch"?: (event: CustomEvent) => void; "orderBy"?: string; "orderDirection"?: string; "page"?: number; "pageCountKey"?: string; "pageKey"?: string; "query"?: string; "removeDuplicates"?: boolean; "renderItem"?: (item: any, i: number) => any; "resultCountKey"?: string; "results"?: any[]; "resultsKey"?: string; } interface FireenjinPopoverFilter { "controls"?: Control[]; "label"?: string; } interface FireenjinProgressCircle { /** * The percent value of progress filled between 0 and 100 */ "percent"?: number; /** * The radius size of the circle in pixels */ "radius"?: number; /** * The stroke thickness of the progress bar */ "stroke"?: number; } interface FireenjinRadios { "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines"?: "full" | "inset" | "none"; "name"?: string; "onIonChange"?: (event: CustomEvent) => void; "options"?: any; "required"?: any; "selected"?: number; "value"?: any; } interface FireenjinRenderTemplate { "data"?: any; "onFireenjinFetch"?: (event: CustomEvent) => void; "partials"?: {id: string; html: string;}[]; "template"?: any; "templateId"?: string; } interface FireenjinRenderer { } interface FireenjinResizer { /** * The resize direction */ "direction"?: 'top' | 'right' | 'bottom' | 'left' | 'topRight' | 'bottomRight' | 'bottomLeft' | 'topLeft'; /** * The styles to replace */ "replaceStyles"?: any; /** * A callback fired when resize starts */ "resizeStart"?: ( e: any, dir: 'top' | 'right' | 'bottom' | 'left' | 'topRight' | 'bottomRight' | 'bottomLeft' | 'topLeft', ) => void; } interface FireenjinSearchBar { "beforeGetResults"?: any; "disabled"?: boolean; "displayMode"?: "list" | "grid"; "filter"?: { label?: string; controls: filterControl[]; }; "modeToggle"?: boolean; "onFireenjinTrigger"?: (event: CustomEvent) => void; "paginationEl"?: any; "showFilter"?: boolean; "sort"?: { label?: string; value?: string; header?: string; subHeader?: string; message?: string; options: { label: string; value: string; }[]; }; } interface FireenjinSelect { /** * The text to display on the cancel button. */ "cancelText"?: string; /** * A property name or function used to compare object values */ "compareWith"?: string | SelectCompareFn | null; "dataPropsMap"?: any; /** * If `true`, the user cannot interact with the select. */ "disabled"?: boolean; "endpoint"?: string; "header"?: string; "icon"?: string; /** * The interface the select should use: `action-sheet`, `popover` or `alert`. */ "interface"?: SelectInterface; /** * Any additional options that the `alert`, `action-sheet` or `popover` interface can take. See the [ion-alert docs](../alert), the [ion-action-sheet docs](../action-sheet) and the [ion-popover docs](../popover) for the create options for each interface. Note: `interfaceOptions` will not override `inputs` or `buttons` with the `alert` interface. */ "interfaceOptions"?: any; "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "limit"?: number; "lines"?: "full" | "inset" | "none"; "message"?: string; /** * If `true`, the select can accept multiple values. */ "multiple"?: boolean; /** * The name of the control, which is submitted with the form data. */ "name"?: string; /** * The text to display on the ok button. */ "okText"?: string; "onFireenjinFetch"?: (event: CustomEvent) => void; "optionEl"?: (result: any) => HTMLIonSelectOptionElement; "options"?: { label?: string; value?: any; disabled?: boolean; payload?: any; }[]; "orderBy"?: string; "params"?: any; /** * The text to display when the select is empty. */ "placeholder"?: string | null; "query"?: string; "resultsKey"?: string; /** * The text to display instead of the selected option's value. */ "selectedText"?: string | null; "subHeader"?: string; /** * the value of the select. */ "value"?: any | null; } interface FireenjinSelectTags { "allowAdding"?: boolean; "dataPropsMap"?: any; "disableFetch"?: boolean; "disabled"?: boolean; "duplicates"?: boolean; "endpoint"?: string; "fetchData"?: any; "label"?: any; "labelPosition"?: "stacked" | "fixed" | "floating"; "limit"?: number; "lines"?: "full" | "inset" | "none"; "multiple"?: boolean; "name"?: string; "onFireenjinFetch"?: (event: CustomEvent) => void; "onIonChange"?: (event: CustomEvent<{ event; name: string; value: any; }>) => void; "options"?: { label: string; value: any }[]; "orderBy"?: string; "orderDirection"?: string; "page"?: number; "placeholder"?: string; "query"?: string; "required"?: boolean; "results"?: any[]; "resultsKey"?: string; "value"?: any; } interface FireenjinShare { "facebookAppId"?: string; "lines"?: "full" | "inset" | "none"; "onFireenjinShareClose"?: (event: CustomEvent) => void; "subject"?: string; "text"?: string; "url"?: string; } interface FireenjinStarRating { "disabled"?: boolean; "maxRating"?: number; "name"?: string; "onFireenjinStarRating"?: (event: CustomEvent) => void; "value"?: string; } interface FireenjinTab { "selected"?: boolean; "tab"?: string; } interface FireenjinTabs { "hash"?: boolean; "onFireenjinTabChange"?: (event: CustomEvent) => void; "selected"?: string; } interface FireenjinToggle { "color"?: Color; /** * If `true`, the user cannot interact with the select. */ "disabled"?: boolean; "label"?: string; "labelPosition"?: "stacked" | "fixed" | "floating"; "lines"?: "full" | "inset" | "none"; "name"?: string; "value"?: boolean; } interface IntrinsicElements { "fireenjin-avatar": FireenjinAvatar; "fireenjin-form": FireenjinForm; "fireenjin-graph": FireenjinGraph; "fireenjin-input": FireenjinInput; "fireenjin-input-address": FireenjinInputAddress; "fireenjin-input-amount": FireenjinInputAmount; "fireenjin-input-file": FireenjinInputFile; "fireenjin-input-json": FireenjinInputJson; "fireenjin-input-photo": FireenjinInputPhoto; "fireenjin-input-search": FireenjinInputSearch; "fireenjin-input-search-popover": FireenjinInputSearchPopover; "fireenjin-input-search-user": FireenjinInputSearchUser; "fireenjin-input-state": FireenjinInputState; "fireenjin-json-editor": FireenjinJsonEditor; "fireenjin-json-viewer": FireenjinJsonViewer; "fireenjin-kanban": FireenjinKanban; "fireenjin-log-item": FireenjinLogItem; "fireenjin-map": FireenjinMap; "fireenjin-pagination": FireenjinPagination; "fireenjin-popover-filter": FireenjinPopoverFilter; "fireenjin-progress-circle": FireenjinProgressCircle; "fireenjin-radios": FireenjinRadios; "fireenjin-render-template": FireenjinRenderTemplate; "fireenjin-renderer": FireenjinRenderer; "fireenjin-resizer": FireenjinResizer; "fireenjin-search-bar": FireenjinSearchBar; "fireenjin-select": FireenjinSelect; "fireenjin-select-tags": FireenjinSelectTags; "fireenjin-share": FireenjinShare; "fireenjin-star-rating": FireenjinStarRating; "fireenjin-tab": FireenjinTab; "fireenjin-tabs": FireenjinTabs; "fireenjin-toggle": FireenjinToggle; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "fireenjin-avatar": LocalJSX.FireenjinAvatar & JSXBase.HTMLAttributes; "fireenjin-form": LocalJSX.FireenjinForm & JSXBase.HTMLAttributes; "fireenjin-graph": LocalJSX.FireenjinGraph & JSXBase.HTMLAttributes; "fireenjin-input": LocalJSX.FireenjinInput & JSXBase.HTMLAttributes; "fireenjin-input-address": LocalJSX.FireenjinInputAddress & JSXBase.HTMLAttributes; "fireenjin-input-amount": LocalJSX.FireenjinInputAmount & JSXBase.HTMLAttributes; "fireenjin-input-file": LocalJSX.FireenjinInputFile & JSXBase.HTMLAttributes; "fireenjin-input-json": LocalJSX.FireenjinInputJson & JSXBase.HTMLAttributes; "fireenjin-input-photo": LocalJSX.FireenjinInputPhoto & JSXBase.HTMLAttributes; "fireenjin-input-search": LocalJSX.FireenjinInputSearch & JSXBase.HTMLAttributes; "fireenjin-input-search-popover": LocalJSX.FireenjinInputSearchPopover & JSXBase.HTMLAttributes; "fireenjin-input-search-user": LocalJSX.FireenjinInputSearchUser & JSXBase.HTMLAttributes; "fireenjin-input-state": LocalJSX.FireenjinInputState & JSXBase.HTMLAttributes; "fireenjin-json-editor": LocalJSX.FireenjinJsonEditor & JSXBase.HTMLAttributes; "fireenjin-json-viewer": LocalJSX.FireenjinJsonViewer & JSXBase.HTMLAttributes; "fireenjin-kanban": LocalJSX.FireenjinKanban & JSXBase.HTMLAttributes; "fireenjin-log-item": LocalJSX.FireenjinLogItem & JSXBase.HTMLAttributes; "fireenjin-map": LocalJSX.FireenjinMap & JSXBase.HTMLAttributes; "fireenjin-pagination": LocalJSX.FireenjinPagination & JSXBase.HTMLAttributes; "fireenjin-popover-filter": LocalJSX.FireenjinPopoverFilter & JSXBase.HTMLAttributes; "fireenjin-progress-circle": LocalJSX.FireenjinProgressCircle & JSXBase.HTMLAttributes; "fireenjin-radios": LocalJSX.FireenjinRadios & JSXBase.HTMLAttributes; "fireenjin-render-template": LocalJSX.FireenjinRenderTemplate & JSXBase.HTMLAttributes; "fireenjin-renderer": LocalJSX.FireenjinRenderer & JSXBase.HTMLAttributes; "fireenjin-resizer": LocalJSX.FireenjinResizer & JSXBase.HTMLAttributes; "fireenjin-search-bar": LocalJSX.FireenjinSearchBar & JSXBase.HTMLAttributes; "fireenjin-select": LocalJSX.FireenjinSelect & JSXBase.HTMLAttributes; "fireenjin-select-tags": LocalJSX.FireenjinSelectTags & JSXBase.HTMLAttributes; "fireenjin-share": LocalJSX.FireenjinShare & JSXBase.HTMLAttributes; "fireenjin-star-rating": LocalJSX.FireenjinStarRating & JSXBase.HTMLAttributes; "fireenjin-tab": LocalJSX.FireenjinTab & JSXBase.HTMLAttributes; "fireenjin-tabs": LocalJSX.FireenjinTabs & JSXBase.HTMLAttributes; "fireenjin-toggle": LocalJSX.FireenjinToggle & JSXBase.HTMLAttributes; } } }