atr-components 3.0.26 → 3.0.28

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
@@ -660,6 +660,7 @@ declare class AtrReuseStrategy implements RouteReuseStrategy {
660
660
  /** 使用route的path作为快照的key */
661
661
  getRouteUrl(route: any): any;
662
662
  static deleteAll(): void;
663
+ static deletePath(key: any): void;
663
664
  }
664
665
 
665
666
  declare class ToolsUtil {
@@ -1083,6 +1084,7 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
1083
1084
  };
1084
1085
  rowSpanMap: any;
1085
1086
  headerDefaultVal: any;
1087
+ sortKey: string;
1086
1088
  queryOpts: AtrQueyrOpt | any;
1087
1089
  showPagination: boolean;
1088
1090
  title: string;
@@ -1147,7 +1149,7 @@ declare class AtrTableComponent implements OnInit, AfterViewInit {
1147
1149
  getRowSpan(): void;
1148
1150
  drop(event: CdkDragDrop<string[]>): void;
1149
1151
  static ɵfac: i0.ɵɵFactoryDeclaration<AtrTableComponent, never>;
1150
- 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>;
1152
+ 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; }; "sortKey": { "alias": "sortKey"; "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>;
1151
1153
  }
1152
1154
 
1153
1155
  declare class UploadComponent implements OnInit {
@@ -1220,6 +1222,7 @@ declare class AtrFormComponent implements OnInit {
1220
1222
  formAction: EventEmitter<FormAction>;
1221
1223
  uploadAction: EventEmitter<any>;
1222
1224
  viewTitle: string;
1225
+ viewSize: 'default' | 'middle' | 'small';
1223
1226
  constructor(shareService: ShareService, httpService: HttpService, fb: UntypedFormBuilder, dictService: DictService, injector: Injector, locale: string);
1224
1227
  resetLayout(item: any): void;
1225
1228
  selectChange(event: MouseEvent, item: any): void;
@@ -1245,7 +1248,7 @@ declare class AtrFormComponent implements OnInit {
1245
1248
  showTime(item: any): any;
1246
1249
  defNumFormat: (value: number) => string;
1247
1250
  static ɵfac: i0.ɵɵFactoryDeclaration<AtrFormComponent, never>;
1248
- static ɵcmp: i0.ɵɵComponentDeclaration<AtrFormComponent, "atr-form", never, { "formOpts": { "alias": "formOpts"; "required": false; }; "viewTitle": { "alias": "viewTitle"; "required": false; }; }, { "formAction": "formAction"; "uploadAction": "uploadAction"; }, never, ["*", "*"], false, never>;
1251
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtrFormComponent, "atr-form", never, { "formOpts": { "alias": "formOpts"; "required": false; }; "viewTitle": { "alias": "viewTitle"; "required": false; }; "viewSize": { "alias": "viewSize"; "required": false; }; }, { "formAction": "formAction"; "uploadAction": "uploadAction"; }, never, ["*", "*"], false, never>;
1249
1252
  }
1250
1253
 
1251
1254
  declare class LocalUploadComponent implements OnInit {
@@ -1359,6 +1362,7 @@ declare class ViewFormComponent implements OnInit {
1359
1362
  atrForm: UntypedFormGroup | any;
1360
1363
  dicts: any;
1361
1364
  title: any;
1365
+ size: 'default' | 'middle' | 'small';
1362
1366
  set items(items: any);
1363
1367
  column: any;
1364
1368
  constructor(injector: Injector, locale: string, httpService: HttpService);
@@ -1371,7 +1375,7 @@ declare class ViewFormComponent implements OnInit {
1371
1375
  getTagLabel(value: any, key?: string): any;
1372
1376
  getImgs(imgs: any): any;
1373
1377
  static ɵfac: i0.ɵɵFactoryDeclaration<ViewFormComponent, never>;
1374
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewFormComponent, "atr-view-form", never, { "formOpts": { "alias": "formOpts"; "required": false; }; "atrForm": { "alias": "atrForm"; "required": false; }; "dicts": { "alias": "dicts"; "required": false; }; "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
1378
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewFormComponent, "atr-view-form", never, { "formOpts": { "alias": "formOpts"; "required": false; }; "atrForm": { "alias": "atrForm"; "required": false; }; "dicts": { "alias": "dicts"; "required": false; }; "title": { "alias": "title"; "required": false; }; "size": { "alias": "size"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
1375
1379
  }
1376
1380
 
1377
1381
  declare class EditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atr-components",
3
- "version": "3.0.26",
3
+ "version": "3.0.28",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^20.3.15",
6
6
  "echarts": "^5.4.3"