@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.
Files changed (79) hide show
  1. package/dist/DatePicker-BndreCPl.d.ts +35 -0
  2. package/dist/{chunk-XY2JKFAV.js → chunk-3PYMVHL3.js} +4 -2
  3. package/dist/{chunk-562QK2G3.js → chunk-4CZJF5PR.js} +4 -2
  4. package/dist/{chunk-73ZMMJRX.js → chunk-4IRLQWQC.js} +4 -2
  5. package/dist/{chunk-KAXPN6KT.js → chunk-5A7BWIGN.js} +8 -5
  6. package/dist/{chunk-B4A4KY4K.js → chunk-7AHNAX6T.js} +4 -2
  7. package/dist/{chunk-CRSY67TZ.js → chunk-B5JTXYDB.js} +19 -21
  8. package/dist/{chunk-7Y4J7EOK.js → chunk-BMZKZGJF.js} +3 -2
  9. package/dist/{chunk-63U54JAG.js → chunk-BT4HC3WR.js} +4 -2
  10. package/dist/{chunk-L4ORCIVN.js → chunk-JONNWN6N.js} +4 -2
  11. package/dist/{chunk-5O6PFLFJ.js → chunk-JWYBFODH.js} +4 -2
  12. package/dist/{chunk-TKB7H5DB.js → chunk-NIRR6KSQ.js} +1 -1
  13. package/dist/{chunk-USKRM22W.js → chunk-O4U7Y3XL.js} +3 -2
  14. package/dist/{chunk-H32WQHB7.js → chunk-OINKP2BE.js} +5 -3
  15. package/dist/{chunk-QBIVW7E6.js → chunk-SAN4IX6N.js} +77 -2
  16. package/dist/{chunk-57LLG32F.js → chunk-TBAIREB3.js} +5 -3
  17. package/dist/{chunk-2ARNY7WZ.js → chunk-TMAVD3WL.js} +4 -2
  18. package/dist/{chunk-HGFYXY7F.js → chunk-VK6KWB65.js} +4 -2
  19. package/dist/{chunk-GWVK3BHB.js → chunk-VV73LOAE.js} +5 -3
  20. package/dist/{chunk-J2DSDERS.js → chunk-WJEGCCPY.js} +4 -2
  21. package/dist/{chunk-TAFUDHIX.js → chunk-WLWWN5LW.js} +4 -2
  22. package/dist/{chunk-XMMYJSRV.js → chunk-WMPSOKNI.js} +4 -2
  23. package/dist/{chunk-Y3HYEWSY.js → chunk-X3DGYP4W.js} +4 -2
  24. package/dist/{chunk-DN5YNPJS.js → chunk-YFUQUWWH.js} +5 -3
  25. package/dist/{chunk-QZQDHSMD.js → chunk-Z3WGIFJP.js} +3 -2
  26. package/dist/{chunk-PJRXPMI3.js → chunk-ZH5MLOZS.js} +3 -2
  27. package/dist/index.d.ts +1044 -980
  28. package/dist/index.js +79 -36
  29. package/dist/{layout-BnYUuWC2.d.ts → layout-B1QrIBm6.d.ts} +59 -1
  30. package/dist/meta.d.ts +42 -1
  31. package/dist/meta.js +198 -57
  32. package/dist/rich.d.ts +2 -1
  33. package/dist/rich.js +4 -3
  34. package/dist/widgets/AutocompleteField.d.ts +6 -40
  35. package/dist/widgets/AutocompleteField.js +4 -3
  36. package/dist/widgets/ColumnBoard.d.ts +6 -14
  37. package/dist/widgets/ColumnBoard.js +3 -2
  38. package/dist/widgets/DiffView.d.ts +6 -11
  39. package/dist/widgets/DiffView.js +3 -2
  40. package/dist/widgets/Disclosure.d.ts +6 -9
  41. package/dist/widgets/Disclosure.js +3 -2
  42. package/dist/widgets/EventCalendar.d.ts +6 -1
  43. package/dist/widgets/EventCalendar.js +3 -2
  44. package/dist/widgets/ImageLightbox.d.ts +6 -10
  45. package/dist/widgets/ImageLightbox.js +3 -2
  46. package/dist/widgets/InlineEdit.d.ts +6 -10
  47. package/dist/widgets/InlineEdit.js +3 -2
  48. package/dist/widgets/JsonField.d.ts +6 -1
  49. package/dist/widgets/JsonField.js +3 -2
  50. package/dist/widgets/LiveClock.d.ts +6 -1
  51. package/dist/widgets/LiveClock.js +2 -1
  52. package/dist/widgets/OrgChart.d.ts +7 -3
  53. package/dist/widgets/OrgChart.js +3 -2
  54. package/dist/widgets/PeriodFilter.d.ts +6 -1
  55. package/dist/widgets/PeriodFilter.js +3 -2
  56. package/dist/widgets/PrintSheet.d.ts +6 -12
  57. package/dist/widgets/PrintSheet.js +3 -2
  58. package/dist/widgets/SearchableMultiPicker.d.ts +6 -11
  59. package/dist/widgets/SearchableMultiPicker.js +4 -3
  60. package/dist/widgets/SecureScreen.d.ts +6 -14
  61. package/dist/widgets/SecureScreen.js +3 -2
  62. package/dist/widgets/StackedMeter.d.ts +7 -3
  63. package/dist/widgets/StackedMeter.js +2 -1
  64. package/dist/widgets/Strip.d.ts +6 -10
  65. package/dist/widgets/Strip.js +2 -2
  66. package/dist/widgets/SummaryTable.d.ts +6 -9
  67. package/dist/widgets/SummaryTable.js +2 -1
  68. package/dist/widgets/TagMultiSelect.d.ts +6 -1
  69. package/dist/widgets/TagMultiSelect.js +3 -2
  70. package/dist/widgets/Timeline.d.ts +6 -10
  71. package/dist/widgets/Timeline.js +4 -3
  72. package/dist/widgets/TreePicker.d.ts +6 -1
  73. package/dist/widgets/TreePicker.js +4 -3
  74. package/dist/widgets/TreeView.d.ts +6 -1
  75. package/dist/widgets/TreeView.js +3 -2
  76. package/dist/widgets/index.d.ts +61 -61
  77. package/dist/widgets/index.js +44 -44
  78. package/package.json +1 -1
  79. package/dist/DatePicker-CTDcFR7V.d.ts +0 -48
@@ -1,4 +1,5 @@
1
- import { Badge, Checkbox, IconButton, Icon } from './chunk-CRSY67TZ.js';
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 ColumnBoard({
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-Y3HYEWSY.js';
2
- import { Field, Dialog, Icon, Button, Input } from './chunk-CRSY67TZ.js';
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 TreePicker({
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-CRSY67TZ.js';
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 PeriodFilter({ value, onChange, years, modes }) {
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-CRSY67TZ.js';
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 Disclosure({
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-CRSY67TZ.js';
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 EventCalendar = ({
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-CRSY67TZ.js';
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 TreeView({
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-TAFUDHIX.js';
2
- import { Icon } from './chunk-CRSY67TZ.js';
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 Timeline({ items, maxHeight }) {
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 LiveClock({ startedAt, showDate = false }) {
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-QBIVW7E6.js';
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 Strip({ children, gap = "12", snap = false }) {
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 };