atr-components 3.1.9 → 3.1.12
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/assets/no-image-placeholder.png +0 -0
- package/fesm2022/atr-components.mjs +1286 -1051
- package/fesm2022/atr-components.mjs.map +1 -1
- package/index.d.ts +174 -108
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_animations from '@angular/animations';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injector, PipeTransform, TemplateRef, SimpleChange, EventEmitter, OnInit, Renderer2, ViewContainerRef, ElementRef, OnChanges, SimpleChanges, OnDestroy, AfterViewInit, ChangeDetectorRef
|
|
3
|
+
import { Injector, PipeTransform, TemplateRef, SimpleChange, EventEmitter, OnInit, Renderer2, ViewContainerRef, ElementRef, OnChanges, SimpleChanges, OnDestroy, AfterViewInit, ChangeDetectorRef } from '@angular/core';
|
|
4
4
|
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpHeaders, HttpClient } from '@angular/common/http';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i1 from '@angular/common';
|
|
@@ -84,7 +84,7 @@ import * as i27$1 from '@angular/cdk/drag-drop';
|
|
|
84
84
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
85
85
|
import * as i34$1 from 'ng-zorro-antd/modal';
|
|
86
86
|
import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
|
|
87
|
-
import { ColDef, GridApi,
|
|
87
|
+
import { GridOptions, ColDef, RowSelectionOptions, GridApi, GetRowIdParams, GridReadyEvent, SortChangedEvent, SelectionChangedEvent, CellValueChangedEvent, RowDragEndEvent, ICellRendererParams } from 'ag-grid-community';
|
|
88
88
|
import * as i36$1 from 'ag-grid-angular';
|
|
89
89
|
import { ICellRendererAngularComp } from 'ag-grid-angular';
|
|
90
90
|
import * as i20$1 from 'ng-zorro-antd/color-picker';
|
|
@@ -137,6 +137,8 @@ declare const atr_static_datas: {
|
|
|
137
137
|
* oss地址前缀
|
|
138
138
|
*/
|
|
139
139
|
OSS_URL: string;
|
|
140
|
+
/** 图片加载失败时使用的静态资源地址;宿主可覆盖。 */
|
|
141
|
+
errImg: string;
|
|
140
142
|
/**
|
|
141
143
|
* 静态地址
|
|
142
144
|
*/
|
|
@@ -334,6 +336,7 @@ declare interface Table {
|
|
|
334
336
|
defaultVal?: any;
|
|
335
337
|
sortKey?: string;
|
|
336
338
|
cellRenderer?: any;
|
|
339
|
+
cellRendererParams?: any;
|
|
337
340
|
sortable?: boolean;
|
|
338
341
|
type: 'textcolor' | 'fixedText' | 'text' | 'link' | 'action' | 'image' | 'date' | 'dateTime' | 'sDateTime' | 'dict' | 'innerHtml' | 'image64' | 'tempRef';
|
|
339
342
|
dictCode?: string;
|
|
@@ -413,6 +416,8 @@ declare interface TableAction {
|
|
|
413
416
|
declare interface FormAction {
|
|
414
417
|
name: string;
|
|
415
418
|
code: string;
|
|
419
|
+
value?: any;
|
|
420
|
+
item?: any;
|
|
416
421
|
}
|
|
417
422
|
declare interface Dict {
|
|
418
423
|
id: string;
|
|
@@ -943,7 +948,7 @@ declare class AtrErrorImgDirective {
|
|
|
943
948
|
elementRef: ElementRef;
|
|
944
949
|
errorImagSrc: string;
|
|
945
950
|
constructor(elementRef: ElementRef);
|
|
946
|
-
ImageError(
|
|
951
|
+
ImageError(image: HTMLImageElement | null): void;
|
|
947
952
|
static ɵfac: i0.ɵɵFactoryDeclaration<AtrErrorImgDirective, never>;
|
|
948
953
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AtrErrorImgDirective, "[atrErrorImg]", never, { "errorImagSrc": { "alias": "atrErrorImg"; "required": false; }; }, {}, never, never, true, never>;
|
|
949
954
|
}
|
|
@@ -1011,23 +1016,41 @@ declare class ImgCanvasComponent implements OnInit, AfterViewInit {
|
|
|
1011
1016
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImgCanvasComponent, "app-img", never, { "needTime": { "alias": "needTime"; "required": false; }; "url": { "alias": "url"; "required": false; }; "clipArr": { "alias": "clipArr"; "required": false; }; "rotateNum": { "alias": "rotateNum"; "required": false; }; "needContextmenu": { "alias": "needContextmenu"; "required": false; }; }, { "loadOver": "loadOver"; }, never, ["*"], false, never>;
|
|
1012
1017
|
}
|
|
1013
1018
|
|
|
1014
|
-
declare class TableFormItemComponent implements
|
|
1019
|
+
declare class TableFormItemComponent implements ControlValueAccessor {
|
|
1015
1020
|
header: AtrQueryHeader | any;
|
|
1016
|
-
value:
|
|
1017
|
-
dictList: any;
|
|
1021
|
+
value: any;
|
|
1022
|
+
dictList: any[] | null | undefined;
|
|
1018
1023
|
headerAction: EventEmitter<TableAction>;
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1024
|
+
disabled: boolean;
|
|
1025
|
+
readonly modelOptions: {
|
|
1026
|
+
standalone: boolean;
|
|
1027
|
+
};
|
|
1028
|
+
onChangeListener: (value: any) => void;
|
|
1029
|
+
onTouchedListener: () => void;
|
|
1030
|
+
get options(): any[];
|
|
1031
|
+
get checkboxOptions(): {
|
|
1032
|
+
label: string;
|
|
1033
|
+
value: any;
|
|
1034
|
+
disabled?: boolean;
|
|
1035
|
+
}[];
|
|
1036
|
+
get isMultiple(): boolean;
|
|
1037
|
+
get hasValue(): boolean;
|
|
1038
|
+
get showTime(): boolean | {
|
|
1039
|
+
nzFormat: string;
|
|
1040
|
+
};
|
|
1041
|
+
get dateFormat(): string;
|
|
1042
|
+
private getTimeFormat;
|
|
1043
|
+
optionLabel(option: any): string;
|
|
1044
|
+
optionValue(option: any): any;
|
|
1045
|
+
writeValue(value: any): void;
|
|
1046
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
1047
|
+
registerOnTouched(fn: () => void): void;
|
|
1048
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1049
|
+
markTouched(): void;
|
|
1050
|
+
onChange(value?: any): void;
|
|
1051
|
+
clearValue(event?: Event): void;
|
|
1029
1052
|
selectChange(value: any, item: any): void;
|
|
1030
|
-
clickIcon(value: any, item: AtrQueryHeader,
|
|
1053
|
+
clickIcon(value: any, item: AtrQueryHeader, event: Event): void;
|
|
1031
1054
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableFormItemComponent, never>;
|
|
1032
1055
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableFormItemComponent, "app-table-form-item", never, { "header": { "alias": "header"; "required": false; }; "value": { "alias": "value"; "required": false; }; "dictList": { "alias": "dictList"; "required": false; }; }, { "headerAction": "headerAction"; }, never, never, false, never>;
|
|
1033
1056
|
}
|
|
@@ -1404,7 +1427,7 @@ declare class ViewFormComponent implements OnInit {
|
|
|
1404
1427
|
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>;
|
|
1405
1428
|
}
|
|
1406
1429
|
|
|
1407
|
-
declare class EditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
1430
|
+
declare class EditorComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
1408
1431
|
private uploadOssService;
|
|
1409
1432
|
apiKey_editor: string;
|
|
1410
1433
|
value: any;
|
|
@@ -1414,7 +1437,9 @@ declare class EditorComponent implements ControlValueAccessor, AfterViewInit, On
|
|
|
1414
1437
|
onChangeListener: any;
|
|
1415
1438
|
onTouchedListener: any;
|
|
1416
1439
|
initialized: boolean;
|
|
1440
|
+
private defaultEditorConfig;
|
|
1417
1441
|
constructor(uploadOssService: UploadOssService);
|
|
1442
|
+
ngOnInit(): void;
|
|
1418
1443
|
ngAfterViewInit(): void;
|
|
1419
1444
|
uploadOss(blobInfo: any): Promise<string>;
|
|
1420
1445
|
writeValue(value: string): void;
|
|
@@ -1427,7 +1452,7 @@ declare class EditorComponent implements ControlValueAccessor, AfterViewInit, On
|
|
|
1427
1452
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "app-editor", never, { "value": { "alias": "value"; "required": false; }; "editorConfig": { "alias": "editorConfig"; "required": false; }; "imgDir": { "alias": "imgDir"; "required": false; }; }, {}, never, never, false, never>;
|
|
1428
1453
|
}
|
|
1429
1454
|
|
|
1430
|
-
declare class AtrGridTableComponent implements OnInit, AfterViewInit {
|
|
1455
|
+
declare class AtrGridTableComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
1431
1456
|
private fb;
|
|
1432
1457
|
private ossImgPipe;
|
|
1433
1458
|
private defaultValPipe;
|
|
@@ -1436,124 +1461,165 @@ declare class AtrGridTableComponent implements OnInit, AfterViewInit {
|
|
|
1436
1461
|
private injector;
|
|
1437
1462
|
private locale;
|
|
1438
1463
|
private cd;
|
|
1439
|
-
columnDefs: ColDef[];
|
|
1440
|
-
dictMap: any;
|
|
1441
|
-
rowSelection: any;
|
|
1442
|
-
gridApi: GridApi | null;
|
|
1443
|
-
viewInitOver: boolean;
|
|
1444
|
-
tableWidth: number;
|
|
1445
|
-
tableHeight: string;
|
|
1446
|
-
scrollX: number;
|
|
1447
|
-
id: number;
|
|
1448
|
-
scrollSize: any;
|
|
1449
|
-
isCollapse: boolean;
|
|
1450
|
-
atrForm: UntypedFormGroup | any;
|
|
1451
|
-
dicts: any;
|
|
1452
|
-
pageIndex: number;
|
|
1453
|
-
total: number;
|
|
1454
1464
|
pageSize: number;
|
|
1455
1465
|
pageSizeOptions: number[];
|
|
1456
1466
|
loading: boolean;
|
|
1457
1467
|
allowDrag: boolean;
|
|
1458
1468
|
showQueryTime: boolean;
|
|
1459
|
-
tableDatas: any;
|
|
1460
|
-
visibleTables: Table[];
|
|
1461
|
-
isAllDisplayDataChecked: boolean;
|
|
1462
|
-
isIndeterminate: boolean;
|
|
1463
|
-
numberOfChecked: number;
|
|
1464
|
-
mapOfCheckedId: {
|
|
1465
|
-
[key: string]: boolean;
|
|
1466
|
-
};
|
|
1467
|
-
curChecked: number;
|
|
1468
|
-
imagePrefix: string;
|
|
1469
|
-
defaultParams: {};
|
|
1470
1469
|
isHideTable: boolean;
|
|
1471
|
-
isAllLoad: boolean;
|
|
1472
|
-
sortMap: {
|
|
1473
|
-
[key: string]: any;
|
|
1474
|
-
};
|
|
1475
|
-
rowSpanMap: any;
|
|
1476
|
-
headerDefaultVal: any;
|
|
1477
1470
|
sortKey: string;
|
|
1478
1471
|
queryOpts: AtrQueyrOpt | any;
|
|
1479
1472
|
showPagination: boolean;
|
|
1480
1473
|
title: string;
|
|
1481
|
-
queryHeaders: null;
|
|
1474
|
+
queryHeaders: json | null;
|
|
1475
|
+
rowKey: string;
|
|
1476
|
+
gridOptions: GridOptions;
|
|
1482
1477
|
tableAction: EventEmitter<TableAction>;
|
|
1483
1478
|
queryBack: EventEmitter<TableAction>;
|
|
1484
1479
|
headerAction: EventEmitter<TableAction>;
|
|
1485
|
-
tableHeader
|
|
1486
|
-
tableContent: ElementRef
|
|
1480
|
+
tableHeader?: ElementRef<HTMLElement>;
|
|
1481
|
+
tableContent: ElementRef<HTMLElement>;
|
|
1482
|
+
columnDefs: ColDef[];
|
|
1483
|
+
defaultColDef: ColDef;
|
|
1484
|
+
resolvedGridOptions: GridOptions;
|
|
1485
|
+
cellSpanEnabled: boolean;
|
|
1486
|
+
rowSelection: RowSelectionOptions;
|
|
1487
|
+
gridApi: GridApi | null;
|
|
1488
|
+
dictMap: Record<string, Record<string, string>>;
|
|
1489
|
+
dicts: Record<string, any[]>;
|
|
1490
|
+
atrForm: UntypedFormGroup;
|
|
1491
|
+
searchHeaders: AtrQueryHeader[];
|
|
1492
|
+
headerDefaultVal: json;
|
|
1493
|
+
defaultParams: json;
|
|
1494
|
+
tableDatas: any[];
|
|
1495
|
+
visibleTables: Table[];
|
|
1496
|
+
sortMap: Record<string, 'asc' | 'desc' | null>;
|
|
1497
|
+
rowSpanMap: Record<string, Record<number, {
|
|
1498
|
+
num: number;
|
|
1499
|
+
}>>;
|
|
1500
|
+
mapOfCheckedId: Record<string, boolean>;
|
|
1501
|
+
numberOfChecked: number;
|
|
1502
|
+
isAllDisplayDataChecked: boolean;
|
|
1503
|
+
isIndeterminate: boolean;
|
|
1504
|
+
curChecked: number;
|
|
1505
|
+
pageIndex: number;
|
|
1506
|
+
total: number;
|
|
1507
|
+
isCollapse: boolean;
|
|
1508
|
+
isAllLoad: boolean;
|
|
1509
|
+
viewInitOver: boolean;
|
|
1510
|
+
tableWidth: number;
|
|
1511
|
+
tableHeight: string;
|
|
1512
|
+
queryTime: string;
|
|
1513
|
+
queryError: string;
|
|
1514
|
+
imagePrefix: string;
|
|
1515
|
+
scrollX: number;
|
|
1516
|
+
scrollSize: {
|
|
1517
|
+
x: string;
|
|
1518
|
+
y: string;
|
|
1519
|
+
};
|
|
1520
|
+
resizeDirection: NzResizeDirection | null;
|
|
1521
|
+
id: number;
|
|
1522
|
+
widthId: ReturnType<typeof setTimeout> | undefined;
|
|
1523
|
+
private initialized;
|
|
1524
|
+
private viewReady;
|
|
1525
|
+
private destroyed;
|
|
1526
|
+
private configRevision;
|
|
1527
|
+
private columnRevision;
|
|
1528
|
+
private requestRevision;
|
|
1529
|
+
private querySubscription?;
|
|
1530
|
+
private resizeObserver?;
|
|
1531
|
+
private readonly destroy$;
|
|
1532
|
+
private readonly pendingDictionaries;
|
|
1533
|
+
private readonly loadedDictionaries;
|
|
1534
|
+
private readonly fallbackRowIds;
|
|
1535
|
+
private nextRowId;
|
|
1536
|
+
private suppressSelectionEvents;
|
|
1537
|
+
private columnTables;
|
|
1487
1538
|
constructor(fb: UntypedFormBuilder, ossImgPipe: OssImgPipe, defaultValPipe: DefaultValPipe, datePipe: DatePipe, viewContainerRef: ViewContainerRef, injector: Injector, locale: string, cd: ChangeDetectorRef);
|
|
1539
|
+
get actions(): TableAction[];
|
|
1540
|
+
get tables(): Table[];
|
|
1541
|
+
get visibleHeaderCount(): number;
|
|
1542
|
+
get hasMoreHeaders(): boolean;
|
|
1543
|
+
isHeaderVisible(header: AtrQueryHeader, index: number): boolean;
|
|
1544
|
+
get enableCellSpan(): boolean;
|
|
1545
|
+
ngOnInit(): void;
|
|
1546
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1547
|
+
ngAfterViewInit(): void;
|
|
1548
|
+
private initializeGrid;
|
|
1549
|
+
private configureGrid;
|
|
1488
1550
|
initTableHeader(): Promise<void>;
|
|
1551
|
+
refreshColumns(): Promise<void>;
|
|
1552
|
+
transColumnDefs(tableItem: Table): Promise<ColDef>;
|
|
1553
|
+
createTemplateCellRenderer(template: TemplateRef<any>, tableItem: Table): any;
|
|
1489
1554
|
updateTableHeight(): void;
|
|
1490
|
-
|
|
1555
|
+
getRowId: (params: GetRowIdParams) => string;
|
|
1556
|
+
private getDataId;
|
|
1557
|
+
getRowStyle: NonNullable<GridOptions['getRowStyle']>;
|
|
1491
1558
|
onGridReady(event: GridReadyEvent): void;
|
|
1559
|
+
onSortChanged(event: SortChangedEvent): void;
|
|
1492
1560
|
onSelectionChanged(event: SelectionChangedEvent): void;
|
|
1561
|
+
private syncSelection;
|
|
1493
1562
|
getSelectedRows(): any[];
|
|
1494
|
-
transColumnDefs(tableItem: Table): Promise<ColDef>;
|
|
1495
|
-
createTemplateCellRenderer(template: TemplateRef<any>, tableItem: Table): {
|
|
1496
|
-
new (): {
|
|
1497
|
-
eGui: HTMLSpanElement;
|
|
1498
|
-
viewRef: EmbeddedViewRef<any> | null;
|
|
1499
|
-
init(params: ICellRendererParams): void;
|
|
1500
|
-
getGui(): HTMLElement;
|
|
1501
|
-
refresh(params: ICellRendererParams): boolean;
|
|
1502
|
-
destroy(): void;
|
|
1503
|
-
render(params: ICellRendererParams): void;
|
|
1504
|
-
};
|
|
1505
|
-
};
|
|
1506
|
-
getImageList(value: any, defaultVal: any): any;
|
|
1507
|
-
onResize({ width, height, direction }: NzResizeEvent, item: any): void;
|
|
1508
|
-
ngAfterViewInit(): void;
|
|
1509
|
-
ngOnInit(): void;
|
|
1510
|
-
isShowColor(data: any): any;
|
|
1511
|
-
dbclickData(data: any, rowNo: number): void;
|
|
1512
|
-
doActionByRow2(e: any): void;
|
|
1513
|
-
private get httpService();
|
|
1514
|
-
private get nzContextMenuService();
|
|
1515
|
-
widthId: any;
|
|
1516
|
-
resizeDirection: NzResizeDirection | null;
|
|
1517
|
-
setTableLoadding(loadding: boolean): void;
|
|
1518
|
-
isEnable(operator: string): boolean;
|
|
1519
|
-
isShowBtn(data: any, operator: string, action?: TableAction): boolean;
|
|
1520
|
-
checkIsShowBase(op: any, data: any): boolean;
|
|
1521
|
-
compare(value: any, operator: any, target: any): boolean;
|
|
1522
|
-
pushTableDatas(tableDatas: any): void;
|
|
1523
|
-
removeDatas(key: any, value: any): void;
|
|
1524
|
-
uploadAction(e: any, action: any): void;
|
|
1525
|
-
doAction(code: any): void;
|
|
1526
|
-
doActionByRow(data: any, code: any, event: MouseEvent): void;
|
|
1527
|
-
getAllCheckInfo(): any[];
|
|
1528
1563
|
getAllCheckDatas(): any[];
|
|
1564
|
+
getAllCheckInfo(): any[];
|
|
1529
1565
|
checkAll(value: boolean): void;
|
|
1530
1566
|
refreshStatus(): void;
|
|
1567
|
+
private isSelectable;
|
|
1531
1568
|
selectRow(data: any, rowNo: number): void;
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1569
|
+
doAction(code: any): void;
|
|
1570
|
+
doActionByRow(data: any, code: any, event?: MouseEvent): void;
|
|
1571
|
+
doActionByRow2(e: any): void;
|
|
1572
|
+
dbclickData(data: any, rowNo: number): void;
|
|
1573
|
+
onCellValueChanged(event: CellValueChangedEvent): void;
|
|
1574
|
+
isShowColor(data: any): string;
|
|
1575
|
+
isShowBtn(data: any, operator?: string, action?: TableAction): boolean;
|
|
1576
|
+
checkIsShowBase(op: any, data: any): boolean;
|
|
1577
|
+
compare(value: any, operator: any, target: any): boolean;
|
|
1578
|
+
isEnable(operator?: string): boolean;
|
|
1579
|
+
initHeader(): Promise<void>;
|
|
1580
|
+
private loadDictionary;
|
|
1581
|
+
getDictValue(code: string): Promise<any[]>;
|
|
1582
|
+
getDicList(item: AtrQueryHeader): Promise<void>;
|
|
1583
|
+
setFormValue(key: string, value: any): void;
|
|
1539
1584
|
resetForm(): void;
|
|
1585
|
+
toggleCollapse(): void;
|
|
1540
1586
|
selectChange(value: any, item: any): void;
|
|
1541
|
-
clickIcon(value: any, item: AtrQueryHeader,
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1587
|
+
clickIcon(value: any, item: AtrQueryHeader, event: any): void;
|
|
1588
|
+
uploadAction(event: any, action: TableAction): void;
|
|
1589
|
+
getQueryParams(reset?: boolean): json;
|
|
1590
|
+
getHederType(key: string, typeKey?: string): any;
|
|
1591
|
+
setDefaultParams(params: json, reset?: boolean): void;
|
|
1545
1592
|
getSortInfo(): string;
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1593
|
+
private parseSort;
|
|
1594
|
+
sort(sortName: string, value: any): void;
|
|
1595
|
+
PageSizeChange(size: number): void;
|
|
1596
|
+
PageIndexChange(page: number): void;
|
|
1597
|
+
private normalizePagination;
|
|
1598
|
+
setDates(response: any): void;
|
|
1599
|
+
private applyData;
|
|
1551
1600
|
query(reset?: boolean): void;
|
|
1552
|
-
|
|
1601
|
+
private handleQueryError;
|
|
1602
|
+
private cancelQuery;
|
|
1603
|
+
setTableLoadding(loading: boolean): void;
|
|
1604
|
+
pushTableDatas(rows: any[]): void;
|
|
1605
|
+
removeDatas(key: string, value: any): void;
|
|
1606
|
+
getImageList(value: any, defaultVal: any): string[];
|
|
1553
1607
|
refreshVisibleTables(): void;
|
|
1554
|
-
|
|
1608
|
+
setColumnVisible(key: string, visible: boolean): void;
|
|
1609
|
+
exportCsv(fileName?: string): void;
|
|
1610
|
+
getRowSpan(): void;
|
|
1611
|
+
checkShowTd(item: Table, index: number): boolean;
|
|
1612
|
+
canDragRows(): boolean;
|
|
1613
|
+
onRowDragEnd(event: RowDragEndEvent): void;
|
|
1614
|
+
drop(event: CdkDragDrop<any[]>): void;
|
|
1615
|
+
private reorderRows;
|
|
1616
|
+
onResize(event: NzResizeEvent, item: Table): void;
|
|
1617
|
+
contextMenu(event: any, menu: NzDropdownMenuComponent): void;
|
|
1618
|
+
private get httpService();
|
|
1619
|
+
private get dictService();
|
|
1620
|
+
ngOnDestroy(): void;
|
|
1555
1621
|
static ɵfac: i0.ɵɵFactoryDeclaration<AtrGridTableComponent, never>;
|
|
1556
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtrGridTableComponent, "atr-grid-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>;
|
|
1622
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AtrGridTableComponent, "atr-grid-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; }; "rowKey": { "alias": "rowKey"; "required": false; }; "gridOptions": { "alias": "gridOptions"; "required": false; }; }, { "tableAction": "tableAction"; "queryBack": "queryBack"; "headerAction": "headerAction"; }, never, ["[header-left-slot]", "[header-right-slot]", "[button-left-slot]", "[button-right-slot]"], false, never>;
|
|
1557
1623
|
}
|
|
1558
1624
|
|
|
1559
1625
|
interface BtnTdParams extends ICellRendererParams {
|