@splunk/visualizations-shared 26.2.1 → 26.3.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/SanitizeProps.js +4 -273
- package/SanitizeProps.js.map +1 -1
- package/colorUtils.js +4 -273
- package/colorUtils.js.map +1 -1
- package/package.json +13 -13
- package/schemaUtils.js +79 -266
- package/schemaUtils.js.map +1 -1
- package/simpleXMLOptions.js +2 -2
- package/simpleXMLOptions.js.map +1 -1
- package/testHelper.js +2 -2
- package/testHelper.js.map +1 -1
- package/themeUtils.js +2 -2
- package/themeUtils.js.map +1 -1
- package/trellisUtils.js +2 -2
- package/trellisUtils.js.map +1 -1
package/schemaUtils.js
CHANGED
|
@@ -87,284 +87,97 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 62);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
94
94
|
|
|
95
95
|
/***/ 22:
|
|
96
|
-
/***/ (function(module,
|
|
96
|
+
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
__webpack_require__.r(__webpack_exports__);
|
|
100
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createTestSchema", function() { return createTestSchema; });
|
|
101
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TOKEN_PATTERN", function() { return TOKEN_PATTERN; });
|
|
102
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rgbColorPattern", function() { return rgbColorPattern; });
|
|
103
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rgbaColorPattern", function() { return rgbaColorPattern; });
|
|
104
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "colorPattern", function() { return colorPattern; });
|
|
105
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "colorPatternWithRGBA", function() { return colorPatternWithRGBA; });
|
|
106
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "COLOR_OR_TOKEN_PATTERN", function() { return COLOR_OR_TOKEN_PATTERN; });
|
|
107
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "COLOR_OR_TOKEN_PATTERN_WITH_RGBA", function() { return COLOR_OR_TOKEN_PATTERN_WITH_RGBA; });
|
|
108
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DYNAMIC_OPTIONS_DSL_PATTERN", function() { return DYNAMIC_OPTIONS_DSL_PATTERN; });
|
|
109
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPattern", function() { return getPattern; });
|
|
110
|
-
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
111
|
-
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
112
|
-
$id: 'http://json-schema.org/draft-07/schema#',
|
|
113
|
-
title: 'Core schema meta-schema',
|
|
114
|
-
definitions: {
|
|
115
|
-
schemaArray: {
|
|
116
|
-
type: 'array',
|
|
117
|
-
minItems: 1,
|
|
118
|
-
items: {
|
|
119
|
-
$ref: '#'
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
nonNegativeInteger: {
|
|
123
|
-
type: 'integer',
|
|
124
|
-
minimum: 0
|
|
125
|
-
},
|
|
126
|
-
nonNegativeIntegerDefault0: {
|
|
127
|
-
allOf: [{
|
|
128
|
-
$ref: '#/definitions/nonNegativeInteger'
|
|
129
|
-
}, {
|
|
130
|
-
default: 0
|
|
131
|
-
}]
|
|
132
|
-
},
|
|
133
|
-
simpleTypes: {
|
|
134
|
-
enum: ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string']
|
|
135
|
-
},
|
|
136
|
-
stringArray: {
|
|
137
|
-
type: 'array',
|
|
138
|
-
items: {
|
|
139
|
-
type: 'string'
|
|
140
|
-
},
|
|
141
|
-
uniqueItems: true,
|
|
142
|
-
default: []
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
type: ['object', 'boolean'],
|
|
146
|
-
properties: {
|
|
147
|
-
$id: {
|
|
148
|
-
type: 'string',
|
|
149
|
-
format: 'uri-reference'
|
|
150
|
-
},
|
|
151
|
-
$schema: {
|
|
152
|
-
type: 'string',
|
|
153
|
-
format: 'uri'
|
|
154
|
-
},
|
|
155
|
-
$ref: {
|
|
156
|
-
type: 'string',
|
|
157
|
-
format: 'uri-reference'
|
|
158
|
-
},
|
|
159
|
-
$comment: {
|
|
160
|
-
type: 'string'
|
|
161
|
-
},
|
|
162
|
-
title: {
|
|
163
|
-
type: 'string'
|
|
164
|
-
},
|
|
165
|
-
description: {
|
|
166
|
-
type: 'string'
|
|
167
|
-
},
|
|
168
|
-
default: true,
|
|
169
|
-
readOnly: {
|
|
170
|
-
type: 'boolean',
|
|
171
|
-
default: false
|
|
172
|
-
},
|
|
173
|
-
examples: {
|
|
174
|
-
type: 'array',
|
|
175
|
-
items: true
|
|
176
|
-
},
|
|
177
|
-
multipleOf: {
|
|
178
|
-
type: 'number',
|
|
179
|
-
exclusiveMinimum: 0
|
|
180
|
-
},
|
|
181
|
-
maximum: {
|
|
182
|
-
type: 'number'
|
|
183
|
-
},
|
|
184
|
-
exclusiveMaximum: {
|
|
185
|
-
type: 'number'
|
|
186
|
-
},
|
|
187
|
-
minimum: {
|
|
188
|
-
type: 'number'
|
|
189
|
-
},
|
|
190
|
-
exclusiveMinimum: {
|
|
191
|
-
type: 'number'
|
|
192
|
-
},
|
|
193
|
-
maxLength: {
|
|
194
|
-
$ref: '#/definitions/nonNegativeInteger'
|
|
195
|
-
},
|
|
196
|
-
minLength: {
|
|
197
|
-
$ref: '#/definitions/nonNegativeIntegerDefault0'
|
|
198
|
-
},
|
|
199
|
-
pattern: {
|
|
200
|
-
type: 'string',
|
|
201
|
-
format: 'regex'
|
|
202
|
-
},
|
|
203
|
-
additionalItems: {
|
|
204
|
-
$ref: '#'
|
|
205
|
-
},
|
|
206
|
-
items: {
|
|
207
|
-
anyOf: [{
|
|
208
|
-
$ref: '#'
|
|
209
|
-
}, {
|
|
210
|
-
$ref: '#/definitions/schemaArray'
|
|
211
|
-
}],
|
|
212
|
-
default: true
|
|
213
|
-
},
|
|
214
|
-
maxItems: {
|
|
215
|
-
$ref: '#/definitions/nonNegativeInteger'
|
|
216
|
-
},
|
|
217
|
-
minItems: {
|
|
218
|
-
$ref: '#/definitions/nonNegativeIntegerDefault0'
|
|
219
|
-
},
|
|
220
|
-
uniqueItems: {
|
|
221
|
-
type: 'boolean',
|
|
222
|
-
default: false
|
|
223
|
-
},
|
|
224
|
-
contains: {
|
|
225
|
-
$ref: '#'
|
|
226
|
-
},
|
|
227
|
-
maxProperties: {
|
|
228
|
-
$ref: '#/definitions/nonNegativeInteger'
|
|
229
|
-
},
|
|
230
|
-
minProperties: {
|
|
231
|
-
$ref: '#/definitions/nonNegativeIntegerDefault0'
|
|
232
|
-
},
|
|
233
|
-
required: {
|
|
234
|
-
$ref: '#/definitions/stringArray'
|
|
235
|
-
},
|
|
236
|
-
additionalProperties: {
|
|
237
|
-
$ref: '#'
|
|
238
|
-
},
|
|
239
|
-
definitions: {
|
|
240
|
-
type: 'object',
|
|
241
|
-
additionalProperties: {
|
|
242
|
-
$ref: '#'
|
|
243
|
-
},
|
|
244
|
-
default: {}
|
|
245
|
-
},
|
|
246
|
-
properties: {
|
|
247
|
-
type: 'object',
|
|
248
|
-
additionalProperties: {
|
|
249
|
-
$ref: '#'
|
|
250
|
-
},
|
|
251
|
-
default: {}
|
|
252
|
-
},
|
|
253
|
-
patternProperties: {
|
|
254
|
-
type: 'object',
|
|
255
|
-
additionalProperties: {
|
|
256
|
-
$ref: '#'
|
|
257
|
-
},
|
|
258
|
-
propertyNames: {
|
|
259
|
-
format: 'regex'
|
|
260
|
-
},
|
|
261
|
-
default: {}
|
|
262
|
-
},
|
|
263
|
-
dependencies: {
|
|
264
|
-
type: 'object',
|
|
265
|
-
additionalProperties: {
|
|
266
|
-
anyOf: [{
|
|
267
|
-
$ref: '#'
|
|
268
|
-
}, {
|
|
269
|
-
$ref: '#/definitions/stringArray'
|
|
270
|
-
}]
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
propertyNames: {
|
|
274
|
-
$ref: '#'
|
|
275
|
-
},
|
|
276
|
-
const: true,
|
|
277
|
-
enum: {
|
|
278
|
-
type: 'array',
|
|
279
|
-
items: true,
|
|
280
|
-
minItems: 1,
|
|
281
|
-
uniqueItems: true
|
|
282
|
-
},
|
|
283
|
-
type: {
|
|
284
|
-
anyOf: [{
|
|
285
|
-
$ref: '#/definitions/simpleTypes'
|
|
286
|
-
}, {
|
|
287
|
-
type: 'array',
|
|
288
|
-
items: {
|
|
289
|
-
$ref: '#/definitions/simpleTypes'
|
|
290
|
-
},
|
|
291
|
-
minItems: 1,
|
|
292
|
-
uniqueItems: true
|
|
293
|
-
}]
|
|
294
|
-
},
|
|
295
|
-
format: {
|
|
296
|
-
type: 'string'
|
|
297
|
-
},
|
|
298
|
-
contentMediaType: {
|
|
299
|
-
type: 'string'
|
|
300
|
-
},
|
|
301
|
-
contentEncoding: {
|
|
302
|
-
type: 'string'
|
|
303
|
-
},
|
|
304
|
-
if: {
|
|
305
|
-
$ref: '#'
|
|
306
|
-
},
|
|
307
|
-
then: {
|
|
308
|
-
$ref: '#'
|
|
309
|
-
},
|
|
310
|
-
else: {
|
|
311
|
-
$ref: '#'
|
|
312
|
-
},
|
|
313
|
-
allOf: {
|
|
314
|
-
$ref: '#/definitions/schemaArray'
|
|
315
|
-
},
|
|
316
|
-
anyOf: {
|
|
317
|
-
$ref: '#/definitions/schemaArray'
|
|
318
|
-
},
|
|
319
|
-
oneOf: {
|
|
320
|
-
$ref: '#/definitions/schemaArray'
|
|
321
|
-
},
|
|
322
|
-
not: {
|
|
323
|
-
$ref: '#'
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
default: true
|
|
327
|
-
});
|
|
328
|
-
var createTestSchema = function createTestSchema(optionsSchema) {
|
|
329
|
-
return {
|
|
330
|
-
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
331
|
-
$id: 'http://www.splunk.com/dashboard.schema.json',
|
|
332
|
-
title: 'Dashboard Definition',
|
|
333
|
-
description: 'Dashboard Definition',
|
|
334
|
-
type: 'object',
|
|
335
|
-
properties: optionsSchema
|
|
336
|
-
};
|
|
337
|
-
}; // Below 2 regexs are copied from dashboard-framework/packages/dashboard-utils/src/token.jsc
|
|
98
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
338
99
|
|
|
339
|
-
|
|
340
|
-
// ex: token.name|lower|capitalize (new-style filter chain)
|
|
100
|
+
/***/ }),
|
|
341
101
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
// https://stackoverflow.com/questions/9585973/javascript-regular-expression-for-rgb-values/9586150
|
|
345
|
-
// https://github.com/regexhq/rgba-regex
|
|
346
|
-
// NOTE: this will incorrectly accept values like rgb(999,999,999), but may be overkill to specify a regex that limits values to <= 255
|
|
102
|
+
/***/ 62:
|
|
103
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
347
104
|
|
|
348
|
-
|
|
349
|
-
var rgbaColorPattern = /^rgba\(\s*(\d{1,3}%?),\s*(\d{1,3}%?),\s*(\d{1,3}%?),\s*(\d*(?:\.\d+)?)\)$/; // todo: rename this to COLOR_PATTERN and replace all occurences.
|
|
105
|
+
"use strict";
|
|
350
106
|
|
|
351
|
-
var colorPattern = '^#[0-9a-fA-F]{6}$|transparent';
|
|
352
|
-
var colorPatternWithRGBA = "".concat(colorPattern, "|").concat(rgbColorPattern.source, "|").concat(rgbaColorPattern.source);
|
|
353
|
-
var COLOR_OR_TOKEN_PATTERN = "".concat(colorPattern, "|").concat(TOKEN_PATTERN);
|
|
354
|
-
var COLOR_OR_TOKEN_PATTERN_WITH_RGBA = "".concat(colorPatternWithRGBA, "|").concat(TOKEN_PATTERN); // dynamic option DSL expressions always start with a >
|
|
355
107
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
* @returns {string}
|
|
361
|
-
*/
|
|
108
|
+
Object.defineProperty(exports, "__esModule", {
|
|
109
|
+
value: true
|
|
110
|
+
});
|
|
111
|
+
exports.getPattern = exports.DYNAMIC_OPTIONS_DSL_PATTERN = exports.COLOR_OR_TOKEN_PATTERN_WITH_RGBA = exports.COLOR_OR_TOKEN_PATTERN = exports.colorPatternWithRGBA = exports.colorPattern = exports.rgbaColorPattern = exports.rgbColorPattern = exports.TOKEN_PATTERN = exports.createTestSchema = exports.default = void 0; // Re-exported for backwards compatibility. Deprecate and remove in a future major release.
|
|
362
112
|
|
|
363
|
-
var
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
113
|
+
var visualization_schemas_1 = __webpack_require__(22);
|
|
114
|
+
|
|
115
|
+
Object.defineProperty(exports, "default", {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function get() {
|
|
118
|
+
return visualization_schemas_1.schemaDraft07;
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(exports, "createTestSchema", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function get() {
|
|
124
|
+
return visualization_schemas_1.createTestSchema;
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
Object.defineProperty(exports, "TOKEN_PATTERN", {
|
|
128
|
+
enumerable: true,
|
|
129
|
+
get: function get() {
|
|
130
|
+
return visualization_schemas_1.TOKEN_PATTERN;
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(exports, "rgbColorPattern", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function get() {
|
|
136
|
+
return visualization_schemas_1.rgbColorPattern;
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
Object.defineProperty(exports, "rgbaColorPattern", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function get() {
|
|
142
|
+
return visualization_schemas_1.rgbaColorPattern;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "colorPattern", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function get() {
|
|
148
|
+
return visualization_schemas_1.colorPattern;
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
Object.defineProperty(exports, "colorPatternWithRGBA", {
|
|
152
|
+
enumerable: true,
|
|
153
|
+
get: function get() {
|
|
154
|
+
return visualization_schemas_1.colorPatternWithRGBA;
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
Object.defineProperty(exports, "COLOR_OR_TOKEN_PATTERN", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function get() {
|
|
160
|
+
return visualization_schemas_1.COLOR_OR_TOKEN_PATTERN;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
Object.defineProperty(exports, "COLOR_OR_TOKEN_PATTERN_WITH_RGBA", {
|
|
164
|
+
enumerable: true,
|
|
165
|
+
get: function get() {
|
|
166
|
+
return visualization_schemas_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA;
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
Object.defineProperty(exports, "DYNAMIC_OPTIONS_DSL_PATTERN", {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function get() {
|
|
172
|
+
return visualization_schemas_1.DYNAMIC_OPTIONS_DSL_PATTERN;
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
Object.defineProperty(exports, "getPattern", {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function get() {
|
|
178
|
+
return visualization_schemas_1.getPattern;
|
|
179
|
+
}
|
|
180
|
+
});
|
|
368
181
|
|
|
369
182
|
/***/ })
|
|
370
183
|
|
package/schemaUtils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/schemaUtils.js"],"names":["$schema","$id","title","definitions","schemaArray","type","minItems","items","$ref","nonNegativeInteger","minimum","nonNegativeIntegerDefault0","allOf","default","simpleTypes","enum","stringArray","uniqueItems","properties","format","$comment","description","readOnly","examples","multipleOf","exclusiveMinimum","maximum","exclusiveMaximum","maxLength","minLength","pattern","additionalItems","anyOf","maxItems","contains","maxProperties","minProperties","required","additionalProperties","patternProperties","propertyNames","dependencies","const","contentMediaType","contentEncoding","if","then","else","oneOf","not","createTestSchema","optionsSchema","TOKEN_NAMESPACE_PREFIX_PATTERN","TOKEN_NAME_CHARS_PATTERN","TOKEN_PATTERN","rgbColorPattern","rgbaColorPattern","colorPattern","colorPatternWithRGBA","COLOR_OR_TOKEN_PATTERN","COLOR_OR_TOKEN_PATTERN_WITH_RGBA","DYNAMIC_OPTIONS_DSL_PATTERN","getPattern"],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAe;AACXA,SAAO,EADI;AAEXC,KAAG,EAFQ;AAGXC,OAAK,EAHM;AAIXC,aAAW,EAAE;AACTC,eAAW,EAAE;AACTC,UAA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AR,KAtHC;AAuHRyC,OAAG,EAAE;AAAEzC,UAAI,EAAE;AAAR;AAvHG,GA5BD;AAqJXK,SAAO,EAAE;AArJE,CAAf;AAwJO,IAAMqC,gBAAgB,GAAG,SAAnBA,gBAAmB,gBAAa;AAAA,SAAK;AAC9ClD,WAAO,EADuC;AAE9CC,OAAG,EAF2C;AAG9CC,SAAK,EAHyC;AAI9CmB,eAAW,EAJmC;AAK9ChB,QAAI,EAL0C;AAM9Ca,cAAU,EAAEiC;AANkC,GAAL;AAAtC,E,CASP;;AACA,IAAMC,8BAA8B,GAAG,UAAvC,O,CACA;AACA;;AACA,IAAMC,wBAAwB,GAAG,wBAAjC;AAEO,IAAMC,aAAa,GACtB,0EAA0E,KADvE,O,CAEP;AACA;AACA;AACA;;AACO,IAAMC,eAAe,GAArB;AACA,IAAMC,gBAAgB,GAAtB,4E,CACP;;AACO,IAAMC,YAAY,GAAlB;AACA,IAAMC,oBAAoB,uCAAsBH,eAAe,CAArC,oBAAgDC,gBAAgB,CAA1F,MAA0B,CAA1B;AACA,IAAMG,sBAAsB,uCAA5B,aAA4B,CAA5B;AACA,IAAMC,gCAAgC,+CAAtC,aAAsC,CAAtC,C,CACP;;AACO,IAAMC,2BAA2B,GAAG,OAApC;AACP;AACA;AACA;AACA;AACA;;AACO,IAAMC,UAAU,GAAG,SAAbA,UAAa,SAAM;AAAA,SAC5B,MAAM,CAAN,OAAc;AAAA;AAAd,KAD4B,aAC5B,CAD4B;AAAzB,E","file":"schemaUtils.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 22);\n","export default {\n $schema: 'http://json-schema.org/draft-07/schema#',\n $id: 'http://json-schema.org/draft-07/schema#',\n title: 'Core schema meta-schema',\n definitions: {\n schemaArray: {\n type: 'array',\n minItems: 1,\n items: { $ref: '#' },\n },\n nonNegativeInteger: {\n type: 'integer',\n minimum: 0,\n },\n nonNegativeIntegerDefault0: {\n allOf: [{ $ref: '#/definitions/nonNegativeInteger' }, { default: 0 }],\n },\n simpleTypes: {\n enum: ['array', 'boolean', 'integer', 'null', 'number', 'object', 'string'],\n },\n stringArray: {\n type: 'array',\n items: { type: 'string' },\n uniqueItems: true,\n default: [],\n },\n },\n type: ['object', 'boolean'],\n properties: {\n $id: {\n type: 'string',\n format: 'uri-reference',\n },\n $schema: {\n type: 'string',\n format: 'uri',\n },\n $ref: {\n type: 'string',\n format: 'uri-reference',\n },\n $comment: {\n type: 'string',\n },\n title: {\n type: 'string',\n },\n description: {\n type: 'string',\n },\n default: true,\n readOnly: {\n type: 'boolean',\n default: false,\n },\n examples: {\n type: 'array',\n items: true,\n },\n multipleOf: {\n type: 'number',\n exclusiveMinimum: 0,\n },\n maximum: {\n type: 'number',\n },\n exclusiveMaximum: {\n type: 'number',\n },\n minimum: {\n type: 'number',\n },\n exclusiveMinimum: {\n type: 'number',\n },\n maxLength: { $ref: '#/definitions/nonNegativeInteger' },\n minLength: { $ref: '#/definitions/nonNegativeIntegerDefault0' },\n pattern: {\n type: 'string',\n format: 'regex',\n },\n additionalItems: { $ref: '#' },\n items: {\n anyOf: [{ $ref: '#' }, { $ref: '#/definitions/schemaArray' }],\n default: true,\n },\n maxItems: { $ref: '#/definitions/nonNegativeInteger' },\n minItems: { $ref: '#/definitions/nonNegativeIntegerDefault0' },\n uniqueItems: {\n type: 'boolean',\n default: false,\n },\n contains: { $ref: '#' },\n maxProperties: { $ref: '#/definitions/nonNegativeInteger' },\n minProperties: { $ref: '#/definitions/nonNegativeIntegerDefault0' },\n required: { $ref: '#/definitions/stringArray' },\n additionalProperties: { $ref: '#' },\n definitions: {\n type: 'object',\n additionalProperties: { $ref: '#' },\n default: {},\n },\n properties: {\n type: 'object',\n additionalProperties: { $ref: '#' },\n default: {},\n },\n patternProperties: {\n type: 'object',\n additionalProperties: { $ref: '#' },\n propertyNames: { format: 'regex' },\n default: {},\n },\n dependencies: {\n type: 'object',\n additionalProperties: {\n anyOf: [{ $ref: '#' }, { $ref: '#/definitions/stringArray' }],\n },\n },\n propertyNames: { $ref: '#' },\n const: true,\n enum: {\n type: 'array',\n items: true,\n minItems: 1,\n uniqueItems: true,\n },\n type: {\n anyOf: [\n { $ref: '#/definitions/simpleTypes' },\n {\n type: 'array',\n items: { $ref: '#/definitions/simpleTypes' },\n minItems: 1,\n uniqueItems: true,\n },\n ],\n },\n format: { type: 'string' },\n contentMediaType: { type: 'string' },\n contentEncoding: { type: 'string' },\n if: { $ref: '#' },\n then: { $ref: '#' },\n else: { $ref: '#' },\n allOf: { $ref: '#/definitions/schemaArray' },\n anyOf: { $ref: '#/definitions/schemaArray' },\n oneOf: { $ref: '#/definitions/schemaArray' },\n not: { $ref: '#' },\n },\n default: true,\n};\n\nexport const createTestSchema = optionsSchema => ({\n $schema: 'http://json-schema.org/draft-07/schema#',\n $id: 'http://www.splunk.com/dashboard.schema.json',\n title: 'Dashboard Definition',\n description: 'Dashboard Definition',\n type: 'object',\n properties: optionsSchema,\n});\n\n// Below 2 regexs are copied from dashboard-framework/packages/dashboard-utils/src/token.jsc\nconst TOKEN_NAMESPACE_PREFIX_PATTERN = /(\\w+:)?/.source;\n// ex: token.name|suh (old-style filter chain)\n// ex: token.name|lower|capitalize (new-style filter chain)\nconst TOKEN_NAME_CHARS_PATTERN = /([^$|:]+?)(\\|[|\\w]+)?/.source;\n\nexport const TOKEN_PATTERN =\n /\\$/.source + TOKEN_NAMESPACE_PREFIX_PATTERN + TOKEN_NAME_CHARS_PATTERN + /\\$/.source;\n// rgb and rgba regexes were derived from:\n// https://stackoverflow.com/questions/9585973/javascript-regular-expression-for-rgb-values/9586150\n// https://github.com/regexhq/rgba-regex\n// NOTE: this will incorrectly accept values like rgb(999,999,999), but may be overkill to specify a regex that limits values to <= 255\nexport const rgbColorPattern = /^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$/;\nexport const rgbaColorPattern = /^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$/;\n// todo: rename this to COLOR_PATTERN and replace all occurences.\nexport const colorPattern = '^#[0-9a-fA-F]{6}$|transparent';\nexport const colorPatternWithRGBA = `${colorPattern}|${rgbColorPattern.source}|${rgbaColorPattern.source}`;\nexport const COLOR_OR_TOKEN_PATTERN = `${colorPattern}|${TOKEN_PATTERN}`;\nexport const COLOR_OR_TOKEN_PATTERN_WITH_RGBA = `${colorPatternWithRGBA}|${TOKEN_PATTERN}`;\n// dynamic option DSL expressions always start with a >\nexport const DYNAMIC_OPTIONS_DSL_PATTERN = /^>.*/.source;\n/**\n * Returns the regex string that matches each passed in value as well as tokens.\n * @param {Array.<string>} values\n * @returns {string}\n */\nexport const getPattern = values =>\n values.reduce((accumulator, value) => `${accumulator}|^${value}$`, TOKEN_PATTERN);\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/visualization-schemas\"","webpack:///./src/schemaUtils.ts"],"names":[],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;AClFA,0D;;;;;;;;;;;;;+TCAA;;AACA;;AACI;AAAA;AAAA;AAAA;AAAa;AAAb;AACA;AAAA;AAAA;AAAA;AAAgB;AAAhB;AACA;AAAA;AAAA;AAAA;AAAa;AAAb;AACA;AAAA;AAAA;AAAA;AAAe;AAAf;AACA;AAAA;AAAA;AAAA;AAAgB;AAAhB;AACA;AAAA;AAAA;AAAA;AAAY;AAAZ;AACA;AAAA;AAAA;AAAA;AAAoB;AAApB;AACA;AAAA;AAAA;AAAA;AAAsB;AAAtB;AACA;AAAA;AAAA;AAAA;AAAgC;AAAhC;AACA;AAAA;AAAA;AAAA;AAA2B;AAA3B;AACA;AAAA;AAAA;AAAA;AAAU;AAAV,G","file":"schemaUtils.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 62);\n","module.exports = require(\"@splunk/visualization-schemas\");","// Re-exported for backwards compatibility. Deprecate and remove in a future major release.\nexport {\n schemaDraft07 as default,\n createTestSchema,\n TOKEN_PATTERN,\n rgbColorPattern,\n rgbaColorPattern,\n colorPattern,\n colorPatternWithRGBA,\n COLOR_OR_TOKEN_PATTERN,\n COLOR_OR_TOKEN_PATTERN_WITH_RGBA,\n DYNAMIC_OPTIONS_DSL_PATTERN,\n getPattern,\n} from '@splunk/visualization-schemas';\n"],"sourceRoot":""}
|
package/simpleXMLOptions.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 63);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -99,7 +99,7 @@ module.exports = require("lodash/invert");
|
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
|
-
/***/
|
|
102
|
+
/***/ 63:
|
|
103
103
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
104
104
|
|
|
105
105
|
"use strict";
|
package/simpleXMLOptions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"lodash/invert\"","webpack:///./src/simpleXMLOptions.js"],"names":["simpleXMLOptionsToPropsMap","propsToSimpleXMLOptionsMap","invert","replaceObjectKeysFromMap","object","map","isValidKey","nuObject","Object","nuKey","getPropsForSimpleXMLOptions","options","value","getSimpleXMLOptionsForProps","props"],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QAC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B,GAAG,SAA9BA,2BAA8B;AAAA,MAACC,OAAD;AAAA,SACvCR,wBAAwB,sCAAsC,iBAAK;AAAA,WAAIS,KAAK,CAALA,iBAAuB,CAA3B;AAD5B,GACf,CADe;AAApC;AAGA,IAAMC,2BAA2B,GAAG,SAA9BA,2BAA8B;AAAA,MAACC,KAAD;AAAA,SACvCX,wBAAwB,QADe,0BACf,CADe;AAApC,E","file":"simpleXMLOptions.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 62);\n","module.exports = require(\"lodash/invert\");","import invert from 'lodash/invert';\n\nconst simpleXMLOptionsToPropsMap = {\n 'annotation.categoryColors': 'annotationColor',\n 'axisLabelsX.axisVisibility': 'xAxisVisibility',\n 'axisLabelsY.axisVisibility': 'yAxisVisibility',\n 'axisLabelsX.integerUnits': 'roundXAxisLabelsToInteger',\n 'axisLabelsY.integerUnits': 'roundYAxisLabelsToInteger',\n 'axisLabelsY2.integerUnits': 'roundY2AxisLabelsToInteger',\n 'axisLabelsY2.axisVisibility': 'y2AxisVisibility',\n 'axisLabelsX.extendsAxisRange': 'xAxisExtendsAxisRange',\n 'axisLabelsY.extendsAxisRange': 'yAxisExtendsAxisRange',\n 'axisLabelsX.majorLabelStyle.rotation': 'xAxisMajorLabelRotation',\n 'axisLabelsX.majorLabelVisibility': 'xAxisMajorLabelVisibility',\n 'axisLabelsY.majorLabelVisibility': 'yAxisMajorLabelVisibility',\n 'axisLabelsY2.majorLabelVisibility': 'y2AxisMajorLabelVisibility',\n 'axisLabelsX.majorTickSize': 'xAxisMajorTickSize',\n 'axisLabelsY.majorTickSize': 'yAxisMajorTickSize',\n 'axisLabelsY2.majorTickSize': 'y2AxisMajorTickSize',\n 'axisLabelsX.minorTickSize': 'xAxisMinorTickSize',\n 'axisLabelsY.minorTickSize': 'yAxisMinorTickSize',\n 'axisLabelsY2.minorTickSize': 'y2AxisMinorTickSize',\n 'axisLabelsX.majorTickVisibility': 'xAxisMajorTickVisibility',\n 'axisLabelsY.majorTickVisibility': 'yAxisMajorTickVisibility',\n 'axisLabelsY2.majorTickVisibility': 'y2AxisMajorTickVisibility',\n 'axisLabelsX.majorUnit': 'xAxisMajorUnit',\n 'axisLabelsY.majorUnit': 'yAxisMajorUnit',\n 'axisLabelsY2.majorUnit': 'y2AxisMajorUnit',\n 'axisLabelsX.minorTickVisibility': 'xAxisMinorTickVisibility',\n 'axisLabelsY.minorTickVisibility': 'yAxisMinorTickVisibility',\n 'axisLabelsY2.minorTickVisibility': 'y2AxisMinorTickVisibility',\n 'axisLabelsX.maxLabelParts': 'xAxisMaxLabelParts',\n 'axisX.abbreviation': 'xAxisAbbreviation',\n 'axisY.abbreviation': 'yAxisAbbreviation',\n 'axisY2.abbreviation': 'y2AxisAbbreviation',\n 'axisX.includeZero': 'xAxisIncludeZero',\n 'axisY.includeZero': 'yAxisIncludeZero',\n 'axisY2.includeZero': 'y2AxisIncludeZero',\n 'axisX.maximumNumber': 'xAxisMax',\n 'axisY.maximumNumber': 'yAxisMax',\n 'axisY2.maximumNumber': 'y2AxisMax',\n 'axisX.minimumNumber': 'xAxisMin',\n 'axisY.minimumNumber': 'yAxisMin',\n 'axisY2.minimumNumber': 'y2AxisMin',\n 'axisX.scale': 'xAxisScale',\n 'axisY.scale': 'yAxisScale',\n 'axisY2.scale': 'y2AxisScale',\n 'axisTitleX.text': 'xAxisTitleText',\n 'axisTitleY.text': 'yAxisTitleText',\n 'axisTitleY2.text': 'y2AxisTitleText',\n 'axisTitleX.alignment': 'xAxisTitleAlignment',\n 'axisTitleY.alignment': 'yAxisTitleAlignment',\n 'axisTitleY2.alignment': 'y2AxisTitleAlignment',\n 'axisTitleX.visibility': 'xAxisTitleVisibility',\n 'axisTitleY.visibility': 'yAxisTitleVisibility',\n 'axisTitleY2.visibility': 'y2AxisTitleVisibility',\n 'chart.resultTruncationLimit': 'resultTruncationLimit',\n 'chart.overlayFields': 'overlayFields',\n 'axisY2.enabled': 'enableY2Axis',\n 'axisY2.fields': 'y2AxisField',\n 'chart.barSpacing': 'barSpacing',\n 'chart.columnSpacing': 'columnSpacing',\n 'chart.seriesSpacing': 'seriesSpacing',\n 'chart.nullValueMode': 'nullValueMode',\n 'chart.markerSize': 'markerSize',\n 'chart.showDataLabels': 'showDataLabels',\n 'chart.showLegend': 'showLegend',\n 'chart.showLines': 'showLines',\n 'chart.showMarkers': 'showMarkers',\n 'chart.stackMode': 'stackMode',\n 'data.fieldListMode': 'fieldListMode',\n 'data.fieldShowList': 'fieldShowList',\n 'data.fieldHideList': 'fieldHideList',\n 'gridLinesX.showMajorLines': 'showMajorXGridLines',\n 'gridLinesY.showMajorLines': 'showMajorYGridLines',\n 'gridLinesY2.showMajorLines': 'showMajorY2GridLines',\n 'gridLinesX.showMinorLines': 'showMinorXGridLines',\n 'gridLinesY.showMinorLines': 'showMinorYGridLines',\n 'gridLinesY2.showMinorLines': 'showMinorY2GridLines',\n 'layout.splitSeries': 'splitSeries',\n 'layout.splitSeries.allowIndependentYRanges': 'allowIndependentYRanges',\n 'legend.labels': 'legendLabels',\n 'legend.labelStyle.overflowMode': 'legendLabelOverflowMode',\n 'legend.masterLegend': 'masterLegend',\n 'legend.mode': 'legendMode',\n 'legend.placement': 'legendPlacement',\n 'chart.bubbleMaximumSize': 'bubbleMaxSize',\n 'chart.bubbleMinimumSize': 'bubbleMinSize',\n 'chart.bubbleSizeBy': 'bubbleSizeBy',\n};\n\nconst propsToSimpleXMLOptionsMap = invert(simpleXMLOptionsToPropsMap);\n\n// export to make it testable\nexport const replaceObjectKeysFromMap = (object = {}, map = {}, isValidKey = () => true) => {\n const nuObject = {};\n Object.keys(object).forEach(key => {\n const nuKey = map[key];\n if (!nuKey) {\n if (isValidKey(key)) {\n // @TODO(pwied):\n // get rid of this and ensure all known props are passed down to visualizations explicitly\n // captured here: SCP-14634\n nuObject[key] = object[key];\n }\n } else {\n nuObject[nuKey] = object[key];\n }\n });\n return nuObject;\n};\n\nexport const getPropsForSimpleXMLOptions = (options = {}) =>\n replaceObjectKeysFromMap(options, simpleXMLOptionsToPropsMap, value => value.indexOf('.') === -1);\n\nexport const getSimpleXMLOptionsForProps = (props = {}) =>\n replaceObjectKeysFromMap(props, propsToSimpleXMLOptionsMap);\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"lodash/invert\"","webpack:///./src/simpleXMLOptions.js"],"names":["simpleXMLOptionsToPropsMap","propsToSimpleXMLOptionsMap","invert","replaceObjectKeysFromMap","object","map","isValidKey","nuObject","Object","nuKey","getPropsForSimpleXMLOptions","options","value","getSimpleXMLOptionsForProps","props"],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QAC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AAAA,SACvCX,wBAAwB,QADe,0BACf,CADe;AAApC,E","file":"simpleXMLOptions.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 63);\n","module.exports = require(\"lodash/invert\");","import invert from 'lodash/invert';\n\nconst simpleXMLOptionsToPropsMap = {\n 'annotation.categoryColors': 'annotationColor',\n 'axisLabelsX.axisVisibility': 'xAxisVisibility',\n 'axisLabelsY.axisVisibility': 'yAxisVisibility',\n 'axisLabelsX.integerUnits': 'roundXAxisLabelsToInteger',\n 'axisLabelsY.integerUnits': 'roundYAxisLabelsToInteger',\n 'axisLabelsY2.integerUnits': 'roundY2AxisLabelsToInteger',\n 'axisLabelsY2.axisVisibility': 'y2AxisVisibility',\n 'axisLabelsX.extendsAxisRange': 'xAxisExtendsAxisRange',\n 'axisLabelsY.extendsAxisRange': 'yAxisExtendsAxisRange',\n 'axisLabelsX.majorLabelStyle.rotation': 'xAxisMajorLabelRotation',\n 'axisLabelsX.majorLabelVisibility': 'xAxisMajorLabelVisibility',\n 'axisLabelsY.majorLabelVisibility': 'yAxisMajorLabelVisibility',\n 'axisLabelsY2.majorLabelVisibility': 'y2AxisMajorLabelVisibility',\n 'axisLabelsX.majorTickSize': 'xAxisMajorTickSize',\n 'axisLabelsY.majorTickSize': 'yAxisMajorTickSize',\n 'axisLabelsY2.majorTickSize': 'y2AxisMajorTickSize',\n 'axisLabelsX.minorTickSize': 'xAxisMinorTickSize',\n 'axisLabelsY.minorTickSize': 'yAxisMinorTickSize',\n 'axisLabelsY2.minorTickSize': 'y2AxisMinorTickSize',\n 'axisLabelsX.majorTickVisibility': 'xAxisMajorTickVisibility',\n 'axisLabelsY.majorTickVisibility': 'yAxisMajorTickVisibility',\n 'axisLabelsY2.majorTickVisibility': 'y2AxisMajorTickVisibility',\n 'axisLabelsX.majorUnit': 'xAxisMajorUnit',\n 'axisLabelsY.majorUnit': 'yAxisMajorUnit',\n 'axisLabelsY2.majorUnit': 'y2AxisMajorUnit',\n 'axisLabelsX.minorTickVisibility': 'xAxisMinorTickVisibility',\n 'axisLabelsY.minorTickVisibility': 'yAxisMinorTickVisibility',\n 'axisLabelsY2.minorTickVisibility': 'y2AxisMinorTickVisibility',\n 'axisLabelsX.maxLabelParts': 'xAxisMaxLabelParts',\n 'axisX.abbreviation': 'xAxisAbbreviation',\n 'axisY.abbreviation': 'yAxisAbbreviation',\n 'axisY2.abbreviation': 'y2AxisAbbreviation',\n 'axisX.includeZero': 'xAxisIncludeZero',\n 'axisY.includeZero': 'yAxisIncludeZero',\n 'axisY2.includeZero': 'y2AxisIncludeZero',\n 'axisX.maximumNumber': 'xAxisMax',\n 'axisY.maximumNumber': 'yAxisMax',\n 'axisY2.maximumNumber': 'y2AxisMax',\n 'axisX.minimumNumber': 'xAxisMin',\n 'axisY.minimumNumber': 'yAxisMin',\n 'axisY2.minimumNumber': 'y2AxisMin',\n 'axisX.scale': 'xAxisScale',\n 'axisY.scale': 'yAxisScale',\n 'axisY2.scale': 'y2AxisScale',\n 'axisTitleX.text': 'xAxisTitleText',\n 'axisTitleY.text': 'yAxisTitleText',\n 'axisTitleY2.text': 'y2AxisTitleText',\n 'axisTitleX.alignment': 'xAxisTitleAlignment',\n 'axisTitleY.alignment': 'yAxisTitleAlignment',\n 'axisTitleY2.alignment': 'y2AxisTitleAlignment',\n 'axisTitleX.visibility': 'xAxisTitleVisibility',\n 'axisTitleY.visibility': 'yAxisTitleVisibility',\n 'axisTitleY2.visibility': 'y2AxisTitleVisibility',\n 'chart.resultTruncationLimit': 'resultTruncationLimit',\n 'chart.overlayFields': 'overlayFields',\n 'axisY2.enabled': 'enableY2Axis',\n 'axisY2.fields': 'y2AxisField',\n 'chart.barSpacing': 'barSpacing',\n 'chart.columnSpacing': 'columnSpacing',\n 'chart.seriesSpacing': 'seriesSpacing',\n 'chart.nullValueMode': 'nullValueMode',\n 'chart.markerSize': 'markerSize',\n 'chart.showDataLabels': 'showDataLabels',\n 'chart.showLegend': 'showLegend',\n 'chart.showLines': 'showLines',\n 'chart.showMarkers': 'showMarkers',\n 'chart.stackMode': 'stackMode',\n 'data.fieldListMode': 'fieldListMode',\n 'data.fieldShowList': 'fieldShowList',\n 'data.fieldHideList': 'fieldHideList',\n 'gridLinesX.showMajorLines': 'showMajorXGridLines',\n 'gridLinesY.showMajorLines': 'showMajorYGridLines',\n 'gridLinesY2.showMajorLines': 'showMajorY2GridLines',\n 'gridLinesX.showMinorLines': 'showMinorXGridLines',\n 'gridLinesY.showMinorLines': 'showMinorYGridLines',\n 'gridLinesY2.showMinorLines': 'showMinorY2GridLines',\n 'layout.splitSeries': 'splitSeries',\n 'layout.splitSeries.allowIndependentYRanges': 'allowIndependentYRanges',\n 'legend.labels': 'legendLabels',\n 'legend.labelStyle.overflowMode': 'legendLabelOverflowMode',\n 'legend.masterLegend': 'masterLegend',\n 'legend.mode': 'legendMode',\n 'legend.placement': 'legendPlacement',\n 'chart.bubbleMaximumSize': 'bubbleMaxSize',\n 'chart.bubbleMinimumSize': 'bubbleMinSize',\n 'chart.bubbleSizeBy': 'bubbleSizeBy',\n};\n\nconst propsToSimpleXMLOptionsMap = invert(simpleXMLOptionsToPropsMap);\n\n// export to make it testable\nexport const replaceObjectKeysFromMap = (object = {}, map = {}, isValidKey = () => true) => {\n const nuObject = {};\n Object.keys(object).forEach(key => {\n const nuKey = map[key];\n if (!nuKey) {\n if (isValidKey(key)) {\n // @TODO(pwied):\n // get rid of this and ensure all known props are passed down to visualizations explicitly\n // captured here: SCP-14634\n nuObject[key] = object[key];\n }\n } else {\n nuObject[nuKey] = object[key];\n }\n });\n return nuObject;\n};\n\nexport const getPropsForSimpleXMLOptions = (options = {}) =>\n replaceObjectKeysFromMap(options, simpleXMLOptionsToPropsMap, value => value.indexOf('.') === -1);\n\nexport const getSimpleXMLOptionsForProps = (props = {}) =>\n replaceObjectKeysFromMap(props, propsToSimpleXMLOptionsMap);\n"],"sourceRoot":""}
|
package/testHelper.js
CHANGED
|
@@ -87,12 +87,12 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 64);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
94
94
|
|
|
95
|
-
/***/
|
|
95
|
+
/***/ 64:
|
|
96
96
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
97
97
|
|
|
98
98
|
"use strict";
|
package/testHelper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/testHelper.js"],"names":["defaultAreaProps","legendPlacement","legendLabelOverflowMode","legendMode","masterLegend","resultTruncationLimit","xAxisVisibility","yAxisVisibility","yAxisExtendsAxisRange","xAxisMajorLabelVisibility","yAxisMajorLabelVisibility","xAxisMajorTickSize","yAxisMajorTickSize","yAxisMinorTickSize","xAxisMajorTickVisibility","yAxisMajorTickVisibility","yAxisMajorUnit","yAxisMinorTickVisibility","yAxisAbbreviation","yAxisIncludeZero","xAxisMax","yAxisMax","yAxisMin","yAxisScale","xAxisTitleVisibility","yAxisTitleVisibility","showMajorYGridLines","showMinorYGridLines","y2AxisMajorLabelVisibility","y2AxisMajorTickSize","y2AxisMinorTickSize","y2AxisMajorTickVisibility","y2AxisMajorUnit","y2AxisMinorTickVisibility","y2AxisAbbreviation","roundY2AxisLabelsToInteger","y2AxisIncludeZero","y2AxisMax","y2AxisMin","y2AxisScale","y2AxisTitleVisibility","showMajorY2GridLines","showMinorY2GridLines","y2AxisVisibility","enableY2Axis","fieldListMode","xAxisMajorLabelRotation","showMajorXGridLines","splitSeries","allowIndependentYRanges","showDataLabels","stackMode","areaFillOpacity","nullValueMode","showLines","xAxisTitleAlignment","yAxisTitleAlignment","y2AxisTitleAlignment","areaLineCap","areaLineWidth","lineWidth","xAxisMaxLabelParts","defaultColumnProps","columnGrouping","columnFillOpacity","showTooltip","defaultLineProps","roundYAxisLabelsToInteger","lineDashStyle","showMarkers","showMarkerHalo","lineMarkerStyle","defaultBarProps","defaultPunchcardProps","theme","backgroundColor","showBubbleLabels","bubbleRowScale","bubbleScale","category","colorMode","seriesColors","bubbleColor","minBubbleColorIntensity","showMaxValuePulsation","height","width","isBubbleSizeDynamic","minBubbleSize","maxBubbleSize","maxBubbleRadius","minBubbleRadius","showLegend","useDefaultSort","defaultBubbleProps","xAxisExtendsAxisRange","xAxisMajorUnit","xAxisAbbreviation","roundXAxisLabelsToInteger","xAxisMinorTickSize","xAxisMinorTickVisibility","xAxisIncludeZero","xAxisMin","xAxisScale","bubbleMaxSize","bubbleMinSize","bubbleSizeBy","showMinorXGridLines","defaultScatterProps","markerSize"],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2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AmB,GAAG;AAC/B3G,iBAAe,EADgB;AAE/BC,yBAAuB,EAFQ;AAG/BE,cAAY,EAHmB;AAI/BC,uBAAqB,EAJU;AAK/BC,iBAAe,EALgB;AAM/BC,iBAAe,EANgB;AAO/BC,uBAAqB,EAPU;AAQ/BC,2BAAyB,EARM;AAS/BC,2BAAyB,EATM;AAU/BC,oBAAkB,EAVa;AAW/BC,oBAAkB,EAXa;AAY/BC,oBAAkB,EAZa;AAa/BC,0BAAwB,EAbO;AAc/BC,0BAAwB,EAdO;AAe/BC,gBAAc,EAfiB;AAgB/BC,0BAAwB,EAhBO;AAiB/BC,mBAAiB,EAjBc;AAkB/BC,kBAAgB,EAlBe;AAmB/BC,UAAQ,EAnBuB;AAoB/BC,UAAQ,EApBuB;AAqB/BC,UAAQ,EArBuB;AAsB/BC,YAAU,EAtBqB;AAuB/BC,sBAAoB,EAvBW;AAwB/BC,sBAAoB,EAxBW;AAyB/BC,qBAAmB,EAzBY;AA0B/BC,qBAAmB,EA1BY;AA2B/BoE,uBAAqB,EA3BU;AA4B/BjD,yBAAuB,EA5BQ;AA6B/BkD,gBAAc,EA7BiB;AA8B/BC,mBAAiB,EA9Bc;AA+B/BC,2BAAyB,EA/BM;AAgC/BC,oBAAkB,EAhCa;AAiC/BC,0BAAwB,EAjCO;AAkC/BC,kBAAgB,EAlCe;AAmC/BC,UAAQ,EAnCuB;AAoC/BC,YAAU,EApCqB;AAqC/BI,qBAAmB,EArCY;AAsC/BE,YAAU,EAtCqB;AAuC/BhD,oBAAkB,EAAE;AAvCW,CAA5B,C","file":"testHelper.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 63);\n","export const defaultAreaProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n legendMode: 'standard',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'hide',\n yAxisMajorTickVisibility: 'hide',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n y2AxisMajorLabelVisibility: 'auto',\n y2AxisMajorTickSize: 6,\n y2AxisMinorTickSize: 6,\n y2AxisMajorTickVisibility: 'hide',\n y2AxisMajorUnit: 'auto',\n y2AxisMinorTickVisibility: 'auto',\n y2AxisAbbreviation: 'none',\n roundY2AxisLabelsToInteger: false,\n y2AxisIncludeZero: false,\n y2AxisMax: 'auto',\n y2AxisMin: 'auto',\n y2AxisScale: 'linear',\n y2AxisTitleVisibility: 'visible',\n showMajorY2GridLines: true,\n showMinorY2GridLines: false,\n y2AxisVisibility: 'hide',\n enableY2Axis: false,\n fieldListMode: 'hide_show',\n xAxisMajorLabelRotation: 0,\n showMajorXGridLines: true,\n splitSeries: false,\n allowIndependentYRanges: false,\n showDataLabels: 'none',\n stackMode: 'default',\n areaFillOpacity: 0.75,\n nullValueMode: 'gaps',\n showLines: true,\n xAxisTitleAlignment: 'low',\n yAxisTitleAlignment: 'low',\n y2AxisTitleAlignment: 'low',\n areaLineCap: 'round',\n areaLineWidth: 1.5,\n lineWidth: 2,\n xAxisMaxLabelParts: 3,\n};\n\nexport const defaultColumnProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'auto',\n yAxisMajorTickVisibility: 'auto',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n y2AxisMajorLabelVisibility: 'auto',\n y2AxisMajorTickSize: 6,\n y2AxisMinorTickSize: 6,\n y2AxisMajorTickVisibility: 'auto',\n y2AxisMajorUnit: 'auto',\n y2AxisMinorTickVisibility: 'auto',\n y2AxisAbbreviation: 'none',\n roundY2AxisLabelsToInteger: false,\n y2AxisIncludeZero: false,\n y2AxisMax: 'auto',\n y2AxisMin: 'auto',\n y2AxisScale: 'linear',\n y2AxisTitleVisibility: 'visible',\n showMajorY2GridLines: true,\n showMinorY2GridLines: false,\n y2AxisVisibility: 'hide',\n enableY2Axis: false,\n fieldListMode: 'hide_show',\n xAxisMajorLabelRotation: 0,\n showMajorXGridLines: false,\n splitSeries: false,\n allowIndependentYRanges: false,\n showDataLabels: 'none',\n stackMode: 'default',\n columnGrouping: 'default',\n columnFillOpacity: 1,\n lineWidth: 2,\n xAxisMaxLabelParts: 3,\n showTooltip: true,\n};\n\nexport const defaultLineProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n legendMode: 'standard',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'hide',\n yAxisMajorTickVisibility: 'hide',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n y2AxisMajorLabelVisibility: 'auto',\n y2AxisMajorTickSize: 6,\n y2AxisMinorTickSize: 6,\n y2AxisMajorTickVisibility: 'hide',\n y2AxisMajorUnit: 'auto',\n y2AxisMinorTickVisibility: 'auto',\n y2AxisAbbreviation: 'none',\n roundYAxisLabelsToInteger: false,\n roundY2AxisLabelsToInteger: false,\n y2AxisIncludeZero: false,\n y2AxisMax: 'auto',\n y2AxisMin: 'auto',\n y2AxisScale: 'linear',\n y2AxisTitleVisibility: 'visible',\n showMajorY2GridLines: true,\n showMinorY2GridLines: false,\n y2AxisVisibility: 'hide',\n enableY2Axis: false,\n fieldListMode: 'hide_show',\n xAxisMajorLabelRotation: 0,\n showMajorXGridLines: true,\n splitSeries: false,\n allowIndependentYRanges: false,\n showDataLabels: 'none',\n nullValueMode: 'gaps',\n lineDashStyle: 'solid',\n lineWidth: 2,\n showMarkers: true,\n showMarkerHalo: false,\n lineMarkerStyle: 'hollow',\n xAxisTitleAlignment: 'low',\n yAxisTitleAlignment: 'low',\n y2AxisTitleAlignment: 'low',\n xAxisMaxLabelParts: 3,\n};\n\nexport const defaultBarProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'auto',\n yAxisMajorTickVisibility: 'auto',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n y2AxisMajorLabelVisibility: 'auto',\n y2AxisMajorTickSize: 6,\n y2AxisMinorTickSize: 6,\n y2AxisMajorTickVisibility: 'auto',\n y2AxisMajorUnit: 'auto',\n y2AxisMinorTickVisibility: 'auto',\n y2AxisAbbreviation: 'none',\n roundY2AxisLabelsToInteger: false,\n y2AxisIncludeZero: false,\n y2AxisMax: 'auto',\n y2AxisMin: 'auto',\n y2AxisScale: 'linear',\n y2AxisTitleVisibility: 'visible',\n showMajorY2GridLines: true,\n showMinorY2GridLines: false,\n y2AxisVisibility: 'hide',\n enableY2Axis: false,\n fieldListMode: 'hide_show',\n splitSeries: false,\n allowIndependentYRanges: false,\n showDataLabels: 'none',\n stackMode: 'default',\n lineWidth: 2,\n xAxisMaxLabelParts: 3,\n};\n\nexport const defaultPunchcardProps = {\n theme: undefined,\n backgroundColor: 'transparent',\n showBubbleLabels: 'all',\n bubbleRowScale: 'global',\n bubbleScale: 'area',\n category: null,\n colorMode: 'categorical',\n seriesColors: [\n '#7B56DB',\n '#0089CF',\n '#00CDAF',\n '#DD9900',\n '#FF677B',\n '#CB2196',\n '#813193',\n '#0051B5',\n '#008C80',\n '#99B100',\n '#FFA476',\n '#FF6ACE',\n '#AE8CFF',\n '#00689D',\n '#00490A',\n '#465D00',\n '#9D6300',\n '#F6540B',\n '#FF969E',\n '#E47BFE',\n ],\n bubbleColor: '#7B56DB',\n minBubbleColorIntensity: 0.25,\n showMaxValuePulsation: true,\n height: 500,\n width: '100%',\n isBubbleSizeDynamic: true,\n minBubbleSize: 0.25,\n maxBubbleSize: 1,\n maxBubbleRadius: 15,\n minBubbleRadius: 1,\n showLegend: true,\n useDefaultSort: false,\n};\n\nexport const defaultBubbleProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'auto',\n yAxisMajorTickVisibility: 'auto',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n xAxisExtendsAxisRange: true,\n xAxisMajorLabelRotation: 0,\n xAxisMajorUnit: 'auto',\n xAxisAbbreviation: 'none',\n roundXAxisLabelsToInteger: false,\n xAxisMinorTickSize: 6,\n xAxisMinorTickVisibility: 'auto',\n xAxisIncludeZero: false,\n xAxisMin: 'auto',\n xAxisScale: 'linear',\n bubbleMaxSize: 50,\n bubbleMinSize: 10,\n bubbleSizeBy: 'area',\n showMinorXGridLines: false,\n xAxisMaxLabelParts: 3,\n};\n\nexport const defaultScatterProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'auto',\n yAxisMajorTickVisibility: 'auto',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n xAxisExtendsAxisRange: true,\n xAxisMajorLabelRotation: 0,\n xAxisMajorUnit: 'auto',\n xAxisAbbreviation: 'none',\n roundXAxisLabelsToInteger: false,\n xAxisMinorTickSize: 6,\n xAxisMinorTickVisibility: 'auto',\n xAxisIncludeZero: false,\n xAxisMin: 'auto',\n xAxisScale: 'linear',\n showMinorXGridLines: false,\n markerSize: 4,\n xAxisMaxLabelParts: 3,\n};\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/testHelper.js"],"names":["defaultAreaProps","legendPlacement","legendLabelOverflowMode","legendMode","masterLegend","resultTruncationLimit","xAxisVisibility","yAxisVisibility","yAxisExtendsAxisRange","xAxisMajorLabelVisibility","yAxisMajorLabelVisibility","xAxisMajorTickSize","yAxisMajorTickSize","yAxisMinorTickSize","xAxisMajorTickVisibility","yAxisMajorTickVisibility","yAxisMajorUnit","yAxisMinorTickVisibility","yAxisAbbreviation","yAxisIncludeZero","xAxisMax","yAxisMax","yAxisMin","yAxisScale","xAxisTitleVisibility","yAxisTitleVisibility","showMajorYGridLines","showMinorYGridLines","y2AxisMajorLabelVisibility","y2AxisMajorTickSize","y2AxisMinorTickSize","y2AxisMajorTickVisibility","y2AxisMajorUnit","y2AxisMinorTickVisibility","y2AxisAbbreviation","roundY2AxisLabelsToInteger","y2AxisIncludeZero","y2AxisMax","y2AxisMin","y2AxisScale","y2AxisTitleVisibility","showMajorY2GridLines","showMinorY2GridLines","y2AxisVisibility","enableY2Axis","fieldListMode","xAxisMajorLabelRotation","showMajorXGridLines","splitSeries","allowIndependentYRanges","showDataLabels","stackMode","areaFillOpacity","nullValueMode","showLines","xAxisTitleAlignment","yAxisTitleAlignment","y2AxisTitleAlignment","areaLineCap","areaLineWidth","lineWidth","xAxisMaxLabelParts","defaultColumnProps","columnGrouping","columnFillOpacity","showTooltip","defaultLineProps","roundYAxisLabelsToInteger","lineDashStyle","showMarkers","showMarkerHalo","lineMarkerStyle","defaultBarProps","defaultPunchcardProps","theme","backgroundColor","showBubbleLabels","bubbleRowScale","bubbleScale","category","colorMode","seriesColors","bubbleColor","minBubbleColorIntensity","showMaxValuePulsation","height","width","isBubbleSizeDynamic","minBubbleSize","maxBubbleSize","maxBubbleRadius","minBubbleRadius","showLegend","useDefaultSort","defaultBubbleProps","xAxisExtendsAxisRange","xAxisMajorUnit","xAxisAbbreviation","roundXAxisLabelsToInteger","xAxisMinorTickSize","xAxisMinorTickVisibility","xAxisIncludeZero","xAxisMin","xAxisScale","bubbleMaxSize","bubbleMinSize","bubbleSizeBy","showMinorXGridLines","defaultScatterProps","markerSize"],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QA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CiB;AAsC9BC,eAAa,EAtCiB;AAuC9BC,cAAY,EAvCkB;AAwC9BC,qBAAmB,EAxCW;AAyC9B9C,oBAAkB,EAAE;AAzCU,CAA3B;AA4CA,IAAM+C,mBAAmB,GAAG;AAC/B3G,iBAAe,EADgB;AAE/BC,yBAAuB,EAFQ;AAG/BE,cAAY,EAHmB;AAI/BC,uBAAqB,EAJU;AAK/BC,iBAAe,EALgB;AAM/BC,iBAAe,EANgB;AAO/BC,uBAAqB,EAPU;AAQ/BC,2BAAyB,EARM;AAS/BC,2BAAyB,EATM;AAU/BC,oBAAkB,EAVa;AAW/BC,oBAAkB,EAXa;AAY/BC,oBAAkB,EAZa;AAa/BC,0BAAwB,EAbO;AAc/BC,0BAAwB,EAdO;AAe/BC,gBAAc,EAfiB;AAgB/BC,0BAAwB,EAhBO;AAiB/BC,mBAAiB,EAjBc;AAkB/BC,kBAAgB,EAlBe;AAmB/BC,UAAQ,EAnBuB;AAoB/BC,UAAQ,EApBuB;AAqB/BC,UAAQ,EArBuB;AAsB/BC,YAAU,EAtBqB;AAuB/BC,sBAAoB,EAvBW;AAwB/BC,sBAAoB,EAxBW;AAyB/BC,qBAAmB,EAzBY;AA0B/BC,qBAAmB,EA1BY;AA2B/BoE,uBAAqB,EA3BU;AA4B/BjD,yBAAuB,EA5BQ;AA6B/BkD,gBAAc,EA7BiB;AA8B/BC,mBAAiB,EA9Bc;AA+B/BC,2BAAyB,EA/BM;AAgC/BC,oBAAkB,EAhCa;AAiC/BC,0BAAwB,EAjCO;AAkC/BC,kBAAgB,EAlCe;AAmC/BC,UAAQ,EAnCuB;AAoC/BC,YAAU,EApCqB;AAqC/BI,qBAAmB,EArCY;AAsC/BE,YAAU,EAtCqB;AAuC/BhD,oBAAkB,EAAE;AAvCW,CAA5B,C","file":"testHelper.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 64);\n","export const defaultAreaProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n legendMode: 'standard',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'hide',\n yAxisMajorTickVisibility: 'hide',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n y2AxisMajorLabelVisibility: 'auto',\n y2AxisMajorTickSize: 6,\n y2AxisMinorTickSize: 6,\n y2AxisMajorTickVisibility: 'hide',\n y2AxisMajorUnit: 'auto',\n y2AxisMinorTickVisibility: 'auto',\n y2AxisAbbreviation: 'none',\n roundY2AxisLabelsToInteger: false,\n y2AxisIncludeZero: false,\n y2AxisMax: 'auto',\n y2AxisMin: 'auto',\n y2AxisScale: 'linear',\n y2AxisTitleVisibility: 'visible',\n showMajorY2GridLines: true,\n showMinorY2GridLines: false,\n y2AxisVisibility: 'hide',\n enableY2Axis: false,\n fieldListMode: 'hide_show',\n xAxisMajorLabelRotation: 0,\n showMajorXGridLines: true,\n splitSeries: false,\n allowIndependentYRanges: false,\n showDataLabels: 'none',\n stackMode: 'default',\n areaFillOpacity: 0.75,\n nullValueMode: 'gaps',\n showLines: true,\n xAxisTitleAlignment: 'low',\n yAxisTitleAlignment: 'low',\n y2AxisTitleAlignment: 'low',\n areaLineCap: 'round',\n areaLineWidth: 1.5,\n lineWidth: 2,\n xAxisMaxLabelParts: 3,\n};\n\nexport const defaultColumnProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'auto',\n yAxisMajorTickVisibility: 'auto',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n y2AxisMajorLabelVisibility: 'auto',\n y2AxisMajorTickSize: 6,\n y2AxisMinorTickSize: 6,\n y2AxisMajorTickVisibility: 'auto',\n y2AxisMajorUnit: 'auto',\n y2AxisMinorTickVisibility: 'auto',\n y2AxisAbbreviation: 'none',\n roundY2AxisLabelsToInteger: false,\n y2AxisIncludeZero: false,\n y2AxisMax: 'auto',\n y2AxisMin: 'auto',\n y2AxisScale: 'linear',\n y2AxisTitleVisibility: 'visible',\n showMajorY2GridLines: true,\n showMinorY2GridLines: false,\n y2AxisVisibility: 'hide',\n enableY2Axis: false,\n fieldListMode: 'hide_show',\n xAxisMajorLabelRotation: 0,\n showMajorXGridLines: false,\n splitSeries: false,\n allowIndependentYRanges: false,\n showDataLabels: 'none',\n stackMode: 'default',\n columnGrouping: 'default',\n columnFillOpacity: 1,\n lineWidth: 2,\n xAxisMaxLabelParts: 3,\n showTooltip: true,\n};\n\nexport const defaultLineProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n legendMode: 'standard',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'hide',\n yAxisMajorTickVisibility: 'hide',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n y2AxisMajorLabelVisibility: 'auto',\n y2AxisMajorTickSize: 6,\n y2AxisMinorTickSize: 6,\n y2AxisMajorTickVisibility: 'hide',\n y2AxisMajorUnit: 'auto',\n y2AxisMinorTickVisibility: 'auto',\n y2AxisAbbreviation: 'none',\n roundYAxisLabelsToInteger: false,\n roundY2AxisLabelsToInteger: false,\n y2AxisIncludeZero: false,\n y2AxisMax: 'auto',\n y2AxisMin: 'auto',\n y2AxisScale: 'linear',\n y2AxisTitleVisibility: 'visible',\n showMajorY2GridLines: true,\n showMinorY2GridLines: false,\n y2AxisVisibility: 'hide',\n enableY2Axis: false,\n fieldListMode: 'hide_show',\n xAxisMajorLabelRotation: 0,\n showMajorXGridLines: true,\n splitSeries: false,\n allowIndependentYRanges: false,\n showDataLabels: 'none',\n nullValueMode: 'gaps',\n lineDashStyle: 'solid',\n lineWidth: 2,\n showMarkers: true,\n showMarkerHalo: false,\n lineMarkerStyle: 'hollow',\n xAxisTitleAlignment: 'low',\n yAxisTitleAlignment: 'low',\n y2AxisTitleAlignment: 'low',\n xAxisMaxLabelParts: 3,\n};\n\nexport const defaultBarProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'auto',\n yAxisMajorTickVisibility: 'auto',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n y2AxisMajorLabelVisibility: 'auto',\n y2AxisMajorTickSize: 6,\n y2AxisMinorTickSize: 6,\n y2AxisMajorTickVisibility: 'auto',\n y2AxisMajorUnit: 'auto',\n y2AxisMinorTickVisibility: 'auto',\n y2AxisAbbreviation: 'none',\n roundY2AxisLabelsToInteger: false,\n y2AxisIncludeZero: false,\n y2AxisMax: 'auto',\n y2AxisMin: 'auto',\n y2AxisScale: 'linear',\n y2AxisTitleVisibility: 'visible',\n showMajorY2GridLines: true,\n showMinorY2GridLines: false,\n y2AxisVisibility: 'hide',\n enableY2Axis: false,\n fieldListMode: 'hide_show',\n splitSeries: false,\n allowIndependentYRanges: false,\n showDataLabels: 'none',\n stackMode: 'default',\n lineWidth: 2,\n xAxisMaxLabelParts: 3,\n};\n\nexport const defaultPunchcardProps = {\n theme: undefined,\n backgroundColor: 'transparent',\n showBubbleLabels: 'all',\n bubbleRowScale: 'global',\n bubbleScale: 'area',\n category: null,\n colorMode: 'categorical',\n seriesColors: [\n '#7B56DB',\n '#0089CF',\n '#00CDAF',\n '#DD9900',\n '#FF677B',\n '#CB2196',\n '#813193',\n '#0051B5',\n '#008C80',\n '#99B100',\n '#FFA476',\n '#FF6ACE',\n '#AE8CFF',\n '#00689D',\n '#00490A',\n '#465D00',\n '#9D6300',\n '#F6540B',\n '#FF969E',\n '#E47BFE',\n ],\n bubbleColor: '#7B56DB',\n minBubbleColorIntensity: 0.25,\n showMaxValuePulsation: true,\n height: 500,\n width: '100%',\n isBubbleSizeDynamic: true,\n minBubbleSize: 0.25,\n maxBubbleSize: 1,\n maxBubbleRadius: 15,\n minBubbleRadius: 1,\n showLegend: true,\n useDefaultSort: false,\n};\n\nexport const defaultBubbleProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'auto',\n yAxisMajorTickVisibility: 'auto',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n xAxisExtendsAxisRange: true,\n xAxisMajorLabelRotation: 0,\n xAxisMajorUnit: 'auto',\n xAxisAbbreviation: 'none',\n roundXAxisLabelsToInteger: false,\n xAxisMinorTickSize: 6,\n xAxisMinorTickVisibility: 'auto',\n xAxisIncludeZero: false,\n xAxisMin: 'auto',\n xAxisScale: 'linear',\n bubbleMaxSize: 50,\n bubbleMinSize: 10,\n bubbleSizeBy: 'area',\n showMinorXGridLines: false,\n xAxisMaxLabelParts: 3,\n};\n\nexport const defaultScatterProps = {\n legendPlacement: 'right',\n legendLabelOverflowMode: 'ellipsisMiddle',\n masterLegend: null,\n resultTruncationLimit: 50000,\n xAxisVisibility: 'hide',\n yAxisVisibility: 'hide',\n yAxisExtendsAxisRange: true,\n xAxisMajorLabelVisibility: 'auto',\n yAxisMajorLabelVisibility: 'auto',\n xAxisMajorTickSize: 6,\n yAxisMajorTickSize: 6,\n yAxisMinorTickSize: 6,\n xAxisMajorTickVisibility: 'auto',\n yAxisMajorTickVisibility: 'auto',\n yAxisMajorUnit: 'auto',\n yAxisMinorTickVisibility: 'auto',\n yAxisAbbreviation: 'none',\n yAxisIncludeZero: false,\n xAxisMax: 'auto',\n yAxisMax: 'auto',\n yAxisMin: 'auto',\n yAxisScale: 'linear',\n xAxisTitleVisibility: 'visible',\n yAxisTitleVisibility: 'visible',\n showMajorYGridLines: true,\n showMinorYGridLines: false,\n xAxisExtendsAxisRange: true,\n xAxisMajorLabelRotation: 0,\n xAxisMajorUnit: 'auto',\n xAxisAbbreviation: 'none',\n roundXAxisLabelsToInteger: false,\n xAxisMinorTickSize: 6,\n xAxisMinorTickVisibility: 'auto',\n xAxisIncludeZero: false,\n xAxisMin: 'auto',\n xAxisScale: 'linear',\n showMinorXGridLines: false,\n markerSize: 4,\n xAxisMaxLabelParts: 3,\n};\n"],"sourceRoot":""}
|