vue-tippy 6.0.0-alpha.60 → 6.0.0-alpha.63
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/vue-tippy.cjs +11 -11
- package/dist/vue-tippy.d.ts +27 -650
- package/dist/vue-tippy.esm-browser.js +11 -11
- package/dist/vue-tippy.iife.js +11 -11
- package/dist/vue-tippy.iife.prod.js +2 -2
- package/dist/vue-tippy.mjs +11 -11
- package/dist/vue-tippy.prod.cjs +11 -11
- package/package.json +1 -1
- package/src/components/Tippy.ts +11 -11
- package/src/types/index.ts +8 -2
package/dist/vue-tippy.d.ts
CHANGED
@@ -11,6 +11,7 @@ import { PropType } from 'vue';
|
|
11
11
|
import { Ref } from 'vue';
|
12
12
|
import { roundArrow } from 'tippy.js';
|
13
13
|
import tippy from 'tippy.js';
|
14
|
+
import { UnwrapNestedRefs } from 'vue';
|
14
15
|
import { VNode } from 'vue';
|
15
16
|
|
16
17
|
export declare const directive: Directive;
|
@@ -57,12 +58,15 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
57
58
|
default: () => import("tippy.js").GetReferenceClientRect | null;
|
58
59
|
};
|
59
60
|
hideOnClick: {
|
61
|
+
type: (StringConstructor | BooleanConstructor)[];
|
60
62
|
default: () => boolean | "toggle";
|
61
63
|
};
|
62
64
|
ignoreAttributes: {
|
65
|
+
type: BooleanConstructor;
|
63
66
|
default: () => boolean;
|
64
67
|
};
|
65
68
|
interactive: {
|
69
|
+
type: BooleanConstructor;
|
66
70
|
default: () => boolean;
|
67
71
|
};
|
68
72
|
interactiveBorder: {
|
@@ -133,9 +137,11 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
133
137
|
}) | null;
|
134
138
|
};
|
135
139
|
showOnCreate: {
|
140
|
+
type: BooleanConstructor;
|
136
141
|
default: () => boolean;
|
137
142
|
};
|
138
143
|
touch: {
|
144
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor)[];
|
139
145
|
default: () => boolean | "hold" | ["hold", number];
|
140
146
|
};
|
141
147
|
trigger: {
|
@@ -145,18 +151,23 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
145
151
|
default: () => Element | Element[] | null;
|
146
152
|
};
|
147
153
|
animateFill: {
|
154
|
+
type: BooleanConstructor;
|
148
155
|
default: () => boolean;
|
149
156
|
};
|
150
157
|
followCursor: {
|
158
|
+
type: (StringConstructor | BooleanConstructor)[];
|
151
159
|
default: () => boolean | "horizontal" | "vertical" | "initial";
|
152
160
|
};
|
153
161
|
inlinePositioning: {
|
162
|
+
type: BooleanConstructor;
|
154
163
|
default: () => boolean;
|
155
164
|
};
|
156
165
|
sticky: {
|
166
|
+
type: (StringConstructor | BooleanConstructor)[];
|
157
167
|
default: () => boolean | "reference" | "popper";
|
158
168
|
};
|
159
169
|
allowHTML: {
|
170
|
+
type: BooleanConstructor;
|
160
171
|
default: () => boolean;
|
161
172
|
};
|
162
173
|
animation: {
|
@@ -220,12 +231,15 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
220
231
|
default: () => import("tippy.js").GetReferenceClientRect | null;
|
221
232
|
};
|
222
233
|
hideOnClick: {
|
234
|
+
type: (StringConstructor | BooleanConstructor)[];
|
223
235
|
default: () => boolean | "toggle";
|
224
236
|
};
|
225
237
|
ignoreAttributes: {
|
238
|
+
type: BooleanConstructor;
|
226
239
|
default: () => boolean;
|
227
240
|
};
|
228
241
|
interactive: {
|
242
|
+
type: BooleanConstructor;
|
229
243
|
default: () => boolean;
|
230
244
|
};
|
231
245
|
interactiveBorder: {
|
@@ -296,9 +310,11 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
296
310
|
}) | null;
|
297
311
|
};
|
298
312
|
showOnCreate: {
|
313
|
+
type: BooleanConstructor;
|
299
314
|
default: () => boolean;
|
300
315
|
};
|
301
316
|
touch: {
|
317
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor)[];
|
302
318
|
default: () => boolean | "hold" | ["hold", number];
|
303
319
|
};
|
304
320
|
trigger: {
|
@@ -308,18 +324,23 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
308
324
|
default: () => Element | Element[] | null;
|
309
325
|
};
|
310
326
|
animateFill: {
|
327
|
+
type: BooleanConstructor;
|
311
328
|
default: () => boolean;
|
312
329
|
};
|
313
330
|
followCursor: {
|
331
|
+
type: (StringConstructor | BooleanConstructor)[];
|
314
332
|
default: () => boolean | "horizontal" | "vertical" | "initial";
|
315
333
|
};
|
316
334
|
inlinePositioning: {
|
335
|
+
type: BooleanConstructor;
|
317
336
|
default: () => boolean;
|
318
337
|
};
|
319
338
|
sticky: {
|
339
|
+
type: (StringConstructor | BooleanConstructor)[];
|
320
340
|
default: () => boolean | "reference" | "popper";
|
321
341
|
};
|
322
342
|
allowHTML: {
|
343
|
+
type: BooleanConstructor;
|
323
344
|
default: () => boolean;
|
324
345
|
};
|
325
346
|
animation: {
|
@@ -360,8 +381,8 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
360
381
|
};
|
361
382
|
delay: number | [number, number];
|
362
383
|
duration: number | [number, number];
|
363
|
-
followCursor:
|
364
|
-
hideOnClick:
|
384
|
+
followCursor: string | boolean;
|
385
|
+
hideOnClick: string | boolean;
|
365
386
|
ignoreAttributes: boolean;
|
366
387
|
inlinePositioning: boolean;
|
367
388
|
interactive: boolean;
|
@@ -381,8 +402,8 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
381
402
|
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
|
382
403
|
};
|
383
404
|
showOnCreate: boolean;
|
384
|
-
sticky:
|
385
|
-
touch:
|
405
|
+
sticky: string | boolean;
|
406
|
+
touch: string | boolean | unknown[];
|
386
407
|
trigger: string;
|
387
408
|
onAfterUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
388
409
|
onBeforeUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
@@ -410,7 +431,7 @@ export declare const Tippy: import("vue").DefineComponent<{
|
|
410
431
|
}>;
|
411
432
|
export { tippy }
|
412
433
|
|
413
|
-
export declare type TippyComponent = InstanceType<typeof Tippy
|
434
|
+
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'>>;
|
414
435
|
|
415
436
|
export declare type TippyContent = Content | VNode | Component | Ref;
|
416
437
|
|
@@ -720,651 +741,7 @@ export declare function useTippy(el: Element | (() => Element) | Ref<Element> |
|
|
720
741
|
};
|
721
742
|
|
722
743
|
export declare function useTippyComponent(opts?: TippyOptions, children?: any): {
|
723
|
-
instance: import("vue").Ref<
|
724
|
-
$: import("vue").ComponentInternalInstance;
|
725
|
-
$data: {};
|
726
|
-
$props: Partial<{
|
727
|
-
content: import("tippy.js").Content;
|
728
|
-
triggerTarget: Element | Element[];
|
729
|
-
getReferenceClientRect: import("tippy.js").GetReferenceClientRect;
|
730
|
-
animateFill: boolean;
|
731
|
-
appendTo: Element | "parent" | ((ref: Element) => Element);
|
732
|
-
aria: {
|
733
|
-
content?: "auto" | "describedby" | "labelledby" | null | undefined;
|
734
|
-
expanded?: boolean | "auto" | undefined;
|
735
|
-
};
|
736
|
-
delay: number | [number, number];
|
737
|
-
duration: number | [number, number];
|
738
|
-
followCursor: boolean | "horizontal" | "vertical" | "initial";
|
739
|
-
hideOnClick: boolean | "toggle";
|
740
|
-
ignoreAttributes: boolean;
|
741
|
-
inlinePositioning: boolean;
|
742
|
-
interactive: boolean;
|
743
|
-
interactiveBorder: number;
|
744
|
-
interactiveDebounce: number;
|
745
|
-
moveTransition: string;
|
746
|
-
offset: [number, number] | (({ placement, popper, reference, }: {
|
747
|
-
placement: import("@popperjs/core").Placement;
|
748
|
-
popper: import("@popperjs/core").Rect;
|
749
|
-
reference: import("@popperjs/core").Rect;
|
750
|
-
}) => [number, number]);
|
751
|
-
placement: import("@popperjs/core").Placement;
|
752
|
-
plugins: import("tippy.js").Plugin<unknown>[];
|
753
|
-
popperOptions: Partial<import("@popperjs/core").Options>;
|
754
|
-
render: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
|
755
|
-
popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
|
756
|
-
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
|
757
|
-
};
|
758
|
-
showOnCreate: boolean;
|
759
|
-
sticky: boolean | "reference" | "popper";
|
760
|
-
touch: boolean | "hold" | ["hold", number];
|
761
|
-
trigger: string;
|
762
|
-
onAfterUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
763
|
-
onBeforeUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
764
|
-
onCreate: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
765
|
-
onDestroy: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
766
|
-
onHidden: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
767
|
-
onHide: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
768
|
-
onMount: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
769
|
-
onShow: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
770
|
-
onShown: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
771
|
-
onTrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
772
|
-
onUntrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
773
|
-
onClickOutside: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
774
|
-
allowHTML: boolean;
|
775
|
-
animation: string | boolean;
|
776
|
-
arrow: string | boolean | DocumentFragment | SVGElement;
|
777
|
-
inertia: boolean;
|
778
|
-
maxWidth: string | number;
|
779
|
-
role: string;
|
780
|
-
theme: string;
|
781
|
-
zIndex: number;
|
782
|
-
tag: string;
|
783
|
-
contentTag: string;
|
784
|
-
contentClass: string;
|
785
|
-
}> & Pick<Readonly<import("vue").ExtractPropTypes<{
|
786
|
-
to: {
|
787
|
-
type: import("vue").PropType<string | Element>;
|
788
|
-
};
|
789
|
-
tag: {
|
790
|
-
type: StringConstructor;
|
791
|
-
default: string;
|
792
|
-
};
|
793
|
-
contentTag: {
|
794
|
-
type: StringConstructor;
|
795
|
-
default: string;
|
796
|
-
};
|
797
|
-
contentClass: {
|
798
|
-
type: StringConstructor;
|
799
|
-
default: null;
|
800
|
-
};
|
801
|
-
appendTo: {
|
802
|
-
default: () => Element | "parent" | ((ref: Element) => Element);
|
803
|
-
};
|
804
|
-
aria: {
|
805
|
-
default: () => {
|
806
|
-
content?: "auto" | "describedby" | "labelledby" | null | undefined;
|
807
|
-
expanded?: boolean | "auto" | undefined;
|
808
|
-
};
|
809
|
-
};
|
810
|
-
delay: {
|
811
|
-
default: () => number | [number, number];
|
812
|
-
};
|
813
|
-
duration: {
|
814
|
-
default: () => number | [number, number];
|
815
|
-
};
|
816
|
-
getReferenceClientRect: {
|
817
|
-
default: () => import("tippy.js").GetReferenceClientRect | null;
|
818
|
-
};
|
819
|
-
hideOnClick: {
|
820
|
-
default: () => boolean | "toggle";
|
821
|
-
};
|
822
|
-
ignoreAttributes: {
|
823
|
-
default: () => boolean;
|
824
|
-
};
|
825
|
-
interactive: {
|
826
|
-
default: () => boolean;
|
827
|
-
};
|
828
|
-
interactiveBorder: {
|
829
|
-
default: () => number;
|
830
|
-
};
|
831
|
-
interactiveDebounce: {
|
832
|
-
default: () => number;
|
833
|
-
};
|
834
|
-
moveTransition: {
|
835
|
-
default: () => string;
|
836
|
-
};
|
837
|
-
offset: {
|
838
|
-
default: () => [number, number] | (({ placement, popper, reference, }: {
|
839
|
-
placement: import("@popperjs/core").Placement;
|
840
|
-
popper: import("@popperjs/core").Rect;
|
841
|
-
reference: import("@popperjs/core").Rect;
|
842
|
-
}) => [number, number]);
|
843
|
-
};
|
844
|
-
onAfterUpdate: {
|
845
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
846
|
-
};
|
847
|
-
onBeforeUpdate: {
|
848
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
849
|
-
};
|
850
|
-
onCreate: {
|
851
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
852
|
-
};
|
853
|
-
onDestroy: {
|
854
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
855
|
-
};
|
856
|
-
onHidden: {
|
857
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
858
|
-
};
|
859
|
-
onHide: {
|
860
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
861
|
-
};
|
862
|
-
onMount: {
|
863
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
864
|
-
};
|
865
|
-
onShow: {
|
866
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
867
|
-
};
|
868
|
-
onShown: {
|
869
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
870
|
-
};
|
871
|
-
onTrigger: {
|
872
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
873
|
-
};
|
874
|
-
onUntrigger: {
|
875
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
876
|
-
};
|
877
|
-
onClickOutside: {
|
878
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
879
|
-
};
|
880
|
-
placement: {
|
881
|
-
default: () => import("@popperjs/core").Placement;
|
882
|
-
};
|
883
|
-
plugins: {
|
884
|
-
default: () => import("tippy.js").Plugin<unknown>[];
|
885
|
-
};
|
886
|
-
popperOptions: {
|
887
|
-
default: () => Partial<import("@popperjs/core").Options>;
|
888
|
-
};
|
889
|
-
render: {
|
890
|
-
default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
|
891
|
-
popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
|
892
|
-
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
|
893
|
-
}) | null;
|
894
|
-
};
|
895
|
-
showOnCreate: {
|
896
|
-
default: () => boolean;
|
897
|
-
};
|
898
|
-
touch: {
|
899
|
-
default: () => boolean | "hold" | ["hold", number];
|
900
|
-
};
|
901
|
-
trigger: {
|
902
|
-
default: () => string;
|
903
|
-
};
|
904
|
-
triggerTarget: {
|
905
|
-
default: () => Element | Element[] | null;
|
906
|
-
};
|
907
|
-
animateFill: {
|
908
|
-
default: () => boolean;
|
909
|
-
};
|
910
|
-
followCursor: {
|
911
|
-
default: () => boolean | "horizontal" | "vertical" | "initial";
|
912
|
-
};
|
913
|
-
inlinePositioning: {
|
914
|
-
default: () => boolean;
|
915
|
-
};
|
916
|
-
sticky: {
|
917
|
-
default: () => boolean | "reference" | "popper";
|
918
|
-
};
|
919
|
-
allowHTML: {
|
920
|
-
default: () => boolean;
|
921
|
-
};
|
922
|
-
animation: {
|
923
|
-
default: () => string | boolean;
|
924
|
-
};
|
925
|
-
arrow: {
|
926
|
-
default: () => string | boolean | DocumentFragment | SVGElement;
|
927
|
-
};
|
928
|
-
content: {
|
929
|
-
default: () => import("tippy.js").Content;
|
930
|
-
};
|
931
|
-
inertia: {
|
932
|
-
default: () => boolean;
|
933
|
-
};
|
934
|
-
maxWidth: {
|
935
|
-
default: () => string | number;
|
936
|
-
};
|
937
|
-
role: {
|
938
|
-
default: () => string;
|
939
|
-
};
|
940
|
-
theme: {
|
941
|
-
default: () => string;
|
942
|
-
};
|
943
|
-
zIndex: {
|
944
|
-
default: () => number;
|
945
|
-
};
|
946
|
-
}>> & {
|
947
|
-
onState?: ((...args: any[]) => any) | undefined;
|
948
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "onState" | "to" | "key" | "ref" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "class" | "style">;
|
949
|
-
$attrs: Record<string, unknown>;
|
950
|
-
$refs: Record<string, unknown>;
|
951
|
-
$slots: Readonly<{
|
952
|
-
[name: string]: import("vue").Slot | undefined;
|
953
|
-
}>;
|
954
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
955
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
956
|
-
$emit: (event: "state", ...args: any[]) => void;
|
957
|
-
$el: any;
|
958
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
959
|
-
to: {
|
960
|
-
type: import("vue").PropType<string | Element>;
|
961
|
-
};
|
962
|
-
tag: {
|
963
|
-
type: StringConstructor;
|
964
|
-
default: string;
|
965
|
-
};
|
966
|
-
contentTag: {
|
967
|
-
type: StringConstructor;
|
968
|
-
default: string;
|
969
|
-
};
|
970
|
-
contentClass: {
|
971
|
-
type: StringConstructor;
|
972
|
-
default: null;
|
973
|
-
};
|
974
|
-
appendTo: {
|
975
|
-
default: () => Element | "parent" | ((ref: Element) => Element);
|
976
|
-
};
|
977
|
-
aria: {
|
978
|
-
default: () => {
|
979
|
-
content?: "auto" | "describedby" | "labelledby" | null | undefined;
|
980
|
-
expanded?: boolean | "auto" | undefined;
|
981
|
-
};
|
982
|
-
};
|
983
|
-
delay: {
|
984
|
-
default: () => number | [number, number];
|
985
|
-
};
|
986
|
-
duration: {
|
987
|
-
default: () => number | [number, number];
|
988
|
-
};
|
989
|
-
getReferenceClientRect: {
|
990
|
-
default: () => import("tippy.js").GetReferenceClientRect | null;
|
991
|
-
};
|
992
|
-
hideOnClick: {
|
993
|
-
default: () => boolean | "toggle";
|
994
|
-
};
|
995
|
-
ignoreAttributes: {
|
996
|
-
default: () => boolean;
|
997
|
-
};
|
998
|
-
interactive: {
|
999
|
-
default: () => boolean;
|
1000
|
-
};
|
1001
|
-
interactiveBorder: {
|
1002
|
-
default: () => number;
|
1003
|
-
};
|
1004
|
-
interactiveDebounce: {
|
1005
|
-
default: () => number;
|
1006
|
-
};
|
1007
|
-
moveTransition: {
|
1008
|
-
default: () => string;
|
1009
|
-
};
|
1010
|
-
offset: {
|
1011
|
-
default: () => [number, number] | (({ placement, popper, reference, }: {
|
1012
|
-
placement: import("@popperjs/core").Placement;
|
1013
|
-
popper: import("@popperjs/core").Rect;
|
1014
|
-
reference: import("@popperjs/core").Rect;
|
1015
|
-
}) => [number, number]);
|
1016
|
-
};
|
1017
|
-
onAfterUpdate: {
|
1018
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
1019
|
-
};
|
1020
|
-
onBeforeUpdate: {
|
1021
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
1022
|
-
};
|
1023
|
-
onCreate: {
|
1024
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1025
|
-
};
|
1026
|
-
onDestroy: {
|
1027
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1028
|
-
};
|
1029
|
-
onHidden: {
|
1030
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1031
|
-
};
|
1032
|
-
onHide: {
|
1033
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
1034
|
-
};
|
1035
|
-
onMount: {
|
1036
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1037
|
-
};
|
1038
|
-
onShow: {
|
1039
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
1040
|
-
};
|
1041
|
-
onShown: {
|
1042
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1043
|
-
};
|
1044
|
-
onTrigger: {
|
1045
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1046
|
-
};
|
1047
|
-
onUntrigger: {
|
1048
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1049
|
-
};
|
1050
|
-
onClickOutside: {
|
1051
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1052
|
-
};
|
1053
|
-
placement: {
|
1054
|
-
default: () => import("@popperjs/core").Placement;
|
1055
|
-
};
|
1056
|
-
plugins: {
|
1057
|
-
default: () => import("tippy.js").Plugin<unknown>[];
|
1058
|
-
};
|
1059
|
-
popperOptions: {
|
1060
|
-
default: () => Partial<import("@popperjs/core").Options>;
|
1061
|
-
};
|
1062
|
-
render: {
|
1063
|
-
default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
|
1064
|
-
popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
|
1065
|
-
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
|
1066
|
-
}) | null;
|
1067
|
-
};
|
1068
|
-
showOnCreate: {
|
1069
|
-
default: () => boolean;
|
1070
|
-
};
|
1071
|
-
touch: {
|
1072
|
-
default: () => boolean | "hold" | ["hold", number];
|
1073
|
-
};
|
1074
|
-
trigger: {
|
1075
|
-
default: () => string;
|
1076
|
-
};
|
1077
|
-
triggerTarget: {
|
1078
|
-
default: () => Element | Element[] | null;
|
1079
|
-
};
|
1080
|
-
animateFill: {
|
1081
|
-
default: () => boolean;
|
1082
|
-
};
|
1083
|
-
followCursor: {
|
1084
|
-
default: () => boolean | "horizontal" | "vertical" | "initial";
|
1085
|
-
};
|
1086
|
-
inlinePositioning: {
|
1087
|
-
default: () => boolean;
|
1088
|
-
};
|
1089
|
-
sticky: {
|
1090
|
-
default: () => boolean | "reference" | "popper";
|
1091
|
-
};
|
1092
|
-
allowHTML: {
|
1093
|
-
default: () => boolean;
|
1094
|
-
};
|
1095
|
-
animation: {
|
1096
|
-
default: () => string | boolean;
|
1097
|
-
};
|
1098
|
-
arrow: {
|
1099
|
-
default: () => string | boolean | DocumentFragment | SVGElement;
|
1100
|
-
};
|
1101
|
-
content: {
|
1102
|
-
default: () => import("tippy.js").Content;
|
1103
|
-
};
|
1104
|
-
inertia: {
|
1105
|
-
default: () => boolean;
|
1106
|
-
};
|
1107
|
-
maxWidth: {
|
1108
|
-
default: () => string | number;
|
1109
|
-
};
|
1110
|
-
role: {
|
1111
|
-
default: () => string;
|
1112
|
-
};
|
1113
|
-
theme: {
|
1114
|
-
default: () => string;
|
1115
|
-
};
|
1116
|
-
zIndex: {
|
1117
|
-
default: () => number;
|
1118
|
-
};
|
1119
|
-
}>> & {
|
1120
|
-
onState?: ((...args: any[]) => any) | undefined;
|
1121
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1122
|
-
[key: string]: any;
|
1123
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "state"[], string, {
|
1124
|
-
content: import("tippy.js").Content;
|
1125
|
-
triggerTarget: Element | Element[];
|
1126
|
-
getReferenceClientRect: import("tippy.js").GetReferenceClientRect;
|
1127
|
-
animateFill: boolean;
|
1128
|
-
appendTo: Element | "parent" | ((ref: Element) => Element);
|
1129
|
-
aria: {
|
1130
|
-
content?: "auto" | "describedby" | "labelledby" | null | undefined;
|
1131
|
-
expanded?: boolean | "auto" | undefined;
|
1132
|
-
};
|
1133
|
-
delay: number | [number, number];
|
1134
|
-
duration: number | [number, number];
|
1135
|
-
followCursor: boolean | "horizontal" | "vertical" | "initial";
|
1136
|
-
hideOnClick: boolean | "toggle";
|
1137
|
-
ignoreAttributes: boolean;
|
1138
|
-
inlinePositioning: boolean;
|
1139
|
-
interactive: boolean;
|
1140
|
-
interactiveBorder: number;
|
1141
|
-
interactiveDebounce: number;
|
1142
|
-
moveTransition: string;
|
1143
|
-
offset: [number, number] | (({ placement, popper, reference, }: {
|
1144
|
-
placement: import("@popperjs/core").Placement;
|
1145
|
-
popper: import("@popperjs/core").Rect;
|
1146
|
-
reference: import("@popperjs/core").Rect;
|
1147
|
-
}) => [number, number]);
|
1148
|
-
placement: import("@popperjs/core").Placement;
|
1149
|
-
plugins: import("tippy.js").Plugin<unknown>[];
|
1150
|
-
popperOptions: Partial<import("@popperjs/core").Options>;
|
1151
|
-
render: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
|
1152
|
-
popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
|
1153
|
-
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
|
1154
|
-
};
|
1155
|
-
showOnCreate: boolean;
|
1156
|
-
sticky: boolean | "reference" | "popper";
|
1157
|
-
touch: boolean | "hold" | ["hold", number];
|
1158
|
-
trigger: string;
|
1159
|
-
onAfterUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
1160
|
-
onBeforeUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
1161
|
-
onCreate: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1162
|
-
onDestroy: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1163
|
-
onHidden: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1164
|
-
onHide: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
1165
|
-
onMount: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1166
|
-
onShow: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
1167
|
-
onShown: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1168
|
-
onTrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1169
|
-
onUntrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1170
|
-
onClickOutside: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1171
|
-
allowHTML: boolean;
|
1172
|
-
animation: string | boolean;
|
1173
|
-
arrow: string | boolean | DocumentFragment | SVGElement;
|
1174
|
-
inertia: boolean;
|
1175
|
-
maxWidth: string | number;
|
1176
|
-
role: string;
|
1177
|
-
theme: string;
|
1178
|
-
zIndex: number;
|
1179
|
-
tag: string;
|
1180
|
-
contentTag: string;
|
1181
|
-
contentClass: string;
|
1182
|
-
}> & {
|
1183
|
-
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
1184
|
-
created?: (() => void) | (() => void)[] | undefined;
|
1185
|
-
beforeMount?: (() => void) | (() => void)[] | undefined;
|
1186
|
-
mounted?: (() => void) | (() => void)[] | undefined;
|
1187
|
-
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
1188
|
-
updated?: (() => void) | (() => void)[] | undefined;
|
1189
|
-
activated?: (() => void) | (() => void)[] | undefined;
|
1190
|
-
deactivated?: (() => void) | (() => void)[] | undefined;
|
1191
|
-
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
1192
|
-
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
1193
|
-
destroyed?: (() => void) | (() => void)[] | undefined;
|
1194
|
-
unmounted?: (() => void) | (() => void)[] | undefined;
|
1195
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
1196
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
1197
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[] | undefined;
|
1198
|
-
};
|
1199
|
-
$forceUpdate: () => void;
|
1200
|
-
$nextTick: typeof import("vue").nextTick;
|
1201
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
1202
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
1203
|
-
to: {
|
1204
|
-
type: import("vue").PropType<string | Element>;
|
1205
|
-
};
|
1206
|
-
tag: {
|
1207
|
-
type: StringConstructor;
|
1208
|
-
default: string;
|
1209
|
-
};
|
1210
|
-
contentTag: {
|
1211
|
-
type: StringConstructor;
|
1212
|
-
default: string;
|
1213
|
-
};
|
1214
|
-
contentClass: {
|
1215
|
-
type: StringConstructor;
|
1216
|
-
default: null;
|
1217
|
-
};
|
1218
|
-
appendTo: {
|
1219
|
-
default: () => Element | "parent" | ((ref: Element) => Element);
|
1220
|
-
};
|
1221
|
-
aria: {
|
1222
|
-
default: () => {
|
1223
|
-
content?: "auto" | "describedby" | "labelledby" | null | undefined;
|
1224
|
-
expanded?: boolean | "auto" | undefined;
|
1225
|
-
};
|
1226
|
-
};
|
1227
|
-
delay: {
|
1228
|
-
default: () => number | [number, number];
|
1229
|
-
};
|
1230
|
-
duration: {
|
1231
|
-
default: () => number | [number, number];
|
1232
|
-
};
|
1233
|
-
getReferenceClientRect: {
|
1234
|
-
default: () => import("tippy.js").GetReferenceClientRect | null;
|
1235
|
-
};
|
1236
|
-
hideOnClick: {
|
1237
|
-
default: () => boolean | "toggle";
|
1238
|
-
};
|
1239
|
-
ignoreAttributes: {
|
1240
|
-
default: () => boolean;
|
1241
|
-
};
|
1242
|
-
interactive: {
|
1243
|
-
default: () => boolean;
|
1244
|
-
};
|
1245
|
-
interactiveBorder: {
|
1246
|
-
default: () => number;
|
1247
|
-
};
|
1248
|
-
interactiveDebounce: {
|
1249
|
-
default: () => number;
|
1250
|
-
};
|
1251
|
-
moveTransition: {
|
1252
|
-
default: () => string;
|
1253
|
-
};
|
1254
|
-
offset: {
|
1255
|
-
default: () => [number, number] | (({ placement, popper, reference, }: {
|
1256
|
-
placement: import("@popperjs/core").Placement;
|
1257
|
-
popper: import("@popperjs/core").Rect;
|
1258
|
-
reference: import("@popperjs/core").Rect;
|
1259
|
-
}) => [number, number]);
|
1260
|
-
};
|
1261
|
-
onAfterUpdate: {
|
1262
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
1263
|
-
};
|
1264
|
-
onBeforeUpdate: {
|
1265
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
|
1266
|
-
};
|
1267
|
-
onCreate: {
|
1268
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1269
|
-
};
|
1270
|
-
onDestroy: {
|
1271
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1272
|
-
};
|
1273
|
-
onHidden: {
|
1274
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1275
|
-
};
|
1276
|
-
onHide: {
|
1277
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
1278
|
-
};
|
1279
|
-
onMount: {
|
1280
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1281
|
-
};
|
1282
|
-
onShow: {
|
1283
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
|
1284
|
-
};
|
1285
|
-
onShown: {
|
1286
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
|
1287
|
-
};
|
1288
|
-
onTrigger: {
|
1289
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1290
|
-
};
|
1291
|
-
onUntrigger: {
|
1292
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1293
|
-
};
|
1294
|
-
onClickOutside: {
|
1295
|
-
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
|
1296
|
-
};
|
1297
|
-
placement: {
|
1298
|
-
default: () => import("@popperjs/core").Placement;
|
1299
|
-
};
|
1300
|
-
plugins: {
|
1301
|
-
default: () => import("tippy.js").Plugin<unknown>[];
|
1302
|
-
};
|
1303
|
-
popperOptions: {
|
1304
|
-
default: () => Partial<import("@popperjs/core").Options>;
|
1305
|
-
};
|
1306
|
-
render: {
|
1307
|
-
default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
|
1308
|
-
popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
|
1309
|
-
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
|
1310
|
-
}) | null;
|
1311
|
-
};
|
1312
|
-
showOnCreate: {
|
1313
|
-
default: () => boolean;
|
1314
|
-
};
|
1315
|
-
touch: {
|
1316
|
-
default: () => boolean | "hold" | ["hold", number];
|
1317
|
-
};
|
1318
|
-
trigger: {
|
1319
|
-
default: () => string;
|
1320
|
-
};
|
1321
|
-
triggerTarget: {
|
1322
|
-
default: () => Element | Element[] | null;
|
1323
|
-
};
|
1324
|
-
animateFill: {
|
1325
|
-
default: () => boolean;
|
1326
|
-
};
|
1327
|
-
followCursor: {
|
1328
|
-
default: () => boolean | "horizontal" | "vertical" | "initial";
|
1329
|
-
};
|
1330
|
-
inlinePositioning: {
|
1331
|
-
default: () => boolean;
|
1332
|
-
};
|
1333
|
-
sticky: {
|
1334
|
-
default: () => boolean | "reference" | "popper";
|
1335
|
-
};
|
1336
|
-
allowHTML: {
|
1337
|
-
default: () => boolean;
|
1338
|
-
};
|
1339
|
-
animation: {
|
1340
|
-
default: () => string | boolean;
|
1341
|
-
};
|
1342
|
-
arrow: {
|
1343
|
-
default: () => string | boolean | DocumentFragment | SVGElement;
|
1344
|
-
};
|
1345
|
-
content: {
|
1346
|
-
default: () => import("tippy.js").Content;
|
1347
|
-
};
|
1348
|
-
inertia: {
|
1349
|
-
default: () => boolean;
|
1350
|
-
};
|
1351
|
-
maxWidth: {
|
1352
|
-
default: () => string | number;
|
1353
|
-
};
|
1354
|
-
role: {
|
1355
|
-
default: () => string;
|
1356
|
-
};
|
1357
|
-
theme: {
|
1358
|
-
default: () => string;
|
1359
|
-
};
|
1360
|
-
zIndex: {
|
1361
|
-
default: () => number;
|
1362
|
-
};
|
1363
|
-
}>> & {
|
1364
|
-
onState?: ((...args: any[]) => any) | undefined;
|
1365
|
-
} & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1366
|
-
[key: string]: any;
|
1367
|
-
}>> & {} & import("vue").ComponentCustomProperties) | undefined>;
|
744
|
+
instance: import("vue").Ref<TippyComponent | undefined>;
|
1368
745
|
TippyComponent: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
1369
746
|
[key: string]: any;
|
1370
747
|
}>;
|