atr-components 0.0.9 → 0.0.11

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.
@@ -1,8 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./lib/hello/hello.component";
3
- import * as i2 from "@angular/common";
2
+ import * as i1 from "@angular/common";
4
3
  export declare class AtrComponentsModule {
5
4
  static ɵfac: i0.ɵɵFactoryDeclaration<AtrComponentsModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AtrComponentsModule, [typeof i1.HelloComponent], [typeof i2.CommonModule], never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AtrComponentsModule, never, [typeof i1.CommonModule], never>;
7
6
  static ɵinj: i0.ɵɵInjectorDeclaration<AtrComponentsModule>;
8
7
  }
@@ -0,0 +1,232 @@
1
+ export declare const atr_static_datas: {
2
+ test: string;
3
+ };
4
+ export declare interface json extends Object {
5
+ [key: string]: any;
6
+ }
7
+ export declare interface ServerPaginationStandard {
8
+ currentPage: number;
9
+ showCount: number;
10
+ totalResult: number;
11
+ totalPage?: number;
12
+ }
13
+ export declare interface HttpResponseDataStandard {
14
+ state: number;
15
+ data: json | [{}] | object | string | any;
16
+ mess: string;
17
+ page?: ServerPaginationStandard;
18
+ }
19
+ export declare interface HttpRseponseTransformCell {
20
+ [key: string]: json;
21
+ }
22
+ export declare interface HttpOptions {
23
+ headers?: {};
24
+ isJsonEncode?: boolean;
25
+ isUrlEncode?: boolean;
26
+ isAutoShowMessage?: boolean;
27
+ isWithCredentials?: boolean;
28
+ isCommonHttpHeader?: boolean;
29
+ }
30
+ export declare enum UserAction {
31
+ ADD = 0,
32
+ EDIT = 1,
33
+ DEL = 2,
34
+ QUERY = 3,
35
+ SUPPERADD = 4
36
+ }
37
+ export declare interface AtrFormOpt {
38
+ type: 'add' | 'edit' | 'view';
39
+ layout?: "full" | '1l2c' | '1l1c';
40
+ items: AtrFormDetail[];
41
+ }
42
+ export declare interface AtrFormDetail {
43
+ label: string;
44
+ type: 'cascader' | 'radio' | 'text' | 'image' | 'select' | 'date' | 'number' | 'telphone' | 'password' | 'checkbox' | 'editor' | 'textarea' | 'dateTime' | 'title' | 'dateRange' | 'selectc';
45
+ key: string;
46
+ isHidden?: boolean;
47
+ defaultValue?: any;
48
+ value?: any;
49
+ dictCode?: string;
50
+ span?: number;
51
+ validators?: AtrFormValid[];
52
+ isRequired?: boolean | string;
53
+ placeholder?: string;
54
+ imageOpts?: ImageOpts;
55
+ editContent?: string;
56
+ height?: number;
57
+ disable?: boolean;
58
+ lspan?: number;
59
+ cspan?: number;
60
+ rows?: number;
61
+ operator?: string;
62
+ button?: formButton;
63
+ readonly?: boolean;
64
+ dateFormat?: string;
65
+ dictList?: CusDict[];
66
+ selectUrl?: {
67
+ url: string;
68
+ convert?: string;
69
+ type?: 'get' | 'post';
70
+ host?: 'oss' | 'serve';
71
+ isMultiple?: boolean;
72
+ };
73
+ treeList?: {
74
+ key: string;
75
+ title: string;
76
+ }[];
77
+ ends?: string;
78
+ proposal?: string;
79
+ temp?: any;
80
+ notNull?: boolean;
81
+ }
82
+ export declare interface AtrFormValid {
83
+ type: 'required' | 'email' | 'telphone' | 'maxlength' | 'minlength' | 'pattern' | 'operator';
84
+ errorLabel: string;
85
+ maxlength?: number;
86
+ minlength?: number;
87
+ patternValue?: string;
88
+ }
89
+ export declare interface formButton {
90
+ name: string;
91
+ isShow: boolean;
92
+ code: string;
93
+ }
94
+ export declare interface colorOperator {
95
+ color: string;
96
+ operator: string;
97
+ }
98
+ export declare interface AtrQueyrOpt {
99
+ actions?: TableAction[];
100
+ isIndex?: boolean;
101
+ color?: colorOperator;
102
+ checkBox?: {
103
+ isShowCheckbox?: boolean;
104
+ isRadio?: boolean;
105
+ isForbid?: boolean;
106
+ };
107
+ showNum?: number;
108
+ url: string;
109
+ sort?: string;
110
+ headers?: AtrQueryHeader[];
111
+ tables: Table[];
112
+ isAutoQuery?: boolean;
113
+ defaultParams?: json;
114
+ isHideQuery?: boolean;
115
+ }
116
+ export declare interface Table {
117
+ name: string;
118
+ key?: string;
119
+ defaultVal?: any;
120
+ sortKey?: string;
121
+ sortable?: boolean;
122
+ type: 'textcolor' | 'fixedText' | 'text' | 'link' | 'action' | 'image' | 'date' | 'dateTime' | 'sDateTime' | 'dict';
123
+ dictCode?: string;
124
+ isShow?: boolean;
125
+ width?: string;
126
+ actions?: TableAction[];
127
+ isRowSpan?: boolean;
128
+ isRight?: boolean;
129
+ isLeft?: boolean;
130
+ color?: colorOperator;
131
+ colorShow?: string;
132
+ }
133
+ export declare interface AtrQueryHeader {
134
+ name: string;
135
+ type: 'cascader' | 'text' | 'number' | 'checkbox' | 'select' | 'datepicker' | 'selectCus' | 'dateRange' | 'sdate' | 'treeSelect';
136
+ key: string;
137
+ isShow?: boolean;
138
+ code?: string;
139
+ placeholder?: string;
140
+ span?: number;
141
+ dictCode?: string;
142
+ dictList?: CusDict[];
143
+ defaultVal?: any;
144
+ maxTagCount?: number;
145
+ lspan?: number;
146
+ cspan?: number;
147
+ disableClear?: boolean;
148
+ treeList?: {
149
+ key: string;
150
+ title: string;
151
+ }[];
152
+ /**
153
+ * 格式
154
+ * convert:'key|id,title|realName'(treeSelect)
155
+ * value|id,label|name(selectCus)
156
+ */
157
+ selectUrl?: {
158
+ url: string;
159
+ convert: string;
160
+ isMultiple?: boolean;
161
+ };
162
+ icon?: {
163
+ isShow: boolean;
164
+ code: string;
165
+ icon: any;
166
+ };
167
+ dateMode?: 'week' | 'month' | 'year';
168
+ }
169
+ export declare interface TableAction {
170
+ name: string;
171
+ code: string;
172
+ url?: string;
173
+ gType?: 'normal' | 'upload';
174
+ data?: any;
175
+ datas?: any[];
176
+ icon?: string;
177
+ numberOfChecked?: number;
178
+ type?: 'rows' | 'row';
179
+ operator?: string;
180
+ buttonType?: 'primary' | 'dashed' | 'danger' | 'default' | 'link';
181
+ value?: any;
182
+ withoutRole?: boolean;
183
+ }
184
+ export declare interface FormAction {
185
+ name: string;
186
+ code: string;
187
+ }
188
+ export declare interface Dict {
189
+ id: string;
190
+ typeName: string;
191
+ }
192
+ export declare interface DictGroup {
193
+ groupCode: string;
194
+ dicts: Dict[];
195
+ }
196
+ export declare interface CusDict {
197
+ label: string;
198
+ value: string;
199
+ }
200
+ export declare interface ImageOpts {
201
+ limit?: number;
202
+ uploadDir: string;
203
+ removeAction?: string;
204
+ imageList?: any[];
205
+ key?: string;
206
+ labe?: string;
207
+ fileName?: string;
208
+ uploadType?: 'drag' | '';
209
+ nzFileType?: string;
210
+ }
211
+ export declare interface equipTestData {
212
+ code: string;
213
+ itemName: string;
214
+ zhou1: number;
215
+ zhou2: number;
216
+ zhou3: number;
217
+ zhou4: number;
218
+ zhou5: number;
219
+ zhou6: number;
220
+ isWrong1?: boolean;
221
+ isWrong2?: boolean;
222
+ isWrong3?: boolean;
223
+ isWrong4?: boolean;
224
+ isWrong5?: boolean;
225
+ isWrong6?: boolean;
226
+ }
227
+ export declare interface SelectAction {
228
+ name: string;
229
+ code: "ngModelChange" | 'nzOpenChange';
230
+ data?: any;
231
+ key?: string;
232
+ }
@@ -1,23 +1,22 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import { HelloComponent } from "./lib/hello/hello.component";
4
3
  import * as i0 from "@angular/core";
5
4
  const COMMON_COMPONENT = [];
6
5
  export class AtrComponentsModule {
7
6
  }
8
7
  AtrComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- AtrComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, declarations: [HelloComponent], imports: [CommonModule] });
8
+ AtrComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, imports: [CommonModule] });
10
9
  AtrComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, imports: [[
11
10
  CommonModule
12
11
  ]] });
13
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, decorators: [{
14
13
  type: NgModule,
15
14
  args: [{
16
- declarations: [...COMMON_COMPONENT, HelloComponent],
15
+ declarations: [...COMMON_COMPONENT],
17
16
  imports: [
18
17
  CommonModule
19
18
  ],
20
19
  exports: COMMON_COMPONENT
21
20
  }]
22
21
  }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRyLWNvbXBvbmVudHMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9zcmMvYXRyLWNvbXBvbmVudHMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSw2QkFBNkIsQ0FBQzs7QUFHM0QsTUFBTSxnQkFBZ0IsR0FBVSxFQUFFLENBQUE7QUFVbEMsTUFBTSxPQUFPLG1CQUFtQjs7aUhBQW5CLG1CQUFtQjtrSEFBbkIsbUJBQW1CLGlCQVBJLGNBQWMsYUFFOUMsWUFBWTtrSEFLSCxtQkFBbUIsWUFOckI7WUFDUCxZQUFZO1NBQ2I7NEZBSVUsbUJBQW1CO2tCQVIvQixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBQyxDQUFDLEdBQUcsZ0JBQWdCLEVBQUMsY0FBYyxDQUFDO29CQUNqRCxPQ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NUIsWUFBWTtrSEFLSCxtQkFBbUIsWUFOckI7WUFDUCxZQUFZO1NBQ2I7NEZBSVUsbUJBQW1CO2tCQVIvQixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBQyxDQUFDLEdBQUcsZ0JBQWdCLENBQUM7b0JBQ2xDLE9BQU8sRUFBRTt3QkFDUCxZQUFZO3FCQUNiO29CQUNELE9BQU8sRUFBRSxnQkFBZ0I7aUJBRTFCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0NvbW1vbk1vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcblxuXG5jb25zdCBDT01NT05fQ09NUE9ORU5UOiBhbnlbXSA9IFtdXG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczpbLi4uQ09NTU9OX0NPTVBPTkVOVF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGVcbiAgXSxcbiAgZXhwb3J0czogQ09NTU9OX0NPTVBPTkVOVFxuXG59KVxuZXhwb3J0IGNsYXNzIEF0ckNvbXBvbmVudHNNb2R1bGUge1xufVxuIl19
@@ -0,0 +1,12 @@
1
+ export const atr_static_datas = {
2
+ test: '1'
3
+ };
4
+ export var UserAction;
5
+ (function (UserAction) {
6
+ UserAction[UserAction["ADD"] = 0] = "ADD";
7
+ UserAction[UserAction["EDIT"] = 1] = "EDIT";
8
+ UserAction[UserAction["DEL"] = 2] = "DEL";
9
+ UserAction[UserAction["QUERY"] = 3] = "QUERY";
10
+ UserAction[UserAction["SUPPERADD"] = 4] = "SUPPERADD";
11
+ })(UserAction || (UserAction = {}));
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRyLWNvbW1vbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2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VtYmVyXHJcbiAgemhvdTQ6IG51bWJlclxyXG4gIHpob3U1OiBudW1iZXJcclxuICB6aG91NjogbnVtYmVyXHJcbiAgaXNXcm9uZzE/OiBib29sZWFuXHJcbiAgaXNXcm9uZzI/OiBib29sZWFuXHJcbiAgaXNXcm9uZzM/OiBib29sZWFuXHJcbiAgaXNXcm9uZzQ/OiBib29sZWFuXHJcbiAgaXNXcm9uZzU/OiBib29sZWFuXHJcbiAgaXNXcm9uZzY/OiBib29sZWFuXHJcbn1cclxuXHJcblxyXG5leHBvcnQgZGVjbGFyZSBpbnRlcmZhY2UgU2VsZWN0QWN0aW9uIHtcclxuICBuYW1lOiBzdHJpbmcsXHJcbiAgY29kZTogXCJuZ01vZGVsQ2hhbmdlXCIgfCAnbnpPcGVuQ2hhbmdlJyxcclxuICBkYXRhPzogYW55LFxyXG4gIGtleT86IHN0cmluZyxcclxufVxyXG4iXX0=
@@ -1,14 +1,17 @@
1
1
  import { Component } from '@angular/core';
2
+ import { atr_static_datas } from "../../core/base/atr-common";
2
3
  import * as i0 from "@angular/core";
3
4
  export class HelloComponent {
4
- constructor() { }
5
+ constructor() {
6
+ this.test = atr_static_datas.test;
7
+ }
5
8
  ngOnInit() {
6
9
  }
7
10
  }
8
11
  HelloComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- HelloComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HelloComponent, selector: "atr-hello", ngImport: i0, template: "<p>hello works!</p>\n", styles: [""] });
12
+ HelloComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HelloComponent, selector: "atr-hello", ngImport: i0, template: "<p>hello works!</p>\n<p>\u6D4B\u8BD5:{{test}}</p>\n", styles: [""] });
10
13
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, decorators: [{
11
14
  type: Component,
12
- args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n", styles: [""] }]
15
+ args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n<p>\u6D4B\u8BD5:{{test}}</p>\n", styles: [""] }]
13
16
  }], ctorParameters: function () { return []; } });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVsbG8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9zcmMvbGliL2hlbGxvL2hlbGxvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvc3JjL2xpYi9oZWxsby9oZWxsby5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDOztBQU9sRCxNQUFNLE9BQU8sY0FBYztJQUV6QixnQkFBZ0IsQ0FBQztJQUVqQixRQUFRO0lBQ1IsQ0FBQzs7NEdBTFUsY0FBYztnR0FBZCxjQUFjLGlEQ1AzQix1QkFDQTs0RkRNYSxjQUFjO2tCQUwxQixTQUFTOytCQUNFLFdBQVciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdhdHItaGVsbG8nLFxuICB0ZW1wbGF0ZVVybDogJy4vaGVsbG8uY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9oZWxsby5jb21wb25lbnQuY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgSGVsbG9Db21wb25lbnQgaW1wbGVtZW50cyBPb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mVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vaGVsbG8uY29tcG9uZW50LmNzcyddXG59KVxuZXhwb3J0IGNsYXNzIEhlbGxvQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgdGVzdCA9IGF0cl9zdGF0aWNfZGF0YXMudGVzdDtcblxuICBjb25zdHJ1Y3RvcigpIHtcbiAgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICB9XG5cbn1cbiIsIjxwPmhlbGxvIHdvcmtzITwvcD5cbjxwPua1i+ivlTp7e3Rlc3R9fTwvcD5cbiJdfQ==
@@ -1,20 +1,22 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
+ import { HelloComponent } from "./hello.component";
3
4
  import * as i0 from "@angular/core";
4
5
  export class HelloModule {
5
6
  }
6
7
  HelloModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- HelloModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, imports: [CommonModule] });
8
+ HelloModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, declarations: [HelloComponent], imports: [CommonModule], exports: [HelloComponent] });
8
9
  HelloModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, imports: [[
9
10
  CommonModule
10
11
  ]] });
11
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, decorators: [{
12
13
  type: NgModule,
13
14
  args: [{
14
- declarations: [],
15
+ declarations: [HelloComponent],
15
16
  imports: [
16
17
  CommonModule
17
- ]
18
+ ],
19
+ exports: [HelloComponent]
18
20
  }]
19
21
  }] });
20
- //# s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sZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sbUJBQW1CLENBQUM7O0FBV2pELE1BQU0sT0FBTyxXQUFXOzt5R0FBWCxXQUFXOzBHQUFYLFdBQVcsaUJBTlAsY0FBYyxhQUUzQixZQUFZLGFBRUwsY0FBYzswR0FFWixXQUFXLFlBTGI7WUFDUCxZQUFZO1NBQ2I7NEZBR1UsV0FBVztrQkFQdkIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxjQUFjLENBQUM7b0JBQzlCLE9BQU8sRUFBRTt3QkFDUCxZQUFZO3FCQUNiO29CQUNELE9BQU8sRUFBQyxDQUFDLGNBQWMsQ0FBQztpQkFDekIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7SGVsbG9Db21wb25lbnR9IGZyb20gXCIuL2hlbGxvLmNvbXBvbmVudFwiO1xuXG5cblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbSGVsbG9Db21wb25lbnRdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlXG4gIF0sXG4gIGV4cG9ydHM6W0hlbGxvQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBIZWxsb01vZHVsZSB7IH1cbiJdfQ==
@@ -1,31 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, NgModule } from '@angular/core';
2
+ import { NgModule, Component } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
4
 
5
- class HelloComponent {
6
- constructor() { }
7
- ngOnInit() {
8
- }
9
- }
10
- HelloComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- HelloComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HelloComponent, selector: "atr-hello", ngImport: i0, template: "<p>hello works!</p>\n", styles: [""] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, decorators: [{
13
- type: Component,
14
- args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n", styles: [""] }]
15
- }], ctorParameters: function () { return []; } });
16
-
17
5
  const COMMON_COMPONENT = [];
18
6
  class AtrComponentsModule {
19
7
  }
20
8
  AtrComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- AtrComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, declarations: [HelloComponent], imports: [CommonModule] });
9
+ AtrComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, imports: [CommonModule] });
22
10
  AtrComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, imports: [[
23
11
  CommonModule
24
12
  ]] });
25
13
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, decorators: [{
26
14
  type: NgModule,
27
15
  args: [{
28
- declarations: [...COMMON_COMPONENT, HelloComponent],
16
+ declarations: [...COMMON_COMPONENT],
29
17
  imports: [
30
18
  CommonModule
31
19
  ],
@@ -33,20 +21,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
33
21
  }]
34
22
  }] });
35
23
 
24
+ const atr_static_datas = {
25
+ test: '1'
26
+ };
27
+ var UserAction;
28
+ (function (UserAction) {
29
+ UserAction[UserAction["ADD"] = 0] = "ADD";
30
+ UserAction[UserAction["EDIT"] = 1] = "EDIT";
31
+ UserAction[UserAction["DEL"] = 2] = "DEL";
32
+ UserAction[UserAction["QUERY"] = 3] = "QUERY";
33
+ UserAction[UserAction["SUPPERADD"] = 4] = "SUPPERADD";
34
+ })(UserAction || (UserAction = {}));
35
+
36
+ class HelloComponent {
37
+ constructor() {
38
+ this.test = atr_static_datas.test;
39
+ }
40
+ ngOnInit() {
41
+ }
42
+ }
43
+ HelloComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
44
+ HelloComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HelloComponent, selector: "atr-hello", ngImport: i0, template: "<p>hello works!</p>\n<p>\u6D4B\u8BD5:{{test}}</p>\n", styles: [""] });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, decorators: [{
46
+ type: Component,
47
+ args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n<p>\u6D4B\u8BD5:{{test}}</p>\n", styles: [""] }]
48
+ }], ctorParameters: function () { return []; } });
49
+
36
50
  class HelloModule {
37
51
  }
38
52
  HelloModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
39
- HelloModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, imports: [CommonModule] });
53
+ HelloModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, declarations: [HelloComponent], imports: [CommonModule], exports: [HelloComponent] });
40
54
  HelloModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, imports: [[
41
55
  CommonModule
42
56
  ]] });
43
57
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, decorators: [{
44
58
  type: NgModule,
45
59
  args: [{
46
- declarations: [],
60
+ declarations: [HelloComponent],
47
61
  imports: [
48
62
  CommonModule
49
- ]
63
+ ],
64
+ exports: [HelloComponent]
50
65
  }]
51
66
  }] });
52
67
 
@@ -1 +1 @@
1
- {"version":3,"file":"atr-components.mjs","sources":["../../../projects/components/src/lib/hello/hello.component.ts","../../../projects/components/src/lib/hello/hello.component.html","../../../projects/components/src/atr-components.module.ts","../../../projects/components/src/lib/hello/hello.module.ts","../../../projects/components/src/public-api.ts","../../../projects/components/src/atr-components.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'atr-hello',\n templateUrl: './hello.component.html',\n styleUrls: ['./hello.component.css']\n})\nexport class HelloComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","<p>hello works!</p>\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {HelloComponent} from \"./lib/hello/hello.component\";\n\n\nconst COMMON_COMPONENT: any[] = []\n\n@NgModule({\n declarations:[...COMMON_COMPONENT,HelloComponent],\n imports: [\n CommonModule\n ],\n exports: COMMON_COMPONENT\n\n})\nexport class AtrComponentsModule {\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n\n\n@NgModule({\n declarations: [],\n imports: [\n CommonModule\n ]\n})\nexport class HelloModule { }\n","/*\n * Public API Surface of components\n */\n\nexport * from './atr-components.module';\nexport * from './lib/hello/hello.module';\nexport { HelloComponent } from './lib/hello/hello.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;4GALU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,iDCP3B,uBACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDMa,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,SAAS;+BACE,WAAW,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;;AEEvB,MAAM,gBAAgB,GAAU,EAAE,CAAA;MAUrB,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAAnB,mBAAmB,EAAA,YAAA,EAAA,CAPI,cAAc,CAAA,EAAA,OAAA,EAAA,CAE9C,YAAY,CAAA,EAAA,CAAA,CAAA;AAKH,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EANrB,OAAA,EAAA,CAAA;YACP,YAAY;SACb,CAAA,EAAA,CAAA,CAAA;4FAIU,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAC,CAAC,GAAG,gBAAgB,EAAC,cAAc,CAAC;AACjD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE,gBAAgB;iBAE1B,CAAA;;;MCHY,WAAW,CAAA;;yGAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAX,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAHpB,YAAY,CAAA,EAAA,CAAA,CAAA;AAGH,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EAJb,OAAA,EAAA,CAAA;YACP,YAAY;SACb,CAAA,EAAA,CAAA,CAAA;4FAEU,WAAW,EAAA,UAAA,EAAA,CAAA;kBANvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;iBACF,CAAA;;;ACVD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"atr-components.mjs","sources":["../../../projects/components/src/atr-components.module.ts","../../../projects/components/src/core/base/atr-common.ts","../../../projects/components/src/lib/hello/hello.component.ts","../../../projects/components/src/lib/hello/hello.component.html","../../../projects/components/src/lib/hello/hello.module.ts","../../../projects/components/src/public-api.ts","../../../projects/components/src/atr-components.ts"],"sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\n\nconst COMMON_COMPONENT: any[] = []\n\n@NgModule({\n declarations:[...COMMON_COMPONENT],\n imports: [\n CommonModule\n ],\n exports: COMMON_COMPONENT\n\n})\nexport class AtrComponentsModule {\n}\n","export const atr_static_datas = {\r\n test: '1'\r\n};\r\n\r\nexport declare interface json extends Object {\r\n [key: string]: any\r\n}\r\n\r\nexport declare interface ServerPaginationStandard {\r\n currentPage: number;\r\n showCount: number;\r\n totalResult: number;\r\n totalPage?: number;\r\n}\r\n\r\nexport declare interface HttpResponseDataStandard {\r\n state: number; // 为1才是成功\r\n data: json | [{}] | object | string | any; //没有值 data: ''\r\n mess: string; //返回的消息\r\n page?: ServerPaginationStandard;\r\n}\r\n\r\n\r\nexport declare interface HttpRseponseTransformCell {\r\n [key: string]: json\r\n}\r\n\r\nexport declare interface HttpOptions {\r\n headers?: {},\r\n isJsonEncode?: boolean\r\n isUrlEncode?: boolean\r\n isAutoShowMessage?: boolean\r\n isWithCredentials?: boolean\r\n isCommonHttpHeader?: boolean\r\n}\r\n\r\nexport enum UserAction {\r\n ADD,\r\n EDIT,\r\n DEL,\r\n QUERY,\r\n SUPPERADD\r\n}\r\n\r\nexport declare interface AtrFormOpt {\r\n type: 'add' | 'edit' | 'view',\r\n layout?: \"full\" | '1l2c' | '1l1c',\r\n items: AtrFormDetail[],//表单项目\r\n}\r\n\r\nexport declare interface AtrFormDetail {\r\n label: string,\r\n type: 'cascader' | 'radio' | 'text' | 'image' | 'select' | 'date' | 'number' | 'telphone' | 'password' | 'checkbox' | 'editor' | 'textarea' | 'dateTime' | 'title' | 'dateRange' | 'selectc',\r\n key: string,\r\n isHidden?: boolean,\r\n defaultValue?: any,\r\n value?: any,//编辑下原始数值\r\n dictCode?: string,//select 模式下配置\r\n span?: number,//显示宽度\r\n validators?: AtrFormValid[],//验证条件\r\n isRequired?: boolean | string,//隐性条件 无需填写, string类型格式同operator\r\n placeholder?: string,\r\n imageOpts?: ImageOpts,\r\n editContent?: string,\r\n height?: number,//editor有效\r\n disable?: boolean,\r\n lspan?: number,\r\n cspan?: number,\r\n rows?: number,//textarea 显示行数\r\n operator?: string,//显示操作符 格式 如:status|eq|0\r\n button?: formButton,\r\n readonly?: boolean,\r\n dateFormat?: string,\r\n dictList?: CusDict[],\r\n selectUrl?: { url: string, convert?: string, type?: 'get' | 'post', host?: 'oss' | 'serve', isMultiple?: boolean },\r\n treeList?: { key: string, title: string }[],\r\n ends?: string,\r\n proposal?: string,\r\n temp?: any,\r\n notNull?: boolean\r\n\r\n}\r\n\r\nexport declare interface AtrFormValid {\r\n type: 'required' | 'email' | 'telphone' | 'maxlength' | 'minlength' | 'pattern' | 'operator',\r\n errorLabel: string,\r\n maxlength?: number,\r\n minlength?: number,\r\n patternValue?: string\r\n}\r\n\r\nexport declare interface formButton {\r\n name: string,\r\n isShow: boolean,\r\n code: string\r\n}\r\n\r\nexport declare interface colorOperator {\r\n color: string,\r\n operator: string,//规则\r\n}\r\n\r\nexport declare interface AtrQueyrOpt {\r\n actions?: TableAction[],\r\n isIndex?: boolean,//是否显示序号,\r\n color?: colorOperator,//颜色\r\n checkBox?: {\r\n isShowCheckbox?: boolean,\r\n isRadio?: boolean,\r\n isForbid?: boolean,//true时只允许点击多选框选择\r\n },\r\n // isShowCheckbox?: boolean,\r\n showNum?: number,\r\n url: string,\r\n sort?: string,\r\n headers?: AtrQueryHeader[],\r\n tables: Table[],\r\n isAutoQuery?: boolean,//true时候默认触发查询\r\n defaultParams?: json,\r\n isHideQuery?: boolean\r\n // isRadio?:boolean,\r\n // isForbid?:boolean,//true时只允许点击多选框选择\r\n}\r\n\r\nexport declare interface Table {\r\n name: string,//表头名称\r\n key?: string,//实际数据字段\r\n defaultVal?: any,\r\n sortKey?: string,//是否排序\r\n sortable?: boolean,\r\n type: 'textcolor' | 'fixedText' | 'text' | 'link' | 'action' | 'image' | 'date' | 'dateTime' | 'sDateTime' | 'dict',//类型: 文字、链接、操作\r\n dictCode?: string,\r\n isShow?: boolean,\r\n width?: string,//150px\r\n actions?: TableAction[],\r\n isRowSpan?: boolean,\r\n isRight?: boolean\r\n isLeft?: boolean,\r\n color?: colorOperator,//颜色\r\n colorShow?: string,\r\n}\r\n\r\nexport declare interface AtrQueryHeader {\r\n name: string,\r\n type: 'cascader' | 'text' | 'number' | 'checkbox' | 'select' | 'datepicker' | 'selectCus' | 'dateRange' | 'sdate' | 'treeSelect',\r\n key: string,\r\n isShow?: boolean,\r\n code?: string,\r\n placeholder?: string,\r\n span?: number,\r\n dictCode?: string,//字典编码\r\n dictList?: CusDict[],\r\n defaultVal?: any // 默认值\r\n maxTagCount?: number,\r\n lspan?: number,\r\n cspan?: number,\r\n disableClear?: boolean,\r\n treeList?: { key: string, title: string }[]\r\n /**\r\n * 格式\r\n * convert:'key|id,title|realName'(treeSelect)\r\n * value|id,label|name(selectCus)\r\n */\r\n selectUrl?: { url: string, convert: string, isMultiple?: boolean },//convert: newKey|oldKey,newKey|oldKey(接口返回的值)\r\n icon?: { isShow: boolean, code: string, icon: any },\r\n dateMode?: 'week' | 'month' | 'year',\r\n}\r\n\r\nexport declare interface TableAction {\r\n name: string,\r\n code: string,\r\n url?: string,\r\n gType?: 'normal' | 'upload',\r\n data?: any,\r\n datas?: any[],\r\n icon?: string,\r\n numberOfChecked?: number,\r\n type?: 'rows' | 'row',\r\n operator?: string,//显示操作符\r\n buttonType?: 'primary' | 'dashed' | 'danger' | 'default' | 'link',\r\n value?: any,\r\n withoutRole?: boolean//不需要权限控制\r\n}\r\n\r\nexport declare interface FormAction {\r\n name: string,\r\n code: string\r\n}\r\n\r\nexport declare interface Dict {\r\n id: string,\r\n typeName: string,\r\n\r\n}\r\n\r\nexport declare interface DictGroup {\r\n groupCode: string,\r\n dicts: Dict[]\r\n}\r\n\r\nexport declare interface CusDict {\r\n label: string,\r\n value: string,\r\n}\r\n\r\nexport declare interface ImageOpts {\r\n limit?: number,\r\n uploadDir: string,\r\n removeAction?: string,\r\n imageList?: any[],\r\n key?: string,\r\n labe?: string,\r\n fileName?: string,\r\n uploadType?: 'drag' | '',\r\n nzFileType?: string\r\n}\r\n\r\nexport declare interface equipTestData {\r\n code: string\r\n itemName: string\r\n zhou1: number\r\n zhou2: number\r\n zhou3: number\r\n zhou4: number\r\n zhou5: number\r\n zhou6: number\r\n isWrong1?: boolean\r\n isWrong2?: boolean\r\n isWrong3?: boolean\r\n isWrong4?: boolean\r\n isWrong5?: boolean\r\n isWrong6?: boolean\r\n}\r\n\r\n\r\nexport declare interface SelectAction {\r\n name: string,\r\n code: \"ngModelChange\" | 'nzOpenChange',\r\n data?: any,\r\n key?: string,\r\n}\r\n","import {Component, OnInit} from '@angular/core';\nimport {atr_static_datas} from \"../../core/base/atr-common\";\n\n@Component({\n selector: 'atr-hello',\n templateUrl: './hello.component.html',\n styleUrls: ['./hello.component.css']\n})\nexport class HelloComponent implements OnInit {\n test = atr_static_datas.test;\n\n constructor() {\n }\n\n ngOnInit(): void {\n }\n\n}\n","<p>hello works!</p>\n<p>测试:{{test}}</p>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {HelloComponent} from \"./hello.component\";\n\n\n\n@NgModule({\n declarations: [HelloComponent],\n imports: [\n CommonModule\n ],\n exports:[HelloComponent]\n})\nexport class HelloModule { }\n","/*\n * Public API Surface of components\n */\n\nexport * from './atr-components.module';\nexport * from './lib/hello/hello.module';\nexport { HelloComponent } from './lib/hello/hello.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAIA,MAAM,gBAAgB,GAAU,EAAE,CAAA;MAUrB,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAL5B,YAAY,CAAA,EAAA,CAAA,CAA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19 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, NgModule } from '@angular/core';
2
+ import { NgModule, Component } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
4
 
5
- class HelloComponent {
6
- constructor() { }
7
- ngOnInit() {
8
- }
9
- }
10
- HelloComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- HelloComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HelloComponent, selector: "atr-hello", ngImport: i0, template: "<p>hello works!</p>\n", styles: [""] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, decorators: [{
13
- type: Component,
14
- args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n", styles: [""] }]
15
- }], ctorParameters: function () { return []; } });
16
-
17
5
  const COMMON_COMPONENT = [];
18
6
  class AtrComponentsModule {
19
7
  }
20
8
  AtrComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- AtrComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, declarations: [HelloComponent], imports: [CommonModule] });
9
+ AtrComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, imports: [CommonModule] });
22
10
  AtrComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, imports: [[
23
11
  CommonModule
24
12
  ]] });
25
13
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AtrComponentsModule, decorators: [{
26
14
  type: NgModule,
27
15
  args: [{
28
- declarations: [...COMMON_COMPONENT, HelloComponent],
16
+ declarations: [...COMMON_COMPONENT],
29
17
  imports: [
30
18
  CommonModule
31
19
  ],
@@ -33,20 +21,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
33
21
  }]
34
22
  }] });
35
23
 
24
+ const atr_static_datas = {
25
+ test: '1'
26
+ };
27
+ var UserAction;
28
+ (function (UserAction) {
29
+ UserAction[UserAction["ADD"] = 0] = "ADD";
30
+ UserAction[UserAction["EDIT"] = 1] = "EDIT";
31
+ UserAction[UserAction["DEL"] = 2] = "DEL";
32
+ UserAction[UserAction["QUERY"] = 3] = "QUERY";
33
+ UserAction[UserAction["SUPPERADD"] = 4] = "SUPPERADD";
34
+ })(UserAction || (UserAction = {}));
35
+
36
+ class HelloComponent {
37
+ constructor() {
38
+ this.test = atr_static_datas.test;
39
+ }
40
+ ngOnInit() {
41
+ }
42
+ }
43
+ HelloComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
44
+ HelloComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HelloComponent, selector: "atr-hello", ngImport: i0, template: "<p>hello works!</p>\n<p>\u6D4B\u8BD5:{{test}}</p>\n", styles: [""] });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, decorators: [{
46
+ type: Component,
47
+ args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n<p>\u6D4B\u8BD5:{{test}}</p>\n", styles: [""] }]
48
+ }], ctorParameters: function () { return []; } });
49
+
36
50
  class HelloModule {
37
51
  }
38
52
  HelloModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
39
- HelloModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, imports: [CommonModule] });
53
+ HelloModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, declarations: [HelloComponent], imports: [CommonModule], exports: [HelloComponent] });
40
54
  HelloModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, imports: [[
41
55
  CommonModule
42
56
  ]] });
43
57
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloModule, decorators: [{
44
58
  type: NgModule,
45
59
  args: [{
46
- declarations: [],
60
+ declarations: [HelloComponent],
47
61
  imports: [
48
62
  CommonModule
49
- ]
63
+ ],
64
+ exports: [HelloComponent]
50
65
  }]
51
66
  }] });
52
67
 
@@ -1 +1 @@
1
- {"version":3,"file":"atr-components.mjs","sources":["../../../projects/components/src/lib/hello/hello.component.ts","../../../projects/components/src/lib/hello/hello.component.html","../../../projects/components/src/atr-components.module.ts","../../../projects/components/src/lib/hello/hello.module.ts","../../../projects/components/src/public-api.ts","../../../projects/components/src/atr-components.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'atr-hello',\n templateUrl: './hello.component.html',\n styleUrls: ['./hello.component.css']\n})\nexport class HelloComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","<p>hello works!</p>\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {HelloComponent} from \"./lib/hello/hello.component\";\n\n\nconst COMMON_COMPONENT: any[] = []\n\n@NgModule({\n declarations:[...COMMON_COMPONENT,HelloComponent],\n imports: [\n CommonModule\n ],\n exports: COMMON_COMPONENT\n\n})\nexport class AtrComponentsModule {\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n\n\n@NgModule({\n declarations: [],\n imports: [\n CommonModule\n ]\n})\nexport class HelloModule { }\n","/*\n * Public API Surface of components\n */\n\nexport * from './atr-components.module';\nexport * from './lib/hello/hello.module';\nexport { HelloComponent } from './lib/hello/hello.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,cAAc,CAAA;AAEzB,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;4GALU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,iDCP3B,uBACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDMa,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,SAAS;+BACE,WAAW,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;;AEEvB,MAAM,gBAAgB,GAAU,EAAE,CAAA;MAUrB,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAAnB,mBAAmB,EAAA,YAAA,EAAA,CAPI,cAAc,CAAA,EAAA,OAAA,EAAA,CAE9C,YAAY,CAAA,EAAA,CAAA,CAAA;AAKH,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EANrB,OAAA,EAAA,CAAA;YACP,YAAY;AACb,SAAA,CAAA,EAAA,CAAA,CAAA;4FAIU,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAC,CAAC,GAAG,gBAAgB,EAAC,cAAc,CAAC;AACjD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE,gBAAgB;AAE1B,iBAAA,CAAA;;;MCHY,WAAW,CAAA;;yGAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAX,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAHpB,YAAY,CAAA,EAAA,CAAA,CAAA;AAGH,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EAJb,OAAA,EAAA,CAAA;YACP,YAAY;AACb,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,WAAW,EAAA,UAAA,EAAA,CAAA;kBANvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACF,iBAAA,CAAA;;;ACVD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"atr-components.mjs","sources":["../../../projects/components/src/atr-components.module.ts","../../../projects/components/src/core/base/atr-common.ts","../../../projects/components/src/lib/hello/hello.component.ts","../../../projects/components/src/lib/hello/hello.component.html","../../../projects/components/src/lib/hello/hello.module.ts","../../../projects/components/src/public-api.ts","../../../projects/components/src/atr-components.ts"],"sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\n\nconst COMMON_COMPONENT: any[] = []\n\n@NgModule({\n declarations:[...COMMON_COMPONENT],\n imports: [\n CommonModule\n ],\n exports: COMMON_COMPONENT\n\n})\nexport class AtrComponentsModule {\n}\n","export const atr_static_datas = {\r\n test: '1'\r\n};\r\n\r\nexport declare interface json extends Object {\r\n [key: string]: any\r\n}\r\n\r\nexport declare interface ServerPaginationStandard {\r\n currentPage: number;\r\n showCount: number;\r\n totalResult: number;\r\n totalPage?: number;\r\n}\r\n\r\nexport declare interface HttpResponseDataStandard {\r\n state: number; // 为1才是成功\r\n data: json | [{}] | object | string | any; //没有值 data: ''\r\n mess: string; //返回的消息\r\n page?: ServerPaginationStandard;\r\n}\r\n\r\n\r\nexport declare interface HttpRseponseTransformCell {\r\n [key: string]: json\r\n}\r\n\r\nexport declare interface HttpOptions {\r\n headers?: {},\r\n isJsonEncode?: boolean\r\n isUrlEncode?: boolean\r\n isAutoShowMessage?: boolean\r\n isWithCredentials?: boolean\r\n isCommonHttpHeader?: boolean\r\n}\r\n\r\nexport enum UserAction {\r\n ADD,\r\n EDIT,\r\n DEL,\r\n QUERY,\r\n SUPPERADD\r\n}\r\n\r\nexport declare interface AtrFormOpt {\r\n type: 'add' | 'edit' | 'view',\r\n layout?: \"full\" | '1l2c' | '1l1c',\r\n items: AtrFormDetail[],//表单项目\r\n}\r\n\r\nexport declare interface AtrFormDetail {\r\n label: string,\r\n type: 'cascader' | 'radio' | 'text' | 'image' | 'select' | 'date' | 'number' | 'telphone' | 'password' | 'checkbox' | 'editor' | 'textarea' | 'dateTime' | 'title' | 'dateRange' | 'selectc',\r\n key: string,\r\n isHidden?: boolean,\r\n defaultValue?: any,\r\n value?: any,//编辑下原始数值\r\n dictCode?: string,//select 模式下配置\r\n span?: number,//显示宽度\r\n validators?: AtrFormValid[],//验证条件\r\n isRequired?: boolean | string,//隐性条件 无需填写, string类型格式同operator\r\n placeholder?: string,\r\n imageOpts?: ImageOpts,\r\n editContent?: string,\r\n height?: number,//editor有效\r\n disable?: boolean,\r\n lspan?: number,\r\n cspan?: number,\r\n rows?: number,//textarea 显示行数\r\n operator?: string,//显示操作符 格式 如:status|eq|0\r\n button?: formButton,\r\n readonly?: boolean,\r\n dateFormat?: string,\r\n dictList?: CusDict[],\r\n selectUrl?: { url: string, convert?: string, type?: 'get' | 'post', host?: 'oss' | 'serve', isMultiple?: boolean },\r\n treeList?: { key: string, title: string }[],\r\n ends?: string,\r\n proposal?: string,\r\n temp?: any,\r\n notNull?: boolean\r\n\r\n}\r\n\r\nexport declare interface AtrFormValid {\r\n type: 'required' | 'email' | 'telphone' | 'maxlength' | 'minlength' | 'pattern' | 'operator',\r\n errorLabel: string,\r\n maxlength?: number,\r\n minlength?: number,\r\n patternValue?: string\r\n}\r\n\r\nexport declare interface formButton {\r\n name: string,\r\n isShow: boolean,\r\n code: string\r\n}\r\n\r\nexport declare interface colorOperator {\r\n color: string,\r\n operator: string,//规则\r\n}\r\n\r\nexport declare interface AtrQueyrOpt {\r\n actions?: TableAction[],\r\n isIndex?: boolean,//是否显示序号,\r\n color?: colorOperator,//颜色\r\n checkBox?: {\r\n isShowCheckbox?: boolean,\r\n isRadio?: boolean,\r\n isForbid?: boolean,//true时只允许点击多选框选择\r\n },\r\n // isShowCheckbox?: boolean,\r\n showNum?: number,\r\n url: string,\r\n sort?: string,\r\n headers?: AtrQueryHeader[],\r\n tables: Table[],\r\n isAutoQuery?: boolean,//true时候默认触发查询\r\n defaultParams?: json,\r\n isHideQuery?: boolean\r\n // isRadio?:boolean,\r\n // isForbid?:boolean,//true时只允许点击多选框选择\r\n}\r\n\r\nexport declare interface Table {\r\n name: string,//表头名称\r\n key?: string,//实际数据字段\r\n defaultVal?: any,\r\n sortKey?: string,//是否排序\r\n sortable?: boolean,\r\n type: 'textcolor' | 'fixedText' | 'text' | 'link' | 'action' | 'image' | 'date' | 'dateTime' | 'sDateTime' | 'dict',//类型: 文字、链接、操作\r\n dictCode?: string,\r\n isShow?: boolean,\r\n width?: string,//150px\r\n actions?: TableAction[],\r\n isRowSpan?: boolean,\r\n isRight?: boolean\r\n isLeft?: boolean,\r\n color?: colorOperator,//颜色\r\n colorShow?: string,\r\n}\r\n\r\nexport declare interface AtrQueryHeader {\r\n name: string,\r\n type: 'cascader' | 'text' | 'number' | 'checkbox' | 'select' | 'datepicker' | 'selectCus' | 'dateRange' | 'sdate' | 'treeSelect',\r\n key: string,\r\n isShow?: boolean,\r\n code?: string,\r\n placeholder?: string,\r\n span?: number,\r\n dictCode?: string,//字典编码\r\n dictList?: CusDict[],\r\n defaultVal?: any // 默认值\r\n maxTagCount?: number,\r\n lspan?: number,\r\n cspan?: number,\r\n disableClear?: boolean,\r\n treeList?: { key: string, title: string }[]\r\n /**\r\n * 格式\r\n * convert:'key|id,title|realName'(treeSelect)\r\n * value|id,label|name(selectCus)\r\n */\r\n selectUrl?: { url: string, convert: string, isMultiple?: boolean },//convert: newKey|oldKey,newKey|oldKey(接口返回的值)\r\n icon?: { isShow: boolean, code: string, icon: any },\r\n dateMode?: 'week' | 'month' | 'year',\r\n}\r\n\r\nexport declare interface TableAction {\r\n name: string,\r\n code: string,\r\n url?: string,\r\n gType?: 'normal' | 'upload',\r\n data?: any,\r\n datas?: any[],\r\n icon?: string,\r\n numberOfChecked?: number,\r\n type?: 'rows' | 'row',\r\n operator?: string,//显示操作符\r\n buttonType?: 'primary' | 'dashed' | 'danger' | 'default' | 'link',\r\n value?: any,\r\n withoutRole?: boolean//不需要权限控制\r\n}\r\n\r\nexport declare interface FormAction {\r\n name: string,\r\n code: string\r\n}\r\n\r\nexport declare interface Dict {\r\n id: string,\r\n typeName: string,\r\n\r\n}\r\n\r\nexport declare interface DictGroup {\r\n groupCode: string,\r\n dicts: Dict[]\r\n}\r\n\r\nexport declare interface CusDict {\r\n label: string,\r\n value: string,\r\n}\r\n\r\nexport declare interface ImageOpts {\r\n limit?: number,\r\n uploadDir: string,\r\n removeAction?: string,\r\n imageList?: any[],\r\n key?: string,\r\n labe?: string,\r\n fileName?: string,\r\n uploadType?: 'drag' | '',\r\n nzFileType?: string\r\n}\r\n\r\nexport declare interface equipTestData {\r\n code: string\r\n itemName: string\r\n zhou1: number\r\n zhou2: number\r\n zhou3: number\r\n zhou4: number\r\n zhou5: number\r\n zhou6: number\r\n isWrong1?: boolean\r\n isWrong2?: boolean\r\n isWrong3?: boolean\r\n isWrong4?: boolean\r\n isWrong5?: boolean\r\n isWrong6?: boolean\r\n}\r\n\r\n\r\nexport declare interface SelectAction {\r\n name: string,\r\n code: \"ngModelChange\" | 'nzOpenChange',\r\n data?: any,\r\n key?: string,\r\n}\r\n","import {Component, OnInit} from '@angular/core';\nimport {atr_static_datas} from \"../../core/base/atr-common\";\n\n@Component({\n selector: 'atr-hello',\n templateUrl: './hello.component.html',\n styleUrls: ['./hello.component.css']\n})\nexport class HelloComponent implements OnInit {\n test = atr_static_datas.test;\n\n constructor() {\n }\n\n ngOnInit(): void {\n }\n\n}\n","<p>hello works!</p>\n<p>测试:{{test}}</p>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {HelloComponent} from \"./hello.component\";\n\n\n\n@NgModule({\n declarations: [HelloComponent],\n imports: [\n CommonModule\n ],\n exports:[HelloComponent]\n})\nexport class HelloModule { }\n","/*\n * Public API Surface of components\n */\n\nexport * from './atr-components.module';\nexport * from './lib/hello/hello.module';\nexport { HelloComponent } from './lib/hello/hello.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAIA,MAAM,gBAAgB,GAAU,EAAE,CAAA;MAUrB,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EA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AAC,cAAc,CAAC;AAC9B,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;oBACD,OAAO,EAAC,CAAC,cAAc,CAAC;AACzB,iBAAA,CAAA;;;ACZD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,6 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class HelloComponent implements OnInit {
4
+ test: string;
4
5
  constructor();
5
6
  ngOnInit(): void;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<HelloComponent, never>;
@@ -1,7 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
2
+ import * as i1 from "./hello.component";
3
+ import * as i2 from "@angular/common";
3
4
  export declare class HelloModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<HelloModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<HelloModule, never, [typeof i1.CommonModule], never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HelloModule, [typeof i1.HelloComponent], [typeof i2.CommonModule], [typeof i1.HelloComponent]>;
6
7
  static ɵinj: i0.ɵɵInjectorDeclaration<HelloModule>;
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atr-components",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.3.0",
6
6
  "@angular/core": "^13.3.0"