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
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "atr-components",
3
- "version": "2.2.4",
3
+ "version": "3.0.2",
4
4
  "peerDependencies": {
5
- "@angular/core": "^17.0.10",
5
+ "@angular/core": "^20.3.15",
6
6
  "echarts": "^5.4.3"
7
7
  },
8
8
  "module": "fesm2022/atr-components.mjs",
@@ -13,8 +13,6 @@
13
13
  },
14
14
  ".": {
15
15
  "types": "./index.d.ts",
16
- "esm2022": "./esm2022/atr-components.mjs",
17
- "esm": "./esm2022/atr-components.mjs",
18
16
  "default": "./fesm2022/atr-components.mjs"
19
17
  }
20
18
  },
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./core/ngz-module/cus-zorro-antd.module";
4
- import * as i3 from "./core/pipe/pipe-module.module";
5
- export declare class AtrComponentsModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AtrComponentsModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AtrComponentsModule, never, [typeof i1.CommonModule, typeof i2.CusNgZorroAntdModule, typeof i3.PipeModuleModule], [typeof i2.CusNgZorroAntdModule, typeof i3.PipeModuleModule]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<AtrComponentsModule>;
9
- }
@@ -1,53 +0,0 @@
1
- export * from "./core/animations/animations";
2
- export * from "./core/interceptor/base.interceptor";
3
- export * from "./core/ngz-module/cus-zorro-antd.module";
4
- export * from "./core/animations/fly-in";
5
- export * from "./core/animations/scroll-screen";
6
- export * from './atr-components.module';
7
- export * from './core/auth/auth.guard';
8
- export * from './core/base/atr-common';
9
- export * from './core/routereuse/atr-reuse-strategy';
10
- export * from "./core/utils/ToolsUtil";
11
- export * from "./core/utils/localstorage.util";
12
- export * from "./core/utils/sessionstorage.util";
13
- export * from "./core/services/dict/dict.service";
14
- export * from "./core/services/http.service";
15
- export * from "./core/services/menu.service";
16
- export * from "./core/services/upload-oss.service";
17
- export * from "./core/directive/role.directive";
18
- export * from "./core/directive/error-img.directive";
19
- export * from "./core/directive/hq-spin.directive";
20
- export * from "./core/directive/Infinite-scroll.directive";
21
- export * from "./core/directive/debounce-click.directive";
22
- export * from "./core/pipe/pipe-module.module";
23
- export * from "./core/pipe/is-empty.pipe";
24
- export * from "./core/pipe/dicts.pipe";
25
- export * from "./core/pipe/defaultVal.pipe";
26
- export * from "./core/pipe/day.pipe";
27
- export * from "./core/pipe/safe-compute.pipe";
28
- export * from "./core/pipe/is-not-empty.pipe";
29
- export * from "./core/pipe/image-pipe.pipe";
30
- export * from "./core/pipe/safe-html.pipe";
31
- export * from "./core/pipe/china-num.pipe";
32
- export * from "./core/pipe/count.pipe";
33
- export * from "./core/pipe/oss.pipe";
34
- export * from "./core/pipe/ossStatic.pipe";
35
- export * from "./core/pipe/remove-html.pipe";
36
- export * from "./core/pipe/safe-url.pipe";
37
- export * from "./lib/shared/atr-shared.module";
38
- export * from "./lib/shared/form/form.component";
39
- export * from "./lib/shared/local-upload/local-upload.component";
40
- export * from "./lib/shared/select-tree/select-tree.component";
41
- export * from "./lib/shared/service/busi.service";
42
- export * from "./lib/shared/table/table-td/table-td.component";
43
- export * from "./lib/shared/share.service";
44
- export * from "./lib/shared/video/video.component";
45
- export * from "./lib/shared/img-canvas/img-canvas.component";
46
- export * from "./lib/shared/validators/atr-validtors";
47
- export * from "./lib/shared/upload/upload.component";
48
- export * from "./lib/shared/table/table.component";
49
- export * from "./lib/shared/table/table-form-item/table-form-item.component";
50
- export * from "./lib/shared/quill-editor/quill-editor.component";
51
- export * from "./lib/shared/select-icons/select-icons.component";
52
- export * from "./lib/shared/echarts/echarts.component";
53
- export * from "./lib/shared/view-form/view-form.component";
@@ -1 +0,0 @@
1
- export declare const transAnimation: import("@angular/animations").AnimationReferenceMetadata;
@@ -1 +0,0 @@
1
- export declare const flyIn: import("@angular/animations").AnimationTriggerMetadata;
@@ -1 +0,0 @@
1
- export declare const scrollScreen: import("@angular/animations").AnimationTriggerMetadata;
@@ -1,11 +0,0 @@
1
- import { ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
2
- import { HttpService } from "../services/http.service";
3
- import * as i0 from "@angular/core";
4
- export declare class AuthGuard {
5
- private router;
6
- private httpService;
7
- constructor(router: Router, httpService: HttpService);
8
- canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): any;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
11
- }
@@ -1,362 +0,0 @@
1
- import { HttpHeaders } from "@angular/common/http";
2
- import { TemplateRef } from "@angular/core";
3
- export declare const atr_static_datas: {
4
- /**
5
- * oss地址前缀
6
- */
7
- OSS_URL: string;
8
- /**
9
- * 静态地址
10
- */
11
- STATIC_OSS_URL: string;
12
- OSS_POLICY: string;
13
- STORAGE_PRE: string;
14
- menu_url: string;
15
- OSS_GETHOST: string;
16
- needOss: boolean;
17
- dic_url: string;
18
- /**
19
- * 登录路由
20
- */
21
- login_router: string;
22
- SERVER_URL: string;
23
- needNormalHeade: boolean;
24
- getNormalHeader: (_headers: HttpHeaders) => HttpHeaders;
25
- getDefaultHeader: (_headers: HttpHeaders) => HttpHeaders;
26
- };
27
- export declare class commonDatas {
28
- static letters: string[];
29
- static icons: string[];
30
- static await_Data: any;
31
- }
32
- export declare interface json extends Object {
33
- [key: string]: any;
34
- }
35
- export declare interface ServerPaginationStandard {
36
- currentPage: number;
37
- showCount: number;
38
- totalResult: number;
39
- totalPage?: number;
40
- }
41
- export declare interface HttpResponseDataStandard {
42
- state: number;
43
- data: json | [{}] | object | string | any;
44
- mess: string;
45
- page?: ServerPaginationStandard;
46
- }
47
- export declare interface HttpRseponseTransformCell {
48
- [key: string]: json;
49
- }
50
- export declare interface HttpOptions {
51
- headers?: {};
52
- isJsonEncode?: boolean;
53
- isUrlEncode?: boolean;
54
- isAutoShowMessage?: boolean;
55
- isWithCredentials?: boolean;
56
- isCommonHttpHeader?: boolean;
57
- }
58
- export declare enum UserAction {
59
- ADD = 0,
60
- EDIT = 1,
61
- DEL = 2,
62
- QUERY = 3,
63
- SUPPERADD = 4
64
- }
65
- export declare interface EChartsOption {
66
- title?: any;
67
- legend?: any;
68
- grid?: any;
69
- brush?: any;
70
- toolbox?: any;
71
- tooltip?: any;
72
- dataset?: any;
73
- xAxis?: {
74
- type?: 'category';
75
- data?: string[];
76
- boundaryGap?: boolean;
77
- show?: boolean;
78
- };
79
- yAxis?: any;
80
- series?: {
81
- name?: string;
82
- data?: any[];
83
- itemStyle?: any;
84
- stack?: any;
85
- emphasis?: any;
86
- label?: any;
87
- radius?: any[];
88
- smooth?: boolean;
89
- seriesLayoutBy?: string;
90
- type?: 'bar' | 'pie' | 'line';
91
- backgroundStyle?: any;
92
- }[];
93
- }
94
- export declare interface AtrFormOpt {
95
- type: 'add' | 'edit' | 'view';
96
- layout?: "full" | '1l2c' | '1l1c';
97
- items: AtrFormDetail[];
98
- }
99
- export declare interface AtrFormDetail {
100
- label: string;
101
- type: 'cascader' | 'radio' | 'text' | 'image' | 'select' | 'date' | 'number' | 'telphone' | 'password' | 'checkbox' | 'dayRange' | 'editor' | 'textarea' | 'dateTime' | 'title' | 'dateRange' | 'selectc' | 'selectIcon' | 'treeSelect' | 'switch' | 'buttons' | 'color';
102
- key: string;
103
- isHidden?: boolean;
104
- allowSelectNode?: boolean;
105
- defaultValue?: any;
106
- value?: any;
107
- dictCode?: string;
108
- span?: number;
109
- validators?: AtrFormValid[];
110
- isRequired?: boolean | string;
111
- placeholder?: string;
112
- imageOpts?: ImageOpts;
113
- editContent?: string;
114
- height?: number;
115
- disable?: boolean;
116
- lspan?: number;
117
- cspan?: number;
118
- rows?: number;
119
- operator?: string;
120
- button?: formButton;
121
- readonly?: boolean;
122
- dateFormat?: string | Function;
123
- dictList?: CusDict[];
124
- nzMode?: 'multiple' | 'tags' | 'default';
125
- dateMode?: 'week' | 'month' | 'year';
126
- selectUrl?: {
127
- url: string;
128
- convert?: string;
129
- type?: 'get' | 'post';
130
- host?: 'oss' | 'serve';
131
- isMultiple?: boolean;
132
- ignoreDictList?: boolean;
133
- };
134
- treeList?: {
135
- key: string;
136
- title: string;
137
- }[];
138
- ends?: string;
139
- proposal?: string;
140
- temp?: TemplateRef<any>;
141
- firstTemp?: TemplateRef<any>;
142
- minNumber?: any;
143
- maxNumber?: any;
144
- notNull?: boolean;
145
- nzShowTime?: boolean | {
146
- nzFormat: string;
147
- };
148
- buttons?: formButton[];
149
- nzCheckedChildren?: string;
150
- nzUnCheckedChildren?: string;
151
- nzPrecision?: number;
152
- nzStep?: number;
153
- /**
154
- * 树形树形控件是否展开所有节点
155
- */
156
- expandAll?: boolean;
157
- }
158
- export declare interface AtrFormValid {
159
- type: 'required' | 'email' | 'telphone' | 'maxlength' | 'minlength' | 'pattern' | 'operator';
160
- errorLabel: string;
161
- maxlength?: number;
162
- minlength?: number;
163
- patternValue?: string;
164
- }
165
- export declare interface formButton {
166
- name: string;
167
- isShow: boolean;
168
- code: string;
169
- btnType?: string;
170
- operator?: string;
171
- }
172
- export declare interface colorOperator {
173
- color: string;
174
- operator: string;
175
- }
176
- export declare interface AtrQueyrOpt {
177
- actions?: TableAction[];
178
- isIndex?: boolean;
179
- color?: colorOperator;
180
- checkBox?: {
181
- isShowCheckbox?: boolean;
182
- isRadio?: boolean;
183
- isForbid?: boolean;
184
- };
185
- showNum?: number;
186
- url: string;
187
- sort?: string;
188
- headers?: AtrQueryHeader[];
189
- tables: Table[];
190
- isAutoQuery?: boolean;
191
- defaultParams?: json;
192
- isHideQuery?: boolean;
193
- }
194
- export declare interface Table {
195
- name: string;
196
- key?: string;
197
- defaultVal?: any;
198
- sortKey?: string;
199
- sortable?: boolean;
200
- type: 'textcolor' | 'fixedText' | 'text' | 'link' | 'action' | 'image' | 'date' | 'dateTime' | 'sDateTime' | 'dict' | 'innerHtml' | 'image64' | 'tempRef';
201
- dictCode?: string;
202
- isShow?: boolean;
203
- width?: string;
204
- actions?: TableAction[];
205
- isRowSpan?: boolean;
206
- isRight?: boolean;
207
- isLeft?: boolean;
208
- color?: colorOperator;
209
- colorShow?: string;
210
- innerHtmlBack?: Function;
211
- styleCallBack?: Function;
212
- tempRef?: TemplateRef<any>;
213
- }
214
- export declare interface AtrQueryHeader {
215
- name: string;
216
- type: 'cascader' | 'text' | 'number' | 'checkbox' | 'select' | 'datepicker' | 'selectCus' | 'dateRange' | 'sdate' | 'treeSelect' | 'dayRange';
217
- nzMode?: 'multiple' | 'tags' | 'default';
218
- key: string;
219
- isShow?: boolean;
220
- code?: string;
221
- placeholder?: string;
222
- span?: number;
223
- dictCode?: string;
224
- dictList?: CusDict[];
225
- defaultVal?: any;
226
- maxTagCount?: number;
227
- lspan?: number;
228
- cspan?: number;
229
- disableClear?: boolean;
230
- treeList?: {
231
- key: string;
232
- title: string;
233
- }[];
234
- /**
235
- * 格式
236
- * convert:'key|id,title|realName'(treeSelect)
237
- * value|id,label|name(selectCus)
238
- */
239
- selectUrl?: {
240
- url: string;
241
- convert: string;
242
- isMultiple?: boolean;
243
- };
244
- icon?: {
245
- isShow: boolean;
246
- code: string;
247
- icon: any;
248
- };
249
- dateMode?: 'week' | 'month' | 'year';
250
- nzShowTime?: boolean | {
251
- nzFormat: string;
252
- };
253
- nzShowNow?: boolean;
254
- expandAll?: boolean;
255
- }
256
- export declare interface TableAction {
257
- name: string;
258
- code: string;
259
- url?: string;
260
- gType?: 'normal' | 'upload';
261
- data?: any;
262
- firstData?: any;
263
- datas?: any[];
264
- icon?: string;
265
- numberOfChecked?: number;
266
- type?: 'rows' | 'row';
267
- operator?: string;
268
- buttonType?: 'primary' | 'dashed' | 'danger' | 'default' | 'link';
269
- value?: any;
270
- withoutRole?: boolean;
271
- }
272
- export declare interface FormAction {
273
- name: string;
274
- code: string;
275
- }
276
- export declare interface Dict {
277
- id: string;
278
- typeName: string;
279
- }
280
- export declare interface DictGroup {
281
- groupCode: string;
282
- dicts: Dict[];
283
- }
284
- export declare interface CusDict {
285
- label: string;
286
- value: string;
287
- children?: any;
288
- isSelect?: boolean;
289
- }
290
- export declare interface ImageOpts {
291
- limit?: number;
292
- nzSize?: number;
293
- uploadDir: string;
294
- removeAction?: string;
295
- imageList?: any[];
296
- key?: string;
297
- labe?: string;
298
- fileName?: string;
299
- uploadType?: 'drag' | '' | 'button';
300
- nzFileType?: string;
301
- keepName?: boolean;
302
- btnName?: string;
303
- beforeUpload?: any;
304
- customReq?: any;
305
- splitStr?: string;
306
- }
307
- export declare interface equipTestData {
308
- code: string;
309
- itemName: string;
310
- zhou1: number;
311
- zhou2: number;
312
- zhou3: number;
313
- zhou4: number;
314
- zhou5: number;
315
- zhou6: number;
316
- isWrong1?: boolean;
317
- isWrong2?: boolean;
318
- isWrong3?: boolean;
319
- isWrong4?: boolean;
320
- isWrong5?: boolean;
321
- isWrong6?: boolean;
322
- }
323
- export declare interface SelectAction {
324
- name: string;
325
- code: "ngModelChange" | 'nzOpenChange';
326
- data?: any;
327
- key?: string;
328
- }
329
- export interface MenuIcon {
330
- /** Type for icon */
331
- type: 'class' | 'icon' | 'iconfont' | 'img';
332
- /** Value for the icon, can be set Class Name, nz-icon of `nzType`, image */
333
- value?: string;
334
- /** Type of the ant design icon, default: `outline` */
335
- theme?: 'outline' | 'twotone' | 'fill';
336
- /** Rotate icon with animation, default: `false` */
337
- spin?: boolean;
338
- /** Only support the two-tone icon. Specific the primary color */
339
- twoToneColor?: string;
340
- /** Type of the icon from iconfont */
341
- iconfont?: string;
342
- }
343
- export interface Menu {
344
- text?: string;
345
- link?: string;
346
- realLink?: string;
347
- isSelected?: Boolean;
348
- isOpen?: Boolean;
349
- target?: '_blank' | '_self' | '_parent' | '_top';
350
- /** Icon for the menu item, only valid for the first level menu */
351
- icon?: string | MenuIcon | null;
352
- /** Badget for the menu item when `group` is `true` */
353
- operation?: string;
354
- /** Whether shortcut menu item */
355
- seq?: number;
356
- level?: number;
357
- /** Wheter shortcut menu root node */
358
- linkType?: string;
359
- /** Whether to allow reuse, need to cooperate with the `reuse-tab` component */
360
- children?: Menu[];
361
- isVisible?: '0' | '1';
362
- }
@@ -1,12 +0,0 @@
1
- import { EventEmitter, ElementRef, OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class InfiniteScrollDirective implements OnDestroy {
4
- private elementRef;
5
- appInfiniteScroll: EventEmitter<void>;
6
- private _scrollHandler;
7
- constructor(elementRef: ElementRef);
8
- ngOnDestroy(): void;
9
- private onScroll;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<InfiniteScrollDirective, "[appInfiniteScroll]", never, {}, { "appInfiniteScroll": "appInfiniteScroll"; }, never, never, false, never>;
12
- }
@@ -1,14 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DebounceClickDirective implements OnInit, OnDestroy {
4
- time: number;
5
- debounceClick: EventEmitter<any>;
6
- click$: EventEmitter<any>;
7
- subscription: any;
8
- constructor();
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- clickEvent(event: Event): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DebounceClickDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<DebounceClickDirective, "[debounceClick]", never, { "time": { "alias": "time"; "required": false; }; }, { "debounceClick": "debounceClick"; }, never, never, false, never>;
14
- }
@@ -1,10 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AtrErrorImgDirective {
4
- elementRef: ElementRef;
5
- errorImagSrc: string;
6
- constructor(elementRef: ElementRef);
7
- ImageError(event: any): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AtrErrorImgDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<AtrErrorImgDirective, "[atrErrorImg]", never, { "errorImagSrc": { "alias": "atrErrorImg"; "required": false; }; }, {}, never, never, false, never>;
10
- }
@@ -1,13 +0,0 @@
1
- import { ElementRef, Renderer2, SimpleChanges, OnChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class HqSpinDirective implements OnChanges {
4
- private el;
5
- private render;
6
- spinLoading: boolean;
7
- text: null;
8
- loadingEle: any;
9
- constructor(el: ElementRef, render: Renderer2);
10
- ngOnChanges(changes: SimpleChanges): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<HqSpinDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<HqSpinDirective, "[HqSpin]", never, { "spinLoading": { "alias": "spinLoading"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
13
- }
@@ -1,16 +0,0 @@
1
- import { Injector, OnInit, Renderer2, ViewContainerRef, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AtrRoleDirective implements OnInit {
4
- private injector;
5
- private render;
6
- private templateRef;
7
- private viewContainer;
8
- private hasView;
9
- set atrRole(condition: string);
10
- constructor(injector: Injector, render: Renderer2, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
11
- ngOnInit(): void;
12
- private get menuService();
13
- private getRouterUrl;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AtrRoleDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<AtrRoleDirective, "[atrRole]", never, { "atrRole": { "alias": "atrRole"; "required": false; }; }, {}, never, never, false, never>;
16
- }
@@ -1,17 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class BaseInterceptor implements HttpInterceptor {
6
- private injector;
7
- constructor(injector: Injector);
8
- private get notification();
9
- private get message();
10
- private get menuService();
11
- private goTo;
12
- private checkStatus;
13
- private handleData;
14
- intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseInterceptor, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseInterceptor>;
17
- }
@@ -1,75 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "ng-zorro-antd/space";
4
- import * as i3 from "ng-zorro-antd/affix";
5
- import * as i4 from "ng-zorro-antd/alert";
6
- import * as i5 from "ng-zorro-antd/anchor";
7
- import * as i6 from "ng-zorro-antd/auto-complete";
8
- import * as i7 from "ng-zorro-antd/avatar";
9
- import * as i8 from "ng-zorro-antd/back-top";
10
- import * as i9 from "ng-zorro-antd/badge";
11
- import * as i10 from "ng-zorro-antd/button";
12
- import * as i11 from "ng-zorro-antd/breadcrumb";
13
- import * as i12 from "ng-zorro-antd/calendar";
14
- import * as i13 from "ng-zorro-antd/card";
15
- import * as i14 from "ng-zorro-antd/carousel";
16
- import * as i15 from "ng-zorro-antd/cascader";
17
- import * as i16 from "ng-zorro-antd/checkbox";
18
- import * as i17 from "ng-zorro-antd/collapse";
19
- import * as i18 from "ng-zorro-antd/comment";
20
- import * as i19 from "ng-zorro-antd/date-picker";
21
- import * as i20 from "ng-zorro-antd/descriptions";
22
- import * as i21 from "ng-zorro-antd/divider";
23
- import * as i22 from "ng-zorro-antd/drawer";
24
- import * as i23 from "ng-zorro-antd/dropdown";
25
- import * as i24 from "ng-zorro-antd/empty";
26
- import * as i25 from "ng-zorro-antd/form";
27
- import * as i26 from "ng-zorro-antd/grid";
28
- import * as i27 from "ng-zorro-antd/i18n";
29
- import * as i28 from "ng-zorro-antd/icon";
30
- import * as i29 from "ng-zorro-antd/input";
31
- import * as i30 from "ng-zorro-antd/input-number";
32
- import * as i31 from "ng-zorro-antd/layout";
33
- import * as i32 from "ng-zorro-antd/list";
34
- import * as i33 from "ng-zorro-antd/mention";
35
- import * as i34 from "ng-zorro-antd/menu";
36
- import * as i35 from "ng-zorro-antd/message";
37
- import * as i36 from "ng-zorro-antd/modal";
38
- import * as i37 from "ng-zorro-antd/core/no-animation";
39
- import * as i38 from "ng-zorro-antd/notification";
40
- import * as i39 from "ng-zorro-antd/page-header";
41
- import * as i40 from "ng-zorro-antd/pagination";
42
- import * as i41 from "ng-zorro-antd/popconfirm";
43
- import * as i42 from "ng-zorro-antd/popover";
44
- import * as i43 from "ng-zorro-antd/progress";
45
- import * as i44 from "ng-zorro-antd/radio";
46
- import * as i45 from "ng-zorro-antd/rate";
47
- import * as i46 from "ng-zorro-antd/result";
48
- import * as i47 from "ng-zorro-antd/select";
49
- import * as i48 from "ng-zorro-antd/skeleton";
50
- import * as i49 from "ng-zorro-antd/slider";
51
- import * as i50 from "ng-zorro-antd/spin";
52
- import * as i51 from "ng-zorro-antd/statistic";
53
- import * as i52 from "ng-zorro-antd/steps";
54
- import * as i53 from "ng-zorro-antd/switch";
55
- import * as i54 from "ng-zorro-antd/table";
56
- import * as i55 from "ng-zorro-antd/tabs";
57
- import * as i56 from "ng-zorro-antd/tag";
58
- import * as i57 from "ng-zorro-antd/time-picker";
59
- import * as i58 from "ng-zorro-antd/timeline";
60
- import * as i59 from "ng-zorro-antd/tooltip";
61
- import * as i60 from "ng-zorro-antd/core/trans-button";
62
- import * as i61 from "ng-zorro-antd/transfer";
63
- import * as i62 from "ng-zorro-antd/tree";
64
- import * as i63 from "ng-zorro-antd/tree-select";
65
- import * as i64 from "ng-zorro-antd/typography";
66
- import * as i65 from "ng-zorro-antd/upload";
67
- import * as i66 from "ng-zorro-antd/core/wave";
68
- import * as i67 from "ng-zorro-antd/resizable";
69
- import * as i68 from "@angular/forms";
70
- import * as i69 from "ng-zorro-antd/image";
71
- export declare class CusNgZorroAntdModule {
72
- static ɵfac: i0.ɵɵFactoryDeclaration<CusNgZorroAntdModule, never>;
73
- static ɵmod: i0.ɵɵNgModuleDeclaration<CusNgZorroAntdModule, never, never, [typeof i1.CommonModule, typeof i2.NzSpaceModule, typeof i3.NzAffixModule, typeof i4.NzAlertModule, typeof i5.NzAnchorModule, typeof i6.NzAutocompleteModule, typeof i7.NzAvatarModule, typeof i8.NzBackTopModule, typeof i9.NzBadgeModule, typeof i10.NzButtonModule, typeof i11.NzBreadCrumbModule, typeof i12.NzCalendarModule, typeof i13.NzCardModule, typeof i14.NzCarouselModule, typeof i15.NzCascaderModule, typeof i16.NzCheckboxModule, typeof i17.NzCollapseModule, typeof i18.NzCommentModule, typeof i19.NzDatePickerModule, typeof i20.NzDescriptionsModule, typeof i21.NzDividerModule, typeof i22.NzDrawerModule, typeof i23.NzDropDownModule, typeof i24.NzEmptyModule, typeof i25.NzFormModule, typeof i26.NzGridModule, typeof i27.NzI18nModule, typeof i28.NzIconModule, typeof i29.NzInputModule, typeof i30.NzInputNumberModule, typeof i31.NzLayoutModule, typeof i32.NzListModule, typeof i33.NzMentionModule, typeof i34.NzMenuModule, typeof i35.NzMessageModule, typeof i36.NzModalModule, typeof i37.NzNoAnimationModule, typeof i38.NzNotificationModule, typeof i39.NzPageHeaderModule, typeof i40.NzPaginationModule, typeof i41.NzPopconfirmModule, typeof i42.NzPopoverModule, typeof i43.NzProgressModule, typeof i44.NzRadioModule, typeof i45.NzRateModule, typeof i46.NzResultModule, typeof i47.NzSelectModule, typeof i48.NzSkeletonModule, typeof i49.NzSliderModule, typeof i50.NzSpinModule, typeof i51.NzStatisticModule, typeof i52.NzStepsModule, typeof i53.NzSwitchModule, typeof i54.NzTableModule, typeof i55.NzTabsModule, typeof i56.NzTagModule, typeof i57.NzTimePickerModule, typeof i58.NzTimelineModule, typeof i59.NzToolTipModule, typeof i60.NzTransButtonModule, typeof i61.NzTransferModule, typeof i62.NzTreeModule, typeof i63.NzTreeSelectModule, typeof i64.NzTypographyModule, typeof i65.NzUploadModule, typeof i66.NzWaveModule, typeof i67.NzResizableModule, typeof i68.FormsModule, typeof i68.ReactiveFormsModule, typeof i69.NzImageModule]>;
74
- static ɵinj: i0.ɵɵInjectorDeclaration<CusNgZorroAntdModule>;
75
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ChinaNumPipe implements PipeTransform {
4
- transform(value: any, ...args: any[]): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ChinaNumPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<ChinaNumPipe, "chinaNum", false>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CountPipe implements PipeTransform {
4
- transform(value: any, ...args: any[]): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CountPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<CountPipe, "count", false>;
7
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DayPipe implements PipeTransform {
4
- TIME_OF_DAY: number;
5
- transform(value: any, ...args: any[]): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DayPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<DayPipe, "day", false>;
8
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DefaultValPipe implements PipeTransform {
4
- transform(value: any, defaultVal: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<DefaultValPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<DefaultValPipe, "defVal", false>;
7
- }