@sprawlify/vue 0.0.73 → 0.0.74
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/accordion-anatomy-SnniqySz.js +3 -0
- package/dist/accordion-anatomy-rCL5aWqn.d.ts +2 -0
- package/dist/angle-slider-anatomy-BcpYlzjU.js +3 -0
- package/dist/angle-slider-anatomy-Dx77gXPi.d.ts +2 -0
- package/dist/avatar-anatomy-DkaRck8U.js +3 -0
- package/dist/avatar-anatomy-DqwdmVib.d.ts +2 -0
- package/dist/bottom-sheet-anatomy-CATwdEhi.d.ts +2 -0
- package/dist/bottom-sheet-anatomy-lHEnPDuf.js +3 -0
- package/dist/carousel-anatomy-CP646ljY.d.ts +6 -0
- package/dist/carousel-anatomy-Dozyhz87.js +7 -0
- package/dist/checkbox-anatomy-DGrjF6ri.d.ts +6 -0
- package/dist/checkbox-anatomy-DrTfnRdC.js +7 -0
- package/dist/clipboard-anatomy-Btcms62_.js +3 -0
- package/dist/clipboard-anatomy-BtxJPw4p.d.ts +2 -0
- package/dist/collapsible-anatomy-Bz0a8LAr.js +3 -0
- package/dist/collapsible-anatomy-C-2X58M2.d.ts +2 -0
- package/dist/{collapsible-SXAS3iFc.js → collapsible-kw6uns8K.js} +3 -4
- package/dist/{collection-C_ZHBDQD.js → collection-BHgAE3BH.js} +1 -1
- package/dist/color-picker-anatomy-C18pJhHu.d.ts +6 -0
- package/dist/color-picker-anatomy-DJP6gg1F.js +7 -0
- package/dist/combobox-anatomy-CwdkDJPn.d.ts +6 -0
- package/dist/combobox-anatomy-DccBa7f5.js +7 -0
- package/dist/components/accordion/index.d.ts +22 -21
- package/dist/components/accordion/index.js +6 -6
- package/dist/components/anatomy.d.ts +51 -0
- package/dist/components/anatomy.js +53 -0
- package/dist/components/angle-slider/index.d.ts +20 -19
- package/dist/components/angle-slider/index.js +3 -3
- package/dist/components/avatar/index.d.ts +13 -12
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/bottom-sheet/index.d.ts +23 -22
- package/dist/components/bottom-sheet/index.js +6 -6
- package/dist/components/carousel/index.d.ts +20 -23
- package/dist/components/carousel/index.js +3 -7
- package/dist/components/checkbox/index.d.ts +24 -27
- package/dist/components/checkbox/index.js +8 -10
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +21 -20
- package/dist/components/clipboard/index.js +3 -3
- package/dist/components/collapsible/index.d.ts +17 -16
- package/dist/components/collapsible/index.js +3 -2
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +55 -58
- package/dist/components/color-picker/index.js +8 -10
- package/dist/components/combobox/index.d.ts +38 -41
- package/dist/components/combobox/index.js +8 -11
- package/dist/components/date-picker/index.d.ts +46 -49
- package/dist/components/date-picker/index.js +6 -9
- package/dist/components/dialog/index.d.ts +32 -31
- package/dist/components/dialog/index.js +5 -5
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +1 -1
- package/dist/components/editable/index.d.ts +30 -29
- package/dist/components/editable/index.js +5 -4
- package/dist/components/field/index.d.ts +24 -27
- package/dist/components/field/index.js +3 -2
- package/dist/components/fieldset/index.d.ts +12 -15
- package/dist/components/fieldset/index.js +3 -2
- package/dist/components/file-upload/index.d.ts +27 -26
- package/dist/components/file-upload/index.js +5 -4
- package/dist/components/floating-panel/index.d.ts +28 -26
- package/dist/components/floating-panel/index.js +4 -4
- package/dist/components/focus-trap/index.d.ts +5 -5
- package/dist/components/focus-trap/index.js +2 -2
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +28 -27
- package/dist/components/hover-card/index.js +5 -5
- package/dist/components/image-cropper/index.d.ts +15 -18
- package/dist/components/image-cropper/index.js +4 -7
- package/dist/components/json-tree-view/index.d.ts +12 -12
- package/dist/components/json-tree-view/index.js +6 -6
- package/dist/components/listbox/index.d.ts +25 -28
- package/dist/components/listbox/index.js +4 -8
- package/dist/components/marquee/index.d.ts +25 -24
- package/dist/components/marquee/index.js +3 -3
- package/dist/components/menu/index.d.ts +56 -54
- package/dist/components/menu/index.js +5 -5
- package/dist/components/navigation-menu/index.d.ts +22 -21
- package/dist/components/navigation-menu/index.js +5 -5
- package/dist/components/number-input/index.d.ts +24 -23
- package/dist/components/number-input/index.js +5 -4
- package/dist/components/pagination/index.d.ts +17 -16
- package/dist/components/pagination/index.js +3 -3
- package/dist/components/password-input/index.d.ts +26 -25
- package/dist/components/password-input/index.js +5 -4
- package/dist/components/pin-input/index.d.ts +21 -20
- package/dist/components/pin-input/index.js +5 -4
- package/dist/components/popover/index.d.ts +36 -35
- package/dist/components/popover/index.js +5 -5
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +2 -2
- package/dist/components/progress/index.d.ts +17 -16
- package/dist/components/progress/index.js +3 -3
- package/dist/components/qr-code/index.d.ts +13 -12
- package/dist/components/qr-code/index.js +3 -3
- package/dist/components/radio-group/index.d.ts +21 -20
- package/dist/components/radio-group/index.js +6 -5
- package/dist/components/rating-group/index.d.ts +19 -18
- package/dist/components/rating-group/index.js +5 -4
- package/dist/components/scroll-area/index.d.ts +14 -13
- package/dist/components/scroll-area/index.js +3 -3
- package/dist/components/segment-group/index.d.ts +19 -22
- package/dist/components/segment-group/index.js +3 -8
- package/dist/components/select/index.d.ts +41 -40
- package/dist/components/select/index.js +8 -7
- package/dist/components/signature-pad/index.d.ts +18 -17
- package/dist/components/signature-pad/index.js +5 -4
- package/dist/components/slider/index.d.ts +25 -24
- package/dist/components/slider/index.js +3 -3
- package/dist/components/splitter/index.d.ts +14 -13
- package/dist/components/splitter/index.js +4 -3
- package/dist/components/steps/index.d.ts +22 -21
- package/dist/components/steps/index.js +3 -3
- package/dist/components/switch/index.d.ts +18 -17
- package/dist/components/switch/index.js +5 -4
- package/dist/components/tabs/index.d.ts +22 -21
- package/dist/components/tabs/index.js +5 -5
- package/dist/components/tags-input/index.d.ts +36 -35
- package/dist/components/tags-input/index.js +5 -4
- package/dist/components/timer/index.d.ts +16 -15
- package/dist/components/timer/index.js +3 -3
- package/dist/components/toast/index.d.ts +13 -12
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toggle/index.d.ts +10 -13
- package/dist/components/toggle/index.js +3 -8
- package/dist/components/toggle-group/index.d.ts +16 -15
- package/dist/components/toggle-group/index.js +3 -3
- package/dist/components/tooltip/index.d.ts +23 -22
- package/dist/components/tooltip/index.js +5 -5
- package/dist/components/tour/index.d.ts +32 -35
- package/dist/components/tour/index.js +6 -9
- package/dist/components/tree-view/index.d.ts +6 -5
- package/dist/components/tree-view/index.js +6 -5
- package/dist/date-picker-anatomy-B3KhAu53.d.ts +6 -0
- package/dist/date-picker-anatomy-BbB7oLLk.js +7 -0
- package/dist/dialog-anatomy--8BPzYvc.d.ts +2 -0
- package/dist/dialog-anatomy-DZW7OUW_.js +3 -0
- package/dist/editable-anatomy-D1eyySPH.js +3 -0
- package/dist/editable-anatomy-qX6giV4Y.d.ts +2 -0
- package/dist/{field-CtPR24u6.js → field-C6iB3Tje.js} +3 -8
- package/dist/field-anatomy-DOCpzb4B.js +8 -0
- package/dist/field-anatomy-meDug-96.d.ts +6 -0
- package/dist/{fieldset-D5SznrKY.js → fieldset-B1bn9yHW.js} +3 -8
- package/dist/fieldset-anatomy-BENizr4L.d.ts +6 -0
- package/dist/fieldset-anatomy-DmZTaMK6.js +8 -0
- package/dist/file-upload-anatomy-BFGZTW-d.d.ts +2 -0
- package/dist/file-upload-anatomy-CZ2VnScd.js +3 -0
- package/dist/floating-panel-anatomy-DBrl1Bp0.js +3 -0
- package/dist/floating-panel-anatomy-aRL0nEuA.d.ts +2 -0
- package/dist/hover-card-anatomy-BL8G0P5L.d.ts +2 -0
- package/dist/hover-card-anatomy-D3wEfkuu.js +3 -0
- package/dist/image-cropper-anatomy-Q-TC-Ntz.d.ts +6 -0
- package/dist/image-cropper-anatomy-vcTNTTGP.js +7 -0
- package/dist/{index-CmCVWB7e.d.ts → index-CKLWua9t.d.ts} +32 -32
- package/dist/{index-8bjPAUl0.d.ts → index-DLfVD7U5.d.ts} +10 -10
- package/dist/{index-BnYwp0nl.d.ts → index-_AirUBz0.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/listbox-anatomy-CHgk_go8.d.ts +6 -0
- package/dist/listbox-anatomy-D2r-4uq6.js +7 -0
- package/dist/marquee-anatomy-BSMR6X4B.d.ts +2 -0
- package/dist/marquee-anatomy-sKw9g-dJ.js +3 -0
- package/dist/menu-anatomy-2i8La6ak.d.ts +2 -0
- package/dist/menu-anatomy-DbCORryZ.js +3 -0
- package/dist/navigation-menu-anatomy-kSlLw4EL.d.ts +2 -0
- package/dist/navigation-menu-anatomy-nwZUxyMV.js +3 -0
- package/dist/number-input-anatomy-BrKnd1U3.d.ts +2 -0
- package/dist/number-input-anatomy-hB3PpB4j.js +3 -0
- package/dist/pagination-anatomy-D8yk0Puf.js +3 -0
- package/dist/pagination-anatomy-NpCn-mYm.d.ts +2 -0
- package/dist/password-input-anatomy-BJPXSE6T.d.ts +2 -0
- package/dist/password-input-anatomy-D0nhl7MJ.js +3 -0
- package/dist/pin-input-anatomy-Blh9Y2sq.js +3 -0
- package/dist/pin-input-anatomy-OckZj-cF.d.ts +2 -0
- package/dist/popover-anatomy-Ce31QPso.d.ts +2 -0
- package/dist/popover-anatomy-DXWeYlnF.js +3 -0
- package/dist/{presence-BK6rPXK7.js → presence-Byk0B_Vq.js} +1 -1
- package/dist/progress-anatomy-DUD4W7vg.d.ts +2 -0
- package/dist/progress-anatomy-lioRhIrB.js +3 -0
- package/dist/qr-code-anatomy-CIy9Wai6.js +3 -0
- package/dist/qr-code-anatomy-Dmh5IV3m.d.ts +2 -0
- package/dist/radio-group-anatomy-C7L8dkhn.js +3 -0
- package/dist/radio-group-anatomy-CXwS1OoR.d.ts +2 -0
- package/dist/rating-group-anatomy-CBhzoESK.js +3 -0
- package/dist/rating-group-anatomy-DMTutKxa.d.ts +2 -0
- package/dist/scroll-area-anatomy-B-FlUOdc.js +3 -0
- package/dist/scroll-area-anatomy-Cxkrq_al.d.ts +2 -0
- package/dist/segment-group-anatomy-CNtzx5Yr.d.ts +6 -0
- package/dist/segment-group-anatomy-CPdu1efW.js +8 -0
- package/dist/select-anatomy-CiNHi2Kx.js +3 -0
- package/dist/select-anatomy-Elu3b3Op.d.ts +2 -0
- package/dist/signature-pad-anatomy-B-OK1170.d.ts +2 -0
- package/dist/signature-pad-anatomy-Mz3w_i5B.js +3 -0
- package/dist/slider-anatomy-3KpCBnz3.js +3 -0
- package/dist/slider-anatomy-Ctfd4geR.d.ts +2 -0
- package/dist/splitter-anatomy-CN7s6WdQ.d.ts +2 -0
- package/dist/splitter-anatomy-D2RNa-hA.js +3 -0
- package/dist/steps-anatomy-CSfgiyVI.js +3 -0
- package/dist/steps-anatomy-DrtAi5Mk.d.ts +2 -0
- package/dist/switch-anatomy-DDL1v5Fs.js +3 -0
- package/dist/switch-anatomy-Z4qGqnte.d.ts +2 -0
- package/dist/tabs-anatomy-BL3YLH_t.d.ts +2 -0
- package/dist/tabs-anatomy-DlQHg-E8.js +3 -0
- package/dist/tags-input-anatomy-AHepxK3s.d.ts +2 -0
- package/dist/tags-input-anatomy-DYSi98Bx.js +3 -0
- package/dist/timer-anatomy-Be-Fa71t.d.ts +2 -0
- package/dist/timer-anatomy-C9bTbrUf.js +3 -0
- package/dist/toast-anatomy-CssUp7TT.js +3 -0
- package/dist/toast-anatomy-_k_zeUjw.d.ts +2 -0
- package/dist/toggle-anatomy-D8XJQLnW.js +8 -0
- package/dist/toggle-anatomy-DFzkjtVR.d.ts +6 -0
- package/dist/toggle-group-anatomy-DD8PvB75.js +3 -0
- package/dist/toggle-group-anatomy-L0_56E8r.d.ts +2 -0
- package/dist/tooltip-anatomy-CPw1wOXd.js +3 -0
- package/dist/tooltip-anatomy-jbsTMGov.d.ts +2 -0
- package/dist/tour-anatomy-CDmnjoPR.js +7 -0
- package/dist/tour-anatomy-CgFQsxyi.d.ts +6 -0
- package/dist/{tree-view-N6ShNmpe.js → tree-view-BBC0paRq.js} +6 -7
- package/dist/tree-view-anatomy-BM2MLpUa.d.ts +2 -0
- package/dist/tree-view-anatomy-BW_ruJ-g.js +3 -0
- package/package.json +6 -2
- /package/dist/{boolean-CpMsIRK4.js → boolean-L5YmbZkb.js} +0 -0
- /package/dist/{clean-props-ChPEW0vT.js → clean-props-DsGHTEpm.js} +0 -0
- /package/dist/{create-split-props-BDJ_VWs3.js → create-split-props-BQ6yvpdF.js} +0 -0
- /package/dist/{factory-B5zr8_kk.d.ts → factory-D5HMCjkS.d.ts} +0 -0
- /package/dist/{factory-Co08Aw8u.js → factory-DxZQviAU.js} +0 -0
- /package/dist/{index-CCRVRFFQ.d.ts → index-DmKzfNVe.d.ts} +0 -0
- /package/dist/{index-DhFoJHfp.d.ts → index-e9UjgIag.d.ts} +0 -0
- /package/dist/{presence-types-BJRr8tqd.d.ts → presence-types-CaUy1bPc.d.ts} +0 -0
- /package/dist/{types-DIEO6uP3.d.ts → types-DVbnnQPS.d.ts} +0 -0
- /package/dist/{use-render-strategy-DMa_QmB6.js → use-render-strategy-Bx4OiQlo.js} +0 -0
- /package/dist/{use-render-strategy-U5NxU252.d.ts → use-render-strategy-DsagWQCm.d.ts} +0 -0
|
@@ -3,11 +3,11 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
6
|
+
import { t as qrCodeAnatomy } from "../../qr-code-anatomy-CIy9Wai6.js";
|
|
7
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
8
9
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
10
|
import * as qrcode from "@sprawlify/primitives/machines/qr-code";
|
|
10
|
-
import { anatomy as qrCodeAnatomy } from "@sprawlify/primitives/machines/qr-code";
|
|
11
11
|
|
|
12
12
|
//#region src/components/qr-code/use-qr-code-context.ts
|
|
13
13
|
const [QrCodeProvider, useQrCodeContext] = createContext("QrCodeContext");
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as radioGroupAnatomy } from "../../radio-group-anatomy-CXwS1OoR.js";
|
|
5
|
+
import * as vue279 from "vue";
|
|
5
6
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
7
|
import * as radioGroup from "@sprawlify/primitives/machines/radio-group";
|
|
7
|
-
import { ItemProps, ItemState, ValueChangeDetails, ValueChangeDetails as RadioGroupValueChangeDetails
|
|
8
|
+
import { ItemProps, ItemState, ValueChangeDetails, ValueChangeDetails as RadioGroupValueChangeDetails } from "@sprawlify/primitives/machines/radio-group";
|
|
8
9
|
|
|
9
10
|
//#region src/components/radio-group/radio-group-types.d.ts
|
|
10
11
|
interface RootProps {
|
|
@@ -48,7 +49,7 @@ interface RadioGroupContextProps extends SlotsType<{
|
|
|
48
49
|
default: UnwrapRef<UseRadioGroupContext>;
|
|
49
50
|
}> {}
|
|
50
51
|
declare const _default: typeof __VLS_export$9;
|
|
51
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
52
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue279.DefineComponent<{}, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, true, {}, any>, {
|
|
52
53
|
default(radioGroup: UnwrapRef<UseRadioGroupContext>): unknown;
|
|
53
54
|
}>;
|
|
54
55
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -65,7 +66,7 @@ interface RadioGroupIndicatorProps extends RadioGroupIndicatorBaseProps,
|
|
|
65
66
|
*/
|
|
66
67
|
HTMLAttributes {}
|
|
67
68
|
declare const _default$1: typeof __VLS_export$8;
|
|
68
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
69
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue279.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, false, {}, any>, {
|
|
69
70
|
default?: (props: {}) => any;
|
|
70
71
|
}>;
|
|
71
72
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -82,7 +83,7 @@ interface RadioGroupItemContextProps extends SlotsType<{
|
|
|
82
83
|
default: UnwrapRef<UseRadioGroupItemContext>;
|
|
83
84
|
}> {}
|
|
84
85
|
declare const _default$3: typeof __VLS_export$7;
|
|
85
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
86
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue279.DefineComponent<{}, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, true, {}, any>, {
|
|
86
87
|
default(item: UnwrapRef<UseRadioGroupItemContext>): unknown;
|
|
87
88
|
}>;
|
|
88
89
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -99,7 +100,7 @@ interface RadioGroupItemControlProps extends RadioGroupItemControlBaseProps,
|
|
|
99
100
|
*/
|
|
100
101
|
HTMLAttributes {}
|
|
101
102
|
declare const _default$4: typeof __VLS_export$6;
|
|
102
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
103
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue279.DefineComponent<RadioGroupItemControlProps, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<RadioGroupItemControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, false, {}, any>, {
|
|
103
104
|
default?: (props: {}) => any;
|
|
104
105
|
}>;
|
|
105
106
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -116,7 +117,7 @@ interface RadioGroupItemHiddenInputProps extends RadioGroupItemHiddenInputBasePr
|
|
|
116
117
|
*/
|
|
117
118
|
InputHTMLAttributes {}
|
|
118
119
|
declare const _default$5: typeof __VLS_export$5;
|
|
119
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
120
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue279.DefineComponent<RadioGroupItemHiddenInputProps, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<RadioGroupItemHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, false, {}, any>, {
|
|
120
121
|
default?: (props: {}) => any;
|
|
121
122
|
}>;
|
|
122
123
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -133,7 +134,7 @@ interface RadioGroupItemTextProps extends RadioGroupItemTextBaseProps,
|
|
|
133
134
|
*/
|
|
134
135
|
HTMLAttributes {}
|
|
135
136
|
declare const _default$6: typeof __VLS_export$4;
|
|
136
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
137
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue279.DefineComponent<RadioGroupItemTextProps, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<RadioGroupItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, false, {}, any>, {
|
|
137
138
|
default?: (props: {}) => any;
|
|
138
139
|
}>;
|
|
139
140
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -150,7 +151,7 @@ interface RadioGroupItemProps extends RadioGroupItemBaseProps,
|
|
|
150
151
|
*/
|
|
151
152
|
LabelHTMLAttributes {}
|
|
152
153
|
declare const _default$2: typeof __VLS_export$3;
|
|
153
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
154
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue279.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, false, {}, any>, {
|
|
154
155
|
default?: (props: {}) => any;
|
|
155
156
|
}>;
|
|
156
157
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -167,7 +168,7 @@ interface RadioGroupLabelProps extends RadioGroupLabelBaseProps,
|
|
|
167
168
|
*/
|
|
168
169
|
LabelHTMLAttributes {}
|
|
169
170
|
declare const _default$7: typeof __VLS_export$2;
|
|
170
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
171
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue279.DefineComponent<RadioGroupLabelProps, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<RadioGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, false, {}, any>, {
|
|
171
172
|
default?: (props: {}) => any;
|
|
172
173
|
}>;
|
|
173
174
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -187,7 +188,7 @@ interface RadioGroupRootProviderProps extends RadioGroupRootProviderBaseProps,
|
|
|
187
188
|
*/
|
|
188
189
|
HTMLAttributes {}
|
|
189
190
|
declare const _default$9: typeof __VLS_export$1;
|
|
190
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
191
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue279.DefineComponent<RadioGroupRootProviderProps, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {}, string, vue279.PublicProps, Readonly<RadioGroupRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue279.ComponentProvideOptions, false, {}, any>, {
|
|
191
192
|
default?: (props: {}) => any;
|
|
192
193
|
}>;
|
|
193
194
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -205,18 +206,18 @@ interface RadioGroupRootProps extends RadioGroupRootBaseProps,
|
|
|
205
206
|
HTMLAttributes {}
|
|
206
207
|
interface RadioGroupRootEmits extends RootEmits {}
|
|
207
208
|
declare const _default$8: typeof __VLS_export;
|
|
208
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
209
|
-
"update:modelValue": (value: string | null) => any;
|
|
209
|
+
declare const __VLS_export: __VLS_WithSlots<vue279.DefineComponent<RadioGroupRootProps, {}, {}, {}, {}, vue279.ComponentOptionsMixin, vue279.ComponentOptionsMixin, {
|
|
210
210
|
valueChange: (details: radioGroup.ValueChangeDetails) => any;
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
"update:modelValue": (value: string | null) => any;
|
|
212
|
+
}, string, vue279.PublicProps, Readonly<RadioGroupRootProps> & Readonly<{
|
|
213
213
|
onValueChange?: ((details: radioGroup.ValueChangeDetails) => any) | undefined;
|
|
214
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
214
215
|
}>, {
|
|
215
|
-
required: boolean;
|
|
216
216
|
disabled: boolean;
|
|
217
|
+
required: boolean;
|
|
217
218
|
invalid: boolean;
|
|
218
219
|
readOnly: boolean;
|
|
219
|
-
}, {}, {}, {}, string,
|
|
220
|
+
}, {}, {}, {}, string, vue279.ComponentProvideOptions, false, {}, any>, {
|
|
220
221
|
default?: (props: {}) => any;
|
|
221
222
|
}>;
|
|
222
223
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,13 +3,14 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
6
|
+
import "../../fieldset-anatomy-DmZTaMK6.js";
|
|
7
|
+
import { t as radioGroupAnatomy } from "../../radio-group-anatomy-C7L8dkhn.js";
|
|
8
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
9
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
10
|
+
import { t as toBooleanValue } from "../../boolean-L5YmbZkb.js";
|
|
11
|
+
import { l as useFieldsetContext } from "../../fieldset-B1bn9yHW.js";
|
|
10
12
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
13
|
import * as radioGroup from "@sprawlify/primitives/machines/radio-group";
|
|
12
|
-
import { anatomy as radioGroupAnatomy } from "@sprawlify/primitives/machines/radio-group";
|
|
13
14
|
|
|
14
15
|
//#region src/components/radio-group/use-radio-group-context.ts
|
|
15
16
|
const [RadioGroupProvider, useRadioGroupContext] = createContext("RadioGroupContext");
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as ratingGroupAnatomy } from "../../rating-group-anatomy-DMTutKxa.js";
|
|
5
|
+
import * as vue339 from "vue";
|
|
5
6
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
7
|
import * as ratingGroup from "@sprawlify/primitives/machines/rating-group";
|
|
7
|
-
import { HoverChangeDetails, HoverChangeDetails as RatingGroupHoverChangeDetails, ItemProps, ItemState, ValueChangeDetails, ValueChangeDetails as RatingGroupValueChangeDetails
|
|
8
|
+
import { HoverChangeDetails, HoverChangeDetails as RatingGroupHoverChangeDetails, ItemProps, ItemState, ValueChangeDetails, ValueChangeDetails as RatingGroupValueChangeDetails } from "@sprawlify/primitives/machines/rating-group";
|
|
8
9
|
|
|
9
10
|
//#region src/components/rating-group/rating-group-control.vue.d.ts
|
|
10
11
|
interface RatingGroupControlBaseProps extends PolymorphicProps {}
|
|
@@ -14,7 +15,7 @@ interface RatingGroupControlProps extends RatingGroupControlBaseProps,
|
|
|
14
15
|
*/
|
|
15
16
|
HTMLAttributes {}
|
|
16
17
|
declare const _default$1: typeof __VLS_export$7;
|
|
17
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
18
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue339.DefineComponent<RatingGroupControlProps, {}, {}, {}, {}, vue339.ComponentOptionsMixin, vue339.ComponentOptionsMixin, {}, string, vue339.PublicProps, Readonly<RatingGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue339.ComponentProvideOptions, false, {}, any>, {
|
|
18
19
|
default?: (props: {}) => any;
|
|
19
20
|
}>;
|
|
20
21
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -31,7 +32,7 @@ interface RatingGroupHiddenInputProps extends RatingGroupHiddenInputBaseProps,
|
|
|
31
32
|
*/
|
|
32
33
|
InputHTMLAttributes {}
|
|
33
34
|
declare const _default$2: typeof __VLS_export$6;
|
|
34
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
35
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue339.DefineComponent<RatingGroupHiddenInputProps, {}, {}, {}, {}, vue339.ComponentOptionsMixin, vue339.ComponentOptionsMixin, {}, string, vue339.PublicProps, Readonly<RatingGroupHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue339.ComponentProvideOptions, false, {}, any>, {
|
|
35
36
|
default?: (props: {}) => any;
|
|
36
37
|
}>;
|
|
37
38
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -48,7 +49,7 @@ interface RatingGroupItemContextProps extends SlotsType<{
|
|
|
48
49
|
default: UnwrapRef<UseRatingGroupItemContext>;
|
|
49
50
|
}> {}
|
|
50
51
|
declare const _default$4: typeof __VLS_export$5;
|
|
51
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
52
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue339.DefineComponent<{}, {}, {}, {}, {}, vue339.ComponentOptionsMixin, vue339.ComponentOptionsMixin, {}, string, vue339.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue339.ComponentProvideOptions, true, {}, any>, {
|
|
52
53
|
default(item: UnwrapRef<UseRatingGroupItemContext>): unknown;
|
|
53
54
|
}>;
|
|
54
55
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -65,7 +66,7 @@ interface RatingGroupItemProps extends RatingGroupItemBaseProps,
|
|
|
65
66
|
*/
|
|
66
67
|
HTMLAttributes {}
|
|
67
68
|
declare const _default$3: typeof __VLS_export$4;
|
|
68
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
69
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue339.DefineComponent<RatingGroupItemProps, {}, {}, {}, {}, vue339.ComponentOptionsMixin, vue339.ComponentOptionsMixin, {}, string, vue339.PublicProps, Readonly<RatingGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue339.ComponentProvideOptions, false, {}, any>, {
|
|
69
70
|
default?: (props: {}) => any;
|
|
70
71
|
}>;
|
|
71
72
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -82,7 +83,7 @@ interface RatingGroupLabelProps extends RatingGroupLabelBaseProps,
|
|
|
82
83
|
*/
|
|
83
84
|
LabelHTMLAttributes {}
|
|
84
85
|
declare const _default$5: typeof __VLS_export$3;
|
|
85
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
86
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue339.DefineComponent<RatingGroupLabelProps, {}, {}, {}, {}, vue339.ComponentOptionsMixin, vue339.ComponentOptionsMixin, {}, string, vue339.PublicProps, Readonly<RatingGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue339.ComponentProvideOptions, false, {}, any>, {
|
|
86
87
|
default?: (props: {}) => any;
|
|
87
88
|
}>;
|
|
88
89
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -102,7 +103,7 @@ interface RatingGroupRootProviderProps extends RatingGroupRootProviderBaseProps,
|
|
|
102
103
|
*/
|
|
103
104
|
HTMLAttributes {}
|
|
104
105
|
declare const _default$7: typeof __VLS_export$2;
|
|
105
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
106
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue339.DefineComponent<RatingGroupRootProviderProps, {}, {}, {}, {}, vue339.ComponentOptionsMixin, vue339.ComponentOptionsMixin, {}, string, vue339.PublicProps, Readonly<RatingGroupRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue339.ComponentProvideOptions, false, {}, any>, {
|
|
106
107
|
default?: (props: {}) => any;
|
|
107
108
|
}>;
|
|
108
109
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -148,21 +149,21 @@ interface RatingGroupRootProps extends RatingGroupRootBaseProps,
|
|
|
148
149
|
HTMLAttributes {}
|
|
149
150
|
interface RatingGroupRootEmits extends RootEmits {}
|
|
150
151
|
declare const _default$6: typeof __VLS_export$1;
|
|
151
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
152
|
-
"update:modelValue": (value: number) => any;
|
|
152
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue339.DefineComponent<RatingGroupRootProps, {}, {}, {}, {}, vue339.ComponentOptionsMixin, vue339.ComponentOptionsMixin, {
|
|
153
153
|
valueChange: (details: ratingGroup.ValueChangeDetails) => any;
|
|
154
|
+
"update:modelValue": (value: number) => any;
|
|
154
155
|
hoverChange: (details: ratingGroup.HoverChangeDetails) => any;
|
|
155
|
-
}, string,
|
|
156
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
156
|
+
}, string, vue339.PublicProps, Readonly<RatingGroupRootProps> & Readonly<{
|
|
157
157
|
onValueChange?: ((details: ratingGroup.ValueChangeDetails) => any) | undefined;
|
|
158
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
158
159
|
onHoverChange?: ((details: ratingGroup.HoverChangeDetails) => any) | undefined;
|
|
159
160
|
}>, {
|
|
160
|
-
required: boolean;
|
|
161
161
|
disabled: boolean;
|
|
162
|
+
required: boolean;
|
|
162
163
|
readOnly: boolean;
|
|
163
164
|
autoFocus: boolean;
|
|
164
165
|
allowHalf: boolean;
|
|
165
|
-
}, {}, {}, {}, string,
|
|
166
|
+
}, {}, {}, {}, string, vue339.ComponentProvideOptions, false, {}, any>, {
|
|
166
167
|
default?: (props: {}) => any;
|
|
167
168
|
}>;
|
|
168
169
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -189,7 +190,7 @@ interface RatingGroupContextProps extends SlotsType<{
|
|
|
189
190
|
default: UnwrapRef<UseRatingGroupContext>;
|
|
190
191
|
}> {}
|
|
191
192
|
declare const _default: typeof __VLS_export;
|
|
192
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
193
|
+
declare const __VLS_export: __VLS_WithSlots<vue339.DefineComponent<{}, {}, {}, {}, {}, vue339.ComponentOptionsMixin, vue339.ComponentOptionsMixin, {}, string, vue339.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue339.ComponentProvideOptions, true, {}, any>, {
|
|
193
194
|
default(ratingGroup: UnwrapRef<UseRatingGroupContext>): unknown;
|
|
194
195
|
}>;
|
|
195
196
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,12 +3,13 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
6
|
+
import "../../field-anatomy-DOCpzb4B.js";
|
|
7
|
+
import { t as ratingGroupAnatomy } from "../../rating-group-anatomy-CBhzoESK.js";
|
|
8
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
9
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
10
|
+
import { p as useFieldContext } from "../../field-C6iB3Tje.js";
|
|
9
11
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
10
12
|
import * as ratingGroup from "@sprawlify/primitives/machines/rating-group";
|
|
11
|
-
import { anatomy as ratingGroupAnatomy } from "@sprawlify/primitives/machines/rating-group";
|
|
12
13
|
|
|
13
14
|
//#region src/components/rating-group/use-rating-group-context.ts
|
|
14
15
|
const [RatingGroupProvider, useRatingGroupContext] = createContext("RatingGroupContext");
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as scrollAreaAnatomy } from "../../scroll-area-anatomy-Cxkrq_al.js";
|
|
4
5
|
import { Orientation } from "@sprawlify/primitives/types";
|
|
5
|
-
import * as
|
|
6
|
+
import * as vue229 from "vue";
|
|
6
7
|
import { ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
8
|
import * as scrollArea from "@sprawlify/primitives/machines/scroll-area";
|
|
8
|
-
import { ElementIds, ElementIds as ScrollAreaElementIds, ScrollToDetails, ScrollToDetails as ScrollAreaScrollToDetails, ScrollToEdge as ScrollAreaScrollToEdge, ScrollToEdgeDetails, ScrollToEdgeDetails as ScrollAreaScrollToEdgeDetails, ScrollbarState as ScrollAreaScrollbarState
|
|
9
|
+
import { ElementIds, ElementIds as ScrollAreaElementIds, ScrollToDetails, ScrollToDetails as ScrollAreaScrollToDetails, ScrollToEdge as ScrollAreaScrollToEdge, ScrollToEdgeDetails, ScrollToEdgeDetails as ScrollAreaScrollToEdgeDetails, ScrollbarState as ScrollAreaScrollbarState } from "@sprawlify/primitives/machines/scroll-area";
|
|
9
10
|
|
|
10
11
|
//#region src/components/scroll-area/use-scroll-area.d.ts
|
|
11
12
|
interface UseScrollAreaProps extends Optional<Omit<scrollArea.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -20,7 +21,7 @@ interface ScrollAreaContextProps extends SlotsType<{
|
|
|
20
21
|
default: UnwrapRef<UseScrollAreaContext>;
|
|
21
22
|
}> {}
|
|
22
23
|
declare const _default$1: typeof __VLS_export$7;
|
|
23
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
24
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue229.DefineComponent<{}, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {}, string, vue229.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, true, {}, any>, {
|
|
24
25
|
default(scrollArea: UnwrapRef<UseScrollAreaContext>): unknown;
|
|
25
26
|
}>;
|
|
26
27
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -37,7 +38,7 @@ interface ScrollAreaContentProps extends ScrollAreaContentBaseProps,
|
|
|
37
38
|
*/
|
|
38
39
|
HTMLAttributes {}
|
|
39
40
|
declare const _default: typeof __VLS_export$6;
|
|
40
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
41
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue229.DefineComponent<ScrollAreaContentProps, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {}, string, vue229.PublicProps, Readonly<ScrollAreaContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, false, {}, any>, {
|
|
41
42
|
default?: (props: {}) => any;
|
|
42
43
|
}>;
|
|
43
44
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -54,7 +55,7 @@ interface ScrollAreaCornerProps extends ScrollAreaCornerBaseProps,
|
|
|
54
55
|
*/
|
|
55
56
|
HTMLAttributes {}
|
|
56
57
|
declare const _default$2: typeof __VLS_export$5;
|
|
57
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
58
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue229.DefineComponent<ScrollAreaCornerProps, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {}, string, vue229.PublicProps, Readonly<ScrollAreaCornerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, false, {}, any>, {
|
|
58
59
|
default?: (props: {}) => any;
|
|
59
60
|
}>;
|
|
60
61
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -83,7 +84,7 @@ interface ScrollAreaRootProps extends ScrollAreaRootBaseProps,
|
|
|
83
84
|
*/
|
|
84
85
|
HTMLAttributes {}
|
|
85
86
|
declare const _default$3: typeof __VLS_export$4;
|
|
86
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
87
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue229.DefineComponent<ScrollAreaRootBaseProps, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {}, string, vue229.PublicProps, Readonly<ScrollAreaRootBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, false, {}, any>, {
|
|
87
88
|
default?: (props: {}) => any;
|
|
88
89
|
}>;
|
|
89
90
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -102,7 +103,7 @@ interface ScrollAreaRootProviderProps extends ScrollAreaRootProviderBaseProps,
|
|
|
102
103
|
*/
|
|
103
104
|
Omit<HTMLAttributes, 'value'> {}
|
|
104
105
|
declare const _default$4: typeof __VLS_export$3;
|
|
105
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
106
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue229.DefineComponent<ScrollAreaRootProviderBaseProps, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {}, string, vue229.PublicProps, Readonly<ScrollAreaRootProviderBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, false, {}, any>, {
|
|
106
107
|
default?: (props: {}) => any;
|
|
107
108
|
}>;
|
|
108
109
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -122,7 +123,7 @@ interface ScrollAreaScrollbarProps extends ScrollAreaScrollbarBaseProps,
|
|
|
122
123
|
*/
|
|
123
124
|
HTMLAttributes {}
|
|
124
125
|
declare const _default$5: typeof __VLS_export$2;
|
|
125
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
126
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue229.DefineComponent<ScrollAreaScrollbarBaseProps, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {}, string, vue229.PublicProps, Readonly<ScrollAreaScrollbarBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, false, {}, any>, {
|
|
126
127
|
default?: (props: {}) => any;
|
|
127
128
|
}>;
|
|
128
129
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -139,7 +140,7 @@ interface ScrollAreaThumbProps extends ScrollAreaThumbBaseProps,
|
|
|
139
140
|
*/
|
|
140
141
|
HTMLAttributes {}
|
|
141
142
|
declare const _default$6: typeof __VLS_export$1;
|
|
142
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
143
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue229.DefineComponent<ScrollAreaThumbBaseProps, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {}, string, vue229.PublicProps, Readonly<ScrollAreaThumbBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, false, {}, any>, {
|
|
143
144
|
default?: (props: {}) => any;
|
|
144
145
|
}>;
|
|
145
146
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -156,7 +157,7 @@ interface ScrollAreaViewportProps extends ScrollAreaViewportBaseProps,
|
|
|
156
157
|
*/
|
|
157
158
|
HTMLAttributes {}
|
|
158
159
|
declare const _default$7: typeof __VLS_export;
|
|
159
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
160
|
+
declare const __VLS_export: __VLS_WithSlots<vue229.DefineComponent<ScrollAreaViewportProps, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {}, string, vue229.PublicProps, Readonly<ScrollAreaViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, false, {}, any>, {
|
|
160
161
|
default?: (props: {}) => any;
|
|
161
162
|
}>;
|
|
162
163
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,11 +3,11 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
6
|
+
import { t as scrollAreaAnatomy } from "../../scroll-area-anatomy-B-FlUOdc.js";
|
|
7
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
8
9
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
10
|
import * as scrollArea from "@sprawlify/primitives/machines/scroll-area";
|
|
10
|
-
import { anatomy as scrollAreaAnatomy } from "@sprawlify/primitives/machines/scroll-area";
|
|
11
11
|
|
|
12
12
|
//#region src/components/scroll-area/use-scroll-area-context.ts
|
|
13
13
|
const [ScrollAreaProvider, useScrollAreaContext] = createContext("ScrollAreaContext");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as segmentGroupAnatomy } from "../../segment-group-anatomy-CNtzx5Yr.js";
|
|
5
|
+
import * as vue2616 from "vue";
|
|
5
6
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
|
-
import * as _sprawlify_primitives_anatomy13 from "@sprawlify/primitives/anatomy";
|
|
7
7
|
import * as segmentGroup from "@sprawlify/primitives/machines/radio-group";
|
|
8
8
|
import { ItemProps, ItemState, ValueChangeDetails, ValueChangeDetails as SegmentGroupValueChangeDetails } from "@sprawlify/primitives/machines/radio-group";
|
|
9
9
|
|
|
@@ -47,7 +47,7 @@ interface SegmentGroupContextProps extends SlotsType<{
|
|
|
47
47
|
default: UnwrapRef<UseSegmentGroupContext>;
|
|
48
48
|
}> {}
|
|
49
49
|
declare const _default: typeof __VLS_export$9;
|
|
50
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
50
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue2616.DefineComponent<{}, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, true, {}, any>, {
|
|
51
51
|
default(segmentGroup: UnwrapRef<UseSegmentGroupContext>): unknown;
|
|
52
52
|
}>;
|
|
53
53
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -64,7 +64,7 @@ interface SegmentGroupIndicatorProps extends SegmentGroupIndicatorBaseProps,
|
|
|
64
64
|
*/
|
|
65
65
|
HTMLAttributes {}
|
|
66
66
|
declare const _default$1: typeof __VLS_export$8;
|
|
67
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
67
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue2616.DefineComponent<SegmentGroupIndicatorProps, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<SegmentGroupIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, false, {}, any>, {
|
|
68
68
|
default?: (props: {}) => any;
|
|
69
69
|
}>;
|
|
70
70
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -81,7 +81,7 @@ interface SegmentGroupItemContextProps extends SlotsType<{
|
|
|
81
81
|
default: UnwrapRef<UseSegmentGroupItemContext>;
|
|
82
82
|
}> {}
|
|
83
83
|
declare const _default$3: typeof __VLS_export$7;
|
|
84
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
84
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue2616.DefineComponent<{}, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, true, {}, any>, {
|
|
85
85
|
default(item: UnwrapRef<UseSegmentGroupItemContext>): unknown;
|
|
86
86
|
}>;
|
|
87
87
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -98,7 +98,7 @@ interface SegmentGroupItemControlProps extends SegmentGroupItemControlBaseProps,
|
|
|
98
98
|
*/
|
|
99
99
|
HTMLAttributes {}
|
|
100
100
|
declare const _default$4: typeof __VLS_export$6;
|
|
101
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
101
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue2616.DefineComponent<SegmentGroupItemControlProps, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<SegmentGroupItemControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, false, {}, any>, {
|
|
102
102
|
default?: (props: {}) => any;
|
|
103
103
|
}>;
|
|
104
104
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -115,7 +115,7 @@ interface SegmentGroupItemHiddenInputProps extends SegmentGroupItemHiddenInputBa
|
|
|
115
115
|
*/
|
|
116
116
|
InputHTMLAttributes {}
|
|
117
117
|
declare const _default$5: typeof __VLS_export$5;
|
|
118
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
118
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2616.DefineComponent<SegmentGroupItemHiddenInputProps, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<SegmentGroupItemHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, false, {}, any>, {
|
|
119
119
|
default?: (props: {}) => any;
|
|
120
120
|
}>;
|
|
121
121
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -132,7 +132,7 @@ interface SegmentGroupItemTextProps extends SegmentGroupItemTextBaseProps,
|
|
|
132
132
|
*/
|
|
133
133
|
HTMLAttributes {}
|
|
134
134
|
declare const _default$6: typeof __VLS_export$4;
|
|
135
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
135
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2616.DefineComponent<SegmentGroupItemTextProps, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<SegmentGroupItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, false, {}, any>, {
|
|
136
136
|
default?: (props: {}) => any;
|
|
137
137
|
}>;
|
|
138
138
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -149,7 +149,7 @@ interface SegmentGroupItemProps extends SegmentGroupItemBaseProps,
|
|
|
149
149
|
*/
|
|
150
150
|
LabelHTMLAttributes {}
|
|
151
151
|
declare const _default$2: typeof __VLS_export$3;
|
|
152
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
152
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2616.DefineComponent<SegmentGroupItemProps, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<SegmentGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, false, {}, any>, {
|
|
153
153
|
default?: (props: {}) => any;
|
|
154
154
|
}>;
|
|
155
155
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -166,7 +166,7 @@ interface SegmentGroupLabelProps extends SegmentGroupLabelBaseProps,
|
|
|
166
166
|
*/
|
|
167
167
|
LabelHTMLAttributes {}
|
|
168
168
|
declare const _default$7: typeof __VLS_export$2;
|
|
169
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
169
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2616.DefineComponent<SegmentGroupLabelProps, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<SegmentGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, false, {}, any>, {
|
|
170
170
|
default?: (props: {}) => any;
|
|
171
171
|
}>;
|
|
172
172
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -186,7 +186,7 @@ interface SegmentGroupRootProviderProps extends SegmentGroupRootProviderBaseProp
|
|
|
186
186
|
*/
|
|
187
187
|
HTMLAttributes {}
|
|
188
188
|
declare const _default$9: typeof __VLS_export$1;
|
|
189
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
189
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2616.DefineComponent<SegmentGroupRootProviderProps, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {}, string, vue2616.PublicProps, Readonly<SegmentGroupRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2616.ComponentProvideOptions, false, {}, any>, {
|
|
190
190
|
default?: (props: {}) => any;
|
|
191
191
|
}>;
|
|
192
192
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -204,16 +204,16 @@ interface SegmentGroupRootProps extends SegmentGroupRootBaseProps,
|
|
|
204
204
|
HTMLAttributes {}
|
|
205
205
|
interface SegmentGroupRootEmits extends RootEmits {}
|
|
206
206
|
declare const _default$8: typeof __VLS_export;
|
|
207
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
208
|
-
"update:modelValue": (value: string | null) => any;
|
|
207
|
+
declare const __VLS_export: __VLS_WithSlots<vue2616.DefineComponent<SegmentGroupRootProps, {}, {}, {}, {}, vue2616.ComponentOptionsMixin, vue2616.ComponentOptionsMixin, {
|
|
209
208
|
valueChange: (details: segmentGroup.ValueChangeDetails) => any;
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
"update:modelValue": (value: string | null) => any;
|
|
210
|
+
}, string, vue2616.PublicProps, Readonly<SegmentGroupRootProps> & Readonly<{
|
|
212
211
|
onValueChange?: ((details: segmentGroup.ValueChangeDetails) => any) | undefined;
|
|
212
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
213
213
|
}>, {
|
|
214
214
|
disabled: boolean;
|
|
215
215
|
readOnly: boolean;
|
|
216
|
-
}, {}, {}, {}, string,
|
|
216
|
+
}, {}, {}, {}, string, vue2616.ComponentProvideOptions, false, {}, any>, {
|
|
217
217
|
default?: (props: {}) => any;
|
|
218
218
|
}>;
|
|
219
219
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -221,9 +221,6 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
221
221
|
$slots: S;
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
|
-
//#endregion
|
|
225
|
-
//#region src/components/segment-group/segment-group-anatomy.d.ts
|
|
226
|
-
declare const segmentGroupAnatomy: _sprawlify_primitives_anatomy13.Anatomy<"label" | "root" | "item" | "indicator" | "itemControl" | "itemText">;
|
|
227
224
|
declare namespace segment_group_d_exports {
|
|
228
225
|
export { _default as Context, SegmentGroupContextProps as ContextProps, _default$1 as Indicator, SegmentGroupIndicatorBaseProps as IndicatorBaseProps, SegmentGroupIndicatorProps as IndicatorProps, _default$2 as Item, SegmentGroupItemBaseProps as ItemBaseProps, _default$3 as ItemContext, SegmentGroupItemContextProps as ItemContextProps, _default$4 as ItemControl, SegmentGroupItemControlBaseProps as ItemControlBaseProps, SegmentGroupItemControlProps as ItemControlProps, _default$5 as ItemHiddenInput, SegmentGroupItemHiddenInputBaseProps as ItemHiddenInputBaseProps, SegmentGroupItemHiddenInputProps as ItemHiddenInputProps, SegmentGroupItemProps as ItemProps, _default$6 as ItemText, SegmentGroupItemTextBaseProps as ItemTextBaseProps, SegmentGroupItemTextProps as ItemTextProps, _default$7 as Label, SegmentGroupLabelBaseProps as LabelBaseProps, SegmentGroupLabelProps as LabelProps, _default$8 as Root, SegmentGroupRootBaseProps as RootBaseProps, SegmentGroupRootEmits as RootEmits, SegmentGroupRootProps as RootProps, _default$9 as RootProvider, SegmentGroupRootProviderBaseProps as RootProviderBaseProps, SegmentGroupRootProviderProps as RootProviderProps, ValueChangeDetails };
|
|
229
226
|
}
|
|
@@ -3,11 +3,11 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
6
|
+
import { n as segmentGroupAnatomy, t as parts } from "../../segment-group-anatomy-CPdu1efW.js";
|
|
7
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
8
9
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
10
|
import * as segmentGroup from "@sprawlify/primitives/machines/radio-group";
|
|
10
|
-
import { anatomy } from "@sprawlify/primitives/machines/radio-group";
|
|
11
11
|
|
|
12
12
|
//#region src/components/segment-group/use-segment-group-context.ts
|
|
13
13
|
const [SegmentGroupProvider, useSegmentGroupContext] = createContext("SegmentGroupContext");
|
|
@@ -28,11 +28,6 @@ var segment_group_context_vue_vue_type_script_setup_true_lang_default = /* @__PU
|
|
|
28
28
|
//#region src/components/segment-group/segment-group-context.vue
|
|
29
29
|
var segment_group_context_default = segment_group_context_vue_vue_type_script_setup_true_lang_default;
|
|
30
30
|
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/components/segment-group/segment-group-anatomy.ts
|
|
33
|
-
const segmentGroupAnatomy = anatomy.rename("segment-group");
|
|
34
|
-
const parts = segmentGroupAnatomy.build();
|
|
35
|
-
|
|
36
31
|
//#endregion
|
|
37
32
|
//#region src/components/segment-group/segment-group-indicator.vue?vue&type=script&setup=true&lang.ts
|
|
38
33
|
var segment_group_indicator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|