@nova-design-system/nova-angular-19 3.25.0 → 3.26.0

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.
@@ -1019,11 +1019,11 @@ let NvFieldtextarea = class NvFieldtextarea {
1019
1019
  this.el = r.nativeElement;
1020
1020
  }
1021
1021
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvFieldtextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1022
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvFieldtextarea, isStandalone: false, selector: "nv-fieldtextarea", inputs: { ariaRequiredAttr: "ariaRequiredAttr", autofocus: "autofocus", autosize: "autosize", description: "description", disabled: "disabled", error: "error", errorDescription: "errorDescription", fluid: "fluid", inputId: "inputId", label: "label", maxlength: "maxlength", message: "message", minlength: "minlength", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", resize: "resize", rows: "rows", success: "success", validation: "validation", value: "value" }, outputs: { valueChanged: "valueChanged" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1022
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvFieldtextarea, isStandalone: false, selector: "nv-fieldtextarea", inputs: { ariaRequiredAttr: "ariaRequiredAttr", autofocus: "autofocus", autosize: "autosize", description: "description", disabled: "disabled", error: "error", errorDescription: "errorDescription", fluid: "fluid", inputId: "inputId", label: "label", maxAutoHeight: "maxAutoHeight", maxlength: "maxlength", message: "message", minlength: "minlength", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", resize: "resize", rows: "rows", success: "success", validation: "validation", value: "value" }, outputs: { valueChanged: "valueChanged" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1023
1023
  };
1024
1024
  NvFieldtextarea = __decorate([
1025
1025
  ProxyCmp({
1026
- inputs: ['ariaRequiredAttr', 'autofocus', 'autosize', 'description', 'disabled', 'error', 'errorDescription', 'fluid', 'inputId', 'label', 'maxlength', 'message', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'success', 'validation', 'value']
1026
+ inputs: ['ariaRequiredAttr', 'autofocus', 'autosize', 'description', 'disabled', 'error', 'errorDescription', 'fluid', 'inputId', 'label', 'maxAutoHeight', 'maxlength', 'message', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'success', 'validation', 'value']
1027
1027
  })
1028
1028
  ], NvFieldtextarea);
1029
1029
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvFieldtextarea, decorators: [{
@@ -1033,7 +1033,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
1033
1033
  changeDetection: ChangeDetectionStrategy.OnPush,
1034
1034
  template: '<ng-content></ng-content>',
1035
1035
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1036
- inputs: ['ariaRequiredAttr', 'autofocus', 'autosize', 'description', 'disabled', 'error', 'errorDescription', 'fluid', 'inputId', 'label', 'maxlength', 'message', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'success', 'validation', 'value'],
1036
+ inputs: ['ariaRequiredAttr', 'autofocus', 'autosize', 'description', 'disabled', 'error', 'errorDescription', 'fluid', 'inputId', 'label', 'maxAutoHeight', 'maxlength', 'message', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'success', 'validation', 'value'],
1037
1037
  outputs: ['valueChanged'],
1038
1038
  standalone: false
1039
1039
  }]
@@ -1895,7 +1895,6 @@ const DIRECTIVES = [
1895
1895
  * </nv-datatable>
1896
1896
  * ```
1897
1897
  */
1898
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1899
1898
  class NvDatatableCellDirective {
1900
1899
  constructor(template) {
1901
1900
  this.template = template;
@@ -3050,29 +3049,30 @@ class NvDatatable {
3050
3049
  </nv-table>
3051
3050
 
3052
3051
  <!-- Render pagination if configured -->
3053
- @if (paginationAPI()) {
3054
- @if (paginationTemplate) {
3055
- <ng-container
3056
- *ngTemplateOutlet="
3057
- paginationTemplate;
3058
- context: { $implicit: paginationAPI() }
3059
- "
3060
- ></ng-container>
3061
- } @else if (mode() === 'client' && pagination() && !pagination()?.infinite) {
3062
- <!-- Default pagination with nv-paginationtable (client mode only) -->
3063
- <nv-paginationtable
3064
- [pageIndex]="paginationAPI()!.pageIndex"
3065
- [pageSize]="paginationAPI()!.pageSize"
3066
- [pageCount]="paginationAPI()!.pageCount"
3067
- [rowCount]="paginationAPI()!.rowCount"
3068
- [attr.label-page]="pagination()?.labels?.page || null"
3069
- [attr.label-total]="pagination()?.labels?.total || null"
3070
- [attr.label-page-size-option]="pagination()?.labels?.pageSizeOption || null"
3071
- (pageIndexChanged)="paginationAPI()!.setPageIndex($event.detail)"
3072
- (pageSizeChanged)="paginationAPI()!.setPageSize($event.detail)"
3073
- ></nv-paginationtable>
3074
- }
3075
- }
3052
+ @if (paginationAPI()) { @if (paginationTemplate) {
3053
+ <ng-container
3054
+ *ngTemplateOutlet="
3055
+ paginationTemplate;
3056
+ context: { $implicit: paginationAPI() }
3057
+ "
3058
+ ></ng-container>
3059
+ } @else if (mode() === 'client' && pagination() && !pagination()?.infinite)
3060
+ {
3061
+ <!-- Default pagination with nv-paginationtable (client mode only) -->
3062
+ <nv-paginationtable
3063
+ [pageIndex]="paginationAPI()!.pageIndex"
3064
+ [pageSize]="paginationAPI()!.pageSize"
3065
+ [pageCount]="paginationAPI()!.pageCount"
3066
+ [rowCount]="paginationAPI()!.rowCount"
3067
+ [attr.label-page]="pagination()?.labels?.page || null"
3068
+ [attr.label-total]="pagination()?.labels?.total || null"
3069
+ [attr.label-page-size-option]="
3070
+ pagination()?.labels?.pageSizeOption || null
3071
+ "
3072
+ (pageIndexChanged)="paginationAPI()!.setPageIndex($event.detail)"
3073
+ (pageSizeChanged)="paginationAPI()!.setPageSize($event.detail)"
3074
+ ></nv-paginationtable>
3075
+ } }
3076
3076
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: FlexRenderDirective, selector: "[flexRender]", inputs: ["flexRender", "flexRenderProps", "flexRenderInjector"] }] }); }
3077
3077
  }
3078
3078
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvDatatable, decorators: [{
@@ -3152,29 +3152,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
3152
3152
  </nv-table>
3153
3153
 
3154
3154
  <!-- Render pagination if configured -->
3155
- @if (paginationAPI()) {
3156
- @if (paginationTemplate) {
3157
- <ng-container
3158
- *ngTemplateOutlet="
3159
- paginationTemplate;
3160
- context: { $implicit: paginationAPI() }
3161
- "
3162
- ></ng-container>
3163
- } @else if (mode() === 'client' && pagination() && !pagination()?.infinite) {
3164
- <!-- Default pagination with nv-paginationtable (client mode only) -->
3165
- <nv-paginationtable
3166
- [pageIndex]="paginationAPI()!.pageIndex"
3167
- [pageSize]="paginationAPI()!.pageSize"
3168
- [pageCount]="paginationAPI()!.pageCount"
3169
- [rowCount]="paginationAPI()!.rowCount"
3170
- [attr.label-page]="pagination()?.labels?.page || null"
3171
- [attr.label-total]="pagination()?.labels?.total || null"
3172
- [attr.label-page-size-option]="pagination()?.labels?.pageSizeOption || null"
3173
- (pageIndexChanged)="paginationAPI()!.setPageIndex($event.detail)"
3174
- (pageSizeChanged)="paginationAPI()!.setPageSize($event.detail)"
3175
- ></nv-paginationtable>
3176
- }
3177
- }
3155
+ @if (paginationAPI()) { @if (paginationTemplate) {
3156
+ <ng-container
3157
+ *ngTemplateOutlet="
3158
+ paginationTemplate;
3159
+ context: { $implicit: paginationAPI() }
3160
+ "
3161
+ ></ng-container>
3162
+ } @else if (mode() === 'client' && pagination() && !pagination()?.infinite)
3163
+ {
3164
+ <!-- Default pagination with nv-paginationtable (client mode only) -->
3165
+ <nv-paginationtable
3166
+ [pageIndex]="paginationAPI()!.pageIndex"
3167
+ [pageSize]="paginationAPI()!.pageSize"
3168
+ [pageCount]="paginationAPI()!.pageCount"
3169
+ [rowCount]="paginationAPI()!.rowCount"
3170
+ [attr.label-page]="pagination()?.labels?.page || null"
3171
+ [attr.label-total]="pagination()?.labels?.total || null"
3172
+ [attr.label-page-size-option]="
3173
+ pagination()?.labels?.pageSizeOption || null
3174
+ "
3175
+ (pageIndexChanged)="paginationAPI()!.setPageIndex($event.detail)"
3176
+ (pageSizeChanged)="paginationAPI()!.setPageSize($event.detail)"
3177
+ ></nv-paginationtable>
3178
+ } }
3178
3179
  `,
3179
3180
  }]
3180
3181
  }], ctorParameters: () => [], propDecorators: { paginationTemplate: [{