@splunk/dashboard-definition
Advanced tools
Comparing version 10.0.0 to 11.0.0
@@ -90,3 +90,3 @@ /*! | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 16); | ||
/******/ return __webpack_require__(__webpack_require__.s = 17); | ||
/******/ }) | ||
@@ -485,3 +485,3 @@ /************************************************************************/ | ||
module.exports = require("@babel/runtime-corejs2/helpers/classCallCheck"); | ||
module.exports = require("@splunk/ui-utils/i18n"); | ||
@@ -492,3 +492,3 @@ /***/ }), | ||
module.exports = require("lodash/cloneDeep"); | ||
module.exports = require("@babel/runtime-corejs2/helpers/classCallCheck"); | ||
@@ -499,3 +499,3 @@ /***/ }), | ||
module.exports = require("lodash/isString"); | ||
module.exports = require("lodash/cloneDeep"); | ||
@@ -506,3 +506,3 @@ /***/ }), | ||
module.exports = require("ajv"); | ||
module.exports = require("lodash/isString"); | ||
@@ -513,6 +513,12 @@ /***/ }), | ||
module.exports = require("ajv"); | ||
/***/ }), | ||
/* 16 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("short-unique-id"); | ||
/***/ }), | ||
/* 16 */ | ||
/* 17 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -533,7 +539,7 @@ | ||
/* harmony import */ var _babel_runtime_corejs2_helpers_objectSpread__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs2_helpers_objectSpread__WEBPACK_IMPORTED_MODULE_4__); | ||
/* harmony import */ var _babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(11); | ||
/* harmony import */ var _babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(12); | ||
/* harmony import */ var _babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_5__); | ||
/* harmony import */ var _babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(10); | ||
/* harmony import */ var _babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_6__); | ||
/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12); | ||
/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(13); | ||
/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_7__); | ||
@@ -546,11 +552,13 @@ /* harmony import */ var lodash_each__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(5); | ||
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_10__); | ||
/* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(13); | ||
/* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(14); | ||
/* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash_isString__WEBPACK_IMPORTED_MODULE_11__); | ||
/* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2); | ||
/* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_12__); | ||
/* harmony import */ var ajv__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(14); | ||
/* harmony import */ var ajv__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(ajv__WEBPACK_IMPORTED_MODULE_13__); | ||
/* harmony import */ var short_unique_id__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(15); | ||
/* harmony import */ var short_unique_id__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(short_unique_id__WEBPACK_IMPORTED_MODULE_14__); | ||
/* harmony import */ var _DashboardSchema__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(7); | ||
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(11); | ||
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__); | ||
/* harmony import */ var ajv__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(15); | ||
/* harmony import */ var ajv__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(ajv__WEBPACK_IMPORTED_MODULE_14__); | ||
/* harmony import */ var short_unique_id__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(16); | ||
/* harmony import */ var short_unique_id__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(short_unique_id__WEBPACK_IMPORTED_MODULE_15__); | ||
/* harmony import */ var _DashboardSchema__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(7); | ||
@@ -572,4 +580,5 @@ | ||
var uid = new short_unique_id__WEBPACK_IMPORTED_MODULE_14___default.a(); | ||
var uid = new short_unique_id__WEBPACK_IMPORTED_MODULE_15___default.a(); | ||
var nextVizId = function nextVizId() { | ||
@@ -583,3 +592,3 @@ return "viz_".concat(uid.randomUUID(8)); | ||
var ajv = new ajv__WEBPACK_IMPORTED_MODULE_13___default.a({ | ||
var ajv = new ajv__WEBPACK_IMPORTED_MODULE_14___default.a({ | ||
allErrors: true | ||
@@ -634,3 +643,3 @@ }); | ||
this.definition = def; | ||
this.setSchema(_DashboardSchema__WEBPACK_IMPORTED_MODULE_15__["default"]); | ||
this.setSchema(_DashboardSchema__WEBPACK_IMPORTED_MODULE_16__["default"]); | ||
} | ||
@@ -682,4 +691,4 @@ /** | ||
errors.push({ | ||
dataPath: 'inputs duplicated token error', | ||
message: "".concat(msg, " and ").concat(lastKey, " have the same token (").concat(token, ")") | ||
dataPath: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__["_"])('Error: Token duplicated across multiple inputs'), | ||
message: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__["_"])("".concat(msg, " and ").concat(lastKey, " have the same token (").concat(token, ")")) | ||
}); | ||
@@ -686,0 +695,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"author": "Splunk", | ||
"version": "10.0.0", | ||
"version": "11.0.0", | ||
"scripts": { | ||
@@ -27,3 +27,3 @@ "build": "NODE_ENV=production webpack --config ./webpack.config.js --bail", | ||
"@babel/core": "^7.5.5", | ||
"@splunk/dashboard-build-tools": "10.0.0", | ||
"@splunk/dashboard-build-tools": "11.0.0", | ||
"jest": "^24.1.0", | ||
@@ -30,0 +30,0 @@ "webpack": "^4.29.6", |
@@ -90,3 +90,3 @@ /*! | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 17); | ||
/******/ return __webpack_require__(__webpack_require__.s = 18); | ||
/******/ }) | ||
@@ -96,3 +96,3 @@ /************************************************************************/ | ||
/***/ 17: | ||
/***/ 18: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -99,0 +99,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
157250
1728