@sprawlify/vue 0.0.106 → 0.0.107
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-QuurhLQV.d.ts} +1 -1
- package/dist/{carousel-anatomy-oV_FEGcZ.d.ts → carousel-anatomy-Cvduvz28.d.ts} +1 -1
- package/dist/{checkbox-anatomy-Bkxq8P4k.d.ts → checkbox-anatomy-BDPTqssy.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-CcY64hfo.d.ts} +1 -1
- package/dist/components/accordion/index.d.ts +6 -6
- package/dist/components/accordion/index.js +7 -7
- package/dist/components/alert-dialog/index.d.ts +16 -16
- package/dist/components/alert-dialog/index.js +6 -6
- package/dist/components/anatomy.d.ts +9 -9
- package/dist/components/angle-slider/index.d.ts +8 -8
- 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 +8 -8
- package/dist/components/bottom-sheet/index.js +7 -7
- package/dist/components/carousel/index.d.ts +7 -7
- package/dist/components/carousel/index.js +4 -4
- package/dist/components/checkbox/index.d.ts +6 -6
- package/dist/components/checkbox/index.js +7 -7
- package/dist/components/clipboard/index.d.ts +4 -4
- package/dist/components/clipboard/index.js +4 -4
- package/dist/components/collapsible/index.d.ts +5 -5
- 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 +23 -23
- package/dist/components/color-picker/index.js +7 -7
- package/dist/components/combobox/index.d.ts +22 -22
- package/dist/components/combobox/index.js +8 -8
- package/dist/components/date-picker/index.d.ts +19 -19
- package/dist/components/date-picker/index.js +6 -6
- package/dist/components/dialog/index.d.ts +16 -16
- 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 +26 -26
- 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 +11 -11
- 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 +4 -4
- 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 +10 -10
- package/dist/components/number-input/index.js +5 -5
- package/dist/components/pagination/index.d.ts +6 -6
- 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 -13
- 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 +5 -5
- 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 +16 -16
- 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 +13 -13
- 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 +4 -4
- package/dist/components/switch/index.js +5 -5
- package/dist/components/tabs/index.d.ts +8 -8
- 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 +5 -5
- 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-CTaSCl_Q.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-aJnwDHff.d.ts → index-CYO47ggW.d.ts} +27 -1
- package/dist/{index-CODK2VY0.d.ts → index-CkAv25xX.d.ts} +11 -11
- package/dist/{index-DuD8fQUF.d.ts → index-DK-1mwjg.d.ts} +2 -2
- package/dist/{index-B4l20i3i.d.ts → index-DdyrLXRD.d.ts} +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/{listbox-anatomy-CP_1jra6.d.ts → listbox-anatomy-qjnhtt5d.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-xb9z-ywW.d.ts} +1 -1
- package/dist/{tour-anatomy-CTaLz0Eb.d.ts → tour-anatomy-D9v3xtYJ.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,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;
|
|
@@ -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
|
}
|
|
@@ -111,10 +111,10 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<CollapsibleR
|
|
|
111
111
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
113
|
disabled: boolean;
|
|
114
|
-
lazyMount: boolean;
|
|
115
|
-
unmountOnExit: boolean;
|
|
116
114
|
defaultOpen: boolean;
|
|
117
115
|
open: boolean;
|
|
116
|
+
lazyMount: boolean;
|
|
117
|
+
unmountOnExit: boolean;
|
|
118
118
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
119
119
|
default?: (props: {}) => any;
|
|
120
120
|
}>;
|
|
@@ -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,15 +1,15 @@
|
|
|
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-DdyrLXRD.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 _sprawlify_primitives_machines_bottom_sheet0 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
11
10
|
import * as colorPicker from "@sprawlify/primitives/machines/color-picker";
|
|
12
11
|
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";
|
|
12
|
+
import * as _sprawlify_primitives_machines_popover0 from "@sprawlify/primitives/machines/popover";
|
|
13
13
|
import * as _sprawlify_primitives_color_utils0 from "@sprawlify/primitives/color-utils";
|
|
14
14
|
import { ColorStringFormat } from "@sprawlify/primitives/color-utils";
|
|
15
15
|
|
|
@@ -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>> {}
|
|
@@ -403,38 +403,38 @@ HTMLAttributes {}
|
|
|
403
403
|
interface ColorPickerRootEmits extends RootEmits {}
|
|
404
404
|
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
|
-
valueChange: (details: colorPicker.ValueChangeDetails) => any;
|
|
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
406
|
exitComplete: () => any;
|
|
412
407
|
openChange: (details: colorPicker.OpenChangeDetails) => any;
|
|
413
408
|
"update:open": (open: boolean) => any;
|
|
409
|
+
focusOutside: (event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any;
|
|
410
|
+
interactOutside: (event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any;
|
|
411
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any;
|
|
412
|
+
valueChange: (details: colorPicker.ValueChangeDetails) => any;
|
|
413
|
+
"update:modelValue": (value: _sprawlify_primitives_color_utils0.Color) => any;
|
|
414
414
|
valueChangeEnd: (details: colorPicker.ValueChangeDetails) => any;
|
|
415
415
|
formatChange: (details: colorPicker.FormatChangeDetails) => any;
|
|
416
416
|
"update:format": (format: _sprawlify_primitives_color_utils0.ColorFormat) => any;
|
|
417
417
|
}, string, vue.PublicProps, Readonly<ColorPickerRootProps> & Readonly<{
|
|
418
|
-
onValueChange?: ((details: colorPicker.ValueChangeDetails) => any) | undefined;
|
|
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
418
|
onExitComplete?: (() => any) | undefined;
|
|
424
419
|
onOpenChange?: ((details: colorPicker.OpenChangeDetails) => any) | undefined;
|
|
425
420
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
421
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any) | undefined;
|
|
422
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any) | undefined;
|
|
423
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any) | undefined;
|
|
424
|
+
onValueChange?: ((details: colorPicker.ValueChangeDetails) => any) | undefined;
|
|
425
|
+
"onUpdate:modelValue"?: ((value: _sprawlify_primitives_color_utils0.Color) => 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
|
+
invalid: boolean;
|
|
431
432
|
inline: boolean;
|
|
433
|
+
defaultOpen: boolean;
|
|
434
|
+
open: boolean;
|
|
432
435
|
required: boolean;
|
|
433
|
-
invalid: boolean;
|
|
434
436
|
readOnly: boolean;
|
|
435
437
|
closeOnSelect: boolean;
|
|
436
|
-
defaultOpen: boolean;
|
|
437
|
-
open: boolean;
|
|
438
438
|
openAutoFocus: boolean;
|
|
439
439
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
440
440
|
default?: (props: {}) => 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,16 +1,16 @@
|
|
|
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-DdyrLXRD.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-CcY64hfo.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 _sprawlify_primitives_machines_bottom_sheet0 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
12
11
|
import * as combobox from "@sprawlify/primitives/machines/combobox";
|
|
13
12
|
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";
|
|
13
|
+
import * as _sprawlify_primitives_machines_popover0 from "@sprawlify/primitives/machines/popover";
|
|
14
14
|
|
|
15
15
|
//#region src/components/combobox/combobox-clear-trigger.vue.d.ts
|
|
16
16
|
interface ComboboxClearTriggerBaseProps extends PolymorphicProps {}
|
|
@@ -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;
|
|
@@ -539,18 +539,18 @@ declare const __VLS_export$2: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
539
539
|
value: string[];
|
|
540
540
|
itemValue: string;
|
|
541
541
|
}) => any) | undefined;
|
|
542
|
+
onExitComplete?: (() => any) | undefined;
|
|
543
|
+
onOpenChange?: ((details: combobox.OpenChangeDetails) => any) | undefined;
|
|
544
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
545
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any) | undefined;
|
|
546
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any) | undefined;
|
|
547
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any) | undefined;
|
|
542
548
|
onValueChange?: ((details: combobox.ValueChangeDetails<T>) => any) | undefined;
|
|
543
549
|
"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
|
-
onExitComplete?: (() => any) | undefined;
|
|
548
550
|
onHighlightChange?: ((details: combobox.HighlightChangeDetails<T>) => any) | undefined;
|
|
549
551
|
onInputValueChange?: ((details: combobox.InputValueChangeDetails) => any) | undefined;
|
|
550
|
-
onOpenChange?: ((details: combobox.OpenChangeDetails) => any) | undefined;
|
|
551
|
-
"onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
552
552
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
553
|
-
"onUpdate:
|
|
553
|
+
"onUpdate:highlightedValue"?: ((value: string | null) => 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: "
|
|
565
|
+
}) => void) & ((evt: "exitComplete") => void) & ((evt: "openChange", details: combobox.OpenChangeDetails) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "focusOutside", event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => void) & ((evt: "pointerDownOutside", event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => void) & ((evt: "valueChange", details: combobox.ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "highlightChange", details: combobox.HighlightChangeDetails<T>) => void) & ((evt: "inputValueChange", details: combobox.InputValueChangeDetails) => void) & ((evt: "update:inputValue", value: string) => void) & ((evt: "update:highlightedValue", value: string | null) => 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-CTaSCl_Q.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";
|
|
@@ -107,15 +107,15 @@ type RootEmits = {
|
|
|
107
107
|
valueChange: [details: datePicker.ValueChangeDetails];
|
|
108
108
|
viewChange: [details: datePicker.ViewChangeDetails];
|
|
109
109
|
visibleRangeChange: [details: datePicker.VisibleRangeChangeDetails];
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
"update:modelValue": [value: datePicker.DateValue[]];
|
|
111
|
+
"update:open": [open: boolean];
|
|
112
|
+
"update:view": [view: datePicker.DateView];
|
|
113
|
+
"update:focusedValue": [focusedValue: datePicker.DateValue];
|
|
114
114
|
};
|
|
115
115
|
//#endregion
|
|
116
116
|
//#region src/components/date-picker/use-date-picker.d.ts
|
|
117
|
-
interface UseDatePickerProps extends Optional<Omit<datePicker.Props,
|
|
118
|
-
modelValue?: datePicker.Props[
|
|
117
|
+
interface UseDatePickerProps extends Optional<Omit<datePicker.Props, "dir" | "getRootNode">, "id"> {
|
|
118
|
+
modelValue?: datePicker.Props["value"];
|
|
119
119
|
}
|
|
120
120
|
interface UseDatePickerReturn extends ComputedRef<datePicker.Api<PropTypes>> {}
|
|
121
121
|
declare const useDatePicker: (props?: MaybeRef<UseDatePickerProps>, emit?: EmitFn$1<RootEmits>) => UseDatePickerReturn;
|
|
@@ -238,7 +238,7 @@ interface DatePickerPresetTriggerProps extends DatePickerPresetTriggerBaseProps,
|
|
|
238
238
|
/**
|
|
239
239
|
* @vue-ignore
|
|
240
240
|
*/
|
|
241
|
-
Omit<ButtonHTMLAttributes,
|
|
241
|
+
Omit<ButtonHTMLAttributes, "value"> {}
|
|
242
242
|
declare const _default$9: typeof __VLS_export$17;
|
|
243
243
|
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
244
|
default?: (props: {}) => any;
|
|
@@ -344,36 +344,36 @@ HTMLAttributes {}
|
|
|
344
344
|
interface DatePickerRootEmits extends RootEmits {}
|
|
345
345
|
declare const _default$12: typeof __VLS_export$12;
|
|
346
346
|
declare const __VLS_export$12: __VLS_WithSlots$11<vue.DefineComponent<DatePickerRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
347
|
-
focusChange: (details: datePicker.FocusChangeDetails) => any;
|
|
348
|
-
valueChange: (details: datePicker.ValueChangeDetails) => any;
|
|
349
|
-
"update:modelValue": (value: datePicker.DateValue[]) => any;
|
|
350
347
|
exitComplete: () => any;
|
|
351
348
|
openChange: (details: datePicker.OpenChangeDetails) => any;
|
|
352
349
|
"update:open": (open: boolean) => any;
|
|
350
|
+
focusChange: (details: datePicker.FocusChangeDetails) => any;
|
|
353
351
|
"update:focusedValue": (focusedValue: datePicker.DateValue) => any;
|
|
352
|
+
valueChange: (details: datePicker.ValueChangeDetails) => any;
|
|
353
|
+
"update:modelValue": (value: datePicker.DateValue[]) => any;
|
|
354
354
|
viewChange: (details: datePicker.ViewChangeDetails) => any;
|
|
355
355
|
visibleRangeChange: (details: datePicker.VisibleRangeChangeDetails) => any;
|
|
356
356
|
"update:view": (view: datePicker.DateView) => any;
|
|
357
357
|
}, string, vue.PublicProps, Readonly<DatePickerRootProps> & Readonly<{
|
|
358
|
-
onFocusChange?: ((details: datePicker.FocusChangeDetails) => any) | undefined;
|
|
359
|
-
onValueChange?: ((details: datePicker.ValueChangeDetails) => any) | undefined;
|
|
360
|
-
"onUpdate:modelValue"?: ((value: datePicker.DateValue[]) => any) | undefined;
|
|
361
358
|
onExitComplete?: (() => any) | undefined;
|
|
362
359
|
onOpenChange?: ((details: datePicker.OpenChangeDetails) => any) | undefined;
|
|
363
360
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
361
|
+
onFocusChange?: ((details: datePicker.FocusChangeDetails) => any) | undefined;
|
|
364
362
|
"onUpdate:focusedValue"?: ((focusedValue: datePicker.DateValue) => any) | undefined;
|
|
363
|
+
onValueChange?: ((details: datePicker.ValueChangeDetails) => any) | undefined;
|
|
364
|
+
"onUpdate:modelValue"?: ((value: datePicker.DateValue[]) => any) | undefined;
|
|
365
365
|
onViewChange?: ((details: datePicker.ViewChangeDetails) => any) | undefined;
|
|
366
366
|
onVisibleRangeChange?: ((details: datePicker.VisibleRangeChangeDetails) => any) | undefined;
|
|
367
367
|
"onUpdate:view"?: ((view: datePicker.DateView) => any) | undefined;
|
|
368
368
|
}>, {
|
|
369
369
|
disabled: boolean;
|
|
370
|
+
invalid: boolean;
|
|
370
371
|
inline: boolean;
|
|
372
|
+
defaultOpen: boolean;
|
|
373
|
+
open: boolean;
|
|
371
374
|
required: boolean;
|
|
372
|
-
invalid: boolean;
|
|
373
375
|
readOnly: boolean;
|
|
374
376
|
closeOnSelect: boolean;
|
|
375
|
-
defaultOpen: boolean;
|
|
376
|
-
open: boolean;
|
|
377
377
|
openOnClick: boolean;
|
|
378
378
|
fixedWeeks: boolean;
|
|
379
379
|
outsideDaySelectable: boolean;
|
|
@@ -421,7 +421,7 @@ type __VLS_WithSlots$9<T, S> = T & {
|
|
|
421
421
|
};
|
|
422
422
|
//#endregion
|
|
423
423
|
//#region src/components/date-picker/use-date-picker-table-cell-props-context.d.ts
|
|
424
|
-
interface DatePickerTableCellPropsContext extends Omit<TableCellProps,
|
|
424
|
+
interface DatePickerTableCellPropsContext extends Omit<TableCellProps, "value">, Omit<DayTableCellProps, "value"> {
|
|
425
425
|
value: Reactive<number | DateValue$1>;
|
|
426
426
|
}
|
|
427
427
|
//#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";
|