@yeepay/yee-boss-ui 0.1.12 → 0.1.13

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.
@@ -0,0 +1,64 @@
1
+ interface Props {
2
+ content?: number | string;
3
+ enterDelay?: number;
4
+ enterable?: boolean;
5
+ height?: number | string;
6
+ isArrow?: boolean;
7
+ leaveDelay?: number;
8
+ maxHeight?: number | string;
9
+ maxWidth?: number | string;
10
+ minHeight?: number | string;
11
+ minWidth?: number | string;
12
+ modelValue?: boolean;
13
+ popupClassName?: string;
14
+ selector?: HTMLElement | string;
15
+ theme?: 'dark' | 'light' | '';
16
+ trigger?: 'click' | 'hover' | 'manual' | '' | null;
17
+ useHTML?: boolean;
18
+ width?: number | string;
19
+ zIndex?: number | string;
20
+ }
21
+ declare function updatePlacement(): Promise<void>;
22
+ declare function open(target?: HTMLElement | null, content?: number | string): Promise<void>;
23
+ declare function openByEvent(event: Event, target?: HTMLElement | null, content?: number | string): Promise<void>;
24
+ declare function close(): Promise<void>;
25
+ declare function setActived(value: boolean): void;
26
+ declare function isActived(): boolean;
27
+ declare function __VLS_template(): {
28
+ attrs: Partial<{}>;
29
+ slots: {
30
+ content?(_: {}): any;
31
+ };
32
+ refs: {
33
+ tooltip: unknown;
34
+ };
35
+ rootEl: any;
36
+ };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
39
+ close: typeof close;
40
+ isActived: typeof isActived;
41
+ open: typeof open;
42
+ openByEvent: typeof openByEvent;
43
+ reactData: {
44
+ visible: boolean;
45
+ };
46
+ setActived: typeof setActived;
47
+ toVisible: typeof open;
48
+ updatePlacement: typeof updatePlacement;
49
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
50
+ "update:modelValue": (value: boolean) => any;
51
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
52
+ "onUpdate:modelValue"?: (value: boolean) => any;
53
+ }>, {
54
+ isArrow: boolean;
55
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
56
+ tooltip: unknown;
57
+ }, any>;
58
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
59
+ export default _default;
60
+ type __VLS_WithTemplateSlots<T, S> = T & {
61
+ new (): {
62
+ $slots: S;
63
+ };
64
+ };