@sprawlify/vue 0.0.67 → 0.0.72
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/boolean-CpMsIRK4.js +7 -0
- package/dist/{collapsible-DQfAISmg.js → collapsible-jX9S7WYj.js} +5 -4
- package/dist/{collection-Ba0Aeh5P.js → collection-DGKjEgOz.js} +1 -1
- package/dist/components/accordion/index.d.ts +19 -19
- package/dist/components/accordion/index.js +8 -7
- package/dist/components/angle-slider/index.d.ts +18 -18
- package/dist/components/angle-slider/index.js +5 -4
- package/dist/components/avatar/index.d.ts +11 -11
- package/dist/components/avatar/index.js +5 -4
- package/dist/components/bottom-sheet/index.d.ts +22 -22
- package/dist/components/bottom-sheet/index.js +8 -7
- package/dist/components/carousel/index.d.ts +25 -25
- package/dist/components/carousel/index.js +5 -4
- package/dist/components/checkbox/index.d.ts +27 -27
- package/dist/components/checkbox/index.js +8 -12
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +17 -17
- package/dist/components/clipboard/index.js +5 -4
- package/dist/components/collapsible/index.d.ts +16 -16
- package/dist/components/collapsible/index.js +5 -4
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +56 -56
- package/dist/components/color-picker/index.js +8 -7
- package/dist/components/combobox/index.d.ts +38 -38
- package/dist/components/combobox/index.js +9 -8
- package/dist/components/date-picker/index.d.ts +47 -47
- package/dist/components/date-picker/index.js +7 -6
- package/dist/components/dialog/index.d.ts +35 -35
- package/dist/components/dialog/index.js +7 -6
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +4 -3
- package/dist/components/editable/index.d.ts +29 -29
- package/dist/components/editable/index.js +6 -5
- package/dist/components/field/index.d.ts +25 -25
- package/dist/components/field/index.js +5 -4
- package/dist/components/fieldset/index.d.ts +13 -13
- package/dist/components/fieldset/index.js +5 -4
- package/dist/components/file-upload/index.d.ts +329 -0
- package/dist/components/file-upload/index.js +597 -0
- package/dist/components/floating-panel/index.d.ts +325 -0
- package/dist/components/floating-panel/index.js +568 -0
- package/dist/components/focus-trap/index.d.ts +48 -0
- package/dist/components/focus-trap/index.js +96 -0
- package/dist/components/format/index.d.ts +40 -0
- package/dist/components/format/index.js +148 -0
- package/dist/components/frame/index.d.ts +39 -0
- package/dist/components/frame/index.js +111 -0
- 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 +200 -0
- package/dist/components/hover-card/index.js +335 -0
- package/dist/components/image-cropper/index.d.ts +211 -0
- package/dist/components/image-cropper/index.js +381 -0
- package/dist/components/json-tree-view/index.d.ts +91 -0
- package/dist/components/json-tree-view/index.js +490 -0
- package/dist/components/listbox/index.d.ts +325 -0
- package/dist/components/listbox/index.js +533 -0
- package/dist/components/marquee/index.d.ts +268 -0
- package/dist/components/marquee/index.js +340 -0
- package/dist/components/menu/index.d.ts +55 -56
- package/dist/components/menu/index.js +7 -6
- package/dist/components/navigation-menu/index.d.ts +272 -0
- package/dist/components/navigation-menu/index.js +559 -0
- package/dist/components/number-input/index.d.ts +253 -0
- package/dist/components/number-input/index.js +427 -0
- package/dist/components/pagination/index.d.ts +211 -0
- package/dist/components/pagination/index.js +346 -0
- package/dist/components/password-input/index.d.ts +213 -0
- package/dist/components/password-input/index.js +325 -0
- package/dist/components/pin-input/index.d.ts +198 -0
- package/dist/components/pin-input/index.js +346 -0
- package/dist/components/popover/index.d.ts +318 -0
- package/dist/components/popover/index.js +486 -0
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +4 -3
- package/dist/components/progress/index.d.ts +231 -0
- package/dist/components/progress/index.js +372 -0
- package/dist/components/qr-code/index.d.ts +159 -0
- package/dist/components/qr-code/index.js +263 -0
- package/dist/components/radio-group/index.d.ts +231 -0
- package/dist/components/radio-group/index.js +378 -0
- package/dist/components/rating-group/index.d.ts +201 -0
- package/dist/components/rating-group/index.js +330 -0
- package/dist/components/scroll-area/index.d.ts +171 -0
- package/dist/components/scroll-area/index.js +264 -0
- package/dist/components/segment-group/index.d.ts +231 -0
- package/dist/components/segment-group/index.js +422 -0
- package/dist/components/select/index.d.ts +39 -39
- package/dist/components/select/index.js +9 -8
- package/dist/components/signature-pad/index.d.ts +202 -0
- package/dist/components/signature-pad/index.js +345 -0
- package/dist/components/slider/index.d.ts +300 -0
- package/dist/components/slider/index.js +511 -0
- package/dist/components/splitter/index.d.ts +162 -0
- package/dist/components/splitter/index.js +280 -0
- package/dist/components/steps/index.d.ts +290 -0
- package/dist/components/steps/index.js +469 -0
- package/dist/components/switch/index.d.ts +179 -0
- package/dist/components/switch/index.js +290 -0
- package/dist/components/tabs/index.d.ts +181 -0
- package/dist/components/tabs/index.js +335 -0
- package/dist/components/tags-input/index.d.ts +339 -0
- package/dist/components/tags-input/index.js +569 -0
- package/dist/components/timer/index.d.ts +177 -0
- package/dist/components/timer/index.js +295 -0
- package/dist/components/tree-view/index.d.ts +6 -0
- package/dist/components/tree-view/index.js +11 -0
- package/dist/create-context-Ds1GbsVc.js +16 -0
- package/dist/{field-DnHnX3Tf.js → field-CtPR24u6.js} +4 -3
- package/dist/{fieldset-DzhN7Zrg.js → fieldset-D5SznrKY.js} +4 -3
- package/dist/{index-CDQghZtv.d.ts → index-B_UiXhk3.d.ts} +11 -11
- package/dist/index-DwWFWpls.d.ts +447 -0
- package/dist/{index-BBHms9-0.d.ts → index-xb1q4_02.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -2
- package/dist/{presence-CvUnYMZQ.js → presence-B4-UhJY9.js} +3 -2
- package/dist/{providers-B2CNPFg1.js → providers-DNBWT-O_.js} +1 -1
- package/dist/tree-view-Ctpu5RjE.js +737 -0
- package/dist/{use-forward-expose-4p5AGAI3.js → use-forward-expose-CCAmHTUB.js} +2 -15
- package/dist/{use-render-strategy-BkxoN6ll.js → use-render-strategy-DA33j31C.js} +1 -1
- package/package.json +126 -2
- /package/dist/{clean-props-BDv2zb5M.js → clean-props-D2R4tz5e.js} +0 -0
- /package/dist/{create-split-props-YZ3qgXe_.js → create-split-props-0RD5_O4P.js} +0 -0
- /package/dist/{factory-D_ge_w76.d.ts → factory-B5zr8_kk.d.ts} +0 -0
- /package/dist/{factory-BH3WrWd2.js → factory-Co08Aw8u.js} +0 -0
- /package/dist/{index-B66Om_3U.d.ts → index-CCRVRFFQ.d.ts} +0 -0
- /package/dist/{index-DqRk-Yea.d.ts → index-DhFoJHfp.d.ts} +0 -0
- /package/dist/{presence-types-Bv1E60Cw.d.ts → presence-types-BJRr8tqd.d.ts} +0 -0
- /package/dist/{types-Bj-dS2Hc.d.ts → types-DIEO6uP3.d.ts} +0 -0
- /package/dist/{use-render-strategy-CHj_pCfT.d.ts → use-render-strategy-U5NxU252.d.ts} +0 -0
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
import { t as PolymorphicProps } from "./factory-B5zr8_kk.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1, t as Assign } from "./types-DIEO6uP3.js";
|
|
3
|
+
import { r as PropTypes } from "./index-CCRVRFFQ.js";
|
|
4
|
+
import { t as RenderStrategyProps } from "./use-render-strategy-U5NxU252.js";
|
|
5
|
+
import { f as TreeCollection, m as TreeNode } from "./index-DhFoJHfp.js";
|
|
6
|
+
import * as vue2308 from "vue";
|
|
7
|
+
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
|
+
import * as treeView from "@sprawlify/primitives/machines/tree-view";
|
|
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";
|
|
10
|
+
|
|
11
|
+
//#region src/components/tree-view/tree-view-branch-content.vue.d.ts
|
|
12
|
+
interface TreeViewBranchContentBaseProps extends PolymorphicProps {}
|
|
13
|
+
interface TreeViewBranchContentProps extends TreeViewBranchContentBaseProps,
|
|
14
|
+
/**
|
|
15
|
+
* @vue-ignore
|
|
16
|
+
*/
|
|
17
|
+
HTMLAttributes {}
|
|
18
|
+
declare const _default$19: typeof __VLS_export$19;
|
|
19
|
+
declare const __VLS_export$19: __VLS_WithSlots$15<vue2308.DefineComponent<TreeViewBranchContentProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewBranchContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
20
|
+
default?: (props: {}) => any;
|
|
21
|
+
}>;
|
|
22
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/components/tree-view/tree-view-branch-control.vue.d.ts
|
|
29
|
+
interface TreeViewBranchControlBaseProps extends PolymorphicProps {}
|
|
30
|
+
interface TreeViewBranchControlProps extends TreeViewBranchControlBaseProps,
|
|
31
|
+
/**
|
|
32
|
+
* @vue-ignore
|
|
33
|
+
*/
|
|
34
|
+
HTMLAttributes {}
|
|
35
|
+
declare const _default$18: typeof __VLS_export$18;
|
|
36
|
+
declare const __VLS_export$18: __VLS_WithSlots$14<vue2308.DefineComponent<TreeViewBranchControlProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewBranchControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
37
|
+
default?: (props: {}) => any;
|
|
38
|
+
}>;
|
|
39
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/tree-view/tree-view-branch-indent-guide.vue.d.ts
|
|
46
|
+
interface TreeViewBranchIndentGuideBaseProps extends PolymorphicProps {}
|
|
47
|
+
interface TreeViewBranchIndentGuideProps extends TreeViewBranchIndentGuideBaseProps,
|
|
48
|
+
/**
|
|
49
|
+
* @vue-ignore
|
|
50
|
+
*/
|
|
51
|
+
HTMLAttributes {}
|
|
52
|
+
declare const _default$17: typeof __VLS_export$17;
|
|
53
|
+
declare const __VLS_export$17: __VLS_WithSlots$13<vue2308.DefineComponent<TreeViewBranchIndentGuideProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewBranchIndentGuideProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
54
|
+
default?: (props: {}) => any;
|
|
55
|
+
}>;
|
|
56
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/components/tree-view/tree-view-branch-indicator.vue.d.ts
|
|
63
|
+
interface TreeViewBranchIndicatorBaseProps extends PolymorphicProps {}
|
|
64
|
+
interface TreeViewBranchIndicatorProps extends TreeViewBranchIndicatorBaseProps,
|
|
65
|
+
/**
|
|
66
|
+
* @vue-ignore
|
|
67
|
+
*/
|
|
68
|
+
HTMLAttributes {}
|
|
69
|
+
declare const _default$16: typeof __VLS_export$16;
|
|
70
|
+
declare const __VLS_export$16: __VLS_WithSlots$12<vue2308.DefineComponent<TreeViewBranchIndicatorProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewBranchIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
71
|
+
default?: (props: {}) => any;
|
|
72
|
+
}>;
|
|
73
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
74
|
+
new (): {
|
|
75
|
+
$slots: S;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/components/tree-view/tree-view-branch-text.vue.d.ts
|
|
80
|
+
interface TreeViewBranchTextBaseProps extends PolymorphicProps {}
|
|
81
|
+
interface TreeViewBranchTextProps extends TreeViewBranchTextBaseProps,
|
|
82
|
+
/**
|
|
83
|
+
* @vue-ignore
|
|
84
|
+
*/
|
|
85
|
+
HTMLAttributes {}
|
|
86
|
+
declare const _default$15: typeof __VLS_export$15;
|
|
87
|
+
declare const __VLS_export$15: __VLS_WithSlots$11<vue2308.DefineComponent<TreeViewBranchTextProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewBranchTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
88
|
+
default?: (props: {}) => any;
|
|
89
|
+
}>;
|
|
90
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
91
|
+
new (): {
|
|
92
|
+
$slots: S;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/components/tree-view/tree-view-branch-trigger.vue.d.ts
|
|
97
|
+
interface TreeViewBranchTriggerBaseProps extends PolymorphicProps {}
|
|
98
|
+
interface TreeViewBranchTriggerProps extends TreeViewBranchTriggerBaseProps,
|
|
99
|
+
/**
|
|
100
|
+
* @vue-ignore
|
|
101
|
+
*/
|
|
102
|
+
HTMLAttributes {}
|
|
103
|
+
declare const _default$14: typeof __VLS_export$14;
|
|
104
|
+
declare const __VLS_export$14: __VLS_WithSlots$10<vue2308.DefineComponent<TreeViewBranchTriggerProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewBranchTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
105
|
+
default?: (props: {}) => any;
|
|
106
|
+
}>;
|
|
107
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
108
|
+
new (): {
|
|
109
|
+
$slots: S;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region src/components/tree-view/tree-view-branch.vue.d.ts
|
|
114
|
+
interface TreeViewBranchBaseProps extends PolymorphicProps {}
|
|
115
|
+
interface TreeViewBranchProps extends TreeViewBranchBaseProps,
|
|
116
|
+
/**
|
|
117
|
+
* @vue-ignore̊
|
|
118
|
+
*/
|
|
119
|
+
HTMLAttributes {}
|
|
120
|
+
declare const _default$13: typeof __VLS_export$13;
|
|
121
|
+
declare const __VLS_export$13: __VLS_WithSlots$9<vue2308.DefineComponent<TreeViewBranchProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewBranchProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
122
|
+
default?: (props: {}) => any;
|
|
123
|
+
}>;
|
|
124
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
125
|
+
new (): {
|
|
126
|
+
$slots: S;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/components/tree-view/tree-view-types.d.ts
|
|
131
|
+
interface RootProps<T extends TreeNode> {
|
|
132
|
+
collection: TreeCollection<T>;
|
|
133
|
+
defaultExpandedValue?: string[];
|
|
134
|
+
defaultSelectedValue?: string[];
|
|
135
|
+
defaultCheckedValue?: string[];
|
|
136
|
+
defaultFocusedValue?: string;
|
|
137
|
+
checkedValue?: string[];
|
|
138
|
+
expandOnClick?: boolean;
|
|
139
|
+
expandedValue?: string[];
|
|
140
|
+
focusedValue?: string;
|
|
141
|
+
id?: string;
|
|
142
|
+
ids?: Partial<{
|
|
143
|
+
root: string;
|
|
144
|
+
tree: string;
|
|
145
|
+
label: string;
|
|
146
|
+
node(value: string): string;
|
|
147
|
+
}>;
|
|
148
|
+
selectedValue?: string[];
|
|
149
|
+
selectionMode?: 'single' | 'multiple';
|
|
150
|
+
typeahead?: boolean;
|
|
151
|
+
loadChildren?: (details: treeView.LoadChildrenDetails<T>) => Promise<T[]>;
|
|
152
|
+
canRename?: (node: T, indexPath: number[]) => boolean;
|
|
153
|
+
}
|
|
154
|
+
type RootEmits<T extends TreeNode> = {
|
|
155
|
+
expandedChange: [details: treeView.ExpandedChangeDetails];
|
|
156
|
+
focusChange: [details: treeView.FocusChangeDetails];
|
|
157
|
+
selectionChange: [details: treeView.SelectionChangeDetails];
|
|
158
|
+
checkedChange: [details: treeView.CheckedChangeDetails];
|
|
159
|
+
loadChildrenComplete: [details: treeView.LoadChildrenCompleteDetails<T>];
|
|
160
|
+
loadChildrenError: [details: treeView.LoadChildrenErrorDetails<T>];
|
|
161
|
+
renameStart: [details: treeView.RenameStartDetails<T>];
|
|
162
|
+
beforeRename: [details: treeView.RenameCompleteDetails];
|
|
163
|
+
renameComplete: [details: treeView.RenameCompleteDetails];
|
|
164
|
+
'update:expandedValue': [value: string[]];
|
|
165
|
+
'update:focusedValue': [value: string | null];
|
|
166
|
+
'update:selectedValue': [value: string[]];
|
|
167
|
+
'update:checkedValue': [value: string[]];
|
|
168
|
+
};
|
|
169
|
+
//#endregion
|
|
170
|
+
//#region src/components/tree-view/use-tree-view.d.ts
|
|
171
|
+
interface UseTreeViewProps<T extends TreeNode> extends Optional<Omit<treeView.Props, 'dir' | 'getRootNode' | 'collection'>, 'id'> {
|
|
172
|
+
/**
|
|
173
|
+
* The collection of tree nodes
|
|
174
|
+
*/
|
|
175
|
+
collection: TreeCollection<T>;
|
|
176
|
+
}
|
|
177
|
+
interface UseTreeViewReturn<T extends TreeNode> extends ComputedRef<treeView.Api<PropTypes, T>> {}
|
|
178
|
+
declare const useTreeView: <T extends TreeNode>(props: MaybeRef<UseTreeViewProps<T>>, emit?: EmitFn$1<RootEmits<T>>) => UseTreeViewReturn<T>;
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region src/components/tree-view/use-tree-view-context.d.ts
|
|
181
|
+
interface UseTreeViewContext<T extends TreeNode> extends UseTreeViewReturn<T> {}
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/components/tree-view/tree-view-context.vue.d.ts
|
|
184
|
+
interface TreeViewContextProps<T extends TreeNode> extends SlotsType<{
|
|
185
|
+
default: UnwrapRef<UseTreeViewContext<T>>;
|
|
186
|
+
}> {}
|
|
187
|
+
declare const _default$12: typeof __VLS_export$12;
|
|
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: vue2308.PublicProps & (typeof globalThis extends {
|
|
190
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
191
|
+
} ? P : {});
|
|
192
|
+
expose: (exposed: {}) => void;
|
|
193
|
+
attrs: any;
|
|
194
|
+
slots: {
|
|
195
|
+
default(treeView: UnwrapRef<UseTreeViewContext<T>>): unknown;
|
|
196
|
+
};
|
|
197
|
+
emit: {};
|
|
198
|
+
}>) => vue2308.VNode & {
|
|
199
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
200
|
+
};
|
|
201
|
+
type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region src/components/tree-view/tree-view-item-indicator.vue.d.ts
|
|
204
|
+
interface TreeViewItemIndicatorBaseProps extends PolymorphicProps {}
|
|
205
|
+
interface TreeViewItemIndicatorProps extends TreeViewItemIndicatorBaseProps,
|
|
206
|
+
/**
|
|
207
|
+
* @vue-ignore
|
|
208
|
+
*/
|
|
209
|
+
HTMLAttributes {}
|
|
210
|
+
declare const _default$11: typeof __VLS_export$11;
|
|
211
|
+
declare const __VLS_export$11: __VLS_WithSlots$8<vue2308.DefineComponent<TreeViewItemIndicatorProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
212
|
+
default?: (props: {}) => any;
|
|
213
|
+
}>;
|
|
214
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
215
|
+
new (): {
|
|
216
|
+
$slots: S;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region src/components/tree-view/tree-view-item-text.vue.d.ts
|
|
221
|
+
interface TreeViewItemTextBaseProps extends PolymorphicProps {}
|
|
222
|
+
interface TreeViewItemTextProps extends TreeViewItemTextBaseProps,
|
|
223
|
+
/**
|
|
224
|
+
* @vue-ignore
|
|
225
|
+
*/
|
|
226
|
+
HTMLAttributes {}
|
|
227
|
+
declare const _default$10: typeof __VLS_export$10;
|
|
228
|
+
declare const __VLS_export$10: __VLS_WithSlots$7<vue2308.DefineComponent<TreeViewItemTextProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
229
|
+
default?: (props: {}) => any;
|
|
230
|
+
}>;
|
|
231
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
232
|
+
new (): {
|
|
233
|
+
$slots: S;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/components/tree-view/tree-view-item.vue.d.ts
|
|
238
|
+
interface TreeViewItemBaseProps extends PolymorphicProps {}
|
|
239
|
+
interface TreeViewItemProps extends TreeViewItemBaseProps,
|
|
240
|
+
/**
|
|
241
|
+
* @vue-ignore
|
|
242
|
+
*/
|
|
243
|
+
HTMLAttributes {}
|
|
244
|
+
declare const _default$9: typeof __VLS_export$9;
|
|
245
|
+
declare const __VLS_export$9: __VLS_WithSlots$6<vue2308.DefineComponent<TreeViewItemProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
246
|
+
default?: (props: {}) => any;
|
|
247
|
+
}>;
|
|
248
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
249
|
+
new (): {
|
|
250
|
+
$slots: S;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region src/components/tree-view/tree-view-label.vue.d.ts
|
|
255
|
+
interface TreeViewLabelBaseProps extends PolymorphicProps {}
|
|
256
|
+
interface TreeViewLabelProps extends TreeViewLabelBaseProps,
|
|
257
|
+
/**
|
|
258
|
+
* @vue-ignore
|
|
259
|
+
*/
|
|
260
|
+
HTMLAttributes {}
|
|
261
|
+
declare const _default$8: typeof __VLS_export$8;
|
|
262
|
+
declare const __VLS_export$8: __VLS_WithSlots$5<vue2308.DefineComponent<TreeViewLabelProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
263
|
+
default?: (props: {}) => any;
|
|
264
|
+
}>;
|
|
265
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
266
|
+
new (): {
|
|
267
|
+
$slots: S;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
//#endregion
|
|
271
|
+
//#region src/components/tree-view/tree-view-node-checkbox.vue.d.ts
|
|
272
|
+
interface TreeViewNodeCheckboxBaseProps extends PolymorphicProps {}
|
|
273
|
+
interface TreeViewNodeCheckboxProps extends TreeViewNodeCheckboxBaseProps,
|
|
274
|
+
/**
|
|
275
|
+
* @vue-ignore
|
|
276
|
+
*/
|
|
277
|
+
HTMLAttributes {}
|
|
278
|
+
declare const _default$7: typeof __VLS_export$7;
|
|
279
|
+
declare const __VLS_export$7: __VLS_WithSlots$4<vue2308.DefineComponent<TreeViewNodeCheckboxProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewNodeCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
280
|
+
default?: (props: {}) => any;
|
|
281
|
+
}>;
|
|
282
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
283
|
+
new (): {
|
|
284
|
+
$slots: S;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
//#endregion
|
|
288
|
+
//#region src/components/tree-view/tree-view-node-checkbox-indicator.vue.d.ts
|
|
289
|
+
interface TreeViewNodeCheckboxIndicatorBaseProps {
|
|
290
|
+
indeterminate?: unknown;
|
|
291
|
+
fallback?: unknown;
|
|
292
|
+
}
|
|
293
|
+
interface TreeViewNodeCheckboxIndicatorProps extends TreeViewNodeCheckboxIndicatorBaseProps {}
|
|
294
|
+
declare const _default$6: typeof __VLS_export$6;
|
|
295
|
+
declare const __VLS_export$6: __VLS_WithSlots$3<vue2308.DefineComponent<TreeViewNodeCheckboxIndicatorProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewNodeCheckboxIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
296
|
+
default(): void;
|
|
297
|
+
indeterminate(): void;
|
|
298
|
+
fallback(): void;
|
|
299
|
+
}>;
|
|
300
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
301
|
+
new (): {
|
|
302
|
+
$slots: S;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
//#endregion
|
|
306
|
+
//#region src/components/tree-view/tree-view-node-rename-input.vue.d.ts
|
|
307
|
+
interface TreeViewNodeRenameInputBaseProps extends PolymorphicProps {}
|
|
308
|
+
interface TreeViewNodeRenameInputProps extends TreeViewNodeRenameInputBaseProps,
|
|
309
|
+
/**
|
|
310
|
+
* @vue-ignore
|
|
311
|
+
*/
|
|
312
|
+
InputHTMLAttributes {}
|
|
313
|
+
declare const _default$5: typeof __VLS_export$5;
|
|
314
|
+
declare const __VLS_export$5: __VLS_WithSlots$2<vue2308.DefineComponent<TreeViewNodeRenameInputProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewNodeRenameInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
315
|
+
default?: (props: {}) => any;
|
|
316
|
+
}>;
|
|
317
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
318
|
+
new (): {
|
|
319
|
+
$slots: S;
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
//#endregion
|
|
323
|
+
//#region src/components/tree-view/use-tree-view-node-context.d.ts
|
|
324
|
+
interface UseTreeViewNodeContext extends ComputedRef<NodeState> {}
|
|
325
|
+
//#endregion
|
|
326
|
+
//#region src/components/tree-view/tree-view-node-context.vue.d.ts
|
|
327
|
+
interface TreeViewNodeContextProps extends SlotsType<{
|
|
328
|
+
default: UnwrapRef<UseTreeViewNodeContext>;
|
|
329
|
+
}> {}
|
|
330
|
+
declare const _default$4: typeof __VLS_export$4;
|
|
331
|
+
declare const __VLS_export$4: __VLS_WithSlots$1<vue2308.DefineComponent<{}, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, true, {}, any>, {
|
|
332
|
+
default(item: UnwrapRef<UseTreeViewNodeContext>): unknown;
|
|
333
|
+
}>;
|
|
334
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
335
|
+
new (): {
|
|
336
|
+
$slots: S;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region src/components/tree-view/tree-view-node-provider.vue.d.ts
|
|
341
|
+
interface TreeViewNodeProviderBaseProps<T> extends NodeProps {
|
|
342
|
+
node: T;
|
|
343
|
+
}
|
|
344
|
+
interface TreeViewNodeProviderProps<T extends TreeNode> extends TreeViewNodeProviderBaseProps<T> {}
|
|
345
|
+
declare const _default$3: typeof __VLS_export$3;
|
|
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: vue2308.PublicProps & __VLS_PrettifyLocal$2<TreeViewNodeProviderBaseProps<T>> & (typeof globalThis extends {
|
|
348
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
349
|
+
} ? P : {});
|
|
350
|
+
expose: (exposed: {}) => void;
|
|
351
|
+
attrs: any;
|
|
352
|
+
slots: {
|
|
353
|
+
default?: (props: {}) => any;
|
|
354
|
+
};
|
|
355
|
+
emit: {};
|
|
356
|
+
}>) => vue2308.VNode & {
|
|
357
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
358
|
+
};
|
|
359
|
+
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
360
|
+
//#endregion
|
|
361
|
+
//#region src/components/tree-view/tree-view-root-provider.vue.d.ts
|
|
362
|
+
interface RootProviderProps<T extends TreeNode> {
|
|
363
|
+
value: UnwrapRef<UseTreeViewReturn<T>>;
|
|
364
|
+
}
|
|
365
|
+
interface TreeViewRootProviderBaseProps<T extends TreeNode> extends RootProviderProps<T>, RenderStrategyProps, PolymorphicProps {}
|
|
366
|
+
interface TreeViewRootProviderProps<T extends TreeNode> extends TreeViewRootProviderBaseProps<T>,
|
|
367
|
+
/**
|
|
368
|
+
* @vue-ignore
|
|
369
|
+
*/
|
|
370
|
+
HTMLAttributes {}
|
|
371
|
+
type TreeViewRootProviderComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProviderProps<T>, P>) => any;
|
|
372
|
+
declare const _default$2: typeof __VLS_export$2;
|
|
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: vue2308.PublicProps & __VLS_PrettifyLocal$1<TreeViewRootProviderProps<T>> & (typeof globalThis extends {
|
|
375
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
376
|
+
} ? P : {});
|
|
377
|
+
expose: (exposed: {}) => void;
|
|
378
|
+
attrs: any;
|
|
379
|
+
slots: {
|
|
380
|
+
default?: (props: {}) => any;
|
|
381
|
+
};
|
|
382
|
+
emit: {};
|
|
383
|
+
}>) => vue2308.VNode & {
|
|
384
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
385
|
+
};
|
|
386
|
+
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
387
|
+
//#endregion
|
|
388
|
+
//#region src/components/tree-view/tree-view-root.vue.d.ts
|
|
389
|
+
interface TreeViewRootBaseProps<T extends TreeNode> extends RootProps<T>, RenderStrategyProps, PolymorphicProps {}
|
|
390
|
+
interface TreeViewRootProps<T extends TreeNode> extends TreeViewRootBaseProps<T>,
|
|
391
|
+
/**
|
|
392
|
+
* @vue-ignore
|
|
393
|
+
*/
|
|
394
|
+
HTMLAttributes {}
|
|
395
|
+
type TreeViewRootComponentProps<T extends TreeNode = TreeNode, P = {}> = Assign<TreeViewRootProps<T>, P>;
|
|
396
|
+
type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: TreeViewRootComponentProps<T, P>) => any;
|
|
397
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
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: vue2308.PublicProps & __VLS_PrettifyLocal<TreeViewRootProps<T> & {
|
|
400
|
+
onCheckedChange?: ((details: treeView.CheckedChangeDetails) => any) | undefined;
|
|
401
|
+
onFocusChange?: ((details: treeView.FocusChangeDetails<any>) => any) | undefined;
|
|
402
|
+
"onUpdate:focusedValue"?: ((value: string | null) => any) | undefined;
|
|
403
|
+
onExpandedChange?: ((details: treeView.ExpandedChangeDetails<any>) => any) | undefined;
|
|
404
|
+
onSelectionChange?: ((details: treeView.SelectionChangeDetails<any>) => any) | undefined;
|
|
405
|
+
onLoadChildrenComplete?: ((details: treeView.LoadChildrenCompleteDetails<T>) => any) | undefined;
|
|
406
|
+
onLoadChildrenError?: ((details: treeView.LoadChildrenErrorDetails<T>) => any) | undefined;
|
|
407
|
+
onRenameStart?: ((details: treeView.RenameStartDetails<T>) => any) | undefined;
|
|
408
|
+
onBeforeRename?: ((details: treeView.RenameCompleteDetails) => any) | undefined;
|
|
409
|
+
onRenameComplete?: ((details: treeView.RenameCompleteDetails) => any) | undefined;
|
|
410
|
+
"onUpdate:expandedValue"?: ((value: string[]) => any) | undefined;
|
|
411
|
+
"onUpdate:selectedValue"?: ((value: string[]) => any) | undefined;
|
|
412
|
+
"onUpdate:checkedValue"?: ((value: string[]) => any) | undefined;
|
|
413
|
+
}> & (typeof globalThis extends {
|
|
414
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
415
|
+
} ? P : {});
|
|
416
|
+
expose: (exposed: {}) => void;
|
|
417
|
+
attrs: any;
|
|
418
|
+
slots: {
|
|
419
|
+
default?: (props: {}) => any;
|
|
420
|
+
};
|
|
421
|
+
emit: ((evt: "checkedChange", details: treeView.CheckedChangeDetails) => void) & ((evt: "focusChange", details: treeView.FocusChangeDetails<any>) => void) & ((evt: "update:focusedValue", value: string | null) => 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:selectedValue", value: string[]) => void) & ((evt: "update:checkedValue", value: string[]) => void);
|
|
422
|
+
}>) => vue2308.VNode & {
|
|
423
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
424
|
+
};
|
|
425
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
426
|
+
//#endregion
|
|
427
|
+
//#region src/components/tree-view/tree-view-tree.vue.d.ts
|
|
428
|
+
interface TreeViewTreeBaseProps extends PolymorphicProps {}
|
|
429
|
+
interface TreeViewTreeProps extends TreeViewTreeBaseProps,
|
|
430
|
+
/**
|
|
431
|
+
* @vue-ignore
|
|
432
|
+
*/
|
|
433
|
+
HTMLAttributes {}
|
|
434
|
+
declare const _default: typeof __VLS_export;
|
|
435
|
+
declare const __VLS_export: __VLS_WithSlots<vue2308.DefineComponent<TreeViewTreeProps, {}, {}, {}, {}, vue2308.ComponentOptionsMixin, vue2308.ComponentOptionsMixin, {}, string, vue2308.PublicProps, Readonly<TreeViewTreeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2308.ComponentProvideOptions, false, {}, any>, {
|
|
436
|
+
default?: (props: {}) => any;
|
|
437
|
+
}>;
|
|
438
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
439
|
+
new (): {
|
|
440
|
+
$slots: S;
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
declare namespace tree_view_d_exports {
|
|
444
|
+
export { _default$13 as Branch, TreeViewBranchBaseProps as BranchBaseProps, _default$19 as BranchContent, TreeViewBranchContentBaseProps as BranchContentBaseProps, TreeViewBranchContentProps as BranchContentProps, _default$18 as BranchControl, TreeViewBranchControlBaseProps as BranchControlBaseProps, TreeViewBranchControlProps as BranchControlProps, _default$17 as BranchIndentGuide, TreeViewBranchIndentGuideBaseProps as BranchIndentGuideBaseProps, TreeViewBranchIndentGuideProps as BranchIndentGuideProps, _default$16 as BranchIndicator, TreeViewBranchIndicatorBaseProps as BranchIndicatorBaseProps, TreeViewBranchIndicatorProps as BranchIndicatorProps, TreeViewBranchProps as BranchProps, _default$15 as BranchText, TreeViewBranchTextBaseProps as BranchTextBaseProps, TreeViewBranchTextProps as BranchTextProps, _default$14 as BranchTrigger, TreeViewBranchTriggerBaseProps as BranchTriggerBaseProps, TreeViewBranchTriggerProps as BranchTriggerProps, CheckedChangeDetails, _default$12 as Context, TreeViewContextProps as ContextProps, ExpandedChangeDetails, FocusChangeDetails, _default$9 as Item, TreeViewItemBaseProps as ItemBaseProps, _default$11 as ItemIndicator, TreeViewItemIndicatorBaseProps as ItemIndicatorBaseProps, TreeViewItemIndicatorProps as ItemIndicatorProps, TreeViewItemProps as ItemProps, _default$10 as ItemText, TreeViewItemTextBaseProps as ItemTextBaseProps, TreeViewItemTextProps as ItemTextProps, _default$8 as Label, TreeViewLabelBaseProps as LabelBaseProps, TreeViewLabelProps as LabelProps, LoadChildrenCompleteDetails, LoadChildrenDetails, LoadChildrenErrorDetails, _default$7 as NodeCheckbox, TreeViewNodeCheckboxBaseProps as NodeCheckboxBaseProps, _default$6 as NodeCheckboxIndicator, TreeViewNodeCheckboxIndicatorBaseProps as NodeCheckboxIndicatorBaseProps, TreeViewNodeCheckboxIndicatorProps as NodeCheckboxIndicatorProps, TreeViewNodeCheckboxProps as NodeCheckboxProps, _default$4 as NodeContext, TreeViewNodeContextProps as NodeContextProps, NodeProps$1 as NodeProps, _default$3 as NodeProvider, TreeViewNodeProviderBaseProps as NodeProviderBaseProps, TreeViewNodeProviderProps as NodeProviderProps, _default$5 as NodeRenameInput, TreeViewNodeRenameInputBaseProps as NodeRenameInputBaseProps, TreeViewNodeRenameInputProps as NodeRenameInputProps, NodeState$1 as NodeState, RenameCompleteDetails, RenameStartDetails, _default$1 as Root, TreeViewRootBaseProps as RootBaseProps, TreeViewRootComponent as RootComponent, TreeViewRootComponentProps as RootComponentProps, RootEmits, TreeViewRootProps as RootProps, _default$2 as RootProvider, TreeViewRootProviderBaseProps as RootProviderBaseProps, TreeViewRootProviderComponent as RootProviderComponent, TreeViewRootProviderProps as RootProviderProps, SelectionChangeDetails, _default as Tree, TreeViewTreeBaseProps as TreeBaseProps, TreeViewTreeProps as TreeProps };
|
|
445
|
+
}
|
|
446
|
+
//#endregion
|
|
447
|
+
export { _default$11 as $, _default$4 as A, TreeViewNodeCheckboxProps as B, TreeViewRootProviderComponent as C, TreeViewBranchControlProps as Ct, TreeViewNodeProviderProps as D, _default$19 as Dt, TreeViewNodeProviderBaseProps as E, TreeViewBranchContentProps as Et, _default$5 as F, TreeViewItemBaseProps as G, TreeViewLabelBaseProps as H, TreeViewNodeCheckboxIndicatorBaseProps as I, TreeViewItemTextBaseProps as J, TreeViewItemProps as K, TreeViewNodeCheckboxIndicatorProps as L, useTreeViewNodeContext as M, TreeViewNodeRenameInputBaseProps as N, _default$3 as O, TreeViewNodeRenameInputProps as P, TreeViewItemIndicatorProps as Q, _default$6 as R, TreeViewRootProviderBaseProps as S, TreeViewBranchControlBaseProps as St, _default$2 as T, TreeViewBranchContentBaseProps as Tt, TreeViewLabelProps as U, _default$7 as V, _default$8 as W, _default$10 as X, TreeViewItemTextProps as Y, TreeViewItemIndicatorBaseProps as Z, TreeViewRootBaseProps as _, TreeViewBranchIndicatorProps as _t, TreeViewLoadChildrenDetails as a, UseTreeViewReturn as at, TreeViewRootProps as b, TreeViewBranchIndentGuideProps as bt, TreeViewNodeState as c, TreeViewBranchProps as ct, TreeViewSelectionChangeDetails as d, TreeViewBranchTriggerProps as dt, TreeViewContextProps as et, tree_view_d_exports as f, _default$14 as ft, _default as g, TreeViewBranchIndicatorBaseProps as gt, TreeViewTreeProps as h, _default$15 as ht, TreeViewLoadChildrenCompleteDetails as i, UseTreeViewProps as it, UseTreeViewNodeContext as j, TreeViewNodeContextProps as k, TreeViewRenameCompleteDetails as l, _default$13 as lt, TreeViewTreeBaseProps as m, TreeViewBranchTextProps as mt, TreeViewExpandedChangeDetails as n, UseTreeViewContext as nt, TreeViewLoadChildrenErrorDetails as o, useTreeView as ot, treeViewAnatomy as p, TreeViewBranchTextBaseProps as pt, _default$9 as q, TreeViewFocusChangeDetails as r, useTreeViewContext as rt, TreeViewNodeProps as s, TreeViewBranchBaseProps as st, TreeViewCheckedChangeDetails as t, _default$12 as tt, TreeViewRenameStartDetails as u, TreeViewBranchTriggerBaseProps as ut, TreeViewRootComponent as v, _default$16 as vt, TreeViewRootProviderProps as w, _default$18 as wt, _default$1 as x, _default$17 as xt, TreeViewRootComponentProps as y, TreeViewBranchIndentGuideBaseProps as yt, TreeViewNodeCheckboxBaseProps as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue1542 from "vue";
|
|
2
2
|
import { ComponentPublicInstance, ComputedRef, MaybeRef, MaybeRefOrGetter, UnwrapRef } from "vue";
|
|
3
3
|
import { FilterOptions, FilterReturn, Locale } from "@sprawlify/primitives/i18n-utils";
|
|
4
4
|
|
|
@@ -29,7 +29,7 @@ declare var __VLS_1: {};
|
|
|
29
29
|
type __VLS_Slots = {} & {
|
|
30
30
|
default?: (props: typeof __VLS_1) => any;
|
|
31
31
|
};
|
|
32
|
-
declare const __VLS_base:
|
|
32
|
+
declare const __VLS_base: vue1542.DefineComponent<EnvironmentProviderProps, {}, {}, {}, {}, vue1542.ComponentOptionsMixin, vue1542.ComponentOptionsMixin, {}, string, vue1542.PublicProps, Readonly<EnvironmentProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1542.ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base, __VLS_Slots>;
|
|
34
34
|
declare const _default$1: typeof __VLS_export$1;
|
|
35
35
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -43,7 +43,7 @@ interface LocaleProviderProps {
|
|
|
43
43
|
locale: string;
|
|
44
44
|
}
|
|
45
45
|
declare const _default: typeof __VLS_export;
|
|
46
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<vue1542.DefineComponent<LocaleProviderProps, {}, {}, {}, {}, vue1542.ComponentOptionsMixin, vue1542.ComponentOptionsMixin, {}, string, vue1542.PublicProps, Readonly<LocaleProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1542.ComponentProvideOptions, false, {}, any>, {
|
|
47
47
|
default?: (props: {}) => any;
|
|
48
48
|
}>;
|
|
49
49
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -78,14 +78,14 @@ declare function useEmitAsProps<Name extends string>(emit: (name: Name, ...args:
|
|
|
78
78
|
//#region src/utils/use-forward-expose.d.ts
|
|
79
79
|
declare function useForwardExpose(): {
|
|
80
80
|
forwardRef: (ref: Element | ComponentPublicInstance | null) => void;
|
|
81
|
-
currentRef:
|
|
82
|
-
currentElement:
|
|
81
|
+
currentRef: vue1542.Ref<Element | ComponentPublicInstance | null | undefined, Element | ComponentPublicInstance | null | undefined>;
|
|
82
|
+
currentElement: vue1542.ComputedRef<HTMLElement>;
|
|
83
83
|
};
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region src/utils/use-forward-props.d.ts
|
|
86
|
-
declare function useForwardProps<T extends MaybeRefOrGetter<Record<string, any>>, U extends UnwrapRef<T>>(props: T):
|
|
86
|
+
declare function useForwardProps<T extends MaybeRefOrGetter<Record<string, any>>, U extends UnwrapRef<T>>(props: T): vue1542.ComputedRef<U>;
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/utils/use-forward-props-emits.d.ts
|
|
89
|
-
declare function useForwardPropsEmits<T extends Parameters<typeof useForwardProps>[0], Name extends string>(props: T, emit?: (name: Name, ...args: any[]) => void):
|
|
89
|
+
declare function useForwardPropsEmits<T extends Parameters<typeof useForwardProps>[0], Name extends string>(props: T, emit?: (name: Name, ...args: any[]) => void): vue1542.ComputedRef<any>;
|
|
90
90
|
//#endregion
|
|
91
91
|
export { useEnvironmentContext as S, EnvironmentProviderProps as _, createContext as a, RootNode as b, useLocaleContext as c, useFilter as d, UseCollatorProps as f, _default as g, LocaleProviderProps as h, useEmitAsProps as i, UseFilterProps as l, useCollator as m, useForwardProps as n, DEFAULT_LOCALE as o, UseCollatorReturn as p, useForwardExpose as r, LocaleContext as s, useForwardPropsEmits as t, UseFilterReturn as u, _default$1 as v, UseEnvironmentContext as x, DEFAULT_ENVIRONMENT as y };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Optional, i as MaybePromise, n as BooleanDefaults, r as EmitFn, t as Assign } from "./types-
|
|
2
|
-
import { i as normalizeProps, n as useMachine, r as PropTypes, t as mergeProps } 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-
|
|
1
|
+
import { a as Optional, i as MaybePromise, n as BooleanDefaults, r as EmitFn, t as Assign } from "./types-DIEO6uP3.js";
|
|
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-xb1q4_02.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 };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { n as useMachine, r as normalizeProps, t as mergeProps } from "./core-DNndr38p.js";
|
|
2
|
-
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, n as useCollator, o as environment_provider_default, r as locale_provider_default, s as DEFAULT_ENVIRONMENT, t as useFilter } from "./providers-
|
|
3
|
-
import {
|
|
2
|
+
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, n as useCollator, o as environment_provider_default, r as locale_provider_default, s as DEFAULT_ENVIRONMENT, t as useFilter } from "./providers-DNBWT-O_.js";
|
|
3
|
+
import { t as createContext } from "./create-context-Ds1GbsVc.js";
|
|
4
4
|
import { n as useForwardProps, r as useEmitAsProps, t as useForwardPropsEmits } from "./utils-B4FuOOE-.js";
|
|
5
|
+
import { t as useForwardExpose } from "./use-forward-expose-CCAmHTUB.js";
|
|
5
6
|
|
|
6
7
|
export { DEFAULT_ENVIRONMENT, DEFAULT_LOCALE, environment_provider_default as EnvironmentProvider, locale_provider_default as LocaleProvider, createContext, mergeProps, normalizeProps, useCollator, useEmitAsProps, useEnvironmentContext, useFilter, useForwardExpose, useForwardProps, useForwardPropsEmits, useLocaleContext, useMachine };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { n as useMachine, r as normalizeProps$1 } from "./core-DNndr38p.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
2
|
+
import { t as createContext } from "./create-context-Ds1GbsVc.js";
|
|
3
|
+
import { t as useForwardExpose } from "./use-forward-expose-CCAmHTUB.js";
|
|
4
|
+
import { t as sprawlify } from "./factory-Co08Aw8u.js";
|
|
4
5
|
import { computed, createBlock, createCommentVNode, defineComponent, mergeDefaults, mergeProps, openBlock, ref, renderSlot, toValue, unref, watch, withCtx } from "vue";
|
|
5
6
|
import * as presence from "@sprawlify/primitives/machines/presence";
|
|
6
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as createContext } from "./create-context-Ds1GbsVc.js";
|
|
2
2
|
import { Fragment, computed, createCommentVNode, createElementBlock, defineComponent, openBlock, ref, renderSlot, toValue } from "vue";
|
|
3
3
|
import { getDocument, getWindow } from "@sprawlify/primitives/dom-query";
|
|
4
4
|
import { createCollator, createFilter, isRTL } from "@sprawlify/primitives/i18n-utils";
|