@sprawlify/vue 0.0.74 → 0.0.76
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/carousel-anatomy-CS3XZbw0.d.ts +6 -0
- package/dist/checkbox-anatomy-BzXdprCY.d.ts +6 -0
- package/dist/{collapsible-kw6uns8K.js → collapsible-fQ2-Jeml.js} +1 -1
- package/dist/{color-picker-anatomy-C18pJhHu.d.ts → color-picker-anatomy-Jhiag8cb.d.ts} +2 -2
- package/dist/combobox-anatomy-Bmc1BlRe.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +19 -19
- package/dist/components/accordion/index.js +5 -4
- package/dist/components/anatomy.d.ts +52 -50
- package/dist/components/anatomy.js +17 -15
- package/dist/components/angle-slider/index.d.ts +17 -17
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/aspect-ratio/index.d.ts +97 -0
- package/dist/components/aspect-ratio/index.js +152 -0
- package/dist/components/avatar/index.d.ts +12 -12
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +23 -23
- package/dist/components/bottom-sheet/index.js +4 -4
- package/dist/components/carousel/index.d.ts +20 -20
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.d.ts +20 -20
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +16 -16
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/collapsible/index.d.ts +14 -14
- package/dist/components/collapsible/index.js +2 -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 +53 -53
- package/dist/components/color-picker/index.js +4 -4
- package/dist/components/combobox/index.d.ts +36 -36
- package/dist/components/combobox/index.js +5 -5
- package/dist/components/date-picker/index.d.ts +44 -44
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/dialog/index.d.ts +36 -36
- package/dist/components/dialog/index.js +3 -3
- 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 +27 -27
- package/dist/components/editable/index.js +2 -2
- package/dist/components/field/index.d.ts +24 -24
- package/dist/components/field/index.js +2 -2
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/fieldset/index.js +2 -2
- package/dist/components/file-upload/index.d.ts +26 -26
- package/dist/components/file-upload/index.js +2 -2
- package/dist/components/floating-panel/index.d.ts +27 -28
- package/dist/components/floating-panel/index.js +2 -2
- package/dist/components/focus-trap/index.d.ts +5 -5
- package/dist/components/focus-trap/index.js +1 -1
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/hover-card/index.d.ts +26 -26
- package/dist/components/hover-card/index.js +3 -3
- package/dist/components/image-cropper/index.d.ts +15 -15
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/json-tree-view/index.d.ts +10 -10
- package/dist/components/json-tree-view/index.js +7 -6
- package/dist/components/listbox/index.d.ts +23 -23
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/marquee/index.d.ts +25 -25
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/menu/index.d.ts +49 -49
- package/dist/components/menu/index.js +3 -3
- package/dist/components/navigation-menu/index.d.ts +21 -21
- package/dist/components/navigation-menu/index.js +3 -3
- package/dist/components/number-input/index.d.ts +21 -21
- package/dist/components/number-input/index.js +2 -2
- package/dist/components/pagination/index.d.ts +16 -16
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.d.ts +25 -25
- package/dist/components/password-input/index.js +2 -2
- package/dist/components/pin-input/index.d.ts +19 -19
- package/dist/components/pin-input/index.js +2 -2
- package/dist/components/popover/index.d.ts +39 -39
- package/dist/components/popover/index.js +3 -3
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +2 -2
- package/dist/components/progress/index.d.ts +16 -16
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +12 -12
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.d.ts +18 -18
- package/dist/components/radio-group/index.js +3 -3
- package/dist/components/rating-group/index.d.ts +16 -16
- package/dist/components/rating-group/index.js +2 -2
- package/dist/components/scroll-area/index.d.ts +13 -13
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.d.ts +17 -17
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.d.ts +37 -37
- package/dist/components/select/index.js +5 -5
- package/dist/components/separator/index.d.ts +81 -0
- package/dist/components/separator/index.js +135 -0
- package/dist/components/signature-pad/index.d.ts +17 -17
- package/dist/components/signature-pad/index.js +3 -3
- package/dist/components/slider/index.d.ts +22 -22
- package/dist/components/slider/index.js +2 -2
- package/dist/components/splitter/index.d.ts +13 -13
- package/dist/components/splitter/index.js +2 -2
- package/dist/components/steps/index.d.ts +21 -21
- package/dist/components/steps/index.js +2 -2
- package/dist/components/switch/index.d.ts +15 -15
- package/dist/components/switch/index.js +3 -3
- package/dist/components/tabs/index.d.ts +17 -17
- package/dist/components/tabs/index.js +4 -4
- package/dist/components/tags-input/index.d.ts +30 -30
- package/dist/components/tags-input/index.js +3 -3
- package/dist/components/timer/index.d.ts +15 -15
- package/dist/components/timer/index.js +2 -2
- package/dist/components/toast/index.d.ts +12 -12
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toggle/index.d.ts +10 -10
- package/dist/components/toggle/index.js +2 -2
- package/dist/components/toggle-group/index.d.ts +11 -11
- package/dist/components/toggle-group/index.js +2 -2
- package/dist/components/tooltip/index.d.ts +20 -20
- package/dist/components/tooltip/index.js +4 -4
- package/dist/components/tour/index.d.ts +32 -32
- package/dist/components/tour/index.js +4 -4
- package/dist/components/tree-view/index.d.ts +6 -6
- package/dist/components/tree-view/index.js +7 -6
- package/dist/date-picker-anatomy-BbgOfc-T.d.ts +6 -0
- package/dist/{field-C6iB3Tje.js → field-C8hrCSpZ.js} +1 -1
- package/dist/field-anatomy-BudQLO5P.d.ts +6 -0
- package/dist/{fieldset-B1bn9yHW.js → fieldset-FlcFnfDX.js} +1 -1
- package/dist/fieldset-anatomy-BHRTGd-X.d.ts +6 -0
- package/dist/image-cropper-anatomy-D2maeqoK.d.ts +6 -0
- package/dist/{index-CKLWua9t.d.ts → index-B2hCTOPN.d.ts} +30 -30
- package/dist/{index-DLfVD7U5.d.ts → index-CcIkwU2l.d.ts} +9 -9
- package/dist/{index-_AirUBz0.d.ts → index-Xh0TkLb6.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/listbox-anatomy-DsiGF3rU.d.ts +6 -0
- package/dist/{presence-Byk0B_Vq.js → presence-B50UYKDY.js} +1 -1
- package/dist/{segment-group-anatomy-CNtzx5Yr.d.ts → segment-group-anatomy-5X5sF6bU.d.ts} +1 -1
- package/dist/separator-anatomy-C9bGchxg.js +3 -0
- package/dist/separator-anatomy-Cyw-DWpB.d.ts +2 -0
- package/dist/{tour-anatomy-CgFQsxyi.d.ts → tour-anatomy-Cx59yoXC.d.ts} +1 -1
- package/dist/{tree-view-BBC0paRq.js → tree-view--stP9jty.js} +4 -4
- package/package.json +6 -2
- package/dist/carousel-anatomy-CP646ljY.d.ts +0 -6
- package/dist/checkbox-anatomy-DGrjF6ri.d.ts +0 -6
- package/dist/combobox-anatomy-CwdkDJPn.d.ts +0 -6
- package/dist/date-picker-anatomy-B3KhAu53.d.ts +0 -6
- package/dist/field-anatomy-meDug-96.d.ts +0 -6
- package/dist/fieldset-anatomy-BENizr4L.d.ts +0 -6
- package/dist/image-cropper-anatomy-Q-TC-Ntz.d.ts +0 -6
- package/dist/listbox-anatomy-CHgk_go8.d.ts +0 -6
- /package/dist/{accordion-anatomy-rCL5aWqn.d.ts → accordion-anatomy-Bxs15n6t.d.ts} +0 -0
- /package/dist/{angle-slider-anatomy-Dx77gXPi.d.ts → angle-slider-anatomy-4JLhdGMa.d.ts} +0 -0
- /package/dist/{avatar-anatomy-DqwdmVib.d.ts → avatar-anatomy-DRst-MIc.d.ts} +0 -0
- /package/dist/{boolean-L5YmbZkb.js → boolean-DRNklbLz.js} +0 -0
- /package/dist/{bottom-sheet-anatomy-CATwdEhi.d.ts → bottom-sheet-anatomy-DUXumYfR.d.ts} +0 -0
- /package/dist/{clipboard-anatomy-BtxJPw4p.d.ts → clipboard-anatomy-BOEGNpiY.d.ts} +0 -0
- /package/dist/{collapsible-anatomy-C-2X58M2.d.ts → collapsible-anatomy-DxiuORza.d.ts} +0 -0
- /package/dist/{collection-BHgAE3BH.js → collection-CBh5p7A_.js} +0 -0
- /package/dist/{create-split-props-BQ6yvpdF.js → create-split-props-D8oe6Rby.js} +0 -0
- /package/dist/{dialog-anatomy--8BPzYvc.d.ts → dialog-anatomy-ByMvuBxr.d.ts} +0 -0
- /package/dist/{editable-anatomy-qX6giV4Y.d.ts → editable-anatomy-D7zUtMKW.d.ts} +0 -0
- /package/dist/{factory-D5HMCjkS.d.ts → factory-n7N-L7_o.d.ts} +0 -0
- /package/dist/{factory-DxZQviAU.js → factory-xNPol80p.js} +0 -0
- /package/dist/{file-upload-anatomy-BFGZTW-d.d.ts → file-upload-anatomy-DdLNgaPz.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-aRL0nEuA.d.ts → floating-panel-anatomy-DwkXF2tr.d.ts} +0 -0
- /package/dist/{hover-card-anatomy-BL8G0P5L.d.ts → hover-card-anatomy-CTX5TEi3.d.ts} +0 -0
- /package/dist/{index-DmKzfNVe.d.ts → index-BJ8mRK6a.d.ts} +0 -0
- /package/dist/{index-e9UjgIag.d.ts → index-FXQujPvZ.d.ts} +0 -0
- /package/dist/{marquee-anatomy-BSMR6X4B.d.ts → marquee-anatomy-CS5BoKG3.d.ts} +0 -0
- /package/dist/{menu-anatomy-2i8La6ak.d.ts → menu-anatomy-DcjSKaK6.d.ts} +0 -0
- /package/dist/{navigation-menu-anatomy-kSlLw4EL.d.ts → navigation-menu-anatomy-bvfS7a-6.d.ts} +0 -0
- /package/dist/{number-input-anatomy-BrKnd1U3.d.ts → number-input-anatomy-BEL1Q-ZK.d.ts} +0 -0
- /package/dist/{pagination-anatomy-NpCn-mYm.d.ts → pagination-anatomy-xc9Fxt__.d.ts} +0 -0
- /package/dist/{password-input-anatomy-BJPXSE6T.d.ts → password-input-anatomy-CQFdYR2z.d.ts} +0 -0
- /package/dist/{pin-input-anatomy-OckZj-cF.d.ts → pin-input-anatomy-nRaqyCV2.d.ts} +0 -0
- /package/dist/{popover-anatomy-Ce31QPso.d.ts → popover-anatomy-Cwp8_2Po.d.ts} +0 -0
- /package/dist/{presence-types-CaUy1bPc.d.ts → presence-types-CC57eEhO.d.ts} +0 -0
- /package/dist/{progress-anatomy-DUD4W7vg.d.ts → progress-anatomy-BubUhrtU.d.ts} +0 -0
- /package/dist/{qr-code-anatomy-Dmh5IV3m.d.ts → qr-code-anatomy-DKYQO_yO.d.ts} +0 -0
- /package/dist/{radio-group-anatomy-CXwS1OoR.d.ts → radio-group-anatomy-CiNL4B5J.d.ts} +0 -0
- /package/dist/{rating-group-anatomy-DMTutKxa.d.ts → rating-group-anatomy-DEi1Omvv.d.ts} +0 -0
- /package/dist/{scroll-area-anatomy-Cxkrq_al.d.ts → scroll-area-anatomy-CefzWgS5.d.ts} +0 -0
- /package/dist/{select-anatomy-Elu3b3Op.d.ts → select-anatomy-BLK5Kq84.d.ts} +0 -0
- /package/dist/{signature-pad-anatomy-Mz3w_i5B.js → signature-pad-anatomy-CoeXwoDo.js} +0 -0
- /package/dist/{signature-pad-anatomy-B-OK1170.d.ts → signature-pad-anatomy-ZbCDnYGZ.d.ts} +0 -0
- /package/dist/{slider-anatomy-Ctfd4geR.d.ts → slider-anatomy-BMTjqedI.d.ts} +0 -0
- /package/dist/{slider-anatomy-3KpCBnz3.js → slider-anatomy-D1MIQawS.js} +0 -0
- /package/dist/{splitter-anatomy-CN7s6WdQ.d.ts → splitter-anatomy-Bb-vdY9S.d.ts} +0 -0
- /package/dist/{splitter-anatomy-D2RNa-hA.js → splitter-anatomy-mbvD9KMw.js} +0 -0
- /package/dist/{steps-anatomy-DrtAi5Mk.d.ts → steps-anatomy-CMM7Zciy.d.ts} +0 -0
- /package/dist/{steps-anatomy-CSfgiyVI.js → steps-anatomy-DL1kFLaW.js} +0 -0
- /package/dist/{switch-anatomy-DDL1v5Fs.js → switch-anatomy-C_MAURJE.js} +0 -0
- /package/dist/{switch-anatomy-Z4qGqnte.d.ts → switch-anatomy-Dmg0RYjh.d.ts} +0 -0
- /package/dist/{tabs-anatomy-BL3YLH_t.d.ts → tabs-anatomy-CgXloO7s.d.ts} +0 -0
- /package/dist/{tabs-anatomy-DlQHg-E8.js → tabs-anatomy-DF_ekPnt.js} +0 -0
- /package/dist/{tags-input-anatomy-AHepxK3s.d.ts → tags-input-anatomy-C0HLrulm.d.ts} +0 -0
- /package/dist/{tags-input-anatomy-DYSi98Bx.js → tags-input-anatomy-Dpn_Smms.js} +0 -0
- /package/dist/{timer-anatomy-C9bTbrUf.js → timer-anatomy-BF3_7vbc.js} +0 -0
- /package/dist/{timer-anatomy-Be-Fa71t.d.ts → timer-anatomy-D0Ey9n_K.d.ts} +0 -0
- /package/dist/{toast-anatomy-CssUp7TT.js → toast-anatomy-BHDNHkvU.js} +0 -0
- /package/dist/{toast-anatomy-_k_zeUjw.d.ts → toast-anatomy-DHifYWal.d.ts} +0 -0
- /package/dist/{toggle-anatomy-D8XJQLnW.js → toggle-anatomy-B79YArNR.js} +0 -0
- /package/dist/{toggle-anatomy-DFzkjtVR.d.ts → toggle-anatomy-BVLEnnrv.d.ts} +0 -0
- /package/dist/{toggle-group-anatomy-L0_56E8r.d.ts → toggle-group-anatomy-BpV0-6Xe.d.ts} +0 -0
- /package/dist/{toggle-group-anatomy-DD8PvB75.js → toggle-group-anatomy-CFLq6ia_.js} +0 -0
- /package/dist/{tooltip-anatomy-jbsTMGov.d.ts → tooltip-anatomy-BlxUQUEe.d.ts} +0 -0
- /package/dist/{tooltip-anatomy-CPw1wOXd.js → tooltip-anatomy-D6lPF-Wq.js} +0 -0
- /package/dist/{tour-anatomy-CDmnjoPR.js → tour-anatomy-Cg6ZDDuV.js} +0 -0
- /package/dist/{tree-view-anatomy-BW_ruJ-g.js → tree-view-anatomy--Ft8ROVn.js} +0 -0
- /package/dist/{tree-view-anatomy-BM2MLpUa.d.ts → tree-view-anatomy-zTRJrcH9.d.ts} +0 -0
- /package/dist/{types-DVbnnQPS.d.ts → types-D_fjXif6.d.ts} +0 -0
- /package/dist/{use-render-strategy-Bx4OiQlo.js → use-render-strategy-3G0_HWbg.js} +0 -0
- /package/dist/{use-render-strategy-DsagWQCm.d.ts → use-render-strategy-CEbMLMD1.d.ts} +0 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
3
|
+
import { c as useEnvironmentContext, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
|
+
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
|
+
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-xNPol80p.js";
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
8
|
+
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
|
+
import * as aspectRatio from "@sprawlify/primitives/machines/aspect-ratio";
|
|
10
|
+
|
|
11
|
+
//#region src/components/aspect-ratio/use-aspect-ratio-context.ts
|
|
12
|
+
const [AspectRatioProvider, useAspectRatioContext] = createContext("AspectRatioContext");
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/components/aspect-ratio/aspect-ratio-context.vue?vue&type=script&setup=true&lang.ts
|
|
16
|
+
var aspect_ratio_context_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
17
|
+
__name: "aspect-ratio-context",
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const aspectRatio = useAspectRatioContext();
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(aspectRatio))));
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/aspect-ratio/aspect-ratio-context.vue
|
|
28
|
+
var aspect_ratio_context_default = aspect_ratio_context_vue_vue_type_script_setup_true_lang_default;
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/aspect-ratio/aspect-ratio-content.vue?vue&type=script&setup=true&lang.ts
|
|
32
|
+
var aspect_ratio_content_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
33
|
+
__name: "aspect-ratio-content",
|
|
34
|
+
props: { asChild: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
required: false
|
|
37
|
+
} },
|
|
38
|
+
setup(__props) {
|
|
39
|
+
const aspectRatio = useAspectRatioContext();
|
|
40
|
+
useForwardExpose();
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(aspectRatio).getContentProps(), { "as-child": __props.asChild }), {
|
|
43
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
44
|
+
_: 3
|
|
45
|
+
}, 16, ["as-child"]);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/components/aspect-ratio/aspect-ratio-content.vue
|
|
52
|
+
var aspect_ratio_content_default = aspect_ratio_content_vue_vue_type_script_setup_true_lang_default;
|
|
53
|
+
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/components/aspect-ratio/use-aspect-ratio.ts
|
|
56
|
+
const useAspectRatio = (props = {}) => {
|
|
57
|
+
const id = useId();
|
|
58
|
+
const env = useEnvironmentContext(DEFAULT_ENVIRONMENT);
|
|
59
|
+
const context = computed(() => {
|
|
60
|
+
const localProps = toValue(props);
|
|
61
|
+
return {
|
|
62
|
+
id,
|
|
63
|
+
getRootNode: env?.value.getRootNode,
|
|
64
|
+
...cleanProps(localProps)
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
const service = useMachine(aspectRatio.machine, context);
|
|
68
|
+
return computed(() => aspectRatio.connect(service, normalizeProps$1));
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/components/aspect-ratio/aspect-ratio-root.vue?vue&type=script&setup=true&lang.ts
|
|
73
|
+
var aspect_ratio_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
74
|
+
__name: "aspect-ratio-root",
|
|
75
|
+
props: {
|
|
76
|
+
id: {
|
|
77
|
+
type: String,
|
|
78
|
+
required: false
|
|
79
|
+
},
|
|
80
|
+
ids: {
|
|
81
|
+
type: Object,
|
|
82
|
+
required: false
|
|
83
|
+
},
|
|
84
|
+
ratio: {
|
|
85
|
+
type: null,
|
|
86
|
+
required: false
|
|
87
|
+
},
|
|
88
|
+
asChild: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
required: false
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
setup(__props) {
|
|
94
|
+
const aspectRatio = useAspectRatio(__props);
|
|
95
|
+
AspectRatioProvider(aspectRatio);
|
|
96
|
+
useForwardExpose();
|
|
97
|
+
return (_ctx, _cache) => {
|
|
98
|
+
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(aspectRatio).getRootProps(), { "as-child": __props.asChild }), {
|
|
99
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
100
|
+
_: 3
|
|
101
|
+
}, 16, ["as-child"]);
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region src/components/aspect-ratio/aspect-ratio-root.vue
|
|
108
|
+
var aspect_ratio_root_default = aspect_ratio_root_vue_vue_type_script_setup_true_lang_default;
|
|
109
|
+
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/components/aspect-ratio/aspect-ratio-root-provider.vue?vue&type=script&setup=true&lang.ts
|
|
112
|
+
var aspect_ratio_root_provider_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
113
|
+
__name: "aspect-ratio-root-provider",
|
|
114
|
+
props: {
|
|
115
|
+
value: {
|
|
116
|
+
type: null,
|
|
117
|
+
required: true
|
|
118
|
+
},
|
|
119
|
+
asChild: {
|
|
120
|
+
type: Boolean,
|
|
121
|
+
required: false
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
setup(__props) {
|
|
125
|
+
const props = __props;
|
|
126
|
+
const aspectRatio = computed(() => props.value);
|
|
127
|
+
AspectRatioProvider(aspectRatio);
|
|
128
|
+
useForwardExpose();
|
|
129
|
+
return (_ctx, _cache) => {
|
|
130
|
+
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(aspectRatio.value.getRootProps(), { "as-child": __props.asChild }), {
|
|
131
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
132
|
+
_: 3
|
|
133
|
+
}, 16, ["as-child"]);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/components/aspect-ratio/aspect-ratio-root-provider.vue
|
|
140
|
+
var aspect_ratio_root_provider_default = aspect_ratio_root_provider_vue_vue_type_script_setup_true_lang_default;
|
|
141
|
+
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/components/aspect-ratio/aspect-ratio.ts
|
|
144
|
+
var aspect_ratio_exports = /* @__PURE__ */ __exportAll({
|
|
145
|
+
Content: () => aspect_ratio_content_default,
|
|
146
|
+
Context: () => aspect_ratio_context_default,
|
|
147
|
+
Root: () => aspect_ratio_root_default,
|
|
148
|
+
RootProvider: () => aspect_ratio_root_provider_default
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
//#endregion
|
|
152
|
+
export { aspect_ratio_exports as AspectRatio, aspect_ratio_content_default as AspectRatioContent, aspect_ratio_context_default as AspectRatioContext, aspect_ratio_root_default as AspectRatioRoot, aspect_ratio_root_provider_default as AspectRatioRootProvider, useAspectRatio, useAspectRatioContext };
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { t as avatarAnatomy } from "../../avatar-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-D_fjXif6.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-BJ8mRK6a.js";
|
|
4
|
+
import { t as avatarAnatomy } from "../../avatar-anatomy-DRst-MIc.js";
|
|
5
|
+
import * as vue1625 from "vue";
|
|
6
6
|
import { ComputedRef, HTMLAttributes, ImgHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
7
|
import * as avatar from "@sprawlify/primitives/machines/avatar";
|
|
8
8
|
import { StatusChangeDetails, StatusChangeDetails as AvatarStatusChangeDetails } from "@sprawlify/primitives/machines/avatar";
|
|
@@ -33,7 +33,7 @@ interface AvatarContextProps extends SlotsType<{
|
|
|
33
33
|
default: UnwrapRef<UseAvatarContext>;
|
|
34
34
|
}> {}
|
|
35
35
|
declare const _default: typeof __VLS_export$4;
|
|
36
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<
|
|
36
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<vue1625.DefineComponent<{}, {}, {}, {}, {}, vue1625.ComponentOptionsMixin, vue1625.ComponentOptionsMixin, {}, string, vue1625.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1625.ComponentProvideOptions, true, {}, any>, {
|
|
37
37
|
default(avatar: UnwrapRef<UseAvatarContext>): unknown;
|
|
38
38
|
}>;
|
|
39
39
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -50,7 +50,7 @@ interface AvatarFallbackProps extends AvatarFallbackBaseProps,
|
|
|
50
50
|
*/
|
|
51
51
|
HTMLAttributes {}
|
|
52
52
|
declare const _default$1: typeof __VLS_export$3;
|
|
53
|
-
declare const __VLS_export$3: __VLS_WithSlots$2<
|
|
53
|
+
declare const __VLS_export$3: __VLS_WithSlots$2<vue1625.DefineComponent<AvatarFallbackProps, {}, {}, {}, {}, vue1625.ComponentOptionsMixin, vue1625.ComponentOptionsMixin, {}, string, vue1625.PublicProps, Readonly<AvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1625.ComponentProvideOptions, false, {}, any>, {
|
|
54
54
|
default?: (props: {}) => any;
|
|
55
55
|
}>;
|
|
56
56
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -67,7 +67,7 @@ interface AvatarImageProps extends AvatarImageBaseProps,
|
|
|
67
67
|
*/
|
|
68
68
|
ImgHTMLAttributes {}
|
|
69
69
|
declare const _default$2: typeof __VLS_export$2;
|
|
70
|
-
declare const __VLS_export$2:
|
|
70
|
+
declare const __VLS_export$2: vue1625.DefineComponent<AvatarImageProps, {}, {}, {}, {}, vue1625.ComponentOptionsMixin, vue1625.ComponentOptionsMixin, {}, string, vue1625.PublicProps, Readonly<AvatarImageProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1625.ComponentProvideOptions, false, {}, any>;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/components/avatar/avatar-root.vue.d.ts
|
|
73
73
|
interface AvatarRootBaseProps extends RootProps, PolymorphicProps {}
|
|
@@ -78,11 +78,11 @@ interface AvatarRootProps extends AvatarRootBaseProps,
|
|
|
78
78
|
HTMLAttributes {}
|
|
79
79
|
interface AvatarRootEmits extends RootEmits {}
|
|
80
80
|
declare const _default$3: typeof __VLS_export$1;
|
|
81
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
81
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1625.DefineComponent<AvatarRootProps, {}, {}, {}, {}, vue1625.ComponentOptionsMixin, vue1625.ComponentOptionsMixin, {
|
|
82
82
|
statusChange: (details: avatar.StatusChangeDetails) => any;
|
|
83
|
-
}, string,
|
|
83
|
+
}, string, vue1625.PublicProps, Readonly<AvatarRootProps> & Readonly<{
|
|
84
84
|
onStatusChange?: ((details: avatar.StatusChangeDetails) => any) | undefined;
|
|
85
|
-
}>, {}, {}, {}, {}, string,
|
|
85
|
+
}>, {}, {}, {}, {}, string, vue1625.ComponentProvideOptions, false, {}, any>, {
|
|
86
86
|
default?: (props: {}) => any;
|
|
87
87
|
}>;
|
|
88
88
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -102,7 +102,7 @@ interface AvatarRootProviderProps extends AvatarRootProviderBaseProps,
|
|
|
102
102
|
*/
|
|
103
103
|
HTMLAttributes {}
|
|
104
104
|
declare const _default$4: typeof __VLS_export;
|
|
105
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
105
|
+
declare const __VLS_export: __VLS_WithSlots<vue1625.DefineComponent<AvatarRootProviderProps, {}, {}, {}, {}, vue1625.ComponentOptionsMixin, vue1625.ComponentOptionsMixin, {}, string, vue1625.PublicProps, Readonly<AvatarRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1625.ComponentProvideOptions, false, {}, any>, {
|
|
106
106
|
default?: (props: {}) => any;
|
|
107
107
|
}>;
|
|
108
108
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,7 +4,7 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as avatarAnatomy } from "../../avatar-anatomy-DkaRck8U.js";
|
|
7
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
+
import { t as sprawlify } from "../../factory-xNPol80p.js";
|
|
8
8
|
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
9
9
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
10
10
|
import * as avatar from "@sprawlify/primitives/machines/avatar";
|
|
@@ -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 { t as RenderStrategyProps } from "../../use-render-strategy-
|
|
5
|
-
import { t as bottomSheetAnatomy } from "../../bottom-sheet-anatomy-
|
|
6
|
-
import * as
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-D_fjXif6.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-BJ8mRK6a.js";
|
|
4
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-CEbMLMD1.js";
|
|
5
|
+
import { t as bottomSheetAnatomy } from "../../bottom-sheet-anatomy-DUXumYfR.js";
|
|
6
|
+
import * as vue1295 from "vue";
|
|
7
7
|
import { ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
8
|
import * as bottomSheet from "@sprawlify/primitives/machines/bottom-sheet";
|
|
9
9
|
import { ContentProps, OpenChangeDetails, OpenChangeDetails as BottomSheetOpenChangeDetails } from "@sprawlify/primitives/machines/bottom-sheet";
|
|
@@ -16,7 +16,7 @@ interface BottomSheetBackdropProps extends BottomSheetBackdropBaseProps,
|
|
|
16
16
|
*/
|
|
17
17
|
HTMLAttributes {}
|
|
18
18
|
declare const _default: typeof __VLS_export$9;
|
|
19
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
19
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue1295.DefineComponent<BottomSheetBackdropProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<BottomSheetBackdropProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
20
20
|
default?: (props: {}) => any;
|
|
21
21
|
}>;
|
|
22
22
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -33,7 +33,7 @@ interface BottomSheetCloseTriggerProps extends BottomSheetCloseTriggerBaseProps,
|
|
|
33
33
|
*/
|
|
34
34
|
HTMLAttributes {}
|
|
35
35
|
declare const _default$1: typeof __VLS_export$8;
|
|
36
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
36
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue1295.DefineComponent<BottomSheetCloseTriggerProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<BottomSheetCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
37
37
|
default?: (props: {}) => any;
|
|
38
38
|
}>;
|
|
39
39
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -50,9 +50,9 @@ interface BottomSheetContentProps extends BottomSheetContentBaseProps,
|
|
|
50
50
|
*/
|
|
51
51
|
Omit<HTMLAttributes, 'draggable'> {}
|
|
52
52
|
declare const _default$2: typeof __VLS_export$7;
|
|
53
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
53
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue1295.DefineComponent<BottomSheetContentProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<BottomSheetContentProps> & Readonly<{}>, {
|
|
54
54
|
draggable: boolean;
|
|
55
|
-
}, {}, {}, {}, string,
|
|
55
|
+
}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
56
56
|
default?: (props: {}) => any;
|
|
57
57
|
}>;
|
|
58
58
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -110,7 +110,7 @@ interface BottomSheetContextProps extends SlotsType<{
|
|
|
110
110
|
default: UnwrapRef<UseBottomSheetContext>;
|
|
111
111
|
}> {}
|
|
112
112
|
declare const _default$3: typeof __VLS_export$6;
|
|
113
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
113
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1295.DefineComponent<{}, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1295.ComponentProvideOptions, true, {}, any>, {
|
|
114
114
|
default(bottomSheet: UnwrapRef<UseBottomSheetContext>): unknown;
|
|
115
115
|
}>;
|
|
116
116
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -127,7 +127,7 @@ interface BottomSheetGrabberProps extends BottomSheetGrabberBaseProps,
|
|
|
127
127
|
*/
|
|
128
128
|
HTMLAttributes {}
|
|
129
129
|
declare const _default$4: typeof __VLS_export$5;
|
|
130
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
130
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1295.DefineComponent<BottomSheetGrabberProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<BottomSheetGrabberProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
131
131
|
default?: (props: {}) => any;
|
|
132
132
|
}>;
|
|
133
133
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -144,7 +144,7 @@ interface BottomSheetGrabberIndicatorProps extends BottomSheetGrabberIndicatorBa
|
|
|
144
144
|
*/
|
|
145
145
|
HTMLAttributes {}
|
|
146
146
|
declare const _default$5: typeof __VLS_export$4;
|
|
147
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
147
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1295.DefineComponent<BottomSheetGrabberIndicatorProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<BottomSheetGrabberIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
148
148
|
default?: (props: {}) => any;
|
|
149
149
|
}>;
|
|
150
150
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -157,27 +157,27 @@ type __VLS_WithSlots$4<T, S> = T & {
|
|
|
157
157
|
interface BottomSheetRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
158
158
|
interface BottomSheetRootProps extends BottomSheetRootBaseProps {}
|
|
159
159
|
declare const _default$6: typeof __VLS_export$3;
|
|
160
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
160
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1295.DefineComponent<BottomSheetRootProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {
|
|
161
161
|
openChange: (details: bottomSheet.OpenChangeDetails) => any;
|
|
162
162
|
activeSnapPointChange: (details: {
|
|
163
163
|
snapPoint: number | string;
|
|
164
164
|
}) => any;
|
|
165
|
-
}, string,
|
|
165
|
+
}, string, vue1295.PublicProps, Readonly<BottomSheetRootProps> & Readonly<{
|
|
166
166
|
onOpenChange?: ((details: bottomSheet.OpenChangeDetails) => any) | undefined;
|
|
167
167
|
onActiveSnapPointChange?: ((details: {
|
|
168
168
|
snapPoint: number | string;
|
|
169
169
|
}) => any) | undefined;
|
|
170
170
|
}>, {
|
|
171
|
+
closeOnEscape: boolean;
|
|
172
|
+
closeOnInteractOutside: boolean;
|
|
171
173
|
defaultOpen: boolean;
|
|
174
|
+
modal: boolean;
|
|
172
175
|
open: boolean;
|
|
173
|
-
trapFocus: boolean;
|
|
174
176
|
preventScroll: boolean;
|
|
175
|
-
modal: boolean;
|
|
176
177
|
restoreFocus: boolean;
|
|
177
|
-
|
|
178
|
-
closeOnEscape: boolean;
|
|
178
|
+
trapFocus: boolean;
|
|
179
179
|
preventDragOnScroll: boolean;
|
|
180
|
-
}, {}, {}, {}, string,
|
|
180
|
+
}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
181
181
|
default?: (props: {}) => any;
|
|
182
182
|
}>;
|
|
183
183
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -193,7 +193,7 @@ interface RootProviderProps {
|
|
|
193
193
|
interface BottomSheetRootProviderBaseProps extends RootProviderProps, RenderStrategyProps {}
|
|
194
194
|
interface BottomSheetRootProviderProps extends BottomSheetRootProviderBaseProps {}
|
|
195
195
|
declare const _default$7: typeof __VLS_export$2;
|
|
196
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
196
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1295.DefineComponent<BottomSheetRootProviderProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<BottomSheetRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
197
197
|
default?: (props: {}) => any;
|
|
198
198
|
}>;
|
|
199
199
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -210,7 +210,7 @@ interface BottomSheetTitleProps extends BottomSheetTitleBaseProps,
|
|
|
210
210
|
*/
|
|
211
211
|
HTMLAttributes {}
|
|
212
212
|
declare const _default$8: typeof __VLS_export$1;
|
|
213
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
213
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1295.DefineComponent<BottomSheetTitleProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<BottomSheetTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
214
214
|
default?: (props: {}) => any;
|
|
215
215
|
}>;
|
|
216
216
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -227,7 +227,7 @@ interface BottomSheetTriggerProps extends BottomSheetTriggerBaseProps,
|
|
|
227
227
|
*/
|
|
228
228
|
HTMLAttributes {}
|
|
229
229
|
declare const _default$9: typeof __VLS_export;
|
|
230
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
230
|
+
declare const __VLS_export: __VLS_WithSlots<vue1295.DefineComponent<BottomSheetTriggerProps, {}, {}, {}, {}, vue1295.ComponentOptionsMixin, vue1295.ComponentOptionsMixin, {}, string, vue1295.PublicProps, Readonly<BottomSheetTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1295.ComponentProvideOptions, false, {}, any>, {
|
|
231
231
|
default?: (props: {}) => any;
|
|
232
232
|
}>;
|
|
233
233
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -5,11 +5,11 @@ import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
|
5
5
|
import "../../utils-B4FuOOE-.js";
|
|
6
6
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
7
7
|
import { t as bottomSheetAnatomy } from "../../bottom-sheet-anatomy-lHEnPDuf.js";
|
|
8
|
-
import { t as sprawlify } from "../../factory-
|
|
8
|
+
import { t as sprawlify } from "../../factory-xNPol80p.js";
|
|
9
9
|
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
10
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-3G0_HWbg.js";
|
|
11
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-B50UYKDY.js";
|
|
12
|
+
import { t as createSplitProps } from "../../create-split-props-D8oe6Rby.js";
|
|
13
13
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
14
14
|
import * as bottomSheet from "@sprawlify/primitives/machines/bottom-sheet";
|
|
15
15
|
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { t as carouselAnatomy } from "../../carousel-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-D_fjXif6.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-BJ8mRK6a.js";
|
|
4
|
+
import { t as carouselAnatomy } from "../../carousel-anatomy-CS3XZbw0.js";
|
|
5
|
+
import * as vue169 from "vue";
|
|
6
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
7
|
import * as carousel from "@sprawlify/primitives/machines/carousel";
|
|
8
8
|
import { AutoplayStatusDetails, AutoplayStatusDetails as CarouselAutoplayStatusDetails, DragStatusDetails, DragStatusDetails as CarouselDragStatusDetails, IndicatorProps, ItemProps, PageChangeDetails, PageChangeDetails as CarouselPageChangeDetails } from "@sprawlify/primitives/machines/carousel";
|
|
@@ -17,7 +17,7 @@ interface CarouselAutoplayIndicatorProps extends CarouselAutoplayIndicatorBasePr
|
|
|
17
17
|
*/
|
|
18
18
|
HTMLAttributes {}
|
|
19
19
|
declare const _default: typeof __VLS_export$12;
|
|
20
|
-
declare const __VLS_export$12: __VLS_WithSlots$12<
|
|
20
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<vue169.DefineComponent<CarouselAutoplayIndicatorProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselAutoplayIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
} & {
|
|
23
23
|
fallback?: (props: {
|
|
@@ -38,7 +38,7 @@ interface CarouselProgressTextProps extends CarouselProgressTextBaseProps,
|
|
|
38
38
|
*/
|
|
39
39
|
HTMLAttributes {}
|
|
40
40
|
declare const _default$10: typeof __VLS_export$11;
|
|
41
|
-
declare const __VLS_export$11: __VLS_WithSlots$11<
|
|
41
|
+
declare const __VLS_export$11: __VLS_WithSlots$11<vue169.DefineComponent<CarouselProgressTextProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselProgressTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
42
42
|
default?: (props: {}) => any;
|
|
43
43
|
}>;
|
|
44
44
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -55,7 +55,7 @@ interface CarouselAutoplayTriggerProps extends CarouselAutoplayTriggerBaseProps,
|
|
|
55
55
|
*/
|
|
56
56
|
ButtonHTMLAttributes {}
|
|
57
57
|
declare const _default$1: typeof __VLS_export$10;
|
|
58
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<
|
|
58
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<vue169.DefineComponent<CarouselAutoplayTriggerProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselAutoplayTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
59
59
|
default?: (props: {}) => any;
|
|
60
60
|
}>;
|
|
61
61
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -114,7 +114,7 @@ interface CarouselContextProps extends SlotsType<{
|
|
|
114
114
|
default: UnwrapRef<UseCarouselContext>;
|
|
115
115
|
}> {}
|
|
116
116
|
declare const _default$2: typeof __VLS_export$9;
|
|
117
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
117
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue169.DefineComponent<{}, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, true, {}, any>, {
|
|
118
118
|
default(carousel: UnwrapRef<UseCarouselContext>): unknown;
|
|
119
119
|
}>;
|
|
120
120
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -131,7 +131,7 @@ interface CarouselControlProps extends CarouselControlBaseProps,
|
|
|
131
131
|
*/
|
|
132
132
|
HTMLAttributes {}
|
|
133
133
|
declare const _default$3: typeof __VLS_export$8;
|
|
134
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
134
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue169.DefineComponent<CarouselControlProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
135
135
|
default?: (props: {}) => any;
|
|
136
136
|
}>;
|
|
137
137
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -148,7 +148,7 @@ interface CarouselIndicatorGroupProps extends CarouselIndicatorGroupBaseProps,
|
|
|
148
148
|
*/
|
|
149
149
|
HTMLAttributes {}
|
|
150
150
|
declare const _default$5: typeof __VLS_export$7;
|
|
151
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
151
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue169.DefineComponent<CarouselIndicatorGroupProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselIndicatorGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
152
152
|
default?: (props: {}) => any;
|
|
153
153
|
}>;
|
|
154
154
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -165,7 +165,7 @@ interface CarouselIndicatorProps extends CarouselIndicatorBaseProps,
|
|
|
165
165
|
*/
|
|
166
166
|
ButtonHTMLAttributes {}
|
|
167
167
|
declare const _default$4: typeof __VLS_export$6;
|
|
168
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
168
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue169.DefineComponent<CarouselIndicatorProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
169
169
|
default?: (props: {}) => any;
|
|
170
170
|
}>;
|
|
171
171
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -182,7 +182,7 @@ interface CarouselItemGroupProps extends CarouselItemGroupBaseProps,
|
|
|
182
182
|
*/
|
|
183
183
|
HTMLAttributes {}
|
|
184
184
|
declare const _default$7: typeof __VLS_export$5;
|
|
185
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
185
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue169.DefineComponent<CarouselItemGroupProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
186
186
|
default?: (props: {}) => any;
|
|
187
187
|
}>;
|
|
188
188
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -199,7 +199,7 @@ interface CarouselItemProps extends CarouselItemBaseProps,
|
|
|
199
199
|
*/
|
|
200
200
|
HTMLAttributes {}
|
|
201
201
|
declare const _default$6: typeof __VLS_export$4;
|
|
202
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
202
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue169.DefineComponent<CarouselItemProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
203
203
|
default?: (props: {}) => any;
|
|
204
204
|
}>;
|
|
205
205
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -216,7 +216,7 @@ interface CarouselNextTriggerProps extends CarouselNextTriggerBaseProps,
|
|
|
216
216
|
*/
|
|
217
217
|
ButtonHTMLAttributes {}
|
|
218
218
|
declare const _default$8: typeof __VLS_export$3;
|
|
219
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
219
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue169.DefineComponent<CarouselNextTriggerProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselNextTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
220
220
|
default?: (props: {}) => any;
|
|
221
221
|
}>;
|
|
222
222
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -233,7 +233,7 @@ interface CarouselPrevTriggerProps extends CarouselPrevTriggerBaseProps,
|
|
|
233
233
|
*/
|
|
234
234
|
ButtonHTMLAttributes {}
|
|
235
235
|
declare const _default$9: typeof __VLS_export$2;
|
|
236
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
236
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue169.DefineComponent<CarouselPrevTriggerProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselPrevTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
237
237
|
default?: (props: {}) => any;
|
|
238
238
|
}>;
|
|
239
239
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -253,7 +253,7 @@ interface CarouselRootProviderProps extends CarouselRootProviderBaseProps,
|
|
|
253
253
|
*/
|
|
254
254
|
HTMLAttributes {}
|
|
255
255
|
declare const _default$12: typeof __VLS_export$1;
|
|
256
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
256
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue169.DefineComponent<CarouselRootProviderProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<CarouselRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
257
257
|
default?: (props: {}) => any;
|
|
258
258
|
}>;
|
|
259
259
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -271,12 +271,12 @@ interface CarouselRootProps extends CarouselRootBaseProps,
|
|
|
271
271
|
HTMLAttributes {}
|
|
272
272
|
interface CarouselRootEmits extends RootEmits {}
|
|
273
273
|
declare const _default$11: typeof __VLS_export;
|
|
274
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
274
|
+
declare const __VLS_export: __VLS_WithSlots<vue169.DefineComponent<CarouselRootProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {
|
|
275
275
|
autoplayStatusChange: (details: carousel.AutoplayStatusDetails) => any;
|
|
276
276
|
dragStatusChange: (details: carousel.DragStatusDetails) => any;
|
|
277
277
|
pageChange: (details: carousel.PageChangeDetails) => any;
|
|
278
278
|
"update:page": (page: number) => any;
|
|
279
|
-
}, string,
|
|
279
|
+
}, string, vue169.PublicProps, Readonly<CarouselRootProps> & Readonly<{
|
|
280
280
|
onAutoplayStatusChange?: ((details: carousel.AutoplayStatusDetails) => any) | undefined;
|
|
281
281
|
onDragStatusChange?: ((details: carousel.DragStatusDetails) => any) | undefined;
|
|
282
282
|
onPageChange?: ((details: carousel.PageChangeDetails) => any) | undefined;
|
|
@@ -288,7 +288,7 @@ declare const __VLS_export: __VLS_WithSlots<vue429.DefineComponent<CarouselRootP
|
|
|
288
288
|
};
|
|
289
289
|
autoSize: boolean;
|
|
290
290
|
loop: boolean;
|
|
291
|
-
}, {}, {}, {}, string,
|
|
291
|
+
}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>, {
|
|
292
292
|
default?: (props: {}) => any;
|
|
293
293
|
}>;
|
|
294
294
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,7 +4,7 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as carouselAnatomy } from "../../carousel-anatomy-Dozyhz87.js";
|
|
7
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
+
import { t as sprawlify } from "../../factory-xNPol80p.js";
|
|
8
8
|
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
9
9
|
import { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toDisplayString, toValue, unref, useId, withCtx } from "vue";
|
|
10
10
|
import * as carousel from "@sprawlify/primitives/machines/carousel";
|