@hina-ui/vue 1.3.1 → 1.5.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/dist/index.js +4336 -2180
- package/dist/index.js.map +1 -1
- package/dist/types/components/dialog/Dialog.vue.d.ts +3 -1
- package/dist/types/components/dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/types/components/drawer/Drawer.vue.d.ts +21 -14
- package/dist/types/components/drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/types/components/drawer/drawer.variants.d.ts +10 -1
- package/dist/types/components/drawer/drawer.variants.d.ts.map +1 -1
- package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts +4 -1
- package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts.map +1 -1
- package/dist/types/components/hover-card/HoverCard.vue.d.ts +10 -7
- package/dist/types/components/hover-card/HoverCard.vue.d.ts.map +1 -1
- package/dist/types/components/hover-card/HoverCardAnchor.vue.d.ts +29 -0
- package/dist/types/components/hover-card/HoverCardAnchor.vue.d.ts.map +1 -0
- package/dist/types/components/hover-card/composables/useHoverCardAnchor.d.ts +22 -0
- package/dist/types/components/hover-card/composables/useHoverCardAnchor.d.ts.map +1 -0
- package/dist/types/components/image/Image.vue.d.ts +3 -1
- package/dist/types/components/image/Image.vue.d.ts.map +1 -1
- package/dist/types/components/image/composables/useImageGroupState.d.ts.map +1 -1
- package/dist/types/components/image/image.variants.d.ts +1 -1
- package/dist/types/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/types/components/lightbox/LightboxChrome.vue.d.ts +4 -0
- package/dist/types/components/lightbox/LightboxChrome.vue.d.ts.map +1 -1
- package/dist/types/components/lightbox/LightboxToolbar.vue.d.ts +4 -0
- package/dist/types/components/lightbox/LightboxToolbar.vue.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxFrames.d.ts +4 -1
- package/dist/types/components/lightbox/composables/useLightboxFrames.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxLarge.d.ts +1 -0
- package/dist/types/components/lightbox/composables/useLightboxLarge.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxLayout.d.ts +17 -0
- package/dist/types/components/lightbox/composables/useLightboxLayout.d.ts.map +1 -0
- package/dist/types/components/lightbox/composables/useLightboxPhase.d.ts +1 -1
- package/dist/types/components/lightbox/composables/useLightboxPhase.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxPose.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxRotation.d.ts +5 -1
- package/dist/types/components/lightbox/composables/useLightboxRotation.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxZoom.d.ts +10 -1
- package/dist/types/components/lightbox/composables/useLightboxZoom.d.ts.map +1 -1
- package/dist/types/components/lightbox/lightbox.variants.d.ts +2 -0
- package/dist/types/components/lightbox/lightbox.variants.d.ts.map +1 -0
- package/dist/types/components/lightbox/types.d.ts +7 -1
- package/dist/types/components/lightbox/types.d.ts.map +1 -1
- package/dist/types/components/lightbox/utils/pose.d.ts +2 -2
- package/dist/types/components/lightbox/utils/pose.d.ts.map +1 -1
- package/dist/types/components/lightbox/utils/source.d.ts +4 -0
- package/dist/types/components/lightbox/utils/source.d.ts.map +1 -0
- package/dist/types/components/lightbox/utils/zoom.d.ts +8 -4
- package/dist/types/components/lightbox/utils/zoom.d.ts.map +1 -1
- package/dist/types/components/pagination/Pagination.vue.d.ts +59 -0
- package/dist/types/components/pagination/Pagination.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationContent.vue.d.ts +23 -0
- package/dist/types/components/pagination/PaginationContent.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationControl.vue.d.ts +10 -0
- package/dist/types/components/pagination/PaginationControl.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationEllipsis.vue.d.ts +23 -0
- package/dist/types/components/pagination/PaginationEllipsis.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationInfo.vue.d.ts +24 -0
- package/dist/types/components/pagination/PaginationInfo.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationJump.vue.d.ts +7 -0
- package/dist/types/components/pagination/PaginationJump.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationPage.vue.d.ts +20 -0
- package/dist/types/components/pagination/PaginationPage.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationPages.vue.d.ts +27 -0
- package/dist/types/components/pagination/PaginationPages.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationPopup.vue.d.ts +8 -0
- package/dist/types/components/pagination/PaginationPopup.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/PaginationSize.vue.d.ts +7 -0
- package/dist/types/components/pagination/PaginationSize.vue.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePagination.d.ts +25 -0
- package/dist/types/components/pagination/composables/usePagination.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePaginationEllipsis.d.ts +34 -0
- package/dist/types/components/pagination/composables/usePaginationEllipsis.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePaginationJump.d.ts +8 -0
- package/dist/types/components/pagination/composables/usePaginationJump.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePaginationPageTooltip.d.ts +3 -0
- package/dist/types/components/pagination/composables/usePaginationPageTooltip.d.ts.map +1 -0
- package/dist/types/components/pagination/composables/usePaginationWindow.d.ts +188 -0
- package/dist/types/components/pagination/composables/usePaginationWindow.d.ts.map +1 -0
- package/dist/types/components/pagination/context.d.ts +19 -0
- package/dist/types/components/pagination/context.d.ts.map +1 -0
- package/dist/types/components/pagination/pagination.variants.d.ts +68 -0
- package/dist/types/components/pagination/pagination.variants.d.ts.map +1 -0
- package/dist/types/components/pagination/types.d.ts +23 -0
- package/dist/types/components/pagination/types.d.ts.map +1 -0
- package/dist/types/components/pagination/utils/ranges.d.ts +3 -0
- package/dist/types/components/pagination/utils/ranges.d.ts.map +1 -0
- package/dist/types/components/popover/Popover.vue.d.ts +4 -1
- package/dist/types/components/popover/Popover.vue.d.ts.map +1 -1
- package/dist/types/components/range-slider/RangeSlider.vue.d.ts +1 -0
- package/dist/types/components/range-slider/RangeSlider.vue.d.ts.map +1 -1
- package/dist/types/components/sheet/Sheet.vue.d.ts +21 -14
- package/dist/types/components/sheet/Sheet.vue.d.ts.map +1 -1
- package/dist/types/components/sheet/sheet.variants.d.ts +54 -3
- package/dist/types/components/sheet/sheet.variants.d.ts.map +1 -1
- package/dist/types/components/slider/Slider.vue.d.ts +1 -0
- package/dist/types/components/slider/Slider.vue.d.ts.map +1 -1
- package/dist/types/components/slider/slider.variants.d.ts.map +1 -1
- package/dist/types/components/tooltip/Tooltip.vue.d.ts +4 -15
- package/dist/types/components/tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/types/components/tooltip/TooltipBubble.vue.d.ts +20 -0
- package/dist/types/components/tooltip/TooltipBubble.vue.d.ts.map +1 -0
- package/dist/types/components/tooltip/TooltipDirectiveRoot.d.ts +33 -0
- package/dist/types/components/tooltip/TooltipDirectiveRoot.d.ts.map +1 -0
- package/dist/types/components/tooltip/composables/useTooltipTarget.d.ts +2 -0
- package/dist/types/components/tooltip/composables/useTooltipTarget.d.ts.map +1 -0
- package/dist/types/components/tooltip/directive.d.ts +4 -0
- package/dist/types/components/tooltip/directive.d.ts.map +1 -0
- package/dist/types/components/tooltip/types.d.ts +14 -0
- package/dist/types/components/tooltip/types.d.ts.map +1 -0
- package/dist/types/components/tooltip/utils/directiveContext.d.ts +10 -0
- package/dist/types/components/tooltip/utils/directiveContext.d.ts.map +1 -0
- package/dist/types/components/tree-select/TreeSelect.vue.d.ts +6 -1
- package/dist/types/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
- package/dist/types/components/tree-select/TreeSelectSearch.vue.d.ts +22 -0
- package/dist/types/components/tree-select/TreeSelectSearch.vue.d.ts.map +1 -0
- package/dist/types/components/tree-select/composables/useTreeSelect.d.ts +35 -0
- package/dist/types/components/tree-select/composables/useTreeSelect.d.ts.map +1 -0
- package/dist/types/components/tree-select/tree-select.variants.d.ts +1 -1
- package/dist/types/components/tree-select/tree-select.variants.d.ts.map +1 -1
- package/dist/types/components/tree-select/utils/filterTree.d.ts +7 -0
- package/dist/types/components/tree-select/utils/filterTree.d.ts.map +1 -0
- package/dist/types/index.d.ts +10 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/anchored-overlay.d.ts +12 -2
- package/dist/types/lib/anchored-overlay.d.ts.map +1 -1
- package/dist/types/lib/overlay-anchor.d.ts +16 -0
- package/dist/types/lib/overlay-anchor.d.ts.map +1 -0
- package/dist/types/lib/overlay-positioner.d.ts +3 -0
- package/dist/types/lib/overlay-positioner.d.ts.map +1 -0
- package/dist/types/lib/pointer-corridor.d.ts +7 -0
- package/dist/types/lib/pointer-corridor.d.ts.map +1 -0
- package/dist/types/lib/scroll-viewport.d.ts +9 -0
- package/dist/types/lib/scroll-viewport.d.ts.map +1 -0
- package/dist/types/lib/useDirection.d.ts +7 -0
- package/dist/types/lib/useDirection.d.ts.map +1 -0
- package/dist/types/locale/en-US.d.ts.map +1 -1
- package/dist/types/locale/index.d.ts.map +1 -1
- package/dist/types/locale/types.d.ts +13 -0
- package/dist/types/locale/types.d.ts.map +1 -1
- package/dist/types/locale/zh-CN.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/badge/badge.variants.ts +1 -1
- package/src/components/dialog/Dialog.vue +5 -1
- package/src/components/drawer/Drawer.vue +69 -32
- package/src/components/drawer/drawer.variants.ts +6 -2
- package/src/components/dropdown-menu/DropdownMenu.vue +18 -5
- package/src/components/hover-card/HoverCard.vue +39 -16
- package/src/components/hover-card/HoverCardAnchor.vue +18 -0
- package/src/components/hover-card/composables/useHoverCardAnchor.ts +151 -0
- package/src/components/image/Image.vue +2 -0
- package/src/components/image/composables/useImageGroupState.ts +9 -1
- package/src/components/image/image.variants.ts +1 -1
- package/src/components/lightbox/Lightbox.vue +23 -17
- package/src/components/lightbox/LightboxChrome.vue +7 -1
- package/src/components/lightbox/LightboxToolbar.vue +16 -2
- package/src/components/lightbox/composables/useLightboxFrames.ts +108 -12
- package/src/components/lightbox/composables/useLightboxLarge.ts +4 -1
- package/src/components/lightbox/composables/useLightboxLayout.ts +44 -0
- package/src/components/lightbox/composables/useLightboxPhase.ts +12 -4
- package/src/components/lightbox/composables/useLightboxPose.ts +17 -19
- package/src/components/lightbox/composables/useLightboxRotation.ts +14 -4
- package/src/components/lightbox/composables/useLightboxZoom.ts +51 -9
- package/src/components/lightbox/lightbox.variants.ts +5 -0
- package/src/components/lightbox/types.ts +5 -1
- package/src/components/lightbox/utils/pose.ts +13 -6
- package/src/components/lightbox/utils/source.ts +17 -0
- package/src/components/lightbox/utils/zoom.ts +21 -7
- package/src/components/pagination/Pagination.vue +118 -0
- package/src/components/pagination/PaginationContent.vue +29 -0
- package/src/components/pagination/PaginationControl.vue +42 -0
- package/src/components/pagination/PaginationEllipsis.vue +67 -0
- package/src/components/pagination/PaginationInfo.vue +18 -0
- package/src/components/pagination/PaginationJump.vue +32 -0
- package/src/components/pagination/PaginationPage.vue +34 -0
- package/src/components/pagination/PaginationPages.vue +43 -0
- package/src/components/pagination/PaginationPopup.vue +92 -0
- package/src/components/pagination/PaginationSize.vue +30 -0
- package/src/components/pagination/composables/usePagination.ts +76 -0
- package/src/components/pagination/composables/usePaginationEllipsis.ts +269 -0
- package/src/components/pagination/composables/usePaginationJump.ts +23 -0
- package/src/components/pagination/composables/usePaginationPageTooltip.ts +23 -0
- package/src/components/pagination/composables/usePaginationWindow.ts +116 -0
- package/src/components/pagination/context.ts +23 -0
- package/src/components/pagination/pagination.variants.ts +32 -0
- package/src/components/pagination/types.ts +19 -0
- package/src/components/pagination/utils/ranges.ts +12 -0
- package/src/components/popover/Popover.vue +17 -7
- package/src/components/range-slider/RangeSlider.vue +6 -0
- package/src/components/sheet/Sheet.vue +67 -24
- package/src/components/sheet/sheet.variants.ts +17 -4
- package/src/components/slider/Slider.vue +6 -0
- package/src/components/slider/slider.variants.ts +1 -0
- package/src/components/tooltip/Tooltip.vue +10 -33
- package/src/components/tooltip/TooltipBubble.vue +36 -0
- package/src/components/tooltip/TooltipDirectiveRoot.ts +61 -0
- package/src/components/tooltip/composables/useTooltipTarget.ts +56 -0
- package/src/components/tooltip/directive.ts +54 -0
- package/src/components/tooltip/types.ts +15 -0
- package/src/components/tooltip/utils/directiveContext.ts +32 -0
- package/src/components/tree-select/TreeSelect.vue +90 -61
- package/src/components/tree-select/TreeSelectSearch.vue +48 -0
- package/src/components/tree-select/composables/useTreeSelect.ts +130 -0
- package/src/components/tree-select/tree-select.variants.ts +2 -2
- package/src/components/tree-select/utils/filterTree.ts +19 -0
- package/src/index.ts +10 -1
- package/src/lib/anchored-overlay.ts +28 -19
- package/src/lib/overlay-anchor.ts +65 -0
- package/src/lib/overlay-positioner.ts +25 -0
- package/src/lib/pointer-corridor.ts +26 -0
- package/src/lib/scroll-viewport.ts +8 -0
- package/src/lib/useDirection.ts +31 -0
- package/src/locale/en-US.ts +15 -1
- package/src/locale/index.ts +1 -0
- package/src/locale/types.ts +13 -0
- package/src/locale/zh-CN.ts +15 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const pagination: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
align: {
|
|
3
|
+
start: "justify-start";
|
|
4
|
+
center: "justify-center";
|
|
5
|
+
end: "justify-end";
|
|
6
|
+
between: "justify-between";
|
|
7
|
+
};
|
|
8
|
+
}, undefined, "flex w-full shrink-0 flex-wrap items-center gap-x-4 gap-y-3", {
|
|
9
|
+
align: {
|
|
10
|
+
start: "justify-start";
|
|
11
|
+
center: "justify-center";
|
|
12
|
+
end: "justify-end";
|
|
13
|
+
between: "justify-between";
|
|
14
|
+
};
|
|
15
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
16
|
+
align: {
|
|
17
|
+
start: "justify-start";
|
|
18
|
+
center: "justify-center";
|
|
19
|
+
end: "justify-end";
|
|
20
|
+
between: "justify-between";
|
|
21
|
+
};
|
|
22
|
+
}, undefined>>;
|
|
23
|
+
export declare const paginationList: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative isolate flex max-w-full flex-wrap items-center gap-1", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
24
|
+
export declare const paginationItem: import("tailwind-variants").TVReturnType<{
|
|
25
|
+
size: {
|
|
26
|
+
sm: "size-[var(--hn-control-h-sm)]";
|
|
27
|
+
md: "size-[var(--hn-control-h-md)]";
|
|
28
|
+
lg: "size-[var(--hn-control-h-lg)]";
|
|
29
|
+
};
|
|
30
|
+
selected: {
|
|
31
|
+
true: "bg-accent text-accent-on";
|
|
32
|
+
};
|
|
33
|
+
}, undefined, "min-w-0 px-0 tabular-nums [&>span]:min-w-0", {
|
|
34
|
+
size: {
|
|
35
|
+
sm: "size-[var(--hn-control-h-sm)]";
|
|
36
|
+
md: "size-[var(--hn-control-h-md)]";
|
|
37
|
+
lg: "size-[var(--hn-control-h-lg)]";
|
|
38
|
+
};
|
|
39
|
+
selected: {
|
|
40
|
+
true: "bg-accent text-accent-on";
|
|
41
|
+
};
|
|
42
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
43
|
+
size: {
|
|
44
|
+
sm: "size-[var(--hn-control-h-sm)]";
|
|
45
|
+
md: "size-[var(--hn-control-h-md)]";
|
|
46
|
+
lg: "size-[var(--hn-control-h-lg)]";
|
|
47
|
+
};
|
|
48
|
+
selected: {
|
|
49
|
+
true: "bg-accent text-accent-on";
|
|
50
|
+
};
|
|
51
|
+
}, undefined>>;
|
|
52
|
+
export declare const paginationArrow: import("tailwind-variants").TVReturnType<{
|
|
53
|
+
dir: {
|
|
54
|
+
ltr: "";
|
|
55
|
+
rtl: "rotate-180";
|
|
56
|
+
};
|
|
57
|
+
}, undefined, undefined, {
|
|
58
|
+
dir: {
|
|
59
|
+
ltr: "";
|
|
60
|
+
rtl: "rotate-180";
|
|
61
|
+
};
|
|
62
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
63
|
+
dir: {
|
|
64
|
+
ltr: "";
|
|
65
|
+
rtl: "rotate-180";
|
|
66
|
+
};
|
|
67
|
+
}, undefined>>;
|
|
68
|
+
//# sourceMappingURL=pagination.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/pagination.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;cAUrB,CAAA;AAEF,eAAO,MAAM,cAAc,0NAEzB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWzB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;cAA4D,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface PaginationChange {
|
|
2
|
+
page: number;
|
|
3
|
+
pageSize: number;
|
|
4
|
+
}
|
|
5
|
+
export interface PaginationState extends PaginationChange {
|
|
6
|
+
total: number;
|
|
7
|
+
pageCount: number;
|
|
8
|
+
from: number;
|
|
9
|
+
to: number;
|
|
10
|
+
}
|
|
11
|
+
export type PaginationEntry = {
|
|
12
|
+
type: 'page';
|
|
13
|
+
value: number;
|
|
14
|
+
} | {
|
|
15
|
+
type: 'ellipsis';
|
|
16
|
+
};
|
|
17
|
+
export type PaginationSide = 'prev' | 'next';
|
|
18
|
+
export interface PaginationRange {
|
|
19
|
+
side: PaginationSide;
|
|
20
|
+
from: number;
|
|
21
|
+
to: number;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,MAAM,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAA;AACpF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAA;AAC5C,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,cAAc,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;CACX"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ranges.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagination/utils/ranges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAEhE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,eAAe,EAAE,CAS5E"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { OverlayAnchor, OverlayPositionStrategy } from '../../lib/overlay-anchor';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
anchor?:
|
|
3
|
+
anchor?: OverlayAnchor | null;
|
|
4
|
+
updatePositionStrategy?: OverlayPositionStrategy;
|
|
3
5
|
modal?: boolean;
|
|
4
6
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
5
7
|
align?: 'start' | 'center' | 'end';
|
|
@@ -35,6 +37,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
35
37
|
side: "top" | "right" | "bottom" | "left";
|
|
36
38
|
align: "start" | "center" | "end";
|
|
37
39
|
sideOffset: number;
|
|
40
|
+
updatePositionStrategy: OverlayPositionStrategy;
|
|
38
41
|
modal: boolean;
|
|
39
42
|
padded: boolean;
|
|
40
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/Popover.vue"],"names":[],"mappings":"AAqFE,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/Popover.vue"],"names":[],"mappings":"AAqFE,OAAO,KAAK,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAA;AAUtF,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,aAAa,GAAG,IAAI,CAAA;IAC7B,sBAAsB,CAAC,EAAE,uBAAuB,CAAA;IAChD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAgBJ,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,IAAI,OAAO,CAAC;IAAC,OAAO,CAAC,IAAI,OAAO,CAAA;CAAE,CAAC;AAkBlE,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAaF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAmIxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;UAzLH,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;WAClC,OAAO,GAAG,QAAQ,GAAG,KAAK;gBACrB,MAAM;4BAJM,uBAAuB;WACxC,OAAO;YAIN,OAAO;6EA0LpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeSlider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/range-slider/RangeSlider.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RangeSlider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/range-slider/RangeSlider.vue"],"names":[],"mappings":"AAkJE,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAA;AAIlC,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAuCN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA+LxD,QAAA,MAAM,YAAY;;;;;;;WAnPJ,MAAM,GAAG,QAAQ,GAAG,MAAM;SAL5B,MAAM;SADN,MAAM;UAEL,MAAM;cAEF,MAAM;6EAyPrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,32 +1,39 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
title: string;
|
|
3
3
|
description?: string;
|
|
4
|
+
header?: boolean;
|
|
5
|
+
closable?: boolean;
|
|
4
6
|
handle?: boolean;
|
|
5
7
|
locked?: boolean;
|
|
6
8
|
class?: string;
|
|
7
9
|
};
|
|
8
|
-
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
default?(): unknown;
|
|
12
|
+
icon?(): unknown;
|
|
13
|
+
title?(): unknown;
|
|
14
|
+
body?(props: {
|
|
15
|
+
close: () => void;
|
|
16
|
+
}): unknown;
|
|
17
|
+
content?(props: {
|
|
18
|
+
close: () => void;
|
|
19
|
+
}): unknown;
|
|
20
|
+
footer?(props: {
|
|
21
|
+
close: () => void;
|
|
22
|
+
}): unknown;
|
|
23
|
+
};
|
|
9
24
|
type __VLS_ModelProps = {
|
|
10
25
|
'open'?: boolean;
|
|
11
26
|
};
|
|
12
27
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
close: typeof close;
|
|
17
|
-
};
|
|
18
|
-
type __VLS_Slots = {} & {
|
|
19
|
-
default?: (props: typeof __VLS_14) => any;
|
|
20
|
-
} & {
|
|
21
|
-
content?: (props: typeof __VLS_85) => any;
|
|
22
|
-
} & {
|
|
23
|
-
footer?: (props: typeof __VLS_87) => any;
|
|
24
|
-
};
|
|
25
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
29
|
+
viewport: import("vue").ComputedRef<HTMLElement | undefined>;
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
31
|
"update:open": (value: boolean | undefined) => any;
|
|
27
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
33
|
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
29
34
|
}>, {
|
|
35
|
+
header: boolean;
|
|
36
|
+
closable: boolean;
|
|
30
37
|
handle: boolean;
|
|
31
38
|
locked: boolean;
|
|
32
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sheet/Sheet.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sheet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sheet/Sheet.vue"],"names":[],"mappings":"AA4LE,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAMJ,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,IAAI,OAAO,CAAA;IACnB,IAAI,CAAC,IAAI,OAAO,CAAA;IAChB,KAAK,CAAC,IAAI,OAAO,CAAA;IACjB,IAAI,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,OAAO,CAAA;IAC5C,OAAO,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,OAAO,CAAA;IAC/C,MAAM,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,OAAO,CAAA;CAC/C,CAAC;AA+BJ,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgZxD,QAAA,MAAM,UAAU;;;;;;;YAzcD,OAAO;cACL,OAAO;YACT,OAAO;YACP,OAAO;6EA2cpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,55 @@
|
|
|
1
|
-
export declare const sheetPanel: import("tailwind-variants").TVReturnType<{
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const sheetPanel: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
padded: {
|
|
3
|
+
true: "gap-4 pb-[max(var(--hn-panel-p),env(safe-area-inset-bottom))]";
|
|
4
|
+
};
|
|
5
|
+
grip: {
|
|
6
|
+
true: "";
|
|
7
|
+
false: "";
|
|
8
|
+
};
|
|
9
|
+
}, undefined, string[], {
|
|
10
|
+
padded: {
|
|
11
|
+
true: "gap-4 pb-[max(var(--hn-panel-p),env(safe-area-inset-bottom))]";
|
|
12
|
+
};
|
|
13
|
+
grip: {
|
|
14
|
+
true: "";
|
|
15
|
+
false: "";
|
|
16
|
+
};
|
|
17
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
18
|
+
padded: {
|
|
19
|
+
true: "gap-4 pb-[max(var(--hn-panel-p),env(safe-area-inset-bottom))]";
|
|
20
|
+
};
|
|
21
|
+
grip: {
|
|
22
|
+
true: "";
|
|
23
|
+
false: "";
|
|
24
|
+
};
|
|
25
|
+
}, undefined>>;
|
|
26
|
+
export declare const sheetGrip: import("tailwind-variants").TVReturnType<{
|
|
27
|
+
standalone: {
|
|
28
|
+
true: "py-2";
|
|
29
|
+
};
|
|
30
|
+
}, undefined, "flex shrink-0 cursor-grab touch-none flex-col select-none data-dragging:cursor-grabbing", {
|
|
31
|
+
standalone: {
|
|
32
|
+
true: "py-2";
|
|
33
|
+
};
|
|
34
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
35
|
+
standalone: {
|
|
36
|
+
true: "py-2";
|
|
37
|
+
};
|
|
38
|
+
}, undefined>>;
|
|
39
|
+
export declare const sheetHandle: import("tailwind-variants").TVReturnType<{
|
|
40
|
+
header: {
|
|
41
|
+
true: "mb-3";
|
|
42
|
+
false: "";
|
|
43
|
+
};
|
|
44
|
+
}, undefined, "bg-line-strong hn-transition-base mx-auto h-1.5 w-10 rounded-full data-disabled:opacity-50", {
|
|
45
|
+
header: {
|
|
46
|
+
true: "mb-3";
|
|
47
|
+
false: "";
|
|
48
|
+
};
|
|
49
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
50
|
+
header: {
|
|
51
|
+
true: "mb-3";
|
|
52
|
+
false: "";
|
|
53
|
+
};
|
|
54
|
+
}, undefined>>;
|
|
4
55
|
//# sourceMappingURL=sheet.variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/sheet/sheet.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"sheet.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/sheet/sheet.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;cAgBrB,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;cAGpB,CAAA;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;cAMtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/slider/Slider.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Slider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/slider/Slider.vue"],"names":[],"mappings":"AAgIE,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAA;AAI1B,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAkCN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAuKxD,QAAA,MAAM,YAAY;;;;;;;WAtNJ,MAAM,GAAG,QAAQ,GAAG,MAAM;SAJ5B,MAAM;SADN,MAAM;UAEL,MAAM;6EA6NjB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/slider/slider.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;cAYjB,CAAA;AAEF,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"slider.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/slider/slider.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;cAYjB,CAAA;AAEF,eAAO,MAAM,UAAU,mKAMrB,CAAA;AAEF,eAAO,MAAM,WAAW,0MAEtB,CAAA;AAEF,eAAO,MAAM,WAAW,mKAKtB,CAAA;AAEF,eAAO,MAAM,kBAAkB,mKAM7B,CAAA;AAEF,eAAO,MAAM,WAAW,mKAOtB,CAAA;AAEF,eAAO,MAAM,WAAW,sPAEtB,CAAA;AAEF,eAAO,MAAM,UAAU,sOAErB,CAAA;AAEF,eAAO,MAAM,gBAAgB,wOAE3B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAA"}
|
|
@@ -1,24 +1,13 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
3
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
-
align?: 'start' | 'center' | 'end';
|
|
5
|
-
sideOffset?: number;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
class?: string;
|
|
9
|
-
};
|
|
10
|
-
declare var __VLS_14: {}, __VLS_28: {};
|
|
1
|
+
import type { TooltipProps } from './types';
|
|
2
|
+
declare var __VLS_14: {}, __VLS_22: {};
|
|
11
3
|
type __VLS_Slots = {} & {
|
|
12
4
|
default?: (props: typeof __VLS_14) => any;
|
|
13
5
|
} & {
|
|
14
|
-
content?: (props: typeof
|
|
6
|
+
content?: (props: typeof __VLS_22) => any;
|
|
15
7
|
};
|
|
16
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
17
9
|
open: boolean;
|
|
18
10
|
disabled: boolean;
|
|
19
|
-
side: "top" | "right" | "bottom" | "left";
|
|
20
|
-
align: "start" | "center" | "end";
|
|
21
|
-
sideOffset: number;
|
|
22
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/Tooltip.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/Tooltip.vue"],"names":[],"mappings":"AA4BE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA6E7C,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGhD,QAAA,MAAM,UAAU;;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TooltipProps } from './types';
|
|
2
|
+
declare var __VLS_14: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_14) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
7
|
+
open: boolean;
|
|
8
|
+
side: "top" | "right" | "bottom" | "left";
|
|
9
|
+
align: "start" | "center" | "end";
|
|
10
|
+
sideOffset: number;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=TooltipBubble.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipBubble.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/TooltipBubble.vue"],"names":[],"mappings":"AAyCE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA0G7C,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { TooltipDirectiveOptions } from './types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
target: {
|
|
5
|
+
type: PropType<HTMLElement>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
options: {
|
|
9
|
+
type: PropType<TooltipDirectiveOptions>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
revision: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
target: {
|
|
20
|
+
type: PropType<HTMLElement>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
options: {
|
|
24
|
+
type: PropType<TooltipDirectiveOptions>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
revision: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export default _default;
|
|
33
|
+
//# sourceMappingURL=TooltipDirectiveRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipDirectiveRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/TooltipDirectiveRoot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AASjE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;;;cAiCxB,QAAQ,CAAC,WAAW,CAAC;;;;cACpB,QAAQ,CAAC,uBAAuB,CAAC;;;;;;;;;;;cADlC,QAAQ,CAAC,WAAW,CAAC;;;;cACpB,QAAQ,CAAC,uBAAuB,CAAC;;;;;;;;AAJhE,wBAqBE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTooltipTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/tooltip/composables/useTooltipTarget.ts"],"names":[],"mappings":"AAMA,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,WAAW,EACnB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,QAAQ,EAAE,MAAM,MAAM,QA8CvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directive.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,KAAK,eAAe,EAAE,MAAM,KAAK,CAAA;AAG7F,OAAO,KAAK,EAA2B,qBAAqB,EAAE,MAAM,SAAS,CAAA;AA2B7E,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,WAAW,EAAE,qBAAqB,CAuBxE,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface TooltipProps {
|
|
2
|
+
content?: string;
|
|
3
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
+
align?: 'start' | 'center' | 'end';
|
|
5
|
+
sideOffset?: number;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
class?: string;
|
|
9
|
+
}
|
|
10
|
+
export type TooltipDirectiveOptions = Omit<TooltipProps, 'open' | 'content'> & {
|
|
11
|
+
content: string;
|
|
12
|
+
};
|
|
13
|
+
export type TooltipDirectiveValue = string | TooltipDirectiveOptions | null | undefined | false;
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;IAC7E,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,uBAAuB,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ComponentInternalInstance } from 'vue';
|
|
2
|
+
export declare function directiveContext(owner: ComponentInternalInstance, target: HTMLElement): {
|
|
3
|
+
provides: Record<string | symbol, any>;
|
|
4
|
+
app: import("vue").App;
|
|
5
|
+
config: import("vue").AppConfig;
|
|
6
|
+
mixins: import("vue").ComponentOptions[];
|
|
7
|
+
components: Record<string, import("vue").Component>;
|
|
8
|
+
directives: Record<string, import("vue").Directive>;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=directiveContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directiveContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/tooltip/utils/directiveContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,yBAAyB,EAAc,MAAM,KAAK,CAAA;AA4B1F,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,yBAAyB,EAAE,MAAM,EAAE,WAAW;;;;;;;EAGrF"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { type InputVariants } from '../input/input.variants';
|
|
2
|
-
import {
|
|
2
|
+
import type { TreeSelectNode } from './types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
items: TreeSelectNode[];
|
|
5
5
|
placeholder?: string;
|
|
6
|
+
searchable?: boolean;
|
|
7
|
+
searchPlaceholder?: string;
|
|
6
8
|
defaultExpanded?: Array<string | number>;
|
|
7
9
|
variant?: InputVariants['variant'];
|
|
8
10
|
size?: InputVariants['size'];
|
|
@@ -18,14 +20,17 @@ type __VLS_Slots = {
|
|
|
18
20
|
type __VLS_ModelProps = {
|
|
19
21
|
modelValue?: string | number | null;
|
|
20
22
|
'open'?: boolean;
|
|
23
|
+
'search'?: string;
|
|
21
24
|
};
|
|
22
25
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
23
26
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
27
|
"update:open": (value: boolean) => any;
|
|
25
28
|
"update:modelValue": (value: string | number | null | undefined) => any;
|
|
29
|
+
"update:search": (value: string) => any;
|
|
26
30
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
31
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
28
32
|
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
33
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
29
34
|
}>, {
|
|
30
35
|
defaultExpanded: Array<string | number>;
|
|
31
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tree-select/TreeSelect.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TreeSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tree-select/TreeSelect.vue"],"names":[],"mappings":"AAmOE,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAA;AAShC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAM7C,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;IACxC,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;IAClC,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAYJ,KAAK,WAAW,GAAG;IAAE,IAAI,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,cAAc,CAAA;KAAE,GAAG,OAAO,CAAA;CAAE,CAAC;AAsCxE,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAQF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAuaxD,QAAA,MAAM,UAAU;;;;;;;;;qBA3eQ,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;6EA+e5C,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
placeholder: string;
|
|
3
|
+
controls: string;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_ModelProps = {
|
|
6
|
+
modelValue: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
10
|
+
focus: () => void | undefined;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
clear: () => any;
|
|
13
|
+
keydown: (event: KeyboardEvent) => any;
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
onClear?: (() => any) | undefined;
|
|
17
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=TreeSelectSearch.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeSelectSearch.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tree-select/TreeSelectSearch.vue"],"names":[],"mappings":"AA2DE,KAAK,WAAW,GAAG;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAY/D,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;CAClB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4HxD,QAAA,MAAM,YAAY;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type TreeSelectNode } from '../types';
|
|
3
|
+
interface TreeSelectOptions {
|
|
4
|
+
items: TreeSelectNode[];
|
|
5
|
+
defaultExpanded: Array<string | number>;
|
|
6
|
+
searchable?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function useTreeSelect(props: TreeSelectOptions, model: Ref<string | number | null | undefined>, open: Ref<boolean>, search: Ref<string>): {
|
|
9
|
+
selected: import("vue").ComputedRef<TreeSelectNode | undefined>;
|
|
10
|
+
items: import("vue").ComputedRef<TreeSelectNode[]>;
|
|
11
|
+
expanded: import("vue").WritableComputedRef<string[], string[]>;
|
|
12
|
+
input: import("vue").ShallowRef<{
|
|
13
|
+
focus: () => void;
|
|
14
|
+
} | null, {
|
|
15
|
+
focus: () => void;
|
|
16
|
+
} | null>;
|
|
17
|
+
tree: import("vue").ShallowRef<{
|
|
18
|
+
$el: HTMLElement;
|
|
19
|
+
} | null, {
|
|
20
|
+
$el: HTMLElement;
|
|
21
|
+
} | null>;
|
|
22
|
+
getChildren: (node: TreeSelectNode) => TreeSelectNode[] | undefined;
|
|
23
|
+
key: (node: TreeSelectNode) => string;
|
|
24
|
+
choose: (node: TreeSelectNode | undefined) => void;
|
|
25
|
+
keepRowClick: (event: CustomEvent<{
|
|
26
|
+
originalEvent: Event;
|
|
27
|
+
}>) => void;
|
|
28
|
+
focusSearch: (event: Event) => void;
|
|
29
|
+
clearSearch: () => void;
|
|
30
|
+
onEscape: (event: KeyboardEvent) => void;
|
|
31
|
+
onSearchKeydown: (event: KeyboardEvent) => void;
|
|
32
|
+
onTreeKeydown: (event: KeyboardEvent) => void;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=useTreeSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTreeSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/tree-select/composables/useTreeSelect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAEhE,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,UAAU,CAAA;AAGhE,UAAU,iBAAiB;IACzB,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,eAAe,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;IACvC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,wBAAgB,aAAa,CAC3B,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,EAC9C,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,EAClB,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC;;;;;eAKe,MAAM,IAAI;;eAAV,MAAM,IAAI;;;aACb,WAAW;;aAAX,WAAW;;wBAoCf,cAAc;gBAItB,cAAc;mBAIX,cAAc,GAAG,SAAS;0BAMnB,WAAW,CAAC;QAAE,aAAa,EAAE,KAAK,CAAA;KAAE,CAAC;yBAItC,KAAK;;sBAWR,aAAa;6BAYN,aAAa;2BAQf,aAAa;EAuB5C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const treeSelectContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
2
|
-
export declare const treeSelectList: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "
|
|
2
|
+
export declare const treeSelectList: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "min-h-0 max-h-80", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
3
3
|
export declare const treeSelectRow: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
4
4
|
export declare const treeSelectToggle: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
5
5
|
//# sourceMappingURL=tree-select.variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree-select.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/tree-select/tree-select.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,mKAI5B,CAAA;AAEF,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"tree-select.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/tree-select/tree-select.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,mKAI5B,CAAA;AAEF,eAAO,MAAM,cAAc,6KAEzB,CAAA;AAEF,eAAO,MAAM,aAAa,mKAOxB,CAAA;AAEF,eAAO,MAAM,gBAAgB,mKAK3B,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TreeSelectNode } from '../types';
|
|
2
|
+
export declare function filterTree(nodes: TreeSelectNode[], matches: (node: TreeSelectNode) => boolean): {
|
|
3
|
+
items: TreeSelectNode[];
|
|
4
|
+
children: Map<TreeSelectNode, TreeSelectNode[]>;
|
|
5
|
+
expanded: string[];
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=filterTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filterTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/tree-select/utils/filterTree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,OAAO;;;;EAgB7F"}
|