@soybeanjs/ui 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion.vue.d.ts +3 -3
- package/dist/components/alert/alert.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +5 -5
- package/dist/components/avatar/avatar.vue.d.ts +7 -7
- package/dist/components/badge/badge.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
- package/dist/components/button/button-group.vue.d.ts +6 -6
- package/dist/components/button/button-icon.vue.d.ts +3 -3
- package/dist/components/button/button-link.vue.d.ts +3 -3
- package/dist/components/button/button-loading.vue.d.ts +3 -3
- package/dist/components/button/button.vue.d.ts +4 -4
- package/dist/components/card/card.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
- package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
- package/dist/components/collapsible/collapsible.vue.d.ts +5 -5
- package/dist/components/command/command.vue.d.ts +7 -7
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +9 -5
- package/dist/components/config-provider/context.d.ts +2 -0
- package/dist/components/config-provider/context.js +1 -1
- package/dist/components/config-provider/types.d.ts +2 -2
- package/dist/components/context-menu/context-menu-checkbox.js +1 -1
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-radio.js +1 -1
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-wrapper.js +1 -1
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +11 -11
- package/dist/components/context-menu/context-menu.vue.d.ts +8 -8
- package/dist/components/context-menu/types.d.ts +2 -1
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +13 -13
- package/dist/components/dialog/dialog.vue.d.ts +13 -13
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +13 -13
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-radio.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +11 -11
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/types.d.ts +2 -1
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +22 -22
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/icon.vue.d.ts +3 -7
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +3 -3
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/layout/layout.vue.d.ts +4 -4
- package/dist/components/link/link.vue.d.ts +3 -3
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
- package/dist/components/menu/menu-option.vue.d.ts +8 -8
- package/dist/components/menu/menu-options.vue.d.ts +8 -8
- package/dist/components/menu/menu-radio-options.js +1 -1
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/menu/types.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
- package/dist/components/number-input/number-input.vue.d.ts +4 -4
- package/dist/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/components/password/password.vue.d.ts +4 -4
- package/dist/components/popover/popover.vue.d.ts +12 -12
- package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio.vue.d.ts +2 -2
- package/dist/components/segment/segment.vue.d.ts +3 -3
- package/dist/components/select/select.vue.d.ts +7 -7
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/switch/switch.vue.d.ts +22 -22
- package/dist/components/tabs/tabs.vue.d.ts +3 -3
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/toast/context.js +1 -1
- package/dist/components/toast/toast-provider.js +1 -1
- package/dist/components/toast/types.d.ts +0 -1
- package/dist/components/tooltip/tooltip.vue.d.ts +8 -8
- package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/styles.css +7 -1
- package/dist/variants/alert.d.ts +3 -3
- package/dist/variants/badge.d.ts +3 -3
- package/dist/variants/button.d.ts +3 -3
- package/dist/variants/checkbox.d.ts +3 -3
- package/dist/variants/kbd.d.ts +3 -3
- package/dist/variants/menu.js +1 -1
- package/dist/variants/pagination.d.ts +3 -3
- package/dist/variants/radio-group.d.ts +3 -3
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tabs.d.ts +3 -3
- package/dist/variants/tag.d.ts +3 -3
- package/dist/variants/textarea.d.ts +3 -3
- package/dist/variants/toast.d.ts +3 -3
- package/package.json +4 -4
|
@@ -13,6 +13,7 @@ interface DropdownMenuWrapperProps extends DropdownMenuRootProps {
|
|
|
13
13
|
ui?: Partial<MenuExtendedUi>;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
placement?: Placement;
|
|
16
|
+
indicatorPosition?: 'start' | 'end';
|
|
16
17
|
showArrow?: boolean;
|
|
17
18
|
triggerProps?: DropdownMenuTriggerProps;
|
|
18
19
|
portalProps?: DropdownMenuPortalProps;
|
|
@@ -21,7 +22,7 @@ interface DropdownMenuWrapperProps extends DropdownMenuRootProps {
|
|
|
21
22
|
arrowProps?: DropdownMenuArrowProps;
|
|
22
23
|
}
|
|
23
24
|
type DropdownMenuWrapperEmits = DropdownMenuRootEmits & DropdownMenuContentEmits;
|
|
24
|
-
interface DropdownMenuProps<T extends DefinedValue = DefinedValue, S extends MenuOptionData<T> = MenuOptionData<T>> extends DropdownMenuWrapperProps, MenuOptionsProps<T, S> {}
|
|
25
|
+
interface DropdownMenuProps<T extends DefinedValue = DefinedValue, S extends MenuOptionData<T> = MenuOptionData<T>> extends Omit<DropdownMenuWrapperProps, 'indicatorPosition'>, MenuOptionsProps<T, S> {}
|
|
25
26
|
type DropdownMenuEmits<T extends MenuOptionData = MenuOptionData> = DropdownMenuWrapperEmits & MenuOptionsEmits<T>;
|
|
26
27
|
interface DropdownMenuCheckboxProps<T extends DefinedValue = DefinedValue, S extends MenuCheckboxOptionData<T> = MenuCheckboxOptionData<T>> extends DropdownMenuWrapperProps, MenuCheckboxOptionsProps<T, S> {
|
|
27
28
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FormProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue119 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form/form.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue119.DefineComponent<FormProps, {}, {}, {}, {}, vue119.ComponentOptionsMixin, vue119.ComponentOptionsMixin, {}, string, vue119.PublicProps, Readonly<FormProps> & Readonly<{}>, {}, {}, {}, {}, string, vue119.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,6 +1,6 @@
|
|
|
1
1
|
import { FormFieldArrayComponent, FormFieldComponent } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue124 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless39 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?:
|
|
13
|
-
useField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?:
|
|
14
|
-
dirty:
|
|
12
|
+
useFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless39.FormRegisterOptions<_soybeanjs_headless39.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue124.Ref<_soybeanjs_headless39.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless39.FormFieldArrayStates<InferStandardSchemaInput<S>, Name>>;
|
|
13
|
+
useField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless39.FormRegisterOptions<_soybeanjs_headless39.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue124.Ref<_soybeanjs_headless39.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless39.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
14
|
+
dirty: vue124.ComputedRef<boolean>;
|
|
15
15
|
setSubmitting: (isSubmitting: boolean) => void;
|
|
16
|
-
registerField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?:
|
|
17
|
-
registerFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?:
|
|
16
|
+
registerField: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless39.FormRegisterOptions<_soybeanjs_headless39.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue124.Ref<_soybeanjs_headless39.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless39.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
17
|
+
registerFieldArray: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, opts?: _soybeanjs_headless39.FormRegisterOptions<_soybeanjs_headless39.PathValue<InferStandardSchemaInput<S>, Name>> | undefined) => vue124.Ref<_soybeanjs_headless39.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless39.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) =>
|
|
20
|
-
getFieldMeta: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) =>
|
|
19
|
+
getFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue124.WritableComputedRef<_soybeanjs_headless39.PathValue<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless39.PathValue<InferStandardSchemaInput<S>, Name>>;
|
|
20
|
+
getFieldMeta: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue124.Ref<_soybeanjs_headless39.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) =>
|
|
25
|
-
setValues: (values: InferStandardSchemaInput<S>, shouldValidate?: boolean) => Promise<void> | Promise<
|
|
26
|
-
setErrors: (errors:
|
|
27
|
-
setFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, value:
|
|
24
|
+
getFieldState: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name) => vue124.Ref<_soybeanjs_headless39.FormFieldState<InferStandardSchemaInput<S>, Name>, _soybeanjs_headless39.FormFieldState<InferStandardSchemaInput<S>, Name>>;
|
|
25
|
+
setValues: (values: InferStandardSchemaInput<S>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless39.FormErrors<InferStandardSchemaInput<S>>>;
|
|
26
|
+
setErrors: (errors: _soybeanjs_headless39.FormErrors<InferStandardSchemaInput<S>>) => void;
|
|
27
|
+
setFieldValue: <Name extends Path<InferStandardSchemaInput<S>>>(name: Name, value: _soybeanjs_headless39.PathValue<InferStandardSchemaInput<S>, Name>, shouldValidate?: boolean) => Promise<void> | Promise<_soybeanjs_headless39.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:
|
|
30
|
+
setFieldArrayValue: <Name extends Path<InferStandardSchemaInput<S>>, Method extends (...args: any) => any>(name: Name, value: _soybeanjs_headless39.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<
|
|
34
|
-
validateForm: (values?: InferStandardSchemaInput<S> | undefined) => Promise<
|
|
35
|
-
resetForm: (nextState?:
|
|
33
|
+
}> | undefined, shouldSetValue?: boolean) => Promise<void> | Promise<_soybeanjs_headless39.FormErrors<InferStandardSchemaInput<S>>>;
|
|
34
|
+
validateForm: (values?: InferStandardSchemaInput<S> | undefined) => Promise<_soybeanjs_headless39.FormErrors<InferStandardSchemaInput<S>>>;
|
|
35
|
+
resetForm: (nextState?: _soybeanjs_headless39.FormResetState<InferStandardSchemaInput<S>> | undefined) => void;
|
|
36
36
|
values: InferStandardSchemaInput<S>;
|
|
37
|
-
touched:
|
|
38
|
-
errors:
|
|
39
|
-
submitCount:
|
|
40
|
-
isSubmitting:
|
|
41
|
-
isValidating:
|
|
37
|
+
touched: vue124.Ref<_soybeanjs_headless39.FormTouched<InferStandardSchemaInput<S>>, _soybeanjs_headless39.FormTouched<InferStandardSchemaInput<S>>>;
|
|
38
|
+
errors: vue124.Ref<_soybeanjs_headless39.FormErrors<InferStandardSchemaInput<S>>, _soybeanjs_headless39.FormErrors<InferStandardSchemaInput<S>>>;
|
|
39
|
+
submitCount: vue124.ShallowRef<number>;
|
|
40
|
+
isSubmitting: vue124.ShallowRef<boolean>;
|
|
41
|
+
isValidating: vue124.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:{},id:{},style:{},title:{},mode:{},color:{},flip:{},horizontalFlip:{type:Boolean},verticalFlip:{type:Boolean},rotate:{},hFlip:{type:Boolean},vFlip:{type:Boolean},width:{
|
|
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,12 +1,8 @@
|
|
|
1
|
-
import { IconProps
|
|
2
|
-
import * as
|
|
3
|
-
import * as _iconify_vue0 from "@iconify/vue";
|
|
1
|
+
import { IconProps } from "./types.js";
|
|
2
|
+
import * as vue241 from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/icon/icon.vue.d.ts
|
|
6
|
-
declare const __VLS_export:
|
|
7
|
-
height: _iconify_vue0.IconifyIconSize;
|
|
8
|
-
width: _iconify_vue0.IconifyIconSize;
|
|
9
|
-
}, {}, {}, {}, string, vue173.ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const __VLS_export: vue241.DefineComponent<IconProps, {}, {}, {}, {}, vue241.ComponentOptionsMixin, vue241.ComponentOptionsMixin, {}, string, vue241.PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue241.ComponentProvideOptions, false, {}, any>;
|
|
10
6
|
declare const _default: typeof __VLS_export;
|
|
11
7
|
//#endregion
|
|
12
8
|
export { _default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue246 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:
|
|
11
|
+
declare const __VLS_base: vue246.DefineComponent<InputProps, {}, {}, {}, {}, vue246.ComponentOptionsMixin, vue246.ComponentOptionsMixin, {
|
|
12
12
|
"update:modelValue": (value: string) => any;
|
|
13
|
-
}, string,
|
|
13
|
+
}, string, vue246.PublicProps, Readonly<InputProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string,
|
|
15
|
+
}>, {}, {}, {}, {}, string, vue246.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
|
|
2
|
+
import * as vue137 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/kbd/kbd.vue.d.ts
|
|
5
|
-
declare const __VLS_export:
|
|
5
|
+
declare const __VLS_export: vue137.DefineComponent<KbdProps, {}, {}, {}, {}, vue137.ComponentOptionsMixin, vue137.ComponentOptionsMixin, {}, string, vue137.PublicProps, Readonly<KbdProps> & Readonly<{}>, {
|
|
6
6
|
symbolize: boolean;
|
|
7
|
-
}, {}, {}, {}, string,
|
|
7
|
+
}, {}, {}, {}, string, vue137.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
|
|
2
|
+
import * as vue114 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:
|
|
9
|
+
declare const __VLS_base: vue114.DefineComponent<LabelProps, {}, {}, {}, {}, vue114.ComponentOptionsMixin, vue114.ComponentOptionsMixin, {}, string, vue114.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue114.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
|
|
1
|
+
import * as vue147 from "vue";
|
|
2
2
|
import { LayoutTriggerProps } from "@soybeanjs/headless";
|
|
3
3
|
|
|
4
4
|
//#region src/components/layout/layout-trigger.vue.d.ts
|
|
@@ -6,7 +6,7 @@ declare var __VLS_8: {};
|
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue147.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue147.ComponentOptionsMixin, vue147.ComponentOptionsMixin, {}, string, vue147.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue147.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,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
|
|
4
|
+
import * as vue142 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_53) => any;
|
|
21
21
|
};
|
|
22
|
-
declare const __VLS_base:
|
|
22
|
+
declare const __VLS_base: vue142.DefineComponent<LayoutProps, {}, {}, {}, {}, vue142.ComponentOptionsMixin, vue142.ComponentOptionsMixin, {
|
|
23
23
|
"update:open": (open: boolean) => any;
|
|
24
|
-
}, string,
|
|
24
|
+
}, string, vue142.PublicProps, Readonly<LayoutProps> & Readonly<{
|
|
25
25
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
size: ThemeSize;
|
|
28
28
|
open: boolean;
|
|
29
|
-
}, {}, {}, {}, string,
|
|
29
|
+
}, {}, {}, {}, string, vue142.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
|
|
2
|
+
import * as vue234 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/link/link.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {
|
|
@@ -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:
|
|
11
|
+
declare const __VLS_base: vue234.DefineComponent<LinkProps, {}, {}, {}, {}, vue234.ComponentOptionsMixin, vue234.ComponentOptionsMixin, {}, string, vue234.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
replace: boolean;
|
|
14
14
|
custom: boolean;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_base: vue178.DefineComponent<LinkProps, {}, {}, {}, {}, vue1
|
|
|
17
17
|
noRel: boolean;
|
|
18
18
|
prefetch: boolean;
|
|
19
19
|
noPrefetch: boolean;
|
|
20
|
-
}, {}, {}, {}, string,
|
|
20
|
+
}, {}, {}, {}, string, vue234.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,5 +1,5 @@
|
|
|
1
1
|
import { ListItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue157 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:
|
|
17
|
+
declare const __VLS_base: vue157.DefineComponent<ListItemProps, {}, {}, {}, {}, vue157.ComponentOptionsMixin, vue157.ComponentOptionsMixin, {}, string, vue157.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue157.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
|
|
2
|
+
import * as vue152 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:
|
|
9
|
+
declare const __VLS_base: vue152.DefineComponent<ListProps, {}, {}, {}, {}, vue152.ComponentOptionsMixin, vue152.ComponentOptionsMixin, {}, string, vue152.PublicProps, Readonly<ListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue152.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
|
|
2
|
+
import * as vue169 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:
|
|
7
|
+
props: vue169.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
|
-
}>) =>
|
|
22
|
+
}>) => vue169.VNode & {
|
|
23
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
24
|
};
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { MenuOptionData, MenuOptionProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue167 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless80 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:
|
|
8
|
+
props: vue167.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:
|
|
13
|
-
onFocusOutside?: ((event:
|
|
14
|
-
onInteractOutside?: ((event:
|
|
12
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless80.PointerDownOutsideEvent) => any) | undefined;
|
|
13
|
+
onFocusOutside?: ((event: _soybeanjs_headless80.FocusOutsideEvent) => any) | undefined;
|
|
14
|
+
onInteractOutside?: ((event: _soybeanjs_headless80.PointerDownOutsideEvent | _soybeanjs_headless80.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:
|
|
42
|
-
}>) =>
|
|
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_headless80.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless80.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless80.PointerDownOutsideEvent | _soybeanjs_headless80.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
|
|
42
|
+
}>) => vue167.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
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue171 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless88 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:
|
|
8
|
+
props: vue171.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:
|
|
13
|
-
onFocusOutside?: ((event:
|
|
14
|
-
onInteractOutside?: ((event:
|
|
12
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless88.PointerDownOutsideEvent) => any) | undefined;
|
|
13
|
+
onFocusOutside?: ((event: _soybeanjs_headless88.FocusOutsideEvent) => any) | undefined;
|
|
14
|
+
onInteractOutside?: ((event: _soybeanjs_headless88.PointerDownOutsideEvent | _soybeanjs_headless88.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:
|
|
42
|
-
}>) =>
|
|
41
|
+
emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless88.PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: _soybeanjs_headless88.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _soybeanjs_headless88.PointerDownOutsideEvent | _soybeanjs_headless88.FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
|
|
42
|
+
}>) => vue171.VNode & {
|
|
43
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
44
|
};
|
|
45
45
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../icon/icon.js";import t from"../kbd/kbd.js";import n from"./menu-item-slot.js";import{useCommonSlotKeys as r}from"./shared.js";import{useMenuExtraUi as i}from"./context.js";import{Fragment as a,createBlock as o,createCommentVNode as s,createElementBlock as c,createSlots as l,createVNode as u,defineComponent as d,mergeProps as f,
|
|
1
|
+
import e from"../icon/icon.js";import t from"../kbd/kbd.js";import n from"./menu-item-slot.js";import{useCommonSlotKeys as r}from"./shared.js";import{useMenuExtraUi as i}from"./context.js";import{Fragment as a,createBlock as o,createCommentVNode as s,createElementBlock as c,createSlots as l,createVNode as u,defineComponent as d,mergeProps as f,openBlock as p,renderList as m,renderSlot as h,unref as g,useSlots as _,withCtx as v}from"vue";import{useOmitProps as y}from"@soybeanjs/headless/composables";import{MenuGroupLabel as b,MenuItemIndicator as x,MenuRadioGroup as S,MenuRadioItem as C,MenuSeparator as w}from"@soybeanjs/headless";var T=d({name:`SMenuRadio`,__name:`menu-radio-options`,props:{items:{},groupLabelProps:{},radioItemProps:{},indicatorProps:{},shortcutProps:{},separatorProps:{},modelValue:{},defaultValue:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`select`],setup(d,{emit:T}){let E=d,D=T,O=r(_()),k=y(E,[`items`,`radioItemProps`,`groupLabelProps`,`indicatorProps`]),A=i();return(r,i)=>(p(),o(g(S),f(g(k),{"onUpdate:modelValue":i[0]||=e=>D(`update:modelValue`,e)}),{default:v(()=>[(p(!0),c(a,null,m(d.items,i=>(p(),c(a,{key:i.value},[i.isGroupLabel?(p(),o(g(b),f({key:0,ref_for:!0},d.groupLabelProps),{default:v(()=>[u(n,{icon:i.icon,label:i.label},l({_:2},[m(g(O),e=>({name:e,fn:v(()=>[h(r.$slots,e,f({ref_for:!0},i))])}))]),1032,[`icon`,`label`])]),_:2},1040)):(p(),o(g(C),f({key:1,ref_for:!0},d.radioItemProps,{value:i.value,disabled:i.disabled,"text-value":i.textValue,onSelect:e=>D(`select`,i,e)}),{default:v(()=>[u(n,{icon:i.icon,label:i.label},l({indicator:v(()=>[u(g(x),f({ref_for:!0},d.indicatorProps),{default:v(()=>[h(r.$slots,`item-indicator-icon`,f({ref_for:!0},i),()=>[u(e,{icon:`icon-park-outline:dot`})])]),_:2},1040)]),shortcut:v(()=>[i.shortcut?(p(),o(t,f({key:0,ref_for:!0},d.shortcutProps,{value:i.shortcut,class:g(A).shortcut}),null,16,[`value`,`class`])):s(`v-if`,!0)]),_:2},[m(g(O),e=>({name:e,fn:v(()=>[h(r.$slots,e,f({ref_for:!0},i))])}))]),1032,[`icon`,`label`])]),_:2},1040,[`value`,`disabled`,`text-value`,`onSelect`])),i.separator?(p(),o(g(w),f({key:2,ref_for:!0},d.separatorProps),null,16)):s(`v-if`,!0)],64))),128))]),_:3},16))}});export{T as default};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MenuRadioOptionData, MenuRadioOptionsProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue173 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:
|
|
7
|
+
props: vue173.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
|
-
}>) =>
|
|
22
|
+
}>) => vue173.VNode & {
|
|
23
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
24
|
};
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -35,7 +35,7 @@ interface MenuOptionData<T = DefinedValue> extends Pick<MenuItemProps, 'disabled
|
|
|
35
35
|
children?: MenuOptionData<T>[];
|
|
36
36
|
}
|
|
37
37
|
interface MenuShortcutProps extends Omit<KbdProps$1, 'value'> {}
|
|
38
|
-
type MenuExtraUiSlot = 'subTriggerIcon' | 'itemLinkIcon' | 'shortcut'
|
|
38
|
+
type MenuExtraUiSlot = 'subTriggerIcon' | 'itemLinkIcon' | 'shortcut';
|
|
39
39
|
type MenuExtraUi = UiClass<MenuExtraUiSlot>;
|
|
40
40
|
type MenuExtendedUi = MenuUi & MenuExtraUi;
|
|
41
41
|
interface MenuOptionProps<T extends DefinedValue = DefinedValue> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NavigationMenuOptionData, NavigationMenuProps } from "./types.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue162 from "vue";
|
|
3
|
+
import * as _soybeanjs_headless72 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:
|
|
28
|
+
declare const __VLS_base: vue162.DefineComponent<NavigationMenuProps, {}, {}, {}, {}, vue162.ComponentOptionsMixin, vue162.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:
|
|
35
|
-
focusOutside: (event:
|
|
36
|
-
interactOutside: (event:
|
|
37
|
-
}, string,
|
|
34
|
+
pointerDownOutside: (event: _soybeanjs_headless72.PointerDownOutsideEvent) => any;
|
|
35
|
+
focusOutside: (event: _soybeanjs_headless72.FocusOutsideEvent) => any;
|
|
36
|
+
interactOutside: (event: _soybeanjs_headless72.PointerDownOutsideEvent | _soybeanjs_headless72.FocusOutsideEvent) => any;
|
|
37
|
+
}, string, vue162.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:
|
|
44
|
-
onFocusOutside?: ((event:
|
|
45
|
-
onInteractOutside?: ((event:
|
|
46
|
-
}>, {}, {}, {}, {}, string,
|
|
43
|
+
onPointerDownOutside?: ((event: _soybeanjs_headless72.PointerDownOutsideEvent) => any) | undefined;
|
|
44
|
+
onFocusOutside?: ((event: _soybeanjs_headless72.FocusOutsideEvent) => any) | undefined;
|
|
45
|
+
onInteractOutside?: ((event: _soybeanjs_headless72.PointerDownOutsideEvent | _soybeanjs_headless72.FocusOutsideEvent) => any) | undefined;
|
|
46
|
+
}>, {}, {}, {}, {}, string, vue162.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
|
|
2
|
+
import * as vue257 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:
|
|
15
|
+
declare const __VLS_base: vue257.DefineComponent<NumberInputProps, {}, {}, {}, {}, vue257.ComponentOptionsMixin, vue257.ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (val: number) => any;
|
|
17
|
-
}, string,
|
|
17
|
+
}, string, vue257.PublicProps, Readonly<NumberInputProps> & Readonly<{
|
|
18
18
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string,
|
|
19
|
+
}>, {}, {}, {}, {}, string, vue257.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,5 +1,5 @@
|
|
|
1
1
|
import { PaginationProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue269 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:
|
|
17
|
+
declare const __VLS_base: vue269.DefineComponent<PaginationProps, {}, {}, {}, {}, vue269.ComponentOptionsMixin, vue269.ComponentOptionsMixin, {
|
|
18
18
|
"update:page": (value: number) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue269.PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
20
20
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
showFirstOrLast: boolean;
|
|
23
|
-
}, {}, {}, {}, string,
|
|
23
|
+
}, {}, {}, {}, string, vue269.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
|
|
2
|
+
import * as vue175 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:
|
|
16
|
+
declare const __VLS_base: vue175.DefineComponent<PasswordProps, {}, {}, {}, {}, vue175.ComponentOptionsMixin, vue175.ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (value: string) => any;
|
|
18
18
|
"update:visible": (visible: boolean) => any;
|
|
19
|
-
}, string,
|
|
19
|
+
}, string, vue175.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,
|
|
24
|
+
}, {}, {}, {}, string, vue175.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 & {
|