@cloudbase/weda-ui 0.2.6-alhpa.0 → 0.2.9

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 (379) hide show
  1. package/CHANGELOG.md +240 -0
  2. package/package.json +5 -5
  3. package/src/configs/components/container.json +2 -1
  4. package/src/configs/components/form/input.json +6 -0
  5. package/src/configs/components/form/richText.json +2 -1
  6. package/src/configs/components/form/uploader.json +9 -4
  7. package/src/configs/components/image.json +2 -1
  8. package/src/configs/components/link.json +2 -1
  9. package/src/configs/components/richtextview.json +2 -1
  10. package/src/configs/components/scrollVeiw.json +2 -1
  11. package/src/configs/components/swiper.json +2 -1
  12. package/src/configs/components/tabs.json +31 -86
  13. package/src/configs/components/text.json +2 -1
  14. package/src/configs/index.js +3 -7
  15. package/src/index.js +2 -3
  16. package/src/mp/.gitignore +10 -0
  17. package/src/mp/components/form/input/index.js +5 -1
  18. package/src/mp/components/form/input/index.wxml +2 -1
  19. package/src/mp/components/form/select/index.js +2 -2
  20. package/src/mp/components/form/textarea/index.wxml +1 -0
  21. package/src/mp/components/form/uploader/index.js +48 -14
  22. package/src/mp/components/form/uploader/index.wxml +9 -2
  23. package/src/mp/components/image/index.js +57 -8
  24. package/src/mp/components/image/index.json +4 -1
  25. package/src/mp/components/image/index.wxml +4 -2
  26. package/src/mp/components/image/index.wxss +14 -0
  27. package/src/mp/components/richText/index.wxml +3 -1
  28. package/src/mp/components/tabs/index.js +22 -6
  29. package/src/mp/utils/deepEqual.js +42 -0
  30. package/src/web/actions/index.js +2 -4
  31. package/src/web/components/form/checkbox/index.jsx +8 -10
  32. package/src/web/components/form/enumSelect/MultipleSelect.jsx +12 -23
  33. package/src/web/components/form/enumSelect/NormalSelect.jsx +12 -12
  34. package/src/web/components/form/enumSelect/SelectContainer.jsx +43 -0
  35. package/src/web/components/form/enumSelect/hooks/index.js +7 -4
  36. package/src/web/components/form/enumSelect/props/propsTypes.js +7 -0
  37. package/src/web/components/form/formcell/index.jsx +1 -1
  38. package/src/web/components/form/input/index.jsx +16 -18
  39. package/src/web/components/form/radio/index.jsx +7 -7
  40. package/src/web/components/form/select/h5.jsx +1 -1
  41. package/src/web/components/form/select/region/{cities.json → cities.js} +2 -2
  42. package/src/web/components/form/select/region/index.js +3 -3
  43. package/src/web/components/form/select/region/{provinces.json → provinces.js} +2 -2
  44. package/src/web/components/form/select/region/{regions.json → regions.js} +2 -2
  45. package/src/web/components/form/switch/index.jsx +4 -9
  46. package/src/web/components/form/textarea/index.jsx +4 -12
  47. package/src/web/components/form/uploader/index.css +15 -0
  48. package/src/web/components/form/uploader/index.jsx +2 -2
  49. package/src/web/components/form/uploader/uploader.h5.jsx +237 -0
  50. package/src/web/components/form/uploader/{uploaderPc.jsx → uploader.pc.jsx} +69 -56
  51. package/src/web/components/image/image.jsx +79 -5
  52. package/src/web/components/image/index.css +17 -0
  53. package/src/web/components/image/index.jsx +1 -0
  54. package/src/web/components/index.js +27 -62
  55. package/src/web/components/richTextView/index.css +0 -10
  56. package/src/web/components/richTextView/index.jsx +1 -12
  57. package/src/web/components/tabs/{index.js → index.jsx} +3 -3
  58. package/src/web/components/tabs/{tabsH5.js → tabs.h5.jsx} +9 -47
  59. package/src/web/components/tabs/{tabsPc.js → tabs.pc.jsx} +13 -47
  60. package/src/web/components/uploaderView/index.jsx +1 -1
  61. package/src/web/index.js +2 -3
  62. package/src/web/utils/isObjectEqual.js +10 -1
  63. package/src/web/utils/useSyncValue.js +14 -0
  64. package/src/web/weda-ui.css +8 -0
  65. package/src/configs/components/form/enumSelect.json +0 -127
  66. package/src/configs/components/form/mapPosition.json +0 -33
  67. package/src/configs/components/markdown.json +0 -17
  68. package/src/mp/components/markdown/index.js +0 -27
  69. package/src/mp/components/markdown/index.json +0 -6
  70. package/src/mp/components/markdown/index.wxml +0 -1
  71. package/src/mp/components/markdown/towxml/audio-player/Audio.js +0 -99
  72. package/src/mp/components/markdown/towxml/audio-player/audio-player.js +0 -102
  73. package/src/mp/components/markdown/towxml/audio-player/audio-player.json +0 -5
  74. package/src/mp/components/markdown/towxml/audio-player/audio-player.wxml +0 -14
  75. package/src/mp/components/markdown/towxml/audio-player/audio-player.wxss +0 -175
  76. package/src/mp/components/markdown/towxml/audio-player/loading.svg +0 -1
  77. package/src/mp/components/markdown/towxml/config.js +0 -285
  78. package/src/mp/components/markdown/towxml/decode.js +0 -26
  79. package/src/mp/components/markdown/towxml/decode.json +0 -12
  80. package/src/mp/components/markdown/towxml/decode.wxml +0 -1
  81. package/src/mp/components/markdown/towxml/decode.wxss +0 -0
  82. package/src/mp/components/markdown/towxml/img/img.js +0 -98
  83. package/src/mp/components/markdown/towxml/img/img.json +0 -3
  84. package/src/mp/components/markdown/towxml/img/img.wxml +0 -1
  85. package/src/mp/components/markdown/towxml/img/img.wxss +0 -0
  86. package/src/mp/components/markdown/towxml/index.js +0 -19
  87. package/src/mp/components/markdown/towxml/latex/latex.js +0 -53
  88. package/src/mp/components/markdown/towxml/latex/latex.json +0 -5
  89. package/src/mp/components/markdown/towxml/latex/latex.wxml +0 -1
  90. package/src/mp/components/markdown/towxml/latex/latex.wxss +0 -0
  91. package/src/mp/components/markdown/towxml/parse/highlight/highlight.js +0 -729
  92. package/src/mp/components/markdown/towxml/parse/highlight/index.js +0 -7
  93. package/src/mp/components/markdown/towxml/parse/highlight/languages/bash.js +0 -91
  94. package/src/mp/components/markdown/towxml/parse/highlight/languages/c-like.js +0 -244
  95. package/src/mp/components/markdown/towxml/parse/highlight/languages/c.js +0 -20
  96. package/src/mp/components/markdown/towxml/parse/highlight/languages/css.js +0 -138
  97. package/src/mp/components/markdown/towxml/parse/highlight/languages/dart.js +0 -135
  98. package/src/mp/components/markdown/towxml/parse/highlight/languages/go.js +0 -57
  99. package/src/mp/components/markdown/towxml/parse/highlight/languages/htmlbars.js +0 -79
  100. package/src/mp/components/markdown/towxml/parse/highlight/languages/java.js +0 -126
  101. package/src/mp/components/markdown/towxml/parse/highlight/languages/javascript.js +0 -263
  102. package/src/mp/components/markdown/towxml/parse/highlight/languages/json.js +0 -51
  103. package/src/mp/components/markdown/towxml/parse/highlight/languages/less.js +0 -177
  104. package/src/mp/components/markdown/towxml/parse/highlight/languages/nginx.js +0 -103
  105. package/src/mp/components/markdown/towxml/parse/highlight/languages/php.js +0 -152
  106. package/src/mp/components/markdown/towxml/parse/highlight/languages/python-repl.js +0 -27
  107. package/src/mp/components/markdown/towxml/parse/highlight/languages/python.js +0 -146
  108. package/src/mp/components/markdown/towxml/parse/highlight/languages/scss.js +0 -137
  109. package/src/mp/components/markdown/towxml/parse/highlight/languages/shell.js +0 -23
  110. package/src/mp/components/markdown/towxml/parse/highlight/languages/typescript.js +0 -198
  111. package/src/mp/components/markdown/towxml/parse/highlight/languages/xml.js +0 -143
  112. package/src/mp/components/markdown/towxml/parse/highlight/style/github.wxss +0 -99
  113. package/src/mp/components/markdown/towxml/parse/highlight/style/monokai.wxss +0 -70
  114. package/src/mp/components/markdown/towxml/parse/index.js +0 -106
  115. package/src/mp/components/markdown/towxml/parse/markdown/index.js +0 -53
  116. package/src/mp/components/markdown/towxml/parse/markdown/markdown.js +0 -5834
  117. package/src/mp/components/markdown/towxml/parse/markdown/plugins/emoji.js +0 -1773
  118. package/src/mp/components/markdown/towxml/parse/markdown/plugins/ins.js +0 -120
  119. package/src/mp/components/markdown/towxml/parse/markdown/plugins/latex.js +0 -193
  120. package/src/mp/components/markdown/towxml/parse/markdown/plugins/mark.js +0 -120
  121. package/src/mp/components/markdown/towxml/parse/markdown/plugins/sub.js +0 -95
  122. package/src/mp/components/markdown/towxml/parse/markdown/plugins/sup.js +0 -95
  123. package/src/mp/components/markdown/towxml/parse/markdown/plugins/todo.js +0 -220
  124. package/src/mp/components/markdown/towxml/parse/markdown/plugins/yuml.js +0 -18
  125. package/src/mp/components/markdown/towxml/parse/parse2/Parser.js +0 -263
  126. package/src/mp/components/markdown/towxml/parse/parse2/Tokenizer.js +0 -507
  127. package/src/mp/components/markdown/towxml/parse/parse2/domhandler/index.js +0 -104
  128. package/src/mp/components/markdown/towxml/parse/parse2/domhandler/node.js +0 -169
  129. package/src/mp/components/markdown/towxml/parse/parse2/entities/decode.js +0 -54
  130. package/src/mp/components/markdown/towxml/parse/parse2/entities/decode_codepoint.js +0 -19
  131. package/src/mp/components/markdown/towxml/parse/parse2/entities/encode.js +0 -54
  132. package/src/mp/components/markdown/towxml/parse/parse2/entities/index.js +0 -30
  133. package/src/mp/components/markdown/towxml/parse/parse2/entities/maps/decode.js +0 -31
  134. package/src/mp/components/markdown/towxml/parse/parse2/entities/maps/entities.js +0 -2128
  135. package/src/mp/components/markdown/towxml/parse/parse2/entities/maps/legacy.js +0 -109
  136. package/src/mp/components/markdown/towxml/parse/parse2/entities/maps/xml.js +0 -2
  137. package/src/mp/components/markdown/towxml/parse/parse2/index.js +0 -8
  138. package/src/mp/components/markdown/towxml/style/main.wxss +0 -378
  139. package/src/mp/components/markdown/towxml/style/theme/dark.wxss +0 -73
  140. package/src/mp/components/markdown/towxml/style/theme/light.wxss +0 -63
  141. package/src/mp/components/markdown/towxml/table/table.js +0 -11
  142. package/src/mp/components/markdown/towxml/table/table.json +0 -6
  143. package/src/mp/components/markdown/towxml/table/table.wxml +0 -24
  144. package/src/mp/components/markdown/towxml/table/table.wxss +0 -0
  145. package/src/mp/components/markdown/towxml/todogroup/todogroup.js +0 -19
  146. package/src/mp/components/markdown/towxml/todogroup/todogroup.json +0 -6
  147. package/src/mp/components/markdown/towxml/todogroup/todogroup.wxml +0 -13
  148. package/src/mp/components/markdown/towxml/todogroup/todogroup.wxss +0 -3
  149. package/src/mp/components/markdown/towxml/towxml.js +0 -17
  150. package/src/mp/components/markdown/towxml/towxml.json +0 -6
  151. package/src/mp/components/markdown/towxml/towxml.wxml +0 -5
  152. package/src/mp/components/markdown/towxml/towxml.wxss +0 -8
  153. package/src/mp/components/markdown/towxml/yuml/yuml.js +0 -51
  154. package/src/mp/components/markdown/towxml/yuml/yuml.json +0 -5
  155. package/src/mp/components/markdown/towxml/yuml/yuml.wxml +0 -5
  156. package/src/mp/components/markdown/towxml/yuml/yuml.wxss +0 -0
  157. package/src/web/components/form/enumSelect/FormContainer.jsx +0 -41
  158. package/src/web/components/form/position/MapView.jsx +0 -124
  159. package/src/web/components/form/position/SelectModal.css +0 -3
  160. package/src/web/components/form/position/SelectModal.jsx +0 -112
  161. package/src/web/components/form/position/constants.js +0 -7
  162. package/src/web/components/form/position/index.jsx +0 -68
  163. package/src/web/components/form/uploader/uploaderH5.jsx +0 -196
  164. package/src/web/components/link/test/__snapshots__/storybook.test.js.snap +0 -754
  165. package/src/web/components/markdown/index.jsx +0 -40
  166. package/src/web/wedatheme/.code.yml +0 -16
  167. package/src/web/wedatheme/.editorconfig +0 -9
  168. package/src/web/wedatheme/.eslintrc +0 -20
  169. package/src/web/wedatheme/.orange-ci.yml +0 -55
  170. package/src/web/wedatheme/.vscode/extensions.json +0 -3
  171. package/src/web/wedatheme/.vscode/settings.json +0 -11
  172. package/src/web/wedatheme/README.md +0 -50
  173. package/src/web/wedatheme/i18n/README.md +0 -4
  174. package/src/web/wedatheme/i18n/translation/index.js +0 -10
  175. package/src/web/wedatheme/i18n/translation/zh.js +0 -15
  176. package/src/web/wedatheme/jsconfig.json +0 -15
  177. package/src/web/wedatheme/mock/app.js +0 -42
  178. package/src/web/wedatheme/mock/history-context.js +0 -8
  179. package/src/web/wedatheme/mock/index.js +0 -3
  180. package/src/web/wedatheme/mock/layout/AppLayout.jsx +0 -28
  181. package/src/web/wedatheme/mock/layout/MenuWithRouter.jsx +0 -50
  182. package/src/web/wedatheme/mock/layout/index.js +0 -1
  183. package/src/web/wedatheme/package.json +0 -61
  184. package/src/web/wedatheme/public/index.html +0 -19
  185. package/src/web/wedatheme/src/app.js +0 -22
  186. package/src/web/wedatheme/src/components/README.md +0 -4
  187. package/src/web/wedatheme/src/configs/menu.js +0 -9
  188. package/src/web/wedatheme/src/routes/wedatheme-index/Component.jsx +0 -402
  189. package/src/web/wedatheme/src/routes/wedatheme-index/Form.jsx +0 -729
  190. package/src/web/wedatheme/src/routes/wedatheme-index/FormItem.jsx +0 -18
  191. package/src/web/wedatheme/src/routes/wedatheme-index/WedathemeIndex.jsx +0 -1276
  192. package/src/web/wedatheme/src/routes/wedatheme-index/index.js +0 -1
  193. package/src/web/wedatheme/src/routes/weui2td/WEUI2TD.jsx +0 -3
  194. package/src/web/wedatheme/src/routes/weui2td/index.js +0 -1
  195. package/src/web/wedatheme/src/styles/_btn.scss +0 -24
  196. package/src/web/wedatheme/src/styles/_icon.scss +0 -653
  197. package/src/web/wedatheme/src/styles/_map.scss +0 -12
  198. package/src/web/wedatheme/src/styles/_middle.scss +0 -340
  199. package/src/web/wedatheme/src/styles/_upload.scss +0 -47
  200. package/src/web/wedatheme/src/styles/assets/alert-close.svg +0 -3
  201. package/src/web/wedatheme/src/styles/assets/and.svg +0 -12
  202. package/src/web/wedatheme/src/styles/assets/arrowdown--line.svg +0 -12
  203. package/src/web/wedatheme/src/styles/assets/arrowdown.svg +0 -12
  204. package/src/web/wedatheme/src/styles/assets/arrowleft--line.svg +0 -12
  205. package/src/web/wedatheme/src/styles/assets/arrowleft.svg +0 -12
  206. package/src/web/wedatheme/src/styles/assets/arrowright--line.svg +0 -12
  207. package/src/web/wedatheme/src/styles/assets/arrowright-blue--line.svg +0 -12
  208. package/src/web/wedatheme/src/styles/assets/arrowright.svg +0 -12
  209. package/src/web/wedatheme/src/styles/assets/arrowup--line.svg +0 -12
  210. package/src/web/wedatheme/src/styles/assets/arrowup.svg +0 -12
  211. package/src/web/wedatheme/src/styles/assets/bell-warning.svg +0 -3
  212. package/src/web/wedatheme/src/styles/assets/btnback.svg +0 -12
  213. package/src/web/wedatheme/src/styles/assets/calendar.svg +0 -12
  214. package/src/web/wedatheme/src/styles/assets/chartcolumn-1.svg +0 -12
  215. package/src/web/wedatheme/src/styles/assets/chartcolumn.svg +0 -12
  216. package/src/web/wedatheme/src/styles/assets/chartline-1.svg +0 -9
  217. package/src/web/wedatheme/src/styles/assets/chartline.svg +0 -9
  218. package/src/web/wedatheme/src/styles/assets/chartpie-1.svg +0 -12
  219. package/src/web/wedatheme/src/styles/assets/chartpie.svg +0 -12
  220. package/src/web/wedatheme/src/styles/assets/check-1.svg +0 -8
  221. package/src/web/wedatheme/src/styles/assets/check-2.svg +0 -1
  222. package/src/web/wedatheme/src/styles/assets/check.svg +0 -8
  223. package/src/web/wedatheme/src/styles/assets/close-1.svg +0 -8
  224. package/src/web/wedatheme/src/styles/assets/close.svg +0 -8
  225. package/src/web/wedatheme/src/styles/assets/consult.svg +0 -8
  226. package/src/web/wedatheme/src/styles/assets/convertip--blue.svg +0 -12
  227. package/src/web/wedatheme/src/styles/assets/convertip.svg +0 -12
  228. package/src/web/wedatheme/src/styles/assets/copy.svg +0 -12
  229. package/src/web/wedatheme/src/styles/assets/cur-active.svg +0 -12
  230. package/src/web/wedatheme/src/styles/assets/cur.svg +0 -12
  231. package/src/web/wedatheme/src/styles/assets/daily.svg +0 -13
  232. package/src/web/wedatheme/src/styles/assets/database.svg +0 -12
  233. package/src/web/wedatheme/src/styles/assets/datasheet.svg +0 -12
  234. package/src/web/wedatheme/src/styles/assets/delete-white.svg +0 -8
  235. package/src/web/wedatheme/src/styles/assets/delete.svg +0 -8
  236. package/src/web/wedatheme/src/styles/assets/detail.svg +0 -13
  237. package/src/web/wedatheme/src/styles/assets/dismiss.svg +0 -8
  238. package/src/web/wedatheme/src/styles/assets/download.svg +0 -12
  239. package/src/web/wedatheme/src/styles/assets/drop.svg +0 -15
  240. package/src/web/wedatheme/src/styles/assets/email-error.svg +0 -14
  241. package/src/web/wedatheme/src/styles/assets/email-warning.svg +0 -12
  242. package/src/web/wedatheme/src/styles/assets/email.svg +0 -14
  243. package/src/web/wedatheme/src/styles/assets/emailv.svg +0 -12
  244. package/src/web/wedatheme/src/styles/assets/error-1.svg +0 -8
  245. package/src/web/wedatheme/src/styles/assets/error-filled.svg +0 -3
  246. package/src/web/wedatheme/src/styles/assets/error.svg +0 -8
  247. package/src/web/wedatheme/src/styles/assets/externallink.svg +0 -12
  248. package/src/web/wedatheme/src/styles/assets/favorable.svg +0 -9
  249. package/src/web/wedatheme/src/styles/assets/filter.svg +0 -12
  250. package/src/web/wedatheme/src/styles/assets/firstpage.svg +0 -13
  251. package/src/web/wedatheme/src/styles/assets/folderclose.svg +0 -8
  252. package/src/web/wedatheme/src/styles/assets/folderopen.svg +0 -8
  253. package/src/web/wedatheme/src/styles/assets/fullscreenquit.svg +0 -12
  254. package/src/web/wedatheme/src/styles/assets/fullsreen.svg +0 -12
  255. package/src/web/wedatheme/src/styles/assets/globe-gray.svg +0 -12
  256. package/src/web/wedatheme/src/styles/assets/guide.svg +0 -9
  257. package/src/web/wedatheme/src/styles/assets/help.svg +0 -8
  258. package/src/web/wedatheme/src/styles/assets/hide.svg +0 -8
  259. package/src/web/wedatheme/src/styles/assets/info.svg +0 -8
  260. package/src/web/wedatheme/src/styles/assets/infoblue-1.svg +0 -8
  261. package/src/web/wedatheme/src/styles/assets/infoblue-filled.svg +0 -3
  262. package/src/web/wedatheme/src/styles/assets/infoblue.svg +0 -8
  263. package/src/web/wedatheme/src/styles/assets/jump-black.svg +0 -12
  264. package/src/web/wedatheme/src/styles/assets/jump.svg +0 -12
  265. package/src/web/wedatheme/src/styles/assets/lastpage.svg +0 -13
  266. package/src/web/wedatheme/src/styles/assets/loading.svg +0 -12
  267. package/src/web/wedatheme/src/styles/assets/local.svg +0 -10
  268. package/src/web/wedatheme/src/styles/assets/menu-fold-white.svg +0 -6
  269. package/src/web/wedatheme/src/styles/assets/menu-fold.svg +0 -6
  270. package/src/web/wedatheme/src/styles/assets/minus.svg +0 -12
  271. package/src/web/wedatheme/src/styles/assets/monitor.svg +0 -12
  272. package/src/web/wedatheme/src/styles/assets/more.svg +0 -8
  273. package/src/web/wedatheme/src/styles/assets/multi-line.svg +0 -12
  274. package/src/web/wedatheme/src/styles/assets/news.svg +0 -3
  275. package/src/web/wedatheme/src/styles/assets/not.svg +0 -12
  276. package/src/web/wedatheme/src/styles/assets/notice.svg +0 -8
  277. package/src/web/wedatheme/src/styles/assets/pencil.svg +0 -12
  278. package/src/web/wedatheme/src/styles/assets/pending-1.svg +0 -8
  279. package/src/web/wedatheme/src/styles/assets/pending-gray.svg +0 -8
  280. package/src/web/wedatheme/src/styles/assets/pending.svg +0 -8
  281. package/src/web/wedatheme/src/styles/assets/percent-blue.svg +0 -16
  282. package/src/web/wedatheme/src/styles/assets/percent.svg +0 -16
  283. package/src/web/wedatheme/src/styles/assets/phone-error.svg +0 -11
  284. package/src/web/wedatheme/src/styles/assets/phone-warning.svg +0 -9
  285. package/src/web/wedatheme/src/styles/assets/phone.svg +0 -12
  286. package/src/web/wedatheme/src/styles/assets/phonev.svg +0 -9
  287. package/src/web/wedatheme/src/styles/assets/plus.svg +0 -12
  288. package/src/web/wedatheme/src/styles/assets/qq.svg +0 -11
  289. package/src/web/wedatheme/src/styles/assets/realname.svg +0 -8
  290. package/src/web/wedatheme/src/styles/assets/realnamev.svg +0 -9
  291. package/src/web/wedatheme/src/styles/assets/refresh-blue.svg +0 -12
  292. package/src/web/wedatheme/src/styles/assets/refresh.svg +0 -12
  293. package/src/web/wedatheme/src/styles/assets/relationship-1.svg +0 -12
  294. package/src/web/wedatheme/src/styles/assets/relationship.svg +0 -12
  295. package/src/web/wedatheme/src/styles/assets/remind.svg +0 -8
  296. package/src/web/wedatheme/src/styles/assets/search.svg +0 -8
  297. package/src/web/wedatheme/src/styles/assets/setting.svg +0 -12
  298. package/src/web/wedatheme/src/styles/assets/shopcart.svg +0 -8
  299. package/src/web/wedatheme/src/styles/assets/show.svg +0 -8
  300. package/src/web/wedatheme/src/styles/assets/sort.svg +0 -12
  301. package/src/web/wedatheme/src/styles/assets/sortdown.svg +0 -12
  302. package/src/web/wedatheme/src/styles/assets/sortup.svg +0 -12
  303. package/src/web/wedatheme/src/styles/assets/success-1.svg +0 -8
  304. package/src/web/wedatheme/src/styles/assets/success-filled.svg +0 -3
  305. package/src/web/wedatheme/src/styles/assets/success.svg +0 -8
  306. package/src/web/wedatheme/src/styles/assets/table-1.svg +0 -12
  307. package/src/web/wedatheme/src/styles/assets/table.svg +0 -12
  308. package/src/web/wedatheme/src/styles/assets/tag.svg +0 -12
  309. package/src/web/wedatheme/src/styles/assets/time.svg +0 -12
  310. package/src/web/wedatheme/src/styles/assets/transfer.svg +0 -8
  311. package/src/web/wedatheme/src/styles/assets/trenddown.svg +0 -12
  312. package/src/web/wedatheme/src/styles/assets/trendup.svg +0 -12
  313. package/src/web/wedatheme/src/styles/assets/viewgrid.svg +0 -12
  314. package/src/web/wedatheme/src/styles/assets/viewlist.svg +0 -12
  315. package/src/web/wedatheme/src/styles/assets/warning-1.svg +0 -8
  316. package/src/web/wedatheme/src/styles/assets/warning-filled.svg +0 -3
  317. package/src/web/wedatheme/src/styles/assets/warning.svg +0 -8
  318. package/src/web/wedatheme/src/styles/assets/wechat-error.svg +0 -14
  319. package/src/web/wedatheme/src/styles/assets/wechat-warning.svg +0 -12
  320. package/src/web/wedatheme/src/styles/assets/wechat.svg +0 -12
  321. package/src/web/wedatheme/src/styles/assets/wechatv.svg +0 -12
  322. package/src/web/wedatheme/src/styles/assets/zoom-in-white.svg +0 -4
  323. package/src/web/wedatheme/src/styles/assets/zoom-in.svg +0 -4
  324. package/src/web/wedatheme/src/styles/assets/zoom-out-white.svg +0 -4
  325. package/src/web/wedatheme/src/styles/assets/zoom-out.svg +0 -4
  326. package/src/web/wedatheme/src/styles/index.scss +0 -18
  327. package/src/web/wedatheme/src/styles/main.css +0 -166
  328. package/src/web/wedatheme/src/styles/theme/_alert.scss +0 -73
  329. package/src/web/wedatheme/src/styles/theme/_badge.scss +0 -38
  330. package/src/web/wedatheme/src/styles/theme/_blank-page-v2.scss +0 -7
  331. package/src/web/wedatheme/src/styles/theme/_breadcrumb.scss +0 -8
  332. package/src/web/wedatheme/src/styles/theme/_bubble.scss +0 -24
  333. package/src/web/wedatheme/src/styles/theme/_button.scss +0 -212
  334. package/src/web/wedatheme/src/styles/theme/_card.scss +0 -12
  335. package/src/web/wedatheme/src/styles/theme/_cascader.scss +0 -43
  336. package/src/web/wedatheme/src/styles/theme/_checkbox&radio.scss +0 -83
  337. package/src/web/wedatheme/src/styles/theme/_datepicker.scss +0 -36
  338. package/src/web/wedatheme/src/styles/theme/_dialog.scss +0 -39
  339. package/src/web/wedatheme/src/styles/theme/_divider.scss +0 -1
  340. package/src/web/wedatheme/src/styles/theme/_drawer.scss +0 -15
  341. package/src/web/wedatheme/src/styles/theme/_dropdown.scss +0 -53
  342. package/src/web/wedatheme/src/styles/theme/_form.scss +0 -38
  343. package/src/web/wedatheme/src/styles/theme/_icon.scss +0 -0
  344. package/src/web/wedatheme/src/styles/theme/_input&textarea&select.scss +0 -85
  345. package/src/web/wedatheme/src/styles/theme/_inputnumber.scss +0 -16
  346. package/src/web/wedatheme/src/styles/theme/_link.scss +0 -14
  347. package/src/web/wedatheme/src/styles/theme/_list.scss +0 -41
  348. package/src/web/wedatheme/src/styles/theme/_metrics-board.scss +0 -14
  349. package/src/web/wedatheme/src/styles/theme/_notification.scss +0 -27
  350. package/src/web/wedatheme/src/styles/theme/_pagination.scss +0 -22
  351. package/src/web/wedatheme/src/styles/theme/_popconfirm.scss +0 -4
  352. package/src/web/wedatheme/src/styles/theme/_progress.scss +0 -28
  353. package/src/web/wedatheme/src/styles/theme/_region-select.scss +0 -17
  354. package/src/web/wedatheme/src/styles/theme/_search.scss +0 -18
  355. package/src/web/wedatheme/src/styles/theme/_segment.scss +0 -69
  356. package/src/web/wedatheme/src/styles/theme/_slider.scss +0 -18
  357. package/src/web/wedatheme/src/styles/theme/_status.scss +0 -4
  358. package/src/web/wedatheme/src/styles/theme/_steps.scss +0 -68
  359. package/src/web/wedatheme/src/styles/theme/_switch.scss +0 -11
  360. package/src/web/wedatheme/src/styles/theme/_table.scss +0 -44
  361. package/src/web/wedatheme/src/styles/theme/_tabs.scss +0 -44
  362. package/src/web/wedatheme/src/styles/theme/_tag-search.scss +0 -9
  363. package/src/web/wedatheme/src/styles/theme/_tag.scss +0 -48
  364. package/src/web/wedatheme/src/styles/theme/_timeline.scss +0 -0
  365. package/src/web/wedatheme/src/styles/theme/_toast.scss +0 -3
  366. package/src/web/wedatheme/src/styles/theme/_transfer.scss +0 -9
  367. package/src/web/wedatheme/src/styles/theme/_tree.scss +0 -11
  368. package/src/web/wedatheme/src/styles/theme/_upload.scss +0 -14
  369. package/src/web/wedatheme/src/styles/theme/_variables.scss +0 -140
  370. package/src/web/wedatheme/src/styles/theme/index.scss +0 -91
  371. package/src/web/wedatheme/style-package/README.md +0 -31
  372. package/src/web/wedatheme/style-package/ef6fa527e24e354765d806b826b41391.svg +0 -627
  373. package/src/web/wedatheme/style-package/index.css +0 -3
  374. package/src/web/wedatheme/style-package/package.json +0 -15
  375. package/src/web/wedatheme/tea.config.js +0 -66
  376. package/src/web/wedatheme/webpack/css.config.js +0 -114
  377. package/src/web/wedatheme/webpack/plugins/css-package-plugin.js +0 -23
  378. package/src/web/wedatheme/webpack/plugins/inject-assets-plugin.js +0 -32
  379. package/src/web/wedatheme/webpack/plugins/package-json-plugin.js +0 -66
@@ -1,109 +0,0 @@
1
- /* ! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */
2
- module.exports = {
3
- Aacute: 'Á',
4
- aacute: 'á',
5
- Acirc: 'Â',
6
- acirc: 'â',
7
- acute: '´',
8
- AElig: 'Æ',
9
- aelig: 'æ',
10
- Agrave: 'À',
11
- agrave: 'à',
12
- amp: '&',
13
- AMP: '&',
14
- Aring: 'Å',
15
- aring: 'å',
16
- Atilde: 'Ã',
17
- atilde: 'ã',
18
- Auml: 'Ä',
19
- auml: 'ä',
20
- brvbar: '¦',
21
- Ccedil: 'Ç',
22
- ccedil: 'ç',
23
- cedil: '¸',
24
- cent: '¢',
25
- copy: '©',
26
- COPY: '©',
27
- curren: '¤',
28
- deg: '°',
29
- divide: '÷',
30
- Eacute: 'É',
31
- eacute: 'é',
32
- Ecirc: 'Ê',
33
- ecirc: 'ê',
34
- Egrave: 'È',
35
- egrave: 'è',
36
- ETH: 'Ð',
37
- eth: 'ð',
38
- Euml: 'Ë',
39
- euml: 'ë',
40
- frac12: '½',
41
- frac14: '¼',
42
- frac34: '¾',
43
- gt: '>',
44
- GT: '>',
45
- Iacute: 'Í',
46
- iacute: 'í',
47
- Icirc: 'Î',
48
- icirc: 'î',
49
- iexcl: '¡',
50
- Igrave: 'Ì',
51
- igrave: 'ì',
52
- iquest: '¿',
53
- Iuml: 'Ï',
54
- iuml: 'ï',
55
- laquo: '«',
56
- lt: '<',
57
- LT: '<',
58
- macr: '¯',
59
- micro: 'µ',
60
- middot: '·',
61
- nbsp: ' ',
62
- not: '¬',
63
- Ntilde: 'Ñ',
64
- ntilde: 'ñ',
65
- Oacute: 'Ó',
66
- oacute: 'ó',
67
- Ocirc: 'Ô',
68
- ocirc: 'ô',
69
- Ograve: 'Ò',
70
- ograve: 'ò',
71
- ordf: 'ª',
72
- ordm: 'º',
73
- Oslash: 'Ø',
74
- oslash: 'ø',
75
- Otilde: 'Õ',
76
- otilde: 'õ',
77
- Ouml: 'Ö',
78
- ouml: 'ö',
79
- para: '¶',
80
- plusmn: '±',
81
- pound: '£',
82
- quot: '"',
83
- QUOT: '"',
84
- raquo: '»',
85
- reg: '®',
86
- REG: '®',
87
- sect: '§',
88
- shy: '­',
89
- sup1: '¹',
90
- sup2: '²',
91
- sup3: '³',
92
- szlig: 'ß',
93
- THORN: 'Þ',
94
- thorn: 'þ',
95
- times: '×',
96
- Uacute: 'Ú',
97
- uacute: 'ú',
98
- Ucirc: 'Û',
99
- ucirc: 'û',
100
- Ugrave: 'Ù',
101
- ugrave: 'ù',
102
- uml: '¨',
103
- Uuml: 'Ü',
104
- uuml: 'ü',
105
- Yacute: 'Ý',
106
- yacute: 'ý',
107
- yen: '¥',
108
- yuml: 'ÿ',
109
- };
@@ -1,2 +0,0 @@
1
- /* ! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */
2
- module.exports = { amp: '&', apos: "'", gt: '>', lt: '<', quot: '"' };
@@ -1,8 +0,0 @@
1
- /* ! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */
2
- function parseDOM(r, e) {
3
- const a = new domhandler_1.DomHandler(void 0, e);
4
- return new Parser_1.Parser(a, e).end(r), a.dom;
5
- }
6
- var domhandler_1 = require('./domhandler/index');
7
- var Parser_1 = require('./Parser');
8
- module.exports = parseDOM;
@@ -1,378 +0,0 @@
1
- /*正文样式*/
2
- .h2w {
3
- font-family: PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
4
- font-weight:300;
5
- font-size: 32rpx;
6
- line-height: 1.8;
7
- word-wrap: break-word;
8
- word-break: normal;
9
- text-align:justify;
10
- }
11
-
12
- .h2w__main {
13
- margin: 0 40rpx 40rpx 40rpx;
14
- padding-top: 40rpx;
15
- }
16
-
17
- /**标题**/
18
- .h2w__h1,
19
- .h2w__h2,
20
- .h2w__h3,
21
- .h2w__h4,
22
- .h2w__h5,
23
- .h2w__h6 {
24
- font-weight: bold;
25
- }
26
-
27
- /**设置行间元素样式**/
28
- .h2w__span,
29
- .h2w__b,
30
- .h2w__strong,
31
- .h2w__i,
32
- .h2w__em,
33
- .h2w__code,
34
- .h2w__sub,
35
- .h2w__sup,
36
- .h2w__g-emoji,
37
- .h2w__mark,
38
- .h2w__u,
39
- .h2w__ins {
40
- display:inline;
41
- }
42
-
43
- .h2w__h1 {
44
- border-bottom-style: double;
45
- border-bottom-width: 6rpx;
46
- font-size: 42rpx;
47
- padding-bottom: 10rpx;
48
- margin-bottom: 20rpx;
49
- }
50
-
51
- .h2w__h2 {
52
- border-bottom-style: solid;
53
- border-bottom-width: 1rpx;
54
- font-size: 40rpx;
55
- padding-bottom: 8rpx;
56
- margin-bottom: 18rpx;
57
- }
58
-
59
- .h2w__h3 {
60
- font-size: 38rpx;
61
- padding-bottom: 6rpx;
62
- margin-bottom: 12rpx;
63
- }
64
-
65
- .h2w__h4 {
66
- font-size: 36rpx;
67
- padding-bottom: 4rpx;
68
- margin-bottom: 12rpx;
69
- }
70
-
71
- .h2w__h5 {
72
- font-size: 34rpx;
73
- padding-bottom: 2rpx;
74
- margin-bottom: 12rpx;
75
- }
76
-
77
- .h2w__h6 {
78
- margin-bottom: 12rpx;
79
- }
80
-
81
-
82
- /**表格**/
83
- .h2w__tableParent {
84
- width:100%;
85
- overflow-x:auto;
86
- }
87
-
88
- .h2w__table {
89
- width: 100%;
90
- border-collapse: collapse;
91
- border-spacing: 0;
92
- display: table;
93
- margin-bottom: 40rpx;
94
- white-space: nowrap;
95
- }
96
-
97
- .h2w__table .h2w__tr:nth-child(2n) {
98
- background-color: red;
99
- }
100
-
101
- .h2w__colgroup {
102
- display: table-column-group;
103
- }
104
-
105
- .h2w__col {
106
- display: table-column;
107
- }
108
-
109
- .h2w__thead {
110
- display: table-header-group;
111
- }
112
-
113
- .h2w__tbody {
114
- display: table-row-group;
115
- }
116
-
117
- .h2w__tfoot {
118
- display: table-footer-group;
119
- }
120
-
121
- .h2w__tr {
122
- display: table-row;
123
- }
124
-
125
- .h2w__th,
126
- .h2w__td {
127
- padding: 8rpx 16rpx;
128
- font-size: 28rpx;
129
- border-width: 1rpx;
130
- border-style: solid;
131
- display: table-cell;
132
- }
133
-
134
- .h2w__th {
135
- font-weight: bold;
136
- }
137
-
138
- /**代码块**/
139
- .h2w__pre {
140
- /*white-space:nowrap;*/
141
- padding: 10rpx 14rpx 10rpx 10rpx;
142
- font-size: 28rpx;
143
- word-break: normal;
144
- border-width: 1rpx;
145
- border-style: solid;
146
- margin-bottom: 40rpx;
147
- white-space: nowrap;
148
- overflow-x: auto;
149
- tab-size:4;
150
- }
151
-
152
- .h2w__pre .h2w__code {
153
- padding: 0;
154
- border: 0;
155
- font-size: 100%;
156
- }
157
-
158
- .h2w__pre,
159
- .h2w__code {
160
- font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace, "STHeitiTC-Light", "Microsoft YaHei Light", -apple-system, system-ui, BlinkMacSystemFont;
161
- }
162
-
163
- .h2w__code {
164
- padding: 4rpx 8rpx;
165
- margin: 0 4rpx;
166
- border-width: 1rpx;
167
- border-style: solid;
168
- border-radius: 8rpx;
169
- font-size: 80%;
170
- overflow-x: auto;
171
- }
172
-
173
- .h2w__pre .h2w__span,
174
- .h2w__pre .h2w__a,
175
- .h2w__pre .h2w__span,
176
- .h2w__pre .h2w__b,
177
- .h2w__pre .h2w__strong,
178
- .h2w__pre .h2w__i,
179
- .h2w__pre .h2w__em {
180
- display: inline;
181
- }
182
-
183
- .h2w__pre {
184
- white-space: pre;
185
- display: block;
186
- }
187
-
188
- .h2w__pre .h2w__code {
189
- white-space:nowrap;
190
- /* width: 9999px; */
191
- display: block;
192
- font-size: 80%;
193
- }
194
-
195
- /**列表**/
196
- .h2w__ul,
197
- .h2w__ol {
198
- margin-bottom: 40rpx;
199
- padding-left: 1rem;
200
- }
201
-
202
- .h2w__ul .h2w__ol,
203
- .h2w__ol .h2w__ul {
204
- margin-bottom: 0;
205
- }
206
-
207
- .h2w__li {
208
- display: list-item;
209
- }
210
-
211
- /**todo**/
212
- .h2w__todogroup {
213
- margin-bottom: 40rpx;
214
- }
215
-
216
- .h2w__todogroup .h2w__todogroup {
217
- padding-left: 1.6rem;
218
- }
219
-
220
- /**一级ol样式**/
221
- .h2w__ol {
222
- list-style-type: decimal;
223
- }
224
-
225
- /**二级ol样式**/
226
- .h2w__ul .h2w__ol,
227
- .h2w__ol .h2w__ol {
228
- list-style-type: lower-roman;
229
- }
230
-
231
- /**三级ol样式**/
232
- .h2w__ul .h2w__ul .h2w__ol,
233
- .h2w__ul .h2w__ol .h2w__ol,
234
- .h2w__ol .h2w__ul .h2w__ol,
235
- .h2w__ol .h2w__ol .h2w__ol {
236
- list-style-type: lower-alpha;
237
- }
238
-
239
- /**一级ul样式**/
240
- .h2w__ul {
241
- list-style-type: disc;
242
- }
243
-
244
- /**二级ul样式**/
245
- .h2w__ul .h2w__ul,
246
- .h2w__ol .h2w__ul {
247
- list-style-type: circle;
248
- }
249
-
250
- /**三级样式**/
251
- .h2w__ol .h2w__ol .h2w__ul,
252
- .h2w__ol .h2w__ul .h2w__ul,
253
- .h2w__ul .h2w__ol .h2w__ul,
254
- .h2w__ul .h2w__ul .h2w__ul {
255
- list-style-type: square;
256
- }
257
-
258
- /**块元素**/
259
- .h2w__p {
260
- margin: 20rpx 0 20rpx 0;
261
- }
262
-
263
- .h2w__blockquote {
264
- border-left-width: 8rpx;
265
- border-left-style: solid;
266
- padding: 0 20rpx;
267
- }
268
-
269
- /**内连元素**/
270
- .h2w__a,
271
- .h2w__span,
272
- .h2w__b,
273
- .h2w__strong,
274
- .h2w__i,
275
- .h2w__em {
276
- display: inline;
277
- }
278
-
279
- .h2w__b,
280
- .h2w__strong {
281
- font-weight: bold;
282
- }
283
-
284
- .h2w__i,
285
- .h2w__em {
286
- font-style: italic;
287
- }
288
-
289
- /**文本删除线**/
290
- .h2w__s,
291
- .h2w__strike,
292
- .h2w__del {
293
- text-decoration: line-through;
294
- }
295
-
296
- /**文本下划线**/
297
- .h2w__ins,
298
- .h2w__u {
299
- text-decoration: underline;
300
- }
301
-
302
- /**链接**/
303
- .h2w__a {
304
- margin: 0 8rpx;
305
- border-bottom-width: 1rpx;
306
- border-bottom-style: solid;
307
- line-height: 1;
308
- }
309
-
310
- .h2w__hr {
311
- height: 8rpx;
312
- margin: 40rpx 0;
313
- }
314
-
315
- /**荧光标记**/
316
- .h2w__mark {
317
- border-radius: 4rpx;
318
- }
319
-
320
- /**上标、下标**/
321
- .h2w__sup,
322
- .h2w__sub {
323
- font-size: 75%;
324
- position: relative;
325
- }
326
-
327
- .h2w__sup {
328
- top: -0.5em;
329
- }
330
-
331
- .h2w__sub {
332
- bottom: -0.25em;
333
- }
334
-
335
- /**emoji表情**/
336
- .h2w__g-emoji {
337
- margin: 0 0.1em;
338
- font-family: "Apple Color Emoji", "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol";
339
- }
340
-
341
- /**内置元素**/
342
- image,video {
343
- max-width: 100%;
344
- }
345
-
346
-
347
- video {
348
- width:100%; margin: 10rpx auto;
349
- }
350
-
351
- image {
352
- height:auto; vertical-align:middle;
353
- }
354
-
355
- video {
356
- height:220px; font-size:0;
357
- }
358
-
359
- .h2w__latex--line {margin:4rpx 8rpx; vertical-align:middle;}
360
- .h2w__latex--block {display:block; margin:1em auto;}
361
-
362
- .h2w__yuml {display:block;}
363
-
364
- .h2w__yumlBox {
365
- width:100%;
366
- overflow-x:auto;
367
- }
368
- .h2w__yumlView {
369
- margin:0 auto; padding-bottom:40rpx;
370
- }
371
-
372
- /**代码行号**/
373
- .h2w__lineNum {
374
- text-align:right; float:left; padding:0; margin:0 1em 0 0;
375
- }
376
- .h2w__lineNumLine {
377
- list-style:none;
378
- }
@@ -1,73 +0,0 @@
1
- /*正文样式*/
2
- .h2w-dark {
3
- color:#ddd;
4
- background-color:#000;
5
- }
6
-
7
- /**标题**/
8
- .h2w-dark .h2w__h1,
9
- .h2w-dark .h2w__h2 {
10
- border-color:#3d3d3d;
11
- }
12
-
13
-
14
- /**表格**/
15
- .h2w-dark .h2w__thead .h2w__tr {
16
- background-color:#1f1f1f;
17
- }
18
- .h2w-dark .h2w__table .h2w__tr:nth-child(2n){
19
- background-color:#090909;
20
- }
21
- .h2w-dark .h2w__th,
22
- .h2w-dark .h2w__td {
23
- border-color:#333;
24
- }
25
-
26
-
27
- /**代码块**/
28
- .h2w-dark .h2w__pre,
29
- .h2w-dark .h2w__pre .h2w__code {
30
- background-color:#1b1b1b;
31
- border-color:#262626;
32
- }
33
-
34
- .h2w-dark .h2w__code {
35
- background-color:#272822;
36
- border-color:#1b1c18;
37
- }
38
-
39
-
40
- /**块元素**/
41
- .h2w-dark .h2w__blockquote {
42
- border-left-color:#10230f;
43
- }
44
-
45
- /**内连元素**/
46
- .h2w-dark .h2w__a {
47
- border-color:#4d804b;
48
- }
49
-
50
- .h2w-dark .h2w__hr {
51
- background-color:#242424;
52
- }
53
-
54
- .h2w-dark .h2w__mark {
55
- background:yellow;
56
- color:black;
57
- }
58
-
59
- .h2w-dark .h2w__todoCheckbox .wx-checkbox-input {
60
- background:#2e2e2e; border-color:#494949;
61
- }
62
- .h2w-dark .h2w__todoCheckbox .wx-checkbox-input.wx-checkbox-input-checked {
63
- background:green; border-color:#4d804b;
64
- }
65
- .h2w-dark .h2w__todoCheckbox .wx-checkbox-input.wx-checkbox-input-checked::before {
66
- color:white;
67
- }
68
- .h2w-dark .h2w__lineNum {
69
- color:#494949;
70
- }
71
-
72
- /**代码高亮样式**/
73
- @import '../../parse/highlight/style/monokai.wxss';
@@ -1,63 +0,0 @@
1
- /*正文样式*/
2
- .h2w-light {
3
- color:#333;
4
- background-color:white;
5
- }
6
-
7
- /**标题**/
8
- .h2w-light .h2w__h1,
9
- .h2w-light .h2w__h2 {
10
- border-color:#eee;
11
- }
12
-
13
-
14
- /**表格**/
15
- .h2w-light .h2w__thead .h2w__tr {
16
- background-color:#f6f8fa;
17
- }
18
- .h2w-light .h2w__table .h2w__tr:nth-child(2n){
19
- background-color:#fbfcfd;
20
- }
21
- .h2w-light .h2w__th,
22
- .h2w-light .h2w__td {
23
- border-color:#dfe2e5;
24
- }
25
-
26
-
27
- /**代码块**/
28
- .h2w-light .h2w__pre {
29
- background-color:#f6f8fa;
30
- border-color:#eaedf0;
31
- }
32
-
33
- .h2w-light .h2w__code {
34
- background-color:#f6f8fa;
35
- border-color:#eaedf0;
36
- }
37
-
38
-
39
- /**块元素**/
40
- .h2w-light .h2w__blockquote {
41
- border-left-color:#dfe2e5;
42
- }
43
-
44
- /**内连元素**/
45
- .h2w-light .h2w__a {
46
- border-color:#b9d9b8;
47
- }
48
-
49
- .h2w-light .h2w__hr {
50
- background-color:#eee;
51
- }
52
-
53
- .h2w-light .h2w__mark {
54
- background:yellow;
55
- color:black;
56
- }
57
-
58
- .h2w-light .h2w__lineNum {
59
- color:#ccc;
60
- }
61
-
62
- /**代码高亮样式**/
63
- @import '../../parse/highlight/style/github.wxss';
@@ -1,11 +0,0 @@
1
- Component({
2
- options: {
3
- styleIsolation: 'shared',
4
- },
5
- properties: {
6
- data: {
7
- type: Object,
8
- value: {},
9
- },
10
- },
11
- });
@@ -1,6 +0,0 @@
1
- {
2
- "component": true,
3
- "usingComponents": {
4
- "decode": "../decode"
5
- }
6
- }
@@ -1,24 +0,0 @@
1
- <!--table-->
2
- <block wx:if="{{data.tag === 'table'}}">
3
- <view class="h2w__tableParent">
4
- <view class="{{data.attr.class}}" width="{{data.attr.width}}" style="{{data.attr.style}}">
5
- <!--thead、tbody、tfoot-->
6
- <block wx:if="{{data.child}}" wx:for="{{data.child}}" wx:for-item="item" wx:key="i">
7
- <view wx:if="{{item.tag}}" class="{{item.attr.class}}">
8
- <!--tr-->
9
- <block wx:if="{{item.child}}" wx:for="{{item.child}}" wx:for-item="item" wx:key="i">
10
- <view wx:if="{{item.tag}}" class="{{item.attr.class}}">
11
- <!--td-->
12
- <block wx:if="{{item.child}}" wx:for="{{item.child}}" wx:for-item="item" wx:key="i">
13
- <view wx:if="{{item.tag}}" class="{{item.attr.class}}" width="{{data.attr.width}}" style="{{data.attr.style}}">
14
- <!--content-->
15
- <decode wx:if="{{item.child}}" nodes="{{item}}"/>
16
- </view>
17
- </block>
18
- </view>
19
- </block>
20
- </view>
21
- </block>
22
- </view>
23
- </view>
24
- </block>
@@ -1,19 +0,0 @@
1
- Component({
2
- options: {
3
- styleIsolation: 'shared',
4
- },
5
- properties: {
6
- data: {
7
- type: Object,
8
- value: {},
9
- },
10
- },
11
- data: {},
12
- methods: {
13
- _change(...arg) {
14
- if (global._events && typeof global._events.change === 'function') {
15
- global._events.change(...arg);
16
- }
17
- },
18
- },
19
- });
@@ -1,6 +0,0 @@
1
- {
2
- "component": true,
3
- "usingComponents": {
4
- "decode": "../decode"
5
- }
6
- }