@vanjana/vue-ui 0.1.59
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 +1 -0
- package/dist/theme-light.js +1 -0
- package/dist/types/components/button-bar.vue.d.ts +15 -0
- package/dist/types/components/button.vue.d.ts +11 -0
- package/dist/types/components/card.vue.d.ts +21 -0
- package/dist/types/components/carousel.vue.d.ts +21 -0
- package/dist/types/components/checkbox.vue.d.ts +15 -0
- package/dist/types/components/data/data.vue.d.ts +7 -0
- package/dist/types/components/dialog.vue.d.ts +47 -0
- package/dist/types/components/dot-menu.vue.d.ts +16 -0
- package/dist/types/components/form/form-field.vue.d.ts +33 -0
- package/dist/types/components/form/form-layout.vue.d.ts +34 -0
- package/dist/types/components/form/form-section.vue.d.ts +16 -0
- package/dist/types/components/form/index.d.ts +10 -0
- package/dist/types/components/form/input-select.vue.d.ts +34 -0
- package/dist/types/components/form/input-slider.vue.d.ts +19 -0
- package/dist/types/components/form/input-text-area.vue.d.ts +17 -0
- package/dist/types/components/form/input-text.vue.d.ts +14 -0
- package/dist/types/components/form/input.vue.d.ts +23 -0
- package/dist/types/components/form/select.vue.d.ts +43 -0
- package/dist/types/components/form/textarea.vue.d.ts +23 -0
- package/dist/types/components/icon.vue.d.ts +8 -0
- package/dist/types/components/index.d.ts +20 -0
- package/dist/types/components/link-button.vue.d.ts +13 -0
- package/dist/types/components/menu-action.vue.d.ts +8 -0
- package/dist/types/components/menu.vue.d.ts +13 -0
- package/dist/types/components/nav-bar.vue.d.ts +3 -0
- package/dist/types/components/page.vue.d.ts +28 -0
- package/dist/types/components/paginator.vue.d.ts +36 -0
- package/dist/types/components/search-field.vue.d.ts +17 -0
- package/dist/types/components/separator.vue.d.ts +6 -0
- package/dist/types/components/shell/index.d.ts +4 -0
- package/dist/types/components/shell/shell-navigation-item.vue.d.ts +8 -0
- package/dist/types/components/shell/shell-navigation.vue.d.ts +13 -0
- package/dist/types/components/shell/shell.vue.d.ts +20 -0
- package/dist/types/components/slider.vue.d.ts +22 -0
- package/dist/types/components/tab-view.vue.d.ts +20 -0
- package/dist/types/components/tab.vue.d.ts +17 -0
- package/dist/types/directives/focus.directive.d.ts +28 -0
- package/dist/types/directives/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/model/FormFieldProps.d.ts +11 -0
- package/dist/types/model/IconSize.d.ts +5 -0
- package/dist/types/model/Icons.d.ts +39 -0
- package/dist/types/model/VjRouteRecord.d.ts +12 -0
- package/dist/types/model/index.d.ts +4 -0
- package/dist/types/provider/index.d.ts +2 -0
- package/dist/types/provider/router-navigation-provider.d.ts +19 -0
- package/dist/types/provider/static-navigation-provider.d.ts +26 -0
- package/dist/types/public-api.d.ts +9 -0
- package/dist/types/services/aside.service.d.ts +247 -0
- package/dist/types/services/aside.store.d.ts +257 -0
- package/dist/types/services/debounce.d.ts +1 -0
- package/dist/types/services/dialog.service.d.ts +31 -0
- package/dist/types/services/index.d.ts +3 -0
- package/dist/types/stories/components/AsideDemo.vue.d.ts +8 -0
- package/dist/types/stories/components/button.stories.d.ts +77 -0
- package/dist/types/stories/components/card.stories.d.ts +49 -0
- package/dist/types/stories/components/carousel.stories.d.ts +122 -0
- package/dist/types/stories/components/checkbox.stories.d.ts +68 -0
- package/dist/types/stories/components/data.stories.d.ts +10 -0
- package/dist/types/stories/components/dialog.stories.d.ts +116 -0
- package/dist/types/stories/components/dot-menu.stories.d.ts +67 -0
- package/dist/types/stories/components/form-field.stories.d.ts +28 -0
- package/dist/types/stories/components/form-layout.stories.d.ts +87 -0
- package/dist/types/stories/components/icon.stories.d.ts +42 -0
- package/dist/types/stories/components/input-slider.stories.d.ts +6 -0
- package/dist/types/stories/components/input-text.stories.d.ts +12 -0
- package/dist/types/stories/components/input.stories.d.ts +62 -0
- package/dist/types/stories/components/menu-action.stories.d.ts +60 -0
- package/dist/types/stories/components/page.stories.d.ts +103 -0
- package/dist/types/stories/components/paginator.stories.d.ts +11 -0
- package/dist/types/stories/components/search-field.stories.d.ts +48 -0
- package/dist/types/stories/components/select.stories.d.ts +13 -0
- package/dist/types/stories/components/shell.stories.d.ts +96 -0
- package/dist/types/stories/components/slider.stories.d.ts +10 -0
- package/dist/types/stories/components/tab-view.stories.d.ts +118 -0
- package/dist/types/stories/components/textarea.stories.d.ts +62 -0
- package/dist/types/stories/router.d.ts +2 -0
- package/dist/types/theme-light.d.ts +2 -0
- package/dist/vanjana-vue-ui.es.js +2862 -0
- package/dist/vanjana-vue-ui.umd.js +1 -0
- package/dist/vue-ui.css +1 -0
- package/package.json +79 -0
- package/themes/common/_components.scss +19 -0
- package/themes/common/_mixins.scss +78 -0
- package/themes/common/components/_button-bar.scss +8 -0
- package/themes/common/components/_button.scss +44 -0
- package/themes/common/components/_card.scss +21 -0
- package/themes/common/components/_checkbox.scss +26 -0
- package/themes/common/components/_dialog.scss +15 -0
- package/themes/common/components/_dot-menu.scss +10 -0
- package/themes/common/components/_icon.scss +11 -0
- package/themes/common/components/_menu-action.scss +10 -0
- package/themes/common/components/_menu.scss +6 -0
- package/themes/common/components/_page.scss +21 -0
- package/themes/common/components/_search-field.scss +34 -0
- package/themes/common/components/_shell.scss +101 -0
- package/themes/common/components/_tab-view.scss +40 -0
- package/themes/common/components/_tab.scss +12 -0
- package/themes/common/components/form/_form-field.scss +32 -0
- package/themes/common/components/form/_input.scss +40 -0
- package/themes/common/components/form/_select.scss +60 -0
- package/themes/common/components/form/_textarea.scss +38 -0
- package/themes/default.scss +12 -0
- package/themes/light/_shell.scss +56 -0
- package/themes/light/theme.scss +51 -0
- package/themes/mixins.scss +1 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
export type CloseAsideCallback = (data?: unknown) => void;
|
|
3
|
+
/**
|
|
4
|
+
* subscribe / onClose - gibt einen Unsubscribe-Handler zurück
|
|
5
|
+
*/
|
|
6
|
+
export declare const onAsideClose: (cb: CloseAsideCallback) => () => void;
|
|
7
|
+
export declare const showAside: (component: Component, data?: unknown) => {
|
|
8
|
+
onClose: (cb: CloseAsideCallback) => () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const closeAside: (data?: unknown) => void;
|
|
11
|
+
export declare const asideStore: {
|
|
12
|
+
asideComponent: import("vue").Ref<import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
13
|
+
new (...args: any[]): any;
|
|
14
|
+
__isFragment?: never;
|
|
15
|
+
__isTeleport?: never;
|
|
16
|
+
__isSuspense?: never;
|
|
17
|
+
} | {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
setup?: ((this: void, props: import("@vue/shared").LooseRequired<any>, ctx: {
|
|
20
|
+
attrs: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
slots: Readonly<{
|
|
24
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
27
|
+
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
28
|
+
}) => any) | undefined;
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
template?: string | object | undefined;
|
|
31
|
+
render?: Function | undefined;
|
|
32
|
+
components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
|
|
33
|
+
directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
|
|
34
|
+
inheritAttrs?: boolean | undefined;
|
|
35
|
+
emits?: any;
|
|
36
|
+
slots?: {} | undefined;
|
|
37
|
+
expose?: string[] | undefined;
|
|
38
|
+
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
39
|
+
compilerOptions?: {
|
|
40
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
41
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
42
|
+
comments?: boolean | undefined;
|
|
43
|
+
delimiters?: [string, string] | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
46
|
+
__isFragment?: never | undefined;
|
|
47
|
+
__isTeleport?: never | undefined;
|
|
48
|
+
__isSuspense?: never | undefined;
|
|
49
|
+
__defaults?: {} | undefined;
|
|
50
|
+
compatConfig?: {
|
|
51
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
52
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
53
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
54
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
55
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
56
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
57
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
58
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
59
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
60
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
61
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
62
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
63
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
64
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
65
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
66
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
67
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
68
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
69
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
70
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
71
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
72
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
73
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
74
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
75
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
76
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
77
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
78
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
79
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
80
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
81
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
82
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
83
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
84
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
85
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
86
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
87
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
88
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
89
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
90
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
91
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
92
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
93
|
+
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
96
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
97
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
98
|
+
watch?: {
|
|
99
|
+
[x: string]: (string | import("vue").WatchCallback | ({
|
|
100
|
+
handler: import("vue").WatchCallback | string;
|
|
101
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback | ({
|
|
102
|
+
handler: import("vue").WatchCallback | string;
|
|
103
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
104
|
+
} | undefined;
|
|
105
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
106
|
+
inject?: {} | string[] | undefined;
|
|
107
|
+
filters?: Record<string, Function> | undefined;
|
|
108
|
+
mixins?: any[] | undefined;
|
|
109
|
+
extends?: any;
|
|
110
|
+
beforeCreate?: (() => any) | undefined;
|
|
111
|
+
created?: (() => any) | undefined;
|
|
112
|
+
beforeMount?: (() => any) | undefined;
|
|
113
|
+
mounted?: (() => any) | undefined;
|
|
114
|
+
beforeUpdate?: (() => any) | undefined;
|
|
115
|
+
updated?: (() => any) | undefined;
|
|
116
|
+
activated?: (() => any) | undefined;
|
|
117
|
+
deactivated?: (() => any) | undefined;
|
|
118
|
+
beforeDestroy?: (() => any) | undefined;
|
|
119
|
+
beforeUnmount?: (() => any) | undefined;
|
|
120
|
+
destroyed?: (() => any) | undefined;
|
|
121
|
+
unmounted?: (() => any) | undefined;
|
|
122
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
123
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
124
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
|
|
125
|
+
delimiters?: [string, string] | undefined;
|
|
126
|
+
__differentiator?: string | number | symbol | undefined;
|
|
127
|
+
__isBuiltIn?: boolean | undefined;
|
|
128
|
+
__file?: string | undefined;
|
|
129
|
+
__name?: string | undefined;
|
|
130
|
+
beforeRouteEnter?: (import("vue-router").TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import("vue-router").NavigationGuardWithThis<undefined>) | undefined;
|
|
131
|
+
beforeRouteUpdate?: (import("vue-router").TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import("vue-router").NavigationGuard) | undefined;
|
|
132
|
+
beforeRouteLeave?: (import("vue-router").TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import("vue-router").NavigationGuard) | undefined;
|
|
133
|
+
} | null, Component | {
|
|
134
|
+
[x: string]: any;
|
|
135
|
+
setup?: ((this: void, props: import("@vue/shared").LooseRequired<any>, ctx: {
|
|
136
|
+
attrs: {
|
|
137
|
+
[x: string]: unknown;
|
|
138
|
+
};
|
|
139
|
+
slots: Readonly<{
|
|
140
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
141
|
+
}>;
|
|
142
|
+
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
143
|
+
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
144
|
+
}) => any) | undefined;
|
|
145
|
+
name?: string | undefined;
|
|
146
|
+
template?: string | object | undefined;
|
|
147
|
+
render?: Function | undefined;
|
|
148
|
+
components?: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
|
|
149
|
+
directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
|
|
150
|
+
inheritAttrs?: boolean | undefined;
|
|
151
|
+
emits?: any;
|
|
152
|
+
slots?: {} | undefined;
|
|
153
|
+
expose?: string[] | undefined;
|
|
154
|
+
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
155
|
+
compilerOptions?: {
|
|
156
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
157
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
158
|
+
comments?: boolean | undefined;
|
|
159
|
+
delimiters?: [string, string] | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
162
|
+
__isFragment?: never | undefined;
|
|
163
|
+
__isTeleport?: never | undefined;
|
|
164
|
+
__isSuspense?: never | undefined;
|
|
165
|
+
__defaults?: {} | undefined;
|
|
166
|
+
compatConfig?: {
|
|
167
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
168
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
169
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
170
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
171
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
172
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
173
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
174
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
175
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
176
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
177
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
178
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
179
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
180
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
181
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
182
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
183
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
184
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
185
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
186
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
187
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
188
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
189
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
190
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
191
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
192
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
193
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
194
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
195
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
196
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
197
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
198
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
199
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
200
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
201
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
202
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
203
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
204
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
205
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
206
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
207
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
208
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
209
|
+
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
|
|
210
|
+
} | undefined;
|
|
211
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
212
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
213
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
214
|
+
watch?: {
|
|
215
|
+
[x: string]: (string | import("vue").WatchCallback | ({
|
|
216
|
+
handler: import("vue").WatchCallback | string;
|
|
217
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback | ({
|
|
218
|
+
handler: import("vue").WatchCallback | string;
|
|
219
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
220
|
+
} | undefined;
|
|
221
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
222
|
+
inject?: {} | string[] | undefined;
|
|
223
|
+
filters?: Record<string, Function> | undefined;
|
|
224
|
+
mixins?: any[] | undefined;
|
|
225
|
+
extends?: any;
|
|
226
|
+
beforeCreate?: (() => any) | undefined;
|
|
227
|
+
created?: (() => any) | undefined;
|
|
228
|
+
beforeMount?: (() => any) | undefined;
|
|
229
|
+
mounted?: (() => any) | undefined;
|
|
230
|
+
beforeUpdate?: (() => any) | undefined;
|
|
231
|
+
updated?: (() => any) | undefined;
|
|
232
|
+
activated?: (() => any) | undefined;
|
|
233
|
+
deactivated?: (() => any) | undefined;
|
|
234
|
+
beforeDestroy?: (() => any) | undefined;
|
|
235
|
+
beforeUnmount?: (() => any) | undefined;
|
|
236
|
+
destroyed?: (() => any) | undefined;
|
|
237
|
+
unmounted?: (() => any) | undefined;
|
|
238
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
239
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
240
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
|
|
241
|
+
delimiters?: [string, string] | undefined;
|
|
242
|
+
__differentiator?: string | number | symbol | undefined;
|
|
243
|
+
__isBuiltIn?: boolean | undefined;
|
|
244
|
+
__file?: string | undefined;
|
|
245
|
+
__name?: string | undefined;
|
|
246
|
+
beforeRouteEnter?: (import("vue-router").TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import("vue-router").NavigationGuardWithThis<undefined>) | undefined;
|
|
247
|
+
beforeRouteUpdate?: (import("vue-router").TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import("vue-router").NavigationGuard) | undefined;
|
|
248
|
+
beforeRouteLeave?: (import("vue-router").TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import("vue-router").NavigationGuard) | undefined;
|
|
249
|
+
} | null>;
|
|
250
|
+
asideData: import("vue").Ref<unknown, unknown>;
|
|
251
|
+
showAside: (component: Component, data?: unknown) => {
|
|
252
|
+
onClose: (cb: CloseAsideCallback) => () => void;
|
|
253
|
+
};
|
|
254
|
+
closeAside: (data?: unknown) => void;
|
|
255
|
+
onAsideClose: (cb: CloseAsideCallback) => () => void;
|
|
256
|
+
hasAside: import("vue").Ref<boolean, boolean>;
|
|
257
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useDebounce: (fn: Function, delay: number) => (...args: unknown[]) => void;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
export interface DialogOptions {
|
|
3
|
+
title?: string;
|
|
4
|
+
message?: string;
|
|
5
|
+
component?: Component;
|
|
6
|
+
componentProps?: Record<string, unknown>;
|
|
7
|
+
showFooter?: boolean;
|
|
8
|
+
showCancel?: boolean;
|
|
9
|
+
confirmText?: string;
|
|
10
|
+
cancelText?: string;
|
|
11
|
+
closeOnBackdrop?: boolean;
|
|
12
|
+
closeOnEscape?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface ConfirmOptions {
|
|
15
|
+
title: string;
|
|
16
|
+
message: string;
|
|
17
|
+
confirmText?: string;
|
|
18
|
+
cancelText?: string;
|
|
19
|
+
}
|
|
20
|
+
declare class DialogService {
|
|
21
|
+
private containerElement;
|
|
22
|
+
private apps;
|
|
23
|
+
private ensureContainer;
|
|
24
|
+
open(options: DialogOptions): Promise<boolean>;
|
|
25
|
+
confirm(options: ConfirmOptions): Promise<boolean>;
|
|
26
|
+
alert(title: string, message: string): Promise<boolean>;
|
|
27
|
+
closeAll(): void;
|
|
28
|
+
}
|
|
29
|
+
export declare const dialogService: DialogService;
|
|
30
|
+
export declare function useDialog(): DialogService;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
message?: string;
|
|
4
|
+
entry: 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;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { IconNames } from '../../model';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("vue").DefineComponent<{
|
|
6
|
+
label?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
primary?: boolean;
|
|
9
|
+
secondary?: boolean;
|
|
10
|
+
tertiary?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
13
|
+
label?: string;
|
|
14
|
+
icon?: string;
|
|
15
|
+
primary?: boolean;
|
|
16
|
+
secondary?: boolean;
|
|
17
|
+
tertiary?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
render: (args: unknown) => {
|
|
21
|
+
components: {
|
|
22
|
+
Button: import("vue").DefineComponent<{
|
|
23
|
+
label?: string;
|
|
24
|
+
icon?: string;
|
|
25
|
+
primary?: boolean;
|
|
26
|
+
secondary?: boolean;
|
|
27
|
+
tertiary?: boolean;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
30
|
+
label?: string;
|
|
31
|
+
icon?: string;
|
|
32
|
+
primary?: boolean;
|
|
33
|
+
secondary?: boolean;
|
|
34
|
+
tertiary?: boolean;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
};
|
|
38
|
+
setup(this: void): {
|
|
39
|
+
args: unknown;
|
|
40
|
+
};
|
|
41
|
+
template: string;
|
|
42
|
+
};
|
|
43
|
+
tags: string[];
|
|
44
|
+
argTypes: {
|
|
45
|
+
label: {
|
|
46
|
+
control: "text";
|
|
47
|
+
};
|
|
48
|
+
icon: {
|
|
49
|
+
control: "select";
|
|
50
|
+
options: IconNames[];
|
|
51
|
+
};
|
|
52
|
+
primary: {
|
|
53
|
+
control: "boolean";
|
|
54
|
+
};
|
|
55
|
+
secondary: {
|
|
56
|
+
control: "boolean";
|
|
57
|
+
};
|
|
58
|
+
tertiary: {
|
|
59
|
+
control: "boolean";
|
|
60
|
+
};
|
|
61
|
+
disabled: {
|
|
62
|
+
control: "boolean";
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
args: {};
|
|
67
|
+
};
|
|
68
|
+
export default meta;
|
|
69
|
+
type Story = StoryObj<typeof meta>;
|
|
70
|
+
export declare const Primary: Story;
|
|
71
|
+
export declare const Secondary: Story;
|
|
72
|
+
export declare const Tertiary: Story;
|
|
73
|
+
export declare const WithIcon: Story;
|
|
74
|
+
export declare const IconOnly: Story;
|
|
75
|
+
export declare const DisabledStates: Story;
|
|
76
|
+
export declare const LinkButton: Story;
|
|
77
|
+
export declare const InButtonBar: Story;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
|
+
header: string;
|
|
7
|
+
scrollable?: boolean;
|
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly<{
|
|
16
|
+
header: string;
|
|
17
|
+
scrollable?: boolean;
|
|
18
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
19
|
+
__isFragment?: never;
|
|
20
|
+
__isTeleport?: never;
|
|
21
|
+
__isSuspense?: never;
|
|
22
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
23
|
+
header: string;
|
|
24
|
+
scrollable?: boolean;
|
|
25
|
+
}> & 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
|
+
$slots: {
|
|
27
|
+
headerActions?: (props: {}) => any;
|
|
28
|
+
} & {
|
|
29
|
+
default?: (props: {}) => any;
|
|
30
|
+
} & {
|
|
31
|
+
footer?: (props: {}) => any;
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
render: (args: unknown) => {
|
|
35
|
+
components: {};
|
|
36
|
+
setup(this: void): {
|
|
37
|
+
args: unknown;
|
|
38
|
+
};
|
|
39
|
+
template: string;
|
|
40
|
+
};
|
|
41
|
+
tags: string[];
|
|
42
|
+
argTypes: {};
|
|
43
|
+
args: {};
|
|
44
|
+
};
|
|
45
|
+
export default meta;
|
|
46
|
+
type Story = StoryObj<typeof meta>;
|
|
47
|
+
export declare const Primary: Story;
|
|
48
|
+
export declare const WithHeaderAndFooter: Story;
|
|
49
|
+
export declare const Scrollable: Story;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
|
+
autoplay?: boolean;
|
|
7
|
+
interval?: number;
|
|
8
|
+
loop?: boolean;
|
|
9
|
+
pauseOnHover?: boolean;
|
|
10
|
+
startIndex?: number;
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
13
|
+
P: {};
|
|
14
|
+
B: {};
|
|
15
|
+
D: {};
|
|
16
|
+
C: {};
|
|
17
|
+
M: {};
|
|
18
|
+
Defaults: {};
|
|
19
|
+
}, Readonly<{
|
|
20
|
+
autoplay?: boolean;
|
|
21
|
+
interval?: number;
|
|
22
|
+
loop?: boolean;
|
|
23
|
+
pauseOnHover?: boolean;
|
|
24
|
+
startIndex?: number;
|
|
25
|
+
ariaLabel?: string;
|
|
26
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
27
|
+
__isFragment?: never;
|
|
28
|
+
__isTeleport?: never;
|
|
29
|
+
__isSuspense?: never;
|
|
30
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
31
|
+
autoplay?: boolean;
|
|
32
|
+
interval?: number;
|
|
33
|
+
loop?: boolean;
|
|
34
|
+
pauseOnHover?: boolean;
|
|
35
|
+
startIndex?: number;
|
|
36
|
+
ariaLabel?: string;
|
|
37
|
+
}> & 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 () => {
|
|
38
|
+
$slots: {
|
|
39
|
+
default?: (props: {}) => any;
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
render: (args: unknown) => {
|
|
43
|
+
components: {
|
|
44
|
+
Carousel: {
|
|
45
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
46
|
+
autoplay?: boolean;
|
|
47
|
+
interval?: number;
|
|
48
|
+
loop?: boolean;
|
|
49
|
+
pauseOnHover?: boolean;
|
|
50
|
+
startIndex?: number;
|
|
51
|
+
ariaLabel?: string;
|
|
52
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
53
|
+
P: {};
|
|
54
|
+
B: {};
|
|
55
|
+
D: {};
|
|
56
|
+
C: {};
|
|
57
|
+
M: {};
|
|
58
|
+
Defaults: {};
|
|
59
|
+
}, Readonly<{
|
|
60
|
+
autoplay?: boolean;
|
|
61
|
+
interval?: number;
|
|
62
|
+
loop?: boolean;
|
|
63
|
+
pauseOnHover?: boolean;
|
|
64
|
+
startIndex?: number;
|
|
65
|
+
ariaLabel?: string;
|
|
66
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
67
|
+
__isFragment?: never;
|
|
68
|
+
__isTeleport?: never;
|
|
69
|
+
__isSuspense?: never;
|
|
70
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
71
|
+
autoplay?: boolean;
|
|
72
|
+
interval?: number;
|
|
73
|
+
loop?: boolean;
|
|
74
|
+
pauseOnHover?: boolean;
|
|
75
|
+
startIndex?: number;
|
|
76
|
+
ariaLabel?: string;
|
|
77
|
+
}> & 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 () => {
|
|
78
|
+
$slots: {
|
|
79
|
+
default?: (props: {}) => any;
|
|
80
|
+
};
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
setup(this: void): {
|
|
84
|
+
args: unknown;
|
|
85
|
+
};
|
|
86
|
+
template: string;
|
|
87
|
+
};
|
|
88
|
+
tags: string[];
|
|
89
|
+
argTypes: {
|
|
90
|
+
autoplay: {
|
|
91
|
+
control: "boolean";
|
|
92
|
+
};
|
|
93
|
+
interval: {
|
|
94
|
+
control: "number";
|
|
95
|
+
};
|
|
96
|
+
loop: {
|
|
97
|
+
control: "boolean";
|
|
98
|
+
};
|
|
99
|
+
pauseOnHover: {
|
|
100
|
+
control: "boolean";
|
|
101
|
+
};
|
|
102
|
+
startIndex: {
|
|
103
|
+
control: "number";
|
|
104
|
+
};
|
|
105
|
+
ariaLabel: {
|
|
106
|
+
control: "text";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
args: {
|
|
110
|
+
autoplay: false;
|
|
111
|
+
interval: number;
|
|
112
|
+
loop: true;
|
|
113
|
+
pauseOnHover: true;
|
|
114
|
+
startIndex: number;
|
|
115
|
+
ariaLabel: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
export default meta;
|
|
119
|
+
type Story = StoryObj<typeof meta>;
|
|
120
|
+
export declare const Default: Story;
|
|
121
|
+
export declare const Autoplay: Story;
|
|
122
|
+
export declare const NoLoop: Story;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
label?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
} & {
|
|
8
|
+
modelValue?: boolean;
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
12
|
+
label?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
} & {
|
|
15
|
+
modelValue?: boolean;
|
|
16
|
+
}> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
render: (args: any) => {
|
|
20
|
+
components: {
|
|
21
|
+
Checkbox: import("vue").DefineComponent<{
|
|
22
|
+
label?: string;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
} & {
|
|
25
|
+
modelValue?: boolean;
|
|
26
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
29
|
+
label?: string;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
} & {
|
|
32
|
+
modelValue?: boolean;
|
|
33
|
+
}> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
35
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
};
|
|
37
|
+
setup(this: void): {
|
|
38
|
+
args: any;
|
|
39
|
+
checked: import("vue").Ref<any, any>;
|
|
40
|
+
};
|
|
41
|
+
template: string;
|
|
42
|
+
};
|
|
43
|
+
tags: string[];
|
|
44
|
+
argTypes: {
|
|
45
|
+
modelValue: {
|
|
46
|
+
control: "boolean";
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
label: {
|
|
50
|
+
control: "text";
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
disabled: {
|
|
54
|
+
control: "boolean";
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
args: {};
|
|
59
|
+
};
|
|
60
|
+
export default meta;
|
|
61
|
+
type Story = StoryObj<typeof meta>;
|
|
62
|
+
export declare const Default: Story;
|
|
63
|
+
export declare const Checked: Story;
|
|
64
|
+
export declare const Disabled: Story;
|
|
65
|
+
export declare const DisabledChecked: Story;
|
|
66
|
+
export declare const WithoutLabel: Story;
|
|
67
|
+
export declare const MultipleCheckboxes: Story;
|
|
68
|
+
export declare const InForm: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
tags: string[];
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof meta>;
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
export declare const Empty: Story;
|
|
10
|
+
export declare const ManyItems: Story;
|