atr-components 3.0.1 → 3.0.2
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/README.md +24 -24
- package/fesm2022/atr-components.mjs +34 -14
- package/fesm2022/atr-components.mjs.map +1 -1
- package/index.d.ts +11 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -69,6 +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 { NzResizeDirection, NzResizeEvent } from 'ng-zorro-antd/resizable';
|
|
72
73
|
import * as i15$1 from '@angular/forms';
|
|
73
74
|
import { ControlValueAccessor, UntypedFormGroup, UntypedFormBuilder, ValidatorFn } from '@angular/forms';
|
|
74
75
|
import * as i65 from 'ng-zorro-antd/image';
|
|
@@ -868,13 +869,17 @@ declare class MenuService {
|
|
|
868
869
|
private data;
|
|
869
870
|
static menuChange: EventEmitter<Menu[]>;
|
|
870
871
|
static urlChange: EventEmitter<any>;
|
|
872
|
+
static urlLastParams: any;
|
|
871
873
|
private isLoadMenu;
|
|
872
874
|
constructor(httpService: HttpService);
|
|
875
|
+
delLastUrlParams(url: any): void;
|
|
876
|
+
getLastUrlParams(): any;
|
|
873
877
|
gotoUrl(routeParam: {
|
|
874
878
|
url: string;
|
|
875
879
|
paramUrl: string;
|
|
876
880
|
title?: string;
|
|
877
881
|
eqAllUrl?: boolean;
|
|
882
|
+
params?: any;
|
|
878
883
|
}): void;
|
|
879
884
|
getUrlChange(): any;
|
|
880
885
|
getCurMenu(url: string): Observable<Menu>;
|
|
@@ -1032,11 +1037,12 @@ declare class TableTdComponent implements OnInit {
|
|
|
1032
1037
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableTdComponent, "app-table-td", never, { "data": { "alias": "data"; "required": false; }; "item": { "alias": "item"; "required": false; }; "i": { "alias": "i"; "required": false; }; }, { "doActionByRowAction": "doActionByRowAction"; }, never, never, false, never>;
|
|
1033
1038
|
}
|
|
1034
1039
|
|
|
1035
|
-
declare class AtrTableComponent implements OnInit {
|
|
1040
|
+
declare class AtrTableComponent implements OnInit, AfterViewInit {
|
|
1036
1041
|
private fb;
|
|
1037
1042
|
private injector;
|
|
1038
1043
|
private locale;
|
|
1039
1044
|
private cd;
|
|
1045
|
+
tableWidth: string;
|
|
1040
1046
|
atrForm: UntypedFormGroup | any;
|
|
1041
1047
|
isCollapse: boolean;
|
|
1042
1048
|
dicts: any;
|
|
@@ -1079,8 +1085,10 @@ declare class AtrTableComponent implements OnInit {
|
|
|
1079
1085
|
doActionByRow2(e: any): void;
|
|
1080
1086
|
private get httpService();
|
|
1081
1087
|
private get nzContextMenuService();
|
|
1088
|
+
widthId: any;
|
|
1089
|
+
resizeDirection: NzResizeDirection | null;
|
|
1082
1090
|
setTableLoadding(loadding: boolean): void;
|
|
1083
|
-
onResize(
|
|
1091
|
+
onResize({ width, height, direction }: NzResizeEvent, col: string): void;
|
|
1084
1092
|
isEnable(operator: string): boolean;
|
|
1085
1093
|
isShowBtn(data: any, operator: string, action?: TableAction): boolean;
|
|
1086
1094
|
checkIsShowBase(op: any, data: any): boolean;
|
|
@@ -1102,6 +1110,7 @@ declare class AtrTableComponent implements OnInit {
|
|
|
1102
1110
|
private get dictService();
|
|
1103
1111
|
getDictValue(code: string): void;
|
|
1104
1112
|
toggleCollapse(): void;
|
|
1113
|
+
setFormValue(key: any, value: any): void;
|
|
1105
1114
|
resetForm(): void;
|
|
1106
1115
|
selectChange(value: any, item: any): void;
|
|
1107
1116
|
clickIcon(value: any, item: AtrQueryHeader, $event: any): void;
|