@wizishop/angular-components 0.0.156 → 0.0.160
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 +4812 -4605
- package/bundles/wizishop-angular-components.umd.js +81 -1
- 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 +40 -0
- package/esm2015/lib/components/confirm-delete/confirm-delete.component.js +36 -0
- package/esm2015/lib/components/shared-components.module.js +6 -2
- package/esm2015/public-api.js +3 -1
- package/fesm2015/wizishop-angular-components.js +78 -2
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/block-with-checkbox/block-with-checkbox.component.d.ts +14 -0
- package/lib/components/confirm-delete/confirm-delete.component.d.ts +14 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/wizishop-angular-components-0.0.160.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.156.tgz +0 -0
|
@@ -4295,6 +4295,82 @@
|
|
|
4295
4295
|
max: [{ type: i0.Input }]
|
|
4296
4296
|
};
|
|
4297
4297
|
|
|
4298
|
+
var BlockWithCheckboxComponent = /** @class */ (function () {
|
|
4299
|
+
function BlockWithCheckboxComponent() {
|
|
4300
|
+
this.selected = false;
|
|
4301
|
+
this.iconCopy = 'fa-solid fa-copy';
|
|
4302
|
+
this.iconWorld = 'fa-thin fa-globe';
|
|
4303
|
+
this.copyAction = new i0.EventEmitter();
|
|
4304
|
+
this.worldAction = new i0.EventEmitter();
|
|
4305
|
+
this.checkboxAction = new i0.EventEmitter();
|
|
4306
|
+
}
|
|
4307
|
+
BlockWithCheckboxComponent.prototype.ngOnInit = function () {
|
|
4308
|
+
};
|
|
4309
|
+
BlockWithCheckboxComponent.prototype.eventSelected = function (event) {
|
|
4310
|
+
this.selected = !this.selected;
|
|
4311
|
+
console.log(this.selected);
|
|
4312
|
+
this.checkboxAction.emit(this.selected);
|
|
4313
|
+
};
|
|
4314
|
+
BlockWithCheckboxComponent.prototype.eventCopy = function () {
|
|
4315
|
+
this.copyAction.emit(true);
|
|
4316
|
+
};
|
|
4317
|
+
BlockWithCheckboxComponent.prototype.eventWorld = function () {
|
|
4318
|
+
this.worldAction.emit(true);
|
|
4319
|
+
};
|
|
4320
|
+
return BlockWithCheckboxComponent;
|
|
4321
|
+
}());
|
|
4322
|
+
BlockWithCheckboxComponent.decorators = [
|
|
4323
|
+
{ type: i0.Component, args: [{
|
|
4324
|
+
selector: 'wac-block-with-checkbox',
|
|
4325
|
+
template: "<div class=\"block-with-checkbox\">\n <div class=\"block-with-checkbox__left\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input type=\"checkbox\" [value]=\"selected\" (click)=\"eventSelected($event)\" id=\"radioBlock\">\n <label for=\"radioBlock\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\">\n <ng-content></ng-content>\n </div>\n <div class=\"block-with-checkbox__right\">\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\"></wac-button></div>\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconWorld\" (click)=\"eventWorld()\"></wac-button></div>\n </div>\n</div>\n"
|
|
4326
|
+
},] }
|
|
4327
|
+
];
|
|
4328
|
+
BlockWithCheckboxComponent.ctorParameters = function () { return []; };
|
|
4329
|
+
BlockWithCheckboxComponent.propDecorators = {
|
|
4330
|
+
selected: [{ type: i0.Input }],
|
|
4331
|
+
iconCopy: [{ type: i0.Input }],
|
|
4332
|
+
iconWorld: [{ type: i0.Input }],
|
|
4333
|
+
copyAction: [{ type: i0.Output }],
|
|
4334
|
+
worldAction: [{ type: i0.Output }],
|
|
4335
|
+
checkboxAction: [{ type: i0.Output }]
|
|
4336
|
+
};
|
|
4337
|
+
|
|
4338
|
+
var ConfirmDeleteComponent = /** @class */ (function () {
|
|
4339
|
+
function ConfirmDeleteComponent() {
|
|
4340
|
+
this.open = false;
|
|
4341
|
+
this.confirm = new i0.EventEmitter();
|
|
4342
|
+
this.backgroundColor = '#fff';
|
|
4343
|
+
this.borderRadius = '0px';
|
|
4344
|
+
}
|
|
4345
|
+
ConfirmDeleteComponent.prototype.ngOnInit = function () {
|
|
4346
|
+
};
|
|
4347
|
+
ConfirmDeleteComponent.prototype.eventCancel = function (event) {
|
|
4348
|
+
this.confirm.emit(false);
|
|
4349
|
+
this.open = false;
|
|
4350
|
+
};
|
|
4351
|
+
ConfirmDeleteComponent.prototype.eventConfirm = function (event) {
|
|
4352
|
+
this.confirm.emit(true);
|
|
4353
|
+
this.open = false;
|
|
4354
|
+
};
|
|
4355
|
+
return ConfirmDeleteComponent;
|
|
4356
|
+
}());
|
|
4357
|
+
ConfirmDeleteComponent.decorators = [
|
|
4358
|
+
{ type: i0.Component, args: [{
|
|
4359
|
+
selector: 'wac-confirm-delete',
|
|
4360
|
+
template: "<div class=\"wac-confirm-delete\" [ngClass]=\"{'is-open': open}\" [style.backgroundColor]=\"backgroundColor\" [style.borderRadius]=\"borderRadius\">\n <div>\n <span [innerHTML]=\"label\"></span>\n </div>\n <div>\n <div><wac-button [label]=\"labelCancel\" [extraClasses]=\"'is-outlined is-grey'\" (click)=\"eventCancel($event)\"></wac-button></div>\n <div><wac-button [label]=\"labelConfirm\" [extraClasses]=\"'is-danger'\" (click)=\"eventConfirm($event)\"></wac-button></div>\n </div>\n</div>\n"
|
|
4361
|
+
},] }
|
|
4362
|
+
];
|
|
4363
|
+
ConfirmDeleteComponent.ctorParameters = function () { return []; };
|
|
4364
|
+
ConfirmDeleteComponent.propDecorators = {
|
|
4365
|
+
open: [{ type: i0.Input }],
|
|
4366
|
+
label: [{ type: i0.Input }],
|
|
4367
|
+
labelCancel: [{ type: i0.Input }],
|
|
4368
|
+
labelConfirm: [{ type: i0.Input }],
|
|
4369
|
+
confirm: [{ type: i0.Output }],
|
|
4370
|
+
backgroundColor: [{ type: i0.Input }],
|
|
4371
|
+
borderRadius: [{ type: i0.Input }]
|
|
4372
|
+
};
|
|
4373
|
+
|
|
4298
4374
|
var components = [
|
|
4299
4375
|
TagComponent,
|
|
4300
4376
|
TabComponent,
|
|
@@ -4340,7 +4416,9 @@
|
|
|
4340
4416
|
WrapperSidebarComponent,
|
|
4341
4417
|
BreadcrumbsComponent,
|
|
4342
4418
|
CardPriceComponent,
|
|
4343
|
-
TokenCheckComponent
|
|
4419
|
+
TokenCheckComponent,
|
|
4420
|
+
BlockWithCheckboxComponent,
|
|
4421
|
+
ConfirmDeleteComponent
|
|
4344
4422
|
];
|
|
4345
4423
|
var exportsFromModule = [
|
|
4346
4424
|
PaginationComponent,
|
|
@@ -4442,12 +4520,14 @@
|
|
|
4442
4520
|
exports.AutoHideDirective = AutoHideDirective;
|
|
4443
4521
|
exports.BackComponent = BackComponent;
|
|
4444
4522
|
exports.BlockComponent = BlockComponent;
|
|
4523
|
+
exports.BlockWithCheckboxComponent = BlockWithCheckboxComponent;
|
|
4445
4524
|
exports.BreadcrumbsComponent = BreadcrumbsComponent;
|
|
4446
4525
|
exports.ButtonComponent = ButtonComponent;
|
|
4447
4526
|
exports.CalendarComponent = CalendarComponent;
|
|
4448
4527
|
exports.CardPriceComponent = CardPriceComponent;
|
|
4449
4528
|
exports.CheckBoxRow = CheckBoxRow;
|
|
4450
4529
|
exports.CheckboxComponent = CheckboxComponent;
|
|
4530
|
+
exports.ConfirmDeleteComponent = ConfirmDeleteComponent;
|
|
4451
4531
|
exports.DebounceKeyupDirective = DebounceKeyupDirective;
|
|
4452
4532
|
exports.DeleteComponent = DeleteComponent;
|
|
4453
4533
|
exports.DropdownComponent = DropdownComponent;
|