@coolon/angular-ui-powerups 3.15.1 → 3.16.0-alpha.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +56 -0
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  8. package/esm2015/lib/components/components.module.js +5 -0
  9. package/esm2015/lib/components/components.module.js.map +1 -1
  10. package/esm2015/lib/components/components.module.metadata.json +1 -1
  11. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  12. package/esm2015/lib/components/exports.js +1 -0
  13. package/esm2015/lib/components/exports.js.map +1 -1
  14. package/esm2015/lib/components/exports.metadata.json +1 -1
  15. package/esm2015/lib/components/table/paginator/paginator.component.js +36 -0
  16. package/esm2015/lib/components/table/paginator/paginator.component.js.map +1 -0
  17. package/esm2015/lib/components/table/paginator/paginator.component.metadata.json +1 -0
  18. package/esm2015/lib/components/table/paginator/paginator.component.ngfactory.js.map +1 -0
  19. package/esm2015/lib/components/table/paginator/paginator.component.scss.shim.ngstyle.js.map +1 -0
  20. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  21. package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
  22. package/fesm2015/coolon-angular-ui-powerups.js +39 -2
  23. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  24. package/lib/components/exports.d.ts +1 -0
  25. package/lib/components/table/paginator/paginator.component.d.ts +11 -0
  26. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [3.16.0-alpha.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.15.1...v3.16.0-alpha.0) (2021-02-24)
6
+
7
+
8
+ ### Features
9
+
10
+ * added initial paginator component ([2d2de8e](https://bitbucket.org/coolon/angular-ui-powerups/commit/2d2de8e2b519b03d8b7163c228458f756df06e8b))
11
+
5
12
  ### [3.15.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.15.0...v3.15.1) (2021-02-24)
6
13
 
7
14
 
@@ -4307,6 +4307,57 @@
4307
4307
  __metadata("design:type", pectin.Command)
4308
4308
  ], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
4309
4309
 
4310
+ var PaginatorComponent = /** @class */ (function () {
4311
+ function PaginatorComponent() {
4312
+ }
4313
+ PaginatorComponent.prototype.ngOnInit = function () {
4314
+ };
4315
+ Object.defineProperty(PaginatorComponent.prototype, "totalPages", {
4316
+ get: function () {
4317
+ return this.pageController.totalPages.value;
4318
+ },
4319
+ enumerable: false,
4320
+ configurable: true
4321
+ });
4322
+ Object.defineProperty(PaginatorComponent.prototype, "pageNumber", {
4323
+ get: function () {
4324
+ return this.pageController.pageNumber.value;
4325
+ },
4326
+ enumerable: false,
4327
+ configurable: true
4328
+ });
4329
+ Object.defineProperty(PaginatorComponent.prototype, "previousCommand", {
4330
+ get: function () {
4331
+ return this.pageController.previousCommand;
4332
+ },
4333
+ enumerable: false,
4334
+ configurable: true
4335
+ });
4336
+ Object.defineProperty(PaginatorComponent.prototype, "nextCommand", {
4337
+ get: function () {
4338
+ return this.pageController.nextCommand;
4339
+ },
4340
+ enumerable: false,
4341
+ configurable: true
4342
+ });
4343
+ return PaginatorComponent;
4344
+ }());
4345
+ PaginatorComponent.decorators = [
4346
+ { type: i0.Component, args: [{
4347
+ selector: 'aup-paginator',
4348
+ template: "<p>Page {{pageNumber}} of {{totalPages}}</p>\n<button mat-icon-button [pectinCommand]=\"previousCommand\"><aup-icon icon=\"mat:keyboard_arrow_left\"></aup-icon></button>\n<button mat-icon-button [pectinCommand]=\"nextCommand\"><aup-icon icon=\"mat:keyboard_arrow_right\"></aup-icon></button>\n\n",
4349
+ styles: [":host{align-items:center;color:rgba(0,0,0,.6);display:flex;flex-direction:row;font-size:12px;justify-content:flex-end;padding:0 8px}:host p{color:inherit;margin-right:8px}:host button.md-button.md-icon-button{height:30px;margin:0;padding:0;width:30px}"]
4350
+ },] }
4351
+ ];
4352
+ PaginatorComponent.ctorParameters = function () { return []; };
4353
+ PaginatorComponent.propDecorators = {
4354
+ pageController: [{ type: i0.Input }]
4355
+ };
4356
+ __decorate([
4357
+ pectin.TrackExternal(),
4358
+ __metadata("design:type", pectin.PageController)
4359
+ ], PaginatorComponent.prototype, "pageController", void 0);
4360
+
4310
4361
  var ComponentsModule = /** @class */ (function () {
4311
4362
  function ComponentsModule(faIconLibrary) {
4312
4363
  faIconLibrary.addIconPacks(freeSolidSvgIcons.fas);
@@ -4363,6 +4414,9 @@
4363
4414
  exports.IconComponent,
4364
4415
  BusyOverlayComponent,
4365
4416
  EmptyStateComponent,
4417
+ PaginatorComponent,
4418
+ exports.IconComponent,
4419
+ exports.IconComponent
4366
4420
  ],
4367
4421
  imports: [
4368
4422
  i2.CommonModule,
@@ -4420,6 +4474,7 @@
4420
4474
  TreeTableComponent,
4421
4475
  BusyOverlayComponent,
4422
4476
  EmptyStateComponent,
4477
+ PaginatorComponent,
4423
4478
  ],
4424
4479
  providers: [
4425
4480
  FocusBindingFactory
@@ -8957,6 +9012,7 @@
8957
9012
  exports.POPUP_CONTAINER = POPUP_CONTAINER;
8958
9013
  exports.PORTAL_EDITOR_COMPONENT = PORTAL_EDITOR_COMPONENT;
8959
9014
  exports.PORTAL_RENDERER_COMPONENT = PORTAL_RENDERER_COMPONENT;
9015
+ exports.PaginatorComponent = PaginatorComponent;
8960
9016
  exports.PasswordInputComponent = PasswordInputComponent;
8961
9017
  exports.Place = Place;
8962
9018
  exports.PlaceComponentDeactivationHandler = PlaceComponentDeactivationHandler;