@wizishop/angular-components 0.0.170 → 0.0.173
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 +5324 -5318
- package/bundles/wizishop-angular-components.umd.js +18 -8
- 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 +4 -2
- package/esm2015/lib/components/mosaic/mosaic.component.js +5 -2
- package/esm2015/lib/components/shared-components.module.js +5 -1
- package/esm2015/lib/components/wrapper-sidebar/wrapper-sidebar.component.js +6 -3
- package/fesm2015/wizishop-angular-components.js +16 -4
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/mosaic/mosaic.component.d.ts +1 -0
- package/lib/components/wrapper-sidebar/wrapper-sidebar.component.d.ts +2 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.173.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.170.tgz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@wizishop/ng-wizi-bulma'), require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-perfect-scrollbar'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/overlay'), require('@angular/cdk/table'), require('@angular/animations'), require('ngx-chips'), require('@ngx-translate/core'), require('@angular/router'), require('ngx-autosize')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@wizishop/angular-components', ['exports', '@wizishop/ng-wizi-bulma', '@angular/core', '@angular/common', '@angular/forms', 'ngx-perfect-scrollbar', 'rxjs', 'rxjs/operators', '@angular/cdk/overlay', '@angular/cdk/table', '@angular/animations', 'ngx-chips', '@ngx-translate/core', '@angular/router', 'ngx-autosize'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wizishop = global.wizishop || {}, global.wizishop['angular-components'] = {}), global['ng-wizi-bulma'], global.ng.core, global.ng.common, global.ng.forms, global['ngx-perfect-scrollbar'], global.rxjs, global.rxjs.operators, global.ng.cdk.overlay, global.ng.cdk.table, global.ng.animations, global['ngx-chips'], global['@ngx-translate/core'], global.ng.router, global.ngxAutosize));
|
|
5
|
-
}(this, (function (exports, i1$1, i0, common, forms, ngxPerfectScrollbar, rxjs, operators, i1, table, animations, ngxChips, core, router, ngxAutosize) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@wizishop/ng-wizi-bulma'), require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-perfect-scrollbar'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/overlay'), require('@angular/cdk/table'), require('@angular/animations'), require('ngx-chips'), require('@ngx-translate/core'), require('@angular/router'), require('ngx-autosize'), require('ngx-scrollbar'), require('ngx-scrollbar/reached-event')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@wizishop/angular-components', ['exports', '@wizishop/ng-wizi-bulma', '@angular/core', '@angular/common', '@angular/forms', 'ngx-perfect-scrollbar', 'rxjs', 'rxjs/operators', '@angular/cdk/overlay', '@angular/cdk/table', '@angular/animations', 'ngx-chips', '@ngx-translate/core', '@angular/router', 'ngx-autosize', 'ngx-scrollbar', 'ngx-scrollbar/reached-event'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wizishop = global.wizishop || {}, global.wizishop['angular-components'] = {}), global['ng-wizi-bulma'], global.ng.core, global.ng.common, global.ng.forms, global['ngx-perfect-scrollbar'], global.rxjs, global.rxjs.operators, global.ng.cdk.overlay, global.ng.cdk.table, global.ng.animations, global['ngx-chips'], global['@ngx-translate/core'], global.ng.router, global.ngxAutosize, global.ngxScrollbar, global.reachedEvent));
|
|
5
|
+
}(this, (function (exports, i1$1, i0, common, forms, ngxPerfectScrollbar, rxjs, operators, i1, table, animations, ngxChips, core, router, ngxAutosize, ngxScrollbar, reachedEvent) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -4204,6 +4204,7 @@
|
|
|
4204
4204
|
var WrapperSidebarComponent = /** @class */ (function () {
|
|
4205
4205
|
function WrapperSidebarComponent() {
|
|
4206
4206
|
this.reverse = false;
|
|
4207
|
+
this.hideBackground = false;
|
|
4207
4208
|
}
|
|
4208
4209
|
WrapperSidebarComponent.prototype.ngOnInit = function () {
|
|
4209
4210
|
};
|
|
@@ -4212,13 +4213,15 @@
|
|
|
4212
4213
|
WrapperSidebarComponent.decorators = [
|
|
4213
4214
|
{ type: i0.Component, args: [{
|
|
4214
4215
|
selector: 'wac-wrapper-sidebar',
|
|
4215
|
-
template: "<div class=\"wac-wrapper-sidebar\" [ngClass]=\"{'reverse': reverse}\">\n <div class=\"wac-wrapper-sidebar__left\">\n <ng-content select=\"[sidebar]\"></ng-content>\n </div>\n <div class=\"wac-wrapper-sidebar__right\" [style.backgroundImage]=\"'url(' + backgroundGrey + ')'\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</div>\n"
|
|
4216
|
+
template: "<div class=\"wac-wrapper-sidebar\" [ngClass]=\"{'reverse': reverse}\">\n <div class=\"wac-wrapper-sidebar__left\">\n <ng-content select=\"[sidebar]\"></ng-content>\n </div>\n <div class=\"wac-wrapper-sidebar__right\" [style.backgroundImage]=\"!hideBackground ? 'url(' + backgroundGrey + ')' : ''\" [style.backgroundSize]=\"backgroundWidth\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</div>\n"
|
|
4216
4217
|
},] }
|
|
4217
4218
|
];
|
|
4218
4219
|
WrapperSidebarComponent.ctorParameters = function () { return []; };
|
|
4219
4220
|
WrapperSidebarComponent.propDecorators = {
|
|
4220
4221
|
reverse: [{ type: i0.Input }],
|
|
4221
|
-
|
|
4222
|
+
hideBackground: [{ type: i0.Input }],
|
|
4223
|
+
backgroundGrey: [{ type: i0.Input }],
|
|
4224
|
+
backgroundWidth: [{ type: i0.Input }]
|
|
4222
4225
|
};
|
|
4223
4226
|
|
|
4224
4227
|
var BreadcrumbsComponent = /** @class */ (function () {
|
|
@@ -4332,7 +4335,9 @@
|
|
|
4332
4335
|
this.worldAction.emit(true);
|
|
4333
4336
|
};
|
|
4334
4337
|
BlockWithCheckboxComponent.prototype.removeFirstClass = function () {
|
|
4335
|
-
document.querySelectorAll('.firstWacRadioBLock')[0]
|
|
4338
|
+
if (typeof document.querySelectorAll('.firstWacRadioBLock')[0] !== typeof undefined) {
|
|
4339
|
+
document.querySelectorAll('.firstWacRadioBLock')[0].classList.remove('firstWacRadioBLock');
|
|
4340
|
+
}
|
|
4336
4341
|
};
|
|
4337
4342
|
return BlockWithCheckboxComponent;
|
|
4338
4343
|
}());
|
|
@@ -4421,6 +4426,9 @@
|
|
|
4421
4426
|
}
|
|
4422
4427
|
return columns;
|
|
4423
4428
|
};
|
|
4429
|
+
MosaicComponent.prototype.onBottomReached = function () {
|
|
4430
|
+
console.log('end bottom !');
|
|
4431
|
+
};
|
|
4424
4432
|
MosaicComponent.prototype.onImportImage = function (src) {
|
|
4425
4433
|
this.importImageSrc.emit(src);
|
|
4426
4434
|
};
|
|
@@ -4429,7 +4437,7 @@
|
|
|
4429
4437
|
MosaicComponent.decorators = [
|
|
4430
4438
|
{ type: i0.Component, args: [{
|
|
4431
4439
|
selector: 'wac-mosaic',
|
|
4432
|
-
template: "<div class=\"wac-mosaic\" *ngIf=\"!isLoading; else loading\">\n <div class=\"wac-mosaic__wrapper\">\n
|
|
4440
|
+
template: "<div class=\"wac-mosaic\" *ngIf=\"!isLoading; else loading\">\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]=\"importButtonTemplate || defaultImportButton\"\n [ngTemplateOutletContext]=\"{ $implicit: image }\"\n >\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </ng-scrollbar>\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\n<ng-template #loading>\n <div class=\"wac-mosaic__loader\" *ngIf=\"isLoading\">\n <wac-loader></wac-loader>\n </div>\n</ng-template>\n",
|
|
4433
4441
|
encapsulation: i0.ViewEncapsulation.None
|
|
4434
4442
|
},] }
|
|
4435
4443
|
];
|
|
@@ -4536,6 +4544,8 @@
|
|
|
4536
4544
|
AlertPopupModule,
|
|
4537
4545
|
router.RouterModule,
|
|
4538
4546
|
ngxAutosize.AutosizeModule,
|
|
4547
|
+
ngxScrollbar.NgScrollbarModule,
|
|
4548
|
+
reachedEvent.NgScrollbarReachedModule,
|
|
4539
4549
|
TreeModule
|
|
4540
4550
|
],
|
|
4541
4551
|
declarations: components,
|