@leavepulse/ui 0.41.0 → 0.43.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/assets/{LpCommandPalette-DyT6aGdW.css → LpCommandPalette-s_kKuCRf.css} +21 -21
- package/dist/chunks/{LpAddressInput-CMjaPQVw.js → LpAddressInput-B-Zvxsn7.js} +1 -1
- package/dist/chunks/{LpAppShell-Bcv6EhqU.js → LpAppShell-BGQVIY-3.js} +1 -1
- package/dist/chunks/{LpConfirmDialog-BNAvOR24.js → LpConfirmDialog-Q-bxff8z.js} +1 -1
- package/dist/chunks/{LpDrawer-DgaS2s2i.js → LpDrawer-BZ6k3hvo.js} +3 -3
- package/dist/chunks/{LpLightbox-oLqyjOln.js → LpLightbox-2sYVMY-S.js} +12 -4
- package/dist/chunks/{LpMediaGallery-Cid7PGYx.js → LpMediaGallery-FF-NquIo.js} +1 -1
- package/dist/chunks/{LpModal-8bja5bWS.js → LpModal-Bt0pQCI_.js} +2 -2
- package/dist/chunks/{LpModalNav-w9kfwHqO.js → LpModalNav-YaifHrXC.js} +2 -2
- package/dist/chunks/{LpSidebar-DlTn5nXc.js → LpSidebar-ClBUwoEz.js} +1 -1
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +124 -115
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpMediaGallery.vue.js +1 -1
- package/dist/components/LpModal.vue.js +1 -1
- package/dist/components/LpModalNav.vue.js +1 -1
- package/dist/components/LpShortcutsDialog.vue.js +1 -1
- package/dist/components/LpSidebar.vue.js +1 -1
- package/dist/components/commandSearch.js +66 -0
- package/dist/components/modalDepth.js +3 -2
- package/dist/composables/useHotkeys.js +41 -21
- package/dist/index.js +13 -9
- package/package.json +3 -3
- package/src/components/LpCommandPalette.vue +81 -99
- package/src/components/LpDrawer.vue +3 -3
- package/src/components/LpLightbox.vue +11 -5
- package/src/components/LpModal.vue +2 -2
- package/src/components/commandSearch.ts +92 -0
- package/src/components/modalDepth.ts +4 -48
- package/src/composables/useHotkeys.ts +54 -33
- package/src/index.ts +2 -0
- package/src/tokens/tokens.css +13 -19
- package/dist/component-names.d.ts +0 -1
- package/dist/components/LayoutCanvas.vue.d.ts +0 -28
- package/dist/components/LayoutNode.vue.d.ts +0 -40
- package/dist/components/LpActionBar.vue.d.ts +0 -84
- package/dist/components/LpAddressInput.vue.d.ts +0 -70
- package/dist/components/LpAlert.vue.d.ts +0 -44
- package/dist/components/LpAppShell.vue.d.ts +0 -123
- package/dist/components/LpAutocomplete.vue.d.ts +0 -50
- package/dist/components/LpAvatar.vue.d.ts +0 -34
- package/dist/components/LpBadge.vue.d.ts +0 -20
- package/dist/components/LpBreadcrumbs.vue.d.ts +0 -32
- package/dist/components/LpButton.vue.d.ts +0 -113
- package/dist/components/LpCalendar.vue.d.ts +0 -29
- package/dist/components/LpCard.vue.d.ts +0 -60
- package/dist/components/LpChart.vue.d.ts +0 -130
- package/dist/components/LpCheckbox.vue.d.ts +0 -32
- package/dist/components/LpCodeBlock.vue.d.ts +0 -58
- package/dist/components/LpColorPicker.vue.d.ts +0 -124
- package/dist/components/LpCommandPalette.vue.d.ts +0 -206
- package/dist/components/LpConfirmDialog.vue.d.ts +0 -59
- package/dist/components/LpContextMenu.vue.d.ts +0 -44
- package/dist/components/LpDatePicker.vue.d.ts +0 -33
- package/dist/components/LpDisclosure.vue.d.ts +0 -47
- package/dist/components/LpDivider.vue.d.ts +0 -17
- package/dist/components/LpDrawer.vue.d.ts +0 -170
- package/dist/components/LpDropdownMenu.vue.d.ts +0 -23
- package/dist/components/LpDropzone.vue.d.ts +0 -90
- package/dist/components/LpEmptyState.vue.d.ts +0 -28
- package/dist/components/LpFileTree.vue.d.ts +0 -126
- package/dist/components/LpFileTreeNode.vue.d.ts +0 -62
- package/dist/components/LpFormField.vue.d.ts +0 -24
- package/dist/components/LpIcon.vue.d.ts +0 -8
- package/dist/components/LpImageEditor.vue.d.ts +0 -106
- package/dist/components/LpInfraNode.vue.d.ts +0 -65
- package/dist/components/LpInput.vue.d.ts +0 -80
- package/dist/components/LpLaneNode.vue.d.ts +0 -24
- package/dist/components/LpLightbox.vue.d.ts +0 -62
- package/dist/components/LpLink.vue.d.ts +0 -93
- package/dist/components/LpLogViewer.vue.d.ts +0 -153
- package/dist/components/LpMapPicker.vue.d.ts +0 -59
- package/dist/components/LpMediaGallery.vue.d.ts +0 -80
- package/dist/components/LpModal.vue.d.ts +0 -66
- package/dist/components/LpModalNav.vue.d.ts +0 -66
- package/dist/components/LpNotificationBell.vue.d.ts +0 -85
- package/dist/components/LpNumberField.vue.d.ts +0 -21
- package/dist/components/LpNumberFlow.vue.d.ts +0 -35
- package/dist/components/LpOtpInput.vue.d.ts +0 -39
- package/dist/components/LpPagination.vue.d.ts +0 -35
- package/dist/components/LpPasswordInput.vue.d.ts +0 -36
- package/dist/components/LpPhoneInput.vue.d.ts +0 -49
- package/dist/components/LpPie.vue.d.ts +0 -196
- package/dist/components/LpPopover.vue.d.ts +0 -34
- package/dist/components/LpProgress.vue.d.ts +0 -66
- package/dist/components/LpRadio.vue.d.ts +0 -18
- package/dist/components/LpRadioGroup.vue.d.ts +0 -26
- package/dist/components/LpRollingText.vue.d.ts +0 -33
- package/dist/components/LpScrollArea.vue.d.ts +0 -28
- package/dist/components/LpSection.vue.d.ts +0 -120
- package/dist/components/LpSegmented.vue.d.ts +0 -30
- package/dist/components/LpSelect.vue.d.ts +0 -47
- package/dist/components/LpServiceNode.vue.d.ts +0 -14
- package/dist/components/LpShift.vue.d.ts +0 -36
- package/dist/components/LpShortcutsDialog.vue.d.ts +0 -24
- package/dist/components/LpSidebar.vue.d.ts +0 -146
- package/dist/components/LpSidebarNav.vue.d.ts +0 -54
- package/dist/components/LpSkeleton.vue.d.ts +0 -16
- package/dist/components/LpSlider.vue.d.ts +0 -30
- package/dist/components/LpSparkline.vue.d.ts +0 -48
- package/dist/components/LpStat.vue.d.ts +0 -69
- package/dist/components/LpStepper.vue.d.ts +0 -36
- package/dist/components/LpSwitch.vue.d.ts +0 -42
- package/dist/components/LpTable.vue.d.ts +0 -124
- package/dist/components/LpTableOfContents.vue.d.ts +0 -19
- package/dist/components/LpTabs.vue.d.ts +0 -47
- package/dist/components/LpTextarea.vue.d.ts +0 -22
- package/dist/components/LpThemeSwitcher.vue.d.ts +0 -47
- package/dist/components/LpTilt.vue.d.ts +0 -31
- package/dist/components/LpTimeField.vue.d.ts +0 -24
- package/dist/components/LpToaster.vue.d.ts +0 -3
- package/dist/components/LpTooltip.vue.d.ts +0 -58
- package/dist/components/LpTopologyCanvas.vue.d.ts +0 -205
- package/dist/components/LpUptimeBar.vue.d.ts +0 -46
- package/dist/components/LpWaypointEdge.vue.d.ts +0 -21
- package/dist/components/actionBar.d.ts +0 -19
- package/dist/components/address.d.ts +0 -107
- package/dist/components/chart.d.ts +0 -180
- package/dist/components/codeHighlight.d.ts +0 -8
- package/dist/components/color.d.ts +0 -65
- package/dist/components/countries-data.d.ts +0 -2
- package/dist/components/countries.d.ts +0 -20
- package/dist/components/dropdown.d.ts +0 -29
- package/dist/components/fileTree.d.ts +0 -79
- package/dist/components/lightbox.d.ts +0 -24
- package/dist/components/modalDepth.d.ts +0 -15
- package/dist/components/sidebar.d.ts +0 -42
- package/dist/composables/easing.d.ts +0 -46
- package/dist/composables/useAsyncTask.d.ts +0 -18
- package/dist/composables/useClipboard.d.ts +0 -46
- package/dist/composables/useFormDraft.d.ts +0 -67
- package/dist/composables/useGlass.d.ts +0 -9
- package/dist/composables/useHotkeys.d.ts +0 -99
- package/dist/composables/useInputFilter.d.ts +0 -14
- package/dist/composables/useMergedClass.d.ts +0 -42
- package/dist/composables/usePillTransition.d.ts +0 -21
- package/dist/composables/useReveal.d.ts +0 -26
- package/dist/composables/useRovingFocus.d.ts +0 -49
- package/dist/composables/useSettled.d.ts +0 -26
- package/dist/composables/useShift.d.ts +0 -35
- package/dist/composables/useTilt.d.ts +0 -23
- package/dist/composables/useToast.d.ts +0 -41
- package/dist/composables/useZoomPan.d.ts +0 -58
- package/dist/icons.d.ts +0 -1
- package/dist/index.d.ts +0 -160
- package/dist/layout/registry.d.ts +0 -26
- package/dist/layout/tree.d.ts +0 -75
- package/dist/layout/useLayout.d.ts +0 -39
- package/dist/theme/backdrop.d.ts +0 -9
- package/dist/theme/config.d.ts +0 -16
- package/dist/theme/define.d.ts +0 -12
- package/dist/theme/presets.d.ts +0 -20
- package/dist/theme/tokens.d.ts +0 -75
- package/dist/theme/useTheme.d.ts +0 -46
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
open?: boolean;
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
/**
|
|
6
|
-
* Max content width preset. sm≈24rem … xl≈42rem, 2xl≈56rem, 3xl≈72rem,
|
|
7
|
-
* full≈96vw (near-fullscreen, for dense catalogues).
|
|
8
|
-
*/
|
|
9
|
-
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
10
|
-
/** Explicit width override (any CSS length), wins over `size`. */
|
|
11
|
-
width?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Let the body fill the available height as a flex column instead of
|
|
14
|
-
* scrolling itself. Use for dense dashboards that own their inner scroll
|
|
15
|
-
* regions (e.g. multi-pane catalogues) — the panes scroll, not the modal.
|
|
16
|
-
*/
|
|
17
|
-
fillBody?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Where the keyboard lands when the dialog opens. Default `"auto"` picks
|
|
20
|
-
* the first meaningful control in the body — a field to type in, or failing
|
|
21
|
-
* that the primary action — instead of the close button, which is what
|
|
22
|
-
* happens if the DOM order is left to decide.
|
|
23
|
-
*
|
|
24
|
-
* `"none"` leaves reka's own behaviour alone; pass a CSS selector to name
|
|
25
|
-
* the element yourself.
|
|
26
|
-
*/
|
|
27
|
-
autoFocus?: "auto" | "none" | string;
|
|
28
|
-
/**
|
|
29
|
-
* Frosted glass instead of a solid panel: the page shows through,
|
|
30
|
-
* blurred, under a lighter scrim (.lp-glass-overlay, .lp-scrim--light).
|
|
31
|
-
* A look, not a behaviour, so it is the app's call: unset follows
|
|
32
|
-
* `provideGlass`, and without one it is off.
|
|
33
|
-
*/
|
|
34
|
-
glass?: boolean;
|
|
35
|
-
};
|
|
36
|
-
declare var __VLS_31: {}, __VLS_39: {}, __VLS_58: {}, __VLS_66: {}, __VLS_68: {}, __VLS_70: {};
|
|
37
|
-
type __VLS_Slots = {} & {
|
|
38
|
-
aside?: (props: typeof __VLS_31) => any;
|
|
39
|
-
} & {
|
|
40
|
-
title?: (props: typeof __VLS_39) => any;
|
|
41
|
-
} & {
|
|
42
|
-
default?: (props: typeof __VLS_58) => any;
|
|
43
|
-
} & {
|
|
44
|
-
default?: (props: typeof __VLS_66) => any;
|
|
45
|
-
} & {
|
|
46
|
-
footer?: (props: typeof __VLS_68) => any;
|
|
47
|
-
} & {
|
|
48
|
-
asideEnd?: (props: typeof __VLS_70) => any;
|
|
49
|
-
};
|
|
50
|
-
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
51
|
-
"update:open": (value: boolean) => any;
|
|
52
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
53
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
54
|
-
}>, {
|
|
55
|
-
size: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
56
|
-
autoFocus: "auto" | "none" | string;
|
|
57
|
-
glass: boolean;
|
|
58
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
59
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
60
|
-
declare const _default: typeof __VLS_export;
|
|
61
|
-
export default _default;
|
|
62
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
63
|
-
new (): {
|
|
64
|
-
$slots: S;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { SidebarItem, SidebarSection } from './sidebar';
|
|
2
|
-
export type { SidebarItem, SidebarSection } from './sidebar';
|
|
3
|
-
type Breakpoint = "sm" | "md" | "lg" | "xl";
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
-
open?: boolean;
|
|
6
|
-
/** Active section id (v-model). */
|
|
7
|
-
modelValue?: string;
|
|
8
|
-
/** Flat sections, or grouped ones — the shapes LpSidebar already takes. */
|
|
9
|
-
items?: SidebarItem[];
|
|
10
|
-
sections?: SidebarSection[];
|
|
11
|
-
title?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
14
|
-
width?: string;
|
|
15
|
-
/** Width of the nav rail (any CSS length). */
|
|
16
|
-
navWidth?: string;
|
|
17
|
-
/** Put a filter above the nav — see LpSidebar's `searchable`. */
|
|
18
|
-
searchable?: boolean;
|
|
19
|
-
searchPlaceholder?: string;
|
|
20
|
-
/** Skeleton rows in place of the nav while the sections load. */
|
|
21
|
-
loading?: boolean;
|
|
22
|
-
/** Breakpoint below which the rail becomes a drawer. */
|
|
23
|
-
mobileBreakpoint?: Breakpoint;
|
|
24
|
-
/** Label for the button that opens that drawer. */
|
|
25
|
-
navLabel?: string;
|
|
26
|
-
/** Stand the rail to the right of the dialog instead of the left. */
|
|
27
|
-
navSide?: "start" | "end";
|
|
28
|
-
/**
|
|
29
|
-
* Let the body fill the height instead of scrolling itself. Off by default,
|
|
30
|
-
* as in a plain modal: it existed here to make the rail a full-height
|
|
31
|
-
* column inside the body, and the rail is no longer in the body.
|
|
32
|
-
*/
|
|
33
|
-
fillBody?: boolean;
|
|
34
|
-
/** Frosted glass panel, passed to LpModal. Follows `provideGlass` when unset. */
|
|
35
|
-
glass?: boolean;
|
|
36
|
-
};
|
|
37
|
-
declare var __VLS_36: {}, __VLS_38: {}, __VLS_41: {};
|
|
38
|
-
type __VLS_Slots = {} & {
|
|
39
|
-
title?: (props: typeof __VLS_36) => any;
|
|
40
|
-
} & {
|
|
41
|
-
default?: (props: typeof __VLS_38) => any;
|
|
42
|
-
} & {
|
|
43
|
-
footer?: (props: typeof __VLS_41) => any;
|
|
44
|
-
};
|
|
45
|
-
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
46
|
-
"update:modelValue": (value: string) => any;
|
|
47
|
-
"update:open": (value: boolean) => any;
|
|
48
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
49
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
50
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
51
|
-
}>, {
|
|
52
|
-
size: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
53
|
-
glass: boolean;
|
|
54
|
-
mobileBreakpoint: Breakpoint;
|
|
55
|
-
navWidth: string;
|
|
56
|
-
navLabel: string;
|
|
57
|
-
navSide: "start" | "end";
|
|
58
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
59
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
60
|
-
declare const _default: typeof __VLS_export;
|
|
61
|
-
export default _default;
|
|
62
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
63
|
-
new (): {
|
|
64
|
-
$slots: S;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { ContextMenuItemDef } from './LpContextMenu.vue';
|
|
2
|
-
export interface NotificationItem {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
body?: string;
|
|
6
|
-
/** Optional icon name (e.g. "lucide:check-circle"). */
|
|
7
|
-
icon?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Colours the row's icon by what KIND of notification it is — a billing
|
|
10
|
-
* notice and a security one should not look alike at a glance.
|
|
11
|
-
*
|
|
12
|
-
* A named tone rather than a class, so the categories stay themeable:
|
|
13
|
-
* consumers were mapping their own types onto raw palette classes, which is
|
|
14
|
-
* the one place a theme cannot follow them.
|
|
15
|
-
*/
|
|
16
|
-
tone?: "brand" | "action" | "danger" | "accent" | "muted";
|
|
17
|
-
/** Optional deep link; the row becomes clickable when set. */
|
|
18
|
-
link?: string;
|
|
19
|
-
/** ISO-8601 creation time; rendered as a relative label. */
|
|
20
|
-
createdAt?: string;
|
|
21
|
-
/** Whether the notification has been read. */
|
|
22
|
-
read?: boolean;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Every user-facing string the bell renders on its own. Apps with i18n pass
|
|
26
|
-
* their translations in; the English defaults keep the component usable bare.
|
|
27
|
-
* Without this the header/row menus would be hardcoded English in every locale.
|
|
28
|
-
*/
|
|
29
|
-
export interface NotificationLabels {
|
|
30
|
-
title?: string;
|
|
31
|
-
markAllRead?: string;
|
|
32
|
-
clear?: string;
|
|
33
|
-
markAsRead?: string;
|
|
34
|
-
markAsUnread?: string;
|
|
35
|
-
open?: string;
|
|
36
|
-
dismiss?: string;
|
|
37
|
-
empty?: string;
|
|
38
|
-
ariaLabel?: string;
|
|
39
|
-
}
|
|
40
|
-
type __VLS_Props = {
|
|
41
|
-
items?: NotificationItem[];
|
|
42
|
-
/** Unread count for the badge; falls back to counting unread items. */
|
|
43
|
-
unreadCount?: number;
|
|
44
|
-
loading?: boolean;
|
|
45
|
-
emptyLabel?: string;
|
|
46
|
-
title?: string;
|
|
47
|
-
/** Cap the badge display (e.g. "9+"). */
|
|
48
|
-
maxBadge?: number;
|
|
49
|
-
/** Right-click menu items; overrides the built-in quick actions. */
|
|
50
|
-
menuItems?: ContextMenuItemDef[];
|
|
51
|
-
/** Translations for the strings the bell renders itself. */
|
|
52
|
-
labels?: NotificationLabels;
|
|
53
|
-
/**
|
|
54
|
-
* Formats `item.createdAt` for display. Defaults to a compact English
|
|
55
|
-
* relative time ("just now", "5m", "3h"); pass your own to localise it.
|
|
56
|
-
*/
|
|
57
|
-
formatTime?: (iso: string) => string;
|
|
58
|
-
};
|
|
59
|
-
type __VLS_ModelProps = {
|
|
60
|
-
"open"?: boolean;
|
|
61
|
-
};
|
|
62
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
63
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
-
"update:open": (value: boolean) => any;
|
|
65
|
-
} & {
|
|
66
|
-
clear: () => any;
|
|
67
|
-
select: (item: NotificationItem) => any;
|
|
68
|
-
dismiss: (id: string) => any;
|
|
69
|
-
markRead: (id: string) => any;
|
|
70
|
-
markUnread: (id: string) => any;
|
|
71
|
-
markAllRead: () => any;
|
|
72
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
73
|
-
onClear?: (() => any) | undefined;
|
|
74
|
-
onSelect?: ((item: NotificationItem) => any) | undefined;
|
|
75
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
76
|
-
onDismiss?: ((id: string) => any) | undefined;
|
|
77
|
-
onMarkRead?: ((id: string) => any) | undefined;
|
|
78
|
-
onMarkUnread?: ((id: string) => any) | undefined;
|
|
79
|
-
onMarkAllRead?: (() => any) | undefined;
|
|
80
|
-
}>, {
|
|
81
|
-
items: NotificationItem[];
|
|
82
|
-
maxBadge: number;
|
|
83
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
84
|
-
declare const _default: typeof __VLS_export;
|
|
85
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
4
|
-
modelValue?: number | null;
|
|
5
|
-
min?: number;
|
|
6
|
-
max?: number;
|
|
7
|
-
step?: number;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
unit?: string;
|
|
10
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
-
"update:modelValue": (value: number | null) => any;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
-
modelValue?: number | null;
|
|
14
|
-
min?: number;
|
|
15
|
-
max?: number;
|
|
16
|
-
step?: number;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
unit?: string;
|
|
19
|
-
}> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
value: number;
|
|
3
|
-
/** Travel time in ms. Distance changes the feel, not the duration. */
|
|
4
|
-
duration?: number;
|
|
5
|
-
/** Fixed decimal places. Ignored under `compact`. */
|
|
6
|
-
decimals?: number;
|
|
7
|
-
/**
|
|
8
|
-
* Abbreviate large numbers — 1.2k, 3.4M. Off by default: an exact figure
|
|
9
|
-
* should stay exact unless asked otherwise.
|
|
10
|
-
*/
|
|
11
|
-
compact?: boolean;
|
|
12
|
-
/** Thousands separators. Ignored under `compact`. */
|
|
13
|
-
grouped?: boolean;
|
|
14
|
-
prefix?: string;
|
|
15
|
-
suffix?: string;
|
|
16
|
-
/** Custom formatter; overrides compact/decimals/grouped entirely. */
|
|
17
|
-
format?: (v: number) => string;
|
|
18
|
-
/** Start from 0 on first render rather than showing the value outright. */
|
|
19
|
-
animateOnMount?: boolean;
|
|
20
|
-
locale?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Force the roll direction: "up" and "down" make every column travel the
|
|
23
|
-
* same way regardless of the digit, which reads as one mechanism turning.
|
|
24
|
-
* "auto" lets each column take the shorter route.
|
|
25
|
-
*/
|
|
26
|
-
trend?: "auto" | "up" | "down";
|
|
27
|
-
};
|
|
28
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
|
-
duration: number;
|
|
30
|
-
decimals: number;
|
|
31
|
-
animateOnMount: boolean;
|
|
32
|
-
trend: "auto" | "up" | "down";
|
|
33
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
|
-
declare const _default: typeof __VLS_export;
|
|
35
|
-
export default _default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
4
|
-
/** The code as one string, e.g. "123456". Bind with v-model. */
|
|
5
|
-
modelValue?: string;
|
|
6
|
-
/** Number of cells. */
|
|
7
|
-
length?: number;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
/** Mask entered characters (•) — for sensitive codes. */
|
|
10
|
-
mask?: boolean;
|
|
11
|
-
/** Allow letters too (backup codes). Default: digits only (TOTP). */
|
|
12
|
-
alphanumeric?: boolean;
|
|
13
|
-
/** Error state — tints the cells red (e.g. wrong code). */
|
|
14
|
-
invalid?: boolean;
|
|
15
|
-
size?: "sm" | "md" | "lg";
|
|
16
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
-
"update:modelValue": (value: string) => any;
|
|
18
|
-
complete: (value: string) => any;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
20
|
-
/** The code as one string, e.g. "123456". Bind with v-model. */
|
|
21
|
-
modelValue?: string;
|
|
22
|
-
/** Number of cells. */
|
|
23
|
-
length?: number;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/** Mask entered characters (•) — for sensitive codes. */
|
|
26
|
-
mask?: boolean;
|
|
27
|
-
/** Allow letters too (backup codes). Default: digits only (TOTP). */
|
|
28
|
-
alphanumeric?: boolean;
|
|
29
|
-
/** Error state — tints the cells red (e.g. wrong code). */
|
|
30
|
-
invalid?: boolean;
|
|
31
|
-
size?: "sm" | "md" | "lg";
|
|
32
|
-
}> & Readonly<{
|
|
33
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
34
|
-
onComplete?: ((value: string) => any) | undefined;
|
|
35
|
-
}>, {
|
|
36
|
-
size: "sm" | "md" | "lg";
|
|
37
|
-
length: number;
|
|
38
|
-
alphanumeric: boolean;
|
|
39
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
4
|
-
/** Current page, 1-based (v-model:page). */
|
|
5
|
-
page?: number;
|
|
6
|
-
/** Total item count — used with pageSize to derive the page count. */
|
|
7
|
-
total?: number;
|
|
8
|
-
pageSize?: number;
|
|
9
|
-
/** Direct page count; wins over total/pageSize when given. */
|
|
10
|
-
pageCount?: number;
|
|
11
|
-
/** Pages shown on each side of the current one in the inner run. */
|
|
12
|
-
siblings?: number;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
-
change: (value: number) => any;
|
|
16
|
-
"update:page": (value: number) => any;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
18
|
-
/** Current page, 1-based (v-model:page). */
|
|
19
|
-
page?: number;
|
|
20
|
-
/** Total item count — used with pageSize to derive the page count. */
|
|
21
|
-
total?: number;
|
|
22
|
-
pageSize?: number;
|
|
23
|
-
/** Direct page count; wins over total/pageSize when given. */
|
|
24
|
-
pageCount?: number;
|
|
25
|
-
/** Pages shown on each side of the current one in the inner run. */
|
|
26
|
-
siblings?: number;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
}> & Readonly<{
|
|
29
|
-
onChange?: ((value: number) => any) | undefined;
|
|
30
|
-
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
31
|
-
}>, {
|
|
32
|
-
page: number;
|
|
33
|
-
pageSize: number;
|
|
34
|
-
siblings: number;
|
|
35
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
4
|
-
modelValue?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
invalid?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
label?: string;
|
|
9
|
-
hint?: string;
|
|
10
|
-
error?: string;
|
|
11
|
-
required?: boolean;
|
|
12
|
-
}, {
|
|
13
|
-
focus: (options?: FocusOptions) => void | undefined;
|
|
14
|
-
blur: () => void | undefined;
|
|
15
|
-
select: () => void | undefined;
|
|
16
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
-
"update:modelValue": (value: string) => any;
|
|
18
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
19
|
-
modelValue?: string;
|
|
20
|
-
placeholder?: string;
|
|
21
|
-
invalid?: boolean;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
label?: string;
|
|
24
|
-
hint?: string;
|
|
25
|
-
error?: string;
|
|
26
|
-
required?: boolean;
|
|
27
|
-
}> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
30
|
-
leading?: (props: {}) => any;
|
|
31
|
-
}>;
|
|
32
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Country } from './countries';
|
|
2
|
-
export interface PhoneDetail {
|
|
3
|
-
/** Matched country, or undefined when the prefix matches none. */
|
|
4
|
-
country?: Country;
|
|
5
|
-
/** Dial code without "+", e.g. "380". Empty if unknown. */
|
|
6
|
-
dialCode: string;
|
|
7
|
-
/** National part (digits after the dial code). */
|
|
8
|
-
number: string;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: typeof __VLS_export;
|
|
11
|
-
export default _default;
|
|
12
|
-
declare const __VLS_export: import('vue').DefineComponent<{
|
|
13
|
-
/** Full phone string, e.g. "+380501234567". Bind with v-model. */
|
|
14
|
-
modelValue?: string;
|
|
15
|
-
/** Restrict the country list (ISO2 codes). Omit for all countries. */
|
|
16
|
-
only?: string[];
|
|
17
|
-
/** Default country (ISO2) used when the field is empty. */
|
|
18
|
-
defaultCountry?: string;
|
|
19
|
-
placeholder?: string;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
invalid?: boolean;
|
|
22
|
-
size?: "sm" | "md" | "lg";
|
|
23
|
-
emptyText?: string;
|
|
24
|
-
searchPlaceholder?: string;
|
|
25
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
26
|
-
change: (detail: PhoneDetail) => any;
|
|
27
|
-
"update:modelValue": (value: string) => any;
|
|
28
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
29
|
-
/** Full phone string, e.g. "+380501234567". Bind with v-model. */
|
|
30
|
-
modelValue?: string;
|
|
31
|
-
/** Restrict the country list (ISO2 codes). Omit for all countries. */
|
|
32
|
-
only?: string[];
|
|
33
|
-
/** Default country (ISO2) used when the field is empty. */
|
|
34
|
-
defaultCountry?: string;
|
|
35
|
-
placeholder?: string;
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
invalid?: boolean;
|
|
38
|
-
size?: "sm" | "md" | "lg";
|
|
39
|
-
emptyText?: string;
|
|
40
|
-
searchPlaceholder?: string;
|
|
41
|
-
}> & Readonly<{
|
|
42
|
-
onChange?: ((detail: PhoneDetail) => any) | undefined;
|
|
43
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
44
|
-
}>, {
|
|
45
|
-
size: "sm" | "md" | "lg";
|
|
46
|
-
placeholder: string;
|
|
47
|
-
emptyText: string;
|
|
48
|
-
searchPlaceholder: string;
|
|
49
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { PieSlice } from './chart';
|
|
2
|
-
import { ContextMenuItemDef } from './LpContextMenu.vue';
|
|
3
|
-
/** A slice, as reported by every interaction event. */
|
|
4
|
-
export interface SliceEvent {
|
|
5
|
-
index: number;
|
|
6
|
-
label: string;
|
|
7
|
-
value: number;
|
|
8
|
-
isOther: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: typeof __VLS_export;
|
|
11
|
-
export default _default;
|
|
12
|
-
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
13
|
-
slices: PieSlice[];
|
|
14
|
-
type?: "pie" | "donut";
|
|
15
|
-
/** Outer diameter in px. */
|
|
16
|
-
size?: number;
|
|
17
|
-
/** Donut only: hole diameter as a fraction of the outer radius (0–1). */
|
|
18
|
-
innerRatio?: number;
|
|
19
|
-
title?: string;
|
|
20
|
-
subtitle?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Keep the largest N-1 slices and sum the rest into "Other". `0` disables
|
|
23
|
-
* the fold and draws every slice — for a caller that knows its data is
|
|
24
|
-
* already few, or that would rather show a crowded circle than a bucket.
|
|
25
|
-
*/
|
|
26
|
-
maxSlices?: number;
|
|
27
|
-
/** Label for the folded remainder. */
|
|
28
|
-
otherLabel?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Draw the slices largest-first instead of in the order given. Ranking
|
|
31
|
-
* always decides which slices survive `maxSlices`; this decides whether it
|
|
32
|
-
* also reorders them.
|
|
33
|
-
*/
|
|
34
|
-
sortBySize?: boolean;
|
|
35
|
-
/** Appended to values in the legend and tooltip, e.g. " GB". */
|
|
36
|
-
unit?: string;
|
|
37
|
-
/** Custom value formatter; overrides the compact 1.2k default. */
|
|
38
|
-
formatValue?: (v: number) => string;
|
|
39
|
-
/**
|
|
40
|
-
* Name the slices with leader lines around the circle instead of a legend
|
|
41
|
-
* beside it. Better when the labels are long and self-explanatory (versions,
|
|
42
|
-
* hostnames) and the reader wants share-per-name without cross-referencing a
|
|
43
|
-
* colour; the legend stays better for short, repeated categories.
|
|
44
|
-
*/
|
|
45
|
-
labels?: boolean;
|
|
46
|
-
/** Callout width reserved for text on each side, in px. */
|
|
47
|
-
labelWidth?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Defaults to true, except in `labels` mode — callouts already name every
|
|
50
|
-
* slice, and a legend beside them says the same thing twice. Set it
|
|
51
|
-
* explicitly to have both.
|
|
52
|
-
*/
|
|
53
|
-
showLegend?: boolean;
|
|
54
|
-
/** Print each slice's percentage next to its legend entry. */
|
|
55
|
-
showPercent?: boolean;
|
|
56
|
-
/** Donut only: print the total in the hole. Ignored when #center is used. */
|
|
57
|
-
showTotal?: boolean;
|
|
58
|
-
/** Gap between slices in degrees — reads as separate parts, not one disc. */
|
|
59
|
-
padAngle?: number;
|
|
60
|
-
/** Corner radius of each slice in px. 0 for hard edges. */
|
|
61
|
-
cornerRadius?: number;
|
|
62
|
-
/** How far the hovered slice lifts out of the circle, in px. */
|
|
63
|
-
hoverOffset?: number;
|
|
64
|
-
/**
|
|
65
|
-
* Sweep the circle open, clockwise from twelve, when it first comes into
|
|
66
|
-
* view. Turn it off where several are drawn at once and the sweeps would
|
|
67
|
-
* compete rather than read as one arrival.
|
|
68
|
-
*/
|
|
69
|
-
animate?: boolean;
|
|
70
|
-
/** Sweep time in ms. */
|
|
71
|
-
duration?: number;
|
|
72
|
-
/**
|
|
73
|
-
* Right-click menu, built from the slice that was hit and the whole current
|
|
74
|
-
* selection — so an action can apply to one slice or to all the picked ones.
|
|
75
|
-
*/
|
|
76
|
-
menuItems?: (slice: SliceEvent, selection: SliceEvent[]) => ContextMenuItemDef[];
|
|
77
|
-
emptyLabel?: string;
|
|
78
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
79
|
-
sliceClick: (payload: SliceEvent) => any;
|
|
80
|
-
selectionChange: (payload: SliceEvent[]) => any;
|
|
81
|
-
sliceContextMenu: (payload: SliceEvent) => any;
|
|
82
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
83
|
-
slices: PieSlice[];
|
|
84
|
-
type?: "pie" | "donut";
|
|
85
|
-
/** Outer diameter in px. */
|
|
86
|
-
size?: number;
|
|
87
|
-
/** Donut only: hole diameter as a fraction of the outer radius (0–1). */
|
|
88
|
-
innerRatio?: number;
|
|
89
|
-
title?: string;
|
|
90
|
-
subtitle?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Keep the largest N-1 slices and sum the rest into "Other". `0` disables
|
|
93
|
-
* the fold and draws every slice — for a caller that knows its data is
|
|
94
|
-
* already few, or that would rather show a crowded circle than a bucket.
|
|
95
|
-
*/
|
|
96
|
-
maxSlices?: number;
|
|
97
|
-
/** Label for the folded remainder. */
|
|
98
|
-
otherLabel?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Draw the slices largest-first instead of in the order given. Ranking
|
|
101
|
-
* always decides which slices survive `maxSlices`; this decides whether it
|
|
102
|
-
* also reorders them.
|
|
103
|
-
*/
|
|
104
|
-
sortBySize?: boolean;
|
|
105
|
-
/** Appended to values in the legend and tooltip, e.g. " GB". */
|
|
106
|
-
unit?: string;
|
|
107
|
-
/** Custom value formatter; overrides the compact 1.2k default. */
|
|
108
|
-
formatValue?: (v: number) => string;
|
|
109
|
-
/**
|
|
110
|
-
* Name the slices with leader lines around the circle instead of a legend
|
|
111
|
-
* beside it. Better when the labels are long and self-explanatory (versions,
|
|
112
|
-
* hostnames) and the reader wants share-per-name without cross-referencing a
|
|
113
|
-
* colour; the legend stays better for short, repeated categories.
|
|
114
|
-
*/
|
|
115
|
-
labels?: boolean;
|
|
116
|
-
/** Callout width reserved for text on each side, in px. */
|
|
117
|
-
labelWidth?: number;
|
|
118
|
-
/**
|
|
119
|
-
* Defaults to true, except in `labels` mode — callouts already name every
|
|
120
|
-
* slice, and a legend beside them says the same thing twice. Set it
|
|
121
|
-
* explicitly to have both.
|
|
122
|
-
*/
|
|
123
|
-
showLegend?: boolean;
|
|
124
|
-
/** Print each slice's percentage next to its legend entry. */
|
|
125
|
-
showPercent?: boolean;
|
|
126
|
-
/** Donut only: print the total in the hole. Ignored when #center is used. */
|
|
127
|
-
showTotal?: boolean;
|
|
128
|
-
/** Gap between slices in degrees — reads as separate parts, not one disc. */
|
|
129
|
-
padAngle?: number;
|
|
130
|
-
/** Corner radius of each slice in px. 0 for hard edges. */
|
|
131
|
-
cornerRadius?: number;
|
|
132
|
-
/** How far the hovered slice lifts out of the circle, in px. */
|
|
133
|
-
hoverOffset?: number;
|
|
134
|
-
/**
|
|
135
|
-
* Sweep the circle open, clockwise from twelve, when it first comes into
|
|
136
|
-
* view. Turn it off where several are drawn at once and the sweeps would
|
|
137
|
-
* compete rather than read as one arrival.
|
|
138
|
-
*/
|
|
139
|
-
animate?: boolean;
|
|
140
|
-
/** Sweep time in ms. */
|
|
141
|
-
duration?: number;
|
|
142
|
-
/**
|
|
143
|
-
* Right-click menu, built from the slice that was hit and the whole current
|
|
144
|
-
* selection — so an action can apply to one slice or to all the picked ones.
|
|
145
|
-
*/
|
|
146
|
-
menuItems?: (slice: SliceEvent, selection: SliceEvent[]) => ContextMenuItemDef[];
|
|
147
|
-
emptyLabel?: string;
|
|
148
|
-
}> & Readonly<{
|
|
149
|
-
onSliceClick?: ((payload: SliceEvent) => any) | undefined;
|
|
150
|
-
onSelectionChange?: ((payload: SliceEvent[]) => any) | undefined;
|
|
151
|
-
onSliceContextMenu?: ((payload: SliceEvent) => any) | undefined;
|
|
152
|
-
}>, {
|
|
153
|
-
size: number;
|
|
154
|
-
type: "pie" | "donut";
|
|
155
|
-
animate: boolean;
|
|
156
|
-
duration: number;
|
|
157
|
-
emptyLabel: string;
|
|
158
|
-
innerRatio: number;
|
|
159
|
-
maxSlices: number;
|
|
160
|
-
otherLabel: string;
|
|
161
|
-
labelWidth: number;
|
|
162
|
-
showPercent: boolean;
|
|
163
|
-
showTotal: boolean;
|
|
164
|
-
padAngle: number;
|
|
165
|
-
cornerRadius: number;
|
|
166
|
-
hoverOffset: number;
|
|
167
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
168
|
-
center?: (props: {
|
|
169
|
-
total: number;
|
|
170
|
-
active: {
|
|
171
|
-
d: string;
|
|
172
|
-
lift: string;
|
|
173
|
-
label: string;
|
|
174
|
-
value: number;
|
|
175
|
-
color: string;
|
|
176
|
-
fraction: number;
|
|
177
|
-
isOther: boolean;
|
|
178
|
-
count: number;
|
|
179
|
-
} | null;
|
|
180
|
-
selection: {
|
|
181
|
-
d: string;
|
|
182
|
-
lift: string;
|
|
183
|
-
label: string;
|
|
184
|
-
value: number;
|
|
185
|
-
color: string;
|
|
186
|
-
fraction: number;
|
|
187
|
-
isOther: boolean;
|
|
188
|
-
count: number;
|
|
189
|
-
}[];
|
|
190
|
-
}) => any;
|
|
191
|
-
}>;
|
|
192
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
193
|
-
new (): {
|
|
194
|
-
$slots: S;
|
|
195
|
-
};
|
|
196
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
3
|
-
align?: "start" | "center" | "end";
|
|
4
|
-
sideOffset?: number;
|
|
5
|
-
/** Extra classes for the floating panel (width, padding, overflow). */
|
|
6
|
-
panelClass?: string;
|
|
7
|
-
};
|
|
8
|
-
type __VLS_ModelProps = {
|
|
9
|
-
"open"?: boolean;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
-
declare var __VLS_14: {}, __VLS_28: {};
|
|
13
|
-
type __VLS_Slots = {} & {
|
|
14
|
-
trigger?: (props: typeof __VLS_14) => any;
|
|
15
|
-
} & {
|
|
16
|
-
default?: (props: typeof __VLS_28) => any;
|
|
17
|
-
};
|
|
18
|
-
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
"update:open": (value: boolean | undefined) => any;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
-
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
22
|
-
}>, {
|
|
23
|
-
align: "start" | "center" | "end";
|
|
24
|
-
side: "top" | "right" | "bottom" | "left";
|
|
25
|
-
sideOffset: number;
|
|
26
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
-
declare const _default: typeof __VLS_export;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|