[Feature] Adds timeseries display (#313)

Adds a way to input/display timeseries data to the additional information

Reviewed-on: enviPath/enviPy#313
Reviewed-by: jebus <lorsbach@envipath.com>
Co-authored-by: Tobias O <tobias.olenyi@envipath.com>
Co-committed-by: Tobias O <tobias.olenyi@envipath.com>
This commit is contained in:
2026-02-04 01:01:06 +13:00
committed by jebus
parent d80dfb5ee3
commit dc18b73e08
23 changed files with 1772 additions and 411 deletions

View File

@ -6,7 +6,7 @@
<span
class="label-text"
:class="{
'text-error': hasError,
'text-error': $store.validationErrors.hasError(fieldName, context),
'text-sm text-base-content/60': isViewMode
}"
x-text="label"
@ -41,7 +41,7 @@
<template x-if="isEditMode">
<select
class="select select-bordered w-full"
:class="{ 'select-error': hasError }"
:class="{ 'select-error': $store.validationErrors.hasError(fieldName, context) }"
x-model="value"
>
<option value="" :selected="!value">Select...</option>
@ -56,9 +56,12 @@
</template>
<!-- Errors -->
<template x-if="hasError">
<template x-if="$store.validationErrors.hasError(fieldName, context)">
<div class="label">
<template x-for="errMsg in errors" :key="errMsg">
<template
x-for="errMsg in $store.validationErrors.getErrors(fieldName, context)"
:key="errMsg"
>
<span class="label-text-alt text-error" x-text="errMsg"></span>
</template>
</div>