@wipco/sdui 0.40.0 → 0.42.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-B5Q3XhAY.d.ts → DatePicker-BK_jsV7i.d.ts} +1 -1
- package/dist/{chunk-6Q4RZDBA.js → chunk-2JNOOYA3.js} +1 -1
- package/dist/{chunk-ALWAWCSB.js → chunk-2NR43Y3J.js} +3 -3
- package/dist/{chunk-CUGU5WIU.js → chunk-3UAZDF5Z.js} +2 -2
- package/dist/{chunk-VT3OCB76.js → chunk-4C4QQN5H.js} +1 -1
- package/dist/{chunk-VMHG4IFO.js → chunk-4WHJ2DUP.js} +1 -1
- package/dist/{chunk-ZOUWMQSO.js → chunk-4WO6OWLP.js} +2 -2
- package/dist/{chunk-73GLCVJJ.js → chunk-55EHT6TX.js} +2 -2
- package/dist/{chunk-IMVCYJ6G.js → chunk-6EQK5IVE.js} +3 -3
- package/dist/{chunk-Q2FNUNG6.js → chunk-6XPK2FQ2.js} +2 -2
- package/dist/{chunk-KTKEJHTB.js → chunk-6ZKJ534I.js} +1 -1
- package/dist/{chunk-I3UJ4ZCQ.js → chunk-7A4OWANN.js} +1 -1
- package/dist/{chunk-SE3H5QCS.js → chunk-7TXK6LS7.js} +4 -2
- package/dist/{chunk-QLLBS2NM.js → chunk-BMTLQZ25.js} +3 -3
- package/dist/{chunk-3W4Q7X65.js → chunk-BNPGLGZI.js} +3 -3
- package/dist/{chunk-N4LKGACS.js → chunk-CAGEPRPP.js} +3 -3
- package/dist/{chunk-ANNLDR3C.js → chunk-CEA2UVM4.js} +3 -3
- package/dist/{chunk-OPEGWGU4.js → chunk-CHHAOYUC.js} +1 -1
- package/dist/{chunk-X2ANYFPH.js → chunk-CTIKP27H.js} +4 -4
- package/dist/{chunk-2VJIERUW.js → chunk-CVURQKQU.js} +2 -2
- package/dist/{chunk-SET7XWBR.js → chunk-EAFNLSUB.js} +2 -2
- package/dist/{chunk-X4OPJJVD.js → chunk-EQ4FGSAX.js} +3 -3
- package/dist/{chunk-V6I3JZSY.js → chunk-FMYHWGWU.js} +2 -2
- package/dist/{chunk-2LLSXF6X.js → chunk-GANJMJZV.js} +1 -1
- package/dist/{chunk-LSKLL2CR.js → chunk-GCRDJVFO.js} +3 -3
- package/dist/{chunk-DGAGQD35.js → chunk-HJT6B52B.js} +3 -3
- package/dist/{chunk-TUB3PFKQ.js → chunk-HKACZLC3.js} +2 -2
- package/dist/{chunk-5AAOEC4Q.js → chunk-HYPA4KP6.js} +3 -3
- package/dist/{chunk-E3WX7A54.js → chunk-J3WZFFZG.js} +1 -1
- package/dist/{chunk-ZNGAR56U.js → chunk-JKM3AM42.js} +12 -10
- package/dist/{chunk-TQM2UWN2.js → chunk-JQVMPBF2.js} +2 -2
- package/dist/{chunk-AZTCPRKA.js → chunk-JWGE5HER.js} +3 -3
- package/dist/{chunk-YGX4I6ZT.js → chunk-MVICXE2A.js} +2 -2
- package/dist/{chunk-6FLEB6A6.js → chunk-NROW4HW4.js} +2 -2
- package/dist/{chunk-B6ZBQCSI.js → chunk-O5UWQPOV.js} +2 -2
- package/dist/{chunk-JD62GZLP.js → chunk-OB5B6BA6.js} +2 -2
- package/dist/{chunk-CKGPE2AY.js → chunk-OSZKRTP7.js} +2 -2
- package/dist/{chunk-LVCIHZ45.js → chunk-P5SXRP7K.js} +4 -4
- package/dist/{chunk-G6CQMPOS.js → chunk-PE34SA5E.js} +3 -3
- package/dist/{chunk-LBKIBSHY.js → chunk-Q56Z3PVM.js} +5 -2
- package/dist/{chunk-45QGQVFB.js → chunk-S76ZOXX4.js} +2 -2
- package/dist/{chunk-AMVQ2LHD.js → chunk-T3ZDSANM.js} +3 -3
- package/dist/{chunk-PIVD4G3T.js → chunk-TDGRVVB3.js} +2 -2
- package/dist/{chunk-WDOTLDHG.js → chunk-TJZLN2ID.js} +2 -2
- package/dist/{chunk-M2Q2ZQIX.js → chunk-URENE6XY.js} +2 -2
- package/dist/{chunk-RHQW467O.js → chunk-WJZIWGD6.js} +2 -2
- package/dist/index.d.ts +12 -11
- package/dist/index.js +17 -17
- package/dist/{layout-C7uTe1ue.d.ts → layout-C3nRXMwb.d.ts} +13 -0
- package/dist/meta.js +48 -0
- 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,5 +1,5 @@
|
|
|
1
1
|
import { OverlayLayer } from './chunk-XQPTSEJC.js';
|
|
2
|
-
import { Dialog, warnOnce } from './chunk-
|
|
2
|
+
import { Dialog, warnOnce } from './chunk-Q56Z3PVM.js';
|
|
3
3
|
import { createContext, useContext, useMemo } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -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-JKM3AM42.js';
|
|
2
|
+
import { Field, Input, Select, IconButton, Button } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.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 { useSduiAdapter, hostFetchOf, defaultAdapter } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Select, Button } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Select, Button } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useEffect, 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-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon } from './chunk-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -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-4WO6OWLP.js';
|
|
2
|
+
import { SegmentedControl, Select } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.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 { Icon, Badge } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon, Badge } from './chunk-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -56,13 +56,15 @@ function lookup(table, value) {
|
|
|
56
56
|
}
|
|
57
57
|
function containerLayoutStyle(props) {
|
|
58
58
|
const gap = lookup(GAP_CSS, props.gap);
|
|
59
|
+
const rowGap = lookup(GAP_CSS, props.rowGap);
|
|
60
|
+
const columnGap = lookup(GAP_CSS, props.columnGap);
|
|
59
61
|
const alignItems = lookup(ALIGN_CSS, props.align);
|
|
60
62
|
const justifyContent = lookup(JUSTIFY_CSS, props.justify);
|
|
61
63
|
const flexWrap = props.wrap === void 0 ? void 0 : props.wrap ? "wrap" : "nowrap";
|
|
62
|
-
if (gap === void 0 && alignItems === void 0 && justifyContent === void 0 && flexWrap === void 0) {
|
|
64
|
+
if (gap === void 0 && rowGap === void 0 && columnGap === void 0 && alignItems === void 0 && justifyContent === void 0 && flexWrap === void 0) {
|
|
63
65
|
return void 0;
|
|
64
66
|
}
|
|
65
|
-
return { gap, alignItems, justifyContent, flexWrap };
|
|
67
|
+
return { gap, rowGap, columnGap, alignItems, justifyContent, flexWrap };
|
|
66
68
|
}
|
|
67
69
|
function columnsClass(columns) {
|
|
68
70
|
const n = Number(columns);
|
|
@@ -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-4WO6OWLP.js';
|
|
2
|
+
import { Icon } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -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-HKACZLC3.js';
|
|
2
|
+
import { Input, IconButton, EmptyState, Icon, Badge } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import React, { useMemo, useState, useRef, useEffect } 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-O5UWQPOV.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-Q56Z3PVM.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useSduiDispatch, useSduiCan, SduiDialog } from './chunk-
|
|
1
|
+
import { useSduiDispatch, useSduiCan, SduiDialog } from './chunk-2JNOOYA3.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-Q56Z3PVM.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.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 { TimePicker } from './chunk-
|
|
2
|
-
import { DatePicker } from './chunk-
|
|
3
|
-
import { Field } from './chunk-
|
|
4
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { TimePicker } from './chunk-BMTLQZ25.js';
|
|
2
|
+
import { DatePicker } from './chunk-4WO6OWLP.js';
|
|
3
|
+
import { Field } from './chunk-Q56Z3PVM.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Textarea, Icon } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Textarea, Icon } from './chunk-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useRef, useId, useEffect, useCallback } from 'react';
|
|
4
4
|
import { jsxs, jsx } 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-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } 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-HKACZLC3.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-Q56Z3PVM.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.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 { useSduiAssetResolver } from './chunk-DKPNFEVU.js';
|
|
2
|
-
import { Spinner, Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Spinner, Icon } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { includesLooseSearch } from './chunk-
|
|
1
|
+
import { includesLooseSearch } from './chunk-HKACZLC3.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-Q56Z3PVM.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import React, { useMemo, useState, useEffect } from 'react';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImageLightbox } from './chunk-
|
|
1
|
+
import { ImageLightbox } from './chunk-O5UWQPOV.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-Q56Z3PVM.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.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 { DateRangePicker } from './chunk-
|
|
1
|
+
import { DateRangePicker } from './chunk-4WO6OWLP.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-Q56Z3PVM.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
|
-
import { Text } from './chunk-
|
|
2
|
-
import { Switch, Field, Select, Input } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Text } from './chunk-JKM3AM42.js';
|
|
2
|
+
import { Switch, Field, Select, Input } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import React, { useMemo } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mergeStyle, containerLayoutStyle, joinClass, columnsClass, typographyStyle } from './chunk-
|
|
1
|
+
import { mergeStyle, containerLayoutStyle, joinClass, columnsClass, typographyStyle } from './chunk-7TXK6LS7.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
|
|
@@ -21,6 +21,8 @@ function Grid({
|
|
|
21
21
|
columns = 3,
|
|
22
22
|
template,
|
|
23
23
|
gap,
|
|
24
|
+
rowGap,
|
|
25
|
+
columnGap,
|
|
24
26
|
align,
|
|
25
27
|
justify,
|
|
26
28
|
wrap,
|
|
@@ -36,7 +38,7 @@ function Grid({
|
|
|
36
38
|
style: mergeStyle(
|
|
37
39
|
{
|
|
38
40
|
...template ? { gridTemplateColumns: template } : null,
|
|
39
|
-
...containerLayoutStyle({ gap, align, justify, wrap }),
|
|
41
|
+
...containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }),
|
|
40
42
|
...paddingStyle(padding)
|
|
41
43
|
},
|
|
42
44
|
style
|
|
@@ -61,34 +63,34 @@ var CONTAINER_ROLES = /* @__PURE__ */ new Set([
|
|
|
61
63
|
function containerRole(role) {
|
|
62
64
|
return role !== void 0 && CONTAINER_ROLES.has(role) ? role : void 0;
|
|
63
65
|
}
|
|
64
|
-
function Row({ justify, gap, align, wrap, role, ariaLabel, className, style, children }) {
|
|
66
|
+
function Row({ justify, gap, rowGap, columnGap, align, wrap, role, ariaLabel, className, style, children }) {
|
|
65
67
|
return /* @__PURE__ */ jsx(
|
|
66
68
|
"div",
|
|
67
69
|
{
|
|
68
70
|
className: joinClass("wp-row", justify === "between" && "wp-row--between", className),
|
|
69
|
-
style: mergeStyle(containerLayoutStyle({ gap, align, justify, wrap }), style),
|
|
71
|
+
style: mergeStyle(containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }), style),
|
|
70
72
|
role: containerRole(role),
|
|
71
73
|
"aria-label": ariaLabel,
|
|
72
74
|
children
|
|
73
75
|
}
|
|
74
76
|
);
|
|
75
77
|
}
|
|
76
|
-
function Actions({ justify = "end", gap, align, wrap, className, style, children }) {
|
|
78
|
+
function Actions({ justify = "end", gap, rowGap, columnGap, align, wrap, className, style, children }) {
|
|
77
79
|
return /* @__PURE__ */ jsx(
|
|
78
80
|
"div",
|
|
79
81
|
{
|
|
80
82
|
className: joinClass("wp-row", className),
|
|
81
|
-
style: mergeStyle({ flex: 1, ...containerLayoutStyle({ gap, align, justify, wrap }) }, style),
|
|
83
|
+
style: mergeStyle({ flex: 1, ...containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }) }, style),
|
|
82
84
|
children
|
|
83
85
|
}
|
|
84
86
|
);
|
|
85
87
|
}
|
|
86
|
-
function Col({ gap, align, justify, wrap, role, ariaLabel, className, style, children }) {
|
|
88
|
+
function Col({ gap, rowGap, columnGap, align, justify, wrap, role, ariaLabel, className, style, children }) {
|
|
87
89
|
return /* @__PURE__ */ jsx(
|
|
88
90
|
"div",
|
|
89
91
|
{
|
|
90
92
|
className: joinClass("wp-col", className),
|
|
91
|
-
style: mergeStyle(containerLayoutStyle({ gap, align, justify, wrap }), style),
|
|
93
|
+
style: mergeStyle(containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }), style),
|
|
92
94
|
role: containerRole(role),
|
|
93
95
|
"aria-label": ariaLabel,
|
|
94
96
|
children
|
|
@@ -106,12 +108,12 @@ function Spacer({ size, className, style }) {
|
|
|
106
108
|
}
|
|
107
109
|
);
|
|
108
110
|
}
|
|
109
|
-
function Section({ title, gap, align, justify, wrap, className, style, children }) {
|
|
111
|
+
function Section({ title, gap, rowGap, columnGap, align, justify, wrap, className, style, children }) {
|
|
110
112
|
return /* @__PURE__ */ jsxs(
|
|
111
113
|
"section",
|
|
112
114
|
{
|
|
113
115
|
className: joinClass("wp-col", className),
|
|
114
|
-
style: mergeStyle(containerLayoutStyle({ gap, align, justify, wrap }), style),
|
|
116
|
+
style: mergeStyle(containerLayoutStyle({ gap, rowGap, columnGap, align, justify, wrap }), style),
|
|
115
117
|
children: [
|
|
116
118
|
title ? /* @__PURE__ */ jsx("h2", { className: "wp-h4", children: title }) : null,
|
|
117
119
|
children
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon, Badge, Tooltip } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Icon, Badge, Tooltip } from './chunk-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolveTreeNodes, TreeView } from './chunk-
|
|
1
|
+
import { resolveTreeNodes, TreeView } from './chunk-BNPGLGZI.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-Q56Z3PVM.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import { useState, useMemo, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } 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-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -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-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.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
|
-
import { ImageViewer } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { ImageViewer } from './chunk-4C4QQN5H.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.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 { IconButton, Badge } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { IconButton, Badge } from './chunk-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useRef, useState, useMemo, useCallback, useEffect } from 'react';
|
|
4
4
|
import { jsxs, 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-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TagMultiSelect } from './chunk-
|
|
2
|
-
import { ApprovalLineEditor, stepTypeIcon, stepLabel } from './chunk-
|
|
1
|
+
import { TagMultiSelect } from './chunk-URENE6XY.js';
|
|
2
|
+
import { ApprovalLineEditor, stepTypeIcon, stepLabel } from './chunk-T3ZDSANM.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-Q56Z3PVM.js';
|
|
5
|
+
import { boxed } from './chunk-7TXK6LS7.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
|
-
import { Disclosure } from './chunk-
|
|
2
|
-
import { Icon } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Disclosure } from './chunk-TDGRVVB3.js';
|
|
2
|
+
import { Icon } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
var TYPE_META = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mergeStyle, containerLayoutStyle, joinClass } from './chunk-
|
|
1
|
+
import { mergeStyle, containerLayoutStyle, joinClass } from './chunk-7TXK6LS7.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
|
|
@@ -821,6 +821,8 @@ function Textarea({ invalid = false, rows = 3, className = "", ...rest }) {
|
|
|
821
821
|
);
|
|
822
822
|
}
|
|
823
823
|
function pickOptionText(option, key) {
|
|
824
|
+
if (typeof option === "string" || typeof option === "number") return String(option);
|
|
825
|
+
if (option === null || typeof option !== "object") return void 0;
|
|
824
826
|
const raw = option[key];
|
|
825
827
|
if (raw === null || raw === void 0) return void 0;
|
|
826
828
|
return String(raw);
|
|
@@ -853,11 +855,12 @@ function Select({
|
|
|
853
855
|
"warn"
|
|
854
856
|
);
|
|
855
857
|
}
|
|
858
|
+
const flags = option !== null && typeof option === "object" ? option : null;
|
|
856
859
|
return /* @__PURE__ */ jsx(
|
|
857
860
|
"option",
|
|
858
861
|
{
|
|
859
862
|
value,
|
|
860
|
-
disabled: Boolean(
|
|
863
|
+
disabled: Boolean(flags?.disabled),
|
|
861
864
|
children: label
|
|
862
865
|
},
|
|
863
866
|
`${value ?? ""}-${index}`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { boxed } from './chunk-
|
|
1
|
+
import { Button } from './chunk-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { 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-HKACZLC3.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-Q56Z3PVM.js';
|
|
4
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
5
5
|
import React, { useState, useId, useRef, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx } 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-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useId, useCallback } 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 { Alert, Badge, Spinner, Button, Input, Checkbox } from './chunk-
|
|
3
|
-
import { boxed } from './chunk-
|
|
2
|
+
import { Alert, Badge, Spinner, Button, Input, Checkbox } from './chunk-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useMemo, useState, useRef, useCallback, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -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-Q56Z3PVM.js';
|
|
3
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
4
4
|
import { useRef, useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { 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-Q56Z3PVM.js';
|
|
2
|
+
import { boxed } from './chunk-7TXK6LS7.js';
|
|
3
3
|
import { useState, useMemo } from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
|