stream-chat-angular 4.50.0 → 4.52.0-support-angular-17.1

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.
@@ -1 +1 @@
1
- export declare const version = "4.50.0";
1
+ export declare const version = "4.52.0-support-angular-17.1";
@@ -356,7 +356,7 @@
356
356
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
357
357
  }
358
358
 
359
- var version = '4.50.0';
359
+ var version = '4.52.0-support-angular-17.1';
360
360
 
361
361
  /**
362
362
  * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
@@ -3669,6 +3669,7 @@
3669
3669
  }
3670
3670
  TextareaDirective.prototype.ngOnChanges = function (changes) {
3671
3671
  var _this = this;
3672
+ var _a, _b;
3672
3673
  this.unpropagatedChanges.push(changes);
3673
3674
  if (!this.componentRef) {
3674
3675
  return;
@@ -3711,7 +3712,7 @@
3711
3712
  var changesToPropagate = {};
3712
3713
  this.unpropagatedChanges.forEach(function (c) { return (changesToPropagate = Object.assign(Object.assign({}, changesToPropagate), c)); });
3713
3714
  // eslint-disable-next-line @angular-eslint/no-lifecycle-call
3714
- this.componentRef.instance.ngOnChanges(changesToPropagate);
3715
+ (_b = (_a = this.componentRef.instance).ngOnChanges) === null || _b === void 0 ? void 0 : _b.call(_a, changesToPropagate);
3715
3716
  this.unpropagatedChanges = [];
3716
3717
  };
3717
3718
  return TextareaDirective;
@@ -5833,6 +5834,9 @@
5833
5834
  return content;
5834
5835
  };
5835
5836
  MessageComponent.prototype.wrapLinskWithAnchorTag = function (content) {
5837
+ if (this.displayAs === 'html') {
5838
+ return content;
5839
+ }
5836
5840
  content = content.replace(this.urlRegexp, function (match) { return "<a href=\"" + match + "\" rel=\"nofollow\">" + match + "</a>"; });
5837
5841
  return content;
5838
5842
  };