@acorex/components 3.0.46 → 3.0.47
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/acorex-components.metadata.json +1 -1
- package/bundles/acorex-components.umd.js +12 -11
- package/bundles/acorex-components.umd.js.map +1 -1
- package/bundles/acorex-components.umd.min.js +1 -1
- package/bundles/acorex-components.umd.min.js.map +1 -1
- package/esm2015/lib/selection-list/selection-list.component.js +6 -7
- package/esm2015/lib/tab-strip/tab-strip.component.js +11 -9
- package/esm5/lib/selection-list/selection-list.component.js +3 -4
- package/esm5/lib/tab-strip/tab-strip.component.js +11 -9
- package/fesm2015/acorex-components.js +15 -14
- package/fesm2015/acorex-components.js.map +1 -1
- package/fesm5/acorex-components.js +12 -11
- package/fesm5/acorex-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -4225,8 +4225,7 @@
|
|
|
4225
4225
|
}
|
|
4226
4226
|
}
|
|
4227
4227
|
};
|
|
4228
|
-
AXSelectionListComponent.prototype.focus = function () {
|
|
4229
|
-
};
|
|
4228
|
+
AXSelectionListComponent.prototype.focus = function () { };
|
|
4230
4229
|
AXSelectionListComponent.prototype.onvalueChanged = function (e) {
|
|
4231
4230
|
if (!this.disabled) {
|
|
4232
4231
|
this.selectedItemsChange.emit([e]);
|
|
@@ -4292,7 +4291,7 @@
|
|
|
4292
4291
|
AXSelectionListComponent = __decorate([
|
|
4293
4292
|
core.Component({
|
|
4294
4293
|
selector: 'ax-selection-list',
|
|
4295
|
-
template: "<ng-container *ngIf=\" mode == 'multiple'; then checkboxList; else radioButtonList\"></ng-container>\r\n<ng-template #checkboxList>\r\n <div class=\"ax selection-list {{size}}\" [ngClass]=\"direction\">\r\n <ax-check-box label=\"{{item[textField]}}\" *ngFor=\"let item of items\" [disabled]=\"disabled\"
|
|
4294
|
+
template: "<ng-container *ngIf=\" mode == 'multiple'; then checkboxList; else radioButtonList\"></ng-container>\r\n<ng-template #checkboxList>\r\n <div class=\"ax selection-list {{size}}\" [ngClass]=\"direction\">\r\n <ax-check-box label=\"{{item[textField]}}\" *ngFor=\"let item of items\" [disabled]=\"item.disable || disabled\"\r\n [readonly]=\"item.readonly || readonly\" [value]=\"selectedValues.indexOf(item[valueField])>-1\"\r\n (onValueChanged)=\"onCheckValueChange(item[valueField],$event.value)\">\r\n </ax-check-box>\r\n </div>\r\n</ng-template>\r\n<ng-template #radioButtonList>\r\n <div class=\"ax selection-list {{size}}\" [ngClass]=\"direction\">\r\n <label class=\"ax radio\" for=\"{{uid}}\" [class.disabled]=\"disabled\" [class.readonly]=\"disabled\"\r\n *ngFor=\"let item of items\" (click)=\"onvalueChanged(item)\">\r\n {{ item[textField] }}\r\n <input type=\"radio\" (change)=\"onCheckValueChange(item[valueField],true)\" [value]=\"item[valueField]\"\r\n [checked]=\"selectedValues==item[valueField]\" [name]=\"uid\" [disabled]=\"item.disable || disabled\"\r\n [readonly]=\"item.readonly || readonly\" />\r\n <span class=\"checkmark\"></span>\r\n </label>\r\n </div>\r\n</ng-template>",
|
|
4296
4295
|
encapsulation: core.ViewEncapsulation.None,
|
|
4297
4296
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
4298
4297
|
}),
|
|
@@ -11846,13 +11845,15 @@
|
|
|
11846
11845
|
}
|
|
11847
11846
|
AXTabStripComponent.prototype.ngOnInit = function () { };
|
|
11848
11847
|
AXTabStripComponent.prototype.handleClick = function (i) {
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11848
|
+
if (!i.disable) {
|
|
11849
|
+
this.items.forEach(function (c) { return (c.active = false); });
|
|
11850
|
+
i.active = true;
|
|
11851
|
+
this.onTabChanged.emit({
|
|
11852
|
+
component: this,
|
|
11853
|
+
seledtedTab: i,
|
|
11854
|
+
htmlElement: this.ref.nativeElement
|
|
11855
|
+
});
|
|
11856
|
+
}
|
|
11856
11857
|
};
|
|
11857
11858
|
AXTabStripComponent.ctorParameters = function () { return [
|
|
11858
11859
|
{ type: core.ElementRef }
|
|
@@ -11868,7 +11869,7 @@
|
|
|
11868
11869
|
AXTabStripComponent = __decorate([
|
|
11869
11870
|
core.Component({
|
|
11870
11871
|
selector: 'ax-tab-strip',
|
|
11871
|
-
template: "<ul class=\"tab-strip-container\">\r\n <ng-container *ngFor=\"let item of items\">\r\n <li [class.active]=\"item.active\" (click)=\"handleClick(item)\">{{item.text}}</li>\r\n </ng-container>\r\n</ul>"
|
|
11872
|
+
template: "<ul class=\"tab-strip-container\">\r\n <ng-container *ngFor=\"let item of items\">\r\n <li *ngIf=\"!!item.visible || item.visible == undefined\" [class.active]=\"item.active\"\r\n [class.disabled]=\"item.disable\" (click)=\"handleClick(item)\">{{item.text}}</li>\r\n </ng-container>\r\n</ul>"
|
|
11872
11873
|
}),
|
|
11873
11874
|
__metadata("design:paramtypes", [core.ElementRef])
|
|
11874
11875
|
], AXTabStripComponent);
|