atr-components 0.2.417 → 2.0.1

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 (136) hide show
  1. package/atr-components.module.d.ts +9 -9
  2. package/atr-public-api.d.ts +53 -53
  3. package/core/animations/animations.d.ts +1 -1
  4. package/core/animations/fly-in.d.ts +1 -1
  5. package/core/animations/scroll-screen.d.ts +1 -1
  6. package/core/auth/auth.guard.d.ts +11 -11
  7. package/core/base/atr-common.d.ts +347 -347
  8. package/core/directive/error-img.directive.d.ts +10 -10
  9. package/core/directive/hq-spin.directive.d.ts +13 -13
  10. package/core/directive/role.directive.d.ts +16 -16
  11. package/core/interceptor/base.interceptor.d.ts +17 -17
  12. package/core/ngz-module/cus-zorro-antd.module.d.ts +75 -75
  13. package/core/pipe/china-num.pipe.d.ts +7 -7
  14. package/core/pipe/count.pipe.d.ts +7 -7
  15. package/core/pipe/day.pipe.d.ts +8 -8
  16. package/core/pipe/defaultVal.pipe.d.ts +7 -7
  17. package/core/pipe/dicts.pipe.d.ts +10 -10
  18. package/core/pipe/image-pipe.pipe.d.ts +8 -8
  19. package/core/pipe/is-empty.pipe.d.ts +7 -7
  20. package/core/pipe/is-not-empty.pipe.d.ts +7 -7
  21. package/core/pipe/oss.pipe.d.ts +7 -7
  22. package/core/pipe/ossStatic.pipe.d.ts +7 -7
  23. package/core/pipe/pipe-module.module.d.ts +21 -21
  24. package/core/pipe/remove-html.pipe.d.ts +10 -10
  25. package/core/pipe/safe-compute.pipe.d.ts +7 -7
  26. package/core/pipe/safe-html.pipe.d.ts +10 -10
  27. package/core/pipe/safe-url.pipe.d.ts +10 -10
  28. package/core/routereuse/atr-reuse-strategy.d.ts +19 -19
  29. package/core/services/dict/dict.service.d.ts +20 -20
  30. package/core/services/http.service.d.ts +31 -31
  31. package/core/services/menu.service.d.ts +29 -29
  32. package/core/services/upload-oss.service.d.ts +14 -14
  33. package/core/utils/ToolsUtil.d.ts +180 -180
  34. package/core/utils/localstorage.util.d.ts +15 -15
  35. package/core/utils/sessionstorage.util.d.ts +15 -15
  36. package/{esm2020 → esm2022}/atr-components.mjs +4 -4
  37. package/esm2022/atr-components.module.mjs +36 -0
  38. package/{esm2020 → esm2022}/atr-public-api.mjs +54 -54
  39. package/{esm2020 → esm2022}/core/animations/animations.mjs +9 -9
  40. package/{esm2020 → esm2022}/core/animations/fly-in.mjs +18 -18
  41. package/{esm2020 → esm2022}/core/animations/scroll-screen.mjs +22 -22
  42. package/{esm2020 → esm2022}/core/auth/auth.guard.mjs +37 -37
  43. package/esm2022/core/base/atr-common.mjs +47 -0
  44. package/{esm2020 → esm2022}/core/directive/error-img.directive.mjs +31 -31
  45. package/{esm2020 → esm2022}/core/directive/hq-spin.directive.mjs +48 -48
  46. package/esm2022/core/directive/role.directive.mjs +69 -0
  47. package/{esm2020 → esm2022}/core/interceptor/base.interceptor.mjs +165 -165
  48. package/{esm2020 → esm2022}/core/ngz-module/cus-zorro-antd.module.mjs +292 -292
  49. package/{esm2020 → esm2022}/core/pipe/china-num.pipe.mjs +36 -36
  50. package/{esm2020 → esm2022}/core/pipe/count.pipe.mjs +34 -34
  51. package/{esm2020 → esm2022}/core/pipe/day.pipe.mjs +24 -24
  52. package/{esm2020 → esm2022}/core/pipe/defaultVal.pipe.mjs +23 -23
  53. package/{esm2020 → esm2022}/core/pipe/dicts.pipe.mjs +28 -28
  54. package/{esm2020 → esm2022}/core/pipe/image-pipe.pipe.mjs +17 -17
  55. package/{esm2020 → esm2022}/core/pipe/is-empty.pipe.mjs +20 -20
  56. package/{esm2020 → esm2022}/core/pipe/is-not-empty.pipe.mjs +17 -17
  57. package/{esm2020 → esm2022}/core/pipe/oss.pipe.mjs +17 -17
  58. package/{esm2020 → esm2022}/core/pipe/ossStatic.pipe.mjs +17 -17
  59. package/esm2022/core/pipe/pipe-module.module.mjs +38 -0
  60. package/{esm2020 → esm2022}/core/pipe/remove-html.pipe.mjs +21 -21
  61. package/{esm2020 → esm2022}/core/pipe/safe-compute.pipe.mjs +23 -23
  62. package/{esm2020 → esm2022}/core/pipe/safe-html.pipe.mjs +20 -20
  63. package/{esm2020 → esm2022}/core/pipe/safe-url.pipe.mjs +20 -20
  64. package/esm2022/core/routereuse/atr-reuse-strategy.mjs +79 -0
  65. package/esm2022/core/services/dict/dict.service.mjs +152 -0
  66. package/{esm2020 → esm2022}/core/services/http.service.mjs +306 -306
  67. package/{esm2020 → esm2022}/core/services/menu.service.mjs +130 -130
  68. package/{esm2020 → esm2022}/core/services/upload-oss.service.mjs +74 -74
  69. package/esm2022/core/utils/ToolsUtil.mjs +622 -0
  70. package/{esm2020 → esm2022}/core/utils/localstorage.util.mjs +94 -94
  71. package/{esm2020 → esm2022}/core/utils/sessionstorage.util.mjs +72 -72
  72. package/{esm2020 → esm2022}/lib/hello/hello.component.mjs +15 -15
  73. package/esm2022/lib/hello/hello.module.mjs +20 -0
  74. package/esm2022/lib/shared/atr-shared.module.mjs +204 -0
  75. package/esm2022/lib/shared/echarts/echarts.component.mjs +77 -0
  76. package/esm2022/lib/shared/form/form.component.mjs +574 -0
  77. package/esm2022/lib/shared/img-canvas/img-canvas.component.mjs +132 -0
  78. package/esm2022/lib/shared/local-upload/local-upload.component.mjs +68 -0
  79. package/esm2022/lib/shared/quill-editor/quill-editor.component.mjs +248 -0
  80. package/esm2022/lib/shared/select-icons/select-icons.component.mjs +90 -0
  81. package/{esm2020 → esm2022}/lib/shared/select-tree/select-tree.component.mjs +55 -55
  82. package/{esm2020 → esm2022}/lib/shared/service/busi.service.mjs +69 -69
  83. package/{esm2020 → esm2022}/lib/shared/share.service.mjs +107 -107
  84. package/esm2022/lib/shared/table/table-form-item/table-form-item.component.mjs +96 -0
  85. package/esm2022/lib/shared/table/table-td/table-td.component.mjs +165 -0
  86. package/esm2022/lib/shared/table/table.component.mjs +749 -0
  87. package/{esm2020 → esm2022}/lib/shared/upload/upload.component.mjs +274 -274
  88. package/{esm2020 → esm2022}/lib/shared/validators/atr-validtors.mjs +8 -8
  89. package/esm2022/lib/shared/video/video.component.mjs +16 -0
  90. package/esm2022/lib/shared/view-form/view-form.component.mjs +181 -0
  91. package/{fesm2020 → fesm2022}/atr-components.mjs +5311 -5312
  92. package/fesm2022/atr-components.mjs.map +1 -0
  93. package/{atr-components.d.ts → index.d.ts} +5 -5
  94. package/lib/hello/hello.component.d.ts +8 -8
  95. package/lib/hello/hello.module.d.ts +8 -8
  96. package/lib/shared/atr-shared.module.d.ts +36 -33
  97. package/lib/shared/echarts/echarts.component.d.ts +34 -34
  98. package/lib/shared/form/form.component.d.ts +45 -45
  99. package/lib/shared/img-canvas/img-canvas.component.d.ts +28 -28
  100. package/lib/shared/local-upload/local-upload.component.d.ts +22 -22
  101. package/lib/shared/quill-editor/quill-editor.component.d.ts +45 -45
  102. package/lib/shared/select-icons/select-icons.component.d.ts +24 -24
  103. package/lib/shared/select-tree/select-tree.component.d.ts +23 -23
  104. package/lib/shared/service/busi.service.d.ts +20 -20
  105. package/lib/shared/share.service.d.ts +14 -14
  106. package/lib/shared/table/table-form-item/table-form-item.component.d.ts +25 -25
  107. package/lib/shared/table/table-td/table-td.component.d.ts +26 -26
  108. package/lib/shared/table/table.component.d.ts +94 -94
  109. package/lib/shared/upload/upload.component.d.ts +53 -53
  110. package/lib/shared/validators/atr-validtors.d.ts +2 -2
  111. package/lib/shared/video/video.component.d.ts +7 -7
  112. package/lib/shared/view-form/view-form.component.d.ts +28 -28
  113. package/package.json +14 -22
  114. package/esm2020/atr-components.module.mjs +0 -38
  115. package/esm2020/core/base/atr-common.mjs +0 -47
  116. package/esm2020/core/directive/role.directive.mjs +0 -69
  117. package/esm2020/core/pipe/pipe-module.module.mjs +0 -40
  118. package/esm2020/core/routereuse/atr-reuse-strategy.mjs +0 -79
  119. package/esm2020/core/services/dict/dict.service.mjs +0 -152
  120. package/esm2020/core/utils/ToolsUtil.mjs +0 -622
  121. package/esm2020/lib/hello/hello.module.mjs +0 -22
  122. package/esm2020/lib/shared/atr-shared.module.mjs +0 -199
  123. package/esm2020/lib/shared/echarts/echarts.component.mjs +0 -77
  124. package/esm2020/lib/shared/form/form.component.mjs +0 -574
  125. package/esm2020/lib/shared/img-canvas/img-canvas.component.mjs +0 -132
  126. package/esm2020/lib/shared/local-upload/local-upload.component.mjs +0 -68
  127. package/esm2020/lib/shared/quill-editor/quill-editor.component.mjs +0 -248
  128. package/esm2020/lib/shared/select-icons/select-icons.component.mjs +0 -90
  129. package/esm2020/lib/shared/table/table-form-item/table-form-item.component.mjs +0 -96
  130. package/esm2020/lib/shared/table/table-td/table-td.component.mjs +0 -165
  131. package/esm2020/lib/shared/table/table.component.mjs +0 -749
  132. package/esm2020/lib/shared/video/video.component.mjs +0 -15
  133. package/esm2020/lib/shared/view-form/view-form.component.mjs +0 -181
  134. package/fesm2015/atr-components.mjs +0 -5522
  135. package/fesm2015/atr-components.mjs.map +0 -1
  136. package/fesm2020/atr-components.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="atr-components" />
5
- export * from './atr-public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="atr-components" />
5
+ export * from './atr-public-api';
@@ -1,8 +1,8 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class HelloComponent implements OnInit {
4
- constructor();
5
- ngOnInit(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<HelloComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<HelloComponent, "atr-hello", never, {}, {}, never, never>;
8
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HelloComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HelloComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<HelloComponent, "atr-hello", never, {}, {}, never, never, false, never>;
8
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./hello.component";
3
- import * as i2 from "@angular/common";
4
- export declare class HelloModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<HelloModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<HelloModule, [typeof i1.HelloComponent], [typeof i2.CommonModule], [typeof i1.HelloComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<HelloModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./hello.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class HelloModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HelloModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HelloModule, [typeof i1.HelloComponent], [typeof i2.CommonModule], [typeof i1.HelloComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<HelloModule>;
8
+ }
@@ -1,33 +1,36 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./img-canvas/img-canvas.component";
3
- import * as i2 from "./quill-editor/quill-editor.component";
4
- import * as i3 from "./table/table-form-item/table-form-item.component";
5
- import * as i4 from "./table/table-td/table-td.component";
6
- import * as i5 from "./table/table.component";
7
- import * as i6 from "./upload/upload.component";
8
- import * as i7 from "./form/form.component";
9
- import * as i8 from "./local-upload/local-upload.component";
10
- import * as i9 from "./select-tree/select-tree.component";
11
- import * as i10 from "./video/video.component";
12
- import * as i11 from "./select-icons/select-icons.component";
13
- import * as i12 from "./echarts/echarts.component";
14
- import * as i13 from "./view-form/view-form.component";
15
- import * as i14 from "../../core/directive/role.directive";
16
- import * as i15 from "../../core/directive/error-img.directive";
17
- import * as i16 from "../../core/directive/hq-spin.directive";
18
- import * as i17 from "../../core/pipe/pipe-module.module";
19
- import * as i18 from "@angular/common";
20
- import * as i19 from "@angular/forms";
21
- import * as i20 from "@angular/router";
22
- import * as i21 from "../../core/ngz-module/cus-zorro-antd.module";
23
- import * as i22 from "ng-zorro-antd/resizable";
24
- import * as i23 from "ngx-videogular";
25
- import * as i24 from "@angular/cdk/drag-drop";
26
- import * as i25 from "ng2-dragula";
27
- import * as i26 from "../../atr-components.module";
28
- import * as i27 from "ngx-quill";
29
- export declare class AtrSharedModule {
30
- static ɵfac: i0.ɵɵFactoryDeclaration<AtrSharedModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<AtrSharedModule, [typeof i1.ImgCanvasComponent, typeof i2.QuillEditorComponent, typeof i3.TableFormItemComponent, typeof i4.TableTdComponent, typeof i5.AtrTableComponent, typeof i6.UploadComponent, typeof i7.AtrFormComponent, typeof i8.LocalUploadComponent, typeof i9.SelectTreeComponent, typeof i10.VideoComponent, typeof i11.SelectIconsComponent, typeof i12.EchartsComponent, typeof i13.ViewFormComponent, typeof i14.AtrRoleDirective, typeof i15.AtrErrorImgDirective, typeof i16.HqSpinDirective], [typeof i17.PipeModuleModule, typeof i18.CommonModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.RouterModule, typeof i21.CusNgZorroAntdModule, typeof i22.NzResizableModule, typeof i23.VgCoreModule, typeof i23.VgControlsModule, typeof i23.VgOverlayPlayModule, typeof i23.VgBufferingModule, typeof i24.DragDropModule, typeof i25.DragulaModule, typeof i26.AtrComponentsModule, typeof i27.QuillModule], [typeof i24.DragDropModule, typeof i18.CommonModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.RouterModule, typeof i21.CusNgZorroAntdModule, typeof i22.NzResizableModule, typeof i1.ImgCanvasComponent, typeof i2.QuillEditorComponent, typeof i3.TableFormItemComponent, typeof i4.TableTdComponent, typeof i5.AtrTableComponent, typeof i6.UploadComponent, typeof i7.AtrFormComponent, typeof i8.LocalUploadComponent, typeof i9.SelectTreeComponent, typeof i10.VideoComponent, typeof i11.SelectIconsComponent, typeof i12.EchartsComponent, typeof i13.ViewFormComponent, typeof i17.PipeModuleModule, typeof i14.AtrRoleDirective, typeof i15.AtrErrorImgDirective, typeof i16.HqSpinDirective]>;
32
- static ɵinj: i0.ɵɵInjectorDeclaration<AtrSharedModule>;
33
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./img-canvas/img-canvas.component";
3
+ import * as i2 from "./quill-editor/quill-editor.component";
4
+ import * as i3 from "./table/table-form-item/table-form-item.component";
5
+ import * as i4 from "./table/table-td/table-td.component";
6
+ import * as i5 from "./table/table.component";
7
+ import * as i6 from "./upload/upload.component";
8
+ import * as i7 from "./form/form.component";
9
+ import * as i8 from "./local-upload/local-upload.component";
10
+ import * as i9 from "./select-tree/select-tree.component";
11
+ import * as i10 from "./video/video.component";
12
+ import * as i11 from "./select-icons/select-icons.component";
13
+ import * as i12 from "./echarts/echarts.component";
14
+ import * as i13 from "./view-form/view-form.component";
15
+ import * as i14 from "../../core/directive/role.directive";
16
+ import * as i15 from "../../core/directive/error-img.directive";
17
+ import * as i16 from "../../core/directive/hq-spin.directive";
18
+ import * as i17 from "../../core/pipe/pipe-module.module";
19
+ import * as i18 from "@angular/common";
20
+ import * as i19 from "@angular/forms";
21
+ import * as i20 from "@angular/router";
22
+ import * as i21 from "../../core/ngz-module/cus-zorro-antd.module";
23
+ import * as i22 from "ng-zorro-antd/resizable";
24
+ import * as i23 from "@videogular/ngx-videogular/core";
25
+ import * as i24 from "@videogular/ngx-videogular/controls";
26
+ import * as i25 from "@videogular/ngx-videogular/overlay-play";
27
+ import * as i26 from "@videogular/ngx-videogular/buffering";
28
+ import * as i27 from "@angular/cdk/drag-drop";
29
+ import * as i28 from "ng2-dragula";
30
+ import * as i29 from "../../atr-components.module";
31
+ import * as i30 from "ngx-quill";
32
+ export declare class AtrSharedModule {
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtrSharedModule, never>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AtrSharedModule, [typeof i1.ImgCanvasComponent, typeof i2.QuillEditorComponent, typeof i3.TableFormItemComponent, typeof i4.TableTdComponent, typeof i5.AtrTableComponent, typeof i6.UploadComponent, typeof i7.AtrFormComponent, typeof i8.LocalUploadComponent, typeof i9.SelectTreeComponent, typeof i10.VideoComponent, typeof i11.SelectIconsComponent, typeof i12.EchartsComponent, typeof i13.ViewFormComponent, typeof i14.AtrRoleDirective, typeof i15.AtrErrorImgDirective, typeof i16.HqSpinDirective], [typeof i17.PipeModuleModule, typeof i18.CommonModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.RouterModule, typeof i21.CusNgZorroAntdModule, typeof i22.NzResizableModule, typeof i23.VgCoreModule, typeof i24.VgControlsModule, typeof i25.VgOverlayPlayModule, typeof i26.VgBufferingModule, typeof i27.DragDropModule, typeof i28.DragulaModule, typeof i29.AtrComponentsModule, typeof i30.QuillModule], [typeof i27.DragDropModule, typeof i18.CommonModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.RouterModule, typeof i21.CusNgZorroAntdModule, typeof i22.NzResizableModule, typeof i1.ImgCanvasComponent, typeof i2.QuillEditorComponent, typeof i3.TableFormItemComponent, typeof i4.TableTdComponent, typeof i5.AtrTableComponent, typeof i6.UploadComponent, typeof i7.AtrFormComponent, typeof i8.LocalUploadComponent, typeof i9.SelectTreeComponent, typeof i10.VideoComponent, typeof i11.SelectIconsComponent, typeof i12.EchartsComponent, typeof i13.ViewFormComponent, typeof i17.PipeModuleModule, typeof i14.AtrRoleDirective, typeof i15.AtrErrorImgDirective, typeof i16.HqSpinDirective]>;
35
+ static ɵinj: i0.ɵɵInjectorDeclaration<AtrSharedModule>;
36
+ }
@@ -1,34 +1,34 @@
1
- import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
2
- import { EChartsOption } from "../../../core/base/atr-common";
3
- import * as i0 from "@angular/core";
4
- export declare class EchartsComponent implements OnInit, AfterViewInit {
5
- echart: ElementRef;
6
- set userOption(userOption: EChartsOption);
7
- initOption(userOption: any, target: any): any;
8
- option: {
9
- xAxis: {
10
- type: string;
11
- data: string[];
12
- };
13
- yAxis: {
14
- type: string;
15
- minInterval: number;
16
- };
17
- series: {
18
- data: number[];
19
- type: string;
20
- showBackground: boolean;
21
- backgroundStyle: {
22
- color: string;
23
- };
24
- }[];
25
- };
26
- myEchart: any;
27
- width: string;
28
- height: string;
29
- constructor();
30
- ngOnInit(): void;
31
- ngAfterViewInit(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<EchartsComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<EchartsComponent, "app-echarts", never, { "userOption": "userOption"; "width": "width"; "height": "height"; }, {}, never, never>;
34
- }
1
+ import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
2
+ import { EChartsOption } from "../../../core/base/atr-common";
3
+ import * as i0 from "@angular/core";
4
+ export declare class EchartsComponent implements OnInit, AfterViewInit {
5
+ echart: ElementRef;
6
+ set userOption(userOption: EChartsOption);
7
+ initOption(userOption: any, target: any): any;
8
+ option: {
9
+ xAxis: {
10
+ type: string;
11
+ data: string[];
12
+ };
13
+ yAxis: {
14
+ type: string;
15
+ minInterval: number;
16
+ };
17
+ series: {
18
+ data: number[];
19
+ type: string;
20
+ showBackground: boolean;
21
+ backgroundStyle: {
22
+ color: string;
23
+ };
24
+ }[];
25
+ };
26
+ myEchart: any;
27
+ width: string;
28
+ height: string;
29
+ constructor();
30
+ ngOnInit(): void;
31
+ ngAfterViewInit(): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<EchartsComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<EchartsComponent, "app-echarts", never, { "userOption": { "alias": "userOption"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, false, never>;
34
+ }
@@ -1,45 +1,45 @@
1
- import { OnInit, Injector, EventEmitter } from '@angular/core';
2
- import { FormBuilder, FormGroup } from '@angular/forms';
3
- import { ShareService } from '../share.service';
4
- import { AtrFormDetail, AtrFormOpt, FormAction, formButton } from "../../../core/base/atr-common";
5
- import { DictService } from "../../../core/services/dict/dict.service";
6
- import { HttpService } from "../../../core/services/http.service";
7
- import * as i0 from "@angular/core";
8
- export declare class AtrFormComponent implements OnInit {
9
- private shareService;
10
- private httpService;
11
- private fb;
12
- private dictService;
13
- private injector;
14
- private locale;
15
- dicts: any;
16
- atrForm: FormGroup | any;
17
- formOpts: AtrFormOpt | any;
18
- formAction: EventEmitter<FormAction>;
19
- uploadAction: EventEmitter<any>;
20
- quillChange: EventEmitter<any>;
21
- constructor(shareService: ShareService, httpService: HttpService, fb: FormBuilder, dictService: DictService, injector: Injector, locale: string);
22
- resetLayout(item: any): void;
23
- selectChange(event: MouseEvent, item: any): void;
24
- formChange(event: any, item: any): void;
25
- doAction(item: formButton, event: MouseEvent): void;
26
- setValue(key: string, value: any): void;
27
- getDicList(item: any): void;
28
- conv(datas: any, keys: any): any;
29
- getCascaderDefaultValue(list: any, index: any, value: any): any;
30
- ngOnInit(): void;
31
- compare(value: any, operator: any, target: any): boolean;
32
- checkIsShowBase(op: any): boolean;
33
- isRequired(item: AtrFormDetail): string | boolean | undefined;
34
- isShow(isHidden: any, operator: any): boolean;
35
- getDictValue(code: string): void;
36
- imageUploadChange(e: any): void;
37
- onBeforeUpload(e: any, item: any): void;
38
- resetForm(): void;
39
- editChange(data: any, item: any): void;
40
- getFormValue(): any;
41
- getFormVaild(): any;
42
- showTime(item: any): any;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<AtrFormComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<AtrFormComponent, "atr-form", never, { "formOpts": "formOpts"; }, { "formAction": "formAction"; "uploadAction": "uploadAction"; "quillChange": "quillChange"; }, never, ["*", "*"]>;
45
- }
1
+ import { OnInit, Injector, EventEmitter } from '@angular/core';
2
+ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
+ import { ShareService } from '../share.service';
4
+ import { AtrFormDetail, AtrFormOpt, FormAction, formButton } from "../../../core/base/atr-common";
5
+ import { DictService } from "../../../core/services/dict/dict.service";
6
+ import { HttpService } from "../../../core/services/http.service";
7
+ import * as i0 from "@angular/core";
8
+ export declare class AtrFormComponent implements OnInit {
9
+ private shareService;
10
+ private httpService;
11
+ private fb;
12
+ private dictService;
13
+ private injector;
14
+ private locale;
15
+ dicts: any;
16
+ atrForm: UntypedFormGroup | any;
17
+ formOpts: AtrFormOpt | any;
18
+ formAction: EventEmitter<FormAction>;
19
+ uploadAction: EventEmitter<any>;
20
+ quillChange: EventEmitter<any>;
21
+ constructor(shareService: ShareService, httpService: HttpService, fb: UntypedFormBuilder, dictService: DictService, injector: Injector, locale: string);
22
+ resetLayout(item: any): void;
23
+ selectChange(event: MouseEvent, item: any): void;
24
+ formChange(event: any, item: any): void;
25
+ doAction(item: formButton, event: MouseEvent): void;
26
+ setValue(key: string, value: any): void;
27
+ getDicList(item: any): void;
28
+ conv(datas: any, keys: any): any;
29
+ getCascaderDefaultValue(list: any, index: any, value: any): any;
30
+ ngOnInit(): void;
31
+ compare(value: any, operator: any, target: any): boolean;
32
+ checkIsShowBase(op: any): boolean;
33
+ isRequired(item: AtrFormDetail): string | boolean | undefined;
34
+ isShow(isHidden: any, operator: any): boolean;
35
+ getDictValue(code: string): void;
36
+ imageUploadChange(e: any): void;
37
+ onBeforeUpload(e: any, item: any): void;
38
+ resetForm(): void;
39
+ editChange(data: any, item: any): void;
40
+ getFormValue(): any;
41
+ getFormVaild(): any;
42
+ showTime(item: any): any;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtrFormComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtrFormComponent, "atr-form", never, { "formOpts": { "alias": "formOpts"; "required": false; }; }, { "formAction": "formAction"; "uploadAction": "uploadAction"; "quillChange": "quillChange"; }, never, ["*", "*"], false, never>;
45
+ }
@@ -1,28 +1,28 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ImgCanvasComponent implements OnInit, AfterViewInit {
4
- private elementRef;
5
- needTime: boolean;
6
- set url(url: string);
7
- canvas1: any;
8
- canvasDom: any;
9
- width: number;
10
- height: number;
11
- imgUrl: any;
12
- img: any;
13
- clipArr: any[];
14
- rotateNum: any;
15
- loadOver: EventEmitter<any>;
16
- needContextmenu: boolean;
17
- constructor(elementRef: ElementRef);
18
- ngOnInit(): void;
19
- getCanvasFull(): {
20
- imgW: any;
21
- imgH: any;
22
- };
23
- initImg(needSession?: boolean): void;
24
- goClip(context: any): void;
25
- ngAfterViewInit(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ImgCanvasComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ImgCanvasComponent, "app-img", never, { "needTime": "needTime"; "url": "url"; "clipArr": "clipArr"; "rotateNum": "rotateNum"; "needContextmenu": "needContextmenu"; }, { "loadOver": "loadOver"; }, never, ["*"]>;
28
- }
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ImgCanvasComponent implements OnInit, AfterViewInit {
4
+ private elementRef;
5
+ needTime: boolean;
6
+ set url(url: string);
7
+ canvas1: any;
8
+ canvasDom: any;
9
+ width: number;
10
+ height: number;
11
+ imgUrl: any;
12
+ img: any;
13
+ clipArr: any[];
14
+ rotateNum: any;
15
+ loadOver: EventEmitter<any>;
16
+ needContextmenu: boolean;
17
+ constructor(elementRef: ElementRef);
18
+ ngOnInit(): void;
19
+ getCanvasFull(): {
20
+ imgW: any;
21
+ imgH: any;
22
+ };
23
+ initImg(needSession?: boolean): void;
24
+ goClip(context: any): void;
25
+ ngAfterViewInit(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImgCanvasComponent, never>;
27
+ 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>;
28
+ }
@@ -1,22 +1,22 @@
1
- import { OnInit, EventEmitter } from '@angular/core';
2
- import { NzUploadChangeParam, NzUploadFile } from 'ng-zorro-antd/upload/ng-zorro-antd-upload';
3
- import * as i0 from "@angular/core";
4
- export declare class LocalUploadComponent implements OnInit {
5
- beforeUpload: any;
6
- url: any;
7
- nzAccept: string;
8
- name: any;
9
- code: any;
10
- withoutRole: any;
11
- afterChange: EventEmitter<any>;
12
- showList: any;
13
- constructor();
14
- ngOnInit(): void;
15
- header: (file: NzUploadFile) => {
16
- "x-header-atr": string;
17
- token: string;
18
- };
19
- onChange(params: NzUploadChangeParam): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalUploadComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<LocalUploadComponent, "atr-local-upload", never, { "beforeUpload": "beforeUpload"; "url": "url"; "nzAccept": "nzAccept"; "name": "name"; "code": "code"; "withoutRole": "withoutRole"; }, { "afterChange": "afterChange"; }, never, never>;
22
- }
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { NzUploadChangeParam, NzUploadFile } from 'ng-zorro-antd/upload';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LocalUploadComponent implements OnInit {
5
+ beforeUpload: any;
6
+ url: any;
7
+ nzAccept: string;
8
+ name: any;
9
+ code: any;
10
+ withoutRole: any;
11
+ afterChange: EventEmitter<any>;
12
+ showList: any;
13
+ constructor();
14
+ ngOnInit(): void;
15
+ header: (file: NzUploadFile) => {
16
+ "x-header-atr": string;
17
+ token: string;
18
+ };
19
+ onChange(params: NzUploadChangeParam): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalUploadComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocalUploadComponent, "atr-local-upload", never, { "beforeUpload": { "alias": "beforeUpload"; "required": false; }; "url": { "alias": "url"; "required": false; }; "nzAccept": { "alias": "nzAccept"; "required": false; }; "name": { "alias": "name"; "required": false; }; "code": { "alias": "code"; "required": false; }; "withoutRole": { "alias": "withoutRole"; "required": false; }; }, { "afterChange": "afterChange"; }, never, never, false, never>;
22
+ }
@@ -1,45 +1,45 @@
1
- import { OnInit } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { ControlValueAccessor } from '@angular/forms';
4
- import { NzMessageService } from 'ng-zorro-antd/message';
5
- import { UploadOssService } from "../../../core/services/upload-oss.service";
6
- import * as i0 from "@angular/core";
7
- export declare class QuillEditorComponent implements OnInit, ControlValueAccessor {
8
- private uploadOssService;
9
- private message;
10
- placeholder: string;
11
- styles: any;
12
- value: string | any;
13
- readOnly: boolean;
14
- needImgSeq: boolean;
15
- editor: any;
16
- onChangeListener: any;
17
- onTouchedListener: any;
18
- imgUrls: any;
19
- editor$: Subject<string>;
20
- imgVis: boolean;
21
- constructor(uploadOssService: UploadOssService, message: NzMessageService);
22
- ngOnInit(): void;
23
- writeValue(value: string | any[]): void;
24
- registerOnChange(fn: any): void;
25
- registerOnTouched(fn: any): void;
26
- setDisabledState?(isDisabled: boolean): void;
27
- onChange(quill: any): void;
28
- EditorCreated(quill: any): void;
29
- getBlobByBase64(url: any, oldUrl: any): {
30
- index: number;
31
- blob: any;
32
- oldUrl: any;
33
- } | undefined;
34
- uploadImgs(blods: any, index: any): void;
35
- uploadImg(blods: any): void;
36
- isEndContents(blods: any, index: any): void;
37
- imageHandler(): void;
38
- saveSeq(): void;
39
- arrowUp(index: any): void;
40
- arrowDown(index: any): void;
41
- cancle(): void;
42
- te(): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<QuillEditorComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<QuillEditorComponent, "app-quill-editor", never, { "placeholder": "placeholder"; "styles": "styles"; "value": "value"; "readOnly": "readOnly"; "needImgSeq": "needImgSeq"; }, {}, never, never>;
45
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import { NzMessageService } from 'ng-zorro-antd/message';
5
+ import { UploadOssService } from "../../../core/services/upload-oss.service";
6
+ import * as i0 from "@angular/core";
7
+ export declare class QuillEditorComponent implements OnInit, ControlValueAccessor {
8
+ private uploadOssService;
9
+ private message;
10
+ placeholder: string;
11
+ styles: any;
12
+ value: string | any;
13
+ readOnly: boolean;
14
+ needImgSeq: boolean;
15
+ editor: any;
16
+ onChangeListener: any;
17
+ onTouchedListener: any;
18
+ imgUrls: any;
19
+ editor$: Subject<string>;
20
+ imgVis: boolean;
21
+ constructor(uploadOssService: UploadOssService, message: NzMessageService);
22
+ ngOnInit(): void;
23
+ writeValue(value: string | any[]): void;
24
+ registerOnChange(fn: any): void;
25
+ registerOnTouched(fn: any): void;
26
+ setDisabledState?(isDisabled: boolean): void;
27
+ onChange(quill: any): void;
28
+ EditorCreated(quill: any): void;
29
+ getBlobByBase64(url: any, oldUrl: any): {
30
+ index: number;
31
+ blob: any;
32
+ oldUrl: any;
33
+ } | undefined;
34
+ uploadImgs(blods: any, index: any): void;
35
+ uploadImg(blods: any): void;
36
+ isEndContents(blods: any, index: any): void;
37
+ imageHandler(): void;
38
+ saveSeq(): void;
39
+ arrowUp(index: any): void;
40
+ arrowDown(index: any): void;
41
+ cancle(): void;
42
+ te(): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuillEditorComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuillEditorComponent, "app-quill-editor", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "value": { "alias": "value"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "needImgSeq": { "alias": "needImgSeq"; "required": false; }; }, {}, never, never, false, never>;
45
+ }
@@ -1,24 +1,24 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from "@angular/forms";
3
- import * as i0 from "@angular/core";
4
- export declare class SelectIconsComponent implements OnInit, ControlValueAccessor {
5
- readonly: boolean;
6
- placeholder: string;
7
- value: any;
8
- icons: string[];
9
- showProp: boolean;
10
- onChangeListener: any;
11
- onTouchedListener: any;
12
- constructor();
13
- ngOnInit(): void;
14
- change(value: boolean): void;
15
- valueChange(e: any): void;
16
- selectIcon(item: any): void;
17
- showIcons(): void;
18
- registerOnChange(fn: any): void;
19
- registerOnTouched(fn: any): void;
20
- setDisabledState(isDisabled: boolean): void;
21
- writeValue(value: string): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectIconsComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectIconsComponent, "app-select-icons", never, { "readonly": "readonly"; "placeholder": "placeholder"; }, {}, never, never>;
24
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from "@angular/forms";
3
+ import * as i0 from "@angular/core";
4
+ export declare class SelectIconsComponent implements OnInit, ControlValueAccessor {
5
+ readonly: boolean;
6
+ placeholder: string;
7
+ value: any;
8
+ icons: string[];
9
+ showProp: boolean;
10
+ onChangeListener: any;
11
+ onTouchedListener: any;
12
+ constructor();
13
+ ngOnInit(): void;
14
+ change(value: boolean): void;
15
+ valueChange(e: any): void;
16
+ selectIcon(item: any): void;
17
+ showIcons(): void;
18
+ registerOnChange(fn: any): void;
19
+ registerOnTouched(fn: any): void;
20
+ setDisabledState(isDisabled: boolean): void;
21
+ writeValue(value: string): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectIconsComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectIconsComponent, "app-select-icons", never, { "readonly": { "alias": "readonly"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -1,23 +1,23 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { DictService } from "../../../core/services/dict/dict.service";
3
- import { SelectAction } from "../../../core/base/atr-common";
4
- import * as i0 from "@angular/core";
5
- export declare interface SelectTreeOpt {
6
- dictCode: string;
7
- key: string;
8
- value?: string;
9
- }
10
- export declare class SelectTreeComponent implements OnInit {
11
- private dictService;
12
- dicts: any;
13
- opt: SelectTreeOpt | any;
14
- action: EventEmitter<SelectAction>;
15
- selectValue: any;
16
- isDisable: boolean;
17
- constructor(dictService: DictService);
18
- ngOnInit(): void;
19
- getDictValue(code: string): void;
20
- changeValue(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectTreeComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectTreeComponent, "app-select-tree", never, { "opt": "opt"; "isDisable": "isDisable"; }, { "action": "action"; }, never, never>;
23
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { DictService } from "../../../core/services/dict/dict.service";
3
+ import { SelectAction } from "../../../core/base/atr-common";
4
+ import * as i0 from "@angular/core";
5
+ export declare interface SelectTreeOpt {
6
+ dictCode: string;
7
+ key: string;
8
+ value?: string;
9
+ }
10
+ export declare class SelectTreeComponent implements OnInit {
11
+ private dictService;
12
+ dicts: any;
13
+ opt: SelectTreeOpt | any;
14
+ action: EventEmitter<SelectAction>;
15
+ selectValue: any;
16
+ isDisable: boolean;
17
+ constructor(dictService: DictService);
18
+ ngOnInit(): void;
19
+ getDictValue(code: string): void;
20
+ changeValue(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectTreeComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectTreeComponent, "app-select-tree", never, { "opt": { "alias": "opt"; "required": false; }; "isDisable": { "alias": "isDisable"; "required": false; }; }, { "action": "action"; }, never, never, false, never>;
23
+ }
@@ -1,20 +1,20 @@
1
- import { NzDrawerService } from 'ng-zorro-antd/drawer';
2
- import { NzModalService } from 'ng-zorro-antd/modal';
3
- import { NzMessageService } from 'ng-zorro-antd/message';
4
- import { HttpService } from "../../../core/services/http.service";
5
- import * as i0 from "@angular/core";
6
- export declare class BusiService {
7
- private drawerService;
8
- private httpService;
9
- private modalService;
10
- private locale;
11
- private msg;
12
- options: any;
13
- allowOpen: boolean;
14
- searchDrawerResRef: any;
15
- constructor(drawerService: NzDrawerService, httpService: HttpService, modalService: NzModalService, locale: string, msg: NzMessageService);
16
- resetPass(reseturl: any, param: any, callBack: any, content?: string, successTitle?: string): void;
17
- getCascaderDefultV(dictList: any, value: any, index: any, result: any): any;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<BusiService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<BusiService>;
20
- }
1
+ import { NzDrawerService } from 'ng-zorro-antd/drawer';
2
+ import { NzModalService } from 'ng-zorro-antd/modal';
3
+ import { NzMessageService } from 'ng-zorro-antd/message';
4
+ import { HttpService } from "../../../core/services/http.service";
5
+ import * as i0 from "@angular/core";
6
+ export declare class BusiService {
7
+ private drawerService;
8
+ private httpService;
9
+ private modalService;
10
+ private locale;
11
+ private msg;
12
+ options: any;
13
+ allowOpen: boolean;
14
+ searchDrawerResRef: any;
15
+ constructor(drawerService: NzDrawerService, httpService: HttpService, modalService: NzModalService, locale: string, msg: NzMessageService);
16
+ resetPass(reseturl: any, param: any, callBack: any, content?: string, successTitle?: string): void;
17
+ getCascaderDefultV(dictList: any, value: any, index: any, result: any): any;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BusiService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<BusiService>;
20
+ }