ps-toolkit-ui 1.5.66 → 1.5.69

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.
@@ -2083,7 +2083,7 @@
2083
2083
  { type: core.Component, args: [{
2084
2084
  selector: 'lib-header',
2085
2085
  template: "<div id=\"Header\" class=\"underline\">\r\n <div class=\"content\"><ng-content></ng-content></div>\r\n <div (click)=\"showUserDropDown($event)\" class=\"user-con\">\r\n <i class=\"fa-duotone fa-user user\"></i>\r\n <div class=\"user-drop-down\">\r\n <div class=\"username\">{{currentData.user.Username}}</div>\r\n <lib-form-button [inp]=\"logoutInp\"></lib-form-button>\r\n </div>\r\n </div>\r\n</div>\r\n",
2086
- styles: ["#Header{background-color:#fff;float:right;height:50px;position:relative;width:100%;z-index:11}#Header .content{float:right;height:100%;margin-right:50px;text-align:center;width:calc(100% - 150px)}#Header .user-con{align-items:center;display:flex;float:right;height:100%;justify-content:center;position:relative;width:100px}#Header .user-con .user{border-radius:50%;color:var(--primary);cursor:pointer;float:right;font-size:18px;height:30px;line-height:30px;text-align:center;width:30px}#Header .user-con .user:hover{color:var(--primary-dark)}#Header .user-con .user-drop-down{background-color:#fff;border-radius:var(--border-radius-base);box-shadow:var(--box-shadow);display:none;left:20px;position:absolute;top:55px;width:150px}@media (max-width:399.98px){#Header .content{font-size:12px;width:calc(100% - 100px)}#Header .user-con{width:50px}}@media (min-width:400px) and (max-width:499.98px){#Header .content{font-size:12px;width:calc(100% - 100px)}#Header .user-con{width:50px}}"]
2086
+ styles: ["#Header{background-color:#fff;float:right;height:50px;position:relative;width:100%;z-index:11}#Header .content{float:right;height:100%;margin-right:50px;text-align:center;width:calc(100% - 150px)}#Header .user-con{align-items:center;display:flex;float:right;height:100%;justify-content:center;position:relative;width:100px}#Header .user-con .user{border-radius:50%;color:var(--primary);cursor:pointer;float:right;font-size:18px;height:30px;line-height:30px;text-align:center;width:30px}#Header .user-con .user:hover{color:var(--primary-dark)}#Header .user-con .user-drop-down{background-color:#fff;border-radius:var(--border-radius-base);box-shadow:var(--box-shadow);display:none;left:20px;overflow:hidden;position:absolute;top:55px;width:150px}#Header .user-con .user-drop-down .username{float:right;font-family:VazirBold;line-height:35px;text-align:center;width:100%}::ng-deep #LogoutInput .control{border-radius:0}@media (max-width:399.98px){#Header .content{font-size:12px;width:calc(100% - 100px)}#Header .user-con{width:50px}}@media (min-width:400px) and (max-width:499.98px){#Header .content{font-size:12px;width:calc(100% - 100px)}#Header .user-con{width:50px}}"]
2087
2087
  },] }
2088
2088
  ];
2089
2089
  HeaderComponent.ctorParameters = function () { return [
@@ -2406,14 +2406,16 @@
2406
2406
  var _this = this;
2407
2407
  var l = [];
2408
2408
  for (var i = s; i < f; i++) {
2409
- var b = new InputClass(this.table.environment, this.table.l, i.toString(), null, exports.InputType.Button, 'h-25' + (this.table.page === i ? ' white' : ' extra'), i);
2409
+ var b = new InputClass(this.table.environment, this.table.l, i.toString(), null, exports.InputType.Button, 'h-25' + (this.table.page === i ? ' active' : ' extra'), i);
2410
2410
  b.onClick = function (btn) { return _this.changePage(btn); };
2411
2411
  l.push(b);
2412
2412
  }
2413
2413
  return l;
2414
2414
  };
2415
2415
  TablePaginationComponent.prototype.changePage = function (btn) {
2416
+ console.log(btn.value);
2416
2417
  this.table.page = btn.value;
2418
+ console.log(this.table.page);
2417
2419
  this.table.load(btn);
2418
2420
  };
2419
2421
  TablePaginationComponent.prototype.ngOnInit = function () {