@bimatrix-aud-platform/aud_mcp_server 1.1.47 → 1.1.48
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.
|
@@ -555,6 +555,33 @@ export declare function chartDefaults(): {
|
|
|
555
555
|
};
|
|
556
556
|
SeriesSet: any[];
|
|
557
557
|
};
|
|
558
|
+
export declare function treeDefaults(): {
|
|
559
|
+
AutoRefresh: boolean;
|
|
560
|
+
DoRefresh: boolean;
|
|
561
|
+
ShowCheckBox: boolean;
|
|
562
|
+
DataSourceInfo: {
|
|
563
|
+
LabelField: string;
|
|
564
|
+
ValueField: string;
|
|
565
|
+
HasChildField: string;
|
|
566
|
+
ImageField: string;
|
|
567
|
+
OnImageField: string;
|
|
568
|
+
KeyField: string;
|
|
569
|
+
ParentKeyField: string;
|
|
570
|
+
ToolTipField: string;
|
|
571
|
+
};
|
|
572
|
+
HoverBackgroundColor: {
|
|
573
|
+
R: number;
|
|
574
|
+
G: number;
|
|
575
|
+
B: number;
|
|
576
|
+
A: number;
|
|
577
|
+
};
|
|
578
|
+
HoverFontColor: {
|
|
579
|
+
R: number;
|
|
580
|
+
G: number;
|
|
581
|
+
B: number;
|
|
582
|
+
A: number;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
558
585
|
export declare function emptyDefaults(): Record<string, any>;
|
|
559
586
|
export declare function groupDefaults(): {
|
|
560
587
|
ChildElements: any[];
|
|
@@ -580,6 +607,6 @@ export declare function userComponentDefaults(): {
|
|
|
580
607
|
export declare function webContainerDefaults(): {
|
|
581
608
|
AutoRefresh: boolean;
|
|
582
609
|
DoRefresh: boolean;
|
|
583
|
-
|
|
610
|
+
DataSource: string;
|
|
584
611
|
};
|
|
585
612
|
export declare const ELEMENT_DEFAULTS_MAP: Record<string, () => Record<string, any>>;
|
|
@@ -440,6 +440,25 @@ export function chartDefaults() {
|
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
442
|
// -- 트리 컨트롤 --
|
|
443
|
+
export function treeDefaults() {
|
|
444
|
+
return {
|
|
445
|
+
AutoRefresh: false,
|
|
446
|
+
DoRefresh: true,
|
|
447
|
+
ShowCheckBox: false,
|
|
448
|
+
DataSourceInfo: {
|
|
449
|
+
LabelField: "",
|
|
450
|
+
ValueField: "",
|
|
451
|
+
HasChildField: "",
|
|
452
|
+
ImageField: "",
|
|
453
|
+
OnImageField: "",
|
|
454
|
+
KeyField: "",
|
|
455
|
+
ParentKeyField: "",
|
|
456
|
+
ToolTipField: "",
|
|
457
|
+
},
|
|
458
|
+
HoverBackgroundColor: { R: 220, G: 235, B: 252, A: 255 },
|
|
459
|
+
HoverFontColor: { R: 0, G: 0, B: 0, A: 255 },
|
|
460
|
+
};
|
|
461
|
+
}
|
|
443
462
|
export function emptyDefaults() {
|
|
444
463
|
return {};
|
|
445
464
|
}
|
|
@@ -473,9 +492,9 @@ export function userComponentDefaults() {
|
|
|
473
492
|
}
|
|
474
493
|
export function webContainerDefaults() {
|
|
475
494
|
return {
|
|
476
|
-
AutoRefresh:
|
|
495
|
+
AutoRefresh: false,
|
|
477
496
|
DoRefresh: true,
|
|
478
|
-
|
|
497
|
+
DataSource: "",
|
|
479
498
|
};
|
|
480
499
|
}
|
|
481
500
|
// Type → defaults 팩토리 매핑
|
|
@@ -498,6 +517,8 @@ export const ELEMENT_DEFAULTS_MAP = {
|
|
|
498
517
|
Calendar: calendarDefaults,
|
|
499
518
|
CalendarYear: calendarDefaults,
|
|
500
519
|
CalendarYM: calendarDefaults,
|
|
520
|
+
CalendarFromTo: calendarDefaults,
|
|
521
|
+
CalendarWeeklyFromTo: calendarDefaults,
|
|
501
522
|
// 이미지/색상/파일
|
|
502
523
|
Image: imageDefaults,
|
|
503
524
|
ColorSelector: colorSelectorDefaults,
|
|
@@ -514,7 +535,7 @@ export const ELEMENT_DEFAULTS_MAP = {
|
|
|
514
535
|
ScatterChart: chartDefaults,
|
|
515
536
|
PolygonChart: chartDefaults,
|
|
516
537
|
// 트리 컨트롤
|
|
517
|
-
Tree:
|
|
538
|
+
Tree: treeDefaults,
|
|
518
539
|
TreeView: emptyDefaults,
|
|
519
540
|
// 컨테이너/레이아웃
|
|
520
541
|
Group: groupDefaults,
|
package/dist/generators/fixer.js
CHANGED
|
@@ -398,15 +398,15 @@ function fixEnumAndRangeValues(doc, datas, fixes) {
|
|
|
398
398
|
walkElements(elements, (el, path) => {
|
|
399
399
|
// ---- AutoRefresh / DoRefresh / DoExport 필수 속성 보정 ----
|
|
400
400
|
const type = el.Type;
|
|
401
|
-
// AutoRefresh 대상: DataGrid, ComboBox, MultiComboBox, OlapGrid, Chart, PieChart, ScatterChart, PolygonChart, TreeGrid, iGrid, WebContainer
|
|
402
|
-
const hasAutoRefresh = ["DataGrid", "ComboBox", "MultiComboBox", "OlapGrid", "Chart", "PieChart", "ScatterChart", "PolygonChart", "TreeGrid", "iGrid", "WebContainer"];
|
|
401
|
+
// AutoRefresh 대상: DataGrid, ComboBox, MultiComboBox, OlapGrid, Chart, PieChart, ScatterChart, PolygonChart, TreeGrid, iGrid, WebContainer, Tree
|
|
402
|
+
const hasAutoRefresh = ["DataGrid", "ComboBox", "MultiComboBox", "OlapGrid", "Chart", "PieChart", "ScatterChart", "PolygonChart", "TreeGrid", "iGrid", "WebContainer", "Tree"];
|
|
403
403
|
if (hasAutoRefresh.includes(type) && !("AutoRefresh" in el)) {
|
|
404
404
|
const autoDefault = type === "ComboBox" ? true : false;
|
|
405
405
|
el.AutoRefresh = autoDefault;
|
|
406
406
|
fixes.push(`[Rule3] ${path}.AutoRefresh: 누락 → ${autoDefault}`);
|
|
407
407
|
}
|
|
408
|
-
// DoRefresh 대상: DataGrid, ComboBox, OlapGrid, Chart, PieChart, ScatterChart, PolygonChart, TreeGrid, iGrid, UserComponent, WebContainer
|
|
409
|
-
const hasDoRefresh = ["DataGrid", "ComboBox", "OlapGrid", "Chart", "PieChart", "ScatterChart", "PolygonChart", "TreeGrid", "iGrid", "UserComponent", "WebContainer"];
|
|
408
|
+
// DoRefresh 대상: DataGrid, ComboBox, OlapGrid, Chart, PieChart, ScatterChart, PolygonChart, TreeGrid, iGrid, UserComponent, WebContainer, Tree
|
|
409
|
+
const hasDoRefresh = ["DataGrid", "ComboBox", "OlapGrid", "Chart", "PieChart", "ScatterChart", "PolygonChart", "TreeGrid", "iGrid", "UserComponent", "WebContainer", "Tree"];
|
|
410
410
|
if (hasDoRefresh.includes(type) && !("DoRefresh" in el)) {
|
|
411
411
|
const isCombo = type === "ComboBox";
|
|
412
412
|
el.DoRefresh = isCombo ? false : true;
|
|
@@ -671,7 +671,7 @@ class ElementContainer {
|
|
|
671
671
|
Position: buildPosition({ width: 800, height: 400, ...opts }),
|
|
672
672
|
Style: buildStyle(opts),
|
|
673
673
|
...getTypeDefaults("WebContainer"),
|
|
674
|
-
...(opts.url !== undefined ? {
|
|
674
|
+
...(opts.url !== undefined ? { DataSource: opts.url } : {}),
|
|
675
675
|
};
|
|
676
676
|
this._applyPassThrough(element, opts);
|
|
677
677
|
this._addElement(element);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bimatrix-aud-platform/aud_mcp_server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.48",
|
|
4
4
|
"description": "MCP Server for i-AUD MTSD document validation, generation, schema querying, control info extraction, and database operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|