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