@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,170 @@
|
|
|
1
|
+
import { cn } from "../../../../lib/utils.js";
|
|
2
|
+
import { gandalfIconsVariants } from "./index.js";
|
|
3
|
+
import { createElementBlock, createElementVNode, createStaticVNode, defineComponent, normalizeClass, openBlock, unref, useId } from "vue";
|
|
4
|
+
// src/components/gandalf/kit/report/Icons.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _hoisted_1 = [
|
|
6
|
+
"data-type",
|
|
7
|
+
"role",
|
|
8
|
+
"aria-label",
|
|
9
|
+
"aria-hidden"
|
|
10
|
+
];
|
|
11
|
+
var _hoisted_2 = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "relative block h-[25px] w-5 shrink-0"
|
|
14
|
+
};
|
|
15
|
+
var _hoisted_3 = {
|
|
16
|
+
class: "absolute -top-px -left-0.5",
|
|
17
|
+
width: "24",
|
|
18
|
+
height: "29",
|
|
19
|
+
viewBox: "0 0 24 29",
|
|
20
|
+
fill: "none"
|
|
21
|
+
};
|
|
22
|
+
var _hoisted_4 = ["filter"];
|
|
23
|
+
var _hoisted_5 = {
|
|
24
|
+
key: 1,
|
|
25
|
+
class: "relative block h-[27.3px] w-7 shrink-0"
|
|
26
|
+
};
|
|
27
|
+
var _hoisted_6 = {
|
|
28
|
+
class: "absolute -top-px left-0",
|
|
29
|
+
width: "28",
|
|
30
|
+
height: "31.3",
|
|
31
|
+
viewBox: "0 0 28 31.3024",
|
|
32
|
+
fill: "none"
|
|
33
|
+
};
|
|
34
|
+
var _hoisted_7 = ["filter"];
|
|
35
|
+
var _hoisted_8 = {
|
|
36
|
+
key: 2,
|
|
37
|
+
class: "relative block h-[28.35px] w-[21px] shrink-0"
|
|
38
|
+
};
|
|
39
|
+
var _hoisted_9 = {
|
|
40
|
+
class: "absolute -top-px -left-0.5",
|
|
41
|
+
width: "25",
|
|
42
|
+
height: "32.34",
|
|
43
|
+
viewBox: "0 0 25 32.3448",
|
|
44
|
+
fill: "none"
|
|
45
|
+
};
|
|
46
|
+
var _hoisted_10 = ["filter"];
|
|
47
|
+
var _hoisted_11 = {
|
|
48
|
+
key: 3,
|
|
49
|
+
class: "relative block h-[27px] w-6 shrink-0"
|
|
50
|
+
};
|
|
51
|
+
var _hoisted_12 = {
|
|
52
|
+
class: "absolute -top-px -left-0.5",
|
|
53
|
+
width: "28",
|
|
54
|
+
height: "31",
|
|
55
|
+
viewBox: "0 0 28 31",
|
|
56
|
+
fill: "none"
|
|
57
|
+
};
|
|
58
|
+
var _hoisted_13 = ["filter"];
|
|
59
|
+
var Icons_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
60
|
+
__name: "Icons",
|
|
61
|
+
props: {
|
|
62
|
+
type: { default: "pin" },
|
|
63
|
+
label: { default: void 0 },
|
|
64
|
+
class: {
|
|
65
|
+
type: [
|
|
66
|
+
Boolean,
|
|
67
|
+
null,
|
|
68
|
+
String,
|
|
69
|
+
Object,
|
|
70
|
+
Array
|
|
71
|
+
],
|
|
72
|
+
default: void 0
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
setup(__props) {
|
|
76
|
+
const props = __props;
|
|
77
|
+
const shadowId = `g-icons-shadow-${useId()}`;
|
|
78
|
+
return (_ctx, _cache) => {
|
|
79
|
+
return openBlock(), createElementBlock("span", {
|
|
80
|
+
"data-slot": "icons",
|
|
81
|
+
"data-type": __props.type,
|
|
82
|
+
role: __props.label ? "img" : void 0,
|
|
83
|
+
"aria-label": __props.label,
|
|
84
|
+
"aria-hidden": __props.label ? void 0 : "true",
|
|
85
|
+
class: normalizeClass(unref(cn)(unref(gandalfIconsVariants)(), props.class))
|
|
86
|
+
}, [createElementVNode("svg", {
|
|
87
|
+
width: "0",
|
|
88
|
+
height: "0",
|
|
89
|
+
class: "absolute",
|
|
90
|
+
"aria-hidden": "true"
|
|
91
|
+
}, [createElementVNode("filter", {
|
|
92
|
+
id: shadowId,
|
|
93
|
+
x: "-20%",
|
|
94
|
+
y: "-20%",
|
|
95
|
+
width: "140%",
|
|
96
|
+
height: "150%",
|
|
97
|
+
"color-interpolation-filters": "sRGB"
|
|
98
|
+
}, [..._cache[0] || (_cache[0] = [createElementVNode("feDropShadow", {
|
|
99
|
+
dx: "0",
|
|
100
|
+
dy: "1",
|
|
101
|
+
stdDeviation: "1",
|
|
102
|
+
"flood-color": "#000",
|
|
103
|
+
"flood-opacity": "0.35"
|
|
104
|
+
}, null, -1)])])]), __props.type === "pin" ? (openBlock(), createElementBlock("span", _hoisted_2, [(openBlock(), createElementBlock("svg", _hoisted_3, [
|
|
105
|
+
createElementVNode("path", {
|
|
106
|
+
filter: `url(#${shadowId})`,
|
|
107
|
+
d: "M12 1C17.6598 1 21.9999 5.89475 22 11.6152C22 14.4049 20.9796 17.8432 19.3877 20.5938C18.5835 21.9832 17.5795 23.2936 16.3867 24.2773C15.1916 25.263 13.704 26 12 26C10.296 26 8.80841 25.263 7.61328 24.2773C6.42048 23.2936 5.41646 21.9832 4.6123 20.5938C3.02036 17.8432 2 14.4049 2 11.6152C2.00008 5.89475 6.34021 1 12 1Z",
|
|
108
|
+
fill: "white"
|
|
109
|
+
}, null, 8, _hoisted_4),
|
|
110
|
+
_cache[1] || (_cache[1] = createElementVNode("path", {
|
|
111
|
+
d: "M20 11.6154C20 16.3735 16.4183 24 12 24C7.58172 24 4 16.3735 4 11.6154C4 6.85724 7.58172 3 12 3C16.4183 3 20 6.85724 20 11.6154Z",
|
|
112
|
+
fill: "#FB2C36"
|
|
113
|
+
}, null, -1)),
|
|
114
|
+
_cache[2] || (_cache[2] = createElementVNode("circle", {
|
|
115
|
+
cx: "12",
|
|
116
|
+
cy: "12",
|
|
117
|
+
r: "4",
|
|
118
|
+
fill: "#C10007"
|
|
119
|
+
}, null, -1))
|
|
120
|
+
]))])) : __props.type === "tree" ? (openBlock(), createElementBlock("span", _hoisted_5, [(openBlock(), createElementBlock("svg", _hoisted_6, [
|
|
121
|
+
createElementVNode("path", {
|
|
122
|
+
filter: `url(#${shadowId})`,
|
|
123
|
+
d: "M11.0621 2.2858C12.6458 0.571401 15.3544 0.571402 16.9381 2.2858L22.067 7.83755C23.5154 9.40551 23.3944 11.5675 22.2847 13.0104L23.7496 14.3698C26.4148 16.843 24.6647 21.302 21.0289 21.3024H18.9996V25.3024C18.9995 26.9592 17.6564 28.3024 15.9996 28.3024H11.9996C10.3429 28.3022 8.99969 26.9591 8.99958 25.3024V21.3024H6.97126C3.33516 21.3023 1.58511 16.843 4.25056 14.3698L5.71443 13.0104C4.60502 11.5675 4.48391 9.40538 5.9322 7.83755L11.0621 2.2858Z",
|
|
124
|
+
fill: "white"
|
|
125
|
+
}, null, 8, _hoisted_7),
|
|
126
|
+
_cache[3] || (_cache[3] = createElementVNode("rect", {
|
|
127
|
+
x: "11",
|
|
128
|
+
y: "18.3021",
|
|
129
|
+
width: "6",
|
|
130
|
+
height: "8",
|
|
131
|
+
rx: "1",
|
|
132
|
+
fill: "#8F400E"
|
|
133
|
+
}, null, -1)),
|
|
134
|
+
_cache[4] || (_cache[4] = createElementVNode("path", {
|
|
135
|
+
d: "M12.6396 9.31438C13.4068 8.6025 14.5932 8.6025 15.3604 9.31438L22.3889 15.836C23.7216 17.0727 22.8466 19.3021 21.0285 19.3021H6.97148C5.15339 19.3021 4.27838 17.0727 5.61112 15.836L12.6396 9.31438Z",
|
|
136
|
+
fill: "#00997D"
|
|
137
|
+
}, null, -1)),
|
|
138
|
+
_cache[5] || (_cache[5] = createElementVNode("path", {
|
|
139
|
+
d: "M12.5309 3.64248C13.3228 2.78528 14.6773 2.78528 15.4692 3.64248L20.5984 9.19502C21.7817 10.476 20.8731 12.5521 19.1293 12.5521H8.87083C7.12696 12.5521 6.21842 10.476 7.40172 9.19502L12.5309 3.64248Z",
|
|
140
|
+
fill: "#02B985"
|
|
141
|
+
}, null, -1))
|
|
142
|
+
]))])) : __props.type === "door" ? (openBlock(), createElementBlock("span", _hoisted_8, [(openBlock(), createElementBlock("svg", _hoisted_9, [
|
|
143
|
+
createElementVNode("path", {
|
|
144
|
+
filter: `url(#${shadowId})`,
|
|
145
|
+
d: "M7.31836 2.62295C8.18303 1.45804 9.65917 0.788147 11.2207 1.06045L19.6875 2.53701C21.6024 2.87106 22.9998 4.53367 23 6.47744V24.2362C23 26.2449 21.5102 27.9425 19.5186 28.203L11.0518 29.3104C9.50223 29.513 8.06675 28.8031 7.24609 27.6229H6C3.85979 27.6229 2.11186 25.9416 2.00488 23.828L2 23.6229V6.62295C2 4.41381 3.79086 2.62295 6 2.62295H7.31836Z",
|
|
146
|
+
fill: "white"
|
|
147
|
+
}, null, 8, _hoisted_10),
|
|
148
|
+
_cache[6] || (_cache[6] = createElementVNode("path", {
|
|
149
|
+
d: "M4 6.62244C4 5.51787 4.89543 4.62244 6 4.62244H18.9864C20.0963 4.62244 20.9939 5.52615 20.9864 6.63599L20.8711 23.636C20.8637 24.7352 19.9704 25.6224 18.8712 25.6224H6C4.89543 25.6224 4 24.727 4 23.6224V6.62244Z",
|
|
150
|
+
fill: "#490606"
|
|
151
|
+
}, null, -1)),
|
|
152
|
+
_cache[7] || (_cache[7] = createElementVNode("path", {
|
|
153
|
+
d: "M8.53333 5.00137C8.53333 3.75942 9.65341 2.81775 10.8769 3.0311L19.3436 4.5075C20.3011 4.67448 21 5.50576 21 6.47777V24.2365C21 25.2409 20.2552 26.0894 19.2594 26.2196L10.7927 27.327C9.59532 27.4835 8.53333 26.5514 8.53333 25.3438V5.00137Z",
|
|
154
|
+
fill: "#A73F0F"
|
|
155
|
+
}, null, -1)),
|
|
156
|
+
_cache[8] || (_cache[8] = createElementVNode("circle", {
|
|
157
|
+
cx: "12.8",
|
|
158
|
+
cy: "15.6224",
|
|
159
|
+
r: "2",
|
|
160
|
+
fill: "#EFB83F"
|
|
161
|
+
}, null, -1))
|
|
162
|
+
]))])) : (openBlock(), createElementBlock("span", _hoisted_11, [(openBlock(), createElementBlock("svg", _hoisted_12, [createElementVNode("path", {
|
|
163
|
+
filter: `url(#${shadowId})`,
|
|
164
|
+
d: "M20 1C22.2091 1 24 2.79086 24 5V5.53613C25.1954 6.22781 26 7.51962 26 9C26 11.2091 24.2091 13 22 13H20V18C20 19.4802 19.1951 20.7711 18 21.4629V24C18 26.2091 16.2091 28 14 28C11.7909 28 10 26.2091 10 24V21.4629C8.80487 20.7711 8 19.4802 8 18V13H6C3.79086 13 2 11.2091 2 9C2 7.51962 2.80464 6.22781 4 5.53613V5C4 2.79086 5.79086 1 8 1C9.1953 1 10.267 1.52528 11 2.35645C11.733 1.52528 12.8047 1 14 1C15.1953 1 16.267 1.52528 17 2.35645C17.733 1.52528 18.8047 1 20 1Z",
|
|
165
|
+
fill: "white"
|
|
166
|
+
}, null, 8, _hoisted_13)])), _cache[9] || (_cache[9] = createStaticVNode("<span class=\"absolute top-0.5 left-0.5 block h-[23px] w-5\"><span class=\"absolute top-[17px] left-2 h-1.5 w-1 rounded-b-xs bg-[#5a8caf]\"></span><span class=\"absolute top-1 left-0 h-1 w-5 rounded-xs bg-[#5a8caf]\"></span><span class=\"absolute top-0 left-0.5 size-1 rounded-t-xs bg-[#386aa2]\"></span><span class=\"absolute top-0 left-2 size-1 rounded-t-xs bg-[#386aa2]\"></span><span class=\"absolute top-0 left-3.5 size-1 rounded-t-xs bg-[#386aa2]\"></span><span class=\"absolute top-2 left-1.5 h-[9px] w-2 rounded-xs bg-[#5ca4d6]\"></span></span>", 1))]))], 10, _hoisted_1);
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
export { Icons_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import PickerItem_vue_vue_type_script_setup_true_lang_default from "./PickerItem.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
// src/components/gandalf/kit/report/PickerItem.vue
|
|
3
|
+
var PickerItem_default = PickerItem_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
+
export { PickerItem_default as default };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { GandalfIconsType, GandalfPickerItemType } from './index';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
type?: GandalfPickerItemType;
|
|
5
|
+
/** Activated state ("State=Activated" in Figma). */
|
|
6
|
+
modelValue?: boolean;
|
|
7
|
+
/** Type=Icon: the Icons drawing shown. */
|
|
8
|
+
icon?: GandalfIconsType;
|
|
9
|
+
/** Type=Label: the text ("##" in Figma). */
|
|
10
|
+
label?: string;
|
|
11
|
+
showLabel?: boolean;
|
|
12
|
+
/** Type=Label: the color sample circle ("Opacity" in Figma). */
|
|
13
|
+
showOpacity?: boolean;
|
|
14
|
+
/** Type=Label: the line sample ("Thickness" in Figma). */
|
|
15
|
+
showThickness?: boolean;
|
|
16
|
+
/** Color of the sample circle, #BABBBD in Figma. */
|
|
17
|
+
color?: string;
|
|
18
|
+
/** Height of the sample line in px, 3 in Figma. */
|
|
19
|
+
thickness?: number;
|
|
20
|
+
/** Accessible name for Type=Icon, which only shows a drawing. */
|
|
21
|
+
ariaLabel?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
class?: HTMLAttributes['class'];
|
|
24
|
+
};
|
|
25
|
+
declare var __VLS_1: {}, __VLS_8: {};
|
|
26
|
+
type __VLS_Slots = {} & {
|
|
27
|
+
default?: (props: typeof __VLS_1) => any;
|
|
28
|
+
} & {
|
|
29
|
+
label?: (props: typeof __VLS_8) => any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
|
+
"update:modelValue": (value: boolean) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
type: GandalfPickerItemType;
|
|
38
|
+
modelValue: boolean;
|
|
39
|
+
label: string;
|
|
40
|
+
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
41
|
+
color: string;
|
|
42
|
+
icon: "pole" | "pin" | "tree" | "door";
|
|
43
|
+
showLabel: boolean;
|
|
44
|
+
ariaLabel: string;
|
|
45
|
+
showOpacity: boolean;
|
|
46
|
+
showThickness: boolean;
|
|
47
|
+
thickness: number;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { cn } from "../../../../lib/utils.js";
|
|
2
|
+
import Icons_default from "./Icons.js";
|
|
3
|
+
import { gandalfPickerItemVariants } from "./index.js";
|
|
4
|
+
import { Fragment, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, toDisplayString, unref } from "vue";
|
|
5
|
+
// src/components/gandalf/kit/report/PickerItem.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var _hoisted_1 = [
|
|
7
|
+
"data-type",
|
|
8
|
+
"data-state",
|
|
9
|
+
"aria-pressed",
|
|
10
|
+
"aria-label",
|
|
11
|
+
"disabled"
|
|
12
|
+
];
|
|
13
|
+
var _hoisted_2 = {
|
|
14
|
+
key: 2,
|
|
15
|
+
class: "text-body-sm text-base-foreground truncate"
|
|
16
|
+
};
|
|
17
|
+
var PickerItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
18
|
+
__name: "PickerItem",
|
|
19
|
+
props: {
|
|
20
|
+
type: { default: "icon" },
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
},
|
|
25
|
+
icon: { default: "tree" },
|
|
26
|
+
label: { default: void 0 },
|
|
27
|
+
showLabel: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: true
|
|
30
|
+
},
|
|
31
|
+
showOpacity: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: true
|
|
34
|
+
},
|
|
35
|
+
showThickness: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: true
|
|
38
|
+
},
|
|
39
|
+
color: { default: "#BABBBD" },
|
|
40
|
+
thickness: { default: 3 },
|
|
41
|
+
ariaLabel: { default: void 0 },
|
|
42
|
+
disabled: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: false
|
|
45
|
+
},
|
|
46
|
+
class: {
|
|
47
|
+
type: [
|
|
48
|
+
Boolean,
|
|
49
|
+
null,
|
|
50
|
+
String,
|
|
51
|
+
Object,
|
|
52
|
+
Array
|
|
53
|
+
],
|
|
54
|
+
default: void 0
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
emits: ["update:modelValue"],
|
|
58
|
+
setup(__props, { emit: __emit }) {
|
|
59
|
+
const props = __props;
|
|
60
|
+
const emit = __emit;
|
|
61
|
+
return (_ctx, _cache) => {
|
|
62
|
+
return openBlock(), createElementBlock("button", {
|
|
63
|
+
type: "button",
|
|
64
|
+
"data-slot": "picker-item",
|
|
65
|
+
"data-type": __props.type,
|
|
66
|
+
"data-state": __props.modelValue ? "on" : "off",
|
|
67
|
+
"aria-pressed": __props.modelValue,
|
|
68
|
+
"aria-label": __props.ariaLabel,
|
|
69
|
+
disabled: __props.disabled,
|
|
70
|
+
class: normalizeClass(unref(cn)(unref(gandalfPickerItemVariants)({ type: __props.type }), props.class)),
|
|
71
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", !__props.modelValue))
|
|
72
|
+
}, [renderSlot(_ctx.$slots, "default", {}, () => [__props.type === "icon" ? (openBlock(), createBlock(Icons_default, {
|
|
73
|
+
key: 0,
|
|
74
|
+
type: __props.icon,
|
|
75
|
+
class: "w-full"
|
|
76
|
+
}, null, 8, ["type"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
77
|
+
__props.showThickness ? (openBlock(), createElementBlock("span", {
|
|
78
|
+
key: 0,
|
|
79
|
+
class: "w-[18px] shrink-0 bg-slate-800",
|
|
80
|
+
style: normalizeStyle({ height: `${__props.thickness}px` })
|
|
81
|
+
}, null, 4)) : createCommentVNode("", true),
|
|
82
|
+
__props.showOpacity ? (openBlock(), createElementBlock("span", {
|
|
83
|
+
key: 1,
|
|
84
|
+
class: "size-[22px] shrink-0 rounded-full",
|
|
85
|
+
style: normalizeStyle({ backgroundColor: __props.color })
|
|
86
|
+
}, null, 4)) : createCommentVNode("", true),
|
|
87
|
+
__props.showLabel ? (openBlock(), createElementBlock("span", _hoisted_2, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])) : createCommentVNode("", true)
|
|
88
|
+
], 64))])], 10, _hoisted_1);
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
export { PickerItem_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { GandalfCircleReportType } from './index';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Text over the pin ("Layer name" in Figma). */
|
|
5
|
+
layerName?: string;
|
|
6
|
+
/** "Show Layer name" in Figma. */
|
|
7
|
+
showLayerName?: boolean;
|
|
8
|
+
/** Type of the Cirlcle Report inside the pin. */
|
|
9
|
+
report?: GandalfCircleReportType;
|
|
10
|
+
class?: HTMLAttributes['class'];
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
'layer-name'?: (props: typeof __VLS_1) => any;
|
|
15
|
+
} & {
|
|
16
|
+
default?: (props: typeof __VLS_3) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
20
|
+
report: GandalfCircleReportType;
|
|
21
|
+
layerName: string;
|
|
22
|
+
showLayerName: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { cn } from "../../../../lib/utils.js";
|
|
2
|
+
import CircleReport_default from "./CircleReport.js";
|
|
3
|
+
import { createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref } from "vue";
|
|
4
|
+
// src/components/gandalf/kit/report/Pin.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _hoisted_1 = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "text-body-smEm text-base-foreground whitespace-nowrap"
|
|
8
|
+
};
|
|
9
|
+
var _hoisted_2 = { class: "relative block h-[41px] w-[34px] shrink-0 [filter:drop-shadow(0_4px_3px_rgb(0_0_0/0.1))_drop-shadow(0_2px_2px_rgb(0_0_0/0.1))]" };
|
|
10
|
+
var _hoisted_3 = { class: "bg-card absolute top-0 left-0 flex rounded-full p-0.5" };
|
|
11
|
+
var Pin_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
12
|
+
__name: "Pin",
|
|
13
|
+
props: {
|
|
14
|
+
layerName: { default: "Layer name" },
|
|
15
|
+
showLayerName: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: true
|
|
18
|
+
},
|
|
19
|
+
report: { default: "access" },
|
|
20
|
+
class: {
|
|
21
|
+
type: [
|
|
22
|
+
Boolean,
|
|
23
|
+
null,
|
|
24
|
+
String,
|
|
25
|
+
Object,
|
|
26
|
+
Array
|
|
27
|
+
],
|
|
28
|
+
default: void 0
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
setup(__props) {
|
|
32
|
+
const props = __props;
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return openBlock(), createElementBlock("div", {
|
|
35
|
+
"data-slot": "pin",
|
|
36
|
+
class: normalizeClass(unref(cn)("inline-flex flex-col items-center gap-1", props.class))
|
|
37
|
+
}, [__props.showLayerName ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "layer-name", {}, () => [createTextVNode(toDisplayString(__props.layerName), 1)])])) : createCommentVNode("", true), createElementVNode("span", _hoisted_2, [_cache[0] || (_cache[0] = createElementVNode("svg", {
|
|
38
|
+
class: "absolute top-[15px] left-px",
|
|
39
|
+
width: "32",
|
|
40
|
+
height: "26",
|
|
41
|
+
viewBox: "0 0 32 26",
|
|
42
|
+
fill: "none",
|
|
43
|
+
"aria-hidden": "true"
|
|
44
|
+
}, [createElementVNode("path", {
|
|
45
|
+
d: "M32 7.68182C31.4483 10.6364 23.313 26 16 26C8.68699 26 0.551724 10.6364 0 7.68203C0 -0.150377 8.68699 0.000207291 16 0.000207291C23.313 0.000207291 32 -0.150584 32 7.68182Z",
|
|
46
|
+
fill: "white"
|
|
47
|
+
})], -1)), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default", {}, () => [createVNode(CircleReport_default, { type: __props.report }, null, 8, ["type"])])])])], 2);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export { Pin_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { Component } from 'vue';
|
|
3
|
+
export { default as GCircleReport } from './CircleReport.vue';
|
|
4
|
+
export { default as GAvatarReport } from './AvatarReport.vue';
|
|
5
|
+
export { default as GPin } from './Pin.vue';
|
|
6
|
+
export { default as GIcons } from './Icons.vue';
|
|
7
|
+
export { default as GPickerItem } from './PickerItem.vue';
|
|
8
|
+
export declare const gandalfCircleReportVariants: (props?: ({
|
|
9
|
+
type?: "access" | "boundary" | "pole" | "road" | "soil" | "fustal" | "latizal" | "agua" | "otro" | "observacion" | null | undefined;
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
+
export type GandalfCircleReportType = NonNullable<VariantProps<typeof gandalfCircleReportVariants>['type']>;
|
|
12
|
+
export declare const circleReportIcons: Record<GandalfCircleReportType, Component>;
|
|
13
|
+
export declare const gandalfAvatarReportVariants: (props?: ({
|
|
14
|
+
type?: "access" | "boundary" | "pole" | "road" | "soil" | "fustal" | "latizal" | "agua" | "otro" | "poligono" | null | undefined;
|
|
15
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
16
|
+
export type GandalfAvatarReportType = NonNullable<VariantProps<typeof gandalfAvatarReportVariants>['type']>;
|
|
17
|
+
export declare const avatarReportIcons: Record<GandalfAvatarReportType, Component>;
|
|
18
|
+
export declare const gandalfIconsVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
19
|
+
export declare const GANDALF_ICONS_TYPES: readonly ["pin", "tree", "door", "pole"];
|
|
20
|
+
export type GandalfIconsType = (typeof GANDALF_ICONS_TYPES)[number];
|
|
21
|
+
export declare const gandalfPickerItemVariants: (props?: ({
|
|
22
|
+
type?: "label" | "icon" | null | undefined;
|
|
23
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
24
|
+
export type GandalfPickerItemType = NonNullable<VariantProps<typeof gandalfPickerItemVariants>['type']>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import CircleReport_default from "./CircleReport.js";
|
|
2
|
+
import AvatarReport_default from "./AvatarReport.js";
|
|
3
|
+
import Pin_default from "./Pin.js";
|
|
4
|
+
import Icons_default from "./Icons.js";
|
|
5
|
+
import PickerItem_default from "./PickerItem.js";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
7
|
+
import { CircleQuestionMark, CornerUpRight, DoorOpen, Droplet, Grid2x2, ScanEye, Sprout, TreePine, UtilityPole, VectorSquare, Waypoints, Zap } from "lucide-vue-next";
|
|
8
|
+
// src/components/gandalf/kit/report/index.ts
|
|
9
|
+
var gandalfCircleReportVariants = cva("inline-flex size-[30px] shrink-0 items-center justify-center rounded-full p-0.5 [&_svg]:size-4", {
|
|
10
|
+
variants: { type: {
|
|
11
|
+
access: "bg-orange-600 text-orange-50",
|
|
12
|
+
boundary: "bg-red-600 text-red-50",
|
|
13
|
+
pole: "bg-amber-600 text-amber-50",
|
|
14
|
+
road: "bg-indigo-600 text-indigo-50",
|
|
15
|
+
soil: "bg-pink-600 text-pink-50",
|
|
16
|
+
fustal: "bg-green-600 text-gray-50",
|
|
17
|
+
latizal: "bg-emerald-600 text-emerald-50",
|
|
18
|
+
agua: "bg-blue-600 text-blue-50",
|
|
19
|
+
otro: "bg-purple-600 text-purple-50",
|
|
20
|
+
observacion: "bg-orange-600 text-purple-50"
|
|
21
|
+
} },
|
|
22
|
+
defaultVariants: { type: "access" }
|
|
23
|
+
});
|
|
24
|
+
var circleReportIcons = {
|
|
25
|
+
access: DoorOpen,
|
|
26
|
+
boundary: VectorSquare,
|
|
27
|
+
pole: UtilityPole,
|
|
28
|
+
road: CornerUpRight,
|
|
29
|
+
soil: Grid2x2,
|
|
30
|
+
fustal: TreePine,
|
|
31
|
+
latizal: Sprout,
|
|
32
|
+
agua: Droplet,
|
|
33
|
+
otro: CircleQuestionMark,
|
|
34
|
+
observacion: ScanEye
|
|
35
|
+
};
|
|
36
|
+
var gandalfAvatarReportVariants = cva("items-center justify-center [&_svg]:size-3", {
|
|
37
|
+
variants: { type: {
|
|
38
|
+
access: "bg-orange-100 text-orange-700",
|
|
39
|
+
boundary: "bg-red-100 text-red-700",
|
|
40
|
+
pole: "bg-amber-100 text-amber-700",
|
|
41
|
+
road: "bg-indigo-100 text-indigo-700",
|
|
42
|
+
soil: "bg-pink-100 text-pink-700",
|
|
43
|
+
fustal: "bg-green-100 text-green-700",
|
|
44
|
+
latizal: "bg-emerald-100 text-emerald-700",
|
|
45
|
+
agua: "bg-blue-100 text-blue-700",
|
|
46
|
+
otro: "bg-purple-100 text-purple-700",
|
|
47
|
+
poligono: "bg-default-muted text-default-bold"
|
|
48
|
+
} },
|
|
49
|
+
defaultVariants: { type: "access" }
|
|
50
|
+
});
|
|
51
|
+
var avatarReportIcons = {
|
|
52
|
+
access: DoorOpen,
|
|
53
|
+
boundary: VectorSquare,
|
|
54
|
+
pole: Zap,
|
|
55
|
+
road: CornerUpRight,
|
|
56
|
+
soil: Grid2x2,
|
|
57
|
+
fustal: TreePine,
|
|
58
|
+
latizal: Sprout,
|
|
59
|
+
agua: Droplet,
|
|
60
|
+
otro: CircleQuestionMark,
|
|
61
|
+
poligono: Waypoints
|
|
62
|
+
};
|
|
63
|
+
var gandalfIconsVariants = cva("flex h-8 w-11 shrink-0 flex-col items-center justify-center overflow-clip p-2.5");
|
|
64
|
+
var GANDALF_ICONS_TYPES = [
|
|
65
|
+
"pin",
|
|
66
|
+
"tree",
|
|
67
|
+
"door",
|
|
68
|
+
"pole"
|
|
69
|
+
];
|
|
70
|
+
var gandalfPickerItemVariants = cva("focus-visible:ring-ring hover:not-data-[state=on]:overlay-dark-5 active:not-data-[state=on]:overlay-dark-8 data-[state=on]:border-accent-primary-foreground data-[state=on]:bg-accent-primary inline-flex shrink-0 cursor-pointer items-center justify-center overflow-clip rounded-md border-[1.5px] border-transparent outline-none focus-visible:ring-2 disabled:cursor-not-allowed disabled:opacity-50", {
|
|
71
|
+
variants: { type: {
|
|
72
|
+
icon: "h-8 w-11 flex-col",
|
|
73
|
+
label: "h-8 w-[86px] gap-1.5 px-2"
|
|
74
|
+
} },
|
|
75
|
+
defaultVariants: { type: "icon" }
|
|
76
|
+
});
|
|
77
|
+
export { GANDALF_ICONS_TYPES, AvatarReport_default as GAvatarReport, CircleReport_default as GCircleReport, Icons_default as GIcons, PickerItem_default as GPickerItem, Pin_default as GPin, avatarReportIcons, circleReportIcons, gandalfAvatarReportVariants, gandalfCircleReportVariants, gandalfIconsVariants, gandalfPickerItemVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
export { default as GSearchField } from './SearchField.vue';
|
|
3
3
|
export declare const gandalfSearchFieldVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "md" | "sm" | "xs" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type GandalfSearchFieldVariants = VariantProps<typeof gandalfSearchFieldVariants>;
|
|
7
7
|
export type GandalfSearchFieldSize = NonNullable<GandalfSearchFieldVariants['size']>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import Sidebar_vue_vue_type_script_setup_true_lang_default from "./Sidebar.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
// src/components/gandalf/kit/sidebar/Sidebar.vue
|
|
3
|
+
var Sidebar_default = Sidebar_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
+
export { Sidebar_default as default };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Component, HTMLAttributes } from 'vue';
|
|
2
|
+
import { SidebarNavGroup, SidebarNavItem } from './types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Groups of items, drawn in order. Empty groups are skipped. */
|
|
5
|
+
groups: SidebarNavGroup[];
|
|
6
|
+
/** `value` of the active item (Figma: Status=Actived). */
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Component used for items with `to` — e.g. `NuxtLink` or `RouterLink`. Without it, items
|
|
10
|
+
* render as `<a href>` (when they have `href`) or as buttons.
|
|
11
|
+
*/
|
|
12
|
+
linkAs?: Component | string;
|
|
13
|
+
/** Accessible name of the `<nav>` landmark. */
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
side?: 'left' | 'right';
|
|
16
|
+
variant?: 'sidebar' | 'floating' | 'inset';
|
|
17
|
+
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
18
|
+
class?: HTMLAttributes['class'];
|
|
19
|
+
};
|
|
20
|
+
declare var __VLS_13: {}, __VLS_72: {
|
|
21
|
+
item: SidebarNavItem;
|
|
22
|
+
active: boolean;
|
|
23
|
+
}, __VLS_85: {};
|
|
24
|
+
type __VLS_Slots = {} & {
|
|
25
|
+
header?: (props: typeof __VLS_13) => any;
|
|
26
|
+
} & {
|
|
27
|
+
item?: (props: typeof __VLS_72) => any;
|
|
28
|
+
} & {
|
|
29
|
+
footer?: (props: typeof __VLS_85) => any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
|
+
"update:modelValue": (value: string) => any;
|
|
33
|
+
select: (item: SidebarNavItem) => any;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
|
+
onSelect?: ((item: SidebarNavItem) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
collapsible: "none" | "icon" | "offcanvas";
|
|
39
|
+
modelValue: string;
|
|
40
|
+
class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
|
|
41
|
+
variant: "inset" | "sidebar" | "floating";
|
|
42
|
+
side: "left" | "right";
|
|
43
|
+
ariaLabel: string;
|
|
44
|
+
linkAs: string | Component;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|