@sprawlify/vue 0.0.67 → 0.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/boolean-CpMsIRK4.js +7 -0
- package/dist/{collapsible-DQfAISmg.js → collapsible-jX9S7WYj.js} +5 -4
- package/dist/{collection-Ba0Aeh5P.js → collection-DGKjEgOz.js} +1 -1
- package/dist/components/accordion/index.d.ts +19 -19
- package/dist/components/accordion/index.js +8 -7
- package/dist/components/angle-slider/index.d.ts +18 -18
- package/dist/components/angle-slider/index.js +5 -4
- package/dist/components/avatar/index.d.ts +11 -11
- package/dist/components/avatar/index.js +5 -4
- package/dist/components/bottom-sheet/index.d.ts +22 -22
- package/dist/components/bottom-sheet/index.js +8 -7
- package/dist/components/carousel/index.d.ts +25 -25
- package/dist/components/carousel/index.js +5 -4
- package/dist/components/checkbox/index.d.ts +27 -27
- package/dist/components/checkbox/index.js +8 -12
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +17 -17
- package/dist/components/clipboard/index.js +5 -4
- package/dist/components/collapsible/index.d.ts +16 -16
- package/dist/components/collapsible/index.js +5 -4
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +56 -56
- package/dist/components/color-picker/index.js +8 -7
- package/dist/components/combobox/index.d.ts +38 -38
- package/dist/components/combobox/index.js +9 -8
- package/dist/components/date-picker/index.d.ts +47 -47
- package/dist/components/date-picker/index.js +7 -6
- package/dist/components/dialog/index.d.ts +35 -35
- package/dist/components/dialog/index.js +7 -6
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +4 -3
- package/dist/components/editable/index.d.ts +29 -29
- package/dist/components/editable/index.js +6 -5
- package/dist/components/field/index.d.ts +25 -25
- package/dist/components/field/index.js +5 -4
- package/dist/components/fieldset/index.d.ts +13 -13
- package/dist/components/fieldset/index.js +5 -4
- package/dist/components/file-upload/index.d.ts +329 -0
- package/dist/components/file-upload/index.js +597 -0
- package/dist/components/floating-panel/index.d.ts +325 -0
- package/dist/components/floating-panel/index.js +568 -0
- package/dist/components/focus-trap/index.d.ts +48 -0
- package/dist/components/focus-trap/index.js +96 -0
- package/dist/components/format/index.d.ts +40 -0
- package/dist/components/format/index.js +148 -0
- package/dist/components/frame/index.d.ts +39 -0
- package/dist/components/frame/index.js +111 -0
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +200 -0
- package/dist/components/hover-card/index.js +335 -0
- package/dist/components/image-cropper/index.d.ts +211 -0
- package/dist/components/image-cropper/index.js +381 -0
- package/dist/components/json-tree-view/index.d.ts +91 -0
- package/dist/components/json-tree-view/index.js +490 -0
- package/dist/components/listbox/index.d.ts +325 -0
- package/dist/components/listbox/index.js +533 -0
- package/dist/components/marquee/index.d.ts +268 -0
- package/dist/components/marquee/index.js +340 -0
- package/dist/components/menu/index.d.ts +55 -56
- package/dist/components/menu/index.js +7 -6
- package/dist/components/navigation-menu/index.d.ts +272 -0
- package/dist/components/navigation-menu/index.js +559 -0
- package/dist/components/number-input/index.d.ts +253 -0
- package/dist/components/number-input/index.js +427 -0
- package/dist/components/pagination/index.d.ts +211 -0
- package/dist/components/pagination/index.js +346 -0
- package/dist/components/password-input/index.d.ts +213 -0
- package/dist/components/password-input/index.js +325 -0
- package/dist/components/pin-input/index.d.ts +198 -0
- package/dist/components/pin-input/index.js +346 -0
- package/dist/components/popover/index.d.ts +318 -0
- package/dist/components/popover/index.js +486 -0
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +4 -3
- package/dist/components/progress/index.d.ts +231 -0
- package/dist/components/progress/index.js +372 -0
- package/dist/components/qr-code/index.d.ts +159 -0
- package/dist/components/qr-code/index.js +263 -0
- package/dist/components/radio-group/index.d.ts +231 -0
- package/dist/components/radio-group/index.js +378 -0
- package/dist/components/rating-group/index.d.ts +201 -0
- package/dist/components/rating-group/index.js +330 -0
- package/dist/components/scroll-area/index.d.ts +171 -0
- package/dist/components/scroll-area/index.js +264 -0
- package/dist/components/segment-group/index.d.ts +231 -0
- package/dist/components/segment-group/index.js +422 -0
- package/dist/components/select/index.d.ts +39 -39
- package/dist/components/select/index.js +9 -8
- package/dist/components/signature-pad/index.d.ts +202 -0
- package/dist/components/signature-pad/index.js +345 -0
- package/dist/components/slider/index.d.ts +300 -0
- package/dist/components/slider/index.js +511 -0
- package/dist/components/splitter/index.d.ts +162 -0
- package/dist/components/splitter/index.js +280 -0
- package/dist/components/steps/index.d.ts +290 -0
- package/dist/components/steps/index.js +469 -0
- package/dist/components/switch/index.d.ts +179 -0
- package/dist/components/switch/index.js +290 -0
- package/dist/components/tabs/index.d.ts +181 -0
- package/dist/components/tabs/index.js +335 -0
- package/dist/components/tags-input/index.d.ts +339 -0
- package/dist/components/tags-input/index.js +569 -0
- package/dist/components/timer/index.d.ts +177 -0
- package/dist/components/timer/index.js +295 -0
- package/dist/components/tree-view/index.d.ts +6 -0
- package/dist/components/tree-view/index.js +11 -0
- package/dist/create-context-Ds1GbsVc.js +16 -0
- package/dist/{field-DnHnX3Tf.js → field-CtPR24u6.js} +4 -3
- package/dist/{fieldset-DzhN7Zrg.js → fieldset-D5SznrKY.js} +4 -3
- package/dist/{index-CDQghZtv.d.ts → index-B_UiXhk3.d.ts} +11 -11
- package/dist/index-DwWFWpls.d.ts +447 -0
- package/dist/{index-BBHms9-0.d.ts → index-xb1q4_02.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -2
- package/dist/{presence-CvUnYMZQ.js → presence-B4-UhJY9.js} +3 -2
- package/dist/{providers-B2CNPFg1.js → providers-DNBWT-O_.js} +1 -1
- package/dist/tree-view-Ctpu5RjE.js +737 -0
- package/dist/{use-forward-expose-4p5AGAI3.js → use-forward-expose-CCAmHTUB.js} +2 -15
- package/dist/{use-render-strategy-BkxoN6ll.js → use-render-strategy-DA33j31C.js} +1 -1
- package/package.json +126 -2
- /package/dist/{clean-props-BDv2zb5M.js → clean-props-D2R4tz5e.js} +0 -0
- /package/dist/{create-split-props-YZ3qgXe_.js → create-split-props-0RD5_O4P.js} +0 -0
- /package/dist/{factory-D_ge_w76.d.ts → factory-B5zr8_kk.d.ts} +0 -0
- /package/dist/{factory-BH3WrWd2.js → factory-Co08Aw8u.js} +0 -0
- /package/dist/{index-B66Om_3U.d.ts → index-CCRVRFFQ.d.ts} +0 -0
- /package/dist/{index-DqRk-Yea.d.ts → index-DhFoJHfp.d.ts} +0 -0
- /package/dist/{presence-types-Bv1E60Cw.d.ts → presence-types-BJRr8tqd.d.ts} +0 -0
- /package/dist/{types-Bj-dS2Hc.d.ts → types-DIEO6uP3.d.ts} +0 -0
- /package/dist/{use-render-strategy-CHj_pCfT.d.ts → use-render-strategy-U5NxU252.d.ts} +0 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
4
|
+
import * as vue1924 from "vue";
|
|
5
|
+
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SVGAttributes, SlotsType, UnwrapRef } from "vue";
|
|
6
|
+
import * as qrcode from "@sprawlify/primitives/machines/qr-code";
|
|
7
|
+
import { DownloadTriggerProps, QrCodeGenerateOptions, QrCodeGenerateOptions as GenerateOptions, QrCodeGenerateResult, QrCodeGenerateResult as GenerateResult, anatomy as qrCodeAnatomy } from "@sprawlify/primitives/machines/qr-code";
|
|
8
|
+
|
|
9
|
+
//#region src/components/qr-code/qr-code-types.d.ts
|
|
10
|
+
interface RootProps {
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
encoding?: qrcode.QrCodeGenerateOptions;
|
|
13
|
+
id?: string;
|
|
14
|
+
ids?: Partial<{
|
|
15
|
+
root: string;
|
|
16
|
+
frame: string;
|
|
17
|
+
}>;
|
|
18
|
+
modelValue?: string;
|
|
19
|
+
pixelSize?: number;
|
|
20
|
+
}
|
|
21
|
+
type RootEmits = {
|
|
22
|
+
valueChange: [details: qrcode.ValueChangeDetails];
|
|
23
|
+
'update:modelValue': [value: string];
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/components/qr-code/use-qr-code.d.ts
|
|
27
|
+
interface UseQrCodeProps extends Optional<Omit<qrcode.Props, 'dir' | 'getRootNode'>, 'id'> {
|
|
28
|
+
modelValue?: qrcode.Props['value'];
|
|
29
|
+
}
|
|
30
|
+
interface UseQrCodeReturn extends ComputedRef<qrcode.Api<PropTypes>> {}
|
|
31
|
+
declare const useQrCode: (props?: MaybeRef<UseQrCodeProps>, emit?: EmitFn$1<RootEmits>) => UseQrCodeReturn;
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/components/qr-code/use-qr-code-context.d.ts
|
|
34
|
+
interface UseQrCodeContext extends UseQrCodeReturn {}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/components/qr-code/qr-code-context.vue.d.ts
|
|
37
|
+
interface QrCodeContextProps extends SlotsType<{
|
|
38
|
+
default: UnwrapRef<UseQrCodeContext>;
|
|
39
|
+
}> {}
|
|
40
|
+
declare const _default: typeof __VLS_export$6;
|
|
41
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1924.DefineComponent<{}, {}, {}, {}, {}, vue1924.ComponentOptionsMixin, vue1924.ComponentOptionsMixin, {}, string, vue1924.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1924.ComponentProvideOptions, true, {}, any>, {
|
|
42
|
+
default(qrCode: UnwrapRef<UseQrCodeContext>): unknown;
|
|
43
|
+
}>;
|
|
44
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/components/qr-code/qr-code-download-trigger.vue.d.ts
|
|
51
|
+
interface QrCodeDownloadTriggerBaseProps extends DownloadTriggerProps, PolymorphicProps {}
|
|
52
|
+
interface QrCodeDownloadTriggerProps extends QrCodeDownloadTriggerBaseProps,
|
|
53
|
+
/**
|
|
54
|
+
* @vue-ignore
|
|
55
|
+
*/
|
|
56
|
+
ButtonHTMLAttributes {}
|
|
57
|
+
declare const _default$1: typeof __VLS_export$5;
|
|
58
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1924.DefineComponent<QrCodeDownloadTriggerProps, {}, {}, {}, {}, vue1924.ComponentOptionsMixin, vue1924.ComponentOptionsMixin, {}, string, vue1924.PublicProps, Readonly<QrCodeDownloadTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1924.ComponentProvideOptions, false, {}, any>, {
|
|
59
|
+
default?: (props: {}) => any;
|
|
60
|
+
}>;
|
|
61
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/components/qr-code/qr-code-frame.vue.d.ts
|
|
68
|
+
interface QrCodeFrameBaseProps extends PolymorphicProps {}
|
|
69
|
+
interface QrCodeFrameProps extends QrCodeFrameBaseProps,
|
|
70
|
+
/**
|
|
71
|
+
* @vue-ignore
|
|
72
|
+
*/
|
|
73
|
+
SVGAttributes {}
|
|
74
|
+
declare const _default$2: typeof __VLS_export$4;
|
|
75
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1924.DefineComponent<QrCodeFrameProps, {}, {}, {}, {}, vue1924.ComponentOptionsMixin, vue1924.ComponentOptionsMixin, {}, string, vue1924.PublicProps, Readonly<QrCodeFrameProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1924.ComponentProvideOptions, false, {}, any>, {
|
|
76
|
+
default?: (props: {}) => any;
|
|
77
|
+
}>;
|
|
78
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
79
|
+
new (): {
|
|
80
|
+
$slots: S;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/components/qr-code/qr-code-overlay.vue.d.ts
|
|
85
|
+
interface QrCodeOverlayBaseProps extends PolymorphicProps {}
|
|
86
|
+
interface QrCodeOverlayProps extends QrCodeOverlayBaseProps,
|
|
87
|
+
/**
|
|
88
|
+
* @vue-ignore
|
|
89
|
+
*/
|
|
90
|
+
HTMLAttributes {}
|
|
91
|
+
declare const _default$3: typeof __VLS_export$3;
|
|
92
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1924.DefineComponent<QrCodeOverlayProps, {}, {}, {}, {}, vue1924.ComponentOptionsMixin, vue1924.ComponentOptionsMixin, {}, string, vue1924.PublicProps, Readonly<QrCodeOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1924.ComponentProvideOptions, false, {}, any>, {
|
|
93
|
+
default?: (props: {}) => any;
|
|
94
|
+
}>;
|
|
95
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
96
|
+
new (): {
|
|
97
|
+
$slots: S;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region src/components/qr-code/qr-code-pattern.vue.d.ts
|
|
102
|
+
interface QrCodePatternBaseProps extends PolymorphicProps {}
|
|
103
|
+
interface QrCodePatternProps extends QrCodePatternBaseProps,
|
|
104
|
+
/**
|
|
105
|
+
* @vue-ignore
|
|
106
|
+
*/
|
|
107
|
+
SVGAttributes {}
|
|
108
|
+
declare const _default$4: typeof __VLS_export$2;
|
|
109
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1924.DefineComponent<QrCodePatternProps, {}, {}, {}, {}, vue1924.ComponentOptionsMixin, vue1924.ComponentOptionsMixin, {}, string, vue1924.PublicProps, Readonly<QrCodePatternProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1924.ComponentProvideOptions, false, {}, any>, {
|
|
110
|
+
default?: (props: {}) => any;
|
|
111
|
+
}>;
|
|
112
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
113
|
+
new (): {
|
|
114
|
+
$slots: S;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/components/qr-code/qr-code-root-provider.vue.d.ts
|
|
119
|
+
interface RootProviderProps {
|
|
120
|
+
value: UnwrapRef<UseQrCodeReturn>;
|
|
121
|
+
}
|
|
122
|
+
interface QrCodeRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
123
|
+
interface QrCodeRootProviderProps extends QrCodeRootProviderBaseProps,
|
|
124
|
+
/**
|
|
125
|
+
* @vue-ignore
|
|
126
|
+
*/
|
|
127
|
+
HTMLAttributes {}
|
|
128
|
+
declare const _default$6: typeof __VLS_export$1;
|
|
129
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1924.DefineComponent<QrCodeRootProviderProps, {}, {}, {}, {}, vue1924.ComponentOptionsMixin, vue1924.ComponentOptionsMixin, {}, string, vue1924.PublicProps, Readonly<QrCodeRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1924.ComponentProvideOptions, false, {}, any>, {
|
|
130
|
+
default?: (props: {}) => any;
|
|
131
|
+
}>;
|
|
132
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
133
|
+
new (): {
|
|
134
|
+
$slots: S;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/components/qr-code/qr-code-root.vue.d.ts
|
|
139
|
+
interface QrCodeRootBaseProps extends RootProps, PolymorphicProps {}
|
|
140
|
+
interface QrCodeRootProps extends QrCodeRootBaseProps,
|
|
141
|
+
/**
|
|
142
|
+
* @vue-ignore
|
|
143
|
+
*/
|
|
144
|
+
HTMLAttributes {}
|
|
145
|
+
interface QrCodeRootEmits extends RootEmits {}
|
|
146
|
+
declare const _default$5: typeof __VLS_export;
|
|
147
|
+
declare const __VLS_export: __VLS_WithSlots<vue1924.DefineComponent<QrCodeRootProps, {}, {}, {}, {}, vue1924.ComponentOptionsMixin, vue1924.ComponentOptionsMixin, {}, string, vue1924.PublicProps, Readonly<QrCodeRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1924.ComponentProvideOptions, false, {}, any>, {
|
|
148
|
+
default?: (props: {}) => any;
|
|
149
|
+
}>;
|
|
150
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
151
|
+
new (): {
|
|
152
|
+
$slots: S;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
declare namespace qr_code_d_exports {
|
|
156
|
+
export { _default$1 as DownloadTrigger, QrCodeDownloadTriggerBaseProps as DownloadTriggerBaseProps, QrCodeDownloadTriggerProps as DownloadTriggerProps, _default$2 as Frame, QrCodeFrameBaseProps as FrameBaseProps, QrCodeFrameProps as FrameProps, GenerateOptions, GenerateResult, _default$3 as Overlay, QrCodeOverlayBaseProps as OverlayBaseProps, QrCodeOverlayProps as OverlayProps, _default$4 as Pattern, QrCodePatternBaseProps as PatternBaseProps, QrCodePatternProps as PatternProps, QrCodeContextProps, _default$5 as Root, QrCodeRootBaseProps as RootBaseProps, QrCodeRootEmits as RootEmits, QrCodeRootProps as RootProps, _default$6 as RootProvider, QrCodeRootProviderBaseProps as RootProviderBaseProps, QrCodeRootProviderProps as RootProviderProps, _default as default };
|
|
157
|
+
}
|
|
158
|
+
//#endregion
|
|
159
|
+
export { qr_code_d_exports as QrCode, _default as QrCodeContext, type QrCodeContextProps, _default$1 as QrCodeDownloadTrigger, type QrCodeDownloadTriggerBaseProps, type QrCodeDownloadTriggerProps, _default$2 as QrCodeFrame, type QrCodeFrameBaseProps, type QrCodeFrameProps, type QrCodeGenerateOptions, type QrCodeGenerateResult, _default$3 as QrCodeOverlay, type QrCodeOverlayBaseProps, type QrCodeOverlayProps, _default$4 as QrCodePattern, type QrCodePatternBaseProps, type QrCodePatternProps, _default$5 as QrCodeRoot, type QrCodeRootBaseProps, type QrCodeRootEmits, type QrCodeRootProps, _default$6 as QrCodeRootProvider, type QrCodeRootProviderBaseProps, type QrCodeRootProviderProps, type UseQrCodeContext, type UseQrCodeProps, type UseQrCodeReturn, qrCodeAnatomy, useQrCode, useQrCodeContext };
|
|
@@ -0,0 +1,263 @@
|
|
|
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 { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, 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-Co08Aw8u.js";
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-D2R4tz5e.js";
|
|
8
|
+
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
|
+
import * as qrcode from "@sprawlify/primitives/machines/qr-code";
|
|
10
|
+
import { anatomy as qrCodeAnatomy } from "@sprawlify/primitives/machines/qr-code";
|
|
11
|
+
|
|
12
|
+
//#region src/components/qr-code/use-qr-code-context.ts
|
|
13
|
+
const [QrCodeProvider, useQrCodeContext] = createContext("QrCodeContext");
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/qr-code/qr-code-context.vue?vue&type=script&setup=true&lang.ts
|
|
17
|
+
var qr_code_context_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
18
|
+
__name: "qr-code-context",
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const qrCode = useQrCodeContext();
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(qrCode))));
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/components/qr-code/qr-code-context.vue
|
|
29
|
+
var qr_code_context_default = qr_code_context_vue_vue_type_script_setup_true_lang_default;
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/components/qr-code/qr-code-download-trigger.vue?vue&type=script&setup=true&lang.ts
|
|
33
|
+
var qr_code_download_trigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
34
|
+
__name: "qr-code-download-trigger",
|
|
35
|
+
props: {
|
|
36
|
+
mimeType: {
|
|
37
|
+
type: null,
|
|
38
|
+
required: true
|
|
39
|
+
},
|
|
40
|
+
quality: {
|
|
41
|
+
type: null,
|
|
42
|
+
required: false
|
|
43
|
+
},
|
|
44
|
+
fileName: {
|
|
45
|
+
type: String,
|
|
46
|
+
required: true
|
|
47
|
+
},
|
|
48
|
+
asChild: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
required: false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
setup(__props) {
|
|
54
|
+
const props = __props;
|
|
55
|
+
const qrCode = useQrCodeContext();
|
|
56
|
+
useForwardExpose();
|
|
57
|
+
return (_ctx, _cache) => {
|
|
58
|
+
return openBlock(), createBlock(unref(sprawlify).button, mergeProps(unref(qrCode).getDownloadTriggerProps(props), { "as-child": __props.asChild }), {
|
|
59
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
60
|
+
_: 3
|
|
61
|
+
}, 16, ["as-child"]);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/components/qr-code/qr-code-download-trigger.vue
|
|
68
|
+
var qr_code_download_trigger_default = qr_code_download_trigger_vue_vue_type_script_setup_true_lang_default;
|
|
69
|
+
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/qr-code/qr-code-frame.vue?vue&type=script&setup=true&lang.ts
|
|
72
|
+
var qr_code_frame_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
73
|
+
__name: "qr-code-frame",
|
|
74
|
+
props: { asChild: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
required: false
|
|
77
|
+
} },
|
|
78
|
+
setup(__props) {
|
|
79
|
+
const qrCode = useQrCodeContext();
|
|
80
|
+
useForwardExpose();
|
|
81
|
+
return (_ctx, _cache) => {
|
|
82
|
+
return openBlock(), createBlock(unref(sprawlify).svg, mergeProps(unref(qrCode).getFrameProps(), { "as-child": __props.asChild }), {
|
|
83
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
84
|
+
_: 3
|
|
85
|
+
}, 16, ["as-child"]);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/components/qr-code/qr-code-frame.vue
|
|
92
|
+
var qr_code_frame_default = qr_code_frame_vue_vue_type_script_setup_true_lang_default;
|
|
93
|
+
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region src/components/qr-code/qr-code-overlay.vue?vue&type=script&setup=true&lang.ts
|
|
96
|
+
var qr_code_overlay_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
97
|
+
__name: "qr-code-overlay",
|
|
98
|
+
props: { asChild: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
required: false
|
|
101
|
+
} },
|
|
102
|
+
setup(__props) {
|
|
103
|
+
const qrCode = useQrCodeContext();
|
|
104
|
+
useForwardExpose();
|
|
105
|
+
return (_ctx, _cache) => {
|
|
106
|
+
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(qrCode).getOverlayProps(), { "as-child": __props.asChild }), {
|
|
107
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
108
|
+
_: 3
|
|
109
|
+
}, 16, ["as-child"]);
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/components/qr-code/qr-code-overlay.vue
|
|
116
|
+
var qr_code_overlay_default = qr_code_overlay_vue_vue_type_script_setup_true_lang_default;
|
|
117
|
+
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/components/qr-code/qr-code-pattern.vue?vue&type=script&setup=true&lang.ts
|
|
120
|
+
var qr_code_pattern_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
121
|
+
__name: "qr-code-pattern",
|
|
122
|
+
props: { asChild: {
|
|
123
|
+
type: Boolean,
|
|
124
|
+
required: false
|
|
125
|
+
} },
|
|
126
|
+
setup(__props) {
|
|
127
|
+
const qrCode = useQrCodeContext();
|
|
128
|
+
useForwardExpose();
|
|
129
|
+
return (_ctx, _cache) => {
|
|
130
|
+
return openBlock(), createBlock(unref(sprawlify).path, mergeProps(unref(qrCode).getPatternProps(), { "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/qr-code/qr-code-pattern.vue
|
|
140
|
+
var qr_code_pattern_default = qr_code_pattern_vue_vue_type_script_setup_true_lang_default;
|
|
141
|
+
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/components/qr-code/qr-code-root-provider.vue?vue&type=script&setup=true&lang.ts
|
|
144
|
+
var qr_code_root_provider_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
145
|
+
__name: "qr-code-root-provider",
|
|
146
|
+
props: {
|
|
147
|
+
value: {
|
|
148
|
+
type: null,
|
|
149
|
+
required: true
|
|
150
|
+
},
|
|
151
|
+
asChild: {
|
|
152
|
+
type: Boolean,
|
|
153
|
+
required: false
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
setup(__props) {
|
|
157
|
+
const props = __props;
|
|
158
|
+
const qrCode = computed(() => props.value);
|
|
159
|
+
QrCodeProvider(qrCode);
|
|
160
|
+
useForwardExpose();
|
|
161
|
+
return (_ctx, _cache) => {
|
|
162
|
+
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(qrCode.value.getRootProps(), { "as-child": __props.asChild }), {
|
|
163
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
164
|
+
_: 3
|
|
165
|
+
}, 16, ["as-child"]);
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region src/components/qr-code/qr-code-root-provider.vue
|
|
172
|
+
var qr_code_root_provider_default = qr_code_root_provider_vue_vue_type_script_setup_true_lang_default;
|
|
173
|
+
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region src/components/qr-code/use-qr-code.ts
|
|
176
|
+
const useQrCode = (props = {}, emit) => {
|
|
177
|
+
const id = useId();
|
|
178
|
+
const env = useEnvironmentContext(DEFAULT_ENVIRONMENT);
|
|
179
|
+
const locale = useLocaleContext(DEFAULT_LOCALE);
|
|
180
|
+
const context = computed(() => {
|
|
181
|
+
const localeProps = toValue(props);
|
|
182
|
+
return {
|
|
183
|
+
id,
|
|
184
|
+
dir: locale.value.dir,
|
|
185
|
+
value: localeProps.modelValue,
|
|
186
|
+
getRootNode: env?.value.getRootNode,
|
|
187
|
+
...cleanProps(localeProps),
|
|
188
|
+
onValueChange: (details) => {
|
|
189
|
+
emit?.("valueChange", details);
|
|
190
|
+
emit?.("update:modelValue", details.value);
|
|
191
|
+
localeProps.onValueChange?.(details);
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
});
|
|
195
|
+
const service = useMachine(qrcode.machine, context);
|
|
196
|
+
return computed(() => qrcode.connect(service, normalizeProps$1));
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/components/qr-code/qr-code-root.vue?vue&type=script&setup=true&lang.ts
|
|
201
|
+
var qr_code_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
202
|
+
__name: "qr-code-root",
|
|
203
|
+
props: {
|
|
204
|
+
defaultValue: {
|
|
205
|
+
type: String,
|
|
206
|
+
required: false
|
|
207
|
+
},
|
|
208
|
+
encoding: {
|
|
209
|
+
type: null,
|
|
210
|
+
required: false
|
|
211
|
+
},
|
|
212
|
+
id: {
|
|
213
|
+
type: String,
|
|
214
|
+
required: false
|
|
215
|
+
},
|
|
216
|
+
ids: {
|
|
217
|
+
type: Object,
|
|
218
|
+
required: false
|
|
219
|
+
},
|
|
220
|
+
modelValue: {
|
|
221
|
+
type: String,
|
|
222
|
+
required: false
|
|
223
|
+
},
|
|
224
|
+
pixelSize: {
|
|
225
|
+
type: Number,
|
|
226
|
+
required: false
|
|
227
|
+
},
|
|
228
|
+
asChild: {
|
|
229
|
+
type: Boolean,
|
|
230
|
+
required: false
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
setup(__props) {
|
|
234
|
+
const qrCode = useQrCode(__props);
|
|
235
|
+
QrCodeProvider(qrCode);
|
|
236
|
+
useForwardExpose();
|
|
237
|
+
return (_ctx, _cache) => {
|
|
238
|
+
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(qrCode).getRootProps(), { "as-child": __props.asChild }), {
|
|
239
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
240
|
+
_: 3
|
|
241
|
+
}, 16, ["as-child"]);
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
|
|
246
|
+
//#endregion
|
|
247
|
+
//#region src/components/qr-code/qr-code-root.vue
|
|
248
|
+
var qr_code_root_default = qr_code_root_vue_vue_type_script_setup_true_lang_default;
|
|
249
|
+
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/components/qr-code/qr-code.ts
|
|
252
|
+
var qr_code_exports = /* @__PURE__ */ __exportAll({
|
|
253
|
+
DownloadTrigger: () => qr_code_download_trigger_default,
|
|
254
|
+
Frame: () => qr_code_frame_default,
|
|
255
|
+
Overlay: () => qr_code_overlay_default,
|
|
256
|
+
Pattern: () => qr_code_pattern_default,
|
|
257
|
+
Root: () => qr_code_root_default,
|
|
258
|
+
RootProvider: () => qr_code_root_provider_default,
|
|
259
|
+
default: () => qr_code_context_default
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
//#endregion
|
|
263
|
+
export { qr_code_exports as QrCode, qr_code_context_default as QrCodeContext, qr_code_download_trigger_default as QrCodeDownloadTrigger, qr_code_frame_default as QrCodeFrame, qr_code_overlay_default as QrCodeOverlay, qr_code_pattern_default as QrCodePattern, qr_code_root_default as QrCodeRoot, qr_code_root_provider_default as QrCodeRootProvider, qrCodeAnatomy, useQrCode, useQrCodeContext };
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
4
|
+
import * as vue889 from "vue";
|
|
5
|
+
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
|
+
import * as radioGroup from "@sprawlify/primitives/machines/radio-group";
|
|
7
|
+
import { ItemProps, ItemState, ValueChangeDetails, ValueChangeDetails as RadioGroupValueChangeDetails, anatomy as radioGroupAnatomy } from "@sprawlify/primitives/machines/radio-group";
|
|
8
|
+
|
|
9
|
+
//#region src/components/radio-group/radio-group-types.d.ts
|
|
10
|
+
interface RootProps {
|
|
11
|
+
defaultValue?: string | null;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
form?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
ids?: Partial<{
|
|
16
|
+
root: string;
|
|
17
|
+
label: string;
|
|
18
|
+
indicator: string;
|
|
19
|
+
item(value: string): string;
|
|
20
|
+
itemLabel(value: string): string;
|
|
21
|
+
itemControl(value: string): string;
|
|
22
|
+
itemHiddenInput(value: string): string;
|
|
23
|
+
}>;
|
|
24
|
+
invalid?: boolean;
|
|
25
|
+
modelValue?: string | null;
|
|
26
|
+
name?: string;
|
|
27
|
+
orientation?: 'horizontal' | 'vertical';
|
|
28
|
+
readOnly?: boolean;
|
|
29
|
+
required?: boolean;
|
|
30
|
+
}
|
|
31
|
+
type RootEmits = {
|
|
32
|
+
valueChange: [details: radioGroup.ValueChangeDetails];
|
|
33
|
+
'update:modelValue': [value: radioGroup.ValueChangeDetails['value']];
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/components/radio-group/use-radio-group.d.ts
|
|
37
|
+
interface UseRadioGroupProps extends Optional<Omit<radioGroup.Props, 'dir' | 'getRootNode'>, 'id'> {
|
|
38
|
+
modelValue?: radioGroup.Props['value'];
|
|
39
|
+
}
|
|
40
|
+
interface UseRadioGroupReturn extends ComputedRef<radioGroup.Api<PropTypes>> {}
|
|
41
|
+
declare const useRadioGroup: (props?: MaybeRef<UseRadioGroupProps>, emit?: EmitFn$1<RootEmits>) => UseRadioGroupReturn;
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/components/radio-group/use-radio-group-context.d.ts
|
|
44
|
+
interface UseRadioGroupContext extends UseRadioGroupReturn {}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/components/radio-group/radio-group-context.vue.d.ts
|
|
47
|
+
interface RadioGroupContextProps extends SlotsType<{
|
|
48
|
+
default: UnwrapRef<UseRadioGroupContext>;
|
|
49
|
+
}> {}
|
|
50
|
+
declare const _default: typeof __VLS_export$9;
|
|
51
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue889.DefineComponent<{}, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, true, {}, any>, {
|
|
52
|
+
default(radioGroup: UnwrapRef<UseRadioGroupContext>): unknown;
|
|
53
|
+
}>;
|
|
54
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/components/radio-group/radio-group-indicator.vue.d.ts
|
|
61
|
+
interface RadioGroupIndicatorBaseProps extends PolymorphicProps {}
|
|
62
|
+
interface RadioGroupIndicatorProps extends RadioGroupIndicatorBaseProps,
|
|
63
|
+
/**
|
|
64
|
+
* @vue-ignore
|
|
65
|
+
*/
|
|
66
|
+
HTMLAttributes {}
|
|
67
|
+
declare const _default$1: typeof __VLS_export$8;
|
|
68
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue889.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, false, {}, any>, {
|
|
69
|
+
default?: (props: {}) => any;
|
|
70
|
+
}>;
|
|
71
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/components/radio-group/use-radio-group-item-context.d.ts
|
|
78
|
+
interface UseRadioGroupItemContext extends ComputedRef<ItemState> {}
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/components/radio-group/radio-group-item-context.vue.d.ts
|
|
81
|
+
interface RadioGroupItemContextProps extends SlotsType<{
|
|
82
|
+
default: UnwrapRef<UseRadioGroupItemContext>;
|
|
83
|
+
}> {}
|
|
84
|
+
declare const _default$3: typeof __VLS_export$7;
|
|
85
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue889.DefineComponent<{}, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, true, {}, any>, {
|
|
86
|
+
default(item: UnwrapRef<UseRadioGroupItemContext>): unknown;
|
|
87
|
+
}>;
|
|
88
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
89
|
+
new (): {
|
|
90
|
+
$slots: S;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/components/radio-group/radio-group-item-control.vue.d.ts
|
|
95
|
+
interface RadioGroupItemControlBaseProps extends PolymorphicProps {}
|
|
96
|
+
interface RadioGroupItemControlProps extends RadioGroupItemControlBaseProps,
|
|
97
|
+
/**
|
|
98
|
+
* @vue-ignore
|
|
99
|
+
*/
|
|
100
|
+
HTMLAttributes {}
|
|
101
|
+
declare const _default$4: typeof __VLS_export$6;
|
|
102
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue889.DefineComponent<RadioGroupItemControlProps, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<RadioGroupItemControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, false, {}, any>, {
|
|
103
|
+
default?: (props: {}) => any;
|
|
104
|
+
}>;
|
|
105
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/components/radio-group/radio-group-item-hidden-input.vue.d.ts
|
|
112
|
+
interface RadioGroupItemHiddenInputBaseProps extends PolymorphicProps {}
|
|
113
|
+
interface RadioGroupItemHiddenInputProps extends RadioGroupItemHiddenInputBaseProps,
|
|
114
|
+
/**
|
|
115
|
+
* @vue-ignore
|
|
116
|
+
*/
|
|
117
|
+
InputHTMLAttributes {}
|
|
118
|
+
declare const _default$5: typeof __VLS_export$5;
|
|
119
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue889.DefineComponent<RadioGroupItemHiddenInputProps, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<RadioGroupItemHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, false, {}, any>, {
|
|
120
|
+
default?: (props: {}) => any;
|
|
121
|
+
}>;
|
|
122
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
123
|
+
new (): {
|
|
124
|
+
$slots: S;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/components/radio-group/radio-group-item-text.vue.d.ts
|
|
129
|
+
interface RadioGroupItemTextBaseProps extends PolymorphicProps {}
|
|
130
|
+
interface RadioGroupItemTextProps extends RadioGroupItemTextBaseProps,
|
|
131
|
+
/**
|
|
132
|
+
* @vue-ignore
|
|
133
|
+
*/
|
|
134
|
+
HTMLAttributes {}
|
|
135
|
+
declare const _default$6: typeof __VLS_export$4;
|
|
136
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue889.DefineComponent<RadioGroupItemTextProps, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<RadioGroupItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, false, {}, any>, {
|
|
137
|
+
default?: (props: {}) => any;
|
|
138
|
+
}>;
|
|
139
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
140
|
+
new (): {
|
|
141
|
+
$slots: S;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/components/radio-group/radio-group-item.vue.d.ts
|
|
146
|
+
interface RadioGroupItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
147
|
+
interface RadioGroupItemProps extends RadioGroupItemBaseProps,
|
|
148
|
+
/**
|
|
149
|
+
* @vue-ignore
|
|
150
|
+
*/
|
|
151
|
+
LabelHTMLAttributes {}
|
|
152
|
+
declare const _default$2: typeof __VLS_export$3;
|
|
153
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue889.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, false, {}, any>, {
|
|
154
|
+
default?: (props: {}) => any;
|
|
155
|
+
}>;
|
|
156
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
157
|
+
new (): {
|
|
158
|
+
$slots: S;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/components/radio-group/radio-group-label.vue.d.ts
|
|
163
|
+
interface RadioGroupLabelBaseProps extends PolymorphicProps {}
|
|
164
|
+
interface RadioGroupLabelProps extends RadioGroupLabelBaseProps,
|
|
165
|
+
/**
|
|
166
|
+
* @vue-ignore
|
|
167
|
+
*/
|
|
168
|
+
LabelHTMLAttributes {}
|
|
169
|
+
declare const _default$7: typeof __VLS_export$2;
|
|
170
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue889.DefineComponent<RadioGroupLabelProps, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<RadioGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, false, {}, any>, {
|
|
171
|
+
default?: (props: {}) => any;
|
|
172
|
+
}>;
|
|
173
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
174
|
+
new (): {
|
|
175
|
+
$slots: S;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region src/components/radio-group/radio-group-root-provider.vue.d.ts
|
|
180
|
+
interface RootProviderProps {
|
|
181
|
+
value: UnwrapRef<UseRadioGroupReturn>;
|
|
182
|
+
}
|
|
183
|
+
interface RadioGroupRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
184
|
+
interface RadioGroupRootProviderProps extends RadioGroupRootProviderBaseProps,
|
|
185
|
+
/**
|
|
186
|
+
* @vue-ignore
|
|
187
|
+
*/
|
|
188
|
+
HTMLAttributes {}
|
|
189
|
+
declare const _default$9: typeof __VLS_export$1;
|
|
190
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue889.DefineComponent<RadioGroupRootProviderProps, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {}, string, vue889.PublicProps, Readonly<RadioGroupRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue889.ComponentProvideOptions, false, {}, any>, {
|
|
191
|
+
default?: (props: {}) => any;
|
|
192
|
+
}>;
|
|
193
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
194
|
+
new (): {
|
|
195
|
+
$slots: S;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
//#endregion
|
|
199
|
+
//#region src/components/radio-group/radio-group-root.vue.d.ts
|
|
200
|
+
interface RadioGroupRootBaseProps extends RootProps, PolymorphicProps {}
|
|
201
|
+
interface RadioGroupRootProps extends RadioGroupRootBaseProps,
|
|
202
|
+
/**
|
|
203
|
+
* @vue-ignore
|
|
204
|
+
*/
|
|
205
|
+
HTMLAttributes {}
|
|
206
|
+
interface RadioGroupRootEmits extends RootEmits {}
|
|
207
|
+
declare const _default$8: typeof __VLS_export;
|
|
208
|
+
declare const __VLS_export: __VLS_WithSlots<vue889.DefineComponent<RadioGroupRootProps, {}, {}, {}, {}, vue889.ComponentOptionsMixin, vue889.ComponentOptionsMixin, {
|
|
209
|
+
valueChange: (details: radioGroup.ValueChangeDetails) => any;
|
|
210
|
+
"update:modelValue": (value: string | null) => any;
|
|
211
|
+
}, string, vue889.PublicProps, Readonly<RadioGroupRootProps> & Readonly<{
|
|
212
|
+
onValueChange?: ((details: radioGroup.ValueChangeDetails) => any) | undefined;
|
|
213
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
214
|
+
}>, {
|
|
215
|
+
required: boolean;
|
|
216
|
+
disabled: boolean;
|
|
217
|
+
invalid: boolean;
|
|
218
|
+
readOnly: boolean;
|
|
219
|
+
}, {}, {}, {}, string, vue889.ComponentProvideOptions, false, {}, any>, {
|
|
220
|
+
default?: (props: {}) => any;
|
|
221
|
+
}>;
|
|
222
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
223
|
+
new (): {
|
|
224
|
+
$slots: S;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
declare namespace radio_group_d_exports {
|
|
228
|
+
export { _default as Context, RadioGroupContextProps as ContextProps, _default$1 as Indicator, RadioGroupIndicatorBaseProps as IndicatorBaseProps, RadioGroupIndicatorProps as IndicatorProps, _default$2 as Item, RadioGroupItemBaseProps as ItemBaseProps, _default$3 as ItemContext, RadioGroupItemContextProps as ItemContextProps, _default$4 as ItemControl, RadioGroupItemControlBaseProps as ItemControlBaseProps, RadioGroupItemControlProps as ItemControlProps, _default$5 as ItemHiddenInput, RadioGroupItemHiddenInputBaseProps as ItemHiddenInputBaseProps, RadioGroupItemHiddenInputProps as ItemHiddenInputProps, RadioGroupItemProps as ItemProps, _default$6 as ItemText, RadioGroupItemTextBaseProps as ItemTextBaseProps, RadioGroupItemTextProps as ItemTextProps, _default$7 as Label, RadioGroupLabelBaseProps as LabelBaseProps, RadioGroupLabelProps as LabelProps, _default$8 as Root, RadioGroupRootBaseProps as RootBaseProps, RadioGroupRootEmits as RootEmits, RadioGroupRootProps as RootProps, _default$9 as RootProvider, RadioGroupRootProviderBaseProps as RootProviderBaseProps, RadioGroupRootProviderProps as RootProviderProps, ValueChangeDetails };
|
|
229
|
+
}
|
|
230
|
+
//#endregion
|
|
231
|
+
export { radio_group_d_exports as RadioGroup, _default as RadioGroupContext, type RadioGroupContextProps, _default$1 as RadioGroupIndicator, type RadioGroupIndicatorBaseProps, type RadioGroupIndicatorProps, _default$2 as RadioGroupItem, type RadioGroupItemBaseProps, _default$3 as RadioGroupItemContext, type RadioGroupItemContextProps, _default$4 as RadioGroupItemControl, type RadioGroupItemControlBaseProps, type RadioGroupItemControlProps, _default$5 as RadioGroupItemHiddenInput, type RadioGroupItemHiddenInputBaseProps, type RadioGroupItemHiddenInputProps, type RadioGroupItemProps, _default$6 as RadioGroupItemText, type RadioGroupItemTextBaseProps, type RadioGroupItemTextProps, _default$7 as RadioGroupLabel, type RadioGroupLabelBaseProps, type RadioGroupLabelProps, _default$8 as RadioGroupRoot, type RadioGroupRootBaseProps, type RadioGroupRootEmits, type RadioGroupRootProps, _default$9 as RadioGroupRootProvider, type RadioGroupRootProviderBaseProps, type RadioGroupRootProviderProps, type RadioGroupValueChangeDetails, type UseRadioGroupContext, type UseRadioGroupItemContext, type UseRadioGroupProps, type UseRadioGroupReturn, radioGroupAnatomy, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext };
|