@wipco/sdui 0.7.0 → 0.8.1
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-XY2JKFAV.js → chunk-3PYMVHL3.js} +4 -2
- package/dist/{chunk-562QK2G3.js → chunk-4CZJF5PR.js} +4 -2
- package/dist/{chunk-73ZMMJRX.js → chunk-4IRLQWQC.js} +4 -2
- package/dist/{chunk-KAXPN6KT.js → chunk-5A7BWIGN.js} +8 -5
- package/dist/{chunk-B4A4KY4K.js → chunk-7AHNAX6T.js} +4 -2
- package/dist/{chunk-CRSY67TZ.js → chunk-B5JTXYDB.js} +19 -21
- package/dist/{chunk-7Y4J7EOK.js → chunk-BMZKZGJF.js} +3 -2
- package/dist/{chunk-63U54JAG.js → chunk-BT4HC3WR.js} +4 -2
- package/dist/{chunk-L4ORCIVN.js → chunk-JONNWN6N.js} +4 -2
- package/dist/{chunk-5O6PFLFJ.js → chunk-JWYBFODH.js} +4 -2
- package/dist/{chunk-TKB7H5DB.js → chunk-NIRR6KSQ.js} +1 -1
- package/dist/{chunk-USKRM22W.js → chunk-O4U7Y3XL.js} +3 -2
- package/dist/{chunk-H32WQHB7.js → chunk-OINKP2BE.js} +5 -3
- package/dist/{chunk-QBIVW7E6.js → chunk-SAN4IX6N.js} +77 -2
- package/dist/{chunk-57LLG32F.js → chunk-TBAIREB3.js} +5 -3
- package/dist/{chunk-2ARNY7WZ.js → chunk-TMAVD3WL.js} +4 -2
- package/dist/{chunk-HGFYXY7F.js → chunk-VK6KWB65.js} +4 -2
- package/dist/{chunk-GWVK3BHB.js → chunk-VV73LOAE.js} +5 -3
- package/dist/{chunk-J2DSDERS.js → chunk-WJEGCCPY.js} +4 -2
- package/dist/{chunk-TAFUDHIX.js → chunk-WLWWN5LW.js} +4 -2
- package/dist/{chunk-XMMYJSRV.js → chunk-WMPSOKNI.js} +4 -2
- package/dist/{chunk-Y3HYEWSY.js → chunk-X3DGYP4W.js} +4 -2
- package/dist/{chunk-DN5YNPJS.js → chunk-YFUQUWWH.js} +5 -3
- 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 { Badge, Checkbox, IconButton, Icon } from './chunk-
|
|
1
|
+
import { Badge, Checkbox, IconButton, Icon } from './chunk-B5JTXYDB.js';
|
|
2
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
2
3
|
import { useState, useEffect } from 'react';
|
|
3
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
4
5
|
|
|
@@ -31,7 +32,7 @@ function toneStyle(tone) {
|
|
|
31
32
|
color: `var(--wp-status-${tone}-fg)`
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
|
-
function
|
|
35
|
+
function ColumnBoardImpl({
|
|
35
36
|
columns,
|
|
36
37
|
items,
|
|
37
38
|
onMove,
|
|
@@ -186,5 +187,6 @@ function ColumnBoard({
|
|
|
186
187
|
] }) : null
|
|
187
188
|
] });
|
|
188
189
|
}
|
|
190
|
+
var ColumnBoard = boxed(ColumnBoardImpl, "ColumnBoard");
|
|
189
191
|
|
|
190
192
|
export { ColumnBoard };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { TreeView } from './chunk-
|
|
2
|
-
import { Field, Dialog, Icon, Button, Input } from './chunk-
|
|
1
|
+
import { TreeView } from './chunk-X3DGYP4W.js';
|
|
2
|
+
import { Field, Dialog, Icon, Button, Input } from './chunk-B5JTXYDB.js';
|
|
3
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
3
4
|
import { useState, useEffect } from 'react';
|
|
4
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
6
|
|
|
@@ -20,7 +21,7 @@ function findNode(nodes, id) {
|
|
|
20
21
|
}
|
|
21
22
|
return void 0;
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
+
function TreePickerImpl({
|
|
24
25
|
nodes,
|
|
25
26
|
value,
|
|
26
27
|
valueLabel,
|
|
@@ -189,5 +190,6 @@ function TreePicker({
|
|
|
189
190
|
) : null
|
|
190
191
|
] });
|
|
191
192
|
}
|
|
193
|
+
var TreePicker = boxed(TreePickerImpl, "TreePicker");
|
|
192
194
|
|
|
193
195
|
export { TreePicker };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SegmentedControl, Select, Input } from './chunk-
|
|
1
|
+
import { SegmentedControl, Select, Input } from './chunk-B5JTXYDB.js';
|
|
2
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
2
3
|
import { useState, useMemo } from 'react';
|
|
3
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
5
|
|
|
@@ -126,7 +127,7 @@ var MONTH_OPTIONS = Array.from({ length: 12 }, (_, i) => ({
|
|
|
126
127
|
value: String(i + 1),
|
|
127
128
|
label: `${i + 1}\uC6D4`
|
|
128
129
|
}));
|
|
129
|
-
function
|
|
130
|
+
function PeriodFilterImpl({ value, onChange, years, modes }) {
|
|
130
131
|
const [inner, setInner] = useState(() => normalizePeriod(value));
|
|
131
132
|
const modeItems = useMemo(() => normalizeModes(modes), [modes]);
|
|
132
133
|
const requested = normalizePeriod(value !== void 0 ? value : inner);
|
|
@@ -247,5 +248,6 @@ function PeriodFilter({ value, onChange, years, modes }) {
|
|
|
247
248
|
}
|
|
248
249
|
);
|
|
249
250
|
}
|
|
251
|
+
var PeriodFilter = boxed(PeriodFilterImpl, "PeriodFilter");
|
|
250
252
|
|
|
251
253
|
export { PeriodFilter };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
1
|
+
import { Icon } from './chunk-B5JTXYDB.js';
|
|
2
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
2
3
|
import { useState, useId, useCallback } from 'react';
|
|
3
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
5
|
|
|
@@ -15,7 +16,7 @@ var DISCLOSURE_CSS = `
|
|
|
15
16
|
function DisclosureStyles() {
|
|
16
17
|
return /* @__PURE__ */ jsx("style", { href: "erp-disclosure", precedence: "medium", children: DISCLOSURE_CSS });
|
|
17
18
|
}
|
|
18
|
-
function
|
|
19
|
+
function DisclosureImpl({
|
|
19
20
|
summary,
|
|
20
21
|
children,
|
|
21
22
|
defaultOpen = false,
|
|
@@ -57,5 +58,6 @@ function Disclosure({
|
|
|
57
58
|
hasContent ? /* @__PURE__ */ jsx("div", { id: contentId, className: "erp-disclosure__content", hidden: !isOpen, children }) : null
|
|
58
59
|
] });
|
|
59
60
|
}
|
|
61
|
+
var Disclosure = boxed(DisclosureImpl, "Disclosure");
|
|
60
62
|
|
|
61
63
|
export { Disclosure };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { SegmentedControl, IconButton, Button, Tag, EmptyState, Icon, Badge } from './chunk-
|
|
1
|
+
import { SegmentedControl, IconButton, Button, Tag, EmptyState, Icon, Badge } from './chunk-B5JTXYDB.js';
|
|
2
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
2
3
|
import { useState, useMemo } from 'react';
|
|
3
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
4
5
|
|
|
@@ -192,7 +193,7 @@ function normalizeViews(views) {
|
|
|
192
193
|
return items.length > 0 ? items : VIEW_ITEMS;
|
|
193
194
|
}
|
|
194
195
|
var cellBorder = "1px solid var(--wp-border-subtle)";
|
|
195
|
-
var
|
|
196
|
+
var EventCalendarImpl = ({
|
|
196
197
|
events,
|
|
197
198
|
view,
|
|
198
199
|
onViewChange,
|
|
@@ -763,5 +764,6 @@ var EventCalendar = ({
|
|
|
763
764
|
}
|
|
764
765
|
);
|
|
765
766
|
};
|
|
767
|
+
var EventCalendar = boxed(EventCalendarImpl, "EventCalendar");
|
|
766
768
|
|
|
767
769
|
export { EventCalendar };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Input, IconButton, EmptyState, Icon, Badge } from './chunk-
|
|
1
|
+
import { Input, IconButton, EmptyState, Icon, Badge } from './chunk-B5JTXYDB.js';
|
|
2
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
2
3
|
import React, { useState, useMemo } from 'react';
|
|
3
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
5
|
|
|
@@ -56,7 +57,7 @@ function toggled(prev, id) {
|
|
|
56
57
|
else next.add(id);
|
|
57
58
|
return next;
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
+
function TreeViewImpl({
|
|
60
61
|
nodes,
|
|
61
62
|
selectedId,
|
|
62
63
|
onSelect,
|
|
@@ -256,5 +257,6 @@ function TreeView({
|
|
|
256
257
|
}
|
|
257
258
|
);
|
|
258
259
|
}
|
|
260
|
+
var TreeView = boxed(TreeViewImpl, "TreeView");
|
|
259
261
|
|
|
260
262
|
export { TreeView };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Disclosure } from './chunk-
|
|
2
|
-
import { Icon } from './chunk-
|
|
1
|
+
import { Disclosure } from './chunk-WLWWN5LW.js';
|
|
2
|
+
import { Icon } from './chunk-B5JTXYDB.js';
|
|
3
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
3
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
5
|
|
|
5
6
|
var TYPE_META = {
|
|
@@ -38,7 +39,7 @@ function formatPayload(payload) {
|
|
|
38
39
|
return String(payload);
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
+
function TimelineImpl({ items, maxHeight }) {
|
|
42
43
|
if (items.length === 0) {
|
|
43
44
|
return /* @__PURE__ */ jsx("p", { className: "wp-caption", style: { margin: 0, padding: "var(--wp-space-2) 0" }, children: "\uD45C\uC2DC\uD560 \uC774\uB825\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." });
|
|
44
45
|
}
|
|
@@ -73,5 +74,6 @@ function Timeline({ items, maxHeight }) {
|
|
|
73
74
|
}
|
|
74
75
|
);
|
|
75
76
|
}
|
|
77
|
+
var Timeline = boxed(TimelineImpl, "Timeline");
|
|
76
78
|
|
|
77
79
|
export { Timeline };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { boxed } from './chunk-SAN4IX6N.js';
|
|
1
2
|
import { useSyncExternalStore } from 'react';
|
|
2
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
|
-
// src/widgets/LiveClock.tsx
|
|
5
5
|
var PLACEHOLDER = "--:--:--";
|
|
6
6
|
var WEEKDAYS = ["\uC77C", "\uC6D4", "\uD654", "\uC218", "\uBAA9", "\uAE08", "\uD1A0"];
|
|
7
7
|
function pad2(value) {
|
|
@@ -31,7 +31,7 @@ function getSecondSnapshot() {
|
|
|
31
31
|
function getServerSnapshot() {
|
|
32
32
|
return null;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function LiveClockImpl({ startedAt, showDate = false }) {
|
|
35
35
|
const nowSeconds = useSyncExternalStore(
|
|
36
36
|
subscribeEverySecond,
|
|
37
37
|
getSecondSnapshot,
|
|
@@ -74,5 +74,6 @@ function LiveClock({ startedAt, showDate = false }) {
|
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
|
+
var LiveClock = boxed(LiveClockImpl, "LiveClock");
|
|
77
78
|
|
|
78
79
|
export { LiveClock };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { containerLayoutStyle } from './chunk-
|
|
1
|
+
import { boxed, containerLayoutStyle } from './chunk-SAN4IX6N.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ var STRIP_CSS = `
|
|
|
14
14
|
function StripStyles() {
|
|
15
15
|
return /* @__PURE__ */ jsx("style", { href: "erp-strip", precedence: "medium", children: STRIP_CSS });
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function StripImpl({ children, gap = "12", snap = false }) {
|
|
18
18
|
const items = React.Children.toArray(children);
|
|
19
19
|
return /* @__PURE__ */ jsxs(
|
|
20
20
|
"div",
|
|
@@ -28,5 +28,6 @@ function Strip({ children, gap = "12", snap = false }) {
|
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
+
var Strip = boxed(StripImpl, "Strip");
|
|
31
32
|
|
|
32
33
|
export { Strip };
|