@rubin-epo/epo-widget-lib 0.10.2 → 0.10.3
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 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),M=require("react-i18next"),y=require("d3-array"),k=require("../../../charts/ScatterPlot/index.cjs");require("../../../atomic/PlotWrapper/index.cjs");const x=require("../../../lib/utils.cjs"),u=require("../defaults.cjs"),v=require("./styles.cjs"),C=require("../../../atomic/PlotWrapper/styles.cjs"),E=(i,c,p)=>{const o={};return Object.keys(i).forEach(e=>{const a=e==="top"||e==="bottom"?p:c,n=`${e.charAt(0).toUpperCase()}${e.slice(1)}`;o[`padding${n}`]=`${i[e]/a*100}%`}),o},A=({data:i,activeAlertId:c,xMin:p,xMax:o,yMin:d,yMax:e,width:a=u.default.width,height:n=u.default.height,name:j,slider:g,className:q,plotChildren:h})=>{const{t:l,i18n:{language:W}}=M.useTranslation(),D=x.mergeWithDefaults({min:y.min(i,({x:t})=>t),max:y.max(i,({x:t})=>t)},u.default.xAxis),P=x.mergeWithDefaults({min:p,max:o,label:l("light_curve.plot.x_label")},{...D,label:l("isochrone_plot.plot.x_label")}),r=x.mergeWithDefaults({min:d,max:e,label:l("light_curve.plot.y_label")},{...u.default.yAxis,label:l("isochrone_plot.plot.y_label")}),b={top:10,right:10,bottom:25,left:40};return s.jsxs(C.PlotWrapper,{className:q,children:[s.jsx(k.default,{width:a,height:n,margins:b,activePointId:c,title:j,xAxis:{...P,ticks:6},yAxis:{...r,step:r.min<r.max?Math.abs(r.step):r.step},data:{label:l("light_curve.plot.plot_label"),points:i},tooltip:({y:t})=>l("light_curve.plot.tooltip",{magnitude:t.toLocaleString(W,{minimumFractionDigits:2,maximumFractionDigits:2})}),plotChildren:({xScale:t,yStart:f,yEnd:m,Data:_,...$})=>s.jsxs(s.Fragment,{children:[s.jsx("rect",{x:t(0),y:m,width:t(15)-t(0),height:f-m,stroke:"var(--neutral60,##6A6E6E)",strokeDasharray:6,fill:"var(--neutral20,#DCE0E3)"}),_,h&&h({xScale:t,yStart:f,yEnd:m,Data:_,...$})]})}),g&&s.jsx(v.SliderOuterWrapper,{children:s.jsx(v.SliderInnerWrapper,{style:{...E(b,a,n)},children:g})})]})};A.displayName="Widgets.LightCurve.Plot";const F=A;exports.default=F;
|
|
@@ -1,101 +1,116 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { min as
|
|
5
|
-
import
|
|
6
|
-
import e from "../defaults.js";
|
|
7
|
-
import { SliderOuterWrapper as E, SliderInnerWrapper as F } from "./styles.js";
|
|
2
|
+
import { jsxs as A, jsx as n, Fragment as k } from "react/jsx-runtime";
|
|
3
|
+
import { useTranslation as C } from "react-i18next";
|
|
4
|
+
import { min as E, max as F } from "d3-array";
|
|
5
|
+
import I from "../../../charts/ScatterPlot/index.js";
|
|
8
6
|
import "../../../atomic/PlotWrapper/index.js";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
import { mergeWithDefaults as u } from "../../../lib/utils.js";
|
|
8
|
+
import m from "../defaults.js";
|
|
9
|
+
import { SliderOuterWrapper as L, SliderInnerWrapper as M } from "./styles.js";
|
|
10
|
+
import { PlotWrapper as N } from "../../../atomic/PlotWrapper/styles.js";
|
|
11
|
+
const O = (i, p, c) => {
|
|
12
|
+
const l = {};
|
|
13
|
+
return Object.keys(i).forEach((o) => {
|
|
14
|
+
const s = o === "top" || o === "bottom" ? c : p, a = `${o.charAt(0).toUpperCase()}${o.slice(1)}`;
|
|
15
|
+
l[`padding${a}`] = `${i[o] / s * 100}%`;
|
|
16
|
+
}), l;
|
|
16
17
|
}, v = ({
|
|
17
|
-
data:
|
|
18
|
+
data: i,
|
|
18
19
|
activeAlertId: p,
|
|
19
|
-
xMin:
|
|
20
|
-
xMax:
|
|
21
|
-
yMin:
|
|
22
|
-
yMax: o
|
|
23
|
-
width:
|
|
24
|
-
height:
|
|
20
|
+
xMin: c,
|
|
21
|
+
xMax: l,
|
|
22
|
+
yMin: x,
|
|
23
|
+
yMax: o,
|
|
24
|
+
width: s = m.width,
|
|
25
|
+
height: a = m.height,
|
|
25
26
|
name: y,
|
|
26
27
|
slider: g,
|
|
27
|
-
className:
|
|
28
|
-
plotChildren:
|
|
28
|
+
className: P,
|
|
29
|
+
plotChildren: f
|
|
29
30
|
}) => {
|
|
30
31
|
const {
|
|
31
|
-
t:
|
|
32
|
-
i18n: { language:
|
|
33
|
-
} =
|
|
32
|
+
t: e,
|
|
33
|
+
i18n: { language: W }
|
|
34
|
+
} = C(), $ = u(
|
|
35
|
+
{
|
|
36
|
+
min: E(i, ({ x: t }) => t),
|
|
37
|
+
max: F(i, ({ x: t }) => t)
|
|
38
|
+
},
|
|
39
|
+
m.xAxis
|
|
40
|
+
), D = u(
|
|
41
|
+
{ min: c, max: l, label: e("light_curve.plot.x_label") },
|
|
42
|
+
{
|
|
43
|
+
...$,
|
|
44
|
+
label: e("isochrone_plot.plot.x_label")
|
|
45
|
+
}
|
|
46
|
+
), r = u(
|
|
47
|
+
{ min: x, max: o, label: e("light_curve.plot.y_label") },
|
|
48
|
+
{
|
|
49
|
+
...m.yAxis,
|
|
50
|
+
label: e("isochrone_plot.plot.y_label")
|
|
51
|
+
}
|
|
52
|
+
), b = {
|
|
34
53
|
top: 10,
|
|
35
54
|
right: 10,
|
|
36
55
|
bottom: 25,
|
|
37
56
|
left: 40
|
|
38
57
|
};
|
|
39
|
-
return /* @__PURE__ */
|
|
58
|
+
return /* @__PURE__ */ A(N, { className: P, children: [
|
|
40
59
|
/* @__PURE__ */ n(
|
|
41
|
-
|
|
60
|
+
I,
|
|
42
61
|
{
|
|
43
|
-
width:
|
|
44
|
-
height:
|
|
45
|
-
margins:
|
|
62
|
+
width: s,
|
|
63
|
+
height: a,
|
|
64
|
+
margins: b,
|
|
46
65
|
activePointId: p,
|
|
47
66
|
title: y,
|
|
48
67
|
xAxis: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
step: e.xStep,
|
|
52
|
-
label: P
|
|
68
|
+
...D,
|
|
69
|
+
ticks: 6
|
|
53
70
|
},
|
|
54
71
|
yAxis: {
|
|
55
|
-
|
|
56
|
-
max:
|
|
57
|
-
step: c < o ? Math.abs(e.yStep) : e.yStep,
|
|
58
|
-
label: $
|
|
72
|
+
...r,
|
|
73
|
+
step: r.min < r.max ? Math.abs(r.step) : r.step
|
|
59
74
|
},
|
|
60
75
|
data: {
|
|
61
|
-
label:
|
|
62
|
-
points:
|
|
76
|
+
label: e("light_curve.plot.plot_label"),
|
|
77
|
+
points: i
|
|
63
78
|
},
|
|
64
|
-
tooltip: ({ y: t }) =>
|
|
65
|
-
magnitude: t.toLocaleString(
|
|
79
|
+
tooltip: ({ y: t }) => e("light_curve.plot.tooltip", {
|
|
80
|
+
magnitude: t.toLocaleString(W, {
|
|
66
81
|
minimumFractionDigits: 2,
|
|
67
82
|
maximumFractionDigits: 2
|
|
68
83
|
})
|
|
69
84
|
}),
|
|
70
|
-
plotChildren: ({ xScale: t, yStart: d, yEnd:
|
|
85
|
+
plotChildren: ({ xScale: t, yStart: d, yEnd: h, Data: _, ...j }) => /* @__PURE__ */ A(k, { children: [
|
|
71
86
|
/* @__PURE__ */ n(
|
|
72
87
|
"rect",
|
|
73
88
|
{
|
|
74
89
|
x: t(0),
|
|
75
|
-
y:
|
|
90
|
+
y: h,
|
|
76
91
|
width: t(15) - t(0),
|
|
77
|
-
height: d -
|
|
92
|
+
height: d - h,
|
|
78
93
|
stroke: "var(--neutral60,##6A6E6E)",
|
|
79
94
|
strokeDasharray: 6,
|
|
80
95
|
fill: "var(--neutral20,#DCE0E3)"
|
|
81
96
|
}
|
|
82
97
|
),
|
|
83
|
-
|
|
84
|
-
|
|
98
|
+
_,
|
|
99
|
+
f && f({ xScale: t, yStart: d, yEnd: h, Data: _, ...j })
|
|
85
100
|
] })
|
|
86
101
|
}
|
|
87
102
|
),
|
|
88
|
-
g && /* @__PURE__ */ n(
|
|
89
|
-
|
|
103
|
+
g && /* @__PURE__ */ n(L, { children: /* @__PURE__ */ n(
|
|
104
|
+
M,
|
|
90
105
|
{
|
|
91
|
-
style: { ...
|
|
106
|
+
style: { ...O(b, s, a) },
|
|
92
107
|
children: g
|
|
93
108
|
}
|
|
94
109
|
) })
|
|
95
110
|
] });
|
|
96
111
|
};
|
|
97
112
|
v.displayName = "Widgets.LightCurve.Plot";
|
|
98
|
-
const
|
|
113
|
+
const J = v;
|
|
99
114
|
export {
|
|
100
|
-
|
|
115
|
+
J as default
|
|
101
116
|
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
1
3
|
export declare const SliderOuterWrapper: 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 SliderOuterWrapper: import('styled-components').IStyledComp
|
|
|
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 SliderInnerWrapper: import('styled-components').IStyledComp
|
|
|
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;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
1
3
|
export declare const HiddenOutput: import('styled-components').IStyledComponent<"web", {
|
|
2
4
|
ref?: import('react').LegacyRef<HTMLOutputElement> | undefined;
|
|
3
5
|
key?: import('react').Key | null | undefined;
|
|
@@ -53,60 +55,60 @@ export declare const HiddenOutput: import('styled-components').IStyledComponent<
|
|
|
53
55
|
unselectable?: "on" | "off" | undefined;
|
|
54
56
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
55
57
|
is?: string | undefined;
|
|
56
|
-
children?: import('react').ReactNode
|
|
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
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
58
|
+
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
59
|
+
'aria-activedescendant'?: string | undefined;
|
|
60
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
61
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
62
|
+
'aria-braillelabel'?: string | undefined;
|
|
63
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
64
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
65
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
66
|
+
'aria-colcount'?: number | undefined;
|
|
67
|
+
'aria-colindex'?: number | undefined;
|
|
68
|
+
'aria-colindextext'?: string | undefined;
|
|
69
|
+
'aria-colspan'?: number | undefined;
|
|
70
|
+
'aria-controls'?: string | undefined;
|
|
71
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
72
|
+
'aria-describedby'?: string | undefined;
|
|
73
|
+
'aria-description'?: string | undefined;
|
|
74
|
+
'aria-details'?: string | undefined;
|
|
75
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
76
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
77
|
+
'aria-errormessage'?: string | undefined;
|
|
78
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
79
|
+
'aria-flowto'?: string | undefined;
|
|
80
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
81
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
82
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
83
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
84
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
85
|
+
'aria-label'?: string | undefined;
|
|
86
|
+
'aria-labelledby'?: string | undefined;
|
|
87
|
+
'aria-level'?: number | undefined;
|
|
88
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
89
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
91
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
92
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
93
|
+
'aria-owns'?: string | undefined;
|
|
94
|
+
'aria-placeholder'?: string | undefined;
|
|
95
|
+
'aria-posinset'?: number | undefined;
|
|
96
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
97
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
98
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
99
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
100
|
+
'aria-roledescription'?: string | undefined;
|
|
101
|
+
'aria-rowcount'?: number | undefined;
|
|
102
|
+
'aria-rowindex'?: number | undefined;
|
|
103
|
+
'aria-rowindextext'?: string | undefined;
|
|
104
|
+
'aria-rowspan'?: number | undefined;
|
|
105
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
106
|
+
'aria-setsize'?: number | undefined;
|
|
107
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
108
|
+
'aria-valuemax'?: number | undefined;
|
|
109
|
+
'aria-valuemin'?: number | undefined;
|
|
110
|
+
'aria-valuenow'?: number | undefined;
|
|
111
|
+
'aria-valuetext'?: string | undefined;
|
|
110
112
|
dangerouslySetInnerHTML?: {
|
|
111
113
|
__html: string | TrustedHTML;
|
|
112
114
|
} | undefined;
|
|
@@ -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"),u=require("react-i18next"),o=require("../../../../charts/Readout/index.cjs"),i=require("../../helpers.cjs"),s=({gaussianWidth:t,className:n})=>{const{t:a,i18n:{language:r}}=u.useTranslation(),l=i.estimateMagnitude(0,t),c=i.estimateMagnitude(15,t)-l;return e.jsx(o.default,{className:n,children: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":a("light_curve.deltaM15.label"),children:Number(c).toLocaleString(r,{minimumFractionDigits:2,maximumFractionDigits:2})})]})})};s.displayName="Widgets.LightCurve.DM15Display";const m=s;exports.default=m;
|