tnx-shared 5.3.239 → 5.3.241

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.
@@ -2250,6 +2250,7 @@
2250
2250
  _this.height = 250;
2251
2251
  _this.useMathJaxMenu = false;
2252
2252
  _this.autoScrollBottom = false;
2253
+ _this.isHtml = true;
2253
2254
  for (var key in init) {
2254
2255
  _this[key] = init[key];
2255
2256
  }
@@ -18427,6 +18428,7 @@
18427
18428
  _this.saving = false;
18428
18429
  _this.getDetailPlusUrl = null;
18429
18430
  _this.insertPlusUrl = null;
18431
+ _this.updatePlusUrl = null;
18430
18432
  _this.dynamicControl = {};
18431
18433
  _this.setValidateForm = true;
18432
18434
  _this.haveEntityMetadataAPI = true;
@@ -19207,7 +19209,7 @@
19207
19209
  DataFormBase.prototype.handleUpdateError = function () {
19208
19210
  };
19209
19211
  DataFormBase.prototype.getPromiseActionUpdate = function () {
19210
- return this.setting.baseService.put(this.model.data.id.toString(), this.model.data);
19212
+ return this.setting.baseService.put(this.model.data.id.toString(), this.model.data, this.updatePlusUrl);
19211
19213
  };
19212
19214
  DataFormBase.prototype.setDefaultValue = function (model) {
19213
19215
  var _a, _b;
@@ -54385,7 +54387,9 @@
54385
54387
  var autoScrollBottom = !!((_a = $this.control) === null || _a === void 0 ? void 0 : _a.autoScrollBottom);
54386
54388
  var output = $this.mathContent.nativeElement;
54387
54389
  var content = ((_b = $this.content) === null || _b === void 0 ? void 0 : _b.trim()) || '';
54388
- content = content.replace(/\n/g, '<br>');
54390
+ if (!$this.control.isHtml) {
54391
+ content = content.replace(/\n/g, '<br>');
54392
+ }
54389
54393
  output.innerHTML = content;
54390
54394
  if ($this.mathJaxObject.texReset) {
54391
54395
  $this.mathJaxObject.texReset();