@splunk/visualizations 26.2.0 → 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/Area.config.js +91 -594
- package/Area.config.js.map +1 -1
- package/Area.js +184 -689
- package/Area.js.map +1 -1
- package/Bar.config.js +92 -561
- package/Bar.config.js.map +1 -1
- package/Bar.js +184 -655
- package/Bar.js.map +1 -1
- package/Bubble.config.js +83 -482
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +177 -578
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +76 -201
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +173 -301
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +92 -599
- package/Column.config.js.map +1 -1
- package/Column.js +184 -693
- package/Column.js.map +1 -1
- package/Ellipse.config.js +82 -200
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +137 -262
- package/Ellipse.js.map +1 -1
- package/Events.config.js +61 -282
- package/Events.config.js.map +1 -1
- package/Events.js +222 -428
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +90 -219
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +163 -299
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +61 -157
- package/Image.config.js.map +1 -1
- package/Image.js +130 -242
- package/Image.js.map +1 -1
- package/Line.config.js +91 -606
- package/Line.config.js.map +1 -1
- package/Line.js +184 -701
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +74 -256
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +17198 -24224
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +128 -1123
- package/Map.config.js.map +1 -1
- package/Map.js +309 -680
- package/Map.js.map +1 -1
- package/Markdown.config.js +61 -188
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +190 -323
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +137 -297
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1038 -1203
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +71 -191
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +218 -343
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +72 -240
- package/Pie.config.js.map +1 -1
- package/Pie.js +214 -381
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +71 -305
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +246 -477
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +211 -347
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +274 -416
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +71 -213
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +246 -382
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +85 -463
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +825 -1202
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +114 -409
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +287 -582
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +30 -30
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +113 -378
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +268 -533
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +110 -382
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +272 -543
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +24 -24
- package/SparkLine.js.map +1 -1
- package/Table.config.js +74 -496
- package/Table.config.js.map +1 -1
- package/Table.js +302 -720
- package/Table.js.map +1 -1
- package/common/Charting.js +22 -34
- package/common/Charting.js.map +1 -1
- package/common/DocExampleWithVizSandbox.js +21 -21
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +39 -40
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +2 -2
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +19 -19
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +2 -2
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +10 -10
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +10 -10
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +25 -155
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +75 -87
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/featureFlagUtils.js +4 -4
- package/common/utils/featureFlagUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +51 -54
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +7 -7
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +7 -36
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +7 -6
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +65 -77
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +46 -49
- package/common/utils/layoutUtils.js +0 -115
- package/common/utils/layoutUtils.js.map +0 -1
|
@@ -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 = 37);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
94
94
|
|
|
95
|
-
/***/
|
|
95
|
+
/***/ 37:
|
|
96
96
|
/***/ (function(module, exports, __webpack_require__) {
|
|
97
97
|
|
|
98
98
|
"use strict";
|
|
@@ -103,7 +103,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
103
103
|
});
|
|
104
104
|
exports.getFeatureFlag = void 0;
|
|
105
105
|
|
|
106
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
106
|
+
var FeatureFlags_1 = __webpack_require__(38);
|
|
107
107
|
|
|
108
108
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
109
109
|
// look for feature flag in context first
|
|
@@ -128,7 +128,7 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
128
128
|
|
|
129
129
|
/***/ }),
|
|
130
130
|
|
|
131
|
-
/***/
|
|
131
|
+
/***/ 38:
|
|
132
132
|
/***/ (function(module, exports) {
|
|
133
133
|
|
|
134
134
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/common/utils/featureFlagUtils.ts","webpack:///external \"@splunk/visualization-context/FeatureFlags\""],"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;;;;;;;;;;;;;;;;ACjFA;;AAEO,IAAM,cAAc,GAAG,SAAjB,cAAiB,CAAC,OAAD,EAAiD,QAAjD,EAA8E;AACxG;AACA,MAAI,OAAO,IAAI,MAAM,CAAC,IAAP,CAAY,OAAZ,EAAqB,IAArB,CAA0B,aAAG;AAAA,WAAI,GAAG,KAAK,QAAZ;AAAA,GAA7B,CAAf,EAAmE;AAC/D,WAAO,OAAO,CAAC,QAAD,CAAd;AACH,GAJuG,CAMxG;;;AACA,MAAI,MAAM,CAAC,IAAP,CAAY,sBAAZ,EAA0B,IAA1B,CAA+B,aAAG;AAAA,WAAI,GAAG,KAAK,QAAZ;AAAA,GAAlC,CAAJ,EAA6D;AACzD,WAAO,uBAAa,QAAb,CAAP;AACH,GATuG,CAWxG;;;AACA,SAAO,KAAP;AACH,CAbM;;AAAM,yBAAc,cAAd,C;;;;;;;ACHb,uE","file":"featureFlagUtils.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 =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/common/utils/featureFlagUtils.ts","webpack:///external \"@splunk/visualization-context/FeatureFlags\""],"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;;;;;;;;;;;;;;;;ACjFA;;AAEO,IAAM,cAAc,GAAG,SAAjB,cAAiB,CAAC,OAAD,EAAiD,QAAjD,EAA8E;AACxG;AACA,MAAI,OAAO,IAAI,MAAM,CAAC,IAAP,CAAY,OAAZ,EAAqB,IAArB,CAA0B,aAAG;AAAA,WAAI,GAAG,KAAK,QAAZ;AAAA,GAA7B,CAAf,EAAmE;AAC/D,WAAO,OAAO,CAAC,QAAD,CAAd;AACH,GAJuG,CAMxG;;;AACA,MAAI,MAAM,CAAC,IAAP,CAAY,sBAAZ,EAA0B,IAA1B,CAA+B,aAAG;AAAA,WAAI,GAAG,KAAK,QAAZ;AAAA,GAAlC,CAAJ,EAA6D;AACzD,WAAO,uBAAa,QAAb,CAAP;AACH,GATuG,CAWxG;;;AACA,SAAO,KAAP;AACH,CAbM;;AAAM,yBAAc,cAAd,C;;;;;;;ACHb,uE","file":"featureFlagUtils.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 = 37);\n","import * as React from 'react';\nimport FeatureFlags from '@splunk/visualization-context/FeatureFlags';\n\nexport const getFeatureFlag = (context: React.Context<any> | null | undefined, flagName: string): boolean => {\n // look for feature flag in context first\n if (context && Object.keys(context).find(key => key === flagName)) {\n return context[flagName];\n }\n\n // fall back to defaults\n if (Object.keys(FeatureFlags).find(key => key === flagName)) {\n return FeatureFlags[flagName];\n }\n\n // fall back to false\n return false;\n};\n","module.exports = require(\"@splunk/visualization-context/FeatureFlags\");"],"sourceRoot":""}
|
package/common/utils/hocUtils.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 = 39);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
94
94
|
|
|
95
|
-
/***/
|
|
95
|
+
/***/ 39:
|
|
96
96
|
/***/ (function(module, exports, __webpack_require__) {
|
|
97
97
|
|
|
98
98
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/common/utils/hocUtils.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;;;;;;;;;;;;;;;AC9EA;;;;;AAKG;;AACI,IAAM,wBAAwB,GAAG,SAA3B,wBAA2B,OAK7B;AAAA,MAJP,OAIO,QAJP,OAIO;AAAA,MAHP,aAGO,QAHP,aAGO;AACP,MAAM,gBAAgB,GAAG,CAAC,WAAD,EAAc,cAAd,EAA8B,QAA9B,CAAzB;AACA,kBAAgB,CAAC,OAAjB,CAAyB,UAAC,IAAD,EAAuB;AAC5C,QAAI,aAAa,CAAC,IAAD,CAAjB,EAAyB;AACrB;AACA,aAAO,CAAC,IAAD,CAAP,GAAgB,aAAa,CAAC,IAAD,CAA7B;AACH;AACJ,GALD;AAMH,CAbM;;AAAM,mCAAwB,wBAAxB,C","file":"hocUtils.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 =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/common/utils/hocUtils.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;;;;;;;;;;;;;;;AC9EA;;;;;AAKG;;AACI,IAAM,wBAAwB,GAAG,SAA3B,wBAA2B,OAK7B;AAAA,MAJP,OAIO,QAJP,OAIO;AAAA,MAHP,aAGO,QAHP,aAGO;AACP,MAAM,gBAAgB,GAAG,CAAC,WAAD,EAAc,cAAd,EAA8B,QAA9B,CAAzB;AACA,kBAAgB,CAAC,OAAjB,CAAyB,UAAC,IAAD,EAAuB;AAC5C,QAAI,aAAa,CAAC,IAAD,CAAjB,EAAyB;AACrB;AACA,aAAO,CAAC,IAAD,CAAP,GAAgB,aAAa,CAAC,IAAD,CAA7B;AACH;AACJ,GALD;AAMH,CAbM;;AAAM,mCAAwB,wBAAxB,C","file":"hocUtils.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 = 39);\n","import { DashboardVizProps } from '../interfaces/DashboardVizProps';\n\nexport type DashboardVizType = React.ComponentType<DashboardVizProps>;\n\n/**\n * @method extendStaticWrapperProps\n * @param {Object} props\n * @param {DashboardVizType} props.Wrapper\n * @param {DashboardVizType} props.Visualization\n */\nexport const extendStaticWrapperProps = ({\n Wrapper,\n Visualization,\n}: {\n [key: string]: DashboardVizType;\n}): void => {\n const extendProperties = ['propTypes', 'defaultProps', 'config'];\n extendProperties.forEach((prop: string): void => {\n if (Visualization[prop]) {\n // eslint-disable-next-line no-param-reassign\n Wrapper[prop] = Visualization[prop];\n }\n });\n};\n"],"sourceRoot":""}
|
package/common/utils/mapUtils.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 = 40);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -97,17 +97,17 @@ module.exports =
|
|
|
97
97
|
module.exports = require("lodash");
|
|
98
98
|
|
|
99
99
|
/***/ }),
|
|
100
|
-
/* 1
|
|
100
|
+
/* 1 */,
|
|
101
|
+
/* 2 */
|
|
101
102
|
/***/ (function(module, exports) {
|
|
102
103
|
|
|
103
|
-
module.exports = require("@babel/runtime/helpers/
|
|
104
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
104
105
|
|
|
105
106
|
/***/ }),
|
|
106
|
-
/* 2 */,
|
|
107
107
|
/* 3 */
|
|
108
108
|
/***/ (function(module, exports) {
|
|
109
109
|
|
|
110
|
-
module.exports = require("@babel/runtime/helpers/
|
|
110
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
111
111
|
|
|
112
112
|
/***/ }),
|
|
113
113
|
/* 4 */
|
|
@@ -118,7 +118,12 @@ module.exports = require("react");
|
|
|
118
118
|
/***/ }),
|
|
119
119
|
/* 5 */,
|
|
120
120
|
/* 6 */,
|
|
121
|
-
/* 7
|
|
121
|
+
/* 7 */
|
|
122
|
+
/***/ (function(module, exports) {
|
|
123
|
+
|
|
124
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
125
|
+
|
|
126
|
+
/***/ }),
|
|
122
127
|
/* 8 */
|
|
123
128
|
/***/ (function(module, exports) {
|
|
124
129
|
|
|
@@ -176,9 +181,7 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
|
176
181
|
/* 37 */,
|
|
177
182
|
/* 38 */,
|
|
178
183
|
/* 39 */,
|
|
179
|
-
/* 40
|
|
180
|
-
/* 41 */,
|
|
181
|
-
/* 42 */
|
|
184
|
+
/* 40 */
|
|
182
185
|
/***/ (function(module, exports, __webpack_require__) {
|
|
183
186
|
|
|
184
187
|
"use strict";
|
|
@@ -191,13 +194,13 @@ exports.columnsNullToZeros = void 0;
|
|
|
191
194
|
|
|
192
195
|
var types_1 = __webpack_require__(10);
|
|
193
196
|
|
|
194
|
-
var dsl_1 = __webpack_require__(
|
|
197
|
+
var dsl_1 = __webpack_require__(41);
|
|
195
198
|
|
|
196
|
-
var hocUtils_1 = __webpack_require__(
|
|
199
|
+
var hocUtils_1 = __webpack_require__(42);
|
|
197
200
|
|
|
198
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
201
|
+
var JSONSchemaUtils_1 = __webpack_require__(43);
|
|
199
202
|
|
|
200
|
-
var BubbleLayer_1 = __webpack_require__(
|
|
203
|
+
var BubbleLayer_1 = __webpack_require__(44);
|
|
201
204
|
|
|
202
205
|
var columnsNullToZeros = function columnsNullToZeros(config, dataSources, options) {
|
|
203
206
|
var _a, _b;
|
|
@@ -247,25 +250,25 @@ var columnsNullToZeros = function columnsNullToZeros(config, dataSources, option
|
|
|
247
250
|
exports.columnsNullToZeros = columnsNullToZeros;
|
|
248
251
|
|
|
249
252
|
/***/ }),
|
|
250
|
-
/*
|
|
253
|
+
/* 41 */
|
|
251
254
|
/***/ (function(module, exports) {
|
|
252
255
|
|
|
253
256
|
module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
254
257
|
|
|
255
258
|
/***/ }),
|
|
256
|
-
/*
|
|
259
|
+
/* 42 */
|
|
257
260
|
/***/ (function(module, exports) {
|
|
258
261
|
|
|
259
262
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
260
263
|
|
|
261
264
|
/***/ }),
|
|
262
|
-
/*
|
|
265
|
+
/* 43 */
|
|
263
266
|
/***/ (function(module, exports) {
|
|
264
267
|
|
|
265
268
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
266
269
|
|
|
267
270
|
/***/ }),
|
|
268
|
-
/*
|
|
271
|
+
/* 44 */
|
|
269
272
|
/***/ (function(module, exports, __webpack_require__) {
|
|
270
273
|
|
|
271
274
|
"use strict";
|
|
@@ -273,9 +276,9 @@ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
|
273
276
|
|
|
274
277
|
var _slicedToArray = __webpack_require__(8);
|
|
275
278
|
|
|
276
|
-
var _defineProperty = __webpack_require__(
|
|
279
|
+
var _defineProperty = __webpack_require__(3);
|
|
277
280
|
|
|
278
|
-
var _toConsumableArray = __webpack_require__(
|
|
281
|
+
var _toConsumableArray = __webpack_require__(2);
|
|
279
282
|
|
|
280
283
|
var _taggedTemplateLiteral = __webpack_require__(11);
|
|
281
284
|
|
|
@@ -294,9 +297,9 @@ var lodash_1 = __webpack_require__(0);
|
|
|
294
297
|
|
|
295
298
|
var colorUtils_1 = __webpack_require__(13);
|
|
296
299
|
|
|
297
|
-
var MapUtils_1 = __webpack_require__(
|
|
300
|
+
var MapUtils_1 = __webpack_require__(45);
|
|
298
301
|
|
|
299
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
302
|
+
var MarkerWrapper_1 = __webpack_require__(49);
|
|
300
303
|
|
|
301
304
|
exports.GEO_BOUND_PREFIX = '_geo_bounds_';
|
|
302
305
|
exports.GEO_LAT_AND_LONG_FIELD = ['_geo_long_field', '_geo_lat_field'];
|
|
@@ -536,35 +539,37 @@ var BubbleLayer = function BubbleLayer(props) {
|
|
|
536
539
|
exports.default = BubbleLayer;
|
|
537
540
|
|
|
538
541
|
/***/ }),
|
|
539
|
-
/*
|
|
542
|
+
/* 45 */
|
|
540
543
|
/***/ (function(module, exports, __webpack_require__) {
|
|
541
544
|
|
|
542
545
|
"use strict";
|
|
543
546
|
|
|
544
547
|
|
|
545
|
-
var _defineProperty = __webpack_require__(
|
|
548
|
+
var _defineProperty = __webpack_require__(3);
|
|
546
549
|
|
|
547
550
|
var _slicedToArray = __webpack_require__(8);
|
|
548
551
|
|
|
549
|
-
var _toConsumableArray = __webpack_require__(
|
|
552
|
+
var _toConsumableArray = __webpack_require__(2);
|
|
550
553
|
|
|
551
554
|
Object.defineProperty(exports, "__esModule", {
|
|
552
555
|
value: true
|
|
553
556
|
});
|
|
554
|
-
exports.formatMetadata = exports.compareBaseStyles = exports.getScaledOpacities = exports.getGlobalLayerBoundaries = exports.isValidLatLon = exports.bakeBubbleData = exports.sanitizeValues = exports.transposeArray = exports.matchBubbleSize = exports.getStaticColors = exports.getZoomLevelFromGeobin = exports.getZoomConstraintsFromTileConfig = exports.getMapStyle = exports.getTilePreset = exports.
|
|
557
|
+
exports.formatMetadata = exports.compareBaseStyles = exports.getScaledOpacities = exports.getGlobalLayerBoundaries = exports.isValidLatLon = exports.bakeBubbleData = exports.sanitizeValues = exports.transposeArray = exports.matchBubbleSize = exports.getStaticColors = exports.getZoomLevelFromGeobin = exports.getZoomConstraintsFromTileConfig = exports.getMapStyle = exports.getTilePreset = exports.DEFAULT_OPACITY = exports.MAX_BUBBLE_RADIUS = exports.MIN_BUBBLE_RADIUS = exports.MAP_STYLE_VERSION_NUMBER = exports.DEFAULT_SERIES_COLORS = exports.DEFAULT_CLUSTER_COLOR = exports.DEFAULT_RESULT_LIMIT = exports.MIN_LONGITUDE = exports.MAX_LONGITUDE = exports.MIN_LATITUDE = exports.MAX_LATITUDE = void 0;
|
|
555
558
|
|
|
556
559
|
var lodash_1 = __webpack_require__(0);
|
|
557
560
|
|
|
558
|
-
var d3_scale_1 = __webpack_require__(
|
|
561
|
+
var d3_scale_1 = __webpack_require__(46);
|
|
559
562
|
|
|
560
|
-
var chroma = __webpack_require__(
|
|
563
|
+
var chroma = __webpack_require__(47);
|
|
561
564
|
|
|
562
565
|
var colorUtils_1 = __webpack_require__(13);
|
|
563
566
|
|
|
564
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
567
|
+
var visualization_color_palettes_1 = __webpack_require__(48);
|
|
565
568
|
|
|
566
569
|
var types_1 = __webpack_require__(10);
|
|
567
570
|
|
|
571
|
+
var visualization_schemas_1 = __webpack_require__(7);
|
|
572
|
+
|
|
568
573
|
exports.MAX_LATITUDE = 90;
|
|
569
574
|
exports.MIN_LATITUDE = -90;
|
|
570
575
|
exports.MAX_LONGITUDE = 180;
|
|
@@ -583,13 +588,6 @@ exports.MAX_BUBBLE_RADIUS = 45.26; // 85px
|
|
|
583
588
|
exports.DEFAULT_OPACITY = 0.8;
|
|
584
589
|
var LONGITUDE = 'longitude';
|
|
585
590
|
var LATITUDE = 'latitude';
|
|
586
|
-
var LAYER_TYPE;
|
|
587
|
-
|
|
588
|
-
(function (LAYER_TYPE) {
|
|
589
|
-
LAYER_TYPE["Marker"] = "marker";
|
|
590
|
-
LAYER_TYPE["Bubble"] = "bubble";
|
|
591
|
-
LAYER_TYPE["Choropleth"] = "choropleth";
|
|
592
|
-
})(LAYER_TYPE = exports.LAYER_TYPE || (exports.LAYER_TYPE = {}));
|
|
593
591
|
/**
|
|
594
592
|
* Construct a tile preset {key: config} by combining the default + custom tile configs
|
|
595
593
|
* Also returns the default tile config for each theme - light/dark
|
|
@@ -599,7 +597,6 @@ var LAYER_TYPE;
|
|
|
599
597
|
* @returns {Object} tile preset
|
|
600
598
|
*/
|
|
601
599
|
|
|
602
|
-
|
|
603
600
|
var getTilePreset = function getTilePreset(_ref) {
|
|
604
601
|
var _ref$defaultTileConfi = _ref.defaultTileConfig,
|
|
605
602
|
defaultTileConfig = _ref$defaultTileConfi === void 0 ? [] : _ref$defaultTileConfi,
|
|
@@ -977,7 +974,7 @@ exports.isValidLatLon = isValidLatLon;
|
|
|
977
974
|
|
|
978
975
|
var getLatOrLonCoordinates = function getLatOrLonCoordinates(layer, field) {
|
|
979
976
|
var getClusterValues = function getClusterValues(clusterLayer) {
|
|
980
|
-
return (0, lodash_1.get)(clusterLayer, field, []).slice(0, clusterLayer.type === LAYER_TYPE.Marker && clusterLayer.resultLimit ? clusterLayer.resultLimit : exports.DEFAULT_RESULT_LIMIT);
|
|
977
|
+
return (0, lodash_1.get)(clusterLayer, field, []).slice(0, clusterLayer.type === visualization_schemas_1.LAYER_TYPE.Marker && clusterLayer.resultLimit ? clusterLayer.resultLimit : exports.DEFAULT_RESULT_LIMIT);
|
|
981
978
|
};
|
|
982
979
|
|
|
983
980
|
var getChoroplethValues = function getChoroplethValues(choroplethLayer) {
|
|
@@ -990,7 +987,7 @@ var getLatOrLonCoordinates = function getLatOrLonCoordinates(layer, field) {
|
|
|
990
987
|
});
|
|
991
988
|
};
|
|
992
989
|
|
|
993
|
-
return layer.type === LAYER_TYPE.Choropleth ? getChoroplethValues(layer) : getClusterValues(layer);
|
|
990
|
+
return layer.type === visualization_schemas_1.LAYER_TYPE.Choropleth ? getChoroplethValues(layer) : getClusterValues(layer);
|
|
994
991
|
};
|
|
995
992
|
/**
|
|
996
993
|
* Returns the min and max LongLat pairs to determine the layer boundaries to fit all markers/bubbles
|
|
@@ -1103,25 +1100,25 @@ var formatMetadata = function formatMetadata(choroplethLayer, i) {
|
|
|
1103
1100
|
exports.formatMetadata = formatMetadata;
|
|
1104
1101
|
|
|
1105
1102
|
/***/ }),
|
|
1106
|
-
/*
|
|
1103
|
+
/* 46 */
|
|
1107
1104
|
/***/ (function(module, exports) {
|
|
1108
1105
|
|
|
1109
1106
|
module.exports = require("d3-scale");
|
|
1110
1107
|
|
|
1111
1108
|
/***/ }),
|
|
1112
|
-
/*
|
|
1109
|
+
/* 47 */
|
|
1113
1110
|
/***/ (function(module, exports) {
|
|
1114
1111
|
|
|
1115
1112
|
module.exports = require("chroma-js");
|
|
1116
1113
|
|
|
1117
1114
|
/***/ }),
|
|
1118
|
-
/*
|
|
1115
|
+
/* 48 */
|
|
1119
1116
|
/***/ (function(module, exports) {
|
|
1120
1117
|
|
|
1121
1118
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1122
1119
|
|
|
1123
1120
|
/***/ }),
|
|
1124
|
-
/*
|
|
1121
|
+
/* 49 */
|
|
1125
1122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1126
1123
|
|
|
1127
1124
|
"use strict";
|
|
@@ -1146,11 +1143,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1146
1143
|
value: true
|
|
1147
1144
|
});
|
|
1148
1145
|
|
|
1149
|
-
var maplibre_gl_1 = __webpack_require__(
|
|
1146
|
+
var maplibre_gl_1 = __webpack_require__(50);
|
|
1150
1147
|
|
|
1151
1148
|
var React = __webpack_require__(4);
|
|
1152
1149
|
|
|
1153
|
-
var Tooltip_1 = __webpack_require__(
|
|
1150
|
+
var Tooltip_1 = __webpack_require__(51);
|
|
1154
1151
|
|
|
1155
1152
|
var MarkerWrapper = function MarkerWrapper(_a) {
|
|
1156
1153
|
var longitude = _a.longitude,
|
|
@@ -1234,13 +1231,13 @@ var MarkerWrapper = function MarkerWrapper(_a) {
|
|
|
1234
1231
|
exports.default = MarkerWrapper;
|
|
1235
1232
|
|
|
1236
1233
|
/***/ }),
|
|
1237
|
-
/*
|
|
1234
|
+
/* 50 */
|
|
1238
1235
|
/***/ (function(module, exports) {
|
|
1239
1236
|
|
|
1240
1237
|
module.exports = require("maplibre-gl");
|
|
1241
1238
|
|
|
1242
1239
|
/***/ }),
|
|
1243
|
-
/*
|
|
1240
|
+
/* 51 */
|
|
1244
1241
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1245
1242
|
|
|
1246
1243
|
"use strict";
|
|
@@ -1259,26 +1256,26 @@ var React = __webpack_require__(4);
|
|
|
1259
1256
|
|
|
1260
1257
|
var styled_components_1 = __webpack_require__(12);
|
|
1261
1258
|
|
|
1262
|
-
var Popover_1 = __webpack_require__(
|
|
1259
|
+
var Popover_1 = __webpack_require__(52);
|
|
1263
1260
|
|
|
1264
|
-
var i18n_1 = __webpack_require__(
|
|
1261
|
+
var i18n_1 = __webpack_require__(53);
|
|
1265
1262
|
|
|
1266
1263
|
var StyledPopover = (0, styled_components_1.default)(Popover_1.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 250px;\n font-size: 12px;\n"])));
|
|
1267
1264
|
var StyledTable = styled_components_1.default.table.withConfig({
|
|
1268
1265
|
displayName: "Tooltip__StyledTable",
|
|
1269
|
-
componentId: "xwewsa-0"
|
|
1266
|
+
componentId: "sc-xwewsa-0"
|
|
1270
1267
|
})(["margin:2px 6px 2px 6px;width:calc(100% - 12px);"]);
|
|
1271
1268
|
var StyledTitleColumn = styled_components_1.default.td.withConfig({
|
|
1272
1269
|
displayName: "Tooltip__StyledTitleColumn",
|
|
1273
|
-
componentId: "xwewsa-1"
|
|
1270
|
+
componentId: "sc-xwewsa-1"
|
|
1274
1271
|
})(["opacity:0.85;"]);
|
|
1275
1272
|
var StyledValueColumn = styled_components_1.default.td.withConfig({
|
|
1276
1273
|
displayName: "Tooltip__StyledValueColumn",
|
|
1277
|
-
componentId: "xwewsa-2"
|
|
1274
|
+
componentId: "sc-xwewsa-2"
|
|
1278
1275
|
})(["text-align:right;"]);
|
|
1279
1276
|
var StyledColorBlock = styled_components_1.default.div.withConfig({
|
|
1280
1277
|
displayName: "Tooltip__StyledColorBlock",
|
|
1281
|
-
componentId: "xwewsa-3"
|
|
1278
|
+
componentId: "sc-xwewsa-3"
|
|
1282
1279
|
})(["background-color:", ";display:inline-block;margin-right:4px;border-radius:2px;width:6px;height:11px;transform:translateY(1px);"], function (props) {
|
|
1283
1280
|
return props.color;
|
|
1284
1281
|
});
|
|
@@ -1363,13 +1360,13 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
1363
1360
|
exports.default = Tooltip;
|
|
1364
1361
|
|
|
1365
1362
|
/***/ }),
|
|
1366
|
-
/*
|
|
1363
|
+
/* 52 */
|
|
1367
1364
|
/***/ (function(module, exports) {
|
|
1368
1365
|
|
|
1369
1366
|
module.exports = require("@splunk/react-ui/Popover");
|
|
1370
1367
|
|
|
1371
1368
|
/***/ }),
|
|
1372
|
-
/*
|
|
1369
|
+
/* 53 */
|
|
1373
1370
|
/***/ (function(module, exports) {
|
|
1374
1371
|
|
|
1375
1372
|
module.exports = require("@splunk/ui-utils/i18n");
|