@fluxhub/fluxhub-lib 10.0.458 → 10.0.460

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.
@@ -3545,14 +3545,14 @@
3545
3545
  this.sc();
3546
3546
  };
3547
3547
  FHTimePickerComponent.prototype.upm = function () {
3548
- if (this.m < 60) {
3549
- this.m++;
3548
+ if (this.m + this.step < 60) {
3549
+ this.m += this.step;
3550
3550
  }
3551
3551
  this.sc();
3552
3552
  };
3553
3553
  FHTimePickerComponent.prototype.dom = function () {
3554
- if (this.m > 0) {
3555
- this.m--;
3554
+ if (this.m - this.step >= 0) {
3555
+ this.m -= this.step;
3556
3556
  }
3557
3557
  this.sc();
3558
3558
  };
@@ -3622,7 +3622,7 @@
3622
3622
  }
3623
3623
  var a = desc_val.split(":");
3624
3624
  this.h = parseInt(a[0]);
3625
- this.m = parseInt(a[1]);
3625
+ this.m = parseInt('' + (parseInt(a[1]) / this.step));
3626
3626
  if (desc_val.length != 5) {
3627
3627
  this.onChange(this.getValue());
3628
3628
  }
@@ -3709,7 +3709,7 @@
3709
3709
  { type: i0.Component, args: [{
3710
3710
  selector: "FHTimePicker",
3711
3711
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
3712
- template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" [hidden]=\"vertical && enabled\" >\n <b>{{ label }}</b\n >&nbsp;&nbsp;\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\" >\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown($event)\"\n (focusout)=\"onFu()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"h\"\n type=\"number\"\n\n />\n <div *ngIf=\"enabled\">\n <mat-icon (click)=\"doh()\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n\n &nbsp;&nbsp;<b style=\"font-size:28px\">:</b>&nbsp;&nbsp;\n\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\">\n <mat-icon (click)=\"upm()\"\n >keyboard_arrow_up</mat-icon\n >\n </div>\n\n <input\n type=\"number\"\n step=\"step\"\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown1($event)\"\n (focusout)=\"onMi()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"m\"\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"dom()\"\n style=\"pointer_mouse\" >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n </div>\n\n\n <div fxLayout=\"column\" [hidden]=\"!vertical || !enabled\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <b style=\"min-width:70px\">{{ label_hh }}</b>\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\"> &nbsp;&nbsp; &nbsp;&nbsp;\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n <div *ngIf=\"enabled\" >\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown($event)\"\n (focusout)=\"onFu()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"h\"\n type=\"number\"\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"doh()\"\n style=\"pointer_mouse\">keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div *ngFor=\"let u of arr_hh\" [hidden]=\"!enabled\">\n <button mat-flat-button color=\"primary\" (click)=\"setta_h(u)\" class=\"pad_b\">\n {{u}}\n </button>&nbsp;\n </div>\n </div>\n\n </div>\n </div>\n\n\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <b style=\"min-width:70px\">{{ label_mm }}</b>\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\"> &nbsp;&nbsp; &nbsp;&nbsp;\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"upm()\" style=\"pointer_mouse\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown1($event)\"\n (focusout)=\"onMi()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"m\"\n type=\"number\"\n step=\"step\"\n\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"dom()\" style=\"pointer_mouse\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div *ngFor=\"let u of arr_mm\" [hidden]=\"!enabled\">\n <button mat-flat-button color=\"primary\" (click)=\"setta_m(u)\" class=\"pad_b\">\n {{u}}\n </button>&nbsp;\n </div>\n </div>\n\n </div>\n </div>\n </div>\n\n ",
3712
+ template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" [hidden]=\"vertical && enabled\" >\n <b>{{ label }}</b\n >&nbsp;&nbsp;\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\" >\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown($event)\"\n (focusout)=\"onFu()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"h\"\n\n\n />\n <div *ngIf=\"enabled\">\n <mat-icon (click)=\"doh()\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n\n &nbsp;&nbsp;<b style=\"font-size:28px\">:</b>&nbsp;&nbsp;\n\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\">\n <mat-icon (click)=\"upm()\"\n >keyboard_arrow_up</mat-icon\n >\n </div>\n\n <input\n\n step=\"step\"\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown1($event)\"\n (focusout)=\"onMi()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"m\"\n\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"dom()\"\n style=\"pointer_mouse\" >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n </div>\n\n\n <div fxLayout=\"column\" [hidden]=\"!vertical || !enabled\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <b style=\"min-width:70px\">{{ label_hh }}</b>\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\"> &nbsp;&nbsp; &nbsp;&nbsp;\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n <div *ngIf=\"enabled\" >\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown($event)\"\n (focusout)=\"onFu()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"h\"\n\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"doh()\"\n style=\"pointer_mouse\">keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div *ngFor=\"let u of arr_hh\" [hidden]=\"!enabled\">\n <button mat-flat-button color=\"primary\" (click)=\"setta_h(u)\" class=\"pad_b\">\n {{u}}\n </button>&nbsp;\n </div>\n </div>\n\n </div>\n </div>\n\n\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <b style=\"min-width:70px\">{{ label_mm }}</b>\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\"> &nbsp;&nbsp; &nbsp;&nbsp;\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"upm()\" style=\"pointer_mouse\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown1($event)\"\n (focusout)=\"onMi()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"m\"\n\n step=\"step\"\n\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"dom()\" style=\"pointer_mouse\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div *ngFor=\"let u of arr_mm\" [hidden]=\"!enabled\">\n <button mat-flat-button color=\"primary\" (click)=\"setta_m(u)\" class=\"pad_b\">\n {{u}}\n </button>&nbsp;\n </div>\n </div>\n\n </div>\n </div>\n </div>\n\n ",
3713
3713
  styles: ["\n.pad_b {\n padding-left: 5px !important;\n padding-right: 5px !important;\n padding-top: 0px !important;\n padding-bottom: 0px !important;\n min-width: 30px !important;\n min-height: 8px !important;\n font-size:14px !important;\n}\n\n .hhh {\n height: 63px;\n width: 100px;\n background-color: rgba(255, 0, 0, 0.1);\n }\n\n .pointer_mouse {\n cursor: pointer;\n user-select: none;\n }\n "]
3714
3714
  },] }
3715
3715
  ];