@wizishop/angular-components 0.0.133 → 0.0.134
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/angular-components.scss +4464 -4740
- package/bundles/wizishop-angular-components.umd.js +4 -2
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/checkbox/checkbox.component.js +5 -3
- package/fesm2015/wizishop-angular-components.js +4 -2
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/checkbox/checkbox.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.134.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.133.tgz +0 -0
|
@@ -687,6 +687,7 @@
|
|
|
687
687
|
this.hasInput = false;
|
|
688
688
|
this.inputPlaceholder = '';
|
|
689
689
|
this.id = '';
|
|
690
|
+
this.whiteSpace = true;
|
|
690
691
|
this.disabled = false;
|
|
691
692
|
}
|
|
692
693
|
CheckboxComponent.prototype.registerOnChange = function (fn) {
|
|
@@ -719,7 +720,7 @@
|
|
|
719
720
|
CheckboxComponent.decorators = [
|
|
720
721
|
{ type: i0.Component, args: [{
|
|
721
722
|
selector: 'wac-checkbox',
|
|
722
|
-
template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'wac-field-checkbox--nowrap': type === 'column', alone: alone }\">\n <div class=\"wac-field-checkbox__row\">\n <input\n type=\"checkbox\"\n [id]=\"id\"\n class=\"is-checkradio\"\n [name]=\"name\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [(ngModel)]=\"value\"\n [checked]=\"checked\"\n (ngModelChange)=\"onChange($event)\"\n />\n <label [attr.for]=\"id\"><span
|
|
723
|
+
template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'wac-field-checkbox--nowrap': type === 'column', 'disable-wt' : !whiteSpace, alone: alone }\">\n <div class=\"wac-field-checkbox__row\">\n <input\n type=\"checkbox\"\n [id]=\"id\"\n class=\"is-checkradio\"\n [name]=\"name\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [(ngModel)]=\"value\"\n [checked]=\"checked\"\n (ngModelChange)=\"onChange($event)\"\n />\n <label [attr.for]=\"id\"><span [innerHTML]=\"label\"></span></label>\n </div>\n <input\n *ngIf=\"hasInput && checked\"\n [@inOutYAnimation]\n type=\"text\"\n [placeholder]=\"inputPlaceholder\"\n (click)=\"inputClick($event)\"\n />\n</div>\n",
|
|
723
724
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }],
|
|
724
725
|
animations: [inOutY]
|
|
725
726
|
},] }
|
|
@@ -734,7 +735,8 @@
|
|
|
734
735
|
hasInput: [{ type: i0.Input }],
|
|
735
736
|
inputPlaceholder: [{ type: i0.Input }],
|
|
736
737
|
id: [{ type: i0.Input }],
|
|
737
|
-
name: [{ type: i0.Input }]
|
|
738
|
+
name: [{ type: i0.Input }],
|
|
739
|
+
whiteSpace: [{ type: i0.Input }]
|
|
738
740
|
};
|
|
739
741
|
|
|
740
742
|
var FiltersTableService = /** @class */ (function () {
|