@polyv/vue-components 1.6.0 → 1.7.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 (263) hide show
  1. package/package.json +2 -2
  2. package/styles/root/basic.scss +14 -7
  3. package/styles/root/border.scss +6 -0
  4. package/styles/skin-color.scss +37 -11
  5. package/styles/variables.scss +15 -1
  6. package/vue2/index.es.js +16155 -21494
  7. package/vue2/src/components/alert/index.d.ts +2 -0
  8. package/vue2/src/components/alert/src/alert.vue.d.ts +2 -0
  9. package/vue2/src/components/alert/src/props-define.d.ts +8 -0
  10. package/vue2/src/components/business/channel-cover/index.d.ts +38 -0
  11. package/vue2/src/components/business/channel-cover/src/channel-cover.vue.d.ts +38 -0
  12. package/vue2/src/components/business/channel-cover/src/cover-list.d.ts +7 -0
  13. package/vue2/src/components/business/channel-cover/src/props-define.d.ts +47 -0
  14. package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +8 -4
  15. package/vue2/src/components/business/external-links/external-links.vue.d.ts +1 -2
  16. package/vue2/src/components/business/external-links/use-external-links.d.ts +111 -3
  17. package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +22 -0
  18. package/vue2/src/components/collapse-transition/index.d.ts +36 -0
  19. package/vue2/src/components/collapse-transition/src/collapse-transition.vue.d.ts +27 -0
  20. package/vue2/src/components/collapse-transition/src/props-define.d.ts +9 -0
  21. package/vue2/src/components/example/example.vue.d.ts +16 -1
  22. package/vue2/src/components/example/index.d.ts +75 -4
  23. package/vue2/src/components/exports.d.ts +22 -1
  24. package/vue2/src/components/form/file-upload/index.d.ts +467 -0
  25. package/vue2/src/components/form/file-upload/src/file-upload.vue.d.ts +185 -0
  26. package/vue2/src/components/form/file-upload/src/hooks/props-define.d.ts +296 -0
  27. package/vue2/src/components/form/file-upload/src/hooks/types.d.ts +52 -0
  28. package/vue2/src/components/form/file-upload/src/hooks/use-file-input.d.ts +7 -0
  29. package/vue2/src/components/form/file-upload/src/hooks/use-file-upload-slots.d.ts +10 -0
  30. package/vue2/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +113 -0
  31. package/vue2/src/components/form/file-upload/src/hooks/use-upload-controller.d.ts +7 -0
  32. package/vue2/src/components/form/file-upload/src/upload-add/button-add.vue.d.ts +4 -0
  33. package/vue2/src/components/form/file-upload/src/upload-add/drag-add.vue.d.ts +5 -0
  34. package/vue2/src/components/form/file-upload/src/upload-add/picture-card-add.vue.d.ts +4 -0
  35. package/vue2/src/components/form/file-upload/src/upload-item/file-upload-item.vue.d.ts +23 -0
  36. package/vue2/src/components/form/file-upload/src/upload-item/picture-card-item.vue.d.ts +14 -0
  37. package/vue2/src/components/form/file-upload/src/upload-item/text-item.vue.d.ts +16 -0
  38. package/vue2/src/components/form/file-upload/src/upload-item/use-upload-item.d.ts +10 -0
  39. package/vue2/src/components/form/form-item/index.d.ts +2 -2
  40. package/vue2/src/components/form/form-item/src/form-item.vue.d.ts +1 -1
  41. package/vue2/src/components/form/form-submit-button/index.d.ts +1 -1
  42. package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
  43. package/vue2/src/components/form/form-wrap/index.d.ts +8 -2
  44. package/vue2/src/components/form/form-wrap/src/form-wrap.vue.d.ts +3 -1
  45. package/vue2/src/components/form/form-wrap/src/use-form-wrap.d.ts +4 -0
  46. package/vue2/src/components/form/hooks/use-form-entrance.d.ts +3 -3
  47. package/vue2/src/components/form/input-number/index.d.ts +2 -2
  48. package/vue2/src/components/form/input-number/src/input-number.vue.d.ts +1 -1
  49. package/vue2/src/components/form/select/index.d.ts +40 -40
  50. package/vue2/src/components/form/timezone-picker/index.d.ts +70 -70
  51. package/vue2/src/components/form/timezone-picker/src/hooks/props-define.d.ts +18 -18
  52. package/vue2/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +42 -42
  53. package/vue2/src/components/form/transfer/hooks/props-define.d.ts +0 -1
  54. package/vue2/src/components/form/transfer/transfer.vue.d.ts +0 -1
  55. package/vue2/src/components/icons/icons/effect/index.d.ts +6 -0
  56. package/vue2/src/components/icons/icons/file/index.d.ts +6 -0
  57. package/vue2/src/components/icons/icons/id-card/index.d.ts +6 -0
  58. package/vue2/src/components/icons/icons/id-card-filled/index.d.ts +6 -0
  59. package/vue2/src/components/icons/icons/lang/index.d.ts +6 -0
  60. package/vue2/src/components/icons/icons/link/index.d.ts +6 -0
  61. package/vue2/src/components/icons/icons/menu-expand/index.d.ts +6 -0
  62. package/vue2/src/components/icons/icons/menu-fold-up/index.d.ts +6 -0
  63. package/vue2/src/components/icons/icons/platform/index.d.ts +6 -0
  64. package/vue2/src/components/icons/icons/platform-filled/index.d.ts +6 -0
  65. package/vue2/src/components/icons/icons/statistics-filled/index.d.ts +6 -0
  66. package/vue2/src/components/icons/icons/upload-three/index.d.ts +6 -0
  67. package/vue2/src/components/icons/icons/user/index.d.ts +6 -0
  68. package/vue2/src/components/icons/icons/user-filled/index.d.ts +6 -0
  69. package/vue2/src/components/icons/icons/video/index.d.ts +6 -0
  70. package/vue2/src/components/icons/icons/video-filled/index.d.ts +6 -0
  71. package/vue2/src/components/icons/map.d.ts +16 -0
  72. package/vue2/src/components/info-card/index.d.ts +181 -2
  73. package/{vue3/src/components/info-card → vue2/src/components/info-card/src}/info-card.vue.d.ts +11 -1
  74. package/vue2/src/components/info-card/{props-define.d.ts → src/props-define.d.ts} +18 -1
  75. package/vue2/src/components/menu/index.d.ts +156 -0
  76. package/vue2/src/components/menu/src/hooks/use-menu-item.d.ts +29 -0
  77. package/vue2/src/components/menu/src/hooks/use-menu.d.ts +14 -0
  78. package/vue2/src/components/menu/src/hooks/use-sub-menu.d.ts +23 -0
  79. package/vue2/src/components/menu/src/menu-divider.vue.d.ts +2 -0
  80. package/vue2/src/components/menu/src/menu-item-content.vue.d.ts +2 -0
  81. package/vue2/src/components/menu/src/menu-item.vue.d.ts +14 -0
  82. package/vue2/src/components/menu/src/menu.vue.d.ts +52 -0
  83. package/vue2/src/components/menu/src/props-define.d.ts +114 -0
  84. package/vue2/src/components/menu/src/sub-menu-popper.vue.d.ts +19 -0
  85. package/vue2/src/components/menu/src/sub-menu.vue.d.ts +32 -0
  86. package/vue2/src/components/message-box/_component/message-box-element.vue.d.ts +1 -1
  87. package/vue2/src/components/message-box/_component/use-message-box-element.d.ts +13 -9
  88. package/vue2/src/components/pagination/use-pagination.d.ts +3 -3
  89. package/vue2/src/components/popconfirm/index.d.ts +20 -0
  90. package/vue2/src/components/popconfirm/src/popconfirm.vue.d.ts +20 -0
  91. package/vue2/src/components/popconfirm/src/props-define.d.ts +3 -0
  92. package/vue2/src/components/popover/index.d.ts +20 -0
  93. package/vue2/src/components/popover/src/popover.vue.d.ts +7 -0
  94. package/vue2/src/components/popover/src/props-define.d.ts +3 -0
  95. package/vue2/src/components/popup/index.d.ts +13 -6
  96. package/vue2/src/components/popup/src/hooks/popup-props.d.ts +6 -4
  97. package/vue2/src/components/popup/src/hooks/use-popup-provide.d.ts +9 -0
  98. package/vue2/src/components/popup/src/popup.vue.d.ts +4 -2
  99. package/vue2/src/components/popup/src/types.d.ts +3 -0
  100. package/vue2/src/components/slider/index.d.ts +8 -1
  101. package/vue2/src/components/slider/src/props-define.d.ts +7 -0
  102. package/vue2/src/components/slider/src/slider.vue.d.ts +8 -1
  103. package/vue2/src/components/table/index.d.ts +84 -12
  104. package/vue2/src/components/table/src/components/table-body-cell/body-cell-expand.vue.d.ts +2 -0
  105. package/vue2/src/components/table/src/components/table-body-row/table-body-row-expand.vue.d.ts +33 -0
  106. package/vue2/src/components/table/src/components/table-body-row/table-body-row.vue.d.ts +11 -0
  107. package/vue2/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +8 -0
  108. package/vue2/src/components/table/src/hooks/props-define.d.ts +58 -2
  109. package/vue2/src/components/table/src/hooks/use-table/use-column-computed.d.ts +14 -2
  110. package/vue2/src/components/table/src/hooks/use-table/use-column-list.d.ts +28 -4
  111. package/vue2/src/components/table/src/hooks/use-table/use-table-footer.d.ts +7 -0
  112. package/vue2/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +2 -0
  113. package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +44 -7
  114. package/vue2/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +14 -2
  115. package/vue2/src/components/table/src/hooks/use-table-column/use-column-expand.d.ts +19 -0
  116. package/vue2/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +2 -1
  117. package/vue2/src/components/table/src/table-column.vue.d.ts +13 -4
  118. package/vue2/src/components/table/src/table.vue.d.ts +16 -0
  119. package/vue2/src/components/table/src/types/index.d.ts +1 -1
  120. package/vue2/src/components/tooltip/index.d.ts +20 -0
  121. package/vue2/src/components/tooltip/src/props-define.d.ts +7 -0
  122. package/vue2/src/components/tooltip/src/tooltip.vue.d.ts +7 -0
  123. package/vue2/src/hooks/business/use-skin-color/utils.d.ts +1 -1
  124. package/vue2/src/hooks/exports.d.ts +1 -0
  125. package/vue2/src/hooks/vue/use-render-slots/index.d.ts +5 -3
  126. package/vue2/src/lang/internal/en.json.d.ts +28 -6
  127. package/vue2/src/lang/internal/index.d.ts +22 -0
  128. package/vue2/src/lang/internal/ja.json.d.ts +29 -7
  129. package/vue2/src/lang/internal/ko.json.d.ts +29 -7
  130. package/vue2/src/lang/internal/ru.json.d.ts +29 -7
  131. package/vue2/src/lang/internal/zh-CN.json.d.ts +27 -5
  132. package/vue2/src/lang/internal/zh-TW.json.d.ts +28 -6
  133. package/vue2/src/vue-utils/index.d.ts +1 -0
  134. package/vue3/index.es.js +16162 -21506
  135. package/vue3/src/components/alert/index.d.ts +2 -0
  136. package/vue3/src/components/alert/src/alert.vue.d.ts +2 -0
  137. package/vue3/src/components/alert/src/props-define.d.ts +8 -0
  138. package/vue3/src/components/business/channel-cover/index.d.ts +38 -0
  139. package/vue3/src/components/business/channel-cover/src/channel-cover.vue.d.ts +38 -0
  140. package/vue3/src/components/business/channel-cover/src/cover-list.d.ts +7 -0
  141. package/vue3/src/components/business/channel-cover/src/props-define.d.ts +47 -0
  142. package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +8 -4
  143. package/vue3/src/components/business/external-links/external-links.vue.d.ts +1 -2
  144. package/vue3/src/components/business/external-links/use-external-links.d.ts +111 -3
  145. package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +22 -0
  146. package/vue3/src/components/collapse-transition/index.d.ts +36 -0
  147. package/vue3/src/components/collapse-transition/src/collapse-transition.vue.d.ts +27 -0
  148. package/vue3/src/components/collapse-transition/src/props-define.d.ts +9 -0
  149. package/vue3/src/components/example/example.vue.d.ts +16 -1
  150. package/vue3/src/components/example/index.d.ts +75 -4
  151. package/vue3/src/components/exports.d.ts +22 -1
  152. package/vue3/src/components/form/file-upload/index.d.ts +467 -0
  153. package/vue3/src/components/form/file-upload/src/file-upload.vue.d.ts +185 -0
  154. package/vue3/src/components/form/file-upload/src/hooks/props-define.d.ts +296 -0
  155. package/vue3/src/components/form/file-upload/src/hooks/types.d.ts +52 -0
  156. package/vue3/src/components/form/file-upload/src/hooks/use-file-input.d.ts +7 -0
  157. package/vue3/src/components/form/file-upload/src/hooks/use-file-upload-slots.d.ts +10 -0
  158. package/vue3/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +113 -0
  159. package/vue3/src/components/form/file-upload/src/hooks/use-upload-controller.d.ts +7 -0
  160. package/vue3/src/components/form/file-upload/src/upload-add/button-add.vue.d.ts +4 -0
  161. package/vue3/src/components/form/file-upload/src/upload-add/drag-add.vue.d.ts +5 -0
  162. package/vue3/src/components/form/file-upload/src/upload-add/picture-card-add.vue.d.ts +4 -0
  163. package/vue3/src/components/form/file-upload/src/upload-item/file-upload-item.vue.d.ts +23 -0
  164. package/vue3/src/components/form/file-upload/src/upload-item/picture-card-item.vue.d.ts +14 -0
  165. package/vue3/src/components/form/file-upload/src/upload-item/text-item.vue.d.ts +16 -0
  166. package/vue3/src/components/form/file-upload/src/upload-item/use-upload-item.d.ts +10 -0
  167. package/vue3/src/components/form/form-item/index.d.ts +2 -2
  168. package/vue3/src/components/form/form-item/src/form-item.vue.d.ts +1 -1
  169. package/vue3/src/components/form/form-submit-button/index.d.ts +1 -1
  170. package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
  171. package/vue3/src/components/form/form-wrap/index.d.ts +8 -2
  172. package/vue3/src/components/form/form-wrap/src/form-wrap.vue.d.ts +3 -1
  173. package/vue3/src/components/form/form-wrap/src/use-form-wrap.d.ts +4 -0
  174. package/vue3/src/components/form/hooks/use-form-entrance.d.ts +3 -3
  175. package/vue3/src/components/form/input-number/index.d.ts +2 -2
  176. package/vue3/src/components/form/input-number/src/input-number.vue.d.ts +1 -1
  177. package/vue3/src/components/form/select/index.d.ts +40 -40
  178. package/vue3/src/components/form/timezone-picker/index.d.ts +70 -70
  179. package/vue3/src/components/form/timezone-picker/src/hooks/props-define.d.ts +18 -18
  180. package/vue3/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +42 -42
  181. package/vue3/src/components/form/transfer/hooks/props-define.d.ts +0 -1
  182. package/vue3/src/components/form/transfer/transfer.vue.d.ts +0 -1
  183. package/vue3/src/components/icons/icons/effect/index.d.ts +6 -0
  184. package/vue3/src/components/icons/icons/file/index.d.ts +6 -0
  185. package/vue3/src/components/icons/icons/id-card/index.d.ts +6 -0
  186. package/vue3/src/components/icons/icons/id-card-filled/index.d.ts +6 -0
  187. package/vue3/src/components/icons/icons/lang/index.d.ts +6 -0
  188. package/vue3/src/components/icons/icons/link/index.d.ts +6 -0
  189. package/vue3/src/components/icons/icons/menu-expand/index.d.ts +6 -0
  190. package/vue3/src/components/icons/icons/menu-fold-up/index.d.ts +6 -0
  191. package/vue3/src/components/icons/icons/platform/index.d.ts +6 -0
  192. package/vue3/src/components/icons/icons/platform-filled/index.d.ts +6 -0
  193. package/vue3/src/components/icons/icons/statistics-filled/index.d.ts +6 -0
  194. package/vue3/src/components/icons/icons/upload-three/index.d.ts +6 -0
  195. package/vue3/src/components/icons/icons/user/index.d.ts +6 -0
  196. package/vue3/src/components/icons/icons/user-filled/index.d.ts +6 -0
  197. package/vue3/src/components/icons/icons/video/index.d.ts +6 -0
  198. package/vue3/src/components/icons/icons/video-filled/index.d.ts +6 -0
  199. package/vue3/src/components/icons/map.d.ts +16 -0
  200. package/vue3/src/components/info-card/index.d.ts +181 -2
  201. package/{vue2/src/components/info-card → vue3/src/components/info-card/src}/info-card.vue.d.ts +11 -1
  202. package/vue3/src/components/info-card/{props-define.d.ts → src/props-define.d.ts} +18 -1
  203. package/vue3/src/components/menu/index.d.ts +156 -0
  204. package/vue3/src/components/menu/src/hooks/use-menu-item.d.ts +29 -0
  205. package/vue3/src/components/menu/src/hooks/use-menu.d.ts +14 -0
  206. package/vue3/src/components/menu/src/hooks/use-sub-menu.d.ts +23 -0
  207. package/vue3/src/components/menu/src/menu-divider.vue.d.ts +2 -0
  208. package/vue3/src/components/menu/src/menu-item-content.vue.d.ts +2 -0
  209. package/vue3/src/components/menu/src/menu-item.vue.d.ts +14 -0
  210. package/vue3/src/components/menu/src/menu.vue.d.ts +52 -0
  211. package/vue3/src/components/menu/src/props-define.d.ts +114 -0
  212. package/vue3/src/components/menu/src/sub-menu-popper.vue.d.ts +19 -0
  213. package/vue3/src/components/menu/src/sub-menu.vue.d.ts +32 -0
  214. package/vue3/src/components/message-box/_component/message-box-element.vue.d.ts +1 -1
  215. package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +13 -9
  216. package/vue3/src/components/pagination/use-pagination.d.ts +3 -3
  217. package/vue3/src/components/popconfirm/index.d.ts +20 -0
  218. package/vue3/src/components/popconfirm/src/popconfirm.vue.d.ts +20 -0
  219. package/vue3/src/components/popconfirm/src/props-define.d.ts +3 -0
  220. package/vue3/src/components/popover/index.d.ts +20 -0
  221. package/vue3/src/components/popover/src/popover.vue.d.ts +7 -0
  222. package/vue3/src/components/popover/src/props-define.d.ts +3 -0
  223. package/vue3/src/components/popup/index.d.ts +13 -6
  224. package/vue3/src/components/popup/src/hooks/popup-props.d.ts +6 -4
  225. package/vue3/src/components/popup/src/hooks/use-popup-provide.d.ts +9 -0
  226. package/vue3/src/components/popup/src/popup.vue.d.ts +4 -2
  227. package/vue3/src/components/popup/src/types.d.ts +3 -0
  228. package/vue3/src/components/slider/index.d.ts +8 -1
  229. package/vue3/src/components/slider/src/props-define.d.ts +7 -0
  230. package/vue3/src/components/slider/src/slider.vue.d.ts +8 -1
  231. package/vue3/src/components/table/index.d.ts +84 -12
  232. package/vue3/src/components/table/src/components/table-body-cell/body-cell-expand.vue.d.ts +2 -0
  233. package/vue3/src/components/table/src/components/table-body-row/table-body-row-expand.vue.d.ts +33 -0
  234. package/vue3/src/components/table/src/components/table-body-row/table-body-row.vue.d.ts +11 -0
  235. package/vue3/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +8 -0
  236. package/vue3/src/components/table/src/hooks/props-define.d.ts +58 -2
  237. package/vue3/src/components/table/src/hooks/use-table/use-column-computed.d.ts +14 -2
  238. package/vue3/src/components/table/src/hooks/use-table/use-column-list.d.ts +28 -4
  239. package/vue3/src/components/table/src/hooks/use-table/use-table-footer.d.ts +7 -0
  240. package/vue3/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +2 -0
  241. package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +44 -7
  242. package/vue3/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +14 -2
  243. package/vue3/src/components/table/src/hooks/use-table-column/use-column-expand.d.ts +19 -0
  244. package/vue3/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +2 -1
  245. package/vue3/src/components/table/src/table-column.vue.d.ts +13 -4
  246. package/vue3/src/components/table/src/table.vue.d.ts +16 -0
  247. package/vue3/src/components/table/src/types/index.d.ts +1 -1
  248. package/vue3/src/components/tooltip/index.d.ts +20 -0
  249. package/vue3/src/components/tooltip/src/props-define.d.ts +7 -0
  250. package/vue3/src/components/tooltip/src/tooltip.vue.d.ts +7 -0
  251. package/vue3/src/hooks/business/use-skin-color/utils.d.ts +1 -1
  252. package/vue3/src/hooks/exports.d.ts +1 -0
  253. package/vue3/src/hooks/vue/use-render-slots/index.d.ts +5 -3
  254. package/vue3/src/lang/internal/en.json.d.ts +28 -6
  255. package/vue3/src/lang/internal/index.d.ts +22 -0
  256. package/vue3/src/lang/internal/ja.json.d.ts +29 -7
  257. package/vue3/src/lang/internal/ko.json.d.ts +29 -7
  258. package/vue3/src/lang/internal/ru.json.d.ts +29 -7
  259. package/vue3/src/lang/internal/zh-CN.json.d.ts +27 -5
  260. package/vue3/src/lang/internal/zh-TW.json.d.ts +28 -6
  261. package/vue3/src/vue-utils/index.d.ts +1 -0
  262. package/vue2/src/components/form/index.d.ts +0 -18
  263. package/vue3/src/components/form/index.d.ts +0 -18
@@ -1,4 +1,4 @@
1
- export declare const PwcExample: import('../../vue-utils/install-utils').SFCInstall<import('vue').DefineComponent<{
1
+ export declare const PwcExample: import('../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
2
2
  text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
3
3
  icon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
4
4
  default: boolean;
@@ -13,7 +13,7 @@ export declare const PwcExample: import('../../vue-utils/install-utils').SFCInst
13
13
  small: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
14
14
  default: boolean;
15
15
  };
16
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
16
+ }>>, Readonly<import('vue').ExtractPropTypes<{
17
17
  text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
18
18
  icon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
19
19
  default: boolean;
@@ -28,10 +28,81 @@ export declare const PwcExample: import('../../vue-utils/install-utils').SFCInst
28
28
  small: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
29
29
  default: boolean;
30
30
  };
31
- }>>, {
31
+ }>>, {}, {
32
32
  small: boolean;
33
33
  icon: boolean;
34
34
  placement: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
35
35
  imageWidth: number;
36
- }>, import('../../vue-utils/install-utils').InstallOptions>;
36
+ }, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
37
+ text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
38
+ icon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
39
+ default: boolean;
40
+ };
41
+ image: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
42
+ imageWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
43
+ default: number;
44
+ };
45
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
46
+ default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
47
+ };
48
+ small: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
49
+ default: boolean;
50
+ };
51
+ }>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
52
+ text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
53
+ icon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
54
+ default: boolean;
55
+ };
56
+ image: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
57
+ imageWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
58
+ default: number;
59
+ };
60
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
61
+ default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
62
+ };
63
+ small: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
64
+ default: boolean;
65
+ };
66
+ }>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
67
+ text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
68
+ icon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
69
+ default: boolean;
70
+ };
71
+ image: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
72
+ imageWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
73
+ default: number;
74
+ };
75
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
76
+ default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
77
+ };
78
+ small: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
79
+ default: boolean;
80
+ };
81
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
82
+ small: boolean;
83
+ icon: boolean;
84
+ placement: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
85
+ imageWidth: number;
86
+ }> & {
87
+ props: {
88
+ text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
89
+ icon: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
90
+ default: boolean;
91
+ };
92
+ image: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
93
+ imageWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
94
+ default: number;
95
+ };
96
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
97
+ default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
98
+ };
99
+ small: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
100
+ default: boolean;
101
+ };
102
+ };
103
+ } & (new () => {
104
+ $scopedSlots: {
105
+ default?(_: {}): any;
106
+ };
107
+ }), import('../../vue-utils/install-utils').InstallOptions>;
37
108
  export * from './props-define';
@@ -2,6 +2,7 @@ export * from './action-sheet';
2
2
  export * from './alert';
3
3
  export * from './animation/bubble-animation';
4
4
  export * from './basic-countdown';
5
+ export * from './business/channel-cover';
5
6
  export * from './business/data-export';
6
7
  export * from './business/external-links';
7
8
  export * from './business/live-status-tag';
@@ -10,17 +11,37 @@ export * from './business/reward-receive';
10
11
  export * from './button';
11
12
  export * from './card';
12
13
  export * from './category-select';
14
+ export * from './collapse-transition';
13
15
  export * from './dropdown';
14
16
  export * from './empty';
15
17
  export * from './example';
16
18
  export * from './file-icon';
17
- export * from './form';
19
+ export * from './form/area-picker';
20
+ export * from './form/checkbox';
21
+ export * from './form/date-picker';
22
+ export * from './form/file-upload';
23
+ export * from './form/form-group';
24
+ export * from './form/form-item';
25
+ export * from './form/form-submit-button';
26
+ export * from './form/form-wrap';
27
+ export * from './form/image-upload';
28
+ export * from './form/input';
29
+ export * from './form/input-number';
30
+ export * from './form/protocol';
31
+ export * from './form/radio';
32
+ export * from './form/select';
33
+ export * from './form/switch';
34
+ export * from './form/timezone-picker';
35
+ export * from './form/transfer';
36
+ export * from './form/types';
37
+ export * from './form/video-upload';
18
38
  export * from './icons';
19
39
  export * from './icons/map';
20
40
  export * from './image-cropper';
21
41
  export * from './image-preview';
22
42
  export * from './info-card';
23
43
  export * from './loading';
44
+ export * from './menu';
24
45
  export * from './message-box';
25
46
  export * from './pagination';
26
47
  export * from './popconfirm';
@@ -0,0 +1,467 @@
1
+ import { FileUploadController } from './src/hooks/props-define';
2
+ declare module '../../../vue-utils/install-utils' {
3
+ interface InstallOptionsMap {
4
+ PwcFileUpload: FileUploadController;
5
+ }
6
+ }
7
+ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
8
+ "v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
9
+ default: string | (() => string[]);
10
+ };
11
+ method: import('vue-types').VueTypeDef<"button" | "drag" | "card">;
12
+ listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
13
+ default: "text" | "picture-card";
14
+ };
15
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
16
+ default: boolean;
17
+ };
18
+ data: import('vue-types').VueTypeValidableDef<{
19
+ [key: string]: any;
20
+ }, import('vue-types/dist/types').ValidatorFunction<{
21
+ [key: string]: any;
22
+ }>> & {
23
+ default: () => {
24
+ [key: string]: any;
25
+ };
26
+ };
27
+ fileExtension: import('vue-types').VueTypeValidableDef<string[], import('vue-types/dist/types').ValidatorFunction<string[]>> & {
28
+ default: () => string[];
29
+ };
30
+ acceptType: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
31
+ multiple: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
32
+ default: boolean;
33
+ };
34
+ draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
35
+ default: boolean;
36
+ };
37
+ sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
38
+ countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
39
+ controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
40
+ width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
41
+ default: number;
42
+ };
43
+ height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
44
+ default: number;
45
+ };
46
+ uploadTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
47
+ uploadPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
48
+ defaultUploadPlaceholder: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
49
+ default: boolean;
50
+ };
51
+ showDelete: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
52
+ default: boolean;
53
+ };
54
+ cropper: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
55
+ default: boolean;
56
+ };
57
+ cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
58
+ cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
59
+ target: import('vue-types').VueTypeDef<string | Object | File>;
60
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
61
+ default: "canvas" | "image" | "none";
62
+ };
63
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
64
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
65
+ }>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
66
+ target: import('vue-types').VueTypeDef<string | Object | File>;
67
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
68
+ default: "canvas" | "image" | "none";
69
+ };
70
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
71
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
72
+ }>>>>;
73
+ }>>, Readonly<import('vue').ExtractPropTypes<{
74
+ "v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
75
+ default: string | (() => string[]);
76
+ };
77
+ method: import('vue-types').VueTypeDef<"button" | "drag" | "card">;
78
+ listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
79
+ default: "text" | "picture-card";
80
+ };
81
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
82
+ default: boolean;
83
+ };
84
+ data: import('vue-types').VueTypeValidableDef<{
85
+ [key: string]: any;
86
+ }, import('vue-types/dist/types').ValidatorFunction<{
87
+ [key: string]: any;
88
+ }>> & {
89
+ default: () => {
90
+ [key: string]: any;
91
+ };
92
+ };
93
+ fileExtension: import('vue-types').VueTypeValidableDef<string[], import('vue-types/dist/types').ValidatorFunction<string[]>> & {
94
+ default: () => string[];
95
+ };
96
+ acceptType: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
97
+ multiple: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
98
+ default: boolean;
99
+ };
100
+ draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
101
+ default: boolean;
102
+ };
103
+ sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
104
+ countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
105
+ controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
106
+ width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
107
+ default: number;
108
+ };
109
+ height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
110
+ default: number;
111
+ };
112
+ uploadTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
113
+ uploadPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
114
+ defaultUploadPlaceholder: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
115
+ default: boolean;
116
+ };
117
+ showDelete: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
118
+ default: boolean;
119
+ };
120
+ cropper: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
121
+ default: boolean;
122
+ };
123
+ cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
124
+ cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
125
+ target: import('vue-types').VueTypeDef<string | Object | File>;
126
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
127
+ default: "canvas" | "image" | "none";
128
+ };
129
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
130
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
131
+ }>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
132
+ target: import('vue-types').VueTypeDef<string | Object | File>;
133
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
134
+ default: "canvas" | "image" | "none";
135
+ };
136
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
137
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
138
+ }>>>>;
139
+ }>>, {
140
+ replace: (arg: {
141
+ url: string;
142
+ index: number;
143
+ }) => void;
144
+ change: (arg: string | string[]) => void;
145
+ }, {
146
+ data: {
147
+ [key: string]: any;
148
+ };
149
+ "v-model-key": string | string[];
150
+ disabled: boolean;
151
+ width: number;
152
+ height: number;
153
+ draggable: boolean;
154
+ multiple: boolean;
155
+ listType: "text" | "picture-card";
156
+ fileExtension: string[];
157
+ defaultUploadPlaceholder: boolean;
158
+ showDelete: boolean;
159
+ cropper: boolean;
160
+ }, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
161
+ "v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
162
+ default: string | (() => string[]);
163
+ };
164
+ method: import('vue-types').VueTypeDef<"button" | "drag" | "card">;
165
+ listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
166
+ default: "text" | "picture-card";
167
+ };
168
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
169
+ default: boolean;
170
+ };
171
+ data: import('vue-types').VueTypeValidableDef<{
172
+ [key: string]: any;
173
+ }, import('vue-types/dist/types').ValidatorFunction<{
174
+ [key: string]: any;
175
+ }>> & {
176
+ default: () => {
177
+ [key: string]: any;
178
+ };
179
+ };
180
+ fileExtension: import('vue-types').VueTypeValidableDef<string[], import('vue-types/dist/types').ValidatorFunction<string[]>> & {
181
+ default: () => string[];
182
+ };
183
+ acceptType: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
184
+ multiple: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
185
+ default: boolean;
186
+ };
187
+ draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
188
+ default: boolean;
189
+ };
190
+ sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
191
+ countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
192
+ controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
193
+ width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
194
+ default: number;
195
+ };
196
+ height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
197
+ default: number;
198
+ };
199
+ uploadTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
200
+ uploadPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
201
+ defaultUploadPlaceholder: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
202
+ default: boolean;
203
+ };
204
+ showDelete: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
205
+ default: boolean;
206
+ };
207
+ cropper: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
208
+ default: boolean;
209
+ };
210
+ cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
211
+ cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
212
+ target: import('vue-types').VueTypeDef<string | Object | File>;
213
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
214
+ default: "canvas" | "image" | "none";
215
+ };
216
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
217
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
218
+ }>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
219
+ target: import('vue-types').VueTypeDef<string | Object | File>;
220
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
221
+ default: "canvas" | "image" | "none";
222
+ };
223
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
224
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
225
+ }>>>>;
226
+ }>>> & import('vue').ShallowUnwrapRef<{
227
+ triggerUpload: () => Promise<void>;
228
+ }> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
229
+ "v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
230
+ default: string | (() => string[]);
231
+ };
232
+ method: import('vue-types').VueTypeDef<"button" | "drag" | "card">;
233
+ listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
234
+ default: "text" | "picture-card";
235
+ };
236
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
237
+ default: boolean;
238
+ };
239
+ data: import('vue-types').VueTypeValidableDef<{
240
+ [key: string]: any;
241
+ }, import('vue-types/dist/types').ValidatorFunction<{
242
+ [key: string]: any;
243
+ }>> & {
244
+ default: () => {
245
+ [key: string]: any;
246
+ };
247
+ };
248
+ fileExtension: import('vue-types').VueTypeValidableDef<string[], import('vue-types/dist/types').ValidatorFunction<string[]>> & {
249
+ default: () => string[];
250
+ };
251
+ acceptType: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
252
+ multiple: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
253
+ default: boolean;
254
+ };
255
+ draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
256
+ default: boolean;
257
+ };
258
+ sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
259
+ countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
260
+ controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
261
+ width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
262
+ default: number;
263
+ };
264
+ height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
265
+ default: number;
266
+ };
267
+ uploadTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
268
+ uploadPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
269
+ defaultUploadPlaceholder: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
270
+ default: boolean;
271
+ };
272
+ showDelete: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
273
+ default: boolean;
274
+ };
275
+ cropper: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
276
+ default: boolean;
277
+ };
278
+ cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
279
+ cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
280
+ target: import('vue-types').VueTypeDef<string | Object | File>;
281
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
282
+ default: "canvas" | "image" | "none";
283
+ };
284
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
285
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
286
+ }>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
287
+ target: import('vue-types').VueTypeDef<string | Object | File>;
288
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
289
+ default: "canvas" | "image" | "none";
290
+ };
291
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
292
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
293
+ }>>>>;
294
+ }>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
295
+ "v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
296
+ default: string | (() => string[]);
297
+ };
298
+ method: import('vue-types').VueTypeDef<"button" | "drag" | "card">;
299
+ listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
300
+ default: "text" | "picture-card";
301
+ };
302
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
303
+ default: boolean;
304
+ };
305
+ data: import('vue-types').VueTypeValidableDef<{
306
+ [key: string]: any;
307
+ }, import('vue-types/dist/types').ValidatorFunction<{
308
+ [key: string]: any;
309
+ }>> & {
310
+ default: () => {
311
+ [key: string]: any;
312
+ };
313
+ };
314
+ fileExtension: import('vue-types').VueTypeValidableDef<string[], import('vue-types/dist/types').ValidatorFunction<string[]>> & {
315
+ default: () => string[];
316
+ };
317
+ acceptType: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
318
+ multiple: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
319
+ default: boolean;
320
+ };
321
+ draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
322
+ default: boolean;
323
+ };
324
+ sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
325
+ countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
326
+ controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
327
+ width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
328
+ default: number;
329
+ };
330
+ height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
331
+ default: number;
332
+ };
333
+ uploadTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
334
+ uploadPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
335
+ defaultUploadPlaceholder: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
336
+ default: boolean;
337
+ };
338
+ showDelete: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
339
+ default: boolean;
340
+ };
341
+ cropper: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
342
+ default: boolean;
343
+ };
344
+ cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
345
+ cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
346
+ target: import('vue-types').VueTypeDef<string | Object | File>;
347
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
348
+ default: "canvas" | "image" | "none";
349
+ };
350
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
351
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
352
+ }>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
353
+ target: import('vue-types').VueTypeDef<string | Object | File>;
354
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
355
+ default: "canvas" | "image" | "none";
356
+ };
357
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
358
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
359
+ }>>>>;
360
+ }>>, {
361
+ triggerUpload: () => Promise<void>;
362
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
363
+ replace: (arg: {
364
+ url: string;
365
+ index: number;
366
+ }) => void;
367
+ change: (arg: string | string[]) => void;
368
+ }, string, {
369
+ data: {
370
+ [key: string]: any;
371
+ };
372
+ "v-model-key": string | string[];
373
+ disabled: boolean;
374
+ width: number;
375
+ height: number;
376
+ draggable: boolean;
377
+ multiple: boolean;
378
+ listType: "text" | "picture-card";
379
+ fileExtension: string[];
380
+ defaultUploadPlaceholder: boolean;
381
+ showDelete: boolean;
382
+ cropper: boolean;
383
+ }> & {
384
+ props: {
385
+ "v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
386
+ default: string | (() => string[]);
387
+ };
388
+ method: import('vue-types').VueTypeDef<"button" | "drag" | "card">;
389
+ listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
390
+ default: "text" | "picture-card";
391
+ };
392
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
393
+ default: boolean;
394
+ };
395
+ data: import('vue-types').VueTypeValidableDef<{
396
+ [key: string]: any;
397
+ }, import('vue-types/dist/types').ValidatorFunction<{
398
+ [key: string]: any;
399
+ }>> & {
400
+ default: () => {
401
+ [key: string]: any;
402
+ };
403
+ };
404
+ fileExtension: import('vue-types').VueTypeValidableDef<string[], import('vue-types/dist/types').ValidatorFunction<string[]>> & {
405
+ default: () => string[];
406
+ };
407
+ acceptType: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
408
+ multiple: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
409
+ default: boolean;
410
+ };
411
+ draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
412
+ default: boolean;
413
+ };
414
+ sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
415
+ countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
416
+ controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
417
+ width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
418
+ default: number;
419
+ };
420
+ height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
421
+ default: number;
422
+ };
423
+ uploadTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
424
+ uploadPlaceholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
425
+ defaultUploadPlaceholder: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
426
+ default: boolean;
427
+ };
428
+ showDelete: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
429
+ default: boolean;
430
+ };
431
+ cropper: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
432
+ default: boolean;
433
+ };
434
+ cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
435
+ cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
436
+ target: import('vue-types').VueTypeDef<string | Object | File>;
437
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
438
+ default: "canvas" | "image" | "none";
439
+ };
440
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
441
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
442
+ }>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
443
+ target: import('vue-types').VueTypeDef<string | Object | File>;
444
+ within: import('vue-types').VueTypeDef<"canvas" | "image" | "none"> & {
445
+ default: "canvas" | "image" | "none";
446
+ };
447
+ aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
448
+ initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
449
+ }>>>>;
450
+ };
451
+ } & (new () => {
452
+ $scopedSlots: {
453
+ 'placeholder-suffix'?(_: {}): any;
454
+ 'file-item'?(_: {
455
+ url: string | undefined;
456
+ fileName: string | undefined;
457
+ width: string | undefined;
458
+ height: string | undefined;
459
+ status: import('./src/hooks/types').FileUploadStatus;
460
+ uploadProgress: number | undefined;
461
+ deleteItem: () => void;
462
+ replaceItem: () => void;
463
+ }): any;
464
+ };
465
+ }), FileUploadController>;
466
+ export * from './src/hooks/props-define';
467
+ export * from './src/hooks/types';