hoeditor-web 3.1.52 → 3.1.53

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.
@@ -218796,7 +218796,7 @@ var TextNode = __webpack_require__(27198);
218796
218796
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
218797
218797
  var ParagraphNode = __webpack_require__(67945);
218798
218798
  ;// CONCATENATED MODULE: ./src/components/version.ts
218799
- /* harmony default export */ var version = ('3.1.52');
218799
+ /* harmony default export */ var version = ('3.1.53');
218800
218800
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
218801
218801
  var PoperTipText = __webpack_require__(50987);
218802
218802
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -228654,7 +228654,9 @@ var VueController = /*#__PURE__*/function () {
228654
228654
  if (anode.id === id) {
228655
228655
  node = anode;
228656
228656
  nodeList.push(anode);
228657
- break;
228657
+ if (type !== "array") {
228658
+ break;
228659
+ }
228658
228660
  }
228659
228661
  }
228660
228662
  if (anode instanceof BaseCombineNode/* BaseCombineNode */.V) {
@@ -231195,7 +231197,7 @@ var VueController = /*#__PURE__*/function () {
231195
231197
  case 0:
231196
231198
  nodes = this.getNodeByID('all', id, 'array');
231197
231199
  if (!(nodes.length > 0)) {
231198
- _context10.next = 14;
231200
+ _context10.next = 16;
231199
231201
  break;
231200
231202
  }
231201
231203
  _loop4 = /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _loop4() {
@@ -231205,30 +231207,26 @@ var VueController = /*#__PURE__*/function () {
231205
231207
  case 0:
231206
231208
  node = nodes[i];
231207
231209
  if (!node) {
231208
- _context9.next = 47;
231210
+ _context9.next = 46;
231209
231211
  break;
231210
231212
  }
231211
231213
  if (!(node instanceof DateTimeNode/* DateTimeNode */.Z || node instanceof DownListNode/* DownListNode */.yF || node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
231212
- _context9.next = 44;
231214
+ _context9.next = 43;
231213
231215
  break;
231214
231216
  }
231215
- if (!(node.notReplaceElement === true)) {
231216
- _context9.next = 6;
231217
+ if (!node.notReplaceElement) {
231218
+ _context9.next = 5;
231217
231219
  break;
231218
231220
  }
231219
- //console.warn(`${id} ==> ${node.notReplaceElement}`);
231220
- console.warn("[" + node.name + "]" + "未启用元素引用");
231221
- return _context9.abrupt("return", {
231222
- v: void 0
231223
- });
231224
- case 6:
231221
+ return _context9.abrupt("return", 0);
231222
+ case 5:
231225
231223
  hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(_this2._hoEditorFactoryID);
231226
231224
  if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
231227
- _context9.next = 34;
231225
+ _context9.next = 33;
231228
231226
  break;
231229
231227
  }
231230
231228
  if (!text.includes("<TextInputFieldNode>")) {
231231
- _context9.next = 24;
231229
+ _context9.next = 23;
231232
231230
  break;
231233
231231
  }
231234
231232
  xml = hoEditorFactory.structureConvert.replaceNodesName(text);
@@ -231286,11 +231284,11 @@ var VueController = /*#__PURE__*/function () {
231286
231284
  hoEditorFactory.docController.deleteRange(range, true, "update");
231287
231285
  (_node$childNodes = node.childNodes).splice.apply(_node$childNodes, [1, 0].concat(childNodes));
231288
231286
  node.update(0);
231289
- _context9.next = 34;
231287
+ _context9.next = 33;
231290
231288
  break;
231291
- case 24:
231289
+ case 23:
231292
231290
  if (!text.includes("<MedicalExpress>")) {
231293
- _context9.next = 32;
231291
+ _context9.next = 31;
231294
231292
  break;
231295
231293
  }
231296
231294
  node.childNodes.splice(1, node.childNodes.length - 2);
@@ -231302,12 +231300,12 @@ var VueController = /*#__PURE__*/function () {
231302
231300
  return _context9.abrupt("return", {
231303
231301
  v: void 0
231304
231302
  });
231305
- case 32:
231306
- _context9.next = 34;
231303
+ case 31:
231304
+ _context9.next = 33;
231307
231305
  return node.setFieldText(text);
231308
- case 34:
231306
+ case 33:
231309
231307
  if (!(node instanceof DateTimeNode/* DateTimeNode */.Z)) {
231310
- _context9.next = 38;
231308
+ _context9.next = 37;
231311
231309
  break;
231312
231310
  }
231313
231311
  if (text.includes("<DateTimeNode>")) {
@@ -231319,11 +231317,11 @@ var VueController = /*#__PURE__*/function () {
231319
231317
  _json = _object;
231320
231318
  text = _json.node.text;
231321
231319
  }
231322
- _context9.next = 38;
231320
+ _context9.next = 37;
231323
231321
  return node.setDateTimeText(text);
231324
- case 38:
231322
+ case 37:
231325
231323
  if (!(node instanceof DownListNode/* DownListNode */.yF)) {
231326
- _context9.next = 42;
231324
+ _context9.next = 41;
231327
231325
  break;
231328
231326
  }
231329
231327
  if (text.includes("<DownListNode>")) {
@@ -231335,19 +231333,19 @@ var VueController = /*#__PURE__*/function () {
231335
231333
  _json2 = _object2;
231336
231334
  text = _json2.node.text;
231337
231335
  }
231338
- _context9.next = 42;
231336
+ _context9.next = 41;
231339
231337
  return node.setDownListText(text);
231340
- case 42:
231341
- _context9.next = 45;
231338
+ case 41:
231339
+ _context9.next = 44;
231342
231340
  break;
231343
- case 44:
231341
+ case 43:
231344
231342
  console.warn("\u975E\u6587\u672C\u57DF\u548C\u65E5\u671F\u5143\u7D20");
231345
- case 45:
231346
- _context9.next = 48;
231343
+ case 44:
231344
+ _context9.next = 47;
231347
231345
  break;
231348
- case 47:
231346
+ case 46:
231349
231347
  console.warn('未找到对应的元素');
231350
- case 48:
231348
+ case 47:
231351
231349
  case "end":
231352
231350
  return _context9.stop();
231353
231351
  }
@@ -231356,27 +231354,33 @@ var VueController = /*#__PURE__*/function () {
231356
231354
  i = nodes.length - 1;
231357
231355
  case 4:
231358
231356
  if (!(i >= 0)) {
231359
- _context10.next = 12;
231357
+ _context10.next = 14;
231360
231358
  break;
231361
231359
  }
231362
231360
  return _context10.delegateYield(_loop4(), "t0", 6);
231363
231361
  case 6:
231364
231362
  _ret2 = _context10.t0;
231365
- if (!_ret2) {
231363
+ if (!(_ret2 === 0)) {
231366
231364
  _context10.next = 9;
231367
231365
  break;
231368
231366
  }
231369
- return _context10.abrupt("return", _ret2.v);
231367
+ return _context10.abrupt("continue", 11);
231370
231368
  case 9:
231369
+ if (!_ret2) {
231370
+ _context10.next = 11;
231371
+ break;
231372
+ }
231373
+ return _context10.abrupt("return", _ret2.v);
231374
+ case 11:
231371
231375
  i--;
231372
231376
  _context10.next = 4;
231373
231377
  break;
231374
- case 12:
231375
- _context10.next = 15;
231376
- break;
231377
231378
  case 14:
231379
+ _context10.next = 17;
231380
+ break;
231381
+ case 16:
231378
231382
  console.warn('未找到对应的元素');
231379
- case 15:
231383
+ case 17:
231380
231384
  case "end":
231381
231385
  return _context10.stop();
231382
231386
  }