vue-tippy 6.0.0-alpha.61 → 6.0.0-alpha.62

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.61
2
+ * vue-tippy v6.0.0-alpha.62
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -411,7 +411,7 @@ export declare const Tippy: import("vue").DefineComponent<{
411
411
  }>;
412
412
  export { tippy }
413
413
 
414
- 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
+ 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'>>;
415
415
 
416
416
  export declare type TippyContent = Content | VNode | Component | Ref;
417
417
 
@@ -721,651 +721,7 @@ export declare function useTippy(el: Element | (() => Element) | Ref<Element> |
721
721
  };
722
722
 
723
723
  export declare function useTippyComponent(opts?: TippyOptions, children?: any): {
724
- instance: import("vue").Ref<({
725
- $: import("vue").ComponentInternalInstance;
726
- $data: {};
727
- $props: Partial<{
728
- content: import("tippy.js").Content;
729
- triggerTarget: Element | Element[];
730
- getReferenceClientRect: import("tippy.js").GetReferenceClientRect;
731
- animateFill: boolean;
732
- appendTo: Element | "parent" | ((ref: Element) => Element);
733
- aria: {
734
- content?: "auto" | "describedby" | "labelledby" | null | undefined;
735
- expanded?: boolean | "auto" | undefined;
736
- };
737
- delay: number | [number, number];
738
- duration: number | [number, number];
739
- followCursor: boolean | "horizontal" | "vertical" | "initial";
740
- hideOnClick: boolean | "toggle";
741
- ignoreAttributes: boolean;
742
- inlinePositioning: boolean;
743
- interactive: boolean;
744
- interactiveBorder: number;
745
- interactiveDebounce: number;
746
- moveTransition: string;
747
- offset: [number, number] | (({ placement, popper, reference, }: {
748
- placement: import("@popperjs/core").Placement;
749
- popper: import("@popperjs/core").Rect;
750
- reference: import("@popperjs/core").Rect;
751
- }) => [number, number]);
752
- placement: import("@popperjs/core").Placement;
753
- plugins: import("tippy.js").Plugin<unknown>[];
754
- popperOptions: Partial<import("@popperjs/core").Options>;
755
- render: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
756
- popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
757
- onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
758
- };
759
- showOnCreate: boolean;
760
- sticky: boolean | "reference" | "popper";
761
- touch: boolean | "hold" | ["hold", number];
762
- trigger: string;
763
- onAfterUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
764
- onBeforeUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
765
- onCreate: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
766
- onDestroy: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
767
- onHidden: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
768
- onHide: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
769
- onMount: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
770
- onShow: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
771
- onShown: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
772
- onTrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
773
- onUntrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
774
- onClickOutside: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
775
- allowHTML: boolean;
776
- animation: string | boolean;
777
- arrow: string | boolean | DocumentFragment | SVGElement;
778
- inertia: boolean;
779
- maxWidth: string | number;
780
- role: string;
781
- theme: string;
782
- zIndex: number;
783
- tag: string;
784
- contentTag: string;
785
- contentClass: string;
786
- }> & Pick<Readonly<import("vue").ExtractPropTypes<{
787
- to: {
788
- type: import("vue").PropType<string | Element>;
789
- };
790
- tag: {
791
- type: StringConstructor;
792
- default: string;
793
- };
794
- contentTag: {
795
- type: StringConstructor;
796
- default: string;
797
- };
798
- contentClass: {
799
- type: StringConstructor;
800
- default: null;
801
- };
802
- appendTo: {
803
- default: () => Element | "parent" | ((ref: Element) => Element);
804
- };
805
- aria: {
806
- default: () => {
807
- content?: "auto" | "describedby" | "labelledby" | null | undefined;
808
- expanded?: boolean | "auto" | undefined;
809
- };
810
- };
811
- delay: {
812
- default: () => number | [number, number];
813
- };
814
- duration: {
815
- default: () => number | [number, number];
816
- };
817
- getReferenceClientRect: {
818
- default: () => import("tippy.js").GetReferenceClientRect | null;
819
- };
820
- hideOnClick: {
821
- default: () => boolean | "toggle";
822
- };
823
- ignoreAttributes: {
824
- default: () => boolean;
825
- };
826
- interactive: {
827
- default: () => boolean;
828
- };
829
- interactiveBorder: {
830
- default: () => number;
831
- };
832
- interactiveDebounce: {
833
- default: () => number;
834
- };
835
- moveTransition: {
836
- default: () => string;
837
- };
838
- offset: {
839
- default: () => [number, number] | (({ placement, popper, reference, }: {
840
- placement: import("@popperjs/core").Placement;
841
- popper: import("@popperjs/core").Rect;
842
- reference: import("@popperjs/core").Rect;
843
- }) => [number, number]);
844
- };
845
- onAfterUpdate: {
846
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
847
- };
848
- onBeforeUpdate: {
849
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
850
- };
851
- onCreate: {
852
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
853
- };
854
- onDestroy: {
855
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
856
- };
857
- onHidden: {
858
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
859
- };
860
- onHide: {
861
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
862
- };
863
- onMount: {
864
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
865
- };
866
- onShow: {
867
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
868
- };
869
- onShown: {
870
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
871
- };
872
- onTrigger: {
873
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
874
- };
875
- onUntrigger: {
876
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
877
- };
878
- onClickOutside: {
879
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
880
- };
881
- placement: {
882
- default: () => import("@popperjs/core").Placement;
883
- };
884
- plugins: {
885
- default: () => import("tippy.js").Plugin<unknown>[];
886
- };
887
- popperOptions: {
888
- default: () => Partial<import("@popperjs/core").Options>;
889
- };
890
- render: {
891
- default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
892
- popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
893
- onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
894
- }) | null;
895
- };
896
- showOnCreate: {
897
- default: () => boolean;
898
- };
899
- touch: {
900
- default: () => boolean | "hold" | ["hold", number];
901
- };
902
- trigger: {
903
- default: () => string;
904
- };
905
- triggerTarget: {
906
- default: () => Element | Element[] | null;
907
- };
908
- animateFill: {
909
- default: () => boolean;
910
- };
911
- followCursor: {
912
- default: () => boolean | "horizontal" | "vertical" | "initial";
913
- };
914
- inlinePositioning: {
915
- default: () => boolean;
916
- };
917
- sticky: {
918
- default: () => boolean | "reference" | "popper";
919
- };
920
- allowHTML: {
921
- default: () => boolean;
922
- };
923
- animation: {
924
- default: () => string | boolean;
925
- };
926
- arrow: {
927
- default: () => string | boolean | DocumentFragment | SVGElement;
928
- };
929
- content: {
930
- default: () => import("tippy.js").Content;
931
- };
932
- inertia: {
933
- default: () => boolean;
934
- };
935
- maxWidth: {
936
- default: () => string | number;
937
- };
938
- role: {
939
- default: () => string;
940
- };
941
- theme: {
942
- default: () => string;
943
- };
944
- zIndex: {
945
- default: () => number;
946
- };
947
- }>> & {
948
- onState?: ((...args: any[]) => any) | undefined;
949
- } & 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">;
950
- $attrs: Record<string, unknown>;
951
- $refs: Record<string, unknown>;
952
- $slots: Readonly<{
953
- [name: string]: import("vue").Slot | undefined;
954
- }>;
955
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
956
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
957
- $emit: (event: "state", ...args: any[]) => void;
958
- $el: any;
959
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
960
- to: {
961
- type: import("vue").PropType<string | Element>;
962
- };
963
- tag: {
964
- type: StringConstructor;
965
- default: string;
966
- };
967
- contentTag: {
968
- type: StringConstructor;
969
- default: string;
970
- };
971
- contentClass: {
972
- type: StringConstructor;
973
- default: null;
974
- };
975
- appendTo: {
976
- default: () => Element | "parent" | ((ref: Element) => Element);
977
- };
978
- aria: {
979
- default: () => {
980
- content?: "auto" | "describedby" | "labelledby" | null | undefined;
981
- expanded?: boolean | "auto" | undefined;
982
- };
983
- };
984
- delay: {
985
- default: () => number | [number, number];
986
- };
987
- duration: {
988
- default: () => number | [number, number];
989
- };
990
- getReferenceClientRect: {
991
- default: () => import("tippy.js").GetReferenceClientRect | null;
992
- };
993
- hideOnClick: {
994
- default: () => boolean | "toggle";
995
- };
996
- ignoreAttributes: {
997
- default: () => boolean;
998
- };
999
- interactive: {
1000
- default: () => boolean;
1001
- };
1002
- interactiveBorder: {
1003
- default: () => number;
1004
- };
1005
- interactiveDebounce: {
1006
- default: () => number;
1007
- };
1008
- moveTransition: {
1009
- default: () => string;
1010
- };
1011
- offset: {
1012
- default: () => [number, number] | (({ placement, popper, reference, }: {
1013
- placement: import("@popperjs/core").Placement;
1014
- popper: import("@popperjs/core").Rect;
1015
- reference: import("@popperjs/core").Rect;
1016
- }) => [number, number]);
1017
- };
1018
- onAfterUpdate: {
1019
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
1020
- };
1021
- onBeforeUpdate: {
1022
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
1023
- };
1024
- onCreate: {
1025
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1026
- };
1027
- onDestroy: {
1028
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1029
- };
1030
- onHidden: {
1031
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1032
- };
1033
- onHide: {
1034
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
1035
- };
1036
- onMount: {
1037
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1038
- };
1039
- onShow: {
1040
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
1041
- };
1042
- onShown: {
1043
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1044
- };
1045
- onTrigger: {
1046
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1047
- };
1048
- onUntrigger: {
1049
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1050
- };
1051
- onClickOutside: {
1052
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1053
- };
1054
- placement: {
1055
- default: () => import("@popperjs/core").Placement;
1056
- };
1057
- plugins: {
1058
- default: () => import("tippy.js").Plugin<unknown>[];
1059
- };
1060
- popperOptions: {
1061
- default: () => Partial<import("@popperjs/core").Options>;
1062
- };
1063
- render: {
1064
- default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
1065
- popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
1066
- onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
1067
- }) | null;
1068
- };
1069
- showOnCreate: {
1070
- default: () => boolean;
1071
- };
1072
- touch: {
1073
- default: () => boolean | "hold" | ["hold", number];
1074
- };
1075
- trigger: {
1076
- default: () => string;
1077
- };
1078
- triggerTarget: {
1079
- default: () => Element | Element[] | null;
1080
- };
1081
- animateFill: {
1082
- default: () => boolean;
1083
- };
1084
- followCursor: {
1085
- default: () => boolean | "horizontal" | "vertical" | "initial";
1086
- };
1087
- inlinePositioning: {
1088
- default: () => boolean;
1089
- };
1090
- sticky: {
1091
- default: () => boolean | "reference" | "popper";
1092
- };
1093
- allowHTML: {
1094
- default: () => boolean;
1095
- };
1096
- animation: {
1097
- default: () => string | boolean;
1098
- };
1099
- arrow: {
1100
- default: () => string | boolean | DocumentFragment | SVGElement;
1101
- };
1102
- content: {
1103
- default: () => import("tippy.js").Content;
1104
- };
1105
- inertia: {
1106
- default: () => boolean;
1107
- };
1108
- maxWidth: {
1109
- default: () => string | number;
1110
- };
1111
- role: {
1112
- default: () => string;
1113
- };
1114
- theme: {
1115
- default: () => string;
1116
- };
1117
- zIndex: {
1118
- default: () => number;
1119
- };
1120
- }>> & {
1121
- onState?: ((...args: any[]) => any) | undefined;
1122
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1123
- [key: string]: any;
1124
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "state"[], string, {
1125
- content: import("tippy.js").Content;
1126
- triggerTarget: Element | Element[];
1127
- getReferenceClientRect: import("tippy.js").GetReferenceClientRect;
1128
- animateFill: boolean;
1129
- appendTo: Element | "parent" | ((ref: Element) => Element);
1130
- aria: {
1131
- content?: "auto" | "describedby" | "labelledby" | null | undefined;
1132
- expanded?: boolean | "auto" | undefined;
1133
- };
1134
- delay: number | [number, number];
1135
- duration: number | [number, number];
1136
- followCursor: boolean | "horizontal" | "vertical" | "initial";
1137
- hideOnClick: boolean | "toggle";
1138
- ignoreAttributes: boolean;
1139
- inlinePositioning: boolean;
1140
- interactive: boolean;
1141
- interactiveBorder: number;
1142
- interactiveDebounce: number;
1143
- moveTransition: string;
1144
- offset: [number, number] | (({ placement, popper, reference, }: {
1145
- placement: import("@popperjs/core").Placement;
1146
- popper: import("@popperjs/core").Rect;
1147
- reference: import("@popperjs/core").Rect;
1148
- }) => [number, number]);
1149
- placement: import("@popperjs/core").Placement;
1150
- plugins: import("tippy.js").Plugin<unknown>[];
1151
- popperOptions: Partial<import("@popperjs/core").Options>;
1152
- render: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
1153
- popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
1154
- onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
1155
- };
1156
- showOnCreate: boolean;
1157
- sticky: boolean | "reference" | "popper";
1158
- touch: boolean | "hold" | ["hold", number];
1159
- trigger: string;
1160
- onAfterUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
1161
- onBeforeUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
1162
- onCreate: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1163
- onDestroy: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1164
- onHidden: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1165
- onHide: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
1166
- onMount: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1167
- onShow: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
1168
- onShown: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1169
- onTrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1170
- onUntrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1171
- onClickOutside: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1172
- allowHTML: boolean;
1173
- animation: string | boolean;
1174
- arrow: string | boolean | DocumentFragment | SVGElement;
1175
- inertia: boolean;
1176
- maxWidth: string | number;
1177
- role: string;
1178
- theme: string;
1179
- zIndex: number;
1180
- tag: string;
1181
- contentTag: string;
1182
- contentClass: string;
1183
- }> & {
1184
- beforeCreate?: (() => void) | (() => void)[] | undefined;
1185
- created?: (() => void) | (() => void)[] | undefined;
1186
- beforeMount?: (() => void) | (() => void)[] | undefined;
1187
- mounted?: (() => void) | (() => void)[] | undefined;
1188
- beforeUpdate?: (() => void) | (() => void)[] | undefined;
1189
- updated?: (() => void) | (() => void)[] | undefined;
1190
- activated?: (() => void) | (() => void)[] | undefined;
1191
- deactivated?: (() => void) | (() => void)[] | undefined;
1192
- beforeDestroy?: (() => void) | (() => void)[] | undefined;
1193
- beforeUnmount?: (() => void) | (() => void)[] | undefined;
1194
- destroyed?: (() => void) | (() => void)[] | undefined;
1195
- unmounted?: (() => void) | (() => void)[] | undefined;
1196
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
1197
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
1198
- 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;
1199
- };
1200
- $forceUpdate: () => void;
1201
- $nextTick: typeof import("vue").nextTick;
1202
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
1203
- } & Readonly<import("vue").ExtractPropTypes<{
1204
- to: {
1205
- type: import("vue").PropType<string | Element>;
1206
- };
1207
- tag: {
1208
- type: StringConstructor;
1209
- default: string;
1210
- };
1211
- contentTag: {
1212
- type: StringConstructor;
1213
- default: string;
1214
- };
1215
- contentClass: {
1216
- type: StringConstructor;
1217
- default: null;
1218
- };
1219
- appendTo: {
1220
- default: () => Element | "parent" | ((ref: Element) => Element);
1221
- };
1222
- aria: {
1223
- default: () => {
1224
- content?: "auto" | "describedby" | "labelledby" | null | undefined;
1225
- expanded?: boolean | "auto" | undefined;
1226
- };
1227
- };
1228
- delay: {
1229
- default: () => number | [number, number];
1230
- };
1231
- duration: {
1232
- default: () => number | [number, number];
1233
- };
1234
- getReferenceClientRect: {
1235
- default: () => import("tippy.js").GetReferenceClientRect | null;
1236
- };
1237
- hideOnClick: {
1238
- default: () => boolean | "toggle";
1239
- };
1240
- ignoreAttributes: {
1241
- default: () => boolean;
1242
- };
1243
- interactive: {
1244
- default: () => boolean;
1245
- };
1246
- interactiveBorder: {
1247
- default: () => number;
1248
- };
1249
- interactiveDebounce: {
1250
- default: () => number;
1251
- };
1252
- moveTransition: {
1253
- default: () => string;
1254
- };
1255
- offset: {
1256
- default: () => [number, number] | (({ placement, popper, reference, }: {
1257
- placement: import("@popperjs/core").Placement;
1258
- popper: import("@popperjs/core").Rect;
1259
- reference: import("@popperjs/core").Rect;
1260
- }) => [number, number]);
1261
- };
1262
- onAfterUpdate: {
1263
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
1264
- };
1265
- onBeforeUpdate: {
1266
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void;
1267
- };
1268
- onCreate: {
1269
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1270
- };
1271
- onDestroy: {
1272
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1273
- };
1274
- onHidden: {
1275
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1276
- };
1277
- onHide: {
1278
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
1279
- };
1280
- onMount: {
1281
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1282
- };
1283
- onShow: {
1284
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void;
1285
- };
1286
- onShown: {
1287
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void;
1288
- };
1289
- onTrigger: {
1290
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1291
- };
1292
- onUntrigger: {
1293
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1294
- };
1295
- onClickOutside: {
1296
- default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void;
1297
- };
1298
- placement: {
1299
- default: () => import("@popperjs/core").Placement;
1300
- };
1301
- plugins: {
1302
- default: () => import("tippy.js").Plugin<unknown>[];
1303
- };
1304
- popperOptions: {
1305
- default: () => Partial<import("@popperjs/core").Options>;
1306
- };
1307
- render: {
1308
- default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => {
1309
- popper: import("tippy.js").PopperElement<import("tippy.js").Props>;
1310
- onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined;
1311
- }) | null;
1312
- };
1313
- showOnCreate: {
1314
- default: () => boolean;
1315
- };
1316
- touch: {
1317
- default: () => boolean | "hold" | ["hold", number];
1318
- };
1319
- trigger: {
1320
- default: () => string;
1321
- };
1322
- triggerTarget: {
1323
- default: () => Element | Element[] | null;
1324
- };
1325
- animateFill: {
1326
- default: () => boolean;
1327
- };
1328
- followCursor: {
1329
- default: () => boolean | "horizontal" | "vertical" | "initial";
1330
- };
1331
- inlinePositioning: {
1332
- default: () => boolean;
1333
- };
1334
- sticky: {
1335
- default: () => boolean | "reference" | "popper";
1336
- };
1337
- allowHTML: {
1338
- default: () => boolean;
1339
- };
1340
- animation: {
1341
- default: () => string | boolean;
1342
- };
1343
- arrow: {
1344
- default: () => string | boolean | DocumentFragment | SVGElement;
1345
- };
1346
- content: {
1347
- default: () => import("tippy.js").Content;
1348
- };
1349
- inertia: {
1350
- default: () => boolean;
1351
- };
1352
- maxWidth: {
1353
- default: () => string | number;
1354
- };
1355
- role: {
1356
- default: () => string;
1357
- };
1358
- theme: {
1359
- default: () => string;
1360
- };
1361
- zIndex: {
1362
- default: () => number;
1363
- };
1364
- }>> & {
1365
- onState?: ((...args: any[]) => any) | undefined;
1366
- } & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1367
- [key: string]: any;
1368
- }>> & {} & import("vue").ComponentCustomProperties) | undefined>;
724
+ instance: import("vue").Ref<TippyComponent | undefined>;
1369
725
  TippyComponent: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1370
726
  [key: string]: any;
1371
727
  }>;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.61
2
+ * vue-tippy v6.0.0-alpha.62
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.61
2
+ * vue-tippy v6.0.0-alpha.62
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.61
2
+ * vue-tippy v6.0.0-alpha.62
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.61
2
+ * vue-tippy v6.0.0-alpha.62
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-tippy v6.0.0-alpha.61
2
+ * vue-tippy v6.0.0-alpha.62
3
3
  * (c) 2022
4
4
  * @license MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-tippy",
3
- "version": "6.0.0-alpha.61",
3
+ "version": "6.0.0-alpha.62",
4
4
  "main": "index.js",
5
5
  "module": "dist/vue-tippy.mjs",
6
6
  "unpkg": "dist/vue-tippy.iife.js",
@@ -19,13 +19,10 @@ export declare type TippyOptions = Partial<
19
19
  }
20
20
  >
21
21
 
22
- export declare type TippyComponent = InstanceType<
23
- typeof Tippy &
24
- UnwrapNestedRefs<
25
- Pick<
26
- ReturnType<typeof useTippy>,
27
- 'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state'
28
- >
22
+ export declare type TippyComponent = InstanceType<typeof Tippy> & UnwrapNestedRefs<
23
+ Pick<
24
+ ReturnType<typeof useTippy>,
25
+ 'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state'
29
26
  >
30
27
  >
31
28