@wipco/sdui 0.26.0 → 0.28.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-KBLFOC37.js +1242 -0
- package/dist/chunk-SAPJVLZM.js +599 -0
- package/dist/chunk-ZDRERW4G.js +359 -0
- package/dist/meta.d.ts +7 -1
- package/dist/meta.js +324 -1
- package/dist/widgets/ApprovalLineEditor.d.ts +43 -0
- package/dist/widgets/ApprovalLineEditor.js +7 -0
- package/dist/widgets/ApprovalOverridesEditor.d.ts +42 -0
- package/dist/widgets/ApprovalOverridesEditor.js +9 -0
- package/dist/widgets/OrgChartBoard.d.ts +72 -0
- package/dist/widgets/OrgChartBoard.js +6 -0
- package/dist/widgets/index.d.ts +12 -3
- package/dist/widgets/index.js +25 -16
- package/package.json +13 -1
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
import { TagMultiSelect } from './chunk-QDEZXA34.js';
|
|
2
|
+
import { ApprovalLineEditor, stepTypeIcon, stepLabel } from './chunk-SAPJVLZM.js';
|
|
3
|
+
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DVOPZFQS.js';
|
|
4
|
+
import { Card, Icon, Input, IconButton, Field, Button, Badge } from './chunk-WIDDHR7L.js';
|
|
5
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
6
|
+
import React, { useState, useEffect } from 'react';
|
|
7
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
function facetsFrom(rows) {
|
|
10
|
+
const titles = /* @__PURE__ */ new Set();
|
|
11
|
+
const grades = /* @__PURE__ */ new Set();
|
|
12
|
+
if (Array.isArray(rows)) {
|
|
13
|
+
for (const row of rows) {
|
|
14
|
+
if (typeof row !== "object" || row === null) continue;
|
|
15
|
+
const title = row.job_title;
|
|
16
|
+
const grade = row.grade;
|
|
17
|
+
if (typeof title === "string" && title.trim()) titles.add(title.trim());
|
|
18
|
+
if (typeof grade === "string" && grade.trim()) grades.add(grade.trim());
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
const ko = (a, b) => a.localeCompare(b, "ko");
|
|
22
|
+
return { titles: [...titles].sort(ko), grades: [...grades].sort(ko) };
|
|
23
|
+
}
|
|
24
|
+
var uidCounter = 0;
|
|
25
|
+
var uid = (prefix) => `${prefix}-${Date.now()}-${++uidCounter}`;
|
|
26
|
+
var describeScope = (override) => {
|
|
27
|
+
const identityParts = [];
|
|
28
|
+
if (override.jobTitles.length > 0) identityParts.push(`\uC9C1\uCC45 ${override.jobTitles.join(", ")}`);
|
|
29
|
+
if (override.grades.length > 0) identityParts.push(`\uC9C1\uAE09 ${override.grades.join(", ")}`);
|
|
30
|
+
const legacyEntities = override.entityTypes ?? [];
|
|
31
|
+
const identityPart = identityParts.length > 0 ? identityParts.join(" \uB610\uB294 ") : legacyEntities.length > 0 ? "\uC9C1\uCC45\xB7\uC9C1\uAE09 \uC870\uAC74 \uC5C6\uC74C (\uC804 \uC9C1\uC6D0 \uC801\uC6A9)" : "\uC9C1\uCC45\xB7\uC9C1\uAE09 \uC870\uAC74 \uC5C6\uC74C (\uB9E4\uCE6D\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4)";
|
|
32
|
+
if (legacyEntities.length === 0) return identityPart;
|
|
33
|
+
return `${identityPart} \xB7 \uC5C5\uBB34\uC720\uD615 ${legacyEntities.join(", ")} \uD55C\uC815`;
|
|
34
|
+
};
|
|
35
|
+
var withSelected = (options, selected) => [...options, ...selected.filter((value) => !options.includes(value))].map((value) => ({
|
|
36
|
+
value,
|
|
37
|
+
label: value
|
|
38
|
+
}));
|
|
39
|
+
var orderCircleStyle = {
|
|
40
|
+
display: "inline-flex",
|
|
41
|
+
alignItems: "center",
|
|
42
|
+
justifyContent: "center",
|
|
43
|
+
width: 28,
|
|
44
|
+
height: 28,
|
|
45
|
+
flex: "none",
|
|
46
|
+
borderRadius: "var(--wp-radius-pill)",
|
|
47
|
+
background: "var(--wp-surface-brand-tint)",
|
|
48
|
+
color: "var(--wp-text-brand)"
|
|
49
|
+
};
|
|
50
|
+
function StepSummary({ steps }) {
|
|
51
|
+
if (steps.length === 0) {
|
|
52
|
+
return /* @__PURE__ */ jsx("span", { className: "wp-caption", children: "\uACB0\uC7AC \uB2E8\uACC4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 \uB9E4\uCE6D \uC2DC \uC790\uB3D9 \uC2B9\uC778\uB429\uB2C8\uB2E4." });
|
|
53
|
+
}
|
|
54
|
+
return /* @__PURE__ */ jsx("div", { className: "wp-row", style: { flexWrap: "wrap", gap: "var(--wp-space-1)" }, children: steps.map((step, index) => /* @__PURE__ */ jsxs(React.Fragment, { children: [
|
|
55
|
+
/* @__PURE__ */ jsxs(Badge, { tone: "neutral", children: [
|
|
56
|
+
/* @__PURE__ */ jsx(
|
|
57
|
+
Icon,
|
|
58
|
+
{
|
|
59
|
+
name: stepTypeIcon(step.type),
|
|
60
|
+
size: 12,
|
|
61
|
+
style: { marginRight: "var(--wp-space-1)" }
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
stepLabel(step)
|
|
65
|
+
] }),
|
|
66
|
+
index < steps.length - 1 ? /* @__PURE__ */ jsx(Icon, { name: "arrow-right", size: 12, style: { color: "var(--wp-text-muted)", flex: "none" } }) : null
|
|
67
|
+
] }, step.id)) });
|
|
68
|
+
}
|
|
69
|
+
function ApprovalOverridesEditorImpl({
|
|
70
|
+
value,
|
|
71
|
+
onChange,
|
|
72
|
+
jobTitleOptions,
|
|
73
|
+
gradeOptions,
|
|
74
|
+
facetsEndpoint,
|
|
75
|
+
searchEndpoint,
|
|
76
|
+
groupSearchEndpoint,
|
|
77
|
+
searchOptions,
|
|
78
|
+
disabled = false
|
|
79
|
+
}) {
|
|
80
|
+
const adapter = useSduiAdapter();
|
|
81
|
+
const api = hostFetchOf(adapter) ?? defaultAdapter.fetch;
|
|
82
|
+
const overrides = value ?? [];
|
|
83
|
+
const [fetchedFacets, setFetchedFacets] = useState(
|
|
84
|
+
null
|
|
85
|
+
);
|
|
86
|
+
useEffect(() => {
|
|
87
|
+
if (!facetsEndpoint) return;
|
|
88
|
+
let alive = true;
|
|
89
|
+
api(facetsEndpoint, { method: "GET" }).then((response) => {
|
|
90
|
+
if (!alive) return;
|
|
91
|
+
const body = response;
|
|
92
|
+
const rows = Array.isArray(response) ? response : body?.data ?? [];
|
|
93
|
+
setFetchedFacets(facetsFrom(rows));
|
|
94
|
+
}).catch(() => {
|
|
95
|
+
});
|
|
96
|
+
return () => {
|
|
97
|
+
alive = false;
|
|
98
|
+
};
|
|
99
|
+
}, [facetsEndpoint]);
|
|
100
|
+
const mergedTitles = [
|
|
101
|
+
...jobTitleOptions ?? [],
|
|
102
|
+
...(fetchedFacets?.titles ?? []).filter((t) => !(jobTitleOptions ?? []).includes(t))
|
|
103
|
+
];
|
|
104
|
+
const mergedGrades = [
|
|
105
|
+
...gradeOptions ?? [],
|
|
106
|
+
...(fetchedFacets?.grades ?? []).filter((g) => !(gradeOptions ?? []).includes(g))
|
|
107
|
+
];
|
|
108
|
+
const updateOverride = (id, patch) => {
|
|
109
|
+
onChange?.(
|
|
110
|
+
overrides.map((override) => override.id === id ? { ...override, ...patch } : override)
|
|
111
|
+
);
|
|
112
|
+
};
|
|
113
|
+
const addOverride = () => {
|
|
114
|
+
onChange?.([...overrides, { id: uid("line"), name: "", jobTitles: [], grades: [], steps: [] }]);
|
|
115
|
+
};
|
|
116
|
+
const removeOverride = (id) => {
|
|
117
|
+
onChange?.(overrides.filter((override) => override.id !== id));
|
|
118
|
+
};
|
|
119
|
+
const duplicateOverride = (index) => {
|
|
120
|
+
const source = overrides[index];
|
|
121
|
+
if (!source) return;
|
|
122
|
+
const copy = {
|
|
123
|
+
...source,
|
|
124
|
+
id: uid("line"),
|
|
125
|
+
name: source.name.trim() ? `${source.name} (\uBCF5\uC0AC\uBCF8)` : "",
|
|
126
|
+
jobTitles: [...source.jobTitles],
|
|
127
|
+
grades: [...source.grades],
|
|
128
|
+
steps: source.steps.map((step) => ({
|
|
129
|
+
...step,
|
|
130
|
+
id: uid("step"),
|
|
131
|
+
customApprovers: step.customApprovers?.map((approver) => ({ ...approver }))
|
|
132
|
+
}))
|
|
133
|
+
};
|
|
134
|
+
const next = [...overrides];
|
|
135
|
+
next.splice(index + 1, 0, copy);
|
|
136
|
+
onChange?.(next);
|
|
137
|
+
};
|
|
138
|
+
const moveOverride = (index, direction) => {
|
|
139
|
+
const target = index + direction;
|
|
140
|
+
if (target < 0 || target >= overrides.length) return;
|
|
141
|
+
const next = [...overrides];
|
|
142
|
+
[next[index], next[target]] = [next[target], next[index]];
|
|
143
|
+
onChange?.(next);
|
|
144
|
+
};
|
|
145
|
+
const [dragIndex, setDragIndex] = useState(null);
|
|
146
|
+
const [dropIndex, setDropIndex] = useState(null);
|
|
147
|
+
const finishDrag = () => {
|
|
148
|
+
if (dragIndex !== null && dropIndex !== null && dragIndex !== dropIndex) {
|
|
149
|
+
const next = [...overrides];
|
|
150
|
+
const [moved] = next.splice(dragIndex, 1);
|
|
151
|
+
next.splice(dropIndex, 0, moved);
|
|
152
|
+
onChange?.(next);
|
|
153
|
+
}
|
|
154
|
+
setDragIndex(null);
|
|
155
|
+
setDropIndex(null);
|
|
156
|
+
};
|
|
157
|
+
return /* @__PURE__ */ jsxs("div", { className: "wp-col", style: { gap: "var(--wp-space-3)" }, children: [
|
|
158
|
+
/* @__PURE__ */ jsx("span", { className: "wp-caption", children: "\uC694\uCCAD\uC790\uC758 \uC9C1\uCC45\xB7\uC9C1\uAE09\uC5D0 \uB530\uB77C \uAE30\uBCF8 \uACB0\uC7AC\uC120 \uB300\uC2E0 \uC801\uC6A9\uD560 \uACB0\uC7AC\uB77C\uC778\uC785\uB2C8\uB2E4. \uC9C1\uCC45\uACFC \uC9C1\uAE09 \uC911 \uD558\uB098\uB9CC \uB9DE\uC544\uB3C4 \uC801\uC6A9\uB418\uBA70, \uC704\uC5D0\uC11C\uBD80\uD130 \uBA3C\uC800 \uB9E4\uCE6D\uB418\uB294 \uACB0\uC7AC\uB77C\uC778\uC774 \uC6B0\uC120 \uC801\uC6A9\uB429\uB2C8\uB2E4." }),
|
|
159
|
+
overrides.length === 0 ? /* @__PURE__ */ jsx(
|
|
160
|
+
"div",
|
|
161
|
+
{
|
|
162
|
+
className: "wp-body-sm",
|
|
163
|
+
style: {
|
|
164
|
+
border: "var(--wp-border-w) dashed var(--wp-border-default)",
|
|
165
|
+
borderRadius: "var(--wp-radius-lg)",
|
|
166
|
+
padding: "var(--wp-space-4)",
|
|
167
|
+
textAlign: "center",
|
|
168
|
+
color: "var(--wp-text-muted)"
|
|
169
|
+
},
|
|
170
|
+
children: "\uC124\uC815\uB41C \uC9C1\uAE09/\uC9C1\uCC45\uBCC4 \uACB0\uC7AC\uB77C\uC778\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."
|
|
171
|
+
}
|
|
172
|
+
) : overrides.map((override, index) => /* @__PURE__ */ jsx(
|
|
173
|
+
Card,
|
|
174
|
+
{
|
|
175
|
+
padding: "tight",
|
|
176
|
+
style: {
|
|
177
|
+
// 드롭 목적지 표시 — 삽입될 자리의 카드 위에 브랜드 선을 긋는다.
|
|
178
|
+
boxShadow: dropIndex === index && dragIndex !== null && dragIndex !== index ? "0 calc(-1 * var(--wp-space-1)) 0 0 var(--wp-border-brand)" : void 0,
|
|
179
|
+
opacity: dragIndex === index ? 0.5 : void 0
|
|
180
|
+
},
|
|
181
|
+
onDragOver: (event) => {
|
|
182
|
+
if (dragIndex === null) return;
|
|
183
|
+
event.preventDefault();
|
|
184
|
+
if (dropIndex !== index) setDropIndex(index);
|
|
185
|
+
},
|
|
186
|
+
onDrop: (event) => {
|
|
187
|
+
event.preventDefault();
|
|
188
|
+
finishDrag();
|
|
189
|
+
},
|
|
190
|
+
children: /* @__PURE__ */ jsxs("div", { className: "wp-col", style: { gap: "var(--wp-space-3)" }, children: [
|
|
191
|
+
/* @__PURE__ */ jsxs("div", { className: "wp-row", style: { alignItems: "center" }, children: [
|
|
192
|
+
/* @__PURE__ */ jsx(
|
|
193
|
+
"span",
|
|
194
|
+
{
|
|
195
|
+
draggable: !disabled,
|
|
196
|
+
"aria-hidden": true,
|
|
197
|
+
title: "\uB04C\uC5B4\uC11C \uC6B0\uC120\uC21C\uC704 \uBCC0\uACBD",
|
|
198
|
+
style: {
|
|
199
|
+
cursor: disabled ? "default" : "grab",
|
|
200
|
+
color: "var(--wp-text-muted)",
|
|
201
|
+
display: "inline-flex",
|
|
202
|
+
flex: "none",
|
|
203
|
+
touchAction: "none"
|
|
204
|
+
},
|
|
205
|
+
onDragStart: (event) => {
|
|
206
|
+
event.dataTransfer.setData("text/plain", String(index));
|
|
207
|
+
event.dataTransfer.effectAllowed = "move";
|
|
208
|
+
setDragIndex(index);
|
|
209
|
+
},
|
|
210
|
+
onDragEnd: () => {
|
|
211
|
+
setDragIndex(null);
|
|
212
|
+
setDropIndex(null);
|
|
213
|
+
},
|
|
214
|
+
children: /* @__PURE__ */ jsx(Icon, { name: "grip-vertical", size: 16 })
|
|
215
|
+
}
|
|
216
|
+
),
|
|
217
|
+
/* @__PURE__ */ jsx("span", { className: "wp-body-sm", style: orderCircleStyle, title: "\uB9E4\uCE6D \uC6B0\uC120\uC21C\uC704", children: index + 1 }),
|
|
218
|
+
/* @__PURE__ */ jsx("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ jsx(
|
|
219
|
+
Input,
|
|
220
|
+
{
|
|
221
|
+
"aria-label": "\uACB0\uC7AC\uB77C\uC778 \uC774\uB984",
|
|
222
|
+
value: override.name,
|
|
223
|
+
disabled,
|
|
224
|
+
placeholder: "\uC608: \uD300\uC7A5 \uC2B9\uC778 \uC0DD\uB7B5 \uB77C\uC778",
|
|
225
|
+
onChange: (event) => updateOverride(override.id, { name: event.target.value })
|
|
226
|
+
}
|
|
227
|
+
) }),
|
|
228
|
+
/* @__PURE__ */ jsxs("div", { className: "wp-row", style: { flex: "none", gap: "var(--wp-space-1)" }, children: [
|
|
229
|
+
/* @__PURE__ */ jsx(
|
|
230
|
+
IconButton,
|
|
231
|
+
{
|
|
232
|
+
type: "button",
|
|
233
|
+
icon: "chevron-up",
|
|
234
|
+
label: "\uC6B0\uC120\uC21C\uC704 \uC62C\uB9AC\uAE30",
|
|
235
|
+
size: "sm",
|
|
236
|
+
disabled: disabled || index === 0,
|
|
237
|
+
onClick: () => moveOverride(index, -1)
|
|
238
|
+
}
|
|
239
|
+
),
|
|
240
|
+
/* @__PURE__ */ jsx(
|
|
241
|
+
IconButton,
|
|
242
|
+
{
|
|
243
|
+
type: "button",
|
|
244
|
+
icon: "chevron-down",
|
|
245
|
+
label: "\uC6B0\uC120\uC21C\uC704 \uB0B4\uB9AC\uAE30",
|
|
246
|
+
size: "sm",
|
|
247
|
+
disabled: disabled || index === overrides.length - 1,
|
|
248
|
+
onClick: () => moveOverride(index, 1)
|
|
249
|
+
}
|
|
250
|
+
),
|
|
251
|
+
/* @__PURE__ */ jsx(
|
|
252
|
+
IconButton,
|
|
253
|
+
{
|
|
254
|
+
type: "button",
|
|
255
|
+
icon: "copy",
|
|
256
|
+
label: "\uACB0\uC7AC\uB77C\uC778 \uBCF5\uC81C",
|
|
257
|
+
size: "sm",
|
|
258
|
+
disabled,
|
|
259
|
+
onClick: () => duplicateOverride(index)
|
|
260
|
+
}
|
|
261
|
+
),
|
|
262
|
+
/* @__PURE__ */ jsx(
|
|
263
|
+
IconButton,
|
|
264
|
+
{
|
|
265
|
+
type: "button",
|
|
266
|
+
icon: "trash-2",
|
|
267
|
+
label: "\uACB0\uC7AC\uB77C\uC778 \uC0AD\uC81C",
|
|
268
|
+
variant: "danger",
|
|
269
|
+
size: "sm",
|
|
270
|
+
disabled,
|
|
271
|
+
onClick: () => removeOverride(override.id)
|
|
272
|
+
}
|
|
273
|
+
)
|
|
274
|
+
] })
|
|
275
|
+
] }),
|
|
276
|
+
/* @__PURE__ */ jsxs("div", { className: "wp-col", style: { gap: "var(--wp-space-1)" }, children: [
|
|
277
|
+
/* @__PURE__ */ jsx("span", { className: "wp-caption", children: describeScope(override) }),
|
|
278
|
+
/* @__PURE__ */ jsx(StepSummary, { steps: override.steps })
|
|
279
|
+
] }),
|
|
280
|
+
/* @__PURE__ */ jsx(
|
|
281
|
+
Field,
|
|
282
|
+
{
|
|
283
|
+
label: "\uC801\uC6A9 \uC9C1\uCC45",
|
|
284
|
+
hint: "\uC120\uD0DD\uD55C \uC9C1\uCC45 \uC911 \uD558\uB098\uB77C\uB3C4 \uC77C\uCE58\uD558\uBA74 \uC774 \uACB0\uC7AC\uB77C\uC778\uC774 \uC801\uC6A9\uB429\uB2C8\uB2E4.",
|
|
285
|
+
children: /* @__PURE__ */ jsx(
|
|
286
|
+
TagMultiSelect,
|
|
287
|
+
{
|
|
288
|
+
options: withSelected(mergedTitles, override.jobTitles),
|
|
289
|
+
values: override.jobTitles,
|
|
290
|
+
disabled,
|
|
291
|
+
emptyText: "\uC120\uD0DD \uAC00\uB2A5\uD55C \uC9C1\uCC45\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
292
|
+
onChange: (jobTitles) => updateOverride(override.id, { jobTitles })
|
|
293
|
+
}
|
|
294
|
+
)
|
|
295
|
+
}
|
|
296
|
+
),
|
|
297
|
+
/* @__PURE__ */ jsx(
|
|
298
|
+
Field,
|
|
299
|
+
{
|
|
300
|
+
label: "\uC801\uC6A9 \uC9C1\uAE09",
|
|
301
|
+
hint: "\uC9C1\uCC45 \uC870\uAC74\uACFC OR \u2014 \uC9C1\uAE09\uB9CC \uC77C\uCE58\uD574\uB3C4 \uC801\uC6A9\uB429\uB2C8\uB2E4.",
|
|
302
|
+
children: /* @__PURE__ */ jsx(
|
|
303
|
+
TagMultiSelect,
|
|
304
|
+
{
|
|
305
|
+
options: withSelected(mergedGrades, override.grades),
|
|
306
|
+
values: override.grades,
|
|
307
|
+
disabled,
|
|
308
|
+
emptyText: "\uC120\uD0DD \uAC00\uB2A5\uD55C \uC9C1\uAE09\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
309
|
+
onChange: (grades) => updateOverride(override.id, { grades })
|
|
310
|
+
}
|
|
311
|
+
)
|
|
312
|
+
}
|
|
313
|
+
),
|
|
314
|
+
/* @__PURE__ */ jsxs(
|
|
315
|
+
"div",
|
|
316
|
+
{
|
|
317
|
+
className: "wp-col",
|
|
318
|
+
style: {
|
|
319
|
+
gap: "var(--wp-space-2)",
|
|
320
|
+
borderTop: "var(--wp-border-w) solid var(--wp-divider)",
|
|
321
|
+
paddingTop: "var(--wp-space-3)"
|
|
322
|
+
},
|
|
323
|
+
children: [
|
|
324
|
+
/* @__PURE__ */ jsx("span", { className: "wp-label", children: "\uC774 \uACB0\uC7AC\uB77C\uC778\uC758 \uACB0\uC7AC \uB2E8\uACC4" }),
|
|
325
|
+
/* @__PURE__ */ jsx(
|
|
326
|
+
ApprovalLineEditor,
|
|
327
|
+
{
|
|
328
|
+
value: override.steps,
|
|
329
|
+
onChange: (steps) => updateOverride(override.id, { steps }),
|
|
330
|
+
searchEndpoint,
|
|
331
|
+
groupSearchEndpoint,
|
|
332
|
+
options: searchOptions,
|
|
333
|
+
disabled
|
|
334
|
+
}
|
|
335
|
+
)
|
|
336
|
+
]
|
|
337
|
+
}
|
|
338
|
+
)
|
|
339
|
+
] })
|
|
340
|
+
},
|
|
341
|
+
override.id
|
|
342
|
+
)),
|
|
343
|
+
/* @__PURE__ */ jsx("div", { className: "wp-row", children: /* @__PURE__ */ jsx(
|
|
344
|
+
Button,
|
|
345
|
+
{
|
|
346
|
+
type: "button",
|
|
347
|
+
variant: "secondary",
|
|
348
|
+
icon: "plus",
|
|
349
|
+
disabled,
|
|
350
|
+
title: disabled ? "\uBE44\uD65C\uC131\uD654\uB428" : void 0,
|
|
351
|
+
onClick: addOverride,
|
|
352
|
+
children: "\uACB0\uC7AC\uB77C\uC778 \uCD94\uAC00"
|
|
353
|
+
}
|
|
354
|
+
) })
|
|
355
|
+
] });
|
|
356
|
+
}
|
|
357
|
+
var ApprovalOverridesEditor = boxed(ApprovalOverridesEditorImpl, "ApprovalOverridesEditor");
|
|
358
|
+
|
|
359
|
+
export { ApprovalOverridesEditor };
|
package/dist/meta.d.ts
CHANGED
|
@@ -425,6 +425,9 @@ declare const richComponentMeta: {
|
|
|
425
425
|
|
|
426
426
|
declare const ApprovalStepperMeta: SduiComponentMeta;
|
|
427
427
|
declare const RankBoardMeta: SduiComponentMeta;
|
|
428
|
+
declare const ApprovalLineEditorMeta: SduiComponentMeta;
|
|
429
|
+
declare const ApprovalOverridesEditorMeta: SduiComponentMeta;
|
|
430
|
+
declare const OrgChartBoardMeta: SduiComponentMeta;
|
|
428
431
|
declare const AutocompleteFieldMeta: SduiComponentMeta;
|
|
429
432
|
declare const InlineEditMeta: SduiComponentMeta;
|
|
430
433
|
declare const JsonFieldMeta: SduiComponentMeta;
|
|
@@ -458,7 +461,10 @@ declare const StripMeta: SduiComponentMeta;
|
|
|
458
461
|
* 프롭을 못 그린다.
|
|
459
462
|
*/
|
|
460
463
|
declare const widgetComponentMeta: {
|
|
464
|
+
ApprovalLineEditor: SduiComponentMeta;
|
|
465
|
+
ApprovalOverridesEditor: SduiComponentMeta;
|
|
461
466
|
ApprovalStepper: SduiComponentMeta;
|
|
467
|
+
OrgChartBoard: SduiComponentMeta;
|
|
462
468
|
RankBoard: SduiComponentMeta;
|
|
463
469
|
AutocompleteField: SduiComponentMeta;
|
|
464
470
|
ColumnBoard: SduiComponentMeta;
|
|
@@ -592,4 +598,4 @@ declare function paletteGroups(catalog?: Record<string, SduiComponentMeta>): Arr
|
|
|
592
598
|
items: SduiComponentMeta[];
|
|
593
599
|
}>;
|
|
594
600
|
|
|
595
|
-
export { ActionsMeta, AlertMeta, ApprovalStepperMeta, AutocompleteFieldMeta, AvatarMeta, BadgeMeta, BreadcrumbMeta, ButtonMeta, CanMeta, CardMeta, ChartMeta, CheckboxMeta, ColMeta, ColumnBoardMeta, DatePickerMeta, DateRangePickerMeta, DialogMeta, DiffViewMeta, DisclosureMeta, DividerMeta, EmptyStateMeta, EventCalendarMeta, FieldMeta, ForEachMeta, FormMeta, FragmentMeta, GridMeta, IconButtonMeta, IconMeta, ImageLightboxMeta, InlineEditMeta, InputMeta, JsonFieldMeta, KeyValueListMeta, LiveClockMeta, MapPreviewMeta, OrgChartMeta, PageHeadMeta, PaginationMeta, PeriodFilterMeta, PrintSheetMeta, ProgressBarMeta, RadioMeta, RankBoardMeta, RecordSheetMeta, RemoteSearchResultsMeta, RowMeta, SDUI_CATEGORIES, SELF_AXIS_PROPS, type SduiCategory, type SduiChildrenMeta, type SduiComponentMeta, type SduiDomMeta, type SduiEnumOption, type SduiPropGroup, type SduiPropKind, type SduiPropMeta, type SduiResizeMeta, type SduiSlotMeta, SearchResultsMeta, SearchableMultiPickerMeta, SectionMeta, SecureScreenMeta, SegmentedControlMeta, SelectMeta, ShowMeta, SidebarNavMeta, SortHandleMeta, SortableListMeta, SpacerMeta, SpinnerMeta, StackedMeterMeta, StatCardMeta, StripMeta, SummaryTableMeta, SwitchMeta, TableMeta, TabsMeta, TagMeta, TagMultiSelectMeta, TextMeta, TextareaMeta, TimePickerMeta, TimelineMeta, ToastMeta, TooltipMeta, TreePickerMeta, TreeViewMeta, allComponentMeta, builtinComponentMeta, coreComponentMeta, dsComponentMeta, getComponentMeta, paletteGroups, richComponentMeta, slotNamesOf, widgetComponentMeta, withSelfAxis, withSelfAxisAll };
|
|
601
|
+
export { ActionsMeta, AlertMeta, ApprovalLineEditorMeta, ApprovalOverridesEditorMeta, ApprovalStepperMeta, AutocompleteFieldMeta, AvatarMeta, BadgeMeta, BreadcrumbMeta, ButtonMeta, CanMeta, CardMeta, ChartMeta, CheckboxMeta, ColMeta, ColumnBoardMeta, DatePickerMeta, DateRangePickerMeta, DialogMeta, DiffViewMeta, DisclosureMeta, DividerMeta, EmptyStateMeta, EventCalendarMeta, FieldMeta, ForEachMeta, FormMeta, FragmentMeta, GridMeta, IconButtonMeta, IconMeta, ImageLightboxMeta, InlineEditMeta, InputMeta, JsonFieldMeta, KeyValueListMeta, LiveClockMeta, MapPreviewMeta, OrgChartBoardMeta, OrgChartMeta, PageHeadMeta, PaginationMeta, PeriodFilterMeta, PrintSheetMeta, ProgressBarMeta, RadioMeta, RankBoardMeta, RecordSheetMeta, RemoteSearchResultsMeta, RowMeta, SDUI_CATEGORIES, SELF_AXIS_PROPS, type SduiCategory, type SduiChildrenMeta, type SduiComponentMeta, type SduiDomMeta, type SduiEnumOption, type SduiPropGroup, type SduiPropKind, type SduiPropMeta, type SduiResizeMeta, type SduiSlotMeta, SearchResultsMeta, SearchableMultiPickerMeta, SectionMeta, SecureScreenMeta, SegmentedControlMeta, SelectMeta, ShowMeta, SidebarNavMeta, SortHandleMeta, SortableListMeta, SpacerMeta, SpinnerMeta, StackedMeterMeta, StatCardMeta, StripMeta, SummaryTableMeta, SwitchMeta, TableMeta, TabsMeta, TagMeta, TagMultiSelectMeta, TextMeta, TextareaMeta, TimePickerMeta, TimelineMeta, ToastMeta, TooltipMeta, TreePickerMeta, TreeViewMeta, allComponentMeta, builtinComponentMeta, coreComponentMeta, dsComponentMeta, getComponentMeta, paletteGroups, richComponentMeta, slotNamesOf, widgetComponentMeta, withSelfAxis, withSelfAxisAll };
|