@genspectrum/dashboard-components 0.13.7 → 0.14.1
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 +13 -51
- package/dist/{LineageFilterChangedEvent-GedKNGFI.js → LineageFilterChangedEvent-C9dXOxt6.js} +11 -3
- package/dist/LineageFilterChangedEvent-C9dXOxt6.js.map +1 -0
- package/dist/components.d.ts +61 -67
- package/dist/components.js +95 -84
- package/dist/components.js.map +1 -1
- package/dist/util.d.ts +60 -50
- package/dist/util.js +1 -1
- package/package.json +1 -1
- package/src/preact/LapisUrlContext.ts +14 -1
- package/src/preact/aggregatedData/aggregate.stories.tsx +3 -3
- package/src/preact/aggregatedData/aggregate.tsx +3 -4
- package/src/preact/dateRangeSelector/computeInitialValues.spec.ts +34 -20
- package/src/preact/dateRangeSelector/computeInitialValues.ts +25 -21
- package/src/preact/dateRangeSelector/date-range-selector.stories.tsx +104 -40
- package/src/preact/dateRangeSelector/date-range-selector.tsx +29 -20
- package/src/preact/dateRangeSelector/dateRangeOption.ts +11 -1
- package/src/preact/lineageFilter/lineage-filter.stories.tsx +3 -3
- package/src/preact/lineageFilter/lineage-filter.tsx +3 -4
- package/src/preact/locationFilter/location-filter.stories.tsx +3 -3
- package/src/preact/locationFilter/location-filter.tsx +4 -4
- package/src/preact/map/sequences-by-location.stories.tsx +3 -3
- package/src/preact/map/sequences-by-location.tsx +3 -4
- package/src/preact/mutationComparison/mutation-comparison.stories.tsx +3 -3
- package/src/preact/mutationComparison/mutation-comparison.tsx +4 -4
- package/src/preact/mutationFilter/mutation-filter-info.tsx +3 -3
- package/src/preact/mutationFilter/mutation-filter.stories.tsx +5 -5
- package/src/preact/mutations/mutations.stories.tsx +3 -3
- package/src/preact/mutations/mutations.tsx +4 -4
- package/src/preact/mutationsOverTime/mutations-over-time.stories.tsx +3 -3
- package/src/preact/mutationsOverTime/mutations-over-time.tsx +4 -4
- package/src/preact/numberSequencesOverTime/number-sequences-over-time.stories.tsx +3 -3
- package/src/preact/numberSequencesOverTime/number-sequences-over-time.tsx +4 -4
- package/src/preact/prevalenceOverTime/prevalence-over-time.stories.tsx +3 -3
- package/src/preact/prevalenceOverTime/prevalence-over-time.tsx +4 -4
- package/src/preact/relativeGrowthAdvantage/relative-growth-advantage.stories.tsx +3 -3
- package/src/preact/relativeGrowthAdvantage/relative-growth-advantage.tsx +4 -4
- package/src/preact/statistic/statistics.stories.tsx +3 -3
- package/src/preact/statistic/statistics.tsx +2 -3
- package/src/preact/textInput/text-input.stories.tsx +3 -3
- package/src/preact/textInput/text-input.tsx +3 -4
- package/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.stories.tsx +3 -3
- package/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.tsx +4 -4
- package/src/web-components/PreactLitAdapter.tsx +3 -3
- package/src/web-components/gs-app.ts +3 -1
- package/src/web-components/input/gs-date-range-selector.stories.ts +5 -12
- package/src/web-components/input/gs-date-range-selector.tsx +15 -38
- package/standalone-bundle/dashboard-components.js +6078 -6072
- package/standalone-bundle/dashboard-components.js.map +1 -1
- package/dist/LineageFilterChangedEvent-GedKNGFI.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
"type": {
|
|
299
299
|
"text": "Meta<Required<DateRangeSelectorProps>>"
|
|
300
300
|
},
|
|
301
|
-
"default": "{ title: 'Input/DateRangeSelector', component: 'gs-date-range-selector', parameters: withComponentDocs({ actions: { handles: ['gs-date-range-filter-changed', 'gs-date-range-option-changed', ...previewHandles], }, fetchMock: {}, componentDocs: { opensShadowDom: true, expectsChildren: false, codeExample, }, }), argTypes: {
|
|
301
|
+
"default": "{ title: 'Input/DateRangeSelector', component: 'gs-date-range-selector', parameters: withComponentDocs({ actions: { handles: ['gs-date-range-filter-changed', 'gs-date-range-option-changed', ...previewHandles], }, fetchMock: {}, componentDocs: { opensShadowDom: true, expectsChildren: false, codeExample, }, }), argTypes: { value: { control: { type: 'object', }, }, lapisDateField: { control: { type: 'text' } }, dateRangeOptions: { control: { type: 'object', }, }, earliestDate: { control: { type: 'text', }, }, width: { control: { type: 'text', }, }, }, args: { dateRangeOptions: [ dateRangeOptionPresets.lastMonth, dateRangeOptionPresets.last3Months, dateRangeOptionPresets.allTimes, customDateRange, ], earliestDate: '1970-01-01', value: dateRangeOptionPresets.lastMonth.label, lapisDateField: 'aDateColumn', width: '100%', }, tags: ['autodocs'], }"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
"kind": "variable",
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
"type": {
|
|
307
307
|
"text": "StoryObj<Required<DateRangeSelectorProps>>"
|
|
308
308
|
},
|
|
309
|
-
"default": "{ render: (args) => html` <gs-app lapis=\"${LAPIS_URL}\"> <div class=\"max-w-screen-lg\"> <gs-date-range-selector .dateRangeOptions=${args.dateRangeOptions} .earliestDate=${args.earliestDate} .
|
|
309
|
+
"default": "{ render: (args) => html` <gs-app lapis=\"${LAPIS_URL}\"> <div class=\"max-w-screen-lg\"> <gs-date-range-selector .dateRangeOptions=${args.dateRangeOptions} .earliestDate=${args.earliestDate} .value=${args.value} .width=${args.width} .lapisDateField=${args.lapisDateField} ></gs-date-range-selector> </div> </gs-app>`, }"
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"kind": "variable",
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
"text": "{ label: string; dateFrom?: string; dateTo?: string }[]"
|
|
361
361
|
},
|
|
362
362
|
"default": "[]",
|
|
363
|
-
"description": "An array of date range options that the select field should provide.\nThe `label` will be shown to the user, and it will be available as `
|
|
363
|
+
"description": "An array of date range options that the select field should provide.\nThe `label` will be shown to the user, and it will be available as `value`.\nThe dates must be in the format `YYYY-MM-DD`.\n\nIf dateFrom or dateTo is not set, the component will default to the `earliestDate` or the current date.\n\nWe provide some options in `dateRangeOptionPresets` for convenience.",
|
|
364
364
|
"attribute": "dateRangeOptions"
|
|
365
365
|
},
|
|
366
366
|
{
|
|
@@ -375,33 +375,13 @@
|
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
377
|
"kind": "field",
|
|
378
|
-
"name": "
|
|
379
|
-
"type": {
|
|
380
|
-
"text": "string | undefined"
|
|
381
|
-
},
|
|
382
|
-
"default": "undefined",
|
|
383
|
-
"description": "The initial value to use for this date range selector.\nMust be a valid label from the `dateRangeOptions`.\n\nIf the value is not set, the component will default to the range `earliestDate` until today.\n\nIt will be overwritten if `initialDateFrom` or `initialDateTo` is set.\n\nWe provide some options in `dateRangeOptionPresets` for convenience.",
|
|
384
|
-
"attribute": "initialValue"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"kind": "field",
|
|
388
|
-
"name": "initialDateFrom",
|
|
389
|
-
"type": {
|
|
390
|
-
"text": "string | undefined"
|
|
391
|
-
},
|
|
392
|
-
"default": "undefined",
|
|
393
|
-
"description": "A date string in the format `YYYY-MM-DD`.\nIf set, the date range selector will be initialized with the given date (overwriting `initialValue` to `custom`).\nIf `initialDateTo` is set, but this is unset, it will default to `earliestDate`.",
|
|
394
|
-
"attribute": "initialDateFrom"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"kind": "field",
|
|
398
|
-
"name": "initialDateTo",
|
|
378
|
+
"name": "value",
|
|
399
379
|
"type": {
|
|
400
|
-
"text": "string | undefined"
|
|
380
|
+
"text": "string | { dateFrom?: string; dateTo?: string } | undefined"
|
|
401
381
|
},
|
|
402
382
|
"default": "undefined",
|
|
403
|
-
"description": "
|
|
404
|
-
"attribute": "
|
|
383
|
+
"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- If the attribute is not set, the component will default to the range `earliestDate` until today.\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.",
|
|
384
|
+
"attribute": "value"
|
|
405
385
|
},
|
|
406
386
|
{
|
|
407
387
|
"kind": "field",
|
|
@@ -436,7 +416,7 @@
|
|
|
436
416
|
"type": {
|
|
437
417
|
"text": "CustomEvent<{ string | {dateFrom: string, dateTo: string}}>"
|
|
438
418
|
},
|
|
439
|
-
"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.",
|
|
419
|
+
"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.",
|
|
440
420
|
"name": "gs-date-range-option-changed"
|
|
441
421
|
}
|
|
442
422
|
],
|
|
@@ -447,7 +427,7 @@
|
|
|
447
427
|
"text": "{ label: string; dateFrom?: string; dateTo?: string }[]"
|
|
448
428
|
},
|
|
449
429
|
"default": "[]",
|
|
450
|
-
"description": "An array of date range options that the select field should provide.\nThe `label` will be shown to the user, and it will be available as `
|
|
430
|
+
"description": "An array of date range options that the select field should provide.\nThe `label` will be shown to the user, and it will be available as `value`.\nThe dates must be in the format `YYYY-MM-DD`.\n\nIf dateFrom or dateTo is not set, the component will default to the `earliestDate` or the current date.\n\nWe provide some options in `dateRangeOptionPresets` for convenience.",
|
|
451
431
|
"fieldName": "dateRangeOptions"
|
|
452
432
|
},
|
|
453
433
|
{
|
|
@@ -460,31 +440,13 @@
|
|
|
460
440
|
"fieldName": "earliestDate"
|
|
461
441
|
},
|
|
462
442
|
{
|
|
463
|
-
"name": "
|
|
464
|
-
"type": {
|
|
465
|
-
"text": "string | undefined"
|
|
466
|
-
},
|
|
467
|
-
"default": "undefined",
|
|
468
|
-
"description": "The initial value to use for this date range selector.\nMust be a valid label from the `dateRangeOptions`.\n\nIf the value is not set, the component will default to the range `earliestDate` until today.\n\nIt will be overwritten if `initialDateFrom` or `initialDateTo` is set.\n\nWe provide some options in `dateRangeOptionPresets` for convenience.",
|
|
469
|
-
"fieldName": "initialValue"
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"name": "initialDateFrom",
|
|
473
|
-
"type": {
|
|
474
|
-
"text": "string | undefined"
|
|
475
|
-
},
|
|
476
|
-
"default": "undefined",
|
|
477
|
-
"description": "A date string in the format `YYYY-MM-DD`.\nIf set, the date range selector will be initialized with the given date (overwriting `initialValue` to `custom`).\nIf `initialDateTo` is set, but this is unset, it will default to `earliestDate`.",
|
|
478
|
-
"fieldName": "initialDateFrom"
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"name": "initialDateTo",
|
|
443
|
+
"name": "value",
|
|
482
444
|
"type": {
|
|
483
|
-
"text": "string | undefined"
|
|
445
|
+
"text": "string | { dateFrom?: string; dateTo?: string } | undefined"
|
|
484
446
|
},
|
|
485
447
|
"default": "undefined",
|
|
486
|
-
"description": "
|
|
487
|
-
"fieldName": "
|
|
448
|
+
"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- If the attribute is not set, the component will default to the range `earliestDate` until today.\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.",
|
|
449
|
+
"fieldName": "value"
|
|
488
450
|
},
|
|
489
451
|
{
|
|
490
452
|
"name": "width",
|
package/dist/{LineageFilterChangedEvent-GedKNGFI.js → LineageFilterChangedEvent-C9dXOxt6.js}
RENAMED
|
@@ -46,6 +46,13 @@ const dateRangeOptionSchema = z.object({
|
|
|
46
46
|
*/
|
|
47
47
|
dateTo: z.string().date().optional()
|
|
48
48
|
});
|
|
49
|
+
const dateRangeValueSchema = z.union([
|
|
50
|
+
z.string(),
|
|
51
|
+
z.object({
|
|
52
|
+
dateFrom: z.string().date().optional(),
|
|
53
|
+
dateTo: z.string().date().optional()
|
|
54
|
+
})
|
|
55
|
+
]);
|
|
49
56
|
class DateRangeOptionChangedEvent extends CustomEvent {
|
|
50
57
|
constructor(detail) {
|
|
51
58
|
super("gs-date-range-option-changed", {
|
|
@@ -130,9 +137,10 @@ export {
|
|
|
130
137
|
TextInputChangedEvent as T,
|
|
131
138
|
LineageFilterChangedEvent as a,
|
|
132
139
|
dateRangeOptionSchema as b,
|
|
133
|
-
|
|
140
|
+
dateRangeValueSchema as c,
|
|
134
141
|
dateRangeOptionPresets as d,
|
|
135
|
-
|
|
142
|
+
toYYYYMMDD as e,
|
|
143
|
+
lapisLocationFilterSchema as f,
|
|
136
144
|
lapisFilterSchema as l,
|
|
137
145
|
mutationsFilterSchema as m,
|
|
138
146
|
namedLapisFilterSchema as n,
|
|
@@ -140,4 +148,4 @@ export {
|
|
|
140
148
|
temporalGranularitySchema as t,
|
|
141
149
|
views as v
|
|
142
150
|
};
|
|
143
|
-
//# sourceMappingURL=LineageFilterChangedEvent-
|
|
151
|
+
//# sourceMappingURL=LineageFilterChangedEvent-C9dXOxt6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineageFilterChangedEvent-C9dXOxt6.js","sources":["../src/types.ts","../src/preact/dateRangeSelector/dateConversion.ts","../src/preact/dateRangeSelector/dateRangeOption.ts","../src/preact/locationFilter/LocationChangedEvent.ts","../src/preact/textInput/TextInputChangedEvent.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-selector` 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.union([\n z.string(),\n z.object({\n dateFrom: z.string().date().optional(),\n dateTo: z.string().date().optional(),\n }),\n]);\n\nexport type DateRangeValue = z.infer<typeof dateRangeValueSchema>;\n\nexport type DateRangeSelectOption = Required<DateRangeValue>;\n\nexport class DateRangeOptionChangedEvent extends CustomEvent<DateRangeSelectOption> {\n constructor(detail: DateRangeSelectOption) {\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-selector` 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 TextInputChangedEvent extends CustomEvent<LapisTextFilter> {\n constructor(detail: LapisTextFilter) {\n super('gs-text-input-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,QAAQ,MAAM;AACpB,CAAC;AAGM,MAAM,qBAAqB,EAAE,MAAM,CAAC,EAAE,QAAQ,YAAY,GAAG,EAAE,QAAQ,YAAY,CAAC,CAAC;AA8BrF,MAAM,QAAQ;AAAA,EACjB,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,KAAK;AAAA,EACL,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,KAAK;AACT;AChFa,MAAA,aAAa,CAAC,SAAe;AACtC,QAAM,UAAsC,EAAE,MAAM,WAAW,OAAO,WAAW,KAAK,UAAU;AACzF,SAAA,KAAK,mBAAmB,SAAS,OAAO;AACnD;ACIa,MAAA,wBAAwB,EAAE,OAAO;AAAA;AAAA,EAE1C,OAAO,EAAE,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,EAKhB,UAAU,EAAE,OAAS,EAAA,KAAA,EAAO,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,EAKrC,QAAQ,EAAE,SAAS,OAAO,SAAS;AACvC,CAAC;AAIY,MAAA,uBAAuB,EAAE,MAAM;AAAA,EACxC,EAAE,OAAO;AAAA,EACT,EAAE,OAAO;AAAA,IACL,UAAU,EAAE,OAAS,EAAA,KAAA,EAAO,SAAS;AAAA,IACrC,QAAQ,EAAE,SAAS,OAAO,SAAS;AAAA,EACtC,CAAA;AACL,CAAC;AAMM,MAAM,oCAAoC,YAAmC;AAAA,EAChF,YAAY,QAA+B;AACvC,UAAM,gCAAgC;AAAA,MAClC;AAAA,MACA,SAAS;AAAA,MACT,UAAU;AAAA,IAAA,CACb;AAAA,EAAA;AAET;AAEA,MAAM,4BAAY,KAAK;AAEvB,MAAM,kCAAkB,KAAK;AAC7B,YAAY,QAAQ,MAAM,QAAQ,IAAI,EAAE;AAExC,MAAM,YAAY,IAAI,KAAK,KAAK;AAChC,UAAU,SAAS,MAAM,SAAS,IAAI,CAAC;AAEvC,MAAM,cAAc,IAAI,KAAK,KAAK;AAClC,YAAY,SAAS,MAAM,SAAS,IAAI,CAAC;AAEzC,MAAM,cAAc,IAAI,KAAK,KAAK;AAClC,YAAY,SAAS,MAAM,SAAS,IAAI,CAAC;AAEzC,MAAM,cAAc,IAAI,KAAK,KAAK;AAClC,YAAY,SAAS,MAAM,SAAS,IAAI,CAAC;AAEzC,MAAM,WAAW,IAAI,KAAK,KAAK;AAC/B,SAAS,YAAY,MAAM,YAAY,IAAI,CAAC;AAKrC,MAAM,yBAAyB;AAAA,EAClC,YAAY;AAAA,IACR,OAAO;AAAA,IACP,UAAU,WAAW,WAAW;AAAA,EACpC;AAAA,EACA,WAAW;AAAA,IACP,OAAO;AAAA,IACP,UAAU,WAAW,SAAS;AAAA,EAClC;AAAA,EACA,aAAa;AAAA,IACT,OAAO;AAAA,IACP,UAAU,WAAW,WAAW;AAAA,EACpC;AAAA,EACA,aAAa;AAAA,IACT,OAAO;AAAA,IACP,UAAU,WAAW,WAAW;AAAA,EACpC;AAAA,EACA,aAAa;AAAA,IACT,OAAO;AAAA,IACP,UAAU,WAAW,WAAW;AAAA,EACpC;AAAA,EACA,UAAU;AAAA,IACN,OAAO;AAAA,IACP,UAAU,WAAW,QAAQ;AAAA,EACjC;AAAA,EACA,UAAU;AAAA,IACN,OAAO;AAAA,EAAA;AAEf;AC/FO,MAAM,6BAA6B,YAAiC;AAAA,EACvE,YAAY,QAA6B;AACrC,UAAM,uBAAuB;AAAA,MACzB;AAAA,MACA,SAAS;AAAA,MACT,UAAU;AAAA,IAAA,CACb;AAAA,EAAA;AAET;ACRO,MAAM,8BAA8B,YAA6B;AAAA,EACpE,YAAY,QAAyB;AACjC,UAAM,yBAAyB;AAAA,MAC3B;AAAA,MACA,SAAS;AAAA,MACT,UAAU;AAAA,IAAA,CACb;AAAA,EAAA;AAET;ACRO,MAAM,kCAAkC,YAAgC;AAAA,EAC3E,YAAY,QAA4B;AACpC,UAAM,6BAA6B;AAAA,MAC/B;AAAA,MACA,SAAS;AAAA,MACT,UAAU;AAAA,IAAA,CACb;AAAA,EAAA;AAET;"}
|
package/dist/components.d.ts
CHANGED
|
@@ -162,14 +162,17 @@ export declare class AppComponent extends LitElement {
|
|
|
162
162
|
* Contains the selected dateRangeOption or when users select custom values it contains the selected dates.
|
|
163
163
|
*
|
|
164
164
|
* Use this event, when you want to control this component in your JS application.
|
|
165
|
+
* You can supply the `detail` of this event to the `value` attribute of this component.
|
|
165
166
|
*/
|
|
166
167
|
export declare class DateRangeSelectorComponent extends PreactLitAdapter {
|
|
167
168
|
/**
|
|
168
169
|
* An array of date range options that the select field should provide.
|
|
169
|
-
* The `label` will be shown to the user, and it will be available as `
|
|
170
|
+
* The `label` will be shown to the user, and it will be available as `value`.
|
|
170
171
|
* The dates must be in the format `YYYY-MM-DD`.
|
|
171
172
|
*
|
|
172
173
|
* If dateFrom or dateTo is not set, the component will default to the `earliestDate` or the current date.
|
|
174
|
+
*
|
|
175
|
+
* We provide some options in `dateRangeOptionPresets` for convenience.
|
|
173
176
|
*/
|
|
174
177
|
dateRangeOptions: {
|
|
175
178
|
label: string;
|
|
@@ -181,28 +184,19 @@ export declare class DateRangeSelectorComponent extends PreactLitAdapter {
|
|
|
181
184
|
*/
|
|
182
185
|
earliestDate: string;
|
|
183
186
|
/**
|
|
184
|
-
* The
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* It will be overwritten if `initialDateFrom` or `initialDateTo` is set.
|
|
187
|
+
* The value to use for this date range selector.
|
|
188
|
+
* - If it is a string, then it must be a valid label from the `dateRangeOptions`.
|
|
189
|
+
* - If it is an object, then it accepts dates in the format `YYYY-MM-DD` for the keys `dateFrom` and `dateTo`.
|
|
190
|
+
* Keys that are not set will default to the `earliestDate` or the current date respectively.
|
|
191
|
+
* - If the attribute is not set, the component will default to the range `earliestDate` until today.
|
|
190
192
|
*
|
|
191
|
-
*
|
|
192
|
-
|
|
193
|
-
initialValue: string | undefined;
|
|
194
|
-
/**
|
|
195
|
-
* A date string in the format `YYYY-MM-DD`.
|
|
196
|
-
* If set, the date range selector will be initialized with the given date (overwriting `initialValue` to `custom`).
|
|
197
|
-
* If `initialDateTo` is set, but this is unset, it will default to `earliestDate`.
|
|
193
|
+
* The `detail` of the `gs-date-range-option-changed` event can be used for this attribute,
|
|
194
|
+
* if you want to control this component in your JS application.
|
|
198
195
|
*/
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
* If `initialDateFrom` is set, but this is unset, it will default to the current date.
|
|
204
|
-
*/
|
|
205
|
-
initialDateTo: string | undefined;
|
|
196
|
+
value: string | {
|
|
197
|
+
dateFrom?: string;
|
|
198
|
+
dateTo?: string;
|
|
199
|
+
} | undefined;
|
|
206
200
|
/**
|
|
207
201
|
* The width of the component.
|
|
208
202
|
*
|
|
@@ -1352,7 +1346,11 @@ declare global {
|
|
|
1352
1346
|
|
|
1353
1347
|
declare global {
|
|
1354
1348
|
interface HTMLElementTagNameMap {
|
|
1355
|
-
'gs-
|
|
1349
|
+
'gs-date-range-selector': DateRangeSelectorComponent;
|
|
1350
|
+
}
|
|
1351
|
+
interface HTMLElementEventMap {
|
|
1352
|
+
'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
|
|
1353
|
+
'gs-date-range-option-changed': DateRangeOptionChangedEvent;
|
|
1356
1354
|
}
|
|
1357
1355
|
}
|
|
1358
1356
|
|
|
@@ -1360,7 +1358,7 @@ declare global {
|
|
|
1360
1358
|
declare global {
|
|
1361
1359
|
namespace JSX {
|
|
1362
1360
|
interface IntrinsicElements {
|
|
1363
|
-
'gs-
|
|
1361
|
+
'gs-date-range-selector': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1364
1362
|
}
|
|
1365
1363
|
}
|
|
1366
1364
|
}
|
|
@@ -1368,7 +1366,10 @@ declare global {
|
|
|
1368
1366
|
|
|
1369
1367
|
declare global {
|
|
1370
1368
|
interface HTMLElementTagNameMap {
|
|
1371
|
-
'gs-
|
|
1369
|
+
'gs-text-input': TextInputComponent;
|
|
1370
|
+
}
|
|
1371
|
+
interface HTMLElementEventMap {
|
|
1372
|
+
'gs-text-input-changed': TextInputChangedEvent;
|
|
1372
1373
|
}
|
|
1373
1374
|
}
|
|
1374
1375
|
|
|
@@ -1376,7 +1377,7 @@ declare global {
|
|
|
1376
1377
|
declare global {
|
|
1377
1378
|
namespace JSX {
|
|
1378
1379
|
interface IntrinsicElements {
|
|
1379
|
-
'gs-
|
|
1380
|
+
'gs-text-input': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1380
1381
|
}
|
|
1381
1382
|
}
|
|
1382
1383
|
}
|
|
@@ -1384,7 +1385,10 @@ declare global {
|
|
|
1384
1385
|
|
|
1385
1386
|
declare global {
|
|
1386
1387
|
interface HTMLElementTagNameMap {
|
|
1387
|
-
'gs-
|
|
1388
|
+
'gs-location-filter': LocationFilterComponent;
|
|
1389
|
+
}
|
|
1390
|
+
interface HTMLElementEventMap {
|
|
1391
|
+
'gs-location-changed': LocationChangedEvent;
|
|
1388
1392
|
}
|
|
1389
1393
|
}
|
|
1390
1394
|
|
|
@@ -1392,7 +1396,7 @@ declare global {
|
|
|
1392
1396
|
declare global {
|
|
1393
1397
|
namespace JSX {
|
|
1394
1398
|
interface IntrinsicElements {
|
|
1395
|
-
'gs-
|
|
1399
|
+
'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1396
1400
|
}
|
|
1397
1401
|
}
|
|
1398
1402
|
}
|
|
@@ -1400,7 +1404,10 @@ declare global {
|
|
|
1400
1404
|
|
|
1401
1405
|
declare global {
|
|
1402
1406
|
interface HTMLElementTagNameMap {
|
|
1403
|
-
'gs-
|
|
1407
|
+
'gs-lineage-filter': LineageFilterComponent;
|
|
1408
|
+
}
|
|
1409
|
+
interface HTMLElementEventMap {
|
|
1410
|
+
'gs-lineage-filter-changed': LineageFilterChangedEvent;
|
|
1404
1411
|
}
|
|
1405
1412
|
}
|
|
1406
1413
|
|
|
@@ -1408,7 +1415,7 @@ declare global {
|
|
|
1408
1415
|
declare global {
|
|
1409
1416
|
namespace JSX {
|
|
1410
1417
|
interface IntrinsicElements {
|
|
1411
|
-
'gs-
|
|
1418
|
+
'gs-lineage-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1412
1419
|
}
|
|
1413
1420
|
}
|
|
1414
1421
|
}
|
|
@@ -1416,7 +1423,10 @@ declare global {
|
|
|
1416
1423
|
|
|
1417
1424
|
declare global {
|
|
1418
1425
|
interface HTMLElementTagNameMap {
|
|
1419
|
-
'gs-
|
|
1426
|
+
'gs-mutation-filter': MutationFilterComponent;
|
|
1427
|
+
}
|
|
1428
|
+
interface HTMLElementEventMap {
|
|
1429
|
+
'gs-mutation-filter-changed': CustomEvent<MutationsFilter>;
|
|
1420
1430
|
}
|
|
1421
1431
|
}
|
|
1422
1432
|
|
|
@@ -1424,7 +1434,7 @@ declare global {
|
|
|
1424
1434
|
declare global {
|
|
1425
1435
|
namespace JSX {
|
|
1426
1436
|
interface IntrinsicElements {
|
|
1427
|
-
'gs-
|
|
1437
|
+
'gs-mutation-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1428
1438
|
}
|
|
1429
1439
|
}
|
|
1430
1440
|
}
|
|
@@ -1432,7 +1442,7 @@ declare global {
|
|
|
1432
1442
|
|
|
1433
1443
|
declare global {
|
|
1434
1444
|
interface HTMLElementTagNameMap {
|
|
1435
|
-
'gs-
|
|
1445
|
+
'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
|
|
1436
1446
|
}
|
|
1437
1447
|
}
|
|
1438
1448
|
|
|
@@ -1440,7 +1450,7 @@ declare global {
|
|
|
1440
1450
|
declare global {
|
|
1441
1451
|
namespace JSX {
|
|
1442
1452
|
interface IntrinsicElements {
|
|
1443
|
-
'gs-
|
|
1453
|
+
'gs-wastewater-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1444
1454
|
}
|
|
1445
1455
|
}
|
|
1446
1456
|
}
|
|
@@ -1448,7 +1458,7 @@ declare global {
|
|
|
1448
1458
|
|
|
1449
1459
|
declare global {
|
|
1450
1460
|
interface HTMLElementTagNameMap {
|
|
1451
|
-
'gs-
|
|
1461
|
+
'gs-mutation-comparison-component': MutationComparisonComponent;
|
|
1452
1462
|
}
|
|
1453
1463
|
}
|
|
1454
1464
|
|
|
@@ -1456,7 +1466,7 @@ declare global {
|
|
|
1456
1466
|
declare global {
|
|
1457
1467
|
namespace JSX {
|
|
1458
1468
|
interface IntrinsicElements {
|
|
1459
|
-
'gs-
|
|
1469
|
+
'gs-mutation-comparison-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1460
1470
|
}
|
|
1461
1471
|
}
|
|
1462
1472
|
}
|
|
@@ -1464,7 +1474,7 @@ declare global {
|
|
|
1464
1474
|
|
|
1465
1475
|
declare global {
|
|
1466
1476
|
interface HTMLElementTagNameMap {
|
|
1467
|
-
'gs-
|
|
1477
|
+
'gs-prevalence-over-time': PrevalenceOverTimeComponent;
|
|
1468
1478
|
}
|
|
1469
1479
|
}
|
|
1470
1480
|
|
|
@@ -1472,7 +1482,7 @@ declare global {
|
|
|
1472
1482
|
declare global {
|
|
1473
1483
|
namespace JSX {
|
|
1474
1484
|
interface IntrinsicElements {
|
|
1475
|
-
'gs-
|
|
1485
|
+
'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1476
1486
|
}
|
|
1477
1487
|
}
|
|
1478
1488
|
}
|
|
@@ -1480,7 +1490,7 @@ declare global {
|
|
|
1480
1490
|
|
|
1481
1491
|
declare global {
|
|
1482
1492
|
interface HTMLElementTagNameMap {
|
|
1483
|
-
'gs-
|
|
1493
|
+
'gs-mutations-component': MutationsComponent;
|
|
1484
1494
|
}
|
|
1485
1495
|
}
|
|
1486
1496
|
|
|
@@ -1488,7 +1498,7 @@ declare global {
|
|
|
1488
1498
|
declare global {
|
|
1489
1499
|
namespace JSX {
|
|
1490
1500
|
interface IntrinsicElements {
|
|
1491
|
-
'gs-
|
|
1501
|
+
'gs-mutations-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1492
1502
|
}
|
|
1493
1503
|
}
|
|
1494
1504
|
}
|
|
@@ -1496,7 +1506,7 @@ declare global {
|
|
|
1496
1506
|
|
|
1497
1507
|
declare global {
|
|
1498
1508
|
interface HTMLElementTagNameMap {
|
|
1499
|
-
'gs-
|
|
1509
|
+
'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
|
|
1500
1510
|
}
|
|
1501
1511
|
}
|
|
1502
1512
|
|
|
@@ -1504,7 +1514,7 @@ declare global {
|
|
|
1504
1514
|
declare global {
|
|
1505
1515
|
namespace JSX {
|
|
1506
1516
|
interface IntrinsicElements {
|
|
1507
|
-
'gs-
|
|
1517
|
+
'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1508
1518
|
}
|
|
1509
1519
|
}
|
|
1510
1520
|
}
|
|
@@ -1512,11 +1522,7 @@ declare global {
|
|
|
1512
1522
|
|
|
1513
1523
|
declare global {
|
|
1514
1524
|
interface HTMLElementTagNameMap {
|
|
1515
|
-
'gs-
|
|
1516
|
-
}
|
|
1517
|
-
interface HTMLElementEventMap {
|
|
1518
|
-
'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
|
|
1519
|
-
'gs-date-range-option-changed': DateRangeOptionChangedEvent;
|
|
1525
|
+
'gs-aggregate': AggregateComponent;
|
|
1520
1526
|
}
|
|
1521
1527
|
}
|
|
1522
1528
|
|
|
@@ -1524,7 +1530,7 @@ declare global {
|
|
|
1524
1530
|
declare global {
|
|
1525
1531
|
namespace JSX {
|
|
1526
1532
|
interface IntrinsicElements {
|
|
1527
|
-
'gs-
|
|
1533
|
+
'gs-aggregate': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1528
1534
|
}
|
|
1529
1535
|
}
|
|
1530
1536
|
}
|
|
@@ -1532,10 +1538,7 @@ declare global {
|
|
|
1532
1538
|
|
|
1533
1539
|
declare global {
|
|
1534
1540
|
interface HTMLElementTagNameMap {
|
|
1535
|
-
'gs-
|
|
1536
|
-
}
|
|
1537
|
-
interface HTMLElementEventMap {
|
|
1538
|
-
'gs-location-changed': LocationChangedEvent;
|
|
1541
|
+
'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
|
|
1539
1542
|
}
|
|
1540
1543
|
}
|
|
1541
1544
|
|
|
@@ -1543,7 +1546,7 @@ declare global {
|
|
|
1543
1546
|
declare global {
|
|
1544
1547
|
namespace JSX {
|
|
1545
1548
|
interface IntrinsicElements {
|
|
1546
|
-
'gs-
|
|
1549
|
+
'gs-number-sequences-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1547
1550
|
}
|
|
1548
1551
|
}
|
|
1549
1552
|
}
|
|
@@ -1551,10 +1554,7 @@ declare global {
|
|
|
1551
1554
|
|
|
1552
1555
|
declare global {
|
|
1553
1556
|
interface HTMLElementTagNameMap {
|
|
1554
|
-
'gs-
|
|
1555
|
-
}
|
|
1556
|
-
interface HTMLElementEventMap {
|
|
1557
|
-
'gs-mutation-filter-changed': CustomEvent<MutationsFilter>;
|
|
1557
|
+
'gs-mutations-over-time': MutationsOverTimeComponent;
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
@@ -1562,7 +1562,7 @@ declare global {
|
|
|
1562
1562
|
declare global {
|
|
1563
1563
|
namespace JSX {
|
|
1564
1564
|
interface IntrinsicElements {
|
|
1565
|
-
'gs-
|
|
1565
|
+
'gs-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1566
1566
|
}
|
|
1567
1567
|
}
|
|
1568
1568
|
}
|
|
@@ -1570,10 +1570,7 @@ declare global {
|
|
|
1570
1570
|
|
|
1571
1571
|
declare global {
|
|
1572
1572
|
interface HTMLElementTagNameMap {
|
|
1573
|
-
'gs-
|
|
1574
|
-
}
|
|
1575
|
-
interface HTMLElementEventMap {
|
|
1576
|
-
'gs-text-input-changed': TextInputChangedEvent;
|
|
1573
|
+
'gs-sequences-by-location': SequencesByLocationComponent;
|
|
1577
1574
|
}
|
|
1578
1575
|
}
|
|
1579
1576
|
|
|
@@ -1581,7 +1578,7 @@ declare global {
|
|
|
1581
1578
|
declare global {
|
|
1582
1579
|
namespace JSX {
|
|
1583
1580
|
interface IntrinsicElements {
|
|
1584
|
-
'gs-
|
|
1581
|
+
'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1585
1582
|
}
|
|
1586
1583
|
}
|
|
1587
1584
|
}
|
|
@@ -1589,10 +1586,7 @@ declare global {
|
|
|
1589
1586
|
|
|
1590
1587
|
declare global {
|
|
1591
1588
|
interface HTMLElementTagNameMap {
|
|
1592
|
-
'gs-
|
|
1593
|
-
}
|
|
1594
|
-
interface HTMLElementEventMap {
|
|
1595
|
-
'gs-lineage-filter-changed': LineageFilterChangedEvent;
|
|
1589
|
+
'gs-statistics': StatisticsComponent;
|
|
1596
1590
|
}
|
|
1597
1591
|
}
|
|
1598
1592
|
|
|
@@ -1600,7 +1594,7 @@ declare global {
|
|
|
1600
1594
|
declare global {
|
|
1601
1595
|
namespace JSX {
|
|
1602
1596
|
interface IntrinsicElements {
|
|
1603
|
-
'gs-
|
|
1597
|
+
'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1604
1598
|
}
|
|
1605
1599
|
}
|
|
1606
1600
|
}
|