/** * @license * Copyright 2022 Superflow.dev * SPDX-License-Identifier: MIT */ import { LitElement, PropertyValueMap } from 'lit'; import { DataObject, AddButtonObject } from './dataObjects'; /** * SfIReporting element. * @fires renderComplete - When the list is populated * @fires valueChanged - When the value is changed * @property apiId - backend api id * @property label - input label * @property name - name of the input * @property mode - mode of operation * @property selectedId - id to preselect * @property selectedValue - callback function */ export declare class SfIReporting extends LitElement { apiId: string; apiIdUploader: string; projectid: string; projectname: string; configjson: string; getConfigJson: () => any; prepopulateValJson: string; getPrepopulateJson: () => any; mode: string; flow: string; name: string; ignoreprojections: string; editdisable: string; showterminate: string; getIgnoreProjections: () => any; usermap: string; getUserMap: () => any; formviewclass: string; disableocr: string; dataModel: any[]; list: any[]; published: boolean; terminated: boolean; lastCalendarGenerated: string; nextCalendarScheduled: string; selectedItem: any; selectedItemIds: any; reopenedItem: any; static styles: import("lit").CSSResult; _SfRowError: any; _SfRowErrorMessage: any; _SfRowSuccess: any; _SfRowSuccessMessage: any; _SfRowNotif: any; _SfRowNotifMessage: any; _SfLoader: any; _SfIReportingC: any; _SfIReportingCCopy: any; _SfReportingContainer: any; _SfReportingContainerShort: any; _SfReportingButtonSubmit: any; _SfReportingButtonSubmitConfirm: any; _SfReportingButtonSubmitCancel: any; _SfReportingButtonEdit: any; _SfReportingButtonEditCancel: any; _SfReportingButtonDelete: any; _SfReportingButtonDeleteCancel: any; _SfReportingButtonDeleteConfirm: any; _SfReportingButtonNew: any; _SfReportingButtonBack: any; _SfDecryptContainer: any; _SfDecryptProjectInput: any; _SfDecryptFileInput: any; _SfDecryptButton: any; decryptProjectId: string; decryptFileName: string; constructor(); truncate: (str: string, n: number, useWordBoundary: boolean) => string; selectedValues: () => { [key: string]: any; }; submitClick: () => void; submitCancelClick: () => void; submitConfirmClick: () => void; editClick: () => void; editCancelClick: () => void; publishClick: () => void; newClick: () => void; backClick: () => void; deleteClick: () => void; deleteCancelClick: () => void; deleteConfirmClick: () => void; getSchema: () => any; getBricksValues: (element: DataObject, selectedValues?: string[]) => any[][]; initListeners: () => void; initListListeners: () => void; initNewListeners: () => void; initDetailsListeners: () => void; initEditListeners: () => void; populateDataModel: () => void; populateView: (scrollTopTarget?: number) => Promise; populateHistory: () => void; prepopulateValues: (showView?: boolean) => void; evalShowProgress: () => void; evalTimeout: any; initInputListeners: () => void; checkDependencies: (id: string) => Promise; updateShortlistedSearchPhrases: (id: string) => void; initSectionListeners: () => void; renderAddSection: (addObj: AddButtonObject, iter: number) => string; renderSectionContainer: (addObj: AddButtonObject) => string; renderAddButton: (addObj: AddButtonObject) => string; renderElement: (dataObj: DataObject) => string; populateViewShort: () => void; populateList: () => void; csvToJson: (file: File) => Promise; loadMode: () => Promise; prepareXhrPresignedGet: (url: string, loaderElement: any, loaderText?: string) => Promise; prepareXhrPresignedDelete: (url: string, loaderElement: any, loaderText?: string) => Promise; prepareXhr: (data: any, url: string, loaderElement: any, authorization: any) => Promise; fetchPresignedUrl: (url: string) => Promise; fetchPresignedUrlDelete: (url: string) => Promise; clearMessages: () => void; setError: (msg: string) => void; setSuccess: (msg: string) => void; setNotif: (msg: string) => void; fetchSchema: () => Promise; fetchList: () => Promise; fetchDetails: () => Promise; submitNew: (obj?: any) => Promise; submitEdit: () => Promise; submitDelete: () => Promise; submitPublish: () => Promise; initDecryptView: () => void; initDecryptListeners: () => void; evalDecrypt: () => void; submitDecrypt: () => Promise; showLoader: () => Promise; hideLoader: () => Promise; protected firstUpdated(_changedProperties: PropertyValueMap | Map): void; connectedCallback(): void; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'sf-i-reporting': SfIReporting; } } //# sourceMappingURL=sf-i-reporting.d.ts.map