@rubin-epo/epo-widget-lib 2.0.7 → 2.0.9
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/charts/Readout/index.cjs +1 -1
- package/dist/charts/Readout/index.js +25 -18
- package/dist/charts/ScatterPlot/index.cjs +1 -1
- package/dist/charts/ScatterPlot/index.js +53 -50
- package/dist/widgets/OrbitalSim/Context/OrbitalSimContext.types.d.ts +1 -1
- package/dist/widgets/OrbitalSim/Context/index.cjs +1 -1
- package/dist/widgets/OrbitalSim/Context/index.js +41 -45
- package/dist/widgets/OrbitalSim/Orbitals/OrbitalDetails.cjs +1 -1
- package/dist/widgets/OrbitalSim/Orbitals/OrbitalDetails.js +12 -12
- package/dist/widgets/OrbitalSim/Orbitals/styles.cjs +8 -5
- package/dist/widgets/OrbitalSim/Orbitals/styles.js +11 -8
- package/dist/widgets/OrbitalSim/styles.cjs +1 -0
- package/dist/widgets/OrbitalSim/styles.js +3 -2
- package/dist/widgets/SupernovaThreeVector/Skymap/index.cjs +1 -1
- package/dist/widgets/SupernovaThreeVector/Skymap/index.js +45 -39
- package/package.json +2 -2
- package/dist/widgets/OrbitalSim/Orbitals/styles.d.ts +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),c=require("@rubin-epo/epo-react-lib/styles");require("../Base/index.cjs");require("../XAxis/index.cjs");require("../YAxis/index.cjs");require("../Guidelines/index.cjs");require("../Tooltip/index.cjs");require("../Bars/index.cjs");const d=require("../Viewport/index.cjs"),y=require("../ForeignObject/index.cjs");require("../ScatterPlot/index.cjs");const o=require("./styles.cjs"),j=(r="")=>{const i=["top","right"],a=["center","center"],n=r?[...r.split(" "),...a].slice(0,2):i,e={justifyContent:null,alignItems:null};return n.forEach(s=>{switch(s){case"center":e.alignItems=e.alignItems??"center",e.justifyContent=e.justifyContent??"center";break;case"top":e.alignItems="start";break;case"right":e.justifyContent="end";break;case"bottom":e.alignItems="end";break;case"left":e.justifyContent="start";break}}),e},u=({className:r,children:i,position:a,viewport:n,forIds:e,forScreenreaders:s})=>{const l=t.jsx(y.default,{children:t.jsx(o.DisplayContainer,{style:j(a),children:t.jsxs(o.Display,{form:Array.isArray(e)?e.join(" "):e,className:r,children:[t.jsx("span",{"aria-hidden":!!s,children:i}),t.jsx(c.ScreenreaderText,{children:s})]})})});return n?t.jsx(d.default,{...n,children:l}):l};u.displayName="Charts.Readout";exports.default=u;
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { ScreenreaderText as c } from "@rubin-epo/epo-react-lib/styles";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import "../Base/index.js";
|
|
4
|
+
import "../XAxis/index.js";
|
|
5
|
+
import "../YAxis/index.js";
|
|
6
|
+
import "../Guidelines/index.js";
|
|
7
|
+
import "../Tooltip/index.js";
|
|
8
|
+
import "../Bars/index.js";
|
|
9
|
+
import m from "../Viewport/index.js";
|
|
10
|
+
import p from "../ForeignObject/index.js";
|
|
11
|
+
import "../ScatterPlot/index.js";
|
|
12
|
+
import { DisplayContainer as f, Display as u } from "./styles.js";
|
|
13
|
+
const d = (i = "") => {
|
|
14
|
+
const o = ["top", "right"], s = ["center", "center"], r = i ? [...i.split(" "), ...s].slice(0, 2) : o, t = {
|
|
8
15
|
justifyContent: null,
|
|
9
16
|
alignItems: null
|
|
10
17
|
};
|
|
11
|
-
return
|
|
12
|
-
switch (
|
|
18
|
+
return r.forEach((n) => {
|
|
19
|
+
switch (n) {
|
|
13
20
|
case "center":
|
|
14
21
|
t.alignItems = t.alignItems ?? "center", t.justifyContent = t.justifyContent ?? "center";
|
|
15
22
|
break;
|
|
@@ -28,25 +35,25 @@ const p = (n = "") => {
|
|
|
28
35
|
}
|
|
29
36
|
}), t;
|
|
30
37
|
}, y = ({
|
|
31
|
-
className:
|
|
32
|
-
children:
|
|
33
|
-
position:
|
|
34
|
-
viewport:
|
|
38
|
+
className: i,
|
|
39
|
+
children: o,
|
|
40
|
+
position: s,
|
|
41
|
+
viewport: r,
|
|
35
42
|
forIds: t,
|
|
36
|
-
forScreenreaders:
|
|
43
|
+
forScreenreaders: n
|
|
37
44
|
}) => {
|
|
38
|
-
const a = /* @__PURE__ */ e(
|
|
39
|
-
|
|
45
|
+
const a = /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(f, { style: d(s), children: /* @__PURE__ */ l(
|
|
46
|
+
u,
|
|
40
47
|
{
|
|
41
48
|
form: Array.isArray(t) ? t.join(" ") : t,
|
|
42
|
-
className:
|
|
49
|
+
className: i,
|
|
43
50
|
children: [
|
|
44
|
-
/* @__PURE__ */ e("span", { "aria-hidden": !!
|
|
45
|
-
/* @__PURE__ */ e(c, { children:
|
|
51
|
+
/* @__PURE__ */ e("span", { "aria-hidden": !!n, children: o }),
|
|
52
|
+
/* @__PURE__ */ e(c, { children: n })
|
|
46
53
|
]
|
|
47
54
|
}
|
|
48
55
|
) }) });
|
|
49
|
-
return
|
|
56
|
+
return r ? /* @__PURE__ */ e(m, { ...r, children: a }) : a;
|
|
50
57
|
};
|
|
51
58
|
y.displayName = "Charts.Readout";
|
|
52
59
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),J=require("react")
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),J=require("react");require("../Base/index.cjs");const K=require("../XAxis/index.cjs"),Q=require("../YAxis/index.cjs"),$=require("../Guidelines/index.cjs"),U=require("../Points/index.cjs"),V=require("../Tooltip/index.cjs"),X=require("../ClippingContainer/index.cjs");require("../Bars/index.cjs");require("../Viewport/index.cjs");const R=require("../hooks/useAxis.cjs"),Y=require("./styles.cjs"),H=require("../defaults.cjs"),Z=require("../canvas/Points/index.cjs"),w={svg:U.default,canvas:Z.default},M=({data:C,className:D,xAxis:l,yAxis:c,width:d,height:u,title:T,activePointId:p,margins:z,tooltip:a,onLoadedCallback:B,renderer:E="svg",plotChildren:y})=>{const[q,h]=J.useState(),{label:O,points:x}=C,o={...H.default.margins,...z},e=typeof q<"u"?x[q]:x.find(({id:v})=>v===p),f=[0+o.left,d-o.right],b=[u-o.bottom,0+o.top],[r,j,t]=R.default({...l,range:f}),[i,m,s]=R.default({...c,range:b}),S=s(i[0]),g=t(r[0]),I=s(i[1]),_=t(r[1]),k="x-axis-label",L="y-axis-label",N=Math.abs(f[1]-f[0]),W=Math.abs(b[1]-b[0]),F=w[E],P=n.jsx(F,{data:x,onHoverCallback:a?v=>h(v):void 0,onHoverOutCallback:a?()=>h(void 0):void 0,width:d,height:u,xScale:t,yScale:s,label:O,onLoadedCallback:B}),G={Data:P,xScale:t,yScale:s,yStart:S,yEnd:I,xStart:g,xEnd:_,yDomain:i,xDomain:r};return n.jsxs(Y.Chart,{verticalLabel:c.label,verticalLabelId:L,horizontalLabel:l.label,horizontalLabelId:k,className:D,width:d,height:u,title:T,children:[n.jsx(Q.default,{ticks:m,x:g,labelledById:L,yDomain:i,yScale:s}),n.jsxs(X.default,{x:g,y:I,width:N,height:W,children:[l.guidelines&&n.jsx($.default,{guides:j.length,direction:"vertical",xDomain:r,yDomain:i,xScale:t,yScale:s}),c.guidelines&&n.jsx($.default,{guides:m.length,xDomain:r,yDomain:i,xScale:t,yScale:s}),y?y(G):P]}),n.jsx(K.default,{ticks:j,y:S,labelledById:k,xDomain:r,xScale:t}),a&&n.jsxs(V.default,{x:e?t(e.x):void 0,y:e?s(e.y):void 0,visible:!!e,offset:H.default.pointRadius,children:[e&&typeof a=="function"&&a(e),e&&typeof a=="string"&&a]})]})};M.displayName="Charts.ScatterPlot";exports.default=M;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as u, jsx as
|
|
2
|
+
import { jsxs as u, jsx as s } from "react/jsx-runtime";
|
|
3
3
|
import { useState as F } from "react";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import Q from "../
|
|
9
|
-
import U from "../
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
4
|
+
import "../Base/index.js";
|
|
5
|
+
import J from "../XAxis/index.js";
|
|
6
|
+
import K from "../YAxis/index.js";
|
|
7
|
+
import R from "../Guidelines/index.js";
|
|
8
|
+
import Q from "../Points/index.js";
|
|
9
|
+
import U from "../Tooltip/index.js";
|
|
10
|
+
import V from "../ClippingContainer/index.js";
|
|
11
|
+
import "../Bars/index.js";
|
|
12
|
+
import "../Viewport/index.js";
|
|
13
|
+
import D from "../hooks/useAxis.js";
|
|
14
|
+
import { Chart as Z } from "./styles.js";
|
|
15
|
+
import T from "../defaults.js";
|
|
16
|
+
import _ from "../canvas/Points/index.js";
|
|
14
17
|
const $ = {
|
|
15
|
-
svg:
|
|
16
|
-
canvas:
|
|
18
|
+
svg: Q,
|
|
19
|
+
canvas: _
|
|
17
20
|
}, w = ({
|
|
18
21
|
data: j,
|
|
19
22
|
className: z,
|
|
@@ -29,32 +32,32 @@ const $ = {
|
|
|
29
32
|
renderer: G = "svg",
|
|
30
33
|
plotChildren: x
|
|
31
34
|
}) => {
|
|
32
|
-
const [y, h] = F(), { label: N, points: f } = j,
|
|
35
|
+
const [y, h] = F(), { label: N, points: f } = j, a = { ...T.margins, ...M }, t = typeof y < "u" ? f[y] : f.find(({ id: v }) => v === E), p = [0 + a.left, d - a.right], b = [m - a.bottom, 0 + a.top], [i, I, o] = D({ ...l, range: p }), [r, P, e] = D({ ...c, range: b }), S = e(r[0]), g = o(i[0]), k = e(r[1]), O = o(i[1]), C = "x-axis-label", L = "y-axis-label", W = Math.abs(p[1] - p[0]), X = Math.abs(b[1] - b[0]), Y = $[G], H = /* @__PURE__ */ s(
|
|
33
36
|
Y,
|
|
34
37
|
{
|
|
35
38
|
data: f,
|
|
36
|
-
onHoverCallback: n ? (
|
|
39
|
+
onHoverCallback: n ? (v) => h(v) : void 0,
|
|
37
40
|
onHoverOutCallback: n ? () => h(void 0) : void 0,
|
|
38
41
|
width: d,
|
|
39
42
|
height: m,
|
|
40
|
-
xScale:
|
|
41
|
-
yScale:
|
|
43
|
+
xScale: o,
|
|
44
|
+
yScale: e,
|
|
42
45
|
label: N,
|
|
43
46
|
onLoadedCallback: A
|
|
44
47
|
}
|
|
45
48
|
), q = {
|
|
46
49
|
Data: H,
|
|
47
|
-
xScale:
|
|
48
|
-
yScale:
|
|
50
|
+
xScale: o,
|
|
51
|
+
yScale: e,
|
|
49
52
|
yStart: S,
|
|
50
53
|
yEnd: k,
|
|
51
|
-
xStart:
|
|
54
|
+
xStart: g,
|
|
52
55
|
xEnd: O,
|
|
53
|
-
yDomain:
|
|
54
|
-
xDomain:
|
|
56
|
+
yDomain: r,
|
|
57
|
+
xDomain: i
|
|
55
58
|
};
|
|
56
59
|
return /* @__PURE__ */ u(
|
|
57
|
-
|
|
60
|
+
Z,
|
|
58
61
|
{
|
|
59
62
|
verticalLabel: c.label,
|
|
60
63
|
verticalLabelId: L,
|
|
@@ -65,66 +68,66 @@ const $ = {
|
|
|
65
68
|
height: m,
|
|
66
69
|
title: B,
|
|
67
70
|
children: [
|
|
68
|
-
/* @__PURE__ */
|
|
69
|
-
|
|
71
|
+
/* @__PURE__ */ s(
|
|
72
|
+
K,
|
|
70
73
|
{
|
|
71
74
|
ticks: P,
|
|
72
|
-
x:
|
|
75
|
+
x: g,
|
|
73
76
|
labelledById: L,
|
|
74
|
-
yDomain:
|
|
75
|
-
yScale:
|
|
77
|
+
yDomain: r,
|
|
78
|
+
yScale: e
|
|
76
79
|
}
|
|
77
80
|
),
|
|
78
81
|
/* @__PURE__ */ u(
|
|
79
|
-
|
|
82
|
+
V,
|
|
80
83
|
{
|
|
81
|
-
x:
|
|
84
|
+
x: g,
|
|
82
85
|
y: k,
|
|
83
86
|
width: W,
|
|
84
87
|
height: X,
|
|
85
88
|
children: [
|
|
86
|
-
l.guidelines && /* @__PURE__ */
|
|
87
|
-
|
|
89
|
+
l.guidelines && /* @__PURE__ */ s(
|
|
90
|
+
R,
|
|
88
91
|
{
|
|
89
92
|
guides: I.length,
|
|
90
93
|
direction: "vertical",
|
|
91
|
-
xDomain:
|
|
92
|
-
yDomain:
|
|
93
|
-
xScale:
|
|
94
|
-
yScale:
|
|
94
|
+
xDomain: i,
|
|
95
|
+
yDomain: r,
|
|
96
|
+
xScale: o,
|
|
97
|
+
yScale: e
|
|
95
98
|
}
|
|
96
99
|
),
|
|
97
|
-
c.guidelines && /* @__PURE__ */
|
|
98
|
-
|
|
100
|
+
c.guidelines && /* @__PURE__ */ s(
|
|
101
|
+
R,
|
|
99
102
|
{
|
|
100
103
|
guides: P.length,
|
|
101
|
-
xDomain:
|
|
102
|
-
yDomain:
|
|
103
|
-
xScale:
|
|
104
|
-
yScale:
|
|
104
|
+
xDomain: i,
|
|
105
|
+
yDomain: r,
|
|
106
|
+
xScale: o,
|
|
107
|
+
yScale: e
|
|
105
108
|
}
|
|
106
109
|
),
|
|
107
110
|
x ? x(q) : H
|
|
108
111
|
]
|
|
109
112
|
}
|
|
110
113
|
),
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
|
|
114
|
+
/* @__PURE__ */ s(
|
|
115
|
+
J,
|
|
113
116
|
{
|
|
114
117
|
ticks: I,
|
|
115
118
|
y: S,
|
|
116
119
|
labelledById: C,
|
|
117
|
-
xDomain:
|
|
118
|
-
xScale:
|
|
120
|
+
xDomain: i,
|
|
121
|
+
xScale: o
|
|
119
122
|
}
|
|
120
123
|
),
|
|
121
124
|
n && /* @__PURE__ */ u(
|
|
122
|
-
|
|
125
|
+
U,
|
|
123
126
|
{
|
|
124
|
-
x: t ?
|
|
125
|
-
y: t ?
|
|
127
|
+
x: t ? o(t.x) : void 0,
|
|
128
|
+
y: t ? e(t.y) : void 0,
|
|
126
129
|
visible: !!t,
|
|
127
|
-
offset:
|
|
130
|
+
offset: T.pointRadius,
|
|
128
131
|
children: [
|
|
129
132
|
t && typeof n == "function" && n(t),
|
|
130
133
|
t && typeof n == "string" && n
|
|
@@ -17,8 +17,8 @@ export type OrbitalSimContextValues = {
|
|
|
17
17
|
showTimeControls?: boolean;
|
|
18
18
|
setOrbits: React.Dispatch<React.SetStateAction<Orbits>>;
|
|
19
19
|
observations: Observation[];
|
|
20
|
-
setObservations: React.Dispatch<React.SetStateAction<Observation[]>>;
|
|
21
20
|
updateActiveObservation: (activeId: string) => void;
|
|
21
|
+
selectedAnswer: string | null;
|
|
22
22
|
swappableOrbits: boolean;
|
|
23
23
|
};
|
|
24
24
|
export type Observation = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("react/jsx-runtime"),t=require("react"),c=t.createContext(null);function g(){const s=t.useContext(c);if(!s)throw new Error("OrbitalSim components cannot be rendered outside the OrbitalSimContext.Provider component.");return s}function j({children:s,orbitData:r,showDetailsTable:f=!1,allowOrbitRotation:b=!1,showTimeControls:v=!1,selectedAnswer:i,updateSelectedAnswer:x,swappableOrbits:m=!1}){const[l,u]=t.useState({neos:null,activeNeo:null,observations:[],paused:!1,pov:null,defaultZoom:null,potentialOrbits:!1,noDetails:!1,detailsRows:null,refObjs:null,noControls:!1}),[e,S]=t.useState(()=>l.observations??[]);t.useEffect(()=>{u(r),S(r.observations)},[r]);const d=t.useMemo(()=>e&&e.length>0?e.map(n=>({...n,isActive:n.label===i})):[],[i,e]),O=n=>{if(e&&e.length>0){let C=e.map(o=>o.id==n?{...o,isActive:!0}:{...o,isActive:!1});S(C);const a=e.find(o=>o.id===n);x((a==null?void 0:a.label)||null)}},p=t.useMemo(()=>({orbits:l,showDetailsTable:f,allowOrbitRotation:b,showTimeControls:v,setOrbits:u,observations:d,updateActiveObservation:O,selectedAnswer:i,swappableOrbits:m}),[l,f,b,v,u,d,O,i,m]);return P.jsx(c.Provider,{value:p,children:s})}exports.OrbitalSimContext=c;exports.OrbitalSimProvider=j;exports.useOrbitalSimContext=g;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as P } from "react/jsx-runtime";
|
|
3
|
-
import { createContext as g, useState as p, useEffect as
|
|
4
|
-
const
|
|
5
|
-
function
|
|
6
|
-
const o =
|
|
3
|
+
import { createContext as g, useState as p, useEffect as j, useMemo as x, useContext as A } from "react";
|
|
4
|
+
const O = g(null);
|
|
5
|
+
function N() {
|
|
6
|
+
const o = A(O);
|
|
7
7
|
if (!o)
|
|
8
8
|
throw new Error(
|
|
9
9
|
"OrbitalSim components cannot be rendered outside the OrbitalSimContext.Provider component."
|
|
10
10
|
);
|
|
11
11
|
return o;
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function W({
|
|
14
14
|
children: o,
|
|
15
|
-
orbitData:
|
|
16
|
-
showDetailsTable:
|
|
17
|
-
allowOrbitRotation:
|
|
18
|
-
showTimeControls:
|
|
15
|
+
orbitData: i,
|
|
16
|
+
showDetailsTable: a = !1,
|
|
17
|
+
allowOrbitRotation: f = !1,
|
|
18
|
+
showTimeControls: c = !1,
|
|
19
19
|
selectedAnswer: s,
|
|
20
20
|
updateSelectedAnswer: S,
|
|
21
|
-
swappableOrbits:
|
|
21
|
+
swappableOrbits: v = !1
|
|
22
22
|
}) {
|
|
23
|
-
const [
|
|
23
|
+
const [l, r] = p({
|
|
24
24
|
neos: null,
|
|
25
25
|
activeNeo: null,
|
|
26
26
|
observations: [],
|
|
@@ -32,51 +32,47 @@ function N({
|
|
|
32
32
|
detailsRows: null,
|
|
33
33
|
refObjs: null,
|
|
34
34
|
noControls: !1
|
|
35
|
-
}), [t,
|
|
36
|
-
() =>
|
|
35
|
+
}), [t, b] = p(
|
|
36
|
+
() => l.observations ?? []
|
|
37
37
|
);
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}, [
|
|
38
|
+
j(() => {
|
|
39
|
+
r(i), b(i.observations);
|
|
40
|
+
}, [i]);
|
|
41
|
+
const m = x(
|
|
42
|
+
() => t && t.length > 0 ? t.map((e) => ({ ...e, isActive: e.label === s })) : [],
|
|
43
|
+
[s, t]
|
|
44
|
+
), d = (e) => {
|
|
41
45
|
if (t && t.length > 0) {
|
|
42
|
-
let
|
|
43
|
-
|
|
46
|
+
let h = t.map((n) => n.id == e ? { ...n, isActive: !0 } : { ...n, isActive: !1 });
|
|
47
|
+
b(h);
|
|
48
|
+
const u = t.find((n) => n.id === e);
|
|
49
|
+
S((u == null ? void 0 : u.label) || null);
|
|
44
50
|
}
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
}, C = h(() => ({
|
|
54
|
-
orbits: u,
|
|
55
|
-
showDetailsTable: c,
|
|
56
|
-
allowOrbitRotation: m,
|
|
57
|
-
showTimeControls: v,
|
|
58
|
-
setOrbits: a,
|
|
59
|
-
observations: t,
|
|
60
|
-
setObservations: e,
|
|
51
|
+
}, C = x(() => ({
|
|
52
|
+
orbits: l,
|
|
53
|
+
showDetailsTable: a,
|
|
54
|
+
allowOrbitRotation: f,
|
|
55
|
+
showTimeControls: c,
|
|
56
|
+
setOrbits: r,
|
|
57
|
+
observations: m,
|
|
61
58
|
updateActiveObservation: d,
|
|
62
59
|
selectedAnswer: s,
|
|
63
|
-
swappableOrbits:
|
|
60
|
+
swappableOrbits: v
|
|
64
61
|
}), [
|
|
65
|
-
|
|
62
|
+
l,
|
|
63
|
+
a,
|
|
64
|
+
f,
|
|
66
65
|
c,
|
|
66
|
+
r,
|
|
67
67
|
m,
|
|
68
|
-
v,
|
|
69
|
-
a,
|
|
70
|
-
t,
|
|
71
|
-
e,
|
|
72
68
|
d,
|
|
73
69
|
s,
|
|
74
|
-
|
|
70
|
+
v
|
|
75
71
|
]);
|
|
76
|
-
return /* @__PURE__ */ P(
|
|
72
|
+
return /* @__PURE__ */ P(O.Provider, { value: C, children: o });
|
|
77
73
|
}
|
|
78
74
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
75
|
+
O as OrbitalSimContext,
|
|
76
|
+
W as OrbitalSimProvider,
|
|
77
|
+
N as useOrbitalSimContext
|
|
82
78
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),n=require("react"),c=require("@rubin-epo/epo-react-lib/Button"),u=require("../Context/index.cjs"),s=require("./styles.cjs"),d=require("../styles.cjs"),a=t=>t&&t.__esModule?t:{default:t},x=a(c);function h(){const{orbits:t}=u.useOrbitalSimContext(),{detailsRows:l}=t,[i,r]=n.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(d.GlobalStyles,{}),e.jsx(s.ButtonWrapper,{styleAs:"secondary",isInactive:!l,onClick:()=>{r(!i)
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),n=require("react"),c=require("@rubin-epo/epo-react-lib/Button"),u=require("../Context/index.cjs"),s=require("./styles.cjs"),d=require("../styles.cjs"),a=t=>t&&t.__esModule?t:{default:t},x=a(c);function h(){const{orbits:t}=u.useOrbitalSimContext(),{detailsRows:l}=t,[i,r]=n.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(d.GlobalStyles,{}),e.jsx(s.ButtonWrapper,{styleAs:"secondary",isInactive:!l,onClick:()=>{r(!i)},children:i?"Hide Details":"Show Details"}),e.jsx(s.SlideoutWrapper,{slideFrom:"left",isOpen:i,children:e.jsxs(s.SlideoutPanel,{children:[e.jsx("h3",{children:"Orbital Details"}),l&&l.map(o=>e.jsxs(s.SlideoutRow,{children:[e.jsx(s.SlideoutColLeft,{children:e.jsx("p",{children:o.rowTitle})}),e.jsx(s.SlideoutColRight,{children:e.jsx("p",{children:o.rowContent})})]})),e.jsx(x.default,{isBlock:!0,onClick:()=>r(!i),children:"Close"})]})})]})}exports.default=h;
|
|
@@ -5,34 +5,34 @@ import a from "@rubin-epo/epo-react-lib/Button";
|
|
|
5
5
|
import { useOrbitalSimContext as d } from "../Context/index.js";
|
|
6
6
|
import { ButtonWrapper as m, SlideoutWrapper as p, SlideoutPanel as h, SlideoutRow as u, SlideoutColLeft as f, SlideoutColRight as S } from "./styles.js";
|
|
7
7
|
import { GlobalStyles as C } from "../styles.js";
|
|
8
|
-
function
|
|
8
|
+
function v() {
|
|
9
9
|
const { orbits: n } = d(), {
|
|
10
|
-
detailsRows:
|
|
11
|
-
} = n, [
|
|
10
|
+
detailsRows: i
|
|
11
|
+
} = n, [t, l] = c(!1);
|
|
12
12
|
return /* @__PURE__ */ o(s, { children: [
|
|
13
13
|
/* @__PURE__ */ e(C, {}),
|
|
14
14
|
/* @__PURE__ */ e(
|
|
15
15
|
m,
|
|
16
16
|
{
|
|
17
17
|
styleAs: "secondary",
|
|
18
|
-
isInactive: !
|
|
18
|
+
isInactive: !i,
|
|
19
19
|
onClick: () => {
|
|
20
|
-
|
|
20
|
+
l(!t);
|
|
21
21
|
},
|
|
22
|
-
children: "Show Details"
|
|
22
|
+
children: t ? "Hide Details" : "Show Details"
|
|
23
23
|
}
|
|
24
24
|
),
|
|
25
|
-
/* @__PURE__ */ e(p, { slideFrom: "left", isOpen:
|
|
25
|
+
/* @__PURE__ */ e(p, { slideFrom: "left", isOpen: t, children: /* @__PURE__ */ o(h, { children: [
|
|
26
26
|
/* @__PURE__ */ e("h3", { children: "Orbital Details" }),
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e("p", { children:
|
|
29
|
-
/* @__PURE__ */ e(S, { children: /* @__PURE__ */ e("p", { children:
|
|
27
|
+
i && i.map((r) => /* @__PURE__ */ o(u, { children: [
|
|
28
|
+
/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e("p", { children: r.rowTitle }) }),
|
|
29
|
+
/* @__PURE__ */ e(S, { children: /* @__PURE__ */ e("p", { children: r.rowContent }) })
|
|
30
30
|
] })),
|
|
31
31
|
/* @__PURE__ */ e(
|
|
32
32
|
a,
|
|
33
33
|
{
|
|
34
34
|
isBlock: !0,
|
|
35
|
-
onClick: () =>
|
|
35
|
+
onClick: () => l(!t),
|
|
36
36
|
children: "Close"
|
|
37
37
|
}
|
|
38
38
|
)
|
|
@@ -40,5 +40,5 @@ function y() {
|
|
|
40
40
|
] });
|
|
41
41
|
}
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
v as default
|
|
44
44
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("styled-components"),i=require("@rubin-epo/epo-react-lib/Button"),l=require("@rubin-epo/epo-react-lib/
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("styled-components"),i=require("@rubin-epo/epo-react-lib/Button"),l=require("@rubin-epo/epo-react-lib/SlideoutInfoCard"),e=o=>o&&o.__esModule?o:{default:o},t=e(r),a=e(i),d=e(l),n=t.default(d.default)`
|
|
2
|
+
position: absolute;
|
|
3
|
+
|
|
4
|
+
& > div:first-of-type {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
5
7
|
`,c=t.default.div`
|
|
6
8
|
padding: 2px 4px;
|
|
7
9
|
margin-top: 4px;
|
|
@@ -13,7 +15,7 @@
|
|
|
13
15
|
color-adjust: exact;
|
|
14
16
|
z-index: 10000;
|
|
15
17
|
height: fit-content;
|
|
16
|
-
`,u=t.default(
|
|
18
|
+
`,u=t.default(a.default)`
|
|
17
19
|
position: absolute;
|
|
18
20
|
top: 0;
|
|
19
21
|
left: 0;
|
|
@@ -43,6 +45,7 @@
|
|
|
43
45
|
display: flex;
|
|
44
46
|
gap: 10px;
|
|
45
47
|
margin: 0px;
|
|
48
|
+
color: var(--black);
|
|
46
49
|
`,x=t.default.div`
|
|
47
50
|
flex: 1;
|
|
48
51
|
padding: 0px 15px 0px 15px;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import o from "styled-components";
|
|
3
3
|
import r from "@rubin-epo/epo-react-lib/Button";
|
|
4
|
-
import t from "@rubin-epo/epo-react-lib/
|
|
4
|
+
import t from "@rubin-epo/epo-react-lib/SlideoutInfoCard";
|
|
5
5
|
const a = o(t)`
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
position: absolute;
|
|
7
|
+
|
|
8
|
+
& > div:first-of-type {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
9
11
|
`, d = o.div`
|
|
10
12
|
padding: 2px 4px;
|
|
11
13
|
margin-top: 4px;
|
|
@@ -27,7 +29,7 @@ const a = o(t)`
|
|
|
27
29
|
color: var(--white) !important;
|
|
28
30
|
background-color: var(--error);
|
|
29
31
|
}
|
|
30
|
-
`,
|
|
32
|
+
`, c = o.div`
|
|
31
33
|
background-color: var(--neutral10);
|
|
32
34
|
display: flex;
|
|
33
35
|
flex-direction: column;
|
|
@@ -43,10 +45,11 @@ const a = o(t)`
|
|
|
43
45
|
margin: 0px;
|
|
44
46
|
text-align: center;
|
|
45
47
|
}
|
|
46
|
-
`,
|
|
48
|
+
`, p = o.div`
|
|
47
49
|
display: flex;
|
|
48
50
|
gap: 10px;
|
|
49
51
|
margin: 0px;
|
|
52
|
+
color: var(--black);
|
|
50
53
|
`, x = o.div`
|
|
51
54
|
flex: 1;
|
|
52
55
|
padding: 0px 15px 0px 15px;
|
|
@@ -67,7 +70,7 @@ export {
|
|
|
67
70
|
d as Label,
|
|
68
71
|
x as SlideoutColLeft,
|
|
69
72
|
s as SlideoutColRight,
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
c as SlideoutPanel,
|
|
74
|
+
p as SlideoutRow,
|
|
72
75
|
a as SlideoutWrapper
|
|
73
76
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import e, { createGlobalStyle as t } from "styled-components";
|
|
3
3
|
import { Canvas as a } from "@react-three/fiber";
|
|
4
|
-
const
|
|
4
|
+
const i = t`
|
|
5
5
|
:root {
|
|
6
6
|
--white: #ffffff;
|
|
7
7
|
--black: #000000;
|
|
@@ -37,6 +37,7 @@ const o = t`
|
|
|
37
37
|
}
|
|
38
38
|
`, l = e.div`
|
|
39
39
|
position: relative;
|
|
40
|
+
overflow: hidden;
|
|
40
41
|
height: var(--tallestSquareWidget);
|
|
41
42
|
min-height: 500px;
|
|
42
43
|
background-color: #000000;
|
|
@@ -86,7 +87,7 @@ const o = t`
|
|
|
86
87
|
`;
|
|
87
88
|
export {
|
|
88
89
|
n as CanvasWrapper,
|
|
89
|
-
|
|
90
|
+
i as GlobalStyles,
|
|
90
91
|
l as OrbitalSimWrapper,
|
|
91
92
|
d as SunLabel,
|
|
92
93
|
p as SwappableOrbitButton,
|
|
@@ -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"),b=require("react"),_=require("d3-geo-projection"),S=require("d3-geo"),M=require("d3-array"),E=require("../../../charts/Base/index.cjs");require("../../../charts/XAxis/index.cjs");require("../../../charts/YAxis/index.cjs");require("../../../charts/Guidelines/index.cjs");const N=require("../../../charts/Tooltip/index.cjs");require("../../../charts/Bars/index.cjs");require("../../../charts/Viewport/index.cjs");require("../../../charts/ScatterPlot/index.cjs");const U=require("../../../atomic/ImageStack/index.cjs"),r=require("./styles.cjs"),y=({className:L,objects:p=[],images:v=[],visibleImages:w=[],describedById:G})=>{const[O,P]=b.useState(!1),[x,f]=b.useState(),l=600,c=300,n={top:20,right:0,bottom:20,left:20},W=l+n.right+n.left,$=c+n.top+n.bottom,d=15,u=30,j=-90,m=90,g=-180,q=180,h=2,i=_.geoAitoff(),s=S.geoGraticule();s.step([u,d]),s.extent([[g,j],[q,m]]),i.fitExtent([[n.left,n.top],[n.left+l-h,n.top+c]],s.outline());const B=M.range(j+d,m,d),A=M.range(g+u,q,u),C=S.geoPath(i).pointRadius(6),a=t=>C(t)||void 0,o=typeof x<"u"?p[x]:void 0,k=(o?i([o==null?void 0:o.long,o==null?void 0:o.lat]):[0,0])||[0,0];return e.jsxs(E.default,{width:W,height:$,className:L,children:[e.jsx("mask",{id:"imageMask",children:e.jsx("path",{d:a(s.outline()),fill:"white"})}),e.jsx(r.Background,{d:a(s.outline())}),e.jsx(r.Graticule,{d:a(s())}),e.jsx(r.ImageStackerWrapper,{style:{"--image-stack-opacity":O&&1},x:n.left,y:n.top,width:l-h,height:c,mask:"url(#imageMask)",children:e.jsx(U.default,{images:v,describedById:G,visible:w,loadCallback:()=>P(!0),showBackdrop:!1,showLoader:!1})}),e.jsx("g",{children:p.map(({id:t,lat:H,long:R},T)=>e.jsx(r.UserObject,{d:a({type:"Point",coordinates:[R,H]}),onMouseOver:()=>f(T),onMouseOut:()=>f(void 0)},t))}),e.jsx("g",{"aria-hidden":"true",children:B.map(t=>t===0?null:e.jsxs(r.LatLabel,{style:{dominantBaseline:t>0?"text-after-edge":"text-before-edge"},transform:`translate(${i([g,t])})`,children:[t,"°"]},t))}),e.jsx("g",{"aria-hidden":"true",children:A.map(t=>e.jsxs(r.LongLabel,{transform:`translate(${i([t,0])})`,children:[t,"°"]},t))}),e.jsx(r.Outline,{strokeWidth:h,d:a(s.outline())}),e.jsx(N.default,{visible:!!o,x:k[0],y:k[1],children:o==null?void 0:o.id})]})};y.displayName="Widgets.SupernovaThreeVector.Skymap";exports.default=y;
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as h, jsx as
|
|
2
|
+
import { jsxs as h, jsx as o } from "react/jsx-runtime";
|
|
3
3
|
import { useState as L } from "react";
|
|
4
4
|
import { geoAitoff as E } from "d3-geo-projection";
|
|
5
5
|
import { geoGraticule as N, geoPath as R } from "d3-geo";
|
|
6
6
|
import { range as M } from "d3-array";
|
|
7
|
-
import U from "../../../
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
7
|
+
import U from "../../../charts/Base/index.js";
|
|
8
|
+
import "../../../charts/XAxis/index.js";
|
|
9
|
+
import "../../../charts/YAxis/index.js";
|
|
10
|
+
import "../../../charts/Guidelines/index.js";
|
|
11
|
+
import V from "../../../charts/Tooltip/index.js";
|
|
12
|
+
import "../../../charts/Bars/index.js";
|
|
13
|
+
import "../../../charts/Viewport/index.js";
|
|
14
|
+
import "../../../charts/ScatterPlot/index.js";
|
|
15
|
+
import q from "../../../atomic/ImageStack/index.js";
|
|
16
|
+
import { Background as z, Graticule as D, ImageStackerWrapper as F, UserObject as J, LatLabel as K, LongLabel as Q, Outline as X } from "./styles.js";
|
|
11
17
|
const Y = ({
|
|
12
18
|
className: y,
|
|
13
19
|
objects: g = [],
|
|
@@ -15,38 +21,38 @@ const Y = ({
|
|
|
15
21
|
visibleImages: w = [],
|
|
16
22
|
describedById: B
|
|
17
23
|
}) => {
|
|
18
|
-
const [O, W] = L(!1), [f, u] = L(), s = 600, l = 300,
|
|
24
|
+
const [O, W] = L(!1), [f, u] = L(), s = 600, l = 300, i = {
|
|
19
25
|
top: 20,
|
|
20
26
|
right: 0,
|
|
21
27
|
bottom: 20,
|
|
22
28
|
left: 20
|
|
23
|
-
}, j = s +
|
|
24
|
-
|
|
29
|
+
}, j = s + i.right + i.left, C = l + i.top + i.bottom, c = 15, d = 30, k = -90, x = 90, p = -180, b = 180, m = 2, a = E(), r = N();
|
|
30
|
+
r.step([d, c]), r.extent([
|
|
25
31
|
[p, k],
|
|
26
32
|
[b, x]
|
|
27
|
-
]),
|
|
33
|
+
]), a.fitExtent(
|
|
28
34
|
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
35
|
+
[i.left, i.top],
|
|
36
|
+
[i.left + s - m, i.top + l]
|
|
31
37
|
],
|
|
32
|
-
|
|
38
|
+
r.outline()
|
|
33
39
|
);
|
|
34
|
-
const G = M(k + c, x, c), H = M(p + d, b, d), P = R(
|
|
35
|
-
return /* @__PURE__ */ h(
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
|
|
40
|
+
const G = M(k + c, x, c), H = M(p + d, b, d), P = R(a).pointRadius(6), n = (t) => P(t) || void 0, e = typeof f < "u" ? g[f] : void 0, S = (e ? a([e == null ? void 0 : e.long, e == null ? void 0 : e.lat]) : [0, 0]) || [0, 0];
|
|
41
|
+
return /* @__PURE__ */ h(U, { width: j, height: C, className: y, children: [
|
|
42
|
+
/* @__PURE__ */ o("mask", { id: "imageMask", children: /* @__PURE__ */ o("path", { d: n(r.outline()), fill: "white" }) }),
|
|
43
|
+
/* @__PURE__ */ o(z, { d: n(r.outline()) }),
|
|
44
|
+
/* @__PURE__ */ o(D, { d: n(r()) }),
|
|
45
|
+
/* @__PURE__ */ o(
|
|
46
|
+
F,
|
|
41
47
|
{
|
|
42
48
|
style: { "--image-stack-opacity": O && 1 },
|
|
43
|
-
x:
|
|
44
|
-
y:
|
|
49
|
+
x: i.left,
|
|
50
|
+
y: i.top,
|
|
45
51
|
width: s - m,
|
|
46
52
|
height: l,
|
|
47
53
|
mask: "url(#imageMask)",
|
|
48
|
-
children: /* @__PURE__ */
|
|
49
|
-
|
|
54
|
+
children: /* @__PURE__ */ o(
|
|
55
|
+
q,
|
|
50
56
|
{
|
|
51
57
|
images: v,
|
|
52
58
|
describedById: B,
|
|
@@ -58,10 +64,10 @@ const Y = ({
|
|
|
58
64
|
)
|
|
59
65
|
}
|
|
60
66
|
),
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
67
|
+
/* @__PURE__ */ o("g", { children: g.map(({ id: t, lat: T, long: $ }, A) => /* @__PURE__ */ o(
|
|
68
|
+
J,
|
|
63
69
|
{
|
|
64
|
-
d:
|
|
70
|
+
d: n({
|
|
65
71
|
type: "Point",
|
|
66
72
|
coordinates: [$, T]
|
|
67
73
|
}),
|
|
@@ -70,14 +76,14 @@ const Y = ({
|
|
|
70
76
|
},
|
|
71
77
|
t
|
|
72
78
|
)) }),
|
|
73
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ o("g", { "aria-hidden": "true", children: G.map(
|
|
74
80
|
(t) => t === 0 ? null : /* @__PURE__ */ h(
|
|
75
|
-
|
|
81
|
+
K,
|
|
76
82
|
{
|
|
77
83
|
style: {
|
|
78
84
|
dominantBaseline: t > 0 ? "text-after-edge" : "text-before-edge"
|
|
79
85
|
},
|
|
80
|
-
transform: `translate(${
|
|
86
|
+
transform: `translate(${a([p, t])})`,
|
|
81
87
|
children: [
|
|
82
88
|
t,
|
|
83
89
|
"°"
|
|
@@ -86,10 +92,10 @@ const Y = ({
|
|
|
86
92
|
t
|
|
87
93
|
)
|
|
88
94
|
) }),
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
|
|
95
|
+
/* @__PURE__ */ o("g", { "aria-hidden": "true", children: H.map((t) => /* @__PURE__ */ h(
|
|
96
|
+
Q,
|
|
91
97
|
{
|
|
92
|
-
transform: `translate(${
|
|
98
|
+
transform: `translate(${a([t, 0])})`,
|
|
93
99
|
children: [
|
|
94
100
|
t,
|
|
95
101
|
"°"
|
|
@@ -97,20 +103,20 @@ const Y = ({
|
|
|
97
103
|
},
|
|
98
104
|
t
|
|
99
105
|
)) }),
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
|
|
106
|
+
/* @__PURE__ */ o(
|
|
107
|
+
X,
|
|
102
108
|
{
|
|
103
109
|
strokeWidth: m,
|
|
104
|
-
d: r
|
|
110
|
+
d: n(r.outline())
|
|
105
111
|
}
|
|
106
112
|
),
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
|
|
113
|
+
/* @__PURE__ */ o(
|
|
114
|
+
V,
|
|
109
115
|
{
|
|
110
|
-
visible: !!
|
|
116
|
+
visible: !!e,
|
|
111
117
|
x: S[0],
|
|
112
118
|
y: S[1],
|
|
113
|
-
children:
|
|
119
|
+
children: e == null ? void 0 : e.id
|
|
114
120
|
}
|
|
115
121
|
)
|
|
116
122
|
] });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rubin-epo/epo-widget-lib",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "Rubin Observatory Education & Public Outreach team React scientific and educational widgets.",
|
|
5
5
|
"author": "Rubin EPO",
|
|
6
6
|
"license": "MIT",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"@react-three/drei": "^10.7.6",
|
|
104
104
|
"@react-three/fiber": "9",
|
|
105
|
-
"@rubin-epo/epo-react-lib": "3.0.
|
|
105
|
+
"@rubin-epo/epo-react-lib": "^3.0.1",
|
|
106
106
|
"@rubin-epo/epo-widget-lib": "2.0.2",
|
|
107
107
|
"context-filter-polyfill": "^0.3.6",
|
|
108
108
|
"d3-array": "^3.2.4",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const SlideoutWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('@rubin-epo/epo-react-lib/Slideout').SlideoutProps & {
|
|
2
|
-
children?: import('react').ReactNode | undefined;
|
|
3
|
-
}, never>> & string & Omit<import('react').FunctionComponent<import('react').PropsWithChildren<import('@rubin-epo/epo-react-lib/Slideout').SlideoutProps>>, keyof import('react').Component<any, {}, any>>;
|
|
4
|
-
export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
export declare const ButtonWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').PropsWithChildren<import('@rubin-epo/epo-react-lib/Button').ButtonProps>, "ref"> & import('react').RefAttributes<HTMLButtonElement>, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('react').PropsWithChildren<import('@rubin-epo/epo-react-lib/Button').ButtonProps>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
|
|
6
|
-
export declare const SlideoutPanel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
-
export declare const SlideoutRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
-
export declare const SlideoutColLeft: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
-
export declare const SlideoutColRight: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|