twcpt 0.0.28 → 0.0.30
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-messages/MessageItem.d.ts +9 -0
- package/dist/components/j-tw-messages/index.d.ts +128 -0
- package/dist/components/j-tw-messages/state.d.ts +238 -0
- package/dist/components/j-tw-messages/types.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/twcpt.cjs.js +6 -6
- package/dist/twcpt.es.js +3198 -3005
- package/dist/utils/getCssVarValue.d.ts +29 -0
- package/dist/utils/img-load/index.d.ts +2 -0
- package/dist/utils/img-load/preloadImage.d.ts +32 -0
- package/dist/utils/useIntervalPolling.d.ts +13 -0
- package/package.json +1 -1
|
@@ -21,6 +21,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
21
21
|
type: PropType<JTWMessageIcon>;
|
|
22
22
|
default: undefined;
|
|
23
23
|
};
|
|
24
|
+
closeIcon: {
|
|
25
|
+
type: PropType<JTWMessageIcon>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
24
28
|
html: {
|
|
25
29
|
type: BooleanConstructor;
|
|
26
30
|
default: boolean;
|
|
@@ -1724,6 +1728,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1724
1728
|
type: PropType<JTWMessageIcon>;
|
|
1725
1729
|
default: undefined;
|
|
1726
1730
|
};
|
|
1731
|
+
closeIcon: {
|
|
1732
|
+
type: PropType<JTWMessageIcon>;
|
|
1733
|
+
default: undefined;
|
|
1734
|
+
};
|
|
1727
1735
|
html: {
|
|
1728
1736
|
type: BooleanConstructor;
|
|
1729
1737
|
default: boolean;
|
|
@@ -1754,6 +1762,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1754
1762
|
html: boolean;
|
|
1755
1763
|
duration: number;
|
|
1756
1764
|
customStyle: string | CSSProperties;
|
|
1765
|
+
closeIcon: JTWMessageIcon;
|
|
1757
1766
|
showClose: boolean;
|
|
1758
1767
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1759
1768
|
export default _default;
|
|
@@ -1777,6 +1777,125 @@ declare const _default: DefineComponent<{}, {
|
|
|
1777
1777
|
__file?: string | undefined;
|
|
1778
1778
|
__name?: string | undefined;
|
|
1779
1779
|
} | undefined;
|
|
1780
|
+
closeIcon?: string | FunctionalComponent<any, {}, any, {}> | {
|
|
1781
|
+
new (...args: any[]): any;
|
|
1782
|
+
__isFragment?: never;
|
|
1783
|
+
__isTeleport?: never;
|
|
1784
|
+
__isSuspense?: never;
|
|
1785
|
+
} | VNode<RendererNode, RendererElement, {
|
|
1786
|
+
[key: string]: any;
|
|
1787
|
+
}> | {
|
|
1788
|
+
[x: string]: any;
|
|
1789
|
+
setup?: ((this: void, props: LooseRequired<any>, ctx: {
|
|
1790
|
+
attrs: Attrs;
|
|
1791
|
+
slots: Readonly<{
|
|
1792
|
+
[name: string]: Slot<any> | undefined;
|
|
1793
|
+
}>;
|
|
1794
|
+
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
1795
|
+
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
1796
|
+
}) => any) | undefined;
|
|
1797
|
+
name?: string | undefined;
|
|
1798
|
+
template?: string | object | undefined;
|
|
1799
|
+
render?: Function | undefined;
|
|
1800
|
+
components?: Record<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>> | undefined;
|
|
1801
|
+
directives?: Record<string, Directive<any, any, string, any>> | undefined;
|
|
1802
|
+
inheritAttrs?: boolean | undefined;
|
|
1803
|
+
emits?: any;
|
|
1804
|
+
slots?: {} | undefined;
|
|
1805
|
+
expose?: string[] | undefined;
|
|
1806
|
+
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
1807
|
+
compilerOptions?: {
|
|
1808
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
1809
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
1810
|
+
comments?: boolean | undefined;
|
|
1811
|
+
delimiters?: [string, string] | undefined;
|
|
1812
|
+
} | undefined;
|
|
1813
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
1814
|
+
__isFragment?: never | undefined;
|
|
1815
|
+
__isTeleport?: never | undefined;
|
|
1816
|
+
__isSuspense?: never | undefined;
|
|
1817
|
+
__defaults?: {} | undefined;
|
|
1818
|
+
compatConfig?: {
|
|
1819
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
1820
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
1821
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
1822
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
1823
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
1824
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
1825
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
1826
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
1827
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
1828
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
1829
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
1830
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
1831
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
1832
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
1833
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
1834
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
1835
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
1836
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
1837
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
1838
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
1839
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
1840
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
1841
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
1842
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
1843
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
1844
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
1845
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
1846
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
1847
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
1848
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
1849
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
1850
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
1851
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
1852
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
1853
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
1854
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
1855
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
1856
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
1857
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
1858
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
1859
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
1860
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
1861
|
+
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
|
|
1862
|
+
} | undefined;
|
|
1863
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
1864
|
+
computed?: ComputedOptions | undefined;
|
|
1865
|
+
methods?: MethodOptions | undefined;
|
|
1866
|
+
watch?: {
|
|
1867
|
+
[x: string]: (string | WatchCallback | ({
|
|
1868
|
+
handler: WatchCallback | string;
|
|
1869
|
+
} & WatchOptions<boolean>)) | (string | WatchCallback | ({
|
|
1870
|
+
handler: WatchCallback | string;
|
|
1871
|
+
} & WatchOptions<boolean>))[];
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
provide?: ComponentProvideOptions | undefined;
|
|
1874
|
+
inject?: {} | string[] | undefined;
|
|
1875
|
+
filters?: Record<string, Function> | undefined;
|
|
1876
|
+
mixins?: any[] | undefined;
|
|
1877
|
+
extends?: any;
|
|
1878
|
+
beforeCreate?: (() => any) | undefined;
|
|
1879
|
+
created?: (() => any) | undefined;
|
|
1880
|
+
beforeMount?: (() => any) | undefined;
|
|
1881
|
+
mounted?: (() => any) | undefined;
|
|
1882
|
+
beforeUpdate?: (() => any) | undefined;
|
|
1883
|
+
updated?: (() => any) | undefined;
|
|
1884
|
+
activated?: (() => any) | undefined;
|
|
1885
|
+
deactivated?: (() => any) | undefined;
|
|
1886
|
+
beforeDestroy?: (() => any) | undefined;
|
|
1887
|
+
beforeUnmount?: (() => any) | undefined;
|
|
1888
|
+
destroyed?: (() => any) | undefined;
|
|
1889
|
+
unmounted?: (() => any) | undefined;
|
|
1890
|
+
renderTracked?: ((e: DebuggerEvent) => void) | undefined;
|
|
1891
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | undefined;
|
|
1892
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
|
|
1893
|
+
delimiters?: [string, string] | undefined;
|
|
1894
|
+
__differentiator?: string | number | symbol | undefined;
|
|
1895
|
+
__isBuiltIn?: boolean | undefined;
|
|
1896
|
+
__file?: string | undefined;
|
|
1897
|
+
__name?: string | undefined;
|
|
1898
|
+
} | undefined;
|
|
1780
1899
|
duration: number;
|
|
1781
1900
|
showClose: boolean;
|
|
1782
1901
|
offset: number;
|
|
@@ -1808,6 +1927,10 @@ declare const _default: DefineComponent<{}, {
|
|
|
1808
1927
|
type: PropType<JTWMessageIcon>;
|
|
1809
1928
|
default: undefined;
|
|
1810
1929
|
};
|
|
1930
|
+
closeIcon: {
|
|
1931
|
+
type: PropType<JTWMessageIcon>;
|
|
1932
|
+
default: undefined;
|
|
1933
|
+
};
|
|
1811
1934
|
html: {
|
|
1812
1935
|
type: BooleanConstructor;
|
|
1813
1936
|
default: boolean;
|
|
@@ -3511,6 +3634,10 @@ declare const _default: DefineComponent<{}, {
|
|
|
3511
3634
|
type: PropType<JTWMessageIcon>;
|
|
3512
3635
|
default: undefined;
|
|
3513
3636
|
};
|
|
3637
|
+
closeIcon: {
|
|
3638
|
+
type: PropType<JTWMessageIcon>;
|
|
3639
|
+
default: undefined;
|
|
3640
|
+
};
|
|
3514
3641
|
html: {
|
|
3515
3642
|
type: BooleanConstructor;
|
|
3516
3643
|
default: boolean;
|
|
@@ -3541,6 +3668,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
3541
3668
|
html: boolean;
|
|
3542
3669
|
duration: number;
|
|
3543
3670
|
customStyle: string | CSSProperties;
|
|
3671
|
+
closeIcon: JTWMessageIcon;
|
|
3544
3672
|
showClose: boolean;
|
|
3545
3673
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3546
3674
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1776,6 +1776,125 @@ export declare const messageList: Ref<{
|
|
|
1776
1776
|
__file?: string | undefined;
|
|
1777
1777
|
__name?: string | undefined;
|
|
1778
1778
|
} | undefined;
|
|
1779
|
+
closeIcon?: string | FunctionalComponent<any, {}, any, {}> | {
|
|
1780
|
+
new (...args: any[]): any;
|
|
1781
|
+
__isFragment?: never;
|
|
1782
|
+
__isTeleport?: never;
|
|
1783
|
+
__isSuspense?: never;
|
|
1784
|
+
} | VNode<RendererNode, RendererElement, {
|
|
1785
|
+
[key: string]: any;
|
|
1786
|
+
}> | {
|
|
1787
|
+
[x: string]: any;
|
|
1788
|
+
setup?: ((this: void, props: LooseRequired<any>, ctx: {
|
|
1789
|
+
attrs: Attrs;
|
|
1790
|
+
slots: Readonly<{
|
|
1791
|
+
[name: string]: Slot<any> | undefined;
|
|
1792
|
+
}>;
|
|
1793
|
+
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
1794
|
+
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
1795
|
+
}) => any) | undefined;
|
|
1796
|
+
name?: string | undefined;
|
|
1797
|
+
template?: string | object | undefined;
|
|
1798
|
+
render?: Function | undefined;
|
|
1799
|
+
components?: Record<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>> | undefined;
|
|
1800
|
+
directives?: Record<string, Directive<any, any, string, any>> | undefined;
|
|
1801
|
+
inheritAttrs?: boolean | undefined;
|
|
1802
|
+
emits?: any;
|
|
1803
|
+
slots?: {} | undefined;
|
|
1804
|
+
expose?: string[] | undefined;
|
|
1805
|
+
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
1806
|
+
compilerOptions?: {
|
|
1807
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
1808
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
1809
|
+
comments?: boolean | undefined;
|
|
1810
|
+
delimiters?: [string, string] | undefined;
|
|
1811
|
+
} | undefined;
|
|
1812
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
1813
|
+
__isFragment?: never | undefined;
|
|
1814
|
+
__isTeleport?: never | undefined;
|
|
1815
|
+
__isSuspense?: never | undefined;
|
|
1816
|
+
__defaults?: {} | undefined;
|
|
1817
|
+
compatConfig?: {
|
|
1818
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
1819
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
1820
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
1821
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
1822
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
1823
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
1824
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
1825
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
1826
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
1827
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
1828
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
1829
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
1830
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
1831
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
1832
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
1833
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
1834
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
1835
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
1836
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
1837
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
1838
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
1839
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
1840
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
1841
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
1842
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
1843
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
1844
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
1845
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
1846
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
1847
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
1848
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
1849
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
1850
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
1851
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
1852
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
1853
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
1854
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
1855
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
1856
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
1857
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
1858
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
1859
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
1860
|
+
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
|
|
1861
|
+
} | undefined;
|
|
1862
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
1863
|
+
computed?: ComputedOptions | undefined;
|
|
1864
|
+
methods?: MethodOptions | undefined;
|
|
1865
|
+
watch?: {
|
|
1866
|
+
[x: string]: (string | WatchCallback | ({
|
|
1867
|
+
handler: WatchCallback | string;
|
|
1868
|
+
} & WatchOptions<boolean>)) | (string | WatchCallback | ({
|
|
1869
|
+
handler: WatchCallback | string;
|
|
1870
|
+
} & WatchOptions<boolean>))[];
|
|
1871
|
+
} | undefined;
|
|
1872
|
+
provide?: ComponentProvideOptions | undefined;
|
|
1873
|
+
inject?: {} | string[] | undefined;
|
|
1874
|
+
filters?: Record<string, Function> | undefined;
|
|
1875
|
+
mixins?: any[] | undefined;
|
|
1876
|
+
extends?: any;
|
|
1877
|
+
beforeCreate?: (() => any) | undefined;
|
|
1878
|
+
created?: (() => any) | undefined;
|
|
1879
|
+
beforeMount?: (() => any) | undefined;
|
|
1880
|
+
mounted?: (() => any) | undefined;
|
|
1881
|
+
beforeUpdate?: (() => any) | undefined;
|
|
1882
|
+
updated?: (() => any) | undefined;
|
|
1883
|
+
activated?: (() => any) | undefined;
|
|
1884
|
+
deactivated?: (() => any) | undefined;
|
|
1885
|
+
beforeDestroy?: (() => any) | undefined;
|
|
1886
|
+
beforeUnmount?: (() => any) | undefined;
|
|
1887
|
+
destroyed?: (() => any) | undefined;
|
|
1888
|
+
unmounted?: (() => any) | undefined;
|
|
1889
|
+
renderTracked?: ((e: DebuggerEvent) => void) | undefined;
|
|
1890
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | undefined;
|
|
1891
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
|
|
1892
|
+
delimiters?: [string, string] | undefined;
|
|
1893
|
+
__differentiator?: string | number | symbol | undefined;
|
|
1894
|
+
__isBuiltIn?: boolean | undefined;
|
|
1895
|
+
__file?: string | undefined;
|
|
1896
|
+
__name?: string | undefined;
|
|
1897
|
+
} | undefined;
|
|
1779
1898
|
duration: number;
|
|
1780
1899
|
showClose: boolean;
|
|
1781
1900
|
offset: number;
|
|
@@ -3557,6 +3676,125 @@ export declare const messageList: Ref<{
|
|
|
3557
3676
|
__file?: string | undefined;
|
|
3558
3677
|
__name?: string | undefined;
|
|
3559
3678
|
} | undefined;
|
|
3679
|
+
closeIcon?: string | FunctionalComponent<any, {}, any, {}> | {
|
|
3680
|
+
new (...args: any[]): any;
|
|
3681
|
+
__isFragment?: never;
|
|
3682
|
+
__isTeleport?: never;
|
|
3683
|
+
__isSuspense?: never;
|
|
3684
|
+
} | VNode<RendererNode, RendererElement, {
|
|
3685
|
+
[key: string]: any;
|
|
3686
|
+
}> | {
|
|
3687
|
+
[x: string]: any;
|
|
3688
|
+
setup?: ((this: void, props: LooseRequired<any>, ctx: {
|
|
3689
|
+
attrs: Attrs;
|
|
3690
|
+
slots: Readonly<{
|
|
3691
|
+
[name: string]: Slot<any> | undefined;
|
|
3692
|
+
}>;
|
|
3693
|
+
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
3694
|
+
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
3695
|
+
}) => any) | undefined;
|
|
3696
|
+
name?: string | undefined;
|
|
3697
|
+
template?: string | object | undefined;
|
|
3698
|
+
render?: Function | undefined;
|
|
3699
|
+
components?: Record<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>> | undefined;
|
|
3700
|
+
directives?: Record<string, Directive<any, any, string, any>> | undefined;
|
|
3701
|
+
inheritAttrs?: boolean | undefined;
|
|
3702
|
+
emits?: any;
|
|
3703
|
+
slots?: {} | undefined;
|
|
3704
|
+
expose?: string[] | undefined;
|
|
3705
|
+
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
3706
|
+
compilerOptions?: {
|
|
3707
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
3708
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
3709
|
+
comments?: boolean | undefined;
|
|
3710
|
+
delimiters?: [string, string] | undefined;
|
|
3711
|
+
} | undefined;
|
|
3712
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
3713
|
+
__isFragment?: never | undefined;
|
|
3714
|
+
__isTeleport?: never | undefined;
|
|
3715
|
+
__isSuspense?: never | undefined;
|
|
3716
|
+
__defaults?: {} | undefined;
|
|
3717
|
+
compatConfig?: {
|
|
3718
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
3719
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
3720
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
3721
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
3722
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
3723
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
3724
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
3725
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
3726
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
3727
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
3728
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
3729
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
3730
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
3731
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
3732
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
3733
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
3734
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
3735
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
3736
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
3737
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
3738
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
3739
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
3740
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
3741
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
3742
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
3743
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
3744
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
3745
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
3746
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
3747
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
3748
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
3749
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
3750
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
3751
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
3752
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
3753
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
3754
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
3755
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
3756
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
3757
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
3758
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
3759
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
3760
|
+
MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined;
|
|
3761
|
+
} | undefined;
|
|
3762
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
3763
|
+
computed?: ComputedOptions | undefined;
|
|
3764
|
+
methods?: MethodOptions | undefined;
|
|
3765
|
+
watch?: {
|
|
3766
|
+
[x: string]: (string | WatchCallback | ({
|
|
3767
|
+
handler: WatchCallback | string;
|
|
3768
|
+
} & WatchOptions<boolean>)) | (string | WatchCallback | ({
|
|
3769
|
+
handler: WatchCallback | string;
|
|
3770
|
+
} & WatchOptions<boolean>))[];
|
|
3771
|
+
} | undefined;
|
|
3772
|
+
provide?: ComponentProvideOptions | undefined;
|
|
3773
|
+
inject?: {} | string[] | undefined;
|
|
3774
|
+
filters?: Record<string, Function> | undefined;
|
|
3775
|
+
mixins?: any[] | undefined;
|
|
3776
|
+
extends?: any;
|
|
3777
|
+
beforeCreate?: (() => any) | undefined;
|
|
3778
|
+
created?: (() => any) | undefined;
|
|
3779
|
+
beforeMount?: (() => any) | undefined;
|
|
3780
|
+
mounted?: (() => any) | undefined;
|
|
3781
|
+
beforeUpdate?: (() => any) | undefined;
|
|
3782
|
+
updated?: (() => any) | undefined;
|
|
3783
|
+
activated?: (() => any) | undefined;
|
|
3784
|
+
deactivated?: (() => any) | undefined;
|
|
3785
|
+
beforeDestroy?: (() => any) | undefined;
|
|
3786
|
+
beforeUnmount?: (() => any) | undefined;
|
|
3787
|
+
destroyed?: (() => any) | undefined;
|
|
3788
|
+
unmounted?: (() => any) | undefined;
|
|
3789
|
+
renderTracked?: ((e: DebuggerEvent) => void) | undefined;
|
|
3790
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | undefined;
|
|
3791
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
|
|
3792
|
+
delimiters?: [string, string] | undefined;
|
|
3793
|
+
__differentiator?: string | number | symbol | undefined;
|
|
3794
|
+
__isBuiltIn?: boolean | undefined;
|
|
3795
|
+
__file?: string | undefined;
|
|
3796
|
+
__name?: string | undefined;
|
|
3797
|
+
} | undefined;
|
|
3560
3798
|
duration: number;
|
|
3561
3799
|
showClose: boolean;
|
|
3562
3800
|
offset: number;
|
|
@@ -5,6 +5,7 @@ export interface JTWMessageOptions {
|
|
|
5
5
|
content: string | VNode;
|
|
6
6
|
style?: CSSProperties | string;
|
|
7
7
|
icon?: JTWMessageIcon;
|
|
8
|
+
closeIcon?: JTWMessageIcon;
|
|
8
9
|
duration?: number;
|
|
9
10
|
showClose?: boolean;
|
|
10
11
|
offset?: number;
|
|
@@ -25,6 +26,7 @@ export interface MessageItemData {
|
|
|
25
26
|
content: string | VNode;
|
|
26
27
|
style?: CSSProperties | string;
|
|
27
28
|
icon?: JTWMessageIcon;
|
|
29
|
+
closeIcon?: JTWMessageIcon;
|
|
28
30
|
duration: number;
|
|
29
31
|
showClose: boolean;
|
|
30
32
|
offset: number;
|