@construct-space/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.
Files changed (51) hide show
  1. package/dist/components/Accordion.vue.d.ts +41 -0
  2. package/dist/components/Alert.vue.d.ts +26 -0
  3. package/dist/components/Avatar.vue.d.ts +13 -0
  4. package/dist/components/Badge.vue.d.ts +25 -0
  5. package/dist/components/Button.vue.d.ts +32 -0
  6. package/dist/components/Calendar.vue.d.ts +57 -0
  7. package/dist/components/Card.vue.d.ts +28 -0
  8. package/dist/components/Checkbox.vue.d.ts +26 -0
  9. package/dist/components/Chip.vue.d.ts +32 -0
  10. package/dist/components/ColorPicker.vue.d.ts +21 -0
  11. package/dist/components/ContextMenu.vue.d.ts +24 -0
  12. package/dist/components/DashboardPanel.vue.d.ts +37 -0
  13. package/dist/components/Drawer.vue.d.ts +35 -0
  14. package/dist/components/Dropdown.vue.d.ts +23 -0
  15. package/dist/components/DropdownMenu.vue.d.ts +32 -0
  16. package/dist/components/DropdownMenuItem.vue.d.ts +25 -0
  17. package/dist/components/Empty.vue.d.ts +17 -0
  18. package/dist/components/FormField.vue.d.ts +36 -0
  19. package/dist/components/Icon.vue.d.ts +5 -0
  20. package/dist/components/Input.vue.d.ts +28 -0
  21. package/dist/components/Kbd.vue.d.ts +11 -0
  22. package/dist/components/Modal.vue.d.ts +42 -0
  23. package/dist/components/Pagination.vue.d.ts +17 -0
  24. package/dist/components/PanelSection.vue.d.ts +34 -0
  25. package/dist/components/Popover.vue.d.ts +28 -0
  26. package/dist/components/Progress.vue.d.ts +23 -0
  27. package/dist/components/PropRow.vue.d.ts +35 -0
  28. package/dist/components/RadioGroup.vue.d.ts +28 -0
  29. package/dist/components/ScrollArea.vue.d.ts +12 -0
  30. package/dist/components/Select.vue.d.ts +32 -0
  31. package/dist/components/SelectMenu.vue.d.ts +40 -0
  32. package/dist/components/Separator.vue.d.ts +12 -0
  33. package/dist/components/Skeleton.vue.d.ts +17 -0
  34. package/dist/components/Slideover.vue.d.ts +31 -0
  35. package/dist/components/Slider.vue.d.ts +21 -0
  36. package/dist/components/Switch.vue.d.ts +30 -0
  37. package/dist/components/Table.vue.d.ts +63 -0
  38. package/dist/components/Tabs.vue.d.ts +28 -0
  39. package/dist/components/Textarea.vue.d.ts +27 -0
  40. package/dist/components/Timeline.vue.d.ts +38 -0
  41. package/dist/components/Toast.vue.d.ts +2 -0
  42. package/dist/components/Tooltip.vue.d.ts +25 -0
  43. package/dist/components/Tree.vue.d.ts +157 -0
  44. package/dist/composables/useAuth.d.ts +39 -0
  45. package/dist/composables/useToast.d.ts +46 -0
  46. package/dist/construct-ui.js +15289 -0
  47. package/dist/index.d.ts +55 -0
  48. package/dist/layouts/HeaderLayout.vue.d.ts +44 -0
  49. package/dist/layouts/SidebarLayout.vue.d.ts +43 -0
  50. package/dist/style.css +2 -0
  51. package/package.json +60 -0
@@ -0,0 +1,41 @@
1
+ export interface AccordionOption {
2
+ label: string;
3
+ icon?: string;
4
+ content?: string;
5
+ defaultOpen?: boolean;
6
+ disabled?: boolean;
7
+ slot?: string;
8
+ value?: string;
9
+ [key: string]: unknown;
10
+ }
11
+ type __VLS_Props = {
12
+ items?: AccordionOption[];
13
+ type?: 'single' | 'multiple';
14
+ defaultValue?: string | string[];
15
+ ui?: Record<string, string>;
16
+ };
17
+ declare var __VLS_18: {
18
+ item: AccordionOption;
19
+ }, __VLS_28: {
20
+ item: AccordionOption;
21
+ }, __VLS_31: string, __VLS_32: {
22
+ item: AccordionOption;
23
+ };
24
+ type __VLS_Slots = {} & {
25
+ [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any;
26
+ } & {
27
+ leading?: (props: typeof __VLS_18) => any;
28
+ } & {
29
+ body?: (props: typeof __VLS_28) => any;
30
+ };
31
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
32
+ items: AccordionOption[];
33
+ type: "single" | "multiple";
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
36
+ export default _default;
37
+ type __VLS_WithSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ description?: string;
4
+ icon?: string;
5
+ color?: 'info' | 'success' | 'warning' | 'error';
6
+ closable?: boolean;
7
+ };
8
+ declare var __VLS_5: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_5) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ close: () => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onClose?: (() => any) | undefined;
16
+ }>, {
17
+ color: "info" | "success" | "warning" | "error";
18
+ closable: boolean;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ src?: string;
3
+ alt?: string;
4
+ fallback?: string;
5
+ size?: 'sm' | 'md' | 'lg';
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ src: string;
9
+ alt: string;
10
+ fallback: string;
11
+ size: "sm" | "md" | "lg";
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Badge - Nuxt UI v3 compatible badge
3
+ */
4
+ type __VLS_Props = {
5
+ color?: 'primary' | 'neutral' | 'success' | 'warning' | 'error' | 'info';
6
+ variant?: 'solid' | 'soft' | 'subtle' | 'outline';
7
+ size?: 'xs' | 'sm' | 'md';
8
+ label?: string;
9
+ };
10
+ declare var __VLS_1: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_1) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ color: "primary" | "neutral" | "success" | "warning" | "error" | "info";
16
+ size: "xs" | "sm" | "md";
17
+ variant: "solid" | "soft" | "subtle" | "outline";
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,32 @@
1
+ type __VLS_Props = {
2
+ icon?: string;
3
+ trailingIcon?: string;
4
+ variant?: 'solid' | 'soft' | 'ghost' | 'outline' | 'link';
5
+ color?: 'primary' | 'neutral' | 'warning' | 'info' | 'success' | 'error';
6
+ size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg';
7
+ loading?: boolean;
8
+ disabled?: boolean;
9
+ block?: boolean;
10
+ to?: string;
11
+ label?: string;
12
+ };
13
+ type __VLS_Slots = {
14
+ default?: () => unknown;
15
+ leading?: () => unknown;
16
+ trailing?: () => unknown;
17
+ };
18
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
+ disabled: boolean;
20
+ color: "primary" | "neutral" | "warning" | "info" | "success" | "error";
21
+ size: "2xs" | "xs" | "sm" | "md" | "lg";
22
+ variant: "solid" | "soft" | "ghost" | "outline" | "link";
23
+ loading: boolean;
24
+ block: boolean;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,57 @@
1
+ export interface CalendarEvent {
2
+ id: string | number;
3
+ title: string;
4
+ start: Date;
5
+ end: Date;
6
+ color?: string;
7
+ allDay?: boolean;
8
+ }
9
+ type CalendarView = 'month' | 'week' | 'day';
10
+ type __VLS_Props = {
11
+ modelValue?: Date;
12
+ view?: CalendarView;
13
+ events?: CalendarEvent[];
14
+ weekStartsOn?: 0 | 1;
15
+ };
16
+ type __VLS_Slots = {
17
+ event?: (props: {
18
+ event: CalendarEvent;
19
+ }) => unknown;
20
+ };
21
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:modelValue": (date: Date) => any;
23
+ "update:view": (view: CalendarView) => any;
24
+ "select-date": (date: Date) => any;
25
+ "select-range": (range: {
26
+ start: Date;
27
+ end: Date;
28
+ }) => any;
29
+ "create-event": (payload: {
30
+ date: Date;
31
+ hour?: number;
32
+ }) => any;
33
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
+ "onUpdate:modelValue"?: ((date: Date) => any) | undefined;
35
+ "onUpdate:view"?: ((view: CalendarView) => any) | undefined;
36
+ "onSelect-date"?: ((date: Date) => any) | undefined;
37
+ "onSelect-range"?: ((range: {
38
+ start: Date;
39
+ end: Date;
40
+ }) => any) | undefined;
41
+ "onCreate-event"?: ((payload: {
42
+ date: Date;
43
+ hour?: number;
44
+ }) => any) | undefined;
45
+ }>, {
46
+ modelValue: Date;
47
+ view: CalendarView;
48
+ events: CalendarEvent[];
49
+ weekStartsOn: 0 | 1;
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
52
+ export default _default;
53
+ type __VLS_WithSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Card - Nuxt UI v3 compatible card
3
+ */
4
+ type __VLS_Props = {
5
+ title?: string;
6
+ description?: string;
7
+ variant?: 'default' | 'outline';
8
+ };
9
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
10
+ type __VLS_Slots = {} & {
11
+ header?: (props: typeof __VLS_1) => any;
12
+ } & {
13
+ default?: (props: typeof __VLS_3) => any;
14
+ } & {
15
+ footer?: (props: typeof __VLS_5) => any;
16
+ };
17
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
+ title: string;
19
+ description: string;
20
+ variant: "default" | "outline";
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ modelValue?: boolean;
3
+ label?: string;
4
+ disabled?: boolean;
5
+ color?: string;
6
+ };
7
+ declare var __VLS_13: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_13) => any;
10
+ };
11
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (value: boolean) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
+ }>, {
16
+ label: string;
17
+ disabled: boolean;
18
+ modelValue: boolean;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Chip - Tag/label chip with optional remove action
3
+ */
4
+ type __VLS_Props = {
5
+ label?: string;
6
+ color?: string;
7
+ removable?: boolean;
8
+ icon?: string;
9
+ size?: 'sm' | 'md' | 'lg';
10
+ variant?: 'solid' | 'soft' | 'outline';
11
+ };
12
+ declare var __VLS_5: {};
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_5) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ remove: () => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onRemove?: (() => any) | undefined;
20
+ }>, {
21
+ color: string;
22
+ size: "sm" | "md" | "lg";
23
+ variant: "solid" | "soft" | "outline";
24
+ removable: boolean;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string;
3
+ size?: 'sm' | 'md' | 'lg';
4
+ disabled?: boolean;
5
+ alpha?: boolean;
6
+ presets?: string[];
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: string) => any;
10
+ change: (value: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ onChange?: ((value: string) => any) | undefined;
14
+ }>, {
15
+ disabled: boolean;
16
+ modelValue: string;
17
+ size: "sm" | "md" | "lg";
18
+ alpha: boolean;
19
+ presets: string[];
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1,24 @@
1
+ export interface ContextMenuOption {
2
+ label?: string;
3
+ icon?: string;
4
+ type?: 'separator' | 'label';
5
+ disabled?: boolean;
6
+ onSelect?: () => void;
7
+ }
8
+ type __VLS_Props = {
9
+ items?: ContextMenuOption[] | ContextMenuOption[][];
10
+ };
11
+ declare var __VLS_10: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_10) => any;
14
+ };
15
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ items: ContextMenuOption[] | ContextMenuOption[][];
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * DashboardPanel - Nuxt UI v3 compatible dashboard panel
3
+ * Supports #header, #body, #footer named slots + ui prop for class overrides
4
+ */
5
+ type __VLS_Props = {
6
+ grow?: boolean;
7
+ width?: number;
8
+ collapsible?: boolean;
9
+ resizable?: boolean;
10
+ ui?: {
11
+ header?: string;
12
+ body?: string;
13
+ footer?: string;
14
+ };
15
+ };
16
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
17
+ type __VLS_Slots = {} & {
18
+ header?: (props: typeof __VLS_1) => any;
19
+ } & {
20
+ body?: (props: typeof __VLS_3) => any;
21
+ } & {
22
+ default?: (props: typeof __VLS_5) => any;
23
+ } & {
24
+ footer?: (props: typeof __VLS_7) => any;
25
+ };
26
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
27
+ collapsible: boolean;
28
+ grow: boolean;
29
+ resizable: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
+ export default _default;
33
+ type __VLS_WithSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ open?: boolean;
3
+ side?: 'left' | 'right' | 'bottom';
4
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
5
+ overlay?: boolean;
6
+ closable?: boolean;
7
+ };
8
+ declare var __VLS_13: {}, __VLS_15: {}, __VLS_17: {};
9
+ type __VLS_Slots = {} & {
10
+ header?: (props: typeof __VLS_13) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_15) => any;
13
+ } & {
14
+ footer?: (props: typeof __VLS_17) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ close: () => any;
18
+ "update:open": (value: boolean) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onClose?: (() => any) | undefined;
21
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
22
+ }>, {
23
+ open: boolean;
24
+ closable: boolean;
25
+ size: "sm" | "md" | "lg" | "xl" | "full";
26
+ side: "left" | "right" | "bottom";
27
+ overlay: boolean;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,23 @@
1
+ export interface DropdownItem {
2
+ label?: string;
3
+ icon?: string;
4
+ action?: () => void;
5
+ separator?: boolean;
6
+ }
7
+ type __VLS_Props = {
8
+ items?: DropdownItem[];
9
+ };
10
+ declare var __VLS_10: {};
11
+ type __VLS_Slots = {} & {
12
+ trigger?: (props: typeof __VLS_10) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ items: DropdownItem[];
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,32 @@
1
+ export interface UDropdownItem {
2
+ label?: string;
3
+ icon?: string;
4
+ description?: string;
5
+ type?: 'separator' | 'label';
6
+ disabled?: boolean;
7
+ color?: string;
8
+ click?: () => void;
9
+ onSelect?: () => void;
10
+ }
11
+ type __VLS_Props = {
12
+ items?: UDropdownItem[] | UDropdownItem[][];
13
+ content?: {
14
+ side?: 'top' | 'bottom' | 'left' | 'right';
15
+ align?: 'start' | 'center' | 'end';
16
+ sideOffset?: number;
17
+ };
18
+ };
19
+ declare var __VLS_10: {};
20
+ type __VLS_Slots = {} & {
21
+ default?: (props: typeof __VLS_10) => any;
22
+ };
23
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
+ items: UDropdownItem[] | UDropdownItem[][];
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ icon?: string;
4
+ disabled?: boolean;
5
+ };
6
+ declare var __VLS_14: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_14) => any;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ select: () => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onSelect?: (() => any) | undefined;
14
+ }>, {
15
+ label: string;
16
+ icon: string;
17
+ disabled: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ icon?: string;
3
+ title?: string;
4
+ description?: string;
5
+ };
6
+ declare var __VLS_5: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_5) => any;
9
+ };
10
+ declare const __VLS_component: 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 _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * FormField — Construct UI
3
+ * Wraps a form control with an optional label, description, and error.
4
+ * Use layout="row" for inline label + control (design panel style).
5
+ */
6
+ type __VLS_Props = {
7
+ label?: string;
8
+ name?: string;
9
+ description?: string;
10
+ help?: string;
11
+ error?: string;
12
+ required?: boolean;
13
+ layout?: 'col' | 'row';
14
+ };
15
+ declare var __VLS_1: {}, __VLS_3: {};
16
+ type __VLS_Slots = {} & {
17
+ default?: (props: typeof __VLS_1) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_3) => any;
20
+ };
21
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
+ label: string;
23
+ error: string;
24
+ description: string;
25
+ name: string;
26
+ required: boolean;
27
+ help: string;
28
+ layout: "col" | "row";
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ name?: string;
3
+ };
4
+ declare const _default: 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>;
5
+ export default _default;
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | number;
3
+ type?: string;
4
+ placeholder?: string;
5
+ size?: 'xs' | 'sm' | 'md' | 'lg';
6
+ disabled?: boolean;
7
+ required?: boolean;
8
+ icon?: string;
9
+ trailingIcon?: string;
10
+ prefix?: string;
11
+ suffix?: string;
12
+ variant?: 'outline' | 'soft' | 'none';
13
+ autofocus?: boolean;
14
+ };
15
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ "update:modelValue": (value: string | number) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
19
+ }>, {
20
+ disabled: boolean;
21
+ type: string;
22
+ modelValue: string | number;
23
+ placeholder: string;
24
+ size: "xs" | "sm" | "md" | "lg";
25
+ variant: "outline" | "soft" | "none";
26
+ required: boolean;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ export default _default;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Kbd - Keyboard shortcut display
3
+ */
4
+ type __VLS_Props = {
5
+ keys: string | string[];
6
+ size?: 'xs' | 'sm' | 'md';
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ size: "xs" | "sm" | "md";
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,42 @@
1
+ type __VLS_Props = {
2
+ open?: boolean;
3
+ title?: string;
4
+ description?: string;
5
+ fullscreen?: boolean;
6
+ preventClose?: boolean;
7
+ ui?: Record<string, string>;
8
+ };
9
+ declare var __VLS_14: {}, __VLS_28: {}, __VLS_38: {}, __VLS_40: {}, __VLS_42: {}, __VLS_44: {};
10
+ type __VLS_Slots = {} & {
11
+ trigger?: (props: typeof __VLS_14) => any;
12
+ } & {
13
+ header?: (props: typeof __VLS_28) => any;
14
+ } & {
15
+ body?: (props: typeof __VLS_38) => any;
16
+ } & {
17
+ content?: (props: typeof __VLS_40) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_42) => any;
20
+ } & {
21
+ footer?: (props: typeof __VLS_44) => any;
22
+ };
23
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ close: () => any;
25
+ "update:open": (value: boolean) => any;
26
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
+ onClose?: (() => any) | undefined;
28
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
29
+ }>, {
30
+ open: boolean;
31
+ title: string;
32
+ description: string;
33
+ fullscreen: boolean;
34
+ preventClose: boolean;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ modelValue?: number;
3
+ total?: number;
4
+ pageCount?: number;
5
+ disabled?: boolean;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (value: number) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
11
+ }>, {
12
+ disabled: boolean;
13
+ modelValue: number;
14
+ total: number;
15
+ pageCount: number;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;