* feat(frontend): add helper to configure AG Grid columns def * feat(frontend): add all options * feat(frontend): column definition helper * feat(frontend): add header name * feat(frontend): add presets * feat(frontend): rework preset * feat(frontend): rework preset * feat(frontend): fix presets * feat(frontend): add flex + fix adding empty column def * feat(frontend): add missing unit
16 lines
378 B
Svelte
16 lines
378 B
Svelte
<script lang="ts">
|
|
export let label: string | undefined = undefined
|
|
</script>
|
|
|
|
<label>
|
|
<div class="flex flex-row justify-between items-center w-full">
|
|
<div class="flex flex-row items-center gap-1">
|
|
<span class="text-secondary text-sm leading-6">{label}</span>
|
|
<slot name="header" />
|
|
</div>
|
|
<slot name="error" />
|
|
<slot name="action" />
|
|
</div>
|
|
<slot />
|
|
</label>
|