@genspectrum/dashboard-components 1.16.0 → 1.18.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/custom-elements.json +7 -7
- package/dist/components.d.ts +145 -45
- package/dist/components.js +524 -291
- package/dist/components.js.map +1 -1
- package/dist/util.d.ts +215 -55
- package/package.json +1 -1
- package/src/preact/MutationAnnotationsContext.spec.tsx +82 -10
- package/src/preact/MutationAnnotationsContext.tsx +93 -45
- package/src/preact/components/annotated-mutation.stories.tsx +31 -0
- package/src/preact/components/annotated-mutation.tsx +5 -5
- package/src/preact/components/csv-download-button.tsx +22 -14
- package/src/preact/components/features-over-time-grid.tsx +189 -43
- package/src/preact/components/mutations-over-time-mutations-filter.stories.tsx +1 -1
- package/src/preact/components/mutations-over-time-mutations-filter.tsx +1 -1
- package/src/preact/mutationsOverTime/__mockData__/aminoAcidMutationsByDay/aminoAcidMutationsOverTimePage1.json +52 -0
- package/src/preact/mutationsOverTime/__mockData__/byWeek/mutationsOverTimePage1.json +76 -0
- package/src/preact/mutationsOverTime/__mockData__/defaultMockData/mockDefaultMutationsOverTimeWithFilter.json +43 -0
- package/src/preact/mutationsOverTime/__mockData__/defaultMockData/mutationsOverTimePage1.json +126 -0
- package/src/preact/mutationsOverTime/__mockData__/defaultMockData/mutationsOverTimePage2.json +116 -0
- package/src/preact/mutationsOverTime/__mockData__/defaultMockData/mutationsOverTimePageSize20.json +216 -0
- package/src/preact/mutationsOverTime/getFilteredMutationCodes.spec.ts +236 -0
- package/src/preact/mutationsOverTime/{getFilteredMutationsOverTimeData.ts → getFilteredMutationCodes.ts} +34 -49
- package/src/preact/mutationsOverTime/mutations-over-time.stories.tsx +128 -23
- package/src/preact/mutationsOverTime/mutations-over-time.tsx +139 -74
- package/src/preact/mutationsOverTime/useMutationsOverTimePageData.ts +111 -0
- package/src/preact/shared/tanstackTable/pagination-context.tsx +5 -2
- package/src/preact/shared/tanstackTable/pagination.tsx +11 -9
- package/src/preact/shared/tanstackTable/tanstackTable.tsx +7 -4
- package/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.tsx +1 -1
- package/src/query/queryMutationsOverTime.spec.ts +187 -662
- package/src/query/queryMutationsOverTime.ts +46 -33
- package/src/utils/useControlledState.ts +15 -0
- package/src/web-components/gs-app.ts +8 -4
- package/src/web-components/mutation-annotations-context.ts +13 -5
- package/src/web-components/mutationAnnotations.mdx +29 -0
- package/src/web-components/visualization/gs-mutations-over-time.stories.ts +78 -22
- package/standalone-bundle/dashboard-components.js +6914 -6701
- package/standalone-bundle/dashboard-components.js.map +1 -1
- package/src/preact/mutationsOverTime/__mockData__/aminoAcidMutationsByDay/aminoAcidMutationsOverTime.json +0 -5496
- package/src/preact/mutationsOverTime/__mockData__/byWeek/mutationsOverTime.json +0 -7100
- package/src/preact/mutationsOverTime/__mockData__/defaultMockData/mutationsOverTime.json +0 -12646
- package/src/preact/mutationsOverTime/getFilteredMutationsOverTime.spec.ts +0 -417
package/custom-elements.json
CHANGED
|
@@ -246,10 +246,10 @@
|
|
|
246
246
|
"kind": "field",
|
|
247
247
|
"name": "mutationAnnotations",
|
|
248
248
|
"type": {
|
|
249
|
-
"text": "{\n name: string;\n description: string;\n symbol: string;\n nucleotideMutations?: string[];\n nucleotidePositions?: string[];\n aminoAcidMutations?: string[];\n aminoAcidPositions?: string[];\n }[]"
|
|
249
|
+
"text": "{\n name: string;\n description: string;\n symbol: string;\n nucleotideMutations?: (string | { mutation: string; name?: string; description?: string })[];\n nucleotidePositions?: (string | { position: string; name?: string; description?: string })[];\n aminoAcidMutations?: (string | { mutation: string; name?: string; description?: string })[];\n aminoAcidPositions?: (string | { position: string; name?: string; description?: string })[];\n }[]"
|
|
250
250
|
},
|
|
251
251
|
"default": "[]",
|
|
252
|
-
"description": "Supply lists of mutations that are especially relevant for the current organism.\n\nVisit https://genspectrum.github.io/dashboard-components/?path=/docs/concepts-mutation-annotations--docs for more information.",
|
|
252
|
+
"description": "Supply lists of mutations that are especially relevant for the current organism.\n\nEach entry in `nucleotideMutations`, `aminoAcidMutations`, `nucleotidePositions`, and `aminoAcidPositions`\ncan be either a plain string or an object with an optional `name` and `description` that override the\ngroup-level values in the annotation popup for that specific mutation or position.\n\nVisit https://genspectrum.github.io/dashboard-components/?path=/docs/concepts-mutation-annotations--docs for more information.",
|
|
253
253
|
"attribute": "mutationAnnotations"
|
|
254
254
|
},
|
|
255
255
|
{
|
|
@@ -276,10 +276,10 @@
|
|
|
276
276
|
{
|
|
277
277
|
"name": "mutationAnnotations",
|
|
278
278
|
"type": {
|
|
279
|
-
"text": "{\n name: string;\n description: string;\n symbol: string;\n nucleotideMutations?: string[];\n nucleotidePositions?: string[];\n aminoAcidMutations?: string[];\n aminoAcidPositions?: string[];\n }[]"
|
|
279
|
+
"text": "{\n name: string;\n description: string;\n symbol: string;\n nucleotideMutations?: (string | { mutation: string; name?: string; description?: string })[];\n nucleotidePositions?: (string | { position: string; name?: string; description?: string })[];\n aminoAcidMutations?: (string | { mutation: string; name?: string; description?: string })[];\n aminoAcidPositions?: (string | { position: string; name?: string; description?: string })[];\n }[]"
|
|
280
280
|
},
|
|
281
281
|
"default": "[]",
|
|
282
|
-
"description": "Supply lists of mutations that are especially relevant for the current organism.\n\nVisit https://genspectrum.github.io/dashboard-components/?path=/docs/concepts-mutation-annotations--docs for more information.",
|
|
282
|
+
"description": "Supply lists of mutations that are especially relevant for the current organism.\n\nEach entry in `nucleotideMutations`, `aminoAcidMutations`, `nucleotidePositions`, and `aminoAcidPositions`\ncan be either a plain string or an object with an optional `name` and `description` that override the\ngroup-level values in the annotation popup for that specific mutation or position.\n\nVisit https://genspectrum.github.io/dashboard-components/?path=/docs/concepts-mutation-annotations--docs for more information.",
|
|
283
283
|
"fieldName": "mutationAnnotations"
|
|
284
284
|
},
|
|
285
285
|
{
|
|
@@ -2717,7 +2717,7 @@
|
|
|
2717
2717
|
"type": {
|
|
2718
2718
|
"text": "Meta<Required<MutationsOverTimeProps>>"
|
|
2719
2719
|
},
|
|
2720
|
-
"default": "{ title: 'Visualization/Mutations over time', component: 'gs-mutations-over-time', argTypes: { lapisFilter: { control: 'object' }, sequenceType: { options: ['nucleotide', 'amino acid'], control: { type: 'radio' }, }, views: { options: ['grid'], control: { type: 'check' }, }, width: { control: 'text' }, height: { control: 'text' }, granularity: { options: ['day', 'week', 'month', 'year'], control: { type: 'radio' }, }, lapisDateField: { control: 'text' }, displayMutations: { control: 'object' }, initialMeanProportionInterval: { control: 'object' }, hideGaps: { control: 'boolean' }, pageSizes: { control: 'object' }, customColumns: { control: 'object' }, }, args: { lapisFilter: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-07-10' }, sequenceType: 'nucleotide', views: ['grid'], width: '100%', granularity: 'month', lapisDateField: 'date', initialMeanProportionInterval: { min: 0.05, max: 0.9 }, hideGaps: false, pageSizes: [10, 20, 30, 40, 50], }, parameters: withComponentDocs({ componentDocs: { opensShadowDom: true, expectsChildren: false, codeExample, }, fetchMock: { mocks: [ { matcher: { url: `${LAPIS_URL}/sample/nucleotideMutations`, body: { pangoLineage: 'JN.1*', dateFrom: '2024-01-01', dateTo: '2024-07-31', minProportion: 0.001, }, response: { status: 200, body: mockDefaultNucleotideMutations, }, }, }, { matcher: { url: `${LAPIS_URL}/component/nucleotideMutationsOverTime`, body: { filters: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-07-10'
|
|
2720
|
+
"default": "{ title: 'Visualization/Mutations over time', component: 'gs-mutations-over-time', argTypes: { lapisFilter: { control: 'object' }, sequenceType: { options: ['nucleotide', 'amino acid'], control: { type: 'radio' }, }, views: { options: ['grid'], control: { type: 'check' }, }, width: { control: 'text' }, height: { control: 'text' }, granularity: { options: ['day', 'week', 'month', 'year'], control: { type: 'radio' }, }, lapisDateField: { control: 'text' }, displayMutations: { control: 'object' }, initialMeanProportionInterval: { control: 'object' }, hideGaps: { control: 'boolean' }, pageSizes: { control: 'object' }, customColumns: { control: 'object' }, }, args: { lapisFilter: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-07-10' }, sequenceType: 'nucleotide', views: ['grid'], width: '100%', granularity: 'month', lapisDateField: 'date', initialMeanProportionInterval: { min: 0.05, max: 0.9 }, hideGaps: false, pageSizes: [10, 20, 30, 40, 50], }, parameters: withComponentDocs({ componentDocs: { opensShadowDom: true, expectsChildren: false, codeExample, }, fetchMock: { mocks: [ { matcher: { url: `${LAPIS_URL}/sample/nucleotideMutations`, body: { pangoLineage: 'JN.1*', dateFrom: '2024-01-01', dateTo: '2024-07-31', minProportion: 0.001, }, response: { status: 200, body: mockDefaultNucleotideMutations, }, }, }, { matcher: { url: `${LAPIS_URL}/component/nucleotideMutationsOverTime`, body: { filters: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-07-10' }, dateRanges: [ { dateFrom: '2024-01-01', dateTo: '2024-01-31' }, { dateFrom: '2024-02-01', dateTo: '2024-02-29' }, { dateFrom: '2024-03-01', dateTo: '2024-03-31' }, { dateFrom: '2024-04-01', dateTo: '2024-04-30' }, { dateFrom: '2024-05-01', dateTo: '2024-05-31' }, { dateFrom: '2024-06-01', dateTo: '2024-06-30' }, { dateFrom: '2024-07-01', dateTo: '2024-07-31' }, ], includeMutations: [ 'C44T', 'C774T', 'C7113T', 'C12616T', 'A13121T', 'G15372T', 'G17334T', 'T18453C', 'A19722G', 'T21653-', ], dateField: 'date', }, response: { status: 200, body: mockDefaultMutationsOverTimePage1, }, }, }, { matcher: { name: 'downloadData', url: `${LAPIS_URL}/component/nucleotideMutationsOverTime`, body: { filters: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-07-10' }, dateRanges: [ { dateFrom: '2024-01-01', dateTo: '2024-01-31' }, { dateFrom: '2024-02-01', dateTo: '2024-02-29' }, { dateFrom: '2024-03-01', dateTo: '2024-03-31' }, { dateFrom: '2024-04-01', dateTo: '2024-04-30' }, { dateFrom: '2024-05-01', dateTo: '2024-05-31' }, { dateFrom: '2024-06-01', dateTo: '2024-06-30' }, { dateFrom: '2024-07-01', dateTo: '2024-07-31' }, ], includeMutations: [ 'C44T', 'C774T', 'C7113T', 'C12616T', 'A13121T', 'G15372T', 'G17334T', 'T18453C', 'A19722G', 'T21653-', 'C21654-', 'T21655-', 'G22111T', 'G22599C', 'T22928C', 'T23011-', 'C23039G', 'C23277T', 'G24872T', ], dateField: 'date', }, response: { status: 200, body: mockDefaultMutationsOverTimePageSize20, }, }, }, ], }, }), tags: ['autodocs'], }"
|
|
2721
2721
|
},
|
|
2722
2722
|
{
|
|
2723
2723
|
"kind": "variable",
|
|
@@ -2749,7 +2749,7 @@
|
|
|
2749
2749
|
"type": {
|
|
2750
2750
|
"text": "StoryObj<Required<MutationsOverTimeProps>>"
|
|
2751
2751
|
},
|
|
2752
|
-
"default": "{ ...Template, args: { ...Template.args, lapisFilter: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-02-11' }, granularity: 'week', }, parameters: { fetchMock: { mocks: [ { matcher: { url: `${LAPIS_URL}/sample/nucleotideMutations`, body: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-02-11', minProportion: 0.001, }, response: { status: 200, body: mockByWeekNucleotideMutations, }, }, }, { matcher: { url: `${LAPIS_URL}/component/nucleotideMutationsOverTime`, body: { filters: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-02-11'
|
|
2752
|
+
"default": "{ ...Template, args: { ...Template.args, lapisFilter: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-02-11' }, granularity: 'week', }, parameters: { fetchMock: { mocks: [ { matcher: { url: `${LAPIS_URL}/sample/nucleotideMutations`, body: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-02-11', minProportion: 0.001, }, response: { status: 200, body: mockByWeekNucleotideMutations, }, }, }, { matcher: { url: `${LAPIS_URL}/component/nucleotideMutationsOverTime`, body: { filters: { pangoLineage: 'JN.1*', dateFrom: '2024-01-15', dateTo: '2024-02-11' }, dateRanges: [ { dateFrom: '2024-01-15', dateTo: '2024-01-21' }, { dateFrom: '2024-01-22', dateTo: '2024-01-28' }, { dateFrom: '2024-01-29', dateTo: '2024-02-04' }, { dateFrom: '2024-02-05', dateTo: '2024-02-11' }, ], includeMutations: [ 'C44T', 'C774T', 'C1762A', 'C11747T', 'G17562T', 'T18453C', 'G21641T', 'C23277T', 'C29870A', ], dateField: 'date', }, matchPartialBody: true, response: { status: 200, body: mockByWeekMutationsOverTimePage1, }, }, }, ], }, }, }"
|
|
2753
2753
|
},
|
|
2754
2754
|
{
|
|
2755
2755
|
"kind": "variable",
|
|
@@ -2757,7 +2757,7 @@
|
|
|
2757
2757
|
"type": {
|
|
2758
2758
|
"text": "StoryObj<Required<MutationsOverTimeProps>>"
|
|
2759
2759
|
},
|
|
2760
|
-
"default": "{ ...Template, args: { ...Template.args, lapisFilter: { pangoLineage: 'JN.1*', dateFrom: '2024-01-20', dateTo: '2024-01-26' }, granularity: 'day', sequenceType: 'amino acid', }, parameters: { fetchMock: { mocks: [ { matcher: { url: `${LAPIS_URL}/sample/aminoAcidMutations`, body: { pangoLineage: 'JN.1*', dateFrom: '2024-01-20', dateTo: '2024-01-26', minProportion: 0.001, }, response: { status: 200, body: mockAminoAcidMutationsByDayAminoAcidMutations, }, }, }, { matcher: { url: `${LAPIS_URL}/component/aminoAcidMutationsOverTime`, body: { filters: { pangoLineage: 'JN.1*', dateFrom: '2024-01-20', dateTo: '2024-01-26'
|
|
2760
|
+
"default": "{ ...Template, args: { ...Template.args, lapisFilter: { pangoLineage: 'JN.1*', dateFrom: '2024-01-20', dateTo: '2024-01-26' }, granularity: 'day', sequenceType: 'amino acid', }, parameters: { fetchMock: { mocks: [ { matcher: { url: `${LAPIS_URL}/sample/aminoAcidMutations`, body: { pangoLineage: 'JN.1*', dateFrom: '2024-01-20', dateTo: '2024-01-26', minProportion: 0.001, }, response: { status: 200, body: mockAminoAcidMutationsByDayAminoAcidMutations, }, }, }, { matcher: { url: `${LAPIS_URL}/component/aminoAcidMutationsOverTime`, body: { filters: { pangoLineage: 'JN.1*', dateFrom: '2024-01-20', dateTo: '2024-01-26' }, dateRanges: [ { dateFrom: '2024-01-20', dateTo: '2024-01-20' }, { dateFrom: '2024-01-21', dateTo: '2024-01-21' }, { dateFrom: '2024-01-22', dateTo: '2024-01-22' }, { dateFrom: '2024-01-23', dateTo: '2024-01-23' }, { dateFrom: '2024-01-24', dateTo: '2024-01-24' }, { dateFrom: '2024-01-25', dateTo: '2024-01-25' }, { dateFrom: '2024-01-26', dateTo: '2024-01-26' }, ], includeMutations: ['ORF1a:T170I', 'ORF1a:F499L', 'S:T572I'], dateField: 'date', }, matchPartialBody: true, response: { status: 200, body: mockAminoAcidMutationsByDayAminoAcidMutationsOverTimePage1, }, }, }, ], }, }, }"
|
|
2761
2761
|
},
|
|
2762
2762
|
{
|
|
2763
2763
|
"kind": "variable",
|
package/dist/components.d.ts
CHANGED
|
@@ -118,16 +118,36 @@ export declare class AppComponent extends LitElement {
|
|
|
118
118
|
/**
|
|
119
119
|
* Supply lists of mutations that are especially relevant for the current organism.
|
|
120
120
|
*
|
|
121
|
+
* Each entry in `nucleotideMutations`, `aminoAcidMutations`, `nucleotidePositions`, and `aminoAcidPositions`
|
|
122
|
+
* can be either a plain string or an object with an optional `name` and `description` that override the
|
|
123
|
+
* group-level values in the annotation popup for that specific mutation or position.
|
|
124
|
+
*
|
|
121
125
|
* Visit https://genspectrum.github.io/dashboard-components/?path=/docs/concepts-mutation-annotations--docs for more information.
|
|
122
126
|
*/
|
|
123
127
|
mutationAnnotations: {
|
|
124
128
|
name: string;
|
|
125
129
|
description: string;
|
|
126
130
|
symbol: string;
|
|
127
|
-
nucleotideMutations?: string
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
nucleotideMutations?: (string | {
|
|
132
|
+
mutation: string;
|
|
133
|
+
name?: string;
|
|
134
|
+
description?: string;
|
|
135
|
+
})[];
|
|
136
|
+
nucleotidePositions?: (string | {
|
|
137
|
+
position: string;
|
|
138
|
+
name?: string;
|
|
139
|
+
description?: string;
|
|
140
|
+
})[];
|
|
141
|
+
aminoAcidMutations?: (string | {
|
|
142
|
+
mutation: string;
|
|
143
|
+
name?: string;
|
|
144
|
+
description?: string;
|
|
145
|
+
})[];
|
|
146
|
+
aminoAcidPositions?: (string | {
|
|
147
|
+
position: string;
|
|
148
|
+
name?: string;
|
|
149
|
+
description?: string;
|
|
150
|
+
})[];
|
|
131
151
|
}[];
|
|
132
152
|
/**
|
|
133
153
|
* Supply a link template for nucleotide and amino acid mutations.
|
|
@@ -428,26 +448,106 @@ declare const mutationAnnotationsSchema: default_2.ZodArray<default_2.ZodObject<
|
|
|
428
448
|
name: default_2.ZodString;
|
|
429
449
|
description: default_2.ZodString;
|
|
430
450
|
symbol: default_2.ZodString;
|
|
431
|
-
nucleotideMutations: default_2.ZodOptional<default_2.ZodArray<default_2.ZodString,
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
451
|
+
nucleotideMutations: default_2.ZodOptional<default_2.ZodArray<default_2.ZodUnion<[default_2.ZodString, default_2.ZodObject<{
|
|
452
|
+
mutation: default_2.ZodString;
|
|
453
|
+
name: default_2.ZodOptional<default_2.ZodString>;
|
|
454
|
+
description: default_2.ZodOptional<default_2.ZodString>;
|
|
455
|
+
}, "strip", default_2.ZodTypeAny, {
|
|
456
|
+
mutation: string;
|
|
457
|
+
name?: string | undefined;
|
|
458
|
+
description?: string | undefined;
|
|
459
|
+
}, {
|
|
460
|
+
mutation: string;
|
|
461
|
+
name?: string | undefined;
|
|
462
|
+
description?: string | undefined;
|
|
463
|
+
}>]>, "many">>;
|
|
464
|
+
nucleotidePositions: default_2.ZodOptional<default_2.ZodArray<default_2.ZodUnion<[default_2.ZodString, default_2.ZodObject<{
|
|
465
|
+
position: default_2.ZodString;
|
|
466
|
+
name: default_2.ZodOptional<default_2.ZodString>;
|
|
467
|
+
description: default_2.ZodOptional<default_2.ZodString>;
|
|
468
|
+
}, "strip", default_2.ZodTypeAny, {
|
|
469
|
+
position: string;
|
|
470
|
+
name?: string | undefined;
|
|
471
|
+
description?: string | undefined;
|
|
472
|
+
}, {
|
|
473
|
+
position: string;
|
|
474
|
+
name?: string | undefined;
|
|
475
|
+
description?: string | undefined;
|
|
476
|
+
}>]>, "many">>;
|
|
477
|
+
aminoAcidMutations: default_2.ZodOptional<default_2.ZodArray<default_2.ZodUnion<[default_2.ZodString, default_2.ZodObject<{
|
|
478
|
+
mutation: default_2.ZodString;
|
|
479
|
+
name: default_2.ZodOptional<default_2.ZodString>;
|
|
480
|
+
description: default_2.ZodOptional<default_2.ZodString>;
|
|
481
|
+
}, "strip", default_2.ZodTypeAny, {
|
|
482
|
+
mutation: string;
|
|
483
|
+
name?: string | undefined;
|
|
484
|
+
description?: string | undefined;
|
|
485
|
+
}, {
|
|
486
|
+
mutation: string;
|
|
487
|
+
name?: string | undefined;
|
|
488
|
+
description?: string | undefined;
|
|
489
|
+
}>]>, "many">>;
|
|
490
|
+
aminoAcidPositions: default_2.ZodOptional<default_2.ZodArray<default_2.ZodUnion<[default_2.ZodString, default_2.ZodObject<{
|
|
491
|
+
position: default_2.ZodString;
|
|
492
|
+
name: default_2.ZodOptional<default_2.ZodString>;
|
|
493
|
+
description: default_2.ZodOptional<default_2.ZodString>;
|
|
494
|
+
}, "strip", default_2.ZodTypeAny, {
|
|
495
|
+
position: string;
|
|
496
|
+
name?: string | undefined;
|
|
497
|
+
description?: string | undefined;
|
|
498
|
+
}, {
|
|
499
|
+
position: string;
|
|
500
|
+
name?: string | undefined;
|
|
501
|
+
description?: string | undefined;
|
|
502
|
+
}>]>, "many">>;
|
|
435
503
|
}, "strip", default_2.ZodTypeAny, {
|
|
436
504
|
symbol: string;
|
|
437
505
|
name: string;
|
|
438
506
|
description: string;
|
|
439
|
-
nucleotideMutations?: string
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
507
|
+
nucleotideMutations?: (string | {
|
|
508
|
+
mutation: string;
|
|
509
|
+
name?: string | undefined;
|
|
510
|
+
description?: string | undefined;
|
|
511
|
+
})[] | undefined;
|
|
512
|
+
nucleotidePositions?: (string | {
|
|
513
|
+
position: string;
|
|
514
|
+
name?: string | undefined;
|
|
515
|
+
description?: string | undefined;
|
|
516
|
+
})[] | undefined;
|
|
517
|
+
aminoAcidMutations?: (string | {
|
|
518
|
+
mutation: string;
|
|
519
|
+
name?: string | undefined;
|
|
520
|
+
description?: string | undefined;
|
|
521
|
+
})[] | undefined;
|
|
522
|
+
aminoAcidPositions?: (string | {
|
|
523
|
+
position: string;
|
|
524
|
+
name?: string | undefined;
|
|
525
|
+
description?: string | undefined;
|
|
526
|
+
})[] | undefined;
|
|
443
527
|
}, {
|
|
444
528
|
symbol: string;
|
|
445
529
|
name: string;
|
|
446
530
|
description: string;
|
|
447
|
-
nucleotideMutations?: string
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
531
|
+
nucleotideMutations?: (string | {
|
|
532
|
+
mutation: string;
|
|
533
|
+
name?: string | undefined;
|
|
534
|
+
description?: string | undefined;
|
|
535
|
+
})[] | undefined;
|
|
536
|
+
nucleotidePositions?: (string | {
|
|
537
|
+
position: string;
|
|
538
|
+
name?: string | undefined;
|
|
539
|
+
description?: string | undefined;
|
|
540
|
+
})[] | undefined;
|
|
541
|
+
aminoAcidMutations?: (string | {
|
|
542
|
+
mutation: string;
|
|
543
|
+
name?: string | undefined;
|
|
544
|
+
description?: string | undefined;
|
|
545
|
+
})[] | undefined;
|
|
546
|
+
aminoAcidPositions?: (string | {
|
|
547
|
+
position: string;
|
|
548
|
+
name?: string | undefined;
|
|
549
|
+
description?: string | undefined;
|
|
550
|
+
})[] | undefined;
|
|
451
551
|
}>, "many">;
|
|
452
552
|
|
|
453
553
|
/**
|
|
@@ -1856,7 +1956,7 @@ declare global {
|
|
|
1856
1956
|
|
|
1857
1957
|
declare global {
|
|
1858
1958
|
interface HTMLElementTagNameMap {
|
|
1859
|
-
'gs-
|
|
1959
|
+
'gs-aggregate': AggregateComponent;
|
|
1860
1960
|
}
|
|
1861
1961
|
}
|
|
1862
1962
|
|
|
@@ -1864,7 +1964,7 @@ declare global {
|
|
|
1864
1964
|
declare global {
|
|
1865
1965
|
namespace React.JSX {
|
|
1866
1966
|
interface IntrinsicElements {
|
|
1867
|
-
'gs-
|
|
1967
|
+
'gs-aggregate': AggregateComponent;
|
|
1868
1968
|
}
|
|
1869
1969
|
}
|
|
1870
1970
|
}
|
|
@@ -1872,7 +1972,7 @@ declare global {
|
|
|
1872
1972
|
|
|
1873
1973
|
declare global {
|
|
1874
1974
|
interface HTMLElementTagNameMap {
|
|
1875
|
-
'gs-
|
|
1975
|
+
'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
|
|
1876
1976
|
}
|
|
1877
1977
|
}
|
|
1878
1978
|
|
|
@@ -1880,7 +1980,7 @@ declare global {
|
|
|
1880
1980
|
declare global {
|
|
1881
1981
|
namespace React.JSX {
|
|
1882
1982
|
interface IntrinsicElements {
|
|
1883
|
-
'gs-
|
|
1983
|
+
'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
|
|
1884
1984
|
}
|
|
1885
1985
|
}
|
|
1886
1986
|
}
|
|
@@ -1920,7 +2020,7 @@ declare global {
|
|
|
1920
2020
|
|
|
1921
2021
|
declare global {
|
|
1922
2022
|
interface HTMLElementTagNameMap {
|
|
1923
|
-
'gs-
|
|
2023
|
+
'gs-sequences-by-location': SequencesByLocationComponent;
|
|
1924
2024
|
}
|
|
1925
2025
|
}
|
|
1926
2026
|
|
|
@@ -1928,7 +2028,7 @@ declare global {
|
|
|
1928
2028
|
declare global {
|
|
1929
2029
|
namespace React.JSX {
|
|
1930
2030
|
interface IntrinsicElements {
|
|
1931
|
-
'gs-
|
|
2031
|
+
'gs-sequences-by-location': SequencesByLocationComponent;
|
|
1932
2032
|
}
|
|
1933
2033
|
}
|
|
1934
2034
|
}
|
|
@@ -1936,7 +2036,7 @@ declare global {
|
|
|
1936
2036
|
|
|
1937
2037
|
declare global {
|
|
1938
2038
|
interface HTMLElementTagNameMap {
|
|
1939
|
-
'gs-
|
|
2039
|
+
'gs-statistics': StatisticsComponent;
|
|
1940
2040
|
}
|
|
1941
2041
|
}
|
|
1942
2042
|
|
|
@@ -1944,7 +2044,7 @@ declare global {
|
|
|
1944
2044
|
declare global {
|
|
1945
2045
|
namespace React.JSX {
|
|
1946
2046
|
interface IntrinsicElements {
|
|
1947
|
-
'gs-
|
|
2047
|
+
'gs-statistics': StatisticsComponent;
|
|
1948
2048
|
}
|
|
1949
2049
|
}
|
|
1950
2050
|
}
|
|
@@ -1952,7 +2052,10 @@ declare global {
|
|
|
1952
2052
|
|
|
1953
2053
|
declare global {
|
|
1954
2054
|
interface HTMLElementTagNameMap {
|
|
1955
|
-
'gs-
|
|
2055
|
+
'gs-location-filter': LocationFilterComponent;
|
|
2056
|
+
}
|
|
2057
|
+
interface HTMLElementEventMap {
|
|
2058
|
+
[gsEventNames.locationChanged]: LocationChangedEvent;
|
|
1956
2059
|
}
|
|
1957
2060
|
}
|
|
1958
2061
|
|
|
@@ -1960,7 +2063,7 @@ declare global {
|
|
|
1960
2063
|
declare global {
|
|
1961
2064
|
namespace React.JSX {
|
|
1962
2065
|
interface IntrinsicElements {
|
|
1963
|
-
'gs-
|
|
2066
|
+
'gs-location-filter': LocationFilterComponent;
|
|
1964
2067
|
}
|
|
1965
2068
|
}
|
|
1966
2069
|
}
|
|
@@ -1968,11 +2071,10 @@ declare global {
|
|
|
1968
2071
|
|
|
1969
2072
|
declare global {
|
|
1970
2073
|
interface HTMLElementTagNameMap {
|
|
1971
|
-
'gs-
|
|
2074
|
+
'gs-text-filter': TextFilterComponent;
|
|
1972
2075
|
}
|
|
1973
2076
|
interface HTMLElementEventMap {
|
|
1974
|
-
[gsEventNames.
|
|
1975
|
-
[gsEventNames.dateRangeOptionChanged]: DateRangeOptionChangedEvent;
|
|
2077
|
+
[gsEventNames.textFilterChanged]: TextFilterChangedEvent;
|
|
1976
2078
|
}
|
|
1977
2079
|
}
|
|
1978
2080
|
|
|
@@ -1980,7 +2082,7 @@ declare global {
|
|
|
1980
2082
|
declare global {
|
|
1981
2083
|
namespace React.JSX {
|
|
1982
2084
|
interface IntrinsicElements {
|
|
1983
|
-
'gs-
|
|
2085
|
+
'gs-text-filter': TextFilterComponent;
|
|
1984
2086
|
}
|
|
1985
2087
|
}
|
|
1986
2088
|
}
|
|
@@ -1988,10 +2090,11 @@ declare global {
|
|
|
1988
2090
|
|
|
1989
2091
|
declare global {
|
|
1990
2092
|
interface HTMLElementTagNameMap {
|
|
1991
|
-
'gs-
|
|
2093
|
+
'gs-date-range-filter': DateRangeFilterComponent;
|
|
1992
2094
|
}
|
|
1993
2095
|
interface HTMLElementEventMap {
|
|
1994
|
-
[gsEventNames.
|
|
2096
|
+
[gsEventNames.dateRangeFilterChanged]: CustomEvent<Record<string, string>>;
|
|
2097
|
+
[gsEventNames.dateRangeOptionChanged]: DateRangeOptionChangedEvent;
|
|
1995
2098
|
}
|
|
1996
2099
|
}
|
|
1997
2100
|
|
|
@@ -1999,7 +2102,7 @@ declare global {
|
|
|
1999
2102
|
declare global {
|
|
2000
2103
|
namespace React.JSX {
|
|
2001
2104
|
interface IntrinsicElements {
|
|
2002
|
-
'gs-
|
|
2105
|
+
'gs-date-range-filter': DateRangeFilterComponent;
|
|
2003
2106
|
}
|
|
2004
2107
|
}
|
|
2005
2108
|
}
|
|
@@ -2007,10 +2110,10 @@ declare global {
|
|
|
2007
2110
|
|
|
2008
2111
|
declare global {
|
|
2009
2112
|
interface HTMLElementTagNameMap {
|
|
2010
|
-
'gs-
|
|
2113
|
+
'gs-mutation-filter': MutationFilterComponent;
|
|
2011
2114
|
}
|
|
2012
2115
|
interface HTMLElementEventMap {
|
|
2013
|
-
[gsEventNames.
|
|
2116
|
+
[gsEventNames.mutationFilterChanged]: CustomEvent<MutationsFilter>;
|
|
2014
2117
|
}
|
|
2015
2118
|
}
|
|
2016
2119
|
|
|
@@ -2018,7 +2121,7 @@ declare global {
|
|
|
2018
2121
|
declare global {
|
|
2019
2122
|
namespace React.JSX {
|
|
2020
2123
|
interface IntrinsicElements {
|
|
2021
|
-
'gs-
|
|
2124
|
+
'gs-mutation-filter': MutationFilterComponent;
|
|
2022
2125
|
}
|
|
2023
2126
|
}
|
|
2024
2127
|
}
|
|
@@ -2026,10 +2129,11 @@ declare global {
|
|
|
2026
2129
|
|
|
2027
2130
|
declare global {
|
|
2028
2131
|
interface HTMLElementTagNameMap {
|
|
2029
|
-
'gs-
|
|
2132
|
+
'gs-number-range-filter': NumberRangeFilterComponent;
|
|
2030
2133
|
}
|
|
2031
2134
|
interface HTMLElementEventMap {
|
|
2032
|
-
[gsEventNames.
|
|
2135
|
+
[gsEventNames.numberRangeFilterChanged]: NumberRangeFilterChangedEvent;
|
|
2136
|
+
[gsEventNames.numberRangeValueChanged]: NumberRangeValueChangedEvent;
|
|
2033
2137
|
}
|
|
2034
2138
|
}
|
|
2035
2139
|
|
|
@@ -2037,7 +2141,7 @@ declare global {
|
|
|
2037
2141
|
declare global {
|
|
2038
2142
|
namespace React.JSX {
|
|
2039
2143
|
interface IntrinsicElements {
|
|
2040
|
-
'gs-
|
|
2144
|
+
'gs-number-range-filter': NumberRangeFilterComponent;
|
|
2041
2145
|
}
|
|
2042
2146
|
}
|
|
2043
2147
|
}
|
|
@@ -2065,11 +2169,7 @@ declare global {
|
|
|
2065
2169
|
|
|
2066
2170
|
declare global {
|
|
2067
2171
|
interface HTMLElementTagNameMap {
|
|
2068
|
-
'gs-
|
|
2069
|
-
}
|
|
2070
|
-
interface HTMLElementEventMap {
|
|
2071
|
-
[gsEventNames.numberRangeFilterChanged]: NumberRangeFilterChangedEvent;
|
|
2072
|
-
[gsEventNames.numberRangeValueChanged]: NumberRangeValueChangedEvent;
|
|
2172
|
+
'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
|
|
2073
2173
|
}
|
|
2074
2174
|
}
|
|
2075
2175
|
|
|
@@ -2077,7 +2177,7 @@ declare global {
|
|
|
2077
2177
|
declare global {
|
|
2078
2178
|
namespace React.JSX {
|
|
2079
2179
|
interface IntrinsicElements {
|
|
2080
|
-
'gs-
|
|
2180
|
+
'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
|
|
2081
2181
|
}
|
|
2082
2182
|
}
|
|
2083
2183
|
}
|