@sprawlify/vue 0.0.67 → 0.0.70
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/{collapsible-DQfAISmg.js → collapsible-D1Mx4C0H.js} +5 -4
- package/dist/{collection-Ba0Aeh5P.js → collection-DiwGNCAy.js} +1 -1
- package/dist/components/accordion/index.d.ts +20 -20
- package/dist/components/accordion/index.js +8 -7
- package/dist/components/angle-slider/index.d.ts +19 -19
- 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 +20 -20
- 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 +7 -6
- 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 +17 -17
- 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 +59 -59
- package/dist/components/color-picker/index.js +8 -7
- package/dist/components/combobox/index.d.ts +39 -39
- package/dist/components/combobox/index.js +9 -8
- package/dist/components/date-picker/index.d.ts +55 -55
- package/dist/components/date-picker/index.js +7 -6
- package/dist/components/dialog/index.d.ts +31 -31
- 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 +20 -20
- 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 +326 -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 +5 -5
- 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 +53 -53
- 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/select/index.d.ts +37 -37
- package/dist/components/select/index.js +9 -8
- 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-ByYmM8LZ.d.ts +447 -0
- package/dist/{index-CDQghZtv.d.ts → index-Cjk1WhUx.d.ts} +9 -9
- package/dist/{index-BBHms9-0.d.ts → index-D0_ID5xv.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -2
- package/dist/{presence-CvUnYMZQ.js → presence-BK6rPXK7.js} +3 -2
- package/dist/{providers-B2CNPFg1.js → providers-DNBWT-O_.js} +1 -1
- package/dist/tree-view-CzfDgztL.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-DMa_QmB6.js} +1 -1
- package/package.json +70 -2
- /package/dist/{clean-props-BDv2zb5M.js → clean-props-ChPEW0vT.js} +0 -0
- /package/dist/{create-split-props-YZ3qgXe_.js → create-split-props-BDJ_VWs3.js} +0 -0
- /package/dist/{factory-BH3WrWd2.js → factory-Co08Aw8u.js} +0 -0
- /package/dist/{factory-D_ge_w76.d.ts → factory-Dg6Whljf.d.ts} +0 -0
- /package/dist/{index-B66Om_3U.d.ts → index-DI09ccnU.d.ts} +0 -0
- /package/dist/{index-DqRk-Yea.d.ts → index-ECeveDvH.d.ts} +0 -0
- /package/dist/{presence-types-Bv1E60Cw.d.ts → presence-types-BaQ7PILD.d.ts} +0 -0
- /package/dist/{types-Bj-dS2Hc.d.ts → types-BkS9kMJ5.d.ts} +0 -0
- /package/dist/{use-render-strategy-CHj_pCfT.d.ts → use-render-strategy-bdLKqL57.d.ts} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { t as RootEmits$1 } from "../../presence-types-
|
|
3
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
5
|
-
import { t as RenderStrategyProps } from "../../use-render-strategy-
|
|
6
|
-
import * as
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-Dg6Whljf.js";
|
|
2
|
+
import { t as RootEmits$1 } from "../../presence-types-BaQ7PILD.js";
|
|
3
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-BkS9kMJ5.js";
|
|
4
|
+
import { r as PropTypes } from "../../index-DI09ccnU.js";
|
|
5
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-bdLKqL57.js";
|
|
6
|
+
import * as vue647 from "vue";
|
|
7
7
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, Reactive, SelectHTMLAttributes, SlotsType, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, UnwrapRef } from "vue";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _sprawlify_primitives_anatomy1 from "@sprawlify/primitives/anatomy";
|
|
9
9
|
import * as datePicker from "@sprawlify/primitives/machines/date-picker";
|
|
10
10
|
import { DateValue, DateValue as DateValue$1, DateValue as DateValue$2, DateView, DayTableCellProps, FocusChangeDetails, FocusChangeDetails as DatePickerFocusChangeDetails, InputProps, OpenChangeDetails, OpenChangeDetails as DatePickerOpenChangeDetails, PresetTriggerProps, TableCellProps, TableProps, ValueChangeDetails, ValueChangeDetails as DatePickerValueChangeDetails, ViewChangeDetails, ViewChangeDetails as DatePickerViewChangeDetails, parse as parseDate } from "@sprawlify/primitives/machines/date-picker";
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ interface DatePickerClearTriggerProps extends DatePickerClearTriggerBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
ButtonHTMLAttributes {}
|
|
19
19
|
declare const _default: typeof __VLS_export$26;
|
|
20
|
-
declare const __VLS_export$26: __VLS_WithSlots$23<
|
|
20
|
+
declare const __VLS_export$26: __VLS_WithSlots$23<vue647.DefineComponent<DatePickerClearTriggerProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerClearTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots$23<T, S> = T & {
|
|
@@ -34,7 +34,7 @@ interface DatePickerContentProps extends DatePickerContentBaseProps,
|
|
|
34
34
|
*/
|
|
35
35
|
HTMLAttributes {}
|
|
36
36
|
declare const _default$1: typeof __VLS_export$25;
|
|
37
|
-
declare const __VLS_export$25: __VLS_WithSlots$22<
|
|
37
|
+
declare const __VLS_export$25: __VLS_WithSlots$22<vue647.DefineComponent<DatePickerContentProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
default?: (props: {}) => any;
|
|
39
39
|
}>;
|
|
40
40
|
type __VLS_WithSlots$22<T, S> = T & {
|
|
@@ -127,7 +127,7 @@ interface DatePickerContextProps extends SlotsType<{
|
|
|
127
127
|
default: UnwrapRef<UseDatePickerContext>;
|
|
128
128
|
}> {}
|
|
129
129
|
declare const _default$2: typeof __VLS_export$24;
|
|
130
|
-
declare const __VLS_export$24: __VLS_WithSlots$21<
|
|
130
|
+
declare const __VLS_export$24: __VLS_WithSlots$21<vue647.DefineComponent<{}, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, true, {}, any>, {
|
|
131
131
|
default(datePicker: UnwrapRef<UseDatePickerContext>): unknown;
|
|
132
132
|
}>;
|
|
133
133
|
type __VLS_WithSlots$21<T, S> = T & {
|
|
@@ -144,7 +144,7 @@ interface DatePickerControlProps extends DatePickerControlBaseProps,
|
|
|
144
144
|
*/
|
|
145
145
|
HTMLAttributes {}
|
|
146
146
|
declare const _default$3: typeof __VLS_export$23;
|
|
147
|
-
declare const __VLS_export$23: __VLS_WithSlots$20<
|
|
147
|
+
declare const __VLS_export$23: __VLS_WithSlots$20<vue647.DefineComponent<DatePickerControlProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
148
148
|
default?: (props: {}) => any;
|
|
149
149
|
}>;
|
|
150
150
|
type __VLS_WithSlots$20<T, S> = T & {
|
|
@@ -161,7 +161,7 @@ interface DatePickerInputProps extends DatePickerInputBaseProps,
|
|
|
161
161
|
*/
|
|
162
162
|
InputHTMLAttributes {}
|
|
163
163
|
declare const _default$4: typeof __VLS_export$22;
|
|
164
|
-
declare const __VLS_export$22: __VLS_WithSlots$19<
|
|
164
|
+
declare const __VLS_export$22: __VLS_WithSlots$19<vue647.DefineComponent<DatePickerInputProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
165
165
|
default?: (props: {}) => any;
|
|
166
166
|
}>;
|
|
167
167
|
type __VLS_WithSlots$19<T, S> = T & {
|
|
@@ -178,7 +178,7 @@ interface DatePickerLabelProps extends DatePickerLabelBaseProps,
|
|
|
178
178
|
*/
|
|
179
179
|
LabelHTMLAttributes {}
|
|
180
180
|
declare const _default$5: typeof __VLS_export$21;
|
|
181
|
-
declare const __VLS_export$21: __VLS_WithSlots$18<
|
|
181
|
+
declare const __VLS_export$21: __VLS_WithSlots$18<vue647.DefineComponent<DatePickerLabelProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
182
182
|
default?: (props: {}) => any;
|
|
183
183
|
}>;
|
|
184
184
|
type __VLS_WithSlots$18<T, S> = T & {
|
|
@@ -195,7 +195,7 @@ interface DatePickerMonthSelectProps extends DatePickerMonthSelectBaseProps,
|
|
|
195
195
|
*/
|
|
196
196
|
SelectHTMLAttributes {}
|
|
197
197
|
declare const _default$6: typeof __VLS_export$20;
|
|
198
|
-
declare const __VLS_export$20:
|
|
198
|
+
declare const __VLS_export$20: vue647.DefineComponent<DatePickerMonthSelectProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerMonthSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>;
|
|
199
199
|
//#endregion
|
|
200
200
|
//#region src/components/date-picker/date-picker-next-trigger.vue.d.ts
|
|
201
201
|
interface DatePickerNextTriggerBaseProps extends PolymorphicProps {}
|
|
@@ -205,7 +205,7 @@ interface DatePickerNextTriggerProps extends DatePickerNextTriggerBaseProps,
|
|
|
205
205
|
*/
|
|
206
206
|
ButtonHTMLAttributes {}
|
|
207
207
|
declare const _default$7: typeof __VLS_export$19;
|
|
208
|
-
declare const __VLS_export$19: __VLS_WithSlots$17<
|
|
208
|
+
declare const __VLS_export$19: __VLS_WithSlots$17<vue647.DefineComponent<DatePickerNextTriggerProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerNextTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
209
209
|
default?: (props: {}) => any;
|
|
210
210
|
}>;
|
|
211
211
|
type __VLS_WithSlots$17<T, S> = T & {
|
|
@@ -222,7 +222,7 @@ interface DatePickerPositionerProps extends DatePickerPositionerBaseProps,
|
|
|
222
222
|
*/
|
|
223
223
|
HTMLAttributes {}
|
|
224
224
|
declare const _default$8: typeof __VLS_export$18;
|
|
225
|
-
declare const __VLS_export$18: __VLS_WithSlots$16<
|
|
225
|
+
declare const __VLS_export$18: __VLS_WithSlots$16<vue647.DefineComponent<DatePickerPositionerProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
226
226
|
default?: (props: {}) => any;
|
|
227
227
|
}>;
|
|
228
228
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
@@ -239,7 +239,7 @@ interface DatePickerPresetTriggerProps extends DatePickerPresetTriggerBaseProps,
|
|
|
239
239
|
*/
|
|
240
240
|
Omit<ButtonHTMLAttributes, 'value'> {}
|
|
241
241
|
declare const _default$9: typeof __VLS_export$17;
|
|
242
|
-
declare const __VLS_export$17: __VLS_WithSlots$15<
|
|
242
|
+
declare const __VLS_export$17: __VLS_WithSlots$15<vue647.DefineComponent<DatePickerPresetTriggerProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerPresetTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
243
243
|
default?: (props: {}) => any;
|
|
244
244
|
}>;
|
|
245
245
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
@@ -256,7 +256,7 @@ interface DatePickerPrevTriggerProps extends DatePickerPrevTriggerBaseProps,
|
|
|
256
256
|
*/
|
|
257
257
|
ButtonHTMLAttributes {}
|
|
258
258
|
declare const _default$10: typeof __VLS_export$16;
|
|
259
|
-
declare const __VLS_export$16: __VLS_WithSlots$14<
|
|
259
|
+
declare const __VLS_export$16: __VLS_WithSlots$14<vue647.DefineComponent<DatePickerPrevTriggerProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerPrevTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
260
260
|
default?: (props: {}) => any;
|
|
261
261
|
}>;
|
|
262
262
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -273,7 +273,7 @@ interface DatePickerRangeTextProps extends DatePickerRangeTextBaseProps,
|
|
|
273
273
|
*/
|
|
274
274
|
HTMLAttributes {}
|
|
275
275
|
declare const _default$11: typeof __VLS_export$15;
|
|
276
|
-
declare const __VLS_export$15:
|
|
276
|
+
declare const __VLS_export$15: vue647.DefineComponent<DatePickerRangeTextProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerRangeTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>;
|
|
277
277
|
//#endregion
|
|
278
278
|
//#region src/components/date-picker/date-picker-value-text.vue.d.ts
|
|
279
279
|
interface DatePickerValueTextRenderProps {
|
|
@@ -292,9 +292,9 @@ interface DatePickerValueTextProps extends DatePickerValueTextBaseProps,
|
|
|
292
292
|
*/
|
|
293
293
|
HTMLAttributes {}
|
|
294
294
|
declare const _default$22: typeof __VLS_export$14;
|
|
295
|
-
declare const __VLS_export$14: __VLS_WithSlots$13<
|
|
295
|
+
declare const __VLS_export$14: __VLS_WithSlots$13<vue647.DefineComponent<DatePickerValueTextProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerValueTextProps> & Readonly<{}>, {
|
|
296
296
|
separator: string;
|
|
297
|
-
}, {}, {}, {}, string,
|
|
297
|
+
}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
298
298
|
default?: (props: {
|
|
299
299
|
value: DateValue$1;
|
|
300
300
|
index: number;
|
|
@@ -320,11 +320,11 @@ interface DatePickerRootProviderProps extends DatePickerRootProviderBaseProps,
|
|
|
320
320
|
HTMLAttributes {}
|
|
321
321
|
interface DatePickerRootProviderEmits extends RootEmits$1 {}
|
|
322
322
|
declare const _default$13: typeof __VLS_export$13;
|
|
323
|
-
declare const __VLS_export$13: __VLS_WithSlots$12<
|
|
323
|
+
declare const __VLS_export$13: __VLS_WithSlots$12<vue647.DefineComponent<DatePickerRootProviderProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {
|
|
324
324
|
exitComplete: () => any;
|
|
325
|
-
}, string,
|
|
325
|
+
}, string, vue647.PublicProps, Readonly<DatePickerRootProviderProps> & Readonly<{
|
|
326
326
|
onExitComplete?: (() => any) | undefined;
|
|
327
|
-
}>, {}, {}, {}, {}, string,
|
|
327
|
+
}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
328
328
|
default?: (props: {}) => any;
|
|
329
329
|
}>;
|
|
330
330
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -342,40 +342,40 @@ interface DatePickerRootProps extends DatePickerRootBaseProps,
|
|
|
342
342
|
HTMLAttributes {}
|
|
343
343
|
interface DatePickerRootEmits extends RootEmits {}
|
|
344
344
|
declare const _default$12: typeof __VLS_export$12;
|
|
345
|
-
declare const __VLS_export$12: __VLS_WithSlots$11<
|
|
346
|
-
|
|
345
|
+
declare const __VLS_export$12: __VLS_WithSlots$11<vue647.DefineComponent<DatePickerRootProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {
|
|
346
|
+
focusChange: (details: datePicker.FocusChangeDetails) => any;
|
|
347
|
+
"update:focusedValue": (focusedValue: undefined) => any;
|
|
347
348
|
openChange: (details: datePicker.OpenChangeDetails) => any;
|
|
348
|
-
"update:open": (open: boolean) => any;
|
|
349
|
-
"update:modelValue": (value: undefined[]) => any;
|
|
350
349
|
valueChange: (details: datePicker.ValueChangeDetails) => any;
|
|
351
|
-
|
|
350
|
+
"update:modelValue": (value: undefined[]) => any;
|
|
351
|
+
exitComplete: () => any;
|
|
352
|
+
"update:open": (open: boolean) => any;
|
|
352
353
|
viewChange: (details: datePicker.ViewChangeDetails) => any;
|
|
353
354
|
visibleRangeChange: (details: datePicker.VisibleRangeChangeDetails) => any;
|
|
354
355
|
"update:view": (view: datePicker.DateView) => any;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
}, string, vue647.PublicProps, Readonly<DatePickerRootProps> & Readonly<{
|
|
357
|
+
onFocusChange?: ((details: datePicker.FocusChangeDetails) => any) | undefined;
|
|
358
|
+
"onUpdate:focusedValue"?: ((focusedValue: undefined) => any) | undefined;
|
|
358
359
|
onOpenChange?: ((details: datePicker.OpenChangeDetails) => any) | undefined;
|
|
359
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
360
|
-
"onUpdate:modelValue"?: ((value: undefined[]) => any) | undefined;
|
|
361
360
|
onValueChange?: ((details: datePicker.ValueChangeDetails) => any) | undefined;
|
|
362
|
-
|
|
361
|
+
"onUpdate:modelValue"?: ((value: undefined[]) => any) | undefined;
|
|
362
|
+
onExitComplete?: (() => any) | undefined;
|
|
363
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
363
364
|
onViewChange?: ((details: datePicker.ViewChangeDetails) => any) | undefined;
|
|
364
365
|
onVisibleRangeChange?: ((details: datePicker.VisibleRangeChangeDetails) => any) | undefined;
|
|
365
366
|
"onUpdate:view"?: ((view: datePicker.DateView) => any) | undefined;
|
|
366
|
-
"onUpdate:focusedValue"?: ((focusedValue: undefined) => any) | undefined;
|
|
367
367
|
}>, {
|
|
368
|
-
defaultOpen: boolean;
|
|
369
368
|
disabled: boolean;
|
|
370
|
-
open: boolean;
|
|
371
|
-
inline: boolean;
|
|
372
|
-
closeOnSelect: boolean;
|
|
373
369
|
required: boolean;
|
|
374
|
-
|
|
370
|
+
inline: boolean;
|
|
375
371
|
readOnly: boolean;
|
|
372
|
+
open: boolean;
|
|
373
|
+
defaultOpen: boolean;
|
|
374
|
+
invalid: boolean;
|
|
375
|
+
closeOnSelect: boolean;
|
|
376
376
|
fixedWeeks: boolean;
|
|
377
377
|
outsideDaySelectable: boolean;
|
|
378
|
-
}, {}, {}, {}, string,
|
|
378
|
+
}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
379
379
|
default?: (props: {}) => any;
|
|
380
380
|
}>;
|
|
381
381
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -392,7 +392,7 @@ interface DatePickerTableBodyProps extends DatePickerTableBodyBaseProps,
|
|
|
392
392
|
*/
|
|
393
393
|
HTMLAttributes {}
|
|
394
394
|
declare const _default$15: typeof __VLS_export$11;
|
|
395
|
-
declare const __VLS_export$11: __VLS_WithSlots$10<
|
|
395
|
+
declare const __VLS_export$11: __VLS_WithSlots$10<vue647.DefineComponent<DatePickerTableBodyProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerTableBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
396
396
|
default?: (props: {}) => any;
|
|
397
397
|
}>;
|
|
398
398
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -409,7 +409,7 @@ interface DatePickerTableCellTriggerProps extends DatePickerTableCellTriggerBase
|
|
|
409
409
|
*/
|
|
410
410
|
HTMLAttributes {}
|
|
411
411
|
declare const _default$17: typeof __VLS_export$10;
|
|
412
|
-
declare const __VLS_export$10: __VLS_WithSlots$9<
|
|
412
|
+
declare const __VLS_export$10: __VLS_WithSlots$9<vue647.DefineComponent<DatePickerTableCellTriggerProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerTableCellTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
413
413
|
default?: (props: {}) => any;
|
|
414
414
|
}>;
|
|
415
415
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -431,7 +431,7 @@ interface DatePickerTableCellProps extends DatePickerTableCellBaseProps,
|
|
|
431
431
|
*/
|
|
432
432
|
TdHTMLAttributes {}
|
|
433
433
|
declare const _default$16: typeof __VLS_export$9;
|
|
434
|
-
declare const __VLS_export$9: __VLS_WithSlots$8<
|
|
434
|
+
declare const __VLS_export$9: __VLS_WithSlots$8<vue647.DefineComponent<DatePickerTableCellProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerTableCellProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
435
435
|
default?: (props: {}) => any;
|
|
436
436
|
}>;
|
|
437
437
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -448,7 +448,7 @@ interface DatePickerTableHeadProps extends DatePickerTableHeadBaseProps,
|
|
|
448
448
|
*/
|
|
449
449
|
HTMLAttributes {}
|
|
450
450
|
declare const _default$18: typeof __VLS_export$8;
|
|
451
|
-
declare const __VLS_export$8: __VLS_WithSlots$7<
|
|
451
|
+
declare const __VLS_export$8: __VLS_WithSlots$7<vue647.DefineComponent<DatePickerTableHeadProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerTableHeadProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
452
452
|
default?: (props: {}) => any;
|
|
453
453
|
}>;
|
|
454
454
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -465,7 +465,7 @@ interface DatePickerTableHeaderProps extends DatePickerTableHeaderBaseProps,
|
|
|
465
465
|
*/
|
|
466
466
|
ThHTMLAttributes {}
|
|
467
467
|
declare const _default$19: typeof __VLS_export$7;
|
|
468
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<
|
|
468
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue647.DefineComponent<DatePickerTableHeaderProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerTableHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
469
469
|
default?: (props: {}) => any;
|
|
470
470
|
}>;
|
|
471
471
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -482,7 +482,7 @@ interface DatePickerTableRowProps extends DatePickerTableRowBaseProps,
|
|
|
482
482
|
*/
|
|
483
483
|
HTMLAttributes {}
|
|
484
484
|
declare const _default$20: typeof __VLS_export$6;
|
|
485
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<
|
|
485
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue647.DefineComponent<DatePickerTableRowProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerTableRowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
486
486
|
default?: (props: {}) => any;
|
|
487
487
|
}>;
|
|
488
488
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -499,7 +499,7 @@ interface DatePickerTableProps extends DatePickerTableBaseProps,
|
|
|
499
499
|
*/
|
|
500
500
|
TableHTMLAttributes {}
|
|
501
501
|
declare const _default$14: typeof __VLS_export$5;
|
|
502
|
-
declare const __VLS_export$5: __VLS_WithSlots$4<
|
|
502
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<vue647.DefineComponent<DatePickerTableProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerTableProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
503
503
|
default?: (props: {}) => any;
|
|
504
504
|
}>;
|
|
505
505
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -516,7 +516,7 @@ interface DatePickerTriggerProps extends DatePickerTriggerBaseProps,
|
|
|
516
516
|
*/
|
|
517
517
|
ButtonHTMLAttributes {}
|
|
518
518
|
declare const _default$21: typeof __VLS_export$4;
|
|
519
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<
|
|
519
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<vue647.DefineComponent<DatePickerTriggerProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
520
520
|
default?: (props: {}) => any;
|
|
521
521
|
}>;
|
|
522
522
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -533,7 +533,7 @@ interface DatePickerViewControlProps extends DatePickerViewControlBaseProps,
|
|
|
533
533
|
*/
|
|
534
534
|
HTMLAttributes {}
|
|
535
535
|
declare const _default$24: typeof __VLS_export$3;
|
|
536
|
-
declare const __VLS_export$3: __VLS_WithSlots$2<
|
|
536
|
+
declare const __VLS_export$3: __VLS_WithSlots$2<vue647.DefineComponent<DatePickerViewControlProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerViewControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
537
537
|
default?: (props: {}) => any;
|
|
538
538
|
}>;
|
|
539
539
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -550,7 +550,7 @@ interface DatePickerViewTriggerProps extends DatePickerViewTriggerBaseProps,
|
|
|
550
550
|
*/
|
|
551
551
|
ButtonHTMLAttributes {}
|
|
552
552
|
declare const _default$25: typeof __VLS_export$2;
|
|
553
|
-
declare const __VLS_export$2: __VLS_WithSlots$1<
|
|
553
|
+
declare const __VLS_export$2: __VLS_WithSlots$1<vue647.DefineComponent<DatePickerViewTriggerProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerViewTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
554
554
|
default?: (props: {}) => any;
|
|
555
555
|
}>;
|
|
556
556
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -569,7 +569,7 @@ HTMLAttributes {
|
|
|
569
569
|
view: DateView;
|
|
570
570
|
}
|
|
571
571
|
declare const _default$23: typeof __VLS_export$1;
|
|
572
|
-
declare const __VLS_export$1: __VLS_WithSlots<
|
|
572
|
+
declare const __VLS_export$1: __VLS_WithSlots<vue647.DefineComponent<DatePickerViewProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerViewProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>, {
|
|
573
573
|
default?: (props: {}) => any;
|
|
574
574
|
}>;
|
|
575
575
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -586,10 +586,10 @@ interface DatePickerYearSelectProps extends DatePickerYearSelectBaseProps,
|
|
|
586
586
|
*/
|
|
587
587
|
SelectHTMLAttributes {}
|
|
588
588
|
declare const _default$26: typeof __VLS_export;
|
|
589
|
-
declare const __VLS_export:
|
|
589
|
+
declare const __VLS_export: vue647.DefineComponent<DatePickerYearSelectProps, {}, {}, {}, {}, vue647.ComponentOptionsMixin, vue647.ComponentOptionsMixin, {}, string, vue647.PublicProps, Readonly<DatePickerYearSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, vue647.ComponentProvideOptions, false, {}, any>;
|
|
590
590
|
//#endregion
|
|
591
591
|
//#region src/components/date-picker/date-picker-anatomy.d.ts
|
|
592
|
-
declare const datePickerAnatomy:
|
|
592
|
+
declare const datePickerAnatomy: _sprawlify_primitives_anatomy1.AnatomyInstance<"input" | "label" | "table" | "view" | "root" | "content" | "control" | "nextTrigger" | "prevTrigger" | "trigger" | "valueText" | "positioner" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
593
593
|
declare namespace date_picker_d_exports {
|
|
594
594
|
export { _default as ClearTrigger, DatePickerClearTriggerBaseProps as ClearTriggerBaseProps, DatePickerClearTriggerProps as ClearTriggerProps, _default$1 as Content, DatePickerContentBaseProps as ContentBaseProps, DatePickerContentProps as ContentProps, _default$2 as Context, DatePickerContextProps as ContextProps, _default$3 as Control, DatePickerControlBaseProps as ControlBaseProps, DatePickerControlProps as ControlProps, DateValue$2 as DateValue, FocusChangeDetails, _default$4 as Input, DatePickerInputBaseProps as InputBaseProps, DatePickerInputProps as InputProps, _default$5 as Label, DatePickerLabelBaseProps as LabelBaseProps, DatePickerLabelProps as LabelProps, _default$6 as MonthSelect, DatePickerMonthSelectBaseProps as MonthSelectBaseProps, DatePickerMonthSelectProps as MonthSelectProps, _default$7 as NextTrigger, DatePickerNextTriggerBaseProps as NextTriggerBaseProps, DatePickerNextTriggerProps as NextTriggerProps, OpenChangeDetails, _default$8 as Positioner, DatePickerPositionerBaseProps as PositionerBaseProps, DatePickerPositionerProps as PositionerProps, _default$9 as PresetTrigger, DatePickerPresetTriggerBaseProps as PresetTriggerBaseProps, DatePickerPresetTriggerProps as PresetTriggerProps, _default$10 as PrevTrigger, DatePickerPrevTriggerBaseProps as PrevTriggerBaseProps, DatePickerPrevTriggerProps as PrevTriggerProps, _default$11 as RangeText, DatePickerRangeTextBaseProps as RangeTextBaseProps, DatePickerRangeTextProps as RangeTextProps, _default$12 as Root, DatePickerRootBaseProps as RootBaseProps, DatePickerRootEmits as RootEmits, DatePickerRootProps as RootProps, _default$13 as RootProvider, DatePickerRootProviderBaseProps as RootProviderBaseProps, DatePickerRootProviderProps as RootProviderProps, _default$14 as Table, DatePickerTableBaseProps as TableBaseProps, _default$15 as TableBody, DatePickerTableBodyBaseProps as TableBodyBaseProps, DatePickerTableBodyProps as TableBodyProps, _default$16 as TableCell, DatePickerTableCellBaseProps as TableCellBaseProps, DatePickerTableCellProps as TableCellProps, _default$17 as TableCellTrigger, DatePickerTableCellTriggerBaseProps as TableCellTriggerBaseProps, DatePickerTableCellTriggerProps as TableCellTriggerProps, _default$18 as TableHead, DatePickerTableHeadBaseProps as TableHeadBaseProps, DatePickerTableHeadProps as TableHeadProps, _default$19 as TableHeader, DatePickerTableHeaderBaseProps as TableHeaderBaseProps, DatePickerTableHeaderProps as TableHeaderProps, DatePickerTableProps as TableProps, _default$20 as TableRow, DatePickerTableRowBaseProps as TableRowBaseProps, DatePickerTableRowProps as TableRowProps, _default$21 as Trigger, DatePickerTriggerBaseProps as TriggerBaseProps, DatePickerTriggerProps as TriggerProps, ValueChangeDetails, _default$22 as ValueText, DatePickerValueTextBaseProps as ValueTextBaseProps, DatePickerValueTextProps as ValueTextProps, DatePickerValueTextRenderProps as ValueTextRenderProps, _default$23 as View, DatePickerViewBaseProps as ViewBaseProps, ViewChangeDetails, _default$24 as ViewControl, DatePickerViewControlBaseProps as ViewControlBaseProps, DatePickerViewControlProps as ViewControlProps, DatePickerViewProps as ViewProps, _default$25 as ViewTrigger, DatePickerViewTriggerBaseProps as ViewTriggerBaseProps, DatePickerViewTriggerProps as ViewTriggerProps, _default$26 as YearSelect, DatePickerYearSelectBaseProps as YearSelectBaseProps, DatePickerYearSelectProps as YearSelectProps };
|
|
595
595
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
2
|
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DNndr38p.js";
|
|
3
|
-
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
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-ChPEW0vT.js";
|
|
8
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-DMa_QmB6.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-BK6rPXK7.js";
|
|
9
10
|
import { uniq } from "@sprawlify/primitives/utils";
|
|
10
11
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toDisplayString, toValue, unref, useId, withCtx } from "vue";
|
|
11
12
|
import * as datePicker from "@sprawlify/primitives/machines/date-picker";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { t as RootEmits$1 } from "../../presence-types-
|
|
3
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
5
|
-
import { t as RenderStrategyProps } from "../../use-render-strategy-
|
|
6
|
-
import * as
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-Dg6Whljf.js";
|
|
2
|
+
import { t as RootEmits$1 } from "../../presence-types-BaQ7PILD.js";
|
|
3
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-BkS9kMJ5.js";
|
|
4
|
+
import { r as PropTypes } from "../../index-DI09ccnU.js";
|
|
5
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-bdLKqL57.js";
|
|
6
|
+
import * as vue342 from "vue";
|
|
7
7
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _sprawlify_primitives_machines_bottom_sheet1 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
9
9
|
import * as dialog from "@sprawlify/primitives/machines/dialog";
|
|
10
10
|
import { FocusOutsideEvent, FocusOutsideEvent as DialogFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as DialogInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as DialogOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as DialogPointerDownOutsideEvent, anatomy as dialogAnatomy } from "@sprawlify/primitives/machines/dialog";
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ interface DialogBackdropProps extends DialogBackdropBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
HTMLAttributes {}
|
|
19
19
|
declare const _default: typeof __VLS_export$9;
|
|
20
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
20
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue342.DefineComponent<DialogBackdropProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {}, string, vue342.PublicProps, Readonly<DialogBackdropProps> & Readonly<{}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -34,7 +34,7 @@ interface DialogCloseTriggerProps extends DialogCloseTriggerBaseProps,
|
|
|
34
34
|
*/
|
|
35
35
|
ButtonHTMLAttributes {}
|
|
36
36
|
declare const _default$1: typeof __VLS_export$8;
|
|
37
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
37
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue342.DefineComponent<DialogCloseTriggerProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {}, string, vue342.PublicProps, Readonly<DialogCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
default?: (props: {}) => any;
|
|
39
39
|
}>;
|
|
40
40
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -51,7 +51,7 @@ interface DialogContentProps extends DialogContentBaseProps,
|
|
|
51
51
|
*/
|
|
52
52
|
HTMLAttributes {}
|
|
53
53
|
declare const _default$2: typeof __VLS_export$7;
|
|
54
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
54
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue342.DefineComponent<DialogContentProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {}, string, vue342.PublicProps, Readonly<DialogContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
55
55
|
default?: (props: {}) => any;
|
|
56
56
|
}>;
|
|
57
57
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -68,7 +68,7 @@ interface DialogDescriptionProps extends DialogDescriptionBaseProps,
|
|
|
68
68
|
*/
|
|
69
69
|
HTMLAttributes {}
|
|
70
70
|
declare const _default$4: typeof __VLS_export$6;
|
|
71
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
71
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue342.DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {}, string, vue342.PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
72
72
|
default?: (props: {}) => any;
|
|
73
73
|
}>;
|
|
74
74
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -85,7 +85,7 @@ interface DialogPositionerProps extends DialogPositionerBaseProps,
|
|
|
85
85
|
*/
|
|
86
86
|
HTMLAttributes {}
|
|
87
87
|
declare const _default$5: typeof __VLS_export$5;
|
|
88
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
88
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue342.DefineComponent<DialogPositionerProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {}, string, vue342.PublicProps, Readonly<DialogPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
89
89
|
default?: (props: {}) => any;
|
|
90
90
|
}>;
|
|
91
91
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -102,11 +102,11 @@ interface DialogRootProviderBaseProps extends RootProviderProps, RenderStrategyP
|
|
|
102
102
|
interface DialogRootProviderProps extends DialogRootProviderBaseProps {}
|
|
103
103
|
interface DialogRootProviderEmits extends RootEmits$1 {}
|
|
104
104
|
declare const _default$7: typeof __VLS_export$4;
|
|
105
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
105
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue342.DefineComponent<DialogRootProviderProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {
|
|
106
106
|
exitComplete: () => any;
|
|
107
|
-
}, string,
|
|
107
|
+
}, string, vue342.PublicProps, Readonly<DialogRootProviderProps> & Readonly<{
|
|
108
108
|
onExitComplete?: (() => any) | undefined;
|
|
109
|
-
}>, {}, {}, {}, {}, string,
|
|
109
|
+
}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
110
110
|
default?: (props: {}) => any;
|
|
111
111
|
}>;
|
|
112
112
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -162,28 +162,28 @@ interface DialogRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
|
162
162
|
interface DialogRootProps extends DialogRootBaseProps {}
|
|
163
163
|
interface DialogRootEmits extends RootEmits {}
|
|
164
164
|
declare const _default$6: typeof __VLS_export$3;
|
|
165
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
166
|
-
exitComplete: () => any;
|
|
165
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue342.DefineComponent<DialogRootProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {
|
|
167
166
|
openChange: (details: dialog.OpenChangeDetails) => any;
|
|
167
|
+
exitComplete: () => any;
|
|
168
168
|
"update:open": (open: boolean) => any;
|
|
169
169
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
170
|
-
focusOutside: (event:
|
|
171
|
-
interactOutside: (event:
|
|
172
|
-
pointerDownOutside: (event:
|
|
170
|
+
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet1.FocusOutsideEvent) => any;
|
|
171
|
+
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet1.InteractOutsideEvent) => any;
|
|
172
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet1.PointerDownOutsideEvent) => any;
|
|
173
173
|
requestDismiss: (event: CustomEvent<{
|
|
174
174
|
originalLayer: HTMLElement;
|
|
175
175
|
targetLayer: HTMLElement | undefined;
|
|
176
176
|
originalIndex: number;
|
|
177
177
|
targetIndex: number;
|
|
178
178
|
}>) => any;
|
|
179
|
-
}, string,
|
|
180
|
-
onExitComplete?: (() => any) | undefined;
|
|
179
|
+
}, string, vue342.PublicProps, Readonly<DialogRootProps> & Readonly<{
|
|
181
180
|
onOpenChange?: ((details: dialog.OpenChangeDetails) => any) | undefined;
|
|
181
|
+
onExitComplete?: (() => any) | undefined;
|
|
182
182
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
183
183
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
184
|
-
onFocusOutside?: ((event:
|
|
185
|
-
onInteractOutside?: ((event:
|
|
186
|
-
onPointerDownOutside?: ((event:
|
|
184
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet1.FocusOutsideEvent) => any) | undefined;
|
|
185
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet1.InteractOutsideEvent) => any) | undefined;
|
|
186
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet1.PointerDownOutsideEvent) => any) | undefined;
|
|
187
187
|
onRequestDismiss?: ((event: CustomEvent<{
|
|
188
188
|
originalLayer: HTMLElement;
|
|
189
189
|
targetLayer: HTMLElement | undefined;
|
|
@@ -191,15 +191,15 @@ declare const __VLS_export$3: __VLS_WithSlots$3<vue512.DefineComponent<DialogRoo
|
|
|
191
191
|
targetIndex: number;
|
|
192
192
|
}>) => any) | undefined;
|
|
193
193
|
}>, {
|
|
194
|
-
defaultOpen: boolean;
|
|
195
|
-
open: boolean;
|
|
196
194
|
trapFocus: boolean;
|
|
197
195
|
preventScroll: boolean;
|
|
198
196
|
modal: boolean;
|
|
199
197
|
restoreFocus: boolean;
|
|
198
|
+
open: boolean;
|
|
199
|
+
defaultOpen: boolean;
|
|
200
200
|
closeOnInteractOutside: boolean;
|
|
201
201
|
closeOnEscape: boolean;
|
|
202
|
-
}, {}, {}, {}, string,
|
|
202
|
+
}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
203
203
|
default?: (props: {}) => any;
|
|
204
204
|
}>;
|
|
205
205
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -216,7 +216,7 @@ interface DialogTitleProps extends DialogTitleBaseProps,
|
|
|
216
216
|
*/
|
|
217
217
|
HTMLAttributes {}
|
|
218
218
|
declare const _default$8: typeof __VLS_export$2;
|
|
219
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
219
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue342.DefineComponent<DialogTitleProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {}, string, vue342.PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
220
220
|
default?: (props: {}) => any;
|
|
221
221
|
}>;
|
|
222
222
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -233,7 +233,7 @@ interface DialogTriggerProps extends DialogTriggerBaseProps,
|
|
|
233
233
|
*/
|
|
234
234
|
ButtonHTMLAttributes {}
|
|
235
235
|
declare const _default$9: typeof __VLS_export$1;
|
|
236
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
236
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue342.DefineComponent<DialogTriggerProps, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {}, string, vue342.PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, false, {}, any>, {
|
|
237
237
|
default?: (props: {}) => any;
|
|
238
238
|
}>;
|
|
239
239
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -258,7 +258,7 @@ interface DialogContextProps extends SlotsType<{
|
|
|
258
258
|
default: UnwrapRef<UseDialogContext>;
|
|
259
259
|
}> {}
|
|
260
260
|
declare const _default$3: typeof __VLS_export;
|
|
261
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
261
|
+
declare const __VLS_export: __VLS_WithSlots<vue342.DefineComponent<{}, {}, {}, {}, {}, vue342.ComponentOptionsMixin, vue342.ComponentOptionsMixin, {}, string, vue342.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue342.ComponentProvideOptions, true, {}, any>, {
|
|
262
262
|
default(dialog: UnwrapRef<UseDialogContext>): unknown;
|
|
263
263
|
}>;
|
|
264
264
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
2
|
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DNndr38p.js";
|
|
3
|
-
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
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-ChPEW0vT.js";
|
|
8
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-DMa_QmB6.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-BK6rPXK7.js";
|
|
9
10
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
10
11
|
import * as dialog from "@sprawlify/primitives/machines/dialog";
|
|
11
12
|
import { anatomy as dialogAnatomy } from "@sprawlify/primitives/machines/dialog";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { i as MaybePromise } from "../../types-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-Dg6Whljf.js";
|
|
2
|
+
import { i as MaybePromise } from "../../types-BkS9kMJ5.js";
|
|
3
|
+
import * as vue121 from "vue";
|
|
4
4
|
import { ButtonHTMLAttributes } from "vue";
|
|
5
5
|
import { FileMimeType } from "@sprawlify/primitives/file-utils";
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ interface DownloadTriggerProps extends DownloadTriggerBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
ButtonHTMLAttributes {}
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<vue121.DefineComponent<DownloadTriggerProps, {}, {}, {}, {}, vue121.ComponentOptionsMixin, vue121.ComponentOptionsMixin, {}, string, vue121.PublicProps, Readonly<DownloadTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue121.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "../../core-DNndr38p.js";
|
|
2
|
-
import { c as useEnvironmentContext, s as DEFAULT_ENVIRONMENT } from "../../providers-
|
|
3
|
-
import
|
|
4
|
-
import { t as
|
|
2
|
+
import { c as useEnvironmentContext, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
3
|
+
import "../../create-context-Ds1GbsVc.js";
|
|
4
|
+
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
5
|
+
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
5
6
|
import { createBlock, defineComponent, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
6
7
|
import { downloadFile } from "@sprawlify/primitives/file-utils";
|
|
7
8
|
|