@splunk/visualizations-shared 26.3.0 → 26.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Downloader.js +2 -2
- package/Downloader.js.map +1 -1
- package/FileDownloader.js +6 -6
- package/FileDownloader.js.map +1 -1
- package/JSONSchemaUtils.js +4 -4
- package/JSONSchemaUtils.js.map +1 -1
- package/Message.js +4 -4
- package/Message.js.map +1 -1
- package/RemoteIcon.js +16 -18
- package/RemoteIcon.js.map +1 -1
- package/RemoteImage.js +16 -18
- package/RemoteImage.js.map +1 -1
- package/SanitizeProps.js +26 -82
- package/SanitizeProps.js.map +1 -1
- package/SizeAwareWrapper.js +4 -4
- package/SizeAwareWrapper.js.map +1 -1
- package/SizeAwareWrapperDeprecated.js +11 -11
- package/SizeAwareWrapperDeprecated.js.map +1 -1
- package/VisualizationDocPage.js +79 -60
- package/VisualizationDocPage.js.map +1 -1
- package/colorConstants.js +4 -4
- package/colorConstants.js.map +1 -1
- package/colorUtils.js +22 -78
- package/colorUtils.js.map +1 -1
- package/configUtils.js +2 -2
- package/configUtils.js.map +1 -1
- package/console.js +8 -8
- package/console.js.map +1 -1
- package/dataSourceUtils.js +2 -2
- package/dataSourceUtils.js.map +1 -1
- package/domUtils.js +4 -4
- package/domUtils.js.map +1 -1
- package/hocUtils.js +11 -120
- package/hocUtils.js.map +1 -1
- package/i18n.js +4 -4
- package/i18n.js.map +1 -1
- package/iconUtils.js +2 -2
- package/iconUtils.js.map +1 -1
- package/mapUtils.js +12 -40
- package/mapUtils.js.map +1 -1
- package/numberUtils.js +6 -6
- package/numberUtils.js.map +1 -1
- package/package.json +9 -8
- package/previewVizMessage.js +2 -2
- package/previewVizMessage.js.map +1 -1
- package/propUtils.js +4 -4
- package/propUtils.js.map +1 -1
- package/schemaUtils.js +10 -10
- package/schemaUtils.js.map +1 -1
- package/simpleXMLOptions.js +4 -4
- package/simpleXMLOptions.js.map +1 -1
- package/testHelper.js +2 -2
- package/testHelper.js.map +1 -1
- package/themeUtils.js +6 -6
- package/themeUtils.js.map +1 -1
- package/trellisUtils.js +4 -4
- package/trellisUtils.js.map +1 -1
- package/namedColors.js +0 -110
- package/namedColors.js.map +0 -1
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 = 66);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
94
94
|
|
|
95
|
-
/***/
|
|
95
|
+
/***/ 66:
|
|
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,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;ACl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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":""}
|
|
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;QAC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,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 = 66);\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":""}
|
package/themeUtils.js
CHANGED
|
@@ -87,34 +87,34 @@ 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 = 67);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
94
94
|
|
|
95
|
-
/***/
|
|
95
|
+
/***/ 39:
|
|
96
96
|
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
98
|
module.exports = require("lodash/get");
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
|
-
/***/
|
|
102
|
+
/***/ 40:
|
|
103
103
|
/***/ (function(module, exports) {
|
|
104
104
|
|
|
105
105
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
106
106
|
|
|
107
107
|
/***/ }),
|
|
108
108
|
|
|
109
|
-
/***/
|
|
109
|
+
/***/ 67:
|
|
110
110
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
111
111
|
|
|
112
112
|
"use strict";
|
|
113
113
|
__webpack_require__.r(__webpack_exports__);
|
|
114
114
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getChartingThemeKey", function() { return getChartingThemeKey; });
|
|
115
|
-
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
115
|
+
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39);
|
|
116
116
|
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_0__);
|
|
117
|
-
/* harmony import */ var _splunk_themes_getSettingsFromThemedProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
117
|
+
/* harmony import */ var _splunk_themes_getSettingsFromThemedProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(40);
|
|
118
118
|
/* harmony import */ var _splunk_themes_getSettingsFromThemedProps__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_themes_getSettingsFromThemedProps__WEBPACK_IMPORTED_MODULE_1__);
|
|
119
119
|
|
|
120
120
|
// TODO: update splunk-charting to accept 'prisma' directly values
|
package/themeUtils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"lodash/get\"","webpack:///external \"@splunk/themes/getSettingsFromThemedProps\"","webpack:///./src/themeUtils.js"],"names":["chartingThemes","light","enterprise","prisma","dark","getChartingThemeKey","getSettingsFromThemedProps","theme","colorScheme","family","get"],"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,uC;;;;;;;ACAA,sE;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;CAGA;;AACA,IAAMA,cAAc,GAAG;AACnBC,OAAK,EAAE;AACHC,cAAU,EADP;AAEH;AACAC,UAAM,EAAE;AAHL,GADY;AAMnBC,MAAI,EAAE;AACFF,cAAU,EADR;AAEFC,UAAM,EAAE;AAFN;AANa,CAAvB;AAYA;AACA;AACA;AACA;AACA;;AACO,IAAME,mBAAmB,GAAG,SAAtBA,mBAAsB,QAAS;AACxC,MAAI,CAAJ,OAAY;AACR;AACH;;AAHuC,8BAKRC,gFAA0B,CAAC;AAAEC,SAAK,EAALA;AAAF,GAAD,CALlB;AAAA,MAKhCC,WALgC;AAAA,MAKnBC,MALmB;;AAMxC,SAAOC,iDAAG,iBAAiB,cAAjB,MAAiB,CAAjB,EAAV,YAAU,CAAV;AANG,E","file":"themeUtils.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:///external \"lodash/get\"","webpack:///external \"@splunk/themes/getSettingsFromThemedProps\"","webpack:///./src/themeUtils.js"],"names":["chartingThemes","light","enterprise","prisma","dark","getChartingThemeKey","getSettingsFromThemedProps","theme","colorScheme","family","get"],"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,uC;;;;;;;ACAA,sE;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;CAGA;;AACA,IAAMA,cAAc,GAAG;AACnBC,OAAK,EAAE;AACHC,cAAU,EADP;AAEH;AACAC,UAAM,EAAE;AAHL,GADY;AAMnBC,MAAI,EAAE;AACFF,cAAU,EADR;AAEFC,UAAM,EAAE;AAFN;AANa,CAAvB;AAYA;AACA;AACA;AACA;AACA;;AACO,IAAME,mBAAmB,GAAG,SAAtBA,mBAAsB,QAAS;AACxC,MAAI,CAAJ,OAAY;AACR;AACH;;AAHuC,8BAKRC,gFAA0B,CAAC;AAAEC,SAAK,EAALA;AAAF,GAAD,CALlB;AAAA,MAKhCC,WALgC;AAAA,MAKnBC,MALmB;;AAMxC,SAAOC,iDAAG,iBAAiB,cAAjB,MAAiB,CAAjB,EAAV,YAAU,CAAV;AANG,E","file":"themeUtils.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 = 67);\n","module.exports = require(\"lodash/get\");","module.exports = require(\"@splunk/themes/getSettingsFromThemedProps\");","import get from 'lodash/get';\nimport getSettingsFromThemedProps from '@splunk/themes/getSettingsFromThemedProps';\n\n// TODO: update splunk-charting to accept 'prisma' directly values\nconst chartingThemes = {\n light: {\n enterprise: 'default',\n // TODO(fkurniawan): add prisma light theming to splunk-charting once designs are finalized\n prisma: 'default',\n },\n dark: {\n enterprise: 'dark',\n prisma: 'prismaDark',\n },\n};\n\n/*\n * convert theme name for splunk-charting based visualization\n * @params {Object} theme\n * @return {String} 'prismaDark', 'dark' or 'default'\n */\nexport const getChartingThemeKey = theme => {\n if (!theme) {\n return 'prismaDark';\n }\n\n const { colorScheme, family } = getSettingsFromThemedProps({ theme });\n return get(chartingThemes, [colorScheme, family], 'prismaDark');\n};\n"],"sourceRoot":""}
|
package/trellisUtils.js
CHANGED
|
@@ -87,25 +87,25 @@ 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 = 68);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
94
94
|
|
|
95
|
-
/***/
|
|
95
|
+
/***/ 21:
|
|
96
96
|
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
98
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
|
-
/***/
|
|
102
|
+
/***/ 68:
|
|
103
103
|
/***/ (function(module, exports, __webpack_require__) {
|
|
104
104
|
|
|
105
105
|
"use strict";
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
var _toConsumableArray = __webpack_require__(
|
|
108
|
+
var _toConsumableArray = __webpack_require__(21);
|
|
109
109
|
|
|
110
110
|
Object.defineProperty(exports, "__esModule", {
|
|
111
111
|
value: true
|
package/trellisUtils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@babel/runtime/helpers/toConsumableArray\"","webpack:///./src/trellisUtils.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;Q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,EAAE,4CAA+B,MAA/B;AAFX,KAAP;AAIH;;AACD,MAAI,SAAS,KAAK,aAAlB,EAAyB;AACrB,WAAO;AACH,YAAM,qBAAM,0CAA6B,MAA7B,CAAN,CADH;AAEH,kBAAY,qBAAM,mDAAsC,MAAtC,CAAN;AAFT,KAAP;AAIH;;AACD,MAAI,SAAS,KAAK,eAAlB,EAA2B;AACvB,QAAM,UAAU,GAAG,4CAA+B,MAA/B,CAAnB;AACA,WAAO,UAAU,CAAC,MAAX,KAAsB,CAAtB,GACD;AACI,YAAM,EAAE,EADZ;AAEI,kBAAY,qBAAM,UAAN,CAFhB,CAEmC;;AAFnC,KADC,GAKD;AACI,YAAM,qBAAM,UAAN,CADV;AAEI,kBAAY,qBAAM,UAAN;AAFhB,KALN;AASH;;AACD,SAAO,MAAP;AACH,CAlCM;;AAAM,sCAA2B,2BAA3B,C","file":"trellisUtils.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 = 66);\n","module.exports = require(\"@babel/runtime/helpers/toConsumableArray\");","import { FieldEntry } from './dataSourceUtils';\n\nexport const CHART = 'chart';\nexport const TIMECHART = 'timechart';\nexport const STATS = 'stats';\nexport const UNKNOWN = 'unknown';\nexport type DataSplitMode = 'timechart' | 'chart' | 'stats' | 'unknown';\n\nexport const getTrellisDataSplitterMode = (fields: FieldEntry[]): DataSplitMode => {\n /**\n * Possible logic to determine the dataSource mode\n *\n * if (fields[0].name == '_time') and (fields[0].groupby_rank == 0) => timechart data\n * if (fields[0].name != '_time') and (fields[0].groupby_rank == 0) and fields[idx] (where idx >=1 and fields[idx] is not an internal field) has 'splitby_field' key => chart data\n * if fields have no 'splitby_field' key and has 'groupby_rank' for fields ‘0,1,2,..’ => stats data\n * else return 'unknown' (means no field meta info exist to distinguish the datasource)\n */\n if (!fields) {\n return UNKNOWN;\n }\n if (isTimeChartCmdData(fields)) {\n return TIMECHART;\n }\n\n if (isChartCmdData(fields)) {\n return CHART;\n }\n\n if (isStatsCmdData(fields)) {\n return STATS;\n }\n\n return UNKNOWN;\n};\n\nexport const isTimeChartCmdData = (fields: FieldEntry[]): boolean => {\n return (\n fields &&\n fields.length > 0 &&\n fields[0] &&\n fields[0].name === '_time' &&\n fields[0].groupby_rank === '0'\n );\n};\n\nexport const isChartCmdData = (fields: FieldEntry[]): boolean => {\n if (!fields || !fields.length) {\n return false;\n }\n\n if (!checkForTrellisFieldMetaInfo(fields)) {\n return false;\n }\n\n if (fields.length > 1) {\n return fields[0].name !== '_time' && fields[0].groupby_rank === '0' && !fields[1].groupby_rank; // for eg:- only first field has `groupby_rank` (index = \"_internal\" | chart avg(count) max(count) by status)\n }\n for (let i = 1; i < fields.length; i += 1) {\n if (!fields[i].splitby_field) {\n return false;\n }\n }\n return true;\n};\n\nexport const isStatsCmdData = (fields: FieldEntry[]): boolean => {\n if (!fields || !fields.length) {\n return false;\n }\n\n if (!checkForTrellisFieldMetaInfo(fields)) {\n return false;\n }\n\n const groupByRanks = [];\n for (let i = 0; i < fields.length; i += 1) {\n if (fields[i].splitby_field) {\n return false;\n }\n if (fields[i].groupby_rank) {\n groupByRanks.push(fields[i].groupby_rank);\n }\n }\n return groupByRanks.length > 0 && groupByRanks.length < fields.length;\n};\n\n// if no field meta exist in fields (for eg:- 'groupby_rank', 'splitby_field'), return false\nexport const checkForTrellisFieldMetaInfo = (fields: FieldEntry[]): boolean => {\n if (!fields || !fields.length) {\n return false;\n }\n for (let i = 0; i < fields.length; i += 1) {\n if (\n fields[i].groupby_rank ||\n fields[i].splitby_field ||\n fields[i].splitby_value ||\n fields[i].data_source\n ) {\n return true;\n }\n }\n return false;\n};\n\n// Returns possible split by field values for timechart and chart cmds\nexport const extractSplitByFieldsChartFields = (fields: FieldEntry[]): string[] => {\n const fieldsWithoutTime = fields.filter(({ name }) => name !== '_time');\n const splitByFields = [];\n fieldsWithoutTime.forEach(field => {\n if (field.splitby_field) {\n splitByFields.push(field.splitby_field);\n }\n });\n return isTimeChartCmdData(fields)\n ? [...new Set(splitByFields)]\n : [fields[0].name, ...new Set(splitByFields)];\n};\n\n// Extracts the unique field `data_source` values from fields metainfo. Used to compute possible aggregation field values for timechart and chart cmds\nexport const extractDataSourceAggregationKeysChart = (fields: FieldEntry[]): string[] => {\n const fieldsWithoutTime = fields.filter(({ name }) => name !== '_time');\n const aggregations = [];\n fieldsWithoutTime.forEach(field => {\n if (field.data_source) {\n aggregations.push(field.data_source);\n }\n });\n return [...new Set(aggregations)];\n};\n\n// Returns possible aggregation field values for timechart and chart cmds\nexport const extractAllAggregationKeysChart = (fields: FieldEntry[]): string[] => {\n let aggregations = [];\n\n aggregations = extractDataSourceAggregationKeysChart(fields);\n if (aggregations && aggregations.length) {\n return aggregations;\n }\n if ((!aggregations || !aggregations.length) && fields.length > 1) {\n // handle where data_source doesnot exist in fields\n // example1 :- index=_internal | timechart count\n // example2 :- index=_internal | timechart max(count) avg(count)\n for (let i = 1; i < fields.length; i += 1) {\n const fieldName = (fields[i] as FieldEntry).name;\n if (!fieldName.startsWith('_')) {\n aggregations.push(fieldName);\n }\n }\n }\n return aggregations;\n};\n\n// Returns possible aggregation field values for stats cmds (return field names of field that doesnt have `groupby_rank`)\nexport const extractDataSourceAggregationKeysStats = (fields: FieldEntry[]): string[] => {\n const aggregations = [];\n fields.forEach(field => {\n if (field.groupby_rank === undefined) {\n aggregations.push(field.name);\n }\n });\n return aggregations;\n};\n\n// Returns possible split by field values for stats cmds\nexport const extractSplitByFieldsForStats = (fields: FieldEntry[]): string[] => {\n if (!fields) {\n return [];\n }\n const fieldsWithGroupByRank = fields.filter(field => field.groupby_rank);\n return fieldsWithGroupByRank.map(field => field.name);\n};\n\n// Returns possible split by field values for generic cmds (eg:- makeresult, table) that are not chart/timechart/stats cmds\nexport const extractSplitByFieldsForUnknown = (fields: FieldEntry[]): string[] => {\n if (!fields) {\n return [];\n }\n return fields.filter(field => !field?.name.startsWith('_')).map(field => field.name);\n};\n\n// Given the fields meta info of the datasource, this method infers the data splitter mode and\n// returns all possible individual splitBy fields ('fields' property) and aggregation fields ('aggregations' property)\nexport const getAllPossibleSplitByFields = (\n fields: FieldEntry[]\n): { fields: string[]; aggregations: string[] } => {\n const result = { fields: [], aggregations: [] };\n if (!fields || !fields.length) {\n return result;\n }\n // Infer the data splitter mode\n const splitMode = getTrellisDataSplitterMode(fields);\n if (splitMode === TIMECHART || splitMode === CHART) {\n return {\n fields: extractSplitByFieldsChartFields(fields),\n aggregations: extractAllAggregationKeysChart(fields),\n };\n }\n if (splitMode === STATS) {\n return {\n fields: [...extractSplitByFieldsForStats(fields)],\n aggregations: [...extractDataSourceAggregationKeysStats(fields)],\n };\n }\n if (splitMode === UNKNOWN) {\n const fieldNames = extractSplitByFieldsForUnknown(fields);\n return fieldNames.length === 1\n ? {\n fields: [],\n aggregations: [...fieldNames], // only populate the aggregation\n }\n : {\n fields: [...fieldNames],\n aggregations: [...fieldNames],\n };\n }\n return result;\n};\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@babel/runtime/helpers/toConsumableArray\"","webpack:///./src/trellisUtils.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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AA2B,SAAS,KAAK,aAA7C,EAAoD;AAChD,WAAO;AACH,YAAM,EAAE,6CAAgC,MAAhC,CADL;AAEH,kBAAY,EAAE,4CAA+B,MAA/B;AAFX,KAAP;AAIH;;AACD,MAAI,SAAS,KAAK,aAAlB,EAAyB;AACrB,WAAO;AACH,YAAM,qBAAM,0CAA6B,MAA7B,CAAN,CADH;AAEH,kBAAY,qBAAM,mDAAsC,MAAtC,CAAN;AAFT,KAAP;AAIH;;AACD,MAAI,SAAS,KAAK,eAAlB,EAA2B;AACvB,QAAM,UAAU,GAAG,4CAA+B,MAA/B,CAAnB;AACA,WAAO,UAAU,CAAC,MAAX,KAAsB,CAAtB,GACD;AACI,YAAM,EAAE,EADZ;AAEI,kBAAY,qBAAM,UAAN,CAFhB,CAEmC;;AAFnC,KADC,GAKD;AACI,YAAM,qBAAM,UAAN,CADV;AAEI,kBAAY,qBAAM,UAAN;AAFhB,KALN;AASH;;AACD,SAAO,MAAP;AACH,CAlCM;;AAAM,sCAA2B,2BAA3B,C","file":"trellisUtils.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 = 68);\n","module.exports = require(\"@babel/runtime/helpers/toConsumableArray\");","import { FieldEntry } from './dataSourceUtils';\n\nexport const CHART = 'chart';\nexport const TIMECHART = 'timechart';\nexport const STATS = 'stats';\nexport const UNKNOWN = 'unknown';\nexport type DataSplitMode = 'timechart' | 'chart' | 'stats' | 'unknown';\n\nexport const getTrellisDataSplitterMode = (fields: FieldEntry[]): DataSplitMode => {\n /**\n * Possible logic to determine the dataSource mode\n *\n * if (fields[0].name == '_time') and (fields[0].groupby_rank == 0) => timechart data\n * if (fields[0].name != '_time') and (fields[0].groupby_rank == 0) and fields[idx] (where idx >=1 and fields[idx] is not an internal field) has 'splitby_field' key => chart data\n * if fields have no 'splitby_field' key and has 'groupby_rank' for fields ‘0,1,2,..’ => stats data\n * else return 'unknown' (means no field meta info exist to distinguish the datasource)\n */\n if (!fields) {\n return UNKNOWN;\n }\n if (isTimeChartCmdData(fields)) {\n return TIMECHART;\n }\n\n if (isChartCmdData(fields)) {\n return CHART;\n }\n\n if (isStatsCmdData(fields)) {\n return STATS;\n }\n\n return UNKNOWN;\n};\n\nexport const isTimeChartCmdData = (fields: FieldEntry[]): boolean => {\n return (\n fields &&\n fields.length > 0 &&\n fields[0] &&\n fields[0].name === '_time' &&\n fields[0].groupby_rank === '0'\n );\n};\n\nexport const isChartCmdData = (fields: FieldEntry[]): boolean => {\n if (!fields || !fields.length) {\n return false;\n }\n\n if (!checkForTrellisFieldMetaInfo(fields)) {\n return false;\n }\n\n if (fields.length > 1) {\n return fields[0].name !== '_time' && fields[0].groupby_rank === '0' && !fields[1].groupby_rank; // for eg:- only first field has `groupby_rank` (index = \"_internal\" | chart avg(count) max(count) by status)\n }\n for (let i = 1; i < fields.length; i += 1) {\n if (!fields[i].splitby_field) {\n return false;\n }\n }\n return true;\n};\n\nexport const isStatsCmdData = (fields: FieldEntry[]): boolean => {\n if (!fields || !fields.length) {\n return false;\n }\n\n if (!checkForTrellisFieldMetaInfo(fields)) {\n return false;\n }\n\n const groupByRanks = [];\n for (let i = 0; i < fields.length; i += 1) {\n if (fields[i].splitby_field) {\n return false;\n }\n if (fields[i].groupby_rank) {\n groupByRanks.push(fields[i].groupby_rank);\n }\n }\n return groupByRanks.length > 0 && groupByRanks.length < fields.length;\n};\n\n// if no field meta exist in fields (for eg:- 'groupby_rank', 'splitby_field'), return false\nexport const checkForTrellisFieldMetaInfo = (fields: FieldEntry[]): boolean => {\n if (!fields || !fields.length) {\n return false;\n }\n for (let i = 0; i < fields.length; i += 1) {\n if (\n fields[i].groupby_rank ||\n fields[i].splitby_field ||\n fields[i].splitby_value ||\n fields[i].data_source\n ) {\n return true;\n }\n }\n return false;\n};\n\n// Returns possible split by field values for timechart and chart cmds\nexport const extractSplitByFieldsChartFields = (fields: FieldEntry[]): string[] => {\n const fieldsWithoutTime = fields.filter(({ name }) => name !== '_time');\n const splitByFields = [];\n fieldsWithoutTime.forEach(field => {\n if (field.splitby_field) {\n splitByFields.push(field.splitby_field);\n }\n });\n return isTimeChartCmdData(fields)\n ? [...new Set(splitByFields)]\n : [fields[0].name, ...new Set(splitByFields)];\n};\n\n// Extracts the unique field `data_source` values from fields metainfo. Used to compute possible aggregation field values for timechart and chart cmds\nexport const extractDataSourceAggregationKeysChart = (fields: FieldEntry[]): string[] => {\n const fieldsWithoutTime = fields.filter(({ name }) => name !== '_time');\n const aggregations = [];\n fieldsWithoutTime.forEach(field => {\n if (field.data_source) {\n aggregations.push(field.data_source);\n }\n });\n return [...new Set(aggregations)];\n};\n\n// Returns possible aggregation field values for timechart and chart cmds\nexport const extractAllAggregationKeysChart = (fields: FieldEntry[]): string[] => {\n let aggregations = [];\n\n aggregations = extractDataSourceAggregationKeysChart(fields);\n if (aggregations && aggregations.length) {\n return aggregations;\n }\n if ((!aggregations || !aggregations.length) && fields.length > 1) {\n // handle where data_source doesnot exist in fields\n // example1 :- index=_internal | timechart count\n // example2 :- index=_internal | timechart max(count) avg(count)\n for (let i = 1; i < fields.length; i += 1) {\n const fieldName = (fields[i] as FieldEntry).name;\n if (!fieldName.startsWith('_')) {\n aggregations.push(fieldName);\n }\n }\n }\n return aggregations;\n};\n\n// Returns possible aggregation field values for stats cmds (return field names of field that doesnt have `groupby_rank`)\nexport const extractDataSourceAggregationKeysStats = (fields: FieldEntry[]): string[] => {\n const aggregations = [];\n fields.forEach(field => {\n if (field.groupby_rank === undefined) {\n aggregations.push(field.name);\n }\n });\n return aggregations;\n};\n\n// Returns possible split by field values for stats cmds\nexport const extractSplitByFieldsForStats = (fields: FieldEntry[]): string[] => {\n if (!fields) {\n return [];\n }\n const fieldsWithGroupByRank = fields.filter(field => field.groupby_rank);\n return fieldsWithGroupByRank.map(field => field.name);\n};\n\n// Returns possible split by field values for generic cmds (eg:- makeresult, table) that are not chart/timechart/stats cmds\nexport const extractSplitByFieldsForUnknown = (fields: FieldEntry[]): string[] => {\n if (!fields) {\n return [];\n }\n return fields.filter(field => !field?.name.startsWith('_')).map(field => field.name);\n};\n\n// Given the fields meta info of the datasource, this method infers the data splitter mode and\n// returns all possible individual splitBy fields ('fields' property) and aggregation fields ('aggregations' property)\nexport const getAllPossibleSplitByFields = (\n fields: FieldEntry[]\n): { fields: string[]; aggregations: string[] } => {\n const result = { fields: [], aggregations: [] };\n if (!fields || !fields.length) {\n return result;\n }\n // Infer the data splitter mode\n const splitMode = getTrellisDataSplitterMode(fields);\n if (splitMode === TIMECHART || splitMode === CHART) {\n return {\n fields: extractSplitByFieldsChartFields(fields),\n aggregations: extractAllAggregationKeysChart(fields),\n };\n }\n if (splitMode === STATS) {\n return {\n fields: [...extractSplitByFieldsForStats(fields)],\n aggregations: [...extractDataSourceAggregationKeysStats(fields)],\n };\n }\n if (splitMode === UNKNOWN) {\n const fieldNames = extractSplitByFieldsForUnknown(fields);\n return fieldNames.length === 1\n ? {\n fields: [],\n aggregations: [...fieldNames], // only populate the aggregation\n }\n : {\n fields: [...fieldNames],\n aggregations: [...fieldNames],\n };\n }\n return result;\n};\n"],"sourceRoot":""}
|
package/namedColors.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright © 2024 Splunk Inc.
|
|
3
|
-
* SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
4
|
-
* in part without a valid written license from Splunk Inc. is PROHIBITED.
|
|
5
|
-
*/
|
|
6
|
-
module.exports =
|
|
7
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
8
|
-
/******/ // The module cache
|
|
9
|
-
/******/ var installedModules = {};
|
|
10
|
-
/******/
|
|
11
|
-
/******/ // The require function
|
|
12
|
-
/******/ function __webpack_require__(moduleId) {
|
|
13
|
-
/******/
|
|
14
|
-
/******/ // Check if module is in cache
|
|
15
|
-
/******/ if(installedModules[moduleId]) {
|
|
16
|
-
/******/ return installedModules[moduleId].exports;
|
|
17
|
-
/******/ }
|
|
18
|
-
/******/ // Create a new module (and put it into the cache)
|
|
19
|
-
/******/ var module = installedModules[moduleId] = {
|
|
20
|
-
/******/ i: moduleId,
|
|
21
|
-
/******/ l: false,
|
|
22
|
-
/******/ exports: {}
|
|
23
|
-
/******/ };
|
|
24
|
-
/******/
|
|
25
|
-
/******/ // Execute the module function
|
|
26
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
27
|
-
/******/
|
|
28
|
-
/******/ // Flag the module as loaded
|
|
29
|
-
/******/ module.l = true;
|
|
30
|
-
/******/
|
|
31
|
-
/******/ // Return the exports of the module
|
|
32
|
-
/******/ return module.exports;
|
|
33
|
-
/******/ }
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
37
|
-
/******/ __webpack_require__.m = modules;
|
|
38
|
-
/******/
|
|
39
|
-
/******/ // expose the module cache
|
|
40
|
-
/******/ __webpack_require__.c = installedModules;
|
|
41
|
-
/******/
|
|
42
|
-
/******/ // define getter function for harmony exports
|
|
43
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
44
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
45
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
46
|
-
/******/ }
|
|
47
|
-
/******/ };
|
|
48
|
-
/******/
|
|
49
|
-
/******/ // define __esModule on exports
|
|
50
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
51
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
52
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
53
|
-
/******/ }
|
|
54
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
55
|
-
/******/ };
|
|
56
|
-
/******/
|
|
57
|
-
/******/ // create a fake namespace object
|
|
58
|
-
/******/ // mode & 1: value is a module id, require it
|
|
59
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
60
|
-
/******/ // mode & 4: return value when already ns object
|
|
61
|
-
/******/ // mode & 8|1: behave like require
|
|
62
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
63
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
64
|
-
/******/ if(mode & 8) return value;
|
|
65
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
66
|
-
/******/ var ns = Object.create(null);
|
|
67
|
-
/******/ __webpack_require__.r(ns);
|
|
68
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
69
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
70
|
-
/******/ return ns;
|
|
71
|
-
/******/ };
|
|
72
|
-
/******/
|
|
73
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
74
|
-
/******/ __webpack_require__.n = function(module) {
|
|
75
|
-
/******/ var getter = module && module.__esModule ?
|
|
76
|
-
/******/ function getDefault() { return module['default']; } :
|
|
77
|
-
/******/ function getModuleExports() { return module; };
|
|
78
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
79
|
-
/******/ return getter;
|
|
80
|
-
/******/ };
|
|
81
|
-
/******/
|
|
82
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
83
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
84
|
-
/******/
|
|
85
|
-
/******/ // __webpack_public_path__
|
|
86
|
-
/******/ __webpack_require__.p = "";
|
|
87
|
-
/******/
|
|
88
|
-
/******/
|
|
89
|
-
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s = 23);
|
|
91
|
-
/******/ })
|
|
92
|
-
/************************************************************************/
|
|
93
|
-
/******/ ({
|
|
94
|
-
|
|
95
|
-
/***/ 23:
|
|
96
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
97
|
-
|
|
98
|
-
"use strict";
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
Object.defineProperty(exports, "__esModule", {
|
|
102
|
-
value: true
|
|
103
|
-
}); // Reference - https://www.w3.org/TR/css-color-4/#named-colors
|
|
104
|
-
|
|
105
|
-
exports.default = ['transparent', 'aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure', 'beige', 'bisque', 'black', 'blanchedalmond', 'blue', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'fuchsia', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'gray', 'green', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'lime', 'limegreen', 'linen', 'magenta', 'maroon', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'navy', 'oldlace', 'olive', 'olivedrab', 'orange', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'purple', 'rebeccapurple', 'red', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'silver', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'teal', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'white', 'whitesmoke', 'yellow', 'yellowgreen'];
|
|
106
|
-
|
|
107
|
-
/***/ })
|
|
108
|
-
|
|
109
|
-
/******/ });
|
|
110
|
-
//# sourceMappingURL=namedColors.js.map
|
package/namedColors.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/namedColors.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;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FW,EAmFX,aAnFW,EAoFX,MApFW,EAqFX,WArFW,EAsFX,OAtFW,EAuFX,SAvFW,EAwFX,QAxFW,EAyFX,kBAzFW,EA0FX,YA1FW,EA2FX,cA3FW,EA4FX,cA5FW,EA6FX,gBA7FW,EA8FX,iBA9FW,EA+FX,mBA/FW,EAgGX,iBAhGW,EAiGX,iBAjGW,EAkGX,cAlGW,EAmGX,WAnGW,EAoGX,WApGW,EAqGX,UArGW,EAsGX,aAtGW,EAuGX,MAvGW,EAwGX,SAxGW,EAyGX,OAzGW,EA0GX,WA1GW,EA2GX,QA3GW,EA4GX,WA5GW,EA6GX,QA7GW,EA8GX,eA9GW,EA+GX,WA/GW,EAgHX,eAhHW,EAiHX,eAjHW,EAkHX,YAlHW,EAmHX,WAnHW,EAoHX,MApHW,EAqHX,MArHW,EAsHX,MAtHW,EAuHX,YAvHW,EAwHX,QAxHW,EAyHX,eAzHW,EA0HX,KA1HW,EA2HX,WA3HW,EA4HX,WA5HW,EA6HX,aA7HW,EA8HX,QA9HW,EA+HX,YA/HW,EAgIX,UAhIW,EAiIX,UAjIW,EAkIX,QAlIW,EAmIX,QAnIW,EAoIX,SApIW,EAqIX,WArIW,EAsIX,WAtIW,EAuIX,WAvIW,EAwIX,MAxIW,EAyIX,aAzIW,EA0IX,WA1IW,EA2IX,KA3IW,EA4IX,MA5IW,EA6IX,SA7IW,EA8IX,QA9IW,EA+IX,WA/IW,EAgJX,QAhJW,EAiJX,OAjJW,EAkJX,OAlJW,EAmJX,YAnJW,EAoJX,QApJW,EAqJX,aArJW,CAAf,C","file":"namedColors.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 = 23);\n","// Reference - https://www.w3.org/TR/css-color-4/#named-colors\nexport default [\n 'transparent',\n 'aliceblue',\n 'antiquewhite',\n 'aqua',\n 'aquamarine',\n 'azure',\n 'beige',\n 'bisque',\n 'black',\n 'blanchedalmond',\n 'blue',\n 'blueviolet',\n 'brown',\n 'burlywood',\n 'cadetblue',\n 'chartreuse',\n 'chocolate',\n 'coral',\n 'cornflowerblue',\n 'cornsilk',\n 'crimson',\n 'cyan',\n 'darkblue',\n 'darkcyan',\n 'darkgoldenrod',\n 'darkgray',\n 'darkgreen',\n 'darkgrey',\n 'darkkhaki',\n 'darkmagenta',\n 'darkolivegreen',\n 'darkorange',\n 'darkorchid',\n 'darkred',\n 'darksalmon',\n 'darkseagreen',\n 'darkslateblue',\n 'darkslategray',\n 'darkslategrey',\n 'darkturquoise',\n 'darkviolet',\n 'deeppink',\n 'deepskyblue',\n 'dimgray',\n 'dimgrey',\n 'dodgerblue',\n 'firebrick',\n 'floralwhite',\n 'forestgreen',\n 'fuchsia',\n 'gainsboro',\n 'ghostwhite',\n 'gold',\n 'goldenrod',\n 'gray',\n 'green',\n 'greenyellow',\n 'grey',\n 'honeydew',\n 'hotpink',\n 'indianred',\n 'indigo',\n 'ivory',\n 'khaki',\n 'lavender',\n 'lavenderblush',\n 'lawngreen',\n 'lemonchiffon',\n 'lightblue',\n 'lightcoral',\n 'lightcyan',\n 'lightgoldenrodyellow',\n 'lightgray',\n 'lightgreen',\n 'lightgrey',\n 'lightpink',\n 'lightsalmon',\n 'lightseagreen',\n 'lightskyblue',\n 'lightslategray',\n 'lightslategrey',\n 'lightsteelblue',\n 'lightyellow',\n 'lime',\n 'limegreen',\n 'linen',\n 'magenta',\n 'maroon',\n 'mediumaquamarine',\n 'mediumblue',\n 'mediumorchid',\n 'mediumpurple',\n 'mediumseagreen',\n 'mediumslateblue',\n 'mediumspringgreen',\n 'mediumturquoise',\n 'mediumvioletred',\n 'midnightblue',\n 'mintcream',\n 'mistyrose',\n 'moccasin',\n 'navajowhite',\n 'navy',\n 'oldlace',\n 'olive',\n 'olivedrab',\n 'orange',\n 'orangered',\n 'orchid',\n 'palegoldenrod',\n 'palegreen',\n 'paleturquoise',\n 'palevioletred',\n 'papayawhip',\n 'peachpuff',\n 'peru',\n 'pink',\n 'plum',\n 'powderblue',\n 'purple',\n 'rebeccapurple',\n 'red',\n 'rosybrown',\n 'royalblue',\n 'saddlebrown',\n 'salmon',\n 'sandybrown',\n 'seagreen',\n 'seashell',\n 'sienna',\n 'silver',\n 'skyblue',\n 'slateblue',\n 'slategray',\n 'slategrey',\n 'snow',\n 'springgreen',\n 'steelblue',\n 'tan',\n 'teal',\n 'thistle',\n 'tomato',\n 'turquoise',\n 'violet',\n 'wheat',\n 'white',\n 'whitesmoke',\n 'yellow',\n 'yellowgreen',\n];\n"],"sourceRoot":""}
|