@dckj-npm/dc-material 0.1.150 → 0.1.152

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 (428) hide show
  1. package/README.md +17 -17
  2. package/build/index.js +8 -8
  3. package/build/lowcode/index.js +1 -1
  4. package/build/lowcode/meta.design.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +10 -10
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +293 -145
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +293 -145
  11. package/dist/BizComps.css +1 -1
  12. package/dist/BizComps.js +5 -5
  13. package/dist/BizComps.js.map +1 -1
  14. package/es/assets/icon/grid-nav/right.png +0 -0
  15. package/es/assets/icon/position/location.png +0 -0
  16. package/es/assets/icon/search/delete.png +0 -0
  17. package/es/assets/icon/teletext-list/arr.png +0 -0
  18. package/es/components/bottom-navigation/bottom-navigation.d.ts +15 -15
  19. package/es/components/bottom-navigation/bottom-navigation.js +6 -9
  20. package/es/components/bottom-navigation/index.d.ts +3 -3
  21. package/es/components/bottom-navigation/index.scss +24 -28
  22. package/es/components/button/button.d.ts +14 -14
  23. package/es/components/button/index.d.ts +6 -6
  24. package/es/components/button/index.js +2 -2
  25. package/es/components/button/index.scss +16 -16
  26. package/es/components/carousel/carousel.d.ts +14 -14
  27. package/es/components/carousel/carousel.scss +32 -32
  28. package/es/components/colorful-button/colorful-button.d.ts +12 -12
  29. package/es/components/colorful-button/index.d.ts +3 -3
  30. package/es/components/colorful-button/index.scss +5 -5
  31. package/es/components/colorful-input/colorful-input.d.ts +8 -8
  32. package/es/components/colorful-input/index.d.ts +3 -3
  33. package/es/components/colorful-input/index.scss +5 -5
  34. package/es/components/form/form-item.d.ts +42 -42
  35. package/es/components/form/form-item.scss +20 -20
  36. package/es/components/form/form.d.ts +57 -20
  37. package/es/components/form/form.js +9 -1559
  38. package/es/components/form/index.d.ts +6 -6
  39. package/es/components/form/index.js +4 -4
  40. package/es/components/form/index.scss +21 -21
  41. package/es/components/form/next-wrapper.d.ts +54 -0
  42. package/es/components/form/next-wrapper.js +43 -0
  43. package/es/components/goods-card-list/goods-card-list-common.d.ts +5 -5
  44. package/es/components/goods-card-list/goods-card-list-common.scss +118 -118
  45. package/es/components/goods-card-list/goods-card-list.d.ts +5 -5
  46. package/es/components/goods-card-list/goods-card-list.scss +112 -112
  47. package/es/components/goods-card-list/index.d.ts +4 -4
  48. package/es/components/goods-card-list/types.d.ts +45 -45
  49. package/es/components/grid-nav/grid-nav.d.ts +13 -13
  50. package/es/components/grid-nav/index.d.ts +3 -3
  51. package/es/components/grid-nav/index.scss +50 -50
  52. package/es/components/integral-task/index.d.ts +6 -6
  53. package/es/components/integral-task/index.js +2 -2
  54. package/es/components/integral-task/index.scss +35 -35
  55. package/es/components/integral-task/integral-task.d.ts +40 -40
  56. package/es/components/menu-list/index.d.ts +6 -6
  57. package/es/components/menu-list/index.js +2 -2
  58. package/es/components/menu-list/index.scss +16 -16
  59. package/es/components/menu-list/menu-list-item.d.ts +5 -5
  60. package/es/components/menu-list/menu-list-item.scss +49 -49
  61. package/es/components/menu-list/menu-list.d.ts +5 -5
  62. package/es/components/menu-list/types.d.ts +23 -23
  63. package/es/components/message-list/index.d.ts +6 -6
  64. package/es/components/message-list/index.js +2 -2
  65. package/es/components/message-list/index.scss +22 -22
  66. package/es/components/message-list/message-list-item.d.ts +33 -33
  67. package/es/components/message-list/message-list-item.js +2 -2
  68. package/es/components/message-list/message-list-item.scss +60 -62
  69. package/es/components/message-list/message-list.d.ts +28 -28
  70. package/es/components/message-list/message-list.js +9 -6
  71. package/es/components/notice-bar/index.d.ts +3 -3
  72. package/es/components/notice-bar/index.scss +84 -84
  73. package/es/components/notice-bar/notice-bar-item.d.ts +18 -18
  74. package/es/components/notice-bar/notice-bar-item.scss +26 -26
  75. package/es/components/notice-bar/notice-bar.d.ts +46 -46
  76. package/es/components/position/entity.d.ts +5 -5
  77. package/es/components/position/index.d.ts +3 -3
  78. package/es/components/position/index.scss +27 -124
  79. package/es/components/position/position-left.d.ts +9 -9
  80. package/es/components/position/position-list.d.ts +11 -12
  81. package/es/components/position/position-list.js +6 -111
  82. package/es/components/position/position.d.ts +8 -8
  83. package/es/components/position/position.js +2 -1
  84. package/es/components/radio-group/index.d.ts +8 -8
  85. package/es/components/radio-group/index.js +2 -2
  86. package/es/components/radio-group/index.scss +40 -40
  87. package/es/components/radio-group/radio-group-item.d.ts +48 -48
  88. package/es/components/radio-group/radio-group.d.ts +52 -52
  89. package/es/components/rich-text/index.d.ts +6 -6
  90. package/es/components/rich-text/index.js +2 -2
  91. package/es/components/rich-text/index.scss +19 -19
  92. package/es/components/rich-text/rich-text.d.ts +14 -14
  93. package/es/components/search-bar/index.d.ts +3 -3
  94. package/es/components/search-bar/index.scss +39 -39
  95. package/es/components/search-bar/search-bar.d.ts +10 -10
  96. package/es/components/search-bar/search-bar.js +2 -2
  97. package/es/components/stream-list/index.d.ts +6 -6
  98. package/es/components/stream-list/index.js +2 -2
  99. package/es/components/stream-list/index.scss +26 -26
  100. package/es/components/stream-list/stream-list.d.ts +54 -54
  101. package/es/components/stream-list/stream-list.js +2 -2
  102. package/es/components/swiper/index.d.ts +3 -3
  103. package/es/components/swiper/index.scss +33 -20
  104. package/es/components/swiper/swiper.d.ts +26 -30
  105. package/es/components/swiper/swiper.js +16 -18
  106. package/es/components/tab/index.d.ts +6 -6
  107. package/es/components/tab/index.js +2 -2
  108. package/es/components/tab/index.scss +39 -44
  109. package/es/components/tab/tab.d.ts +27 -27
  110. package/es/components/tab/tab.js +10 -12
  111. package/es/components/tab-container/index.d.ts +3 -3
  112. package/es/components/tab-container/index.scss +47 -47
  113. package/es/components/tab-container/tab-container.d.ts +10 -10
  114. package/es/components/tab-container-item/index.d.ts +3 -3
  115. package/es/components/tab-container-item/tab-container-item.d.ts +11 -11
  116. package/es/components/tag/index.d.ts +6 -6
  117. package/es/components/tag/index.js +2 -2
  118. package/es/components/tag/index.scss +24 -24
  119. package/es/components/tag/tag.d.ts +14 -14
  120. package/es/components/teletext-list/index.d.ts +6 -6
  121. package/es/components/teletext-list/index.js +2 -2
  122. package/es/components/teletext-list/index.scss +40 -40
  123. package/es/components/teletext-list/teletext-list-item.d.ts +33 -33
  124. package/es/components/teletext-list/teletext-list-item.js +2 -2
  125. package/es/components/teletext-list/teletext-list-item.scss +57 -57
  126. package/es/components/teletext-list/teletext-list.d.ts +61 -61
  127. package/es/components/teletext-list/teletext-list.js +2 -2
  128. package/es/components/title/index.d.ts +8 -8
  129. package/es/components/title/index.js +2 -2
  130. package/es/components/title/title-1.d.ts +10 -10
  131. package/es/components/title/title-1.scss +25 -25
  132. package/es/components/title/title-2.d.ts +18 -18
  133. package/es/components/title/title-2.scss +22 -22
  134. package/es/entity/dynamic-column-data-type.d.ts +47 -316
  135. package/es/entity/dynamic-column-data-type.js +1 -9
  136. package/es/index.d.ts +46 -52
  137. package/es/index.js +1 -13
  138. package/es/index.scss +5 -5
  139. package/es/style.js +0 -2
  140. package/es/utils/children-node-handle.d.ts +9 -9
  141. package/es/utils/children-node-handle.js +7 -7
  142. package/es/utils/component-wrapper.d.ts +9 -9
  143. package/es/utils/debounce.d.ts +1 -1
  144. package/es/utils/textUtil.d.ts +10 -10
  145. package/es/utils/textUtil.js +9 -9
  146. package/es/utils/time-util.d.ts +5 -5
  147. package/es/utils/time-util.js +3 -3
  148. package/es/variables.d.ts +2 -2
  149. package/es/variables.scss +3 -3
  150. package/lib/assets/icon/grid-nav/right.png +0 -0
  151. package/lib/assets/icon/position/location.png +0 -0
  152. package/lib/assets/icon/search/delete.png +0 -0
  153. package/lib/assets/icon/teletext-list/arr.png +0 -0
  154. package/lib/components/bottom-navigation/bottom-navigation.d.ts +15 -15
  155. package/lib/components/bottom-navigation/bottom-navigation.js +7 -10
  156. package/lib/components/bottom-navigation/index.d.ts +3 -3
  157. package/lib/components/bottom-navigation/index.scss +24 -28
  158. package/lib/components/button/button.d.ts +14 -14
  159. package/lib/components/button/index.d.ts +6 -6
  160. package/lib/components/button/index.js +2 -2
  161. package/lib/components/button/index.scss +16 -16
  162. package/lib/components/carousel/carousel.d.ts +14 -14
  163. package/lib/components/carousel/carousel.scss +32 -32
  164. package/lib/components/colorful-button/colorful-button.d.ts +12 -12
  165. package/lib/components/colorful-button/index.d.ts +3 -3
  166. package/lib/components/colorful-button/index.scss +5 -5
  167. package/lib/components/colorful-input/colorful-input.d.ts +8 -8
  168. package/lib/components/colorful-input/index.d.ts +3 -3
  169. package/lib/components/colorful-input/index.scss +5 -5
  170. package/lib/components/form/form-item.d.ts +42 -42
  171. package/lib/components/form/form-item.scss +20 -20
  172. package/lib/components/form/form.d.ts +57 -20
  173. package/lib/components/form/form.js +9 -1558
  174. package/lib/components/form/index.d.ts +6 -6
  175. package/lib/components/form/index.js +1 -1
  176. package/lib/components/form/index.scss +21 -21
  177. package/lib/components/form/next-wrapper.d.ts +54 -0
  178. package/lib/components/form/next-wrapper.js +49 -0
  179. package/lib/components/goods-card-list/goods-card-list-common.d.ts +5 -5
  180. package/lib/components/goods-card-list/goods-card-list-common.scss +118 -118
  181. package/lib/components/goods-card-list/goods-card-list.d.ts +5 -5
  182. package/lib/components/goods-card-list/goods-card-list.scss +112 -112
  183. package/lib/components/goods-card-list/index.d.ts +4 -4
  184. package/lib/components/goods-card-list/types.d.ts +45 -45
  185. package/lib/components/grid-nav/grid-nav.d.ts +13 -13
  186. package/lib/components/grid-nav/index.d.ts +3 -3
  187. package/lib/components/grid-nav/index.scss +50 -50
  188. package/lib/components/integral-task/index.d.ts +6 -6
  189. package/lib/components/integral-task/index.js +2 -2
  190. package/lib/components/integral-task/index.scss +35 -35
  191. package/lib/components/integral-task/integral-task.d.ts +40 -40
  192. package/lib/components/menu-list/index.d.ts +6 -6
  193. package/lib/components/menu-list/index.js +2 -2
  194. package/lib/components/menu-list/index.scss +16 -16
  195. package/lib/components/menu-list/menu-list-item.d.ts +5 -5
  196. package/lib/components/menu-list/menu-list-item.scss +49 -49
  197. package/lib/components/menu-list/menu-list.d.ts +5 -5
  198. package/lib/components/menu-list/types.d.ts +23 -23
  199. package/lib/components/message-list/index.d.ts +6 -6
  200. package/lib/components/message-list/index.js +2 -2
  201. package/lib/components/message-list/index.scss +22 -22
  202. package/lib/components/message-list/message-list-item.d.ts +33 -33
  203. package/lib/components/message-list/message-list-item.js +2 -2
  204. package/lib/components/message-list/message-list-item.scss +60 -62
  205. package/lib/components/message-list/message-list.d.ts +28 -28
  206. package/lib/components/message-list/message-list.js +9 -6
  207. package/lib/components/notice-bar/index.d.ts +3 -3
  208. package/lib/components/notice-bar/index.scss +84 -84
  209. package/lib/components/notice-bar/notice-bar-item.d.ts +18 -18
  210. package/lib/components/notice-bar/notice-bar-item.scss +26 -26
  211. package/lib/components/notice-bar/notice-bar.d.ts +46 -46
  212. package/lib/components/position/entity.d.ts +5 -5
  213. package/lib/components/position/index.d.ts +3 -3
  214. package/lib/components/position/index.scss +27 -124
  215. package/lib/components/position/position-left.d.ts +9 -9
  216. package/lib/components/position/position-list.d.ts +11 -12
  217. package/lib/components/position/position-list.js +7 -113
  218. package/lib/components/position/position.d.ts +8 -8
  219. package/lib/components/position/position.js +2 -1
  220. package/lib/components/radio-group/index.d.ts +8 -8
  221. package/lib/components/radio-group/index.scss +40 -40
  222. package/lib/components/radio-group/radio-group-item.d.ts +48 -48
  223. package/lib/components/radio-group/radio-group.d.ts +52 -52
  224. package/lib/components/rich-text/index.d.ts +6 -6
  225. package/lib/components/rich-text/index.scss +19 -19
  226. package/lib/components/rich-text/rich-text.d.ts +14 -14
  227. package/lib/components/search-bar/index.d.ts +3 -3
  228. package/lib/components/search-bar/index.scss +39 -39
  229. package/lib/components/search-bar/search-bar.d.ts +10 -10
  230. package/lib/components/search-bar/search-bar.js +2 -2
  231. package/lib/components/stream-list/index.d.ts +6 -6
  232. package/lib/components/stream-list/index.scss +26 -26
  233. package/lib/components/stream-list/stream-list.d.ts +54 -54
  234. package/lib/components/stream-list/stream-list.js +2 -2
  235. package/lib/components/swiper/index.d.ts +3 -3
  236. package/lib/components/swiper/index.scss +33 -20
  237. package/lib/components/swiper/swiper.d.ts +26 -30
  238. package/lib/components/swiper/swiper.js +16 -18
  239. package/lib/components/tab/index.d.ts +6 -6
  240. package/lib/components/tab/index.js +2 -2
  241. package/lib/components/tab/index.scss +39 -44
  242. package/lib/components/tab/tab.d.ts +27 -27
  243. package/lib/components/tab/tab.js +10 -12
  244. package/lib/components/tab-container/index.d.ts +3 -3
  245. package/lib/components/tab-container/index.scss +47 -47
  246. package/lib/components/tab-container/tab-container.d.ts +10 -10
  247. package/lib/components/tab-container-item/index.d.ts +3 -3
  248. package/lib/components/tab-container-item/tab-container-item.d.ts +11 -11
  249. package/lib/components/tag/index.d.ts +6 -6
  250. package/lib/components/tag/index.js +2 -2
  251. package/lib/components/tag/index.scss +24 -24
  252. package/lib/components/tag/tag.d.ts +14 -14
  253. package/lib/components/teletext-list/index.d.ts +6 -6
  254. package/lib/components/teletext-list/index.scss +40 -40
  255. package/lib/components/teletext-list/teletext-list-item.d.ts +33 -33
  256. package/lib/components/teletext-list/teletext-list-item.js +2 -2
  257. package/lib/components/teletext-list/teletext-list-item.scss +57 -57
  258. package/lib/components/teletext-list/teletext-list.d.ts +61 -61
  259. package/lib/components/teletext-list/teletext-list.js +2 -2
  260. package/lib/components/title/index.d.ts +8 -8
  261. package/lib/components/title/title-1.d.ts +10 -10
  262. package/lib/components/title/title-1.scss +25 -25
  263. package/lib/components/title/title-2.d.ts +18 -18
  264. package/lib/components/title/title-2.scss +22 -22
  265. package/lib/entity/dynamic-column-data-type.d.ts +47 -316
  266. package/lib/entity/dynamic-column-data-type.js +1 -9
  267. package/lib/index.d.ts +46 -52
  268. package/lib/index.js +2 -14
  269. package/lib/index.scss +5 -5
  270. package/lib/style.js +0 -2
  271. package/lib/utils/children-node-handle.d.ts +9 -9
  272. package/lib/utils/children-node-handle.js +7 -7
  273. package/lib/utils/component-wrapper.d.ts +9 -9
  274. package/lib/utils/debounce.d.ts +1 -1
  275. package/lib/utils/textUtil.d.ts +10 -10
  276. package/lib/utils/textUtil.js +9 -9
  277. package/lib/utils/time-util.d.ts +5 -5
  278. package/lib/utils/time-util.js +3 -3
  279. package/lib/variables.d.ts +2 -2
  280. package/lib/variables.scss +3 -3
  281. package/lowcode/address-list/meta.ts +71 -0
  282. package/lowcode/button2/meta.ts +76 -76
  283. package/lowcode/custom-radio-group/meta.ts +312 -312
  284. package/lowcode/custom-radio-group-item/meta.ts +230 -230
  285. package/lowcode/d-c-slider/meta.design.ts +174 -174
  286. package/lowcode/d-c-slider/meta.ts +186 -186
  287. package/lowcode/d-c-slider/snippets.ts +69 -69
  288. package/lowcode/goods-card-list/meta.ts +270 -270
  289. package/lowcode/goods-card-list-common/meta.ts +270 -270
  290. package/lowcode/grid-nav/meta.ts +236 -236
  291. package/lowcode/integral-task/meta.ts +212 -212
  292. package/lowcode/member-card/meta.ts +187 -187
  293. package/lowcode/menu-list/meta.ts +154 -154
  294. package/lowcode/message-list/meta.ts +225 -225
  295. package/lowcode/navigation/meta.ts +177 -177
  296. package/lowcode/notice-bar/meta.ts +251 -251
  297. package/lowcode/position/meta.ts +162 -162
  298. package/lowcode/rich-text/meta.ts +72 -72
  299. package/lowcode/search-bar/meta.ts +61 -61
  300. package/lowcode/shopping-cart/meta.ts +494 -0
  301. package/lowcode/stream-list/meta.ts +209 -209
  302. package/lowcode/swiper/meta.ts +237 -237
  303. package/lowcode/tab-container/meta.ts +71 -71
  304. package/lowcode/tab-container/props.ts +194 -194
  305. package/lowcode/tab-container-item/meta.ts +195 -195
  306. package/lowcode/tab-message/meta.ts +105 -105
  307. package/lowcode/tag-c/meta.ts +76 -76
  308. package/lowcode/teletext-list/meta.ts +353 -353
  309. package/lowcode/title1/meta.ts +60 -60
  310. package/lowcode/title2/meta.ts +94 -94
  311. package/lowcode/user-card/meta.ts +130 -130
  312. package/lowcode_es/address-list/meta.d.ts +22 -0
  313. package/lowcode_es/address-list/meta.js +62 -0
  314. package/lowcode_es/button2/meta.d.ts +22 -22
  315. package/lowcode_es/custom-radio-group/meta.d.ts +22 -22
  316. package/lowcode_es/custom-radio-group-item/meta.d.ts +23 -23
  317. package/lowcode_es/d-c-slider/meta.d.ts +151 -151
  318. package/lowcode_es/d-c-slider/meta.design.d.ts +102 -102
  319. package/lowcode_es/d-c-slider/snippets.d.ts +37 -37
  320. package/lowcode_es/form/meta.d.ts +22 -22
  321. package/lowcode_es/goods-card-list/meta.d.ts +22 -22
  322. package/lowcode_es/goods-card-list-common/meta.d.ts +22 -22
  323. package/lowcode_es/grid-nav/meta.d.ts +22 -22
  324. package/lowcode_es/integral-task/meta.d.ts +22 -22
  325. package/lowcode_es/member-card/meta.d.ts +22 -22
  326. package/lowcode_es/menu-list/meta.d.ts +22 -22
  327. package/lowcode_es/message-list/meta.d.ts +22 -22
  328. package/lowcode_es/meta.js +30 -28
  329. package/lowcode_es/navigation/meta.d.ts +22 -22
  330. package/lowcode_es/notice-bar/meta.d.ts +22 -22
  331. package/lowcode_es/position/meta.d.ts +22 -22
  332. package/lowcode_es/rich-text/meta.d.ts +22 -22
  333. package/lowcode_es/search-bar/meta.d.ts +22 -22
  334. package/lowcode_es/shopping-cart/meta.d.ts +22 -0
  335. package/lowcode_es/shopping-cart/meta.js +431 -0
  336. package/lowcode_es/stream-list/meta.d.ts +22 -22
  337. package/lowcode_es/swiper/meta.d.ts +22 -22
  338. package/lowcode_es/tab-container/meta.d.ts +22 -22
  339. package/lowcode_es/tab-container/props.d.ts +90 -90
  340. package/lowcode_es/tab-container-item/meta.d.ts +22 -22
  341. package/lowcode_es/tab-message/meta.d.ts +22 -22
  342. package/lowcode_es/tag-c/meta.d.ts +22 -22
  343. package/lowcode_es/teletext-list/meta.d.ts +22 -22
  344. package/lowcode_es/title1/meta.d.ts +22 -22
  345. package/lowcode_es/title2/meta.d.ts +22 -22
  346. package/lowcode_es/user-card/meta.d.ts +22 -22
  347. package/lowcode_es/view.js +3 -3
  348. package/lowcode_lib/address-list/meta.d.ts +22 -0
  349. package/lowcode_lib/address-list/meta.js +67 -0
  350. package/lowcode_lib/button2/meta.d.ts +22 -22
  351. package/lowcode_lib/custom-radio-group/meta.d.ts +22 -22
  352. package/lowcode_lib/custom-radio-group-item/meta.d.ts +23 -23
  353. package/lowcode_lib/d-c-slider/meta.d.ts +151 -151
  354. package/lowcode_lib/d-c-slider/meta.design.d.ts +102 -102
  355. package/lowcode_lib/d-c-slider/snippets.d.ts +37 -37
  356. package/lowcode_lib/form/meta.d.ts +22 -22
  357. package/lowcode_lib/goods-card-list/meta.d.ts +22 -22
  358. package/lowcode_lib/goods-card-list-common/meta.d.ts +22 -22
  359. package/lowcode_lib/grid-nav/meta.d.ts +22 -22
  360. package/lowcode_lib/integral-task/meta.d.ts +22 -22
  361. package/lowcode_lib/member-card/meta.d.ts +22 -22
  362. package/lowcode_lib/menu-list/meta.d.ts +22 -22
  363. package/lowcode_lib/message-list/meta.d.ts +22 -22
  364. package/lowcode_lib/meta.js +30 -28
  365. package/lowcode_lib/navigation/meta.d.ts +22 -22
  366. package/lowcode_lib/notice-bar/meta.d.ts +22 -22
  367. package/lowcode_lib/position/meta.d.ts +22 -22
  368. package/lowcode_lib/rich-text/meta.d.ts +22 -22
  369. package/lowcode_lib/search-bar/meta.d.ts +22 -22
  370. package/lowcode_lib/shopping-cart/meta.d.ts +22 -0
  371. package/lowcode_lib/shopping-cart/meta.js +436 -0
  372. package/lowcode_lib/stream-list/meta.d.ts +22 -22
  373. package/lowcode_lib/swiper/meta.d.ts +22 -22
  374. package/lowcode_lib/tab-container/meta.d.ts +22 -22
  375. package/lowcode_lib/tab-container/props.d.ts +90 -90
  376. package/lowcode_lib/tab-container-item/meta.d.ts +22 -22
  377. package/lowcode_lib/tab-message/meta.d.ts +22 -22
  378. package/lowcode_lib/tag-c/meta.d.ts +22 -22
  379. package/lowcode_lib/teletext-list/meta.d.ts +22 -22
  380. package/lowcode_lib/title1/meta.d.ts +22 -22
  381. package/lowcode_lib/title2/meta.d.ts +22 -22
  382. package/lowcode_lib/user-card/meta.d.ts +22 -22
  383. package/lowcode_lib/view.js +2 -2
  384. package/package.json +5 -3
  385. package/es/assets/icon/form/right.png +0 -0
  386. package/es/assets/icon/mine/default.png +0 -0
  387. package/es/assets/icon/mine/right.png +0 -0
  388. package/es/components/dc-slider/index.d.ts +0 -3
  389. package/es/components/dc-slider/index.js +0 -2
  390. package/es/components/dc-slider/index.scss +0 -6
  391. package/es/components/dc-slider/slider-img.d.ts +0 -32
  392. package/es/components/dc-slider/slider-img.js +0 -17
  393. package/es/components/member-card/index.d.ts +0 -6
  394. package/es/components/member-card/index.js +0 -6
  395. package/es/components/member-card/index.scss +0 -86
  396. package/es/components/member-card/member-card.d.ts +0 -5
  397. package/es/components/member-card/member-card.js +0 -68
  398. package/es/components/member-card/type.d.ts +0 -11
  399. package/es/components/member-card/type.js +0 -1
  400. package/es/components/user-card/index.d.ts +0 -6
  401. package/es/components/user-card/index.js +0 -6
  402. package/es/components/user-card/index.scss +0 -68
  403. package/es/components/user-card/type.d.ts +0 -8
  404. package/es/components/user-card/type.js +0 -1
  405. package/es/components/user-card/user-card.d.ts +0 -5
  406. package/es/components/user-card/user-card.js +0 -61
  407. package/lib/assets/icon/form/right.png +0 -0
  408. package/lib/assets/icon/mine/default.png +0 -0
  409. package/lib/assets/icon/mine/right.png +0 -0
  410. package/lib/components/dc-slider/index.d.ts +0 -3
  411. package/lib/components/dc-slider/index.js +0 -7
  412. package/lib/components/dc-slider/index.scss +0 -6
  413. package/lib/components/dc-slider/slider-img.d.ts +0 -32
  414. package/lib/components/dc-slider/slider-img.js +0 -24
  415. package/lib/components/member-card/index.d.ts +0 -6
  416. package/lib/components/member-card/index.js +0 -6
  417. package/lib/components/member-card/index.scss +0 -86
  418. package/lib/components/member-card/member-card.d.ts +0 -5
  419. package/lib/components/member-card/member-card.js +0 -75
  420. package/lib/components/member-card/type.d.ts +0 -11
  421. package/lib/components/member-card/type.js +0 -3
  422. package/lib/components/user-card/index.d.ts +0 -6
  423. package/lib/components/user-card/index.js +0 -6
  424. package/lib/components/user-card/index.scss +0 -68
  425. package/lib/components/user-card/type.d.ts +0 -8
  426. package/lib/components/user-card/type.js +0 -3
  427. package/lib/components/user-card/user-card.d.ts +0 -5
  428. package/lib/components/user-card/user-card.js +0 -66
@@ -1,30 +1,26 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface ComponentProps {
4
- /**
5
- * 切换速度,单位ms
6
- */
7
- speed?: number;
8
- /**
9
- * 高度
10
- */
11
- height: number;
12
- /**
13
- * 自动播放
14
- */
15
- autoplay: boolean;
16
- /**
17
- * 循环播放
18
- */
19
- loop: boolean;
20
- /**
21
- * 切换间隔时间,单位ms
22
- */
23
- delay?: number;
24
- /**
25
- * 图片路径
26
- */
27
- picUrls: string[];
28
- }
29
- declare const DCSlider: React.FC<ComponentProps>;
30
- export default DCSlider;
1
+ import * as React from 'react';
2
+ import './index.scss';
3
+ export interface ComponentProps {
4
+ /**
5
+ * 切换速度,单位ms
6
+ */
7
+ speed?: number;
8
+ /**
9
+ * 高度
10
+ */
11
+ height: number;
12
+ /**
13
+ * 自动播放
14
+ */
15
+ autoplay: boolean;
16
+ /**
17
+ * 循环播放
18
+ */
19
+ loop: boolean;
20
+ /**
21
+ * 图片路径
22
+ */
23
+ picUrls: string[];
24
+ }
25
+ declare const DCSlider: React.FC<ComponentProps>;
26
+ export default DCSlider;
@@ -8,7 +8,7 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var React = _react;
10
10
  require("./index.scss");
11
- var _excluded = ["speed", "autoplay", "loop", "picUrls", "height", "delay"];
11
+ var _excluded = ["speed", "autoplay", "loop", "picUrls", "height"];
12
12
  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); }
13
13
  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; }
14
14
  var DCSlider = function DCSlider(_ref) {
@@ -19,34 +19,23 @@ var DCSlider = function DCSlider(_ref) {
19
19
  _ref$picUrls = _ref.picUrls,
20
20
  picUrls = _ref$picUrls === void 0 ? [] : _ref$picUrls,
21
21
  height = _ref.height,
22
- delay = _ref.delay,
23
22
  otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
24
23
  var _useState = (0, _react.useState)(0),
25
24
  currentIndex = _useState[0],
26
25
  setCurrentIndex = _useState[1];
27
26
  var autoplayRef = (0, _react.useRef)(null);
28
-
29
- // 切换到下一张
30
27
  var nextSlide = function nextSlide() {
31
28
  if (currentIndex < picUrls.length - 1) {
32
29
  setCurrentIndex(currentIndex + 1);
33
30
  } else if (loop) {
34
31
  setCurrentIndex(0);
35
- } else {
36
- stopAutoplay();
37
32
  }
38
33
  };
39
-
40
- // 启动自动播放
41
34
  var startAutoplay = function startAutoplay() {
42
35
  if (autoplay && !autoplayRef.current) {
43
- autoplayRef.current = setInterval(function () {
44
- nextSlide();
45
- }, delay);
36
+ autoplayRef.current = setInterval(nextSlide, speed);
46
37
  }
47
38
  };
48
-
49
- // 停止自动播放
50
39
  var stopAutoplay = function stopAutoplay() {
51
40
  if (autoplayRef.current) {
52
41
  clearInterval(autoplayRef.current);
@@ -54,15 +43,19 @@ var DCSlider = function DCSlider(_ref) {
54
43
  }
55
44
  };
56
45
  (0, _react.useEffect)(function () {
57
- startAutoplay();
46
+ if (autoplay) {
47
+ startAutoplay();
48
+ }
58
49
  return function () {
59
- return stopAutoplay();
50
+ stopAutoplay();
60
51
  };
61
- }, [autoplay, currentIndex]);
52
+ }, [autoplay, speed, loop, picUrls]);
62
53
  return /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({
63
54
  className: "carousel",
55
+ onMouseEnter: stopAutoplay,
56
+ onMouseLeave: startAutoplay,
64
57
  style: {
65
- height: height ? height + "px" : 'auto'
58
+ height: height ? height + "px" : '100%'
66
59
  }
67
60
  }, otherProps), /*#__PURE__*/React.createElement("div", {
68
61
  className: "carousel__wrapper",
@@ -73,11 +66,16 @@ var DCSlider = function DCSlider(_ref) {
73
66
  }, picUrls.map(function (url, index) {
74
67
  return /*#__PURE__*/React.createElement("div", {
75
68
  key: index,
76
- className: "carousel__slide"
69
+ className: "carousel__slide",
70
+ style: {
71
+ width: '100%',
72
+ height: height ? height + "px" : '100%'
73
+ }
77
74
  }, /*#__PURE__*/React.createElement("img", {
78
75
  src: url,
79
76
  alt: "Slide " + index,
80
77
  style: {
78
+ width: '100%',
81
79
  height: height ? height + "px" : '100%'
82
80
  }
83
81
  }));
@@ -1,6 +1,6 @@
1
- /**
2
- * 标签tag
3
- */
4
- import Tab from './tab';
5
- export type { TabProps } from './tab';
6
- export default Tab;
1
+ /**
2
+ * 标签tag
3
+ */
4
+ import Tab from './tab';
5
+ export type { TabProps } from './tab';
6
+ export default Tab;
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  exports.__esModule = true;
5
5
  exports["default"] = void 0;
6
6
  var _tab = _interopRequireDefault(require("./tab"));
7
- /**
8
- * 标签tag
7
+ /**
8
+ * 标签tag
9
9
  */
10
10
  var _default = exports["default"] = _tab["default"];
@@ -1,44 +1,39 @@
1
- .tab-message {
2
- display: flex;
3
- justify-content: center;
4
- width: 100%;
5
- }
6
- .tabs__container {
7
- display: inline-block;
8
- padding: 5px 17px;
9
- border-radius: 19px;
10
- background-color: #FFFFFF;
11
- color: #666666;
12
- font-size: 15px;
13
- cursor: pointer;
14
- margin-right: 6px;
15
- letter-spacing: 2px;
16
- position: relative;
17
- &--selected {
18
- background-color: #ED794A;
19
- color: #FFFFFF;
20
- }
21
- &--small {
22
- padding: 5px 16px;
23
- border-radius: 19px;
24
- }
25
- &--large {
26
- padding: 14px 30px;
27
- border-radius: 28px;
28
- }
29
- .badge {
30
- display: flex;
31
- padding: 2px 4px;
32
- border-radius: 8px;
33
- background-color: #F44341; // 红色背景
34
- color: white; // 字体颜色
35
- // text-align: center;
36
- letter-spacing: 0;
37
- justify-content: center;
38
- line-height: normal; // 垂直居中
39
- font-size: 10px; // 根据需要调整字体大小
40
- position: absolute; // 绝对定位
41
- top: 0; // 根据需要调整位置
42
- right: 3px; // 根据需要调整位置
43
- }
44
- }
1
+ .tabs__container {
2
+ display: inline-block;
3
+ padding: 5px 17px;
4
+ border-radius: 19px;
5
+ background-color: #FFFFFF;
6
+ color: #666666;
7
+ font-size: 15px;
8
+ cursor: pointer;
9
+ margin-right: 6px;
10
+ letter-spacing: 2px;
11
+ position: relative;
12
+ &--selected {
13
+ background-color: #ED794A;
14
+ color: #FFFFFF;
15
+ }
16
+ &--small {
17
+ padding: 5px 16px;
18
+ border-radius: 19px;
19
+ }
20
+ &--large {
21
+ padding: 14px 30px;
22
+ border-radius: 28px;
23
+ }
24
+ .badge {
25
+ display: flex;
26
+ padding: 2px 4px;
27
+ border-radius: 8px;
28
+ background-color: #F44341; // 红色背景
29
+ color: white; // 字体颜色
30
+ // text-align: center;
31
+ letter-spacing: 0;
32
+ justify-content: center;
33
+ line-height: normal; // 垂直居中
34
+ font-size: 10px; // 根据需要调整字体大小
35
+ position: absolute; // 绝对定位
36
+ top: 0; // 根据需要调整位置
37
+ right: 3px; // 根据需要调整位置
38
+ }
39
+ }
@@ -1,27 +1,27 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface TabProps {
4
- /**
5
- * 选中背景颜色
6
- */
7
- selectedBGColor: string;
8
- /**
9
- * 选中字体颜色
10
- */
11
- selectedFontColor: string;
12
- /**
13
- * 尺寸 small | large
14
- */
15
- size: string;
16
- /**
17
- * 点击事件
18
- * @param e
19
- */
20
- onClickHandle?: (e: number[]) => void;
21
- /**
22
- * 未读消息数量
23
- */
24
- unreadCount?: number;
25
- }
26
- declare const Tab: React.FC<TabProps>;
27
- export default Tab;
1
+ import * as React from 'react';
2
+ import './index.scss';
3
+ export interface TabProps {
4
+ /**
5
+ * 选中背景颜色
6
+ */
7
+ selectedBGColor: string;
8
+ /**
9
+ * 选中字体颜色
10
+ */
11
+ selectedFontColor: string;
12
+ /**
13
+ * 尺寸 small | large
14
+ */
15
+ size: string;
16
+ /**
17
+ * 点击事件
18
+ * @param e
19
+ */
20
+ onClickHandle?: (e: string) => void;
21
+ /**
22
+ * 未读消息数量
23
+ */
24
+ unreadCount?: number;
25
+ }
26
+ declare const Tab: React.FC<TabProps>;
27
+ export default Tab;
@@ -18,16 +18,16 @@ var Tab = function Tab(_ref) {
18
18
  unreadCount = _ref.unreadCount,
19
19
  otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
20
20
  var tabList = [{
21
- key: [0, 1],
21
+ key: 'all',
22
22
  label: '全部'
23
23
  }, {
24
- key: [1],
24
+ key: 'read',
25
25
  label: '已读'
26
26
  }, {
27
- key: [0],
27
+ key: 'unRead',
28
28
  label: '未读'
29
29
  }];
30
- var _React$useState = React.useState([0, 1]),
30
+ var _React$useState = React.useState('all'),
31
31
  tab = _React$useState[0],
32
32
  setTab = _React$useState[1];
33
33
  var handleClick = function handleClick(key) {
@@ -37,23 +37,21 @@ var Tab = function Tab(_ref) {
37
37
  // 触发父组件传递的点击处理函数
38
38
  onClickHandle && onClickHandle(key);
39
39
  };
40
- return /*#__PURE__*/React.createElement("div", {
41
- className: "tab-message"
42
- }, tabList.map(function (item) {
40
+ return tabList.map(function (item) {
43
41
  return /*#__PURE__*/React.createElement("span", (0, _extends2["default"])({
44
- className: "tabs__container\n " + (tab.toString() === item.key.toString() ? 'tabs__container--selected' : '') + "\n " + (size == 'large' ? 'tabs__container--large' : 'tabs__container--small')
42
+ className: "tabs__container\n " + (tab === item.key ? 'tabs__container--selected' : '') + "\n " + (size == 'large' ? 'tabs__container--large' : 'tabs__container--small')
45
43
  }, otherProps, {
46
44
  onClick: function onClick() {
47
45
  return handleClick(item.key);
48
46
  },
49
47
  style: {
50
- backgroundColor: tab.toString() === item.key.toString() ? selectedBGColor : '',
51
- color: tab.toString() === item.key.toString() ? selectedFontColor : ''
48
+ backgroundColor: tab === item.key ? selectedBGColor : '',
49
+ color: tab === item.key ? selectedFontColor : ''
52
50
  }
53
- }), item.label, item.key.toString() === '0' && unreadCount > 0 && /*#__PURE__*/React.createElement("span", {
51
+ }), item.label, item.key === 'unRead' && unreadCount > 0 && /*#__PURE__*/React.createElement("span", {
54
52
  className: "badge"
55
53
  }, unreadCount) // 条件渲染badge
56
54
  );
57
- }));
55
+ });
58
56
  };
59
57
  var _default = exports["default"] = Tab;
@@ -1,3 +1,3 @@
1
- import { TabContainer } from '../tab-container/tab-container';
2
- export type { TabContainerProps } from '../tab-container/tab-container';
3
- export default TabContainer;
1
+ import { TabContainer } from '../tab-container/tab-container';
2
+ export type { TabContainerProps } from '../tab-container/tab-container';
3
+ export default TabContainer;
@@ -1,48 +1,48 @@
1
- .fusion-ui-tab {
2
- display: block;
3
- background-color: #fff;
4
-
5
- &.next-medium {
6
- .next-tabs-content {
7
- padding: 0;
8
- }
9
-
10
- }
11
- .next-tabs-bar {
12
- border-bottom: none;
13
- margin-bottom: 15px;
14
- .next-tabs-nav-container {
15
- .next-tabs-nav {
16
- .next-tabs-tab {
17
- font-size: 16px;
18
- color: #666666;
19
- margin-right: 13px;
20
- &.active {
21
- color: #333;
22
- font-size: 17px;
23
- }
24
- &.active::before {
25
- bottom: 2px;
26
- border-bottom: 5px solid #E96D40;
27
- z-index: 0;
28
- border-radius: 2.5px;
29
- }
30
- }
31
- }
32
- }
33
- }
34
-
35
- &.next-small {
36
- .next-tabs-content {
37
- padding: 12px;
38
- }
39
- }
40
- }
41
- .navigation {
42
- z-index: 10;
43
- position: relative;
44
- }
45
-
46
- :global(.fd-layout-p-margin) {
47
- margin-top: 0 !important;
1
+ .fusion-ui-tab {
2
+ display: block;
3
+ background-color: #fff;
4
+
5
+ &.next-medium {
6
+ .next-tabs-content {
7
+ padding: 0;
8
+ }
9
+
10
+ }
11
+ .next-tabs-bar {
12
+ border-bottom: none;
13
+ margin-bottom: 15px;
14
+ .next-tabs-nav-container {
15
+ .next-tabs-nav {
16
+ .next-tabs-tab {
17
+ font-size: 16px;
18
+ color: #666666;
19
+ margin-right: 13px;
20
+ &.active {
21
+ color: #333;
22
+ font-size: 17px;
23
+ }
24
+ &.active::before {
25
+ bottom: 2px;
26
+ border-bottom: 5px solid #E96D40;
27
+ z-index: 0;
28
+ border-radius: 2.5px;
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
34
+
35
+ &.next-small {
36
+ .next-tabs-content {
37
+ padding: 12px;
38
+ }
39
+ }
40
+ }
41
+ .navigation {
42
+ z-index: 10;
43
+ position: relative;
44
+ }
45
+
46
+ :global(.fd-layout-p-margin) {
47
+ margin-top: 0 !important;
48
48
  }
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { Tab } from '@alifd/next';
3
- import './index.scss';
4
- export interface TabContainerProps extends React.ComponentProps<typeof Tab> {
5
- className?: string;
6
- }
7
- export declare const TabContainer: {
8
- (props: TabContainerProps): JSX.Element;
9
- displayName: string;
10
- };
1
+ import React from 'react';
2
+ import { Tab } from '@alifd/next';
3
+ import './index.scss';
4
+ export interface TabContainerProps extends React.ComponentProps<typeof Tab> {
5
+ className?: string;
6
+ }
7
+ export declare const TabContainer: {
8
+ (props: TabContainerProps): JSX.Element;
9
+ displayName: string;
10
+ };
@@ -1,3 +1,3 @@
1
- import { TabContainerItem } from './tab-container-item';
2
- export type { TabContainerItemProps } from './tab-container-item';
3
- export default TabContainerItem;
1
+ import { TabContainerItem } from './tab-container-item';
2
+ export type { TabContainerItemProps } from './tab-container-item';
3
+ export default TabContainerItem;
@@ -1,11 +1,11 @@
1
- import React from 'react';
2
- import { Tab } from '@alifd/next';
3
- export interface TabContainerItemProps extends React.ComponentProps<typeof Tab> {
4
- className?: string;
5
- tab: string;
6
- key: string;
7
- }
8
- export declare const TabContainerItem: {
9
- (props: TabContainerItemProps): JSX.Element;
10
- displayName: string;
11
- };
1
+ import React from 'react';
2
+ import { Tab } from '@alifd/next';
3
+ export interface TabContainerItemProps extends React.ComponentProps<typeof Tab> {
4
+ className?: string;
5
+ tab: string;
6
+ key: string;
7
+ }
8
+ export declare const TabContainerItem: {
9
+ (props: TabContainerItemProps): JSX.Element;
10
+ displayName: string;
11
+ };
@@ -1,6 +1,6 @@
1
- /**
2
- * 标签tag
3
- */
4
- import Tag from './tag';
5
- export type { TagProps } from './tag';
6
- export default Tag;
1
+ /**
2
+ * 标签tag
3
+ */
4
+ import Tag from './tag';
5
+ export type { TagProps } from './tag';
6
+ export default Tag;
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  exports.__esModule = true;
5
5
  exports["default"] = void 0;
6
6
  var _tag = _interopRequireDefault(require("./tag"));
7
- /**
8
- * 标签tag
7
+ /**
8
+ * 标签tag
9
9
  */
10
10
  var _default = exports["default"] = _tag["default"];
@@ -1,24 +1,24 @@
1
- .tags__container {
2
- padding: 2px 6px;
3
- border-radius: 3px;
4
- color: white;
5
- font-size: 11px;
6
- }
7
- .orange {
8
- color: #F1770E;
9
- background: rgba(241, 119, 14, 0.1);
10
- }
11
-
12
- .blue {
13
- color: #2972DD;
14
- background-color: rgba(41, 114, 221, 0.1);
15
- }
16
- .green {
17
- color: #52AD7C;
18
- background: rgba(195, 254, 222, 0.4);
19
- }
20
- .green-n {
21
- color: #52AD7C;
22
- background: #FFFFFF;
23
- box-shadow: 3.5px 5.5px 11px 0px rgba(203,203,203,0.34);
24
- }
1
+ .tags__container {
2
+ padding: 2px 6px;
3
+ border-radius: 3px;
4
+ color: white;
5
+ font-size: 11px;
6
+ }
7
+ .orange {
8
+ color: #F1770E;
9
+ background: rgba(241, 119, 14, 0.1);
10
+ }
11
+
12
+ .blue {
13
+ color: #2972DD;
14
+ background-color: rgba(41, 114, 221, 0.1);
15
+ }
16
+ .green {
17
+ color: #52AD7C;
18
+ background: rgba(195, 254, 222, 0.4);
19
+ }
20
+ .green-n {
21
+ color: #52AD7C;
22
+ background: #FFFFFF;
23
+ box-shadow: 3.5px 5.5px 11px 0px rgba(203,203,203,0.34);
24
+ }
@@ -1,14 +1,14 @@
1
- import * as React from 'react';
2
- import './index.scss';
3
- export interface TagProps {
4
- /**
5
- * 标签名称
6
- */
7
- name: string;
8
- /**
9
- * 标签颜色
10
- */
11
- color: string;
12
- }
13
- declare const Tag: React.FC<TagProps>;
14
- export default Tag;
1
+ import * as React from 'react';
2
+ import './index.scss';
3
+ export interface TagProps {
4
+ /**
5
+ * 标签名称
6
+ */
7
+ name: string;
8
+ /**
9
+ * 标签颜色
10
+ */
11
+ color: string;
12
+ }
13
+ declare const Tag: React.FC<TagProps>;
14
+ export default Tag;
@@ -1,6 +1,6 @@
1
- /**
2
- * 图文列表
3
- */
4
- import TeletextList from './teletext-list';
5
- export type { TeletextListProps } from './teletext-list';
6
- export { TeletextList, };
1
+ /**
2
+ * 图文列表
3
+ */
4
+ import TeletextList from './teletext-list';
5
+ export type { TeletextListProps } from './teletext-list';
6
+ export { TeletextList, };