@polyv/vue-components 1.11.0 → 1.12.1
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/package.json +2 -1
- package/vue2/index.es.js +13776 -13039
- package/vue2/src/components/basic-countdown/basic-countdown.vue.d.ts +17 -28
- package/vue2/src/components/basic-countdown/use-basic-countdown.d.ts +25 -2
- package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +26 -0
- package/vue2/src/components/business/external-links/use-external-links.d.ts +1 -0
- package/vue2/src/components/business/normal-pendant/normal-pendant.vue.d.ts +16 -1
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +1 -0
- package/vue2/src/components/form/date-picker/index.d.ts +7 -0
- package/vue2/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-column.vue.d.ts +28 -0
- package/vue2/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-popup.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/date-picker.vue.d.ts +7 -0
- package/vue2/src/components/form/date-picker/src/hooks/props-define.d.ts +7 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +6 -1
- package/vue2/src/components/form/date-picker/src/types/index.d.ts +2 -0
- package/vue2/src/components/form/select/src/select-mobile-picker-column.vue.d.ts +17 -0
- package/vue2/src/components/form/select/src/select.vue.d.ts +16 -15
- package/vue2/src/components/icons/icons/logout/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/return/index.d.ts +6 -0
- package/vue2/src/components/icons/map.d.ts +2 -0
- package/vue2/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +2 -0
- package/vue2/src/components/image-preview/components/preview-controller.vue.d.ts +2 -0
- package/vue2/src/components/image-preview/hooks/props-define.d.ts +47 -3
- package/vue2/src/components/image-preview/hooks/use-image-preview-component.d.ts +0 -2
- package/vue2/src/components/image-preview/hooks/use-image-preview-intercept.d.ts +14 -0
- package/vue2/src/components/image-preview/hooks/use-image-preview.d.ts +9 -1
- package/vue2/src/components/image-preview/image-preview-container.vue.d.ts +33 -0
- package/vue2/src/components/image-preview/image-preview.vue.d.ts +10 -6
- package/vue2/src/components/image-preview/index.d.ts +2 -0
- package/vue2/src/components/popup/index.d.ts +40 -0
- package/vue2/src/components/popup/src/hooks/popup-props.d.ts +16 -2
- package/vue2/src/components/popup/src/popup.vue.d.ts +14 -0
- package/vue2/src/components/zoom-container/hooks/use-zoom-size.d.ts +1 -1
- package/vue2/src/components/zoom-container/use-zoom-container.d.ts +4 -0
- package/vue2/src/components/zoom-container/zoom-container.vue.d.ts +2 -0
- package/vue2/src/lang/internal/en.json.d.ts +1 -0
- package/vue2/src/lang/internal/index.d.ts +1 -0
- package/vue2/src/lang/internal/ja.json.d.ts +1 -0
- package/vue2/src/lang/internal/ko.json.d.ts +1 -0
- package/vue2/src/lang/internal/ru.json.d.ts +1 -0
- package/vue2/src/lang/internal/zh-CN.json.d.ts +1 -0
- package/vue2/src/lang/internal/zh-TW.json.d.ts +1 -0
- package/vue3/index.es.js +13827 -13090
- package/vue3/src/components/basic-countdown/basic-countdown.vue.d.ts +17 -28
- package/vue3/src/components/basic-countdown/use-basic-countdown.d.ts +25 -2
- package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +26 -0
- package/vue3/src/components/business/external-links/use-external-links.d.ts +1 -0
- package/vue3/src/components/business/normal-pendant/normal-pendant.vue.d.ts +16 -1
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +1 -0
- package/vue3/src/components/form/date-picker/index.d.ts +7 -0
- package/vue3/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-column.vue.d.ts +28 -0
- package/vue3/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-popup.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/date-picker.vue.d.ts +7 -0
- package/vue3/src/components/form/date-picker/src/hooks/props-define.d.ts +7 -0
- package/vue3/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +6 -1
- package/vue3/src/components/form/date-picker/src/types/index.d.ts +2 -0
- package/vue3/src/components/form/select/src/select-mobile-picker-column.vue.d.ts +17 -0
- package/vue3/src/components/form/select/src/select.vue.d.ts +16 -15
- package/vue3/src/components/icons/icons/logout/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/return/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +2 -0
- package/vue3/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +2 -0
- package/vue3/src/components/image-preview/components/preview-controller.vue.d.ts +2 -0
- package/vue3/src/components/image-preview/hooks/props-define.d.ts +47 -3
- package/vue3/src/components/image-preview/hooks/use-image-preview-component.d.ts +0 -2
- package/vue3/src/components/image-preview/hooks/use-image-preview-intercept.d.ts +14 -0
- package/vue3/src/components/image-preview/hooks/use-image-preview.d.ts +9 -1
- package/vue3/src/components/image-preview/image-preview-container.vue.d.ts +33 -0
- package/vue3/src/components/image-preview/image-preview.vue.d.ts +10 -6
- package/vue3/src/components/image-preview/index.d.ts +2 -0
- package/vue3/src/components/popup/index.d.ts +40 -0
- package/vue3/src/components/popup/src/hooks/popup-props.d.ts +16 -2
- package/vue3/src/components/popup/src/popup.vue.d.ts +14 -0
- package/vue3/src/components/zoom-container/hooks/use-zoom-size.d.ts +1 -1
- package/vue3/src/components/zoom-container/use-zoom-container.d.ts +4 -0
- package/vue3/src/components/zoom-container/zoom-container.vue.d.ts +2 -0
- package/vue3/src/lang/internal/en.json.d.ts +1 -0
- package/vue3/src/lang/internal/index.d.ts +1 -0
- package/vue3/src/lang/internal/ja.json.d.ts +1 -0
- package/vue3/src/lang/internal/ko.json.d.ts +1 -0
- package/vue3/src/lang/internal/ru.json.d.ts +1 -0
- package/vue3/src/lang/internal/zh-CN.json.d.ts +1 -0
- package/vue3/src/lang/internal/zh-TW.json.d.ts +1 -0
|
@@ -1,11 +1,35 @@
|
|
|
1
1
|
import { ImagePreviewData } from '../types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const imagePreviewContainerProps: () => {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* 预览的图片列表
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
images: import('vue-types').VueTypeDef<ImagePreviewData> & {
|
|
7
|
+
default: string | (() => import('../types').ImagePreviewObject) | (() => import('../types').ImagePreviewItem[]);
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* 初始索引
|
|
11
|
+
* @default 0
|
|
12
|
+
*/
|
|
13
|
+
initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 是否循环切换
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
7
21
|
default: boolean;
|
|
8
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* 图片与容器边缘间距,默认 PC:100,移动端:0
|
|
25
|
+
*/
|
|
26
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
27
|
+
/**
|
|
28
|
+
* 控制栏底部距离,默认 100
|
|
29
|
+
*/
|
|
30
|
+
controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
31
|
+
};
|
|
32
|
+
export declare const imagePreviewProps: () => {
|
|
9
33
|
/**
|
|
10
34
|
* 预览的图片列表
|
|
11
35
|
*/
|
|
@@ -26,6 +50,26 @@ export declare const imagePreviewProps: () => {
|
|
|
26
50
|
loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
27
51
|
default: boolean;
|
|
28
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* 图片与容器边缘间距,默认 PC:100,移动端:0
|
|
55
|
+
*/
|
|
56
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
57
|
+
/**
|
|
58
|
+
* 控制栏底部距离,默认 100
|
|
59
|
+
*/
|
|
60
|
+
controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
61
|
+
/**
|
|
62
|
+
* 是否显示,支持 v-model
|
|
63
|
+
*/
|
|
64
|
+
"v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export declare const imagePreviewContainerEmits: () => {
|
|
69
|
+
/**
|
|
70
|
+
* 关闭回调
|
|
71
|
+
*/
|
|
72
|
+
close: import('../../../vue-utils').EmitFuncType<void>;
|
|
29
73
|
};
|
|
30
74
|
export declare const imagePreviewEmits: () => {
|
|
31
75
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { VueEmit, VueProps } from '../../../vue-utils';
|
|
2
|
-
import { ImagePreviewObject } from '../types';
|
|
3
2
|
import { imagePreviewEmits, imagePreviewProps } from './props-define';
|
|
4
3
|
export declare const useImagePreviewComponent: (options: {
|
|
5
4
|
props: VueProps<typeof imagePreviewProps>;
|
|
@@ -8,5 +7,4 @@ export declare const useImagePreviewComponent: (options: {
|
|
|
8
7
|
visible: import('vue').Ref<boolean>;
|
|
9
8
|
open: () => void;
|
|
10
9
|
close: () => void;
|
|
11
|
-
imageList: import('vue').ComputedRef<ImagePreviewObject[]>;
|
|
12
10
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ImagePreviewData } from '../types';
|
|
2
|
+
export interface ImagePreviewInterceptData {
|
|
3
|
+
/**
|
|
4
|
+
* 本次预览的图片数据
|
|
5
|
+
*/
|
|
6
|
+
images: ImagePreviewData;
|
|
7
|
+
/**
|
|
8
|
+
* 本次预览的初始索引
|
|
9
|
+
*/
|
|
10
|
+
initialIndex: number;
|
|
11
|
+
}
|
|
12
|
+
export type ImagePreviewInterceptCallback = (data: ImagePreviewInterceptData) => void;
|
|
13
|
+
export declare function useImagePreviewIntercept(callback: ImagePreviewInterceptCallback): void;
|
|
14
|
+
export declare function useImagePreviewInterceptInject(): ImagePreviewInterceptCallback | undefined;
|
|
@@ -10,8 +10,16 @@ export interface ImagePreviewOptions {
|
|
|
10
10
|
* @default false
|
|
11
11
|
*/
|
|
12
12
|
loop?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* 图片与容器边缘间距,默认 PC:100,移动端:0
|
|
15
|
+
*/
|
|
16
|
+
edgeBetween?: number;
|
|
17
|
+
/**
|
|
18
|
+
* 控制栏底部距离,默认 100
|
|
19
|
+
*/
|
|
20
|
+
controllerBottom?: number;
|
|
13
21
|
}
|
|
14
22
|
export declare function useImagePreview(): {
|
|
15
|
-
previewImage: (images?: ImagePreviewData, options?: ImagePreviewOptions) => ImagePreviewInstance;
|
|
23
|
+
previewImage: (images?: ImagePreviewData, options?: ImagePreviewOptions) => ImagePreviewInstance | undefined;
|
|
16
24
|
clickImgToPreview: (event: Event) => void;
|
|
17
25
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ImagePreviewItem, ImagePreviewObject } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
images: import('vue-types').VueTypeDef<import('./types').ImagePreviewData> & {
|
|
4
|
+
default: string | (() => ImagePreviewObject) | (() => ImagePreviewItem[]);
|
|
5
|
+
};
|
|
6
|
+
initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
13
|
+
controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
14
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
close: (arg?: void | undefined) => void;
|
|
16
|
+
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
images: import('vue-types').VueTypeDef<import('./types').ImagePreviewData> & {
|
|
18
|
+
default: string | (() => ImagePreviewObject) | (() => ImagePreviewItem[]);
|
|
19
|
+
};
|
|
20
|
+
initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
27
|
+
controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
28
|
+
}>>, {
|
|
29
|
+
loop: boolean;
|
|
30
|
+
images: import('./types').ImagePreviewData;
|
|
31
|
+
initialIndex: number;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
"v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
3
|
-
default: boolean;
|
|
4
|
-
};
|
|
5
2
|
images: import('vue-types').VueTypeDef<import('./types').ImagePreviewData> & {
|
|
6
3
|
default: string | (() => import('./types').ImagePreviewObject) | (() => import('./types').ImagePreviewItem[]);
|
|
7
4
|
};
|
|
@@ -11,15 +8,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
11
8
|
loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
12
9
|
default: boolean;
|
|
13
10
|
};
|
|
11
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
12
|
+
controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
13
|
+
"v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
14
16
|
}, {
|
|
15
17
|
open(): void;
|
|
16
18
|
close(): void;
|
|
17
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
20
|
close: (arg?: void | undefined) => void;
|
|
19
21
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
-
"v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
22
|
images: import('vue-types').VueTypeDef<import('./types').ImagePreviewData> & {
|
|
24
23
|
default: string | (() => import('./types').ImagePreviewObject) | (() => import('./types').ImagePreviewItem[]);
|
|
25
24
|
};
|
|
@@ -29,6 +28,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
29
28
|
loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
30
29
|
default: boolean;
|
|
31
30
|
};
|
|
31
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
32
|
+
controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
33
|
+
"v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
32
36
|
}>>, {
|
|
33
37
|
"v-model-key": boolean;
|
|
34
38
|
loop: boolean;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { default as PwcImagePreview } from './image-preview.vue';
|
|
2
|
+
export { default as PwcImagePreviewContainer } from './image-preview-container.vue';
|
|
2
3
|
export * from './hooks/props-define';
|
|
3
4
|
export * from './hooks/use-image-preview';
|
|
5
|
+
export * from './hooks/use-image-preview-intercept';
|
|
4
6
|
export * from './types';
|
|
@@ -65,6 +65,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
65
65
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
66
66
|
default: boolean;
|
|
67
67
|
};
|
|
68
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
68
71
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
69
72
|
default: () => import('vue').CSSProperties;
|
|
70
73
|
};
|
|
@@ -72,6 +75,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
72
75
|
default: (() => HTMLElement) | undefined;
|
|
73
76
|
};
|
|
74
77
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
78
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
75
81
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
76
82
|
default: boolean;
|
|
77
83
|
};
|
|
@@ -167,6 +173,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
167
173
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
168
174
|
default: boolean;
|
|
169
175
|
};
|
|
176
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
170
179
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
171
180
|
default: () => import('vue').CSSProperties;
|
|
172
181
|
};
|
|
@@ -174,6 +183,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
174
183
|
default: (() => HTMLElement) | undefined;
|
|
175
184
|
};
|
|
176
185
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
186
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
177
189
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
178
190
|
default: boolean;
|
|
179
191
|
};
|
|
@@ -229,7 +241,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
229
241
|
bodyMaxHeight: string | number;
|
|
230
242
|
dynamicHeight: boolean;
|
|
231
243
|
fillBody: boolean;
|
|
244
|
+
forceFullpage: boolean;
|
|
232
245
|
bodyStyle: import('vue').CSSProperties;
|
|
246
|
+
hideShadow: boolean;
|
|
233
247
|
closeOnMask: boolean;
|
|
234
248
|
showScrollbar: boolean;
|
|
235
249
|
draggable: boolean;
|
|
@@ -305,6 +319,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
305
319
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
306
320
|
default: boolean;
|
|
307
321
|
};
|
|
322
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
323
|
+
default: boolean;
|
|
324
|
+
};
|
|
308
325
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
309
326
|
default: () => import('vue').CSSProperties;
|
|
310
327
|
};
|
|
@@ -312,6 +329,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
312
329
|
default: (() => HTMLElement) | undefined;
|
|
313
330
|
};
|
|
314
331
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
332
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
333
|
+
default: boolean;
|
|
334
|
+
};
|
|
315
335
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
316
336
|
default: boolean;
|
|
317
337
|
};
|
|
@@ -411,6 +431,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
411
431
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
412
432
|
default: boolean;
|
|
413
433
|
};
|
|
434
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
435
|
+
default: boolean;
|
|
436
|
+
};
|
|
414
437
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
415
438
|
default: () => import('vue').CSSProperties;
|
|
416
439
|
};
|
|
@@ -418,6 +441,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
418
441
|
default: (() => HTMLElement) | undefined;
|
|
419
442
|
};
|
|
420
443
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
444
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
445
|
+
default: boolean;
|
|
446
|
+
};
|
|
421
447
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
422
448
|
default: boolean;
|
|
423
449
|
};
|
|
@@ -513,6 +539,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
513
539
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
514
540
|
default: boolean;
|
|
515
541
|
};
|
|
542
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
543
|
+
default: boolean;
|
|
544
|
+
};
|
|
516
545
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
517
546
|
default: () => import('vue').CSSProperties;
|
|
518
547
|
};
|
|
@@ -520,6 +549,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
520
549
|
default: (() => HTMLElement) | undefined;
|
|
521
550
|
};
|
|
522
551
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
552
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
553
|
+
default: boolean;
|
|
554
|
+
};
|
|
523
555
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
524
556
|
default: boolean;
|
|
525
557
|
};
|
|
@@ -579,7 +611,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
579
611
|
bodyMaxHeight: string | number;
|
|
580
612
|
dynamicHeight: boolean;
|
|
581
613
|
fillBody: boolean;
|
|
614
|
+
forceFullpage: boolean;
|
|
582
615
|
bodyStyle: import('vue').CSSProperties;
|
|
616
|
+
hideShadow: boolean;
|
|
583
617
|
closeOnMask: boolean;
|
|
584
618
|
showScrollbar: boolean;
|
|
585
619
|
draggable: boolean;
|
|
@@ -656,6 +690,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
656
690
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
657
691
|
default: boolean;
|
|
658
692
|
};
|
|
693
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
694
|
+
default: boolean;
|
|
695
|
+
};
|
|
659
696
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
660
697
|
default: () => import('vue').CSSProperties;
|
|
661
698
|
};
|
|
@@ -663,6 +700,9 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
663
700
|
default: (() => HTMLElement) | undefined;
|
|
664
701
|
};
|
|
665
702
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
703
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
704
|
+
default: boolean;
|
|
705
|
+
};
|
|
666
706
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
667
707
|
default: boolean;
|
|
668
708
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PopupConfig, CustomClosePopup, CustomBackPopup } from '../types';
|
|
2
2
|
/** 弹层主题,compact 紧凑型,standard 标准型,custom 自定义 */
|
|
3
3
|
export declare const popupEffects: readonly ["compact", "standard", "custom"];
|
|
4
|
-
export type PopupEffect = typeof popupEffects[number];
|
|
4
|
+
export type PopupEffect = (typeof popupEffects)[number];
|
|
5
5
|
/** 弹层用途,gray 灰色,marketing 营销,interaction 互动 */
|
|
6
6
|
export declare const popupPurpose: readonly ["gray", "marketing", "interaction"];
|
|
7
|
-
export type PopupPurpose = typeof popupPurpose[number];
|
|
7
|
+
export type PopupPurpose = (typeof popupPurpose)[number];
|
|
8
8
|
export declare const popupProps: () => {
|
|
9
9
|
ignoreSkinColor: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
10
10
|
default: boolean;
|
|
@@ -149,6 +149,13 @@ export declare const popupProps: () => {
|
|
|
149
149
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
150
150
|
default: boolean;
|
|
151
151
|
};
|
|
152
|
+
/**
|
|
153
|
+
* 是否强制弹层主体填充整个页面
|
|
154
|
+
* @default false
|
|
155
|
+
*/
|
|
156
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
152
159
|
/**
|
|
153
160
|
* 主体样式
|
|
154
161
|
*/
|
|
@@ -165,6 +172,13 @@ export declare const popupProps: () => {
|
|
|
165
172
|
* 是否显示遮罩层,开启 draggable 时,强制关闭
|
|
166
173
|
*/
|
|
167
174
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
175
|
+
/**
|
|
176
|
+
* 是否隐藏弹层阴影
|
|
177
|
+
* @default false
|
|
178
|
+
*/
|
|
179
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
168
182
|
/**
|
|
169
183
|
* 点击遮罩是否关闭
|
|
170
184
|
* @default true
|
|
@@ -219,6 +219,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
219
219
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
220
220
|
default: boolean;
|
|
221
221
|
};
|
|
222
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
222
225
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
223
226
|
default: () => import('vue').CSSProperties;
|
|
224
227
|
};
|
|
@@ -226,6 +229,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
226
229
|
default: (() => HTMLElement) | undefined;
|
|
227
230
|
};
|
|
228
231
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
232
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
233
|
+
default: boolean;
|
|
234
|
+
};
|
|
229
235
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
230
236
|
default: boolean;
|
|
231
237
|
};
|
|
@@ -333,6 +339,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
333
339
|
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
334
340
|
default: boolean;
|
|
335
341
|
};
|
|
342
|
+
forceFullpage: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
343
|
+
default: boolean;
|
|
344
|
+
};
|
|
336
345
|
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
337
346
|
default: () => import('vue').CSSProperties;
|
|
338
347
|
};
|
|
@@ -340,6 +349,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
340
349
|
default: (() => HTMLElement) | undefined;
|
|
341
350
|
};
|
|
342
351
|
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
352
|
+
hideShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
353
|
+
default: boolean;
|
|
354
|
+
};
|
|
343
355
|
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
344
356
|
default: boolean;
|
|
345
357
|
};
|
|
@@ -387,7 +399,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
387
399
|
bodyMaxHeight: string | number;
|
|
388
400
|
dynamicHeight: boolean;
|
|
389
401
|
fillBody: boolean;
|
|
402
|
+
forceFullpage: boolean;
|
|
390
403
|
bodyStyle: import('vue').CSSProperties;
|
|
404
|
+
hideShadow: boolean;
|
|
391
405
|
closeOnMask: boolean;
|
|
392
406
|
showScrollbar: boolean;
|
|
393
407
|
draggable: boolean;
|
|
@@ -24,6 +24,10 @@ export declare const zoomContainerProps: () => {
|
|
|
24
24
|
* 最小缩放比例,默认 PC:0.25,移动端:1
|
|
25
25
|
*/
|
|
26
26
|
minZoom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
27
|
+
/**
|
|
28
|
+
* 边缘间距,默认 PC:100,移动端:0
|
|
29
|
+
*/
|
|
30
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
27
31
|
};
|
|
28
32
|
export declare const zoomContainerEmits: () => {
|
|
29
33
|
/**
|
|
@@ -22,6 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
22
22
|
default: number;
|
|
23
23
|
};
|
|
24
24
|
minZoom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
25
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
25
26
|
}, {
|
|
26
27
|
zoomLarge: () => number;
|
|
27
28
|
zoomSmall: () => number;
|
|
@@ -41,6 +42,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
41
42
|
default: number;
|
|
42
43
|
};
|
|
43
44
|
minZoom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
45
|
+
edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
44
46
|
}>>, {
|
|
45
47
|
originWidth: number;
|
|
46
48
|
originHeight: number;
|