diff --git a/frontend/src/lib/components/ui/error-panel-notice.svelte b/frontend/src/lib/components/ui/error-panel-notice.svelte index e69de29b..996f4db3 100644 --- a/frontend/src/lib/components/ui/error-panel-notice.svelte +++ b/frontend/src/lib/components/ui/error-panel-notice.svelte @@ -0,0 +1,203 @@ + + +{#if open} +
+ +
+ +

{title}

+ + + + +
+ + {#if expanded && rows.length > 0} +
+ + + + + + + {#if dismissibleRows && onDismissRow} + + {/if} + + + + {#each rows as row, i (i)} + + + + + {#if dismissibleRows && onDismissRow} + + {/if} + + {/each} + +
+ {labels.columnType} + + {labels.columnField} + + {labels.columnMessage} +
+ + + {row.field || labels.emptyField} + + {row.message} + + +
+
+ {/if} +
+{/if}