@wipco/sdui 0.7.0 → 0.8.0
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/DatePicker-BndreCPl.d.ts +35 -0
- package/dist/{chunk-KAXPN6KT.js → chunk-27APKNEI.js} +8 -5
- package/dist/{chunk-Y3HYEWSY.js → chunk-5RWAK5QO.js} +4 -2
- package/dist/{chunk-GWVK3BHB.js → chunk-6ALDY64N.js} +5 -3
- package/dist/{chunk-CRSY67TZ.js → chunk-6FADQ2SU.js} +18 -19
- package/dist/{chunk-5O6PFLFJ.js → chunk-6ZUWN2QX.js} +4 -2
- package/dist/{chunk-XY2JKFAV.js → chunk-7MRAY6UD.js} +4 -2
- package/dist/{chunk-J2DSDERS.js → chunk-7Y6UFAYZ.js} +4 -2
- package/dist/{chunk-7Y4J7EOK.js → chunk-BMZKZGJF.js} +3 -2
- package/dist/{chunk-TAFUDHIX.js → chunk-CEFOZOOM.js} +4 -2
- package/dist/{chunk-H32WQHB7.js → chunk-H7V35NC2.js} +5 -3
- package/dist/{chunk-DN5YNPJS.js → chunk-I5GNJDHQ.js} +5 -3
- package/dist/{chunk-63U54JAG.js → chunk-IKLBICOJ.js} +4 -2
- package/dist/{chunk-XMMYJSRV.js → chunk-KL554MEM.js} +4 -2
- package/dist/{chunk-2ARNY7WZ.js → chunk-KPDUJFVD.js} +4 -2
- package/dist/{chunk-USKRM22W.js → chunk-O4U7Y3XL.js} +3 -2
- package/dist/{chunk-57LLG32F.js → chunk-OM63D4UH.js} +5 -3
- package/dist/{chunk-HGFYXY7F.js → chunk-QTNIUMSM.js} +4 -2
- package/dist/{chunk-73ZMMJRX.js → chunk-RQ2FWV24.js} +4 -2
- package/dist/{chunk-QBIVW7E6.js → chunk-SAN4IX6N.js} +77 -2
- package/dist/{chunk-L4ORCIVN.js → chunk-VCX2XEF6.js} +4 -2
- package/dist/{chunk-B4A4KY4K.js → chunk-VPVCVSFH.js} +4 -2
- package/dist/{chunk-TKB7H5DB.js → chunk-WUTCZCQH.js} +1 -1
- package/dist/{chunk-562QK2G3.js → chunk-YMWU4F7E.js} +4 -2
- package/dist/{chunk-QZQDHSMD.js → chunk-Z3WGIFJP.js} +3 -2
- package/dist/{chunk-PJRXPMI3.js → chunk-ZH5MLOZS.js} +3 -2
- package/dist/index.d.ts +1044 -980
- package/dist/index.js +79 -36
- package/dist/{layout-BnYUuWC2.d.ts → layout-B1QrIBm6.d.ts} +59 -1
- package/dist/meta.d.ts +42 -1
- package/dist/meta.js +198 -57
- package/dist/rich.d.ts +2 -1
- package/dist/rich.js +4 -3
- package/dist/widgets/AutocompleteField.d.ts +6 -40
- package/dist/widgets/AutocompleteField.js +4 -3
- package/dist/widgets/ColumnBoard.d.ts +6 -14
- package/dist/widgets/ColumnBoard.js +3 -2
- package/dist/widgets/DiffView.d.ts +6 -11
- package/dist/widgets/DiffView.js +3 -2
- package/dist/widgets/Disclosure.d.ts +6 -9
- package/dist/widgets/Disclosure.js +3 -2
- package/dist/widgets/EventCalendar.d.ts +6 -1
- package/dist/widgets/EventCalendar.js +3 -2
- package/dist/widgets/ImageLightbox.d.ts +6 -10
- package/dist/widgets/ImageLightbox.js +3 -2
- package/dist/widgets/InlineEdit.d.ts +6 -10
- package/dist/widgets/InlineEdit.js +3 -2
- package/dist/widgets/JsonField.d.ts +6 -1
- package/dist/widgets/JsonField.js +3 -2
- package/dist/widgets/LiveClock.d.ts +6 -1
- package/dist/widgets/LiveClock.js +2 -1
- package/dist/widgets/OrgChart.d.ts +7 -3
- package/dist/widgets/OrgChart.js +3 -2
- package/dist/widgets/PeriodFilter.d.ts +6 -1
- package/dist/widgets/PeriodFilter.js +3 -2
- package/dist/widgets/PrintSheet.d.ts +6 -12
- package/dist/widgets/PrintSheet.js +3 -2
- package/dist/widgets/SearchableMultiPicker.d.ts +6 -11
- package/dist/widgets/SearchableMultiPicker.js +4 -3
- package/dist/widgets/SecureScreen.d.ts +6 -14
- package/dist/widgets/SecureScreen.js +3 -2
- package/dist/widgets/StackedMeter.d.ts +7 -3
- package/dist/widgets/StackedMeter.js +2 -1
- package/dist/widgets/Strip.d.ts +6 -10
- package/dist/widgets/Strip.js +2 -2
- package/dist/widgets/SummaryTable.d.ts +6 -9
- package/dist/widgets/SummaryTable.js +2 -1
- package/dist/widgets/TagMultiSelect.d.ts +6 -1
- package/dist/widgets/TagMultiSelect.js +3 -2
- package/dist/widgets/Timeline.d.ts +6 -10
- package/dist/widgets/Timeline.js +4 -3
- package/dist/widgets/TreePicker.d.ts +6 -1
- package/dist/widgets/TreePicker.js +4 -3
- package/dist/widgets/TreeView.d.ts +6 -1
- package/dist/widgets/TreeView.js +3 -2
- package/dist/widgets/index.d.ts +61 -61
- package/dist/widgets/index.js +44 -44
- package/package.json +1 -1
- package/dist/DatePicker-CTDcFR7V.d.ts +0 -48
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* OrgChart — 줌/팬 가능한 조직도 캔버스.
|
|
@@ -10,7 +11,6 @@ import { ReactNode } from 'react';
|
|
|
10
11
|
* 상호작용: 휠 줌(커서 기준 0.35~1.8x), 포인터 드래그 패닝,
|
|
11
12
|
* 확대/축소/초기화 버튼 + 배율 표시, 전체화면 토글, 노드 클릭 선택.
|
|
12
13
|
*/
|
|
13
|
-
|
|
14
14
|
interface OrgNode {
|
|
15
15
|
id: string;
|
|
16
16
|
label: string;
|
|
@@ -27,6 +27,10 @@ interface OrgChartProps {
|
|
|
27
27
|
/** 캔버스 높이(px). 기본 520. */
|
|
28
28
|
height?: number;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
32
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
33
|
+
*/
|
|
34
|
+
declare const OrgChart: React.FC<OrgChartProps & SduiBoxProps>;
|
|
31
35
|
|
|
32
36
|
export { OrgChart, type OrgChartProps, type OrgNode };
|
package/dist/widgets/OrgChart.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { OrgChart } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { OrgChart } from '../chunk-IKLBICOJ.js';
|
|
2
|
+
import '../chunk-6FADQ2SU.js';
|
|
3
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* PeriodFilter — 복합 기간 선택기.
|
|
@@ -43,6 +44,10 @@ interface PeriodFilterProps {
|
|
|
43
44
|
*/
|
|
44
45
|
modes?: Array<PeriodModeItem | PeriodMode>;
|
|
45
46
|
}
|
|
46
|
-
|
|
47
|
+
/**
|
|
48
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
49
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
50
|
+
*/
|
|
51
|
+
declare const PeriodFilter: React.FC<PeriodFilterProps & SduiBoxProps>;
|
|
47
52
|
|
|
48
53
|
export { type Period, PeriodFilter, type PeriodFilterProps, type PeriodMode, type PeriodModeItem };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { PeriodFilter } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PeriodFilter } from '../chunk-7Y6UFAYZ.js';
|
|
2
|
+
import '../chunk-6FADQ2SU.js';
|
|
3
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
/**
|
|
4
|
-
* PrintSheet — 인쇄 레이아웃 래퍼.
|
|
5
|
-
*
|
|
6
|
-
* - 화면에서는 A4 폭(210mm)의 흰 종이 카드 + 상단 툴바(인쇄하기/닫기)를 보여주고,
|
|
7
|
-
* 인쇄 시에는 @page A4·1cm 여백, 12pt 기준 서체로 종이에 맞게 펼친다.
|
|
8
|
-
* - 표 테두리는 화면에서 var(--wp-border-default), 인쇄에서는 토큰을 검정 계열로
|
|
9
|
-
* 재정의해 흐린 회색 선이 프린터에서 사라지지 않게 한다.
|
|
10
|
-
* - .erp-print-hidden 은 @media print 에서 숨겨진다(툴바 등 화면 전용 요소).
|
|
11
|
-
* - autoPrint: 새 창(window.opener 존재)으로 열린 경우에만 마운트 500ms 후 자동 인쇄.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
4
|
interface PrintSheetProps {
|
|
15
5
|
/** 시트 상단 제목(예: 거래명세서) */
|
|
16
6
|
title?: string;
|
|
@@ -18,6 +8,10 @@ interface PrintSheetProps {
|
|
|
18
8
|
/** window.opener 감지 시(새 창으로 열림) 500ms 후 자동으로 window.print() 호출 */
|
|
19
9
|
autoPrint?: boolean;
|
|
20
10
|
}
|
|
21
|
-
|
|
11
|
+
/**
|
|
12
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
13
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
14
|
+
*/
|
|
15
|
+
declare const PrintSheet: React__default.FC<PrintSheetProps & SduiBoxProps>;
|
|
22
16
|
|
|
23
17
|
export { PrintSheet, type PrintSheetProps };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { PrintSheet } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PrintSheet } from '../chunk-6ZUWN2QX.js';
|
|
2
|
+
import '../chunk-6FADQ2SU.js';
|
|
3
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
/**
|
|
4
|
-
* SearchableMultiPicker — 모달(다이얼로그) 다중 선택기.
|
|
5
|
-
*
|
|
6
|
-
* - 트리거 버튼 → DS Dialog. SduiDialog와 같은 방식으로 뷰포트 고정 래퍼를 두어
|
|
7
|
-
* 스크림이 사이드바·탑바까지 전체 화면을 덮는다(배경 클릭·Escape로 닫힘 = 취소).
|
|
8
|
-
* - 검색 Input(느슨한 포함 검색) + 선택된 항목이 먼저 오는 Checkbox 목록(스크롤)
|
|
9
|
-
* + 선택 개수/칩 행 + 하단 [전체 해제 / 완료].
|
|
10
|
-
* - 다이얼로그 안에서는 초안(draft)만 바뀌고, '완료'를 눌러야 onChange로 확정된다.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
4
|
interface MultiPickerOption {
|
|
14
5
|
value: string;
|
|
15
6
|
label: string;
|
|
@@ -24,6 +15,10 @@ interface SearchableMultiPickerProps {
|
|
|
24
15
|
trigger?: React__default.ReactNode;
|
|
25
16
|
disabled?: boolean;
|
|
26
17
|
}
|
|
27
|
-
|
|
18
|
+
/**
|
|
19
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
20
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
21
|
+
*/
|
|
22
|
+
declare const SearchableMultiPicker: React__default.FC<SearchableMultiPickerProps & SduiBoxProps>;
|
|
28
23
|
|
|
29
24
|
export { type MultiPickerOption, SearchableMultiPicker, type SearchableMultiPickerProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { SearchableMultiPicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { SearchableMultiPicker } from '../chunk-H7V35NC2.js';
|
|
2
|
+
import '../chunk-WUTCZCQH.js';
|
|
3
|
+
import '../chunk-6FADQ2SU.js';
|
|
4
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
/**
|
|
4
|
-
* SecureScreen — 개인정보 보호 래퍼.
|
|
5
|
-
*
|
|
6
|
-
* enabled(기본 true)일 때:
|
|
7
|
-
* - 래퍼 내부의 contextmenu / copy / cut / dragstart / selectstart 차단 + user-select:none
|
|
8
|
-
* - document keydown에서 Ctrl/Cmd+(A|C|P|S|U|X) 차단, PrintScreen 감지 시
|
|
9
|
-
* 클립보드를 경고 문구로 덮어쓴다(캡처 이미지 대신 경고가 붙게).
|
|
10
|
-
* - 탭 전환(visibilitychange)·창 blur 시 전체 가림막(스크림 + 블러) 표시, 재포커스까지 유지
|
|
11
|
-
* - beforeprint 시 인쇄 경고 오버레이 표시(@media print에서는 콘텐츠 자체를 숨기고
|
|
12
|
-
* 경고만 인쇄되게 한다), afterprint에 해제
|
|
13
|
-
* - 모든 리스너는 언마운트/비활성화 시 정리된다.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
4
|
interface SecureScreenProps {
|
|
17
5
|
/** 보호 동작 활성화 여부. 기본 true. */
|
|
18
6
|
enabled?: boolean;
|
|
@@ -20,6 +8,10 @@ interface SecureScreenProps {
|
|
|
20
8
|
notice?: string;
|
|
21
9
|
children: React__default.ReactNode;
|
|
22
10
|
}
|
|
23
|
-
|
|
11
|
+
/**
|
|
12
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
13
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
14
|
+
*/
|
|
15
|
+
declare const SecureScreen: React__default.FC<SecureScreenProps & SduiBoxProps>;
|
|
24
16
|
|
|
25
17
|
export { SecureScreen, type SecureScreenProps };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { SecureScreen } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { SecureScreen } from '../chunk-YMWU4F7E.js';
|
|
2
|
+
import '../chunk-6FADQ2SU.js';
|
|
3
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* StackedMeter — CSS로 그리는 누적 비율 막대.
|
|
@@ -7,7 +8,6 @@ import { ReactNode } from 'react';
|
|
|
7
8
|
* var(--wp-surface-sunken), 세그먼트는 --wp-series 토큰을 고정
|
|
8
9
|
* 순서로 순환하며, 범례 행에 색 점 + 라벨 + 값 + 백분율을 함께 적는다.
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
11
|
interface StackedMeterSegment {
|
|
12
12
|
label: string;
|
|
13
13
|
value: number;
|
|
@@ -21,6 +21,10 @@ interface StackedMeterProps {
|
|
|
21
21
|
/** 트랙 높이(px). 기본 10. */
|
|
22
22
|
height?: number;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
/**
|
|
25
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
26
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
27
|
+
*/
|
|
28
|
+
declare const StackedMeter: React.FC<StackedMeterProps & SduiBoxProps>;
|
|
25
29
|
|
|
26
30
|
export { StackedMeter, type StackedMeterProps, type StackedMeterSegment };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { StackedMeter } from '../chunk-
|
|
1
|
+
export { StackedMeter } from '../chunk-BMZKZGJF.js';
|
|
2
|
+
import '../chunk-SAN4IX6N.js';
|
package/dist/widgets/Strip.d.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
+
import { c as SduiGapScale, S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
|
-
import { f as SduiGapScale } from '../layout-BnYUuWC2.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Strip — 가로 스크롤 스트립.
|
|
6
|
-
*
|
|
7
|
-
* - 자식들을 flex-shrink:0 래퍼로 감싸 한 줄로 늘어놓고 overflow-x로 스크롤한다.
|
|
8
|
-
* - 스크롤바는 얇게(scrollbar-width:thin + webkit 폴백).
|
|
9
|
-
* - snap이면 scroll-snap-type:x mandatory, 각 항목 scroll-snap-align:start.
|
|
10
|
-
*/
|
|
11
3
|
|
|
12
4
|
interface StripProps {
|
|
13
5
|
children: React__default.ReactNode;
|
|
@@ -22,6 +14,10 @@ interface StripProps {
|
|
|
22
14
|
/** 항목 시작점에 스크롤 스냅 */
|
|
23
15
|
snap?: boolean;
|
|
24
16
|
}
|
|
25
|
-
|
|
17
|
+
/**
|
|
18
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
19
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
20
|
+
*/
|
|
21
|
+
declare const Strip: React__default.FC<StripProps & SduiBoxProps>;
|
|
26
22
|
|
|
27
23
|
export { Strip, type StripProps };
|
package/dist/widgets/Strip.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Strip } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Strip } from '../chunk-ZH5MLOZS.js';
|
|
2
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
/**
|
|
4
|
-
* SummaryTable — 합계 푸터 행이 있는 테이블.
|
|
5
|
-
*
|
|
6
|
-
* DS Table은 tfoot을 지원하지 않아, 컬럼 정렬이 어긋나지 않도록
|
|
7
|
-
* .wp-table 구조(src/styles/css/data.css)를 그대로 미러링한 단일
|
|
8
|
-
* <table>로 직접 렌더링한다. 푸터 행: var(--wp-surface-sunken) 배경 + strong 텍스트.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
4
|
interface SummaryTableColumn {
|
|
12
5
|
key: string;
|
|
13
6
|
header: React__default.ReactNode;
|
|
@@ -26,6 +19,10 @@ interface SummaryTableProps {
|
|
|
26
19
|
/** 32px 행(.wp-table--dense) */
|
|
27
20
|
dense?: boolean;
|
|
28
21
|
}
|
|
29
|
-
|
|
22
|
+
/**
|
|
23
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
24
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
25
|
+
*/
|
|
26
|
+
declare const SummaryTable: React__default.FC<SummaryTableProps & SduiBoxProps>;
|
|
30
27
|
|
|
31
28
|
export { SummaryTable, type SummaryTableColumn, type SummaryTableProps };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { SummaryTable } from '../chunk-
|
|
1
|
+
export { SummaryTable } from '../chunk-O4U7Y3XL.js';
|
|
2
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* TagMultiSelect — 인라인 토글 배지 다중 선택.
|
|
@@ -20,6 +21,10 @@ interface TagMultiSelectProps {
|
|
|
20
21
|
/** 옵션이 하나도 없을 때 보여줄 안내 문구. */
|
|
21
22
|
emptyText?: string;
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
+
/**
|
|
25
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
26
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
27
|
+
*/
|
|
28
|
+
declare const TagMultiSelect: React.FC<TagMultiSelectProps & SduiBoxProps>;
|
|
24
29
|
|
|
25
30
|
export { TagMultiSelect, type TagMultiSelectOption, type TagMultiSelectProps };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { TagMultiSelect } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { TagMultiSelect } from '../chunk-KPDUJFVD.js';
|
|
2
|
+
import '../chunk-6FADQ2SU.js';
|
|
3
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
/**
|
|
4
|
-
* Timeline — 변경 이력/활동 피드.
|
|
5
|
-
*
|
|
6
|
-
* - 좌측 아이콘 컬럼: 유형별 틴트 원(생성=success/plus, 수정=info/pencil,
|
|
7
|
-
* 삭제=danger/trash-2, 정보=neutral/info) + 항목 사이 연결선(var(--wp-border-subtle)).
|
|
8
|
-
* - payload가 있으면 Disclosure 접기 버튼 아래 wp-mono-xs <pre> JSON 블록으로 보여준다.
|
|
9
|
-
* - actions는 본문 하단 우측 정렬.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
4
|
interface TimelineItem {
|
|
13
5
|
id: string;
|
|
14
6
|
/** create=success · update=info · delete=danger · info(기본)=neutral */
|
|
@@ -25,6 +17,10 @@ interface TimelineProps {
|
|
|
25
17
|
/** 지정 시 이 높이를 넘으면 세로 스크롤 */
|
|
26
18
|
maxHeight?: string;
|
|
27
19
|
}
|
|
28
|
-
|
|
20
|
+
/**
|
|
21
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
22
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
23
|
+
*/
|
|
24
|
+
declare const Timeline: React__default.FC<TimelineProps & SduiBoxProps>;
|
|
29
25
|
|
|
30
26
|
export { Timeline, type TimelineItem, type TimelineProps };
|
package/dist/widgets/Timeline.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { Timeline } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { Timeline } from '../chunk-I5GNJDHQ.js';
|
|
2
|
+
import '../chunk-CEFOZOOM.js';
|
|
3
|
+
import '../chunk-6FADQ2SU.js';
|
|
4
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
2
3
|
import { TreeNode } from './TreeView.js';
|
|
3
4
|
|
|
4
5
|
interface TreePickerProps {
|
|
@@ -16,6 +17,10 @@ interface TreePickerProps {
|
|
|
16
17
|
allowEmpty?: boolean;
|
|
17
18
|
disabled?: boolean;
|
|
18
19
|
}
|
|
19
|
-
|
|
20
|
+
/**
|
|
21
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
22
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
23
|
+
*/
|
|
24
|
+
declare const TreePicker: React.FC<TreePickerProps & SduiBoxProps>;
|
|
20
25
|
|
|
21
26
|
export { TreePicker, type TreePickerProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { TreePicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { TreePicker } from '../chunk-6ALDY64N.js';
|
|
2
|
+
import '../chunk-5RWAK5QO.js';
|
|
3
|
+
import '../chunk-6FADQ2SU.js';
|
|
4
|
+
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
|
|
3
4
|
/** 트리 노드. children이 있으면 폴더, 없으면 리프로 그린다. */
|
|
@@ -21,6 +22,10 @@ interface TreeViewProps {
|
|
|
21
22
|
/** 스크롤 컨테이너 최대 높이 (예: "320px"). */
|
|
22
23
|
maxHeight?: string;
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
+
/**
|
|
26
|
+
* 바깥에서 온 `style`·`className`을 뿌리에 얹어 내보낸다 — 자식 축(`grow`·`width` …)이
|
|
27
|
+
* 이 컴포넌트에서도 동작하게 하는 유일한 통로다. 까닭은 {@link ../boxed.tsx}에 있다.
|
|
28
|
+
*/
|
|
29
|
+
declare const TreeView: React__default.FC<TreeViewProps & SduiBoxProps>;
|
|
25
30
|
|
|
26
31
|
export { type TreeNode, TreeView, type TreeViewProps };
|
package/dist/widgets/TreeView.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { TreeView } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { TreeView } from '../chunk-5RWAK5QO.js';
|
|
2
|
+
import '../chunk-6FADQ2SU.js';
|
|
3
|
+
import '../chunk-SAN4IX6N.js';
|
package/dist/widgets/index.d.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { TreeViewProps } from './TreeView.js';
|
|
2
|
+
export { TreeNode, TreeView } from './TreeView.js';
|
|
3
|
+
import { TreePickerProps } from './TreePicker.js';
|
|
4
|
+
export { TreePicker } from './TreePicker.js';
|
|
5
|
+
import { TimelineProps } from './Timeline.js';
|
|
6
|
+
export { Timeline, TimelineItem } from './Timeline.js';
|
|
7
|
+
import { TagMultiSelectProps } from './TagMultiSelect.js';
|
|
8
|
+
export { TagMultiSelect, TagMultiSelectOption } from './TagMultiSelect.js';
|
|
9
|
+
import { SummaryTableProps } from './SummaryTable.js';
|
|
10
|
+
export { SummaryTable, SummaryTableColumn } from './SummaryTable.js';
|
|
11
|
+
import { StripProps } from './Strip.js';
|
|
12
|
+
export { Strip } from './Strip.js';
|
|
13
|
+
import { StackedMeterProps } from './StackedMeter.js';
|
|
14
|
+
export { StackedMeter, StackedMeterSegment } from './StackedMeter.js';
|
|
15
|
+
import { SecureScreenProps } from './SecureScreen.js';
|
|
16
|
+
export { SecureScreen } from './SecureScreen.js';
|
|
17
|
+
import { SearchableMultiPickerProps } from './SearchableMultiPicker.js';
|
|
18
|
+
export { MultiPickerOption, SearchableMultiPicker } from './SearchableMultiPicker.js';
|
|
19
|
+
import { PrintSheetProps } from './PrintSheet.js';
|
|
20
|
+
export { PrintSheet } from './PrintSheet.js';
|
|
21
|
+
import { PeriodFilterProps } from './PeriodFilter.js';
|
|
22
|
+
export { Period, PeriodFilter, PeriodMode, PeriodModeItem } from './PeriodFilter.js';
|
|
23
|
+
import { OrgChartProps } from './OrgChart.js';
|
|
24
|
+
export { OrgChart, OrgNode } from './OrgChart.js';
|
|
25
|
+
import { LiveClockProps } from './LiveClock.js';
|
|
26
|
+
export { LiveClock } from './LiveClock.js';
|
|
27
|
+
import { JsonFieldProps } from './JsonField.js';
|
|
28
|
+
export { JsonField } from './JsonField.js';
|
|
29
|
+
import { InlineEditProps } from './InlineEdit.js';
|
|
30
|
+
export { InlineEdit } from './InlineEdit.js';
|
|
31
|
+
import { ImageLightboxProps } from './ImageLightbox.js';
|
|
32
|
+
export { ImageLightbox } from './ImageLightbox.js';
|
|
2
33
|
import { EventCalendarProps } from './EventCalendar.js';
|
|
3
34
|
export { EventCalendar, EventCalendarEvent, EventCalendarTypeOption, EventCalendarView, EventCalendarViewItem } from './EventCalendar.js';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
6
|
-
import {
|
|
7
|
-
export { DiffField, DiffList,
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
export {
|
|
12
|
-
import { InlineEdit } from './InlineEdit.js';
|
|
13
|
-
export { InlineEditProps } from './InlineEdit.js';
|
|
14
|
-
import { JsonField } from './JsonField.js';
|
|
15
|
-
export { JsonFieldProps } from './JsonField.js';
|
|
16
|
-
import { LiveClock } from './LiveClock.js';
|
|
17
|
-
export { LiveClockProps } from './LiveClock.js';
|
|
18
|
-
import { OrgChart } from './OrgChart.js';
|
|
19
|
-
export { OrgChartProps, OrgNode } from './OrgChart.js';
|
|
20
|
-
import { PeriodFilter } from './PeriodFilter.js';
|
|
21
|
-
export { Period, PeriodFilterProps, PeriodMode, PeriodModeItem } from './PeriodFilter.js';
|
|
22
|
-
import { PrintSheet } from './PrintSheet.js';
|
|
23
|
-
export { PrintSheetProps } from './PrintSheet.js';
|
|
24
|
-
import { SearchableMultiPicker } from './SearchableMultiPicker.js';
|
|
25
|
-
export { MultiPickerOption, SearchableMultiPickerProps } from './SearchableMultiPicker.js';
|
|
26
|
-
import { SecureScreen } from './SecureScreen.js';
|
|
27
|
-
export { SecureScreenProps } from './SecureScreen.js';
|
|
28
|
-
import { StackedMeter } from './StackedMeter.js';
|
|
29
|
-
export { StackedMeterProps, StackedMeterSegment } from './StackedMeter.js';
|
|
30
|
-
import { Strip } from './Strip.js';
|
|
31
|
-
export { StripProps } from './Strip.js';
|
|
32
|
-
import { SummaryTable } from './SummaryTable.js';
|
|
33
|
-
export { SummaryTableColumn, SummaryTableProps } from './SummaryTable.js';
|
|
34
|
-
import { TagMultiSelect } from './TagMultiSelect.js';
|
|
35
|
-
export { TagMultiSelectOption, TagMultiSelectProps } from './TagMultiSelect.js';
|
|
36
|
-
import { Timeline } from './Timeline.js';
|
|
37
|
-
export { TimelineItem, TimelineProps } from './Timeline.js';
|
|
38
|
-
import { TreePicker } from './TreePicker.js';
|
|
39
|
-
export { TreePickerProps } from './TreePicker.js';
|
|
40
|
-
import { TreeView } from './TreeView.js';
|
|
41
|
-
export { TreeNode, TreeViewProps } from './TreeView.js';
|
|
35
|
+
import { DisclosureProps } from './Disclosure.js';
|
|
36
|
+
export { Disclosure } from './Disclosure.js';
|
|
37
|
+
import { DiffViewProps } from './DiffView.js';
|
|
38
|
+
export { DiffField, DiffList, DiffView } from './DiffView.js';
|
|
39
|
+
import * as React from 'react';
|
|
40
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
41
|
+
import { ColumnBoardProps } from './ColumnBoard.js';
|
|
42
|
+
export { ColumnBoard, ColumnBoardColumn, ColumnBoardItem, ColumnBoardTone } from './ColumnBoard.js';
|
|
42
43
|
export { AutocompleteField, AutocompleteFieldProps, AutocompleteOption, AutocompleteSearchFn, AutocompleteSearchResult, toAutocompleteOptions } from './AutocompleteField.js';
|
|
43
|
-
import '../layout-BnYUuWC2.js';
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* `createRegistry(widgetComponents)`로 어휘에 얹는 묶음.
|
|
@@ -50,28 +50,28 @@ import '../layout-BnYUuWC2.js';
|
|
|
50
50
|
* `SduiWidgetComponentName`이 어휘 목록이 되게 한다.
|
|
51
51
|
*/
|
|
52
52
|
declare const widgetComponents: {
|
|
53
|
-
ColumnBoard:
|
|
54
|
-
DiffView:
|
|
55
|
-
Disclosure:
|
|
56
|
-
EventCalendar:
|
|
57
|
-
ImageLightbox:
|
|
58
|
-
InlineEdit:
|
|
59
|
-
JsonField:
|
|
60
|
-
LiveClock:
|
|
61
|
-
OrgChart:
|
|
62
|
-
PeriodFilter:
|
|
63
|
-
PrintSheet:
|
|
64
|
-
SearchableMultiPicker:
|
|
65
|
-
SecureScreen:
|
|
66
|
-
StackedMeter:
|
|
67
|
-
Strip:
|
|
68
|
-
SummaryTable:
|
|
69
|
-
TagMultiSelect:
|
|
70
|
-
Timeline:
|
|
71
|
-
TreePicker:
|
|
72
|
-
TreeView:
|
|
53
|
+
ColumnBoard: React.FC<ColumnBoardProps & SduiBoxProps>;
|
|
54
|
+
DiffView: React.FC<DiffViewProps & SduiBoxProps>;
|
|
55
|
+
Disclosure: React.FC<DisclosureProps & SduiBoxProps>;
|
|
56
|
+
EventCalendar: React.FC<EventCalendarProps & SduiBoxProps>;
|
|
57
|
+
ImageLightbox: React.FC<ImageLightboxProps & SduiBoxProps>;
|
|
58
|
+
InlineEdit: React.FC<InlineEditProps & SduiBoxProps>;
|
|
59
|
+
JsonField: React.FC<JsonFieldProps & SduiBoxProps>;
|
|
60
|
+
LiveClock: React.FC<LiveClockProps & SduiBoxProps>;
|
|
61
|
+
OrgChart: React.FC<OrgChartProps & SduiBoxProps>;
|
|
62
|
+
PeriodFilter: React.FC<PeriodFilterProps & SduiBoxProps>;
|
|
63
|
+
PrintSheet: React.FC<PrintSheetProps & SduiBoxProps>;
|
|
64
|
+
SearchableMultiPicker: React.FC<SearchableMultiPickerProps & SduiBoxProps>;
|
|
65
|
+
SecureScreen: React.FC<SecureScreenProps & SduiBoxProps>;
|
|
66
|
+
StackedMeter: React.FC<StackedMeterProps & SduiBoxProps>;
|
|
67
|
+
Strip: React.FC<StripProps & SduiBoxProps>;
|
|
68
|
+
SummaryTable: React.FC<SummaryTableProps & SduiBoxProps>;
|
|
69
|
+
TagMultiSelect: React.FC<TagMultiSelectProps & SduiBoxProps>;
|
|
70
|
+
Timeline: React.FC<TimelineProps & SduiBoxProps>;
|
|
71
|
+
TreePicker: React.FC<TreePickerProps & SduiBoxProps>;
|
|
72
|
+
TreeView: React.FC<TreeViewProps & SduiBoxProps>;
|
|
73
73
|
};
|
|
74
74
|
/** 위젯 어휘의 컴포넌트 이름 union — 메타데이터 대조에 쓴다(`@wipco/sdui/meta`). */
|
|
75
75
|
type SduiWidgetComponentName = keyof typeof widgetComponents;
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { ColumnBoardProps, DiffViewProps, DisclosureProps, EventCalendarProps, ImageLightboxProps, InlineEditProps, JsonFieldProps, LiveClockProps, OrgChartProps, PeriodFilterProps, PrintSheetProps, type SduiWidgetComponentName, SearchableMultiPickerProps, SecureScreenProps, StackedMeterProps, StripProps, SummaryTableProps, TagMultiSelectProps, TimelineProps, TreePickerProps, TreeViewProps, widgetComponents };
|
package/dist/widgets/index.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { SearchableMultiPicker } from '../chunk-
|
|
2
|
-
export { SearchableMultiPicker } from '../chunk-
|
|
3
|
-
import { SecureScreen } from '../chunk-
|
|
4
|
-
export { SecureScreen } from '../chunk-
|
|
5
|
-
import { StackedMeter } from '../chunk-
|
|
6
|
-
export { StackedMeter } from '../chunk-
|
|
7
|
-
import { Strip } from '../chunk-
|
|
8
|
-
export { Strip } from '../chunk-
|
|
9
|
-
import { SummaryTable } from '../chunk-
|
|
10
|
-
export { SummaryTable } from '../chunk-
|
|
11
|
-
import { TagMultiSelect } from '../chunk-
|
|
12
|
-
export { TagMultiSelect } from '../chunk-
|
|
13
|
-
import { Timeline } from '../chunk-
|
|
14
|
-
export { Timeline } from '../chunk-
|
|
15
|
-
import { TreePicker } from '../chunk-
|
|
16
|
-
export { TreePicker } from '../chunk-
|
|
17
|
-
import { TreeView } from '../chunk-
|
|
18
|
-
export { TreeView } from '../chunk-
|
|
19
|
-
import { EventCalendar } from '../chunk-
|
|
20
|
-
export { EventCalendar } from '../chunk-
|
|
21
|
-
import { ImageLightbox } from '../chunk-
|
|
22
|
-
export { ImageLightbox } from '../chunk-
|
|
23
|
-
import { InlineEdit } from '../chunk-
|
|
24
|
-
export { InlineEdit } from '../chunk-
|
|
25
|
-
import { JsonField } from '../chunk-
|
|
26
|
-
export { JsonField } from '../chunk-
|
|
27
|
-
import { LiveClock } from '../chunk-
|
|
28
|
-
export { LiveClock } from '../chunk-
|
|
29
|
-
import { OrgChart } from '../chunk-
|
|
30
|
-
export { OrgChart } from '../chunk-
|
|
31
|
-
import { PeriodFilter } from '../chunk-
|
|
32
|
-
export { PeriodFilter } from '../chunk-
|
|
33
|
-
import { PrintSheet } from '../chunk-
|
|
34
|
-
export { PrintSheet } from '../chunk-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
import '../chunk-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
import '../chunk-
|
|
1
|
+
import { SearchableMultiPicker } from '../chunk-H7V35NC2.js';
|
|
2
|
+
export { SearchableMultiPicker } from '../chunk-H7V35NC2.js';
|
|
3
|
+
import { SecureScreen } from '../chunk-YMWU4F7E.js';
|
|
4
|
+
export { SecureScreen } from '../chunk-YMWU4F7E.js';
|
|
5
|
+
import { StackedMeter } from '../chunk-BMZKZGJF.js';
|
|
6
|
+
export { StackedMeter } from '../chunk-BMZKZGJF.js';
|
|
7
|
+
import { Strip } from '../chunk-ZH5MLOZS.js';
|
|
8
|
+
export { Strip } from '../chunk-ZH5MLOZS.js';
|
|
9
|
+
import { SummaryTable } from '../chunk-O4U7Y3XL.js';
|
|
10
|
+
export { SummaryTable } from '../chunk-O4U7Y3XL.js';
|
|
11
|
+
import { TagMultiSelect } from '../chunk-KPDUJFVD.js';
|
|
12
|
+
export { TagMultiSelect } from '../chunk-KPDUJFVD.js';
|
|
13
|
+
import { Timeline } from '../chunk-I5GNJDHQ.js';
|
|
14
|
+
export { Timeline } from '../chunk-I5GNJDHQ.js';
|
|
15
|
+
import { TreePicker } from '../chunk-6ALDY64N.js';
|
|
16
|
+
export { TreePicker } from '../chunk-6ALDY64N.js';
|
|
17
|
+
import { TreeView } from '../chunk-5RWAK5QO.js';
|
|
18
|
+
export { TreeView } from '../chunk-5RWAK5QO.js';
|
|
19
|
+
import { EventCalendar } from '../chunk-KL554MEM.js';
|
|
20
|
+
export { EventCalendar } from '../chunk-KL554MEM.js';
|
|
21
|
+
import { ImageLightbox } from '../chunk-7MRAY6UD.js';
|
|
22
|
+
export { ImageLightbox } from '../chunk-7MRAY6UD.js';
|
|
23
|
+
import { InlineEdit } from '../chunk-VPVCVSFH.js';
|
|
24
|
+
export { InlineEdit } from '../chunk-VPVCVSFH.js';
|
|
25
|
+
import { JsonField } from '../chunk-VCX2XEF6.js';
|
|
26
|
+
export { JsonField } from '../chunk-VCX2XEF6.js';
|
|
27
|
+
import { LiveClock } from '../chunk-Z3WGIFJP.js';
|
|
28
|
+
export { LiveClock } from '../chunk-Z3WGIFJP.js';
|
|
29
|
+
import { OrgChart } from '../chunk-IKLBICOJ.js';
|
|
30
|
+
export { OrgChart } from '../chunk-IKLBICOJ.js';
|
|
31
|
+
import { PeriodFilter } from '../chunk-7Y6UFAYZ.js';
|
|
32
|
+
export { PeriodFilter } from '../chunk-7Y6UFAYZ.js';
|
|
33
|
+
import { PrintSheet } from '../chunk-6ZUWN2QX.js';
|
|
34
|
+
export { PrintSheet } from '../chunk-6ZUWN2QX.js';
|
|
35
|
+
export { AutocompleteField, toAutocompleteOptions } from '../chunk-OM63D4UH.js';
|
|
36
|
+
import '../chunk-WUTCZCQH.js';
|
|
37
|
+
import { ColumnBoard } from '../chunk-QTNIUMSM.js';
|
|
38
|
+
export { ColumnBoard } from '../chunk-QTNIUMSM.js';
|
|
39
|
+
import { DiffView } from '../chunk-RQ2FWV24.js';
|
|
40
|
+
export { DiffView } from '../chunk-RQ2FWV24.js';
|
|
41
|
+
import { Disclosure } from '../chunk-CEFOZOOM.js';
|
|
42
|
+
export { Disclosure } from '../chunk-CEFOZOOM.js';
|
|
43
|
+
import '../chunk-6FADQ2SU.js';
|
|
44
|
+
import '../chunk-SAN4IX6N.js';
|
|
45
45
|
|
|
46
46
|
// src/widgets/index.ts
|
|
47
47
|
var widgetComponents = {
|