@wipco/sdui 0.28.0 → 0.30.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.
@@ -0,0 +1,333 @@
1
+ import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
2
+ import { Alert, Badge, Spinner, Button, Input, Checkbox } from './chunk-WIDDHR7L.js';
3
+ import { boxed } from './chunk-SAN4IX6N.js';
4
+ import { useMemo, useState, useRef, useCallback, useEffect } from 'react';
5
+ import { jsxs, jsx } from 'react/jsx-runtime';
6
+
7
+ var deptOf = (row) => row.department_name ?? row.department?.name ?? null;
8
+ function parseMembers(json) {
9
+ if (typeof json !== "object" || json === null) return [];
10
+ const obj = json;
11
+ const rows = Array.isArray(obj.employees) ? obj.employees : Array.isArray(obj.data) ? obj.data : [];
12
+ return rows.filter(
13
+ (row) => typeof row === "object" && row !== null && typeof row.id === "string"
14
+ );
15
+ }
16
+ var messageOf = (err, fallback) => err instanceof Error && err.message ? err.message : fallback;
17
+ var searchTextOf = (row) => [row.name, row.employee_number, deptOf(row), row.job_title, row.work_email].filter(Boolean).join(" ").toLowerCase();
18
+ var boxStyle = {
19
+ border: "var(--wp-border-w) solid var(--wp-border-default)",
20
+ borderRadius: "var(--wp-radius-lg)",
21
+ overflow: "hidden"
22
+ };
23
+ function RoleMemberPickerImpl({
24
+ catalogEndpoint = "/employees",
25
+ employees,
26
+ sourceEndpoint,
27
+ disabled = false
28
+ }) {
29
+ const adapter = useSduiAdapter();
30
+ const api = hostFetchOf(adapter) ?? defaultAdapter.fetch;
31
+ const base = useMemo(() => sourceEndpoint ? sourceEndpoint.split("?")[0] : null, [sourceEndpoint]);
32
+ const [members, setMembers] = useState(null);
33
+ const [membersLoading, setMembersLoading] = useState(false);
34
+ const [error, setError] = useState(null);
35
+ const [adding, setAdding] = useState(false);
36
+ const [search, setSearch] = useState("");
37
+ const [selected, setSelected] = useState([]);
38
+ const [saving, setSaving] = useState(false);
39
+ const [removingId, setRemovingId] = useState(null);
40
+ const requestSeq = useRef(0);
41
+ const fetchMembers = useCallback((endpoint) => {
42
+ const seq = ++requestSeq.current;
43
+ setMembersLoading(true);
44
+ api(endpoint, { method: "GET" }).then((response) => {
45
+ if (requestSeq.current !== seq) return;
46
+ setMembers(parseMembers(response));
47
+ }).catch((err) => {
48
+ if (requestSeq.current !== seq) return;
49
+ setMembers((prev) => prev ?? []);
50
+ if (!(err?.status === 503)) {
51
+ setError(messageOf(err, "\uC5ED\uD560\uC5D0 \uBD80\uC5EC\uB41C \uC0AC\uC6A9\uC790\uB97C \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."));
52
+ }
53
+ }).finally(() => {
54
+ if (requestSeq.current === seq) setMembersLoading(false);
55
+ });
56
+ }, []);
57
+ const seededFor = useRef(null);
58
+ useEffect(() => {
59
+ if (!sourceEndpoint || seededFor.current === sourceEndpoint) return;
60
+ seededFor.current = sourceEndpoint;
61
+ setAdding(false);
62
+ setSearch("");
63
+ setSelected([]);
64
+ setError(null);
65
+ fetchMembers(sourceEndpoint);
66
+ }, [sourceEndpoint, fetchMembers]);
67
+ const givenCatalog = useMemo(
68
+ () => Array.isArray(employees) ? employees.filter((row) => row && typeof row.id === "string") : [],
69
+ [employees]
70
+ );
71
+ const [fetchedCatalog, setFetchedCatalog] = useState(null);
72
+ useEffect(() => {
73
+ if (givenCatalog.length > 0 || fetchedCatalog !== null) return;
74
+ let alive = true;
75
+ (async () => {
76
+ const rows = [];
77
+ for (let page = 0; page < 10; page += 1) {
78
+ const response = await api(`${catalogEndpoint}?limit=500&offset=${rows.length}`, {
79
+ method: "GET"
80
+ });
81
+ const batch = Array.isArray(response?.data) ? response.data : [];
82
+ rows.push(...batch.filter((row) => row && typeof row.id === "string"));
83
+ const total = typeof response?.total === "number" ? response.total : rows.length;
84
+ if (batch.length === 0 || rows.length >= total) break;
85
+ }
86
+ if (alive) setFetchedCatalog(rows);
87
+ })().catch(() => {
88
+ if (alive) setFetchedCatalog([]);
89
+ });
90
+ return () => {
91
+ alive = false;
92
+ };
93
+ }, [givenCatalog, fetchedCatalog, api, catalogEndpoint]);
94
+ const catalog = givenCatalog.length > 0 ? givenCatalog : fetchedCatalog ?? [];
95
+ const catalogLoading = givenCatalog.length === 0 && fetchedCatalog === null;
96
+ const memberIds = useMemo(() => new Set((members ?? []).map((row) => row.id)), [members]);
97
+ const candidates = useMemo(() => {
98
+ const available = catalog.filter((row) => !memberIds.has(row.id));
99
+ const keyword = search.trim().toLowerCase();
100
+ if (!keyword) return available;
101
+ return available.filter((row) => searchTextOf(row).includes(keyword));
102
+ }, [catalog, memberIds, search]);
103
+ const selectedSet = useMemo(() => new Set(selected), [selected]);
104
+ const toggleSelected = (id, on) => {
105
+ setSelected(
106
+ (current) => on ? current.includes(id) ? current : [...current, id] : current.filter((item) => item !== id)
107
+ );
108
+ };
109
+ const addSelected = () => {
110
+ if (!base || selected.length === 0 || saving) return;
111
+ setSaving(true);
112
+ setError(null);
113
+ api(base, { method: "POST", body: { employees: selected } }).then((response) => {
114
+ setMembers(parseMembers(response));
115
+ setSelected([]);
116
+ setSearch("");
117
+ setAdding(false);
118
+ }).catch((err) => setError(messageOf(err, "\uC5ED\uD560 \uBD80\uC5EC\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4."))).finally(() => setSaving(false));
119
+ };
120
+ const removeMember = (id) => {
121
+ if (!base || removingId) return;
122
+ setRemovingId(id);
123
+ setError(null);
124
+ api(`${base}/${encodeURIComponent(id)}`, { method: "DELETE" }).then((response) => setMembers(parseMembers(response))).catch((err) => setError(messageOf(err, "\uC5ED\uD560 \uD574\uC81C\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4."))).finally(() => setRemovingId(null));
125
+ };
126
+ const memberRows = members ?? [];
127
+ const busy = disabled || membersLoading;
128
+ return /* @__PURE__ */ jsxs("div", { className: "wp-col", style: { gap: "var(--wp-space-3)" }, children: [
129
+ error ? /* @__PURE__ */ jsx(Alert, { tone: "danger", onClose: () => setError(null), children: error }) : null,
130
+ /* @__PURE__ */ jsxs("div", { className: "wp-row", style: { alignItems: "center", gap: "var(--wp-space-2)" }, children: [
131
+ /* @__PURE__ */ jsxs(Badge, { tone: memberRows.length > 0 ? "brand" : "neutral", children: [
132
+ memberRows.length,
133
+ "\uBA85"
134
+ ] }),
135
+ /* @__PURE__ */ jsxs("span", { className: "wp-body-sm", style: { flex: 1 }, children: [
136
+ "\uC5D0\uAC8C \uBD80\uC5EC\uB428",
137
+ membersLoading ? /* @__PURE__ */ jsx(Spinner, { size: "sm", label: "\uBD88\uB7EC\uC624\uB294 \uC911", style: { marginLeft: "var(--wp-space-2)" } }) : null
138
+ ] }),
139
+ /* @__PURE__ */ jsx(
140
+ Button,
141
+ {
142
+ type: "button",
143
+ size: "sm",
144
+ variant: "secondary",
145
+ icon: "refresh-ccw",
146
+ disabled: !sourceEndpoint || membersLoading,
147
+ onClick: () => sourceEndpoint && fetchMembers(sourceEndpoint),
148
+ children: "\uC0C8\uB85C\uACE0\uCE68"
149
+ }
150
+ ),
151
+ /* @__PURE__ */ jsx(
152
+ Button,
153
+ {
154
+ type: "button",
155
+ size: "sm",
156
+ variant: "primary",
157
+ icon: "user-plus",
158
+ disabled: busy || !base,
159
+ onClick: () => {
160
+ setSearch("");
161
+ setSelected([]);
162
+ setAdding((current) => !current);
163
+ },
164
+ children: "\uC0AC\uC6A9\uC790 \uCD94\uAC00"
165
+ }
166
+ )
167
+ ] }),
168
+ adding ? /* @__PURE__ */ jsxs(
169
+ "div",
170
+ {
171
+ className: "wp-col",
172
+ style: {
173
+ gap: "var(--wp-space-2)",
174
+ border: "var(--wp-border-w) solid var(--wp-border-brand)",
175
+ borderRadius: "var(--wp-radius-lg)",
176
+ padding: "var(--wp-space-3)"
177
+ },
178
+ children: [
179
+ /* @__PURE__ */ jsx(
180
+ Input,
181
+ {
182
+ icon: "search",
183
+ size: "sm",
184
+ value: search,
185
+ placeholder: "\uC774\uB984, \uC0AC\uBC88, \uBD80\uC11C, \uC9C1\uCC45, \uC774\uBA54\uC77C \uAC80\uC0C9",
186
+ onChange: (event) => setSearch(event.target.value)
187
+ }
188
+ ),
189
+ /* @__PURE__ */ jsx("div", { style: { ...boxStyle, maxHeight: 280, overflowY: "auto" }, children: catalogLoading ? /* @__PURE__ */ jsx("div", { className: "wp-row", style: { justifyContent: "center", padding: "var(--wp-space-4)" }, children: /* @__PURE__ */ jsx(Spinner, { size: "sm", label: "\uC9C1\uC6D0\uC744 \uBD88\uB7EC\uC624\uB294 \uC911" }) }) : candidates.length === 0 ? /* @__PURE__ */ jsx(
190
+ "div",
191
+ {
192
+ className: "wp-body-sm",
193
+ style: { padding: "var(--wp-space-4)", textAlign: "center", color: "var(--wp-text-muted)" },
194
+ children: "\uCD94\uAC00\uD560 \uC218 \uC788\uB294 \uC0AC\uC6A9\uC790\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."
195
+ }
196
+ ) : candidates.map((row, index) => /* @__PURE__ */ jsxs(
197
+ "label",
198
+ {
199
+ className: "wp-row",
200
+ style: {
201
+ alignItems: "center",
202
+ gap: "var(--wp-space-2)",
203
+ padding: "var(--wp-space-2) var(--wp-space-3)",
204
+ borderTop: index > 0 ? "var(--wp-border-w) solid var(--wp-divider)" : void 0,
205
+ cursor: "pointer"
206
+ },
207
+ children: [
208
+ /* @__PURE__ */ jsx(
209
+ Checkbox,
210
+ {
211
+ checked: selectedSet.has(row.id),
212
+ disabled: busy || saving,
213
+ onChange: (event) => toggleSelected(row.id, event.target.checked)
214
+ }
215
+ ),
216
+ /* @__PURE__ */ jsxs("span", { className: "wp-col", style: { gap: 0, minWidth: 0 }, children: [
217
+ /* @__PURE__ */ jsxs("span", { className: "wp-body-sm", style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: [
218
+ row.name || row.id,
219
+ row.job_title ? ` \xB7 ${row.job_title}` : ""
220
+ ] }),
221
+ /* @__PURE__ */ jsxs("span", { className: "wp-caption", style: { color: "var(--wp-text-muted)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: [
222
+ deptOf(row) || "-",
223
+ row.employee_number ? ` \xB7 ${row.employee_number}` : "",
224
+ row.work_email ? ` \xB7 ${row.work_email}` : ""
225
+ ] })
226
+ ] })
227
+ ]
228
+ },
229
+ row.id
230
+ )) }),
231
+ /* @__PURE__ */ jsxs("div", { className: "wp-row", style: { alignItems: "center", gap: "var(--wp-space-2)" }, children: [
232
+ /* @__PURE__ */ jsxs("span", { className: "wp-caption", style: { flex: 1, color: "var(--wp-text-muted)" }, children: [
233
+ selected.length,
234
+ "\uBA85 \uC120\uD0DD\uB428"
235
+ ] }),
236
+ /* @__PURE__ */ jsx(Button, { type: "button", size: "sm", variant: "ghost", disabled: saving, onClick: () => setAdding(false), children: "\uCDE8\uC18C" }),
237
+ /* @__PURE__ */ jsx(
238
+ Button,
239
+ {
240
+ type: "button",
241
+ size: "sm",
242
+ variant: "primary",
243
+ icon: "user-plus",
244
+ loading: saving,
245
+ disabled: busy || selected.length === 0,
246
+ onClick: addSelected,
247
+ children: "\uCD94\uAC00"
248
+ }
249
+ )
250
+ ] })
251
+ ]
252
+ }
253
+ ) : null,
254
+ /* @__PURE__ */ jsxs("div", { style: boxStyle, children: [
255
+ /* @__PURE__ */ jsxs(
256
+ "div",
257
+ {
258
+ className: "wp-row wp-caption",
259
+ style: {
260
+ alignItems: "center",
261
+ padding: "var(--wp-space-1) var(--wp-space-3)",
262
+ background: "var(--wp-surface-sunken)",
263
+ color: "var(--wp-text-muted)"
264
+ },
265
+ children: [
266
+ /* @__PURE__ */ jsx("span", { style: { flex: 1.4 }, children: "\uC0AC\uC6A9\uC790" }),
267
+ /* @__PURE__ */ jsx("span", { style: { flex: 1 }, children: "\uBD80\uC11C" }),
268
+ /* @__PURE__ */ jsx("span", { style: { flex: 1.4 }, children: "\uC774\uBA54\uC77C" }),
269
+ /* @__PURE__ */ jsx("span", { style: { flex: "none", width: 64 } })
270
+ ]
271
+ }
272
+ ),
273
+ memberRows.length === 0 ? /* @__PURE__ */ jsx(
274
+ "div",
275
+ {
276
+ className: "wp-body-sm",
277
+ style: {
278
+ padding: "var(--wp-space-5) var(--wp-space-3)",
279
+ textAlign: "center",
280
+ color: "var(--wp-text-muted)",
281
+ borderTop: "var(--wp-border-w) solid var(--wp-divider)"
282
+ },
283
+ children: membersLoading ? "\uBD88\uB7EC\uC624\uB294 \uC911..." : "\uC774 \uC5ED\uD560\uC744 \uBD80\uC5EC\uBC1B\uC740 \uC0AC\uC6A9\uC790\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."
284
+ }
285
+ ) : memberRows.map((row) => /* @__PURE__ */ jsxs(
286
+ "div",
287
+ {
288
+ className: "wp-row",
289
+ style: {
290
+ alignItems: "center",
291
+ padding: "var(--wp-space-2) var(--wp-space-3)",
292
+ borderTop: "var(--wp-border-w) solid var(--wp-divider)"
293
+ },
294
+ children: [
295
+ /* @__PURE__ */ jsxs("span", { className: "wp-col", style: { flex: 1.4, gap: 0, minWidth: 0 }, children: [
296
+ /* @__PURE__ */ jsx("span", { className: "wp-body-sm", children: row.name || row.id }),
297
+ /* @__PURE__ */ jsxs("span", { className: "wp-caption", style: { color: "var(--wp-text-muted)" }, children: [
298
+ row.employee_number || "-",
299
+ row.job_title ? ` \xB7 ${row.job_title}` : ""
300
+ ] })
301
+ ] }),
302
+ /* @__PURE__ */ jsx("span", { className: "wp-body-sm", style: { flex: 1, minWidth: 0, color: "var(--wp-text-muted)" }, children: deptOf(row) || "-" }),
303
+ /* @__PURE__ */ jsx(
304
+ "span",
305
+ {
306
+ className: "wp-body-sm",
307
+ style: { flex: 1.4, minWidth: 0, color: "var(--wp-text-muted)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
308
+ children: row.work_email || "-"
309
+ }
310
+ ),
311
+ /* @__PURE__ */ jsx("span", { style: { flex: "none", width: 64, textAlign: "right" }, children: /* @__PURE__ */ jsx(
312
+ Button,
313
+ {
314
+ type: "button",
315
+ size: "sm",
316
+ variant: "ghost",
317
+ icon: "trash-2",
318
+ loading: removingId === row.id,
319
+ disabled: busy || removingId !== null && removingId !== row.id,
320
+ onClick: () => removeMember(row.id),
321
+ children: "\uD574\uC81C"
322
+ }
323
+ ) })
324
+ ]
325
+ },
326
+ row.id
327
+ ))
328
+ ] })
329
+ ] });
330
+ }
331
+ var RoleMemberPicker = boxed(RoleMemberPickerImpl, "RoleMemberPicker");
332
+
333
+ export { RoleMemberPicker };
package/dist/index.js CHANGED
@@ -6,11 +6,11 @@ import { ImageViewer } from './chunk-THEP3VWY.js';
6
6
  export { ImageViewer } from './chunk-THEP3VWY.js';
7
7
  import { normalizeSearchFields, searchValuesFromParams, splitMultiValue, includesLooseSearch, cascadingValuePaths, SearchToolbar, searchFieldKeys, Popover } from './chunk-BD75U73S.js';
8
8
  export { SearchToolbar, cascadingValuePaths, cleanSearchValues, includesLooseSearch, joinMultiValue, normalizeSearchText, searchFieldKeys, searchValuesFromParams, splitMultiValue } from './chunk-BD75U73S.js';
9
- import { DEV, isSafeNavigationTarget, useSduiAdapter, hostFetchOf, useSduiSandbox, resolveAdapter, assetResolverOf, SduiAdapterContext } from './chunk-DVOPZFQS.js';
10
- export { defaultAdapter, useSduiAssetResolver, useSduiSandbox } from './chunk-DVOPZFQS.js';
11
9
  import { HoistedStyle, DateRangePicker, DatePicker } from './chunk-EFMKWPZ3.js';
12
10
  export { DatePicker, DateRangePicker } from './chunk-EFMKWPZ3.js';
13
11
  export { OverlayContainerContext, OverlayLayer, getOverlayRoot, useOverlayLayer } from './chunk-XQPTSEJC.js';
12
+ import { DEV, isSafeNavigationTarget, useSduiAdapter, hostFetchOf, useSduiSandbox, resolveAdapter, assetResolverOf, SduiAdapterContext } from './chunk-DKPNFEVU.js';
13
+ export { defaultAdapter, useSduiAssetResolver, useSduiSandbox } from './chunk-DKPNFEVU.js';
14
14
  import { EmptyState, Button, Checkbox, SegmentedControl, Spinner, Select, Pagination, Icon, Card, Badge, ProgressBar, Tag, Toast, Textarea, Tabs, Table, Switch, StatCard, Input, IconButton, Field, Alert, warnOnce } from './chunk-WIDDHR7L.js';
15
15
  export { Alert, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, Dialog, EmptyState, Field, Icon, IconButton, Input, Pagination, ProgressBar, Radio, SegmentedControl, Select, SidebarNav, Spinner, StatCard, Switch, Table, Tabs, Tag, Textarea, Toast, Tooltip } from './chunk-WIDDHR7L.js';
16
16
  import { boxed, mergeStyle, containerLayoutStyle, joinClass, columnsClass, typographyStyle, LAYOUT_CSS, childLayoutFrom, CHILD_LAYOUT_PROPS } from './chunk-SAN4IX6N.js';
package/dist/meta.d.ts CHANGED
@@ -428,6 +428,9 @@ declare const RankBoardMeta: SduiComponentMeta;
428
428
  declare const ApprovalLineEditorMeta: SduiComponentMeta;
429
429
  declare const ApprovalOverridesEditorMeta: SduiComponentMeta;
430
430
  declare const OrgChartBoardMeta: SduiComponentMeta;
431
+ declare const PermissionMatrixEditorMeta: SduiComponentMeta;
432
+ declare const RoleMemberPickerMeta: SduiComponentMeta;
433
+ declare const FileDropzoneMeta: SduiComponentMeta;
431
434
  declare const AutocompleteFieldMeta: SduiComponentMeta;
432
435
  declare const InlineEditMeta: SduiComponentMeta;
433
436
  declare const JsonFieldMeta: SduiComponentMeta;
@@ -453,7 +456,7 @@ declare const StripMeta: SduiComponentMeta;
453
456
  /**
454
457
  * 위젯 어휘의 메타데이터.
455
458
  *
456
- * 키 타입이 `SduiWidgetComponentName | 'AutocompleteField'`인 이유:
459
+ * 키 타입이 `SduiWidgetComponentName | 'AutocompleteField' | 'FileDropzone'`인 이유:
457
460
  * 앞의 20종은 `widgetComponents`와 키가 어긋나면 컴파일 에러가 나야 하고(core·rich와 같다),
458
461
  * `AutocompleteField`는 그 묶음에 **일부러 빠져 있는** 이름이라 union에 직접 적어야 한다.
459
462
  * 표시 계층만 라이브러리에 있고 조회는 앱 어댑터가 얹는 구조인데(widgets/index.ts 참고),
@@ -464,6 +467,9 @@ declare const widgetComponentMeta: {
464
467
  ApprovalLineEditor: SduiComponentMeta;
465
468
  ApprovalOverridesEditor: SduiComponentMeta;
466
469
  ApprovalStepper: SduiComponentMeta;
470
+ FileDropzone: SduiComponentMeta;
471
+ PermissionMatrixEditor: SduiComponentMeta;
472
+ RoleMemberPicker: SduiComponentMeta;
467
473
  OrgChartBoard: SduiComponentMeta;
468
474
  RankBoard: SduiComponentMeta;
469
475
  AutocompleteField: SduiComponentMeta;
@@ -598,4 +604,4 @@ declare function paletteGroups(catalog?: Record<string, SduiComponentMeta>): Arr
598
604
  items: SduiComponentMeta[];
599
605
  }>;
600
606
 
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 };
607
+ 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, FileDropzoneMeta, ForEachMeta, FormMeta, FragmentMeta, GridMeta, IconButtonMeta, IconMeta, ImageLightboxMeta, InlineEditMeta, InputMeta, JsonFieldMeta, KeyValueListMeta, LiveClockMeta, MapPreviewMeta, OrgChartBoardMeta, OrgChartMeta, PageHeadMeta, PaginationMeta, PeriodFilterMeta, PermissionMatrixEditorMeta, PrintSheetMeta, ProgressBarMeta, RadioMeta, RankBoardMeta, RecordSheetMeta, RemoteSearchResultsMeta, RoleMemberPickerMeta, 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 };
package/dist/meta.js CHANGED
@@ -3736,6 +3736,219 @@ var OrgChartBoardMeta = {
3736
3736
  },
3737
3737
  resize: { kind: "none" }
3738
3738
  };
3739
+ var PermissionMatrixEditorMeta = {
3740
+ name: "PermissionMatrixEditor",
3741
+ label: "\uAD8C\uD55C \uD589\uB82C \uD3B8\uC9D1\uAE30",
3742
+ category: "input",
3743
+ icon: "shield-check",
3744
+ description: "\uC5ED\uD560\uC758 \uAD8C\uD55C 216\uC885\uC744 \uCE74\uD14C\uACE0\uB9AC\u2192\uC5D4\uD2F0\uD2F0\uB85C \uC811\uC5B4 4\uC5F0\uC0B0 \uCCB4\uD06C + \uC5D4\uD2F0\uD2F0\uBCC4 \uBC94\uC704(\uD300\xB7\uBCF8\uBD80\xB7\uC804\uCCB4)\uB85C \uD3B8\uC9D1\uD55C\uB2E4. \uAC12\uC740 PUT /roles/{id}/permissions \uC758 permissions \uBC30\uC5F4({code, scope}) \uADF8\uB300\uB85C\uB2E4.",
3745
+ props: [
3746
+ {
3747
+ name: "permissions",
3748
+ kind: "array",
3749
+ label: "\uAD8C\uD55C \uCE74\uD0C8\uB85C\uADF8",
3750
+ required: true,
3751
+ bindable: true,
3752
+ item: [
3753
+ { name: "code", kind: "string", label: "\uAD8C\uD55C \uCF54\uB4DC" },
3754
+ { name: "name", kind: "string", label: "\uAD8C\uD55C\uBA85" },
3755
+ { name: "category", kind: "string", label: "\uCE74\uD14C\uACE0\uB9AC" }
3756
+ ],
3757
+ description: "\uC804\uCCB4 \uAD8C\uD55C \uBAA9\uB85D(GET /permissions?limit=1000 \uC758 data). \uB300\uAC1C page.data \uAC00 \uCC44\uC6B4 \uC0C1\uD0DC\uB97C \uBC14\uC778\uB529\uD55C\uB2E4 \u2014 \uAE30\uBCF8 100\uAC74\uB9CC \uC624\uB294 \uD568\uC815\uC774 \uC788\uC73C\uB2C8 limit \uC744 \uAF2D \uC900\uB2E4.",
3758
+ group: "data"
3759
+ },
3760
+ {
3761
+ name: "value",
3762
+ kind: "array",
3763
+ label: "\uBD80\uC5EC \uBAA9\uB85D",
3764
+ required: true,
3765
+ item: [
3766
+ { name: "code", kind: "string", label: "\uAD8C\uD55C \uCF54\uB4DC" },
3767
+ { name: "scope", kind: "string", label: "\uBC94\uC704(team\xB7headquarter\xB7all)" }
3768
+ ],
3769
+ bindable: true,
3770
+ description: "[{code, scope}] \u2014 \uC11C\uBC84 PUT \uACC4\uC57D \uADF8\uB300\uB85C.",
3771
+ group: "data"
3772
+ },
3773
+ {
3774
+ name: "onChange",
3775
+ kind: "action",
3776
+ label: "\uBD80\uC5EC \uBCC0\uACBD",
3777
+ required: true,
3778
+ eventArg: "{code, scope} \uBC30\uC5F4 (scope \uB294 team\xB7headquarter\xB7all)",
3779
+ group: "behavior"
3780
+ },
3781
+ {
3782
+ name: "sourceEndpoint",
3783
+ kind: "string",
3784
+ label: "\uD604\uC7AC \uBD80\uC5EC \uC2DC\uB529 \uACBD\uB85C",
3785
+ description: "/roles/{id}/permissions \u2014 \uACBD\uB85C\uAC00 \uBC14\uB014 \uB54C\uB9C8\uB2E4 \uC11C\uBC84 \uAC12\uC744 onChange \uB85C \uD55C \uBC88 \uD758\uB9B0\uB2E4.",
3786
+ group: "data",
3787
+ advanced: true
3788
+ },
3789
+ { name: "disabled", kind: "boolean", label: "\uBE44\uD65C\uC131", default: false, bindable: true, group: "behavior" }
3790
+ ],
3791
+ children: { accepts: false },
3792
+ dom: { element: "div" },
3793
+ preset: {
3794
+ component: "PermissionMatrixEditor",
3795
+ props: {
3796
+ permissions: [
3797
+ { code: "asset.read", name: "\uC7A5\uBE44 \uC870\uD68C", category: "asset" },
3798
+ { code: "asset.update", name: "\uC7A5\uBE44 \uC218\uC815", category: "asset" }
3799
+ ],
3800
+ value: { $state: "grantsForm.permissions", default: [{ code: "asset.read", scope: "all" }] },
3801
+ onChange: { action: "setState", key: "grantsForm.permissions", fromEvent: true }
3802
+ }
3803
+ },
3804
+ resize: { kind: "none" }
3805
+ };
3806
+ var RoleMemberPickerMeta = {
3807
+ name: "RoleMemberPicker",
3808
+ label: "\uC5ED\uD560 \uBA64\uBC84 \uAD00\uB9AC\uAE30",
3809
+ category: "input",
3810
+ icon: "users",
3811
+ description: "\uC5ED\uD560\uC744 \uBD80\uC5EC\uBC1B\uC740 \uC0AC\uC6A9\uC790\uB97C \uBCF4\uC5EC\uC8FC\uACE0 \uAC1C\uBCC4 \uD574\uC81C(DELETE /roles/{id}/employees/{employee_id})\uC640 \uBBF8\uBC30\uC815 \uC9C1\uC6D0 \uAC80\uC0C9\xB7\uB2E4\uC911 \uC120\uD0DD \uCD94\uAC00(POST \uBCF8\uBB38 {employees:[ids]})\uB97C \uC218\uD589\uD55C\uB2E4. sourceEndpoint \uB85C \uD604\uC7AC \uBA64\uBC84\uB97C \uC2DC\uB529\uD55C\uB2E4.",
3812
+ props: [
3813
+ { name: "employees", kind: "array", label: "\uC9C1\uC6D0 \uCE74\uD0C8\uB85C\uADF8", bindable: true, item: [
3814
+ { name: "id", kind: "string", label: "\uC9C1\uC6D0 id" },
3815
+ { name: "name", kind: "string", label: "\uC774\uB984" },
3816
+ { name: "employee_number", kind: "string", label: "\uC0AC\uBC88" },
3817
+ { name: "department_name", kind: "string", label: "\uBD80\uC11C" },
3818
+ { name: "work_email", kind: "string", label: "\uC774\uBA54\uC77C" },
3819
+ { name: "job_title", kind: "string", label: "\uC9C1\uCC45" }
3820
+ ], description: "/employees?limit=500 \uC758 data \u2014 page.data \uB85C \uCC44\uC6B4\uB2E4. \uBE44\uBA74 \uC704\uC82F\uC774 offset \uD398\uC774\uC9C0\uB85C \uC790\uCCB4 \uC218\uC9D1\uD55C\uB2E4.", group: "data" },
3821
+ { name: "sourceEndpoint", kind: "string", label: "\uBA64\uBC84\uC2ED \uACBD\uB85C", description: "/roles/{id}/employees?_=seq \u2014 \uACBD\uB85C\uAC00 \uBC14\uB014 \uB54C\uB9C8\uB2E4 \uD604\uC7AC \uBA64\uBC84\uB97C \uC7AC\uC2DC\uB529\uD558\uACE0, \uCD94\uAC00\xB7\uD574\uC81C\uB294 \uCFFC\uB9AC\uB97C \uB5C0 \uAC19\uC740 \uACBD\uB85C\uB85C \uBCF4\uB0B8\uB2E4.", group: "data" },
3822
+ { name: "disabled", kind: "boolean", label: "\uBE44\uD65C\uC131", default: false, bindable: true, group: "behavior" },
3823
+ {
3824
+ name: "catalogEndpoint",
3825
+ kind: "string",
3826
+ label: "\uD6C4\uBCF4 \uBAA9\uB85D \uACBD\uB85C",
3827
+ description: "\uC751\uB2F5 {data:[{id,name,\u2026}], total} \uC744 500\uAC74\uC529 \uC218\uC9D1\uD55C\uB2E4. \uAE30\uBCF8 '/employees'.",
3828
+ group: "data",
3829
+ advanced: true
3830
+ }
3831
+ ],
3832
+ children: { accepts: false },
3833
+ dom: { element: "div" },
3834
+ preset: {
3835
+ component: "RoleMemberPicker",
3836
+ props: {
3837
+ employees: [{ id: "emp-1", name: "\uAE40\uC704\uD504", employee_number: "1001", department_name: "\uACBD\uC601\uC9C0\uC6D0\uD300", work_email: "kim@wipco.co.kr" }]
3838
+ }
3839
+ },
3840
+ resize: { kind: "none" }
3841
+ };
3842
+ var FileDropzoneMeta = {
3843
+ name: "FileDropzone",
3844
+ label: "\uD30C\uC77C \uCCA8\uBD80",
3845
+ category: "input",
3846
+ icon: "paperclip",
3847
+ description: "\uB4DC\uB798\uADF8 \uC564 \uB4DC\uB86D \uB2E4\uC911 \uCCA8\uBD80. \uC5C5\uB85C\uB4DC \uACBD\uB85C\uAC00 \uC5C6\uAC70\uB098 \uBC31\uC5D4\uB4DC\uAC00 503\uC774\uBA74 object URL \uB85C\uCEEC \uBBF8\uB9AC\uBCF4\uAE30\uB85C \uB5A8\uC5B4\uC9C4\uB2E4.",
3848
+ props: [
3849
+ {
3850
+ name: "value",
3851
+ kind: "array",
3852
+ label: "\uCCA8\uBD80 \uBAA9\uB85D",
3853
+ bindable: true,
3854
+ description: "\uC8FC\uBA74 controlled. \uC2E4\uCE21 6/7\uC774 \uC804\uBD80 $state \uBC14\uC778\uB529\uC774\uACE0 default\uAC00 \uBE48 \uBC30\uC5F4\uC774\uB2E4.",
3855
+ group: "data",
3856
+ // 실측 6/7. 원소 리터럴은 스펙에 한 건도 없어(전부 빈 배열) 형태의 근거는 타입뿐이다.
3857
+ item: [
3858
+ { name: "id", kind: "string", label: "\uC2DD\uBCC4\uC790", required: true },
3859
+ { name: "url", kind: "string", label: "URL", required: true },
3860
+ { name: "name", kind: "string", label: "\uD30C\uC77C\uBA85" }
3861
+ ]
3862
+ },
3863
+ {
3864
+ name: "onChange",
3865
+ kind: "action",
3866
+ label: "\uCCA8\uBD80 \uBCC0\uACBD",
3867
+ eventArg: "\uBCC0\uACBD\uB41C \uCCA8\uBD80 \uBAA9\uB85D \uBC30\uC5F4",
3868
+ group: "behavior"
3869
+ },
3870
+ // 실측 6/7 — 전부 setState + fromEvent
3871
+ {
3872
+ name: "endpoint",
3873
+ kind: "string",
3874
+ label: "\uC5C5\uB85C\uB4DC \uACBD\uB85C",
3875
+ description: '\uD30C\uC77C\uB9C8\uB2E4 FormData("file")\uB97C POST\uD558\uACE0 {id,url} \uC751\uB2F5\uC744 \uAE30\uB300\uD55C\uB2E4. \uC5C6\uC73C\uBA74 \uB85C\uCEEC \uBBF8\uB9AC\uBCF4\uAE30 \uBAA8\uB4DC\uB85C\uB9CC \uB3D9\uC791\uD55C\uB2E4.',
3876
+ group: "data"
3877
+ },
3878
+ // 실측 1/7 ("/asset/attachments")
3879
+ { name: "maxCount", kind: "number", label: "\uCD5C\uB300 \uCCA8\uBD80 \uC218", group: "behavior" },
3880
+ // 실측 7/7 (5×4, 8×3)
3881
+ {
3882
+ name: "accept",
3883
+ kind: "string",
3884
+ label: "\uD5C8\uC6A9 \uD615\uC2DD",
3885
+ default: "image/*",
3886
+ description: "input accept \uBB38\uBC95. \uB9DE\uC9C0 \uC54A\uB294 \uD30C\uC77C\uC740 \uC81C\uC678\uD558\uACE0 \uC778\uB77C\uC778 \uACBD\uACE0\uB85C \uC548\uB0B4\uD55C\uB2E4.",
3887
+ group: "behavior"
3888
+ },
3889
+ // 실측 7/7 ("image/*,.pdf"×4, "image/*"×3)
3890
+ { name: "hint", kind: "string", label: "\uBCF4\uC870 \uBB38\uAD6C", description: "\uB4DC\uB86D \uC601\uC5ED \uC544\uB798\uC5D0 \uBD99\uB294\uB2E4.", group: "content" },
3891
+ // 실측 7/7
3892
+ {
3893
+ name: "deleteEndpoint",
3894
+ kind: "string",
3895
+ label: "\uC0AD\uC81C \uACBD\uB85C \uAE30\uC900",
3896
+ description: "\uC8FC\uBA74 \uC378\uB124\uC77C \uC0AD\uC81C\uAC00 DELETE {\uC774 \uAC12}/{id}\uAE4C\uC9C0 \uBCF4\uB0B8\uB2E4(\uC608: /attachments). \uC774\uBBF8 \uC62C\uB77C\uAC04 \uC0AC\uC9C4\uC744 \uC774 \uCE78\uC5D0 \uCC44\uC6CC \uB458 \uB54C \uD544\uC218 \u2014 \uC5C6\uC73C\uBA74 \uC9C0\uC6B4 \uAC83\uCC98\uB7FC \uBCF4\uC774\uB294\uB370 \uC11C\uBC84\uC5D0\uB294 \uB0A8\uB294\uB2E4.",
3897
+ group: "data"
3898
+ },
3899
+ {
3900
+ name: "onRemove",
3901
+ kind: "action",
3902
+ label: "\uC0AD\uC81C \uD6C4",
3903
+ description: "\uC11C\uBC84\uC5D0\uC11C \uC2E4\uC81C\uB85C \uC9C0\uC6B4 \uB4A4 \uD55C \uBC88. \uBCF4\uD1B5 \uBAA9\uB85D\xB7\uC0C1\uC138\uB97C \uB2E4\uC2DC \uC77D\uB294 invalidate\uB97C \uAC74\uB2E4.",
3904
+ group: "behavior"
3905
+ },
3906
+ { name: "disabled", kind: "boolean", label: "\uBE44\uD65C\uC131", default: false, bindable: true, group: "behavior" },
3907
+ // 실측 0/7 — 구현에는 있다
3908
+ {
3909
+ name: "onBusyChange",
3910
+ kind: "action",
3911
+ label: "\uC5C5\uB85C\uB4DC \uC9C4\uD589 \uC54C\uB9BC",
3912
+ eventArg: "\uC5C5\uB85C\uB4DC \uD050\uAC00 \uB3C4\uB294 \uB3D9\uC548 true, \uB05D\uB098\uBA74 false",
3913
+ description: "\uCCA8\uBD80\uAC00 \uC62C\uB77C\uAC00\uB294 \uB3D9\uC548 \uC800\uC7A5 \uBC84\uD2BC\uC744 \uC7A0\uAE00 \uB54C \uC4F4\uB2E4.",
3914
+ group: "behavior",
3915
+ advanced: true
3916
+ },
3917
+ // 실측 0/7 — 구현에는 있다
3918
+ {
3919
+ name: "fileField",
3920
+ kind: "string",
3921
+ label: "multipart \uD544\uB4DC \uC774\uB984",
3922
+ description: "\uAE30\uBCF8 'file'. \uC11C\uBC84\uAC00 \uB2E4\uB978 \uC774\uB984\uC744 \uBC1B\uC73C\uBA74 \uBC14\uAFBC\uB2E4.",
3923
+ group: "data",
3924
+ advanced: true
3925
+ },
3926
+ {
3927
+ name: "localFallbackOn503",
3928
+ kind: "boolean",
3929
+ label: "503\uC774\uBA74 \uB85C\uCEEC \uBBF8\uB9AC\uBCF4\uAE30",
3930
+ description: '503\uC744 "\uBC31\uC5D4\uB4DC \uBBF8\uC5F0\uB3D9"\uC73C\uB85C \uC77D\uC5B4 \uAC15\uB4F1\uD55C\uB2E4. \uAE30\uBCF8 \uAEBC\uC9D0 \u2014 \uC77C\uBC18 \uC11C\uBC84\uC758 \uACFC\uBD80\uD558 503\uC5D0\uC11C "\uC62C\uB9B0 \uAC83 \uAC19\uC740\uB370 \uC0C8\uB85C\uACE0\uCE68\uD558\uBA74 \uC5C6\uB294" \uD56D\uBAA9\uC744 \uB9CC\uB4E4\uBA74 \uC548 \uB418\uAE30 \uB54C\uBB38\uC774\uB2E4.',
3931
+ group: "behavior",
3932
+ advanced: true
3933
+ }
3934
+ ],
3935
+ children: { accepts: false },
3936
+ dom: { element: "div" },
3937
+ // 실측: 루트가 <div class="wp-col">
3938
+ // 프리셋에 endpoint를 넣지 않는다 — 넣으면 캔버스에서 파일을 놓는 순간 실제 업로드가 나간다.
3939
+ // 없으면 업로드 큐가 object URL로만 돌아 바깥으로 나가는 요청이 0건이다.
3940
+ preset: {
3941
+ component: "FileDropzone",
3942
+ props: {
3943
+ value: { $state: "form.attachments", default: [] },
3944
+ onChange: { action: "setState", key: "form.attachments", fromEvent: true },
3945
+ accept: "image/*",
3946
+ maxCount: 5,
3947
+ hint: "\uC774\uBBF8\uC9C0 \uD30C\uC77C\uC744 \uB04C\uC5B4\uB2E4 \uB193\uAC70\uB098 \uD074\uB9AD\uD574 \uC120\uD0DD\uD558\uC138\uC694"
3948
+ }
3949
+ },
3950
+ resize: { kind: "none" }
3951
+ };
3739
3952
  var AutocompleteFieldMeta = {
3740
3953
  name: "AutocompleteField",
3741
3954
  label: "\uC790\uB3D9\uC644\uC131",
@@ -5156,6 +5369,9 @@ var widgetComponentMeta = {
5156
5369
  ApprovalLineEditor: ApprovalLineEditorMeta,
5157
5370
  ApprovalOverridesEditor: ApprovalOverridesEditorMeta,
5158
5371
  ApprovalStepper: ApprovalStepperMeta,
5372
+ FileDropzone: FileDropzoneMeta,
5373
+ PermissionMatrixEditor: PermissionMatrixEditorMeta,
5374
+ RoleMemberPicker: RoleMemberPickerMeta,
5159
5375
  OrgChartBoard: OrgChartBoardMeta,
5160
5376
  RankBoard: RankBoardMeta,
5161
5377
  AutocompleteField: AutocompleteFieldMeta,
@@ -5215,4 +5431,4 @@ function paletteGroups(catalog = allComponentMeta) {
5215
5431
  })).filter((group) => group.items.length > 0);
5216
5432
  }
5217
5433
 
5218
- 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, 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 };
5434
+ 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, FileDropzoneMeta, ForEachMeta, FormMeta, FragmentMeta, GridMeta, IconButtonMeta, IconMeta, ImageLightboxMeta, InlineEditMeta, InputMeta, JsonFieldMeta, KeyValueListMeta, LiveClockMeta, MapPreviewMeta, OrgChartBoardMeta, OrgChartMeta, PageHeadMeta, PaginationMeta, PeriodFilterMeta, PermissionMatrixEditorMeta, PrintSheetMeta, ProgressBarMeta, RadioMeta, RankBoardMeta, RecordSheetMeta, RemoteSearchResultsMeta, RoleMemberPickerMeta, RowMeta, SDUI_CATEGORIES, SELF_AXIS_PROPS, 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 };
package/dist/rich.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { useOptionalModule, DependencyPlaceholder } from './chunk-WXOU7QTN.js';
2
2
  export { TimePicker } from './chunk-WXOU7QTN.js';
3
- import { useSduiAssetResolver } from './chunk-DVOPZFQS.js';
4
3
  import { HoistedStyle } from './chunk-EFMKWPZ3.js';
5
4
  export { DatePicker, DateRangePicker } from './chunk-EFMKWPZ3.js';
6
5
  import './chunk-XQPTSEJC.js';
6
+ import { useSduiAssetResolver } from './chunk-DKPNFEVU.js';
7
7
  import { Spinner, EmptyState } from './chunk-WIDDHR7L.js';
8
8
  import './chunk-SAN4IX6N.js';
9
9
  import { useRef, useCallback, useMemo, useState, useEffect, useLayoutEffect } from 'react';
@@ -1,7 +1,7 @@
1
- export { ApprovalLineEditor, stepLabel, stepTypeIcon } from '../chunk-SAPJVLZM.js';
1
+ export { ApprovalLineEditor, stepLabel, stepTypeIcon } from '../chunk-S4LOH2TU.js';
2
2
  import '../chunk-BD75U73S.js';
3
- import '../chunk-DVOPZFQS.js';
4
3
  import '../chunk-EFMKWPZ3.js';
5
4
  import '../chunk-XQPTSEJC.js';
5
+ import '../chunk-DKPNFEVU.js';
6
6
  import '../chunk-WIDDHR7L.js';
7
7
  import '../chunk-SAN4IX6N.js';