@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
|
@@ -19,7 +19,10 @@ export declare class ProTableComponent implements OnInit, AfterContentInit {
|
|
|
19
19
|
clearBtnText: string;
|
|
20
20
|
labelWidth: string;
|
|
21
21
|
labelAlign: string;
|
|
22
|
-
|
|
22
|
+
private _searchColCount;
|
|
23
|
+
set searchColCount(value: number | null | undefined);
|
|
24
|
+
get searchColCount(): number;
|
|
25
|
+
get tableSearchColCount(): number | null;
|
|
23
26
|
dataSource: any[];
|
|
24
27
|
bordered: boolean;
|
|
25
28
|
outerBordered: boolean;
|
|
@@ -130,5 +133,5 @@ export declare class ProTableComponent implements OnInit, AfterContentInit {
|
|
|
130
133
|
getLabelTemplate(name: string | undefined): TemplateRef<any> | null;
|
|
131
134
|
getFormItemClassName(column: ProTableColumn): string;
|
|
132
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProTableComponent, [{ optional: true; }]>;
|
|
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; }; "
|
|
136
|
+
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; }; "searchColCount": { "alias": "searchColCount"; "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>;
|
|
134
137
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, OnInit, TemplateRef } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TableSearchBarComponent implements OnInit, AfterViewInit {
|
|
4
|
-
leftColSpan: number;
|
|
5
|
-
rightColSpan: number;
|
|
6
4
|
labelWidth: string;
|
|
7
5
|
labelAlign: string;
|
|
8
|
-
|
|
6
|
+
searchColCount: number | null;
|
|
9
7
|
leftContentTpl: TemplateRef<any>;
|
|
10
8
|
actionTextBtnTpl: TemplateRef<any>;
|
|
11
9
|
actionImgBtnTpl: TemplateRef<any>;
|
|
@@ -13,5 +11,5 @@ export declare class TableSearchBarComponent implements OnInit, AfterViewInit {
|
|
|
13
11
|
ngOnInit(): void;
|
|
14
12
|
ngAfterViewInit(): void;
|
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableSearchBarComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableSearchBarComponent, "app-table-search-bar", never, { "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableSearchBarComponent, "app-table-search-bar", never, { "labelWidth": { "alias": "labelWidth"; "required": false; }; "labelAlign": { "alias": "labelAlign"; "required": false; }; "searchColCount": { "alias": "searchColCount"; "required": false; }; }, {}, ["leftContentTpl", "actionTextBtnTpl", "actionImgBtnTpl"], never, false, never>;
|
|
17
15
|
}
|