@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.
- package/full/bundles/inspark-inspark-components.umd.js +12 -0
- package/full/bundles/inspark-inspark-components.umd.js.map +1 -1
- package/full/bundles/inspark-inspark-components.umd.min.js +1 -1
- package/full/bundles/inspark-inspark-components.umd.min.js.map +1 -1
- package/full/components/button/button.component.d.ts +1 -0
- package/full/esm2015/components/button/button.component.js +10 -2
- package/full/esm5/components/button/button.component.js +14 -2
- package/full/fesm2015/inspark-inspark-components.js +9 -1
- package/full/fesm2015/inspark-inspark-components.js.map +1 -1
- package/full/fesm5/inspark-inspark-components.js +13 -1
- package/full/fesm5/inspark-inspark-components.js.map +1 -1
- package/full/inspark-inspark-components.metadata.json +1 -1
- package/full/package.json +1 -1
- package/interface/package.json +1 -1
- package/package.json +1 -1
|
@@ -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)
|