bulade-ui 1.1.55 → 1.1.56

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 (396) hide show
  1. package/.babelrc +11 -11
  2. package/.vscode/extensions.json +7 -7
  3. package/.vscode/settings.json +32 -32
  4. package/LICENSE +21 -21
  5. package/README.md +45 -45
  6. package/gulpfile.js +26 -26
  7. package/miniprogram_dist/assets/font/iconfont.scss +573 -573
  8. package/miniprogram_dist/assets/style/border.wxss +94 -94
  9. package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
  10. package/miniprogram_dist/bld-action-sheet/index.json +8 -8
  11. package/miniprogram_dist/bld-action-sheet/index.wxml +56 -56
  12. package/miniprogram_dist/bld-badge/index.js.map +1 -1
  13. package/miniprogram_dist/bld-badge/index.json +3 -3
  14. package/miniprogram_dist/bld-badge/index.wxml +13 -13
  15. package/miniprogram_dist/bld-button/index.js.map +1 -1
  16. package/miniprogram_dist/bld-button/index.json +7 -7
  17. package/miniprogram_dist/bld-button/index.wxml +3 -3
  18. package/miniprogram_dist/bld-button-v2/index.js.map +1 -1
  19. package/miniprogram_dist/bld-button-v2/index.json +3 -3
  20. package/miniprogram_dist/bld-button-v2/index.wxml +41 -41
  21. package/miniprogram_dist/bld-card/index.js.map +1 -1
  22. package/miniprogram_dist/bld-card/index.json +2 -2
  23. package/miniprogram_dist/bld-card/index.wxml +5 -5
  24. package/miniprogram_dist/bld-cell/index.js.map +1 -1
  25. package/miniprogram_dist/bld-cell/index.json +7 -7
  26. package/miniprogram_dist/bld-cell/index.wxml +42 -42
  27. package/miniprogram_dist/bld-cell-field/index.js.map +1 -1
  28. package/miniprogram_dist/bld-cell-field/index.json +6 -6
  29. package/miniprogram_dist/bld-cell-field/index.wxml +8 -8
  30. package/miniprogram_dist/bld-cell-group/index.js.map +1 -1
  31. package/miniprogram_dist/bld-cell-group/index.json +2 -2
  32. package/miniprogram_dist/bld-cell-group/index.wxml +14 -14
  33. package/miniprogram_dist/bld-cell-group-v2/index.js.map +1 -1
  34. package/miniprogram_dist/bld-cell-group-v2/index.json +2 -2
  35. package/miniprogram_dist/bld-cell-group-v2/index.wxml +9 -9
  36. package/miniprogram_dist/bld-cell-v2/index.js.map +1 -1
  37. package/miniprogram_dist/bld-cell-v2/index.json +5 -5
  38. package/miniprogram_dist/bld-cell-v2/index.wxml +24 -24
  39. package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
  40. package/miniprogram_dist/bld-checkbox/index.json +5 -5
  41. package/miniprogram_dist/bld-checkbox/index.wxml +66 -66
  42. package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
  43. package/miniprogram_dist/bld-checkbox-group/index.json +3 -3
  44. package/miniprogram_dist/bld-cloud-image/index.js.map +1 -1
  45. package/miniprogram_dist/bld-cloud-image/index.json +2 -2
  46. package/miniprogram_dist/bld-cloud-image/index.wxml +14 -14
  47. package/miniprogram_dist/bld-collapse/index.js.map +1 -1
  48. package/miniprogram_dist/bld-collapse/index.json +3 -3
  49. package/miniprogram_dist/bld-collapse/index.wxml +8 -8
  50. package/miniprogram_dist/bld-dialog-tip/index.js.map +1 -1
  51. package/miniprogram_dist/bld-dialog-tip/index.json +5 -5
  52. package/miniprogram_dist/bld-dialog-tip/index.wxml +23 -23
  53. package/miniprogram_dist/bld-drawer/index.js.map +1 -1
  54. package/miniprogram_dist/bld-drawer/index.json +3 -3
  55. package/miniprogram_dist/bld-drawer/index.wxml +13 -13
  56. package/miniprogram_dist/bld-empty-page/index.js.map +1 -1
  57. package/miniprogram_dist/bld-empty-page/index.json +5 -5
  58. package/miniprogram_dist/bld-empty-page/index.wxml +11 -11
  59. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
  60. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.json +6 -6
  61. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.wxml +43 -43
  62. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
  63. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.json +4 -4
  64. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.wxml +28 -27
  65. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
  66. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.json +6 -6
  67. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.wxml +53 -53
  68. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
  69. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.json +4 -4
  70. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.wxml +28 -28
  71. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
  72. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.json +4 -4
  73. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.wxml +6 -6
  74. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
  75. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.json +4 -4
  76. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.wxml +25 -25
  77. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
  78. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.json +6 -6
  79. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.wxml +43 -43
  80. package/miniprogram_dist/bld-half-screen/index.js.map +1 -1
  81. package/miniprogram_dist/bld-half-screen/index.json +4 -4
  82. package/miniprogram_dist/bld-half-screen/index.wxml +36 -36
  83. package/miniprogram_dist/bld-html/index.js.map +1 -1
  84. package/miniprogram_dist/bld-html/index.json +5 -5
  85. package/miniprogram_dist/bld-html/index.wxml +21 -21
  86. package/miniprogram_dist/bld-icon/index.js.map +1 -1
  87. package/miniprogram_dist/bld-icon/index.json +6 -6
  88. package/miniprogram_dist/bld-icon/index.wxml +36 -36
  89. package/miniprogram_dist/bld-icon/index.wxss +591 -591
  90. package/miniprogram_dist/bld-loading/index.js.map +1 -1
  91. package/miniprogram_dist/bld-loading/index.json +6 -6
  92. package/miniprogram_dist/bld-loading/index.wxml +8 -8
  93. package/miniprogram_dist/bld-message/index.js.map +1 -1
  94. package/miniprogram_dist/bld-message/index.json +3 -3
  95. package/miniprogram_dist/bld-message/index.wxml +8 -8
  96. package/miniprogram_dist/bld-message/message.js.map +1 -1
  97. package/miniprogram_dist/bld-modal/index.js.map +1 -1
  98. package/miniprogram_dist/bld-modal/index.json +6 -6
  99. package/miniprogram_dist/bld-modal/index.wxml +22 -22
  100. package/miniprogram_dist/bld-modal/modal.js.map +1 -1
  101. package/miniprogram_dist/bld-nav-bar/index.js.map +1 -1
  102. package/miniprogram_dist/bld-nav-bar/index.json +6 -6
  103. package/miniprogram_dist/bld-nav-bar/index.wxml +43 -43
  104. package/miniprogram_dist/bld-navbar/index.js.map +1 -1
  105. package/miniprogram_dist/bld-navbar/index.json +5 -5
  106. package/miniprogram_dist/bld-navbar/index.wxml +7 -7
  107. package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
  108. package/miniprogram_dist/bld-navbar-group/index.json +3 -3
  109. package/miniprogram_dist/bld-navbar-group/index.wxml +36 -36
  110. package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
  111. package/miniprogram_dist/bld-notice-bar/index.json +3 -3
  112. package/miniprogram_dist/bld-notice-bar/index.wxml +29 -29
  113. package/miniprogram_dist/bld-overlay/index.js.map +1 -1
  114. package/miniprogram_dist/bld-overlay/index.json +3 -3
  115. package/miniprogram_dist/bld-overlay/index.wxml +11 -11
  116. package/miniprogram_dist/bld-page/index.js.map +1 -1
  117. package/miniprogram_dist/bld-page/index.json +7 -7
  118. package/miniprogram_dist/bld-page/index.wxml +31 -31
  119. package/miniprogram_dist/bld-pop-up/index.js.map +1 -1
  120. package/miniprogram_dist/bld-pop-up/index.json +6 -6
  121. package/miniprogram_dist/bld-pop-up/index.wxml +18 -18
  122. package/miniprogram_dist/bld-progress/index.js.map +1 -1
  123. package/miniprogram_dist/bld-progress/index.json +3 -3
  124. package/miniprogram_dist/bld-progress/index.wxml +34 -34
  125. package/miniprogram_dist/bld-radio/index.js.map +1 -1
  126. package/miniprogram_dist/bld-radio/index.json +3 -3
  127. package/miniprogram_dist/bld-radio/index.wxml +23 -23
  128. package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
  129. package/miniprogram_dist/bld-radio-group/index.json +3 -3
  130. package/miniprogram_dist/bld-retry/index.js.map +1 -1
  131. package/miniprogram_dist/bld-retry/index.json +2 -2
  132. package/miniprogram_dist/bld-retry/index.wxml +5 -5
  133. package/miniprogram_dist/bld-scroll-view/index.js.map +1 -1
  134. package/miniprogram_dist/bld-scroll-view/index.json +7 -7
  135. package/miniprogram_dist/bld-scroll-view/index.wxml +42 -42
  136. package/miniprogram_dist/bld-tabs/index.js.map +1 -1
  137. package/miniprogram_dist/bld-tabs/index.json +4 -4
  138. package/miniprogram_dist/bld-tabs/index.wxml +13 -13
  139. package/miniprogram_dist/bld-tag/index.js.map +1 -1
  140. package/miniprogram_dist/bld-tag/index.json +3 -3
  141. package/miniprogram_dist/bld-tag/index.wxml +2 -2
  142. package/miniprogram_dist/bld-text/index.js.map +1 -1
  143. package/miniprogram_dist/bld-text/index.json +2 -2
  144. package/miniprogram_dist/bld-text/index.wxml +3 -3
  145. package/miniprogram_dist/bld-toast/index.js.map +1 -1
  146. package/miniprogram_dist/bld-toast/index.json +5 -5
  147. package/miniprogram_dist/bld-toast/index.wxml +26 -26
  148. package/miniprogram_dist/bld-toast/toast.js.map +1 -1
  149. package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
  150. package/miniprogram_dist/bld-wrapper/index.json +4 -4
  151. package/miniprogram_dist/bld-wrapper/index.wxml +6 -6
  152. package/miniprogram_dist/button/index.js.map +1 -1
  153. package/miniprogram_dist/button/index.json +3 -3
  154. package/miniprogram_dist/button/index.wxml +41 -41
  155. package/miniprogram_dist/components-npm/mp-weixin/index.js +6 -6
  156. package/miniprogram_dist/components-npm/mp-weixin/index.js.map +1 -1
  157. package/miniprogram_dist/components-npm/mp-weixin/node/node.js.map +1 -1
  158. package/miniprogram_dist/grid/index.js.map +1 -1
  159. package/miniprogram_dist/grid/index.json +3 -3
  160. package/miniprogram_dist/grid/index.wxml +2 -2
  161. package/miniprogram_dist/grid-item/index.js.map +1 -1
  162. package/miniprogram_dist/grid-item/index.json +5 -5
  163. package/miniprogram_dist/grid-item/index.wxml +45 -45
  164. package/miniprogram_dist/timeline/index.js.map +1 -1
  165. package/miniprogram_dist/timeline/index.json +2 -2
  166. package/miniprogram_dist/timeline/index.wxml +1 -1
  167. package/miniprogram_dist/timeline-item/index.js.map +1 -1
  168. package/miniprogram_dist/timeline-item/index.json +5 -5
  169. package/miniprogram_dist/timeline-item/index.wxml +9 -9
  170. package/miniprogram_dist/utils/systemInfo.js +52 -52
  171. package/package.json +72 -72
  172. package/project.config.json +7 -7
  173. package/src/assets/font/iconfont.scss +573 -573
  174. package/src/assets/style/border.wxss +94 -94
  175. package/src/bld-action-sheet/index.js +82 -82
  176. package/src/bld-action-sheet/index.json +8 -8
  177. package/src/bld-action-sheet/index.scss +179 -179
  178. package/src/bld-action-sheet/index.wxml +56 -56
  179. package/src/bld-badge/index.js +53 -53
  180. package/src/bld-badge/index.json +3 -3
  181. package/src/bld-badge/index.scss +45 -45
  182. package/src/bld-badge/index.wxml +13 -13
  183. package/src/bld-button/index.js +13 -13
  184. package/src/bld-button/index.json +7 -7
  185. package/src/bld-button/index.scss +44 -44
  186. package/src/bld-button/index.wxml +3 -3
  187. package/src/bld-button-v2/index.js +91 -91
  188. package/src/bld-button-v2/index.json +3 -3
  189. package/src/bld-button-v2/index.scss +206 -206
  190. package/src/bld-button-v2/index.wxml +41 -41
  191. package/src/bld-card/index.js +3 -3
  192. package/src/bld-card/index.json +2 -2
  193. package/src/bld-card/index.scss +6 -6
  194. package/src/bld-card/index.wxml +5 -5
  195. package/src/bld-cell/index.js +29 -29
  196. package/src/bld-cell/index.json +7 -7
  197. package/src/bld-cell/index.scss +42 -42
  198. package/src/bld-cell/index.wxml +42 -42
  199. package/src/bld-cell-field/index.js +11 -11
  200. package/src/bld-cell-field/index.json +6 -6
  201. package/src/bld-cell-field/index.scss +21 -21
  202. package/src/bld-cell-field/index.wxml +8 -8
  203. package/src/bld-cell-group/index.js +12 -12
  204. package/src/bld-cell-group/index.json +2 -2
  205. package/src/bld-cell-group/index.scss +13 -13
  206. package/src/bld-cell-group/index.wxml +14 -14
  207. package/src/bld-cell-group-v2/index.js +70 -70
  208. package/src/bld-cell-group-v2/index.json +2 -2
  209. package/src/bld-cell-group-v2/index.scss +31 -31
  210. package/src/bld-cell-group-v2/index.wxml +9 -9
  211. package/src/bld-cell-v2/index.js +80 -80
  212. package/src/bld-cell-v2/index.json +5 -5
  213. package/src/bld-cell-v2/index.scss +74 -74
  214. package/src/bld-cell-v2/index.wxml +24 -24
  215. package/src/bld-checkbox/index.js +110 -110
  216. package/src/bld-checkbox/index.json +5 -5
  217. package/src/bld-checkbox/index.scss +71 -71
  218. package/src/bld-checkbox/index.wxml +66 -66
  219. package/src/bld-checkbox-group/index.js +84 -84
  220. package/src/bld-checkbox-group/index.json +3 -3
  221. package/src/bld-cloud-image/index.js +79 -79
  222. package/src/bld-cloud-image/index.json +2 -2
  223. package/src/bld-cloud-image/index.scss +3 -3
  224. package/src/bld-cloud-image/index.wxml +14 -14
  225. package/src/bld-collapse/index.js +62 -62
  226. package/src/bld-collapse/index.json +3 -3
  227. package/src/bld-collapse/index.scss +6 -6
  228. package/src/bld-collapse/index.wxml +8 -8
  229. package/src/bld-content-container/index.js +46 -46
  230. package/src/bld-content-container/index.json +2 -2
  231. package/src/bld-content-container/index.wxml +5 -5
  232. package/src/bld-dialog-tip/index.js +60 -60
  233. package/src/bld-dialog-tip/index.json +5 -5
  234. package/src/bld-dialog-tip/index.scss +66 -66
  235. package/src/bld-dialog-tip/index.wxml +23 -23
  236. package/src/bld-drawer/index.js +40 -40
  237. package/src/bld-drawer/index.json +3 -3
  238. package/src/bld-drawer/index.scss +78 -78
  239. package/src/bld-drawer/index.wxml +13 -13
  240. package/src/bld-empty-page/index.js +23 -23
  241. package/src/bld-empty-page/index.json +5 -5
  242. package/src/bld-empty-page/index.scss +15 -15
  243. package/src/bld-empty-page/index.wxml +11 -11
  244. package/src/bld-form/bld-form-item/bld-form-date/index.js +223 -223
  245. package/src/bld-form/bld-form-item/bld-form-date/index.json +6 -6
  246. package/src/bld-form/bld-form-item/bld-form-date/index.scss +53 -53
  247. package/src/bld-form/bld-form-item/bld-form-date/index.wxml +43 -43
  248. package/src/bld-form/bld-form-item/bld-form-input/index.js +53 -53
  249. package/src/bld-form/bld-form-item/bld-form-input/index.json +4 -4
  250. package/src/bld-form/bld-form-item/bld-form-input/index.scss +25 -25
  251. package/src/bld-form/bld-form-item/bld-form-input/index.wxml +28 -27
  252. package/src/bld-form/bld-form-item/bld-form-select-input/index.js +149 -149
  253. package/src/bld-form/bld-form-item/bld-form-select-input/index.json +6 -6
  254. package/src/bld-form/bld-form-item/bld-form-select-input/index.scss +117 -117
  255. package/src/bld-form/bld-form-item/bld-form-select-input/index.wxml +53 -53
  256. package/src/bld-form/bld-form-item/bld-form-step/index.js +58 -58
  257. package/src/bld-form/bld-form-item/bld-form-step/index.json +4 -4
  258. package/src/bld-form/bld-form-item/bld-form-step/index.scss +42 -42
  259. package/src/bld-form/bld-form-item/bld-form-step/index.wxml +28 -28
  260. package/src/bld-form/bld-form-item/bld-form-switch/index.js +37 -37
  261. package/src/bld-form/bld-form-item/bld-form-switch/index.json +4 -4
  262. package/src/bld-form/bld-form-item/bld-form-switch/index.scss +22 -22
  263. package/src/bld-form/bld-form-item/bld-form-switch/index.wxml +6 -6
  264. package/src/bld-form/bld-form-item/bld-form-textarea/index.js +44 -44
  265. package/src/bld-form/bld-form-item/bld-form-textarea/index.json +4 -4
  266. package/src/bld-form/bld-form-item/bld-form-textarea/index.scss +25 -25
  267. package/src/bld-form/bld-form-item/bld-form-textarea/index.wxml +25 -25
  268. package/src/bld-form/bld-form-item/bld-form-time/index.js +108 -108
  269. package/src/bld-form/bld-form-item/bld-form-time/index.json +6 -6
  270. package/src/bld-form/bld-form-item/bld-form-time/index.scss +53 -53
  271. package/src/bld-form/bld-form-item/bld-form-time/index.wxml +43 -43
  272. package/src/bld-half-screen/index.js +167 -167
  273. package/src/bld-half-screen/index.json +4 -4
  274. package/src/bld-half-screen/index.scss +109 -109
  275. package/src/bld-half-screen/index.wxml +36 -36
  276. package/src/bld-html/index.js +46 -46
  277. package/src/bld-html/index.json +5 -5
  278. package/src/bld-html/index.scss +17 -17
  279. package/src/bld-html/index.wxml +21 -21
  280. package/src/bld-icon/index.js +41 -41
  281. package/src/bld-icon/index.json +6 -6
  282. package/src/bld-icon/index.scss +19 -19
  283. package/src/bld-icon/index.wxml +36 -36
  284. package/src/bld-icon/index.wxss +591 -591
  285. package/src/bld-icon-back/index.js +8 -8
  286. package/src/bld-icon-back/index.json +3 -3
  287. package/src/bld-icon-back/index.scss +1 -1
  288. package/src/bld-icon-back/index.wxml +1 -1
  289. package/src/bld-icon-back/index.wxss +571 -571
  290. package/src/bld-loading/index.js +9 -9
  291. package/src/bld-loading/index.json +6 -6
  292. package/src/bld-loading/index.scss +25 -25
  293. package/src/bld-loading/index.wxml +8 -8
  294. package/src/bld-message/index.js +90 -90
  295. package/src/bld-message/index.json +3 -3
  296. package/src/bld-message/index.scss +66 -66
  297. package/src/bld-message/index.wxml +8 -8
  298. package/src/bld-message/message.js +61 -61
  299. package/src/bld-modal/index.js +122 -122
  300. package/src/bld-modal/index.json +6 -6
  301. package/src/bld-modal/index.scss +107 -107
  302. package/src/bld-modal/index.wxml +22 -22
  303. package/src/bld-modal/modal.js +37 -37
  304. package/src/bld-nav-bar/index.js +140 -140
  305. package/src/bld-nav-bar/index.json +6 -6
  306. package/src/bld-nav-bar/index.scss +55 -55
  307. package/src/bld-nav-bar/index.wxml +43 -43
  308. package/src/bld-nav-bar1/index.js +90 -90
  309. package/src/bld-nav-bar1/index.json +5 -5
  310. package/src/bld-nav-bar1/index.scss +39 -39
  311. package/src/bld-nav-bar1/index.wxml +24 -24
  312. package/src/bld-navbar/index.js +62 -62
  313. package/src/bld-navbar/index.json +5 -5
  314. package/src/bld-navbar/index.scss +34 -34
  315. package/src/bld-navbar/index.wxml +7 -7
  316. package/src/bld-navbar-group/index.js +139 -139
  317. package/src/bld-navbar-group/index.json +3 -3
  318. package/src/bld-navbar-group/index.scss +32 -32
  319. package/src/bld-navbar-group/index.wxml +36 -36
  320. package/src/bld-notice-bar/index.js +69 -69
  321. package/src/bld-notice-bar/index.json +3 -3
  322. package/src/bld-notice-bar/index.scss +58 -58
  323. package/src/bld-notice-bar/index.wxml +29 -29
  324. package/src/bld-overlay/index.js +17 -17
  325. package/src/bld-overlay/index.json +3 -3
  326. package/src/bld-overlay/index.scss +11 -11
  327. package/src/bld-overlay/index.wxml +11 -11
  328. package/src/bld-page/index.js +97 -97
  329. package/src/bld-page/index.json +7 -7
  330. package/src/bld-page/index.scss +16 -16
  331. package/src/bld-page/index.wxml +31 -31
  332. package/src/bld-pop-up/index.js +29 -29
  333. package/src/bld-pop-up/index.json +6 -6
  334. package/src/bld-pop-up/index.scss +27 -27
  335. package/src/bld-pop-up/index.wxml +18 -18
  336. package/src/bld-progress/index.js +49 -49
  337. package/src/bld-progress/index.json +3 -3
  338. package/src/bld-progress/index.scss +73 -73
  339. package/src/bld-progress/index.wxml +34 -34
  340. package/src/bld-radio/index.js +64 -64
  341. package/src/bld-radio/index.json +3 -3
  342. package/src/bld-radio/index.scss +67 -67
  343. package/src/bld-radio/index.wxml +23 -23
  344. package/src/bld-radio-group/index.js +82 -82
  345. package/src/bld-radio-group/index.json +3 -3
  346. package/src/bld-retry/index.js +23 -23
  347. package/src/bld-retry/index.json +2 -2
  348. package/src/bld-retry/index.scss +26 -26
  349. package/src/bld-retry/index.wxml +5 -5
  350. package/src/bld-scroll-view/index.js +28 -28
  351. package/src/bld-scroll-view/index.json +7 -7
  352. package/src/bld-scroll-view/index.scss +7 -7
  353. package/src/bld-scroll-view/index.wxml +42 -42
  354. package/src/bld-tabs/index.js +21 -21
  355. package/src/bld-tabs/index.json +4 -4
  356. package/src/bld-tabs/index.scss +32 -32
  357. package/src/bld-tabs/index.wxml +13 -13
  358. package/src/bld-tag/index.js +33 -33
  359. package/src/bld-tag/index.json +3 -3
  360. package/src/bld-tag/index.scss +126 -126
  361. package/src/bld-tag/index.wxml +2 -2
  362. package/src/bld-text/index.js +46 -46
  363. package/src/bld-text/index.json +2 -2
  364. package/src/bld-text/index.scss +30 -30
  365. package/src/bld-text/index.wxml +3 -3
  366. package/src/bld-toast/index.js +113 -113
  367. package/src/bld-toast/index.json +5 -5
  368. package/src/bld-toast/index.scss +111 -111
  369. package/src/bld-toast/index.wxml +26 -26
  370. package/src/bld-toast/toast.js +34 -34
  371. package/src/bld-wrapper/index.js +75 -75
  372. package/src/bld-wrapper/index.json +4 -4
  373. package/src/bld-wrapper/index.scss +7 -7
  374. package/src/bld-wrapper/index.wxml +6 -6
  375. package/src/button/index.js +91 -91
  376. package/src/button/index.json +3 -3
  377. package/src/button/index.scss +206 -206
  378. package/src/button/index.wxml +41 -41
  379. package/src/components-npm/mp-weixin/index.js +7 -7
  380. package/src/grid/index.js +67 -67
  381. package/src/grid/index.json +3 -3
  382. package/src/grid/index.scss +20 -20
  383. package/src/grid/index.wxml +2 -2
  384. package/src/grid-item/index.js +72 -72
  385. package/src/grid-item/index.json +5 -5
  386. package/src/grid-item/index.scss +58 -58
  387. package/src/grid-item/index.wxml +45 -45
  388. package/src/timeline/index.js +49 -49
  389. package/src/timeline/index.json +2 -2
  390. package/src/timeline/index.wxml +1 -1
  391. package/src/timeline-item/index.js +27 -27
  392. package/src/timeline-item/index.json +5 -5
  393. package/src/timeline-item/index.scss +36 -36
  394. package/src/timeline-item/index.wxml +9 -9
  395. package/src/utils/systemInfo.js +52 -52
  396. package/tsconfig.json +25 -25
@@ -1,95 +1,95 @@
1
- /* 1px */
2
- [class*='m-hairline'] {
3
- position: relative;
4
- }
5
-
6
- /* 1倍屏 */
7
- [class*='m-hairline']::after {
8
- z-index: 1;
9
- content: '';
10
- position: absolute;
11
- top: 0;
12
- left: 0;
13
- width: 100%;
14
- height: 100%;
15
- border-width: 0;
16
- border-color: var(--color-border, #dcdee2);
17
- border-style: solid;
18
- transform-origin: 0 0;
19
- pointer-events: none;
20
- }
21
-
22
- .m-hairline--top::after {
23
- border-top-width: 1px;
24
- }
25
-
26
- .m-hairline--right:after {
27
- border-right-width: 1px;
28
- }
29
-
30
- .m-hairline--bottom:after {
31
- border-bottom-width: 1px;
32
- }
33
-
34
- .m-hairline--left:after {
35
- border-left-width: 1px;
36
- }
37
-
38
- .m-hairline--lt::after {
39
- border-top-width: 1px;
40
- border-left-width: 1px;
41
- }
42
-
43
- .m-hairline--tr::after {
44
- border-top-width: 1px;
45
- border-right-width: 1px;
46
- }
47
-
48
- .m-hairline--rb::after {
49
- border-right-width: 1px;
50
- border-bottom-width: 1px;
51
- }
52
-
53
- .m-hairline--lb::after {
54
- border-left-width: 1px;
55
- border-bottom-width: 1px;
56
- }
57
-
58
- .m-hairline--lr::after {
59
- z-index: 1;
60
- border-left-width: 1px;
61
- border-right-width: 1px;
62
- }
63
-
64
- .m-hairline--tb::after {
65
- border-top-width: 1px;
66
- border-bottom-width: 1px;
67
- }
68
-
69
- .m-hairline--surround:after {
70
- border-width: 1px;
71
- }
72
-
73
- @media screen and (-webkit-min-device-pixel-ratio: 1.5) {
74
- [class*='m-hairline']::after {
75
- width: 150%;
76
- height: 150%;
77
- transform: scale(0.66666667);
78
- }
79
- }
80
-
81
- @media screen and (-webkit-min-device-pixel-ratio: 2) {
82
- [class*='m-hairline']::after {
83
- width: 200%;
84
- height: 200%;
85
- transform: scale(0.5);
86
- }
87
- }
88
-
89
- @media screen and (-webkit-min-device-pixel-ratio: 3) {
90
- [class*='m-hairline']::after {
91
- width: 300%;
92
- height: 300%;
93
- transform: scale(0.33333333);
94
- }
1
+ /* 1px */
2
+ [class*='m-hairline'] {
3
+ position: relative;
4
+ }
5
+
6
+ /* 1倍屏 */
7
+ [class*='m-hairline']::after {
8
+ z-index: 1;
9
+ content: '';
10
+ position: absolute;
11
+ top: 0;
12
+ left: 0;
13
+ width: 100%;
14
+ height: 100%;
15
+ border-width: 0;
16
+ border-color: var(--color-border, #dcdee2);
17
+ border-style: solid;
18
+ transform-origin: 0 0;
19
+ pointer-events: none;
20
+ }
21
+
22
+ .m-hairline--top::after {
23
+ border-top-width: 1px;
24
+ }
25
+
26
+ .m-hairline--right:after {
27
+ border-right-width: 1px;
28
+ }
29
+
30
+ .m-hairline--bottom:after {
31
+ border-bottom-width: 1px;
32
+ }
33
+
34
+ .m-hairline--left:after {
35
+ border-left-width: 1px;
36
+ }
37
+
38
+ .m-hairline--lt::after {
39
+ border-top-width: 1px;
40
+ border-left-width: 1px;
41
+ }
42
+
43
+ .m-hairline--tr::after {
44
+ border-top-width: 1px;
45
+ border-right-width: 1px;
46
+ }
47
+
48
+ .m-hairline--rb::after {
49
+ border-right-width: 1px;
50
+ border-bottom-width: 1px;
51
+ }
52
+
53
+ .m-hairline--lb::after {
54
+ border-left-width: 1px;
55
+ border-bottom-width: 1px;
56
+ }
57
+
58
+ .m-hairline--lr::after {
59
+ z-index: 1;
60
+ border-left-width: 1px;
61
+ border-right-width: 1px;
62
+ }
63
+
64
+ .m-hairline--tb::after {
65
+ border-top-width: 1px;
66
+ border-bottom-width: 1px;
67
+ }
68
+
69
+ .m-hairline--surround:after {
70
+ border-width: 1px;
71
+ }
72
+
73
+ @media screen and (-webkit-min-device-pixel-ratio: 1.5) {
74
+ [class*='m-hairline']::after {
75
+ width: 150%;
76
+ height: 150%;
77
+ transform: scale(0.66666667);
78
+ }
79
+ }
80
+
81
+ @media screen and (-webkit-min-device-pixel-ratio: 2) {
82
+ [class*='m-hairline']::after {
83
+ width: 200%;
84
+ height: 200%;
85
+ transform: scale(0.5);
86
+ }
87
+ }
88
+
89
+ @media screen and (-webkit-min-device-pixel-ratio: 3) {
90
+ [class*='m-hairline']::after {
91
+ width: 300%;
92
+ height: 300%;
93
+ transform: scale(0.33333333);
94
+ }
95
95
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-action-sheet/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","properties","visible","type","Boolean","value","zIndex","Number","maskClosable","showCancel","cancelText","String","actions","Array","methods","handleMaskClick","data","handleCancelClick","handleItemClick","currentTarget","dataset","index","item","loading","disabled","triggerEvent","getuserinfo","detail","contact","getphonenumber","error"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,EAAiB,mBAAjB,EAAsC,qBAAtC,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,cAAY;AACVC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KADC;AAKVC,YAAQ;AACNH,YAAMI,MADA;AAENF,aAAO;AAFD,KALE;AASVG,kBAAc;AACZL,YAAMC,OADM;AAEZC,aAAO;AAFK,KATJ;AAaVI,gBAAY;AACVN,YAAMC,OADI;AAEVC,aAAO;AAFG,KAbF;AAiBVK,gBAAY;AACVP,YAAMQ,MADI;AAEVN,aAAO;AAFG,KAjBF;AAqBVO,aAAS;AACPT,YAAMU,KADC;AAEPR,aAAO;AAFA;AArBC,GARJ;;AAmCRS,WAAS;AACP;AACAC,mBAFO,6BAEW;AAChB,UAAI,CAAC,KAAKC,IAAL,CAAUR,YAAf,EAA6B;AAC7B,WAAKS,iBAAL;AACD,KALM;;;AAOP;AACAC,mBARO,iCAQiC;AAAA,oCAAtBC,aAAsB;AAAA,UAAtBA,aAAsB,sCAAN,EAAM;;AACtC,UAAMC,UAAUD,cAAcC,OAAd,IAAyB,EAAzC;AADsC,UAE9BC,KAF8B,GAEpBD,OAFoB,CAE9BC,KAF8B;;;AAItC,UAAMC,OAAO,KAAKN,IAAL,CAAUJ,OAAV,CAAkBS,KAAlB,CAAb;;AAEA,UAAIC,KAAKC,OAAL,IAAgBD,KAAKE,QAAzB,EAAmC;;AAEnC,WAAKC,YAAL,CAAkB,OAAlB,EAA2B;AACzBJ;AADyB,OAA3B;AAGD,KAnBM;;;AAqBP;AACAJ,qBAtBO,+BAsBa;AAClB,WAAKQ,YAAL,CAAkB,QAAlB;AACD,KAxBM;AA0BPC,eA1BO,yBA4BC;AAAA,sFAAJ,EAAI;AAAA,+BADNC,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,aAAlB,EAAiCE,MAAjC;AACD,KA9BM;AA+BPC,WA/BO,qBAiCC;AAAA,sFAAJ,EAAI;AAAA,+BADND,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,SAAlB,EAA6BE,MAA7B;AACD,KAnCM;AAoCPE,kBApCO,4BAsCC;AAAA,sFAAJ,EAAI;AAAA,+BADNF,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,gBAAlB,EAAoCE,MAApC;AACD,KAxCM;AAyCPG,SAzCO,mBA2CC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AA7CM;AAnCD,CAAV,E","file":"bld-action-sheet\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 40);\n","Component({\r\n externalClasses: ['custom-class', 'custom-mask-class', 'custom-header-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n multipleSlots: true\r\n },\r\n\r\n properties: {\r\n visible: {\r\n type: Boolean,\r\n value: false\r\n },\r\n zIndex: {\r\n type: Number,\r\n value: 9\r\n },\r\n maskClosable: {\r\n type: Boolean,\r\n value: true\r\n },\r\n showCancel: {\r\n type: Boolean,\r\n value: false\r\n },\r\n cancelText: {\r\n type: String,\r\n value: '取消'\r\n },\r\n actions: {\r\n type: Array,\r\n value: []\r\n }\r\n },\r\n\r\n methods: {\r\n // 点击遮罩\r\n handleMaskClick() {\r\n if (!this.data.maskClosable) return\r\n this.handleCancelClick()\r\n },\r\n\r\n // 点击事件\r\n handleItemClick({ currentTarget = {} }) {\r\n const dataset = currentTarget.dataset || {}\r\n const { index } = dataset\r\n\r\n const item = this.data.actions[index]\r\n\r\n if (item.loading || item.disabled) return\r\n\r\n this.triggerEvent('click', {\r\n index\r\n })\r\n },\r\n\r\n // 取消\r\n handleCancelClick() {\r\n this.triggerEvent('cancel')\r\n },\r\n\r\n getuserinfo({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getuserinfo', detail)\r\n },\r\n contact({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('contact', detail)\r\n },\r\n getphonenumber({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getphonenumber', detail)\r\n },\r\n error({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('error', detail)\r\n }\r\n }\r\n})"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-action-sheet/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","properties","visible","type","Boolean","value","zIndex","Number","maskClosable","showCancel","cancelText","String","actions","Array","methods","handleMaskClick","data","handleCancelClick","handleItemClick","currentTarget","dataset","index","item","loading","disabled","triggerEvent","getuserinfo","detail","contact","getphonenumber","error"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,EAAiB,mBAAjB,EAAsC,qBAAtC,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,cAAY;AACVC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KADC;AAKVC,YAAQ;AACNH,YAAMI,MADA;AAENF,aAAO;AAFD,KALE;AASVG,kBAAc;AACZL,YAAMC,OADM;AAEZC,aAAO;AAFK,KATJ;AAaVI,gBAAY;AACVN,YAAMC,OADI;AAEVC,aAAO;AAFG,KAbF;AAiBVK,gBAAY;AACVP,YAAMQ,MADI;AAEVN,aAAO;AAFG,KAjBF;AAqBVO,aAAS;AACPT,YAAMU,KADC;AAEPR,aAAO;AAFA;AArBC,GARJ;;AAmCRS,WAAS;AACP;AACAC,mBAFO,6BAEW;AAChB,UAAI,CAAC,KAAKC,IAAL,CAAUR,YAAf,EAA6B;AAC7B,WAAKS,iBAAL;AACD,KALM;;;AAOP;AACAC,mBARO,iCAQiC;AAAA,oCAAtBC,aAAsB;AAAA,UAAtBA,aAAsB,sCAAN,EAAM;;AACtC,UAAMC,UAAUD,cAAcC,OAAd,IAAyB,EAAzC;AADsC,UAE9BC,KAF8B,GAEpBD,OAFoB,CAE9BC,KAF8B;;;AAItC,UAAMC,OAAO,KAAKN,IAAL,CAAUJ,OAAV,CAAkBS,KAAlB,CAAb;;AAEA,UAAIC,KAAKC,OAAL,IAAgBD,KAAKE,QAAzB,EAAmC;;AAEnC,WAAKC,YAAL,CAAkB,OAAlB,EAA2B;AACzBJ;AADyB,OAA3B;AAGD,KAnBM;;;AAqBP;AACAJ,qBAtBO,+BAsBa;AAClB,WAAKQ,YAAL,CAAkB,QAAlB;AACD,KAxBM;AA0BPC,eA1BO,yBA4BC;AAAA,sFAAJ,EAAI;AAAA,+BADNC,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,aAAlB,EAAiCE,MAAjC;AACD,KA9BM;AA+BPC,WA/BO,qBAiCC;AAAA,sFAAJ,EAAI;AAAA,+BADND,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,SAAlB,EAA6BE,MAA7B;AACD,KAnCM;AAoCPE,kBApCO,4BAsCC;AAAA,sFAAJ,EAAI;AAAA,+BADNF,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,gBAAlB,EAAoCE,MAApC;AACD,KAxCM;AAyCPG,SAzCO,mBA2CC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AA7CM;AAnCD,CAAV,E","file":"bld-action-sheet/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 40);\n","Component({\n externalClasses: ['custom-class', 'custom-mask-class', 'custom-header-class'],\n\n options: {\n addGlobalClass: true,\n multipleSlots: true\n },\n\n properties: {\n visible: {\n type: Boolean,\n value: false\n },\n zIndex: {\n type: Number,\n value: 9\n },\n maskClosable: {\n type: Boolean,\n value: true\n },\n showCancel: {\n type: Boolean,\n value: false\n },\n cancelText: {\n type: String,\n value: '取消'\n },\n actions: {\n type: Array,\n value: []\n }\n },\n\n methods: {\n // 点击遮罩\n handleMaskClick() {\n if (!this.data.maskClosable) return\n this.handleCancelClick()\n },\n\n // 点击事件\n handleItemClick({ currentTarget = {} }) {\n const dataset = currentTarget.dataset || {}\n const { index } = dataset\n\n const item = this.data.actions[index]\n\n if (item.loading || item.disabled) return\n\n this.triggerEvent('click', {\n index\n })\n },\n\n // 取消\n handleCancelClick() {\n this.triggerEvent('cancel')\n },\n\n getuserinfo({\n detail = {}\n } = {}) {\n this.triggerEvent('getuserinfo', detail)\n },\n contact({\n detail = {}\n } = {}) {\n this.triggerEvent('contact', detail)\n },\n getphonenumber({\n detail = {}\n } = {}) {\n this.triggerEvent('getphonenumber', detail)\n },\n error({\n detail = {}\n } = {}) {\n this.triggerEvent('error', detail)\n }\n }\n})"],"sourceRoot":""}
@@ -1,8 +1,8 @@
1
- {
2
- "component": true,
3
- "usingComponents":
4
- {
5
- "m-button": "../button/index",
6
- "bld-icon": "../bld-icon/index"
7
- }
8
- }
1
+ {
2
+ "component": true,
3
+ "usingComponents":
4
+ {
5
+ "m-button": "../button/index",
6
+ "bld-icon": "../bld-icon/index"
7
+ }
8
+ }
@@ -1,57 +1,57 @@
1
- <view
2
- class="custom-mask-class m-mask {{ visible ? '' : 'is-hidden' }}"
3
- style="{{ 'z-index: ' + zIndex }}"
4
- bindtap="handleMaskClick"
5
- ></view>
6
-
7
- <view
8
- class="custom-class m-sheet {{ visible ? '' : 'is-hidden' }}"
9
- style="{{ 'z-index: ' + zIndex }}"
10
- >
11
- <view class="m-sheet__header custom-class__header">
12
- <slot name="header" />
13
- </view>
14
-
15
- <view class="m-sheet__content">
16
-
17
- <view class="m-sheet__item" wx:for="{{ actions }}" wx:key="name">
18
-
19
- <button
20
- class="m-button {{ item.loading ? 'is-loading' : '' }} {{ item.disabled ? 'is-disabled' : ''}}"
21
- hover-class="{{ !item.loading && !item.disabled ? 'is-hover' : '' }}"
22
- bindtap="handleItemClick"
23
- data-index="{{ index }}"
24
- open-type="{{ item.openType }}"
25
- send-message-title="{{ sendMessageTitle }}"
26
- send-message-path="{{ sendMessagePath }}"
27
- send-message-img="{{ sendMessageImg }}"
28
- show-message-card="{{ showMessageCard }}"
29
- bindcontact="contact"
30
- bindgetuserinfo="getuserinfo"
31
- bindgetphonenumber="getphonenumber"
32
- binderror="error"
33
- plain="true"
34
- style="{{ item.color ? 'color:' + item.color : '' }}"
35
- >
36
- <view wx:if="{{ item.loading }}" class="m-button__loading"></view>
37
- <view wx:else class="m-sheet__text">
38
- <bld-icon
39
- wx:if="{{ item.icon }}"
40
- name="{{ item.icon }}"
41
- color="{{ item.color }}"
42
- size="36"
43
- class="m-sheet__btn-icon"
44
- />
45
- {{ item.name }}
46
- </view>
47
-
48
- </button>
49
-
50
- </view>
51
-
52
- </view>
53
-
54
- <view class="m-sheet__cancel" wx:if="{{ showCancel }}">
55
- <m-button m-class="m-sheet__button" size="large" type="ghost" full bind:click="handleCancelClick">{{ cancelText }}</m-button>
56
- </view>
1
+ <view
2
+ class="custom-mask-class m-mask {{ visible ? '' : 'is-hidden' }}"
3
+ style="{{ 'z-index: ' + zIndex }}"
4
+ bindtap="handleMaskClick"
5
+ ></view>
6
+
7
+ <view
8
+ class="custom-class m-sheet {{ visible ? '' : 'is-hidden' }}"
9
+ style="{{ 'z-index: ' + zIndex }}"
10
+ >
11
+ <view class="m-sheet__header custom-class__header">
12
+ <slot name="header" />
13
+ </view>
14
+
15
+ <view class="m-sheet__content">
16
+
17
+ <view class="m-sheet__item" wx:for="{{ actions }}" wx:key="name">
18
+
19
+ <button
20
+ class="m-button {{ item.loading ? 'is-loading' : '' }} {{ item.disabled ? 'is-disabled' : ''}}"
21
+ hover-class="{{ !item.loading && !item.disabled ? 'is-hover' : '' }}"
22
+ bindtap="handleItemClick"
23
+ data-index="{{ index }}"
24
+ open-type="{{ item.openType }}"
25
+ send-message-title="{{ sendMessageTitle }}"
26
+ send-message-path="{{ sendMessagePath }}"
27
+ send-message-img="{{ sendMessageImg }}"
28
+ show-message-card="{{ showMessageCard }}"
29
+ bindcontact="contact"
30
+ bindgetuserinfo="getuserinfo"
31
+ bindgetphonenumber="getphonenumber"
32
+ binderror="error"
33
+ plain="true"
34
+ style="{{ item.color ? 'color:' + item.color : '' }}"
35
+ >
36
+ <view wx:if="{{ item.loading }}" class="m-button__loading"></view>
37
+ <view wx:else class="m-sheet__text">
38
+ <bld-icon
39
+ wx:if="{{ item.icon }}"
40
+ name="{{ item.icon }}"
41
+ color="{{ item.color }}"
42
+ size="36"
43
+ class="m-sheet__btn-icon"
44
+ />
45
+ {{ item.name }}
46
+ </view>
47
+
48
+ </button>
49
+
50
+ </view>
51
+
52
+ </view>
53
+
54
+ <view class="m-sheet__cancel" wx:if="{{ showCancel }}">
55
+ <m-button m-class="m-sheet__button" size="large" type="ghost" full bind:click="handleCancelClick">{{ cancelText }}</m-button>
56
+ </view>
57
57
  </view>
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-badge/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","value","type","Number","optionalTypes","String","observer","max","bgcolor","isDot","Boolean","static","data","_value","methods","_valueObserver","isNaN","parseInt","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,qBAAe,CAACD,MAAD,EAASE,MAAT,CAFV;AAGLJ,aAAO,EAHF;AAILK,gBAAU;AAJL,KADG;AAOVC,SAAK;AACHL,YAAMC,MADH;AAEHF,aAAO;AAFJ,KAPK;AAWVO,aAAS;AACPN,YAAMG,MADC;AAEPJ,aAAO;AAFA,KAXC;AAeVQ,WAAO;AACLP,YAAMQ,OADD;AAELT,aAAO;AAFF,KAfG;AAmBVU,YAAQ;AACNT,YAAMQ,OADA;AAENT,aAAO;AAFD;AAnBE,GAPJ;;AAgCRW,QAAM;AACJC,YAAQ;AADJ,GAhCE;;AAoCRC,WAAS;AACPC,kBADO,4BACU;AAAA,kBACQ,KAAKH,IADb;AAAA,UACPX,KADO,SACPA,KADO;AAAA,UACAM,GADA,SACAA,GADA;;;AAGf,UAAIM,SAAS,EAAb;AACA,UAAI,CAACG,MAAMf,KAAN,CAAL,EAAmB;AACjBY,iBAASI,SAAShB,KAAT,IAAkBgB,SAASV,GAAT,CAAlB,GAAqCA,GAArC,SAA8CN,KAAvD;AACD,OAFD,MAEO;AACLY,iBAASZ,KAAT;AACD;;AAED,WAAKiB,OAAL,CAAa;AACXL;AADW,OAAb;AAGD;AAdM;AApCD,CAAV,E","file":"bld-badge\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 44);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n value: {\r\n type: Number,\r\n optionalTypes: [Number, String],\r\n value: '',\r\n observer: '_valueObserver'\r\n },\r\n max: {\r\n type: Number,\r\n value: 99\r\n },\r\n bgcolor: {\r\n type: String,\r\n value: ''\r\n },\r\n isDot: {\r\n type: Boolean,\r\n value: false\r\n },\r\n static: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n _value: 0\r\n },\r\n\r\n methods: {\r\n _valueObserver() {\r\n const { value, max } = this.data\r\n\r\n let _value = ''\r\n if (!isNaN(value)) {\r\n _value = parseInt(value) > parseInt(max) ? `${max}+` : value\r\n } else {\r\n _value = value\r\n }\r\n\r\n this.setData({\r\n _value\r\n })\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-badge/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","value","type","Number","optionalTypes","String","observer","max","bgcolor","isDot","Boolean","static","data","_value","methods","_valueObserver","isNaN","parseInt","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,qBAAe,CAACD,MAAD,EAASE,MAAT,CAFV;AAGLJ,aAAO,EAHF;AAILK,gBAAU;AAJL,KADG;AAOVC,SAAK;AACHL,YAAMC,MADH;AAEHF,aAAO;AAFJ,KAPK;AAWVO,aAAS;AACPN,YAAMG,MADC;AAEPJ,aAAO;AAFA,KAXC;AAeVQ,WAAO;AACLP,YAAMQ,OADD;AAELT,aAAO;AAFF,KAfG;AAmBVU,YAAQ;AACNT,YAAMQ,OADA;AAENT,aAAO;AAFD;AAnBE,GAPJ;;AAgCRW,QAAM;AACJC,YAAQ;AADJ,GAhCE;;AAoCRC,WAAS;AACPC,kBADO,4BACU;AAAA,kBACQ,KAAKH,IADb;AAAA,UACPX,KADO,SACPA,KADO;AAAA,UACAM,GADA,SACAA,GADA;;;AAGf,UAAIM,SAAS,EAAb;AACA,UAAI,CAACG,MAAMf,KAAN,CAAL,EAAmB;AACjBY,iBAASI,SAAShB,KAAT,IAAkBgB,SAASV,GAAT,CAAlB,GAAqCA,GAArC,SAA8CN,KAAvD;AACD,OAFD,MAEO;AACLY,iBAASZ,KAAT;AACD;;AAED,WAAKiB,OAAL,CAAa;AACXL;AADW,OAAb;AAGD;AAdM;AApCD,CAAV,E","file":"bld-badge/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 44);\n","Component({\n externalClasses: ['custom-class'],\n\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n value: {\n type: Number,\n optionalTypes: [Number, String],\n value: '',\n observer: '_valueObserver'\n },\n max: {\n type: Number,\n value: 99\n },\n bgcolor: {\n type: String,\n value: ''\n },\n isDot: {\n type: Boolean,\n value: false\n },\n static: {\n type: Boolean,\n value: false\n }\n },\n\n data: {\n _value: 0\n },\n\n methods: {\n _valueObserver() {\n const { value, max } = this.data\n\n let _value = ''\n if (!isNaN(value)) {\n _value = parseInt(value) > parseInt(max) ? `${max}+` : value\n } else {\n _value = value\n }\n\n this.setData({\n _value\n })\n }\n }\n})\n"],"sourceRoot":""}
@@ -1,4 +1,4 @@
1
- {
2
- "component": true,
3
- "usingComponents": {}
1
+ {
2
+ "component": true,
3
+ "usingComponents": {}
4
4
  }
@@ -1,14 +1,14 @@
1
- <view class="m-badge custom-class">
2
- <slot />
3
- <view
4
- wx:if="{{ isDot }}"
5
- class="m-badge-dot"
6
- style="{{ bgcolor ? 'background-color: ' + bgcolor : '' }}"
7
- ></view>
8
-
9
- <view
10
- wx:elif="{{ value }}"
11
- class="m-badge-count {{ static ? 'm-badge-count__static':'' }}"
12
- style="{{ bgcolor ? 'background-color: ' + bgcolor : '' }}"
13
- >{{ _value }}</view>
1
+ <view class="m-badge custom-class">
2
+ <slot />
3
+ <view
4
+ wx:if="{{ isDot }}"
5
+ class="m-badge-dot"
6
+ style="{{ bgcolor ? 'background-color: ' + bgcolor : '' }}"
7
+ ></view>
8
+
9
+ <view
10
+ wx:elif="{{ value }}"
11
+ class="m-badge-count {{ static ? 'm-badge-count__static':'' }}"
12
+ style="{{ bgcolor ? 'background-color: ' + bgcolor : '' }}"
13
+ >{{ _value }}</view>
14
14
  </view>
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-button/index.js"],"names":["Component","externalClasses","properties","type","String","value","size"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH;AALI;AAFJ,CAAV,E","file":"bld-button\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n type: {\r\n type: String,\r\n value: \"default\",\r\n },\r\n size: {\r\n type: String,\r\n value: \"md\",\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-button/index.js"],"names":["Component","externalClasses","properties","type","String","value","size"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH;AALI;AAFJ,CAAV,E","file":"bld-button/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n","Component({\n externalClasses: [\"iclass\"],\n properties: {\n type: {\n type: String,\n value: \"default\",\n },\n size: {\n type: String,\n value: \"md\",\n },\n },\n});\n"],"sourceRoot":""}
@@ -1,7 +1,7 @@
1
- {
2
- "component": true,
3
- "styleIsolation": "isolated",
4
- "usingComponents": {
5
- "bld-icon": "../bld-icon/index"
6
- }
7
- }
1
+ {
2
+ "component": true,
3
+ "styleIsolation": "isolated",
4
+ "usingComponents": {
5
+ "bld-icon": "../bld-icon/index"
6
+ }
7
+ }
@@ -1,3 +1,3 @@
1
- <view class="button {{ type }} {{ size }} iclass">
2
- <slot />
3
- </view>
1
+ <view class="button {{ type }} {{ size }} iclass">
2
+ <slot />
3
+ </view>
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-button-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","type","String","value","plain","Boolean","inline","size","round","disabled","loading","full","color","bgcolor","openType","hoverStopPropagation","hoverStartTime","Number","hoverStayTime","sendMessageTitle","sendMessagePath","sendMessageImg","showMessageCard","methods","onTap","data","triggerEvent","getuserinfo","detail","contact","getphonenumber","error"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACV;AACAC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAFI;AAMVC,WAAO;AACLH,YAAMI,OADD;AAELF,aAAO;AAFF,KANG;AAUVG,YAAQ;AACNL,YAAMI,OADA;AAENF,aAAO;AAFD,KAVE;AAcVI,UAAM;AACJN,YAAMC,MADF;AAEJC,aAAO;AAFH,KAdI;AAkBVK,WAAO;AACLP,YAAMI,OADD;AAELF,aAAO;AAFF,KAlBG;AAsBVM,cAAU;AACRR,YAAMI,OADE;AAERF,aAAO;AAFC,KAtBA;AA0BVO,aAAS;AACPT,YAAMI,OADC;AAEPF,aAAO;AAFA,KA1BC;AA8BVQ,UAAM;AACJV,YAAMI,OADF;AAEJF,aAAO;AAFH,KA9BI;AAkCVS,WAAO;AACLX,YAAMC,MADD;AAELC,aAAO;AAFF,KAlCG;AAsCVU,aAAS;AACPZ,YAAMC,MADC;AAEPC,aAAO;AAFA,KAtCC;AA0CVW,cAAUZ,MA1CA;AA2CVa,0BAAsBV,OA3CZ;AA4CVW,oBAAgB;AACdf,YAAMgB,MADQ;AAEdd,aAAO;AAFO,KA5CN;AAgDVe,mBAAe;AACbjB,YAAMgB,MADO;AAEbd,aAAO;AAFM,KAhDL;AAoDVgB,sBAAkBjB,MApDR;AAqDVkB,qBAAiBlB,MArDP;AAsDVmB,oBAAgBnB,MAtDN;AAuDVoB,qBAAiBjB;AAvDP,GAPJ;;AAiERkB,WAAS;AACPC,SADO,mBACC;AACN,UAAI,KAAKC,IAAL,CAAUhB,QAAd,EAAwB,OAAO,KAAP;AACxB,WAAKiB,YAAL,CAAkB,OAAlB;AACD,KAJM;AAKPC,eALO,yBAOC;AAAA,qFAAJ,EAAI;AAAA,6BADNC,MACM;AAAA,UADNA,MACM,+BADG,EACH;;AACN,WAAKF,YAAL,CAAkB,aAAlB,EAAiCE,MAAjC;AACD,KATM;AAUPC,WAVO,qBAYC;AAAA,sFAAJ,EAAI;AAAA,+BADND,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,SAAlB,EAA6BE,MAA7B;AACD,KAdM;AAePE,kBAfO,4BAiBC;AAAA,sFAAJ,EAAI;AAAA,+BADNF,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,gBAAlB,EAAoCE,MAApC;AACD,KAnBM;AAoBPG,SApBO,mBAsBC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AAxBM;AAjED,CAAV,E","file":"bld-button-v2\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 4);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n // ghost, primary, info, success, warning, error\r\n type: {\r\n type: String,\r\n value: 'default',\r\n },\r\n plain: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n inline: {\r\n type: Boolean,\r\n value: false\r\n },\r\n size: {\r\n type: String,\r\n value: '',\r\n },\r\n round: {\r\n type: Boolean,\r\n value: false\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n loading: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n full: {\r\n type: Boolean,\r\n value: false\r\n },\r\n color: {\r\n type: String,\r\n value: ''\r\n },\r\n bgcolor: {\r\n type: String,\r\n value: ''\r\n },\r\n openType: String,\r\n hoverStopPropagation: Boolean,\r\n hoverStartTime: {\r\n type: Number,\r\n value: 20\r\n },\r\n hoverStayTime: {\r\n type: Number,\r\n value: 70\r\n },\r\n sendMessageTitle: String,\r\n sendMessagePath: String,\r\n sendMessageImg: String,\r\n showMessageCard: Boolean\r\n },\r\n\r\n methods: {\r\n onTap() {\r\n if (this.data.disabled) return false\r\n this.triggerEvent('click')\r\n },\r\n getuserinfo({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getuserinfo', detail)\r\n },\r\n contact({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('contact', detail)\r\n },\r\n getphonenumber({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getphonenumber', detail)\r\n },\r\n error({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('error', detail)\r\n }\r\n }\r\n});"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-button-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","type","String","value","plain","Boolean","inline","size","round","disabled","loading","full","color","bgcolor","openType","hoverStopPropagation","hoverStartTime","Number","hoverStayTime","sendMessageTitle","sendMessagePath","sendMessageImg","showMessageCard","methods","onTap","data","triggerEvent","getuserinfo","detail","contact","getphonenumber","error"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACV;AACAC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAFI;AAMVC,WAAO;AACLH,YAAMI,OADD;AAELF,aAAO;AAFF,KANG;AAUVG,YAAQ;AACNL,YAAMI,OADA;AAENF,aAAO;AAFD,KAVE;AAcVI,UAAM;AACJN,YAAMC,MADF;AAEJC,aAAO;AAFH,KAdI;AAkBVK,WAAO;AACLP,YAAMI,OADD;AAELF,aAAO;AAFF,KAlBG;AAsBVM,cAAU;AACRR,YAAMI,OADE;AAERF,aAAO;AAFC,KAtBA;AA0BVO,aAAS;AACPT,YAAMI,OADC;AAEPF,aAAO;AAFA,KA1BC;AA8BVQ,UAAM;AACJV,YAAMI,OADF;AAEJF,aAAO;AAFH,KA9BI;AAkCVS,WAAO;AACLX,YAAMC,MADD;AAELC,aAAO;AAFF,KAlCG;AAsCVU,aAAS;AACPZ,YAAMC,MADC;AAEPC,aAAO;AAFA,KAtCC;AA0CVW,cAAUZ,MA1CA;AA2CVa,0BAAsBV,OA3CZ;AA4CVW,oBAAgB;AACdf,YAAMgB,MADQ;AAEdd,aAAO;AAFO,KA5CN;AAgDVe,mBAAe;AACbjB,YAAMgB,MADO;AAEbd,aAAO;AAFM,KAhDL;AAoDVgB,sBAAkBjB,MApDR;AAqDVkB,qBAAiBlB,MArDP;AAsDVmB,oBAAgBnB,MAtDN;AAuDVoB,qBAAiBjB;AAvDP,GAPJ;;AAiERkB,WAAS;AACPC,SADO,mBACC;AACN,UAAI,KAAKC,IAAL,CAAUhB,QAAd,EAAwB,OAAO,KAAP;AACxB,WAAKiB,YAAL,CAAkB,OAAlB;AACD,KAJM;AAKPC,eALO,yBAOC;AAAA,qFAAJ,EAAI;AAAA,6BADNC,MACM;AAAA,UADNA,MACM,+BADG,EACH;;AACN,WAAKF,YAAL,CAAkB,aAAlB,EAAiCE,MAAjC;AACD,KATM;AAUPC,WAVO,qBAYC;AAAA,sFAAJ,EAAI;AAAA,+BADND,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,SAAlB,EAA6BE,MAA7B;AACD,KAdM;AAePE,kBAfO,4BAiBC;AAAA,sFAAJ,EAAI;AAAA,+BADNF,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,gBAAlB,EAAoCE,MAApC;AACD,KAnBM;AAoBPG,SApBO,mBAsBC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AAxBM;AAjED,CAAV,E","file":"bld-button-v2/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 4);\n","Component({\n externalClasses: ['custom-class'],\n\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n // ghost, primary, info, success, warning, error\n type: {\n type: String,\n value: 'default',\n },\n plain: {\n type: Boolean,\n value: false,\n },\n inline: {\n type: Boolean,\n value: false\n },\n size: {\n type: String,\n value: '',\n },\n round: {\n type: Boolean,\n value: false\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n loading: {\n type: Boolean,\n value: false,\n },\n full: {\n type: Boolean,\n value: false\n },\n color: {\n type: String,\n value: ''\n },\n bgcolor: {\n type: String,\n value: ''\n },\n openType: String,\n hoverStopPropagation: Boolean,\n hoverStartTime: {\n type: Number,\n value: 20\n },\n hoverStayTime: {\n type: Number,\n value: 70\n },\n sendMessageTitle: String,\n sendMessagePath: String,\n sendMessageImg: String,\n showMessageCard: Boolean\n },\n\n methods: {\n onTap() {\n if (this.data.disabled) return false\n this.triggerEvent('click')\n },\n getuserinfo({\n detail = {}\n } = {}) {\n this.triggerEvent('getuserinfo', detail)\n },\n contact({\n detail = {}\n } = {}) {\n this.triggerEvent('contact', detail)\n },\n getphonenumber({\n detail = {}\n } = {}) {\n this.triggerEvent('getphonenumber', detail)\n },\n error({\n detail = {}\n } = {}) {\n this.triggerEvent('error', detail)\n }\n }\n});"],"sourceRoot":""}
@@ -1,3 +1,3 @@
1
- {
2
- "component": true
3
- }
1
+ {
2
+ "component": true
3
+ }
@@ -1,42 +1,42 @@
1
- <button
2
- class="m-button {{ full ? 'm-button--full' : '' }} {{ size ? 'm-button--' + size : '' }} {{ 'm-button--' + type }} {{ round ? 'is-round' : '' }} {{ plain ? 'is-plain' : '' }} {{ loading ? 'is-loading' : '' }} {{ disabled ? 'is-disabled' : ''}} {{ inline ? 'is-inline' : '' }} custom-class"
3
- style="{{ button.getButtonStyle(color, bgcolor) }}"
4
- hover-class="{{ loading || disabled ? '' : plain ? 'is-plain--hover' : 'is-hover' }}"
5
- bind:tap="onTap"
6
- open-type="{{ openType }}"
7
- hover-stop-propagation="{{ hoverStopPropagation }}"
8
- hover-start-time="{{ hoverStartTime }}"
9
- hover-stay-time="{{ hoverStayTime }}"
10
- send-message-title="{{ sendMessageTitle }}"
11
- send-message-path="{{ sendMessagePath }}"
12
- send-message-img="{{ sendMessageImg }}"
13
- show-message-card="{{ showMessageCard }}"
14
- bindcontact="contact"
15
- bindgetuserinfo="getuserinfo"
16
- bindgetphonenumber="getphonenumber"
17
- binderror="error"
18
- plain="true"
19
- >
20
- <view wx:if="{{ loading }}" class="m-button__loading"></view>
21
- <slot wx:else />
22
- </button>
23
-
24
- <wxs module="button">
25
- function getButtonStyle(color, bgcolor) {
26
-
27
- var styles = []
28
- if(color) {
29
- styles.push('color:' + color)
30
- }
31
-
32
- if(bgcolor) {
33
- styles.push('background-color:' + bgcolor)
34
- }
35
-
36
- return styles.join(";")
37
- }
38
-
39
- module.exports = {
40
- getButtonStyle: getButtonStyle
41
- }
1
+ <button
2
+ class="m-button {{ full ? 'm-button--full' : '' }} {{ size ? 'm-button--' + size : '' }} {{ 'm-button--' + type }} {{ round ? 'is-round' : '' }} {{ plain ? 'is-plain' : '' }} {{ loading ? 'is-loading' : '' }} {{ disabled ? 'is-disabled' : ''}} {{ inline ? 'is-inline' : '' }} custom-class"
3
+ style="{{ button.getButtonStyle(color, bgcolor) }}"
4
+ hover-class="{{ loading || disabled ? '' : plain ? 'is-plain--hover' : 'is-hover' }}"
5
+ bind:tap="onTap"
6
+ open-type="{{ openType }}"
7
+ hover-stop-propagation="{{ hoverStopPropagation }}"
8
+ hover-start-time="{{ hoverStartTime }}"
9
+ hover-stay-time="{{ hoverStayTime }}"
10
+ send-message-title="{{ sendMessageTitle }}"
11
+ send-message-path="{{ sendMessagePath }}"
12
+ send-message-img="{{ sendMessageImg }}"
13
+ show-message-card="{{ showMessageCard }}"
14
+ bindcontact="contact"
15
+ bindgetuserinfo="getuserinfo"
16
+ bindgetphonenumber="getphonenumber"
17
+ binderror="error"
18
+ plain="true"
19
+ >
20
+ <view wx:if="{{ loading }}" class="m-button__loading"></view>
21
+ <slot wx:else />
22
+ </button>
23
+
24
+ <wxs module="button">
25
+ function getButtonStyle(color, bgcolor) {
26
+
27
+ var styles = []
28
+ if(color) {
29
+ styles.push('color:' + color)
30
+ }
31
+
32
+ if(bgcolor) {
33
+ styles.push('background-color:' + bgcolor)
34
+ }
35
+
36
+ return styles.join(";")
37
+ }
38
+
39
+ module.exports = {
40
+ getButtonStyle: getButtonStyle
41
+ }
42
42
  </wxs>
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-card/index.js"],"names":["Component","externalClasses"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD;AADT,CAAV,E","file":"bld-card\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 5);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-card/index.js"],"names":["Component","externalClasses"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD;AADT,CAAV,E","file":"bld-card/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 5);\n","Component({\n externalClasses: [\"iclass\"],\n});\n"],"sourceRoot":""}