@unergy-dev/gandalf 0.3.0 → 0.6.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/CHANGELOG.md +42 -0
- package/dist/components/gandalf/base/accordion/GAccordion.vue.d.ts +10 -6
- package/dist/components/gandalf/base/accordion/GAccordion.vue_vue_type_script_setup_true_lang.js +36 -21
- package/dist/components/gandalf/base/accordion/GAccordionContent.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/gandalf/base/accordion/GAccordionItem.vue.d.ts +9 -1
- package/dist/components/gandalf/base/accordion/GAccordionItem.vue_vue_type_script_setup_true_lang.js +32 -14
- package/dist/components/gandalf/base/accordion/GAccordionTrigger.vue.d.ts +21 -8
- package/dist/components/gandalf/base/accordion/GAccordionTrigger.vue_vue_type_script_setup_true_lang.js +58 -8
- package/dist/components/gandalf/base/accordion/index.d.ts +22 -9
- package/dist/components/gandalf/base/accordion/index.js +89 -24
- package/dist/components/gandalf/base/alert-dialog/GAlertDialog.vue.d.ts +4 -1
- package/dist/components/gandalf/base/alert-dialog/GAlertDialog.vue_vue_type_script_setup_true_lang.js +8 -2
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogAction.vue.d.ts +8 -1
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogAction.vue_vue_type_script_setup_true_lang.js +18 -9
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogBody.js +4 -0
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogBody.vue.d.ts +17 -0
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogBody.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogCancel.vue.d.ts +8 -1
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogCancel.vue_vue_type_script_setup_true_lang.js +18 -9
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogContent.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogDescription.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogFooter.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogHeader.vue.d.ts +10 -3
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogHeader.vue_vue_type_script_setup_true_lang.js +25 -13
- package/dist/components/gandalf/base/alert-dialog/GAlertDialogTitle.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/gandalf/base/alert-dialog/index.d.ts +1 -0
- package/dist/components/gandalf/base/avatar/GAvatar.vue.d.ts +12 -3
- package/dist/components/gandalf/base/avatar/GAvatar.vue_vue_type_script_setup_true_lang.js +32 -15
- package/dist/components/gandalf/base/avatar/GAvatarFallback.vue.d.ts +3 -2
- package/dist/components/gandalf/base/avatar/GAvatarFallback.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/components/gandalf/base/avatar/GAvatarImage.vue.d.ts +7 -2
- package/dist/components/gandalf/base/avatar/GAvatarImage.vue_vue_type_script_setup_true_lang.js +11 -6
- package/dist/components/gandalf/base/avatar/index.d.ts +16 -3
- package/dist/components/gandalf/base/avatar/index.js +31 -7
- package/dist/components/gandalf/base/badge/index.d.ts +1 -1
- package/dist/components/gandalf/base/breadcrumb/GBreadcrumb.vue.d.ts +6 -1
- package/dist/components/gandalf/base/breadcrumb/GBreadcrumb.vue_vue_type_script_setup_true_lang.js +21 -10
- package/dist/components/gandalf/base/breadcrumb/GBreadcrumbEllipsis.vue_vue_type_script_setup_true_lang.js +4 -2
- package/dist/components/gandalf/base/breadcrumb/GBreadcrumbItem.vue_vue_type_script_setup_true_lang.js +4 -2
- package/dist/components/gandalf/base/breadcrumb/GBreadcrumbLink.vue_vue_type_script_setup_true_lang.js +4 -2
- package/dist/components/gandalf/base/breadcrumb/GBreadcrumbList.vue_vue_type_script_setup_true_lang.js +4 -2
- package/dist/components/gandalf/base/breadcrumb/GBreadcrumbPage.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/gandalf/base/breadcrumb/GBreadcrumbSeparator.vue_vue_type_script_setup_true_lang.js +4 -2
- package/dist/components/gandalf/base/breadcrumb/index.d.ts +21 -0
- package/dist/components/gandalf/base/breadcrumb/index.js +47 -0
- package/dist/components/gandalf/base/button/index.d.ts +1 -1
- package/dist/components/gandalf/base/details-panel/index.js +1 -1
- package/dist/components/gandalf/base/dialog/GDialog.vue.d.ts +5 -1
- package/dist/components/gandalf/base/dialog/GDialog.vue_vue_type_script_setup_true_lang.js +12 -3
- package/dist/components/gandalf/base/dialog/GDialogBody.js +4 -0
- package/dist/components/gandalf/base/dialog/GDialogBody.vue.d.ts +17 -0
- package/dist/components/gandalf/base/dialog/GDialogBody.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/gandalf/base/dialog/GDialogContent.vue.d.ts +1 -5
- package/dist/components/gandalf/base/dialog/GDialogContent.vue_vue_type_script_setup_true_lang.js +10 -15
- package/dist/components/gandalf/base/dialog/GDialogDescription.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/gandalf/base/dialog/GDialogFooter.vue.d.ts +6 -3
- package/dist/components/gandalf/base/dialog/GDialogFooter.vue_vue_type_script_setup_true_lang.js +21 -10
- package/dist/components/gandalf/base/dialog/GDialogHeader.vue.d.ts +15 -3
- package/dist/components/gandalf/base/dialog/GDialogHeader.vue_vue_type_script_setup_true_lang.js +51 -13
- package/dist/components/gandalf/base/dialog/GDialogScrollContent.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/gandalf/base/dialog/GDialogTitle.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/gandalf/base/dialog/index.d.ts +13 -0
- package/dist/components/gandalf/base/dialog/index.js +27 -0
- package/dist/components/gandalf/base/dropdown/GDropdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/gandalf/base/input/GInput.vue.d.ts +13 -1
- package/dist/components/gandalf/base/input/GInput.vue_vue_type_script_setup_true_lang.js +23 -5
- package/dist/components/gandalf/base/input/index.d.ts +6 -1
- package/dist/components/gandalf/base/input/index.js +11 -1
- package/dist/components/gandalf/base/input-group/GInputGroupButton.vue.d.ts +2 -2
- package/dist/components/gandalf/base/menu/GMenu.js +4 -0
- package/dist/components/gandalf/base/menu/GMenu.vue.d.ts +20 -0
- package/dist/components/gandalf/base/menu/GMenu.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/gandalf/base/menu/GMenuContent.js +4 -0
- package/dist/components/gandalf/base/menu/GMenuContent.vue.d.ts +34 -0
- package/dist/components/gandalf/base/menu/GMenuContent.vue_vue_type_script_setup_true_lang.js +65 -0
- package/dist/components/gandalf/base/menu/GMenuItem.js +4 -0
- package/dist/components/gandalf/base/menu/GMenuItem.vue.d.ts +27 -0
- package/dist/components/gandalf/base/menu/GMenuItem.vue_vue_type_script_setup_true_lang.js +43 -0
- package/dist/components/gandalf/base/menu/GMenuLabel.js +4 -0
- package/dist/components/gandalf/base/menu/GMenuLabel.vue.d.ts +18 -0
- package/dist/components/gandalf/base/menu/GMenuLabel.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/gandalf/base/menu/GMenuSeparator.js +4 -0
- package/dist/components/gandalf/base/{sonner/GToastCard.vue.d.ts → menu/GMenuSeparator.vue.d.ts} +4 -6
- package/dist/components/gandalf/base/menu/GMenuSeparator.vue_vue_type_script_setup_true_lang.js +28 -0
- package/dist/components/gandalf/base/menu/GMenuTrigger.js +4 -0
- package/dist/components/gandalf/base/menu/GMenuTrigger.vue.d.ts +16 -0
- package/dist/components/gandalf/base/menu/GMenuTrigger.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/gandalf/base/menu/index.d.ts +16 -2
- package/dist/components/gandalf/base/menu/index.js +19 -3
- package/dist/components/gandalf/base/navigation-button/GNavigationButton.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/gandalf/base/navigation-button/index.d.ts +1 -1
- package/dist/components/gandalf/base/pagination/GPaginationFirst.vue.d.ts +1 -1
- package/dist/components/gandalf/base/pagination/GPaginationItem.vue.d.ts +1 -1
- package/dist/components/gandalf/base/pagination/GPaginationLast.vue.d.ts +1 -1
- package/dist/components/gandalf/base/pagination/GPaginationNext.vue.d.ts +1 -1
- package/dist/components/gandalf/base/pagination/GPaginationPrevious.vue.d.ts +1 -1
- package/dist/components/gandalf/base/popover/GPopover.vue.d.ts +5 -1
- package/dist/components/gandalf/base/popover/GPopover.vue_vue_type_script_setup_true_lang.js +12 -3
- package/dist/components/gandalf/base/segmented-button/index.js +1 -0
- package/dist/components/gandalf/base/select/GSelect.vue.d.ts +7 -1
- package/dist/components/gandalf/base/select/GSelect.vue_vue_type_script_setup_true_lang.js +21 -6
- package/dist/components/gandalf/base/sidebar/GSidebar.vue.d.ts +1 -1
- package/dist/components/gandalf/base/sonner/GToast.js +4 -0
- package/dist/components/gandalf/base/sonner/GToast.vue.d.ts +19 -0
- package/dist/components/gandalf/base/sonner/GToast.vue_vue_type_script_setup_true_lang.js +63 -0
- package/dist/components/gandalf/base/sonner/GToaster.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/components/gandalf/base/sonner/index.d.ts +12 -4
- package/dist/components/gandalf/base/sonner/index.js +26 -14
- package/dist/components/gandalf/base/table/GTable.vue.d.ts +5 -1
- package/dist/components/gandalf/base/table/GTable.vue_vue_type_script_setup_true_lang.js +24 -11
- package/dist/components/gandalf/base/table/GTableCell.vue.d.ts +7 -1
- package/dist/components/gandalf/base/table/GTableCell.vue_vue_type_script_setup_true_lang.js +18 -10
- package/dist/components/gandalf/base/table/GTableFooter.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/gandalf/base/table/GTableHead.vue.d.ts +9 -1
- package/dist/components/gandalf/base/table/GTableHead.vue_vue_type_script_setup_true_lang.js +26 -10
- package/dist/components/gandalf/base/table/index.d.ts +5 -0
- package/dist/components/gandalf/base/table/index.js +12 -6
- package/dist/components/gandalf/base/tabs/GTabsList.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/gandalf/base/tabs/index.d.ts +4 -4
- package/dist/components/gandalf/base/tabs/index.js +32 -24
- package/dist/components/gandalf/base/tooltip/GTooltip.vue.d.ts +10 -3
- package/dist/components/gandalf/base/tooltip/GTooltip.vue_vue_type_script_setup_true_lang.js +30 -10
- package/dist/components/gandalf/base/tooltip/index.js +1 -1
- package/dist/components/gandalf/kit/avatar/Avatar.vue.d.ts +7 -2
- package/dist/components/gandalf/kit/avatar/Avatar.vue_vue_type_script_setup_true_lang.js +12 -3
- package/dist/components/gandalf/kit/avatar/AvatarGroup.vue.d.ts +13 -1
- package/dist/components/gandalf/kit/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.js +37 -9
- package/dist/components/gandalf/kit/avatar/AvatarRol.js +4 -0
- package/dist/components/gandalf/kit/avatar/AvatarRol.vue.d.ts +23 -0
- package/dist/components/gandalf/kit/avatar/AvatarRol.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/components/gandalf/kit/avatar/index.d.ts +12 -0
- package/dist/components/gandalf/kit/avatar/index.js +35 -0
- package/dist/components/gandalf/kit/card-toggle/index.d.ts +1 -1
- package/dist/components/gandalf/kit/date-picker/DatePicker.vue.d.ts +1 -1
- package/dist/components/gandalf/kit/files-card/FilesCard.vue.d.ts +3 -3
- package/dist/components/gandalf/kit/files-card/FilesCard.vue_vue_type_script_setup_true_lang.js +5 -8
- package/dist/components/gandalf/kit/header/Header.js +4 -0
- package/dist/components/gandalf/kit/header/Header.vue.d.ts +26 -0
- package/dist/components/gandalf/kit/header/Header.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/components/gandalf/kit/header/UnergyLogo.js +4 -0
- package/dist/components/gandalf/kit/header/UnergyLogo.vue.d.ts +3 -0
- package/dist/components/gandalf/kit/header/UnergyLogo.vue_vue_type_script_setup_true_lang.js +26 -0
- package/dist/components/gandalf/kit/header/index.d.ts +8 -0
- package/dist/components/gandalf/kit/header/index.js +11 -0
- package/dist/components/gandalf/kit/input-chat/InputChat.js +4 -0
- package/dist/components/gandalf/kit/input-chat/InputChat.vue.d.ts +52 -0
- package/dist/components/gandalf/kit/input-chat/InputChat.vue_vue_type_script_setup_true_lang.js +121 -0
- package/dist/components/gandalf/kit/input-chat/index.d.ts +2 -0
- package/dist/components/gandalf/kit/input-chat/index.js +5 -0
- package/dist/components/gandalf/kit/layout/Layout.js +4 -0
- package/dist/components/gandalf/kit/layout/Layout.vue.d.ts +49 -0
- package/dist/components/gandalf/kit/layout/Layout.vue_vue_type_script_setup_true_lang.js +86 -0
- package/dist/components/gandalf/kit/layout/LayoutBreadcrumbs.js +4 -0
- package/dist/components/gandalf/kit/layout/LayoutBreadcrumbs.vue.d.ts +31 -0
- package/dist/components/gandalf/kit/layout/LayoutBreadcrumbs.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/components/gandalf/kit/layout/LayoutTitle.js +4 -0
- package/dist/components/gandalf/kit/layout/LayoutTitle.vue.d.ts +39 -0
- package/dist/components/gandalf/kit/layout/LayoutTitle.vue_vue_type_script_setup_true_lang.js +50 -0
- package/dist/components/gandalf/kit/layout/index.d.ts +37 -0
- package/dist/components/gandalf/kit/layout/index.js +45 -0
- package/dist/components/gandalf/kit/message-card/MessageCard.js +4 -0
- package/dist/components/gandalf/kit/message-card/MessageCard.vue.d.ts +52 -0
- package/dist/components/gandalf/kit/message-card/MessageCard.vue_vue_type_script_setup_true_lang.js +97 -0
- package/dist/components/gandalf/kit/message-card/index.d.ts +4 -0
- package/dist/components/gandalf/kit/message-card/index.js +5 -0
- package/dist/components/gandalf/kit/miniatures/Miniatures.js +4 -0
- package/dist/components/gandalf/kit/miniatures/Miniatures.vue.d.ts +42 -0
- package/dist/components/gandalf/kit/miniatures/Miniatures.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/components/gandalf/kit/miniatures/index.d.ts +7 -0
- package/dist/components/gandalf/kit/miniatures/index.js +11 -0
- package/dist/components/gandalf/kit/report/AvatarReport.js +4 -0
- package/dist/components/gandalf/kit/report/AvatarReport.vue.d.ts +15 -0
- package/dist/components/gandalf/kit/report/AvatarReport.vue_vue_type_script_setup_true_lang.js +47 -0
- package/dist/components/gandalf/kit/report/CircleReport.js +4 -0
- package/dist/components/gandalf/kit/report/CircleReport.vue.d.ts +15 -0
- package/dist/components/gandalf/kit/report/CircleReport.vue_vue_type_script_setup_true_lang.js +41 -0
- package/dist/components/gandalf/kit/report/Icons.js +4 -0
- package/dist/components/gandalf/kit/report/Icons.vue.d.ts +15 -0
- package/dist/components/gandalf/kit/report/Icons.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/components/gandalf/kit/report/PickerItem.js +4 -0
- package/dist/components/gandalf/kit/report/PickerItem.vue.d.ts +56 -0
- package/dist/components/gandalf/kit/report/PickerItem.vue_vue_type_script_setup_true_lang.js +92 -0
- package/dist/components/gandalf/kit/report/Pin.js +4 -0
- package/dist/components/gandalf/kit/report/Pin.vue.d.ts +31 -0
- package/dist/components/gandalf/kit/report/Pin.vue_vue_type_script_setup_true_lang.js +51 -0
- package/dist/components/gandalf/kit/report/index.d.ts +24 -0
- package/dist/components/gandalf/kit/report/index.js +77 -0
- package/dist/components/gandalf/kit/search-field/index.d.ts +1 -1
- package/dist/components/gandalf/kit/sidebar/Sidebar.js +4 -0
- package/dist/components/gandalf/kit/sidebar/Sidebar.vue.d.ts +53 -0
- package/dist/components/gandalf/kit/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +140 -0
- package/dist/components/gandalf/kit/sidebar/index.d.ts +2 -0
- package/dist/components/gandalf/kit/sidebar/types.d.ts +25 -0
- package/dist/components/gandalf/kit/star/Star.vue.d.ts +1 -1
- package/dist/components/gandalf/kit/star/index.d.ts +1 -1
- package/dist/components/gandalf/kit/upload-box/UploadBox.vue.d.ts +3 -3
- package/dist/components/gandalf/kit/upload-box/index.d.ts +1 -1
- package/dist/components/gandalf/kit/upload-card/UploadCard.vue.d.ts +1 -1
- package/dist/components/ui/badge/index.d.ts +1 -1
- package/dist/components/ui/button/Button.vue.d.ts +2 -2
- package/dist/components/ui/button/index.d.ts +2 -2
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
- package/dist/components/ui/chart/ChartLegendContent.vue.d.ts +1 -1
- package/dist/components/ui/combobox/ComboboxList.vue.d.ts +1 -1
- package/dist/components/ui/drawer/Drawer.vue.d.ts +2 -2
- package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +2 -2
- package/dist/components/ui/input-group/index.d.ts +1 -1
- package/dist/components/ui/menubar/MenubarContent.vue.d.ts +1 -1
- package/dist/components/ui/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/components/ui/pagination/PaginationItem.vue.d.ts +1 -1
- package/dist/components/ui/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/components/ui/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/components/ui/pagination/PaginationPrevious.vue.d.ts +1 -1
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +1 -1
- package/dist/components/ui/sidebar/Sidebar.vue.d.ts +1 -1
- package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +52 -20
- package/dist/nuxt/components.json +1 -1
- package/dist/styles/tokens.css +23 -0
- package/package.json +1 -1
- package/dist/components/gandalf/base/sonner/GToastCard.js +0 -4
- package/dist/components/gandalf/base/sonner/GToastCard.vue_vue_type_script_setup_true_lang.js +0 -43
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { useSidebar } from "../../../ui/sidebar/utils.js";
|
|
2
|
+
import GSidebar_default from "../../base/sidebar/GSidebar.js";
|
|
3
|
+
import GSidebarContent_default from "../../base/sidebar/GSidebarContent.js";
|
|
4
|
+
import GSidebarFooter_default from "../../base/sidebar/GSidebarFooter.js";
|
|
5
|
+
import GSidebarGroup_default from "../../base/sidebar/GSidebarGroup.js";
|
|
6
|
+
import GSidebarGroupContent_default from "../../base/sidebar/GSidebarGroupContent.js";
|
|
7
|
+
import GSidebarGroupLabel_default from "../../base/sidebar/GSidebarGroupLabel.js";
|
|
8
|
+
import GSidebarHeader_default from "../../base/sidebar/GSidebarHeader.js";
|
|
9
|
+
import GSidebarMenu_default from "../../base/sidebar/GSidebarMenu.js";
|
|
10
|
+
import GSidebarMenuButton_default from "../../base/sidebar/GSidebarMenuButton.js";
|
|
11
|
+
import GSidebarMenuItem_default from "../../base/sidebar/GSidebarMenuItem.js";
|
|
12
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
|
|
13
|
+
// src/components/gandalf/kit/sidebar/Sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
+
var _hoisted_1 = ["aria-label"];
|
|
15
|
+
var Sidebar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
16
|
+
__name: "Sidebar",
|
|
17
|
+
props: {
|
|
18
|
+
groups: {},
|
|
19
|
+
modelValue: { default: void 0 },
|
|
20
|
+
linkAs: { default: void 0 },
|
|
21
|
+
ariaLabel: { default: "Navigation" },
|
|
22
|
+
side: { default: "left" },
|
|
23
|
+
variant: { default: "sidebar" },
|
|
24
|
+
collapsible: { default: "icon" },
|
|
25
|
+
class: {
|
|
26
|
+
type: [
|
|
27
|
+
Boolean,
|
|
28
|
+
null,
|
|
29
|
+
String,
|
|
30
|
+
Object,
|
|
31
|
+
Array
|
|
32
|
+
],
|
|
33
|
+
default: void 0
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
emits: ["update:modelValue", "select"],
|
|
37
|
+
setup(__props, { emit: __emit }) {
|
|
38
|
+
const props = __props;
|
|
39
|
+
const emit = __emit;
|
|
40
|
+
const { state } = useSidebar();
|
|
41
|
+
const visibleGroups = computed(() => props.groups.filter((group) => group.items.length > 0));
|
|
42
|
+
function isActive(item) {
|
|
43
|
+
return item.value === props.modelValue;
|
|
44
|
+
}
|
|
45
|
+
function tagFor(item) {
|
|
46
|
+
if (item.to !== void 0 && props.linkAs) return props.linkAs;
|
|
47
|
+
return item.href ? "a" : "button";
|
|
48
|
+
}
|
|
49
|
+
function attrsFor(item) {
|
|
50
|
+
const tag = tagFor(item);
|
|
51
|
+
if (tag === "button") return {
|
|
52
|
+
type: "button",
|
|
53
|
+
disabled: item.disabled
|
|
54
|
+
};
|
|
55
|
+
return {
|
|
56
|
+
to: tag === "a" ? void 0 : item.to,
|
|
57
|
+
href: tag === "a" ? item.href : void 0,
|
|
58
|
+
"aria-current": isActive(item) ? "page" : void 0,
|
|
59
|
+
"aria-disabled": item.disabled || void 0,
|
|
60
|
+
tabindex: item.disabled ? -1 : void 0
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function select(event, item) {
|
|
64
|
+
if (item.disabled) {
|
|
65
|
+
event.preventDefault();
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
emit("update:modelValue", item.value);
|
|
69
|
+
emit("select", item);
|
|
70
|
+
}
|
|
71
|
+
return (_ctx, _cache) => {
|
|
72
|
+
return openBlock(), createBlock(unref(GSidebar_default), {
|
|
73
|
+
side: __props.side,
|
|
74
|
+
variant: __props.variant,
|
|
75
|
+
collapsible: __props.collapsible,
|
|
76
|
+
class: normalizeClass(props.class)
|
|
77
|
+
}, {
|
|
78
|
+
default: withCtx(() => [
|
|
79
|
+
_ctx.$slots.header ? (openBlock(), createBlock(unref(GSidebarHeader_default), { key: 0 }, {
|
|
80
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "header")]),
|
|
81
|
+
_: 3
|
|
82
|
+
})) : createCommentVNode("", true),
|
|
83
|
+
createVNode(unref(GSidebarContent_default), null, {
|
|
84
|
+
default: withCtx(() => [createElementVNode("nav", {
|
|
85
|
+
"aria-label": __props.ariaLabel,
|
|
86
|
+
class: "contents"
|
|
87
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(visibleGroups.value, (group) => {
|
|
88
|
+
return openBlock(), createBlock(unref(GSidebarGroup_default), { key: group.id ?? group.label ?? group.items[0].value }, {
|
|
89
|
+
default: withCtx(() => [group.label && (group.icon || unref(state) === "expanded") ? (openBlock(), createBlock(unref(GSidebarGroupLabel_default), { key: 0 }, {
|
|
90
|
+
default: withCtx(() => [group.icon ? (openBlock(), createBlock(resolveDynamicComponent(group.icon), { key: 0 })) : createCommentVNode("", true), createElementVNode("span", null, toDisplayString(group.label), 1)]),
|
|
91
|
+
_: 2
|
|
92
|
+
}, 1024)) : createCommentVNode("", true), createVNode(unref(GSidebarGroupContent_default), null, {
|
|
93
|
+
default: withCtx(() => [createVNode(unref(GSidebarMenu_default), null, {
|
|
94
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(group.items, (item) => {
|
|
95
|
+
return openBlock(), createBlock(unref(GSidebarMenuItem_default), { key: item.value }, {
|
|
96
|
+
default: withCtx(() => [createVNode(unref(GSidebarMenuButton_default), {
|
|
97
|
+
"as-child": "",
|
|
98
|
+
"is-active": isActive(item),
|
|
99
|
+
tooltip: item.title
|
|
100
|
+
}, {
|
|
101
|
+
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(tagFor(item)), mergeProps({ ref_for: true }, attrsFor(item), {
|
|
102
|
+
class: item.disabled && "pointer-events-none opacity-50",
|
|
103
|
+
onClick: ($event) => select($event, item)
|
|
104
|
+
}), {
|
|
105
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
106
|
+
item,
|
|
107
|
+
active: isActive(item)
|
|
108
|
+
}, () => [item.icon ? (openBlock(), createBlock(resolveDynamicComponent(item.icon), { key: 0 })) : createCommentVNode("", true), createElementVNode("span", null, toDisplayString(item.title), 1)])]),
|
|
109
|
+
_: 2
|
|
110
|
+
}, 1040, ["class", "onClick"]))]),
|
|
111
|
+
_: 2
|
|
112
|
+
}, 1032, ["is-active", "tooltip"])]),
|
|
113
|
+
_: 2
|
|
114
|
+
}, 1024);
|
|
115
|
+
}), 128))]),
|
|
116
|
+
_: 2
|
|
117
|
+
}, 1024)]),
|
|
118
|
+
_: 2
|
|
119
|
+
}, 1024)]),
|
|
120
|
+
_: 2
|
|
121
|
+
}, 1024);
|
|
122
|
+
}), 128))], 8, _hoisted_1)]),
|
|
123
|
+
_: 3
|
|
124
|
+
}),
|
|
125
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(GSidebarFooter_default), { key: 1 }, {
|
|
126
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "footer")]),
|
|
127
|
+
_: 3
|
|
128
|
+
})) : createCommentVNode("", true)
|
|
129
|
+
]),
|
|
130
|
+
_: 3
|
|
131
|
+
}, 8, [
|
|
132
|
+
"side",
|
|
133
|
+
"variant",
|
|
134
|
+
"collapsible",
|
|
135
|
+
"class"
|
|
136
|
+
]);
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
export { Sidebar_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
/** One entry of the navigation rail. */
|
|
3
|
+
export interface SidebarNavItem {
|
|
4
|
+
/** Unique key. The item whose `value` equals the sidebar's `modelValue` is the active one. */
|
|
5
|
+
value: string;
|
|
6
|
+
/** Label shown when expanded, and as the tooltip when the rail is collapsed. */
|
|
7
|
+
title: string;
|
|
8
|
+
/** Icon component (Lucide or any SVG component). The collapsed rail shows only this. */
|
|
9
|
+
icon?: Component;
|
|
10
|
+
/** Destination passed as `to` to the sidebar's `linkAs` component (NuxtLink, RouterLink…). */
|
|
11
|
+
to?: unknown;
|
|
12
|
+
/** Plain URL, rendered as an `<a href>` when there is no `to`. */
|
|
13
|
+
href?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/** A titled group of items. */
|
|
17
|
+
export interface SidebarNavGroup {
|
|
18
|
+
/** Unique key of the group. Falls back to `label`. */
|
|
19
|
+
id?: string;
|
|
20
|
+
/** Sidebar Title. Hidden in the collapsed rail unless the group has an `icon`. */
|
|
21
|
+
label?: string;
|
|
22
|
+
/** Icon of the Sidebar Title; with one, the title stays visible as an icon when collapsed. */
|
|
23
|
+
icon?: Component;
|
|
24
|
+
items: SidebarNavItem[];
|
|
25
|
+
}
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
modelValue: boolean;
|
|
18
18
|
label: string;
|
|
19
|
-
size: "
|
|
19
|
+
size: "md" | "sm";
|
|
20
20
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -28,11 +28,11 @@ type __VLS_Slots = {} & {
|
|
|
28
28
|
icon?: (props: typeof __VLS_19) => any;
|
|
29
29
|
};
|
|
30
30
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
31
|
-
files: (files: File[]) => any;
|
|
32
31
|
remove: () => any;
|
|
32
|
+
files: (files: File[]) => any;
|
|
33
33
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
-
onFiles?: ((files: File[]) => any) | undefined;
|
|
35
34
|
onRemove?: (() => any) | undefined;
|
|
35
|
+
onFiles?: ((files: File[]) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
disabled: boolean;
|
|
38
38
|
label: string;
|
|
@@ -42,8 +42,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
42
42
|
title: string;
|
|
43
43
|
required: boolean;
|
|
44
44
|
description: string;
|
|
45
|
-
dropTitle: string;
|
|
46
45
|
fileName: string;
|
|
46
|
+
dropTitle: string;
|
|
47
47
|
accept: string;
|
|
48
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
export { default as GUploadBox } from './UploadBox.vue';
|
|
3
3
|
export declare const gandalfUploadBoxVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "md" | "sm" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type GandalfUploadBoxVariants = VariantProps<typeof gandalfUploadBoxVariants>;
|
|
7
7
|
export type GandalfUploadBoxSize = NonNullable<GandalfUploadBoxVariants['size']>;
|
|
@@ -34,8 +34,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
34
34
|
type: GandalfUploadCardType;
|
|
35
35
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
36
36
|
progress: number;
|
|
37
|
-
fileSize: string;
|
|
38
37
|
fileType: string;
|
|
38
|
+
fileSize: string;
|
|
39
39
|
statusLabel: string;
|
|
40
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
export { default as Badge } from './Badge.vue';
|
|
3
3
|
export declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "
|
|
4
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
@@ -12,9 +12,9 @@ type __VLS_Slots = {} & {
|
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
14
|
as: import('reka-ui').AsTag | import('vue').Component;
|
|
15
|
-
size: "default" | "
|
|
15
|
+
size: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
16
16
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
17
|
-
variant: "default" | "link" | "
|
|
17
|
+
variant: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
export { default as Button } from './Button.vue';
|
|
3
3
|
export declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "link" | "
|
|
5
|
-
size?: "default" | "
|
|
4
|
+
variant?: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -9,8 +9,8 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
default?: (props: typeof __VLS_9) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
-
size: "default" | "
|
|
13
|
-
variant: "default" | "link" | "
|
|
12
|
+
size: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
13
|
+
variant: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -9,8 +9,8 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
default?: (props: typeof __VLS_9) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
-
size: "default" | "
|
|
13
|
-
variant: "default" | "link" | "
|
|
12
|
+
size: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
13
|
+
variant: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,8 +7,8 @@ type __VLS_Props = {
|
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
9
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
10
|
-
nameKey: string;
|
|
11
10
|
verticalAlign: "bottom" | "top";
|
|
11
|
+
nameKey: string;
|
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
21
21
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
22
22
|
position: "inline" | "popper";
|
|
23
23
|
sideOffset: number;
|
|
24
|
-
align: "end" | "
|
|
24
|
+
align: "end" | "center" | "start";
|
|
25
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -6,15 +6,15 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
default?: (props: typeof __VLS_7) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import('vue').DefineComponent<DrawerRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
-
"update:open": (open: boolean) => any;
|
|
10
9
|
drag: (percentageDragged: number) => any;
|
|
10
|
+
"update:open": (open: boolean) => any;
|
|
11
11
|
close: () => any;
|
|
12
12
|
release: (open: boolean) => any;
|
|
13
13
|
"update:activeSnapPoint": (val: string | number) => any;
|
|
14
14
|
animationEnd: (open: boolean) => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<DrawerRootProps> & Readonly<{
|
|
16
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
17
16
|
onDrag?: ((percentageDragged: number) => any) | undefined;
|
|
17
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
18
18
|
onClose?: (() => any) | undefined;
|
|
19
19
|
onRelease?: ((open: boolean) => any) | undefined;
|
|
20
20
|
"onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
|
|
@@ -11,9 +11,9 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
default?: (props: typeof __VLS_7) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import('vue').DefineComponent<InputGroupButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<InputGroupButtonProps> & Readonly<{}>, {
|
|
14
|
-
size: "sm" | "
|
|
14
|
+
size: "sm" | "xs" | "icon-sm" | "icon-xs" | null;
|
|
15
15
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
16
|
-
variant: "default" | "link" | "
|
|
16
|
+
variant: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null;
|
|
17
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,6 +10,6 @@ export declare const inputGroupAddonVariants: (props?: ({
|
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
11
|
export type InputGroupVariants = VariantProps<typeof inputGroupAddonVariants>;
|
|
12
12
|
export declare const inputGroupButtonVariants: (props?: ({
|
|
13
|
-
size?: "sm" | "
|
|
13
|
+
size?: "sm" | "xs" | "icon-sm" | "icon-xs" | null | undefined;
|
|
14
14
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
15
15
|
export type InputGroupButtonVariants = VariantProps<typeof inputGroupButtonVariants>;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
11
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
12
12
|
sideOffset: number;
|
|
13
|
-
align: "end" | "
|
|
13
|
+
align: "end" | "center" | "start";
|
|
14
14
|
alignOffset: number;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
default?: (props: typeof __VLS_7) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
-
size: "default" | "
|
|
13
|
+
size: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
14
14
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -11,7 +11,7 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
default?: (props: typeof __VLS_7) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
-
size: "default" | "
|
|
14
|
+
size: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
15
15
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
default?: (props: typeof __VLS_7) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
-
size: "default" | "
|
|
13
|
+
size: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
14
14
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
default?: (props: typeof __VLS_7) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
-
size: "default" | "
|
|
13
|
+
size: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
14
14
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
default?: (props: typeof __VLS_7) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
-
size: "default" | "
|
|
13
|
+
size: "default" | "sm" | "icon" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
14
14
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -24,7 +24,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
24
24
|
}>, {
|
|
25
25
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
26
26
|
sideOffset: number;
|
|
27
|
-
align: "end" | "
|
|
27
|
+
align: "end" | "center" | "start";
|
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
default?: (props: typeof __VLS_37) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: import('vue').DefineComponent<SidebarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SidebarProps> & Readonly<{}>, {
|
|
11
|
-
collapsible: "
|
|
11
|
+
collapsible: "none" | "icon" | "offcanvas";
|
|
12
12
|
variant: "inset" | "sidebar" | "floating";
|
|
13
13
|
side: "left" | "right";
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -11,7 +11,7 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
13
|
as: import('reka-ui').AsTag | import('vue').Component;
|
|
14
|
-
size: "
|
|
14
|
+
size: "md" | "sm";
|
|
15
15
|
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/index.d.ts
CHANGED
|
@@ -45,8 +45,15 @@ export * from './components/gandalf/kit/card-toggle-box';
|
|
|
45
45
|
export * from './components/gandalf/kit/checkbox-card';
|
|
46
46
|
export * from './components/gandalf/kit/date-picker';
|
|
47
47
|
export * from './components/gandalf/kit/files-card';
|
|
48
|
+
export * from './components/gandalf/kit/header';
|
|
49
|
+
export * from './components/gandalf/kit/input-chat';
|
|
50
|
+
export * from './components/gandalf/kit/layout';
|
|
51
|
+
export * from './components/gandalf/kit/message-card';
|
|
48
52
|
export * from './components/gandalf/kit/miniature';
|
|
53
|
+
export * from './components/gandalf/kit/miniatures';
|
|
54
|
+
export * from './components/gandalf/kit/report';
|
|
49
55
|
export * from './components/gandalf/kit/search-field';
|
|
56
|
+
export * from './components/gandalf/kit/sidebar';
|
|
50
57
|
export * from './components/gandalf/kit/star';
|
|
51
58
|
export * from './components/gandalf/kit/upload-box';
|
|
52
59
|
export * from './components/gandalf/kit/upload-card';
|