atr-components 2.2.4 → 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/fesm2022/atr-components.mjs +218 -583
- package/fesm2022/atr-components.mjs.map +1 -1
- package/index.d.ts +1380 -5
- package/package.json +2 -4
- package/atr-components.module.d.ts +0 -9
- package/atr-public-api.d.ts +0 -53
- package/core/animations/animations.d.ts +0 -1
- package/core/animations/fly-in.d.ts +0 -1
- package/core/animations/scroll-screen.d.ts +0 -1
- package/core/auth/auth.guard.d.ts +0 -11
- package/core/base/atr-common.d.ts +0 -362
- package/core/directive/Infinite-scroll.directive.d.ts +0 -12
- package/core/directive/debounce-click.directive.d.ts +0 -14
- package/core/directive/error-img.directive.d.ts +0 -10
- package/core/directive/hq-spin.directive.d.ts +0 -13
- package/core/directive/role.directive.d.ts +0 -16
- package/core/interceptor/base.interceptor.d.ts +0 -17
- package/core/ngz-module/cus-zorro-antd.module.d.ts +0 -75
- package/core/pipe/china-num.pipe.d.ts +0 -7
- package/core/pipe/count.pipe.d.ts +0 -7
- package/core/pipe/day.pipe.d.ts +0 -8
- package/core/pipe/defaultVal.pipe.d.ts +0 -7
- package/core/pipe/dicts.pipe.d.ts +0 -10
- package/core/pipe/image-pipe.pipe.d.ts +0 -8
- package/core/pipe/is-empty.pipe.d.ts +0 -7
- package/core/pipe/is-not-empty.pipe.d.ts +0 -7
- package/core/pipe/oss.pipe.d.ts +0 -7
- package/core/pipe/ossStatic.pipe.d.ts +0 -7
- package/core/pipe/pipe-module.module.d.ts +0 -21
- package/core/pipe/remove-html.pipe.d.ts +0 -10
- package/core/pipe/safe-compute.pipe.d.ts +0 -7
- package/core/pipe/safe-html.pipe.d.ts +0 -10
- package/core/pipe/safe-url.pipe.d.ts +0 -10
- package/core/routereuse/atr-reuse-strategy.d.ts +0 -19
- package/core/services/dict/dict.service.d.ts +0 -20
- package/core/services/http.service.d.ts +0 -31
- package/core/services/menu.service.d.ts +0 -30
- package/core/services/upload-oss.service.d.ts +0 -14
- package/core/utils/ToolsUtil.d.ts +0 -180
- package/core/utils/localstorage.util.d.ts +0 -15
- package/core/utils/sessionstorage.util.d.ts +0 -15
- package/esm2022/atr-components.mjs +0 -5
- package/esm2022/atr-components.module.mjs +0 -36
- package/esm2022/atr-public-api.mjs +0 -55
- package/esm2022/core/animations/animations.mjs +0 -10
- package/esm2022/core/animations/fly-in.mjs +0 -19
- package/esm2022/core/animations/scroll-screen.mjs +0 -23
- package/esm2022/core/auth/auth.guard.mjs +0 -37
- package/esm2022/core/base/atr-common.mjs +0 -48
- package/esm2022/core/directive/Infinite-scroll.directive.mjs +0 -36
- package/esm2022/core/directive/debounce-click.directive.mjs +0 -41
- package/esm2022/core/directive/error-img.directive.mjs +0 -31
- package/esm2022/core/directive/hq-spin.directive.mjs +0 -48
- package/esm2022/core/directive/role.directive.mjs +0 -69
- package/esm2022/core/interceptor/base.interceptor.mjs +0 -165
- package/esm2022/core/ngz-module/cus-zorro-antd.module.mjs +0 -292
- package/esm2022/core/pipe/china-num.pipe.mjs +0 -36
- package/esm2022/core/pipe/count.pipe.mjs +0 -34
- package/esm2022/core/pipe/day.pipe.mjs +0 -24
- package/esm2022/core/pipe/defaultVal.pipe.mjs +0 -23
- package/esm2022/core/pipe/dicts.pipe.mjs +0 -28
- package/esm2022/core/pipe/image-pipe.pipe.mjs +0 -17
- package/esm2022/core/pipe/is-empty.pipe.mjs +0 -20
- package/esm2022/core/pipe/is-not-empty.pipe.mjs +0 -17
- package/esm2022/core/pipe/oss.pipe.mjs +0 -17
- package/esm2022/core/pipe/ossStatic.pipe.mjs +0 -17
- package/esm2022/core/pipe/pipe-module.module.mjs +0 -78
- package/esm2022/core/pipe/remove-html.pipe.mjs +0 -21
- package/esm2022/core/pipe/safe-compute.pipe.mjs +0 -23
- package/esm2022/core/pipe/safe-html.pipe.mjs +0 -20
- package/esm2022/core/pipe/safe-url.pipe.mjs +0 -20
- package/esm2022/core/routereuse/atr-reuse-strategy.mjs +0 -79
- package/esm2022/core/services/dict/dict.service.mjs +0 -152
- package/esm2022/core/services/http.service.mjs +0 -316
- package/esm2022/core/services/menu.service.mjs +0 -130
- package/esm2022/core/services/upload-oss.service.mjs +0 -74
- package/esm2022/core/utils/ToolsUtil.mjs +0 -622
- package/esm2022/core/utils/localstorage.util.mjs +0 -94
- package/esm2022/core/utils/sessionstorage.util.mjs +0 -73
- package/esm2022/lib/shared/atr-shared.module.mjs +0 -248
- package/esm2022/lib/shared/echarts/echarts.component.mjs +0 -77
- package/esm2022/lib/shared/form/form.component.mjs +0 -624
- package/esm2022/lib/shared/img-canvas/img-canvas.component.mjs +0 -132
- package/esm2022/lib/shared/local-upload/local-upload.component.mjs +0 -68
- package/esm2022/lib/shared/quill-editor/quill-editor.component.mjs +0 -254
- package/esm2022/lib/shared/select-icons/select-icons.component.mjs +0 -90
- package/esm2022/lib/shared/select-tree/select-tree.component.mjs +0 -55
- package/esm2022/lib/shared/service/busi.service.mjs +0 -69
- package/esm2022/lib/shared/share.service.mjs +0 -107
- package/esm2022/lib/shared/table/table-form-item/table-form-item.component.mjs +0 -96
- package/esm2022/lib/shared/table/table-td/table-td.component.mjs +0 -165
- package/esm2022/lib/shared/table/table.component.mjs +0 -766
- package/esm2022/lib/shared/upload/upload.component.mjs +0 -273
- package/esm2022/lib/shared/validators/atr-validtors.mjs +0 -9
- package/esm2022/lib/shared/video/video.component.mjs +0 -16
- package/esm2022/lib/shared/view-form/view-form.component.mjs +0 -186
- package/lib/shared/atr-shared.module.d.ts +0 -39
- package/lib/shared/echarts/echarts.component.d.ts +0 -34
- package/lib/shared/form/form.component.d.ts +0 -49
- package/lib/shared/img-canvas/img-canvas.component.d.ts +0 -28
- package/lib/shared/local-upload/local-upload.component.d.ts +0 -22
- package/lib/shared/quill-editor/quill-editor.component.d.ts +0 -45
- package/lib/shared/select-icons/select-icons.component.d.ts +0 -24
- package/lib/shared/select-tree/select-tree.component.d.ts +0 -23
- package/lib/shared/service/busi.service.d.ts +0 -20
- package/lib/shared/share.service.d.ts +0 -14
- package/lib/shared/table/table-form-item/table-form-item.component.d.ts +0 -25
- package/lib/shared/table/table-td/table-td.component.d.ts +0 -26
- package/lib/shared/table/table.component.d.ts +0 -94
- package/lib/shared/upload/upload.component.d.ts +0 -53
- package/lib/shared/validators/atr-validtors.d.ts +0 -2
- package/lib/shared/video/video.component.d.ts +0 -7
- package/lib/shared/view-form/view-form.component.d.ts +0 -27
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { OnInit, Injector, ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
|
|
3
|
-
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
|
4
|
-
import { NzDropdownMenuComponent } from 'ng-zorro-antd/dropdown';
|
|
5
|
-
import { AtrQueryHeader, AtrQueyrOpt, json, Table, TableAction } from "../../../core/base/atr-common";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AtrTableComponent implements OnInit {
|
|
8
|
-
private fb;
|
|
9
|
-
private injector;
|
|
10
|
-
private locale;
|
|
11
|
-
private cd;
|
|
12
|
-
atrForm: UntypedFormGroup | any;
|
|
13
|
-
isCollapse: boolean;
|
|
14
|
-
dicts: any;
|
|
15
|
-
pageIndex: number;
|
|
16
|
-
total: number;
|
|
17
|
-
pageSize: number;
|
|
18
|
-
pageSizeOptions: number[];
|
|
19
|
-
loading: boolean;
|
|
20
|
-
allowDrag: boolean;
|
|
21
|
-
showQueryTime: boolean;
|
|
22
|
-
tableDatas: any;
|
|
23
|
-
scrollSize: any;
|
|
24
|
-
isAllDisplayDataChecked: boolean;
|
|
25
|
-
isIndeterminate: boolean;
|
|
26
|
-
numberOfChecked: number;
|
|
27
|
-
mapOfCheckedId: {
|
|
28
|
-
[key: string]: boolean;
|
|
29
|
-
};
|
|
30
|
-
curChecked: number;
|
|
31
|
-
imagePrefix: string;
|
|
32
|
-
defaultParams: {};
|
|
33
|
-
isHideTable: boolean;
|
|
34
|
-
isAllLoad: boolean;
|
|
35
|
-
sortMap: {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
38
|
-
rowSpanMap: any;
|
|
39
|
-
headerDefaultVal: any;
|
|
40
|
-
queryOpts: AtrQueyrOpt | any;
|
|
41
|
-
showPagination: boolean;
|
|
42
|
-
title: string;
|
|
43
|
-
queryHeaders: null;
|
|
44
|
-
tableAction: EventEmitter<TableAction>;
|
|
45
|
-
queryBack: EventEmitter<TableAction>;
|
|
46
|
-
headerAction: EventEmitter<TableAction>;
|
|
47
|
-
tableContent: ElementRef | any;
|
|
48
|
-
constructor(fb: UntypedFormBuilder, injector: Injector, locale: string, cd: ChangeDetectorRef);
|
|
49
|
-
isShowColor(data: any): any;
|
|
50
|
-
dbclickData(data: any, rowNo: number): void;
|
|
51
|
-
doActionByRow2(e: any): void;
|
|
52
|
-
private get httpService();
|
|
53
|
-
private get nzContextMenuService();
|
|
54
|
-
setTableLoadding(loadding: boolean): void;
|
|
55
|
-
onResize(event: any, col: string): void;
|
|
56
|
-
isEnable(operator: string): boolean;
|
|
57
|
-
isShowBtn(data: any, operator: string, action?: TableAction): boolean;
|
|
58
|
-
checkIsShowBase(op: any, data: any): boolean;
|
|
59
|
-
compare(value: any, operator: any, target: any): boolean;
|
|
60
|
-
pushTableDatas(tableDatas: any): void;
|
|
61
|
-
removeDatas(key: any, value: any): void;
|
|
62
|
-
doAction(code: any): void;
|
|
63
|
-
doActionByRow(data: any, code: any, event: MouseEvent): void;
|
|
64
|
-
getAllCheckInfo(): any[];
|
|
65
|
-
getAllCheckDatas(): any[];
|
|
66
|
-
checkAll(value: boolean): void;
|
|
67
|
-
refreshStatus(): void;
|
|
68
|
-
selectRow(data: any, rowNo: number): void;
|
|
69
|
-
ngOnInit(): void;
|
|
70
|
-
initHeader(): void;
|
|
71
|
-
getDicList(item: any): void;
|
|
72
|
-
ngAfterViewInit(): void;
|
|
73
|
-
sort(sortName: string, value: any): void;
|
|
74
|
-
private get dictService();
|
|
75
|
-
getDictValue(code: string): void;
|
|
76
|
-
toggleCollapse(): void;
|
|
77
|
-
resetForm(): void;
|
|
78
|
-
selectChange(value: any, item: any): void;
|
|
79
|
-
clickIcon(value: any, item: AtrQueryHeader, $event: any): void;
|
|
80
|
-
getQueryParams(reset: boolean): json;
|
|
81
|
-
getHederType(cusKey: string, typeKey?: string): null;
|
|
82
|
-
setDefaultParams(params: any, reset?: boolean): void;
|
|
83
|
-
getSortInfo(): string;
|
|
84
|
-
queryTime: string;
|
|
85
|
-
query(reset?: boolean): void;
|
|
86
|
-
contextMenu($event: any, menu: NzDropdownMenuComponent): void;
|
|
87
|
-
log(value: string[]): void;
|
|
88
|
-
checkShowTd(item: Table, index: any): boolean;
|
|
89
|
-
checkRowSpan(item: Table, data: any): any;
|
|
90
|
-
getRowSpan(): void;
|
|
91
|
-
drop(event: CdkDragDrop<string[]>): void;
|
|
92
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AtrTableComponent, never>;
|
|
93
|
-
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]", "[slot1]"], false, never>;
|
|
94
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, Injector } from '@angular/core';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { NzModalRef, NzModalService } from 'ng-zorro-antd/modal';
|
|
4
|
-
import { NzUploadChangeParam, NzUploadFile, NzUploadXHRArgs } from 'ng-zorro-antd/upload';
|
|
5
|
-
import { ImageOpts } from "../../../core/base/atr-common";
|
|
6
|
-
import { NzImageService } from 'ng-zorro-antd/image';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class UploadComponent implements OnInit {
|
|
9
|
-
private injector;
|
|
10
|
-
private nzImageService;
|
|
11
|
-
private httpClient;
|
|
12
|
-
private modalService;
|
|
13
|
-
opts: ImageOpts | any;
|
|
14
|
-
isEdit: boolean;
|
|
15
|
-
allowChangSeq: boolean;
|
|
16
|
-
tplModal: NzModalRef | any;
|
|
17
|
-
uploadUrl: any;
|
|
18
|
-
uploadData: any;
|
|
19
|
-
showUploadList: boolean | {
|
|
20
|
-
showPreviewIcon?: boolean;
|
|
21
|
-
showRemoveIcon?: boolean;
|
|
22
|
-
showDownloadIcon?: boolean;
|
|
23
|
-
hidePreviewIconInNonImage?: boolean;
|
|
24
|
-
};
|
|
25
|
-
afterChange: EventEmitter<any>;
|
|
26
|
-
optsChange: EventEmitter<any>;
|
|
27
|
-
onBeforeUpload: EventEmitter<any>;
|
|
28
|
-
previewImage: string | any;
|
|
29
|
-
previewVisible: boolean;
|
|
30
|
-
changeVisible: boolean;
|
|
31
|
-
constructor(injector: Injector, nzImageService: NzImageService, httpClient: HttpClient, modalService: NzModalService);
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
getFileTyeIcon(fileType: string, fileName: string): string;
|
|
34
|
-
getThumbUrl(path: string): string;
|
|
35
|
-
getFileThumbUrl(type: string): string;
|
|
36
|
-
onChange(params: NzUploadChangeParam): void;
|
|
37
|
-
private get httpService();
|
|
38
|
-
handlePreview: (file: NzUploadFile) => void;
|
|
39
|
-
remove: (file: NzUploadFile) => boolean;
|
|
40
|
-
beforeUpload: (file: NzUploadFile, fileList: NzUploadFile[]) => any;
|
|
41
|
-
customReq: (item: NzUploadXHRArgs) => any;
|
|
42
|
-
openBannerSeq(tplContent: any, tplFooter: any): void;
|
|
43
|
-
destroyTplModal(): void;
|
|
44
|
-
arrowUp(index: any): void;
|
|
45
|
-
arrowDown(index: any): void;
|
|
46
|
-
saveSeq(): void;
|
|
47
|
-
dragnumber(numer: any): void;
|
|
48
|
-
delImg(numer: any): void;
|
|
49
|
-
priviewImg(img: any): void;
|
|
50
|
-
getImgUrl(img: any): any;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent, "atr-img-upload", never, { "opts": { "alias": "opts"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "allowChangSeq": { "alias": "allowChangSeq"; "required": false; }; "showUploadList": { "alias": "showUploadList"; "required": false; }; }, { "afterChange": "afterChange"; "optsChange": "optsChange"; "onBeforeUpload": "onBeforeUpload"; }, never, never, false, never>;
|
|
53
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class VideoComponent {
|
|
3
|
-
url: any;
|
|
4
|
-
constructor();
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VideoComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VideoComponent, "app-video", never, { "url": { "alias": "url"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnInit, Injector } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AtrFormOpt } from "../../../core/base/atr-common";
|
|
4
|
-
import { HttpService } from "../../../core/services/http.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ViewFormComponent implements OnInit {
|
|
7
|
-
private injector;
|
|
8
|
-
private locale;
|
|
9
|
-
private httpService;
|
|
10
|
-
formOpts: AtrFormOpt | any;
|
|
11
|
-
atrForm: UntypedFormGroup | any;
|
|
12
|
-
dicts: any;
|
|
13
|
-
title: any;
|
|
14
|
-
set items(items: any);
|
|
15
|
-
column: any;
|
|
16
|
-
constructor(injector: Injector, locale: string, httpService: HttpService);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
isShow(isHidden: any, operator: any): boolean;
|
|
19
|
-
checkIsShowBase(op: any): boolean;
|
|
20
|
-
compare(value: any, operator: any, target: any): boolean;
|
|
21
|
-
getSelectCLabel(value: any, arr: any, key?: string, valueKey?: string): any;
|
|
22
|
-
getSelectLabel(value: any, arr: any): any;
|
|
23
|
-
getTagLabel(value: any, key?: string): any;
|
|
24
|
-
getImgs(imgs: any): any;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewFormComponent, never>;
|
|
26
|
-
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>;
|
|
27
|
-
}
|