@sprawlify/vue 0.0.106 → 0.0.108
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/{alert-dialog-anatomy-CxUYPzIq.d.ts → alert-dialog-anatomy-DSacTNC1.d.ts} +1 -1
- package/dist/{carousel-anatomy-oV_FEGcZ.d.ts → carousel-anatomy-DO7fGwTi.d.ts} +1 -1
- package/dist/{collapsible-wm-f_tLg.js → collapsible-CU8jdmsD.js} +4 -4
- package/dist/{collection-cCQbkbJc.js → collection-CMkl1XB0.js} +2 -2
- package/dist/{color-picker-anatomy-DYoNbWSo.d.ts → color-picker-anatomy-09BXGqLT.d.ts} +1 -1
- package/dist/{combobox-anatomy-DqU2HEkd.d.ts → combobox-anatomy-BqTvPmc0.d.ts} +1 -1
- package/dist/components/accordion/index.d.ts +8 -8
- package/dist/components/accordion/index.js +7 -7
- package/dist/components/alert-dialog/index.d.ts +14 -15
- package/dist/components/alert-dialog/index.js +6 -6
- package/dist/components/anatomy.d.ts +8 -8
- package/dist/components/angle-slider/index.d.ts +9 -9
- package/dist/components/angle-slider/index.js +4 -4
- package/dist/components/aspect-ratio/index.d.ts +2 -2
- package/dist/components/aspect-ratio/index.js +4 -4
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +4 -4
- package/dist/components/bottom-sheet/index.d.ts +7 -7
- package/dist/components/bottom-sheet/index.js +7 -7
- package/dist/components/carousel/index.d.ts +11 -11
- package/dist/components/carousel/index.js +4 -4
- package/dist/components/checkbox/index.d.ts +7 -7
- package/dist/components/checkbox/index.js +7 -7
- package/dist/components/clipboard/index.d.ts +6 -6
- package/dist/components/clipboard/index.js +4 -4
- package/dist/components/collapsible/index.d.ts +3 -3
- package/dist/components/collapsible/index.js +4 -4
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +2 -2
- package/dist/components/color-picker/index.d.ts +18 -18
- package/dist/components/color-picker/index.js +7 -7
- package/dist/components/combobox/index.d.ts +20 -20
- package/dist/components/combobox/index.js +8 -8
- package/dist/components/date-picker/index.d.ts +18 -15
- package/dist/components/date-picker/index.js +16 -7
- package/dist/components/dialog/index.d.ts +14 -15
- package/dist/components/dialog/index.js +6 -6
- package/dist/components/download-trigger/index.d.ts +1 -1
- package/dist/components/download-trigger/index.js +3 -3
- package/dist/components/dropdown-menu/index.d.ts +23 -23
- package/dist/components/dropdown-menu/index.js +6 -6
- package/dist/components/editable/index.d.ts +16 -16
- package/dist/components/editable/index.js +5 -5
- package/dist/components/field/index.d.ts +31 -31
- package/dist/components/field/index.js +4 -4
- package/dist/components/fieldset/index.d.ts +5 -5
- package/dist/components/fieldset/index.js +4 -4
- package/dist/components/file-upload/index.d.ts +5 -5
- package/dist/components/file-upload/index.js +5 -5
- package/dist/components/floating-panel/index.d.ts +10 -10
- package/dist/components/floating-panel/index.js +5 -5
- package/dist/components/focus-trap/index.d.ts +2 -2
- package/dist/components/focus-trap/index.js +3 -3
- package/dist/components/format/index.d.ts +7 -7
- package/dist/components/format/index.js +1 -1
- package/dist/components/frame/index.js +1 -1
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +10 -10
- package/dist/components/hover-card/index.js +6 -6
- package/dist/components/image-cropper/index.d.ts +7 -7
- package/dist/components/image-cropper/index.js +4 -4
- package/dist/components/json-tree-view/index.d.ts +3 -3
- package/dist/components/json-tree-view/index.js +8 -8
- package/dist/components/listbox/index.d.ts +7 -7
- package/dist/components/listbox/index.js +5 -5
- package/dist/components/marquee/index.d.ts +3 -3
- package/dist/components/marquee/index.js +4 -4
- package/dist/components/navigation-menu/index.d.ts +8 -8
- package/dist/components/navigation-menu/index.js +6 -6
- package/dist/components/number-input/index.d.ts +11 -11
- package/dist/components/number-input/index.js +5 -5
- package/dist/components/pagination/index.d.ts +8 -8
- package/dist/components/pagination/index.js +4 -4
- package/dist/components/password-input/index.d.ts +6 -6
- package/dist/components/password-input/index.js +5 -5
- package/dist/components/pin-input/index.d.ts +10 -10
- package/dist/components/pin-input/index.js +5 -5
- package/dist/components/popover/index.d.ts +12 -12
- package/dist/components/popover/index.js +6 -6
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/presence/index.js +3 -3
- package/dist/components/progress/index.d.ts +5 -5
- package/dist/components/progress/index.js +4 -4
- package/dist/components/qr-code/index.d.ts +4 -4
- package/dist/components/qr-code/index.js +4 -4
- package/dist/components/radio-group/index.d.ts +6 -6
- package/dist/components/radio-group/index.js +6 -6
- package/dist/components/rating-group/index.d.ts +8 -8
- package/dist/components/rating-group/index.js +5 -5
- package/dist/components/scroll-area/index.d.ts +3 -3
- package/dist/components/scroll-area/index.js +4 -4
- package/dist/components/segment-group/index.d.ts +6 -6
- package/dist/components/segment-group/index.js +4 -4
- package/dist/components/select/index.d.ts +14 -14
- package/dist/components/select/index.js +8 -8
- package/dist/components/separator/index.d.ts +2 -2
- package/dist/components/separator/index.js +4 -4
- package/dist/components/signature-pad/index.d.ts +4 -4
- package/dist/components/signature-pad/index.js +5 -5
- package/dist/components/slider/index.d.ts +16 -16
- package/dist/components/slider/index.js +4 -4
- package/dist/components/splitter/index.d.ts +8 -8
- package/dist/components/splitter/index.js +4 -4
- package/dist/components/steps/index.d.ts +4 -4
- package/dist/components/steps/index.js +4 -4
- package/dist/components/switch/index.d.ts +5 -5
- package/dist/components/switch/index.js +5 -5
- package/dist/components/tabs/index.d.ts +10 -10
- package/dist/components/tabs/index.js +6 -6
- package/dist/components/tags-input/index.d.ts +18 -18
- package/dist/components/tags-input/index.js +5 -5
- package/dist/components/timer/index.d.ts +2 -2
- package/dist/components/timer/index.js +4 -4
- package/dist/components/toast/index.d.ts +2 -2
- package/dist/components/toast/index.js +3 -3
- package/dist/components/toggle/index.d.ts +3 -3
- package/dist/components/toggle/index.js +3 -3
- package/dist/components/toggle-group/index.d.ts +6 -6
- package/dist/components/toggle-group/index.js +4 -4
- package/dist/components/tooltip/index.d.ts +4 -4
- package/dist/components/tooltip/index.js +6 -6
- package/dist/components/tour/index.d.ts +12 -12
- package/dist/components/tour/index.js +7 -7
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/index.js +7 -7
- package/dist/{core-BW88ya4i.js → core-DFdl8jS7.js} +1 -1
- package/dist/{date-picker-anatomy-nNssWoU2.d.ts → date-picker-anatomy-BpW_VPuT.d.ts} +1 -1
- package/dist/{factory-DNG1el63.js → factory-Bd0Y5x-7.js} +1 -1
- package/dist/{factory-bfEpUaB3.d.ts → factory-Go0oxO3B.d.ts} +1 -1
- package/dist/{field-C7VkjIIx.js → field-D3G8FJDB.js} +2 -2
- package/dist/{fieldset-OP0qxlKh.js → fieldset-DKOqYr6u.js} +2 -2
- package/dist/{index-CODK2VY0.d.ts → index-C7sz_n_w.d.ts} +8 -8
- package/dist/{index-aJnwDHff.d.ts → index-CYO47ggW.d.ts} +27 -1
- package/dist/{index-DuD8fQUF.d.ts → index-DK-1mwjg.d.ts} +2 -2
- package/dist/{index-B4l20i3i.d.ts → index-DUPPuJYr.d.ts} +4 -4
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/{listbox-anatomy-CP_1jra6.d.ts → listbox-anatomy-ov6dp5kT.d.ts} +1 -1
- package/dist/{presence-L1LxnRj5.js → presence-B6FmKP5l.js} +2 -2
- package/dist/providers-CicBbUXG.js +204 -0
- package/dist/{segment-group-anatomy-8sdDQVPl.d.ts → segment-group-anatomy-Cu3IiheY.d.ts} +1 -1
- package/dist/{tour-anatomy-CTaLz0Eb.d.ts → tour-anatomy-o5VZ2vDT.d.ts} +1 -1
- package/dist/{tree-view-D_hrmWRQ.js → tree-view-BMIatAXN.js} +7 -7
- package/package.json +9 -8
- package/dist/providers-Cm-xBdVY.js +0 -92
- /package/dist/{boolean-D3BnFnrK.js → boolean-ClZYREcr.js} +0 -0
- /package/dist/{clean-props-qyW2RH6G.js → clean-props-C5aydRx_.js} +0 -0
- /package/dist/{create-split-props-Cz6On1aq.js → create-split-props-D32I38aE.js} +0 -0
- /package/dist/{use-render-strategy-Cq147Bb0.js → use-render-strategy-QgtvU85q.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as checkboxAnatomy } from "../../checkbox-anatomy-Bkxq8P4k.js";
|
|
@@ -52,7 +52,7 @@ interface GroupProps {
|
|
|
52
52
|
}
|
|
53
53
|
type GroupEmits = {
|
|
54
54
|
valueChange: [value: string[]];
|
|
55
|
-
|
|
55
|
+
"update:modelValue": [value: string[]];
|
|
56
56
|
};
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/components/checkbox/checkbox-group.vue.d.ts
|
|
@@ -71,8 +71,8 @@ declare const __VLS_export$6: __VLS_WithSlots$6<vue.DefineComponent<CheckboxGrou
|
|
|
71
71
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
disabled: boolean;
|
|
74
|
-
invalid: boolean;
|
|
75
74
|
readOnly: boolean;
|
|
75
|
+
invalid: boolean;
|
|
76
76
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
77
77
|
default?: (props: {}) => any;
|
|
78
78
|
}>;
|
|
@@ -202,7 +202,7 @@ interface RootProps {
|
|
|
202
202
|
}
|
|
203
203
|
type RootEmits = {
|
|
204
204
|
checkedChange: [details: checkbox.CheckedChangeDetails];
|
|
205
|
-
|
|
205
|
+
"update:checked": [checked: checkbox.CheckedState];
|
|
206
206
|
};
|
|
207
207
|
//#endregion
|
|
208
208
|
//#region src/components/checkbox/checkbox-root.vue.d.ts
|
|
@@ -221,11 +221,11 @@ declare const __VLS_export$1: __VLS_WithSlots$1<vue.DefineComponent<CheckboxRoot
|
|
|
221
221
|
onCheckedChange?: ((details: checkbox.CheckedChangeDetails) => any) | undefined;
|
|
222
222
|
"onUpdate:checked"?: ((checked: checkbox.CheckedState) => any) | undefined;
|
|
223
223
|
}>, {
|
|
224
|
+
checked: checkbox.CheckedState;
|
|
224
225
|
disabled: boolean;
|
|
225
226
|
required: boolean;
|
|
226
|
-
checked: checkbox.CheckedState;
|
|
227
|
-
invalid: boolean;
|
|
228
227
|
readOnly: boolean;
|
|
228
|
+
invalid: boolean;
|
|
229
229
|
defaultChecked: checkbox.CheckedState;
|
|
230
230
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
231
231
|
default?: (props: {}) => any;
|
|
@@ -240,7 +240,7 @@ declare namespace checkbox_d_exports {
|
|
|
240
240
|
}
|
|
241
241
|
//#endregion
|
|
242
242
|
//#region src/components/checkbox/use-checkbox.d.ts
|
|
243
|
-
interface UseCheckboxProps extends Optional<Omit<checkbox.Props,
|
|
243
|
+
interface UseCheckboxProps extends Optional<Omit<checkbox.Props, "dir" | "getRootNode">, "id"> {}
|
|
244
244
|
interface UseCheckboxReturn extends ComputedRef<checkbox.Api<PropTypes>> {}
|
|
245
245
|
declare const useCheckbox: (props?: MaybeRef<UseCheckboxProps>, emit?: EmitFn$1<CheckboxRootEmits>) => ComputedRef<checkbox.Api<PropTypes>>;
|
|
246
246
|
//#endregion
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as checkboxAnatomy } from "../../checkbox-anatomy-BIeQD0fF.js";
|
|
7
7
|
import "../../field-anatomy-BloFzq7T.js";
|
|
8
8
|
import "../../fieldset-anatomy-DBAg0hLg.js";
|
|
9
|
-
import { t as cleanProps } from "../../clean-props-
|
|
10
|
-
import { t as toBooleanValue } from "../../boolean-
|
|
11
|
-
import { l as useFieldsetContext } from "../../fieldset-
|
|
12
|
-
import { p as useFieldContext } from "../../field-
|
|
9
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
10
|
+
import { t as toBooleanValue } from "../../boolean-ClZYREcr.js";
|
|
11
|
+
import { l as useFieldsetContext } from "../../fieldset-DKOqYr6u.js";
|
|
12
|
+
import { p as useFieldContext } from "../../field-D3G8FJDB.js";
|
|
13
13
|
import { computed, createBlock, defineComponent, getCurrentInstance, guardReactiveProps, mergeDefaults, mergeProps, nextTick, normalizeProps, openBlock, ref, renderSlot, toRefs, toValue, unref, useId, watch, withCtx } from "vue";
|
|
14
14
|
import * as checkbox from "@sprawlify/primitives/machines/checkbox";
|
|
15
15
|
//#region src/components/checkbox/use-checkbox-context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as clipboardAnatomy } from "../../clipboard-anatomy-dy6XNAbY.js";
|
|
@@ -22,12 +22,12 @@ interface RootProps {
|
|
|
22
22
|
type RootEmits = {
|
|
23
23
|
statusChange: [details: clipboard.CopyStatusDetails];
|
|
24
24
|
valueChange: [details: clipboard.ValueChangeDetails];
|
|
25
|
-
|
|
25
|
+
"update:modelValue": [value: string];
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/clipboard/use-clipboard.d.ts
|
|
29
|
-
interface UseClipboardProps extends Optional<Omit<clipboard.Props,
|
|
30
|
-
modelValue?: clipboard.Props[
|
|
29
|
+
interface UseClipboardProps extends Optional<Omit<clipboard.Props, "dir" | "getRootNode">, "id"> {
|
|
30
|
+
modelValue?: clipboard.Props["value"];
|
|
31
31
|
}
|
|
32
32
|
interface UseClipboardReturn extends ComputedRef<clipboard.Api<PropTypes>> {}
|
|
33
33
|
declare const useClipboard: (props?: MaybeRef<UseClipboardProps>, emit?: EmitFn$1<RootEmits>) => UseClipboardReturn;
|
|
@@ -149,13 +149,13 @@ HTMLAttributes {}
|
|
|
149
149
|
interface ClipboardRootEmits extends RootEmits {}
|
|
150
150
|
declare const _default$5: typeof __VLS_export$2;
|
|
151
151
|
declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<ClipboardRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
152
|
-
statusChange: (details: clipboard.CopyStatusDetails) => any;
|
|
153
152
|
valueChange: (details: clipboard.ValueChangeDetails) => any;
|
|
154
153
|
"update:modelValue": (value: string) => any;
|
|
154
|
+
statusChange: (details: clipboard.CopyStatusDetails) => any;
|
|
155
155
|
}, string, vue.PublicProps, Readonly<ClipboardRootProps> & Readonly<{
|
|
156
|
-
onStatusChange?: ((details: clipboard.CopyStatusDetails) => any) | undefined;
|
|
157
156
|
onValueChange?: ((details: clipboard.ValueChangeDetails) => any) | undefined;
|
|
158
157
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
158
|
+
onStatusChange?: ((details: clipboard.CopyStatusDetails) => any) | undefined;
|
|
159
159
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
160
160
|
default?: (props: {}) => any;
|
|
161
161
|
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { c as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as clipboardAnatomy } from "../../clipboard-anatomy-C6AmRH0k.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, createTextVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toDisplayString, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as clipboard from "@sprawlify/primitives/machines/clipboard";
|
|
10
10
|
//#region src/components/clipboard/use-clipboard-context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
@@ -44,11 +44,11 @@ interface RootProps {
|
|
|
44
44
|
type RootEmits = {
|
|
45
45
|
exitComplete: [];
|
|
46
46
|
openChange: [details: collapsible.OpenChangeDetails];
|
|
47
|
-
|
|
47
|
+
"update:open": [open: boolean];
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region src/components/collapsible/use-collapsible.d.ts
|
|
51
|
-
interface UseCollapsibleProps extends RenderStrategyProps, Optional<Omit<collapsible.Props,
|
|
51
|
+
interface UseCollapsibleProps extends RenderStrategyProps, Optional<Omit<collapsible.Props, "dir" | "getRootNode">, "id"> {}
|
|
52
52
|
interface Collapsible extends collapsible.Api<PropTypes> {
|
|
53
53
|
unmounted?: boolean;
|
|
54
54
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import "../../providers-
|
|
1
|
+
import "../../core-DFdl8jS7.js";
|
|
2
|
+
import "../../providers-CicBbUXG.js";
|
|
3
3
|
import "../../create-context-BqbKqBMN.js";
|
|
4
|
-
import "../../factory-
|
|
4
|
+
import "../../factory-Bd0Y5x-7.js";
|
|
5
5
|
import { t as collapsibleAnatomy } from "../../collapsible-anatomy-BIdE3Swa.js";
|
|
6
|
-
import { a as useCollapsible, c as collapsible_content_default, i as collapsible_root_default, l as useCollapsibleContext, n as collapsible_indicator_default, o as collapsible_root_provider_default, r as collapsible_trigger_default, s as collapsible_context_default, t as collapsible_exports } from "../../collapsible-
|
|
6
|
+
import { a as useCollapsible, c as collapsible_content_default, i as collapsible_root_default, l as useCollapsibleContext, n as collapsible_indicator_default, o as collapsible_root_provider_default, r as collapsible_trigger_default, s as collapsible_context_default, t as collapsible_exports } from "../../collapsible-CU8jdmsD.js";
|
|
7
7
|
export { collapsible_exports as Collapsible, collapsible_content_default as CollapsibleContent, collapsible_context_default as CollapsibleContext, collapsible_indicator_default as CollapsibleIndicator, collapsible_root_default as CollapsibleRoot, collapsible_root_provider_default as CollapsibleRootProvider, collapsible_trigger_default as CollapsibleTrigger, collapsibleAnatomy, useCollapsible, useCollapsibleContext };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as createGridCollection, S as GridCollectionOptions, _ as CollectionItem, a as UseListCollectionReturn, b as createListCollection, c as UseAsyncListReturn, d as FlatTreeNode, f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, i as UseListCollectionProps, l as useAsyncList, m as TreeNode, n as UseListSelectionReturn, o as useListCollection, p as TreeCollectionOptions, r as useListSelection, s as UseAsyncListProps, t as UseListSelectionProps, u as FilePathTreeNode, v as CollectionOptions, x as GridCollection, y as ListCollection } from "../../index-
|
|
1
|
+
import { C as createGridCollection, S as GridCollectionOptions, _ as CollectionItem, a as UseListCollectionReturn, b as createListCollection, c as UseAsyncListReturn, d as FlatTreeNode, f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, i as UseListCollectionProps, l as useAsyncList, m as TreeNode, n as UseListSelectionReturn, o as useListCollection, p as TreeCollectionOptions, r as useListSelection, s as UseAsyncListProps, t as UseListSelectionProps, u as FilePathTreeNode, v as CollectionOptions, x as GridCollection, y as ListCollection } from "../../index-DK-1mwjg.js";
|
|
2
2
|
export { CollectionItem, CollectionOptions, FilePathTreeNode, FlatTreeNode, GridCollection, GridCollectionOptions, ListCollection, TreeCollection, TreeCollectionOptions, TreeNode, UseAsyncListProps, UseAsyncListReturn, UseListCollectionProps, UseListCollectionReturn, UseListSelectionProps, UseListSelectionReturn, createFileTreeCollection, createGridCollection, createListCollection, createTreeCollection, useAsyncList, useListCollection, useListSelection };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import { a as createTreeCollection, i as createFileTreeCollection, n as useListCollection, o as createListCollection, r as useAsyncList, s as createGridCollection, t as useListSelection } from "../../collection-
|
|
1
|
+
import "../../core-DFdl8jS7.js";
|
|
2
|
+
import { a as createTreeCollection, i as createFileTreeCollection, n as useListCollection, o as createListCollection, r as useAsyncList, s as createGridCollection, t as useListSelection } from "../../collection-CMkl1XB0.js";
|
|
3
3
|
export { createFileTreeCollection, createGridCollection, createListCollection, createTreeCollection, useAsyncList, useListCollection, useListSelection };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { t as RootEmits$1 } from "../../presence-types-D-XuGmDH.js";
|
|
3
|
-
import { c as PresenceProps } from "../../index-
|
|
3
|
+
import { c as PresenceProps } from "../../index-DUPPuJYr.js";
|
|
4
4
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
5
5
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
6
6
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
7
|
-
import { t as colorPickerAnatomy } from "../../color-picker-anatomy-
|
|
7
|
+
import { t as colorPickerAnatomy } from "../../color-picker-anatomy-09BXGqLT.js";
|
|
8
8
|
import * as vue from "vue";
|
|
9
9
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SelectHTMLAttributes, SlotsType, UnwrapRef } from "vue";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _sprawlify_primitives_machines_dialog0 from "@sprawlify/primitives/machines/dialog";
|
|
11
11
|
import * as colorPicker from "@sprawlify/primitives/machines/color-picker";
|
|
12
12
|
import { AreaProps, ChannelInputProps, ChannelProps, Color, Color as Color$1, ColorFormat, ColorFormat as ColorFormat$1, ColorFormat as ColorPickerColorFormat, FocusOutsideEvent, FocusOutsideEvent as ColorPickerFocusOutsideEvent, FormatChangeDetails, FormatChangeDetails as ColorPickerFormatChangeDetails, InteractOutsideEvent, InteractOutsideEvent as ColorPickerInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as ColorPickerOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as ColorPickerPointerDownOutsideEvent, SwatchProps, SwatchTriggerProps, TransparencyGridProps, ValueChangeDetails, ValueChangeDetails as ColorPickerValueChangeDetails, parse as parseColor } from "@sprawlify/primitives/machines/color-picker";
|
|
13
13
|
import * as _sprawlify_primitives_color_utils0 from "@sprawlify/primitives/color-utils";
|
|
@@ -227,13 +227,13 @@ type RootEmits = {
|
|
|
227
227
|
pointerDownOutside: [event: colorPicker.PointerDownOutsideEvent];
|
|
228
228
|
valueChange: [details: colorPicker.ValueChangeDetails];
|
|
229
229
|
valueChangeEnd: [details: colorPicker.ValueChangeDetails];
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
"update:modelValue": [value: colorPicker.Color];
|
|
231
|
+
"update:open": [open: boolean];
|
|
232
|
+
"update:format": [format: colorPicker.ColorFormat];
|
|
233
233
|
};
|
|
234
234
|
//#endregion
|
|
235
235
|
//#region src/components/color-picker/use-color-picker.d.ts
|
|
236
|
-
interface UseColorPickerProps extends Optional<Omit<colorPicker.Props,
|
|
236
|
+
interface UseColorPickerProps extends Optional<Omit<colorPicker.Props, "dir" | "getRootNode">, "id"> {
|
|
237
237
|
modelValue?: colorPicker.Color;
|
|
238
238
|
}
|
|
239
239
|
interface UseColorPickerReturn extends ComputedRef<colorPicker.Api<PropTypes>> {}
|
|
@@ -405,11 +405,11 @@ declare const _default$18: typeof __VLS_export$9;
|
|
|
405
405
|
declare const __VLS_export$9: __VLS_WithSlots$9<vue.DefineComponent<ColorPickerRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
406
406
|
valueChange: (details: colorPicker.ValueChangeDetails) => any;
|
|
407
407
|
"update:modelValue": (value: _sprawlify_primitives_color_utils0.Color) => any;
|
|
408
|
-
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any;
|
|
409
|
-
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any;
|
|
410
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any;
|
|
411
408
|
exitComplete: () => any;
|
|
409
|
+
focusOutside: (event: _sprawlify_primitives_machines_dialog0.FocusOutsideEvent) => any;
|
|
410
|
+
interactOutside: (event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => any;
|
|
412
411
|
openChange: (details: colorPicker.OpenChangeDetails) => any;
|
|
412
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => any;
|
|
413
413
|
"update:open": (open: boolean) => any;
|
|
414
414
|
valueChangeEnd: (details: colorPicker.ValueChangeDetails) => any;
|
|
415
415
|
formatChange: (details: colorPicker.FormatChangeDetails) => any;
|
|
@@ -417,23 +417,23 @@ declare const __VLS_export$9: __VLS_WithSlots$9<vue.DefineComponent<ColorPickerR
|
|
|
417
417
|
}, string, vue.PublicProps, Readonly<ColorPickerRootProps> & Readonly<{
|
|
418
418
|
onValueChange?: ((details: colorPicker.ValueChangeDetails) => any) | undefined;
|
|
419
419
|
"onUpdate:modelValue"?: ((value: _sprawlify_primitives_color_utils0.Color) => any) | undefined;
|
|
420
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any) | undefined;
|
|
421
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any) | undefined;
|
|
422
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any) | undefined;
|
|
423
420
|
onExitComplete?: (() => any) | undefined;
|
|
421
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_dialog0.FocusOutsideEvent) => any) | undefined;
|
|
422
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => any) | undefined;
|
|
424
423
|
onOpenChange?: ((details: colorPicker.OpenChangeDetails) => any) | undefined;
|
|
424
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => any) | undefined;
|
|
425
425
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
426
426
|
onValueChangeEnd?: ((details: colorPicker.ValueChangeDetails) => any) | undefined;
|
|
427
427
|
onFormatChange?: ((details: colorPicker.FormatChangeDetails) => any) | undefined;
|
|
428
428
|
"onUpdate:format"?: ((format: _sprawlify_primitives_color_utils0.ColorFormat) => any) | undefined;
|
|
429
429
|
}>, {
|
|
430
430
|
disabled: boolean;
|
|
431
|
-
inline: boolean;
|
|
432
431
|
required: boolean;
|
|
433
|
-
invalid: boolean;
|
|
434
432
|
readOnly: boolean;
|
|
433
|
+
inline: boolean;
|
|
435
434
|
closeOnSelect: boolean;
|
|
436
435
|
defaultOpen: boolean;
|
|
436
|
+
invalid: boolean;
|
|
437
437
|
open: boolean;
|
|
438
438
|
openAutoFocus: boolean;
|
|
439
439
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
@@ -485,7 +485,7 @@ interface ColorPickerSwatchTriggerProps extends ColorPickerSwatchTriggerBaseProp
|
|
|
485
485
|
/**
|
|
486
486
|
* @vue-ignore
|
|
487
487
|
*/
|
|
488
|
-
Omit<ButtonHTMLAttributes,
|
|
488
|
+
Omit<ButtonHTMLAttributes, "disabled" | "value"> {}
|
|
489
489
|
declare const _default$23: typeof __VLS_export$6;
|
|
490
490
|
declare const __VLS_export$6: __VLS_WithSlots$6<vue.DefineComponent<ColorPickerSwatchTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ColorPickerSwatchTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
491
491
|
default?: (props: {}) => any;
|
|
@@ -548,7 +548,7 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
548
548
|
};
|
|
549
549
|
//#endregion
|
|
550
550
|
//#region src/components/color-picker/color-picker-value-swatch.vue.d.ts
|
|
551
|
-
interface ValueSwatchProps extends Omit<SwatchProps,
|
|
551
|
+
interface ValueSwatchProps extends Omit<SwatchProps, "value"> {}
|
|
552
552
|
interface ColorPickerValueSwatchBaseProps extends ValueSwatchProps, PolymorphicProps {}
|
|
553
553
|
interface ColorPickerValueSwatchProps extends ColorPickerValueSwatchBaseProps,
|
|
554
554
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as colorPickerAnatomy } from "../../color-picker-anatomy-DAgWuOv8.js";
|
|
7
7
|
import "../../field-anatomy-BloFzq7T.js";
|
|
8
|
-
import { t as cleanProps } from "../../clean-props-
|
|
9
|
-
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
10
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
11
|
-
import { p as useFieldContext } from "../../field-
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
9
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-QgtvU85q.js";
|
|
10
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-B6FmKP5l.js";
|
|
11
|
+
import { p as useFieldContext } from "../../field-D3G8FJDB.js";
|
|
12
12
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
|
|
13
13
|
import * as colorPicker from "@sprawlify/primitives/machines/color-picker";
|
|
14
14
|
import { parse as parseColor } from "@sprawlify/primitives/machines/color-picker";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { t as RootEmits$1 } from "../../presence-types-D-XuGmDH.js";
|
|
3
|
-
import { i as UsePresenceProps } from "../../index-
|
|
3
|
+
import { i as UsePresenceProps } from "../../index-DUPPuJYr.js";
|
|
4
4
|
import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-CcpL2F4P.js";
|
|
5
5
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
6
6
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
7
|
-
import { t as comboboxAnatomy } from "../../combobox-anatomy-
|
|
8
|
-
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-
|
|
7
|
+
import { t as comboboxAnatomy } from "../../combobox-anatomy-BqTvPmc0.js";
|
|
8
|
+
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-DK-1mwjg.js";
|
|
9
9
|
import * as vue from "vue";
|
|
10
10
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _sprawlify_primitives_machines_dialog0 from "@sprawlify/primitives/machines/dialog";
|
|
12
12
|
import * as combobox from "@sprawlify/primitives/machines/combobox";
|
|
13
13
|
import { FocusOutsideEvent, FocusOutsideEvent as ComboboxFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as ComboboxInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as ComboboxInteractOutsideEvent, ItemGroupProps, ItemProps, ItemState, OpenChangeDetails, OpenChangeDetails as ComboboxOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as ComboboxPointerDownOutsideEvent, SelectionDetails, SelectionDetails as ComboboxSelectionDetails, TriggerProps, ValueChangeDetails, ValueChangeDetails as ComboboxValueChangeDetails } from "@sprawlify/primitives/machines/combobox";
|
|
14
14
|
|
|
@@ -375,7 +375,7 @@ interface RootProps<T extends CollectionItem> {
|
|
|
375
375
|
*
|
|
376
376
|
* @default "none"
|
|
377
377
|
*/
|
|
378
|
-
inputBehavior?:
|
|
378
|
+
inputBehavior?: "autohighlight" | "autocomplete" | "none";
|
|
379
379
|
/**
|
|
380
380
|
* The controlled value of the combobox's input
|
|
381
381
|
*/
|
|
@@ -458,7 +458,7 @@ interface RootProps<T extends CollectionItem> {
|
|
|
458
458
|
*
|
|
459
459
|
* @default "replace"
|
|
460
460
|
*/
|
|
461
|
-
selectionBehavior?:
|
|
461
|
+
selectionBehavior?: "clear" | "replace" | "preserve";
|
|
462
462
|
/**
|
|
463
463
|
* Specifies the localized strings that identifies the accessibility elements and their states
|
|
464
464
|
*/
|
|
@@ -508,19 +508,19 @@ type RootEmits<T extends CollectionItem> = {
|
|
|
508
508
|
/**
|
|
509
509
|
* The callback fired when the model value changes.
|
|
510
510
|
*/
|
|
511
|
-
|
|
511
|
+
"update:modelValue": [value: string[]];
|
|
512
512
|
/**
|
|
513
513
|
* The callback fired when the highlighted value changes.
|
|
514
514
|
*/
|
|
515
|
-
|
|
515
|
+
"update:highlightedValue": [value: string | null];
|
|
516
516
|
/**
|
|
517
517
|
* The callback fired when the input value changes.
|
|
518
518
|
*/
|
|
519
|
-
|
|
519
|
+
"update:inputValue": [value: string];
|
|
520
520
|
/**
|
|
521
521
|
* The callback fired when the open state changes.
|
|
522
522
|
*/
|
|
523
|
-
|
|
523
|
+
"update:open": [value: boolean];
|
|
524
524
|
};
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region src/components/combobox/combobox-root.vue.d.ts
|
|
@@ -529,7 +529,7 @@ interface ComboboxRootProps<T extends CollectionItem> extends ComboboxRootBasePr
|
|
|
529
529
|
/**
|
|
530
530
|
* @vue-ignore
|
|
531
531
|
*/
|
|
532
|
-
Omit<HTMLAttributes,
|
|
532
|
+
Omit<HTMLAttributes, "onSelect"> {}
|
|
533
533
|
type ComboboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<ComboboxRootProps<T>, P>;
|
|
534
534
|
type ComboboxRootComponent<P = {}> = <T extends CollectionItem>(props: ComboboxRootComponentProps<T, P>) => any;
|
|
535
535
|
declare const _default$15: typeof __VLS_export$2;
|
|
@@ -541,16 +541,16 @@ declare const __VLS_export$2: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
541
541
|
}) => any) | undefined;
|
|
542
542
|
onValueChange?: ((details: combobox.ValueChangeDetails<T>) => any) | undefined;
|
|
543
543
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
544
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any) | undefined;
|
|
545
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any) | undefined;
|
|
546
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any) | undefined;
|
|
547
544
|
onExitComplete?: (() => any) | undefined;
|
|
545
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_dialog0.FocusOutsideEvent) => any) | undefined;
|
|
548
546
|
onHighlightChange?: ((details: combobox.HighlightChangeDetails<T>) => any) | undefined;
|
|
549
|
-
|
|
547
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => any) | undefined;
|
|
550
548
|
onOpenChange?: ((details: combobox.OpenChangeDetails) => any) | undefined;
|
|
549
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => any) | undefined;
|
|
550
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
551
551
|
"onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
552
|
+
onInputValueChange?: ((details: combobox.InputValueChangeDetails) => any) | undefined;
|
|
552
553
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
553
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
554
554
|
}> & (typeof globalThis extends {
|
|
555
555
|
__VLS_PROPS_FALLBACK: infer P;
|
|
556
556
|
} ? P : {});
|
|
@@ -562,7 +562,7 @@ declare const __VLS_export$2: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
562
562
|
emit: ((evt: "select", details: {
|
|
563
563
|
value: string[];
|
|
564
564
|
itemValue: string;
|
|
565
|
-
}) => void) & ((evt: "valueChange", details: combobox.ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "
|
|
565
|
+
}) => void) & ((evt: "valueChange", details: combobox.ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "exitComplete") => void) & ((evt: "focusOutside", event: _sprawlify_primitives_machines_dialog0.FocusOutsideEvent) => void) & ((evt: "highlightChange", details: combobox.HighlightChangeDetails<T>) => void) & ((evt: "interactOutside", event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => void) & ((evt: "openChange", details: combobox.OpenChangeDetails) => void) & ((evt: "pointerDownOutside", event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:highlightedValue", value: string | null) => void) & ((evt: "inputValueChange", details: combobox.InputValueChangeDetails) => void) & ((evt: "update:inputValue", value: string) => void);
|
|
566
566
|
}>) => vue.VNode & {
|
|
567
567
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
568
568
|
};
|
|
@@ -589,8 +589,8 @@ declare namespace combobox_d_exports {
|
|
|
589
589
|
}
|
|
590
590
|
//#endregion
|
|
591
591
|
//#region src/components/combobox/use-combobox.d.ts
|
|
592
|
-
interface UseComboboxProps<T extends CollectionItem> extends Optional<Omit<combobox.Props<T>,
|
|
593
|
-
modelValue?: combobox.Props<T>[
|
|
592
|
+
interface UseComboboxProps<T extends CollectionItem> extends Optional<Omit<combobox.Props<T>, "dir" | "getRootNode">, "id"> {
|
|
593
|
+
modelValue?: combobox.Props<T>["value"];
|
|
594
594
|
}
|
|
595
595
|
interface UseComboboxReturn<T extends CollectionItem> extends ComputedRef<combobox.Api<PropTypes, T>> {}
|
|
596
596
|
declare const useCombobox: <T extends CollectionItem>(props: MaybeRef<UseComboboxProps<T>>, emit?: EmitFn$1<RootEmits<T>>) => UseComboboxReturn<T>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as comboboxAnatomy } from "../../combobox-anatomy-BojTG5Ws.js";
|
|
7
7
|
import "../../field-anatomy-BloFzq7T.js";
|
|
8
|
-
import { t as cleanProps } from "../../clean-props-
|
|
9
|
-
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
10
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
11
|
-
import { p as useFieldContext } from "../../field-
|
|
12
|
-
import { n as useListCollection, o as createListCollection } from "../../collection-
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
9
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-QgtvU85q.js";
|
|
10
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-B6FmKP5l.js";
|
|
11
|
+
import { p as useFieldContext } from "../../field-D3G8FJDB.js";
|
|
12
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-CMkl1XB0.js";
|
|
13
13
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
14
14
|
import * as combobox from "@sprawlify/primitives/machines/combobox";
|
|
15
15
|
//#region src/components/combobox/use-combobox-context.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { t as RootEmits$1 } from "../../presence-types-D-XuGmDH.js";
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
4
4
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
6
|
-
import { t as datePickerAnatomy } from "../../date-picker-anatomy-
|
|
6
|
+
import { t as datePickerAnatomy } from "../../date-picker-anatomy-BpW_VPuT.js";
|
|
7
7
|
import * as vue from "vue";
|
|
8
8
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, Reactive, SelectHTMLAttributes, SlotsType, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, UnwrapRef } from "vue";
|
|
9
9
|
import * as datePicker from "@sprawlify/primitives/machines/date-picker";
|
|
@@ -92,6 +92,8 @@ interface RootProps {
|
|
|
92
92
|
positioning?: datePicker.PositioningOptions;
|
|
93
93
|
readOnly?: boolean;
|
|
94
94
|
selectionMode?: datePicker.SelectionMode;
|
|
95
|
+
maxSelectedDates?: number | undefined;
|
|
96
|
+
showWeekNumbers?: boolean;
|
|
95
97
|
startOfWeek?: number;
|
|
96
98
|
timeZone?: string;
|
|
97
99
|
translations?: datePicker.IntlTranslations;
|
|
@@ -107,15 +109,15 @@ type RootEmits = {
|
|
|
107
109
|
valueChange: [details: datePicker.ValueChangeDetails];
|
|
108
110
|
viewChange: [details: datePicker.ViewChangeDetails];
|
|
109
111
|
visibleRangeChange: [details: datePicker.VisibleRangeChangeDetails];
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
"update:modelValue": [value: datePicker.DateValue[]];
|
|
113
|
+
"update:open": [open: boolean];
|
|
114
|
+
"update:view": [view: datePicker.DateView];
|
|
115
|
+
"update:focusedValue": [focusedValue: datePicker.DateValue];
|
|
114
116
|
};
|
|
115
117
|
//#endregion
|
|
116
118
|
//#region src/components/date-picker/use-date-picker.d.ts
|
|
117
|
-
interface UseDatePickerProps extends Optional<Omit<datePicker.Props,
|
|
118
|
-
modelValue?: datePicker.Props[
|
|
119
|
+
interface UseDatePickerProps extends Optional<Omit<datePicker.Props, "dir" | "getRootNode">, "id"> {
|
|
120
|
+
modelValue?: datePicker.Props["value"];
|
|
119
121
|
}
|
|
120
122
|
interface UseDatePickerReturn extends ComputedRef<datePicker.Api<PropTypes>> {}
|
|
121
123
|
declare const useDatePicker: (props?: MaybeRef<UseDatePickerProps>, emit?: EmitFn$1<RootEmits>) => UseDatePickerReturn;
|
|
@@ -238,7 +240,7 @@ interface DatePickerPresetTriggerProps extends DatePickerPresetTriggerBaseProps,
|
|
|
238
240
|
/**
|
|
239
241
|
* @vue-ignore
|
|
240
242
|
*/
|
|
241
|
-
Omit<ButtonHTMLAttributes,
|
|
243
|
+
Omit<ButtonHTMLAttributes, "value"> {}
|
|
242
244
|
declare const _default$9: typeof __VLS_export$17;
|
|
243
245
|
declare const __VLS_export$17: __VLS_WithSlots$15<vue.DefineComponent<DatePickerPresetTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<DatePickerPresetTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
244
246
|
default?: (props: {}) => any;
|
|
@@ -344,39 +346,40 @@ HTMLAttributes {}
|
|
|
344
346
|
interface DatePickerRootEmits extends RootEmits {}
|
|
345
347
|
declare const _default$12: typeof __VLS_export$12;
|
|
346
348
|
declare const __VLS_export$12: __VLS_WithSlots$11<vue.DefineComponent<DatePickerRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
347
|
-
focusChange: (details: datePicker.FocusChangeDetails) => any;
|
|
348
349
|
valueChange: (details: datePicker.ValueChangeDetails) => any;
|
|
349
350
|
"update:modelValue": (value: datePicker.DateValue[]) => any;
|
|
350
351
|
exitComplete: () => any;
|
|
351
352
|
openChange: (details: datePicker.OpenChangeDetails) => any;
|
|
352
353
|
"update:open": (open: boolean) => any;
|
|
354
|
+
focusChange: (details: datePicker.FocusChangeDetails) => any;
|
|
353
355
|
"update:focusedValue": (focusedValue: datePicker.DateValue) => any;
|
|
354
356
|
viewChange: (details: datePicker.ViewChangeDetails) => any;
|
|
355
357
|
visibleRangeChange: (details: datePicker.VisibleRangeChangeDetails) => any;
|
|
356
358
|
"update:view": (view: datePicker.DateView) => any;
|
|
357
359
|
}, string, vue.PublicProps, Readonly<DatePickerRootProps> & Readonly<{
|
|
358
|
-
onFocusChange?: ((details: datePicker.FocusChangeDetails) => any) | undefined;
|
|
359
360
|
onValueChange?: ((details: datePicker.ValueChangeDetails) => any) | undefined;
|
|
360
361
|
"onUpdate:modelValue"?: ((value: datePicker.DateValue[]) => any) | undefined;
|
|
361
362
|
onExitComplete?: (() => any) | undefined;
|
|
362
363
|
onOpenChange?: ((details: datePicker.OpenChangeDetails) => any) | undefined;
|
|
363
364
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
365
|
+
onFocusChange?: ((details: datePicker.FocusChangeDetails) => any) | undefined;
|
|
364
366
|
"onUpdate:focusedValue"?: ((focusedValue: datePicker.DateValue) => any) | undefined;
|
|
365
367
|
onViewChange?: ((details: datePicker.ViewChangeDetails) => any) | undefined;
|
|
366
368
|
onVisibleRangeChange?: ((details: datePicker.VisibleRangeChangeDetails) => any) | undefined;
|
|
367
369
|
"onUpdate:view"?: ((view: datePicker.DateView) => any) | undefined;
|
|
368
370
|
}>, {
|
|
369
371
|
disabled: boolean;
|
|
370
|
-
inline: boolean;
|
|
371
372
|
required: boolean;
|
|
372
|
-
invalid: boolean;
|
|
373
373
|
readOnly: boolean;
|
|
374
|
+
inline: boolean;
|
|
374
375
|
closeOnSelect: boolean;
|
|
375
376
|
defaultOpen: boolean;
|
|
377
|
+
invalid: boolean;
|
|
376
378
|
open: boolean;
|
|
377
379
|
openOnClick: boolean;
|
|
378
|
-
fixedWeeks: boolean;
|
|
379
380
|
outsideDaySelectable: boolean;
|
|
381
|
+
fixedWeeks: boolean;
|
|
382
|
+
showWeekNumbers: boolean;
|
|
380
383
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
381
384
|
default?: (props: {}) => any;
|
|
382
385
|
}>;
|
|
@@ -421,7 +424,7 @@ type __VLS_WithSlots$9<T, S> = T & {
|
|
|
421
424
|
};
|
|
422
425
|
//#endregion
|
|
423
426
|
//#region src/components/date-picker/use-date-picker-table-cell-props-context.d.ts
|
|
424
|
-
interface DatePickerTableCellPropsContext extends Omit<TableCellProps,
|
|
427
|
+
interface DatePickerTableCellPropsContext extends Omit<TableCellProps, "value">, Omit<DayTableCellProps, "value"> {
|
|
425
428
|
value: Reactive<number | DateValue$1>;
|
|
426
429
|
}
|
|
427
430
|
//#endregion
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as datePickerAnatomy } from "../../date-picker-anatomy-BDzIBS0o.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
9
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-QgtvU85q.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-B6FmKP5l.js";
|
|
10
10
|
import { uniq } from "@sprawlify/primitives/utils";
|
|
11
11
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toDisplayString, toValue, unref, useId, withCtx } from "vue";
|
|
12
12
|
import * as datePicker from "@sprawlify/primitives/machines/date-picker";
|
|
@@ -529,6 +529,14 @@ var date_picker_root_default = /* @__PURE__ */ defineComponent({
|
|
|
529
529
|
type: null,
|
|
530
530
|
required: false
|
|
531
531
|
},
|
|
532
|
+
maxSelectedDates: {
|
|
533
|
+
type: null,
|
|
534
|
+
required: false
|
|
535
|
+
},
|
|
536
|
+
showWeekNumbers: {
|
|
537
|
+
type: Boolean,
|
|
538
|
+
required: false
|
|
539
|
+
},
|
|
532
540
|
startOfWeek: {
|
|
533
541
|
type: Number,
|
|
534
542
|
required: false
|
|
@@ -580,7 +588,8 @@ var date_picker_root_default = /* @__PURE__ */ defineComponent({
|
|
|
580
588
|
openOnClick: void 0,
|
|
581
589
|
outsideDaySelectable: void 0,
|
|
582
590
|
readOnly: void 0,
|
|
583
|
-
required: void 0
|
|
591
|
+
required: void 0,
|
|
592
|
+
showWeekNumbers: void 0
|
|
584
593
|
}),
|
|
585
594
|
emits: [
|
|
586
595
|
"exitComplete",
|