/* ElsaWorkflowsStudio custom elements bundle */ import type { Components, JSX } from "../types/components"; interface ElsaActivityEditorModal extends Components.ElsaActivityEditorModal, HTMLElement {} export const ElsaActivityEditorModal: { prototype: ElsaActivityEditorModal; new (): ElsaActivityEditorModal; }; interface ElsaActivityPickerModal extends Components.ElsaActivityPickerModal, HTMLElement {} export const ElsaActivityPickerModal: { prototype: ElsaActivityPickerModal; new (): ElsaActivityPickerModal; }; interface ElsaCheckListProperty extends Components.ElsaCheckListProperty, HTMLElement {} export const ElsaCheckListProperty: { prototype: ElsaCheckListProperty; new (): ElsaCheckListProperty; }; interface ElsaCheckboxProperty extends Components.ElsaCheckboxProperty, HTMLElement {} export const ElsaCheckboxProperty: { prototype: ElsaCheckboxProperty; new (): ElsaCheckboxProperty; }; interface ElsaConfirmDialog extends Components.ElsaConfirmDialog, HTMLElement {} export const ElsaConfirmDialog: { prototype: ElsaConfirmDialog; new (): ElsaConfirmDialog; }; interface ElsaContextMenu extends Components.ElsaContextMenu, HTMLElement {} export const ElsaContextMenu: { prototype: ElsaContextMenu; new (): ElsaContextMenu; }; interface ElsaControl extends Components.ElsaControl, HTMLElement {} export const ElsaControl: { prototype: ElsaControl; new (): ElsaControl; }; interface ElsaCopyButton extends Components.ElsaCopyButton, HTMLElement {} export const ElsaCopyButton: { prototype: ElsaCopyButton; new (): ElsaCopyButton; }; interface ElsaCronExpressionProperty extends Components.ElsaCronExpressionProperty, HTMLElement {} export const ElsaCronExpressionProperty: { prototype: ElsaCronExpressionProperty; new (): ElsaCronExpressionProperty; }; interface ElsaDesignerPanel extends Components.ElsaDesignerPanel, HTMLElement {} export const ElsaDesignerPanel: { prototype: ElsaDesignerPanel; new (): ElsaDesignerPanel; }; interface ElsaDesignerTree extends Components.ElsaDesignerTree, HTMLElement {} export const ElsaDesignerTree: { prototype: ElsaDesignerTree; new (): ElsaDesignerTree; }; interface ElsaDictionaryProperty extends Components.ElsaDictionaryProperty, HTMLElement {} export const ElsaDictionaryProperty: { prototype: ElsaDictionaryProperty; new (): ElsaDictionaryProperty; }; interface ElsaDropdownButton extends Components.ElsaDropdownButton, HTMLElement {} export const ElsaDropdownButton: { prototype: ElsaDropdownButton; new (): ElsaDropdownButton; }; interface ElsaDropdownProperty extends Components.ElsaDropdownProperty, HTMLElement {} export const ElsaDropdownProperty: { prototype: ElsaDropdownProperty; new (): ElsaDropdownProperty; }; interface ElsaExpressionEditor extends Components.ElsaExpressionEditor, HTMLElement {} export const ElsaExpressionEditor: { prototype: ElsaExpressionEditor; new (): ElsaExpressionEditor; }; interface ElsaFlyoutPanel extends Components.ElsaFlyoutPanel, HTMLElement {} export const ElsaFlyoutPanel: { prototype: ElsaFlyoutPanel; new (): ElsaFlyoutPanel; }; interface ElsaInputTags extends Components.ElsaInputTags, HTMLElement {} export const ElsaInputTags: { prototype: ElsaInputTags; new (): ElsaInputTags; }; interface ElsaInputTagsDropdown extends Components.ElsaInputTagsDropdown, HTMLElement {} export const ElsaInputTagsDropdown: { prototype: ElsaInputTagsDropdown; new (): ElsaInputTagsDropdown; }; interface ElsaJsonProperty extends Components.ElsaJsonProperty, HTMLElement {} export const ElsaJsonProperty: { prototype: ElsaJsonProperty; new (): ElsaJsonProperty; }; interface ElsaModalDialog extends Components.ElsaModalDialog, HTMLElement {} export const ElsaModalDialog: { prototype: ElsaModalDialog; new (): ElsaModalDialog; }; interface ElsaMonaco extends Components.ElsaMonaco, HTMLElement {} export const ElsaMonaco: { prototype: ElsaMonaco; new (): ElsaMonaco; }; interface ElsaMultiExpressionEditor extends Components.ElsaMultiExpressionEditor, HTMLElement {} export const ElsaMultiExpressionEditor: { prototype: ElsaMultiExpressionEditor; new (): ElsaMultiExpressionEditor; }; interface ElsaMultiLineProperty extends Components.ElsaMultiLineProperty, HTMLElement {} export const ElsaMultiLineProperty: { prototype: ElsaMultiLineProperty; new (): ElsaMultiLineProperty; }; interface ElsaMultiTextProperty extends Components.ElsaMultiTextProperty, HTMLElement {} export const ElsaMultiTextProperty: { prototype: ElsaMultiTextProperty; new (): ElsaMultiTextProperty; }; interface ElsaPager extends Components.ElsaPager, HTMLElement {} export const ElsaPager: { prototype: ElsaPager; new (): ElsaPager; }; interface ElsaPropertyEditor extends Components.ElsaPropertyEditor, HTMLElement {} export const ElsaPropertyEditor: { prototype: ElsaPropertyEditor; new (): ElsaPropertyEditor; }; interface ElsaRadioListProperty extends Components.ElsaRadioListProperty, HTMLElement {} export const ElsaRadioListProperty: { prototype: ElsaRadioListProperty; new (): ElsaRadioListProperty; }; interface ElsaScriptProperty extends Components.ElsaScriptProperty, HTMLElement {} export const ElsaScriptProperty: { prototype: ElsaScriptProperty; new (): ElsaScriptProperty; }; interface ElsaSingleLineProperty extends Components.ElsaSingleLineProperty, HTMLElement {} export const ElsaSingleLineProperty: { prototype: ElsaSingleLineProperty; new (): ElsaSingleLineProperty; }; interface ElsaStudioDashboard extends Components.ElsaStudioDashboard, HTMLElement {} export const ElsaStudioDashboard: { prototype: ElsaStudioDashboard; new (): ElsaStudioDashboard; }; interface ElsaStudioHome extends Components.ElsaStudioHome, HTMLElement {} export const ElsaStudioHome: { prototype: ElsaStudioHome; new (): ElsaStudioHome; }; interface ElsaStudioRoot extends Components.ElsaStudioRoot, HTMLElement {} export const ElsaStudioRoot: { prototype: ElsaStudioRoot; new (): ElsaStudioRoot; }; interface ElsaStudioWebhookDefinitionsEdit extends Components.ElsaStudioWebhookDefinitionsEdit, HTMLElement {} export const ElsaStudioWebhookDefinitionsEdit: { prototype: ElsaStudioWebhookDefinitionsEdit; new (): ElsaStudioWebhookDefinitionsEdit; }; interface ElsaStudioWebhookDefinitionsList extends Components.ElsaStudioWebhookDefinitionsList, HTMLElement {} export const ElsaStudioWebhookDefinitionsList: { prototype: ElsaStudioWebhookDefinitionsList; new (): ElsaStudioWebhookDefinitionsList; }; interface ElsaStudioWorkflowBlueprintView extends Components.ElsaStudioWorkflowBlueprintView, HTMLElement {} export const ElsaStudioWorkflowBlueprintView: { prototype: ElsaStudioWorkflowBlueprintView; new (): ElsaStudioWorkflowBlueprintView; }; interface ElsaStudioWorkflowDefinitionsEdit extends Components.ElsaStudioWorkflowDefinitionsEdit, HTMLElement {} export const ElsaStudioWorkflowDefinitionsEdit: { prototype: ElsaStudioWorkflowDefinitionsEdit; new (): ElsaStudioWorkflowDefinitionsEdit; }; interface ElsaStudioWorkflowDefinitionsList extends Components.ElsaStudioWorkflowDefinitionsList, HTMLElement {} export const ElsaStudioWorkflowDefinitionsList: { prototype: ElsaStudioWorkflowDefinitionsList; new (): ElsaStudioWorkflowDefinitionsList; }; interface ElsaStudioWorkflowInstancesList extends Components.ElsaStudioWorkflowInstancesList, HTMLElement {} export const ElsaStudioWorkflowInstancesList: { prototype: ElsaStudioWorkflowInstancesList; new (): ElsaStudioWorkflowInstancesList; }; interface ElsaStudioWorkflowInstancesView extends Components.ElsaStudioWorkflowInstancesView, HTMLElement {} export const ElsaStudioWorkflowInstancesView: { prototype: ElsaStudioWorkflowInstancesView; new (): ElsaStudioWorkflowInstancesView; }; interface ElsaStudioWorkflowRegistry extends Components.ElsaStudioWorkflowRegistry, HTMLElement {} export const ElsaStudioWorkflowRegistry: { prototype: ElsaStudioWorkflowRegistry; new (): ElsaStudioWorkflowRegistry; }; interface ElsaSwitchCasesProperty extends Components.ElsaSwitchCasesProperty, HTMLElement {} export const ElsaSwitchCasesProperty: { prototype: ElsaSwitchCasesProperty; new (): ElsaSwitchCasesProperty; }; interface ElsaTabContent extends Components.ElsaTabContent, HTMLElement {} export const ElsaTabContent: { prototype: ElsaTabContent; new (): ElsaTabContent; }; interface ElsaTabHeader extends Components.ElsaTabHeader, HTMLElement {} export const ElsaTabHeader: { prototype: ElsaTabHeader; new (): ElsaTabHeader; }; interface ElsaToastNotification extends Components.ElsaToastNotification, HTMLElement {} export const ElsaToastNotification: { prototype: ElsaToastNotification; new (): ElsaToastNotification; }; interface ElsaWebhookDefinitionEditorNotifications extends Components.ElsaWebhookDefinitionEditorNotifications, HTMLElement {} export const ElsaWebhookDefinitionEditorNotifications: { prototype: ElsaWebhookDefinitionEditorNotifications; new (): ElsaWebhookDefinitionEditorNotifications; }; interface ElsaWebhookDefinitionEditorScreen extends Components.ElsaWebhookDefinitionEditorScreen, HTMLElement {} export const ElsaWebhookDefinitionEditorScreen: { prototype: ElsaWebhookDefinitionEditorScreen; new (): ElsaWebhookDefinitionEditorScreen; }; interface ElsaWebhookDefinitionsListScreen extends Components.ElsaWebhookDefinitionsListScreen, HTMLElement {} export const ElsaWebhookDefinitionsListScreen: { prototype: ElsaWebhookDefinitionsListScreen; new (): ElsaWebhookDefinitionsListScreen; }; interface ElsaWorkflowBlueprintPropertiesPanel extends Components.ElsaWorkflowBlueprintPropertiesPanel, HTMLElement {} export const ElsaWorkflowBlueprintPropertiesPanel: { prototype: ElsaWorkflowBlueprintPropertiesPanel; new (): ElsaWorkflowBlueprintPropertiesPanel; }; interface ElsaWorkflowBlueprintViewerScreen extends Components.ElsaWorkflowBlueprintViewerScreen, HTMLElement {} export const ElsaWorkflowBlueprintViewerScreen: { prototype: ElsaWorkflowBlueprintViewerScreen; new (): ElsaWorkflowBlueprintViewerScreen; }; interface ElsaWorkflowDefinitionEditorNotifications extends Components.ElsaWorkflowDefinitionEditorNotifications, HTMLElement {} export const ElsaWorkflowDefinitionEditorNotifications: { prototype: ElsaWorkflowDefinitionEditorNotifications; new (): ElsaWorkflowDefinitionEditorNotifications; }; interface ElsaWorkflowDefinitionEditorScreen extends Components.ElsaWorkflowDefinitionEditorScreen, HTMLElement {} export const ElsaWorkflowDefinitionEditorScreen: { prototype: ElsaWorkflowDefinitionEditorScreen; new (): ElsaWorkflowDefinitionEditorScreen; }; interface ElsaWorkflowDefinitionsListScreen extends Components.ElsaWorkflowDefinitionsListScreen, HTMLElement {} export const ElsaWorkflowDefinitionsListScreen: { prototype: ElsaWorkflowDefinitionsListScreen; new (): ElsaWorkflowDefinitionsListScreen; }; interface ElsaWorkflowFaultInformation extends Components.ElsaWorkflowFaultInformation, HTMLElement {} export const ElsaWorkflowFaultInformation: { prototype: ElsaWorkflowFaultInformation; new (): ElsaWorkflowFaultInformation; }; interface ElsaWorkflowInstanceJournal extends Components.ElsaWorkflowInstanceJournal, HTMLElement {} export const ElsaWorkflowInstanceJournal: { prototype: ElsaWorkflowInstanceJournal; new (): ElsaWorkflowInstanceJournal; }; interface ElsaWorkflowInstanceListScreen extends Components.ElsaWorkflowInstanceListScreen, HTMLElement {} export const ElsaWorkflowInstanceListScreen: { prototype: ElsaWorkflowInstanceListScreen; new (): ElsaWorkflowInstanceListScreen; }; interface ElsaWorkflowInstanceViewerScreen extends Components.ElsaWorkflowInstanceViewerScreen, HTMLElement {} export const ElsaWorkflowInstanceViewerScreen: { prototype: ElsaWorkflowInstanceViewerScreen; new (): ElsaWorkflowInstanceViewerScreen; }; interface ElsaWorkflowPerformanceInformation extends Components.ElsaWorkflowPerformanceInformation, HTMLElement {} export const ElsaWorkflowPerformanceInformation: { prototype: ElsaWorkflowPerformanceInformation; new (): ElsaWorkflowPerformanceInformation; }; interface ElsaWorkflowPropertiesPanel extends Components.ElsaWorkflowPropertiesPanel, HTMLElement {} export const ElsaWorkflowPropertiesPanel: { prototype: ElsaWorkflowPropertiesPanel; new (): ElsaWorkflowPropertiesPanel; }; interface ElsaWorkflowPublishButton extends Components.ElsaWorkflowPublishButton, HTMLElement {} export const ElsaWorkflowPublishButton: { prototype: ElsaWorkflowPublishButton; new (): ElsaWorkflowPublishButton; }; interface ElsaWorkflowRegistryListScreen extends Components.ElsaWorkflowRegistryListScreen, HTMLElement {} export const ElsaWorkflowRegistryListScreen: { prototype: ElsaWorkflowRegistryListScreen; new (): ElsaWorkflowRegistryListScreen; }; interface ElsaWorkflowSettingsModal extends Components.ElsaWorkflowSettingsModal, HTMLElement {} export const ElsaWorkflowSettingsModal: { prototype: ElsaWorkflowSettingsModal; new (): ElsaWorkflowSettingsModal; }; interface ElsaWorkflowTestPanel extends Components.ElsaWorkflowTestPanel, HTMLElement {} export const ElsaWorkflowTestPanel: { prototype: ElsaWorkflowTestPanel; new (): ElsaWorkflowTestPanel; }; /** * Utility to define all custom elements within this package using the tag name provided in the component's source. * When defining each custom element, it will also check it's safe to define by: * * 1. Ensuring the "customElements" registry is available in the global context (window). * 2. The component tag name is not already defined. * * Use the standard [customElements.define()](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define) * method instead to define custom elements individually, or to provide a different tag name. */ export declare const defineCustomElements: (opts?: any) => void; /** * Used to manually set the base path where assets can be found. * If the script is used as "module", it's recommended to use "import.meta.url", * such as "setAssetPath(import.meta.url)". Other options include * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)". * But do note that this configuration depends on how your script is bundled, or lack of * bunding, and where your assets can be loaded from. Additionally custom bundling * will have to ensure the static assets are copied to its build directory. */ export declare const setAssetPath: (path: string) => void; export interface SetPlatformOptions { raf?: (c: FrameRequestCallback) => number; ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; ce?: (eventName: string, opts?: any) => CustomEvent; } export declare const setPlatformOptions: (opts: SetPlatformOptions) => void; export type { Components, JSX }; export * from '../types';