@rubin-epo/epo-widget-lib 0.10.2 → 0.10.3-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atomic/Blinker/Controls/styles.d.ts +56 -54
- package/dist/atomic/Blinker/styles.d.ts +109 -108
- package/dist/atomic/ElapsedTime/styles.d.ts +326 -324
- package/dist/atomic/LiveRegion/styles.d.ts +56 -54
- package/dist/atomic/Loader/styles.d.ts +56 -54
- package/dist/atomic/PlaybackControl/styles.d.ts +110 -108
- package/dist/atomic/PlotWrapper/styles.d.ts +56 -54
- package/dist/charts/Base/styles.d.ts +541 -539
- package/dist/charts/Readout/styles.d.ts +110 -108
- package/dist/charts/Tooltip/styles.d.ts +109 -108
- package/dist/charts/XAxis/index.cjs +1 -1
- package/dist/charts/XAxis/index.js +47 -32
- package/dist/charts/YAxis/index.cjs +1 -1
- package/dist/charts/YAxis/index.js +44 -29
- package/dist/charts/hooks/useAxis.cjs +1 -1
- package/dist/charts/hooks/useAxis.d.ts +4 -3
- package/dist/charts/hooks/useAxis.js +15 -25
- package/dist/charts/styles.d.ts +320 -318
- package/dist/layout/AspectRatio/styles.d.ts +55 -54
- package/dist/layout/Controls/styles.d.ts +379 -378
- package/dist/lib/utils.d.ts +2 -2
- package/dist/styles/svg.d.ts +56 -54
- package/dist/widgets/CameraFilter/styles.d.ts +860 -860
- package/dist/widgets/ColorTool/FilterControls/styles.d.ts +222 -221
- package/dist/widgets/FilterTool/styles.d.ts +426 -426
- package/dist/widgets/LightCurvePlot/Plot/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/Plot/index.js +67 -52
- package/dist/widgets/LightCurvePlot/Plot/styles.d.ts +110 -108
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/styles.d.ts +56 -54
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.d.ts +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.js +29 -33
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.js +4 -4
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.js +85 -81
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.d.ts +164 -162
- package/dist/widgets/LightCurvePlot/defaults.cjs +1 -1
- package/dist/widgets/LightCurvePlot/defaults.d.ts +10 -6
- package/dist/widgets/LightCurvePlot/defaults.js +2 -6
- package/dist/widgets/LightCurvePlot/helpers.cjs +1 -1
- package/dist/widgets/LightCurvePlot/helpers.js +1 -1
- package/dist/widgets/SourceSelector/Point/styles.d.ts +55 -53
- package/dist/widgets/SourceSelector/SelectionList/styles.d.ts +164 -162
- package/dist/widgets/SourceSelector/styles.d.ts +496 -0
- package/dist/widgets/SupernovaThreeVector/Histogram/index.cjs +1 -1
- package/dist/widgets/SupernovaThreeVector/Histogram/index.js +8 -8
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.d.ts +55 -53
- package/dist/widgets/SupernovaThreeVector/Skymap/styles.d.ts +373 -371
- package/package.json +4 -4
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.cjs +0 -5
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.d.ts +0 -272
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.js +0 -10
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
1
3
|
export declare const DisplayContainer: 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 DisplayContainer: import('styled-components').IStyledCompon
|
|
|
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;
|
|
@@ -325,60 +327,60 @@ export declare const Display: import('styled-components').IStyledComponent<"web"
|
|
|
325
327
|
unselectable?: "on" | "off" | undefined;
|
|
326
328
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
327
329
|
is?: string | undefined;
|
|
328
|
-
children?: import('react').ReactNode
|
|
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
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
330
|
+
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
331
|
+
'aria-activedescendant'?: string | undefined;
|
|
332
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
333
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
334
|
+
'aria-braillelabel'?: string | undefined;
|
|
335
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
336
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
337
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
338
|
+
'aria-colcount'?: number | undefined;
|
|
339
|
+
'aria-colindex'?: number | undefined;
|
|
340
|
+
'aria-colindextext'?: string | undefined;
|
|
341
|
+
'aria-colspan'?: number | undefined;
|
|
342
|
+
'aria-controls'?: string | undefined;
|
|
343
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
344
|
+
'aria-describedby'?: string | undefined;
|
|
345
|
+
'aria-description'?: string | undefined;
|
|
346
|
+
'aria-details'?: string | undefined;
|
|
347
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
348
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
349
|
+
'aria-errormessage'?: string | undefined;
|
|
350
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
351
|
+
'aria-flowto'?: string | undefined;
|
|
352
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
353
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
354
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
355
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
356
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
357
|
+
'aria-label'?: string | undefined;
|
|
358
|
+
'aria-labelledby'?: string | undefined;
|
|
359
|
+
'aria-level'?: number | undefined;
|
|
360
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
361
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
362
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
363
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
364
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
365
|
+
'aria-owns'?: string | undefined;
|
|
366
|
+
'aria-placeholder'?: string | undefined;
|
|
367
|
+
'aria-posinset'?: number | undefined;
|
|
368
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
369
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
370
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
371
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
372
|
+
'aria-roledescription'?: string | undefined;
|
|
373
|
+
'aria-rowcount'?: number | undefined;
|
|
374
|
+
'aria-rowindex'?: number | undefined;
|
|
375
|
+
'aria-rowindextext'?: string | undefined;
|
|
376
|
+
'aria-rowspan'?: number | undefined;
|
|
377
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
378
|
+
'aria-setsize'?: number | undefined;
|
|
379
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
380
|
+
'aria-valuemax'?: number | undefined;
|
|
381
|
+
'aria-valuemin'?: number | undefined;
|
|
382
|
+
'aria-valuenow'?: number | undefined;
|
|
383
|
+
'aria-valuetext'?: string | undefined;
|
|
382
384
|
dangerouslySetInnerHTML?: {
|
|
383
385
|
__html: string | TrustedHTML;
|
|
384
386
|
} | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const TooltipContainer: import('styled-components').IStyledComponent<"web", {
|
|
3
4
|
className?: string | undefined;
|
|
4
5
|
width?: string | number | undefined;
|
|
@@ -61,60 +62,60 @@ export declare const Tooltip: import('styled-components').IStyledComponent<"web"
|
|
|
61
62
|
unselectable?: "on" | "off" | undefined;
|
|
62
63
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
63
64
|
is?: string | undefined;
|
|
64
|
-
children?: import('react').ReactNode
|
|
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
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
65
|
+
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
66
|
+
'aria-activedescendant'?: string | undefined;
|
|
67
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
69
|
+
'aria-braillelabel'?: string | undefined;
|
|
70
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
71
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
72
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
73
|
+
'aria-colcount'?: number | undefined;
|
|
74
|
+
'aria-colindex'?: number | undefined;
|
|
75
|
+
'aria-colindextext'?: string | undefined;
|
|
76
|
+
'aria-colspan'?: number | undefined;
|
|
77
|
+
'aria-controls'?: string | undefined;
|
|
78
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
79
|
+
'aria-describedby'?: string | undefined;
|
|
80
|
+
'aria-description'?: string | undefined;
|
|
81
|
+
'aria-details'?: string | undefined;
|
|
82
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
83
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
84
|
+
'aria-errormessage'?: string | undefined;
|
|
85
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
86
|
+
'aria-flowto'?: string | undefined;
|
|
87
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
89
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
91
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
92
|
+
'aria-label'?: string | undefined;
|
|
93
|
+
'aria-labelledby'?: string | undefined;
|
|
94
|
+
'aria-level'?: number | undefined;
|
|
95
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
96
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
98
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
99
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
100
|
+
'aria-owns'?: string | undefined;
|
|
101
|
+
'aria-placeholder'?: string | undefined;
|
|
102
|
+
'aria-posinset'?: number | undefined;
|
|
103
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
104
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
105
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
106
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
107
|
+
'aria-roledescription'?: string | undefined;
|
|
108
|
+
'aria-rowcount'?: number | undefined;
|
|
109
|
+
'aria-rowindex'?: number | undefined;
|
|
110
|
+
'aria-rowindextext'?: string | undefined;
|
|
111
|
+
'aria-rowspan'?: number | undefined;
|
|
112
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
113
|
+
'aria-setsize'?: number | undefined;
|
|
114
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
115
|
+
'aria-valuemax'?: number | undefined;
|
|
116
|
+
'aria-valuemin'?: number | undefined;
|
|
117
|
+
'aria-valuenow'?: number | undefined;
|
|
118
|
+
'aria-valuetext'?: string | undefined;
|
|
118
119
|
dangerouslySetInnerHTML?: {
|
|
119
120
|
__html: string | TrustedHTML;
|
|
120
121
|
} | undefined;
|
|
@@ -333,60 +334,60 @@ export declare const Arrow: import('styled-components').IStyledComponent<"web",
|
|
|
333
334
|
unselectable?: "on" | "off" | undefined;
|
|
334
335
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
335
336
|
is?: string | undefined;
|
|
336
|
-
children?: import('react').ReactNode
|
|
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
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
337
|
+
children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
|
|
338
|
+
'aria-activedescendant'?: string | undefined;
|
|
339
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
340
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
341
|
+
'aria-braillelabel'?: string | undefined;
|
|
342
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
343
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
344
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
345
|
+
'aria-colcount'?: number | undefined;
|
|
346
|
+
'aria-colindex'?: number | undefined;
|
|
347
|
+
'aria-colindextext'?: string | undefined;
|
|
348
|
+
'aria-colspan'?: number | undefined;
|
|
349
|
+
'aria-controls'?: string | undefined;
|
|
350
|
+
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
351
|
+
'aria-describedby'?: string | undefined;
|
|
352
|
+
'aria-description'?: string | undefined;
|
|
353
|
+
'aria-details'?: string | undefined;
|
|
354
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
355
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
356
|
+
'aria-errormessage'?: string | undefined;
|
|
357
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
358
|
+
'aria-flowto'?: string | undefined;
|
|
359
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
360
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
361
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
362
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
363
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
364
|
+
'aria-label'?: string | undefined;
|
|
365
|
+
'aria-labelledby'?: string | undefined;
|
|
366
|
+
'aria-level'?: number | undefined;
|
|
367
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
368
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
369
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
370
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
371
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
372
|
+
'aria-owns'?: string | undefined;
|
|
373
|
+
'aria-placeholder'?: string | undefined;
|
|
374
|
+
'aria-posinset'?: number | undefined;
|
|
375
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
376
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
377
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
378
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
379
|
+
'aria-roledescription'?: string | undefined;
|
|
380
|
+
'aria-rowcount'?: number | undefined;
|
|
381
|
+
'aria-rowindex'?: number | undefined;
|
|
382
|
+
'aria-rowindextext'?: string | undefined;
|
|
383
|
+
'aria-rowspan'?: number | undefined;
|
|
384
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
385
|
+
'aria-setsize'?: number | undefined;
|
|
386
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
387
|
+
'aria-valuemax'?: number | undefined;
|
|
388
|
+
'aria-valuemin'?: number | undefined;
|
|
389
|
+
'aria-valuenow'?: number | undefined;
|
|
390
|
+
'aria-valuetext'?: string | undefined;
|
|
390
391
|
dangerouslySetInnerHTML?: {
|
|
391
392
|
__html: string | TrustedHTML;
|
|
392
393
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"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 r=require("react/jsx-runtime"),M=require("d3-array"),c=require("../styles.cjs"),X=require("react-i18next"),b=({xDomain:e,xScale:o,y:i=0,ticks:a=0,labelRender:g,labelledById:h,margin:x,tickHeight:d=5,showBaseline:y=!0,className:j})=>{const{i18n:{language:A}}=X.useTranslation();if(e.length<2)return console.error("Failed to render: invalid domain",e),null;const f={...{top:0,right:0,bottom:0,left:0},...x},u=Array.isArray(a)?a:M.ticks(e[0],e[1],a),m=u.reduce((t,n)=>{if(Number.isInteger(n))return t;{const s=n.toString().split(".")[1].length;return s>t?s:t}},0),{format:F}=new Intl.NumberFormat(A,{minimumFractionDigits:m,maximumFractionDigits:m});return r.jsxs(r.Fragment,{children:[y&&r.jsx(c.BaseLine,{x1:o(e[0])-f.left,x2:o(e[1])+f.right,y1:i,y2:i}),u.length>0&&r.jsx("g",{role:"list","aria-labelledby":h,className:j,children:u.map((t,n)=>{if(t>=e[1])return null;const s=i+d,l=o(t);return r.jsxs("g",{role:"listitem",children:[d>0&&r.jsx(c.Tick,{x1:l,x2:l,y1:i,y2:s}),g?g(t,l,s,n):r.jsx(c.XLabel,{x:l,y:s,children:F(t)})]},n)})})]})};b.displayName="Charts.XAxis";const q=b;exports.default=q;
|
|
@@ -1,44 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as d, Fragment as x, jsx as l } from "react/jsx-runtime";
|
|
3
|
+
import { ticks as M } from "d3-array";
|
|
4
|
+
import { BaseLine as N, Tick as j, XLabel as I } from "../styles.js";
|
|
5
|
+
import { useTranslation as L } from "react-i18next";
|
|
6
|
+
const h = ({
|
|
7
|
+
xDomain: r,
|
|
8
|
+
xScale: o,
|
|
9
|
+
y: e = 0,
|
|
10
|
+
ticks: a = 0,
|
|
11
|
+
labelRender: g,
|
|
12
|
+
labelledById: b,
|
|
13
|
+
margin: p,
|
|
14
|
+
tickHeight: m = 5,
|
|
15
|
+
showBaseline: y = !0,
|
|
16
|
+
className: A
|
|
15
17
|
}) => {
|
|
18
|
+
const {
|
|
19
|
+
i18n: { language: F }
|
|
20
|
+
} = L();
|
|
16
21
|
if (r.length < 2)
|
|
17
22
|
return console.error("Failed to render: invalid domain", r), null;
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
const u = { ...{ top: 0, right: 0, bottom: 0, left: 0 }, ...p }, c = Array.isArray(a) ? a : M(r[0], r[1], a), f = c.reduce((t, n) => {
|
|
24
|
+
if (Number.isInteger(n))
|
|
25
|
+
return t;
|
|
26
|
+
{
|
|
27
|
+
const i = n.toString().split(".")[1].length;
|
|
28
|
+
return i > t ? i : t;
|
|
29
|
+
}
|
|
30
|
+
}, 0), { format: X } = new Intl.NumberFormat(F, {
|
|
31
|
+
minimumFractionDigits: f,
|
|
32
|
+
maximumFractionDigits: f
|
|
33
|
+
});
|
|
34
|
+
return /* @__PURE__ */ d(x, { children: [
|
|
35
|
+
y && /* @__PURE__ */ l(
|
|
36
|
+
N,
|
|
22
37
|
{
|
|
23
|
-
x1:
|
|
24
|
-
x2:
|
|
25
|
-
y1:
|
|
26
|
-
y2:
|
|
38
|
+
x1: o(r[0]) - u.left,
|
|
39
|
+
x2: o(r[1]) + u.right,
|
|
40
|
+
y1: e,
|
|
41
|
+
y2: e
|
|
27
42
|
}
|
|
28
43
|
),
|
|
29
|
-
|
|
30
|
-
if (
|
|
44
|
+
c.length > 0 && /* @__PURE__ */ l("g", { role: "list", "aria-labelledby": b, className: A, children: c.map((t, n) => {
|
|
45
|
+
if (t >= r[1])
|
|
31
46
|
return null;
|
|
32
|
-
const
|
|
33
|
-
return /* @__PURE__ */
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
] },
|
|
47
|
+
const i = e + m, s = o(t);
|
|
48
|
+
return /* @__PURE__ */ d("g", { role: "listitem", children: [
|
|
49
|
+
m > 0 && /* @__PURE__ */ l(j, { x1: s, x2: s, y1: e, y2: i }),
|
|
50
|
+
g ? g(t, s, i, n) : /* @__PURE__ */ l(I, { x: s, y: i, children: X(t) })
|
|
51
|
+
] }, n);
|
|
37
52
|
}) })
|
|
38
53
|
] });
|
|
39
54
|
};
|
|
40
|
-
|
|
41
|
-
const
|
|
55
|
+
h.displayName = "Charts.XAxis";
|
|
56
|
+
const Y = h;
|
|
42
57
|
export {
|
|
43
|
-
|
|
58
|
+
Y as default
|
|
44
59
|
};
|