@polyv/vue-components 1.9.1 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/package.json +3 -2
  2. package/vue2/index.es.js +15626 -12584
  3. package/vue2/src/components/alert/index.d.ts +14 -14
  4. package/vue2/src/components/alert/src/alert.vue.d.ts +5 -5
  5. package/vue2/src/components/alert/src/props-define.d.ts +2 -2
  6. package/vue2/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +1 -1
  7. package/vue2/src/components/animation/number-animation/index.d.ts +118 -0
  8. package/vue2/src/components/animation/number-animation/src/number-animation.vue.d.ts +58 -0
  9. package/vue2/src/components/animation/number-animation/src/props-define.d.ts +58 -0
  10. package/vue2/src/components/badge/index.d.ts +63 -0
  11. package/vue2/src/components/badge/src/badge.vue.d.ts +37 -0
  12. package/vue2/src/components/badge/src/props-define.d.ts +29 -0
  13. package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +23 -19
  14. package/vue2/src/components/business/external-links/external-links.vue.d.ts +7 -0
  15. package/vue2/src/components/business/external-links/index.d.ts +38 -1
  16. package/vue2/src/components/business/external-links/use-external-links.d.ts +39 -1
  17. package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +14 -0
  18. package/vue2/src/components/button/index.d.ts +2 -2
  19. package/vue2/src/components/button/src/button.vue.d.ts +1 -1
  20. package/vue2/src/components/color-cell/index.d.ts +12 -0
  21. package/vue2/src/components/color-cell/src/color-cell.vue.d.ts +12 -0
  22. package/vue2/src/components/color-cell/src/props-define.d.ts +8 -0
  23. package/vue2/src/components/condition-filter/index.d.ts +46 -0
  24. package/vue2/src/components/condition-filter/src/condition-filter-item.vue.d.ts +9 -0
  25. package/vue2/src/components/condition-filter/src/condition-filter.vue.d.ts +7 -0
  26. package/vue2/src/components/condition-filter/src/props-define.d.ts +18 -0
  27. package/vue2/src/components/descriptions/index.d.ts +106 -0
  28. package/vue2/src/components/descriptions/src/descriptions-item.vue.d.ts +32 -0
  29. package/vue2/src/components/descriptions/src/descriptions.d.ts +58 -0
  30. package/vue2/src/components/descriptions/src/inject.d.ts +7 -0
  31. package/vue2/src/components/descriptions/src/item-cell.d.ts +15 -0
  32. package/vue2/src/components/descriptions/src/props-define.d.ts +81 -0
  33. package/vue2/src/components/dropdown/index.d.ts +58 -58
  34. package/vue2/src/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  35. package/vue2/src/components/dropdown/src/dropdown.vue.d.ts +15 -15
  36. package/vue2/src/components/dropdown/src/sub-dropdown.vue.d.ts +5 -5
  37. package/vue2/src/components/dropdown/src/use-dropdown.d.ts +8 -8
  38. package/vue2/src/components/empty/index.d.ts +6 -6
  39. package/vue2/src/components/empty/src/empty.vue.d.ts +2 -2
  40. package/vue2/src/components/empty/src/props-define.d.ts +1 -1
  41. package/vue2/src/components/example/example.vue.d.ts +5 -5
  42. package/vue2/src/components/example/index.d.ts +14 -14
  43. package/vue2/src/components/example/props-define.d.ts +2 -2
  44. package/vue2/src/components/exports.d.ts +10 -0
  45. package/vue2/src/components/file-icon/index.d.ts +15 -1
  46. package/vue2/src/components/form/color-picker/index.d.ts +82 -0
  47. package/vue2/src/components/form/color-picker/src/color-picker.vue.d.ts +82 -0
  48. package/vue2/src/components/form/color-picker/src/props-define.d.ts +65 -0
  49. package/vue2/src/components/form/file-upload/index.d.ts +106 -42
  50. package/vue2/src/components/form/file-upload/src/file-upload.vue.d.ts +36 -14
  51. package/vue2/src/components/form/file-upload/src/hooks/props-define.d.ts +28 -7
  52. package/vue2/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +1 -1
  53. package/vue2/src/components/form/form-submit-button/index.d.ts +1 -1
  54. package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
  55. package/vue2/src/components/form/image-upload/index.d.ts +24 -12
  56. package/vue2/src/components/form/image-upload/src/hooks/props-define.d.ts +12 -6
  57. package/vue2/src/components/form/image-upload/src/image-upload.vue.d.ts +24 -12
  58. package/vue2/src/components/form/input/index.d.ts +2 -2
  59. package/vue2/src/components/form/input/src/input.vue.d.ts +2 -2
  60. package/vue2/src/components/form/input-number/index.d.ts +2 -2
  61. package/vue2/src/components/form/input-number/src/input-number.vue.d.ts +1 -1
  62. package/vue2/src/components/form/select/index.d.ts +934 -5
  63. package/vue2/src/components/form/select/src/props-define.d.ts +4 -0
  64. package/vue2/src/components/form/select/src/select.vue.d.ts +59 -13
  65. package/vue2/src/components/form/transfer/transfer.vue.d.ts +2 -2
  66. package/vue2/src/components/form/tree-select/index.d.ts +74 -0
  67. package/vue2/src/components/form/tree-select/src/props-define.d.ts +59 -0
  68. package/vue2/src/components/form/tree-select/src/tree-select.vue.d.ts +76 -0
  69. package/vue2/src/components/grid/index.d.ts +111 -0
  70. package/vue2/src/components/grid/src/col.vue.d.ts +34 -0
  71. package/vue2/src/components/grid/src/inject-key.d.ts +10 -0
  72. package/vue2/src/components/grid/src/props-define.d.ts +35 -0
  73. package/vue2/src/components/grid/src/row.vue.d.ts +35 -0
  74. package/vue2/src/components/icons/icons/crop/index.d.ts +6 -0
  75. package/vue2/src/components/icons/icons/grid/index.d.ts +6 -0
  76. package/vue2/src/components/icons/icons/pause/index.d.ts +6 -0
  77. package/vue2/src/components/icons/icons/play/index.d.ts +6 -0
  78. package/vue2/src/components/icons/icons/violation/index.d.ts +6 -0
  79. package/vue2/src/components/icons/map.d.ts +5 -0
  80. package/vue2/src/components/image/index.d.ts +6 -6
  81. package/vue2/src/components/image/src/image.vue.d.ts +2 -2
  82. package/vue2/src/components/image/src/props-define.d.ts +1 -1
  83. package/vue2/src/components/image-cropper/index.d.ts +14 -8
  84. package/vue2/src/components/image-cropper/src/cropper-layer/use-cropper-layer.d.ts +41 -0
  85. package/vue2/src/components/image-cropper/src/hooks/props-define.d.ts +22 -19
  86. package/vue2/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +35 -9
  87. package/vue2/src/components/image-cropper/src/image-cropper.vue.d.ts +16 -9
  88. package/vue2/src/components/notification/index.d.ts +2 -0
  89. package/vue2/src/components/notification/src/hooks.d.ts +15 -0
  90. package/vue2/src/components/notification/src/notification-popover.vue.d.ts +21 -0
  91. package/vue2/src/components/notification/src/notification.d.ts +23 -0
  92. package/vue2/src/components/notification/src/position-management.d.ts +16 -0
  93. package/vue2/src/components/notification/src/types.d.ts +26 -0
  94. package/vue2/src/components/pagination/index.d.ts +1 -1
  95. package/vue2/src/components/pagination/pagination.vue.d.ts +1 -1
  96. package/vue2/src/components/popconfirm/index.d.ts +38 -34
  97. package/vue2/src/components/popconfirm/src/popconfirm.vue.d.ts +37 -34
  98. package/vue2/src/components/popconfirm/src/props-define.d.ts +12 -4
  99. package/vue2/src/components/popover/index.d.ts +36 -34
  100. package/vue2/src/components/popover/src/popover.vue.d.ts +14 -13
  101. package/vue2/src/components/popover/src/props-define.d.ts +14 -5
  102. package/vue2/src/components/popup/index.d.ts +36 -30
  103. package/vue2/src/components/popup/src/hooks/popup-props.d.ts +8 -4
  104. package/vue2/src/components/popup/src/hooks/use-popup-effect.d.ts +1 -1
  105. package/vue2/src/components/popup/src/hooks/use-popup-position.d.ts +1 -1
  106. package/vue2/src/components/popup/src/popup.vue.d.ts +13 -11
  107. package/vue2/src/components/splitter/index.d.ts +87 -0
  108. package/vue2/src/components/splitter/src/inject-key.d.ts +16 -0
  109. package/vue2/src/components/splitter/src/props-define.d.ts +32 -0
  110. package/vue2/src/components/splitter/src/splitter-panel.vue.d.ts +25 -0
  111. package/vue2/src/components/splitter/src/splitter.vue.d.ts +36 -0
  112. package/vue2/src/components/swiper/index.d.ts +212 -2
  113. package/vue2/src/components/table/index.d.ts +62 -11
  114. package/vue2/src/components/table/src/components/table-body-cell/body-cell-tags.vue.d.ts +19 -1
  115. package/vue2/src/components/table/src/components/table-body-cell/use-table-body-cell.d.ts +2 -0
  116. package/vue2/src/components/table/src/components/table-fixed-shadow.vue.d.ts +2 -2
  117. package/vue2/src/components/table/src/components/table-multiple-select/table-row-multiple.vue.d.ts +5 -1
  118. package/vue2/src/components/table/src/components/table-multiple-select/use-table-multiple.d.ts +1 -0
  119. package/vue2/src/components/table/src/components/table-single-select/table-row-single.vue.d.ts +34 -0
  120. package/vue2/src/components/table/src/components/table-single-select/use-table-single.d.ts +7 -0
  121. package/vue2/src/components/table/src/hooks/props-define.d.ts +30 -5
  122. package/vue2/src/components/table/src/hooks/use-table/use-table-request.d.ts +3 -2
  123. package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +2 -1
  124. package/vue2/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +4 -2
  125. package/vue2/src/components/table/src/table-column.vue.d.ts +7 -3
  126. package/vue2/src/components/table/src/table.vue.d.ts +2 -1
  127. package/vue2/src/components/table/src/types/index.d.ts +1 -0
  128. package/vue2/src/components/table-operation/index.d.ts +24 -2
  129. package/vue2/src/components/table-operation/src/props-define.d.ts +7 -0
  130. package/vue2/src/components/table-operation/src/table-operation-item.vue.d.ts +9 -1
  131. package/vue2/src/components/tag/index.d.ts +16 -16
  132. package/vue2/src/components/tag/src/props-define.d.ts +2 -2
  133. package/vue2/src/components/tag/src/tag.vue.d.ts +6 -6
  134. package/vue2/src/components/toast/_component/toast-element.vue.d.ts +1 -1
  135. package/vue2/src/components/tooltip/index.d.ts +30 -30
  136. package/vue2/src/components/tooltip/src/props-define.d.ts +4 -4
  137. package/vue2/src/components/tooltip/src/tooltip.vue.d.ts +11 -11
  138. package/vue2/src/components/tooltip/src/use-tooltip.d.ts +2 -2
  139. package/vue2/src/components/tree/index.d.ts +36 -0
  140. package/vue2/src/components/tree/src/hooks/use-tree.d.ts +25 -0
  141. package/vue2/src/components/tree/src/props-define.d.ts +103 -0
  142. package/vue2/src/components/tree/src/tree-node.vue.d.ts +11 -0
  143. package/vue2/src/components/tree/src/tree.vue.d.ts +36 -0
  144. package/vue2/src/hooks/element/use-breakpoint/index.d.ts +10 -0
  145. package/vue2/src/interface/enum.d.ts +2 -0
  146. package/vue2/src/lang/internal/en.json.d.ts +27 -13
  147. package/vue2/src/lang/internal/index.d.ts +14 -0
  148. package/vue2/src/lang/internal/ja.json.d.ts +27 -13
  149. package/vue2/src/lang/internal/ko.json.d.ts +27 -13
  150. package/vue2/src/lang/internal/ru.json.d.ts +27 -13
  151. package/vue2/src/lang/internal/zh-CN.json.d.ts +28 -14
  152. package/vue2/src/lang/internal/zh-TW.json.d.ts +27 -13
  153. package/vue2/src/vue-utils/render-slot.d.ts +9 -1
  154. package/vue2/src/vue-utils/version-compatible/types.d.ts +9 -0
  155. package/vue3/index.es.js +14578 -11332
  156. package/vue3/src/components/alert/index.d.ts +14 -14
  157. package/vue3/src/components/alert/src/alert.vue.d.ts +5 -5
  158. package/vue3/src/components/alert/src/props-define.d.ts +2 -2
  159. package/vue3/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +1 -1
  160. package/vue3/src/components/animation/number-animation/index.d.ts +118 -0
  161. package/vue3/src/components/animation/number-animation/src/number-animation.vue.d.ts +58 -0
  162. package/vue3/src/components/animation/number-animation/src/props-define.d.ts +58 -0
  163. package/vue3/src/components/badge/index.d.ts +63 -0
  164. package/vue3/src/components/badge/src/badge.vue.d.ts +37 -0
  165. package/vue3/src/components/badge/src/props-define.d.ts +29 -0
  166. package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +23 -19
  167. package/vue3/src/components/business/external-links/external-links.vue.d.ts +7 -0
  168. package/vue3/src/components/business/external-links/index.d.ts +38 -1
  169. package/vue3/src/components/business/external-links/use-external-links.d.ts +39 -1
  170. package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +14 -0
  171. package/vue3/src/components/button/index.d.ts +2 -2
  172. package/vue3/src/components/button/src/button.vue.d.ts +1 -1
  173. package/vue3/src/components/color-cell/index.d.ts +12 -0
  174. package/vue3/src/components/color-cell/src/color-cell.vue.d.ts +12 -0
  175. package/vue3/src/components/color-cell/src/props-define.d.ts +8 -0
  176. package/vue3/src/components/condition-filter/index.d.ts +46 -0
  177. package/vue3/src/components/condition-filter/src/condition-filter-item.vue.d.ts +9 -0
  178. package/vue3/src/components/condition-filter/src/condition-filter.vue.d.ts +7 -0
  179. package/vue3/src/components/condition-filter/src/props-define.d.ts +18 -0
  180. package/vue3/src/components/descriptions/index.d.ts +106 -0
  181. package/vue3/src/components/descriptions/src/descriptions-item.vue.d.ts +32 -0
  182. package/vue3/src/components/descriptions/src/descriptions.d.ts +58 -0
  183. package/vue3/src/components/descriptions/src/inject.d.ts +7 -0
  184. package/vue3/src/components/descriptions/src/item-cell.d.ts +15 -0
  185. package/vue3/src/components/descriptions/src/props-define.d.ts +81 -0
  186. package/vue3/src/components/dropdown/index.d.ts +58 -58
  187. package/vue3/src/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  188. package/vue3/src/components/dropdown/src/dropdown.vue.d.ts +15 -15
  189. package/vue3/src/components/dropdown/src/sub-dropdown.vue.d.ts +5 -5
  190. package/vue3/src/components/dropdown/src/use-dropdown.d.ts +8 -8
  191. package/vue3/src/components/empty/index.d.ts +6 -6
  192. package/vue3/src/components/empty/src/empty.vue.d.ts +2 -2
  193. package/vue3/src/components/empty/src/props-define.d.ts +1 -1
  194. package/vue3/src/components/example/example.vue.d.ts +5 -5
  195. package/vue3/src/components/example/index.d.ts +14 -14
  196. package/vue3/src/components/example/props-define.d.ts +2 -2
  197. package/vue3/src/components/exports.d.ts +10 -0
  198. package/vue3/src/components/file-icon/index.d.ts +15 -1
  199. package/vue3/src/components/form/color-picker/index.d.ts +82 -0
  200. package/vue3/src/components/form/color-picker/src/color-picker.vue.d.ts +82 -0
  201. package/vue3/src/components/form/color-picker/src/props-define.d.ts +65 -0
  202. package/vue3/src/components/form/file-upload/index.d.ts +106 -42
  203. package/vue3/src/components/form/file-upload/src/file-upload.vue.d.ts +36 -14
  204. package/vue3/src/components/form/file-upload/src/hooks/props-define.d.ts +28 -7
  205. package/vue3/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +1 -1
  206. package/vue3/src/components/form/form-submit-button/index.d.ts +1 -1
  207. package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
  208. package/vue3/src/components/form/image-upload/index.d.ts +24 -12
  209. package/vue3/src/components/form/image-upload/src/hooks/props-define.d.ts +12 -6
  210. package/vue3/src/components/form/image-upload/src/image-upload.vue.d.ts +24 -12
  211. package/vue3/src/components/form/input/index.d.ts +2 -2
  212. package/vue3/src/components/form/input/src/input.vue.d.ts +2 -2
  213. package/vue3/src/components/form/input-number/index.d.ts +2 -2
  214. package/vue3/src/components/form/input-number/src/input-number.vue.d.ts +1 -1
  215. package/vue3/src/components/form/select/index.d.ts +934 -5
  216. package/vue3/src/components/form/select/src/props-define.d.ts +4 -0
  217. package/vue3/src/components/form/select/src/select.vue.d.ts +59 -13
  218. package/vue3/src/components/form/transfer/transfer.vue.d.ts +2 -2
  219. package/vue3/src/components/form/tree-select/index.d.ts +74 -0
  220. package/vue3/src/components/form/tree-select/src/props-define.d.ts +59 -0
  221. package/vue3/src/components/form/tree-select/src/tree-select.vue.d.ts +76 -0
  222. package/vue3/src/components/grid/index.d.ts +111 -0
  223. package/vue3/src/components/grid/src/col.vue.d.ts +34 -0
  224. package/vue3/src/components/grid/src/inject-key.d.ts +10 -0
  225. package/vue3/src/components/grid/src/props-define.d.ts +35 -0
  226. package/vue3/src/components/grid/src/row.vue.d.ts +35 -0
  227. package/vue3/src/components/icons/icons/crop/index.d.ts +6 -0
  228. package/vue3/src/components/icons/icons/grid/index.d.ts +6 -0
  229. package/vue3/src/components/icons/icons/pause/index.d.ts +6 -0
  230. package/vue3/src/components/icons/icons/play/index.d.ts +6 -0
  231. package/vue3/src/components/icons/icons/violation/index.d.ts +6 -0
  232. package/vue3/src/components/icons/map.d.ts +5 -0
  233. package/vue3/src/components/image/index.d.ts +6 -6
  234. package/vue3/src/components/image/src/image.vue.d.ts +2 -2
  235. package/vue3/src/components/image/src/props-define.d.ts +1 -1
  236. package/vue3/src/components/image-cropper/index.d.ts +14 -8
  237. package/vue3/src/components/image-cropper/src/cropper-layer/cropper-layer.vue.d.ts +2 -0
  238. package/vue3/src/components/image-cropper/src/cropper-layer/use-cropper-layer.d.ts +41 -0
  239. package/vue3/src/components/image-cropper/src/hooks/props-define.d.ts +22 -19
  240. package/vue3/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +35 -9
  241. package/vue3/src/components/image-cropper/src/image-cropper.vue.d.ts +16 -9
  242. package/vue3/src/components/image-cropper/src/image-layer/image-layer.vue.d.ts +2 -0
  243. package/vue3/src/components/notification/index.d.ts +2 -0
  244. package/vue3/src/components/notification/src/hooks.d.ts +15 -0
  245. package/vue3/src/components/notification/src/notification-popover.vue.d.ts +21 -0
  246. package/vue3/src/components/notification/src/notification.d.ts +23 -0
  247. package/vue3/src/components/notification/src/position-management.d.ts +16 -0
  248. package/vue3/src/components/notification/src/types.d.ts +26 -0
  249. package/vue3/src/components/pagination/index.d.ts +1 -1
  250. package/vue3/src/components/pagination/pagination.vue.d.ts +1 -1
  251. package/vue3/src/components/popconfirm/index.d.ts +38 -34
  252. package/vue3/src/components/popconfirm/src/popconfirm.vue.d.ts +37 -34
  253. package/vue3/src/components/popconfirm/src/props-define.d.ts +12 -4
  254. package/vue3/src/components/popover/index.d.ts +36 -34
  255. package/vue3/src/components/popover/src/popover.vue.d.ts +14 -13
  256. package/vue3/src/components/popover/src/props-define.d.ts +14 -5
  257. package/vue3/src/components/popup/index.d.ts +36 -30
  258. package/vue3/src/components/popup/src/hooks/popup-props.d.ts +8 -4
  259. package/vue3/src/components/popup/src/hooks/use-popup-effect.d.ts +1 -1
  260. package/vue3/src/components/popup/src/hooks/use-popup-position.d.ts +1 -1
  261. package/vue3/src/components/popup/src/popup.vue.d.ts +13 -11
  262. package/vue3/src/components/splitter/index.d.ts +87 -0
  263. package/vue3/src/components/splitter/src/inject-key.d.ts +16 -0
  264. package/vue3/src/components/splitter/src/props-define.d.ts +32 -0
  265. package/vue3/src/components/splitter/src/splitter-panel.vue.d.ts +25 -0
  266. package/vue3/src/components/splitter/src/splitter.vue.d.ts +36 -0
  267. package/vue3/src/components/swiper/index.d.ts +212 -2
  268. package/vue3/src/components/table/index.d.ts +62 -11
  269. package/vue3/src/components/table/src/components/table-body-cell/body-cell-tags.vue.d.ts +19 -1
  270. package/vue3/src/components/table/src/components/table-body-cell/use-table-body-cell.d.ts +2 -0
  271. package/vue3/src/components/table/src/components/table-fixed-shadow.vue.d.ts +2 -2
  272. package/vue3/src/components/table/src/components/table-multiple-select/table-row-multiple.vue.d.ts +5 -1
  273. package/vue3/src/components/table/src/components/table-multiple-select/use-table-multiple.d.ts +1 -0
  274. package/vue3/src/components/table/src/components/table-single-select/table-row-single.vue.d.ts +34 -0
  275. package/vue3/src/components/table/src/components/table-single-select/use-table-single.d.ts +7 -0
  276. package/vue3/src/components/table/src/hooks/props-define.d.ts +30 -5
  277. package/vue3/src/components/table/src/hooks/use-table/use-table-request.d.ts +3 -2
  278. package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +2 -1
  279. package/vue3/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +4 -2
  280. package/vue3/src/components/table/src/table-column.vue.d.ts +7 -3
  281. package/vue3/src/components/table/src/table.vue.d.ts +2 -1
  282. package/vue3/src/components/table/src/types/index.d.ts +1 -0
  283. package/vue3/src/components/table-operation/index.d.ts +24 -2
  284. package/vue3/src/components/table-operation/src/props-define.d.ts +7 -0
  285. package/vue3/src/components/table-operation/src/table-operation-item.vue.d.ts +9 -1
  286. package/vue3/src/components/tag/index.d.ts +16 -16
  287. package/vue3/src/components/tag/src/props-define.d.ts +2 -2
  288. package/vue3/src/components/tag/src/tag.vue.d.ts +6 -6
  289. package/vue3/src/components/toast/_component/toast-element.vue.d.ts +1 -1
  290. package/vue3/src/components/tooltip/index.d.ts +30 -30
  291. package/vue3/src/components/tooltip/src/props-define.d.ts +4 -4
  292. package/vue3/src/components/tooltip/src/tooltip.vue.d.ts +11 -11
  293. package/vue3/src/components/tooltip/src/use-tooltip.d.ts +2 -2
  294. package/vue3/src/components/tree/index.d.ts +36 -0
  295. package/vue3/src/components/tree/src/hooks/use-tree.d.ts +25 -0
  296. package/vue3/src/components/tree/src/props-define.d.ts +103 -0
  297. package/vue3/src/components/tree/src/tree-node.vue.d.ts +11 -0
  298. package/vue3/src/components/tree/src/tree.vue.d.ts +36 -0
  299. package/vue3/src/hooks/element/use-breakpoint/index.d.ts +10 -0
  300. package/vue3/src/interface/enum.d.ts +2 -0
  301. package/vue3/src/lang/internal/en.json.d.ts +27 -13
  302. package/vue3/src/lang/internal/index.d.ts +14 -0
  303. package/vue3/src/lang/internal/ja.json.d.ts +27 -13
  304. package/vue3/src/lang/internal/ko.json.d.ts +27 -13
  305. package/vue3/src/lang/internal/ru.json.d.ts +27 -13
  306. package/vue3/src/lang/internal/zh-CN.json.d.ts +28 -14
  307. package/vue3/src/lang/internal/zh-TW.json.d.ts +27 -13
  308. package/vue3/src/vue-utils/render-slot.d.ts +9 -1
  309. package/vue3/src/vue-utils/version-compatible/types.d.ts +9 -0
  310. package/vue2/src/components/image-cropper/src/image-cropper-viewport/image-cropper-viewport.vue.d.ts +0 -6
  311. package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-data.d.ts +0 -9
  312. package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-elem.d.ts +0 -8
  313. package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-options.d.ts +0 -23
  314. package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-within.d.ts +0 -8
  315. package/vue2/src/plugins/cropperjs/index.d.ts +0 -14
  316. package/vue3/src/components/image-cropper/src/image-cropper-viewport/image-cropper-viewport.vue.d.ts +0 -6
  317. package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-data.d.ts +0 -9
  318. package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-elem.d.ts +0 -8
  319. package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-options.d.ts +0 -23
  320. package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-within.d.ts +0 -8
  321. package/vue3/src/plugins/cropperjs/index.d.ts +0 -14
  322. /package/vue2/src/components/{table/src/components/table-body-cell/body-cell-single.vue.d.ts → image-cropper/src/cropper-layer/cropper-layer.vue.d.ts} +0 -0
  323. /package/{vue3/src/components/table/src/components/table-body-cell/body-cell-single.vue.d.ts → vue2/src/components/image-cropper/src/image-layer/image-layer.vue.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { PageContent } from '../../../../hooks/pagination/types';
2
- import { TableCellClassType, TableCellParams, TableCellStyleType, TableRowClassType, TableRowKeyType, TableRowParams, TableRowStyleType, TableSortData } from '../types';
2
+ import { TableCellClassType, TableCellParams, TableCellStyleType, TableRowClassType, TableRowKeyType, TableRowParams, TableRowStyleType, TableRowTooltipFunc, TableSortData } from '../types';
3
3
  import { TableRequestFunction } from './use-table/use-table-request';
4
4
  export declare const tableProps: () => {
5
5
  /**
@@ -265,6 +265,10 @@ export declare const tableColumnProps: () => {
265
265
  * 多选是否禁用
266
266
  */
267
267
  multipleDisabled: import('vue-types').VueTypeValidableDef<(params: TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: TableRowParams) => boolean>>;
268
+ /**
269
+ * 多选禁用时的 tooltip 内容
270
+ */
271
+ multipleDisabledTooltip: import('vue-types').VueTypeValidableDef<TableRowTooltipFunc, import('vue-types/dist/types').ValidatorFunction<TableRowTooltipFunc>>;
268
272
  /**
269
273
  * 单选是否禁用
270
274
  */
@@ -296,7 +300,7 @@ export declare const tableColumnProps: () => {
296
300
  /**
297
301
  * 格式化单元格内容
298
302
  */
299
- formatter: import('vue-types').VueTypeDef<"duration" | "date" | TableColumnFormatterFuncType | TableColumnFormatter>;
303
+ formatter: import('vue-types').VueTypeDef<"duration" | "date" | "fileSize" | TableColumnFormatterFuncType | TableColumnFormatter>;
300
304
  /**
301
305
  * 是否显示展开
302
306
  */
@@ -336,9 +340,18 @@ export declare const tableColumnProps: () => {
336
340
  * 状态圆点
337
341
  */
338
342
  statusDot: import('vue-types').VueTypeDef<string | Record<string, string> | ((cellData: TableCellParams) => string)>;
343
+ /**
344
+ * 显示编辑图标
345
+ */
346
+ showEditIcon: import('vue-types').VueTypeDef<boolean | ((cellData: TableCellParams) => string)>;
347
+ };
348
+ export declare const tableColumnEmits: () => {
349
+ /**
350
+ * 点击编辑图标
351
+ */
352
+ 'click-edit-icon': import('../../../../vue-utils').EmitFuncType<TableCellParams<any, any>>;
339
353
  };
340
- export declare const tableColumnEmits: () => {};
341
- export declare const tableRowMultipleProps: () => {
354
+ export declare const tableRowSelectionProps: () => {
342
355
  /**
343
356
  * 行数据
344
357
  */
@@ -358,7 +371,19 @@ export declare const tableRowMultipleProps: () => {
358
371
  required: true;
359
372
  };
360
373
  };
361
- export type TableColumnFormatterType = 'func' | 'date' | 'duration' | 'enum';
374
+ export declare const tableRowSelectionEmits: () => {
375
+ /**
376
+ * 修改
377
+ */
378
+ change: import('../../../../vue-utils').EmitFuncType<boolean>;
379
+ };
380
+ export interface TableRowSelectionExpose {
381
+ /**
382
+ * 切换选择
383
+ */
384
+ toggleCheck: () => void;
385
+ }
386
+ export type TableColumnFormatterType = 'func' | 'date' | 'duration' | 'enum' | 'fileSize';
362
387
  export type TableColumnFormatterFuncType = (params: TableCellParams) => string;
363
388
  export type TableColumnFormatter = {
364
389
  /**
@@ -23,10 +23,11 @@ export declare const useTableRequest: (options: {
23
23
  }) => Promise<void>;
24
24
  getRequestSort: () => TableSortData | undefined;
25
25
  isRequesting: import('vue').Ref<boolean>;
26
- requestTableData: () => Promise<void>;
26
+ requestTableData: (needLoading?: boolean) => Promise<void>;
27
27
  initRequestData: () => void;
28
+ changeRequestSort: (sort: TableSortData | undefined) => void;
28
29
  };
29
30
  export declare const useTableRequestInject: () => {
30
31
  callbackSearch: () => void;
31
- callbackSort: (sort: TableSortData | undefined) => void;
32
+ changeRequestSort: (sort: TableSortData | undefined) => void;
32
33
  } | undefined;
@@ -48,8 +48,9 @@ export declare const useTable: (options: {
48
48
  }) => Promise<void>;
49
49
  getRequestSort: () => import('../../types').TableSortData | undefined;
50
50
  isRequesting: import('vue').Ref<boolean>;
51
- requestTableData: () => Promise<void>;
51
+ requestTableData: (needLoading?: boolean) => Promise<void>;
52
52
  initRequestData: () => void;
53
+ changeRequestSort: (sort: import('../../types').TableSortData | undefined) => void;
53
54
  hasHorizontalScroll: ComputedRef<boolean>;
54
55
  hasVerticalScroll: ComputedRef<boolean>;
55
56
  wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
@@ -1,5 +1,5 @@
1
- import { VueProps } from '../../../../../vue-utils';
2
- import { tableColumnProps } from '../props-define';
1
+ import { VueEmit, VueProps } from '../../../../../vue-utils';
2
+ import { tableColumnEmits, tableColumnProps } from '../props-define';
3
3
  import { ColumnChildrenInstance } from './use-column-children';
4
4
  import { ColumnIndexInstance } from './use-column-index';
5
5
  import { ColumnSlotInstance } from './use-column-slot';
@@ -13,11 +13,13 @@ export interface TableColumnInstance extends ColumnWidthInstance, ColumnIndexIns
13
13
  getColumnId: () => string;
14
14
  getColumnTitle: () => string;
15
15
  columnProps: VueProps<typeof tableColumnProps>;
16
+ columnEmit: VueEmit<typeof tableColumnEmits>;
16
17
  getModelValue: () => any;
17
18
  updateModelValue: (value: any) => void;
18
19
  }
19
20
  export declare const useTableColumn: (options: {
20
21
  props: VueProps<typeof tableColumnProps>;
22
+ emit: VueEmit<typeof tableColumnEmits>;
21
23
  }) => {
22
24
  getHeaderSlotData: () => import('../props-define').TableColumnHeaderSlotData;
23
25
  getCellSlotData: (params?: import('../props-define').TableColumnCellSlotData) => import('../props-define').TableColumnCellSlotData;
@@ -29,6 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
29
29
  default: number;
30
30
  };
31
31
  multipleDisabled: import('vue-types').VueTypeValidableDef<(params: import('./types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./types').TableRowParams) => boolean>>;
32
+ multipleDisabledTooltip: import('vue-types').VueTypeValidableDef<import('./types').TableRowTooltipFunc, import('vue-types/dist/types').ValidatorFunction<import('./types').TableRowTooltipFunc>>;
32
33
  singleDisabled: import('vue-types').VueTypeValidableDef<(params: import('./types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./types').TableRowParams) => boolean>>;
33
34
  headerTips: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
34
35
  default: string;
@@ -40,7 +41,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
40
41
  ellipsis: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
41
42
  default: boolean;
42
43
  };
43
- formatter: import('vue-types').VueTypeDef<"duration" | "date" | import('./hooks/props-define').TableColumnFormatterFuncType | import('./hooks/props-define').TableColumnFormatter>;
44
+ formatter: import('vue-types').VueTypeDef<"duration" | "date" | "fileSize" | import('./hooks/props-define').TableColumnFormatterFuncType | import('./hooks/props-define').TableColumnFormatter>;
44
45
  showExpand: import('vue-types').VueTypeValidableDef<(params: import('./types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./types').TableRowParams) => boolean>>;
45
46
  emptyText: import('vue-types').VueTypeDef<string | boolean> & {
46
47
  default: string | boolean;
@@ -56,8 +57,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
56
57
  default: boolean;
57
58
  };
58
59
  statusDot: import('vue-types').VueTypeDef<string | Record<string, string> | ((cellData: import('./types').TableCellParams) => string)>;
60
+ showEditIcon: import('vue-types').VueTypeDef<boolean | ((cellData: import('./types').TableCellParams) => string)>;
59
61
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
60
- [x: string]: (...args: any[]) => void;
62
+ "click-edit-icon": (arg: import('./types').TableCellParams<any, any>) => void;
61
63
  }, string, Readonly<import('vue').ExtractPropTypes<{
62
64
  "v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
63
65
  type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "expand" | "multiple" | "phone">;
@@ -70,6 +72,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
70
72
  default: number;
71
73
  };
72
74
  multipleDisabled: import('vue-types').VueTypeValidableDef<(params: import('./types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./types').TableRowParams) => boolean>>;
75
+ multipleDisabledTooltip: import('vue-types').VueTypeValidableDef<import('./types').TableRowTooltipFunc, import('vue-types/dist/types').ValidatorFunction<import('./types').TableRowTooltipFunc>>;
73
76
  singleDisabled: import('vue-types').VueTypeValidableDef<(params: import('./types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./types').TableRowParams) => boolean>>;
74
77
  headerTips: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
75
78
  default: string;
@@ -81,7 +84,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
81
84
  ellipsis: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
82
85
  default: boolean;
83
86
  };
84
- formatter: import('vue-types').VueTypeDef<"duration" | "date" | import('./hooks/props-define').TableColumnFormatterFuncType | import('./hooks/props-define').TableColumnFormatter>;
87
+ formatter: import('vue-types').VueTypeDef<"duration" | "date" | "fileSize" | import('./hooks/props-define').TableColumnFormatterFuncType | import('./hooks/props-define').TableColumnFormatter>;
85
88
  showExpand: import('vue-types').VueTypeValidableDef<(params: import('./types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./types').TableRowParams) => boolean>>;
86
89
  emptyText: import('vue-types').VueTypeDef<string | boolean> & {
87
90
  default: string | boolean;
@@ -97,6 +100,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
97
100
  default: boolean;
98
101
  };
99
102
  statusDot: import('vue-types').VueTypeDef<string | Record<string, string> | ((cellData: import('./types').TableCellParams) => string)>;
103
+ showEditIcon: import('vue-types').VueTypeDef<boolean | ((cellData: import('./types').TableCellParams) => string)>;
100
104
  }>>, {
101
105
  ellipsis: boolean;
102
106
  emptyText: string | boolean;
@@ -112,10 +112,11 @@ declare const __VLS_component: import('vue').DefineComponent<{
112
112
  default: "none" | "count" | "selection";
113
113
  };
114
114
  }, {
115
- requestTableData: () => Promise<void>;
115
+ requestTableData: (needLoading?: boolean) => Promise<void>;
116
116
  initRequestData: () => void;
117
117
  openCustomColumn: () => Promise<void>;
118
118
  getRenderColumnData: typeof getRenderColumnData;
119
+ changeRequestSort: (sort: import('./types').TableSortData | undefined) => void;
119
120
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
120
121
  "page-change": (arg: import('../../..').PageContent<unknown>) => void;
121
122
  "sort-change": (arg: import('./types').TableSortData | undefined) => void;
@@ -29,6 +29,7 @@ export type TableRowClassFunc<RowData extends object = any> = (rowParams: TableR
29
29
  export type TableRowClassType = string | string[] | TableRowClassFunc;
30
30
  export type TableRowStyleFunc<RowData extends object = any> = (rowParams: TableRowParams<RowData>) => CSSProperties | void;
31
31
  export type TableRowStyleType = CSSProperties | TableRowStyleFunc;
32
+ export type TableRowTooltipFunc<RowData extends object = any> = (rowParams: TableRowParams<RowData>) => string | undefined | void;
32
33
  /**
33
34
  * 表格单元格数据
34
35
  */
@@ -11,21 +11,43 @@ export declare const PwcTableOperation: import('../../vue-utils/install-utils').
11
11
  }>, import('../../vue-utils/install-utils').InstallOptions>;
12
12
  export declare const PwcTableOperationItem: 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<{
13
13
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
14
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
15
+ default: boolean;
16
+ };
14
17
  }>>, Readonly<import('vue').ExtractPropTypes<{
15
18
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
19
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
20
+ default: boolean;
21
+ };
16
22
  }>>, {
17
23
  click: (arg: MouseEvent) => void;
18
- }, {}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
24
+ }, {
25
+ disabled: boolean;
26
+ }, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
19
27
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
28
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
29
+ default: boolean;
30
+ };
20
31
  }>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
21
32
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
33
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
34
+ default: boolean;
35
+ };
22
36
  }>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
23
37
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
38
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
39
+ default: boolean;
40
+ };
24
41
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
42
  click: (arg: MouseEvent) => void;
26
- }, string, {}> & {
43
+ }, string, {
44
+ disabled: boolean;
45
+ }> & {
27
46
  props: {
28
47
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
48
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
49
+ default: boolean;
50
+ };
29
51
  };
30
52
  } & (new () => {
31
53
  $scopedSlots: {
@@ -12,6 +12,13 @@ export declare const tableOperationItemProps: () => {
12
12
  * 标签
13
13
  */
14
14
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
15
+ /**
16
+ * 是否禁用
17
+ * @default false
18
+ */
19
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
20
+ default: boolean;
21
+ };
15
22
  };
16
23
  export declare const tableOperationItemEmit: () => {
17
24
  /**
@@ -10,11 +10,19 @@ declare function __VLS_template(): {
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<{
12
12
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
13
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
14
+ default: boolean;
15
+ };
13
16
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
17
  click: (arg: MouseEvent) => void;
15
18
  }, string, Readonly<import('vue').ExtractPropTypes<{
16
19
  label: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
17
- }>>, {}>;
20
+ disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
21
+ default: boolean;
22
+ };
23
+ }>>, {
24
+ disabled: boolean;
25
+ }>;
18
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
27
  export default _default;
20
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  export declare const PwcTag: 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
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
3
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
2
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
3
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
4
4
  };
5
5
  size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
6
6
  default: "default" | "small" | "mini";
@@ -9,8 +9,8 @@ export declare const PwcTag: import('../../vue-utils/install-utils').SFCInstall<
9
9
  default: "fill" | "outline" | "plain" | "transparent";
10
10
  };
11
11
  }>>, Readonly<import('vue').ExtractPropTypes<{
12
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
13
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
12
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
13
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
14
14
  };
15
15
  size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
16
16
  default: "default" | "small" | "mini";
@@ -19,12 +19,12 @@ export declare const PwcTag: import('../../vue-utils/install-utils').SFCInstall<
19
19
  default: "fill" | "outline" | "plain" | "transparent";
20
20
  };
21
21
  }>>, {}, {
22
- type: "success" | "warning" | "info" | "error" | "primary" | "tips";
23
- size: "default" | "small" | "mini";
24
22
  effect: "fill" | "outline" | "plain" | "transparent";
23
+ type: "error" | "success" | "warning" | "info" | "primary" | "tips";
24
+ size: "default" | "small" | "mini";
25
25
  }, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
26
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
27
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
26
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
27
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
28
28
  };
29
29
  size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
30
30
  default: "default" | "small" | "mini";
@@ -33,8 +33,8 @@ export declare const PwcTag: import('../../vue-utils/install-utils').SFCInstall<
33
33
  default: "fill" | "outline" | "plain" | "transparent";
34
34
  };
35
35
  }>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
36
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
37
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
36
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
37
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
38
38
  };
39
39
  size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
40
40
  default: "default" | "small" | "mini";
@@ -43,8 +43,8 @@ export declare const PwcTag: import('../../vue-utils/install-utils').SFCInstall<
43
43
  default: "fill" | "outline" | "plain" | "transparent";
44
44
  };
45
45
  }>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
46
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
47
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
46
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
47
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
48
48
  };
49
49
  size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
50
50
  default: "default" | "small" | "mini";
@@ -53,13 +53,13 @@ export declare const PwcTag: import('../../vue-utils/install-utils').SFCInstall<
53
53
  default: "fill" | "outline" | "plain" | "transparent";
54
54
  };
55
55
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
56
- type: "success" | "warning" | "info" | "error" | "primary" | "tips";
57
- size: "default" | "small" | "mini";
58
56
  effect: "fill" | "outline" | "plain" | "transparent";
57
+ type: "error" | "success" | "warning" | "info" | "primary" | "tips";
58
+ size: "default" | "small" | "mini";
59
59
  }> & {
60
60
  props: {
61
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
62
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
61
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
62
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
63
63
  };
64
64
  size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
65
65
  default: "default" | "small" | "mini";
@@ -11,8 +11,8 @@ export declare const tagProps: () => {
11
11
  * @propType TagType
12
12
  * @default 'primary'
13
13
  */
14
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
15
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
14
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
15
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
16
16
  };
17
17
  /**
18
18
  * 标签尺寸
@@ -10,8 +10,8 @@ declare function __VLS_template(): {
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
12
  declare const __VLS_component: import('vue').DefineComponent<{
13
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
14
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
13
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
14
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
15
15
  };
16
16
  size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
17
17
  default: "default" | "small" | "mini";
@@ -20,8 +20,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
20
20
  default: "fill" | "outline" | "plain" | "transparent";
21
21
  };
22
22
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
23
- type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
24
- default: "success" | "warning" | "info" | "error" | "primary" | "tips";
23
+ type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "info" | "primary" | "tips"> & {
24
+ default: "error" | "success" | "warning" | "info" | "primary" | "tips";
25
25
  };
26
26
  size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
27
27
  default: "default" | "small" | "mini";
@@ -30,9 +30,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
30
30
  default: "fill" | "outline" | "plain" | "transparent";
31
31
  };
32
32
  }>>, {
33
- type: "success" | "warning" | "info" | "error" | "primary" | "tips";
34
- size: "default" | "small" | "mini";
35
33
  effect: "fill" | "outline" | "plain" | "transparent";
34
+ type: "error" | "success" | "warning" | "info" | "primary" | "tips";
35
+ size: "default" | "small" | "mini";
36
36
  }>;
37
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
38
  export default _default;
@@ -48,8 +48,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
48
48
  }>>, {
49
49
  "v-model-key": boolean;
50
50
  type: ToastType;
51
- message: string;
52
51
  duration: number;
52
+ message: string;
53
53
  showIcon: boolean;
54
54
  }>;
55
55
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -2,8 +2,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
2
2
  content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
3
3
  default: string;
4
4
  };
5
- 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"> & {
6
- default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
5
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
6
+ default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
7
7
  };
8
8
  effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
9
9
  default: "light" | "dark" | "auto";
@@ -20,15 +20,15 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
20
20
  popperOffset: import('vue-types').VueTypeDef<import('../..').PopperOffset> & {
21
21
  default: () => import('../..').PopperOffset;
22
22
  };
23
- trigger: import('vue-types').VueTypeDef<"click" | "focus" | "custom" | "hover" | "long-press"> & {
24
- default: "click" | "focus" | "custom" | "hover" | "long-press";
23
+ trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
24
+ default: "click" | "hover" | "focus" | "long-press" | "custom";
25
25
  };
26
26
  }>>, Readonly<import('vue').ExtractPropTypes<{
27
27
  content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
28
28
  default: string;
29
29
  };
30
- 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"> & {
31
- default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
30
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
31
+ default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
32
32
  };
33
33
  effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
34
34
  default: "light" | "dark" | "auto";
@@ -45,24 +45,24 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
45
45
  popperOffset: import('vue-types').VueTypeDef<import('../..').PopperOffset> & {
46
46
  default: () => import('../..').PopperOffset;
47
47
  };
48
- trigger: import('vue-types').VueTypeDef<"click" | "focus" | "custom" | "hover" | "long-press"> & {
49
- default: "click" | "focus" | "custom" | "hover" | "long-press";
48
+ trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
49
+ default: "click" | "hover" | "focus" | "long-press" | "custom";
50
50
  };
51
51
  }>>, {}, {
52
- disabled: boolean;
53
52
  effect: "light" | "dark" | "auto";
53
+ placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
54
54
  content: string;
55
- trigger: "click" | "focus" | "custom" | "hover" | "long-press";
56
- placement: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
55
+ disabled: boolean;
57
56
  tooltipClass: string;
58
57
  onlyTextEllipsis: boolean;
59
58
  popperOffset: import('../..').PopperOffset;
59
+ trigger: "click" | "hover" | "focus" | "long-press" | "custom";
60
60
  }, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
61
61
  content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
62
62
  default: string;
63
63
  };
64
- 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"> & {
65
- default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
64
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
65
+ default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
66
66
  };
67
67
  effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
68
68
  default: "light" | "dark" | "auto";
@@ -79,8 +79,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
79
79
  popperOffset: import('vue-types').VueTypeDef<import('../..').PopperOffset> & {
80
80
  default: () => import('../..').PopperOffset;
81
81
  };
82
- trigger: import('vue-types').VueTypeDef<"click" | "focus" | "custom" | "hover" | "long-press"> & {
83
- default: "click" | "focus" | "custom" | "hover" | "long-press";
82
+ trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
83
+ default: "click" | "hover" | "focus" | "long-press" | "custom";
84
84
  };
85
85
  }>>> & import('vue').ShallowUnwrapRef<{
86
86
  hidePopper: () => void;
@@ -88,8 +88,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
88
88
  content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
89
89
  default: string;
90
90
  };
91
- 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"> & {
92
- default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
91
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
92
+ default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
93
93
  };
94
94
  effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
95
95
  default: "light" | "dark" | "auto";
@@ -106,15 +106,15 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
106
106
  popperOffset: import('vue-types').VueTypeDef<import('../..').PopperOffset> & {
107
107
  default: () => import('../..').PopperOffset;
108
108
  };
109
- trigger: import('vue-types').VueTypeDef<"click" | "focus" | "custom" | "hover" | "long-press"> & {
110
- default: "click" | "focus" | "custom" | "hover" | "long-press";
109
+ trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
110
+ default: "click" | "hover" | "focus" | "long-press" | "custom";
111
111
  };
112
112
  }>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
113
113
  content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
114
114
  default: string;
115
115
  };
116
- 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"> & {
117
- default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
116
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
117
+ default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
118
118
  };
119
119
  effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
120
120
  default: "light" | "dark" | "auto";
@@ -131,27 +131,27 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
131
131
  popperOffset: import('vue-types').VueTypeDef<import('../..').PopperOffset> & {
132
132
  default: () => import('../..').PopperOffset;
133
133
  };
134
- trigger: import('vue-types').VueTypeDef<"click" | "focus" | "custom" | "hover" | "long-press"> & {
135
- default: "click" | "focus" | "custom" | "hover" | "long-press";
134
+ trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
135
+ default: "click" | "hover" | "focus" | "long-press" | "custom";
136
136
  };
137
137
  }>>, {
138
138
  hidePopper: () => void;
139
139
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
140
- disabled: boolean;
141
140
  effect: "light" | "dark" | "auto";
141
+ placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
142
142
  content: string;
143
- trigger: "click" | "focus" | "custom" | "hover" | "long-press";
144
- placement: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
143
+ disabled: boolean;
145
144
  tooltipClass: string;
146
145
  onlyTextEllipsis: boolean;
147
146
  popperOffset: import('../..').PopperOffset;
147
+ trigger: "click" | "hover" | "focus" | "long-press" | "custom";
148
148
  }> & {
149
149
  props: {
150
150
  content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
151
151
  default: string;
152
152
  };
153
- 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"> & {
154
- default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
153
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
154
+ default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
155
155
  };
156
156
  effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
157
157
  default: "light" | "dark" | "auto";
@@ -168,8 +168,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
168
168
  popperOffset: import('vue-types').VueTypeDef<import('../..').PopperOffset> & {
169
169
  default: () => import('../..').PopperOffset;
170
170
  };
171
- trigger: import('vue-types').VueTypeDef<"click" | "focus" | "custom" | "hover" | "long-press"> & {
172
- default: "click" | "focus" | "custom" | "hover" | "long-press";
171
+ trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
172
+ default: "click" | "hover" | "focus" | "long-press" | "custom";
173
173
  };
174
174
  };
175
175
  } & (new () => {
@@ -14,8 +14,8 @@ export declare const tooltipProps: () => {
14
14
  * @propType PopperPlacement
15
15
  * @default bottom
16
16
  */
17
- 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"> & {
18
- default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
17
+ placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
18
+ default: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
19
19
  };
20
20
  /**
21
21
  * 弹层主题
@@ -55,8 +55,8 @@ export declare const tooltipProps: () => {
55
55
  * @propType PopperTrigger
56
56
  * @default hover
57
57
  */
58
- trigger: import('vue-types').VueTypeDef<"click" | "focus" | "custom" | "hover" | "long-press"> & {
59
- default: "click" | "focus" | "custom" | "hover" | "long-press";
58
+ trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
59
+ default: "click" | "hover" | "focus" | "long-press" | "custom";
60
60
  };
61
61
  };
62
62
  export type TooltipOptions = FormatProps<typeof tooltipProps> & {