@splunk/visualizations-shared 25.13.0 → 26.0.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.
Files changed (47) hide show
  1. package/Downloader.js +4 -4
  2. package/Downloader.js.map +1 -1
  3. package/FileDownloader.js +8 -8
  4. package/FileDownloader.js.map +1 -1
  5. package/JSONSchemaUtils.js +8 -8
  6. package/JSONSchemaUtils.js.map +1 -1
  7. package/Message.js +2 -2
  8. package/Message.js.map +1 -1
  9. package/RemoteIcon.js +7 -8
  10. package/RemoteIcon.js.map +1 -1
  11. package/RemoteImage.js +7 -8
  12. package/RemoteImage.js.map +1 -1
  13. package/SanitizeProps.js +11 -11
  14. package/SanitizeProps.js.map +1 -1
  15. package/SizeAwareWrapper.js +13 -13
  16. package/SizeAwareWrapper.js.map +1 -1
  17. package/VisualizationDocPage.js +8 -8
  18. package/VisualizationDocPage.js.map +1 -1
  19. package/colorConstants.js +2 -2
  20. package/colorConstants.js.map +1 -1
  21. package/configUtils.js +2 -2
  22. package/configUtils.js.map +1 -1
  23. package/console.js +2 -2
  24. package/console.js.map +1 -1
  25. package/dataSourceUtils.js +2 -2
  26. package/dataSourceUtils.js.map +1 -1
  27. package/domUtils.js +2 -2
  28. package/domUtils.js.map +1 -1
  29. package/hocUtils.js +15 -15
  30. package/hocUtils.js.map +1 -1
  31. package/i18n.js +2 -2
  32. package/i18n.js.map +1 -1
  33. package/numberUtils.js +4 -4
  34. package/numberUtils.js.map +1 -1
  35. package/package.json +7 -7
  36. package/previewVizMessage.js +2 -2
  37. package/previewVizMessage.js.map +1 -1
  38. package/propUtils.js +69 -7
  39. package/propUtils.js.map +1 -1
  40. package/simpleXMLOptions.js +4 -4
  41. package/simpleXMLOptions.js.map +1 -1
  42. package/testHelper.js +2 -2
  43. package/testHelper.js.map +1 -1
  44. package/themeUtils.js +6 -6
  45. package/themeUtils.js.map +1 -1
  46. package/trellisUtils.js +15 -15
  47. package/trellisUtils.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"prop-types\"","webpack:///external \"react\"","webpack:///external \"@babel/runtime/helpers/assertThisInitialized\"","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///external \"@babel/runtime/helpers/getPrototypeOf\"","webpack:///external \"@babel/runtime/helpers/classCallCheck\"","webpack:///./src/SizeAwareWrapper.jsx","webpack:///external \"@babel/runtime/helpers/createClass\"","webpack:///external \"@babel/runtime/helpers/inherits\"","webpack:///external \"@babel/runtime/helpers/possibleConstructorReturn\""],"names":["styles","position","width","height","visibility","display","SizeAwareWrapper","_PureComponent","_inherits","_super","_createSuper","props","_this","_classCallCheck","call","_defineProperty","_assertThisInitialized","parentElement","el","entries","forEach","entry","_entry$contentRect","contentRect","animationFrameID","window","requestAnimationFrame","setState","_this$state","state","children","ro","getResizeObserver","_createClass","key","value","componentDidMount","resizableElement","getElement","observe","componentWillUnmount","unobserve","cancelAnimationFrame","ResizeObserver","handleResize","render","_this2","React","createElement","Fragment","style","ref","renderChildren","PureComponent","propTypes","T","any","defaultProps"],"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,u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AAI,CAAClB,gBAAgB,CAAC;MACtD;IACJ;EAAC;IAAAU,GAAA;IAAAC,KAAA,EAQD,SAAAH,kBAAA,EAAoB;MAChB,IAAI,OAAOW,cAAc,KAAK,UAAU,EAAE;QACtC,OAAO;UACHJ,OAAO,WAAAA,QAAA,EAAG,CAAC,CAAC;UACZE,SAAS,WAAAA,UAAA,EAAG,CAAC;QACjB,CAAC;MACL;MACA,OAAO,IAAIE,cAAc,CAAC,IAAI,CAACC,YAAY,CAAC;IAChD;EAAC;IAAAV,GAAA;IAAAC,KAAA,EAsBD,SAAAU,OAAA,EAAS;MAAA,IAAAC,MAAA;MACL,oBACIC,4CAAA,CAAAC,aAAA,CAACD,4CAAK,CAACE,QAAQ,qBACXF,4CAAA,CAAAC,aAAA;QACId,GAAG,EAAC,iBAAiB;QACrBgB,KAAK,EAAElD,MAAO;QACdmD,GAAG,EAAE,SAAAA,IAAAjC,EAAE,EAAI;UACP4B,MAAI,CAAC5B,EAAE,GAAGA,EAAE;QAChB;MAAE,EACJ,EACD,IAAI,CAACkC,cAAc,EAAE,CACT;IAEzB;EAAC;EAAA,OAAA9C,gBAAA;AAAA,EA7E0B+C,mDAAa;AAgF5C/C,gBAAgB,CAACgD,SAAS,GAAG;EACzBxB,QAAQ,EAAEyB,iDAAC,CAACC,GAAG,CAAE;AACrB,CAAC;;AAEDlD,gBAAgB,CAACmD,YAAY,GAAG;EAC5B3B,QAAQ,EAAE;AACd,CAAC;AAEcxB,+EAAgB,E;;;;;;;ACnG/B,+D;;;;;;;ACAA,4D;;;;;;;ACAA,6E","file":"SizeAwareWrapper.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 = 50);\n","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","module.exports = require(\"@babel/runtime/helpers/assertThisInitialized\");","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@babel/runtime/helpers/getPrototypeOf\");","module.exports = require(\"@babel/runtime/helpers/classCallCheck\");","import React, { PureComponent } from 'react';\nimport T from 'prop-types';\n\nconst styles = {\n position: 'absolute',\n width: 0,\n height: 0,\n visibility: 'hidden',\n display: 'none',\n};\n\nclass SizeAwareWrapper extends PureComponent {\n constructor(props) {\n super(props);\n this.state = {\n width: null,\n height: null,\n };\n this.animationFrameID = null;\n this.ro = this.getResizeObserver();\n }\n\n componentDidMount() {\n const resizableElement = this.getElement();\n if (resizableElement) {\n this.ro.observe(resizableElement);\n }\n }\n\n componentWillUnmount() {\n const resizableElement = this.getElement();\n if (resizableElement) {\n this.ro.unobserve(resizableElement);\n }\n if (window && this.animationFrameID) {\n window.cancelAnimationFrame(this.animationFrameID);\n }\n }\n\n getElement = () => {\n // it listens on the size of its parent elemnt\n const parentElement = this.el && this.el.parentElement;\n return parentElement;\n };\n\n getResizeObserver() {\n if (typeof ResizeObserver !== 'function') {\n return {\n observe() {},\n unobserve() {},\n };\n }\n return new ResizeObserver(this.handleResize);\n }\n\n handleResize = entries => {\n entries.forEach(entry => {\n const { width, height } = entry.contentRect;\n // use requestAnimationFrame to make sure width/height is updated in time\n this.animationFrameID = window.requestAnimationFrame(() => {\n this.setState({ width, height });\n });\n });\n };\n\n renderChildren = () => {\n // expect children to be a function\n const { width, height } = this.state;\n const { children } = this.props;\n if (width != null && height != null && typeof children === 'function') {\n return children({ width, height });\n }\n return null;\n };\n\n render() {\n return (\n <React.Fragment>\n <div\n key=\"resize-detector\"\n style={styles}\n ref={el => {\n this.el = el;\n }}\n />\n {this.renderChildren()}\n </React.Fragment>\n );\n }\n}\n\nSizeAwareWrapper.propTypes = {\n children: T.any, // eslint-disable-line react/forbid-prop-types\n};\n\nSizeAwareWrapper.defaultProps = {\n children: null,\n};\n\nexport default SizeAwareWrapper;\n","module.exports = require(\"@babel/runtime/helpers/createClass\");","module.exports = require(\"@babel/runtime/helpers/inherits\");","module.exports = require(\"@babel/runtime/helpers/possibleConstructorReturn\");"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"prop-types\"","webpack:///external \"react\"","webpack:///external \"@babel/runtime/helpers/assertThisInitialized\"","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///external \"@babel/runtime/helpers/getPrototypeOf\"","webpack:///./src/SizeAwareWrapper.jsx","webpack:///external \"@babel/runtime/helpers/classCallCheck\"","webpack:///external \"@babel/runtime/helpers/createClass\"","webpack:///external \"@babel/runtime/helpers/inherits\"","webpack:///external \"@babel/runtime/helpers/possibleConstructorReturn\""],"names":["styles","position","width","height","visibility","display","SizeAwareWrapper","_PureComponent","_inherits","_super","_createSuper","props","_this","_classCallCheck","call","_defineProperty","_assertThisInitialized","parentElement","el","entries","forEach","entry","_entry$contentRect","contentRect","animationFrameID","window","requestAnimationFrame","setState","_this$state","state","children","ro","getResizeObserver","_createClass","key","value","componentDidMount","resizableElement","getElement","observe","componentWillUnmount","unobserve","cancelAnimationFrame","ResizeObserver","handleResize","render","_this2","React","createElement","Fragment","style","ref","renderChildren","PureComponent","propTypes","T","any","defaultProps"],"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;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E","file":"SizeAwareWrapper.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 = 49);\n","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","module.exports = require(\"@babel/runtime/helpers/assertThisInitialized\");","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@babel/runtime/helpers/getPrototypeOf\");","import React, { PureComponent } from 'react';\nimport T from 'prop-types';\n\nconst styles = {\n position: 'absolute',\n width: 0,\n height: 0,\n visibility: 'hidden',\n display: 'none',\n};\n\nclass SizeAwareWrapper extends PureComponent {\n constructor(props) {\n super(props);\n this.state = {\n width: null,\n height: null,\n };\n this.animationFrameID = null;\n this.ro = this.getResizeObserver();\n }\n\n componentDidMount() {\n const resizableElement = this.getElement();\n if (resizableElement) {\n this.ro.observe(resizableElement);\n }\n }\n\n componentWillUnmount() {\n const resizableElement = this.getElement();\n if (resizableElement) {\n this.ro.unobserve(resizableElement);\n }\n if (window && this.animationFrameID) {\n window.cancelAnimationFrame(this.animationFrameID);\n }\n }\n\n getElement = () => {\n // it listens on the size of its parent elemnt\n const parentElement = this.el && this.el.parentElement;\n return parentElement;\n };\n\n getResizeObserver() {\n if (typeof ResizeObserver !== 'function') {\n return {\n observe() {},\n unobserve() {},\n };\n }\n return new ResizeObserver(this.handleResize);\n }\n\n handleResize = entries => {\n entries.forEach(entry => {\n const { width, height } = entry.contentRect;\n // use requestAnimationFrame to make sure width/height is updated in time\n this.animationFrameID = window.requestAnimationFrame(() => {\n this.setState({ width, height });\n });\n });\n };\n\n renderChildren = () => {\n // expect children to be a function\n const { width, height } = this.state;\n const { children } = this.props;\n if (width != null && height != null && typeof children === 'function') {\n return children({ width, height });\n }\n return null;\n };\n\n render() {\n return (\n <React.Fragment>\n <div\n key=\"resize-detector\"\n style={styles}\n ref={el => {\n this.el = el;\n }}\n />\n {this.renderChildren()}\n </React.Fragment>\n );\n }\n}\n\nSizeAwareWrapper.propTypes = {\n children: T.any, // eslint-disable-line react/forbid-prop-types\n};\n\nSizeAwareWrapper.defaultProps = {\n children: null,\n};\n\nexport default SizeAwareWrapper;\n","module.exports = require(\"@babel/runtime/helpers/classCallCheck\");","module.exports = require(\"@babel/runtime/helpers/createClass\");","module.exports = require(\"@babel/runtime/helpers/inherits\");","module.exports = require(\"@babel/runtime/helpers/possibleConstructorReturn\");"],"sourceRoot":""}
@@ -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 = 51);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 50);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -123,14 +123,14 @@ module.exports = require("@babel/runtime/helpers/assertThisInitialized");
123
123
  /***/ 2:
124
124
  /***/ (function(module, exports) {
125
125
 
126
- module.exports = require("@babel/runtime/helpers/defineProperty");
126
+ module.exports = require("lodash");
127
127
 
128
128
  /***/ }),
129
129
 
130
130
  /***/ 3:
131
131
  /***/ (function(module, exports) {
132
132
 
133
- module.exports = require("@babel/runtime/helpers/getPrototypeOf");
133
+ module.exports = require("@babel/runtime/helpers/defineProperty");
134
134
 
135
135
  /***/ }),
136
136
 
@@ -158,7 +158,7 @@ module.exports = require("@splunk/visualizations-shared/previewVizMessage");
158
158
  /***/ 4:
159
159
  /***/ (function(module, exports) {
160
160
 
161
- module.exports = require("lodash");
161
+ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
162
162
 
163
163
  /***/ }),
164
164
 
@@ -169,7 +169,7 @@ module.exports = require("@babel/runtime/helpers/classCallCheck");
169
169
 
170
170
  /***/ }),
171
171
 
172
- /***/ 51:
172
+ /***/ 50:
173
173
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
174
174
 
175
175
  "use strict";
@@ -186,15 +186,15 @@ __webpack_require__.r(__webpack_exports__);
186
186
  /* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__);
187
187
  /* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9);
188
188
  /* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__);
189
- /* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3);
189
+ /* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4);
190
190
  /* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__);
191
- /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2);
191
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3);
192
192
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__);
193
193
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1);
194
194
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
195
195
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(0);
196
196
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
197
- /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4);
197
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2);
198
198
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);
199
199
  /* harmony import */ var _splunk_react_docs_DockingTabBar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(15);
200
200
  /* harmony import */ var _splunk_react_docs_DockingTabBar__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_docs_DockingTabBar__WEBPACK_IMPORTED_MODULE_11__);
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"prop-types\"","webpack:///external \"react\"","webpack:///external \"@splunk/react-docs/DockingTabBar\"","webpack:///external \"@babel/runtime/helpers/assertThisInitialized\"","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///external \"@babel/runtime/helpers/getPrototypeOf\"","webpack:///external \"@babel/runtime/helpers/extends\"","webpack:///external \"@splunk/react-docs/API\"","webpack:///external \"@splunk/visualizations-shared/previewVizMessage\"","webpack:///external \"lodash\"","webpack:///external \"@babel/runtime/helpers/classCallCheck\"","webpack:///./src/VisualizationDocPage.jsx","webpack:///external \"@babel/runtime/helpers/createClass\"","webpack:///external \"@babel/runtime/helpers/inherits\"","webpack:///external \"@babel/runtime/helpers/possibleConstructorReturn\""],"names":["ComponentPage","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","el","bodyEl","e","_ref","selectedTabId","currentSection","setState","activeSection","_this$bodyEl$getBound","getBoundingClientRect","top","window","scrollY","target","scroll","state","_createClass","key","value","renderBody","_this$props","props","encodingSection","optionSection","overviewSection","conceptsSection","examplesSection","eventSection","themeSection","render","_this$props2","createComponentURL","headerOffset","sourceURL","basePageProps","pick","status","description","previewVizMessage","body","React","createElement","APIPage","_extends","location","pathname","DockingTabBar","activeTabId","offset","onChange","handleSectionChange","Tab","label","tabId","style","padding","marginTop","ref","handleBodyMount","Component","T","func","dependsOnSplunk","bool","string","node","isRequired","number","title"],"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,kC;;;;;;;ACAA,6D;;;;;;;ACAA,yE;;;;;;;ACAA,kE;;;;;;;ACAA,kE;;;;;;;ACAA,2D;;;;;;;ACAA,mD;;;;;;;ACAA,4E;;;;;;;ACAA,mC;;;;;;;ACAA,kE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,iDAAC,CAACK,IAAI;EACvB;AACR;AACA;EACQtC,YAAY,EAAEiC,iDAAC,CAACK,IAAI;EACpB;AACR;AACA;EACQrC,YAAY,EAAEgC,iDAAC,CAACK,IAAI;EACpBjC,YAAY,EAAE4B,iDAAC,CAACO,MAAM;EACtB;AACR;AACA;EACQlC,SAAS,EAAE2B,iDAAC,CAACI,MAAM;EACnBI,KAAK,EAAER,iDAAC,CAACI,MAAM,CAACE;AACpB,CAAC;AAAApE,4EAAA,CA9CChB,aAAa,kBAgDO;EAClBiD,kBAAkB,WAAAA,mBAAA,EAAG,CAAC,CAAC;EACvBC,YAAY,EAAE;AAClB,CAAC;AA4GUlD,4EAAa,E;;;;;;;ACtK5B,+D;;;;;;;ACAA,4D;;;;;;;ACAA,6E","file":"VisualizationDocPage.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 = 51);\n","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","module.exports = require(\"@splunk/react-docs/DockingTabBar\");","module.exports = require(\"@babel/runtime/helpers/assertThisInitialized\");","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@babel/runtime/helpers/getPrototypeOf\");","module.exports = require(\"@babel/runtime/helpers/extends\");","module.exports = require(\"@splunk/react-docs/API\");","module.exports = require(\"@splunk/visualizations-shared/previewVizMessage\");","module.exports = require(\"lodash\");","module.exports = require(\"@babel/runtime/helpers/classCallCheck\");","import React, { Component } from 'react';\nimport T from 'prop-types';\nimport { pick } from 'lodash';\nimport DockingTabBar, { Tab } from '@splunk/react-docs/DockingTabBar';\nimport APIPage from '@splunk/react-docs/API';\nimport previewVizMessage from '@splunk/visualizations-shared/previewVizMessage';\n\nclass ComponentPage extends Component {\n static currentSection = 'overview';\n\n static propTypes = {\n createComponentURL: T.func,\n dependsOnSplunk: T.bool,\n /**\n * If status is `preview`, a message is prepended to the description reflecting this visualization is new\n * and minor changes may be made soon.\n */\n status: T.string,\n description: T.string,\n /**\n * The \"overview\" section of the doc page.\n */\n overviewSection: T.node,\n /**\n * The \"concepts\" section of the doc page.\n */\n conceptsSection: T.node,\n /**\n * The \"examples\" section of the doc page.\n */\n examplesSection: T.node.isRequired,\n /**\n * The \"options\" section of the doc page.\n */\n optionSection: T.node.isRequired,\n /**\n * The \"encoding\" section of the doc page.\n */\n encodingSection: T.node,\n /**\n * The \"event\" section of the doc page.\n */\n eventSection: T.node,\n /**\n * The \"theme\" section of the doc page\n */\n themeSection: T.node,\n headerOffset: T.number,\n /**\n * Overrides the (otherwise automatically generated) source code url.\n */\n sourceURL: T.string,\n title: T.string.isRequired,\n };\n\n static defaultProps = {\n createComponentURL() {},\n headerOffset: 0,\n };\n\n constructor(...args) {\n super(...args);\n this.state = { activeSection: ComponentPage.currentSection };\n }\n\n handleBodyMount = el => {\n this.bodyEl = el;\n };\n\n handleSectionChange = (e, { selectedTabId }) => {\n ComponentPage.currentSection = selectedTabId;\n this.setState({ activeSection: selectedTabId }, () => {\n // After the new section loads, scroll to the top of the section.\n const { top } = this.bodyEl.getBoundingClientRect();\n if (top < window.scrollY) {\n const target = top + window.scrollY - 90;\n window.scroll(0, target);\n }\n });\n };\n\n renderBody() {\n const {\n encodingSection,\n optionSection,\n overviewSection,\n conceptsSection,\n examplesSection,\n eventSection,\n themeSection,\n } = this.props;\n const { activeSection } = this.state;\n switch (activeSection) {\n case 'concepts':\n return conceptsSection;\n case 'overview':\n return overviewSection;\n case 'examples':\n return examplesSection;\n case 'encoding':\n return encodingSection;\n case 'option':\n return optionSection;\n case 'event':\n return eventSection;\n case 'theme':\n return themeSection;\n default:\n return null;\n }\n }\n\n render() {\n const {\n createComponentURL,\n conceptsSection,\n overviewSection,\n examplesSection,\n encodingSection,\n eventSection,\n themeSection,\n headerOffset,\n sourceURL,\n } = this.props;\n const basePageProps = pick(this.props, 'dependsOnSplunk', 'description', 'title');\n\n if (this.props.status === 'preview') {\n basePageProps.description = `#### ${previewVizMessage} \\n ${basePageProps.description || ''}`;\n }\n\n let { activeSection } = this.state;\n let body = this.renderBody();\n\n if (!body) {\n body = examplesSection;\n activeSection = 'examples';\n }\n return (\n <APIPage sourceURL={sourceURL || createComponentURL(window.location.pathname)} {...basePageProps}>\n <DockingTabBar\n activeTabId={activeSection}\n offset={headerOffset}\n onChange={this.handleSectionChange}\n >\n {overviewSection && <Tab label=\"Overview\" tabId=\"overview\" />}\n <Tab label=\"Examples\" tabId=\"examples\" />\n {encodingSection && <Tab label=\"Encoding\" tabId=\"encoding\" />}\n <Tab label=\"Options\" tabId=\"option\" />\n {eventSection && <Tab label=\"Events\" tabId=\"event\" />}\n {themeSection && <Tab label=\"Themes\" tabId=\"theme\" />}\n {conceptsSection && <Tab label=\"Concepts\" tabId=\"concepts\" />}\n </DockingTabBar>\n <div\n style={{\n padding: '0 30px 30px',\n marginTop: '20px',\n }}\n ref={this.handleBodyMount}\n >\n {body}\n </div>\n </APIPage>\n );\n }\n}\n\nexport default ComponentPage;\n","module.exports = require(\"@babel/runtime/helpers/createClass\");","module.exports = require(\"@babel/runtime/helpers/inherits\");","module.exports = require(\"@babel/runtime/helpers/possibleConstructorReturn\");"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"prop-types\"","webpack:///external \"react\"","webpack:///external \"@splunk/react-docs/DockingTabBar\"","webpack:///external \"@babel/runtime/helpers/assertThisInitialized\"","webpack:///external \"lodash\"","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///external \"@babel/runtime/helpers/extends\"","webpack:///external \"@splunk/react-docs/API\"","webpack:///external \"@splunk/visualizations-shared/previewVizMessage\"","webpack:///external \"@babel/runtime/helpers/getPrototypeOf\"","webpack:///external \"@babel/runtime/helpers/classCallCheck\"","webpack:///./src/VisualizationDocPage.jsx","webpack:///external \"@babel/runtime/helpers/createClass\"","webpack:///external \"@babel/runtime/helpers/inherits\"","webpack:///external \"@babel/runtime/helpers/possibleConstructorReturn\""],"names":["ComponentPage","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","el","bodyEl","e","_ref","selectedTabId","currentSection","setState","activeSection","_this$bodyEl$getBound","getBoundingClientRect","top","window","scrollY","target","scroll","state","_createClass","key","value","renderBody","_this$props","props","encodingSection","optionSection","overviewSection","conceptsSection","examplesSection","eventSection","themeSection","render","_this$props2","createComponentURL","headerOffset","sourceURL","basePageProps","pick","status","description","previewVizMessage","body","React","createElement","APIPage","_extends","location","pathname","DockingTabBar","activeTabId","offset","onChange","handleSectionChange","Tab","label","tabId","style","padding","marginTop","ref","handleBodyMount","Component","T","func","dependsOnSplunk","bool","string","node","isRequired","number","title"],"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,+DA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EoC,iDAAC,CAACK,IAAI;EACvB;AACR;AACA;EACQxC,eAAe,EAAEmC,iDAAC,CAACK,IAAI;EACvB;AACR;AACA;EACQvC,eAAe,EAAEkC,iDAAC,CAACK,IAAI,CAACC,UAAU;EAClC;AACR;AACA;EACQ3C,aAAa,EAAEqC,iDAAC,CAACK,IAAI,CAACC,UAAU;EAChC;AACR;AACA;EACQ5C,eAAe,EAAEsC,iDAAC,CAACK,IAAI;EACvB;AACR;AACA;EACQtC,YAAY,EAAEiC,iDAAC,CAACK,IAAI;EACpB;AACR;AACA;EACQrC,YAAY,EAAEgC,iDAAC,CAACK,IAAI;EACpBjC,YAAY,EAAE4B,iDAAC,CAACO,MAAM;EACtB;AACR;AACA;EACQlC,SAAS,EAAE2B,iDAAC,CAACI,MAAM;EACnBI,KAAK,EAAER,iDAAC,CAACI,MAAM,CAACE;AACpB,CAAC;AAAApE,4EAAA,CA9CChB,aAAa,kBAgDO;EAClBiD,kBAAkB,WAAAA,mBAAA,EAAG,CAAC,CAAC;EACvBC,YAAY,EAAE;AAClB,CAAC;AA4GUlD,4EAAa,E;;;;;;;ACtK5B,+D;;;;;;;ACAA,4D;;;;;;;ACAA,6E","file":"VisualizationDocPage.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 = 50);\n","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","module.exports = require(\"@splunk/react-docs/DockingTabBar\");","module.exports = require(\"@babel/runtime/helpers/assertThisInitialized\");","module.exports = require(\"lodash\");","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@babel/runtime/helpers/extends\");","module.exports = require(\"@splunk/react-docs/API\");","module.exports = require(\"@splunk/visualizations-shared/previewVizMessage\");","module.exports = require(\"@babel/runtime/helpers/getPrototypeOf\");","module.exports = require(\"@babel/runtime/helpers/classCallCheck\");","import React, { Component } from 'react';\nimport T from 'prop-types';\nimport { pick } from 'lodash';\nimport DockingTabBar, { Tab } from '@splunk/react-docs/DockingTabBar';\nimport APIPage from '@splunk/react-docs/API';\nimport previewVizMessage from '@splunk/visualizations-shared/previewVizMessage';\n\nclass ComponentPage extends Component {\n static currentSection = 'overview';\n\n static propTypes = {\n createComponentURL: T.func,\n dependsOnSplunk: T.bool,\n /**\n * If status is `preview`, a message is prepended to the description reflecting this visualization is new\n * and minor changes may be made soon.\n */\n status: T.string,\n description: T.string,\n /**\n * The \"overview\" section of the doc page.\n */\n overviewSection: T.node,\n /**\n * The \"concepts\" section of the doc page.\n */\n conceptsSection: T.node,\n /**\n * The \"examples\" section of the doc page.\n */\n examplesSection: T.node.isRequired,\n /**\n * The \"options\" section of the doc page.\n */\n optionSection: T.node.isRequired,\n /**\n * The \"encoding\" section of the doc page.\n */\n encodingSection: T.node,\n /**\n * The \"event\" section of the doc page.\n */\n eventSection: T.node,\n /**\n * The \"theme\" section of the doc page\n */\n themeSection: T.node,\n headerOffset: T.number,\n /**\n * Overrides the (otherwise automatically generated) source code url.\n */\n sourceURL: T.string,\n title: T.string.isRequired,\n };\n\n static defaultProps = {\n createComponentURL() {},\n headerOffset: 0,\n };\n\n constructor(...args) {\n super(...args);\n this.state = { activeSection: ComponentPage.currentSection };\n }\n\n handleBodyMount = el => {\n this.bodyEl = el;\n };\n\n handleSectionChange = (e, { selectedTabId }) => {\n ComponentPage.currentSection = selectedTabId;\n this.setState({ activeSection: selectedTabId }, () => {\n // After the new section loads, scroll to the top of the section.\n const { top } = this.bodyEl.getBoundingClientRect();\n if (top < window.scrollY) {\n const target = top + window.scrollY - 90;\n window.scroll(0, target);\n }\n });\n };\n\n renderBody() {\n const {\n encodingSection,\n optionSection,\n overviewSection,\n conceptsSection,\n examplesSection,\n eventSection,\n themeSection,\n } = this.props;\n const { activeSection } = this.state;\n switch (activeSection) {\n case 'concepts':\n return conceptsSection;\n case 'overview':\n return overviewSection;\n case 'examples':\n return examplesSection;\n case 'encoding':\n return encodingSection;\n case 'option':\n return optionSection;\n case 'event':\n return eventSection;\n case 'theme':\n return themeSection;\n default:\n return null;\n }\n }\n\n render() {\n const {\n createComponentURL,\n conceptsSection,\n overviewSection,\n examplesSection,\n encodingSection,\n eventSection,\n themeSection,\n headerOffset,\n sourceURL,\n } = this.props;\n const basePageProps = pick(this.props, 'dependsOnSplunk', 'description', 'title');\n\n if (this.props.status === 'preview') {\n basePageProps.description = `#### ${previewVizMessage} \\n ${basePageProps.description || ''}`;\n }\n\n let { activeSection } = this.state;\n let body = this.renderBody();\n\n if (!body) {\n body = examplesSection;\n activeSection = 'examples';\n }\n return (\n <APIPage sourceURL={sourceURL || createComponentURL(window.location.pathname)} {...basePageProps}>\n <DockingTabBar\n activeTabId={activeSection}\n offset={headerOffset}\n onChange={this.handleSectionChange}\n >\n {overviewSection && <Tab label=\"Overview\" tabId=\"overview\" />}\n <Tab label=\"Examples\" tabId=\"examples\" />\n {encodingSection && <Tab label=\"Encoding\" tabId=\"encoding\" />}\n <Tab label=\"Options\" tabId=\"option\" />\n {eventSection && <Tab label=\"Events\" tabId=\"event\" />}\n {themeSection && <Tab label=\"Themes\" tabId=\"theme\" />}\n {conceptsSection && <Tab label=\"Concepts\" tabId=\"concepts\" />}\n </DockingTabBar>\n <div\n style={{\n padding: '0 30px 30px',\n marginTop: '20px',\n }}\n ref={this.handleBodyMount}\n >\n {body}\n </div>\n </APIPage>\n );\n }\n}\n\nexport default ComponentPage;\n","module.exports = require(\"@babel/runtime/helpers/createClass\");","module.exports = require(\"@babel/runtime/helpers/inherits\");","module.exports = require(\"@babel/runtime/helpers/possibleConstructorReturn\");"],"sourceRoot":""}
package/colorConstants.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 = 52);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 51);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -99,7 +99,7 @@ module.exports = require("@splunk/themes/getTheme");
99
99
 
100
100
  /***/ }),
101
101
 
102
- /***/ 52:
102
+ /***/ 51:
103
103
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
104
104
 
105
105
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/themes/getTheme\"","webpack:///./src/colorConstants.js"],"names":["themeEnterprise","getTheme","family","colorScheme","density","DELTA_GREEN","successColor","DELTA_RED","errorColor","SEMANTIC_SUCCESS","SEMANTIC_WARNING","SEMANTIC_ERROR","SPARKLINE_FILL_COLOR","gray60","SPARKLINE_STROKE_COLOR","gray20","SPARKLINE_WHITE","white","RADIAL_BACKGROUND_COLOR","gray92","RADIAL_STROKE_COLOR","RADIAL_SEVERITY_COLORS","none","background","stroke","low","successColorL40","successColorD50","guarded","infoColorL40","infoColorD50","elevated","warningColorL40","warningColorD50","high","alertColorL40","alertColorD50","severe","errorColorL40","errorColorD50","COLOR_EDITOR_PALETTE"],"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,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C,QAAQ,EAAE;IACNR,UAAU,EAAEvB,eAAe,CAACgC,eAAe;IAC3CR,MAAM,EAAExB,eAAe,CAACiC;EAC5B,CAAC;EACDC,IAAI,EAAE;IACFX,UAAU,EAAEvB,eAAe,CAACmC,aAAa;IACzCX,MAAM,EAAExB,eAAe,CAACoC;EAC5B,CAAC;EACDC,MAAM,EAAE;IACJd,UAAU,EAAEvB,eAAe,CAACsC,aAAa;IACzCd,MAAM,EAAExB,eAAe,CAACuC;EAC5B;AACJ,CAAC;AAEM,IAAMC,oBAAoB,GAAG,CAChC,aAAa,EACb,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACZ,C","file":"colorConstants.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 = 52);\n","module.exports = require(\"@splunk/themes/getTheme\");","import getTheme from '@splunk/themes/getTheme';\n\nconst themeEnterprise = getTheme({ family: 'enterprise', colorScheme: 'light', density: 'comfortable' });\n\nexport const DELTA_GREEN = themeEnterprise.successColor;\nexport const DELTA_RED = themeEnterprise.errorColor;\n\nexport const SEMANTIC_SUCCESS = '#53a051';\nexport const SEMANTIC_WARNING = '#f8be34';\nexport const SEMANTIC_ERROR = '#dc4e41';\n\nexport const SPARKLINE_FILL_COLOR = themeEnterprise.gray60;\nexport const SPARKLINE_STROKE_COLOR = themeEnterprise.gray20;\nexport const SPARKLINE_WHITE = themeEnterprise.white;\n\nexport const RADIAL_BACKGROUND_COLOR = themeEnterprise.gray92;\nexport const RADIAL_STROKE_COLOR = themeEnterprise.gray60;\n\nexport const RADIAL_SEVERITY_COLORS = {\n none: {\n background: themeEnterprise.gray92,\n stroke: themeEnterprise.gray60,\n },\n low: {\n background: themeEnterprise.successColorL40,\n stroke: themeEnterprise.successColorD50,\n },\n guarded: {\n background: themeEnterprise.infoColorL40,\n stroke: themeEnterprise.infoColorD50,\n },\n elevated: {\n background: themeEnterprise.warningColorL40,\n stroke: themeEnterprise.warningColorD50,\n },\n high: {\n background: themeEnterprise.alertColorL40,\n stroke: themeEnterprise.alertColorD50,\n },\n severe: {\n background: themeEnterprise.errorColorL40,\n stroke: themeEnterprise.errorColorD50,\n },\n};\n\nexport const COLOR_EDITOR_PALETTE = [\n 'transparent',\n '#000000',\n '#ffffff',\n '#dc4e41',\n '#f1813f',\n '#f8be34',\n '#53a051',\n '#0877a6',\n '#ec9960',\n '#af575a',\n '#62b3b2',\n '#4fa484',\n '#f8be44',\n '#5a4575',\n '#708794',\n '#294e70',\n '#b6c75a',\n];\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/themes/getTheme\"","webpack:///./src/colorConstants.js"],"names":["themeEnterprise","getTheme","family","colorScheme","density","DELTA_GREEN","successColor","DELTA_RED","errorColor","SEMANTIC_SUCCESS","SEMANTIC_WARNING","SEMANTIC_ERROR","SPARKLINE_FILL_COLOR","gray60","SPARKLINE_STROKE_COLOR","gray20","SPARKLINE_WHITE","white","RADIAL_BACKGROUND_COLOR","gray92","RADIAL_STROKE_COLOR","RADIAL_SEVERITY_COLORS","none","background","stroke","low","successColorL40","successColorD50","guarded","infoColorL40","infoColorD50","elevated","warningColorL40","warningColorD50","high","alertColorL40","alertColorD50","severe","errorColorL40","errorColorD50","COLOR_EDIT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D,IAAMQ,sBAAsB,GAAG;EAClCC,IAAI,EAAE;IACFC,UAAU,EAAEvB,eAAe,CAACmB,MAAM;IAClCK,MAAM,EAAExB,eAAe,CAACa;EAC5B,CAAC;EACDY,GAAG,EAAE;IACDF,UAAU,EAAEvB,eAAe,CAAC0B,eAAe;IAC3CF,MAAM,EAAExB,eAAe,CAAC2B;EAC5B,CAAC;EACDC,OAAO,EAAE;IACLL,UAAU,EAAEvB,eAAe,CAAC6B,YAAY;IACxCL,MAAM,EAAExB,eAAe,CAAC8B;EAC5B,CAAC;EACDC,QAAQ,EAAE;IACNR,UAAU,EAAEvB,eAAe,CAACgC,eAAe;IAC3CR,MAAM,EAAExB,eAAe,CAACiC;EAC5B,CAAC;EACDC,IAAI,EAAE;IACFX,UAAU,EAAEvB,eAAe,CAACmC,aAAa;IACzCX,MAAM,EAAExB,eAAe,CAACoC;EAC5B,CAAC;EACDC,MAAM,EAAE;IACJd,UAAU,EAAEvB,eAAe,CAACsC,aAAa;IACzCd,MAAM,EAAExB,eAAe,CAACuC;EAC5B;AACJ,CAAC;AAEM,IAAMC,oBAAoB,GAAG,CAChC,aAAa,EACb,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACZ,C","file":"colorConstants.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 = 51);\n","module.exports = require(\"@splunk/themes/getTheme\");","import getTheme from '@splunk/themes/getTheme';\n\nconst themeEnterprise = getTheme({ family: 'enterprise', colorScheme: 'light', density: 'comfortable' });\n\nexport const DELTA_GREEN = themeEnterprise.successColor;\nexport const DELTA_RED = themeEnterprise.errorColor;\n\nexport const SEMANTIC_SUCCESS = '#53a051';\nexport const SEMANTIC_WARNING = '#f8be34';\nexport const SEMANTIC_ERROR = '#dc4e41';\n\nexport const SPARKLINE_FILL_COLOR = themeEnterprise.gray60;\nexport const SPARKLINE_STROKE_COLOR = themeEnterprise.gray20;\nexport const SPARKLINE_WHITE = themeEnterprise.white;\n\nexport const RADIAL_BACKGROUND_COLOR = themeEnterprise.gray92;\nexport const RADIAL_STROKE_COLOR = themeEnterprise.gray60;\n\nexport const RADIAL_SEVERITY_COLORS = {\n none: {\n background: themeEnterprise.gray92,\n stroke: themeEnterprise.gray60,\n },\n low: {\n background: themeEnterprise.successColorL40,\n stroke: themeEnterprise.successColorD50,\n },\n guarded: {\n background: themeEnterprise.infoColorL40,\n stroke: themeEnterprise.infoColorD50,\n },\n elevated: {\n background: themeEnterprise.warningColorL40,\n stroke: themeEnterprise.warningColorD50,\n },\n high: {\n background: themeEnterprise.alertColorL40,\n stroke: themeEnterprise.alertColorD50,\n },\n severe: {\n background: themeEnterprise.errorColorL40,\n stroke: themeEnterprise.errorColorD50,\n },\n};\n\nexport const COLOR_EDITOR_PALETTE = [\n 'transparent',\n '#000000',\n '#ffffff',\n '#dc4e41',\n '#f1813f',\n '#f8be34',\n '#53a051',\n '#0877a6',\n '#ec9960',\n '#af575a',\n '#62b3b2',\n '#4fa484',\n '#f8be44',\n '#5a4575',\n '#708794',\n '#294e70',\n '#b6c75a',\n];\n"],"sourceRoot":""}
package/configUtils.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 = 53);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 52);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
94
94
 
95
- /***/ 53:
95
+ /***/ 52:
96
96
  /***/ (function(module, exports, __webpack_require__) {
97
97
 
98
98
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/configUtils.ts"],"names":["isDynamicOption","option","trim","startsWith","exports"],"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,SAASA,eAAeA,CAACC,MAAe;EACpC,OAAQA,MAAM,IAAI,OAAOA,MAAM,KAAK,QAAQ,IAAIA,MAAM,CAACC,IAAI,EAAE,CAACC,UAAU,CAAC,GAAG,CAAC,IAAK,KAAK;AAC3F;AAESC,OAAA,CAAAJ,eAAA,GAAAA,eAAA,C","file":"configUtils.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 = 53);\n","function isDynamicOption(option?: string): boolean {\n return (option && typeof option === 'string' && option.trim().startsWith('>')) || false;\n}\n\nexport { isDynamicOption };\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/configUtils.ts"],"names":["isDynamicOption","option","trim","startsWith","exports"],"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,SAASA,eAAeA,CAACC,MAAe;EACpC,OAAQA,MAAM,IAAI,OAAOA,MAAM,KAAK,QAAQ,IAAIA,MAAM,CAACC,IAAI,EAAE,CAACC,UAAU,CAAC,GAAG,CAAC,IAAK,KAAK;AAC3F;AAESC,OAAA,CAAAJ,eAAA,GAAAA,eAAA,C","file":"configUtils.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 = 52);\n","function isDynamicOption(option?: string): boolean {\n return (option && typeof option === 'string' && option.trim().startsWith('>')) || false;\n}\n\nexport { isDynamicOption };\n"],"sourceRoot":""}
package/console.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 = 54);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 53);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -106,7 +106,7 @@ module.exports = require("@babel/runtime/helpers/toConsumableArray");
106
106
 
107
107
  /***/ }),
108
108
 
109
- /***/ 54:
109
+ /***/ 53:
110
110
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
111
111
 
112
112
  "use strict";
package/console.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@babel/runtime/helpers/typeof\"","webpack:///external \"@babel/runtime/helpers/toConsumableArray\"","webpack:///./src/console.js"],"names":["hasWindowConsole","window","_typeof","hasConsoleMethod","method","console","noop","log","_window$console","apply","arguments","debug","_window$console2","info","_window$console3","warn","_window$console4","error","_window$console5","group","_window$console6","groupCollapsed","_window$console7","groupEnd","_window$console8","logWithDetails","message","lines","forEach","line","Array","isArray","_toConsumableArray","logfmt","strings","_len","length","values","_key","join","concat"],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;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EAE7FmB,cAAc,WAAAA,eAACC,OAAO,EAAEC,KAAK,EAAE;IAC3BtB,OAAO,CAACgB,cAAc,CAACK,OAAO,CAAC;IAC/BC,KAAK,CAACC,OAAO,CAAC,UAAAC,IAAI;MAAA,OAAKC,KAAK,CAACC,OAAO,CAACF,IAAI,CAAC,GAAGxB,OAAO,CAACE,GAAG,CAAAE,KAAA,CAAXJ,OAAO,EAAA2B,+EAAA,CAAQH,IAAI,EAAC,GAAGxB,OAAO,CAACE,GAAG,CAACsB,IAAI,CAAC;IAAA,CAAC,CAAC;IACvFxB,OAAO,CAACkB,QAAQ,EAAE;EACtB;AACJ,CAAC;AAEclB,sEAAO,EAAC;AAEhB,SAAS4B,MAAMA,CAACC,OAAO,EAAa;EAAA,SAAAC,IAAA,GAAAzB,SAAA,CAAA0B,MAAA,EAARC,MAAM,OAAAP,KAAA,CAAAK,IAAA,OAAAA,IAAA,WAAAG,IAAA,MAAAA,IAAA,GAAAH,IAAA,EAAAG,IAAA;IAAND,MAAM,CAAAC,IAAA,QAAA5B,SAAA,CAAA4B,IAAA;EAAA;EACrC,QAAQJ,OAAO,CAACK,IAAI,CAAC,IAAI,CAAC,EAAAC,MAAA,CAAAR,+EAAA,CAAMK,MAAM,IAAI,EAAE;AAChD,C","file":"console.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 = 54);\n","module.exports = require(\"@babel/runtime/helpers/typeof\");","module.exports = require(\"@babel/runtime/helpers/toConsumableArray\");","const hasWindowConsole = typeof window === 'object' && 'console' in window;\nconst hasConsoleMethod = method => hasWindowConsole && typeof window.console[method] === 'function';\nconst noop = () => {};\n\nconst console = {\n log: hasConsoleMethod('log') ? (...args) => window.console.log(...args) : noop,\n debug: hasConsoleMethod('debug') ? (...args) => window.console.debug(...args) : noop,\n info: hasConsoleMethod('info') ? (...args) => window.console.info(...args) : noop,\n warn: hasConsoleMethod('warn') ? (...args) => window.console.warn(...args) : noop,\n error: hasConsoleMethod('error') ? (...args) => window.console.error(...args) : noop,\n group: hasConsoleMethod('group') ? (...args) => window.console.group(...args) : noop,\n groupCollapsed: hasConsoleMethod('groupCollapsed')\n ? (...args) => window.console.groupCollapsed(...args)\n : noop,\n groupEnd: hasConsoleMethod('groupEnd') ? (...args) => window.console.groupEnd(...args) : noop,\n\n logWithDetails(message, lines) {\n console.groupCollapsed(message);\n lines.forEach(line => (Array.isArray(line) ? console.log(...line) : console.log(line)));\n console.groupEnd();\n },\n};\n\nexport default console;\n\nexport function logfmt(strings, ...values) {\n return [strings.join('%o'), ...(values || [])];\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@babel/runtime/helpers/typeof\"","webpack:///external \"@babel/runtime/helpers/toConsumableArray\"","webpack:///./src/console.js"],"names":["hasWindowConsole","window","_typeof","hasConsoleMethod","method","console","noop","log","_window$console","apply","arguments","debug","_window$console2","info","_window$console3","warn","_window$console4","error","_window$console5","group","_window$console6","groupCollapsed","_window$console7","groupEnd","_window$console8","logWithDetails","message","lines","forEach","line","Array","isArray","_toConsumableArray","logfmt","strings","_len","length","values","_key","join","concat"],"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;QAC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CAAC;IAC/BC,KAAK,CAACC,OAAO,CAAC,UAAAC,IAAI;MAAA,OAAKC,KAAK,CAACC,OAAO,CAACF,IAAI,CAAC,GAAGxB,OAAO,CAACE,GAAG,CAAAE,KAAA,CAAXJ,OAAO,EAAA2B,+EAAA,CAAQH,IAAI,EAAC,GAAGxB,OAAO,CAACE,GAAG,CAACsB,IAAI,CAAC;IAAA,CAAC,CAAC;IACvFxB,OAAO,CAACkB,QAAQ,EAAE;EACtB;AACJ,CAAC;AAEclB,sEAAO,EAAC;AAEhB,SAAS4B,MAAMA,CAACC,OAAO,EAAa;EAAA,SAAAC,IAAA,GAAAzB,SAAA,CAAA0B,MAAA,EAARC,MAAM,OAAAP,KAAA,CAAAK,IAAA,OAAAA,IAAA,WAAAG,IAAA,MAAAA,IAAA,GAAAH,IAAA,EAAAG,IAAA;IAAND,MAAM,CAAAC,IAAA,QAAA5B,SAAA,CAAA4B,IAAA;EAAA;EACrC,QAAQJ,OAAO,CAACK,IAAI,CAAC,IAAI,CAAC,EAAAC,MAAA,CAAAR,+EAAA,CAAMK,MAAM,IAAI,EAAE;AAChD,C","file":"console.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 = 53);\n","module.exports = require(\"@babel/runtime/helpers/typeof\");","module.exports = require(\"@babel/runtime/helpers/toConsumableArray\");","const hasWindowConsole = typeof window === 'object' && 'console' in window;\nconst hasConsoleMethod = method => hasWindowConsole && typeof window.console[method] === 'function';\nconst noop = () => {};\n\nconst console = {\n log: hasConsoleMethod('log') ? (...args) => window.console.log(...args) : noop,\n debug: hasConsoleMethod('debug') ? (...args) => window.console.debug(...args) : noop,\n info: hasConsoleMethod('info') ? (...args) => window.console.info(...args) : noop,\n warn: hasConsoleMethod('warn') ? (...args) => window.console.warn(...args) : noop,\n error: hasConsoleMethod('error') ? (...args) => window.console.error(...args) : noop,\n group: hasConsoleMethod('group') ? (...args) => window.console.group(...args) : noop,\n groupCollapsed: hasConsoleMethod('groupCollapsed')\n ? (...args) => window.console.groupCollapsed(...args)\n : noop,\n groupEnd: hasConsoleMethod('groupEnd') ? (...args) => window.console.groupEnd(...args) : noop,\n\n logWithDetails(message, lines) {\n console.groupCollapsed(message);\n lines.forEach(line => (Array.isArray(line) ? console.log(...line) : console.log(line)));\n console.groupEnd();\n },\n};\n\nexport default console;\n\nexport function logfmt(strings, ...values) {\n return [strings.join('%o'), ...(values || [])];\n}\n"],"sourceRoot":""}
@@ -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 = 55);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 54);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
94
94
 
95
- /***/ 55:
95
+ /***/ 54:
96
96
  /***/ (function(module, exports, __webpack_require__) {
97
97
 
98
98
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/dataSourceUtils.ts"],"names":["DataSourceState","exports","getDataSourceState","dataSource","NONEXISTENT","error","data","ERROR","LOADING","OK","getDataSourceStateInfo","dataSourceState","hasError","isMissing","isLoading"],"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,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,SAAS,EAAEF,eAAe,KAAKX,eAAe,CAACI,WAAW;IAC1DU,SAAS,EAAEH,eAAe,KAAKX,eAAe,CAACQ;GAClD;AACL,CAAC;AATYP,OAAA,CAAAS,sBAAsB,GAAAA,sBAAA,C","file":"dataSourceUtils.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 = 55);\n","export enum DataSourceState {\n NONEXISTENT = 0,\n ERROR = 1,\n LOADING = 2,\n OK = 3,\n}\n\n/**\n * represents the data in a raw columnar format, resulting from a splunk\n * query request.\n */\nexport interface FieldEntry {\n name: string;\n type?: string;\n groupby_rank?: string; // eslint-disable-line\n splitby_field?: string; // eslint-disable-line\n splitby_value?: string; // eslint-disable-line\n data_source?: string; // eslint-disable-line\n}\n\nconst getDataSourceState = (dataSource): DataSourceState => {\n if (!dataSource) {\n return DataSourceState.NONEXISTENT;\n }\n const { error, data } = dataSource;\n if (dataSource.error) {\n return DataSourceState.ERROR;\n }\n if (error == null && data == null) {\n return DataSourceState.LOADING;\n }\n return DataSourceState.OK;\n};\n/**\n * A utility fn to return data source state info as an object of boolean flags\n * @param dataSource\n */\nexport const getDataSourceStateInfo = (\n dataSource\n): { hasError: boolean; isMissing: boolean; isLoading: boolean } => {\n const dataSourceState: DataSourceState = getDataSourceState(dataSource);\n return {\n hasError: dataSourceState === DataSourceState.ERROR,\n isMissing: dataSourceState === DataSourceState.NONEXISTENT,\n isLoading: dataSourceState === DataSourceState.LOADING,\n };\n};\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/dataSourceUtils.ts"],"names":["DataSourceState","exports","getDataSourceState","dataSource","NONEXISTENT","error","data","ERROR","LOADING","OK","getDataSourceStateInfo","dataSourceState","hasError","isMissing","isLoading"],"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,IAAYA,eAKX;AALD,WAAYA,eAAe;EACvBA,eAAA,CAAAA,eAAA,oCAAe;EACfA,eAAA,CAAAA,eAAA,wBAAS;EACTA,eAAA,CAAAA,eAAA,4BAAW;EACXA,eAAA,CAAAA,eAAA,kBAAM;AACV,CAAC,EALWA,eAAe,GAAfC,OAAA,CAAAD,eAAe,KAAfC,OAAA,CAAAD,eAAe;AAoB3B,IAAME,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,UAAU,EAAqB;EACvD,IAAI,CAACA,UAAU,EAAE;IACb,OAAOH,eAAe,CAACI,WAAW;;EACrC,IACOC,KAAK,GAAWF,UAAU,CAA1BE,KAAK;IAAEC,IAAI,GAAKH,UAAU,CAAnBG,IAAI;EACnB,IAAIH,UAAU,CAACE,KAAK,EAAE;IAClB,OAAOL,eAAe,CAACO,KAAK;;EAEhC,IAAIF,KAAK,IAAI,IAAI,IAAIC,IAAI,IAAI,IAAI,EAAE;IAC/B,OAAON,eAAe,CAACQ,OAAO;;EAElC,OAAOR,eAAe,CAACS,EAAE;AAC7B,CAAC;AACD;;;;AAIO,IAAMC,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAC/BP,UAAU,EACqD;EAC/D,IAAMQ,eAAe,GAAoBT,kBAAkB,CAACC,UAAU,CAAC;EACvE,OAAO;IACHS,QAAQ,EAAED,eAAe,KAAKX,eAAe,CAACO,KAAK;IACnDM,SAAS,EAAEF,eAAe,KAAKX,eAAe,CAACI,WAAW;IAC1DU,SAAS,EAAEH,eAAe,KAAKX,eAAe,CAACQ;GAClD;AACL,CAAC;AATYP,OAAA,CAAAS,sBAAsB,GAAAA,sBAAA,C","file":"dataSourceUtils.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 = 54);\n","export enum DataSourceState {\n NONEXISTENT = 0,\n ERROR = 1,\n LOADING = 2,\n OK = 3,\n}\n\n/**\n * represents the data in a raw columnar format, resulting from a splunk\n * query request.\n */\nexport interface FieldEntry {\n name: string;\n type?: string;\n groupby_rank?: string; // eslint-disable-line\n splitby_field?: string; // eslint-disable-line\n splitby_value?: string; // eslint-disable-line\n data_source?: string; // eslint-disable-line\n}\n\nconst getDataSourceState = (dataSource): DataSourceState => {\n if (!dataSource) {\n return DataSourceState.NONEXISTENT;\n }\n const { error, data } = dataSource;\n if (dataSource.error) {\n return DataSourceState.ERROR;\n }\n if (error == null && data == null) {\n return DataSourceState.LOADING;\n }\n return DataSourceState.OK;\n};\n/**\n * A utility fn to return data source state info as an object of boolean flags\n * @param dataSource\n */\nexport const getDataSourceStateInfo = (\n dataSource\n): { hasError: boolean; isMissing: boolean; isLoading: boolean } => {\n const dataSourceState: DataSourceState = getDataSourceState(dataSource);\n return {\n hasError: dataSourceState === DataSourceState.ERROR,\n isMissing: dataSourceState === DataSourceState.NONEXISTENT,\n isLoading: dataSourceState === DataSourceState.LOADING,\n };\n};\n"],"sourceRoot":""}
package/domUtils.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 = 56);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 55);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -99,7 +99,7 @@ module.exports = require("lodash/memoize");
99
99
 
100
100
  /***/ }),
101
101
 
102
- /***/ 56:
102
+ /***/ 55:
103
103
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
104
104
 
105
105
  "use strict";
package/domUtils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"lodash/memoize\"","webpack:///./src/domUtils.js"],"names":["computeTextSize","memoize","text","font","canvas","document","createElement","context","getContext","measure","measureText","width","concat","getPropValue","element","property","window","getComputedStyle","getPropertyValue"],"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,2C;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAqC;AAE9B,IAAMA,eAAe,GAAGC,qDAAO,CAClC,UAACC,IAAI,EAAEC,IAAI,EAAK;EACZ,IAAMC,MAAM,GAAGC,QAAQ,CAACC,aAAa,CAAC,QAAQ,CAAC;EAC/C,IAAMC,OAAO,GAAGH,MAAM,CAACI,UAAU,CAAC,IAAI,CAAC;EACvCD,OAAO,CAACJ,IAAI,GAAGA,IAAI;EACnB,IAAMM,OAAO,GAAGF,OAAO,CAACG,WAAW,CAACR,IAAI,CAAC;EACzC,OAAOO,OAAO,CAACE,KAAK;AACxB,CAAC,EACD,UAACT,IAAI,EAAEC,IAAI;EAAA,UAAAS,MAAA,CAAQV,IAAI,EAAAU,MAAA,CAAGT,IAAI;AAAA,CAAE,CACnC;AAEM,SAASU,YAAYA,CAACC,OAAO,EAAEC,QAAQ,EAAE;EAC5C,OAAOC,MAAM,CAACC,gBAAgB,CAACH,OAAO,CAAC,CAACI,gBAAgB,CAACH,QAAQ,CAAC;AACtE,C","file":"domUtils.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 = 56);\n","module.exports = require(\"lodash/memoize\");","import memoize from 'lodash/memoize';\n\nexport const computeTextSize = memoize(\n (text, font) => {\n const canvas = document.createElement('canvas');\n const context = canvas.getContext('2d');\n context.font = font;\n const measure = context.measureText(text);\n return measure.width;\n },\n (text, font) => `${text}${font}`\n);\n\nexport function getPropValue(element, property) {\n return window.getComputedStyle(element).getPropertyValue(property);\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"lodash/memoize\"","webpack:///./src/domUtils.js"],"names":["computeTextSize","memoize","text","font","canvas","document","createElement","context","getContext","measure","measureText","width","concat","getPropValue","element","property","window","getComputedStyle","getPropertyValue"],"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,2C;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAqC;AAE9B,IAAMA,eAAe,GAAGC,qDAAO,CAClC,UAACC,IAAI,EAAEC,IAAI,EAAK;EACZ,IAAMC,MAAM,GAAGC,QAAQ,CAACC,aAAa,CAAC,QAAQ,CAAC;EAC/C,IAAMC,OAAO,GAAGH,MAAM,CAACI,UAAU,CAAC,IAAI,CAAC;EACvCD,OAAO,CAACJ,IAAI,GAAGA,IAAI;EACnB,IAAMM,OAAO,GAAGF,OAAO,CAACG,WAAW,CAACR,IAAI,CAAC;EACzC,OAAOO,OAAO,CAACE,KAAK;AACxB,CAAC,EACD,UAACT,IAAI,EAAEC,IAAI;EAAA,UAAAS,MAAA,CAAQV,IAAI,EAAAU,MAAA,CAAGT,IAAI;AAAA,CAAE,CACnC;AAEM,SAASU,YAAYA,CAACC,OAAO,EAAEC,QAAQ,EAAE;EAC5C,OAAOC,MAAM,CAACC,gBAAgB,CAACH,OAAO,CAAC,CAACI,gBAAgB,CAACH,QAAQ,CAAC;AACtE,C","file":"domUtils.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 = 55);\n","module.exports = require(\"lodash/memoize\");","import memoize from 'lodash/memoize';\n\nexport const computeTextSize = memoize(\n (text, font) => {\n const canvas = document.createElement('canvas');\n const context = canvas.getContext('2d');\n context.font = font;\n const measure = context.measureText(text);\n return measure.width;\n },\n (text, font) => `${text}${font}`\n);\n\nexport function getPropValue(element, property) {\n return window.getComputedStyle(element).getPropertyValue(property);\n}\n"],"sourceRoot":""}
package/hocUtils.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 = 57);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 56);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -99,6 +99,13 @@ module.exports = require("@babel/runtime/helpers/typeof");
99
99
 
100
100
  /***/ }),
101
101
 
102
+ /***/ 2:
103
+ /***/ (function(module, exports) {
104
+
105
+ module.exports = require("lodash");
106
+
107
+ /***/ }),
108
+
102
109
  /***/ 28:
103
110
  /***/ (function(module, exports, __webpack_require__) {
104
111
 
@@ -152,14 +159,7 @@ exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
152
159
 
153
160
  /***/ }),
154
161
 
155
- /***/ 4:
156
- /***/ (function(module, exports) {
157
-
158
- module.exports = require("lodash");
159
-
160
- /***/ }),
161
-
162
- /***/ 57:
162
+ /***/ 56:
163
163
  /***/ (function(module, exports, __webpack_require__) {
164
164
 
165
165
  "use strict";
@@ -170,7 +170,7 @@ Object.defineProperty(exports, "__esModule", {
170
170
  value: true
171
171
  });
172
172
  exports.deepMergeWithArrayPrimitiveOverrides = void 0;
173
- var lodash_1 = __webpack_require__(4);
173
+ var lodash_1 = __webpack_require__(2);
174
174
  var mapUtils_1 = __webpack_require__(28);
175
175
  /**
176
176
  * helper to deeply merge objects while preserving arrays in earlier source objects
@@ -186,24 +186,24 @@ var mapUtils_1 = __webpack_require__(28);
186
186
  * @returns {Object}
187
187
  */
188
188
  var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveOverrides(initial) {
189
- var clone = lodash_1.cloneDeep(initial);
189
+ var clone = (0, lodash_1.cloneDeep)(initial);
190
190
  for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
191
191
  sources[_key - 1] = arguments[_key];
192
192
  }
193
193
  sources.forEach(function (sourceToApply) {
194
194
  Object.keys(sourceToApply).forEach(function (sourceKey) {
195
195
  if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
196
- clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
196
+ clone[sourceKey] = (0, lodash_1.cloneDeep)(sourceToApply[sourceKey]);
197
197
  }
198
198
  if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
199
- clone[sourceKey] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey], sourceToApply[sourceKey]);
199
+ clone[sourceKey] = (0, exports.deepMergeWithArrayPrimitiveOverrides)(clone[sourceKey], sourceToApply[sourceKey]);
200
200
  } else if (Array.isArray(clone[sourceKey]) && _typeof(clone[sourceKey][0]) === 'object' && !Array.isArray(clone[sourceKey][0])) {
201
201
  // If option is an array of objects
202
202
  for (var i = 0; i < clone[sourceKey].length; i += 1) {
203
203
  if (_typeof(clone[sourceKey][i]) === 'object') {
204
- var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
204
+ var closestMatchIdx = (0, mapUtils_1.findClosestMatchFromDefaultList)(sourceToApply[sourceKey], clone[sourceKey][i]);
205
205
  if (closestMatchIdx > -1) {
206
- clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
206
+ clone[sourceKey][i] = (0, exports.deepMergeWithArrayPrimitiveOverrides)(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
207
207
  }
208
208
  }
209
209
  }