@genspectrum/dashboard-components 0.18.1 → 0.18.2
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/{LineageFilterChangedEvent-DkvWdq_G.js → LineageFilterChangedEvent-ixHQkq8y.js} +2 -2
- package/dist/{LineageFilterChangedEvent-DkvWdq_G.js.map → LineageFilterChangedEvent-ixHQkq8y.js.map} +1 -1
- package/dist/components.d.ts +52 -50
- package/dist/components.js +106 -85
- package/dist/components.js.map +1 -1
- package/dist/util.d.ts +47 -47
- package/dist/util.js +1 -1
- package/package.json +1 -1
- package/src/preact/dateRangeFilter/computeInitialValues.spec.ts +2 -2
- package/src/preact/dateRangeFilter/computeInitialValues.ts +1 -1
- package/src/preact/dateRangeFilter/date-range-filter.stories.tsx +3 -5
- package/src/preact/dateRangeFilter/date-range-filter.tsx +12 -7
- package/src/preact/dateRangeFilter/dateRangeOption.ts +1 -1
- package/src/preact/mutationsOverTime/mutations-over-time-grid-tooltip.stories.tsx +108 -0
- package/src/preact/mutationsOverTime/mutations-over-time-grid-tooltip.tsx +93 -0
- package/src/preact/mutationsOverTime/mutations-over-time-grid.tsx +7 -78
- package/src/web-components/input/gs-date-range-filter.stories.ts +1 -1
- package/src/web-components/input/gs-date-range-filter.tsx +7 -5
- package/standalone-bundle/dashboard-components.js +539 -524
- package/standalone-bundle/dashboard-components.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
"type": {
|
|
354
354
|
"text": "StoryObj<Required<DateRangeFilterProps>>"
|
|
355
355
|
},
|
|
356
|
-
"default": "{ render: (args) => html` <gs-app lapis=\"${LAPIS_URL}\"> <div class=\"max-w-(--breakpoint-lg)\"> <gs-date-range-filter .dateRangeOptions=${args.dateRangeOptions} earliestDate=\"${args.earliestDate}\" value=\"${args.value}\" width=\"${args.width}\" lapisDateField=\"${args.lapisDateField}\" placeholder=\"${args.placeholder}\" ></gs-date-range-filter> </div> </gs-app>`, play: async ({ canvasElement }) => { await waitFor(async () => { const canvas = await withinShadowRoot(canvasElement, 'gs-date-range-filter'); const placeholderOption = canvas.getByRole('combobox').querySelector('option:checked'); await expect(placeholderOption).toHaveTextContent('Last month'); }); }, argTypes: { value: { control: { type: 'text', }, }, }, }"
|
|
356
|
+
"default": "{ render: (args) => html` <gs-app lapis=\"${LAPIS_URL}\"> <div class=\"max-w-(--breakpoint-lg)\"> <gs-date-range-filter .dateRangeOptions=${args.dateRangeOptions} earliestDate=\"${args.earliestDate}\" value=\"${args.value ?? 'null'}\" width=\"${args.width}\" lapisDateField=\"${args.lapisDateField}\" placeholder=\"${args.placeholder}\" ></gs-date-range-filter> </div> </gs-app>`, play: async ({ canvasElement }) => { await waitFor(async () => { const canvas = await withinShadowRoot(canvasElement, 'gs-date-range-filter'); const placeholderOption = canvas.getByRole('combobox').querySelector('option:checked'); await expect(placeholderOption).toHaveTextContent('Last month'); }); }, argTypes: { value: { control: { type: 'text', }, }, }, }"
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
"kind": "variable",
|
|
@@ -448,9 +448,9 @@
|
|
|
448
448
|
"kind": "field",
|
|
449
449
|
"name": "value",
|
|
450
450
|
"type": {
|
|
451
|
-
"text": "string | { dateFrom?: string; dateTo?: string } |
|
|
451
|
+
"text": "string | { dateFrom?: string; dateTo?: string } | null"
|
|
452
452
|
},
|
|
453
|
-
"default": "
|
|
453
|
+
"default": "null",
|
|
454
454
|
"description": "The value to use for this date range selector.\n- If it is a string, then it must be a valid label from the `dateRangeOptions`.\n- If it is an object, then it accepts dates in the format `YYYY-MM-DD` for the keys `dateFrom` and `dateTo`.\n Keys that are not set will default to the `earliestDate` or the current date respectively.\n\nThe `detail` of the `gs-date-range-option-changed` event can be used for this attribute,\nif you want to control this component in your JS application.",
|
|
455
455
|
"attribute": "value"
|
|
456
456
|
},
|
|
@@ -495,9 +495,9 @@
|
|
|
495
495
|
},
|
|
496
496
|
{
|
|
497
497
|
"type": {
|
|
498
|
-
"text": "CustomEvent<
|
|
498
|
+
"text": "CustomEvent<string | {dateFrom: string, dateTo: string} | null>"
|
|
499
499
|
},
|
|
500
|
-
"description": "Fired when: - The select field is changed, - A date is selected in either of the date pickers, - A date was typed into either of the date input fields, and the input field loses focus (\"on blur\"). Contains the selected dateRangeOption or when users select custom values it contains the selected dates. Use this event, when you want to control this component in your JS application. You can supply the `detail` of this event to the `value` attribute of this component.",
|
|
500
|
+
"description": "Fired when: - The select field is changed, - A date is selected in either of the date pickers, - A date was typed into either of the date input fields, and the input field loses focus (\"on blur\"), - The user deletes the current value by clicking the 'x' button. Contains the selected dateRangeOption or when users select custom values it contains the selected dates or `null` when the input was deleted. Use this event, when you want to control this component in your JS application. You can supply the `detail` of this event to the `value` attribute of this component.",
|
|
501
501
|
"name": "gs-date-range-option-changed"
|
|
502
502
|
}
|
|
503
503
|
],
|
|
@@ -523,9 +523,9 @@
|
|
|
523
523
|
{
|
|
524
524
|
"name": "value",
|
|
525
525
|
"type": {
|
|
526
|
-
"text": "string | { dateFrom?: string; dateTo?: string } |
|
|
526
|
+
"text": "string | { dateFrom?: string; dateTo?: string } | null"
|
|
527
527
|
},
|
|
528
|
-
"default": "
|
|
528
|
+
"default": "null",
|
|
529
529
|
"description": "The value to use for this date range selector.\n- If it is a string, then it must be a valid label from the `dateRangeOptions`.\n- If it is an object, then it accepts dates in the format `YYYY-MM-DD` for the keys `dateFrom` and `dateTo`.\n Keys that are not set will default to the `earliestDate` or the current date respectively.\n\nThe `detail` of the `gs-date-range-option-changed` event can be used for this attribute,\nif you want to control this component in your JS application.",
|
|
530
530
|
"fieldName": "value"
|
|
531
531
|
},
|
package/dist/{LineageFilterChangedEvent-DkvWdq_G.js → LineageFilterChangedEvent-ixHQkq8y.js}
RENAMED
|
@@ -52,7 +52,7 @@ const dateRangeValueSchema = z.union([
|
|
|
52
52
|
dateFrom: z.string().date().optional(),
|
|
53
53
|
dateTo: z.string().date().optional()
|
|
54
54
|
})
|
|
55
|
-
]).
|
|
55
|
+
]).nullable();
|
|
56
56
|
class DateRangeOptionChangedEvent extends CustomEvent {
|
|
57
57
|
constructor(detail) {
|
|
58
58
|
super("gs-date-range-option-changed", {
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
temporalGranularitySchema as t,
|
|
149
149
|
views as v
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=LineageFilterChangedEvent-
|
|
151
|
+
//# sourceMappingURL=LineageFilterChangedEvent-ixHQkq8y.js.map
|
package/dist/{LineageFilterChangedEvent-DkvWdq_G.js.map → LineageFilterChangedEvent-ixHQkq8y.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineageFilterChangedEvent-
|
|
1
|
+
{"version":3,"file":"LineageFilterChangedEvent-ixHQkq8y.js","sources":["../src/types.ts","../src/preact/dateRangeFilter/dateConversion.ts","../src/preact/dateRangeFilter/dateRangeOption.ts","../src/preact/locationFilter/LocationChangedEvent.ts","../src/preact/textFilter/TextFilterChangedEvent.ts","../src/preact/lineageFilter/LineageFilterChangedEvent.ts"],"sourcesContent":["import z from 'zod';\n\nimport {\n type Deletion,\n type DeletionClass,\n type Insertion,\n type InsertionClass,\n type Substitution,\n type SubstitutionClass,\n} from './utils/mutations';\n\nexport const mutationsFilterSchema = z.object({\n nucleotideMutations: z.array(z.string()),\n aminoAcidMutations: z.array(z.string()),\n nucleotideInsertions: z.array(z.string()),\n aminoAcidInsertions: z.array(z.string()),\n});\nexport type MutationsFilter = z.infer<typeof mutationsFilterSchema>;\n\nexport const lapisFilterSchema = z\n .record(z.union([z.string(), z.array(z.string()), z.number(), z.null(), z.boolean(), z.undefined()]))\n .and(mutationsFilterSchema.partial());\nexport type LapisFilter = z.infer<typeof lapisFilterSchema>;\n\nexport const namedLapisFilterSchema = z.object({\n lapisFilter: lapisFilterSchema,\n displayName: z.string(),\n});\nexport type NamedLapisFilter = z.infer<typeof namedLapisFilterSchema>;\n\nexport const lapisLocationFilterSchema = z.record(z.union([z.string(), z.undefined()]));\nexport type LapisLocationFilter = z.infer<typeof lapisLocationFilterSchema>;\n\nexport const temporalGranularitySchema = z.union([\n z.literal('day'),\n z.literal('week'),\n z.literal('month'),\n z.literal('year'),\n]);\nexport type TemporalGranularity = z.infer<typeof temporalGranularitySchema>;\n\nexport const sequenceTypeSchema = z.union([z.literal('nucleotide'), z.literal('amino acid')]);\nexport type SequenceType = z.infer<typeof sequenceTypeSchema>;\n\nexport type SubstitutionOrDeletion = 'substitution' | 'deletion';\n\nexport type MutationType = SubstitutionOrDeletion | 'insertion';\n\nexport type SubstitutionEntry<T extends Substitution = SubstitutionClass> = {\n type: 'substitution';\n mutation: T;\n count: number;\n proportion: number;\n};\n\nexport type DeletionEntry<T extends Deletion = DeletionClass> = {\n type: 'deletion';\n mutation: T;\n count: number;\n proportion: number;\n};\n\nexport type InsertionEntry<T extends Insertion = InsertionClass> = { type: 'insertion'; mutation: T; count: number };\n\nexport type SubstitutionOrDeletionEntry<\n S extends Substitution = SubstitutionClass,\n D extends Deletion = DeletionClass,\n> = SubstitutionEntry<S> | DeletionEntry<D>;\n\nexport type MutationEntry = SubstitutionEntry | DeletionEntry | InsertionEntry;\n\nexport const views = {\n table: 'table',\n venn: 'venn',\n grid: 'grid',\n insertions: 'insertions',\n bar: 'bar',\n line: 'line',\n bubble: 'bubble',\n map: 'map',\n} as const;\n","export const toYYYYMMDD = (date: Date) => {\n const options: Intl.DateTimeFormatOptions = { year: 'numeric', month: '2-digit', day: '2-digit' };\n return date.toLocaleDateString('en-CA', options);\n};\n","import z from 'zod';\n\nimport { toYYYYMMDD } from './dateConversion';\n\n/**\n * A date range option that can be used in the `gs-date-range-filter` component.\n */\nexport const dateRangeOptionSchema = z.object({\n /** The label of the date range option that will be shown to the user */\n label: z.string(),\n /**\n * The start date of the date range in the format `YYYY-MM-DD`.\n * If not set, the date range selector will default to the `earliestDate` property.\n */\n dateFrom: z.string().date().optional(),\n /**\n * The end date of the date range in the format `YYYY-MM-DD`.\n * If not set, the date range selector will default to the current date.\n */\n dateTo: z.string().date().optional(),\n});\n\nexport type DateRangeOption = z.infer<typeof dateRangeOptionSchema>;\n\nexport const dateRangeValueSchema = z\n .union([\n z.string(),\n z.object({\n dateFrom: z.string().date().optional(),\n dateTo: z.string().date().optional(),\n }),\n ])\n .nullable();\n\nexport type DateRangeValue = z.infer<typeof dateRangeValueSchema>;\n\nexport class DateRangeOptionChangedEvent extends CustomEvent<DateRangeValue> {\n constructor(detail: DateRangeValue) {\n super('gs-date-range-option-changed', {\n detail,\n bubbles: true,\n composed: true,\n });\n }\n}\n\nconst today = new Date();\n\nconst twoWeeksAgo = new Date();\ntwoWeeksAgo.setDate(today.getDate() - 14);\n\nconst lastMonth = new Date(today);\nlastMonth.setMonth(today.getMonth() - 1);\n\nconst last2Months = new Date(today);\nlast2Months.setMonth(today.getMonth() - 2);\n\nconst last3Months = new Date(today);\nlast3Months.setMonth(today.getMonth() - 3);\n\nconst last6Months = new Date(today);\nlast6Months.setMonth(today.getMonth() - 6);\n\nconst lastYear = new Date(today);\nlastYear.setFullYear(today.getFullYear() - 1);\n\n/**\n * Presets for the `gs-date-range-filter` component that can be used as `dateRangeOptions`.\n */\nexport const dateRangeOptionPresets = {\n last2Weeks: {\n label: 'Last 2 weeks',\n dateFrom: toYYYYMMDD(twoWeeksAgo),\n },\n lastMonth: {\n label: 'Last month',\n dateFrom: toYYYYMMDD(lastMonth),\n },\n last2Months: {\n label: 'Last 2 months',\n dateFrom: toYYYYMMDD(last2Months),\n },\n last3Months: {\n label: 'Last 3 months',\n dateFrom: toYYYYMMDD(last3Months),\n },\n last6Months: {\n label: 'Last 6 months',\n dateFrom: toYYYYMMDD(last6Months),\n },\n lastYear: {\n label: 'Last year',\n dateFrom: toYYYYMMDD(lastYear),\n },\n allTimes: {\n label: 'All times',\n },\n} satisfies Record<string, DateRangeOption>;\n","import { type LapisLocationFilter } from '../../types';\n\nexport class LocationChangedEvent extends CustomEvent<LapisLocationFilter> {\n constructor(detail: LapisLocationFilter) {\n super('gs-location-changed', {\n detail,\n bubbles: true,\n composed: true,\n });\n }\n}\n","type LapisTextFilter = Record<string, string | undefined>;\n\nexport class TextFilterChangedEvent extends CustomEvent<LapisTextFilter> {\n constructor(detail: LapisTextFilter) {\n super('gs-text-filter-changed', {\n detail,\n bubbles: true,\n composed: true,\n });\n }\n}\n","type LapisLineageFilter = Record<string, string | undefined>;\n\nexport class LineageFilterChangedEvent extends CustomEvent<LapisLineageFilter> {\n constructor(detail: LapisLineageFilter) {\n super('gs-lineage-filter-changed', {\n detail,\n bubbles: true,\n composed: true,\n });\n }\n}\n"],"names":[],"mappings":";AAWa,MAAA,wBAAwB,EAAE,OAAO;AAAA,EAC1C,qBAAqB,EAAE,MAAM,EAAE,QAAQ;AAAA,EACvC,oBAAoB,EAAE,MAAM,EAAE,QAAQ;AAAA,EACtC,sBAAsB,EAAE,MAAM,EAAE,QAAQ;AAAA,EACxC,qBAAqB,EAAE,MAAM,EAAE,OAAQ,CAAA;AAC3C,CAAC;AAGM,MAAM,oBAAoB,EAC5B,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAQ,CAAA,GAAG,EAAE,OAAO,GAAG,EAAE,QAAQ,EAAE,QAAW,GAAA,EAAE,UAAW,CAAA,CAAC,CAAC,EACnG,IAAI,sBAAsB,QAAS,CAAA;AAG3B,MAAA,yBAAyB,EAAE,OAAO;AAAA,EAC3C,aAAa;AAAA,EACb,aAAa,EAAE,OAAO;AAC1B,CAAC;AAGM,MAAM,4BAA4B,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAU,GAAA,EAAE,UAAW,CAAA,CAAC,CAAC;AAGzE,MAAA,4BAA4B,EAAE,MAAM;AAAA,EAC7C,EAAE,QAAQ,KAAK;AAAA,EACf,EAAE,QAAQ,MAAM;AAAA,EAChB,EAAE,QAAQ,OAAO;AAAA,EACjB,EAAE,QAA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AAAA,IAAA,CACb;AAAA,EAAA;AAET;"}
|
package/dist/components.d.ts
CHANGED
|
@@ -163,12 +163,14 @@ export declare class AppComponent extends LitElement {
|
|
|
163
163
|
* Use this event, when you want to use the filter directly as a LAPIS filter.
|
|
164
164
|
*
|
|
165
165
|
*
|
|
166
|
-
* @fires {CustomEvent<
|
|
166
|
+
* @fires {CustomEvent<string | {dateFrom: string, dateTo: string} | null>} gs-date-range-option-changed
|
|
167
167
|
* Fired when:
|
|
168
168
|
* - The select field is changed,
|
|
169
169
|
* - A date is selected in either of the date pickers,
|
|
170
|
-
* - A date was typed into either of the date input fields, and the input field loses focus ("on blur")
|
|
171
|
-
*
|
|
170
|
+
* - A date was typed into either of the date input fields, and the input field loses focus ("on blur"),
|
|
171
|
+
* - The user deletes the current value by clicking the 'x' button.
|
|
172
|
+
* Contains the selected dateRangeOption or when users select custom values it contains the selected dates
|
|
173
|
+
* or `null` when the input was deleted.
|
|
172
174
|
*
|
|
173
175
|
* Use this event, when you want to control this component in your JS application.
|
|
174
176
|
* You can supply the `detail` of this event to the `value` attribute of this component.
|
|
@@ -204,7 +206,7 @@ export declare class DateRangeFilterComponent extends PreactLitAdapter {
|
|
|
204
206
|
value: string | {
|
|
205
207
|
dateFrom?: string;
|
|
206
208
|
dateTo?: string;
|
|
207
|
-
} |
|
|
209
|
+
} | null;
|
|
208
210
|
/**
|
|
209
211
|
* The width of the component.
|
|
210
212
|
*
|
|
@@ -1414,7 +1416,7 @@ declare global {
|
|
|
1414
1416
|
|
|
1415
1417
|
declare global {
|
|
1416
1418
|
interface HTMLElementTagNameMap {
|
|
1417
|
-
'gs-
|
|
1419
|
+
'gs-mutation-comparison-component': MutationComparisonComponent;
|
|
1418
1420
|
}
|
|
1419
1421
|
}
|
|
1420
1422
|
|
|
@@ -1422,7 +1424,7 @@ declare global {
|
|
|
1422
1424
|
declare global {
|
|
1423
1425
|
namespace JSX {
|
|
1424
1426
|
interface IntrinsicElements {
|
|
1425
|
-
'gs-
|
|
1427
|
+
'gs-mutation-comparison-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1426
1428
|
}
|
|
1427
1429
|
}
|
|
1428
1430
|
}
|
|
@@ -1430,11 +1432,7 @@ declare global {
|
|
|
1430
1432
|
|
|
1431
1433
|
declare global {
|
|
1432
1434
|
interface HTMLElementTagNameMap {
|
|
1433
|
-
'gs-
|
|
1434
|
-
}
|
|
1435
|
-
interface HTMLElementEventMap {
|
|
1436
|
-
'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
|
|
1437
|
-
'gs-date-range-option-changed': DateRangeOptionChangedEvent;
|
|
1435
|
+
'gs-mutations-component': MutationsComponent;
|
|
1438
1436
|
}
|
|
1439
1437
|
}
|
|
1440
1438
|
|
|
@@ -1442,7 +1440,7 @@ declare global {
|
|
|
1442
1440
|
declare global {
|
|
1443
1441
|
namespace JSX {
|
|
1444
1442
|
interface IntrinsicElements {
|
|
1445
|
-
'gs-
|
|
1443
|
+
'gs-mutations-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1446
1444
|
}
|
|
1447
1445
|
}
|
|
1448
1446
|
}
|
|
@@ -1450,10 +1448,7 @@ declare global {
|
|
|
1450
1448
|
|
|
1451
1449
|
declare global {
|
|
1452
1450
|
interface HTMLElementTagNameMap {
|
|
1453
|
-
'gs-
|
|
1454
|
-
}
|
|
1455
|
-
interface HTMLElementEventMap {
|
|
1456
|
-
'gs-location-changed': LocationChangedEvent;
|
|
1451
|
+
'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
|
|
1457
1452
|
}
|
|
1458
1453
|
}
|
|
1459
1454
|
|
|
@@ -1461,7 +1456,7 @@ declare global {
|
|
|
1461
1456
|
declare global {
|
|
1462
1457
|
namespace JSX {
|
|
1463
1458
|
interface IntrinsicElements {
|
|
1464
|
-
'gs-
|
|
1459
|
+
'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1465
1460
|
}
|
|
1466
1461
|
}
|
|
1467
1462
|
}
|
|
@@ -1469,10 +1464,7 @@ declare global {
|
|
|
1469
1464
|
|
|
1470
1465
|
declare global {
|
|
1471
1466
|
interface HTMLElementTagNameMap {
|
|
1472
|
-
'gs-
|
|
1473
|
-
}
|
|
1474
|
-
interface HTMLElementEventMap {
|
|
1475
|
-
'gs-text-filter-changed': TextFilterChangedEvent;
|
|
1467
|
+
'gs-prevalence-over-time': PrevalenceOverTimeComponent;
|
|
1476
1468
|
}
|
|
1477
1469
|
}
|
|
1478
1470
|
|
|
@@ -1480,7 +1472,7 @@ declare global {
|
|
|
1480
1472
|
declare global {
|
|
1481
1473
|
namespace JSX {
|
|
1482
1474
|
interface IntrinsicElements {
|
|
1483
|
-
'gs-
|
|
1475
|
+
'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1484
1476
|
}
|
|
1485
1477
|
}
|
|
1486
1478
|
}
|
|
@@ -1488,10 +1480,7 @@ declare global {
|
|
|
1488
1480
|
|
|
1489
1481
|
declare global {
|
|
1490
1482
|
interface HTMLElementTagNameMap {
|
|
1491
|
-
'gs-
|
|
1492
|
-
}
|
|
1493
|
-
interface HTMLElementEventMap {
|
|
1494
|
-
'gs-mutation-filter-changed': CustomEvent<MutationsFilter>;
|
|
1483
|
+
'gs-aggregate': AggregateComponent;
|
|
1495
1484
|
}
|
|
1496
1485
|
}
|
|
1497
1486
|
|
|
@@ -1499,7 +1488,7 @@ declare global {
|
|
|
1499
1488
|
declare global {
|
|
1500
1489
|
namespace JSX {
|
|
1501
1490
|
interface IntrinsicElements {
|
|
1502
|
-
'gs-
|
|
1491
|
+
'gs-aggregate': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1503
1492
|
}
|
|
1504
1493
|
}
|
|
1505
1494
|
}
|
|
@@ -1507,10 +1496,7 @@ declare global {
|
|
|
1507
1496
|
|
|
1508
1497
|
declare global {
|
|
1509
1498
|
interface HTMLElementTagNameMap {
|
|
1510
|
-
'gs-
|
|
1511
|
-
}
|
|
1512
|
-
interface HTMLElementEventMap {
|
|
1513
|
-
'gs-lineage-filter-changed': LineageFilterChangedEvent;
|
|
1499
|
+
'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
|
|
1514
1500
|
}
|
|
1515
1501
|
}
|
|
1516
1502
|
|
|
@@ -1518,7 +1504,7 @@ declare global {
|
|
|
1518
1504
|
declare global {
|
|
1519
1505
|
namespace JSX {
|
|
1520
1506
|
interface IntrinsicElements {
|
|
1521
|
-
'gs-
|
|
1507
|
+
'gs-number-sequences-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1522
1508
|
}
|
|
1523
1509
|
}
|
|
1524
1510
|
}
|
|
@@ -1526,7 +1512,7 @@ declare global {
|
|
|
1526
1512
|
|
|
1527
1513
|
declare global {
|
|
1528
1514
|
interface HTMLElementTagNameMap {
|
|
1529
|
-
'gs-mutations-
|
|
1515
|
+
'gs-mutations-over-time': MutationsOverTimeComponent;
|
|
1530
1516
|
}
|
|
1531
1517
|
}
|
|
1532
1518
|
|
|
@@ -1534,7 +1520,7 @@ declare global {
|
|
|
1534
1520
|
declare global {
|
|
1535
1521
|
namespace JSX {
|
|
1536
1522
|
interface IntrinsicElements {
|
|
1537
|
-
'gs-mutations-
|
|
1523
|
+
'gs-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1538
1524
|
}
|
|
1539
1525
|
}
|
|
1540
1526
|
}
|
|
@@ -1542,7 +1528,7 @@ declare global {
|
|
|
1542
1528
|
|
|
1543
1529
|
declare global {
|
|
1544
1530
|
interface HTMLElementTagNameMap {
|
|
1545
|
-
'gs-
|
|
1531
|
+
'gs-statistics': StatisticsComponent;
|
|
1546
1532
|
}
|
|
1547
1533
|
}
|
|
1548
1534
|
|
|
@@ -1550,7 +1536,7 @@ declare global {
|
|
|
1550
1536
|
declare global {
|
|
1551
1537
|
namespace JSX {
|
|
1552
1538
|
interface IntrinsicElements {
|
|
1553
|
-
'gs-
|
|
1539
|
+
'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1554
1540
|
}
|
|
1555
1541
|
}
|
|
1556
1542
|
}
|
|
@@ -1558,7 +1544,7 @@ declare global {
|
|
|
1558
1544
|
|
|
1559
1545
|
declare global {
|
|
1560
1546
|
interface HTMLElementTagNameMap {
|
|
1561
|
-
'gs-
|
|
1547
|
+
'gs-sequences-by-location': SequencesByLocationComponent;
|
|
1562
1548
|
}
|
|
1563
1549
|
}
|
|
1564
1550
|
|
|
@@ -1566,7 +1552,7 @@ declare global {
|
|
|
1566
1552
|
declare global {
|
|
1567
1553
|
namespace JSX {
|
|
1568
1554
|
interface IntrinsicElements {
|
|
1569
|
-
'gs-
|
|
1555
|
+
'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1570
1556
|
}
|
|
1571
1557
|
}
|
|
1572
1558
|
}
|
|
@@ -1574,7 +1560,11 @@ declare global {
|
|
|
1574
1560
|
|
|
1575
1561
|
declare global {
|
|
1576
1562
|
interface HTMLElementTagNameMap {
|
|
1577
|
-
'gs-
|
|
1563
|
+
'gs-date-range-filter': DateRangeFilterComponent;
|
|
1564
|
+
}
|
|
1565
|
+
interface HTMLElementEventMap {
|
|
1566
|
+
'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
|
|
1567
|
+
'gs-date-range-option-changed': DateRangeOptionChangedEvent;
|
|
1578
1568
|
}
|
|
1579
1569
|
}
|
|
1580
1570
|
|
|
@@ -1582,7 +1572,7 @@ declare global {
|
|
|
1582
1572
|
declare global {
|
|
1583
1573
|
namespace JSX {
|
|
1584
1574
|
interface IntrinsicElements {
|
|
1585
|
-
'gs-
|
|
1575
|
+
'gs-date-range-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1586
1576
|
}
|
|
1587
1577
|
}
|
|
1588
1578
|
}
|
|
@@ -1590,7 +1580,10 @@ declare global {
|
|
|
1590
1580
|
|
|
1591
1581
|
declare global {
|
|
1592
1582
|
interface HTMLElementTagNameMap {
|
|
1593
|
-
'gs-
|
|
1583
|
+
'gs-location-filter': LocationFilterComponent;
|
|
1584
|
+
}
|
|
1585
|
+
interface HTMLElementEventMap {
|
|
1586
|
+
'gs-location-changed': LocationChangedEvent;
|
|
1594
1587
|
}
|
|
1595
1588
|
}
|
|
1596
1589
|
|
|
@@ -1598,7 +1591,7 @@ declare global {
|
|
|
1598
1591
|
declare global {
|
|
1599
1592
|
namespace JSX {
|
|
1600
1593
|
interface IntrinsicElements {
|
|
1601
|
-
'gs-
|
|
1594
|
+
'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1602
1595
|
}
|
|
1603
1596
|
}
|
|
1604
1597
|
}
|
|
@@ -1606,7 +1599,10 @@ declare global {
|
|
|
1606
1599
|
|
|
1607
1600
|
declare global {
|
|
1608
1601
|
interface HTMLElementTagNameMap {
|
|
1609
|
-
'gs-
|
|
1602
|
+
'gs-text-filter': TextFilterComponent;
|
|
1603
|
+
}
|
|
1604
|
+
interface HTMLElementEventMap {
|
|
1605
|
+
'gs-text-filter-changed': TextFilterChangedEvent;
|
|
1610
1606
|
}
|
|
1611
1607
|
}
|
|
1612
1608
|
|
|
@@ -1614,7 +1610,7 @@ declare global {
|
|
|
1614
1610
|
declare global {
|
|
1615
1611
|
namespace JSX {
|
|
1616
1612
|
interface IntrinsicElements {
|
|
1617
|
-
'gs-
|
|
1613
|
+
'gs-text-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1618
1614
|
}
|
|
1619
1615
|
}
|
|
1620
1616
|
}
|
|
@@ -1622,7 +1618,10 @@ declare global {
|
|
|
1622
1618
|
|
|
1623
1619
|
declare global {
|
|
1624
1620
|
interface HTMLElementTagNameMap {
|
|
1625
|
-
'gs-
|
|
1621
|
+
'gs-mutation-filter': MutationFilterComponent;
|
|
1622
|
+
}
|
|
1623
|
+
interface HTMLElementEventMap {
|
|
1624
|
+
'gs-mutation-filter-changed': CustomEvent<MutationsFilter>;
|
|
1626
1625
|
}
|
|
1627
1626
|
}
|
|
1628
1627
|
|
|
@@ -1630,7 +1629,7 @@ declare global {
|
|
|
1630
1629
|
declare global {
|
|
1631
1630
|
namespace JSX {
|
|
1632
1631
|
interface IntrinsicElements {
|
|
1633
|
-
'gs-
|
|
1632
|
+
'gs-mutation-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1634
1633
|
}
|
|
1635
1634
|
}
|
|
1636
1635
|
}
|
|
@@ -1638,7 +1637,10 @@ declare global {
|
|
|
1638
1637
|
|
|
1639
1638
|
declare global {
|
|
1640
1639
|
interface HTMLElementTagNameMap {
|
|
1641
|
-
'gs-
|
|
1640
|
+
'gs-lineage-filter': LineageFilterComponent;
|
|
1641
|
+
}
|
|
1642
|
+
interface HTMLElementEventMap {
|
|
1643
|
+
'gs-lineage-filter-changed': LineageFilterChangedEvent;
|
|
1642
1644
|
}
|
|
1643
1645
|
}
|
|
1644
1646
|
|
|
@@ -1646,7 +1648,7 @@ declare global {
|
|
|
1646
1648
|
declare global {
|
|
1647
1649
|
namespace JSX {
|
|
1648
1650
|
interface IntrinsicElements {
|
|
1649
|
-
'gs-
|
|
1651
|
+
'gs-lineage-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1650
1652
|
}
|
|
1651
1653
|
}
|
|
1652
1654
|
}
|
|
@@ -1654,7 +1656,7 @@ declare global {
|
|
|
1654
1656
|
|
|
1655
1657
|
declare global {
|
|
1656
1658
|
interface HTMLElementTagNameMap {
|
|
1657
|
-
'gs-
|
|
1659
|
+
'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
|
|
1658
1660
|
}
|
|
1659
1661
|
}
|
|
1660
1662
|
|
|
@@ -1662,7 +1664,7 @@ declare global {
|
|
|
1662
1664
|
declare global {
|
|
1663
1665
|
namespace JSX {
|
|
1664
1666
|
interface IntrinsicElements {
|
|
1665
|
-
'gs-
|
|
1667
|
+
'gs-wastewater-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1666
1668
|
}
|
|
1667
1669
|
}
|
|
1668
1670
|
}
|