@soybeanjs/ui 0.4.3 → 0.4.5

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 (106) hide show
  1. package/dist/components/accordion/accordion.js +1 -1
  2. package/dist/components/accordion/accordion.vue.d.ts +3 -3
  3. package/dist/components/alert/alert.js +1 -1
  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.js +1 -1
  11. package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
  12. package/dist/components/button/button-group.vue.d.ts +6 -6
  13. package/dist/components/button/button-icon.vue.d.ts +3 -3
  14. package/dist/components/button/button-link.vue.d.ts +4 -4
  15. package/dist/components/button/button-loading.vue.d.ts +3 -3
  16. package/dist/components/button/button.vue.d.ts +4 -4
  17. package/dist/components/card/card.js +1 -1
  18. package/dist/components/card/card.vue.d.ts +3 -3
  19. package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
  20. package/dist/components/checkbox/checkbox-card.js +1 -1
  21. package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
  22. package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
  23. package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
  24. package/dist/components/collapsible/collapsible.vue.d.ts +4 -4
  25. package/dist/components/command/command-single-option.js +1 -1
  26. package/dist/components/command/command.vue.d.ts +7 -7
  27. package/dist/components/config-provider/config-provider.vue.d.ts +5 -5
  28. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +8 -8
  29. package/dist/components/context-menu/context-menu-radio.vue.d.ts +8 -8
  30. package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +11 -11
  31. package/dist/components/context-menu/context-menu.vue.d.ts +8 -8
  32. package/dist/components/dialog/context.d.ts +2 -2
  33. package/dist/components/dialog/context.js +1 -1
  34. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  35. package/dist/components/dialog/dialog-pure.vue.d.ts +12 -12
  36. package/dist/components/dialog/dialog.vue.d.ts +12 -12
  37. package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
  38. package/dist/components/drawer/drawer.vue.d.ts +12 -12
  39. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +8 -8
  40. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +8 -8
  41. package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +11 -11
  42. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +8 -8
  43. package/dist/components/form/form.vue.d.ts +2 -2
  44. package/dist/components/form/use-form.d.ts +22 -22
  45. package/dist/components/icon/icon.js +1 -1
  46. package/dist/components/icon/icon.vue.d.ts +2 -2
  47. package/dist/components/icon/types.d.ts +1 -1
  48. package/dist/components/input/input.vue.d.ts +4 -4
  49. package/dist/components/kbd/kbd.vue.d.ts +3 -3
  50. package/dist/components/label/label.vue.d.ts +2 -2
  51. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  52. package/dist/components/layout/layout.vue.d.ts +5 -5
  53. package/dist/components/link/link.vue.d.ts +3 -3
  54. package/dist/components/list/list-item.vue.d.ts +2 -2
  55. package/dist/components/list/list.vue.d.ts +2 -2
  56. package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
  57. package/dist/components/menu/menu-item-slot.js +1 -1
  58. package/dist/components/menu/menu-option.vue.d.ts +8 -8
  59. package/dist/components/menu/menu-options.vue.d.ts +8 -8
  60. package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
  61. package/dist/components/navigation-menu/navigation-menu-item-slot.js +1 -1
  62. package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
  63. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  64. package/dist/components/page-tabs/page-tabs.js +1 -1
  65. package/dist/components/page-tabs/page-tabs.vue.d.ts +6 -6
  66. package/dist/components/pagination/pagination.vue.d.ts +4 -4
  67. package/dist/components/password/password.vue.d.ts +4 -4
  68. package/dist/components/popover/popover.vue.d.ts +11 -11
  69. package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
  70. package/dist/components/radio-group/radio-card.js +1 -1
  71. package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
  72. package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
  73. package/dist/components/radio-group/radio.vue.d.ts +2 -2
  74. package/dist/components/segment/segment.vue.d.ts +3 -3
  75. package/dist/components/select/select-single-option.js +1 -1
  76. package/dist/components/select/select.vue.d.ts +7 -7
  77. package/dist/components/separator/separator.vue.d.ts +5 -5
  78. package/dist/components/switch/switch.vue.d.ts +25 -25
  79. package/dist/components/tabs/tabs.vue.d.ts +3 -3
  80. package/dist/components/tag/tag.vue.d.ts +4 -4
  81. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  82. package/dist/components/toast/context.d.ts +2 -2
  83. package/dist/components/toast/context.js +1 -1
  84. package/dist/components/toast/types.d.ts +1 -5
  85. package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
  86. package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
  87. package/dist/components/tree/tree.vue.d.ts +5 -5
  88. package/dist/components/tree-menu/tree-menu-option-slot.js +1 -1
  89. package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
  90. package/dist/components/tree-menu/tree-menu.js +1 -1
  91. package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
  92. package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
  93. package/dist/variants/alert.d.ts +3 -3
  94. package/dist/variants/badge.d.ts +3 -3
  95. package/dist/variants/button.d.ts +3 -3
  96. package/dist/variants/checkbox.d.ts +3 -3
  97. package/dist/variants/kbd.d.ts +3 -3
  98. package/dist/variants/page-tabs.d.ts +3 -3
  99. package/dist/variants/pagination.d.ts +3 -3
  100. package/dist/variants/radio-group.d.ts +3 -3
  101. package/dist/variants/separator.d.ts +3 -3
  102. package/dist/variants/switch.d.ts +3 -3
  103. package/dist/variants/tag.d.ts +3 -3
  104. package/dist/variants/textarea.d.ts +3 -3
  105. package/dist/variants/toast.d.ts +3 -3
  106. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
1
  import { FormFieldArrayComponent, FormFieldComponent } from "./types.js";
2
- import * as vue100 from "vue";
3
- import * as _soybeanjs_headless74 from "@soybeanjs/headless";
2
+ import * as vue90 from "vue";
3
+ import * as _soybeanjs_headless33 from "@soybeanjs/headless";
4
4
  import { FormValues, InferStandardSchemaInput, Path, StandardSchemaV1, UseFormOptions } from "@soybeanjs/headless";
5
5
 
6
6
  //#region src/components/form/use-form.d.ts
@@ -9,36 +9,36 @@ declare function useForm$1<S extends StandardSchemaV1<FormValues, FormValues>>(o
9
9
  SFormFieldArray: FormFieldArrayComponent<InferStandardSchemaInput<S>>;
10
10
  handleSubmit: (event?: Event) => void;
11
11
  handleReset: (event?: Event) => void;
12
- useFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless74.FormRegisterOptions<_soybeanjs_headless74.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue100.Ref<_soybeanjs_headless74.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless74.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>>;
13
- useField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless74.FormRegisterOptions<_soybeanjs_headless74.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue100.Ref<_soybeanjs_headless74.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless74.FormFieldState<InferStandardSchemaInput<S>, Name>>;
14
- dirty: vue100.ComputedRef<boolean>;
12
+ useFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless33.FormRegisterOptions<_soybeanjs_headless33.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue90.Ref<_soybeanjs_headless33.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless33.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>>;
13
+ useField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless33.FormRegisterOptions<_soybeanjs_headless33.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue90.Ref<_soybeanjs_headless33.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless33.FormFieldState<InferStandardSchemaInput<S>, Name>>;
14
+ dirty: vue90.ComputedRef<boolean>;
15
15
  setSubmitting: (isSubmitting: boolean) => void;
16
- registerField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless74.FormRegisterOptions<_soybeanjs_headless74.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue100.Ref<_soybeanjs_headless74.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless74.FormFieldState<InferStandardSchemaInput<S>, Name>>;
17
- registerFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless74.FormRegisterOptions<_soybeanjs_headless74.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue100.Ref<_soybeanjs_headless74.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless74.FormFieldState<InferStandardSchemaInput<S>, Name>>;
16
+ registerField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless33.FormRegisterOptions<_soybeanjs_headless33.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue90.Ref<_soybeanjs_headless33.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless33.FormFieldState<InferStandardSchemaInput<S>, Name>>;
17
+ registerFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless33.FormRegisterOptions<_soybeanjs_headless33.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue90.Ref<_soybeanjs_headless33.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless33.FormFieldState<InferStandardSchemaInput<S>, Name>>;
18
18
  validateField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => Promise<string | undefined | void>;
19
- getFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue100.WritableComputedRef<_soybeanjs_headless74.PathValue<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless74.PathValue<InferStandardSchemaInput<S>, Name>>;
20
- getFieldMeta: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue100.Ref<_soybeanjs_headless74.FormFieldMeta>;
19
+ getFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue90.WritableComputedRef<_soybeanjs_headless33.PathValue<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless33.PathValue<InferStandardSchemaInput<S>, Name>>;
20
+ getFieldMeta: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue90.Ref<_soybeanjs_headless33.FormFieldMeta>;
21
21
  getFieldError: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => string | undefined;
22
22
  getFieldTouched: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => boolean | undefined;
23
23
  getFieldDirty: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => boolean;
24
- getFieldState: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue100.Ref<_soybeanjs_headless74.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless74.FormFieldState<InferStandardSchemaInput<S>, Name>>;
25
- setValues: (values: InferStandardSchemaInput<S>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless74.FormErrors<InferStandardSchemaInput<S>>>;
26
- setErrors: (errors: _soybeanjs_headless74.FormErrors<InferStandardSchemaInput<S>>) => void;
27
- setFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, value: _soybeanjs_headless74.PathValue<InferStandardSchemaInput<S>, Name>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless74.FormErrors<InferStandardSchemaInput<S>>>;
24
+ getFieldState: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue90.Ref<_soybeanjs_headless33.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless33.FormFieldState<InferStandardSchemaInput<S>, Name>>;
25
+ setValues: (values: InferStandardSchemaInput<S>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless33.FormErrors<InferStandardSchemaInput<S>>>;
26
+ setErrors: (errors: _soybeanjs_headless33.FormErrors<InferStandardSchemaInput<S>>) => void;
27
+ setFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, value: _soybeanjs_headless33.PathValue<InferStandardSchemaInput<S>, Name>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless33.FormErrors<InferStandardSchemaInput<S>>>;
28
28
  setFieldTouched: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, touched: boolean) => void;
29
29
  setFieldError: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, error: string | undefined) => void;
30
- setFieldArrayValue: <Name extends Path<InferStandardSchemaInput<S>>, Method extends (...args: any) => any>(name: Name, value: _soybeanjs_headless74.PathValue<InferStandardSchemaInput<S>, Name>, method: Method, args?: Partial<{
30
+ setFieldArrayValue: <Name extends Path<InferStandardSchemaInput<S>>, Method extends (...args: any) => any>(name: Name, value: _soybeanjs_headless33.PathValue<InferStandardSchemaInput<S>, Name>, method: Method, args?: Partial<{
31
31
  argA: Parameters<Method>[1];
32
32
  argB: Parameters<Method>[2];
33
- }> | undefined, shouldSetValue?: boolean) => Promise<void> | Promise<_soybeanjs_headless74.FormErrors<InferStandardSchemaInput<S>>>;
34
- validateForm: (values?: InferStandardSchemaInput<S> | undefined) => Promise<_soybeanjs_headless74.FormErrors<InferStandardSchemaInput<S>>>;
35
- resetForm: (nextState?: _soybeanjs_headless74.FormResetState<InferStandardSchemaInput<S>> | undefined) => void;
33
+ }> | undefined, shouldSetValue?: boolean) => Promise<void> | Promise<_soybeanjs_headless33.FormErrors<InferStandardSchemaInput<S>>>;
34
+ validateForm: (values?: InferStandardSchemaInput<S> | undefined) => Promise<_soybeanjs_headless33.FormErrors<InferStandardSchemaInput<S>>>;
35
+ resetForm: (nextState?: _soybeanjs_headless33.FormResetState<InferStandardSchemaInput<S>> | undefined) => void;
36
36
  values: InferStandardSchemaInput<S>;
37
- touched: vue100.Ref<_soybeanjs_headless74.FormTouched<InferStandardSchemaInput<S>>, _soybeanjs_headless74.FormTouched<InferStandardSchemaInput<S>>>;
38
- errors: vue100.Ref<_soybeanjs_headless74.FormErrors<InferStandardSchemaInput<S>>, _soybeanjs_headless74.FormErrors<InferStandardSchemaInput<S>>>;
39
- submitCount: vue100.ShallowRef<number>;
40
- isSubmitting: vue100.ShallowRef<boolean>;
41
- isValidating: vue100.ShallowRef<boolean>;
37
+ touched: vue90.Ref<_soybeanjs_headless33.FormTouched<InferStandardSchemaInput<S>>, _soybeanjs_headless33.FormTouched<InferStandardSchemaInput<S>>>;
38
+ errors: vue90.Ref<_soybeanjs_headless33.FormErrors<InferStandardSchemaInput<S>>, _soybeanjs_headless33.FormErrors<InferStandardSchemaInput<S>>>;
39
+ submitCount: vue90.ShallowRef<number>;
40
+ isSubmitting: vue90.ShallowRef<boolean>;
41
+ isValidating: vue90.ShallowRef<boolean>;
42
42
  };
43
43
  //#endregion
44
44
  export { useForm$1 as useForm };
@@ -1 +1 @@
1
- import{useConfigProvider as e}from"../config-provider/context.js";import{computed as t,createBlock as n,defineComponent as r,mergeProps as i,normalizeStyle as a,openBlock as o,resolveDynamicComponent as s,unref as c}from"vue";import{Icon as l}from"@iconify/vue";var u=r({name:`SIcon`,__name:`icon`,props:{icon:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean}},setup(r){let u=r,d=e(),f=t(()=>{let{width:e,height:t}=u,n=d?.iconify?.value||{};return{width:e||n.width,height:t||n.height}}),p=t(()=>({...u,...f.value}));function m(e){return typeof e==`string`||typeof e==`object`&&`body`in e}return(e,t)=>m(r.icon)?(o(),n(c(l),i({key:0},p.value,{icon:r.icon,style:{"flex-shrink":`0`}}),null,16,[`icon`])):(o(),n(s(r.icon),{key:1,style:a([{"flex-shrink":`0`},{width:f.value.width,height:f.value.height}])},null,8,[`style`]))}});export{u as default};
1
+ import{useConfigProvider as e}from"../config-provider/context.js";import{computed as t,createBlock as n,createCommentVNode as r,defineComponent as i,mergeProps as a,normalizeStyle as o,openBlock as s,resolveDynamicComponent as c,unref as l}from"vue";import{Icon as u}from"@iconify/vue";var d=i({name:`SIcon`,__name:`icon`,props:{icon:{},ssr:{type:Boolean},customise:{type:Function},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{},height:{},inline:{type:Boolean},ariaHidden:{type:Boolean}},setup(i){let d=i,f=e(),p=t(()=>{let{width:e,height:t}=d,n=f?.iconify?.value||{};return{width:e||n.width,height:t||n.height}}),m=t(()=>({...d,...p.value}));function h(e){return e?typeof e==`string`||typeof e==`object`&&`body`in e:!1}return(e,t)=>h(i.icon)?(s(),n(l(u),a({key:0},m.value,{icon:i.icon,style:{"flex-shrink":`0`}}),null,16,[`icon`])):i.icon?(s(),n(c(i.icon),{key:1,style:o([{"flex-shrink":`0`},{width:p.value.width,height:p.value.height}])},null,8,[`style`])):r(`v-if`,!0)}});export{d as default};
@@ -1,8 +1,8 @@
1
1
  import { IconProps } from "./types.js";
2
- import * as vue124 from "vue";
2
+ import * as vue209 from "vue";
3
3
 
4
4
  //#region src/components/icon/icon.vue.d.ts
5
- declare const __VLS_export: vue124.DefineComponent<IconProps, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, string, vue124.PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue124.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue209.DefineComponent<IconProps, {}, {}, {}, {}, vue209.ComponentOptionsMixin, vue209.ComponentOptionsMixin, {}, string, vue209.PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue209.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -2,7 +2,7 @@ import { Component, VNode } from "vue";
2
2
  import { IconProps, IconifyIcon } from "@iconify/vue";
3
3
 
4
4
  //#region src/components/icon/types.d.ts
5
- type IconValue = VNode | Component | string | IconifyIcon;
5
+ type IconValue = VNode | Component | string | IconifyIcon | null | undefined;
6
6
  interface IconProps$1 extends Omit<IconProps, 'icon'> {
7
7
  icon: IconValue;
8
8
  }
@@ -1,5 +1,5 @@
1
1
  import { InputProps } from "./types.js";
2
- import * as vue134 from "vue";
2
+ import * as vue80 from "vue";
3
3
 
4
4
  //#region src/components/input/input.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_24: {};
@@ -8,11 +8,11 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  trailing?: (props: typeof __VLS_24) => any;
10
10
  };
11
- declare const __VLS_base: vue134.DefineComponent<InputProps, {}, {}, {}, {}, vue134.ComponentOptionsMixin, vue134.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue80.DefineComponent<InputProps, {}, {}, {}, {}, vue80.ComponentOptionsMixin, vue80.ComponentOptionsMixin, {
12
12
  "update:modelValue": (value: string) => any;
13
- }, string, vue134.PublicProps, Readonly<InputProps> & Readonly<{
13
+ }, string, vue80.PublicProps, Readonly<InputProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue134.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue80.ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -1,10 +1,10 @@
1
1
  import { KbdProps } from "./types.js";
2
- import * as vue129 from "vue";
2
+ import * as vue103 from "vue";
3
3
 
4
4
  //#region src/components/kbd/kbd.vue.d.ts
5
- declare const __VLS_export: vue129.DefineComponent<KbdProps, {}, {}, {}, {}, vue129.ComponentOptionsMixin, vue129.ComponentOptionsMixin, {}, string, vue129.PublicProps, Readonly<KbdProps> & Readonly<{}>, {
5
+ declare const __VLS_export: vue103.DefineComponent<KbdProps, {}, {}, {}, {}, vue103.ComponentOptionsMixin, vue103.ComponentOptionsMixin, {}, string, vue103.PublicProps, Readonly<KbdProps> & Readonly<{}>, {
6
6
  symbolize: boolean;
7
- }, {}, {}, {}, string, vue129.ComponentProvideOptions, false, {}, any>;
7
+ }, {}, {}, {}, string, vue103.ComponentProvideOptions, false, {}, any>;
8
8
  declare const _default: typeof __VLS_export;
9
9
  //#endregion
10
10
  export { _default };
@@ -1,12 +1,12 @@
1
1
  import { LabelProps } from "./types.js";
2
- import * as vue139 from "vue";
2
+ import * as vue108 from "vue";
3
3
 
4
4
  //#region src/components/label/label.vue.d.ts
5
5
  declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue139.DefineComponent<LabelProps, {}, {}, {}, {}, vue139.ComponentOptionsMixin, vue139.ComponentOptionsMixin, {}, string, vue139.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue139.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue108.DefineComponent<LabelProps, {}, {}, {}, {}, vue108.ComponentOptionsMixin, vue108.ComponentOptionsMixin, {}, string, vue108.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue108.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,4 +1,4 @@
1
- import * as vue300 from "vue";
1
+ import * as vue118 from "vue";
2
2
  import { LayoutTriggerProps } from "@soybeanjs/headless";
3
3
 
4
4
  //#region src/components/layout/layout-trigger.vue.d.ts
@@ -8,7 +8,7 @@ declare var __VLS_8: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue300.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue300.ComponentOptionsMixin, vue300.ComponentOptionsMixin, {}, string, vue300.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue300.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue118.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue118.ComponentOptionsMixin, vue118.ComponentOptionsMixin, {}, string, vue118.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue118.ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { ThemeSize } from "../../theme/types.js";
2
2
  import "../../theme/index.js";
3
3
  import { LayoutProps } from "./types.js";
4
- import * as vue295 from "vue";
4
+ import * as vue113 from "vue";
5
5
 
6
6
  //#region src/components/layout/layout.vue.d.ts
7
7
  declare var __VLS_16: {
@@ -19,14 +19,14 @@ type __VLS_Slots = {} & {
19
19
  } & {
20
20
  footer?: (props: typeof __VLS_59) => any;
21
21
  };
22
- declare const __VLS_base: vue295.DefineComponent<LayoutProps, {}, {}, {}, {}, vue295.ComponentOptionsMixin, vue295.ComponentOptionsMixin, {
22
+ declare const __VLS_base: vue113.DefineComponent<LayoutProps, {}, {}, {}, {}, vue113.ComponentOptionsMixin, vue113.ComponentOptionsMixin, {
23
23
  "update:open": (open: boolean) => any;
24
- }, string, vue295.PublicProps, Readonly<LayoutProps> & Readonly<{
24
+ }, string, vue113.PublicProps, Readonly<LayoutProps> & Readonly<{
25
25
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
26
26
  }>, {
27
- size: ThemeSize;
28
27
  open: boolean;
29
- }, {}, {}, {}, string, vue295.ComponentProvideOptions, false, {}, any>;
28
+ size: ThemeSize;
29
+ }, {}, {}, {}, string, vue113.ComponentProvideOptions, false, {}, any>;
30
30
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
31
  declare const _default: typeof __VLS_export;
32
32
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { LinkProps } from "./types.js";
2
- import * as vue305 from "vue";
2
+ import * as vue224 from "vue";
3
3
 
4
4
  //#region src/components/link/link.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -10,7 +10,7 @@ declare var __VLS_8: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: vue305.DefineComponent<LinkProps, {}, {}, {}, {}, vue305.ComponentOptionsMixin, vue305.ComponentOptionsMixin, {}, string, vue305.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
13
+ declare const __VLS_base: vue224.DefineComponent<LinkProps, {}, {}, {}, {}, vue224.ComponentOptionsMixin, vue224.ComponentOptionsMixin, {}, string, vue224.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
14
14
  disabled: boolean;
15
15
  replace: boolean;
16
16
  external: boolean;
@@ -18,7 +18,7 @@ declare const __VLS_base: vue305.DefineComponent<LinkProps, {}, {}, {}, {}, vue3
18
18
  noRel: boolean;
19
19
  prefetch: boolean;
20
20
  noPrefetch: boolean;
21
- }, {}, {}, {}, string, vue305.ComponentProvideOptions, false, {}, any>;
21
+ }, {}, {}, {}, string, vue224.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 { ListItemProps } from "./types.js";
2
- import * as vue169 from "vue";
2
+ import * as vue219 from "vue";
3
3
 
4
4
  //#region src/components/list/list-item.vue.d.ts
5
5
  declare var __VLS_8: {}, __VLS_22: {}, __VLS_30: {}, __VLS_32: {}, __VLS_34: {};
@@ -14,7 +14,7 @@ type __VLS_Slots = {} & {
14
14
  } & {
15
15
  trailing?: (props: typeof __VLS_34) => any;
16
16
  };
17
- declare const __VLS_base: vue169.DefineComponent<ListItemProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {}, string, vue169.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue169.ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_base: vue219.DefineComponent<ListItemProps, {}, {}, {}, {}, vue219.ComponentOptionsMixin, vue219.ComponentOptionsMixin, {}, string, vue219.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue219.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,12 +1,12 @@
1
1
  import { ListProps } from "./types.js";
2
- import * as vue164 from "vue";
2
+ import * as vue214 from "vue";
3
3
 
4
4
  //#region src/components/list/list.vue.d.ts
5
5
  declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue164.DefineComponent<ListProps, {}, {}, {}, {}, vue164.ComponentOptionsMixin, vue164.ComponentOptionsMixin, {}, string, vue164.PublicProps, Readonly<ListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue164.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue214.DefineComponent<ListProps, {}, {}, {}, {}, vue214.ComponentOptionsMixin, vue214.ComponentOptionsMixin, {}, string, vue214.PublicProps, Readonly<ListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue214.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,10 +1,10 @@
1
1
  import { MenuCheckboxOptionData, MenuCheckboxOptionsProps } from "./types.js";
2
- import * as vue178 from "vue";
2
+ import * as vue238 from "vue";
3
3
  import { DefinedValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/menu/menu-checkbox-options.vue.d.ts
6
6
  declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends MenuCheckboxOptionData<T> = MenuCheckboxOptionData<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
- props: vue178.PublicProps & __VLS_PrettifyLocal<MenuCheckboxOptionsProps<T, S> & {
7
+ props: vue238.PublicProps & __VLS_PrettifyLocal<MenuCheckboxOptionsProps<T, S> & {
8
8
  onSelect?: ((item: S, event: Event) => any) | undefined;
9
9
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
10
10
  }> & (typeof globalThis extends {
@@ -19,7 +19,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
19
19
  'item-indicator-icon': (props: S) => any;
20
20
  };
21
21
  emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void);
22
- }>) => vue178.VNode & {
22
+ }>) => vue238.VNode & {
23
23
  __ctx?: Awaited<typeof __VLS_setup>;
24
24
  };
25
25
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- import e from"../icon/icon.js";import{Fragment as t,createBlock as n,createCommentVNode as r,createElementBlock as i,createElementVNode as a,defineComponent as o,openBlock as s,renderSlot as c,toDisplayString as l}from"vue";var u=o({name:`SMenuItemSlot`,__name:`menu-item-slot`,props:{icon:{},label:{}},setup(o){return(u,d)=>(s(),i(t,null,[c(u.$slots,`indicator`),c(u.$slots,`item`,{},()=>[c(u.$slots,`item-leading`,{},()=>[o.icon?(s(),n(e,{key:0,icon:o.icon},null,8,[`icon`])):r(`v-if`,!0)]),a(`span`,null,l(o.label),1),c(u.$slots,`link-icon`),c(u.$slots,`item-trailing`),c(u.$slots,`trigger-icon`),c(u.$slots,`shortcut`)])],64))}});export{u as default};
1
+ import e from"../icon/icon.js";import{Fragment as t,createElementBlock as n,createElementVNode as r,createVNode as i,defineComponent as a,openBlock as o,renderSlot as s,toDisplayString as c}from"vue";var l=a({name:`SMenuItemSlot`,__name:`menu-item-slot`,props:{icon:{},label:{}},setup(a){return(l,u)=>(o(),n(t,null,[s(l.$slots,`indicator`),s(l.$slots,`item`,{},()=>[s(l.$slots,`item-leading`,{},()=>[i(e,{icon:a.icon},null,8,[`icon`])]),r(`span`,null,c(a.label),1),s(l.$slots,`link-icon`),s(l.$slots,`item-trailing`),s(l.$slots,`trigger-icon`),s(l.$slots,`shortcut`)])],64))}});export{l as default};
@@ -1,17 +1,17 @@
1
1
  import { MenuOptionData, MenuOptionProps } from "./types.js";
2
- import * as vue174 from "vue";
3
- import * as _soybeanjs_headless139 from "@soybeanjs/headless";
2
+ import * as vue236 from "vue";
3
+ import * as _soybeanjs_headless161 from "@soybeanjs/headless";
4
4
  import { DefinedValue } from "@soybeanjs/headless";
5
5
 
6
6
  //#region src/components/menu/menu-option.vue.d.ts
7
7
  declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__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
- props: vue174.PublicProps & __VLS_PrettifyLocal<MenuOptionProps<T> & {
8
+ props: vue236.PublicProps & __VLS_PrettifyLocal<MenuOptionProps<T> & {
9
9
  onSelect?: ((item: MenuOptionData<T>, event: Event) => any) | undefined;
10
10
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
11
11
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
12
- onPointerDownOutside?: ((event: _soybeanjs_headless139.PointerDownOutsideEvent) => any) | undefined;
13
- onFocusOutside?: ((event: _soybeanjs_headless139.FocusOutsideEvent) => any) | undefined;
14
- onInteractOutside?: ((event: _soybeanjs_headless139.PointerDownOutsideEvent | _soybeanjs_headless139.FocusOutsideEvent) => any) | undefined;
12
+ onPointerDownOutside?: ((event: _soybeanjs_headless161.PointerDownOutsideEvent) => any) | undefined;
13
+ onFocusOutside?: ((event: _soybeanjs_headless161.FocusOutsideEvent) => any) | undefined;
14
+ onInteractOutside?: ((event: _soybeanjs_headless161.PointerDownOutsideEvent | _soybeanjs_headless161.FocusOutsideEvent) => any) | undefined;
15
15
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
16
16
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
17
17
  onEntryFocus?: ((event: Event) => any) | undefined;
@@ -38,8 +38,8 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
38
38
  item: MenuOptionData<T>;
39
39
  }) => any;
40
40
  };
41
- emit: ((evt: "select", item: MenuOptionData<T>, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless139.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless139.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless139.PointerDownOutsideEvent | _soybeanjs_headless139.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
42
- }>) => vue174.VNode & {
41
+ emit: ((evt: "select", item: MenuOptionData<T>, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless161.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless161.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless161.PointerDownOutsideEvent | _soybeanjs_headless161.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
42
+ }>) => vue236.VNode & {
43
43
  __ctx?: Awaited<typeof __VLS_setup>;
44
44
  };
45
45
  declare const _default: typeof __VLS_export;
@@ -1,17 +1,17 @@
1
1
  import { MenuOptionData, MenuOptionsProps } from "./types.js";
2
- import * as vue176 from "vue";
3
- import * as _soybeanjs_headless147 from "@soybeanjs/headless";
2
+ import * as vue240 from "vue";
3
+ import * as _soybeanjs_headless169 from "@soybeanjs/headless";
4
4
  import { DefinedValue } from "@soybeanjs/headless";
5
5
 
6
6
  //#region src/components/menu/menu-options.vue.d.ts
7
7
  declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends MenuOptionData<T> = MenuOptionData<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<{
8
- props: vue176.PublicProps & __VLS_PrettifyLocal<MenuOptionsProps<T, S> & {
8
+ props: vue240.PublicProps & __VLS_PrettifyLocal<MenuOptionsProps<T, S> & {
9
9
  onSelect?: ((item: S, event: Event) => any) | undefined;
10
10
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
11
11
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
12
- onPointerDownOutside?: ((event: _soybeanjs_headless147.PointerDownOutsideEvent) => any) | undefined;
13
- onFocusOutside?: ((event: _soybeanjs_headless147.FocusOutsideEvent) => any) | undefined;
14
- onInteractOutside?: ((event: _soybeanjs_headless147.PointerDownOutsideEvent | _soybeanjs_headless147.FocusOutsideEvent) => any) | undefined;
12
+ onPointerDownOutside?: ((event: _soybeanjs_headless169.PointerDownOutsideEvent) => any) | undefined;
13
+ onFocusOutside?: ((event: _soybeanjs_headless169.FocusOutsideEvent) => any) | undefined;
14
+ onInteractOutside?: ((event: _soybeanjs_headless169.PointerDownOutsideEvent | _soybeanjs_headless169.FocusOutsideEvent) => any) | undefined;
15
15
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
16
16
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
17
17
  onEntryFocus?: ((event: Event) => any) | undefined;
@@ -38,8 +38,8 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Me
38
38
  item: MenuOptionData<T>;
39
39
  }) => any;
40
40
  };
41
- emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless147.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless147.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless147.PointerDownOutsideEvent | _soybeanjs_headless147.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
42
- }>) => vue176.VNode & {
41
+ emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless169.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless169.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless169.PointerDownOutsideEvent | _soybeanjs_headless169.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
42
+ }>) => vue240.VNode & {
43
43
  __ctx?: Awaited<typeof __VLS_setup>;
44
44
  };
45
45
  declare const _default: typeof __VLS_export;
@@ -1,10 +1,10 @@
1
1
  import { MenuRadioOptionData, MenuRadioOptionsProps } from "./types.js";
2
- import * as vue180 from "vue";
2
+ import * as vue234 from "vue";
3
3
  import { AcceptableBooleanValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/menu/menu-radio-options.vue.d.ts
6
6
  declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends MenuRadioOptionData<T> = MenuRadioOptionData<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
- props: vue180.PublicProps & __VLS_PrettifyLocal<MenuRadioOptionsProps<T, S> & {
7
+ props: vue234.PublicProps & __VLS_PrettifyLocal<MenuRadioOptionsProps<T, S> & {
8
8
  onSelect?: ((item: S, event: Event) => any) | undefined;
9
9
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
10
10
  }> & (typeof globalThis extends {
@@ -19,7 +19,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
19
19
  'item-indicator-icon': (props: S) => any;
20
20
  };
21
21
  emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", payload: NonNullable<T>) => void);
22
- }>) => vue180.VNode & {
22
+ }>) => vue234.VNode & {
23
23
  __ctx?: Awaited<typeof __VLS_setup>;
24
24
  };
25
25
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- import e from"../icon/icon.js";import{createBlock as t,createCommentVNode as n,defineComponent as r,openBlock as i,renderSlot as a}from"vue";var o=r({name:`SNavigationMenuItemSlot`,__name:`navigation-menu-item-slot`,props:{icon:{}},setup(r){return(o,s)=>a(o.$slots,`item`,{},()=>[a(o.$slots,`item-leading`,{},()=>[r.icon?(i(),t(e,{key:0,icon:r.icon},null,8,[`icon`])):n(`v-if`,!0)]),a(o.$slots,`default`),a(o.$slots,`link-icon`),a(o.$slots,`item-trailing`),a(o.$slots,`trigger-icon`)])}});export{o as default};
1
+ import e from"../icon/icon.js";import{createVNode as t,defineComponent as n,renderSlot as r}from"vue";var i=n({name:`SNavigationMenuItemSlot`,__name:`navigation-menu-item-slot`,props:{icon:{}},setup(n){return(i,a)=>r(i.$slots,`item`,{},()=>[r(i.$slots,`item-leading`,{},()=>[t(e,{icon:n.icon},null,8,[`icon`])]),r(i.$slots,`default`),r(i.$slots,`link-icon`),r(i.$slots,`item-trailing`),r(i.$slots,`trigger-icon`)])}});export{i as default};
@@ -1,6 +1,6 @@
1
1
  import { NavigationMenuOptionData, NavigationMenuProps } from "./types.js";
2
- import * as vue182 from "vue";
3
- import * as _soybeanjs_headless155 from "@soybeanjs/headless";
2
+ import * as vue229 from "vue";
3
+ import * as _soybeanjs_headless153 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/navigation-menu/navigation-menu.vue.d.ts
6
6
  type Slots = {
@@ -25,25 +25,25 @@ type Slots = {
25
25
  }) => any;
26
26
  };
27
27
  type __VLS_Slots = Slots;
28
- declare const __VLS_base: vue182.DefineComponent<NavigationMenuProps, {}, {}, {}, {}, vue182.ComponentOptionsMixin, vue182.ComponentOptionsMixin, {
28
+ declare const __VLS_base: vue229.DefineComponent<NavigationMenuProps, {}, {}, {}, {}, vue229.ComponentOptionsMixin, vue229.ComponentOptionsMixin, {
29
29
  select: (payload: CustomEvent<{
30
30
  originalEvent: Event;
31
31
  }>) => any;
32
32
  "update:modelValue": (value: string) => any;
33
33
  escapeKeyDown: (event: KeyboardEvent) => any;
34
- pointerDownOutside: (event: _soybeanjs_headless155.PointerDownOutsideEvent) => any;
35
- focusOutside: (event: _soybeanjs_headless155.FocusOutsideEvent) => any;
36
- interactOutside: (event: _soybeanjs_headless155.PointerDownOutsideEvent | _soybeanjs_headless155.FocusOutsideEvent) => any;
37
- }, string, vue182.PublicProps, Readonly<NavigationMenuProps> & Readonly<{
34
+ pointerDownOutside: (event: _soybeanjs_headless153.PointerDownOutsideEvent) => any;
35
+ focusOutside: (event: _soybeanjs_headless153.FocusOutsideEvent) => any;
36
+ interactOutside: (event: _soybeanjs_headless153.PointerDownOutsideEvent | _soybeanjs_headless153.FocusOutsideEvent) => any;
37
+ }, string, vue229.PublicProps, Readonly<NavigationMenuProps> & Readonly<{
38
38
  onSelect?: ((payload: CustomEvent<{
39
39
  originalEvent: Event;
40
40
  }>) => any) | undefined;
41
41
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
42
42
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
43
- onPointerDownOutside?: ((event: _soybeanjs_headless155.PointerDownOutsideEvent) => any) | undefined;
44
- onFocusOutside?: ((event: _soybeanjs_headless155.FocusOutsideEvent) => any) | undefined;
45
- onInteractOutside?: ((event: _soybeanjs_headless155.PointerDownOutsideEvent | _soybeanjs_headless155.FocusOutsideEvent) => any) | undefined;
46
- }>, {}, {}, {}, {}, string, vue182.ComponentProvideOptions, false, {}, any>;
43
+ onPointerDownOutside?: ((event: _soybeanjs_headless153.PointerDownOutsideEvent) => any) | undefined;
44
+ onFocusOutside?: ((event: _soybeanjs_headless153.FocusOutsideEvent) => any) | undefined;
45
+ onInteractOutside?: ((event: _soybeanjs_headless153.PointerDownOutsideEvent | _soybeanjs_headless153.FocusOutsideEvent) => any) | undefined;
46
+ }>, {}, {}, {}, {}, string, vue229.ComponentProvideOptions, false, {}, any>;
47
47
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
48
48
  declare const _default: typeof __VLS_export;
49
49
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { NumberInputProps } from "./types.js";
2
- import * as vue187 from "vue";
2
+ import * as vue242 from "vue";
3
3
 
4
4
  //#region src/components/number-input/number-input.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_24: {}, __VLS_32: {}, __VLS_45: {};
@@ -12,11 +12,11 @@ type __VLS_Slots = {} & {
12
12
  } & {
13
13
  increment?: (props: typeof __VLS_45) => any;
14
14
  };
15
- declare const __VLS_base: vue187.DefineComponent<NumberInputProps, {}, {}, {}, {}, vue187.ComponentOptionsMixin, vue187.ComponentOptionsMixin, {
15
+ declare const __VLS_base: vue242.DefineComponent<NumberInputProps, {}, {}, {}, {}, vue242.ComponentOptionsMixin, vue242.ComponentOptionsMixin, {
16
16
  "update:modelValue": (val: number) => any;
17
- }, string, vue187.PublicProps, Readonly<NumberInputProps> & Readonly<{
17
+ }, string, vue242.PublicProps, Readonly<NumberInputProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((val: number) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue187.ComponentProvideOptions, false, {}, any>;
19
+ }>, {}, {}, {}, {}, string, vue242.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 n from"../context-menu/context-menu.js";import{pageTabsVariants as r}from"../../variants/page-tabs.js";import{Fragment as i,computed as a,createBlock as o,createCommentVNode as s,createElementBlock as c,createElementVNode as l,createVNode as u,defineComponent as d,mergeProps as f,normalizeClass as p,openBlock as m,renderList as h,shallowRef as g,toDisplayString as _,unref as v,useTemplateRef as y,watchEffect as b,withCtx as x}from"vue";import{useControllableState as S,useOmitProps as C}from"@soybeanjs/headless/composables";import{PageTabsClose as w,PageTabsItem as T,PageTabsPin as E,PageTabsRoot as D,providePageTabsUi as O}from"@soybeanjs/headless";var k=d({name:`SPageTabs`,__name:`page-tabs`,props:{class:{},size:{},variant:{default:`chrome`},ui:{},items:{},menuFactory:{},modelValue:{},beforeClose:{},middleClickClose:{type:Boolean}},emits:[`update:modelValue`,`update:items`,`close`,`pin`],setup(d,{expose:k,emit:A}){let j=d,M=A,N=C(j,[`class`,`size`,`variant`,`ui`,`items`,`menuFactory`]),P=y(`root`),F=S(()=>j.items,e=>{M(`update:items`,e)},[]),I=a({get:()=>F.value.map(e=>e.value),set:e=>{F.value=F.value.filter(t=>e.includes(t.value))}}),L=a({get:()=>F.value.filter(e=>e.pinned).map(e=>e.value),set:e=>{F.value=F.value.map(t=>({...t,pinned:e.includes(t.value)}))}}),R=g(null),z=a(()=>{if(!R.value||!P.value?.operations)return[];let{pinTab:e,unpinTab:t,closeTab:n,closeLeftTabs:r,closeRightTabs:i,closeOtherTabs:a,closeAllTabs:o,canCloseTab:s,canCloseLeftTabs:c,canCloseRightTabs:l,canCloseOtherTabs:u,canCloseAllTabs:d}=P.value.operations,f=R.value.value,p={pinTab:()=>{e(f)},unpinTab:()=>{t(f)},closeTab:async()=>{await n(f)},closeLeftTabs:()=>{r(f)},closeRightTabs:()=>{i(f)},closeOtherTabs:()=>{a(f)},closeAllTabs:()=>{o()},canCloseTab:s(f),canCloseLeftTabs:c(f),canCloseRightTabs:l(f),canCloseOtherTabs:u(f),canCloseAllTabs:d()};return j.menuFactory?.(R.value,p)??[]}),B=g(null),V=(e,t)=>{B.value=e.currentTarget,R.value=t},H=e=>{R.value&&e.action()};function U(e){let t=[],n=[],r=[];e.forEach(e=>{e.pinned?e.hidePinnedIcon?t.push(e):n.push(e):r.push(e)});let i=[...t,...n,...r];return i.length!==e.length||i.some((t,n)=>t.value!==e[n].value)?i:e}let W=a(()=>e(r({size:j.size,variant:j.variant}),j.ui,{root:j.class}));return b(()=>{F.value=U(F.value)}),O(W),k({operations:P.value?.operations}),(e,r)=>(m(),o(v(D),f({ref:`root`},v(N),{values:I.value,"onUpdate:values":r[0]||=e=>I.value=e,pins:L.value,"onUpdate:pins":r[1]||=e=>L.value=e,"onUpdate:modelValue":r[2]||=e=>M(`update:modelValue`,e)}),{default:x(()=>[(m(!0),c(i,null,h(v(F),e=>(m(),o(v(T),{key:e.value,value:e.value,onClose:t=>M(`close`,e),onPin:t=>M(`pin`,e),onPointerenter:t=>V(t,e)},{default:x(()=>[e.icon?(m(),o(t,{key:0,icon:e.icon},null,8,[`icon`])):s(`v-if`,!0),l(`span`,{class:p(W.value.itemText)},_(e.label),3),e.hidePinnedIcon?s(`v-if`,!0):(m(),o(v(E),{key:1,"as-child":``},{default:x(()=>[u(t,{icon:`lucide:pin`})]),_:1})),u(v(w),{"as-child":``},{default:x(()=>[u(t,{icon:`lucide:x`})]),_:1}),d.variant===`chrome`?(m(),c(i,{key:2},[(m(),c(`svg`,{height:`100%`,width:`100%`,viewBox:`0 0 8 8`,class:p(W.value.chromeBgLeft)},[...r[3]||=[l(`path`,{d:`M 0 8 A 8 8 0 0 0 8 0 L 8 8 Z`},null,-1)]],2)),(m(),c(`svg`,{height:`100%`,width:`100%`,viewBox:`0 0 8 8`,class:p(W.value.chromeBgRight)},[...r[4]||=[l(`path`,{d:`M 0 0 A 8 8 0 0 0 8 8 L 0 8 Z`},null,-1)]],2))],64)):s(`v-if`,!0),d.variant===`slider`?(m(),c(`div`,{key:3,class:p(W.value.sliderIndicator)},null,2)):s(`v-if`,!0)]),_:2},1032,[`value`,`onClose`,`onPin`,`onPointerenter`]))),128)),u(n,{modal:!1,items:z.value,"trigger-props":{reference:B.value},onSelect:H},null,8,[`items`,`trigger-props`])]),_:1},16,[`values`,`pins`]))}});export{k as default};
1
+ import{mergeSlotVariants as e}from"../../theme/shared.js";import t from"../icon/icon.js";import n from"../context-menu/context-menu.js";import{pageTabsVariants as r}from"../../variants/page-tabs.js";import{Fragment as i,computed as a,createBlock as o,createCommentVNode as s,createElementBlock as c,createElementVNode as l,createVNode as u,defineComponent as d,mergeProps as f,normalizeClass as p,openBlock as m,renderList as h,shallowRef as g,toDisplayString as _,unref as v,useTemplateRef as y,watchEffect as b,withCtx as x}from"vue";import{useControllableState as S,useOmitProps as C}from"@soybeanjs/headless/composables";import{PageTabsClose as w,PageTabsItem as T,PageTabsPin as E,PageTabsRoot as D,providePageTabsUi as O}from"@soybeanjs/headless";var k=d({name:`SPageTabs`,__name:`page-tabs`,props:{class:{},size:{},variant:{default:`chrome`},ui:{},items:{},menuFactory:{},modelValue:{},beforeClose:{},middleClickClose:{type:Boolean}},emits:[`update:modelValue`,`update:items`,`close`,`pin`],setup(d,{expose:k,emit:A}){let j=d,M=A,N=C(j,[`class`,`size`,`variant`,`ui`,`items`,`menuFactory`]),P=y(`root`),F=S(()=>j.items,e=>{M(`update:items`,e)},[]),I=a({get:()=>F.value.map(e=>e.value),set:e=>{F.value=F.value.filter(t=>e.includes(t.value))}}),L=a({get:()=>F.value.filter(e=>e.pinned).map(e=>e.value),set:e=>{F.value=F.value.map(t=>({...t,pinned:e.includes(t.value)}))}}),R=g(null),z=a(()=>{if(!R.value||!P.value?.operations)return[];let{pinTab:e,unpinTab:t,closeTab:n,closeLeftTabs:r,closeRightTabs:i,closeOtherTabs:a,closeAllTabs:o,canCloseTab:s,canCloseLeftTabs:c,canCloseRightTabs:l,canCloseOtherTabs:u,canCloseAllTabs:d}=P.value.operations,f=R.value.value,p={pinTab:()=>{e(f)},unpinTab:()=>{t(f)},closeTab:async()=>{await n(f)},closeLeftTabs:()=>{r(f)},closeRightTabs:()=>{i(f)},closeOtherTabs:()=>{a(f)},closeAllTabs:()=>{o()},canCloseTab:s(f),canCloseLeftTabs:c(f),canCloseRightTabs:l(f),canCloseOtherTabs:u(f),canCloseAllTabs:d()};return j.menuFactory?.(R.value,p)??[]}),B=g(null),V=(e,t)=>{B.value=e.currentTarget,R.value=t},H=e=>{R.value&&e.action()};function U(e){let t=[],n=[],r=[];e.forEach(e=>{e.pinned?e.hidePinnedIcon?t.push(e):n.push(e):r.push(e)});let i=[...t,...n,...r];return i.length!==e.length||i.some((t,n)=>t.value!==e[n].value)?i:e}let W=a(()=>e(r({size:j.size,variant:j.variant}),j.ui,{root:j.class}));return b(()=>{F.value=U(F.value)}),O(W),k({operations:P.value?.operations}),(e,r)=>(m(),o(v(D),f({ref:`root`},v(N),{values:I.value,"onUpdate:values":r[0]||=e=>I.value=e,pins:L.value,"onUpdate:pins":r[1]||=e=>L.value=e,"onUpdate:modelValue":r[2]||=e=>M(`update:modelValue`,e)}),{default:x(()=>[(m(!0),c(i,null,h(v(F),e=>(m(),o(v(T),{key:e.value,value:e.value,onClose:t=>M(`close`,e),onPin:t=>M(`pin`,e),onPointerenter:t=>V(t,e)},{default:x(()=>[u(t,{icon:e.icon},null,8,[`icon`]),l(`span`,{class:p(W.value.itemText)},_(e.label),3),e.hidePinnedIcon?s(`v-if`,!0):(m(),o(v(E),{key:0,"as-child":``},{default:x(()=>[u(t,{icon:`lucide:pin`})]),_:1})),u(v(w),{"as-child":``},{default:x(()=>[u(t,{icon:`lucide:x`})]),_:1}),d.variant===`chrome`?(m(),c(i,{key:1},[(m(),c(`svg`,{height:`100%`,width:`100%`,viewBox:`0 0 8 8`,class:p(W.value.chromeBgLeft)},[...r[3]||=[l(`path`,{d:`M 0 8 A 8 8 0 0 0 8 0 L 8 8 Z`},null,-1)]],2)),(m(),c(`svg`,{height:`100%`,width:`100%`,viewBox:`0 0 8 8`,class:p(W.value.chromeBgRight)},[...r[4]||=[l(`path`,{d:`M 0 0 A 8 8 0 0 0 8 8 L 0 8 Z`},null,-1)]],2))],64)):s(`v-if`,!0),d.variant===`slider`?(m(),c(`div`,{key:2,class:p(W.value.sliderIndicator)},null,2)):s(`v-if`,!0)]),_:2},1032,[`value`,`onClose`,`onPin`,`onPointerenter`]))),128)),u(n,{modal:!1,items:z.value,"trigger-props":{reference:B.value},onSelect:H},null,8,[`items`,`trigger-props`])]),_:1},16,[`values`,`pins`]))}});export{k as default};
@@ -1,10 +1,10 @@
1
1
  import { PageTabsEmits, PageTabsOptionData, PageTabsProps } from "./types.js";
2
- import * as vue192 from "vue";
3
- import * as _soybeanjs_headless163 from "@soybeanjs/headless";
2
+ import * as vue247 from "vue";
3
+ import * as _soybeanjs_headless177 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/page-tabs/page-tabs.vue.d.ts
6
6
  declare const __VLS_export: <T extends PageTabsOptionData>(__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
- props: vue192.PublicProps & __VLS_PrettifyLocal<PageTabsProps<T> & {
7
+ props: vue247.PublicProps & __VLS_PrettifyLocal<PageTabsProps<T> & {
8
8
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
9
9
  onClose?: ((tab: T) => any) | undefined;
10
10
  onPin?: ((tab: T) => any) | undefined;
@@ -12,13 +12,13 @@ declare const __VLS_export: <T extends PageTabsOptionData>(__VLS_props: NonNulla
12
12
  }> & (typeof globalThis extends {
13
13
  __VLS_PROPS_FALLBACK: infer P;
14
14
  } ? P : {});
15
- expose: (exposed: vue192.ShallowUnwrapRef<{
16
- operations: _soybeanjs_headless163.PageTabsOperations | undefined;
15
+ expose: (exposed: vue247.ShallowUnwrapRef<{
16
+ operations: _soybeanjs_headless177.PageTabsOperations | undefined;
17
17
  }>) => void;
18
18
  attrs: any;
19
19
  slots: {};
20
20
  emit: PageTabsEmits<T>;
21
- }>) => vue192.VNode & {
21
+ }>) => vue247.VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
24
24
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { PaginationProps } from "./types.js";
2
- import * as vue200 from "vue";
2
+ import * as vue252 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination.vue.d.ts
5
5
  declare var __VLS_22: {}, __VLS_35: {}, __VLS_53: {}, __VLS_66: {}, __VLS_79: {};
@@ -14,13 +14,13 @@ type __VLS_Slots = {} & {
14
14
  } & {
15
15
  last?: (props: typeof __VLS_79) => any;
16
16
  };
17
- declare const __VLS_base: vue200.DefineComponent<PaginationProps, {}, {}, {}, {}, vue200.ComponentOptionsMixin, vue200.ComponentOptionsMixin, {
17
+ declare const __VLS_base: vue252.DefineComponent<PaginationProps, {}, {}, {}, {}, vue252.ComponentOptionsMixin, vue252.ComponentOptionsMixin, {
18
18
  "update:page": (value: number) => any;
19
- }, string, vue200.PublicProps, Readonly<PaginationProps> & Readonly<{
19
+ }, string, vue252.PublicProps, Readonly<PaginationProps> & Readonly<{
20
20
  "onUpdate:page"?: ((value: number) => any) | undefined;
21
21
  }>, {
22
22
  showFirstOrLast: boolean;
23
- }, {}, {}, {}, string, vue200.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue252.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 { PasswordProps } from "./types.js";
2
- import * as vue195 from "vue";
2
+ import * as vue123 from "vue";
3
3
 
4
4
  //#region src/components/password/password.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_24: {}, __VLS_26: {
@@ -13,15 +13,15 @@ type __VLS_Slots = {} & {
13
13
  } & {
14
14
  visible?: (props: typeof __VLS_26) => any;
15
15
  };
16
- declare const __VLS_base: vue195.DefineComponent<PasswordProps, {}, {}, {}, {}, vue195.ComponentOptionsMixin, vue195.ComponentOptionsMixin, {
16
+ declare const __VLS_base: vue123.DefineComponent<PasswordProps, {}, {}, {}, {}, vue123.ComponentOptionsMixin, vue123.ComponentOptionsMixin, {
17
17
  "update:modelValue": (value: string) => any;
18
18
  "update:visible": (visible: boolean) => any;
19
- }, string, vue195.PublicProps, Readonly<PasswordProps> & Readonly<{
19
+ }, string, vue123.PublicProps, Readonly<PasswordProps> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
21
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
22
22
  }>, {
23
23
  visible: boolean;
24
- }, {}, {}, {}, string, vue195.ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, vue123.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
27
27
  type __VLS_WithSlots<T, S> = T & {