@genspectrum/dashboard-components 0.11.2 → 0.11.4
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 +16 -0
- package/dist/assets/mutationOverTimeWorker-Cr-NmYEs.js.map +1 -1
- package/dist/components.d.ts +14 -14
- package/dist/components.js +324 -279
- package/dist/components.js.map +1 -1
- package/dist/style.css +2 -11
- package/dist/util.d.ts +14 -14
- package/package.json +2 -2
- package/src/preact/aggregatedData/aggregate.tsx +1 -1
- package/src/preact/components/error-display.tsx +11 -16
- package/src/preact/components/info.tsx +5 -19
- package/src/preact/components/modal.stories.tsx +44 -0
- package/src/preact/components/modal.tsx +31 -0
- package/src/preact/map/__mockData__/aggregatedGermany.json +5 -1
- package/src/preact/map/{useGeoJsonMap.tsx → loadMapSource.tsx} +7 -24
- package/src/preact/map/sequences-by-location-map.tsx +37 -132
- package/src/preact/map/sequences-by-location-table.tsx +28 -5
- package/src/preact/map/sequences-by-location.tsx +32 -13
- package/src/preact/useQuery.ts +1 -1
- package/src/query/computeMapLocationData.spec.ts +103 -0
- package/src/query/computeMapLocationData.ts +136 -0
- package/src/query/querySequencesByLocationData.ts +18 -0
- package/src/utilEntrypoint.ts +1 -1
- package/src/web-components/visualization/gs-sequences-by-location.stories.ts +17 -0
- package/standalone-bundle/assets/mutationOverTimeWorker-DIQRmxvC.js.map +1 -1
- package/standalone-bundle/dashboard-components.js +4421 -4368
- package/standalone-bundle/dashboard-components.js.map +1 -1
- package/standalone-bundle/style.css +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -1221,7 +1221,7 @@ declare global {
|
|
|
1221
1221
|
|
|
1222
1222
|
declare global {
|
|
1223
1223
|
interface HTMLElementTagNameMap {
|
|
1224
|
-
'gs-
|
|
1224
|
+
'gs-mutations-component': MutationsComponent;
|
|
1225
1225
|
}
|
|
1226
1226
|
}
|
|
1227
1227
|
|
|
@@ -1229,7 +1229,7 @@ declare global {
|
|
|
1229
1229
|
declare global {
|
|
1230
1230
|
namespace JSX {
|
|
1231
1231
|
interface IntrinsicElements {
|
|
1232
|
-
'gs-
|
|
1232
|
+
'gs-mutations-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1233
1233
|
}
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
@@ -1237,7 +1237,7 @@ declare global {
|
|
|
1237
1237
|
|
|
1238
1238
|
declare global {
|
|
1239
1239
|
interface HTMLElementTagNameMap {
|
|
1240
|
-
'gs-
|
|
1240
|
+
'gs-prevalence-over-time': PrevalenceOverTimeComponent;
|
|
1241
1241
|
}
|
|
1242
1242
|
}
|
|
1243
1243
|
|
|
@@ -1245,7 +1245,7 @@ declare global {
|
|
|
1245
1245
|
declare global {
|
|
1246
1246
|
namespace JSX {
|
|
1247
1247
|
interface IntrinsicElements {
|
|
1248
|
-
'gs-
|
|
1248
|
+
'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
1251
|
}
|
|
@@ -1253,7 +1253,7 @@ declare global {
|
|
|
1253
1253
|
|
|
1254
1254
|
declare global {
|
|
1255
1255
|
interface HTMLElementTagNameMap {
|
|
1256
|
-
'gs-
|
|
1256
|
+
'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
|
|
@@ -1261,7 +1261,7 @@ declare global {
|
|
|
1261
1261
|
declare global {
|
|
1262
1262
|
namespace JSX {
|
|
1263
1263
|
interface IntrinsicElements {
|
|
1264
|
-
'gs-
|
|
1264
|
+
'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
1267
|
}
|
|
@@ -1269,7 +1269,7 @@ declare global {
|
|
|
1269
1269
|
|
|
1270
1270
|
declare global {
|
|
1271
1271
|
interface HTMLElementTagNameMap {
|
|
1272
|
-
'gs-
|
|
1272
|
+
'gs-aggregate': AggregateComponent;
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
1275
|
|
|
@@ -1277,7 +1277,7 @@ declare global {
|
|
|
1277
1277
|
declare global {
|
|
1278
1278
|
namespace JSX {
|
|
1279
1279
|
interface IntrinsicElements {
|
|
1280
|
-
'gs-
|
|
1280
|
+
'gs-aggregate': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
@@ -1285,7 +1285,7 @@ declare global {
|
|
|
1285
1285
|
|
|
1286
1286
|
declare global {
|
|
1287
1287
|
interface HTMLElementTagNameMap {
|
|
1288
|
-
'gs-
|
|
1288
|
+
'gs-mutation-comparison-component': MutationComparisonComponent;
|
|
1289
1289
|
}
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
@@ -1293,7 +1293,7 @@ declare global {
|
|
|
1293
1293
|
declare global {
|
|
1294
1294
|
namespace JSX {
|
|
1295
1295
|
interface IntrinsicElements {
|
|
1296
|
-
'gs-
|
|
1296
|
+
'gs-mutation-comparison-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
@@ -1317,7 +1317,7 @@ declare global {
|
|
|
1317
1317
|
|
|
1318
1318
|
declare global {
|
|
1319
1319
|
interface HTMLElementTagNameMap {
|
|
1320
|
-
'gs-
|
|
1320
|
+
'gs-sequences-by-location': SequencesByLocationComponent;
|
|
1321
1321
|
}
|
|
1322
1322
|
}
|
|
1323
1323
|
|
|
@@ -1325,7 +1325,7 @@ declare global {
|
|
|
1325
1325
|
declare global {
|
|
1326
1326
|
namespace JSX {
|
|
1327
1327
|
interface IntrinsicElements {
|
|
1328
|
-
'gs-
|
|
1328
|
+
'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
@@ -1333,7 +1333,7 @@ declare global {
|
|
|
1333
1333
|
|
|
1334
1334
|
declare global {
|
|
1335
1335
|
interface HTMLElementTagNameMap {
|
|
1336
|
-
'gs-
|
|
1336
|
+
'gs-mutations-over-time': MutationsOverTimeComponent;
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
|
|
@@ -1341,7 +1341,7 @@ declare global {
|
|
|
1341
1341
|
declare global {
|
|
1342
1342
|
namespace JSX {
|
|
1343
1343
|
interface IntrinsicElements {
|
|
1344
|
-
'gs-
|
|
1344
|
+
'gs-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
1347
|
}
|