hoeditor-web 3.1.122 → 3.1.124

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.
@@ -67046,20 +67046,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
67046
67046
  }, {
67047
67047
  key: "setValuesObject",
67048
67048
  value: function setValuesObject(valuesObject) {
67049
- // const valuesObj = eval("(" + valuesObject + ")");
67050
- //console.time(`${valuesObject.name}--setValuesObject`)
67051
67049
  var valuesObj = valuesObject;
67052
67050
  var assignvalue = function assignvalue(target, source) {
67053
67051
  Object.keys(source).forEach(function (value) {
67054
67052
  if (value != "childNodes" && value != "bandDataSource") {
67055
- if ((0,esm_typeof/* default */.Z)(target[value]) == 'object') {
67053
+ if (value == 'customProperty') {
67054
+ target[value] = source[value];
67055
+ } else if ((0,esm_typeof/* default */.Z)(target[value]) == 'object') {
67056
67056
  if (Object.prototype.toString.call(source[value]) === '[object Object]') {
67057
67057
  assignvalue(target[value], source[value]);
67058
- } else {
67059
- if (source[value] !== '' && source[value] !== null && !Array.isArray(source[value])) {
67060
- // assignvalue(target[value], eval('(' + + ')'));
67061
- assignvalue(target[value], JSON.parse(source[value]));
67062
- }
67058
+ } else if (source[value] !== '' && source[value] !== null) {
67059
+ assignvalue(target[value], JSON.parse(source[value]));
67063
67060
  }
67064
67061
  } else {
67065
67062
  target[value] = source[value];
@@ -67313,7 +67310,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
67313
67310
  return this._customProperty;
67314
67311
  },
67315
67312
  set: function set(value) {
67316
- if (this._customProperty !== value) {
67313
+ if (this._customProperty !== value && value !== "") {
67317
67314
  this._customProperty = value;
67318
67315
  }
67319
67316
  }
@@ -68520,6 +68517,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
68520
68517
  json.includesKeyword = !json.includesKeyword ? "[]" : json.includesKeyword;
68521
68518
  json.valueArea = !json.valueArea ? "[]" : json.valueArea;
68522
68519
  json.isElementLink = !json.isElementLink ? false : json.isElementLink;
68520
+ if (this.name == '窒息后选择') {}
68523
68521
  var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, BaseNode/* NodeType */.Jq.ntField, json);
68524
68522
  // this.insertChild
68525
68523
  if (json.childNodes) {
@@ -210238,7 +210236,7 @@ var TextNode = __webpack_require__(27198);
210238
210236
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
210239
210237
  var ParagraphNode = __webpack_require__(67945);
210240
210238
  ;// CONCATENATED MODULE: ./src/components/version.ts
210241
- /* harmony default export */ var version = ('3.1.122');
210239
+ /* harmony default export */ var version = ('3.1.124');
210242
210240
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
210243
210241
  var PoperTipText = __webpack_require__(50987);
210244
210242
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts