@dckj-npm/dc-material 0.1.128 → 0.1.129

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 (337) hide show
  1. package/README.md +17 -17
  2. package/build/index.js +8 -8
  3. package/build/lowcode/assets-daily.json +13 -13
  4. package/build/lowcode/assets-dev.json +2 -2
  5. package/build/lowcode/assets-prod.json +13 -13
  6. package/build/lowcode/index.js +1 -1
  7. package/build/lowcode/meta.design.js +1 -1
  8. package/build/lowcode/meta.js +1 -1
  9. package/build/lowcode/preview.js +10 -10
  10. package/build/lowcode/render/default/view.css +1 -1
  11. package/build/lowcode/render/default/view.js +9 -9
  12. package/build/lowcode/view.css +1 -1
  13. package/build/lowcode/view.js +9 -9
  14. package/dist/BizComps.css +1 -1
  15. package/dist/BizComps.js +5 -5
  16. package/dist/BizComps.js.map +1 -1
  17. package/es/components/bottom-navigation/index.scss +24 -24
  18. package/es/components/button/index.js +2 -2
  19. package/es/components/button/index.scss +16 -16
  20. package/es/components/carousel/carousel.scss +32 -32
  21. package/es/components/colorful-button/index.scss +5 -5
  22. package/es/components/colorful-input/index.scss +5 -5
  23. package/es/components/goods-card-list/goods-card-list-common.scss +118 -118
  24. package/es/components/goods-card-list/goods-card-list.scss +112 -112
  25. package/es/components/grid-nav/index.scss +41 -41
  26. package/es/components/integral-task/index.js +2 -2
  27. package/es/components/integral-task/index.scss +35 -35
  28. package/es/components/menu-list/index.js +2 -2
  29. package/es/components/menu-list/index.scss +16 -16
  30. package/es/components/menu-list/menu-list-item.scss +49 -49
  31. package/es/components/message-list/index.js +2 -2
  32. package/es/components/message-list/index.scss +22 -22
  33. package/es/components/message-list/message-list-item.js +2 -2
  34. package/es/components/message-list/message-list-item.scss +60 -60
  35. package/es/components/notice-bar/components/ScrollSwitcher.js +45 -0
  36. package/es/components/notice-bar/components/ScrollSwitcher.scss +17 -0
  37. package/es/components/notice-bar/index.scss +42 -59
  38. package/es/components/notice-bar/notice-bar-item.js +2 -5
  39. package/es/components/notice-bar/notice-bar-item.scss +26 -26
  40. package/es/components/notice-bar/notice-bar.js +51 -15
  41. package/es/components/position/index.scss +27 -27
  42. package/es/components/position/position-list.js +3 -2
  43. package/es/components/radio-group/index.js +2 -2
  44. package/es/components/radio-group/index.scss +40 -40
  45. package/es/components/rich-text/index.js +2 -2
  46. package/es/components/rich-text/index.scss +19 -19
  47. package/es/components/search-bar/index.scss +13 -14
  48. package/es/components/swiper/index.scss +12 -33
  49. package/es/components/swiper/swiper.js +16 -59
  50. package/es/components/tab/index.js +2 -2
  51. package/es/components/tab/index.scss +39 -39
  52. package/es/components/tab-container/index.scss +47 -47
  53. package/es/components/tag/index.js +2 -2
  54. package/es/components/tag/index.scss +24 -24
  55. package/es/components/teletext-list/index.js +2 -2
  56. package/es/components/teletext-list/index.scss +19 -19
  57. package/es/components/teletext-list/teletext-list-item.js +2 -2
  58. package/es/components/teletext-list/teletext-list-item.scss +55 -57
  59. package/es/components/teletext-list/teletext-list.js +2 -2
  60. package/es/components/title/index.js +2 -2
  61. package/es/components/title/title-1.scss +25 -25
  62. package/es/components/title/title-2.scss +22 -22
  63. package/es/index.js +0 -4
  64. package/es/index.scss +5 -5
  65. package/es/utils/children-node-handle.js +7 -7
  66. package/es/utils/time-util.js +3 -3
  67. package/es/variables.scss +3 -3
  68. package/lib/components/bottom-navigation/index.scss +24 -24
  69. package/lib/components/button/index.js +2 -2
  70. package/lib/components/button/index.scss +16 -16
  71. package/lib/components/carousel/carousel.scss +32 -32
  72. package/lib/components/colorful-button/index.scss +5 -5
  73. package/lib/components/colorful-input/index.scss +5 -5
  74. package/lib/components/goods-card-list/goods-card-list-common.scss +118 -118
  75. package/lib/components/goods-card-list/goods-card-list.scss +112 -112
  76. package/lib/components/grid-nav/index.scss +41 -41
  77. package/lib/components/integral-task/index.js +2 -2
  78. package/lib/components/integral-task/index.scss +35 -35
  79. package/lib/components/menu-list/index.js +2 -2
  80. package/lib/components/menu-list/index.scss +16 -16
  81. package/lib/components/menu-list/menu-list-item.scss +49 -49
  82. package/lib/components/message-list/index.js +2 -2
  83. package/lib/components/message-list/index.scss +22 -22
  84. package/lib/components/message-list/message-list-item.js +2 -2
  85. package/lib/components/message-list/message-list-item.scss +60 -60
  86. package/lib/components/notice-bar/components/ScrollSwitcher.js +52 -0
  87. package/lib/components/notice-bar/components/ScrollSwitcher.scss +17 -0
  88. package/lib/components/notice-bar/index.scss +42 -59
  89. package/lib/components/notice-bar/notice-bar-item.js +2 -5
  90. package/lib/components/notice-bar/notice-bar-item.scss +26 -26
  91. package/lib/components/notice-bar/notice-bar.js +53 -15
  92. package/lib/components/position/index.scss +27 -27
  93. package/lib/components/position/position-list.js +3 -2
  94. package/lib/components/radio-group/index.scss +40 -40
  95. package/lib/components/rich-text/index.scss +19 -19
  96. package/lib/components/search-bar/index.scss +13 -14
  97. package/lib/components/swiper/index.scss +12 -33
  98. package/lib/components/swiper/swiper.js +19 -60
  99. package/lib/components/tab/index.js +2 -2
  100. package/lib/components/tab/index.scss +39 -39
  101. package/lib/components/tab-container/index.scss +47 -47
  102. package/lib/components/tag/index.js +2 -2
  103. package/lib/components/tag/index.scss +24 -24
  104. package/lib/components/teletext-list/index.scss +19 -19
  105. package/lib/components/teletext-list/teletext-list-item.js +2 -2
  106. package/lib/components/teletext-list/teletext-list-item.scss +55 -57
  107. package/lib/components/teletext-list/teletext-list.js +2 -2
  108. package/lib/components/title/title-1.scss +25 -25
  109. package/lib/components/title/title-2.scss +22 -22
  110. package/lib/index.js +1 -5
  111. package/lib/index.scss +5 -5
  112. package/lib/utils/children-node-handle.js +7 -7
  113. package/lib/utils/time-util.js +3 -3
  114. package/lib/variables.scss +3 -3
  115. package/lowcode/button2/meta.ts +76 -76
  116. package/lowcode/custom-radio-group/meta.ts +312 -312
  117. package/lowcode/custom-radio-group-item/meta.ts +230 -230
  118. package/lowcode/d-c-form/meta.ts +62 -0
  119. package/lowcode/d-c-slider/meta.design.ts +174 -174
  120. package/lowcode/d-c-slider/meta.ts +343 -343
  121. package/lowcode/d-c-slider/snippets.ts +68 -68
  122. package/lowcode/goods-card-list/meta.ts +270 -270
  123. package/lowcode/goods-card-list-common/meta.ts +270 -270
  124. package/lowcode/grid-nav/meta.ts +227 -227
  125. package/lowcode/integral-task/meta.ts +212 -212
  126. package/lowcode/menu-list/meta.ts +154 -154
  127. package/lowcode/message-list/meta.ts +209 -209
  128. package/lowcode/navigation/meta.ts +177 -177
  129. package/lowcode/notice-bar/meta.ts +230 -230
  130. package/lowcode/position/meta.ts +162 -162
  131. package/lowcode/rich-text/meta.ts +72 -72
  132. package/lowcode/search-bar/meta.ts +57 -57
  133. package/lowcode/stream-list/meta.ts +209 -209
  134. package/lowcode/swiper/meta.ts +236 -236
  135. package/lowcode/tab-container/meta.ts +71 -71
  136. package/lowcode/tab-container/props.ts +194 -194
  137. package/lowcode/tab-container-item/meta.ts +195 -195
  138. package/lowcode/tab-message/meta.ts +105 -105
  139. package/lowcode/tag-c/meta.ts +76 -76
  140. package/lowcode/teletext-list/meta.ts +332 -332
  141. package/lowcode/title1/meta.ts +60 -60
  142. package/lowcode/title2/meta.ts +94 -94
  143. package/lowcode_es/button2/meta.d.ts +22 -22
  144. package/lowcode_es/custom-radio-group/meta.d.ts +22 -22
  145. package/lowcode_es/custom-radio-group-item/meta.d.ts +23 -23
  146. package/lowcode_es/d-c-form/meta.d.ts +22 -0
  147. package/lowcode_es/d-c-form/meta.js +64 -0
  148. package/lowcode_es/d-c-slider/meta.d.ts +150 -150
  149. package/lowcode_es/d-c-slider/meta.design.d.ts +101 -101
  150. package/lowcode_es/d-c-slider/snippets.d.ts +36 -36
  151. package/lowcode_es/goods-card-list/meta.d.ts +22 -22
  152. package/lowcode_es/goods-card-list-common/meta.d.ts +22 -22
  153. package/lowcode_es/grid-nav/meta.d.ts +22 -22
  154. package/lowcode_es/integral-task/meta.d.ts +22 -22
  155. package/lowcode_es/menu-list/meta.d.ts +22 -22
  156. package/lowcode_es/message-list/meta.d.ts +22 -22
  157. package/lowcode_es/meta.js +27 -26
  158. package/lowcode_es/navigation/meta.d.ts +22 -22
  159. package/lowcode_es/notice-bar/meta.d.ts +22 -22
  160. package/lowcode_es/position/meta.d.ts +22 -22
  161. package/lowcode_es/rich-text/meta.d.ts +22 -22
  162. package/lowcode_es/search-bar/meta.d.ts +22 -22
  163. package/lowcode_es/stream-list/meta.d.ts +22 -22
  164. package/lowcode_es/swiper/meta.d.ts +22 -22
  165. package/lowcode_es/tab-container/meta.d.ts +22 -22
  166. package/lowcode_es/tab-container/props.d.ts +90 -90
  167. package/lowcode_es/tab-container-item/meta.d.ts +22 -22
  168. package/lowcode_es/tab-message/meta.d.ts +22 -22
  169. package/lowcode_es/tag-c/meta.d.ts +22 -22
  170. package/lowcode_es/teletext-list/meta.d.ts +22 -22
  171. package/lowcode_es/title1/meta.d.ts +22 -22
  172. package/lowcode_es/title2/meta.d.ts +22 -22
  173. package/lowcode_es/view.js +3 -3
  174. package/lowcode_lib/button2/meta.d.ts +22 -22
  175. package/lowcode_lib/custom-radio-group/meta.d.ts +22 -22
  176. package/lowcode_lib/custom-radio-group-item/meta.d.ts +23 -23
  177. package/lowcode_lib/d-c-form/meta.d.ts +22 -0
  178. package/lowcode_lib/d-c-form/meta.js +69 -0
  179. package/lowcode_lib/d-c-slider/meta.d.ts +150 -150
  180. package/lowcode_lib/d-c-slider/meta.design.d.ts +101 -101
  181. package/lowcode_lib/d-c-slider/snippets.d.ts +36 -36
  182. package/lowcode_lib/goods-card-list/meta.d.ts +22 -22
  183. package/lowcode_lib/goods-card-list-common/meta.d.ts +22 -22
  184. package/lowcode_lib/grid-nav/meta.d.ts +22 -22
  185. package/lowcode_lib/integral-task/meta.d.ts +22 -22
  186. package/lowcode_lib/menu-list/meta.d.ts +22 -22
  187. package/lowcode_lib/message-list/meta.d.ts +22 -22
  188. package/lowcode_lib/meta.js +27 -26
  189. package/lowcode_lib/navigation/meta.d.ts +22 -22
  190. package/lowcode_lib/notice-bar/meta.d.ts +22 -22
  191. package/lowcode_lib/position/meta.d.ts +22 -22
  192. package/lowcode_lib/rich-text/meta.d.ts +22 -22
  193. package/lowcode_lib/search-bar/meta.d.ts +22 -22
  194. package/lowcode_lib/stream-list/meta.d.ts +22 -22
  195. package/lowcode_lib/swiper/meta.d.ts +22 -22
  196. package/lowcode_lib/tab-container/meta.d.ts +22 -22
  197. package/lowcode_lib/tab-container/props.d.ts +90 -90
  198. package/lowcode_lib/tab-container-item/meta.d.ts +22 -22
  199. package/lowcode_lib/tab-message/meta.d.ts +22 -22
  200. package/lowcode_lib/tag-c/meta.d.ts +22 -22
  201. package/lowcode_lib/teletext-list/meta.d.ts +22 -22
  202. package/lowcode_lib/title1/meta.d.ts +22 -22
  203. package/lowcode_lib/title2/meta.d.ts +22 -22
  204. package/lowcode_lib/view.js +2 -2
  205. package/package.json +2 -2
  206. package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -15
  207. package/es/components/bottom-navigation/index.d.ts +0 -3
  208. package/es/components/button/button.d.ts +0 -14
  209. package/es/components/button/index.d.ts +0 -6
  210. package/es/components/carousel/carousel.d.ts +0 -14
  211. package/es/components/colorful-button/colorful-button.d.ts +0 -12
  212. package/es/components/colorful-button/index.d.ts +0 -3
  213. package/es/components/colorful-input/colorful-input.d.ts +0 -8
  214. package/es/components/colorful-input/index.d.ts +0 -3
  215. package/es/components/goods-card-list/goods-card-list-common.d.ts +0 -5
  216. package/es/components/goods-card-list/goods-card-list.d.ts +0 -5
  217. package/es/components/goods-card-list/index.d.ts +0 -4
  218. package/es/components/goods-card-list/types.d.ts +0 -45
  219. package/es/components/grid-nav/grid-nav.d.ts +0 -13
  220. package/es/components/grid-nav/index.d.ts +0 -3
  221. package/es/components/integral-task/index.d.ts +0 -6
  222. package/es/components/integral-task/integral-task.d.ts +0 -40
  223. package/es/components/menu-list/index.d.ts +0 -6
  224. package/es/components/menu-list/menu-list-item.d.ts +0 -5
  225. package/es/components/menu-list/menu-list.d.ts +0 -5
  226. package/es/components/menu-list/types.d.ts +0 -23
  227. package/es/components/message-list/index.d.ts +0 -6
  228. package/es/components/message-list/message-list-item.d.ts +0 -33
  229. package/es/components/message-list/message-list.d.ts +0 -28
  230. package/es/components/notice-bar/index.d.ts +0 -3
  231. package/es/components/notice-bar/notice-bar-item.d.ts +0 -18
  232. package/es/components/notice-bar/notice-bar.d.ts +0 -37
  233. package/es/components/position/entity.d.ts +0 -5
  234. package/es/components/position/index.d.ts +0 -3
  235. package/es/components/position/position-left.d.ts +0 -9
  236. package/es/components/position/position-list.d.ts +0 -11
  237. package/es/components/position/position.d.ts +0 -8
  238. package/es/components/radio-group/index.d.ts +0 -8
  239. package/es/components/radio-group/radio-group-item.d.ts +0 -48
  240. package/es/components/radio-group/radio-group.d.ts +0 -52
  241. package/es/components/rich-text/index.d.ts +0 -6
  242. package/es/components/rich-text/rich-text.d.ts +0 -14
  243. package/es/components/search-bar/index.d.ts +0 -3
  244. package/es/components/search-bar/search-bar.d.ts +0 -7
  245. package/es/components/stream-list/index.d.ts +0 -6
  246. package/es/components/stream-list/index.js +0 -6
  247. package/es/components/stream-list/index.scss +0 -26
  248. package/es/components/stream-list/stream-list.d.ts +0 -54
  249. package/es/components/stream-list/stream-list.js +0 -159
  250. package/es/components/swiper/index.d.ts +0 -3
  251. package/es/components/swiper/swiper.d.ts +0 -26
  252. package/es/components/tab/index.d.ts +0 -6
  253. package/es/components/tab/tab.d.ts +0 -27
  254. package/es/components/tab-container/index.d.ts +0 -3
  255. package/es/components/tab-container/tab-container.d.ts +0 -10
  256. package/es/components/tab-container-item/index.d.ts +0 -3
  257. package/es/components/tab-container-item/tab-container-item.d.ts +0 -11
  258. package/es/components/tag/index.d.ts +0 -6
  259. package/es/components/tag/tag.d.ts +0 -14
  260. package/es/components/teletext-list/index.d.ts +0 -6
  261. package/es/components/teletext-list/teletext-list-item.d.ts +0 -33
  262. package/es/components/teletext-list/teletext-list.d.ts +0 -52
  263. package/es/components/title/index.d.ts +0 -8
  264. package/es/components/title/title-1.d.ts +0 -10
  265. package/es/components/title/title-2.d.ts +0 -18
  266. package/es/index.d.ts +0 -44
  267. package/es/utils/children-node-handle.d.ts +0 -9
  268. package/es/utils/component-wrapper.d.ts +0 -9
  269. package/es/utils/debounce.d.ts +0 -1
  270. package/es/utils/time-util.d.ts +0 -5
  271. package/es/variables.d.ts +0 -2
  272. package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -15
  273. package/lib/components/bottom-navigation/index.d.ts +0 -3
  274. package/lib/components/button/button.d.ts +0 -14
  275. package/lib/components/button/index.d.ts +0 -6
  276. package/lib/components/carousel/carousel.d.ts +0 -14
  277. package/lib/components/colorful-button/colorful-button.d.ts +0 -12
  278. package/lib/components/colorful-button/index.d.ts +0 -3
  279. package/lib/components/colorful-input/colorful-input.d.ts +0 -8
  280. package/lib/components/colorful-input/index.d.ts +0 -3
  281. package/lib/components/goods-card-list/goods-card-list-common.d.ts +0 -5
  282. package/lib/components/goods-card-list/goods-card-list.d.ts +0 -5
  283. package/lib/components/goods-card-list/index.d.ts +0 -4
  284. package/lib/components/goods-card-list/types.d.ts +0 -45
  285. package/lib/components/grid-nav/grid-nav.d.ts +0 -13
  286. package/lib/components/grid-nav/index.d.ts +0 -3
  287. package/lib/components/integral-task/index.d.ts +0 -6
  288. package/lib/components/integral-task/integral-task.d.ts +0 -40
  289. package/lib/components/menu-list/index.d.ts +0 -6
  290. package/lib/components/menu-list/menu-list-item.d.ts +0 -5
  291. package/lib/components/menu-list/menu-list.d.ts +0 -5
  292. package/lib/components/menu-list/types.d.ts +0 -23
  293. package/lib/components/message-list/index.d.ts +0 -6
  294. package/lib/components/message-list/message-list-item.d.ts +0 -33
  295. package/lib/components/message-list/message-list.d.ts +0 -28
  296. package/lib/components/notice-bar/index.d.ts +0 -3
  297. package/lib/components/notice-bar/notice-bar-item.d.ts +0 -18
  298. package/lib/components/notice-bar/notice-bar.d.ts +0 -37
  299. package/lib/components/position/entity.d.ts +0 -5
  300. package/lib/components/position/index.d.ts +0 -3
  301. package/lib/components/position/position-left.d.ts +0 -9
  302. package/lib/components/position/position-list.d.ts +0 -11
  303. package/lib/components/position/position.d.ts +0 -8
  304. package/lib/components/radio-group/index.d.ts +0 -8
  305. package/lib/components/radio-group/radio-group-item.d.ts +0 -48
  306. package/lib/components/radio-group/radio-group.d.ts +0 -52
  307. package/lib/components/rich-text/index.d.ts +0 -6
  308. package/lib/components/rich-text/rich-text.d.ts +0 -14
  309. package/lib/components/search-bar/index.d.ts +0 -3
  310. package/lib/components/search-bar/search-bar.d.ts +0 -7
  311. package/lib/components/stream-list/index.d.ts +0 -6
  312. package/lib/components/stream-list/index.js +0 -6
  313. package/lib/components/stream-list/index.scss +0 -26
  314. package/lib/components/stream-list/stream-list.d.ts +0 -54
  315. package/lib/components/stream-list/stream-list.js +0 -166
  316. package/lib/components/swiper/index.d.ts +0 -3
  317. package/lib/components/swiper/swiper.d.ts +0 -26
  318. package/lib/components/tab/index.d.ts +0 -6
  319. package/lib/components/tab/tab.d.ts +0 -27
  320. package/lib/components/tab-container/index.d.ts +0 -3
  321. package/lib/components/tab-container/tab-container.d.ts +0 -10
  322. package/lib/components/tab-container-item/index.d.ts +0 -3
  323. package/lib/components/tab-container-item/tab-container-item.d.ts +0 -11
  324. package/lib/components/tag/index.d.ts +0 -6
  325. package/lib/components/tag/tag.d.ts +0 -14
  326. package/lib/components/teletext-list/index.d.ts +0 -6
  327. package/lib/components/teletext-list/teletext-list-item.d.ts +0 -33
  328. package/lib/components/teletext-list/teletext-list.d.ts +0 -52
  329. package/lib/components/title/index.d.ts +0 -8
  330. package/lib/components/title/title-1.d.ts +0 -10
  331. package/lib/components/title/title-2.d.ts +0 -18
  332. package/lib/index.d.ts +0 -44
  333. package/lib/utils/children-node-handle.d.ts +0 -9
  334. package/lib/utils/component-wrapper.d.ts +0 -9
  335. package/lib/utils/debounce.d.ts +0 -1
  336. package/lib/utils/time-util.d.ts +0 -5
  337. package/lib/variables.d.ts +0 -2
@@ -1,3 +0,0 @@
1
- import Navigation from './bottom-navigation';
2
- export type { NavigationProps } from './bottom-navigation';
3
- export default Navigation;
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface ButtonProps {
4
- /**
5
- * 标签名称
6
- */
7
- name: string;
8
- /**
9
- * 标签颜色
10
- */
11
- color: string;
12
- }
13
- declare const Button: React.FC<ButtonProps>;
14
- export default Button;
@@ -1,6 +0,0 @@
1
- /**
2
- * 标签tag
3
- */
4
- import Button from './button';
5
- export type { ButtonProps } from './button';
6
- export default Button;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import './carousel.scss';
3
- export interface CarouselProps {
4
- /**
5
- * 图片列表
6
- */
7
- images: string[];
8
- /**
9
- * 定时播放的时间
10
- */
11
- interval?: number;
12
- }
13
- declare const Carousel: React.FC<CarouselProps>;
14
- export default Carousel;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface ColorfulButtonProps {
4
- /**
5
- * 类型
6
- */
7
- type?: "primary" | "secondary" | "normal";
8
- color?: string;
9
- style?: object;
10
- }
11
- declare const ColorfulButton: React.FC<ColorfulButtonProps>;
12
- export default ColorfulButton;
@@ -1,3 +0,0 @@
1
- import ColorfulButton from './colorful-button';
2
- export type { ColorfulButtonProps } from './colorful-button';
3
- export default ColorfulButton;
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface ColorfulInputProps {
4
- color?: string;
5
- style?: object;
6
- }
7
- declare const ColorfulInput: React.FC<ColorfulInputProps>;
8
- export default ColorfulInput;
@@ -1,3 +0,0 @@
1
- import ColorfulInput from './colorful-input';
2
- export type { ColorfulInputProps } from './colorful-input';
3
- export default ColorfulInput;
@@ -1,5 +0,0 @@
1
- import type { GoodsCardListProps } from './types';
2
- import React from 'react';
3
- import './goods-card-list-common.scss';
4
- declare const GoodsCardListCommon: React.FC<GoodsCardListProps>;
5
- export default GoodsCardListCommon;
@@ -1,5 +0,0 @@
1
- import type { GoodsCardListProps } from './types';
2
- import React from 'react';
3
- import './goods-card-list.scss';
4
- declare const GoodsCardList: React.FC<GoodsCardListProps>;
5
- export default GoodsCardList;
@@ -1,4 +0,0 @@
1
- import GoodsCardList from './goods-card-list';
2
- import GoodsCardListCommon from './goods-card-list-common';
3
- export type { GoodsCardListItemProps, GoodsCardListProps } from './types';
4
- export { GoodsCardList, GoodsCardListCommon };
@@ -1,45 +0,0 @@
1
- export interface GoodsCardListProps {
2
- /**
3
- * 卡片列表数据
4
- */
5
- dataList: GoodsCardListItemProps[];
6
- /**
7
- * 最大销量
8
- */
9
- maxSales?: number;
10
- /**
11
- * 点击事件
12
- * @param item
13
- */
14
- onClick?: (item: GoodsCardListItemProps) => void;
15
- }
16
- export interface GoodsCardListItemProps {
17
- /**
18
- * 唯一标识
19
- */
20
- key: string;
21
- /**
22
- * 缩略图列表
23
- */
24
- imageList: string[];
25
- /**
26
- * 标题
27
- */
28
- title: string;
29
- /**
30
- * 简介
31
- */
32
- desc: string;
33
- /**
34
- * 价格
35
- */
36
- price: string;
37
- /**
38
- * 促销价格
39
- */
40
- activePrice?: string;
41
- /**
42
- * 销量
43
- */
44
- sales: number;
45
- }
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- export interface GridNavProps {
3
- dataSourceSetting: [];
4
- columns: number;
5
- iconSize: string;
6
- fontWeight: string;
7
- fontSize: number;
8
- fontColor: string;
9
- lineHeight: string;
10
- lineNum: number;
11
- }
12
- declare const GridNav: React.ForwardRefExoticComponent<GridNavProps & React.RefAttributes<any>>;
13
- export default GridNav;
@@ -1,3 +0,0 @@
1
- import GridNav from "./grid-nav";
2
- export type { GridNavProps } from './grid-nav';
3
- export default GridNav;
@@ -1,6 +0,0 @@
1
- /**
2
- * 标签tag
3
- */
4
- import IntegralTask from './integral-task';
5
- export type { IntegralTaskProps } from './integral-task';
6
- export default IntegralTask;
@@ -1,40 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- interface DataProps {
4
- /**
5
- * 任务名称
6
- */
7
- name: string;
8
- /**
9
- * 积分
10
- */
11
- integral: number;
12
- /**
13
- * 状态 0 未完成 1 已完成
14
- */
15
- status: number;
16
- }
17
- export interface IntegralTaskProps {
18
- /**
19
- * 任务名称
20
- */
21
- list: DataProps[];
22
- /**
23
- * 图标
24
- */
25
- icon: string;
26
- /**
27
- * 图片
28
- */
29
- images: string[];
30
- /**
31
- * 完成文案
32
- */
33
- completeLabel: string;
34
- /**
35
- * 未完成文案
36
- */
37
- undoneLabel: string;
38
- }
39
- declare const IntegralTask: React.FC<IntegralTaskProps>;
40
- export default IntegralTask;
@@ -1,6 +0,0 @@
1
- /**
2
- * 菜单列表
3
- */
4
- import MenuList from './menu-list';
5
- export type { MenuListDataProps, MenuListProps } from './types';
6
- export default MenuList;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { MenuListDataProps } from "./types";
3
- import "./menu-list-item.scss";
4
- declare const MenuListItem: React.FC<MenuListDataProps>;
5
- export default MenuListItem;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import './index.scss';
3
- import { MenuListProps } from "./types";
4
- declare const MenuList: React.FC<MenuListProps>;
5
- export default MenuList;
@@ -1,23 +0,0 @@
1
- /**
2
- * 数据
3
- */
4
- export interface MenuListDataProps {
5
- /**
6
- * 菜单名称
7
- */
8
- title: string;
9
- /**
10
- * 菜单图标地址
11
- */
12
- iconUrl?: string;
13
- /**
14
- * 点击事件
15
- */
16
- handleClick?: Function;
17
- }
18
- export interface MenuListProps {
19
- /**
20
- * 数据
21
- */
22
- dataList?: MenuListDataProps[];
23
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * 消息列表
3
- */
4
- import MessageList from './message-list';
5
- export type { MessageListProps } from './message-list';
6
- export default MessageList;
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import './message-list-item.scss';
3
- /**
4
- * 数据
5
- */
6
- export interface DataProps {
7
- /**
8
- * 标题
9
- */
10
- title?: string;
11
- /**
12
- * 图片地址
13
- */
14
- image?: string;
15
- /**
16
- * 说明
17
- */
18
- description?: string;
19
- /**
20
- * 发布时间
21
- */
22
- gmtCreate?: string;
23
- /**
24
- * 点击事件
25
- */
26
- onClick?: (e: any) => void;
27
- /**
28
- * 是否已读
29
- */
30
- isRead?: boolean;
31
- }
32
- declare const MessageListItem: React.FC<DataProps>;
33
- export default MessageListItem;
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import './index.scss';
3
- import { DataProps } from './message-list-item';
4
- export interface MessageListProps {
5
- /**
6
- * 全部的数据
7
- */
8
- dataList?: DataProps[];
9
- /**
10
- * 点击事件
11
- * @param e
12
- */
13
- onClick?: (e: any) => void;
14
- /**
15
- * 子节点
16
- */
17
- children: React.ReactChild;
18
- /**
19
- * 图片
20
- */
21
- images: string[];
22
- /**
23
- * 切换数据源
24
- */
25
- handleDataList: (key: string) => DataProps[];
26
- }
27
- declare const MessageList: React.FC<MessageListProps>;
28
- export default MessageList;
@@ -1,3 +0,0 @@
1
- import NoticeBar from './notice-bar';
2
- export type { NoticeBarProps } from './notice-bar';
3
- export default NoticeBar;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import './notice-bar-item.scss';
3
- interface NoticeBarItemProps {
4
- /**
5
- * 内容
6
- */
7
- content?: string;
8
- /**
9
- * 发布时间
10
- */
11
- releaseTime?: string;
12
- /**
13
- * 是否置顶
14
- */
15
- isTop?: number;
16
- }
17
- declare const NoticeBarItem: React.FC<NoticeBarItemProps>;
18
- export default NoticeBarItem;
@@ -1,37 +0,0 @@
1
- import React from 'react';
2
- import './index.scss';
3
- interface DataProps {
4
- /**
5
- * 内容
6
- */
7
- content?: string;
8
- /**
9
- * 发布时间
10
- */
11
- releaseTime?: string;
12
- /**
13
- * 是否置顶
14
- */
15
- isTop?: number;
16
- }
17
- export interface NoticeBarProps {
18
- /**
19
- * 数据
20
- */
21
- dataList?: DataProps[];
22
- /**
23
- * 点击事件
24
- * @param e
25
- */
26
- onClick?: (e: any) => void;
27
- /**
28
- * 子节点
29
- */
30
- children: React.ReactChild;
31
- /**
32
- * 左侧图标
33
- */
34
- icon: string;
35
- }
36
- declare const NoticeBar: React.FC<NoticeBarProps>;
37
- export default NoticeBar;
@@ -1,5 +0,0 @@
1
- export interface Location {
2
- lat: string;
3
- lng: string;
4
- address: string;
5
- }
@@ -1,3 +0,0 @@
1
- import Position from './position';
2
- export type { LocationProps } from './position';
3
- export default Position;
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- import { Location } from "./entity";
4
- export interface LocationProps {
5
- currentLocation: Location;
6
- clickHandle: () => void;
7
- }
8
- declare const NavigationLeft: React.FC<LocationProps>;
9
- export default NavigationLeft;
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- import { Location } from "./position";
4
- interface LocationProps {
5
- itemArray: Location[];
6
- open: boolean;
7
- setIsOpen: () => void;
8
- setCurrent: (data: Location) => void;
9
- }
10
- declare const ContentList: React.FC<LocationProps>;
11
- export default ContentList;
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { Location } from "./entity";
3
- export interface LocationProps {
4
- itemArray: Location[];
5
- defaultLocation: Location;
6
- }
7
- declare const Navigation: React.FC<LocationProps>;
8
- export default Navigation;
@@ -1,8 +0,0 @@
1
- /**
2
- * 单选按钮组
3
- */
4
- import RadioGroup from './radio-group';
5
- import RadioGroupItem from './radio-group-item';
6
- export type { RadioGroupProps } from './radio-group';
7
- export type { RadioGroupItemProps } from './radio-group-item';
8
- export { RadioGroup as CustomRadioGroup, RadioGroupItem as CustomRadioGroupItem, };
@@ -1,48 +0,0 @@
1
- import React from 'react';
2
- import './index.scss';
3
- export type RadioGroupItemType = 'button' | 'text';
4
- export interface RadioGroupItemProps {
5
- /**
6
- * 选项
7
- */
8
- label: string;
9
- /**
10
- * 值
11
- */
12
- value: string;
13
- /**
14
- * 是否选中
15
- */
16
- checked: boolean;
17
- /**
18
- * 选中颜色
19
- */
20
- selectColor?: string;
21
- /**
22
- * 选中的文字颜色
23
- */
24
- selectTextColor?: string;
25
- /**
26
- * 未选中颜色
27
- */
28
- unSelectColor?: string;
29
- /**
30
- * 未选中的文字颜色
31
- */
32
- unSelectTextColor?: string;
33
- /**
34
- * 类型
35
- */
36
- type?: RadioGroupItemType;
37
- /**
38
- * 名称
39
- */
40
- name: string;
41
- /**
42
- * 改变事件
43
- * @param value
44
- */
45
- onChange: (value: string) => void;
46
- }
47
- declare const RadioGroupItem: React.FC<RadioGroupItemProps>;
48
- export default RadioGroupItem;
@@ -1,52 +0,0 @@
1
- import React from 'react';
2
- import './index.scss';
3
- export interface RadioType {
4
- label: string;
5
- value: string;
6
- }
7
- export type RadioGroupItemType = 'button' | 'text';
8
- export interface RadioGroupProps {
9
- /**
10
- * 选项
11
- */
12
- options: Array<RadioType>;
13
- /**
14
- * 默认值
15
- */
16
- defaultValue?: string;
17
- /**
18
- * 是否换行
19
- */
20
- isWrap?: boolean;
21
- /**
22
- * 选中颜色
23
- */
24
- selectColor?: string;
25
- /**
26
- * 选中的文字颜色
27
- */
28
- selectTextColor?: string;
29
- /**
30
- * 未选中颜色
31
- */
32
- unSelectColor?: string;
33
- /**
34
- * 未选中的文字颜色
35
- */
36
- unSelectTextColor?: string;
37
- /**
38
- * 改变事件
39
- * @param value
40
- */
41
- onChange?: (value: string) => void;
42
- /**
43
- * 类型
44
- */
45
- type?: RadioGroupItemType;
46
- /**
47
- * 名称
48
- */
49
- name?: string;
50
- }
51
- declare const RadioGroup: React.FC<RadioGroupProps>;
52
- export default RadioGroup;
@@ -1,6 +0,0 @@
1
- /**
2
- * 富文本
3
- */
4
- import RichText from './rich-text';
5
- export type { RichTextProps } from './rich-text';
6
- export { RichText, };
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.scss';
3
- interface DataProps {
4
- content?: string;
5
- }
6
- export interface RichTextProps {
7
- content?: string;
8
- dataList?: DataProps[];
9
- }
10
- declare const RichText: {
11
- (props: RichTextProps): JSX.Element;
12
- displayName: string;
13
- };
14
- export default RichText;
@@ -1,3 +0,0 @@
1
- import SearchBar from "./search-bar";
2
- export type { SearchBarProps } from './search-bar';
3
- export default SearchBar;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export interface SearchBarProps {
3
- defaultValue: string;
4
- onSearch: () => void;
5
- }
6
- declare const SearchBar: React.ForwardRefExoticComponent<SearchBarProps & React.RefAttributes<any>>;
7
- export default SearchBar;
@@ -1,6 +0,0 @@
1
- /**
2
- * 菜单列表
3
- */
4
- import StreamList from './stream-list';
5
- export type { StreamListProps } from './stream-list';
6
- export { StreamList };
@@ -1,6 +0,0 @@
1
- /**
2
- * 菜单列表
3
- */
4
-
5
- import StreamList from "./stream-list";
6
- export { StreamList };
@@ -1,26 +0,0 @@
1
- @import '../../variables.scss';
2
-
3
- .stream-list-container {
4
-
5
- .refresh-indicator {
6
- display: flex;
7
- align-items: center;
8
- justify-content: center;
9
- height: 40px;
10
- font-size: 14px;
11
- color: #333;
12
- pointer-events: none;
13
- }
14
-
15
- // 加载更多提示的样式
16
- .spin, .loading-text {
17
- display: flex;
18
- align-items: center;
19
- justify-content: center;
20
- height: 40px; // 提示高度
21
- font-size: 14px;
22
- color: #666;
23
- }
24
-
25
- }
26
-