@soybeanjs/ui 0.13.8 → 0.14.0
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.js +1 -1
- package/dist/components/accordion/accordion.vue.d.ts +3 -3
- package/dist/components/alert/alert.vue.d.ts +4 -4
- package/dist/components/alert/variants.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-confirm.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +6 -6
- package/dist/components/avatar/avatar.vue.d.ts +7 -7
- package/dist/components/badge/badge.vue.d.ts +4 -4
- package/dist/components/badge/variants.d.ts +3 -3
- 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/button/variants.d.ts +3 -3
- package/dist/components/card/card-collapsible-trigger.vue.d.ts +3 -3
- package/dist/components/card/card.js +1 -1
- 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/checkbox/variants.d.ts +3 -3
- package/dist/components/collapsible/collapsible.vue.d.ts +4 -4
- package/dist/components/command/command.vue.d.ts +8 -8
- package/dist/components/config-provider/config-provider.vue.d.ts +7 -7
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +9 -9
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +9 -9
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +13 -13
- package/dist/components/context-menu/context-menu.vue.d.ts +9 -9
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +11 -11
- package/dist/components/dialog/dialog.vue.d.ts +11 -11
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +11 -11
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +9 -9
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +9 -9
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +13 -13
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +9 -9
- package/dist/components/form/form-field-base.vue.d.ts +3 -3
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +22 -22
- package/dist/components/form/variants.js +1 -1
- package/dist/components/icon/icon.vue.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/input-number/input-number.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +3 -3
- package/dist/components/kbd/variants.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 +9 -9
- package/dist/components/menu/menu-options.vue.d.ts +9 -9
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
- package/dist/components/page-tabs/page-tabs.vue.d.ts +4 -4
- package/dist/components/page-tabs/variants.d.ts +3 -3
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/components/pagination/variants.d.ts +3 -3
- package/dist/components/password/password.vue.d.ts +4 -4
- package/dist/components/popconfirm/popconfirm-cancel.vue.d.ts +4 -4
- package/dist/components/popconfirm/popconfirm-confirm.vue.d.ts +4 -4
- package/dist/components/popconfirm/popconfirm.vue.d.ts +13 -13
- package/dist/components/popover/popover.vue.d.ts +11 -11
- 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/radio-group/variants.d.ts +3 -3
- package/dist/components/segment/segment.vue.d.ts +3 -3
- package/dist/components/select/select.vue.d.ts +8 -8
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/separator/variants.d.ts +3 -3
- package/dist/components/switch/switch.vue.d.ts +22 -22
- package/dist/components/switch/variants.d.ts +3 -3
- package/dist/components/table/hooks.d.ts +14 -14
- package/dist/components/table/table.vue.d.ts +3 -3
- package/dist/components/tabs/tabs.vue.d.ts +3 -3
- package/dist/components/tabs/variants.d.ts +3 -3
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/tag/variants.d.ts +3 -3
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/textarea/variants.d.ts +3 -3
- package/dist/components/toast/variants.d.ts +3 -3
- package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
- package/dist/components/tree/tree-virtualizer.vue.d.ts +7 -7
- package/dist/components/tree/tree.vue.d.ts +5 -5
- 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/components/virtualizer/virtualizer.vue.d.ts +5 -5
- package/dist/nuxt/index.d.ts +2 -2
- package/dist/resolver/index.d.ts +2 -2
- package/dist/styles.css +5 -2
- package/package.json +11 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
1
|
+
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/variants.d.ts
|
|
5
|
-
declare const paginationVariants: tailwind_variants0.TVReturnType<{
|
|
5
|
+
declare const paginationVariants: _$tailwind_variants0.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
list: string;
|
|
@@ -150,7 +150,7 @@ declare const paginationVariants: tailwind_variants0.TVReturnType<{
|
|
|
150
150
|
ellipsis: string;
|
|
151
151
|
button: string[];
|
|
152
152
|
navigationButton: string[];
|
|
153
|
-
}, tailwind_variants0.TVReturnType<{
|
|
153
|
+
}, _$tailwind_variants0.TVReturnType<{
|
|
154
154
|
size: {
|
|
155
155
|
xs: {
|
|
156
156
|
list: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PasswordProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue 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: vue.DefineComponent<PasswordProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
16
|
+
declare const __VLS_base: _$vue.DefineComponent<PasswordProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (value: string) => any;
|
|
18
18
|
"update:visible": (visible: boolean) => any;
|
|
19
|
-
}, string, vue.PublicProps, Readonly<PasswordProps> & Readonly<{
|
|
19
|
+
}, string, _$vue.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, vue.ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
}, {}, {}, {}, string, _$vue.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 & {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ButtonVariant } from "../button/variants.js";
|
|
2
2
|
import { PopconfirmCancelProps } from "./types.js";
|
|
3
|
-
import * as vue from "vue";
|
|
3
|
+
import * as _$vue from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popconfirm/popconfirm-cancel.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
default?: (props: typeof __VLS_16) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_base: vue.DefineComponent<PopconfirmCancelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
10
|
+
declare const __VLS_base: _$vue.DefineComponent<PopconfirmCancelProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
11
11
|
close: () => any;
|
|
12
|
-
}, string, vue.PublicProps, Readonly<PopconfirmCancelProps> & Readonly<{
|
|
12
|
+
}, string, _$vue.PublicProps, Readonly<PopconfirmCancelProps> & Readonly<{
|
|
13
13
|
onClose?: (() => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
variant: ButtonVariant;
|
|
16
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { PopconfirmConfirmProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/popconfirm/popconfirm-confirm.vue.d.ts
|
|
5
5
|
declare var __VLS_16: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_16) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base: vue.DefineComponent<PopconfirmConfirmProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
9
|
+
declare const __VLS_base: _$vue.DefineComponent<PopconfirmConfirmProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
10
10
|
close: () => any;
|
|
11
|
-
}, string, vue.PublicProps, Readonly<PopconfirmConfirmProps> & Readonly<{
|
|
11
|
+
}, string, _$vue.PublicProps, Readonly<PopconfirmConfirmProps> & Readonly<{
|
|
12
12
|
onClose?: (() => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PopconfirmProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
3
|
-
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popconfirm/popconfirm.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_41: {
|
|
@@ -25,24 +25,24 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
} & {
|
|
26
26
|
close?: (props: typeof __VLS_70) => any;
|
|
27
27
|
};
|
|
28
|
-
declare const __VLS_base: vue.DefineComponent<PopconfirmProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
29
|
-
close: () => any;
|
|
28
|
+
declare const __VLS_base: _$vue.DefineComponent<PopconfirmProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
30
29
|
"update:open": (value: boolean) => any;
|
|
31
30
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
32
|
-
pointerDownOutside: (event: _soybeanjs_headless0.PointerDownOutsideEvent) => any;
|
|
33
|
-
focusOutside: (event: _soybeanjs_headless0.FocusOutsideEvent) => any;
|
|
34
|
-
interactOutside: (event: _soybeanjs_headless0.PointerDownOutsideEvent | _soybeanjs_headless0.FocusOutsideEvent) => any;
|
|
31
|
+
pointerDownOutside: (event: _$_soybeanjs_headless0.PointerDownOutsideEvent) => any;
|
|
32
|
+
focusOutside: (event: _$_soybeanjs_headless0.FocusOutsideEvent) => any;
|
|
33
|
+
interactOutside: (event: _$_soybeanjs_headless0.PointerDownOutsideEvent | _$_soybeanjs_headless0.FocusOutsideEvent) => any;
|
|
35
34
|
openAutoFocus: (event: Event) => any;
|
|
36
35
|
closeAutoFocus: (event: Event) => any;
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
close: () => any;
|
|
37
|
+
}, string, _$vue.PublicProps, Readonly<PopconfirmProps> & Readonly<{
|
|
39
38
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
40
39
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
41
|
-
onPointerDownOutside?: ((event: _soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
|
|
42
|
-
onFocusOutside?: ((event: _soybeanjs_headless0.FocusOutsideEvent) => any) | undefined;
|
|
43
|
-
onInteractOutside?: ((event: _soybeanjs_headless0.PointerDownOutsideEvent | _soybeanjs_headless0.FocusOutsideEvent) => any) | undefined;
|
|
40
|
+
onPointerDownOutside?: ((event: _$_soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
|
|
41
|
+
onFocusOutside?: ((event: _$_soybeanjs_headless0.FocusOutsideEvent) => any) | undefined;
|
|
42
|
+
onInteractOutside?: ((event: _$_soybeanjs_headless0.PointerDownOutsideEvent | _$_soybeanjs_headless0.FocusOutsideEvent) => any) | undefined;
|
|
44
43
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
45
44
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
45
|
+
onClose?: (() => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
open: boolean;
|
|
48
48
|
defaultOpen: boolean;
|
|
@@ -50,7 +50,7 @@ declare const __VLS_base: vue.DefineComponent<PopconfirmProps, {}, {}, {}, {}, v
|
|
|
50
50
|
showIcon: boolean;
|
|
51
51
|
showCancel: "onlyWarning" | boolean;
|
|
52
52
|
showArrow: boolean;
|
|
53
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
54
54
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
55
55
|
declare const _default: typeof __VLS_export;
|
|
56
56
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PopoverProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
3
|
-
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/popover.vue.d.ts
|
|
6
6
|
declare var __VLS_16: {}, __VLS_36: {}, __VLS_49: {};
|
|
@@ -11,27 +11,27 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
close?: (props: typeof __VLS_49) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base: vue.DefineComponent<PopoverProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
14
|
+
declare const __VLS_base: _$vue.DefineComponent<PopoverProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
15
15
|
"update:open": (value: boolean) => any;
|
|
16
16
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
17
|
-
pointerDownOutside: (event: _soybeanjs_headless0.PointerDownOutsideEvent) => any;
|
|
18
|
-
focusOutside: (event: _soybeanjs_headless0.FocusOutsideEvent) => any;
|
|
19
|
-
interactOutside: (event: _soybeanjs_headless0.PointerDownOutsideEvent | _soybeanjs_headless0.FocusOutsideEvent) => any;
|
|
17
|
+
pointerDownOutside: (event: _$_soybeanjs_headless0.PointerDownOutsideEvent) => any;
|
|
18
|
+
focusOutside: (event: _$_soybeanjs_headless0.FocusOutsideEvent) => any;
|
|
19
|
+
interactOutside: (event: _$_soybeanjs_headless0.PointerDownOutsideEvent | _$_soybeanjs_headless0.FocusOutsideEvent) => any;
|
|
20
20
|
openAutoFocus: (event: Event) => any;
|
|
21
21
|
closeAutoFocus: (event: Event) => any;
|
|
22
|
-
}, string, vue.PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
22
|
+
}, string, _$vue.PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
23
23
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
24
24
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
25
|
-
onPointerDownOutside?: ((event: _soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
-
onFocusOutside?: ((event: _soybeanjs_headless0.FocusOutsideEvent) => any) | undefined;
|
|
27
|
-
onInteractOutside?: ((event: _soybeanjs_headless0.PointerDownOutsideEvent | _soybeanjs_headless0.FocusOutsideEvent) => any) | undefined;
|
|
25
|
+
onPointerDownOutside?: ((event: _$_soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
|
|
26
|
+
onFocusOutside?: ((event: _$_soybeanjs_headless0.FocusOutsideEvent) => any) | undefined;
|
|
27
|
+
onInteractOutside?: ((event: _$_soybeanjs_headless0.PointerDownOutsideEvent | _$_soybeanjs_headless0.FocusOutsideEvent) => any) | undefined;
|
|
28
28
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
open: boolean;
|
|
32
32
|
defaultOpen: boolean;
|
|
33
33
|
showArrow: boolean;
|
|
34
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
37
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioCardGroupOptionData, RadioCardGroupProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio-group/radio-card-group.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends RadioCardGroupOptionData<T> = RadioCardGroupOptionData<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: vue.PublicProps & __VLS_PrettifyLocal<RadioCardGroupProps<T, S> & {
|
|
7
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<RadioCardGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<AcceptableBooleanValue>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {};
|
|
15
15
|
emit: (evt: "update:modelValue", payload: NonNullable<AcceptableBooleanValue>) => void;
|
|
16
|
-
}>) => vue.VNode & {
|
|
16
|
+
}>) => _$vue.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioCardProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio-card.vue.d.ts
|
|
5
5
|
declare var __VLS_19: {
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
description?: (props: typeof __VLS_27) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_base: vue.DefineComponent<RadioCardProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_base: _$vue.DefineComponent<RadioCardProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioGroupOptionData, RadioGroupProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio-group/radio-group.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends RadioGroupOptionData<T> = RadioGroupOptionData<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: vue.PublicProps & __VLS_PrettifyLocal<RadioGroupProps<T, S> & {
|
|
7
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<RadioGroupProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {};
|
|
15
15
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
16
|
-
}>) => vue.VNode & {
|
|
16
|
+
}>) => _$vue.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RadioProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/radio.vue.d.ts
|
|
5
5
|
declare var __VLS_31: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_31) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base: vue.DefineComponent<RadioProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_base: _$vue.DefineComponent<RadioProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.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,8 +1,8 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
1
|
+
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio-group/variants.d.ts
|
|
5
|
-
declare const radioGroupVariants: tailwind_variants0.TVReturnType<{
|
|
5
|
+
declare const radioGroupVariants: _$tailwind_variants0.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: {
|
|
8
8
|
control: string;
|
|
@@ -180,7 +180,7 @@ declare const radioGroupVariants: tailwind_variants0.TVReturnType<{
|
|
|
180
180
|
control: string[];
|
|
181
181
|
indicator: string;
|
|
182
182
|
label: string;
|
|
183
|
-
}, tailwind_variants0.TVReturnType<{
|
|
183
|
+
}, _$tailwind_variants0.TVReturnType<{
|
|
184
184
|
color: {
|
|
185
185
|
primary: {
|
|
186
186
|
control: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SegmentOptionData, SegmentProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
import { AcceptableValue } from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segment/segment.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S extends SegmentOptionData<NonNullable<T>> = SegmentOptionData<NonNullable<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: vue.PublicProps & __VLS_PrettifyLocal<SegmentProps<T, S> & {
|
|
7
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<SegmentProps<T, S> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
|
|
|
17
17
|
}) => any;
|
|
18
18
|
};
|
|
19
19
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
20
|
-
}>) => vue.VNode & {
|
|
20
|
+
}>) => _$vue.VNode & {
|
|
21
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
22
|
};
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SelectGroupOptionData, SelectProps, SelectSingleOptionData } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
3
|
-
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
import { DefinedValue } from "@soybeanjs/headless";
|
|
5
5
|
|
|
6
6
|
//#region src/components/select/select.vue.d.ts
|
|
7
7
|
declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<SelectProps<T, M> & {
|
|
9
|
-
onSelect?: ((event: _soybeanjs_headless0.SelectItemEvent<T>) => any) | undefined;
|
|
10
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
8
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<SelectProps<T, M> & {
|
|
9
|
+
onSelect?: ((event: _$_soybeanjs_headless0.SelectItemEvent<T>) => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
|
|
11
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
13
|
-
onPointerDownOutside?: ((event: _soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
|
|
13
|
+
onPointerDownOutside?: ((event: _$_soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
|
|
14
14
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
15
15
|
}> & (typeof globalThis extends {
|
|
16
16
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -44,8 +44,8 @@ declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(
|
|
|
44
44
|
item: SelectSingleOptionData<T>;
|
|
45
45
|
}) => any;
|
|
46
46
|
};
|
|
47
|
-
emit: ((evt: "select", event: _soybeanjs_headless0.SelectItemEvent<T>) => void) & ((evt: "update:
|
|
48
|
-
}>) => vue.VNode & {
|
|
47
|
+
emit: ((evt: "select", event: _$_soybeanjs_headless0.SelectItemEvent<T>) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _$_soybeanjs_headless0.PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
|
|
48
|
+
}>) => _$vue.VNode & {
|
|
49
49
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
50
50
|
};
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SeparatorProps } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
3
|
-
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/separator/separator.vue.d.ts
|
|
6
|
-
declare const __VLS_export: vue.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
7
|
-
orientation: _soybeanjs_headless0.DataOrientation;
|
|
8
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const __VLS_export: _$vue.DefineComponent<SeparatorProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
7
|
+
orientation: _$_soybeanjs_headless0.DataOrientation;
|
|
8
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { _default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
1
|
+
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/separator/variants.d.ts
|
|
5
|
-
declare const separatorVariants: tailwind_variants0.TVReturnType<{
|
|
5
|
+
declare const separatorVariants: _$tailwind_variants0.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
label: string;
|
|
@@ -114,7 +114,7 @@ declare const separatorVariants: tailwind_variants0.TVReturnType<{
|
|
|
114
114
|
}, {
|
|
115
115
|
root: string;
|
|
116
116
|
label: string;
|
|
117
|
-
}, tailwind_variants0.TVReturnType<{
|
|
117
|
+
}, _$tailwind_variants0.TVReturnType<{
|
|
118
118
|
size: {
|
|
119
119
|
xs: {
|
|
120
120
|
label: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ThemeColor, ThemeSize } from "../../theme/types.js";
|
|
2
2
|
import { SwitchShape } from "./variants.js";
|
|
3
3
|
import { SwitchProps } from "./types.js";
|
|
4
|
-
import * as vue from "vue";
|
|
5
|
-
import * as _soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
|
+
import * as _$vue from "vue";
|
|
5
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
6
6
|
import { AcceptableBooleanValue } from "@soybeanjs/headless";
|
|
7
7
|
|
|
8
8
|
//#region src/components/switch/switch.vue.d.ts
|
|
9
9
|
declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__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<{
|
|
10
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<SwitchProps<T> & {
|
|
10
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<SwitchProps<T> & {
|
|
11
11
|
"onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
|
|
12
12
|
}> & (typeof globalThis extends {
|
|
13
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -17,13 +17,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
17
17
|
slots: {
|
|
18
18
|
leading?: (props: {
|
|
19
19
|
modelValue: (Readonly<{
|
|
20
|
-
class: _soybeanjs_headless0.ClassValue;
|
|
21
|
-
ui: Partial<_soybeanjs_headless0.SwitchUi>;
|
|
20
|
+
class: _$_soybeanjs_headless0.ClassValue;
|
|
21
|
+
ui: Partial<_$_soybeanjs_headless0.SwitchUi>;
|
|
22
22
|
color: ThemeColor;
|
|
23
23
|
size: ThemeSize;
|
|
24
24
|
shape: SwitchShape;
|
|
25
|
-
controlProps: _soybeanjs_headless0.SwitchControlProps;
|
|
26
|
-
thumbProps: _soybeanjs_headless0.SwitchThumbProps;
|
|
25
|
+
controlProps: _$_soybeanjs_headless0.SwitchControlProps;
|
|
26
|
+
thumbProps: _$_soybeanjs_headless0.SwitchThumbProps;
|
|
27
27
|
defaultValue: NonNullable<T> | undefined;
|
|
28
28
|
disabled: boolean;
|
|
29
29
|
value: string;
|
|
@@ -31,14 +31,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
31
31
|
required: boolean;
|
|
32
32
|
manifest: string | undefined;
|
|
33
33
|
innerHTML: string | undefined;
|
|
34
|
-
style: vue.StyleValue | undefined;
|
|
34
|
+
style: _$vue.StyleValue | undefined;
|
|
35
35
|
accesskey: string | undefined;
|
|
36
36
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
37
37
|
contextmenu: string | undefined;
|
|
38
38
|
dir: string | undefined;
|
|
39
39
|
draggable: (boolean | "true" | "false") | undefined;
|
|
40
40
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
41
|
-
enterKeyHint: vue.HTMLAttributes["enterkeyhint"];
|
|
41
|
+
enterKeyHint: _$vue.HTMLAttributes["enterkeyhint"];
|
|
42
42
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
43
43
|
id: string | undefined;
|
|
44
44
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -228,13 +228,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
228
228
|
} & {
|
|
229
229
|
default?: (props: {
|
|
230
230
|
modelValue: (Readonly<{
|
|
231
|
-
class: _soybeanjs_headless0.ClassValue;
|
|
232
|
-
ui: Partial<_soybeanjs_headless0.SwitchUi>;
|
|
231
|
+
class: _$_soybeanjs_headless0.ClassValue;
|
|
232
|
+
ui: Partial<_$_soybeanjs_headless0.SwitchUi>;
|
|
233
233
|
color: ThemeColor;
|
|
234
234
|
size: ThemeSize;
|
|
235
235
|
shape: SwitchShape;
|
|
236
|
-
controlProps: _soybeanjs_headless0.SwitchControlProps;
|
|
237
|
-
thumbProps: _soybeanjs_headless0.SwitchThumbProps;
|
|
236
|
+
controlProps: _$_soybeanjs_headless0.SwitchControlProps;
|
|
237
|
+
thumbProps: _$_soybeanjs_headless0.SwitchThumbProps;
|
|
238
238
|
defaultValue: NonNullable<T> | undefined;
|
|
239
239
|
disabled: boolean;
|
|
240
240
|
value: string;
|
|
@@ -242,14 +242,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
242
242
|
required: boolean;
|
|
243
243
|
manifest: string | undefined;
|
|
244
244
|
innerHTML: string | undefined;
|
|
245
|
-
style: vue.StyleValue | undefined;
|
|
245
|
+
style: _$vue.StyleValue | undefined;
|
|
246
246
|
accesskey: string | undefined;
|
|
247
247
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
248
248
|
contextmenu: string | undefined;
|
|
249
249
|
dir: string | undefined;
|
|
250
250
|
draggable: (boolean | "true" | "false") | undefined;
|
|
251
251
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
252
|
-
enterKeyHint: vue.HTMLAttributes["enterkeyhint"];
|
|
252
|
+
enterKeyHint: _$vue.HTMLAttributes["enterkeyhint"];
|
|
253
253
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
254
254
|
id: string | undefined;
|
|
255
255
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -439,13 +439,13 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
439
439
|
} & {
|
|
440
440
|
trailing?: (props: {
|
|
441
441
|
modelValue: (Readonly<{
|
|
442
|
-
class: _soybeanjs_headless0.ClassValue;
|
|
443
|
-
ui: Partial<_soybeanjs_headless0.SwitchUi>;
|
|
442
|
+
class: _$_soybeanjs_headless0.ClassValue;
|
|
443
|
+
ui: Partial<_$_soybeanjs_headless0.SwitchUi>;
|
|
444
444
|
color: ThemeColor;
|
|
445
445
|
size: ThemeSize;
|
|
446
446
|
shape: SwitchShape;
|
|
447
|
-
controlProps: _soybeanjs_headless0.SwitchControlProps;
|
|
448
|
-
thumbProps: _soybeanjs_headless0.SwitchThumbProps;
|
|
447
|
+
controlProps: _$_soybeanjs_headless0.SwitchControlProps;
|
|
448
|
+
thumbProps: _$_soybeanjs_headless0.SwitchThumbProps;
|
|
449
449
|
defaultValue: NonNullable<T> | undefined;
|
|
450
450
|
disabled: boolean;
|
|
451
451
|
value: string;
|
|
@@ -453,14 +453,14 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
453
453
|
required: boolean;
|
|
454
454
|
manifest: string | undefined;
|
|
455
455
|
innerHTML: string | undefined;
|
|
456
|
-
style: vue.StyleValue | undefined;
|
|
456
|
+
style: _$vue.StyleValue | undefined;
|
|
457
457
|
accesskey: string | undefined;
|
|
458
458
|
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
459
459
|
contextmenu: string | undefined;
|
|
460
460
|
dir: string | undefined;
|
|
461
461
|
draggable: (boolean | "true" | "false") | undefined;
|
|
462
462
|
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
463
|
-
enterKeyHint: vue.HTMLAttributes["enterkeyhint"];
|
|
463
|
+
enterKeyHint: _$vue.HTMLAttributes["enterkeyhint"];
|
|
464
464
|
hidden: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
465
465
|
id: string | undefined;
|
|
466
466
|
inert: (boolean | "true" | "false") | undefined;
|
|
@@ -649,7 +649,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
|
|
|
649
649
|
}) => any;
|
|
650
650
|
};
|
|
651
651
|
emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
|
|
652
|
-
}>) => vue.VNode & {
|
|
652
|
+
}>) => _$vue.VNode & {
|
|
653
653
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
654
654
|
};
|
|
655
655
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
1
|
+
import * as _$tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/switch/variants.d.ts
|
|
5
|
-
declare const switchVariants: tailwind_variants0.TVReturnType<{
|
|
5
|
+
declare const switchVariants: _$tailwind_variants0.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
primary: {
|
|
8
8
|
control: string;
|
|
@@ -136,7 +136,7 @@ declare const switchVariants: tailwind_variants0.TVReturnType<{
|
|
|
136
136
|
root: string;
|
|
137
137
|
control: string[];
|
|
138
138
|
thumb: string;
|
|
139
|
-
}, tailwind_variants0.TVReturnType<{
|
|
139
|
+
}, _$tailwind_variants0.TVReturnType<{
|
|
140
140
|
color: {
|
|
141
141
|
primary: {
|
|
142
142
|
control: string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { TableColumn } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
import { TableColumnCheck, UseTableOptions } from "@soybeanjs/hooks";
|
|
4
4
|
|
|
5
5
|
//#region src/components/table/hooks.d.ts
|
|
6
6
|
type UseTableOptions$1<ResponseData, ApiData, Pagination extends boolean> = Omit<UseTableOptions<ResponseData, ApiData, TableColumn<ApiData>, Pagination>, 'pagination' | 'getColumnChecks' | 'getColumns'>;
|
|
7
7
|
declare function useTable$1<ResponseData, ApiData>(options: UseTableOptions$1<ResponseData, ApiData, false>): {
|
|
8
|
-
loading: vue.ShallowRef<boolean>;
|
|
9
|
-
empty: vue.ShallowRef<boolean>;
|
|
10
|
-
tableData: vue.Ref<ApiData[], ApiData[]>;
|
|
11
|
-
columns: vue.ComputedRef<TableColumn<ApiData>[]>;
|
|
12
|
-
columnChecks: vue.Ref<TableColumnCheck[], TableColumnCheck[]>;
|
|
8
|
+
loading: _$vue.ShallowRef<boolean>;
|
|
9
|
+
empty: _$vue.ShallowRef<boolean>;
|
|
10
|
+
tableData: _$vue.Ref<ApiData[], ApiData[]>;
|
|
11
|
+
columns: _$vue.ComputedRef<TableColumn<ApiData>[]>;
|
|
12
|
+
columnChecks: _$vue.Ref<TableColumnCheck[], TableColumnCheck[]>;
|
|
13
13
|
reloadColumns: () => void;
|
|
14
14
|
fetchData: () => Promise<void>;
|
|
15
15
|
};
|
|
@@ -28,16 +28,16 @@ type UsePaginatedTableOptions<ResponseData, ApiData> = UseTableOptions$1<Respons
|
|
|
28
28
|
fetchOnPaginationChange?: boolean;
|
|
29
29
|
};
|
|
30
30
|
declare function usePaginatedTable<ResponseData, ApiData>(options: UsePaginatedTableOptions<ResponseData, ApiData>): {
|
|
31
|
-
loading: vue.ShallowRef<boolean>;
|
|
32
|
-
empty: vue.ShallowRef<boolean>;
|
|
33
|
-
tableData: vue.Ref<ApiData[], ApiData[]>;
|
|
34
|
-
columns: vue.ComputedRef<TableColumn<ApiData>[]>;
|
|
35
|
-
columnChecks: vue.Ref<TableColumnCheck[], TableColumnCheck[]>;
|
|
31
|
+
loading: _$vue.ShallowRef<boolean>;
|
|
32
|
+
empty: _$vue.ShallowRef<boolean>;
|
|
33
|
+
tableData: _$vue.Ref<ApiData[], ApiData[]>;
|
|
34
|
+
columns: _$vue.ComputedRef<TableColumn<ApiData>[]>;
|
|
35
|
+
columnChecks: _$vue.Ref<TableColumnCheck[], TableColumnCheck[]>;
|
|
36
36
|
reloadColumns: () => void;
|
|
37
37
|
fetchData: () => Promise<void>;
|
|
38
|
-
page: vue.ShallowRef<number, number>;
|
|
39
|
-
pageSize: vue.ShallowRef<number, number>;
|
|
40
|
-
total: vue.ShallowRef<number, number>;
|
|
38
|
+
page: _$vue.ShallowRef<number, number>;
|
|
39
|
+
pageSize: _$vue.ShallowRef<number, number>;
|
|
40
|
+
total: _$vue.ShallowRef<number, number>;
|
|
41
41
|
};
|
|
42
42
|
//#endregion
|
|
43
43
|
export { usePaginatedTable, useTable$1 as useTable };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseTableData, TableProps, TableSlots } from "./types.js";
|
|
2
|
-
import * as vue from "vue";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/table/table.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T extends BaseTableData = BaseTableData, R extends string | number = string | number, M extends boolean = boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<TableProps<T, R, M> & {
|
|
6
|
+
props: _$vue.PublicProps & __VLS_PrettifyLocal<TableProps<T, R, M> & {
|
|
7
7
|
"onUpdate:expanded"?: ((expanded: R[]) => any) | undefined;
|
|
8
8
|
"onUpdate:selected"?: ((selected: M extends true ? R[] : R | undefined) => any) | undefined;
|
|
9
9
|
}> & (typeof globalThis extends {
|
|
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends BaseTableData = BaseTableData, R extends
|
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: TableSlots<T>;
|
|
15
15
|
emit: ((evt: "update:expanded", expanded: R[]) => void) & ((evt: "update:selected", selected: M extends true ? R[] : R | undefined) => void);
|
|
16
|
-
}>) => vue.VNode & {
|
|
16
|
+
}>) => _$vue.VNode & {
|
|
17
17
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: typeof __VLS_export;
|