@vinicunca/taman-ui 0.1.0 → 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/README.md +2 -2
- 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-actions.mjs +1 -1
- 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-button-fixed.mjs +19 -2
- package/dist/layout/components/taman-core-layout-sidebar.mjs +51 -19
- package/dist/layout/index.mjs +1 -2
- package/dist/layout/taman-core-layout.mjs +1 -1
- package/dist/menu/components/collapse-transition.mjs +2 -2
- 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/menu/components/taman-menu-badge.mjs +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,7 +2,7 @@ import { DialogApi } from "./dialog.api.js";
|
|
|
2
2
|
import { Component, HTMLAttributes, Ref } from "vue";
|
|
3
3
|
import { MaybePromise } from "@vinicunca/taman-core/typings";
|
|
4
4
|
//#region src/popup/dialog/dialog.types.d.ts
|
|
5
|
-
interface DialogProps {
|
|
5
|
+
export interface DialogProps {
|
|
6
6
|
animationType?: 'scale' | 'slide';
|
|
7
7
|
appendToMain?: boolean;
|
|
8
8
|
bordered?: boolean;
|
|
@@ -37,17 +37,17 @@ interface DialogProps {
|
|
|
37
37
|
titleTooltip?: string;
|
|
38
38
|
zIndex?: number;
|
|
39
39
|
}
|
|
40
|
-
interface DialogState extends DialogProps {
|
|
40
|
+
export interface DialogState extends DialogProps {
|
|
41
41
|
isOpen?: boolean;
|
|
42
42
|
}
|
|
43
|
-
type ExtendedDialogApi<TData = unknown> = DialogApi<TData> & {
|
|
43
|
+
export type ExtendedDialogApi<TData = unknown> = DialogApi<TData> & {
|
|
44
44
|
useStore: <T = NoInfer<DialogState>>(selector?: (state: NoInfer<DialogState>) => T) => Readonly<Ref<T>>;
|
|
45
45
|
};
|
|
46
46
|
type DialogComponentInstance<TComponent extends Component> = TComponent extends (abstract new (...args: Array<any>) => infer TInstance) ? TInstance : never;
|
|
47
|
-
type InferDialogData<TComponent extends Component> = [DialogComponentInstance<TComponent>] extends [never] ? unknown : DialogComponentInstance<TComponent> extends {
|
|
47
|
+
export type InferDialogData<TComponent extends Component> = [DialogComponentInstance<TComponent>] extends [never] ? unknown : DialogComponentInstance<TComponent> extends {
|
|
48
48
|
dialogApi: ExtendedDialogApi<infer TData>;
|
|
49
49
|
} ? TData : unknown;
|
|
50
|
-
interface DialogApiOptions<TConnectedComponent extends Component = Component> extends DialogState {
|
|
50
|
+
export interface DialogApiOptions<TConnectedComponent extends Component = Component> extends DialogState {
|
|
51
51
|
connectedComponent?: TConnectedComponent;
|
|
52
52
|
onBeforeClose?: () => MaybePromise<boolean | undefined>;
|
|
53
53
|
onCancel?: () => void;
|
|
@@ -57,4 +57,4 @@ interface DialogApiOptions<TConnectedComponent extends Component = Component> ex
|
|
|
57
57
|
onOpened?: () => void;
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
|
-
export {
|
|
60
|
+
export {};
|
|
@@ -5,29 +5,29 @@ interface Props extends DialogProps {
|
|
|
5
5
|
closeDisabled?: boolean;
|
|
6
6
|
closeClass?: string;
|
|
7
7
|
}
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_36: {}, __VLS_38: {}, __VLS_57: {}, __VLS_59: {}, __VLS_97: {}, __VLS_110: {}, __VLS_112: {}, __VLS_122: {}, __VLS_124: {}, __VLS_134: {}, __VLS_136: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
title?: (props: typeof
|
|
10
|
+
title?: (props: typeof __VLS_36) => any;
|
|
11
11
|
} & {
|
|
12
|
-
titleTooltip?: (props: typeof
|
|
12
|
+
titleTooltip?: (props: typeof __VLS_38) => any;
|
|
13
13
|
} & {
|
|
14
|
-
description?: (props: typeof
|
|
14
|
+
description?: (props: typeof __VLS_57) => any;
|
|
15
15
|
} & {
|
|
16
|
-
extra?: (props: typeof
|
|
16
|
+
extra?: (props: typeof __VLS_59) => any;
|
|
17
17
|
} & {
|
|
18
|
-
default?: (props: typeof
|
|
18
|
+
default?: (props: typeof __VLS_97) => any;
|
|
19
19
|
} & {
|
|
20
|
-
'leading-footer'?: (props: typeof
|
|
20
|
+
'leading-footer'?: (props: typeof __VLS_110) => any;
|
|
21
21
|
} & {
|
|
22
|
-
footer?: (props: typeof
|
|
22
|
+
footer?: (props: typeof __VLS_112) => any;
|
|
23
23
|
} & {
|
|
24
|
-
cancelText?: (props: typeof
|
|
24
|
+
cancelText?: (props: typeof __VLS_122) => any;
|
|
25
25
|
} & {
|
|
26
|
-
'center-footer'?: (props: typeof
|
|
26
|
+
'center-footer'?: (props: typeof __VLS_124) => any;
|
|
27
27
|
} & {
|
|
28
|
-
confirmText?: (props: typeof
|
|
28
|
+
confirmText?: (props: typeof __VLS_134) => any;
|
|
29
29
|
} & {
|
|
30
|
-
'trailing-footer'?: (props: typeof
|
|
30
|
+
'trailing-footer'?: (props: typeof __VLS_136) => 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;
|
|
@@ -6,8 +6,8 @@ interface DialogDataNotProvided {
|
|
|
6
6
|
readonly [DIALOG_DATA_NOT_PROVIDED]: true;
|
|
7
7
|
}
|
|
8
8
|
type ResolvedDialogData<TData, TConnectedComponent extends Component> = TData extends DialogDataNotProvided ? InferDialogData<TConnectedComponent> : TData;
|
|
9
|
-
declare function setDefaultDialogProps(props: Partial<DialogProps>): void;
|
|
10
|
-
declare function useTamanDialog<TData = DialogDataNotProvided, TConnectedComponent extends Component = Component>(options?: DialogApiOptions<TConnectedComponent>): readonly [import("vue").DefineSetupFnComponent<DialogProps, {}, {}, DialogProps & {}, import("vue").PublicProps>, ExtendedDialogApi<ResolvedDialogData<TData, TConnectedComponent>>];
|
|
11
|
-
declare function createTamanDialog<TData = unknown>(): <TConnectedComponent extends Component = Component>(options?: DialogApiOptions<TConnectedComponent>) => readonly [import("vue").DefineSetupFnComponent<DialogProps, {}, {}, DialogProps & {}, import("vue").PublicProps>, ExtendedDialogApi<ResolvedDialogData<TData, TConnectedComponent>>];
|
|
9
|
+
export declare function setDefaultDialogProps(props: Partial<DialogProps>): void;
|
|
10
|
+
export declare function useTamanDialog<TData = DialogDataNotProvided, TConnectedComponent extends Component = Component>(options?: DialogApiOptions<TConnectedComponent>): readonly [import("vue").DefineSetupFnComponent<DialogProps, {}, {}, DialogProps & {}, import("vue").PublicProps>, ExtendedDialogApi<ResolvedDialogData<TData, TConnectedComponent>>];
|
|
11
|
+
export declare function createTamanDialog<TData = unknown>(): <TConnectedComponent extends Component = Component>(options?: DialogApiOptions<TConnectedComponent>) => readonly [import("vue").DefineSetupFnComponent<DialogProps, {}, {}, DialogProps & {}, import("vue").PublicProps>, ExtendedDialogApi<ResolvedDialogData<TData, TConnectedComponent>>];
|
|
12
12
|
//#endregion
|
|
13
|
-
export {
|
|
13
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DrawerApiOptions, DrawerState } from "./drawer.types.js";
|
|
2
2
|
import { Store } from "@vinicunca/taman-core/store";
|
|
3
3
|
//#region src/popup/drawer/drawer.api.d.ts
|
|
4
|
-
declare class DrawerApi<TData = unknown> {
|
|
4
|
+
export declare class DrawerApi<TData = unknown> {
|
|
5
5
|
sharedData: Record<'payload', TData | undefined>;
|
|
6
6
|
store: Store<DrawerState>;
|
|
7
7
|
private api;
|
|
@@ -19,5 +19,4 @@ declare class DrawerApi<TData = unknown> {
|
|
|
19
19
|
setState(stateOrFn: ((prev: DrawerState) => Partial<DrawerState>) | Partial<DrawerState>): this;
|
|
20
20
|
unlock(): this;
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { DrawerApi };
|
|
22
|
+
//#endregion
|
|
@@ -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;
|