@bitrix24/b24ui-nuxt 2.1.7 → 2.1.9
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 +39966 -51971
- package/dist/meta.mjs +39966 -51971
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Accordion.d.vue.ts +3 -3
- package/dist/runtime/components/Accordion.vue.d.ts +3 -3
- package/dist/runtime/components/Advice.d.vue.ts +1 -4
- package/dist/runtime/components/Advice.vue.d.ts +1 -4
- package/dist/runtime/components/Alert.d.vue.ts +3 -6
- package/dist/runtime/components/Alert.vue.d.ts +3 -6
- package/dist/runtime/components/App.d.vue.ts +3 -1
- package/dist/runtime/components/App.vue.d.ts +3 -1
- package/dist/runtime/components/Badge.d.vue.ts +1 -4
- package/dist/runtime/components/Badge.vue.d.ts +1 -4
- package/dist/runtime/components/Banner.d.vue.ts +2 -2
- package/dist/runtime/components/Banner.vue.d.ts +2 -2
- package/dist/runtime/components/Breadcrumb.d.vue.ts +3 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +3 -1
- package/dist/runtime/components/Button.d.vue.ts +1 -4
- package/dist/runtime/components/Button.vue.d.ts +1 -4
- package/dist/runtime/components/Calendar.d.vue.ts +8 -11
- package/dist/runtime/components/Calendar.vue.d.ts +8 -11
- package/dist/runtime/components/ChatMessage.d.vue.ts +1 -3
- package/dist/runtime/components/ChatMessage.vue.d.ts +1 -3
- package/dist/runtime/components/ChatMessages.d.vue.ts +3 -8
- package/dist/runtime/components/ChatMessages.vue.d.ts +3 -8
- package/dist/runtime/components/ChatPrompt.d.vue.ts +2 -7
- package/dist/runtime/components/ChatPrompt.vue.d.ts +2 -7
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +3 -9
- package/dist/runtime/components/ChatPromptSubmit.vue +1 -20
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +3 -9
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +3 -4
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +3 -4
- package/dist/runtime/components/Chip.d.vue.ts +1 -6
- package/dist/runtime/components/Chip.vue.d.ts +1 -6
- package/dist/runtime/components/Collapsible.d.vue.ts +1 -3
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -3
- package/dist/runtime/components/ColorPicker.d.vue.ts +1 -5
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -5
- package/dist/runtime/components/CommandPalette.d.vue.ts +9 -14
- package/dist/runtime/components/CommandPalette.vue.d.ts +9 -14
- package/dist/runtime/components/ContextMenu.d.vue.ts +3 -3
- package/dist/runtime/components/ContextMenu.vue.d.ts +3 -3
- package/dist/runtime/components/ContextMenuContent.d.vue.ts +3 -7
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +3 -7
- package/dist/runtime/components/Countdown.d.vue.ts +1 -10
- package/dist/runtime/components/Countdown.vue.d.ts +1 -10
- package/dist/runtime/components/DashboardGroup.d.vue.ts +1 -4
- package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -4
- package/dist/runtime/components/DashboardSearch.d.vue.ts +4 -9
- package/dist/runtime/components/DashboardSearch.vue.d.ts +4 -9
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +3 -8
- package/dist/runtime/components/DashboardSearchButton.vue +1 -20
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +3 -8
- package/dist/runtime/components/DescriptionList.d.vue.ts +3 -1
- package/dist/runtime/components/DescriptionList.vue.d.ts +3 -1
- package/dist/runtime/components/DropdownMenu.d.vue.ts +3 -3
- package/dist/runtime/components/DropdownMenu.vue.d.ts +3 -3
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +3 -7
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +3 -7
- package/dist/runtime/components/Empty.d.vue.ts +1 -3
- package/dist/runtime/components/Empty.vue.d.ts +1 -3
- package/dist/runtime/components/Error.d.vue.ts +2 -5
- package/dist/runtime/components/Error.vue.d.ts +2 -5
- package/dist/runtime/components/FieldGroup.d.vue.ts +1 -4
- package/dist/runtime/components/FieldGroup.vue.d.ts +1 -4
- package/dist/runtime/components/FileUpload.d.vue.ts +5 -6
- package/dist/runtime/components/FileUpload.vue.d.ts +5 -6
- package/dist/runtime/components/Form.d.vue.ts +3 -4
- package/dist/runtime/components/Form.vue.d.ts +3 -4
- package/dist/runtime/components/Input.d.vue.ts +5 -7
- package/dist/runtime/components/Input.vue.d.ts +5 -7
- package/dist/runtime/components/InputDate.d.vue.ts +4 -8
- package/dist/runtime/components/InputDate.vue.d.ts +4 -8
- package/dist/runtime/components/InputMenu.d.vue.ts +7 -15
- package/dist/runtime/components/InputMenu.vue.d.ts +7 -15
- package/dist/runtime/components/InputNumber.d.vue.ts +7 -9
- package/dist/runtime/components/InputNumber.vue.d.ts +7 -9
- package/dist/runtime/components/InputTags.d.vue.ts +4 -10
- package/dist/runtime/components/InputTags.vue.d.ts +4 -10
- package/dist/runtime/components/InputTime.d.vue.ts +3 -5
- package/dist/runtime/components/InputTime.vue.d.ts +3 -5
- package/dist/runtime/components/Kbd.d.vue.ts +1 -4
- package/dist/runtime/components/Kbd.vue.d.ts +1 -4
- package/dist/runtime/components/Link.d.vue.ts +6 -7
- package/dist/runtime/components/Link.vue.d.ts +6 -7
- package/dist/runtime/components/LinkBase.d.vue.ts +1 -4
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -4
- package/dist/runtime/components/Modal.d.vue.ts +3 -12
- package/dist/runtime/components/Modal.vue.d.ts +3 -12
- package/dist/runtime/components/Navbar.d.vue.ts +1 -3
- package/dist/runtime/components/Navbar.vue.d.ts +1 -3
- package/dist/runtime/components/NavbarDivider.d.vue.ts +1 -3
- package/dist/runtime/components/NavbarDivider.vue.d.ts +1 -3
- package/dist/runtime/components/NavbarSection.d.vue.ts +1 -3
- package/dist/runtime/components/NavbarSection.vue.d.ts +1 -3
- package/dist/runtime/components/NavbarSpacer.d.vue.ts +1 -3
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +1 -3
- package/dist/runtime/components/NavigationMenu.d.vue.ts +3 -3
- package/dist/runtime/components/NavigationMenu.vue.d.ts +3 -3
- package/dist/runtime/components/PageCard.d.vue.ts +1 -3
- package/dist/runtime/components/PageCard.vue.d.ts +1 -3
- package/dist/runtime/components/PageLinks.d.vue.ts +3 -1
- package/dist/runtime/components/PageLinks.vue.d.ts +3 -1
- package/dist/runtime/components/PageList.d.vue.ts +1 -3
- package/dist/runtime/components/PageList.vue.d.ts +1 -3
- package/dist/runtime/components/Pagination.d.vue.ts +1 -9
- package/dist/runtime/components/Pagination.vue.d.ts +1 -9
- package/dist/runtime/components/PinInput.d.vue.ts +4 -7
- package/dist/runtime/components/PinInput.vue.d.ts +4 -7
- package/dist/runtime/components/Popover.d.vue.ts +3 -4
- package/dist/runtime/components/Popover.vue.d.ts +3 -4
- package/dist/runtime/components/Progress.d.vue.ts +1 -5
- package/dist/runtime/components/Progress.vue.d.ts +1 -5
- package/dist/runtime/components/RadioGroup.d.vue.ts +3 -4
- package/dist/runtime/components/RadioGroup.vue.d.ts +3 -4
- package/dist/runtime/components/Range.d.vue.ts +3 -4
- package/dist/runtime/components/Range.vue.d.ts +3 -4
- package/dist/runtime/components/Select.d.vue.ts +4 -8
- package/dist/runtime/components/Select.vue.d.ts +4 -8
- package/dist/runtime/components/SelectMenu.d.vue.ts +7 -14
- package/dist/runtime/components/SelectMenu.vue.d.ts +7 -14
- package/dist/runtime/components/Separator.d.vue.ts +1 -6
- package/dist/runtime/components/Separator.vue.d.ts +1 -6
- package/dist/runtime/components/Sidebar.d.vue.ts +1 -3
- package/dist/runtime/components/Sidebar.vue.d.ts +1 -3
- package/dist/runtime/components/SidebarBody.d.vue.ts +1 -4
- package/dist/runtime/components/SidebarBody.vue.d.ts +1 -4
- package/dist/runtime/components/SidebarFooter.d.vue.ts +1 -3
- package/dist/runtime/components/SidebarFooter.vue.d.ts +1 -3
- package/dist/runtime/components/SidebarHeader.d.vue.ts +1 -3
- package/dist/runtime/components/SidebarHeader.vue.d.ts +1 -3
- package/dist/runtime/components/SidebarHeading.d.vue.ts +1 -3
- package/dist/runtime/components/SidebarHeading.vue.d.ts +1 -3
- package/dist/runtime/components/SidebarLayout.d.vue.ts +1 -6
- package/dist/runtime/components/SidebarLayout.vue.d.ts +1 -6
- package/dist/runtime/components/SidebarSection.d.vue.ts +1 -3
- package/dist/runtime/components/SidebarSection.vue.d.ts +1 -3
- package/dist/runtime/components/SidebarSpacer.d.vue.ts +1 -3
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +1 -3
- package/dist/runtime/components/Skeleton.d.vue.ts +1 -3
- package/dist/runtime/components/Skeleton.vue.d.ts +1 -3
- package/dist/runtime/components/Slideover.d.vue.ts +3 -13
- package/dist/runtime/components/Slideover.vue.d.ts +3 -13
- package/dist/runtime/components/Stepper.d.vue.ts +3 -5
- package/dist/runtime/components/Stepper.vue.d.ts +3 -5
- package/dist/runtime/components/Table.d.vue.ts +4 -16
- package/dist/runtime/components/Table.vue +55 -33
- package/dist/runtime/components/Table.vue.d.ts +4 -16
- package/dist/runtime/components/TableWrapper.d.vue.ts +1 -4
- package/dist/runtime/components/TableWrapper.vue.d.ts +1 -4
- package/dist/runtime/components/Tabs.d.vue.ts +3 -3
- package/dist/runtime/components/Tabs.vue.d.ts +3 -3
- package/dist/runtime/components/Textarea.d.vue.ts +5 -7
- package/dist/runtime/components/Textarea.vue.d.ts +5 -7
- package/dist/runtime/components/Timeline.d.vue.ts +3 -3
- package/dist/runtime/components/Timeline.vue.d.ts +3 -3
- package/dist/runtime/components/Toast.d.vue.ts +3 -7
- package/dist/runtime/components/Toast.vue.d.ts +3 -7
- package/dist/runtime/components/Toaster.d.vue.ts +1 -8
- package/dist/runtime/components/Toaster.vue.d.ts +1 -8
- package/dist/runtime/components/Tooltip.d.vue.ts +1 -4
- package/dist/runtime/components/Tooltip.vue.d.ts +1 -4
- package/dist/runtime/components/User.d.vue.ts +1 -3
- package/dist/runtime/components/User.vue.d.ts +1 -3
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +3 -5
- package/dist/runtime/components/color-mode/ColorModeButton.vue +3 -22
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +3 -5
- package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +1 -3
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -3
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +6 -6
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +6 -6
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +3 -8
- package/dist/runtime/components/content/ContentSearchButton.vue +1 -20
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +3 -8
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +3 -1
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +3 -1
- package/dist/runtime/components/content/ContentToc.d.vue.ts +3 -4
- package/dist/runtime/components/content/ContentToc.vue.d.ts +3 -4
- package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +1 -5
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -5
- package/dist/runtime/components/prose/Accordion.d.vue.ts +1 -3
- package/dist/runtime/components/prose/Accordion.vue.d.ts +1 -3
- package/dist/runtime/components/prose/CodeGroup.d.vue.ts +1 -3
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +1 -3
- package/dist/runtime/components/prose/H1.d.vue.ts +1 -3
- package/dist/runtime/components/prose/H1.vue.d.ts +1 -3
- package/dist/runtime/components/prose/H2.d.vue.ts +1 -3
- package/dist/runtime/components/prose/H2.vue.d.ts +1 -3
- package/dist/runtime/components/prose/H3.d.vue.ts +1 -3
- package/dist/runtime/components/prose/H3.vue.d.ts +1 -3
- package/dist/runtime/components/prose/H4.d.vue.ts +1 -3
- package/dist/runtime/components/prose/H4.vue.d.ts +1 -3
- package/dist/runtime/components/prose/H5.d.vue.ts +1 -3
- package/dist/runtime/components/prose/H5.vue.d.ts +1 -3
- package/dist/runtime/components/prose/H6.d.vue.ts +1 -3
- package/dist/runtime/components/prose/H6.vue.d.ts +1 -3
- package/dist/runtime/components/prose/Img.d.vue.ts +1 -3
- package/dist/runtime/components/prose/Img.vue.d.ts +1 -3
- package/dist/runtime/components/prose/P.d.vue.ts +1 -4
- package/dist/runtime/components/prose/P.vue.d.ts +1 -4
- package/dist/runtime/components/prose/Table.d.vue.ts +1 -7
- package/dist/runtime/components/prose/Table.vue.d.ts +1 -7
- package/dist/runtime/components/prose/Tabs.d.vue.ts +1 -3
- package/dist/runtime/components/prose/Tabs.vue.d.ts +1 -3
- package/dist/runtime/components/prose/callout/Caution.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Note.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Tip.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Warning.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +2 -2
- package/dist/runtime/inertia/components/Link.d.vue.ts +1 -7
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -7
- package/dist/runtime/inertia/components/LinkBase.d.vue.ts +1 -4
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -4
- package/dist/runtime/utils/content.d.ts +2 -2
- package/dist/runtime/vue/components/Link.d.vue.ts +1 -7
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -7
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +1 -3
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +1 -3
- package/dist/shared/{b24ui-nuxt.CIiXiDdZ.mjs → b24ui-nuxt.auTgHcA7.mjs} +18 -18
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +9 -8
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ChatStatus } from 'ai';
|
|
2
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
3
3
|
import theme from '#build/b24ui/chat-prompt-submit';
|
|
4
|
-
import type { ButtonProps, ButtonSlots, IconComponent } from '../types';
|
|
4
|
+
import type { ButtonProps, ButtonSlots, IconComponent, LinkPropsKeys } from '../types';
|
|
5
5
|
import type { ComponentConfig } from '../types/tv';
|
|
6
6
|
type ChatPromptSubmit = ComponentConfig<typeof theme, AppConfig, 'chatPromptSubmit'>;
|
|
7
|
-
export interface ChatPromptSubmitProps extends Omit<ButtonProps, 'icon' | 'color'> {
|
|
7
|
+
export interface ChatPromptSubmitProps extends Omit<ButtonProps, LinkPropsKeys | 'icon' | 'color'> {
|
|
8
8
|
status?: ChatStatus;
|
|
9
9
|
/**
|
|
10
10
|
* The icon displayed in the button when the status is `ready`.
|
|
@@ -63,13 +63,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatPr
|
|
|
63
63
|
}, string, import("vue").PublicProps, Readonly<ChatPromptSubmitProps> & Readonly<{
|
|
64
64
|
onStop?: ((event: MouseEvent) => any) | undefined;
|
|
65
65
|
onReload?: ((event: MouseEvent) => any) | undefined;
|
|
66
|
-
}>, {
|
|
67
|
-
status: ChatStatus;
|
|
68
|
-
color: "default" | "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-accent" | "air-secondary-accent-1" | "air-tertiary" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-alert" | "air-secondary-accent-2" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost";
|
|
69
|
-
streamingColor: "default" | "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-accent" | "air-secondary-accent-1" | "air-tertiary" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-alert" | "air-secondary-accent-2" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost";
|
|
70
|
-
submittedColor: "default" | "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-accent" | "air-secondary-accent-1" | "air-tertiary" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-alert" | "air-secondary-accent-2" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost";
|
|
71
|
-
errorColor: "default" | "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-accent" | "air-secondary-accent-1" | "air-tertiary" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-alert" | "air-secondary-accent-2" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost";
|
|
72
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
66
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
73
67
|
declare const _default: typeof __VLS_export;
|
|
74
68
|
export default _default;
|
|
75
69
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -72,10 +72,9 @@ export interface CheckboxGroupSlots<T extends CheckboxGroupItem[] = CheckboxGrou
|
|
|
72
72
|
description: SlotProps<T[number]>;
|
|
73
73
|
}
|
|
74
74
|
declare const __VLS_export: <T extends CheckboxGroupItem[], VK extends GetItemKeys<T> = "value">(__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<{
|
|
75
|
-
props: __VLS_PrettifyLocal<CheckboxGroupProps<T, VK> & {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}> & import("vue").PublicProps;
|
|
75
|
+
props: __VLS_PrettifyLocal<CheckboxGroupProps<T, VK> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T[number][]) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
76
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
77
|
+
} ? P : {});
|
|
79
78
|
expose: (exposed: {}) => void;
|
|
80
79
|
attrs: any;
|
|
81
80
|
slots: CheckboxGroupSlots<T>;
|
|
@@ -72,10 +72,9 @@ export interface CheckboxGroupSlots<T extends CheckboxGroupItem[] = CheckboxGrou
|
|
|
72
72
|
description: SlotProps<T[number]>;
|
|
73
73
|
}
|
|
74
74
|
declare const __VLS_export: <T extends CheckboxGroupItem[], VK extends GetItemKeys<T> = "value">(__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<{
|
|
75
|
-
props: __VLS_PrettifyLocal<CheckboxGroupProps<T, VK> & {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}> & import("vue").PublicProps;
|
|
75
|
+
props: __VLS_PrettifyLocal<CheckboxGroupProps<T, VK> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T[number][]) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
76
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
77
|
+
} ? P : {});
|
|
79
78
|
expose: (exposed: {}) => void;
|
|
80
79
|
attrs: any;
|
|
81
80
|
slots: CheckboxGroupSlots<T>;
|
|
@@ -69,12 +69,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChipPr
|
|
|
69
69
|
show?: boolean;
|
|
70
70
|
}> & Readonly<{
|
|
71
71
|
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
72
|
-
}>, {
|
|
73
|
-
inset: boolean;
|
|
74
|
-
inverted: boolean;
|
|
75
|
-
standalone: boolean;
|
|
76
|
-
hideZero: boolean;
|
|
77
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChipSlots>;
|
|
72
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChipSlots>;
|
|
78
73
|
declare const _default: typeof __VLS_export;
|
|
79
74
|
export default _default;
|
|
80
75
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -69,12 +69,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChipPr
|
|
|
69
69
|
show?: boolean;
|
|
70
70
|
}> & Readonly<{
|
|
71
71
|
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
72
|
-
}>, {
|
|
73
|
-
inset: boolean;
|
|
74
|
-
inverted: boolean;
|
|
75
|
-
standalone: boolean;
|
|
76
|
-
hideZero: boolean;
|
|
77
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChipSlots>;
|
|
72
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChipSlots>;
|
|
78
73
|
declare const _default: typeof __VLS_export;
|
|
79
74
|
export default _default;
|
|
80
75
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -24,9 +24,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Collap
|
|
|
24
24
|
"update:open": (value: boolean) => any;
|
|
25
25
|
}, string, import("vue").PublicProps, Readonly<CollapsibleProps> & Readonly<{
|
|
26
26
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
|
-
}>, {
|
|
28
|
-
unmountOnHide: boolean;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CollapsibleSlots>;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CollapsibleSlots>;
|
|
30
28
|
declare const _default: typeof __VLS_export;
|
|
31
29
|
export default _default;
|
|
32
30
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -24,9 +24,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Collap
|
|
|
24
24
|
"update:open": (value: boolean) => any;
|
|
25
25
|
}, string, import("vue").PublicProps, Readonly<CollapsibleProps> & Readonly<{
|
|
26
26
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
|
-
}>, {
|
|
28
|
-
unmountOnHide: boolean;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CollapsibleSlots>;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CollapsibleSlots>;
|
|
30
28
|
declare const _default: typeof __VLS_export;
|
|
31
29
|
export default _default;
|
|
32
30
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -40,10 +40,6 @@ declare const __VLS_export: import("vue").DefineComponent<ColorPickerProps & {
|
|
|
40
40
|
modelValue?: string;
|
|
41
41
|
}> & Readonly<{
|
|
42
42
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
43
|
-
}>, {
|
|
44
|
-
defaultValue: string;
|
|
45
|
-
throttle: number;
|
|
46
|
-
format: "hex" | "rgb" | "hsl" | "cmyk" | "lab";
|
|
47
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
44
|
declare const _default: typeof __VLS_export;
|
|
49
45
|
export default _default;
|
|
@@ -40,10 +40,6 @@ declare const __VLS_export: import("vue").DefineComponent<ColorPickerProps & {
|
|
|
40
40
|
modelValue?: string;
|
|
41
41
|
}> & Readonly<{
|
|
42
42
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
43
|
-
}>, {
|
|
44
|
-
defaultValue: string;
|
|
45
|
-
throttle: number;
|
|
46
|
-
format: "hex" | "rgb" | "hsl" | "cmyk" | "lab";
|
|
47
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
44
|
declare const _default: typeof __VLS_export;
|
|
49
45
|
export default _default;
|
|
@@ -3,7 +3,7 @@ import type { AppConfig } from '@nuxt/schema';
|
|
|
3
3
|
import type { UseFuseOptions } from '@vueuse/integrations/useFuse';
|
|
4
4
|
import theme from '#build/b24ui/command-palette';
|
|
5
5
|
import type { UseComponentIconsProps } from '../composables/useComponentIcons';
|
|
6
|
-
import type { AvatarProps, ButtonProps, ChipProps, KbdProps, InputProps, LinkProps, IconComponent } from '../types';
|
|
6
|
+
import type { AvatarProps, ButtonProps, ChipProps, KbdProps, InputProps, LinkProps, IconComponent, LinkPropsKeys } from '../types';
|
|
7
7
|
import type { GetItemKeys } from '../types/utils';
|
|
8
8
|
import type { ComponentConfig } from '../types/tv';
|
|
9
9
|
type CommandPalette = ComponentConfig<typeof theme, AppConfig, 'commandPalette'>;
|
|
@@ -101,7 +101,7 @@ export interface CommandPaletteProps<G extends CommandPaletteGroup<T> = CommandP
|
|
|
101
101
|
* @emits 'update:open'
|
|
102
102
|
* @defaultValue false
|
|
103
103
|
*/
|
|
104
|
-
close?: boolean |
|
|
104
|
+
close?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
105
105
|
/**
|
|
106
106
|
* The icon displayed in the close button.
|
|
107
107
|
* @defaultValue icons.close
|
|
@@ -113,7 +113,7 @@ export interface CommandPaletteProps<G extends CommandPaletteGroup<T> = CommandP
|
|
|
113
113
|
* `{ size: 'sm', color: 'air-selection' }`{lang="ts-type"}
|
|
114
114
|
* @defaultValue true
|
|
115
115
|
*/
|
|
116
|
-
back?: boolean | ButtonProps
|
|
116
|
+
back?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
117
117
|
/**
|
|
118
118
|
* The icon displayed in the back button.
|
|
119
119
|
* @defaultValue icons.arrowLeft
|
|
@@ -200,17 +200,12 @@ export type CommandPaletteSlots<G extends CommandPaletteGroup<T> = CommandPalett
|
|
|
200
200
|
declare const __VLS_export: <G extends CommandPaletteGroup<T>, T extends CommandPaletteItem>(__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
201
|
props: __VLS_PrettifyLocal<(CommandPaletteProps<G, T> & {
|
|
202
202
|
searchTerm?: string;
|
|
203
|
-
}) & {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
} | undefined) => any) | undefined;
|
|
210
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
211
|
-
onLeave?: ((event: Event) => any) | undefined;
|
|
212
|
-
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
213
|
-
}> & import("vue").PublicProps;
|
|
203
|
+
}) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: T) => void) & ((evt: "highlight", payload: {
|
|
204
|
+
ref: HTMLElement;
|
|
205
|
+
value: T;
|
|
206
|
+
} | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
207
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
208
|
+
} ? P : {});
|
|
214
209
|
expose: (exposed: {}) => void;
|
|
215
210
|
attrs: any;
|
|
216
211
|
slots: CommandPaletteSlots<G, T>;
|
|
@@ -3,7 +3,7 @@ import type { AppConfig } from '@nuxt/schema';
|
|
|
3
3
|
import type { UseFuseOptions } from '@vueuse/integrations/useFuse';
|
|
4
4
|
import theme from '#build/b24ui/command-palette';
|
|
5
5
|
import type { UseComponentIconsProps } from '../composables/useComponentIcons';
|
|
6
|
-
import type { AvatarProps, ButtonProps, ChipProps, KbdProps, InputProps, LinkProps, IconComponent } from '../types';
|
|
6
|
+
import type { AvatarProps, ButtonProps, ChipProps, KbdProps, InputProps, LinkProps, IconComponent, LinkPropsKeys } from '../types';
|
|
7
7
|
import type { GetItemKeys } from '../types/utils';
|
|
8
8
|
import type { ComponentConfig } from '../types/tv';
|
|
9
9
|
type CommandPalette = ComponentConfig<typeof theme, AppConfig, 'commandPalette'>;
|
|
@@ -101,7 +101,7 @@ export interface CommandPaletteProps<G extends CommandPaletteGroup<T> = CommandP
|
|
|
101
101
|
* @emits 'update:open'
|
|
102
102
|
* @defaultValue false
|
|
103
103
|
*/
|
|
104
|
-
close?: boolean |
|
|
104
|
+
close?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
105
105
|
/**
|
|
106
106
|
* The icon displayed in the close button.
|
|
107
107
|
* @defaultValue icons.close
|
|
@@ -113,7 +113,7 @@ export interface CommandPaletteProps<G extends CommandPaletteGroup<T> = CommandP
|
|
|
113
113
|
* `{ size: 'sm', color: 'air-selection' }`{lang="ts-type"}
|
|
114
114
|
* @defaultValue true
|
|
115
115
|
*/
|
|
116
|
-
back?: boolean | ButtonProps
|
|
116
|
+
back?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
117
117
|
/**
|
|
118
118
|
* The icon displayed in the back button.
|
|
119
119
|
* @defaultValue icons.arrowLeft
|
|
@@ -200,17 +200,12 @@ export type CommandPaletteSlots<G extends CommandPaletteGroup<T> = CommandPalett
|
|
|
200
200
|
declare const __VLS_export: <G extends CommandPaletteGroup<T>, T extends CommandPaletteItem>(__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
201
|
props: __VLS_PrettifyLocal<(CommandPaletteProps<G, T> & {
|
|
202
202
|
searchTerm?: string;
|
|
203
|
-
}) & {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
} | undefined) => any) | undefined;
|
|
210
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
211
|
-
onLeave?: ((event: Event) => any) | undefined;
|
|
212
|
-
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
213
|
-
}> & import("vue").PublicProps;
|
|
203
|
+
}) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: T) => void) & ((evt: "highlight", payload: {
|
|
204
|
+
ref: HTMLElement;
|
|
205
|
+
value: T;
|
|
206
|
+
} | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
207
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
208
|
+
} ? P : {});
|
|
214
209
|
expose: (exposed: {}) => void;
|
|
215
210
|
attrs: any;
|
|
216
211
|
slots: CommandPaletteSlots<G, T>;
|
|
@@ -112,9 +112,9 @@ export type ContextMenuSlots<A extends ArrayOrNested<ContextMenuItem> = ArrayOrN
|
|
|
112
112
|
b24ui: ContextMenu['b24ui'];
|
|
113
113
|
}>;
|
|
114
114
|
declare const __VLS_export: <T extends ArrayOrNested<ContextMenuItem>>(__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<{
|
|
115
|
-
props: __VLS_PrettifyLocal<ContextMenuProps<T> & {
|
|
116
|
-
|
|
117
|
-
}
|
|
115
|
+
props: __VLS_PrettifyLocal<ContextMenuProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:open", payload: boolean) => void>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
116
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
117
|
+
} ? P : {});
|
|
118
118
|
expose: (exposed: {}) => void;
|
|
119
119
|
attrs: any;
|
|
120
120
|
slots: ContextMenuSlots<T, NestedItem<T>>;
|
|
@@ -112,9 +112,9 @@ export type ContextMenuSlots<A extends ArrayOrNested<ContextMenuItem> = ArrayOrN
|
|
|
112
112
|
b24ui: ContextMenu['b24ui'];
|
|
113
113
|
}>;
|
|
114
114
|
declare const __VLS_export: <T extends ArrayOrNested<ContextMenuItem>>(__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<{
|
|
115
|
-
props: __VLS_PrettifyLocal<ContextMenuProps<T> & {
|
|
116
|
-
|
|
117
|
-
}
|
|
115
|
+
props: __VLS_PrettifyLocal<ContextMenuProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:open", payload: boolean) => void>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
116
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
117
|
+
} ? P : {});
|
|
118
118
|
expose: (exposed: {}) => void;
|
|
119
119
|
attrs: any;
|
|
120
120
|
slots: ContextMenuSlots<T, NestedItem<T>>;
|
|
@@ -29,13 +29,9 @@ interface ContextMenuContentProps<T extends ArrayOrNested<ContextMenuItem>> exte
|
|
|
29
29
|
b24uiOverride?: ContextMenu['slots'];
|
|
30
30
|
}
|
|
31
31
|
declare const __VLS_export: <T extends ArrayOrNested<ContextMenuItem>>(__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<{
|
|
32
|
-
props: __VLS_PrettifyLocal<ContextMenuContentProps<T> & {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
36
|
-
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
37
|
-
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
38
|
-
}> & import("vue").PublicProps;
|
|
32
|
+
props: __VLS_PrettifyLocal<ContextMenuContentProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: import("reka-ui").PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: import("reka-ui").FocusOutsideEvent) => void) & ((evt: "interactOutside", event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
33
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
34
|
+
} ? P : {});
|
|
39
35
|
expose: (exposed: {}) => void;
|
|
40
36
|
attrs: any;
|
|
41
37
|
slots: ContextMenuSlots<T>;
|
|
@@ -29,13 +29,9 @@ interface ContextMenuContentProps<T extends ArrayOrNested<ContextMenuItem>> exte
|
|
|
29
29
|
b24uiOverride?: ContextMenu['slots'];
|
|
30
30
|
}
|
|
31
31
|
declare const __VLS_export: <T extends ArrayOrNested<ContextMenuItem>>(__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<{
|
|
32
|
-
props: __VLS_PrettifyLocal<ContextMenuContentProps<T> & {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
36
|
-
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
37
|
-
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
38
|
-
}> & import("vue").PublicProps;
|
|
32
|
+
props: __VLS_PrettifyLocal<ContextMenuContentProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: import("reka-ui").PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: import("reka-ui").FocusOutsideEvent) => void) & ((evt: "interactOutside", event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
33
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
34
|
+
} ? P : {});
|
|
39
35
|
expose: (exposed: {}) => void;
|
|
40
36
|
attrs: any;
|
|
41
37
|
slots: ContextMenuSlots<T>;
|
|
@@ -93,16 +93,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Countd
|
|
|
93
93
|
onAbort?: (() => any) | undefined;
|
|
94
94
|
onProgress?: ((value: CountdownData) => any) | undefined;
|
|
95
95
|
onStart?: (() => any) | undefined;
|
|
96
|
-
}>, {
|
|
97
|
-
as: any;
|
|
98
|
-
emitEvents: boolean;
|
|
99
|
-
seconds: number | string;
|
|
100
|
-
showMinutes: boolean;
|
|
101
|
-
useCircle: boolean;
|
|
102
|
-
interval: number;
|
|
103
|
-
needStartImmediately: boolean;
|
|
104
|
-
now: () => number;
|
|
105
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CountdownSlots>;
|
|
96
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CountdownSlots>;
|
|
106
97
|
declare const _default: typeof __VLS_export;
|
|
107
98
|
export default _default;
|
|
108
99
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -93,16 +93,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Countd
|
|
|
93
93
|
onAbort?: (() => any) | undefined;
|
|
94
94
|
onProgress?: ((value: CountdownData) => any) | undefined;
|
|
95
95
|
onStart?: (() => any) | undefined;
|
|
96
|
-
}>, {
|
|
97
|
-
as: any;
|
|
98
|
-
emitEvents: boolean;
|
|
99
|
-
seconds: number | string;
|
|
100
|
-
showMinutes: boolean;
|
|
101
|
-
useCircle: boolean;
|
|
102
|
-
interval: number;
|
|
103
|
-
needStartImmediately: boolean;
|
|
104
|
-
now: () => number;
|
|
105
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CountdownSlots>;
|
|
96
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CountdownSlots>;
|
|
106
97
|
declare const _default: typeof __VLS_export;
|
|
107
98
|
export default _default;
|
|
108
99
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -10,10 +10,7 @@ export interface DashboardGroupProps extends Pick<UseLoadingProps, 'id' | 'stora
|
|
|
10
10
|
export interface DashboardGroupSlots {
|
|
11
11
|
default(props?: {}): any;
|
|
12
12
|
}
|
|
13
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<DashboardGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardGroupProps> & Readonly<{}>, {
|
|
14
|
-
storage: "cookie" | "local";
|
|
15
|
-
storageKey: string;
|
|
16
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardGroupSlots>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<DashboardGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardGroupSlots>;
|
|
17
14
|
declare const _default: typeof __VLS_export;
|
|
18
15
|
export default _default;
|
|
19
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -10,10 +10,7 @@ export interface DashboardGroupProps extends Pick<UseLoadingProps, 'id' | 'stora
|
|
|
10
10
|
export interface DashboardGroupSlots {
|
|
11
11
|
default(props?: {}): any;
|
|
12
12
|
}
|
|
13
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<DashboardGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardGroupProps> & Readonly<{}>, {
|
|
14
|
-
storage: "cookie" | "local";
|
|
15
|
-
storageKey: string;
|
|
16
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardGroupSlots>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<DashboardGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardGroupSlots>;
|
|
17
14
|
declare const _default: typeof __VLS_export;
|
|
18
15
|
export default _default;
|
|
19
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import type { UseFuseOptions } from '@vueuse/integrations/useFuse';
|
|
3
3
|
import theme from '#build/b24ui/dashboard-search';
|
|
4
|
-
import type { ButtonProps, InputProps, ModalProps, CommandPaletteProps, CommandPaletteSlots, CommandPaletteGroup, CommandPaletteItem, IconComponent } from '../types';
|
|
4
|
+
import type { ButtonProps, InputProps, ModalProps, CommandPaletteProps, CommandPaletteSlots, CommandPaletteGroup, CommandPaletteItem, IconComponent, LinkPropsKeys } from '../types';
|
|
5
5
|
import type { ComponentConfig } from '../types/tv';
|
|
6
6
|
type DashboardSearch = ComponentConfig<typeof theme, AppConfig, 'dashboardSearch'>;
|
|
7
7
|
/**
|
|
@@ -32,7 +32,7 @@ export interface DashboardSearchProps<T extends CommandPaletteItem = CommandPale
|
|
|
32
32
|
* @emits 'update:open'
|
|
33
33
|
* @defaultValue true
|
|
34
34
|
*/
|
|
35
|
-
close?: boolean |
|
|
35
|
+
close?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
36
36
|
/**
|
|
37
37
|
* The icon displayed in the close button.
|
|
38
38
|
* @defaultValue icons.close
|
|
@@ -67,7 +67,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Dashbo
|
|
|
67
67
|
open?: boolean;
|
|
68
68
|
searchTerm?: string;
|
|
69
69
|
}, {
|
|
70
|
-
commandPaletteRef: Readonly<import("vue").ShallowRef<
|
|
70
|
+
commandPaletteRef: Readonly<import("vue").ShallowRef<any>>;
|
|
71
71
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
72
|
"update:open": (value: boolean) => any;
|
|
73
73
|
"update:searchTerm": (value: string) => any;
|
|
@@ -77,12 +77,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Dashbo
|
|
|
77
77
|
}> & Readonly<{
|
|
78
78
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
79
79
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
80
|
-
}>, {
|
|
81
|
-
close: boolean | Partial<ButtonProps>;
|
|
82
|
-
colorMode: boolean;
|
|
83
|
-
fullscreen: boolean;
|
|
84
|
-
shortcut: string;
|
|
85
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardSearchSlots>;
|
|
80
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardSearchSlots>;
|
|
86
81
|
declare const _default: typeof __VLS_export;
|
|
87
82
|
export default _default;
|
|
88
83
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import type { UseFuseOptions } from '@vueuse/integrations/useFuse';
|
|
3
3
|
import theme from '#build/b24ui/dashboard-search';
|
|
4
|
-
import type { ButtonProps, InputProps, ModalProps, CommandPaletteProps, CommandPaletteSlots, CommandPaletteGroup, CommandPaletteItem, IconComponent } from '../types';
|
|
4
|
+
import type { ButtonProps, InputProps, ModalProps, CommandPaletteProps, CommandPaletteSlots, CommandPaletteGroup, CommandPaletteItem, IconComponent, LinkPropsKeys } from '../types';
|
|
5
5
|
import type { ComponentConfig } from '../types/tv';
|
|
6
6
|
type DashboardSearch = ComponentConfig<typeof theme, AppConfig, 'dashboardSearch'>;
|
|
7
7
|
/**
|
|
@@ -32,7 +32,7 @@ export interface DashboardSearchProps<T extends CommandPaletteItem = CommandPale
|
|
|
32
32
|
* @emits 'update:open'
|
|
33
33
|
* @defaultValue true
|
|
34
34
|
*/
|
|
35
|
-
close?: boolean |
|
|
35
|
+
close?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
36
36
|
/**
|
|
37
37
|
* The icon displayed in the close button.
|
|
38
38
|
* @defaultValue icons.close
|
|
@@ -67,7 +67,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Dashbo
|
|
|
67
67
|
open?: boolean;
|
|
68
68
|
searchTerm?: string;
|
|
69
69
|
}, {
|
|
70
|
-
commandPaletteRef: Readonly<import("vue").ShallowRef<
|
|
70
|
+
commandPaletteRef: Readonly<import("vue").ShallowRef<any>>;
|
|
71
71
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
72
|
"update:open": (value: boolean) => any;
|
|
73
73
|
"update:searchTerm": (value: string) => any;
|
|
@@ -77,12 +77,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Dashbo
|
|
|
77
77
|
}> & Readonly<{
|
|
78
78
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
79
79
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
80
|
-
}>, {
|
|
81
|
-
close: boolean | Partial<ButtonProps>;
|
|
82
|
-
colorMode: boolean;
|
|
83
|
-
fullscreen: boolean;
|
|
84
|
-
shortcut: string;
|
|
85
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardSearchSlots>;
|
|
80
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardSearchSlots>;
|
|
86
81
|
declare const _default: typeof __VLS_export;
|
|
87
82
|
export default _default;
|
|
88
83
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import theme from '#build/b24ui/dashboard-search-button';
|
|
3
|
-
import type { ButtonProps, ButtonSlots, IconComponent, KbdProps, TooltipProps } from '../types';
|
|
3
|
+
import type { ButtonProps, ButtonSlots, IconComponent, KbdProps, TooltipProps, LinkPropsKeys } from '../types';
|
|
4
4
|
import type { ComponentConfig } from '../types/tv';
|
|
5
5
|
type DashboardSearchButton = ComponentConfig<typeof theme, AppConfig, 'dashboardSearchButton'>;
|
|
6
|
-
export interface DashboardSearchButtonProps extends Omit<ButtonProps, 'icon' | 'label' | 'color'> {
|
|
6
|
+
export interface DashboardSearchButtonProps extends Omit<ButtonProps, LinkPropsKeys | 'icon' | 'label' | 'color'> {
|
|
7
7
|
/**
|
|
8
8
|
* The icon displayed in the button.
|
|
9
9
|
* @defaultValue icons.search
|
|
@@ -39,12 +39,7 @@ export interface DashboardSearchButtonProps extends Omit<ButtonProps, 'icon' | '
|
|
|
39
39
|
b24ui?: DashboardSearchButton['slots'] & ButtonProps['b24ui'];
|
|
40
40
|
class?: any;
|
|
41
41
|
}
|
|
42
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<DashboardSearchButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardSearchButtonProps> & Readonly<{}>, {
|
|
43
|
-
color: "default" | "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-accent" | "air-secondary-accent-1" | "air-tertiary" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-alert" | "air-secondary-accent-2" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost";
|
|
44
|
-
tooltip: boolean | TooltipProps;
|
|
45
|
-
kbds: KbdProps["value"][] | KbdProps[];
|
|
46
|
-
collapsed: boolean;
|
|
47
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
42
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<DashboardSearchButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardSearchButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
48
43
|
declare const _default: typeof __VLS_export;
|
|
49
44
|
export default _default;
|
|
50
45
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -38,33 +38,14 @@ const props = defineProps({
|
|
|
38
38
|
useClock: { type: Boolean, required: false },
|
|
39
39
|
useDropdown: { type: Boolean, required: false },
|
|
40
40
|
onClick: { type: [Function, Array], required: false },
|
|
41
|
-
activeClass: { type: String, required: false },
|
|
42
|
-
inactiveClass: { type: String, required: false },
|
|
43
41
|
avatar: { type: Object, required: false },
|
|
44
42
|
loading: { type: Boolean, required: false },
|
|
45
43
|
as: { type: null, required: false },
|
|
46
44
|
type: { type: null, required: false },
|
|
47
45
|
disabled: { type: Boolean, required: false },
|
|
48
|
-
active: { type: Boolean, required: false },
|
|
49
|
-
exact: { type: Boolean, required: false },
|
|
50
|
-
exactQuery: { type: [Boolean, String], required: false },
|
|
51
|
-
exactHash: { type: Boolean, required: false },
|
|
52
46
|
isAction: { type: Boolean, required: false },
|
|
53
|
-
to: { type: null, required: false },
|
|
54
|
-
href: { type: null, required: false },
|
|
55
|
-
external: { type: Boolean, required: false },
|
|
56
|
-
target: { type: [String, Object, null], required: false },
|
|
57
|
-
rel: { type: [String, Object, null], required: false },
|
|
58
|
-
noRel: { type: Boolean, required: false },
|
|
59
|
-
prefetchedClass: { type: String, required: false },
|
|
60
|
-
prefetch: { type: Boolean, required: false },
|
|
61
|
-
prefetchOn: { type: [String, Object], required: false },
|
|
62
|
-
noPrefetch: { type: Boolean, required: false },
|
|
63
|
-
trailingSlash: { type: String, required: false },
|
|
64
47
|
exactActiveClass: { type: String, required: false },
|
|
65
|
-
|
|
66
|
-
viewTransition: { type: Boolean, required: false },
|
|
67
|
-
replace: { type: Boolean, required: false }
|
|
48
|
+
viewTransition: { type: Boolean, required: false }
|
|
68
49
|
});
|
|
69
50
|
const slots = defineSlots();
|
|
70
51
|
const [DefineButtonTemplate, ReuseButtonTemplate] = createReusableTemplate();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import theme from '#build/b24ui/dashboard-search-button';
|
|
3
|
-
import type { ButtonProps, ButtonSlots, IconComponent, KbdProps, TooltipProps } from '../types';
|
|
3
|
+
import type { ButtonProps, ButtonSlots, IconComponent, KbdProps, TooltipProps, LinkPropsKeys } from '../types';
|
|
4
4
|
import type { ComponentConfig } from '../types/tv';
|
|
5
5
|
type DashboardSearchButton = ComponentConfig<typeof theme, AppConfig, 'dashboardSearchButton'>;
|
|
6
|
-
export interface DashboardSearchButtonProps extends Omit<ButtonProps, 'icon' | 'label' | 'color'> {
|
|
6
|
+
export interface DashboardSearchButtonProps extends Omit<ButtonProps, LinkPropsKeys | 'icon' | 'label' | 'color'> {
|
|
7
7
|
/**
|
|
8
8
|
* The icon displayed in the button.
|
|
9
9
|
* @defaultValue icons.search
|
|
@@ -39,12 +39,7 @@ export interface DashboardSearchButtonProps extends Omit<ButtonProps, 'icon' | '
|
|
|
39
39
|
b24ui?: DashboardSearchButton['slots'] & ButtonProps['b24ui'];
|
|
40
40
|
class?: any;
|
|
41
41
|
}
|
|
42
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<DashboardSearchButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardSearchButtonProps> & Readonly<{}>, {
|
|
43
|
-
color: "default" | "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-accent" | "air-secondary-accent-1" | "air-tertiary" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-alert" | "air-secondary-accent-2" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost";
|
|
44
|
-
tooltip: boolean | TooltipProps;
|
|
45
|
-
kbds: KbdProps["value"][] | KbdProps[];
|
|
46
|
-
collapsed: boolean;
|
|
47
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
42
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<DashboardSearchButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardSearchButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
48
43
|
declare const _default: typeof __VLS_export;
|
|
49
44
|
export default _default;
|
|
50
45
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -80,7 +80,9 @@ export type DescriptionListSlots<T extends DescriptionListItem = DescriptionList
|
|
|
80
80
|
b24ui: DescriptionList['b24ui'];
|
|
81
81
|
}>;
|
|
82
82
|
declare const __VLS_export: <T extends DescriptionListItem>(__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<{
|
|
83
|
-
props: __VLS_PrettifyLocal<DescriptionListProps<T>> & import("vue").PublicProps
|
|
83
|
+
props: __VLS_PrettifyLocal<DescriptionListProps<T>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
84
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
85
|
+
} ? P : {});
|
|
84
86
|
expose: (exposed: {}) => void;
|
|
85
87
|
attrs: any;
|
|
86
88
|
slots: DescriptionListSlots<T>;
|
|
@@ -80,7 +80,9 @@ export type DescriptionListSlots<T extends DescriptionListItem = DescriptionList
|
|
|
80
80
|
b24ui: DescriptionList['b24ui'];
|
|
81
81
|
}>;
|
|
82
82
|
declare const __VLS_export: <T extends DescriptionListItem>(__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<{
|
|
83
|
-
props: __VLS_PrettifyLocal<DescriptionListProps<T>> & import("vue").PublicProps
|
|
83
|
+
props: __VLS_PrettifyLocal<DescriptionListProps<T>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
84
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
85
|
+
} ? P : {});
|
|
84
86
|
expose: (exposed: {}) => void;
|
|
85
87
|
attrs: any;
|
|
86
88
|
slots: DescriptionListSlots<T>;
|
|
@@ -119,9 +119,9 @@ export type DropdownMenuSlots<A extends ArrayOrNested<DropdownMenuItem> = ArrayO
|
|
|
119
119
|
b24ui: DropdownMenu['b24ui'];
|
|
120
120
|
}>;
|
|
121
121
|
declare const __VLS_export: <T extends ArrayOrNested<DropdownMenuItem>>(__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<{
|
|
122
|
-
props: __VLS_PrettifyLocal<DropdownMenuProps<T> & {
|
|
123
|
-
|
|
124
|
-
}
|
|
122
|
+
props: __VLS_PrettifyLocal<DropdownMenuProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:open", payload: boolean) => void>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
123
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
124
|
+
} ? P : {});
|
|
125
125
|
expose: (exposed: {}) => void;
|
|
126
126
|
attrs: any;
|
|
127
127
|
slots: DropdownMenuSlots<T, NestedItem<T>>;
|
|
@@ -119,9 +119,9 @@ export type DropdownMenuSlots<A extends ArrayOrNested<DropdownMenuItem> = ArrayO
|
|
|
119
119
|
b24ui: DropdownMenu['b24ui'];
|
|
120
120
|
}>;
|
|
121
121
|
declare const __VLS_export: <T extends ArrayOrNested<DropdownMenuItem>>(__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<{
|
|
122
|
-
props: __VLS_PrettifyLocal<DropdownMenuProps<T> & {
|
|
123
|
-
|
|
124
|
-
}
|
|
122
|
+
props: __VLS_PrettifyLocal<DropdownMenuProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:open", payload: boolean) => void>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
123
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
124
|
+
} ? P : {});
|
|
125
125
|
expose: (exposed: {}) => void;
|
|
126
126
|
attrs: any;
|
|
127
127
|
slots: DropdownMenuSlots<T, NestedItem<T>>;
|