bulade-ui 1.1.45 → 1.1.47
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.
- package/.babelrc +11 -11
- package/.vscode/extensions.json +7 -7
- package/.vscode/settings.json +32 -32
- package/LICENSE +21 -21
- package/README.md +45 -45
- package/gulpfile.js +26 -26
- package/miniprogram_dist/assets/font/iconfont.scss +569 -565
- package/miniprogram_dist/assets/font/iconfont.wxss +4 -0
- package/miniprogram_dist/assets/style/border.wxss +94 -94
- package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
- package/miniprogram_dist/bld-action-sheet/index.json +8 -8
- package/miniprogram_dist/bld-action-sheet/index.wxml +56 -56
- package/miniprogram_dist/bld-badge/index.js.map +1 -1
- package/miniprogram_dist/bld-badge/index.json +3 -3
- package/miniprogram_dist/bld-badge/index.wxml +13 -13
- package/miniprogram_dist/bld-button/index.js.map +1 -1
- package/miniprogram_dist/bld-button/index.json +7 -7
- package/miniprogram_dist/bld-button/index.wxml +3 -3
- package/miniprogram_dist/bld-button-v2/index.js.map +1 -1
- package/miniprogram_dist/bld-button-v2/index.json +3 -3
- package/miniprogram_dist/bld-button-v2/index.wxml +41 -41
- package/miniprogram_dist/bld-card/index.js.map +1 -1
- package/miniprogram_dist/bld-card/index.json +2 -2
- package/miniprogram_dist/bld-card/index.wxml +5 -5
- package/miniprogram_dist/bld-cell/index.js.map +1 -1
- package/miniprogram_dist/bld-cell/index.json +7 -7
- package/miniprogram_dist/bld-cell/index.wxml +42 -42
- package/miniprogram_dist/bld-cell-field/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-field/index.json +6 -6
- package/miniprogram_dist/bld-cell-field/index.wxml +8 -8
- package/miniprogram_dist/bld-cell-group/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-group/index.json +2 -2
- package/miniprogram_dist/bld-cell-group/index.wxml +14 -14
- package/miniprogram_dist/bld-cell-group-v2/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-group-v2/index.json +2 -2
- package/miniprogram_dist/bld-cell-group-v2/index.wxml +9 -9
- package/miniprogram_dist/bld-cell-v2/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-v2/index.json +5 -5
- package/miniprogram_dist/bld-cell-v2/index.wxml +24 -24
- package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
- package/miniprogram_dist/bld-checkbox/index.json +5 -5
- package/miniprogram_dist/bld-checkbox/index.wxml +66 -66
- package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
- package/miniprogram_dist/bld-checkbox-group/index.json +3 -3
- package/miniprogram_dist/bld-cloud-image/index.js.map +1 -1
- package/miniprogram_dist/bld-cloud-image/index.json +2 -2
- package/miniprogram_dist/bld-cloud-image/index.wxml +14 -14
- package/miniprogram_dist/bld-collapse/index.js.map +1 -1
- package/miniprogram_dist/bld-collapse/index.json +3 -3
- package/miniprogram_dist/bld-collapse/index.wxml +8 -8
- package/miniprogram_dist/bld-dialog-tip/index.js.map +1 -1
- package/miniprogram_dist/bld-dialog-tip/index.json +5 -5
- package/miniprogram_dist/bld-dialog-tip/index.wxml +23 -23
- package/miniprogram_dist/bld-drawer/index.js.map +1 -1
- package/miniprogram_dist/bld-drawer/index.json +3 -3
- package/miniprogram_dist/bld-drawer/index.wxml +13 -13
- package/miniprogram_dist/bld-empty-page/index.js.map +1 -1
- package/miniprogram_dist/bld-empty-page/index.json +5 -5
- package/miniprogram_dist/bld-empty-page/index.wxml +11 -11
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.json +6 -6
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.wxml +43 -43
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.json +4 -4
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.wxml +27 -27
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.json +6 -6
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.wxml +53 -53
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.json +4 -4
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.wxml +28 -28
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.json +4 -4
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.wxml +6 -6
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.json +4 -4
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.wxml +25 -25
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.json +6 -6
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.wxml +43 -43
- package/miniprogram_dist/bld-half-screen/index.js.map +1 -1
- package/miniprogram_dist/bld-half-screen/index.json +4 -4
- package/miniprogram_dist/bld-half-screen/index.wxml +36 -36
- package/miniprogram_dist/bld-html/index.js.map +1 -1
- package/miniprogram_dist/bld-html/index.json +5 -5
- package/miniprogram_dist/bld-html/index.wxml +9 -9
- package/miniprogram_dist/bld-icon/index.js.map +1 -1
- package/miniprogram_dist/bld-icon/index.json +6 -6
- package/miniprogram_dist/bld-icon/index.wxml +36 -36
- package/miniprogram_dist/bld-icon/index.wxss +4 -0
- package/miniprogram_dist/bld-loading/index.js.map +1 -1
- package/miniprogram_dist/bld-loading/index.json +6 -6
- package/miniprogram_dist/bld-loading/index.wxml +8 -8
- package/miniprogram_dist/bld-message/index.js.map +1 -1
- package/miniprogram_dist/bld-message/index.json +3 -3
- package/miniprogram_dist/bld-message/index.wxml +8 -8
- package/miniprogram_dist/bld-message/message.js.map +1 -1
- package/miniprogram_dist/bld-modal/index.js.map +1 -1
- package/miniprogram_dist/bld-modal/index.json +6 -6
- package/miniprogram_dist/bld-modal/index.wxml +22 -22
- package/miniprogram_dist/bld-modal/modal.js.map +1 -1
- package/miniprogram_dist/bld-nav-bar/index.js.map +1 -1
- package/miniprogram_dist/bld-nav-bar/index.json +6 -6
- package/miniprogram_dist/bld-nav-bar/index.wxml +43 -43
- package/miniprogram_dist/bld-navbar/index.js.map +1 -1
- package/miniprogram_dist/bld-navbar/index.json +5 -5
- package/miniprogram_dist/bld-navbar/index.wxml +7 -7
- package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
- package/miniprogram_dist/bld-navbar-group/index.json +3 -3
- package/miniprogram_dist/bld-navbar-group/index.wxml +36 -36
- package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
- package/miniprogram_dist/bld-notice-bar/index.json +3 -3
- package/miniprogram_dist/bld-notice-bar/index.wxml +29 -29
- package/miniprogram_dist/bld-overlay/index.js.map +1 -1
- package/miniprogram_dist/bld-overlay/index.json +3 -3
- package/miniprogram_dist/bld-overlay/index.wxml +11 -11
- package/miniprogram_dist/bld-page/index.js.map +1 -1
- package/miniprogram_dist/bld-page/index.json +7 -7
- package/miniprogram_dist/bld-page/index.wxml +31 -31
- package/miniprogram_dist/bld-pop-up/index.js.map +1 -1
- package/miniprogram_dist/bld-pop-up/index.json +6 -6
- package/miniprogram_dist/bld-pop-up/index.wxml +18 -18
- package/miniprogram_dist/bld-progress/index.js.map +1 -1
- package/miniprogram_dist/bld-progress/index.json +3 -3
- package/miniprogram_dist/bld-progress/index.wxml +34 -34
- package/miniprogram_dist/bld-radio/index.js.map +1 -1
- package/miniprogram_dist/bld-radio/index.json +3 -3
- package/miniprogram_dist/bld-radio/index.wxml +23 -23
- package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
- package/miniprogram_dist/bld-radio-group/index.json +3 -3
- package/miniprogram_dist/bld-retry/index.js.map +1 -1
- package/miniprogram_dist/bld-retry/index.json +2 -2
- package/miniprogram_dist/bld-retry/index.wxml +5 -5
- package/miniprogram_dist/bld-scroll-view/index.js.map +1 -1
- package/miniprogram_dist/bld-scroll-view/index.json +7 -7
- package/miniprogram_dist/bld-scroll-view/index.wxml +42 -42
- package/miniprogram_dist/bld-tabs/index.js.map +1 -1
- package/miniprogram_dist/bld-tabs/index.json +4 -4
- package/miniprogram_dist/bld-tabs/index.wxml +13 -13
- package/miniprogram_dist/bld-tag/index.js.map +1 -1
- package/miniprogram_dist/bld-tag/index.json +3 -3
- package/miniprogram_dist/bld-tag/index.wxml +2 -2
- package/miniprogram_dist/bld-text/index.js.map +1 -1
- package/miniprogram_dist/bld-text/index.json +2 -2
- package/miniprogram_dist/bld-text/index.wxml +3 -3
- package/miniprogram_dist/bld-toast/index.js.map +1 -1
- package/miniprogram_dist/bld-toast/index.json +5 -5
- package/miniprogram_dist/bld-toast/index.wxml +26 -26
- package/miniprogram_dist/bld-toast/toast.js.map +1 -1
- package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
- package/miniprogram_dist/bld-wrapper/index.json +4 -4
- package/miniprogram_dist/bld-wrapper/index.wxml +6 -6
- package/miniprogram_dist/button/index.js.map +1 -1
- package/miniprogram_dist/button/index.json +3 -3
- package/miniprogram_dist/button/index.wxml +41 -41
- package/miniprogram_dist/components-npm/mp-weixin/index.js +6 -6
- package/miniprogram_dist/components-npm/mp-weixin/index.js.map +1 -1
- package/miniprogram_dist/components-npm/mp-weixin/node/node.js.map +1 -1
- package/miniprogram_dist/grid/index.js.map +1 -1
- package/miniprogram_dist/grid/index.json +3 -3
- package/miniprogram_dist/grid/index.wxml +2 -2
- package/miniprogram_dist/grid-item/index.js.map +1 -1
- package/miniprogram_dist/grid-item/index.json +5 -5
- package/miniprogram_dist/grid-item/index.wxml +45 -45
- package/miniprogram_dist/timeline/index.js.map +1 -1
- package/miniprogram_dist/timeline/index.json +2 -2
- package/miniprogram_dist/timeline/index.wxml +1 -1
- package/miniprogram_dist/timeline-item/index.js.map +1 -1
- package/miniprogram_dist/timeline-item/index.json +5 -5
- package/miniprogram_dist/timeline-item/index.wxml +9 -9
- package/miniprogram_dist/utils/systemInfo.js +52 -52
- package/package.json +72 -72
- package/project.config.json +7 -7
- package/src/assets/font/iconfont.scss +569 -565
- package/src/assets/font/iconfont.wxss +4 -0
- package/src/assets/style/border.wxss +94 -94
- package/src/bld-action-sheet/index.js +82 -82
- package/src/bld-action-sheet/index.json +8 -8
- package/src/bld-action-sheet/index.scss +179 -179
- package/src/bld-action-sheet/index.wxml +56 -56
- package/src/bld-badge/index.js +53 -53
- package/src/bld-badge/index.json +3 -3
- package/src/bld-badge/index.scss +45 -45
- package/src/bld-badge/index.wxml +13 -13
- package/src/bld-button/index.js +13 -13
- package/src/bld-button/index.json +7 -7
- package/src/bld-button/index.scss +44 -44
- package/src/bld-button/index.wxml +3 -3
- package/src/bld-button-v2/index.js +91 -91
- package/src/bld-button-v2/index.json +3 -3
- package/src/bld-button-v2/index.scss +206 -206
- package/src/bld-button-v2/index.wxml +41 -41
- package/src/bld-card/index.js +3 -3
- package/src/bld-card/index.json +2 -2
- package/src/bld-card/index.scss +6 -6
- package/src/bld-card/index.wxml +5 -5
- package/src/bld-cell/index.js +29 -29
- package/src/bld-cell/index.json +7 -7
- package/src/bld-cell/index.scss +42 -42
- package/src/bld-cell/index.wxml +42 -42
- package/src/bld-cell-field/index.js +11 -11
- package/src/bld-cell-field/index.json +6 -6
- package/src/bld-cell-field/index.scss +21 -21
- package/src/bld-cell-field/index.wxml +8 -8
- package/src/bld-cell-group/index.js +12 -12
- package/src/bld-cell-group/index.json +2 -2
- package/src/bld-cell-group/index.scss +13 -13
- package/src/bld-cell-group/index.wxml +14 -14
- package/src/bld-cell-group-v2/index.js +70 -70
- package/src/bld-cell-group-v2/index.json +2 -2
- package/src/bld-cell-group-v2/index.scss +31 -31
- package/src/bld-cell-group-v2/index.wxml +9 -9
- package/src/bld-cell-v2/index.js +80 -80
- package/src/bld-cell-v2/index.json +5 -5
- package/src/bld-cell-v2/index.scss +74 -74
- package/src/bld-cell-v2/index.wxml +24 -24
- package/src/bld-checkbox/index.js +110 -110
- package/src/bld-checkbox/index.json +5 -5
- package/src/bld-checkbox/index.scss +71 -71
- package/src/bld-checkbox/index.wxml +66 -66
- package/src/bld-checkbox-group/index.js +84 -84
- package/src/bld-checkbox-group/index.json +3 -3
- package/src/bld-cloud-image/index.js +79 -79
- package/src/bld-cloud-image/index.json +2 -2
- package/src/bld-cloud-image/index.scss +3 -3
- package/src/bld-cloud-image/index.wxml +14 -14
- package/src/bld-collapse/index.js +62 -62
- package/src/bld-collapse/index.json +3 -3
- package/src/bld-collapse/index.scss +6 -6
- package/src/bld-collapse/index.wxml +8 -8
- package/src/bld-content-container/index.js +46 -46
- package/src/bld-content-container/index.json +2 -2
- package/src/bld-content-container/index.wxml +5 -5
- package/src/bld-dialog-tip/index.js +60 -60
- package/src/bld-dialog-tip/index.json +5 -5
- package/src/bld-dialog-tip/index.scss +66 -66
- package/src/bld-dialog-tip/index.wxml +23 -23
- package/src/bld-drawer/index.js +40 -40
- package/src/bld-drawer/index.json +3 -3
- package/src/bld-drawer/index.scss +78 -78
- package/src/bld-drawer/index.wxml +13 -13
- package/src/bld-empty-page/index.js +23 -23
- package/src/bld-empty-page/index.json +5 -5
- package/src/bld-empty-page/index.scss +15 -15
- package/src/bld-empty-page/index.wxml +11 -11
- package/src/bld-form/bld-form-item/bld-form-date/index.js +211 -211
- package/src/bld-form/bld-form-item/bld-form-date/index.json +6 -6
- package/src/bld-form/bld-form-item/bld-form-date/index.scss +53 -53
- package/src/bld-form/bld-form-item/bld-form-date/index.wxml +43 -43
- package/src/bld-form/bld-form-item/bld-form-input/index.js +53 -53
- package/src/bld-form/bld-form-item/bld-form-input/index.json +4 -4
- package/src/bld-form/bld-form-item/bld-form-input/index.scss +25 -25
- package/src/bld-form/bld-form-item/bld-form-input/index.wxml +27 -27
- package/src/bld-form/bld-form-item/bld-form-select-input/index.js +149 -149
- package/src/bld-form/bld-form-item/bld-form-select-input/index.json +6 -6
- package/src/bld-form/bld-form-item/bld-form-select-input/index.scss +117 -117
- package/src/bld-form/bld-form-item/bld-form-select-input/index.wxml +53 -53
- package/src/bld-form/bld-form-item/bld-form-step/index.js +58 -58
- package/src/bld-form/bld-form-item/bld-form-step/index.json +4 -4
- package/src/bld-form/bld-form-item/bld-form-step/index.scss +42 -42
- package/src/bld-form/bld-form-item/bld-form-step/index.wxml +28 -28
- package/src/bld-form/bld-form-item/bld-form-switch/index.js +37 -37
- package/src/bld-form/bld-form-item/bld-form-switch/index.json +4 -4
- package/src/bld-form/bld-form-item/bld-form-switch/index.scss +22 -22
- package/src/bld-form/bld-form-item/bld-form-switch/index.wxml +6 -6
- package/src/bld-form/bld-form-item/bld-form-textarea/index.js +44 -44
- package/src/bld-form/bld-form-item/bld-form-textarea/index.json +4 -4
- package/src/bld-form/bld-form-item/bld-form-textarea/index.scss +25 -25
- package/src/bld-form/bld-form-item/bld-form-textarea/index.wxml +25 -25
- package/src/bld-form/bld-form-item/bld-form-time/index.js +108 -108
- package/src/bld-form/bld-form-item/bld-form-time/index.json +6 -6
- package/src/bld-form/bld-form-item/bld-form-time/index.scss +53 -53
- package/src/bld-form/bld-form-item/bld-form-time/index.wxml +43 -43
- package/src/bld-half-screen/index.js +166 -166
- package/src/bld-half-screen/index.json +4 -4
- package/src/bld-half-screen/index.scss +109 -109
- package/src/bld-half-screen/index.wxml +36 -36
- package/src/bld-html/index.js +46 -46
- package/src/bld-html/index.json +5 -5
- package/src/bld-html/index.scss +17 -17
- package/src/bld-html/index.wxml +9 -9
- package/src/bld-icon/index.js +41 -41
- package/src/bld-icon/index.json +6 -6
- package/src/bld-icon/index.scss +19 -19
- package/src/bld-icon/index.wxml +36 -36
- package/src/bld-icon/index.wxss +4 -0
- package/src/bld-icon-back/index.js +8 -8
- package/src/bld-icon-back/index.json +3 -3
- package/src/bld-icon-back/index.scss +1 -1
- package/src/bld-icon-back/index.wxml +1 -1
- package/src/bld-icon-back/index.wxss +4 -0
- package/src/bld-loading/index.js +9 -9
- package/src/bld-loading/index.json +6 -6
- package/src/bld-loading/index.scss +25 -25
- package/src/bld-loading/index.wxml +8 -8
- package/src/bld-message/index.js +90 -90
- package/src/bld-message/index.json +3 -3
- package/src/bld-message/index.scss +66 -66
- package/src/bld-message/index.wxml +8 -8
- package/src/bld-message/message.js +61 -61
- package/src/bld-modal/index.js +122 -122
- package/src/bld-modal/index.json +6 -6
- package/src/bld-modal/index.scss +107 -107
- package/src/bld-modal/index.wxml +22 -22
- package/src/bld-modal/modal.js +37 -37
- package/src/bld-nav-bar/index.js +140 -140
- package/src/bld-nav-bar/index.json +6 -6
- package/src/bld-nav-bar/index.scss +55 -55
- package/src/bld-nav-bar/index.wxml +43 -43
- package/src/bld-nav-bar1/index.js +90 -90
- package/src/bld-nav-bar1/index.json +5 -5
- package/src/bld-nav-bar1/index.scss +39 -39
- package/src/bld-nav-bar1/index.wxml +24 -24
- package/src/bld-navbar/index.js +62 -62
- package/src/bld-navbar/index.json +5 -5
- package/src/bld-navbar/index.scss +34 -34
- package/src/bld-navbar/index.wxml +7 -7
- package/src/bld-navbar-group/index.js +139 -139
- package/src/bld-navbar-group/index.json +3 -3
- package/src/bld-navbar-group/index.scss +32 -32
- package/src/bld-navbar-group/index.wxml +36 -36
- package/src/bld-notice-bar/index.js +69 -69
- package/src/bld-notice-bar/index.json +3 -3
- package/src/bld-notice-bar/index.scss +58 -58
- package/src/bld-notice-bar/index.wxml +29 -29
- package/src/bld-overlay/index.js +17 -17
- package/src/bld-overlay/index.json +3 -3
- package/src/bld-overlay/index.scss +11 -11
- package/src/bld-overlay/index.wxml +11 -11
- package/src/bld-page/index.js +97 -97
- package/src/bld-page/index.json +7 -7
- package/src/bld-page/index.scss +16 -16
- package/src/bld-page/index.wxml +31 -31
- package/src/bld-pop-up/index.js +29 -29
- package/src/bld-pop-up/index.json +6 -6
- package/src/bld-pop-up/index.scss +27 -27
- package/src/bld-pop-up/index.wxml +18 -18
- package/src/bld-progress/index.js +49 -49
- package/src/bld-progress/index.json +3 -3
- package/src/bld-progress/index.scss +73 -73
- package/src/bld-progress/index.wxml +34 -34
- package/src/bld-radio/index.js +64 -64
- package/src/bld-radio/index.json +3 -3
- package/src/bld-radio/index.scss +67 -67
- package/src/bld-radio/index.wxml +23 -23
- package/src/bld-radio-group/index.js +82 -82
- package/src/bld-radio-group/index.json +3 -3
- package/src/bld-retry/index.js +23 -23
- package/src/bld-retry/index.json +2 -2
- package/src/bld-retry/index.scss +26 -26
- package/src/bld-retry/index.wxml +5 -5
- package/src/bld-scroll-view/index.js +28 -28
- package/src/bld-scroll-view/index.json +7 -7
- package/src/bld-scroll-view/index.scss +7 -7
- package/src/bld-scroll-view/index.wxml +42 -42
- package/src/bld-tabs/index.js +21 -21
- package/src/bld-tabs/index.json +4 -4
- package/src/bld-tabs/index.scss +32 -32
- package/src/bld-tabs/index.wxml +13 -13
- package/src/bld-tag/index.js +33 -33
- package/src/bld-tag/index.json +3 -3
- package/src/bld-tag/index.scss +126 -126
- package/src/bld-tag/index.wxml +2 -2
- package/src/bld-text/index.js +46 -46
- package/src/bld-text/index.json +2 -2
- package/src/bld-text/index.scss +30 -30
- package/src/bld-text/index.wxml +3 -3
- package/src/bld-toast/index.js +113 -113
- package/src/bld-toast/index.json +5 -5
- package/src/bld-toast/index.scss +111 -111
- package/src/bld-toast/index.wxml +26 -26
- package/src/bld-toast/toast.js +34 -34
- package/src/bld-wrapper/index.js +75 -75
- package/src/bld-wrapper/index.json +4 -4
- package/src/bld-wrapper/index.scss +7 -7
- package/src/bld-wrapper/index.wxml +6 -6
- package/src/button/index.js +91 -91
- package/src/button/index.json +3 -3
- package/src/button/index.scss +206 -206
- package/src/button/index.wxml +41 -41
- package/src/components-npm/mp-weixin/index.js +7 -7
- package/src/grid/index.js +67 -67
- package/src/grid/index.json +3 -3
- package/src/grid/index.scss +20 -20
- package/src/grid/index.wxml +2 -2
- package/src/grid-item/index.js +72 -72
- package/src/grid-item/index.json +5 -5
- package/src/grid-item/index.scss +58 -58
- package/src/grid-item/index.wxml +45 -45
- package/src/timeline/index.js +49 -49
- package/src/timeline/index.json +2 -2
- package/src/timeline/index.wxml +1 -1
- package/src/timeline-item/index.js +27 -27
- package/src/timeline-item/index.json +5 -5
- package/src/timeline-item/index.scss +36 -36
- package/src/timeline-item/index.wxml +9 -9
- package/src/utils/systemInfo.js +52 -52
- package/tsconfig.json +25 -25
|
@@ -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
|
|
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,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true
|
|
1
|
+
{
|
|
2
|
+
"component": true
|
|
3
3
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<view
|
|
2
|
-
class="card iclass"
|
|
3
|
-
>
|
|
4
|
-
<slot />
|
|
5
|
-
</view>
|
|
1
|
+
<view
|
|
2
|
+
class="card iclass"
|
|
3
|
+
>
|
|
4
|
+
<slot />
|
|
5
|
+
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell/index.js"],"names":["Component","externalClasses","options","multipleSlots","properties","title","type","String","icon","subtitle","isLink","Boolean","value","padding"],"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,WAAS;AACPC,mBAAe;AADR,GAFD;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,UAAM;AACJF,YAAMC;AADF,KAJI;AAOVE,cAAU;AACRH,YAAMC;AADE,KAPA;AAUVG,YAAQ;AACNJ,YAAMK,OADA;AAENC,aAAO;AAFD,KAVE;AAcVN,UAAM;AACJA,YAAMC,MADF;AAEJK,aAAO;AAFH,KAdI;AAkBVC,aAAS;AACPP,YAAMC,MADC;AAEPK,aAAO;AAFA;AAlBC;AALJ,CAAV,E","file":"bld-cell
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell/index.js"],"names":["Component","externalClasses","options","multipleSlots","properties","title","type","String","icon","subtitle","isLink","Boolean","value","padding"],"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,WAAS;AACPC,mBAAe;AADR,GAFD;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,UAAM;AACJF,YAAMC;AADF,KAJI;AAOVE,cAAU;AACRH,YAAMC;AADE,KAPA;AAUVG,YAAQ;AACNJ,YAAMK,OADA;AAENC,aAAO;AAFD,KAVE;AAcVN,UAAM;AACJA,YAAMC,MADF;AAEJK,aAAO;AAFH,KAdI;AAkBVC,aAAS;AACPP,YAAMC,MADC;AAEPK,aAAO;AAFA;AAlBC;AALJ,CAAV,E","file":"bld-cell\\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 = 7);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n options: {\r\n multipleSlots: true,\r\n },\r\n properties: {\r\n title: {\r\n type: String,\r\n },\r\n icon: {\r\n type: String,\r\n },\r\n subtitle: {\r\n type: String,\r\n },\r\n isLink: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n type: {\r\n type: String,\r\n value: \"text\",\r\n },\r\n padding: {\r\n type: String,\r\n value: \"0 24rpx\",\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
"bld-icon": "../bld-icon/index",
|
|
5
|
-
"bld-text": "../bld-text/index"
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"bld-icon": "../bld-icon/index",
|
|
5
|
+
"bld-text": "../bld-text/index"
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
<view
|
|
2
|
-
class="cell type-{{ type }} iclass"
|
|
3
|
-
style="padding: {{ padding }}"
|
|
4
|
-
>
|
|
5
|
-
<slot name="image" />
|
|
6
|
-
<bld-icon
|
|
7
|
-
wx:if="{{ icon }}"
|
|
8
|
-
iclass="icon"
|
|
9
|
-
name="{{ icon }}"
|
|
10
|
-
/>
|
|
11
|
-
<view class="title-wrapper">
|
|
12
|
-
<view
|
|
13
|
-
wx:if="{{ title }}"
|
|
14
|
-
class="title"
|
|
15
|
-
>
|
|
16
|
-
<view class="main-title">{{ title }}</view>
|
|
17
|
-
<view
|
|
18
|
-
wx:if="{{ subtitle }}"
|
|
19
|
-
class="sub-title"
|
|
20
|
-
>
|
|
21
|
-
<bld-text
|
|
22
|
-
max-lines="1"
|
|
23
|
-
text="{{ subtitle }}"
|
|
24
|
-
size="sm"
|
|
25
|
-
/>
|
|
26
|
-
</view>
|
|
27
|
-
</view>
|
|
28
|
-
<view
|
|
29
|
-
wx:else
|
|
30
|
-
class="title"
|
|
31
|
-
>
|
|
32
|
-
<slot name="title" />
|
|
33
|
-
</view>
|
|
34
|
-
<slot name="description" />
|
|
35
|
-
<view
|
|
36
|
-
wx:if="{{ type == 'link' }}"
|
|
37
|
-
class="link-icon"
|
|
38
|
-
>
|
|
39
|
-
<bld-icon name="forward" />
|
|
40
|
-
</view>
|
|
41
|
-
</view>
|
|
42
|
-
</view>
|
|
1
|
+
<view
|
|
2
|
+
class="cell type-{{ type }} iclass"
|
|
3
|
+
style="padding: {{ padding }}"
|
|
4
|
+
>
|
|
5
|
+
<slot name="image" />
|
|
6
|
+
<bld-icon
|
|
7
|
+
wx:if="{{ icon }}"
|
|
8
|
+
iclass="icon"
|
|
9
|
+
name="{{ icon }}"
|
|
10
|
+
/>
|
|
11
|
+
<view class="title-wrapper">
|
|
12
|
+
<view
|
|
13
|
+
wx:if="{{ title }}"
|
|
14
|
+
class="title"
|
|
15
|
+
>
|
|
16
|
+
<view class="main-title">{{ title }}</view>
|
|
17
|
+
<view
|
|
18
|
+
wx:if="{{ subtitle }}"
|
|
19
|
+
class="sub-title"
|
|
20
|
+
>
|
|
21
|
+
<bld-text
|
|
22
|
+
max-lines="1"
|
|
23
|
+
text="{{ subtitle }}"
|
|
24
|
+
size="sm"
|
|
25
|
+
/>
|
|
26
|
+
</view>
|
|
27
|
+
</view>
|
|
28
|
+
<view
|
|
29
|
+
wx:else
|
|
30
|
+
class="title"
|
|
31
|
+
>
|
|
32
|
+
<slot name="title" />
|
|
33
|
+
</view>
|
|
34
|
+
<slot name="description" />
|
|
35
|
+
<view
|
|
36
|
+
wx:if="{{ type == 'link' }}"
|
|
37
|
+
class="link-icon"
|
|
38
|
+
>
|
|
39
|
+
<bld-icon name="forward" />
|
|
40
|
+
</view>
|
|
41
|
+
</view>
|
|
42
|
+
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-field/index.js"],"names":["Component","properties","title","type","String","isLink","Boolean","value"],"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,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,YAAQ;AACNF,YAAMG,OADA;AAENC,aAAO;AAFD;AAJE;AADJ,CAAV,E","file":"bld-cell-field
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-field/index.js"],"names":["Component","properties","title","type","String","isLink","Boolean","value"],"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,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,YAAQ;AACNF,YAAMG,OADA;AAENC,aAAO;AAFD;AAJE;AADJ,CAAV,E","file":"bld-cell-field\\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 = 8);\n","Component({\r\n properties: {\r\n title: {\r\n type: String,\r\n },\r\n isLink: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
"bld-icon": "../bld-icon/index"
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"bld-icon": "../bld-icon/index"
|
|
5
|
+
}
|
|
6
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<view class="cell">
|
|
2
|
-
<view class="cell-content">
|
|
3
|
-
<view wx:if="{{ title }}" class="title">{{ title }}</view>
|
|
4
|
-
<view class="field">
|
|
5
|
-
<slot />
|
|
6
|
-
</view>
|
|
7
|
-
</view>
|
|
8
|
-
</view>
|
|
1
|
+
<view class="cell">
|
|
2
|
+
<view class="cell-content">
|
|
3
|
+
<view wx:if="{{ title }}" class="title">{{ title }}</view>
|
|
4
|
+
<view class="field">
|
|
5
|
+
<slot />
|
|
6
|
+
</view>
|
|
7
|
+
</view>
|
|
8
|
+
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-group/index.js"],"names":["Component","externalClasses","properties","title","type","String","isFirst","Boolean","value"],"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,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,aAAS;AACPF,YAAMG,OADC;AAEPC,aAAO;AAFA;AAJC;AAFJ,CAAV,E","file":"bld-cell-group
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-group/index.js"],"names":["Component","externalClasses","properties","title","type","String","isFirst","Boolean","value"],"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,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,aAAS;AACPF,YAAMG,OADC;AAEPC,aAAO;AAFA;AAJC;AAFJ,CAAV,E","file":"bld-cell-group\\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 = 9);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n title: {\r\n type: String,\r\n },\r\n isFirst: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true
|
|
1
|
+
{
|
|
2
|
+
"component": true
|
|
3
3
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<view class="cell-group">
|
|
2
|
-
<view class="title-wrapper">
|
|
3
|
-
<view
|
|
4
|
-
wx:if="{{ title }}"
|
|
5
|
-
class="title"
|
|
6
|
-
>
|
|
7
|
-
{{ title }}
|
|
8
|
-
</view>
|
|
9
|
-
</view>
|
|
10
|
-
|
|
11
|
-
<view class="content iclass">
|
|
12
|
-
<slot />
|
|
13
|
-
</view>
|
|
14
|
-
</view>
|
|
1
|
+
<view class="cell-group">
|
|
2
|
+
<view class="title-wrapper">
|
|
3
|
+
<view
|
|
4
|
+
wx:if="{{ title }}"
|
|
5
|
+
class="title"
|
|
6
|
+
>
|
|
7
|
+
{{ title }}
|
|
8
|
+
</view>
|
|
9
|
+
</view>
|
|
10
|
+
|
|
11
|
+
<view class="content iclass">
|
|
12
|
+
<slot />
|
|
13
|
+
</view>
|
|
14
|
+
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-group-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","relations","type","linked","_updateChildren","linkChanged","_updateDataChange","unlinked","properties","title","String","value","card","Boolean","border","observer","val","methods","timer","clearTimeout","setTimeout","cells","getRelationNodes","len","length","lastIndex","forEach","cell","index","updateCellBorder","data"],"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;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7BD,iBAAKE,gBAAL,CAAsB,MAAKC,IAAL,CAAUhB,MAAV,IAAoBc,UAAUH,SAApD;AACD,WAFD;AAGD;AACF,OAZY,EAYV,EAZU,CAAb;AAaD;AAtBM;AA9CD,CAAV,E","file":"bld-cell-group-v2
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-group-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","relations","type","linked","_updateChildren","linkChanged","_updateDataChange","unlinked","properties","title","String","value","card","Boolean","border","observer","val","methods","timer","clearTimeout","setTimeout","cells","getRelationNodes","len","length","lastIndex","forEach","cell","index","updateCellBorder","data"],"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;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,aAAW;AACT,4BAAwB;AACtBC,YAAM,YADgB;;AAGtBC,YAHsB,oBAGb;AACP,aAAKC,eAAL;AACD,OALqB;AAOtBC,iBAPsB,yBAOR;AACZ,aAAKC,iBAAL;AACD,OATqB;AAWtBC,cAXsB,sBAWX;AACT,aAAKH,eAAL;AACD;AAbqB;AADf,GARH;;AA0BRI,cAAY;AACVC,WAAO;AACLP,YAAMQ,MADD;AAELC,aAAO;AAFF,KADG;;AAMVC,UAAM;AACJV,YAAMW,OADF;AAEJF,aAAO;AAFH,KANI;;AAWVG,YAAQ;AACNZ,YAAMW,OADA;AAENF,aAAO,KAFD;AAGNI,cAHM,oBAGGC,GAHH,EAGQ;AACZ,aAAKZ,eAAL;AACD;AALK;AAXE,GA1BJ;;AA8CRa,WAAS;AACPb,mBADO,6BACW;AAAA;;AAEhB;AACA,UAAI,KAAKc,KAAT,EAAgB;AACdC,qBAAa,KAAKD,KAAlB;AACA,aAAKA,KAAL,GAAa,IAAb;AACD;;AAED,WAAKA,KAAL,GAAaE,WAAW,YAAM;;AAE5B,YAAIC,QAAQ,MAAKC,gBAAL,CAAsB,sBAAtB,CAAZ;AACA,YAAMC,MAAMF,MAAMG,MAAlB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACX,cAAIE,YAAYF,MAAM,CAAtB;;AAEAF,gBAAMK,OAAN,CAAc,UAACC,IAAD,EAAOC,KAAP,EAAiB;AAC7BD,iBAAKE,gBAAL,CAAsB,MAAKC,IAAL,CAAUhB,MAAV,IAAoBc,UAAUH,SAApD;AACD,WAFD;AAGD;AACF,OAZY,EAYV,EAZU,CAAb;AAaD;AAtBM;AA9CD,CAAV,E","file":"bld-cell-group-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 = 11);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n multipleSlots: true\r\n },\r\n\r\n relations: {\r\n '../bld-cell-v2/index': {\r\n type: 'descendant',\r\n\r\n linked() {\r\n this._updateChildren()\r\n },\r\n\r\n linkChanged() {\r\n this._updateDataChange();\r\n },\r\n\r\n unlinked() {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n title: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n card: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n border: {\r\n type: Boolean,\r\n value: false,\r\n observer(val) {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n _updateChildren() {\r\n\r\n // 防抖减少重复触发\r\n if (this.timer) {\r\n clearTimeout(this.timer)\r\n this.timer = null\r\n }\r\n\r\n this.timer = setTimeout(() => {\r\n\r\n let cells = this.getRelationNodes('../bld-cell-v2/index')\r\n const len = cells.length\r\n\r\n if (len > 0) {\r\n let lastIndex = len - 1\r\n\r\n cells.forEach((cell, index) => {\r\n cell.updateCellBorder(this.data.border && index !== lastIndex)\r\n })\r\n }\r\n }, 60)\r\n }\r\n }\r\n})"],"sourceRoot":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true
|
|
1
|
+
{
|
|
2
|
+
"component": true
|
|
3
3
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<view class="iclass m-cell-group {{ card ? 'm-cell-group--card':'' }}">
|
|
2
|
-
<view wx:if="{{ title }}" class="m-cell-group__header">
|
|
3
|
-
<view class="m-cell-group__title">{{ title }}</view>
|
|
4
|
-
<slot name="group-suffix" />
|
|
5
|
-
</view>
|
|
6
|
-
|
|
7
|
-
<view class="m-cell-group__list">
|
|
8
|
-
<slot />
|
|
9
|
-
</view>
|
|
1
|
+
<view class="iclass m-cell-group {{ card ? 'm-cell-group--card':'' }}">
|
|
2
|
+
<view wx:if="{{ title }}" class="m-cell-group__header">
|
|
3
|
+
<view class="m-cell-group__title">{{ title }}</view>
|
|
4
|
+
<slot name="group-suffix" />
|
|
5
|
+
</view>
|
|
6
|
+
|
|
7
|
+
<view class="m-cell-group__list">
|
|
8
|
+
<slot />
|
|
9
|
+
</view>
|
|
10
10
|
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","properties","icon","String","value","image","title","isMultiple","Boolean","border","iconColor","linkType","url","methods","updateCellBorder","setData","onClick","triggerEvent","data","wx","call"],"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;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,kCAA8B;AAC5BC,YAAM;AADsB;AADrB,GAPH;;AAaRC,cAAY;AACVC,UAAM;AACJF,YAAMG,MADF;AAEJC,aAAO;AAFH,KADI;;AAMVC,WAAO;AACLL,YAAMG,MADD;AAELC,aAAO;AAFF,KANG;;AAWVE,WAAO;AACLN,YAAMG,MADD;AAELC,aAAO;AAFF,KAXG;;AAgBVA,WAAO;AACLJ,YAAMG,MADD;AAELC,aAAO;AAFF,KAhBG;;AAqBVG,gBAAY;AACVP,YAAMQ,OADI;AAEVJ,aAAO;AAFG,KArBF;;AA0BVK,YAAQ;AACNT,YAAMQ,OADA;AAENJ,aAAO;AAFD,KA1BE;;AA+BVM,eAAW;AACTV,YAAMG,MADG;AAETC,aAAO;AAFE,KA/BD;;AAoCV;AACAO,cAAU;AACRX,YAAMG,MADE;AAERC,aAAO;AAFC,KArCA;;AA0CVQ,SAAK;AACHZ,YAAMG,MADH;AAEHC,aAAO;AAFJ;AA1CK,GAbJ;;AA8DRS,WAAS;AACPC,oBADO,4BACUL,MADV,EACkB;AACvB,WAAKM,OAAL,CAAa;AACXN;AADW,OAAb;AAGD,KALM;AAOPO,WAPO,qBAOG;AACR,WAAKC,YAAL,CAAkB,OAAlB;;AAEA,UAAML,MAAM,KAAKM,IAAL,CAAUN,GAAtB;AACA,UAAI,CAACA,GAAL,EAAU;;AAEVO,SAAG,KAAKD,IAAL,CAAUP,QAAb,EAAuBS,IAAvB,CAA4BD,EAA5B,EAAgC;AAC9BP;AAD8B,OAAhC;AAGD;AAhBM;AA9DD,CAAV,E","file":"bld-cell-v2
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","properties","icon","String","value","image","title","isMultiple","Boolean","border","iconColor","linkType","url","methods","updateCellBorder","setData","onClick","triggerEvent","data","wx","call"],"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;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G,KAAKD,IAAL,CAAUP,QAAb,EAAuBS,IAAvB,CAA4BD,EAA5B,EAAgC;AAC9BP;AAD8B,OAAhC;AAGD;AAhBM;AA9DD,CAAV,E","file":"bld-cell-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 = 10);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-cell-group-v2/index': {\r\n type: 'ancestor'\r\n }\r\n },\r\n\r\n properties: {\r\n icon: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n image: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n title: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n value: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n isMultiple: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n border: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n iconColor: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n // 链接类型,可选值为 navigateTo,redirectTo,switchTab\r\n linkType: {\r\n type: String,\r\n value: 'navigateTo'\r\n },\r\n\r\n url: {\r\n type: String,\r\n value: ''\r\n }\r\n },\r\n\r\n\r\n methods: {\r\n updateCellBorder(border) {\r\n this.setData({\r\n border\r\n })\r\n },\r\n\r\n onClick() {\r\n this.triggerEvent('click')\r\n\r\n const url = this.data.url\r\n if (!url) return\r\n\r\n wx[this.data.linkType].call(wx, {\r\n url\r\n })\r\n }\r\n }\r\n});"],"sourceRoot":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
"bld-icon": "../bld-icon/index"
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"bld-icon": "../bld-icon/index"
|
|
5
|
+
}
|
|
6
6
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
<view
|
|
2
|
-
bindtap="onClick"
|
|
3
|
-
class="m-cell iclass {{ border ? 'm-cell__hairline':'' }}"
|
|
4
|
-
hover-class="{{ url ? 'm-cell--hover' : '' }}"
|
|
5
|
-
>
|
|
6
|
-
<!-- 头部图标 -->
|
|
7
|
-
<view wx:if="{{ icon }}" class="m-cell__icon m-cell__header">
|
|
8
|
-
<bld-icon name="{{ icon }}" size="36" color="{{ iconColor ? iconColor : '' }}" />
|
|
9
|
-
</view>
|
|
10
|
-
|
|
11
|
-
<!-- 自定义标题 -->
|
|
12
|
-
<view wx:if="{{ title }}" class="m-cell__title">{{ title }}</view>
|
|
13
|
-
<slot wx:else name="title" />
|
|
14
|
-
|
|
15
|
-
<!-- 描述内容 -->
|
|
16
|
-
<view wx:if="{{ value }}" class="m-cell__desc {{ isMultiple ? '':'is-ellipsis' }}">{{ value }}</view>
|
|
17
|
-
|
|
18
|
-
<!-- 自定义内容 -->
|
|
19
|
-
<view wx:else class="m-cell__slot">
|
|
20
|
-
<slot />
|
|
21
|
-
</view>
|
|
22
|
-
|
|
23
|
-
<!-- 右侧跳转箭头 -->
|
|
24
|
-
<bld-icon wx:if="{{ url }}" class="m-cell__icon m-cell__footer" catchtap="navigateTo" name="arrow-right" size="32" color="#999" />
|
|
1
|
+
<view
|
|
2
|
+
bindtap="onClick"
|
|
3
|
+
class="m-cell iclass {{ border ? 'm-cell__hairline':'' }}"
|
|
4
|
+
hover-class="{{ url ? 'm-cell--hover' : '' }}"
|
|
5
|
+
>
|
|
6
|
+
<!-- 头部图标 -->
|
|
7
|
+
<view wx:if="{{ icon }}" class="m-cell__icon m-cell__header">
|
|
8
|
+
<bld-icon name="{{ icon }}" size="36" color="{{ iconColor ? iconColor : '' }}" />
|
|
9
|
+
</view>
|
|
10
|
+
|
|
11
|
+
<!-- 自定义标题 -->
|
|
12
|
+
<view wx:if="{{ title }}" class="m-cell__title">{{ title }}</view>
|
|
13
|
+
<slot wx:else name="title" />
|
|
14
|
+
|
|
15
|
+
<!-- 描述内容 -->
|
|
16
|
+
<view wx:if="{{ value }}" class="m-cell__desc {{ isMultiple ? '':'is-ellipsis' }}">{{ value }}</view>
|
|
17
|
+
|
|
18
|
+
<!-- 自定义内容 -->
|
|
19
|
+
<view wx:else class="m-cell__slot">
|
|
20
|
+
<slot />
|
|
21
|
+
</view>
|
|
22
|
+
|
|
23
|
+
<!-- 右侧跳转箭头 -->
|
|
24
|
+
<bld-icon wx:if="{{ url }}" class="m-cell__icon m-cell__footer" catchtap="navigateTo" name="arrow-right" size="32" color="#999" />
|
|
25
25
|
</view>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-checkbox/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","parent","unlinked","properties","name","value","Boolean","disabled","checkedColor","String","labelLeft","round","data","prevent","methods","emitChange","setParentValue","triggerEvent","toggle","onClickLabel","labelDisabled","parentValue","slice","max","length","indexOf","push","index","splice"],"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;QAC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P,CAAoB,QAApB,EAA8BI,WAA9B;AACD;AACF;AACF;AAvDM;AApDD,CAAV,E","file":"bld-checkbox
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-checkbox/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","parent","unlinked","properties","name","value","Boolean","disabled","checkedColor","String","labelLeft","round","data","prevent","methods","emitChange","setParentValue","triggerEvent","toggle","onClickLabel","labelDisabled","parentValue","slice","max","length","indexOf","push","index","splice"],"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,aAAW;AACT,mCAA+B;AAC7BC,YAAM,UADuB;AAE7BC,YAF6B,kBAEtBC,MAFsB,EAEd;AACb,aAAKC,MAAL,GAAcD,MAAd;AACD,OAJ4B;AAK7BE,cAL6B,sBAKlB;AACT,aAAKD,MAAL,GAAc,IAAd;AACD;AAP4B;AADtB,GAPH;;AAmBRE,cAAY;AACVC,UAAM,IADI;;AAGVC,WAAO;AACLP,YAAMQ,OADD;AAELD,aAAO;AAFF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AJoB,GAIZtB,OAAOW,IAJK,CAIpBW,GAJoB;;;AAM5B,UAAIlB,KAAJ,EAAW;AACT,YAAIkB,OAAOF,YAAYG,MAAZ,IAAsBD,GAAjC,EAAsC;AACpC;AACD;;AAED,YAAIF,YAAYI,OAAZ,CAAoBrB,IAApB,MAA8B,CAAC,CAAnC,EAAsC;;AAEpCiB,sBAAYK,IAAZ,CAAiBtB,IAAjB;;AAEAH,iBAAOgB,YAAP,CAAoB,OAApB,EAA6BI,WAA7B;AACApB,iBAAOgB,YAAP,CAAoB,QAApB,EAA8BI,WAA9B;AACD;AAEF,OAbD,MAaO;;AAEL,YAAMM,QAAQN,YAAYI,OAAZ,CAAoBrB,IAApB,CAAd;;AAEA,YAAIuB,UAAU,CAAC,CAAf,EAAkB;AAChBN,sBAAYO,MAAZ,CAAmBD,KAAnB,EAA0B,CAA1B;AACA1B,iBAAOgB,YAAP,CAAoB,OAApB,EAA6BI,WAA7B;AACApB,iBAAOgB,YAAP,CAAoB,QAApB,EAA8BI,WAA9B;AACD;AACF;AACF;AAvDM;AApDD,CAAV,E","file":"bld-checkbox\\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 = 51);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-checkbox-group/index': {\r\n type: 'ancestor',\r\n linked(target) {\r\n this.parent = target;\r\n },\r\n unlinked() {\r\n this.parent = null;\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n name: null,\r\n \r\n value: {\r\n type: Boolean,\r\n value: false\r\n },\r\n \r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n round: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n prevent: false, // 在超出可选个数限制时使用\r\n },\r\n\r\n methods: {\r\n emitChange(value) {\r\n // \r\n if (this.parent) {\r\n this.setParentValue(this.parent, value);\r\n } else {\r\n this.triggerEvent('input', value);\r\n this.triggerEvent('change', value);\r\n }\r\n },\r\n\r\n toggle() {\r\n const { disabled, value } = this.data;\r\n\r\n if (!disabled) {\r\n this.emitChange(!value);\r\n }\r\n },\r\n\r\n onClickLabel() {\r\n const { labelDisabled, disabled, value } = this.data;\r\n if (!disabled && !labelDisabled) {\r\n this.emitChange(!value);\r\n }\r\n },\r\n\r\n setParentValue(parent, value) {\r\n const parentValue = parent.data.value.slice();\r\n\r\n const { name } = this.data;\r\n const { max } = parent.data;\r\n\r\n if (value) {\r\n if (max && parentValue.length >= max) {\r\n return\r\n }\r\n \r\n if (parentValue.indexOf(name) === -1) {\r\n\r\n parentValue.push(name)\r\n\r\n parent.triggerEvent('input', parentValue)\r\n parent.triggerEvent('change', parentValue)\r\n }\r\n\r\n } else {\r\n\r\n const index = parentValue.indexOf(name)\r\n\r\n if (index !== -1) {\r\n parentValue.splice(index, 1)\r\n parent.triggerEvent('input', parentValue)\r\n parent.triggerEvent('change', parentValue)\r\n }\r\n }\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
"bld-icon": "../bld-icon/index"
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"bld-icon": "../bld-icon/index"
|
|
5
|
+
}
|
|
6
6
|
}
|