@elastic/charts 48.0.1 → 49.0.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/chart_types/flame_chart/flame_chart.js +62 -31
- package/dist/chart_types/flame_chart/flame_chart.js.map +1 -1
- package/dist/chart_types/flame_chart/render/draw_a_frame.js +10 -9
- package/dist/chart_types/flame_chart/render/draw_a_frame.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/index.js +18 -15
- package/dist/chart_types/metric/renderer/dom/index.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/metric.js +1 -0
- package/dist/chart_types/metric/renderer/dom/metric.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/text.js +84 -40
- package/dist/chart_types/metric/renderer/dom/text.js.map +1 -1
- package/dist/chart_types/metric/specs/index.d.ts +16 -7
- package/dist/chart_types/metric/specs/index.d.ts.map +1 -1
- package/dist/chart_types/metric/specs/index.js +7 -3
- package/dist/chart_types/metric/specs/index.js.map +1 -1
- package/dist/chart_types/specs.d.ts +1 -1
- package/dist/chart_types/specs.d.ts.map +1 -1
- package/dist/chart_types/specs.js.map +1 -1
- package/dist/chart_types/xy_chart/utils/specs.js.map +1 -1
- package/dist/specs/constants.d.ts +1 -1
- package/dist/theme.scss +9 -0
- package/dist/theme_dark.css +1 -1
- package/dist/theme_dark.css.map +1 -1
- package/dist/theme_light.css +1 -1
- package/dist/theme_light.css.map +1 -1
- package/dist/theme_only_dark.css +1 -1
- package/dist/theme_only_dark.css.map +1 -1
- package/dist/theme_only_light.css +1 -1
- package/dist/theme_only_light.css.map +1 -1
- package/dist/utils/themes/dark_theme.d.ts.map +1 -1
- package/dist/utils/themes/dark_theme.js +13 -0
- package/dist/utils/themes/dark_theme.js.map +1 -1
- package/dist/utils/themes/light_theme.d.ts.map +1 -1
- package/dist/utils/themes/light_theme.js +13 -0
- package/dist/utils/themes/light_theme.js.map +1 -1
- package/dist/utils/themes/theme.d.ts +16 -0
- package/dist/utils/themes/theme.d.ts.map +1 -1
- package/dist/utils/themes/theme.js.map +1 -1
- package/package.json +1 -1
|
@@ -33,7 +33,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
33
33
|
exports.MetricText = void 0;
|
|
34
34
|
var classnames_1 = __importDefault(require("classnames"));
|
|
35
35
|
var react_1 = __importDefault(require("react"));
|
|
36
|
+
var default_theme_attributes_1 = require("../../../../common/default_theme_attributes");
|
|
37
|
+
var canvas_text_bbox_calculator_1 = require("../../../../utils/bbox/canvas_text_bbox_calculator");
|
|
36
38
|
var common_1 = require("../../../../utils/common");
|
|
39
|
+
var wrap_1 = require("../../../../utils/text/wrap");
|
|
37
40
|
var specs_1 = require("../../specs");
|
|
38
41
|
var WIDTH_BP = [
|
|
39
42
|
[0, 180, 's'],
|
|
@@ -41,7 +44,7 @@ var WIDTH_BP = [
|
|
|
41
44
|
[300, Infinity, 'l'],
|
|
42
45
|
];
|
|
43
46
|
var PADDING = 8;
|
|
44
|
-
var
|
|
47
|
+
var LINE_HEIGHT = 1.2;
|
|
45
48
|
var ICON_SIZE = { s: 16, m: 16, l: 24 };
|
|
46
49
|
var TITLE_FONT_SIZE = { s: 12, m: 16, l: 16 };
|
|
47
50
|
var SUBTITLE_FONT_SIZE = { s: 10, m: 14, l: 14 };
|
|
@@ -56,29 +59,57 @@ function findRange(ranges, value) {
|
|
|
56
59
|
return range ? range[2] : ranges[0][2];
|
|
57
60
|
}
|
|
58
61
|
function elementVisibility(datum, panel, size) {
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
+
var LEFT_RIGHT_PADDING = 16;
|
|
63
|
+
var maxTitlesWidth = (size === 's' ? 1 : 0.8) * panel.width - (datum.icon ? 24 : 0) - LEFT_RIGHT_PADDING;
|
|
64
|
+
var titleFont = {
|
|
65
|
+
fontStyle: 'normal',
|
|
66
|
+
fontFamily: default_theme_attributes_1.DEFAULT_FONT_FAMILY,
|
|
67
|
+
fontVariant: 'normal',
|
|
68
|
+
fontWeight: 400,
|
|
69
|
+
textColor: 'black',
|
|
62
70
|
};
|
|
63
|
-
var
|
|
64
|
-
|
|
71
|
+
var subtitleFont = __assign(__assign({}, titleFont), { fontWeight: 300 });
|
|
72
|
+
var titleHeight = function (maxLines, textMeasure) {
|
|
73
|
+
return datum.title
|
|
74
|
+
? PADDING +
|
|
75
|
+
(0, wrap_1.wrapText)(datum.title, titleFont, TITLE_FONT_SIZE[size], maxTitlesWidth, maxLines, textMeasure).length *
|
|
76
|
+
TITLE_FONT_SIZE[size] *
|
|
77
|
+
LINE_HEIGHT
|
|
78
|
+
: 0;
|
|
65
79
|
};
|
|
66
|
-
var
|
|
67
|
-
|
|
80
|
+
var subtitleHeight = function (maxLines, textMeasure) {
|
|
81
|
+
return datum.subtitle
|
|
82
|
+
? PADDING +
|
|
83
|
+
(0, wrap_1.wrapText)(datum.subtitle, subtitleFont, SUBTITLE_FONT_SIZE[size], maxTitlesWidth, maxLines, textMeasure)
|
|
84
|
+
.length *
|
|
85
|
+
SUBTITLE_FONT_SIZE[size] *
|
|
86
|
+
LINE_HEIGHT
|
|
87
|
+
: 0;
|
|
88
|
+
};
|
|
89
|
+
var extraHeight = EXTRA_FONT_SIZE[size] * LINE_HEIGHT;
|
|
90
|
+
var valueHeight = VALUE_FONT_SIZE[size] * LINE_HEIGHT + PADDING;
|
|
68
91
|
var responsiveBreakPoints = [
|
|
69
|
-
{
|
|
70
|
-
{
|
|
71
|
-
{
|
|
72
|
-
{
|
|
73
|
-
{
|
|
74
|
-
{
|
|
92
|
+
{ titleMaxLines: 3, subtitleMaxLines: 2, title: !!datum.title, subtitle: !!datum.subtitle, extra: !!datum.extra },
|
|
93
|
+
{ titleMaxLines: 3, subtitleMaxLines: 1, title: !!datum.title, subtitle: !!datum.subtitle, extra: !!datum.extra },
|
|
94
|
+
{ titleMaxLines: 2, subtitleMaxLines: 1, title: !!datum.title, subtitle: !!datum.subtitle, extra: !!datum.extra },
|
|
95
|
+
{ titleMaxLines: 1, subtitleMaxLines: 1, title: !!datum.title, subtitle: !!datum.subtitle, extra: !!datum.extra },
|
|
96
|
+
{ titleMaxLines: 1, subtitleMaxLines: 0, title: !!datum.title, subtitle: false, extra: !!datum.extra },
|
|
97
|
+
{ titleMaxLines: 1, subtitleMaxLines: 0, title: !!datum.title, subtitle: false, extra: false },
|
|
98
|
+
{ titleMaxLines: 1, subtitleMaxLines: 0, title: !!datum.title, subtitle: false, extra: false },
|
|
75
99
|
];
|
|
76
|
-
var isVisible = function (_a) {
|
|
77
|
-
var
|
|
78
|
-
return
|
|
100
|
+
var isVisible = function (_a, measure) {
|
|
101
|
+
var titleMaxLines = _a.titleMaxLines, subtitleMaxLines = _a.subtitleMaxLines, title = _a.title, subtitle = _a.subtitle, extra = _a.extra;
|
|
102
|
+
return (title && titleMaxLines > 0 ? titleHeight(titleMaxLines, measure) : 0) +
|
|
103
|
+
(subtitle && subtitleMaxLines > 0 ? subtitleHeight(subtitleMaxLines, measure) : 0) +
|
|
104
|
+
(extra ? extraHeight : 0) +
|
|
105
|
+
valueHeight <
|
|
79
106
|
panel.height;
|
|
80
107
|
};
|
|
81
|
-
return (
|
|
108
|
+
return (0, canvas_text_bbox_calculator_1.withTextMeasure)(function (textMeasure) {
|
|
109
|
+
var _a, _b, _c;
|
|
110
|
+
var visibilityBreakpoint = (_a = responsiveBreakPoints.find(function (breakpoint) { return isVisible(breakpoint, textMeasure); })) !== null && _a !== void 0 ? _a : responsiveBreakPoints[responsiveBreakPoints.length - 1];
|
|
111
|
+
return __assign(__assign({}, visibilityBreakpoint), { titleLines: (0, wrap_1.wrapText)((_b = datum.title) !== null && _b !== void 0 ? _b : '', titleFont, TITLE_FONT_SIZE[size], maxTitlesWidth, visibilityBreakpoint.titleMaxLines, textMeasure), subtitleLines: (0, wrap_1.wrapText)((_c = datum.subtitle) !== null && _c !== void 0 ? _c : '', subtitleFont, SUBTITLE_FONT_SIZE[size], maxTitlesWidth, visibilityBreakpoint.subtitleMaxLines, textMeasure) });
|
|
112
|
+
});
|
|
82
113
|
}
|
|
83
114
|
function lineClamp(maxLines) {
|
|
84
115
|
return {
|
|
@@ -92,8 +123,8 @@ function lineClamp(maxLines) {
|
|
|
92
123
|
}
|
|
93
124
|
var MetricText = function (_a) {
|
|
94
125
|
var id = _a.id, datum = _a.datum, panel = _a.panel, style = _a.style, onElementClick = _a.onElementClick, highContrastTextColor = _a.highContrastTextColor;
|
|
95
|
-
var
|
|
96
|
-
var size = findRange(WIDTH_BP, panel.width);
|
|
126
|
+
var extra = datum.extra, value = datum.value;
|
|
127
|
+
var size = findRange(WIDTH_BP, panel.width - 16);
|
|
97
128
|
var hasProgressBar = (0, specs_1.isMetricWProgress)(datum);
|
|
98
129
|
var progressBarDirection = (0, specs_1.isMetricWProgress)(datum) ? datum.progressBarDirection : undefined;
|
|
99
130
|
var containerClassName = (0, classnames_1.default)('echMetricText', {
|
|
@@ -102,9 +133,14 @@ var MetricText = function (_a) {
|
|
|
102
133
|
'echMetricText--horizontal': progressBarDirection === common_1.LayoutDirection.Horizontal,
|
|
103
134
|
});
|
|
104
135
|
var visibility = elementVisibility(datum, panel, size);
|
|
105
|
-
var parts = splitNumericSuffixPrefix(datum.valueFormatter(value));
|
|
106
136
|
var titleWidthMaxSize = size === 's' ? '100%' : '80%';
|
|
107
|
-
var
|
|
137
|
+
var titlesWidth = "min(".concat(titleWidthMaxSize, ", calc(").concat(titleWidthMaxSize, " - ").concat(datum.icon ? '24px' : '0px', "))");
|
|
138
|
+
var isNumericalMetric = (0, specs_1.isMetricWNumber)(datum);
|
|
139
|
+
var textParts = isNumericalMetric
|
|
140
|
+
? (0, common_1.isFiniteNumber)(value)
|
|
141
|
+
? splitNumericSuffixPrefix(datum.valueFormatter(value))
|
|
142
|
+
: [{ emphasis: 'normal', text: style.nonFiniteText }]
|
|
143
|
+
: [{ emphasis: 'normal', text: datum.value }];
|
|
108
144
|
return (react_1.default.createElement("div", { className: containerClassName, style: { color: highContrastTextColor } },
|
|
109
145
|
react_1.default.createElement("div", null,
|
|
110
146
|
visibility.title && (react_1.default.createElement("h2", { id: id, className: "echMetricText__title" },
|
|
@@ -112,39 +148,47 @@ var MetricText = function (_a) {
|
|
|
112
148
|
e.stopPropagation();
|
|
113
149
|
onElementClick();
|
|
114
150
|
} },
|
|
115
|
-
react_1.default.createElement("span", { style: __assign(
|
|
151
|
+
react_1.default.createElement("span", { style: __assign({ fontSize: "".concat(TITLE_FONT_SIZE[size], "px"), whiteSpace: 'pre-wrap', width: titlesWidth }, lineClamp(visibility.titleLines.length)), title: datum.title }, datum.title)))),
|
|
116
152
|
datum.icon && (react_1.default.createElement("div", { className: "echMetricText__icon" }, (0, common_1.renderWithProps)(datum.icon, {
|
|
117
153
|
width: ICON_SIZE[size],
|
|
118
154
|
height: ICON_SIZE[size],
|
|
119
155
|
color: highContrastTextColor,
|
|
120
156
|
})))),
|
|
121
|
-
react_1.default.createElement("div", null, visibility.subtitle && (react_1.default.createElement("p", { className: "echMetricText__subtitle", style: __assign({ fontSize: "".concat(SUBTITLE_FONT_SIZE[size], "px") }, lineClamp(visibility.subtitleLines)) }, subtitle))),
|
|
157
|
+
react_1.default.createElement("div", null, visibility.subtitle && (react_1.default.createElement("p", { className: "echMetricText__subtitle", style: __assign({ fontSize: "".concat(SUBTITLE_FONT_SIZE[size], "px"), width: titlesWidth, whiteSpace: 'pre-wrap' }, lineClamp(visibility.subtitleLines.length)), title: datum.subtitle }, datum.subtitle))),
|
|
122
158
|
react_1.default.createElement("div", { className: "echMetricText__gap" }),
|
|
123
159
|
react_1.default.createElement("div", null, visibility.extra && (react_1.default.createElement("p", { className: "echMetricText__extra", style: { fontSize: "".concat(EXTRA_FONT_SIZE[size], "px") } }, extra))),
|
|
124
160
|
react_1.default.createElement("div", null,
|
|
125
|
-
react_1.default.createElement("p", { className: "echMetricText__value", style: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
161
|
+
react_1.default.createElement("p", { className: "echMetricText__value", style: {
|
|
162
|
+
fontSize: "".concat(VALUE_FONT_SIZE[size], "px"),
|
|
163
|
+
textOverflow: isNumericalMetric ? undefined : 'ellipsis',
|
|
164
|
+
}, title: textParts.map(function (_a) {
|
|
165
|
+
var text = _a.text;
|
|
166
|
+
return text;
|
|
167
|
+
}).join('') }, textParts.map(function (_a, i) {
|
|
168
|
+
var emphasis = _a.emphasis, text = _a.text;
|
|
169
|
+
return emphasis === 'small' ? (react_1.default.createElement("span", { key: "".concat(text).concat(i), className: "echMetricText__part", style: { fontSize: "".concat(VALUE_PART_FONT_SIZE[size], "px") } }, text)) : (text);
|
|
170
|
+
})))));
|
|
131
171
|
};
|
|
132
172
|
exports.MetricText = MetricText;
|
|
133
173
|
function splitNumericSuffixPrefix(text) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
174
|
+
return text
|
|
175
|
+
.split('')
|
|
176
|
+
.reduce(function (acc, curr) {
|
|
177
|
+
var emphasis = curr === '.' || curr === ',' || (0, common_1.isFiniteNumber)(Number.parseInt(curr)) ? 'normal' : 'small';
|
|
178
|
+
if (acc.length > 0 && acc[acc.length - 1].emphasis === emphasis) {
|
|
179
|
+
acc[acc.length - 1].textParts.push(curr);
|
|
139
180
|
}
|
|
140
181
|
else {
|
|
141
|
-
acc.push(
|
|
182
|
+
acc.push({ emphasis: emphasis, textParts: [curr] });
|
|
142
183
|
}
|
|
143
184
|
return acc;
|
|
144
|
-
}, [])
|
|
145
|
-
|
|
146
|
-
var
|
|
147
|
-
return
|
|
185
|
+
}, [])
|
|
186
|
+
.map(function (_a) {
|
|
187
|
+
var emphasis = _a.emphasis, textParts = _a.textParts;
|
|
188
|
+
return ({
|
|
189
|
+
emphasis: emphasis,
|
|
190
|
+
text: textParts.join(''),
|
|
191
|
+
});
|
|
148
192
|
});
|
|
149
193
|
}
|
|
150
194
|
//# sourceMappingURL=text.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../../../../src/chart_types/metric/renderer/dom/text.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,0DAAoC;AACpC,gDAA6C;AAG7C,mDAA4F;
|
|
1
|
+
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../../../../src/chart_types/metric/renderer/dom/text.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,0DAAoC;AACpC,gDAA6C;AAG7C,wFAAkF;AAElF,kGAAkG;AAClG,mDAA4F;AAE5F,oDAAuD;AAEvD,qCAA8E;AAI9E,IAAM,QAAQ,GAAmC;IAC/C,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC;IACb,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACf,CAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,CAAC;CACrB,CAAC;AAEF,IAAM,OAAO,GAAG,CAAC,CAAC;AAClB,IAAM,WAAW,GAAG,GAAG,CAAC;AACxB,IAAM,SAAS,GAA+B,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;AACtE,IAAM,eAAe,GAA+B,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;AAC5E,IAAM,kBAAkB,GAA+B,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;AAC/E,IAAM,eAAe,GAA+B,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;AAC5E,IAAM,eAAe,GAA+B,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;AAC5E,IAAM,oBAAo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,IAAA,uBAAc,EAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC;QAC5G,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,EAAE;YAC/D,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC1C;aAAM;YACL,GAAG,CAAC,IAAI,CAAC,EAAE,QAAQ,UAAA,EAAE,SAAS,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;SAC3C;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC;SACL,GAAG,CAAC,UAAC,EAAuB;YAArB,QAAQ,cAAA,EAAE,SAAS,eAAA;QAAO,OAAA,CAAC;YACjC,QAAQ,UAAA;YACR,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;SACzB,CAAC;IAHgC,CAGhC,CAAC,CAAC;AACR,CAAC"}
|
|
@@ -7,8 +7,6 @@ import { SpecType } from '../../../specs/constants';
|
|
|
7
7
|
import { LayoutDirection } from '../../../utils/common';
|
|
8
8
|
/** @alpha */
|
|
9
9
|
export declare type MetricBase = {
|
|
10
|
-
value: number;
|
|
11
|
-
valueFormatter: (d: number) => string;
|
|
12
10
|
color: Color;
|
|
13
11
|
title?: string;
|
|
14
12
|
subtitle?: string;
|
|
@@ -20,9 +18,18 @@ export declare type MetricBase = {
|
|
|
20
18
|
}>;
|
|
21
19
|
};
|
|
22
20
|
/** @alpha */
|
|
23
|
-
export declare type
|
|
21
|
+
export declare type MetricWText = MetricBase & {
|
|
22
|
+
value: string;
|
|
23
|
+
};
|
|
24
|
+
/** @alpha */
|
|
25
|
+
export declare type MetricWNumber = MetricBase & {
|
|
26
|
+
value: number;
|
|
27
|
+
valueFormatter: (d: number) => string;
|
|
28
|
+
};
|
|
29
|
+
/** @alpha */
|
|
30
|
+
export declare type MetricWProgress = MetricWNumber & {
|
|
24
31
|
domainMax: number;
|
|
25
|
-
progressBarDirection
|
|
32
|
+
progressBarDirection: LayoutDirection;
|
|
26
33
|
};
|
|
27
34
|
/** @alpha */
|
|
28
35
|
export declare const MetricTrendShape: Readonly<{
|
|
@@ -32,20 +39,22 @@ export declare const MetricTrendShape: Readonly<{
|
|
|
32
39
|
/** @alpha */
|
|
33
40
|
export declare type MetricTrendShape = $Values<typeof MetricTrendShape>;
|
|
34
41
|
/** @alpha */
|
|
35
|
-
export declare type MetricWTrend =
|
|
42
|
+
export declare type MetricWTrend = MetricWNumber & {
|
|
36
43
|
trend: {
|
|
37
44
|
x: number;
|
|
38
45
|
y: number;
|
|
39
46
|
}[];
|
|
40
|
-
trendShape
|
|
47
|
+
trendShape: MetricTrendShape;
|
|
41
48
|
trendA11yTitle?: string;
|
|
42
49
|
trendA11yDescription?: string;
|
|
43
50
|
};
|
|
44
51
|
/** @alpha */
|
|
52
|
+
export declare type MetricDatum = MetricWNumber | MetricWText | MetricWProgress | MetricWTrend;
|
|
53
|
+
/** @alpha */
|
|
45
54
|
export interface MetricSpec extends Spec {
|
|
46
55
|
specType: typeof SpecType.Series;
|
|
47
56
|
chartType: typeof ChartType.Metric;
|
|
48
|
-
data: (
|
|
57
|
+
data: (MetricDatum | undefined)[][];
|
|
49
58
|
}
|
|
50
59
|
/** @alpha */
|
|
51
60
|
export declare const Metric: import("react").FC<import("../../../state/spec_factory").SFProps<MetricSpec, "chartType" | "specType", "data", never, "id">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/chart_types/metric/specs/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,OAA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b,oBAAY,aAAa,GAAG,UAAU,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC,CAAC;AAEF,aAAa;AACb,oBAAY,eAAe,GAAG,aAAa,GAAG;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,eAAe,CAAC;CACvC,CAAC;AAEF,aAAa;AACb,eAAO,MAAM,gBAAgB;;;EAG3B,CAAC;AAEH,aAAa;AACb,oBAAY,gBAAgB,GAAG,OAAO,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,aAAa;AACb,oBAAY,YAAY,GAAG,aAAa,GAAG;IACzC,KAAK,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAClC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,aAAa;AACb,oBAAY,WAAW,GAAG,aAAa,GAAG,WAAW,GAAG,eAAe,GAAG,YAAY,CAAC;AAEvF,aAAa;AACb,MAAM,WAAW,UAAW,SAAQ,IAAI;IACtC,QAAQ,EAAE,OAAO,QAAQ,CAAC,MAAM,CAAC;IACjC,SAAS,EAAE,OAAO,SAAS,CAAC,MAAM,CAAC;IACnC,IAAI,EAAE,CAAC,WAAW,GAAG,SAAS,CAAC,EAAE,EAAE,CAAC;CACrC;AAED,aAAa;AACb,eAAO,MAAM,MAAM,8HAQlB,CAAC;AAEF,aAAa;AACb,oBAAY,eAAe,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isMetricWTrend = exports.isMetricWProgress = exports.Metric = exports.MetricTrendShape = void 0;
|
|
3
|
+
exports.isMetricWTrend = exports.isMetricWProgress = exports.isMetricWNumber = exports.Metric = exports.MetricTrendShape = void 0;
|
|
4
4
|
var __1 = require("../..");
|
|
5
5
|
var constants_1 = require("../../../specs/constants");
|
|
6
6
|
var spec_factory_1 = require("../../../state/spec_factory");
|
|
@@ -14,12 +14,16 @@ exports.Metric = (0, spec_factory_1.specComponentFactory)()({
|
|
|
14
14
|
}, {
|
|
15
15
|
data: [],
|
|
16
16
|
});
|
|
17
|
+
function isMetricWNumber(datum) {
|
|
18
|
+
return typeof datum.value === 'number' && datum.hasOwnProperty('valueFormatter');
|
|
19
|
+
}
|
|
20
|
+
exports.isMetricWNumber = isMetricWNumber;
|
|
17
21
|
function isMetricWProgress(datum) {
|
|
18
|
-
return datum.hasOwnProperty('domainMax') && !datum.hasOwnProperty('trend');
|
|
22
|
+
return isMetricWNumber(datum) && datum.hasOwnProperty('domainMax') && !datum.hasOwnProperty('trend');
|
|
19
23
|
}
|
|
20
24
|
exports.isMetricWProgress = isMetricWProgress;
|
|
21
25
|
function isMetricWTrend(datum) {
|
|
22
|
-
return datum.hasOwnProperty('trend') && !datum.hasOwnProperty('domainMax');
|
|
26
|
+
return isMetricWNumber(datum) && datum.hasOwnProperty('trend') && !datum.hasOwnProperty('domainMax');
|
|
23
27
|
}
|
|
24
28
|
exports.isMetricWTrend = isMetricWTrend;
|
|
25
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chart_types/metric/specs/index.ts"],"names":[],"mappings":";;;AAWA,2BAAkC;AAGlC,sDAAoD;AACpD,4DAAmE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/chart_types/metric/specs/index.ts"],"names":[],"mappings":";;;AAWA,2BAAkC;AAGlC,sDAAoD;AACpD,4DAAmE;AA8BtD,QAAA,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,MAAe;IACrB,IAAI,EAAE,MAAe;CACtB,CAAC,CAAC;AAwBU,QAAA,MAAM,GAAG,IAAA,mCAAoB,GAAc,CACtD;IACE,SAAS,EAAE,aAAS,CAAC,MAAM;IAC3B,QAAQ,EAAE,oBAAQ,CAAC,MAAM;CAC1B,EACD;IACE,IAAI,EAAE,EAAE;CACT,CACF,CAAC;AAMF,SAAgB,eAAe,CAAC,KAAkB;IAChD,OAAO,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC;AACnF,CAAC;AAFD,0CAEC;AAGD,SAAgB,iBAAiB,CAAC,KAAkB;IAClD,OAAO,eAAe,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AACvG,CAAC;AAFD,8CAEC;AAGD,SAAgB,cAAc,CAAC,KAAkB;IAC/C,OAAO,eAAe,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AACvG,CAAC;AAFD,wCAEC"}
|
|
@@ -2,5 +2,5 @@ export { AreaSeries, AreaSeriesProps, Axis, AxisProps, BarSeries, BarSeriesProps
|
|
|
2
2
|
export * from './xy_chart/utils/specs';
|
|
3
3
|
export { Partition } from './partition_chart/specs';
|
|
4
4
|
export { Heatmap, HeatmapSpec, RasterTimeScale, TimeScale, LinearScale, OrdinalScale } from './heatmap/specs';
|
|
5
|
-
export { Metric, MetricSpecProps, MetricSpec, MetricBase, MetricWProgress, MetricWTrend, MetricTrendShape, } from './metric/specs';
|
|
5
|
+
export { Metric, MetricSpecProps, MetricSpec, MetricBase, MetricWText, MetricWNumber, MetricWProgress, MetricWTrend, MetricTrendShape, MetricDatum, } from './metric/specs';
|
|
6
6
|
//# sourceMappingURL=specs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specs.d.ts","sourceRoot":"","sources":["../../src/chart_types/specs.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,UAAU,EACV,eAAe,EACf,IAAI,EACJ,SAAS,EACT,SAAS,EACT,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,cAAc,EACd,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAE1B,cAAc,wBAAwB,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE9G,OAAO,EACL,MAAM,EACN,eAAe,EACf,UAAU,EACV,UAAU,EACV,eAAe,EACf,YAAY,EACZ,gBAAgB,
|
|
1
|
+
{"version":3,"file":"specs.d.ts","sourceRoot":"","sources":["../../src/chart_types/specs.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,UAAU,EACV,eAAe,EACf,IAAI,EACJ,SAAS,EACT,SAAS,EACT,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,cAAc,EACd,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAE1B,cAAc,wBAAwB,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE9G,OAAO,EACL,MAAM,EACN,eAAe,EACf,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,WAAW,GACZ,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specs.js","sourceRoot":"","sources":["../../src/chart_types/specs.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAQA,0CAiB0B;AAhBxB,mGAAA,UAAU,OAAA;AAEV,6FAAA,IAAI,OAAA;AAEJ,kGAAA,SAAS,OAAA;AAET,qGAAA,YAAY,OAAA;AAEZ,2GAAA,kBAAkB,OAAA;AAElB,uGAAA,cAAc,OAAA;AAEd,mGAAA,UAAU,OAAA;AAEV,uGAAA,cAAc,OAAA;AAIhB,yDAAuC;AAEvC,iDAAoD;AAA3C,kGAAA,SAAS,OAAA;AAElB,yCAA8G;AAArG,gGAAA,OAAO,OAAA;AAEhB,
|
|
1
|
+
{"version":3,"file":"specs.js","sourceRoot":"","sources":["../../src/chart_types/specs.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAQA,0CAiB0B;AAhBxB,mGAAA,UAAU,OAAA;AAEV,6FAAA,IAAI,OAAA;AAEJ,kGAAA,SAAS,OAAA;AAET,qGAAA,YAAY,OAAA;AAEZ,2GAAA,kBAAkB,OAAA;AAElB,uGAAA,cAAc,OAAA;AAEd,mGAAA,UAAU,OAAA;AAEV,uGAAA,cAAc,OAAA;AAIhB,yDAAuC;AAEvC,iDAAoD;AAA3C,kGAAA,SAAS,OAAA;AAElB,yCAA8G;AAArG,gGAAA,OAAO,OAAA;AAEhB,wCAWwB;AAVtB,+FAAA,MAAM,OAAA;AAQN,yGAAA,gBAAgB,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specs.js","sourceRoot":"","sources":["../../../../src/chart_types/xy_chart/utils/specs.ts"],"names":[],"mappings":";;;AAiDa,QAAA,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,MAAe;IACrB,GAAG,EAAE,KAAc;IACnB,IAAI,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107
107
|
/** @public */
|
|
108
|
-
export declare const settingsBuildProps: import("../state/spec_factory").BuildProps<SettingsSpec, "id" | "chartType" | "specType", "rotation" | "debug" | "externalPointerEvents" | "ariaLabelHeadingLevel" | "ariaUseDefaultSummary" | "legendPosition" | "legendMaxDepth" | "legendSize" | "showLegend" | "showLegendExtra" | "baseTheme" | "rendering" | "animateData" | "resizeDebounce" | "pointerUpdateTrigger" | "brushAxis" | "minBrushDelta" | "allowBrushingLastHistogramBin", "ariaLabel" | "tooltip" | "ariaDescription" | "ariaDescribedBy" | "ariaLabelledBy" | "ariaTableCaption" | "onElementOver" | "onElementClick" | "onElementOut" | "onRenderChange" | "
|
|
108
|
+
export declare const settingsBuildProps: import("../state/spec_factory").BuildProps<SettingsSpec, "id" | "chartType" | "specType", "rotation" | "debug" | "externalPointerEvents" | "ariaLabelHeadingLevel" | "ariaUseDefaultSummary" | "legendPosition" | "legendMaxDepth" | "legendSize" | "showLegend" | "showLegendExtra" | "baseTheme" | "rendering" | "animateData" | "resizeDebounce" | "pointerUpdateTrigger" | "brushAxis" | "minBrushDelta" | "allowBrushingLastHistogramBin", "ariaLabel" | "tooltip" | "ariaDescription" | "ariaDescribedBy" | "ariaLabelledBy" | "ariaTableCaption" | "onElementOver" | "onElementClick" | "onElementOut" | "onRenderChange" | "theme" | "xDomain" | "flatLegend" | "legendAction" | "legendColorPicker" | "legendStrategy" | "onLegendItemClick" | "onLegendItemMinusClick" | "onLegendItemOut" | "onLegendItemOver" | "onLegendItemPlusClick" | "orderOrdinalBinsBy" | "debugState" | "onProjectionClick" | "pointBuffer" | "onBrushEnd" | "onPointerUpdate" | "onProjectionAreaChange" | "onAnnotationClick" | "pointerUpdateDebounce" | "roundHistogramBrushValues" | "noResults" | "legendSort", never>;
|
|
109
109
|
/** @public */
|
|
110
110
|
export declare const DEFAULT_SETTINGS_SPEC: SettingsSpec;
|
|
111
111
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/theme.scss
CHANGED
|
@@ -632,6 +632,7 @@ $legendItemHeight: #{$euiFontSizeXS * $euiLineHeight};
|
|
|
632
632
|
font-weight: 600;
|
|
633
633
|
text-align: right;
|
|
634
634
|
white-space: nowrap;
|
|
635
|
+
overflow: hidden;
|
|
635
636
|
}
|
|
636
637
|
|
|
637
638
|
&__part {
|
|
@@ -783,5 +784,13 @@ $legendItemHeight: #{$euiFontSizeXS * $euiLineHeight};
|
|
|
783
784
|
}
|
|
784
785
|
}
|
|
785
786
|
|
|
787
|
+
.echMetricEmpty {
|
|
788
|
+
position: absolute;
|
|
789
|
+
bottom: 9px;
|
|
790
|
+
right: 11px;
|
|
791
|
+
width: 20px;
|
|
792
|
+
border-bottom: 1px solid;
|
|
793
|
+
}
|
|
794
|
+
|
|
786
795
|
|
|
787
796
|
|
package/dist/theme_dark.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:none;vertical-align:baseline}h1,h2,h3,h4,h5,h6,p{font-family:inherit;font-weight:inherit;font-size:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}a[href],button,[role=button]{cursor:pointer}button{background:none;border:none;padding:0;margin:0;color:inherit;border-radius:0;font-size:inherit}input{margin:0;padding:0}input:disabled{opacity:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:""}hr{margin:0}fieldset{min-inline-size:auto}svg text{letter-spacing:normal !important}.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);border-radius:6px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:1rem;line-height:1.7142857143rem;padding:12px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px;background-color:#1d1e24;color:#dfe5ef;overflow:hidden}.echTooltip>:not(:last-child){border-bottom:solid 1px #343741}.echTooltip .euiTable{background-color:transparent}.echTooltip .euiTableFooterCell,.echTooltip .euiTableHeaderCell,.echTooltip .euiTableRowCell{color:#fff}.echTooltip__list--scrollable{overflow-y:auto;pointer-events:auto}.echTooltip__divider{border-bottom:solid 1px #343741}.echTooltip__metricRow{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.echTooltip__header{font-weight:700;margin-bottom:0;padding:4px 8px}.echTooltip__footer{font-weight:700;border-top:solid 1px #343741;margin-top:0;padding:4px 8px}.echTooltip__stickyAction{color:#69707d;padding:8px;margin-left:5px}.echTooltip__table{width:100%}.echTooltip__table--scrollable{overflow-y:auto;pointer-events:auto}.echTooltip__tableHeader{font-weight:700;margin-bottom:0;border-bottom:solid 1px #343741}.echTooltip__tableCell:not(.echTooltip__colorCell){padding:4px}.echTooltip__tableBody td:not(.echTooltip__colorCell){padding:2px 4px}.echTooltip__tableFooter{border-top:solid 1px #343741;font-weight:700;margin-top:0}.echTooltip__tableRow{position:relative}.echTooltip__tableRow--highlighted{background-color:rgba(52,55,65,.5)}.echTooltip__colorCell{padding:0;height:100%;position:relative}.echTooltip__colorCell--empty{width:0}.echTooltip__colorStrip{position:absolute;top:0;left:0;bottom:0;width:5px;min-width:5px;max-width:8px;-webkit-transition:width 200ms;transition:width 200ms}.echTooltip__colorStripSpacer{width:8px}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left}.echTooltip__value{text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.echTooltip[dir=rtl] .echTooltip__colorStrip{left:auto;right:0}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:rgba(54,162,239,.2)}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(152,162,179,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(54,162,239,.2);border-radius:3px}.echLegend .echLegendListContainer :focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus:not(:focus-visible){outline:none}.echLegendItem{color:#dfe5ef;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#25262e}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#98a2b3}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;color:#98a2b3}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(29,30,36,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px}.echAnnotation__marker{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric:focus-within button{outline:none}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--small{padding-left:10px}.echMetric--horizontal.echMetric--small{padding-bottom:10px}.echMetricText{position:relative;padding:8px;height:100%;z-index:1;display:grid;grid-template-columns:100%;grid-template-rows:-webkit-min-content -webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content auto min-content min-content;text-align:left;line-height:1.2}.echMetricText__title{font-weight:400;word-wrap:break-word}.echMetricText__title button{width:100%;text-align:left}.echMetricText__icon{position:absolute;right:8px;top:8px}.echMetricText__subtitle{padding-top:5px;font-weight:300;text-align:left}.echMetricText__extra{text-align:right;font-weight:400}.echMetricText__value{position:relative;font-weight:600;text-align:right;white-space:nowrap}.echMetricText__part{font-weight:400}.echMetricText__gap{position:relative}.echSingleMetricProgress{position:absolute;overflow:hidden}.echSingleMetricProgress--vertical{left:0;right:0;top:0;bottom:0;height:100%;width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:10px}.echSingleMetricProgress--horizontal{left:0;right:0;width:100%;top:0;bottom:0;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:10px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}
|
|
1
|
+
*,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:none;vertical-align:baseline}h1,h2,h3,h4,h5,h6,p{font-family:inherit;font-weight:inherit;font-size:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}a[href],button,[role=button]{cursor:pointer}button{background:none;border:none;padding:0;margin:0;color:inherit;border-radius:0;font-size:inherit}input{margin:0;padding:0}input:disabled{opacity:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:""}hr{margin:0}fieldset{min-inline-size:auto}svg text{letter-spacing:normal !important}.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);border-radius:6px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;padding:8px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px;background-color:#1d1e24;color:#dfe5ef;overflow:hidden}.echTooltip .euiHorizontalRule{background-color:#333}.echTooltip>:not(:last-child){border-bottom:solid 1px #343741}.echTooltip .euiTable{background-color:transparent}.echTooltip .euiTableFooterCell,.echTooltip .euiTableHeaderCell,.echTooltip .euiTableRowCell{color:#fff}.echTooltip__list--scrollable{overflow-y:auto;pointer-events:auto}.echTooltip__divider{border-bottom:solid 1px #343741}.echTooltip__metricRow{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.echTooltip__header{font-weight:700;margin-bottom:0;padding:4px 8px}.echTooltip__footer{font-weight:700;border-top:solid 1px #343741;margin-top:0;padding:4px 8px}.echTooltip__stickyAction{color:#69707d;padding:8px;margin-left:5px}.echTooltip__table{width:100%}.echTooltip__table--scrollable{overflow-y:auto;pointer-events:auto}.echTooltip__tableHeader{font-weight:700;margin-bottom:0;border-bottom:solid 1px #343741}.echTooltip__tableCell:not(.echTooltip__colorCell){padding:4px}.echTooltip__tableBody td:not(.echTooltip__colorCell){padding:2px 4px}.echTooltip__tableFooter{border-top:solid 1px #343741;font-weight:700;margin-top:0}.echTooltip__tableRow{position:relative}.echTooltip__tableRow--highlighted{background-color:rgba(52,55,65,.5)}.echTooltip__colorCell{padding:0;height:100%;position:relative}.echTooltip__colorCell--empty{width:0}.echTooltip__colorStrip{position:absolute;top:0;left:0;bottom:0;width:5px;min-width:5px;max-width:8px;-webkit-transition:width 200ms;transition:width 200ms}.echTooltip__colorStripSpacer{width:8px}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left}.echTooltip__value{text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.echTooltip[dir=rtl] .echTooltip__colorStrip{left:auto;right:0}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:rgba(54,162,239,.2)}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(152,162,179,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(54,162,239,.2);border-radius:3px}.echLegend .echLegendListContainer :focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus:not(:focus-visible){outline:none}.echLegendItem{color:#dfe5ef;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#25262e}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#98a2b3}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;color:#98a2b3}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(29,30,36,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px}.echAnnotation__marker{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric:focus-within button{outline:none}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--small{padding-left:10px}.echMetric--horizontal.echMetric--small{padding-bottom:10px}.echMetricEmpty{position:absolute;bottom:9px;right:11px;width:20px;border-bottom:1px solid}.echMetricText{position:relative;padding:8px;height:100%;z-index:1;display:grid;grid-template-columns:100%;grid-template-rows:-webkit-min-content -webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content auto min-content min-content;text-align:left;line-height:1.2}.echMetricText__title{font-weight:400;word-wrap:break-word}.echMetricText__title button{width:100%;text-align:left}.echMetricText__icon{position:absolute;right:8px;top:8px}.echMetricText__subtitle{padding-top:5px;font-weight:300;text-align:left}.echMetricText__extra{text-align:right;font-weight:400}.echMetricText__value{position:relative;font-weight:600;text-align:right;white-space:nowrap;overflow:hidden}.echMetricText__part{font-weight:400}.echMetricText__gap{position:relative}.echSingleMetricProgress{position:absolute;overflow:hidden}.echSingleMetricProgress--vertical{left:0;right:0;top:0;bottom:0;height:100%;width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:10px}.echSingleMetricProgress--horizontal{left:0;right:0;width:100%;top:0;bottom:0;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:10px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}
|
package/dist/theme_dark.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../src/_reset.scss","../src/components/_global.scss","../src/components/_container.scss","../src/components/brush/_brush.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_shadow.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_tool_tip.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_tool_tip.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_z_index.scss","../../../node_modules/@elastic/eui/src/
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/_reset.scss","../src/components/_global.scss","../src/components/_container.scss","../src/components/brush/_brush.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_shadow.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_tool_tip.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_tool_tip.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_z_index.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_size.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_typography.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography.scss","../src/components/tooltip/_tooltip.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/_colors_dark.scss","../../../node_modules/@elastic/eui/src/global_styling/variables/_font_weight.scss","../src/components/_mixins.scss","../src/components/portal/_portal.scss","../src/components/icons/_icon.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/variables/_states.scss","../src/components/legend/_legend.scss","../src/components/legend/_variables.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_helpers.scss","../../../node_modules/@elastic/eui/src/themes/amsterdam/global_styling/mixins/_states.scss","../src/components/legend/_legend_item.scss","../../../node_modules/@elastic/eui/src/global_styling/mixins/_typography.scss","../src/components/_unavailable_chart.scss","../src/chart_types/xy_chart/renderer/dom/_highlighter.scss","../src/chart_types/xy_chart/renderer/dom/_crosshair.scss","../src/chart_types/xy_chart/renderer/dom/_screen_reader.scss","../src/chart_types/xy_chart/renderer/dom/annotations/_annotations.scss","../src/chart_types/partition_chart/renderer/_index.scss","../src/chart_types/metric/renderer/_index.scss","../src/chart_types/metric/renderer/dom/_text.scss","../src/chart_types/metric/renderer/dom/_progress.scss","../src/chart_types/metric/renderer/dom/_sparkline.scss"],"names":[],"mappings":"AAIA,mBACE,sBAEF,2ZAaE,SACA,UACA,YACA,wBAEF,oBACE,oBACA,oBACA,kBAGF,8EAEE,cAEF,6BAGE,eAEF,OACE,gBACA,YACA,UACA,SACA,cACA,gBACA,kBAEF,MACE,SACA,UAEF,eACE,UAEF,MAEE,gBAEF,aAEE,YAEF,oDAIE,WAEF,GACE,SAEF,SACE,qBAKF,SACE,iCChFF,gBACE,kBACA,oBACA,gBACA,QACA,SACA,kBAGF,oBACE,kBACA,MACA,SACA,OACA,QCdF,UACE,kBACA,aACA,YAEA,kBACE,sBAIJ,cACE,OACA,kBACA,gBAGF,0BACE,kBACA,MACA,SACA,QACA,OACA,sBACA,iBAGF,iBACE,kBACA,kBACA,SACA,MACA,OACA,QACA,sBCjCF,cACE,kBACA,MACA,OACA,SACA,UACA,sBACA,gBACA,gCCqCA,WACE,kHC5CF,cCFgB,IDGhB,iBEH0B,KFI1B,WACA,QGkBW,KHjBX,gBACA,yBACA,QILY,ICqBV,UCfc,KDgBd,0BAOF,4BErBA,UACA,yBACA,oBACA,iBACA,gBACA,iBCCmB,cAaN,QDZb,gBPRA,+BACE,iB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GA,6CAGE,OAde,KAiBjB,iDACE,YdnBU,IcqBV,uFACE,adtBQ,Ic0BZ,2CACE,ad3BU,Ic6BV,iFACE,Yd9BQ,IcmCV,4EACE,eAIJ,iCACE,iBVzBoB,QU4BtB,2BACE,kBACA,MACA,QACA,SACA,OACA,WAGF,uBACE,eACA,aACA,uBACA,mBACA,OAzDe,KA0Df,2BAEA,uIAIE,YACA,WAIJ,sBACE,aACA,gBACA,mBAGF,sBbtDE,UCfc,KDgBd,0BAOF,4BagDE,cACA,gBACA,wBACA,qBACA,mBRnFF,yBACA,qBACA,qBACA,sBACA,aACA,gBACA,cQgFE,kCCuDF,eACA,2BACA,kCACA,8BDrDE,yCACE,oBACA,4BACA,qBAGF,uCACE,eACA,0BAIJ,sBbhFE,UCfc,KDgBd,0BAOF,4Ba0EE,iBACA,cACA,Yd1GU,Ic2GV,6BACA,qBACA,cAGF,yBACE,gBACA,mBAEA,uCACE,eAGF,qCACE,eACA,kBAIJ,uBACE,MV5GgB,QUiHd,8CACE,iBEvIR,4BACE,aACA,mBACA,uBACA,WACA,YfmBE,UCfc,KDgBd,0BAOF,4BezBA,MZckB,QarBpB,gBACE,kBACA,oBACA,MACA,SACA,OACA,QACA,WACA,YAGF,6BACE,0BAGF,+BACE,4BAGF,sBACE,uBCpBF,6DAGE,kBACA,MACA,OACA,oBCNF,qBACE,kBACA,cACA,SACA,UACA,WACA,gBAGF,0BACE,kBACA,iBACA,mBACA,oBACA,sBACA,uBACA,yBACA,gCACA,0FAGE,sBACA,eAIJ,sBACE,gBACA,gBC5BF,eACE,UACA,yBACA,oBACA,iBACA,gBAEA,uBACE,kBACA,iBACA,UlBDc,KkBEd,YfJwB,IeO1B,wBACE,gBAGF,qBACE,kBAGF,qBACE,mBCvBJ,mBACE,kBACA,MACA,OACA,UACA,SACA,SACA,uBCPF,oBACE,aACA,WACA,YACA,oBACA,wBACA,oBACA,iBAGF,WACE,kBACA,WACA,YACA,gBACA,4CAEA,+BACE,kBACA,MACA,OACA,QACA,SACA,oBAIA,4CACE,aACA,sBAIJ,+BACE,aAGF,wBACE,+BAGF,yBACE,gCAIA,sCACE,kBAKF,wCACE,oBAKN,gBACE,kBACA,WACA,WACA,WACA,wBCtDF,eACE,kBACA,YACA,YACA,UACA,aACA,2BACA,wEACA,gBACA,gBACA,sBACE,gBACA,qBACA,6BACE,WACA,gBAGJ,qBACE,kBACA,UACA,QAGF,yBACE,gBACA,gBACA,gBAGF,sBACE,iBACA,gBAGF,sBACE,kBACA,gBACA,iBACA,mBACA,gBAGF,qBACE,gBAGF,oBACE,kBCzDJ,yBACE,kBACA,gBAEA,mCACE,OACA,QACA,MACA,SACA,YACA,WACA,kEACE,WACA,WAIJ,qCACE,OACA,QACA,WACA,MACA,SACA,YACA,oEACE,SACA,YAKN,4BACE,4CACA,sCACE,kBACA,OACA,QACA,SACA,WAEF,wCACE,kBACA,MACA,SACA,OACA,YC7CJ,0BACE,kBACA,gBACA,MACA,SACA,OACA,QAGF,+BACE,kBACA,MACA,SACA,OACA,QACA,WACA,YACA,wEAEE,gCAIJ,6BACE,kBACA,SACA,UACA,SACA,QACA,YACA","file":"theme_dark.css"}
|
package/dist/theme_light.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:none;vertical-align:baseline}h1,h2,h3,h4,h5,h6,p{font-family:inherit;font-weight:inherit;font-size:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}a[href],button,[role=button]{cursor:pointer}button{background:none;border:none;padding:0;margin:0;color:inherit;border-radius:0;font-size:inherit}input{margin:0;padding:0}input:disabled{opacity:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:""}hr{margin:0}fieldset{min-inline-size:auto}svg text{letter-spacing:normal !important}.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);border-radius:6px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:1rem;line-height:1.7142857143rem;padding:12px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px;background-color:#fff;color:#343741;overflow:hidden}.echTooltip>:not(:last-child){border-bottom:solid 1px #d3dae6}.echTooltip .euiTable{background-color:transparent}.echTooltip .euiTableFooterCell,.echTooltip .euiTableHeaderCell,.echTooltip .euiTableRowCell{color:#fff}.echTooltip__list--scrollable{overflow-y:auto;pointer-events:auto}.echTooltip__divider{border-bottom:solid 1px #d3dae6}.echTooltip__metricRow{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.echTooltip__header{font-weight:700;margin-bottom:0;padding:4px 8px}.echTooltip__footer{font-weight:700;border-top:solid 1px #d3dae6;margin-top:0;padding:4px 8px}.echTooltip__stickyAction{color:#69707d;padding:8px;margin-left:5px}.echTooltip__table{width:100%}.echTooltip__table--scrollable{overflow-y:auto;pointer-events:auto}.echTooltip__tableHeader{font-weight:700;margin-bottom:0;border-bottom:solid 1px #d3dae6}.echTooltip__tableCell:not(.echTooltip__colorCell){padding:4px}.echTooltip__tableBody td:not(.echTooltip__colorCell){padding:2px 4px}.echTooltip__tableFooter{border-top:solid 1px #d3dae6;font-weight:700;margin-top:0}.echTooltip__tableRow{position:relative}.echTooltip__tableRow--highlighted{background-color:rgba(211,218,230,.5)}.echTooltip__colorCell{padding:0;height:100%;position:relative}.echTooltip__colorCell--empty{width:0}.echTooltip__colorStrip{position:absolute;top:0;left:0;bottom:0;width:5px;min-width:5px;max-width:8px;-webkit-transition:width 200ms;transition:width 200ms}.echTooltip__colorStripSpacer{width:8px}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left}.echTooltip__value{text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.echTooltip[dir=rtl] .echTooltip__colorStrip{left:auto;right:0}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:rgba(0,119,204,.1)}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(105,112,125,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(0,119,204,.1);border-radius:3px}.echLegend .echLegendListContainer :focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus:not(:focus-visible){outline:none}.echLegendItem{color:#343741;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#f5f7fa}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#69707d}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;color:#69707d}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(255,255,255,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px}.echAnnotation__marker{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric:focus-within button{outline:none}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--small{padding-left:10px}.echMetric--horizontal.echMetric--small{padding-bottom:10px}.echMetricText{position:relative;padding:8px;height:100%;z-index:1;display:grid;grid-template-columns:100%;grid-template-rows:-webkit-min-content -webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content auto min-content min-content;text-align:left;line-height:1.2}.echMetricText__title{font-weight:400;word-wrap:break-word}.echMetricText__title button{width:100%;text-align:left}.echMetricText__icon{position:absolute;right:8px;top:8px}.echMetricText__subtitle{padding-top:5px;font-weight:300;text-align:left}.echMetricText__extra{text-align:right;font-weight:400}.echMetricText__value{position:relative;font-weight:600;text-align:right;white-space:nowrap}.echMetricText__part{font-weight:400}.echMetricText__gap{position:relative}.echSingleMetricProgress{position:absolute;overflow:hidden}.echSingleMetricProgress--vertical{left:0;right:0;top:0;bottom:0;height:100%;width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:10px}.echSingleMetricProgress--horizontal{left:0;right:0;width:100%;top:0;bottom:0;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:10px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}
|
|
1
|
+
*,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:none;vertical-align:baseline}h1,h2,h3,h4,h5,h6,p{font-family:inherit;font-weight:inherit;font-size:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}a[href],button,[role=button]{cursor:pointer}button{background:none;border:none;padding:0;margin:0;color:inherit;border-radius:0;font-size:inherit}input{margin:0;padding:0}input:disabled{opacity:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:""}hr{margin:0}fieldset{min-inline-size:auto}svg text{letter-spacing:normal !important}.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);box-shadow:0 1px 5px rgba(0,0,0,.1),0 3.6px 13px rgba(0,0,0,.07),0 8.4px 23px rgba(0,0,0,.06),0 23px 35px rgba(0,0,0,.05);border-radius:6px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;padding:8px;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px;background-color:#fff;color:#343741;overflow:hidden}.echTooltip .euiHorizontalRule{background-color:#595959}.echTooltip>:not(:last-child){border-bottom:solid 1px #d3dae6}.echTooltip .euiTable{background-color:transparent}.echTooltip .euiTableFooterCell,.echTooltip .euiTableHeaderCell,.echTooltip .euiTableRowCell{color:#fff}.echTooltip__list--scrollable{overflow-y:auto;pointer-events:auto}.echTooltip__divider{border-bottom:solid 1px #d3dae6}.echTooltip__metricRow{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.echTooltip__header{font-weight:700;margin-bottom:0;padding:4px 8px}.echTooltip__footer{font-weight:700;border-top:solid 1px #d3dae6;margin-top:0;padding:4px 8px}.echTooltip__stickyAction{color:#69707d;padding:8px;margin-left:5px}.echTooltip__table{width:100%}.echTooltip__table--scrollable{overflow-y:auto;pointer-events:auto}.echTooltip__tableHeader{font-weight:700;margin-bottom:0;border-bottom:solid 1px #d3dae6}.echTooltip__tableCell:not(.echTooltip__colorCell){padding:4px}.echTooltip__tableBody td:not(.echTooltip__colorCell){padding:2px 4px}.echTooltip__tableFooter{border-top:solid 1px #d3dae6;font-weight:700;margin-top:0}.echTooltip__tableRow{position:relative}.echTooltip__tableRow--highlighted{background-color:rgba(211,218,230,.5)}.echTooltip__colorCell{padding:0;height:100%;position:relative}.echTooltip__colorCell--empty{width:0}.echTooltip__colorStrip{position:absolute;top:0;left:0;bottom:0;width:5px;min-width:5px;max-width:8px;-webkit-transition:width 200ms;transition:width 200ms}.echTooltip__colorStripSpacer{width:8px}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left}.echTooltip__value{text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.echTooltip[dir=rtl] .echTooltip__colorStrip{left:auto;right:0}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:rgba(0,119,204,.1)}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(105,112,125,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{outline:2px solid currentColor;outline-offset:1px;background-color:rgba(0,119,204,.1);border-radius:3px}.echLegend .echLegendListContainer :focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus:not(:focus-visible){outline:none}.echLegendItem{color:#343741;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#f5f7fa}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#69707d}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.1428571429rem;color:#69707d}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(255,255,255,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:256px}.echAnnotation__marker{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric:focus-within button{outline:none}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--small{padding-left:10px}.echMetric--horizontal.echMetric--small{padding-bottom:10px}.echMetricEmpty{position:absolute;bottom:9px;right:11px;width:20px;border-bottom:1px solid}.echMetricText{position:relative;padding:8px;height:100%;z-index:1;display:grid;grid-template-columns:100%;grid-template-rows:-webkit-min-content -webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content auto min-content min-content;text-align:left;line-height:1.2}.echMetricText__title{font-weight:400;word-wrap:break-word}.echMetricText__title button{width:100%;text-align:left}.echMetricText__icon{position:absolute;right:8px;top:8px}.echMetricText__subtitle{padding-top:5px;font-weight:300;text-align:left}.echMetricText__extra{text-align:right;font-weight:400}.echMetricText__value{position:relative;font-weight:600;text-align:right;white-space:nowrap;overflow:hidden}.echMetricText__part{font-weight:400}.echMetricText__gap{position:relative}.echSingleMetricProgress{position:absolute;overflow:hidden}.echSingleMetricProgress--vertical{left:0;right:0;top:0;bottom:0;height:100%;width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:10px}.echSingleMetricProgress--horizontal{left:0;right:0;width:100%;top:0;bottom:0;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:10px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}
|