@soybeanjs/ui 0.0.5-beta.1 → 0.0.6-beta.1

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.
Files changed (92) hide show
  1. package/README.md +6 -0
  2. package/README.zh-CN.md +6 -0
  3. package/dist/components/accordion/accordion.vue.d.ts +3 -3
  4. package/dist/components/alert/alert.vue.d.ts +4 -4
  5. package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
  6. package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +3 -3
  7. package/dist/components/alert-dialog/alert-dialog.vue.d.ts +4 -4
  8. package/dist/components/avatar/avatar.vue.d.ts +7 -7
  9. package/dist/components/badge/badge.vue.d.ts +4 -4
  10. package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
  11. package/dist/components/button/button-group.vue.d.ts +6 -6
  12. package/dist/components/button/button-icon.vue.d.ts +4 -4
  13. package/dist/components/button/button-link.vue.d.ts +7 -5
  14. package/dist/components/button/button-loading.vue.d.ts +3 -3
  15. package/dist/components/button/button.vue.d.ts +4 -4
  16. package/dist/components/card/card.vue.d.ts +3 -3
  17. package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
  18. package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
  19. package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
  20. package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
  21. package/dist/components/collapsible/collapsible.vue.d.ts +4 -4
  22. package/dist/components/command/command.js +1 -1
  23. package/dist/components/command/command.vue.d.ts +8 -8
  24. package/dist/components/config-provider/config-provider.vue.d.ts +5 -5
  25. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +11 -11
  26. package/dist/components/context-menu/context-menu-radio.vue.d.ts +11 -11
  27. package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +15 -15
  28. package/dist/components/context-menu/context-menu.vue.d.ts +10 -10
  29. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  30. package/dist/components/dialog/dialog-pure.vue.d.ts +14 -14
  31. package/dist/components/dialog/dialog.vue.d.ts +14 -14
  32. package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
  33. package/dist/components/drawer/drawer.vue.d.ts +15 -15
  34. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +11 -11
  35. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +11 -11
  36. package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +15 -15
  37. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +10 -10
  38. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  39. package/dist/components/form/form-field.vue.d.ts +2 -2
  40. package/dist/components/form/form.vue.d.ts +2 -2
  41. package/dist/components/icon/icon.vue.d.ts +4 -4
  42. package/dist/components/input/input.vue.d.ts +4 -4
  43. package/dist/components/kbd/kbd.vue.d.ts +3 -3
  44. package/dist/components/label/label.vue.d.ts +2 -2
  45. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  46. package/dist/components/layout/layout.vue.d.ts +4 -4
  47. package/dist/components/link/link.js +1 -1
  48. package/dist/components/link/link.vue.d.ts +6 -4
  49. package/dist/components/list/list-item.vue.d.ts +2 -2
  50. package/dist/components/list/list.vue.d.ts +2 -2
  51. package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
  52. package/dist/components/menu/menu-option.js +1 -1
  53. package/dist/components/menu/menu-option.vue.d.ts +10 -10
  54. package/dist/components/menu/menu-options.vue.d.ts +10 -10
  55. package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
  56. package/dist/components/navigation-menu/navigation-menu-option.js +1 -1
  57. package/dist/components/navigation-menu/navigation-menu.vue.d.ts +13 -13
  58. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  59. package/dist/components/pagination/pagination.vue.d.ts +4 -4
  60. package/dist/components/password/password.vue.d.ts +4 -4
  61. package/dist/components/popover/popover.vue.d.ts +13 -13
  62. package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
  63. package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
  64. package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
  65. package/dist/components/radio-group/radio.vue.d.ts +2 -2
  66. package/dist/components/segment/segment.vue.d.ts +3 -3
  67. package/dist/components/select/select.vue.d.ts +9 -9
  68. package/dist/components/separator/separator.vue.d.ts +5 -5
  69. package/dist/components/switch/switch.vue.d.ts +16 -16
  70. package/dist/components/tabs/tabs.vue.d.ts +3 -3
  71. package/dist/components/tag/tag.vue.d.ts +4 -4
  72. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  73. package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
  74. package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
  75. package/dist/components/tree/tree.vue.d.ts +5 -5
  76. package/dist/components/tree-menu/tree-menu-item-wrapper.vue.d.ts +2 -2
  77. package/dist/components/tree-menu/tree-menu-item.js +1 -1
  78. package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
  79. package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
  80. package/dist/variants/alert.d.ts +3 -3
  81. package/dist/variants/badge.d.ts +3 -3
  82. package/dist/variants/button.d.ts +3 -3
  83. package/dist/variants/checkbox.d.ts +3 -3
  84. package/dist/variants/pagination.d.ts +3 -3
  85. package/dist/variants/radio-group.d.ts +3 -3
  86. package/dist/variants/separator.d.ts +3 -3
  87. package/dist/variants/switch.d.ts +3 -3
  88. package/dist/variants/tabs.d.ts +3 -3
  89. package/dist/variants/tag.d.ts +3 -3
  90. package/dist/variants/textarea.d.ts +3 -3
  91. package/dist/variants/toast.d.ts +3 -3
  92. package/package.json +11 -11
package/README.md CHANGED
@@ -1,3 +1,9 @@
1
+ <p align="center">
2
+ <a href="https://github.com/soybeanjs/soybean-ui">
3
+ <img src="./public/favicon.svg" alt="Logo" width="150" />
4
+ </a>
5
+ </p>
6
+
1
7
  # SoybeanUI
2
8
 
3
9
  English | [中文](./README.zh-CN.md)
package/README.zh-CN.md CHANGED
@@ -1,3 +1,9 @@
1
+ <p align="center">
2
+ <a href="https://github.com/soybeanjs/soybean-ui">
3
+ <img src="./public/favicon.svg" alt="Logo" width="150" />
4
+ </a>
5
+ </p>
6
+
1
7
  # SoybeanUI
2
8
 
3
9
  [English](./README.md) | 中文
@@ -1,11 +1,11 @@
1
1
  import { AccordionOptionData, AccordionProps } from "./types.js";
2
- import * as vue72 from "vue";
2
+ import * as vue233 from "vue";
3
3
 
4
4
  //#region src/components/accordion/accordion.vue.d.ts
5
5
  declare const __VLS_export: <T extends AccordionOptionData = AccordionOptionData, 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<{
6
6
  props: __VLS_PrettifyLocal<AccordionProps<T, M> & {
7
7
  "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
8
- }> & vue72.PublicProps;
8
+ }> & vue233.PublicProps;
9
9
  expose: (exposed: {}) => void;
10
10
  attrs: any;
11
11
  slots: {
@@ -39,7 +39,7 @@ declare const __VLS_export: <T extends AccordionOptionData = AccordionOptionData
39
39
  }) => any;
40
40
  };
41
41
  emit: (evt: "update:modelValue", value: M extends true ? string[] : string) => void;
42
- }>) => vue72.VNode & {
42
+ }>) => vue233.VNode & {
43
43
  __ctx?: Awaited<typeof __VLS_setup>;
44
44
  };
45
45
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { AlertProps } from "./types.js";
2
- import * as vue65 from "vue";
2
+ import * as vue68 from "vue";
3
3
 
4
4
  //#region src/components/alert/alert.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_26: {}, __VLS_33: {}, __VLS_35: {}, __VLS_37: {}, __VLS_44: {};
@@ -16,13 +16,13 @@ type __VLS_Slots = {} & {
16
16
  } & {
17
17
  close?: (props: typeof __VLS_44) => any;
18
18
  };
19
- declare const __VLS_base: vue65.DefineComponent<AlertProps, {}, {}, {}, {}, vue65.ComponentOptionsMixin, vue65.ComponentOptionsMixin, {
19
+ declare const __VLS_base: vue68.DefineComponent<AlertProps, {}, {}, {}, {}, vue68.ComponentOptionsMixin, vue68.ComponentOptionsMixin, {
20
20
  "update:open": (open: boolean) => any;
21
- }, string, vue65.PublicProps, Readonly<AlertProps> & Readonly<{
21
+ }, string, vue68.PublicProps, Readonly<AlertProps> & Readonly<{
22
22
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
23
23
  }>, {
24
24
  open: boolean;
25
- }, {}, {}, {}, string, vue65.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue68.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { AlertDialogActionProps } from "./types.js";
2
- import * as vue115 from "vue";
2
+ import * as vue61 from "vue";
3
3
 
4
4
  //#region src/components/alert-dialog/alert-dialog-action.vue.d.ts
5
5
  declare var __VLS_7: {}, __VLS_13: {};
@@ -8,9 +8,9 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  default?: (props: typeof __VLS_13) => any;
10
10
  };
11
- declare const __VLS_base: vue115.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue115.ComponentOptionsMixin, vue115.ComponentOptionsMixin, {}, string, vue115.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue61.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue61.ComponentOptionsMixin, vue61.ComponentOptionsMixin, {}, string, vue61.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
12
12
  text: string;
13
- }, {}, {}, {}, string, vue115.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue61.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { ButtonVariant } from "../../variants/button.js";
2
2
  import { AlertDialogCancelProps } from "./types.js";
3
3
  import "../button/index.js";
4
- import * as vue120 from "vue";
4
+ import * as vue56 from "vue";
5
5
 
6
6
  //#region src/components/alert-dialog/alert-dialog-cancel.vue.d.ts
7
7
  declare var __VLS_7: {}, __VLS_13: {};
@@ -10,10 +10,10 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  default?: (props: typeof __VLS_13) => any;
12
12
  };
13
- declare const __VLS_base: vue120.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue120.ComponentOptionsMixin, vue120.ComponentOptionsMixin, {}, string, vue120.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
13
+ declare const __VLS_base: vue56.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue56.ComponentOptionsMixin, vue56.ComponentOptionsMixin, {}, string, vue56.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
14
14
  text: string;
15
15
  variant: ButtonVariant;
16
- }, {}, {}, {}, string, vue120.ComponentProvideOptions, false, {}, any>;
16
+ }, {}, {}, {}, string, vue56.ComponentProvideOptions, false, {}, any>;
17
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { AlertDialogProps } from "./types.js";
2
- import * as vue110 from "vue";
2
+ import * as vue51 from "vue";
3
3
 
4
4
  //#region src/components/alert-dialog/alert-dialog.vue.d.ts
5
5
  declare var __VLS_15: {}, __VLS_46: {
@@ -26,15 +26,15 @@ type __VLS_Slots = {} & {
26
26
  } & {
27
27
  footer?: (props: typeof __VLS_62) => any;
28
28
  };
29
- declare const __VLS_base: vue110.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue110.ComponentOptionsMixin, vue110.ComponentOptionsMixin, {
29
+ declare const __VLS_base: vue51.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue51.ComponentOptionsMixin, vue51.ComponentOptionsMixin, {
30
30
  "update:open": (value: boolean) => any;
31
- }, string, vue110.PublicProps, Readonly<AlertDialogProps> & Readonly<{
31
+ }, string, vue51.PublicProps, Readonly<AlertDialogProps> & Readonly<{
32
32
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
33
33
  }>, {
34
34
  open: boolean;
35
35
  defaultOpen: boolean;
36
36
  showIcon: boolean;
37
- }, {}, {}, {}, string, vue110.ComponentProvideOptions, false, {}, any>;
37
+ }, {}, {}, {}, string, vue51.ComponentProvideOptions, false, {}, any>;
38
38
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
39
  declare const _default: typeof __VLS_export;
40
40
  type __VLS_WithSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  import { AvatarProps } from "./types.js";
2
- import * as vue125 from "vue";
3
- import * as _soybeanjs_headless22 from "@soybeanjs/headless";
2
+ import * as vue235 from "vue";
3
+ import * as _soybeanjs_headless107 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/avatar/avatar.vue.d.ts
6
6
  declare var __VLS_7: {}, __VLS_9: {}, __VLS_24: {};
@@ -11,11 +11,11 @@ type __VLS_Slots = {} & {
11
11
  } & {
12
12
  fallback?: (props: typeof __VLS_24) => any;
13
13
  };
14
- declare const __VLS_base: vue125.DefineComponent<AvatarProps, {}, {}, {}, {}, vue125.ComponentOptionsMixin, vue125.ComponentOptionsMixin, {
15
- loadingStatusChange: (status: _soybeanjs_headless22.ImageLoadingStatus) => any;
16
- }, string, vue125.PublicProps, Readonly<AvatarProps> & Readonly<{
17
- onLoadingStatusChange?: ((status: _soybeanjs_headless22.ImageLoadingStatus) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, vue125.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_base: vue235.DefineComponent<AvatarProps, {}, {}, {}, {}, vue235.ComponentOptionsMixin, vue235.ComponentOptionsMixin, {
15
+ loadingStatusChange: (status: _soybeanjs_headless107.ImageLoadingStatus) => any;
16
+ }, string, vue235.PublicProps, Readonly<AvatarProps> & Readonly<{
17
+ onLoadingStatusChange?: ((status: _soybeanjs_headless107.ImageLoadingStatus) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, vue235.ComponentProvideOptions, false, {}, any>;
19
19
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { BadgeProps } from "./types.js";
2
- import * as vue0 from "vue";
2
+ import * as vue240 from "vue";
3
3
 
4
4
  //#region src/components/badge/badge.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_17: {};
@@ -8,13 +8,13 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  content?: (props: typeof __VLS_17) => any;
10
10
  };
11
- declare const __VLS_base: vue0.DefineComponent<BadgeProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue240.DefineComponent<BadgeProps, {}, {}, {}, {}, vue240.ComponentOptionsMixin, vue240.ComponentOptionsMixin, {
12
12
  "update:open": (open: boolean) => any;
13
- }, string, vue0.PublicProps, Readonly<BadgeProps> & Readonly<{
13
+ }, string, vue240.PublicProps, Readonly<BadgeProps> & Readonly<{
14
14
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
- }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, vue240.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
1
  import { BreadcrumbEmits, BreadcrumbOptionData, BreadcrumbProps } from "./types.js";
2
- import * as vue181 from "vue";
2
+ import * as vue66 from "vue";
3
3
 
4
4
  //#region src/components/breadcrumb/breadcrumb.vue.d.ts
5
5
  declare const __VLS_export: <T extends BreadcrumbOptionData = BreadcrumbOptionData>(__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<{
6
6
  props: __VLS_PrettifyLocal<BreadcrumbProps<T> & {
7
7
  onClick?: ((item: T) => any) | undefined;
8
- }> & vue181.PublicProps;
8
+ }> & vue66.PublicProps;
9
9
  expose: (exposed: {}) => void;
10
10
  attrs: any;
11
11
  slots: {
@@ -40,7 +40,7 @@ declare const __VLS_export: <T extends BreadcrumbOptionData = BreadcrumbOptionDa
40
40
  separator?: (props: {}) => any;
41
41
  };
42
42
  emit: BreadcrumbEmits<T>;
43
- }>) => vue181.VNode & {
43
+ }>) => vue66.VNode & {
44
44
  __ctx?: Awaited<typeof __VLS_setup>;
45
45
  };
46
46
  declare const _default: typeof __VLS_export;
@@ -1,16 +1,16 @@
1
1
  import { ButtonGroupProps } from "./types.js";
2
- import * as vue203 from "vue";
3
- import * as _soybeanjs_headless72 from "@soybeanjs/headless";
2
+ import * as vue105 from "vue";
3
+ import * as _soybeanjs_headless41 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/button/button-group.vue.d.ts
6
6
  declare var __VLS_7: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_7) => any;
9
9
  };
10
- declare const __VLS_base: vue203.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue203.ComponentOptionsMixin, vue203.ComponentOptionsMixin, {}, string, vue203.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
11
- dir: _soybeanjs_headless72.Direction;
12
- orientation: _soybeanjs_headless72.DataOrientation;
13
- }, {}, {}, {}, string, vue203.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue105.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue105.ComponentOptionsMixin, vue105.ComponentOptionsMixin, {}, string, vue105.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
11
+ dir: _soybeanjs_headless41.Direction;
12
+ orientation: _soybeanjs_headless41.DataOrientation;
13
+ }, {}, {}, {}, string, vue105.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -2,15 +2,15 @@ import { ThemeColor } from "../../theme/types.js";
2
2
  import { ButtonShape, ButtonVariant } from "../../variants/button.js";
3
3
  import { ButtonIconProps } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue193 from "vue";
5
+ import * as vue95 from "vue";
6
6
 
7
7
  //#region src/components/button/button-icon.vue.d.ts
8
- declare const __VLS_export: vue193.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue193.ComponentOptionsMixin, vue193.ComponentOptionsMixin, {}, string, vue193.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
8
+ declare const __VLS_export: vue95.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue95.ComponentOptionsMixin, vue95.ComponentOptionsMixin, {}, string, vue95.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
9
9
  color: ThemeColor;
10
- shape: ButtonShape;
11
10
  variant: ButtonVariant;
11
+ shape: ButtonShape;
12
12
  fitContent: boolean;
13
- }, {}, {}, {}, string, vue193.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue95.ComponentProvideOptions, false, {}, any>;
14
14
  declare const _default: typeof __VLS_export;
15
15
  //#endregion
16
16
  export { _default };
@@ -1,22 +1,24 @@
1
1
  import { ButtonVariant } from "../../variants/button.js";
2
2
  import { ButtonLinkProps } from "./types.js";
3
- import * as vue198 from "vue";
3
+ import * as vue100 from "vue";
4
4
 
5
5
  //#region src/components/button/button-link.vue.d.ts
6
- declare var __VLS_10: {};
6
+ declare var __VLS_10: {
7
+ isHref: boolean;
8
+ };
7
9
  type __VLS_Slots = {} & {
8
10
  default?: (props: typeof __VLS_10) => any;
9
11
  };
10
- declare const __VLS_base: vue198.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue198.ComponentOptionsMixin, vue198.ComponentOptionsMixin, {}, string, vue198.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
12
+ declare const __VLS_base: vue100.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue100.ComponentOptionsMixin, vue100.ComponentOptionsMixin, {}, string, vue100.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
11
13
  disabled: boolean;
12
14
  replace: boolean;
13
- variant: ButtonVariant;
14
15
  viewTransition: boolean;
15
16
  external: boolean;
16
17
  noRel: boolean;
17
18
  prefetch: boolean;
18
19
  noPrefetch: boolean;
19
- }, {}, {}, {}, string, vue198.ComponentProvideOptions, false, {}, any>;
20
+ variant: ButtonVariant;
21
+ }, {}, {}, {}, string, vue100.ComponentProvideOptions, false, {}, any>;
20
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
23
  declare const _default: typeof __VLS_export;
22
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { ButtonLoadingProps } from "./types.js";
2
- import * as vue188 from "vue";
2
+ import * as vue90 from "vue";
3
3
  import { Align } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/button/button-loading.vue.d.ts
@@ -17,10 +17,10 @@ type __VLS_Slots = {} & {
17
17
  } & {
18
18
  trailing?: (props: typeof __VLS_29) => any;
19
19
  };
20
- declare const __VLS_base: vue188.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue188.ComponentOptionsMixin, vue188.ComponentOptionsMixin, {}, string, vue188.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
20
+ declare const __VLS_base: vue90.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue90.ComponentOptionsMixin, vue90.ComponentOptionsMixin, {}, string, vue90.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
21
21
  loadingIcon: string;
22
22
  loadingPosition: Align;
23
- }, {}, {}, {}, string, vue188.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue90.ComponentProvideOptions, false, {}, any>;
24
24
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
25
  declare const _default: typeof __VLS_export;
26
26
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { ButtonProps } from "./types.js";
2
- import * as vue183 from "vue";
2
+ import * as vue85 from "vue";
3
3
 
4
4
  //#region src/components/button/button.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
@@ -10,11 +10,11 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  trailing?: (props: typeof __VLS_14) => any;
12
12
  };
13
- declare const __VLS_base: vue183.DefineComponent<ButtonProps, {}, {}, {}, {}, vue183.ComponentOptionsMixin, vue183.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue85.DefineComponent<ButtonProps, {}, {}, {}, {}, vue85.ComponentOptionsMixin, vue85.ComponentOptionsMixin, {
14
14
  click: (event: MouseEvent) => any;
15
- }, string, vue183.PublicProps, Readonly<ButtonProps> & Readonly<{
15
+ }, string, vue85.PublicProps, Readonly<ButtonProps> & Readonly<{
16
16
  onClick?: ((event: MouseEvent) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, vue183.ComponentProvideOptions, false, {}, any>;
17
+ }>, {}, {}, {}, {}, string, vue85.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { CardProps } from "./types.js";
2
- import * as vue31 from "vue";
2
+ import * as vue0 from "vue";
3
3
 
4
4
  //#region src/components/card/card.vue.d.ts
5
5
  type Slots = {
@@ -14,9 +14,9 @@ type Slots = {
14
14
  description: () => any;
15
15
  };
16
16
  type __VLS_Slots = Slots;
17
- declare const __VLS_base: vue31.DefineComponent<CardProps, {}, {}, {}, {}, vue31.ComponentOptionsMixin, vue31.ComponentOptionsMixin, {}, string, vue31.PublicProps, Readonly<CardProps> & Readonly<{}>, {
17
+ declare const __VLS_base: vue0.DefineComponent<CardProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<CardProps> & Readonly<{}>, {
18
18
  scrollable: boolean;
19
- }, {}, {}, {}, string, vue31.ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1,17 +1,17 @@
1
1
  import { CheckboxCardGroupOptionData, CheckboxCardGroupProps } from "./types.js";
2
- import * as vue208 from "vue";
2
+ import * as vue110 from "vue";
3
3
  import { DefinedValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox-card-group.vue.d.ts
6
6
  declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends CheckboxCardGroupOptionData<T> = CheckboxCardGroupOptionData<T>>(__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<{
7
7
  props: __VLS_PrettifyLocal<CheckboxCardGroupProps<T, S> & {
8
8
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
9
- }> & vue208.PublicProps;
9
+ }> & vue110.PublicProps;
10
10
  expose: (exposed: {}) => void;
11
11
  attrs: any;
12
12
  slots: {};
13
13
  emit: (evt: "update:modelValue", value: T[]) => void;
14
- }>) => vue208.VNode & {
14
+ }>) => vue110.VNode & {
15
15
  __ctx?: Awaited<typeof __VLS_setup>;
16
16
  };
17
17
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
1
  import { CheckboxCardProps } from "./types.js";
2
- import * as vue222 from "vue";
3
- import * as _soybeanjs_headless89 from "@soybeanjs/headless";
2
+ import * as vue132 from "vue";
3
+ import * as _soybeanjs_headless59 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox-card.vue.d.ts
6
6
  declare var __VLS_19: {
@@ -11,13 +11,13 @@ type __VLS_Slots = {} & {
11
11
  } & {
12
12
  description?: (props: typeof __VLS_26) => any;
13
13
  };
14
- declare const __VLS_base: vue222.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue222.ComponentOptionsMixin, vue222.ComponentOptionsMixin, {
15
- "update:modelValue": (value: _soybeanjs_headless89.CheckedState | null) => any;
16
- }, string, vue222.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
17
- "onUpdate:modelValue"?: ((value: _soybeanjs_headless89.CheckedState | null) => any) | undefined;
14
+ declare const __VLS_base: vue132.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue132.ComponentOptionsMixin, vue132.ComponentOptionsMixin, {
15
+ "update:modelValue": (value: _soybeanjs_headless59.CheckedState | null) => any;
16
+ }, string, vue132.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: _soybeanjs_headless59.CheckedState | null) => any) | undefined;
18
18
  }>, {
19
- modelValue: _soybeanjs_headless89.CheckedState | null;
20
- }, {}, {}, {}, string, vue222.ComponentProvideOptions, false, {}, any>;
19
+ modelValue: _soybeanjs_headless59.CheckedState | null;
20
+ }, {}, {}, {}, string, vue132.ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  type __VLS_WithSlots<T, S> = T & {
@@ -1,17 +1,17 @@
1
1
  import { CheckboxGroupOptionData, CheckboxGroupProps } from "./types.js";
2
- import * as vue210 from "vue";
2
+ import * as vue78 from "vue";
3
3
  import { DefinedValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox-group.vue.d.ts
6
6
  declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends CheckboxGroupOptionData<T> = CheckboxGroupOptionData<T>>(__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<{
7
7
  props: __VLS_PrettifyLocal<CheckboxGroupProps<T, S> & {
8
8
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
9
- }> & vue210.PublicProps;
9
+ }> & vue78.PublicProps;
10
10
  expose: (exposed: {}) => void;
11
11
  attrs: any;
12
12
  slots: {};
13
13
  emit: (evt: "update:modelValue", value: T[]) => void;
14
- }>) => vue210.VNode & {
14
+ }>) => vue78.VNode & {
15
15
  __ctx?: Awaited<typeof __VLS_setup>;
16
16
  };
17
17
  declare const _default: typeof __VLS_export;
@@ -1,28 +1,28 @@
1
1
  import { CheckboxProps } from "./types.js";
2
- import * as vue217 from "vue";
3
- import * as _soybeanjs_headless82 from "@soybeanjs/headless";
2
+ import * as vue80 from "vue";
3
+ import * as _soybeanjs_headless34 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox.vue.d.ts
6
6
  declare var __VLS_25: {
7
- modelValue: _soybeanjs_headless82.CheckedState | null | undefined;
8
- state: _soybeanjs_headless82.CheckedState;
7
+ modelValue: _soybeanjs_headless34.CheckedState | null | undefined;
8
+ state: _soybeanjs_headless34.CheckedState;
9
9
  }, __VLS_36: {
10
10
  id: string;
11
- modelValue: _soybeanjs_headless82.CheckedState | null | undefined;
12
- state: _soybeanjs_headless82.CheckedState;
11
+ modelValue: _soybeanjs_headless34.CheckedState | null | undefined;
12
+ state: _soybeanjs_headless34.CheckedState;
13
13
  };
14
14
  type __VLS_Slots = {} & {
15
15
  indicator?: (props: typeof __VLS_25) => any;
16
16
  } & {
17
17
  default?: (props: typeof __VLS_36) => any;
18
18
  };
19
- declare const __VLS_base: vue217.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue217.ComponentOptionsMixin, vue217.ComponentOptionsMixin, {
20
- "update:modelValue": (value: _soybeanjs_headless82.CheckedState | null) => any;
21
- }, string, vue217.PublicProps, Readonly<CheckboxProps> & Readonly<{
22
- "onUpdate:modelValue"?: ((value: _soybeanjs_headless82.CheckedState | null) => any) | undefined;
19
+ declare const __VLS_base: vue80.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue80.ComponentOptionsMixin, vue80.ComponentOptionsMixin, {
20
+ "update:modelValue": (value: _soybeanjs_headless34.CheckedState | null) => any;
21
+ }, string, vue80.PublicProps, Readonly<CheckboxProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: _soybeanjs_headless34.CheckedState | null) => any) | undefined;
23
23
  }>, {
24
- modelValue: _soybeanjs_headless82.CheckedState | null;
25
- }, {}, {}, {}, string, vue217.ComponentProvideOptions, false, {}, any>;
24
+ modelValue: _soybeanjs_headless34.CheckedState | null;
25
+ }, {}, {}, {}, string, vue80.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { CollapsibleProps } from "./types.js";
2
- import * as vue14 from "vue";
2
+ import * as vue41 from "vue";
3
3
 
4
4
  //#region src/components/collapsible/collapsible.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -8,15 +8,15 @@ declare var __VLS_10: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue14.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue14.ComponentOptionsMixin, vue14.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue41.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue41.ComponentOptionsMixin, vue41.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue14.PublicProps, Readonly<CollapsibleProps> & Readonly<{
13
+ }, string, vue41.PublicProps, Readonly<CollapsibleProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
17
  defaultOpen: boolean;
18
18
  unmountOnHide: boolean;
19
- }, {}, {}, {}, string, vue14.ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, vue41.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{mergeSlotVariants as e}from"../../theme/shared.js";import t from"../icon/icon.js";import{commandVariants as n}from"../../variants/command.js";import{provideCommandExtraThemeContext as r}from"./context.js";import{getCommandHighlightSearchOption as i,getCommandItemOptions as a,getCommandSearchOptions as o}from"./shared.js";import s from"./command-option.js";import{Fragment as c,computed as l,createBlock as u,createCommentVNode as d,createElementBlock as f,createTextVNode as p,createVNode as m,defineComponent as h,guardReactiveProps as g,isRef as _,mergeProps as v,normalizeClass as y,normalizeProps as b,openBlock as x,renderList as S,renderSlot as C,toDisplayString as w,toHandlers as T,unref as E,withCtx as D}from"vue";import{useControllableState as O,useForwardListeners as k,useOmitProps as A,usePickProps as j}from"@soybeanjs/headless/composables";import{ListboxContent as M,ListboxFilter as N,ListboxRoot as P,provideListboxThemeContext as F}from"@soybeanjs/headless";import{useFuse as I}from"@vueuse/integrations/useFuse";import{defu as L}from"defu";var R=h({name:`SCommand`,__name:`command`,props:{size:{},ui:{},items:{},listProps:{},itemProps:{},itemLabelProps:{},groupProps:{},groupLabelProps:{},shortcutProps:{},separatorProps:{},inputProps:{},searchTerm:{},clearable:{type:Boolean},fuseOptions:{},emptyProps:{},emptyLabel:{},orientation:{},dir:{},disabled:{type:Boolean},selectionBehavior:{},highlightOnHover:{type:Boolean},modelValue:{},defaultValue:{},multiple:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`highlight`,`entryFocus`,`leave`,`select`,`update:searchTerm`],setup(h,{emit:R}){let z=h,B=R,V=A(z,[`size`,`ui`,`items`,`listProps`,`itemProps`,`itemLabelProps`,`groupProps`,`groupLabelProps`,`shortcutProps`,`separatorProps`,`inputProps`,`searchTerm`,`fuseOptions`,`emptyProps`,`emptyLabel`]),H=k(B),U=j(z,[`itemProps`,`itemLabelProps`,`groupProps`,`groupLabelProps`,`shortcutProps`,`separatorProps`]),W=O(()=>z.searchTerm,e=>{B(`update:searchTerm`,e)},z.inputProps?.defaultValue||``),G=l(()=>L(z.fuseOptions,{fuseOptions:{ignoreLocation:!0,threshold:.1,keys:[`label`,`groupLabel`]},resultLimit:12,matchAllWhenSearchEmpty:!0})),{results:K}=I(W,l(()=>o(z.items)),G),q=l(()=>a(K.value.map(e=>i(e.item,W.value)))),J=l(()=>e(n({size:z.size}),z.ui));return F({ui:l(()=>({...J.value,content:J.value.list,filterRoot:J.value.inputRoot,filterControl:J.value.inputControl,itemIndicator:``,virtualizer:``}))}),r({ui:J}),(e,n)=>(x(),u(E(P),v(E(V),T(E(H))),{default:D(()=>[m(E(N),v(h.inputProps,{modelValue:E(W),"onUpdate:modelValue":n[0]||=e=>_(W)?W.value=e:null,autofocus:``}),{leading:D(()=>[C(e.$slots,`input-leading`,{},()=>[m(t,{icon:`lucide:search`,class:y(J.value.inputIcon)},null,8,[`class`])])]),trailing:D(({clear:n})=>[h.clearable?(x(),u(t,{key:0,icon:`lucide:x`,class:y(J.value.inputClearable),onClick:n},null,8,[`class`,`onClick`])):d(`v-if`,!0),C(e.$slots,`input-trailing`)]),_:3},16,[`modelValue`]),m(E(M),b(g(h.listProps)),{default:D(()=>[!q.value.length&&E(W)?(x(),f(`div`,{key:0,class:y(J.value.empty)},[C(e.$slots,`empty`,{},()=>[p(w(h.emptyLabel),1)])],2)):d(`v-if`,!0),(x(!0),f(c,null,S(q.value,(t,r)=>(x(),u(s,v({ref_for:!0},E(U),{key:r,item:t,onSelect:n[1]||=e=>B(`select`,e)}),{"item-leading":D(t=>[C(e.$slots,`item-leading`,{item:t.item})]),"item-trailing":D(t=>[C(e.$slots,`item-trailing`,{item:t.item})]),"item-label":D(t=>[C(e.$slots,`item-label`,{item:t.item})]),_:2},1040,[`item`]))),128))]),_:3},16)]),_:3},16))}});export{R as default};
1
+ import{mergeSlotVariants as e}from"../../theme/shared.js";import t from"../icon/icon.js";import{commandVariants as n}from"../../variants/command.js";import{provideCommandExtraThemeContext as r}from"./context.js";import{getCommandHighlightSearchOption as i,getCommandItemOptions as a,getCommandSearchOptions as o}from"./shared.js";import s from"./command-option.js";import{Fragment as c,computed as l,createBlock as u,createCommentVNode as d,createElementBlock as f,createTextVNode as p,createVNode as m,defineComponent as h,guardReactiveProps as g,isRef as _,mergeProps as v,normalizeClass as y,normalizeProps as b,openBlock as x,renderList as S,renderSlot as C,toDisplayString as w,toHandlers as T,unref as E,withCtx as D}from"vue";import{useControllableState as O,useForwardListeners as k,useOmitProps as A,usePickProps as j}from"@soybeanjs/headless/composables";import{ListboxContent as M,ListboxFilter as N,ListboxRoot as P,provideListboxThemeContext as F}from"@soybeanjs/headless";import{useFuse as I}from"@vueuse/integrations/useFuse";import{defu as L}from"defu";var R=h({name:`SCommand`,__name:`command`,props:{size:{},ui:{},items:{},listProps:{},itemProps:{},itemLabelProps:{},groupProps:{},groupLabelProps:{},shortcutProps:{},separatorProps:{},inputProps:{},searchTerm:{},clearable:{type:Boolean},fuseOptions:{},emptyProps:{},emptyLabel:{},orientation:{},dir:{},disabled:{type:Boolean},selectionBehavior:{},highlightOnHover:{type:Boolean},modelValue:{},defaultValue:{},multiple:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`highlight`,`entryFocus`,`leave`,`select`,`update:searchTerm`],setup(h,{emit:R}){let z=h,B=R,V=A(z,[`size`,`ui`,`items`,`listProps`,`itemProps`,`itemLabelProps`,`groupProps`,`groupLabelProps`,`shortcutProps`,`separatorProps`,`inputProps`,`searchTerm`,`fuseOptions`,`emptyProps`,`emptyLabel`]),H=k(B),U=j(z,[`itemProps`,`itemLabelProps`,`groupProps`,`groupLabelProps`,`shortcutProps`,`separatorProps`]),W=O(()=>z.searchTerm,e=>{B(`update:searchTerm`,e)},z.inputProps?.defaultValue||``),G=l(()=>L(z.fuseOptions,{fuseOptions:{ignoreLocation:!0,threshold:.1,keys:[`label`,`groupLabel`]},resultLimit:12,matchAllWhenSearchEmpty:!0})),{results:K}=I(W,l(()=>o(z.items)),G),q=l(()=>a(K.value.map(e=>i(e.item,W.value)))),J=l(()=>e(n({size:z.size}),z.ui));return F({ui:l(()=>({...J.value,content:J.value.list,filterRoot:J.value.inputRoot,filterControl:J.value.inputControl,itemIndicator:``,virtualizer:``}))}),r({ui:J}),(e,n)=>(x(),u(E(P),v(E(V),T(E(H))),{default:D(()=>[m(E(N),v(h.inputProps,{modelValue:E(W),"onUpdate:modelValue":n[0]||=e=>_(W)?W.value=e:null,autofocus:``}),{leading:D(()=>[C(e.$slots,`input-leading`,{},()=>[m(t,{icon:`lucide:search`,class:y(J.value.inputIcon)},null,8,[`class`])])]),trailing:D(({clear:n})=>[h.clearable?(x(),u(t,{key:0,icon:`lucide:x`,class:y(J.value.inputClearable),onClick:n},null,8,[`class`,`onClick`])):d(`v-if`,!0),C(e.$slots,`input-trailing`)]),_:3},16,[`modelValue`]),m(E(M),b(g(h.listProps)),{default:D(()=>[q.value.length?d(`v-if`,!0):(x(),f(`div`,{key:0,class:y(J.value.empty)},[C(e.$slots,`empty`,{},()=>[p(w(h.emptyLabel),1)])],2)),(x(!0),f(c,null,S(q.value,(t,r)=>(x(),u(s,v({ref_for:!0},E(U),{key:r,item:t,onSelect:n[1]||=e=>B(`select`,e)}),{"item-leading":D(t=>[C(e.$slots,`item-leading`,{item:t.item})]),"item-trailing":D(t=>[C(e.$slots,`item-trailing`,{item:t.item})]),"item-label":D(t=>[C(e.$slots,`item-label`,{item:t.item})]),_:2},1040,[`item`]))),128))]),_:3},16)]),_:3},16))}});export{R as default};
@@ -1,18 +1,18 @@
1
1
  import { CommandOptionData, CommandProps, CommandSingleOptionData } from "./types.js";
2
- import * as vue70 from "vue";
2
+ import * as vue305 from "vue";
3
3
  import * as _soybeanjs_headless_composables0 from "@soybeanjs/headless/composables";
4
- import * as _soybeanjs_headless13 from "@soybeanjs/headless";
4
+ import * as _soybeanjs_headless152 from "@soybeanjs/headless";
5
5
 
6
6
  //#region src/components/command/command.vue.d.ts
7
7
  declare const __VLS_export: <T extends CommandOptionData = CommandOptionData>(__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<{
8
8
  props: __VLS_PrettifyLocal<CommandProps<T> & {
9
- onSelect?: ((event: _soybeanjs_headless13.SelectEvent<string>) => any) | undefined;
10
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
11
- onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless13.ListboxCollectionItemData> | undefined) => any) | undefined;
9
+ onSelect?: ((event: _soybeanjs_headless152.SelectEvent<string>) => any) | undefined;
12
10
  onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
12
+ onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless152.ListboxCollectionItemData> | undefined) => any) | undefined;
13
13
  onLeave?: ((event: Event) => any) | undefined;
14
14
  "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
15
- }> & vue70.PublicProps;
15
+ }> & vue305.PublicProps;
16
16
  expose: (exposed: {}) => void;
17
17
  attrs: any;
18
18
  slots: {
@@ -34,8 +34,8 @@ declare const __VLS_export: <T extends CommandOptionData = CommandOptionData>(__
34
34
  item: CommandSingleOptionData;
35
35
  }) => any;
36
36
  };
37
- emit: ((evt: "select", event: _soybeanjs_headless13.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless13.ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
38
- }>) => vue70.VNode & {
37
+ emit: ((evt: "select", event: _soybeanjs_headless152.SelectEvent<string>) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless152.ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
38
+ }>) => vue305.VNode & {
39
39
  __ctx?: Awaited<typeof __VLS_setup>;
40
40
  };
41
41
  declare const _default: typeof __VLS_export;
@@ -1,8 +1,8 @@
1
1
  import { ThemeSize } from "../../theme/types.js";
2
2
  import "../../theme/index.js";
3
3
  import { ConfigProviderProps as ConfigProviderProps$1 } from "./types.js";
4
- import * as vue4 from "vue";
5
- import * as _soybeanjs_headless0 from "@soybeanjs/headless";
4
+ import * as vue73 from "vue";
5
+ import * as _soybeanjs_headless33 from "@soybeanjs/headless";
6
6
  import * as _soybeanjs_unocss_shadcn0 from "@soybeanjs/unocss-shadcn";
7
7
 
8
8
  //#region src/components/config-provider/config-provider.vue.d.ts
@@ -10,11 +10,11 @@ declare var __VLS_15: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_15) => any;
12
12
  };
13
- declare const __VLS_base: vue4.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
13
+ declare const __VLS_base: vue73.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue73.ComponentOptionsMixin, vue73.ComponentOptionsMixin, {}, string, vue73.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
14
14
  size: ThemeSize;
15
- dir: _soybeanjs_headless0.Direction;
15
+ dir: _soybeanjs_headless33.Direction;
16
16
  theme: _soybeanjs_unocss_shadcn0.ThemeOptions;
17
- }, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, vue73.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  type __VLS_WithSlots<T, S> = T & {