@yibozhang/pro-table 16.1.22 → 16.2.0
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/esm2022/lib/page-container/page-container.component.mjs +2 -2
- package/esm2022/lib/pro-table.component.mjs +14 -5
- package/esm2022/lib/table-search-bar/table-search-bar.component.mjs +6 -12
- package/fesm2022/yibozhang-pro-table.mjs +21 -18
- package/fesm2022/yibozhang-pro-table.mjs.map +1 -1
- package/lib/pro-table.component.d.ts +5 -2
- package/lib/table-search-bar/table-search-bar.component.d.ts +2 -4
- package/package.json +1 -1
|
@@ -11,11 +11,11 @@ export class PageContainerComponent {
|
|
|
11
11
|
}
|
|
12
12
|
ngOnInit() { }
|
|
13
13
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PageContainerComponent, selector: "app-page-container", inputs: { title: "title", showHeader: "showHeader", bodyStyle: "bodyStyle", headerStyle: "headerStyle" }, queries: [{ propertyName: "customContentTpl", first: true, predicate: ["customContent"], descendants: true }, { propertyName: "headerTpl", first: true, predicate: ["header"], descendants: true }, { propertyName: "bodyTpl", first: true, predicate: ["body"], descendants: true }], ngImport: i0, template: "<nz-card\r\n [nzBorderless]=\"true\"\r\n [nzBodyStyle]=\"{ padding: '8px', width: '100%' }\"\r\n>\r\n <div class=\"page-container-title\" *ngIf=\"title\">{{ title }}</div>\r\n <div class=\"page-container-custom-content\" *ngIf=\"customContentTpl\">\r\n <ng-container *ngTemplateOutlet=\"customContentTpl\"></ng-container>\r\n </div>\r\n <div class=\"page-container-header\" *ngIf=\"showHeader\" [ngStyle]=\"headerStyle\">\r\n <ng-container *ngTemplateOutlet=\"headerTpl\"></ng-container>\r\n </div>\r\n <div class=\"page-container-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-container *ngTemplateOutlet=\"bodyTpl\"></ng-container>\r\n </div>\r\n</nz-card>\r\n", styles: [".page-container-title{padding-left:8px;font-size:16px;color:#1d1d1d;margin-bottom:8px}.page-container-title:before{content:\"\";display:inline-block;width:2px;height:16px;position:relative;left:-8px;top:3px;background-color:#096dd9}.page-container-custom-content{box-sizing:border-box;padding:0 0 8px}.page-container-header{box-sizing:border-box;padding:12px 24px;background:#f4f4f5}.page-container-body{box-sizing:border-box;padding:8px 0 0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }] }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PageContainerComponent, selector: "app-page-container", inputs: { title: "title", showHeader: "showHeader", bodyStyle: "bodyStyle", headerStyle: "headerStyle" }, queries: [{ propertyName: "customContentTpl", first: true, predicate: ["customContent"], descendants: true }, { propertyName: "headerTpl", first: true, predicate: ["header"], descendants: true }, { propertyName: "bodyTpl", first: true, predicate: ["body"], descendants: true }], ngImport: i0, template: "<nz-card\r\n [nzBorderless]=\"true\"\r\n [nzBodyStyle]=\"{ padding: '8px', width: '100%' }\"\r\n>\r\n <div class=\"page-container-title\" *ngIf=\"title\">{{ title }}</div>\r\n <div class=\"page-container-custom-content\" *ngIf=\"customContentTpl\">\r\n <ng-container *ngTemplateOutlet=\"customContentTpl\"></ng-container>\r\n </div>\r\n <div class=\"page-container-header\" *ngIf=\"showHeader\" [ngStyle]=\"headerStyle\">\r\n <ng-container *ngTemplateOutlet=\"headerTpl\"></ng-container>\r\n </div>\r\n <div class=\"page-container-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-container *ngTemplateOutlet=\"bodyTpl\"></ng-container>\r\n </div>\r\n</nz-card>\r\n", styles: [".page-container-title{padding-left:8px;font-size:16px;color:#1d1d1d;margin-bottom:8px}.page-container-title:before{content:\"\";display:inline-block;width:2px;height:16px;position:relative;left:-8px;top:3px;background-color:#096dd9}.page-container-custom-content{box-sizing:border-box;padding:0 0 8px;min-width:0;overflow-x:hidden}.page-container-header{box-sizing:border-box;padding:12px 24px;background:#f4f4f5}.page-container-body{box-sizing:border-box;padding:8px 0 0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }] }); }
|
|
15
15
|
}
|
|
16
16
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageContainerComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
|
-
args: [{ selector: "app-page-container", template: "<nz-card\r\n [nzBorderless]=\"true\"\r\n [nzBodyStyle]=\"{ padding: '8px', width: '100%' }\"\r\n>\r\n <div class=\"page-container-title\" *ngIf=\"title\">{{ title }}</div>\r\n <div class=\"page-container-custom-content\" *ngIf=\"customContentTpl\">\r\n <ng-container *ngTemplateOutlet=\"customContentTpl\"></ng-container>\r\n </div>\r\n <div class=\"page-container-header\" *ngIf=\"showHeader\" [ngStyle]=\"headerStyle\">\r\n <ng-container *ngTemplateOutlet=\"headerTpl\"></ng-container>\r\n </div>\r\n <div class=\"page-container-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-container *ngTemplateOutlet=\"bodyTpl\"></ng-container>\r\n </div>\r\n</nz-card>\r\n", styles: [".page-container-title{padding-left:8px;font-size:16px;color:#1d1d1d;margin-bottom:8px}.page-container-title:before{content:\"\";display:inline-block;width:2px;height:16px;position:relative;left:-8px;top:3px;background-color:#096dd9}.page-container-custom-content{box-sizing:border-box;padding:0 0 8px}.page-container-header{box-sizing:border-box;padding:12px 24px;background:#f4f4f5}.page-container-body{box-sizing:border-box;padding:8px 0 0}\n"] }]
|
|
18
|
+
args: [{ selector: "app-page-container", template: "<nz-card\r\n [nzBorderless]=\"true\"\r\n [nzBodyStyle]=\"{ padding: '8px', width: '100%' }\"\r\n>\r\n <div class=\"page-container-title\" *ngIf=\"title\">{{ title }}</div>\r\n <div class=\"page-container-custom-content\" *ngIf=\"customContentTpl\">\r\n <ng-container *ngTemplateOutlet=\"customContentTpl\"></ng-container>\r\n </div>\r\n <div class=\"page-container-header\" *ngIf=\"showHeader\" [ngStyle]=\"headerStyle\">\r\n <ng-container *ngTemplateOutlet=\"headerTpl\"></ng-container>\r\n </div>\r\n <div class=\"page-container-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-container *ngTemplateOutlet=\"bodyTpl\"></ng-container>\r\n </div>\r\n</nz-card>\r\n", styles: [".page-container-title{padding-left:8px;font-size:16px;color:#1d1d1d;margin-bottom:8px}.page-container-title:before{content:\"\";display:inline-block;width:2px;height:16px;position:relative;left:-8px;top:3px;background-color:#096dd9}.page-container-custom-content{box-sizing:border-box;padding:0 0 8px;min-width:0;overflow-x:hidden}.page-container-header{box-sizing:border-box;padding:12px 24px;background:#f4f4f5}.page-container-body{box-sizing:border-box;padding:8px 0 0}\n"] }]
|
|
19
19
|
}], ctorParameters: function () { return []; }, propDecorators: { title: [{
|
|
20
20
|
type: Input
|
|
21
21
|
}], showHeader: [{
|