@polyv/vue-components 1.10.1 → 1.12.0

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.
Files changed (185) hide show
  1. package/package.json +2 -1
  2. package/vue2/index.es.js +11567 -10343
  3. package/vue2/src/components/basic-countdown/basic-countdown.vue.d.ts +17 -28
  4. package/vue2/src/components/basic-countdown/use-basic-countdown.d.ts +25 -2
  5. package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +26 -0
  6. package/vue2/src/components/business/external-links/use-external-links.d.ts +2 -0
  7. package/vue2/src/components/business/normal-pendant/normal-pendant.vue.d.ts +16 -1
  8. package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +2 -0
  9. package/vue2/src/components/exports.d.ts +1 -0
  10. package/vue2/src/components/form/date-picker/index.d.ts +16 -0
  11. package/vue2/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-column.vue.d.ts +28 -0
  12. package/vue2/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-popup.vue.d.ts +2 -0
  13. package/vue2/src/components/form/date-picker/src/components/picker-popper/vertical-pick-popper.vue.d.ts +2 -0
  14. package/vue2/src/components/form/date-picker/src/components/time-select/time-input-select.vue.d.ts +2 -0
  15. package/vue2/src/components/form/date-picker/src/date-picker.vue.d.ts +16 -0
  16. package/vue2/src/components/form/date-picker/src/hooks/props-define.d.ts +18 -0
  17. package/vue2/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +6 -1
  18. package/vue2/src/components/form/date-picker/src/types/index.d.ts +5 -1
  19. package/vue2/src/components/form/file-upload/index.d.ts +38 -0
  20. package/vue2/src/components/form/file-upload/src/file-upload.vue.d.ts +13 -0
  21. package/vue2/src/components/form/file-upload/src/hooks/props-define.d.ts +6 -0
  22. package/vue2/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +1 -0
  23. package/vue2/src/components/form/form-submit-button/index.d.ts +1 -1
  24. package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
  25. package/vue2/src/components/form/image-upload/index.d.ts +12 -0
  26. package/vue2/src/components/form/image-upload/src/hooks/props-define.d.ts +6 -0
  27. package/vue2/src/components/form/image-upload/src/image-upload.vue.d.ts +12 -0
  28. package/vue2/src/components/form/select/index.d.ts +32 -0
  29. package/vue2/src/components/form/select/src/props-define.d.ts +15 -0
  30. package/vue2/src/components/form/select/src/select-mobile-picker-column.vue.d.ts +17 -0
  31. package/vue2/src/components/form/select/src/select.vue.d.ts +27 -15
  32. package/vue2/src/components/form/timezone-picker/index.d.ts +42 -0
  33. package/vue2/src/components/form/timezone-picker/src/hooks/props-define.d.ts +22 -0
  34. package/vue2/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +42 -0
  35. package/vue2/src/components/form/types/index.d.ts +0 -1
  36. package/vue2/src/components/icons/icons/crop-two/index.d.ts +6 -0
  37. package/vue2/src/components/icons/icons/email/index.d.ts +6 -0
  38. package/vue2/src/components/icons/icons/location/index.d.ts +6 -0
  39. package/vue2/src/components/icons/icons/logout/index.d.ts +6 -0
  40. package/vue2/src/components/icons/icons/number/index.d.ts +6 -0
  41. package/vue2/src/components/icons/icons/option/index.d.ts +6 -0
  42. package/vue2/src/components/icons/icons/phone/index.d.ts +6 -0
  43. package/vue2/src/components/icons/icons/qa/index.d.ts +6 -0
  44. package/vue2/src/components/icons/icons/qa-one/index.d.ts +6 -0
  45. package/vue2/src/components/icons/icons/return/index.d.ts +6 -0
  46. package/vue2/src/components/icons/icons/text/index.d.ts +6 -0
  47. package/vue2/src/components/icons/map.d.ts +11 -0
  48. package/vue2/src/components/image-cropper/index.d.ts +27 -1
  49. package/vue2/src/components/image-cropper/src/hooks/props-define.d.ts +34 -0
  50. package/vue2/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +7 -14
  51. package/vue2/src/components/image-cropper/src/image-cropper-preview.vue.d.ts +16 -0
  52. package/vue2/src/components/image-cropper/src/image-cropper.vue.d.ts +13 -3
  53. package/vue2/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +2 -0
  54. package/vue2/src/components/image-preview/components/preview-controller.vue.d.ts +2 -0
  55. package/vue2/src/components/image-preview/hooks/props-define.d.ts +54 -3
  56. package/vue2/src/components/image-preview/hooks/use-image-preview-component.d.ts +0 -2
  57. package/vue2/src/components/image-preview/hooks/use-image-preview-intercept.d.ts +14 -0
  58. package/vue2/src/components/image-preview/hooks/use-image-preview.d.ts +14 -1
  59. package/vue2/src/components/image-preview/image-preview-container.vue.d.ts +33 -0
  60. package/vue2/src/components/image-preview/image-preview.vue.d.ts +17 -6
  61. package/vue2/src/components/image-preview/index.d.ts +2 -0
  62. package/vue2/src/components/popup/index.d.ts +40 -0
  63. package/vue2/src/components/popup/src/hooks/popup-props.d.ts +16 -2
  64. package/vue2/src/components/popup/src/popup.vue.d.ts +14 -0
  65. package/vue2/src/components/sensitive-text/index.d.ts +5 -5
  66. package/vue2/src/components/sensitive-text/src/props-define.d.ts +2 -2
  67. package/vue2/src/components/sensitive-text/src/sensitive-text.vue.d.ts +5 -5
  68. package/vue2/src/components/space/index.d.ts +76 -0
  69. package/vue2/src/components/space/src/props-define.d.ts +36 -0
  70. package/vue2/src/components/space/src/space.vue.d.ts +41 -0
  71. package/vue2/src/components/swiper/hooks/use-swiper-wrapper.d.ts +2 -0
  72. package/vue2/src/components/table/index.d.ts +48 -26
  73. package/vue2/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +6 -1
  74. package/vue2/src/components/table/src/hooks/props-define.d.ts +39 -3
  75. package/vue2/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +1 -0
  76. package/vue2/src/components/table/src/hooks/use-table/use-table-request.d.ts +1 -1
  77. package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +2 -1
  78. package/vue2/src/components/table/src/table-column.vue.d.ts +7 -7
  79. package/vue2/src/components/table/src/table.vue.d.ts +14 -7
  80. package/vue2/src/components/tabs/index.d.ts +14 -14
  81. package/vue2/src/components/tabs/src/props-define.d.ts +2 -2
  82. package/vue2/src/components/tabs/src/tabs.vue.d.ts +5 -5
  83. package/vue2/src/components/zoom-container/hooks/use-zoom-size.d.ts +1 -1
  84. package/vue2/src/components/zoom-container/use-zoom-container.d.ts +4 -0
  85. package/vue2/src/components/zoom-container/zoom-container.vue.d.ts +2 -0
  86. package/vue2/src/index.d.ts +5 -0
  87. package/vue2/src/lang/internal/en.json.d.ts +3 -1
  88. package/vue2/src/lang/internal/index.d.ts +2 -0
  89. package/vue2/src/lang/internal/ja.json.d.ts +3 -1
  90. package/vue2/src/lang/internal/ko.json.d.ts +3 -1
  91. package/vue2/src/lang/internal/ru.json.d.ts +3 -1
  92. package/vue2/src/lang/internal/zh-CN.json.d.ts +3 -1
  93. package/vue2/src/lang/internal/zh-TW.json.d.ts +3 -1
  94. package/vue3/index.es.js +14175 -12951
  95. package/vue3/src/components/basic-countdown/basic-countdown.vue.d.ts +17 -28
  96. package/vue3/src/components/basic-countdown/use-basic-countdown.d.ts +25 -2
  97. package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +26 -0
  98. package/vue3/src/components/business/external-links/use-external-links.d.ts +2 -0
  99. package/vue3/src/components/business/normal-pendant/normal-pendant.vue.d.ts +16 -1
  100. package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +2 -0
  101. package/vue3/src/components/exports.d.ts +1 -0
  102. package/vue3/src/components/form/date-picker/index.d.ts +16 -0
  103. package/vue3/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-column.vue.d.ts +28 -0
  104. package/vue3/src/components/form/date-picker/src/components/mobile-picker/mobile-picker-popup.vue.d.ts +2 -0
  105. package/vue3/src/components/form/date-picker/src/components/picker-popper/vertical-pick-popper.vue.d.ts +2 -0
  106. package/vue3/src/components/form/date-picker/src/components/time-select/time-input-select.vue.d.ts +2 -0
  107. package/vue3/src/components/form/date-picker/src/date-picker.vue.d.ts +16 -0
  108. package/vue3/src/components/form/date-picker/src/hooks/props-define.d.ts +18 -0
  109. package/vue3/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +6 -1
  110. package/vue3/src/components/form/date-picker/src/types/index.d.ts +5 -1
  111. package/vue3/src/components/form/file-upload/index.d.ts +38 -0
  112. package/vue3/src/components/form/file-upload/src/file-upload.vue.d.ts +13 -0
  113. package/vue3/src/components/form/file-upload/src/hooks/props-define.d.ts +6 -0
  114. package/vue3/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +1 -0
  115. package/vue3/src/components/form/form-submit-button/index.d.ts +1 -1
  116. package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
  117. package/vue3/src/components/form/image-upload/index.d.ts +12 -0
  118. package/vue3/src/components/form/image-upload/src/hooks/props-define.d.ts +6 -0
  119. package/vue3/src/components/form/image-upload/src/image-upload.vue.d.ts +12 -0
  120. package/vue3/src/components/form/select/index.d.ts +32 -0
  121. package/vue3/src/components/form/select/src/props-define.d.ts +15 -0
  122. package/vue3/src/components/form/select/src/select-mobile-picker-column.vue.d.ts +17 -0
  123. package/vue3/src/components/form/select/src/select.vue.d.ts +27 -15
  124. package/vue3/src/components/form/timezone-picker/index.d.ts +42 -0
  125. package/vue3/src/components/form/timezone-picker/src/hooks/props-define.d.ts +22 -0
  126. package/vue3/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +42 -0
  127. package/vue3/src/components/form/types/index.d.ts +0 -1
  128. package/vue3/src/components/icons/icons/crop-two/index.d.ts +6 -0
  129. package/vue3/src/components/icons/icons/email/index.d.ts +6 -0
  130. package/vue3/src/components/icons/icons/location/index.d.ts +6 -0
  131. package/vue3/src/components/icons/icons/logout/index.d.ts +6 -0
  132. package/vue3/src/components/icons/icons/number/index.d.ts +6 -0
  133. package/vue3/src/components/icons/icons/option/index.d.ts +6 -0
  134. package/vue3/src/components/icons/icons/phone/index.d.ts +6 -0
  135. package/vue3/src/components/icons/icons/qa/index.d.ts +6 -0
  136. package/vue3/src/components/icons/icons/qa-one/index.d.ts +6 -0
  137. package/vue3/src/components/icons/icons/return/index.d.ts +6 -0
  138. package/vue3/src/components/icons/icons/text/index.d.ts +6 -0
  139. package/vue3/src/components/icons/map.d.ts +11 -0
  140. package/vue3/src/components/image-cropper/index.d.ts +27 -1
  141. package/vue3/src/components/image-cropper/src/hooks/props-define.d.ts +34 -0
  142. package/vue3/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +7 -14
  143. package/vue3/src/components/image-cropper/src/image-cropper-preview.vue.d.ts +16 -0
  144. package/vue3/src/components/image-cropper/src/image-cropper.vue.d.ts +13 -3
  145. package/vue3/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +2 -0
  146. package/vue3/src/components/image-preview/components/preview-controller.vue.d.ts +2 -0
  147. package/vue3/src/components/image-preview/hooks/props-define.d.ts +54 -3
  148. package/vue3/src/components/image-preview/hooks/use-image-preview-component.d.ts +0 -2
  149. package/vue3/src/components/image-preview/hooks/use-image-preview-intercept.d.ts +14 -0
  150. package/vue3/src/components/image-preview/hooks/use-image-preview.d.ts +14 -1
  151. package/vue3/src/components/image-preview/image-preview-container.vue.d.ts +33 -0
  152. package/vue3/src/components/image-preview/image-preview.vue.d.ts +17 -6
  153. package/vue3/src/components/image-preview/index.d.ts +2 -0
  154. package/vue3/src/components/popup/index.d.ts +40 -0
  155. package/vue3/src/components/popup/src/hooks/popup-props.d.ts +16 -2
  156. package/vue3/src/components/popup/src/popup.vue.d.ts +14 -0
  157. package/vue3/src/components/sensitive-text/index.d.ts +5 -5
  158. package/vue3/src/components/sensitive-text/src/props-define.d.ts +2 -2
  159. package/vue3/src/components/sensitive-text/src/sensitive-text.vue.d.ts +5 -5
  160. package/vue3/src/components/space/index.d.ts +76 -0
  161. package/vue3/src/components/space/src/props-define.d.ts +36 -0
  162. package/vue3/src/components/space/src/space.vue.d.ts +41 -0
  163. package/vue3/src/components/swiper/hooks/use-swiper-wrapper.d.ts +2 -0
  164. package/vue3/src/components/table/index.d.ts +48 -26
  165. package/vue3/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +6 -1
  166. package/vue3/src/components/table/src/hooks/props-define.d.ts +39 -3
  167. package/vue3/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +1 -0
  168. package/vue3/src/components/table/src/hooks/use-table/use-table-request.d.ts +1 -1
  169. package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +2 -1
  170. package/vue3/src/components/table/src/table-column.vue.d.ts +7 -7
  171. package/vue3/src/components/table/src/table.vue.d.ts +14 -7
  172. package/vue3/src/components/tabs/index.d.ts +14 -14
  173. package/vue3/src/components/tabs/src/props-define.d.ts +2 -2
  174. package/vue3/src/components/tabs/src/tabs.vue.d.ts +5 -5
  175. package/vue3/src/components/zoom-container/hooks/use-zoom-size.d.ts +1 -1
  176. package/vue3/src/components/zoom-container/use-zoom-container.d.ts +4 -0
  177. package/vue3/src/components/zoom-container/zoom-container.vue.d.ts +2 -0
  178. package/vue3/src/index.d.ts +5 -0
  179. package/vue3/src/lang/internal/en.json.d.ts +3 -1
  180. package/vue3/src/lang/internal/index.d.ts +2 -0
  181. package/vue3/src/lang/internal/ja.json.d.ts +3 -1
  182. package/vue3/src/lang/internal/ko.json.d.ts +3 -1
  183. package/vue3/src/lang/internal/ru.json.d.ts +3 -1
  184. package/vue3/src/lang/internal/zh-CN.json.d.ts +3 -1
  185. package/vue3/src/lang/internal/zh-TW.json.d.ts +3 -1
@@ -8,10 +8,17 @@ export declare const PwcImageCropper: import('../../vue-utils/install-utils').SF
8
8
  resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
9
9
  default: boolean;
10
10
  };
11
+ chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
12
+ default: boolean;
13
+ };
11
14
  }, {
12
15
  getCropperData: () => import('./src/hooks/props-define').ImageCropperData | undefined;
16
+ setCropperData: (data: import('./src/hooks/props-define').ImageCropperData) => void;
13
17
  resetSelection: () => void;
14
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
18
+ waitImageInited: () => Promise<void>;
19
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ change: (arg: import('./src/hooks/props-define').ImageCropperData) => void;
21
+ }, string, Readonly<import('vue').ExtractPropTypes<{
15
22
  target: import('vue-types').VueTypeDef<string | File | Blob>;
16
23
  within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
17
24
  default: "image" | "canvas";
@@ -21,8 +28,27 @@ export declare const PwcImageCropper: import('../../vue-utils/install-utils').SF
21
28
  resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
22
29
  default: boolean;
23
30
  };
31
+ chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
32
+ default: boolean;
33
+ };
24
34
  }>>, {
25
35
  within: "image" | "canvas";
26
36
  resizeBox: boolean;
37
+ chessboard: boolean;
38
+ }>, import('../../vue-utils/install-utils').InstallOptions>;
39
+ export declare const PwcImageCropperPreview: import('../../vue-utils/install-utils').SFCInstall<import('vue').DefineComponent<{
40
+ target: import('vue-types').VueTypeDef<string | File | Blob>;
41
+ cropperData: import('vue-types').VueTypeValidableDef<import('./src/hooks/props-define').ImageCropperData, import('vue-types/dist/types').ValidatorFunction<import('./src/hooks/props-define').ImageCropperData>>;
42
+ mode: import('vue-types').VueTypeDef<"contain" | "cover"> & {
43
+ default: "contain" | "cover";
44
+ };
45
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
46
+ target: import('vue-types').VueTypeDef<string | File | Blob>;
47
+ cropperData: import('vue-types').VueTypeValidableDef<import('./src/hooks/props-define').ImageCropperData, import('vue-types/dist/types').ValidatorFunction<import('./src/hooks/props-define').ImageCropperData>>;
48
+ mode: import('vue-types').VueTypeDef<"contain" | "cover"> & {
49
+ default: "contain" | "cover";
50
+ };
51
+ }>>, {
52
+ mode: "contain" | "cover";
27
53
  }>, import('../../vue-utils/install-utils').InstallOptions>;
28
54
  export * from './src/hooks/props-define';
@@ -41,15 +41,49 @@ export declare const imageCropperProps: () => {
41
41
  resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
42
42
  default: boolean;
43
43
  };
44
+ /**
45
+ * 是否显示棋盘背景
46
+ * @default true
47
+ */
48
+ chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
49
+ default: boolean;
50
+ };
44
51
  };
45
52
  export type ImageCropperProps = FormatProps<typeof imageCropperProps>;
53
+ export declare const imageCropperEmits: () => {
54
+ change: import('../../../../vue-utils').EmitFuncType<ImageCropperData>;
55
+ };
46
56
  export interface ImageCropperExpose {
47
57
  /**
48
58
  * 获取裁切数据
49
59
  */
50
60
  getCropperData: () => ImageCropperData | undefined;
61
+ /**
62
+ * 设置裁切数据(基于图片原始坐标)
63
+ */
64
+ setCropperData: (data: ImageCropperData) => void;
51
65
  /**
52
66
  * 重置选区
53
67
  */
54
68
  resetSelection: () => void;
69
+ /**
70
+ * 等待图片初始化
71
+ */
72
+ waitImageInited: () => Promise<void>;
55
73
  }
74
+ export declare const imageCropperPreviewProps: () => {
75
+ /**
76
+ * 裁切目标
77
+ */
78
+ target: import('vue-types').VueTypeDef<string | File | Blob>;
79
+ /**
80
+ * 裁剪数据
81
+ */
82
+ cropperData: import('vue-types').VueTypeValidableDef<ImageCropperData, import('vue-types/dist/types').ValidatorFunction<ImageCropperData>>;
83
+ /**
84
+ * 模式
85
+ */
86
+ mode: import('vue-types').VueTypeDef<"contain" | "cover"> & {
87
+ default: "contain" | "cover";
88
+ };
89
+ };
@@ -1,5 +1,5 @@
1
- import { VueProps } from '../../../../vue-utils';
2
- import { imageCropperProps } from './props-define';
1
+ import { VueEmit, VueProps } from '../../../../vue-utils';
2
+ import { ImageCropperData, imageCropperEmits, imageCropperProps } from './props-define';
3
3
  import { ComputedRef, Ref } from 'vue';
4
4
  export interface CropBox {
5
5
  x: number;
@@ -38,20 +38,13 @@ export interface ImageCropperInjectData {
38
38
  }
39
39
  export declare const useImageCropper: (options: {
40
40
  props: VueProps<typeof imageCropperProps>;
41
+ emit: VueEmit<typeof imageCropperEmits>;
41
42
  }) => {
42
43
  containerRef: Ref<HTMLDivElement | undefined>;
43
44
  canRender: Ref<boolean>;
44
- cropBox: Ref<{
45
- x: number;
46
- y: number;
47
- width: number;
48
- height: number;
49
- }>;
50
- imageDisplayRect: ComputedRef<ImageDisplayRect>;
51
- imageSize: Ref<{
52
- width: number;
53
- height: number;
54
- }>;
55
- resetCropBox: () => void;
45
+ getCropperData: () => ImageCropperData | undefined;
46
+ setCropperData: (data: ImageCropperData) => Promise<void>;
47
+ resetSelection: () => void;
48
+ waitImageInited: () => Promise<void>;
56
49
  };
57
50
  export declare const useImageCropperInject: () => ImageCropperInjectData;
@@ -0,0 +1,16 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ target: import('vue-types').VueTypeDef<string | File | Blob>;
3
+ cropperData: import('vue-types').VueTypeValidableDef<import('./hooks/props-define').ImageCropperData, import('vue-types/dist/types').ValidatorFunction<import('./hooks/props-define').ImageCropperData>>;
4
+ mode: import('vue-types').VueTypeDef<"contain" | "cover"> & {
5
+ default: "contain" | "cover";
6
+ };
7
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
8
+ target: import('vue-types').VueTypeDef<string | File | Blob>;
9
+ cropperData: import('vue-types').VueTypeValidableDef<import('./hooks/props-define').ImageCropperData, import('vue-types/dist/types').ValidatorFunction<import('./hooks/props-define').ImageCropperData>>;
10
+ mode: import('vue-types').VueTypeDef<"contain" | "cover"> & {
11
+ default: "contain" | "cover";
12
+ };
13
+ }>>, {
14
+ mode: "contain" | "cover";
15
+ }>;
16
+ export default _default;
@@ -1,4 +1,3 @@
1
- import { ImageCropperData } from './hooks/props-define';
2
1
  declare const _default: import('vue').DefineComponent<{
3
2
  target: import('vue-types').VueTypeDef<string | File | Blob>;
4
3
  within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
@@ -9,10 +8,17 @@ declare const _default: import('vue').DefineComponent<{
9
8
  resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
10
9
  default: boolean;
11
10
  };
11
+ chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
12
+ default: boolean;
13
+ };
12
14
  }, {
13
- getCropperData: () => ImageCropperData | undefined;
15
+ getCropperData: () => import('./hooks/props-define').ImageCropperData | undefined;
16
+ setCropperData: (data: import('./hooks/props-define').ImageCropperData) => void;
14
17
  resetSelection: () => void;
15
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
18
+ waitImageInited: () => Promise<void>;
19
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ change: (arg: import('./hooks/props-define').ImageCropperData) => void;
21
+ }, string, Readonly<import('vue').ExtractPropTypes<{
16
22
  target: import('vue-types').VueTypeDef<string | File | Blob>;
17
23
  within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
18
24
  default: "image" | "canvas";
@@ -22,8 +28,12 @@ declare const _default: import('vue').DefineComponent<{
22
28
  resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
23
29
  default: boolean;
24
30
  };
31
+ chessboard: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
32
+ default: boolean;
33
+ };
25
34
  }>>, {
26
35
  within: "image" | "canvas";
27
36
  resizeBox: boolean;
37
+ chessboard: boolean;
28
38
  }>;
29
39
  export default _default;
@@ -12,6 +12,7 @@ declare const _default: import('vue').DefineComponent<{
12
12
  item: import('vue-types').VueTypeValidableDef<ImagePreviewObject, import('vue-types/dist/types').ValidatorFunction<ImagePreviewObject>> & {
13
13
  required: true;
14
14
  };
15
+ edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
15
16
  }, {
16
17
  zoomLarge: typeof zoomLarge;
17
18
  zoomSmall: typeof zoomSmall;
@@ -29,6 +30,7 @@ declare const _default: import('vue').DefineComponent<{
29
30
  item: import('vue-types').VueTypeValidableDef<ImagePreviewObject, import('vue-types/dist/types').ValidatorFunction<ImagePreviewObject>> & {
30
31
  required: true;
31
32
  };
33
+ edgeBetween: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
32
34
  }>>, {
33
35
  index: number;
34
36
  }>;
@@ -5,6 +5,7 @@ declare const _default: import('vue').DefineComponent<{
5
5
  show: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
6
6
  default: boolean;
7
7
  };
8
+ controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
8
9
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
10
  download: (arg?: void | undefined) => void;
10
11
  "zoom-in": (arg?: void | undefined) => void;
@@ -17,6 +18,7 @@ declare const _default: import('vue').DefineComponent<{
17
18
  show: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
18
19
  default: boolean;
19
20
  };
21
+ controllerBottom: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
20
22
  }>>, {
21
23
  show: boolean;
22
24
  currentScale: number;
@@ -1,11 +1,35 @@
1
1
  import { ImagePreviewData } from '../types';
2
- export declare const imagePreviewProps: () => {
2
+ export declare const imagePreviewContainerProps: () => {
3
3
  /**
4
- * 是否显示,支持 v-model
4
+ * 预览的图片列表
5
5
  */
6
- "v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
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
  */
@@ -19,6 +43,33 @@ export declare const imagePreviewProps: () => {
19
43
  initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
20
44
  default: number;
21
45
  };
46
+ /**
47
+ * 是否循环切换
48
+ * @default false
49
+ */
50
+ loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
51
+ default: boolean;
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>;
22
73
  };
23
74
  export declare const imagePreviewEmits: () => {
24
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;
@@ -5,8 +5,21 @@ export interface ImagePreviewOptions {
5
5
  * @default 0
6
6
  */
7
7
  initialIndex?: number;
8
+ /**
9
+ * 是否循环切换
10
+ * @default false
11
+ */
12
+ loop?: boolean;
13
+ /**
14
+ * 图片与容器边缘间距,默认 PC:100,移动端:0
15
+ */
16
+ edgeBetween?: number;
17
+ /**
18
+ * 控制栏底部距离,默认 100
19
+ */
20
+ controllerBottom?: number;
8
21
  }
9
22
  export declare function useImagePreview(): {
10
- previewImage: (images?: ImagePreviewData, options?: ImagePreviewOptions) => ImagePreviewInstance;
23
+ previewImage: (images?: ImagePreviewData, options?: ImagePreviewOptions) => ImagePreviewInstance | undefined;
11
24
  clickImgToPreview: (event: Event) => void;
12
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,30 +1,41 @@
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
  };
8
5
  initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
9
6
  default: number;
10
7
  };
8
+ loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
9
+ default: boolean;
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
+ };
11
16
  }, {
12
17
  open(): void;
13
18
  close(): void;
14
19
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
20
  close: (arg?: void | undefined) => void;
16
21
  }, string, Readonly<import('vue').ExtractPropTypes<{
17
- "v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
18
- default: boolean;
19
- };
20
22
  images: import('vue-types').VueTypeDef<import('./types').ImagePreviewData> & {
21
23
  default: string | (() => import('./types').ImagePreviewObject) | (() => import('./types').ImagePreviewItem[]);
22
24
  };
23
25
  initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
24
26
  default: number;
25
27
  };
28
+ loop: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
29
+ default: boolean;
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
+ };
26
36
  }>>, {
27
37
  "v-model-key": boolean;
38
+ loop: boolean;
28
39
  images: import('./types').ImagePreviewData;
29
40
  initialIndex: number;
30
41
  }>;
@@ -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