@yibozhang/pro-table 16.1.20 → 16.1.22
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 +9 -3
- package/esm2022/lib/pro-table.component.mjs +19 -5
- package/fesm2022/yibozhang-pro-table.mjs +26 -6
- package/fesm2022/yibozhang-pro-table.mjs.map +1 -1
- package/lib/page-container/page-container.component.d.ts +5 -1
- package/lib/pro-table.component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -6,10 +6,14 @@ export declare class PageContainerComponent implements OnInit {
|
|
|
6
6
|
bodyStyle: {
|
|
7
7
|
[key: string]: string | number;
|
|
8
8
|
};
|
|
9
|
+
headerStyle: {
|
|
10
|
+
[key: string]: string | number;
|
|
11
|
+
};
|
|
12
|
+
customContentTpl: TemplateRef<any>;
|
|
9
13
|
headerTpl: TemplateRef<any>;
|
|
10
14
|
bodyTpl: TemplateRef<any>;
|
|
11
15
|
constructor();
|
|
12
16
|
ngOnInit(): void;
|
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageContainerComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageContainerComponent, "app-page-container", never, { "title": { "alias": "title"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "bodyStyle": { "alias": "bodyStyle"; "required": false; }; }, {}, ["headerTpl", "bodyTpl"], never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageContainerComponent, "app-page-container", never, { "title": { "alias": "title"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "bodyStyle": { "alias": "bodyStyle"; "required": false; }; "headerStyle": { "alias": "headerStyle"; "required": false; }; }, {}, ["customContentTpl", "headerTpl", "bodyTpl"], never, false, never>;
|
|
15
19
|
}
|
|
@@ -7,6 +7,9 @@ export declare class ProTableComponent implements OnInit, AfterContentInit {
|
|
|
7
7
|
showSearchBtn: boolean;
|
|
8
8
|
showClearBtn: boolean;
|
|
9
9
|
title: string | null;
|
|
10
|
+
bodyStyle: {
|
|
11
|
+
[key: string]: string | number;
|
|
12
|
+
};
|
|
10
13
|
tableName: string;
|
|
11
14
|
multiRow: boolean;
|
|
12
15
|
columns: ProTableColumn[];
|
|
@@ -39,6 +42,7 @@ export declare class ProTableComponent implements OnInit, AfterContentInit {
|
|
|
39
42
|
onRowDbClick: EventEmitter<any>;
|
|
40
43
|
onValuesChange: EventEmitter<ProTableValuesChange>;
|
|
41
44
|
onResetFormBeforeReload: EventEmitter<any>;
|
|
45
|
+
customContentTpl: TemplateRef<any>;
|
|
42
46
|
actionBarTpl: TemplateRef<any>;
|
|
43
47
|
imgActionBarTpl: TemplateRef<any>;
|
|
44
48
|
allTemplates: QueryList<TemplateRef<any>>;
|
|
@@ -126,5 +130,5 @@ export declare class ProTableComponent implements OnInit, AfterContentInit {
|
|
|
126
130
|
getLabelTemplate(name: string | undefined): TemplateRef<any> | null;
|
|
127
131
|
getFormItemClassName(column: ProTableColumn): string;
|
|
128
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProTableComponent, [{ optional: true; }]>;
|
|
129
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProTableComponent, "app-pro-table", never, { "showSearchBtn": { "alias": "showSearchBtn"; "required": false; }; "showClearBtn": { "alias": "showClearBtn"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "multiRow": { "alias": "multiRow"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "showActionBar": { "alias": "showActionBar"; "required": false; }; "confirmBtnText": { "alias": "confirmBtnText"; "required": false; }; "clearBtnText": { "alias": "clearBtnText"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "labelAlign": { "alias": "labelAlign"; "required": false; }; "formItemWidth": { "alias": "formItemWidth"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "outerBordered": { "alias": "outerBordered"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "frontPagination": { "alias": "frontPagination"; "required": false; }; "scroll": { "alias": "scroll"; "required": false; }; "request": { "alias": "request"; "required": false; }; "summaryData": { "alias": "summaryData"; "required": false; }; "sortMode": { "alias": "sortMode"; "required": false; }; "showColumnSetting": { "alias": "showColumnSetting"; "required": false; }; "multipleSort": { "alias": "multipleSort"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "rowDisabled": { "alias": "rowDisabled"; "required": false; }; "autoTriggerRequest": { "alias": "autoTriggerRequest"; "required": false; }; "customTableRender": { "alias": "customTableRender"; "required": false; }; }, { "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "onValuesChange": "onValuesChange"; "onResetFormBeforeReload": "onResetFormBeforeReload"; }, ["actionBarTpl", "imgActionBarTpl", "allTemplates"], never, false, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProTableComponent, "app-pro-table", never, { "showSearchBtn": { "alias": "showSearchBtn"; "required": false; }; "showClearBtn": { "alias": "showClearBtn"; "required": false; }; "title": { "alias": "title"; "required": false; }; "bodyStyle": { "alias": "bodyStyle"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "multiRow": { "alias": "multiRow"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "showActionBar": { "alias": "showActionBar"; "required": false; }; "confirmBtnText": { "alias": "confirmBtnText"; "required": false; }; "clearBtnText": { "alias": "clearBtnText"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "labelAlign": { "alias": "labelAlign"; "required": false; }; "formItemWidth": { "alias": "formItemWidth"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "outerBordered": { "alias": "outerBordered"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "frontPagination": { "alias": "frontPagination"; "required": false; }; "scroll": { "alias": "scroll"; "required": false; }; "request": { "alias": "request"; "required": false; }; "summaryData": { "alias": "summaryData"; "required": false; }; "sortMode": { "alias": "sortMode"; "required": false; }; "showColumnSetting": { "alias": "showColumnSetting"; "required": false; }; "multipleSort": { "alias": "multipleSort"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "rowDisabled": { "alias": "rowDisabled"; "required": false; }; "autoTriggerRequest": { "alias": "autoTriggerRequest"; "required": false; }; "customTableRender": { "alias": "customTableRender"; "required": false; }; }, { "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "onValuesChange": "onValuesChange"; "onResetFormBeforeReload": "onResetFormBeforeReload"; }, ["customContentTpl", "actionBarTpl", "imgActionBarTpl", "allTemplates"], never, false, never>;
|
|
130
134
|
}
|