@cuvp1225/antd 0.1.19-beta.46 → 0.1.19-beta.47

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 (393) hide show
  1. package/dist/designer.js +955 -68
  2. package/dist/index.js +955 -68
  3. package/lib/cjs/components/affix.d.ts +1 -1
  4. package/lib/cjs/components/affix.js +2 -2
  5. package/lib/cjs/components/alert.d.ts +1 -1
  6. package/lib/cjs/components/alert.js +4 -4
  7. package/lib/cjs/components/auto-complete.d.ts +1 -1
  8. package/lib/cjs/components/auto-complete.js +4 -4
  9. package/lib/cjs/components/avatar.d.ts +1 -1
  10. package/lib/cjs/components/avatar.js +4 -4
  11. package/lib/cjs/components/badge.d.ts +1 -1
  12. package/lib/cjs/components/badge.js +4 -4
  13. package/lib/cjs/components/box.d.ts +1 -1
  14. package/lib/cjs/components/box.js +2 -2
  15. package/lib/cjs/components/button.d.ts +2 -2
  16. package/lib/cjs/components/button.js +3 -3
  17. package/lib/cjs/components/calendar.d.ts +1 -1
  18. package/lib/cjs/components/calendar.js +4 -4
  19. package/lib/cjs/components/card.d.ts +1 -1
  20. package/lib/cjs/components/card.js +4 -4
  21. package/lib/cjs/components/cascader.d.ts +2 -2
  22. package/lib/cjs/components/cascader.js +2 -2
  23. package/lib/cjs/components/checkbox.d.ts +1 -1
  24. package/lib/cjs/components/checkbox.js +4 -4
  25. package/lib/cjs/components/columns.d.ts +2 -2
  26. package/lib/cjs/components/columns.js +3 -3
  27. package/lib/cjs/components/comment.d.ts +1 -1
  28. package/lib/cjs/components/comment.js +5 -4
  29. package/lib/cjs/components/date-picker.d.ts +1 -1
  30. package/lib/cjs/components/date-picker.js +4 -4
  31. package/lib/cjs/components/divider.d.ts +1 -1
  32. package/lib/cjs/components/divider.js +4 -4
  33. package/lib/cjs/components/drawer.d.ts +1 -1
  34. package/lib/cjs/components/drawer.js +2 -2
  35. package/lib/cjs/components/each.d.ts +1 -1
  36. package/lib/cjs/components/each.js +2 -2
  37. package/lib/cjs/components/empty.d.ts +1 -1
  38. package/lib/cjs/components/empty.js +4 -4
  39. package/lib/cjs/components/form.d.ts +4 -4
  40. package/lib/cjs/components/form.js +5 -5
  41. package/lib/cjs/components/formily.d.ts +4 -4
  42. package/lib/cjs/components/formily.js +6 -6
  43. package/lib/cjs/components/icon.d.ts +1 -1
  44. package/lib/cjs/components/icon.js +2 -2
  45. package/lib/cjs/components/image.d.ts +1 -1
  46. package/lib/cjs/components/image.js +4 -4
  47. package/lib/cjs/components/input-number.d.ts +1 -1
  48. package/lib/cjs/components/input-number.js +2 -2
  49. package/lib/cjs/components/input.d.ts +2 -2
  50. package/lib/cjs/components/input.js +3 -3
  51. package/lib/cjs/components/list.d.ts +2 -2
  52. package/lib/cjs/components/list.js +3 -3
  53. package/lib/cjs/components/mentions.d.ts +1 -1
  54. package/lib/cjs/components/mentions.js +4 -4
  55. package/lib/cjs/components/menu.d.ts +2 -2
  56. package/lib/cjs/components/menu.js +3 -3
  57. package/lib/cjs/components/modal.d.ts +1 -1
  58. package/lib/cjs/components/modal.js +2 -2
  59. package/lib/cjs/components/page.d.ts +1 -1
  60. package/lib/cjs/components/page.js +2 -2
  61. package/lib/cjs/components/pageheader.d.ts +1 -1
  62. package/lib/cjs/components/pageheader.js +4 -4
  63. package/lib/cjs/components/pagination.d.ts +1 -1
  64. package/lib/cjs/components/pagination.js +4 -4
  65. package/lib/cjs/components/progress.d.ts +1 -1
  66. package/lib/cjs/components/progress.js +4 -4
  67. package/lib/cjs/components/radio.d.ts +1 -1
  68. package/lib/cjs/components/radio.js +4 -4
  69. package/lib/cjs/components/rate.d.ts +1 -1
  70. package/lib/cjs/components/rate.js +4 -4
  71. package/lib/cjs/components/result.d.ts +1 -1
  72. package/lib/cjs/components/result.js +4 -4
  73. package/lib/cjs/components/result1.js +2 -2
  74. package/lib/cjs/components/row-back.d.ts +1 -1
  75. package/lib/cjs/components/row-back.js +6 -6
  76. package/lib/cjs/components/row.d.ts +1 -1
  77. package/lib/cjs/components/row.js +2 -2
  78. package/lib/cjs/components/section.d.ts +1 -1
  79. package/lib/cjs/components/section.js +2 -2
  80. package/lib/cjs/components/select.d.ts +1 -1
  81. package/lib/cjs/components/select.js +2 -2
  82. package/lib/cjs/components/skeleton.d.ts +1 -1
  83. package/lib/cjs/components/skeleton.js +4 -4
  84. package/lib/cjs/components/slider.d.ts +1 -1
  85. package/lib/cjs/components/slider.js +4 -4
  86. package/lib/cjs/components/space.d.ts +1 -1
  87. package/lib/cjs/components/space.js +2 -2
  88. package/lib/cjs/components/spin.d.ts +1 -1
  89. package/lib/cjs/components/spin.js +4 -4
  90. package/lib/cjs/components/statistic.js +3 -3
  91. package/lib/cjs/components/switch.d.ts +1 -1
  92. package/lib/cjs/components/switch.js +4 -4
  93. package/lib/cjs/components/table.d.ts +1 -1
  94. package/lib/cjs/components/table.js +4 -4
  95. package/lib/cjs/components/tabs.d.ts +1 -1
  96. package/lib/cjs/components/tabs.js +4 -4
  97. package/lib/cjs/components/tag.d.ts +1 -1
  98. package/lib/cjs/components/tag.js +4 -4
  99. package/lib/cjs/components/tango-event-button.d.ts +1 -1
  100. package/lib/cjs/components/tango-event-button.js +2 -2
  101. package/lib/cjs/components/time-picker.d.ts +1 -1
  102. package/lib/cjs/components/time-picker.js +4 -4
  103. package/lib/cjs/components/timeline.d.ts +2 -2
  104. package/lib/cjs/components/timeline.js +3 -3
  105. package/lib/cjs/components/transfer.d.ts +1 -1
  106. package/lib/cjs/components/transfer.js +4 -4
  107. package/lib/cjs/components/tree-select.d.ts +1 -1
  108. package/lib/cjs/components/tree-select.js +4 -4
  109. package/lib/cjs/components/tree.d.ts +1 -1
  110. package/lib/cjs/components/tree.js +4 -4
  111. package/lib/cjs/components/typography.d.ts +3 -3
  112. package/lib/cjs/components/typography.js +5 -5
  113. package/lib/cjs/components/unSteps/unisteps.js +17 -17
  114. package/lib/cjs/components/uniButton/unibutton.js +16 -13
  115. package/lib/cjs/components/uniCascader/unicascader.js +12 -12
  116. package/lib/cjs/components/uniModal/unimodal.js +4 -4
  117. package/lib/cjs/components/uniRadio/uniradio.js +22 -22
  118. package/lib/cjs/components/uniSelect/uniselect.js +9 -9
  119. package/lib/cjs/components/uniSwitch/uniswitch.js +4 -4
  120. package/lib/cjs/components/uniTabs/unitabs.js +13 -13
  121. package/lib/cjs/components/uniUpload/uniupload.js +5 -5
  122. package/lib/cjs/helpers/prototype-helper.d.ts +3 -3
  123. package/lib/cjs/prototypes/affix.d.ts +1 -1
  124. package/lib/cjs/prototypes/alert.d.ts +1 -1
  125. package/lib/cjs/prototypes/anchor.d.ts +1 -1
  126. package/lib/cjs/prototypes/auto-complete.d.ts +1 -1
  127. package/lib/cjs/prototypes/avatar.d.ts +1 -1
  128. package/lib/cjs/prototypes/back-top.d.ts +1 -1
  129. package/lib/cjs/prototypes/badge.d.ts +1 -1
  130. package/lib/cjs/prototypes/box.d.ts +1 -1
  131. package/lib/cjs/prototypes/breadcrumb.d.ts +1 -1
  132. package/lib/cjs/prototypes/button.d.ts +1 -1
  133. package/lib/cjs/prototypes/calendar.d.ts +1 -1
  134. package/lib/cjs/prototypes/card.d.ts +1 -1
  135. package/lib/cjs/prototypes/carousel.d.ts +1 -1
  136. package/lib/cjs/prototypes/cascader.d.ts +1 -1
  137. package/lib/cjs/prototypes/checkbox.d.ts +1 -1
  138. package/lib/cjs/prototypes/collapse.d.ts +1 -1
  139. package/lib/cjs/prototypes/columns.d.ts +1 -1
  140. package/lib/cjs/prototypes/comment.d.ts +1 -1
  141. package/lib/cjs/prototypes/common.d.ts +1 -1
  142. package/lib/cjs/prototypes/date-picker.d.ts +3 -3
  143. package/lib/cjs/prototypes/descriptions.d.ts +2 -2
  144. package/lib/cjs/prototypes/divider.d.ts +1 -1
  145. package/lib/cjs/prototypes/drawer.d.ts +1 -1
  146. package/lib/cjs/prototypes/dropdown.d.ts +1 -1
  147. package/lib/cjs/prototypes/each.d.ts +1 -1
  148. package/lib/cjs/prototypes/empty.d.ts +1 -1
  149. package/lib/cjs/prototypes/form.d.ts +1 -1
  150. package/lib/cjs/prototypes/formily.d.ts +1 -1
  151. package/lib/cjs/prototypes/grid.d.ts +1 -1
  152. package/lib/cjs/prototypes/icon.d.ts +1 -1
  153. package/lib/cjs/prototypes/iframe.d.ts +1 -1
  154. package/lib/cjs/prototypes/image.d.ts +1 -1
  155. package/lib/cjs/prototypes/input-number.d.ts +1 -1
  156. package/lib/cjs/prototypes/input.d.ts +1 -1
  157. package/lib/cjs/prototypes/interval.d.ts +1 -1
  158. package/lib/cjs/prototypes/link.d.ts +1 -1
  159. package/lib/cjs/prototypes/list.d.ts +1 -1
  160. package/lib/cjs/prototypes/mentions.d.ts +1 -1
  161. package/lib/cjs/prototypes/menu.d.ts +1 -1
  162. package/lib/cjs/prototypes/modal.d.ts +1 -1
  163. package/lib/cjs/prototypes/page-header.d.ts +1 -1
  164. package/lib/cjs/prototypes/page.d.ts +1 -1
  165. package/lib/cjs/prototypes/pagination.d.ts +1 -1
  166. package/lib/cjs/prototypes/popconfirm.d.ts +1 -1
  167. package/lib/cjs/prototypes/popover.d.ts +1 -1
  168. package/lib/cjs/prototypes/progress.d.ts +1 -1
  169. package/lib/cjs/prototypes/radio.d.ts +1 -1
  170. package/lib/cjs/prototypes/rate.d.ts +1 -1
  171. package/lib/cjs/prototypes/result.d.ts +1 -1
  172. package/lib/cjs/prototypes/row.d.ts +1 -1
  173. package/lib/cjs/prototypes/section.d.ts +1 -1
  174. package/lib/cjs/prototypes/select.d.ts +1 -1
  175. package/lib/cjs/prototypes/skeleton.d.ts +1 -1
  176. package/lib/cjs/prototypes/slider.d.ts +1 -1
  177. package/lib/cjs/prototypes/space.d.ts +1 -1
  178. package/lib/cjs/prototypes/spin.d.ts +1 -1
  179. package/lib/cjs/prototypes/statistic.d.ts +1 -1
  180. package/lib/cjs/prototypes/steps.d.ts +1 -1
  181. package/lib/cjs/prototypes/switch.d.ts +1 -1
  182. package/lib/cjs/prototypes/table.d.ts +1 -1
  183. package/lib/cjs/prototypes/tabs.d.ts +1 -1
  184. package/lib/cjs/prototypes/tag.d.ts +1 -1
  185. package/lib/cjs/prototypes/text.d.ts +1 -1
  186. package/lib/cjs/prototypes/time-picker.d.ts +3 -3
  187. package/lib/cjs/prototypes/timeline.d.ts +1 -1
  188. package/lib/cjs/prototypes/timeline.js +3 -3
  189. package/lib/cjs/prototypes/toolbar.d.ts +1 -1
  190. package/lib/cjs/prototypes/tooltip.d.ts +1 -1
  191. package/lib/cjs/prototypes/transfer.d.ts +1 -1
  192. package/lib/cjs/prototypes/tree-select.d.ts +1 -1
  193. package/lib/cjs/prototypes/tree.d.ts +1 -1
  194. package/lib/cjs/prototypes/typography.d.ts +1 -1
  195. package/lib/cjs/prototypes/unitabs.d.ts +1 -1
  196. package/lib/cjs/prototypes/upload.d.ts +1 -1
  197. package/lib/cjs/prototypes/when.d.ts +1 -1
  198. package/lib/esm/components/affix.d.ts +1 -1
  199. package/lib/esm/components/affix.js +1 -1
  200. package/lib/esm/components/alert.d.ts +1 -1
  201. package/lib/esm/components/alert.js +2 -2
  202. package/lib/esm/components/auto-complete.d.ts +1 -1
  203. package/lib/esm/components/auto-complete.js +2 -2
  204. package/lib/esm/components/avatar.d.ts +1 -1
  205. package/lib/esm/components/avatar.js +2 -2
  206. package/lib/esm/components/badge.d.ts +1 -1
  207. package/lib/esm/components/badge.js +2 -2
  208. package/lib/esm/components/box.d.ts +1 -1
  209. package/lib/esm/components/box.js +1 -1
  210. package/lib/esm/components/button.d.ts +2 -2
  211. package/lib/esm/components/button.js +1 -1
  212. package/lib/esm/components/calendar.d.ts +1 -1
  213. package/lib/esm/components/calendar.js +2 -2
  214. package/lib/esm/components/card.d.ts +1 -1
  215. package/lib/esm/components/card.js +2 -2
  216. package/lib/esm/components/cascader.d.ts +2 -2
  217. package/lib/esm/components/cascader.js +1 -1
  218. package/lib/esm/components/checkbox.d.ts +1 -1
  219. package/lib/esm/components/checkbox.js +2 -2
  220. package/lib/esm/components/columns.d.ts +2 -2
  221. package/lib/esm/components/columns.js +1 -1
  222. package/lib/esm/components/comment.d.ts +1 -1
  223. package/lib/esm/components/comment.js +3 -2
  224. package/lib/esm/components/date-picker.d.ts +1 -1
  225. package/lib/esm/components/date-picker.js +2 -2
  226. package/lib/esm/components/divider.d.ts +1 -1
  227. package/lib/esm/components/divider.js +2 -2
  228. package/lib/esm/components/drawer.d.ts +1 -1
  229. package/lib/esm/components/drawer.js +1 -1
  230. package/lib/esm/components/each.d.ts +1 -1
  231. package/lib/esm/components/each.js +1 -1
  232. package/lib/esm/components/empty.d.ts +1 -1
  233. package/lib/esm/components/empty.js +2 -2
  234. package/lib/esm/components/form.d.ts +4 -4
  235. package/lib/esm/components/form.js +1 -1
  236. package/lib/esm/components/formily.d.ts +4 -4
  237. package/lib/esm/components/formily.js +1 -1
  238. package/lib/esm/components/icon.d.ts +1 -1
  239. package/lib/esm/components/icon.js +1 -1
  240. package/lib/esm/components/image.d.ts +1 -1
  241. package/lib/esm/components/image.js +2 -2
  242. package/lib/esm/components/input-number.d.ts +1 -1
  243. package/lib/esm/components/input-number.js +1 -1
  244. package/lib/esm/components/input.d.ts +2 -2
  245. package/lib/esm/components/input.js +1 -1
  246. package/lib/esm/components/list.d.ts +2 -2
  247. package/lib/esm/components/list.js +1 -1
  248. package/lib/esm/components/mentions.d.ts +1 -1
  249. package/lib/esm/components/mentions.js +2 -2
  250. package/lib/esm/components/menu.d.ts +2 -2
  251. package/lib/esm/components/menu.js +1 -1
  252. package/lib/esm/components/modal.d.ts +1 -1
  253. package/lib/esm/components/modal.js +1 -1
  254. package/lib/esm/components/page.d.ts +1 -1
  255. package/lib/esm/components/page.js +1 -1
  256. package/lib/esm/components/pageheader.d.ts +1 -1
  257. package/lib/esm/components/pageheader.js +2 -2
  258. package/lib/esm/components/pagination.d.ts +1 -1
  259. package/lib/esm/components/pagination.js +2 -2
  260. package/lib/esm/components/progress.d.ts +1 -1
  261. package/lib/esm/components/progress.js +2 -2
  262. package/lib/esm/components/radio.d.ts +1 -1
  263. package/lib/esm/components/radio.js +2 -2
  264. package/lib/esm/components/rate.d.ts +1 -1
  265. package/lib/esm/components/rate.js +2 -2
  266. package/lib/esm/components/result.d.ts +1 -1
  267. package/lib/esm/components/result.js +2 -2
  268. package/lib/esm/components/result1.js +1 -1
  269. package/lib/esm/components/row-back.d.ts +1 -1
  270. package/lib/esm/components/row-back.js +2 -2
  271. package/lib/esm/components/row.d.ts +1 -1
  272. package/lib/esm/components/row.js +1 -1
  273. package/lib/esm/components/section.d.ts +1 -1
  274. package/lib/esm/components/section.js +1 -1
  275. package/lib/esm/components/select.d.ts +1 -1
  276. package/lib/esm/components/select.js +1 -1
  277. package/lib/esm/components/skeleton.d.ts +1 -1
  278. package/lib/esm/components/skeleton.js +2 -2
  279. package/lib/esm/components/slider.d.ts +1 -1
  280. package/lib/esm/components/slider.js +2 -2
  281. package/lib/esm/components/space.d.ts +1 -1
  282. package/lib/esm/components/space.js +1 -1
  283. package/lib/esm/components/spin.d.ts +1 -1
  284. package/lib/esm/components/spin.js +2 -2
  285. package/lib/esm/components/statistic.js +2 -2
  286. package/lib/esm/components/switch.d.ts +1 -1
  287. package/lib/esm/components/switch.js +2 -2
  288. package/lib/esm/components/table.d.ts +1 -1
  289. package/lib/esm/components/table.js +2 -2
  290. package/lib/esm/components/tabs.d.ts +1 -1
  291. package/lib/esm/components/tabs.js +2 -2
  292. package/lib/esm/components/tag.d.ts +1 -1
  293. package/lib/esm/components/tag.js +2 -2
  294. package/lib/esm/components/tango-event-button.d.ts +1 -1
  295. package/lib/esm/components/tango-event-button.js +1 -1
  296. package/lib/esm/components/time-picker.d.ts +1 -1
  297. package/lib/esm/components/time-picker.js +2 -2
  298. package/lib/esm/components/timeline.d.ts +2 -2
  299. package/lib/esm/components/timeline.js +1 -1
  300. package/lib/esm/components/transfer.d.ts +1 -1
  301. package/lib/esm/components/transfer.js +2 -2
  302. package/lib/esm/components/tree-select.d.ts +1 -1
  303. package/lib/esm/components/tree-select.js +2 -2
  304. package/lib/esm/components/tree.d.ts +1 -1
  305. package/lib/esm/components/tree.js +2 -2
  306. package/lib/esm/components/typography.d.ts +3 -3
  307. package/lib/esm/components/typography.js +1 -1
  308. package/lib/esm/components/unSteps/unisteps.js +17 -17
  309. package/lib/esm/components/uniButton/unibutton.js +15 -12
  310. package/lib/esm/components/uniCascader/unicascader.js +12 -12
  311. package/lib/esm/components/uniModal/unimodal.js +4 -4
  312. package/lib/esm/components/uniRadio/uniradio.js +22 -22
  313. package/lib/esm/components/uniSelect/uniselect.js +9 -9
  314. package/lib/esm/components/uniSwitch/uniswitch.js +4 -4
  315. package/lib/esm/components/uniTabs/unitabs.js +13 -13
  316. package/lib/esm/components/uniUpload/uniupload.js +5 -5
  317. package/lib/esm/helpers/prototype-helper.d.ts +3 -3
  318. package/lib/esm/prototypes/affix.d.ts +1 -1
  319. package/lib/esm/prototypes/alert.d.ts +1 -1
  320. package/lib/esm/prototypes/anchor.d.ts +1 -1
  321. package/lib/esm/prototypes/auto-complete.d.ts +1 -1
  322. package/lib/esm/prototypes/avatar.d.ts +1 -1
  323. package/lib/esm/prototypes/back-top.d.ts +1 -1
  324. package/lib/esm/prototypes/badge.d.ts +1 -1
  325. package/lib/esm/prototypes/box.d.ts +1 -1
  326. package/lib/esm/prototypes/breadcrumb.d.ts +1 -1
  327. package/lib/esm/prototypes/button.d.ts +1 -1
  328. package/lib/esm/prototypes/calendar.d.ts +1 -1
  329. package/lib/esm/prototypes/card.d.ts +1 -1
  330. package/lib/esm/prototypes/carousel.d.ts +1 -1
  331. package/lib/esm/prototypes/cascader.d.ts +1 -1
  332. package/lib/esm/prototypes/checkbox.d.ts +1 -1
  333. package/lib/esm/prototypes/collapse.d.ts +1 -1
  334. package/lib/esm/prototypes/columns.d.ts +1 -1
  335. package/lib/esm/prototypes/comment.d.ts +1 -1
  336. package/lib/esm/prototypes/common.d.ts +1 -1
  337. package/lib/esm/prototypes/date-picker.d.ts +3 -3
  338. package/lib/esm/prototypes/descriptions.d.ts +2 -2
  339. package/lib/esm/prototypes/divider.d.ts +1 -1
  340. package/lib/esm/prototypes/drawer.d.ts +1 -1
  341. package/lib/esm/prototypes/dropdown.d.ts +1 -1
  342. package/lib/esm/prototypes/each.d.ts +1 -1
  343. package/lib/esm/prototypes/empty.d.ts +1 -1
  344. package/lib/esm/prototypes/form.d.ts +1 -1
  345. package/lib/esm/prototypes/formily.d.ts +1 -1
  346. package/lib/esm/prototypes/grid.d.ts +1 -1
  347. package/lib/esm/prototypes/icon.d.ts +1 -1
  348. package/lib/esm/prototypes/iframe.d.ts +1 -1
  349. package/lib/esm/prototypes/image.d.ts +1 -1
  350. package/lib/esm/prototypes/input-number.d.ts +1 -1
  351. package/lib/esm/prototypes/input.d.ts +1 -1
  352. package/lib/esm/prototypes/interval.d.ts +1 -1
  353. package/lib/esm/prototypes/link.d.ts +1 -1
  354. package/lib/esm/prototypes/list.d.ts +1 -1
  355. package/lib/esm/prototypes/mentions.d.ts +1 -1
  356. package/lib/esm/prototypes/menu.d.ts +1 -1
  357. package/lib/esm/prototypes/modal.d.ts +1 -1
  358. package/lib/esm/prototypes/page-header.d.ts +1 -1
  359. package/lib/esm/prototypes/page.d.ts +1 -1
  360. package/lib/esm/prototypes/pagination.d.ts +1 -1
  361. package/lib/esm/prototypes/popconfirm.d.ts +1 -1
  362. package/lib/esm/prototypes/popover.d.ts +1 -1
  363. package/lib/esm/prototypes/progress.d.ts +1 -1
  364. package/lib/esm/prototypes/radio.d.ts +1 -1
  365. package/lib/esm/prototypes/rate.d.ts +1 -1
  366. package/lib/esm/prototypes/result.d.ts +1 -1
  367. package/lib/esm/prototypes/row.d.ts +1 -1
  368. package/lib/esm/prototypes/section.d.ts +1 -1
  369. package/lib/esm/prototypes/select.d.ts +1 -1
  370. package/lib/esm/prototypes/skeleton.d.ts +1 -1
  371. package/lib/esm/prototypes/slider.d.ts +1 -1
  372. package/lib/esm/prototypes/space.d.ts +1 -1
  373. package/lib/esm/prototypes/spin.d.ts +1 -1
  374. package/lib/esm/prototypes/statistic.d.ts +1 -1
  375. package/lib/esm/prototypes/steps.d.ts +1 -1
  376. package/lib/esm/prototypes/switch.d.ts +1 -1
  377. package/lib/esm/prototypes/table.d.ts +1 -1
  378. package/lib/esm/prototypes/tabs.d.ts +1 -1
  379. package/lib/esm/prototypes/tag.d.ts +1 -1
  380. package/lib/esm/prototypes/text.d.ts +1 -1
  381. package/lib/esm/prototypes/time-picker.d.ts +3 -3
  382. package/lib/esm/prototypes/timeline.d.ts +1 -1
  383. package/lib/esm/prototypes/timeline.js +3 -3
  384. package/lib/esm/prototypes/toolbar.d.ts +1 -1
  385. package/lib/esm/prototypes/tooltip.d.ts +1 -1
  386. package/lib/esm/prototypes/transfer.d.ts +1 -1
  387. package/lib/esm/prototypes/tree-select.d.ts +1 -1
  388. package/lib/esm/prototypes/tree.d.ts +1 -1
  389. package/lib/esm/prototypes/typography.d.ts +1 -1
  390. package/lib/esm/prototypes/unitabs.d.ts +1 -1
  391. package/lib/esm/prototypes/upload.d.ts +1 -1
  392. package/lib/esm/prototypes/when.d.ts +1 -1
  393. package/package.json +7 -7
@@ -3,4 +3,4 @@ export declare const Select: import("react").ForwardRefExoticComponent<Omit<Sele
3
3
  children?: React.ReactNode;
4
4
  } & {
5
5
  ref?: React.Ref<import("antd").RefSelectProps> | undefined;
6
- } & import("@music163/tango-boot").TangoComponentProps, "ref"> & import("react").RefAttributes<unknown>>;
6
+ } & import("@cuvp1225/boot").TangoComponentProps, "ref"> & import("react").RefAttributes<unknown>>;
@@ -1,5 +1,5 @@
1
1
  import { Select as AntSelect } from 'antd';
2
- import { defineComponent } from '@music163/tango-boot';
2
+ import { defineComponent } from '@cuvp1225/boot';
3
3
  export const Select = defineComponent(AntSelect, {
4
4
  name: 'Select',
5
5
  registerState: {
@@ -1,3 +1,3 @@
1
1
  import { SkeletonProps } from 'antd';
2
2
  import React from 'react';
3
- export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
3
+ export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Skeleton as AntSkeleton } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function SkeletonDesigner(_a) {
7
7
  var { children } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const skeletonRef = useRef(null);
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const Slider: React.ForwardRefExoticComponent<(Omit<import("antd").SliderSingleProps & React.RefAttributes<unknown> & import("@music163/tango-boot").TangoComponentProps, "ref"> | Omit<import("antd/lib/slider").SliderRangeProps & React.RefAttributes<unknown> & import("@music163/tango-boot").TangoComponentProps, "ref">) & React.RefAttributes<unknown>>;
2
+ export declare const Slider: React.ForwardRefExoticComponent<(Omit<import("antd").SliderSingleProps & React.RefAttributes<unknown> & import("@cuvp1225/boot").TangoComponentProps, "ref"> | Omit<import("antd/lib/slider").SliderRangeProps & React.RefAttributes<unknown> & import("@cuvp1225/boot").TangoComponentProps, "ref">) & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Slider as AntSlider } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function SliderDesigner(_a) {
7
7
  var { children, title } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", "title", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const rateRef = useRef(null);
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const Space: React.ForwardRefExoticComponent<import("antd").SpaceProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
2
+ export declare const Space: React.ForwardRefExoticComponent<import("antd").SpaceProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { defineComponent } from '@music163/tango-boot';
2
+ import { defineComponent } from '@cuvp1225/boot';
3
3
  import { Space as AntSpace } from 'antd';
4
4
  import { Placeholder } from './placeholder';
5
5
  export const Space = defineComponent(AntSpace, {
@@ -1,3 +1,3 @@
1
1
  import { SpinProps } from 'antd';
2
2
  import React from 'react';
3
- export declare const Spin: React.ForwardRefExoticComponent<SpinProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
3
+ export declare const Spin: React.ForwardRefExoticComponent<SpinProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Spin as AntSpin } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function SpinDesigner(_a) {
7
7
  var { children, spinning } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", "spinning", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const spinRef = useRef(null);
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Statistic as AntStatistic } from 'antd';
3
- //import { defineComponent } from '@music163/tango-boot';
3
+ //import { defineComponent } from '@cuvp1225/boot';
4
4
  import React from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  export const Statistic = (_a) => {
7
7
  var _b = SLOT.id, dataId = _a[_b], _c = SLOT.dnd, dataDnd = _a[_c], rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + ""]);
8
8
  const newProps = Object.assign(Object.assign({}, rest), { draggable: true });
@@ -1,3 +1,3 @@
1
1
  import { SwitchProps } from 'antd';
2
2
  import React from 'react';
3
- export declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchProps & React.RefAttributes<HTMLElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
3
+ export declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchProps & React.RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Switch as AntSwitch } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function SwitchDesigner(_a) {
7
7
  var _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const switchRef = useRef(null);
@@ -4,4 +4,4 @@ export declare const Table: React.ForwardRefExoticComponent<Omit<TableProps<obje
4
4
  children?: React.ReactNode;
5
5
  } & {
6
6
  ref?: React.Ref<HTMLDivElement> | undefined;
7
- } & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
7
+ } & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Table as AntTable } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function TableDesigner(_a) {
7
7
  var { children, columns, dataSource } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", "columns", "dataSource", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const tableRef = useRef(null);
@@ -1,3 +1,3 @@
1
1
  import { TabsProps } from 'antd';
2
2
  import React from 'react';
3
- export declare const unTabs: React.ForwardRefExoticComponent<TabsProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
3
+ export declare const unTabs: React.ForwardRefExoticComponent<TabsProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Tabs as AntTabs } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function TabsDesigner(_a) {
7
7
  var { children } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  useEffect(() => {
@@ -1,3 +1,3 @@
1
1
  import { TagProps } from 'antd';
2
2
  import React from 'react';
3
- export declare const Tag: React.ForwardRefExoticComponent<Omit<TagProps & React.RefAttributes<HTMLElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
3
+ export declare const Tag: React.ForwardRefExoticComponent<Omit<TagProps & React.RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Tag as AntTag } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function TagDesigner(_a) {
7
7
  var { children } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const tagRef = useRef(null);
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ComponentPrototypeType } from '@music163/tango-helpers';
2
+ import { ComponentPrototypeType } from '@cuvp1225/helpers';
3
3
  import { ButtonProps } from 'antd';
4
4
  export interface TangoEventButtonProps extends ButtonProps {
5
5
  payload?: {
@@ -1,6 +1,6 @@
1
1
  import { __rest } from "tslib";
2
2
  import React from 'react';
3
- import { TangoEventName, dispatchTangoEvent, } from '@music163/tango-helpers';
3
+ import { TangoEventName, dispatchTangoEvent, } from '@cuvp1225/helpers';
4
4
  import { Button } from 'antd';
5
5
  export function TangoEventButton(_a) {
6
6
  var { payload, children } = _a, rest = __rest(_a, ["payload", "children"]);
@@ -1,3 +1,3 @@
1
1
  import { TimePickerProps } from 'antd';
2
2
  import React from 'react';
3
- export declare const TimePicker: React.ForwardRefExoticComponent<Omit<TimePickerProps & React.RefAttributes<any> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
3
+ export declare const TimePicker: React.ForwardRefExoticComponent<Omit<TimePickerProps & React.RefAttributes<any> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { TimePicker as AntTimePicker } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function TimePickerDesigner(_a) {
7
7
  var _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const timePickerRef = useRef(null);
@@ -1,4 +1,4 @@
1
1
  import { TimelineProps } from 'antd';
2
2
  import React from 'react';
3
- export declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
4
- export declare const TimelineItem: React.ForwardRefExoticComponent<import("antd").TimelineItemProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
3
+ export declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
4
+ export declare const TimelineItem: React.ForwardRefExoticComponent<import("antd").TimelineItemProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
@@ -1,4 +1,4 @@
1
- import { defineComponent } from '@music163/tango-boot';
1
+ import { defineComponent } from '@cuvp1225/boot';
2
2
  import { Timeline as AntTimeline } from 'antd';
3
3
  import React from 'react';
4
4
  const MemoizedTimeline = React.memo(AntTimeline);
@@ -1,3 +1,3 @@
1
1
  import { TransferProps } from 'antd';
2
2
  import React from 'react';
3
- export declare const Transfer: React.ForwardRefExoticComponent<TransferProps<import("antd/lib/transfer").TransferItem> & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
3
+ export declare const Transfer: React.ForwardRefExoticComponent<TransferProps<import("antd/lib/transfer").TransferItem> & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Transfer as AntTransfer } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function TransferDesigner(_a) {
7
7
  var { children, title } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", "title", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const transferRef = useRef(null);
@@ -4,4 +4,4 @@ export declare const TreeSelect: React.ForwardRefExoticComponent<Omit<TreeSelect
4
4
  children?: React.ReactNode;
5
5
  } & {
6
6
  ref?: React.Ref<import("antd").RefSelectProps> | undefined;
7
- } & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
7
+ } & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { TreeSelect as AntTreeSelect } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect, useRef } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function TreeSelectDesigner(_a) {
7
7
  var _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  const treeselectRef = useRef(null);
@@ -4,4 +4,4 @@ export declare const Tree: React.ForwardRefExoticComponent<Omit<TreeProps<import
4
4
  children?: React.ReactNode | undefined;
5
5
  } & {
6
6
  ref?: React.Ref<import("rc-tree").default>;
7
- } & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
7
+ } & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Tree as AntTree } from 'antd';
3
- import { defineComponent } from '@music163/tango-boot';
3
+ import { defineComponent } from '@cuvp1225/boot';
4
4
  import React, { useEffect } from 'react';
5
- import { SLOT } from '@music163/tango-helpers';
5
+ import { SLOT } from '@cuvp1225/helpers';
6
6
  function TreeDesigner(_a) {
7
7
  var { children } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
8
8
  useEffect(() => {
@@ -1,8 +1,8 @@
1
1
  import { Typography as AntTypography } from 'antd';
2
2
  import React from 'react';
3
- export declare const Title: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Title").TitleProps & React.RefAttributes<HTMLElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
4
- export declare const Text: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Text").TextProps & React.RefAttributes<HTMLSpanElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
5
- export declare const Paragraph: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Paragraph").ParagraphProps & React.RefAttributes<HTMLElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
3
+ export declare const Title: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Title").TitleProps & React.RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
4
+ export declare const Text: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Text").TextProps & React.RefAttributes<HTMLSpanElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
5
+ export declare const Paragraph: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Paragraph").ParagraphProps & React.RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
6
6
  type TypographyComponent = React.ForwardRefExoticComponent<any & React.RefAttributes<React.ReactElement>> & {
7
7
  Title: typeof Title;
8
8
  Paragraph: typeof Paragraph;
@@ -1,4 +1,4 @@
1
- import { defineComponent } from '@music163/tango-boot';
1
+ import { defineComponent } from '@cuvp1225/boot';
2
2
  import { Typography as AntTypography } from 'antd';
3
3
  import React from 'react';
4
4
  import { Placeholder } from './placeholder';
@@ -5,70 +5,70 @@ import { SLOT } from '../../helpers/slottype';
5
5
  export const UniSteps = (_a) => {
6
6
  var _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style, theme } = _a, rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style", "theme"]);
7
7
  const redCss = `
8
- .uni-${rest.tid} .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
8
+ .uni-${dataId} .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
9
9
  background: #B30000;
10
10
  }
11
- .uni-${rest.tid} .ant-steps-item-process .ant-steps-item-icon {
11
+ .uni-${dataId} .ant-steps-item-process .ant-steps-item-icon {
12
12
  background-color: #fff;
13
13
  border-color: #B30000;
14
14
  }
15
15
 
16
- .uni-${rest.tid} .ant-steps-item-finish .ant-steps-item-icon {
16
+ .uni-${dataId} .ant-steps-item-finish .ant-steps-item-icon {
17
17
  background-color: #fff;
18
18
  border-color: #B30000;
19
19
  }
20
20
 
21
- .uni-${rest.tid} .anticon svg {
21
+ .uni-${dataId} .anticon svg {
22
22
  color: #B30000;
23
23
  }
24
24
 
25
25
 
26
- .uni-${rest.tid} .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
26
+ .uni-${dataId} .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
27
27
  background-color: #f0f0f0;
28
28
  }
29
29
  `;
30
30
  const blueCss = `
31
- .uni-${rest.tid} .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
31
+ .uni-${dataId} .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
32
32
  background: #1890ff;
33
33
  }
34
- .uni-${rest.tid} .ant-steps-item-process .ant-steps-item-icon {
34
+ .uni-${dataId} .ant-steps-item-process .ant-steps-item-icon {
35
35
  background-color: #fff;
36
36
  border-color: #1890ff;
37
37
  }
38
38
 
39
- .uni-${rest.tid} .ant-steps-item-finish .ant-steps-item-icon {
39
+ .uni-${dataId} .ant-steps-item-finish .ant-steps-item-icon {
40
40
  background-color: #fff;
41
41
  border-color: #1890ff;
42
42
  }
43
43
 
44
- .uni-${rest.tid} .anticon svg {
44
+ .uni-${dataId} .anticon svg {
45
45
  color: #1890ff;
46
46
  }
47
47
 
48
48
 
49
- .uni-${rest.tid} .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
49
+ .uni-${dataId} .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
50
50
  background-color: #f0f0f0;
51
51
  }
52
52
  `;
53
53
  const greenCss = `
54
- .uni-${rest.tid} .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
54
+ .uni-${dataId} .ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
55
55
  background: #17c60e;
56
56
  }
57
- .uni-${rest.tid} .ant-steps-item-process .ant-steps-item-icon {
57
+ .uni-${dataId} .ant-steps-item-process .ant-steps-item-icon {
58
58
  background-color: #fff;
59
59
  border-color: #17c60e;
60
60
  }
61
61
 
62
- .uni-${rest.tid} .ant-steps-item-finish .ant-steps-item-icon {
62
+ .uni-${dataId} .ant-steps-item-finish .ant-steps-item-icon {
63
63
  background-color: #fff;
64
64
  border-color: #17c60e;
65
65
  }
66
66
 
67
- .uni-${rest.tid} .anticon svg {
67
+ .uni-${dataId} .anticon svg {
68
68
  color: #17c60e;
69
69
  }
70
70
 
71
- .uni-${rest.tid} .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
71
+ .uni-${dataId} .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
72
72
  background-color: #f0f0f0;
73
73
  }
74
74
  `;
@@ -81,8 +81,8 @@ export const UniSteps = (_a) => {
81
81
  document.head.appendChild(style);
82
82
  }
83
83
  }, [theme]);
84
- return (React.createElement("div", { "data-dnd": dataDnd, "data-id": rest.tid, draggable: true, style: style },
85
- React.createElement(AntdSteps, Object.assign({ className: `uni-${rest.tid} ${theme ? `theme-${theme}` : ''}` }, rest), rest.children)));
84
+ return (React.createElement("div", { "data-dnd": dataDnd, "data-id": dataId, draggable: true, style: style },
85
+ React.createElement(AntdSteps, Object.assign({ className: `uni-${dataId} ${theme ? `theme-${theme}` : ''}` }, rest), rest.children)));
86
86
  };
87
87
  export const UniStepsStep = (props) => {
88
88
  return (React.createElement(AntdSteps.Step, Object.assign({}, props)));
@@ -1,61 +1,64 @@
1
1
  import { __rest } from "tslib";
2
2
  import { Button as AntButton } from "antd";
3
- import { SLOT } from "../../helpers/slottype";
3
+ import { SLOT } from '@cuvp1225/helpers';
4
4
  import React, { useEffect } from "react";
5
5
  export const UniButton = (_a) => {
6
6
  var _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style, theme } = _a, rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style", "theme"]);
7
7
  const redCss = `
8
- .uni-${rest.tid} {
8
+ .uni-${dataId} {
9
9
  color: #fff;
10
10
  border-color: #B30000 !important;
11
11
  background: #B30000 !important;
12
12
 
13
13
  }
14
14
 
15
- .uni-${rest.tid}:hover,
16
- .uni-${rest.tid}:focus {
15
+ .uni-${dataId}:hover,
16
+ .uni-${dataId}:focus {
17
17
  color: #fff;
18
18
  border-color: #B30000 !important;
19
19
  background: #B30000 !important;
20
20
  }
21
21
  `;
22
22
  const blueCss = `
23
- .uni-${rest.tid} {
23
+ .uni-${dataId} {
24
24
  color: #fff;
25
25
  border-color: #1890ff !important;
26
26
  background: #1890ff !important;
27
27
 
28
28
  }
29
29
 
30
- .uni-${rest.tid}:hover,
31
- .uni-${rest.tid}:focus {
30
+ .uni-${dataId}:hover,
31
+ .uni-${dataId}:focus {
32
32
  color: #fff;
33
33
  border-color: #1890ff !important;
34
34
  background: #1890ff !important;
35
35
  }`;
36
36
  const greenCss = `
37
- .uni-${rest.tid} {
37
+ .uni-${dataId} {
38
38
  color: #fff;
39
39
  border-color: #17c60e !important;
40
40
  background: #17c60e !important;
41
41
 
42
42
  }
43
43
 
44
- .uni-${rest.tid}:hover,
45
- .uni-${rest.tid}:focus {
44
+ .uni-${dataId}:hover,
45
+ .uni-${dataId}:focus {
46
46
  color: #fff;
47
47
  border-color: #17c60e !important;
48
48
  background: #17c60e !important;
49
49
  }`;
50
+ console.log("wxy-uniButton-rest2: ", rest);
51
+ console.log("wxy-uniButton-dataDnd2: ", dataDnd);
52
+ console.log("wxy-uniButton-dataId2: ", dataId);
50
53
  useEffect(() => {
51
54
  const allow = ['blue', 'green', 'red'];
52
- if (allow.includes(theme)) {
55
+ if (allow.includes(theme) && rest.type === 'primary') {
53
56
  const css = theme === 'blue' ? blueCss : theme === 'green' ? greenCss : redCss;
54
57
  const style = document.createElement('style');
55
58
  style.innerHTML = css;
56
59
  document.head.appendChild(style);
57
60
  }
58
61
  }, [theme]);
59
- return (React.createElement(AntButton, Object.assign({ className: `uni-${rest.tid} ${theme ? `theme-${theme}` : ''}`, "data-dnd": dataDnd, "data-id": rest.tid, draggable: true, style: style }, rest)));
62
+ return (React.createElement(AntButton, Object.assign({ className: `uni-${dataId} ${theme ? `theme-${theme}` : ''}`, "data-dnd": dataDnd, "data-id": dataId, draggable: true, style: style }, rest)));
60
63
  };
61
64
  export const UniButtonGroup = AntButton.Group;
@@ -5,35 +5,35 @@ import { SLOT } from "../../helpers/slottype";
5
5
  export const UniCascader = (_a) => {
6
6
  var _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style, theme } = _a, rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style", "theme"]);
7
7
  const redCss = `
8
- .uni-${rest.tid} .ant-cascader-menu-item-active {
8
+ .uni-${dataId} .ant-cascader-menu-item-active {
9
9
  color: #c20000;
10
10
  background: #fff3f3
11
11
  }
12
12
 
13
- .uni-${rest.tid} .ant-cascader-menu-item-active:hover {
13
+ .uni-${dataId} .ant-cascader-menu-item-active:hover {
14
14
  color: #c20000;
15
15
  background: #fff3f3
16
16
  }
17
17
  `;
18
18
  const blueCss = `
19
- .uni-${rest.tid} .ant-cascader-menu-item-active {
19
+ .uni-${dataId} .ant-cascader-menu-item-active {
20
20
  color: #1890ff;
21
- background: #c1ddf8
21
+ background: #e6f7ff
22
22
  }
23
23
 
24
- .uni-${rest.tid} .ant-cascader-menu-item-active:hover {
24
+ .uni-${dataId} .ant-cascader-menu-item-active:hover {
25
25
  color: #1890ff;
26
- background: #c1ddf8
26
+ background: #e6f7ff
27
27
  }`;
28
28
  const greenCss = `
29
- .uni-${rest.tid} .ant-cascader-menu-item-active {
29
+ .uni-${dataId} .ant-cascader-menu-item-active {
30
30
  color: #17c60e;
31
- background: #e5fde4
31
+ background: #f6ffed
32
32
  }
33
33
 
34
- .uni-${rest.tid} .ant-cascader-menu-item-active:hover {
34
+ .uni-${dataId} .ant-cascader-menu-item-active:hover {
35
35
  color: #17c60e;
36
- background: #e5fde4
36
+ background: #f6ffed
37
37
  }
38
38
  `;
39
39
  useEffect(() => {
@@ -45,6 +45,6 @@ export const UniCascader = (_a) => {
45
45
  document.head.appendChild(style);
46
46
  }
47
47
  }, [theme]);
48
- return (React.createElement("div", { "data-dnd": dataDnd, "data-id": rest.tid, draggable: true, style: style },
49
- React.createElement(AntdCascader, Object.assign({ className: `uni-${rest.tid} ${theme ? `theme-${theme}` : ''}`, dropdownClassName: `uni-${rest.tid} ${theme ? `theme-${theme}` : ''}`, style: style }, rest))));
48
+ return (React.createElement("div", { "data-dnd": dataDnd, "data-id": dataId, draggable: true, style: style },
49
+ React.createElement(AntdCascader, Object.assign({ className: `uni-${dataId} ${theme ? `theme-${theme}` : ''}`, dropdownClassName: `uni-${dataId} ${theme ? `theme-${theme}` : ''}`, style: style }, rest))));
50
50
  };
@@ -6,19 +6,19 @@ export const UniModal = (_a) => {
6
6
  var _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { children, style, theme } = _a, rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "children", "style", "theme"]);
7
7
  // 主题样式定义
8
8
  const redCss = `
9
- .uni-${rest.tid} .ant-modal-footer .ant-btn-primary {
9
+ .uni-${dataId} .ant-modal-footer .ant-btn-primary {
10
10
  background: #B20000;
11
11
  border-color: #B20000;
12
12
  }
13
13
  `;
14
14
  const blueCss = `
15
- .uni-${rest.tid} .ant-modal-footer .ant-btn-primary {
15
+ .uni-${dataId} .ant-modal-footer .ant-btn-primary {
16
16
  background: #1890ff;
17
17
  border-color: #1890ff;
18
18
  }
19
19
  `;
20
20
  const greenCss = `
21
- .uni-${rest.tid} .ant-modal-footer .ant-btn-primary {
21
+ .uni-${dataId} .ant-modal-footer .ant-btn-primary {
22
22
  background: #17c60e;
23
23
  border-color: #17c60e;
24
24
  }
@@ -32,7 +32,7 @@ export const UniModal = (_a) => {
32
32
  document.head.appendChild(style);
33
33
  }
34
34
  }, [theme]);
35
- return (React.createElement(AntModal, Object.assign({ className: `uni-${rest.tid} ${theme ? `theme-${theme}` : ''}`, "data-dnd": dataDnd, "data-id": rest.tid, style: style }, rest), children));
35
+ return (React.createElement(AntModal, Object.assign({ className: `uni-${dataId} ${theme ? `theme-${theme}` : ''}`, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest), children));
36
36
  };
37
37
  // 导出静态方法以支持 Modal.info() 等调用方式
38
38
  UniModal.info = AntModal.info;