@stn-uiux/pub-ui-react 0.1.81 → 0.1.84
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/index.d.ts +936 -81
- package/dist/index.js +4419 -1584
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { ReactNode, ButtonHTMLAttributes, InputHTMLAttributes, HTMLAttributes, CSSProperties, ComponentPropsWithoutRef, ThHTMLAttributes, TdHTMLAttributes, AllHTMLAttributes, ElementType,
|
|
3
|
+
import react__default, { ReactNode, ButtonHTMLAttributes, InputHTMLAttributes, HTMLAttributes, CSSProperties, ComponentPropsWithoutRef, MouseEvent as MouseEvent$1, KeyboardEvent as KeyboardEvent$1, ThHTMLAttributes, TdHTMLAttributes, AllHTMLAttributes, ElementType, forwardRef, FormHTMLAttributes, TextareaHTMLAttributes, SVGAttributes } from 'react';
|
|
4
4
|
import { StnInputWidthValue } from '@stn-uiux/pub-ui/data/stnInputWidth';
|
|
5
5
|
export { resolveSystemIconSrcFromName, systemIconSrc } from '@stn-uiux/pub-ui/data/stnSystemIcons';
|
|
6
6
|
export { STN_PAGINATION_EXAMPLE, STN_PAGINATION_FIGMA, STN_PAGINATION_INTRO, STN_PAGINATION_REACT } from '@stn-uiux/pub-ui/data/stnPagination';
|
|
7
|
+
import { StnPopoverReference, StnPopoverPosition, StnPopoverOrigin } from '@stn-uiux/pub-ui/data/stnPopover';
|
|
8
|
+
export { StnPopoverHorizontalOrigin, StnPopoverOrigin, StnPopoverPosition, StnPopoverReference, StnPopoverVerticalOrigin } from '@stn-uiux/pub-ui/data/stnPopover';
|
|
7
9
|
import { StnToastKind } from '@stn-uiux/pub-ui/data/stnToast';
|
|
8
10
|
export { STN_TOAST_ICON_SLUG } from '@stn-uiux/pub-ui/data/stnToast';
|
|
9
11
|
import { StnStatusDotState, StnStatusFlowStep } from '@stn-uiux/pub-ui/data/stnStatus';
|
|
10
12
|
import { StnCardVariant, StnCardRadius, StnCardPadding, StnCardSeverity } from '@stn-uiux/pub-ui/data/stnCard';
|
|
11
13
|
export { StnCardSeverity } from '@stn-uiux/pub-ui/data/stnCard';
|
|
14
|
+
import { StnSplitViewSideWidth, StnSplitViewOverlayPlacement } from '@stn-uiux/pub-ui/data/stnSplitView';
|
|
15
|
+
export { StnSplitViewOverlayPlacement, StnSplitViewSideWidth } from '@stn-uiux/pub-ui/data/stnSplitView';
|
|
16
|
+
import { StnStepStatus, StnStepperOrientation, StnStepperPosition, StnStepperSize, StnStepperLineThickness, StnStepItem } from '@stn-uiux/pub-ui/data/stnStepper';
|
|
17
|
+
export { StnStepItem, StnStepStatus, StnStepperOrientation, StnStepperPosition, StnStepperSize } from '@stn-uiux/pub-ui/data/stnStepper';
|
|
12
18
|
import { StnChipGrade, StnChipBorderAccent } from '@stn-uiux/pub-ui/data/stnChip';
|
|
13
19
|
import { StnDividerOrientation, StnDividerVariant, StnDividerTextAlign } from '@stn-uiux/pub-ui/data/stnDivider';
|
|
14
20
|
export { StnDividerOrientation, StnDividerTextAlign, StnDividerVariant } from '@stn-uiux/pub-ui/data/stnDivider';
|
|
@@ -26,9 +32,9 @@ import { StnHeaderVariant, StnHeaderPadding, StnHeaderGap } from '@stn-uiux/pub-
|
|
|
26
32
|
export { STN_HEADER_INTRO, STN_HEADER_PAGE_TITLE_DEMO, STN_HEADER_USAGE, STN_HEADER_VARIANT_ROWS, STN_SYSTEM_CHIP_DEMO, StnHeaderGap, StnHeaderPadding, StnHeaderVariant } from '@stn-uiux/pub-ui/data/stnHeader';
|
|
27
33
|
import { StnLayer0BackgroundPreset, StnLayer0BackgroundKind } from '@stn-uiux/pub-ui/data/stnLayer0Background';
|
|
28
34
|
export { STN_LAYER0_BACKGROUND_DEMO_IMAGES, STN_LAYER0_BACKGROUND_INTRO, STN_LAYER0_BACKGROUND_USAGE, STN_LAYER0_BACKGROUND_VARIANT_ROWS, STN_LAYER0_MAP_LIGHT_OVERLAY, StnLayer0BackgroundKind, StnLayer0BackgroundPreset } from '@stn-uiux/pub-ui/data/stnLayer0Background';
|
|
29
|
-
import { StnDateRange } from '@stn-uiux/pub-ui/data/stnDatePicker';
|
|
30
|
-
export { STN_DATE_PICKER_INTRO, STN_DATE_PICKER_KO_NAME, STN_DATE_PICKER_NAME, STN_DATE_PICKER_PANEL_USAGE, STN_DATE_PICKER_PART_ROWS, STN_DATE_PICKER_SPEC, STN_DATE_PICKER_USAGE, STN_DATE_PICKER_WEEKDAYS, StnDateRange } from '@stn-uiux/pub-ui/data/stnDatePicker';
|
|
31
|
-
import { StnWidgetShell, StnWidgetAppearance, StnWidgetBackgroundMode
|
|
35
|
+
import { StnDateRange, StnDatePickerMode, StnDateTimePlacement, StnDatePreset } from '@stn-uiux/pub-ui/data/stnDatePicker';
|
|
36
|
+
export { STN_DATE_PICKER_INTRO, STN_DATE_PICKER_KO_NAME, STN_DATE_PICKER_NAME, STN_DATE_PICKER_PANEL_USAGE, STN_DATE_PICKER_PART_ROWS, STN_DATE_PICKER_SPEC, STN_DATE_PICKER_USAGE, STN_DATE_PICKER_WEEKDAYS, STN_DATE_PRESET_LABEL, StnDatePickerMode, StnDatePreset, StnDatePresetKind, StnDateRange, StnDateTimePlacement, createStnDatePreset, createStnDatePresets } from '@stn-uiux/pub-ui/data/stnDatePicker';
|
|
37
|
+
import { StnWidgetGradeRowGrade, StnWidgetShell, StnWidgetAppearance, StnWidgetBackgroundMode } from '@stn-uiux/pub-ui/data/stnWidget';
|
|
32
38
|
export { STN_ALERT_CENTER_DASHBOARD_USAGE, STN_ALERT_CENTER_DASHBOARD_WIDGETS, STN_WIDGET_FIGMA, STN_WIDGET_FIGMA_DARK, STN_WIDGET_FIGMA_DARK_URL, STN_WIDGET_FIGMA_URL, STN_WIDGET_INTRO, STN_WIDGET_KINDS, STN_WIDGET_SHELL_ROWS, STN_WIDGET_USAGE, StnWidgetAppearance, StnWidgetBackgroundMode, StnWidgetContentFamily, StnWidgetGradeRowGrade, StnWidgetKind, StnWidgetShell, getStnWidgetKind, isStnWidgetKindSlug, resolveStnWidgetBackground, stnWidgetSampleUrl } from '@stn-uiux/pub-ui/data/stnWidget';
|
|
33
39
|
import { StnAlertCenterAlertItem, StnAlertCenterTextOverflow, StnAlertCenterWorkItem, StnAlertCenterTab, StnAlertCenterSize } from '@stn-uiux/pub-ui/data/stnAlertCenter';
|
|
34
40
|
export { STN_ALERT_CENTER_DEMO_ALERTS, STN_ALERT_CENTER_DEMO_DEPLOY, STN_ALERT_CENTER_DEMO_WORK, STN_ALERT_CENTER_INTRO, STN_ALERT_CENTER_TABS, STN_ALERT_CENTER_TAB_IDS, STN_ALERT_CENTER_USAGE, STN_ALERT_CENTER_USAGE_HTML, STN_GNB_ALERT_INTEGRATION_USAGE, StnAlertCenterAlertItem, StnAlertCenterSize, StnAlertCenterTab, StnAlertCenterTextOverflow, StnAlertCenterWorkItem } from '@stn-uiux/pub-ui/data/stnAlertCenter';
|
|
@@ -38,6 +44,8 @@ export { STN_ALERT_CENTER_PAGE_SCAFFOLD_USAGE, STN_LAYER_SHELL_USAGE, STN_LAYOUT
|
|
|
38
44
|
import { StnElevationLevel, StnLayerRole, StnLayerSurface } from '@stn-uiux/pub-ui/data/stnLayer';
|
|
39
45
|
export { STN_ELEVATION_Z_INDEX, STN_LAYER_INTRO, STN_LAYER_ROLE_ROWS, STN_LAYER_ROLE_TO_LEVEL, STN_LAYER_ROLE_USAGE, STN_LAYER_SURFACE_ROWS, StnElevationLevel, StnLayerRole, StnLayerSurface } from '@stn-uiux/pub-ui/data/stnLayer';
|
|
40
46
|
export { STN_LOADING_SKELETON_INTRO, STN_LOADING_SKELETON_PARTS, STN_LOADING_SKELETON_USAGE } from '@stn-uiux/pub-ui/data/stnLoadingSkeleton';
|
|
47
|
+
import { StnEmptyStateKind, StnEmptyStateSize, StnEmptyStateTone } from '@stn-uiux/pub-ui/data/stnEmptyState';
|
|
48
|
+
export { StnEmptyStateKind, StnEmptyStateSize, StnEmptyStateTone } from '@stn-uiux/pub-ui/data/stnEmptyState';
|
|
41
49
|
export { StnTextAreaSize } from '@stn-uiux/pub-ui/data/stnTextArea';
|
|
42
50
|
|
|
43
51
|
/** Join truthy class fragments (no dependency on clsx). */
|
|
@@ -422,6 +430,36 @@ declare const StnPagination: react.ForwardRefExoticComponent<StnWithoutStyle<Omi
|
|
|
422
430
|
className?: string;
|
|
423
431
|
} & react.RefAttributes<HTMLElement>>;
|
|
424
432
|
|
|
433
|
+
interface StnPopoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onClose'> {
|
|
434
|
+
/** 팝오버 오픈 여부 */
|
|
435
|
+
open: boolean;
|
|
436
|
+
/** 팝오버의 기준이 되는 앵커 엘리먼트 */
|
|
437
|
+
anchorEl?: Element | null | (() => Element | null);
|
|
438
|
+
/** 앵커링 기준 ('anchorEl' 엘리먼트 기준 | 'anchorPosition' 절대 좌표 기준) @default 'anchorEl' */
|
|
439
|
+
anchorReference?: StnPopoverReference;
|
|
440
|
+
/** 절대 좌표 기준 위치 ({ top: number, left: number }) */
|
|
441
|
+
anchorPosition?: StnPopoverPosition;
|
|
442
|
+
/** 앵커의 기준점 ({ vertical: 'top' | 'center' | 'bottom' | number, horizontal: 'left' | 'center' | 'right' | number }) @default { vertical: 'top', horizontal: 'left' } */
|
|
443
|
+
anchorOrigin?: StnPopoverOrigin;
|
|
444
|
+
/** 팝오버 카드의 결합 기준점 ({ vertical: 'top' | 'center' | 'bottom' | number, horizontal: 'left' | 'center' | 'right' | number }) @default { vertical: 'top', horizontal: 'left' } */
|
|
445
|
+
transformOrigin?: StnPopoverOrigin;
|
|
446
|
+
/** 화면 밖 넘침 방지를 위한 뷰포트 최소 여백(px) @default 16 */
|
|
447
|
+
marginThreshold?: number;
|
|
448
|
+
/** 플로팅 카드(paper)에 지정할 추가 클래스명 */
|
|
449
|
+
paperClassName?: string;
|
|
450
|
+
/** 플로팅 카드(paper)에 지정할 인라인 스타일 */
|
|
451
|
+
paperStyle?: React.CSSProperties;
|
|
452
|
+
/** 팝오버 닫힘 이벤트 콜백 */
|
|
453
|
+
onClose?: (event: MouseEvent | KeyboardEvent | MouseEvent$1 | KeyboardEvent$1, reason: 'backdropClick' | 'escapeKeyDown') => void;
|
|
454
|
+
/** 렌더링될 부모 컨테이너 (기본: document.body) */
|
|
455
|
+
container?: Element | null | (() => Element | null);
|
|
456
|
+
/** Portal 렌더링 비활성화 여부 @default false */
|
|
457
|
+
disablePortal?: boolean;
|
|
458
|
+
/** 팝오버 내부 콘텐츠 */
|
|
459
|
+
children?: ReactNode;
|
|
460
|
+
}
|
|
461
|
+
declare const StnPopover: react.ForwardRefExoticComponent<StnPopoverProps & react.RefAttributes<HTMLDivElement>>;
|
|
462
|
+
|
|
425
463
|
/**
|
|
426
464
|
* STN 표준 모달 다이얼로그 크기 규격 (소문자 2글자 표준 스케일 + full)
|
|
427
465
|
*/
|
|
@@ -1137,6 +1175,12 @@ declare const StnTableSort: react.ForwardRefExoticComponent<ButtonHTMLAttributes
|
|
|
1137
1175
|
type StnTableRowActionsProps = HTMLAttributes<HTMLDivElement>;
|
|
1138
1176
|
/** Row Actions — 행 호버 시 우측 끝에 나타나는 액션 버튼 그룹 컨테이너 */
|
|
1139
1177
|
declare const StnTableRowActions: react.ForwardRefExoticComponent<StnTableRowActionsProps & react.RefAttributes<HTMLDivElement>>;
|
|
1178
|
+
/** Table Empty State Row — 테이블 데이터가 없을 때 StnEmptyState를 중앙 배치하는 행 컴포넌트 */
|
|
1179
|
+
declare const StnTableEmpty: react.ForwardRefExoticComponent<{
|
|
1180
|
+
colSpan?: number;
|
|
1181
|
+
className?: string;
|
|
1182
|
+
children?: ReactNode;
|
|
1183
|
+
} & HTMLAttributes<HTMLTableCellElement> & react.RefAttributes<HTMLTableCellElement>>;
|
|
1140
1184
|
type StnTableCompound = typeof StnTableBase & {
|
|
1141
1185
|
Grid: typeof StnTableGrid;
|
|
1142
1186
|
Head: typeof StnTableHead;
|
|
@@ -1148,6 +1192,7 @@ type StnTableCompound = typeof StnTableBase & {
|
|
|
1148
1192
|
TdCheck: typeof StnTableTdCheck;
|
|
1149
1193
|
Sort: typeof StnTableSort;
|
|
1150
1194
|
RowActions: typeof StnTableRowActions;
|
|
1195
|
+
Empty: typeof StnTableEmpty;
|
|
1151
1196
|
Status: typeof StnStatusDot;
|
|
1152
1197
|
Switch: typeof StnStatusSwitch;
|
|
1153
1198
|
Flow: typeof StnStatusFlow;
|
|
@@ -1173,6 +1218,10 @@ type StnTreeItemData = {
|
|
|
1173
1218
|
count?: number | string;
|
|
1174
1219
|
/** 노드 좌측 커스텀 아이콘 (StnIcon name 문자열 또는 ReactNode) */
|
|
1175
1220
|
icon?: ReactNode;
|
|
1221
|
+
/** 개별 노드 체크박스 표시 여부 (생략 시 StnTree의 showCheckbox 설정을 따름) */
|
|
1222
|
+
showCheckbox?: boolean;
|
|
1223
|
+
/** 체크박스 비활성화 여부 */
|
|
1224
|
+
disableCheckbox?: boolean;
|
|
1176
1225
|
children?: StnTreeItemData[];
|
|
1177
1226
|
};
|
|
1178
1227
|
type StnTreeGuideCell = {
|
|
@@ -1199,6 +1248,8 @@ type StnTreeFlatRow = {
|
|
|
1199
1248
|
visible: boolean;
|
|
1200
1249
|
count?: number | string;
|
|
1201
1250
|
icon?: ReactNode;
|
|
1251
|
+
showCheckbox?: boolean;
|
|
1252
|
+
disableCheckbox?: boolean;
|
|
1202
1253
|
};
|
|
1203
1254
|
/** 단일 Tree Node용 가이드/토글 셀 — depth · kind 기준으로 생성 */
|
|
1204
1255
|
declare function buildStnTreeNodeCells(options: {
|
|
@@ -1212,6 +1263,35 @@ declare function buildStnTreeNodeCells(options: {
|
|
|
1212
1263
|
}): StnTreeGuideCell[];
|
|
1213
1264
|
declare function flattenStnTree(nodes: StnTreeItemData[], expandedIds: Iterable<string>): StnTreeFlatRow[];
|
|
1214
1265
|
declare function collectExpandableIds(nodes: StnTreeItemData[]): string[];
|
|
1266
|
+
/** 트리 노드 검색 헬퍼 */
|
|
1267
|
+
declare function findNodeById(nodes: StnTreeItemData[], id: string): StnTreeItemData | undefined;
|
|
1268
|
+
type TreeIdMaps = {
|
|
1269
|
+
parentMap: Map<string, string | null>;
|
|
1270
|
+
childrenMap: Map<string, string[]>;
|
|
1271
|
+
nodeMap: Map<string, StnTreeItemData>;
|
|
1272
|
+
};
|
|
1273
|
+
/**
|
|
1274
|
+
* 트리 체크박스 연쇄 선택(Cascading Check) 계산 알고리즘.
|
|
1275
|
+
* - 타겟 노드와 모든 하위 자손을 선택/해제합니다.
|
|
1276
|
+
* - 상위 부모 노드들을 거슬러 올라가며 자식들의 체크 상태에 따라 부모의 checked / indeterminate 상태를 갱신합니다.
|
|
1277
|
+
*/
|
|
1278
|
+
declare function computeCascadeCheck(options: {
|
|
1279
|
+
nodes: StnTreeItemData[];
|
|
1280
|
+
targetId: string;
|
|
1281
|
+
nextChecked: boolean;
|
|
1282
|
+
currentCheckedIds: string[];
|
|
1283
|
+
currentIndeterminateIds?: string[];
|
|
1284
|
+
}): {
|
|
1285
|
+
checkedIds: string[];
|
|
1286
|
+
indeterminateIds: string[];
|
|
1287
|
+
};
|
|
1288
|
+
/**
|
|
1289
|
+
* 초기 checkedIds 배열이 주어졌을 때 부모 노드들의 checked / indeterminate 상태를 상향식 계산
|
|
1290
|
+
*/
|
|
1291
|
+
declare function computeInitialCascade(nodes: StnTreeItemData[], initialCheckedIds: string[]): {
|
|
1292
|
+
checkedIds: string[];
|
|
1293
|
+
indeterminateIds: string[];
|
|
1294
|
+
};
|
|
1215
1295
|
|
|
1216
1296
|
type StnTreeNodeDocState = 'default' | 'hover' | 'pressed' | 'selected';
|
|
1217
1297
|
type StnTreeNodeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onSelect' | 'onToggle'> & {
|
|
@@ -1232,6 +1312,30 @@ type StnTreeNodeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onSel
|
|
|
1232
1312
|
ancestorIsLast?: boolean[];
|
|
1233
1313
|
/** 셀을 직접 넘기면 depth/kind 기반 생성을 건너뜁니다 */
|
|
1234
1314
|
cells?: StnTreeGuideCell[];
|
|
1315
|
+
/**
|
|
1316
|
+
* 노드 아이콘 좌측 체크박스 표시 여부. 기본 `false`.
|
|
1317
|
+
*/
|
|
1318
|
+
showCheckbox?: boolean;
|
|
1319
|
+
/**
|
|
1320
|
+
* 체크박스 선택(Checked) 상태.
|
|
1321
|
+
*/
|
|
1322
|
+
checked?: boolean;
|
|
1323
|
+
/**
|
|
1324
|
+
* 체크박스 부분 선택(Indeterminate) 상태.
|
|
1325
|
+
*/
|
|
1326
|
+
indeterminate?: boolean;
|
|
1327
|
+
/**
|
|
1328
|
+
* 체크박스 비활성화 여부.
|
|
1329
|
+
*/
|
|
1330
|
+
disableCheckbox?: boolean;
|
|
1331
|
+
/**
|
|
1332
|
+
* 체크박스 크기 ('sm' 14px, 기본값 · 'md' 18px).
|
|
1333
|
+
*/
|
|
1334
|
+
checkboxSize?: 'sm' | 'md';
|
|
1335
|
+
/**
|
|
1336
|
+
* 체크박스 선택 상태 변경 시 콜백.
|
|
1337
|
+
*/
|
|
1338
|
+
onCheckChange?: (checked: boolean) => void;
|
|
1235
1339
|
/**
|
|
1236
1340
|
* 노드 앞 아이콘(폴더·서버) 표시 여부. 기본 `true`.
|
|
1237
1341
|
* `false`로 설정하면 아이콘 셀이 렌더링되지 않습니다.
|
|
@@ -1281,6 +1385,30 @@ declare const StnTreeNode: react.ForwardRefExoticComponent<Omit<HTMLAttributes<H
|
|
|
1281
1385
|
ancestorIsLast?: boolean[];
|
|
1282
1386
|
/** 셀을 직접 넘기면 depth/kind 기반 생성을 건너뜁니다 */
|
|
1283
1387
|
cells?: StnTreeGuideCell[];
|
|
1388
|
+
/**
|
|
1389
|
+
* 노드 아이콘 좌측 체크박스 표시 여부. 기본 `false`.
|
|
1390
|
+
*/
|
|
1391
|
+
showCheckbox?: boolean;
|
|
1392
|
+
/**
|
|
1393
|
+
* 체크박스 선택(Checked) 상태.
|
|
1394
|
+
*/
|
|
1395
|
+
checked?: boolean;
|
|
1396
|
+
/**
|
|
1397
|
+
* 체크박스 부분 선택(Indeterminate) 상태.
|
|
1398
|
+
*/
|
|
1399
|
+
indeterminate?: boolean;
|
|
1400
|
+
/**
|
|
1401
|
+
* 체크박스 비활성화 여부.
|
|
1402
|
+
*/
|
|
1403
|
+
disableCheckbox?: boolean;
|
|
1404
|
+
/**
|
|
1405
|
+
* 체크박스 크기 ('sm' 14px, 기본값 · 'md' 18px).
|
|
1406
|
+
*/
|
|
1407
|
+
checkboxSize?: "sm" | "md";
|
|
1408
|
+
/**
|
|
1409
|
+
* 체크박스 선택 상태 변경 시 콜백.
|
|
1410
|
+
*/
|
|
1411
|
+
onCheckChange?: (checked: boolean) => void;
|
|
1284
1412
|
/**
|
|
1285
1413
|
* 노드 앞 아이콘(폴더·서버) 표시 여부. 기본 `true`.
|
|
1286
1414
|
* `false`로 설정하면 아이콘 셀이 렌더링되지 않습니다.
|
|
@@ -1329,6 +1457,30 @@ declare const StnTreeItem: react.ForwardRefExoticComponent<Omit<HTMLAttributes<H
|
|
|
1329
1457
|
ancestorIsLast?: boolean[];
|
|
1330
1458
|
/** 셀을 직접 넘기면 depth/kind 기반 생성을 건너뜁니다 */
|
|
1331
1459
|
cells?: StnTreeGuideCell[];
|
|
1460
|
+
/**
|
|
1461
|
+
* 노드 아이콘 좌측 체크박스 표시 여부. 기본 `false`.
|
|
1462
|
+
*/
|
|
1463
|
+
showCheckbox?: boolean;
|
|
1464
|
+
/**
|
|
1465
|
+
* 체크박스 선택(Checked) 상태.
|
|
1466
|
+
*/
|
|
1467
|
+
checked?: boolean;
|
|
1468
|
+
/**
|
|
1469
|
+
* 체크박스 부분 선택(Indeterminate) 상태.
|
|
1470
|
+
*/
|
|
1471
|
+
indeterminate?: boolean;
|
|
1472
|
+
/**
|
|
1473
|
+
* 체크박스 비활성화 여부.
|
|
1474
|
+
*/
|
|
1475
|
+
disableCheckbox?: boolean;
|
|
1476
|
+
/**
|
|
1477
|
+
* 체크박스 크기 ('sm' 14px, 기본값 · 'md' 18px).
|
|
1478
|
+
*/
|
|
1479
|
+
checkboxSize?: "sm" | "md";
|
|
1480
|
+
/**
|
|
1481
|
+
* 체크박스 선택 상태 변경 시 콜백.
|
|
1482
|
+
*/
|
|
1483
|
+
onCheckChange?: (checked: boolean) => void;
|
|
1332
1484
|
/**
|
|
1333
1485
|
* 노드 앞 아이콘(폴더·서버) 표시 여부. 기본 `true`.
|
|
1334
1486
|
* `false`로 설정하면 아이콘 셀이 렌더링되지 않습니다.
|
|
@@ -1451,6 +1603,44 @@ type StnTreeProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onSelect'
|
|
|
1451
1603
|
selectedId?: string | null;
|
|
1452
1604
|
defaultSelectedId?: string | null;
|
|
1453
1605
|
onSelect?: (id: string) => void;
|
|
1606
|
+
/**
|
|
1607
|
+
* 노드 아이콘 좌측 체크박스 전체 표시 여부. 기본값 `false`.
|
|
1608
|
+
* `true` 설정 시 아이콘 좌측에 StnCheckbox가 렌더링됩니다.
|
|
1609
|
+
*/
|
|
1610
|
+
showCheckbox?: boolean;
|
|
1611
|
+
/**
|
|
1612
|
+
* `showCheckbox` 별칭 (AntD/MUI 호환).
|
|
1613
|
+
*/
|
|
1614
|
+
checkable?: boolean;
|
|
1615
|
+
/**
|
|
1616
|
+
* 부모-자식 간 체크박스 상태 연쇄 반영 여부 (Cascading check). 기본값 `false`.
|
|
1617
|
+
* `true` 설정 시 부모 선택 시 하위 모든 자식이 선택되며, 일부 자식만 선택 시 부모는 부분 선택(indeterminate) 상태가 됩니다.
|
|
1618
|
+
*/
|
|
1619
|
+
cascadeCheck?: boolean;
|
|
1620
|
+
/**
|
|
1621
|
+
* 체크된 노드 ID 목록 (제어 상태).
|
|
1622
|
+
*/
|
|
1623
|
+
checkedIds?: string[];
|
|
1624
|
+
/**
|
|
1625
|
+
* 초기 체크된 노드 ID 목록 (비제어 상태).
|
|
1626
|
+
*/
|
|
1627
|
+
defaultCheckedIds?: string[];
|
|
1628
|
+
/**
|
|
1629
|
+
* 부분 선택(indeterminate)된 노드 ID 목록 (제어 상태).
|
|
1630
|
+
*/
|
|
1631
|
+
indeterminateIds?: string[];
|
|
1632
|
+
/**
|
|
1633
|
+
* 초기 부분 선택된 노드 ID 목록 (비제어 상태).
|
|
1634
|
+
*/
|
|
1635
|
+
defaultIndeterminateIds?: string[];
|
|
1636
|
+
/**
|
|
1637
|
+
* 체크박스 크기 ('sm': 14px, 기본값 · 'md': 18px).
|
|
1638
|
+
*/
|
|
1639
|
+
checkboxSize?: 'sm' | 'md';
|
|
1640
|
+
/**
|
|
1641
|
+
* 노드 체크박스 상태 변경 시 호출되는 콜백.
|
|
1642
|
+
*/
|
|
1643
|
+
onCheckChange?: (checkedIds: string[], targetNode: StnTreeItemData, checked: boolean, indeterminateIds: string[]) => void;
|
|
1454
1644
|
/**
|
|
1455
1645
|
* 행 높이 크기 — `xs` 20px / `sm` 24px(기본) / `md` 32px / `lg` 40px / `xl` 48px.
|
|
1456
1646
|
* `.xs`, `.sm`, `.md`, `.lg`, `.xl` 표준 크기 클래스로 적용됩니다.
|
|
@@ -1537,6 +1727,44 @@ declare const StnTree: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLD
|
|
|
1537
1727
|
selectedId?: string | null;
|
|
1538
1728
|
defaultSelectedId?: string | null;
|
|
1539
1729
|
onSelect?: (id: string) => void;
|
|
1730
|
+
/**
|
|
1731
|
+
* 노드 아이콘 좌측 체크박스 전체 표시 여부. 기본값 `false`.
|
|
1732
|
+
* `true` 설정 시 아이콘 좌측에 StnCheckbox가 렌더링됩니다.
|
|
1733
|
+
*/
|
|
1734
|
+
showCheckbox?: boolean;
|
|
1735
|
+
/**
|
|
1736
|
+
* `showCheckbox` 별칭 (AntD/MUI 호환).
|
|
1737
|
+
*/
|
|
1738
|
+
checkable?: boolean;
|
|
1739
|
+
/**
|
|
1740
|
+
* 부모-자식 간 체크박스 상태 연쇄 반영 여부 (Cascading check). 기본값 `false`.
|
|
1741
|
+
* `true` 설정 시 부모 선택 시 하위 모든 자식이 선택되며, 일부 자식만 선택 시 부모는 부분 선택(indeterminate) 상태가 됩니다.
|
|
1742
|
+
*/
|
|
1743
|
+
cascadeCheck?: boolean;
|
|
1744
|
+
/**
|
|
1745
|
+
* 체크된 노드 ID 목록 (제어 상태).
|
|
1746
|
+
*/
|
|
1747
|
+
checkedIds?: string[];
|
|
1748
|
+
/**
|
|
1749
|
+
* 초기 체크된 노드 ID 목록 (비제어 상태).
|
|
1750
|
+
*/
|
|
1751
|
+
defaultCheckedIds?: string[];
|
|
1752
|
+
/**
|
|
1753
|
+
* 부분 선택(indeterminate)된 노드 ID 목록 (제어 상태).
|
|
1754
|
+
*/
|
|
1755
|
+
indeterminateIds?: string[];
|
|
1756
|
+
/**
|
|
1757
|
+
* 초기 부분 선택된 노드 ID 목록 (비제어 상태).
|
|
1758
|
+
*/
|
|
1759
|
+
defaultIndeterminateIds?: string[];
|
|
1760
|
+
/**
|
|
1761
|
+
* 체크박스 크기 ('sm': 14px, 기본값 · 'md': 18px).
|
|
1762
|
+
*/
|
|
1763
|
+
checkboxSize?: "sm" | "md";
|
|
1764
|
+
/**
|
|
1765
|
+
* 노드 체크박스 상태 변경 시 호출되는 콜백.
|
|
1766
|
+
*/
|
|
1767
|
+
onCheckChange?: (checkedIds: string[], targetNode: StnTreeItemData, checked: boolean, indeterminateIds: string[]) => void;
|
|
1540
1768
|
/**
|
|
1541
1769
|
* 행 높이 크기 — `xs` 20px / `sm` 24px(기본) / `md` 32px / `lg` 40px / `xl` 48px.
|
|
1542
1770
|
* `.xs`, `.sm`, `.md`, `.lg`, `.xl` 표준 크기 클래스로 적용됩니다.
|
|
@@ -1638,13 +1866,18 @@ type StnCardHeaderProps = StnWithoutStyle<Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
1638
1866
|
type StnCardBodyProps = StnWithoutStyle<HTMLAttributes<HTMLDivElement>> & {
|
|
1639
1867
|
children?: ReactNode;
|
|
1640
1868
|
className?: string;
|
|
1869
|
+
/**
|
|
1870
|
+
* edge-to-edge 본문 (Split View 등).
|
|
1871
|
+
* 보통 Card `padding="none"`과 함께 사용 — 헤더/푸터는 카드가 인셋을 유지한다.
|
|
1872
|
+
*/
|
|
1873
|
+
flush?: boolean;
|
|
1641
1874
|
};
|
|
1642
1875
|
type StnCardFooterProps = StnWithoutStyle<HTMLAttributes<HTMLDivElement>> & {
|
|
1643
1876
|
children?: ReactNode;
|
|
1644
1877
|
className?: string;
|
|
1645
1878
|
};
|
|
1646
1879
|
declare function StnCardHeader({ children, title, titleSize, titleWeight, extra, className, ...rest }: StnCardHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1647
|
-
declare function StnCardBody({ children, className, ...rest }: StnCardBodyProps): react_jsx_runtime.JSX.Element;
|
|
1880
|
+
declare function StnCardBody({ children, className, flush, ...rest }: StnCardBodyProps): react_jsx_runtime.JSX.Element;
|
|
1648
1881
|
declare function StnCardFooter({ children, className, ...rest }: StnCardFooterProps): react_jsx_runtime.JSX.Element;
|
|
1649
1882
|
interface StnCardComponent extends React.ForwardRefExoticComponent<StnCardProps & React.RefAttributes<HTMLDivElement>> {
|
|
1650
1883
|
Header: typeof StnCardHeader;
|
|
@@ -1731,6 +1964,49 @@ type StnSectionSidePresetProps = Omit<StnSectionSideProps, 'children'> & {
|
|
|
1731
1964
|
/** Figma 예제 — FOLDER STRUCTURE + scroll */
|
|
1732
1965
|
declare function StnSectionSidePreset({ tree, collapsed, ...sideProps }: StnSectionSidePresetProps): react_jsx_runtime.JSX.Element;
|
|
1733
1966
|
|
|
1967
|
+
type StnSplitViewProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
1968
|
+
children?: ReactNode;
|
|
1969
|
+
className?: string;
|
|
1970
|
+
/** 부모 flex 높이 체인을 채움 (Card flush body / LayerShell 안) @default true */
|
|
1971
|
+
fill?: boolean;
|
|
1972
|
+
};
|
|
1973
|
+
type StnSplitViewSideProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
|
|
1974
|
+
children?: ReactNode;
|
|
1975
|
+
className?: string;
|
|
1976
|
+
/** 상단 고정 영역 (타이틀·검색 등) */
|
|
1977
|
+
header?: ReactNode;
|
|
1978
|
+
/** 사이드 폭 토큰 @default 'md' */
|
|
1979
|
+
width?: StnSplitViewSideWidth;
|
|
1980
|
+
/** start=좌(기본, border-end) · end=우(border-start) @default 'start' */
|
|
1981
|
+
edge?: 'start' | 'end';
|
|
1982
|
+
/** 본문 스크롤. false면 children을 그대로 렌더 @default true */
|
|
1983
|
+
scrollable?: boolean;
|
|
1984
|
+
scrollProps?: Omit<StnScrollProps, 'orientation' | 'children'>;
|
|
1985
|
+
};
|
|
1986
|
+
type StnSplitViewStageProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
1987
|
+
children?: ReactNode;
|
|
1988
|
+
className?: string;
|
|
1989
|
+
};
|
|
1990
|
+
type StnSplitViewOverlayProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
1991
|
+
children?: ReactNode;
|
|
1992
|
+
className?: string;
|
|
1993
|
+
placement?: StnSplitViewOverlayPlacement;
|
|
1994
|
+
};
|
|
1995
|
+
declare function StnSplitViewSide({ children, className, header, width, edge, scrollable, scrollProps, ...rest }: StnSplitViewSideProps): react_jsx_runtime.JSX.Element;
|
|
1996
|
+
/**
|
|
1997
|
+
* Stage는 position:relative 호스트.
|
|
1998
|
+
* - `StnFloatingToolbar placement=…` / `StnSplitView.Overlay` → absolute 오버레이
|
|
1999
|
+
* - 본문(그래프·빈 슬롯) → `StnStack fill` 등으로 채움
|
|
2000
|
+
*/
|
|
2001
|
+
declare function StnSplitViewStage({ children, className, ...rest }: StnSplitViewStageProps): react_jsx_runtime.JSX.Element;
|
|
2002
|
+
declare function StnSplitViewOverlay({ children, className, placement, ...rest }: StnSplitViewOverlayProps): react_jsx_runtime.JSX.Element;
|
|
2003
|
+
type StnSplitViewComponent = ReturnType<typeof forwardRef<HTMLDivElement, StnSplitViewProps>> & {
|
|
2004
|
+
Side: typeof StnSplitViewSide;
|
|
2005
|
+
Stage: typeof StnSplitViewStage;
|
|
2006
|
+
Overlay: typeof StnSplitViewOverlay;
|
|
2007
|
+
};
|
|
2008
|
+
declare const StnSplitView: StnSplitViewComponent;
|
|
2009
|
+
|
|
1734
2010
|
type StnLoginCardBrandPosition = 'left' | 'right';
|
|
1735
2011
|
type StnLoginCardVariant = 'default' | 'glow';
|
|
1736
2012
|
type StnLoginCardProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
@@ -1902,6 +2178,163 @@ declare const StnLoginTextField: react.ForwardRefExoticComponent<StnWithoutStyle
|
|
|
1902
2178
|
className?: string;
|
|
1903
2179
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
1904
2180
|
|
|
2181
|
+
type StnStepProps = {
|
|
2182
|
+
/** 스텝 고유 식별자 */
|
|
2183
|
+
key?: string | number;
|
|
2184
|
+
/** 스텝 메인 타이틀 */
|
|
2185
|
+
label?: ReactNode;
|
|
2186
|
+
/** 서브 캡션 설명 */
|
|
2187
|
+
caption?: ReactNode;
|
|
2188
|
+
/** 상태 직접 지정 ('wait' | 'running' | 'success' | 'warning' | 'error') */
|
|
2189
|
+
status?: StnStepStatus;
|
|
2190
|
+
/** 커스텀 아이콘 (StnIcon 문자열 이름 또는 ReactNode) */
|
|
2191
|
+
icon?: string | ReactNode;
|
|
2192
|
+
/** 오류 상태 여부 또는 에러 문구 */
|
|
2193
|
+
error?: boolean | ReactNode;
|
|
2194
|
+
/** 에러 상세 설명 안내 텍스트 */
|
|
2195
|
+
errorText?: ReactNode;
|
|
2196
|
+
/** 비활성화 여부 */
|
|
2197
|
+
disabled?: boolean;
|
|
2198
|
+
/** 선택 사항 라벨 (예: '선택 사항') */
|
|
2199
|
+
optional?: ReactNode;
|
|
2200
|
+
/** 클릭 핸들러 (nonLinear 모드에서 동작) */
|
|
2201
|
+
onClick?: () => void;
|
|
2202
|
+
/** Vertical 모드에서 본문 내용 강제 펼침 여부 (미지정 시 activeStep과 일치할 때 자동 펼침) */
|
|
2203
|
+
expanded?: boolean;
|
|
2204
|
+
/** Vertical 모드에서 펼쳐질 본문 내용 슬롯 */
|
|
2205
|
+
children?: ReactNode;
|
|
2206
|
+
className?: string;
|
|
2207
|
+
style?: CSSProperties;
|
|
2208
|
+
};
|
|
2209
|
+
type StnStepperProps = HTMLAttributes<HTMLDivElement> & {
|
|
2210
|
+
/** 현재 진행 중인 스텝 인덱스 (0부터 시작) @default 0 */
|
|
2211
|
+
activeStep?: number;
|
|
2212
|
+
/** 가로(horizontal) 또는 세로(vertical) 방향 @default 'horizontal' */
|
|
2213
|
+
orientation?: StnStepperOrientation;
|
|
2214
|
+
/** 세로(vertical) 모드일 때 스텝 노드 위치 ('left' | 'right') @default 'left' */
|
|
2215
|
+
position?: StnStepperPosition;
|
|
2216
|
+
/** STN 표준 규격 크기 스케일 (xs · sm · md · lg · xl) @default 'md' */
|
|
2217
|
+
size?: StnStepperSize;
|
|
2218
|
+
/** 스텝 연결선 두께 (1~4px 숫자, 'xs'~'xl' 스케일, 또는 CSS 단위 문자열) @default undefined (size에 맞춤) */
|
|
2219
|
+
lineThickness?: StnStepperLineThickness;
|
|
2220
|
+
/** 아이콘 아래에 라벨/캡션을 배치하는 옵션 (가로 모드 전용) @default false */
|
|
2221
|
+
alternativeLabel?: boolean;
|
|
2222
|
+
/**
|
|
2223
|
+
* 라벨·캡션·선택 표기·오류 문구 표시.
|
|
2224
|
+
* false면 노드(아이콘·번호)와 연결선만 보이고, 문구는 스크린리더용으로 남는다.
|
|
2225
|
+
* 가로에서 노드를 칸 중앙에 두려면 alternativeLabel과 함께 쓴다.
|
|
2226
|
+
* @default true
|
|
2227
|
+
*/
|
|
2228
|
+
showLabel?: boolean;
|
|
2229
|
+
/** 순차적 진행 강제 여부 (기본 true, false 시 non-linear 탐색 허용) @default true */
|
|
2230
|
+
linear?: boolean;
|
|
2231
|
+
/** 자유 탐색 모드 (true 시 스텝 헤더 클릭으로 원하는 단계로 즉시 이동 가능) @default false */
|
|
2232
|
+
nonLinear?: boolean;
|
|
2233
|
+
/** 세로(vertical) 모드에서 모든 스텝의 콘텐츠를 동시에 펼쳐서 표시할지 여부 @default false */
|
|
2234
|
+
allExpanded?: boolean;
|
|
2235
|
+
/** 스텝 사이를 잇는 연결선 표시 여부 @default true */
|
|
2236
|
+
showLine?: boolean;
|
|
2237
|
+
/** showLine alias (@default true) */
|
|
2238
|
+
hasConnector?: boolean;
|
|
2239
|
+
/** 스텝 클릭 이벤트 핸들러 */
|
|
2240
|
+
onStepClick?: (stepIndex: number, step: StnStepItem) => void;
|
|
2241
|
+
/** 데이터 기반 스텝 목록 (배열 전달 시 빠른 렌더링 지원) */
|
|
2242
|
+
steps?: StnStepItem[];
|
|
2243
|
+
/** JSX 컴포넌트 형태(<StnStep>)로 자식을 전달할 때 사용 */
|
|
2244
|
+
children?: ReactNode;
|
|
2245
|
+
className?: string;
|
|
2246
|
+
style?: CSSProperties;
|
|
2247
|
+
};
|
|
2248
|
+
declare const StnStep: react.ForwardRefExoticComponent<StnStepProps & react.RefAttributes<HTMLDivElement>>;
|
|
2249
|
+
declare const StnStepper: React.ForwardRefExoticComponent<StnStepperProps & React.RefAttributes<HTMLDivElement>> & {
|
|
2250
|
+
Step: typeof StnStep;
|
|
2251
|
+
};
|
|
2252
|
+
|
|
2253
|
+
type StnStepCardItem = {
|
|
2254
|
+
key?: string | number;
|
|
2255
|
+
/** 카드 제목 위 단계 라벨. 없으면 STEP 01 */
|
|
2256
|
+
stepLabel?: ReactNode;
|
|
2257
|
+
title: ReactNode;
|
|
2258
|
+
/** 이 카드의 결과 제목. 없으면 StnStepCards의 resultLabel */
|
|
2259
|
+
resultLabel?: ReactNode;
|
|
2260
|
+
/** 결과 값. 없으면 상태 이름(성공·진행·대기·오류·경고) */
|
|
2261
|
+
resultText?: ReactNode;
|
|
2262
|
+
status?: StnStepStatus;
|
|
2263
|
+
/** 이 카드의 버튼 문구. 없으면 StnStepCards의 actionLabel */
|
|
2264
|
+
actionLabel?: ReactNode;
|
|
2265
|
+
onAction?: () => void;
|
|
2266
|
+
/** 결과를 열 수 있는 상태여도 버튼을 막는다 */
|
|
2267
|
+
actionDisabled?: boolean;
|
|
2268
|
+
};
|
|
2269
|
+
type StnStepCardsProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
2270
|
+
steps: StnStepCardItem[];
|
|
2271
|
+
/**
|
|
2272
|
+
* 현재 단계 인덱스.
|
|
2273
|
+
* 없으면 status가 running인 첫 단계, 그것도 없으면 0.
|
|
2274
|
+
*/
|
|
2275
|
+
activeStep?: number;
|
|
2276
|
+
/** 위쪽 스텝퍼 크기 @default 'md' */
|
|
2277
|
+
size?: StnStepperSize;
|
|
2278
|
+
/** 스텝퍼 연결선 두께. StnStepper lineThickness와 같다 */
|
|
2279
|
+
lineThickness?: StnStepperLineThickness;
|
|
2280
|
+
/** 연결선 표시. StnStepper showLine과 같다 @default true */
|
|
2281
|
+
showLine?: boolean;
|
|
2282
|
+
/**
|
|
2283
|
+
* 노드 클릭으로 단계를 고를 수 있게 한다. StnStepper nonLinear와 같다.
|
|
2284
|
+
* 현재 카드 보더는 activeStep이 바뀌어야 움직인다.
|
|
2285
|
+
* @default false
|
|
2286
|
+
*/
|
|
2287
|
+
nonLinear?: boolean;
|
|
2288
|
+
/** 순차 진행. false면 nonLinear와 같이 노드를 누를 수 있다 @default true */
|
|
2289
|
+
linear?: boolean;
|
|
2290
|
+
/** 스텝 노드를 눌렀을 때. 카드 데이터와 인덱스를 넘긴다 */
|
|
2291
|
+
onStepClick?: (index: number, step: StnStepCardItem) => void;
|
|
2292
|
+
/** 카드 결과 제목 @default '점검 결과' */
|
|
2293
|
+
resultLabel?: ReactNode;
|
|
2294
|
+
/** 카드 버튼 문구 @default '결과보기' */
|
|
2295
|
+
actionLabel?: ReactNode;
|
|
2296
|
+
/** 단계 카드의 결과 버튼 */
|
|
2297
|
+
onAction?: (index: number, step: StnStepCardItem) => void;
|
|
2298
|
+
className?: string;
|
|
2299
|
+
};
|
|
2300
|
+
/**
|
|
2301
|
+
* Step cards — 노드만 있는 스텝퍼 아래, 단계마다 결과와 액션이 있는 카드.
|
|
2302
|
+
* 성공·오류·경고는 결과를 열고, 진행·대기는 버튼을 막는다.
|
|
2303
|
+
* 현재 단계 카드만 primary 보더를 쓴다.
|
|
2304
|
+
* 가로는 alternativeLabel, 라벨 숨김으로 고정한다. 노드 크기·선·클릭만 스텝퍼와 같은 이름으로 연다.
|
|
2305
|
+
*/
|
|
2306
|
+
declare const StnStepCards: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
2307
|
+
steps: StnStepCardItem[];
|
|
2308
|
+
/**
|
|
2309
|
+
* 현재 단계 인덱스.
|
|
2310
|
+
* 없으면 status가 running인 첫 단계, 그것도 없으면 0.
|
|
2311
|
+
*/
|
|
2312
|
+
activeStep?: number;
|
|
2313
|
+
/** 위쪽 스텝퍼 크기 @default 'md' */
|
|
2314
|
+
size?: StnStepperSize;
|
|
2315
|
+
/** 스텝퍼 연결선 두께. StnStepper lineThickness와 같다 */
|
|
2316
|
+
lineThickness?: StnStepperLineThickness;
|
|
2317
|
+
/** 연결선 표시. StnStepper showLine과 같다 @default true */
|
|
2318
|
+
showLine?: boolean;
|
|
2319
|
+
/**
|
|
2320
|
+
* 노드 클릭으로 단계를 고를 수 있게 한다. StnStepper nonLinear와 같다.
|
|
2321
|
+
* 현재 카드 보더는 activeStep이 바뀌어야 움직인다.
|
|
2322
|
+
* @default false
|
|
2323
|
+
*/
|
|
2324
|
+
nonLinear?: boolean;
|
|
2325
|
+
/** 순차 진행. false면 nonLinear와 같이 노드를 누를 수 있다 @default true */
|
|
2326
|
+
linear?: boolean;
|
|
2327
|
+
/** 스텝 노드를 눌렀을 때. 카드 데이터와 인덱스를 넘긴다 */
|
|
2328
|
+
onStepClick?: (index: number, step: StnStepCardItem) => void;
|
|
2329
|
+
/** 카드 결과 제목 @default '점검 결과' */
|
|
2330
|
+
resultLabel?: ReactNode;
|
|
2331
|
+
/** 카드 버튼 문구 @default '결과보기' */
|
|
2332
|
+
actionLabel?: ReactNode;
|
|
2333
|
+
/** 단계 카드의 결과 버튼 */
|
|
2334
|
+
onAction?: (index: number, step: StnStepCardItem) => void;
|
|
2335
|
+
className?: string;
|
|
2336
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
2337
|
+
|
|
1905
2338
|
/** horizontal = 가로 wordmark · vertical = 세로 mark · watermark = 워터마크 · onlyimg/symbol = 아이콘 단독 심볼 */
|
|
1906
2339
|
type StnLogoVariant = 'horizontal' | 'vertical' | 'watermark' | 'onlyimg' | 'symbol';
|
|
1907
2340
|
/** CSS tokens: xs sm md lg xl */
|
|
@@ -2035,7 +2468,7 @@ type StnChipProps = StnWithoutStyle<Omit<HTMLAttributes<HTMLSpanElement>, 'class
|
|
|
2035
2468
|
/** 클릭 가능한 인터랙티브 칩 여부 (토글과 달리 On/Off 상태를 갖지 않는 액션 클릭용) */
|
|
2036
2469
|
clickable?: boolean;
|
|
2037
2470
|
/** 삭제 이벤트 콜백 (제공 시 삭제 버튼 렌더링) */
|
|
2038
|
-
onDelete?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
2471
|
+
onDelete?: (e: MouseEvent$1<HTMLButtonElement>) => void;
|
|
2039
2472
|
/** 삭제 버튼 아이콘 (기본: SVG 닫기 아이콘) */
|
|
2040
2473
|
deleteIcon?: ReactNode;
|
|
2041
2474
|
/** 삭제 버튼 위치 ('left' | 'right', 기본 'right') */
|
|
@@ -2622,6 +3055,8 @@ type StnDateRangeFieldProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'chi
|
|
|
2622
3055
|
format?: (date: Date) => string;
|
|
2623
3056
|
startPlaceholder?: string;
|
|
2624
3057
|
endPlaceholder?: string;
|
|
3058
|
+
/** 날짜 하나만 보여 준다. 구분선과 종료일은 숨긴다. */
|
|
3059
|
+
single?: boolean;
|
|
2625
3060
|
/** 라벨 텍스트 또는 노드 */
|
|
2626
3061
|
label?: ReactNode;
|
|
2627
3062
|
/** 라벨 앞에 표시할 아이콘 (slug 또는 ReactNode) */
|
|
@@ -2650,6 +3085,8 @@ declare const StnDateRangeField: react.ForwardRefExoticComponent<Omit<ButtonHTML
|
|
|
2650
3085
|
format?: (date: Date) => string;
|
|
2651
3086
|
startPlaceholder?: string;
|
|
2652
3087
|
endPlaceholder?: string;
|
|
3088
|
+
/** 날짜 하나만 보여 준다. 구분선과 종료일은 숨긴다. */
|
|
3089
|
+
single?: boolean;
|
|
2653
3090
|
/** 라벨 텍스트 또는 노드 */
|
|
2654
3091
|
label?: ReactNode;
|
|
2655
3092
|
/** 라벨 앞에 표시할 아이콘 (slug 또는 ReactNode) */
|
|
@@ -2870,38 +3307,63 @@ type StnLayer0BackgroundProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'>
|
|
|
2870
3307
|
*/
|
|
2871
3308
|
declare function StnLayer0Background({ variant, kind: kindProp, color, src, srcDark, overlay: overlayProp, overlayDarkRadial: overlayDarkRadialProp, alt, className, style, ...rest }: StnLayer0BackgroundProps): react_jsx_runtime.JSX.Element | null;
|
|
2872
3309
|
|
|
3310
|
+
type StnDatePickerSize = 'sm' | 'md' | 'lg';
|
|
2873
3311
|
type StnDateRangePickerProps = {
|
|
2874
3312
|
open: boolean;
|
|
2875
3313
|
value: StnDateRange;
|
|
2876
3314
|
onChange?: (value: StnDateRange) => void;
|
|
2877
3315
|
onApply?: (value: StnDateRange) => void;
|
|
2878
3316
|
onClose?: () => void;
|
|
3317
|
+
/** 범위는 두 달, 단건은 한 달. @default 'range' */
|
|
3318
|
+
mode?: StnDatePickerMode;
|
|
3319
|
+
/** 달력 패널 크기. 칸·패딩 토큰을 같이 조절한다. @default 'md' */
|
|
3320
|
+
size?: StnDatePickerSize;
|
|
2879
3321
|
showTime?: boolean;
|
|
3322
|
+
/**
|
|
3323
|
+
* 단건 + 시간에서 시·분·초 위치.
|
|
3324
|
+
* `side`는 달력 오른쪽, `bottom`은 달력 아래.
|
|
3325
|
+
* 오른쪽에서 기간이 잡히면 시작·종료 시간이 달력 오른쪽에 같이 나온다.
|
|
3326
|
+
* @default 'side'
|
|
3327
|
+
*/
|
|
3328
|
+
timePlacement?: StnDateTimePlacement;
|
|
3329
|
+
/**
|
|
3330
|
+
* 달력 아래 바로가기 버튼.
|
|
3331
|
+
* 비우면 버튼 줄이 없다. 화면이 종류와 순서를 정한다.
|
|
3332
|
+
*/
|
|
3333
|
+
presets?: readonly StnDatePreset[];
|
|
2880
3334
|
className?: string;
|
|
2881
3335
|
style?: CSSProperties;
|
|
2882
3336
|
/** portal positioning — `StnDateRangePickerField`가 전달 */
|
|
2883
3337
|
anchorRect?: DOMRect | null;
|
|
2884
3338
|
};
|
|
2885
|
-
declare function StnDateRangePicker({ open, value, onChange, onApply, onClose, showTime, className, style, anchorRect, }: StnDateRangePickerProps): react_jsx_runtime.JSX.Element | null;
|
|
3339
|
+
declare function StnDateRangePicker({ open, value, onChange, onApply, onClose, mode, size, showTime, timePlacement, presets, className, style, anchorRect, }: StnDateRangePickerProps): react_jsx_runtime.JSX.Element | null;
|
|
2886
3340
|
|
|
2887
3341
|
type StnDateRangePickerFieldProps = Omit<StnDateRangeFieldProps, 'start' | 'end' | 'onClick' | 'defaultValue' | 'value' | 'onChange'> & {
|
|
2888
3342
|
value?: StnDateRange;
|
|
2889
3343
|
defaultValue?: StnDateRange;
|
|
2890
3344
|
onChange?: (value: StnDateRange) => void;
|
|
3345
|
+
mode?: StnDatePickerMode;
|
|
2891
3346
|
showTime?: boolean;
|
|
3347
|
+
/** 단건 + 시간 위치. `side` 오른쪽, `bottom` 아래. @default 'side' */
|
|
3348
|
+
timePlacement?: StnDateTimePlacement;
|
|
3349
|
+
presets?: readonly StnDatePreset[];
|
|
2892
3350
|
format?: (date: Date) => string;
|
|
2893
3351
|
pickerClassName?: string;
|
|
2894
3352
|
pickerStyle?: CSSProperties;
|
|
2895
3353
|
};
|
|
2896
|
-
declare function StnDateRangePickerField({ value: valueProp, defaultValue, onChange, showTime, format: formatProp, className, pickerClassName, pickerStyle, disabled, ...fieldProps }: StnDateRangePickerFieldProps): react_jsx_runtime.JSX.Element;
|
|
3354
|
+
declare function StnDateRangePickerField({ value: valueProp, defaultValue, onChange, mode, size, showTime, timePlacement, presets, format: formatProp, className, pickerClassName, pickerStyle, disabled, ...fieldProps }: StnDateRangePickerFieldProps): react_jsx_runtime.JSX.Element;
|
|
2897
3355
|
|
|
2898
3356
|
type StnTopologyNodeStatus = 'normal' | 'warning' | 'minor' | 'major' | 'critical';
|
|
2899
|
-
type StnTopologyNodeShape = 'circle' | '
|
|
3357
|
+
type StnTopologyNodeShape = 'circle' | 'square' | 'triangle' | 'star' | 'diamond';
|
|
3358
|
+
type StnTopologyNodeVariant = 'outline' | 'solid' | 'combined';
|
|
3359
|
+
type StnTopologyLinkVariant = 'line' | 'dot';
|
|
2900
3360
|
type StnTopologyNodeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
2901
3361
|
/** 노드 본문 — 아이콘 또는 수량 숫자 */
|
|
2902
3362
|
type StnTopologyNodeContent = 'icon' | 'count';
|
|
2903
3363
|
type StnTopologyNodeIcon = 'topology-wifi' | 'topology-cluster' | 'topology-firewall' | 'topology-server' | 'topology-ai' | 'topology-layers' | 'topology-chart' | 'topology-cube' | (string & {});
|
|
2904
3364
|
declare const STN_TOPOLOGY_NODE_SHAPES: readonly StnTopologyNodeShape[];
|
|
3365
|
+
declare const STN_TOPOLOGY_NODE_VARIANTS: readonly StnTopologyNodeVariant[];
|
|
3366
|
+
declare const STN_TOPOLOGY_LINK_VARIANTS: readonly StnTopologyLinkVariant[];
|
|
2905
3367
|
declare const STN_TOPOLOGY_NODE_SIZES: readonly StnTopologyNodeSize[];
|
|
2906
3368
|
declare const STN_TOPOLOGY_NODE_STATUSES: readonly StnTopologyNodeStatus[];
|
|
2907
3369
|
declare const STN_TOPOLOGY_NODE_ICONS: readonly StnTopologyNodeIcon[];
|
|
@@ -2921,6 +3383,10 @@ declare const STN_TOPOLOGY_NODE_SIZE: Record<StnTopologyNodeSize, {
|
|
|
2921
3383
|
stroke: number;
|
|
2922
3384
|
}>;
|
|
2923
3385
|
declare function formatTopologyCount(count: number | string | undefined): string;
|
|
3386
|
+
declare function starPoints(cx: number, cy: number, outerR: number, innerR: number): string;
|
|
3387
|
+
declare function trianglePoints(cx: number, cy: number, r: number): string;
|
|
3388
|
+
declare function diamondPoints(cx: number, cy: number, r: number): string;
|
|
3389
|
+
declare function topologyShapePoints(shape: StnTopologyNodeShape, cx: number, cy: number, r: number): string;
|
|
2924
3390
|
type StnTopologyNode = {
|
|
2925
3391
|
id: string;
|
|
2926
3392
|
label: string;
|
|
@@ -2928,6 +3394,7 @@ type StnTopologyNode = {
|
|
|
2928
3394
|
statusLabel?: string;
|
|
2929
3395
|
icon?: StnTopologyNodeIcon | ReactNode;
|
|
2930
3396
|
shape?: StnTopologyNodeShape;
|
|
3397
|
+
variant?: StnTopologyNodeVariant;
|
|
2931
3398
|
size?: StnTopologyNodeSize;
|
|
2932
3399
|
content?: StnTopologyNodeContent;
|
|
2933
3400
|
/** 노드 본문 숫자(`content: 'count'`) 또는 아이콘 위 뱃지 */
|
|
@@ -3036,8 +3503,10 @@ type StnTopologyGraphNode = {
|
|
|
3036
3503
|
color?: string;
|
|
3037
3504
|
/** 긴급 장애 2중 동심 펄스 링 파동 활성화 여부 */
|
|
3038
3505
|
pulse?: boolean;
|
|
3039
|
-
/**
|
|
3506
|
+
/** 노드 5대 형태 ('circle' 동그라미 | 'square' 네모 | 'triangle' 세모 | 'star' 별 | 'diamond' 마름모) @default 'circle' */
|
|
3040
3507
|
shape?: StnTopologyNodeShape;
|
|
3508
|
+
/** 노드 3대 채움 스타일 ('outline' 뚫린 버전 | 'solid' 막힌 버전 | 'combined' 복합 버전) @default 'outline' */
|
|
3509
|
+
variant?: StnTopologyNodeVariant;
|
|
3041
3510
|
size?: StnTopologyNodeSize;
|
|
3042
3511
|
content?: StnTopologyNodeContent;
|
|
3043
3512
|
count?: number | string;
|
|
@@ -3047,6 +3516,8 @@ type StnTopologyGraphNode = {
|
|
|
3047
3516
|
type StnTopologyGraphLink = {
|
|
3048
3517
|
source: string | number;
|
|
3049
3518
|
target: string | number;
|
|
3519
|
+
/** 회선 형태 스타일 ('line' 점 없는 순수 연결선 | 'dot' 중심 상태 도트 포함) @default 'line' */
|
|
3520
|
+
variant?: StnTopologyLinkVariant;
|
|
3050
3521
|
status?: StnTopologyNodeStatus;
|
|
3051
3522
|
dashed?: boolean;
|
|
3052
3523
|
};
|
|
@@ -3126,7 +3597,7 @@ type StnTopologyGraphContextValue = {
|
|
|
3126
3597
|
nodeMap: Map<string | number, StnTopologyProjectedNode>;
|
|
3127
3598
|
selectedId?: string | number;
|
|
3128
3599
|
onNodeClick?: (node: StnTopologyGraphNode) => void;
|
|
3129
|
-
handleNodeMouseDown: (e: MouseEvent, id: string | number) => void;
|
|
3600
|
+
handleNodeMouseDown: (e: MouseEvent$1, id: string | number) => void;
|
|
3130
3601
|
renderGridLines: () => ReactNode;
|
|
3131
3602
|
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
3132
3603
|
setTooltip: React.Dispatch<React.SetStateAction<StnTopologyGraphTooltipState>>;
|
|
@@ -3217,6 +3688,7 @@ declare namespace StnTopologyGraph {
|
|
|
3217
3688
|
type StnTopologyNodeItemProps = {
|
|
3218
3689
|
size?: StnTopologyNodeSize;
|
|
3219
3690
|
shape?: StnTopologyNodeShape;
|
|
3691
|
+
variant?: StnTopologyNodeVariant;
|
|
3220
3692
|
status?: StnTopologyNodeStatus;
|
|
3221
3693
|
color?: string;
|
|
3222
3694
|
content?: StnTopologyNodeContent;
|
|
@@ -3242,6 +3714,7 @@ type StnTopologyNodeMarkProps = Omit<SVGAttributes<SVGGElement>, 'onClick'> & {
|
|
|
3242
3714
|
y: number;
|
|
3243
3715
|
size?: StnTopologyNodeSize;
|
|
3244
3716
|
shape?: StnTopologyNodeShape;
|
|
3717
|
+
variant?: StnTopologyNodeVariant;
|
|
3245
3718
|
status?: StnTopologyNodeStatus;
|
|
3246
3719
|
color?: string;
|
|
3247
3720
|
content?: StnTopologyNodeContent;
|
|
@@ -3266,6 +3739,59 @@ type StnTopologyNodePreviewProps = StnTopologyNodeItemProps;
|
|
|
3266
3739
|
/** 문서·팔레트용 단독 노드 프리뷰 */
|
|
3267
3740
|
declare function StnTopologyNodePreview({ size, showLabel, showStatus, ...rest }: StnTopologyNodePreviewProps): react_jsx_runtime.JSX.Element;
|
|
3268
3741
|
|
|
3742
|
+
type StnGradeRowGrade = StnWidgetGradeRowGrade;
|
|
3743
|
+
|
|
3744
|
+
type StnGradeRowProps = HTMLAttributes<HTMLDivElement> & {
|
|
3745
|
+
grade: StnGradeRowGrade;
|
|
3746
|
+
label: ReactNode;
|
|
3747
|
+
value: ReactNode;
|
|
3748
|
+
/** 0–100 — progress bar width · percent label */
|
|
3749
|
+
percent: number;
|
|
3750
|
+
percentLabel?: ReactNode;
|
|
3751
|
+
/** 퍼센트 라벨 표시 시 소수점 자릿수 (기본값: 정수면 0, 소수면 1) */
|
|
3752
|
+
decimals?: number;
|
|
3753
|
+
};
|
|
3754
|
+
type StnWidgetGradeRowProps = StnGradeRowProps;
|
|
3755
|
+
/**
|
|
3756
|
+
* StnGradeRow
|
|
3757
|
+
* 장애 등급별 진행바 현황 행 컴포넌트
|
|
3758
|
+
* StnWidget 내부 또는 독립 카드에서 사용 가능
|
|
3759
|
+
*/
|
|
3760
|
+
declare function StnGradeRow({ grade, label, value, percent, percentLabel, decimals, className, ...rest }: StnGradeRowProps): react_jsx_runtime.JSX.Element;
|
|
3761
|
+
declare function StnGradeRowList({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3762
|
+
|
|
3763
|
+
type StnStatCardProps = HTMLAttributes<HTMLDivElement> & {
|
|
3764
|
+
label: ReactNode;
|
|
3765
|
+
count: ReactNode;
|
|
3766
|
+
};
|
|
3767
|
+
type StnWidgetStatCardProps = StnStatCardProps;
|
|
3768
|
+
/**
|
|
3769
|
+
* StnStatCard
|
|
3770
|
+
* 지표 통계 수치 카드 컴포넌트
|
|
3771
|
+
* StnWidget 내부 또는 독립 카드에서 사용 가능
|
|
3772
|
+
*/
|
|
3773
|
+
declare function StnStatCard({ label, count, className, ...rest }: StnStatCardProps): react_jsx_runtime.JSX.Element;
|
|
3774
|
+
declare function StnStatGroup({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3775
|
+
|
|
3776
|
+
type StnStatusGrade = 'critical' | 'major' | 'minor' | 'info' | 'normal';
|
|
3777
|
+
type StnWidgetStatusGrade = StnStatusGrade;
|
|
3778
|
+
type StnStatusItemProps = HTMLAttributes<HTMLDivElement> & {
|
|
3779
|
+
label: ReactNode;
|
|
3780
|
+
value: ReactNode;
|
|
3781
|
+
grade?: StnStatusGrade;
|
|
3782
|
+
/** @deprecated grade 사용 권장 */
|
|
3783
|
+
status?: StnStatusGrade | 'warning';
|
|
3784
|
+
showDot?: boolean;
|
|
3785
|
+
};
|
|
3786
|
+
type StnWidgetStatusItemProps = StnStatusItemProps;
|
|
3787
|
+
/**
|
|
3788
|
+
* StnStatusItem
|
|
3789
|
+
* 관제 및 장애 상태 항목 컴포넌트
|
|
3790
|
+
* StnWidget 내부 또는 독립 목록에서 사용 가능
|
|
3791
|
+
*/
|
|
3792
|
+
declare function StnStatusItem({ label, value, grade: gradeProp, status, showDot, className, ...rest }: StnStatusItemProps): react_jsx_runtime.JSX.Element;
|
|
3793
|
+
declare function StnStatusList({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3794
|
+
|
|
3269
3795
|
type StnWidgetBackground = boolean | StnWidgetBackgroundMode;
|
|
3270
3796
|
type StnWidgetStatus = 'default' | 'critical' | 'major' | 'minor' | 'warning';
|
|
3271
3797
|
type StnWidgetPadding = 'default' | 'compact' | 'none';
|
|
@@ -3384,38 +3910,16 @@ type StnWidgetChartSlotProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
3384
3910
|
};
|
|
3385
3911
|
/** Figma slot — dashed chart mount area */
|
|
3386
3912
|
declare function StnWidgetChartSlot({ label, className, children, ...rest }: StnWidgetChartSlotProps): react_jsx_runtime.JSX.Element;
|
|
3387
|
-
type StnWidgetStatusGrade = 'critical' | 'major' | 'minor' | 'info' | 'normal';
|
|
3388
|
-
type StnWidgetStatusItemProps = HTMLAttributes<HTMLDivElement> & {
|
|
3389
|
-
label: ReactNode;
|
|
3390
|
-
value: ReactNode;
|
|
3391
|
-
grade?: StnWidgetStatusGrade;
|
|
3392
|
-
/** @deprecated grade 사용 권장 */
|
|
3393
|
-
status?: StnWidgetStatusGrade | 'warning';
|
|
3394
|
-
showDot?: boolean;
|
|
3395
|
-
};
|
|
3396
|
-
declare function StnWidgetStatusItem({ label, value, grade: gradeProp, status, showDot, className, ...rest }: StnWidgetStatusItemProps): react_jsx_runtime.JSX.Element;
|
|
3397
|
-
declare function StnWidgetStatusList({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3398
|
-
declare function StnWidgetStatGroup({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3399
|
-
type StnWidgetStatCardProps = HTMLAttributes<HTMLDivElement> & {
|
|
3400
|
-
label: ReactNode;
|
|
3401
|
-
count: ReactNode;
|
|
3402
|
-
};
|
|
3403
|
-
declare function StnWidgetStatCard({ label, count, className, ...rest }: StnWidgetStatCardProps): react_jsx_runtime.JSX.Element;
|
|
3404
3913
|
/** DS · 스토리용 빈 본문 */
|
|
3405
3914
|
declare function StnWidgetPlaceholder({ label }: {
|
|
3406
3915
|
label?: string;
|
|
3407
3916
|
}): react_jsx_runtime.JSX.Element;
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
percentLabel?: ReactNode;
|
|
3415
|
-
};
|
|
3416
|
-
/** Figma dark dashboard — grade row + 2px progress bar */
|
|
3417
|
-
declare function StnWidgetGradeRow({ grade, label, value, percent, percentLabel, className, ...rest }: StnWidgetGradeRowProps): react_jsx_runtime.JSX.Element;
|
|
3418
|
-
declare function StnWidgetGradeRowList({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3917
|
+
declare const StnWidgetStatusItem: typeof StnStatusItem;
|
|
3918
|
+
declare const StnWidgetStatusList: typeof StnStatusList;
|
|
3919
|
+
declare const StnWidgetStatGroup: typeof StnStatGroup;
|
|
3920
|
+
declare const StnWidgetStatCard: typeof StnStatCard;
|
|
3921
|
+
declare const StnWidgetGradeRow: typeof StnGradeRow;
|
|
3922
|
+
declare const StnWidgetGradeRowList: typeof StnGradeRowList;
|
|
3419
3923
|
declare function StnWidgetFooter({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3420
3924
|
declare function StnWidgetEmpty({ className, children, ...rest }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3421
3925
|
interface StnWidgetLoadingProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -3438,12 +3942,12 @@ declare const StnWidget: typeof StnWidgetRoot & {
|
|
|
3438
3942
|
PeriodText: typeof StnWidgetPeriodText;
|
|
3439
3943
|
PeriodSelect: typeof StnWidgetPeriodSelect;
|
|
3440
3944
|
PeriodPager: typeof StnWidgetPeriodPager;
|
|
3441
|
-
StatusList: typeof
|
|
3442
|
-
StatusItem: typeof
|
|
3443
|
-
StatGroup: typeof
|
|
3444
|
-
StatCard: typeof
|
|
3445
|
-
GradeRowList: typeof
|
|
3446
|
-
GradeRow: typeof
|
|
3945
|
+
StatusList: typeof StnStatusList;
|
|
3946
|
+
StatusItem: typeof StnStatusItem;
|
|
3947
|
+
StatGroup: typeof StnStatGroup;
|
|
3948
|
+
StatCard: typeof StnStatCard;
|
|
3949
|
+
GradeRowList: typeof StnGradeRowList;
|
|
3950
|
+
GradeRow: typeof StnGradeRow;
|
|
3447
3951
|
Placeholder: typeof StnWidgetPlaceholder;
|
|
3448
3952
|
TopologyRing: typeof StnTopologyRing;
|
|
3449
3953
|
TopologyGraph: typeof StnTopologyGraph;
|
|
@@ -4252,7 +4756,11 @@ type StnContainerProps<T extends ElementType = 'div'> = {
|
|
|
4252
4756
|
* @default 'lg'
|
|
4253
4757
|
*/
|
|
4254
4758
|
maxWidth?: StnContainerMaxWidth;
|
|
4255
|
-
/**
|
|
4759
|
+
/**
|
|
4760
|
+
* true면 컨테이너 자신의 좌우 패딩(1024px 미만 16px, 이상 24px)을 없앤다.
|
|
4761
|
+
* 페이지 본문(.stn-layer-1__body)이 주는 16px은 이 옵션과 별개다.
|
|
4762
|
+
* @default false
|
|
4763
|
+
*/
|
|
4256
4764
|
disableGutters?: boolean;
|
|
4257
4765
|
/**
|
|
4258
4766
|
* true면 breakpoint마다 그 구간 폭으로 고정된다. 구간 안에서는 유동적으로 늘어나지 않는다.
|
|
@@ -4796,44 +5304,12 @@ interface StnFloatingToolbarProps extends react__default.HTMLAttributes<HTMLDivE
|
|
|
4796
5304
|
className?: string;
|
|
4797
5305
|
children?: react__default.ReactNode;
|
|
4798
5306
|
}
|
|
4799
|
-
interface StnMapToolbarProps extends StnFloatingToolbarProps {
|
|
4800
|
-
/** 뷰 모드 드롭다운 옵션 (미지정 시 기본 ['구면', '평면', '원형'] 제공) */
|
|
4801
|
-
modeOptions?: StnDropdownOption[];
|
|
4802
|
-
/** 현재 선택된 뷰 모드 값 */
|
|
4803
|
-
modeValue?: string;
|
|
4804
|
-
/** 뷰 모드 변경 콜백 */
|
|
4805
|
-
onModeChange?: (value: string) => void;
|
|
4806
|
-
/** 드롭다운 너비 (기본값: 110px) */
|
|
4807
|
-
dropdownWidth?: number | string;
|
|
4808
|
-
/** 툴바 버튼 스타일 (기본값: 'ghost') */
|
|
4809
|
-
buttonVariant?: 'ghost' | 'outlined';
|
|
4810
|
-
/** 초기화(Restore) 버튼 클릭 핸들러 */
|
|
4811
|
-
onRestore?: () => void;
|
|
4812
|
-
/** 전체화면(Fullscreen) 버튼 클릭 핸들러 */
|
|
4813
|
-
onFullscreen?: () => void;
|
|
4814
|
-
/** 확대(Zoom In) 버튼 클릭 핸들러 */
|
|
4815
|
-
onZoomIn?: () => void;
|
|
4816
|
-
/** 축소(Zoom Out) 버튼 클릭 핸들러 */
|
|
4817
|
-
onZoomOut?: () => void;
|
|
4818
|
-
/** 새로고침(Refresh) 버튼 클릭 핸들러 */
|
|
4819
|
-
onRefresh?: () => void;
|
|
4820
|
-
/** 추가 커스텀 액션 버튼들 */
|
|
4821
|
-
extraActions?: react__default.ReactNode;
|
|
4822
|
-
}
|
|
4823
5307
|
/**
|
|
4824
5308
|
* StnFloatingToolbar
|
|
4825
|
-
* 지도, 차트, 토폴로지 캔버스 위에 플로팅되는 툴바
|
|
5309
|
+
* 지도, 차트, 토폴로지 캔버스 위에 플로팅되는 툴바 셸입니다.
|
|
5310
|
+
* 버튼·드롭다운 등은 children으로 조립합니다.
|
|
4826
5311
|
*/
|
|
4827
5312
|
declare const StnFloatingToolbar: react__default.ForwardRefExoticComponent<StnFloatingToolbarProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
4828
|
-
/**
|
|
4829
|
-
* StnMapToolbar
|
|
4830
|
-
* mockup/index.html의 토폴로지/지도 하단 툴바(topo-toolbar-container)를
|
|
4831
|
-
* 완벽히 재현한 통합 패턴 컴포넌트입니다.
|
|
4832
|
-
* 32px 드롭다운과 4px 각진 아이콘 버튼(StnButton shape="square")으로 구성됩니다.
|
|
4833
|
-
*/
|
|
4834
|
-
declare const StnMapToolbar: react__default.ForwardRefExoticComponent<StnMapToolbarProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
4835
|
-
type StnFloatingToolbarPresetProps = StnMapToolbarProps;
|
|
4836
|
-
declare const StnFloatingToolbarPreset: react__default.ForwardRefExoticComponent<StnMapToolbarProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
4837
5313
|
|
|
4838
5314
|
type StnEventBannerPlacement = 'top' | 'bottom' | 'inline';
|
|
4839
5315
|
type StnEventBannerSeverity = 'critical' | 'major' | 'minor' | 'warning';
|
|
@@ -4870,4 +5346,383 @@ interface StnEventBannerProps extends Omit<react__default.HTMLAttributes<HTMLDiv
|
|
|
4870
5346
|
/** 위험도별 이벤트 배너. placement와 severity로 배치·스타일을 고릅니다. */
|
|
4871
5347
|
declare const StnEventBanner: react__default.ForwardRefExoticComponent<StnEventBannerProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
4872
5348
|
|
|
4873
|
-
export { AlertCenterDashboard, type AlertCenterDashboardProps, AlertCenterPageScaffold, type AlertCenterPageScaffoldProps, DEFAULT_3D_GRAPH_LINKS, DEFAULT_3D_GRAPH_NODES, DashboardPageScaffold, type DashboardPageScaffoldProps, type DashboardType, Divider, LoginPageScaffold, type LoginPageScaffoldProps, PubChartSample, type PubDisabilityStatusItem, PubDisabilityStatusList, type PubTop5BarRow, PubTop5EquipmentBars, type PubTrafficTop5BarRow, PubTrafficTop5Bars, STN_TABLE_FOOTER_MAX_ACTIONS, STN_TOPOLOGY_NODE_ICONS, STN_TOPOLOGY_NODE_SHAPES, STN_TOPOLOGY_NODE_SIZE, STN_TOPOLOGY_NODE_SIZES, STN_TOPOLOGY_NODE_STATUSES, STN_TOPOLOGY_STATUS_COLORS, SideNavContext, type SideNavContextValue, StnAlertCard, type StnAlertCardProps, StnAlertCenterDocPreview, type StnAlertCenterDocPreviewProps, StnAlertCenterPanel, type StnAlertCenterPanelProps, StnBadge, type StnBadgeAnchorOrigin, type StnBadgeColor, type StnBadgeProps, type StnBadgeVariant, StnBreadcrumb, type StnBreadcrumbItem, type StnBreadcrumbMenuItem, type StnBreadcrumbProps, type StnBreadcrumbSize, type StnBreadcrumbVariant, StnButton, type StnButtonColor, type StnButtonIconPosition, type StnButtonProps, type StnButtonShape, type StnButtonSize, type StnButtonVariant, StnCard, StnCardBody, type StnCardBodyProps, StnCardFooter, type StnCardFooterProps, StnCardHeader, type StnCardHeaderProps, type StnCardProps, StnCheckbox, type StnCheckboxColor, type StnCheckboxLabelPlacement, type StnCheckboxProps, type StnCheckboxSize, type StnCheckboxVariant, StnChip, type StnChipColor, type StnChipIconPosition, type StnChipLabelPosition, type StnChipProps, type StnChipShape, type StnChipSize, type StnChipVariant, StnCircularProgress, type StnCircularProgressGradient, type StnCircularProgressLabelPosition, type StnCircularProgressProps, type StnCircularProgressSize, type StnCircularProgressTone, type StnCircularProgressTrack, StnContainer, type StnContainerMaxWidth, type StnContainerProps, StnContext, type StnContextValue, StnDashboard, type StnDashboardProps, type StnDashboardRegionProps, type StnDashboardWidgetPosition, StnDateRangeField, type StnDateRangeFieldProps, type StnDateRangeFieldVariant, StnDateRangePicker, StnDateRangePickerField, type StnDateRangePickerFieldProps, type StnDateRangePickerProps, StnDivider, type StnDividerProps, StnDrawer, StnDrawerBody, type StnDrawerBodyGap, type StnDrawerBodyPadding, type StnDrawerBodyProps, StnDrawerFooter, type StnDrawerFooterProps, type StnDrawerGap, StnDrawerHeader, type StnDrawerHeaderProps, type StnDrawerPadding, type StnDrawerPlacement, type StnDrawerProps, type StnDrawerSize, StnDropdown, StnDropdownMenu, type StnDropdownMenuProps, type StnDropdownProps, StnEventBanner, type StnEventBannerGap, type StnEventBannerPlacement, type StnEventBannerProps, type StnEventBannerSeverity, StnFloatingToolbar, type StnFloatingToolbarPlacement, StnFloatingToolbarPreset, type StnFloatingToolbarPresetProps, type StnFloatingToolbarProps, StnGrid, type StnGridBreakpoint, type StnGridDirection, type StnGridProps, type StnGridResponsive, type StnGridSize, type StnGridSpacing, StnHeader, StnHeaderContextTitle, StnHeaderPageTitle, type StnHeaderPageTitleProps, type StnHeaderProps, type StnHeaderRegionProps, StnHeaderSubTitle, StnHeaderTitle, type StnHeaderTitleClockProps, StnHeaderTitleDate, type StnHeaderTitleDateOptions, type StnHeaderTitleDualProps, StnHeaderTitleFramePreview, StnHeaderTitleMainText, type StnHeaderTitleProps, type StnHeaderTitleSize, StnHeaderTitleSubText, StnHeaderTitleTime, type StnHeaderTitleTimeOptions, type StnHeaderTitleTitleProps, type StnHeaderTitleVariant, StnHeaderTitleWeekday, StnHeaderToolbar, type StnHeaderToolbarProps, StnIcon, StnIconBox, type StnIconBoxColor, type StnIconBoxProps, type StnIconBoxSize, type StnIconProps, StnLabelPrefix, type StnLabelPrefixPosition, type StnLabelPrefixProps, type StnLabelPrefixRadius, type StnLabelPrefixSize, type StnLabelPrefixVariant, StnLayer, StnLayer0Background, type StnLayer0BackgroundColor, type StnLayer0BackgroundProps, StnLayerBackground, StnLayerContent, StnLayerDim, StnLayerModal, type StnLayerProps, type StnLayerRoleProps, StnLayerShell, type StnLayerShellProps, StnListViewLayout, StnListViewLayoutBody, type StnListViewLayoutBodyProps, StnListViewLayoutContent, StnListViewLayoutHeader, StnListViewLayoutPagination, type StnListViewLayoutProps, StnListViewLayoutSearch, StnListViewLayoutSidebar, StnListViewLayoutTable, StnLoadingSkeleton, StnLoadingSkeletonBlock, type StnLoadingSkeletonBlockProps, StnLoadingSkeletonCircle, type StnLoadingSkeletonCircleProps, StnLoadingSkeletonLine, type StnLoadingSkeletonLineProps, StnLoadingSkeletonProfile, type StnLoadingSkeletonProfileProps, type StnLoadingSkeletonProps, type StnLoadingSkeletonRootProps, StnLoadingSkeletonTable, type StnLoadingSkeletonTableProps, type StnLoadingSkeletonVariant, StnLoadingSkeletonWidget, type StnLoadingSkeletonWidgetProps, StnLoginBrandStack, type StnLoginBrandStackProps, StnLoginCard, type StnLoginCardBrandPosition, StnLoginCardGlowWrapper, type StnLoginCardGlowWrapperProps, type StnLoginCardProps, type StnLoginCardVariant, StnLoginFormFields, type StnLoginFormFieldsProps, StnLoginFormLinks, type StnLoginFormLinksProps, StnLoginFormStack, type StnLoginFormStackProps, StnLoginPlaceholder, type StnLoginPlaceholderProps, StnLoginTextField, type StnLoginTextFieldProps, StnLogo, type StnLogoProps, type StnLogoSize, type StnLogoTheme, type StnLogoVariant, StnMapCanvas, type StnMapCanvasProps, StnMapToolbar, type StnMapToolbarProps, StnModal, type StnModalProps, type StnModalSize, type StnMode, StnPageScaffold, StnPageScaffoldLayer, type StnPageScaffoldLayerProps, StnPageScaffoldMapCanvas, type StnPageScaffoldMapCanvasProps, StnPageScaffoldMapPlaceholder, type StnPageScaffoldMapPlaceholderProps, StnPageScaffoldRegion, type StnPageScaffoldRegionProps, StnPageScaffoldRoot, type StnPageScaffoldRootProps, StnPagination, type StnPaginationColor, type StnPaginationItem, type StnPaginationProps, type StnPaginationSize, type StnPaginationVariant, StnPopup, type StnPopupProps, type StnPopupSize, StnProgressBar, type StnProgressBarGradient, type StnProgressBarLabelAlign, type StnProgressBarLabelPosition, type StnProgressBarProps, type StnProgressBarSize, type StnProgressBarTone, type StnProgressBarTrack, StnProvider, type StnProviderProps, StnRadio, type StnRadioColor, StnRadioGroup, type StnRadioGroupLayout, type StnRadioGroupOption, type StnRadioGroupOrientation, type StnRadioGroupProps, type StnRadioLabelPlacement, type StnRadioProps, type StnRadioSize, StnScroll, type StnScrollColor, type StnScrollOrientation, type StnScrollProps, type StnScrollSize, type StnScrollVariant, StnSearchRequirementBar, StnSearchRequirementBarDemo, type StnSearchRequirementBarDemoProps, type StnSearchRequirementBarDividerProps, type StnSearchRequirementBarExportProps, type StnSearchRequirementBarFieldProps, type StnSearchRequirementBarFieldsProps, type StnSearchRequirementBarProps, type StnSearchRequirementBarSearchButtonProps, StnSectionSide, StnSectionSidePreset, type StnSectionSidePresetProps, type StnSectionSideProps, StnSegmented, type StnSegmentedMultipleProps, type StnSegmentedOption, type StnSegmentedProps, type StnSegmentedSingleProps, StnSeverityBadge, type StnSeverityBadgeProps, type StnSeverityLevel, type StnSeveritySize, type StnSeverityVariant, type StnSideNavDropdownVariant, StnSideNavFooter, type StnSideNavFooterProps, StnSideNavGroup, type StnSideNavGroupProps, StnSideNavHeader, type StnSideNavHeaderProps, StnSideNavItem, type StnSideNavItemProps, type StnSideNavItemVariant, StnSideNavLogo, type StnSideNavLogoProps, StnSideNavMenu, type StnSideNavMenuProps, StnSideNavMobileTrigger, type StnSideNavMobileTriggerProps, StnSideNavSpacer, type StnSideNavSpacerProps, StnSideNavSub, StnSideNavSubItem, type StnSideNavSubItemProps, StnSideNavSubNav, type StnSideNavSubNavProps, type StnSideNavSubNavVariant, type StnSideNavSubProps, StnSideNavToggle, type StnSideNavToggleProps, StnSideNavWatermark, type StnSideNavWatermarkProps, StnSideNavigation, type StnSideNavigationProps, type StnSideNavigationVariant, StnSlider, type StnSliderColor, type StnSliderGradient, type StnSliderLabelAlign, type StnSliderLabelPosition, type StnSliderProps, type StnSliderSize, StnStack, type StnStackBreakpoint, type StnStackDirection, type StnStackProps, type StnStackResponsive, type StnStackScrollable, type StnStackWrap, StnStatus, StnStatusDot, type StnStatusDotGap, StnStatusDotGroup, type StnStatusDotGroupItem, type StnStatusDotGroupProps, type StnStatusDotPosition, type StnStatusDotProps, type StnStatusDotSize, StnStatusFlow, type StnStatusFlowProps, type StnStatusFlowSize, type StnStatusProps, StnStatusSeverity, type StnStatusSeverityProps, StnStatusSwitch, type StnStatusSwitchProps, StnSwitch, type StnSwitchColor, type StnSwitchGradient, type StnSwitchLabelPosition, type StnSwitchProps, type StnSwitchSize, StnTab, StnTabContextProvider, type StnTabContextProviderProps, type StnTabContextValue, StnTabPanel, type StnTabPanelProps, type StnTabProps, StnTable, type StnTableAlign, StnTableBody, type StnTableBodyProps, StnTableGrid, type StnTableGridProps, StnTableHead, type StnTableHeadProps, type StnTableProps, StnTableRow, type StnTableRowProps, StnTableSort, type StnTableSortProps, StnTableTd, StnTableTdCheck, type StnTableTdCheckProps, type StnTableTdProps, StnTableTh, StnTableThCheck, type StnTableThCheckProps, type StnTableThProps, StnTabs, type StnTabsProps, StnTabsRoot, StnText, StnTextArea, type StnTextAreaColor, type StnTextAreaLabelPosition, type StnTextAreaProps, type StnTextAreaResize, type StnTextAreaSizeProp, type StnTextAreaVariant, type StnTextColor, StnTextField, type StnTextFieldColor, type StnTextFieldIconPosition, type StnTextFieldLabelPosition, type StnTextFieldProps, type StnTextFieldVariant, type StnTextProps, type StnTextVariant, type StnTextWeight, type StnTheme, StnToastCloseButton, StnToastIcon, type StnToastIconProps, StnToggleButton, type StnToggleButtonColor, type StnToggleButtonIconPosition, type StnToggleButtonProps, type StnToggleButtonSize, type StnToolbarOrientation, StnTooltip, type StnTooltipPlacement, type StnTooltipProps, type StnTooltipSize, type StnTooltipTone, type StnTooltipVariant, type StnTopologyCore, StnTopologyGraph, type StnTopologyGraphContextValue, type StnTopologyGraphLink, StnTopologyGraphLinkComponent, type StnTopologyGraphLinkComponentProps, StnTopologyGraphMinimap, type StnTopologyGraphMinimapProps, StnTopologyGraphModeToggle, type StnTopologyGraphModeToggleProps, type StnTopologyGraphNode, StnTopologyGraphNodeComponent, type StnTopologyGraphNodeComponentProps, type StnTopologyGraphProps, StnTopologyGraphToolbar, type StnTopologyGraphToolbarProps, StnTopologyGraphViewport, type StnTopologyGraphViewportProps, type StnTopologyNode, StnTopologyNodeCard, type StnTopologyNodeCardProps, type StnTopologyNodeContent, type StnTopologyNodeIcon, StnTopologyNodeItem, type StnTopologyNodeItemProps, StnTopologyNodeMark, type StnTopologyNodeMarkProps, StnTopologyNodePreview, type StnTopologyNodePreviewProps, type StnTopologyNodeShape, type StnTopologyNodeSize, type StnTopologyNodeStatus, type StnTopologyProjectedNode, StnTopologyRing, StnTopologyRingCore, type StnTopologyRingCoreProps, StnTopologyRingNode, type StnTopologyRingNodeProps, type StnTopologyRingProps, StnTree, type StnTreeDocRowState, StnTreeItem, type StnTreeItemData, type StnTreeItemDocState, type StnTreeItemProps, StnTreeNode, type StnTreeNodeDocState, type StnTreeNodeKind, type StnTreeNodeProps, type StnTreeProps, type StnTreeRadius, type StnTreeSize, type StnTreeWidth, StnWidget, StnWidgetActions, type StnWidgetBackground, StnWidgetBody, StnWidgetChartSlot, type StnWidgetChartSlotProps, StnWidgetEmpty, StnWidgetFooter, StnWidgetGradeRow, StnWidgetGradeRowList, type StnWidgetGradeRowProps, StnWidgetHeader, StnWidgetInsetIcon, type StnWidgetInsetIconProps, StnWidgetLoading, type StnWidgetPadding, StnWidgetPlaceholder, type StnWidgetProps, StnWidgetStatCard, type StnWidgetStatCardProps, StnWidgetStatGroup, type StnWidgetStatus, type StnWidgetStatusGrade, StnWidgetStatusItem, type StnWidgetStatusItemProps, StnWidgetStatusList, StnWidgetTitle, buildPaginationItems, buildStnTreeNodeCells, cn, collectExpandableIds, flattenStnTree, formatStnHeaderTitleDate, formatStnHeaderTitleTime, formatStnHeaderTitleWeekday, formatTopologyCount, useSideNav, useStn, useStnOptional, useStnTabsContext, useStnTopologyGraph };
|
|
5349
|
+
type StnEmptyStateAction = {
|
|
5350
|
+
label: react__default.ReactNode;
|
|
5351
|
+
onClick?: (e: react__default.MouseEvent<HTMLButtonElement>) => void;
|
|
5352
|
+
/** 기본: primary=contained, secondary=outlined */
|
|
5353
|
+
variant?: 'contained' | 'outlined' | 'ghost' | 'text';
|
|
5354
|
+
disabled?: boolean;
|
|
5355
|
+
};
|
|
5356
|
+
interface StnEmptyStateProps extends Omit<react__default.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
5357
|
+
/** 대표 프리셋 10종. 지정 시 아이콘/그래픽·제목·설명·톤 기본값 */
|
|
5358
|
+
kind?: StnEmptyStateKind;
|
|
5359
|
+
/** visual 표현 방식: 'graphic'(3D 일러스트 기본, 없을 시 아이콘 폴백) | 'icon'(아이콘 강제) */
|
|
5360
|
+
visual?: 'graphic' | 'icon';
|
|
5361
|
+
/** 커스텀 3D 그래픽 이미지 (URL / Data URL). kind 기본 그래픽 덮어씀 */
|
|
5362
|
+
graphic?: string;
|
|
5363
|
+
/** sm=위젯 · md=섹션(기본) · lg=페이지 */
|
|
5364
|
+
size?: StnEmptyStateSize;
|
|
5365
|
+
/** 레이아웃 본문 전체 중앙 정렬 (404 등) */
|
|
5366
|
+
fullPage?: boolean;
|
|
5367
|
+
/** 아이콘 색 톤. kind 지정 시 프리셋 기본값 */
|
|
5368
|
+
tone?: StnEmptyStateTone;
|
|
5369
|
+
/** Iconography slug 또는 커스텀 노드. kind 기본 아이콘 덮어씀 */
|
|
5370
|
+
icon?: react__default.ReactNode;
|
|
5371
|
+
/** HTTP 코드 등 작은 표기 (예: 404). visual="icon" 일 때 기본 노출 */
|
|
5372
|
+
code?: react__default.ReactNode;
|
|
5373
|
+
/** code 숨김 */
|
|
5374
|
+
hideCode?: boolean;
|
|
5375
|
+
title?: react__default.ReactNode;
|
|
5376
|
+
description?: react__default.ReactNode;
|
|
5377
|
+
/** description 숨김 */
|
|
5378
|
+
hideDescription?: boolean;
|
|
5379
|
+
/** 커스텀 액션 영역. 지정 시 primary/secondaryAction 무시 */
|
|
5380
|
+
actions?: react__default.ReactNode;
|
|
5381
|
+
/** 1차 액션 (StnButton contained) */
|
|
5382
|
+
primaryAction?: StnEmptyStateAction;
|
|
5383
|
+
/** 2차 액션 (StnButton outlined) */
|
|
5384
|
+
secondaryAction?: StnEmptyStateAction;
|
|
5385
|
+
/** 비주얼(아이콘/그래픽) 영역 숨김 */
|
|
5386
|
+
hideIcon?: boolean;
|
|
5387
|
+
className?: string;
|
|
5388
|
+
}
|
|
5389
|
+
/** 공통 빈·오류 상태. kind 프리셋 또는 슬롯으로 조립합니다. */
|
|
5390
|
+
declare const StnEmptyState: react__default.ForwardRefExoticComponent<StnEmptyStateProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
5391
|
+
|
|
5392
|
+
/**
|
|
5393
|
+
* STN Design System — Chart Standard Types & Token Resolvers
|
|
5394
|
+
* Follows GEMINI.md Severity & Semantic Token Rules
|
|
5395
|
+
*/
|
|
5396
|
+
type StnChartSeverity = 'critical' | 'major' | 'minor' | 'warning';
|
|
5397
|
+
type StnChartStatus = 'critical' | 'major' | 'minor' | 'warning' | 'success' | 'info' | 'neutral' | 'primary' | 'secondary' | 'error';
|
|
5398
|
+
declare const SEVERITY_COLOR_TOKENS: Record<StnChartSeverity, string>;
|
|
5399
|
+
declare const STATUS_COLOR_TOKENS: Record<string, string>;
|
|
5400
|
+
declare const STN_CHART_STATUS_COLORS: Record<string, string>;
|
|
5401
|
+
/**
|
|
5402
|
+
* STN 디자인 시스템 10종 통합 순차 범주형 컬러 팔레트 (Categorical 10 Palette)
|
|
5403
|
+
* 막대(Bar), 꺾은선(Line), 원형/게이지(Pie/Gauge), 복합(Combo) 차트 전반에 순서대로 일관 적용됩니다.
|
|
5404
|
+
* 10개를 초과하는 데이터는 1번부터 자동으로 순환(Modulo) 할당됩니다.
|
|
5405
|
+
*/
|
|
5406
|
+
declare const STN_CHART_COLORS: string[];
|
|
5407
|
+
declare const DEFAULT_CHART_COLORS: string[];
|
|
5408
|
+
/**
|
|
5409
|
+
* 우선순위에 따라 차트 요소의 색상 토큰을 반환합니다.
|
|
5410
|
+
* 1. 명시적 color가 'critical', 'major', 'minor', 'warning', 'success', 'info', 'neutral' 등의 상태 키워드인 경우
|
|
5411
|
+
* 자동으로 STATUS_COLOR_TOKENS의 시맨틱 CSS 변수로 해석
|
|
5412
|
+
* 2. 명시적 color가 레거시 토큰인 경우 통일된 10종 컬러로 매핑
|
|
5413
|
+
* 3. 명시적 color가 CSS 변수(var(--...)) 또는 임의의 색상 문자열인 경우 그대로 반환
|
|
5414
|
+
* 4. severity가 지정된 경우 SEVERITY_COLOR_TOKENS 반환
|
|
5415
|
+
* 5. status가 지정된 경우 STATUS_COLOR_TOKENS 반환
|
|
5416
|
+
* 6. 생략된 경우 10종 기본 시퀀스(STN_CHART_COLORS)에서 fallback(인덱스 숫자 또는 fallback 색상) 기준 반환
|
|
5417
|
+
*/
|
|
5418
|
+
declare function resolveChartColor(color?: string, severityOrFallback?: StnChartSeverity | number | string, status?: string, fallbackColor?: string): string;
|
|
5419
|
+
/**
|
|
5420
|
+
* STN 디자인 시스템 차트 공통 수치 포맷터
|
|
5421
|
+
* @param value 포맷할 숫자
|
|
5422
|
+
* @param decimals 표시할 소수점 자릿수 (미지정 시 정수는 0자리, 소수는 1자리)
|
|
5423
|
+
*/
|
|
5424
|
+
declare function formatChartValue(value: number, decimals?: number): string;
|
|
5425
|
+
/**
|
|
5426
|
+
* 차트 공통 로딩(스켈레톤) 및 데이터 없음(Empty State) 렌더러
|
|
5427
|
+
*/
|
|
5428
|
+
declare function renderChartState(loading?: boolean, hasData?: boolean, emptyText?: ReactNode): ReactNode;
|
|
5429
|
+
|
|
5430
|
+
type StnBarChartValueItem = {
|
|
5431
|
+
key?: string;
|
|
5432
|
+
value: number;
|
|
5433
|
+
color?: string;
|
|
5434
|
+
label?: string;
|
|
5435
|
+
};
|
|
5436
|
+
type StnBarChartItem = {
|
|
5437
|
+
id?: string | number;
|
|
5438
|
+
label: string;
|
|
5439
|
+
/** 단일 수치 또는 듀얼/다중 막대 수치 배열 (최대 5~6개) */
|
|
5440
|
+
values: number[] | StnBarChartValueItem[];
|
|
5441
|
+
highlight?: boolean;
|
|
5442
|
+
};
|
|
5443
|
+
type StnBarChartYAxis = {
|
|
5444
|
+
max?: number;
|
|
5445
|
+
min?: number;
|
|
5446
|
+
steps?: number;
|
|
5447
|
+
format?: (value: number) => string;
|
|
5448
|
+
unit?: string;
|
|
5449
|
+
};
|
|
5450
|
+
type StnBarChartLegendItem = {
|
|
5451
|
+
label: string;
|
|
5452
|
+
color: string;
|
|
5453
|
+
};
|
|
5454
|
+
type StnBarChartDirection = 'vertical' | 'horizontal';
|
|
5455
|
+
type StnBarChartSize = 'sm' | 'md' | 'lg';
|
|
5456
|
+
type StnBarChartProps = HTMLAttributes<HTMLDivElement> & {
|
|
5457
|
+
/** 차트 데이터 리스트 */
|
|
5458
|
+
data?: StnBarChartItem[];
|
|
5459
|
+
/** 막대 차트 방향 ('vertical' 기본 세로 막대, 'horizontal' 가로 막대) */
|
|
5460
|
+
direction?: StnBarChartDirection;
|
|
5461
|
+
/** direction의 별칭 */
|
|
5462
|
+
orientation?: StnBarChartDirection;
|
|
5463
|
+
/** 표준 막대 두께 스케일 ('sm': 4px, 'md': 6px 기본, 'lg': 10px) */
|
|
5464
|
+
size?: StnBarChartSize;
|
|
5465
|
+
/**
|
|
5466
|
+
* 색상 자동 매핑 기준:
|
|
5467
|
+
* - 'series' (기본): values 내 다중 막대(계열) 인덱스(0~9) 순으로 컬러 순환 할당
|
|
5468
|
+
* - 'category': 각 컬럼/행(카테고리) 인덱스(0~9) 순으로 컬러 순환 할당
|
|
5469
|
+
*/
|
|
5470
|
+
colorBy?: 'series' | 'category';
|
|
5471
|
+
/** X축 하단 라벨/스케일 표출 여부 (기본 true) */
|
|
5472
|
+
showXAxis?: boolean;
|
|
5473
|
+
/** Y축 좌측 라벨/그리드 표출 여부 (기본 true) */
|
|
5474
|
+
showYAxis?: boolean;
|
|
5475
|
+
/** 마우스 오버 시 툴팁 표출 여부 (기본 true) */
|
|
5476
|
+
showTooltip?: boolean;
|
|
5477
|
+
/** 가로 막대 우측 수치 라벨 직접 표출 여부 (기본 false) */
|
|
5478
|
+
showValue?: boolean;
|
|
5479
|
+
/** Y축/값 축 설정 (최댓값, 눈금 수, 포맷터) */
|
|
5480
|
+
yAxis?: StnBarChartYAxis;
|
|
5481
|
+
/** 하단 알약형 범례 (미지정 시 숨김) */
|
|
5482
|
+
legend?: StnBarChartLegendItem[];
|
|
5483
|
+
/** 활성화/하이라이트할 컬럼/행 인덱스 (제어 모드) */
|
|
5484
|
+
highlightIndex?: number;
|
|
5485
|
+
/** 컬럼/행 클릭 이벤트 핸들러 */
|
|
5486
|
+
onColumnClick?: (item: StnBarChartItem, index: number) => void;
|
|
5487
|
+
/** 컬럼/행 개수가 많을 때 콤팩트 모드 (막대 4px) */
|
|
5488
|
+
compact?: boolean;
|
|
5489
|
+
/** 막대 개별 두께 ('sm' | 'md' | 'lg' | px 단위 숫자 또는 string) */
|
|
5490
|
+
barWidth?: StnBarChartSize | number | string;
|
|
5491
|
+
/** 차트 전체 높이 (기본 100% 또는 지정 px) */
|
|
5492
|
+
height?: number | string;
|
|
5493
|
+
/** 수치 표시 시 소수점 자릿수 (기본값: 정수면 0, 소수면 1) */
|
|
5494
|
+
decimals?: number;
|
|
5495
|
+
/** 데이터 로딩 중 스켈레톤 표출 여부 */
|
|
5496
|
+
loading?: boolean;
|
|
5497
|
+
/** 데이터가 없을 때 표출할 안내 문구 또는 커스텀 컴포넌트 */
|
|
5498
|
+
emptyText?: ReactNode;
|
|
5499
|
+
};
|
|
5500
|
+
/**
|
|
5501
|
+
* STN 비상태 시각화 전용 10종 통일 컬러 팔레트
|
|
5502
|
+
*/
|
|
5503
|
+
declare const DEFAULT_BAR_COLORS: string[];
|
|
5504
|
+
/**
|
|
5505
|
+
* StnBarChart
|
|
5506
|
+
* STN 디자인 시스템 표준 막대 차트 컴포넌트
|
|
5507
|
+
* 순수 CSS Flexbox + 시멘틱 토큰 기반으로 동작합니다.
|
|
5508
|
+
* - 세로(vertical) 및 가로(horizontal) 막대 차트 완벽 지원
|
|
5509
|
+
* - 단일 막대부터 최대 5~6개 다중 막대(Grouped Bar) 지원
|
|
5510
|
+
* - sm / md / lg 표준 크기 스케일 지원
|
|
5511
|
+
* - X/Y 축 라벨 표출/숨김 제어 (Class & Prop)
|
|
5512
|
+
* - 인터랙티브 마우스 호버 툴팁 지원
|
|
5513
|
+
*/
|
|
5514
|
+
declare function StnBarChart({ data, direction, orientation, size, colorBy, showXAxis, showYAxis, showTooltip, showValue, yAxis, legend, highlightIndex: controlledHighlight, onColumnClick, compact, barWidth: customBarWidth, height, decimals, loading, emptyText, className, style, ...rest }: StnBarChartProps): react_jsx_runtime.JSX.Element;
|
|
5515
|
+
|
|
5516
|
+
type StnPieChartItem = {
|
|
5517
|
+
id?: string | number;
|
|
5518
|
+
label: string;
|
|
5519
|
+
value: number;
|
|
5520
|
+
color?: string;
|
|
5521
|
+
};
|
|
5522
|
+
type StnPieChartVariant = 'gauge' | 'donut';
|
|
5523
|
+
type StnPieChartStrokeSize = 'sm' | 'md' | 'lg';
|
|
5524
|
+
type StnPieChartStrokeWidth = StnPieChartStrokeSize | number;
|
|
5525
|
+
type StnPieChartProps = HTMLAttributes<HTMLDivElement> & {
|
|
5526
|
+
/** 데이터 항목 배열 (최대 10개 이상 지원) */
|
|
5527
|
+
data: StnPieChartItem[];
|
|
5528
|
+
/** 로딩 스켈레톤 상태 표출 여부 */
|
|
5529
|
+
loading?: boolean;
|
|
5530
|
+
/** 데이터가 비어있을 때 표시할 메시지 또는 커스텀 컴포넌트 */
|
|
5531
|
+
emptyText?: ReactNode;
|
|
5532
|
+
/** 차트 형태: 'gauge' (CPU/MEM 듀얼 동심원 게이지), 'donut' (단일/퍼센트 도넛) */
|
|
5533
|
+
variant?: StnPieChartVariant;
|
|
5534
|
+
/** 원형 선 두께 스케일: 'sm' (3px), 'md' (5px 기본), 'lg' (8px) 또는 직접 px 숫자 */
|
|
5535
|
+
strokeWidth?: StnPieChartStrokeWidth;
|
|
5536
|
+
/** strokeWidth 별칭 */
|
|
5537
|
+
thickness?: StnPieChartStrokeWidth;
|
|
5538
|
+
/** 마우스 오버 시 툴팁 표출 여부 (기본 true) */
|
|
5539
|
+
showTooltip?: boolean;
|
|
5540
|
+
/** 게이지 중앙 타이틀 (예: 'CPU', 'MEMORY') */
|
|
5541
|
+
centerLabel?: ReactNode;
|
|
5542
|
+
/** 도넛 중앙 서브 텍스트 또는 단위 (예: '%', '건') */
|
|
5543
|
+
centerSubLabel?: ReactNode;
|
|
5544
|
+
/** 범례 표시 여부 */
|
|
5545
|
+
showLegend?: boolean;
|
|
5546
|
+
/** 게이지 SVG 직경 (px, 기본 90) */
|
|
5547
|
+
size?: number;
|
|
5548
|
+
/** 수치/퍼센트 표시 시 소수점 자릿수 (기본값: 1) */
|
|
5549
|
+
decimals?: number;
|
|
5550
|
+
/** 툴팁 수치 커스텀 포맷터 함수 */
|
|
5551
|
+
format?: (value: number, ratio: number) => string;
|
|
5552
|
+
};
|
|
5553
|
+
/**
|
|
5554
|
+
* STN 비상태 다채색 전용 통합 10종 시멘틱 차트 팔레트
|
|
5555
|
+
*/
|
|
5556
|
+
declare const DEFAULT_PIE_COLORS: string[];
|
|
5557
|
+
/**
|
|
5558
|
+
* StnPieChart
|
|
5559
|
+
* STN 디자인 시스템 표준 원형/도넛/게이지 차트 컴포넌트
|
|
5560
|
+
* 순수 인라인 SVG + 시멘틱 토큰 기반으로 동작합니다.
|
|
5561
|
+
* - 최대 10개 이상의 다중 세그먼트 지원
|
|
5562
|
+
* - sm(3px) / md(5px) / lg(8px) 원형 선 두께 스케일
|
|
5563
|
+
* - 인터랙티브 마우스 호버 툴팁 지원
|
|
5564
|
+
* - 세그먼트 호버 확대 인터랙션
|
|
5565
|
+
*/
|
|
5566
|
+
declare function StnPieChart({ data, loading, emptyText, variant, strokeWidth: customStrokeWidth, thickness, showTooltip, centerLabel, centerSubLabel, showLegend, size, decimals, format, className, style, ...rest }: StnPieChartProps): react_jsx_runtime.JSX.Element;
|
|
5567
|
+
/** StnGaugeChart alias */
|
|
5568
|
+
declare const StnGaugeChart: typeof StnPieChart;
|
|
5569
|
+
|
|
5570
|
+
type StnLineChartSeries = {
|
|
5571
|
+
id?: string | number;
|
|
5572
|
+
label?: string;
|
|
5573
|
+
data: number[];
|
|
5574
|
+
color?: string;
|
|
5575
|
+
};
|
|
5576
|
+
type StnLineChartVariant = 'line' | 'area' | 'sparkline';
|
|
5577
|
+
type StnLineChartSize = 'sm' | 'md' | 'lg';
|
|
5578
|
+
type StnLineChartYAxis = {
|
|
5579
|
+
max?: number;
|
|
5580
|
+
min?: number;
|
|
5581
|
+
labels?: string[];
|
|
5582
|
+
};
|
|
5583
|
+
type StnLineChartLegendItem = {
|
|
5584
|
+
label: string;
|
|
5585
|
+
color: string;
|
|
5586
|
+
};
|
|
5587
|
+
type StnLineChartProps = HTMLAttributes<HTMLDivElement> & {
|
|
5588
|
+
/** 단일 수치 배열 또는 다중 시리즈 데이터 (최소 6종 이상 지원) */
|
|
5589
|
+
data: number[] | StnLineChartSeries[];
|
|
5590
|
+
/** 로딩 스켈레톤 상태 표출 여부 */
|
|
5591
|
+
loading?: boolean;
|
|
5592
|
+
/** 데이터가 비어있을 때 표시할 메시지 또는 커스텀 컴포넌트 */
|
|
5593
|
+
emptyText?: ReactNode;
|
|
5594
|
+
/** 차트 형태: 'line' (선 차트), 'area' (그라데이션 영역 차트), 'sparkline' (소형 스파크라인) */
|
|
5595
|
+
variant?: StnLineChartVariant;
|
|
5596
|
+
/** 선 두께 스케일: 'sm' (1.5px), 'md' (2px, 기본), 'lg' (3px) */
|
|
5597
|
+
size?: StnLineChartSize;
|
|
5598
|
+
/** X축 각 데이터 포인트마다 점(dot) 표출 여부 (기본 false) */
|
|
5599
|
+
showDots?: boolean;
|
|
5600
|
+
/** showDots의 별칭 */
|
|
5601
|
+
showPoints?: boolean;
|
|
5602
|
+
/** showDots의 축약 별칭 */
|
|
5603
|
+
dots?: boolean;
|
|
5604
|
+
/** X축 하단 라벨 표출 여부 (기본 true) */
|
|
5605
|
+
showXAxis?: boolean;
|
|
5606
|
+
/** Y축 좌측 라벨 표출 여부 (기본 true) */
|
|
5607
|
+
showYAxis?: boolean;
|
|
5608
|
+
/** 마우스 오버 시 데이터 툴팁 표출 여부 (기본 true) */
|
|
5609
|
+
showTooltip?: boolean;
|
|
5610
|
+
/** X축 하단 라벨 배열 */
|
|
5611
|
+
xAxisLabels?: string[];
|
|
5612
|
+
/** Y축 좌측 라벨 배열 또는 최댓값/최솟값 */
|
|
5613
|
+
yAxis?: StnLineChartYAxis;
|
|
5614
|
+
/** 하단 범례 (지정 시 표시) */
|
|
5615
|
+
legend?: StnLineChartLegendItem[];
|
|
5616
|
+
/** 차트 높이 (기본 160px 또는 sparkline 시 36px) */
|
|
5617
|
+
height?: number | string;
|
|
5618
|
+
/** 수치 표시 시 소수점 자릿수 (기본값: 정수면 0, 소수면 1) */
|
|
5619
|
+
decimals?: number;
|
|
5620
|
+
/** 수치 커스텀 포맷터 함수 */
|
|
5621
|
+
format?: (value: number) => string;
|
|
5622
|
+
};
|
|
5623
|
+
/**
|
|
5624
|
+
* STN 비상태 시각화 전용 통합 10종 시멘틱 차트 팔레트
|
|
5625
|
+
*/
|
|
5626
|
+
declare const DEFAULT_LINE_COLORS: string[];
|
|
5627
|
+
/**
|
|
5628
|
+
* StnLineChart
|
|
5629
|
+
* STN 디자인 시스템 표준 꺾은선 / 영역 / 스파크라인 차트 컴포넌트
|
|
5630
|
+
* - 최대 6개 이상의 다중 라인(Multi-series) 지원
|
|
5631
|
+
* - sm / md / lg 표준 선 두께 스케일
|
|
5632
|
+
* - 각 X축 데이터 포인트별 점(Dot) 표출/숨김 제어 (showDots)
|
|
5633
|
+
* - X/Y 축 라벨 표출/숨김 제어 (Class & Prop)
|
|
5634
|
+
* - 인터랙티브 마우스 호버 크로스헤어 + 툴팁
|
|
5635
|
+
*/
|
|
5636
|
+
declare function StnLineChart({ data, loading, emptyText, variant, size, showDots, showPoints, dots, showXAxis, showYAxis, showTooltip, xAxisLabels, yAxis, legend, height, decimals, format, className, style, ...rest }: StnLineChartProps): react_jsx_runtime.JSX.Element;
|
|
5637
|
+
|
|
5638
|
+
type StnComboChartBarItem = {
|
|
5639
|
+
key?: string;
|
|
5640
|
+
value: number;
|
|
5641
|
+
color?: string;
|
|
5642
|
+
label?: string;
|
|
5643
|
+
};
|
|
5644
|
+
type StnComboChartLineSeries = {
|
|
5645
|
+
id?: string | number;
|
|
5646
|
+
label?: string;
|
|
5647
|
+
data: number[];
|
|
5648
|
+
color?: string;
|
|
5649
|
+
/** 선 아래 영역 그라데이션 채우기 활성화 여부 */
|
|
5650
|
+
area?: boolean;
|
|
5651
|
+
/** 데이터 포인트 점(dot) 표출 여부 */
|
|
5652
|
+
showDots?: boolean;
|
|
5653
|
+
/** 적용할 Y축 축 기준 ('left' 기본, 'right' 보조축) */
|
|
5654
|
+
yAxis?: 'left' | 'right';
|
|
5655
|
+
};
|
|
5656
|
+
type StnComboChartItem = {
|
|
5657
|
+
id?: string | number;
|
|
5658
|
+
label: string;
|
|
5659
|
+
/** 단일 막대 수치 */
|
|
5660
|
+
bar?: number;
|
|
5661
|
+
/** 단일 또는 다중 막대 수치 배열 */
|
|
5662
|
+
barValues?: number | number[] | StnComboChartBarItem[];
|
|
5663
|
+
highlight?: boolean;
|
|
5664
|
+
};
|
|
5665
|
+
type StnComboChartYAxis = {
|
|
5666
|
+
max?: number;
|
|
5667
|
+
min?: number;
|
|
5668
|
+
steps?: number;
|
|
5669
|
+
format?: (value: number) => string;
|
|
5670
|
+
unit?: string;
|
|
5671
|
+
labels?: string[];
|
|
5672
|
+
};
|
|
5673
|
+
type StnComboChartLegendItem = {
|
|
5674
|
+
label: string;
|
|
5675
|
+
color: string;
|
|
5676
|
+
type?: 'bar' | 'line';
|
|
5677
|
+
};
|
|
5678
|
+
type StnComboChartSize = 'sm' | 'md' | 'lg';
|
|
5679
|
+
type StnComboChartProps = HTMLAttributes<HTMLDivElement> & {
|
|
5680
|
+
/** 카테고리별 데이터 리스트 (X축 라벨 및 막대 수치 포함) */
|
|
5681
|
+
data: StnComboChartItem[];
|
|
5682
|
+
/** 로딩 스켈레톤 상태 표출 여부 */
|
|
5683
|
+
loading?: boolean;
|
|
5684
|
+
/** 데이터가 비어있을 때 표시할 메시지 또는 커스텀 컴포넌트 */
|
|
5685
|
+
emptyText?: ReactNode;
|
|
5686
|
+
/** 오버레이 선(Line) 시리즈 목록 */
|
|
5687
|
+
lines?: StnComboChartLineSeries[];
|
|
5688
|
+
/** 크기 스케일: 'sm' | 'md' | 'lg' (기본 'md') */
|
|
5689
|
+
size?: StnComboChartSize;
|
|
5690
|
+
/** 선 데이터 포인트 점 표출 여부 (기본 false) */
|
|
5691
|
+
showDots?: boolean;
|
|
5692
|
+
/** X축 하단 라벨 표출 여부 (기본 true) */
|
|
5693
|
+
showXAxis?: boolean;
|
|
5694
|
+
/** 좌측 Y축 표출 여부 (기본 true) */
|
|
5695
|
+
showLeftYAxis?: boolean;
|
|
5696
|
+
/** 우측 Y축 표출 여부 (우측 Y축 설정 존재 시 기본 true) */
|
|
5697
|
+
showRightYAxis?: boolean;
|
|
5698
|
+
/** 마우스 오버 시 인터랙티브 툴팁 표출 여부 (기본 true) */
|
|
5699
|
+
showTooltip?: boolean;
|
|
5700
|
+
/** 좌측 Y축 설정 (기본 축) */
|
|
5701
|
+
leftYAxis?: StnComboChartYAxis;
|
|
5702
|
+
/** 우측 Y축 설정 (보조 축, 예: 퍼센트나 별도 단위) */
|
|
5703
|
+
rightYAxis?: StnComboChartYAxis;
|
|
5704
|
+
/** 하단 알약형 범례 (미지정 시 자동 구성) */
|
|
5705
|
+
legend?: StnComboChartLegendItem[];
|
|
5706
|
+
/** 차트 전체 높이 (기본 220px) */
|
|
5707
|
+
height?: number | string;
|
|
5708
|
+
/** 막대 개별 두께 ('sm' | 'md' | 'lg' | number | string) */
|
|
5709
|
+
barWidth?: StnComboChartSize | number | string;
|
|
5710
|
+
/** 활성화/선택된 컬럼 인덱스 (제어 모드) */
|
|
5711
|
+
highlightIndex?: number;
|
|
5712
|
+
/** 컬럼 클릭 이벤트 핸들러 */
|
|
5713
|
+
onColumnClick?: (item: StnComboChartItem, index: number) => void;
|
|
5714
|
+
/** 수치 표시 시 소수점 자릿수 (기본값: 정수면 0, 소수면 1) */
|
|
5715
|
+
decimals?: number;
|
|
5716
|
+
};
|
|
5717
|
+
/**
|
|
5718
|
+
* StnComboChart
|
|
5719
|
+
* STN 디자인 시스템 표준 복합 차트 (Bar + Line Combo Chart)
|
|
5720
|
+
* - 막대(Bar)와 선(Line) 및 영역(Area)을 단일 축 또는 듀얼 Y축으로 함께 표출
|
|
5721
|
+
* - X축 카테고리 컬럼 중심에 정밀 동기화된 SVG 오버레이
|
|
5722
|
+
* - 순수 CSS Flexbox + 인라인 SVG 기반으로 동작 (외부 종속성 없음)
|
|
5723
|
+
* - sm / md / lg 표준 크기 스케일 준수
|
|
5724
|
+
* - 일체형 인터랙티브 호버 가이드라인 및 통합 툴팁 지원
|
|
5725
|
+
*/
|
|
5726
|
+
declare function StnComboChart({ data, loading, emptyText, lines, size, showDots, showXAxis, showLeftYAxis, showRightYAxis: controlledShowRightYAxis, showTooltip, leftYAxis, rightYAxis, legend, height, barWidth: customBarWidth, highlightIndex: controlledHighlight, onColumnClick, decimals, className, style, ...rest }: StnComboChartProps): react_jsx_runtime.JSX.Element;
|
|
5727
|
+
|
|
5728
|
+
export { AlertCenterDashboard, type AlertCenterDashboardProps, AlertCenterPageScaffold, type AlertCenterPageScaffoldProps, DEFAULT_3D_GRAPH_LINKS, DEFAULT_3D_GRAPH_NODES, DEFAULT_BAR_COLORS, DEFAULT_CHART_COLORS, DEFAULT_LINE_COLORS, DEFAULT_PIE_COLORS, DashboardPageScaffold, type DashboardPageScaffoldProps, type DashboardType, Divider, LoginPageScaffold, type LoginPageScaffoldProps, PubChartSample, type PubDisabilityStatusItem, PubDisabilityStatusList, type PubTop5BarRow, PubTop5EquipmentBars, type PubTrafficTop5BarRow, PubTrafficTop5Bars, SEVERITY_COLOR_TOKENS, STATUS_COLOR_TOKENS, STN_CHART_COLORS, STN_CHART_STATUS_COLORS, STN_TABLE_FOOTER_MAX_ACTIONS, STN_TOPOLOGY_LINK_VARIANTS, STN_TOPOLOGY_NODE_ICONS, STN_TOPOLOGY_NODE_SHAPES, STN_TOPOLOGY_NODE_SIZE, STN_TOPOLOGY_NODE_SIZES, STN_TOPOLOGY_NODE_STATUSES, STN_TOPOLOGY_NODE_VARIANTS, STN_TOPOLOGY_STATUS_COLORS, SideNavContext, type SideNavContextValue, StnAlertCard, type StnAlertCardProps, StnAlertCenterDocPreview, type StnAlertCenterDocPreviewProps, StnAlertCenterPanel, type StnAlertCenterPanelProps, StnBadge, type StnBadgeAnchorOrigin, type StnBadgeColor, type StnBadgeProps, type StnBadgeVariant, StnBarChart, type StnBarChartDirection, type StnBarChartItem, type StnBarChartLegendItem, type StnBarChartProps, type StnBarChartSize, type StnBarChartValueItem, type StnBarChartYAxis, StnBreadcrumb, type StnBreadcrumbItem, type StnBreadcrumbMenuItem, type StnBreadcrumbProps, type StnBreadcrumbSize, type StnBreadcrumbVariant, StnButton, type StnButtonColor, type StnButtonIconPosition, type StnButtonProps, type StnButtonShape, type StnButtonSize, type StnButtonVariant, StnCard, StnCardBody, type StnCardBodyProps, StnCardFooter, type StnCardFooterProps, StnCardHeader, type StnCardHeaderProps, type StnCardProps, type StnChartSeverity, type StnChartStatus, StnCheckbox, type StnCheckboxColor, type StnCheckboxLabelPlacement, type StnCheckboxProps, type StnCheckboxSize, type StnCheckboxVariant, StnChip, type StnChipColor, type StnChipIconPosition, type StnChipLabelPosition, type StnChipProps, type StnChipShape, type StnChipSize, type StnChipVariant, StnCircularProgress, type StnCircularProgressGradient, type StnCircularProgressLabelPosition, type StnCircularProgressProps, type StnCircularProgressSize, type StnCircularProgressTone, type StnCircularProgressTrack, StnComboChart, type StnComboChartBarItem, type StnComboChartItem, type StnComboChartLegendItem, type StnComboChartLineSeries, type StnComboChartProps, type StnComboChartSize, type StnComboChartYAxis, StnContainer, type StnContainerMaxWidth, type StnContainerProps, StnContext, type StnContextValue, StnDashboard, type StnDashboardProps, type StnDashboardRegionProps, type StnDashboardWidgetPosition, type StnDatePickerSize, StnDateRangeField, type StnDateRangeFieldProps, type StnDateRangeFieldVariant, StnDateRangePicker, StnDateRangePickerField, type StnDateRangePickerFieldProps, type StnDateRangePickerProps, StnDivider, type StnDividerProps, StnDrawer, StnDrawerBody, type StnDrawerBodyGap, type StnDrawerBodyPadding, type StnDrawerBodyProps, StnDrawerFooter, type StnDrawerFooterProps, type StnDrawerGap, StnDrawerHeader, type StnDrawerHeaderProps, type StnDrawerPadding, type StnDrawerPlacement, type StnDrawerProps, type StnDrawerSize, StnDropdown, StnDropdownMenu, type StnDropdownMenuProps, type StnDropdownProps, StnEmptyState, type StnEmptyStateAction, type StnEmptyStateProps, StnEventBanner, type StnEventBannerGap, type StnEventBannerPlacement, type StnEventBannerProps, type StnEventBannerSeverity, StnFloatingToolbar, type StnFloatingToolbarPlacement, type StnFloatingToolbarProps, StnGaugeChart, StnGradeRow, type StnGradeRowGrade, StnGradeRowList, type StnGradeRowProps, StnGrid, type StnGridBreakpoint, type StnGridDirection, type StnGridProps, type StnGridResponsive, type StnGridSize, type StnGridSpacing, StnHeader, StnHeaderContextTitle, StnHeaderPageTitle, type StnHeaderPageTitleProps, type StnHeaderProps, type StnHeaderRegionProps, StnHeaderSubTitle, StnHeaderTitle, type StnHeaderTitleClockProps, StnHeaderTitleDate, type StnHeaderTitleDateOptions, type StnHeaderTitleDualProps, StnHeaderTitleFramePreview, StnHeaderTitleMainText, type StnHeaderTitleProps, type StnHeaderTitleSize, StnHeaderTitleSubText, StnHeaderTitleTime, type StnHeaderTitleTimeOptions, type StnHeaderTitleTitleProps, type StnHeaderTitleVariant, StnHeaderTitleWeekday, StnHeaderToolbar, type StnHeaderToolbarProps, StnIcon, StnIconBox, type StnIconBoxColor, type StnIconBoxProps, type StnIconBoxSize, type StnIconProps, StnLabelPrefix, type StnLabelPrefixPosition, type StnLabelPrefixProps, type StnLabelPrefixRadius, type StnLabelPrefixSize, type StnLabelPrefixVariant, StnLayer, StnLayer0Background, type StnLayer0BackgroundColor, type StnLayer0BackgroundProps, StnLayerBackground, StnLayerContent, StnLayerDim, StnLayerModal, type StnLayerProps, type StnLayerRoleProps, StnLayerShell, type StnLayerShellProps, StnLineChart, type StnLineChartProps, type StnLineChartSeries, type StnLineChartSize, type StnLineChartVariant, type StnLineChartYAxis, StnListViewLayout, StnListViewLayoutBody, type StnListViewLayoutBodyProps, StnListViewLayoutContent, StnListViewLayoutHeader, StnListViewLayoutPagination, type StnListViewLayoutProps, StnListViewLayoutSearch, StnListViewLayoutSidebar, StnListViewLayoutTable, StnLoadingSkeleton, StnLoadingSkeletonBlock, type StnLoadingSkeletonBlockProps, StnLoadingSkeletonCircle, type StnLoadingSkeletonCircleProps, StnLoadingSkeletonLine, type StnLoadingSkeletonLineProps, StnLoadingSkeletonProfile, type StnLoadingSkeletonProfileProps, type StnLoadingSkeletonProps, type StnLoadingSkeletonRootProps, StnLoadingSkeletonTable, type StnLoadingSkeletonTableProps, type StnLoadingSkeletonVariant, StnLoadingSkeletonWidget, type StnLoadingSkeletonWidgetProps, StnLoginBrandStack, type StnLoginBrandStackProps, StnLoginCard, type StnLoginCardBrandPosition, StnLoginCardGlowWrapper, type StnLoginCardGlowWrapperProps, type StnLoginCardProps, type StnLoginCardVariant, StnLoginFormFields, type StnLoginFormFieldsProps, StnLoginFormLinks, type StnLoginFormLinksProps, StnLoginFormStack, type StnLoginFormStackProps, StnLoginPlaceholder, type StnLoginPlaceholderProps, StnLoginTextField, type StnLoginTextFieldProps, StnLogo, type StnLogoProps, type StnLogoSize, type StnLogoTheme, type StnLogoVariant, StnMapCanvas, type StnMapCanvasProps, StnModal, type StnModalProps, type StnModalSize, type StnMode, StnPageScaffold, StnPageScaffoldLayer, type StnPageScaffoldLayerProps, StnPageScaffoldMapCanvas, type StnPageScaffoldMapCanvasProps, StnPageScaffoldMapPlaceholder, type StnPageScaffoldMapPlaceholderProps, StnPageScaffoldRegion, type StnPageScaffoldRegionProps, StnPageScaffoldRoot, type StnPageScaffoldRootProps, StnPagination, type StnPaginationColor, type StnPaginationItem, type StnPaginationProps, type StnPaginationSize, type StnPaginationVariant, StnPieChart, type StnPieChartItem, type StnPieChartProps, type StnPieChartStrokeSize, type StnPieChartStrokeWidth, type StnPieChartVariant, StnPopover, type StnPopoverProps, StnPopup, type StnPopupProps, type StnPopupSize, StnProgressBar, type StnProgressBarGradient, type StnProgressBarLabelAlign, type StnProgressBarLabelPosition, type StnProgressBarProps, type StnProgressBarSize, type StnProgressBarTone, type StnProgressBarTrack, StnProvider, type StnProviderProps, StnRadio, type StnRadioColor, StnRadioGroup, type StnRadioGroupLayout, type StnRadioGroupOption, type StnRadioGroupOrientation, type StnRadioGroupProps, type StnRadioLabelPlacement, type StnRadioProps, type StnRadioSize, StnScroll, type StnScrollColor, type StnScrollOrientation, type StnScrollProps, type StnScrollSize, type StnScrollVariant, StnSearchRequirementBar, StnSearchRequirementBarDemo, type StnSearchRequirementBarDemoProps, type StnSearchRequirementBarDividerProps, type StnSearchRequirementBarExportProps, type StnSearchRequirementBarFieldProps, type StnSearchRequirementBarFieldsProps, type StnSearchRequirementBarProps, type StnSearchRequirementBarSearchButtonProps, StnSectionSide, StnSectionSidePreset, type StnSectionSidePresetProps, type StnSectionSideProps, StnSegmented, type StnSegmentedMultipleProps, type StnSegmentedOption, type StnSegmentedProps, type StnSegmentedSingleProps, StnSeverityBadge, type StnSeverityBadgeProps, type StnSeverityLevel, type StnSeveritySize, type StnSeverityVariant, type StnSideNavDropdownVariant, StnSideNavFooter, type StnSideNavFooterProps, StnSideNavGroup, type StnSideNavGroupProps, StnSideNavHeader, type StnSideNavHeaderProps, StnSideNavItem, type StnSideNavItemProps, type StnSideNavItemVariant, StnSideNavLogo, type StnSideNavLogoProps, StnSideNavMenu, type StnSideNavMenuProps, StnSideNavMobileTrigger, type StnSideNavMobileTriggerProps, StnSideNavSpacer, type StnSideNavSpacerProps, StnSideNavSub, StnSideNavSubItem, type StnSideNavSubItemProps, StnSideNavSubNav, type StnSideNavSubNavProps, type StnSideNavSubNavVariant, type StnSideNavSubProps, StnSideNavToggle, type StnSideNavToggleProps, StnSideNavWatermark, type StnSideNavWatermarkProps, StnSideNavigation, type StnSideNavigationProps, type StnSideNavigationVariant, StnSlider, type StnSliderColor, type StnSliderGradient, type StnSliderLabelAlign, type StnSliderLabelPosition, type StnSliderProps, type StnSliderSize, StnSplitView, StnSplitViewOverlay, type StnSplitViewOverlayProps, type StnSplitViewProps, StnSplitViewSide, type StnSplitViewSideProps, StnSplitViewStage, type StnSplitViewStageProps, StnStack, type StnStackBreakpoint, type StnStackDirection, type StnStackProps, type StnStackResponsive, type StnStackScrollable, type StnStackWrap, StnStatCard, type StnStatCardProps, StnStatGroup, StnStatus, StnStatusDot, type StnStatusDotGap, StnStatusDotGroup, type StnStatusDotGroupItem, type StnStatusDotGroupProps, type StnStatusDotPosition, type StnStatusDotProps, type StnStatusDotSize, StnStatusFlow, type StnStatusFlowProps, type StnStatusFlowSize, type StnStatusGrade, StnStatusItem, type StnStatusItemProps, StnStatusList, type StnStatusProps, StnStatusSeverity, type StnStatusSeverityProps, StnStatusSwitch, type StnStatusSwitchProps, StnStep, type StnStepCardItem, StnStepCards, type StnStepCardsProps, type StnStepProps, StnStepper, type StnStepperProps, StnSwitch, type StnSwitchColor, type StnSwitchGradient, type StnSwitchLabelPosition, type StnSwitchProps, type StnSwitchSize, StnTab, StnTabContextProvider, type StnTabContextProviderProps, type StnTabContextValue, StnTabPanel, type StnTabPanelProps, type StnTabProps, StnTable, type StnTableAlign, StnTableBody, type StnTableBodyProps, StnTableGrid, type StnTableGridProps, StnTableHead, type StnTableHeadProps, type StnTableProps, StnTableRow, type StnTableRowProps, StnTableSort, type StnTableSortProps, StnTableTd, StnTableTdCheck, type StnTableTdCheckProps, type StnTableTdProps, StnTableTh, StnTableThCheck, type StnTableThCheckProps, type StnTableThProps, StnTabs, type StnTabsProps, StnTabsRoot, StnText, StnTextArea, type StnTextAreaColor, type StnTextAreaLabelPosition, type StnTextAreaProps, type StnTextAreaResize, type StnTextAreaSizeProp, type StnTextAreaVariant, type StnTextColor, StnTextField, type StnTextFieldColor, type StnTextFieldIconPosition, type StnTextFieldLabelPosition, type StnTextFieldProps, type StnTextFieldVariant, type StnTextProps, type StnTextVariant, type StnTextWeight, type StnTheme, StnToastCloseButton, StnToastIcon, type StnToastIconProps, StnToggleButton, type StnToggleButtonColor, type StnToggleButtonIconPosition, type StnToggleButtonProps, type StnToggleButtonSize, type StnToolbarOrientation, StnTooltip, type StnTooltipPlacement, type StnTooltipProps, type StnTooltipSize, type StnTooltipTone, type StnTooltipVariant, type StnTopologyCore, StnTopologyGraph, type StnTopologyGraphContextValue, type StnTopologyGraphLink, StnTopologyGraphLinkComponent, type StnTopologyGraphLinkComponentProps, StnTopologyGraphMinimap, type StnTopologyGraphMinimapProps, StnTopologyGraphModeToggle, type StnTopologyGraphModeToggleProps, type StnTopologyGraphNode, StnTopologyGraphNodeComponent, type StnTopologyGraphNodeComponentProps, type StnTopologyGraphProps, StnTopologyGraphToolbar, type StnTopologyGraphToolbarProps, StnTopologyGraphViewport, type StnTopologyGraphViewportProps, type StnTopologyLinkVariant, type StnTopologyNode, StnTopologyNodeCard, type StnTopologyNodeCardProps, type StnTopologyNodeContent, type StnTopologyNodeIcon, StnTopologyNodeItem, type StnTopologyNodeItemProps, StnTopologyNodeMark, type StnTopologyNodeMarkProps, StnTopologyNodePreview, type StnTopologyNodePreviewProps, type StnTopologyNodeShape, type StnTopologyNodeSize, type StnTopologyNodeStatus, type StnTopologyNodeVariant, type StnTopologyProjectedNode, StnTopologyRing, StnTopologyRingCore, type StnTopologyRingCoreProps, StnTopologyRingNode, type StnTopologyRingNodeProps, type StnTopologyRingProps, StnTree, type StnTreeDocRowState, StnTreeItem, type StnTreeItemData, type StnTreeItemDocState, type StnTreeItemProps, StnTreeNode, type StnTreeNodeDocState, type StnTreeNodeKind, type StnTreeNodeProps, type StnTreeProps, type StnTreeRadius, type StnTreeSize, type StnTreeWidth, StnWidget, StnWidgetActions, type StnWidgetBackground, StnWidgetBody, StnWidgetChartSlot, type StnWidgetChartSlotProps, StnWidgetEmpty, StnWidgetFooter, StnWidgetGradeRow, StnWidgetGradeRowList, type StnWidgetGradeRowProps, StnWidgetHeader, StnWidgetInsetIcon, type StnWidgetInsetIconProps, StnWidgetLoading, type StnWidgetPadding, StnWidgetPlaceholder, type StnWidgetProps, StnWidgetStatCard, type StnWidgetStatCardProps, StnWidgetStatGroup, type StnWidgetStatus, type StnWidgetStatusGrade, StnWidgetStatusItem, type StnWidgetStatusItemProps, StnWidgetStatusList, StnWidgetTitle, type TreeIdMaps, buildPaginationItems, buildStnTreeNodeCells, cn, collectExpandableIds, computeCascadeCheck, computeInitialCascade, diamondPoints, findNodeById, flattenStnTree, formatChartValue, formatStnHeaderTitleDate, formatStnHeaderTitleTime, formatStnHeaderTitleWeekday, formatTopologyCount, renderChartState, resolveChartColor, starPoints, topologyShapePoints, trianglePoints, useSideNav, useStn, useStnOptional, useStnTabsContext, useStnTopologyGraph };
|