@inspark/inspark-components 1.0.38 → 1.0.39

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.
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __metadata, __assign, __extends, __read, __values } from 'tslib';
2
- import { Pipe, NgModule, Injectable, ComponentFactoryResolver, ApplicationRef, Injector, EventEmitter, ChangeDetectorRef, Input, ViewChild, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, forwardRef, ElementRef, TemplateRef, Directive, HostListener, ContentChildren, QueryList, NO_ERRORS_SCHEMA } from '@angular/core';
2
+ import { Pipe, NgModule, Injectable, ComponentFactoryResolver, ApplicationRef, Injector, EventEmitter, ChangeDetectorRef, Input, ViewChild, HostBinding, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, forwardRef, ElementRef, TemplateRef, Directive, HostListener, ContentChildren, QueryList, NO_ERRORS_SCHEMA } from '@angular/core';
3
3
  import { TranslateService, TranslateModule } from '@ngx-translate/core';
4
4
  export { TranslateModule } from '@ngx-translate/core';
5
5
  import { DomSanitizer } from '@angular/platform-browser';
@@ -527,6 +527,13 @@ var ButtonComponent = /** @class */ (function (_super) {
527
527
  _this.isMaterialIcon = false;
528
528
  return _this;
529
529
  }
530
+ Object.defineProperty(ButtonComponent.prototype, "pointerEvents", {
531
+ get: function () {
532
+ return this.disabled ? 'none' : 'auto';
533
+ },
534
+ enumerable: true,
535
+ configurable: true
536
+ });
530
537
  ButtonComponent.prototype.ngOnInit = function () {
531
538
  this.updateData();
532
539
  };
@@ -663,6 +670,11 @@ var ButtonComponent = /** @class */ (function (_super) {
663
670
  ViewChild(Menu, { static: false }),
664
671
  __metadata("design:type", Menu)
665
672
  ], ButtonComponent.prototype, "_menu", void 0);
673
+ __decorate([
674
+ HostBinding('style.pointer-events'),
675
+ __metadata("design:type", String),
676
+ __metadata("design:paramtypes", [])
677
+ ], ButtonComponent.prototype, "pointerEvents", null);
666
678
  __decorate([
667
679
  Output(),
668
680
  __metadata("design:type", EventEmitter)