@getflip/swirl-components-angular 0.39.0 → 0.40.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.
@@ -1497,13 +1497,17 @@ export declare interface SwirlPagination extends Components.SwirlPagination {
1497
1497
  *
1498
1498
  */
1499
1499
  setPage: EventEmitter<CustomEvent<number>>;
1500
+ /**
1501
+ *
1502
+ */
1503
+ setPageSize: EventEmitter<CustomEvent<number>>;
1500
1504
  }
1501
1505
  export declare class SwirlPagination {
1502
1506
  protected z: NgZone;
1503
1507
  protected el: HTMLElement;
1504
1508
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1505
1509
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlPagination, never>;
1506
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlPagination, "swirl-pagination", never, { "firstPageButtonLabel": "firstPageButtonLabel"; "label": "label"; "lastPageButtonLabel": "lastPageButtonLabel"; "nextButtonLabel": "nextButtonLabel"; "page": "page"; "pageLabel": "pageLabel"; "pageSelectLabel": "pageSelectLabel"; "pages": "pages"; "prevButtonLabel": "prevButtonLabel"; "variant": "variant"; }, {}, never, ["*"], false>;
1510
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlPagination, "swirl-pagination", never, { "firstPageButtonLabel": "firstPageButtonLabel"; "label": "label"; "lastPageButtonLabel": "lastPageButtonLabel"; "nextButtonLabel": "nextButtonLabel"; "page": "page"; "pageLabel": "pageLabel"; "pageSelectLabel": "pageSelectLabel"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "pageSizeSelectLabel": "pageSizeSelectLabel"; "pages": "pages"; "prevButtonLabel": "prevButtonLabel"; "showPageSizeSelect": "showPageSizeSelect"; "variant": "variant"; }, {}, never, ["*"], false>;
1507
1511
  }
1508
1512
  export declare interface SwirlPdfReader extends Components.SwirlPdfReader {
1509
1513
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.39.0",
3
+ "version": "0.40.0",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "build": "ng build"
@@ -14,7 +14,7 @@
14
14
  "@angular/platform-browser": "^14.1.0",
15
15
  "@angular/platform-browser-dynamic": "^14.1.0",
16
16
  "@angular/router": "^14.1.0",
17
- "@getflip/swirl-components": "^0.40.0",
17
+ "@getflip/swirl-components": "^0.41.0",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.11.4"
@@ -3351,25 +3351,29 @@ export declare interface SwirlPagination extends Components.SwirlPagination {
3351
3351
  *
3352
3352
  */
3353
3353
  setPage: EventEmitter<CustomEvent<number>>;
3354
+ /**
3355
+ *
3356
+ */
3357
+ setPageSize: EventEmitter<CustomEvent<number>>;
3354
3358
 
3355
3359
  }
3356
3360
 
3357
3361
  @ProxyCmp({
3358
3362
  defineCustomElementFn: undefined,
3359
- inputs: ['firstPageButtonLabel', 'label', 'lastPageButtonLabel', 'nextButtonLabel', 'page', 'pageLabel', 'pageSelectLabel', 'pages', 'prevButtonLabel', 'variant']
3363
+ inputs: ['firstPageButtonLabel', 'label', 'lastPageButtonLabel', 'nextButtonLabel', 'page', 'pageLabel', 'pageSelectLabel', 'pageSize', 'pageSizeOptions', 'pageSizeSelectLabel', 'pages', 'prevButtonLabel', 'showPageSizeSelect', 'variant']
3360
3364
  })
3361
3365
  @Component({
3362
3366
  selector: 'swirl-pagination',
3363
3367
  changeDetection: ChangeDetectionStrategy.OnPush,
3364
3368
  template: '<ng-content></ng-content>',
3365
- inputs: ['firstPageButtonLabel', 'label', 'lastPageButtonLabel', 'nextButtonLabel', 'page', 'pageLabel', 'pageSelectLabel', 'pages', 'prevButtonLabel', 'variant']
3369
+ inputs: ['firstPageButtonLabel', 'label', 'lastPageButtonLabel', 'nextButtonLabel', 'page', 'pageLabel', 'pageSelectLabel', 'pageSize', 'pageSizeOptions', 'pageSizeSelectLabel', 'pages', 'prevButtonLabel', 'showPageSizeSelect', 'variant']
3366
3370
  })
3367
3371
  export class SwirlPagination {
3368
3372
  protected el: HTMLElement;
3369
3373
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
3370
3374
  c.detach();
3371
3375
  this.el = r.nativeElement;
3372
- proxyOutputs(this, this.el, ['setPage']);
3376
+ proxyOutputs(this, this.el, ['setPage', 'setPageSize']);
3373
3377
  }
3374
3378
  }
3375
3379