atr-components 0.0.10 → 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.
- package/core/base/atr-common.d.ts +232 -0
- package/esm2020/core/base/atr-common.mjs +12 -0
- package/esm2020/lib/hello/hello.component.mjs +7 -4
- package/fesm2015/atr-components.mjs +17 -3
- package/fesm2015/atr-components.mjs.map +1 -1
- package/fesm2020/atr-components.mjs +17 -3
- package/fesm2020/atr-components.mjs.map +1 -1
- package/lib/hello/hello.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRyLWNvbW1vbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvc3JjL2NvcmUvYmFzZS9hdHItY29tbW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHO0lBQzlCLElBQUksRUFBRSxHQUFHO0NBQ1YsQ0FBQztBQWtDRixNQUFNLENBQU4sSUFBWSxVQU1YO0FBTkQsV0FBWSxVQUFVO0lBQ3BCLHlDQUFHLENBQUE7SUFDSCwyQ0FBSSxDQUFBO0lBQ0oseUNBQUcsQ0FBQTtJQUNILDZDQUFLLENBQUE7SUFDTCxxREFBUyxDQUFBO0FBQ1gsQ0FBQyxFQU5XLFVBQVUsS0FBVixVQUFVLFFBTXJCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IGF0cl9zdGF0aWNfZGF0YXMgPSB7XHJcbiAgdGVzdDogJzEnXHJcbn07XHJcblxyXG5leHBvcnQgZGVjbGFyZSBpbnRlcmZhY2UganNvbiBleHRlbmRzIE9iamVjdCB7XHJcbiAgW2tleTogc3RyaW5nXTogYW55XHJcbn1cclxuXHJcbmV4cG9ydCBkZWNsYXJlIGludGVyZmFjZSBTZXJ2ZXJQYWdpbmF0aW9uU3RhbmRhcmQge1xyXG4gIGN1cnJlbnRQYWdlOiBudW1iZXI7XHJcbiAgc2hvd0NvdW50OiBudW1iZXI7XHJcbiAgdG90YWxSZXN1bHQ6IG51bWJlcjtcclxuICB0b3R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bGVOYW1lPzogc3RyaW5nLFxyXG4gIHVwbG9hZFR5cGU/OiAnZHJhZycgfCAnJyxcclxuICBuekZpbGVUeXBlPzogc3RyaW5nXHJcbn1cclxuXHJcbmV4cG9ydCBkZWNsYXJlIGludGVyZmFjZSBlcXVpcFRlc3REYXRhIHtcclxuICBjb2RlOiBzdHJpbmdcclxuICBpdGVtTmFtZTogc3RyaW5nXHJcbiAgemhvdTE6IG51bWJlclxyXG4gIHpob3UyOiBudW1iZXJcclxuICB6aG91MzogbnVtYmVyXHJcbiAgemhvdTQ6IG51bWJlclxyXG4gIHpob3U1OiBudW1iZXJcclxuICB6aG91NjogbnVtYmVyXHJcbiAgaXNXcm9uZzE/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,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVsbG8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9zcmMvbGliL2hlbGxvL2hlbGxvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvc3JjL2xpYi9oZWxsby9oZWxsby5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFTLE1BQU0sZUFBZSxDQUFDO0FBQ2hELE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLDRCQUE0QixDQUFDOztBQU81RCxNQUFNLE9BQU8sY0FBYztJQUd6QjtRQUZBLFNBQUksR0FBRyxnQkFBZ0IsQ0FBQyxJQUFJLENBQUM7SUFHN0IsQ0FBQztJQUVELFFBQVE7SUFDUixDQUFDOzs0R0FQVSxjQUFjO2dHQUFkLGNBQWMsaURDUjNCLHFEQUVBOzRGRE1hLGNBQWM7a0JBTDFCLFNBQVM7K0JBQ0UsV0FBVyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50LCBPbkluaXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHthdHJfc3RhdGljX2RhdGFzfSBmcm9tIFwiLi4vLi4vY29yZS9iYXNlL2F0ci1jb21tb25cIjtcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXRyLWhlbGxvJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2hlbGxvLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vaGVsbG8uY29tcG9uZW50LmNzcyddXG59KVxuZXhwb3J0IGNsYXNzIEhlbGxvQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgdGVzdCA9IGF0cl9zdGF0aWNfZGF0YXMudGVzdDtcblxuICBjb25zdHJ1Y3RvcigpIHtcbiAgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICB9XG5cbn1cbiIsIjxwPmhlbGxvIHdvcmtzITwvcD5cbjxwPua1i+ivlTp7e3Rlc3R9fTwvcD5cbiJdfQ==
|
|
@@ -21,16 +21,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
21
21
|
}]
|
|
22
22
|
}] });
|
|
23
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
|
+
|
|
24
36
|
class HelloComponent {
|
|
25
|
-
constructor() {
|
|
37
|
+
constructor() {
|
|
38
|
+
this.test = atr_static_datas.test;
|
|
39
|
+
}
|
|
26
40
|
ngOnInit() {
|
|
27
41
|
}
|
|
28
42
|
}
|
|
29
43
|
HelloComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
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: [""] });
|
|
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: [""] });
|
|
31
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, decorators: [{
|
|
32
46
|
type: Component,
|
|
33
|
-
args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n", styles: [""] }]
|
|
47
|
+
args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n<p>\u6D4B\u8BD5:{{test}}</p>\n", styles: [""] }]
|
|
34
48
|
}], ctorParameters: function () { return []; } });
|
|
35
49
|
|
|
36
50
|
class HelloModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"atr-components.mjs","sources":["../../../projects/components/src/atr-components.module.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","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 \"./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,CAAA;AAKH,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAA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AAA,EAAA,CAAA,YAAY,aAEL,cAAc,CAAA,EAAA,CAAA,CAAA;AAEZ,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EALb,OAAA,EAAA,CAAA;YACP,YAAY;SACb,CAAA,EAAA,CAAA,CAAA;4FAGU,WAAW,EAAA,UAAA,EAAA,CAAA;kBAPvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,cAAc,CAAC;AAC9B,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;oBACD,OAAO,EAAC,CAAC,cAAc,CAAC;iBACzB,CAAA;;;ACZD;;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,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,CAAC;AAClC,oB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AA;;;MESV,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,EANP,YAAA,EAAA,CAAA,cAAc,CAE3B,EAAA,OAAA,EAAA,CAAA,YAAY,aAEL,cAAc,CAAA,EAAA,CAAA,CAAA;AAEZ,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EALb,OAAA,EAAA,CAAA;YACP,YAAY;SACb,CAAA,EAAA,CAAA,CAAA;4FAGU,WAAW,EAAA,UAAA,EAAA,CAAA;kBAPvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,cAAc,CAAC;AAC9B,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;oBACD,OAAO,EAAC,CAAC,cAAc,CAAC;iBACzB,CAAA;;;ACZD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -21,16 +21,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
21
21
|
}]
|
|
22
22
|
}] });
|
|
23
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
|
+
|
|
24
36
|
class HelloComponent {
|
|
25
|
-
constructor() {
|
|
37
|
+
constructor() {
|
|
38
|
+
this.test = atr_static_datas.test;
|
|
39
|
+
}
|
|
26
40
|
ngOnInit() {
|
|
27
41
|
}
|
|
28
42
|
}
|
|
29
43
|
HelloComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
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: [""] });
|
|
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: [""] });
|
|
31
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HelloComponent, decorators: [{
|
|
32
46
|
type: Component,
|
|
33
|
-
args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n", styles: [""] }]
|
|
47
|
+
args: [{ selector: 'atr-hello', template: "<p>hello works!</p>\n<p>\u6D4B\u8BD5:{{test}}</p>\n", styles: [""] }]
|
|
34
48
|
}], ctorParameters: function () { return []; } });
|
|
35
49
|
|
|
36
50
|
class HelloModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"atr-components.mjs","sources":["../../../projects/components/src/atr-components.module.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","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 \"./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,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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A,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EALb,OAAA,EAAA,CAAA;YACP,YAAY;AACb,SAAA,CAAA,EAAA,CAAA,CAAA;4FAGU,WAAW,EAAA,UAAA,EAAA,CAAA;kBAPvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,cAAc,CAAC;AAC9B,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;oBACD,OAAO,EAAC,CAAC,cAAc,CAAC;AACzB,iBAAA,CAAA;;;ACZD;;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,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,CAAC;AAClC,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE,gBAAgB;AA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