@ztocwst/rc-pro-materials 0.2.1 → 0.2.3-4.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 (301) hide show
  1. package/README.md +17 -17
  2. package/build/index.js +8 -8
  3. package/build/lowcode/assets-daily.json +11 -11
  4. package/build/lowcode/assets-dev.json +8 -8
  5. package/build/lowcode/assets-prod.json +11 -11
  6. package/build/lowcode/designer.html +2 -2
  7. package/build/lowcode/index.html +2 -2
  8. package/build/lowcode/index.js +1 -1
  9. package/build/lowcode/meta.js +1 -1
  10. package/build/lowcode/preview.css +1 -1
  11. package/build/lowcode/preview.js +4 -5
  12. package/build/lowcode/render/default/view.css +1 -2
  13. package/build/lowcode/render/default/view.js +9 -58
  14. package/build/lowcode/view.css +1 -2
  15. package/build/lowcode/view.js +10 -59
  16. package/dist/SCM_Comps.css +2 -2
  17. package/dist/SCM_Comps.js +22 -53
  18. package/dist/SCM_Comps.js.map +1 -1
  19. package/es/components/z-Ellipsis/ellipsis.d.ts +4 -4
  20. package/es/components/z-Ellipsis/index.d.ts +3 -3
  21. package/es/components/z-agg-block/index.d.ts +3 -3
  22. package/es/components/z-agg-block/index.less +134 -134
  23. package/es/components/z-agg-block/z-agg-block.d.ts +27 -27
  24. package/es/components/z-agg-block/z-agg-block.js +1 -1
  25. package/es/components/z-auth/auth.d.ts +9 -9
  26. package/es/components/z-auth/index.d.ts +3 -3
  27. package/es/components/z-box/box.d.ts +20 -20
  28. package/es/components/z-box/index.d.ts +3 -3
  29. package/es/components/z-box/index.less +4 -4
  30. package/es/components/z-button/index.d.ts +3 -3
  31. package/es/components/z-button/z-button.d.ts +4 -4
  32. package/es/components/z-config-provider/configProvider.d.ts +4 -4
  33. package/es/components/z-config-provider/configProvider.js +45 -4
  34. package/es/components/z-config-provider/index.d.ts +3 -3
  35. package/es/components/z-data-table/data-table.d.ts +9 -0
  36. package/es/components/z-data-table/data-table.js +24 -0
  37. package/es/components/z-data-table/index.d.ts +3 -0
  38. package/es/components/z-data-table/index.js +2 -0
  39. package/es/components/z-div/div.d.ts +6 -6
  40. package/es/components/z-div/index.d.ts +2 -2
  41. package/es/components/z-editTable/editTable.d.ts +11 -11
  42. package/es/components/z-editTable/editTable.js +3 -4
  43. package/es/components/z-editTable/index.d.ts +2 -2
  44. package/es/components/z-form/index.d.ts +3 -3
  45. package/es/components/z-form/z-form.d.ts +10 -10
  46. package/es/components/z-form/z-form.js +1 -1
  47. package/es/components/z-list/index.d.ts +3 -3
  48. package/es/components/z-list/list.d.ts +17 -17
  49. package/es/components/z-list/list.js +3 -3
  50. package/es/components/z-operation-records/index.d.ts +3 -3
  51. package/es/components/z-operation-records/operationRecords.d.ts +4 -4
  52. package/es/components/z-pointer-block/index.d.ts +3 -3
  53. package/es/components/z-pointer-block/index.less +15 -15
  54. package/es/components/z-pointer-block/z-pointer-block.d.ts +16 -16
  55. package/es/components/z-preview/index.d.ts +3 -3
  56. package/es/components/z-preview/preview.d.ts +4 -4
  57. package/es/components/z-pro-provider/index.d.ts +3 -3
  58. package/es/components/z-pro-provider/z-pro-provider.d.ts +6 -6
  59. package/es/components/z-ranking-list/index.d.ts +2 -2
  60. package/es/components/z-ranking-list/index.less +49 -49
  61. package/es/components/z-ranking-list/z-ranking-list.d.ts +14 -14
  62. package/es/components/z-ranking-list/z-ranking-list.js +2 -3
  63. package/es/components/z-simple-bar/index.d.ts +3 -3
  64. package/es/components/z-simple-bar/index.less +9 -9
  65. package/es/components/z-simple-bar/z-simple-bar.d.ts +27 -27
  66. package/es/components/z-singleFactory/index.d.ts +2 -2
  67. package/es/components/z-singleFactory/zSingerFactory.d.ts +2 -3
  68. package/es/components/z-slick/index.d.ts +3 -0
  69. package/es/components/z-slick/index.js +2 -0
  70. package/es/components/z-slick/slick.d.ts +47 -0
  71. package/es/components/z-slick/slick.js +35 -0
  72. package/es/components/z-statistic/index.d.ts +3 -3
  73. package/es/components/z-statistic/index.less +22 -22
  74. package/es/components/z-statistic/z-statistic.d.ts +13 -13
  75. package/es/components/z-table/index.d.ts +3 -3
  76. package/es/components/z-table/table.d.ts +8 -8
  77. package/es/components/z-table/table.js +1 -1
  78. package/es/components/z-templates-data-common/components/chart-renderer/index.d.ts +12 -14
  79. package/es/components/z-templates-data-common/components/chart-renderer/index.js +33 -13
  80. package/es/components/z-templates-data-common/data-common.d.ts +20 -105
  81. package/es/components/z-templates-data-common/data-common.helper.d.ts +2 -61
  82. package/es/components/z-templates-data-common/data-common.helper.js +2 -336
  83. package/es/components/z-templates-data-common/data-common.js +81 -62
  84. package/es/components/z-templates-data-common/index.d.ts +3 -3
  85. package/es/components/z-tpl/index.d.ts +3 -3
  86. package/es/components/z-tpl/tpl.d.ts +23 -23
  87. package/es/components/z-tpl/tpl.js +3 -3
  88. package/es/components/z-warehouse/index.d.ts +2 -2
  89. package/es/components/z-warehouse/zWarehouse.d.ts +2 -3
  90. package/es/components/z-watermark/index.d.ts +3 -0
  91. package/es/components/z-watermark/index.js +2 -0
  92. package/es/components/z-watermark/zWatermark.d.ts +3 -0
  93. package/es/components/z-watermark/zWatermark.js +4 -0
  94. package/es/index.d.ts +44 -38
  95. package/es/index.js +4 -0
  96. package/es/index.scss +1 -1
  97. package/es/style.js +2 -6
  98. package/es/utils/hoc.d.ts +6 -6
  99. package/es/utils/hoc.js +3 -3
  100. package/es/utils/index.d.ts +13 -13
  101. package/es/utils/index.js +5 -1
  102. package/es/utils/props/button.d.ts +13 -13
  103. package/es/utils/props/common.d.ts +7 -1
  104. package/es/utils/props/common.js +17 -0
  105. package/es/utils/props/editTable.d.ts +3 -3
  106. package/es/utils/props/editTable.js +21 -14
  107. package/es/utils/props/form.d.ts +36 -0
  108. package/es/utils/props/form.js +33 -14
  109. package/es/utils/props/listTpl.d.ts +29 -29
  110. package/es/utils/props/microModal.d.ts +7 -7
  111. package/es/utils/props/microModal.js +0 -1
  112. package/es/utils/props/microSwitch.d.ts +1 -1
  113. package/es/utils/props/microSwitch.js +4 -3
  114. package/es/utils/props/modalSelect.d.ts +6 -6
  115. package/es/utils/props/operationRecords.d.ts +2 -2
  116. package/es/utils/props/operationRecords.js +4 -4
  117. package/es/utils/props/preview.d.ts +2 -2
  118. package/es/utils/props/preview.js +4 -4
  119. package/es/utils/props/tpl.d.ts +173 -162
  120. package/es/utils/props/warehouseAndFactory.d.ts +1 -1
  121. package/es/utils/rcProRequest.d.ts +3 -3
  122. package/es/utils/rcProRequest.js +3 -3
  123. package/es/variables.scss +3 -3
  124. package/lib/components/z-Ellipsis/ellipsis.d.ts +4 -4
  125. package/lib/components/z-Ellipsis/ellipsis.js +3 -4
  126. package/lib/components/z-Ellipsis/index.d.ts +3 -3
  127. package/lib/components/z-Ellipsis/index.js +1 -2
  128. package/lib/components/z-agg-block/index.d.ts +3 -3
  129. package/lib/components/z-agg-block/index.js +1 -2
  130. package/lib/components/z-agg-block/index.less +134 -134
  131. package/lib/components/z-agg-block/z-agg-block.d.ts +27 -27
  132. package/lib/components/z-agg-block/z-agg-block.js +2 -3
  133. package/lib/components/z-auth/auth.d.ts +9 -9
  134. package/lib/components/z-auth/auth.js +1 -2
  135. package/lib/components/z-auth/index.d.ts +3 -3
  136. package/lib/components/z-auth/index.js +1 -2
  137. package/lib/components/z-box/box.d.ts +20 -20
  138. package/lib/components/z-box/box.js +1 -2
  139. package/lib/components/z-box/index.d.ts +3 -3
  140. package/lib/components/z-box/index.js +1 -2
  141. package/lib/components/z-box/index.less +4 -4
  142. package/lib/components/z-button/index.d.ts +3 -3
  143. package/lib/components/z-button/index.js +1 -2
  144. package/lib/components/z-button/z-button.d.ts +4 -4
  145. package/lib/components/z-button/z-button.js +4 -4
  146. package/lib/components/z-config-provider/configProvider.d.ts +4 -4
  147. package/lib/components/z-config-provider/configProvider.js +47 -7
  148. package/lib/components/z-config-provider/index.d.ts +3 -3
  149. package/lib/components/z-config-provider/index.js +1 -2
  150. package/lib/components/z-data-table/data-table.d.ts +9 -0
  151. package/lib/components/z-data-table/data-table.js +27 -0
  152. package/lib/components/z-data-table/index.d.ts +3 -0
  153. package/lib/components/z-data-table/index.js +7 -0
  154. package/lib/components/z-div/div.d.ts +6 -6
  155. package/lib/components/z-div/div.js +1 -2
  156. package/lib/components/z-div/index.d.ts +2 -2
  157. package/lib/components/z-div/index.js +1 -2
  158. package/lib/components/z-editTable/editTable.d.ts +11 -11
  159. package/lib/components/z-editTable/editTable.js +7 -9
  160. package/lib/components/z-editTable/index.d.ts +2 -2
  161. package/lib/components/z-editTable/index.js +1 -2
  162. package/lib/components/z-form/index.d.ts +3 -3
  163. package/lib/components/z-form/index.js +1 -2
  164. package/lib/components/z-form/z-form.d.ts +10 -10
  165. package/lib/components/z-form/z-form.js +5 -6
  166. package/lib/components/z-list/index.d.ts +3 -3
  167. package/lib/components/z-list/index.js +1 -2
  168. package/lib/components/z-list/list.d.ts +17 -17
  169. package/lib/components/z-list/list.js +7 -8
  170. package/lib/components/z-operation-records/index.d.ts +3 -3
  171. package/lib/components/z-operation-records/index.js +1 -2
  172. package/lib/components/z-operation-records/operationRecords.d.ts +4 -4
  173. package/lib/components/z-operation-records/operationRecords.js +3 -4
  174. package/lib/components/z-pointer-block/index.d.ts +3 -3
  175. package/lib/components/z-pointer-block/index.js +1 -2
  176. package/lib/components/z-pointer-block/index.less +15 -15
  177. package/lib/components/z-pointer-block/z-pointer-block.d.ts +16 -16
  178. package/lib/components/z-pointer-block/z-pointer-block.js +1 -2
  179. package/lib/components/z-preview/index.d.ts +3 -3
  180. package/lib/components/z-preview/index.js +1 -2
  181. package/lib/components/z-preview/preview.d.ts +4 -4
  182. package/lib/components/z-preview/preview.js +3 -4
  183. package/lib/components/z-pro-provider/index.d.ts +3 -3
  184. package/lib/components/z-pro-provider/index.js +1 -2
  185. package/lib/components/z-pro-provider/z-pro-provider.d.ts +6 -6
  186. package/lib/components/z-pro-provider/z-pro-provider.js +3 -4
  187. package/lib/components/z-ranking-list/index.d.ts +2 -2
  188. package/lib/components/z-ranking-list/index.js +1 -2
  189. package/lib/components/z-ranking-list/index.less +49 -49
  190. package/lib/components/z-ranking-list/z-ranking-list.d.ts +14 -14
  191. package/lib/components/z-ranking-list/z-ranking-list.js +5 -7
  192. package/lib/components/z-simple-bar/index.d.ts +3 -3
  193. package/lib/components/z-simple-bar/index.js +1 -2
  194. package/lib/components/z-simple-bar/index.less +9 -9
  195. package/lib/components/z-simple-bar/z-simple-bar.d.ts +27 -27
  196. package/lib/components/z-simple-bar/z-simple-bar.js +1 -2
  197. package/lib/components/z-singleFactory/index.d.ts +2 -2
  198. package/lib/components/z-singleFactory/index.js +1 -2
  199. package/lib/components/z-singleFactory/zSingerFactory.d.ts +2 -3
  200. package/lib/components/z-singleFactory/zSingerFactory.js +3 -4
  201. package/lib/components/z-slick/index.d.ts +3 -0
  202. package/lib/components/z-slick/index.js +7 -0
  203. package/lib/components/z-slick/slick.d.ts +47 -0
  204. package/lib/components/z-slick/slick.js +39 -0
  205. package/lib/components/z-statistic/index.d.ts +3 -3
  206. package/lib/components/z-statistic/index.js +1 -2
  207. package/lib/components/z-statistic/index.less +22 -22
  208. package/lib/components/z-statistic/z-statistic.d.ts +13 -13
  209. package/lib/components/z-statistic/z-statistic.js +1 -2
  210. package/lib/components/z-table/index.d.ts +3 -3
  211. package/lib/components/z-table/index.js +1 -2
  212. package/lib/components/z-table/table.d.ts +8 -8
  213. package/lib/components/z-table/table.js +5 -6
  214. package/lib/components/z-templates-data-common/components/chart-renderer/index.d.ts +12 -14
  215. package/lib/components/z-templates-data-common/components/chart-renderer/index.js +36 -17
  216. package/lib/components/z-templates-data-common/data-common.d.ts +20 -105
  217. package/lib/components/z-templates-data-common/data-common.helper.d.ts +2 -61
  218. package/lib/components/z-templates-data-common/data-common.helper.js +3 -351
  219. package/lib/components/z-templates-data-common/data-common.js +85 -66
  220. package/lib/components/z-templates-data-common/index.d.ts +3 -3
  221. package/lib/components/z-templates-data-common/index.js +1 -2
  222. package/lib/components/z-tpl/index.d.ts +3 -3
  223. package/lib/components/z-tpl/index.js +1 -2
  224. package/lib/components/z-tpl/tpl.d.ts +23 -23
  225. package/lib/components/z-tpl/tpl.js +7 -8
  226. package/lib/components/z-warehouse/index.d.ts +2 -2
  227. package/lib/components/z-warehouse/index.js +1 -2
  228. package/lib/components/z-warehouse/zWarehouse.d.ts +2 -3
  229. package/lib/components/z-warehouse/zWarehouse.js +3 -4
  230. package/lib/components/z-watermark/index.d.ts +3 -0
  231. package/lib/components/z-watermark/index.js +7 -0
  232. package/lib/components/z-watermark/zWatermark.d.ts +3 -0
  233. package/lib/components/z-watermark/zWatermark.js +8 -0
  234. package/lib/index.d.ts +44 -38
  235. package/lib/index.js +8 -2
  236. package/lib/index.scss +1 -1
  237. package/lib/style.js +1 -3
  238. package/lib/utils/hoc.d.ts +6 -6
  239. package/lib/utils/hoc.js +3 -3
  240. package/lib/utils/index.d.ts +13 -13
  241. package/lib/utils/index.js +7 -4
  242. package/lib/utils/props/button.d.ts +13 -13
  243. package/lib/utils/props/button.js +2 -3
  244. package/lib/utils/props/common.d.ts +7 -1
  245. package/lib/utils/props/common.js +19 -3
  246. package/lib/utils/props/editTable.d.ts +3 -3
  247. package/lib/utils/props/editTable.js +23 -17
  248. package/lib/utils/props/form.d.ts +36 -0
  249. package/lib/utils/props/form.js +35 -17
  250. package/lib/utils/props/listTpl.d.ts +29 -29
  251. package/lib/utils/props/listTpl.js +2 -3
  252. package/lib/utils/props/microModal.d.ts +7 -7
  253. package/lib/utils/props/microModal.js +1 -3
  254. package/lib/utils/props/microSwitch.d.ts +1 -1
  255. package/lib/utils/props/microSwitch.js +5 -4
  256. package/lib/utils/props/modalSelect.d.ts +6 -6
  257. package/lib/utils/props/modalSelect.js +2 -4
  258. package/lib/utils/props/operationRecords.d.ts +2 -2
  259. package/lib/utils/props/operationRecords.js +6 -7
  260. package/lib/utils/props/preview.d.ts +2 -2
  261. package/lib/utils/props/preview.js +6 -7
  262. package/lib/utils/props/tpl.d.ts +173 -162
  263. package/lib/utils/props/tpl.js +3 -5
  264. package/lib/utils/props/warehouseAndFactory.d.ts +1 -1
  265. package/lib/utils/props/warehouseAndFactory.js +2 -3
  266. package/lib/utils/rcProRequest.d.ts +3 -3
  267. package/lib/utils/rcProRequest.js +3 -4
  268. package/lib/variables.scss +3 -3
  269. package/package.json +5 -5
  270. package/es/components/z-templates-data-common/components/custom-renderer/index.d.ts +0 -13
  271. package/es/components/z-templates-data-common/components/custom-renderer/index.js +0 -172
  272. package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +0 -39
  273. package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.js +0 -1
  274. package/es/components/z-templates-data-common/components/dim-target/index.d.ts +0 -16
  275. package/es/components/z-templates-data-common/components/dim-target/index.js +0 -430
  276. package/es/components/z-templates-data-common/components/dim-target/index.less +0 -49
  277. package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +0 -8
  278. package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +0 -26
  279. package/es/components/z-templates-data-common/components/link-renderer/index.d.ts +0 -16
  280. package/es/components/z-templates-data-common/components/link-renderer/index.js +0 -320
  281. package/es/components/z-templates-data-common/components/link-renderer/index.less +0 -33
  282. package/es/components/z-templates-data-common/components/table-renderer/index.d.ts +0 -6
  283. package/es/components/z-templates-data-common/components/table-renderer/index.js +0 -481
  284. package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +0 -64
  285. package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +0 -220
  286. package/lib/components/z-templates-data-common/components/custom-renderer/index.d.ts +0 -13
  287. package/lib/components/z-templates-data-common/components/custom-renderer/index.js +0 -178
  288. package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +0 -39
  289. package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.js +0 -3
  290. package/lib/components/z-templates-data-common/components/dim-target/index.d.ts +0 -16
  291. package/lib/components/z-templates-data-common/components/dim-target/index.js +0 -438
  292. package/lib/components/z-templates-data-common/components/dim-target/index.less +0 -49
  293. package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +0 -8
  294. package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +0 -30
  295. package/lib/components/z-templates-data-common/components/link-renderer/index.d.ts +0 -16
  296. package/lib/components/z-templates-data-common/components/link-renderer/index.js +0 -326
  297. package/lib/components/z-templates-data-common/components/link-renderer/index.less +0 -33
  298. package/lib/components/z-templates-data-common/components/table-renderer/index.d.ts +0 -6
  299. package/lib/components/z-templates-data-common/components/table-renderer/index.js +0 -487
  300. package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +0 -64
  301. package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +0 -229
@@ -1,49 +1,49 @@
1
- @root-entry-name: 'default';
2
- @import (reference) '~antd/es/style/themes/index.less';
3
-
4
- .ranking-list .ant-table .ant-table-thead > tr > th {
5
- border-bottom: none;
6
- font-size: 13px;
7
- font-weight: 400;
8
- color: #999;
9
- background-color: #fff;
10
- padding: 8px 5px;
11
-
12
- &::before {
13
- display: none;
14
- }
15
- }
16
-
17
- .ranking-list .ant-table .ant-table-tbody > tr > td {
18
- border-bottom: none;
19
- font-size: 13px;
20
- font-weight: 400;
21
- color: #333;
22
- padding: 11px 7px;
23
- background-color: #fff;
24
- }
25
-
26
- .ranking-list {
27
- &-number {
28
- width: 20px;
29
- height: 20px;
30
- border-radius: 50%;
31
- display: flex;
32
- align-items: center;
33
- justify-content: center;
34
- color: #333;
35
- background-color: #f8f8f8;
36
-
37
- &.highlight {
38
- color: #fff;
39
- // background: #1890ff;
40
- background: var(--ant-primary-color, @primary-color);
41
- }
42
- }
43
-
44
- &-icon {
45
- display: flex;
46
- align-items: center;
47
- justify-content: center;
48
- }
49
- }
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
4
+ .ranking-list .ant-table .ant-table-thead > tr > th {
5
+ border-bottom: none;
6
+ font-size: 13px;
7
+ font-weight: 400;
8
+ color: #999;
9
+ background-color: #fff;
10
+ padding: 8px 5px;
11
+
12
+ &::before {
13
+ display: none;
14
+ }
15
+ }
16
+
17
+ .ranking-list .ant-table .ant-table-tbody > tr > td {
18
+ border-bottom: none;
19
+ font-size: 13px;
20
+ font-weight: 400;
21
+ color: #333;
22
+ padding: 11px 7px;
23
+ background-color: #fff;
24
+ }
25
+
26
+ .ranking-list {
27
+ &-number {
28
+ width: 20px;
29
+ height: 20px;
30
+ border-radius: 50%;
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ color: #333;
35
+ background-color: #f8f8f8;
36
+
37
+ &.highlight {
38
+ color: #fff;
39
+ // background: #1890ff;
40
+ background: var(--ant-primary-color, @primary-color);
41
+ }
42
+ }
43
+
44
+ &-icon {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ }
49
+ }
@@ -1,14 +1,14 @@
1
- /**
2
- * 排行榜
3
- */
4
- import { TableProps } from 'antd';
5
- import * as React from 'react';
6
- import './index.less';
7
- declare const ZRankingList: React.FC<{
8
- columns: TableProps<any>['columns'];
9
- dataSource: any[];
10
- showHeader?: boolean;
11
- name: React.ReactNode;
12
- icon?: string[];
13
- }>;
14
- export default ZRankingList;
1
+ /**
2
+ * 排行榜
3
+ */
4
+ import { TableProps } from 'antd';
5
+ import * as React from 'react';
6
+ import './index.less';
7
+ declare const ZRankingList: React.FC<{
8
+ columns: TableProps<any>['columns'];
9
+ dataSource: any[];
10
+ showHeader?: boolean;
11
+ name: React.ReactNode;
12
+ icon?: string[];
13
+ }>;
14
+ export default ZRankingList;
@@ -10,11 +10,11 @@ var _typography = _interopRequireDefault(require("antd/lib/typography"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  require("./index.less");
12
12
  var _excluded = ["type", "showRanking", "number"];
13
- /**
14
- * 排行榜
13
+ /**
14
+ * 排行榜
15
15
  */
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
17
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
18
18
  var Title = _typography["default"].Title;
19
19
  var default_icon = ['https://files.ztocwst.com/download/89fb80d693c944a6869ec7feebe52190?isShow=true', 'https://files.ztocwst.com/download/35a8882582ef4266bc6aa922f98af96d?isShow=true', 'https://files.ztocwst.com/download/acf1cc3e1017448e8e2fdda4a35192a9?isShow=true', 'https://files.ztocwst.com/download/84a129b849c44055805733006e4735f9?isShow=true', 'https://files.ztocwst.com/download/41b03e45529b41c9af719e7a173b4668?isShow=true', 'https://files.ztocwst.com/download/8108cbac76d74e2aa5cf4e28bd7202a1?isShow=true', 'https://files.ztocwst.com/download/cae129c2a0ee49558a39f84ce2d966d2?isShow=true', 'https://files.ztocwst.com/download/82e7c9a4804046208b2014c74ef11a05?isShow=true', 'https://files.ztocwst.com/download/e95740589263405d86c8e11ff3a7631d?isShow=true'];
20
20
  var ZRankingList = function ZRankingList(props) {
@@ -102,7 +102,6 @@ var ZRankingList = function ZRankingList(props) {
102
102
  // return data;
103
103
  // }
104
104
  };
105
-
106
105
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Title, {
107
106
  level: 4
108
107
  }, name || ''), /*#__PURE__*/React.createElement(_table["default"], {
@@ -116,5 +115,4 @@ var ZRankingList = function ZRankingList(props) {
116
115
  }
117
116
  }));
118
117
  };
119
- var _default = ZRankingList;
120
- exports["default"] = _default;
118
+ var _default = exports["default"] = ZRankingList;
@@ -1,3 +1,3 @@
1
- import ZSimpleBar from './z-simple-bar';
2
- export type { TypeZSimpleBarProps } from './z-simple-bar';
3
- export default ZSimpleBar;
1
+ import ZSimpleBar from './z-simple-bar';
2
+ export type { TypeZSimpleBarProps } from './z-simple-bar';
3
+ export default ZSimpleBar;
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  exports.__esModule = true;
5
5
  exports["default"] = void 0;
6
6
  var _zSimpleBar = _interopRequireDefault(require("./z-simple-bar"));
7
- var _default = _zSimpleBar["default"];
8
- exports["default"] = _default;
7
+ var _default = exports["default"] = _zSimpleBar["default"];
@@ -1,9 +1,9 @@
1
- .z-simple-bar {
2
- .bar-item {
3
- margin-bottom: 20px;
4
-
5
- &:last-child {
6
- margin-bottom: 0;
7
- }
8
- }
9
- }
1
+ .z-simple-bar {
2
+ .bar-item {
3
+ margin-bottom: 20px;
4
+
5
+ &:last-child {
6
+ margin-bottom: 0;
7
+ }
8
+ }
9
+ }
@@ -1,27 +1,27 @@
1
- /// <reference types="react" />
2
- import { ProgressProps } from 'antd';
3
- import './index.less';
4
- export interface TypeZSimpleBarProps extends Omit<ProgressProps, 'format'> {
5
- /** 数据源 */
6
- data: any[];
7
- /** 行key */
8
- rowKey?: string;
9
- /**
10
- * 双行显示
11
- * @type boolean
12
- * @default false
13
- */
14
- wrap?: boolean;
15
- /** 标题字段 */
16
- titleField?: string | ((v: any, index: number) => React.ReactNode);
17
- /** 值字段 */
18
- valueField?: string | ((v: any, index: number) => React.ReactNode);
19
- /** 百分比字段 */
20
- percentField?: string | ((v: any, index: number) => React.ReactNode);
21
- /** 百分比内容格式化,中转其本身的format */
22
- format?: (percent: number, successPercent: number, item: any, index: number) => string;
23
- /** 单号显示间距 */
24
- gap?: number;
25
- }
26
- declare const ZSimpleBar: (props: TypeZSimpleBarProps) => import("react").JSX.Element;
27
- export default ZSimpleBar;
1
+ /// <reference types="react" />
2
+ import { ProgressProps } from 'antd';
3
+ import './index.less';
4
+ export interface TypeZSimpleBarProps extends Omit<ProgressProps, 'format'> {
5
+ /** 数据源 */
6
+ data: any[];
7
+ /** 行key */
8
+ rowKey?: string;
9
+ /**
10
+ * 双行显示
11
+ * @type boolean
12
+ * @default false
13
+ */
14
+ wrap?: boolean;
15
+ /** 标题字段 */
16
+ titleField?: string | ((v: any, index: number) => React.ReactNode);
17
+ /** 值字段 */
18
+ valueField?: string | ((v: any, index: number) => React.ReactNode);
19
+ /** 百分比字段 */
20
+ percentField?: string | ((v: any, index: number) => React.ReactNode);
21
+ /** 百分比内容格式化,中转其本身的format */
22
+ format?: (percent: number, successPercent: number, item: any, index: number) => string;
23
+ /** 单号显示间距 */
24
+ gap?: number;
25
+ }
26
+ declare const ZSimpleBar: (props: TypeZSimpleBarProps) => JSX.Element;
27
+ export default ZSimpleBar;
@@ -100,5 +100,4 @@ var ZSimpleBar = function ZSimpleBar(props) {
100
100
  } : {}, rest));
101
101
  }));
102
102
  };
103
- var _default = ZSimpleBar;
104
- exports["default"] = _default;
103
+ var _default = exports["default"] = ZSimpleBar;
@@ -1,2 +1,2 @@
1
- import ZSingerFactory from './zSingerFactory';
2
- export default ZSingerFactory;
1
+ import ZSingerFactory from './zSingerFactory';
2
+ export default ZSingerFactory;
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  exports.__esModule = true;
5
5
  exports["default"] = void 0;
6
6
  var _zSingerFactory = _interopRequireDefault(require("./zSingerFactory"));
7
- var _default = _zSingerFactory["default"];
8
- exports["default"] = _default;
7
+ var _default = exports["default"] = _zSingerFactory["default"];
@@ -1,3 +1,2 @@
1
- import * as React from 'react';
2
- declare const ZSingerFactory: (props: any) => React.JSX.Element;
3
- export default ZSingerFactory;
1
+ declare const ZSingerFactory: (props: any) => JSX.Element;
2
+ export default ZSingerFactory;
@@ -5,12 +5,11 @@ exports["default"] = void 0;
5
5
  var React = _interopRequireWildcard(require("react"));
6
6
  var _rcPro = require("@ztocwst/rc-pro");
7
7
  var _utils = require("../../utils");
8
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
9
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
8
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
9
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
10
10
  var ZSingerFactory = function ZSingerFactory(props) {
11
11
  var singleFactoryProps = props.singleFactoryProps;
12
12
  var factoryProps = (0, _utils.processWarehouseAndFactoryProps)(singleFactoryProps);
13
13
  return /*#__PURE__*/React.createElement(_rcPro.SingleFactory, factoryProps);
14
14
  };
15
- var _default = ZSingerFactory;
16
- exports["default"] = _default;
15
+ var _default = exports["default"] = ZSingerFactory;
@@ -0,0 +1,3 @@
1
+ import ZSlick from './slick';
2
+ export type { TypeZSlickProps } from './slick';
3
+ export default ZSlick;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports["default"] = void 0;
6
+ var _slick = _interopRequireDefault(require("./slick"));
7
+ var _default = exports["default"] = _slick["default"];
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ export interface TypeZSlickProps {
3
+ /** 自动切换 */
4
+ autoplay: boolean;
5
+ /** 面板指示点位置 */
6
+ dotPosition: 'top' | 'bottom' | 'left' | 'right';
7
+ /** 是否显示面板指示点 */
8
+ dots: boolean | {
9
+ className?: string;
10
+ };
11
+ /** 动画效果 */
12
+ easing: string;
13
+ /** 动画效果函数 */
14
+ effect: 'scrollx' | 'fade';
15
+ /** 是否无线循环 */
16
+ infinite: boolean;
17
+ /** 显示几张幻灯片 */
18
+ slidesToShow: number;
19
+ /** 一次滚动几张 */
20
+ slidesToScroll: number;
21
+ /** 是否垂直切换 */
22
+ vertical: boolean;
23
+ /** 自动播放速度 */
24
+ speed: number;
25
+ /** 自动滚动的延迟,默认3000ms */
26
+ autoplaySpeed: number;
27
+ /** 鼠标悬停暂停切换 */
28
+ pauseOnHover: boolean;
29
+ /** 电梯模式 */
30
+ centerMode: boolean;
31
+ /** centerPadding */
32
+ centerPadding: string;
33
+ rows?: number;
34
+ slidesPerRow?: number;
35
+ /** 切换面板的回调 */
36
+ afterChange: (current: any) => void;
37
+ /** 切换面板的回调 */
38
+ beforeChange: (from: any, to: any) => void;
39
+ children: React.ReactChild;
40
+ restProps?: any;
41
+ }
42
+ export default class ZSlickContainer extends React.Component<TypeZSlickProps, any> {
43
+ slickRef: any;
44
+ constructor(props: any);
45
+ getRef: () => any;
46
+ render(): JSX.Element;
47
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports["default"] = void 0;
6
+ var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
7
+ var _carousel = _interopRequireDefault(require("antd/lib/carousel"));
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
10
+ var _react = _interopRequireDefault(require("react"));
11
+ var _excluded = ["children", "restProps"];
12
+ var ZSlick = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
13
+ var children = props.children,
14
+ restProps = props.restProps,
15
+ rest = (0, _objectWithoutPropertiesLoose2["default"])(props, _excluded);
16
+ return /*#__PURE__*/_react["default"].createElement(_carousel["default"], (0, _extends2["default"])({
17
+ ref: ref
18
+ }, rest, typeof restProps === 'function' ? restProps() : restProps), children);
19
+ });
20
+ var ZSlickContainer = exports["default"] = /*#__PURE__*/function (_React$Component) {
21
+ function ZSlickContainer(props) {
22
+ var _this;
23
+ _this = _React$Component.call(this, props) || this;
24
+ _this.slickRef = void 0;
25
+ _this.getRef = function () {
26
+ return _this.slickRef.current;
27
+ };
28
+ _this.slickRef = /*#__PURE__*/_react["default"].createRef();
29
+ return _this;
30
+ }
31
+ (0, _inheritsLoose2["default"])(ZSlickContainer, _React$Component);
32
+ var _proto = ZSlickContainer.prototype;
33
+ _proto.render = function render() {
34
+ return /*#__PURE__*/_react["default"].createElement(ZSlick, (0, _extends2["default"])({}, this.props, {
35
+ ref: this.slickRef
36
+ }));
37
+ };
38
+ return ZSlickContainer;
39
+ }(_react["default"].Component);
@@ -1,3 +1,3 @@
1
- import ZStatistic from './z-statistic';
2
- export type { TypeZStatisticProps } from './z-statistic';
3
- export default ZStatistic;
1
+ import ZStatistic from './z-statistic';
2
+ export type { TypeZStatisticProps } from './z-statistic';
3
+ export default ZStatistic;
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  exports.__esModule = true;
5
5
  exports["default"] = void 0;
6
6
  var _zStatistic = _interopRequireDefault(require("./z-statistic"));
7
- var _default = _zStatistic["default"];
8
- exports["default"] = _default;
7
+ var _default = exports["default"] = _zStatistic["default"];
@@ -1,22 +1,22 @@
1
- .statistic-wrap {
2
- display: flex;
3
- flex-direction: row;
4
-
5
- .statistic-title-suffix {
6
- margin-left: 4px;
7
- }
8
-
9
- .statistic-left {
10
- flex: 1;
11
- }
12
-
13
- .statistic-right {
14
- text-align: right;
15
- }
16
-
17
- .statistic-right-title-extra {
18
- margin-bottom: 4px;
19
- font-size: 14px;
20
- min-height: 22px;
21
- }
22
- }
1
+ .statistic-wrap {
2
+ display: flex;
3
+ flex-direction: row;
4
+
5
+ .statistic-title-suffix {
6
+ margin-left: 4px;
7
+ }
8
+
9
+ .statistic-left {
10
+ flex: 1;
11
+ }
12
+
13
+ .statistic-right {
14
+ text-align: right;
15
+ }
16
+
17
+ .statistic-right-title-extra {
18
+ margin-bottom: 4px;
19
+ font-size: 14px;
20
+ min-height: 22px;
21
+ }
22
+ }
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
2
- import { StatisticProps } from 'antd';
3
- import './index.less';
4
- export interface TypeZStatisticProps extends StatisticProps {
5
- /** 标题后缀 */
6
- titleSuffix?: string | React.ReactNode;
7
- /** 标题附加内容 */
8
- titleExtra?: string | React.ReactNode;
9
- /** 值附加内容 */
10
- valueExtra?: string | React.ReactNode;
11
- }
12
- declare const ZStatistic: (props: TypeZStatisticProps) => import("react").JSX.Element;
13
- export default ZStatistic;
1
+ /// <reference types="react" />
2
+ import { StatisticProps } from 'antd';
3
+ import './index.less';
4
+ export interface TypeZStatisticProps extends StatisticProps {
5
+ /** 标题后缀 */
6
+ titleSuffix?: string | React.ReactNode;
7
+ /** 标题附加内容 */
8
+ titleExtra?: string | React.ReactNode;
9
+ /** 值附加内容 */
10
+ valueExtra?: string | React.ReactNode;
11
+ }
12
+ declare const ZStatistic: (props: TypeZStatisticProps) => JSX.Element;
13
+ export default ZStatistic;
@@ -31,5 +31,4 @@ var ZStatistic = function ZStatistic(props) {
31
31
  className: "statistic-right-title-extra"
32
32
  }, titleExtra), /*#__PURE__*/React.createElement("div", null, valueExtra)) : null);
33
33
  };
34
- var _default = ZStatistic;
35
- exports["default"] = _default;
34
+ var _default = exports["default"] = ZStatistic;
@@ -1,3 +1,3 @@
1
- import ZTable from './table';
2
- export type { ProTableProps } from '@ztocwst/rc-pro';
3
- export default ZTable;
1
+ import ZTable from './table';
2
+ export type { ProTableProps } from '@ztocwst/rc-pro';
3
+ export default ZTable;
@@ -4,5 +4,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  exports.__esModule = true;
5
5
  exports["default"] = void 0;
6
6
  var _table = _interopRequireDefault(require("./table"));
7
- var _default = _table["default"];
8
- exports["default"] = _default;
7
+ var _default = exports["default"] = _table["default"];
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- import type { ProTableProps } from '@ztocwst/rc-pro';
3
- export default class ZTableContainer extends React.Component<ProTableProps, any> {
4
- tableRef: any;
5
- constructor(props: any);
6
- getTableRef: () => any;
7
- render(): React.JSX.Element;
8
- }
1
+ import * as React from 'react';
2
+ import type { ProTableProps } from '@ztocwst/rc-pro';
3
+ export default class ZTableContainer extends React.Component<ProTableProps, any> {
4
+ tableRef: any;
5
+ constructor(props: any);
6
+ getTableRef: () => any;
7
+ render(): JSX.Element;
8
+ }
@@ -8,8 +8,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
8
8
  var React = _interopRequireWildcard(require("react"));
9
9
  var _rcPro = require("@ztocwst/rc-pro");
10
10
  var _utils = require("../../utils");
11
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
13
  var ZTable = /*#__PURE__*/React.forwardRef(function (props, ref) {
14
14
  var _props = (0, _utils.processMicroSwitchProps)(props, ref);
15
15
  return /*#__PURE__*/React.createElement(_rcPro.ProTable, (0, _extends2["default"])({
@@ -19,8 +19,7 @@ var ZTable = /*#__PURE__*/React.forwardRef(function (props, ref) {
19
19
  key: Date.now()
20
20
  } : {}));
21
21
  });
22
- var ZTableContainer = /*#__PURE__*/function (_React$Component) {
23
- (0, _inheritsLoose2["default"])(ZTableContainer, _React$Component);
22
+ var ZTableContainer = exports["default"] = /*#__PURE__*/function (_React$Component) {
24
23
  function ZTableContainer(props) {
25
24
  var _this;
26
25
  _this = _React$Component.call(this, props) || this;
@@ -31,6 +30,7 @@ var ZTableContainer = /*#__PURE__*/function (_React$Component) {
31
30
  _this.tableRef = /*#__PURE__*/React.createRef();
32
31
  return _this;
33
32
  }
33
+ (0, _inheritsLoose2["default"])(ZTableContainer, _React$Component);
34
34
  var _proto = ZTableContainer.prototype;
35
35
  _proto.render = function render() {
36
36
  return /*#__PURE__*/React.createElement(ZTable, (0, _extends2["default"])({}, this.props, {
@@ -38,5 +38,4 @@ var ZTableContainer = /*#__PURE__*/function (_React$Component) {
38
38
  }));
39
39
  };
40
40
  return ZTableContainer;
41
- }(React.Component);
42
- exports["default"] = ZTableContainer;
41
+ }(React.Component);
@@ -1,14 +1,12 @@
1
- import React from 'react';
2
- import type { TypeZTemplatesDataCommonProps } from '../../data-common';
3
- import type { linkParamsType } from '../link-renderer';
4
- export interface ChartRendererProps {
5
- chartSetting?: Pick<TypeZTemplatesDataCommonProps, 'chartSetting'>;
6
- chartRenderRef?: React.Ref<{
7
- onLink: (v: linkParamsType) => void;
8
- queryChart: (v: Record<string, any>, d: string | undefined) => void;
9
- }>;
10
- /** 确认 */
11
- onConfirm?: () => void;
12
- }
13
- declare const ChartRenderer: ({ chartRenderRef, chartSetting, onConfirm }: ChartRendererProps) => JSX.Element | Pick<TypeZTemplatesDataCommonProps, "chartSetting">;
14
- export default ChartRenderer;
1
+ import React from 'react';
2
+ import type { DataTableInstance, DataTableProps } from '@ztocwst/rc-pro';
3
+ import type { tabsSettingProps } from '../../data-common';
4
+ export interface ChartRendererProps {
5
+ chartSetting?: DataTableProps | DataTableProps[] | React.ReactNode;
6
+ tabsSetting?: tabsSettingProps;
7
+ chartRenderRef?: React.Ref<DataTableInstance>;
8
+ /** 确认 */
9
+ onConfirm?: () => void;
10
+ }
11
+ declare const ChartRenderer: ({ chartRenderRef, tabsSetting, chartSetting, onConfirm }: ChartRendererProps) => any;
12
+ export default ChartRenderer;