@genspectrum/dashboard-components 1.1.0 → 1.2.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 +2 -2
- package/dist/{NumberRangeFilterChangedEvent-B64OQZjX.js → NumberRangeFilterChangedEvent-CQ32Qy8D.js} +2 -2
- package/dist/NumberRangeFilterChangedEvent-CQ32Qy8D.js.map +1 -0
- package/dist/assets/mutationOverTimeWorker-DpW4YOGl.js.map +1 -0
- package/dist/components.d.ts +31 -31
- package/dist/components.js +74 -120
- package/dist/components.js.map +1 -1
- package/dist/util.d.ts +31 -31
- package/dist/util.js +1 -1
- package/package.json +7 -3
- package/src/lapisApi/lapisApi.ts +2 -2
- package/src/operator/DivisionOperator.ts +4 -2
- package/src/operator/FetchDetailsOperator.ts +1 -1
- package/src/operator/RenameFieldOperator.ts +3 -3
- package/src/preact/aggregatedData/aggregate.tsx +0 -5
- package/src/preact/components/annotated-mutation.tsx +0 -1
- package/src/preact/components/clearable-select.stories.tsx +1 -1
- package/src/preact/components/confidence-interval-selector.tsx +1 -1
- package/src/preact/components/error-boundary.tsx +1 -5
- package/src/preact/components/error-display.tsx +1 -1
- package/src/preact/components/fullscreen.tsx +2 -5
- package/src/preact/components/info.stories.tsx +1 -1
- package/src/preact/components/min-max-range-slider.tsx +1 -1
- package/src/preact/components/proportion-selector.tsx +4 -4
- package/src/preact/components/select.tsx +1 -1
- package/src/preact/components/table.tsx +1 -1
- package/src/preact/components/tabs.tsx +1 -1
- package/src/preact/components/tooltip.stories.tsx +1 -1
- package/src/preact/components/tooltip.tsx +1 -1
- package/src/preact/genomeViewer/CDSPlot.tsx +3 -3
- package/src/preact/genomeViewer/loadGff3.ts +5 -8
- package/src/preact/lineageFilter/lineage-filter.tsx +1 -1
- package/src/preact/locationFilter/location-filter.tsx +4 -4
- package/src/preact/mutationComparison/getMutationComparisonTableData.ts +1 -3
- package/src/preact/mutationComparison/mutation-comparison-venn.tsx +1 -1
- package/src/preact/mutationComparison/mutation-comparison.tsx +0 -5
- package/src/preact/mutationFilter/mutation-filter-info.tsx +2 -2
- package/src/preact/mutationFilter/mutation-filter.tsx +1 -1
- package/src/preact/mutations/getMutationsGridData.ts +2 -6
- package/src/preact/mutations/getMutationsTableData.ts +1 -1
- package/src/preact/mutations/mutations-grid.tsx +1 -1
- package/src/preact/mutations/mutations.tsx +0 -5
- package/src/preact/mutationsOverTime/mutations-over-time.tsx +3 -9
- package/src/preact/numberRangeFilter/number-range-filter.tsx +4 -4
- package/src/preact/numberSequencesOverTime/getNumberOfSequencesOverTimeTableData.ts +1 -4
- package/src/preact/numberSequencesOverTime/number-sequences-over-time.tsx +0 -5
- package/src/preact/prevalenceOverTime/prevalence-over-time-bar-chart.tsx +1 -1
- package/src/preact/prevalenceOverTime/prevalence-over-time-bubble-chart.tsx +1 -1
- package/src/preact/prevalenceOverTime/prevalence-over-time-line-chart.tsx +1 -1
- package/src/preact/prevalenceOverTime/prevalence-over-time.tsx +1 -1
- package/src/preact/relativeGrowthAdvantage/relative-growth-advantage-chart.tsx +5 -5
- package/src/preact/relativeGrowthAdvantage/relative-growth-advantage.tsx +1 -4
- package/src/preact/sequencesByLocation/loadMapSource.tsx +5 -2
- package/src/preact/shared/aspectRatio/AspectRatio.tsx +1 -1
- package/src/preact/shared/floating-ui/hooks.ts +2 -2
- package/src/preact/shared/sort/sortMutationPositions.ts +2 -2
- package/src/preact/shared/tanstackTable/pagination.tsx +2 -2
- package/src/preact/shared/tanstackTable/tanstackTable.tsx +1 -1
- package/src/preact/statistic/statistics.tsx +0 -5
- package/src/preact/textFilter/fetchStringAutocompleteList.ts +1 -10
- package/src/preact/textFilter/text-filter.tsx +1 -6
- package/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.tsx +1 -1
- package/src/preact/webWorkers/useWebWorker.ts +2 -1
- package/src/preact/webWorkers/workerFunction.ts +2 -2
- package/src/query/computeMapLocationData.ts +1 -1
- package/src/query/queryAggregatedDataOverTime.ts +3 -3
- package/src/query/queryMutationsOverTime.spec.ts +9 -9
- package/src/query/queryMutationsOverTime.ts +22 -16
- package/src/query/queryRelativeGrowthAdvantage.ts +5 -9
- package/src/query/queryWastewaterMutationsOverTime.ts +1 -1
- package/src/types.ts +1 -1
- package/src/utils/mutations.ts +10 -10
- package/src/utils/type-utils.ts +1 -1
- package/src/utils/typeAssertions.spec.ts +1 -1
- package/src/web-components/gs-app.spec-d.ts +1 -1
- package/src/web-components/gs-app.stories.ts +1 -1
- package/src/web-components/input/gs-date-range-filter.tsx +2 -2
- package/src/web-components/input/gs-lineage-filter.tsx +2 -2
- package/src/web-components/input/gs-location-filter.tsx +3 -3
- package/src/web-components/input/gs-mutation-filter.tsx +2 -2
- package/src/web-components/input/gs-number-range-filter.spec.ts +1 -1
- package/src/web-components/input/gs-text-filter.tsx +2 -2
- package/src/web-components/visualization/gs-aggregate.tsx +2 -2
- package/src/web-components/visualization/gs-genome-data-viewer.spec-d.ts +1 -1
- package/src/web-components/visualization/gs-mutation-comparison.tsx +2 -2
- package/src/web-components/visualization/gs-mutations.tsx +2 -2
- package/src/web-components/visualization/gs-number-sequences-over-time.tsx +2 -2
- package/src/web-components/visualization/gs-prevalence-over-time.tsx +2 -2
- package/src/web-components/visualization/gs-relative-growth-advantage.tsx +2 -2
- package/src/web-components/visualization/gs-sequences-by-location.tsx +2 -2
- package/src/web-components/visualization/gs-statistics.tsx +2 -2
- package/standalone-bundle/assets/mutationOverTimeWorker-CZVvQBze.js.map +1 -0
- package/standalone-bundle/dashboard-components.js +1444 -1456
- package/standalone-bundle/dashboard-components.js.map +1 -1
- package/dist/NumberRangeFilterChangedEvent-B64OQZjX.js.map +0 -1
- package/dist/assets/mutationOverTimeWorker-DjH04AQB.js.map +0 -1
- package/standalone-bundle/assets/mutationOverTimeWorker-B6bf3R3j.js.map +0 -1
package/dist/components.d.ts
CHANGED
|
@@ -350,7 +350,7 @@ export declare class LocationFilterComponent extends PreactLitAdapter {
|
|
|
350
350
|
/**
|
|
351
351
|
* The initial value to use for this location filter.
|
|
352
352
|
*/
|
|
353
|
-
value: Record<string, string | undefined> | undefined;
|
|
353
|
+
value: Record<string, string | null | undefined> | undefined;
|
|
354
354
|
/**
|
|
355
355
|
* Required.
|
|
356
356
|
*
|
|
@@ -1579,7 +1579,7 @@ declare global {
|
|
|
1579
1579
|
|
|
1580
1580
|
declare global {
|
|
1581
1581
|
interface HTMLElementTagNameMap {
|
|
1582
|
-
'gs-
|
|
1582
|
+
'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
1585
|
|
|
@@ -1587,7 +1587,7 @@ declare global {
|
|
|
1587
1587
|
declare global {
|
|
1588
1588
|
namespace JSX {
|
|
1589
1589
|
interface IntrinsicElements {
|
|
1590
|
-
'gs-
|
|
1590
|
+
'gs-wastewater-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
@@ -1595,7 +1595,7 @@ declare global {
|
|
|
1595
1595
|
|
|
1596
1596
|
declare global {
|
|
1597
1597
|
interface HTMLElementTagNameMap {
|
|
1598
|
-
'gs-
|
|
1598
|
+
'gs-genome-data-viewer': GenomeDataViewerComponent;
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
@@ -1603,7 +1603,7 @@ declare global {
|
|
|
1603
1603
|
declare global {
|
|
1604
1604
|
namespace JSX {
|
|
1605
1605
|
interface IntrinsicElements {
|
|
1606
|
-
'gs-
|
|
1606
|
+
'gs-genome-data-viewer': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
1609
|
}
|
|
@@ -1611,7 +1611,7 @@ declare global {
|
|
|
1611
1611
|
|
|
1612
1612
|
declare global {
|
|
1613
1613
|
interface HTMLElementTagNameMap {
|
|
1614
|
-
'gs-
|
|
1614
|
+
'gs-mutations': MutationsComponent;
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
@@ -1619,7 +1619,7 @@ declare global {
|
|
|
1619
1619
|
declare global {
|
|
1620
1620
|
namespace JSX {
|
|
1621
1621
|
interface IntrinsicElements {
|
|
1622
|
-
'gs-
|
|
1622
|
+
'gs-mutations': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
1625
|
}
|
|
@@ -1627,7 +1627,7 @@ declare global {
|
|
|
1627
1627
|
|
|
1628
1628
|
declare global {
|
|
1629
1629
|
interface HTMLElementTagNameMap {
|
|
1630
|
-
'gs-
|
|
1630
|
+
'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
1633
|
|
|
@@ -1635,7 +1635,7 @@ declare global {
|
|
|
1635
1635
|
declare global {
|
|
1636
1636
|
namespace JSX {
|
|
1637
1637
|
interface IntrinsicElements {
|
|
1638
|
-
'gs-
|
|
1638
|
+
'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1639
1639
|
}
|
|
1640
1640
|
}
|
|
1641
1641
|
}
|
|
@@ -1643,7 +1643,7 @@ declare global {
|
|
|
1643
1643
|
|
|
1644
1644
|
declare global {
|
|
1645
1645
|
interface HTMLElementTagNameMap {
|
|
1646
|
-
'gs-
|
|
1646
|
+
'gs-mutation-comparison-component': MutationComparisonComponent;
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
1649
|
|
|
@@ -1651,7 +1651,7 @@ declare global {
|
|
|
1651
1651
|
declare global {
|
|
1652
1652
|
namespace JSX {
|
|
1653
1653
|
interface IntrinsicElements {
|
|
1654
|
-
'gs-
|
|
1654
|
+
'gs-mutation-comparison-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
@@ -1675,7 +1675,7 @@ declare global {
|
|
|
1675
1675
|
|
|
1676
1676
|
declare global {
|
|
1677
1677
|
interface HTMLElementTagNameMap {
|
|
1678
|
-
'gs-
|
|
1678
|
+
'gs-prevalence-over-time': PrevalenceOverTimeComponent;
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
@@ -1683,7 +1683,7 @@ declare global {
|
|
|
1683
1683
|
declare global {
|
|
1684
1684
|
namespace JSX {
|
|
1685
1685
|
interface IntrinsicElements {
|
|
1686
|
-
'gs-
|
|
1686
|
+
'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
}
|
|
@@ -1691,7 +1691,7 @@ declare global {
|
|
|
1691
1691
|
|
|
1692
1692
|
declare global {
|
|
1693
1693
|
interface HTMLElementTagNameMap {
|
|
1694
|
-
'gs-
|
|
1694
|
+
'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
|
|
1695
1695
|
}
|
|
1696
1696
|
}
|
|
1697
1697
|
|
|
@@ -1699,7 +1699,7 @@ declare global {
|
|
|
1699
1699
|
declare global {
|
|
1700
1700
|
namespace JSX {
|
|
1701
1701
|
interface IntrinsicElements {
|
|
1702
|
-
'gs-
|
|
1702
|
+
'gs-number-sequences-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1703
1703
|
}
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
@@ -1707,7 +1707,7 @@ declare global {
|
|
|
1707
1707
|
|
|
1708
1708
|
declare global {
|
|
1709
1709
|
interface HTMLElementTagNameMap {
|
|
1710
|
-
'gs-
|
|
1710
|
+
'gs-mutations-over-time': MutationsOverTimeComponent;
|
|
1711
1711
|
}
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
@@ -1715,7 +1715,7 @@ declare global {
|
|
|
1715
1715
|
declare global {
|
|
1716
1716
|
namespace JSX {
|
|
1717
1717
|
interface IntrinsicElements {
|
|
1718
|
-
'gs-
|
|
1718
|
+
'gs-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1719
1719
|
}
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
@@ -1723,7 +1723,7 @@ declare global {
|
|
|
1723
1723
|
|
|
1724
1724
|
declare global {
|
|
1725
1725
|
interface HTMLElementTagNameMap {
|
|
1726
|
-
'gs-
|
|
1726
|
+
'gs-sequences-by-location': SequencesByLocationComponent;
|
|
1727
1727
|
}
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
@@ -1731,7 +1731,7 @@ declare global {
|
|
|
1731
1731
|
declare global {
|
|
1732
1732
|
namespace JSX {
|
|
1733
1733
|
interface IntrinsicElements {
|
|
1734
|
-
'gs-
|
|
1734
|
+
'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
1737
|
}
|
|
@@ -1739,7 +1739,7 @@ declare global {
|
|
|
1739
1739
|
|
|
1740
1740
|
declare global {
|
|
1741
1741
|
interface HTMLElementTagNameMap {
|
|
1742
|
-
'gs-
|
|
1742
|
+
'gs-statistics': StatisticsComponent;
|
|
1743
1743
|
}
|
|
1744
1744
|
}
|
|
1745
1745
|
|
|
@@ -1747,7 +1747,7 @@ declare global {
|
|
|
1747
1747
|
declare global {
|
|
1748
1748
|
namespace JSX {
|
|
1749
1749
|
interface IntrinsicElements {
|
|
1750
|
-
'gs-
|
|
1750
|
+
'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1751
1751
|
}
|
|
1752
1752
|
}
|
|
1753
1753
|
}
|
|
@@ -1755,10 +1755,11 @@ declare global {
|
|
|
1755
1755
|
|
|
1756
1756
|
declare global {
|
|
1757
1757
|
interface HTMLElementTagNameMap {
|
|
1758
|
-
'gs-
|
|
1758
|
+
'gs-date-range-filter': DateRangeFilterComponent;
|
|
1759
1759
|
}
|
|
1760
1760
|
interface HTMLElementEventMap {
|
|
1761
|
-
[gsEventNames.
|
|
1761
|
+
[gsEventNames.dateRangeFilterChanged]: CustomEvent<Record<string, string>>;
|
|
1762
|
+
[gsEventNames.dateRangeOptionChanged]: DateRangeOptionChangedEvent;
|
|
1762
1763
|
}
|
|
1763
1764
|
}
|
|
1764
1765
|
|
|
@@ -1766,7 +1767,7 @@ declare global {
|
|
|
1766
1767
|
declare global {
|
|
1767
1768
|
namespace JSX {
|
|
1768
1769
|
interface IntrinsicElements {
|
|
1769
|
-
'gs-
|
|
1770
|
+
'gs-date-range-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1770
1771
|
}
|
|
1771
1772
|
}
|
|
1772
1773
|
}
|
|
@@ -1774,10 +1775,10 @@ declare global {
|
|
|
1774
1775
|
|
|
1775
1776
|
declare global {
|
|
1776
1777
|
interface HTMLElementTagNameMap {
|
|
1777
|
-
'gs-
|
|
1778
|
+
'gs-location-filter': LocationFilterComponent;
|
|
1778
1779
|
}
|
|
1779
1780
|
interface HTMLElementEventMap {
|
|
1780
|
-
[gsEventNames.
|
|
1781
|
+
[gsEventNames.locationChanged]: LocationChangedEvent;
|
|
1781
1782
|
}
|
|
1782
1783
|
}
|
|
1783
1784
|
|
|
@@ -1785,7 +1786,7 @@ declare global {
|
|
|
1785
1786
|
declare global {
|
|
1786
1787
|
namespace JSX {
|
|
1787
1788
|
interface IntrinsicElements {
|
|
1788
|
-
'gs-
|
|
1789
|
+
'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1789
1790
|
}
|
|
1790
1791
|
}
|
|
1791
1792
|
}
|
|
@@ -1793,11 +1794,10 @@ declare global {
|
|
|
1793
1794
|
|
|
1794
1795
|
declare global {
|
|
1795
1796
|
interface HTMLElementTagNameMap {
|
|
1796
|
-
'gs-
|
|
1797
|
+
'gs-text-filter': TextFilterComponent;
|
|
1797
1798
|
}
|
|
1798
1799
|
interface HTMLElementEventMap {
|
|
1799
|
-
[gsEventNames.
|
|
1800
|
-
[gsEventNames.dateRangeOptionChanged]: DateRangeOptionChangedEvent;
|
|
1800
|
+
[gsEventNames.textFilterChanged]: TextFilterChangedEvent;
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
1803
|
|
|
@@ -1805,7 +1805,7 @@ declare global {
|
|
|
1805
1805
|
declare global {
|
|
1806
1806
|
namespace JSX {
|
|
1807
1807
|
interface IntrinsicElements {
|
|
1808
|
-
'gs-
|
|
1808
|
+
'gs-text-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1809
1809
|
}
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|