@wizishop/angular-components 0.0.176 → 0.0.177
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 +0 -8
- package/bundles/wizishop-angular-components.umd.js +1 -15
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +2 -2
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/block-with-checkbox/block-with-checkbox.component.js +2 -16
- package/fesm2015/wizishop-angular-components.js +1 -15
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/block-with-checkbox/block-with-checkbox.component.d.ts +0 -6
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.177.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.176.tgz +0 -0
|
@@ -3,10 +3,6 @@ export class BlockWithCheckboxComponent {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.selected = false;
|
|
5
5
|
this.disabled = false;
|
|
6
|
-
this.iconCopy = 'fa-solid fa-paste';
|
|
7
|
-
this.iconWorld = 'fa-light fa-globe';
|
|
8
|
-
this.copyAction = new EventEmitter();
|
|
9
|
-
this.worldAction = new EventEmitter();
|
|
10
6
|
this.checkboxAction = new EventEmitter();
|
|
11
7
|
this.nameRadio = 'wacBlockCheckboxRadio';
|
|
12
8
|
this.isFirst = false;
|
|
@@ -22,12 +18,6 @@ export class BlockWithCheckboxComponent {
|
|
|
22
18
|
this.isFirst = false;
|
|
23
19
|
}
|
|
24
20
|
}
|
|
25
|
-
eventCopy() {
|
|
26
|
-
this.copyAction.emit(true);
|
|
27
|
-
}
|
|
28
|
-
eventWorld() {
|
|
29
|
-
this.worldAction.emit(true);
|
|
30
|
-
}
|
|
31
21
|
removeFirstClass() {
|
|
32
22
|
if (typeof document.querySelectorAll('.firstWacRadioBLock')[0] !== typeof undefined) {
|
|
33
23
|
document.querySelectorAll('.firstWacRadioBLock')[0].classList.remove('firstWacRadioBLock');
|
|
@@ -37,20 +27,16 @@ export class BlockWithCheckboxComponent {
|
|
|
37
27
|
BlockWithCheckboxComponent.decorators = [
|
|
38
28
|
{ type: Component, args: [{
|
|
39
29
|
selector: 'wac-block-with-checkbox',
|
|
40
|
-
template: "<div class=\"block-with-checkbox\" [ngClass]=\"{'selected': inputRadioA.checked || selected, 'firstWacRadioBLock': isFirst, 'disabled': disabled}\" [style.opacity]=\"opacity\" (mouseover)=\"removeFirstClass()\">\n <div class=\"block-with-checkbox__left\" (click)=\"inputRadioA.click()\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input #inputRadioA [name]=\"nameRadio\" type=\"radio\" [checked]=\"selected\" [value]=\"selected\" (change)=\"eventSelected($event)\" [id]=\"randomLabelName\">\n <label [for]=\"randomLabelName\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\" (click)=\"inputRadioA.click()\">\n <ng-content></ng-content>\n </div>\n
|
|
30
|
+
template: "<div class=\"block-with-checkbox\" [ngClass]=\"{'selected': inputRadioA.checked || selected, 'firstWacRadioBLock': isFirst, 'disabled': disabled}\" [style.opacity]=\"opacity\" (mouseover)=\"removeFirstClass()\">\n <div class=\"block-with-checkbox__left\" (click)=\"inputRadioA.click()\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input #inputRadioA [name]=\"nameRadio\" type=\"radio\" [checked]=\"selected\" [value]=\"selected\" (change)=\"eventSelected($event)\" [id]=\"randomLabelName\">\n <label [for]=\"randomLabelName\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\" (click)=\"inputRadioA.click()\">\n <ng-content></ng-content>\n </div>\n</div>\n"
|
|
41
31
|
},] }
|
|
42
32
|
];
|
|
43
33
|
BlockWithCheckboxComponent.ctorParameters = () => [];
|
|
44
34
|
BlockWithCheckboxComponent.propDecorators = {
|
|
45
35
|
selected: [{ type: Input }],
|
|
46
36
|
disabled: [{ type: Input }],
|
|
47
|
-
iconCopy: [{ type: Input }],
|
|
48
|
-
iconWorld: [{ type: Input }],
|
|
49
|
-
copyAction: [{ type: Output }],
|
|
50
|
-
worldAction: [{ type: Output }],
|
|
51
37
|
checkboxAction: [{ type: Output }],
|
|
52
38
|
nameRadio: [{ type: Input }],
|
|
53
39
|
isFirst: [{ type: Input }],
|
|
54
40
|
opacity: [{ type: Input }]
|
|
55
41
|
};
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2std2l0aC1jaGVja2JveC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2Jsb2NrLXdpdGgtY2hlY2tib3gvYmxvY2std2l0aC1jaGVja2JveC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQU03RSxNQUFNLE9BQU8sMEJBQTBCO0lBc0JyQztRQW5CQSxhQUFRLEdBQUcsS0FBSyxDQUFDO1FBR2pCLGFBQVEsR0FBRyxLQUFLLENBQUM7UUFHakIsbUJBQWMsR0FBRyxJQUFJLFlBQVksRUFBVyxDQUFDO1FBSzdDLGNBQVMsR0FBRyx1QkFBdUIsQ0FBQztRQUdwQyxZQUFPLEdBQUcsS0FBSyxDQUFDO1FBR2hCLFlBQU8sR0FBRyxLQUFLLENBQUM7SUFFQSxDQUFDO0lBRWpCLFFBQVE7UUFDTixJQUFJLENBQUMsZUFBZSxHQUFHLFlBQVksR0FBRyxJQUFJLENBQUMsTUFBTSxFQUFFLEdBQUcsQ0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ZiB1bmRlZmluZWQpIHtcbiAgICAgIGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5maXJzdFdhY1JhZGlvQkxvY2snKVswXS5jbGFzc0xpc3QucmVtb3ZlKCdmaXJzdFdhY1JhZGlvQkxvY2snKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -3805,10 +3805,6 @@ class BlockWithCheckboxComponent {
|
|
|
3805
3805
|
constructor() {
|
|
3806
3806
|
this.selected = false;
|
|
3807
3807
|
this.disabled = false;
|
|
3808
|
-
this.iconCopy = 'fa-solid fa-paste';
|
|
3809
|
-
this.iconWorld = 'fa-light fa-globe';
|
|
3810
|
-
this.copyAction = new EventEmitter();
|
|
3811
|
-
this.worldAction = new EventEmitter();
|
|
3812
3808
|
this.checkboxAction = new EventEmitter();
|
|
3813
3809
|
this.nameRadio = 'wacBlockCheckboxRadio';
|
|
3814
3810
|
this.isFirst = false;
|
|
@@ -3824,12 +3820,6 @@ class BlockWithCheckboxComponent {
|
|
|
3824
3820
|
this.isFirst = false;
|
|
3825
3821
|
}
|
|
3826
3822
|
}
|
|
3827
|
-
eventCopy() {
|
|
3828
|
-
this.copyAction.emit(true);
|
|
3829
|
-
}
|
|
3830
|
-
eventWorld() {
|
|
3831
|
-
this.worldAction.emit(true);
|
|
3832
|
-
}
|
|
3833
3823
|
removeFirstClass() {
|
|
3834
3824
|
if (typeof document.querySelectorAll('.firstWacRadioBLock')[0] !== typeof undefined) {
|
|
3835
3825
|
document.querySelectorAll('.firstWacRadioBLock')[0].classList.remove('firstWacRadioBLock');
|
|
@@ -3839,17 +3829,13 @@ class BlockWithCheckboxComponent {
|
|
|
3839
3829
|
BlockWithCheckboxComponent.decorators = [
|
|
3840
3830
|
{ type: Component, args: [{
|
|
3841
3831
|
selector: 'wac-block-with-checkbox',
|
|
3842
|
-
template: "<div class=\"block-with-checkbox\" [ngClass]=\"{'selected': inputRadioA.checked || selected, 'firstWacRadioBLock': isFirst, 'disabled': disabled}\" [style.opacity]=\"opacity\" (mouseover)=\"removeFirstClass()\">\n <div class=\"block-with-checkbox__left\" (click)=\"inputRadioA.click()\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input #inputRadioA [name]=\"nameRadio\" type=\"radio\" [checked]=\"selected\" [value]=\"selected\" (change)=\"eventSelected($event)\" [id]=\"randomLabelName\">\n <label [for]=\"randomLabelName\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\" (click)=\"inputRadioA.click()\">\n <ng-content></ng-content>\n </div>\n
|
|
3832
|
+
template: "<div class=\"block-with-checkbox\" [ngClass]=\"{'selected': inputRadioA.checked || selected, 'firstWacRadioBLock': isFirst, 'disabled': disabled}\" [style.opacity]=\"opacity\" (mouseover)=\"removeFirstClass()\">\n <div class=\"block-with-checkbox__left\" (click)=\"inputRadioA.click()\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input #inputRadioA [name]=\"nameRadio\" type=\"radio\" [checked]=\"selected\" [value]=\"selected\" (change)=\"eventSelected($event)\" [id]=\"randomLabelName\">\n <label [for]=\"randomLabelName\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\" (click)=\"inputRadioA.click()\">\n <ng-content></ng-content>\n </div>\n</div>\n"
|
|
3843
3833
|
},] }
|
|
3844
3834
|
];
|
|
3845
3835
|
BlockWithCheckboxComponent.ctorParameters = () => [];
|
|
3846
3836
|
BlockWithCheckboxComponent.propDecorators = {
|
|
3847
3837
|
selected: [{ type: Input }],
|
|
3848
3838
|
disabled: [{ type: Input }],
|
|
3849
|
-
iconCopy: [{ type: Input }],
|
|
3850
|
-
iconWorld: [{ type: Input }],
|
|
3851
|
-
copyAction: [{ type: Output }],
|
|
3852
|
-
worldAction: [{ type: Output }],
|
|
3853
3839
|
checkboxAction: [{ type: Output }],
|
|
3854
3840
|
nameRadio: [{ type: Input }],
|
|
3855
3841
|
isFirst: [{ type: Input }],
|