@smartsoft001/angular 1.1.843 → 1.1.844
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/esm2020/lib/components/list/masonry-grid/masonry-grid.component.mjs +2 -2
- package/fesm2015/smartsoft001-angular.mjs +2 -2
- package/fesm2015/smartsoft001-angular.mjs.map +1 -1
- package/fesm2020/smartsoft001-angular.mjs +2 -2
- package/fesm2020/smartsoft001-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -5672,10 +5672,10 @@ class ListMasonryGridComponent extends ListBaseComponent {
|
|
|
5672
5672
|
}
|
|
5673
5673
|
}
|
|
5674
5674
|
/** @nocollapse */ ListMasonryGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ListMasonryGridComponent, deps: [{ token: AuthService }, { token: i2$1.Router }, { token: AlertService }, { token: i0.ChangeDetectorRef }, { token: i3$1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5675
|
-
/** @nocollapse */ ListMasonryGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: ListMasonryGridComponent, selector: "smart-list-masonry-grid", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div id=\"container\">\n <ion-card *ngFor=\"let item of listWithImages$ | async\" (click)='unselect && unselect()'>\n <img *ngIf=\"item.image\" [src]=\"item.image | smartFileUrl\">\n\n <ion-card-content>\n <ng-container *ngFor=\"let key of keys; let index = index\">\n <ng-container *ngIf=\"item.data | smartListCell : key : cellPipe : type; let cell\">\n <ng-container *ngIf=\"cell.value != item.image\">\n <h3 [attr.smart-item-key]=\"key\" *ngIf='index < 2' [innerHTML]=\"cell.value\"></h3>\n <p [attr.smart-item-key]=\"key\" *ngIf='index >= 2' [innerHTML]=\"cell.value\"></p>\n </ng-container>\n </ng-container>\n </ng-container>\n </ion-card-content>\n\n <ion-row>\n <ion-col size=\"auto\" *ngIf=\"removeHandler\">\n <ion-button (click)=\"removeHandler && removeHandler(item.data)\"\n *ngIf=\"!checkRemoveHandler || checkRemoveHandler(item.data)\"\n >\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </ion-col>\n <ion-col>\n\n </ion-col>\n <ion-col size=\"auto\" *ngIf=\"itemHandler\">\n <ion-button (click)=\"itemHandler && itemHandler(item.data.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-card>\n </div>\n</div>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: ["#container{
|
|
5675
|
+
/** @nocollapse */ ListMasonryGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: ListMasonryGridComponent, selector: "smart-list-masonry-grid", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div id=\"container\">\n <ion-card *ngFor=\"let item of listWithImages$ | async\" (click)='unselect && unselect()'>\n <img *ngIf=\"item.image\" [src]=\"item.image | smartFileUrl\">\n\n <ion-card-content>\n <ng-container *ngFor=\"let key of keys; let index = index\">\n <ng-container *ngIf=\"item.data | smartListCell : key : cellPipe : type; let cell\">\n <ng-container *ngIf=\"cell.value != item.image\">\n <h3 [attr.smart-item-key]=\"key\" *ngIf='index < 2' [innerHTML]=\"cell.value\"></h3>\n <p [attr.smart-item-key]=\"key\" *ngIf='index >= 2' [innerHTML]=\"cell.value\"></p>\n </ng-container>\n </ng-container>\n </ng-container>\n </ion-card-content>\n\n <ion-row>\n <ion-col size=\"auto\" *ngIf=\"removeHandler\">\n <ion-button (click)=\"removeHandler && removeHandler(item.data)\"\n *ngIf=\"!checkRemoveHandler || checkRemoveHandler(item.data)\"\n >\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </ion-col>\n <ion-col>\n\n </ion-col>\n <ion-col size=\"auto\" *ngIf=\"itemHandler\">\n <ion-button (click)=\"itemHandler && itemHandler(item.data.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-card>\n </div>\n</div>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: ["#container{row-gap:12px;column-gap:12px}#container ion-card{width:100%;margin:.6rem 0;page-break-inside:avoid;break-inside:avoid;border:.1rem solid #f4f4f4}#container ion-card h3{color:#333}#container ion-card p{color:#666}#container ion-card ion-card-content{max-height:48rem;overflow:hidden}#container ion-card ion-card-content:after{content:\"\";display:block;width:100%;height:3.2rem;background-image:linear-gradient(90deg,transparent,#FFF);position:absolute;bottom:0}@media screen and (max-width: 480px){#container{columns:1}}@media screen and (min-width: 481px) and (max-width: 768px){#container{columns:2}}@media screen and (min-width: 769px) and (max-width: 1023px){#container{columns:3}}@media screen and (min-width: 1024px) and (max-width: 1599px){#container{columns:4}}@media screen and (min-width: 1600px){#container{columns:6}}\n"], components: [{ type: i1$1.IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { type: i1$1.IonCardContent, selector: "ion-card-content", inputs: ["mode"] }, { type: i1$1.IonRow, selector: "ion-row" }, { type: i1$1.IonCol, selector: "ion-col", inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"] }, { type: i1$1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { type: i1$1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { type: i1$1.IonInfiniteScroll, selector: "ion-infinite-scroll", inputs: ["disabled", "position", "threshold"] }, { type: i1$1.IonInfiniteScrollContent, selector: "ion-infinite-scroll-content", inputs: ["loadingSpinner", "loadingText"] }, { type: PagingComponent, selector: "smart-paging", inputs: ["page", "totalPages"], outputs: ["nextPage", "prevPage"] }], directives: [{ type: i2$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2$2.AsyncPipe, "smartFileUrl": FileUrlPipe, "smartListCell": ListCellPipe } });
|
|
5676
5676
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ListMasonryGridComponent, decorators: [{
|
|
5677
5677
|
type: Component,
|
|
5678
|
-
args: [{ selector: "smart-list-masonry-grid", template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div id=\"container\">\n <ion-card *ngFor=\"let item of listWithImages$ | async\" (click)='unselect && unselect()'>\n <img *ngIf=\"item.image\" [src]=\"item.image | smartFileUrl\">\n\n <ion-card-content>\n <ng-container *ngFor=\"let key of keys; let index = index\">\n <ng-container *ngIf=\"item.data | smartListCell : key : cellPipe : type; let cell\">\n <ng-container *ngIf=\"cell.value != item.image\">\n <h3 [attr.smart-item-key]=\"key\" *ngIf='index < 2' [innerHTML]=\"cell.value\"></h3>\n <p [attr.smart-item-key]=\"key\" *ngIf='index >= 2' [innerHTML]=\"cell.value\"></p>\n </ng-container>\n </ng-container>\n </ng-container>\n </ion-card-content>\n\n <ion-row>\n <ion-col size=\"auto\" *ngIf=\"removeHandler\">\n <ion-button (click)=\"removeHandler && removeHandler(item.data)\"\n *ngIf=\"!checkRemoveHandler || checkRemoveHandler(item.data)\"\n >\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </ion-col>\n <ion-col>\n\n </ion-col>\n <ion-col size=\"auto\" *ngIf=\"itemHandler\">\n <ion-button (click)=\"itemHandler && itemHandler(item.data.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-card>\n </div>\n</div>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: ["#container{
|
|
5678
|
+
args: [{ selector: "smart-list-masonry-grid", template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div id=\"container\">\n <ion-card *ngFor=\"let item of listWithImages$ | async\" (click)='unselect && unselect()'>\n <img *ngIf=\"item.image\" [src]=\"item.image | smartFileUrl\">\n\n <ion-card-content>\n <ng-container *ngFor=\"let key of keys; let index = index\">\n <ng-container *ngIf=\"item.data | smartListCell : key : cellPipe : type; let cell\">\n <ng-container *ngIf=\"cell.value != item.image\">\n <h3 [attr.smart-item-key]=\"key\" *ngIf='index < 2' [innerHTML]=\"cell.value\"></h3>\n <p [attr.smart-item-key]=\"key\" *ngIf='index >= 2' [innerHTML]=\"cell.value\"></p>\n </ng-container>\n </ng-container>\n </ng-container>\n </ion-card-content>\n\n <ion-row>\n <ion-col size=\"auto\" *ngIf=\"removeHandler\">\n <ion-button (click)=\"removeHandler && removeHandler(item.data)\"\n *ngIf=\"!checkRemoveHandler || checkRemoveHandler(item.data)\"\n >\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </ion-col>\n <ion-col>\n\n </ion-col>\n <ion-col size=\"auto\" *ngIf=\"itemHandler\">\n <ion-button (click)=\"itemHandler && itemHandler(item.data.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-card>\n </div>\n</div>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: ["#container{row-gap:12px;column-gap:12px}#container ion-card{width:100%;margin:.6rem 0;page-break-inside:avoid;break-inside:avoid;border:.1rem solid #f4f4f4}#container ion-card h3{color:#333}#container ion-card p{color:#666}#container ion-card ion-card-content{max-height:48rem;overflow:hidden}#container ion-card ion-card-content:after{content:\"\";display:block;width:100%;height:3.2rem;background-image:linear-gradient(90deg,transparent,#FFF);position:absolute;bottom:0}@media screen and (max-width: 480px){#container{columns:1}}@media screen and (min-width: 481px) and (max-width: 768px){#container{columns:2}}@media screen and (min-width: 769px) and (max-width: 1023px){#container{columns:3}}@media screen and (min-width: 1024px) and (max-width: 1599px){#container{columns:4}}@media screen and (min-width: 1600px){#container{columns:6}}\n"] }]
|
|
5679
5679
|
}], ctorParameters: function () { return [{ type: AuthService }, { type: i2$1.Router }, { type: AlertService }, { type: i0.ChangeDetectorRef }, { type: i3$1.TranslateService }]; }, propDecorators: { topTpl: [{
|
|
5680
5680
|
type: ViewChild,
|
|
5681
5681
|
args: ["topTpl", { read: ViewContainerRef, static: true }]
|