mood-ui 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -15
- package/dist/mood-ui.cjs +3 -3
- package/dist/mood-ui.cjs.map +1 -1
- package/dist/mood-ui.css +1 -1
- package/dist/mood-ui.mjs +2214 -1944
- package/dist/mood-ui.mjs.map +1 -1
- package/dist/types/components/data-display/Accordion.vue.d.ts +3 -3
- package/dist/types/components/data-display/Timeline.vue.d.ts +5 -5
- package/dist/types/components/data-display/calendar/AgendaView.vue.d.ts +24 -12
- package/dist/types/components/data-display/calendar/CalendarEventTooltip.vue.d.ts +2 -2
- package/dist/types/components/data-display/calendar/DayView.vue.d.ts +22 -10
- package/dist/types/components/data-display/calendar/MonthView.vue.d.ts +32 -11
- package/dist/types/components/data-display/calendar/Scheduler.vue.d.ts +25 -13
- package/dist/types/components/data-display/calendar/WeekView.vue.d.ts +22 -10
- package/dist/types/components/data-display/table/Table.vue.d.ts +20 -5
- package/dist/types/components/data-display/table/TableColumn.vue.d.ts +1 -1
- package/dist/types/components/feedback/Drawer.vue.d.ts +2 -1
- package/dist/types/components/feedback/Modal.vue.d.ts +2 -1
- package/dist/types/components/feedback/Tooltip.vue.d.ts +1 -1
- package/dist/types/components/forms/ColorModeSwitch.vue.d.ts +31 -0
- package/dist/types/components/forms/FormField.vue.d.ts +3 -3
- package/dist/types/components/layout/AppShell.vue.d.ts +35 -31
- package/dist/types/components/layout/Canvas.vue.d.ts +1 -1
- package/dist/types/components/layout/Container.vue.d.ts +1 -1
- package/dist/types/components/layout/Sidebar.vue.d.ts +5 -5
- package/dist/types/components/layout/SidebarRow.vue.d.ts +3 -1
- package/dist/types/components/navigation/DropdownMenu.vue.d.ts +2 -2
- package/dist/types/components/navigation/Tabs.vue.d.ts +5 -5
- package/dist/types/composables/useColorMode.d.ts +2 -2
- package/dist/types/composables/usePopover.d.ts +3 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/interfaces/forms/ColorModeSwitch.interface.d.ts +19 -0
- package/package.json +6 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Accordion } from '../../interfaces/data-display/Accordion.interface';
|
|
2
|
-
declare var __VLS_17:
|
|
3
|
-
item:
|
|
1
|
+
import { Accordion, AccordionItem } from '../../interfaces/data-display/Accordion.interface';
|
|
2
|
+
declare var __VLS_17: `item-${string}` | `item-${number}`, __VLS_18: {
|
|
3
|
+
item: AccordionItem;
|
|
4
4
|
};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Timeline } from '../../interfaces/data-display/Timeline.interface';
|
|
2
|
-
declare var __VLS_2:
|
|
3
|
-
item:
|
|
4
|
-
}, __VLS_11:
|
|
5
|
-
item:
|
|
1
|
+
import { Timeline, TimelineItem } from '../../interfaces/data-display/Timeline.interface';
|
|
2
|
+
declare var __VLS_2: `item-${string}` | `item-${number}`, __VLS_3: {
|
|
3
|
+
item: TimelineItem;
|
|
4
|
+
}, __VLS_11: `item-${string}` | `item-${number}`, __VLS_12: {
|
|
5
|
+
item: TimelineItem;
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
[K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
|
|
@@ -1,21 +1,33 @@
|
|
|
1
1
|
import { AgendaView } from '../../../interfaces/data-display/calendar/AgendaView.interface';
|
|
2
2
|
import { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface';
|
|
3
3
|
declare var __VLS_1: {
|
|
4
|
-
label:
|
|
5
|
-
goToToday:
|
|
6
|
-
prev:
|
|
7
|
-
next:
|
|
8
|
-
prevYear:
|
|
9
|
-
nextYear:
|
|
4
|
+
label: string;
|
|
5
|
+
goToToday: () => void;
|
|
6
|
+
prev: () => void;
|
|
7
|
+
next: () => void;
|
|
8
|
+
prevYear: () => void;
|
|
9
|
+
nextYear: () => void;
|
|
10
10
|
}, __VLS_14: {}, __VLS_16: {
|
|
11
|
-
date:
|
|
12
|
-
isToday:
|
|
13
|
-
events:
|
|
11
|
+
date: Date;
|
|
12
|
+
isToday: boolean;
|
|
13
|
+
events: CalendarEvent[];
|
|
14
14
|
}, __VLS_18: {
|
|
15
|
-
event:
|
|
15
|
+
event: CalendarEvent;
|
|
16
16
|
}, __VLS_27: {
|
|
17
|
-
event:
|
|
18
|
-
|
|
17
|
+
event: {
|
|
18
|
+
id: string | number;
|
|
19
|
+
title: string;
|
|
20
|
+
start: Date;
|
|
21
|
+
end?: Date | undefined;
|
|
22
|
+
allDay?: boolean | undefined;
|
|
23
|
+
color?: "default" | "primary" | "danger" | "success" | "warning" | "info" | "purple" | "pink" | undefined;
|
|
24
|
+
colorHex?: string | undefined;
|
|
25
|
+
resourceId?: string | number | undefined;
|
|
26
|
+
readonly?: boolean | undefined;
|
|
27
|
+
description?: string | undefined;
|
|
28
|
+
meta?: Record<string, unknown> | undefined;
|
|
29
|
+
};
|
|
30
|
+
allDay: boolean;
|
|
19
31
|
};
|
|
20
32
|
type __VLS_Slots = {} & {
|
|
21
33
|
header?: (props: typeof __VLS_1) => any;
|
|
@@ -6,11 +6,11 @@ declare const __VLS_export: <E extends {
|
|
|
6
6
|
end?: Date;
|
|
7
7
|
description?: string;
|
|
8
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<{
|
|
9
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<{
|
|
10
10
|
state: HoverState<E> | null;
|
|
11
11
|
style: CSSProperties;
|
|
12
12
|
formatTime: (d: Date) => string;
|
|
13
|
-
}> &
|
|
13
|
+
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
15
15
|
} ? P : {});
|
|
16
16
|
expose: (exposed: {}) => void;
|
|
@@ -1,21 +1,33 @@
|
|
|
1
1
|
import { DayView } from '../../../interfaces/data-display/calendar/DayView.interface';
|
|
2
2
|
import { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface';
|
|
3
3
|
declare var __VLS_1: {
|
|
4
|
-
label:
|
|
5
|
-
goToToday:
|
|
6
|
-
prev:
|
|
7
|
-
next:
|
|
8
|
-
prevYear:
|
|
9
|
-
nextYear:
|
|
4
|
+
label: string;
|
|
5
|
+
goToToday: () => void;
|
|
6
|
+
prev: () => void;
|
|
7
|
+
next: () => void;
|
|
8
|
+
prevYear: () => void;
|
|
9
|
+
nextYear: () => void;
|
|
10
10
|
}, __VLS_14: {
|
|
11
|
-
event:
|
|
11
|
+
event: CalendarEvent;
|
|
12
12
|
allDay: boolean;
|
|
13
13
|
}, __VLS_16: {
|
|
14
|
-
event:
|
|
14
|
+
event: CalendarEvent;
|
|
15
15
|
allDay: boolean;
|
|
16
16
|
}, __VLS_25: {
|
|
17
|
-
event:
|
|
18
|
-
|
|
17
|
+
event: {
|
|
18
|
+
id: string | number;
|
|
19
|
+
title: string;
|
|
20
|
+
start: Date;
|
|
21
|
+
end?: Date | undefined;
|
|
22
|
+
allDay?: boolean | undefined;
|
|
23
|
+
color?: "default" | "primary" | "danger" | "success" | "warning" | "info" | "purple" | "pink" | undefined;
|
|
24
|
+
colorHex?: string | undefined;
|
|
25
|
+
resourceId?: string | number | undefined;
|
|
26
|
+
readonly?: boolean | undefined;
|
|
27
|
+
description?: string | undefined;
|
|
28
|
+
meta?: Record<string, unknown> | undefined;
|
|
29
|
+
};
|
|
30
|
+
allDay: boolean;
|
|
19
31
|
};
|
|
20
32
|
type __VLS_Slots = {} & {
|
|
21
33
|
header?: (props: typeof __VLS_1) => any;
|
|
@@ -1,19 +1,40 @@
|
|
|
1
|
+
import { CalendarDay } from '../../../composables/useCalendar';
|
|
1
2
|
import { MonthView, CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface';
|
|
3
|
+
interface EventSegment {
|
|
4
|
+
key: string;
|
|
5
|
+
event: CalendarEvent;
|
|
6
|
+
startCol: number;
|
|
7
|
+
span: number;
|
|
8
|
+
lane: number;
|
|
9
|
+
isFirst: boolean;
|
|
10
|
+
}
|
|
2
11
|
declare var __VLS_1: {
|
|
3
|
-
monthLabel:
|
|
4
|
-
year:
|
|
5
|
-
goToToday:
|
|
6
|
-
prev:
|
|
7
|
-
next:
|
|
12
|
+
monthLabel: string;
|
|
13
|
+
year: number;
|
|
14
|
+
goToToday: () => void;
|
|
15
|
+
prev: () => void;
|
|
16
|
+
next: () => void;
|
|
8
17
|
}, __VLS_14: {
|
|
9
|
-
day:
|
|
10
|
-
events:
|
|
18
|
+
day: CalendarDay;
|
|
19
|
+
events: CalendarEvent[];
|
|
11
20
|
}, __VLS_16: {
|
|
12
|
-
event:
|
|
13
|
-
segment:
|
|
21
|
+
event: CalendarEvent;
|
|
22
|
+
segment: EventSegment;
|
|
14
23
|
}, __VLS_25: {
|
|
15
|
-
event:
|
|
16
|
-
|
|
24
|
+
event: {
|
|
25
|
+
id: string | number;
|
|
26
|
+
title: string;
|
|
27
|
+
start: Date;
|
|
28
|
+
end?: Date | undefined;
|
|
29
|
+
allDay?: boolean | undefined;
|
|
30
|
+
color?: "default" | "primary" | "danger" | "success" | "warning" | "info" | "purple" | "pink" | undefined;
|
|
31
|
+
colorHex?: string | undefined;
|
|
32
|
+
resourceId?: string | number | undefined;
|
|
33
|
+
readonly?: boolean | undefined;
|
|
34
|
+
description?: string | undefined;
|
|
35
|
+
meta?: Record<string, unknown> | undefined;
|
|
36
|
+
};
|
|
37
|
+
allDay: boolean;
|
|
17
38
|
};
|
|
18
39
|
type __VLS_Slots = {} & {
|
|
19
40
|
header?: (props: typeof __VLS_1) => any;
|
|
@@ -1,24 +1,36 @@
|
|
|
1
1
|
import { Scheduler, SchedulerResource, SchedulerEvent } from '../../../interfaces/data-display/calendar/Scheduler.interface';
|
|
2
2
|
declare var __VLS_1: {
|
|
3
|
-
label:
|
|
4
|
-
goToToday:
|
|
5
|
-
prev:
|
|
6
|
-
next:
|
|
7
|
-
prevYear:
|
|
8
|
-
nextYear:
|
|
3
|
+
label: string;
|
|
4
|
+
goToToday: () => void;
|
|
5
|
+
prev: () => void;
|
|
6
|
+
next: () => void;
|
|
7
|
+
prevYear: () => void;
|
|
8
|
+
nextYear: () => void;
|
|
9
9
|
}, __VLS_14: {
|
|
10
|
-
resource:
|
|
10
|
+
resource: SchedulerResource;
|
|
11
11
|
}, __VLS_21: {
|
|
12
|
-
event:
|
|
13
|
-
resource:
|
|
12
|
+
event: SchedulerEvent;
|
|
13
|
+
resource: SchedulerResource;
|
|
14
14
|
allDay: boolean;
|
|
15
15
|
}, __VLS_23: {
|
|
16
|
-
event:
|
|
17
|
-
resource:
|
|
16
|
+
event: SchedulerEvent;
|
|
17
|
+
resource: SchedulerResource;
|
|
18
18
|
allDay: boolean;
|
|
19
19
|
}, __VLS_32: {
|
|
20
|
-
event:
|
|
21
|
-
|
|
20
|
+
event: {
|
|
21
|
+
resourceId?: string | number | undefined;
|
|
22
|
+
id: string | number;
|
|
23
|
+
title: string;
|
|
24
|
+
start: Date;
|
|
25
|
+
end?: Date | undefined;
|
|
26
|
+
allDay?: boolean | undefined;
|
|
27
|
+
color?: "default" | "primary" | "danger" | "success" | "warning" | "info" | "purple" | "pink" | undefined;
|
|
28
|
+
colorHex?: string | undefined;
|
|
29
|
+
readonly?: boolean | undefined;
|
|
30
|
+
description?: string | undefined;
|
|
31
|
+
meta?: Record<string, unknown> | undefined;
|
|
32
|
+
};
|
|
33
|
+
allDay: boolean;
|
|
22
34
|
};
|
|
23
35
|
type __VLS_Slots = {} & {
|
|
24
36
|
header?: (props: typeof __VLS_1) => any;
|
|
@@ -1,21 +1,33 @@
|
|
|
1
1
|
import { WeekView } from '../../../interfaces/data-display/calendar/WeekView.interface';
|
|
2
2
|
import { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface';
|
|
3
3
|
declare var __VLS_1: {
|
|
4
|
-
rangeLabel:
|
|
5
|
-
goToToday:
|
|
6
|
-
prev:
|
|
7
|
-
next:
|
|
8
|
-
prevYear:
|
|
9
|
-
nextYear:
|
|
4
|
+
rangeLabel: string;
|
|
5
|
+
goToToday: () => void;
|
|
6
|
+
prev: () => void;
|
|
7
|
+
next: () => void;
|
|
8
|
+
prevYear: () => void;
|
|
9
|
+
nextYear: () => void;
|
|
10
10
|
}, __VLS_14: {
|
|
11
|
-
event:
|
|
11
|
+
event: CalendarEvent;
|
|
12
12
|
allDay: boolean;
|
|
13
13
|
}, __VLS_16: {
|
|
14
|
-
event:
|
|
14
|
+
event: CalendarEvent;
|
|
15
15
|
allDay: boolean;
|
|
16
16
|
}, __VLS_25: {
|
|
17
|
-
event:
|
|
18
|
-
|
|
17
|
+
event: {
|
|
18
|
+
id: string | number;
|
|
19
|
+
title: string;
|
|
20
|
+
start: Date;
|
|
21
|
+
end?: Date | undefined;
|
|
22
|
+
allDay?: boolean | undefined;
|
|
23
|
+
color?: "default" | "primary" | "danger" | "success" | "warning" | "info" | "purple" | "pink" | undefined;
|
|
24
|
+
colorHex?: string | undefined;
|
|
25
|
+
resourceId?: string | number | undefined;
|
|
26
|
+
readonly?: boolean | undefined;
|
|
27
|
+
description?: string | undefined;
|
|
28
|
+
meta?: Record<string, unknown> | undefined;
|
|
29
|
+
};
|
|
30
|
+
allDay: boolean;
|
|
19
31
|
};
|
|
20
32
|
type __VLS_Slots = {} & {
|
|
21
33
|
header?: (props: typeof __VLS_1) => any;
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import { Table as TableProps, TableSelection, TableSortState, TableFilterState, TableExpansionState, TablePaginationState, TableColumnState, TableCellEditEvent, TableStateSnapshot } from '../../../interfaces/data-display/table/Table.interface';
|
|
2
2
|
declare const __VLS_export: <TRow>(__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<{
|
|
3
|
-
props:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<TableProps<TRow> & {
|
|
4
|
+
"onUpdate:pagination"?: ((next: TablePaginationState) => any) | undefined;
|
|
5
|
+
"onUpdate:sort"?: ((next: TableSortState) => any) | undefined;
|
|
6
|
+
"onUpdate:selected"?: ((next: TableSelection) => any) | undefined;
|
|
7
|
+
"onUpdate:filter"?: ((next: TableFilterState) => any) | undefined;
|
|
8
|
+
"onUpdate:expanded"?: ((next: TableExpansionState) => any) | undefined;
|
|
9
|
+
"onUpdate:columnsState"?: ((next: TableColumnState[]) => any) | undefined;
|
|
10
|
+
"onUpdate:treeExpanded"?: ((next: (string | number)[]) => any) | undefined;
|
|
11
|
+
"onUpdate:groupExpanded"?: ((next: (string | number)[]) => any) | undefined;
|
|
12
|
+
"onUpdate:globalSearchTerm"?: ((next: string) => any) | undefined;
|
|
13
|
+
"onRow-activate"?: ((row: TRow, index: number) => any) | undefined;
|
|
14
|
+
"onRow-click"?: ((row: TRow, index: number) => any) | undefined;
|
|
15
|
+
"onCell-edit"?: ((event: TableCellEditEvent<TRow>) => any) | undefined;
|
|
16
|
+
"onCell-edit-cancel"?: ((ctx: {
|
|
17
|
+
key: string;
|
|
18
|
+
row: TRow;
|
|
19
|
+
index: number;
|
|
20
|
+
}) => any) | undefined;
|
|
21
|
+
"onUpdate:state"?: ((next: TableStateSnapshot) => any) | undefined;
|
|
22
|
+
}> & (typeof globalThis extends {
|
|
8
23
|
__VLS_PROPS_FALLBACK: infer P;
|
|
9
24
|
} ? P : {});
|
|
10
25
|
expose: (exposed: {}) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableColumnProps } from '../../../interfaces/data-display/table/TableColumn.interface';
|
|
2
2
|
declare const __VLS_export: <TRow = any>(__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<{
|
|
3
|
-
props:
|
|
3
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<TableColumnProps<TRow>> & (typeof globalThis extends {
|
|
4
4
|
__VLS_PROPS_FALLBACK: infer P;
|
|
5
5
|
} ? P : {});
|
|
6
6
|
expose: (exposed: {}) => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Drawer } from '../../interfaces/feedback/Drawer.interface';
|
|
2
|
+
declare function close(): void;
|
|
2
3
|
declare var __VLS_23: {}, __VLS_37: {}, __VLS_39: {}, __VLS_41: {
|
|
3
|
-
close:
|
|
4
|
+
close: typeof close;
|
|
4
5
|
};
|
|
5
6
|
type __VLS_Slots = {} & {
|
|
6
7
|
header?: (props: typeof __VLS_23) => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Modal } from '../../interfaces/feedback/Modal.interface';
|
|
2
|
+
declare function close(): void;
|
|
2
3
|
declare var __VLS_23: {}, __VLS_37: {}, __VLS_39: {}, __VLS_41: {
|
|
3
|
-
close:
|
|
4
|
+
close: typeof close;
|
|
4
5
|
};
|
|
5
6
|
type __VLS_Slots = {} & {
|
|
6
7
|
header?: (props: typeof __VLS_23) => any;
|
|
@@ -16,11 +16,11 @@ declare const __VLS_base: import('vue').DefineComponent<Tooltip, {}, {}, {}, {},
|
|
|
16
16
|
}>, {
|
|
17
17
|
color: "default" | "primary" | "danger" | "success" | "warning" | "inverted";
|
|
18
18
|
placement: TooltipPlacement;
|
|
19
|
+
maxWidth: number;
|
|
19
20
|
disabled: boolean;
|
|
20
21
|
trigger: TooltipTrigger | TooltipTrigger[];
|
|
21
22
|
offset: number;
|
|
22
23
|
open: boolean;
|
|
23
|
-
maxWidth: number;
|
|
24
24
|
openDelay: number;
|
|
25
25
|
closeDelay: number;
|
|
26
26
|
arrow: boolean;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ModoTheme } from '../../config/ModoConfig';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue: ModoTheme;
|
|
4
|
+
/** Accessible name for the radiogroup. */
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
/** Show text labels next to each icon. */
|
|
7
|
+
showLabels?: boolean;
|
|
8
|
+
/** Size variant. */
|
|
9
|
+
size?: 'small' | 'medium' | 'large';
|
|
10
|
+
/** Disabled state — prevents selection changes. */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* `default` — always shows all three options.
|
|
14
|
+
* `collapsed` — shows only the active option at rest; expands on hover (mouse)
|
|
15
|
+
* or on first tap (touch) to reveal all three.
|
|
16
|
+
*/
|
|
17
|
+
variant?: 'default' | 'collapsed';
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (v: ModoTheme) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((v: ModoTheme) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
size: "small" | "medium" | "large";
|
|
25
|
+
variant: "default" | "collapsed";
|
|
26
|
+
ariaLabel: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
showLabels: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FormField } from '../../interfaces/forms/FormField.interface';
|
|
2
2
|
declare var __VLS_8: {}, __VLS_10: {
|
|
3
|
-
id:
|
|
4
|
-
describedBy:
|
|
5
|
-
invalid:
|
|
3
|
+
id: string;
|
|
4
|
+
describedBy: string | undefined;
|
|
5
|
+
invalid: boolean;
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
required: boolean;
|
|
8
8
|
color: string | undefined;
|
|
@@ -1,62 +1,66 @@
|
|
|
1
1
|
import { AppShell } from '../../interfaces/layout/AppShell.interface';
|
|
2
|
+
declare function toggleCollapsed(): void;
|
|
3
|
+
declare function openMobile(): void;
|
|
4
|
+
declare function closeMobile(): void;
|
|
5
|
+
declare function toggleSidebar(): void;
|
|
2
6
|
declare var __VLS_8: {
|
|
3
|
-
collapsed:
|
|
4
|
-
mobileOpen:
|
|
5
|
-
toggleSidebar:
|
|
6
|
-
toggleCollapsed:
|
|
7
|
-
openMobile:
|
|
8
|
-
closeMobile:
|
|
7
|
+
collapsed: boolean;
|
|
8
|
+
mobileOpen: boolean;
|
|
9
|
+
toggleSidebar: typeof toggleSidebar;
|
|
10
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
11
|
+
openMobile: typeof openMobile;
|
|
12
|
+
closeMobile: typeof closeMobile;
|
|
9
13
|
}, __VLS_10: {}, __VLS_12: {
|
|
10
|
-
toggleCollapsed:
|
|
11
|
-
collapsed:
|
|
14
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
15
|
+
collapsed: boolean;
|
|
12
16
|
}, __VLS_14: {}, __VLS_16: {
|
|
13
17
|
collapsed: boolean;
|
|
14
|
-
toggleCollapsed:
|
|
18
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
15
19
|
isMobile: boolean;
|
|
16
|
-
closeMobile:
|
|
20
|
+
closeMobile: typeof closeMobile;
|
|
17
21
|
}, __VLS_18: {
|
|
18
22
|
collapsed: boolean;
|
|
19
|
-
toggleCollapsed:
|
|
23
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
20
24
|
isMobile: boolean;
|
|
21
|
-
closeMobile:
|
|
25
|
+
closeMobile: typeof closeMobile;
|
|
22
26
|
}, __VLS_20: {
|
|
23
27
|
collapsed: boolean;
|
|
24
|
-
toggleCollapsed:
|
|
28
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
25
29
|
isMobile: boolean;
|
|
26
|
-
closeMobile:
|
|
30
|
+
closeMobile: typeof closeMobile;
|
|
27
31
|
}, __VLS_22: {
|
|
28
|
-
collapsed:
|
|
29
|
-
toggleCollapsed:
|
|
32
|
+
collapsed: boolean;
|
|
33
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
30
34
|
isMobile: boolean;
|
|
31
|
-
closeMobile:
|
|
35
|
+
closeMobile: typeof closeMobile;
|
|
32
36
|
}, __VLS_24: {
|
|
33
|
-
collapsed:
|
|
34
|
-
toggleCollapsed:
|
|
37
|
+
collapsed: boolean;
|
|
38
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
35
39
|
isMobile: boolean;
|
|
36
|
-
closeMobile:
|
|
40
|
+
closeMobile: typeof closeMobile;
|
|
37
41
|
}, __VLS_26: {
|
|
38
|
-
collapsed:
|
|
39
|
-
toggleCollapsed:
|
|
42
|
+
collapsed: boolean;
|
|
43
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
40
44
|
isMobile: boolean;
|
|
41
|
-
closeMobile:
|
|
45
|
+
closeMobile: typeof closeMobile;
|
|
42
46
|
}, __VLS_28: {}, __VLS_30: {}, __VLS_50: {
|
|
43
47
|
collapsed: boolean;
|
|
44
|
-
toggleCollapsed:
|
|
48
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
45
49
|
isMobile: boolean;
|
|
46
|
-
closeMobile:
|
|
50
|
+
closeMobile: typeof closeMobile;
|
|
47
51
|
}, __VLS_52: {
|
|
48
52
|
collapsed: boolean;
|
|
49
|
-
toggleCollapsed:
|
|
53
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
50
54
|
isMobile: boolean;
|
|
51
|
-
closeMobile:
|
|
55
|
+
closeMobile: typeof closeMobile;
|
|
52
56
|
}, __VLS_54: {
|
|
53
57
|
collapsed: boolean;
|
|
54
|
-
toggleCollapsed:
|
|
58
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
55
59
|
}, __VLS_56: {
|
|
56
60
|
collapsed: boolean;
|
|
57
|
-
toggleCollapsed:
|
|
61
|
+
toggleCollapsed: typeof toggleCollapsed;
|
|
58
62
|
isMobile: boolean;
|
|
59
|
-
closeMobile:
|
|
63
|
+
closeMobile: typeof closeMobile;
|
|
60
64
|
};
|
|
61
65
|
type __VLS_Slots = {} & {
|
|
62
66
|
topbar?: (props: typeof __VLS_8) => any;
|
|
@@ -101,12 +105,12 @@ declare const __VLS_base: import('vue').DefineComponent<AppShell, {}, {}, {}, {}
|
|
|
101
105
|
radius: "none" | "small" | "medium" | "large" | "full";
|
|
102
106
|
variant: "standard" | "rail" | "dual";
|
|
103
107
|
as: string;
|
|
108
|
+
collapsed: boolean;
|
|
104
109
|
appearance: "flush" | "contained";
|
|
105
110
|
sidebarPosition: "left" | "right";
|
|
106
111
|
sidebarWidth: "small" | "medium" | "large";
|
|
107
112
|
collapsedWidth: "small" | "medium";
|
|
108
113
|
railWidth: "small" | "medium";
|
|
109
|
-
collapsed: boolean;
|
|
110
114
|
mobileOpen: boolean;
|
|
111
115
|
breakpoint: "md" | "lg" | "xl";
|
|
112
116
|
stickyTopbar: boolean;
|
|
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_8) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import('vue').DefineComponent<Canvas, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Canvas> & Readonly<{}>, {
|
|
7
|
-
as: string;
|
|
8
7
|
pattern: "dots" | "grid" | "lines" | "none";
|
|
8
|
+
as: string;
|
|
9
9
|
cellSize: number;
|
|
10
10
|
intensity: "subtle" | "normal" | "strong";
|
|
11
11
|
surface: "card" | "background" | "muted";
|
|
@@ -5,8 +5,8 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import('vue').DefineComponent<Container, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Container> & Readonly<{}>, {
|
|
7
7
|
height: "auto" | "screen" | "fill" | "full";
|
|
8
|
-
as: "div" | "section" | "article" | "main" | "aside" | "header" | "footer" | "nav";
|
|
9
8
|
maxWidth: "sm" | "md" | "lg" | "xl" | "2xl" | "full" | "none";
|
|
9
|
+
as: "div" | "section" | "article" | "main" | "aside" | "header" | "footer" | "nav";
|
|
10
10
|
padding: "none" | "small" | "medium" | "large";
|
|
11
11
|
centered: boolean;
|
|
12
12
|
centerContent: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Sidebar, SidebarItem } from '../../interfaces/layout/Sidebar.interface';
|
|
2
2
|
declare var __VLS_8: {
|
|
3
|
-
collapsed:
|
|
3
|
+
collapsed: boolean;
|
|
4
4
|
}, __VLS_10: {
|
|
5
|
-
collapsed:
|
|
6
|
-
activeId:
|
|
5
|
+
collapsed: boolean;
|
|
6
|
+
activeId: string | number | null;
|
|
7
7
|
}, __VLS_25: {
|
|
8
|
-
collapsed:
|
|
8
|
+
collapsed: boolean;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
header?: (props: typeof __VLS_8) => any;
|
|
@@ -22,11 +22,11 @@ declare const __VLS_base: import('vue').DefineComponent<Sidebar, {}, {}, {}, {},
|
|
|
22
22
|
"onUpdate:activeId"?: ((value: string | number | null) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
as: string;
|
|
25
|
+
activeId: string | number | null;
|
|
25
26
|
padding: "none" | "small" | "medium" | "large";
|
|
26
27
|
collapsed: boolean;
|
|
27
28
|
activeVariant: "tonal" | "solid" | "bar";
|
|
28
29
|
barSide: "start" | "end";
|
|
29
|
-
activeId: string | number | null;
|
|
30
30
|
dividers: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DropdownMenu, DropdownMenuItem } from '../../interfaces/navigation/DropdownMenu.interface';
|
|
2
2
|
declare var __VLS_1: {
|
|
3
|
-
open:
|
|
4
|
-
toggle:
|
|
3
|
+
open: boolean;
|
|
4
|
+
toggle: () => void;
|
|
5
5
|
};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
trigger?: (props: typeof __VLS_1) => any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Tabs as TabsProps, TabItem } from '../../interfaces/navigation/Tabs.interface';
|
|
2
2
|
declare function activate(item: TabItem): void;
|
|
3
|
-
declare var __VLS_16:
|
|
4
|
-
item:
|
|
5
|
-
active:
|
|
3
|
+
declare var __VLS_16: `panel-${string}` | `panel-${number}`, __VLS_17: {
|
|
4
|
+
item: TabItem;
|
|
5
|
+
active: boolean;
|
|
6
6
|
}, __VLS_19: {
|
|
7
|
-
item:
|
|
8
|
-
active:
|
|
7
|
+
item: TabItem;
|
|
8
|
+
active: boolean;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
[K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* the side effect of toggling the `.dark` class on `<html>` runs exactly once
|
|
9
9
|
* when the mode (or the OS preference while in `'system'`) changes.
|
|
10
10
|
*/
|
|
11
|
-
export type ColorMode =
|
|
11
|
+
export type ColorMode = "light" | "dark" | "system";
|
|
12
12
|
export declare function useColorMode(): {
|
|
13
13
|
/** The raw chosen mode: `'light' | 'dark' | 'system'`. */
|
|
14
14
|
mode: import('vue').Ref<ColorMode, ColorMode>;
|
|
@@ -25,4 +25,4 @@ export declare function useColorMode(): {
|
|
|
25
25
|
* Resolves any `ColorMode` to a concrete `'light' | 'dark'` without touching
|
|
26
26
|
* the global singleton. Used by scoped providers to pick `data-modo-theme`.
|
|
27
27
|
*/
|
|
28
|
-
export declare function resolveColorMode(m: ColorMode):
|
|
28
|
+
export declare function resolveColorMode(m: ColorMode): "light" | "dark";
|
|
@@ -22,6 +22,7 @@ export interface PopoverPosition {
|
|
|
22
22
|
top: number;
|
|
23
23
|
left: number;
|
|
24
24
|
width?: number;
|
|
25
|
+
maxHeight?: number;
|
|
25
26
|
/** Placement final (puede diferir del solicitado si hubo flip). */
|
|
26
27
|
placement: PopoverPlacement;
|
|
27
28
|
}
|
|
@@ -44,11 +45,13 @@ export declare function usePopover(options?: UsePopoverOptions): {
|
|
|
44
45
|
top: number;
|
|
45
46
|
left: number;
|
|
46
47
|
width?: number | undefined;
|
|
48
|
+
maxHeight?: number | undefined;
|
|
47
49
|
placement: PopoverPlacement;
|
|
48
50
|
}, PopoverPosition | {
|
|
49
51
|
top: number;
|
|
50
52
|
left: number;
|
|
51
53
|
width?: number | undefined;
|
|
54
|
+
maxHeight?: number | undefined;
|
|
52
55
|
placement: PopoverPlacement;
|
|
53
56
|
}>;
|
|
54
57
|
panelStyle: import('vue').ComputedRef<Record<string, string>>;
|