@vinicunca/taman-ui 0.1.1 → 0.1.2
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/auth/index.mjs +1 -2
- package/dist/components/back-to-top/index.mjs +1 -2
- package/dist/components/button/taman-button-check-group.mjs +1 -1
- package/dist/components/button/taman-button-check-group.types.d.ts +5 -6
- package/dist/components/button/taman-button-check-group.vue.d.ts +1 -1
- package/dist/components/descriptions/taman-description.types.d.ts +12 -13
- package/dist/components/file-upload/index.mjs +1 -2
- package/dist/components/file-upload/taman-file-upload.mjs +1 -0
- package/dist/components/file-upload/taman-file-upload.types.d.ts +2 -3
- package/dist/components/full-screen/index.mjs +1 -2
- package/dist/components/icon/index.mjs +1 -2
- package/dist/components/input/password-strength.d.ts +5 -6
- package/dist/components/input/taman-input-currency.types.d.ts +2 -3
- package/dist/components/input-date/index.mjs +1 -2
- package/dist/components/input-date/taman-input-date.types.d.ts +5 -6
- package/dist/components/loading/index.mjs +1 -2
- package/dist/components/loading/types.d.ts +3 -4
- package/dist/components/logo/index.mjs +1 -2
- package/dist/components/render-content/index.mjs +1 -2
- package/dist/components/scrollbar/index.mjs +1 -2
- package/dist/components/scrollbar/scrollbar.vue.d.ts +2 -2
- package/dist/form/components/form-field-array.types.d.ts +2 -3
- package/dist/form/form-render/index.mjs +1 -2
- package/dist/form/form.api.d.ts +2 -2
- package/dist/form/form.api.mjs +2 -0
- package/dist/form/form.built-ins.d.ts +3 -4
- package/dist/form/form.built-ins.mjs +1 -0
- package/dist/form/form.codec.d.ts +7 -7
- package/dist/form/form.config.d.ts +2 -3
- package/dist/form/form.empty-value.d.ts +2 -3
- package/dist/form/form.types.d.ts +48 -48
- package/dist/form/form.use-taman-form.d.ts +3 -3
- package/dist/layout/components/taman-core-layout-sidebar.mjs +15 -13
- package/dist/layout/index.mjs +1 -2
- package/dist/layout/taman-core-layout.mjs +1 -1
- package/dist/menu/components/normal-menu/index.mjs +1 -2
- package/dist/menu/components/normal-menu/normal-menu.vue.d.ts +1 -1
- package/dist/popup/alert/alert-builder.d.ts +5 -6
- package/dist/popup/alert/alert.d.ts +7 -8
- package/dist/popup/alert/alert.vue.d.ts +1 -1
- package/dist/popup/alert/alert2.mjs +1 -1
- package/dist/popup/dialog/dialog.api.d.ts +2 -3
- package/dist/popup/dialog/dialog.api.mjs +2 -0
- package/dist/popup/dialog/dialog.types.d.ts +6 -6
- package/dist/popup/dialog/dialog.vue.d.ts +12 -12
- package/dist/popup/dialog/use-taman-dialog.d.ts +4 -4
- package/dist/popup/drawer/drawer.api.d.ts +2 -3
- package/dist/popup/drawer/drawer.api.mjs +1 -0
- package/dist/popup/drawer/drawer.types.d.ts +8 -8
- package/dist/popup/drawer/drawer.vue.d.ts +14 -14
- package/dist/popup/drawer/use-taman-drawer.d.ts +4 -4
- package/dist/tabs/components/index.mjs +1 -2
- package/dist/tabs/components/taman-tabs.mjs +1 -1
- package/dist/tabs/components/widgets/tool-more.mjs +1 -1
- package/dist/tabs/components/widgets/tool-refresh.mjs +1 -1
- package/dist/tabs/components/widgets/tool-screen.mjs +1 -1
- package/dist/tabs/strict-context-menu.d.ts +2 -2
- package/dist/tabs/tabs.types.d.ts +4 -5
- package/dist/tabs/taman-tabs-view.mjs +2 -2
- package/dist/ui/alert-dialog/alert-dialog-action.vue.d.ts +2 -2
- package/dist/ui/alert-dialog/alert-dialog-cancel.vue.d.ts +2 -2
- package/dist/ui/alert-dialog/alert-dialog-content.mjs +1 -1
- package/dist/ui/alert-dialog/alert-dialog-content.vue.d.ts +2 -2
- package/dist/ui/alert-dialog/alert-dialog-description.vue.d.ts +2 -2
- package/dist/ui/alert-dialog/alert-dialog-overlay.mjs +1 -1
- package/dist/ui/alert-dialog/alert-dialog-root.vue.d.ts +2 -2
- package/dist/ui/alert-dialog/alert-dialog-title.vue.d.ts +2 -2
- package/dist/ui/alert-dialog/alert-dialog-trigger.vue.d.ts +2 -2
- package/dist/ui/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/ui/dialog/dialog-content.mjs +1 -1
- package/dist/ui/dialog/dialog-content.vue.d.ts +3 -3
- package/dist/ui/dialog/dialog-description.vue.d.ts +2 -2
- package/dist/ui/dialog/dialog-footer.mjs +1 -1
- package/dist/ui/dialog/dialog-overlay.mjs +1 -1
- package/dist/ui/dialog/dialog-overlay.vue.d.ts +1 -1
- package/dist/ui/dialog/dialog-root.vue.d.ts +2 -2
- package/dist/ui/dialog/dialog-title.vue.d.ts +2 -2
- package/dist/ui/dialog/dialog-trigger.vue.d.ts +2 -2
- package/dist/ui/form/form-control.vue.d.ts +2 -2
- package/dist/ui/form/form-field.vue.d.ts +1 -1
- package/dist/ui/form/form-label.vue.d.ts +2 -2
- package/dist/ui/form/injection-keys.d.ts +4 -5
- package/dist/ui/label/index.mjs +1 -2
- package/dist/ui/label/label.mjs +1 -1
- package/dist/ui/label/label.vue.d.ts +2 -2
- package/dist/ui/scroll-area/scroll-area.vue.d.ts +2 -2
- package/dist/ui/scroll-area/scroll-bar.vue.d.ts +1 -1
- package/dist/ui/sheet/sheet-close.vue.d.ts +2 -2
- package/dist/ui/sheet/sheet-content.mjs +1 -1
- package/dist/ui/sheet/sheet-content.vue.d.ts +3 -3
- package/dist/ui/sheet/sheet-description.vue.d.ts +2 -2
- package/dist/ui/sheet/sheet-root.vue.d.ts +2 -2
- package/dist/ui/sheet/sheet-title.vue.d.ts +2 -2
- package/dist/ui/sheet/sheet.variants.d.ts +17 -18
- package/dist/ui/sheet/sheet.variants.mjs +3 -2
- package/dist/unocss/content.d.ts +2 -3
- package/dist/unocss/index.mjs +1 -2
- package/package.json +11 -10
|
@@ -2,9 +2,9 @@ import { DrawerApi } from "./drawer.api.js";
|
|
|
2
2
|
import { Component, HTMLAttributes, Ref } from "vue";
|
|
3
3
|
import { MaybePromise } from "@vinicunca/taman-core/typings";
|
|
4
4
|
//#region src/popup/drawer/drawer.types.d.ts
|
|
5
|
-
type DrawerPlacement = 'bottom' | 'left' | 'right' | 'top';
|
|
6
|
-
type CloseIconPlacement = 'left' | 'right';
|
|
7
|
-
interface TamanDrawerProps {
|
|
5
|
+
export type DrawerPlacement = 'bottom' | 'left' | 'right' | 'top';
|
|
6
|
+
export type CloseIconPlacement = 'left' | 'right';
|
|
7
|
+
export interface TamanDrawerProps {
|
|
8
8
|
appendToMain?: boolean;
|
|
9
9
|
cancelText?: string;
|
|
10
10
|
class?: HTMLAttributes['class'];
|
|
@@ -33,17 +33,17 @@ interface TamanDrawerProps {
|
|
|
33
33
|
titleTooltip?: string;
|
|
34
34
|
zIndex?: number;
|
|
35
35
|
}
|
|
36
|
-
interface DrawerState extends TamanDrawerProps {
|
|
36
|
+
export interface DrawerState extends TamanDrawerProps {
|
|
37
37
|
isOpen?: boolean;
|
|
38
38
|
}
|
|
39
|
-
type ExtendedDrawerApi<TData = unknown> = DrawerApi<TData> & {
|
|
39
|
+
export type ExtendedDrawerApi<TData = unknown> = DrawerApi<TData> & {
|
|
40
40
|
useStore: <T = NoInfer<DrawerState>>(selector?: (state: NoInfer<DrawerState>) => T) => Readonly<Ref<T>>;
|
|
41
41
|
};
|
|
42
42
|
type DrawerComponentInstance<TComponent extends Component> = TComponent extends (abstract new (...args: Array<any>) => infer TInstance) ? TInstance : never;
|
|
43
|
-
type InferDrawerData<TComponent extends Component> = [DrawerComponentInstance<TComponent>] extends [never] ? unknown : DrawerComponentInstance<TComponent> extends {
|
|
43
|
+
export type InferDrawerData<TComponent extends Component> = [DrawerComponentInstance<TComponent>] extends [never] ? unknown : DrawerComponentInstance<TComponent> extends {
|
|
44
44
|
drawerApi: ExtendedDrawerApi<infer TData>;
|
|
45
45
|
} ? TData : unknown;
|
|
46
|
-
interface DrawerApiOptions<TConnectedComponent extends Component = Component> extends DrawerState {
|
|
46
|
+
export interface DrawerApiOptions<TConnectedComponent extends Component = Component> extends DrawerState {
|
|
47
47
|
connectedComponent?: TConnectedComponent;
|
|
48
48
|
onBeforeClose?: () => MaybePromise<boolean | undefined>;
|
|
49
49
|
onCancel?: () => void;
|
|
@@ -53,4 +53,4 @@ interface DrawerApiOptions<TConnectedComponent extends Component = Component> ex
|
|
|
53
53
|
onOpened?: () => void;
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
|
-
export {
|
|
56
|
+
export {};
|
|
@@ -3,37 +3,37 @@ import { CloseIconPlacement, ExtendedDrawerApi, TamanDrawerProps } from "./drawe
|
|
|
3
3
|
interface Props extends TamanDrawerProps {
|
|
4
4
|
drawerApi?: ExtendedDrawerApi;
|
|
5
5
|
}
|
|
6
|
-
declare var
|
|
6
|
+
declare var __VLS_36: {}, __VLS_54: {}, __VLS_73: {}, __VLS_75: {}, __VLS_83: {}, __VLS_122: {}, __VLS_135: {}, __VLS_137: {}, __VLS_147: {}, __VLS_149: {}, __VLS_159: {}, __VLS_161: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
'close-icon'?: (props: typeof
|
|
8
|
+
'close-icon'?: (props: typeof __VLS_36) => any;
|
|
9
9
|
} & {
|
|
10
|
-
title?: (props: typeof
|
|
10
|
+
title?: (props: typeof __VLS_54) => any;
|
|
11
11
|
} & {
|
|
12
|
-
description?: (props: typeof
|
|
12
|
+
description?: (props: typeof __VLS_73) => any;
|
|
13
13
|
} & {
|
|
14
|
-
extra?: (props: typeof
|
|
14
|
+
extra?: (props: typeof __VLS_75) => any;
|
|
15
15
|
} & {
|
|
16
|
-
'close-icon'?: (props: typeof
|
|
16
|
+
'close-icon'?: (props: typeof __VLS_83) => any;
|
|
17
17
|
} & {
|
|
18
|
-
default?: (props: typeof
|
|
18
|
+
default?: (props: typeof __VLS_122) => any;
|
|
19
19
|
} & {
|
|
20
|
-
'prepend-footer'?: (props: typeof
|
|
20
|
+
'prepend-footer'?: (props: typeof __VLS_135) => any;
|
|
21
21
|
} & {
|
|
22
|
-
footer?: (props: typeof
|
|
22
|
+
footer?: (props: typeof __VLS_137) => any;
|
|
23
23
|
} & {
|
|
24
|
-
cancelText?: (props: typeof
|
|
24
|
+
cancelText?: (props: typeof __VLS_147) => any;
|
|
25
25
|
} & {
|
|
26
|
-
'center-footer'?: (props: typeof
|
|
26
|
+
'center-footer'?: (props: typeof __VLS_149) => any;
|
|
27
27
|
} & {
|
|
28
|
-
confirmText?: (props: typeof
|
|
28
|
+
confirmText?: (props: typeof __VLS_159) => any;
|
|
29
29
|
} & {
|
|
30
|
-
'append-footer'?: (props: typeof
|
|
30
|
+
'append-footer'?: (props: typeof __VLS_161) => any;
|
|
31
31
|
};
|
|
32
32
|
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
33
33
|
appendToMain: boolean;
|
|
34
|
-
closeIconPlacement: CloseIconPlacement;
|
|
35
34
|
destroyOnClose: boolean;
|
|
36
35
|
submitting: boolean;
|
|
36
|
+
closeIconPlacement: CloseIconPlacement;
|
|
37
37
|
drawerApi: ExtendedDrawerApi;
|
|
38
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -6,8 +6,8 @@ interface DrawerDataNotProvided {
|
|
|
6
6
|
readonly [DRAWER_DATA_NOT_PROVIDED]: true;
|
|
7
7
|
}
|
|
8
8
|
type ResolvedDrawerData<TData, TConnectedComponent extends Component> = TData extends DrawerDataNotProvided ? InferDrawerData<TConnectedComponent> : TData;
|
|
9
|
-
declare function setDefaultDrawerProps(props: Partial<TamanDrawerProps>): void;
|
|
10
|
-
declare function useTamanDrawer<TData = DrawerDataNotProvided, TConnectedComponent extends Component = Component>(options?: DrawerApiOptions<TConnectedComponent>): readonly [import("vue").DefineSetupFnComponent<TamanDrawerProps, {}, {}, TamanDrawerProps & {}, import("vue").PublicProps>, ExtendedDrawerApi<ResolvedDrawerData<TData, TConnectedComponent>>];
|
|
11
|
-
declare function createTamanDrawer<TData = unknown>(): <TConnectedComponent extends Component = Component>(options?: DrawerApiOptions<TConnectedComponent>) => readonly [import("vue").DefineSetupFnComponent<TamanDrawerProps, {}, {}, TamanDrawerProps & {}, import("vue").PublicProps>, ExtendedDrawerApi<ResolvedDrawerData<TData, TConnectedComponent>>];
|
|
9
|
+
export declare function setDefaultDrawerProps(props: Partial<TamanDrawerProps>): void;
|
|
10
|
+
export declare function useTamanDrawer<TData = DrawerDataNotProvided, TConnectedComponent extends Component = Component>(options?: DrawerApiOptions<TConnectedComponent>): readonly [import("vue").DefineSetupFnComponent<TamanDrawerProps, {}, {}, TamanDrawerProps & {}, import("vue").PublicProps>, ExtendedDrawerApi<ResolvedDrawerData<TData, TConnectedComponent>>];
|
|
11
|
+
export declare function createTamanDrawer<TData = unknown>(): <TConnectedComponent extends Component = Component>(options?: DrawerApiOptions<TConnectedComponent>) => readonly [import("vue").DefineSetupFnComponent<TamanDrawerProps, {}, {}, TamanDrawerProps & {}, import("vue").PublicProps>, ExtendedDrawerApi<ResolvedDrawerData<TData, TConnectedComponent>>];
|
|
12
12
|
//#endregion
|
|
13
|
-
export {
|
|
13
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { _sfc_main as TamanTabs };
|
|
1
|
+
export { default as TamanTabs } from "./taman-tabs.mjs";
|
|
@@ -12,7 +12,7 @@ const _hoisted_1 = [
|
|
|
12
12
|
const _hoisted_2 = { class: "px-1 size-full relative" };
|
|
13
13
|
const _hoisted_3 = {
|
|
14
14
|
key: 0,
|
|
15
|
-
class: "tabs-chrome__divider bg-border h-4 w-px translate-y-[-50%] transition-all left
|
|
15
|
+
class: "tabs-chrome__divider bg-border h-4 w-px translate-y-[-50%] transition-all left---gap top-1/2 absolute z-0"
|
|
16
16
|
};
|
|
17
17
|
const _hoisted_4 = { class: "tabs-chrome__extra size-4 translate-y-[-50%] right-[calc(var(--gap)+5px)] top-1/2 absolute z-3" };
|
|
18
18
|
const _hoisted_5 = ["onClick"];
|
|
@@ -34,7 +34,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
34
34
|
size: "sm",
|
|
35
35
|
variant: "ghost",
|
|
36
36
|
color: "neutral",
|
|
37
|
-
class: "h-full pohon:
|
|
37
|
+
class: "h-full pohon:p-2 pohon:border-l pohon:rounded-none"
|
|
38
38
|
})]),
|
|
39
39
|
_: 1
|
|
40
40
|
}, 8, ["items"]);
|
|
@@ -15,7 +15,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
15
15
|
size: "sm",
|
|
16
16
|
variant: "ghost",
|
|
17
17
|
color: "neutral",
|
|
18
|
-
class: "h-full pohon:
|
|
18
|
+
class: "h-full pohon:p-2 pohon:border-l pohon:rounded-none",
|
|
19
19
|
onClick: handleRefresh
|
|
20
20
|
});
|
|
21
21
|
};
|
|
@@ -19,7 +19,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
19
19
|
size: "sm",
|
|
20
20
|
variant: "ghost",
|
|
21
21
|
color: "neutral",
|
|
22
|
-
class: "h-full pohon:
|
|
22
|
+
class: "h-full pohon:p-2 pohon:border-l pohon:rounded-none",
|
|
23
23
|
onClick: toggleScreen
|
|
24
24
|
}, null, 8, ["icon"]);
|
|
25
25
|
};
|
|
@@ -2,9 +2,9 @@ import { RemoveIndexSignature } from "@vinicunca/taman-core/typings";
|
|
|
2
2
|
import { ContextMenuItem } from "pohon-ui";
|
|
3
3
|
//#region src/tabs/strict-context-menu.d.ts
|
|
4
4
|
type StrictContextMenuItemBase = RemoveIndexSignature<ContextMenuItem>;
|
|
5
|
-
type StrictContextMenuItem = Omit<StrictContextMenuItemBase, 'children'> & {
|
|
5
|
+
export type StrictContextMenuItem = Omit<StrictContextMenuItemBase, 'children'> & {
|
|
6
6
|
children?: Array<StrictContextMenuItem> | Array<Array<StrictContextMenuItem>>;
|
|
7
7
|
key: string;
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
|
-
export {
|
|
10
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { StrictContextMenuItem } from "./strict-context-menu.js";
|
|
2
2
|
import { TamanTabDefinition } from "@vinicunca/taman-core/typings";
|
|
3
3
|
//#region src/tabs/tabs.types.d.ts
|
|
4
|
-
interface TabsEmits {
|
|
4
|
+
export interface TabsEmits {
|
|
5
5
|
close: [string];
|
|
6
6
|
sortTabs: [number, number];
|
|
7
7
|
unpin: [TamanTabDefinition];
|
|
8
8
|
}
|
|
9
|
-
interface TabsProps {
|
|
9
|
+
export interface TabsProps {
|
|
10
10
|
active?: string;
|
|
11
11
|
contentClass?: string;
|
|
12
12
|
contextMenus?: (tab: TamanTabDefinition) => Array<StrictContextMenuItem>;
|
|
@@ -19,12 +19,11 @@ interface TabsProps {
|
|
|
19
19
|
tabs?: Array<TamanTabDefinition>;
|
|
20
20
|
wheelable?: boolean;
|
|
21
21
|
}
|
|
22
|
-
interface TabConfig extends TamanTabDefinition {
|
|
22
|
+
export interface TabConfig extends TamanTabDefinition {
|
|
23
23
|
affixTab: boolean;
|
|
24
24
|
closable: boolean;
|
|
25
25
|
icon: string;
|
|
26
26
|
key: string;
|
|
27
27
|
title: string;
|
|
28
28
|
}
|
|
29
|
-
//#endregion
|
|
30
|
-
export { TabConfig, TabsEmits, TabsProps };
|
|
29
|
+
//#endregion
|
|
@@ -58,7 +58,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
58
58
|
size: "sm",
|
|
59
59
|
variant: "ghost",
|
|
60
60
|
color: "neutral",
|
|
61
|
-
class: "pohon:
|
|
61
|
+
class: "pohon:p-2 pohon:border-r pohon:rounded-none",
|
|
62
62
|
disabled: unref(scrollIsAtLeft),
|
|
63
63
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(scrollDirection)("left"))
|
|
64
64
|
}, null, 8, ["disabled"]), [[vShow, unref(showScrollButton)]]),
|
|
@@ -89,7 +89,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
89
89
|
size: "sm",
|
|
90
90
|
variant: "ghost",
|
|
91
91
|
color: "neutral",
|
|
92
|
-
class: "pohon:
|
|
92
|
+
class: "pohon:p-2 pohon:border-l pohon:rounded-none",
|
|
93
93
|
disabled: unref(scrollIsAtRight),
|
|
94
94
|
onClick: _cache[1] || (_cache[1] = ($event) => unref(scrollDirection)("right"))
|
|
95
95
|
}, null, 8, ["disabled"]), [[vShow, unref(showScrollButton)]])
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AlertDialogActionProps } from "akar";
|
|
2
2
|
//#region src/ui/alert-dialog/alert-dialog-action.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_7: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_7) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AlertDialogCancelProps } from "akar";
|
|
2
2
|
//#region src/ui/alert-dialog/alert-dialog-cancel.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_7: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_7) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -85,7 +85,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
85
85
|
..._ctx.$attrs,
|
|
86
86
|
...unref(forwarded)
|
|
87
87
|
}, {
|
|
88
|
-
class: ["border rounded-lg bg-background max-w-[calc(100%-2rem)] w-full shadow-lg translate-x-[-50%] left-[50%] fixed z-popup sm:max-w-lg data-[state=closed]:
|
|
88
|
+
class: ["border rounded-lg bg-background max-w-[calc(100%-2rem)] w-full shadow-lg translate-x-[-50%] left-[50%] fixed z-popup sm:max-w-lg data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 pohon:animate-duration-280", [{
|
|
89
89
|
"data-[state=closed]:slide-out-to-top-48% data-[state=open]:slide-in-from-top-48%": !__props.centered,
|
|
90
90
|
"data-[state=closed]:slide-out-to-top-148% data-[state=open]:slide-in-from-top-98%": __props.centered,
|
|
91
91
|
"top-[10vh]": !__props.centered,
|
|
@@ -9,9 +9,9 @@ type __VLS_Props = AlertDialogContentProps & {
|
|
|
9
9
|
overlayBlur?: number;
|
|
10
10
|
zIndex?: number;
|
|
11
11
|
};
|
|
12
|
-
declare var
|
|
12
|
+
declare var __VLS_29: {};
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
|
-
default?: (props: typeof
|
|
14
|
+
default?: (props: typeof __VLS_29) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
17
17
|
getContentRef: () => InstanceType<typeof AlertDialogContent> | null;
|
|
@@ -4,9 +4,9 @@ import { AlertDialogDescriptionProps } from "akar";
|
|
|
4
4
|
type __VLS_Props = AlertDialogDescriptionProps & {
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -20,7 +20,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
20
20
|
position: __props.position,
|
|
21
21
|
backdropFilter: __props.overlayBlur && __props.overlayBlur > 0 ? `blur(${__props.overlayBlur}px)` : "none"
|
|
22
22
|
}),
|
|
23
|
-
class: "bg-background-elevated/75 inset-0 fixed z-popup isolate data-[state=closed]:
|
|
23
|
+
class: "bg-background-elevated/75 inset-0 fixed z-popup isolate data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0 pohon:animate-duration-280"
|
|
24
24
|
}, null, 12, _hoisted_1);
|
|
25
25
|
};
|
|
26
26
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AlertDialogProps } from "akar";
|
|
2
2
|
//#region src/ui/alert-dialog/alert-dialog-root.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_7: {
|
|
4
4
|
open: boolean;
|
|
5
5
|
close: () => void;
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: import("vue").DefineComponent<AlertDialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
"update:open": (value: boolean) => any;
|
|
@@ -4,9 +4,9 @@ import { AlertDialogTitleProps } from "akar";
|
|
|
4
4
|
type __VLS_Props = AlertDialogTitleProps & {
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AlertDialogTriggerProps } from "akar";
|
|
2
2
|
//#region src/ui/alert-dialog/alert-dialog-trigger.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_7: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_7) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<AlertDialogTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertDialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DialogCloseProps } from "akar";
|
|
2
2
|
//#region src/ui/dialog/dialog-close.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_7: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_7) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<DialogCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -88,7 +88,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
88
88
|
position: position.value
|
|
89
89
|
},
|
|
90
90
|
"data-slot": "dialog-content",
|
|
91
|
-
class: "outline-hidden bg-background shadow-lg z-popup sm:rounded-xl data-[state=closed]:
|
|
91
|
+
class: "outline-hidden bg-background shadow-lg z-popup sm:rounded-xl data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 pohon:animate-duration-280"
|
|
92
92
|
}, unref(forwarded), {
|
|
93
93
|
class: [{ "data-[state=closed]:slide-out-to-top-48% data-[state=open]:slide-in-from-top-48%": __props.animationType === "slide" }, props.class],
|
|
94
94
|
onAnimationend: unref(handleAnimationEvent),
|
|
@@ -10,9 +10,9 @@ type __VLS_Props = DialogContentProps & {
|
|
|
10
10
|
overlayBlur?: number;
|
|
11
11
|
zIndex?: number;
|
|
12
12
|
};
|
|
13
|
-
declare var
|
|
13
|
+
declare var __VLS_29: {};
|
|
14
14
|
type __VLS_Slots = {} & {
|
|
15
|
-
default?: (props: typeof
|
|
15
|
+
default?: (props: typeof __VLS_29) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
18
18
|
getContentRef: () => InstanceType<typeof DialogContent> | null;
|
|
@@ -38,7 +38,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
38
38
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
animationType: "scale" | "slide";
|
|
41
|
-
appendTo:
|
|
41
|
+
appendTo: string | HTMLElement;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
44
|
declare const _default: typeof __VLS_export;
|
|
@@ -4,9 +4,9 @@ import { DialogDescriptionProps } from "akar";
|
|
|
4
4
|
type __VLS_Props = DialogDescriptionProps & {
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -4,7 +4,7 @@ import { createElementBlock, openBlock, renderSlot } from "vue";
|
|
|
4
4
|
const _sfc_main = {};
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
"data-slot": "dialog-footer",
|
|
7
|
-
class: "flex flex-col-reverse gap-2 sm:
|
|
7
|
+
class: "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end"
|
|
8
8
|
};
|
|
9
9
|
function _sfc_render(_ctx, _cache) {
|
|
10
10
|
return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]);
|
|
@@ -25,7 +25,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
25
25
|
position: props.position,
|
|
26
26
|
backdropFilter: props.overlayBlur && props.overlayBlur > 0 ? `blur(${props.overlayBlur}px)` : "none"
|
|
27
27
|
}),
|
|
28
|
-
class: "bg-background-elevated/75 inset-0 fixed z-popup isolate data-[state=closed]:
|
|
28
|
+
class: "bg-background-elevated/75 inset-0 fixed z-popup isolate data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0 pohon:animate-duration-280"
|
|
29
29
|
}, null, 12, _hoisted_1);
|
|
30
30
|
};
|
|
31
31
|
}
|
|
@@ -7,7 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
open?: boolean;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
-
position: "
|
|
10
|
+
position: "fixed" | "absolute";
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DialogRootProps } from "akar";
|
|
2
2
|
//#region src/ui/dialog/dialog-root.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_7: {
|
|
4
4
|
open: boolean;
|
|
5
5
|
close: () => void;
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: import("vue").DefineComponent<DialogRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
"update:open": (value: boolean) => any;
|
|
@@ -4,9 +4,9 @@ import { DialogTitleProps } from "akar";
|
|
|
4
4
|
type __VLS_Props = DialogTitleProps & {
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DialogTriggerProps } from "akar";
|
|
2
2
|
//#region src/ui/dialog/dialog-trigger.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_7: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_7) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<DialogTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/ui/form/form-control.vue.d.ts
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
7
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -12,9 +12,9 @@ type __VLS_Slots = {} & {
|
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
14
|
error: string;
|
|
15
|
+
valid: boolean;
|
|
15
16
|
dirty: boolean;
|
|
16
17
|
touched: boolean;
|
|
17
|
-
valid: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -4,9 +4,9 @@ import { LabelProps } from "akar";
|
|
|
4
4
|
type __VLS_Props = LabelProps & {
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { InjectionKey, Ref } from "vue";
|
|
2
2
|
//#region src/ui/form/injection-keys.d.ts
|
|
3
|
-
interface FormFieldContext {
|
|
3
|
+
export interface FormFieldContext {
|
|
4
4
|
dirty: Readonly<Ref<boolean>>;
|
|
5
5
|
error: Readonly<Ref<string | undefined>>;
|
|
6
6
|
name: Readonly<Ref<string>>;
|
|
7
7
|
touched: Readonly<Ref<boolean>>;
|
|
8
8
|
valid: Readonly<Ref<boolean>>;
|
|
9
9
|
}
|
|
10
|
-
declare const FORM_ITEM_INJECTION_KEY: InjectionKey<string>;
|
|
11
|
-
declare const FORM_FIELD_INJECTION_KEY: InjectionKey<FormFieldContext>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { FORM_FIELD_INJECTION_KEY, FORM_ITEM_INJECTION_KEY, FormFieldContext };
|
|
10
|
+
export declare const FORM_ITEM_INJECTION_KEY: InjectionKey<string>;
|
|
11
|
+
export declare const FORM_FIELD_INJECTION_KEY: InjectionKey<FormFieldContext>;
|
|
12
|
+
//#endregion
|
package/dist/ui/label/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { _sfc_main as Label };
|
|
1
|
+
export { default as Label } from "./label.mjs";
|
package/dist/ui/label/label.mjs
CHANGED
|
@@ -20,7 +20,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
20
20
|
const props = __props;
|
|
21
21
|
const delegatedProps = reactiveOmit(props, "class");
|
|
22
22
|
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createBlock(unref(Label), mergeProps({ "data-slot": "label" }, unref(delegatedProps), { class: ["text-sm leading-none font-500 flex gap-0.5 select-none items-center group-data-[disabled=true]:
|
|
23
|
+
return openBlock(), createBlock(unref(Label), mergeProps({ "data-slot": "label" }, unref(delegatedProps), { class: ["text-sm leading-none font-500 flex gap-0.5 select-none items-center group-data-[disabled=true]:opacity-50 group-data-[disabled=true]:pointer-events-none peer-disabled:opacity-50 peer-disabled:cursor-not-allowed", [props.class]] }), {
|
|
24
24
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
25
25
|
_: 3
|
|
26
26
|
}, 16, ["class"]);
|
|
@@ -4,9 +4,9 @@ import { LabelProps } from "akar";
|
|
|
4
4
|
type __VLS_Props = LabelProps & {
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -5,9 +5,9 @@ type __VLS_Props = ScrollAreaRootProps & {
|
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
onScroll?: (event: Event) => void;
|
|
7
7
|
};
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_15: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_15) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -5,7 +5,7 @@ type __VLS_Props = ScrollAreaScrollbarProps & {
|
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
-
orientation: "
|
|
8
|
+
orientation: "horizontal" | "vertical";
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
11
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DialogCloseProps } from "akar";
|
|
2
2
|
//#region src/ui/sheet/sheet-close.vue.d.ts
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_7: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_7) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<DialogCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -80,7 +80,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
80
80
|
position: position.value
|
|
81
81
|
},
|
|
82
82
|
"data-slot": "sheet-content",
|
|
83
|
-
class: ["border-border bg-background shadow-lg transition ease-in-out z-popup data-[state=closed]:
|
|
83
|
+
class: ["border-border bg-background shadow-lg transition ease-in-out z-popup data-[state=closed]:animate-out data-[state=closed]:animate-duration-300 data-[state=open]:animate-in data-[state=open]:animate-duration-500", [unref(sheetVariants)({ side: __props.side }), props.class]]
|
|
84
84
|
}, {
|
|
85
85
|
...unref(forwarded),
|
|
86
86
|
..._ctx.$attrs
|
|
@@ -10,9 +10,9 @@ type __VLS_Props = DialogContentProps & {
|
|
|
10
10
|
side?: SheetVariants['side'];
|
|
11
11
|
zIndex?: number;
|
|
12
12
|
};
|
|
13
|
-
declare var
|
|
13
|
+
declare var __VLS_29: {};
|
|
14
14
|
type __VLS_Slots = {} & {
|
|
15
|
-
default?: (props: typeof
|
|
15
|
+
default?: (props: typeof __VLS_29) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
close: () => any;
|
|
@@ -35,7 +35,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
35
|
onInteractOutside?: ((event: import("akar").PointerDownOutsideEvent | import("akar").FocusOutsideEvent) => any) | undefined;
|
|
36
36
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
appendTo:
|
|
38
|
+
appendTo: string | HTMLElement;
|
|
39
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
41
|
declare const _default: typeof __VLS_export;
|