@wizishop/angular-components 0.0.125 → 0.0.126

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.
@@ -633,7 +633,28 @@
633
633
  ngVar: [{ type: i0.Input }]
634
634
  };
635
635
 
636
- var directives = [DebounceKeyupDirective, AbstractDebounceDirective, AutoHideDirective, ZindexToggleDirective, VarDirective];
636
+ var KeypressEnterDirective = /** @class */ (function () {
637
+ function KeypressEnterDirective() {
638
+ this.KEYPRESS_ENTER = "Enter";
639
+ this.keypressEnter = new i0.EventEmitter();
640
+ }
641
+ KeypressEnterDirective.prototype.onKeypress = function (event) {
642
+ if (event.key === this.KEYPRESS_ENTER) {
643
+ this.keypressEnter.next(true);
644
+ }
645
+ };
646
+ return KeypressEnterDirective;
647
+ }());
648
+ KeypressEnterDirective.decorators = [
649
+ { type: i0.Directive, args: [{ selector: '[keypressEnter]' },] }
650
+ ];
651
+ KeypressEnterDirective.ctorParameters = function () { return []; };
652
+ KeypressEnterDirective.propDecorators = {
653
+ onKeypress: [{ type: i0.HostListener, args: ['keypress', ['$event'],] }],
654
+ keypressEnter: [{ type: i0.Output }]
655
+ };
656
+
657
+ var directives = [DebounceKeyupDirective, AbstractDebounceDirective, AutoHideDirective, ZindexToggleDirective, VarDirective, KeypressEnterDirective];
637
658
  var SharedDirectives = /** @class */ (function () {
638
659
  function SharedDirectives() {
639
660
  }
@@ -4303,6 +4324,7 @@
4303
4324
  exports.InputComponent = InputComponent;
4304
4325
  exports.InputSearchComponent = InputSearchComponent;
4305
4326
  exports.InputWithSelectComponent = InputWithSelectComponent;
4327
+ exports.KeypressEnterDirective = KeypressEnterDirective;
4306
4328
  exports.LabelComponent = LabelComponent;
4307
4329
  exports.LinkComponent = LinkComponent;
4308
4330
  exports.LoaderComponent = LoaderComponent;