atr-components 3.0.5 → 3.0.7
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/fesm2022/atr-components.mjs +105 -94
- package/fesm2022/atr-components.mjs.map +1 -1
- package/index.d.ts +19 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ import * as i61 from 'ng-zorro-antd/upload';
|
|
|
69
69
|
import { NzUploadChangeParam, NzUploadFile, NzUploadXHRArgs } from 'ng-zorro-antd/upload';
|
|
70
70
|
import * as i62 from 'ng-zorro-antd/core/wave';
|
|
71
71
|
import * as i19$1 from 'ng-zorro-antd/resizable';
|
|
72
|
-
import {
|
|
72
|
+
import { NzResizeEvent, NzResizeDirection } from 'ng-zorro-antd/resizable';
|
|
73
73
|
import * as i15$1 from '@angular/forms';
|
|
74
74
|
import { ControlValueAccessor, UntypedFormGroup, UntypedFormBuilder, ValidatorFn } from '@angular/forms';
|
|
75
75
|
import * as i65 from 'ng-zorro-antd/image';
|
|
@@ -327,7 +327,7 @@ declare interface Table {
|
|
|
327
327
|
type: 'textcolor' | 'fixedText' | 'text' | 'link' | 'action' | 'image' | 'date' | 'dateTime' | 'sDateTime' | 'dict' | 'innerHtml' | 'image64' | 'tempRef';
|
|
328
328
|
dictCode?: string;
|
|
329
329
|
isShow?: boolean;
|
|
330
|
-
width
|
|
330
|
+
width: number;
|
|
331
331
|
actions?: TableAction[];
|
|
332
332
|
isRowSpan?: boolean;
|
|
333
333
|
isRight?: boolean;
|
|
@@ -1042,9 +1042,14 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
|
|
|
1042
1042
|
private injector;
|
|
1043
1043
|
private locale;
|
|
1044
1044
|
private cd;
|
|
1045
|
-
|
|
1046
|
-
|
|
1045
|
+
viewInitOver: boolean;
|
|
1046
|
+
tableWidth: number;
|
|
1047
|
+
tableHeight: number;
|
|
1048
|
+
scrollX: number;
|
|
1049
|
+
id: number;
|
|
1050
|
+
scrollSize: any;
|
|
1047
1051
|
isCollapse: boolean;
|
|
1052
|
+
atrForm: UntypedFormGroup | any;
|
|
1048
1053
|
dicts: any;
|
|
1049
1054
|
pageIndex: number;
|
|
1050
1055
|
total: number;
|
|
@@ -1054,7 +1059,6 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
|
|
|
1054
1059
|
allowDrag: boolean;
|
|
1055
1060
|
showQueryTime: boolean;
|
|
1056
1061
|
tableDatas: any;
|
|
1057
|
-
scrollSize: any;
|
|
1058
1062
|
isAllDisplayDataChecked: boolean;
|
|
1059
1063
|
isIndeterminate: boolean;
|
|
1060
1064
|
numberOfChecked: number;
|
|
@@ -1078,8 +1082,15 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
|
|
|
1078
1082
|
tableAction: EventEmitter<TableAction>;
|
|
1079
1083
|
queryBack: EventEmitter<TableAction>;
|
|
1080
1084
|
headerAction: EventEmitter<TableAction>;
|
|
1085
|
+
tableHeader: ElementRef | any;
|
|
1086
|
+
pageFooter: ElementRef | any;
|
|
1081
1087
|
tableContent: ElementRef | any;
|
|
1088
|
+
basicTable: ElementRef | any;
|
|
1082
1089
|
constructor(fb: UntypedFormBuilder, injector: Injector, locale: string, cd: ChangeDetectorRef);
|
|
1090
|
+
onResize({ width, height, direction }: NzResizeEvent, item: any): void;
|
|
1091
|
+
ngAfterViewInit(): void;
|
|
1092
|
+
ngOnInit(): void;
|
|
1093
|
+
initWidth(): void;
|
|
1083
1094
|
isShowColor(data: any): any;
|
|
1084
1095
|
dbclickData(data: any, rowNo: number): void;
|
|
1085
1096
|
doActionByRow2(e: any): void;
|
|
@@ -1088,7 +1099,6 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
|
|
|
1088
1099
|
widthId: any;
|
|
1089
1100
|
resizeDirection: NzResizeDirection | null;
|
|
1090
1101
|
setTableLoadding(loadding: boolean): void;
|
|
1091
|
-
onResize({ width, height, direction }: NzResizeEvent, col: string): void;
|
|
1092
1102
|
isEnable(operator: string): boolean;
|
|
1093
1103
|
isShowBtn(data: any, operator: string, action?: TableAction): boolean;
|
|
1094
1104
|
checkIsShowBase(op: any, data: any): boolean;
|
|
@@ -1102,10 +1112,8 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
|
|
|
1102
1112
|
checkAll(value: boolean): void;
|
|
1103
1113
|
refreshStatus(): void;
|
|
1104
1114
|
selectRow(data: any, rowNo: number): void;
|
|
1105
|
-
ngOnInit(): void;
|
|
1106
1115
|
initHeader(): void;
|
|
1107
1116
|
getDicList(item: any): void;
|
|
1108
|
-
ngAfterViewInit(): void;
|
|
1109
1117
|
sort(sortName: string, value: any): void;
|
|
1110
1118
|
private get dictService();
|
|
1111
1119
|
getDictValue(code: string): void;
|
|
@@ -1119,6 +1127,8 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
|
|
|
1119
1127
|
setDefaultParams(params: any, reset?: boolean): void;
|
|
1120
1128
|
getSortInfo(): string;
|
|
1121
1129
|
queryTime: string;
|
|
1130
|
+
PageSizeChange(e: any): void;
|
|
1131
|
+
PageIndexChange(e: any): void;
|
|
1122
1132
|
query(reset?: boolean): void;
|
|
1123
1133
|
contextMenu($event: any, menu: NzDropdownMenuComponent): void;
|
|
1124
1134
|
log(value: string[]): void;
|
|
@@ -1127,7 +1137,7 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
|
|
|
1127
1137
|
getRowSpan(): void;
|
|
1128
1138
|
drop(event: CdkDragDrop<string[]>): void;
|
|
1129
1139
|
static ɵfac: i0.ɵɵFactoryDeclaration<AtrTableComponent, never>;
|
|
1130
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtrTableComponent, "atr-table", never, { "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "allowDrag": { "alias": "allowDrag"; "required": false; }; "showQueryTime": { "alias": "showQueryTime"; "required": false; }; "isHideTable": { "alias": "isHideTable"; "required": false; }; "queryOpts": { "alias": "queryOpts"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "title": { "alias": "title"; "required": false; }; "queryHeaders": { "alias": "queryHeaders"; "required": false; }; }, { "tableAction": "tableAction"; "queryBack": "queryBack"; "headerAction": "headerAction"; }, never, ["[header-left-slot]", "[header-right-slot]", "[button-left-slot]", "[button-right-slot]"
|
|
1140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AtrTableComponent, "atr-table", never, { "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "allowDrag": { "alias": "allowDrag"; "required": false; }; "showQueryTime": { "alias": "showQueryTime"; "required": false; }; "isHideTable": { "alias": "isHideTable"; "required": false; }; "queryOpts": { "alias": "queryOpts"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "title": { "alias": "title"; "required": false; }; "queryHeaders": { "alias": "queryHeaders"; "required": false; }; }, { "tableAction": "tableAction"; "queryBack": "queryBack"; "headerAction": "headerAction"; }, never, ["[header-left-slot]", "[header-right-slot]", "[button-left-slot]", "[button-right-slot]"], false, never>;
|
|
1131
1141
|
}
|
|
1132
1142
|
|
|
1133
1143
|
declare class UploadComponent implements OnInit {
|