All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.frontend.vaadin-dev-tools.theme-editor.editor.d.ts Maven / Gradle / Ivy

There is a newer version: 24.7.0
Show newest version
import { LitElement, PropertyValues, TemplateResult } from 'lit';
import { PickerProvider } from '../component-picker';
import { ThemeEditorState } from './model';
import { Connection } from '../connection';
import './components/class-name-editor';
import './components/scope-selector';
import './components/property-list';
import '../component-picker.js';
import { OpenCssEvent } from './components/property-list';
export declare class ThemeEditor extends LitElement {
    expanded: boolean;
    themeEditorState: ThemeEditorState;
    pickerProvider: PickerProvider;
    connection: Connection;
    private api;
    private history;
    private historyActions?;
    private context;
    /**
     * Base theme detected from existing CSS files for the selected component
     */
    private baseTheme;
    /**
     * Currently edited theme modifications for the selected component since the
     * last reload
     */
    private editedTheme;
    /**
     * The effective theme for the selected component, including base theme and
     * previously saved modifications
     */
    private effectiveTheme;
    private markedAsUsed;
    private undoRedoListener;
    static get styles(): import("lit").CSSResult;
    protected firstUpdated(): void;
    protected update(changedProperties: PropertyValues): void;
    disconnectedCallback(): void;
    render(): TemplateResult<1>;
    renderMissingThemeNotice(): TemplateResult<1>;
    renderPropertyList(): TemplateResult<1> | null;
    handleShowComponent(): void;
    handleOpenCss(event: OpenCssEvent): Promise;
    renderPicker(): TemplateResult<1>;
    renderLocalClassNameEditor(): TemplateResult<1> | null;
    private handleClassNameChange;
    private pickComponent;
    private handleScopeChange;
    private handlePropertyChange;
    private handleUndo;
    private handleRedo;
    private ensureLocalClassName;
    private refreshComponentAndTheme;
    private refreshTheme;
    private highlightElement;
    private removeElementHighlight;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy