@polyv/vue-components 1.1.1 → 1.2.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 (624) hide show
  1. package/after-install/index.js +19 -0
  2. package/package.json +14 -6
  3. package/styles/mixins.scss +11 -1
  4. package/styles/skin-color.scss +3 -3
  5. package/{index.es.js → vue2/index.es.js} +10240 -5975
  6. package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/_component/use-action-sheet-comp.d.ts +3 -3
  7. package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/types.d.ts +0 -1
  8. package/vue2/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +74 -0
  9. package/vue2/src/components/animation/bubble-animation/hooks/props-define.d.ts +53 -0
  10. package/vue2/src/components/animation/bubble-animation/hooks/use-animation-canvas.d.ts +8 -0
  11. package/vue2/src/components/animation/bubble-animation/hooks/use-bubble-animation.d.ts +9 -0
  12. package/vue2/src/components/animation/bubble-animation/hooks/use-bubble-item.d.ts +53 -0
  13. package/vue2/src/components/animation/bubble-animation/index.d.ts +3 -0
  14. package/vue2/src/components/animation/bubble-animation/types/index.d.ts +52 -0
  15. package/vue2/src/components/business/data-export/data-export-entrance/date-export-entrance.vue.d.ts +10 -0
  16. package/vue2/src/components/business/data-export/data-export-entrance/use-data-export-entrance.d.ts +24 -0
  17. package/vue2/src/components/business/data-export/data-export-record/data-export-record.vue.d.ts +21 -0
  18. package/vue2/src/components/business/data-export/data-export-record/record-item.vue.d.ts +19 -0
  19. package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +27 -0
  20. package/vue2/src/components/business/data-export/hooks/use-data-export-utils.d.ts +15 -0
  21. package/vue2/src/components/business/data-export/index.d.ts +6 -0
  22. package/vue2/src/components/business/data-export/types/index.d.ts +74 -0
  23. package/{src/components → vue2/src/components/business}/normal-pendant/use-normal-pendant.d.ts +2 -2
  24. package/{src/components → vue2/src/components/business}/reward-receive/entrance/reward-receive.vue.d.ts +3 -3
  25. package/{src/components → vue2/src/components/business}/reward-receive/hooks/use-reward-receive.d.ts +30 -9
  26. package/{src → vue2/src}/components/button/type.d.ts +1 -1
  27. package/{src → vue2/src}/components/category-select/category-select-item.vue.d.ts +2 -3
  28. package/{src/components/form/checkbox/checkbox-group.vue.d.ts → vue2/src/components/category-select/category-select.vue.d.ts} +6 -10
  29. package/{src → vue2/src}/components/category-select/use-category-select.d.ts +3 -2
  30. package/{src → vue2/src}/components/dropdown/dropdown.vue.d.ts +6 -6
  31. package/{src → vue2/src}/components/dropdown/use-dropdown.d.ts +2 -2
  32. package/{src → vue2/src}/components/empty/empty.vue.d.ts +2 -2
  33. package/{src → vue2/src}/components/empty/use-empty.d.ts +1 -2
  34. package/vue2/src/components/exports.d.ts +22 -0
  35. package/vue2/src/components/file-icon/file-icon.vue.d.ts +16 -0
  36. package/vue2/src/components/file-icon/index.d.ts +2 -0
  37. package/vue2/src/components/file-icon/use-file-icon.d.ts +20 -0
  38. package/{src → vue2/src}/components/form/area-picker/area-picker.vue.d.ts +6 -8
  39. package/vue2/src/components/form/area-picker/components/picker-popup.vue.d.ts +29 -0
  40. package/vue2/src/components/form/area-picker/hooks/use-area-picker-value.d.ts +14 -0
  41. package/{src → vue2/src}/components/form/area-picker/index.d.ts +1 -0
  42. package/vue2/src/components/form/area-picker/types.d.ts +5 -0
  43. package/{src → vue2/src}/components/form/area-picker/use-area-picker.d.ts +16 -24
  44. package/{src/plugins/polyv-ui/area-utils.d.ts → vue2/src/components/form/area-picker/utils.d.ts} +3 -4
  45. package/vue2/src/components/form/checkbox/checkbox-group.vue.d.ts +30 -0
  46. package/{src → vue2/src}/components/form/checkbox/checkbox.vue.d.ts +2 -3
  47. package/{src → vue2/src}/components/form/checkbox/type.d.ts +1 -1
  48. package/{src → vue2/src}/components/form/checkbox/use-checkbox.d.ts +6 -7
  49. package/{src → vue2/src}/components/form/form-item/use-form-item.d.ts +0 -1
  50. package/{src → vue2/src}/components/form/form-wrap/form-wrap.vue.d.ts +7 -21
  51. package/{src → vue2/src}/components/form/form-wrap/use-form-wrap.d.ts +4 -14
  52. package/{src → vue2/src}/components/form/input/input.vue.d.ts +4 -4
  53. package/{src → vue2/src}/components/form/input/use-input.d.ts +1 -2
  54. package/{src → vue2/src}/components/form/protocol/protocol.vue.d.ts +6 -4
  55. package/{src → vue2/src}/components/form/protocol/use-protocol.d.ts +2 -1
  56. package/{src → vue2/src}/components/form/radio/radio-group.vue.d.ts +6 -3
  57. package/{src → vue2/src}/components/form/radio/radio.vue.d.ts +2 -2
  58. package/{src → vue2/src}/components/form/radio/type.d.ts +1 -1
  59. package/{src → vue2/src}/components/form/radio/use-radio.d.ts +4 -4
  60. package/vue2/src/components/icons/icons/arrow-circle-down/index.d.ts +6 -0
  61. package/vue2/src/components/icons/icons/arrow-circle-left/index.d.ts +6 -0
  62. package/vue2/src/components/icons/icons/arrow-circle-right/index.d.ts +6 -0
  63. package/vue2/src/components/icons/icons/arrow-circle-up/index.d.ts +6 -0
  64. package/vue2/src/components/icons/icons/arrow-down/index.d.ts +6 -0
  65. package/vue2/src/components/icons/icons/arrow-left/index.d.ts +6 -0
  66. package/vue2/src/components/icons/icons/arrow-right/index.d.ts +6 -0
  67. package/vue2/src/components/icons/icons/arrow-up/index.d.ts +6 -0
  68. package/vue2/src/components/icons/icons/check/index.d.ts +6 -0
  69. package/vue2/src/components/icons/icons/check-round-fill/index.d.ts +6 -0
  70. package/vue2/src/components/icons/icons/close/index.d.ts +6 -0
  71. package/vue2/src/components/icons/icons/close-round/index.d.ts +6 -0
  72. package/vue2/src/components/icons/icons/close-round-fill/index.d.ts +6 -0
  73. package/vue2/src/components/icons/icons/copy/index.d.ts +6 -0
  74. package/vue2/src/components/icons/icons/down-file/index.d.ts +6 -0
  75. package/vue2/src/components/icons/icons/down-load/index.d.ts +6 -0
  76. package/vue2/src/components/icons/icons/empty-prize/index.d.ts +6 -0
  77. package/vue2/src/components/icons/icons/error-round/index.d.ts +6 -0
  78. package/vue2/src/components/icons/icons/export/index.d.ts +6 -0
  79. package/vue2/src/components/icons/icons/info-round-fill/index.d.ts +6 -0
  80. package/vue2/src/components/icons/icons/list/index.d.ts +6 -0
  81. package/vue2/src/components/icons/icons/loading/index.d.ts +6 -0
  82. package/vue2/src/components/icons/icons/question-round/index.d.ts +6 -0
  83. package/vue2/src/components/icons/icons/search/index.d.ts +6 -0
  84. package/vue2/src/components/icons/icons/success-round/index.d.ts +6 -0
  85. package/vue2/src/components/icons/icons/triangle-down/index.d.ts +6 -0
  86. package/vue2/src/components/icons/icons/triangle-up/index.d.ts +6 -0
  87. package/vue2/src/components/icons/icons/warning-round-fill/index.d.ts +6 -0
  88. package/vue2/src/components/icons/icons/zoom-in/index.d.ts +6 -0
  89. package/vue2/src/components/icons/icons/zoom-out/index.d.ts +6 -0
  90. package/{src → vue2/src}/components/icons/map.d.ts +5 -0
  91. package/vue2/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +35 -0
  92. package/vue2/src/components/image-preview/components/preview-controller.vue.d.ts +24 -0
  93. package/vue2/src/components/image-preview/hooks/props-define.d.ts +28 -0
  94. package/vue2/src/components/image-preview/hooks/use-image-preview-component.d.ts +12 -0
  95. package/vue2/src/components/image-preview/hooks/use-image-preview.d.ts +12 -0
  96. package/vue2/src/components/image-preview/image-preview.vue.d.ts +31 -0
  97. package/vue2/src/components/image-preview/index.d.ts +4 -0
  98. package/vue2/src/components/image-preview/types.d.ts +19 -0
  99. package/{src → vue2/src}/components/loading/directive.d.ts +1 -2
  100. package/{src → vue2/src}/components/loading/loading.vue.d.ts +5 -5
  101. package/{src → vue2/src}/components/loading/types.d.ts +0 -1
  102. package/{src → vue2/src}/components/loading/use-loading-component.d.ts +2 -5
  103. package/{src/hooks/components/use-message-box → vue2/src/components/message-box}/_component/message-box-element.vue.d.ts +10 -10
  104. package/{src/hooks/components/use-message-box → vue2/src/components/message-box}/_component/use-message-box-element.d.ts +24 -51
  105. package/{src/hooks/components/use-message-box → vue2/src/components/message-box}/types.d.ts +8 -6
  106. package/vue2/src/components/popper/hooks.d.ts +7 -0
  107. package/vue2/src/components/popper/index.d.ts +4 -0
  108. package/vue2/src/components/popper/popper-content.vue.d.ts +19 -0
  109. package/vue2/src/components/popper/popper-reference.vue.d.ts +19 -0
  110. package/vue2/src/components/popper/popper.vue.d.ts +58 -0
  111. package/vue2/src/components/popper/props-define.d.ts +39 -0
  112. package/{src → vue2/src}/components/popup/hooks/popup-props.d.ts +36 -9
  113. package/{src → vue2/src}/components/popup/hooks/use-popup-position.d.ts +1 -1
  114. package/{src → vue2/src}/components/popup/popup.vue.d.ts +21 -13
  115. package/vue2/src/components/slot/index.d.ts +1 -0
  116. package/vue2/src/components/swiper/hooks/swiper-props.d.ts +72 -0
  117. package/vue2/src/components/swiper/hooks/types.d.ts +2 -0
  118. package/vue2/src/components/swiper/hooks/use-swiper-options.d.ts +9236 -0
  119. package/vue2/src/components/swiper/hooks/use-swiper-slide.d.ts +1 -0
  120. package/vue2/src/components/swiper/hooks/use-swiper-wrapper.d.ts +22 -0
  121. package/vue2/src/components/swiper/index.d.ts +4 -0
  122. package/vue2/src/components/swiper/modules/use-navigation-module.d.ts +21 -0
  123. package/vue2/src/components/swiper/modules/use-pagination-module.d.ts +14 -0
  124. package/vue2/src/components/swiper/swiper-slide.vue.d.ts +17 -0
  125. package/vue2/src/components/swiper/swiper.vue.d.ts +73 -0
  126. package/{src → vue2/src}/components/switch/switch.vue.d.ts +3 -3
  127. package/{src → vue2/src}/components/switch/use-switch.d.ts +4 -1
  128. package/{src/hooks/components/use-toast → vue2/src/components/toast}/_component/toast-element.vue.d.ts +4 -4
  129. package/{src/hooks/components/use-toast → vue2/src/components/toast}/_component/use-toast-element.d.ts +4 -4
  130. package/vue2/src/components/tooltip/index.d.ts +2 -0
  131. package/vue2/src/components/tooltip/tooltip.vue.d.ts +139 -0
  132. package/vue2/src/components/tooltip/use-tooltip.d.ts +46 -0
  133. package/vue2/src/components/zoom-container/hooks/use-zoom-drag.d.ts +12 -0
  134. package/vue2/src/components/zoom-container/hooks/use-zoom-scale.d.ts +32 -0
  135. package/vue2/src/components/zoom-container/hooks/use-zoom-size.d.ts +15 -0
  136. package/vue2/src/components/zoom-container/index.d.ts +2 -0
  137. package/vue2/src/components/zoom-container/use-zoom-container.d.ts +39 -0
  138. package/vue2/src/components/zoom-container/zoom-container.vue.d.ts +55 -0
  139. package/vue2/src/hooks/animation/types/common.d.ts +32 -0
  140. package/vue2/src/hooks/animation/types/index.d.ts +71 -0
  141. package/vue2/src/hooks/animation/use-image-animation/index.d.ts +4 -0
  142. package/vue2/src/hooks/animation/use-special-effect/index.d.ts +40 -0
  143. package/vue2/src/hooks/animation/use-svga-animation/index.d.ts +16 -0
  144. package/{src → vue2/src}/hooks/business/use-app-element/index.d.ts +1 -0
  145. package/{src → vue2/src}/hooks/business/use-config-provider/index.d.ts +3 -4
  146. package/vue2/src/hooks/business/use-server/index.d.ts +4 -0
  147. package/{src → vue2/src}/hooks/components/use-auto-topmost/index.d.ts +2 -1
  148. package/vue2/src/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +2 -0
  149. package/{src → vue2/src}/hooks/components/use-popper/_popper-type.d.ts +18 -6
  150. package/vue2/src/hooks/element/use-document-visible/index.d.ts +3 -0
  151. package/vue2/src/hooks/element/use-element-size/index.d.ts +18 -0
  152. package/vue2/src/hooks/element/use-text-ellipsis/index.d.ts +4 -0
  153. package/{src → vue2/src}/hooks/exports.d.ts +11 -8
  154. package/vue2/src/hooks/interactive/use-bezier-momentum/index.d.ts +17 -0
  155. package/vue2/src/hooks/interactive/use-double-click/index.d.ts +13 -0
  156. package/{src → vue2/src}/hooks/interactive/use-fullscreen/index.d.ts +3 -3
  157. package/vue2/src/hooks/interactive/use-hover/index.d.ts +8 -0
  158. package/{src → vue2/src}/hooks/interactive/use-hover-visible/index.d.ts +13 -2
  159. package/vue2/src/hooks/interactive/use-mouse-wheel/index.d.ts +31 -0
  160. package/{src → vue2/src}/hooks/interactive/use-outside/index.d.ts +1 -1
  161. package/vue2/src/hooks/interactive/use-press-hold/index.d.ts +28 -0
  162. package/vue2/src/hooks/interactive/use-vibrate/index.d.ts +7 -0
  163. package/{src → vue2/src}/hooks/pagination/types.d.ts +40 -11
  164. package/{src → vue2/src}/hooks/pagination/use-scroll-pagintaion/index.d.ts +22 -3
  165. package/{src → vue2/src}/hooks/plugin/use-resize-observer/index.d.ts +3 -3
  166. package/vue2/src/hooks/tools/use-append-to/index.d.ts +7 -0
  167. package/vue2/src/hooks/tools/use-auto-listen/index.d.ts +30 -0
  168. package/vue2/src/hooks/tools/use-browser/index.d.ts +38 -0
  169. package/vue2/src/hooks/tools/use-clipboard/index.d.ts +4 -0
  170. package/vue2/src/hooks/tools/use-count-down/index.d.ts +60 -0
  171. package/vue2/src/hooks/tools/use-download/index.d.ts +6 -0
  172. package/{src → vue2/src}/hooks/tools/use-event-bus/index.d.ts +7 -1
  173. package/vue2/src/hooks/tools/use-event-listener/index.d.ts +40 -0
  174. package/vue2/src/hooks/tools/use-request-animation-frame/index.d.ts +5 -0
  175. package/vue2/src/hooks/tools/use-scroll-lock/index.d.ts +21 -0
  176. package/vue2/src/hooks/tools/use-set-interval/index.d.ts +20 -0
  177. package/vue2/src/hooks/tools/use-set-timeout/index.d.ts +20 -0
  178. package/{src → vue2/src}/hooks/tools/use-simple-visible/index.d.ts +0 -4
  179. package/vue2/src/hooks/tools/use-target-event-emitter/index.d.ts +15 -0
  180. package/vue2/src/hooks/tools/use-window-resize-listener/index.d.ts +32 -0
  181. package/vue2/src/hooks/tools/use-z-index/index.d.ts +29 -0
  182. package/{src → vue2/src}/hooks/vue/use-model-value/index.d.ts +1 -1
  183. package/vue2/src/hooks/vue/use-vue/index.d.ts +17 -0
  184. package/vue2/src/interface/index.d.ts +15 -0
  185. package/{src → vue2/src}/lang/internal/en.json.d.ts +24 -0
  186. package/{src → vue2/src}/lang/internal/index.d.ts +24 -0
  187. package/{src → vue2/src}/lang/internal/ja.json.d.ts +24 -0
  188. package/vue2/src/lang/internal/ko.json.d.ts +45 -0
  189. package/{src → vue2/src}/lang/internal/ru.json.d.ts +24 -0
  190. package/vue2/src/lang/internal/zh-CN.json.d.ts +45 -0
  191. package/vue2/src/lang/internal/zh-TW.json.d.ts +45 -0
  192. package/vue2/src/plugins/svgaplayerweb/load-svga-player.d.ts +15 -0
  193. package/vue2/src/utils/env.d.ts +1 -0
  194. package/{src → vue2/src}/vue-utils/emit-utils.d.ts +4 -0
  195. package/{src → vue2/src}/vue-utils/index.d.ts +8 -5
  196. package/{src → vue2/src}/vue-utils/props-utils.d.ts +2 -2
  197. package/vue2/src/vue-utils/version-compatible/types.d.ts +44 -0
  198. package/vue2/src/vue-utils/version-compatible/vue-version.d.ts +1 -0
  199. package/vue2/src/vue-utils/version-compatible/vue.d.ts +1 -0
  200. package/vue2/src/vue-utils/version-compatible/vue2.d.ts +2 -0
  201. package/vue2/src/vue-utils/version-compatible/vue3.d.ts +2 -0
  202. package/vue3/index.es.js +12014 -0
  203. package/vue3/src/components/action-sheet/_component/action-sheet.vue.d.ts +20 -0
  204. package/vue3/src/components/action-sheet/_component/use-action-sheet-comp.d.ts +13 -0
  205. package/vue3/src/components/action-sheet/hook.d.ts +4 -0
  206. package/vue3/src/components/action-sheet/index.d.ts +3 -0
  207. package/vue3/src/components/action-sheet/types.d.ts +36 -0
  208. package/vue3/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +74 -0
  209. package/vue3/src/components/animation/bubble-animation/hooks/props-define.d.ts +53 -0
  210. package/vue3/src/components/animation/bubble-animation/hooks/use-animation-canvas.d.ts +8 -0
  211. package/vue3/src/components/animation/bubble-animation/hooks/use-bubble-animation.d.ts +9 -0
  212. package/vue3/src/components/animation/bubble-animation/hooks/use-bubble-item.d.ts +53 -0
  213. package/vue3/src/components/animation/bubble-animation/index.d.ts +3 -0
  214. package/vue3/src/components/animation/bubble-animation/types/index.d.ts +52 -0
  215. package/vue3/src/components/basic-countdown/basic-countdown.vue.d.ts +71 -0
  216. package/vue3/src/components/basic-countdown/index.d.ts +2 -0
  217. package/vue3/src/components/basic-countdown/use-basic-countdown.d.ts +64 -0
  218. package/vue3/src/components/business/data-export/data-export-entrance/date-export-entrance.vue.d.ts +10 -0
  219. package/vue3/src/components/business/data-export/data-export-entrance/use-data-export-entrance.d.ts +24 -0
  220. package/vue3/src/components/business/data-export/data-export-record/data-export-record.vue.d.ts +21 -0
  221. package/vue3/src/components/business/data-export/data-export-record/record-item.vue.d.ts +19 -0
  222. package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +27 -0
  223. package/vue3/src/components/business/data-export/hooks/use-data-export-utils.d.ts +15 -0
  224. package/vue3/src/components/business/data-export/index.d.ts +6 -0
  225. package/vue3/src/components/business/data-export/types/index.d.ts +74 -0
  226. package/vue3/src/components/business/normal-pendant/index.d.ts +2 -0
  227. package/vue3/src/components/business/normal-pendant/normal-pendant.vue.d.ts +36 -0
  228. package/vue3/src/components/business/normal-pendant/use-normal-pendant.d.ts +36 -0
  229. package/vue3/src/components/business/reward-receive/entrance/reward-receive.vue.d.ts +28 -0
  230. package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +108 -0
  231. package/vue3/src/components/business/reward-receive/index.d.ts +4 -0
  232. package/vue3/src/components/business/reward-receive/types/index.d.ts +66 -0
  233. package/vue3/src/components/button/button.vue.d.ts +56 -0
  234. package/vue3/src/components/button/index.d.ts +3 -0
  235. package/vue3/src/components/button/type.d.ts +50 -0
  236. package/vue3/src/components/button/use-button.d.ts +59 -0
  237. package/{src/components/category-select/category-select.vue.d.ts → vue3/src/components/category-select/category-select-item.vue.d.ts} +2 -2
  238. package/vue3/src/components/category-select/category-select.vue.d.ts +23 -0
  239. package/vue3/src/components/category-select/index.d.ts +3 -0
  240. package/vue3/src/components/category-select/use-category-select.d.ts +26 -0
  241. package/vue3/src/components/dropdown/dropdown-item.vue.d.ts +31 -0
  242. package/vue3/src/components/dropdown/dropdown-menu.vue.d.ts +17 -0
  243. package/vue3/src/components/dropdown/dropdown.vue.d.ts +61 -0
  244. package/vue3/src/components/dropdown/index.d.ts +4 -0
  245. package/vue3/src/components/dropdown/use-dropdown.d.ts +70 -0
  246. package/vue3/src/components/empty/empty.vue.d.ts +14 -0
  247. package/vue3/src/components/empty/index.d.ts +2 -0
  248. package/vue3/src/components/empty/use-empty.d.ts +13 -0
  249. package/vue3/src/components/exports.d.ts +22 -0
  250. package/vue3/src/components/file-icon/file-icon.vue.d.ts +16 -0
  251. package/vue3/src/components/file-icon/index.d.ts +2 -0
  252. package/vue3/src/components/file-icon/use-file-icon.d.ts +20 -0
  253. package/vue3/src/components/form/area-picker/area-picker.vue.d.ts +37 -0
  254. package/vue3/src/components/form/area-picker/components/picker-popup.vue.d.ts +29 -0
  255. package/vue3/src/components/form/area-picker/hooks/use-area-picker-value.d.ts +14 -0
  256. package/vue3/src/components/form/area-picker/index.d.ts +3 -0
  257. package/vue3/src/components/form/area-picker/types.d.ts +5 -0
  258. package/vue3/src/components/form/area-picker/use-area-picker.d.ts +55 -0
  259. package/vue3/src/components/form/area-picker/utils.d.ts +12 -0
  260. package/vue3/src/components/form/checkbox/checkbox-group.vue.d.ts +30 -0
  261. package/vue3/src/components/form/checkbox/checkbox.vue.d.ts +66 -0
  262. package/vue3/src/components/form/checkbox/index.d.ts +4 -0
  263. package/vue3/src/components/form/checkbox/type.d.ts +8 -0
  264. package/vue3/src/components/form/checkbox/use-checkbox.d.ts +72 -0
  265. package/vue3/src/components/form/form-item/form-item.vue.d.ts +54 -0
  266. package/vue3/src/components/form/form-item/index.d.ts +2 -0
  267. package/vue3/src/components/form/form-item/use-form-item.d.ts +91 -0
  268. package/vue3/src/components/form/form-submit-button/form-submit-button.vue.d.ts +61 -0
  269. package/vue3/src/components/form/form-submit-button/index.d.ts +2 -0
  270. package/vue3/src/components/form/form-submit-button/use-form-submit-button.d.ts +42 -0
  271. package/vue3/src/components/form/form-wrap/form-wrap.vue.d.ts +62 -0
  272. package/vue3/src/components/form/form-wrap/index.d.ts +2 -0
  273. package/vue3/src/components/form/form-wrap/use-form-wrap.d.ts +93 -0
  274. package/vue3/src/components/form/hooks/use-form-common.d.ts +36 -0
  275. package/vue3/src/components/form/index.d.ts +9 -0
  276. package/vue3/src/components/form/input/index.d.ts +2 -0
  277. package/vue3/src/components/form/input/input.vue.d.ts +114 -0
  278. package/vue3/src/components/form/input/use-input.d.ts +155 -0
  279. package/vue3/src/components/form/protocol/index.d.ts +2 -0
  280. package/vue3/src/components/form/protocol/protocol.vue.d.ts +21 -0
  281. package/vue3/src/components/form/protocol/use-protocol.d.ts +24 -0
  282. package/vue3/src/components/form/radio/index.d.ts +4 -0
  283. package/vue3/src/components/form/radio/radio-group.vue.d.ts +24 -0
  284. package/vue3/src/components/form/radio/radio.vue.d.ts +50 -0
  285. package/vue3/src/components/form/radio/type.d.ts +7 -0
  286. package/vue3/src/components/form/radio/use-radio.d.ts +41 -0
  287. package/vue3/src/components/form/types/index.d.ts +28 -0
  288. package/vue3/src/components/icons/icons/arrow-circle-down/index.d.ts +6 -0
  289. package/vue3/src/components/icons/icons/arrow-circle-left/index.d.ts +6 -0
  290. package/vue3/src/components/icons/icons/arrow-circle-right/index.d.ts +6 -0
  291. package/vue3/src/components/icons/icons/arrow-circle-up/index.d.ts +6 -0
  292. package/vue3/src/components/icons/icons/arrow-down/index.d.ts +6 -0
  293. package/vue3/src/components/icons/icons/arrow-left/index.d.ts +6 -0
  294. package/vue3/src/components/icons/icons/arrow-right/index.d.ts +6 -0
  295. package/vue3/src/components/icons/icons/arrow-up/index.d.ts +6 -0
  296. package/vue3/src/components/icons/icons/check/index.d.ts +6 -0
  297. package/vue3/src/components/icons/icons/check-round-fill/index.d.ts +6 -0
  298. package/vue3/src/components/icons/icons/close/index.d.ts +6 -0
  299. package/vue3/src/components/icons/icons/close-round/index.d.ts +6 -0
  300. package/vue3/src/components/icons/icons/close-round-fill/index.d.ts +6 -0
  301. package/vue3/src/components/icons/icons/copy/index.d.ts +6 -0
  302. package/vue3/src/components/icons/icons/down-file/index.d.ts +6 -0
  303. package/vue3/src/components/icons/icons/down-load/index.d.ts +6 -0
  304. package/vue3/src/components/icons/icons/empty-prize/index.d.ts +6 -0
  305. package/vue3/src/components/icons/icons/error-round/index.d.ts +6 -0
  306. package/vue3/src/components/icons/icons/export/index.d.ts +6 -0
  307. package/vue3/src/components/icons/icons/info-round-fill/index.d.ts +6 -0
  308. package/vue3/src/components/icons/icons/list/index.d.ts +6 -0
  309. package/vue3/src/components/icons/icons/loading/index.d.ts +6 -0
  310. package/vue3/src/components/icons/icons/question-round/index.d.ts +6 -0
  311. package/vue3/src/components/icons/icons/search/index.d.ts +6 -0
  312. package/vue3/src/components/icons/icons/success-round/index.d.ts +6 -0
  313. package/vue3/src/components/icons/icons/triangle-down/index.d.ts +6 -0
  314. package/vue3/src/components/icons/icons/triangle-up/index.d.ts +6 -0
  315. package/vue3/src/components/icons/icons/warning-round-fill/index.d.ts +6 -0
  316. package/vue3/src/components/icons/icons/zoom-in/index.d.ts +6 -0
  317. package/vue3/src/components/icons/icons/zoom-out/index.d.ts +6 -0
  318. package/vue3/src/components/icons/map.d.ts +34 -0
  319. package/vue3/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +35 -0
  320. package/vue3/src/components/image-preview/components/preview-controller.vue.d.ts +24 -0
  321. package/vue3/src/components/image-preview/hooks/props-define.d.ts +28 -0
  322. package/vue3/src/components/image-preview/hooks/use-image-preview-component.d.ts +12 -0
  323. package/vue3/src/components/image-preview/hooks/use-image-preview.d.ts +12 -0
  324. package/vue3/src/components/image-preview/image-preview.vue.d.ts +31 -0
  325. package/vue3/src/components/image-preview/index.d.ts +4 -0
  326. package/vue3/src/components/image-preview/types.d.ts +19 -0
  327. package/vue3/src/components/loading/directive.d.ts +15 -0
  328. package/vue3/src/components/loading/hook.d.ts +9 -0
  329. package/vue3/src/components/loading/index.d.ts +6 -0
  330. package/vue3/src/components/loading/loading-circle.vue.d.ts +2 -0
  331. package/vue3/src/components/loading/loading.vue.d.ts +30 -0
  332. package/vue3/src/components/loading/service.d.ts +11 -0
  333. package/vue3/src/components/loading/types.d.ts +23 -0
  334. package/vue3/src/components/loading/use-loading-component.d.ts +26 -0
  335. package/vue3/src/components/message-box/_component/message-box-element.vue.d.ts +99 -0
  336. package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +151 -0
  337. package/vue3/src/components/message-box/index.d.ts +12 -0
  338. package/vue3/src/components/message-box/types.d.ts +68 -0
  339. package/vue3/src/components/popper/hooks.d.ts +7 -0
  340. package/vue3/src/components/popper/index.d.ts +4 -0
  341. package/vue3/src/components/popper/popper-content.vue.d.ts +19 -0
  342. package/vue3/src/components/popper/popper-reference.vue.d.ts +19 -0
  343. package/vue3/src/components/popper/popper.vue.d.ts +58 -0
  344. package/vue3/src/components/popper/props-define.d.ts +39 -0
  345. package/vue3/src/components/popup/hooks/popup-props.d.ts +233 -0
  346. package/vue3/src/components/popup/hooks/use-popup-append.d.ts +13 -0
  347. package/vue3/src/components/popup/hooks/use-popup-back.d.ts +13 -0
  348. package/vue3/src/components/popup/hooks/use-popup-config.d.ts +16 -0
  349. package/vue3/src/components/popup/hooks/use-popup-draggable.d.ts +15 -0
  350. package/vue3/src/components/popup/hooks/use-popup-height.d.ts +25 -0
  351. package/vue3/src/components/popup/hooks/use-popup-position.d.ts +11 -0
  352. package/vue3/src/components/popup/hooks/use-popup-scroll.d.ts +9 -0
  353. package/vue3/src/components/popup/hooks/use-popup-visible.d.ts +15 -0
  354. package/vue3/src/components/popup/hooks/use-popup-width.d.ts +10 -0
  355. package/vue3/src/components/popup/index.d.ts +4 -0
  356. package/vue3/src/components/popup/popup.vue.d.ts +218 -0
  357. package/vue3/src/components/popup/types.d.ts +17 -0
  358. package/vue3/src/components/resize-box/index.d.ts +3 -0
  359. package/vue3/src/components/resize-box/resize-box.vue.d.ts +97 -0
  360. package/vue3/src/components/resize-box/type.d.ts +34 -0
  361. package/vue3/src/components/resize-box/use-resize-box.d.ts +105 -0
  362. package/vue3/src/components/slot/index.d.ts +1 -0
  363. package/vue3/src/components/swiper/hooks/swiper-props.d.ts +72 -0
  364. package/vue3/src/components/swiper/hooks/types.d.ts +2 -0
  365. package/vue3/src/components/swiper/hooks/use-swiper-options.d.ts +9236 -0
  366. package/vue3/src/components/swiper/hooks/use-swiper-slide.d.ts +1 -0
  367. package/vue3/src/components/swiper/hooks/use-swiper-wrapper.d.ts +22 -0
  368. package/vue3/src/components/swiper/index.d.ts +4 -0
  369. package/vue3/src/components/swiper/modules/use-navigation-module.d.ts +21 -0
  370. package/vue3/src/components/swiper/modules/use-pagination-module.d.ts +14 -0
  371. package/vue3/src/components/swiper/swiper-slide.vue.d.ts +17 -0
  372. package/vue3/src/components/swiper/swiper.vue.d.ts +73 -0
  373. package/vue3/src/components/switch/index.d.ts +2 -0
  374. package/vue3/src/components/switch/switch.vue.d.ts +51 -0
  375. package/vue3/src/components/switch/use-switch.d.ts +69 -0
  376. package/vue3/src/components/toast/_component/toast-element.vue.d.ts +61 -0
  377. package/vue3/src/components/toast/_component/use-toast-element.d.ts +63 -0
  378. package/vue3/src/components/toast/hook.d.ts +11 -0
  379. package/vue3/src/components/toast/index.d.ts +4 -0
  380. package/vue3/src/components/toast/types.d.ts +27 -0
  381. package/vue3/src/components/tooltip/index.d.ts +2 -0
  382. package/vue3/src/components/tooltip/tooltip.vue.d.ts +139 -0
  383. package/vue3/src/components/tooltip/use-tooltip.d.ts +46 -0
  384. package/vue3/src/components/zoom-container/hooks/use-zoom-drag.d.ts +12 -0
  385. package/vue3/src/components/zoom-container/hooks/use-zoom-scale.d.ts +32 -0
  386. package/vue3/src/components/zoom-container/hooks/use-zoom-size.d.ts +15 -0
  387. package/vue3/src/components/zoom-container/index.d.ts +2 -0
  388. package/vue3/src/components/zoom-container/use-zoom-container.d.ts +39 -0
  389. package/vue3/src/components/zoom-container/zoom-container.vue.d.ts +55 -0
  390. package/vue3/src/hooks/animation/types/common.d.ts +32 -0
  391. package/vue3/src/hooks/animation/types/index.d.ts +71 -0
  392. package/vue3/src/hooks/animation/use-image-animation/index.d.ts +4 -0
  393. package/vue3/src/hooks/animation/use-special-effect/index.d.ts +40 -0
  394. package/vue3/src/hooks/animation/use-svga-animation/index.d.ts +16 -0
  395. package/vue3/src/hooks/animation/use-svga-animation/load-svga-player.d.ts +15 -0
  396. package/vue3/src/hooks/business/use-app-element/index.d.ts +5 -0
  397. package/vue3/src/hooks/business/use-config-provider/index.d.ts +34 -0
  398. package/vue3/src/hooks/business/use-request/index.d.ts +56 -0
  399. package/vue3/src/hooks/business/use-resize-oss-image/index.d.ts +5 -0
  400. package/vue3/src/hooks/business/use-server/index.d.ts +4 -0
  401. package/vue3/src/hooks/business/use-skin-color/index.d.ts +44 -0
  402. package/vue3/src/hooks/business/use-track-event/index.d.ts +21 -0
  403. package/vue3/src/hooks/components/use-auto-topmost/index.d.ts +14 -0
  404. package/vue3/src/hooks/components/use-popper/_hooks/use-popper-arrow.d.ts +2 -0
  405. package/vue3/src/hooks/components/use-popper/_hooks/use-popper-core.d.ts +15 -0
  406. package/vue3/src/hooks/components/use-popper/_hooks/use-popper-interactive.d.ts +5 -0
  407. package/vue3/src/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +2 -0
  408. package/vue3/src/hooks/components/use-popper/_popper-type.d.ts +91 -0
  409. package/vue3/src/hooks/components/use-popper/index.d.ts +32 -0
  410. package/vue3/src/hooks/element/use-document-visible/index.d.ts +3 -0
  411. package/vue3/src/hooks/element/use-element-size/index.d.ts +18 -0
  412. package/vue3/src/hooks/element/use-text-ellipsis/index.d.ts +4 -0
  413. package/vue3/src/hooks/exports.d.ts +46 -0
  414. package/vue3/src/hooks/interactive/use-bezier-momentum/index.d.ts +17 -0
  415. package/vue3/src/hooks/interactive/use-double-click/index.d.ts +13 -0
  416. package/vue3/src/hooks/interactive/use-fullscreen/index.d.ts +29 -0
  417. package/vue3/src/hooks/interactive/use-hover/index.d.ts +8 -0
  418. package/vue3/src/hooks/interactive/use-hover-visible/index.d.ts +27 -0
  419. package/vue3/src/hooks/interactive/use-mouse-wheel/index.d.ts +31 -0
  420. package/vue3/src/hooks/interactive/use-outside/index.d.ts +24 -0
  421. package/vue3/src/hooks/interactive/use-page-fullscreen/index.d.ts +6 -0
  422. package/vue3/src/hooks/interactive/use-press-hold/index.d.ts +28 -0
  423. package/vue3/src/hooks/interactive/use-screen-orientation/index.d.ts +25 -0
  424. package/vue3/src/hooks/interactive/use-scroll/index.d.ts +20 -0
  425. package/vue3/src/hooks/interactive/use-sound-effect/index.d.ts +6 -0
  426. package/vue3/src/hooks/interactive/use-vibrate/index.d.ts +7 -0
  427. package/vue3/src/hooks/pagination/types.d.ts +89 -0
  428. package/vue3/src/hooks/pagination/use-scroll-pagintaion/index.d.ts +37 -0
  429. package/vue3/src/hooks/pagination/use-static-pagination/index.d.ts +24 -0
  430. package/vue3/src/hooks/platform/weixin/load-wx-sdk.d.ts +9 -0
  431. package/vue3/src/hooks/platform/weixin/use-weixin-mini-program.d.ts +6 -0
  432. package/vue3/src/hooks/platform/weixin/use-weixin-sdk.d.ts +14 -0
  433. package/vue3/src/hooks/plugin/use-resize-observer/index.d.ts +13 -0
  434. package/vue3/src/hooks/tools/use-append-to/index.d.ts +7 -0
  435. package/vue3/src/hooks/tools/use-auto-listen/index.d.ts +30 -0
  436. package/vue3/src/hooks/tools/use-browser/index.d.ts +38 -0
  437. package/vue3/src/hooks/tools/use-clipboard/index.d.ts +4 -0
  438. package/vue3/src/hooks/tools/use-count-down/index.d.ts +60 -0
  439. package/vue3/src/hooks/tools/use-download/index.d.ts +6 -0
  440. package/vue3/src/hooks/tools/use-event-bus/index.d.ts +25 -0
  441. package/vue3/src/hooks/tools/use-event-listener/index.d.ts +40 -0
  442. package/vue3/src/hooks/tools/use-link-open/index.d.ts +3 -0
  443. package/vue3/src/hooks/tools/use-request-animation-frame/index.d.ts +5 -0
  444. package/vue3/src/hooks/tools/use-scroll-lock/index.d.ts +21 -0
  445. package/vue3/src/hooks/tools/use-set-interval/index.d.ts +20 -0
  446. package/vue3/src/hooks/tools/use-set-timeout/index.d.ts +20 -0
  447. package/vue3/src/hooks/tools/use-simple-visible/index.d.ts +58 -0
  448. package/vue3/src/hooks/tools/use-target-event-emitter/index.d.ts +15 -0
  449. package/vue3/src/hooks/tools/use-window-resize-listener/index.d.ts +32 -0
  450. package/vue3/src/hooks/tools/use-z-index/index.d.ts +29 -0
  451. package/vue3/src/hooks/vue/use-model-value/index.d.ts +13 -0
  452. package/vue3/src/hooks/vue/use-storage-ref/index.d.ts +3 -0
  453. package/vue3/src/hooks/vue/use-vue/index.d.ts +17 -0
  454. package/vue3/src/index.d.ts +6 -0
  455. package/vue3/src/interface/index.d.ts +15 -0
  456. package/vue3/src/lang/common/en.json.d.ts +18 -0
  457. package/vue3/src/lang/common/index.d.ts +4 -0
  458. package/vue3/src/lang/common/ja.json.d.ts +17 -0
  459. package/vue3/src/lang/common/ko.json.d.ts +17 -0
  460. package/vue3/src/lang/common/ru.json.d.ts +17 -0
  461. package/vue3/src/lang/common/zh-CN.json.d.ts +18 -0
  462. package/vue3/src/lang/common/zh-TW.json.d.ts +17 -0
  463. package/vue3/src/lang/exports.d.ts +2 -0
  464. package/vue3/src/lang/hook.d.ts +12 -0
  465. package/vue3/src/lang/internal/en.json.d.ts +45 -0
  466. package/vue3/src/lang/internal/index.d.ts +62 -0
  467. package/vue3/src/lang/internal/ja.json.d.ts +45 -0
  468. package/vue3/src/lang/internal/ko.json.d.ts +45 -0
  469. package/vue3/src/lang/internal/ru.json.d.ts +45 -0
  470. package/vue3/src/lang/internal/zh-CN.json.d.ts +45 -0
  471. package/vue3/src/lang/internal/zh-TW.json.d.ts +45 -0
  472. package/vue3/src/lang/types.d.ts +12 -0
  473. package/vue3/src/lang/utils.d.ts +1 -0
  474. package/vue3/src/plugins/async-validator/index.d.ts +3 -0
  475. package/vue3/src/plugins/exports.d.ts +2 -0
  476. package/vue3/src/plugins/svgaplayerweb/load-svga-player.d.ts +15 -0
  477. package/vue3/src/utils/dom.d.ts +5 -0
  478. package/vue3/src/utils/env.d.ts +1 -0
  479. package/vue3/src/vue-utils/emit-utils.d.ts +18 -0
  480. package/vue3/src/vue-utils/index.d.ts +21 -0
  481. package/vue3/src/vue-utils/props-utils.d.ts +59 -0
  482. package/vue3/src/vue-utils/version-compatible/types.d.ts +44 -0
  483. package/vue3/src/vue-utils/version-compatible/vue-version.d.ts +1 -0
  484. package/vue3/src/vue-utils/version-compatible/vue.d.ts +1 -0
  485. package/vue3/src/vue-utils/version-compatible/vue2.d.ts +2 -0
  486. package/vue3/src/vue-utils/version-compatible/vue3.d.ts +2 -0
  487. package/src/components/carousel/index.d.ts +0 -3
  488. package/src/components/exports.d.ts +0 -14
  489. package/src/components/icons/icons/arrow-down/index.d.ts +0 -6
  490. package/src/components/icons/icons/arrow-left/index.d.ts +0 -6
  491. package/src/components/icons/icons/arrow-right/index.d.ts +0 -6
  492. package/src/components/icons/icons/arrow-up/index.d.ts +0 -6
  493. package/src/components/icons/icons/check/index.d.ts +0 -6
  494. package/src/components/icons/icons/check-round-fill/index.d.ts +0 -6
  495. package/src/components/icons/icons/close/index.d.ts +0 -6
  496. package/src/components/icons/icons/close-round/index.d.ts +0 -6
  497. package/src/components/icons/icons/close-round-fill/index.d.ts +0 -6
  498. package/src/components/icons/icons/copy/index.d.ts +0 -6
  499. package/src/components/icons/icons/down-file/index.d.ts +0 -6
  500. package/src/components/icons/icons/down-load/index.d.ts +0 -6
  501. package/src/components/icons/icons/empty-prize/index.d.ts +0 -6
  502. package/src/components/icons/icons/error-round/index.d.ts +0 -6
  503. package/src/components/icons/icons/info-round-fill/index.d.ts +0 -6
  504. package/src/components/icons/icons/list/index.d.ts +0 -6
  505. package/src/components/icons/icons/loading/index.d.ts +0 -6
  506. package/src/components/icons/icons/question-round/index.d.ts +0 -6
  507. package/src/components/icons/icons/search/index.d.ts +0 -6
  508. package/src/components/icons/icons/success-round/index.d.ts +0 -6
  509. package/src/components/icons/icons/triangle-down/index.d.ts +0 -6
  510. package/src/components/icons/icons/triangle-up/index.d.ts +0 -6
  511. package/src/components/icons/icons/warning-round-fill/index.d.ts +0 -6
  512. package/src/components/icons/icons/zoom-in/index.d.ts +0 -6
  513. package/src/components/icons/icons/zoom-out/index.d.ts +0 -6
  514. package/src/hooks/components/use-image-preview/index.d.ts +0 -12
  515. package/src/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +0 -6
  516. package/src/hooks/interactive/use-hover/index.d.ts +0 -8
  517. package/src/hooks/plugin/use-svga-animation/index.d.ts +0 -25
  518. package/src/hooks/plugin/use-svga-player/index.d.ts +0 -24
  519. package/src/hooks/tools/use-append-to/index.d.ts +0 -7
  520. package/src/hooks/tools/use-body-locked/index.d.ts +0 -10
  521. package/src/hooks/tools/use-browser/index.d.ts +0 -22
  522. package/src/hooks/tools/use-copy-text/index.d.ts +0 -9
  523. package/src/hooks/tools/use-count-down/index.d.ts +0 -39
  524. package/src/hooks/tools/use-download/index.d.ts +0 -6
  525. package/src/hooks/tools/use-event-listener/index.d.ts +0 -2
  526. package/src/hooks/tools/use-set-interval/index.d.ts +0 -10
  527. package/src/hooks/tools/use-set-timeout/index.d.ts +0 -10
  528. package/src/hooks/tools/use-target-event-emitter/index.d.ts +0 -10
  529. package/src/hooks/tools/use-window-resize-listener/index.d.ts +0 -34
  530. package/src/hooks/vue/use-vue/index.d.ts +0 -30
  531. package/src/interface/index.d.ts +0 -4
  532. package/src/lang/internal/ko.json.d.ts +0 -21
  533. package/src/lang/internal/zh-CN.json.d.ts +0 -21
  534. package/src/lang/internal/zh-TW.json.d.ts +0 -21
  535. package/src/plugins/polyv-ui/mobile-import.d.ts +0 -2
  536. package/src/plugins/polyv-ui/types.d.ts +0 -19
  537. package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/_component/action-sheet.vue.d.ts +0 -0
  538. package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/hook.d.ts +0 -0
  539. package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/index.d.ts +0 -0
  540. package/{src → vue2/src}/components/basic-countdown/basic-countdown.vue.d.ts +0 -0
  541. package/{src → vue2/src}/components/basic-countdown/index.d.ts +0 -0
  542. package/{src → vue2/src}/components/basic-countdown/use-basic-countdown.d.ts +0 -0
  543. package/{src/components → vue2/src/components/business}/normal-pendant/index.d.ts +0 -0
  544. package/{src/components → vue2/src/components/business}/normal-pendant/normal-pendant.vue.d.ts +0 -0
  545. package/{src/components → vue2/src/components/business}/reward-receive/index.d.ts +0 -0
  546. package/{src/components → vue2/src/components/business}/reward-receive/types/index.d.ts +0 -0
  547. package/{src → vue2/src}/components/button/button.vue.d.ts +2 -2
  548. package/{src → vue2/src}/components/button/index.d.ts +0 -0
  549. package/{src → vue2/src}/components/button/use-button.d.ts +0 -0
  550. package/{src → vue2/src}/components/category-select/index.d.ts +0 -0
  551. package/{src → vue2/src}/components/dropdown/dropdown-item.vue.d.ts +0 -0
  552. package/{src → vue2/src}/components/dropdown/dropdown-menu.vue.d.ts +0 -0
  553. package/{src → vue2/src}/components/dropdown/index.d.ts +0 -0
  554. package/{src → vue2/src}/components/empty/index.d.ts +0 -0
  555. package/{src → vue2/src}/components/form/checkbox/index.d.ts +0 -0
  556. package/{src → vue2/src}/components/form/form-item/form-item.vue.d.ts +0 -0
  557. package/{src → vue2/src}/components/form/form-item/index.d.ts +0 -0
  558. package/{src → vue2/src}/components/form/form-submit-button/form-submit-button.vue.d.ts +3 -3
  559. package/{src → vue2/src}/components/form/form-submit-button/index.d.ts +0 -0
  560. package/{src → vue2/src}/components/form/form-submit-button/use-form-submit-button.d.ts +0 -0
  561. package/{src → vue2/src}/components/form/form-wrap/index.d.ts +0 -0
  562. package/{src → vue2/src}/components/form/hooks/use-form-common.d.ts +0 -0
  563. package/{src → vue2/src}/components/form/index.d.ts +0 -0
  564. package/{src → vue2/src}/components/form/input/index.d.ts +0 -0
  565. package/{src → vue2/src}/components/form/protocol/index.d.ts +0 -0
  566. package/{src → vue2/src}/components/form/radio/index.d.ts +0 -0
  567. package/{src → vue2/src}/components/form/types/index.d.ts +0 -0
  568. package/{src → vue2/src}/components/loading/hook.d.ts +0 -0
  569. package/{src → vue2/src}/components/loading/index.d.ts +0 -0
  570. package/{src → vue2/src}/components/loading/loading-circle.vue.d.ts +0 -0
  571. package/{src → vue2/src}/components/loading/service.d.ts +0 -0
  572. package/{src/hooks/components/use-message-box → vue2/src/components/message-box}/index.d.ts +0 -0
  573. package/{src → vue2/src}/components/popup/hooks/use-popup-append.d.ts +0 -0
  574. package/{src → vue2/src}/components/popup/hooks/use-popup-back.d.ts +0 -0
  575. package/{src → vue2/src}/components/popup/hooks/use-popup-config.d.ts +0 -0
  576. package/{src → vue2/src}/components/popup/hooks/use-popup-draggable.d.ts +0 -0
  577. package/{src → vue2/src}/components/popup/hooks/use-popup-height.d.ts +0 -0
  578. package/{src → vue2/src}/components/popup/hooks/use-popup-scroll.d.ts +0 -0
  579. package/{src → vue2/src}/components/popup/hooks/use-popup-visible.d.ts +0 -0
  580. package/{src → vue2/src}/components/popup/hooks/use-popup-width.d.ts +0 -0
  581. package/{src → vue2/src}/components/popup/index.d.ts +0 -0
  582. package/{src → vue2/src}/components/popup/types.d.ts +0 -0
  583. package/{src → vue2/src}/components/resize-box/index.d.ts +0 -0
  584. package/{src → vue2/src}/components/resize-box/resize-box.vue.d.ts +2 -2
  585. /package/{src → vue2/src}/components/resize-box/type.d.ts +0 -0
  586. /package/{src → vue2/src}/components/resize-box/use-resize-box.d.ts +0 -0
  587. /package/{src → vue2/src}/components/switch/index.d.ts +0 -0
  588. /package/{src/hooks/components/use-toast → vue2/src/components/toast}/hook.d.ts +0 -0
  589. /package/{src/hooks/components/use-toast → vue2/src/components/toast}/index.d.ts +0 -0
  590. /package/{src/hooks/components/use-toast → vue2/src/components/toast}/types.d.ts +0 -0
  591. /package/{src/plugins/svgaplayerweb → vue2/src/hooks/animation/use-svga-animation}/load-svga-player.d.ts +0 -0
  592. /package/{src → vue2/src}/hooks/business/use-request/index.d.ts +0 -0
  593. /package/{src → vue2/src}/hooks/business/use-resize-oss-image/index.d.ts +0 -0
  594. /package/{src → vue2/src}/hooks/business/use-skin-color/index.d.ts +0 -0
  595. /package/{src → vue2/src}/hooks/business/use-track-event/index.d.ts +0 -0
  596. /package/{src → vue2/src}/hooks/components/use-popper/_hooks/use-popper-arrow.d.ts +0 -0
  597. /package/{src → vue2/src}/hooks/components/use-popper/_hooks/use-popper-core.d.ts +0 -0
  598. /package/{src → vue2/src}/hooks/components/use-popper/_hooks/use-popper-interactive.d.ts +0 -0
  599. /package/{src → vue2/src}/hooks/components/use-popper/index.d.ts +0 -0
  600. /package/{src → vue2/src}/hooks/interactive/use-page-fullscreen/index.d.ts +0 -0
  601. /package/{src → vue2/src}/hooks/interactive/use-screen-orientation/index.d.ts +0 -0
  602. /package/{src → vue2/src}/hooks/interactive/use-scroll/index.d.ts +0 -0
  603. /package/{src → vue2/src}/hooks/interactive/use-sound-effect/index.d.ts +0 -0
  604. /package/{src → vue2/src}/hooks/pagination/use-static-pagination/index.d.ts +0 -0
  605. /package/{src → vue2/src}/hooks/platform/weixin/load-wx-sdk.d.ts +0 -0
  606. /package/{src → vue2/src}/hooks/platform/weixin/use-weixin-mini-program.d.ts +0 -0
  607. /package/{src → vue2/src}/hooks/platform/weixin/use-weixin-sdk.d.ts +0 -0
  608. /package/{src → vue2/src}/hooks/tools/use-link-open/index.d.ts +0 -0
  609. /package/{src → vue2/src}/hooks/vue/use-storage-ref/index.d.ts +0 -0
  610. /package/{src → vue2/src}/index.d.ts +0 -0
  611. /package/{src → vue2/src}/lang/common/en.json.d.ts +0 -0
  612. /package/{src → vue2/src}/lang/common/index.d.ts +0 -0
  613. /package/{src → vue2/src}/lang/common/ja.json.d.ts +0 -0
  614. /package/{src → vue2/src}/lang/common/ko.json.d.ts +0 -0
  615. /package/{src → vue2/src}/lang/common/ru.json.d.ts +0 -0
  616. /package/{src → vue2/src}/lang/common/zh-CN.json.d.ts +0 -0
  617. /package/{src → vue2/src}/lang/common/zh-TW.json.d.ts +0 -0
  618. /package/{src → vue2/src}/lang/exports.d.ts +0 -0
  619. /package/{src → vue2/src}/lang/hook.d.ts +0 -0
  620. /package/{src → vue2/src}/lang/types.d.ts +0 -0
  621. /package/{src → vue2/src}/lang/utils.d.ts +0 -0
  622. /package/{src → vue2/src}/plugins/async-validator/index.d.ts +0 -0
  623. /package/{src → vue2/src}/plugins/exports.d.ts +0 -0
  624. /package/{src → vue2/src}/utils/dom.d.ts +0 -0
@@ -14,9 +14,8 @@ export type InputValueType = string | number;
14
14
  export declare const inputProps: () => {
15
15
  /**
16
16
  * 绑定值,支持 v-model
17
- * @propType InputValueType
18
17
  */
19
- value: import('vue-types').VueTypeDef<InputValueType> & {
18
+ "v-model-key": import('vue-types').VueTypeDef<InputValueType> & {
20
19
  default: InputValueType;
21
20
  };
22
21
  /**
@@ -1,19 +1,21 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- value: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
2
+ "v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
3
3
  default: boolean;
4
4
  };
5
5
  content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
6
6
  default: string;
7
7
  };
8
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
9
- value: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ [x: string]: (...args: any[]) => void;
10
+ }, string, Readonly<import('vue').ExtractPropTypes<{
11
+ "v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
10
12
  default: boolean;
11
13
  };
12
14
  content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
13
15
  default: string;
14
16
  };
15
17
  }>>, {
16
- value: boolean;
18
+ "v-model-key": boolean;
17
19
  content: string;
18
20
  }>;
19
21
  export default _default;
@@ -3,7 +3,7 @@ export declare const protocolProps: () => {
3
3
  /**
4
4
  * 是否选中,支持 v-model
5
5
  */
6
- value: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
6
+ "v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
7
7
  default: boolean;
8
8
  };
9
9
  /**
@@ -13,6 +13,7 @@ export declare const protocolProps: () => {
13
13
  default: string;
14
14
  };
15
15
  };
16
+ export declare const protocolEmits: () => {};
16
17
  export declare const useProtocol: (options: {
17
18
  props: VueProps<typeof protocolProps>;
18
19
  }) => {
@@ -1,3 +1,4 @@
1
+ import { FormRadioValue } from './type';
1
2
  declare function __VLS_template(): {
2
3
  attrs: Partial<{}>;
3
4
  slots: {
@@ -8,9 +9,11 @@ declare function __VLS_template(): {
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<{
11
- value: import('vue-types').VueTypeDef<any>;
12
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
13
- value: import('vue-types').VueTypeDef<any>;
12
+ "v-model-key": import('vue-types').VueTypeDef<FormRadioValue>;
13
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ [x: string]: (...args: any[]) => void;
15
+ }, string, Readonly<import('vue').ExtractPropTypes<{
16
+ "v-model-key": import('vue-types').VueTypeDef<FormRadioValue>;
14
17
  }>>, {}>;
15
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
19
  export default _default;
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
8
8
  };
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
10
  declare const __VLS_component: import('vue').DefineComponent<{
11
- value: import('vue-types').VueTypeDef<any>;
11
+ radioValue: import('vue-types').VueTypeDef<import('./type').FormRadioValue>;
12
12
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
13
13
  default: string;
14
14
  };
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
22
22
  default: boolean;
23
23
  };
24
24
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
25
- value: import('vue-types').VueTypeDef<any>;
25
+ radioValue: import('vue-types').VueTypeDef<import('./type').FormRadioValue>;
26
26
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
27
27
  default: string;
28
28
  };
@@ -1,5 +1,5 @@
1
1
  import { ComputedRef, InjectionKey } from 'vue';
2
- export type FormRadioValue = any;
2
+ export type FormRadioValue = string | number | boolean;
3
3
  export interface RadioGroupInjectData {
4
4
  modelValue: ComputedRef<FormRadioValue>;
5
5
  emitInput: (value: FormRadioValue) => void;
@@ -1,16 +1,16 @@
1
+ import { FormRadioValue } from './type';
1
2
  export declare const radioGroupProps: () => {
2
3
  /**
3
4
  * 单选框组绑定值,支持 v-model
4
- * @propType FormRadioValue
5
5
  */
6
- value: import('vue-types').VueTypeDef<any>;
6
+ "v-model-key": import('vue-types').VueTypeDef<FormRadioValue>;
7
7
  };
8
+ export declare const radioGroupEmits: () => {};
8
9
  export declare const radioProps: () => {
9
10
  /**
10
11
  * 单选框值
11
- * @propType FormRadioValue
12
12
  */
13
- value: import('vue-types').VueTypeDef<any>;
13
+ radioValue: import('vue-types').VueTypeDef<FormRadioValue>;
14
14
  /**
15
15
  * 单选框标签
16
16
  */
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ArrowCircleDown Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ArrowCircleLeft Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ArrowCircleRight Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ArrowCircleUp Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ArrowDown Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ArrowLeft Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ArrowRight Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ArrowUp Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Check Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file CheckRoundFill Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Close Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file CloseRound Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file CloseRoundFill Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Copy Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file DownFile Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file DownLoad Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file EmptyPrize Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ErrorRound Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Export Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file InfoRoundFill Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file List Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Loading Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file QuestionRound Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Search Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file SuccessRound Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file TriangleDown Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file TriangleUp Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file WarningRoundFill Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ZoomIn Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file ZoomOut Icon
3
+ * @author Auto Generated by @polyv/icons-cli
4
+ */
5
+ declare const _default: any;
6
+ export default _default;
@@ -2,6 +2,10 @@
2
2
  * @file All Icon Exporter
3
3
  * @author Auto Generated by @polyv/icons-cli
4
4
  */
5
+ export { default as PwcIconArrowCircleDown } from './icons/arrow-circle-down';
6
+ export { default as PwcIconArrowCircleLeft } from './icons/arrow-circle-left';
7
+ export { default as PwcIconArrowCircleRight } from './icons/arrow-circle-right';
8
+ export { default as PwcIconArrowCircleUp } from './icons/arrow-circle-up';
5
9
  export { default as PwcIconArrowDown } from './icons/arrow-down';
6
10
  export { default as PwcIconArrowLeft } from './icons/arrow-left';
7
11
  export { default as PwcIconArrowRight } from './icons/arrow-right';
@@ -16,6 +20,7 @@ export { default as PwcIconDownFile } from './icons/down-file';
16
20
  export { default as PwcIconDownLoad } from './icons/down-load';
17
21
  export { default as PwcIconEmptyPrize } from './icons/empty-prize';
18
22
  export { default as PwcIconErrorRound } from './icons/error-round';
23
+ export { default as PwcIconExport } from './icons/export';
19
24
  export { default as PwcIconInfoRoundFill } from './icons/info-round-fill';
20
25
  export { default as PwcIconList } from './icons/list';
21
26
  export { default as PwcIconLoading } from './icons/loading';
@@ -0,0 +1,35 @@
1
+ import { ImagePreviewObject } from '../types';
2
+ declare function zoomLarge(): void;
3
+ declare function zoomSmall(): void;
4
+ declare function zoomReset(): void;
5
+ declare function downloadFile(): void;
6
+ declare const _default: import('vue').DefineComponent<{
7
+ index: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
8
+ default: number;
9
+ } & {
10
+ required: true;
11
+ };
12
+ item: import('vue-types').VueTypeValidableDef<ImagePreviewObject, import('vue-types/dist/types').ValidatorFunction<ImagePreviewObject>> & {
13
+ required: true;
14
+ };
15
+ }, {
16
+ zoomLarge: typeof zoomLarge;
17
+ zoomSmall: typeof zoomSmall;
18
+ zoomReset: typeof zoomReset;
19
+ downloadFile: typeof downloadFile;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ close: (arg?: void | undefined) => void;
22
+ "scale-change": (arg: number) => void;
23
+ }, string, Readonly<import('vue').ExtractPropTypes<{
24
+ index: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
25
+ default: number;
26
+ } & {
27
+ required: true;
28
+ };
29
+ item: import('vue-types').VueTypeValidableDef<ImagePreviewObject, import('vue-types/dist/types').ValidatorFunction<ImagePreviewObject>> & {
30
+ required: true;
31
+ };
32
+ }>>, {
33
+ index: number;
34
+ }>;
35
+ export default _default;
@@ -0,0 +1,24 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ currentScale: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
3
+ default: number;
4
+ };
5
+ show: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
6
+ default: boolean;
7
+ };
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "zoom-in": (arg?: void | undefined) => void;
10
+ "zoom-out": (arg?: void | undefined) => void;
11
+ "zoom-reset": (arg?: void | undefined) => void;
12
+ download: (arg?: void | undefined) => void;
13
+ }, string, Readonly<import('vue').ExtractPropTypes<{
14
+ currentScale: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
15
+ default: number;
16
+ };
17
+ show: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
18
+ default: boolean;
19
+ };
20
+ }>>, {
21
+ show: boolean;
22
+ currentScale: number;
23
+ }>;
24
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { ImagePreviewData } from '../types';
2
+ export declare const imagePreviewProps: () => {
3
+ /**
4
+ * 是否显示,支持 v-model
5
+ */
6
+ "v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
7
+ default: boolean;
8
+ };
9
+ /**
10
+ * 预览的图片列表
11
+ */
12
+ images: import('vue-types').VueTypeDef<ImagePreviewData> & {
13
+ default: string | (() => import('../types').ImagePreviewObject) | (() => import('../types').ImagePreviewItem[]);
14
+ };
15
+ /**
16
+ * 初始索引
17
+ * @default 0
18
+ */
19
+ initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
20
+ default: number;
21
+ };
22
+ };
23
+ export declare const imagePreviewEmits: () => {
24
+ /**
25
+ * 关闭回调
26
+ */
27
+ close: import('../../../vue-utils').EmitFuncType<void>;
28
+ };
@@ -0,0 +1,12 @@
1
+ import { VueEmit, VueProps } from '../../../vue-utils';
2
+ import { ImagePreviewObject } from '../types';
3
+ import { imagePreviewEmits, imagePreviewProps } from './props-define';
4
+ export declare const useImagePreviewComponent: (options: {
5
+ props: VueProps<typeof imagePreviewProps>;
6
+ emit: VueEmit<typeof imagePreviewEmits>;
7
+ }) => {
8
+ visible: import('vue').Ref<boolean>;
9
+ open: () => void;
10
+ close: () => void;
11
+ imageList: import('vue').ComputedRef<ImagePreviewObject[]>;
12
+ };
@@ -0,0 +1,12 @@
1
+ import { ImagePreviewData, ImagePreviewInstance } from '../types';
2
+ export interface ImagePreviewOptions {
3
+ /**
4
+ * 初始索引
5
+ * @default 0
6
+ */
7
+ initialIndex?: number;
8
+ }
9
+ export declare function useImagePreview(): {
10
+ previewImage: (images?: ImagePreviewData, options?: ImagePreviewOptions) => ImagePreviewInstance;
11
+ clickImgToPreview: (event: Event) => void;
12
+ };
@@ -0,0 +1,31 @@
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
+ images: import('vue-types').VueTypeDef<import('./types').ImagePreviewData> & {
6
+ default: string | (() => import('./types').ImagePreviewObject) | (() => import('./types').ImagePreviewItem[]);
7
+ };
8
+ initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
9
+ default: number;
10
+ };
11
+ }, {
12
+ open(): void;
13
+ close(): void;
14
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ close: (arg?: void | undefined) => void;
16
+ }, 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
+ images: import('vue-types').VueTypeDef<import('./types').ImagePreviewData> & {
21
+ default: string | (() => import('./types').ImagePreviewObject) | (() => import('./types').ImagePreviewItem[]);
22
+ };
23
+ initialIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
24
+ default: number;
25
+ };
26
+ }>>, {
27
+ "v-model-key": boolean;
28
+ images: import('./types').ImagePreviewData;
29
+ initialIndex: number;
30
+ }>;
31
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export { default as PwcImagePreview } from './image-preview.vue';
2
+ export * from './hooks/props-define';
3
+ export * from './hooks/use-image-preview';
4
+ export * from './types';
@@ -0,0 +1,19 @@
1
+ import { MaybeArray } from '../../interface';
2
+ export interface ImagePreviewObject {
3
+ /**
4
+ * 图片地址
5
+ */
6
+ url: string;
7
+ /**
8
+ * 下载地址
9
+ */
10
+ downloadUrl?: string;
11
+ }
12
+ export type ImagePreviewItem = string | ImagePreviewObject;
13
+ export type ImagePreviewData = MaybeArray<ImagePreviewItem>;
14
+ export interface ImagePreviewInstance {
15
+ /** 打开 */
16
+ open(): void;
17
+ /** 关闭 */
18
+ close(): void;
19
+ }
@@ -1,5 +1,4 @@
1
1
  import { ComponentInstance } from '../../vue-utils';
2
- import { Directive } from 'vue';
3
2
  import { default as PwcLoading } from './loading.vue';
4
3
  import { LoadingOptions } from './types';
5
4
  declare const INSTANCE_KEY: unique symbol;
@@ -12,5 +11,5 @@ interface LoadingElement extends HTMLElement {
12
11
  type LoadingBinding = boolean | {
13
12
  loading: boolean;
14
13
  } & LoadingOptions;
15
- export declare const vLoading: Directive<LoadingElement, LoadingBinding>;
14
+ export declare const vLoading: import('vue').Directive<LoadingElement, LoadingBinding>;
16
15
  export {};
@@ -1,6 +1,6 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- size: import('vue-types').VueTypeDef<import('./types').LoadingSize> & {
3
- default: import('./types').LoadingSize;
2
+ size: import('vue-types').VueTypeDef<number | "auto"> & {
3
+ default: number | "auto";
4
4
  };
5
5
  color: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
6
6
  default: string;
@@ -12,8 +12,8 @@ declare const _default: import('vue').DefineComponent<{
12
12
  }, {
13
13
  topmostElem: () => Promise<void>;
14
14
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
15
- size: import('vue-types').VueTypeDef<import('./types').LoadingSize> & {
16
- default: import('./types').LoadingSize;
15
+ size: import('vue-types').VueTypeDef<number | "auto"> & {
16
+ default: number | "auto";
17
17
  };
18
18
  color: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
19
19
  default: string;
@@ -24,7 +24,7 @@ declare const _default: import('vue').DefineComponent<{
24
24
  };
25
25
  }>>, {
26
26
  type: "circle" | "dot";
27
- size: import('./types').LoadingSize;
27
+ size: number | "auto";
28
28
  color: string;
29
29
  }>;
30
30
  export default _default;
@@ -1,6 +1,5 @@
1
1
  export declare const loadingType: readonly ["circle", "dot"];
2
2
  export type LoadingType = typeof loadingType[number];
3
- export type LoadingSize = number | 'auto';
4
3
  export type LoadingOptions = {
5
4
  /**
6
5
  * 尺寸
@@ -1,12 +1,10 @@
1
- import { LoadingSize } from './types';
2
1
  export declare const loadingProps: () => {
3
2
  /**
4
3
  * 大小
5
- * @propType LoadingSize
6
4
  * @default 32
7
5
  */
8
- size: import('vue-types').VueTypeDef<LoadingSize> & {
9
- default: LoadingSize;
6
+ size: import('vue-types').VueTypeDef<number | "auto"> & {
7
+ default: number | "auto";
10
8
  };
11
9
  /**
12
10
  * 颜色
@@ -20,7 +18,6 @@ export declare const loadingProps: () => {
20
18
  background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
21
19
  /**
22
20
  * 加载类型
23
- * @propType LoadingType
24
21
  * @default 'circle'
25
22
  */
26
23
  type: import('vue-types').VueTypeDef<"circle" | "dot"> & {