@farris/discussion-group
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -16,7 +16,6 @@ /** | ||
this.personnelsDisplayKey = 'userName'; | ||
/** | ||
* 是否支持分页 | ||
*/ | ||
this.pagerOnServer = true; | ||
/* *是否支持分页 */ | ||
this.supportPaging = true; | ||
/**总页数 */ | ||
/** 总页数 */ | ||
// @Input() pageSize:number; | ||
@@ -27,3 +26,3 @@ /** | ||
this.pageIndex = 1; | ||
/**每页显示条数选项 */ | ||
/** 每页显示条数选项 */ | ||
// private _pageList = [10,20,30,50]; | ||
@@ -47,14 +46,3 @@ // get pageList() { | ||
this._pageSize = 10; | ||
/**当前页数 */ | ||
// private _pageIndex = 1; | ||
// get pageIndex() { | ||
// return this._pageIndex; | ||
// } | ||
// @Input() set pageIndex(val) { | ||
// if(val){ | ||
// this._pageIndex = val; | ||
// this.initPaginationOptions(); | ||
// } | ||
// } | ||
/**总条数 */ | ||
/** 总条数 */ | ||
// @Input() total = 0; | ||
@@ -119,5 +107,2 @@ /** | ||
this.initPaginationOptions(); | ||
//if(val){ | ||
//this.initPaginationOptions(); | ||
//} | ||
} | ||
@@ -152,3 +137,3 @@ /** | ||
this.initPaginationOptions(); | ||
/**监听指令得到的数据 */ | ||
/** 监听指令得到的数据 */ | ||
this.discussionListService.getData().subscribe((/** | ||
@@ -172,4 +157,5 @@ * @param {?} data | ||
currentPage: this.pageIndex, | ||
// pageList: this.pageList, | ||
totalItems: this._total | ||
pageList: [10, 20, 30, 50, 100], | ||
totalItems: this._total, | ||
remote: this.pagerOnServer | ||
}; | ||
@@ -266,2 +252,3 @@ } | ||
personnelsDisplayKey: [{ type: Input }], | ||
pagerOnServer: [{ type: Input }], | ||
supportPaging: [{ type: Input }], | ||
@@ -282,6 +269,5 @@ pageIndex: [{ type: Input }], | ||
DiscussionListComponent.prototype.personnelsDisplayKey; | ||
/** | ||
* 是否支持分页 | ||
* @type {?} | ||
*/ | ||
/** @type {?} */ | ||
DiscussionListComponent.prototype.pagerOnServer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2FkLmVtaXQoaW5mbyk7XHJcbiAgICB9XHJcbiAgICAvKiog5Y2g5L2N5aS05YOP5paH5a2XICovXHJcbiAgICBnZXRBdmF0YXIoaXRlbSkge1xyXG4gICAgICAgIGlmIChpdGVtICYmIGl0ZW1bdGhpcy5wZXJzb25uZWxzRGlzcGxheUtleV0pIHtcclxuICAgICAgICAgICAgbGV0IHN0ciA9IGl0ZW1bdGhpcy5wZXJzb25uZWxzRGlzcGxheUtleV07XHJcbiAgICAgICAgICAgIHJldHVybiBzdHIuc3Vic3RyaW5nKHN0ci5sZW5ndGggLSAyLCBzdHIubGVuZ3RoKTtcclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICByZXR1cm4gJyc7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcbiJdfQ== |
@@ -13,7 +13,6 @@ /** | ||
this.personnelsDisplayKey = 'userName'; | ||
/** | ||
* 是否支持分页 | ||
*/ | ||
this.pagerOnServer = true; | ||
/* *是否支持分页 */ | ||
this.supportPaging = true; | ||
/**总页数 */ | ||
/** 总页数 */ | ||
// @Input() pageSize:number; | ||
@@ -24,3 +23,3 @@ /** | ||
this.pageIndex = 1; | ||
/**每页显示条数选项 */ | ||
/** 每页显示条数选项 */ | ||
// private _pageList = [10,20,30,50]; | ||
@@ -44,14 +43,3 @@ // get pageList() { | ||
this._pageSize = 10; | ||
/**当前页数 */ | ||
// private _pageIndex = 1; | ||
// get pageIndex() { | ||
// return this._pageIndex; | ||
// } | ||
// @Input() set pageIndex(val) { | ||
// if(val){ | ||
// this._pageIndex = val; | ||
// this.initPaginationOptions(); | ||
// } | ||
// } | ||
/**总条数 */ | ||
/** 总条数 */ | ||
// @Input() total = 0; | ||
@@ -121,5 +109,2 @@ /** | ||
this.initPaginationOptions(); | ||
//if(val){ | ||
//this.initPaginationOptions(); | ||
//} | ||
}, | ||
@@ -165,3 +150,3 @@ enumerable: true, | ||
this.initPaginationOptions(); | ||
/**监听指令得到的数据 */ | ||
/** 监听指令得到的数据 */ | ||
this.discussionListService.getData().subscribe((/** | ||
@@ -188,7 +173,8 @@ * @param {?} data | ||
currentPage: this.pageIndex, | ||
// pageList: this.pageList, | ||
totalItems: this._total | ||
pageList: [10, 20, 30, 50, 100], | ||
totalItems: this._total, | ||
remote: this.pagerOnServer | ||
}; | ||
}; | ||
/**点击回复留言 */ | ||
/** 点击回复留言 */ | ||
/** | ||
@@ -207,3 +193,3 @@ * 点击回复留言 | ||
}; | ||
/**页码变化 */ | ||
/** 页码变化 */ | ||
/** | ||
@@ -226,3 +212,3 @@ * 页码变化 | ||
}; | ||
/**每页显示条数变化 */ | ||
/** 每页显示条数变化 */ | ||
/** | ||
@@ -256,3 +242,3 @@ * 每页显示条数变化 | ||
}; | ||
/**附件预览 */ | ||
/** 附件预览 */ | ||
/** | ||
@@ -271,3 +257,3 @@ * 附件预览 | ||
}; | ||
/**附件下载 */ | ||
/** 附件下载 */ | ||
/** | ||
@@ -286,3 +272,3 @@ * 附件下载 | ||
}; | ||
/**占位头像文字 */ | ||
/** 占位头像文字 */ | ||
/** | ||
@@ -322,2 +308,3 @@ * 占位头像文字 | ||
personnelsDisplayKey: [{ type: Input }], | ||
pagerOnServer: [{ type: Input }], | ||
supportPaging: [{ type: Input }], | ||
@@ -341,6 +328,5 @@ pageIndex: [{ type: Input }], | ||
DiscussionListComponent.prototype.personnelsDisplayKey; | ||
/** | ||
* 是否支持分页 | ||
* @type {?} | ||
*/ | ||
/** @type {?} */ | ||
DiscussionListComponent.prototype.pagerOnServer; | ||
/** @type {?} */ | ||
DiscussionListComponent.prototype.supportPaging; | ||
@@ -407,2 +393,2 @@ /** | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzY3Vzc2lvbi1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BmYXJyaXMvZGlzY3Vzc2lvbi1ncm91cC8iLCJzb3VyY2VzIjpbImxpYi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uICAgICAgICAgICAgfVxyXG4gIFxyXG4gICAgICAgICAgICB0aGlzLnBhZ2VTaXplQ2hhbmdlZC5lbWl0KHsgcGFnZUluZm86IHsgcGFnZUluZGV4OiB0aGlzLnBhZ2VJbmRleCwgcGFnZVNpemU6IHBhZ2VTaXplIH0gfSk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG4gICAgLyoq6ZmE5Lu26aKE6KeIICovXHJcbiAgICBmaWxlUHJldmlld0V2ZW50SGFuZGxlcihpbmZvKSB7XHJcbiAgICAgIHRoaXMuZmlsZVByZXZpZXcuZW1pdChpbmZvKTtcclxuICAgIH1cclxuICAgIC8qKumZhOS7tuS4i+i9vSAqL1xyXG4gICAgZmlsZURvd25sb2FkRXZlbnRIYW5kbGVyKGluZm8pIHtcclxuICAgICAgdGhpcy5maWxlRG93bmxvYWQuZW1pdChpbmZvKTtcclxuICAgIH1cclxuICAgIC8qKuWNoOS9jeWktOWDj+aWh+WtlyAqL1xyXG4gICAgZ2V0QXZhdGFyKGl0ZW0pe1xyXG4gICAgICBpZihpdGVtICYmIGl0ZW1bdGhpcy5wZXJzb25uZWxzRGlzcGxheUtleV0pe1xyXG4gICAgICAgIGxldCBzdHIgPSBpdGVtW3RoaXMucGVyc29ubmVsc0Rpc3BsYXlLZXldO1xyXG4gICAgICAgIHJldHVybiBzdHIuc3Vic3RyaW5nKHN0ci5sZW5ndGgtMixzdHIubGVuZ3RoKTtcclxuICAgICAgfVxyXG4gICAgICBlbHNle1xyXG4gICAgICAgICAgcmV0dXJuICcnO1xyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgXHJcbn0iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzY3Vzc2lvbi1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BmYXJyaXMvZGlzY3Vzc2lvbi1ncm91cC8iLCJzb3VyY2VzIjpbImxpYi9kaXNjdXNzaW9uL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gICAgICB9XHJcbiAgICB9XHJcbiAgICAvKiog6ZmE5Lu26aKE6KeIICovXHJcbiAgICBmaWxlUHJldmlld0V2ZW50SGFuZGxlcihpbmZvKSB7XHJcbiAgICAgICAgdGhpcy5maWxlUHJldmlldy5lbWl0KGluZm8pO1xyXG4gICAgfVxyXG4gICAgLyoqIOmZhOS7tuS4i+i9vSAqL1xyXG4gICAgZmlsZURvd25sb2FkRXZlbnRIYW5kbGVyKGluZm8pIHtcclxuICAgICAgICB0aGlzLmZpbGVEb3dubG9hZC5lbWl0KGluZm8pO1xyXG4gICAgfVxyXG4gICAgLyoqIOWNoOS9jeWktOWDj+aWh+WtlyAqL1xyXG4gICAgZ2V0QXZhdGFyKGl0ZW0pIHtcclxuICAgICAgICBpZiAoaXRlbSAmJiBpdGVtW3RoaXMucGVyc29ubmVsc0Rpc3BsYXlLZXldKSB7XHJcbiAgICAgICAgICAgIGxldCBzdHIgPSBpdGVtW3RoaXMucGVyc29ubmVsc0Rpc3BsYXlLZXldO1xyXG4gICAgICAgICAgICByZXR1cm4gc3RyLnN1YnN0cmluZyhzdHIubGVuZ3RoIC0gMiwgc3RyLmxlbmd0aCk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgcmV0dXJuICcnO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG4iXX0= |
@@ -7,17 +7,16 @@ import { OnInit, EventEmitter } from '@angular/core'; | ||
personnelsDisplayKey: string; | ||
/**是否支持分页 */ | ||
pagerOnServer: boolean; | ||
supportPaging: boolean; | ||
/**总页数 */ | ||
/**当前页码 */ | ||
/** 总页数 */ | ||
/** 当前页码 */ | ||
pageIndex: number; | ||
/**每页显示条数选项 */ | ||
/**总条数 */ | ||
/** 每页显示条数选项 */ | ||
/** 总条数 */ | ||
private _total; | ||
total: number; | ||
/**每页显示个数 */ | ||
/** 每页显示个数 */ | ||
private _pageSize; | ||
pageSize: number; | ||
/**当前页数 */ | ||
/**总条数 */ | ||
/**评论数据 */ | ||
/** 总条数 */ | ||
/** 评论数据 */ | ||
innerDiscussionData: any[]; | ||
@@ -29,5 +28,5 @@ _discussionData: any[]; | ||
pageSizeChanged: EventEmitter<{}>; | ||
/**附件预览 */ | ||
/** 附件预览 */ | ||
filePreview: EventEmitter<{}>; | ||
/**附件下载 */ | ||
/** 附件下载 */ | ||
fileDownload: EventEmitter<{}>; | ||
@@ -44,5 +43,5 @@ labels: any; | ||
initPaginationOptions(): void; | ||
/**点击回复留言 */ | ||
/** 点击回复留言 */ | ||
reply(item: any): void; | ||
/**页码变化 */ | ||
/** 页码变化 */ | ||
onPageChange(page: { | ||
@@ -52,10 +51,10 @@ pageIndex: number; | ||
}): void; | ||
/**每页显示条数变化 */ | ||
/** 每页显示条数变化 */ | ||
onPageSizeChange(pageSize: number): void; | ||
/**附件预览 */ | ||
/** 附件预览 */ | ||
filePreviewEventHandler(info: any): void; | ||
/**附件下载 */ | ||
/** 附件下载 */ | ||
fileDownloadEventHandler(info: any): void; | ||
/**占位头像文字 */ | ||
/** 占位头像文字 */ | ||
getAvatar(item: any): any; | ||
} |
{ | ||
"name": "@farris/discussion-group", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^7.2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1724127
16087
1