@sprawlify/vue 0.0.72 → 0.0.73
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/{collapsible-jX9S7WYj.js → collapsible-SXAS3iFc.js} +1 -1
- package/dist/{collection-DGKjEgOz.js → collection-C_ZHBDQD.js} +1 -1
- package/dist/components/accordion/index.d.ts +15 -15
- package/dist/components/accordion/index.js +4 -4
- package/dist/components/angle-slider/index.d.ts +15 -15
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/avatar/index.d.ts +8 -8
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +16 -16
- package/dist/components/bottom-sheet/index.js +4 -4
- package/dist/components/carousel/index.d.ts +22 -22
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.d.ts +23 -23
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +16 -16
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/collapsible/index.d.ts +11 -11
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +48 -48
- package/dist/components/color-picker/index.js +3 -3
- package/dist/components/combobox/index.d.ts +31 -31
- package/dist/components/combobox/index.js +4 -4
- package/dist/components/date-picker/index.d.ts +42 -42
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/dialog/index.d.ts +28 -28
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/editable/index.d.ts +24 -24
- package/dist/components/editable/index.js +1 -1
- package/dist/components/field/index.d.ts +23 -23
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/file-upload/index.d.ts +20 -20
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-panel/index.d.ts +19 -19
- package/dist/components/floating-panel/index.js +2 -2
- package/dist/components/focus-trap/index.d.ts +4 -4
- package/dist/components/focus-trap/index.js +1 -1
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +21 -21
- package/dist/components/hover-card/index.js +3 -3
- package/dist/components/image-cropper/index.d.ts +13 -13
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/json-tree-view/index.d.ts +7 -7
- package/dist/components/json-tree-view/index.js +5 -5
- package/dist/components/listbox/index.d.ts +22 -22
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/marquee/index.d.ts +20 -20
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/menu/index.d.ts +45 -45
- package/dist/components/menu/index.js +3 -3
- package/dist/components/navigation-menu/index.d.ts +16 -16
- package/dist/components/navigation-menu/index.js +3 -3
- package/dist/components/number-input/index.d.ts +15 -15
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/pagination/index.d.ts +14 -14
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.d.ts +20 -20
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/pin-input/index.d.ts +12 -12
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/popover/index.d.ts +31 -31
- package/dist/components/popover/index.js +3 -3
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/presence/index.js +1 -1
- package/dist/components/progress/index.d.ts +12 -12
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +8 -8
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.d.ts +15 -15
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/rating-group/index.d.ts +13 -13
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/scroll-area/index.d.ts +9 -9
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.d.ts +17 -17
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.d.ts +30 -30
- package/dist/components/select/index.js +4 -4
- package/dist/components/signature-pad/index.d.ts +12 -12
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/slider/index.d.ts +20 -20
- package/dist/components/slider/index.js +1 -1
- package/dist/components/splitter/index.d.ts +9 -9
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/steps/index.d.ts +17 -17
- package/dist/components/steps/index.js +1 -1
- package/dist/components/switch/index.d.ts +14 -14
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.d.ts +14 -14
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tags-input/index.d.ts +27 -27
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/timer/index.d.ts +11 -11
- package/dist/components/timer/index.js +1 -1
- package/dist/components/toast/index.d.ts +154 -0
- package/dist/components/toast/index.js +265 -0
- package/dist/components/toggle/index.d.ts +101 -0
- package/dist/components/toggle/index.js +131 -0
- package/dist/components/toggle-group/index.d.ts +127 -0
- package/dist/components/toggle-group/index.js +207 -0
- package/dist/components/tooltip/index.d.ts +201 -0
- package/dist/components/tooltip/index.js +349 -0
- package/dist/components/tour/index.d.ts +308 -0
- package/dist/components/tour/index.js +505 -0
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/index.js +4 -4
- package/dist/{index-B_UiXhk3.d.ts → index-8bjPAUl0.d.ts} +9 -9
- package/dist/{index-xb1q4_02.d.ts → index-BnYwp0nl.d.ts} +7 -7
- package/dist/{index-DwWFWpls.d.ts → index-CmCVWB7e.d.ts} +28 -28
- package/dist/index.d.ts +1 -1
- package/dist/{tree-view-Ctpu5RjE.js → tree-view-N6ShNmpe.js} +4 -4
- package/package.json +22 -2
- /package/dist/{clean-props-D2R4tz5e.js → clean-props-ChPEW0vT.js} +0 -0
- /package/dist/{create-split-props-0RD5_O4P.js → create-split-props-BDJ_VWs3.js} +0 -0
- /package/dist/{presence-B4-UhJY9.js → presence-BK6rPXK7.js} +0 -0
- /package/dist/{use-render-strategy-DA33j31C.js → use-render-strategy-DMa_QmB6.js} +0 -0
|
@@ -3,7 +3,7 @@ import { a as Optional, r as EmitFn$1, t as Assign } from "./types-DIEO6uP3.js";
|
|
|
3
3
|
import { r as PropTypes } from "./index-CCRVRFFQ.js";
|
|
4
4
|
import { t as RenderStrategyProps } from "./use-render-strategy-U5NxU252.js";
|
|
5
5
|
import { f as TreeCollection, m as TreeNode } from "./index-DhFoJHfp.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue1653 from "vue";
|
|
7
7
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
8
|
import * as treeView from "@sprawlify/primitives/machines/tree-view";
|
|
9
9
|
import { CheckedChangeDetails, CheckedChangeDetails as TreeViewCheckedChangeDetails, ExpandedChangeDetails, ExpandedChangeDetails as TreeViewExpandedChangeDetails, FocusChangeDetails, FocusChangeDetails as TreeViewFocusChangeDetails, LoadChildrenCompleteDetails, LoadChildrenCompleteDetails as TreeViewLoadChildrenCompleteDetails, LoadChildrenDetails, LoadChildrenDetails as TreeViewLoadChildrenDetails, LoadChildrenErrorDetails, LoadChildrenErrorDetails as TreeViewLoadChildrenErrorDetails, NodeProps, NodeProps as NodeProps$1, NodeProps as TreeViewNodeProps, NodeState, NodeState as NodeState$1, NodeState as TreeViewNodeState, RenameCompleteDetails, RenameCompleteDetails as TreeViewRenameCompleteDetails, RenameStartDetails, RenameStartDetails as TreeViewRenameStartDetails, SelectionChangeDetails, SelectionChangeDetails as TreeViewSelectionChangeDetails, anatomy as treeViewAnatomy } from "@sprawlify/primitives/machines/tree-view";
|
|
@@ -16,7 +16,7 @@ interface TreeViewBranchContentProps extends TreeViewBranchContentBaseProps,
|
|
|
16
16
|
*/
|
|
17
17
|
HTMLAttributes {}
|
|
18
18
|
declare const _default$19: typeof __VLS_export$19;
|
|
19
|
-
declare const __VLS_export$19: __VLS_WithSlots$15<
|
|
19
|
+
declare const __VLS_export$19: __VLS_WithSlots$15<vue1653.DefineComponent<TreeViewBranchContentProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewBranchContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
20
20
|
default?: (props: {}) => any;
|
|
21
21
|
}>;
|
|
22
22
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
@@ -33,7 +33,7 @@ interface TreeViewBranchControlProps extends TreeViewBranchControlBaseProps,
|
|
|
33
33
|
*/
|
|
34
34
|
HTMLAttributes {}
|
|
35
35
|
declare const _default$18: typeof __VLS_export$18;
|
|
36
|
-
declare const __VLS_export$18: __VLS_WithSlots$14<
|
|
36
|
+
declare const __VLS_export$18: __VLS_WithSlots$14<vue1653.DefineComponent<TreeViewBranchControlProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewBranchControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
37
37
|
default?: (props: {}) => any;
|
|
38
38
|
}>;
|
|
39
39
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -50,7 +50,7 @@ interface TreeViewBranchIndentGuideProps extends TreeViewBranchIndentGuideBasePr
|
|
|
50
50
|
*/
|
|
51
51
|
HTMLAttributes {}
|
|
52
52
|
declare const _default$17: typeof __VLS_export$17;
|
|
53
|
-
declare const __VLS_export$17: __VLS_WithSlots$13<
|
|
53
|
+
declare const __VLS_export$17: __VLS_WithSlots$13<vue1653.DefineComponent<TreeViewBranchIndentGuideProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewBranchIndentGuideProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
54
54
|
default?: (props: {}) => any;
|
|
55
55
|
}>;
|
|
56
56
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -67,7 +67,7 @@ interface TreeViewBranchIndicatorProps extends TreeViewBranchIndicatorBaseProps,
|
|
|
67
67
|
*/
|
|
68
68
|
HTMLAttributes {}
|
|
69
69
|
declare const _default$16: typeof __VLS_export$16;
|
|
70
|
-
declare const __VLS_export$16: __VLS_WithSlots$12<
|
|
70
|
+
declare const __VLS_export$16: __VLS_WithSlots$12<vue1653.DefineComponent<TreeViewBranchIndicatorProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewBranchIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
71
71
|
default?: (props: {}) => any;
|
|
72
72
|
}>;
|
|
73
73
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -84,7 +84,7 @@ interface TreeViewBranchTextProps extends TreeViewBranchTextBaseProps,
|
|
|
84
84
|
*/
|
|
85
85
|
HTMLAttributes {}
|
|
86
86
|
declare const _default$15: typeof __VLS_export$15;
|
|
87
|
-
declare const __VLS_export$15: __VLS_WithSlots$11<
|
|
87
|
+
declare const __VLS_export$15: __VLS_WithSlots$11<vue1653.DefineComponent<TreeViewBranchTextProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewBranchTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
88
88
|
default?: (props: {}) => any;
|
|
89
89
|
}>;
|
|
90
90
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -101,7 +101,7 @@ interface TreeViewBranchTriggerProps extends TreeViewBranchTriggerBaseProps,
|
|
|
101
101
|
*/
|
|
102
102
|
HTMLAttributes {}
|
|
103
103
|
declare const _default$14: typeof __VLS_export$14;
|
|
104
|
-
declare const __VLS_export$14: __VLS_WithSlots$10<
|
|
104
|
+
declare const __VLS_export$14: __VLS_WithSlots$10<vue1653.DefineComponent<TreeViewBranchTriggerProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewBranchTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
105
105
|
default?: (props: {}) => any;
|
|
106
106
|
}>;
|
|
107
107
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -118,7 +118,7 @@ interface TreeViewBranchProps extends TreeViewBranchBaseProps,
|
|
|
118
118
|
*/
|
|
119
119
|
HTMLAttributes {}
|
|
120
120
|
declare const _default$13: typeof __VLS_export$13;
|
|
121
|
-
declare const __VLS_export$13: __VLS_WithSlots$9<
|
|
121
|
+
declare const __VLS_export$13: __VLS_WithSlots$9<vue1653.DefineComponent<TreeViewBranchProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewBranchProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
122
122
|
default?: (props: {}) => any;
|
|
123
123
|
}>;
|
|
124
124
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -186,7 +186,7 @@ interface TreeViewContextProps<T extends TreeNode> extends SlotsType<{
|
|
|
186
186
|
}> {}
|
|
187
187
|
declare const _default$12: typeof __VLS_export$12;
|
|
188
188
|
declare const __VLS_export$12: <T extends TreeNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
189
|
-
props:
|
|
189
|
+
props: vue1653.PublicProps & (typeof globalThis extends {
|
|
190
190
|
__VLS_PROPS_FALLBACK: infer P;
|
|
191
191
|
} ? P : {});
|
|
192
192
|
expose: (exposed: {}) => void;
|
|
@@ -195,7 +195,7 @@ declare const __VLS_export$12: <T extends TreeNode>(__VLS_props: NonNullable<Awa
|
|
|
195
195
|
default(treeView: UnwrapRef<UseTreeViewContext<T>>): unknown;
|
|
196
196
|
};
|
|
197
197
|
emit: {};
|
|
198
|
-
}>) =>
|
|
198
|
+
}>) => vue1653.VNode & {
|
|
199
199
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
200
200
|
};
|
|
201
201
|
type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -208,7 +208,7 @@ interface TreeViewItemIndicatorProps extends TreeViewItemIndicatorBaseProps,
|
|
|
208
208
|
*/
|
|
209
209
|
HTMLAttributes {}
|
|
210
210
|
declare const _default$11: typeof __VLS_export$11;
|
|
211
|
-
declare const __VLS_export$11: __VLS_WithSlots$8<
|
|
211
|
+
declare const __VLS_export$11: __VLS_WithSlots$8<vue1653.DefineComponent<TreeViewItemIndicatorProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
212
212
|
default?: (props: {}) => any;
|
|
213
213
|
}>;
|
|
214
214
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -225,7 +225,7 @@ interface TreeViewItemTextProps extends TreeViewItemTextBaseProps,
|
|
|
225
225
|
*/
|
|
226
226
|
HTMLAttributes {}
|
|
227
227
|
declare const _default$10: typeof __VLS_export$10;
|
|
228
|
-
declare const __VLS_export$10: __VLS_WithSlots$7<
|
|
228
|
+
declare const __VLS_export$10: __VLS_WithSlots$7<vue1653.DefineComponent<TreeViewItemTextProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
229
229
|
default?: (props: {}) => any;
|
|
230
230
|
}>;
|
|
231
231
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -242,7 +242,7 @@ interface TreeViewItemProps extends TreeViewItemBaseProps,
|
|
|
242
242
|
*/
|
|
243
243
|
HTMLAttributes {}
|
|
244
244
|
declare const _default$9: typeof __VLS_export$9;
|
|
245
|
-
declare const __VLS_export$9: __VLS_WithSlots$6<
|
|
245
|
+
declare const __VLS_export$9: __VLS_WithSlots$6<vue1653.DefineComponent<TreeViewItemProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
246
246
|
default?: (props: {}) => any;
|
|
247
247
|
}>;
|
|
248
248
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -259,7 +259,7 @@ interface TreeViewLabelProps extends TreeViewLabelBaseProps,
|
|
|
259
259
|
*/
|
|
260
260
|
HTMLAttributes {}
|
|
261
261
|
declare const _default$8: typeof __VLS_export$8;
|
|
262
|
-
declare const __VLS_export$8: __VLS_WithSlots$5<
|
|
262
|
+
declare const __VLS_export$8: __VLS_WithSlots$5<vue1653.DefineComponent<TreeViewLabelProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
263
263
|
default?: (props: {}) => any;
|
|
264
264
|
}>;
|
|
265
265
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -276,7 +276,7 @@ interface TreeViewNodeCheckboxProps extends TreeViewNodeCheckboxBaseProps,
|
|
|
276
276
|
*/
|
|
277
277
|
HTMLAttributes {}
|
|
278
278
|
declare const _default$7: typeof __VLS_export$7;
|
|
279
|
-
declare const __VLS_export$7: __VLS_WithSlots$4<
|
|
279
|
+
declare const __VLS_export$7: __VLS_WithSlots$4<vue1653.DefineComponent<TreeViewNodeCheckboxProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewNodeCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
280
280
|
default?: (props: {}) => any;
|
|
281
281
|
}>;
|
|
282
282
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -292,7 +292,7 @@ interface TreeViewNodeCheckboxIndicatorBaseProps {
|
|
|
292
292
|
}
|
|
293
293
|
interface TreeViewNodeCheckboxIndicatorProps extends TreeViewNodeCheckboxIndicatorBaseProps {}
|
|
294
294
|
declare const _default$6: typeof __VLS_export$6;
|
|
295
|
-
declare const __VLS_export$6: __VLS_WithSlots$3<
|
|
295
|
+
declare const __VLS_export$6: __VLS_WithSlots$3<vue1653.DefineComponent<TreeViewNodeCheckboxIndicatorProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewNodeCheckboxIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
296
296
|
default(): void;
|
|
297
297
|
indeterminate(): void;
|
|
298
298
|
fallback(): void;
|
|
@@ -311,7 +311,7 @@ interface TreeViewNodeRenameInputProps extends TreeViewNodeRenameInputBaseProps,
|
|
|
311
311
|
*/
|
|
312
312
|
InputHTMLAttributes {}
|
|
313
313
|
declare const _default$5: typeof __VLS_export$5;
|
|
314
|
-
declare const __VLS_export$5: __VLS_WithSlots$2<
|
|
314
|
+
declare const __VLS_export$5: __VLS_WithSlots$2<vue1653.DefineComponent<TreeViewNodeRenameInputProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewNodeRenameInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
315
315
|
default?: (props: {}) => any;
|
|
316
316
|
}>;
|
|
317
317
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -328,7 +328,7 @@ interface TreeViewNodeContextProps extends SlotsType<{
|
|
|
328
328
|
default: UnwrapRef<UseTreeViewNodeContext>;
|
|
329
329
|
}> {}
|
|
330
330
|
declare const _default$4: typeof __VLS_export$4;
|
|
331
|
-
declare const __VLS_export$4: __VLS_WithSlots$1<
|
|
331
|
+
declare const __VLS_export$4: __VLS_WithSlots$1<vue1653.DefineComponent<{}, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, true, {}, any>, {
|
|
332
332
|
default(item: UnwrapRef<UseTreeViewNodeContext>): unknown;
|
|
333
333
|
}>;
|
|
334
334
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -344,7 +344,7 @@ interface TreeViewNodeProviderBaseProps<T> extends NodeProps {
|
|
|
344
344
|
interface TreeViewNodeProviderProps<T extends TreeNode> extends TreeViewNodeProviderBaseProps<T> {}
|
|
345
345
|
declare const _default$3: typeof __VLS_export$3;
|
|
346
346
|
declare const __VLS_export$3: <T extends TreeNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
347
|
-
props:
|
|
347
|
+
props: vue1653.PublicProps & __VLS_PrettifyLocal$2<TreeViewNodeProviderBaseProps<T>> & (typeof globalThis extends {
|
|
348
348
|
__VLS_PROPS_FALLBACK: infer P;
|
|
349
349
|
} ? P : {});
|
|
350
350
|
expose: (exposed: {}) => void;
|
|
@@ -353,7 +353,7 @@ declare const __VLS_export$3: <T extends TreeNode>(__VLS_props: NonNullable<Awai
|
|
|
353
353
|
default?: (props: {}) => any;
|
|
354
354
|
};
|
|
355
355
|
emit: {};
|
|
356
|
-
}>) =>
|
|
356
|
+
}>) => vue1653.VNode & {
|
|
357
357
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
358
358
|
};
|
|
359
359
|
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -371,7 +371,7 @@ HTMLAttributes {}
|
|
|
371
371
|
type TreeViewRootProviderComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProviderProps<T>, P>) => any;
|
|
372
372
|
declare const _default$2: typeof __VLS_export$2;
|
|
373
373
|
declare const __VLS_export$2: <T extends TreeNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
374
|
-
props:
|
|
374
|
+
props: vue1653.PublicProps & __VLS_PrettifyLocal$1<TreeViewRootProviderProps<T>> & (typeof globalThis extends {
|
|
375
375
|
__VLS_PROPS_FALLBACK: infer P;
|
|
376
376
|
} ? P : {});
|
|
377
377
|
expose: (exposed: {}) => void;
|
|
@@ -380,7 +380,7 @@ declare const __VLS_export$2: <T extends TreeNode>(__VLS_props: NonNullable<Awai
|
|
|
380
380
|
default?: (props: {}) => any;
|
|
381
381
|
};
|
|
382
382
|
emit: {};
|
|
383
|
-
}>) =>
|
|
383
|
+
}>) => vue1653.VNode & {
|
|
384
384
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
385
385
|
};
|
|
386
386
|
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -396,10 +396,9 @@ type TreeViewRootComponentProps<T extends TreeNode = TreeNode, P = {}> = Assign<
|
|
|
396
396
|
type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: TreeViewRootComponentProps<T, P>) => any;
|
|
397
397
|
declare const _default$1: typeof __VLS_export$1;
|
|
398
398
|
declare const __VLS_export$1: <T extends TreeNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
399
|
-
props:
|
|
400
|
-
onCheckedChange?: ((details: treeView.CheckedChangeDetails) => any) | undefined;
|
|
399
|
+
props: vue1653.PublicProps & __VLS_PrettifyLocal<TreeViewRootProps<T> & {
|
|
401
400
|
onFocusChange?: ((details: treeView.FocusChangeDetails<any>) => any) | undefined;
|
|
402
|
-
|
|
401
|
+
onCheckedChange?: ((details: treeView.CheckedChangeDetails) => any) | undefined;
|
|
403
402
|
onExpandedChange?: ((details: treeView.ExpandedChangeDetails<any>) => any) | undefined;
|
|
404
403
|
onSelectionChange?: ((details: treeView.SelectionChangeDetails<any>) => any) | undefined;
|
|
405
404
|
onLoadChildrenComplete?: ((details: treeView.LoadChildrenCompleteDetails<T>) => any) | undefined;
|
|
@@ -408,6 +407,7 @@ declare const __VLS_export$1: <T extends TreeNode>(__VLS_props: NonNullable<Awai
|
|
|
408
407
|
onBeforeRename?: ((details: treeView.RenameCompleteDetails) => any) | undefined;
|
|
409
408
|
onRenameComplete?: ((details: treeView.RenameCompleteDetails) => any) | undefined;
|
|
410
409
|
"onUpdate:expandedValue"?: ((value: string[]) => any) | undefined;
|
|
410
|
+
"onUpdate:focusedValue"?: ((value: string | null) => any) | undefined;
|
|
411
411
|
"onUpdate:selectedValue"?: ((value: string[]) => any) | undefined;
|
|
412
412
|
"onUpdate:checkedValue"?: ((value: string[]) => any) | undefined;
|
|
413
413
|
}> & (typeof globalThis extends {
|
|
@@ -418,8 +418,8 @@ declare const __VLS_export$1: <T extends TreeNode>(__VLS_props: NonNullable<Awai
|
|
|
418
418
|
slots: {
|
|
419
419
|
default?: (props: {}) => any;
|
|
420
420
|
};
|
|
421
|
-
emit: ((evt: "
|
|
422
|
-
}>) =>
|
|
421
|
+
emit: ((evt: "focusChange", details: treeView.FocusChangeDetails<any>) => void) & ((evt: "checkedChange", details: treeView.CheckedChangeDetails) => void) & ((evt: "expandedChange", details: treeView.ExpandedChangeDetails<any>) => void) & ((evt: "selectionChange", details: treeView.SelectionChangeDetails<any>) => void) & ((evt: "loadChildrenComplete", details: treeView.LoadChildrenCompleteDetails<T>) => void) & ((evt: "loadChildrenError", details: treeView.LoadChildrenErrorDetails<T>) => void) & ((evt: "renameStart", details: treeView.RenameStartDetails<T>) => void) & ((evt: "beforeRename", details: treeView.RenameCompleteDetails) => void) & ((evt: "renameComplete", details: treeView.RenameCompleteDetails) => void) & ((evt: "update:expandedValue", value: string[]) => void) & ((evt: "update:focusedValue", value: string | null) => void) & ((evt: "update:selectedValue", value: string[]) => void) & ((evt: "update:checkedValue", value: string[]) => void);
|
|
422
|
+
}>) => vue1653.VNode & {
|
|
423
423
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
424
424
|
};
|
|
425
425
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -432,7 +432,7 @@ interface TreeViewTreeProps extends TreeViewTreeBaseProps,
|
|
|
432
432
|
*/
|
|
433
433
|
HTMLAttributes {}
|
|
434
434
|
declare const _default: typeof __VLS_export;
|
|
435
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
435
|
+
declare const __VLS_export: __VLS_WithSlots<vue1653.DefineComponent<TreeViewTreeProps, {}, {}, {}, {}, vue1653.ComponentOptionsMixin, vue1653.ComponentOptionsMixin, {}, string, vue1653.PublicProps, Readonly<TreeViewTreeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1653.ComponentProvideOptions, false, {}, any>, {
|
|
436
436
|
default?: (props: {}) => any;
|
|
437
437
|
}>;
|
|
438
438
|
type __VLS_WithSlots<T, S> = T & {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as Optional, i as MaybePromise, n as BooleanDefaults, r as EmitFn, t as Assign } from "./types-DIEO6uP3.js";
|
|
2
2
|
import { i as normalizeProps, n as useMachine, r as PropTypes, t as mergeProps } from "./index-CCRVRFFQ.js";
|
|
3
|
-
import { S as useEnvironmentContext, _ as EnvironmentProviderProps, a as createContext, b as RootNode, c as useLocaleContext, d as useFilter, f as UseCollatorProps, g as _default$1, h as LocaleProviderProps, i as useEmitAsProps, l as UseFilterProps, m as useCollator, n as useForwardProps, o as DEFAULT_LOCALE, p as UseCollatorReturn, r as useForwardExpose, s as LocaleContext, t as useForwardPropsEmits, u as UseFilterReturn, v as _default, x as UseEnvironmentContext, y as DEFAULT_ENVIRONMENT } from "./index-
|
|
3
|
+
import { S as useEnvironmentContext, _ as EnvironmentProviderProps, a as createContext, b as RootNode, c as useLocaleContext, d as useFilter, f as UseCollatorProps, g as _default$1, h as LocaleProviderProps, i as useEmitAsProps, l as UseFilterProps, m as useCollator, n as useForwardProps, o as DEFAULT_LOCALE, p as UseCollatorReturn, r as useForwardExpose, s as LocaleContext, t as useForwardPropsEmits, u as UseFilterReturn, v as _default, x as UseEnvironmentContext, y as DEFAULT_ENVIRONMENT } from "./index-BnYwp0nl.js";
|
|
4
4
|
export { Assign, BooleanDefaults, DEFAULT_ENVIRONMENT, DEFAULT_LOCALE, EmitFn, _default as EnvironmentProvider, EnvironmentProviderProps, LocaleContext, _default$1 as LocaleProvider, LocaleProviderProps, MaybePromise, Optional, PropTypes, RootNode, UseCollatorProps, UseCollatorReturn, UseEnvironmentContext, UseFilterProps, UseFilterReturn, createContext, mergeProps, normalizeProps, useCollator, useEmitAsProps, useEnvironmentContext, useFilter, useForwardExpose, useForwardProps, useForwardPropsEmits, useLocaleContext, useMachine };
|
|
@@ -4,10 +4,10 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "./create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "./use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "./factory-Co08Aw8u.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as createSplitProps } from "./create-split-props-
|
|
10
|
-
import {
|
|
7
|
+
import { t as cleanProps } from "./clean-props-ChPEW0vT.js";
|
|
8
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "./use-render-strategy-DMa_QmB6.js";
|
|
9
|
+
import { t as createSplitProps } from "./create-split-props-BDJ_VWs3.js";
|
|
10
|
+
import { t as collapsible_exports } from "./collapsible-SXAS3iFc.js";
|
|
11
11
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
12
12
|
import * as treeView from "@sprawlify/primitives/machines/tree-view";
|
|
13
13
|
import { anatomy as treeViewAnatomy } from "@sprawlify/primitives/machines/tree-view";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprawlify/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.73",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue wrapper for primitives.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -220,6 +220,26 @@
|
|
|
220
220
|
"types": "./dist/components/timer/index.d.ts",
|
|
221
221
|
"default": "./dist/components/timer/index.js"
|
|
222
222
|
},
|
|
223
|
+
"./toast": {
|
|
224
|
+
"types": "./dist/components/toast/index.d.ts",
|
|
225
|
+
"default": "./dist/components/toast/index.js"
|
|
226
|
+
},
|
|
227
|
+
"./toggle": {
|
|
228
|
+
"types": "./dist/components/toggle/index.d.ts",
|
|
229
|
+
"default": "./dist/components/toggle/index.js"
|
|
230
|
+
},
|
|
231
|
+
"./toggle-group": {
|
|
232
|
+
"types": "./dist/components/toggle-group/index.d.ts",
|
|
233
|
+
"default": "./dist/components/toggle-group/index.js"
|
|
234
|
+
},
|
|
235
|
+
"./tooltip": {
|
|
236
|
+
"types": "./dist/components/tooltip/index.d.ts",
|
|
237
|
+
"default": "./dist/components/tooltip/index.js"
|
|
238
|
+
},
|
|
239
|
+
"./tour": {
|
|
240
|
+
"types": "./dist/components/tour/index.d.ts",
|
|
241
|
+
"default": "./dist/components/tour/index.js"
|
|
242
|
+
},
|
|
223
243
|
"./tree-view": {
|
|
224
244
|
"types": "./dist/components/tree-view/index.d.ts",
|
|
225
245
|
"default": "./dist/components/tree-view/index.js"
|
|
@@ -232,7 +252,7 @@
|
|
|
232
252
|
"access": "public"
|
|
233
253
|
},
|
|
234
254
|
"dependencies": {
|
|
235
|
-
"@sprawlify/primitives": "0.0.
|
|
255
|
+
"@sprawlify/primitives": "0.0.73"
|
|
236
256
|
},
|
|
237
257
|
"peerDependencies": {
|
|
238
258
|
"vue": ">=3.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|