@opendesign-plus/components 0.0.1-rc.62 → 0.0.1-rc.63

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.
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ wrapper?: string | HTMLElement;
3
+ img: string;
4
+ href?: string;
5
+ target?: '_blank' | '_self';
6
+ closeStorageKey?: string;
7
+ };
8
+ type __VLS_PublicProps = {
9
+ 'visible'?: boolean;
10
+ } & __VLS_Props;
11
+ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
12
+ "update:visible": (value: boolean) => any;
13
+ } & {
14
+ close: () => any;
15
+ "update:visible": (value: boolean) => any;
16
+ visit: (href?: string | undefined) => any;
17
+ }, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
+ onClose?: (() => any) | undefined;
19
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
20
+ onVisit?: ((href?: string | undefined) => any) | undefined;
21
+ }>, {
22
+ target: "_blank" | "_self";
23
+ }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -0,0 +1,72 @@
1
+ import { App } from '../../../vue/dist/vue.esm-bundler.js';
2
+ declare const OFloatPoster: {
3
+ new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<{
4
+ visible?: boolean;
5
+ } & {
6
+ wrapper?: string | HTMLElement;
7
+ img: string;
8
+ href?: string;
9
+ target?: "_blank" | "_self";
10
+ closeStorageKey?: string;
11
+ }> & Readonly<{
12
+ onClose?: (() => any) | undefined;
13
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
14
+ onVisit?: ((href?: string | undefined) => any) | undefined;
15
+ }>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
16
+ "update:visible": (value: boolean) => any;
17
+ } & {
18
+ close: () => any;
19
+ "update:visible": (value: boolean) => any;
20
+ visit: (href?: string | undefined) => any;
21
+ }, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
22
+ target: "_blank" | "_self";
23
+ }, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, any, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
24
+ P: {};
25
+ B: {};
26
+ D: {};
27
+ C: {};
28
+ M: {};
29
+ Defaults: {};
30
+ }, Readonly<{
31
+ visible?: boolean;
32
+ } & {
33
+ wrapper?: string | HTMLElement;
34
+ img: string;
35
+ href?: string;
36
+ target?: "_blank" | "_self";
37
+ closeStorageKey?: string;
38
+ }> & Readonly<{
39
+ onClose?: (() => any) | undefined;
40
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
41
+ onVisit?: ((href?: string | undefined) => any) | undefined;
42
+ }>, {}, {}, {}, {}, {
43
+ target: "_blank" | "_self";
44
+ }>;
45
+ __isFragment?: never;
46
+ __isTeleport?: never;
47
+ __isSuspense?: never;
48
+ } & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<{
49
+ visible?: boolean;
50
+ } & {
51
+ wrapper?: string | HTMLElement;
52
+ img: string;
53
+ href?: string;
54
+ target?: "_blank" | "_self";
55
+ closeStorageKey?: string;
56
+ }> & Readonly<{
57
+ onClose?: (() => any) | undefined;
58
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
59
+ onVisit?: ((href?: string | undefined) => any) | undefined;
60
+ }>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
61
+ "update:visible": (value: boolean) => any;
62
+ } & {
63
+ close: () => any;
64
+ "update:visible": (value: boolean) => any;
65
+ visit: (href?: string | undefined) => any;
66
+ }, string, {
67
+ target: "_blank" | "_self";
68
+ }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & {
69
+ install(app: App): void;
70
+ };
71
+ export { OFloatPoster };
72
+ export * from './types';
@@ -0,0 +1,21 @@
1
+ export interface FloatPosterProps {
2
+ /** 自定义挂载节点(Teleport 目标),不传则挂载到 body */
3
+ wrapper?: string | HTMLElement;
4
+ /** 图片地址 */
5
+ img: string;
6
+ /** 跳转链接 */
7
+ href?: string;
8
+ /** 链接打开方式,默认 _blank */
9
+ target?: '_blank' | '_self';
10
+ /** 关闭后记忆的 sessionStorage key;传入后关闭时写入,挂载时若已存在则自动隐藏 */
11
+ closeStorageKey?: string;
12
+ /** z-index,默认 666 */
13
+ zIndex?: number;
14
+ /** 是否展示,支持 v-model:visible,默认 true */
15
+ visible?: boolean;
16
+ }
17
+ export interface FloatPosterEmits {
18
+ (e: 'update:visible', value: boolean): void;
19
+ (e: 'close'): void;
20
+ (e: 'visit', href?: string): void;
21
+ }