jsoneditor-rails 2.0.0 → 2.1.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.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/jsoneditor/rails/version.rb +1 -1
- data/vendor/assets/javascripts/jsoneditor-minimalist.js +122 -117
- data/vendor/assets/javascripts/jsoneditor-minimalist.map +1 -1
- data/vendor/assets/javascripts/jsoneditor.js +1781 -1318
- data/vendor/assets/javascripts/jsoneditor.map +1 -1
- data/vendor/assets/stylesheets/jsoneditor.scss +9 -4
- metadata +4 -71
- data/.github/dependabot.yml +0 -20
- data/.github/workflows/ci.yml +0 -26
- data/.gitignore +0 -9
- data/CHANGELOG.md +0 -24
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -84
- data/Rakefile +0 -37
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/jsoneditor-rails.gemspec +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbe8252002c8cde27f929b65300bf3b0d3191bd13b987b8282f773aced26aaf0
|
4
|
+
data.tar.gz: 89b5f55b69459c3c35a26855c6a7fd57cbdad3e2249f5cd9d0beb17b61510399
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 546ec2c8667ae32f1b064704148bedb6b67610deaf9616bb23c599f4d6c031093905e7f923b99ba798580ea877163ea8eed433b11352d6063a3fab4815565845
|
7
|
+
data.tar.gz: 3f59a42a34f6abba0fc9b422a6c4459421c3ba00c5793bc03ceaf2f143948ce07b957fe7033beebd00ab9b0dc9a9dd5f4a266e40c4d6f446a7d012791dd07da1
|
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# jsoneditor-rails
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/jsoneditor-rails)
|
4
|
-

|
5
4
|
|
6
5
|
This gem packages the [JSON Editor](https://github.com/josdejong/jsoneditor) assets (JavaScripts, stylesheets, and images) for the Rails asset pipeline, so you don't have to download a package.
|
7
6
|
|
@@ -24,8 +24,8 @@
|
|
24
24
|
* Copyright (c) 2011-2023 Jos de Jong, http://jsoneditoronline.org
|
25
25
|
*
|
26
26
|
* @author Jos de Jong, <wjosdejong@gmail.com>
|
27
|
-
* @version 9.10.
|
28
|
-
* @date 2023-
|
27
|
+
* @version 9.10.5
|
28
|
+
* @date 2023-12-21
|
29
29
|
*/
|
30
30
|
|
31
31
|
(function webpackUniversalModuleDefinition(root, factory) {
|
@@ -46,14 +46,14 @@ return /******/ (function() { // webpackBootstrap
|
|
46
46
|
|
47
47
|
"use strict";
|
48
48
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
49
|
-
/* harmony export */
|
49
|
+
/* harmony export */ x: function() { return /* binding */ ContextMenu; }
|
50
50
|
/* harmony export */ });
|
51
51
|
/* harmony import */ var _createAbsoluteAnchor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(602);
|
52
52
|
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(791);
|
53
53
|
/* harmony import */ var _i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(907);
|
54
54
|
|
55
55
|
|
56
|
-
function _typeof(
|
56
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
57
57
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
58
58
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
59
59
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -512,9 +512,9 @@ ContextMenu.visibleMenu = undefined;
|
|
512
512
|
|
513
513
|
"use strict";
|
514
514
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
515
|
-
/* harmony export */
|
515
|
+
/* harmony export */ Q: function() { return /* binding */ ErrorTable; }
|
516
516
|
/* harmony export */ });
|
517
|
-
function _typeof(
|
517
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
518
518
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
519
519
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
520
520
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -714,7 +714,7 @@ var ErrorTable = /*#__PURE__*/function () {
|
|
714
714
|
|
715
715
|
"use strict";
|
716
716
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
717
|
-
/* harmony export */
|
717
|
+
/* harmony export */ R: function() { return /* binding */ FocusTracker; }
|
718
718
|
/* harmony export */ });
|
719
719
|
|
720
720
|
|
@@ -728,7 +728,7 @@ var ErrorTable = /*#__PURE__*/function () {
|
|
728
728
|
*
|
729
729
|
* @return
|
730
730
|
*/
|
731
|
-
function _typeof(
|
731
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
732
732
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
733
733
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
734
734
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -1320,13 +1320,13 @@ module.exports = JSONEditor;
|
|
1320
1320
|
|
1321
1321
|
"use strict";
|
1322
1322
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1323
|
-
/* harmony export */
|
1323
|
+
/* harmony export */ x: function() { return /* binding */ ModeSwitcher; }
|
1324
1324
|
/* harmony export */ });
|
1325
1325
|
/* harmony import */ var _ContextMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(897);
|
1326
1326
|
/* harmony import */ var _i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(907);
|
1327
1327
|
|
1328
1328
|
|
1329
|
-
function _typeof(
|
1329
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
1330
1330
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1331
1331
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
1332
1332
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -4318,10 +4318,10 @@ module.exports = Selectr;
|
|
4318
4318
|
|
4319
4319
|
"use strict";
|
4320
4320
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
4321
|
-
/* harmony export */
|
4322
|
-
/* harmony export */
|
4323
|
-
/* harmony export */
|
4324
|
-
/* harmony export */
|
4321
|
+
/* harmony export */ EX: function() { return /* binding */ SIZE_LARGE; },
|
4322
|
+
/* harmony export */ WF: function() { return /* binding */ MAX_PREVIEW_CHARACTERS; },
|
4323
|
+
/* harmony export */ oW: function() { return /* binding */ PREVIEW_HISTORY_LIMIT; },
|
4324
|
+
/* harmony export */ qD: function() { return /* binding */ DEFAULT_MODAL_ANCHOR; }
|
4325
4325
|
/* harmony export */ });
|
4326
4326
|
var DEFAULT_MODAL_ANCHOR = document.body;
|
4327
4327
|
var SIZE_LARGE = 10 * 1024 * 1024; // 10 MB
|
@@ -4335,7 +4335,7 @@ var PREVIEW_HISTORY_LIMIT = 2 * 1024 * 1024 * 1024; // 2 GB
|
|
4335
4335
|
|
4336
4336
|
"use strict";
|
4337
4337
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
4338
|
-
/* harmony export */
|
4338
|
+
/* harmony export */ w: function() { return /* binding */ createAbsoluteAnchor; }
|
4339
4339
|
/* harmony export */ });
|
4340
4340
|
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(791);
|
4341
4341
|
|
@@ -4432,9 +4432,9 @@ function hasOwnProperty(object, key) {
|
|
4432
4432
|
|
4433
4433
|
"use strict";
|
4434
4434
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
4435
|
-
/* harmony export */
|
4436
|
-
/* harmony export */
|
4437
|
-
/* harmony export */
|
4435
|
+
/* harmony export */ Iu: function() { return /* binding */ translate; },
|
4436
|
+
/* harmony export */ cC: function() { return /* binding */ setLanguages; },
|
4437
|
+
/* harmony export */ m0: function() { return /* binding */ setLanguage; }
|
4438
4438
|
/* harmony export */ });
|
4439
4439
|
/* harmony import */ var _polyfills__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(987);
|
4440
4440
|
/* harmony import */ var _polyfills__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_polyfills__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -5387,8 +5387,8 @@ function translate(key, data, lang) {
|
|
5387
5387
|
|
5388
5388
|
"use strict";
|
5389
5389
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
5390
|
-
/* harmony export */
|
5391
|
-
/* harmony export */
|
5390
|
+
/* harmony export */ J: function() { return /* binding */ executeQuery; },
|
5391
|
+
/* harmony export */ r: function() { return /* binding */ createQuery; }
|
5392
5392
|
/* harmony export */ });
|
5393
5393
|
/* harmony import */ var jmespath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(156);
|
5394
5394
|
/* harmony import */ var jmespath__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jmespath__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -5540,7 +5540,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
5540
5540
|
|
5541
5541
|
// EXPORTS
|
5542
5542
|
__webpack_require__.d(__webpack_exports__, {
|
5543
|
-
|
5543
|
+
previewModeMixins: function() { return /* binding */ previewModeMixins; }
|
5544
5544
|
});
|
5545
5545
|
|
5546
5546
|
// EXTERNAL MODULE: ./node_modules/jsonrepair/lib/esm/jsonrepair.js + 2 modules
|
@@ -5552,7 +5552,7 @@ var ErrorTable = __webpack_require__(436);
|
|
5552
5552
|
// EXTERNAL MODULE: ./src/js/FocusTracker.js
|
5553
5553
|
var FocusTracker = __webpack_require__(474);
|
5554
5554
|
;// CONCATENATED MODULE: ./src/js/History.js
|
5555
|
-
function _typeof(
|
5555
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
5556
5556
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
5557
5557
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
5558
5558
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -6310,7 +6310,7 @@ var previewModeMixins = [{
|
|
6310
6310
|
"use strict";
|
6311
6311
|
__webpack_require__.r(__webpack_exports__);
|
6312
6312
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
6313
|
-
/* harmony export */
|
6313
|
+
/* harmony export */ showSortModal: function() { return /* binding */ showSortModal; }
|
6314
6314
|
/* harmony export */ });
|
6315
6315
|
/* harmony import */ var picomodal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(483);
|
6316
6316
|
/* harmony import */ var picomodal__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(picomodal__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -6399,7 +6399,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6399
6399
|
|
6400
6400
|
// EXPORTS
|
6401
6401
|
__webpack_require__.d(__webpack_exports__, {
|
6402
|
-
|
6402
|
+
showTransformModal: function() { return /* binding */ showTransformModal; }
|
6403
6403
|
});
|
6404
6404
|
|
6405
6405
|
// EXTERNAL MODULE: ./node_modules/picomodal/src/picoModal.js
|
@@ -6434,7 +6434,7 @@ var i18n = __webpack_require__(907);
|
|
6434
6434
|
*
|
6435
6435
|
* @returns {string | undefined} Returns the string representation of the JSON object.
|
6436
6436
|
*/
|
6437
|
-
function _typeof(
|
6437
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
6438
6438
|
function stringifyPartial(value, space, limit) {
|
6439
6439
|
var _space; // undefined by default
|
6440
6440
|
if (typeof space === 'number') {
|
@@ -6809,7 +6809,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6809
6809
|
|
6810
6810
|
// EXPORTS
|
6811
6811
|
__webpack_require__.d(__webpack_exports__, {
|
6812
|
-
|
6812
|
+
textModeMixins: function() { return /* binding */ textModeMixins; }
|
6813
6813
|
});
|
6814
6814
|
|
6815
6815
|
// EXTERNAL MODULE: ./node_modules/jsonrepair/lib/esm/jsonrepair.js + 2 modules
|
@@ -6842,7 +6842,7 @@ var util = __webpack_require__(791);
|
|
6842
6842
|
;// CONCATENATED MODULE: ./src/js/SchemaTextCompleter.js
|
6843
6843
|
|
6844
6844
|
|
6845
|
-
function _typeof(
|
6845
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
6846
6846
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
6847
6847
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
6848
6848
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -7039,8 +7039,8 @@ var SchemaTextCompleter = /*#__PURE__*/function () {
|
|
7039
7039
|
return last;
|
7040
7040
|
});
|
7041
7041
|
if (typeof option === 'string') {
|
7042
|
-
var _currentSuggestions$o
|
7043
|
-
if ((_currentSuggestions$o = currentSuggestions[option]) !== null && _currentSuggestions$o !== void 0 && (_currentSuggestions$
|
7042
|
+
var _currentSuggestions$o;
|
7043
|
+
if ((_currentSuggestions$o = currentSuggestions[option]) !== null && _currentSuggestions$o !== void 0 && (_currentSuggestions$o = _currentSuggestions$o.refs) !== null && _currentSuggestions$o !== void 0 && _currentSuggestions$o.length) {
|
7044
7044
|
var mergedSuggestions = {};
|
7045
7045
|
for (var idx in currentSuggestions[option].refs) {
|
7046
7046
|
var refName = currentSuggestions[option].refs[idx];
|
@@ -7136,7 +7136,7 @@ function validateCustom(json, onValidate) {
|
|
7136
7136
|
;// CONCATENATED MODULE: ./src/js/textmode.js
|
7137
7137
|
|
7138
7138
|
|
7139
|
-
function textmode_typeof(
|
7139
|
+
function textmode_typeof(o) { "@babel/helpers - typeof"; return textmode_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, textmode_typeof(o); }
|
7140
7140
|
|
7141
7141
|
|
7142
7142
|
|
@@ -8189,7 +8189,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
8189
8189
|
|
8190
8190
|
// EXPORTS
|
8191
8191
|
__webpack_require__.d(__webpack_exports__, {
|
8192
|
-
|
8192
|
+
treeModeMixins: function() { return /* binding */ treeModeMixins; }
|
8193
8193
|
});
|
8194
8194
|
|
8195
8195
|
;// CONCATENATED MODULE: ./src/js/autocomplete.js
|
@@ -8589,7 +8589,7 @@ var FocusTracker = __webpack_require__(474);
|
|
8589
8589
|
* animate the visibility of a context menu.
|
8590
8590
|
* @constructor Highlighter
|
8591
8591
|
*/
|
8592
|
-
function _typeof(
|
8592
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
8593
8593
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8594
8594
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
8595
8595
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -9095,12 +9095,12 @@ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symb
|
|
9095
9095
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
9096
9096
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
9097
9097
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
9098
|
-
function _iterableToArrayLimit(
|
9098
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
9099
9099
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
9100
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(
|
9100
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
9101
9101
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
9102
9102
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
9103
|
-
function Node_typeof(
|
9103
|
+
function Node_typeof(o) { "@babel/helpers - typeof"; return Node_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, Node_typeof(o); }
|
9104
9104
|
function Node_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
9105
9105
|
function Node_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, Node_toPropertyKey(descriptor.key), descriptor); } }
|
9106
9106
|
function Node_createClass(Constructor, protoProps, staticProps) { if (protoProps) Node_defineProperties(Constructor.prototype, protoProps); if (staticProps) Node_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -13806,7 +13806,7 @@ var ShowMoreNode = showMoreNodeFactory(Node);
|
|
13806
13806
|
;// CONCATENATED MODULE: ./src/js/NodeHistory.js
|
13807
13807
|
|
13808
13808
|
|
13809
|
-
function NodeHistory_typeof(
|
13809
|
+
function NodeHistory_typeof(o) { "@babel/helpers - typeof"; return NodeHistory_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, NodeHistory_typeof(o); }
|
13810
13810
|
function NodeHistory_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
13811
13811
|
function NodeHistory_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, NodeHistory_toPropertyKey(descriptor.key), descriptor); } }
|
13812
13812
|
function NodeHistory_createClass(Constructor, protoProps, staticProps) { if (protoProps) NodeHistory_defineProperties(Constructor.prototype, protoProps); if (staticProps) NodeHistory_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -14162,7 +14162,7 @@ var NodeHistory = /*#__PURE__*/function () {
|
|
14162
14162
|
;// CONCATENATED MODULE: ./src/js/SearchBox.js
|
14163
14163
|
|
14164
14164
|
|
14165
|
-
function SearchBox_typeof(
|
14165
|
+
function SearchBox_typeof(o) { "@babel/helpers - typeof"; return SearchBox_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, SearchBox_typeof(o); }
|
14166
14166
|
function SearchBox_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
14167
14167
|
function SearchBox_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, SearchBox_toPropertyKey(descriptor.key), descriptor); } }
|
14168
14168
|
function SearchBox_createClass(Constructor, protoProps, staticProps) { if (protoProps) SearchBox_defineProperties(Constructor.prototype, protoProps); if (staticProps) SearchBox_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -14503,7 +14503,7 @@ var SearchBox = /*#__PURE__*/function () {
|
|
14503
14503
|
;// CONCATENATED MODULE: ./src/js/TreePath.js
|
14504
14504
|
|
14505
14505
|
|
14506
|
-
function TreePath_typeof(
|
14506
|
+
function TreePath_typeof(o) { "@babel/helpers - typeof"; return TreePath_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, TreePath_typeof(o); }
|
14507
14507
|
function TreePath_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
14508
14508
|
function TreePath_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, TreePath_toPropertyKey(descriptor.key), descriptor); } }
|
14509
14509
|
function TreePath_createClass(Constructor, protoProps, staticProps) { if (protoProps) TreePath_defineProperties(Constructor.prototype, protoProps); if (staticProps) TreePath_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
@@ -16449,65 +16449,65 @@ exports.O = function () {
|
|
16449
16449
|
"use strict";
|
16450
16450
|
__webpack_require__.r(__webpack_exports__);
|
16451
16451
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
16452
|
-
/* harmony export */
|
16453
|
-
/* harmony export */
|
16454
|
-
/* harmony export */
|
16455
|
-
/* harmony export */
|
16456
|
-
/* harmony export */
|
16457
|
-
/* harmony export */
|
16458
|
-
/* harmony export */
|
16459
|
-
/* harmony export */
|
16460
|
-
/* harmony export */
|
16461
|
-
/* harmony export */
|
16462
|
-
/* harmony export */
|
16463
|
-
/* harmony export */
|
16464
|
-
/* harmony export */
|
16465
|
-
/* harmony export */
|
16466
|
-
/* harmony export */
|
16467
|
-
/* harmony export */
|
16468
|
-
/* harmony export */
|
16469
|
-
/* harmony export */
|
16470
|
-
/* harmony export */
|
16471
|
-
/* harmony export */
|
16472
|
-
/* harmony export */
|
16473
|
-
/* harmony export */
|
16474
|
-
/* harmony export */
|
16475
|
-
/* harmony export */
|
16476
|
-
/* harmony export */
|
16477
|
-
/* harmony export */
|
16478
|
-
/* harmony export */
|
16479
|
-
/* harmony export */
|
16480
|
-
/* harmony export */
|
16481
|
-
/* harmony export */
|
16482
|
-
/* harmony export */
|
16483
|
-
/* harmony export */
|
16484
|
-
/* harmony export */
|
16485
|
-
/* harmony export */
|
16486
|
-
/* harmony export */
|
16487
|
-
/* harmony export */
|
16488
|
-
/* harmony export */
|
16489
|
-
/* harmony export */
|
16490
|
-
/* harmony export */
|
16491
|
-
/* harmony export */
|
16492
|
-
/* harmony export */
|
16493
|
-
/* harmony export */
|
16494
|
-
/* harmony export */
|
16495
|
-
/* harmony export */
|
16496
|
-
/* harmony export */
|
16497
|
-
/* harmony export */
|
16498
|
-
/* harmony export */
|
16499
|
-
/* harmony export */
|
16500
|
-
/* harmony export */
|
16501
|
-
/* harmony export */
|
16502
|
-
/* harmony export */
|
16503
|
-
/* harmony export */
|
16504
|
-
/* harmony export */
|
16505
|
-
/* harmony export */
|
16506
|
-
/* harmony export */
|
16507
|
-
/* harmony export */
|
16508
|
-
/* harmony export */
|
16509
|
-
/* harmony export */
|
16510
|
-
/* harmony export */
|
16452
|
+
/* harmony export */ addClassName: function() { return /* binding */ addClassName; },
|
16453
|
+
/* harmony export */ addEventListener: function() { return /* binding */ addEventListener; },
|
16454
|
+
/* harmony export */ asyncExec: function() { return /* binding */ asyncExec; },
|
16455
|
+
/* harmony export */ clear: function() { return /* binding */ clear; },
|
16456
|
+
/* harmony export */ compileJSONPointer: function() { return /* binding */ compileJSONPointer; },
|
16457
|
+
/* harmony export */ contains: function() { return /* binding */ contains; },
|
16458
|
+
/* harmony export */ debounce: function() { return /* binding */ debounce; },
|
16459
|
+
/* harmony export */ escapeUnicodeChars: function() { return /* binding */ escapeUnicodeChars; },
|
16460
|
+
/* harmony export */ extend: function() { return /* binding */ extend; },
|
16461
|
+
/* harmony export */ findUniqueName: function() { return /* binding */ findUniqueName; },
|
16462
|
+
/* harmony export */ formatSize: function() { return /* binding */ formatSize; },
|
16463
|
+
/* harmony export */ get: function() { return /* binding */ get; },
|
16464
|
+
/* harmony export */ getAbsoluteLeft: function() { return /* binding */ getAbsoluteLeft; },
|
16465
|
+
/* harmony export */ getAbsoluteTop: function() { return /* binding */ getAbsoluteTop; },
|
16466
|
+
/* harmony export */ getChildPaths: function() { return /* binding */ getChildPaths; },
|
16467
|
+
/* harmony export */ getColorCSS: function() { return /* binding */ getColorCSS; },
|
16468
|
+
/* harmony export */ getIndexForPosition: function() { return /* binding */ getIndexForPosition; },
|
16469
|
+
/* harmony export */ getInnerText: function() { return /* binding */ getInnerText; },
|
16470
|
+
/* harmony export */ getInputSelection: function() { return /* binding */ getInputSelection; },
|
16471
|
+
/* harmony export */ getInternetExplorerVersion: function() { return /* binding */ getInternetExplorerVersion; },
|
16472
|
+
/* harmony export */ getPositionForPath: function() { return /* binding */ getPositionForPath; },
|
16473
|
+
/* harmony export */ getSelection: function() { return /* binding */ getSelection; },
|
16474
|
+
/* harmony export */ getSelectionOffset: function() { return /* binding */ getSelectionOffset; },
|
16475
|
+
/* harmony export */ getType: function() { return /* binding */ getType; },
|
16476
|
+
/* harmony export */ getWindow: function() { return /* binding */ getWindow; },
|
16477
|
+
/* harmony export */ hasParentNode: function() { return /* binding */ hasParentNode; },
|
16478
|
+
/* harmony export */ improveSchemaError: function() { return /* binding */ improveSchemaError; },
|
16479
|
+
/* harmony export */ insideRect: function() { return /* binding */ insideRect; },
|
16480
|
+
/* harmony export */ isArray: function() { return /* binding */ isArray; },
|
16481
|
+
/* harmony export */ isChildOf: function() { return /* binding */ isChildOf; },
|
16482
|
+
/* harmony export */ isFirefox: function() { return /* binding */ isFirefox; },
|
16483
|
+
/* harmony export */ isObject: function() { return /* binding */ isObject; },
|
16484
|
+
/* harmony export */ isPromise: function() { return /* binding */ isPromise; },
|
16485
|
+
/* harmony export */ isTimestamp: function() { return /* binding */ isTimestamp; },
|
16486
|
+
/* harmony export */ isUrl: function() { return /* binding */ isUrl; },
|
16487
|
+
/* harmony export */ isValidColor: function() { return /* binding */ isValidColor; },
|
16488
|
+
/* harmony export */ isValidValidationError: function() { return /* binding */ isValidValidationError; },
|
16489
|
+
/* harmony export */ isValidationErrorChanged: function() { return /* binding */ isValidationErrorChanged; },
|
16490
|
+
/* harmony export */ limitCharacters: function() { return /* binding */ limitCharacters; },
|
16491
|
+
/* harmony export */ makeFieldTooltip: function() { return /* binding */ makeFieldTooltip; },
|
16492
|
+
/* harmony export */ parse: function() { return /* binding */ parse; },
|
16493
|
+
/* harmony export */ parsePath: function() { return /* binding */ parsePath; },
|
16494
|
+
/* harmony export */ parseString: function() { return /* binding */ parseString; },
|
16495
|
+
/* harmony export */ removeAllClassNames: function() { return /* binding */ removeAllClassNames; },
|
16496
|
+
/* harmony export */ removeClassName: function() { return /* binding */ removeClassName; },
|
16497
|
+
/* harmony export */ removeEventListener: function() { return /* binding */ removeEventListener; },
|
16498
|
+
/* harmony export */ removeReturnsAndSurroundingWhitespace: function() { return /* binding */ removeReturnsAndSurroundingWhitespace; },
|
16499
|
+
/* harmony export */ selectContentEditable: function() { return /* binding */ selectContentEditable; },
|
16500
|
+
/* harmony export */ setEndOfContentEditable: function() { return /* binding */ setEndOfContentEditable; },
|
16501
|
+
/* harmony export */ setSelection: function() { return /* binding */ setSelection; },
|
16502
|
+
/* harmony export */ setSelectionOffset: function() { return /* binding */ setSelectionOffset; },
|
16503
|
+
/* harmony export */ sort: function() { return /* binding */ sort; },
|
16504
|
+
/* harmony export */ sortObjectKeys: function() { return /* binding */ sortObjectKeys; },
|
16505
|
+
/* harmony export */ stringifyPath: function() { return /* binding */ stringifyPath; },
|
16506
|
+
/* harmony export */ stripFormatting: function() { return /* binding */ stripFormatting; },
|
16507
|
+
/* harmony export */ textDiff: function() { return /* binding */ textDiff; },
|
16508
|
+
/* harmony export */ tryJsonRepair: function() { return /* binding */ tryJsonRepair; },
|
16509
|
+
/* harmony export */ uniqueMergeArrays: function() { return /* binding */ uniqueMergeArrays; },
|
16510
|
+
/* harmony export */ validate: function() { return /* binding */ validate; }
|
16511
16511
|
/* harmony export */ });
|
16512
16512
|
/* harmony import */ var _polyfills__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(987);
|
16513
16513
|
/* harmony import */ var _polyfills__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_polyfills__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -16525,7 +16525,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
16525
16525
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
16526
16526
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
16527
16527
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
16528
|
-
function _typeof(
|
16528
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
16529
16529
|
|
16530
16530
|
|
16531
16531
|
|
@@ -17595,6 +17595,10 @@ function parseString(str) {
|
|
17595
17595
|
if (lower === 'false') {
|
17596
17596
|
return false;
|
17597
17597
|
}
|
17598
|
+
if (/^0\d+$/.test(str)) {
|
17599
|
+
// to treat '001' as a string
|
17600
|
+
return str;
|
17601
|
+
}
|
17598
17602
|
var num = Number(str); // will nicely fail with '123ab'
|
17599
17603
|
var numFloat = parseFloat(str); // will nicely fail with ' '
|
17600
17604
|
if (!isNaN(num) && !isNaN(numFloat)) {
|
@@ -17688,25 +17692,26 @@ function isValidationErrorChanged(currErr, prevErr) {
|
|
17688
17692
|
return true;
|
17689
17693
|
}
|
17690
17694
|
var _loop = function _loop(i) {
|
17691
|
-
|
17692
|
-
|
17693
|
-
|
17694
|
-
|
17695
|
-
|
17696
|
-
|
17697
|
-
|
17698
|
-
|
17699
|
-
|
17700
|
-
|
17701
|
-
|
17702
|
-
|
17703
|
-
|
17704
|
-
|
17705
|
-
|
17706
|
-
|
17695
|
+
var pErr;
|
17696
|
+
if (currErr[i].type === 'error') {
|
17697
|
+
pErr = prevErr.find(function (p) {
|
17698
|
+
return p.line === currErr[i].line;
|
17699
|
+
});
|
17700
|
+
} else {
|
17701
|
+
pErr = prevErr.find(function (p) {
|
17702
|
+
return p.dataPath === currErr[i].dataPath && p.schemaPath === currErr[i].schemaPath;
|
17703
|
+
});
|
17704
|
+
}
|
17705
|
+
if (!pErr) {
|
17706
|
+
return {
|
17707
|
+
v: true
|
17708
|
+
};
|
17709
|
+
}
|
17710
|
+
},
|
17711
|
+
_ret;
|
17707
17712
|
for (var i = 0; i < currErr.length; ++i) {
|
17708
|
-
|
17709
|
-
if (
|
17713
|
+
_ret = _loop(i);
|
17714
|
+
if (_ret) return _ret.v;
|
17710
17715
|
}
|
17711
17716
|
return false;
|
17712
17717
|
}
|
@@ -20569,7 +20574,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
20569
20574
|
|
20570
20575
|
// EXPORTS
|
20571
20576
|
__webpack_require__.d(__webpack_exports__, {
|
20572
|
-
|
20577
|
+
K: function() { return /* binding */ jsonrepair; }
|
20573
20578
|
});
|
20574
20579
|
|
20575
20580
|
;// CONCATENATED MODULE: ./node_modules/jsonrepair/lib/esm/JSONRepairError.js
|