twcpt 0.0.20 → 0.0.22
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/dist/components/j-tw-confirm-dialog/index.d.ts +30 -3
- package/dist/components/j-tw-confirm-dialog/types.d.ts +34 -4
- package/dist/components/j-tw-copy-text/index.d.ts +3 -0
- package/dist/components/j-tw-copy-text/types.d.ts +16 -0
- package/dist/components/j-tw-input/index.d.ts +15 -0
- package/dist/components/j-tw-input/types.d.ts +1 -1
- package/dist/components/j-tw-permission/index.d.ts +2 -0
- package/dist/components/j-tw-permission/types.d.ts +45 -0
- package/dist/components/j-tw-search-box/types.d.ts +1 -0
- package/dist/components/j-tw-table/index.d.ts +794 -2
- package/dist/global.d.ts +20 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/twcpt.cjs.js +10 -10
- package/dist/twcpt.es.js +4764 -4533
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PropType, DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, CreateComponentPublicInstanceWithMixins, CSSProperties, StyleValue, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, ObjectPlugin, ObjectDirective, Component, VNode, RendererNode, RendererElement, ComponentInternalInstance, Attrs, Slot, ComponentPublicInstance, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
2
|
import { JTWTableColumn, JTWTablePagination } from './types';
|
|
3
|
-
import { PopoverProps, PopperInstance, PopperEffect, Placement, Options, TooltipTriggerType, CheckboxProps, CheckboxValueType, ComponentSize, CheckboxGroupProps, CheckboxGroupValueType, RadioProps, RadioButtonProps, RadioGroupProps, radioOptionProp, ButtonType, ButtonNativeType, ButtonProps, UseTooltipProps, TooltipContentInstance } from 'element-plus';
|
|
3
|
+
import { PopoverProps, PopperInstance, PopperEffect, Placement, Options, TooltipTriggerType, CheckboxProps, CheckboxValueType, ComponentSize, CheckboxGroupProps, CheckboxGroupValueType, RadioProps, RadioButtonProps, RadioGroupProps, radioOptionProp, ButtonType, ButtonNativeType, ButtonProps, UseTooltipProps, TooltipContentInstance, Measurable } from 'element-plus';
|
|
4
4
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
5
5
|
import { SFCWithInstall, EpPropFinalized, EpPropMergeType, IconPropType } from 'element-plus/es/utils/index.mjs';
|
|
6
|
-
import { JTWBtnSizeType, JTWBtnTypeType, JTWBtnTooltipConfig } from '../..';
|
|
6
|
+
import { JTWBtnSizeType, JTWBtnTypeType, JTWBtnTooltipConfig, JTWTooltipPlacementType, JTWTooltipEffectType, JTWTooltipTriggerType } from '../..';
|
|
7
7
|
import { JTWBtnColorType } from '../j-tw-btn/types';
|
|
8
8
|
import { OnCleanup } from '@vue/reactivity';
|
|
9
9
|
import { ButtonGroupProps } from 'element-plus/es/components/button/src/button-group.mjs';
|
|
@@ -73,6 +73,21 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
73
73
|
prop: string;
|
|
74
74
|
order: string;
|
|
75
75
|
}) => void;
|
|
76
|
+
sortState: Ref<{
|
|
77
|
+
prop: string;
|
|
78
|
+
order: "asc" | "desc" | null;
|
|
79
|
+
}, {
|
|
80
|
+
prop: string;
|
|
81
|
+
order: "asc" | "desc" | null;
|
|
82
|
+
} | {
|
|
83
|
+
prop: string;
|
|
84
|
+
order: "asc" | "desc" | null;
|
|
85
|
+
}>;
|
|
86
|
+
getSortClass: (col: JTWTableColumn) => {
|
|
87
|
+
'is-asc': boolean;
|
|
88
|
+
'is-desc': boolean;
|
|
89
|
+
};
|
|
90
|
+
handleSortClick: (col: JTWTableColumn) => void;
|
|
76
91
|
isFilterActive: (col: JTWTableColumn) => boolean;
|
|
77
92
|
isFilterSelected: (col: JTWTableColumn, value: any) => boolean;
|
|
78
93
|
handleFilterSelect: (col: JTWTableColumn, value: any, selected: boolean) => void;
|
|
@@ -82,6 +97,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
82
97
|
handleFilterReset: (col: JTWTableColumn) => void;
|
|
83
98
|
handleSizeChange: (size: number) => void;
|
|
84
99
|
handleCurrentChange: (page: number) => void;
|
|
100
|
+
setLabelRef: (el: any, key: string) => void;
|
|
101
|
+
checkOverflow: (key: string) => void;
|
|
102
|
+
isLabelOverflowing: (key: string) => boolean;
|
|
85
103
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
86
104
|
selectionChange: (_selection: any[]) => true;
|
|
87
105
|
sortChange: (_data: {
|
|
@@ -1559,5 +1577,779 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1559
1577
|
};
|
|
1560
1578
|
})>;
|
|
1561
1579
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1580
|
+
JTWTooltip: DefineComponent<ExtractPropTypes<{
|
|
1581
|
+
content: {
|
|
1582
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1583
|
+
default: string;
|
|
1584
|
+
};
|
|
1585
|
+
placement: {
|
|
1586
|
+
type: PropType< JTWTooltipPlacementType>;
|
|
1587
|
+
default: "top";
|
|
1588
|
+
validator: (value: JTWTooltipPlacementType) => boolean;
|
|
1589
|
+
};
|
|
1590
|
+
effect: {
|
|
1591
|
+
type: PropType< JTWTooltipEffectType>;
|
|
1592
|
+
default: "dark";
|
|
1593
|
+
validator: (value: JTWTooltipEffectType) => boolean;
|
|
1594
|
+
};
|
|
1595
|
+
trigger: {
|
|
1596
|
+
type: PropType< JTWTooltipTriggerType>;
|
|
1597
|
+
default: "hover";
|
|
1598
|
+
validator: (value: JTWTooltipTriggerType) => boolean;
|
|
1599
|
+
};
|
|
1600
|
+
showArrow: {
|
|
1601
|
+
type: BooleanConstructor;
|
|
1602
|
+
default: boolean;
|
|
1603
|
+
};
|
|
1604
|
+
openDelay: {
|
|
1605
|
+
type: NumberConstructor;
|
|
1606
|
+
default: number;
|
|
1607
|
+
};
|
|
1608
|
+
closeDelay: {
|
|
1609
|
+
type: NumberConstructor;
|
|
1610
|
+
default: number;
|
|
1611
|
+
};
|
|
1612
|
+
offset: {
|
|
1613
|
+
type: NumberConstructor;
|
|
1614
|
+
default: number;
|
|
1615
|
+
};
|
|
1616
|
+
disabled: {
|
|
1617
|
+
type: BooleanConstructor;
|
|
1618
|
+
default: boolean;
|
|
1619
|
+
};
|
|
1620
|
+
popperClass: {
|
|
1621
|
+
type: StringConstructor;
|
|
1622
|
+
default: undefined;
|
|
1623
|
+
};
|
|
1624
|
+
popperStyle: {
|
|
1625
|
+
type: PropType<string | Record<string, string>>;
|
|
1626
|
+
default: undefined;
|
|
1627
|
+
};
|
|
1628
|
+
}>, {
|
|
1629
|
+
computedPopperClass: ComputedRef<string>;
|
|
1630
|
+
elTooltipRef: Ref<({
|
|
1631
|
+
$: ComponentInternalInstance;
|
|
1632
|
+
$data: {};
|
|
1633
|
+
$props: {
|
|
1634
|
+
readonly showArrow?: boolean | undefined;
|
|
1635
|
+
readonly "onUpdate:visible"?: (((value: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
1636
|
+
readonly role?: ("dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree") | undefined;
|
|
1637
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1638
|
+
readonly content?: string | undefined;
|
|
1639
|
+
readonly rawContent?: boolean | undefined;
|
|
1640
|
+
readonly persistent?: boolean | undefined;
|
|
1641
|
+
readonly visible?: boolean | null | undefined;
|
|
1642
|
+
readonly transition?: string | undefined;
|
|
1643
|
+
readonly teleported?: boolean | undefined;
|
|
1644
|
+
readonly disabled?: boolean | undefined;
|
|
1645
|
+
readonly ariaLabel?: string | undefined;
|
|
1646
|
+
readonly showAfter?: number | undefined;
|
|
1647
|
+
readonly hideAfter?: number | undefined;
|
|
1648
|
+
readonly autoClose?: number | undefined;
|
|
1649
|
+
readonly style?: StyleValue;
|
|
1650
|
+
readonly id?: string | undefined;
|
|
1651
|
+
readonly className?: (string | {
|
|
1652
|
+
[x: string]: boolean;
|
|
1653
|
+
} | (string | {
|
|
1654
|
+
[x: string]: boolean;
|
|
1655
|
+
} | (string | {
|
|
1656
|
+
[x: string]: boolean;
|
|
1657
|
+
} | (string | {
|
|
1658
|
+
[x: string]: boolean;
|
|
1659
|
+
} | (string | {
|
|
1660
|
+
[x: string]: boolean;
|
|
1661
|
+
} | (string | {
|
|
1662
|
+
[x: string]: boolean;
|
|
1663
|
+
} | (string | {
|
|
1664
|
+
[x: string]: boolean;
|
|
1665
|
+
} | (string | {
|
|
1666
|
+
[x: string]: boolean;
|
|
1667
|
+
} | (string | {
|
|
1668
|
+
[x: string]: boolean;
|
|
1669
|
+
} | (string | {
|
|
1670
|
+
[x: string]: boolean;
|
|
1671
|
+
} | (string | {
|
|
1672
|
+
[x: string]: boolean;
|
|
1673
|
+
} | (string | {
|
|
1674
|
+
[x: string]: boolean;
|
|
1675
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
1676
|
+
readonly effect?: PopperEffect | undefined;
|
|
1677
|
+
readonly enterable?: boolean | undefined;
|
|
1678
|
+
readonly pure?: boolean | undefined;
|
|
1679
|
+
readonly focusOnShow?: boolean | undefined;
|
|
1680
|
+
readonly trapping?: boolean | undefined;
|
|
1681
|
+
readonly popperClass?: (string | {
|
|
1682
|
+
[x: string]: boolean;
|
|
1683
|
+
} | (string | {
|
|
1684
|
+
[x: string]: boolean;
|
|
1685
|
+
} | (string | {
|
|
1686
|
+
[x: string]: boolean;
|
|
1687
|
+
} | (string | {
|
|
1688
|
+
[x: string]: boolean;
|
|
1689
|
+
} | (string | {
|
|
1690
|
+
[x: string]: boolean;
|
|
1691
|
+
} | (string | {
|
|
1692
|
+
[x: string]: boolean;
|
|
1693
|
+
} | (string | {
|
|
1694
|
+
[x: string]: boolean;
|
|
1695
|
+
} | (string | {
|
|
1696
|
+
[x: string]: boolean;
|
|
1697
|
+
} | (string | {
|
|
1698
|
+
[x: string]: boolean;
|
|
1699
|
+
} | (string | {
|
|
1700
|
+
[x: string]: boolean;
|
|
1701
|
+
} | (string | {
|
|
1702
|
+
[x: string]: boolean;
|
|
1703
|
+
} | (string | {
|
|
1704
|
+
[x: string]: boolean;
|
|
1705
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
1706
|
+
readonly popperStyle?: StyleValue;
|
|
1707
|
+
readonly referenceEl?: HTMLElement | undefined;
|
|
1708
|
+
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
1709
|
+
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
1710
|
+
readonly virtualTriggering?: boolean | undefined;
|
|
1711
|
+
readonly zIndex?: number | undefined;
|
|
1712
|
+
readonly loop?: boolean | undefined;
|
|
1713
|
+
readonly boundariesPadding?: number | undefined;
|
|
1714
|
+
readonly fallbackPlacements?: Placement[] | undefined;
|
|
1715
|
+
readonly gpuAcceleration?: boolean | undefined;
|
|
1716
|
+
readonly offset?: number | undefined;
|
|
1717
|
+
readonly placement?: Placement | undefined;
|
|
1718
|
+
readonly popperOptions?: Partial< Options> | undefined;
|
|
1719
|
+
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
1720
|
+
readonly arrowOffset?: number | undefined;
|
|
1721
|
+
readonly trigger?: Arrayable<TooltipTriggerType> | undefined;
|
|
1722
|
+
readonly triggerKeys?: string[] | undefined;
|
|
1723
|
+
readonly focusOnTarget?: boolean | undefined;
|
|
1724
|
+
readonly virtualRef?: Measurable | undefined;
|
|
1725
|
+
readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
1726
|
+
readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
1727
|
+
readonly onClick?: ((e: PointerEvent) => void) | undefined;
|
|
1728
|
+
readonly onKeydown?: ((e: KeyboardEvent) => void) | undefined;
|
|
1729
|
+
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
1730
|
+
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
1731
|
+
readonly onContextmenu?: ((e: PointerEvent) => void) | undefined;
|
|
1732
|
+
readonly open?: boolean | undefined;
|
|
1733
|
+
readonly onClose?: ((...args: any[]) => any) | undefined | undefined;
|
|
1734
|
+
readonly "onBefore-show"?: ((...args: any[]) => any) | undefined | undefined;
|
|
1735
|
+
readonly "onBefore-hide"?: ((...args: any[]) => any) | undefined | undefined;
|
|
1736
|
+
readonly onShow?: ((...args: any[]) => any) | undefined | undefined;
|
|
1737
|
+
readonly onHide?: ((...args: any[]) => any) | undefined | undefined;
|
|
1738
|
+
readonly onOpen?: ((...args: any[]) => any) | undefined | undefined;
|
|
1739
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1740
|
+
$attrs: Attrs;
|
|
1741
|
+
$refs: {
|
|
1742
|
+
[x: string]: unknown;
|
|
1743
|
+
};
|
|
1744
|
+
$slots: Readonly<{
|
|
1745
|
+
[name: string]: Slot<any> | undefined;
|
|
1746
|
+
}>;
|
|
1747
|
+
$root: ComponentPublicInstance | null;
|
|
1748
|
+
$parent: ComponentPublicInstance | null;
|
|
1749
|
+
$host: Element | null;
|
|
1750
|
+
$emit: ((event: "open", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void);
|
|
1751
|
+
$el: any;
|
|
1752
|
+
$options: ComponentOptionsBase<Readonly< UseTooltipProps> & Readonly<{
|
|
1753
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1754
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1755
|
+
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
1756
|
+
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
1757
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
1758
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
1759
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1760
|
+
}>, {
|
|
1761
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
1762
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
1763
|
+
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
1764
|
+
updatePopper: () => void;
|
|
1765
|
+
onOpen: (event?: Event, delay?: number) => void;
|
|
1766
|
+
onClose: (event?: Event, delay?: number) => void;
|
|
1767
|
+
hide: (event?: Event) => void;
|
|
1768
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1769
|
+
close: (...args: any[]) => void;
|
|
1770
|
+
"update:visible": (...args: any[]) => void;
|
|
1771
|
+
"before-show": (...args: any[]) => void;
|
|
1772
|
+
"before-hide": (...args: any[]) => void;
|
|
1773
|
+
show: (...args: any[]) => void;
|
|
1774
|
+
hide: (...args: any[]) => void;
|
|
1775
|
+
open: (...args: any[]) => void;
|
|
1776
|
+
}, string, {
|
|
1777
|
+
effect: PopperEffect;
|
|
1778
|
+
placement: Placement;
|
|
1779
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1780
|
+
teleported: boolean;
|
|
1781
|
+
visible: boolean | null;
|
|
1782
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
1783
|
+
enterable: boolean;
|
|
1784
|
+
pure: boolean;
|
|
1785
|
+
focusOnShow: boolean;
|
|
1786
|
+
trapping: boolean;
|
|
1787
|
+
stopPopperMouseEvent: boolean;
|
|
1788
|
+
virtualTriggering: boolean;
|
|
1789
|
+
loop: boolean;
|
|
1790
|
+
boundariesPadding: number;
|
|
1791
|
+
gpuAcceleration: boolean;
|
|
1792
|
+
offset: number;
|
|
1793
|
+
popperOptions: Partial< Options>;
|
|
1794
|
+
strategy: "absolute" | "fixed";
|
|
1795
|
+
arrowOffset: number;
|
|
1796
|
+
showArrow: boolean;
|
|
1797
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
1798
|
+
content: string;
|
|
1799
|
+
showAfter: number;
|
|
1800
|
+
hideAfter: number;
|
|
1801
|
+
autoClose: number;
|
|
1802
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
1803
|
+
triggerKeys: string[];
|
|
1804
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1805
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1806
|
+
created?: (() => void) | (() => void)[];
|
|
1807
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1808
|
+
mounted?: (() => void) | (() => void)[];
|
|
1809
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1810
|
+
updated?: (() => void) | (() => void)[];
|
|
1811
|
+
activated?: (() => void) | (() => void)[];
|
|
1812
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1813
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1814
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1815
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1816
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1817
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1818
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1819
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1820
|
+
};
|
|
1821
|
+
$forceUpdate: () => void;
|
|
1822
|
+
$nextTick: nextTick;
|
|
1823
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1824
|
+
} & Readonly<{
|
|
1825
|
+
effect: PopperEffect;
|
|
1826
|
+
placement: Placement;
|
|
1827
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1828
|
+
teleported: boolean;
|
|
1829
|
+
visible: boolean | null;
|
|
1830
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
1831
|
+
enterable: boolean;
|
|
1832
|
+
pure: boolean;
|
|
1833
|
+
focusOnShow: boolean;
|
|
1834
|
+
trapping: boolean;
|
|
1835
|
+
stopPopperMouseEvent: boolean;
|
|
1836
|
+
virtualTriggering: boolean;
|
|
1837
|
+
loop: boolean;
|
|
1838
|
+
boundariesPadding: number;
|
|
1839
|
+
gpuAcceleration: boolean;
|
|
1840
|
+
offset: number;
|
|
1841
|
+
popperOptions: Partial< Options>;
|
|
1842
|
+
strategy: "absolute" | "fixed";
|
|
1843
|
+
arrowOffset: number;
|
|
1844
|
+
showArrow: boolean;
|
|
1845
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
1846
|
+
content: string;
|
|
1847
|
+
showAfter: number;
|
|
1848
|
+
hideAfter: number;
|
|
1849
|
+
autoClose: number;
|
|
1850
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
1851
|
+
triggerKeys: string[];
|
|
1852
|
+
}> & Omit<Readonly< UseTooltipProps> & Readonly<{
|
|
1853
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1854
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1855
|
+
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
1856
|
+
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
1857
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
1858
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
1859
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1860
|
+
}>, "style" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "placement" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onClose" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & ShallowUnwrapRef<{
|
|
1861
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
1862
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
1863
|
+
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
1864
|
+
updatePopper: () => void;
|
|
1865
|
+
onOpen: (event?: Event, delay?: number) => void;
|
|
1866
|
+
onClose: (event?: Event, delay?: number) => void;
|
|
1867
|
+
hide: (event?: Event) => void;
|
|
1868
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1869
|
+
$slots: {
|
|
1870
|
+
default?: (props: {}) => any;
|
|
1871
|
+
} & {
|
|
1872
|
+
content?: (props: {}) => any;
|
|
1873
|
+
};
|
|
1874
|
+
}) | null, ({
|
|
1875
|
+
$: ComponentInternalInstance;
|
|
1876
|
+
$data: {};
|
|
1877
|
+
$props: {
|
|
1878
|
+
readonly showArrow?: boolean | undefined;
|
|
1879
|
+
readonly "onUpdate:visible"?: (((value: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
1880
|
+
readonly role?: ("dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree") | undefined;
|
|
1881
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1882
|
+
readonly content?: string | undefined;
|
|
1883
|
+
readonly rawContent?: boolean | undefined;
|
|
1884
|
+
readonly persistent?: boolean | undefined;
|
|
1885
|
+
readonly visible?: boolean | null | undefined;
|
|
1886
|
+
readonly transition?: string | undefined;
|
|
1887
|
+
readonly teleported?: boolean | undefined;
|
|
1888
|
+
readonly disabled?: boolean | undefined;
|
|
1889
|
+
readonly ariaLabel?: string | undefined;
|
|
1890
|
+
readonly showAfter?: number | undefined;
|
|
1891
|
+
readonly hideAfter?: number | undefined;
|
|
1892
|
+
readonly autoClose?: number | undefined;
|
|
1893
|
+
readonly style?: StyleValue;
|
|
1894
|
+
readonly id?: string | undefined;
|
|
1895
|
+
readonly className?: (string | {
|
|
1896
|
+
[x: string]: boolean;
|
|
1897
|
+
} | (string | {
|
|
1898
|
+
[x: string]: boolean;
|
|
1899
|
+
} | (string | {
|
|
1900
|
+
[x: string]: boolean;
|
|
1901
|
+
} | (string | {
|
|
1902
|
+
[x: string]: boolean;
|
|
1903
|
+
} | (string | {
|
|
1904
|
+
[x: string]: boolean;
|
|
1905
|
+
} | (string | {
|
|
1906
|
+
[x: string]: boolean;
|
|
1907
|
+
} | (string | {
|
|
1908
|
+
[x: string]: boolean;
|
|
1909
|
+
} | (string | {
|
|
1910
|
+
[x: string]: boolean;
|
|
1911
|
+
} | (string | {
|
|
1912
|
+
[x: string]: boolean;
|
|
1913
|
+
} | (string | {
|
|
1914
|
+
[x: string]: boolean;
|
|
1915
|
+
} | (string | {
|
|
1916
|
+
[x: string]: boolean;
|
|
1917
|
+
} | (string | {
|
|
1918
|
+
[x: string]: boolean;
|
|
1919
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
1920
|
+
readonly effect?: PopperEffect | undefined;
|
|
1921
|
+
readonly enterable?: boolean | undefined;
|
|
1922
|
+
readonly pure?: boolean | undefined;
|
|
1923
|
+
readonly focusOnShow?: boolean | undefined;
|
|
1924
|
+
readonly trapping?: boolean | undefined;
|
|
1925
|
+
readonly popperClass?: (string | {
|
|
1926
|
+
[x: string]: boolean;
|
|
1927
|
+
} | (string | {
|
|
1928
|
+
[x: string]: boolean;
|
|
1929
|
+
} | (string | {
|
|
1930
|
+
[x: string]: boolean;
|
|
1931
|
+
} | (string | {
|
|
1932
|
+
[x: string]: boolean;
|
|
1933
|
+
} | (string | {
|
|
1934
|
+
[x: string]: boolean;
|
|
1935
|
+
} | (string | {
|
|
1936
|
+
[x: string]: boolean;
|
|
1937
|
+
} | (string | {
|
|
1938
|
+
[x: string]: boolean;
|
|
1939
|
+
} | (string | {
|
|
1940
|
+
[x: string]: boolean;
|
|
1941
|
+
} | (string | {
|
|
1942
|
+
[x: string]: boolean;
|
|
1943
|
+
} | (string | {
|
|
1944
|
+
[x: string]: boolean;
|
|
1945
|
+
} | (string | {
|
|
1946
|
+
[x: string]: boolean;
|
|
1947
|
+
} | (string | {
|
|
1948
|
+
[x: string]: boolean;
|
|
1949
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
1950
|
+
readonly popperStyle?: StyleValue;
|
|
1951
|
+
readonly referenceEl?: HTMLElement | undefined;
|
|
1952
|
+
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
1953
|
+
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
1954
|
+
readonly virtualTriggering?: boolean | undefined;
|
|
1955
|
+
readonly zIndex?: number | undefined;
|
|
1956
|
+
readonly loop?: boolean | undefined;
|
|
1957
|
+
readonly boundariesPadding?: number | undefined;
|
|
1958
|
+
readonly fallbackPlacements?: Placement[] | undefined;
|
|
1959
|
+
readonly gpuAcceleration?: boolean | undefined;
|
|
1960
|
+
readonly offset?: number | undefined;
|
|
1961
|
+
readonly placement?: Placement | undefined;
|
|
1962
|
+
readonly popperOptions?: Partial< Options> | undefined;
|
|
1963
|
+
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
1964
|
+
readonly arrowOffset?: number | undefined;
|
|
1965
|
+
readonly trigger?: Arrayable<TooltipTriggerType> | undefined;
|
|
1966
|
+
readonly triggerKeys?: string[] | undefined;
|
|
1967
|
+
readonly focusOnTarget?: boolean | undefined;
|
|
1968
|
+
readonly virtualRef?: Measurable | undefined;
|
|
1969
|
+
readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
1970
|
+
readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
1971
|
+
readonly onClick?: ((e: PointerEvent) => void) | undefined;
|
|
1972
|
+
readonly onKeydown?: ((e: KeyboardEvent) => void) | undefined;
|
|
1973
|
+
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
1974
|
+
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
1975
|
+
readonly onContextmenu?: ((e: PointerEvent) => void) | undefined;
|
|
1976
|
+
readonly open?: boolean | undefined;
|
|
1977
|
+
readonly onClose?: ((...args: any[]) => any) | undefined | undefined;
|
|
1978
|
+
readonly "onBefore-show"?: ((...args: any[]) => any) | undefined | undefined;
|
|
1979
|
+
readonly "onBefore-hide"?: ((...args: any[]) => any) | undefined | undefined;
|
|
1980
|
+
readonly onShow?: ((...args: any[]) => any) | undefined | undefined;
|
|
1981
|
+
readonly onHide?: ((...args: any[]) => any) | undefined | undefined;
|
|
1982
|
+
readonly onOpen?: ((...args: any[]) => any) | undefined | undefined;
|
|
1983
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1984
|
+
$attrs: Attrs;
|
|
1985
|
+
$refs: {
|
|
1986
|
+
[x: string]: unknown;
|
|
1987
|
+
};
|
|
1988
|
+
$slots: Readonly<{
|
|
1989
|
+
[name: string]: Slot<any> | undefined;
|
|
1990
|
+
}>;
|
|
1991
|
+
$root: ComponentPublicInstance | null;
|
|
1992
|
+
$parent: ComponentPublicInstance | null;
|
|
1993
|
+
$host: Element | null;
|
|
1994
|
+
$emit: ((event: "open", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void);
|
|
1995
|
+
$el: any;
|
|
1996
|
+
$options: ComponentOptionsBase<Readonly< UseTooltipProps> & Readonly<{
|
|
1997
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1998
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1999
|
+
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
2000
|
+
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
2001
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
2002
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
2003
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
2004
|
+
}>, {
|
|
2005
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
2006
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
2007
|
+
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
2008
|
+
updatePopper: () => void;
|
|
2009
|
+
onOpen: (event?: Event, delay?: number) => void;
|
|
2010
|
+
onClose: (event?: Event, delay?: number) => void;
|
|
2011
|
+
hide: (event?: Event) => void;
|
|
2012
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2013
|
+
close: (...args: any[]) => void;
|
|
2014
|
+
"update:visible": (...args: any[]) => void;
|
|
2015
|
+
"before-show": (...args: any[]) => void;
|
|
2016
|
+
"before-hide": (...args: any[]) => void;
|
|
2017
|
+
show: (...args: any[]) => void;
|
|
2018
|
+
hide: (...args: any[]) => void;
|
|
2019
|
+
open: (...args: any[]) => void;
|
|
2020
|
+
}, string, {
|
|
2021
|
+
effect: PopperEffect;
|
|
2022
|
+
placement: Placement;
|
|
2023
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
2024
|
+
teleported: boolean;
|
|
2025
|
+
visible: boolean | null;
|
|
2026
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
2027
|
+
enterable: boolean;
|
|
2028
|
+
pure: boolean;
|
|
2029
|
+
focusOnShow: boolean;
|
|
2030
|
+
trapping: boolean;
|
|
2031
|
+
stopPopperMouseEvent: boolean;
|
|
2032
|
+
virtualTriggering: boolean;
|
|
2033
|
+
loop: boolean;
|
|
2034
|
+
boundariesPadding: number;
|
|
2035
|
+
gpuAcceleration: boolean;
|
|
2036
|
+
offset: number;
|
|
2037
|
+
popperOptions: Partial< Options>;
|
|
2038
|
+
strategy: "absolute" | "fixed";
|
|
2039
|
+
arrowOffset: number;
|
|
2040
|
+
showArrow: boolean;
|
|
2041
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
2042
|
+
content: string;
|
|
2043
|
+
showAfter: number;
|
|
2044
|
+
hideAfter: number;
|
|
2045
|
+
autoClose: number;
|
|
2046
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
2047
|
+
triggerKeys: string[];
|
|
2048
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2049
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2050
|
+
created?: (() => void) | (() => void)[];
|
|
2051
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2052
|
+
mounted?: (() => void) | (() => void)[];
|
|
2053
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2054
|
+
updated?: (() => void) | (() => void)[];
|
|
2055
|
+
activated?: (() => void) | (() => void)[];
|
|
2056
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2057
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2058
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2059
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2060
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2061
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2062
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2063
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2064
|
+
};
|
|
2065
|
+
$forceUpdate: () => void;
|
|
2066
|
+
$nextTick: nextTick;
|
|
2067
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2068
|
+
} & Readonly<{
|
|
2069
|
+
effect: PopperEffect;
|
|
2070
|
+
placement: Placement;
|
|
2071
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
2072
|
+
teleported: boolean;
|
|
2073
|
+
visible: boolean | null;
|
|
2074
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
2075
|
+
enterable: boolean;
|
|
2076
|
+
pure: boolean;
|
|
2077
|
+
focusOnShow: boolean;
|
|
2078
|
+
trapping: boolean;
|
|
2079
|
+
stopPopperMouseEvent: boolean;
|
|
2080
|
+
virtualTriggering: boolean;
|
|
2081
|
+
loop: boolean;
|
|
2082
|
+
boundariesPadding: number;
|
|
2083
|
+
gpuAcceleration: boolean;
|
|
2084
|
+
offset: number;
|
|
2085
|
+
popperOptions: Partial< Options>;
|
|
2086
|
+
strategy: "absolute" | "fixed";
|
|
2087
|
+
arrowOffset: number;
|
|
2088
|
+
showArrow: boolean;
|
|
2089
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
2090
|
+
content: string;
|
|
2091
|
+
showAfter: number;
|
|
2092
|
+
hideAfter: number;
|
|
2093
|
+
autoClose: number;
|
|
2094
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
2095
|
+
triggerKeys: string[];
|
|
2096
|
+
}> & Omit<Readonly< UseTooltipProps> & Readonly<{
|
|
2097
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
2098
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
2099
|
+
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
2100
|
+
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
2101
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
2102
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
2103
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
2104
|
+
}>, "style" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "placement" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onClose" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & ShallowUnwrapRef<{
|
|
2105
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
2106
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
2107
|
+
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
2108
|
+
updatePopper: () => void;
|
|
2109
|
+
onOpen: (event?: Event, delay?: number) => void;
|
|
2110
|
+
onClose: (event?: Event, delay?: number) => void;
|
|
2111
|
+
hide: (event?: Event) => void;
|
|
2112
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
2113
|
+
$slots: {
|
|
2114
|
+
default?: (props: {}) => any;
|
|
2115
|
+
} & {
|
|
2116
|
+
content?: (props: {}) => any;
|
|
2117
|
+
};
|
|
2118
|
+
}) | null>;
|
|
2119
|
+
handleVisibleChange: (visible: boolean) => void;
|
|
2120
|
+
tooltipContent: ComputedRef<string>;
|
|
2121
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2122
|
+
'visible-change': (_visible: boolean) => true;
|
|
2123
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2124
|
+
content: {
|
|
2125
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2126
|
+
default: string;
|
|
2127
|
+
};
|
|
2128
|
+
placement: {
|
|
2129
|
+
type: PropType< JTWTooltipPlacementType>;
|
|
2130
|
+
default: "top";
|
|
2131
|
+
validator: (value: JTWTooltipPlacementType) => boolean;
|
|
2132
|
+
};
|
|
2133
|
+
effect: {
|
|
2134
|
+
type: PropType< JTWTooltipEffectType>;
|
|
2135
|
+
default: "dark";
|
|
2136
|
+
validator: (value: JTWTooltipEffectType) => boolean;
|
|
2137
|
+
};
|
|
2138
|
+
trigger: {
|
|
2139
|
+
type: PropType< JTWTooltipTriggerType>;
|
|
2140
|
+
default: "hover";
|
|
2141
|
+
validator: (value: JTWTooltipTriggerType) => boolean;
|
|
2142
|
+
};
|
|
2143
|
+
showArrow: {
|
|
2144
|
+
type: BooleanConstructor;
|
|
2145
|
+
default: boolean;
|
|
2146
|
+
};
|
|
2147
|
+
openDelay: {
|
|
2148
|
+
type: NumberConstructor;
|
|
2149
|
+
default: number;
|
|
2150
|
+
};
|
|
2151
|
+
closeDelay: {
|
|
2152
|
+
type: NumberConstructor;
|
|
2153
|
+
default: number;
|
|
2154
|
+
};
|
|
2155
|
+
offset: {
|
|
2156
|
+
type: NumberConstructor;
|
|
2157
|
+
default: number;
|
|
2158
|
+
};
|
|
2159
|
+
disabled: {
|
|
2160
|
+
type: BooleanConstructor;
|
|
2161
|
+
default: boolean;
|
|
2162
|
+
};
|
|
2163
|
+
popperClass: {
|
|
2164
|
+
type: StringConstructor;
|
|
2165
|
+
default: undefined;
|
|
2166
|
+
};
|
|
2167
|
+
popperStyle: {
|
|
2168
|
+
type: PropType<string | Record<string, string>>;
|
|
2169
|
+
default: undefined;
|
|
2170
|
+
};
|
|
2171
|
+
}>> & Readonly<{
|
|
2172
|
+
"onVisible-change"?: ((_visible: boolean) => any) | undefined;
|
|
2173
|
+
}>, {
|
|
2174
|
+
disabled: boolean;
|
|
2175
|
+
effect: JTWTooltipEffectType;
|
|
2176
|
+
popperClass: string;
|
|
2177
|
+
popperStyle: string | Record<string, string>;
|
|
2178
|
+
offset: number;
|
|
2179
|
+
placement: JTWTooltipPlacementType;
|
|
2180
|
+
showArrow: boolean;
|
|
2181
|
+
content: string | number;
|
|
2182
|
+
trigger: JTWTooltipTriggerType;
|
|
2183
|
+
openDelay: number;
|
|
2184
|
+
closeDelay: number;
|
|
2185
|
+
}, {}, {
|
|
2186
|
+
ElTooltip: SFCWithInstall<{
|
|
2187
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< UseTooltipProps> & Readonly<{
|
|
2188
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
2189
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
2190
|
+
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
2191
|
+
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
2192
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
2193
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
2194
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
2195
|
+
}>, {
|
|
2196
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
2197
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
2198
|
+
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
2199
|
+
updatePopper: () => void;
|
|
2200
|
+
onOpen: (event?: Event, delay?: number) => void;
|
|
2201
|
+
onClose: (event?: Event, delay?: number) => void;
|
|
2202
|
+
hide: (event?: Event) => void;
|
|
2203
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2204
|
+
close: (...args: any[]) => void;
|
|
2205
|
+
"update:visible": (...args: any[]) => void;
|
|
2206
|
+
"before-show": (...args: any[]) => void;
|
|
2207
|
+
"before-hide": (...args: any[]) => void;
|
|
2208
|
+
show: (...args: any[]) => void;
|
|
2209
|
+
hide: (...args: any[]) => void;
|
|
2210
|
+
open: (...args: any[]) => void;
|
|
2211
|
+
}, PublicProps, {
|
|
2212
|
+
effect: PopperEffect;
|
|
2213
|
+
placement: Placement;
|
|
2214
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
2215
|
+
teleported: boolean;
|
|
2216
|
+
visible: boolean | null;
|
|
2217
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
2218
|
+
enterable: boolean;
|
|
2219
|
+
pure: boolean;
|
|
2220
|
+
focusOnShow: boolean;
|
|
2221
|
+
trapping: boolean;
|
|
2222
|
+
stopPopperMouseEvent: boolean;
|
|
2223
|
+
virtualTriggering: boolean;
|
|
2224
|
+
loop: boolean;
|
|
2225
|
+
boundariesPadding: number;
|
|
2226
|
+
gpuAcceleration: boolean;
|
|
2227
|
+
offset: number;
|
|
2228
|
+
popperOptions: Partial< Options>;
|
|
2229
|
+
strategy: "absolute" | "fixed";
|
|
2230
|
+
arrowOffset: number;
|
|
2231
|
+
showArrow: boolean;
|
|
2232
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
2233
|
+
content: string;
|
|
2234
|
+
showAfter: number;
|
|
2235
|
+
hideAfter: number;
|
|
2236
|
+
autoClose: number;
|
|
2237
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
2238
|
+
triggerKeys: string[];
|
|
2239
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
2240
|
+
P: {};
|
|
2241
|
+
B: {};
|
|
2242
|
+
D: {};
|
|
2243
|
+
C: {};
|
|
2244
|
+
M: {};
|
|
2245
|
+
Defaults: {};
|
|
2246
|
+
}, Readonly< UseTooltipProps> & Readonly<{
|
|
2247
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
2248
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
2249
|
+
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
2250
|
+
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
2251
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
2252
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
2253
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
2254
|
+
}>, {
|
|
2255
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
2256
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
2257
|
+
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
2258
|
+
updatePopper: () => void;
|
|
2259
|
+
onOpen: (event?: Event, delay?: number) => void;
|
|
2260
|
+
onClose: (event?: Event, delay?: number) => void;
|
|
2261
|
+
hide: (event?: Event) => void;
|
|
2262
|
+
}, {}, {}, {}, {
|
|
2263
|
+
effect: PopperEffect;
|
|
2264
|
+
placement: Placement;
|
|
2265
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
2266
|
+
teleported: boolean;
|
|
2267
|
+
visible: boolean | null;
|
|
2268
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
2269
|
+
enterable: boolean;
|
|
2270
|
+
pure: boolean;
|
|
2271
|
+
focusOnShow: boolean;
|
|
2272
|
+
trapping: boolean;
|
|
2273
|
+
stopPopperMouseEvent: boolean;
|
|
2274
|
+
virtualTriggering: boolean;
|
|
2275
|
+
loop: boolean;
|
|
2276
|
+
boundariesPadding: number;
|
|
2277
|
+
gpuAcceleration: boolean;
|
|
2278
|
+
offset: number;
|
|
2279
|
+
popperOptions: Partial< Options>;
|
|
2280
|
+
strategy: "absolute" | "fixed";
|
|
2281
|
+
arrowOffset: number;
|
|
2282
|
+
showArrow: boolean;
|
|
2283
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
2284
|
+
content: string;
|
|
2285
|
+
showAfter: number;
|
|
2286
|
+
hideAfter: number;
|
|
2287
|
+
autoClose: number;
|
|
2288
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
2289
|
+
triggerKeys: string[];
|
|
2290
|
+
}>;
|
|
2291
|
+
__isFragment?: never;
|
|
2292
|
+
__isTeleport?: never;
|
|
2293
|
+
__isSuspense?: never;
|
|
2294
|
+
} & ComponentOptionsBase<Readonly< UseTooltipProps> & Readonly<{
|
|
2295
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
2296
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
2297
|
+
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
2298
|
+
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
2299
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
2300
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
2301
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
2302
|
+
}>, {
|
|
2303
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
2304
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
2305
|
+
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
2306
|
+
updatePopper: () => void;
|
|
2307
|
+
onOpen: (event?: Event, delay?: number) => void;
|
|
2308
|
+
onClose: (event?: Event, delay?: number) => void;
|
|
2309
|
+
hide: (event?: Event) => void;
|
|
2310
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2311
|
+
close: (...args: any[]) => void;
|
|
2312
|
+
"update:visible": (...args: any[]) => void;
|
|
2313
|
+
"before-show": (...args: any[]) => void;
|
|
2314
|
+
"before-hide": (...args: any[]) => void;
|
|
2315
|
+
show: (...args: any[]) => void;
|
|
2316
|
+
hide: (...args: any[]) => void;
|
|
2317
|
+
open: (...args: any[]) => void;
|
|
2318
|
+
}, string, {
|
|
2319
|
+
effect: PopperEffect;
|
|
2320
|
+
placement: Placement;
|
|
2321
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
2322
|
+
teleported: boolean;
|
|
2323
|
+
visible: boolean | null;
|
|
2324
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
2325
|
+
enterable: boolean;
|
|
2326
|
+
pure: boolean;
|
|
2327
|
+
focusOnShow: boolean;
|
|
2328
|
+
trapping: boolean;
|
|
2329
|
+
stopPopperMouseEvent: boolean;
|
|
2330
|
+
virtualTriggering: boolean;
|
|
2331
|
+
loop: boolean;
|
|
2332
|
+
boundariesPadding: number;
|
|
2333
|
+
gpuAcceleration: boolean;
|
|
2334
|
+
offset: number;
|
|
2335
|
+
popperOptions: Partial< Options>;
|
|
2336
|
+
strategy: "absolute" | "fixed";
|
|
2337
|
+
arrowOffset: number;
|
|
2338
|
+
showArrow: boolean;
|
|
2339
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
2340
|
+
content: string;
|
|
2341
|
+
showAfter: number;
|
|
2342
|
+
hideAfter: number;
|
|
2343
|
+
autoClose: number;
|
|
2344
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
2345
|
+
triggerKeys: string[];
|
|
2346
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2347
|
+
$slots: {
|
|
2348
|
+
default?: (props: {}) => any;
|
|
2349
|
+
} & {
|
|
2350
|
+
content?: (props: {}) => any;
|
|
2351
|
+
};
|
|
2352
|
+
})>;
|
|
2353
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1562
2354
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1563
2355
|
export default _default;
|