Skip to content

Commit 45e0c16

Browse files
committed
V3.0.0-beta5
Fixed Images Tab conditions for all modes (maybe) Fixed Section Titles
1 parent 66205d3 commit 45e0c16

File tree

11 files changed

+387
-108
lines changed

11 files changed

+387
-108
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

dist/.DS_Store

0 Bytes
Binary file not shown.

dist/cards/ultra-vehicle-card.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,20 @@ export declare class UltraVehicleCard extends LitElement {
2020
private _mapPopupData;
2121
private _iconActiveStates;
2222
private _iconsAwaitingConfirmation;
23+
private _currentTimedImage;
24+
private _timedImageStartTime;
25+
private _imageConditionStates;
26+
private _imageTriggerTimes;
27+
private _imageTriggerResults;
28+
private _cardInstanceId;
29+
private _stateRestored;
2330
private _templateSubscriptions;
2431
private _templateResults;
2532
private _confirmationCancelListeners;
2633
private _recentDoubleClick;
2734
private _holdTimer;
2835
private _currentHoldIcon;
36+
private _timedImageTimer;
2937
static getConfigElement(): HTMLElement;
3038
static getStubConfig(): {
3139
title: string;
@@ -49,6 +57,12 @@ export declare class UltraVehicleCard extends LitElement {
4957
private _forceFullRender;
5058
protected render(): TemplateResult<1>;
5159
private _renderImage;
60+
private _selectImageFromNewSystem;
61+
private _imageMatchesConditions;
62+
private _selectImageFromLegacySystem;
63+
private _processSelectedImage;
64+
private _startTimedImage;
65+
private _clearTimedImage;
5266
private _getFriendlyName;
5367
private _formatValue;
5468
private _handleImageError;
@@ -104,6 +118,9 @@ export declare class UltraVehicleCard extends LitElement {
104118
private _getEntityForCoordinates;
105119
private _isDarkMode;
106120
private _closeMapPopup;
121+
private _getStorageKey;
122+
private _restoreStateFromStorage;
123+
private _saveStateToStorage;
107124
private _shouldRenderSection;
108125
private _cancelConfirmation;
109126
private _checkBarSideCondition;

dist/debug-info.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// Ultra Vehicle Card Debug Info
2-
// Version: 3.0.0-beta4
3-
// Build Date: 2025-06-10T20:14:59.179Z
2+
// Version: 3.0.0-beta5
3+
// Build Date: 2025-06-13T19:19:59.827Z
44
// Build Mode: production

dist/editor/.DS_Store

0 Bytes
Binary file not shown.

dist/editor/tabs/image-tab.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export declare class ImageTab extends LitElement {
1111
private _draggedImage;
1212
private _dropTargetImage;
1313
private _isTemplateEditing;
14+
private _imageTemplateStates;
15+
private _forceConditionalTabRender;
1416
private _t;
1517
private _generateUniqueId;
1618
private _getFriendlyName;
@@ -25,6 +27,7 @@ export declare class ImageTab extends LitElement {
2527
private _toggleImageExpand;
2628
private _updateImageConfig;
2729
private _updateFallbackImage;
30+
private _updateImageTemplate;
2831
private _createDefaultImage;
2932
private _setActiveImageTab;
3033
private _navigateToCustomizeTab;

dist/ultra-vehicle-card.js

Lines changed: 336 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utils/version-logger.d.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/**
2+
* Logs the Ultra Vehicle Card version with styled console output
3+
* This function can be called from anywhere to display the version log
4+
*
5+
* Usage: logVersion();
6+
*/
7+
export declare function logVersion(): void;
8+
/**
9+
* Alternative version logging with custom message
10+
* @param customMessage - Custom message to display instead of "Ultra Vehicle Card"
11+
*/
12+
export declare function logVersionWithMessage(customMessage: string): void;
13+
/**
14+
* BACKUP COPY OF THE VERSION LOG CODE
15+
*
16+
* If the version log gets accidentally deleted, you can copy this code:
17+
*
18+
* console.info(
19+
* `%c Ultra Vehicle Card %c ${VERSION} `,
20+
* "color: white; background: #03a9f4; font-weight: 700; padding: 3px 2px 3px 3px; border-radius: 14px 0 0 14px;",
21+
* "color: white; background: #555555; font-weight: 700; padding: 3px 2px 3px 3px; border-radius: 0 14px 14px 0;"
22+
* );
23+
*
24+
* Or simply import and call: logVersion();
25+
*/

dist/version.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* Ultra Vehicle Card Version
33
* This is the single source of truth for version information
44
*/
5-
export declare const VERSION = "3.0.0-beta4";
5+
export declare const VERSION = "3.0.0-beta5";

0 commit comments

Comments
 (0)