@clr/angular 12.3.1 → 12.4.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.
@@ -16357,6 +16357,7 @@
16357
16357
  var ClrDatagridPageSize = /** @class */ (function () {
16358
16358
  function ClrDatagridPageSize(page) {
16359
16359
  this.page = page;
16360
+ this.pageSizeOptionsId = uniqueIdFactory();
16360
16361
  }
16361
16362
  ClrDatagridPageSize.prototype.ngOnInit = function () {
16362
16363
  if (!this.pageSizeOptions || this.pageSizeOptions.length === 0) {
@@ -16368,14 +16369,15 @@
16368
16369
  ClrDatagridPageSize.decorators = [
16369
16370
  { type: i0.Component, args: [{
16370
16371
  selector: 'clr-dg-page-size',
16371
- template: "\n <ng-content></ng-content>\n <div class=\"clr-select-wrapper\">\n <select [class.clr-page-size-select]=\"true\" [(ngModel)]=\"page.size\">\n <option *ngFor=\"let option of pageSizeOptions\" [ngValue]=\"option\">{{ option }}</option>\n </select>\n </div>\n "
16372
+ template: "\n <ng-content></ng-content>\n <div class=\"clr-select-wrapper\">\n <select [id]=\"pageSizeOptionsId\" [class.clr-page-size-select]=\"true\" [(ngModel)]=\"page.size\">\n <option *ngFor=\"let option of pageSizeOptions\" [ngValue]=\"option\">{{ option }}</option>\n </select>\n </div>\n "
16372
16373
  },] }
16373
16374
  ];
16374
16375
  ClrDatagridPageSize.ctorParameters = function () { return [
16375
16376
  { type: Page }
16376
16377
  ]; };
16377
16378
  ClrDatagridPageSize.propDecorators = {
16378
- pageSizeOptions: [{ type: i0.Input, args: ['clrPageSizeOptions',] }]
16379
+ pageSizeOptions: [{ type: i0.Input, args: ['clrPageSizeOptions',] }],
16380
+ pageSizeOptionsId: [{ type: i0.Input, args: ['clrPageSizeOptionsId',] }]
16379
16381
  };
16380
16382
 
16381
16383
  /*