@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,46 +1,46 @@
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
- * 点击事件
37
- * @param e
38
- */
39
- handleMoreClick?: (e: any) => void;
40
- /**
41
- * 更多
42
- */
43
- moreText: string;
44
- }
45
- declare const NoticeBar: React.FC<NoticeBarProps>;
46
- export default NoticeBar;
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
+ * 点击事件
37
+ * @param e
38
+ */
39
+ handleMoreClick?: (e: any) => void;
40
+ /**
41
+ * 更多
42
+ */
43
+ moreText: string;
44
+ }
45
+ declare const NoticeBar: React.FC<NoticeBarProps>;
46
+ export default NoticeBar;
@@ -1,5 +1,5 @@
1
- export interface Location {
2
- lat: string;
3
- lng: string;
4
- address: string;
5
- }
1
+ export interface Location {
2
+ lat: string;
3
+ lng: string;
4
+ address: string;
5
+ }
@@ -1,3 +1,3 @@
1
- import Position from './position';
2
- export type { LocationProps } from './position';
3
- export default Position;
1
+ import Position from './position';
2
+ export type { LocationProps } from './position';
3
+ export default Position;
@@ -1,124 +1,27 @@
1
- .location {
2
- display: flex;
3
- cursor: pointer;
4
- color: #414141;
5
- font-size: 13.5px;
6
- &-address {
7
- margin-right: 7px;
8
- }
9
- &-icon {
10
- display: flex;
11
- align-items: center;
12
- }
13
- }
14
- .location-city-box {
15
- font-size: 13px;
16
- color: #000;
17
- font-weight: 500;
18
- border-radius: 4px;
19
- border: 1px solid #CCCCCC;
20
- width: 80px;
21
- height: 28px;
22
- display: flex;
23
- justify-content: center;
24
- align-items: center;
25
- }
26
- .location-list {
27
- position: fixed;
28
- top: 0;
29
- left: 0;
30
- width: 100vw;
31
- height: 100vh;
32
- background-color: #fff;
33
- padding: 10px 10px 0 13px;
34
- z-index: 999;
35
- overflow-y: scroll;
36
-
37
- &-head {
38
- padding: 0 13px 0 13px;
39
- display: flex;
40
- justify-content: flex-start;
41
- align-items: center;
42
- gap: 12px;
43
- margin-bottom: 15px;
44
- &-img {
45
- width: 8px;
46
- height: 14px;
47
- }
48
- }
49
- &-location {
50
- margin-bottom: 15px;
51
- &-img {
52
- width: 10px;
53
- height: 13px;
54
- margin-right: 2px;
55
- }
56
- &-text {
57
- white-space: nowrap;
58
- overflow: hidden;
59
- text-overflow: ellipsis;
60
- max-width: 4em;
61
- }
62
- }
63
- &-hot {
64
- margin-bottom: 21px;
65
- &-title {
66
- font-size: 14px;
67
- color: #999999;
68
- margin-bottom: 15px;
69
- }
70
- &-content {
71
- display: grid;
72
- grid-template-columns: repeat(4, 1fr);
73
- grid-column-gap: 10px;
74
- grid-row-gap: 15px;
75
- &-item {
76
- white-space: nowrap;
77
- overflow: hidden;
78
- text-overflow: ellipsis;
79
- max-width: 4em;
80
- }
81
- }
82
- }
83
- &-city {
84
- &-box {
85
- &-type {
86
- font-size: 14px;
87
- color: #999999;
88
- padding: 0;
89
- line-height: 10px;
90
- margin: 5px 0 20px 0;
91
- }
92
- &-name {
93
- color: #000;
94
- font-size: 13px;
95
- padding: 0;
96
- line-height: 12px;
97
- margin-bottom: 20px;
98
- font-weight: 500;
99
- }
100
- }
101
- }
102
- &-index-bar {
103
- background-color: #F7F7F7;
104
- position: fixed;
105
- right: 12px;
106
- border-radius: 5px;
107
- padding: 5px 3px;
108
- top: 280px;
109
- z-index: 10;
110
- display: flex;
111
- flex-direction: column;
112
- align-items: center;
113
- text-align: center;
114
- cursor: pointer;
115
- user-select: none;
116
- &-name {
117
- font-weight: 500;
118
- font-size: 10px;
119
- }
120
- }
121
- }
122
- .location-list-index {
123
- overflow-y: scroll;
124
- }
1
+ .location {
2
+ display: flex;
3
+ cursor: pointer;
4
+ color: #414141;
5
+ font-size: 13.5px;
6
+ &-address {
7
+ margin-right: 7px;
8
+ }
9
+ &-icon {
10
+ display: flex;
11
+ align-items: center;
12
+ }
13
+ }
14
+ .location-list {
15
+ position: fixed;
16
+ top: 0;
17
+ left: 0;
18
+ width: 100vw;
19
+ height: 100vh;
20
+ background-color: #fff;
21
+ padding: 10px 15px;
22
+ z-index: 999;
23
+ &-item {
24
+ padding: 10px 0;
25
+ border-bottom: solid 1px #eee;
26
+ }
27
+ }
@@ -1,9 +1,9 @@
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
+ 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,12 +1,11 @@
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
- currentLocation: Location;
10
- }
11
- declare const ContentList: React.FC<LocationProps>;
12
- export default ContentList;
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,56 +1,16 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  exports.__esModule = true;
5
4
  exports["default"] = void 0;
6
- var _react = _interopRequireWildcard(require("react"));
7
- var React = _react;
5
+ var React = _interopRequireWildcard(require("react"));
8
6
  require("./index.scss");
9
- var _img = _interopRequireDefault(require("../../assets/icon/position/img.png"));
10
- var _location = _interopRequireDefault(require("../../assets/icon/position/location.png"));
11
- var _searchBar = _interopRequireDefault(require("../search-bar/search-bar"));
12
- var _textUtil = require("../../utils/textUtil");
13
7
  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); }
14
8
  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; }
15
- var ContentList = function NavigationList(_ref) {
9
+ var ContentList = function navigationList(_ref) {
16
10
  var open = _ref.open,
17
11
  itemArray = _ref.itemArray,
18
12
  setIsOpen = _ref.setIsOpen,
19
- setCurrent = _ref.setCurrent,
20
- currentLocation = _ref.currentLocation;
21
- var indexKeys = [];
22
- /**
23
- * 处理城市列表
24
- * @param itemArrays
25
- * @param searchValue
26
- */
27
- var handleItem = function handleItem(itemArrays, searchValue) {
28
- if (!itemArrays) {
29
- return {};
30
- }
31
- var groupName = (0, _textUtil.groupCitiesByInitial)(itemArrays);
32
- indexKeys = Object.keys(groupName);
33
- if (searchValue) {
34
- // 根据关键字过滤
35
- indexKeys.forEach(function (item) {
36
- var cityArray = groupName[item];
37
- var filterCity = cityArray.filter(function (locationItem) {
38
- return locationItem.address.indexOf(searchValue) != -1;
39
- });
40
- if (!filterCity || filterCity.length == 0) {
41
- // 如果不存在关键字匹配,则删掉整个key
42
- delete groupName[item];
43
- } else {
44
- groupName[item] = filterCity;
45
- }
46
- });
47
- }
48
- return groupName;
49
- };
50
- var _useState = (0, _react.useState)(handleItem(itemArray)),
51
- cityList = _useState[0],
52
- setCityList = _useState[1];
53
- console.log('cityList', cityList);
13
+ setCurrent = _ref.setCurrent;
54
14
  var changeHandle = function changeHandle(position) {
55
15
  console.log('changeHandle', position);
56
16
  // 设置当前选中位置
@@ -58,84 +18,18 @@ var ContentList = function NavigationList(_ref) {
58
18
  // 关闭位置列表
59
19
  setIsOpen();
60
20
  };
61
- var indexClickHandle = function indexClickHandle(index) {
62
- var indexStr = 'index-' + index;
63
- var dom = document.getElementById(indexStr);
64
- if (dom) {
65
- dom.scrollIntoView({
66
- behavior: 'smooth',
67
- block: 'start'
68
- });
69
- }
70
- };
71
- var handleSearch = function handleSearch(name) {
72
- var data = handleItem(itemArray, name);
73
- setCityList(data);
74
- };
75
- var hotCityArray = itemArray ? itemArray.filter(function (item) {
76
- return item.isHot;
77
- }) : [];
78
21
  return /*#__PURE__*/React.createElement("div", {
79
22
  className: "location-list",
80
23
  style: {
81
24
  display: open ? 'block' : 'none'
82
25
  }
83
- }, /*#__PURE__*/React.createElement("div", {
84
- className: "location-list-head"
85
- }, /*#__PURE__*/React.createElement("img", {
86
- src: _img["default"],
87
- className: "location-list-head-img",
88
- onClick: setIsOpen
89
- }), /*#__PURE__*/React.createElement(_searchBar["default"], {
90
- onConfirm: function onConfirm(value) {
91
- return handleSearch(value);
92
- }
93
- })), /*#__PURE__*/React.createElement("div", {
94
- className: "location-city-box location-list-location"
95
- }, /*#__PURE__*/React.createElement("img", {
96
- src: _location["default"],
97
- className: "location-list-location-img"
98
- }), /*#__PURE__*/React.createElement("span", {
99
- className: "location-list-location-text",
100
- onClick: setIsOpen
101
- }, currentLocation.address)), hotCityArray && hotCityArray.length ? /*#__PURE__*/React.createElement("div", {
102
- className: "location-list-hot"
103
- }, /*#__PURE__*/React.createElement("div", {
104
- className: "location-list-hot-title"
105
- }, "\u70ED\u95E8\u57CE\u5E02"), /*#__PURE__*/React.createElement("div", {
106
- className: "location-list-hot-content"
107
- }, hotCityArray ? hotCityArray.map(function (item) {
26
+ }, itemArray ? itemArray.map(function (item) {
108
27
  return /*#__PURE__*/React.createElement("div", {
109
- className: "location-city-box location-list-hot-content-item",
110
28
  onClick: function onClick() {
111
29
  return changeHandle(item);
112
- }
30
+ },
31
+ className: "location-list-item"
113
32
  }, item.address);
114
- }) : '')) : '', /*#__PURE__*/React.createElement("div", {
115
- className: "location-list-city"
116
- }, cityList ? Object.keys(cityList).map(function (item) {
117
- return /*#__PURE__*/React.createElement("div", {
118
- className: "location-list-city-box"
119
- }, /*#__PURE__*/React.createElement("div", {
120
- className: "location-list-city-box-type",
121
- id: "index-" + item
122
- }, item), cityList[item].map(function (cityInfo) {
123
- return /*#__PURE__*/React.createElement("div", {
124
- className: "location-list-city-box-name",
125
- onClick: function onClick() {
126
- return changeHandle(cityInfo);
127
- }
128
- }, cityInfo.address);
129
- }));
130
- }) : ''), /*#__PURE__*/React.createElement("div", {
131
- className: "location-list-index-bar"
132
- }, cityList ? Object.keys(cityList).map(function (item) {
133
- return /*#__PURE__*/React.createElement("div", {
134
- className: "location-list-index-bar-name",
135
- onClick: function onClick() {
136
- return indexClickHandle(item);
137
- }
138
- }, item);
139
- }) : ''));
33
+ }) : /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u6570\u636E"));
140
34
  };
141
35
  var _default = exports["default"] = ContentList;
@@ -1,8 +1,8 @@
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
+ 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;
@@ -11,7 +11,7 @@ var _positionLeft = _interopRequireDefault(require("./position-left"));
11
11
  var _excluded = ["itemArray", "defaultLocation", "__designMode"];
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
- var Navigation = function BottomNavigation(_ref) {
14
+ var Navigation = function bottomNavigation(_ref) {
15
15
  var itemArray = _ref.itemArray,
16
16
  defaultLocation = _ref.defaultLocation,
17
17
  __designMode = _ref.__designMode,
@@ -28,6 +28,7 @@ var Navigation = function BottomNavigation(_ref) {
28
28
  return;
29
29
  }
30
30
  setIsOpen(!isOpen);
31
+ console.log('isopen', isOpen);
31
32
  };
32
33
  // React.useEffect(() => {
33
34
  // console.log('defaultLocation', defaultLocation)
@@ -1,8 +1,8 @@
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
+ /**
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,40 +1,40 @@
1
- @import '../../variables.scss';
2
-
3
- .radio-group__panel {
4
- display: flex;
5
- gap: 12px;
6
- width: 100%;
7
-
8
- .radio-group-item__button {
9
- flex: 0 0 auto;
10
- transition-property: all;
11
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
12
- transition-duration: 250ms;
13
- font-size: 12px;
14
- padding: 5px 11px;
15
- border-radius: 25rem;
16
- }
17
-
18
- .radio-group-item__text {
19
- flex: 0 0 auto;
20
- transition-property: all;
21
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
22
- transition-duration: 250ms;
23
- font-size: 12px;
24
- padding: 5px 0;
25
-
26
- .radio-group-item__text__line {
27
- width: 100%;
28
- height: 1px;
29
- right: 0;
30
- left: 0;
31
- bottom: 0;
32
- position: absolute;
33
- }
34
-
35
- }
36
-
37
-
38
- }
39
-
40
-
1
+ @import '../../variables.scss';
2
+
3
+ .radio-group__panel {
4
+ display: flex;
5
+ gap: 12px;
6
+ width: 100%;
7
+
8
+ .radio-group-item__button {
9
+ flex: 0 0 auto;
10
+ transition-property: all;
11
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
12
+ transition-duration: 250ms;
13
+ font-size: 12px;
14
+ padding: 5px 11px;
15
+ border-radius: 25rem;
16
+ }
17
+
18
+ .radio-group-item__text {
19
+ flex: 0 0 auto;
20
+ transition-property: all;
21
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
22
+ transition-duration: 250ms;
23
+ font-size: 12px;
24
+ padding: 5px 0;
25
+
26
+ .radio-group-item__text__line {
27
+ width: 100%;
28
+ height: 1px;
29
+ right: 0;
30
+ left: 0;
31
+ bottom: 0;
32
+ position: absolute;
33
+ }
34
+
35
+ }
36
+
37
+
38
+ }
39
+
40
+