@bitrix24/b24ui-nuxt 2.1.8 → 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/Alert.d.vue.ts +2 -2
- package/dist/runtime/components/Alert.vue.d.ts +2 -2
- package/dist/runtime/components/Banner.d.vue.ts +2 -2
- package/dist/runtime/components/Banner.vue.d.ts +2 -2
- package/dist/runtime/components/Calendar.d.vue.ts +5 -5
- package/dist/runtime/components/Calendar.vue.d.ts +5 -5
- package/dist/runtime/components/ChatMessages.d.vue.ts +2 -2
- package/dist/runtime/components/ChatMessages.vue.d.ts +2 -2
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +2 -2
- package/dist/runtime/components/ChatPromptSubmit.vue +1 -20
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +2 -2
- package/dist/runtime/components/CommandPalette.d.vue.ts +3 -3
- package/dist/runtime/components/CommandPalette.vue.d.ts +3 -3
- package/dist/runtime/components/DashboardSearch.d.vue.ts +2 -2
- package/dist/runtime/components/DashboardSearch.vue.d.ts +2 -2
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +2 -2
- package/dist/runtime/components/DashboardSearchButton.vue +1 -20
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +2 -2
- package/dist/runtime/components/Error.d.vue.ts +1 -1
- package/dist/runtime/components/Error.vue.d.ts +1 -1
- package/dist/runtime/components/FileUpload.d.vue.ts +2 -2
- package/dist/runtime/components/FileUpload.vue.d.ts +2 -2
- package/dist/runtime/components/Input.d.vue.ts +2 -2
- package/dist/runtime/components/Input.vue.d.ts +2 -2
- package/dist/runtime/components/InputDate.d.vue.ts +2 -2
- package/dist/runtime/components/InputDate.vue.d.ts +2 -2
- package/dist/runtime/components/InputMenu.d.vue.ts +2 -2
- package/dist/runtime/components/InputMenu.vue.d.ts +2 -2
- package/dist/runtime/components/InputNumber.d.vue.ts +5 -5
- package/dist/runtime/components/InputNumber.vue.d.ts +5 -5
- package/dist/runtime/components/InputTags.d.vue.ts +2 -2
- package/dist/runtime/components/InputTags.vue.d.ts +2 -2
- package/dist/runtime/components/InputTime.d.vue.ts +2 -2
- package/dist/runtime/components/InputTime.vue.d.ts +2 -2
- package/dist/runtime/components/Link.d.vue.ts +5 -0
- package/dist/runtime/components/Link.vue.d.ts +5 -0
- package/dist/runtime/components/Modal.d.vue.ts +2 -2
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/PinInput.d.vue.ts +2 -2
- package/dist/runtime/components/PinInput.vue.d.ts +2 -2
- package/dist/runtime/components/Select.d.vue.ts +2 -2
- package/dist/runtime/components/Select.vue.d.ts +2 -2
- package/dist/runtime/components/SelectMenu.d.vue.ts +2 -2
- package/dist/runtime/components/SelectMenu.vue.d.ts +2 -2
- package/dist/runtime/components/Slideover.d.vue.ts +2 -2
- package/dist/runtime/components/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/Table.d.vue.ts +2 -2
- package/dist/runtime/components/Table.vue +33 -30
- package/dist/runtime/components/Table.vue.d.ts +2 -2
- package/dist/runtime/components/Textarea.d.vue.ts +2 -2
- package/dist/runtime/components/Textarea.vue.d.ts +2 -2
- package/dist/runtime/components/Toast.d.vue.ts +2 -2
- package/dist/runtime/components/Toast.vue.d.ts +2 -2
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +2 -2
- package/dist/runtime/components/color-mode/ColorModeButton.vue +3 -22
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +2 -2
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +2 -2
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +2 -2
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +2 -2
- package/dist/runtime/components/content/ContentSearchButton.vue +1 -20
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +2 -2
- package/dist/runtime/utils/content.d.ts +2 -2
- package/dist/shared/{b24ui-nuxt.CyWhhgYE.mjs → b24ui-nuxt.auTgHcA7.mjs} +13 -12
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +3 -2
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';
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
*/
|
|
@@ -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
|
*/
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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`.
|
|
@@ -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();
|
|
@@ -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`.
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -23,7 +23,7 @@ export interface ErrorProps {
|
|
|
23
23
|
* `{ size: 'lg', color: 'air-primary', label: 'Back to home' }`{lang="ts-type"}
|
|
24
24
|
* @defaultValue true
|
|
25
25
|
*/
|
|
26
|
-
clear?: boolean |
|
|
26
|
+
clear?: boolean | ButtonProps;
|
|
27
27
|
class?: any;
|
|
28
28
|
b24ui?: Error['slots'];
|
|
29
29
|
}
|
|
@@ -23,7 +23,7 @@ export interface ErrorProps {
|
|
|
23
23
|
* `{ size: 'lg', color: 'air-primary', label: 'Back to home' }`{lang="ts-type"}
|
|
24
24
|
* @defaultValue true
|
|
25
25
|
*/
|
|
26
|
-
clear?: boolean |
|
|
26
|
+
clear?: boolean | ButtonProps;
|
|
27
27
|
class?: any;
|
|
28
28
|
b24ui?: Error['slots'];
|
|
29
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import type { UseFileDialogReturn } from '@vueuse/core';
|
|
3
3
|
import theme from '#build/b24ui/file-upload';
|
|
4
|
-
import type { ButtonProps, IconComponent } from '../types';
|
|
4
|
+
import type { ButtonProps, IconComponent, LinkPropsKeys } from '../types';
|
|
5
5
|
import type { InputHTMLAttributes } from '../types/html';
|
|
6
6
|
import type { ComponentConfig } from '../types/tv';
|
|
7
7
|
type FileUpload = ComponentConfig<typeof theme, AppConfig, 'fileUpload'>;
|
|
@@ -83,7 +83,7 @@ export interface FileUploadProps<M extends boolean = false> extends /** @vue-ign
|
|
|
83
83
|
* When `layout` is `grid`, the default is `{ color: 'air-secondary-no-accent', size: 'xs' }`{lang="ts-type"}
|
|
84
84
|
* When `layout` is `list`, the default is `{ color: 'air-tertiary-no-accent' }`{lang="ts-type"}
|
|
85
85
|
*/
|
|
86
|
-
fileDelete?: boolean |
|
|
86
|
+
fileDelete?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
87
87
|
/**
|
|
88
88
|
* The icon displayed to delete a file.
|
|
89
89
|
* @defaultValue icons.close
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
2
|
import type { UseFileDialogReturn } from '@vueuse/core';
|
|
3
3
|
import theme from '#build/b24ui/file-upload';
|
|
4
|
-
import type { ButtonProps, IconComponent } from '../types';
|
|
4
|
+
import type { ButtonProps, IconComponent, LinkPropsKeys } from '../types';
|
|
5
5
|
import type { InputHTMLAttributes } from '../types/html';
|
|
6
6
|
import type { ComponentConfig } from '../types/tv';
|
|
7
7
|
type FileUpload = ComponentConfig<typeof theme, AppConfig, 'fileUpload'>;
|
|
@@ -83,7 +83,7 @@ export interface FileUploadProps<M extends boolean = false> extends /** @vue-ign
|
|
|
83
83
|
* When `layout` is `grid`, the default is `{ color: 'air-secondary-no-accent', size: 'xs' }`{lang="ts-type"}
|
|
84
84
|
* When `layout` is `list`, the default is `{ color: 'air-tertiary-no-accent' }`{lang="ts-type"}
|
|
85
85
|
*/
|
|
86
|
-
fileDelete?: boolean |
|
|
86
|
+
fileDelete?: boolean | Omit<ButtonProps, LinkPropsKeys>;
|
|
87
87
|
/**
|
|
88
88
|
* The icon displayed to delete a file.
|
|
89
89
|
* @defaultValue icons.close
|
|
@@ -97,7 +97,7 @@ export interface InputSlots {
|
|
|
97
97
|
}): any;
|
|
98
98
|
}
|
|
99
99
|
declare const __VLS_export: <T extends InputValue>(__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<{
|
|
100
|
-
props: __VLS_PrettifyLocal<InputProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "
|
|
100
|
+
props: __VLS_PrettifyLocal<InputProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
101
101
|
__VLS_PROPS_FALLBACK: infer P;
|
|
102
102
|
} ? P : {});
|
|
103
103
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
@@ -105,7 +105,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
105
105
|
}>) => void;
|
|
106
106
|
attrs: any;
|
|
107
107
|
slots: InputSlots;
|
|
108
|
-
emit: ((evt: "
|
|
108
|
+
emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void);
|
|
109
109
|
}>) => import("vue").VNode & {
|
|
110
110
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
111
111
|
};
|
|
@@ -97,7 +97,7 @@ export interface InputSlots {
|
|
|
97
97
|
}): any;
|
|
98
98
|
}
|
|
99
99
|
declare const __VLS_export: <T extends InputValue>(__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<{
|
|
100
|
-
props: __VLS_PrettifyLocal<InputProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "
|
|
100
|
+
props: __VLS_PrettifyLocal<InputProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
101
101
|
__VLS_PROPS_FALLBACK: infer P;
|
|
102
102
|
} ? P : {});
|
|
103
103
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
@@ -105,7 +105,7 @@ declare const __VLS_export: <T extends InputValue>(__VLS_props: NonNullable<Awai
|
|
|
105
105
|
}>) => void;
|
|
106
106
|
attrs: any;
|
|
107
107
|
slots: InputSlots;
|
|
108
|
-
emit: ((evt: "
|
|
108
|
+
emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void);
|
|
109
109
|
}>) => import("vue").VNode & {
|
|
110
110
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
111
111
|
};
|
|
@@ -87,7 +87,7 @@ export interface InputDateSlots {
|
|
|
87
87
|
}): any;
|
|
88
88
|
}
|
|
89
89
|
declare const __VLS_export: <R 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<{
|
|
90
|
-
props: __VLS_PrettifyLocal<InputDateProps<R> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "
|
|
90
|
+
props: __VLS_PrettifyLocal<InputDateProps<R> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
91
91
|
__VLS_PROPS_FALLBACK: infer P;
|
|
92
92
|
} ? P : {});
|
|
93
93
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
@@ -95,7 +95,7 @@ declare const __VLS_export: <R extends boolean>(__VLS_props: NonNullable<Awaited
|
|
|
95
95
|
}>) => void;
|
|
96
96
|
attrs: any;
|
|
97
97
|
slots: InputDateSlots;
|
|
98
|
-
emit: ((evt: "
|
|
98
|
+
emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void);
|
|
99
99
|
}>) => import("vue").VNode & {
|
|
100
100
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
101
101
|
};
|
|
@@ -87,7 +87,7 @@ export interface InputDateSlots {
|
|
|
87
87
|
}): any;
|
|
88
88
|
}
|
|
89
89
|
declare const __VLS_export: <R 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<{
|
|
90
|
-
props: __VLS_PrettifyLocal<InputDateProps<R> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "
|
|
90
|
+
props: __VLS_PrettifyLocal<InputDateProps<R> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
91
91
|
__VLS_PROPS_FALLBACK: infer P;
|
|
92
92
|
} ? P : {});
|
|
93
93
|
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
@@ -95,7 +95,7 @@ declare const __VLS_export: <R extends boolean>(__VLS_props: NonNullable<Awaited
|
|
|
95
95
|
}>) => void;
|
|
96
96
|
attrs: any;
|
|
97
97
|
slots: InputDateSlots;
|
|
98
|
-
emit: ((evt: "
|
|
98
|
+
emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void);
|
|
99
99
|
}>) => import("vue").VNode & {
|
|
100
100
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
101
101
|
};
|
|
@@ -224,7 +224,7 @@ export interface InputMenuSlots<A extends ArrayOrNested<InputMenuItem> = ArrayOr
|
|
|
224
224
|
declare const __VLS_export: <T extends ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
225
225
|
props: __VLS_PrettifyLocal<(InputMenuProps<T, VK, M> & {
|
|
226
226
|
searchTerm?: string;
|
|
227
|
-
}) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "
|
|
227
|
+
}) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
|
|
228
228
|
ref: HTMLElement;
|
|
229
229
|
value: GetModelValue<T, VK, M>;
|
|
230
230
|
} | undefined) => void) & ((evt: "remove-tag", item: GetModelValue<T, VK, M>) => void) & ((evt: "update:searchTerm", value: string) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
@@ -235,7 +235,7 @@ declare const __VLS_export: <T extends ArrayOrNested<InputMenuItem>, VK extends
|
|
|
235
235
|
}>) => void;
|
|
236
236
|
attrs: any;
|
|
237
237
|
slots: InputMenuSlots<T, VK, M, NestedItem<T>>;
|
|
238
|
-
emit: (((evt: "
|
|
238
|
+
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
|
|
239
239
|
ref: HTMLElement;
|
|
240
240
|
value: GetModelValue<T, VK, M>;
|
|
241
241
|
} | undefined) => void) & ((evt: "remove-tag", item: GetModelValue<T, VK, M>) => void)) & ((evt: "update:searchTerm", value: string) => void);
|
|
@@ -224,7 +224,7 @@ export interface InputMenuSlots<A extends ArrayOrNested<InputMenuItem> = ArrayOr
|
|
|
224
224
|
declare const __VLS_export: <T extends ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
225
225
|
props: __VLS_PrettifyLocal<(InputMenuProps<T, VK, M> & {
|
|
226
226
|
searchTerm?: string;
|
|
227
|
-
}) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "
|
|
227
|
+
}) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
|
|
228
228
|
ref: HTMLElement;
|
|
229
229
|
value: GetModelValue<T, VK, M>;
|
|
230
230
|
} | undefined) => void) & ((evt: "remove-tag", item: GetModelValue<T, VK, M>) => void) & ((evt: "update:searchTerm", value: string) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
|
|
@@ -235,7 +235,7 @@ declare const __VLS_export: <T extends ArrayOrNested<InputMenuItem>, VK extends
|
|
|
235
235
|
}>) => void;
|
|
236
236
|
attrs: any;
|
|
237
237
|
slots: InputMenuSlots<T, VK, M, NestedItem<T>>;
|
|
238
|
-
emit: (((evt: "
|
|
238
|
+
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
|
|
239
239
|
ref: HTMLElement;
|
|
240
240
|
value: GetModelValue<T, VK, M>;
|
|
241
241
|
} | undefined) => void) & ((evt: "remove-tag", item: GetModelValue<T, VK, M>) => void)) & ((evt: "update:searchTerm", value: string) => void);
|