@wizishop/angular-components 0.0.175 → 0.0.178
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 +29 -123
- package/bundles/wizishop-angular-components.umd.js +19 -20
- 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/esm2015/lib/components/button/button.component.js +3 -2
- package/esm2015/lib/components/card-price/card-price.component.js +15 -3
- package/esm2015/lib/components/mosaic/mosaic.component.js +3 -3
- package/fesm2015/wizishop-angular-components.js +19 -20
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/block-with-checkbox/block-with-checkbox.component.d.ts +0 -6
- package/lib/components/button/button.component.d.ts +1 -0
- package/lib/components/card-price/card-price.component.d.ts +7 -0
- package/lib/components/mosaic/mosaic.component.d.ts +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.178.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.175.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -3747,14 +3747,6 @@ span.wac-tooltip {
|
|
|
3747
3747
|
width: 100%;
|
|
3748
3748
|
cursor: pointer;
|
|
3749
3749
|
}
|
|
3750
|
-
&__right {
|
|
3751
|
-
display: flex;
|
|
3752
|
-
align-items: center;
|
|
3753
|
-
width: auto;
|
|
3754
|
-
div {
|
|
3755
|
-
margin: 0 0 0 20px;
|
|
3756
|
-
}
|
|
3757
|
-
}
|
|
3758
3750
|
&:hover:not(.disabled), &:focus:not(.disabled) {
|
|
3759
3751
|
input + label {
|
|
3760
3752
|
&:before {
|
|
@@ -3860,14 +3852,19 @@ span.wac-tooltip {
|
|
|
3860
3852
|
}
|
|
3861
3853
|
.wac-card-price {
|
|
3862
3854
|
width: 100%;
|
|
3863
|
-
padding:
|
|
3855
|
+
padding: 30px;
|
|
3864
3856
|
border-radius: 3px;
|
|
3865
3857
|
background-color: $wac-white;
|
|
3866
3858
|
display: flex;
|
|
3867
3859
|
flex-direction: column;
|
|
3860
|
+
border: 1px solid $wac-white;
|
|
3868
3861
|
|
|
3869
3862
|
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
|
|
3870
3863
|
|
|
3864
|
+
&.selected {
|
|
3865
|
+
border: 1px solid ;
|
|
3866
|
+
}
|
|
3867
|
+
|
|
3871
3868
|
&:hover {
|
|
3872
3869
|
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
3873
3870
|
}
|
|
@@ -3881,7 +3878,7 @@ span.wac-tooltip {
|
|
|
3881
3878
|
}
|
|
3882
3879
|
|
|
3883
3880
|
.cta {
|
|
3884
|
-
height: 40px;
|
|
3881
|
+
min-height: 40px;
|
|
3885
3882
|
}
|
|
3886
3883
|
|
|
3887
3884
|
> strong {
|
|
@@ -3938,13 +3935,24 @@ span.wac-tooltip {
|
|
|
3938
3935
|
}
|
|
3939
3936
|
}
|
|
3940
3937
|
|
|
3941
|
-
.subtitle {
|
|
3938
|
+
.subtitle, .package-subtitle {
|
|
3942
3939
|
font-size: rem(12);
|
|
3943
3940
|
color: $wac-subtitle-color;
|
|
3944
3941
|
margin: 0 0 30px;
|
|
3945
3942
|
text-align: center;
|
|
3946
3943
|
font-style: italic;
|
|
3947
3944
|
}
|
|
3945
|
+
|
|
3946
|
+
.package-subtitle {
|
|
3947
|
+
margin: 10px 0 30px;
|
|
3948
|
+
}
|
|
3949
|
+
|
|
3950
|
+
.link-bottom {
|
|
3951
|
+
margin: 0;
|
|
3952
|
+
display: flex;
|
|
3953
|
+
justify-content: center;
|
|
3954
|
+
width: 100%;
|
|
3955
|
+
}
|
|
3948
3956
|
}
|
|
3949
3957
|
.wac-wrapper-blocs {
|
|
3950
3958
|
&.sidebar {
|
|
@@ -4838,23 +4846,6 @@ h4.wac-h4 {
|
|
|
4838
4846
|
transition: background-color 0.3s ease-in-out;
|
|
4839
4847
|
}
|
|
4840
4848
|
}
|
|
4841
|
-
|
|
4842
|
-
&.disabled {
|
|
4843
|
-
background-color: $wac-wizishop-blue-button-disabled;
|
|
4844
|
-
border-color: $wac-wizishop-blue-button-disabled;
|
|
4845
|
-
transition: 0s;
|
|
4846
|
-
cursor: default;
|
|
4847
|
-
.wac-button__wrapper, .wac-button__animation {
|
|
4848
|
-
color: $wac-white;
|
|
4849
|
-
}
|
|
4850
|
-
&:hover,
|
|
4851
|
-
&:focus,
|
|
4852
|
-
&.hover,
|
|
4853
|
-
&.focus {
|
|
4854
|
-
background-color: $wac-wizishop-blue-button-disabled;
|
|
4855
|
-
border-color: $wac-wizishop-blue-button-disabled;
|
|
4856
|
-
}
|
|
4857
|
-
}
|
|
4858
4849
|
}
|
|
4859
4850
|
|
|
4860
4851
|
&.is-orange {
|
|
@@ -4920,23 +4911,6 @@ h4.wac-h4 {
|
|
|
4920
4911
|
transition: background-color 0.3s ease-in-out;
|
|
4921
4912
|
}
|
|
4922
4913
|
}
|
|
4923
|
-
|
|
4924
|
-
&.disabled {
|
|
4925
|
-
background-color: $wac-orange-color-disabled;
|
|
4926
|
-
border-color: $wac-orange-color-disabled;
|
|
4927
|
-
transition: 0s;
|
|
4928
|
-
cursor: default;
|
|
4929
|
-
.wac-button__wrapper, .wac-button__animation {
|
|
4930
|
-
color: $wac-white;
|
|
4931
|
-
}
|
|
4932
|
-
&:hover,
|
|
4933
|
-
&:focus,
|
|
4934
|
-
&.hover,
|
|
4935
|
-
&.focus {
|
|
4936
|
-
background-color: $wac-orange-color-disabled;
|
|
4937
|
-
border-color: $wac-orange-color-disabled;
|
|
4938
|
-
}
|
|
4939
|
-
}
|
|
4940
4914
|
}
|
|
4941
4915
|
|
|
4942
4916
|
&.is-pink {
|
|
@@ -5002,23 +4976,6 @@ h4.wac-h4 {
|
|
|
5002
4976
|
transition: background-color 0.3s ease-in-out;
|
|
5003
4977
|
}
|
|
5004
4978
|
}
|
|
5005
|
-
|
|
5006
|
-
&.disabled {
|
|
5007
|
-
background-color: $wac-pink-color-disabled;
|
|
5008
|
-
border-color: $wac-pink-color-disabled;
|
|
5009
|
-
transition: 0s;
|
|
5010
|
-
cursor: default;
|
|
5011
|
-
.wac-button__wrapper, .wac-button__animation {
|
|
5012
|
-
color: $wac-white;
|
|
5013
|
-
}
|
|
5014
|
-
&:hover,
|
|
5015
|
-
&:focus,
|
|
5016
|
-
&.hover,
|
|
5017
|
-
&.focus {
|
|
5018
|
-
background-color: $wac-pink-color-disabled;
|
|
5019
|
-
border-color: $wac-pink-color-disabled;
|
|
5020
|
-
}
|
|
5021
|
-
}
|
|
5022
4979
|
}
|
|
5023
4980
|
|
|
5024
4981
|
&.is-grey {
|
|
@@ -5136,21 +5093,6 @@ h4.wac-h4 {
|
|
|
5136
5093
|
transition: background-color 0.3s ease-in-out;
|
|
5137
5094
|
}
|
|
5138
5095
|
}
|
|
5139
|
-
|
|
5140
|
-
&.disabled {
|
|
5141
|
-
background-color: $wac-background-color-disabled;
|
|
5142
|
-
border-color: $wac-background-color-disabled;
|
|
5143
|
-
transition: 0s;
|
|
5144
|
-
cursor: default;
|
|
5145
|
-
|
|
5146
|
-
&:hover,
|
|
5147
|
-
&:focus,
|
|
5148
|
-
&.hover,
|
|
5149
|
-
&.focus {
|
|
5150
|
-
background-color: $wac-background-color-disabled;
|
|
5151
|
-
border-color: $wac-background-color-disabled;
|
|
5152
|
-
}
|
|
5153
|
-
}
|
|
5154
5096
|
}
|
|
5155
5097
|
|
|
5156
5098
|
&.is-danger {
|
|
@@ -5267,25 +5209,6 @@ h4.wac-h4 {
|
|
|
5267
5209
|
border-color: $wac-primary-button;
|
|
5268
5210
|
}
|
|
5269
5211
|
}
|
|
5270
|
-
|
|
5271
|
-
&.disabled {
|
|
5272
|
-
background-color: $wac-primary-button-disabled;
|
|
5273
|
-
border-color: $wac-primary-button-disabled;
|
|
5274
|
-
transition: 0s;
|
|
5275
|
-
cursor: default;
|
|
5276
|
-
|
|
5277
|
-
.wac-button__wrapper, .wac-button__animation {
|
|
5278
|
-
color: $wac-white;
|
|
5279
|
-
}
|
|
5280
|
-
|
|
5281
|
-
&:hover,
|
|
5282
|
-
&:focus,
|
|
5283
|
-
&.hover,
|
|
5284
|
-
&.focus {
|
|
5285
|
-
background-color: $wac-primary-button-disabled;
|
|
5286
|
-
border-color: $wac-primary-button-disabled;
|
|
5287
|
-
}
|
|
5288
|
-
}
|
|
5289
5212
|
}
|
|
5290
5213
|
|
|
5291
5214
|
&.is-success {
|
|
@@ -5401,23 +5324,6 @@ h4.wac-h4 {
|
|
|
5401
5324
|
border-color: $wac-green-color;
|
|
5402
5325
|
}
|
|
5403
5326
|
}
|
|
5404
|
-
&.disabled {
|
|
5405
|
-
background-color: $wac-green-color-disabled;
|
|
5406
|
-
border-color: $wac-green-color-disabled;
|
|
5407
|
-
transition: 0s;
|
|
5408
|
-
cursor: default;
|
|
5409
|
-
|
|
5410
|
-
.wac-button__wrapper, .wac-button__animation {
|
|
5411
|
-
color: $wac-white;
|
|
5412
|
-
}
|
|
5413
|
-
|
|
5414
|
-
&:hover,
|
|
5415
|
-
&:focus,
|
|
5416
|
-
&.hover,
|
|
5417
|
-
&.focus {
|
|
5418
|
-
background-color: $wac-green-color-disabled;
|
|
5419
|
-
}
|
|
5420
|
-
}
|
|
5421
5327
|
}
|
|
5422
5328
|
|
|
5423
5329
|
&.is-light {
|
|
@@ -5449,12 +5355,7 @@ h4.wac-h4 {
|
|
|
5449
5355
|
}
|
|
5450
5356
|
|
|
5451
5357
|
&.disabled {
|
|
5452
|
-
|
|
5453
|
-
border-color: $wac-border-form;
|
|
5454
|
-
|
|
5455
|
-
.wac-button__wrapper, .wac-button__animation {
|
|
5456
|
-
color: $wac-disabled-button-text;
|
|
5457
|
-
}
|
|
5358
|
+
opacity: .7!important;
|
|
5458
5359
|
}
|
|
5459
5360
|
|
|
5460
5361
|
&.is-outlined {
|
|
@@ -5548,8 +5449,13 @@ h4.wac-h4 {
|
|
|
5548
5449
|
opacity: 0;
|
|
5549
5450
|
transition: opacity .3s ease 0s, visibility 0s linear .35s;
|
|
5550
5451
|
|
|
5551
|
-
@include media('>=
|
|
5552
|
-
|
|
5452
|
+
@include media('>=tablet') {
|
|
5453
|
+
min-width: 600px;
|
|
5454
|
+
}
|
|
5455
|
+
|
|
5456
|
+
@include media('<tablet') {
|
|
5457
|
+
min-width: 100% !important;
|
|
5458
|
+
max-width: 100% !important;
|
|
5553
5459
|
}
|
|
5554
5460
|
|
|
5555
5461
|
&:before {
|
|
@@ -5611,7 +5517,7 @@ h4.wac-h4 {
|
|
|
5611
5517
|
transform: translate(0, -20px);
|
|
5612
5518
|
bottom: 100%;
|
|
5613
5519
|
&:before {
|
|
5614
|
-
|
|
5520
|
+
right: 10px;
|
|
5615
5521
|
top: 100%;
|
|
5616
5522
|
}
|
|
5617
5523
|
}
|
|
@@ -5621,7 +5527,7 @@ h4.wac-h4 {
|
|
|
5621
5527
|
transform: translate(0, -20px);
|
|
5622
5528
|
bottom: 100%;
|
|
5623
5529
|
&:before {
|
|
5624
|
-
|
|
5530
|
+
left: 10px;
|
|
5625
5531
|
top: 100%;
|
|
5626
5532
|
}
|
|
5627
5533
|
}
|
|
@@ -1333,7 +1333,7 @@
|
|
|
1333
1333
|
ButtonComponent.decorators = [
|
|
1334
1334
|
{ type: i0.Component, args: [{
|
|
1335
1335
|
selector: 'wac-button',
|
|
1336
|
-
template: "<a\n [class]=\"'wac-button ' + extraClasses\"\n (click)=\"confirmDelete && waitForConfirmDelete ? addMaxWidthDelete() : '';onButtonClick($event);\"\n (mouseleave)=\"animation ? resetMaxWidth() : '';\"\n (mouseenter)=\"animation ? addMaxWidth() : '';\"\n wzAutoHide (clickOutside)=\"confirmDelete && !waitForConfirmDelete ? resetMaxWidthDelete() : ''\"\n [ngClass]=\"[\n label === '' ? 'alone' : '',\n coin ? 'has-coin width-auto' : '',\n animationRight ? 'animation-right' : '',\n animation ? 'animationText' : '',\n isLoading ? 'is-loading' : '',\n opacity ? 'opacity' : '',\n disabled ? 'disabled' : '',\n widthAuto ? 'width-auto' : '',\n whiteSpaceNowrap ? 'white-space-no-wrap' : '',\n !waitForConfirmDelete && confirmDelete ? 'step-delete' : '',\n confirmDelete ? 'deletePosition-' + confirmDeletePosition : ''\n ]\"\n [ngStyle]=\"{\n 'text-align': contentHorizontalPosition\n }\"\n>\n <span class=\"wac-button__wrapper\" [style.color]=\"textcolor ? textcolor : ''\">\n <i *ngIf=\"icon\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n <span class=\"wac-button__animation\" [style.maxWidth]=\"buttonMaxWidth\" [style.width]=\"buttonWidth + 'px'\">\n <span #calculWidth class=\"wac-button__animation__text\" [innerHTML]=\"animationText\"></span>\n </span>\n <span class=\"wac-button__confirmDelete\" [style.maxWidth]=\"buttonMaxWidthDelete\" [style.width]=\"buttonWidthDelete + 'px'\">\n <span #calculWidthDelete class=\"wac-button__confirmDelete__text\" [innerHTML]=\"confirmDeleteText\"></span>\n </span>\n <span *ngIf=\"coin\" class=\"wac-button__coin\"><i class=\"fa-solid fa-coin-front\"></i><span [innerHTML]=\"coin\"></span></span>\n <span\n class=\"wac-button__loader\"\n [ngClass]=\"extraClasses.includes('is-outlined') ? 'outlined' : ''\"\n *ngIf=\"isLoading\"\n [style.width]=\"currentLoading + '%'\"\n >\n <span *ngIf=\"extraClasses.includes('is-outlined')\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n </span>\n <span class=\"wac-button__tooltips {{ tooltipPosition }}\" *ngIf=\"tooltip\">\n {{ tooltip }}\n </span>\n</a>\n"
|
|
1336
|
+
template: "<a\n [class]=\"'wac-button ' + extraClasses\"\n (click)=\"confirmDelete && waitForConfirmDelete ? addMaxWidthDelete() : '';onButtonClick($event);\"\n (mouseleave)=\"animation ? resetMaxWidth() : '';\"\n (mouseenter)=\"animation ? addMaxWidth() : '';\"\n wzAutoHide (clickOutside)=\"confirmDelete && !waitForConfirmDelete ? resetMaxWidthDelete() : ''\"\n [ngClass]=\"[\n label === '' ? 'alone' : '',\n coin ? 'has-coin width-auto' : '',\n animationRight ? 'animation-right' : '',\n animation ? 'animationText' : '',\n isLoading ? 'is-loading' : '',\n opacity ? 'opacity' : '',\n disabled ? 'disabled' : '',\n widthAuto ? 'width-auto' : '',\n whiteSpaceNowrap ? 'white-space-no-wrap' : '',\n !waitForConfirmDelete && confirmDelete ? 'step-delete' : '',\n confirmDelete ? 'deletePosition-' + confirmDeletePosition : ''\n ]\"\n [ngStyle]=\"{\n 'text-align': contentHorizontalPosition\n }\"\n>\n <span class=\"wac-button__wrapper\" [style.color]=\"textcolor ? textcolor : ''\">\n <i *ngIf=\"icon\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n <span class=\"wac-button__animation\" [style.maxWidth]=\"buttonMaxWidth\" [style.width]=\"buttonWidth + 'px'\">\n <span #calculWidth class=\"wac-button__animation__text\" [innerHTML]=\"animationText\"></span>\n </span>\n <span class=\"wac-button__confirmDelete\" [style.maxWidth]=\"buttonMaxWidthDelete\" [style.width]=\"buttonWidthDelete + 'px'\">\n <span #calculWidthDelete class=\"wac-button__confirmDelete__text\" [innerHTML]=\"confirmDeleteText\"></span>\n </span>\n <span *ngIf=\"coin\" class=\"wac-button__coin\"><i class=\"fa-solid fa-coin-front\"></i><span [innerHTML]=\"coin\"></span></span>\n <span\n class=\"wac-button__loader\"\n [ngClass]=\"extraClasses.includes('is-outlined') ? 'outlined' : ''\"\n *ngIf=\"isLoading\"\n [style.width]=\"currentLoading + '%'\"\n >\n <span *ngIf=\"extraClasses.includes('is-outlined')\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n </span>\n <span class=\"wac-button__tooltips {{ tooltipPosition }}\" [style.minWidth]=\"tooltipWidth\" *ngIf=\"tooltip\">\n {{ tooltip }}\n </span>\n</a>\n"
|
|
1337
1337
|
},] }
|
|
1338
1338
|
];
|
|
1339
1339
|
ButtonComponent.ctorParameters = function () { return []; };
|
|
@@ -1357,6 +1357,7 @@
|
|
|
1357
1357
|
confirmDeleteText: [{ type: i0.Input }],
|
|
1358
1358
|
coin: [{ type: i0.Input }],
|
|
1359
1359
|
tooltip: [{ type: i0.Input }],
|
|
1360
|
+
tooltipWidth: [{ type: i0.Input }],
|
|
1360
1361
|
tooltipPosition: [{ type: i0.Input }],
|
|
1361
1362
|
confirmDeletePosition: [{ type: i0.Input }],
|
|
1362
1363
|
click: [{ type: i0.Output }],
|
|
@@ -4254,39 +4255,51 @@
|
|
|
4254
4255
|
|
|
4255
4256
|
var CardPriceComponent = /** @class */ (function () {
|
|
4256
4257
|
function CardPriceComponent() {
|
|
4258
|
+
this.selected = false;
|
|
4257
4259
|
this.disabled = false;
|
|
4258
4260
|
this.btnTextcolor = '#ffffff';
|
|
4259
4261
|
this.extraClasses = 'is-success';
|
|
4262
|
+
this.extraClassesSelected = 'is-success is-outlined';
|
|
4260
4263
|
this.hideButton = false;
|
|
4261
4264
|
this.click = new i0.EventEmitter();
|
|
4265
|
+
this.removePackage = new i0.EventEmitter();
|
|
4262
4266
|
}
|
|
4263
4267
|
CardPriceComponent.prototype.ngOnInit = function () {
|
|
4264
4268
|
};
|
|
4265
4269
|
CardPriceComponent.prototype.triggerClick = function () {
|
|
4266
4270
|
this.click.emit(true);
|
|
4267
4271
|
};
|
|
4272
|
+
CardPriceComponent.prototype.removePackageTrigger = function () {
|
|
4273
|
+
this.removePackage.emit(true);
|
|
4274
|
+
};
|
|
4268
4275
|
return CardPriceComponent;
|
|
4269
4276
|
}());
|
|
4270
4277
|
CardPriceComponent.decorators = [
|
|
4271
4278
|
{ type: i0.Component, args: [{
|
|
4272
4279
|
selector: 'wac-card-price',
|
|
4273
|
-
template: "<div class=\"wac-card-price\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\">\n <wac-button [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [textcolor]=\"btnTextcolor\" *ngIf=\"!hideButton\"></wac-button>\n </div>\n</div>\n"
|
|
4280
|
+
template: "<div class=\"wac-card-price\" [ngClass]=\"{'selected': selected}\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\" *ngIf=\"!selected\">\n <wac-button [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\" *ngIf=\"!hideButton\"></wac-button>\n </div>\n <div class=\"cta\" *ngIf=\"selected\">\n <wac-button [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\" *ngIf=\"!hideButton\"></wac-button>\n </div>\n <div class=\"package-subtitle\" *ngIf=\"selected\">{{packageSubtitle}}</div>\n <div class=\"link-bottom\" *ngIf=\"selected\">\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\n </div>\n</div>\n"
|
|
4274
4281
|
},] }
|
|
4275
4282
|
];
|
|
4276
4283
|
CardPriceComponent.ctorParameters = function () { return []; };
|
|
4277
4284
|
CardPriceComponent.propDecorators = {
|
|
4278
4285
|
amount: [{ type: i0.Input }],
|
|
4279
4286
|
title: [{ type: i0.Input }],
|
|
4287
|
+
selected: [{ type: i0.Input }],
|
|
4288
|
+
btnLabelSelected: [{ type: i0.Input }],
|
|
4280
4289
|
price: [{ type: i0.Input }],
|
|
4281
4290
|
currency: [{ type: i0.Input }],
|
|
4282
4291
|
priceWording: [{ type: i0.Input }],
|
|
4283
4292
|
subtitle: [{ type: i0.Input }],
|
|
4284
4293
|
btnLabel: [{ type: i0.Input }],
|
|
4294
|
+
packageSubtitle: [{ type: i0.Input }],
|
|
4295
|
+
linkPackageLabel: [{ type: i0.Input }],
|
|
4285
4296
|
disabled: [{ type: i0.Input }],
|
|
4286
4297
|
btnTextcolor: [{ type: i0.Input }],
|
|
4287
4298
|
extraClasses: [{ type: i0.Input }],
|
|
4299
|
+
extraClassesSelected: [{ type: i0.Input }],
|
|
4288
4300
|
hideButton: [{ type: i0.Input }],
|
|
4289
|
-
click: [{ type: i0.Output }]
|
|
4301
|
+
click: [{ type: i0.Output }],
|
|
4302
|
+
removePackage: [{ type: i0.Output }]
|
|
4290
4303
|
};
|
|
4291
4304
|
|
|
4292
4305
|
var TokenCheckComponent = /** @class */ (function () {
|
|
@@ -4314,10 +4327,6 @@
|
|
|
4314
4327
|
function BlockWithCheckboxComponent() {
|
|
4315
4328
|
this.selected = false;
|
|
4316
4329
|
this.disabled = false;
|
|
4317
|
-
this.iconCopy = 'fa-solid fa-paste';
|
|
4318
|
-
this.iconWorld = 'fa-light fa-globe';
|
|
4319
|
-
this.copyAction = new i0.EventEmitter();
|
|
4320
|
-
this.worldAction = new i0.EventEmitter();
|
|
4321
4330
|
this.checkboxAction = new i0.EventEmitter();
|
|
4322
4331
|
this.nameRadio = 'wacBlockCheckboxRadio';
|
|
4323
4332
|
this.isFirst = false;
|
|
@@ -4333,12 +4342,6 @@
|
|
|
4333
4342
|
this.isFirst = false;
|
|
4334
4343
|
}
|
|
4335
4344
|
};
|
|
4336
|
-
BlockWithCheckboxComponent.prototype.eventCopy = function () {
|
|
4337
|
-
this.copyAction.emit(true);
|
|
4338
|
-
};
|
|
4339
|
-
BlockWithCheckboxComponent.prototype.eventWorld = function () {
|
|
4340
|
-
this.worldAction.emit(true);
|
|
4341
|
-
};
|
|
4342
4345
|
BlockWithCheckboxComponent.prototype.removeFirstClass = function () {
|
|
4343
4346
|
if (typeof document.querySelectorAll('.firstWacRadioBLock')[0] !== typeof undefined) {
|
|
4344
4347
|
document.querySelectorAll('.firstWacRadioBLock')[0].classList.remove('firstWacRadioBLock');
|
|
@@ -4349,17 +4352,13 @@
|
|
|
4349
4352
|
BlockWithCheckboxComponent.decorators = [
|
|
4350
4353
|
{ type: i0.Component, args: [{
|
|
4351
4354
|
selector: 'wac-block-with-checkbox',
|
|
4352
|
-
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
|
|
4355
|
+
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"
|
|
4353
4356
|
},] }
|
|
4354
4357
|
];
|
|
4355
4358
|
BlockWithCheckboxComponent.ctorParameters = function () { return []; };
|
|
4356
4359
|
BlockWithCheckboxComponent.propDecorators = {
|
|
4357
4360
|
selected: [{ type: i0.Input }],
|
|
4358
4361
|
disabled: [{ type: i0.Input }],
|
|
4359
|
-
iconCopy: [{ type: i0.Input }],
|
|
4360
|
-
iconWorld: [{ type: i0.Input }],
|
|
4361
|
-
copyAction: [{ type: i0.Output }],
|
|
4362
|
-
worldAction: [{ type: i0.Output }],
|
|
4363
4362
|
checkboxAction: [{ type: i0.Output }],
|
|
4364
4363
|
nameRadio: [{ type: i0.Input }],
|
|
4365
4364
|
isFirst: [{ type: i0.Input }],
|
|
@@ -4456,7 +4455,7 @@
|
|
|
4456
4455
|
MosaicComponent.decorators = [
|
|
4457
4456
|
{ type: i0.Component, args: [{
|
|
4458
4457
|
selector: 'wac-mosaic',
|
|
4459
|
-
template: "<div class=\"wac-mosaic\">\n <ng-scrollbar (reachedBottom)=\"onBottomReached()\" reachedOffset=\"200\" class=\"wac-mosaic__wrapper__scrollbar\">\n <div class=\"wac-mosaic__wrapper\">\n <div class=\"wac-mosaic__wrapper__column\" *ngFor=\"let column of columns\">\n <div class=\"wac-mosaic__wrapper__column__image\" *ngFor=\"let image of column; let i = index;\">\n <img [src]=\"image.src\" [alt]=\"image.alt\"/>\n <div class=\"hover\">\n <ng-container\n [ngTemplateOutlet]=\"
|
|
4458
|
+
template: "<div class=\"wac-mosaic\">\n <ng-scrollbar (reachedBottom)=\"onBottomReached()\" reachedOffset=\"200\" class=\"wac-mosaic__wrapper__scrollbar\">\n <div class=\"wac-mosaic__wrapper\">\n <div class=\"wac-mosaic__wrapper__column\" *ngFor=\"let column of columns\">\n <div class=\"wac-mosaic__wrapper__column__image\" *ngFor=\"let image of column; let i = index;\">\n <img [src]=\"image.src\" [alt]=\"image.alt\"/>\n <div class=\"hover\">\n <ng-container\n [ngTemplateOutlet]=\"hoverImageTemplate || defaultImportButton\"\n [ngTemplateOutletContext]=\"{ $implicit: image }\"\n >\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </ng-scrollbar>\n</div>\n\n<div class=\"wac-mosaic__loader\" *ngIf=\"isLoading\">\n <wac-loader></wac-loader>\n</div>\n\n<ng-template #defaultImportButton let-image>\n <wac-button [icon]=\"'fa-solid fa-image'\" [label]=\"'wac.MosaicComponent.import' | translate\" [extraClasses]=\"'is-success'\" (click)=\"onImportImage(image.src)\"></wac-button>\n</ng-template>\n",
|
|
4460
4459
|
encapsulation: i0.ViewEncapsulation.None,
|
|
4461
4460
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
4462
4461
|
},] }
|
|
@@ -4466,7 +4465,7 @@
|
|
|
4466
4465
|
imagesList: [{ type: i0.Input }],
|
|
4467
4466
|
isLoading: [{ type: i0.Input }],
|
|
4468
4467
|
numberOfColumn: [{ type: i0.Input }],
|
|
4469
|
-
|
|
4468
|
+
hoverImageTemplate: [{ type: i0.Input }],
|
|
4470
4469
|
importImageSrc: [{ type: i0.Output }],
|
|
4471
4470
|
loadMoreImages: [{ type: i0.Output }]
|
|
4472
4471
|
};
|