content.vue.d.ts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. import { PopperEffect } from "./popper.js";
  2. import { PopperContentProps } from "./content.js";
  3. import { Options as Options$1, Placement as Placement$1 } from "../index.js";
  4. import * as _$vue from "vue";
  5. import * as _$_popperjs_core0 from "@popperjs/core";
  6. //#region ../../packages/components/popper/src/content.vue.d.ts
  7. declare var __VLS_13: {};
  8. type __VLS_Slots = {} & {
  9. default?: (props: typeof __VLS_13) => any;
  10. };
  11. declare const __VLS_base: _$vue.DefineComponent<PopperContentProps, {
  12. /**
  13. * @description popper content element
  14. */
  15. popperContentRef: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
  16. /**
  17. * @description popperjs instance
  18. */
  19. popperInstanceRef: _$vue.ComputedRef<_$_popperjs_core0.Instance | undefined>;
  20. /**
  21. * @description method for updating popper
  22. */
  23. updatePopper: (shouldUpdateZIndex?: boolean) => void;
  24. /**
  25. * @description content style
  26. */
  27. contentStyle: _$vue.ComputedRef<_$vue.StyleValue[]>;
  28. }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
  29. focus: () => void;
  30. blur: () => void;
  31. mouseleave: (evt: MouseEvent) => void;
  32. mouseenter: (evt: MouseEvent) => void;
  33. close: () => void;
  34. }, string, _$vue.PublicProps, Readonly<PopperContentProps> & Readonly<{
  35. onFocus?: (() => any) | undefined;
  36. onBlur?: (() => any) | undefined;
  37. onMouseleave?: ((evt: MouseEvent) => any) | undefined;
  38. onMouseenter?: ((evt: MouseEvent) => any) | undefined;
  39. onClose?: (() => any) | undefined;
  40. }>, {
  41. visible: boolean;
  42. style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
  43. offset: number;
  44. effect: PopperEffect;
  45. enterable: boolean;
  46. pure: boolean;
  47. focusOnShow: boolean;
  48. trapping: boolean;
  49. popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
  50. stopPopperMouseEvent: boolean;
  51. virtualTriggering: boolean;
  52. loop: boolean;
  53. boundariesPadding: number;
  54. gpuAcceleration: boolean;
  55. placement: Placement$1;
  56. popperOptions: Partial<Options$1>;
  57. strategy: "fixed" | "absolute";
  58. arrowOffset: number;
  59. }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
  60. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  61. declare const _default: typeof __VLS_export;
  62. type __VLS_WithSlots<T, S> = T & {
  63. new (): {
  64. $slots: S;
  65. };
  66. };
  67. //#endregion
  68. export { _default as default };