@wizishop/angular-components 0.0.204 → 0.0.206
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 +41 -9
- package/bundles/wizishop-angular-components.umd.js +9 -7
- 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/card-price/card-price.component.js +7 -7
- package/esm2015/lib/components/draganddrop-list/draganddrop-list.component.js +4 -2
- package/fesm2015/wizishop-angular-components.js +9 -7
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/card-price/card-price.component.d.ts +2 -2
- package/lib/components/draganddrop-list/draganddrop-list.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.206.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.204.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -2394,6 +2394,13 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
2394
2394
|
}
|
|
2395
2395
|
}
|
|
2396
2396
|
}
|
|
2397
|
+
&__label {
|
|
2398
|
+
font-size: rem(14);
|
|
2399
|
+
line-height: 1.4;
|
|
2400
|
+
color: $wac-main-text;
|
|
2401
|
+
font-weight: 500;
|
|
2402
|
+
margin: 0 0 10px;
|
|
2403
|
+
}
|
|
2397
2404
|
&__wrapper {
|
|
2398
2405
|
width: 100%;
|
|
2399
2406
|
display: flex;
|
|
@@ -2472,19 +2479,15 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
2472
2479
|
margin: 0 0 0 10px;
|
|
2473
2480
|
display: flex;
|
|
2474
2481
|
align-items: center;
|
|
2482
|
+
> div {
|
|
2483
|
+
&:last-child:not(:first-child) {
|
|
2484
|
+
margin: 0 0 0 10px;
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2475
2487
|
}
|
|
2476
2488
|
}
|
|
2477
2489
|
}
|
|
2478
2490
|
}
|
|
2479
|
-
&__add {
|
|
2480
|
-
width: 100%;
|
|
2481
|
-
margin: 20px 0 0;
|
|
2482
|
-
&__btn {
|
|
2483
|
-
width: 100%;
|
|
2484
|
-
display: flex;
|
|
2485
|
-
justify-content: flex-end;
|
|
2486
|
-
}
|
|
2487
|
-
}
|
|
2488
2491
|
}
|
|
2489
2492
|
|
|
2490
2493
|
|
|
@@ -4508,6 +4511,35 @@ span.wac-tooltip {
|
|
|
4508
4511
|
transition: background-color 0.3s ease-in-out;
|
|
4509
4512
|
}
|
|
4510
4513
|
|
|
4514
|
+
&.opacity {
|
|
4515
|
+
background-color: $wac-wizishop-blue-button-light;
|
|
4516
|
+
border-color: $wac-wizishop-blue-button-light;
|
|
4517
|
+
|
|
4518
|
+
i {
|
|
4519
|
+
color: $wac-wizishop-blue-button;
|
|
4520
|
+
}
|
|
4521
|
+
|
|
4522
|
+
&:hover,
|
|
4523
|
+
&.hover {
|
|
4524
|
+
background-color: $wac-wizishop-blue-button;
|
|
4525
|
+
border-color: $wac-wizishop-blue-button;
|
|
4526
|
+
transition: background-color 0.3s ease-in-out;
|
|
4527
|
+
i {
|
|
4528
|
+
color: $white;
|
|
4529
|
+
}
|
|
4530
|
+
}
|
|
4531
|
+
|
|
4532
|
+
&:focus,
|
|
4533
|
+
&.focus {
|
|
4534
|
+
background-color: $wac-wizishop-blue-button;
|
|
4535
|
+
border-color: $wac-wizishop-blue-button;
|
|
4536
|
+
transition: background-color 0.3s ease-in-out;
|
|
4537
|
+
i {
|
|
4538
|
+
color: $white;
|
|
4539
|
+
}
|
|
4540
|
+
}
|
|
4541
|
+
}
|
|
4542
|
+
|
|
4511
4543
|
&.is-outlined {
|
|
4512
4544
|
background-color: transparent;
|
|
4513
4545
|
border-color: $wac-wizishop-blue-button;
|
|
@@ -4267,16 +4267,16 @@
|
|
|
4267
4267
|
this.extraClasses = 'is-success';
|
|
4268
4268
|
this.extraClassesSelected = 'is-success is-outlined';
|
|
4269
4269
|
this.hideButton = false;
|
|
4270
|
-
this.
|
|
4271
|
-
this.
|
|
4270
|
+
this.confirm = new i0.EventEmitter();
|
|
4271
|
+
this.cancel = new i0.EventEmitter();
|
|
4272
4272
|
}
|
|
4273
4273
|
CardPriceComponent.prototype.ngOnInit = function () {
|
|
4274
4274
|
};
|
|
4275
4275
|
CardPriceComponent.prototype.triggerClick = function () {
|
|
4276
|
-
this.
|
|
4276
|
+
this.confirm.emit(true);
|
|
4277
4277
|
};
|
|
4278
4278
|
CardPriceComponent.prototype.removePackageTrigger = function () {
|
|
4279
|
-
this.
|
|
4279
|
+
this.cancel.emit(true);
|
|
4280
4280
|
};
|
|
4281
4281
|
return CardPriceComponent;
|
|
4282
4282
|
}());
|
|
@@ -4304,8 +4304,8 @@
|
|
|
4304
4304
|
extraClasses: [{ type: i0.Input }],
|
|
4305
4305
|
extraClassesSelected: [{ type: i0.Input }],
|
|
4306
4306
|
hideButton: [{ type: i0.Input }],
|
|
4307
|
-
|
|
4308
|
-
|
|
4307
|
+
confirm: [{ type: i0.Output }],
|
|
4308
|
+
cancel: [{ type: i0.Output }]
|
|
4309
4309
|
};
|
|
4310
4310
|
|
|
4311
4311
|
var TokenCheckComponent = /** @class */ (function () {
|
|
@@ -4571,6 +4571,7 @@
|
|
|
4571
4571
|
|
|
4572
4572
|
var DraganddropListComponent = /** @class */ (function () {
|
|
4573
4573
|
function DraganddropListComponent() {
|
|
4574
|
+
this.label = '';
|
|
4574
4575
|
this.disabled = false;
|
|
4575
4576
|
this.backgroundColor = '#fff';
|
|
4576
4577
|
this.showTriggerSave = false;
|
|
@@ -4619,11 +4620,12 @@
|
|
|
4619
4620
|
DraganddropListComponent.decorators = [
|
|
4620
4621
|
{ type: i0.Component, args: [{
|
|
4621
4622
|
selector: 'wac-draganddrop-list',
|
|
4622
|
-
template: "<div class=\"wac-draganddrop-list\" *ngIf=\"!disabled\" [style.backgroundColor]=\"backgroundColor\">\n <div class=\"wac-draganddrop-list__wrapper\" [cdkDropListLockAxis]=\"'y'\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <div class=\"wac-draganddrop-list__wrapper__item\" [style.backgroundColor]=\"backgroundColor\" *ngFor=\"let item of items;let i = index;\" cdkDrag>\n <div>\n <span class=\"wac-draganddrop-list__wrapper__item__icon\">\n <span></span>\n </span>\n <span (mousedown)=\"$event.stopPropagation()\" class=\"wac-draganddrop-list__wrapper__item__input\">\n <wac-input [value]=\"item\" [extraClasses]=\"'transparent'\" (keydown)=\"saveField(i, $event)\" (focusout)=\"saveFieldEnd(i, $event)\"></wac-input>\n </span>\n </div>\n <div (mousedown)=\"$event.stopPropagation()\">\n <wac-button [iconFontSize]=\"'14px'\" [opacity]=\"true\" [icon]=\"'fa-regular fa-trash-can'\" [extraClasses]=\"'is-danger'\" (click)=\"delete(i)\"></wac-button>\n </div>\n </div>\n <div class=\"wac-draganddrop-list__wrapper__item wac-draganddrop-list__wrapper__item--trigger\" *ngIf=\"showTriggerSave\">\n <div>\n <span class=\"wac-draganddrop-list__wrapper__item__icon\">\n <span></span>\n </span>\n <span class=\"wac-draganddrop-list__wrapper__item__input\">\n <wac-input [extraClasses]=\"'transparent'\" (keyup.enter)=\"saveNewField($event)\" (focusout)=\"saveNewField($event)\"></wac-input>\n </span>\n </div>\n </div>\n </div>\n
|
|
4623
|
+
template: "<div class=\"wac-draganddrop-list\" *ngIf=\"!disabled\" [style.backgroundColor]=\"backgroundColor\">\n <div class=\"wac-draganddrop-list__label\" *ngIf=\"label\"><span [innerHTML]=\"label\"></span></div>\n <div class=\"wac-draganddrop-list__wrapper\" [cdkDropListLockAxis]=\"'y'\" cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <div class=\"wac-draganddrop-list__wrapper__item\" [style.backgroundColor]=\"backgroundColor\" *ngFor=\"let item of items;let i = index;\" cdkDrag>\n <div>\n <span class=\"wac-draganddrop-list__wrapper__item__icon\">\n <span></span>\n </span>\n <span (mousedown)=\"$event.stopPropagation()\" class=\"wac-draganddrop-list__wrapper__item__input\">\n <wac-input [value]=\"item\" [extraClasses]=\"'transparent'\" (keydown)=\"saveField(i, $event)\" (focusout)=\"saveFieldEnd(i, $event)\"></wac-input>\n </span>\n </div>\n <div (mousedown)=\"$event.stopPropagation()\">\n <div>\n <wac-button [iconFontSize]=\"'14px'\" [opacity]=\"true\" [icon]=\"'fa-regular fa-trash-can'\" [extraClasses]=\"'is-danger'\" (click)=\"delete(i)\"></wac-button>\n </div>\n <div *ngIf=\"i === (items.length - 1) && max > items.length && !showTriggerSave\">\n <wac-button [extraClasses]=\"'is-info'\" [iconFontSize]=\"'18px'\" [opacity]=\"true\" [icon]=\"'fa-regular fa-plus'\" (click)=\"addField()\"></wac-button>\n </div>\n </div>\n </div>\n <div class=\"wac-draganddrop-list__wrapper__item wac-draganddrop-list__wrapper__item--trigger\" *ngIf=\"showTriggerSave\">\n <div>\n <span class=\"wac-draganddrop-list__wrapper__item__icon\">\n <span></span>\n </span>\n <span class=\"wac-draganddrop-list__wrapper__item__input\">\n <wac-input [extraClasses]=\"'transparent'\" (keyup.enter)=\"saveNewField($event)\" (focusout)=\"saveNewField($event)\"></wac-input>\n </span>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"wac-draganddrop-list wac-draganddrop-list--disabled\" *ngIf=\"disabled\">\n <div class=\"wac-draganddrop-list__label\" *ngIf=\"label\"><span [innerHTML]=\"label\"></span></div>\n <div class=\"wac-draganddrop-list__wrapper\">\n <div class=\"wac-draganddrop-list__wrapper__item\" *ngFor=\"let item of items;let i = index;\">\n <div>\n <span class=\"wac-draganddrop-list__wrapper__item__label\" [innerHTML]=\"item\"></span>\n </div>\n </div>\n </div>\n</div>\n",
|
|
4623
4624
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
4624
4625
|
},] }
|
|
4625
4626
|
];
|
|
4626
4627
|
DraganddropListComponent.propDecorators = {
|
|
4628
|
+
label: [{ type: i0.Input }],
|
|
4627
4629
|
items: [{ type: i0.Input }],
|
|
4628
4630
|
disabled: [{ type: i0.Input }],
|
|
4629
4631
|
max: [{ type: i0.Input }],
|