diff --git a/src/components/model/DGModelSpecification.svelte b/src/components/model/DGModelSpecification.svelte new file mode 100644 index 0000000000..7d6da828f6 --- /dev/null +++ b/src/components/model/DGModelSpecification.svelte @@ -0,0 +1,300 @@ + + + + + +
+
+ + + + +
+
+
+ +
+
+ + + + + {selectedDerivationGroup + ? `Sources in '${selectedDerivationGroup.name}'` + : 'No Derivation Group Selected'} + + + + {#if selectedDerivationGroupSources.length > 0} + {#each selectedDerivationGroupSources as source} + + + +

+ {selectedDerivationGroup?.sources.get(source.key)?.event_counts} events +

+
+
+
Key:
+ {source.key} +
+ +
+
Source Type:
+ {source.source_type_name} +
+ +
+
Start Time:
+ {formatDate(new Date(source.start_time), $plugins.time.primary.format)} +
+ +
+
End Time:
+ {formatDate(new Date(source.end_time), $plugins.time.primary.format)} +
+ +
+
Valid At:
+ {formatDate(new Date(source.valid_at), $plugins.time.primary.format)} +
+ +
+
Created At:
+ {formatDate(new Date(source.created_at), $plugins.time.primary.format)} +
+
+ {/each} + {:else} +

+ {selectedDerivationGroup ? 'No sources in this group.' : 'Please select a derivation group.'} +

+ {/if} +
+
+
+ + diff --git a/src/components/model/ModelAssociations.svelte b/src/components/model/ModelAssociations.svelte index 3202e9f27c..4e76443530 100644 --- a/src/components/model/ModelAssociations.svelte +++ b/src/components/model/ModelAssociations.svelte @@ -3,6 +3,7 @@