@breadstone/mosaik-elements-angular 0.0.168 → 0.0.170

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## 0.0.170 (2025-10-28)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **release:** update release version to 0.0.169 ([77c58d1eea](https://github.com/RueDeRennes/mosaik/commit/77c58d1eea))
6
+
7
+ ## 0.0.169 (2025-10-28)
8
+
9
+ ### 🚀 Features
10
+
11
+ - **chat:** add author property to chat messages and update templates ([6e22d26e1d](https://github.com/RueDeRennes/mosaik/commit/6e22d26e1d))
12
+
13
+ ### 🩹 Fixes
14
+
15
+ - **release:** update release version to 0.0.168 ([1434c7a9fd](https://github.com/RueDeRennes/mosaik/commit/1434c7a9fd))
16
+
1
17
  ## 0.0.168 (2025-10-26)
2
18
 
3
19
  This was a version bump only for mosaik-elements-angular to align it with other projects, there were no code changes.
@@ -11716,7 +11716,9 @@ const CHAT_MESSAGE_DEFAULT_PROPS = new InjectionToken('MOSAIK_CHAT_MESSAGE_DEFAU
11716
11716
  * @public
11717
11717
  *
11718
11718
  * @slot avatar - The slot for avatar elements.
11719
- * @slot message - The slot for message elements.
11719
+ * @slot author - The slot for author elements.
11720
+ * @slot at - The slot for timestamp elements.
11721
+ * @slot text - The slot for message elements.
11720
11722
  * @slot attachment - The slot for attachment elements.
11721
11723
  * @slot reaction - The slot for reaction elements.
11722
11724
  */
@@ -11748,6 +11750,16 @@ let ChatMessageComponent = class ChatMessageComponent {
11748
11750
  this._element.attachments = value;
11749
11751
  });
11750
11752
  }
11753
+ get author() {
11754
+ // @ts-ignore - temporary fix for the type error
11755
+ return this._element.author;
11756
+ }
11757
+ set author(value) {
11758
+ this._zone.runOutsideAngular(() => {
11759
+ // @ts-ignore - temporary fix for the type error
11760
+ this._element.author = value;
11761
+ });
11762
+ }
11751
11763
  get text() {
11752
11764
  // @ts-ignore - temporary fix for the type error
11753
11765
  return this._element.text;
@@ -11889,12 +11901,12 @@ let ChatMessageComponent = class ChatMessageComponent {
11889
11901
  }
11890
11902
  }
11891
11903
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ChatMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11892
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: ChatMessageComponent, isStandalone: true, selector: "mosaik-chat-message", inputs: { attachments: "attachments", text: "text", at: "at", reply: "reply", themeName: "themeName", variant: "variant", appearance: "appearance", disabled: "disabled", formatter: "formatter", isBusy: "isBusy", value: "value", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11904
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: ChatMessageComponent, isStandalone: true, selector: "mosaik-chat-message", inputs: { attachments: "attachments", author: "author", text: "text", at: "at", reply: "reply", themeName: "themeName", variant: "variant", appearance: "appearance", disabled: "disabled", formatter: "formatter", isBusy: "isBusy", value: "value", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11893
11905
  };
11894
11906
  ChatMessageComponent = __decorate$2U([
11895
11907
  ProxyCmp({
11896
11908
  defineCustomElementFn: () => customElements.define('mosaik-chat-message', ChatMessageElement),
11897
- inputs: ['attachments', 'text', 'at', 'reply', 'themeName', 'variant', 'appearance', 'disabled', 'formatter', 'isBusy', 'value', 'dir', 'lang'],
11909
+ inputs: ['attachments', 'author', 'text', 'at', 'reply', 'themeName', 'variant', 'appearance', 'disabled', 'formatter', 'isBusy', 'value', 'dir', 'lang'],
11898
11910
  methods: ['assignToSlot', 'getSlotAssignments', 'getSlotAssignmentsOf', 'hasSlotContent', 'hasSlot', 'onSlotChanges', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
11899
11911
  }),
11900
11912
  __metadata$2U("design:paramtypes", [])
@@ -11906,11 +11918,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
11906
11918
  standalone: true,
11907
11919
  changeDetection: ChangeDetectionStrategy.OnPush,
11908
11920
  template: '<ng-content></ng-content>',
11909
- inputs: ['attachments', 'text', 'at', 'reply', 'themeName', 'variant', 'appearance', 'disabled', 'formatter', 'isBusy', 'value', 'dir', 'lang'],
11921
+ inputs: ['attachments', 'author', 'text', 'at', 'reply', 'themeName', 'variant', 'appearance', 'disabled', 'formatter', 'isBusy', 'value', 'dir', 'lang'],
11910
11922
  outputs: ['connected', 'disconnected', 'changed']
11911
11923
  }]
11912
11924
  }], ctorParameters: () => [], propDecorators: { attachments: [{
11913
11925
  type: Input
11926
+ }], author: [{
11927
+ type: Input
11914
11928
  }], text: [{
11915
11929
  type: Input
11916
11930
  }], at: [{