@breadstone/mosaik-elements-angular 0.1.5 → 0.1.6

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,9 @@
1
+ ## 0.1.6 (2026-06-01)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **chat:** add minRows and maxRows properties to ChatInputElement and update templates ([f1e2f9ea3d](https://github.com/RueDeRennes/mosaik/commit/f1e2f9ea3d))
6
+
1
7
  ## 0.1.5 (2026-05-29)
2
8
 
3
9
  ### 🩹 Fixes
@@ -29638,6 +29638,18 @@ let ChatInputComponent = class ChatInputComponent {
29638
29638
  * @public
29639
29639
  */
29640
29640
  placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
29641
+ /**
29642
+ * Signal input for the `minRows` property.
29643
+ *
29644
+ * @public
29645
+ */
29646
+ minRows = input(...(ngDevMode ? [undefined, { debugName: "minRows" }] : /* istanbul ignore next */ []));
29647
+ /**
29648
+ * Signal input for the `maxRows` property.
29649
+ *
29650
+ * @public
29651
+ */
29652
+ maxRows = input(...(ngDevMode ? [undefined, { debugName: "maxRows" }] : /* istanbul ignore next */ []));
29641
29653
  /**
29642
29654
  * Signal input for the `themeName` property.
29643
29655
  *
@@ -29691,6 +29703,14 @@ let ChatInputComponent = class ChatInputComponent {
29691
29703
  if (placeholderValue !== undefined) {
29692
29704
  this._elementRef.nativeElement.placeholder = placeholderValue;
29693
29705
  }
29706
+ const minRowsValue = this.minRows();
29707
+ if (minRowsValue !== undefined) {
29708
+ this._elementRef.nativeElement.minRows = minRowsValue;
29709
+ }
29710
+ const maxRowsValue = this.maxRows();
29711
+ if (maxRowsValue !== undefined) {
29712
+ this._elementRef.nativeElement.maxRows = maxRowsValue;
29713
+ }
29694
29714
  const themeNameValue = this.themeName();
29695
29715
  if (themeNameValue !== undefined) {
29696
29716
  this._elementRef.nativeElement.themeName = themeNameValue;
@@ -29769,12 +29789,12 @@ let ChatInputComponent = class ChatInputComponent {
29769
29789
  this._elementRef.nativeElement[property] = value;
29770
29790
  }
29771
29791
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: ChatInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
29772
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: ChatInputComponent, isStandalone: true, selector: "mosaik-chat-input", inputs: { submitted: { classPropertyName: "submitted", publicName: "submitted", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, themeName: { classPropertyName: "themeName", publicName: "themeName", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { chatSubmit: "chatSubmit", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
29792
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: ChatInputComponent, isStandalone: true, selector: "mosaik-chat-input", inputs: { submitted: { classPropertyName: "submitted", publicName: "submitted", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, minRows: { classPropertyName: "minRows", publicName: "minRows", isSignal: true, isRequired: false, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null }, themeName: { classPropertyName: "themeName", publicName: "themeName", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { chatSubmit: "chatSubmit", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
29773
29793
  };
29774
29794
  ChatInputComponent = __decorate$3B([
29775
29795
  ProxyCmp({
29776
29796
  defineCustomElementFn: () => defineCustomElement('mosaik-chat-input', ChatInputElement),
29777
- inputs: ['submitted', 'value', 'placeholder', 'themeName', 'variant', 'appearance', 'disabled', 'dir', 'lang'],
29797
+ inputs: ['submitted', 'value', 'placeholder', 'minRows', 'maxRows', 'themeName', 'variant', 'appearance', 'disabled', 'dir', 'lang'],
29778
29798
  methods: ['send', 'clear', 'onApplyTemplate', 'onSlotChanges', 'assignToSlot', 'getSlotAssignments', 'getSlotAssignmentsOf', 'getSlotContent', 'hasSlotContent', 'hasSlot']
29779
29799
  }),
29780
29800
  __metadata$3B("design:paramtypes", [])
@@ -29787,7 +29807,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
29787
29807
  changeDetection: ChangeDetectionStrategy.OnPush,
29788
29808
  template: '<ng-content></ng-content>'
29789
29809
  }]
29790
- }], ctorParameters: () => [], propDecorators: { submitted: [{ type: i0.Input, args: [{ isSignal: true, alias: "submitted", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], themeName: [{ type: i0.Input, args: [{ isSignal: true, alias: "themeName", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], lang: [{ type: i0.Input, args: [{ isSignal: true, alias: "lang", required: false }] }], chatSubmit: [{ type: i0.Output, args: ["chatSubmit"] }], connected: [{ type: i0.Output, args: ["connected"] }], disconnected: [{ type: i0.Output, args: ["disconnected"] }], changed: [{ type: i0.Output, args: ["changed"] }] } });
29810
+ }], ctorParameters: () => [], propDecorators: { submitted: [{ type: i0.Input, args: [{ isSignal: true, alias: "submitted", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], minRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "minRows", required: false }] }], maxRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRows", required: false }] }], themeName: [{ type: i0.Input, args: [{ isSignal: true, alias: "themeName", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], lang: [{ type: i0.Input, args: [{ isSignal: true, alias: "lang", required: false }] }], chatSubmit: [{ type: i0.Output, args: ["chatSubmit"] }], connected: [{ type: i0.Output, args: ["connected"] }], disconnected: [{ type: i0.Output, args: ["disconnected"] }], changed: [{ type: i0.Output, args: ["changed"] }] } });
29791
29811
  /**
29792
29812
  * @public
29793
29813
  */