@shwfed/nuxt 0.1.28 → 0.1.29
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/module.d.mts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -3
- package/dist/runtime/components/app.vue +0 -1
- package/dist/runtime/components/query.d.vue.ts +10 -0
- package/dist/runtime/components/query.vue +83 -0
- package/dist/runtime/components/query.vue.d.ts +10 -0
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +42 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue +207 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +42 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +23 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +20 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +38 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +20 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +14 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +14 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +19 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +27 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +19 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +31 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +31 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/index.d.ts +13 -0
- package/dist/runtime/components/ui/calendar/index.js +12 -0
- package/dist/runtime/components/ui/command/CommandItem.vue +1 -1
- package/dist/runtime/components/ui/field/Field.d.vue.ts +19 -0
- package/dist/runtime/components/ui/field/Field.vue +22 -0
- package/dist/runtime/components/ui/field/Field.vue.d.ts +19 -0
- package/dist/runtime/components/ui/field/FieldContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldContent.vue +18 -0
- package/dist/runtime/components/ui/field/FieldContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldDescription.vue +20 -0
- package/dist/runtime/components/ui/field/FieldDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldError.d.vue.ts +20 -0
- package/dist/runtime/components/ui/field/FieldError.vue +51 -0
- package/dist/runtime/components/ui/field/FieldError.vue.d.ts +20 -0
- package/dist/runtime/components/ui/field/FieldGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldGroup.vue +18 -0
- package/dist/runtime/components/ui/field/FieldGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldLabel.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldLabel.vue +21 -0
- package/dist/runtime/components/ui/field/FieldLabel.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldLegend.d.vue.ts +18 -0
- package/dist/runtime/components/ui/field/FieldLegend.vue +22 -0
- package/dist/runtime/components/ui/field/FieldLegend.vue.d.ts +18 -0
- package/dist/runtime/components/ui/field/FieldSeparator.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSeparator.vue +27 -0
- package/dist/runtime/components/ui/field/FieldSeparator.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSet.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldSet.vue +19 -0
- package/dist/runtime/components/ui/field/FieldSet.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/FieldTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/field/FieldTitle.vue +18 -0
- package/dist/runtime/components/ui/field/FieldTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/field/index.d.ts +15 -0
- package/dist/runtime/components/ui/field/index.js +52 -0
- package/dist/runtime/components/ui/input/Input.d.vue.ts +13 -0
- package/dist/runtime/components/ui/input/Input.vue +27 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +13 -0
- package/dist/runtime/components/ui/input/index.d.ts +1 -0
- package/dist/runtime/components/ui/input/index.js +1 -0
- package/dist/runtime/components/ui/input-group/InputCombobox.d.vue.ts +13 -0
- package/dist/runtime/components/ui/input-group/InputCombobox.vue +56 -0
- package/dist/runtime/components/ui/input-group/InputCombobox.vue.d.ts +13 -0
- package/dist/runtime/components/ui/input-group/InputComboboxInput.d.vue.ts +3 -0
- package/dist/runtime/components/ui/input-group/InputComboboxInput.vue +16 -0
- package/dist/runtime/components/ui/input-group/InputComboboxInput.vue.d.ts +3 -0
- package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue +27 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +21 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +30 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +21 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +24 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +20 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +24 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +18 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +7 -0
- package/dist/runtime/components/ui/input-group/index.d.ts +16 -0
- package/dist/runtime/components/ui/input-group/index.js +40 -0
- package/dist/runtime/components/ui/label/Label.d.vue.ts +18 -0
- package/dist/runtime/components/ui/label/Label.vue +27 -0
- package/dist/runtime/components/ui/label/Label.vue.d.ts +18 -0
- package/dist/runtime/components/ui/label/index.d.ts +1 -0
- package/dist/runtime/components/ui/label/index.js +1 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +23 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +45 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +23 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue +15 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.d.vue.ts +17 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue +15 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue.d.ts +17 -0
- package/dist/runtime/components/ui/native-select/index.d.ts +3 -0
- package/dist/runtime/components/ui/native-select/index.js +3 -0
- package/dist/runtime/components/ui/popover/Popover.d.vue.ts +21 -0
- package/dist/runtime/components/ui/popover/Popover.vue +20 -0
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +21 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +35 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue +57 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +35 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/popover/index.d.ts +4 -0
- package/dist/runtime/components/ui/popover/index.js +4 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +95 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +23 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +20 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +40 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +20 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.d.vue.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.d.vue.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue +16 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +14 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +22 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.d.vue.ts +19 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +26 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/runtime/components/ui/range-calendar/index.js +12 -0
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +13 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue +22 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +13 -0
- package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
- package/dist/runtime/components/ui/textarea/index.js +1 -0
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +1 -1
- package/dist/runtime/plugins/cel/env.d.ts +2 -2
- package/dist/runtime/plugins/cel/env.js +5 -7
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { CalendarGridBody } from "reka-ui";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
asChild: { type: Boolean, required: false },
|
|
5
|
+
as: { type: null, required: false }
|
|
6
|
+
});
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<CalendarGridBody
|
|
11
|
+
data-slot="calendar-grid-body"
|
|
12
|
+
v-bind="props"
|
|
13
|
+
>
|
|
14
|
+
<slot />
|
|
15
|
+
</CalendarGridBody>
|
|
16
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CalendarGridBodyProps } from 'reka-ui';
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CalendarGridBodyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CalendarGridBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridHeadProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarGridHeadProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { CalendarGridHead } from "reka-ui";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
asChild: { type: Boolean, required: false },
|
|
5
|
+
as: { type: null, required: false },
|
|
6
|
+
class: { type: null, required: false }
|
|
7
|
+
});
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<CalendarGridHead
|
|
12
|
+
data-slot="calendar-grid-head"
|
|
13
|
+
v-bind="props"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</CalendarGridHead>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridHeadProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarGridHeadProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridRowProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarGridRowProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarGridRow, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../utils/cn";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
asChild: { type: Boolean, required: false },
|
|
7
|
+
as: { type: null, required: false },
|
|
8
|
+
class: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<CalendarGridRow
|
|
16
|
+
data-slot="calendar-grid-row"
|
|
17
|
+
:class="cn('flex', props.class)"
|
|
18
|
+
v-bind="forwardedProps"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</CalendarGridRow>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridRowProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarGridRowProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarHeadCellProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarHeadCellProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarHeadCell, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../utils/cn";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
asChild: { type: Boolean, required: false },
|
|
7
|
+
as: { type: null, required: false },
|
|
8
|
+
class: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<CalendarHeadCell
|
|
16
|
+
data-slot="calendar-head-cell"
|
|
17
|
+
:class="cn('text-zinc-700 rounded-md flex-1 font-normal text-[0.8rem]', props.class)"
|
|
18
|
+
v-bind="forwardedProps"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</CalendarHeadCell>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarHeadCellProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarHeadCellProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarHeaderProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarHeaderProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarHeader, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../utils/cn";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
asChild: { type: Boolean, required: false },
|
|
7
|
+
as: { type: null, required: false },
|
|
8
|
+
class: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<CalendarHeader
|
|
16
|
+
data-slot="calendar-header"
|
|
17
|
+
:class="cn('flex justify-center pt-1 relative items-center w-full px-8', props.class)"
|
|
18
|
+
v-bind="forwardedProps"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</CalendarHeader>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarHeaderProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarHeaderProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { CalendarHeadingProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarHeadingProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default: (props: {
|
|
8
|
+
headingValue: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarHeading, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../utils/cn";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
asChild: { type: Boolean, required: false },
|
|
7
|
+
as: { type: null, required: false },
|
|
8
|
+
class: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
defineSlots();
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
12
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<CalendarHeading
|
|
17
|
+
v-slot="{ headingValue }"
|
|
18
|
+
data-slot="calendar-heading"
|
|
19
|
+
:class="cn('text-sm font-medium', props.class)"
|
|
20
|
+
:style="{ textAutospace: 'normal' }"
|
|
21
|
+
v-bind="forwardedProps"
|
|
22
|
+
>
|
|
23
|
+
<slot :heading-value>
|
|
24
|
+
{{ headingValue }}
|
|
25
|
+
</slot>
|
|
26
|
+
</CalendarHeading>
|
|
27
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { CalendarHeadingProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarHeadingProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default: (props: {
|
|
8
|
+
headingValue: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarNextProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarNextProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarNext, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../utils/cn";
|
|
5
|
+
import { buttonVariants } from "../button";
|
|
6
|
+
import { Icon } from "@iconify/vue";
|
|
7
|
+
const props = defineProps({
|
|
8
|
+
nextPage: { type: Function, required: false },
|
|
9
|
+
asChild: { type: Boolean, required: false },
|
|
10
|
+
as: { type: null, required: false },
|
|
11
|
+
class: { type: null, required: false }
|
|
12
|
+
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
14
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<CalendarNext
|
|
19
|
+
data-slot="calendar-next-button"
|
|
20
|
+
:class="cn(
|
|
21
|
+
buttonVariants({ variant: 'ghost', size: 'sm' }),
|
|
22
|
+
'bg-transparent p-0 opacity-50 hover:opacity-100',
|
|
23
|
+
props.class
|
|
24
|
+
)"
|
|
25
|
+
v-bind="forwardedProps"
|
|
26
|
+
>
|
|
27
|
+
<slot>
|
|
28
|
+
<Icon icon="fluent:chevron-right-20-regular" />
|
|
29
|
+
</slot>
|
|
30
|
+
</CalendarNext>
|
|
31
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarNextProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarNextProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarPrevProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarPrevProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarPrev, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../../utils/cn";
|
|
5
|
+
import { buttonVariants } from "../button";
|
|
6
|
+
import { Icon } from "@iconify/vue";
|
|
7
|
+
const props = defineProps({
|
|
8
|
+
prevPage: { type: Function, required: false },
|
|
9
|
+
asChild: { type: Boolean, required: false },
|
|
10
|
+
as: { type: null, required: false },
|
|
11
|
+
class: { type: null, required: false }
|
|
12
|
+
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
14
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<CalendarPrev
|
|
19
|
+
data-slot="calendar-prev-button"
|
|
20
|
+
:class="cn(
|
|
21
|
+
buttonVariants({ variant: 'ghost', size: 'sm' }),
|
|
22
|
+
'bg-transparent p-0 opacity-50 hover:opacity-100',
|
|
23
|
+
props.class
|
|
24
|
+
)"
|
|
25
|
+
v-bind="forwardedProps"
|
|
26
|
+
>
|
|
27
|
+
<slot>
|
|
28
|
+
<Icon icon="fluent:chevron-left-20-regular" />
|
|
29
|
+
</slot>
|
|
30
|
+
</CalendarPrev>
|
|
31
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarPrevProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = CalendarPrevProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as Calendar } from './Calendar.vue.js';
|
|
2
|
+
export { default as CalendarCell } from './CalendarCell.vue.js';
|
|
3
|
+
export { default as CalendarCellTrigger } from './CalendarCellTrigger.vue.js';
|
|
4
|
+
export { default as CalendarGrid } from './CalendarGrid.vue.js';
|
|
5
|
+
export { default as CalendarGridBody } from './CalendarGridBody.vue.js';
|
|
6
|
+
export { default as CalendarGridHead } from './CalendarGridHead.vue.js';
|
|
7
|
+
export { default as CalendarGridRow } from './CalendarGridRow.vue.js';
|
|
8
|
+
export { default as CalendarHeadCell } from './CalendarHeadCell.vue.js';
|
|
9
|
+
export { default as CalendarHeader } from './CalendarHeader.vue.js';
|
|
10
|
+
export { default as CalendarHeading } from './CalendarHeading.vue.js';
|
|
11
|
+
export { default as CalendarNextButton } from './CalendarNextButton.vue.js';
|
|
12
|
+
export { default as CalendarPrevButton } from './CalendarPrevButton.vue.js';
|
|
13
|
+
export type LayoutTypes = 'month-and-year' | 'month-only' | 'year-only' | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as Calendar } from "./Calendar.vue";
|
|
2
|
+
export { default as CalendarCell } from "./CalendarCell.vue";
|
|
3
|
+
export { default as CalendarCellTrigger } from "./CalendarCellTrigger.vue";
|
|
4
|
+
export { default as CalendarGrid } from "./CalendarGrid.vue";
|
|
5
|
+
export { default as CalendarGridBody } from "./CalendarGridBody.vue";
|
|
6
|
+
export { default as CalendarGridHead } from "./CalendarGridHead.vue";
|
|
7
|
+
export { default as CalendarGridRow } from "./CalendarGridRow.vue";
|
|
8
|
+
export { default as CalendarHeadCell } from "./CalendarHeadCell.vue";
|
|
9
|
+
export { default as CalendarHeader } from "./CalendarHeader.vue";
|
|
10
|
+
export { default as CalendarHeading } from "./CalendarHeading.vue";
|
|
11
|
+
export { default as CalendarNextButton } from "./CalendarNextButton.vue";
|
|
12
|
+
export { default as CalendarPrevButton } from "./CalendarPrevButton.vue";
|
|
@@ -55,7 +55,7 @@ onUnmounted(() => {
|
|
|
55
55
|
:id="id"
|
|
56
56
|
ref="itemRef"
|
|
57
57
|
data-slot="command-item"
|
|
58
|
-
:class="cn('data-highlighted:bg-zinc-100 data-highlighted:text-zinc-700 [&_svg:not([class*=\'text-\'])]:text-zinc-700 cursor-pointer relative flex items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4', props.class)"
|
|
58
|
+
:class="cn('data-highlighted:bg-zinc-100 data-highlighted:text-zinc-700 hover:bg-zinc-50 [&_svg:not([class*=\'text-\'])]:text-zinc-700 cursor-pointer relative flex items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4', props.class)"
|
|
59
59
|
@select="() => {
|
|
60
60
|
filterState.search = '';
|
|
61
61
|
}"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
import type { FieldVariants } from '.';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
orientation?: FieldVariants['orientation'];
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { cn } from "../../../utils/cn";
|
|
3
|
+
import { fieldVariants } from ".";
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
class: { type: null, required: false },
|
|
6
|
+
orientation: { type: null, required: false }
|
|
7
|
+
});
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
role="group"
|
|
13
|
+
data-slot="field"
|
|
14
|
+
:data-orientation="orientation"
|
|
15
|
+
:class="cn(
|
|
16
|
+
fieldVariants({ orientation }),
|
|
17
|
+
props.class
|
|
18
|
+
)"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
import type { FieldVariants } from '.';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
orientation?: FieldVariants['orientation'];
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { cn } from "../../../utils/cn";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
class: { type: null, required: false }
|
|
5
|
+
});
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div
|
|
10
|
+
data-slot="field-content"
|
|
11
|
+
:class="cn(
|
|
12
|
+
'group/field-content flex flex-1 flex-col gap-1.5 leading-snug',
|
|
13
|
+
props.class
|
|
14
|
+
)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|