@reopt-ai/opt-ui 1.12.0 → 1.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPONENT_CATALOG.md +138 -66
- package/README.md +6 -1
- package/dist/core/index.cjs +2 -2
- package/dist/core/index.js +2 -2
- package/dist/docs/02-components/01-core.md +41 -38
- package/dist/docs/02-components/02-visuals.md +1 -1
- package/dist/docs/02-components/03-shells.md +92 -33
- package/dist/docs/02-components/04-surfaces.md +1 -1
- package/dist/docs/02-components/index.md +1 -1
- package/dist/{field-sidebar-BuO37l4c.js → field-sidebar-BXAXigMS.js} +2 -2
- package/dist/{field-sidebar-BYgEmdy0.cjs → field-sidebar-D0ITbhfJ.cjs} +2 -2
- package/dist/index.cjs +29 -10
- package/dist/index.d.cts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.js +29 -10
- package/dist/{key-pad-menu-SItoHPLu.cjs → key-pad-menu-1YN221Oi.cjs} +1 -1
- package/dist/{key-pad-menu-Di2aRGbM.js → key-pad-menu-CUiQ-vKw.js} +1 -1
- package/dist/meta.cjs +218 -11
- package/dist/meta.js +218 -11
- package/dist/query.cjs +19 -6
- package/dist/query.js +19 -6
- package/dist/shells/index.cjs +1 -1
- package/dist/shells/index.js +1 -1
- package/dist/tailwind.css +7 -0
- package/dist/{text-truncate-DSuZECy0.js → text-truncate-BFWd2cE_.js} +116 -116
- package/dist/{text-truncate-I1XLWmRa.cjs → text-truncate-DsG5UAOY.cjs} +115 -115
- package/package.json +1 -1
package/dist/meta.cjs
CHANGED
|
@@ -3,7 +3,7 @@ const coreMetas = [
|
|
|
3
3
|
{
|
|
4
4
|
name: "FieldToken",
|
|
5
5
|
category: "core",
|
|
6
|
-
description: "필드 타입을
|
|
6
|
+
description: "필드 타입을 일관된 글리프와 선택적 텍스트 레이블로 표현합니다. 문자열·숫자·날짜·IP·지오 등 분석 스키마 타입마다 같은 아이콘과 팔레트 슬롯을 씁니다.",
|
|
7
7
|
slug: "field-token",
|
|
8
8
|
exports: [
|
|
9
9
|
"FieldToken",
|
|
@@ -46,6 +46,17 @@ const coreMetas = [
|
|
|
46
46
|
default: "false",
|
|
47
47
|
description: "인접 텍스트가 타입을 이미 말할 때 접근성 트리에서 제외"
|
|
48
48
|
},
|
|
49
|
+
{
|
|
50
|
+
name: "withLabel",
|
|
51
|
+
type: "boolean",
|
|
52
|
+
default: "false",
|
|
53
|
+
description: "글리프 옆에 타입 이름을 함께 표시"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: "label",
|
|
57
|
+
type: "string",
|
|
58
|
+
description: "withLabel이 표시할 문구. 기본값은 타입 이름"
|
|
59
|
+
},
|
|
49
60
|
{
|
|
50
61
|
name: "className",
|
|
51
62
|
type: "string",
|
|
@@ -5056,11 +5067,11 @@ const MyDashboard = createBlock<MyDashboardProps>(
|
|
|
5056
5067
|
{
|
|
5057
5068
|
name: "hint",
|
|
5058
5069
|
type: "string",
|
|
5059
|
-
description: "판정
|
|
5070
|
+
description: "판정 기준. 호버·키보드 포커스로 열리는 툴팁이며, 지정하면 이 항목이 탭 정지점이 됩니다"
|
|
5060
5071
|
}
|
|
5061
5072
|
] },
|
|
5062
5073
|
usage: {
|
|
5063
|
-
bestPractices: ["표의 상태 컬럼처럼 행마다 반복되는 자리에 씁니다. 점은 장식이고 의미는 텍스트가 담습니다."],
|
|
5074
|
+
bestPractices: ["표의 상태 컬럼처럼 행마다 반복되는 자리에 씁니다. 점은 장식이고 의미는 텍스트가 담습니다.", "hint는 행마다 탭 정지점을 하나 늘립니다. 알아야 행동할 수 있는 규칙이면 툴팁이 아니라 상태 옆 텍스트에 씁니다."],
|
|
5064
5075
|
avoid: ["사람이 붙인 라벨(태그, 카테고리)에는 Badge를 씁니다. StatusDot은 관측된 상태용입니다."]
|
|
5065
5076
|
},
|
|
5066
5077
|
testDescribe: "StatusDot"
|
|
@@ -5157,6 +5168,11 @@ const MyDashboard = createBlock<MyDashboardProps>(
|
|
|
5157
5168
|
type: "string",
|
|
5158
5169
|
required: true,
|
|
5159
5170
|
description: "radiogroup 이름. 필수"
|
|
5171
|
+
},
|
|
5172
|
+
{
|
|
5173
|
+
name: "className",
|
|
5174
|
+
type: "string",
|
|
5175
|
+
description: "추가 CSS 클래스"
|
|
5160
5176
|
}
|
|
5161
5177
|
] },
|
|
5162
5178
|
usage: {
|
|
@@ -5767,7 +5783,7 @@ const fields = [
|
|
|
5767
5783
|
{
|
|
5768
5784
|
name: "DataTable",
|
|
5769
5785
|
category: "shell",
|
|
5770
|
-
description: "제네릭 데이터 테이블.
|
|
5786
|
+
description: "제네릭 데이터 테이블. 제목은 opt-in이고 ariaLabel로 grid를 이름 붙이며, 동적 컬럼·안전 정렬·키보드 리사이즈·Composite 탐색을 지원합니다.",
|
|
5771
5787
|
slug: "data-table",
|
|
5772
5788
|
exports: ["DataTable"],
|
|
5773
5789
|
keyboardShortcuts: [
|
|
@@ -5835,8 +5851,12 @@ const fields = [
|
|
|
5835
5851
|
{
|
|
5836
5852
|
name: "title",
|
|
5837
5853
|
type: "string",
|
|
5838
|
-
|
|
5839
|
-
|
|
5854
|
+
description: "테이블 위에 표시할 제목. 생략하면 제목 영역을 렌더하지 않음"
|
|
5855
|
+
},
|
|
5856
|
+
{
|
|
5857
|
+
name: "ariaLabel",
|
|
5858
|
+
type: "string",
|
|
5859
|
+
description: "보이는 제목이 없을 때 grid에 제공할 접근 가능한 이름"
|
|
5840
5860
|
},
|
|
5841
5861
|
{
|
|
5842
5862
|
name: "onRowClick",
|
|
@@ -5846,7 +5866,7 @@ const fields = [
|
|
|
5846
5866
|
{
|
|
5847
5867
|
name: "emptyMessage",
|
|
5848
5868
|
type: "string",
|
|
5849
|
-
default: "\"
|
|
5869
|
+
default: "\"No data available\"",
|
|
5850
5870
|
description: "데이터 없을 때 표시할 메시지"
|
|
5851
5871
|
}
|
|
5852
5872
|
],
|
|
@@ -6820,10 +6840,78 @@ const filters = [
|
|
|
6820
6840
|
{
|
|
6821
6841
|
name: "PropertyExplorer",
|
|
6822
6842
|
category: "shell",
|
|
6823
|
-
description: "
|
|
6843
|
+
description: "검색 가능한 속성 목록을 그룹별로 표시하고, 숨김 상태와 호출자 소유의 명시적인 편집 액션을 함께 제공합니다.",
|
|
6824
6844
|
slug: "property-explorer",
|
|
6825
6845
|
exports: ["PropertyExplorer"],
|
|
6826
|
-
props: {
|
|
6846
|
+
props: {
|
|
6847
|
+
PropertyExplorer: [
|
|
6848
|
+
{
|
|
6849
|
+
name: "groups",
|
|
6850
|
+
type: "PropertyGroup[]",
|
|
6851
|
+
required: true,
|
|
6852
|
+
description: "그룹별 속성 목록. 각 속성은 dataType과 hidden 상태를 포함 가능"
|
|
6853
|
+
},
|
|
6854
|
+
{
|
|
6855
|
+
name: "onSelect",
|
|
6856
|
+
type: "(property: PropertyDef) => void",
|
|
6857
|
+
description: "속성 선택"
|
|
6858
|
+
},
|
|
6859
|
+
{
|
|
6860
|
+
name: "onEdit",
|
|
6861
|
+
type: "(property: PropertyDef) => void",
|
|
6862
|
+
description: "행에 명시적인 편집 버튼을 표시하고 선택한 속성을 전달"
|
|
6863
|
+
},
|
|
6864
|
+
{
|
|
6865
|
+
name: "className",
|
|
6866
|
+
type: "string",
|
|
6867
|
+
description: "추가 CSS 클래스"
|
|
6868
|
+
},
|
|
6869
|
+
{
|
|
6870
|
+
name: "labels",
|
|
6871
|
+
type: "PropertyExplorerLabels",
|
|
6872
|
+
description: "검색·빈 상태·편집·숨김 문구"
|
|
6873
|
+
}
|
|
6874
|
+
],
|
|
6875
|
+
PropertyDef: [
|
|
6876
|
+
{
|
|
6877
|
+
name: "name",
|
|
6878
|
+
type: "string",
|
|
6879
|
+
required: true,
|
|
6880
|
+
description: "속성 이름"
|
|
6881
|
+
},
|
|
6882
|
+
{
|
|
6883
|
+
name: "type",
|
|
6884
|
+
type: "string",
|
|
6885
|
+
required: true,
|
|
6886
|
+
description: "원본 스키마 타입"
|
|
6887
|
+
},
|
|
6888
|
+
{
|
|
6889
|
+
name: "dataType",
|
|
6890
|
+
type: "FieldDataType",
|
|
6891
|
+
description: "호출자가 이미 판정한 opt-ui 필드 타입"
|
|
6892
|
+
},
|
|
6893
|
+
{
|
|
6894
|
+
name: "description",
|
|
6895
|
+
type: "string",
|
|
6896
|
+
description: "속성 설명"
|
|
6897
|
+
},
|
|
6898
|
+
{
|
|
6899
|
+
name: "exampleValue",
|
|
6900
|
+
type: "string",
|
|
6901
|
+
description: "예시 값"
|
|
6902
|
+
},
|
|
6903
|
+
{
|
|
6904
|
+
name: "eventCount",
|
|
6905
|
+
type: "number",
|
|
6906
|
+
description: "관측 이벤트 수"
|
|
6907
|
+
},
|
|
6908
|
+
{
|
|
6909
|
+
name: "hidden",
|
|
6910
|
+
type: "boolean",
|
|
6911
|
+
description: "피커에서는 숨기되 탐색기에서는 흐리게 표시할 상태"
|
|
6912
|
+
}
|
|
6913
|
+
]
|
|
6914
|
+
},
|
|
6827
6915
|
dependencies: [{
|
|
6828
6916
|
slug: "input",
|
|
6829
6917
|
category: "core"
|
|
@@ -6982,10 +7070,74 @@ const filters = [
|
|
|
6982
7070
|
{
|
|
6983
7071
|
name: "EventMetaEditor",
|
|
6984
7072
|
category: "shell",
|
|
6985
|
-
description: "이벤트
|
|
7073
|
+
description: "기본 이벤트 메타와 호출자 소유 섹션을 한 폼에서 편집하고, footer의 한 액션으로 함께 저장할 수 있습니다.",
|
|
6986
7074
|
slug: "event-meta-editor",
|
|
6987
7075
|
exports: ["EventMetaEditor"],
|
|
6988
|
-
props: {
|
|
7076
|
+
props: {
|
|
7077
|
+
EventMetaEditor: [
|
|
7078
|
+
{
|
|
7079
|
+
name: "value",
|
|
7080
|
+
type: "EventMeta",
|
|
7081
|
+
required: true,
|
|
7082
|
+
description: "편집 중인 이벤트 메타데이터"
|
|
7083
|
+
},
|
|
7084
|
+
{
|
|
7085
|
+
name: "onChange",
|
|
7086
|
+
type: "(meta: EventMeta) => void",
|
|
7087
|
+
required: true,
|
|
7088
|
+
description: "메타데이터 변경"
|
|
7089
|
+
},
|
|
7090
|
+
{
|
|
7091
|
+
name: "icons",
|
|
7092
|
+
type: "IconDef[]",
|
|
7093
|
+
description: "선택 가능한 아이콘"
|
|
7094
|
+
},
|
|
7095
|
+
{
|
|
7096
|
+
name: "sections",
|
|
7097
|
+
type: "EventMetaEditorSection[]",
|
|
7098
|
+
description: "기본 여섯 필드 뒤에 렌더할 호출자 소유 섹션"
|
|
7099
|
+
},
|
|
7100
|
+
{
|
|
7101
|
+
name: "footer",
|
|
7102
|
+
type: "ReactNode",
|
|
7103
|
+
description: "내장 필드와 추가 섹션을 함께 저장하는 마지막 액션 영역"
|
|
7104
|
+
},
|
|
7105
|
+
{
|
|
7106
|
+
name: "className",
|
|
7107
|
+
type: "string",
|
|
7108
|
+
description: "추가 CSS 클래스"
|
|
7109
|
+
},
|
|
7110
|
+
{
|
|
7111
|
+
name: "labels",
|
|
7112
|
+
type: "EventMetaEditorLabels",
|
|
7113
|
+
description: "필드 레이블과 placeholder 문구"
|
|
7114
|
+
}
|
|
7115
|
+
],
|
|
7116
|
+
EventMetaEditorSection: [
|
|
7117
|
+
{
|
|
7118
|
+
name: "id",
|
|
7119
|
+
type: "string",
|
|
7120
|
+
required: true,
|
|
7121
|
+
description: "섹션 키"
|
|
7122
|
+
},
|
|
7123
|
+
{
|
|
7124
|
+
name: "title",
|
|
7125
|
+
type: "ReactNode",
|
|
7126
|
+
description: "섹션 제목"
|
|
7127
|
+
},
|
|
7128
|
+
{
|
|
7129
|
+
name: "description",
|
|
7130
|
+
type: "ReactNode",
|
|
7131
|
+
description: "섹션 변경이 미치는 영향 안내"
|
|
7132
|
+
},
|
|
7133
|
+
{
|
|
7134
|
+
name: "children",
|
|
7135
|
+
type: "ReactNode",
|
|
7136
|
+
required: true,
|
|
7137
|
+
description: "호출자가 소유하는 필드"
|
|
7138
|
+
}
|
|
7139
|
+
]
|
|
7140
|
+
},
|
|
6989
7141
|
dependencies: [
|
|
6990
7142
|
{
|
|
6991
7143
|
slug: "input",
|
|
@@ -9369,6 +9521,16 @@ const messages = [
|
|
|
9369
9521
|
type: "\"sm\" | \"md\" | \"lg\"",
|
|
9370
9522
|
default: "\"md\"",
|
|
9371
9523
|
description: "push 레이아웃에서의 인스펙터 폭"
|
|
9524
|
+
},
|
|
9525
|
+
{
|
|
9526
|
+
name: "labels",
|
|
9527
|
+
type: "InspectorLayoutLabels",
|
|
9528
|
+
description: "닫기 버튼 등 인스펙터 문구"
|
|
9529
|
+
},
|
|
9530
|
+
{
|
|
9531
|
+
name: "className",
|
|
9532
|
+
type: "string",
|
|
9533
|
+
description: "추가 CSS 클래스"
|
|
9372
9534
|
}
|
|
9373
9535
|
] },
|
|
9374
9536
|
usage: {
|
|
@@ -9434,6 +9596,16 @@ const messages = [
|
|
|
9434
9596
|
name: "queryBarLabels",
|
|
9435
9597
|
type: "QueryBarLabels",
|
|
9436
9598
|
description: "QueryBar로 통과되는 나머지 문구. placeholder/ariaLabel은 labels가 이깁니다"
|
|
9599
|
+
},
|
|
9600
|
+
{
|
|
9601
|
+
name: "labels",
|
|
9602
|
+
type: "QueryFilterBarLabels",
|
|
9603
|
+
description: "검색·필터·초기화 문구"
|
|
9604
|
+
},
|
|
9605
|
+
{
|
|
9606
|
+
name: "className",
|
|
9607
|
+
type: "string",
|
|
9608
|
+
description: "추가 CSS 클래스"
|
|
9437
9609
|
}
|
|
9438
9610
|
] },
|
|
9439
9611
|
usage: {
|
|
@@ -9616,6 +9788,11 @@ const messages = [
|
|
|
9616
9788
|
name: "labels",
|
|
9617
9789
|
type: "CatalogFrameLabels",
|
|
9618
9790
|
description: "빈/필터된 빈/에러 문구"
|
|
9791
|
+
},
|
|
9792
|
+
{
|
|
9793
|
+
name: "className",
|
|
9794
|
+
type: "string",
|
|
9795
|
+
description: "추가 CSS 클래스"
|
|
9619
9796
|
}
|
|
9620
9797
|
],
|
|
9621
9798
|
CatalogRowActions: [
|
|
@@ -9643,6 +9820,36 @@ const messages = [
|
|
|
9643
9820
|
description: "그룹·오버플로 라벨"
|
|
9644
9821
|
}
|
|
9645
9822
|
],
|
|
9823
|
+
CatalogRowAction: [
|
|
9824
|
+
{
|
|
9825
|
+
name: "id",
|
|
9826
|
+
type: "string",
|
|
9827
|
+
required: true,
|
|
9828
|
+
description: "액션 키"
|
|
9829
|
+
},
|
|
9830
|
+
{
|
|
9831
|
+
name: "label",
|
|
9832
|
+
type: "string",
|
|
9833
|
+
required: true,
|
|
9834
|
+
description: "액션 문구"
|
|
9835
|
+
},
|
|
9836
|
+
{
|
|
9837
|
+
name: "icon",
|
|
9838
|
+
type: "ReactNode",
|
|
9839
|
+
description: "선택적 액션 아이콘"
|
|
9840
|
+
},
|
|
9841
|
+
{
|
|
9842
|
+
name: "onSelect",
|
|
9843
|
+
type: "(item: T) => void",
|
|
9844
|
+
required: true,
|
|
9845
|
+
description: "행과 함께 호출되는 액션"
|
|
9846
|
+
},
|
|
9847
|
+
{
|
|
9848
|
+
name: "available",
|
|
9849
|
+
type: "(item: T) => boolean",
|
|
9850
|
+
description: "이 행에 적용되지 않는 액션을 비활성화 대신 제거"
|
|
9851
|
+
}
|
|
9852
|
+
],
|
|
9646
9853
|
CatalogCellControls: [{
|
|
9647
9854
|
name: "children",
|
|
9648
9855
|
type: "ReactNode",
|
package/dist/meta.js
CHANGED
|
@@ -2,7 +2,7 @@ const coreMetas = [
|
|
|
2
2
|
{
|
|
3
3
|
name: "FieldToken",
|
|
4
4
|
category: "core",
|
|
5
|
-
description: "필드 타입을
|
|
5
|
+
description: "필드 타입을 일관된 글리프와 선택적 텍스트 레이블로 표현합니다. 문자열·숫자·날짜·IP·지오 등 분석 스키마 타입마다 같은 아이콘과 팔레트 슬롯을 씁니다.",
|
|
6
6
|
slug: "field-token",
|
|
7
7
|
exports: [
|
|
8
8
|
"FieldToken",
|
|
@@ -45,6 +45,17 @@ const coreMetas = [
|
|
|
45
45
|
default: "false",
|
|
46
46
|
description: "인접 텍스트가 타입을 이미 말할 때 접근성 트리에서 제외"
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
name: "withLabel",
|
|
50
|
+
type: "boolean",
|
|
51
|
+
default: "false",
|
|
52
|
+
description: "글리프 옆에 타입 이름을 함께 표시"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: "label",
|
|
56
|
+
type: "string",
|
|
57
|
+
description: "withLabel이 표시할 문구. 기본값은 타입 이름"
|
|
58
|
+
},
|
|
48
59
|
{
|
|
49
60
|
name: "className",
|
|
50
61
|
type: "string",
|
|
@@ -5055,11 +5066,11 @@ const MyDashboard = createBlock<MyDashboardProps>(
|
|
|
5055
5066
|
{
|
|
5056
5067
|
name: "hint",
|
|
5057
5068
|
type: "string",
|
|
5058
|
-
description: "판정
|
|
5069
|
+
description: "판정 기준. 호버·키보드 포커스로 열리는 툴팁이며, 지정하면 이 항목이 탭 정지점이 됩니다"
|
|
5059
5070
|
}
|
|
5060
5071
|
] },
|
|
5061
5072
|
usage: {
|
|
5062
|
-
bestPractices: ["표의 상태 컬럼처럼 행마다 반복되는 자리에 씁니다. 점은 장식이고 의미는 텍스트가 담습니다."],
|
|
5073
|
+
bestPractices: ["표의 상태 컬럼처럼 행마다 반복되는 자리에 씁니다. 점은 장식이고 의미는 텍스트가 담습니다.", "hint는 행마다 탭 정지점을 하나 늘립니다. 알아야 행동할 수 있는 규칙이면 툴팁이 아니라 상태 옆 텍스트에 씁니다."],
|
|
5063
5074
|
avoid: ["사람이 붙인 라벨(태그, 카테고리)에는 Badge를 씁니다. StatusDot은 관측된 상태용입니다."]
|
|
5064
5075
|
},
|
|
5065
5076
|
testDescribe: "StatusDot"
|
|
@@ -5156,6 +5167,11 @@ const MyDashboard = createBlock<MyDashboardProps>(
|
|
|
5156
5167
|
type: "string",
|
|
5157
5168
|
required: true,
|
|
5158
5169
|
description: "radiogroup 이름. 필수"
|
|
5170
|
+
},
|
|
5171
|
+
{
|
|
5172
|
+
name: "className",
|
|
5173
|
+
type: "string",
|
|
5174
|
+
description: "추가 CSS 클래스"
|
|
5159
5175
|
}
|
|
5160
5176
|
] },
|
|
5161
5177
|
usage: {
|
|
@@ -5766,7 +5782,7 @@ const fields = [
|
|
|
5766
5782
|
{
|
|
5767
5783
|
name: "DataTable",
|
|
5768
5784
|
category: "shell",
|
|
5769
|
-
description: "제네릭 데이터 테이블.
|
|
5785
|
+
description: "제네릭 데이터 테이블. 제목은 opt-in이고 ariaLabel로 grid를 이름 붙이며, 동적 컬럼·안전 정렬·키보드 리사이즈·Composite 탐색을 지원합니다.",
|
|
5770
5786
|
slug: "data-table",
|
|
5771
5787
|
exports: ["DataTable"],
|
|
5772
5788
|
keyboardShortcuts: [
|
|
@@ -5834,8 +5850,12 @@ const fields = [
|
|
|
5834
5850
|
{
|
|
5835
5851
|
name: "title",
|
|
5836
5852
|
type: "string",
|
|
5837
|
-
|
|
5838
|
-
|
|
5853
|
+
description: "테이블 위에 표시할 제목. 생략하면 제목 영역을 렌더하지 않음"
|
|
5854
|
+
},
|
|
5855
|
+
{
|
|
5856
|
+
name: "ariaLabel",
|
|
5857
|
+
type: "string",
|
|
5858
|
+
description: "보이는 제목이 없을 때 grid에 제공할 접근 가능한 이름"
|
|
5839
5859
|
},
|
|
5840
5860
|
{
|
|
5841
5861
|
name: "onRowClick",
|
|
@@ -5845,7 +5865,7 @@ const fields = [
|
|
|
5845
5865
|
{
|
|
5846
5866
|
name: "emptyMessage",
|
|
5847
5867
|
type: "string",
|
|
5848
|
-
default: "\"
|
|
5868
|
+
default: "\"No data available\"",
|
|
5849
5869
|
description: "데이터 없을 때 표시할 메시지"
|
|
5850
5870
|
}
|
|
5851
5871
|
],
|
|
@@ -6819,10 +6839,78 @@ const filters = [
|
|
|
6819
6839
|
{
|
|
6820
6840
|
name: "PropertyExplorer",
|
|
6821
6841
|
category: "shell",
|
|
6822
|
-
description: "
|
|
6842
|
+
description: "검색 가능한 속성 목록을 그룹별로 표시하고, 숨김 상태와 호출자 소유의 명시적인 편집 액션을 함께 제공합니다.",
|
|
6823
6843
|
slug: "property-explorer",
|
|
6824
6844
|
exports: ["PropertyExplorer"],
|
|
6825
|
-
props: {
|
|
6845
|
+
props: {
|
|
6846
|
+
PropertyExplorer: [
|
|
6847
|
+
{
|
|
6848
|
+
name: "groups",
|
|
6849
|
+
type: "PropertyGroup[]",
|
|
6850
|
+
required: true,
|
|
6851
|
+
description: "그룹별 속성 목록. 각 속성은 dataType과 hidden 상태를 포함 가능"
|
|
6852
|
+
},
|
|
6853
|
+
{
|
|
6854
|
+
name: "onSelect",
|
|
6855
|
+
type: "(property: PropertyDef) => void",
|
|
6856
|
+
description: "속성 선택"
|
|
6857
|
+
},
|
|
6858
|
+
{
|
|
6859
|
+
name: "onEdit",
|
|
6860
|
+
type: "(property: PropertyDef) => void",
|
|
6861
|
+
description: "행에 명시적인 편집 버튼을 표시하고 선택한 속성을 전달"
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
name: "className",
|
|
6865
|
+
type: "string",
|
|
6866
|
+
description: "추가 CSS 클래스"
|
|
6867
|
+
},
|
|
6868
|
+
{
|
|
6869
|
+
name: "labels",
|
|
6870
|
+
type: "PropertyExplorerLabels",
|
|
6871
|
+
description: "검색·빈 상태·편집·숨김 문구"
|
|
6872
|
+
}
|
|
6873
|
+
],
|
|
6874
|
+
PropertyDef: [
|
|
6875
|
+
{
|
|
6876
|
+
name: "name",
|
|
6877
|
+
type: "string",
|
|
6878
|
+
required: true,
|
|
6879
|
+
description: "속성 이름"
|
|
6880
|
+
},
|
|
6881
|
+
{
|
|
6882
|
+
name: "type",
|
|
6883
|
+
type: "string",
|
|
6884
|
+
required: true,
|
|
6885
|
+
description: "원본 스키마 타입"
|
|
6886
|
+
},
|
|
6887
|
+
{
|
|
6888
|
+
name: "dataType",
|
|
6889
|
+
type: "FieldDataType",
|
|
6890
|
+
description: "호출자가 이미 판정한 opt-ui 필드 타입"
|
|
6891
|
+
},
|
|
6892
|
+
{
|
|
6893
|
+
name: "description",
|
|
6894
|
+
type: "string",
|
|
6895
|
+
description: "속성 설명"
|
|
6896
|
+
},
|
|
6897
|
+
{
|
|
6898
|
+
name: "exampleValue",
|
|
6899
|
+
type: "string",
|
|
6900
|
+
description: "예시 값"
|
|
6901
|
+
},
|
|
6902
|
+
{
|
|
6903
|
+
name: "eventCount",
|
|
6904
|
+
type: "number",
|
|
6905
|
+
description: "관측 이벤트 수"
|
|
6906
|
+
},
|
|
6907
|
+
{
|
|
6908
|
+
name: "hidden",
|
|
6909
|
+
type: "boolean",
|
|
6910
|
+
description: "피커에서는 숨기되 탐색기에서는 흐리게 표시할 상태"
|
|
6911
|
+
}
|
|
6912
|
+
]
|
|
6913
|
+
},
|
|
6826
6914
|
dependencies: [{
|
|
6827
6915
|
slug: "input",
|
|
6828
6916
|
category: "core"
|
|
@@ -6981,10 +7069,74 @@ const filters = [
|
|
|
6981
7069
|
{
|
|
6982
7070
|
name: "EventMetaEditor",
|
|
6983
7071
|
category: "shell",
|
|
6984
|
-
description: "이벤트
|
|
7072
|
+
description: "기본 이벤트 메타와 호출자 소유 섹션을 한 폼에서 편집하고, footer의 한 액션으로 함께 저장할 수 있습니다.",
|
|
6985
7073
|
slug: "event-meta-editor",
|
|
6986
7074
|
exports: ["EventMetaEditor"],
|
|
6987
|
-
props: {
|
|
7075
|
+
props: {
|
|
7076
|
+
EventMetaEditor: [
|
|
7077
|
+
{
|
|
7078
|
+
name: "value",
|
|
7079
|
+
type: "EventMeta",
|
|
7080
|
+
required: true,
|
|
7081
|
+
description: "편집 중인 이벤트 메타데이터"
|
|
7082
|
+
},
|
|
7083
|
+
{
|
|
7084
|
+
name: "onChange",
|
|
7085
|
+
type: "(meta: EventMeta) => void",
|
|
7086
|
+
required: true,
|
|
7087
|
+
description: "메타데이터 변경"
|
|
7088
|
+
},
|
|
7089
|
+
{
|
|
7090
|
+
name: "icons",
|
|
7091
|
+
type: "IconDef[]",
|
|
7092
|
+
description: "선택 가능한 아이콘"
|
|
7093
|
+
},
|
|
7094
|
+
{
|
|
7095
|
+
name: "sections",
|
|
7096
|
+
type: "EventMetaEditorSection[]",
|
|
7097
|
+
description: "기본 여섯 필드 뒤에 렌더할 호출자 소유 섹션"
|
|
7098
|
+
},
|
|
7099
|
+
{
|
|
7100
|
+
name: "footer",
|
|
7101
|
+
type: "ReactNode",
|
|
7102
|
+
description: "내장 필드와 추가 섹션을 함께 저장하는 마지막 액션 영역"
|
|
7103
|
+
},
|
|
7104
|
+
{
|
|
7105
|
+
name: "className",
|
|
7106
|
+
type: "string",
|
|
7107
|
+
description: "추가 CSS 클래스"
|
|
7108
|
+
},
|
|
7109
|
+
{
|
|
7110
|
+
name: "labels",
|
|
7111
|
+
type: "EventMetaEditorLabels",
|
|
7112
|
+
description: "필드 레이블과 placeholder 문구"
|
|
7113
|
+
}
|
|
7114
|
+
],
|
|
7115
|
+
EventMetaEditorSection: [
|
|
7116
|
+
{
|
|
7117
|
+
name: "id",
|
|
7118
|
+
type: "string",
|
|
7119
|
+
required: true,
|
|
7120
|
+
description: "섹션 키"
|
|
7121
|
+
},
|
|
7122
|
+
{
|
|
7123
|
+
name: "title",
|
|
7124
|
+
type: "ReactNode",
|
|
7125
|
+
description: "섹션 제목"
|
|
7126
|
+
},
|
|
7127
|
+
{
|
|
7128
|
+
name: "description",
|
|
7129
|
+
type: "ReactNode",
|
|
7130
|
+
description: "섹션 변경이 미치는 영향 안내"
|
|
7131
|
+
},
|
|
7132
|
+
{
|
|
7133
|
+
name: "children",
|
|
7134
|
+
type: "ReactNode",
|
|
7135
|
+
required: true,
|
|
7136
|
+
description: "호출자가 소유하는 필드"
|
|
7137
|
+
}
|
|
7138
|
+
]
|
|
7139
|
+
},
|
|
6988
7140
|
dependencies: [
|
|
6989
7141
|
{
|
|
6990
7142
|
slug: "input",
|
|
@@ -9368,6 +9520,16 @@ const messages = [
|
|
|
9368
9520
|
type: "\"sm\" | \"md\" | \"lg\"",
|
|
9369
9521
|
default: "\"md\"",
|
|
9370
9522
|
description: "push 레이아웃에서의 인스펙터 폭"
|
|
9523
|
+
},
|
|
9524
|
+
{
|
|
9525
|
+
name: "labels",
|
|
9526
|
+
type: "InspectorLayoutLabels",
|
|
9527
|
+
description: "닫기 버튼 등 인스펙터 문구"
|
|
9528
|
+
},
|
|
9529
|
+
{
|
|
9530
|
+
name: "className",
|
|
9531
|
+
type: "string",
|
|
9532
|
+
description: "추가 CSS 클래스"
|
|
9371
9533
|
}
|
|
9372
9534
|
] },
|
|
9373
9535
|
usage: {
|
|
@@ -9433,6 +9595,16 @@ const messages = [
|
|
|
9433
9595
|
name: "queryBarLabels",
|
|
9434
9596
|
type: "QueryBarLabels",
|
|
9435
9597
|
description: "QueryBar로 통과되는 나머지 문구. placeholder/ariaLabel은 labels가 이깁니다"
|
|
9598
|
+
},
|
|
9599
|
+
{
|
|
9600
|
+
name: "labels",
|
|
9601
|
+
type: "QueryFilterBarLabels",
|
|
9602
|
+
description: "검색·필터·초기화 문구"
|
|
9603
|
+
},
|
|
9604
|
+
{
|
|
9605
|
+
name: "className",
|
|
9606
|
+
type: "string",
|
|
9607
|
+
description: "추가 CSS 클래스"
|
|
9436
9608
|
}
|
|
9437
9609
|
] },
|
|
9438
9610
|
usage: {
|
|
@@ -9615,6 +9787,11 @@ const messages = [
|
|
|
9615
9787
|
name: "labels",
|
|
9616
9788
|
type: "CatalogFrameLabels",
|
|
9617
9789
|
description: "빈/필터된 빈/에러 문구"
|
|
9790
|
+
},
|
|
9791
|
+
{
|
|
9792
|
+
name: "className",
|
|
9793
|
+
type: "string",
|
|
9794
|
+
description: "추가 CSS 클래스"
|
|
9618
9795
|
}
|
|
9619
9796
|
],
|
|
9620
9797
|
CatalogRowActions: [
|
|
@@ -9642,6 +9819,36 @@ const messages = [
|
|
|
9642
9819
|
description: "그룹·오버플로 라벨"
|
|
9643
9820
|
}
|
|
9644
9821
|
],
|
|
9822
|
+
CatalogRowAction: [
|
|
9823
|
+
{
|
|
9824
|
+
name: "id",
|
|
9825
|
+
type: "string",
|
|
9826
|
+
required: true,
|
|
9827
|
+
description: "액션 키"
|
|
9828
|
+
},
|
|
9829
|
+
{
|
|
9830
|
+
name: "label",
|
|
9831
|
+
type: "string",
|
|
9832
|
+
required: true,
|
|
9833
|
+
description: "액션 문구"
|
|
9834
|
+
},
|
|
9835
|
+
{
|
|
9836
|
+
name: "icon",
|
|
9837
|
+
type: "ReactNode",
|
|
9838
|
+
description: "선택적 액션 아이콘"
|
|
9839
|
+
},
|
|
9840
|
+
{
|
|
9841
|
+
name: "onSelect",
|
|
9842
|
+
type: "(item: T) => void",
|
|
9843
|
+
required: true,
|
|
9844
|
+
description: "행과 함께 호출되는 액션"
|
|
9845
|
+
},
|
|
9846
|
+
{
|
|
9847
|
+
name: "available",
|
|
9848
|
+
type: "(item: T) => boolean",
|
|
9849
|
+
description: "이 행에 적용되지 않는 액션을 비활성화 대신 제거"
|
|
9850
|
+
}
|
|
9851
|
+
],
|
|
9645
9852
|
CatalogCellControls: [{
|
|
9646
9853
|
name: "children",
|
|
9647
9854
|
type: "ReactNode",
|