@bimatrix-aud-platform/aud_mcp_server 1.1.37 → 1.1.39
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/dist/generators/defaults.d.ts +182 -35
- package/dist/generators/defaults.js +255 -44
- package/dist/generators/mtsd-builder.d.ts +191 -0
- package/dist/generators/mtsd-builder.js +945 -0
- package/dist/generators/report-template.d.ts +43 -0
- package/dist/generators/report-template.js +723 -0
- package/dist/index.js +36 -0
- package/package.json +1 -1
- package/schemas/mtsd.interface.ts +2 -2
- package/schemas/mtsd.schema.json +7 -8
|
@@ -88,26 +88,47 @@ export declare function buttonDefaults(): {
|
|
|
88
88
|
Cursor: string;
|
|
89
89
|
HasNewRadius: boolean;
|
|
90
90
|
};
|
|
91
|
-
export declare function
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
export declare function textBoxDefaults(): {
|
|
92
|
+
LanguageCode: string;
|
|
93
|
+
Value: string;
|
|
94
|
+
Text: string;
|
|
95
|
+
IsReadOnly: boolean;
|
|
96
|
+
MaxLength: number;
|
|
97
|
+
Formula: string;
|
|
98
|
+
MxBinding: string;
|
|
99
|
+
MxBindingUseStyle: boolean;
|
|
95
100
|
};
|
|
96
|
-
export declare function
|
|
97
|
-
|
|
101
|
+
export declare function numberBoxDefaults(): {
|
|
102
|
+
Format: string;
|
|
103
|
+
Formula: string;
|
|
104
|
+
Value: number;
|
|
105
|
+
Text: string;
|
|
106
|
+
IsReadOnly: boolean;
|
|
107
|
+
Maximum: number;
|
|
108
|
+
Minimum: number;
|
|
109
|
+
MxBinding: string;
|
|
110
|
+
MxBindingUseStyle: boolean;
|
|
98
111
|
};
|
|
99
|
-
export declare function
|
|
100
|
-
|
|
112
|
+
export declare function maskTextBoxDefaults(): {
|
|
113
|
+
Format: string;
|
|
114
|
+
Formula: string;
|
|
115
|
+
IsReadOnly: boolean;
|
|
116
|
+
Text: string;
|
|
117
|
+
Value: string;
|
|
118
|
+
MxBinding: string;
|
|
119
|
+
};
|
|
120
|
+
export declare function richTextBoxDefaults(): {
|
|
121
|
+
Formula: string;
|
|
122
|
+
IsReadOnly: boolean;
|
|
123
|
+
MaxLength: number;
|
|
124
|
+
LineSpacing: number;
|
|
125
|
+
HasLineSpacing: boolean;
|
|
126
|
+
MxBinding: string;
|
|
127
|
+
MxBindingUseStyle: boolean;
|
|
128
|
+
Value: string;
|
|
101
129
|
Text: string;
|
|
102
|
-
TextPosition: string;
|
|
103
|
-
GroupName: string;
|
|
104
|
-
CheckedValue: string;
|
|
105
|
-
UnCheckedValue: string;
|
|
106
|
-
Checked: boolean;
|
|
107
|
-
ViewType: number;
|
|
108
130
|
};
|
|
109
131
|
export declare function comboBoxDefaults(): {
|
|
110
|
-
DataSource: string;
|
|
111
132
|
Value: string;
|
|
112
133
|
Text: string;
|
|
113
134
|
InitType: number;
|
|
@@ -115,25 +136,52 @@ export declare function comboBoxDefaults(): {
|
|
|
115
136
|
IsReadOnly: boolean;
|
|
116
137
|
SortType: number;
|
|
117
138
|
AutoRefresh: boolean;
|
|
139
|
+
DoRefresh: boolean;
|
|
118
140
|
AfterRefresh: string;
|
|
119
141
|
UseAllItems: boolean;
|
|
120
142
|
UseAllItemsText: string;
|
|
121
143
|
DisplayType: number;
|
|
122
|
-
DataSourceInfo: {
|
|
123
|
-
LabelField: string;
|
|
124
|
-
ValueField: string;
|
|
125
|
-
};
|
|
126
144
|
InitValue: string;
|
|
127
145
|
};
|
|
128
|
-
export declare function
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
146
|
+
export declare function multiComboBoxDefaults(): {
|
|
147
|
+
InitType: number;
|
|
148
|
+
RefreshType: number;
|
|
149
|
+
AutoRefresh: boolean;
|
|
150
|
+
EditValue: string;
|
|
151
|
+
CaptionText: string;
|
|
152
|
+
};
|
|
153
|
+
export declare function checkBoxDefaults(): {
|
|
154
|
+
LanguageCode: string;
|
|
133
155
|
Text: string;
|
|
156
|
+
TextPosition: string;
|
|
157
|
+
GroupName: string;
|
|
158
|
+
CheckedValue: string;
|
|
159
|
+
UnCheckedValue: string;
|
|
160
|
+
Checked: boolean;
|
|
161
|
+
ViewType: number;
|
|
162
|
+
};
|
|
163
|
+
export declare function radioButtonDefaults(): {
|
|
164
|
+
LanguageCode: string;
|
|
165
|
+
Text: string;
|
|
166
|
+
TextPosition: string;
|
|
167
|
+
GroupName: string;
|
|
168
|
+
CheckedValue: string;
|
|
169
|
+
Checked: boolean;
|
|
170
|
+
};
|
|
171
|
+
export declare function pickListDefaults(): {
|
|
134
172
|
IsReadOnly: boolean;
|
|
135
|
-
|
|
136
|
-
|
|
173
|
+
};
|
|
174
|
+
export declare function calendarDefaults(): {
|
|
175
|
+
LanguageCode: string;
|
|
176
|
+
Value: string;
|
|
177
|
+
Text: string;
|
|
178
|
+
InitType: number;
|
|
179
|
+
IsReadOnly: boolean;
|
|
180
|
+
CalendarType: number;
|
|
181
|
+
UseButton: boolean;
|
|
182
|
+
AutoRefresh: boolean;
|
|
183
|
+
AfterRefresh: string;
|
|
184
|
+
DataSource: string;
|
|
137
185
|
MxBinding: string;
|
|
138
186
|
MxBindingUseStyle: boolean;
|
|
139
187
|
};
|
|
@@ -144,20 +192,119 @@ export declare function imageDefaults(): {
|
|
|
144
192
|
SaveName: string;
|
|
145
193
|
};
|
|
146
194
|
};
|
|
147
|
-
export declare function
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
HasLineSpacing: boolean;
|
|
153
|
-
MxBinding: string;
|
|
154
|
-
MxBindingUseStyle: boolean;
|
|
195
|
+
export declare function colorSelectorDefaults(): {
|
|
196
|
+
ColorValue: string;
|
|
197
|
+
ShowButton: boolean;
|
|
198
|
+
};
|
|
199
|
+
export declare function fileUploadButtonDefaults(): {
|
|
155
200
|
Value: string;
|
|
156
|
-
|
|
201
|
+
Cursor: string;
|
|
202
|
+
};
|
|
203
|
+
export declare function dataGridDefaults(): {
|
|
204
|
+
CellMargin: string;
|
|
205
|
+
Columns: any[];
|
|
206
|
+
AutoRefresh: boolean;
|
|
207
|
+
DoRefresh: boolean;
|
|
208
|
+
DoExport: boolean;
|
|
209
|
+
ColumnHeaderHeight: number;
|
|
210
|
+
RowHeight: number;
|
|
211
|
+
ShowHeader: number;
|
|
212
|
+
SelectRule: number;
|
|
213
|
+
FontFamily: string;
|
|
214
|
+
FontSize: number;
|
|
215
|
+
};
|
|
216
|
+
export declare function compactDataGridDefaults(): {
|
|
217
|
+
CellMargin: string;
|
|
218
|
+
Columns: any[];
|
|
219
|
+
AutoRefresh: boolean;
|
|
220
|
+
DoRefresh: boolean;
|
|
221
|
+
DoExport: boolean;
|
|
222
|
+
ColumnHeaderHeight: number;
|
|
223
|
+
RowHeight: number;
|
|
224
|
+
ShowHeader: number;
|
|
225
|
+
SelectRule: number;
|
|
226
|
+
FontFamily: string;
|
|
227
|
+
FontSize: number;
|
|
228
|
+
};
|
|
229
|
+
export declare function treeGridDefaults(): {
|
|
230
|
+
CellMargin: string;
|
|
231
|
+
Columns: any[];
|
|
232
|
+
AutoRefresh: boolean;
|
|
233
|
+
DoRefresh: boolean;
|
|
234
|
+
DoExport: boolean;
|
|
235
|
+
ColumnHeaderHeight: number;
|
|
236
|
+
RowHeight: number;
|
|
237
|
+
SelectRule: number;
|
|
238
|
+
FontFamily: string;
|
|
239
|
+
FontSize: number;
|
|
240
|
+
ToggleBtnSize: number;
|
|
241
|
+
};
|
|
242
|
+
export declare function iGridDefaults(): {
|
|
243
|
+
AutoRefresh: boolean;
|
|
244
|
+
DoRefresh: boolean;
|
|
245
|
+
DoExport: boolean;
|
|
246
|
+
ServerScript: string;
|
|
247
|
+
TemplateCode: string;
|
|
248
|
+
};
|
|
249
|
+
export declare function olapGridDefaults(): {
|
|
250
|
+
AutoRefresh: boolean;
|
|
251
|
+
DoRefresh: boolean;
|
|
252
|
+
DoExport: boolean;
|
|
253
|
+
iOLAPView: Record<string, any>;
|
|
254
|
+
ExtraOption: Record<string, any>;
|
|
255
|
+
};
|
|
256
|
+
export declare function chartDefaults(): {
|
|
257
|
+
AutoRefresh: boolean;
|
|
258
|
+
DoRefresh: boolean;
|
|
259
|
+
DoExport: boolean;
|
|
260
|
+
PlotOptions: {
|
|
261
|
+
Animation: number;
|
|
262
|
+
EnableMouseTracking: boolean;
|
|
263
|
+
DataLabels: {};
|
|
264
|
+
ConnectNulls: boolean;
|
|
265
|
+
AllowOverlap: boolean;
|
|
266
|
+
};
|
|
267
|
+
Axis: {
|
|
268
|
+
XAxis: {
|
|
269
|
+
Text: string;
|
|
270
|
+
Visible: boolean;
|
|
271
|
+
};
|
|
272
|
+
Y1Axis: {
|
|
273
|
+
Text: string;
|
|
274
|
+
Visible: boolean;
|
|
275
|
+
};
|
|
276
|
+
Y2Axis: {
|
|
277
|
+
Text: string;
|
|
278
|
+
Visible: boolean;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
SeriesSet: any[];
|
|
282
|
+
};
|
|
283
|
+
export declare function emptyDefaults(): Record<string, any>;
|
|
284
|
+
export declare function groupDefaults(): {
|
|
285
|
+
ChildElements: any[];
|
|
286
|
+
};
|
|
287
|
+
export declare function tabDefaults(): {
|
|
288
|
+
Property: {
|
|
289
|
+
TabButtonPosition: number;
|
|
290
|
+
};
|
|
291
|
+
TabItems: any[];
|
|
292
|
+
DoExport: boolean;
|
|
293
|
+
};
|
|
294
|
+
export declare function tableLayoutDefaults(): {
|
|
295
|
+
Cols: any[];
|
|
296
|
+
Rows: any[];
|
|
297
|
+
MergeCellList: any[];
|
|
157
298
|
};
|
|
158
299
|
export declare function userComponentDefaults(): {
|
|
159
300
|
DoRefresh: boolean;
|
|
160
301
|
DoExport: boolean;
|
|
161
302
|
ReportInfo: {};
|
|
303
|
+
ExternalReportInfo: {};
|
|
304
|
+
};
|
|
305
|
+
export declare function webContainerDefaults(): {
|
|
306
|
+
AutoRefresh: boolean;
|
|
307
|
+
DoRefresh: boolean;
|
|
308
|
+
TargetURL: string;
|
|
162
309
|
};
|
|
163
310
|
export declare const ELEMENT_DEFAULTS_MAP: Record<string, () => Record<string, any>>;
|
|
@@ -65,6 +65,8 @@ export function defaultValidator() {
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
// ---- Element 타입별 기본값 ----
|
|
68
|
+
// 실제 i-AUD Designer(all_controls_report.mtsd)의 기본값을 기준으로 설정
|
|
69
|
+
// -- 기본 컨트롤 --
|
|
68
70
|
export function labelDefaults() {
|
|
69
71
|
return {
|
|
70
72
|
LanguageCode: "",
|
|
@@ -73,8 +75,8 @@ export function labelDefaults() {
|
|
|
73
75
|
Formula: "",
|
|
74
76
|
UseTextOverflow: false,
|
|
75
77
|
UseAutoLineBreak: false,
|
|
76
|
-
LineSpacing:
|
|
77
|
-
HasLineSpacing:
|
|
78
|
+
LineSpacing: 1.2,
|
|
79
|
+
HasLineSpacing: true,
|
|
78
80
|
MxBinding: "",
|
|
79
81
|
MxBindingUseStyle: false,
|
|
80
82
|
};
|
|
@@ -84,104 +86,313 @@ export function buttonDefaults() {
|
|
|
84
86
|
LanguageCode: "",
|
|
85
87
|
Value: "",
|
|
86
88
|
Cursor: "pointer",
|
|
87
|
-
HasNewRadius:
|
|
89
|
+
HasNewRadius: true,
|
|
88
90
|
};
|
|
89
91
|
}
|
|
90
|
-
|
|
92
|
+
// -- 입력 컨트롤 --
|
|
93
|
+
export function textBoxDefaults() {
|
|
91
94
|
return {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
LanguageCode: "",
|
|
96
|
+
Value: "",
|
|
97
|
+
Text: "",
|
|
98
|
+
IsReadOnly: false,
|
|
99
|
+
MaxLength: 0,
|
|
100
|
+
Formula: "",
|
|
101
|
+
MxBinding: "",
|
|
102
|
+
MxBindingUseStyle: false,
|
|
95
103
|
};
|
|
96
104
|
}
|
|
97
|
-
export function
|
|
105
|
+
export function numberBoxDefaults() {
|
|
98
106
|
return {
|
|
99
|
-
|
|
107
|
+
Format: "#,##0",
|
|
108
|
+
Formula: "",
|
|
109
|
+
Value: 0,
|
|
110
|
+
Text: "",
|
|
111
|
+
IsReadOnly: false,
|
|
112
|
+
Maximum: 999999999,
|
|
113
|
+
Minimum: -999999999,
|
|
114
|
+
MxBinding: "",
|
|
115
|
+
MxBindingUseStyle: false,
|
|
100
116
|
};
|
|
101
117
|
}
|
|
102
|
-
export function
|
|
118
|
+
export function maskTextBoxDefaults() {
|
|
103
119
|
return {
|
|
104
|
-
|
|
120
|
+
Format: "",
|
|
121
|
+
Formula: "",
|
|
122
|
+
IsReadOnly: false,
|
|
123
|
+
Text: "",
|
|
124
|
+
Value: "",
|
|
125
|
+
MxBinding: "",
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
export function richTextBoxDefaults() {
|
|
129
|
+
return {
|
|
130
|
+
Formula: "",
|
|
131
|
+
IsReadOnly: false,
|
|
132
|
+
MaxLength: 0,
|
|
133
|
+
LineSpacing: 1.2,
|
|
134
|
+
HasLineSpacing: true,
|
|
135
|
+
MxBinding: "",
|
|
136
|
+
MxBindingUseStyle: false,
|
|
137
|
+
Value: "",
|
|
105
138
|
Text: "",
|
|
106
|
-
TextPosition: "right",
|
|
107
|
-
GroupName: "",
|
|
108
|
-
CheckedValue: "Y",
|
|
109
|
-
UnCheckedValue: "N",
|
|
110
|
-
Checked: false,
|
|
111
|
-
ViewType: 0,
|
|
112
139
|
};
|
|
113
140
|
}
|
|
141
|
+
// -- 선택 컨트롤 --
|
|
114
142
|
export function comboBoxDefaults() {
|
|
115
143
|
return {
|
|
116
|
-
DataSource: "",
|
|
117
144
|
Value: "",
|
|
118
145
|
Text: "",
|
|
119
146
|
InitType: 0,
|
|
120
|
-
RefreshType:
|
|
147
|
+
RefreshType: 1,
|
|
121
148
|
IsReadOnly: false,
|
|
122
149
|
SortType: 0,
|
|
123
150
|
AutoRefresh: false,
|
|
151
|
+
DoRefresh: false,
|
|
124
152
|
AfterRefresh: "",
|
|
125
153
|
UseAllItems: false,
|
|
126
154
|
UseAllItemsText: "",
|
|
127
155
|
DisplayType: 0,
|
|
128
|
-
DataSourceInfo: { LabelField: "", ValueField: "" },
|
|
129
156
|
InitValue: "",
|
|
130
157
|
};
|
|
131
158
|
}
|
|
132
|
-
export function
|
|
133
|
-
return {
|
|
159
|
+
export function multiComboBoxDefaults() {
|
|
160
|
+
return {
|
|
161
|
+
InitType: 0,
|
|
162
|
+
RefreshType: 1,
|
|
163
|
+
AutoRefresh: false,
|
|
164
|
+
EditValue: "",
|
|
165
|
+
CaptionText: "",
|
|
166
|
+
};
|
|
134
167
|
}
|
|
135
|
-
export function
|
|
168
|
+
export function checkBoxDefaults() {
|
|
136
169
|
return {
|
|
137
|
-
|
|
138
|
-
Formula: "",
|
|
139
|
-
Value: 0,
|
|
170
|
+
LanguageCode: "",
|
|
140
171
|
Text: "",
|
|
172
|
+
TextPosition: "back",
|
|
173
|
+
GroupName: "",
|
|
174
|
+
CheckedValue: "Y",
|
|
175
|
+
UnCheckedValue: "N",
|
|
176
|
+
Checked: false,
|
|
177
|
+
ViewType: 0,
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
export function radioButtonDefaults() {
|
|
181
|
+
return {
|
|
182
|
+
LanguageCode: "",
|
|
183
|
+
Text: "",
|
|
184
|
+
TextPosition: "back",
|
|
185
|
+
GroupName: "",
|
|
186
|
+
CheckedValue: "",
|
|
187
|
+
Checked: false,
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
export function pickListDefaults() {
|
|
191
|
+
return {
|
|
141
192
|
IsReadOnly: false,
|
|
142
|
-
|
|
143
|
-
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
// -- 날짜 컨트롤 --
|
|
196
|
+
export function calendarDefaults() {
|
|
197
|
+
return {
|
|
198
|
+
LanguageCode: "",
|
|
199
|
+
Value: "",
|
|
200
|
+
Text: "",
|
|
201
|
+
InitType: 0,
|
|
202
|
+
IsReadOnly: false,
|
|
203
|
+
CalendarType: 0,
|
|
204
|
+
UseButton: true,
|
|
205
|
+
AutoRefresh: false,
|
|
206
|
+
AfterRefresh: "",
|
|
207
|
+
DataSource: "",
|
|
144
208
|
MxBinding: "",
|
|
145
209
|
MxBindingUseStyle: false,
|
|
146
210
|
};
|
|
147
211
|
}
|
|
212
|
+
// -- 이미지/색상/파일 --
|
|
148
213
|
export function imageDefaults() {
|
|
149
214
|
return {
|
|
150
215
|
Cursor: "default",
|
|
151
216
|
Image: { FolderCode: "", SaveName: "" },
|
|
152
217
|
};
|
|
153
218
|
}
|
|
154
|
-
export function
|
|
219
|
+
export function colorSelectorDefaults() {
|
|
220
|
+
return {
|
|
221
|
+
ColorValue: "",
|
|
222
|
+
ShowButton: true,
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
export function fileUploadButtonDefaults() {
|
|
155
226
|
return {
|
|
156
|
-
Formula: "",
|
|
157
|
-
IsReadOnly: false,
|
|
158
|
-
MaxLength: 0,
|
|
159
|
-
LineSpacing: 0,
|
|
160
|
-
HasLineSpacing: false,
|
|
161
|
-
MxBinding: "",
|
|
162
|
-
MxBindingUseStyle: false,
|
|
163
227
|
Value: "",
|
|
164
|
-
|
|
228
|
+
Cursor: "pointer",
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
// -- 그리드 컨트롤 --
|
|
232
|
+
export function dataGridDefaults() {
|
|
233
|
+
return {
|
|
234
|
+
CellMargin: "5,5,5,5",
|
|
235
|
+
Columns: [],
|
|
236
|
+
AutoRefresh: false,
|
|
237
|
+
DoRefresh: true,
|
|
238
|
+
DoExport: true,
|
|
239
|
+
ColumnHeaderHeight: 28,
|
|
240
|
+
RowHeight: 24,
|
|
241
|
+
ShowHeader: 3,
|
|
242
|
+
SelectRule: 2,
|
|
243
|
+
FontFamily: "inherit",
|
|
244
|
+
FontSize: 12,
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
export function compactDataGridDefaults() {
|
|
248
|
+
return dataGridDefaults();
|
|
249
|
+
}
|
|
250
|
+
export function treeGridDefaults() {
|
|
251
|
+
return {
|
|
252
|
+
CellMargin: "5,5,5,5",
|
|
253
|
+
Columns: [],
|
|
254
|
+
AutoRefresh: false,
|
|
255
|
+
DoRefresh: true,
|
|
256
|
+
DoExport: true,
|
|
257
|
+
ColumnHeaderHeight: 28,
|
|
258
|
+
RowHeight: 24,
|
|
259
|
+
SelectRule: 2,
|
|
260
|
+
FontFamily: "inherit",
|
|
261
|
+
FontSize: 12,
|
|
262
|
+
ToggleBtnSize: 10,
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
export function iGridDefaults() {
|
|
266
|
+
return {
|
|
267
|
+
AutoRefresh: false,
|
|
268
|
+
DoRefresh: true,
|
|
269
|
+
DoExport: true,
|
|
270
|
+
ServerScript: "",
|
|
271
|
+
TemplateCode: "",
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
export function olapGridDefaults() {
|
|
275
|
+
return {
|
|
276
|
+
AutoRefresh: false,
|
|
277
|
+
DoRefresh: true,
|
|
278
|
+
DoExport: true,
|
|
279
|
+
iOLAPView: {},
|
|
280
|
+
ExtraOption: {},
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
// -- 차트 컨트롤 --
|
|
284
|
+
function defaultChartAxis() {
|
|
285
|
+
return {
|
|
286
|
+
XAxis: { Text: "", Visible: true },
|
|
287
|
+
Y1Axis: { Text: "", Visible: true },
|
|
288
|
+
Y2Axis: { Text: "", Visible: false },
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
function defaultPlotOptions() {
|
|
292
|
+
return {
|
|
293
|
+
Animation: 1000,
|
|
294
|
+
EnableMouseTracking: true,
|
|
295
|
+
DataLabels: {},
|
|
296
|
+
ConnectNulls: false,
|
|
297
|
+
AllowOverlap: false,
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
export function chartDefaults() {
|
|
301
|
+
return {
|
|
302
|
+
AutoRefresh: false,
|
|
303
|
+
DoRefresh: true,
|
|
304
|
+
DoExport: true,
|
|
305
|
+
PlotOptions: defaultPlotOptions(),
|
|
306
|
+
Axis: defaultChartAxis(),
|
|
307
|
+
SeriesSet: [],
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
// -- 트리 컨트롤 --
|
|
311
|
+
export function emptyDefaults() {
|
|
312
|
+
return {};
|
|
313
|
+
}
|
|
314
|
+
// -- 컨테이너/레이아웃 --
|
|
315
|
+
export function groupDefaults() {
|
|
316
|
+
return {
|
|
317
|
+
ChildElements: [],
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
export function tabDefaults() {
|
|
321
|
+
return {
|
|
322
|
+
Property: { TabButtonPosition: 0 },
|
|
323
|
+
TabItems: [],
|
|
324
|
+
DoExport: true,
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
export function tableLayoutDefaults() {
|
|
328
|
+
return {
|
|
329
|
+
Cols: [],
|
|
330
|
+
Rows: [],
|
|
331
|
+
MergeCellList: [],
|
|
165
332
|
};
|
|
166
333
|
}
|
|
167
334
|
export function userComponentDefaults() {
|
|
168
335
|
return {
|
|
169
|
-
DoRefresh:
|
|
170
|
-
DoExport:
|
|
336
|
+
DoRefresh: true,
|
|
337
|
+
DoExport: true,
|
|
171
338
|
ReportInfo: {},
|
|
339
|
+
ExternalReportInfo: {},
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
export function webContainerDefaults() {
|
|
343
|
+
return {
|
|
344
|
+
AutoRefresh: true,
|
|
345
|
+
DoRefresh: true,
|
|
346
|
+
TargetURL: "",
|
|
172
347
|
};
|
|
173
348
|
}
|
|
174
349
|
// Type → defaults 팩토리 매핑
|
|
175
350
|
export const ELEMENT_DEFAULTS_MAP = {
|
|
351
|
+
// 기본 컨트롤
|
|
176
352
|
Label: labelDefaults,
|
|
177
353
|
Button: buttonDefaults,
|
|
178
|
-
|
|
179
|
-
Group: groupDefaults,
|
|
180
|
-
CheckBox: checkBoxDefaults,
|
|
181
|
-
ComboBox: comboBoxDefaults,
|
|
354
|
+
// 입력 컨트롤
|
|
182
355
|
TextBox: textBoxDefaults,
|
|
183
356
|
NumberBox: numberBoxDefaults,
|
|
184
|
-
|
|
357
|
+
MaskTextBox: maskTextBoxDefaults,
|
|
185
358
|
RichTextBox: richTextBoxDefaults,
|
|
359
|
+
// 선택 컨트롤
|
|
360
|
+
ComboBox: comboBoxDefaults,
|
|
361
|
+
MultiComboBox: multiComboBoxDefaults,
|
|
362
|
+
CheckBox: checkBoxDefaults,
|
|
363
|
+
RadioButton: radioButtonDefaults,
|
|
364
|
+
PickList: pickListDefaults,
|
|
365
|
+
// 날짜 컨트롤
|
|
366
|
+
Calendar: calendarDefaults,
|
|
367
|
+
CalendarYear: calendarDefaults,
|
|
368
|
+
CalendarYM: calendarDefaults,
|
|
369
|
+
// 이미지/색상/파일
|
|
370
|
+
Image: imageDefaults,
|
|
371
|
+
ColorSelector: colorSelectorDefaults,
|
|
372
|
+
FileUploadButton: fileUploadButtonDefaults,
|
|
373
|
+
// 그리드 컨트롤
|
|
374
|
+
DataGrid: dataGridDefaults,
|
|
375
|
+
CompactDataGrid: compactDataGridDefaults,
|
|
376
|
+
TreeGrid: treeGridDefaults,
|
|
377
|
+
iGrid: iGridDefaults,
|
|
378
|
+
OlapGrid: olapGridDefaults,
|
|
379
|
+
// 차트 컨트롤
|
|
380
|
+
Chart: chartDefaults,
|
|
381
|
+
PieChart: chartDefaults,
|
|
382
|
+
ScatterChart: chartDefaults,
|
|
383
|
+
PolygonChart: chartDefaults,
|
|
384
|
+
// 트리 컨트롤
|
|
385
|
+
Tree: emptyDefaults,
|
|
386
|
+
TreeView: emptyDefaults,
|
|
387
|
+
// 컨테이너/레이아웃
|
|
388
|
+
Group: groupDefaults,
|
|
389
|
+
Tab: tabDefaults,
|
|
390
|
+
TableLayout: tableLayoutDefaults,
|
|
186
391
|
UserComponent: userComponentDefaults,
|
|
392
|
+
WebContainer: webContainerDefaults,
|
|
393
|
+
// 기타
|
|
394
|
+
Slider: emptyDefaults,
|
|
395
|
+
DiagramControl: emptyDefaults,
|
|
396
|
+
Slicer: emptyDefaults,
|
|
397
|
+
AddIn: emptyDefaults,
|
|
187
398
|
};
|