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.
Files changed (113) hide show
  1. package/fesm2022/atr-components.mjs +218 -583
  2. package/fesm2022/atr-components.mjs.map +1 -1
  3. package/index.d.ts +1380 -5
  4. package/package.json +2 -4
  5. package/atr-components.module.d.ts +0 -9
  6. package/atr-public-api.d.ts +0 -53
  7. package/core/animations/animations.d.ts +0 -1
  8. package/core/animations/fly-in.d.ts +0 -1
  9. package/core/animations/scroll-screen.d.ts +0 -1
  10. package/core/auth/auth.guard.d.ts +0 -11
  11. package/core/base/atr-common.d.ts +0 -362
  12. package/core/directive/Infinite-scroll.directive.d.ts +0 -12
  13. package/core/directive/debounce-click.directive.d.ts +0 -14
  14. package/core/directive/error-img.directive.d.ts +0 -10
  15. package/core/directive/hq-spin.directive.d.ts +0 -13
  16. package/core/directive/role.directive.d.ts +0 -16
  17. package/core/interceptor/base.interceptor.d.ts +0 -17
  18. package/core/ngz-module/cus-zorro-antd.module.d.ts +0 -75
  19. package/core/pipe/china-num.pipe.d.ts +0 -7
  20. package/core/pipe/count.pipe.d.ts +0 -7
  21. package/core/pipe/day.pipe.d.ts +0 -8
  22. package/core/pipe/defaultVal.pipe.d.ts +0 -7
  23. package/core/pipe/dicts.pipe.d.ts +0 -10
  24. package/core/pipe/image-pipe.pipe.d.ts +0 -8
  25. package/core/pipe/is-empty.pipe.d.ts +0 -7
  26. package/core/pipe/is-not-empty.pipe.d.ts +0 -7
  27. package/core/pipe/oss.pipe.d.ts +0 -7
  28. package/core/pipe/ossStatic.pipe.d.ts +0 -7
  29. package/core/pipe/pipe-module.module.d.ts +0 -21
  30. package/core/pipe/remove-html.pipe.d.ts +0 -10
  31. package/core/pipe/safe-compute.pipe.d.ts +0 -7
  32. package/core/pipe/safe-html.pipe.d.ts +0 -10
  33. package/core/pipe/safe-url.pipe.d.ts +0 -10
  34. package/core/routereuse/atr-reuse-strategy.d.ts +0 -19
  35. package/core/services/dict/dict.service.d.ts +0 -20
  36. package/core/services/http.service.d.ts +0 -31
  37. package/core/services/menu.service.d.ts +0 -30
  38. package/core/services/upload-oss.service.d.ts +0 -14
  39. package/core/utils/ToolsUtil.d.ts +0 -180
  40. package/core/utils/localstorage.util.d.ts +0 -15
  41. package/core/utils/sessionstorage.util.d.ts +0 -15
  42. package/esm2022/atr-components.mjs +0 -5
  43. package/esm2022/atr-components.module.mjs +0 -36
  44. package/esm2022/atr-public-api.mjs +0 -55
  45. package/esm2022/core/animations/animations.mjs +0 -10
  46. package/esm2022/core/animations/fly-in.mjs +0 -19
  47. package/esm2022/core/animations/scroll-screen.mjs +0 -23
  48. package/esm2022/core/auth/auth.guard.mjs +0 -37
  49. package/esm2022/core/base/atr-common.mjs +0 -48
  50. package/esm2022/core/directive/Infinite-scroll.directive.mjs +0 -36
  51. package/esm2022/core/directive/debounce-click.directive.mjs +0 -41
  52. package/esm2022/core/directive/error-img.directive.mjs +0 -31
  53. package/esm2022/core/directive/hq-spin.directive.mjs +0 -48
  54. package/esm2022/core/directive/role.directive.mjs +0 -69
  55. package/esm2022/core/interceptor/base.interceptor.mjs +0 -165
  56. package/esm2022/core/ngz-module/cus-zorro-antd.module.mjs +0 -292
  57. package/esm2022/core/pipe/china-num.pipe.mjs +0 -36
  58. package/esm2022/core/pipe/count.pipe.mjs +0 -34
  59. package/esm2022/core/pipe/day.pipe.mjs +0 -24
  60. package/esm2022/core/pipe/defaultVal.pipe.mjs +0 -23
  61. package/esm2022/core/pipe/dicts.pipe.mjs +0 -28
  62. package/esm2022/core/pipe/image-pipe.pipe.mjs +0 -17
  63. package/esm2022/core/pipe/is-empty.pipe.mjs +0 -20
  64. package/esm2022/core/pipe/is-not-empty.pipe.mjs +0 -17
  65. package/esm2022/core/pipe/oss.pipe.mjs +0 -17
  66. package/esm2022/core/pipe/ossStatic.pipe.mjs +0 -17
  67. package/esm2022/core/pipe/pipe-module.module.mjs +0 -78
  68. package/esm2022/core/pipe/remove-html.pipe.mjs +0 -21
  69. package/esm2022/core/pipe/safe-compute.pipe.mjs +0 -23
  70. package/esm2022/core/pipe/safe-html.pipe.mjs +0 -20
  71. package/esm2022/core/pipe/safe-url.pipe.mjs +0 -20
  72. package/esm2022/core/routereuse/atr-reuse-strategy.mjs +0 -79
  73. package/esm2022/core/services/dict/dict.service.mjs +0 -152
  74. package/esm2022/core/services/http.service.mjs +0 -316
  75. package/esm2022/core/services/menu.service.mjs +0 -130
  76. package/esm2022/core/services/upload-oss.service.mjs +0 -74
  77. package/esm2022/core/utils/ToolsUtil.mjs +0 -622
  78. package/esm2022/core/utils/localstorage.util.mjs +0 -94
  79. package/esm2022/core/utils/sessionstorage.util.mjs +0 -73
  80. package/esm2022/lib/shared/atr-shared.module.mjs +0 -248
  81. package/esm2022/lib/shared/echarts/echarts.component.mjs +0 -77
  82. package/esm2022/lib/shared/form/form.component.mjs +0 -624
  83. package/esm2022/lib/shared/img-canvas/img-canvas.component.mjs +0 -132
  84. package/esm2022/lib/shared/local-upload/local-upload.component.mjs +0 -68
  85. package/esm2022/lib/shared/quill-editor/quill-editor.component.mjs +0 -254
  86. package/esm2022/lib/shared/select-icons/select-icons.component.mjs +0 -90
  87. package/esm2022/lib/shared/select-tree/select-tree.component.mjs +0 -55
  88. package/esm2022/lib/shared/service/busi.service.mjs +0 -69
  89. package/esm2022/lib/shared/share.service.mjs +0 -107
  90. package/esm2022/lib/shared/table/table-form-item/table-form-item.component.mjs +0 -96
  91. package/esm2022/lib/shared/table/table-td/table-td.component.mjs +0 -165
  92. package/esm2022/lib/shared/table/table.component.mjs +0 -766
  93. package/esm2022/lib/shared/upload/upload.component.mjs +0 -273
  94. package/esm2022/lib/shared/validators/atr-validtors.mjs +0 -9
  95. package/esm2022/lib/shared/video/video.component.mjs +0 -16
  96. package/esm2022/lib/shared/view-form/view-form.component.mjs +0 -186
  97. package/lib/shared/atr-shared.module.d.ts +0 -39
  98. package/lib/shared/echarts/echarts.component.d.ts +0 -34
  99. package/lib/shared/form/form.component.d.ts +0 -49
  100. package/lib/shared/img-canvas/img-canvas.component.d.ts +0 -28
  101. package/lib/shared/local-upload/local-upload.component.d.ts +0 -22
  102. package/lib/shared/quill-editor/quill-editor.component.d.ts +0 -45
  103. package/lib/shared/select-icons/select-icons.component.d.ts +0 -24
  104. package/lib/shared/select-tree/select-tree.component.d.ts +0 -23
  105. package/lib/shared/service/busi.service.d.ts +0 -20
  106. package/lib/shared/share.service.d.ts +0 -14
  107. package/lib/shared/table/table-form-item/table-form-item.component.d.ts +0 -25
  108. package/lib/shared/table/table-td/table-td.component.d.ts +0 -26
  109. package/lib/shared/table/table.component.d.ts +0 -94
  110. package/lib/shared/upload/upload.component.d.ts +0 -53
  111. package/lib/shared/validators/atr-validtors.d.ts +0 -2
  112. package/lib/shared/video/video.component.d.ts +0 -7
  113. 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,2 +0,0 @@
1
- import { ValidatorFn } from "@angular/forms";
2
- export declare function telphoneValidator(): ValidatorFn;
@@ -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
- }