@soybeanjs/ui 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/components/accordion/accordion.vue.d.ts +3 -3
  2. package/dist/components/alert/alert.vue.d.ts +4 -4
  3. package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
  4. package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +3 -3
  5. package/dist/components/alert-dialog/alert-dialog.js +1 -1
  6. package/dist/components/alert-dialog/alert-dialog.vue.d.ts +4 -4
  7. package/dist/components/avatar/avatar.js +1 -1
  8. package/dist/components/avatar/avatar.vue.d.ts +4 -4
  9. package/dist/components/avatar/types.d.ts +10 -2
  10. package/dist/components/badge/badge.vue.d.ts +4 -4
  11. package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
  12. package/dist/components/button/button-group.vue.d.ts +3 -3
  13. package/dist/components/button/button-icon.vue.d.ts +3 -3
  14. package/dist/components/button/button-link.vue.d.ts +3 -3
  15. package/dist/components/button/button-loading.vue.d.ts +3 -3
  16. package/dist/components/card/card.vue.d.ts +3 -3
  17. package/dist/components/checkbox/checkbox-card-group.vue.d.ts +4 -4
  18. package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
  19. package/dist/components/checkbox/checkbox-group.vue.d.ts +4 -4
  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.vue.d.ts +7 -7
  23. package/dist/components/config-provider/config-provider.vue.d.ts +5 -5
  24. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +8 -8
  25. package/dist/components/context-menu/context-menu-radio.vue.d.ts +8 -8
  26. package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +11 -11
  27. package/dist/components/context-menu/context-menu.vue.d.ts +8 -8
  28. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  29. package/dist/components/dialog/dialog-pure.vue.d.ts +12 -12
  30. package/dist/components/dialog/dialog.vue.d.ts +12 -12
  31. package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
  32. package/dist/components/drawer/drawer.vue.d.ts +12 -12
  33. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +8 -8
  34. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +8 -8
  35. package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +11 -11
  36. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +8 -8
  37. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  38. package/dist/components/form/form-field.vue.d.ts +2 -2
  39. package/dist/components/form/form.vue.d.ts +2 -2
  40. package/dist/components/icon/icon.vue.d.ts +3 -3
  41. package/dist/components/input/input.vue.d.ts +4 -4
  42. package/dist/components/kbd/kbd.vue.d.ts +3 -3
  43. package/dist/components/label/label.vue.d.ts +2 -2
  44. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  45. package/dist/components/layout/layout.vue.d.ts +4 -4
  46. package/dist/components/link/link.vue.d.ts +3 -3
  47. package/dist/components/list/list-item.vue.d.ts +2 -2
  48. package/dist/components/list/list.vue.d.ts +2 -2
  49. package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
  50. package/dist/components/menu/menu-option.vue.d.ts +8 -8
  51. package/dist/components/menu/menu-options.vue.d.ts +8 -8
  52. package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
  53. package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
  54. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  55. package/dist/components/pagination/pagination.vue.d.ts +4 -4
  56. package/dist/components/password/password.vue.d.ts +4 -4
  57. package/dist/components/popover/popover.vue.d.ts +11 -11
  58. package/dist/components/radio-group/radio-card-group.vue.d.ts +4 -4
  59. package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
  60. package/dist/components/radio-group/radio-group.vue.d.ts +4 -4
  61. package/dist/components/radio-group/radio.vue.d.ts +2 -2
  62. package/dist/components/segment/segment.vue.d.ts +3 -3
  63. package/dist/components/select/select.vue.d.ts +7 -7
  64. package/dist/components/separator/separator.vue.d.ts +5 -5
  65. package/dist/components/switch/switch.vue.d.ts +3 -3
  66. package/dist/components/tabs/tabs.vue.d.ts +3 -3
  67. package/dist/components/tag/tag.vue.d.ts +4 -4
  68. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  69. package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
  70. package/dist/components/tree-menu/tree-menu-item-wrapper.vue.d.ts +2 -2
  71. package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
  72. package/dist/styles.css +4 -0
  73. package/dist/variants/accordion.js +1 -1
  74. package/dist/variants/alert.d.ts +3 -3
  75. package/dist/variants/alert.js +1 -1
  76. package/dist/variants/avatar.js +1 -1
  77. package/dist/variants/badge.d.ts +3 -3
  78. package/dist/variants/breadcrumb.js +1 -1
  79. package/dist/variants/button.d.ts +3 -3
  80. package/dist/variants/card.js +1 -1
  81. package/dist/variants/checkbox.d.ts +3 -3
  82. package/dist/variants/dialog.js +1 -1
  83. package/dist/variants/form.js +1 -1
  84. package/dist/variants/kbd.d.ts +3 -3
  85. package/dist/variants/list.js +1 -1
  86. package/dist/variants/pagination.d.ts +3 -3
  87. package/dist/variants/pagination.js +1 -1
  88. package/dist/variants/radio-group.d.ts +3 -3
  89. package/dist/variants/separator.d.ts +3 -3
  90. package/dist/variants/switch.d.ts +3 -3
  91. package/dist/variants/tabs.d.ts +3 -3
  92. package/dist/variants/tag.d.ts +3 -3
  93. package/dist/variants/textarea.d.ts +3 -3
  94. package/dist/variants/toast.d.ts +3 -3
  95. package/dist/variants/tree-menu.js +1 -1
  96. package/package.json +6 -6
@@ -1,11 +1,11 @@
1
1
  import { AccordionOptionData, AccordionProps } from "./types.js";
2
- import * as vue5 from "vue";
2
+ import * as vue15 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_exposed?: 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
- }> & vue5.PublicProps & (typeof globalThis extends {
8
+ }> & vue15.PublicProps & (typeof globalThis extends {
9
9
  __VLS_PROPS_FALLBACK: infer P;
10
10
  } ? P : {});
11
11
  expose: (exposed: {}) => void;
@@ -41,7 +41,7 @@ declare const __VLS_export: <T extends AccordionOptionData = AccordionOptionData
41
41
  }) => any;
42
42
  };
43
43
  emit: (evt: "update:modelValue", value: M extends true ? string[] : string) => void;
44
- }>) => vue5.VNode & {
44
+ }>) => vue15.VNode & {
45
45
  __ctx?: Awaited<typeof __VLS_setup>;
46
46
  };
47
47
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { AlertProps } from "./types.js";
2
- import * as vue7 from "vue";
2
+ import * as vue5 from "vue";
3
3
 
4
4
  //#region src/components/alert/alert.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_29: {}, __VLS_37: {}, __VLS_39: {}, __VLS_41: {}, __VLS_49: {};
@@ -16,13 +16,13 @@ type __VLS_Slots = {} & {
16
16
  } & {
17
17
  close?: (props: typeof __VLS_49) => any;
18
18
  };
19
- declare const __VLS_base: vue7.DefineComponent<AlertProps, {}, {}, {}, {}, vue7.ComponentOptionsMixin, vue7.ComponentOptionsMixin, {
19
+ declare const __VLS_base: vue5.DefineComponent<AlertProps, {}, {}, {}, {}, vue5.ComponentOptionsMixin, vue5.ComponentOptionsMixin, {
20
20
  "update:open": (open: boolean) => any;
21
- }, string, vue7.PublicProps, Readonly<AlertProps> & Readonly<{
21
+ }, string, vue5.PublicProps, Readonly<AlertProps> & Readonly<{
22
22
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
23
23
  }>, {
24
24
  open: boolean;
25
- }, {}, {}, {}, string, vue7.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue5.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 vue12 from "vue";
2
+ import * as vue34 from "vue";
3
3
 
4
4
  //#region src/components/alert-dialog/alert-dialog-action.vue.d.ts
5
5
  declare var __VLS_8: {}, __VLS_15: {};
@@ -8,9 +8,9 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  default?: (props: typeof __VLS_15) => any;
10
10
  };
11
- declare const __VLS_base: vue12.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue12.ComponentOptionsMixin, vue12.ComponentOptionsMixin, {}, string, vue12.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue34.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue34.ComponentOptionsMixin, vue34.ComponentOptionsMixin, {}, string, vue34.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
12
12
  text: string;
13
- }, {}, {}, {}, string, vue12.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue34.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 vue22 from "vue";
4
+ import * as vue24 from "vue";
5
5
 
6
6
  //#region src/components/alert-dialog/alert-dialog-cancel.vue.d.ts
7
7
  declare var __VLS_8: {}, __VLS_15: {};
@@ -10,10 +10,10 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  default?: (props: typeof __VLS_15) => any;
12
12
  };
13
- declare const __VLS_base: vue22.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue22.ComponentOptionsMixin, vue22.ComponentOptionsMixin, {}, string, vue22.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
13
+ declare const __VLS_base: vue24.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue24.ComponentOptionsMixin, vue24.ComponentOptionsMixin, {}, string, vue24.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
14
14
  text: string;
15
15
  variant: ButtonVariant;
16
- }, {}, {}, {}, string, vue22.ComponentProvideOptions, false, {}, any>;
16
+ }, {}, {}, {}, string, vue24.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 +1 @@
1
- import{mergeSlotVariants as e}from"../../theme/shared.js";import{provideSizeContext as t}from"../../theme/context.js";import{dialogVariants as n}from"../../variants/dialog.js";import r from"../icon/icon.js";import{computed as i,createBlock as a,createCommentVNode as o,createTextVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeClass as f,normalizeProps as p,openBlock as m,renderSlot as h,toDisplayString as g,toHandlers as _,unref as v,useSlots as y,withCtx as b}from"vue";import{useForwardListeners as x,useOmitProps as S}from"@soybeanjs/headless/composables";import{AlertDialogContent as C,AlertDialogDescription as w,AlertDialogFooter as T,AlertDialogHeader as E,AlertDialogOverlay as D,AlertDialogPortal as O,AlertDialogRoot as k,AlertDialogTitle as A,AlertDialogTrigger as j,provideDialogThemeContext as M}from"@soybeanjs/headless";var N=l({name:`SAlertDialog`,__name:`alert-dialog`,props:{type:{},showIcon:{type:Boolean,default:!0},size:{},ui:{},title:{},description:{},triggerProps:{},contentProps:{},headerProps:{},footerProps:{},titleProps:{},descriptionProps:{},overlayProps:{},portalProps:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1}},emits:[`update:open`],setup(l,{emit:N}){let P=l,F=S(P,[`size`,`ui`,`type`,`title`,`description`,`triggerProps`,`contentProps`,`headerProps`,`footerProps`,`titleProps`,`descriptionProps`,`overlayProps`,`portalProps`]),I=N,L=y(),R=x(I),z=i(()=>e(n({size:P.size}),P.ui)),B={destructive:{icon:`lucide:circle-x`,class:`text-destructive`},success:{icon:`lucide:circle-check`,class:`text-success`},warning:{icon:`lucide:circle-alert`,class:`text-warning`},info:{icon:`lucide:info`,class:`text-info`}},V=i(()=>P.type?B[P.type]:null);return M({ui:z}),t(()=>P.size),(e,t)=>(m(),a(v(k),d(v(F),{"onUpdate:open":t[0]||=e=>I(`update:open`,e)}),{default:b(t=>[c(v(j),d(l.triggerProps,{size:l.size}),{default:b(()=>[h(e.$slots,`trigger`)]),_:3},16,[`size`]),c(v(O),p(u(l.portalProps)),{default:b(()=>[c(v(D),p(u(l.overlayProps)),null,16),c(v(C),d(l.contentProps,_(v(R))),{default:b(()=>[c(v(E),p(u(l.headerProps)),{default:b(()=>[c(v(A),p(u(l.titleProps)),{default:b(()=>[l.showIcon&&V.value?(m(),a(r,{key:0,icon:V.value.icon,class:f(V.value.class)},null,8,[`icon`,`class`])):o(`v-if`,!0),h(e.$slots,`title`,p(u(t)),()=>[s(g(l.title),1)])]),_:2},1040),v(L).description||l.description?(m(),a(v(w),p(d({key:0},l.descriptionProps)),{default:b(()=>[h(e.$slots,`description`,p(u(t)),()=>[s(g(l.description),1)])]),_:2},1040)):o(`v-if`,!0)]),_:2},1040),h(e.$slots,`default`,p(u(t))),v(L).footer?(m(),a(v(T),p(d({key:0},l.footerProps)),{default:b(()=>[h(e.$slots,`footer`,p(u(t)))]),_:2},1040)):o(`v-if`,!0)]),_:2},1040)]),_:2},1040)]),_:3},16))}});export{N as default};
1
+ import{mergeSlotVariants as e}from"../../theme/shared.js";import{provideSizeContext as t}from"../../theme/context.js";import{dialogVariants as n}from"../../variants/dialog.js";import r from"../icon/icon.js";import{computed as i,createBlock as a,createCommentVNode as o,createTextVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeClass as f,normalizeProps as p,openBlock as m,renderSlot as h,toDisplayString as g,toHandlers as _,unref as v,useSlots as y,withCtx as b}from"vue";import{useForwardListeners as x,useOmitProps as S}from"@soybeanjs/headless/composables";import{AlertDialogContent as C,AlertDialogDescription as w,AlertDialogFooter as T,AlertDialogHeader as E,AlertDialogOverlay as D,AlertDialogPortal as O,AlertDialogRoot as k,AlertDialogTitle as A,AlertDialogTrigger as j,provideDialogThemeContext as M}from"@soybeanjs/headless";var N=l({name:`SAlertDialog`,__name:`alert-dialog`,props:{type:{},showIcon:{type:Boolean,default:!0},size:{},ui:{},title:{},description:{},triggerProps:{},contentProps:{},headerProps:{},footerProps:{},titleProps:{},descriptionProps:{},overlayProps:{},portalProps:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1}},emits:[`update:open`],setup(l,{emit:N}){let P=l,F=S(P,[`size`,`ui`,`type`,`title`,`description`,`triggerProps`,`contentProps`,`headerProps`,`footerProps`,`titleProps`,`descriptionProps`,`overlayProps`,`portalProps`]),I=N,L=y(),R=x(I),z=i(()=>e(n({size:P.size}),P.ui)),B={destructive:{icon:`lucide:circle-x`,class:`text-destructive`},success:{icon:`lucide:circle-check`,class:`text-success`},warning:{icon:`lucide:circle-alert`,class:`text-warning`},info:{icon:`lucide:info`,class:`text-info`}},V=i(()=>P.type?B[P.type]:null);return M({ui:z}),t(()=>P.size),(e,t)=>(m(),a(v(k),d(v(F),{"onUpdate:open":t[0]||=e=>I(`update:open`,e)}),{default:b(t=>[c(v(j),d(l.triggerProps,{size:l.size,"as-child":``}),{default:b(()=>[h(e.$slots,`trigger`)]),_:3},16,[`size`]),c(v(O),p(u(l.portalProps)),{default:b(()=>[c(v(D),p(u(l.overlayProps)),null,16),c(v(C),d(l.contentProps,_(v(R))),{default:b(()=>[c(v(E),p(u(l.headerProps)),{default:b(()=>[c(v(A),p(u(l.titleProps)),{default:b(()=>[l.showIcon&&V.value?(m(),a(r,{key:0,icon:V.value.icon,class:f(V.value.class)},null,8,[`icon`,`class`])):o(`v-if`,!0),h(e.$slots,`title`,p(u(t)),()=>[s(g(l.title),1)])]),_:2},1040),v(L).description||l.description?(m(),a(v(w),p(d({key:0},l.descriptionProps)),{default:b(()=>[h(e.$slots,`description`,p(u(t)),()=>[s(g(l.description),1)])]),_:2},1040)):o(`v-if`,!0)]),_:2},1040),h(e.$slots,`default`,p(u(t))),v(L).footer?(m(),a(v(T),p(d({key:0},l.footerProps)),{default:b(()=>[h(e.$slots,`footer`,p(u(t)))]),_:2},1040)):o(`v-if`,!0)]),_:2},1040)]),_:2},1040)]),_:3},16))}});export{N as default};
@@ -1,5 +1,5 @@
1
1
  import { AlertDialogProps } from "./types.js";
2
- import * as vue17 from "vue";
2
+ import * as vue29 from "vue";
3
3
 
4
4
  //#region src/components/alert-dialog/alert-dialog.vue.d.ts
5
5
  declare var __VLS_16: {}, __VLS_53: {
@@ -26,15 +26,15 @@ type __VLS_Slots = {} & {
26
26
  } & {
27
27
  footer?: (props: typeof __VLS_71) => any;
28
28
  };
29
- declare const __VLS_base: vue17.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue17.ComponentOptionsMixin, vue17.ComponentOptionsMixin, {
29
+ declare const __VLS_base: vue29.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue29.ComponentOptionsMixin, vue29.ComponentOptionsMixin, {
30
30
  "update:open": (value: boolean) => any;
31
- }, string, vue17.PublicProps, Readonly<AlertDialogProps> & Readonly<{
31
+ }, string, vue29.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, vue17.ComponentProvideOptions, false, {}, any>;
37
+ }, {}, {}, {}, string, vue29.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 +1 @@
1
- import{mergeSlotVariants as e}from"../../theme/shared.js";import{avatarVariants as t}from"../../variants/avatar.js";import{computed as n,createBlock as r,createTextVNode as i,createVNode as a,defineComponent as o,guardReactiveProps as s,mergeProps as c,normalizeProps as l,openBlock as u,renderSlot as d,toDisplayString as f,unref as p,withCtx as m}from"vue";import{useOmitProps as h}from"@soybeanjs/headless/composables";import{AvatarFallback as g,AvatarImage as _,AvatarRoot as v,provideAvatarThemeContext as y}from"@soybeanjs/headless";var b=o({name:`SAvatar`,__name:`avatar`,props:{size:{},ui:{},fallbackLabel:{},imageProps:{},fallbackProps:{}},emits:[`loadingStatusChange`],setup(o,{emit:b}){let x=o,S=b,C=h(x,[`size`,`ui`,`fallbackLabel`,`imageProps`,`fallbackProps`]);return y({ui:n(()=>e(t({size:x.size}),x.ui))}),(e,t)=>(u(),r(p(v),l(s(p(C))),{default:m(()=>[d(e.$slots,`default`,{},()=>[d(e.$slots,`image`,{},()=>[a(p(_),c(o.imageProps,{onLoadingStatusChange:t[0]||=e=>S(`loadingStatusChange`,e)}),null,16)]),a(p(g),l(s(o.fallbackProps)),{default:m(()=>[d(e.$slots,`fallback`,{},()=>[i(f(o.fallbackLabel),1)])]),_:3},16)])]),_:3},16))}});export{b as default};
1
+ import{mergeSlotVariants as e}from"../../theme/shared.js";import{avatarVariants as t}from"../../variants/avatar.js";import{computed as n,createBlock as r,createTextVNode as i,createVNode as a,defineComponent as o,guardReactiveProps as s,mergeProps as c,normalizeProps as l,openBlock as u,renderSlot as d,toDisplayString as f,unref as p,withCtx as m}from"vue";import{useOmitProps as h}from"@soybeanjs/headless/composables";import{AvatarFallback as g,AvatarImage as _,AvatarRoot as v,provideAvatarThemeContext as y}from"@soybeanjs/headless";var b=o({name:`SAvatar`,__name:`avatar`,props:{size:{},ui:{},src:{},delayMs:{},fallbackLabel:{},imageProps:{},fallbackProps:{}},emits:[`loadingStatusChange`],setup(o,{emit:b}){let x=o,S=b,C=h(x,[`size`,`ui`,`fallbackLabel`,`imageProps`,`fallbackProps`]);y({ui:n(()=>e(t({size:x.size}),x.ui))});let w=n(()=>({src:x.src,...x.imageProps})),T=n(()=>({delayMs:x.delayMs,...x.fallbackProps}));return(e,t)=>(u(),r(p(v),l(s(p(C))),{default:m(()=>[d(e.$slots,`default`,{},()=>[d(e.$slots,`image`,{},()=>[a(p(_),c(w.value,{onLoadingStatusChange:t[0]||=e=>S(`loadingStatusChange`,e)}),null,16)]),a(p(g),l(s(T.value)),{default:m(()=>[d(e.$slots,`fallback`,{},()=>[i(f(o.fallbackLabel),1)])]),_:3},16)])]),_:3},16))}});export{b as default};
@@ -1,5 +1,5 @@
1
1
  import { AvatarProps } from "./types.js";
2
- import * as vue32 from "vue";
2
+ import * as vue10 from "vue";
3
3
  import * as _soybeanjs_headless0 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/avatar/avatar.vue.d.ts
@@ -11,11 +11,11 @@ type __VLS_Slots = {} & {
11
11
  } & {
12
12
  fallback?: (props: typeof __VLS_26) => any;
13
13
  };
14
- declare const __VLS_base: vue32.DefineComponent<AvatarProps, {}, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue10.DefineComponent<AvatarProps, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {
15
15
  loadingStatusChange: (status: _soybeanjs_headless0.ImageLoadingStatus) => any;
16
- }, string, vue32.PublicProps, Readonly<AvatarProps> & Readonly<{
16
+ }, string, vue10.PublicProps, Readonly<AvatarProps> & Readonly<{
17
17
  onLoadingStatusChange?: ((status: _soybeanjs_headless0.ImageLoadingStatus) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, vue32.ComponentProvideOptions, false, {}, any>;
18
+ }>, {}, {}, {}, {}, string, vue10.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 & {
@@ -6,9 +6,17 @@ import { AvatarFallbackProps, AvatarImageEmits, AvatarImageProps, AvatarRootProp
6
6
  interface AvatarProps extends AvatarRootProps {
7
7
  size?: ThemeSize;
8
8
  ui?: Partial<AvatarUi>;
9
+ /** The image source URL */
10
+ src: string;
11
+ /**
12
+ * Useful for delaying rendering so it only appears for those with slower connections.
13
+ *
14
+ * @defaultValue undefined
15
+ */
16
+ delayMs?: number;
9
17
  fallbackLabel?: string;
10
- imageProps: AvatarImageProps;
11
- fallbackProps?: AvatarFallbackProps;
18
+ imageProps?: Omit<AvatarImageProps, 'src'>;
19
+ fallbackProps?: Omit<AvatarFallbackProps, 'delayMs'>;
12
20
  }
13
21
  type AvatarEmits = AvatarImageEmits;
14
22
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { BadgeProps } from "./types.js";
2
- import * as vue27 from "vue";
2
+ import * as vue17 from "vue";
3
3
 
4
4
  //#region src/components/badge/badge.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_18: {};
@@ -8,13 +8,13 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  content?: (props: typeof __VLS_18) => any;
10
10
  };
11
- declare const __VLS_base: vue27.DefineComponent<BadgeProps, {}, {}, {}, {}, vue27.ComponentOptionsMixin, vue27.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue17.DefineComponent<BadgeProps, {}, {}, {}, {}, vue17.ComponentOptionsMixin, vue17.ComponentOptionsMixin, {
12
12
  "update:open": (open: boolean) => any;
13
- }, string, vue27.PublicProps, Readonly<BadgeProps> & Readonly<{
13
+ }, string, vue17.PublicProps, Readonly<BadgeProps> & Readonly<{
14
14
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
- }, {}, {}, {}, string, vue27.ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, vue17.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 vue37 from "vue";
2
+ import * as vue22 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_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
6
  props: __VLS_PrettifyLocal<BreadcrumbProps<T> & {
7
7
  onClick?: ((item: T) => any) | undefined;
8
- }> & vue37.PublicProps & (typeof globalThis extends {
8
+ }> & vue22.PublicProps & (typeof globalThis extends {
9
9
  __VLS_PROPS_FALLBACK: infer P;
10
10
  } ? P : {});
11
11
  expose: (exposed: {}) => void;
@@ -42,7 +42,7 @@ declare const __VLS_export: <T extends BreadcrumbOptionData = BreadcrumbOptionDa
42
42
  separator?: (props: {}) => any;
43
43
  };
44
44
  emit: BreadcrumbEmits<T>;
45
- }>) => vue37.VNode & {
45
+ }>) => vue22.VNode & {
46
46
  __ctx?: Awaited<typeof __VLS_setup>;
47
47
  };
48
48
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { ButtonGroupProps } from "./types.js";
2
- import * as vue64 from "vue";
2
+ import * as vue59 from "vue";
3
3
  import * as _soybeanjs_headless1 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/button/button-group.vue.d.ts
@@ -7,10 +7,10 @@ declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: vue64.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue64.ComponentOptionsMixin, vue64.ComponentOptionsMixin, {}, string, vue64.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
10
+ declare const __VLS_base: vue59.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue59.ComponentOptionsMixin, vue59.ComponentOptionsMixin, {}, string, vue59.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
11
11
  dir: _soybeanjs_headless1.Direction;
12
12
  orientation: _soybeanjs_headless1.DataOrientation;
13
- }, {}, {}, {}, string, vue64.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue59.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 vue54 from "vue";
5
+ import * as vue49 from "vue";
6
6
 
7
7
  //#region src/components/button/button-icon.vue.d.ts
8
- declare const __VLS_export: vue54.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue54.ComponentOptionsMixin, vue54.ComponentOptionsMixin, {}, string, vue54.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
8
+ declare const __VLS_export: vue49.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue49.ComponentOptionsMixin, vue49.ComponentOptionsMixin, {}, string, vue49.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
9
9
  color: ThemeColor;
10
10
  variant: ButtonVariant;
11
11
  shape: ButtonShape;
12
12
  fitContent: boolean;
13
- }, {}, {}, {}, string, vue54.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue49.ComponentProvideOptions, false, {}, any>;
14
14
  declare const _default: typeof __VLS_export;
15
15
  //#endregion
16
16
  export { _default };
@@ -1,6 +1,6 @@
1
1
  import { ButtonVariant } from "../../variants/button.js";
2
2
  import { ButtonLinkProps } from "./types.js";
3
- import * as vue59 from "vue";
3
+ import * as vue54 from "vue";
4
4
 
5
5
  //#region src/components/button/button-link.vue.d.ts
6
6
  declare var __VLS_12: {
@@ -9,7 +9,7 @@ declare var __VLS_12: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_12) => any;
11
11
  };
12
- declare const __VLS_base: vue59.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue59.ComponentOptionsMixin, vue59.ComponentOptionsMixin, {}, string, vue59.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
12
+ declare const __VLS_base: vue54.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue54.ComponentOptionsMixin, vue54.ComponentOptionsMixin, {}, string, vue54.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
13
13
  disabled: boolean;
14
14
  replace: boolean;
15
15
  variant: ButtonVariant;
@@ -18,7 +18,7 @@ declare const __VLS_base: vue59.DefineComponent<ButtonLinkProps, {}, {}, {}, {},
18
18
  noRel: boolean;
19
19
  prefetch: boolean;
20
20
  noPrefetch: boolean;
21
- }, {}, {}, {}, string, vue59.ComponentProvideOptions, false, {}, any>;
21
+ }, {}, {}, {}, string, vue54.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
24
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { ButtonLoadingProps } from "./types.js";
2
- import * as vue49 from "vue";
2
+ import * as vue39 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_32) => any;
19
19
  };
20
- declare const __VLS_base: vue49.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue49.ComponentOptionsMixin, vue49.ComponentOptionsMixin, {}, string, vue49.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
20
+ declare const __VLS_base: vue39.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue39.ComponentOptionsMixin, vue39.ComponentOptionsMixin, {}, string, vue39.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
21
21
  loadingIcon: string;
22
22
  loadingPosition: Align;
23
- }, {}, {}, {}, string, vue49.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue39.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 { CardProps } from "./types.js";
2
- import * as vue39 from "vue";
2
+ import * as vue148 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: vue39.DefineComponent<CardProps, {}, {}, {}, {}, vue39.ComponentOptionsMixin, vue39.ComponentOptionsMixin, {}, string, vue39.PublicProps, Readonly<CardProps> & Readonly<{}>, {
17
+ declare const __VLS_base: vue148.DefineComponent<CardProps, {}, {}, {}, {}, vue148.ComponentOptionsMixin, vue148.ComponentOptionsMixin, {}, string, vue148.PublicProps, Readonly<CardProps> & Readonly<{}>, {
18
18
  scrollable: boolean;
19
- }, {}, {}, {}, string, vue39.ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, vue148.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,19 +1,19 @@
1
1
  import { CheckboxCardGroupOptionData, CheckboxCardGroupProps } from "./types.js";
2
- import * as vue76 from "vue";
2
+ import * as vue146 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_exposed?: 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
- }> & vue76.PublicProps & (typeof globalThis extends {
9
+ }> & vue146.PublicProps & (typeof globalThis extends {
10
10
  __VLS_PROPS_FALLBACK: infer P;
11
11
  } ? P : {});
12
12
  expose: (exposed: {}) => void;
13
13
  attrs: any;
14
- slots: __VLS_Slots;
14
+ slots: {};
15
15
  emit: (evt: "update:modelValue", value: T[]) => void;
16
- }>) => vue76.VNode & {
16
+ }>) => vue146.VNode & {
17
17
  __ctx?: Awaited<typeof __VLS_setup>;
18
18
  };
19
19
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
1
  import { CheckboxCardProps } from "./types.js";
2
- import * as vue78 from "vue";
3
- import * as _soybeanjs_headless10 from "@soybeanjs/headless";
2
+ import * as vue141 from "vue";
3
+ import * as _soybeanjs_headless17 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox-card.vue.d.ts
6
6
  declare var __VLS_21: {
@@ -11,13 +11,13 @@ type __VLS_Slots = {} & {
11
11
  } & {
12
12
  description?: (props: typeof __VLS_29) => any;
13
13
  };
14
- declare const __VLS_base: vue78.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue78.ComponentOptionsMixin, vue78.ComponentOptionsMixin, {
15
- "update:modelValue": (value: _soybeanjs_headless10.CheckedState | null) => any;
16
- }, string, vue78.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
17
- "onUpdate:modelValue"?: ((value: _soybeanjs_headless10.CheckedState | null) => any) | undefined;
14
+ declare const __VLS_base: vue141.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue141.ComponentOptionsMixin, vue141.ComponentOptionsMixin, {
15
+ "update:modelValue": (value: _soybeanjs_headless17.CheckedState | null) => any;
16
+ }, string, vue141.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: _soybeanjs_headless17.CheckedState | null) => any) | undefined;
18
18
  }>, {
19
- modelValue: _soybeanjs_headless10.CheckedState | null;
20
- }, {}, {}, {}, string, vue78.ComponentProvideOptions, false, {}, any>;
19
+ modelValue: _soybeanjs_headless17.CheckedState | null;
20
+ }, {}, {}, {}, string, vue141.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,19 +1,19 @@
1
1
  import { CheckboxGroupOptionData, CheckboxGroupProps } from "./types.js";
2
- import * as vue69 from "vue";
2
+ import * as vue134 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_exposed?: 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
- }> & vue69.PublicProps & (typeof globalThis extends {
9
+ }> & vue134.PublicProps & (typeof globalThis extends {
10
10
  __VLS_PROPS_FALLBACK: infer P;
11
11
  } ? P : {});
12
12
  expose: (exposed: {}) => void;
13
13
  attrs: any;
14
- slots: __VLS_Slots;
14
+ slots: {};
15
15
  emit: (evt: "update:modelValue", value: T[]) => void;
16
- }>) => vue69.VNode & {
16
+ }>) => vue134.VNode & {
17
17
  __ctx?: Awaited<typeof __VLS_setup>;
18
18
  };
19
19
  declare const _default: typeof __VLS_export;
@@ -1,28 +1,28 @@
1
1
  import { CheckboxProps } from "./types.js";
2
- import * as vue71 from "vue";
3
- import * as _soybeanjs_headless3 from "@soybeanjs/headless";
2
+ import * as vue136 from "vue";
3
+ import * as _soybeanjs_headless10 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox.vue.d.ts
6
6
  declare var __VLS_28: {
7
- modelValue: _soybeanjs_headless3.CheckedState | null | undefined;
8
- state: _soybeanjs_headless3.CheckedState;
7
+ modelValue: _soybeanjs_headless10.CheckedState | null | undefined;
8
+ state: _soybeanjs_headless10.CheckedState;
9
9
  }, __VLS_41: {
10
10
  id: string;
11
- modelValue: _soybeanjs_headless3.CheckedState | null | undefined;
12
- state: _soybeanjs_headless3.CheckedState;
11
+ modelValue: _soybeanjs_headless10.CheckedState | null | undefined;
12
+ state: _soybeanjs_headless10.CheckedState;
13
13
  };
14
14
  type __VLS_Slots = {} & {
15
15
  indicator?: (props: typeof __VLS_28) => any;
16
16
  } & {
17
17
  default?: (props: typeof __VLS_41) => any;
18
18
  };
19
- declare const __VLS_base: vue71.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue71.ComponentOptionsMixin, vue71.ComponentOptionsMixin, {
20
- "update:modelValue": (value: _soybeanjs_headless3.CheckedState | null) => any;
21
- }, string, vue71.PublicProps, Readonly<CheckboxProps> & Readonly<{
22
- "onUpdate:modelValue"?: ((value: _soybeanjs_headless3.CheckedState | null) => any) | undefined;
19
+ declare const __VLS_base: vue136.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue136.ComponentOptionsMixin, vue136.ComponentOptionsMixin, {
20
+ "update:modelValue": (value: _soybeanjs_headless10.CheckedState | null) => any;
21
+ }, string, vue136.PublicProps, Readonly<CheckboxProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: _soybeanjs_headless10.CheckedState | null) => any) | undefined;
23
23
  }>, {
24
- modelValue: _soybeanjs_headless3.CheckedState | null;
25
- }, {}, {}, {}, string, vue71.ComponentProvideOptions, false, {}, any>;
24
+ modelValue: _soybeanjs_headless10.CheckedState | null;
25
+ }, {}, {}, {}, string, vue136.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 vue83 from "vue";
2
+ import * as vue164 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: vue83.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue83.ComponentOptionsMixin, vue83.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue164.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue164.ComponentOptionsMixin, vue164.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue83.PublicProps, Readonly<CollapsibleProps> & Readonly<{
13
+ }, string, vue164.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, vue83.ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, vue164.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,18 +1,18 @@
1
1
  import { CommandOptionData, CommandProps, CommandSingleOptionData } from "./types.js";
2
- import * as vue88 from "vue";
2
+ import * as vue64 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_headless3 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_exposed?: 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;
9
+ onSelect?: ((event: _soybeanjs_headless3.SelectEvent<string>) => any) | undefined;
10
10
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
11
- onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless13.ListboxCollectionItemData> | undefined) => any) | undefined;
11
+ onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless3.ListboxCollectionItemData> | undefined) => any) | undefined;
12
12
  onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
13
13
  onLeave?: ((event: Event) => any) | undefined;
14
14
  "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
15
- }> & vue88.PublicProps & (typeof globalThis extends {
15
+ }> & vue64.PublicProps & (typeof globalThis extends {
16
16
  __VLS_PROPS_FALLBACK: infer P;
17
17
  } ? P : {});
18
18
  expose: (exposed: {}) => void;
@@ -36,8 +36,8 @@ declare const __VLS_export: <T extends CommandOptionData = CommandOptionData>(__
36
36
  item: CommandSingleOptionData;
37
37
  }) => any;
38
38
  };
39
- 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);
40
- }>) => vue88.VNode & {
39
+ emit: ((evt: "select", event: _soybeanjs_headless3.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless3.ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
40
+ }>) => vue64.VNode & {
41
41
  __ctx?: Awaited<typeof __VLS_setup>;
42
42
  };
43
43
  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 vue90 from "vue";
5
- import * as _soybeanjs_headless17 from "@soybeanjs/headless";
4
+ import * as vue66 from "vue";
5
+ import * as _soybeanjs_headless7 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_18: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_18) => any;
12
12
  };
13
- declare const __VLS_base: vue90.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue90.ComponentOptionsMixin, vue90.ComponentOptionsMixin, {}, string, vue90.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
14
- dir: _soybeanjs_headless17.Direction;
13
+ declare const __VLS_base: vue66.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue66.ComponentOptionsMixin, vue66.ComponentOptionsMixin, {}, string, vue66.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
14
+ dir: _soybeanjs_headless7.Direction;
15
15
  size: ThemeSize;
16
16
  theme: _soybeanjs_unocss_shadcn0.ThemeOptions;
17
- }, {}, {}, {}, string, vue90.ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, vue66.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,7 +1,7 @@
1
1
  import { MenuCheckboxOptionData } from "../menu/types.js";
2
2
  import { ContextMenuCheckboxProps } from "./types.js";
3
- import * as vue104 from "vue";
4
- import * as _soybeanjs_headless42 from "@soybeanjs/headless";
3
+ import * as vue157 from "vue";
4
+ import * as _soybeanjs_headless36 from "@soybeanjs/headless";
5
5
  import { DefinedValue } from "@soybeanjs/headless";
6
6
 
7
7
  //#region src/components/context-menu/context-menu-checkbox.vue.d.ts
@@ -12,12 +12,12 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
12
12
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
13
  onEntryFocus?: ((event: Event) => any) | undefined;
14
14
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
15
- onPointerDownOutside?: ((event: _soybeanjs_headless42.PointerDownOutsideEvent) => any) | undefined;
16
- onFocusOutside?: ((event: _soybeanjs_headless42.FocusOutsideEvent) => any) | undefined;
17
- onInteractOutside?: ((event: _soybeanjs_headless42.PointerDownOutsideEvent | _soybeanjs_headless42.FocusOutsideEvent) => any) | undefined;
15
+ onPointerDownOutside?: ((event: _soybeanjs_headless36.PointerDownOutsideEvent) => any) | undefined;
16
+ onFocusOutside?: ((event: _soybeanjs_headless36.FocusOutsideEvent) => any) | undefined;
17
+ onInteractOutside?: ((event: _soybeanjs_headless36.PointerDownOutsideEvent | _soybeanjs_headless36.FocusOutsideEvent) => any) | undefined;
18
18
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
19
19
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
20
- }> & vue104.PublicProps & (typeof globalThis extends {
20
+ }> & vue157.PublicProps & (typeof globalThis extends {
21
21
  __VLS_PROPS_FALLBACK: infer P;
22
22
  } ? P : {});
23
23
  expose: (exposed: {}) => void;
@@ -29,8 +29,8 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
29
29
  'item-trailing': (props: S) => any;
30
30
  'item-indicator-icon': (props: S) => any;
31
31
  };
32
- emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless42.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless42.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless42.PointerDownOutsideEvent | _soybeanjs_headless42.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
33
- }>) => vue104.VNode & {
32
+ emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "entryFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless36.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless36.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless36.PointerDownOutsideEvent | _soybeanjs_headless36.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void);
33
+ }>) => vue157.VNode & {
34
34
  __ctx?: Awaited<typeof __VLS_setup>;
35
35
  };
36
36
  declare const _default: typeof __VLS_export;