@bitrix24/b24ui-nuxt 0.6.5 → 0.6.7
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/meta.d.mts +3187 -765
- package/dist/meta.mjs +3187 -765
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Advice.vue.d.ts +3 -26
- package/dist/runtime/components/Alert.vue.d.ts +7 -22
- package/dist/runtime/components/App.vue.d.ts +2 -2
- package/dist/runtime/components/Avatar.vue.d.ts +4 -25
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
- package/dist/runtime/components/Badge.vue.d.ts +3 -24
- package/dist/runtime/components/Button.vue.d.ts +3 -30
- package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -26
- package/dist/runtime/components/Calendar.vue.d.ts +6 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
- package/dist/runtime/components/Chip.vue.d.ts +10 -24
- package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
- package/dist/runtime/components/Container.vue.d.ts +2 -11
- package/dist/runtime/components/Countdown.vue.d.ts +14 -30
- package/dist/runtime/components/DescriptionList.vue +12 -0
- package/dist/runtime/components/DescriptionList.vue.d.ts +12 -36
- package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -24
- package/dist/runtime/components/DropdownMenuContent.vue +4 -0
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
- package/dist/runtime/components/Form.vue.d.ts +5 -2
- package/dist/runtime/components/FormField.vue.d.ts +2 -11
- package/dist/runtime/components/Input.vue.d.ts +16 -31
- package/dist/runtime/components/InputMenu.vue +6 -2
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -3
- package/dist/runtime/components/InputNumber.vue.d.ts +12 -25
- package/dist/runtime/components/Kbd.vue.d.ts +3 -24
- package/dist/runtime/components/Link.vue.d.ts +3 -36
- package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
- package/dist/runtime/components/Modal.vue +11 -9
- package/dist/runtime/components/Modal.vue.d.ts +12 -29
- package/dist/runtime/components/ModalDialogClose.vue.d.ts +2 -2
- package/dist/runtime/components/Navbar.vue.d.ts +3 -24
- package/dist/runtime/components/NavbarDivider.vue.d.ts +3 -24
- package/dist/runtime/components/NavbarSection.vue.d.ts +3 -24
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +3 -24
- package/dist/runtime/components/NavigationMenu.vue +4 -0
- package/dist/runtime/components/NavigationMenu.vue.d.ts +6 -20
- package/dist/runtime/components/Popover.vue +9 -6
- package/dist/runtime/components/Popover.vue.d.ts +10 -26
- package/dist/runtime/components/Progress.vue.d.ts +9 -40
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -2
- package/dist/runtime/components/Range.vue.d.ts +12 -31
- package/dist/runtime/components/Select.vue +5 -0
- package/dist/runtime/components/Select.vue.d.ts +10 -2
- package/dist/runtime/components/SelectMenu.vue +5 -1
- package/dist/runtime/components/SelectMenu.vue.d.ts +17 -3
- package/dist/runtime/components/Separator.vue.d.ts +3 -24
- package/dist/runtime/components/Sidebar.vue.d.ts +3 -24
- package/dist/runtime/components/SidebarBody.vue.d.ts +3 -26
- package/dist/runtime/components/SidebarFooter.vue.d.ts +3 -24
- package/dist/runtime/components/SidebarHeader.vue.d.ts +3 -24
- package/dist/runtime/components/SidebarHeading.vue.d.ts +3 -24
- package/dist/runtime/components/SidebarLayout.vue +4 -0
- package/dist/runtime/components/SidebarLayout.vue.d.ts +8 -29
- package/dist/runtime/components/SidebarSection.vue.d.ts +3 -24
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +3 -24
- package/dist/runtime/components/Skeleton.vue +8 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
- package/dist/runtime/components/Slideover.vue +11 -9
- package/dist/runtime/components/Slideover.vue.d.ts +12 -30
- package/dist/runtime/components/StackedLayout.vue +4 -0
- package/dist/runtime/components/StackedLayout.vue.d.ts +8 -29
- package/dist/runtime/components/Switch.vue.d.ts +10 -13
- package/dist/runtime/components/Tabs.vue.d.ts +4 -20
- package/dist/runtime/components/Textarea.vue.d.ts +16 -33
- package/dist/runtime/components/Toast.vue.d.ts +86 -24
- package/dist/runtime/components/Toaster.vue.d.ts +3 -30
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
- package/dist/runtime/components/content/TableWrapper.vue.d.ts +4 -27
- package/dist/runtime/composables/usePortal.js +2 -9
- package/dist/runtime/inertia/components/Link.vue.d.ts +3 -34
- package/dist/runtime/prose/A.vue.d.ts +2 -11
- package/dist/runtime/prose/Blockquote.vue.d.ts +2 -11
- package/dist/runtime/prose/Code.vue.d.ts +2 -11
- package/dist/runtime/prose/Em.vue.d.ts +2 -11
- package/dist/runtime/prose/H1.vue.d.ts +2 -11
- package/dist/runtime/prose/H2.vue.d.ts +2 -11
- package/dist/runtime/prose/H3.vue.d.ts +2 -11
- package/dist/runtime/prose/H4.vue.d.ts +2 -11
- package/dist/runtime/prose/H5.vue.d.ts +2 -11
- package/dist/runtime/prose/H6.vue.d.ts +2 -11
- package/dist/runtime/prose/Hr.vue.d.ts +1 -10
- package/dist/runtime/prose/Img.vue.d.ts +1 -10
- package/dist/runtime/prose/Li.vue.d.ts +2 -11
- package/dist/runtime/prose/Ol.vue.d.ts +2 -11
- package/dist/runtime/prose/P.vue.d.ts +2 -11
- package/dist/runtime/prose/Pre.vue.d.ts +3 -24
- package/dist/runtime/prose/Strong.vue.d.ts +2 -11
- package/dist/runtime/prose/Table.vue.d.ts +3 -32
- package/dist/runtime/prose/Tbody.vue.d.ts +2 -11
- package/dist/runtime/prose/Td.vue.d.ts +2 -11
- package/dist/runtime/prose/Th.vue.d.ts +2 -11
- package/dist/runtime/prose/Thead.vue.d.ts +2 -11
- package/dist/runtime/prose/Tr.vue.d.ts +2 -11
- package/dist/runtime/prose/Ul.vue.d.ts +2 -11
- package/dist/runtime/vue/components/Link.vue.d.ts +3 -36
- package/package.json +10 -11
|
@@ -14,33 +14,12 @@ export interface NavbarDividerProps {
|
|
|
14
14
|
export interface NavbarDividerSlots {
|
|
15
15
|
default(props?: {}): any;
|
|
16
16
|
}
|
|
17
|
-
declare const _default:
|
|
18
|
-
as: string;
|
|
19
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NavbarDividerProps>, {
|
|
20
|
-
as: string;
|
|
21
|
-
}>>> & Readonly<{}>, {
|
|
17
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<NavbarDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavbarDividerProps> & Readonly<{}>, {
|
|
22
18
|
as: any;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, NavbarDividerSlots>;
|
|
24
20
|
export default _default;
|
|
25
|
-
type
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToOption<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
22
|
new (): {
|
|
41
23
|
$slots: S;
|
|
42
24
|
};
|
|
43
25
|
};
|
|
44
|
-
type __VLS_PrettifyLocal<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
@@ -14,33 +14,12 @@ export interface NavbarSectionProps {
|
|
|
14
14
|
export interface NavbarSectionSlots {
|
|
15
15
|
default(props?: {}): any;
|
|
16
16
|
}
|
|
17
|
-
declare const _default:
|
|
18
|
-
as: string;
|
|
19
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NavbarSectionProps>, {
|
|
20
|
-
as: string;
|
|
21
|
-
}>>> & Readonly<{}>, {
|
|
17
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<NavbarSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavbarSectionProps> & Readonly<{}>, {
|
|
22
18
|
as: any;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, NavbarSectionSlots>;
|
|
24
20
|
export default _default;
|
|
25
|
-
type
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToOption<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
22
|
new (): {
|
|
41
23
|
$slots: S;
|
|
42
24
|
};
|
|
43
25
|
};
|
|
44
|
-
type __VLS_PrettifyLocal<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
@@ -14,33 +14,12 @@ export interface NavbarSpacerProps {
|
|
|
14
14
|
export interface NavbarSpacerSlots {
|
|
15
15
|
default(props?: {}): any;
|
|
16
16
|
}
|
|
17
|
-
declare const _default:
|
|
18
|
-
as: string;
|
|
19
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NavbarSpacerProps>, {
|
|
20
|
-
as: string;
|
|
21
|
-
}>>> & Readonly<{}>, {
|
|
17
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<NavbarSpacerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavbarSpacerProps> & Readonly<{}>, {
|
|
22
18
|
as: any;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, NavbarSpacerSlots>;
|
|
24
20
|
export default _default;
|
|
25
|
-
type
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToOption<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
22
|
new (): {
|
|
41
23
|
$slots: S;
|
|
42
24
|
};
|
|
43
25
|
};
|
|
44
|
-
type __VLS_PrettifyLocal<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
@@ -229,6 +229,8 @@ const lists = computed(
|
|
|
229
229
|
:class="b24ui.root({ class: [props.class, props.b24ui?.root] })"
|
|
230
230
|
data-slot="section"
|
|
231
231
|
>
|
|
232
|
+
<slot name="list-leading" />
|
|
233
|
+
|
|
232
234
|
<template v-for="(list, listIndex) in lists" :key="`list-${listIndex}`">
|
|
233
235
|
<NavigationMenuList :class="b24ui.list({ class: props.b24ui?.list })">
|
|
234
236
|
<ReuseItemTemplate
|
|
@@ -243,6 +245,8 @@ const lists = computed(
|
|
|
243
245
|
<div v-if="orientation === 'vertical' && listIndex < lists.length - 1" :class="b24ui.separator({ class: props.b24ui?.separator })" />
|
|
244
246
|
</template>
|
|
245
247
|
|
|
248
|
+
<slot name="list-trailing" />
|
|
249
|
+
|
|
246
250
|
<div v-if="orientation === 'horizontal'" :class="b24ui.viewportWrapper({ class: props.b24ui?.viewportWrapper })">
|
|
247
251
|
<NavigationMenuIndicator v-if="arrow" :class="b24ui.indicator({ class: props.b24ui?.indicator })">
|
|
248
252
|
<div :class="b24ui.arrow({ class: props.b24ui?.arrow })" />
|
|
@@ -122,33 +122,19 @@ export type NavigationMenuSlots<A extends ArrayOrNested<NavigationMenuItem> = Ar
|
|
|
122
122
|
'item-label': SlotProps<T>;
|
|
123
123
|
'item-trailing': SlotProps<T>;
|
|
124
124
|
'item-content': SlotProps<T>;
|
|
125
|
+
'list-leading': (props?: {}) => any;
|
|
126
|
+
'list-trailing': (props?: {}) => any;
|
|
125
127
|
} & DynamicSlots<MergeTypes<T>, 'leading' | 'label' | 'trailing' | 'content', {
|
|
126
128
|
index: number;
|
|
127
129
|
active?: boolean;
|
|
128
130
|
}>;
|
|
129
131
|
declare const _default: <T extends ArrayOrNested<NavigationMenuItem>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
130
|
-
props: __VLS_PrettifyLocal<
|
|
132
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
133
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
134
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & NavigationMenuProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
131
135
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
132
136
|
attrs: any;
|
|
133
|
-
slots:
|
|
134
|
-
item: SlotProps<NestedItem<T>>;
|
|
135
|
-
'item-leading': SlotProps<NestedItem<T>>;
|
|
136
|
-
'item-label': SlotProps<NestedItem<T>>;
|
|
137
|
-
'item-trailing': SlotProps<NestedItem<T>>;
|
|
138
|
-
'item-content': SlotProps<NestedItem<T>>;
|
|
139
|
-
} & DynamicSlots<MergeTypes<NestedItem<T>>, "leading" | "trailing" | "label" | "content", {
|
|
140
|
-
index: number;
|
|
141
|
-
active?: boolean;
|
|
142
|
-
}>> & {
|
|
143
|
-
item: SlotProps<NestedItem<T>>;
|
|
144
|
-
'item-leading': SlotProps<NestedItem<T>>;
|
|
145
|
-
'item-label': SlotProps<NestedItem<T>>;
|
|
146
|
-
'item-trailing': SlotProps<NestedItem<T>>;
|
|
147
|
-
'item-content': SlotProps<NestedItem<T>>;
|
|
148
|
-
} & DynamicSlots<MergeTypes<NestedItem<T>>, "leading" | "trailing" | "label" | "content", {
|
|
149
|
-
index: number;
|
|
150
|
-
active?: boolean;
|
|
151
|
-
}>;
|
|
137
|
+
slots: NavigationMenuSlots<T, NestedItem<T>>;
|
|
152
138
|
emit: (evt: "update:modelValue", value: string) => void;
|
|
153
139
|
}>) => import("vue").VNode & {
|
|
154
140
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -25,7 +25,7 @@ const props = defineProps({
|
|
|
25
25
|
openDelay: { type: Number, required: false, default: 0 },
|
|
26
26
|
closeDelay: { type: Number, required: false, default: 0 }
|
|
27
27
|
});
|
|
28
|
-
const emits = defineEmits(["update:open"]);
|
|
28
|
+
const emits = defineEmits(["close:prevent", "update:open"]);
|
|
29
29
|
const slots = defineSlots();
|
|
30
30
|
const appConfig = useAppConfig();
|
|
31
31
|
const pick = props.mode === "hover" ? reactivePick(props, "defaultOpen", "open", "openDelay", "closeDelay") : reactivePick(props, "defaultOpen", "open", "modal");
|
|
@@ -34,11 +34,14 @@ const portalProps = usePortal(toRef(() => props.portal));
|
|
|
34
34
|
const contentProps = toRef(() => defu(props.content, { side: "bottom", sideOffset: 8, collisionPadding: 8 }));
|
|
35
35
|
const contentEvents = computed(() => {
|
|
36
36
|
if (!props.dismissible) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
const events = ["pointerDownOutside", "interactOutside", "escapeKeyDown"];
|
|
38
|
+
return events.reduce((acc, curr) => {
|
|
39
|
+
acc[curr] = (e) => {
|
|
40
|
+
e.preventDefault();
|
|
41
|
+
emits("close:prevent");
|
|
42
|
+
};
|
|
43
|
+
return acc;
|
|
44
|
+
}, {});
|
|
42
45
|
}
|
|
43
46
|
return {};
|
|
44
47
|
});
|
|
@@ -34,6 +34,7 @@ export interface PopoverProps extends PopoverRootProps, Pick<HoverCardRootProps,
|
|
|
34
34
|
b24ui?: Popover['slots'];
|
|
35
35
|
}
|
|
36
36
|
export interface PopoverEmits extends PopoverRootEmits {
|
|
37
|
+
'close:prevent': [];
|
|
37
38
|
}
|
|
38
39
|
export interface PopoverSlots {
|
|
39
40
|
default(props: {
|
|
@@ -41,39 +42,22 @@ export interface PopoverSlots {
|
|
|
41
42
|
}): any;
|
|
42
43
|
content(props?: {}): any;
|
|
43
44
|
}
|
|
44
|
-
declare const _default:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
45
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
"update:open": (value: boolean) => any;
|
|
47
|
+
"close:prevent": () => any;
|
|
48
|
+
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
49
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
50
|
+
"onClose:prevent"?: (() => any) | undefined;
|
|
51
|
+
}>, {
|
|
51
52
|
mode: "click" | "hover";
|
|
52
53
|
portal: boolean | string | HTMLElement;
|
|
53
54
|
dismissible: boolean;
|
|
54
55
|
openDelay: number;
|
|
55
56
|
closeDelay: number;
|
|
56
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PopoverSlots>;
|
|
57
58
|
export default _default;
|
|
58
|
-
type
|
|
59
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
60
|
-
default: D[K];
|
|
61
|
-
}> : P[K];
|
|
62
|
-
};
|
|
63
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
-
type __VLS_TypePropsToOption<T> = {
|
|
65
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
-
} : {
|
|
68
|
-
type: import('vue').PropType<T[K]>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
73
60
|
new (): {
|
|
74
61
|
$slots: S;
|
|
75
62
|
};
|
|
76
63
|
};
|
|
77
|
-
type __VLS_PrettifyLocal<T> = {
|
|
78
|
-
[K in keyof T]: T[K];
|
|
79
|
-
} & {};
|
|
@@ -53,51 +53,20 @@ export type ProgressSlots = {
|
|
|
53
53
|
step: number;
|
|
54
54
|
}) => any;
|
|
55
55
|
};
|
|
56
|
-
declare const _default:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
|
+
"update:modelValue": (value: string[] | undefined) => any;
|
|
58
|
+
"update:max": (value: number) => any;
|
|
59
|
+
}, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{
|
|
60
|
+
"onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
|
|
61
|
+
"onUpdate:max"?: ((value: number) => any) | undefined;
|
|
62
|
+
}>, {
|
|
61
63
|
orientation: Progress["variants"]["orientation"];
|
|
62
64
|
inverted: boolean;
|
|
63
65
|
modelValue: number | null;
|
|
64
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
65
|
-
status(props: {
|
|
66
|
-
percent?: number;
|
|
67
|
-
}): any;
|
|
68
|
-
} & {
|
|
69
|
-
[key: string]: (props: {
|
|
70
|
-
step: number;
|
|
71
|
-
}) => any;
|
|
72
|
-
}> & {
|
|
73
|
-
status(props: {
|
|
74
|
-
percent?: number;
|
|
75
|
-
}): any;
|
|
76
|
-
} & {
|
|
77
|
-
[key: string]: (props: {
|
|
78
|
-
step: number;
|
|
79
|
-
}) => any;
|
|
80
|
-
}>;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProgressSlots>;
|
|
81
67
|
export default _default;
|
|
82
|
-
type
|
|
83
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
84
|
-
default: D[K];
|
|
85
|
-
}> : P[K];
|
|
86
|
-
};
|
|
87
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
88
|
-
type __VLS_TypePropsToOption<T> = {
|
|
89
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
90
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
91
|
-
} : {
|
|
92
|
-
type: import('vue').PropType<T[K]>;
|
|
93
|
-
required: true;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
97
69
|
new (): {
|
|
98
70
|
$slots: S;
|
|
99
71
|
};
|
|
100
72
|
};
|
|
101
|
-
type __VLS_PrettifyLocal<T> = {
|
|
102
|
-
[K in keyof T]: T[K];
|
|
103
|
-
} & {};
|
|
@@ -74,10 +74,13 @@ export interface RadioGroupSlots<T extends RadioGroupItem = RadioGroupItem> {
|
|
|
74
74
|
description: SlotProps<T>;
|
|
75
75
|
}
|
|
76
76
|
declare const _default: <T extends RadioGroupItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
77
|
-
props: __VLS_PrettifyLocal<
|
|
77
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
78
|
+
readonly onChange?: ((payload: Event) => any) | undefined;
|
|
79
|
+
readonly "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
80
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & RadioGroupProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
78
81
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
79
82
|
attrs: any;
|
|
80
|
-
slots:
|
|
83
|
+
slots: RadioGroupSlots<T>;
|
|
81
84
|
emit: ((evt: "change", payload: Event) => void) & ((evt: "update:modelValue", payload: string) => void);
|
|
82
85
|
}>) => import("vue").VNode & {
|
|
83
86
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -33,41 +33,22 @@ export interface RangeEmits {
|
|
|
33
33
|
(e: 'update:modelValue', payload: number | number[]): void;
|
|
34
34
|
(e: 'change', payload: Event): void;
|
|
35
35
|
}
|
|
36
|
-
declare const _default: import("vue").DefineComponent<
|
|
36
|
+
declare const _default: import("vue").DefineComponent<RangeProps & {
|
|
37
37
|
modelValue?: number | number[];
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
38
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"update:modelValue": (value: number | number[] | undefined) => any;
|
|
40
|
+
} & {
|
|
41
|
+
change: (payload: Event) => any;
|
|
42
|
+
"update:modelValue": (payload: number | number[]) => any;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<RangeProps & {
|
|
44
44
|
modelValue?: number | number[];
|
|
45
|
-
} &
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
orientation: string;
|
|
50
|
-
}>>> & Readonly<{}>, {
|
|
45
|
+
}> & Readonly<{
|
|
46
|
+
onChange?: ((payload: Event) => any) | undefined;
|
|
47
|
+
"onUpdate:modelValue"?: ((payload: number | number[]) => any) | undefined;
|
|
48
|
+
}>, {
|
|
51
49
|
orientation: "horizontal" | "vertical";
|
|
52
50
|
step: number;
|
|
53
51
|
max: number;
|
|
54
52
|
min: number;
|
|
55
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
53
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
54
|
export default _default;
|
|
57
|
-
type __VLS_WithDefaults<P, D> = {
|
|
58
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
59
|
-
default: D[K];
|
|
60
|
-
}> : P[K];
|
|
61
|
-
};
|
|
62
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
63
|
-
type __VLS_TypePropsToOption<T> = {
|
|
64
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
65
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
66
|
-
} : {
|
|
67
|
-
type: import('vue').PropType<T[K]>;
|
|
68
|
-
required: true;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
type __VLS_PrettifyLocal<T> = {
|
|
72
|
-
[K in keyof T]: T[K];
|
|
73
|
-
} & {};
|
|
@@ -171,6 +171,8 @@ function isSelectItem(item) {
|
|
|
171
171
|
|
|
172
172
|
<SelectPortal v-bind="portalProps">
|
|
173
173
|
<SelectContent :class="b24ui.content({ class: props.b24ui?.content })" v-bind="contentProps">
|
|
174
|
+
<slot name="content-top" />
|
|
175
|
+
|
|
174
176
|
<SelectScrollUpButton :class="b24ui.scrollUpDownButton({ class: props.b24ui?.scrollUpDownButton })">
|
|
175
177
|
<Component
|
|
176
178
|
:is="icons.chevronUp"
|
|
@@ -238,6 +240,9 @@ function isSelectItem(item) {
|
|
|
238
240
|
:class="b24ui.scrollUpDownButtonIcon({ class: props.b24ui?.scrollUpDownButtonIcon })"
|
|
239
241
|
/>
|
|
240
242
|
</SelectScrollDownButton>
|
|
243
|
+
|
|
244
|
+
<slot name="content-bottom" />
|
|
245
|
+
|
|
241
246
|
<SelectArrow v-if="!!arrow" v-bind="arrowProps" :class="b24ui.arrow({ class: props.b24ui?.arrow })" />
|
|
242
247
|
</SelectContent>
|
|
243
248
|
</SelectPortal>
|
|
@@ -154,12 +154,20 @@ export interface SelectSlots<A extends ArrayOrNested<SelectItem> = ArrayOrNested
|
|
|
154
154
|
'item-leading': SlotProps<T>;
|
|
155
155
|
'item-label': SlotProps<T>;
|
|
156
156
|
'item-trailing': SlotProps<T>;
|
|
157
|
+
'content-top': (props?: {}) => any;
|
|
158
|
+
'content-bottom': (props?: {}) => any;
|
|
157
159
|
}
|
|
158
160
|
declare const _default: <T extends ArrayOrNested<SelectItem>, VK extends GetItemKeys<T> = "value", M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
159
|
-
props: __VLS_PrettifyLocal<
|
|
161
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
162
|
+
readonly onBlur?: ((payload: FocusEvent) => any) | undefined;
|
|
163
|
+
readonly onChange?: ((payload: Event) => any) | undefined;
|
|
164
|
+
readonly onFocus?: ((payload: FocusEvent) => any) | undefined;
|
|
165
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
166
|
+
readonly "onUpdate:modelValue"?: ((payload: GetModelValue<T, VK, M>) => any) | undefined;
|
|
167
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue"> & SelectProps<T, VK, M> & Partial<{}>> & import("vue").PublicProps;
|
|
160
168
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
161
169
|
attrs: any;
|
|
162
|
-
slots:
|
|
170
|
+
slots: SelectSlots<T, VK, M, NestedItem<T>>;
|
|
163
171
|
emit: ((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", payload: GetModelValue<T, VK, M>) => void);
|
|
164
172
|
}>) => import("vue").VNode & {
|
|
165
173
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -155,7 +155,7 @@ const createItem = computed(() => {
|
|
|
155
155
|
}
|
|
156
156
|
const newItem = props.valueKey ? { [props.valueKey]: searchTerm.value } : searchTerm.value;
|
|
157
157
|
if (typeof props.createItem === "object" && props.createItem.when === "always" || props.createItem === "always") {
|
|
158
|
-
return !filteredItems.value.find((item) => compare(item, newItem,
|
|
158
|
+
return !filteredItems.value.find((item) => compare(item, newItem, props.valueKey));
|
|
159
159
|
}
|
|
160
160
|
return !filteredItems.value.length;
|
|
161
161
|
});
|
|
@@ -283,6 +283,8 @@ function isSelectItem(item) {
|
|
|
283
283
|
<ComboboxPortal v-bind="portalProps">
|
|
284
284
|
<ComboboxContent :class="b24ui.content({ class: props.b24ui?.content })" v-bind="contentProps">
|
|
285
285
|
<FocusScope trapped :class="b24ui.focusScope({ class: props.b24ui?.focusScope })">
|
|
286
|
+
<slot name="content-top" />
|
|
287
|
+
|
|
286
288
|
<ComboboxInput v-if="!!searchInput" v-model="searchTerm" :display-value="() => searchTerm" as-child>
|
|
287
289
|
<B24Input no-border autofocus autocomplete="off" v-bind="searchInputProps" :class="b24ui.input({ class: props.b24ui?.input })" />
|
|
288
290
|
</ComboboxInput>
|
|
@@ -352,6 +354,8 @@ function isSelectItem(item) {
|
|
|
352
354
|
|
|
353
355
|
<ReuseCreateItemTemplate v-if="createItem && createItemPosition === 'bottom'" />
|
|
354
356
|
</ComboboxViewport>
|
|
357
|
+
|
|
358
|
+
<slot name="content-bottom" />
|
|
355
359
|
</FocusScope>
|
|
356
360
|
<ComboboxArrow v-if="!!arrow" v-bind="arrowProps" :class="b24ui.arrow({ class: props.b24ui?.arrow })" />
|
|
357
361
|
</ComboboxContent>
|
|
@@ -193,17 +193,31 @@ export interface SelectMenuSlots<A extends ArrayOrNested<SelectMenuItem> = Array
|
|
|
193
193
|
'item-leading': SlotProps<T>;
|
|
194
194
|
'item-label': SlotProps<T>;
|
|
195
195
|
'item-trailing': SlotProps<T>;
|
|
196
|
+
'content-top': (props?: {}) => any;
|
|
197
|
+
'content-bottom': (props?: {}) => any;
|
|
196
198
|
'create-item-label'(props: {
|
|
197
199
|
item: string;
|
|
198
200
|
}): any;
|
|
199
201
|
}
|
|
200
202
|
declare const _default: <T extends ArrayOrNested<SelectMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
201
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
203
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
204
|
+
readonly onBlur?: ((payload: FocusEvent) => any) | undefined;
|
|
205
|
+
readonly onChange?: ((payload: Event) => any) | undefined;
|
|
206
|
+
readonly onFocus?: ((payload: FocusEvent) => any) | undefined;
|
|
207
|
+
readonly onCreate?: ((item: string) => any) | undefined;
|
|
208
|
+
readonly onHighlight?: ((payload: {
|
|
209
|
+
ref: HTMLElement;
|
|
210
|
+
value: GetModelValue<T, VK, M>;
|
|
211
|
+
} | undefined) => any) | undefined;
|
|
212
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
213
|
+
readonly "onUpdate:modelValue"?: ((payload: GetModelValue<T, VK, M>) => any) | undefined;
|
|
214
|
+
readonly "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
215
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue" | "onCreate" | "onHighlight" | "onUpdate:searchTerm"> & (SelectMenuProps<T, VK, M> & {
|
|
202
216
|
searchTerm?: string;
|
|
203
|
-
}
|
|
217
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
204
218
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
205
219
|
attrs: any;
|
|
206
|
-
slots:
|
|
220
|
+
slots: SelectMenuSlots<T, VK, M, NestedItem<T>>;
|
|
207
221
|
emit: (((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "create", item: string) => void) & ((evt: "highlight", payload: {
|
|
208
222
|
ref: HTMLElement;
|
|
209
223
|
value: GetModelValue<T, VK, M>;
|
|
@@ -45,33 +45,12 @@ export interface SeparatorProps extends Pick<_SeparatorProps, 'decorative'> {
|
|
|
45
45
|
export interface SeparatorSlots {
|
|
46
46
|
default(props?: {}): any;
|
|
47
47
|
}
|
|
48
|
-
declare const _default:
|
|
49
|
-
orientation: string;
|
|
50
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SeparatorProps>, {
|
|
51
|
-
orientation: string;
|
|
52
|
-
}>>> & Readonly<{}>, {
|
|
48
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
53
49
|
orientation: "horizontal" | "vertical";
|
|
54
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SeparatorSlots>;
|
|
55
51
|
export default _default;
|
|
56
|
-
type
|
|
57
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
58
|
-
default: D[K];
|
|
59
|
-
}> : P[K];
|
|
60
|
-
};
|
|
61
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
-
type __VLS_TypePropsToOption<T> = {
|
|
63
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
-
} : {
|
|
66
|
-
type: import('vue').PropType<T[K]>;
|
|
67
|
-
required: true;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
71
53
|
new (): {
|
|
72
54
|
$slots: S;
|
|
73
55
|
};
|
|
74
56
|
};
|
|
75
|
-
type __VLS_PrettifyLocal<T> = {
|
|
76
|
-
[K in keyof T]: T[K];
|
|
77
|
-
} & {};
|
|
@@ -14,33 +14,12 @@ export interface SidebarProps {
|
|
|
14
14
|
export interface SidebarSlots {
|
|
15
15
|
default(props?: {}): any;
|
|
16
16
|
}
|
|
17
|
-
declare const _default:
|
|
18
|
-
as: string;
|
|
19
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SidebarProps>, {
|
|
20
|
-
as: string;
|
|
21
|
-
}>>> & Readonly<{}>, {
|
|
17
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SidebarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SidebarProps> & Readonly<{}>, {
|
|
22
18
|
as: any;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SidebarSlots>;
|
|
24
20
|
export default _default;
|
|
25
|
-
type
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToOption<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
22
|
new (): {
|
|
41
23
|
$slots: S;
|
|
42
24
|
};
|
|
43
25
|
};
|
|
44
|
-
type __VLS_PrettifyLocal<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
@@ -18,36 +18,13 @@ export interface SidebarBodyProps {
|
|
|
18
18
|
export interface SidebarBodySlots {
|
|
19
19
|
default(props?: {}): any;
|
|
20
20
|
}
|
|
21
|
-
declare const _default:
|
|
22
|
-
as: string;
|
|
23
|
-
scrollbarThin: boolean;
|
|
24
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SidebarBodyProps>, {
|
|
25
|
-
as: string;
|
|
26
|
-
scrollbarThin: boolean;
|
|
27
|
-
}>>> & Readonly<{}>, {
|
|
21
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SidebarBodyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SidebarBodyProps> & Readonly<{}>, {
|
|
28
22
|
as: any;
|
|
29
23
|
scrollbarThin: boolean;
|
|
30
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SidebarBodySlots>;
|
|
31
25
|
export default _default;
|
|
32
|
-
type
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToOption<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: import('vue').PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
47
27
|
new (): {
|
|
48
28
|
$slots: S;
|
|
49
29
|
};
|
|
50
30
|
};
|
|
51
|
-
type __VLS_PrettifyLocal<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|