@breadstone/mosaik-elements-angular 0.0.165 → 0.0.167

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,17 @@
1
+ ## 0.0.167 (2025-10-26)
2
+
3
+ This was a version bump only for mosaik-elements-angular to align it with other projects, there were no code changes.
4
+
5
+ ## 0.0.166 (2025-10-26)
6
+
7
+ ### 🚀 Features
8
+
9
+ - **List:** add inset property and update styles for flexible layout ([3dc4e28f0d](https://github.com/RueDeRennes/mosaik/commit/3dc4e28f0d))
10
+
11
+ ### 🩹 Fixes
12
+
13
+ - **package:** add missing newline at end of file ([4aa435a5b6](https://github.com/RueDeRennes/mosaik/commit/4aa435a5b6))
14
+
1
15
  ## 0.0.165 (2025-10-24)
2
16
 
3
17
  ### 🚀 Features
@@ -10687,7 +10687,7 @@ const CHAT_INPUT_DEFAULT_PROPS = new InjectionToken('MOSAIK_CHAT_INPUT_DEFAULT_P
10687
10687
  let ChatInputComponent = class ChatInputComponent {
10688
10688
  _element;
10689
10689
  _zone;
10690
- _submitted;
10690
+ _chatSubmitted;
10691
10691
  _chatAttachmentAdded;
10692
10692
  _chatAttachmentRemoved;
10693
10693
  _connected;
@@ -10697,8 +10697,8 @@ let ChatInputComponent = class ChatInputComponent {
10697
10697
  inject(ChangeDetectorRef).detach();
10698
10698
  this._element = inject(ElementRef).nativeElement;
10699
10699
  this._zone = inject(NgZone);
10700
- this._submitted = new EventEmitter();
10701
- this._element.on('submitted', (e) => this.onEmit(this._submitted, e));
10700
+ this._chatSubmitted = new EventEmitter();
10701
+ this._element.on('chatSubmitted', (e) => this.onEmit(this._chatSubmitted, e));
10702
10702
  this._chatAttachmentAdded = new EventEmitter();
10703
10703
  this._element.on('chatAttachmentAdded', (e) => this.onEmit(this._chatAttachmentAdded, e));
10704
10704
  this._chatAttachmentRemoved = new EventEmitter();
@@ -10711,6 +10711,16 @@ let ChatInputComponent = class ChatInputComponent {
10711
10711
  this._element.on('changed', (e) => this.onEmit(this._changed, e));
10712
10712
  applyDefaults(this._element, inject(CHAT_INPUT_DEFAULT_PROPS, { optional: true }) ?? {});
10713
10713
  }
10714
+ get submitted() {
10715
+ // @ts-ignore - temporary fix for the type error
10716
+ return this._element.submitted;
10717
+ }
10718
+ set submitted(value) {
10719
+ this._zone.runOutsideAngular(() => {
10720
+ // @ts-ignore - temporary fix for the type error
10721
+ this._element.submitted = value;
10722
+ });
10723
+ }
10714
10724
  get value() {
10715
10725
  // @ts-ignore - temporary fix for the type error
10716
10726
  return this._element.value;
@@ -10791,8 +10801,8 @@ let ChatInputComponent = class ChatInputComponent {
10791
10801
  this._element.lang = value;
10792
10802
  });
10793
10803
  }
10794
- get submitted() {
10795
- return this._submitted;
10804
+ get chatSubmitted() {
10805
+ return this._chatSubmitted;
10796
10806
  }
10797
10807
  get chatAttachmentAdded() {
10798
10808
  return this._chatAttachmentAdded;
@@ -10821,12 +10831,12 @@ let ChatInputComponent = class ChatInputComponent {
10821
10831
  }
10822
10832
  }
10823
10833
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ChatInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10824
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: ChatInputComponent, isStandalone: true, selector: "mosaik-chat-input", inputs: { value: "value", placeholder: "placeholder", themeName: "themeName", variant: "variant", appearance: "appearance", disabled: "disabled", dir: "dir", lang: "lang" }, outputs: { submitted: "submitted", chatAttachmentAdded: "chatAttachmentAdded", chatAttachmentRemoved: "chatAttachmentRemoved", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10834
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: ChatInputComponent, isStandalone: true, selector: "mosaik-chat-input", inputs: { submitted: "submitted", value: "value", placeholder: "placeholder", themeName: "themeName", variant: "variant", appearance: "appearance", disabled: "disabled", dir: "dir", lang: "lang" }, outputs: { chatSubmitted: "chatSubmitted", chatAttachmentAdded: "chatAttachmentAdded", chatAttachmentRemoved: "chatAttachmentRemoved", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10825
10835
  };
10826
10836
  ChatInputComponent = __decorate$2Z([
10827
10837
  ProxyCmp({
10828
10838
  defineCustomElementFn: () => customElements.define('mosaik-chat-input', ChatInputElement),
10829
- inputs: ['value', 'placeholder', 'themeName', 'variant', 'appearance', 'disabled', 'dir', 'lang'],
10839
+ inputs: ['submitted', 'value', 'placeholder', 'themeName', 'variant', 'appearance', 'disabled', 'dir', 'lang'],
10830
10840
  methods: ['send', 'clear', 'onApplyTemplate', 'onSlotChanges', 'assignToSlot', 'getSlotAssignments', 'getSlotAssignmentsOf', 'hasSlotContent', 'hasSlot', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
10831
10841
  }),
10832
10842
  __metadata$2Z("design:paramtypes", [])
@@ -10838,10 +10848,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
10838
10848
  standalone: true,
10839
10849
  changeDetection: ChangeDetectionStrategy.OnPush,
10840
10850
  template: '<ng-content></ng-content>',
10841
- inputs: ['value', 'placeholder', 'themeName', 'variant', 'appearance', 'disabled', 'dir', 'lang'],
10842
- outputs: ['submitted', 'chatAttachmentAdded', 'chatAttachmentRemoved', 'connected', 'disconnected', 'changed']
10851
+ inputs: ['submitted', 'value', 'placeholder', 'themeName', 'variant', 'appearance', 'disabled', 'dir', 'lang'],
10852
+ outputs: ['chatSubmitted', 'chatAttachmentAdded', 'chatAttachmentRemoved', 'connected', 'disconnected', 'changed']
10843
10853
  }]
10844
- }], ctorParameters: () => [], propDecorators: { value: [{
10854
+ }], ctorParameters: () => [], propDecorators: { submitted: [{
10855
+ type: Input
10856
+ }], value: [{
10845
10857
  type: Input
10846
10858
  }], placeholder: [{
10847
10859
  type: Input
@@ -10857,7 +10869,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
10857
10869
  type: Input
10858
10870
  }], lang: [{
10859
10871
  type: Input
10860
- }], submitted: [{
10872
+ }], chatSubmitted: [{
10861
10873
  type: Output
10862
10874
  }], chatAttachmentAdded: [{
10863
10875
  type: Output
@@ -32509,6 +32521,16 @@ let ListComponent = class ListComponent {
32509
32521
  this._element.orientation = value;
32510
32522
  });
32511
32523
  }
32524
+ get inset() {
32525
+ // @ts-ignore - temporary fix for the type error
32526
+ return this._element.inset;
32527
+ }
32528
+ set inset(value) {
32529
+ this._zone.runOutsideAngular(() => {
32530
+ // @ts-ignore - temporary fix for the type error
32531
+ this._element.inset = value;
32532
+ });
32533
+ }
32512
32534
  get items() {
32513
32535
  // @ts-ignore - temporary fix for the type error
32514
32536
  return this._element.items;
@@ -32576,12 +32598,12 @@ let ListComponent = class ListComponent {
32576
32598
  }
32577
32599
  }
32578
32600
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32579
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: ListComponent, isStandalone: true, selector: "mosaik-list", inputs: { intl: "intl", selectionMode: "selectionMode", value: "value", themeName: "themeName", disabled: "disabled", showFilter: "showFilter", filterMemberPath: "filterMemberPath", filter: "filter", filterPlaceholder: "filterPlaceholder", orientation: "orientation", items: "items", selectedItem: "selectedItem", dir: "dir", lang: "lang" }, outputs: { selectionChanged: "selectionChanged", itemsChanged: "itemsChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
32601
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: ListComponent, isStandalone: true, selector: "mosaik-list", inputs: { intl: "intl", selectionMode: "selectionMode", value: "value", themeName: "themeName", disabled: "disabled", showFilter: "showFilter", filterMemberPath: "filterMemberPath", filter: "filter", filterPlaceholder: "filterPlaceholder", orientation: "orientation", inset: "inset", items: "items", selectedItem: "selectedItem", dir: "dir", lang: "lang" }, outputs: { selectionChanged: "selectionChanged", itemsChanged: "itemsChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
32580
32602
  };
32581
32603
  ListComponent = __decorate$1y([
32582
32604
  ProxyCmp({
32583
32605
  defineCustomElementFn: () => customElements.define('mosaik-list', ListElement),
32584
- inputs: ['intl', 'selectionMode', 'value', 'themeName', 'disabled', 'showFilter', 'filterMemberPath', 'filter', 'filterPlaceholder', 'orientation', 'items', 'selectedItem', 'dir', 'lang'],
32606
+ inputs: ['intl', 'selectionMode', 'value', 'themeName', 'disabled', 'showFilter', 'filterMemberPath', 'filter', 'filterPlaceholder', 'orientation', 'inset', 'items', 'selectedItem', 'dir', 'lang'],
32585
32607
  methods: ['select', 'unselect', 'resetSelection', 'selectNext', 'selectPrevious', 'selectFirst', 'selectLast', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
32586
32608
  }),
32587
32609
  __metadata$1y("design:paramtypes", [])
@@ -32593,7 +32615,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
32593
32615
  standalone: true,
32594
32616
  changeDetection: ChangeDetectionStrategy.OnPush,
32595
32617
  template: '<ng-content></ng-content>',
32596
- inputs: ['intl', 'selectionMode', 'value', 'themeName', 'disabled', 'showFilter', 'filterMemberPath', 'filter', 'filterPlaceholder', 'orientation', 'items', 'selectedItem', 'dir', 'lang'],
32618
+ inputs: ['intl', 'selectionMode', 'value', 'themeName', 'disabled', 'showFilter', 'filterMemberPath', 'filter', 'filterPlaceholder', 'orientation', 'inset', 'items', 'selectedItem', 'dir', 'lang'],
32597
32619
  outputs: ['selectionChanged', 'itemsChanged', 'connected', 'disconnected', 'changed']
32598
32620
  }]
32599
32621
  }], ctorParameters: () => [], propDecorators: { intl: [{
@@ -32616,6 +32638,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
32616
32638
  type: Input
32617
32639
  }], orientation: [{
32618
32640
  type: Input
32641
+ }], inset: [{
32642
+ type: Input
32619
32643
  }], items: [{
32620
32644
  type: Input
32621
32645
  }], selectedItem: [{