atr-components 3.0.1 → 3.0.3

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/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(event: any, col: string): void;
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;
@@ -1226,6 +1235,7 @@ declare class LocalUploadComponent implements OnInit {
1226
1235
  name: any;
1227
1236
  code: any;
1228
1237
  withoutRole: any;
1238
+ uploadType: string;
1229
1239
  afterChange: EventEmitter<any>;
1230
1240
  showList: any;
1231
1241
  constructor();
@@ -1236,7 +1246,7 @@ declare class LocalUploadComponent implements OnInit {
1236
1246
  };
1237
1247
  onChange(params: NzUploadChangeParam): void;
1238
1248
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalUploadComponent, never>;
1239
- static ɵcmp: i0.ɵɵComponentDeclaration<LocalUploadComponent, "atr-local-upload", never, { "beforeUpload": { "alias": "beforeUpload"; "required": false; }; "url": { "alias": "url"; "required": false; }; "nzAccept": { "alias": "nzAccept"; "required": false; }; "name": { "alias": "name"; "required": false; }; "code": { "alias": "code"; "required": false; }; "withoutRole": { "alias": "withoutRole"; "required": false; }; }, { "afterChange": "afterChange"; }, never, never, false, never>;
1249
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocalUploadComponent, "atr-local-upload", never, { "beforeUpload": { "alias": "beforeUpload"; "required": false; }; "url": { "alias": "url"; "required": false; }; "nzAccept": { "alias": "nzAccept"; "required": false; }; "name": { "alias": "name"; "required": false; }; "code": { "alias": "code"; "required": false; }; "withoutRole": { "alias": "withoutRole"; "required": false; }; "uploadType": { "alias": "uploadType"; "required": false; }; }, { "afterChange": "afterChange"; }, never, never, false, never>;
1240
1250
  }
1241
1251
 
1242
1252
  declare interface SelectTreeOpt {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atr-components",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^20.3.15",
6
6
  "echarts": "^5.4.3"