50 lines
1.8 KiB
TypeScript
50 lines
1.8 KiB
TypeScript
import { LitElement, TemplateResult, nothing } from 'lit';
|
|
import { HomeAssistant } from 'custom-card-helpers';
|
|
import { UltraVehicleCardConfig } from '../../types';
|
|
export declare class CustomizeTab extends LitElement {
|
|
hass: HomeAssistant;
|
|
config: UltraVehicleCardConfig;
|
|
private _draggedSection;
|
|
private _expandedSectionId;
|
|
private _dropTargetSection;
|
|
private _layoutDescriptionsExpanded;
|
|
private _dropTargetColumn;
|
|
private _t;
|
|
private _fireConfigChanged;
|
|
private _getFriendlyName;
|
|
private _truncateText;
|
|
private _valueChanged;
|
|
private _handleSectionDragStart;
|
|
private _handleSectionDragEnd;
|
|
private _handleSectionDragOver;
|
|
private _handleSectionDragLeave;
|
|
private _handleSectionDrop;
|
|
private _handleColumnDragOver;
|
|
private _handleColumnDragLeave;
|
|
private _getDisplaySections;
|
|
private _getExpandedConfigSections;
|
|
private _handleColumnDrop;
|
|
private _rearrangeSections;
|
|
private _toggleSectionExpand;
|
|
private _updateSectionMargin;
|
|
private _updateSectionCondition;
|
|
private _updateSectionBreakConfig;
|
|
private _resetSectionBreakColor;
|
|
private _handleAddSectionBreak;
|
|
private _handleDeleteSectionBreak;
|
|
protected render(): TemplateResult | typeof nothing;
|
|
protected updated(changedProperties: Map<string, any>): void;
|
|
private _renderCustomizeTab;
|
|
private _renderDraggableSections;
|
|
private _renderGlobalCssSection;
|
|
getSectionIcon(sectionId: string): string;
|
|
getSectionLabel(sectionId: string): string;
|
|
private _cleanupSectionsOrder;
|
|
private _handleConditionTypeChange;
|
|
private _updateEntityCondition;
|
|
private _updateStateCondition;
|
|
private _getSectionTemplate;
|
|
private _updateSectionTemplate;
|
|
static styles: import("lit").CSSResult;
|
|
}
|