@splunk/visualizations 27.0.0 → 27.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/Area.config.js +269 -122
- package/Area.config.js.map +4 -4
- package/Area.js +1065 -209
- package/Area.js.map +4 -4
- package/Bar.config.js +266 -82
- package/Bar.config.js.map +4 -4
- package/Bar.js +1065 -171
- package/Bar.js.map +4 -4
- package/Bubble.config.js +127 -1
- package/Bubble.config.js.map +4 -4
- package/Bubble.js +323 -80
- package/Bubble.js.map +4 -4
- package/ChoroplethSvg.js +64 -37
- package/ChoroplethSvg.js.map +4 -4
- package/Column.config.js +271 -82
- package/Column.config.js.map +4 -4
- package/Column.js +1070 -171
- package/Column.js.map +4 -4
- package/Ellipse.js +44 -14
- package/Ellipse.js.map +4 -4
- package/Events.js +172 -527
- package/Events.js.map +4 -4
- package/FillerGauge.js +45 -15
- package/FillerGauge.js.map +4 -4
- package/Image.js +42 -12
- package/Image.js.map +4 -4
- package/Line.config.js +271 -119
- package/Line.config.js.map +4 -4
- package/Line.js +1067 -206
- package/Line.js.map +4 -4
- package/LinkGraph.js +584 -545
- package/LinkGraph.js.map +4 -4
- package/Map.config.js +114 -72
- package/Map.config.js.map +4 -4
- package/Map.js +177 -94
- package/Map.js.map +4 -4
- package/Markdown.js +46 -16
- package/Markdown.js.map +4 -4
- package/MarkerGauge.js +42 -12
- package/MarkerGauge.js.map +4 -4
- package/ParallelCoordinates.js +123 -87
- package/ParallelCoordinates.js.map +4 -4
- package/Pie.js +198 -81
- package/Pie.js.map +4 -4
- package/Punchcard.js +241 -38
- package/Punchcard.js.map +4 -4
- package/Rectangle.js +56 -26
- package/Rectangle.js.map +4 -4
- package/Sankey.js +68 -38
- package/Sankey.js.map +4 -4
- package/Scatter.config.js +127 -1
- package/Scatter.config.js.map +4 -4
- package/Scatter.js +323 -80
- package/Scatter.js.map +4 -4
- package/SingleValue.config.js +43 -67
- package/SingleValue.config.js.map +4 -4
- package/SingleValue.js +1434 -1356
- package/SingleValue.js.map +4 -4
- package/SingleValueBasic.js +1 -1
- package/SingleValueBasic.js.map +3 -3
- package/SingleValueIcon.config.js +45 -69
- package/SingleValueIcon.config.js.map +4 -4
- package/SingleValueIcon.js +1739 -1407
- package/SingleValueIcon.js.map +4 -4
- package/SingleValueRadial.config.js +43 -67
- package/SingleValueRadial.config.js.map +4 -4
- package/SingleValueRadial.js +1366 -1273
- package/SingleValueRadial.js.map +4 -4
- package/SparkLine.js +1 -1
- package/SparkLine.js.map +3 -3
- package/TRELLIS.md +16 -15
- package/Table.js +65 -30
- package/Table.js.map +4 -4
- package/Timeline.config.js +418 -0
- package/Timeline.config.js.map +7 -0
- package/Timeline.js +3074 -0
- package/Timeline.js.map +7 -0
- package/common/Charting.js +133 -27
- package/common/Charting.js.map +4 -4
- package/common/OptionsDoc.js +8 -3
- package/common/OptionsDoc.js.map +2 -2
- package/common/utils/mapUtils.js.map +2 -2
- package/common/utils/singleValueUtils.js +26 -15
- package/common/utils/singleValueUtils.js.map +2 -2
- package/common/utils/trellisUtils.js +41 -1
- package/common/utils/trellisUtils.js.map +2 -2
- package/common/withDashboardViz.js +42 -12
- package/common/withDashboardViz.js.map +4 -4
- package/package.json +49 -38
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
/* Copyright © 2020 Splunk Inc.
|
|
2
|
+
SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
3
|
+
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
|
+
var __create = Object.create;
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __defProps = Object.defineProperties;
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
9
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
10
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
11
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
12
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
14
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15
|
+
var __spreadValues = (a, b) => {
|
|
16
|
+
for (var prop in b || (b = {}))
|
|
17
|
+
if (__hasOwnProp.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
if (__getOwnPropSymbols)
|
|
20
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
21
|
+
if (__propIsEnum.call(b, prop))
|
|
22
|
+
__defNormalProp(a, prop, b[prop]);
|
|
23
|
+
}
|
|
24
|
+
return a;
|
|
25
|
+
};
|
|
26
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
27
|
+
var __export = (target, all) => {
|
|
28
|
+
for (var name in all)
|
|
29
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
30
|
+
};
|
|
31
|
+
var __copyProps = (to, from, except, desc) => {
|
|
32
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
33
|
+
for (let key of __getOwnPropNames(from))
|
|
34
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
35
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
36
|
+
}
|
|
37
|
+
return to;
|
|
38
|
+
};
|
|
39
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
40
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
41
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
42
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
43
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
44
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
45
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
46
|
+
mod
|
|
47
|
+
));
|
|
48
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
49
|
+
|
|
50
|
+
// src/Timeline/config.ts
|
|
51
|
+
var config_exports = {};
|
|
52
|
+
__export(config_exports, {
|
|
53
|
+
default: () => config_default
|
|
54
|
+
});
|
|
55
|
+
module.exports = __toCommonJS(config_exports);
|
|
56
|
+
|
|
57
|
+
// esm-externals:@splunk/visualization-schemas
|
|
58
|
+
var visualization_schemas_exports = {};
|
|
59
|
+
__export(visualization_schemas_exports, {
|
|
60
|
+
default: () => visualization_schemas_default
|
|
61
|
+
});
|
|
62
|
+
var defaultImport = __toESM(require("@splunk/visualization-schemas"));
|
|
63
|
+
__reExport(visualization_schemas_exports, require("@splunk/visualization-schemas"));
|
|
64
|
+
var visualization_schemas_default = "default" in defaultImport ? defaultImport.default : defaultImport;
|
|
65
|
+
|
|
66
|
+
// esm-externals:@splunk/visualization-icons
|
|
67
|
+
var visualization_icons_exports = {};
|
|
68
|
+
__export(visualization_icons_exports, {
|
|
69
|
+
default: () => visualization_icons_default
|
|
70
|
+
});
|
|
71
|
+
var defaultImport2 = __toESM(require("@splunk/visualization-icons"));
|
|
72
|
+
__reExport(visualization_icons_exports, require("@splunk/visualization-icons"));
|
|
73
|
+
var visualization_icons_default = "default" in defaultImport2 ? defaultImport2.default : defaultImport2;
|
|
74
|
+
|
|
75
|
+
// esm-externals:@splunk/visualization-color-palettes/editors/PresetPalettes
|
|
76
|
+
var PresetPalettes_exports = {};
|
|
77
|
+
__export(PresetPalettes_exports, {
|
|
78
|
+
default: () => PresetPalettes_default
|
|
79
|
+
});
|
|
80
|
+
var defaultImport3 = __toESM(require("@splunk/visualization-color-palettes/editors/PresetPalettes"));
|
|
81
|
+
__reExport(PresetPalettes_exports, require("@splunk/visualization-color-palettes/editors/PresetPalettes"));
|
|
82
|
+
var PresetPalettes_default = "default" in defaultImport3 ? defaultImport3.default : defaultImport3;
|
|
83
|
+
|
|
84
|
+
// esm-externals:@splunk/ui-utils/i18n
|
|
85
|
+
var i18n_exports = {};
|
|
86
|
+
__export(i18n_exports, {
|
|
87
|
+
default: () => i18n_default
|
|
88
|
+
});
|
|
89
|
+
var defaultImport4 = __toESM(require("@splunk/ui-utils/i18n"));
|
|
90
|
+
__reExport(i18n_exports, require("@splunk/ui-utils/i18n"));
|
|
91
|
+
var i18n_default = "default" in defaultImport4 ? defaultImport4.default : defaultImport4;
|
|
92
|
+
|
|
93
|
+
// esm-externals:@splunk/themes/pick
|
|
94
|
+
var pick_exports = {};
|
|
95
|
+
__export(pick_exports, {
|
|
96
|
+
default: () => pick_default
|
|
97
|
+
});
|
|
98
|
+
var defaultImport5 = __toESM(require("@splunk/themes/pick"));
|
|
99
|
+
__reExport(pick_exports, require("@splunk/themes/pick"));
|
|
100
|
+
var pick_default = "default" in defaultImport5 ? defaultImport5.default : defaultImport5;
|
|
101
|
+
|
|
102
|
+
// esm-externals:@splunk/themes/variables
|
|
103
|
+
var variables_exports = {};
|
|
104
|
+
__export(variables_exports, {
|
|
105
|
+
default: () => variables_default
|
|
106
|
+
});
|
|
107
|
+
var defaultImport6 = __toESM(require("@splunk/themes/variables"));
|
|
108
|
+
__reExport(variables_exports, require("@splunk/themes/variables"));
|
|
109
|
+
var variables_default = "default" in defaultImport6 ? defaultImport6.default : defaultImport6;
|
|
110
|
+
|
|
111
|
+
// esm-externals:lodash
|
|
112
|
+
var lodash_exports = {};
|
|
113
|
+
__export(lodash_exports, {
|
|
114
|
+
default: () => lodash_default
|
|
115
|
+
});
|
|
116
|
+
var defaultImport7 = __toESM(require("lodash"));
|
|
117
|
+
__reExport(lodash_exports, require("lodash"));
|
|
118
|
+
var lodash_default = "default" in defaultImport7 ? defaultImport7.default : defaultImport7;
|
|
119
|
+
|
|
120
|
+
// esm-externals:@splunk/visualizations-shared/configUtils
|
|
121
|
+
var configUtils_exports = {};
|
|
122
|
+
__export(configUtils_exports, {
|
|
123
|
+
default: () => configUtils_default
|
|
124
|
+
});
|
|
125
|
+
var defaultImport8 = __toESM(require("@splunk/visualizations-shared/configUtils"));
|
|
126
|
+
__reExport(configUtils_exports, require("@splunk/visualizations-shared/configUtils"));
|
|
127
|
+
var configUtils_default = "default" in defaultImport8 ? defaultImport8.default : defaultImport8;
|
|
128
|
+
|
|
129
|
+
// src/common/utils/configUtils.ts
|
|
130
|
+
function enhanceConfig(vizConfig) {
|
|
131
|
+
const enhancedConfig = __spreadValues({}, vizConfig);
|
|
132
|
+
enhancedConfig.editorConfig = vizConfig.editorConfig.map(
|
|
133
|
+
(config2) => {
|
|
134
|
+
return __spreadProps(__spreadValues({}, config2), { open: config2.open || false });
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
return enhancedConfig;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// src/common/editorConfig/BackgroundColor.ts
|
|
141
|
+
var background = ({
|
|
142
|
+
label,
|
|
143
|
+
themes: themes2,
|
|
144
|
+
labelPosition
|
|
145
|
+
}) => [
|
|
146
|
+
{
|
|
147
|
+
label: (0, i18n_exports._)(label || "Background color"),
|
|
148
|
+
option: "backgroundColor",
|
|
149
|
+
editor: "editor.color",
|
|
150
|
+
editorProps: {
|
|
151
|
+
labelPosition: labelPosition || "top",
|
|
152
|
+
themes: themes2
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
];
|
|
156
|
+
var BackgroundColor_default = background;
|
|
157
|
+
|
|
158
|
+
// src/Timeline/config.ts
|
|
159
|
+
var dataContract = {
|
|
160
|
+
requiredDataSources: [],
|
|
161
|
+
optionalDataSources: [
|
|
162
|
+
{
|
|
163
|
+
name: "primary",
|
|
164
|
+
description: "DataSource that powers the visualization."
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
initialRequestParams: {
|
|
168
|
+
primary: { offset: 0, count: 1e4 }
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
var size = {
|
|
172
|
+
initialWidth: 300,
|
|
173
|
+
initialHeight: 300
|
|
174
|
+
};
|
|
175
|
+
var defaultContext = {
|
|
176
|
+
colorRangeConfig: [
|
|
177
|
+
{ to: 20, value: "#D41F1F" },
|
|
178
|
+
{ from: 20, to: 40, value: "#D94E17" },
|
|
179
|
+
{ from: 40, to: 60, value: "#CBA700" },
|
|
180
|
+
{ from: 60, to: 80, value: "#669922" },
|
|
181
|
+
{ from: 80, value: "#118832" }
|
|
182
|
+
],
|
|
183
|
+
colorMatchConfig: [{ match: "", value: "#5C33FF" }]
|
|
184
|
+
};
|
|
185
|
+
var themes = {
|
|
186
|
+
defaultBackgroundColor: (props) => pick_default({
|
|
187
|
+
enterprise: {
|
|
188
|
+
dark: variables_default.black(props),
|
|
189
|
+
light: variables_default.backgroundColor(props)
|
|
190
|
+
},
|
|
191
|
+
prisma: variables_default.backgroundColorSidebar(props)
|
|
192
|
+
})(props)
|
|
193
|
+
};
|
|
194
|
+
var editorConfig = [
|
|
195
|
+
{
|
|
196
|
+
label: (0, i18n_exports._)("Data configurations"),
|
|
197
|
+
layout: [
|
|
198
|
+
[
|
|
199
|
+
{
|
|
200
|
+
label: (0, i18n_exports._)("X"),
|
|
201
|
+
option: "x",
|
|
202
|
+
editor: "editor.columnSelector",
|
|
203
|
+
editorProps: {
|
|
204
|
+
dataSourceKey: "primary",
|
|
205
|
+
shouldShowInternalFields: false,
|
|
206
|
+
filterByTypes: ["time"]
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
[
|
|
211
|
+
{
|
|
212
|
+
label: (0, i18n_exports._)("Y"),
|
|
213
|
+
option: "y",
|
|
214
|
+
editor: "editor.columnSelector",
|
|
215
|
+
editorProps: {
|
|
216
|
+
dataSourceKey: "primary",
|
|
217
|
+
shouldShowInternalFields: false,
|
|
218
|
+
filterByTypes: ["string", "number"]
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
[
|
|
223
|
+
{
|
|
224
|
+
label: (0, i18n_exports._)("Duration"),
|
|
225
|
+
option: "duration",
|
|
226
|
+
editor: "editor.columnSelector",
|
|
227
|
+
editorProps: {
|
|
228
|
+
dataSourceKey: "primary",
|
|
229
|
+
shouldShowInternalFields: false,
|
|
230
|
+
filterByTypes: ["number"]
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
[
|
|
235
|
+
{
|
|
236
|
+
label: (0, i18n_exports._)("Category"),
|
|
237
|
+
option: "category",
|
|
238
|
+
editor: "editor.columnSelector",
|
|
239
|
+
editorProps: {
|
|
240
|
+
dataSourceKey: "primary",
|
|
241
|
+
shouldShowInternalFields: false,
|
|
242
|
+
filterByTypes: ["string", "number"]
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
[
|
|
247
|
+
{
|
|
248
|
+
label: (0, i18n_exports._)("Additional tooltip fields"),
|
|
249
|
+
option: "additionalTooltipFields",
|
|
250
|
+
editor: "editor.columnMultiSelectionByFieldNameEditor"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
[
|
|
254
|
+
{
|
|
255
|
+
label: (0, i18n_exports._)("Result limit"),
|
|
256
|
+
option: "resultLimit",
|
|
257
|
+
editor: "editor.number"
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
label: (0, i18n_exports._)("Data display"),
|
|
264
|
+
layout: [
|
|
265
|
+
[
|
|
266
|
+
{
|
|
267
|
+
label: (0, i18n_exports._)("Lane label width"),
|
|
268
|
+
option: "yAxisLabelWidth",
|
|
269
|
+
editor: "editor.number",
|
|
270
|
+
editorProps: {
|
|
271
|
+
min: 0
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
]
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
label: (0, i18n_exports._)("Color and style"),
|
|
279
|
+
layout: [
|
|
280
|
+
[
|
|
281
|
+
{
|
|
282
|
+
label: (0, i18n_exports._)("Data colors"),
|
|
283
|
+
option: "dataColors",
|
|
284
|
+
context: {
|
|
285
|
+
colorRangeConfig: "colorRangeConfig",
|
|
286
|
+
colorMatchConfig: "colorMatchConfig"
|
|
287
|
+
},
|
|
288
|
+
editor: "editor.dynamicColorWithPrecedence",
|
|
289
|
+
editorProps: {
|
|
290
|
+
labelPosition: "top",
|
|
291
|
+
flyoutTitle: (0, i18n_exports._)("Dynamic coloring: value"),
|
|
292
|
+
formatters: [
|
|
293
|
+
{
|
|
294
|
+
label: (0, i18n_exports._)("Ranges"),
|
|
295
|
+
value: "rangeValue",
|
|
296
|
+
isDefault: true,
|
|
297
|
+
defaults: {
|
|
298
|
+
duration: defaultContext.colorRangeConfig
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
label: (0, i18n_exports._)("Matches"),
|
|
303
|
+
value: "matchValue",
|
|
304
|
+
defaults: {
|
|
305
|
+
duration: defaultContext.colorMatchConfig
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
dataSelectors: [
|
|
310
|
+
{
|
|
311
|
+
label: (0, i18n_exports._)("Data values"),
|
|
312
|
+
value: "duration"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
defaultPalettesConfig: PresetPalettes_exports.defaultPalettesConfig
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
[
|
|
320
|
+
{
|
|
321
|
+
label: (0, i18n_exports._)("Data values"),
|
|
322
|
+
editor: "editor.columnSelector",
|
|
323
|
+
option: "duration",
|
|
324
|
+
showEditor: ({ options }) => options.dataColors,
|
|
325
|
+
editorProps: {
|
|
326
|
+
dataSourceKey: "primary",
|
|
327
|
+
filterByTypes: ["number"]
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
[
|
|
332
|
+
{
|
|
333
|
+
label: (0, i18n_exports._)("Series colors"),
|
|
334
|
+
option: "seriesColors",
|
|
335
|
+
editor: "editor.seriesColors",
|
|
336
|
+
showEditor: ({ options }) => !options.dataColors
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
BackgroundColor_default({ themes })
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
label: (0, i18n_exports._)("Legend"),
|
|
344
|
+
layout: [
|
|
345
|
+
[
|
|
346
|
+
{
|
|
347
|
+
label: (0, i18n_exports._)("Legend display"),
|
|
348
|
+
option: "legendDisplay",
|
|
349
|
+
editor: "editor.select",
|
|
350
|
+
editorProps: {
|
|
351
|
+
values: [
|
|
352
|
+
{ label: (0, i18n_exports._)("Right"), value: "right" },
|
|
353
|
+
{ label: (0, i18n_exports._)("Bottom"), value: "bottom" },
|
|
354
|
+
{ label: (0, i18n_exports._)("Off"), value: "off" }
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
// disable legend if dataColors is on
|
|
358
|
+
isDisabled: ({ options }) => options.dataColors
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
[
|
|
362
|
+
{
|
|
363
|
+
label: (0, i18n_exports._)("Truncation"),
|
|
364
|
+
option: "legendTruncation",
|
|
365
|
+
editor: "editor.radioBar",
|
|
366
|
+
default: "ellipsisOff",
|
|
367
|
+
editorProps: {
|
|
368
|
+
values: [
|
|
369
|
+
{ label: (0, i18n_exports._)("A..."), value: "ellipsisEnd" },
|
|
370
|
+
{ label: (0, i18n_exports._)("A...Z"), value: "ellipsisMiddle" },
|
|
371
|
+
{ label: (0, i18n_exports._)("...Z"), value: "ellipsisStart" },
|
|
372
|
+
{ label: (0, i18n_exports._)("Off"), value: "ellipsisOff" }
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
isDisabled: ({ options }) => options.dataColors,
|
|
376
|
+
showEditor: ({ options }) => options.legendDisplay && options.legendDisplay !== "off"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
]
|
|
380
|
+
}
|
|
381
|
+
];
|
|
382
|
+
var config = {
|
|
383
|
+
/**
|
|
384
|
+
* unique viz key
|
|
385
|
+
*/
|
|
386
|
+
key: "splunk.timeline",
|
|
387
|
+
/**
|
|
388
|
+
* viz name
|
|
389
|
+
*/
|
|
390
|
+
name: (0, i18n_exports._)("Timeline"),
|
|
391
|
+
category: "Timeline" /* TIMELINE */,
|
|
392
|
+
status: "preview",
|
|
393
|
+
/**
|
|
394
|
+
* viz icon
|
|
395
|
+
*/
|
|
396
|
+
icon: visualization_icons_exports.Timeline,
|
|
397
|
+
// placeholderIcon: TimelinePlaceholderIcon, TBD
|
|
398
|
+
dataContract,
|
|
399
|
+
size,
|
|
400
|
+
defaultContext,
|
|
401
|
+
optionsSchema: visualization_schemas_exports.timelineOptionsSchema,
|
|
402
|
+
editorConfig,
|
|
403
|
+
events: {
|
|
404
|
+
"event.click": {
|
|
405
|
+
description: "triggered when user clicks on an event"
|
|
406
|
+
},
|
|
407
|
+
"lane.click": {
|
|
408
|
+
description: "triggered when user clicks on a lane label"
|
|
409
|
+
},
|
|
410
|
+
"legend.click": {
|
|
411
|
+
description: "triggered when user clicks on chart legend"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
supports: ["dynamic-options" /* DYNAMIC_OPTIONS */, "placeholder" /* PLACEHOLDER */, "events" /* EVENTS */],
|
|
415
|
+
themes
|
|
416
|
+
};
|
|
417
|
+
var config_default = enhanceConfig(config);
|
|
418
|
+
//# sourceMappingURL=Timeline.config.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/Timeline/config.ts", "esm-externals:@splunk/visualization-schemas", "esm-externals:@splunk/visualization-icons", "esm-externals:@splunk/visualization-color-palettes/editors/PresetPalettes", "esm-externals:@splunk/ui-utils/i18n", "esm-externals:@splunk/themes/pick", "esm-externals:@splunk/themes/variables", "esm-externals:lodash", "esm-externals:@splunk/visualizations-shared/configUtils", "src/common/utils/configUtils.ts", "src/common/editorConfig/BackgroundColor.ts"],
|
|
4
|
+
"sourcesContent": ["import { timelineOptionsSchema as optionsSchema } from '@splunk/visualization-schemas';\nimport { Timeline as TimelineIcon } from '@splunk/visualization-icons';\n// import { Timeline as TimelinePlaceholderIcon } from '@splunk/visualization-icons/placeholders';\nimport { defaultPalettesConfig } from '@splunk/visualization-color-palettes/editors/PresetPalettes';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\n\nimport { DataContract } from '../common/interfaces/DataContract';\nimport { DefaultContext } from '../common/interfaces/DefaultContext';\nimport { EditorConfig } from '../common/interfaces/Editor';\nimport { ThemedDefaults } from '../common/interfaces/ThemedDefaults';\nimport { VizBehavior } from '../common/interfaces/VizBehavior';\nimport { VizCategory } from '../common/interfaces/VizCategory';\nimport { VizConfig } from '../common/interfaces/VizConfig';\nimport { VizSize } from '../common/interfaces/VizSize';\nimport { enhanceConfig } from '../common/utils/configUtils';\nimport getBackgroundColorEditor from '../common/editorConfig/BackgroundColor';\n\nconst dataContract: DataContract = {\n requiredDataSources: [],\n optionalDataSources: [\n {\n name: 'primary',\n description: 'DataSource that powers the visualization.',\n },\n ],\n initialRequestParams: {\n primary: { offset: 0, count: 10000 },\n },\n};\n\nconst size: VizSize = {\n initialWidth: 300,\n initialHeight: 300,\n};\n\nconst defaultContext: DefaultContext = {\n colorRangeConfig: [\n { to: 20, value: '#D41F1F' },\n { from: 20, to: 40, value: '#D94E17' },\n { from: 40, to: 60, value: '#CBA700' },\n { from: 60, to: 80, value: '#669922' },\n { from: 80, value: '#118832' },\n ],\n colorMatchConfig: [{ match: '', value: '#5C33FF' }],\n};\n\nconst themes: ThemedDefaults = {\n defaultBackgroundColor: props =>\n pick({\n enterprise: {\n dark: variables.black(props),\n light: variables.backgroundColor(props),\n },\n prisma: variables.backgroundColorSidebar(props),\n })(props),\n};\n\nconst editorConfig: EditorConfig[] = [\n {\n label: _('Data configurations'),\n layout: [\n [\n {\n label: _('X'),\n option: 'x',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n shouldShowInternalFields: false,\n filterByTypes: ['time'],\n },\n },\n ],\n [\n {\n label: _('Y'),\n option: 'y',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n shouldShowInternalFields: false,\n filterByTypes: ['string', 'number'],\n },\n },\n ],\n [\n {\n label: _('Duration'),\n option: 'duration',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n shouldShowInternalFields: false,\n filterByTypes: ['number'],\n },\n },\n ],\n [\n {\n label: _('Category'),\n option: 'category',\n editor: 'editor.columnSelector',\n editorProps: {\n dataSourceKey: 'primary',\n shouldShowInternalFields: false,\n filterByTypes: ['string', 'number'],\n },\n },\n ],\n [\n {\n label: _('Additional tooltip fields'),\n option: 'additionalTooltipFields',\n editor: 'editor.columnMultiSelectionByFieldNameEditor',\n },\n ],\n [\n {\n label: _('Result limit'),\n option: 'resultLimit',\n editor: 'editor.number',\n },\n ],\n ],\n },\n {\n label: _('Data display'),\n layout: [\n [\n {\n label: _('Lane label width'),\n option: 'yAxisLabelWidth',\n editor: 'editor.number',\n editorProps: {\n min: 0,\n },\n },\n ],\n ],\n },\n {\n label: _('Color and style'),\n layout: [\n [\n {\n label: _('Data colors'),\n option: 'dataColors',\n context: {\n colorRangeConfig: 'colorRangeConfig',\n colorMatchConfig: 'colorMatchConfig',\n },\n editor: 'editor.dynamicColorWithPrecedence',\n editorProps: {\n labelPosition: 'top',\n flyoutTitle: _('Dynamic coloring: value'),\n formatters: [\n {\n label: _('Ranges'),\n value: 'rangeValue',\n isDefault: true,\n defaults: {\n duration: defaultContext.colorRangeConfig,\n },\n },\n {\n label: _('Matches'),\n value: 'matchValue',\n defaults: {\n duration: defaultContext.colorMatchConfig,\n },\n },\n ],\n dataSelectors: [\n {\n label: _('Data values'),\n value: 'duration',\n },\n ],\n defaultPalettesConfig,\n },\n },\n ],\n [\n {\n label: _('Data values'),\n editor: 'editor.columnSelector',\n option: 'duration',\n showEditor: ({ options }) => options.dataColors,\n editorProps: {\n dataSourceKey: 'primary',\n filterByTypes: ['number'],\n },\n },\n ],\n [\n {\n label: _('Series colors'),\n option: 'seriesColors',\n editor: 'editor.seriesColors',\n showEditor: ({ options }) => !options.dataColors,\n },\n ],\n getBackgroundColorEditor({ themes }),\n ],\n },\n {\n label: _('Legend'),\n layout: [\n [\n {\n label: _('Legend display'),\n option: 'legendDisplay',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Right'), value: 'right' },\n { label: _('Bottom'), value: 'bottom' },\n { label: _('Off'), value: 'off' },\n ],\n },\n // disable legend if dataColors is on\n isDisabled: ({ options }) => options.dataColors,\n },\n ],\n [\n {\n label: _('Truncation'),\n option: 'legendTruncation',\n editor: 'editor.radioBar',\n default: 'ellipsisOff',\n editorProps: {\n values: [\n { label: _('A...'), value: 'ellipsisEnd' },\n { label: _('A...Z'), value: 'ellipsisMiddle' },\n { label: _('...Z'), value: 'ellipsisStart' },\n { label: _('Off'), value: 'ellipsisOff' },\n ],\n },\n isDisabled: ({ options }) => options.dataColors,\n showEditor: ({ options }) => options.legendDisplay && options.legendDisplay !== 'off',\n },\n ],\n ],\n },\n];\n\n/**\n * visualization configuration\n */\nconst config: VizConfig = {\n /**\n * unique viz key\n */\n key: 'splunk.timeline',\n /**\n * viz name\n */\n name: _('Timeline'),\n category: VizCategory.TIMELINE,\n status: 'preview',\n /**\n * viz icon\n */\n icon: TimelineIcon,\n // placeholderIcon: TimelinePlaceholderIcon, TBD\n dataContract,\n size,\n defaultContext,\n optionsSchema,\n editorConfig,\n events: {\n 'event.click': {\n description: 'triggered when user clicks on an event',\n },\n 'lane.click': {\n description: 'triggered when user clicks on a lane label',\n },\n 'legend.click': {\n description: 'triggered when user clicks on chart legend',\n },\n },\n supports: [VizBehavior.DYNAMIC_OPTIONS, VizBehavior.PLACEHOLDER, VizBehavior.EVENTS],\n themes,\n};\n\nexport default enhanceConfig(config);\n", "\nimport * as defaultImport from \"@splunk/visualization-schemas\";\nexport * from \"@splunk/visualization-schemas\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/visualization-icons\";\nexport * from \"@splunk/visualization-icons\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/visualization-color-palettes/editors/PresetPalettes\";\nexport * from \"@splunk/visualization-color-palettes/editors/PresetPalettes\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/ui-utils/i18n\";\nexport * from \"@splunk/ui-utils/i18n\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/themes/pick\";\nexport * from \"@splunk/themes/pick\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/themes/variables\";\nexport * from \"@splunk/themes/variables\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"lodash\";\nexport * from \"lodash\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/visualizations-shared/configUtils\";\nexport * from \"@splunk/visualizations-shared/configUtils\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "import { get, range } from 'lodash';\nimport { isDynamicOption } from '@splunk/visualizations-shared/configUtils';\nimport { VizConfig } from '../interfaces/VizConfig';\nimport { EditorLayoutConfig, EditorConfig } from '../interfaces/Editor';\n\n// included for backwards compatibility\nexport { enhanceOptionsSchemaWithDynamicOptions } from '@splunk/visualization-schemas';\n\nexport interface PresetEntry {\n name: string;\n value: any;\n label: string;\n}\n\n/**\n * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block\n * this function also collapse all editor panels\n * @param vizConfig a Visualization Config\n * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports\n * and containing `open: false` for all editor panels in editorConfig\n */\nfunction enhanceConfig(vizConfig: VizConfig): VizConfig {\n const enhancedConfig: VizConfig = { ...vizConfig };\n\n enhancedConfig.editorConfig = vizConfig.editorConfig.map(\n (config: EditorConfig): EditorConfig => {\n return { ...config, open: config.open || false };\n }\n );\n return enhancedConfig;\n}\n\n/**\n * Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig\n * Created for editor unit tests\n * @param vizConfig a Visualization Config\n * @returns a Visualization Config containing `open: true` for all editor panels in editorConfig\n */\nfunction uncollapseEditorConfig(vizConfig: VizConfig): VizConfig {\n const editorPanelUncollapsedConfig: VizConfig = { ...vizConfig };\n editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(\n (config: EditorConfig): EditorConfig => {\n return { ...config, open: true };\n }\n );\n return editorPanelUncollapsedConfig;\n}\n\n// private helpers to improve readability of getInitialPreset\n// this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset\n\n/**\n * this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset\n * if a preset has explicitly specified a key as being undefined, the vizContext must also has that key as undefined, or else this CANNOT be the initialPreset\n * the inverse is true; if a preset has key is NOT undefined, it must also be NOT undefined in the corresponding vizContext\n * the internal config contents are irrelevant (as the user could customize them in source), just as long as the presence of `undefined`s match up\n *\n * Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values\n */\nfunction hasCompatibleContexts(\n vizContext: { [configKey: string]: any },\n presetContext: { [configKey: string]: any }\n): boolean {\n const presetContextKeys = Object.keys(presetContext);\n return presetContextKeys.every(\n (contextKey): boolean =>\n (presetContext[contextKey] === undefined && vizContext[contextKey] === undefined) ||\n (presetContext[contextKey] !== undefined && vizContext[contextKey] !== undefined)\n );\n}\n\n/**\n * Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions\n */\nfunction hasCompatibleOptions(\n vizOptions: { [configKey: string]: any },\n presetOptions: { [configKey: string]: any }\n): boolean {\n const presetOptionKeys = Object.keys(presetOptions);\n return presetOptionKeys.every(\n (optionKey): boolean =>\n isDynamicOption(presetOptions[optionKey]) === isDynamicOption(vizOptions[optionKey])\n );\n}\n\n/**\n * Evaluates whether there is an initialPreset that fits the current state of vizContext + vizOptions\n * This function ignores extraneous vizOptions or vizContext keys, as they could be outside the scope of what the preset is intended to configure\n *\n * @param {Object} vizContext - the current vizContext definition\n * @param {Object} vizOptions - the current vizOptions definition\n * @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset\n */\nfunction getInitialPreset(\n vizContext: { [configKey: string]: any },\n vizOptions: { [configKey: string]: any },\n presets: PresetEntry[]\n): PresetEntry | null {\n return presets.find((preset): boolean => {\n const presetContext = get(preset, ['value', 'context'], {});\n const presetOptions = get(preset, ['value', 'options'], {});\n const presetContextKeys = Object.keys(presetContext);\n const presetOptionKeys = Object.keys(presetOptions);\n\n // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)\n // if not, then the preset is invalid in config.ts\n if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;\n\n return (\n hasCompatibleContexts(vizContext, presetContext) &&\n hasCompatibleOptions(vizOptions, presetOptions)\n );\n });\n}\n\ninterface PrecisionOption {\n label: string;\n value: number;\n}\n\n/**\n * generates number precision values for a Select editor\n *\n * @param {Number} numPrecisionValues - number of integer precision values to generate\n * @returns {{ label: string; value; string }[]} array of { label, value } tuples\n */\nfunction generatePrecisionValues(numPrecisionValues: number): PrecisionOption[] {\n return range(0, numPrecisionValues + 1).map(\n (i): PrecisionOption => ({\n label: `${i} (0${i > 0 ? '.' : ''}${'0'.repeat(i)})`, // e.g. 0.000 for numPrecisionValues = 3\n value: i,\n })\n );\n}\n\nexport { enhanceConfig, getInitialPreset, generatePrecisionValues, uncollapseEditorConfig, isDynamicOption };\n\n/**\n * insert layout in layout array, return a new layout array instead of updating the original\n *\n * @param {EditorLayoutConfig[][]} layout - editor layout\n * @param {Number} index - the index to insert layout item(s)\n * @param {EditorLayoutConfig[][]} layoutItems - the item(s) to insert\n * @returns {EditorLayoutConfig[][]} new editor layout with insertion\n */\nexport const insertLayout = (\n layout: EditorLayoutConfig[][],\n index: number,\n ...layoutItems: EditorLayoutConfig[][]\n): EditorLayoutConfig[][] => [\n // copy part of the array before the specified index\n ...layout.slice(0, index),\n // inserted layout item\n ...layoutItems,\n // copy part of the array after the specified index\n ...layout.slice(index),\n];\n", "import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorLayoutConfig } from '../interfaces/Editor';\nimport { ThemedDefaults } from '../interfaces/ThemedDefaults';\n\ninterface backgroundEditorProps {\n label?: string;\n themes: ThemedDefaults;\n labelPosition?: string;\n}\n\nconst background: ({ label, themes, labelPosition }: backgroundEditorProps) => EditorLayoutConfig[] = ({\n label,\n themes,\n labelPosition,\n}) => [\n {\n label: _(label || 'Background color'),\n option: 'backgroundColor',\n editor: 'editor.color',\n editorProps: {\n labelPosition: labelPosition || 'top',\n themes,\n },\n },\n];\n\nexport default background;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AACA,oBAA+B;AAC/B,0CAAc;AACd,IAAO,gCAAS,aAAa,gBAA8B,wBAAU;;;ACHrE;AAAA;AAAA;AAAA;AACA,IAAAA,iBAA+B;AAC/B,wCAAc;AACd,IAAO,8BAAS,aAAaA,iBAA8B,yBAAUA;;;ACHrE;AAAA;AAAA;AAAA;AACA,IAAAC,iBAA+B;AAC/B,mCAAc;AACd,IAAO,yBAAS,aAAaA,iBAA8B,yBAAUA;;;ACHrE;AAAA;AAAA;AAAA;AACA,IAAAC,iBAA+B;AAC/B,yBAAc;AACd,IAAO,eAAS,aAAaA,iBAA8B,yBAAUA;;;ACHrE;AAAA;AAAA;AAA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,WAAO,gBAAE,YAAY;AAAA,UACrB,QAAQ;AAAA,UACR,QAAQ;AAAA,UACR,SAAS;AAAA,UACT,aAAa;AAAA,YACT,QAAQ;AAAA,cACJ,EAAE,WAAO,gBAAE,MAAM,GAAG,OAAO,cAAc;AAAA,cACzC,EAAE,WAAO,gBAAE,OAAO,GAAG,OAAO,iBAAiB;AAAA,cAC7C,EAAE,WAAO,gBAAE,MAAM,GAAG,OAAO,gBAAgB;AAAA,cAC3C,EAAE,WAAO,gBAAE,KAAK,GAAG,OAAO,cAAc;AAAA,YAC5C;AAAA,UACJ;AAAA,UACA,YAAY,CAAC,EAAE,QAAQ,MAAM,QAAQ;AAAA,UACrC,YAAY,CAAC,EAAE,QAAQ,MAAM,QAAQ,iBAAiB,QAAQ,kBAAkB;AAAA,QACpF;AAAA,MACJ;AAAA,IACJ;AAAA,EACJ;AACJ;AAKA,IAAM,SAAoB;AAAA;AAAA;AAAA;AAAA,EAItB,KAAK;AAAA;AAAA;AAAA;AAAA,EAIL,UAAM,gBAAE,UAAU;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA;AAAA;AAAA;AAAA,EAIR,MAAM,4BAAAC;AAAA;AAAA,EAEN;AAAA,EACA;AAAA,EACA;AAAA,EACA,6CAAAC;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,IACJ,eAAe;AAAA,MACX,aAAa;AAAA,IACjB;AAAA,IACA,cAAc;AAAA,MACV,aAAa;AAAA,IACjB;AAAA,IACA,gBAAgB;AAAA,MACZ,aAAa;AAAA,IACjB;AAAA,EACJ;AAAA,EACA,UAAU,gGAAyE;AAAA,EACnF;AACJ;AAEA,IAAO,iBAAQ,cAAc,MAAM;",
|
|
6
|
+
"names": ["defaultImport", "defaultImport", "defaultImport", "defaultImport", "defaultImport", "defaultImport", "defaultImport", "config", "themes", "TimelineIcon", "optionsSchema"]
|
|
7
|
+
}
|