@ark-ui/solid 5.14.2 → 5.15.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/chunk/{P5ZRUIVB.jsx → 2UVDYZIY.jsx} +4 -4
- package/dist/chunk/{333ERBDL.jsx → 2WR5J3OZ.jsx} +8 -8
- package/dist/chunk/{5UVX33V2.jsx → 35XSFKD5.jsx} +4 -4
- package/dist/chunk/{5FW3VV3B.jsx → 3DOPQCHJ.jsx} +4 -4
- package/dist/chunk/{FPE3VNB2.jsx → 3VOFK5T4.jsx} +5 -5
- package/dist/chunk/{NUPYPPGN.jsx → 4FUKCXPR.jsx} +5 -5
- package/dist/chunk/{2MWWT5GE.jsx → 4NULU2IK.jsx} +5 -5
- package/dist/chunk/{PNYN26W7.jsx → 4UNGYCFT.jsx} +4 -4
- package/dist/chunk/{B4ZXV6YG.jsx → 5U4KEVIU.jsx} +4 -4
- package/dist/chunk/{HPSVKKVK.js → A62XIWGT.js} +7 -1
- package/dist/chunk/{LHJM3X56.jsx → AKYIM67Z.jsx} +5 -5
- package/dist/chunk/{SXZY4NGI.jsx → AUVF4L3Q.jsx} +5 -5
- package/dist/chunk/{6Q4ZZUWZ.jsx → GKS4JQZJ.jsx} +4 -4
- package/dist/chunk/{OIG52XTL.jsx → HDKSS6KE.jsx} +1 -1
- package/dist/chunk/{WYNHVCCC.jsx → HP3ZGMDZ.jsx} +4 -4
- package/dist/chunk/{O2Q7MOG6.jsx → HQOIDGRU.jsx} +2 -2
- package/dist/chunk/{7AMCFBJH.jsx → JEPST7BN.jsx} +5 -5
- package/dist/chunk/{TTZNIVIU.jsx → JUBTXT4B.jsx} +5 -5
- package/dist/chunk/{FS6GEMRM.jsx → JY6PMVAK.jsx} +4 -4
- package/dist/chunk/{2Z37DOO5.jsx → KAYDBHSW.jsx} +5 -5
- package/dist/chunk/{VWQOTIDH.jsx → KOMUYUJE.jsx} +11 -4
- package/dist/chunk/{QIEMEAOH.jsx → L64MXP66.jsx} +5 -5
- package/dist/chunk/{TILCNQZF.jsx → LKPEYZZO.jsx} +5 -5
- package/dist/chunk/{J4VOAZA3.jsx → MM6NNI6M.jsx} +4 -4
- package/dist/chunk/{XWFAYRYW.jsx → MTT5ESIK.jsx} +5 -5
- package/dist/chunk/{JWPRFVT7.jsx → N3H47LNB.jsx} +4 -4
- package/dist/chunk/{X435D6IP.jsx → NCRPFSNO.jsx} +51 -19
- package/dist/chunk/{A6XGGK7D.jsx → NPHS6PVV.jsx} +4 -4
- package/dist/chunk/{VSLHNUS2.jsx → OKNWZYMH.jsx} +5 -5
- package/dist/chunk/{LY6KT2RR.jsx → POJRD725.jsx} +4 -4
- package/dist/chunk/{GKIOPYJU.jsx → PPQSRJ6X.jsx} +8 -8
- package/dist/chunk/{7BS7ZITV.jsx → QC5C6JJA.jsx} +5 -5
- package/dist/chunk/{P5YRDHKG.jsx → RC4UV6HP.jsx} +5 -5
- package/dist/chunk/{ZF7UP5R3.jsx → RULCXX3A.jsx} +4 -4
- package/dist/chunk/{NLGFQW27.jsx → S4OS4UYL.jsx} +5 -5
- package/dist/chunk/{OUB3EPPU.js → SWUMYWUU.js} +21 -2
- package/dist/chunk/{ZMXVBUJS.jsx → TTIVTOWQ.jsx} +1 -1
- package/dist/chunk/{5OA4XEHW.jsx → UW5WJ2LL.jsx} +4 -4
- package/dist/chunk/{3HYU2MCP.jsx → V2GDFVDR.jsx} +1 -1
- package/dist/chunk/{WCLRKV7H.jsx → WG67YHCV.jsx} +5 -5
- package/dist/chunk/{XOVDOF3R.jsx → WHXDBQDP.jsx} +4 -4
- package/dist/chunk/{N5PC6SPR.jsx → WOUVNHGI.jsx} +5 -5
- package/dist/chunk/{IP7W5G7I.jsx → XIT3ASUI.jsx} +8 -8
- package/dist/chunk/{C2TYPWCS.jsx → XKBIT7L5.jsx} +5 -5
- package/dist/chunk/{OCZWTABP.jsx → XUH2TAUG.jsx} +5 -5
- package/dist/chunk/{UBCF5HI7.jsx → YAOPG62Z.jsx} +4 -4
- package/dist/chunk/{YIQG5BP3.jsx → ZNBZTQ46.jsx} +5 -5
- package/dist/chunk/{MOOX4K4V.jsx → ZTNABPZL.jsx} +5 -5
- package/dist/components/accordion/index.jsx +5 -5
- package/dist/components/angle-slider/index.jsx +4 -4
- package/dist/components/avatar/index.jsx +4 -4
- package/dist/components/carousel/index.jsx +4 -4
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.jsx +6 -6
- package/dist/components/clipboard/index.jsx +4 -4
- package/dist/components/collapsible/index.jsx +4 -4
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.jsx +7 -7
- package/dist/components/combobox/index.jsx +8 -8
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/index.jsx +5 -5
- package/dist/components/dialog/index.jsx +5 -5
- package/dist/components/download-trigger/index.jsx +4 -4
- package/dist/components/editable/index.jsx +6 -6
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.jsx +5 -5
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/fieldset/index.jsx +4 -4
- package/dist/components/file-upload/index.jsx +6 -6
- package/dist/components/floating-panel/index.jsx +5 -5
- package/dist/components/format/index.jsx +2 -2
- package/dist/components/frame/index.jsx +3 -3
- package/dist/components/hover-card/index.jsx +5 -5
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +20 -20
- package/dist/components/index.jsx +392 -386
- package/dist/components/listbox/index.d.ts +11 -6
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/index.jsx +6 -4
- package/dist/components/menu/index.jsx +5 -5
- package/dist/components/number-input/index.jsx +6 -6
- package/dist/components/pagination/index.jsx +4 -4
- package/dist/components/password-input/index.jsx +6 -6
- package/dist/components/pin-input/index.jsx +6 -6
- package/dist/components/popover/index.jsx +5 -5
- package/dist/components/presence/index.jsx +2 -2
- package/dist/components/progress/index.jsx +4 -4
- package/dist/components/qr-code/index.jsx +4 -4
- package/dist/components/radio-group/index.jsx +4 -4
- package/dist/components/rating-group/index.jsx +6 -6
- package/dist/components/segment-group/index.jsx +4 -4
- package/dist/components/select/index.jsx +8 -8
- package/dist/components/signature-pad/index.jsx +6 -6
- package/dist/components/slider/index.jsx +4 -4
- package/dist/components/splitter/index.jsx +4 -4
- package/dist/components/steps/index.jsx +4 -4
- package/dist/components/switch/index.jsx +6 -6
- package/dist/components/tabs/index.jsx +5 -5
- package/dist/components/tags-input/index.jsx +6 -6
- package/dist/components/time-picker/index.jsx +5 -5
- package/dist/components/timer/index.jsx +4 -4
- package/dist/components/toast/index.jsx +4 -4
- package/dist/components/toggle-group/index.jsx +4 -4
- package/dist/components/tooltip/index.jsx +5 -5
- package/dist/components/tour/index.jsx +5 -5
- package/dist/components/tree-view/index.d.ts +17 -2
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/index.jsx +9 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +20 -20
- package/dist/index.jsx +392 -386
- package/dist/providers/environment/index.jsx +2 -2
- package/dist/providers/index.jsx +2 -2
- package/package.json +53 -53
- package/dist/chunk/{6J5H27AQ.jsx → E2L62MKC.jsx} +3 -3
- package/dist/chunk/{RHCMSWDF.jsx → WC2HBDLJ.jsx} +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collapsible_exports
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./WHXDBQDP.jsx";
|
|
4
4
|
import {
|
|
5
5
|
RenderStrategyProvider,
|
|
6
6
|
splitRenderStrategyProps,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./UFYZ7HLU.jsx";
|
|
15
15
|
import {
|
|
16
16
|
useEnvironmentContext
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
runIfFn
|
|
20
|
-
} from "./KGOB2IMX.jsx";
|
|
17
|
+
} from "./E2L62MKC.jsx";
|
|
21
18
|
import {
|
|
22
19
|
useLocaleContext
|
|
23
20
|
} from "./YUC6JE7K.jsx";
|
|
24
21
|
import {
|
|
25
22
|
createContext
|
|
26
23
|
} from "./TVCIHLER.jsx";
|
|
24
|
+
import {
|
|
25
|
+
runIfFn
|
|
26
|
+
} from "./KGOB2IMX.jsx";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./7IUG3E2V.jsx";
|
|
@@ -165,64 +165,92 @@ var TreeViewLabel = (props) => {
|
|
|
165
165
|
return <ark.h3 {...mergedProps} />;
|
|
166
166
|
};
|
|
167
167
|
|
|
168
|
+
// src/components/tree-view/tree-view-node-checkbox.tsx
|
|
169
|
+
import { mergeProps as mergeProps12 } from "@zag-js/solid";
|
|
170
|
+
var TreeViewNodeCheckbox = (props) => {
|
|
171
|
+
const treeView2 = useTreeViewContext();
|
|
172
|
+
const nodeProps = useTreeViewNodePropsContext();
|
|
173
|
+
const mergedProps = mergeProps12(() => treeView2().getNodeCheckboxProps(nodeProps), props);
|
|
174
|
+
return <ark.span {...mergedProps} />;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
// src/components/tree-view/tree-view-node-checkbox-indicator.tsx
|
|
178
|
+
import { createMemo as createMemo3 } from "solid-js";
|
|
179
|
+
var TreeViewNodeCheckboxIndicator = (props) => {
|
|
180
|
+
const nodeState = useTreeViewNodeContext();
|
|
181
|
+
const checkedState = createMemo3(() => nodeState().checked);
|
|
182
|
+
if (checkedState() === "indeterminate" && props.indeterminate) {
|
|
183
|
+
return props.indeterminate;
|
|
184
|
+
}
|
|
185
|
+
if (checkedState() === true && props.children) {
|
|
186
|
+
return props.children;
|
|
187
|
+
}
|
|
188
|
+
return props.fallback;
|
|
189
|
+
};
|
|
190
|
+
|
|
168
191
|
// src/components/tree-view/tree-view-node-context.ts
|
|
169
192
|
var TreeViewNodeContext = (props) => props.children(useTreeViewNodeContext());
|
|
170
193
|
|
|
171
194
|
// src/components/tree-view/tree-view-node-provider.tsx
|
|
172
|
-
import { createMemo as
|
|
195
|
+
import { createMemo as createMemo4 } from "solid-js";
|
|
173
196
|
function TreeViewNodeProvider(props) {
|
|
174
197
|
const [nodeProps, localProps] = createSplitProps()(props, ["indexPath", "node"]);
|
|
175
198
|
const treeView2 = useTreeViewContext();
|
|
176
|
-
const nodeState =
|
|
199
|
+
const nodeState = createMemo4(() => treeView2().getNodeState(nodeProps));
|
|
177
200
|
return <TreeViewNodeStateProvider value={nodeState}>
|
|
178
201
|
<TreeViewNodePropsProvider value={nodeProps}>{localProps.children}</TreeViewNodePropsProvider>
|
|
179
202
|
</TreeViewNodeStateProvider>;
|
|
180
203
|
}
|
|
181
204
|
|
|
182
205
|
// src/components/tree-view/tree-view-root.tsx
|
|
183
|
-
import { mergeProps as
|
|
206
|
+
import { mergeProps as mergeProps13 } from "@zag-js/solid";
|
|
184
207
|
|
|
185
208
|
// src/components/tree-view/use-tree-view.ts
|
|
186
209
|
import { normalizeProps, useMachine } from "@zag-js/solid";
|
|
187
210
|
import * as treeView from "@zag-js/tree-view";
|
|
188
|
-
import { createMemo as
|
|
211
|
+
import { createMemo as createMemo5, createUniqueId } from "solid-js";
|
|
189
212
|
var useTreeView = (props) => {
|
|
190
213
|
const id = createUniqueId();
|
|
191
214
|
const locale = useLocaleContext();
|
|
192
215
|
const environment = useEnvironmentContext();
|
|
193
|
-
const machineProps =
|
|
216
|
+
const machineProps = createMemo5(() => ({
|
|
194
217
|
id,
|
|
195
218
|
dir: locale().dir,
|
|
196
219
|
getRootNode: environment().getRootNode,
|
|
197
220
|
...runIfFn(props)
|
|
198
221
|
}));
|
|
199
222
|
const service = useMachine(treeView.machine, machineProps);
|
|
200
|
-
return
|
|
223
|
+
return createMemo5(() => treeView.connect(service, normalizeProps));
|
|
201
224
|
};
|
|
202
225
|
|
|
203
226
|
// src/components/tree-view/tree-view-root.tsx
|
|
204
227
|
var TreeViewRoot = (props) => {
|
|
205
228
|
const [renderStrategyProps, treeViewProps] = splitRenderStrategyProps(props);
|
|
206
229
|
const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, [
|
|
230
|
+
"checkedValue",
|
|
207
231
|
"collection",
|
|
232
|
+
"defaultCheckedValue",
|
|
208
233
|
"defaultExpandedValue",
|
|
234
|
+
"defaultFocusedValue",
|
|
209
235
|
"defaultSelectedValue",
|
|
210
236
|
"expandedValue",
|
|
211
237
|
"expandOnClick",
|
|
212
238
|
"focusedValue",
|
|
213
239
|
"id",
|
|
214
240
|
"ids",
|
|
241
|
+
"loadChildren",
|
|
242
|
+
"onCheckedChange",
|
|
215
243
|
"onExpandedChange",
|
|
216
244
|
"onFocusChange",
|
|
245
|
+
"onLoadChildrenComplete",
|
|
246
|
+
"onLoadChildrenError",
|
|
217
247
|
"onSelectionChange",
|
|
218
248
|
"selectedValue",
|
|
219
249
|
"selectionMode",
|
|
220
|
-
"typeahead"
|
|
221
|
-
"loadChildren",
|
|
222
|
-
"onLoadChildrenComplete"
|
|
250
|
+
"typeahead"
|
|
223
251
|
]);
|
|
224
252
|
const treeView2 = useTreeView(useTreeViewProps);
|
|
225
|
-
const mergedProps =
|
|
253
|
+
const mergedProps = mergeProps13(() => treeView2().getRootProps(), localProps);
|
|
226
254
|
return <TreeViewProvider value={treeView2}>
|
|
227
255
|
<RenderStrategyProvider value={renderStrategyProps}>
|
|
228
256
|
<ark.div {...mergedProps} />
|
|
@@ -231,11 +259,11 @@ var TreeViewRoot = (props) => {
|
|
|
231
259
|
};
|
|
232
260
|
|
|
233
261
|
// src/components/tree-view/tree-view-root-provider.tsx
|
|
234
|
-
import { mergeProps as
|
|
262
|
+
import { mergeProps as mergeProps14 } from "@zag-js/solid";
|
|
235
263
|
var TreeViewRootProvider = (props) => {
|
|
236
264
|
const [renderStrategyProps, treeViewProps] = splitRenderStrategyProps(props);
|
|
237
265
|
const [{ value: treeView2 }, localProps] = createSplitProps()(treeViewProps, ["value"]);
|
|
238
|
-
const mergedProps =
|
|
266
|
+
const mergedProps = mergeProps14(() => treeView2().getRootProps(), localProps);
|
|
239
267
|
return <TreeViewProvider value={treeView2}>
|
|
240
268
|
<RenderStrategyProvider value={renderStrategyProps}>
|
|
241
269
|
<ark.div {...mergedProps} />
|
|
@@ -244,10 +272,10 @@ var TreeViewRootProvider = (props) => {
|
|
|
244
272
|
};
|
|
245
273
|
|
|
246
274
|
// src/components/tree-view/tree-view-tree.tsx
|
|
247
|
-
import { mergeProps as
|
|
275
|
+
import { mergeProps as mergeProps15 } from "@zag-js/solid";
|
|
248
276
|
var TreeViewTree = (props) => {
|
|
249
277
|
const treeView2 = useTreeViewContext();
|
|
250
|
-
const mergedProps =
|
|
278
|
+
const mergedProps = mergeProps15(() => treeView2().getTreeProps(), props);
|
|
251
279
|
return <ark.div {...mergedProps} />;
|
|
252
280
|
};
|
|
253
281
|
|
|
@@ -269,6 +297,8 @@ __export(tree_view_exports, {
|
|
|
269
297
|
ItemIndicator: () => TreeViewItemIndicator,
|
|
270
298
|
ItemText: () => TreeViewItemText,
|
|
271
299
|
Label: () => TreeViewLabel,
|
|
300
|
+
NodeCheckbox: () => TreeViewNodeCheckbox,
|
|
301
|
+
NodeCheckboxIndicator: () => TreeViewNodeCheckboxIndicator,
|
|
272
302
|
NodeContext: () => TreeViewNodeContext,
|
|
273
303
|
NodeProvider: () => TreeViewNodeProvider,
|
|
274
304
|
Root: () => TreeViewRoot,
|
|
@@ -291,6 +321,8 @@ export {
|
|
|
291
321
|
TreeViewItemIndicator,
|
|
292
322
|
TreeViewItemText,
|
|
293
323
|
TreeViewLabel,
|
|
324
|
+
TreeViewNodeCheckbox,
|
|
325
|
+
TreeViewNodeCheckboxIndicator,
|
|
294
326
|
TreeViewNodeContext,
|
|
295
327
|
TreeViewNodeProvider,
|
|
296
328
|
useTreeView,
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
createContext
|
|
18
15
|
} from "./TVCIHLER.jsx";
|
|
16
|
+
import {
|
|
17
|
+
runIfFn
|
|
18
|
+
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./HQOIDGRU.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
12
|
+
} from "./E2L62MKC.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
createContext
|
|
21
18
|
} from "./TVCIHLER.jsx";
|
|
19
|
+
import {
|
|
20
|
+
runIfFn
|
|
21
|
+
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
createContext
|
|
18
15
|
} from "./TVCIHLER.jsx";
|
|
16
|
+
import {
|
|
17
|
+
runIfFn
|
|
18
|
+
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldContext
|
|
3
|
+
} from "./HQOIDGRU.jsx";
|
|
1
4
|
import {
|
|
2
5
|
PresenceProvider,
|
|
3
6
|
splitPresenceProps,
|
|
4
7
|
usePresence,
|
|
5
8
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
useFieldContext
|
|
9
|
-
} from "./O2Q7MOG6.jsx";
|
|
9
|
+
} from "./WC2HBDLJ.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./DOBZPYAN.jsx";
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
useEnvironmentContext
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
runIfFn
|
|
24
|
-
} from "./KGOB2IMX.jsx";
|
|
21
|
+
} from "./E2L62MKC.jsx";
|
|
25
22
|
import {
|
|
26
23
|
useLocaleContext
|
|
27
24
|
} from "./YUC6JE7K.jsx";
|
|
28
25
|
import {
|
|
29
26
|
createContext
|
|
30
27
|
} from "./TVCIHLER.jsx";
|
|
28
|
+
import {
|
|
29
|
+
runIfFn
|
|
30
|
+
} from "./KGOB2IMX.jsx";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
33
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFieldContext
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./HQOIDGRU.jsx";
|
|
4
4
|
import {
|
|
5
5
|
createSplitProps
|
|
6
6
|
} from "./6WEDGJKQ.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
12
|
+
} from "./E2L62MKC.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
createContext
|
|
21
18
|
} from "./TVCIHLER.jsx";
|
|
19
|
+
import {
|
|
20
|
+
runIfFn
|
|
21
|
+
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
18
|
+
} from "./E2L62MKC.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useLocaleContext
|
|
24
21
|
} from "./YUC6JE7K.jsx";
|
|
25
22
|
import {
|
|
26
23
|
createContext
|
|
27
24
|
} from "./TVCIHLER.jsx";
|
|
25
|
+
import {
|
|
26
|
+
runIfFn
|
|
27
|
+
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
createContext
|
|
15
12
|
} from "./TVCIHLER.jsx";
|
|
13
|
+
import {
|
|
14
|
+
runIfFn
|
|
15
|
+
} from "./KGOB2IMX.jsx";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
} from "./UFYZ7HLU.jsx";
|
|
21
21
|
import {
|
|
22
22
|
useEnvironmentContext
|
|
23
|
-
} from "./
|
|
24
|
-
import {
|
|
25
|
-
runIfFn
|
|
26
|
-
} from "./KGOB2IMX.jsx";
|
|
23
|
+
} from "./E2L62MKC.jsx";
|
|
27
24
|
import {
|
|
28
25
|
useLocaleContext
|
|
29
26
|
} from "./YUC6JE7K.jsx";
|
|
30
27
|
import {
|
|
31
28
|
createContext
|
|
32
29
|
} from "./TVCIHLER.jsx";
|
|
30
|
+
import {
|
|
31
|
+
runIfFn
|
|
32
|
+
} from "./KGOB2IMX.jsx";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
35
|
} from "./7IUG3E2V.jsx";
|
|
@@ -118,6 +118,23 @@ var TreeViewLabel = (props) => {
|
|
|
118
118
|
const mergedProps = mergeProps(() => treeView2().getLabelProps(), props);
|
|
119
119
|
return createComponent(ark.h3, mergedProps);
|
|
120
120
|
};
|
|
121
|
+
var TreeViewNodeCheckbox = (props) => {
|
|
122
|
+
const treeView2 = useTreeViewContext();
|
|
123
|
+
const nodeProps = useTreeViewNodePropsContext();
|
|
124
|
+
const mergedProps = mergeProps(() => treeView2().getNodeCheckboxProps(nodeProps), props);
|
|
125
|
+
return createComponent(ark.span, mergedProps);
|
|
126
|
+
};
|
|
127
|
+
var TreeViewNodeCheckboxIndicator = (props) => {
|
|
128
|
+
const nodeState = useTreeViewNodeContext();
|
|
129
|
+
const checkedState = createMemo(() => nodeState().checked);
|
|
130
|
+
if (checkedState() === "indeterminate" && props.indeterminate) {
|
|
131
|
+
return props.indeterminate;
|
|
132
|
+
}
|
|
133
|
+
if (checkedState() === true && props.children) {
|
|
134
|
+
return props.children;
|
|
135
|
+
}
|
|
136
|
+
return props.fallback;
|
|
137
|
+
};
|
|
121
138
|
|
|
122
139
|
// src/components/tree-view/tree-view-node-context.ts
|
|
123
140
|
var TreeViewNodeContext = (props) => props.children(useTreeViewNodeContext());
|
|
@@ -154,7 +171,7 @@ var useTreeView = (props) => {
|
|
|
154
171
|
// src/components/tree-view/tree-view-root.tsx
|
|
155
172
|
var TreeViewRoot = (props) => {
|
|
156
173
|
const [renderStrategyProps, treeViewProps] = splitRenderStrategyProps(props);
|
|
157
|
-
const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, ["collection", "defaultExpandedValue", "defaultSelectedValue", "expandedValue", "expandOnClick", "focusedValue", "id", "ids", "onExpandedChange", "onFocusChange", "
|
|
174
|
+
const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, ["checkedValue", "collection", "defaultCheckedValue", "defaultExpandedValue", "defaultFocusedValue", "defaultSelectedValue", "expandedValue", "expandOnClick", "focusedValue", "id", "ids", "loadChildren", "onCheckedChange", "onExpandedChange", "onFocusChange", "onLoadChildrenComplete", "onLoadChildrenError", "onSelectionChange", "selectedValue", "selectionMode", "typeahead"]);
|
|
158
175
|
const treeView2 = useTreeView(useTreeViewProps);
|
|
159
176
|
const mergedProps = mergeProps(() => treeView2().getRootProps(), localProps);
|
|
160
177
|
return createComponent(TreeViewProvider, {
|
|
@@ -208,6 +225,8 @@ __export(tree_view_exports, {
|
|
|
208
225
|
ItemIndicator: () => TreeViewItemIndicator,
|
|
209
226
|
ItemText: () => TreeViewItemText,
|
|
210
227
|
Label: () => TreeViewLabel,
|
|
228
|
+
NodeCheckbox: () => TreeViewNodeCheckbox,
|
|
229
|
+
NodeCheckboxIndicator: () => TreeViewNodeCheckboxIndicator,
|
|
211
230
|
NodeContext: () => TreeViewNodeContext,
|
|
212
231
|
NodeProvider: () => TreeViewNodeProvider,
|
|
213
232
|
Root: () => TreeViewRoot,
|
|
@@ -215,4 +234,4 @@ __export(tree_view_exports, {
|
|
|
215
234
|
Tree: () => TreeViewTree
|
|
216
235
|
});
|
|
217
236
|
|
|
218
|
-
export { TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewContext, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNodeContext, TreeViewNodeProvider, TreeViewRoot, TreeViewRootProvider, TreeViewTree, tree_view_exports, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
237
|
+
export { TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewContext, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNodeCheckbox, TreeViewNodeCheckboxIndicator, TreeViewNodeContext, TreeViewNodeProvider, TreeViewRoot, TreeViewRootProvider, TreeViewTree, tree_view_exports, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./DOBZPYAN.jsx";
|
|
4
4
|
import {
|
|
5
5
|
EnvironmentProvider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./E2L62MKC.jsx";
|
|
7
7
|
|
|
8
8
|
// src/components/frame/frame.tsx
|
|
9
9
|
import { Show, createEffect as createEffect2, createMemo, createSignal, onCleanup as onCleanup2, splitProps } from "solid-js";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
} from "./UFYZ7HLU.jsx";
|
|
7
7
|
import {
|
|
8
8
|
useEnvironmentContext
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
runIfFn
|
|
12
|
-
} from "./KGOB2IMX.jsx";
|
|
9
|
+
} from "./E2L62MKC.jsx";
|
|
13
10
|
import {
|
|
14
11
|
useLocaleContext
|
|
15
12
|
} from "./YUC6JE7K.jsx";
|
|
16
13
|
import {
|
|
17
14
|
createContext
|
|
18
15
|
} from "./TVCIHLER.jsx";
|
|
16
|
+
import {
|
|
17
|
+
runIfFn
|
|
18
|
+
} from "./KGOB2IMX.jsx";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
18
|
+
} from "./E2L62MKC.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useLocaleContext
|
|
24
21
|
} from "./YUC6JE7K.jsx";
|
|
25
22
|
import {
|
|
26
23
|
createContext
|
|
27
24
|
} from "./TVCIHLER.jsx";
|
|
25
|
+
import {
|
|
26
|
+
runIfFn
|
|
27
|
+
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./UFYZ7HLU.jsx";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironmentContext
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
runIfFn
|
|
15
|
-
} from "./KGOB2IMX.jsx";
|
|
12
|
+
} from "./E2L62MKC.jsx";
|
|
16
13
|
import {
|
|
17
14
|
useLocaleContext
|
|
18
15
|
} from "./YUC6JE7K.jsx";
|
|
19
16
|
import {
|
|
20
17
|
createContext
|
|
21
18
|
} from "./TVCIHLER.jsx";
|
|
19
|
+
import {
|
|
20
|
+
runIfFn
|
|
21
|
+
} from "./KGOB2IMX.jsx";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
18
|
+
} from "./E2L62MKC.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useLocaleContext
|
|
24
21
|
} from "./YUC6JE7K.jsx";
|
|
25
22
|
import {
|
|
26
23
|
createContext
|
|
27
24
|
} from "./TVCIHLER.jsx";
|
|
25
|
+
import {
|
|
26
|
+
runIfFn
|
|
27
|
+
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useFieldContext
|
|
3
|
+
} from "./HQOIDGRU.jsx";
|
|
1
4
|
import {
|
|
2
5
|
PresenceProvider,
|
|
3
6
|
splitPresenceProps,
|
|
4
7
|
usePresence,
|
|
5
8
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
useFieldContext
|
|
9
|
-
} from "./O2Q7MOG6.jsx";
|
|
9
|
+
} from "./WC2HBDLJ.jsx";
|
|
10
10
|
import {
|
|
11
11
|
composeRefs
|
|
12
12
|
} from "./DOBZPYAN.jsx";
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
} from "./UFYZ7HLU.jsx";
|
|
19
19
|
import {
|
|
20
20
|
useEnvironmentContext
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
runIfFn
|
|
24
|
-
} from "./KGOB2IMX.jsx";
|
|
21
|
+
} from "./E2L62MKC.jsx";
|
|
25
22
|
import {
|
|
26
23
|
useLocaleContext
|
|
27
24
|
} from "./YUC6JE7K.jsx";
|
|
28
25
|
import {
|
|
29
26
|
createContext
|
|
30
27
|
} from "./TVCIHLER.jsx";
|
|
28
|
+
import {
|
|
29
|
+
runIfFn
|
|
30
|
+
} from "./KGOB2IMX.jsx";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
33
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
} from "./UFYZ7HLU.jsx";
|
|
16
16
|
import {
|
|
17
17
|
useEnvironmentContext
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
runIfFn
|
|
21
|
-
} from "./KGOB2IMX.jsx";
|
|
18
|
+
} from "./E2L62MKC.jsx";
|
|
22
19
|
import {
|
|
23
20
|
useLocaleContext
|
|
24
21
|
} from "./YUC6JE7K.jsx";
|
|
25
22
|
import {
|
|
26
23
|
createContext
|
|
27
24
|
} from "./TVCIHLER.jsx";
|
|
25
|
+
import {
|
|
26
|
+
runIfFn
|
|
27
|
+
} from "./KGOB2IMX.jsx";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./7IUG3E2V.jsx";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
splitPresenceProps,
|
|
4
4
|
usePresence,
|
|
5
5
|
usePresenceContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WC2HBDLJ.jsx";
|
|
7
7
|
import {
|
|
8
8
|
composeRefs
|
|
9
9
|
} from "./DOBZPYAN.jsx";
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
} from "./UFYZ7HLU.jsx";
|
|
21
21
|
import {
|
|
22
22
|
useEnvironmentContext
|
|
23
|
-
} from "./
|
|
24
|
-
import {
|
|
25
|
-
runIfFn
|
|
26
|
-
} from "./KGOB2IMX.jsx";
|
|
23
|
+
} from "./E2L62MKC.jsx";
|
|
27
24
|
import {
|
|
28
25
|
useLocaleContext
|
|
29
26
|
} from "./YUC6JE7K.jsx";
|
|
30
27
|
import {
|
|
31
28
|
createContext
|
|
32
29
|
} from "./TVCIHLER.jsx";
|
|
30
|
+
import {
|
|
31
|
+
runIfFn
|
|
32
|
+
} from "./KGOB2IMX.jsx";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
35
|
} from "./7IUG3E2V.jsx";
|