atr-components 3.1.10 → 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 +1284 -1051
- package/fesm2022/atr-components.mjs.map +1 -1
- package/index.d.ts +172 -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;
|
|
@@ -945,7 +948,7 @@ declare class AtrErrorImgDirective {
|
|
|
945
948
|
elementRef: ElementRef;
|
|
946
949
|
errorImagSrc: string;
|
|
947
950
|
constructor(elementRef: ElementRef);
|
|
948
|
-
ImageError(
|
|
951
|
+
ImageError(image: HTMLImageElement | null): void;
|
|
949
952
|
static ɵfac: i0.ɵɵFactoryDeclaration<AtrErrorImgDirective, never>;
|
|
950
953
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AtrErrorImgDirective, "[atrErrorImg]", never, { "errorImagSrc": { "alias": "atrErrorImg"; "required": false; }; }, {}, never, never, true, never>;
|
|
951
954
|
}
|
|
@@ -1013,23 +1016,41 @@ declare class ImgCanvasComponent implements OnInit, AfterViewInit {
|
|
|
1013
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>;
|
|
1014
1017
|
}
|
|
1015
1018
|
|
|
1016
|
-
declare class TableFormItemComponent implements
|
|
1019
|
+
declare class TableFormItemComponent implements ControlValueAccessor {
|
|
1017
1020
|
header: AtrQueryHeader | any;
|
|
1018
|
-
value:
|
|
1019
|
-
dictList: any;
|
|
1021
|
+
value: any;
|
|
1022
|
+
dictList: any[] | null | undefined;
|
|
1020
1023
|
headerAction: EventEmitter<TableAction>;
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
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;
|
|
1031
1052
|
selectChange(value: any, item: any): void;
|
|
1032
|
-
clickIcon(value: any, item: AtrQueryHeader,
|
|
1053
|
+
clickIcon(value: any, item: AtrQueryHeader, event: Event): void;
|
|
1033
1054
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableFormItemComponent, never>;
|
|
1034
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>;
|
|
1035
1056
|
}
|
|
@@ -1406,7 +1427,7 @@ declare class ViewFormComponent implements OnInit {
|
|
|
1406
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>;
|
|
1407
1428
|
}
|
|
1408
1429
|
|
|
1409
|
-
declare class EditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
1430
|
+
declare class EditorComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
|
|
1410
1431
|
private uploadOssService;
|
|
1411
1432
|
apiKey_editor: string;
|
|
1412
1433
|
value: any;
|
|
@@ -1416,7 +1437,9 @@ declare class EditorComponent implements ControlValueAccessor, AfterViewInit, On
|
|
|
1416
1437
|
onChangeListener: any;
|
|
1417
1438
|
onTouchedListener: any;
|
|
1418
1439
|
initialized: boolean;
|
|
1440
|
+
private defaultEditorConfig;
|
|
1419
1441
|
constructor(uploadOssService: UploadOssService);
|
|
1442
|
+
ngOnInit(): void;
|
|
1420
1443
|
ngAfterViewInit(): void;
|
|
1421
1444
|
uploadOss(blobInfo: any): Promise<string>;
|
|
1422
1445
|
writeValue(value: string): void;
|
|
@@ -1429,7 +1452,7 @@ declare class EditorComponent implements ControlValueAccessor, AfterViewInit, On
|
|
|
1429
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>;
|
|
1430
1453
|
}
|
|
1431
1454
|
|
|
1432
|
-
declare class AtrGridTableComponent implements OnInit, AfterViewInit {
|
|
1455
|
+
declare class AtrGridTableComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
1433
1456
|
private fb;
|
|
1434
1457
|
private ossImgPipe;
|
|
1435
1458
|
private defaultValPipe;
|
|
@@ -1438,124 +1461,165 @@ declare class AtrGridTableComponent implements OnInit, AfterViewInit {
|
|
|
1438
1461
|
private injector;
|
|
1439
1462
|
private locale;
|
|
1440
1463
|
private cd;
|
|
1441
|
-
columnDefs: ColDef[];
|
|
1442
|
-
dictMap: any;
|
|
1443
|
-
rowSelection: any;
|
|
1444
|
-
gridApi: GridApi | null;
|
|
1445
|
-
viewInitOver: boolean;
|
|
1446
|
-
tableWidth: number;
|
|
1447
|
-
tableHeight: string;
|
|
1448
|
-
scrollX: number;
|
|
1449
|
-
id: number;
|
|
1450
|
-
scrollSize: any;
|
|
1451
|
-
isCollapse: boolean;
|
|
1452
|
-
atrForm: UntypedFormGroup | any;
|
|
1453
|
-
dicts: any;
|
|
1454
|
-
pageIndex: number;
|
|
1455
|
-
total: number;
|
|
1456
1464
|
pageSize: number;
|
|
1457
1465
|
pageSizeOptions: number[];
|
|
1458
1466
|
loading: boolean;
|
|
1459
1467
|
allowDrag: boolean;
|
|
1460
1468
|
showQueryTime: boolean;
|
|
1461
|
-
tableDatas: any;
|
|
1462
|
-
visibleTables: Table[];
|
|
1463
|
-
isAllDisplayDataChecked: boolean;
|
|
1464
|
-
isIndeterminate: boolean;
|
|
1465
|
-
numberOfChecked: number;
|
|
1466
|
-
mapOfCheckedId: {
|
|
1467
|
-
[key: string]: boolean;
|
|
1468
|
-
};
|
|
1469
|
-
curChecked: number;
|
|
1470
|
-
imagePrefix: string;
|
|
1471
|
-
defaultParams: {};
|
|
1472
1469
|
isHideTable: boolean;
|
|
1473
|
-
isAllLoad: boolean;
|
|
1474
|
-
sortMap: {
|
|
1475
|
-
[key: string]: any;
|
|
1476
|
-
};
|
|
1477
|
-
rowSpanMap: any;
|
|
1478
|
-
headerDefaultVal: any;
|
|
1479
1470
|
sortKey: string;
|
|
1480
1471
|
queryOpts: AtrQueyrOpt | any;
|
|
1481
1472
|
showPagination: boolean;
|
|
1482
1473
|
title: string;
|
|
1483
|
-
queryHeaders: null;
|
|
1474
|
+
queryHeaders: json | null;
|
|
1475
|
+
rowKey: string;
|
|
1476
|
+
gridOptions: GridOptions;
|
|
1484
1477
|
tableAction: EventEmitter<TableAction>;
|
|
1485
1478
|
queryBack: EventEmitter<TableAction>;
|
|
1486
1479
|
headerAction: EventEmitter<TableAction>;
|
|
1487
|
-
tableHeader
|
|
1488
|
-
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;
|
|
1489
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;
|
|
1490
1550
|
initTableHeader(): Promise<void>;
|
|
1551
|
+
refreshColumns(): Promise<void>;
|
|
1552
|
+
transColumnDefs(tableItem: Table): Promise<ColDef>;
|
|
1553
|
+
createTemplateCellRenderer(template: TemplateRef<any>, tableItem: Table): any;
|
|
1491
1554
|
updateTableHeight(): void;
|
|
1492
|
-
|
|
1555
|
+
getRowId: (params: GetRowIdParams) => string;
|
|
1556
|
+
private getDataId;
|
|
1557
|
+
getRowStyle: NonNullable<GridOptions['getRowStyle']>;
|
|
1493
1558
|
onGridReady(event: GridReadyEvent): void;
|
|
1559
|
+
onSortChanged(event: SortChangedEvent): void;
|
|
1494
1560
|
onSelectionChanged(event: SelectionChangedEvent): void;
|
|
1561
|
+
private syncSelection;
|
|
1495
1562
|
getSelectedRows(): any[];
|
|
1496
|
-
transColumnDefs(tableItem: Table): Promise<ColDef>;
|
|
1497
|
-
createTemplateCellRenderer(template: TemplateRef<any>, tableItem: Table): {
|
|
1498
|
-
new (): {
|
|
1499
|
-
eGui: HTMLSpanElement;
|
|
1500
|
-
viewRef: EmbeddedViewRef<any> | null;
|
|
1501
|
-
init(params: ICellRendererParams): void;
|
|
1502
|
-
getGui(): HTMLElement;
|
|
1503
|
-
refresh(params: ICellRendererParams): boolean;
|
|
1504
|
-
destroy(): void;
|
|
1505
|
-
render(params: ICellRendererParams): void;
|
|
1506
|
-
};
|
|
1507
|
-
};
|
|
1508
|
-
getImageList(value: any, defaultVal: any): any;
|
|
1509
|
-
onResize({ width, height, direction }: NzResizeEvent, item: any): void;
|
|
1510
|
-
ngAfterViewInit(): void;
|
|
1511
|
-
ngOnInit(): void;
|
|
1512
|
-
isShowColor(data: any): any;
|
|
1513
|
-
dbclickData(data: any, rowNo: number): void;
|
|
1514
|
-
doActionByRow2(e: any): void;
|
|
1515
|
-
private get httpService();
|
|
1516
|
-
private get nzContextMenuService();
|
|
1517
|
-
widthId: any;
|
|
1518
|
-
resizeDirection: NzResizeDirection | null;
|
|
1519
|
-
setTableLoadding(loadding: boolean): void;
|
|
1520
|
-
isEnable(operator: string): boolean;
|
|
1521
|
-
isShowBtn(data: any, operator: string, action?: TableAction): boolean;
|
|
1522
|
-
checkIsShowBase(op: any, data: any): boolean;
|
|
1523
|
-
compare(value: any, operator: any, target: any): boolean;
|
|
1524
|
-
pushTableDatas(tableDatas: any): void;
|
|
1525
|
-
removeDatas(key: any, value: any): void;
|
|
1526
|
-
uploadAction(e: any, action: any): void;
|
|
1527
|
-
doAction(code: any): void;
|
|
1528
|
-
doActionByRow(data: any, code: any, event: MouseEvent): void;
|
|
1529
|
-
getAllCheckInfo(): any[];
|
|
1530
1563
|
getAllCheckDatas(): any[];
|
|
1564
|
+
getAllCheckInfo(): any[];
|
|
1531
1565
|
checkAll(value: boolean): void;
|
|
1532
1566
|
refreshStatus(): void;
|
|
1567
|
+
private isSelectable;
|
|
1533
1568
|
selectRow(data: any, rowNo: number): void;
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
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;
|
|
1541
1584
|
resetForm(): void;
|
|
1585
|
+
toggleCollapse(): void;
|
|
1542
1586
|
selectChange(value: any, item: any): void;
|
|
1543
|
-
clickIcon(value: any, item: AtrQueryHeader,
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
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;
|
|
1547
1592
|
getSortInfo(): string;
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
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;
|
|
1553
1600
|
query(reset?: boolean): void;
|
|
1554
|
-
|
|
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[];
|
|
1555
1607
|
refreshVisibleTables(): void;
|
|
1556
|
-
|
|
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;
|
|
1557
1621
|
static ɵfac: i0.ɵɵFactoryDeclaration<AtrGridTableComponent, never>;
|
|
1558
|
-
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>;
|
|
1559
1623
|
}
|
|
1560
1624
|
|
|
1561
1625
|
interface BtnTdParams extends ICellRendererParams {
|