@elastic/charts 65.0.0 → 65.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart_types/metric/renderer/dom/sparkline.js +8 -6
- package/dist/chart_types/metric/renderer/dom/sparkline.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/text.js +1 -1
- package/dist/chart_types/metric/renderer/dom/text.js.map +1 -1
- package/dist/chart_types/partition_chart/layout/viewmodel/hierarchy_of_arrays.js +2 -1
- package/dist/chart_types/partition_chart/layout/viewmodel/hierarchy_of_arrays.js.map +1 -1
- package/dist/chart_types/partition_chart/layout/viewmodel/viewmodel.js +4 -1
- package/dist/chart_types/partition_chart/layout/viewmodel/viewmodel.js.map +1 -1
- package/dist/chart_types/partition_chart/state/selectors/compute_legend.js +4 -2
- package/dist/chart_types/partition_chart/state/selectors/compute_legend.js.map +1 -1
- package/dist/chart_types/xy_chart/legend/legend.js +6 -23
- package/dist/chart_types/xy_chart/legend/legend.js.map +1 -1
- package/dist/chart_types/xy_chart/state/utils/get_legend_values.d.ts +2 -0
- package/dist/chart_types/xy_chart/state/utils/get_legend_values.d.ts.map +1 -0
- package/dist/chart_types/xy_chart/state/utils/{get_last_value.js → get_legend_values.js} +13 -3
- package/dist/chart_types/xy_chart/state/utils/get_legend_values.js.map +1 -0
- package/dist/chart_types/xy_chart/tooltip/tooltip.js +2 -1
- package/dist/chart_types/xy_chart/tooltip/tooltip.js.map +1 -1
- package/dist/common/legend.d.ts +1 -1
- package/dist/common/legend.d.ts.map +1 -1
- package/dist/common/legend.js +24 -2
- package/dist/common/legend.js.map +1 -1
- package/dist/components/chart.d.ts +1 -1
- package/dist/components/legend/label.js +42 -25
- package/dist/components/legend/label.js.map +1 -1
- package/dist/components/legend/legend.js +52 -12
- package/dist/components/legend/legend.js.map +1 -1
- package/dist/components/legend/legend_color_picker.d.ts +2 -0
- package/dist/components/legend/legend_color_picker.d.ts.map +1 -0
- package/dist/components/legend/legend_color_picker.js +42 -0
- package/dist/components/legend/legend_color_picker.js.map +1 -0
- package/dist/components/legend/legend_item.js +48 -103
- package/dist/components/legend/legend_item.js.map +1 -1
- package/dist/components/legend/legend_table/index.d.ts +2 -0
- package/dist/components/legend/legend_table/index.d.ts.map +1 -0
- package/dist/components/legend/legend_table/index.js +6 -0
- package/dist/components/legend/legend_table/index.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_table.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table.js +31 -0
- package/dist/components/legend/legend_table/legend_table.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_body.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_table_body.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_body.js +13 -0
- package/dist/components/legend/legend_table/legend_table_body.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_cell.d.ts +9 -0
- package/dist/components/legend/legend_table/legend_table_cell.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_cell.js +16 -0
- package/dist/components/legend/legend_table/legend_table_cell.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_header.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_table_header.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_header.js +24 -0
- package/dist/components/legend/legend_table/legend_table_header.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_item.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_table_item.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_item.js +75 -0
- package/dist/components/legend/legend_table/legend_table_item.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_row.d.ts +7 -0
- package/dist/components/legend/legend_table/legend_table_row.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_table_row.js +14 -0
- package/dist/components/legend/legend_table/legend_table_row.js.map +1 -0
- package/dist/components/legend/legend_table/legend_value.d.ts +2 -0
- package/dist/components/legend/legend_table/legend_value.d.ts.map +1 -0
- package/dist/components/legend/legend_table/legend_value.js +13 -0
- package/dist/components/legend/legend_table/legend_value.js.map +1 -0
- package/dist/components/legend/types.d.ts +2 -0
- package/dist/components/legend/types.d.ts.map +1 -0
- package/dist/components/legend/types.js +3 -0
- package/dist/components/legend/types.js.map +1 -0
- package/dist/components/legend/utils.js +4 -4
- package/dist/components/legend/utils.js.map +1 -1
- package/dist/components/tooltip/components/tooltip_container.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_container.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_divider.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_divider.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_footer.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_footer.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_header.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_header.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_metric_row.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_metric_row.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_body.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_body.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_cell.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_cell.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_footer.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_footer.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_header.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_header.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_row.d.ts +2 -2
- package/dist/components/tooltip/components/tooltip_table_row.d.ts.map +1 -1
- package/dist/specs/constants.d.ts +1 -1
- package/dist/specs/constants.d.ts.map +1 -1
- package/dist/specs/settings.d.ts +4 -0
- package/dist/specs/settings.d.ts.map +1 -1
- package/dist/specs/settings.js.map +1 -1
- package/dist/state/selectors/get_legend_config_selector.js +2 -1
- package/dist/state/selectors/get_legend_config_selector.js.map +1 -1
- package/dist/state/selectors/get_legend_size.js +14 -8
- package/dist/state/selectors/get_legend_size.js.map +1 -1
- package/dist/state/selectors/get_legend_table_size.d.ts +2 -0
- package/dist/state/selectors/get_legend_table_size.d.ts.map +1 -0
- package/dist/state/selectors/get_legend_table_size.js +79 -0
- package/dist/state/selectors/get_legend_table_size.js.map +1 -0
- package/dist/theme.scss +301 -10
- 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/package.json +5 -1
- package/dist/chart_types/xy_chart/state/utils/get_last_value.d.ts +0 -2
- package/dist/chart_types/xy_chart/state/utils/get_last_value.d.ts.map +0 -1
- package/dist/chart_types/xy_chart/state/utils/get_last_value.js.map +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LegendTableBody = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const legend_table_item_1 = require("./legend_table_item");
|
|
9
|
+
const LegendTableBody = ({ items, ...itemProps }) => {
|
|
10
|
+
return (react_1.default.createElement("div", { role: "rowgroup", className: "echLegendTable__rowgroup" }, items.map((item) => (react_1.default.createElement(legend_table_item_1.LegendListItem, { key: `${item.seriesIdentifiers[0].key}`, item: item, ...itemProps })))));
|
|
11
|
+
};
|
|
12
|
+
exports.LegendTableBody = LegendTableBody;
|
|
13
|
+
//# sourceMappingURL=legend_table_body.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_body.js","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_body.tsx"],"names":[],"mappings":";;;;;;AAQA,kDAA0B;AAE1B,2DAAqD;AAK9C,MAAM,eAAe,GAA8D,CAAC,EAAE,KAAK,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE;IACpH,OAAO,CACL,uCAAK,IAAI,EAAC,UAAU,EAAC,SAAS,EAAC,0BAA0B,IACtD,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,8BAAC,kCAAc,IAAC,GAAG,EAAE,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAE,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,KAAM,SAAS,GAAI,CACxF,CAAC,CACE,CACP,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,eAAe,mBAQ1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
/** @public */
|
|
3
|
+
export type LegendTableCellProps = PropsWithChildren<{
|
|
4
|
+
truncate?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
}>;
|
|
7
|
+
/** @public */
|
|
8
|
+
export declare const LegendTableCell: ({ truncate, className, children }: LegendTableCellProps) => React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=legend_table_cell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_cell.d.ts","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_cell.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,cAAc;AACd,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,cAAc;AACd,eAAO,MAAM,eAAe,sCAA+C,oBAAoB,sBAU9F,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LegendTableCell = void 0;
|
|
7
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const LegendTableCell = ({ truncate = false, className, children }) => {
|
|
10
|
+
const classes = (0, classnames_1.default)('echLegendTable__cell', className, {
|
|
11
|
+
'echLegendTable__cell--truncate': truncate,
|
|
12
|
+
});
|
|
13
|
+
return (react_1.default.createElement("div", { role: "gridcell", className: classes }, children));
|
|
14
|
+
};
|
|
15
|
+
exports.LegendTableCell = LegendTableCell;
|
|
16
|
+
//# sourceMappingURL=legend_table_cell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_cell.js","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_cell.tsx"],"names":[],"mappings":";;;;;;AAQA,4DAAoC;AACpC,kDAAiD;AAS1C,MAAM,eAAe,GAAG,CAAC,EAAE,QAAQ,GAAG,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAwB,EAAE,EAAE;IACjG,MAAM,OAAO,GAAG,IAAA,oBAAU,EAAC,sBAAsB,EAAE,SAAS,EAAE;QAC5D,gCAAgC,EAAE,QAAQ;KAC3C,CAAC,CAAC;IAEH,OAAO,CACL,uCAAK,IAAI,EAAC,UAAU,EAAC,SAAS,EAAE,OAAO,IACpC,QAAQ,CACL,CACP,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,eAAe,mBAU1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_header.d.ts","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_header.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LegendTableHeader = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const legend_table_cell_1 = require("./legend_table_cell");
|
|
9
|
+
const legend_table_row_1 = require("./legend_table_row");
|
|
10
|
+
const legend_value_1 = require("./legend_value");
|
|
11
|
+
const legend_1 = require("../../../common/legend");
|
|
12
|
+
const label_1 = require("../label");
|
|
13
|
+
const LegendTableHeader = ({ hasAction, legendValues, legendTitle = '', isMostlyRTL, labelOptions, }) => {
|
|
14
|
+
return (react_1.default.createElement("div", { role: "rowgroup", className: "echLegendTable__rowgroup echLegendTable__header" },
|
|
15
|
+
react_1.default.createElement(legend_table_row_1.LegendTableRow, { className: "echLegendTable__item echLegendTable__item--vertical", dir: isMostlyRTL ? 'rtl' : 'ltr' },
|
|
16
|
+
react_1.default.createElement(legend_table_cell_1.LegendTableCell, { className: "echLegend__colorWrapper echLegendTable__colorCell" }),
|
|
17
|
+
react_1.default.createElement(legend_table_cell_1.LegendTableCell, null,
|
|
18
|
+
react_1.default.createElement(label_1.NonInteractiveLabel, { label: legendTitle, options: labelOptions })),
|
|
19
|
+
legendValues.map((l) => (react_1.default.createElement(legend_table_cell_1.LegendTableCell, { key: l },
|
|
20
|
+
react_1.default.createElement(legend_value_1.LegendValueComponent, { label: legend_1.legendValueTitlesMap[l] })))),
|
|
21
|
+
hasAction && react_1.default.createElement(legend_table_cell_1.LegendTableCell, null))));
|
|
22
|
+
};
|
|
23
|
+
exports.LegendTableHeader = LegendTableHeader;
|
|
24
|
+
//# sourceMappingURL=legend_table_header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_header.js","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_header.tsx"],"names":[],"mappings":";;;;;;AAQA,kDAA0B;AAE1B,2DAAsD;AACtD,yDAAoD;AACpD,iDAAsD;AACtD,mDAA2E;AAE3E,oCAA+C;AASxC,MAAM,iBAAiB,GAAG,CAAC,EAChC,SAAS,EACT,YAAY,EACZ,WAAW,GAAG,EAAE,EAChB,WAAW,EACX,YAAY,GAOb,EAAE,EAAE;IACH,OAAO,CACL,uCAAK,IAAI,EAAC,UAAU,EAAC,SAAS,EAAC,iDAAiD;QAC9E,8BAAC,iCAAc,IAAC,SAAS,EAAC,qDAAqD,EAAC,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK;YAC9G,8BAAC,mCAAe,IAAC,SAAS,EAAC,mDAAmD,GAAmB;YACjG,8BAAC,mCAAe;gBACd,8BAAC,2BAAmB,IAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,YAAY,GAAI,CAClD;YACjB,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACvB,8BAAC,mCAAe,IAAC,GAAG,EAAE,CAAC;gBACrB,8BAAC,mCAAoB,IAAC,KAAK,EAAE,6BAAoB,CAAC,CAAC,CAAC,GAAI,CACxC,CACnB,CAAC;YACD,SAAS,IAAI,8BAAC,mCAAe,OAAG,CAClB,CACb,CACP,CAAC;AACJ,CAAC,CAAC;AA7BW,QAAA,iBAAiB,qBA6B5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_item.d.ts","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_item.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.LegendListItem = void 0;
|
|
30
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
31
|
+
const react_1 = __importStar(require("react"));
|
|
32
|
+
const legend_table_cell_1 = require("./legend_table_cell");
|
|
33
|
+
const legend_table_row_1 = require("./legend_table_row");
|
|
34
|
+
const legend_value_1 = require("./legend_value");
|
|
35
|
+
const common_1 = require("../../../utils/common");
|
|
36
|
+
const label_1 = require("../label");
|
|
37
|
+
const legend_color_picker_1 = require("../legend_color_picker");
|
|
38
|
+
const legend_item_1 = require("../legend_item");
|
|
39
|
+
const LegendListItem = (props) => {
|
|
40
|
+
const { extraValues, item, legendValues, totalItems, action: Action, positionConfig, labelOptions, isMostlyRTL, onClick, toggleDeselectSeriesAction, onLegendItemMouseOver, onLegendItemMouseOut, hiddenItems, } = props;
|
|
41
|
+
const { color, isSeriesHidden, isItemHidden, seriesIdentifiers, label, path, isToggleable } = item;
|
|
42
|
+
const itemClassNames = (0, classnames_1.default)('echLegendTable__item', 'echLegendTable__item--highlightable', {
|
|
43
|
+
'echLegendTable__item--hidden': isSeriesHidden,
|
|
44
|
+
'echLegendTable__item--vertical': positionConfig.direction === common_1.LayoutDirection.Vertical,
|
|
45
|
+
});
|
|
46
|
+
const legendValueItems = (0, legend_item_1.prepareLegendValues)(item, legendValues, totalItems, extraValues);
|
|
47
|
+
const onLabelToggle = (0, react_1.useCallback)((legendItemId) => (negate) => {
|
|
48
|
+
if (totalItems <= 1 || (!isToggleable && !onClick)) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
if (onClick) {
|
|
52
|
+
onClick(legendItemId);
|
|
53
|
+
}
|
|
54
|
+
if (isToggleable) {
|
|
55
|
+
toggleDeselectSeriesAction(legendItemId, negate);
|
|
56
|
+
}
|
|
57
|
+
}, [onClick, toggleDeselectSeriesAction, isToggleable, totalItems]);
|
|
58
|
+
const { renderItemColor, renderColorPickerPopup } = (0, legend_color_picker_1.useLegendColorPicker)(props);
|
|
59
|
+
if (isItemHidden)
|
|
60
|
+
return null;
|
|
61
|
+
const ActionComponent = Action ? react_1.default.createElement(Action, { series: seriesIdentifiers, color: color, label: label }) : null;
|
|
62
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
63
|
+
react_1.default.createElement(legend_table_row_1.LegendTableRow, { className: itemClassNames, onMouseEnter: () => onLegendItemMouseOver(seriesIdentifiers, path), onMouseLeave: onLegendItemMouseOut, dir: isMostlyRTL ? 'rtl' : 'ltr', "data-ech-series-name": label },
|
|
64
|
+
react_1.default.createElement(legend_table_cell_1.LegendTableCell, { className: "echLegend__colorWrapper echLegendTable__colorCell" }, renderItemColor()),
|
|
65
|
+
react_1.default.createElement(legend_table_cell_1.LegendTableCell, null,
|
|
66
|
+
react_1.default.createElement(label_1.Label, { label: label, options: labelOptions, isToggleable: totalItems > 1 && item.isToggleable, onToggle: onLabelToggle(seriesIdentifiers), isSeriesHidden: isSeriesHidden, totalSeriesCount: totalItems, hiddenSeriesCount: hiddenItems })),
|
|
67
|
+
legendValueItems.map((l, i) => {
|
|
68
|
+
return react_1.default.createElement(legend_table_cell_1.LegendTableCell, { key: (l === null || l === void 0 ? void 0 : l.type) || i }, l && react_1.default.createElement(legend_value_1.LegendValueComponent, { ...l }));
|
|
69
|
+
}),
|
|
70
|
+
ActionComponent && (react_1.default.createElement(legend_table_cell_1.LegendTableCell, null,
|
|
71
|
+
react_1.default.createElement("div", { className: "echLegendItem__action" }, ActionComponent)))),
|
|
72
|
+
renderColorPickerPopup()));
|
|
73
|
+
};
|
|
74
|
+
exports.LegendListItem = LegendListItem;
|
|
75
|
+
//# sourceMappingURL=legend_table_item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_item.js","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_item.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,4DAAoC;AACpC,+CAA2C;AAE3C,2DAAsD;AACtD,yDAAoD;AACpD,iDAAsD;AAEtD,kDAAwD;AACxD,oCAA8C;AAC9C,gEAA8D;AAC9D,gDAAsE;AAG/D,MAAM,cAAc,GAA8B,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,EACJ,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,MAAM,EAAE,MAAM,EACd,cAAc,EACd,YAAY,EACZ,WAAW,EACX,OAAO,EACP,0BAA0B,EAC1B,qBAAqB,EACrB,oBAAoB,EACpB,WA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BAAC,iCAAc,IACb,SAAS,EAAE,cAAc,EACzB,YAAY,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,iBAAiB,EAAE,IAAI,CAAC,EAClE,YAAY,EAAE,oBAAoB,EAClC,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,0BACV,KAAK;YAE3B,8BAAC,mCAAe,IAAC,SAAS,EAAC,mDAAmD,IAC3E,eAAe,EAAE,CACF;YAClB,8BAAC,mCAAe;gBACd,8BAAC,aAAS,IACR,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,YAAY,EACrB,YAAY,EAAE,UAAU,GAAG,CAAC,IAAI,IAAI,CAAC,YAAY,EACjD,QAAQ,EAAE,aAAa,CAAC,iBAAiB,CAAC,EAC1C,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,UAAU,EAC5B,iBAAiB,EAAE,WAAW,GAC9B,CACc;YAEjB,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;gBAC7B,OAAO,8BAAC,mCAAe,IAAC,GAAG,EAAE,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,IAAI,KAAI,CAAC,IAAG,CAAC,IAAI,8BAAC,mCAAoB,OAAK,CAAC,GAAI,CAAmB,CAAC;YACtG,CAAC,CAAC;YACD,eAAe,IAAI,CAClB,8BAAC,mCAAe;gBACd,uCAAK,SAAS,EAAC,uBAAuB,IAAE,eAAe,CAAO,CAC9C,CACnB,CACc;QAChB,sBAAsB,EAAE,CACxB,CACJ,CAAC;AACJ,CAAC,CAAC;AApFW,QAAA,cAAc,kBAoFzB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface LegendTableRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
}
|
|
4
|
+
/** @public */
|
|
5
|
+
export declare const LegendTableRow: ({ id, children, className, ...rest }: LegendTableRowProps) => React.JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=legend_table_row.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_row.d.ts","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_row.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAE7E,cAAc;AACd,eAAO,MAAM,cAAc,yCAA0C,mBAAmB,sBAQvF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LegendTableRow = void 0;
|
|
7
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const LegendTableRow = ({ id, children, className, ...rest }) => {
|
|
10
|
+
const classes = (0, classnames_1.default)('echLegendTable__row', className);
|
|
11
|
+
return (react_1.default.createElement("div", { role: "row", id: id, className: classes, ...rest }, children));
|
|
12
|
+
};
|
|
13
|
+
exports.LegendTableRow = LegendTableRow;
|
|
14
|
+
//# sourceMappingURL=legend_table_row.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_table_row.js","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_table_row.tsx"],"names":[],"mappings":";;;;;;AAQA,4DAAoC;AACpC,kDAA0B;AAKnB,MAAM,cAAc,GAAG,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAuB,EAAE,EAAE;IAC1F,MAAM,OAAO,GAAG,IAAA,oBAAU,EAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC;IAE7D,OAAO,CACL,uCAAK,IAAI,EAAC,KAAK,EAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,KAAM,IAAI,IACjD,QAAQ,CACL,CACP,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,cAAc,kBAQzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_value.d.ts","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_value.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LegendValueComponent = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const LegendValueComponent = ({ label }) => {
|
|
9
|
+
return (react_1.default.createElement("div", { className: "echLegend__legendValue", title: `${label}` },
|
|
10
|
+
react_1.default.createElement("span", null, label)));
|
|
11
|
+
};
|
|
12
|
+
exports.LegendValueComponent = LegendValueComponent;
|
|
13
|
+
//# sourceMappingURL=legend_value.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_value.js","sourceRoot":"","sources":["../../../../src/components/legend/legend_table/legend_value.tsx"],"names":[],"mappings":";;;;;;AAQA,kDAA0B;AAGnB,MAAM,oBAAoB,GAAG,CAAC,EAAE,KAAK,EAAqB,EAAE,EAAE;IACnE,OAAO,CACL,uCAAK,SAAS,EAAC,wBAAwB,EAAC,KAAK,EAAE,GAAG,KAAK,EAAE;QACvD,4CAAO,KAAK,CAAQ,CAChB,CACP,CAAC;AACJ,CAAC,CAAC;AANW,QAAA,oBAAoB,wBAM/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/legend/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/legend/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getExtra = void 0;
|
|
4
|
+
const legend_1 = require("../../common/legend");
|
|
4
5
|
function getExtra(extraValues, item, totalItems) {
|
|
5
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6
6
|
const { seriesIdentifiers, values, childId, path } = item;
|
|
7
7
|
if (extraValues.size === 0 || seriesIdentifiers.length > 1 || !seriesIdentifiers[0]) {
|
|
8
|
-
return values.
|
|
8
|
+
return values.find((v) => v.type === legend_1.LegendValue.CurrentAndLastValue || v.type === legend_1.LegendValue.Value);
|
|
9
9
|
}
|
|
10
10
|
const [{ key }] = seriesIdentifiers;
|
|
11
11
|
const extraValueKey = path.map(({ index }) => index).join('__');
|
|
@@ -13,8 +13,8 @@ function getExtra(extraValues, item, totalItems) {
|
|
|
13
13
|
const actionExtra = childId !== undefined ? itemExtraValues === null || itemExtraValues === void 0 ? void 0 : itemExtraValues.get(childId) : undefined;
|
|
14
14
|
return actionExtra
|
|
15
15
|
? actionExtra
|
|
16
|
-
: extraValues.size === totalItems
|
|
17
|
-
?
|
|
16
|
+
: extraValues.size === totalItems
|
|
17
|
+
? values.find((v) => v.type === legend_1.LegendValue.CurrentAndLastValue || v.type === legend_1.LegendValue.Value)
|
|
18
18
|
: undefined;
|
|
19
19
|
}
|
|
20
20
|
exports.getExtra = getExtra;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/legend/utils.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/legend/utils.ts"],"names":[],"mappings":";;;AAQA,gDAAsG;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oBAAW,CAAC,KAAK,CAAC;YAChG,CAAC,CAAC,SAAS,CAAC;AAClB,CAAC;AAnBD,4BAmBC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { SeriesIdentifier } from '../../../common/series_id';
|
|
3
3
|
import { BaseDatum } from '../../../specs';
|
|
4
4
|
/** @public */
|
|
5
5
|
export declare const TooltipContainer: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>(props: PropsWithChildren<{
|
|
6
6
|
className?: string;
|
|
7
|
-
}>) => JSX.Element;
|
|
7
|
+
}>) => React.JSX.Element;
|
|
8
8
|
//# sourceMappingURL=tooltip_container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_container.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_container.tsx"],"names":[],"mappings":"AASA,
|
|
1
|
+
{"version":3,"file":"tooltip_container.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_container.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,cAAc;AACd,eAAO,MAAM,gBAAgB,qFACpB,kBAAkB;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,sBAQjD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
interface TooltipDividerProps {
|
|
3
3
|
margin?: CSSProperties['margin'];
|
|
4
4
|
}
|
|
5
5
|
/** @public */
|
|
6
|
-
export declare const TooltipDivider: ({ margin }: TooltipDividerProps) => JSX.Element;
|
|
6
|
+
export declare const TooltipDivider: ({ margin }: TooltipDividerProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=tooltip_divider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_divider.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_divider.tsx"],"names":[],"mappings":"AAQA,
|
|
1
|
+
{"version":3,"file":"tooltip_divider.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_divider.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE7C,UAAU,mBAAmB;IAC3B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;CAClC;AAED,cAAc;AACd,eAAO,MAAM,cAAc,eAAgB,mBAAmB,sBAE7D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
type TooltipFooterProps = PropsWithChildren<{}>;
|
|
3
3
|
/** @public */
|
|
4
|
-
export declare const TooltipFooter: ({ children }: TooltipFooterProps) => JSX.Element;
|
|
4
|
+
export declare const TooltipFooter: ({ children }: TooltipFooterProps) => React.JSX.Element;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=tooltip_footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_footer.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_footer.tsx"],"names":[],"mappings":"AAQA,
|
|
1
|
+
{"version":3,"file":"tooltip_footer.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_footer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,KAAK,kBAAkB,GAAG,iBAAiB,CAAC,EAAE,CAAC,CAAC;AAEhD,cAAc;AACd,eAAO,MAAM,aAAa,iBAAkB,kBAAkB,sBAE7D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { BaseDatum, TooltipHeaderFormatter } from '../../../specs';
|
|
3
3
|
import { PointerValue } from '../../../state/types';
|
|
4
4
|
import { Datum } from '../../../utils/common';
|
|
@@ -9,5 +9,5 @@ export type TooltipHeaderProps<D extends BaseDatum = Datum> = PropsOrChildrenWit
|
|
|
9
9
|
formatter?: TooltipHeaderFormatter<D>;
|
|
10
10
|
}>;
|
|
11
11
|
/** @public */
|
|
12
|
-
export declare const TooltipHeader: <D extends BaseDatum = any>(props: TooltipHeaderProps<D>) => JSX.Element | null;
|
|
12
|
+
export declare const TooltipHeader: <D extends BaseDatum = any>(props: TooltipHeaderProps<D>) => React.JSX.Element | null;
|
|
13
13
|
//# sourceMappingURL=tooltip_header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_header.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_header.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"tooltip_header.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_header.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAe,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAyB,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,cAAc;AACd,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,SAAS,GAAG,KAAK,IAAI,wBAAwB,CAAC;IACrF,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;CACvC,CAAC,CAAC;AAkBH,cAAc;AACd,eAAO,MAAM,aAAa,qCAjBsC,mBAAmB,CAAC,CAAC,6BAiBH,CAAC"}
|
|
@@ -4,6 +4,6 @@ type TooltipMetricRowProps = {
|
|
|
4
4
|
metric: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
/** @public */
|
|
7
|
-
export declare const TooltipMetricRow: React.MemoExoticComponent<({ label, metric }: TooltipMetricRowProps) => JSX.Element>;
|
|
7
|
+
export declare const TooltipMetricRow: React.MemoExoticComponent<({ label, metric }: TooltipMetricRowProps) => React.JSX.Element>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=tooltip_metric_row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_metric_row.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_metric_row.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/C,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,gBAAgB,gDAA4B,qBAAqB,
|
|
1
|
+
{"version":3,"file":"tooltip_metric_row.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_metric_row.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/C,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,gBAAgB,gDAA4B,qBAAqB,uBAO5E,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { TooltipTableColumn } from './types';
|
|
3
3
|
import { SeriesIdentifier } from '../../../common/series_id';
|
|
4
4
|
import { BaseDatum, TooltipValue } from '../../../specs';
|
|
@@ -20,6 +20,6 @@ type TooltipTableProps<D extends BaseDatum = Datum, SI extends SeriesIdentifier
|
|
|
20
20
|
maxHeight?: CSSProperties['maxHeight'];
|
|
21
21
|
}>;
|
|
22
22
|
/** @public */
|
|
23
|
-
export declare const TooltipTable: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>({ className, ...props }: TooltipTableProps<D, SI>) => JSX.Element;
|
|
23
|
+
export declare const TooltipTable: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>({ className, ...props }: TooltipTableProps<D, SI>) => React.JSX.Element;
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=tooltip_table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_table.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table.tsx"],"names":[],"mappings":"AASA,
|
|
1
|
+
{"version":3,"file":"tooltip_table.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAM7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAS,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAWvF,KAAK,iBAAiB,CACpB,CAAC,SAAS,SAAS,GAAG,KAAK,EAC3B,EAAE,SAAS,gBAAgB,GAAG,gBAAgB,IAC5C,wBAAwB,CAC1B;IACE,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;IACrC,KAAK,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,iCAAiC,CAAC;IAC7C,QAAQ,CAAC,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;CAClC,EACD;IACE;;OAEG;IACH,mBAAmB,EAAE,aAAa,CAAC,qBAAqB,CAAC,CAAC;CAC3D,EACD;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACxC,CACF,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,YAAY,uGAGtB,kBAAkB,CAAC,EAAE,EAAE,CAAC,sBAoC1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TooltipTableColumn } from './types';
|
|
3
3
|
import { SeriesIdentifier } from '../../../common/series_id';
|
|
4
4
|
import { BaseDatum, TooltipValue } from '../../../specs';
|
|
@@ -14,6 +14,6 @@ type TooltipTableBodyProps<D extends BaseDatum = Datum, SI extends SeriesIdentif
|
|
|
14
14
|
className?: string;
|
|
15
15
|
}>;
|
|
16
16
|
/** @public */
|
|
17
|
-
export declare const TooltipTableBody: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>({ className, ...props }: TooltipTableBodyProps<D, SI>) => JSX.Element;
|
|
17
|
+
export declare const TooltipTableBody: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>({ className, ...props }: TooltipTableBodyProps<D, SI>) => React.JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=tooltip_table_body.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_table_body.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_body.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"tooltip_table_body.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_body.tsx"],"names":[],"mappings":"AASA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAoB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAEvF,KAAK,qBAAqB,CACxB,CAAC,SAAS,SAAS,GAAG,KAAK,EAC3B,EAAE,SAAS,gBAAgB,GAAG,gBAAgB,IAC5C,wBAAwB,CAC1B;IACE,KAAK,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;IAC7B,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,iCAAiC,CAAC;IAC7C,QAAQ,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;CACjC,EACD,EAAE,EACF;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,gBAAgB,uGAG1B,sBAAsB,CAAC,EAAE,EAAE,CAAC,sBAqC9B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { TooltipCellStyle } from './types';
|
|
3
3
|
/** @public */
|
|
4
4
|
export type TooltipTableCellProps = PropsWithChildren<{
|
|
@@ -9,5 +9,5 @@ export type TooltipTableCellProps = PropsWithChildren<{
|
|
|
9
9
|
style?: TooltipCellStyle;
|
|
10
10
|
}>;
|
|
11
11
|
/** @public */
|
|
12
|
-
export declare const TooltipTableCell: ({ style, truncate, tagName, className, children, title: manualTitle, }: TooltipTableCellProps) => JSX.Element;
|
|
12
|
+
export declare const TooltipTableCell: ({ style, truncate, tagName, className, children, title: manualTitle, }: TooltipTableCellProps) => React.JSX.Element;
|
|
13
13
|
//# sourceMappingURL=tooltip_table_cell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_table_cell.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_cell.tsx"],"names":[],"mappings":"AASA,
|
|
1
|
+
{"version":3,"file":"tooltip_table_cell.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_cell.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAG3C,cAAc;AACd,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B,CAAC,CAAC;AAEH,cAAc;AACd,eAAO,MAAM,gBAAgB,2EAO1B,qBAAqB,sBAWvB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TooltipTableColumn } from './types';
|
|
3
3
|
import { SeriesIdentifier } from '../../../common/series_id';
|
|
4
4
|
import { BaseDatum, TooltipValue } from '../../../specs';
|
|
@@ -11,6 +11,6 @@ type TooltipTableFooterProps<D extends BaseDatum = Datum, SI extends SeriesIdent
|
|
|
11
11
|
className?: string;
|
|
12
12
|
}>;
|
|
13
13
|
/** @public */
|
|
14
|
-
export declare const TooltipTableFooter: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>({ className, ...props }: TooltipTableFooterProps<D, SI>) => JSX.Element | null;
|
|
14
|
+
export declare const TooltipTableFooter: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>({ className, ...props }: TooltipTableFooterProps<D, SI>) => React.JSX.Element | null;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=tooltip_table_footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_table_footer.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_footer.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"tooltip_table_footer.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_footer.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,KAAK,uBAAuB,CAC1B,CAAC,SAAS,SAAS,GAAG,KAAK,EAC3B,EAAE,SAAS,gBAAgB,GAAG,gBAAgB,IAC5C,wBAAwB,CAC1B;IACE,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;IACrC,KAAK,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;CAC9B,EACD,EAAE,EACF;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,kBAAkB,uGAG5B,wBAAwB,CAAC,EAAE,EAAE,CAAC,6BA2BhC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TooltipTableColumn } from './types';
|
|
3
3
|
import { SeriesIdentifier } from '../../../common/series_id';
|
|
4
4
|
import { BaseDatum, TooltipValue } from '../../../specs';
|
|
@@ -11,6 +11,6 @@ type TooltipTableHeaderProps<D extends BaseDatum = Datum, SI extends SeriesIdent
|
|
|
11
11
|
className?: string;
|
|
12
12
|
}>;
|
|
13
13
|
/** @public */
|
|
14
|
-
export declare const TooltipTableHeader: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>({ className, ...props }: TooltipTableHeaderProps<D, SI>) => JSX.Element | null;
|
|
14
|
+
export declare const TooltipTableHeader: <D extends BaseDatum = any, SI extends SeriesIdentifier = SeriesIdentifier>({ className, ...props }: TooltipTableHeaderProps<D, SI>) => React.JSX.Element | null;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=tooltip_table_header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_table_header.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_header.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"tooltip_table_header.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_header.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,KAAK,uBAAuB,CAC1B,CAAC,SAAS,SAAS,GAAG,KAAK,EAC3B,EAAE,SAAS,gBAAgB,GAAG,gBAAgB,IAC5C,wBAAwB,CAC1B;IACE,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;IACrC,KAAK,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;CAC9B,EACD,EAAE,EACF;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,kBAAkB,uGAG5B,wBAAwB,CAAC,EAAE,EAAE,CAAC,6BA2BhC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
type TooltipTableRowProps = PropsWithChildren<{
|
|
3
3
|
id?: string;
|
|
4
4
|
className?: string;
|
|
@@ -7,6 +7,6 @@ type TooltipTableRowProps = PropsWithChildren<{
|
|
|
7
7
|
onSelect?: () => void;
|
|
8
8
|
}>;
|
|
9
9
|
/** @public */
|
|
10
|
-
export declare const TooltipTableRow: ({ id, isHighlighted, isSelected, children, onSelect, className, }: TooltipTableRowProps) => JSX.Element;
|
|
10
|
+
export declare const TooltipTableRow: ({ id, isHighlighted, isSelected, children, onSelect, className, }: TooltipTableRowProps) => React.JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=tooltip_table_row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_table_row.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_row.tsx"],"names":[],"mappings":"AASA,
|
|
1
|
+
{"version":3,"file":"tooltip_table_row.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/components/tooltip_table_row.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKjD,KAAK,oBAAoB,GAAG,iBAAiB,CAAC;IAC5C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC,CAAC;AAEH,cAAc;AACd,eAAO,MAAM,eAAe,sEAOzB,oBAAoB,sBAuBtB,CAAC"}
|
|
@@ -105,7 +105,7 @@ export declare const TooltipStickTo: Readonly<{
|
|
|
105
105
|
/** @public */
|
|
106
106
|
export type TooltipStickTo = $Values<typeof TooltipStickTo>;
|
|
107
107
|
/** @public */
|
|
108
|
-
export declare const settingsBuildProps: import("../state/spec_factory").BuildProps<SettingsSpec, "id" | "chartType" | "specType", "debug" | "locale" | "rotation" | "baseTheme" | "rendering" | "animateData" | "externalPointerEvents" | "pointBuffer" | "pointerUpdateTrigger" | "brushAxis" | "minBrushDelta" | "allowBrushingLastHistogramBin" | "ariaLabelHeadingLevel" | "ariaUseDefaultSummary" | "dow" | "showLegend" | "legendPosition" | "legendValues" | "legendMaxDepth" | "legendSize" | "flatLegend", "ariaDescription" | "ariaLabel" | "xDomain" | "theme" | "debugState" | "onProjectionClick" | "onElementClick" | "onElementOver" | "onElementOut" | "onBrushEnd" | "onPointerUpdate" | "onResize" | "onRenderChange" | "onWillRender" | "onProjectionAreaChange" | "onAnnotationClick" | "resizeDebounce" | "pointerUpdateDebounce" | "roundHistogramBrushValues" | "orderOrdinalBinsBy" | "noResults" | "ariaLabelledBy" | "ariaDescribedBy" | "ariaTableCaption" | "legendStrategy" | "onLegendItemOver" | "onLegendItemOut" | "onLegendItemClick" | "onLegendItemPlusClick" | "onLegendItemMinusClick" | "legendAction" | "legendColorPicker" | "legendSort" | "customLegend", never>;
|
|
108
|
+
export declare const settingsBuildProps: import("../state/spec_factory").BuildProps<SettingsSpec, "id" | "chartType" | "specType", "debug" | "locale" | "rotation" | "baseTheme" | "rendering" | "animateData" | "externalPointerEvents" | "pointBuffer" | "pointerUpdateTrigger" | "brushAxis" | "minBrushDelta" | "allowBrushingLastHistogramBin" | "ariaLabelHeadingLevel" | "ariaUseDefaultSummary" | "dow" | "showLegend" | "legendPosition" | "legendValues" | "legendMaxDepth" | "legendSize" | "flatLegend", "ariaDescription" | "ariaLabel" | "xDomain" | "theme" | "debugState" | "onProjectionClick" | "onElementClick" | "onElementOver" | "onElementOut" | "onBrushEnd" | "onPointerUpdate" | "onResize" | "onRenderChange" | "onWillRender" | "onProjectionAreaChange" | "onAnnotationClick" | "resizeDebounce" | "pointerUpdateDebounce" | "roundHistogramBrushValues" | "orderOrdinalBinsBy" | "noResults" | "ariaLabelledBy" | "ariaDescribedBy" | "ariaTableCaption" | "legendStrategy" | "onLegendItemOver" | "onLegendItemOut" | "onLegendItemClick" | "onLegendItemPlusClick" | "onLegendItemMinusClick" | "legendAction" | "legendColorPicker" | "legendSort" | "customLegend" | "legendTitle", never>;
|
|
109
109
|
/** @public */
|
|
110
110
|
export declare const DEFAULT_SETTINGS_SPEC: SettingsSpec;
|
|
111
111
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/specs/constants.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAO1C,cAAc;AACd,eAAO,MAAM,QAAQ;;;;;;;;EAQnB,CAAC;AACH,cAAc;AACd,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,QAAQ,CAAC,C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AAM,kBAAkB,qnCA4B9B,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,qBAAqB,EAAE,YAGnC,CAAC"}
|
package/dist/specs/settings.d.ts
CHANGED
|
@@ -410,6 +410,10 @@ export interface LegendSpec {
|
|
|
410
410
|
* Override the legend with a custom component.
|
|
411
411
|
*/
|
|
412
412
|
customLegend?: CustomLegend;
|
|
413
|
+
/**
|
|
414
|
+
* a title for the table legend
|
|
415
|
+
*/
|
|
416
|
+
legendTitle?: string;
|
|
413
417
|
}
|
|
414
418
|
/**
|
|
415
419
|
* The Spec used for Chart settings
|