mood-ui 0.1.0
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/LICENSE +21 -0
- package/README.OLD.md +5 -0
- package/README.md +84 -0
- package/dist/components/ModoProvider.vue.d.ts +61 -0
- package/dist/components/data-display/Card.vue.d.ts +26 -0
- package/dist/components/data-display/Typography.vue.d.ts +21 -0
- package/dist/components/data-display/avatar/Avatar.vue.d.ts +9 -0
- package/dist/components/data-display/avatar/AvatarGroup.vue.d.ts +7 -0
- package/dist/components/data-display/calendar/AgendaView.vue.d.ts +76 -0
- package/dist/components/data-display/calendar/Calendar.vue.d.ts +25 -0
- package/dist/components/data-display/calendar/CalendarEventTooltip.vue.d.ts +34 -0
- package/dist/components/data-display/calendar/CalendarHeader.vue.d.ts +67 -0
- package/dist/components/data-display/calendar/DayView.vue.d.ts +91 -0
- package/dist/components/data-display/calendar/MonthView.vue.d.ts +71 -0
- package/dist/components/data-display/calendar/Scheduler.vue.d.ts +102 -0
- package/dist/components/data-display/calendar/WeekView.vue.d.ts +101 -0
- package/dist/components/data-display/date-picker/DateRangePicker.vue.d.ts +18 -0
- package/dist/components/data-display/date-picker/DateTimePicker.vue.d.ts +17 -0
- package/dist/components/data-display/table/Table.vue.d.ts +75 -0
- package/dist/components/data-display/table/TableColumn.vue.d.ts +26 -0
- package/dist/components/data-display/table/TablePagination.vue.d.ts +14 -0
- package/dist/components/feedback/Badge.vue.d.ts +24 -0
- package/dist/components/feedback/Banner.vue.d.ts +28 -0
- package/dist/components/feedback/Chip.vue.d.ts +22 -0
- package/dist/components/feedback/ConfirmDialog.vue.d.ts +4 -0
- package/dist/components/feedback/Drawer.vue.d.ts +43 -0
- package/dist/components/feedback/EmptyState.vue.d.ts +19 -0
- package/dist/components/feedback/Loader.vue.d.ts +7 -0
- package/dist/components/feedback/Modal.vue.d.ts +44 -0
- package/dist/components/feedback/ProgressBar.vue.d.ts +10 -0
- package/dist/components/feedback/Skeleton.vue.d.ts +10 -0
- package/dist/components/feedback/Toast.vue.d.ts +19 -0
- package/dist/components/feedback/ToastContainer.vue.d.ts +11 -0
- package/dist/components/feedback/Tooltip.vue.d.ts +35 -0
- package/dist/components/forms/Button.vue.d.ts +24 -0
- package/dist/components/forms/ButtonGroup.vue.d.ts +16 -0
- package/dist/components/forms/Checkbox.vue.d.ts +22 -0
- package/dist/components/forms/Combobox.vue.d.ts +48 -0
- package/dist/components/forms/DateField.vue.d.ts +30 -0
- package/dist/components/forms/DateRangeField.vue.d.ts +32 -0
- package/dist/components/forms/DateTimeField.vue.d.ts +34 -0
- package/dist/components/forms/FileInput.vue.d.ts +33 -0
- package/dist/components/forms/FormField.vue.d.ts +30 -0
- package/dist/components/forms/Input.vue.d.ts +33 -0
- package/dist/components/forms/MultiSelect.vue.d.ts +51 -0
- package/dist/components/forms/NumberInput.vue.d.ts +35 -0
- package/dist/components/forms/PasswordInput.vue.d.ts +40 -0
- package/dist/components/forms/Radio.vue.d.ts +16 -0
- package/dist/components/forms/RadioGroup.vue.d.ts +27 -0
- package/dist/components/forms/RangeSlider.vue.d.ts +27 -0
- package/dist/components/forms/SearchInput.vue.d.ts +37 -0
- package/dist/components/forms/Select.vue.d.ts +46 -0
- package/dist/components/forms/Slider.vue.d.ts +26 -0
- package/dist/components/forms/Switch.vue.d.ts +22 -0
- package/dist/components/forms/Textarea.vue.d.ts +36 -0
- package/dist/components/layout/AppShell.vue.d.ts +124 -0
- package/dist/components/layout/Canvas.vue.d.ts +21 -0
- package/dist/components/layout/Container.vue.d.ts +21 -0
- package/dist/components/layout/Divider.vue.d.ts +21 -0
- package/dist/components/layout/HStack.vue.d.ts +14 -0
- package/dist/components/layout/PageHeader.vue.d.ts +34 -0
- package/dist/components/layout/PopoverPanel.vue.d.ts +29 -0
- package/dist/components/layout/Sidebar.vue.d.ts +39 -0
- package/dist/components/layout/SidebarRow.vue.d.ts +31 -0
- package/dist/components/layout/SidebarRowContent.vue.d.ts +27 -0
- package/dist/components/layout/Stack.vue.d.ts +24 -0
- package/dist/components/layout/Topbar.vue.d.ts +36 -0
- package/dist/components/layout/VStack.vue.d.ts +14 -0
- package/dist/components/navigation/Breadcrumbs.vue.d.ts +13 -0
- package/dist/components/navigation/DropdownMenu.vue.d.ts +36 -0
- package/dist/components/navigation/Pagination.vue.d.ts +18 -0
- package/dist/components/navigation/Tabs.vue.d.ts +37 -0
- package/dist/composables/eventColors.d.ts +13 -0
- package/dist/composables/useAutoScroll.d.ts +11 -0
- package/dist/composables/useCalendar.d.ts +44 -0
- package/dist/composables/useCalendarKeyboard.d.ts +17 -0
- package/dist/composables/useCalendarTheme.d.ts +22 -0
- package/dist/composables/useColorMode.d.ts +28 -0
- package/dist/composables/useConfirm.d.ts +146 -0
- package/dist/composables/useCurrentTimeLine.d.ts +5 -0
- package/dist/composables/useEventHover.d.ts +29 -0
- package/dist/composables/useField.d.ts +89 -0
- package/dist/composables/useModoConfig.d.ts +29 -0
- package/dist/composables/usePopover.d.ts +59 -0
- package/dist/composables/useTable.d.ts +29 -0
- package/dist/composables/useTableColumnsState.d.ts +52 -0
- package/dist/composables/useTableFilter.d.ts +39 -0
- package/dist/composables/useTableKeyboard.d.ts +38 -0
- package/dist/composables/useTablePagination.d.ts +44 -0
- package/dist/composables/useTableQuery.d.ts +90 -0
- package/dist/composables/useTableSelection.d.ts +40 -0
- package/dist/composables/useTableSort.d.ts +41 -0
- package/dist/composables/useTableTree.d.ts +55 -0
- package/dist/composables/useTableUrlSync.d.ts +66 -0
- package/dist/composables/useTableVirtual.d.ts +43 -0
- package/dist/composables/useTimeGrid.d.ts +22 -0
- package/dist/composables/useToast.d.ts +176 -0
- package/dist/config/ModoConfig.d.ts +32 -0
- package/dist/config/ModoLocale.d.ts +212 -0
- package/dist/config/colorPrimitives.d.ts +13 -0
- package/dist/config/createModoUI.d.ts +85 -0
- package/dist/config/palettes.d.ts +30 -0
- package/dist/index.d.ts +130 -0
- package/dist/interfaces/data-display/Card.interface.d.ts +8 -0
- package/dist/interfaces/data-display/Typography.interface.d.ts +12 -0
- package/dist/interfaces/data-display/avatar/Avatar.interface.d.ts +24 -0
- package/dist/interfaces/data-display/avatar/AvatarGroup.interface.d.ts +8 -0
- package/dist/interfaces/data-display/calendar/AgendaView.interface.d.ts +29 -0
- package/dist/interfaces/data-display/calendar/Calendar.interface.d.ts +16 -0
- package/dist/interfaces/data-display/calendar/DayView.interface.d.ts +43 -0
- package/dist/interfaces/data-display/calendar/MonthView.interface.d.ts +41 -0
- package/dist/interfaces/data-display/calendar/Scheduler.interface.d.ts +63 -0
- package/dist/interfaces/data-display/calendar/WeekView.interface.d.ts +65 -0
- package/dist/interfaces/data-display/date-picker/DateRangePicker.interface.d.ts +20 -0
- package/dist/interfaces/data-display/date-picker/DateTimePicker.interface.d.ts +16 -0
- package/dist/interfaces/data-display/table/Table.interface.d.ts +615 -0
- package/dist/interfaces/data-display/table/TableColumn.interface.d.ts +10 -0
- package/dist/interfaces/data-display/table/TablePagination.interface.d.ts +33 -0
- package/dist/interfaces/feedback/Badge.interface.d.ts +14 -0
- package/dist/interfaces/feedback/Banner.interface.d.ts +14 -0
- package/dist/interfaces/feedback/Chip.interface.d.ts +35 -0
- package/dist/interfaces/feedback/ConfirmDialog.interface.d.ts +49 -0
- package/dist/interfaces/feedback/Drawer.interface.d.ts +49 -0
- package/dist/interfaces/feedback/EmptyState.interface.d.ts +31 -0
- package/dist/interfaces/feedback/Loader.interface.d.ts +7 -0
- package/dist/interfaces/feedback/Modal.interface.d.ts +50 -0
- package/dist/interfaces/feedback/ProgressBar.interface.d.ts +31 -0
- package/dist/interfaces/feedback/Skeleton.interface.d.ts +123 -0
- package/dist/interfaces/feedback/Toast.interface.d.ts +86 -0
- package/dist/interfaces/feedback/Tooltip.interface.d.ts +38 -0
- package/dist/interfaces/forms/Button.interface.d.ts +26 -0
- package/dist/interfaces/forms/ButtonGroup.interface.d.ts +9 -0
- package/dist/interfaces/forms/Checkbox.interface.d.ts +32 -0
- package/dist/interfaces/forms/Combobox.interface.d.ts +57 -0
- package/dist/interfaces/forms/DateField.interface.d.ts +39 -0
- package/dist/interfaces/forms/DateRangeField.interface.d.ts +41 -0
- package/dist/interfaces/forms/DateTimeField.interface.d.ts +44 -0
- package/dist/interfaces/forms/FileInput.interface.d.ts +105 -0
- package/dist/interfaces/forms/FormField.interface.d.ts +55 -0
- package/dist/interfaces/forms/Input.interface.d.ts +68 -0
- package/dist/interfaces/forms/NumberInput.interface.d.ts +77 -0
- package/dist/interfaces/forms/PasswordInput.interface.d.ts +84 -0
- package/dist/interfaces/forms/Radio.interface.d.ts +54 -0
- package/dist/interfaces/forms/RadioGroup.context.d.ts +13 -0
- package/dist/interfaces/forms/RangeSlider.interface.d.ts +30 -0
- package/dist/interfaces/forms/SearchInput.interface.d.ts +59 -0
- package/dist/interfaces/forms/Select.interface.d.ts +145 -0
- package/dist/interfaces/forms/Slider.interface.d.ts +36 -0
- package/dist/interfaces/forms/Switch.interface.d.ts +30 -0
- package/dist/interfaces/forms/Textarea.interface.d.ts +64 -0
- package/dist/interfaces/layout/AppShell.interface.d.ts +56 -0
- package/dist/interfaces/layout/Canvas.interface.d.ts +39 -0
- package/dist/interfaces/layout/Container.interface.d.ts +8 -0
- package/dist/interfaces/layout/Divider.interface.d.ts +53 -0
- package/dist/interfaces/layout/PageHeader.interface.d.ts +23 -0
- package/dist/interfaces/layout/Sidebar.interface.d.ts +88 -0
- package/dist/interfaces/layout/Stack.interface.d.ts +42 -0
- package/dist/interfaces/layout/Topbar.interface.d.ts +28 -0
- package/dist/interfaces/navigation/Breadcrumbs.interface.d.ts +38 -0
- package/dist/interfaces/navigation/DropdownMenu.interface.d.ts +72 -0
- package/dist/interfaces/navigation/Pagination.interface.d.ts +37 -0
- package/dist/interfaces/navigation/Tabs.interface.d.ts +74 -0
- package/dist/mood-ui.cjs +4 -0
- package/dist/mood-ui.cjs.map +1 -0
- package/dist/mood-ui.css +2 -0
- package/dist/mood-ui.mjs +19832 -0
- package/dist/mood-ui.mjs.map +1 -0
- package/package.json +72 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 alansinbailarin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.OLD.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Vue 3 + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|
package/README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# mood-ui
|
|
2
|
+
|
|
3
|
+
A complete Vue 3 + TypeScript + Tailwind v4 component library: forms, feedback,
|
|
4
|
+
data display (tables, calendars, scheduler), navigation and a full AppShell.
|
|
5
|
+
Theming, dark mode and runtime-tunable color palettes are first-class.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install mood-ui
|
|
11
|
+
# Peer dependencies your app must have:
|
|
12
|
+
npm install vue@^3.4 @heroicons/vue@^2 gsap@^3
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
> `@heroicons/vue` and `gsap` are listed as **optional** peers — only required
|
|
16
|
+
> if you use components that consume them (icons in `Sidebar`/`Topbar`/`DropdownMenu`,
|
|
17
|
+
> animations in `Toast`/`Drawer`).
|
|
18
|
+
|
|
19
|
+
## Setup
|
|
20
|
+
|
|
21
|
+
`mood-ui` is built with Tailwind v4. Import the compiled stylesheet
|
|
22
|
+
**once** at your app entry:
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
// main.ts
|
|
26
|
+
import { createApp } from 'vue';
|
|
27
|
+
import App from './App.vue';
|
|
28
|
+
|
|
29
|
+
import 'mood-ui/style.css';
|
|
30
|
+
|
|
31
|
+
createApp(App).mount('#app');
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Then wrap your app in `<ModoProvider>` to expose theme tokens (color, radius,
|
|
35
|
+
size, halo, dark mode and the primary palette) to every component:
|
|
36
|
+
|
|
37
|
+
```vue
|
|
38
|
+
<script setup lang="ts">
|
|
39
|
+
import { ref } from 'vue';
|
|
40
|
+
import { ModoProvider, Button, paletteFromHex } from 'mood-ui';
|
|
41
|
+
|
|
42
|
+
const primary = ref('#6366f1');
|
|
43
|
+
</script>
|
|
44
|
+
|
|
45
|
+
<template>
|
|
46
|
+
<ModoProvider
|
|
47
|
+
color="primary"
|
|
48
|
+
radius="medium"
|
|
49
|
+
size="medium"
|
|
50
|
+
:palettes="{ primary: paletteFromHex(primary) }"
|
|
51
|
+
>
|
|
52
|
+
<Button color="primary">Click me</Button>
|
|
53
|
+
</ModoProvider>
|
|
54
|
+
</template>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Components
|
|
58
|
+
|
|
59
|
+
Forms · `Button`, `ButtonGroup`, `FormField`, `Input`, `Textarea`, `PasswordInput`,
|
|
60
|
+
`NumberInput`, `SearchInput`, `Select`, `MultiSelect`, `Combobox`, `Checkbox`,
|
|
61
|
+
`Radio`, `RadioGroup`, `Switch`, `Slider`, `RangeSlider`, `FileInput`,
|
|
62
|
+
`DateField`, `DateRangeField`, `DateTimeField`.
|
|
63
|
+
|
|
64
|
+
Feedback · `Badge`, `Banner`, `Chip`, `Drawer`, `Loader`, `Modal`, `Skeleton`,
|
|
65
|
+
`Tooltip`, `Toast`, `ToastContainer`, `ConfirmDialog`, `EmptyState`, `ProgressBar`.
|
|
66
|
+
|
|
67
|
+
Layout · `AppShell`, `Canvas`, `Container`, `Divider`, `Stack`, `HStack`, `VStack`,
|
|
68
|
+
`PageHeader`, `PopoverPanel`, `Sidebar`, `SidebarRow`, `Topbar`.
|
|
69
|
+
|
|
70
|
+
Navigation · `Tabs`, `Breadcrumbs`, `DropdownMenu`, `Pagination`.
|
|
71
|
+
|
|
72
|
+
Data display · `Card`, `Typography`, `Avatar`, `AvatarGroup`, `Table`, `TableColumn`,
|
|
73
|
+
`TablePagination`, `Calendar`, `MonthView`, `WeekView`, `DayView`, `AgendaView`,
|
|
74
|
+
`Scheduler`, `DateRangePicker`, `DateTimePicker`.
|
|
75
|
+
|
|
76
|
+
## Composables
|
|
77
|
+
|
|
78
|
+
`useModoConfig`, `useResolvedColor`, `useResolvedRadius`, `useResolvedSize`,
|
|
79
|
+
`useResolvedTheme`, `useResolvedHalo`, `useColorMode`, `useToast`, `useConfirm`,
|
|
80
|
+
`useModoLocale`, `useLocaleString`.
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
MIT © alansinbailarin
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ModoColor, ModoHalo, ModoRadius, ModoSize, ModoTheme } from '../config/ModoConfig';
|
|
2
|
+
import { PartialLocale } from '../config/ModoLocale';
|
|
3
|
+
import { ModoPalette } from '../config/palettes';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
color?: ModoColor;
|
|
6
|
+
radius?: ModoRadius;
|
|
7
|
+
/**
|
|
8
|
+
* Canonical size (`small` | `medium` | `large`) that cascades to
|
|
9
|
+
* components sharing this scale (Button, Input, Select, Tabs…).
|
|
10
|
+
* Components with extended scales keep their own value.
|
|
11
|
+
*/
|
|
12
|
+
size?: ModoSize;
|
|
13
|
+
/**
|
|
14
|
+
* `'light' | 'dark' | 'system'`.
|
|
15
|
+
* - Global provider (`scoped=false`, default): delegates to `useColorMode()`.
|
|
16
|
+
* - Scoped provider (`scoped=true`): applies the theme only to this subtree
|
|
17
|
+
* via `data-modo-theme`, without touching the global state.
|
|
18
|
+
*/
|
|
19
|
+
theme?: ModoTheme;
|
|
20
|
+
/**
|
|
21
|
+
* Halo style for form fields (ring persistente).
|
|
22
|
+
* - `'tinted'` (default): gris en idle, tintado al color en hover/focus.
|
|
23
|
+
* - `'neutral'`: gris en idle + hover/focus. Discreto.
|
|
24
|
+
* - `'off'`: sin halo persistente; solo focus-visible ring para a11y.
|
|
25
|
+
*/
|
|
26
|
+
halo?: ModoHalo;
|
|
27
|
+
palettes?: {
|
|
28
|
+
default?: Partial<ModoPalette>;
|
|
29
|
+
primary?: Partial<ModoPalette>;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Deep-partial override of the design-system copy (aria labels, empty
|
|
33
|
+
* states, reject messages, etc.). Cascades like palettes: inherits from
|
|
34
|
+
* parent provider; component-level props (e.g. `rejectMessages`,
|
|
35
|
+
* `strengthLabels`, `emptyText`) still win per-instance. See
|
|
36
|
+
* `src/config/ModoLocale.ts` for the full shape.
|
|
37
|
+
*/
|
|
38
|
+
locale?: PartialLocale;
|
|
39
|
+
/**
|
|
40
|
+
* When true, the provider becomes a self-contained theme island:
|
|
41
|
+
* renders a real `<div>`, sets `data-modo-theme` on it, and does not
|
|
42
|
+
* mutate the global color mode. Useful for nested sections with their
|
|
43
|
+
* own palette / light/dark mode.
|
|
44
|
+
*/
|
|
45
|
+
scoped?: boolean;
|
|
46
|
+
};
|
|
47
|
+
declare var __VLS_1: {};
|
|
48
|
+
type __VLS_Slots = {} & {
|
|
49
|
+
default?: (props: typeof __VLS_1) => any;
|
|
50
|
+
};
|
|
51
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
52
|
+
scoped: boolean;
|
|
53
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
55
|
+
declare const _default: typeof __VLS_export;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Card } from '../../interfaces/data-display/Card.interface';
|
|
2
|
+
declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
header?: (props: typeof __VLS_8) => any;
|
|
5
|
+
} & {
|
|
6
|
+
image?: (props: typeof __VLS_10) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_12) => any;
|
|
9
|
+
} & {
|
|
10
|
+
footer?: (props: typeof __VLS_14) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import('vue').DefineComponent<Card, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Card> & Readonly<{}>, {
|
|
13
|
+
variant: "elevated" | "outlined" | "filled";
|
|
14
|
+
padding: "none" | "small" | "medium" | "large";
|
|
15
|
+
hoverable: boolean;
|
|
16
|
+
clickable: boolean;
|
|
17
|
+
divided: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Typography } from '../../interfaces/data-display/Typography.interface';
|
|
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<Typography, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Typography> & Readonly<{}>, {
|
|
7
|
+
color: "default" | "muted" | "primary" | "danger" | "success" | "warning";
|
|
8
|
+
variant: "display" | "heading" | "title" | "subtitle" | "body" | "caption" | "overline";
|
|
9
|
+
truncate: boolean;
|
|
10
|
+
italic: boolean;
|
|
11
|
+
underline: boolean;
|
|
12
|
+
strikethrough: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Avatar } from '../../../interfaces/data-display/avatar/Avatar.interface';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<Avatar, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Avatar> & Readonly<{}>, {
|
|
3
|
+
skeleton: boolean;
|
|
4
|
+
color: "default" | "primary" | "danger" | "success" | "warning";
|
|
5
|
+
size: "xs" | "small" | "medium" | "large" | "xl";
|
|
6
|
+
bordered: boolean;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AvatarGroup } from '../../../interfaces/data-display/avatar/AvatarGroup.interface';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<AvatarGroup, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarGroup> & Readonly<{}>, {
|
|
3
|
+
size: "xs" | "small" | "medium" | "large" | "xl";
|
|
4
|
+
bordered: boolean;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { AgendaView } from '../../../interfaces/data-display/calendar/AgendaView.interface';
|
|
2
|
+
import { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface';
|
|
3
|
+
declare var __VLS_1: {
|
|
4
|
+
label: any;
|
|
5
|
+
goToToday: any;
|
|
6
|
+
prev: any;
|
|
7
|
+
next: any;
|
|
8
|
+
prevYear: any;
|
|
9
|
+
nextYear: any;
|
|
10
|
+
}, __VLS_14: {}, __VLS_16: {
|
|
11
|
+
date: any;
|
|
12
|
+
isToday: any;
|
|
13
|
+
events: any;
|
|
14
|
+
}, __VLS_18: {
|
|
15
|
+
event: any;
|
|
16
|
+
}, __VLS_27: {
|
|
17
|
+
event: any;
|
|
18
|
+
allDay: any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
header?: (props: typeof __VLS_1) => any;
|
|
22
|
+
} & {
|
|
23
|
+
empty?: (props: typeof __VLS_14) => any;
|
|
24
|
+
} & {
|
|
25
|
+
'day-header'?: (props: typeof __VLS_16) => any;
|
|
26
|
+
} & {
|
|
27
|
+
event?: (props: typeof __VLS_18) => any;
|
|
28
|
+
} & {
|
|
29
|
+
'event-tooltip'?: (props: typeof __VLS_27) => any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_base: import('vue').DefineComponent<AgendaView, {
|
|
32
|
+
scrollToDate(date: Date): void;
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
+
"update:modelValue": (date: Date) => any;
|
|
35
|
+
"event-click": (event: CalendarEvent, nativeEvent: MouseEvent) => any;
|
|
36
|
+
"day-click": (date: Date, events: CalendarEvent[], nativeEvent: MouseEvent) => any;
|
|
37
|
+
"create-event": (date: Date, allDay: boolean, nativeEvent: KeyboardEvent | MouseEvent) => any;
|
|
38
|
+
"load-more": (direction: "forward" | "backward") => any;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<AgendaView> & Readonly<{
|
|
40
|
+
"onUpdate:modelValue"?: ((date: Date) => any) | undefined;
|
|
41
|
+
"onEvent-click"?: ((event: CalendarEvent, nativeEvent: MouseEvent) => any) | undefined;
|
|
42
|
+
"onDay-click"?: ((date: Date, events: CalendarEvent[], nativeEvent: MouseEvent) => any) | undefined;
|
|
43
|
+
"onCreate-event"?: ((date: Date, allDay: boolean, nativeEvent: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
44
|
+
"onLoad-more"?: ((direction: "forward" | "backward") => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
color: "default" | "primary" | "danger" | "success" | "warning";
|
|
47
|
+
locale: string;
|
|
48
|
+
modelValue: Date;
|
|
49
|
+
readonly: boolean;
|
|
50
|
+
disabledDates: Date[];
|
|
51
|
+
showHeader: boolean;
|
|
52
|
+
format: "12h" | "24h";
|
|
53
|
+
bordered: boolean;
|
|
54
|
+
showTodayButton: boolean;
|
|
55
|
+
showMonthYearSelects: boolean;
|
|
56
|
+
events: CalendarEvent[];
|
|
57
|
+
dayNameFormat: "narrow" | "short" | "long";
|
|
58
|
+
dayNameCase: "upper" | "lower" | "capitalize" | "normal";
|
|
59
|
+
highlightedDates: Date[];
|
|
60
|
+
disabledWeekdays: number[];
|
|
61
|
+
enableKeyboardNavigation: boolean;
|
|
62
|
+
daysToShow: number;
|
|
63
|
+
daysBefore: number;
|
|
64
|
+
showEmptyDays: boolean;
|
|
65
|
+
showMonthSeparator: boolean;
|
|
66
|
+
showYearNavigation: boolean;
|
|
67
|
+
loadMoreChunk: number;
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
71
|
+
export default _default;
|
|
72
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Calendar } from '../../../interfaces/data-display/calendar/Calendar.interface';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<Calendar, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (date: Date) => any;
|
|
4
|
+
monthChange: (payload: {
|
|
5
|
+
month: number;
|
|
6
|
+
year: number;
|
|
7
|
+
}) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<Calendar> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((date: Date) => any) | undefined;
|
|
10
|
+
onMonthChange?: ((payload: {
|
|
11
|
+
month: number;
|
|
12
|
+
year: number;
|
|
13
|
+
}) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
color: "default" | "primary" | "danger" | "success" | "warning";
|
|
16
|
+
locale: string;
|
|
17
|
+
variant: "filled" | "outline";
|
|
18
|
+
modelValue: Date | null;
|
|
19
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
20
|
+
showOutsideDays: boolean;
|
|
21
|
+
showHeader: boolean;
|
|
22
|
+
fixedWeeks: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { HoverState } from '../../../composables/useEventHover';
|
|
3
|
+
declare const __VLS_export: <E extends {
|
|
4
|
+
title?: string;
|
|
5
|
+
start: Date;
|
|
6
|
+
end?: Date;
|
|
7
|
+
description?: string;
|
|
8
|
+
}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
9
|
+
props: __VLS_PrettifyLocal<{
|
|
10
|
+
state: HoverState<E> | null;
|
|
11
|
+
style: CSSProperties;
|
|
12
|
+
formatTime: (d: Date) => string;
|
|
13
|
+
}> & import('vue').PublicProps & (typeof globalThis extends {
|
|
14
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
15
|
+
} ? P : {});
|
|
16
|
+
expose: (exposed: {}) => void;
|
|
17
|
+
attrs: any;
|
|
18
|
+
slots: {
|
|
19
|
+
default?: (props: {
|
|
20
|
+
event: E;
|
|
21
|
+
allDay: boolean;
|
|
22
|
+
}) => unknown;
|
|
23
|
+
};
|
|
24
|
+
emit: {};
|
|
25
|
+
}>) => import('vue').VNode & {
|
|
26
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
|
+
};
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} : {
|
|
33
|
+
[K in keyof T as K]: T[K];
|
|
34
|
+
}) & {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { CalendarColor } from '../../../composables/useCalendarTheme';
|
|
2
|
+
interface Props {
|
|
3
|
+
label: string;
|
|
4
|
+
weekdayLabel?: string;
|
|
5
|
+
showHeader?: boolean;
|
|
6
|
+
showYearJump?: boolean;
|
|
7
|
+
showTodayButton?: boolean;
|
|
8
|
+
showMonthYearSelects?: boolean;
|
|
9
|
+
showWeekSelect?: boolean;
|
|
10
|
+
prevLabel?: string;
|
|
11
|
+
nextLabel?: string;
|
|
12
|
+
focusRingColorClass: string;
|
|
13
|
+
todayTextClass: string;
|
|
14
|
+
todayRadiusClass?: string;
|
|
15
|
+
dayNameCaseClass?: string;
|
|
16
|
+
useFocusRingForToday?: boolean;
|
|
17
|
+
color?: CalendarColor;
|
|
18
|
+
monthOptions: string[];
|
|
19
|
+
yearOptions: number[];
|
|
20
|
+
dayOptions?: number[];
|
|
21
|
+
weekOptions?: {
|
|
22
|
+
index: number;
|
|
23
|
+
}[];
|
|
24
|
+
selectedMonth?: number;
|
|
25
|
+
selectedYear?: number;
|
|
26
|
+
selectedDay?: number;
|
|
27
|
+
selectedWeek?: number;
|
|
28
|
+
isMonthDisabled?: (i: number) => boolean;
|
|
29
|
+
isPrevDisabled?: boolean;
|
|
30
|
+
isNextDisabled?: boolean;
|
|
31
|
+
isPrevYearDisabled?: boolean;
|
|
32
|
+
isNextYearDisabled?: boolean;
|
|
33
|
+
}
|
|
34
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
+
prevYear: () => any;
|
|
36
|
+
nextYear: () => any;
|
|
37
|
+
prev: () => any;
|
|
38
|
+
next: () => any;
|
|
39
|
+
today: () => any;
|
|
40
|
+
"update:selectedMonth": (v: number) => any;
|
|
41
|
+
"update:selectedYear": (v: number) => any;
|
|
42
|
+
"update:selectedDay": (v: number) => any;
|
|
43
|
+
"update:selectedWeek": (v: number) => any;
|
|
44
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
45
|
+
onPrevYear?: (() => any) | undefined;
|
|
46
|
+
onNextYear?: (() => any) | undefined;
|
|
47
|
+
onPrev?: (() => any) | undefined;
|
|
48
|
+
onNext?: (() => any) | undefined;
|
|
49
|
+
onToday?: (() => any) | undefined;
|
|
50
|
+
"onUpdate:selectedMonth"?: ((v: number) => any) | undefined;
|
|
51
|
+
"onUpdate:selectedYear"?: ((v: number) => any) | undefined;
|
|
52
|
+
"onUpdate:selectedDay"?: ((v: number) => any) | undefined;
|
|
53
|
+
"onUpdate:selectedWeek"?: ((v: number) => any) | undefined;
|
|
54
|
+
}>, {
|
|
55
|
+
color: CalendarColor;
|
|
56
|
+
showHeader: boolean;
|
|
57
|
+
showYearJump: boolean;
|
|
58
|
+
showTodayButton: boolean;
|
|
59
|
+
showMonthYearSelects: boolean;
|
|
60
|
+
showWeekSelect: boolean;
|
|
61
|
+
prevLabel: string;
|
|
62
|
+
nextLabel: string;
|
|
63
|
+
todayRadiusClass: string;
|
|
64
|
+
useFocusRingForToday: boolean;
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
66
|
+
declare const _default: typeof __VLS_export;
|
|
67
|
+
export default _default;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { DayView } from '../../../interfaces/data-display/calendar/DayView.interface';
|
|
2
|
+
import { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface';
|
|
3
|
+
declare var __VLS_1: {
|
|
4
|
+
label: any;
|
|
5
|
+
goToToday: any;
|
|
6
|
+
prev: any;
|
|
7
|
+
next: any;
|
|
8
|
+
prevYear: any;
|
|
9
|
+
nextYear: any;
|
|
10
|
+
}, __VLS_14: {
|
|
11
|
+
event: any;
|
|
12
|
+
allDay: boolean;
|
|
13
|
+
}, __VLS_16: {
|
|
14
|
+
event: any;
|
|
15
|
+
allDay: boolean;
|
|
16
|
+
}, __VLS_25: {
|
|
17
|
+
event: any;
|
|
18
|
+
allDay: any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
header?: (props: typeof __VLS_1) => any;
|
|
22
|
+
} & {
|
|
23
|
+
event?: (props: typeof __VLS_14) => any;
|
|
24
|
+
} & {
|
|
25
|
+
event?: (props: typeof __VLS_16) => any;
|
|
26
|
+
} & {
|
|
27
|
+
'event-tooltip'?: (props: typeof __VLS_25) => any;
|
|
28
|
+
};
|
|
29
|
+
declare const __VLS_base: import('vue').DefineComponent<DayView, {
|
|
30
|
+
scrollToCurrentTime: () => void;
|
|
31
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
"update:modelValue": (date: Date) => any;
|
|
33
|
+
"event-click": (event: CalendarEvent, nativeEvent: MouseEvent) => any;
|
|
34
|
+
"create-event": (date: Date, allDay: boolean, nativeEvent: KeyboardEvent | MouseEvent) => any;
|
|
35
|
+
"event-drop": (event: CalendarEvent, newStart: Date, newEnd: Date | undefined) => any;
|
|
36
|
+
"slot-click": (date: Date, nativeEvent: MouseEvent) => any;
|
|
37
|
+
"event-resize": (event: CalendarEvent, newStart: Date, newEnd: Date) => any;
|
|
38
|
+
"select-range": (start: Date, end: Date) => any;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<DayView> & Readonly<{
|
|
40
|
+
"onUpdate:modelValue"?: ((date: Date) => any) | undefined;
|
|
41
|
+
"onEvent-click"?: ((event: CalendarEvent, nativeEvent: MouseEvent) => any) | undefined;
|
|
42
|
+
"onCreate-event"?: ((date: Date, allDay: boolean, nativeEvent: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
43
|
+
"onEvent-drop"?: ((event: CalendarEvent, newStart: Date, newEnd: Date | undefined) => any) | undefined;
|
|
44
|
+
"onSlot-click"?: ((date: Date, nativeEvent: MouseEvent) => any) | undefined;
|
|
45
|
+
"onEvent-resize"?: ((event: CalendarEvent, newStart: Date, newEnd: Date) => any) | undefined;
|
|
46
|
+
"onSelect-range"?: ((start: Date, end: Date) => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
color: "default" | "primary" | "danger" | "success" | "warning";
|
|
49
|
+
locale: string;
|
|
50
|
+
modelValue: Date;
|
|
51
|
+
readonly: boolean;
|
|
52
|
+
disabledDates: Date[];
|
|
53
|
+
showHeader: boolean;
|
|
54
|
+
format: "12h" | "24h";
|
|
55
|
+
bordered: boolean;
|
|
56
|
+
showYearJump: boolean;
|
|
57
|
+
showTodayButton: boolean;
|
|
58
|
+
showMonthYearSelects: boolean;
|
|
59
|
+
events: CalendarEvent[];
|
|
60
|
+
dayNameFormat: "narrow" | "short" | "long";
|
|
61
|
+
dayNameCase: "upper" | "lower" | "capitalize" | "normal";
|
|
62
|
+
draggableEvents: boolean;
|
|
63
|
+
highlightedDates: Date[];
|
|
64
|
+
disabledWeekdays: number[];
|
|
65
|
+
disabledTimeRanges: import('../../../interfaces/data-display/calendar/WeekView.interface').DisabledTimeRange[];
|
|
66
|
+
hourStart: number;
|
|
67
|
+
hourEnd: number;
|
|
68
|
+
slotMinutes: 15 | 30 | 60;
|
|
69
|
+
slotHeight: number;
|
|
70
|
+
showCurrentTime: boolean;
|
|
71
|
+
showCurrentTimeLabel: boolean;
|
|
72
|
+
currentTimeColor: "red" | "default" | "primary" | "danger" | "success" | "warning";
|
|
73
|
+
currentTimeUpdateInterval: number;
|
|
74
|
+
resizableEvents: boolean;
|
|
75
|
+
allowRangeSelection: boolean;
|
|
76
|
+
allowDropOnDisabled: boolean;
|
|
77
|
+
allowResizeOverDisabled: boolean;
|
|
78
|
+
preventOverlap: boolean;
|
|
79
|
+
autoScrollOnDrag: boolean;
|
|
80
|
+
showAllDayRow: boolean;
|
|
81
|
+
enableKeyboardNavigation: boolean;
|
|
82
|
+
showNowPill: boolean;
|
|
83
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
84
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
|
+
declare const _default: typeof __VLS_export;
|
|
86
|
+
export default _default;
|
|
87
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
88
|
+
new (): {
|
|
89
|
+
$slots: S;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { MonthView, CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface';
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
monthLabel: any;
|
|
4
|
+
year: any;
|
|
5
|
+
goToToday: any;
|
|
6
|
+
prev: any;
|
|
7
|
+
next: any;
|
|
8
|
+
}, __VLS_14: {
|
|
9
|
+
day: any;
|
|
10
|
+
events: any;
|
|
11
|
+
}, __VLS_16: {
|
|
12
|
+
event: any;
|
|
13
|
+
segment: any;
|
|
14
|
+
}, __VLS_25: {
|
|
15
|
+
event: any;
|
|
16
|
+
allDay: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
header?: (props: typeof __VLS_1) => any;
|
|
20
|
+
} & {
|
|
21
|
+
day?: (props: typeof __VLS_14) => any;
|
|
22
|
+
} & {
|
|
23
|
+
event?: (props: typeof __VLS_16) => any;
|
|
24
|
+
} & {
|
|
25
|
+
'event-tooltip'?: (props: typeof __VLS_25) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import('vue').DefineComponent<MonthView, {
|
|
28
|
+
focusGrid: () => void;
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
"update:modelValue": (date: Date) => any;
|
|
31
|
+
"event-click": (event: CalendarEvent, nativeEvent: MouseEvent) => any;
|
|
32
|
+
"day-click": (date: Date, events: CalendarEvent[], nativeEvent: MouseEvent) => any;
|
|
33
|
+
"more-click": (date: Date, events: CalendarEvent[], nativeEvent: MouseEvent) => any;
|
|
34
|
+
"create-event": (date: Date, nativeEvent: KeyboardEvent | MouseEvent) => any;
|
|
35
|
+
"event-drop": (event: CalendarEvent, newStart: Date, newEnd: Date | undefined) => any;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<MonthView> & Readonly<{
|
|
37
|
+
"onUpdate:modelValue"?: ((date: Date) => any) | undefined;
|
|
38
|
+
"onEvent-click"?: ((event: CalendarEvent, nativeEvent: MouseEvent) => any) | undefined;
|
|
39
|
+
"onDay-click"?: ((date: Date, events: CalendarEvent[], nativeEvent: MouseEvent) => any) | undefined;
|
|
40
|
+
"onMore-click"?: ((date: Date, events: CalendarEvent[], nativeEvent: MouseEvent) => any) | undefined;
|
|
41
|
+
"onCreate-event"?: ((date: Date, nativeEvent: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
42
|
+
"onEvent-drop"?: ((event: CalendarEvent, newStart: Date, newEnd: Date | undefined) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
color: "default" | "primary" | "danger" | "success" | "warning";
|
|
45
|
+
locale: string;
|
|
46
|
+
modelValue: Date;
|
|
47
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
48
|
+
showOutsideDays: boolean;
|
|
49
|
+
showHeader: boolean;
|
|
50
|
+
fixedWeeks: boolean;
|
|
51
|
+
bordered: boolean;
|
|
52
|
+
showYearJump: boolean;
|
|
53
|
+
showMonthYearSelects: boolean;
|
|
54
|
+
events: CalendarEvent[];
|
|
55
|
+
maxEventsPerDay: number;
|
|
56
|
+
showWeekNumbers: boolean;
|
|
57
|
+
keyboardNavigation: boolean;
|
|
58
|
+
dayNameFormat: "narrow" | "short" | "long";
|
|
59
|
+
dayNameCase: "upper" | "lower" | "capitalize" | "normal";
|
|
60
|
+
highlightWeekends: boolean;
|
|
61
|
+
draggableEvents: boolean;
|
|
62
|
+
laneHeight: number;
|
|
63
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
64
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
65
|
+
declare const _default: typeof __VLS_export;
|
|
66
|
+
export default _default;
|
|
67
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|