@hardimpactdev/craft-ui 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/craft-ui.css +1 -1
- package/dist/craft-ui.js +24202 -22194
- package/dist/index.d.ts +18 -1
- package/dist/src/components/AppContent.vue.d.ts +21 -0
- package/dist/src/components/AppHeader.vue.d.ts +45 -0
- package/dist/src/components/AppLogo.vue.d.ts +5 -0
- package/dist/src/components/AppLogoIcon.vue.d.ts +6 -0
- package/dist/src/components/AppShell.vue.d.ts +21 -0
- package/dist/src/components/AppSidebar.vue.d.ts +33 -0
- package/dist/src/components/AppSidebarHeader.vue.d.ts +6 -0
- package/dist/src/components/Breadcrumbs.vue.d.ts +13 -0
- package/dist/src/components/NavFooter.vue.d.ts +9 -0
- package/dist/src/components/NavMain.vue.d.ts +11 -0
- package/dist/src/components/NavUser.vue.d.ts +6 -0
- package/dist/src/components/UserInfo.vue.d.ts +11 -0
- package/dist/src/components/UserMenuContent.vue.d.ts +7 -0
- package/dist/src/components/alert-dialog/AlertDialogContent.vue.d.ts +2 -2
- package/dist/src/components/button/buttonVariants.d.ts +1 -1
- package/dist/src/components/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/src/components/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/src/components/combobox/Combobox.vue.d.ts +2 -2
- package/dist/src/components/combobox/ComboboxList.vue.d.ts +1 -1
- package/dist/src/components/command/Command.vue.d.ts +2 -2
- package/dist/src/components/context-menu/ContextMenuSubContent.vue.d.ts +4 -4
- package/dist/src/components/dialog/DialogContent.vue.d.ts +2 -2
- package/dist/src/components/dialog/DialogScrollContent.vue.d.ts +2 -2
- package/dist/src/components/drawer/Drawer.vue.d.ts +2 -2
- package/dist/src/components/drawer/DrawerContent.vue.d.ts +2 -2
- package/dist/src/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +4 -4
- package/dist/src/components/input-otp/InputOTP.vue.d.ts +2 -2
- package/dist/src/components/menubar/MenubarContent.vue.d.ts +1 -1
- package/dist/src/components/menubar/MenubarSubContent.vue.d.ts +4 -4
- package/dist/src/components/native-select/NativeSelectOptGroup.vue.d.ts +4 -4
- package/dist/src/components/native-select/NativeSelectOption.vue.d.ts +4 -4
- package/dist/src/components/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationItem.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationLink.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/src/components/pagination/PaginationPrevious.vue.d.ts +1 -1
- package/dist/src/components/popover/PopoverContent.vue.d.ts +3 -3
- package/dist/src/components/select/Select.vue.d.ts +2 -2
- package/dist/src/components/sheet/SheetContent.vue.d.ts +2 -2
- package/dist/src/components/sidebar/Sidebar.vue.d.ts +1 -1
- package/dist/src/components/sidebar/SidebarProvider.vue.d.ts +1 -1
- package/dist/src/components/tags-input/TagsInput.vue.d.ts +2 -2
- package/dist/src/components/toggle/Toggle.vue.d.ts +1 -1
- package/dist/src/layouts/app/AppHeaderLayout.vue.d.ts +46 -0
- package/dist/src/layouts/app/AppSidebarLayout.vue.d.ts +36 -0
- package/dist/src/pages/auth/ForgotPassword.vue.d.ts +2 -2
- package/dist/src/pages/auth/Login.vue.d.ts +2 -2
- package/dist/src/pages/auth/Register.vue.d.ts +2 -2
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
16
16
|
innerHTML?: string | undefined | undefined;
|
|
17
17
|
style?: import('vue').StyleValue;
|
|
18
18
|
accesskey?: string | undefined | undefined;
|
|
19
|
-
contenteditable?: (boolean | "true" | "false") | "
|
|
19
|
+
contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
20
20
|
contextmenu?: string | undefined | undefined;
|
|
21
21
|
dir?: string | undefined | undefined;
|
|
22
22
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
66
66
|
'aria-colindex'?: (string | number) | undefined;
|
|
67
67
|
'aria-colspan'?: (string | number) | undefined;
|
|
68
68
|
'aria-controls'?: string | undefined | undefined;
|
|
69
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "
|
|
69
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
|
|
70
70
|
'aria-describedby'?: string | undefined | undefined;
|
|
71
71
|
'aria-details'?: string | undefined | undefined;
|
|
72
72
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -212,7 +212,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
212
212
|
innerHTML?: string | undefined | undefined;
|
|
213
213
|
style?: import('vue').StyleValue;
|
|
214
214
|
accesskey?: string | undefined | undefined;
|
|
215
|
-
contenteditable?: (boolean | "true" | "false") | "
|
|
215
|
+
contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
216
216
|
contextmenu?: string | undefined | undefined;
|
|
217
217
|
dir?: string | undefined | undefined;
|
|
218
218
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -262,7 +262,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
262
262
|
'aria-colindex'?: (string | number) | undefined;
|
|
263
263
|
'aria-colspan'?: (string | number) | undefined;
|
|
264
264
|
'aria-controls'?: string | undefined | undefined;
|
|
265
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "
|
|
265
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
|
|
266
266
|
'aria-describedby'?: string | undefined | undefined;
|
|
267
267
|
'aria-details'?: string | undefined | undefined;
|
|
268
268
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
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
|
-
size: "default" | "
|
|
18
|
+
size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -16,7 +16,7 @@ declare function __VLS_template(): {
|
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
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
|
-
size: "default" | "
|
|
19
|
+
size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
22
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
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
|
-
size: "default" | "
|
|
18
|
+
size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -16,7 +16,7 @@ declare function __VLS_template(): {
|
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
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
|
-
size: "default" | "
|
|
19
|
+
size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null;
|
|
20
20
|
isActive: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
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
|
-
size: "default" | "
|
|
18
|
+
size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
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
|
-
size: "default" | "
|
|
18
|
+
size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
@@ -13,22 +13,22 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
openAutoFocus: (event: Event) => any;
|
|
16
17
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
17
18
|
pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
|
|
18
19
|
focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
|
|
19
20
|
interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
|
|
20
|
-
openAutoFocus: (event: Event) => any;
|
|
21
21
|
closeAutoFocus: (event: Event) => any;
|
|
22
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
23
24
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
24
25
|
onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
|
|
25
26
|
onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
26
27
|
onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
27
|
-
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
28
28
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
align: "start" | "end" | "center";
|
|
31
30
|
sideOffset: number;
|
|
31
|
+
align: "start" | "end" | "center";
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
34
|
export default _default;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (value: import('reka-ui').AcceptableValue) => any;
|
|
17
16
|
"update:open": (value: boolean) => any;
|
|
17
|
+
"update:modelValue": (value: import('reka-ui').AcceptableValue) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((value: import('reka-ui').AcceptableValue) => any) | undefined;
|
|
20
19
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((value: import('reka-ui').AcceptableValue) => any) | undefined;
|
|
21
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -14,18 +14,18 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<SheetContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
openAutoFocus: (event: Event) => any;
|
|
17
18
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
18
19
|
pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
|
|
19
20
|
focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
|
|
20
21
|
interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
|
|
21
|
-
openAutoFocus: (event: Event) => any;
|
|
22
22
|
closeAutoFocus: (event: Event) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<SheetContentProps> & Readonly<{
|
|
24
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
25
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
25
26
|
onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
|
|
26
27
|
onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
27
28
|
onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
28
|
-
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
side: "top" | "right" | "bottom" | "left";
|
|
@@ -11,9 +11,9 @@ declare function __VLS_template(): {
|
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<SidebarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SidebarProps> & Readonly<{}>, {
|
|
14
|
-
collapsible: "offcanvas" | "icon" | "none";
|
|
15
14
|
variant: "sidebar" | "floating" | "inset";
|
|
16
15
|
side: "left" | "right";
|
|
16
|
+
collapsible: "offcanvas" | "icon" | "none";
|
|
17
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
19
|
export default _default;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
open: boolean;
|
|
22
21
|
defaultOpen: boolean;
|
|
22
|
+
open: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
|
@@ -15,13 +15,13 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
invalid: (payload: import('reka-ui').AcceptableInputValue) => any;
|
|
19
18
|
"update:modelValue": (payload: import('reka-ui').AcceptableInputValue[]) => any;
|
|
19
|
+
invalid: (payload: import('reka-ui').AcceptableInputValue) => any;
|
|
20
20
|
addTag: (payload: import('reka-ui').AcceptableInputValue) => any;
|
|
21
21
|
removeTag: (payload: import('reka-ui').AcceptableInputValue) => any;
|
|
22
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
onInvalid?: ((payload: import('reka-ui').AcceptableInputValue) => any) | undefined;
|
|
24
23
|
"onUpdate:modelValue"?: ((payload: import('reka-ui').AcceptableInputValue[]) => any) | undefined;
|
|
24
|
+
onInvalid?: ((payload: import('reka-ui').AcceptableInputValue) => any) | undefined;
|
|
25
25
|
onAddTag?: ((payload: import('reka-ui').AcceptableInputValue) => any) | undefined;
|
|
26
26
|
onRemoveTag?: ((payload: import('reka-ui').AcceptableInputValue) => any) | undefined;
|
|
27
27
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -21,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
21
21
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
size: "default" | "sm" | "lg" | null;
|
|
24
|
-
disabled: boolean;
|
|
25
24
|
variant: "default" | "outline" | null;
|
|
25
|
+
disabled: boolean;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
28
|
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BreadcrumbItem, NavItem, User } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Breadcrumb items */
|
|
4
|
+
breadcrumbs?: BreadcrumbItem[];
|
|
5
|
+
/** Main navigation items */
|
|
6
|
+
mainNavItems?: NavItem[];
|
|
7
|
+
/** Right side navigation items (external links) */
|
|
8
|
+
rightNavItems?: NavItem[];
|
|
9
|
+
/** Current user */
|
|
10
|
+
user?: User;
|
|
11
|
+
/** Home/dashboard URL */
|
|
12
|
+
homeUrl?: string;
|
|
13
|
+
/** Current active URL for highlighting */
|
|
14
|
+
currentUrl?: string;
|
|
15
|
+
/** Show search button */
|
|
16
|
+
showSearch?: boolean;
|
|
17
|
+
};
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
20
|
+
slots: {
|
|
21
|
+
logo?(_: {}): any;
|
|
22
|
+
'mobile-logo'?(_: {}): any;
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
rootEl: any;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
search: () => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
onSearch?: (() => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
breadcrumbs: BreadcrumbItem[];
|
|
35
|
+
mainNavItems: NavItem[];
|
|
36
|
+
rightNavItems: NavItem[];
|
|
37
|
+
homeUrl: string;
|
|
38
|
+
showSearch: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BreadcrumbItem, NavItem, User } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Breadcrumb items */
|
|
4
|
+
breadcrumbs?: BreadcrumbItem[];
|
|
5
|
+
/** Main navigation items */
|
|
6
|
+
mainNavItems?: NavItem[];
|
|
7
|
+
/** Footer navigation items */
|
|
8
|
+
footerNavItems?: NavItem[];
|
|
9
|
+
/** Current user */
|
|
10
|
+
user?: User;
|
|
11
|
+
/** Home/dashboard URL */
|
|
12
|
+
homeUrl?: string;
|
|
13
|
+
};
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
logo?(_: {}): any;
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: any;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
breadcrumbs: BreadcrumbItem[];
|
|
26
|
+
mainNavItems: NavItem[];
|
|
27
|
+
homeUrl: string;
|
|
28
|
+
footerNavItems: NavItem[];
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -28,11 +28,11 @@ declare function __VLS_template(): {
|
|
|
28
28
|
};
|
|
29
29
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
30
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
-
submit: (form: ForgotPasswordForm) => any;
|
|
32
31
|
"update:modelValue": (form: ForgotPasswordForm) => any;
|
|
32
|
+
submit: (form: ForgotPasswordForm) => any;
|
|
33
33
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
-
onSubmit?: ((form: ForgotPasswordForm) => any) | undefined;
|
|
35
34
|
"onUpdate:modelValue"?: ((form: ForgotPasswordForm) => any) | undefined;
|
|
35
|
+
onSubmit?: ((form: ForgotPasswordForm) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
logoLink: string;
|
|
38
38
|
processing: boolean;
|
|
@@ -37,11 +37,11 @@ declare function __VLS_template(): {
|
|
|
37
37
|
};
|
|
38
38
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
39
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
-
submit: (form: LoginForm) => any;
|
|
41
40
|
"update:modelValue": (form: LoginForm) => any;
|
|
41
|
+
submit: (form: LoginForm) => any;
|
|
42
42
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
43
|
-
onSubmit?: ((form: LoginForm) => any) | undefined;
|
|
44
43
|
"onUpdate:modelValue"?: ((form: LoginForm) => any) | undefined;
|
|
44
|
+
onSubmit?: ((form: LoginForm) => any) | undefined;
|
|
45
45
|
}>, {
|
|
46
46
|
logoLink: string;
|
|
47
47
|
canResetPassword: boolean;
|
|
@@ -32,11 +32,11 @@ declare function __VLS_template(): {
|
|
|
32
32
|
};
|
|
33
33
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
34
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
-
submit: (form: RegisterForm) => any;
|
|
36
35
|
"update:modelValue": (form: RegisterForm) => any;
|
|
36
|
+
submit: (form: RegisterForm) => any;
|
|
37
37
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
|
-
onSubmit?: ((form: RegisterForm) => any) | undefined;
|
|
39
38
|
"onUpdate:modelValue"?: ((form: RegisterForm) => any) | undefined;
|
|
39
|
+
onSubmit?: ((form: RegisterForm) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
41
|
logoLink: string;
|
|
42
42
|
processing: boolean;
|