@destyler/radio 0.0.2 → 0.0.4
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/README.md +7 -0
- package/dist/component.cjs +163 -89
- package/dist/component.d.cts +109 -29
- package/dist/component.d.mts +109 -29
- package/dist/component.d.ts +109 -29
- package/dist/component.mjs +157 -89
- package/dist/index.cjs +7 -4
- package/dist/index.d.cts +4 -333
- package/dist/index.d.mts +4 -333
- package/dist/index.d.ts +4 -333
- package/dist/index.mjs +2 -2
- package/dist/resolver.cjs +5 -5
- package/dist/resolver.d.cts +2 -2
- package/dist/resolver.d.mts +2 -2
- package/dist/resolver.d.ts +2 -2
- package/dist/resolver.mjs +5 -5
- package/dist/shared/radio.54693474.d.cts +519 -0
- package/dist/shared/radio.54693474.d.mts +519 -0
- package/dist/shared/radio.54693474.d.ts +519 -0
- package/package.json +19 -19
package/dist/index.d.cts
CHANGED
|
@@ -1,333 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
declare const destylerRadioGroupRootProps: {
|
|
7
|
-
readonly as: {
|
|
8
|
-
readonly type: PropType<AsTag | Component>;
|
|
9
|
-
readonly required: false;
|
|
10
|
-
readonly default: "div";
|
|
11
|
-
};
|
|
12
|
-
readonly asChild: {
|
|
13
|
-
readonly type: PropType<boolean>;
|
|
14
|
-
readonly required: false;
|
|
15
|
-
readonly default: false;
|
|
16
|
-
};
|
|
17
|
-
readonly modelValue: {
|
|
18
|
-
readonly type: PropType<string>;
|
|
19
|
-
readonly required: false;
|
|
20
|
-
};
|
|
21
|
-
readonly defaultValue: {
|
|
22
|
-
readonly type: PropType<string>;
|
|
23
|
-
readonly required: false;
|
|
24
|
-
};
|
|
25
|
-
readonly disabled: {
|
|
26
|
-
readonly type: PropType<boolean>;
|
|
27
|
-
readonly required: false;
|
|
28
|
-
readonly default: false;
|
|
29
|
-
};
|
|
30
|
-
readonly name: {
|
|
31
|
-
readonly type: PropType<string>;
|
|
32
|
-
readonly required: false;
|
|
33
|
-
};
|
|
34
|
-
readonly required: {
|
|
35
|
-
readonly type: PropType<boolean>;
|
|
36
|
-
readonly required: false;
|
|
37
|
-
readonly default: false;
|
|
38
|
-
};
|
|
39
|
-
readonly orientation: {
|
|
40
|
-
readonly type: PropType<DataOrientation>;
|
|
41
|
-
readonly required: false;
|
|
42
|
-
readonly default: undefined;
|
|
43
|
-
};
|
|
44
|
-
readonly dir: {
|
|
45
|
-
readonly type: PropType<Direction>;
|
|
46
|
-
readonly required: false;
|
|
47
|
-
};
|
|
48
|
-
readonly loop: {
|
|
49
|
-
readonly type: PropType<boolean>;
|
|
50
|
-
readonly required: false;
|
|
51
|
-
readonly default: true;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
type DestylerRadioGroupRootProps = ExtractPublicPropTypes<typeof destylerRadioGroupRootProps>;
|
|
55
|
-
interface RadioGroupRootContext {
|
|
56
|
-
modelValue?: Readonly<Ref<string | undefined>>;
|
|
57
|
-
changeModelValue: (value?: string) => void;
|
|
58
|
-
disabled: Ref<boolean>;
|
|
59
|
-
loop: Ref<boolean>;
|
|
60
|
-
orientation: Ref<DataOrientation | undefined>;
|
|
61
|
-
name?: string;
|
|
62
|
-
required: Ref<boolean>;
|
|
63
|
-
}
|
|
64
|
-
declare const DestylerRadioGroupRoot: vue.DefineComponent<{
|
|
65
|
-
readonly as: {
|
|
66
|
-
readonly type: PropType<AsTag | Component>;
|
|
67
|
-
readonly required: false;
|
|
68
|
-
readonly default: "div";
|
|
69
|
-
};
|
|
70
|
-
readonly asChild: {
|
|
71
|
-
readonly type: PropType<boolean>;
|
|
72
|
-
readonly required: false;
|
|
73
|
-
readonly default: false;
|
|
74
|
-
};
|
|
75
|
-
readonly modelValue: {
|
|
76
|
-
readonly type: PropType<string>;
|
|
77
|
-
readonly required: false;
|
|
78
|
-
};
|
|
79
|
-
readonly defaultValue: {
|
|
80
|
-
readonly type: PropType<string>;
|
|
81
|
-
readonly required: false;
|
|
82
|
-
};
|
|
83
|
-
readonly disabled: {
|
|
84
|
-
readonly type: PropType<boolean>;
|
|
85
|
-
readonly required: false;
|
|
86
|
-
readonly default: false;
|
|
87
|
-
};
|
|
88
|
-
readonly name: {
|
|
89
|
-
readonly type: PropType<string>;
|
|
90
|
-
readonly required: false;
|
|
91
|
-
};
|
|
92
|
-
readonly required: {
|
|
93
|
-
readonly type: PropType<boolean>;
|
|
94
|
-
readonly required: false;
|
|
95
|
-
readonly default: false;
|
|
96
|
-
};
|
|
97
|
-
readonly orientation: {
|
|
98
|
-
readonly type: PropType<DataOrientation>;
|
|
99
|
-
readonly required: false;
|
|
100
|
-
readonly default: undefined;
|
|
101
|
-
};
|
|
102
|
-
readonly dir: {
|
|
103
|
-
readonly type: PropType<Direction>;
|
|
104
|
-
readonly required: false;
|
|
105
|
-
};
|
|
106
|
-
readonly loop: {
|
|
107
|
-
readonly type: PropType<boolean>;
|
|
108
|
-
readonly required: false;
|
|
109
|
-
readonly default: true;
|
|
110
|
-
};
|
|
111
|
-
}, {
|
|
112
|
-
orientation: Ref<DataOrientation | undefined>;
|
|
113
|
-
dir: vue.ComputedRef<Direction>;
|
|
114
|
-
loop: Ref<boolean>;
|
|
115
|
-
disabled: Ref<boolean>;
|
|
116
|
-
required: Ref<boolean>;
|
|
117
|
-
name: Ref<string | undefined>;
|
|
118
|
-
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
119
|
-
readonly as: {
|
|
120
|
-
readonly type: PropType<AsTag | Component>;
|
|
121
|
-
readonly required: false;
|
|
122
|
-
readonly default: "div";
|
|
123
|
-
};
|
|
124
|
-
readonly asChild: {
|
|
125
|
-
readonly type: PropType<boolean>;
|
|
126
|
-
readonly required: false;
|
|
127
|
-
readonly default: false;
|
|
128
|
-
};
|
|
129
|
-
readonly modelValue: {
|
|
130
|
-
readonly type: PropType<string>;
|
|
131
|
-
readonly required: false;
|
|
132
|
-
};
|
|
133
|
-
readonly defaultValue: {
|
|
134
|
-
readonly type: PropType<string>;
|
|
135
|
-
readonly required: false;
|
|
136
|
-
};
|
|
137
|
-
readonly disabled: {
|
|
138
|
-
readonly type: PropType<boolean>;
|
|
139
|
-
readonly required: false;
|
|
140
|
-
readonly default: false;
|
|
141
|
-
};
|
|
142
|
-
readonly name: {
|
|
143
|
-
readonly type: PropType<string>;
|
|
144
|
-
readonly required: false;
|
|
145
|
-
};
|
|
146
|
-
readonly required: {
|
|
147
|
-
readonly type: PropType<boolean>;
|
|
148
|
-
readonly required: false;
|
|
149
|
-
readonly default: false;
|
|
150
|
-
};
|
|
151
|
-
readonly orientation: {
|
|
152
|
-
readonly type: PropType<DataOrientation>;
|
|
153
|
-
readonly required: false;
|
|
154
|
-
readonly default: undefined;
|
|
155
|
-
};
|
|
156
|
-
readonly dir: {
|
|
157
|
-
readonly type: PropType<Direction>;
|
|
158
|
-
readonly required: false;
|
|
159
|
-
};
|
|
160
|
-
readonly loop: {
|
|
161
|
-
readonly type: PropType<boolean>;
|
|
162
|
-
readonly required: false;
|
|
163
|
-
readonly default: true;
|
|
164
|
-
};
|
|
165
|
-
}>> & {
|
|
166
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
167
|
-
}, {
|
|
168
|
-
readonly as: AsTag | Component;
|
|
169
|
-
readonly asChild: boolean;
|
|
170
|
-
readonly disabled: boolean;
|
|
171
|
-
readonly required: boolean;
|
|
172
|
-
readonly orientation: DataOrientation;
|
|
173
|
-
readonly loop: boolean;
|
|
174
|
-
}, {}>;
|
|
175
|
-
|
|
176
|
-
declare const destylerRadioGroupItemProps: {
|
|
177
|
-
readonly as: {
|
|
178
|
-
readonly type: PropType<AsTag | Component>;
|
|
179
|
-
readonly required: false;
|
|
180
|
-
readonly default: "button";
|
|
181
|
-
};
|
|
182
|
-
readonly asChild: {
|
|
183
|
-
readonly type: PropType<boolean>;
|
|
184
|
-
readonly required: false;
|
|
185
|
-
readonly default: false;
|
|
186
|
-
};
|
|
187
|
-
readonly id: {
|
|
188
|
-
readonly type: PropType<string>;
|
|
189
|
-
readonly required: false;
|
|
190
|
-
};
|
|
191
|
-
readonly value: {
|
|
192
|
-
readonly type: PropType<string>;
|
|
193
|
-
readonly required: false;
|
|
194
|
-
};
|
|
195
|
-
readonly disabled: {
|
|
196
|
-
readonly type: PropType<boolean>;
|
|
197
|
-
readonly required: false;
|
|
198
|
-
readonly default: false;
|
|
199
|
-
};
|
|
200
|
-
readonly required: {
|
|
201
|
-
readonly type: PropType<boolean>;
|
|
202
|
-
readonly required: false;
|
|
203
|
-
};
|
|
204
|
-
readonly name: {
|
|
205
|
-
readonly type: PropType<string>;
|
|
206
|
-
readonly required: false;
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
type DestylerRadioGroupItemProps = ExtractPublicPropTypes<typeof destylerRadioGroupItemProps>;
|
|
210
|
-
interface RadioGroupItemContext {
|
|
211
|
-
disabled: ComputedRef<boolean>;
|
|
212
|
-
checked: ComputedRef<boolean>;
|
|
213
|
-
}
|
|
214
|
-
declare const DestylerRadioGroupItem: vue.DefineComponent<{
|
|
215
|
-
readonly as: {
|
|
216
|
-
readonly type: PropType<AsTag | Component>;
|
|
217
|
-
readonly required: false;
|
|
218
|
-
readonly default: "button";
|
|
219
|
-
};
|
|
220
|
-
readonly asChild: {
|
|
221
|
-
readonly type: PropType<boolean>;
|
|
222
|
-
readonly required: false;
|
|
223
|
-
readonly default: false;
|
|
224
|
-
};
|
|
225
|
-
readonly id: {
|
|
226
|
-
readonly type: PropType<string>;
|
|
227
|
-
readonly required: false;
|
|
228
|
-
};
|
|
229
|
-
readonly value: {
|
|
230
|
-
readonly type: PropType<string>;
|
|
231
|
-
readonly required: false;
|
|
232
|
-
};
|
|
233
|
-
readonly disabled: {
|
|
234
|
-
readonly type: PropType<boolean>;
|
|
235
|
-
readonly required: false;
|
|
236
|
-
readonly default: false;
|
|
237
|
-
};
|
|
238
|
-
readonly required: {
|
|
239
|
-
readonly type: PropType<boolean>;
|
|
240
|
-
readonly required: false;
|
|
241
|
-
};
|
|
242
|
-
readonly name: {
|
|
243
|
-
readonly type: PropType<string>;
|
|
244
|
-
readonly required: false;
|
|
245
|
-
};
|
|
246
|
-
}, {
|
|
247
|
-
checked: ComputedRef<boolean>;
|
|
248
|
-
disabled: ComputedRef<boolean>;
|
|
249
|
-
required: ComputedRef<boolean | undefined>;
|
|
250
|
-
forwardRef: (ref: Element | vue.ComponentPublicInstance | null) => void;
|
|
251
|
-
rootContext: RadioGroupRootContext;
|
|
252
|
-
handleFocus: () => void;
|
|
253
|
-
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
254
|
-
readonly as: {
|
|
255
|
-
readonly type: PropType<AsTag | Component>;
|
|
256
|
-
readonly required: false;
|
|
257
|
-
readonly default: "button";
|
|
258
|
-
};
|
|
259
|
-
readonly asChild: {
|
|
260
|
-
readonly type: PropType<boolean>;
|
|
261
|
-
readonly required: false;
|
|
262
|
-
readonly default: false;
|
|
263
|
-
};
|
|
264
|
-
readonly id: {
|
|
265
|
-
readonly type: PropType<string>;
|
|
266
|
-
readonly required: false;
|
|
267
|
-
};
|
|
268
|
-
readonly value: {
|
|
269
|
-
readonly type: PropType<string>;
|
|
270
|
-
readonly required: false;
|
|
271
|
-
};
|
|
272
|
-
readonly disabled: {
|
|
273
|
-
readonly type: PropType<boolean>;
|
|
274
|
-
readonly required: false;
|
|
275
|
-
readonly default: false;
|
|
276
|
-
};
|
|
277
|
-
readonly required: {
|
|
278
|
-
readonly type: PropType<boolean>;
|
|
279
|
-
readonly required: false;
|
|
280
|
-
};
|
|
281
|
-
readonly name: {
|
|
282
|
-
readonly type: PropType<string>;
|
|
283
|
-
readonly required: false;
|
|
284
|
-
};
|
|
285
|
-
}>>, {
|
|
286
|
-
readonly as: AsTag | Component;
|
|
287
|
-
readonly asChild: boolean;
|
|
288
|
-
readonly disabled: boolean;
|
|
289
|
-
}, {}>;
|
|
290
|
-
|
|
291
|
-
declare const destylerRadioGroupIndicatorProps: {
|
|
292
|
-
readonly as: {
|
|
293
|
-
readonly type: PropType<AsTag | Component>;
|
|
294
|
-
readonly required: false;
|
|
295
|
-
readonly default: "span";
|
|
296
|
-
};
|
|
297
|
-
readonly asChild: {
|
|
298
|
-
readonly type: PropType<boolean>;
|
|
299
|
-
readonly required: false;
|
|
300
|
-
readonly default: false;
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
type DestylerRadioGroupIndicatorProps = ExtractPublicPropTypes<typeof destylerRadioGroupIndicatorProps>;
|
|
304
|
-
declare const DestylerRadioGroupIndicator: vue.DefineComponent<{
|
|
305
|
-
readonly as: {
|
|
306
|
-
readonly type: PropType<AsTag | Component>;
|
|
307
|
-
readonly required: false;
|
|
308
|
-
readonly default: "span";
|
|
309
|
-
};
|
|
310
|
-
readonly asChild: {
|
|
311
|
-
readonly type: PropType<boolean>;
|
|
312
|
-
readonly required: false;
|
|
313
|
-
readonly default: false;
|
|
314
|
-
};
|
|
315
|
-
}, {
|
|
316
|
-
itemContext: RadioGroupItemContext;
|
|
317
|
-
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
318
|
-
readonly as: {
|
|
319
|
-
readonly type: PropType<AsTag | Component>;
|
|
320
|
-
readonly required: false;
|
|
321
|
-
readonly default: "span";
|
|
322
|
-
};
|
|
323
|
-
readonly asChild: {
|
|
324
|
-
readonly type: PropType<boolean>;
|
|
325
|
-
readonly required: false;
|
|
326
|
-
readonly default: false;
|
|
327
|
-
};
|
|
328
|
-
}>>, {
|
|
329
|
-
readonly as: AsTag | Component;
|
|
330
|
-
readonly asChild: boolean;
|
|
331
|
-
}, {}>;
|
|
332
|
-
|
|
333
|
-
export { DestylerRadioGroupIndicator, type DestylerRadioGroupIndicatorProps, DestylerRadioGroupItem, type DestylerRadioGroupItemProps, DestylerRadioGroupRoot, type DestylerRadioGroupRootProps };
|
|
1
|
+
export { f as RadioGroupIndicator, h as RadioGroupIndicatorProps, c as RadioGroupItem, e as RadioGroupItemProps, R as RadioGroupRoot, b as RadioGroupRootProps, g as radioGroupIndicatorProps, d as radioGroupItemProps, r as radioGroupRootProps } from './shared/radio.54693474.cjs';
|
|
2
|
+
import 'vue';
|
|
3
|
+
import '@destyler/primitive';
|
|
4
|
+
import '@destyler/shared';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,333 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
declare const destylerRadioGroupRootProps: {
|
|
7
|
-
readonly as: {
|
|
8
|
-
readonly type: PropType<AsTag | Component>;
|
|
9
|
-
readonly required: false;
|
|
10
|
-
readonly default: "div";
|
|
11
|
-
};
|
|
12
|
-
readonly asChild: {
|
|
13
|
-
readonly type: PropType<boolean>;
|
|
14
|
-
readonly required: false;
|
|
15
|
-
readonly default: false;
|
|
16
|
-
};
|
|
17
|
-
readonly modelValue: {
|
|
18
|
-
readonly type: PropType<string>;
|
|
19
|
-
readonly required: false;
|
|
20
|
-
};
|
|
21
|
-
readonly defaultValue: {
|
|
22
|
-
readonly type: PropType<string>;
|
|
23
|
-
readonly required: false;
|
|
24
|
-
};
|
|
25
|
-
readonly disabled: {
|
|
26
|
-
readonly type: PropType<boolean>;
|
|
27
|
-
readonly required: false;
|
|
28
|
-
readonly default: false;
|
|
29
|
-
};
|
|
30
|
-
readonly name: {
|
|
31
|
-
readonly type: PropType<string>;
|
|
32
|
-
readonly required: false;
|
|
33
|
-
};
|
|
34
|
-
readonly required: {
|
|
35
|
-
readonly type: PropType<boolean>;
|
|
36
|
-
readonly required: false;
|
|
37
|
-
readonly default: false;
|
|
38
|
-
};
|
|
39
|
-
readonly orientation: {
|
|
40
|
-
readonly type: PropType<DataOrientation>;
|
|
41
|
-
readonly required: false;
|
|
42
|
-
readonly default: undefined;
|
|
43
|
-
};
|
|
44
|
-
readonly dir: {
|
|
45
|
-
readonly type: PropType<Direction>;
|
|
46
|
-
readonly required: false;
|
|
47
|
-
};
|
|
48
|
-
readonly loop: {
|
|
49
|
-
readonly type: PropType<boolean>;
|
|
50
|
-
readonly required: false;
|
|
51
|
-
readonly default: true;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
type DestylerRadioGroupRootProps = ExtractPublicPropTypes<typeof destylerRadioGroupRootProps>;
|
|
55
|
-
interface RadioGroupRootContext {
|
|
56
|
-
modelValue?: Readonly<Ref<string | undefined>>;
|
|
57
|
-
changeModelValue: (value?: string) => void;
|
|
58
|
-
disabled: Ref<boolean>;
|
|
59
|
-
loop: Ref<boolean>;
|
|
60
|
-
orientation: Ref<DataOrientation | undefined>;
|
|
61
|
-
name?: string;
|
|
62
|
-
required: Ref<boolean>;
|
|
63
|
-
}
|
|
64
|
-
declare const DestylerRadioGroupRoot: vue.DefineComponent<{
|
|
65
|
-
readonly as: {
|
|
66
|
-
readonly type: PropType<AsTag | Component>;
|
|
67
|
-
readonly required: false;
|
|
68
|
-
readonly default: "div";
|
|
69
|
-
};
|
|
70
|
-
readonly asChild: {
|
|
71
|
-
readonly type: PropType<boolean>;
|
|
72
|
-
readonly required: false;
|
|
73
|
-
readonly default: false;
|
|
74
|
-
};
|
|
75
|
-
readonly modelValue: {
|
|
76
|
-
readonly type: PropType<string>;
|
|
77
|
-
readonly required: false;
|
|
78
|
-
};
|
|
79
|
-
readonly defaultValue: {
|
|
80
|
-
readonly type: PropType<string>;
|
|
81
|
-
readonly required: false;
|
|
82
|
-
};
|
|
83
|
-
readonly disabled: {
|
|
84
|
-
readonly type: PropType<boolean>;
|
|
85
|
-
readonly required: false;
|
|
86
|
-
readonly default: false;
|
|
87
|
-
};
|
|
88
|
-
readonly name: {
|
|
89
|
-
readonly type: PropType<string>;
|
|
90
|
-
readonly required: false;
|
|
91
|
-
};
|
|
92
|
-
readonly required: {
|
|
93
|
-
readonly type: PropType<boolean>;
|
|
94
|
-
readonly required: false;
|
|
95
|
-
readonly default: false;
|
|
96
|
-
};
|
|
97
|
-
readonly orientation: {
|
|
98
|
-
readonly type: PropType<DataOrientation>;
|
|
99
|
-
readonly required: false;
|
|
100
|
-
readonly default: undefined;
|
|
101
|
-
};
|
|
102
|
-
readonly dir: {
|
|
103
|
-
readonly type: PropType<Direction>;
|
|
104
|
-
readonly required: false;
|
|
105
|
-
};
|
|
106
|
-
readonly loop: {
|
|
107
|
-
readonly type: PropType<boolean>;
|
|
108
|
-
readonly required: false;
|
|
109
|
-
readonly default: true;
|
|
110
|
-
};
|
|
111
|
-
}, {
|
|
112
|
-
orientation: Ref<DataOrientation | undefined>;
|
|
113
|
-
dir: vue.ComputedRef<Direction>;
|
|
114
|
-
loop: Ref<boolean>;
|
|
115
|
-
disabled: Ref<boolean>;
|
|
116
|
-
required: Ref<boolean>;
|
|
117
|
-
name: Ref<string | undefined>;
|
|
118
|
-
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
119
|
-
readonly as: {
|
|
120
|
-
readonly type: PropType<AsTag | Component>;
|
|
121
|
-
readonly required: false;
|
|
122
|
-
readonly default: "div";
|
|
123
|
-
};
|
|
124
|
-
readonly asChild: {
|
|
125
|
-
readonly type: PropType<boolean>;
|
|
126
|
-
readonly required: false;
|
|
127
|
-
readonly default: false;
|
|
128
|
-
};
|
|
129
|
-
readonly modelValue: {
|
|
130
|
-
readonly type: PropType<string>;
|
|
131
|
-
readonly required: false;
|
|
132
|
-
};
|
|
133
|
-
readonly defaultValue: {
|
|
134
|
-
readonly type: PropType<string>;
|
|
135
|
-
readonly required: false;
|
|
136
|
-
};
|
|
137
|
-
readonly disabled: {
|
|
138
|
-
readonly type: PropType<boolean>;
|
|
139
|
-
readonly required: false;
|
|
140
|
-
readonly default: false;
|
|
141
|
-
};
|
|
142
|
-
readonly name: {
|
|
143
|
-
readonly type: PropType<string>;
|
|
144
|
-
readonly required: false;
|
|
145
|
-
};
|
|
146
|
-
readonly required: {
|
|
147
|
-
readonly type: PropType<boolean>;
|
|
148
|
-
readonly required: false;
|
|
149
|
-
readonly default: false;
|
|
150
|
-
};
|
|
151
|
-
readonly orientation: {
|
|
152
|
-
readonly type: PropType<DataOrientation>;
|
|
153
|
-
readonly required: false;
|
|
154
|
-
readonly default: undefined;
|
|
155
|
-
};
|
|
156
|
-
readonly dir: {
|
|
157
|
-
readonly type: PropType<Direction>;
|
|
158
|
-
readonly required: false;
|
|
159
|
-
};
|
|
160
|
-
readonly loop: {
|
|
161
|
-
readonly type: PropType<boolean>;
|
|
162
|
-
readonly required: false;
|
|
163
|
-
readonly default: true;
|
|
164
|
-
};
|
|
165
|
-
}>> & {
|
|
166
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
167
|
-
}, {
|
|
168
|
-
readonly as: AsTag | Component;
|
|
169
|
-
readonly asChild: boolean;
|
|
170
|
-
readonly disabled: boolean;
|
|
171
|
-
readonly required: boolean;
|
|
172
|
-
readonly orientation: DataOrientation;
|
|
173
|
-
readonly loop: boolean;
|
|
174
|
-
}, {}>;
|
|
175
|
-
|
|
176
|
-
declare const destylerRadioGroupItemProps: {
|
|
177
|
-
readonly as: {
|
|
178
|
-
readonly type: PropType<AsTag | Component>;
|
|
179
|
-
readonly required: false;
|
|
180
|
-
readonly default: "button";
|
|
181
|
-
};
|
|
182
|
-
readonly asChild: {
|
|
183
|
-
readonly type: PropType<boolean>;
|
|
184
|
-
readonly required: false;
|
|
185
|
-
readonly default: false;
|
|
186
|
-
};
|
|
187
|
-
readonly id: {
|
|
188
|
-
readonly type: PropType<string>;
|
|
189
|
-
readonly required: false;
|
|
190
|
-
};
|
|
191
|
-
readonly value: {
|
|
192
|
-
readonly type: PropType<string>;
|
|
193
|
-
readonly required: false;
|
|
194
|
-
};
|
|
195
|
-
readonly disabled: {
|
|
196
|
-
readonly type: PropType<boolean>;
|
|
197
|
-
readonly required: false;
|
|
198
|
-
readonly default: false;
|
|
199
|
-
};
|
|
200
|
-
readonly required: {
|
|
201
|
-
readonly type: PropType<boolean>;
|
|
202
|
-
readonly required: false;
|
|
203
|
-
};
|
|
204
|
-
readonly name: {
|
|
205
|
-
readonly type: PropType<string>;
|
|
206
|
-
readonly required: false;
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
type DestylerRadioGroupItemProps = ExtractPublicPropTypes<typeof destylerRadioGroupItemProps>;
|
|
210
|
-
interface RadioGroupItemContext {
|
|
211
|
-
disabled: ComputedRef<boolean>;
|
|
212
|
-
checked: ComputedRef<boolean>;
|
|
213
|
-
}
|
|
214
|
-
declare const DestylerRadioGroupItem: vue.DefineComponent<{
|
|
215
|
-
readonly as: {
|
|
216
|
-
readonly type: PropType<AsTag | Component>;
|
|
217
|
-
readonly required: false;
|
|
218
|
-
readonly default: "button";
|
|
219
|
-
};
|
|
220
|
-
readonly asChild: {
|
|
221
|
-
readonly type: PropType<boolean>;
|
|
222
|
-
readonly required: false;
|
|
223
|
-
readonly default: false;
|
|
224
|
-
};
|
|
225
|
-
readonly id: {
|
|
226
|
-
readonly type: PropType<string>;
|
|
227
|
-
readonly required: false;
|
|
228
|
-
};
|
|
229
|
-
readonly value: {
|
|
230
|
-
readonly type: PropType<string>;
|
|
231
|
-
readonly required: false;
|
|
232
|
-
};
|
|
233
|
-
readonly disabled: {
|
|
234
|
-
readonly type: PropType<boolean>;
|
|
235
|
-
readonly required: false;
|
|
236
|
-
readonly default: false;
|
|
237
|
-
};
|
|
238
|
-
readonly required: {
|
|
239
|
-
readonly type: PropType<boolean>;
|
|
240
|
-
readonly required: false;
|
|
241
|
-
};
|
|
242
|
-
readonly name: {
|
|
243
|
-
readonly type: PropType<string>;
|
|
244
|
-
readonly required: false;
|
|
245
|
-
};
|
|
246
|
-
}, {
|
|
247
|
-
checked: ComputedRef<boolean>;
|
|
248
|
-
disabled: ComputedRef<boolean>;
|
|
249
|
-
required: ComputedRef<boolean | undefined>;
|
|
250
|
-
forwardRef: (ref: Element | vue.ComponentPublicInstance | null) => void;
|
|
251
|
-
rootContext: RadioGroupRootContext;
|
|
252
|
-
handleFocus: () => void;
|
|
253
|
-
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
254
|
-
readonly as: {
|
|
255
|
-
readonly type: PropType<AsTag | Component>;
|
|
256
|
-
readonly required: false;
|
|
257
|
-
readonly default: "button";
|
|
258
|
-
};
|
|
259
|
-
readonly asChild: {
|
|
260
|
-
readonly type: PropType<boolean>;
|
|
261
|
-
readonly required: false;
|
|
262
|
-
readonly default: false;
|
|
263
|
-
};
|
|
264
|
-
readonly id: {
|
|
265
|
-
readonly type: PropType<string>;
|
|
266
|
-
readonly required: false;
|
|
267
|
-
};
|
|
268
|
-
readonly value: {
|
|
269
|
-
readonly type: PropType<string>;
|
|
270
|
-
readonly required: false;
|
|
271
|
-
};
|
|
272
|
-
readonly disabled: {
|
|
273
|
-
readonly type: PropType<boolean>;
|
|
274
|
-
readonly required: false;
|
|
275
|
-
readonly default: false;
|
|
276
|
-
};
|
|
277
|
-
readonly required: {
|
|
278
|
-
readonly type: PropType<boolean>;
|
|
279
|
-
readonly required: false;
|
|
280
|
-
};
|
|
281
|
-
readonly name: {
|
|
282
|
-
readonly type: PropType<string>;
|
|
283
|
-
readonly required: false;
|
|
284
|
-
};
|
|
285
|
-
}>>, {
|
|
286
|
-
readonly as: AsTag | Component;
|
|
287
|
-
readonly asChild: boolean;
|
|
288
|
-
readonly disabled: boolean;
|
|
289
|
-
}, {}>;
|
|
290
|
-
|
|
291
|
-
declare const destylerRadioGroupIndicatorProps: {
|
|
292
|
-
readonly as: {
|
|
293
|
-
readonly type: PropType<AsTag | Component>;
|
|
294
|
-
readonly required: false;
|
|
295
|
-
readonly default: "span";
|
|
296
|
-
};
|
|
297
|
-
readonly asChild: {
|
|
298
|
-
readonly type: PropType<boolean>;
|
|
299
|
-
readonly required: false;
|
|
300
|
-
readonly default: false;
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
type DestylerRadioGroupIndicatorProps = ExtractPublicPropTypes<typeof destylerRadioGroupIndicatorProps>;
|
|
304
|
-
declare const DestylerRadioGroupIndicator: vue.DefineComponent<{
|
|
305
|
-
readonly as: {
|
|
306
|
-
readonly type: PropType<AsTag | Component>;
|
|
307
|
-
readonly required: false;
|
|
308
|
-
readonly default: "span";
|
|
309
|
-
};
|
|
310
|
-
readonly asChild: {
|
|
311
|
-
readonly type: PropType<boolean>;
|
|
312
|
-
readonly required: false;
|
|
313
|
-
readonly default: false;
|
|
314
|
-
};
|
|
315
|
-
}, {
|
|
316
|
-
itemContext: RadioGroupItemContext;
|
|
317
|
-
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
318
|
-
readonly as: {
|
|
319
|
-
readonly type: PropType<AsTag | Component>;
|
|
320
|
-
readonly required: false;
|
|
321
|
-
readonly default: "span";
|
|
322
|
-
};
|
|
323
|
-
readonly asChild: {
|
|
324
|
-
readonly type: PropType<boolean>;
|
|
325
|
-
readonly required: false;
|
|
326
|
-
readonly default: false;
|
|
327
|
-
};
|
|
328
|
-
}>>, {
|
|
329
|
-
readonly as: AsTag | Component;
|
|
330
|
-
readonly asChild: boolean;
|
|
331
|
-
}, {}>;
|
|
332
|
-
|
|
333
|
-
export { DestylerRadioGroupIndicator, type DestylerRadioGroupIndicatorProps, DestylerRadioGroupItem, type DestylerRadioGroupItemProps, DestylerRadioGroupRoot, type DestylerRadioGroupRootProps };
|
|
1
|
+
export { f as RadioGroupIndicator, h as RadioGroupIndicatorProps, c as RadioGroupItem, e as RadioGroupItemProps, R as RadioGroupRoot, b as RadioGroupRootProps, g as radioGroupIndicatorProps, d as radioGroupItemProps, r as radioGroupRootProps } from './shared/radio.54693474.mjs';
|
|
2
|
+
import 'vue';
|
|
3
|
+
import '@destyler/primitive';
|
|
4
|
+
import '@destyler/shared';
|