@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
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defu } from 'defu';
|
|
2
2
|
import { defineNuxtModule, createResolver, addPlugin, hasNuxtModule, addComponentsDir, addImportsDir, installModule } from '@nuxt/kit';
|
|
3
|
-
import { d as defaultOptions, v as version, n as name, a as getDefaultConfig, b as addTemplates } from './shared/b24ui-nuxt.
|
|
3
|
+
import { d as defaultOptions, v as version, n as name, a as getDefaultConfig, b as addTemplates } from './shared/b24ui-nuxt.auTgHcA7.mjs';
|
|
4
4
|
import 'node:url';
|
|
5
5
|
import 'scule';
|
|
6
6
|
import 'knitwork';
|
|
@@ -69,9 +69,9 @@ export type AccordionSlots<T extends AccordionItem = AccordionItem> = {
|
|
|
69
69
|
b24ui: Accordion['b24ui'];
|
|
70
70
|
}>;
|
|
71
71
|
declare const __VLS_export: <T extends AccordionItem>(__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<{
|
|
72
|
-
props: __VLS_PrettifyLocal<AccordionProps<T> & {
|
|
73
|
-
|
|
74
|
-
}
|
|
72
|
+
props: __VLS_PrettifyLocal<AccordionProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:modelValue", value: string | string[] | undefined) => void>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
73
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
74
|
+
} ? P : {});
|
|
75
75
|
expose: (exposed: {}) => void;
|
|
76
76
|
attrs: any;
|
|
77
77
|
slots: AccordionSlots<T>;
|
|
@@ -69,9 +69,9 @@ export type AccordionSlots<T extends AccordionItem = AccordionItem> = {
|
|
|
69
69
|
b24ui: Accordion['b24ui'];
|
|
70
70
|
}>;
|
|
71
71
|
declare const __VLS_export: <T extends AccordionItem>(__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<{
|
|
72
|
-
props: __VLS_PrettifyLocal<AccordionProps<T> & {
|
|
73
|
-
|
|
74
|
-
}
|
|
72
|
+
props: __VLS_PrettifyLocal<AccordionProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:modelValue", value: string | string[] | undefined) => void>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
73
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
74
|
+
} ? P : {});
|
|
75
75
|
expose: (exposed: {}) => void;
|
|
76
76
|
attrs: any;
|
|
77
77
|
slots: AccordionSlots<T>;
|
|
@@ -23,10 +23,7 @@ export interface AdviceSlots {
|
|
|
23
23
|
}): any;
|
|
24
24
|
default(props?: {}): any;
|
|
25
25
|
}
|
|
26
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AdviceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AdviceProps> & Readonly<{}>, {
|
|
27
|
-
as: any;
|
|
28
|
-
angle: Advice["variants"]["angle"];
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AdviceSlots>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AdviceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AdviceProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AdviceSlots>;
|
|
30
27
|
declare const _default: typeof __VLS_export;
|
|
31
28
|
export default _default;
|
|
32
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -23,10 +23,7 @@ export interface AdviceSlots {
|
|
|
23
23
|
}): any;
|
|
24
24
|
default(props?: {}): any;
|
|
25
25
|
}
|
|
26
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AdviceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AdviceProps> & Readonly<{}>, {
|
|
27
|
-
as: any;
|
|
28
|
-
angle: Advice["variants"]["angle"];
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AdviceSlots>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AdviceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AdviceProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AdviceSlots>;
|
|
30
27
|
declare const _default: typeof __VLS_export;
|
|
31
28
|
export default _default;
|
|
32
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import theme from '#build/b24ui/alert';
|
|
3
|
-
import type { AvatarProps, ButtonProps, IconComponent } from '../types';
|
|
3
|
+
import type { AvatarProps, ButtonProps, IconComponent, LinkPropsKeys } from '../types';
|
|
4
4
|
import type { ComponentConfig } from '../types/tv';
|
|
5
5
|
type Alert = ComponentConfig<typeof theme, AppConfig, 'alert'>;
|
|
6
6
|
export interface AlertProps {
|
|
@@ -49,7 +49,7 @@ export interface AlertProps {
|
|
|
49
49
|
* @emits 'update:open'
|
|
50
50
|
* @defaultValue false
|
|
51
51
|
*/
|
|
52
|
-
close?: boolean |
|
|
52
|
+
close?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
53
53
|
/**
|
|
54
54
|
* The icon displayed in the close button.
|
|
55
55
|
* @defaultValue icons.close
|
|
@@ -77,10 +77,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AlertP
|
|
|
77
77
|
"update:open": (value: boolean) => any;
|
|
78
78
|
}, string, import("vue").PublicProps, Readonly<AlertProps> & Readonly<{
|
|
79
79
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
80
|
-
}>, {
|
|
81
|
-
inverted: boolean;
|
|
82
|
-
orientation: Alert["variants"]["orientation"];
|
|
83
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AlertSlots>;
|
|
80
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AlertSlots>;
|
|
84
81
|
declare const _default: typeof __VLS_export;
|
|
85
82
|
export default _default;
|
|
86
83
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import theme from '#build/b24ui/alert';
|
|
3
|
-
import type { AvatarProps, ButtonProps, IconComponent } from '../types';
|
|
3
|
+
import type { AvatarProps, ButtonProps, IconComponent, LinkPropsKeys } from '../types';
|
|
4
4
|
import type { ComponentConfig } from '../types/tv';
|
|
5
5
|
type Alert = ComponentConfig<typeof theme, AppConfig, 'alert'>;
|
|
6
6
|
export interface AlertProps {
|
|
@@ -49,7 +49,7 @@ export interface AlertProps {
|
|
|
49
49
|
* @emits 'update:open'
|
|
50
50
|
* @defaultValue false
|
|
51
51
|
*/
|
|
52
|
-
close?: boolean |
|
|
52
|
+
close?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
53
53
|
/**
|
|
54
54
|
* The icon displayed in the close button.
|
|
55
55
|
* @defaultValue icons.close
|
|
@@ -77,10 +77,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<AlertP
|
|
|
77
77
|
"update:open": (value: boolean) => any;
|
|
78
78
|
}, string, import("vue").PublicProps, Readonly<AlertProps> & Readonly<{
|
|
79
79
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
80
|
-
}>, {
|
|
81
|
-
inverted: boolean;
|
|
82
|
-
orientation: Alert["variants"]["orientation"];
|
|
83
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AlertSlots>;
|
|
80
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AlertSlots>;
|
|
84
81
|
declare const _default: typeof __VLS_export;
|
|
85
82
|
export default _default;
|
|
86
83
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -10,7 +10,9 @@ export interface AppSlots {
|
|
|
10
10
|
default(props?: {}): any;
|
|
11
11
|
}
|
|
12
12
|
declare const __VLS_export: <T extends Messages>(__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<{
|
|
13
|
-
props: __VLS_PrettifyLocal<AppProps<T>> & import("vue").PublicProps
|
|
13
|
+
props: __VLS_PrettifyLocal<AppProps<T>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
14
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
15
|
+
} ? P : {});
|
|
14
16
|
expose: (exposed: {}) => void;
|
|
15
17
|
attrs: any;
|
|
16
18
|
slots: AppSlots;
|
|
@@ -10,7 +10,9 @@ export interface AppSlots {
|
|
|
10
10
|
default(props?: {}): any;
|
|
11
11
|
}
|
|
12
12
|
declare const __VLS_export: <T extends Messages>(__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<{
|
|
13
|
-
props: __VLS_PrettifyLocal<AppProps<T>> & import("vue").PublicProps
|
|
13
|
+
props: __VLS_PrettifyLocal<AppProps<T>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
14
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
15
|
+
} ? P : {});
|
|
14
16
|
expose: (exposed: {}) => void;
|
|
15
17
|
attrs: any;
|
|
16
18
|
slots: AppSlots;
|
|
@@ -51,10 +51,7 @@ export interface BadgeSlots {
|
|
|
51
51
|
b24ui: Badge['b24ui'];
|
|
52
52
|
}): any;
|
|
53
53
|
}
|
|
54
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
55
|
-
inverted: boolean;
|
|
56
|
-
as: any;
|
|
57
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BadgeSlots>;
|
|
54
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BadgeSlots>;
|
|
58
55
|
declare const _default: typeof __VLS_export;
|
|
59
56
|
export default _default;
|
|
60
57
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -51,10 +51,7 @@ export interface BadgeSlots {
|
|
|
51
51
|
b24ui: Badge['b24ui'];
|
|
52
52
|
}): any;
|
|
53
53
|
}
|
|
54
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
55
|
-
inverted: boolean;
|
|
56
|
-
as: any;
|
|
57
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BadgeSlots>;
|
|
54
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BadgeSlots>;
|
|
58
55
|
declare const _default: typeof __VLS_export;
|
|
59
56
|
export default _default;
|
|
60
57
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import theme from '#build/b24ui/banner';
|
|
3
|
-
import type { ButtonProps, IconComponent, LinkProps } from '../types';
|
|
3
|
+
import type { ButtonProps, IconComponent, LinkProps, LinkPropsKeys } from '../types';
|
|
4
4
|
import type { ComponentConfig } from '../types/tv';
|
|
5
5
|
type Banner = ComponentConfig<typeof theme, AppConfig, 'banner'>;
|
|
6
6
|
export interface BannerProps {
|
|
@@ -38,7 +38,7 @@ export interface BannerProps {
|
|
|
38
38
|
* @emits `close`
|
|
39
39
|
* @defaultValue false
|
|
40
40
|
*/
|
|
41
|
-
close?: boolean |
|
|
41
|
+
close?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
42
42
|
/**
|
|
43
43
|
* The icon displayed in the close button.
|
|
44
44
|
* @defaultValue icons.close
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import theme from '#build/b24ui/banner';
|
|
3
|
-
import type { ButtonProps, IconComponent, LinkProps } from '../types';
|
|
3
|
+
import type { ButtonProps, IconComponent, LinkProps, LinkPropsKeys } from '../types';
|
|
4
4
|
import type { ComponentConfig } from '../types/tv';
|
|
5
5
|
type Banner = ComponentConfig<typeof theme, AppConfig, 'banner'>;
|
|
6
6
|
export interface BannerProps {
|
|
@@ -38,7 +38,7 @@ export interface BannerProps {
|
|
|
38
38
|
* @emits `close`
|
|
39
39
|
* @defaultValue false
|
|
40
40
|
*/
|
|
41
|
-
close?: boolean |
|
|
41
|
+
close?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
42
42
|
/**
|
|
43
43
|
* The icon displayed in the close button.
|
|
44
44
|
* @defaultValue icons.close
|
|
@@ -68,7 +68,9 @@ export type BreadcrumbSlots<T extends BreadcrumbItem = BreadcrumbItem> = {
|
|
|
68
68
|
active?: boolean;
|
|
69
69
|
}>;
|
|
70
70
|
declare const __VLS_export: <T extends BreadcrumbItem>(__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<{
|
|
71
|
-
props: __VLS_PrettifyLocal<BreadcrumbProps<T>> & import("vue").PublicProps
|
|
71
|
+
props: __VLS_PrettifyLocal<BreadcrumbProps<T>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
72
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
73
|
+
} ? P : {});
|
|
72
74
|
expose: (exposed: {}) => void;
|
|
73
75
|
attrs: any;
|
|
74
76
|
slots: BreadcrumbSlots<T>;
|
|
@@ -68,7 +68,9 @@ export type BreadcrumbSlots<T extends BreadcrumbItem = BreadcrumbItem> = {
|
|
|
68
68
|
active?: boolean;
|
|
69
69
|
}>;
|
|
70
70
|
declare const __VLS_export: <T extends BreadcrumbItem>(__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<{
|
|
71
|
-
props: __VLS_PrettifyLocal<BreadcrumbProps<T>> & import("vue").PublicProps
|
|
71
|
+
props: __VLS_PrettifyLocal<BreadcrumbProps<T>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
72
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
73
|
+
} ? P : {});
|
|
72
74
|
expose: (exposed: {}) => void;
|
|
73
75
|
attrs: any;
|
|
74
76
|
slots: BreadcrumbSlots<T>;
|
|
@@ -81,10 +81,7 @@ export interface ButtonSlots {
|
|
|
81
81
|
b24ui: Button['b24ui'];
|
|
82
82
|
}): any;
|
|
83
83
|
}
|
|
84
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
85
|
-
type: "reset" | "submit" | "button";
|
|
86
|
-
normalCase: boolean;
|
|
87
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
84
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
88
85
|
declare const _default: typeof __VLS_export;
|
|
89
86
|
export default _default;
|
|
90
87
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -81,10 +81,7 @@ export interface ButtonSlots {
|
|
|
81
81
|
b24ui: Button['b24ui'];
|
|
82
82
|
}): any;
|
|
83
83
|
}
|
|
84
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
85
|
-
type: "reset" | "submit" | "button";
|
|
86
|
-
normalCase: boolean;
|
|
87
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
84
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
88
85
|
declare const _default: typeof __VLS_export;
|
|
89
86
|
export default _default;
|
|
90
87
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,7 +2,7 @@ import type { CalendarRootProps, CalendarRootEmits, RangeCalendarRootProps, Rang
|
|
|
2
2
|
import type { DateValue } from '@internationalized/date';
|
|
3
3
|
import type { AppConfig } from '@nuxt/schema';
|
|
4
4
|
import theme from '#build/b24ui/calendar';
|
|
5
|
-
import type { IconComponent, ButtonProps } from '../types';
|
|
5
|
+
import type { IconComponent, ButtonProps, LinkPropsKeys } from '../types';
|
|
6
6
|
import type { ComponentConfig } from '../types/tv';
|
|
7
7
|
type Calendar = ComponentConfig<typeof theme, AppConfig, 'calendar'>;
|
|
8
8
|
type CalendarDefaultValue<R extends boolean = false, M extends boolean = false> = R extends true ? DateRange : M extends true ? DateValue[] : DateValue;
|
|
@@ -25,7 +25,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
|
|
|
25
25
|
* Configure the next year button.
|
|
26
26
|
* `{ color: 'air-tertiary' }`{lang="ts"}
|
|
27
27
|
*/
|
|
28
|
-
nextYear?: ButtonProps
|
|
28
|
+
nextYear?: Omit<ButtonProps, LinkPropsKeys>;
|
|
29
29
|
/**
|
|
30
30
|
* The icon to use for the next month control.
|
|
31
31
|
* @defaultValue icons.chevronRight
|
|
@@ -36,7 +36,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
|
|
|
36
36
|
* Configure the next month button.
|
|
37
37
|
* `{ color: 'air-tertiary' }`{lang="ts"}
|
|
38
38
|
*/
|
|
39
|
-
nextMonth?: ButtonProps
|
|
39
|
+
nextMonth?: Omit<ButtonProps, LinkPropsKeys>;
|
|
40
40
|
/**
|
|
41
41
|
* The icon to use for the previous year control.
|
|
42
42
|
* @defaultValue icons.chevronDoubleLeft
|
|
@@ -47,7 +47,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
|
|
|
47
47
|
* Configure the prev year button.
|
|
48
48
|
* `{ color: 'air-tertiary' }`{lang="ts"}
|
|
49
49
|
*/
|
|
50
|
-
prevYear?: ButtonProps
|
|
50
|
+
prevYear?: Omit<ButtonProps, LinkPropsKeys>;
|
|
51
51
|
/**
|
|
52
52
|
* The icon to use for the previous month control.
|
|
53
53
|
* @defaultValue icons.chevronLeft
|
|
@@ -58,7 +58,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
|
|
|
58
58
|
* Configure the prev month button.
|
|
59
59
|
* `{ color: 'air-tertiary' }`{lang="ts"}
|
|
60
60
|
*/
|
|
61
|
-
prevMonth?: ButtonProps
|
|
61
|
+
prevMonth?: Omit<ButtonProps, LinkPropsKeys>;
|
|
62
62
|
/**
|
|
63
63
|
* @defaultValue 'air-primary'
|
|
64
64
|
*/
|
|
@@ -99,12 +99,9 @@ export interface CalendarSlots {
|
|
|
99
99
|
}) => any;
|
|
100
100
|
}
|
|
101
101
|
declare const __VLS_export: <R extends boolean, M extends boolean>(__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<{
|
|
102
|
-
props: __VLS_PrettifyLocal<CalendarProps<R, M> & {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"onUpdate:validModelValue"?: ((date: DateRange) => any) | undefined;
|
|
106
|
-
"onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
|
|
107
|
-
}> & import("vue").PublicProps;
|
|
102
|
+
props: __VLS_PrettifyLocal<CalendarProps<R, M> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:modelValue", date: CalendarModelValue<R, M>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:validModelValue", date: DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
103
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
104
|
+
} ? P : {});
|
|
108
105
|
expose: (exposed: {}) => void;
|
|
109
106
|
attrs: any;
|
|
110
107
|
slots: CalendarSlots;
|
|
@@ -2,7 +2,7 @@ import type { CalendarRootProps, CalendarRootEmits, RangeCalendarRootProps, Rang
|
|
|
2
2
|
import type { DateValue } from '@internationalized/date';
|
|
3
3
|
import type { AppConfig } from '@nuxt/schema';
|
|
4
4
|
import theme from '#build/b24ui/calendar';
|
|
5
|
-
import type { IconComponent, ButtonProps } from '../types';
|
|
5
|
+
import type { IconComponent, ButtonProps, LinkPropsKeys } from '../types';
|
|
6
6
|
import type { ComponentConfig } from '../types/tv';
|
|
7
7
|
type Calendar = ComponentConfig<typeof theme, AppConfig, 'calendar'>;
|
|
8
8
|
type CalendarDefaultValue<R extends boolean = false, M extends boolean = false> = R extends true ? DateRange : M extends true ? DateValue[] : DateValue;
|
|
@@ -25,7 +25,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
|
|
|
25
25
|
* Configure the next year button.
|
|
26
26
|
* `{ color: 'air-tertiary' }`{lang="ts"}
|
|
27
27
|
*/
|
|
28
|
-
nextYear?: ButtonProps
|
|
28
|
+
nextYear?: Omit<ButtonProps, LinkPropsKeys>;
|
|
29
29
|
/**
|
|
30
30
|
* The icon to use for the next month control.
|
|
31
31
|
* @defaultValue icons.chevronRight
|
|
@@ -36,7 +36,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
|
|
|
36
36
|
* Configure the next month button.
|
|
37
37
|
* `{ color: 'air-tertiary' }`{lang="ts"}
|
|
38
38
|
*/
|
|
39
|
-
nextMonth?: ButtonProps
|
|
39
|
+
nextMonth?: Omit<ButtonProps, LinkPropsKeys>;
|
|
40
40
|
/**
|
|
41
41
|
* The icon to use for the previous year control.
|
|
42
42
|
* @defaultValue icons.chevronDoubleLeft
|
|
@@ -47,7 +47,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
|
|
|
47
47
|
* Configure the prev year button.
|
|
48
48
|
* `{ color: 'air-tertiary' }`{lang="ts"}
|
|
49
49
|
*/
|
|
50
|
-
prevYear?: ButtonProps
|
|
50
|
+
prevYear?: Omit<ButtonProps, LinkPropsKeys>;
|
|
51
51
|
/**
|
|
52
52
|
* The icon to use for the previous month control.
|
|
53
53
|
* @defaultValue icons.chevronLeft
|
|
@@ -58,7 +58,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
|
|
|
58
58
|
* Configure the prev month button.
|
|
59
59
|
* `{ color: 'air-tertiary' }`{lang="ts"}
|
|
60
60
|
*/
|
|
61
|
-
prevMonth?: ButtonProps
|
|
61
|
+
prevMonth?: Omit<ButtonProps, LinkPropsKeys>;
|
|
62
62
|
/**
|
|
63
63
|
* @defaultValue 'air-primary'
|
|
64
64
|
*/
|
|
@@ -99,12 +99,9 @@ export interface CalendarSlots {
|
|
|
99
99
|
}) => any;
|
|
100
100
|
}
|
|
101
101
|
declare const __VLS_export: <R extends boolean, M extends boolean>(__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<{
|
|
102
|
-
props: __VLS_PrettifyLocal<CalendarProps<R, M> & {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"onUpdate:validModelValue"?: ((date: DateRange) => any) | undefined;
|
|
106
|
-
"onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
|
|
107
|
-
}> & import("vue").PublicProps;
|
|
102
|
+
props: __VLS_PrettifyLocal<CalendarProps<R, M> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:modelValue", date: CalendarModelValue<R, M>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:validModelValue", date: DateRange) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
103
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
104
|
+
} ? P : {});
|
|
108
105
|
expose: (exposed: {}) => void;
|
|
109
106
|
attrs: any;
|
|
110
107
|
slots: CalendarSlots;
|
|
@@ -52,9 +52,7 @@ export interface ChatMessageSlots {
|
|
|
52
52
|
actions: ChatMessageProps['actions'];
|
|
53
53
|
}): any;
|
|
54
54
|
}
|
|
55
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatMessageProps> & Readonly<{}>, {
|
|
56
|
-
as: any;
|
|
57
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatMessageSlots>;
|
|
55
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatMessageSlots>;
|
|
58
56
|
declare const _default: typeof __VLS_export;
|
|
59
57
|
export default _default;
|
|
60
58
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -52,9 +52,7 @@ export interface ChatMessageSlots {
|
|
|
52
52
|
actions: ChatMessageProps['actions'];
|
|
53
53
|
}): any;
|
|
54
54
|
}
|
|
55
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatMessageProps> & Readonly<{}>, {
|
|
56
|
-
as: any;
|
|
57
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatMessageSlots>;
|
|
55
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatMessageSlots>;
|
|
58
56
|
declare const _default: typeof __VLS_export;
|
|
59
57
|
export default _default;
|
|
60
58
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import type { UIMessage, ChatStatus } from 'ai';
|
|
3
3
|
import theme from '#build/b24ui/chat-messages';
|
|
4
|
-
import type { ButtonProps, ChatMessageProps, ChatMessageSlots, IconComponent } from '../types';
|
|
4
|
+
import type { ButtonProps, ChatMessageProps, ChatMessageSlots, IconComponent, LinkPropsKeys } from '../types';
|
|
5
5
|
import type { ComponentConfig } from '../types/tv';
|
|
6
6
|
type ChatMessages = ComponentConfig<typeof theme, AppConfig, 'chatMessages'>;
|
|
7
7
|
export interface ChatMessagesProps {
|
|
@@ -22,7 +22,7 @@ export interface ChatMessagesProps {
|
|
|
22
22
|
* `{ size: 'md', color: 'air-secondary-no-accent' }`{lang="ts-type"}
|
|
23
23
|
* @defaultValue true
|
|
24
24
|
*/
|
|
25
|
-
autoScroll?: boolean |
|
|
25
|
+
autoScroll?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
26
26
|
/**
|
|
27
27
|
* The icon displayed in the auto scroll button.
|
|
28
28
|
* @defaultValue icons.arrowDown
|
|
@@ -68,12 +68,7 @@ export type ChatMessagesSlots = {
|
|
|
68
68
|
onClick: () => void;
|
|
69
69
|
}): any;
|
|
70
70
|
};
|
|
71
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatMessagesProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatMessagesProps> & Readonly<{}>, {
|
|
72
|
-
autoScroll: boolean | Partial<ButtonProps>;
|
|
73
|
-
shouldAutoScroll: boolean;
|
|
74
|
-
shouldScrollToBottom: boolean;
|
|
75
|
-
spacingOffset: number;
|
|
76
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatMessagesSlots>;
|
|
71
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatMessagesProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatMessagesProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatMessagesSlots>;
|
|
77
72
|
declare const _default: typeof __VLS_export;
|
|
78
73
|
export default _default;
|
|
79
74
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import type { UIMessage, ChatStatus } from 'ai';
|
|
3
3
|
import theme from '#build/b24ui/chat-messages';
|
|
4
|
-
import type { ButtonProps, ChatMessageProps, ChatMessageSlots, IconComponent } from '../types';
|
|
4
|
+
import type { ButtonProps, ChatMessageProps, ChatMessageSlots, IconComponent, LinkPropsKeys } from '../types';
|
|
5
5
|
import type { ComponentConfig } from '../types/tv';
|
|
6
6
|
type ChatMessages = ComponentConfig<typeof theme, AppConfig, 'chatMessages'>;
|
|
7
7
|
export interface ChatMessagesProps {
|
|
@@ -22,7 +22,7 @@ export interface ChatMessagesProps {
|
|
|
22
22
|
* `{ size: 'md', color: 'air-secondary-no-accent' }`{lang="ts-type"}
|
|
23
23
|
* @defaultValue true
|
|
24
24
|
*/
|
|
25
|
-
autoScroll?: boolean |
|
|
25
|
+
autoScroll?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
26
26
|
/**
|
|
27
27
|
* The icon displayed in the auto scroll button.
|
|
28
28
|
* @defaultValue icons.arrowDown
|
|
@@ -68,12 +68,7 @@ export type ChatMessagesSlots = {
|
|
|
68
68
|
onClick: () => void;
|
|
69
69
|
}): any;
|
|
70
70
|
};
|
|
71
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatMessagesProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatMessagesProps> & Readonly<{}>, {
|
|
72
|
-
autoScroll: boolean | Partial<ButtonProps>;
|
|
73
|
-
shouldAutoScroll: boolean;
|
|
74
|
-
shouldScrollToBottom: boolean;
|
|
75
|
-
spacingOffset: number;
|
|
76
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatMessagesSlots>;
|
|
71
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatMessagesProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatMessagesProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatMessagesSlots>;
|
|
77
72
|
declare const _default: typeof __VLS_export;
|
|
78
73
|
export default _default;
|
|
79
74
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -33,7 +33,7 @@ export interface ChatPromptSlots extends TextareaSlots {
|
|
|
33
33
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatPromptProps & {
|
|
34
34
|
modelValue?: string;
|
|
35
35
|
}, {
|
|
36
|
-
textareaRef: Readonly<import("vue").Ref<
|
|
36
|
+
textareaRef: Readonly<import("vue").Ref<any, any>>;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
38
|
close: (event: Event) => any;
|
|
39
39
|
submit: (event: Event) => any;
|
|
@@ -44,12 +44,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatPr
|
|
|
44
44
|
onClose?: ((event: Event) => any) | undefined;
|
|
45
45
|
onSubmit?: ((event: Event) => any) | undefined;
|
|
46
46
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
47
|
-
}>, {
|
|
48
|
-
rows: number;
|
|
49
|
-
as: any;
|
|
50
|
-
autofocus: boolean;
|
|
51
|
-
autoresize: boolean;
|
|
52
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatPromptSlots>;
|
|
47
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatPromptSlots>;
|
|
53
48
|
declare const _default: typeof __VLS_export;
|
|
54
49
|
export default _default;
|
|
55
50
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -33,7 +33,7 @@ export interface ChatPromptSlots extends TextareaSlots {
|
|
|
33
33
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatPromptProps & {
|
|
34
34
|
modelValue?: string;
|
|
35
35
|
}, {
|
|
36
|
-
textareaRef: Readonly<import("vue").Ref<
|
|
36
|
+
textareaRef: Readonly<import("vue").Ref<any, any>>;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
38
|
close: (event: Event) => any;
|
|
39
39
|
submit: (event: Event) => any;
|
|
@@ -44,12 +44,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatPr
|
|
|
44
44
|
onClose?: ((event: Event) => any) | undefined;
|
|
45
45
|
onSubmit?: ((event: Event) => any) | undefined;
|
|
46
46
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
47
|
-
}>, {
|
|
48
|
-
rows: number;
|
|
49
|
-
as: any;
|
|
50
|
-
autofocus: boolean;
|
|
51
|
-
autoresize: boolean;
|
|
52
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatPromptSlots>;
|
|
47
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChatPromptSlots>;
|
|
53
48
|
declare const _default: typeof __VLS_export;
|
|
54
49
|
export default _default;
|
|
55
50
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -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 & {
|
|
@@ -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 emits = defineEmits(["stop", "reload"]);
|
|
70
51
|
const slots = defineSlots();
|