@dolanske/vui 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -128
- package/dist/components/Popout/Popout.vue.d.ts +7 -0
- package/dist/vui.css +1 -1
- package/dist/vui.js +493 -486
- package/package.json +1 -1
|
@@ -38,70 +38,6 @@ declare function __VLS_template(): {
|
|
|
38
38
|
};
|
|
39
39
|
refs: {
|
|
40
40
|
anchor: HTMLDivElement;
|
|
41
|
-
dropdown: ({
|
|
42
|
-
$: import('vue').ComponentInternalInstance;
|
|
43
|
-
$data: {};
|
|
44
|
-
$props: {
|
|
45
|
-
readonly anchor: import('../../shared/types').PopoutMaybeElement<HTMLElement>;
|
|
46
|
-
readonly placement?: Placement | undefined;
|
|
47
|
-
readonly offset?: number | undefined;
|
|
48
|
-
readonly visible: boolean;
|
|
49
|
-
readonly transitionName?: string | "none" | undefined;
|
|
50
|
-
readonly onClickOutside?: (() => any) | undefined;
|
|
51
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
52
|
-
$attrs: {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
};
|
|
55
|
-
$refs: {
|
|
56
|
-
[x: string]: unknown;
|
|
57
|
-
} & {
|
|
58
|
-
popout: HTMLDivElement;
|
|
59
|
-
};
|
|
60
|
-
$slots: Readonly<{
|
|
61
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
62
|
-
}>;
|
|
63
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
64
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
65
|
-
$host: Element | null;
|
|
66
|
-
$emit: (event: "clickOutside") => void;
|
|
67
|
-
$el: any;
|
|
68
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
69
|
-
onClickOutside?: (() => any) | undefined;
|
|
70
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
71
|
-
clickOutside: () => any;
|
|
72
|
-
}, string, {
|
|
73
|
-
offset: number;
|
|
74
|
-
placement: Placement;
|
|
75
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
76
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
77
|
-
created?: (() => void) | (() => void)[];
|
|
78
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
79
|
-
mounted?: (() => void) | (() => void)[];
|
|
80
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
81
|
-
updated?: (() => void) | (() => void)[];
|
|
82
|
-
activated?: (() => void) | (() => void)[];
|
|
83
|
-
deactivated?: (() => void) | (() => void)[];
|
|
84
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
85
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
86
|
-
destroyed?: (() => void) | (() => void)[];
|
|
87
|
-
unmounted?: (() => void) | (() => void)[];
|
|
88
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
89
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
90
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
91
|
-
};
|
|
92
|
-
$forceUpdate: () => void;
|
|
93
|
-
$nextTick: typeof import('vue').nextTick;
|
|
94
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
95
|
-
} & Readonly<{
|
|
96
|
-
offset: number;
|
|
97
|
-
placement: Placement;
|
|
98
|
-
}> & Omit<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
99
|
-
onClickOutside?: (() => any) | undefined;
|
|
100
|
-
}>, "offset" | "placement"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
101
|
-
$slots: {
|
|
102
|
-
default?(_: {}): any;
|
|
103
|
-
};
|
|
104
|
-
}) | null;
|
|
105
41
|
};
|
|
106
42
|
rootEl: any;
|
|
107
43
|
};
|
|
@@ -117,70 +53,6 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
|
117
53
|
onClose?: (() => any) | undefined;
|
|
118
54
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
119
55
|
anchor: HTMLDivElement;
|
|
120
|
-
dropdown: ({
|
|
121
|
-
$: import('vue').ComponentInternalInstance;
|
|
122
|
-
$data: {};
|
|
123
|
-
$props: {
|
|
124
|
-
readonly anchor: import('../../shared/types').PopoutMaybeElement<HTMLElement>;
|
|
125
|
-
readonly placement?: Placement | undefined;
|
|
126
|
-
readonly offset?: number | undefined;
|
|
127
|
-
readonly visible: boolean;
|
|
128
|
-
readonly transitionName?: string | "none" | undefined;
|
|
129
|
-
readonly onClickOutside?: (() => any) | undefined;
|
|
130
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
131
|
-
$attrs: {
|
|
132
|
-
[x: string]: unknown;
|
|
133
|
-
};
|
|
134
|
-
$refs: {
|
|
135
|
-
[x: string]: unknown;
|
|
136
|
-
} & {
|
|
137
|
-
popout: HTMLDivElement;
|
|
138
|
-
};
|
|
139
|
-
$slots: Readonly<{
|
|
140
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
141
|
-
}>;
|
|
142
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
143
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
144
|
-
$host: Element | null;
|
|
145
|
-
$emit: (event: "clickOutside") => void;
|
|
146
|
-
$el: any;
|
|
147
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
148
|
-
onClickOutside?: (() => any) | undefined;
|
|
149
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
150
|
-
clickOutside: () => any;
|
|
151
|
-
}, string, {
|
|
152
|
-
offset: number;
|
|
153
|
-
placement: Placement;
|
|
154
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
155
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
156
|
-
created?: (() => void) | (() => void)[];
|
|
157
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
158
|
-
mounted?: (() => void) | (() => void)[];
|
|
159
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
160
|
-
updated?: (() => void) | (() => void)[];
|
|
161
|
-
activated?: (() => void) | (() => void)[];
|
|
162
|
-
deactivated?: (() => void) | (() => void)[];
|
|
163
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
164
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
165
|
-
destroyed?: (() => void) | (() => void)[];
|
|
166
|
-
unmounted?: (() => void) | (() => void)[];
|
|
167
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
168
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
169
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
170
|
-
};
|
|
171
|
-
$forceUpdate: () => void;
|
|
172
|
-
$nextTick: typeof import('vue').nextTick;
|
|
173
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
174
|
-
} & Readonly<{
|
|
175
|
-
offset: number;
|
|
176
|
-
placement: Placement;
|
|
177
|
-
}> & Omit<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
178
|
-
onClickOutside?: (() => any) | undefined;
|
|
179
|
-
}>, "offset" | "placement"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
180
|
-
$slots: {
|
|
181
|
-
default?(_: {}): any;
|
|
182
|
-
};
|
|
183
|
-
}) | null;
|
|
184
56
|
}, any>;
|
|
185
57
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
186
58
|
export default _default;
|
|
@@ -22,6 +22,12 @@ export interface Props {
|
|
|
22
22
|
* Setting the value to `none` will not apply any transition
|
|
23
23
|
*/
|
|
24
24
|
transitionName?: string | 'none';
|
|
25
|
+
/**
|
|
26
|
+
* Whether the Popout should by default be teleported to the `body`.
|
|
27
|
+
*
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
teleport?: boolean;
|
|
25
31
|
}
|
|
26
32
|
declare function __VLS_template(): {
|
|
27
33
|
attrs: Partial<{}>;
|
|
@@ -40,6 +46,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
40
46
|
onClickOutside?: (() => any) | undefined;
|
|
41
47
|
}>, {
|
|
42
48
|
offset: number;
|
|
49
|
+
teleport: boolean;
|
|
43
50
|
placement: Placement;
|
|
44
51
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
45
52
|
popout: HTMLDivElement;
|