@rubin-epo/epo-widget-lib 0.10.2 → 0.10.3-beta.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/dist/atomic/Blinker/Controls/styles.d.ts +56 -54
- package/dist/atomic/Blinker/styles.d.ts +109 -108
- package/dist/atomic/ElapsedTime/styles.d.ts +326 -324
- package/dist/atomic/LiveRegion/styles.d.ts +56 -54
- package/dist/atomic/Loader/styles.d.ts +56 -54
- package/dist/atomic/PlaybackControl/styles.d.ts +110 -108
- package/dist/atomic/PlotWrapper/styles.d.ts +56 -54
- package/dist/charts/Base/styles.d.ts +541 -539
- package/dist/charts/Readout/styles.d.ts +110 -108
- package/dist/charts/Tooltip/styles.d.ts +109 -108
- package/dist/charts/XAxis/index.cjs +1 -1
- package/dist/charts/XAxis/index.js +47 -32
- package/dist/charts/YAxis/index.cjs +1 -1
- package/dist/charts/YAxis/index.js +44 -29
- package/dist/charts/hooks/useAxis.cjs +1 -1
- package/dist/charts/hooks/useAxis.d.ts +4 -3
- package/dist/charts/hooks/useAxis.js +15 -25
- package/dist/charts/styles.d.ts +320 -318
- package/dist/layout/AspectRatio/styles.d.ts +55 -54
- package/dist/layout/Controls/styles.d.ts +379 -378
- package/dist/lib/utils.d.ts +2 -2
- package/dist/styles/svg.d.ts +56 -54
- package/dist/widgets/CameraFilter/styles.d.ts +860 -860
- package/dist/widgets/ColorTool/FilterControls/styles.d.ts +222 -221
- package/dist/widgets/FilterTool/styles.d.ts +426 -426
- package/dist/widgets/LightCurvePlot/Plot/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/Plot/index.js +67 -52
- package/dist/widgets/LightCurvePlot/Plot/styles.d.ts +110 -108
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/styles.d.ts +56 -54
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.d.ts +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.js +29 -33
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.js +4 -4
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.js +85 -81
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.d.ts +164 -162
- package/dist/widgets/LightCurvePlot/defaults.cjs +1 -1
- package/dist/widgets/LightCurvePlot/defaults.d.ts +10 -6
- package/dist/widgets/LightCurvePlot/defaults.js +2 -6
- package/dist/widgets/LightCurvePlot/helpers.cjs +1 -1
- package/dist/widgets/LightCurvePlot/helpers.js +1 -1
- package/dist/widgets/SourceSelector/Point/styles.d.ts +55 -53
- package/dist/widgets/SourceSelector/SelectionList/styles.d.ts +164 -162
- package/dist/widgets/SourceSelector/styles.d.ts +496 -0
- package/dist/widgets/SupernovaThreeVector/Histogram/index.cjs +1 -1
- package/dist/widgets/SupernovaThreeVector/Histogram/index.js +8 -8
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.d.ts +55 -53
- package/dist/widgets/SupernovaThreeVector/Skymap/styles.d.ts +373 -371
- package/package.json +4 -4
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.cjs +0 -5
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.d.ts +0 -272
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.js +0 -10
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
1
3
|
export declare const Container: import('styled-components').IStyledComponent<"web", {
|
|
2
4
|
ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
|
|
3
5
|
key?: import('react').Key | null | undefined;
|
|
@@ -50,60 +52,60 @@ export declare const Container: import('styled-components').IStyledComponent<"we
|
|
|
50
52
|
unselectable?: "on" | "off" | undefined;
|
|
51
53
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
52
54
|
is?: string | undefined;
|
|
53
|
-
children?: import('react').ReactNode
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
55
|
+
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
56
|
+
'aria-activedescendant'?: string | undefined;
|
|
57
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
58
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
59
|
+
'aria-braillelabel'?: string | undefined;
|
|
60
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
61
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
62
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
63
|
+
'aria-colcount'?: number | undefined;
|
|
64
|
+
'aria-colindex'?: number | undefined;
|
|
65
|
+
'aria-colindextext'?: string | undefined;
|
|
66
|
+
'aria-colspan'?: number | undefined;
|
|
67
|
+
'aria-controls'?: string | undefined;
|
|
68
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
69
|
+
'aria-describedby'?: string | undefined;
|
|
70
|
+
'aria-description'?: string | undefined;
|
|
71
|
+
'aria-details'?: string | undefined;
|
|
72
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
74
|
+
'aria-errormessage'?: string | undefined;
|
|
75
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
76
|
+
'aria-flowto'?: string | undefined;
|
|
77
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
78
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
79
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
80
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
81
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
82
|
+
'aria-label'?: string | undefined;
|
|
83
|
+
'aria-labelledby'?: string | undefined;
|
|
84
|
+
'aria-level'?: number | undefined;
|
|
85
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
86
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
87
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
89
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
90
|
+
'aria-owns'?: string | undefined;
|
|
91
|
+
'aria-placeholder'?: string | undefined;
|
|
92
|
+
'aria-posinset'?: number | undefined;
|
|
93
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
94
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
95
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
96
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
'aria-roledescription'?: string | undefined;
|
|
98
|
+
'aria-rowcount'?: number | undefined;
|
|
99
|
+
'aria-rowindex'?: number | undefined;
|
|
100
|
+
'aria-rowindextext'?: string | undefined;
|
|
101
|
+
'aria-rowspan'?: number | undefined;
|
|
102
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
103
|
+
'aria-setsize'?: number | undefined;
|
|
104
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
105
|
+
'aria-valuemax'?: number | undefined;
|
|
106
|
+
'aria-valuemin'?: number | undefined;
|
|
107
|
+
'aria-valuenow'?: number | undefined;
|
|
108
|
+
'aria-valuetext'?: string | undefined;
|
|
107
109
|
dangerouslySetInnerHTML?: {
|
|
108
110
|
__html: string | TrustedHTML;
|
|
109
111
|
} | undefined;
|
|
@@ -322,60 +324,60 @@ export declare const PlotContainer: import('styled-components').IStyledComponent
|
|
|
322
324
|
unselectable?: "on" | "off" | undefined;
|
|
323
325
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
324
326
|
is?: string | undefined;
|
|
325
|
-
children?: import('react').ReactNode
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
327
|
+
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
328
|
+
'aria-activedescendant'?: string | undefined;
|
|
329
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
330
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
331
|
+
'aria-braillelabel'?: string | undefined;
|
|
332
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
333
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
334
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
335
|
+
'aria-colcount'?: number | undefined;
|
|
336
|
+
'aria-colindex'?: number | undefined;
|
|
337
|
+
'aria-colindextext'?: string | undefined;
|
|
338
|
+
'aria-colspan'?: number | undefined;
|
|
339
|
+
'aria-controls'?: string | undefined;
|
|
340
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
341
|
+
'aria-describedby'?: string | undefined;
|
|
342
|
+
'aria-description'?: string | undefined;
|
|
343
|
+
'aria-details'?: string | undefined;
|
|
344
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
345
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
346
|
+
'aria-errormessage'?: string | undefined;
|
|
347
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
348
|
+
'aria-flowto'?: string | undefined;
|
|
349
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
350
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
351
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
352
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
353
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
354
|
+
'aria-label'?: string | undefined;
|
|
355
|
+
'aria-labelledby'?: string | undefined;
|
|
356
|
+
'aria-level'?: number | undefined;
|
|
357
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
358
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
359
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
360
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
361
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
362
|
+
'aria-owns'?: string | undefined;
|
|
363
|
+
'aria-placeholder'?: string | undefined;
|
|
364
|
+
'aria-posinset'?: number | undefined;
|
|
365
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
366
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
367
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
368
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
369
|
+
'aria-roledescription'?: string | undefined;
|
|
370
|
+
'aria-rowcount'?: number | undefined;
|
|
371
|
+
'aria-rowindex'?: number | undefined;
|
|
372
|
+
'aria-rowindextext'?: string | undefined;
|
|
373
|
+
'aria-rowspan'?: number | undefined;
|
|
374
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
375
|
+
'aria-setsize'?: number | undefined;
|
|
376
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
377
|
+
'aria-valuemax'?: number | undefined;
|
|
378
|
+
'aria-valuemin'?: number | undefined;
|
|
379
|
+
'aria-valuenow'?: number | undefined;
|
|
380
|
+
'aria-valuetext'?: string | undefined;
|
|
379
381
|
dangerouslySetInnerHTML?: {
|
|
380
382
|
__html: string | TrustedHTML;
|
|
381
383
|
} | undefined;
|
|
@@ -594,60 +596,60 @@ export declare const PlotTitle: import('styled-components').IStyledComponent<"we
|
|
|
594
596
|
unselectable?: "on" | "off" | undefined;
|
|
595
597
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
596
598
|
is?: string | undefined;
|
|
597
|
-
children?: import('react').ReactNode
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
599
|
+
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
600
|
+
'aria-activedescendant'?: string | undefined;
|
|
601
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
602
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
603
|
+
'aria-braillelabel'?: string | undefined;
|
|
604
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
605
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
606
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
607
|
+
'aria-colcount'?: number | undefined;
|
|
608
|
+
'aria-colindex'?: number | undefined;
|
|
609
|
+
'aria-colindextext'?: string | undefined;
|
|
610
|
+
'aria-colspan'?: number | undefined;
|
|
611
|
+
'aria-controls'?: string | undefined;
|
|
612
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
613
|
+
'aria-describedby'?: string | undefined;
|
|
614
|
+
'aria-description'?: string | undefined;
|
|
615
|
+
'aria-details'?: string | undefined;
|
|
616
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
617
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
618
|
+
'aria-errormessage'?: string | undefined;
|
|
619
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
620
|
+
'aria-flowto'?: string | undefined;
|
|
621
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
622
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
623
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
624
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
625
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
626
|
+
'aria-label'?: string | undefined;
|
|
627
|
+
'aria-labelledby'?: string | undefined;
|
|
628
|
+
'aria-level'?: number | undefined;
|
|
629
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
630
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
631
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
632
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
633
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
634
|
+
'aria-owns'?: string | undefined;
|
|
635
|
+
'aria-placeholder'?: string | undefined;
|
|
636
|
+
'aria-posinset'?: number | undefined;
|
|
637
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
638
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
639
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
640
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
641
|
+
'aria-roledescription'?: string | undefined;
|
|
642
|
+
'aria-rowcount'?: number | undefined;
|
|
643
|
+
'aria-rowindex'?: number | undefined;
|
|
644
|
+
'aria-rowindextext'?: string | undefined;
|
|
645
|
+
'aria-rowspan'?: number | undefined;
|
|
646
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
647
|
+
'aria-setsize'?: number | undefined;
|
|
648
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
649
|
+
'aria-valuemax'?: number | undefined;
|
|
650
|
+
'aria-valuemin'?: number | undefined;
|
|
651
|
+
'aria-valuenow'?: number | undefined;
|
|
652
|
+
'aria-valuetext'?: string | undefined;
|
|
651
653
|
dangerouslySetInnerHTML?: {
|
|
652
654
|
__html: string | TrustedHTML;
|
|
653
655
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={xAxis:{min:-10,max:50,step:10},yAxis:{min:20,max:14,step:-.5},width:600,height:600,gaussianMin:-4,gaussianMax:4,gaussianStep:.01,gaussianWidth:-2,yOffsetMin:-50,yOffsetMax:50,yOffsetStep:.1,yOffset:-2},s=e;exports.default=s;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
declare const defaults: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
xAxis: {
|
|
3
|
+
min: number;
|
|
4
|
+
max: number;
|
|
5
|
+
step: number;
|
|
6
|
+
};
|
|
7
|
+
yAxis: {
|
|
8
|
+
min: number;
|
|
9
|
+
max: number;
|
|
10
|
+
step: number;
|
|
11
|
+
};
|
|
8
12
|
width: number;
|
|
9
13
|
height: number;
|
|
10
14
|
gaussianMin: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react-i18next"),u=(t,e)=>t-e,x=(t,e)=>{const{t:s}=g.useTranslation();return t.map(({date:a,magnitude:n,error:o,id:m})=>{const i=u(a,e),c=Math.round(i),M=c>0?"after":c===0?"peak":"before";return{x:i,y:n,error:{y:{min:o,max:o}},id:m,date:a,description:s("light_curve.plot.point_label",{magnitude:n,count:Math.abs(c),context:M})||void 0}})},r=(t,e)=>e*Math.exp(-((t-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react-i18next"),u=(t,e)=>t-e,x=(t,e)=>{const{t:s}=g.useTranslation();return t.map(({date:a,magnitude:n,error:o,id:m})=>{const i=u(a,e),c=Math.round(i),M=c>0?"after":c===0?"peak":"before";return{x:i,y:n,error:{y:{min:o,max:o}},id:m,date:a,description:s("light_curve.plot.point_label",{magnitude:n,count:Math.abs(c),context:M})||void 0}})},r=(t,e)=>e*Math.exp(-((t-3)**2)/20**2)+1,l=(t,e)=>e*=Math.exp(-.1*(t- -15))+1,p=(t,e)=>{let n=r(t,e);n=l(t,n);const o=Math.max(t,0);return n+=.02*o+15,Number(n.toFixed(4))},d=(t,e,s)=>p(t,e)-s,h=(t,e,s)=>Math.abs(t.y-d(t.x,e,s));exports.calculateResidual=h;exports.daysSincePeak=u;exports.estimateMagnitude=p;exports.estimateMagnitudeWithOffset=d;exports.exponentialRise=l;exports.gaussianBump=r;exports.useAlertsAsPoints=x;
|
|
@@ -19,7 +19,7 @@ const l = (t, n) => t - n, g = (t, n) => {
|
|
|
19
19
|
}) || void 0
|
|
20
20
|
};
|
|
21
21
|
});
|
|
22
|
-
}, m = (t, n) => n * Math.exp(-((t -
|
|
22
|
+
}, m = (t, n) => n * Math.exp(-((t - 3) ** 2) / 20 ** 2) + 1, x = (t, n) => n *= Math.exp(-0.1 * (t - -15)) + 1, M = (t, n) => {
|
|
23
23
|
let e = m(t, n);
|
|
24
24
|
e = x(t, e);
|
|
25
25
|
const c = Math.max(t, 0);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
1
3
|
export declare const Point: import('styled-components').IStyledComponent<"web", {
|
|
2
4
|
className?: string | undefined;
|
|
3
5
|
color?: string | undefined;
|
|
@@ -258,59 +260,59 @@ export declare const Point: import('styled-components').IStyledComponent<"web",
|
|
|
258
260
|
yChannelSelector?: string | undefined;
|
|
259
261
|
z?: string | number | undefined;
|
|
260
262
|
zoomAndPan?: string | undefined;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
263
|
+
'aria-activedescendant'?: string | undefined;
|
|
264
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
265
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
266
|
+
'aria-braillelabel'?: string | undefined;
|
|
267
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
268
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
269
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
270
|
+
'aria-colcount'?: number | undefined;
|
|
271
|
+
'aria-colindex'?: number | undefined;
|
|
272
|
+
'aria-colindextext'?: string | undefined;
|
|
273
|
+
'aria-colspan'?: number | undefined;
|
|
274
|
+
'aria-controls'?: string | undefined;
|
|
275
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
276
|
+
'aria-describedby'?: string | undefined;
|
|
277
|
+
'aria-description'?: string | undefined;
|
|
278
|
+
'aria-details'?: string | undefined;
|
|
279
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
280
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
281
|
+
'aria-errormessage'?: string | undefined;
|
|
282
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
283
|
+
'aria-flowto'?: string | undefined;
|
|
284
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
285
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
286
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
287
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
288
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
289
|
+
'aria-label'?: string | undefined;
|
|
290
|
+
'aria-labelledby'?: string | undefined;
|
|
291
|
+
'aria-level'?: number | undefined;
|
|
292
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
293
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
294
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
295
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
296
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
297
|
+
'aria-owns'?: string | undefined;
|
|
298
|
+
'aria-placeholder'?: string | undefined;
|
|
299
|
+
'aria-posinset'?: number | undefined;
|
|
300
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
301
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
302
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
303
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
304
|
+
'aria-roledescription'?: string | undefined;
|
|
305
|
+
'aria-rowcount'?: number | undefined;
|
|
306
|
+
'aria-rowindex'?: number | undefined;
|
|
307
|
+
'aria-rowindextext'?: string | undefined;
|
|
308
|
+
'aria-rowspan'?: number | undefined;
|
|
309
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
310
|
+
'aria-setsize'?: number | undefined;
|
|
311
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
312
|
+
'aria-valuemax'?: number | undefined;
|
|
313
|
+
'aria-valuemin'?: number | undefined;
|
|
314
|
+
'aria-valuenow'?: number | undefined;
|
|
315
|
+
'aria-valuetext'?: string | undefined;
|
|
314
316
|
children?: import('react').ReactNode;
|
|
315
317
|
dangerouslySetInnerHTML?: {
|
|
316
318
|
__html: string | TrustedHTML;
|