@wipco/sdui 0.25.0 → 0.26.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/{chunk-OG62LSFH.js → chunk-6S5CFNFM.js} +1 -1
- package/dist/{chunk-U7ZK7WYH.js → chunk-BD75U73S.js} +2 -1
- package/dist/{chunk-N5IATDUF.js → chunk-C53NGSA3.js} +2 -2
- package/dist/chunk-DIVN4TBW.js +904 -0
- package/dist/{chunk-XKLUCUVA.js → chunk-EFMKWPZ3.js} +11 -138
- package/dist/{chunk-PFUULIZ2.js → chunk-INWASR2G.js} +1 -1
- package/dist/chunk-QU7YVMFA.js +39 -0
- package/dist/{chunk-EQW24SJC.js → chunk-U3HYQCFA.js} +2 -2
- package/dist/{chunk-36MXPCJP.js → chunk-WXOU7QTN.js} +1 -1
- package/dist/{chunk-IDUN2ESE.js → chunk-X5R2HHEN.js} +1 -1
- package/dist/chunk-XQPTSEJC.js +135 -0
- package/dist/index.js +20 -49
- package/dist/meta.d.ts +3 -1
- package/dist/meta.js +25 -1
- package/dist/rich.js +5 -4
- package/dist/widgets/AutocompleteField.js +4 -3
- package/dist/widgets/PeriodFilter.js +3 -2
- package/dist/widgets/RankBoard.d.ts +27 -0
- package/dist/widgets/RankBoard.js +6 -0
- package/dist/widgets/SearchableMultiPicker.js +4 -3
- package/dist/widgets/TreePicker.js +5 -4
- package/dist/widgets/TreeView.js +4 -3
- package/dist/widgets/index.d.ts +4 -1
- package/dist/widgets/index.js +18 -13
- package/package.json +5 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { S as SduiBoxProps } from '../layout-B1QrIBm6.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
|
|
4
|
+
/** 내부 표준형 — 서버 행(snake_case)을 이 모양으로 정규화해 들고 다닌다. */
|
|
5
|
+
interface JobPosition {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
rankOrder: number;
|
|
9
|
+
sortOrder: number;
|
|
10
|
+
isActive: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface RankBoardProps {
|
|
13
|
+
/** 직위 마스터 API 경로(기본 /job-positions). 목록·등록·수정·삭제·순서 저장 전부 이 경로다. */
|
|
14
|
+
endpoint?: string;
|
|
15
|
+
/** 권한 판정에 쓸 엔티티(기본 job_position). */
|
|
16
|
+
entity?: string;
|
|
17
|
+
/** 등록(신규 카드·이 급에 추가) 게이트 — 생략 시 렌더러 권한 판정으로 판단. */
|
|
18
|
+
canCreate?: boolean;
|
|
19
|
+
/** 수정(드래그·▲▼·이동·이름변경·사용전환) 게이트 — 생략 시 렌더러 권한 판정. */
|
|
20
|
+
canUpdate?: boolean;
|
|
21
|
+
/** 삭제 게이트 — 생략 시 렌더러 권한 판정. */
|
|
22
|
+
canDelete?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/** 바깥 style·className 을 뿌리에 얹는다 — 자기 축(폭·여백) 통로. */
|
|
25
|
+
declare const RankBoard: React__default.FC<RankBoardProps & SduiBoxProps>;
|
|
26
|
+
|
|
27
|
+
export { type JobPosition, RankBoard, type RankBoardProps };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { SearchableMultiPicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { SearchableMultiPicker } from '../chunk-C53NGSA3.js';
|
|
2
|
+
import '../chunk-BD75U73S.js';
|
|
3
|
+
import '../chunk-EFMKWPZ3.js';
|
|
4
|
+
import '../chunk-XQPTSEJC.js';
|
|
4
5
|
import '../chunk-WIDDHR7L.js';
|
|
5
6
|
import '../chunk-SAN4IX6N.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { TreePicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { TreePicker } from '../chunk-U3HYQCFA.js';
|
|
2
|
+
import '../chunk-X5R2HHEN.js';
|
|
3
|
+
import '../chunk-BD75U73S.js';
|
|
4
|
+
import '../chunk-EFMKWPZ3.js';
|
|
5
|
+
import '../chunk-XQPTSEJC.js';
|
|
5
6
|
import '../chunk-WIDDHR7L.js';
|
|
6
7
|
import '../chunk-SAN4IX6N.js';
|
package/dist/widgets/TreeView.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { TreeView, buildTreeNodes, pruneExcluded, resolveTreeNodes } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { TreeView, buildTreeNodes, pruneExcluded, resolveTreeNodes } from '../chunk-X5R2HHEN.js';
|
|
2
|
+
import '../chunk-BD75U73S.js';
|
|
3
|
+
import '../chunk-EFMKWPZ3.js';
|
|
4
|
+
import '../chunk-XQPTSEJC.js';
|
|
4
5
|
import '../chunk-WIDDHR7L.js';
|
|
5
6
|
import '../chunk-SAN4IX6N.js';
|
package/dist/widgets/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ import { SearchableMultiPickerProps } from './SearchableMultiPicker.js';
|
|
|
18
18
|
export { MultiPickerOption, SearchableMultiPicker } from './SearchableMultiPicker.js';
|
|
19
19
|
import { RecordSheetProps } from './RecordSheet.js';
|
|
20
20
|
export { RecordSheet, RecordSheetCell, RecordSheetCellKind, RecordSheetRow } from './RecordSheet.js';
|
|
21
|
+
import { RankBoardProps } from './RankBoard.js';
|
|
22
|
+
export { RankBoard } from './RankBoard.js';
|
|
21
23
|
import { PrintSheetProps } from './PrintSheet.js';
|
|
22
24
|
export { PrintSheet } from './PrintSheet.js';
|
|
23
25
|
import { PeriodFilterProps } from './PeriodFilter.js';
|
|
@@ -66,6 +68,7 @@ declare const widgetComponents: {
|
|
|
66
68
|
OrgChart: React.FC<OrgChartProps & SduiBoxProps>;
|
|
67
69
|
PeriodFilter: React.FC<PeriodFilterProps & SduiBoxProps>;
|
|
68
70
|
PrintSheet: React.FC<PrintSheetProps & SduiBoxProps>;
|
|
71
|
+
RankBoard: React.FC<RankBoardProps & SduiBoxProps>;
|
|
69
72
|
RecordSheet: React.FC<RecordSheetProps & SduiBoxProps>;
|
|
70
73
|
SearchableMultiPicker: React.FC<SearchableMultiPickerProps & SduiBoxProps>;
|
|
71
74
|
SecureScreen: React.FC<SecureScreenProps & SduiBoxProps>;
|
|
@@ -80,4 +83,4 @@ declare const widgetComponents: {
|
|
|
80
83
|
/** 위젯 어휘의 컴포넌트 이름 union — 메타데이터 대조에 쓴다(`@wipco/sdui/meta`). */
|
|
81
84
|
type SduiWidgetComponentName = keyof typeof widgetComponents;
|
|
82
85
|
|
|
83
|
-
export { ApprovalStepperProps, ColumnBoardProps, DiffViewProps, DisclosureProps, EventCalendarProps, ImageLightboxProps, InlineEditProps, JsonFieldProps, LiveClockProps, OrgChartProps, PeriodFilterProps, PrintSheetProps, RecordSheetProps, type SduiWidgetComponentName, SearchableMultiPickerProps, SecureScreenProps, StackedMeterProps, StripProps, SummaryTableProps, TagMultiSelectProps, TimelineProps, TreePickerProps, TreeViewProps, widgetComponents };
|
|
86
|
+
export { ApprovalStepperProps, ColumnBoardProps, DiffViewProps, DisclosureProps, EventCalendarProps, ImageLightboxProps, InlineEditProps, JsonFieldProps, LiveClockProps, OrgChartProps, PeriodFilterProps, PrintSheetProps, RankBoardProps, RecordSheetProps, type SduiWidgetComponentName, SearchableMultiPickerProps, SecureScreenProps, StackedMeterProps, StripProps, SummaryTableProps, TagMultiSelectProps, TimelineProps, TreePickerProps, TreeViewProps, widgetComponents };
|
package/dist/widgets/index.js
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { TagMultiSelect } from '../chunk-QDEZXA34.js';
|
|
2
|
+
export { TagMultiSelect } from '../chunk-QDEZXA34.js';
|
|
1
3
|
import { Timeline } from '../chunk-EFYEOT47.js';
|
|
2
4
|
export { Timeline } from '../chunk-EFYEOT47.js';
|
|
3
|
-
import { TreePicker } from '../chunk-
|
|
4
|
-
export { TreePicker } from '../chunk-
|
|
5
|
-
import { TreeView } from '../chunk-
|
|
6
|
-
export { TreeView, buildTreeNodes } from '../chunk-
|
|
5
|
+
import { TreePicker } from '../chunk-U3HYQCFA.js';
|
|
6
|
+
export { TreePicker } from '../chunk-U3HYQCFA.js';
|
|
7
|
+
import { TreeView } from '../chunk-X5R2HHEN.js';
|
|
8
|
+
export { TreeView, buildTreeNodes } from '../chunk-X5R2HHEN.js';
|
|
7
9
|
import { PrintSheet } from '../chunk-MYJ2KEIP.js';
|
|
8
10
|
export { PrintSheet } from '../chunk-MYJ2KEIP.js';
|
|
11
|
+
import { RankBoard } from '../chunk-DIVN4TBW.js';
|
|
12
|
+
export { RankBoard } from '../chunk-DIVN4TBW.js';
|
|
9
13
|
import { RecordSheet } from '../chunk-K3JBSWFI.js';
|
|
10
14
|
export { RecordSheet } from '../chunk-K3JBSWFI.js';
|
|
11
|
-
import { SearchableMultiPicker } from '../chunk-
|
|
12
|
-
export { SearchableMultiPicker } from '../chunk-
|
|
15
|
+
import { SearchableMultiPicker } from '../chunk-C53NGSA3.js';
|
|
16
|
+
export { SearchableMultiPicker } from '../chunk-C53NGSA3.js';
|
|
13
17
|
import { SecureScreen } from '../chunk-IIRENCDS.js';
|
|
14
18
|
export { SecureScreen } from '../chunk-IIRENCDS.js';
|
|
15
19
|
import { StackedMeter } from '../chunk-BMZKZGJF.js';
|
|
@@ -18,8 +22,6 @@ import { Strip } from '../chunk-ZH5MLOZS.js';
|
|
|
18
22
|
export { Strip } from '../chunk-ZH5MLOZS.js';
|
|
19
23
|
import { SummaryTable } from '../chunk-O4U7Y3XL.js';
|
|
20
24
|
export { SummaryTable } from '../chunk-O4U7Y3XL.js';
|
|
21
|
-
import { TagMultiSelect } from '../chunk-QDEZXA34.js';
|
|
22
|
-
export { TagMultiSelect } from '../chunk-QDEZXA34.js';
|
|
23
25
|
import { Disclosure } from '../chunk-HIZ2OVJA.js';
|
|
24
26
|
export { Disclosure } from '../chunk-HIZ2OVJA.js';
|
|
25
27
|
import { EventCalendar } from '../chunk-C3JY6GA3.js';
|
|
@@ -34,15 +36,17 @@ import { LiveClock } from '../chunk-Z3WGIFJP.js';
|
|
|
34
36
|
export { LiveClock } from '../chunk-Z3WGIFJP.js';
|
|
35
37
|
import { OrgChart } from '../chunk-QWJ3OBBL.js';
|
|
36
38
|
export { OrgChart } from '../chunk-QWJ3OBBL.js';
|
|
37
|
-
import { PeriodFilter } from '../chunk-
|
|
38
|
-
export { PeriodFilter } from '../chunk-
|
|
39
|
+
import { PeriodFilter } from '../chunk-INWASR2G.js';
|
|
40
|
+
export { PeriodFilter } from '../chunk-INWASR2G.js';
|
|
41
|
+
import '../chunk-QU7YVMFA.js';
|
|
39
42
|
import '../chunk-THEP3VWY.js';
|
|
40
43
|
import { ApprovalStepper } from '../chunk-ZTQEP3TR.js';
|
|
41
44
|
export { ApprovalStepper } from '../chunk-ZTQEP3TR.js';
|
|
42
|
-
export { AutocompleteField, toAutocompleteOptions } from '../chunk-
|
|
43
|
-
import '../chunk-
|
|
45
|
+
export { AutocompleteField, toAutocompleteOptions } from '../chunk-6S5CFNFM.js';
|
|
46
|
+
import '../chunk-BD75U73S.js';
|
|
44
47
|
import '../chunk-DVOPZFQS.js';
|
|
45
|
-
import '../chunk-
|
|
48
|
+
import '../chunk-EFMKWPZ3.js';
|
|
49
|
+
import '../chunk-XQPTSEJC.js';
|
|
46
50
|
import { ColumnBoard } from '../chunk-C4JRSZGS.js';
|
|
47
51
|
export { ColumnBoard } from '../chunk-C4JRSZGS.js';
|
|
48
52
|
import { DiffView } from '../chunk-LDJ2CFFH.js';
|
|
@@ -64,6 +68,7 @@ var widgetComponents = {
|
|
|
64
68
|
OrgChart,
|
|
65
69
|
PeriodFilter,
|
|
66
70
|
PrintSheet,
|
|
71
|
+
RankBoard,
|
|
67
72
|
RecordSheet,
|
|
68
73
|
SearchableMultiPicker,
|
|
69
74
|
SecureScreen,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wipco/sdui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "WIPCO 서버 주도 UI(SDUI) 렌더러 — JSON 페이지 스펙을 React 컴포넌트로 렌더링",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sdui",
|
|
@@ -88,6 +88,10 @@
|
|
|
88
88
|
"types": "./dist/widgets/PrintSheet.d.ts",
|
|
89
89
|
"default": "./dist/widgets/PrintSheet.js"
|
|
90
90
|
},
|
|
91
|
+
"./widgets/RankBoard": {
|
|
92
|
+
"types": "./dist/widgets/RankBoard.d.ts",
|
|
93
|
+
"default": "./dist/widgets/RankBoard.js"
|
|
94
|
+
},
|
|
91
95
|
"./widgets/RecordSheet": {
|
|
92
96
|
"types": "./dist/widgets/RecordSheet.d.ts",
|
|
93
97
|
"default": "./dist/widgets/RecordSheet.js"
|