vue-tippy 4.16.0 → 4.16.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/README.md +4 -10
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/dist/src/components/Tippy.d.ts +0 -421
- package/dist/src/components/Tippy.d.ts.map +0 -1
- package/dist/src/components/TippySingleton.d.ts +0 -266
- package/dist/src/components/TippySingleton.d.ts.map +0 -1
- package/dist/src/composables/index.d.ts +0 -4
- package/dist/src/composables/index.d.ts.map +0 -1
- package/dist/src/composables/useSingleton.d.ts +0 -6
- package/dist/src/composables/useSingleton.d.ts.map +0 -1
- package/dist/src/composables/useTippy.d.ts +0 -27
- package/dist/src/composables/useTippy.d.ts.map +0 -1
- package/dist/src/composables/useTippyComponent.d.ts +0 -8
- package/dist/src/composables/useTippyComponent.d.ts.map +0 -1
- package/dist/src/directive/index.d.ts +0 -4
- package/dist/src/directive/index.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -13
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/plugin/index.d.ts +0 -4
- package/dist/src/plugin/index.d.ts.map +0 -1
- package/dist/src/types/index.d.ts +0 -21
- package/dist/src/types/index.d.ts.map +0 -1
- package/dist/vue-tippy.cjs +0 -4789
- package/dist/vue-tippy.d.ts +0 -750
- package/dist/vue-tippy.esm-browser.js +0 -4460
- package/dist/vue-tippy.iife.js +0 -4792
- package/dist/vue-tippy.iife.prod.js +0 -6
- package/dist/vue-tippy.mjs +0 -4460
- package/dist/vue-tippy.prod.cjs +0 -4473
@@ -1,266 +0,0 @@
|
|
1
|
-
import { Instance } from 'tippy.js';
|
2
|
-
import { ComponentObjectPropsOptions } from 'vue';
|
3
|
-
import { TippyOptions } from '../types';
|
4
|
-
declare module '@vue/runtime-core' {
|
5
|
-
interface ComponentCustomProps extends TippyOptions {
|
6
|
-
}
|
7
|
-
}
|
8
|
-
declare const TippySingleton: import("vue").DefineComponent<ComponentObjectPropsOptions<Record<string, unknown>>, {
|
9
|
-
instances: import("vue").Ref<{
|
10
|
-
clearDelayTimeouts: () => void;
|
11
|
-
destroy: () => void;
|
12
|
-
disable: () => void;
|
13
|
-
enable: () => void;
|
14
|
-
hide: () => void;
|
15
|
-
hideWithInteractivity: (event: MouseEvent) => void;
|
16
|
-
id: number;
|
17
|
-
plugins: {
|
18
|
-
name?: string | undefined;
|
19
|
-
defaultValue?: any;
|
20
|
-
fn: (instance: Instance<any>) => Partial<import("tippy.js").LifecycleHooks<any>>;
|
21
|
-
}[];
|
22
|
-
popper: import("tippy.js").PopperElement<any>;
|
23
|
-
popperInstance: {
|
24
|
-
state: {
|
25
|
-
elements: {
|
26
|
-
reference: Element | {
|
27
|
-
getBoundingClientRect: () => ClientRect | DOMRect;
|
28
|
-
contextElement?: Element | undefined;
|
29
|
-
};
|
30
|
-
popper: HTMLElement;
|
31
|
-
arrow?: HTMLElement | undefined;
|
32
|
-
};
|
33
|
-
options: {
|
34
|
-
placement: import("@popperjs/core").Placement;
|
35
|
-
modifiers: any[];
|
36
|
-
strategy: import("@popperjs/core").PositioningStrategy;
|
37
|
-
onFirstUpdate?: ((arg0: Partial<import("@popperjs/core").State>) => void) | undefined;
|
38
|
-
};
|
39
|
-
placement: import("@popperjs/core").Placement;
|
40
|
-
strategy: import("@popperjs/core").PositioningStrategy;
|
41
|
-
orderedModifiers: {
|
42
|
-
name: any;
|
43
|
-
enabled: boolean;
|
44
|
-
phase: import("@popperjs/core").ModifierPhases;
|
45
|
-
requires?: string[] | undefined;
|
46
|
-
requiresIfExists?: string[] | undefined;
|
47
|
-
fn: (arg0: import("@popperjs/core").ModifierArguments<any>) => void | import("@popperjs/core").State;
|
48
|
-
effect?: ((arg0: import("@popperjs/core").ModifierArguments<any>) => void | (() => void)) | undefined;
|
49
|
-
options?: Partial<any> | undefined;
|
50
|
-
data?: import("@popperjs/core").Obj | undefined;
|
51
|
-
}[];
|
52
|
-
rects: {
|
53
|
-
reference: {
|
54
|
-
width: number;
|
55
|
-
height: number;
|
56
|
-
x: number;
|
57
|
-
y: number;
|
58
|
-
};
|
59
|
-
popper: {
|
60
|
-
width: number;
|
61
|
-
height: number;
|
62
|
-
x: number;
|
63
|
-
y: number;
|
64
|
-
};
|
65
|
-
};
|
66
|
-
scrollParents: {
|
67
|
-
reference: (Element | {
|
68
|
-
innerHeight: number;
|
69
|
-
offsetHeight: number;
|
70
|
-
innerWidth: number;
|
71
|
-
offsetWidth: number;
|
72
|
-
pageXOffset: number;
|
73
|
-
pageYOffset: number;
|
74
|
-
getComputedStyle: typeof getComputedStyle;
|
75
|
-
addEventListener: (type: any, listener: any, optionsOrUseCapture?: any) => void;
|
76
|
-
removeEventListener: (type: any, listener: any, optionsOrUseCapture?: any) => void;
|
77
|
-
Element: Element;
|
78
|
-
HTMLElement: HTMLElement;
|
79
|
-
Node: Node;
|
80
|
-
toString: () => "[object Window]";
|
81
|
-
devicePixelRatio: number;
|
82
|
-
visualViewport?: {
|
83
|
-
addEventListener: (type: string, listener: EventListener | EventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined) => void;
|
84
|
-
dispatchEvent: (event: Event) => boolean;
|
85
|
-
removeEventListener: (type: string, callback: EventListener | EventListenerObject | null, options?: boolean | EventListenerOptions | undefined) => void;
|
86
|
-
width: number;
|
87
|
-
height: number;
|
88
|
-
offsetLeft: number;
|
89
|
-
offsetTop: number;
|
90
|
-
scale: number;
|
91
|
-
} | undefined;
|
92
|
-
ShadowRoot: ShadowRoot;
|
93
|
-
} | {
|
94
|
-
addEventListener: (type: string, listener: EventListener | EventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined) => void;
|
95
|
-
dispatchEvent: (event: Event) => boolean;
|
96
|
-
removeEventListener: (type: string, callback: EventListener | EventListenerObject | null, options?: boolean | EventListenerOptions | undefined) => void;
|
97
|
-
width: number;
|
98
|
-
height: number;
|
99
|
-
offsetLeft: number;
|
100
|
-
offsetTop: number;
|
101
|
-
scale: number;
|
102
|
-
})[];
|
103
|
-
popper: (Element | {
|
104
|
-
innerHeight: number;
|
105
|
-
offsetHeight: number;
|
106
|
-
innerWidth: number;
|
107
|
-
offsetWidth: number;
|
108
|
-
pageXOffset: number;
|
109
|
-
pageYOffset: number;
|
110
|
-
getComputedStyle: typeof getComputedStyle;
|
111
|
-
addEventListener: (type: any, listener: any, optionsOrUseCapture?: any) => void;
|
112
|
-
removeEventListener: (type: any, listener: any, optionsOrUseCapture?: any) => void;
|
113
|
-
Element: Element;
|
114
|
-
HTMLElement: HTMLElement;
|
115
|
-
Node: Node;
|
116
|
-
toString: () => "[object Window]";
|
117
|
-
devicePixelRatio: number;
|
118
|
-
visualViewport?: {
|
119
|
-
addEventListener: (type: string, listener: EventListener | EventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined) => void;
|
120
|
-
dispatchEvent: (event: Event) => boolean;
|
121
|
-
removeEventListener: (type: string, callback: EventListener | EventListenerObject | null, options?: boolean | EventListenerOptions | undefined) => void;
|
122
|
-
width: number;
|
123
|
-
height: number;
|
124
|
-
offsetLeft: number;
|
125
|
-
offsetTop: number;
|
126
|
-
scale: number;
|
127
|
-
} | undefined;
|
128
|
-
ShadowRoot: ShadowRoot;
|
129
|
-
} | {
|
130
|
-
addEventListener: (type: string, listener: EventListener | EventListenerObject | null, options?: boolean | AddEventListenerOptions | undefined) => void;
|
131
|
-
dispatchEvent: (event: Event) => boolean;
|
132
|
-
removeEventListener: (type: string, callback: EventListener | EventListenerObject | null, options?: boolean | EventListenerOptions | undefined) => void;
|
133
|
-
width: number;
|
134
|
-
height: number;
|
135
|
-
offsetLeft: number;
|
136
|
-
offsetTop: number;
|
137
|
-
scale: number;
|
138
|
-
})[];
|
139
|
-
};
|
140
|
-
styles: {
|
141
|
-
[key: string]: Partial<CSSStyleDeclaration>;
|
142
|
-
};
|
143
|
-
attributes: {
|
144
|
-
[key: string]: {
|
145
|
-
[key: string]: string | boolean;
|
146
|
-
};
|
147
|
-
};
|
148
|
-
modifiersData: {
|
149
|
-
[x: string]: any;
|
150
|
-
arrow?: {
|
151
|
-
x?: number | undefined;
|
152
|
-
y?: number | undefined;
|
153
|
-
centerOffset: number;
|
154
|
-
} | undefined;
|
155
|
-
hide?: {
|
156
|
-
isReferenceHidden: boolean;
|
157
|
-
hasPopperEscaped: boolean;
|
158
|
-
referenceClippingOffsets: {
|
159
|
-
top: number;
|
160
|
-
left: number;
|
161
|
-
right: number;
|
162
|
-
bottom: number;
|
163
|
-
};
|
164
|
-
popperEscapeOffsets: {
|
165
|
-
top: number;
|
166
|
-
left: number;
|
167
|
-
right: number;
|
168
|
-
bottom: number;
|
169
|
-
};
|
170
|
-
} | undefined;
|
171
|
-
offset?: {
|
172
|
-
auto?: {
|
173
|
-
y: number;
|
174
|
-
x: number;
|
175
|
-
} | undefined;
|
176
|
-
"auto-start"?: {
|
177
|
-
y: number;
|
178
|
-
x: number;
|
179
|
-
} | undefined;
|
180
|
-
"auto-end"?: {
|
181
|
-
y: number;
|
182
|
-
x: number;
|
183
|
-
} | undefined;
|
184
|
-
top?: {
|
185
|
-
y: number;
|
186
|
-
x: number;
|
187
|
-
} | undefined;
|
188
|
-
bottom?: {
|
189
|
-
y: number;
|
190
|
-
x: number;
|
191
|
-
} | undefined;
|
192
|
-
right?: {
|
193
|
-
y: number;
|
194
|
-
x: number;
|
195
|
-
} | undefined;
|
196
|
-
left?: {
|
197
|
-
y: number;
|
198
|
-
x: number;
|
199
|
-
} | undefined;
|
200
|
-
"top-start"?: {
|
201
|
-
y: number;
|
202
|
-
x: number;
|
203
|
-
} | undefined;
|
204
|
-
"top-end"?: {
|
205
|
-
y: number;
|
206
|
-
x: number;
|
207
|
-
} | undefined;
|
208
|
-
"bottom-start"?: {
|
209
|
-
y: number;
|
210
|
-
x: number;
|
211
|
-
} | undefined;
|
212
|
-
"bottom-end"?: {
|
213
|
-
y: number;
|
214
|
-
x: number;
|
215
|
-
} | undefined;
|
216
|
-
"right-start"?: {
|
217
|
-
y: number;
|
218
|
-
x: number;
|
219
|
-
} | undefined;
|
220
|
-
"right-end"?: {
|
221
|
-
y: number;
|
222
|
-
x: number;
|
223
|
-
} | undefined;
|
224
|
-
"left-start"?: {
|
225
|
-
y: number;
|
226
|
-
x: number;
|
227
|
-
} | undefined;
|
228
|
-
"left-end"?: {
|
229
|
-
y: number;
|
230
|
-
x: number;
|
231
|
-
} | undefined;
|
232
|
-
} | undefined;
|
233
|
-
preventOverflow?: {
|
234
|
-
y: number;
|
235
|
-
x: number;
|
236
|
-
} | undefined;
|
237
|
-
popperOffsets?: {
|
238
|
-
y: number;
|
239
|
-
x: number;
|
240
|
-
} | undefined;
|
241
|
-
};
|
242
|
-
reset: boolean;
|
243
|
-
};
|
244
|
-
destroy: () => void;
|
245
|
-
forceUpdate: () => void;
|
246
|
-
update: () => Promise<Partial<import("@popperjs/core").State>>;
|
247
|
-
setOptions: (setOptionsAction: Partial<import("@popperjs/core").OptionsGeneric<any>> | ((prev: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Partial<import("@popperjs/core").OptionsGeneric<any>>)) => Promise<Partial<import("@popperjs/core").State>>;
|
248
|
-
} | null;
|
249
|
-
props: any;
|
250
|
-
reference: import("tippy.js").ReferenceElement<any>;
|
251
|
-
setContent: (content: import("tippy.js").Content) => void;
|
252
|
-
setProps: (partialProps: Partial<any>) => void;
|
253
|
-
show: () => void;
|
254
|
-
state: {
|
255
|
-
isEnabled: boolean;
|
256
|
-
isVisible: boolean;
|
257
|
-
isDestroyed: boolean;
|
258
|
-
isMounted: boolean;
|
259
|
-
isShown: boolean;
|
260
|
-
};
|
261
|
-
unmount: () => void;
|
262
|
-
}[]>;
|
263
|
-
singleton: import("vue").Ref<import("tippy.js").CreateSingletonInstance<import("tippy.js").CreateSingletonProps<import("tippy.js").Props>> | undefined>;
|
264
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<ComponentObjectPropsOptions<Record<string, unknown>>>>, {}>;
|
265
|
-
export default TippySingleton;
|
266
|
-
//# sourceMappingURL=TippySingleton.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TippySingleton.d.ts","sourceRoot":"","sources":["TippySingleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,2BAA2B,EAA2B,MAAM,KAAK,CAAA;AAE1E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAGvC,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAU,oBAAqB,SAAQ,YAAY;KAAG;CACvD;AAuCD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mUAwBlB,CAAA;AAEF,eAAe,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { TippyInstances } from '../types';
|
2
|
-
import { CreateSingletonProps, Props } from 'tippy.js';
|
3
|
-
export declare function useSingleton(instances: TippyInstances, optionalProps?: Partial<CreateSingletonProps<Props>>): {
|
4
|
-
singleton: import("vue").Ref<import("tippy.js").CreateSingletonInstance<CreateSingletonProps<Props>> | undefined>;
|
5
|
-
};
|
6
|
-
//# sourceMappingURL=useSingleton.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useSingleton.d.ts","sourceRoot":"","sources":["useSingleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,UAAU,CAAA;AACxD,OAAO,EAEL,oBAAoB,EAEpB,KAAK,EACN,MAAM,UAAU,CAAA;AAGjB,wBAAgB,YAAY,CAC1B,SAAS,EAAE,cAAc,EACzB,aAAa,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;;EAgCrD"}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { Instance, Props } from 'tippy.js';
|
2
|
-
import { Ref } from 'vue';
|
3
|
-
import { TippyOptions, TippyContent } from '../types';
|
4
|
-
export declare function useTippy(el: Element | (() => Element) | Ref<Element> | Ref<Element | undefined>, opts?: TippyOptions, settings?: {
|
5
|
-
mount: boolean;
|
6
|
-
}): {
|
7
|
-
tippy: Ref<Instance<Props> | undefined>;
|
8
|
-
refresh: () => void;
|
9
|
-
refreshContent: () => void;
|
10
|
-
setContent: (value: TippyContent) => void;
|
11
|
-
setProps: (value: TippyOptions) => void;
|
12
|
-
destroy: () => void;
|
13
|
-
hide: () => void;
|
14
|
-
show: () => void;
|
15
|
-
disable: () => void;
|
16
|
-
enable: () => void;
|
17
|
-
unmount: () => void;
|
18
|
-
mount: () => void;
|
19
|
-
state: Ref<{
|
20
|
-
isEnabled: boolean;
|
21
|
-
isVisible: boolean;
|
22
|
-
isDestroyed: boolean;
|
23
|
-
isMounted: boolean;
|
24
|
-
isShown: boolean;
|
25
|
-
}>;
|
26
|
-
};
|
27
|
-
//# sourceMappingURL=useTippy.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useTippy.d.ts","sourceRoot":"","sources":["useTippy.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,QAAQ,EAAE,KAAK,EAAW,MAAM,UAAU,CAAA;AAC1D,OAAO,EAGL,GAAG,EAUJ,MAAM,KAAK,CAAA;AACZ,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AASrD,wBAAgB,QAAQ,CACtB,EAAE,EAAE,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,EACvE,IAAI,GAAE,YAAiB,EACvB,QAAQ,GAAE;IACR,KAAK,EAAE,OAAO,CAAA;CACG;;;;wBAiIQ,YAAY;sBAId,YAAY;;;;;;;;;;;;;;;EA4FtC"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { TippyComponent, TippyOptions } from '../types';
|
2
|
-
export declare function useTippyComponent(opts?: TippyOptions, children?: any): {
|
3
|
-
instance: import("vue").Ref<TippyComponent | undefined>;
|
4
|
-
TippyComponent: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
5
|
-
[key: string]: any;
|
6
|
-
}>;
|
7
|
-
};
|
8
|
-
//# sourceMappingURL=useTippyComponent.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useTippyComponent.d.ts","sourceRoot":"","sources":["useTippyComponent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAGvD,wBAAgB,iBAAiB,CAC/B,IAAI,GAAE,YAAiB,EACvB,QAAQ,CAAC,EAAE,GAAG;;;;;EAkBf"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAE/B,QAAA,MAAM,SAAS,EAAE,SAmFhB,CAAA;AAED,eAAe,SAAS,CAAA"}
|
package/dist/src/index.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import tippy, { roundArrow } from 'tippy.js';
|
2
|
-
import Tippy from './components/Tippy';
|
3
|
-
import TippySingleton from './components/TippySingleton';
|
4
|
-
import directive from './directive';
|
5
|
-
import plugin from './plugin';
|
6
|
-
import { useTippy } from './composables/useTippy';
|
7
|
-
import { useTippyComponent } from './composables/useTippyComponent';
|
8
|
-
import { useSingleton } from './composables/useSingleton';
|
9
|
-
declare const setDefaultProps: (partialProps: Partial<import("tippy.js").DefaultProps>) => void;
|
10
|
-
export { useTippy, useTippyComponent, roundArrow, tippy, useSingleton, setDefaultProps, Tippy, TippySingleton, directive, plugin, };
|
11
|
-
export * from './types';
|
12
|
-
export default plugin;
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAKZ,UAAU,EACX,MAAM,UAAU,CAAA;AAEjB,OAAO,KAAK,MAAM,oBAAoB,CAAA;AACtC,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,SAAS,MAAM,aAAa,CAAA;AACnC,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,QAAA,MAAM,eAAe,kEAAwB,CAAA;AAO7C,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,UAAU,EACV,KAAK,EACL,YAAY,EACZ,eAAe,EACf,KAAK,EACL,cAAc,EACd,SAAS,EACT,MAAM,GACP,CAAA;AAED,cAAc,SAAS,CAAA;AACvB,eAAe,MAAM,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAI5B,QAAA,MAAM,MAAM,EAAE,MAQb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import Tippy from '../components/Tippy';
|
2
|
-
import { useTippy } from '../composables';
|
3
|
-
import { Props, Content, DefaultProps, Instance } from 'tippy.js';
|
4
|
-
import { VNode, Ref, Component, UnwrapNestedRefs } from 'vue';
|
5
|
-
export declare type TippyContent = Content | VNode | Component | Ref;
|
6
|
-
export declare type TippyTarget = Element | Element[] | Ref<Element | undefined> | Ref<Element[] | undefined> | null;
|
7
|
-
export declare type TippyOptions = Partial<Omit<Props, 'content' | 'triggerTarget' | 'getReferenceClientRect'> & {
|
8
|
-
content: TippyContent;
|
9
|
-
triggerTarget: TippyTarget;
|
10
|
-
getReferenceClientRect: null | (() => DOMRect & any);
|
11
|
-
}>;
|
12
|
-
export declare type TippyComponent = InstanceType<typeof Tippy> & UnwrapNestedRefs<Pick<ReturnType<typeof useTippy>, 'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state'>>;
|
13
|
-
export interface TippyPluginOptions {
|
14
|
-
directive?: string;
|
15
|
-
component?: string;
|
16
|
-
componentSingleton?: string;
|
17
|
-
defaultProps?: Partial<DefaultProps>;
|
18
|
-
}
|
19
|
-
export declare type TippyInstance = Instance | Element | undefined;
|
20
|
-
export declare type TippyInstances = Ref<TippyInstance>[] | Ref<TippyInstance[]> | (() => TippyInstance[]);
|
21
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,qBAAqB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACjE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE7D,MAAM,CAAC,OAAO,MAAM,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,GAAG,GAAG,CAAA;AACpE,MAAM,CAAC,OAAO,MAAM,WAAW,GAC3B,OAAO,GACP,OAAO,EAAE,GACT,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,GACxB,GAAG,CAAC,OAAO,EAAE,GAAG,SAAS,CAAC,GAC1B,IAAI,CAAA;AAER,MAAM,CAAC,OAAO,MAAM,YAAY,GAAG,OAAO,CACxC,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,eAAe,GAAG,wBAAwB,CAAC,GAAG;IACpE,OAAO,EAAE,YAAY,CAAA;IACrB,aAAa,EAAE,WAAW,CAAA;IAC1B,sBAAsB,EAAE,IAAI,GAAG,CAAC,MAAM,OAAO,GAAG,GAAG,CAAC,CAAA;CACrD,CACF,CAAA;AAED,MAAM,CAAC,OAAO,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,KAAK,CAAC,GAAG,gBAAgB,CAChF,IAAI,CACF,UAAU,CAAC,OAAO,QAAQ,CAAC,EAC3B,OAAO,GAAG,SAAS,GAAG,gBAAgB,GAAG,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CACxJ,CACF,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CACrC;AAED,oBAAY,aAAa,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAA;AAC1D,oBAAY,cAAc,GAAG,GAAG,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,CAAC,aAAa,EAAE,CAAC,GAAG,CAAC,MAAM,aAAa,EAAE,CAAC,CAAA"}
|