@rubin-epo/epo-widget-lib 0.9.12 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IsochronePlot.cjs +1 -0
- package/dist/IsochronePlot.d.ts +3 -0
- package/dist/IsochronePlot.js +173 -0
- package/dist/SupernovaThreeVector.cjs +1 -1
- package/dist/SupernovaThreeVector.js +11 -12
- package/dist/atomic/Blinker/Blinker.d.ts +3 -2
- package/dist/atomic/Blinker/Controls/Controls.d.ts +2 -1
- package/dist/atomic/Blinker/Controls/styles.d.ts +168 -168
- package/dist/atomic/Blinker/_mocks/index.d.ts +2 -1
- package/dist/atomic/Blinker/index.d.ts +1 -1
- package/dist/atomic/Blinker/styles.d.ts +341 -341
- package/dist/atomic/Button/index.d.ts +1 -1
- package/dist/atomic/Button/patterns/Reset.cjs +1 -1
- package/dist/atomic/Button/patterns/Reset.d.ts +2 -1
- package/dist/atomic/Button/patterns/Reset.js +11 -12
- package/dist/atomic/ControlLabel/index.cjs +1 -0
- package/dist/atomic/ControlLabel/index.d.ts +9 -0
- package/dist/atomic/ControlLabel/index.js +14 -0
- package/dist/atomic/ElapsedTime/ElapsedTime.d.ts +2 -1
- package/dist/atomic/ElapsedTime/index.d.ts +1 -1
- package/dist/atomic/ElapsedTime/styles.d.ts +1008 -1008
- package/dist/atomic/ImageStack/index.d.ts +3 -2
- package/dist/atomic/LiveRegion/index.d.ts +2 -1
- package/dist/atomic/LiveRegion/styles.d.ts +168 -168
- package/dist/atomic/Loader/index.d.ts +2 -1
- package/dist/atomic/Loader/styles.d.ts +168 -168
- package/dist/atomic/PlaybackControl/PlaybackControl.d.ts +2 -1
- package/dist/atomic/PlaybackControl/index.d.ts +1 -1
- package/dist/atomic/PlaybackControl/styles.d.ts +336 -336
- package/dist/atomic/PlotWrapper/index.cjs +1 -0
- package/dist/atomic/PlotWrapper/index.d.ts +3 -0
- package/dist/atomic/PlotWrapper/index.js +5 -0
- package/dist/atomic/PlotWrapper/styles.cjs +16 -0
- package/dist/atomic/PlotWrapper/styles.d.ts +272 -0
- package/dist/atomic/PlotWrapper/styles.js +22 -0
- package/dist/atomic/index.d.ts +4 -4
- package/dist/charts/Bars/index.d.ts +3 -2
- package/dist/charts/Base/index.d.ts +2 -1
- package/dist/charts/Base/styles.cjs +15 -10
- package/dist/charts/Base/styles.d.ts +1680 -1680
- package/dist/charts/Base/styles.js +21 -15
- package/dist/charts/ClippingContainer/index.d.ts +2 -1
- package/dist/charts/ForeignObject/index.d.ts +2 -1
- package/dist/charts/Guidelines/index.d.ts +2 -1
- package/dist/charts/PathFromPoints/index.cjs +1 -0
- package/dist/charts/PathFromPoints/index.d.ts +10 -0
- package/dist/charts/PathFromPoints/index.js +21 -0
- package/dist/charts/Points/ErrorBar.d.ts +2 -1
- package/dist/charts/Points/index.cjs +1 -1
- package/dist/charts/Points/index.d.ts +5 -3
- package/dist/charts/Points/index.js +28 -23
- package/dist/charts/Readout/index.cjs +1 -0
- package/dist/charts/Readout/index.d.ts +16 -0
- package/dist/charts/Readout/index.js +54 -0
- package/dist/charts/Readout/styles.cjs +13 -0
- package/dist/charts/Readout/styles.d.ts +547 -0
- package/dist/charts/Readout/styles.js +19 -0
- package/dist/charts/ScatterPlot/index.cjs +1 -1
- package/dist/charts/ScatterPlot/index.d.ts +5 -9
- package/dist/charts/ScatterPlot/index.js +82 -73
- package/dist/charts/ScatterPlot/styles.cjs +5 -17
- package/dist/charts/ScatterPlot/styles.d.ts +3 -3
- package/dist/charts/ScatterPlot/styles.js +5 -17
- package/dist/charts/Tooltip/index.d.ts +2 -1
- package/dist/charts/Tooltip/styles.cjs +0 -1
- package/dist/charts/Tooltip/styles.d.ts +339 -339
- package/dist/charts/Tooltip/styles.js +2 -3
- package/dist/charts/Viewport/index.d.ts +2 -1
- package/dist/charts/XAxis/index.d.ts +2 -1
- package/dist/charts/YAxis/index.d.ts +2 -1
- package/dist/charts/canvas/Points/index.cjs +1 -0
- package/dist/charts/canvas/Points/index.d.ts +14 -0
- package/dist/charts/canvas/Points/index.js +44 -0
- package/dist/charts/defaults.cjs +1 -1
- package/dist/charts/defaults.d.ts +14 -3
- package/dist/charts/defaults.js +14 -8
- package/dist/charts/hooks/useAxis.cjs +1 -1
- package/dist/charts/hooks/useAxis.d.ts +1 -0
- package/dist/charts/hooks/useAxis.js +22 -22
- package/dist/charts/index.d.ts +11 -11
- package/dist/charts/styles.cjs +5 -7
- package/dist/charts/styles.d.ts +1008 -1008
- package/dist/charts/styles.js +12 -14
- package/dist/layout/AspectRatio/index.d.ts +2 -1
- package/dist/layout/AspectRatio/styles.cjs +6 -2
- package/dist/layout/AspectRatio/styles.d.ts +174 -168
- package/dist/layout/AspectRatio/styles.js +8 -2
- package/dist/layout/Controls/index.cjs +1 -1
- package/dist/layout/Controls/index.d.ts +5 -1
- package/dist/layout/Controls/index.js +27 -18
- package/dist/layout/Controls/styles.cjs +13 -7
- package/dist/layout/Controls/styles.d.ts +1190 -1176
- package/dist/layout/Controls/styles.js +20 -12
- package/dist/lib/helpers.cjs +1 -0
- package/dist/lib/helpers.d.ts +1 -0
- package/dist/lib/helpers.js +6 -0
- package/dist/lib/utils.cjs +1 -1
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.js +26 -20
- package/dist/localeStrings/en/epo-widget-lib.json +18 -0
- package/dist/styles/svg.d.ts +168 -168
- package/dist/widgets/CameraFilter/CameraFilter.d.ts +2 -1
- package/dist/widgets/CameraFilter/CondensedFilterRanges/CondensedFilterRanges.d.ts +3 -2
- package/dist/widgets/CameraFilter/CondensedFilterRanges/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/ColorLabels/ColorLabels.d.ts +3 -2
- package/dist/widgets/CameraFilter/SpectrumDisplay/ColorLabels/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumDisplay.d.ts +3 -2
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumLabels/SpectrumLabels.d.ts +3 -2
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumLabels/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/data.d.ts +1 -0
- package/dist/widgets/CameraFilter/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/styles.d.ts +2693 -2693
- package/dist/widgets/ColorTool/Actions/Export/index.d.ts +2 -1
- package/dist/widgets/ColorTool/Actions/index.d.ts +3 -2
- package/dist/widgets/ColorTool/Actions/index.js +9 -9
- package/dist/widgets/ColorTool/ColorTool.d.ts +3 -2
- package/dist/widgets/ColorTool/FilterControls/FilterControls.d.ts +4 -3
- package/dist/widgets/ColorTool/FilterControls/index.d.ts +1 -1
- package/dist/widgets/ColorTool/FilterControls/styles.d.ts +678 -678
- package/dist/widgets/ColorTool/ImageComposite/ImageComposite.d.ts +6 -6
- package/dist/widgets/ColorTool/ImageComposite/index.d.ts +1 -1
- package/dist/widgets/ColorTool/hooks/useFilteredImages.d.ts +3 -2
- package/dist/widgets/ColorTool/index.d.ts +1 -1
- package/dist/widgets/ColorTool/lib/canvas.d.ts +1 -0
- package/dist/widgets/ColorTool/lib/server.d.ts +3 -2
- package/dist/widgets/ColorTool/lib/utils.d.ts +2 -1
- package/dist/widgets/FilterTool/FilterTool.d.ts +2 -1
- package/dist/widgets/FilterTool/index.d.ts +1 -1
- package/dist/widgets/FilterTool/styles.d.ts +1349 -1349
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.cjs +1 -0
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.d.ts +15 -0
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.js +44 -0
- package/dist/widgets/IsochronePlot/Controls/index.cjs +1 -0
- package/dist/widgets/IsochronePlot/Controls/index.d.ts +17 -0
- package/dist/widgets/IsochronePlot/Controls/index.js +44 -0
- package/dist/widgets/IsochronePlot/defaults.cjs +1 -0
- package/dist/widgets/IsochronePlot/defaults.d.ts +20 -0
- package/dist/widgets/IsochronePlot/defaults.js +14 -0
- package/dist/widgets/IsochronePlot/index.d.ts +23 -0
- package/dist/widgets/IsochronePlot/mock.d.ts +3 -0
- package/dist/widgets/LightCurvePlot/Plot/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/Plot/index.d.ts +4 -3
- package/dist/widgets/LightCurvePlot/Plot/index.js +30 -28
- package/dist/widgets/LightCurvePlot/Plot/styles.cjs +3 -34
- package/dist/widgets/LightCurvePlot/Plot/styles.d.ts +336 -624
- package/dist/widgets/LightCurvePlot/Plot/styles.js +4 -40
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/index.d.ts +3 -2
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/styles.d.ts +168 -168
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.js +18 -18
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.cjs +2 -11
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.d.ts +168 -712
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.js +3 -14
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.d.ts +2 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.d.ts +3 -2
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.js +127 -119
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.cjs +5 -12
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.d.ts +505 -1057
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.js +3 -12
- package/dist/widgets/LightCurvePlot/PlotWithoutCurve/index.d.ts +3 -2
- package/dist/widgets/LightCurvePlot/helpers.d.ts +3 -2
- package/dist/widgets/LightCurvePlot/index.d.ts +2 -2
- package/dist/widgets/SourceSelector/Message/Message.d.ts +2 -1
- package/dist/widgets/SourceSelector/Message/index.d.ts +1 -1
- package/dist/widgets/SourceSelector/Message/styles.d.ts +3 -3
- package/dist/widgets/SourceSelector/Point/Point.d.ts +2 -1
- package/dist/widgets/SourceSelector/Point/index.d.ts +1 -1
- package/dist/widgets/SourceSelector/Point/styles.d.ts +168 -168
- package/dist/widgets/SourceSelector/PointSelector/index.d.ts +2 -1
- package/dist/widgets/SourceSelector/SelectionList/index.d.ts +2 -1
- package/dist/widgets/SourceSelector/SelectionList/styles.d.ts +504 -504
- package/dist/widgets/SourceSelector/SourceSelector.d.ts +2 -1
- package/dist/widgets/SourceSelector/index.d.ts +5 -4
- package/dist/widgets/SourceSelector/mocks/index.d.ts +1 -0
- package/dist/widgets/SupernovaThreeVector/Histogram/index.d.ts +2 -1
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.cjs +0 -1
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.d.ts +168 -168
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.js +0 -1
- package/dist/widgets/SupernovaThreeVector/LiveLabel/index.d.ts +3 -2
- package/dist/widgets/SupernovaThreeVector/Skymap/index.d.ts +3 -2
- package/dist/widgets/SupernovaThreeVector/Skymap/styles.d.ts +1176 -1176
- package/dist/widgets/SupernovaThreeVector/index.d.ts +4 -3
- package/dist/widgets/SupernovaThreeVector/styles.cjs +6 -17
- package/dist/widgets/SupernovaThreeVector/styles.js +14 -25
- package/package.json +2 -2
- package/dist/widgets/LightCurvePlot/PlotWithCurve/LightCurve/index.cjs +0 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/LightCurve/index.d.ts +0 -12
- package/dist/widgets/LightCurvePlot/PlotWithCurve/LightCurve/index.js +0 -29
|
@@ -1,55 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import e from "styled-components";
|
|
3
|
-
|
|
4
|
-
import t from "../../../charts/Base/index.js";
|
|
5
|
-
const a = e.div`
|
|
6
|
-
--label-height: 3em;
|
|
7
|
-
|
|
8
|
-
aspect-ratio: 1;
|
|
9
|
-
color: var(--neutral95, #1f2121);
|
|
10
|
-
container-type: inline-size;
|
|
11
|
-
background-color: var(--white, #fff);
|
|
12
|
-
border: 1px solid var(--turquoise55, #009fa1);
|
|
13
|
-
gap: var(--light-curve-padding);
|
|
14
|
-
position: relative;
|
|
15
|
-
`;
|
|
16
|
-
e(t)`
|
|
17
|
-
font-size: 2.5em;
|
|
18
|
-
overflow: visible;
|
|
19
|
-
|
|
20
|
-
@container (
|
|
21
|
-
min-width: ${i("BREAK_MOBILE")}
|
|
22
|
-
) {
|
|
23
|
-
font-size: 1.75em;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@container (
|
|
27
|
-
min-width: ${i("BREAK_PHABLET_MIN")}
|
|
28
|
-
) {
|
|
29
|
-
font-size: 1.5em;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@container (
|
|
33
|
-
min-width: ${i("BREAK_LARGE_TABLET_MIN")}
|
|
34
|
-
) {
|
|
35
|
-
font-size: 1.25em;
|
|
36
|
-
}
|
|
37
|
-
`;
|
|
38
|
-
const l = e.div`
|
|
3
|
+
const i = e.div`
|
|
39
4
|
position: absolute;
|
|
40
5
|
width: calc(100% - calc(var(--label-height) * 2));
|
|
41
6
|
height: calc(100% - calc(var(--label-height) * 2));
|
|
42
7
|
top: var(--label-height);
|
|
43
8
|
left: var(--label-height);
|
|
44
9
|
pointer-events: none;
|
|
45
|
-
`,
|
|
10
|
+
`, l = e.div`
|
|
46
11
|
box-sizing: border-box;
|
|
47
12
|
width: 100%;
|
|
48
13
|
height: 100%;
|
|
49
14
|
position: relative;
|
|
50
15
|
`;
|
|
51
16
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
l as SliderOuterWrapper
|
|
17
|
+
l as SliderInnerWrapper,
|
|
18
|
+
i as SliderOuterWrapper
|
|
55
19
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { FunctionComponent } from
|
|
2
|
-
import { useAlertsAsPoints } from
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { useAlertsAsPoints } from '../../../helpers';
|
|
3
|
+
|
|
3
4
|
interface LightCurveLabelProps {
|
|
4
5
|
data: ReturnType<typeof useAlertsAsPoints>;
|
|
5
6
|
controlledById?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const HiddenOutput: import(
|
|
2
|
-
ref?: import(
|
|
3
|
-
key?: import(
|
|
1
|
+
export declare const HiddenOutput: import('styled-components').IStyledComponent<"web", {
|
|
2
|
+
ref?: import('react').LegacyRef<HTMLOutputElement> | undefined;
|
|
3
|
+
key?: import('react').Key | null | undefined;
|
|
4
4
|
form?: string | undefined;
|
|
5
5
|
htmlFor?: string | undefined;
|
|
6
6
|
name?: string | undefined;
|
|
@@ -22,12 +22,12 @@ export declare const HiddenOutput: import("styled-components").IStyledComponent<
|
|
|
22
22
|
placeholder?: string | undefined;
|
|
23
23
|
slot?: string | undefined;
|
|
24
24
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
25
|
-
style?: import(
|
|
25
|
+
style?: import('react').CSSProperties | undefined;
|
|
26
26
|
tabIndex?: number | undefined;
|
|
27
27
|
title?: string | undefined;
|
|
28
28
|
translate?: "yes" | "no" | undefined;
|
|
29
29
|
radioGroup?: string | undefined;
|
|
30
|
-
role?: import(
|
|
30
|
+
role?: import('react').AriaRole | undefined;
|
|
31
31
|
about?: string | undefined;
|
|
32
32
|
content?: string | undefined;
|
|
33
33
|
datatype?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const HiddenOutput: import("styled-components").IStyledComponent<
|
|
|
53
53
|
unselectable?: "on" | "off" | undefined;
|
|
54
54
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
55
55
|
is?: string | undefined;
|
|
56
|
-
children?: import(
|
|
56
|
+
children?: import('react').ReactNode;
|
|
57
57
|
"aria-activedescendant"?: string | undefined;
|
|
58
58
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
59
59
|
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
@@ -110,166 +110,166 @@ export declare const HiddenOutput: import("styled-components").IStyledComponent<
|
|
|
110
110
|
dangerouslySetInnerHTML?: {
|
|
111
111
|
__html: string | TrustedHTML;
|
|
112
112
|
} | undefined;
|
|
113
|
-
onCopy?: import(
|
|
114
|
-
onCopyCapture?: import(
|
|
115
|
-
onCut?: import(
|
|
116
|
-
onCutCapture?: import(
|
|
117
|
-
onPaste?: import(
|
|
118
|
-
onPasteCapture?: import(
|
|
119
|
-
onCompositionEnd?: import(
|
|
120
|
-
onCompositionEndCapture?: import(
|
|
121
|
-
onCompositionStart?: import(
|
|
122
|
-
onCompositionStartCapture?: import(
|
|
123
|
-
onCompositionUpdate?: import(
|
|
124
|
-
onCompositionUpdateCapture?: import(
|
|
125
|
-
onFocus?: import(
|
|
126
|
-
onFocusCapture?: import(
|
|
127
|
-
onBlur?: import(
|
|
128
|
-
onBlurCapture?: import(
|
|
129
|
-
onChange?: import(
|
|
130
|
-
onChangeCapture?: import(
|
|
131
|
-
onBeforeInput?: import(
|
|
132
|
-
onBeforeInputCapture?: import(
|
|
133
|
-
onInput?: import(
|
|
134
|
-
onInputCapture?: import(
|
|
135
|
-
onReset?: import(
|
|
136
|
-
onResetCapture?: import(
|
|
137
|
-
onSubmit?: import(
|
|
138
|
-
onSubmitCapture?: import(
|
|
139
|
-
onInvalid?: import(
|
|
140
|
-
onInvalidCapture?: import(
|
|
141
|
-
onLoad?: import(
|
|
142
|
-
onLoadCapture?: import(
|
|
143
|
-
onError?: import(
|
|
144
|
-
onErrorCapture?: import(
|
|
145
|
-
onKeyDown?: import(
|
|
146
|
-
onKeyDownCapture?: import(
|
|
147
|
-
onKeyPress?: import(
|
|
148
|
-
onKeyPressCapture?: import(
|
|
149
|
-
onKeyUp?: import(
|
|
150
|
-
onKeyUpCapture?: import(
|
|
151
|
-
onAbort?: import(
|
|
152
|
-
onAbortCapture?: import(
|
|
153
|
-
onCanPlay?: import(
|
|
154
|
-
onCanPlayCapture?: import(
|
|
155
|
-
onCanPlayThrough?: import(
|
|
156
|
-
onCanPlayThroughCapture?: import(
|
|
157
|
-
onDurationChange?: import(
|
|
158
|
-
onDurationChangeCapture?: import(
|
|
159
|
-
onEmptied?: import(
|
|
160
|
-
onEmptiedCapture?: import(
|
|
161
|
-
onEncrypted?: import(
|
|
162
|
-
onEncryptedCapture?: import(
|
|
163
|
-
onEnded?: import(
|
|
164
|
-
onEndedCapture?: import(
|
|
165
|
-
onLoadedData?: import(
|
|
166
|
-
onLoadedDataCapture?: import(
|
|
167
|
-
onLoadedMetadata?: import(
|
|
168
|
-
onLoadedMetadataCapture?: import(
|
|
169
|
-
onLoadStart?: import(
|
|
170
|
-
onLoadStartCapture?: import(
|
|
171
|
-
onPause?: import(
|
|
172
|
-
onPauseCapture?: import(
|
|
173
|
-
onPlay?: import(
|
|
174
|
-
onPlayCapture?: import(
|
|
175
|
-
onPlaying?: import(
|
|
176
|
-
onPlayingCapture?: import(
|
|
177
|
-
onProgress?: import(
|
|
178
|
-
onProgressCapture?: import(
|
|
179
|
-
onRateChange?: import(
|
|
180
|
-
onRateChangeCapture?: import(
|
|
181
|
-
onResize?: import(
|
|
182
|
-
onResizeCapture?: import(
|
|
183
|
-
onSeeked?: import(
|
|
184
|
-
onSeekedCapture?: import(
|
|
185
|
-
onSeeking?: import(
|
|
186
|
-
onSeekingCapture?: import(
|
|
187
|
-
onStalled?: import(
|
|
188
|
-
onStalledCapture?: import(
|
|
189
|
-
onSuspend?: import(
|
|
190
|
-
onSuspendCapture?: import(
|
|
191
|
-
onTimeUpdate?: import(
|
|
192
|
-
onTimeUpdateCapture?: import(
|
|
193
|
-
onVolumeChange?: import(
|
|
194
|
-
onVolumeChangeCapture?: import(
|
|
195
|
-
onWaiting?: import(
|
|
196
|
-
onWaitingCapture?: import(
|
|
197
|
-
onAuxClick?: import(
|
|
198
|
-
onAuxClickCapture?: import(
|
|
199
|
-
onClick?: import(
|
|
200
|
-
onClickCapture?: import(
|
|
201
|
-
onContextMenu?: import(
|
|
202
|
-
onContextMenuCapture?: import(
|
|
203
|
-
onDoubleClick?: import(
|
|
204
|
-
onDoubleClickCapture?: import(
|
|
205
|
-
onDrag?: import(
|
|
206
|
-
onDragCapture?: import(
|
|
207
|
-
onDragEnd?: import(
|
|
208
|
-
onDragEndCapture?: import(
|
|
209
|
-
onDragEnter?: import(
|
|
210
|
-
onDragEnterCapture?: import(
|
|
211
|
-
onDragExit?: import(
|
|
212
|
-
onDragExitCapture?: import(
|
|
213
|
-
onDragLeave?: import(
|
|
214
|
-
onDragLeaveCapture?: import(
|
|
215
|
-
onDragOver?: import(
|
|
216
|
-
onDragOverCapture?: import(
|
|
217
|
-
onDragStart?: import(
|
|
218
|
-
onDragStartCapture?: import(
|
|
219
|
-
onDrop?: import(
|
|
220
|
-
onDropCapture?: import(
|
|
221
|
-
onMouseDown?: import(
|
|
222
|
-
onMouseDownCapture?: import(
|
|
223
|
-
onMouseEnter?: import(
|
|
224
|
-
onMouseLeave?: import(
|
|
225
|
-
onMouseMove?: import(
|
|
226
|
-
onMouseMoveCapture?: import(
|
|
227
|
-
onMouseOut?: import(
|
|
228
|
-
onMouseOutCapture?: import(
|
|
229
|
-
onMouseOver?: import(
|
|
230
|
-
onMouseOverCapture?: import(
|
|
231
|
-
onMouseUp?: import(
|
|
232
|
-
onMouseUpCapture?: import(
|
|
233
|
-
onSelect?: import(
|
|
234
|
-
onSelectCapture?: import(
|
|
235
|
-
onTouchCancel?: import(
|
|
236
|
-
onTouchCancelCapture?: import(
|
|
237
|
-
onTouchEnd?: import(
|
|
238
|
-
onTouchEndCapture?: import(
|
|
239
|
-
onTouchMove?: import(
|
|
240
|
-
onTouchMoveCapture?: import(
|
|
241
|
-
onTouchStart?: import(
|
|
242
|
-
onTouchStartCapture?: import(
|
|
243
|
-
onPointerDown?: import(
|
|
244
|
-
onPointerDownCapture?: import(
|
|
245
|
-
onPointerMove?: import(
|
|
246
|
-
onPointerMoveCapture?: import(
|
|
247
|
-
onPointerUp?: import(
|
|
248
|
-
onPointerUpCapture?: import(
|
|
249
|
-
onPointerCancel?: import(
|
|
250
|
-
onPointerCancelCapture?: import(
|
|
251
|
-
onPointerEnter?: import(
|
|
252
|
-
onPointerEnterCapture?: import(
|
|
253
|
-
onPointerLeave?: import(
|
|
254
|
-
onPointerLeaveCapture?: import(
|
|
255
|
-
onPointerOver?: import(
|
|
256
|
-
onPointerOverCapture?: import(
|
|
257
|
-
onPointerOut?: import(
|
|
258
|
-
onPointerOutCapture?: import(
|
|
259
|
-
onGotPointerCapture?: import(
|
|
260
|
-
onGotPointerCaptureCapture?: import(
|
|
261
|
-
onLostPointerCapture?: import(
|
|
262
|
-
onLostPointerCaptureCapture?: import(
|
|
263
|
-
onScroll?: import(
|
|
264
|
-
onScrollCapture?: import(
|
|
265
|
-
onWheel?: import(
|
|
266
|
-
onWheelCapture?: import(
|
|
267
|
-
onAnimationStart?: import(
|
|
268
|
-
onAnimationStartCapture?: import(
|
|
269
|
-
onAnimationEnd?: import(
|
|
270
|
-
onAnimationEndCapture?: import(
|
|
271
|
-
onAnimationIteration?: import(
|
|
272
|
-
onAnimationIterationCapture?: import(
|
|
273
|
-
onTransitionEnd?: import(
|
|
274
|
-
onTransitionEndCapture?: import(
|
|
113
|
+
onCopy?: import('react').ClipboardEventHandler<HTMLOutputElement> | undefined;
|
|
114
|
+
onCopyCapture?: import('react').ClipboardEventHandler<HTMLOutputElement> | undefined;
|
|
115
|
+
onCut?: import('react').ClipboardEventHandler<HTMLOutputElement> | undefined;
|
|
116
|
+
onCutCapture?: import('react').ClipboardEventHandler<HTMLOutputElement> | undefined;
|
|
117
|
+
onPaste?: import('react').ClipboardEventHandler<HTMLOutputElement> | undefined;
|
|
118
|
+
onPasteCapture?: import('react').ClipboardEventHandler<HTMLOutputElement> | undefined;
|
|
119
|
+
onCompositionEnd?: import('react').CompositionEventHandler<HTMLOutputElement> | undefined;
|
|
120
|
+
onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLOutputElement> | undefined;
|
|
121
|
+
onCompositionStart?: import('react').CompositionEventHandler<HTMLOutputElement> | undefined;
|
|
122
|
+
onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLOutputElement> | undefined;
|
|
123
|
+
onCompositionUpdate?: import('react').CompositionEventHandler<HTMLOutputElement> | undefined;
|
|
124
|
+
onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLOutputElement> | undefined;
|
|
125
|
+
onFocus?: import('react').FocusEventHandler<HTMLOutputElement> | undefined;
|
|
126
|
+
onFocusCapture?: import('react').FocusEventHandler<HTMLOutputElement> | undefined;
|
|
127
|
+
onBlur?: import('react').FocusEventHandler<HTMLOutputElement> | undefined;
|
|
128
|
+
onBlurCapture?: import('react').FocusEventHandler<HTMLOutputElement> | undefined;
|
|
129
|
+
onChange?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
130
|
+
onChangeCapture?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
131
|
+
onBeforeInput?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
132
|
+
onBeforeInputCapture?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
133
|
+
onInput?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
134
|
+
onInputCapture?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
135
|
+
onReset?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
136
|
+
onResetCapture?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
137
|
+
onSubmit?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
138
|
+
onSubmitCapture?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
139
|
+
onInvalid?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
140
|
+
onInvalidCapture?: import('react').FormEventHandler<HTMLOutputElement> | undefined;
|
|
141
|
+
onLoad?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
142
|
+
onLoadCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
143
|
+
onError?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
144
|
+
onErrorCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
145
|
+
onKeyDown?: import('react').KeyboardEventHandler<HTMLOutputElement> | undefined;
|
|
146
|
+
onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLOutputElement> | undefined;
|
|
147
|
+
onKeyPress?: import('react').KeyboardEventHandler<HTMLOutputElement> | undefined;
|
|
148
|
+
onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLOutputElement> | undefined;
|
|
149
|
+
onKeyUp?: import('react').KeyboardEventHandler<HTMLOutputElement> | undefined;
|
|
150
|
+
onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLOutputElement> | undefined;
|
|
151
|
+
onAbort?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
152
|
+
onAbortCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
153
|
+
onCanPlay?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
154
|
+
onCanPlayCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
155
|
+
onCanPlayThrough?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
156
|
+
onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
157
|
+
onDurationChange?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
158
|
+
onDurationChangeCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
159
|
+
onEmptied?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
160
|
+
onEmptiedCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
161
|
+
onEncrypted?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
162
|
+
onEncryptedCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
163
|
+
onEnded?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
164
|
+
onEndedCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
165
|
+
onLoadedData?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
166
|
+
onLoadedDataCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
167
|
+
onLoadedMetadata?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
168
|
+
onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
169
|
+
onLoadStart?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
170
|
+
onLoadStartCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
171
|
+
onPause?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
172
|
+
onPauseCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
173
|
+
onPlay?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
174
|
+
onPlayCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
175
|
+
onPlaying?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
176
|
+
onPlayingCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
177
|
+
onProgress?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
178
|
+
onProgressCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
179
|
+
onRateChange?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
180
|
+
onRateChangeCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
181
|
+
onResize?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
182
|
+
onResizeCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
183
|
+
onSeeked?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
184
|
+
onSeekedCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
185
|
+
onSeeking?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
186
|
+
onSeekingCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
187
|
+
onStalled?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
188
|
+
onStalledCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
189
|
+
onSuspend?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
190
|
+
onSuspendCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
191
|
+
onTimeUpdate?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
192
|
+
onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
193
|
+
onVolumeChange?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
194
|
+
onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
195
|
+
onWaiting?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
196
|
+
onWaitingCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
197
|
+
onAuxClick?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
198
|
+
onAuxClickCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
199
|
+
onClick?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
200
|
+
onClickCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
201
|
+
onContextMenu?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
202
|
+
onContextMenuCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
203
|
+
onDoubleClick?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
204
|
+
onDoubleClickCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
205
|
+
onDrag?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
206
|
+
onDragCapture?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
207
|
+
onDragEnd?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
208
|
+
onDragEndCapture?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
209
|
+
onDragEnter?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
210
|
+
onDragEnterCapture?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
211
|
+
onDragExit?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
212
|
+
onDragExitCapture?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
213
|
+
onDragLeave?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
214
|
+
onDragLeaveCapture?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
215
|
+
onDragOver?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
216
|
+
onDragOverCapture?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
217
|
+
onDragStart?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
218
|
+
onDragStartCapture?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
219
|
+
onDrop?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
220
|
+
onDropCapture?: import('react').DragEventHandler<HTMLOutputElement> | undefined;
|
|
221
|
+
onMouseDown?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
222
|
+
onMouseDownCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
223
|
+
onMouseEnter?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
224
|
+
onMouseLeave?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
225
|
+
onMouseMove?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
226
|
+
onMouseMoveCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
227
|
+
onMouseOut?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
228
|
+
onMouseOutCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
229
|
+
onMouseOver?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
230
|
+
onMouseOverCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
231
|
+
onMouseUp?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
232
|
+
onMouseUpCapture?: import('react').MouseEventHandler<HTMLOutputElement> | undefined;
|
|
233
|
+
onSelect?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
234
|
+
onSelectCapture?: import('react').ReactEventHandler<HTMLOutputElement> | undefined;
|
|
235
|
+
onTouchCancel?: import('react').TouchEventHandler<HTMLOutputElement> | undefined;
|
|
236
|
+
onTouchCancelCapture?: import('react').TouchEventHandler<HTMLOutputElement> | undefined;
|
|
237
|
+
onTouchEnd?: import('react').TouchEventHandler<HTMLOutputElement> | undefined;
|
|
238
|
+
onTouchEndCapture?: import('react').TouchEventHandler<HTMLOutputElement> | undefined;
|
|
239
|
+
onTouchMove?: import('react').TouchEventHandler<HTMLOutputElement> | undefined;
|
|
240
|
+
onTouchMoveCapture?: import('react').TouchEventHandler<HTMLOutputElement> | undefined;
|
|
241
|
+
onTouchStart?: import('react').TouchEventHandler<HTMLOutputElement> | undefined;
|
|
242
|
+
onTouchStartCapture?: import('react').TouchEventHandler<HTMLOutputElement> | undefined;
|
|
243
|
+
onPointerDown?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
244
|
+
onPointerDownCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
245
|
+
onPointerMove?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
246
|
+
onPointerMoveCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
247
|
+
onPointerUp?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
248
|
+
onPointerUpCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
249
|
+
onPointerCancel?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
250
|
+
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
251
|
+
onPointerEnter?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
252
|
+
onPointerEnterCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
253
|
+
onPointerLeave?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
254
|
+
onPointerLeaveCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
255
|
+
onPointerOver?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
256
|
+
onPointerOverCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
257
|
+
onPointerOut?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
258
|
+
onPointerOutCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
259
|
+
onGotPointerCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
260
|
+
onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
261
|
+
onLostPointerCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
262
|
+
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLOutputElement> | undefined;
|
|
263
|
+
onScroll?: import('react').UIEventHandler<HTMLOutputElement> | undefined;
|
|
264
|
+
onScrollCapture?: import('react').UIEventHandler<HTMLOutputElement> | undefined;
|
|
265
|
+
onWheel?: import('react').WheelEventHandler<HTMLOutputElement> | undefined;
|
|
266
|
+
onWheelCapture?: import('react').WheelEventHandler<HTMLOutputElement> | undefined;
|
|
267
|
+
onAnimationStart?: import('react').AnimationEventHandler<HTMLOutputElement> | undefined;
|
|
268
|
+
onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLOutputElement> | undefined;
|
|
269
|
+
onAnimationEnd?: import('react').AnimationEventHandler<HTMLOutputElement> | undefined;
|
|
270
|
+
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLOutputElement> | undefined;
|
|
271
|
+
onAnimationIteration?: import('react').AnimationEventHandler<HTMLOutputElement> | undefined;
|
|
272
|
+
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLOutputElement> | undefined;
|
|
273
|
+
onTransitionEnd?: import('react').TransitionEventHandler<HTMLOutputElement> | undefined;
|
|
274
|
+
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLOutputElement> | undefined;
|
|
275
275
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),o=require("react-i18next"),u=require("../../../../charts/Readout/index.cjs"),i=require("../../helpers.cjs"),m=require("./styles.cjs"),s=({gaussianWidth:t,className:n})=>{const{t:r,i18n:{language:a}}=o.useTranslation(),l=i.estimateMagnitude(0,t),c=i.estimateMagnitude(15,t)-l;return e.jsxs(u.default,{className:n,children:[e.jsx(m.Line,{}),e.jsxs("math",{xmlns:"http://www.w3.org/1998/Math/MathML",children:[e.jsx("mn",{children:"Δ"}),e.jsxs("msub",{children:[e.jsx("mi",{children:"m"}),e.jsx("mn",{children:"15"})]}),e.jsx("mo",{children:"="}),e.jsx("mn",{role:"status","aria-live":"polite","aria-label":r("light_curve.deltaM15.label")||void 0,children:Number(c).toLocaleString(a,{minimumFractionDigits:2,maximumFractionDigits:2})})]})]})};s.displayName="Widgets.LightCurve.DM15Display";const d=s;exports.default=d;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsxs as t, jsx as i } from "react/jsx-runtime";
|
|
3
3
|
import { useTranslation as c } from "react-i18next";
|
|
4
|
-
import d from "../../../../charts/
|
|
5
|
-
import { estimateMagnitude as
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
4
|
+
import d from "../../../../charts/Readout/index.js";
|
|
5
|
+
import { estimateMagnitude as r } from "../../helpers.js";
|
|
6
|
+
import { Line as h } from "./styles.js";
|
|
7
|
+
const a = ({ gaussianWidth: e, className: n }) => {
|
|
8
8
|
const {
|
|
9
|
-
t:
|
|
10
|
-
i18n: { language:
|
|
11
|
-
} = c(),
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */ i(
|
|
14
|
-
/* @__PURE__ */
|
|
9
|
+
t: m,
|
|
10
|
+
i18n: { language: o }
|
|
11
|
+
} = c(), l = r(0, e), s = r(15, e) - l;
|
|
12
|
+
return /* @__PURE__ */ t(d, { className: n, children: [
|
|
13
|
+
/* @__PURE__ */ i(h, {}),
|
|
14
|
+
/* @__PURE__ */ t("math", { xmlns: "http://www.w3.org/1998/Math/MathML", children: [
|
|
15
15
|
/* @__PURE__ */ i("mn", { children: "Δ" }),
|
|
16
|
-
/* @__PURE__ */
|
|
16
|
+
/* @__PURE__ */ t("msub", { children: [
|
|
17
17
|
/* @__PURE__ */ i("mi", { children: "m" }),
|
|
18
18
|
/* @__PURE__ */ i("mn", { children: "15" })
|
|
19
19
|
] }),
|
|
@@ -23,18 +23,18 @@ const r = ({ gaussianWidth: t, className: a }) => {
|
|
|
23
23
|
{
|
|
24
24
|
role: "status",
|
|
25
25
|
"aria-live": "polite",
|
|
26
|
-
"aria-label":
|
|
27
|
-
children: Number(s).toLocaleString(
|
|
26
|
+
"aria-label": m("light_curve.deltaM15.label") || void 0,
|
|
27
|
+
children: Number(s).toLocaleString(o, {
|
|
28
28
|
minimumFractionDigits: 2,
|
|
29
29
|
maximumFractionDigits: 2
|
|
30
30
|
})
|
|
31
31
|
}
|
|
32
32
|
)
|
|
33
33
|
] })
|
|
34
|
-
] })
|
|
34
|
+
] });
|
|
35
35
|
};
|
|
36
|
-
|
|
37
|
-
const
|
|
36
|
+
a.displayName = "Widgets.LightCurve.DM15Display";
|
|
37
|
+
const y = a;
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
y as default
|
|
40
40
|
};
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: end;
|
|
4
|
-
align-items: start;
|
|
5
|
-
`,a=e.default.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
gap: 1ch;
|
|
9
|
-
min-height: 1em;
|
|
10
|
-
`,s=e.default.div`
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("styled-components"),l=e=>e&&e.__esModule?e:{default:e},o=l(t),c=o.default.div`
|
|
11
2
|
background-color: var(--black, #000);
|
|
12
3
|
height: 2px;
|
|
13
4
|
width: 3ch;
|
|
14
|
-
`;exports.
|
|
5
|
+
`;exports.Line=c;
|