@vanjana/vue-ui 0.1.134 → 1.0.1
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/theme-light.css +2 -1
- package/dist/theme-light.js +0 -1
- package/dist/types/components/basic-controls.test.d.ts +1 -0
- package/dist/types/components/button.test.d.ts +1 -0
- package/dist/types/components/button.vue.d.ts +14 -1
- package/dist/types/components/card.vue.d.ts +1 -0
- package/dist/types/components/carousel.test.d.ts +1 -0
- package/dist/types/components/chip.vue.d.ts +1 -0
- package/dist/types/components/dialog-host.test.d.ts +1 -0
- package/dist/types/components/dialog.test.d.ts +1 -0
- package/dist/types/components/form/form-field.vue.d.ts +3 -3
- package/dist/types/components/form/form-layout.vue.d.ts +0 -9
- package/dist/types/components/form/form-wrappers.test.d.ts +1 -0
- package/dist/types/components/form/input-select.vue.d.ts +3 -2
- package/dist/types/components/form/input-slider.vue.d.ts +3 -3
- package/dist/types/components/form/input-text-area.vue.d.ts +3 -3
- package/dist/types/components/form/input-text.vue.d.ts +3 -3
- package/dist/types/components/form/input.test.d.ts +1 -0
- package/dist/types/components/form/input.vue.d.ts +11 -4
- package/dist/types/components/form/select.test.d.ts +1 -0
- package/dist/types/components/form/select.vue.d.ts +17 -2
- package/dist/types/components/form/textarea.vue.d.ts +2 -2
- package/dist/types/components/index.d.ts +5 -1
- package/dist/types/components/notification/notification.test.d.ts +1 -0
- package/dist/types/components/overlay-host.test.d.ts +1 -0
- package/dist/types/components/overlay-host.vue.d.ts +8 -0
- package/dist/types/components/page.vue.d.ts +8 -8
- package/dist/types/components/shell/shell.vue.d.ts +5 -5
- package/dist/types/directives/directives.test.d.ts +1 -0
- package/dist/types/model/Icons.d.ts +2 -1
- package/dist/types/model/VjRouteRecord.d.ts +5 -6
- package/dist/types/provider/feature-module.d.ts +21 -0
- package/dist/types/provider/feature-module.test.d.ts +1 -0
- package/dist/types/provider/index.d.ts +2 -0
- package/dist/types/provider/router-navigation-provider.d.ts +9 -6
- package/dist/types/provider/router-navigation-provider.test.d.ts +1 -0
- package/dist/types/provider/static-navigation-provider.test.d.ts +1 -0
- package/dist/types/provider/translations.d.ts +18 -0
- package/dist/types/services/aside.service.d.ts +6 -245
- package/dist/types/services/aside.store.d.ts +11 -247
- package/dist/types/services/aside.store.test.d.ts +1 -0
- package/dist/types/services/dialog.service.d.ts +1 -7
- package/dist/types/services/dialog.store.d.ts +13 -0
- package/dist/types/services/focus.d.ts +5 -0
- package/dist/types/services/icon-registry.test.d.ts +1 -0
- package/dist/types/services/index.d.ts +4 -0
- package/dist/types/services/notification.service.d.ts +1 -0
- package/dist/types/services/notification.service.test.d.ts +1 -0
- package/dist/types/services/overlay.service.d.ts +8 -0
- package/dist/types/services/overlay.store.d.ts +31 -0
- package/dist/types/services/resizeObserver.service.test.d.ts +1 -0
- package/dist/types/stories/components/OverlayDemo.vue.d.ts +7 -0
- package/dist/types/stories/components/OverlayReturnDemo.vue.d.ts +8 -0
- package/dist/types/stories/components/button.stories.d.ts +43 -4
- package/dist/types/stories/components/card.stories.d.ts +3 -0
- package/dist/types/stories/components/chip.stories.d.ts +1 -1
- package/dist/types/stories/components/compact.stories.d.ts +2 -2
- package/dist/types/stories/components/form-field-help.stories.d.ts +2 -2
- package/dist/types/stories/components/form-field.stories.d.ts +2 -2
- package/dist/types/stories/components/form-layout.stories.d.ts +0 -22
- package/dist/types/stories/components/input.stories.d.ts +14 -5
- package/dist/types/stories/components/notification.stories.d.ts +17 -2
- package/dist/types/stories/components/select.stories.d.ts +1 -0
- package/dist/types/stories/components/shell.stories.d.ts +3 -0
- package/dist/types/stories/components/textarea.stories.d.ts +2 -2
- package/dist/types/stories/components/tooltip.stories.d.ts +17 -2
- package/dist/vanjana-vue-ui.es.js +4245 -4200
- package/dist/vanjana-vue-ui.umd.js +1 -1
- package/dist/vue-ui.css +2 -1
- package/package.json +45 -42
- package/themes/common/_components.scss +1 -0
- package/themes/common/components/_chip.scss +20 -8
- package/themes/common/components/form/_form-field.scss +3 -3
- package/themes/common/components/form/_form-layout.scss +4 -0
- package/themes/common/components/form/_input.scss +1 -0
- package/themes/common/components/form/_textarea.scss +6 -1
- /package/dist/types/components/{nav-bar.vue.d.ts → dialog-host.vue.d.ts} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const useOverlayService: () => {
|
|
2
|
+
hasOverlay: import("vue").Ref<boolean>;
|
|
3
|
+
overlayComponent: import("vue").Ref<import("vue").Component | null>;
|
|
4
|
+
overlayOptions: import("vue").Ref<import("./overlay.store").OverlayOptions>;
|
|
5
|
+
showOverlay: typeof import("./overlay.store").showOverlay;
|
|
6
|
+
closeOverlay: typeof import("./overlay.store").closeOverlay;
|
|
7
|
+
onOverlayClose: typeof import("./overlay.store").onOverlayClose;
|
|
8
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import { type Ref } from 'vue';
|
|
3
|
+
export type OverlayPosition = 'left' | 'right' | 'bottom' | 'top';
|
|
4
|
+
export type OverlayScope = 'global' | 'parent';
|
|
5
|
+
export type OverlayCloseReason = 'close' | 'backdrop' | 'escape' | 'replace';
|
|
6
|
+
export type OverlayOptions = {
|
|
7
|
+
position?: OverlayPosition;
|
|
8
|
+
scope?: OverlayScope;
|
|
9
|
+
size?: string;
|
|
10
|
+
props?: Record<string, unknown>;
|
|
11
|
+
autoFocus?: boolean;
|
|
12
|
+
closeOnBackdrop?: boolean;
|
|
13
|
+
closeOnEscape?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type CloseOverlayCallback = (data?: unknown, reason?: OverlayCloseReason) => void;
|
|
16
|
+
type OverlayStore = {
|
|
17
|
+
hasOverlay: Ref<boolean>;
|
|
18
|
+
overlayComponent: Ref<Component | null>;
|
|
19
|
+
overlayOptions: Ref<OverlayOptions>;
|
|
20
|
+
showOverlay: typeof showOverlay;
|
|
21
|
+
closeOverlay: typeof closeOverlay;
|
|
22
|
+
onOverlayClose: typeof onOverlayClose;
|
|
23
|
+
};
|
|
24
|
+
export declare const onOverlayClose: (callback: CloseOverlayCallback) => () => void;
|
|
25
|
+
export declare const showOverlay: (component: Component, options?: OverlayOptions) => {
|
|
26
|
+
onClose: (callback: CloseOverlayCallback) => () => void;
|
|
27
|
+
close: (data?: unknown) => void;
|
|
28
|
+
};
|
|
29
|
+
export declare const closeOverlay: (data?: unknown, reason?: OverlayCloseReason) => void;
|
|
30
|
+
export declare const overlayStore: OverlayStore;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
message: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: 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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
message: string;
|
|
4
|
+
defaultValue: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: 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>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -9,14 +9,29 @@ declare const meta: {
|
|
|
9
9
|
secondary?: boolean;
|
|
10
10
|
tertiary?: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
|
-
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
type?: "button" | "submit" | "reset";
|
|
14
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
click: (event: MouseEvent) => any;
|
|
16
|
+
focus: (event: FocusEvent) => any;
|
|
17
|
+
blur: (event: FocusEvent) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
13
19
|
label?: string;
|
|
14
20
|
icon?: string;
|
|
15
21
|
primary?: boolean;
|
|
16
22
|
secondary?: boolean;
|
|
17
23
|
tertiary?: boolean;
|
|
18
24
|
disabled?: boolean;
|
|
19
|
-
|
|
25
|
+
loading?: boolean;
|
|
26
|
+
type?: "button" | "submit" | "reset";
|
|
27
|
+
}> & Readonly<{
|
|
28
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
30
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
type: "button" | "submit" | "reset";
|
|
33
|
+
loading: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
35
|
render: (args: unknown) => {
|
|
21
36
|
components: {
|
|
22
37
|
Button: import("vue").DefineComponent<{
|
|
@@ -26,14 +41,29 @@ declare const meta: {
|
|
|
26
41
|
secondary?: boolean;
|
|
27
42
|
tertiary?: boolean;
|
|
28
43
|
disabled?: boolean;
|
|
29
|
-
|
|
44
|
+
loading?: boolean;
|
|
45
|
+
type?: "button" | "submit" | "reset";
|
|
46
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
click: (event: MouseEvent) => any;
|
|
48
|
+
focus: (event: FocusEvent) => any;
|
|
49
|
+
blur: (event: FocusEvent) => any;
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
30
51
|
label?: string;
|
|
31
52
|
icon?: string;
|
|
32
53
|
primary?: boolean;
|
|
33
54
|
secondary?: boolean;
|
|
34
55
|
tertiary?: boolean;
|
|
35
56
|
disabled?: boolean;
|
|
36
|
-
|
|
57
|
+
loading?: boolean;
|
|
58
|
+
type?: "button" | "submit" | "reset";
|
|
59
|
+
}> & Readonly<{
|
|
60
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
61
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
62
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
type: "button" | "submit" | "reset";
|
|
65
|
+
loading: boolean;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
67
|
};
|
|
38
68
|
setup(this: void): {
|
|
39
69
|
args: unknown;
|
|
@@ -62,6 +92,14 @@ declare const meta: {
|
|
|
62
92
|
control: "boolean";
|
|
63
93
|
description: string;
|
|
64
94
|
};
|
|
95
|
+
loading: {
|
|
96
|
+
control: "boolean";
|
|
97
|
+
description: string;
|
|
98
|
+
};
|
|
99
|
+
type: {
|
|
100
|
+
control: "select";
|
|
101
|
+
options: string[];
|
|
102
|
+
};
|
|
65
103
|
};
|
|
66
104
|
args: {};
|
|
67
105
|
};
|
|
@@ -73,5 +111,6 @@ export declare const Tertiary: Story;
|
|
|
73
111
|
export declare const WithIcon: Story;
|
|
74
112
|
export declare const IconOnly: Story;
|
|
75
113
|
export declare const DisabledStates: Story;
|
|
114
|
+
export declare const LoadingStates: Story;
|
|
76
115
|
export declare const LinkButton: Story;
|
|
77
116
|
export declare const InButtonBar: Story;
|
|
@@ -4,6 +4,7 @@ declare const meta: {
|
|
|
4
4
|
component: {
|
|
5
5
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
6
|
header: string;
|
|
7
|
+
headerId?: string;
|
|
7
8
|
scrollable?: boolean;
|
|
8
9
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
9
10
|
P: {};
|
|
@@ -14,6 +15,7 @@ declare const meta: {
|
|
|
14
15
|
Defaults: {};
|
|
15
16
|
}, Readonly<{
|
|
16
17
|
header: string;
|
|
18
|
+
headerId?: string;
|
|
17
19
|
scrollable?: boolean;
|
|
18
20
|
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
19
21
|
__isFragment?: never;
|
|
@@ -21,6 +23,7 @@ declare const meta: {
|
|
|
21
23
|
__isSuspense?: never;
|
|
22
24
|
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
23
25
|
header: string;
|
|
26
|
+
headerId?: string;
|
|
24
27
|
scrollable?: boolean;
|
|
25
28
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
26
29
|
$slots: {
|
|
@@ -6,15 +6,15 @@ declare const meta: {
|
|
|
6
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
input: (value: string | number) => any;
|
|
8
8
|
"update:modelValue": (value: string | number) => any;
|
|
9
|
-
blur: (value: FocusEvent) => any;
|
|
10
9
|
focus: (value: FocusEvent) => any;
|
|
10
|
+
blur: (value: FocusEvent) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("../..").FormFieldProps & {
|
|
12
12
|
type: "text" | "password" | "email" | "number";
|
|
13
13
|
}> & Readonly<{
|
|
14
14
|
onInput?: ((value: string | number) => any) | undefined;
|
|
15
15
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
16
|
-
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
17
16
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
17
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
tags: string[];
|
|
20
20
|
};
|
|
@@ -6,15 +6,15 @@ declare const meta: {
|
|
|
6
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
input: (value: string | number) => any;
|
|
8
8
|
"update:modelValue": (value: string | number) => any;
|
|
9
|
-
blur: (value: FocusEvent) => any;
|
|
10
9
|
focus: (value: FocusEvent) => any;
|
|
10
|
+
blur: (value: FocusEvent) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("../../public-api.js").FormFieldProps & {
|
|
12
12
|
type: "text" | "password" | "email" | "number";
|
|
13
13
|
}> & Readonly<{
|
|
14
14
|
onInput?: ((value: string | number) => any) | undefined;
|
|
15
15
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
16
|
-
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
17
16
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
17
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
tags: string[];
|
|
20
20
|
};
|
|
@@ -6,15 +6,15 @@ declare const meta: {
|
|
|
6
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
input: (value: string | number) => any;
|
|
8
8
|
"update:modelValue": (value: string | number) => any;
|
|
9
|
-
blur: (value: FocusEvent) => any;
|
|
10
9
|
focus: (value: FocusEvent) => any;
|
|
10
|
+
blur: (value: FocusEvent) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("../..").FormFieldProps & {
|
|
12
12
|
type: "text" | "password" | "email" | "number";
|
|
13
13
|
}> & Readonly<{
|
|
14
14
|
onInput?: ((value: string | number) => any) | undefined;
|
|
15
15
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
16
|
-
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
17
16
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
17
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
tags: string[];
|
|
20
20
|
};
|
|
@@ -7,13 +7,8 @@ declare const meta: {
|
|
|
7
7
|
type: NumberConstructor;
|
|
8
8
|
default: number;
|
|
9
9
|
};
|
|
10
|
-
gap: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
10
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
15
11
|
columns: number;
|
|
16
|
-
gap: string;
|
|
17
12
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
18
13
|
P: {};
|
|
19
14
|
B: {};
|
|
@@ -26,13 +21,8 @@ declare const meta: {
|
|
|
26
21
|
type: NumberConstructor;
|
|
27
22
|
default: number;
|
|
28
23
|
};
|
|
29
|
-
gap: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
24
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
34
25
|
columns: number;
|
|
35
|
-
gap: string;
|
|
36
26
|
}>;
|
|
37
27
|
__isFragment?: never;
|
|
38
28
|
__isTeleport?: never;
|
|
@@ -42,13 +32,8 @@ declare const meta: {
|
|
|
42
32
|
type: NumberConstructor;
|
|
43
33
|
default: number;
|
|
44
34
|
};
|
|
45
|
-
gap: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
35
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
50
36
|
columns: number;
|
|
51
|
-
gap: string;
|
|
52
37
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
53
38
|
$slots: {
|
|
54
39
|
default?: (props: {}) => any;
|
|
@@ -63,13 +48,6 @@ declare const meta: {
|
|
|
63
48
|
description: string;
|
|
64
49
|
defaultValue: number;
|
|
65
50
|
};
|
|
66
|
-
gap: {
|
|
67
|
-
control: {
|
|
68
|
-
type: "text";
|
|
69
|
-
};
|
|
70
|
-
description: string;
|
|
71
|
-
defaultValue: string;
|
|
72
|
-
};
|
|
73
51
|
};
|
|
74
52
|
parameters: {
|
|
75
53
|
docs: {
|
|
@@ -4,30 +4,39 @@ declare const meta: {
|
|
|
4
4
|
title: string;
|
|
5
5
|
component: import("vue").DefineComponent<{
|
|
6
6
|
icon?: string;
|
|
7
|
+
id?: string;
|
|
7
8
|
type?: "text" | "password" | "email" | "number";
|
|
8
9
|
placeholder?: string;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
clearable?: boolean;
|
|
12
|
+
clearLabel?: string;
|
|
11
13
|
} & {
|
|
12
|
-
modelValue?: string | number;
|
|
14
|
+
modelValue?: string | number | undefined;
|
|
13
15
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
16
|
"update:modelValue": (value: string | number | undefined) => any;
|
|
15
17
|
} & {
|
|
16
|
-
|
|
18
|
+
input: (value: string | number | undefined) => any;
|
|
17
19
|
focus: (event: FocusEvent) => any;
|
|
20
|
+
blur: (event: FocusEvent) => any;
|
|
18
21
|
}, string, import("vue").PublicProps, Readonly<{
|
|
19
22
|
icon?: string;
|
|
23
|
+
id?: string;
|
|
20
24
|
type?: "text" | "password" | "email" | "number";
|
|
21
25
|
placeholder?: string;
|
|
22
26
|
disabled?: boolean;
|
|
23
27
|
clearable?: boolean;
|
|
28
|
+
clearLabel?: string;
|
|
24
29
|
} & {
|
|
25
|
-
modelValue?: string | number;
|
|
30
|
+
modelValue?: string | number | undefined;
|
|
26
31
|
}> & Readonly<{
|
|
32
|
+
onInput?: ((value: string | number | undefined) => any) | undefined;
|
|
27
33
|
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
28
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
29
34
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
30
|
-
|
|
35
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
type: "text" | "password" | "email" | "number";
|
|
38
|
+
clearLabel: string;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
40
|
tags: string[];
|
|
32
41
|
argTypes: {
|
|
33
42
|
modelValue: {
|
|
@@ -12,14 +12,29 @@ declare const meta: {
|
|
|
12
12
|
secondary?: boolean;
|
|
13
13
|
tertiary?: boolean;
|
|
14
14
|
disabled?: boolean;
|
|
15
|
-
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
type?: "button" | "submit" | "reset";
|
|
17
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
click: (event: MouseEvent) => any;
|
|
19
|
+
focus: (event: FocusEvent) => any;
|
|
20
|
+
blur: (event: FocusEvent) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
16
22
|
label?: string;
|
|
17
23
|
icon?: string;
|
|
18
24
|
primary?: boolean;
|
|
19
25
|
secondary?: boolean;
|
|
20
26
|
tertiary?: boolean;
|
|
21
27
|
disabled?: boolean;
|
|
22
|
-
|
|
28
|
+
loading?: boolean;
|
|
29
|
+
type?: "button" | "submit" | "reset";
|
|
30
|
+
}> & Readonly<{
|
|
31
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
32
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
33
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
type: "button" | "submit" | "reset";
|
|
36
|
+
loading: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
38
|
};
|
|
24
39
|
setup(this: void): {
|
|
25
40
|
showInfo: () => void;
|
|
@@ -8,6 +8,7 @@ type Story = StoryObj<typeof meta>;
|
|
|
8
8
|
export declare const Default: Story;
|
|
9
9
|
export declare const WithIcon: Story;
|
|
10
10
|
export declare const WithClearable: Story;
|
|
11
|
+
export declare const Editable: Story;
|
|
11
12
|
export declare const WithObjects: Story;
|
|
12
13
|
export declare const CustomSlots: Story;
|
|
13
14
|
export declare const Disabled: Story;
|
|
@@ -100,6 +100,9 @@ export declare const Primary: Story;
|
|
|
100
100
|
export declare const WithStaticProvider: Story;
|
|
101
101
|
export declare const WithPage: Story;
|
|
102
102
|
export declare const WithAsideContent: Story;
|
|
103
|
+
export declare const WithOverlayPanel: Story;
|
|
104
|
+
export declare const WithParentOverlay: Story;
|
|
105
|
+
export declare const WithOverlayResult: Story;
|
|
103
106
|
export declare const WithoutNavigation: Story;
|
|
104
107
|
export declare const WithIcon: Story;
|
|
105
108
|
export declare const WithCard: Story;
|
|
@@ -13,8 +13,8 @@ declare const meta: {
|
|
|
13
13
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: string | undefined) => any;
|
|
15
15
|
} & {
|
|
16
|
-
blur: (event: FocusEvent) => any;
|
|
17
16
|
focus: (event: FocusEvent) => any;
|
|
17
|
+
blur: (event: FocusEvent) => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<{
|
|
19
19
|
icon?: string;
|
|
20
20
|
placeholder?: string;
|
|
@@ -25,8 +25,8 @@ declare const meta: {
|
|
|
25
25
|
modelValue?: string;
|
|
26
26
|
}> & Readonly<{
|
|
27
27
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
28
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
29
28
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
30
30
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
tags: string[];
|
|
32
32
|
argTypes: {
|
|
@@ -8,14 +8,29 @@ declare const meta: {
|
|
|
8
8
|
secondary?: boolean;
|
|
9
9
|
tertiary?: boolean;
|
|
10
10
|
disabled?: boolean;
|
|
11
|
-
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
type?: "button" | "submit" | "reset";
|
|
13
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
click: (event: MouseEvent) => any;
|
|
15
|
+
focus: (event: FocusEvent) => any;
|
|
16
|
+
blur: (event: FocusEvent) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
12
18
|
label?: string;
|
|
13
19
|
icon?: string;
|
|
14
20
|
primary?: boolean;
|
|
15
21
|
secondary?: boolean;
|
|
16
22
|
tertiary?: boolean;
|
|
17
23
|
disabled?: boolean;
|
|
18
|
-
|
|
24
|
+
loading?: boolean;
|
|
25
|
+
type?: "button" | "submit" | "reset";
|
|
26
|
+
}> & Readonly<{
|
|
27
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
28
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
type: "button" | "submit" | "reset";
|
|
32
|
+
loading: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
34
|
tags: string[];
|
|
20
35
|
};
|
|
21
36
|
export default meta;
|