@molgenis/vip-report-template 6.1.1 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -1
- package/.travis.yml +9 -11
- package/README.md +411 -1
- package/eslint.config.mjs +11 -0
- package/package.json +40 -35
- package/scripts/deploy_npm_registry.sh +5 -0
- package/src/App.tsx +35 -29
- package/src/assets/sass/main.scss +12 -4
- package/src/components/Allele.tsx +95 -0
- package/src/components/Anchor.tsx +1 -1
- package/src/components/Breadcrumb.tsx +8 -5
- package/src/components/DatasetDropdown.tsx +10 -23
- package/src/components/ErrorNotification.tsx +9 -0
- package/src/components/GenomeBrowser.tsx +40 -23
- package/src/components/HpoTerm.tsx +1 -1
- package/src/components/{record/Pager.tsx → Pager.tsx} +21 -14
- package/src/components/RecordsPerPage.tsx +9 -7
- package/src/components/RecordsTable.tsx +130 -0
- package/src/components/SampleTable.tsx +70 -98
- package/src/components/SearchBox.tsx +8 -2
- package/src/components/Sort.tsx +28 -25
- package/src/components/Table.tsx +16 -0
- package/src/components/Tooltip.tsx +20 -0
- package/src/components/VariantBreadcrumb.tsx +54 -0
- package/src/components/VariantConsequenceContainer.tsx +100 -0
- package/src/components/VariantConsequenceTable.tsx +58 -0
- package/src/components/VariantContainer.tsx +71 -0
- package/src/components/VariantFilters.tsx +27 -0
- package/src/components/VariantGenotypeTable.tsx +44 -0
- package/src/components/VariantInfoTable.tsx +24 -33
- package/src/components/VariantResults.tsx +103 -0
- package/src/components/VariantTable.tsx +62 -66
- package/src/components/VariantTypeSelect.tsx +34 -0
- package/src/components/VariantsContainer.tsx +150 -0
- package/src/components/VariantsContainerHeader.tsx +70 -0
- package/src/components/field/Field.tsx +80 -0
- package/src/components/field/FieldAlt.tsx +19 -0
- package/src/components/field/FieldChrom.tsx +6 -0
- package/src/components/{record/Id.tsx → field/FieldFilter.tsx} +2 -1
- package/src/components/field/FieldFormat.tsx +10 -0
- package/src/components/{record/Filter.tsx → field/FieldId.tsx} +1 -1
- package/src/components/field/FieldPos.tsx +6 -0
- package/src/components/field/FieldQual.tsx +6 -0
- package/src/components/field/FieldRef.tsx +8 -0
- package/src/components/field/composed/FieldClinVar.tsx +72 -0
- package/src/components/field/composed/FieldComposed.tsx +68 -0
- package/src/components/field/composed/FieldGene.tsx +39 -0
- package/src/components/field/composed/FieldGenotype.tsx +35 -0
- package/src/components/{record/format/GenotypeField.tsx → field/composed/FieldGenotypeSnvSv.tsx} +20 -16
- package/src/components/field/composed/FieldGenotypeStr.tsx +31 -0
- package/src/components/field/composed/FieldGnomAd.tsx +58 -0
- package/src/components/field/composed/FieldHpo.tsx +50 -0
- package/src/components/field/composed/FieldInheritanceModes.tsx +32 -0
- package/src/components/field/composed/FieldLocus.tsx +18 -0
- package/src/components/field/composed/FieldVipC.tsx +25 -0
- package/src/components/field/composed/FieldVipCS.tsx +15 -0
- package/src/components/field/composed/FieldVkgl.tsx +37 -0
- package/src/components/field/genotype/FieldGenotype.tsx +19 -0
- package/src/components/field/genotype/FieldGenotypeType.tsx +9 -0
- package/src/components/field/info/FieldConsequence.tsx +15 -0
- package/src/components/{record/info/Hgvs.tsx → field/info/FieldHgvs.tsx} +4 -6
- package/src/components/field/info/FieldInfo.tsx +27 -0
- package/src/components/{record/info/PubMed.tsx → field/info/FieldPubMed.tsx} +4 -7
- package/src/components/field/typed/FieldCategorical.tsx +17 -0
- package/src/components/{record/field/FieldValueCharacter.tsx → field/typed/FieldCharacter.tsx} +3 -2
- package/src/components/{record/field/FieldValueFlag.tsx → field/typed/FieldFlag.tsx} +3 -2
- package/src/components/{record/field/FieldValueFloat.tsx → field/typed/FieldFloat.tsx} +3 -2
- package/src/components/{record/field/FieldValueInteger.tsx → field/typed/FieldInteger.tsx} +3 -2
- package/src/components/{record/field/FieldValueString.tsx → field/typed/FieldString.tsx} +3 -2
- package/src/components/field/typed/FieldTyped.tsx +20 -0
- package/src/components/field/typed/FieldTypedItem.tsx +49 -0
- package/src/components/field/typed/FieldTypedMultiple.tsx +21 -0
- package/src/components/filter/Filter.tsx +56 -48
- package/src/components/filter/FilterWrapper.scss +23 -0
- package/src/components/filter/FilterWrapper.tsx +63 -0
- package/src/components/filter/composed/FilterAllelicImbalance.tsx +26 -0
- package/src/components/filter/composed/FilterComposed.tsx +92 -0
- package/src/components/filter/composed/FilterDeNovo.tsx +35 -0
- package/src/components/filter/composed/FilterHpo.tsx +16 -0
- package/src/components/filter/composed/FilterInheritance.tsx +42 -0
- package/src/components/filter/composed/FilterLocus.tsx +75 -0
- package/src/components/filter/composed/FilterVipC.tsx +16 -0
- package/src/components/filter/composed/FilterVipCS.tsx +16 -0
- package/src/components/filter/fixed/FilterAlt.tsx +20 -0
- package/src/components/filter/fixed/FilterChrom.tsx +22 -0
- package/src/components/filter/fixed/FilterFilter.tsx +20 -0
- package/src/components/filter/fixed/FilterFixed.tsx +96 -0
- package/src/components/filter/fixed/FilterId.tsx +20 -0
- package/src/components/filter/fixed/FilterPos.tsx +22 -0
- package/src/components/filter/fixed/FilterQual.tsx +21 -0
- package/src/components/filter/fixed/FilterRef.tsx +22 -0
- package/src/components/filter/typed/FilterCategorical.tsx +119 -0
- package/src/components/filter/typed/FilterFlag.tsx +23 -0
- package/src/components/filter/typed/FilterInterval.tsx +72 -0
- package/src/components/filter/typed/FilterString.tsx +43 -0
- package/src/components/filter/typed/FilterTyped.tsx +56 -0
- package/src/components/form/ButtonApply.tsx +11 -0
- package/src/components/form/ButtonDownload.tsx +11 -0
- package/src/components/form/ButtonReset.tsx +9 -0
- package/src/components/{Checkbox.tsx → form/Checkbox.tsx} +4 -9
- package/src/components/form/Input.tsx +19 -0
- package/src/components/form/Select.scss +7 -0
- package/src/components/form/Select.tsx +34 -0
- package/src/components/tree/DecisionTreeBoolMultiQuery.tsx +1 -1
- package/src/components/tree/DecisionTreeBoolQuery.tsx +1 -1
- package/src/components/tree/DecisionTreeNode.tsx +41 -39
- package/src/components/tree/DecisionTreeNodeBool.tsx +1 -1
- package/src/components/tree/DecisionTreeNodeBoolMulti.tsx +1 -1
- package/src/components/tree/DecisionTreeNodeCategorical.tsx +1 -1
- package/src/components/tree/DecisionTreeNodeExists.tsx +1 -1
- package/src/components/tree/DecisionTreeNodeLeaf.tsx +1 -1
- package/src/components/tree/DecisionTreeOutcomeNode.tsx +1 -1
- package/src/components/tree/DecisionTreePath.tsx +1 -1
- package/src/igv.d.ts +2 -1
- package/src/index.tsx +48 -19
- package/src/mocks/GRCh37/decisionTree.json +23 -22
- package/src/mocks/GRCh37/field_metadata.json +435 -95
- package/src/mocks/GRCh37/sampleTree.json +143 -0
- package/src/mocks/GRCh37/static.ts +63 -133
- package/src/mocks/GRCh37/vcf/family.vcf.blob +37 -31
- package/src/mocks/GRCh38/decisionTree.json +52 -33
- package/src/mocks/GRCh38/decisionTreeStr.json +572 -0
- package/src/mocks/GRCh38/fasta/chr1_149380406-149403321.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/field_metadata.json +435 -95
- package/src/mocks/GRCh38/sampleTree.json +175 -0
- package/src/mocks/GRCh38/static.ts +101 -42
- package/src/mocks/GRCh38/str.cram.blob +0 -0
- package/src/mocks/GRCh38/str.cram.crai.blob +0 -0
- package/src/mocks/GRCh38/vcf/family.vcf.blob +25 -24
- package/src/mocks/GRCh38/vcf/no_vep.vcf.blob +29 -28
- package/src/mocks/GRCh38/vcf/samples_0.vcf.blob +28 -27
- package/src/mocks/GRCh38/vcf/samples_1.vcf.blob +29 -28
- package/src/mocks/GRCh38/vcf/samples_100.vcf.blob +28 -27
- package/src/mocks/GRCh38/vcf/str.vcf.blob +321 -0
- package/src/mocks/MockApiClient.ts +341 -328
- package/src/mocks/config_cram.json +701 -0
- package/src/mocks/config_vcf.json +699 -0
- package/src/store/app.ts +30 -0
- package/src/store/index.tsx +3 -168
- package/src/store/variants.ts +182 -0
- package/src/types/config.d.ts +190 -0
- package/src/types/configCellComposed.d.ts +86 -0
- package/src/types/configCells.d.ts +129 -0
- package/src/types/configFilter.d.ts +80 -0
- package/src/types/configFilterComposed.d.ts +60 -0
- package/src/types/configSort.d.ts +13 -0
- package/src/types/filter.d.ts +17 -0
- package/src/types/store.d.ts +34 -0
- package/src/utils/api.ts +281 -0
- package/src/utils/config/config.ts +182 -0
- package/src/utils/config/configCells.ts +74 -0
- package/src/utils/config/configCellsComposed.ts +508 -0
- package/src/utils/config/configCellsField.ts +61 -0
- package/src/utils/config/configCellsFixed.ts +126 -0
- package/src/utils/config/configFilters.ts +46 -0
- package/src/utils/config/configFiltersComposed.ts +208 -0
- package/src/utils/config/configFiltersField.ts +49 -0
- package/src/utils/config/configFiltersFixed.ts +106 -0
- package/src/utils/config/configSorts.ts +44 -0
- package/src/utils/config/configValidator.ts +380 -0
- package/src/utils/config/configVip.ts +25 -0
- package/src/utils/csq.ts +115 -0
- package/src/utils/decisionTree.ts +45 -0
- package/src/utils/download.ts +30 -0
- package/src/utils/error.ts +69 -0
- package/src/utils/query/query.ts +55 -0
- package/src/utils/query/queryFilter.ts +132 -0
- package/src/utils/query/queryFilterComposed.ts +247 -0
- package/src/utils/query/queryFilterField.ts +75 -0
- package/src/utils/query/queryFilterFixed.ts +44 -0
- package/src/utils/query/querySample.ts +18 -0
- package/src/utils/query/queryVariantType.ts +76 -0
- package/src/utils/query/selector.ts +41 -0
- package/src/utils/{sortUtils.ts → query/sort.ts} +32 -11
- package/src/utils/sample.ts +19 -35
- package/src/utils/utils.ts +66 -2
- package/src/utils/variantType.ts +43 -0
- package/src/utils/vcf.ts +352 -0
- package/src/views/Help.tsx +109 -114
- package/src/views/Home.tsx +3 -2
- package/src/views/Sample.tsx +12 -7
- package/src/views/SampleVariant.tsx +23 -112
- package/src/views/SampleVariantConsequence.tsx +54 -114
- package/src/views/SampleVariants.tsx +33 -445
- package/src/views/SampleVariantsRedirect.tsx +20 -0
- package/src/views/Samples.tsx +7 -10
- package/src/views/Variant.tsx +31 -61
- package/src/views/VariantConsequence.tsx +42 -72
- package/src/views/Variants.tsx +29 -138
- package/src/views/VariantsRedirect.tsx +25 -0
- package/src/views/data/data.tsx +32 -6
- package/tests/store/variants.test.ts +122 -0
- package/tests/utils/config/config.test.ts +167 -0
- package/tests/utils/config/configCells.test.ts +86 -0
- package/tests/utils/config/configCellsComposed.test.ts +1163 -0
- package/tests/utils/config/configCellsField.test.ts +164 -0
- package/tests/utils/config/configCellsFixed.test.ts +99 -0
- package/tests/utils/config/configFilters.test.ts +80 -0
- package/tests/utils/config/configFiltersComposed.test.ts +504 -0
- package/tests/utils/config/configFiltersField.test.ts +140 -0
- package/tests/utils/config/configFiltersFixed.test.ts +81 -0
- package/tests/utils/config/configSorts.test.ts +55 -0
- package/tests/utils/config/configValidator.test.ts +56 -0
- package/tests/utils/config/configVip.test.ts +53 -0
- package/tests/utils/decisionTree.test.ts +71 -0
- package/tests/utils/download.test.ts +20 -0
- package/tests/utils/query/query.test.ts +84 -0
- package/tests/utils/query/queryFilter.test.ts +243 -0
- package/tests/utils/query/queryFilterComposed.test.ts +301 -0
- package/tests/utils/query/queryFilterField.test.ts +75 -0
- package/tests/utils/query/queryFilterFixed.test.ts +86 -0
- package/tests/utils/query/querySample.test.ts +45 -0
- package/tests/utils/query/queryVariantType.test.ts +56 -0
- package/{src/__tests__/sortUtils.test.ts → tests/utils/query/sort.test.ts} +3 -4
- package/tests/utils/sample.test.ts +259 -0
- package/tests/utils/utils.test.ts +120 -0
- package/tests/utils/variantType.test.ts +48 -0
- package/tests/utils/vcf.test.ts +649 -0
- package/tsconfig.json +6 -2
- package/vite.config.mts +20 -3
- package/.eslintignore +0 -4
- package/.eslintrc.js +0 -23
- package/src/Api.ts +0 -12
- package/src/__tests__/decisionTreeUtils.test.ts +0 -75
- package/src/__tests__/field.test.ts +0 -107
- package/src/__tests__/query.test.ts +0 -188
- package/src/__tests__/sample.test.ts +0 -184
- package/src/__tests__/utils.test.ts +0 -24
- package/src/__tests__/viewUtils.test.ts +0 -125
- package/src/components/ConsequenceTable.tsx +0 -45
- package/src/components/Error.tsx +0 -9
- package/src/components/FieldHeader.tsx +0 -26
- package/src/components/InfoCollapsablePane.tsx +0 -90
- package/src/components/VariantInfoNestedTable.tsx +0 -127
- package/src/components/VariantSampleTable.tsx +0 -58
- package/src/components/VariantsSampleTable.tsx +0 -183
- package/src/components/VariantsTable.tsx +0 -124
- package/src/components/filter/FilterAllelicBalance.tsx +0 -81
- package/src/components/filter/FilterCategorical.tsx +0 -81
- package/src/components/filter/FilterClinVar.tsx +0 -21
- package/src/components/filter/FilterGene.tsx +0 -34
- package/src/components/filter/FilterHpo.tsx +0 -161
- package/src/components/filter/FilterInheritance.tsx +0 -162
- package/src/components/filter/FilterIntegerGq.tsx +0 -47
- package/src/components/filter/FilterVI.tsx +0 -68
- package/src/components/filter/FilterVariantType.tsx +0 -146
- package/src/components/filter/Filters.tsx +0 -29
- package/src/components/filter/InfoFilter.tsx +0 -39
- package/src/components/filter/InfoFilters.tsx +0 -35
- package/src/components/filter/SampleFilters.tsx +0 -93
- package/src/components/filter/SamplesFilters.tsx +0 -33
- package/src/components/record/Allele.tsx +0 -38
- package/src/components/record/AlleleBreakend.tsx +0 -5
- package/src/components/record/AlleleMissing.tsx +0 -5
- package/src/components/record/AlleleNucs.tsx +0 -49
- package/src/components/record/AlleleSymbolic.tsx +0 -5
- package/src/components/record/Alt.tsx +0 -17
- package/src/components/record/Chrom.tsx +0 -5
- package/src/components/record/Format.tsx +0 -40
- package/src/components/record/Info.tsx +0 -55
- package/src/components/record/Pos.tsx +0 -5
- package/src/components/record/Qual.tsx +0 -5
- package/src/components/record/RecordDownload.tsx +0 -66
- package/src/components/record/Ref.tsx +0 -6
- package/src/components/record/field/Field.tsx +0 -36
- package/src/components/record/field/FieldMultipleValue.tsx +0 -22
- package/src/components/record/field/FieldSingleValue.tsx +0 -35
- package/src/components/record/info/ClinVar.tsx +0 -81
- package/src/components/record/info/Consequence.tsx +0 -18
- package/src/components/record/info/Gene.tsx +0 -56
- package/src/components/record/info/GnomAD.tsx +0 -54
- package/src/components/record/info/Hpo.tsx +0 -52
- package/src/components/record/info/InheritanceModes.tsx +0 -22
- package/src/components/record/info/VipC.tsx +0 -23
- package/src/components/record/info/Vkgl.tsx +0 -42
- package/src/mocks/GRCh37/vcf/no_vep.vcf.blob +0 -61
- package/src/mocks/GRCh37/vcf/samples_0.vcf.blob +0 -93
- package/src/mocks/GRCh37/vcf/samples_1.vcf.blob +0 -93
- package/src/mocks/GRCh37/vcf/samples_100.vcf.blob +0 -93
- package/src/utils/ApiUtils.ts +0 -259
- package/src/utils/csqUtils.ts +0 -27
- package/src/utils/decisionTreeUtils.ts +0 -14
- package/src/utils/field.ts +0 -49
- package/src/utils/query.ts +0 -154
- package/src/utils/viewUtils.ts +0 -32
package/src/views/Help.tsx
CHANGED
|
@@ -1,34 +1,41 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, For, Show } from "solid-js";
|
|
2
2
|
import { Anchor } from "../components/Anchor";
|
|
3
|
-
import {
|
|
4
|
-
EMPTY_APP_METADATA,
|
|
5
|
-
EMPTY_HTS_FILE_METADATA,
|
|
6
|
-
EMPTY_PARAMS,
|
|
7
|
-
EMPTY_PHENOTYPES,
|
|
8
|
-
EMPTY_RECORDS_METADATA,
|
|
9
|
-
EMPTY_RECORDS_PAGE,
|
|
10
|
-
EMPTY_SAMPLES_PAGE,
|
|
11
|
-
fetchAppMetadata,
|
|
12
|
-
fetchHtsFileMetadata,
|
|
13
|
-
fetchPhenotypes,
|
|
14
|
-
fetchRecords,
|
|
15
|
-
fetchRecordsMeta,
|
|
16
|
-
fetchSamples,
|
|
17
|
-
} from "../utils/ApiUtils";
|
|
18
3
|
import { Loader } from "../components/Loader";
|
|
19
4
|
import { Breadcrumb } from "../components/Breadcrumb";
|
|
20
5
|
import { VcfHeaderRow } from "../components/VcfHeaderRow";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
6
|
+
import { createAsync } from "@solidjs/router";
|
|
7
|
+
import { getConfig, getMetadata } from "./data/data";
|
|
8
|
+
import { getHeaderValue } from "../utils/vcf.ts";
|
|
9
|
+
import { Table } from "../components/Table.tsx";
|
|
10
|
+
import { ConfigJson } from "../types/config";
|
|
11
|
+
import { Json } from "@molgenis/vip-report-api";
|
|
12
|
+
|
|
24
13
|
export const Help: Component = () => {
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
14
|
+
const metadata = createAsync(() => getMetadata());
|
|
15
|
+
const config = createAsync(() => getConfig());
|
|
16
|
+
|
|
17
|
+
function createParamList(config: ConfigJson) {
|
|
18
|
+
const stack: { path: string[]; values: { [property: string]: Json } }[] = [{ path: [], values: config.vip.params }];
|
|
19
|
+
|
|
20
|
+
const paramList: [key: string, value: string][] = [];
|
|
21
|
+
while (stack.length !== 0) {
|
|
22
|
+
const params = stack.pop()!;
|
|
23
|
+
const values = params.values;
|
|
24
|
+
for (const key in values) {
|
|
25
|
+
const path = [...params.path, key];
|
|
26
|
+
const value = values[key]!;
|
|
27
|
+
// derived from https://stackoverflow.com/a/8511350
|
|
28
|
+
if (typeof value === "object" && !Array.isArray(value) && value !== null) {
|
|
29
|
+
stack.push({ path, values: value as { [property: string]: Json } });
|
|
30
|
+
} else {
|
|
31
|
+
paramList.push([path.join("."), String(value)]);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return paramList.sort((keyA, keyB) => keyA[0].localeCompare(keyB[0]));
|
|
37
|
+
}
|
|
38
|
+
|
|
32
39
|
return (
|
|
33
40
|
<>
|
|
34
41
|
<Breadcrumb items={[{ text: "Help" }]} />
|
|
@@ -42,96 +49,84 @@ export const Help: Component = () => {
|
|
|
42
49
|
<span>.</span>
|
|
43
50
|
</div>
|
|
44
51
|
</div>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</tr>
|
|
76
|
-
<tr>
|
|
77
|
-
<th>Arguments:</th>
|
|
78
|
-
<td>{appMetadata().args}</td>
|
|
79
|
-
</tr>
|
|
80
|
-
<VcfHeaderRow value={getHeaderValue("VIP_Version", recordsMetadata().lines)} title={"VIP Version"} />
|
|
81
|
-
<VcfHeaderRow value={getHeaderValue("VIP_Command", recordsMetadata().lines)} title={"VIP Command"} />
|
|
82
|
-
</tbody>
|
|
83
|
-
</table>
|
|
52
|
+
<Show when={metadata()} fallback={<Loader />}>
|
|
53
|
+
{(metadata) => (
|
|
54
|
+
<>
|
|
55
|
+
<p class="title is-3">About</p>
|
|
56
|
+
<div class="columns">
|
|
57
|
+
<div class="column">
|
|
58
|
+
<Table>
|
|
59
|
+
<thead>
|
|
60
|
+
<tr>
|
|
61
|
+
<th colSpan={2}>Software metadata</th>
|
|
62
|
+
</tr>
|
|
63
|
+
</thead>
|
|
64
|
+
<tbody>
|
|
65
|
+
<tr>
|
|
66
|
+
<th>Name:</th>
|
|
67
|
+
<td>{metadata().app.name}</td>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<th>Version:</th>
|
|
71
|
+
<td>{metadata().app.version}</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>Arguments:</th>
|
|
75
|
+
<td>{metadata().app.args}</td>
|
|
76
|
+
</tr>
|
|
77
|
+
<VcfHeaderRow value={getHeaderValue(metadata().records, "VIP_Version")} title={"VIP Version"} />
|
|
78
|
+
<VcfHeaderRow value={getHeaderValue(metadata().records, "VIP_Command")} title={"VIP Command"} />
|
|
79
|
+
</tbody>
|
|
80
|
+
</Table>
|
|
81
|
+
</div>
|
|
84
82
|
</div>
|
|
85
|
-
<div class="
|
|
86
|
-
<
|
|
87
|
-
<
|
|
88
|
-
<
|
|
89
|
-
<
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<
|
|
94
|
-
<
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<tr>
|
|
106
|
-
<th>Number of samples:</th>
|
|
107
|
-
<td>{samples().total}</td>
|
|
108
|
-
</tr>
|
|
109
|
-
<tr>
|
|
110
|
-
<th>Phenotypes:</th>
|
|
111
|
-
<td>
|
|
112
|
-
<For each={phenotypes().items}>
|
|
113
|
-
{(item: Item<Phenotype>) => (
|
|
114
|
-
<>
|
|
115
|
-
<b>{item.data.subject.id}: </b>
|
|
116
|
-
<For each={item.data.phenotypicFeaturesList}>
|
|
117
|
-
{(phenotypicFeature: PhenotypicFeature, i) => (
|
|
118
|
-
<>
|
|
119
|
-
{i() > 0 ? ", " : ""}
|
|
120
|
-
<HpoTerm ontologyClass={phenotypicFeature.type} />
|
|
121
|
-
</>
|
|
122
|
-
)}
|
|
123
|
-
</For>
|
|
124
|
-
<br />
|
|
125
|
-
</>
|
|
126
|
-
)}
|
|
127
|
-
</For>
|
|
128
|
-
</td>
|
|
129
|
-
</tr>
|
|
130
|
-
</tbody>
|
|
131
|
-
</table>
|
|
83
|
+
<div class="columns">
|
|
84
|
+
<div class="column">
|
|
85
|
+
<Table>
|
|
86
|
+
<thead>
|
|
87
|
+
<tr>
|
|
88
|
+
<th colSpan={2}>Input metadata</th>
|
|
89
|
+
</tr>
|
|
90
|
+
</thead>
|
|
91
|
+
<tbody>
|
|
92
|
+
<tr>
|
|
93
|
+
<th>Filename:</th>
|
|
94
|
+
<td>{metadata()?.htsFile.uri}</td>
|
|
95
|
+
</tr>
|
|
96
|
+
<tr>
|
|
97
|
+
<th>Assembly:</th>
|
|
98
|
+
<td>{metadata()?.htsFile.genomeAssembly}</td>
|
|
99
|
+
</tr>
|
|
100
|
+
</tbody>
|
|
101
|
+
</Table>
|
|
102
|
+
</div>
|
|
132
103
|
</div>
|
|
133
|
-
|
|
134
|
-
|
|
104
|
+
</>
|
|
105
|
+
)}
|
|
106
|
+
</Show>
|
|
107
|
+
<Show when={config()} fallback={<Loader />}>
|
|
108
|
+
{(config) => (
|
|
109
|
+
<>
|
|
110
|
+
<p class="title is-3">Configuration</p>
|
|
111
|
+
<p class="subtitle is-5">Listing of all VIP parameters used in the process to create this report</p>
|
|
112
|
+
<div class="columns">
|
|
113
|
+
<div class="column">
|
|
114
|
+
<Table>
|
|
115
|
+
<tbody>
|
|
116
|
+
<For each={createParamList(config())}>
|
|
117
|
+
{([key, value]) => (
|
|
118
|
+
<tr>
|
|
119
|
+
<th>{key}</th>
|
|
120
|
+
<td>{value}</td>
|
|
121
|
+
</tr>
|
|
122
|
+
)}
|
|
123
|
+
</For>
|
|
124
|
+
</tbody>
|
|
125
|
+
</Table>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
</>
|
|
129
|
+
)}
|
|
135
130
|
</Show>
|
|
136
131
|
</>
|
|
137
132
|
);
|
package/src/views/Home.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component } from "solid-js";
|
|
2
2
|
import { Breadcrumb } from "../components/Breadcrumb";
|
|
3
3
|
import { useNavigate } from "@solidjs/router";
|
|
4
|
+
import { href } from "../utils/utils.ts";
|
|
4
5
|
|
|
5
6
|
export const Home: Component = () => {
|
|
6
7
|
const navigate = useNavigate();
|
|
@@ -17,10 +18,10 @@ export const Home: Component = () => {
|
|
|
17
18
|
<div class="columns">
|
|
18
19
|
<div class="column">
|
|
19
20
|
<div class="buttons are-large">
|
|
20
|
-
<button class="button is-large" onClick={() => navigate("
|
|
21
|
+
<button class="button is-large" onClick={() => navigate(href(["variants"]))}>
|
|
21
22
|
Explore Variants without samples
|
|
22
23
|
</button>
|
|
23
|
-
<button class="button is-large is-primary" onClick={() => navigate("
|
|
24
|
+
<button class="button is-large is-primary" onClick={() => navigate(href(["samples"]))}>
|
|
24
25
|
Explore Variants for samples
|
|
25
26
|
</button>
|
|
26
27
|
</div>
|
package/src/views/Sample.tsx
CHANGED
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
import { Component, For, Show } from "solid-js";
|
|
2
|
-
import { createAsync, RouteSectionProps } from "@solidjs/router";
|
|
2
|
+
import { A, createAsync, RouteSectionProps } from "@solidjs/router";
|
|
3
3
|
import { Loader } from "../components/Loader";
|
|
4
4
|
import { Breadcrumb } from "../components/Breadcrumb";
|
|
5
|
-
import {
|
|
5
|
+
import { getSampleById } from "./data/data";
|
|
6
|
+
import { href } from "../utils/utils.ts";
|
|
6
7
|
|
|
7
8
|
export const Sample: Component<RouteSectionProps> = (props) => {
|
|
8
|
-
const sample = createAsync(() =>
|
|
9
|
+
const sample = createAsync(() => getSampleById(props.params.sampleId));
|
|
9
10
|
|
|
10
11
|
return (
|
|
11
12
|
<Show when={sample()} fallback={<Loader />}>
|
|
12
13
|
{(sample) => (
|
|
13
14
|
<>
|
|
14
|
-
<Breadcrumb
|
|
15
|
+
<Breadcrumb
|
|
16
|
+
items={[{ href: href(["samples"]), text: "Samples" }, { text: sample().item.data.person.individualId }]}
|
|
17
|
+
/>
|
|
15
18
|
<p class="has-text-weight-semibold">Sample</p>
|
|
16
19
|
<div class="columns">
|
|
17
20
|
<div class="column is-1">
|
|
18
|
-
<For each={Object.keys(sample().data.person)}>{(key) => <p>{key}</p>}</For>
|
|
21
|
+
<For each={Object.keys(sample().item.data.person)}>{(key) => <p>{key}</p>}</For>
|
|
19
22
|
</div>
|
|
20
23
|
<div class="column is-1">
|
|
21
|
-
<For each={Object.values(sample().data.person)}>{(value) => <p>{value}</p>}</For>
|
|
24
|
+
<For each={Object.values(sample().item.data.person)}>{(value) => <p>{value}</p>}</For>
|
|
22
25
|
</div>
|
|
23
26
|
</div>
|
|
24
27
|
<br />
|
|
25
|
-
<
|
|
28
|
+
<A href={href(["samples", sample().item.id, "variants"])} end={true}>
|
|
29
|
+
Variants
|
|
30
|
+
</A>
|
|
26
31
|
</>
|
|
27
32
|
)}
|
|
28
33
|
</Show>
|
|
@@ -1,52 +1,35 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, Show } from "solid-js";
|
|
2
2
|
import { createAsync, RouteSectionProps } from "@solidjs/router";
|
|
3
3
|
import { Loader } from "../components/Loader";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { VariantInfoNestedTable } from "../components/VariantInfoNestedTable";
|
|
9
|
-
import { Value } from "@molgenis/vip-report-vcf/src/ValueParser";
|
|
10
|
-
import { getNestedInfoFieldsWithValues } from "../utils/field";
|
|
11
|
-
import { VariantSampleTable } from "../components/VariantSampleTable";
|
|
12
|
-
import { Breadcrumb } from "../components/Breadcrumb";
|
|
13
|
-
import { getRecordSamples } from "../utils/viewUtils";
|
|
14
|
-
import { getSampleLabel } from "../utils/sample";
|
|
15
|
-
import { Item, Sample } from "@molgenis/vip-report-api/src/Api";
|
|
16
|
-
import { Metadata, Record } from "@molgenis/vip-report-vcf/src/Vcf";
|
|
17
|
-
import { Abbr } from "../components/Abbr";
|
|
18
|
-
import { getSample, getVariant } from "./data/data";
|
|
4
|
+
import { getConfig, getMetadata, getRecordById, getSampleById } from "./data/data";
|
|
5
|
+
import { parseVariantType } from "../utils/variantType.ts";
|
|
6
|
+
import { VariantContainer } from "../components/VariantContainer.tsx";
|
|
7
|
+
import { VariantBreadcrumb } from "../components/VariantBreadcrumb.tsx";
|
|
19
8
|
|
|
20
|
-
export const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
const
|
|
9
|
+
export const SampleVariant: Component<RouteSectionProps> = (props) => {
|
|
10
|
+
const variantType = () => parseVariantType(props.params.variantType);
|
|
11
|
+
const sample = createAsync(() => getSampleById(props.params.sampleId));
|
|
12
|
+
const record = createAsync(() => getRecordById(props.params.variantId));
|
|
13
|
+
const metadata = createAsync(() => getMetadata());
|
|
14
|
+
const config = createAsync(() => getConfig());
|
|
26
15
|
|
|
27
16
|
return (
|
|
28
17
|
<Show when={sample()} fallback={<Loader />}>
|
|
29
18
|
{(sample) => (
|
|
30
|
-
<Show when={
|
|
31
|
-
{(
|
|
19
|
+
<Show when={record()} fallback={<Loader />}>
|
|
20
|
+
{(record) => (
|
|
32
21
|
<>
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<Show when={recordsMeta()} fallback={<Loader />}>
|
|
44
|
-
{(recordsMeta) => (
|
|
45
|
-
<SampleVariant
|
|
22
|
+
<VariantBreadcrumb variantType={variantType()} sample={sample()} record={record()} />
|
|
23
|
+
<Show when={metadata()} fallback={<Loader />}>
|
|
24
|
+
{(metadata) => (
|
|
25
|
+
<Show when={config()} fallback={<Loader />}>
|
|
26
|
+
{(config) => (
|
|
27
|
+
<VariantContainer
|
|
28
|
+
config={config()}
|
|
29
|
+
metadata={metadata()}
|
|
30
|
+
variantType={variantType()}
|
|
31
|
+
record={record()}
|
|
46
32
|
sample={sample()}
|
|
47
|
-
pedigreeSamples={pedigreeSamples().items}
|
|
48
|
-
recordsMeta={recordsMeta()}
|
|
49
|
-
record={variant()}
|
|
50
33
|
/>
|
|
51
34
|
)}
|
|
52
35
|
</Show>
|
|
@@ -59,75 +42,3 @@ export const SampleVariantView: Component<RouteSectionProps> = (props) => {
|
|
|
59
42
|
</Show>
|
|
60
43
|
);
|
|
61
44
|
};
|
|
62
|
-
|
|
63
|
-
export const SampleVariant: Component<{
|
|
64
|
-
sample: Item<Sample>;
|
|
65
|
-
pedigreeSamples: Item<Sample>[];
|
|
66
|
-
recordsMeta: Metadata;
|
|
67
|
-
record: Item<Record>;
|
|
68
|
-
}> = (props) => {
|
|
69
|
-
return (
|
|
70
|
-
<>
|
|
71
|
-
<div class="columns">
|
|
72
|
-
<div class="column">
|
|
73
|
-
<GenomeBrowser
|
|
74
|
-
contig={props.record.data.c}
|
|
75
|
-
position={props.record.data.p}
|
|
76
|
-
samples={[props.sample.data, ...props.pedigreeSamples.map((item) => item.data)]}
|
|
77
|
-
/>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="columns">
|
|
81
|
-
<div class="column is-3">
|
|
82
|
-
<h1 class="title is-5">Record</h1>
|
|
83
|
-
<VariantTable variant={props.record.data} />
|
|
84
|
-
</div>
|
|
85
|
-
<Show
|
|
86
|
-
when={
|
|
87
|
-
Object.values(props.recordsMeta.info).filter(
|
|
88
|
-
(info) => !info.nested && props.record.data.n[info.id] !== undefined,
|
|
89
|
-
).length > 0
|
|
90
|
-
}
|
|
91
|
-
>
|
|
92
|
-
<div class="column is-3">
|
|
93
|
-
<h1 class="title is-5">Info</h1>
|
|
94
|
-
<VariantInfoTable infoFields={props.recordsMeta.info} record={props.record} />
|
|
95
|
-
</div>
|
|
96
|
-
</Show>
|
|
97
|
-
<div class="column">
|
|
98
|
-
<h1 class="title is-5">Samples</h1>
|
|
99
|
-
<VariantSampleTable
|
|
100
|
-
formatFields={props.recordsMeta.format}
|
|
101
|
-
samples={[props.sample.data, ...props.pedigreeSamples.map((item) => item.data)]}
|
|
102
|
-
sampleValues={getRecordSamples(
|
|
103
|
-
props.record.data,
|
|
104
|
-
props.sample.data,
|
|
105
|
-
props.pedigreeSamples.map((item) => item.data),
|
|
106
|
-
)}
|
|
107
|
-
record={props.record}
|
|
108
|
-
/>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
<div class="columns">
|
|
112
|
-
<div class="column" style={{ "max-width": "100%" }}>
|
|
113
|
-
<For each={getNestedInfoFieldsWithValues(props.recordsMeta.info, props.record.data.n)}>
|
|
114
|
-
{(infoField) => (
|
|
115
|
-
<>
|
|
116
|
-
<h1 class="title is-5">{infoField.id}</h1>
|
|
117
|
-
<p class="mb-4">
|
|
118
|
-
<Abbr value={infoField.description as string} title={infoField.description as string} />
|
|
119
|
-
</p>
|
|
120
|
-
<VariantInfoNestedTable
|
|
121
|
-
infoValue={props.record.data.n[infoField.id] as unknown as Value[][]}
|
|
122
|
-
infoField={infoField}
|
|
123
|
-
sample={{ id: props.sample.id, label: props.sample.data.person.individualId }}
|
|
124
|
-
record={props.record}
|
|
125
|
-
/>
|
|
126
|
-
</>
|
|
127
|
-
)}
|
|
128
|
-
</For>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
</>
|
|
132
|
-
);
|
|
133
|
-
};
|
|
@@ -1,126 +1,66 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, Show } from "solid-js";
|
|
2
2
|
import { createAsync, RouteSectionProps } from "@solidjs/router";
|
|
3
3
|
import { Loader } from "../components/Loader";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { ConsequenceTable } from "../components/ConsequenceTable";
|
|
10
|
-
import { getRecordSamples, getSpecificConsequence } from "../utils/viewUtils";
|
|
11
|
-
import { DecisionTreePath } from "../components/tree/DecisionTreePath";
|
|
12
|
-
import { getDecisionTreePath } from "../utils/decisionTreeUtils";
|
|
13
|
-
import { getSampleLabel } from "../utils/sample";
|
|
14
|
-
import { DecisionTree, Item, Sample } from "@molgenis/vip-report-api/src/Api";
|
|
15
|
-
import { Metadata, Record } from "@molgenis/vip-report-vcf/src/Vcf";
|
|
16
|
-
import { ValueArray } from "@molgenis/vip-report-vcf/src/ValueParser";
|
|
17
|
-
import { getSample, getVariant } from "./data/data";
|
|
4
|
+
import { getConfig, getDecisionTree, getMetadata, getRecordById, getSampleById, getSampleTree } from "./data/data";
|
|
5
|
+
import { parseId } from "../utils/utils.ts";
|
|
6
|
+
import { VariantConsequenceContainer } from "../components/VariantConsequenceContainer.tsx";
|
|
7
|
+
import { parseVariantType } from "../utils/variantType.ts";
|
|
8
|
+
import { VariantBreadcrumb } from "../components/VariantBreadcrumb.tsx";
|
|
18
9
|
|
|
19
|
-
export const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
10
|
+
export const SampleVariantConsequence: Component<RouteSectionProps> = (props) => {
|
|
11
|
+
const variantType = () => parseVariantType(props.params.variantType);
|
|
12
|
+
const consequenceId = () => parseId(props.params.consequenceId);
|
|
13
|
+
const metadata = createAsync(() => getMetadata());
|
|
14
|
+
const sample = createAsync(() => getSampleById(props.params.sampleId));
|
|
15
|
+
const record = createAsync(() => getRecordById(props.params.variantId));
|
|
16
|
+
const config = createAsync(() => getConfig());
|
|
17
|
+
const decisionTree = createAsync(() => getDecisionTree());
|
|
18
|
+
const sampleTree = createAsync(() => getSampleTree());
|
|
26
19
|
|
|
27
20
|
return (
|
|
28
21
|
<Show when={sample()} fallback={<Loader />}>
|
|
29
22
|
{(sample) => (
|
|
30
|
-
<Show when={
|
|
31
|
-
{(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
{
|
|
36
|
-
{
|
|
37
|
-
{
|
|
38
|
-
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
23
|
+
<Show when={record()} fallback={<Loader />}>
|
|
24
|
+
{(record) => {
|
|
25
|
+
return (
|
|
26
|
+
<>
|
|
27
|
+
<VariantBreadcrumb
|
|
28
|
+
variantType={variantType()}
|
|
29
|
+
sample={sample()}
|
|
30
|
+
record={record()}
|
|
31
|
+
consequenceId={consequenceId()}
|
|
32
|
+
/>
|
|
33
|
+
<Show when={metadata()} fallback={<Loader />}>
|
|
34
|
+
{(metadata) => (
|
|
35
|
+
<Show when={config()} fallback={<Loader />}>
|
|
36
|
+
{(config) => (
|
|
37
|
+
<Show when={decisionTree()} fallback={<Loader />}>
|
|
38
|
+
{(decisionTree) => (
|
|
39
|
+
<Show when={sampleTree()} fallback={<Loader />}>
|
|
40
|
+
{(sampleTree) => (
|
|
41
|
+
<VariantConsequenceContainer
|
|
42
|
+
config={config()}
|
|
43
|
+
metadata={metadata()}
|
|
44
|
+
variantType={variantType()}
|
|
45
|
+
consequenceId={consequenceId()}
|
|
46
|
+
record={record()}
|
|
47
|
+
sample={sample()}
|
|
48
|
+
decisionTree={decisionTree()}
|
|
49
|
+
sampleTree={sampleTree()}
|
|
50
|
+
/>
|
|
51
|
+
)}
|
|
52
|
+
</Show>
|
|
53
|
+
)}
|
|
54
|
+
</Show>
|
|
55
|
+
)}
|
|
56
|
+
</Show>
|
|
57
|
+
)}
|
|
58
|
+
</Show>
|
|
59
|
+
</>
|
|
60
|
+
);
|
|
61
|
+
}}
|
|
63
62
|
</Show>
|
|
64
63
|
)}
|
|
65
64
|
</Show>
|
|
66
65
|
);
|
|
67
66
|
};
|
|
68
|
-
|
|
69
|
-
export const SampleVariantConsequence: Component<{
|
|
70
|
-
sample: Item<Sample>;
|
|
71
|
-
pedigreeSamples: Item<Sample>[];
|
|
72
|
-
recordsMeta: Metadata;
|
|
73
|
-
variant: Item<Record>;
|
|
74
|
-
consequenceId: number;
|
|
75
|
-
decisionTree: DecisionTree | null;
|
|
76
|
-
}> = (props) => {
|
|
77
|
-
const hasDecisionTreePathMeta = () =>
|
|
78
|
-
(props.recordsMeta.info.CSQ?.nested?.items || []).findIndex((csq) => csq.id === "VIPP") !== -1;
|
|
79
|
-
|
|
80
|
-
return (
|
|
81
|
-
<>
|
|
82
|
-
<div class="columns">
|
|
83
|
-
<div class="column is-6">
|
|
84
|
-
<h1 class="title is-5">Consequence</h1>
|
|
85
|
-
<ConsequenceTable
|
|
86
|
-
csqMetadata={props.recordsMeta.info.CSQ.nested !== undefined ? props.recordsMeta.info.CSQ.nested.items : []}
|
|
87
|
-
csqValues={getSpecificConsequence(props.variant.data.n.CSQ as ValueArray, props.consequenceId)}
|
|
88
|
-
record={props.variant}
|
|
89
|
-
/>
|
|
90
|
-
</div>
|
|
91
|
-
{props.decisionTree !== null && hasDecisionTreePathMeta() && (
|
|
92
|
-
<div class="column">
|
|
93
|
-
<h1 class="title is-5">Classification tree path</h1>
|
|
94
|
-
<DecisionTreePath
|
|
95
|
-
decisionTree={props.decisionTree}
|
|
96
|
-
path={getDecisionTreePath(props.recordsMeta, props.variant, props.consequenceId)}
|
|
97
|
-
/>
|
|
98
|
-
</div>
|
|
99
|
-
)}
|
|
100
|
-
</div>
|
|
101
|
-
<div class="columns">
|
|
102
|
-
<div class="column is-3">
|
|
103
|
-
<h1 class="title is-5">Record</h1>
|
|
104
|
-
<VariantTable variant={props.variant.data} />
|
|
105
|
-
</div>
|
|
106
|
-
<div class="column is-3">
|
|
107
|
-
<h1 class="title is-5">Info</h1>
|
|
108
|
-
<VariantInfoTable infoFields={props.recordsMeta.info} record={props.variant} />
|
|
109
|
-
</div>
|
|
110
|
-
<div class="column">
|
|
111
|
-
<h1 class="title is-5">Samples</h1>
|
|
112
|
-
<VariantSampleTable
|
|
113
|
-
formatFields={props.recordsMeta.format}
|
|
114
|
-
samples={[props.sample.data, ...props.pedigreeSamples.map((item) => item.data)]}
|
|
115
|
-
sampleValues={getRecordSamples(
|
|
116
|
-
props.variant.data,
|
|
117
|
-
props.sample.data,
|
|
118
|
-
props.pedigreeSamples.map((item) => item.data),
|
|
119
|
-
)}
|
|
120
|
-
record={props.variant}
|
|
121
|
-
/>
|
|
122
|
-
</div>
|
|
123
|
-
</div>
|
|
124
|
-
</>
|
|
125
|
-
);
|
|
126
|
-
};
|