@bizy/core 21.8.3 → 21.8.4

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.
@@ -18772,14 +18772,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
18772
18772
  }] } });
18773
18773
 
18774
18774
  class BizyLongPressDirective {
18775
- threshold = 500;
18775
+ bizyLongPressDelay = 750;
18776
18776
  bizyLongPress = new EventEmitter();
18777
18777
  #pressTimeout = null;
18778
18778
  onPressStart(event) {
18779
18779
  this.clearTimeout(); // Clear any existing timeout
18780
18780
  this.#pressTimeout = setTimeout(() => {
18781
18781
  this.bizyLongPress.emit(event);
18782
- }, this.threshold);
18782
+ }, this.bizyLongPressDelay);
18783
18783
  }
18784
18784
  onPressEnd() {
18785
18785
  this.clearTimeout();
@@ -18794,14 +18794,14 @@ class BizyLongPressDirective {
18794
18794
  this.clearTimeout();
18795
18795
  }
18796
18796
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyLongPressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18797
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.5", type: BizyLongPressDirective, isStandalone: true, selector: "[bizyLongPress]", inputs: { threshold: "threshold" }, outputs: { bizyLongPress: "bizyLongPress" }, host: { listeners: { "mousedown": "onPressStart($event)", "touchstart": "onPressStart($event)", "mouseup": "onPressEnd()", "mouseleave": "onPressEnd()", "touchend": "onPressEnd()", "touchcancel": "onPressEnd()" } }, ngImport: i0 });
18797
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.5", type: BizyLongPressDirective, isStandalone: true, selector: "[bizyLongPress]", inputs: { bizyLongPressDelay: "bizyLongPressDelay" }, outputs: { bizyLongPress: "bizyLongPress" }, host: { listeners: { "mousedown": "onPressStart($event)", "touchstart": "onPressStart($event)", "mouseup": "onPressEnd()", "mouseleave": "onPressEnd()", "touchend": "onPressEnd()", "touchcancel": "onPressEnd()" } }, ngImport: i0 });
18798
18798
  }
18799
18799
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyLongPressDirective, decorators: [{
18800
18800
  type: Directive,
18801
18801
  args: [{
18802
18802
  selector: '[bizyLongPress]',
18803
18803
  }]
18804
- }], propDecorators: { threshold: [{
18804
+ }], propDecorators: { bizyLongPressDelay: [{
18805
18805
  type: Input
18806
18806
  }], bizyLongPress: [{
18807
18807
  type: Output