@wipco/sdui 0.37.0 → 0.39.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/{DatePicker-D2EtpvkQ.d.ts → DatePicker-B5Q3XhAY.d.ts} +1 -1
- package/dist/{chunk-QO6UJAQN.js → chunk-2DJO2RBW.js} +3 -2
- package/dist/{chunk-K3JBSWFI.js → chunk-2LLSXF6X.js} +1 -1
- package/dist/{chunk-JVBZRDC2.js → chunk-2VJIERUW.js} +2 -2
- package/dist/{chunk-X5R2HHEN.js → chunk-3W4Q7X65.js} +3 -3
- package/dist/{chunk-MYJ2KEIP.js → chunk-45QGQVFB.js} +2 -2
- package/dist/{chunk-N24VF6KI.js → chunk-6FLEB6A6.js} +2 -2
- package/dist/{chunk-QU7YVMFA.js → chunk-6Q4RZDBA.js} +1 -1
- package/dist/{chunk-IIRENCDS.js → chunk-73GLCVJJ.js} +2 -2
- package/dist/{chunk-S4LOH2TU.js → chunk-AMVQ2LHD.js} +3 -3
- package/dist/{chunk-U6H7YN4I.js → chunk-ANNLDR3C.js} +3 -3
- package/dist/{chunk-U3HYQCFA.js → chunk-AZTCPRKA.js} +3 -3
- package/dist/{chunk-XPBZMECW.js → chunk-B6ZBQCSI.js} +2 -2
- package/dist/{chunk-C4JRSZGS.js → chunk-CKGPE2AY.js} +2 -2
- package/dist/{chunk-D4AILKSJ.js → chunk-CUGU5WIU.js} +2 -2
- package/dist/{chunk-NGZI4V3O.js → chunk-DGAGQD35.js} +3 -3
- package/dist/{chunk-O4U7Y3XL.js → chunk-E3WX7A54.js} +1 -1
- package/dist/{chunk-EFYEOT47.js → chunk-G6CQMPOS.js} +3 -3
- package/dist/{chunk-Z3WGIFJP.js → chunk-I3UJ4ZCQ.js} +1 -1
- package/dist/{chunk-INWASR2G.js → chunk-IMVCYJ6G.js} +3 -3
- package/dist/{chunk-QWJ3OBBL.js → chunk-JD62GZLP.js} +2 -2
- package/dist/{chunk-RRMKCZYQ.js → chunk-KTKEJHTB.js} +1 -1
- package/dist/{chunk-WIDDHR7L.js → chunk-LBKIBSHY.js} +1 -1
- package/dist/{chunk-C53NGSA3.js → chunk-LSKLL2CR.js} +3 -3
- package/dist/{chunk-G7JKDAS5.js → chunk-LVCIHZ45.js} +4 -4
- package/dist/{chunk-C7VAWTEP.js → chunk-M2Q2ZQIX.js} +2 -2
- package/dist/{chunk-CTSVZTIT.js → chunk-MLOZHGKP.js} +3 -3
- package/dist/{chunk-DQVDS2VP.js → chunk-N4LKGACS.js} +3 -3
- package/dist/{chunk-BMZKZGJF.js → chunk-OPEGWGU4.js} +1 -1
- package/dist/{chunk-HIZ2OVJA.js → chunk-PIVD4G3T.js} +2 -2
- package/dist/{chunk-XAYXHY7R.js → chunk-Q2FNUNG6.js} +2 -2
- package/dist/{chunk-SNRKPEWT.js → chunk-QLLBS2NM.js} +3 -3
- package/dist/{chunk-C3JY6GA3.js → chunk-RHQW467O.js} +2 -2
- package/dist/{chunk-SAN4IX6N.js → chunk-SE3H5QCS.js} +1 -0
- package/dist/{chunk-KT3ZVBLN.js → chunk-SET7XWBR.js} +2 -2
- package/dist/{chunk-ZTQEP3TR.js → chunk-TQM2UWN2.js} +2 -2
- package/dist/{chunk-BD75U73S.js → chunk-TUB3PFKQ.js} +2 -2
- package/dist/{chunk-PCMJE2GO.js → chunk-V6I3JZSY.js} +2 -2
- package/dist/{chunk-ZH5MLOZS.js → chunk-VMHG4IFO.js} +1 -1
- package/dist/{chunk-THEP3VWY.js → chunk-VT3OCB76.js} +1 -1
- package/dist/{chunk-WXZDYDXG.js → chunk-WDOTLDHG.js} +2 -2
- package/dist/{chunk-KVFHPBAY.js → chunk-X2ANYFPH.js} +4 -4
- package/dist/{chunk-CVCP52OD.js → chunk-X4OPJJVD.js} +3 -3
- package/dist/{chunk-FS65US2B.js → chunk-YGX4I6ZT.js} +2 -2
- package/dist/{chunk-TIY4A223.js → chunk-ZFXEWKFM.js} +3 -3
- package/dist/{chunk-EFMKWPZ3.js → chunk-ZOUWMQSO.js} +2 -2
- package/dist/index.d.ts +25 -6
- package/dist/index.js +33 -22
- package/dist/{layout-B1QrIBm6.d.ts → layout-C7uTe1ue.d.ts} +7 -1
- package/dist/meta.d.ts +15 -1
- package/dist/meta.js +17 -2
- package/dist/rich/ExcelUploadCard.d.ts +1 -1
- package/dist/rich/ExcelUploadCard.js +3 -3
- package/dist/rich.d.ts +2 -2
- package/dist/rich.js +6 -6
- package/dist/widgets/ApprovalLineEditor.d.ts +1 -1
- package/dist/widgets/ApprovalLineEditor.js +5 -5
- package/dist/widgets/ApprovalOverridesEditor.d.ts +1 -1
- package/dist/widgets/ApprovalOverridesEditor.js +7 -7
- package/dist/widgets/ApprovalStepper.d.ts +1 -1
- package/dist/widgets/ApprovalStepper.js +3 -3
- package/dist/widgets/AutocompleteField.d.ts +1 -1
- package/dist/widgets/AutocompleteField.js +5 -5
- package/dist/widgets/ColumnBoard.d.ts +1 -1
- package/dist/widgets/ColumnBoard.js +3 -3
- package/dist/widgets/DiffView.d.ts +1 -1
- package/dist/widgets/DiffView.js +3 -3
- package/dist/widgets/Disclosure.d.ts +1 -1
- package/dist/widgets/Disclosure.js +3 -3
- package/dist/widgets/EventCalendar.d.ts +1 -1
- package/dist/widgets/EventCalendar.js +3 -3
- package/dist/widgets/FileDropzone.d.ts +1 -1
- package/dist/widgets/FileDropzone.js +5 -5
- package/dist/widgets/ImageLightbox.d.ts +1 -1
- package/dist/widgets/ImageLightbox.js +4 -4
- package/dist/widgets/InlineEdit.d.ts +1 -1
- package/dist/widgets/InlineEdit.js +3 -3
- package/dist/widgets/JsonField.d.ts +1 -1
- package/dist/widgets/JsonField.js +3 -3
- package/dist/widgets/LiveClock.d.ts +1 -1
- package/dist/widgets/LiveClock.js +2 -2
- package/dist/widgets/OptionSchemaEditor.d.ts +1 -1
- package/dist/widgets/OptionSchemaEditor.js +4 -4
- package/dist/widgets/OptionValueFields.d.ts +1 -1
- package/dist/widgets/OptionValueFields.js +4 -4
- package/dist/widgets/OrgChart.d.ts +1 -1
- package/dist/widgets/OrgChart.js +3 -3
- package/dist/widgets/OrgChartBoard.d.ts +1 -1
- package/dist/widgets/OrgChartBoard.js +5 -5
- package/dist/widgets/PeriodFilter.d.ts +1 -1
- package/dist/widgets/PeriodFilter.js +4 -4
- package/dist/widgets/PermissionMatrixEditor.d.ts +1 -1
- package/dist/widgets/PermissionMatrixEditor.js +3 -3
- package/dist/widgets/PositionSelect.d.ts +1 -1
- package/dist/widgets/PositionSelect.js +3 -3
- package/dist/widgets/PrintSheet.d.ts +1 -1
- package/dist/widgets/PrintSheet.js +3 -3
- package/dist/widgets/ProfileEditDiffCard.d.ts +1 -1
- package/dist/widgets/ProfileEditDiffCard.js +3 -3
- package/dist/widgets/QRDisplay.d.ts +1 -1
- package/dist/widgets/QRDisplay.js +3 -3
- package/dist/widgets/RankBoard.d.ts +1 -1
- package/dist/widgets/RankBoard.js +4 -4
- package/dist/widgets/RecordSheet.d.ts +1 -1
- package/dist/widgets/RecordSheet.js +2 -2
- package/dist/widgets/RoleMemberPicker.d.ts +1 -1
- package/dist/widgets/RoleMemberPicker.js +3 -3
- package/dist/widgets/SearchableMultiPicker.d.ts +1 -1
- package/dist/widgets/SearchableMultiPicker.js +5 -5
- package/dist/widgets/SecureScreen.d.ts +1 -1
- package/dist/widgets/SecureScreen.js +3 -3
- package/dist/widgets/StackedMeter.d.ts +1 -1
- package/dist/widgets/StackedMeter.js +2 -2
- package/dist/widgets/StagePeriodEditor.d.ts +1 -1
- package/dist/widgets/StagePeriodEditor.js +5 -5
- package/dist/widgets/Strip.d.ts +1 -1
- package/dist/widgets/Strip.js +2 -2
- package/dist/widgets/SummaryTable.d.ts +1 -1
- package/dist/widgets/SummaryTable.js +2 -2
- package/dist/widgets/TagMultiSelect.d.ts +1 -1
- package/dist/widgets/TagMultiSelect.js +3 -3
- package/dist/widgets/Timeline.d.ts +1 -1
- package/dist/widgets/Timeline.js +4 -4
- package/dist/widgets/TreePicker.d.ts +1 -1
- package/dist/widgets/TreePicker.js +6 -6
- package/dist/widgets/TreeView.d.ts +1 -1
- package/dist/widgets/TreeView.js +5 -5
- package/dist/widgets/index.d.ts +1 -1
- package/dist/widgets/index.js +78 -78
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mergeStyle, containerLayoutStyle, joinClass, columnsClass, typographyStyle } from './chunk-
|
|
1
|
+
import { mergeStyle, containerLayoutStyle, joinClass, columnsClass, typographyStyle } from './chunk-SE3H5QCS.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
|
|
@@ -7,6 +7,7 @@ function paddingStyle(padding) {
|
|
|
7
7
|
return value === void 0 ? {} : { padding: value };
|
|
8
8
|
}
|
|
9
9
|
var PADDING_CSS = {
|
|
10
|
+
"0": "0px",
|
|
10
11
|
"2": "2px",
|
|
11
12
|
"4": "4px",
|
|
12
13
|
"8": "8px",
|
|
@@ -110,7 +111,7 @@ function Text({
|
|
|
110
111
|
return /* @__PURE__ */ jsx(
|
|
111
112
|
Tag,
|
|
112
113
|
{
|
|
113
|
-
className: joinClass(`wp-${preset}`, className),
|
|
114
|
+
className: joinClass(preset === "inherit" ? void 0 : `wp-${preset}`, className),
|
|
114
115
|
style: mergeStyle({ ...typographyStyle({ weight, textAlign }), ...TEXT_WRAP_CSS[wrap ?? "normal"] }, style),
|
|
115
116
|
children: value ?? children
|
|
116
117
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Textarea, Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Textarea, Icon } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useState, useRef, useId, useEffect, useCallback } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { buildCascadingTree } from './chunk-
|
|
2
|
-
import { Input, IconButton, EmptyState, Icon, Badge } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { buildCascadingTree } from './chunk-TUB3PFKQ.js';
|
|
2
|
+
import { Input, IconButton, EmptyState, Icon, Badge } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import React, { useMemo, useState, useRef, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Button } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Icon, Badge, Checkbox, Select, Button } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Icon, Badge, Checkbox, Select, Button } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useRef, useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OverlayLayer } from './chunk-XQPTSEJC.js';
|
|
2
|
-
import { Dialog, warnOnce } from './chunk-
|
|
2
|
+
import { Dialog, warnOnce } from './chunk-LBKIBSHY.js';
|
|
3
3
|
import { createContext, useContext, useMemo } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { includesLooseSearch } from './chunk-
|
|
1
|
+
import { includesLooseSearch } from './chunk-TUB3PFKQ.js';
|
|
2
2
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Icon, Badge, IconButton, Field, Select, Input, Tag, Spinner, Button } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Icon, Badge, IconButton, Field, Select, Input, Tag, Spinner, Button } from './chunk-LBKIBSHY.js';
|
|
4
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
5
5
|
import React, { useState, useId, useRef, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useSduiDispatch, useSduiCan, SduiDialog } from './chunk-
|
|
1
|
+
import { useSduiDispatch, useSduiCan, SduiDialog } from './chunk-6Q4RZDBA.js';
|
|
2
2
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Card, Input, Button, Icon, Badge, IconButton } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Card, Input, Button, Icon, Badge, IconButton } from './chunk-LBKIBSHY.js';
|
|
4
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
5
5
|
import React, { useState, useEffect, useCallback, useMemo } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolveTreeNodes, TreeView } from './chunk-
|
|
1
|
+
import { resolveTreeNodes, TreeView } from './chunk-3W4Q7X65.js';
|
|
2
2
|
import { OverlayLayer } from './chunk-XQPTSEJC.js';
|
|
3
|
-
import { Field, Dialog, Icon, Button, Input } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Field, Dialog, Icon, Button, Input } from './chunk-LBKIBSHY.js';
|
|
4
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
5
5
|
import { useState, useMemo, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImageViewer } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { ImageViewer } from './chunk-VT3OCB76.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Badge, Checkbox, IconButton, Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Badge, Checkbox, IconButton, Icon } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Select, Button } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Select, Button } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useState, useEffect, useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImageLightbox } from './chunk-
|
|
1
|
+
import { ImageLightbox } from './chunk-B6ZBQCSI.js';
|
|
2
2
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Badge, Button, IconButton, Icon } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Badge, Button, IconButton, Icon } from './chunk-LBKIBSHY.js';
|
|
4
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
5
5
|
import { useState, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Disclosure } from './chunk-
|
|
2
|
-
import { Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Disclosure } from './chunk-PIVD4G3T.js';
|
|
2
|
+
import { Icon } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
var TYPE_META = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DateRangePicker } from './chunk-
|
|
2
|
-
import { SegmentedControl, Select } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { DateRangePicker } from './chunk-ZOUWMQSO.js';
|
|
2
|
+
import { SegmentedControl, Select } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useState, useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconButton, Badge } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { IconButton, Badge } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useRef, useState, useMemo, useCallback, useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { includesLooseSearch } from './chunk-
|
|
1
|
+
import { includesLooseSearch } from './chunk-TUB3PFKQ.js';
|
|
2
2
|
import { OverlayLayer } from './chunk-XQPTSEJC.js';
|
|
3
|
-
import { Button, Dialog, Input, Tag, Checkbox } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Button, Dialog, Input, Tag, Checkbox } from './chunk-LBKIBSHY.js';
|
|
4
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
5
5
|
import React, { useMemo, useState, useEffect } from 'react';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TagMultiSelect } from './chunk-
|
|
2
|
-
import { ApprovalLineEditor, stepTypeIcon, stepLabel } from './chunk-
|
|
1
|
+
import { TagMultiSelect } from './chunk-M2Q2ZQIX.js';
|
|
2
|
+
import { ApprovalLineEditor, stepTypeIcon, stepLabel } from './chunk-AMVQ2LHD.js';
|
|
3
3
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
4
|
-
import { Card, Icon, Input, IconButton, Field, Button, Badge } from './chunk-
|
|
5
|
-
import { boxed } from './chunk-
|
|
4
|
+
import { Card, Icon, Input, IconButton, Field, Button, Badge } from './chunk-LBKIBSHY.js';
|
|
5
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
6
6
|
import React, { useState, useEffect } from 'react';
|
|
7
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Badge, Tag } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Badge, Tag } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useRef, useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Text } from './chunk-
|
|
2
|
-
import { Switch, Field, Select, Input } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Text } from './chunk-2DJO2RBW.js';
|
|
2
|
+
import { Switch, Field, Select, Input } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import React, { useMemo } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImageLightbox } from './chunk-
|
|
1
|
+
import { ImageLightbox } from './chunk-B6ZBQCSI.js';
|
|
2
2
|
import { useSduiSandbox, useSduiAdapter, hostRawFetchOf, defaultAdapter, useSduiAssetResolver } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Spinner, Icon, IconButton } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Spinner, Icon, IconButton } from './chunk-LBKIBSHY.js';
|
|
4
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
5
5
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useState, useId, useCallback } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon, Badge } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon, Badge } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useDismiss, usePopoverAnchor, usePortalTo, HoistedStyle, AnchoredPopoverStyles, anchorStyle, focusStaysInside } from './chunk-
|
|
2
|
-
import { Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { useDismiss, usePopoverAnchor, usePortalTo, HoistedStyle, AnchoredPopoverStyles, anchorStyle, focusStaysInside } from './chunk-ZOUWMQSO.js';
|
|
2
|
+
import { Icon } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SegmentedControl, IconButton, Button, Tag, EmptyState, Icon, Badge } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { SegmentedControl, IconButton, Button, Tag, EmptyState, Icon, Badge } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useState, useMemo } from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconButton, Input } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { IconButton, Input } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon, Badge, Tooltip } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon, Badge, Tooltip } from './chunk-LBKIBSHY.js';
|
|
2
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DateRangePicker } from './chunk-
|
|
1
|
+
import { DateRangePicker } from './chunk-ZOUWMQSO.js';
|
|
2
2
|
import { useOverlayLayer } from './chunk-XQPTSEJC.js';
|
|
3
|
-
import { Input, Button, IconButton, Tag, Field, Checkbox } from './chunk-
|
|
3
|
+
import { Input, Button, IconButton, Tag, Field, Checkbox } from './chunk-LBKIBSHY.js';
|
|
4
4
|
import { useRef, useEffect, useState, useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAssetResolver } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Spinner, Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Spinner, Icon } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Alert, Badge, Spinner, Button, Input, Checkbox } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Alert, Badge, Spinner, Button, Input, Checkbox } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useMemo, useState, useRef, useCallback, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TimePicker } from './chunk-
|
|
2
|
-
import { DatePicker } from './chunk-
|
|
3
|
-
import { Field } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { TimePicker } from './chunk-QLLBS2NM.js';
|
|
2
|
+
import { DatePicker } from './chunk-ZOUWMQSO.js';
|
|
3
|
+
import { Field } from './chunk-LBKIBSHY.js';
|
|
4
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
5
5
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { includesLooseSearch } from './chunk-
|
|
1
|
+
import { includesLooseSearch } from './chunk-TUB3PFKQ.js';
|
|
2
2
|
import { useSduiAdapter, hostFetchOf } from './chunk-DKPNFEVU.js';
|
|
3
|
-
import { Icon, Button, Input, Spinner } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
3
|
+
import { Icon, Button, Input, Spinner } from './chunk-LBKIBSHY.js';
|
|
4
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
5
5
|
import { useId, useRef, useMemo, useState, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Spinner, Badge, Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Spinner, Badge, Icon } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Text } from './chunk-
|
|
2
|
-
import { Field, Input, Select, IconButton, Button } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Text } from './chunk-2DJO2RBW.js';
|
|
2
|
+
import { Field, Input, Select, IconButton, Button } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useOverlayLayer, OverlayContainerContext, getOverlayRoot } from './chunk-XQPTSEJC.js';
|
|
2
|
-
import { Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Icon } from './chunk-LBKIBSHY.js';
|
|
3
|
+
import { boxed } from './chunk-SE3H5QCS.js';
|
|
4
4
|
import React, { useState, useRef, useMemo, useEffect, useCallback, useLayoutEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
import { createPortal } from 'react-dom';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import React__default, { CSSProperties, ReactNode, ComponentType } from 'react';
|
|
3
3
|
import { S as SduiPage, a as SduiAction, b as SduiPropValue, c as SduiRule } from './types-Bx3oingj.js';
|
|
4
4
|
export { d as SduiArgRef, e as SduiCalcRef, f as SduiChild, g as SduiIndexRef, h as SduiItemRef, i as SduiNode, j as SduiPageQuery, k as SduiScalar, l as SduiStateRef } from './types-Bx3oingj.js';
|
|
5
|
-
import { S as SduiBoxProps, a as SduiContainerLayoutProps, b as SduiColumnsScale, c as SduiGapScale, d as SduiWeightScale, e as SduiTextAlignScale } from './layout-
|
|
6
|
-
export { C as CHILD_LAYOUT_PROPS, L as LAYOUT_CSS, f as SduiAlignScale, g as SduiChildLayoutProps, h as SduiSizeScale, i as SduiSpanScale, j as childLayoutFrom, k as columnsClass, l as containerLayoutStyle, m as joinClass, n as mergeStyle, t as typographyStyle } from './layout-
|
|
7
|
-
import { D as DatePickerProps, a as DateRangePickerProps, T as TimePickerProps } from './DatePicker-
|
|
8
|
-
export { b as DatePicker, c as DateRangePicker, d as DateRangeValue, e as TimePicker } from './DatePicker-
|
|
5
|
+
import { S as SduiBoxProps, a as SduiContainerLayoutProps, b as SduiColumnsScale, c as SduiGapScale, d as SduiWeightScale, e as SduiTextAlignScale } from './layout-C7uTe1ue.js';
|
|
6
|
+
export { C as CHILD_LAYOUT_PROPS, L as LAYOUT_CSS, f as SduiAlignScale, g as SduiChildLayoutProps, h as SduiSizeScale, i as SduiSpanScale, j as childLayoutFrom, k as columnsClass, l as containerLayoutStyle, m as joinClass, n as mergeStyle, t as typographyStyle } from './layout-C7uTe1ue.js';
|
|
7
|
+
import { D as DatePickerProps, a as DateRangePickerProps, T as TimePickerProps } from './DatePicker-B5Q3XhAY.js';
|
|
8
|
+
export { b as DatePicker, c as DateRangePicker, d as DateRangeValue, e as TimePicker } from './DatePicker-B5Q3XhAY.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* 호스트 앱 연결점 — ERP에서는 라우터·erpFetch·SSE가 하던 일을
|
|
@@ -1311,7 +1311,17 @@ interface SectionProps extends SduiContainerLayoutProps {
|
|
|
1311
1311
|
children?: React__default.ReactNode;
|
|
1312
1312
|
}
|
|
1313
1313
|
declare function Section({ title, gap, align, justify, wrap, className, style, children }: SectionProps): React__default.JSX.Element;
|
|
1314
|
-
type TextPreset = 'display-1' | 'display-2' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body-lg' | 'body' | 'body-sm' | 'caption' | 'label' | 'overline' | 'micro' | 'metric' | 'metric-sm' | 'mono' | 'mono-xs'
|
|
1314
|
+
type TextPreset = 'display-1' | 'display-2' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body-lg' | 'body' | 'body-sm' | 'caption' | 'label' | 'overline' | 'micro' | 'metric' | 'metric-sm' | 'mono' | 'mono-xs'
|
|
1315
|
+
/**
|
|
1316
|
+
* 프리셋을 입히지 않는다 — 이 자리의 타이포를 그대로 물려받는다.
|
|
1317
|
+
*
|
|
1318
|
+
* 버튼·배지·표 셀처럼 **자리가 이미 글자 크기를 정해 둔 곳**에 바인딩된 글자를
|
|
1319
|
+
* 넣으려면 이것이 필요하다. 맨 문자열 자식은 그 자리 폰트를 따르는데
|
|
1320
|
+
* (`children: ['평가 작성']`), 값이 상태나 `$calc`에서 오면 `Text`를 써야 하고
|
|
1321
|
+
* 그러면 `wp-body`(14px/21px)가 붙어 버튼 폰트(13px)를 덮어 버린다. 실측:
|
|
1322
|
+
* 그 차이로 버튼 한 줄이 3px 자라 카드 27장이 세로로 밀렸다.
|
|
1323
|
+
*/
|
|
1324
|
+
| 'inherit';
|
|
1315
1325
|
interface TextProps {
|
|
1316
1326
|
/** styles.css의 .wp-* 타입 프리셋 이름 */
|
|
1317
1327
|
preset?: TextPreset;
|
|
@@ -1725,7 +1735,16 @@ interface SpecIssue {
|
|
|
1725
1735
|
path: string;
|
|
1726
1736
|
message: string;
|
|
1727
1737
|
}
|
|
1728
|
-
|
|
1738
|
+
/**
|
|
1739
|
+
* 컴포넌트 이름 → 그 컴포넌트가 아는 슬롯 이름들. 모르는 컴포넌트면 `null`
|
|
1740
|
+
* (그때는 슬롯 이름을 검사하지 않는다 — 프로젝트 위젯은 메타가 없을 수 있다).
|
|
1741
|
+
*
|
|
1742
|
+
* 정본은 메타이고, 메타를 들고 있는 쪽(편집기·린터)이 이 표를 넘긴다. 이 파일이
|
|
1743
|
+
* 메타를 직접 import 하면 2,700줄짜리 메타가 런타임 번들에 따라 들어온다.
|
|
1744
|
+
* `@wipco/sdui/meta` 의 `metaSlotNames` 가 곧바로 쓸 수 있는 구현이다.
|
|
1745
|
+
*/
|
|
1746
|
+
type SlotNamesOf = (component: string) => Set<string> | null;
|
|
1747
|
+
declare function validateSpec(page: unknown, knownComponents?: Set<string>, slotNamesOf?: SlotNamesOf): SpecIssue[];
|
|
1729
1748
|
|
|
1730
1749
|
/** Form이 렌더러에 등록하는 검증 설정 */
|
|
1731
1750
|
interface SduiFormConfig {
|