@nutui/nutui 2.3.15 → 2.3.16
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/CHANGELOG.md +13 -1
- package/dist/nutui.css +1 -1
- package/dist/nutui.js +9 -9
- package/dist/nutui.js.map +1 -1
- package/dist/nutui.min.css +1 -1
- package/dist/nutui.min.js +2 -2
- package/dist/nutui.min.js.map +1 -1
- package/dist/packages/actionsheet/actionsheet.css +1 -1
- package/dist/packages/actionsheet/actionsheet.js +1 -1
- package/dist/packages/address/address.css +1 -1
- package/dist/packages/address/address.js +1 -1
- package/dist/packages/avatar/avatar.css +1 -1
- package/dist/packages/avatar/avatar.js +1 -1
- package/dist/packages/backtop/backtop.css +1 -1
- package/dist/packages/backtop/backtop.js +1 -1
- package/dist/packages/badge/badge.css +1 -1
- package/dist/packages/badge/badge.js +1 -1
- package/dist/packages/button/button.css +1 -1
- package/dist/packages/button/button.js +1 -1
- package/dist/packages/buttongroup/buttongroup.css +1 -1
- package/dist/packages/buttongroup/buttongroup.js +1 -1
- package/dist/packages/calendar/calendar.css +1 -1
- package/dist/packages/calendar/calendar.js +1 -1
- package/dist/packages/cell/cell.css +1 -1
- package/dist/packages/cell/cell.js +1 -1
- package/dist/packages/checkbox/checkbox.css +1 -1
- package/dist/packages/checkbox/checkbox.js +1 -1
- package/dist/packages/checkboxgroup/checkboxgroup.css +1 -1
- package/dist/packages/checkboxgroup/checkboxgroup.js +2 -2
- package/dist/packages/checkboxgroup/checkboxgroup.js.map +1 -1
- package/dist/packages/checkboxgroup/checkboxgroup.vue +2 -2
- package/dist/packages/circleprogress/circleprogress.css +1 -1
- package/dist/packages/circleprogress/circleprogress.js +1 -1
- package/dist/packages/col/col.css +1 -1
- package/dist/packages/col/col.js +1 -1
- package/dist/packages/collapse/collapse.css +1 -1
- package/dist/packages/collapse/collapse.js +1 -1
- package/dist/packages/collapseitem/collapseitem.css +1 -1
- package/dist/packages/collapseitem/collapseitem.js +1 -1
- package/dist/packages/countdown/countdown.css +1 -1
- package/dist/packages/countdown/countdown.js +1 -1
- package/dist/packages/countup/countup.css +1 -1
- package/dist/packages/countup/countup.js +1 -1
- package/dist/packages/coupon/coupon.css +1 -1
- package/dist/packages/coupon/coupon.js +1 -1
- package/dist/packages/datepicker/datepicker.css +1 -1
- package/dist/packages/datepicker/datepicker.js +1 -1
- package/dist/packages/dialog/dialog.css +1 -1
- package/dist/packages/dialog/dialog.js +1 -1
- package/dist/packages/drag/drag.css +1 -1
- package/dist/packages/drag/drag.js +1 -1
- package/dist/packages/elevator/elevator.css +1 -1
- package/dist/packages/elevator/elevator.js +1 -1
- package/dist/packages/fixednav/fixednav.css +1 -1
- package/dist/packages/fixednav/fixednav.js +1 -1
- package/dist/packages/flex/flex.css +1 -1
- package/dist/packages/flex/flex.js +1 -1
- package/dist/packages/icon/icon.css +1 -1
- package/dist/packages/icon/icon.js +1 -1
- package/dist/packages/imagepicker/imagepicker.css +1 -1
- package/dist/packages/imagepicker/imagepicker.js +1 -1
- package/dist/packages/infiniteloading/infiniteloading.css +1 -1
- package/dist/packages/infiniteloading/infiniteloading.js +1 -1
- package/dist/packages/lazyload/lazyload.css +1 -1
- package/dist/packages/lazyload/lazyload.js +1 -1
- package/dist/packages/leftslip/leftslip.css +1 -1
- package/dist/packages/leftslip/leftslip.js +1 -1
- package/dist/packages/luckdraw/luckdraw.css +1 -1
- package/dist/packages/luckdraw/luckdraw.js +1 -1
- package/dist/packages/luckycard/luckycard.css +1 -1
- package/dist/packages/luckycard/luckycard.js +1 -1
- package/dist/packages/magic/magic.css +1 -1
- package/dist/packages/magic/magic.js +1 -1
- package/dist/packages/menu/menu.css +1 -1
- package/dist/packages/menu/menu.js +1 -1
- package/dist/packages/navbar/navbar.css +1 -1
- package/dist/packages/navbar/navbar.js +1 -1
- package/dist/packages/ninegrid/ninegrid.css +1 -1
- package/dist/packages/ninegrid/ninegrid.js +1 -1
- package/dist/packages/noticebar/noticebar.css +1 -1
- package/dist/packages/noticebar/noticebar.js +1 -1
- package/dist/packages/notify/notify.css +1 -1
- package/dist/packages/notify/notify.js +1 -1
- package/dist/packages/numberkeyboard/numberkeyboard.css +1 -1
- package/dist/packages/numberkeyboard/numberkeyboard.js +1 -1
- package/dist/packages/picker/picker.css +1 -1
- package/dist/packages/picker/picker.js +1 -1
- package/dist/packages/popup/popup.css +1 -1
- package/dist/packages/popup/popup.js +1 -1
- package/dist/packages/price/price.css +1 -1
- package/dist/packages/price/price.js +1 -1
- package/dist/packages/progress/progress.css +1 -1
- package/dist/packages/progress/progress.js +1 -1
- package/dist/packages/radio/radio.css +1 -1
- package/dist/packages/radio/radio.js +1 -1
- package/dist/packages/radiogroup/radiogroup.css +1 -1
- package/dist/packages/radiogroup/radiogroup.js +1 -1
- package/dist/packages/range/range.css +1 -1
- package/dist/packages/range/range.js +1 -1
- package/dist/packages/rate/rate.css +1 -1
- package/dist/packages/rate/rate.js +1 -1
- package/dist/packages/row/row.css +1 -1
- package/dist/packages/row/row.js +1 -1
- package/dist/packages/scroller/scroller.css +1 -1
- package/dist/packages/scroller/scroller.js +1 -1
- package/dist/packages/searchbar/searchbar.css +1 -1
- package/dist/packages/searchbar/searchbar.js +1 -1
- package/dist/packages/shortpassword/shortpassword.css +1 -1
- package/dist/packages/shortpassword/shortpassword.js +1 -1
- package/dist/packages/sidenavbar/sidenavbar.css +1 -1
- package/dist/packages/sidenavbar/sidenavbar.js +1 -1
- package/dist/packages/sidenavbaritem/sidenavbaritem.css +1 -1
- package/dist/packages/sidenavbaritem/sidenavbaritem.js +1 -1
- package/dist/packages/signature/signature.css +1 -1
- package/dist/packages/signature/signature.js +1 -1
- package/dist/packages/skeleton/skeleton.css +1 -1
- package/dist/packages/skeleton/skeleton.js +1 -1
- package/dist/packages/slider/slider.css +1 -1
- package/dist/packages/slider/slider.js +1 -1
- package/dist/packages/stepper/stepper.css +1 -1
- package/dist/packages/stepper/stepper.js +1 -1
- package/dist/packages/steps/steps.css +1 -1
- package/dist/packages/steps/steps.js +1 -1
- package/dist/packages/subsidenavbar/subsidenavbar.css +1 -1
- package/dist/packages/subsidenavbar/subsidenavbar.js +1 -1
- package/dist/packages/swiper/swiper.css +1 -1
- package/dist/packages/swiper/swiper.js +1 -1
- package/dist/packages/switch/switch.css +1 -1
- package/dist/packages/switch/switch.js +1 -1
- package/dist/packages/tab/tab.css +1 -1
- package/dist/packages/tab/tab.js +1 -1
- package/dist/packages/tabbar/tabbar.css +1 -1
- package/dist/packages/tabbar/tabbar.js +1 -1
- package/dist/packages/tabpanel/tabpanel.css +1 -1
- package/dist/packages/tabpanel/tabpanel.js +1 -1
- package/dist/packages/tabselect/tabselect.css +1 -1
- package/dist/packages/tabselect/tabselect.js +1 -1
- package/dist/packages/textbox/textbox.css +1 -1
- package/dist/packages/textbox/textbox.js +1 -1
- package/dist/packages/textinput/textinput.css +1 -1
- package/dist/packages/textinput/textinput.js +1 -1
- package/dist/packages/timeline/timeline.css +1 -1
- package/dist/packages/timeline/timeline.js +1 -1
- package/dist/packages/timelineitem/timelineitem.css +1 -1
- package/dist/packages/timelineitem/timelineitem.js +1 -1
- package/dist/packages/toast/toast.css +1 -1
- package/dist/packages/toast/toast.js +1 -1
- package/dist/packages/uploader/uploader.css +1 -1
- package/dist/packages/uploader/uploader.js +1 -1
- package/dist/packages/video/video.css +1 -1
- package/dist/packages/video/video.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - actionsheet.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/@-webkit-keyframes nutFadeIn{0%{opacity:0}to{opacity:1}}@keyframes nutFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes nutFadeOut{0%{opacity:1}to{opacity:0}}@keyframes nutFadeOut{0%{opacity:1}to{opacity:0}}.nutFade-enter-active,.nutFade-leave-active,.nutFadeIn,.nutFadeOut{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:cubic-bezier(.55,.085,.68,.53);animation-timing-function:cubic-bezier(.55,.085,.68,.53)}.nutFade-enter-active,.nutFadeIn{-webkit-animation-name:nutFadeIn;animation-name:nutFadeIn}.nutFade-leave-active,.nutFadeOut{-webkit-animation-name:nutFadeOut;animation-name:nutFadeOut}@-webkit-keyframes nutSlideUpIn{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes nutSlideUpIn{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes nutSlideUpOut{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes nutSlideUpOut{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.nutSlideUp-enter-active,.nutSlideUp-leave-active,.nutSlideUpIn,.nutSlideUpOut{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:cubic-bezier(.445,.05,.55,.95);animation-timing-function:cubic-bezier(.445,.05,.55,.95)}.nutSlideUp-enter-active,.nutSlideUpIn{-webkit-animation-name:nutSlideUpIn;animation-name:nutSlideUpIn}.nutSlideUp-leave-active,.nutSlideUpOut{-webkit-animation-name:nutSlideUpOut;animation-name:nutSlideUpOut}.nut-actionsheet-mask{position:fixed;z-index:9998;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.5)}.nut-actionsheet-panel{position:fixed;left:0;right:0;bottom:0;width:100%;max-height:80%;overflow:auto;z-index:10001;background-color:#f6f6f6}.nut-actionsheet-modal{padding:10px;margin:0;text-align:center;background-color:#fff;border-bottom:1px solid #f6f6f6}.nut-actionsheet-modal .nut-actionsheet-sub-title,.nut-actionsheet-modal .nut-actionsheet-title{padding:5px 0}.nut-actionsheet-modal .nut-actionsheet-title{font-size:14px;color:#2d2d2d}.nut-actionsheet-modal .nut-actionsheet-sub-title{font-size:12px;color:#2d2d2d;-webkit-margin-start:0;margin-inline-start:0}.nut-actionsheet-menu{list-style:none;padding:0;margin:0}.nut-actionsheet-cancel,.nut-actionsheet-item{height:24px;padding:10px;line-height:24px;font-size:14px;color:#2d2d2d;text-align:center;background-color:#fff}.nut-actionsheet-item{border-bottom:1px solid #f6f6f6}.nut-actionsheet-item-active{color:#f0250f}.nut-actionsheet-item-disabled{color:#e1e1e1}.nut-actionsheet-cancel{margin-top:5px;border-top:1px solid #f6f6f6}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - actionsheet.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - address.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-icon{list-style:none;display:inline-block;width:20px;height:20px;color:#2d2d2d}.nut-icon svg{vertical-align:top;width:100%;height:100%;fill:currentColor}.nut-address .title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:20px;padding:0 20px;text-align:center;font-size:16px;font-weight:700;color:#333;line-height:20px}.nut-address .title svg{width:20px;height:20px}.nut-address .title .arrow{display:inline-block;width:20px;height:20px}.nut-address .title .arrow svg{width:20px;height:20px}.nut-address .custom-address .region-tab{position:relative;margin-top:32px;padding:0 20px;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;color:#1d1e1e}.nut-address .custom-address .region-tab .tab-item{margin-right:30px}.nut-address .custom-address .region-tab .tab-item.active{font-weight:700}.nut-address .custom-address .region-tab .tab-item span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nut-address .custom-address .region-tab .region-tab-line{position:absolute;bottom:-10px;left:20px;display:inline-block;margin-top:5px;width:26px;height:3px;background:-webkit-gradient(linear,left top,right top,from(#f5503a),to(#fad1cb));background:-o-linear-gradient(left,#f5503a 0,#fad1cb 100%);background:linear-gradient(90deg,#f5503a,#fad1cb);-webkit-transition:all .2s linear;-o-transition:.2s all linear;transition:all .2s linear}.nut-address .custom-address .region-con{margin:20px 20px 0}.nut-address .custom-address .region-con .region-group{padding-top:15px;height:270px;overflow-y:auto}.nut-address .custom-address .region-con .region-group .region-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;font-size:12px;color:#333}.nut-address .custom-address .region-con .region-group .region-item.active{font-weight:700}.nut-address .custom-address .region-con .region-group .region-item .nut-icon{margin-right:6px;width:13px;height:13px}.nut-address .exist-address{margin-top:15px}.nut-address .exist-address .exist-address-group{padding:15px 20px 0;height:279px;overflow-y:scroll}.nut-address .exist-address .exist-address-group .exist-ul .exist-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;font-size:12px;line-height:14px;color:#333}.nut-address .exist-address .exist-address-group .exist-ul .exist-item.active{font-weight:700}.nut-address .exist-address .exist-address-group .exist-ul .exist-item svg{margin-right:9px;width:13px;height:13px}.nut-address .exist-address .exist-address-group .exist-ul .exist-item span{display:inline-block;-webkit-box-flex:1;-ms-flex:1;flex:1}.nut-address .exist-address .choose-other{width:100%;height:54px;padding:6px 0 0;border-top:1px solid #f2f2f2}.nut-address .exist-address .choose-other .btn{width:90%;height:42px;line-height:42px;margin:auto;text-align:center;background:-o-linear-gradient(315deg,#f2140c 0,#f2270c 70%,#f24d0c 100%);background:linear-gradient(135deg,#f2140c,#f2270c 70%,#f24d0c);border-radius:21px;font-size:15px;color:#fff}.nut-address .nut-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.nut-address .nut-icon svg{margin-top:-1px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - address.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - avatar.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-avatar{background-size:100% 100%;background-repeat:no-repeat;background-position:50%;display:inline-block;position:relative;margin-right:10px}.nut-avatar .icon{width:50%;height:50%;background-size:100% 100%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.nut-avatar .text{display:inline-block;width:100%;height:100%;text-align:center;overflow:hidden}.avatar-large{width:40px;height:40px;line-height:40px}.avatar-small{width:24px;height:24px;line-height:24px}.avatar-normal{width:32px;height:32px;line-height:32px}.avatar-round{border-radius:50%}.avatar-square{border-radius:5px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - avatar.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - backtop.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-backtop{display:none;line-height:0;position:fixed;cursor:pointer;bottom:20px;right:10px;z-index:1111}.nut-backtop.show{display:block}.nut-backtop-main{-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;width:38px;height:38px;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31 39'%3E%3Cg fill-rule='evenodd'%3E%3Cpath d='M1.41 0C.63 0 0 .672 0 1.5S.63 3 1.41 3h28.18C30.37 3 31 2.328 31 1.5S30.369 0 29.59 0H1.41zM17 7.5a1.5 1.5 0 00-3 0v30a1.5 1.5 0 103 0v-30zm-8.56 4.94l-8 8a1.5 1.5 0 102.12 2.12l8-8a1.5 1.5 0 10-2.12-2.12z'/%3E%3Cpath d='M16.56 6.44l14 14a1.5 1.5 0 11-2.12 2.12l-14-14a1.5 1.5 0 112.12-2.12z'/%3E%3C/g%3E%3C/svg%3E") no-repeat 50%;background-size:20px 20px;border-radius:50%;border:2px solid hsla(0,0%,70.6%,.5);-webkit-box-shadow:0 0 2px 3px hsla(0,0%,86.3%,.1);box-shadow:0 0 2px 3px hsla(0,0%,86.3%,.1)}.nut-backtop i{color:#fff;font-size:24px;padding:8px 12px;line-height:0}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - backtop.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - badge.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-badge{position:relative;display:inline-block}.nut-badge sup{position:absolute;height:18px;min-width:8px;line-height:18px;padding:0 5px;background-color:#fff;text-align:center;border:1px solid #f0250f;color:#f0250f;font-size:10px;border-radius:10px;z-index:9998}.nut-badge .nut-badge__content{-webkit-transform:translateY(-50%) translateX(100%);-ms-transform:translateY(-50%) translateX(100%);transform:translateY(-50%) translateX(100%)}.nut-badge .is-dot{width:10px;height:10px;padding:0;right:5px;border-radius:10px;background:#f0250f}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - badge.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - button.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-button{cursor:pointer;height:40px;padding:0 40px;outline:none;font-size:14px;color:#fff;background:-o-linear-gradient(135deg,#ff4f18 0,#f20000 100%);background:linear-gradient(315deg,#ff4f18,#f20000);border:none;-webkit-box-sizing:border-box;box-sizing:border-box}.nut-button[disabled]{cursor:not-allowed;background:#dadada;color:#f6f6f6}.nut-button .txt-icon{vertical-align:text-top;width:16px;height:16px;margin-right:5px;color:#f0250f}.nut-button.red{background:#fff;border:1px solid #f0250f;color:#f0250f}.nut-button.gray{background:#f6f6f6;color:#2d2d2d}.nut-button.light{color:#2d2d2d;background:#fff;border:1px solid #dadada}.nut-button.lightred{background:rgba(240,37,15,.05);color:#2d2d2d;border:none}.nut-button.primary{background:#f0250f;color:#fff}.nut-button.default{background:#fff;color:#2d2d2d;border:1px solid #ababab}.nut-button.actived{background:rgba(240,37,15,.05);color:#f0250f;border:1px solid #f0250f}.nut-button.dashed{background:#fff;color:#2d2d2d;border:1px dashed #dadada}.nut-button.block{width:100%;border-radius:0}.nut-button.small{height:30px;padding:0 15px;font-size:12px}.nut-button.no-txt-small{width:30px;padding:0}.nut-button.no-txt-small .txt-icon{margin:0}.nut-button.no-txt{width:40px;padding:0}.nut-button.no-txt .txt-icon{margin:0}.nut-button.circle{border-radius:50px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - button.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - buttongroup.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-buttongroup{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.nut-buttongroup.circle{border-radius:50px}.nut-buttongroup.circle .nut-button:first-child{border-top-left-radius:50px;border-bottom-left-radius:50px}.nut-buttongroup.circle .nut-button:last-child{border-top-right-radius:50px;border-bottom-right-radius:50px}.nut-buttongroup.menu{height:50px;font-size:12px}.nut-buttongroup .nut-button{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-flex:1;border:1px solid transparent}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - buttongroup.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - calendar.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/@-webkit-keyframes nutSlideUpIn{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes nutSlideUpIn{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes nutSlideUpOut{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes nutSlideUpOut{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.nutSlideUp-enter-active,.nutSlideUp-leave-active,.nutSlideUpIn,.nutSlideUpOut{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:cubic-bezier(.445,.05,.55,.95);animation-timing-function:cubic-bezier(.445,.05,.55,.95)}.nutSlideUp-enter-active,.nutSlideUpIn{-webkit-animation-name:nutSlideUpIn;animation-name:nutSlideUpIn}.nutSlideUp-leave-active,.nutSlideUpOut{-webkit-animation-name:nutSlideUpOut;animation-name:nutSlideUpOut}@-webkit-keyframes nutSlideRightIn{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes nutSlideRightOut{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.nutSlideRight-enter-active,.nutSlideRight-leave-active,.nutSlideRightIn,.nutSlideRightOut{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:cubic-bezier(.55,.085,.68,.53);animation-timing-function:cubic-bezier(.55,.085,.68,.53)}.nutSlideRight-enter-active,.nutSlideRightIn{-webkit-animation-name:nutSlideRightIn;animation-name:nutSlideRightIn}.nutSlideRight-leave-active,.nutSlideRightOut{-webkit-animation-name:nutSlideRightOut;animation-name:nutSlideRightOut}.nut-calendar{position:fixed;bottom:0;height:100%;font-size:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-top:72px;overflow:hidden;z-index:1000001}.nut-calendar,.nut-calendar-control{top:0;left:0;width:100%;background-color:#fff}.nut-calendar-control{position:absolute;height:70px;text-align:center;z-index:1}.nut-calendar-control .nut-calendar-cancel-btn,.nut-calendar-control .nut-calendar-confirm-btn{width:60px;color:#f0250f;position:absolute;top:0;line-height:40px}.nut-calendar-control .nut-calendar-confirm-btn{right:0}.nut-calendar-control .nut-calendar-cancel-btn{left:0}.nut-calendar-control .nut-calendar-title{margin:0 60px;line-height:40px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.nut-calendar-control .nut-calendar-week{display:-webkit-box;display:-ms-flexbox;display:flex;height:30px;text-align:center;line-height:30px}.nut-calendar-control .nut-calendar-week span{-webkit-box-flex:1;-ms-flex:1;flex:1}.nut-calendar-control .nut-calendar-week span:first-child,.nut-calendar-control .nut-calendar-week span:last-child{color:#f0250f}.nut-calendar-months{width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.nut-calendar-months .nut-calendar-months-panel{padding-bottom:10px;position:relative;width:100%;height:auto}.nut-calendar-months .nut-calendar-loading-tip{height:50px;line-height:50px;text-align:center;position:absolute;top:-50px;left:0;right:0;color:#848484;font-size:12px}.nut-calendar-months .nut-calendar-month-title{height:30px;line-height:30px;text-align:center;background-color:#f6f6f6}.nut-calendar-months .nut-calendar-month-con{overflow:hidden}.nut-calendar-months .nut-calendar-month-con .nut-calendar-month-day{float:left;width:14.28%;height:56px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.nut-calendar-months .nut-calendar-month-con .nut-calendar-month-day-active{background-color:#f0250f;color:#fff}.nut-calendar-months .nut-calendar-month-con .nut-calendar-month-day-disabled,.nut-calendar-months .nut-calendar-month-con .nut-calendar-month-day-disabled span{color:#dadada}.nut-calendar-months .nut-calendar-month-con .nut-calendar-month-day-choose{background-color:#fcd3cf;color:#fff}.nut-calendar-months .nut-calendar-month-con .nut-calendar-month-day span{padding:3px 0}.nut-calendar-months .nut-calendar-month-con .nut-calendar-month-day .nut-calendar-day-tip{font-size:12px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - calendar.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - cell.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-cell{display:block;padding:0 10px;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:none}.nut-cell.nut-cell-link:active{background-color:#f6f6f6!important}.nut-cell .nut-cell-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-height:48px;background-image:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,85.5%,.5)),to(hsla(0,0%,85.5%,.5)));background-image:-o-linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5));background-image:linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5));background-size:100% 1px;background-repeat:no-repeat}.nut-cell .nut-cell-left{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.nut-cell .nut-cell-title{display:block;line-height:1.5;font-size:14px;color:#2d2d2d}.nut-cell .nut-cell-sub-title{display:block;line-height:1;font-size:12px;color:#848484;margin-top:5px}.nut-cell .nut-cell-sub-title:empty{display:none}.nut-cell .nut-cell-right{font-size:12px;color:#848484}.nut-cell .nut-cell-icon,.nut-cell .nut-cell-right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.nut-cell .nut-cell-icon img{height:14px;margin-left:10px}.nut-cell:first-of-type{background-image:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,85.5%,.5)),to(hsla(0,0%,85.5%,.5)));background-image:-o-linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5));background-image:linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5));background-size:100% 1px;background-repeat:no-repeat}.nut-cell:first-of-type .nut-cell-box{background-image:none}.nut-cell:last-of-type{background-image:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,85.5%,.5)),to(hsla(0,0%,85.5%,.5)));background-image:-o-linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5));background-image:linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5));background-size:100% 1px;background-repeat:no-repeat;background-position:bottom}.nut-cell:only-of-type{background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,85.5%,.5)),to(hsla(0,0%,85.5%,.5))) bottom,-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,85.5%,.5)),to(hsla(0,0%,85.5%,.5))) top;background:-o-linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5)) bottom,-o-linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5)) top;background:linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5)) bottom,linear-gradient(hsla(0,0%,85.5%,.5),hsla(0,0%,85.5%,.5)) top;background-size:100% 1px;background-repeat:no-repeat}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - cell.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - checkbox.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/@-webkit-keyframes nutPulse{0%{width:100%;height:100%;opacity:.5}to{width:180%;height:180%;opacity:0}}@keyframes nutPulse{0%{width:100%;height:100%;opacity:.5}to{width:180%;height:180%;opacity:0}}.nut-checkbox{margin-right:10px}.nut-checkbox .nut-checkbox-label{pointer-events:none;vertical-align:middle}.nut-checkbox input{position:relative;-webkit-appearance:none;border:1px solid #dadada;border-radius:1%;background-size:cover;outline:0;opacity:1;vertical-align:middle;margin-top:0}.nut-checkbox input:after{position:absolute;left:50%;top:50%;content:"";width:0;height:0;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:#f0250f;border-radius:1%;opacity:0;pointer-events:none}.nut-checkbox input:checked{background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 8l2.5-2.5 5 4.5 10-9.5L20 3 8 15H7z' fill='%23FFF' fill-rule='evenodd'/%3E%3C/svg%3E");background-color:#f0250f;background-repeat:no-repeat;background-position:50%;border-color:#f0250f;background-size:60%;-webkit-box-shadow:0 4px 6px 0 rgba(240,37,15,.15);box-shadow:0 4px 6px 0 rgba(240,37,15,.15)}.nut-checkbox input:checked:not(:disabled).nut-checkbox-ani:after{-webkit-animation:nutPulse .25s;animation:nutPulse .25s}.nut-checkbox input:disabled{background-color:#dadada;border-color:#f6f6f6;-webkit-box-shadow:none;box-shadow:none}.nut-checkbox input:disabled:checked{background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 8l2.5-2.5 5 4.5 10-9.5L20 3 8 15H7z' fill='%23999' fill-rule='evenodd'/%3E%3C/svg%3E");background-color:#dadada}.nut-checkbox.nut-checkbox-size-base input{width:19px;height:19px}.nut-checkbox.nut-checkbox-size-base .nut-checkbox-label{font-size:14px}.nut-checkbox.nut-checkbox-size-small input{width:16px;height:16px}.nut-checkbox.nut-checkbox-size-small .nut-checkbox-label{font-size:12px}.nut-checkbox.nut-checkbox-size-large input{width:22px;height:22px}.nut-checkbox.nut-checkbox-size-large .nut-checkbox-label{font-size:16px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - checkbox.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - checkboxgroup.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/@-webkit-keyframes nutPulse{0%{width:100%;height:100%;opacity:.5}to{width:180%;height:180%;opacity:0}}@keyframes nutPulse{0%{width:100%;height:100%;opacity:.5}to{width:180%;height:180%;opacity:0}}.nut-checkbox{margin-right:10px}.nut-checkbox .nut-checkbox-label{pointer-events:none;vertical-align:middle}.nut-checkbox input{position:relative;-webkit-appearance:none;border:1px solid #dadada;border-radius:1%;background-size:cover;outline:0;opacity:1;vertical-align:middle;margin-top:0}.nut-checkbox input:after{position:absolute;left:50%;top:50%;content:"";width:0;height:0;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:#f0250f;border-radius:1%;opacity:0;pointer-events:none}.nut-checkbox input:checked{background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 8l2.5-2.5 5 4.5 10-9.5L20 3 8 15H7z' fill='%23FFF' fill-rule='evenodd'/%3E%3C/svg%3E");background-color:#f0250f;background-repeat:no-repeat;background-position:50%;border-color:#f0250f;background-size:60%;-webkit-box-shadow:0 4px 6px 0 rgba(240,37,15,.15);box-shadow:0 4px 6px 0 rgba(240,37,15,.15)}.nut-checkbox input:checked:not(:disabled).nut-checkbox-ani:after{-webkit-animation:nutPulse .25s;animation:nutPulse .25s}.nut-checkbox input:disabled{background-color:#dadada;border-color:#f6f6f6;-webkit-box-shadow:none;box-shadow:none}.nut-checkbox input:disabled:checked{background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 8l2.5-2.5 5 4.5 10-9.5L20 3 8 15H7z' fill='%23999' fill-rule='evenodd'/%3E%3C/svg%3E");background-color:#dadada}.nut-checkbox.nut-checkbox-size-base input{width:19px;height:19px}.nut-checkbox.nut-checkbox-size-base .nut-checkbox-label{font-size:14px}.nut-checkbox.nut-checkbox-size-small input{width:16px;height:16px}.nut-checkbox.nut-checkbox-size-small .nut-checkbox-label{font-size:12px}.nut-checkbox.nut-checkbox-size-large input{width:22px;height:22px}.nut-checkbox.nut-checkbox-size-large .nut-checkbox-label{font-size:16px}.nut-checkboxgroup{padding:10px 0}.nut-checkboxgroup .checkbox-item{height:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:20px;padding:3px 0}.nut-checkboxgroup .checkbox-item .nut-checkbox,.nut-checkboxgroup .checkbox-item label{display:inline-block;margin:0;vertical-align:middle}.nut-checkboxgroup .checkbox-item label{padding-left:5px}.nut-checkboxgroup.vertical{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - checkboxgroup.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("checkboxgroup",[],t):"object"==typeof exports?exports.checkboxgroup=t():e.checkboxgroup=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./",n(n.s=189)}({0:function(e,t,n){"use strict";function i(e,t,n,i,o,a,u
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("checkboxgroup",[],t):"object"==typeof exports?exports.checkboxgroup=t():e.checkboxgroup=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./",n(n.s=189)}({0:function(e,t,n){"use strict";function i(e,t,n,i,o,a,s,u){var r,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(r=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=r):o&&(r=u?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),r)if(l.functional){l._injectStyles=r;var c=l.render;l.render=function(e,t){return r.call(t),c(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,r):[r]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},10:function(e,t,n){var i=n(2).default,o=n(11);e.exports=function(e){var t=o(e,"string");return"symbol"===i(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},11:function(e,t,n){var i=n(2).default;e.exports=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},118:function(e,t,n){},189:function(e,t,n){"use strict";n.r(t);var i=n(2),o=n.n(i),a=n(4),s=n.n(a),u=n(52),r=(n(73),{name:"nut-checkboxgroup",props:{name:String,checkBoxData:{type:Array,required:!0},value:{type:Array,required:!0},keys:{type:Object,default:function(){return{id:"id",name:"name",class:"class",label:"label",value:"value",disabled:"disabled"}}},customClass:{type:String,default:""},label:{type:[String,Number,Boolean],default:""},size:{type:[String,Number],default:"base"},disabled:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},vertical:{type:Boolean,default:!1}},data:function(){return{ignoreChange:!1,checkboxValues:{},initialValue:[]}},components:s()({},u.a.name,u.a),watch:{value:function(){this.init()}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.initialValue=this.value,this.checkBoxData.map((function(t){"object"===o()(t)&&(t.checked=e.isOptionCheckedByDefault(t))}))},isObject:function(e){return null!==e&&"object"===o()(e)},looseIndexOf:function(e,t){for(var n=0;n<e.length;n++)if(this.looseEqual(e[n],t))return n;return-1},isOptionCheckedByDefault:function(e){return this.looseIndexOf(this.initialValue,e[this.keys.value]||e)>-1},looseEqual:function(e,t){return e==t||!(!this.isObject(e)||!this.isObject(t))&&JSON.stringify(e)===JSON.stringify(t)},changeEvt:function(e,t){if(!this.ignoreChange){var n,i=e[0],o=e[1],a=e[2],s=[];n=void 0===t[this.keys.value]?t:t[this.keys.value];var u=this.looseIndexOf(this.value,n);i&&u<0&&(s=this.value.concat(n)),!i&&u>-1&&(s=this.value.slice(0,u).concat(this.value.slice(u+1))),this.$emit("input",s),this.$emit("change",s,o,a)}},toggleAll:function(e){if(!1!==e){!0===e&&this.checkBoxData.map((function(e){e.checked=!0})),e||this.checkBoxData.map((function(e){e.checked=!e.checked}));var t=[],n=[];this.checkBoxData.filter((function(e){return e.checked&&(t.push(e.value),n.push(e.label)),e.checked}));this.$emit("input",t),this.$emit("change",t,n,null)}else this.$emit("input",[])}}}),l=n(0),c=Object(l.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["nut-checkboxgroup",{vertical:e.vertical},e.customClass]},e._l(e.checkBoxData,(function(t,i){return n("div",{key:t[e.keys.id],staticClass:"checkbox-item"},[n("nut-checkbox",{attrs:{name:e.name||t[e.keys.name],disabled:e.disabled||t[e.keys.disabled],label:t[e.keys.label],animation:e.animation,size:t.size?t.size:e.size,id:t[e.keys.id],checked:t.checked},on:{"update:checked":function(n){return e.$set(t,"checked",n)},change:function(n){return e.changeEvt(arguments,t)}},model:{value:e.checkboxValues[t[e.keys.id]],callback:function(n){e.$set(e.checkboxValues,t[e.keys.id],n)},expression:"checkboxValues[item[keys.id]]"}},[e._v(e._s(t[e.keys.label]||t[e.keys.value]||t)+"\n ")])],1)})),0)}),[],!1,null,null,null).exports;n(118);c.install=function(e){e.component(c.name,c)};t.default=c},2:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},4:function(e,t,n){var i=n(10);e.exports=function(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},52:function(e,t,n){"use strict";var i=n(2),o=n.n(i),a={name:"nut-checkbox",props:{name:{type:String},size:{type:[String,Number,Boolean],default:"base"},label:{type:String,default:""},value:{required:!0},trueValue:{default:!0},falseValue:{default:!1},submittedValue:{type:String,default:"on"},checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},animation:{type:Boolean,default:!0}},watch:{value:function(){this.isChecked=this.looseEqual(this.value,this.trueValue)},checked:function(e,t){this.isChecked=e}},data:function(){return{isChecked:this.value==this.trueValue||this.checked}},mounted:function(){this.$emit("update:checked",this.isChecked?this.trueValue:this.falseValue,this.label),this.$emit("input",this.isChecked?this.trueValue:this.falseValue,this.label)},methods:{isObject:function(e){return null!==e&&"object"===o()(e)},looseEqual:function(e,t){return e==t||!(!this.isObject(e)||!this.isObject(t))&&JSON.stringify(e)===JSON.stringify(t)},changeEvt:function(e){var t=this.isChecked,n=e.target.checked;this.$emit("input",n?this.trueValue:this.falseValue,this.label,e),t!==n&&this.$emit("change",n?this.trueValue:this.falseValue,this.label,e)}}},s=n(0),u=Object(s.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{class:["nut-checkbox","nut-checkbox-size-"+e.size]},[n("input",{class:{"nut-checkbox-ani":e.animation},attrs:{type:"checkbox",name:e.name,disabled:e.disabled},domProps:{checked:e.isChecked,value:e.submittedValue},on:{change:e.changeEvt}}),e._v(" "),e.label?n("span",{staticClass:"nut-checkbox-label"},[e._v("\n "+e._s(e.label)+"\n ")]):n("span",{staticClass:"nut-checkbox-label"},[e._t("default")],2)])}),[],!1,null,null,null);t.a=u.exports},73:function(e,t,n){}})}));
|
|
7
7
|
//# sourceMappingURL=checkboxgroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://[name]/webpack/universalModuleDefinition","webpack://[name]/webpack/bootstrap","webpack://[name]/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://[name]/./node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack://[name]/./node_modules/@babel/runtime/helpers/toPrimitive.js","webpack://[name]/./src/packages/checkboxgroup/checkboxgroup.vue?707d","webpack://[name]/./src/packages/checkboxgroup/checkboxgroup.vue?5579","webpack://[name]/src/packages/checkboxgroup/checkboxgroup.vue","webpack://[name]/./src/packages/checkboxgroup/checkboxgroup.vue","webpack://[name]/./src/packages/checkboxgroup/index.js","webpack://[name]/./node_modules/@babel/runtime/helpers/typeof.js","webpack://[name]/./node_modules/@babel/runtime/helpers/defineProperty.js","webpack://[name]/./src/packages/checkbox/checkbox.vue?21b8","webpack://[name]/./src/packages/checkbox/checkbox.vue?1792","webpack://[name]/src/packages/checkbox/checkbox.vue","webpack://[name]/./src/packages/checkbox/checkbox.vue"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","_typeof","toPrimitive","arg","String","input","hint","prim","undefined","res","TypeError","Number","props","checkBoxData","type","Array","required","keys","default","id","class","label","disabled","customClass","Boolean","size","animation","vertical","data","ignoreChange","checkboxValues","initialValue","components","_defineProperty","nutcheckbox","watch","init","mounted","methods","_this","map","item","checked","isOptionCheckedByDefault","isObject","obj","looseIndexOf","arr","val","length","looseEqual","a","b","JSON","stringify","changeEvt","args","itemValue","e","slice","$emit","toggleAll","filter","push","_vm","_h","$createElement","_c","_self","_l","index","staticClass","attrs","on","$event","$set","arguments","model","callback","$$v","expression","_v","_s","CheckBoxGroup","install","Vue","component","iterator","constructor","toPropertyKey","configurable","writable","trueValue","falseValue","submittedValue","isChecked","newValue","oldValue","event","isCheckedPrevious","target","domProps","_t"],"mappings":";;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,gBAAiB,GAAIH,GACF,iBAAZC,QACdA,QAAuB,cAAID,IAE3BD,EAAoB,cAAIC,IAR1B,CASoB,oBAATK,KAAuBA,KAAOC,MAAO,WAChD,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUR,QAGnC,IAAIC,EAASK,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHV,QAAS,IAUV,OANAW,EAAQH,GAAUI,KAAKX,EAAOD,QAASC,EAAQA,EAAOD,QAASO,GAG/DN,EAAOS,GAAI,EAGJT,EAAOD,QA0Df,OArDAO,EAAoBM,EAAIF,EAGxBJ,EAAoBO,EAAIR,EAGxBC,EAAoBQ,EAAI,SAASf,EAASgB,EAAMC,GAC3CV,EAAoBW,EAAElB,EAASgB,IAClCG,OAAOC,eAAepB,EAASgB,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEV,EAAoBgB,EAAI,SAASvB,GACX,oBAAXwB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAepB,EAASwB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAepB,EAAS,aAAc,CAAE0B,OAAO,KAQvDnB,EAAoBoB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQnB,EAAoBmB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF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KAAAE,KAAAC,UAAAF,IAEAG,UAAA,SAAA2C,GACA,IAAAC,EAAA,KAAAJ,UACAA,EAAAG,EAAAE,OAAA1D,QAEA,KAAAkB,MAAA,QAAAmC,EAAA,KAAAH,UAAA,KAAAC,WAAA,KAAAxE,MAAA6E,GACAC,IAAAJ,GACA,KAAAnC,MAAA,SAAAmC,EAAA,KAAAH,UAAA,KAAAC,WAAA,KAAAxE,MAAA6E,M,OCpFIZ,EAAY,YACd,GHRW,WAAa,IAAItB,EAAIlI,KAASmI,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAAC/C,MAAM,CAAC,eAAgB,qBAAuB4C,EAAIvC,OAAO,CAAC0C,EAAG,QAAQ,CAAC/C,MAAM,CAAE,mBAAoB4C,EAAItC,WAAY8C,MAAM,CAAC,KAAO,WAAW,KAAOR,EAAIvH,KAAK,SAAWuH,EAAI1C,UAAU+E,SAAS,CAAC,QAAUrC,EAAI+B,UAAU,MAAQ/B,EAAI8B,gBAAgBrB,GAAG,CAAC,OAAST,EAAIT,aAAaS,EAAIiB,GAAG,KAAMjB,EAAS,MAAEG,EAAG,OAAO,CAACI,YAAY,sBAAsB,CAACP,EAAIiB,GAAG,SAASjB,EAAIkB,GAAGlB,EAAI3C,OAAO,UAAU8C,EAAG,OAAO,CAACI,YAAY,sBAAsB,CAACP,EAAIsC,GAAG,YAAY,OACzhB,IGUpB,EACA,KACA,KACA,MAIa,IAAAhB,E","file":"checkboxgroup/checkboxgroup.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"checkboxgroup\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"checkboxgroup\"] = factory();\n\telse\n\t\troot[\"checkboxgroup\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \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 = 189);\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['nut-checkboxgroup', { vertical: _vm.vertical }, _vm.customClass]},_vm._l((_vm.checkBoxData),function(item,index){return _c('div',{key:item[_vm.keys.id],staticClass:\"checkbox-item\"},[_c('nut-checkbox',{attrs:{\"name\":_vm.name || item[_vm.keys.name],\"disabled\":_vm.disabled || item[_vm.keys.disabled],\"label\":item[_vm.keys.label],\"animation\":_vm.animation,\"size\":item.size ? item.size : _vm.size,\"id\":item[_vm.keys.id],\"checked\":item.checked},on:{\"update:checked\":function($event){return _vm.$set(item, \"checked\", $event)},\"change\":function($event){return _vm.changeEvt(arguments, item)}},model:{value:(_vm.checkboxValues[index]),callback:function ($$v) {_vm.$set(_vm.checkboxValues, index, $$v)},expression:\"checkboxValues[index]\"}},[_vm._v(_vm._s(item[_vm.keys.label] || item[_vm.keys.value] || item)+\"\\n \")])],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkboxgroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkboxgroup.vue?vue&type=script&lang=js&\"","<template>\n <div :class=\"['nut-checkboxgroup', { vertical: vertical }, customClass]\">\n <div class=\"checkbox-item\" v-for=\"(item, index) in checkBoxData\" :key=\"item[keys.id]\">\n <nut-checkbox\n :name=\"name || item[keys.name]\"\n :disabled=\"disabled || item[keys.disabled]\"\n :label=\"item[keys.label]\"\n :animation=\"animation\"\n :size=\"item.size ? item.size : size\"\n :id=\"item[keys.id]\"\n :checked.sync=\"item.checked\"\n v-model=\"checkboxValues[index]\"\n @change=\"changeEvt(arguments, item)\"\n >{{ item[keys.label] || item[keys.value] || item }}\n </nut-checkbox>\n </div>\n </div>\n</template>\n<script>\nimport nutcheckbox from '../checkbox/checkbox.vue';\nimport '../checkbox/checkbox.scss';\nexport default {\n name: 'nut-checkboxgroup',\n props: {\n name: String,\n checkBoxData: {\n type: Array,\n required: true,\n },\n\n value: {\n type: Array,\n required: true,\n },\n keys: {\n type: Object,\n default() {\n return {\n id: 'id',\n name: 'name',\n class: 'class',\n label: 'label',\n value: 'value',\n disabled: 'disabled',\n };\n },\n },\n customClass: {\n type: String,\n default: '',\n },\n label: {\n type: [String, Number, Boolean],\n default: '',\n },\n size: {\n type: [String, Number],\n default: 'base',\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n animation: {\n type: Boolean,\n default: true,\n },\n vertical: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n return {\n ignoreChange: false,\n checkboxValues: [],\n initialValue: [],\n };\n },\n components: {\n [nutcheckbox.name]: nutcheckbox,\n },\n watch: {\n value() {\n this.init();\n },\n },\n mounted() {\n this.init();\n },\n methods: {\n init() {\n this.initialValue = this.value;\n this.checkBoxData.map((item) => {\n if (typeof item === 'object') {\n item.checked = this.isOptionCheckedByDefault(item);\n }\n });\n },\n isObject(obj) {\n return obj !== null && typeof obj === 'object';\n },\n looseIndexOf(arr, val) {\n for (let i = 0; i < arr.length; i++) {\n if (this.looseEqual(arr[i], val)) {\n return i;\n }\n }\n\n return -1;\n },\n isOptionCheckedByDefault(item) {\n return this.looseIndexOf(this.initialValue, item[this.keys.value] || item) > -1;\n },\n looseEqual(a, b) {\n return a == b || (this.isObject(a) && this.isObject(b) ? JSON.stringify(a) === JSON.stringify(b) : false);\n },\n changeEvt(args, item) {\n if (this.ignoreChange) {\n return;\n }\n\n const checked = args[0];\n const label = args[1];\n const e = args[2];\n\n let value = [];\n let itemValue;\n if (item[this.keys.value] === undefined) {\n itemValue = item;\n } else {\n itemValue = item[this.keys.value];\n }\n const i = this.looseIndexOf(this.value, itemValue);\n\n if (checked && i < 0) {\n value = this.value.concat(itemValue);\n }\n\n if (!checked && i > -1) {\n value = this.value.slice(0, i).concat(this.value.slice(i + 1));\n }\n\n this.$emit('input', value);\n this.$emit('change', value, label, e);\n },\n toggleAll(checked) {\n if (checked === false) {\n this.$emit('input', []);\n return;\n }\n if (checked === true) {\n this.checkBoxData.map((item) => {\n item.checked = true;\n });\n }\n if (!checked) {\n this.checkBoxData.map((item) => {\n item.checked = !item.checked;\n });\n }\n\n let value = [],\n label = [];\n let resData = this.checkBoxData.filter((item) => {\n if (item.checked) {\n value.push(item.value);\n label.push(item.label);\n }\n return item.checked;\n });\n this.$emit('input', value);\n this.$emit('change', value, label, null);\n },\n },\n};\n</script>\n","import { render, staticRenderFns } from \"./checkboxgroup.vue?vue&type=template&id=09addf2f&\"\nimport script from \"./checkboxgroup.vue?vue&type=script&lang=js&\"\nexport * from \"./checkboxgroup.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import CheckBoxGroup from './checkboxgroup.vue';\nimport './checkboxgroup.scss';\n\nCheckBoxGroup.install = function(Vue) {\n Vue.component(CheckBoxGroup.name, CheckBoxGroup);\n};\n\nexport default CheckBoxGroup;\n","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{class:['nut-checkbox', 'nut-checkbox-size-' + _vm.size]},[_c('input',{class:{ 'nut-checkbox-ani': _vm.animation },attrs:{\"type\":\"checkbox\",\"name\":_vm.name,\"disabled\":_vm.disabled},domProps:{\"checked\":_vm.isChecked,\"value\":_vm.submittedValue},on:{\"change\":_vm.changeEvt}}),_vm._v(\" \"),(_vm.label)?_c('span',{staticClass:\"nut-checkbox-label\"},[_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \")]):_c('span',{staticClass:\"nut-checkbox-label\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkbox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkbox.vue?vue&type=script&lang=js&\"","<template>\n <label :class=\"['nut-checkbox', 'nut-checkbox-size-' + size]\">\n <input\n type=\"checkbox\"\n :name=\"name\"\n :class=\"{ 'nut-checkbox-ani': animation }\"\n :disabled=\"disabled\"\n :checked.prop=\"isChecked\"\n :value=\"submittedValue\"\n @change=\"changeEvt\"\n />\n <span class=\"nut-checkbox-label\" v-if=\"label\">\n {{ label }}\n </span>\n <span class=\"nut-checkbox-label\" v-else>\n <slot></slot>\n </span>\n </label>\n</template>\n<script>\nexport default {\n name: 'nut-checkbox',\n props: {\n name: {\n type: String\n },\n size: {\n type: [String, Number, Boolean],\n default: 'base'\n },\n label: {\n type: String,\n default: ''\n },\n value: {\n required: true\n },\n trueValue: {\n default: true\n },\n falseValue: {\n default: false\n },\n submittedValue: {\n type: String,\n default: 'on' // HTML default\n },\n checked: {\n type: Boolean,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false\n },\n animation: {\n type: Boolean,\n default: true\n }\n },\n watch: {\n value() {\n this.isChecked = this.looseEqual(this.value, this.trueValue);\n },\n checked(newValue, oldValue) {\n this.isChecked = newValue;\n }\n },\n data() {\n return {\n isChecked: this.value == this.trueValue || this.checked\n };\n },\n\n mounted() {\n this.$emit('update:checked', this.isChecked ? this.trueValue : this.falseValue, this.label);\n this.$emit('input', this.isChecked ? this.trueValue : this.falseValue, this.label);\n },\n methods: {\n isObject(obj) {\n return obj !== null && typeof obj === 'object';\n },\n looseEqual(a, b) {\n return a == b || (this.isObject(a) && this.isObject(b) ? JSON.stringify(a) === JSON.stringify(b) : false);\n },\n changeEvt(event) {\n const isCheckedPrevious = this.isChecked;\n const isChecked = event.target.checked;\n\n this.$emit('input', isChecked ? this.trueValue : this.falseValue, this.label, event);\n if (isCheckedPrevious !== isChecked) {\n this.$emit('change', isChecked ? this.trueValue : this.falseValue, this.label, event);\n }\n }\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./checkbox.vue?vue&type=template&id=26d19cb3&\"\nimport script from \"./checkbox.vue?vue&type=script&lang=js&\"\nexport * from \"./checkbox.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://[name]/webpack/universalModuleDefinition","webpack://[name]/webpack/bootstrap","webpack://[name]/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://[name]/./node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack://[name]/./node_modules/@babel/runtime/helpers/toPrimitive.js","webpack://[name]/./src/packages/checkboxgroup/checkboxgroup.vue?b639","webpack://[name]/./src/packages/checkboxgroup/checkboxgroup.vue?5579","webpack://[name]/src/packages/checkboxgroup/checkboxgroup.vue","webpack://[name]/./src/packages/checkboxgroup/checkboxgroup.vue","webpack://[name]/./src/packages/checkboxgroup/index.js","webpack://[name]/./node_modules/@babel/runtime/helpers/typeof.js","webpack://[name]/./node_modules/@babel/runtime/helpers/defineProperty.js","webpack://[name]/./src/packages/checkbox/checkbox.vue?21b8","webpack://[name]/./src/packages/checkbox/checkbox.vue?1792","webpack://[name]/src/packages/checkbox/checkbox.vue","webpack://[name]/./src/packages/checkbox/checkbox.vue"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","_typeof","toPrimitive","arg","String","input","hint","prim","undefined","res","TypeError","Number","props","checkBoxData","type","Array","required","keys","default","id","class","label","disabled","customClass","Boolean","size","animation","vertical","data","ignoreChange","checkboxValues","initialValue","components","_defineProperty","nutcheckbox","watch","init","mounted","methods","_this","map","item","checked","isOptionCheckedByDefault","isObject","obj","looseIndexOf","arr","val","length","looseEqual","a","b","JSON","stringify","changeEvt","args","itemValue","e","slice","$emit","toggleAll","filter","push","_vm","_h","$createElement","_c","_self","_l","index","staticClass","attrs","on","$event","$set","arguments","model","callback","$$v","expression","_v","_s","CheckBoxGroup","install","Vue","component","iterator","constructor","toPropertyKey","configurable","writable","trueValue","falseValue","submittedValue","isChecked","newValue","oldValue","event","isCheckedPrevious","target","domProps","_t"],"mappings":";;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,gBAAiB,GAAIH,GACF,iBAAZC,QACdA,QAAuB,cAAID,IAE3BD,EAAoB,cAAIC,IAR1B,CASoB,oBAATK,KAAuBA,KAAOC,MAAO,WAChD,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUR,QAGnC,IAAIC,EAASK,EA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C,MAAM,CAAE,mBAAoB4C,EAAItC,WAAY8C,MAAM,CAAC,KAAO,WAAW,KAAOR,EAAIvH,KAAK,SAAWuH,EAAI1C,UAAU+E,SAAS,CAAC,QAAUrC,EAAI+B,UAAU,MAAQ/B,EAAI8B,gBAAgBrB,GAAG,CAAC,OAAST,EAAIT,aAAaS,EAAIiB,GAAG,KAAMjB,EAAS,MAAEG,EAAG,OAAO,CAACI,YAAY,sBAAsB,CAACP,EAAIiB,GAAG,SAASjB,EAAIkB,GAAGlB,EAAI3C,OAAO,UAAU8C,EAAG,OAAO,CAACI,YAAY,sBAAsB,CAACP,EAAIsC,GAAG,YAAY,OACzhB,IGUpB,EACA,KACA,KACA,MAIa,IAAAhB,E","file":"checkboxgroup/checkboxgroup.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"checkboxgroup\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"checkboxgroup\"] = factory();\n\telse\n\t\troot[\"checkboxgroup\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \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 = 189);\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['nut-checkboxgroup', { vertical: _vm.vertical }, _vm.customClass]},_vm._l((_vm.checkBoxData),function(item,index){return _c('div',{key:item[_vm.keys.id],staticClass:\"checkbox-item\"},[_c('nut-checkbox',{attrs:{\"name\":_vm.name || item[_vm.keys.name],\"disabled\":_vm.disabled || item[_vm.keys.disabled],\"label\":item[_vm.keys.label],\"animation\":_vm.animation,\"size\":item.size ? item.size : _vm.size,\"id\":item[_vm.keys.id],\"checked\":item.checked},on:{\"update:checked\":function($event){return _vm.$set(item, \"checked\", $event)},\"change\":function($event){return _vm.changeEvt(arguments, item)}},model:{value:(_vm.checkboxValues[item[_vm.keys.id]]),callback:function ($$v) {_vm.$set(_vm.checkboxValues, item[_vm.keys.id], $$v)},expression:\"checkboxValues[item[keys.id]]\"}},[_vm._v(_vm._s(item[_vm.keys.label] || item[_vm.keys.value] || item)+\"\\n \")])],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkboxgroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkboxgroup.vue?vue&type=script&lang=js&\"","<template>\n <div :class=\"['nut-checkboxgroup', { vertical: vertical }, customClass]\">\n <div class=\"checkbox-item\" v-for=\"(item, index) in checkBoxData\" :key=\"item[keys.id]\">\n <nut-checkbox\n :name=\"name || item[keys.name]\"\n :disabled=\"disabled || item[keys.disabled]\"\n :label=\"item[keys.label]\"\n :animation=\"animation\"\n :size=\"item.size ? item.size : size\"\n :id=\"item[keys.id]\"\n :checked.sync=\"item.checked\"\n v-model=\"checkboxValues[item[keys.id]]\"\n @change=\"changeEvt(arguments, item)\"\n >{{ item[keys.label] || item[keys.value] || item }}\n </nut-checkbox>\n </div>\n </div>\n</template>\n<script>\nimport nutcheckbox from '../checkbox/checkbox.vue';\nimport '../checkbox/checkbox.scss';\nexport default {\n name: 'nut-checkboxgroup',\n props: {\n name: String,\n checkBoxData: {\n type: Array,\n required: true,\n },\n\n value: {\n type: Array,\n required: true,\n },\n keys: {\n type: Object,\n default() {\n return {\n id: 'id',\n name: 'name',\n class: 'class',\n label: 'label',\n value: 'value',\n disabled: 'disabled',\n };\n },\n },\n customClass: {\n type: String,\n default: '',\n },\n label: {\n type: [String, Number, Boolean],\n default: '',\n },\n size: {\n type: [String, Number],\n default: 'base',\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n animation: {\n type: Boolean,\n default: true,\n },\n vertical: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n return {\n ignoreChange: false,\n checkboxValues: {},\n initialValue: [],\n };\n },\n components: {\n [nutcheckbox.name]: nutcheckbox,\n },\n watch: {\n value() {\n this.init();\n },\n },\n mounted() {\n this.init();\n },\n methods: {\n init() {\n this.initialValue = this.value;\n this.checkBoxData.map((item) => {\n if (typeof item === 'object') {\n item.checked = this.isOptionCheckedByDefault(item);\n }\n });\n },\n isObject(obj) {\n return obj !== null && typeof obj === 'object';\n },\n looseIndexOf(arr, val) {\n for (let i = 0; i < arr.length; i++) {\n if (this.looseEqual(arr[i], val)) {\n return i;\n }\n }\n\n return -1;\n },\n isOptionCheckedByDefault(item) {\n return this.looseIndexOf(this.initialValue, item[this.keys.value] || item) > -1;\n },\n looseEqual(a, b) {\n return a == b || (this.isObject(a) && this.isObject(b) ? JSON.stringify(a) === JSON.stringify(b) : false);\n },\n changeEvt(args, item) {\n if (this.ignoreChange) {\n return;\n }\n\n const checked = args[0];\n const label = args[1];\n const e = args[2];\n\n let value = [];\n let itemValue;\n if (item[this.keys.value] === undefined) {\n itemValue = item;\n } else {\n itemValue = item[this.keys.value];\n }\n const i = this.looseIndexOf(this.value, itemValue);\n\n if (checked && i < 0) {\n value = this.value.concat(itemValue);\n }\n\n if (!checked && i > -1) {\n value = this.value.slice(0, i).concat(this.value.slice(i + 1));\n }\n\n this.$emit('input', value);\n this.$emit('change', value, label, e);\n },\n toggleAll(checked) {\n if (checked === false) {\n this.$emit('input', []);\n return;\n }\n if (checked === true) {\n this.checkBoxData.map((item) => {\n item.checked = true;\n });\n }\n if (!checked) {\n this.checkBoxData.map((item) => {\n item.checked = !item.checked;\n });\n }\n\n let value = [],\n label = [];\n let resData = this.checkBoxData.filter((item) => {\n if (item.checked) {\n value.push(item.value);\n label.push(item.label);\n }\n return item.checked;\n });\n this.$emit('input', value);\n this.$emit('change', value, label, null);\n },\n },\n};\n</script>\n","import { render, staticRenderFns } from \"./checkboxgroup.vue?vue&type=template&id=778b5ff1&\"\nimport script from \"./checkboxgroup.vue?vue&type=script&lang=js&\"\nexport * from \"./checkboxgroup.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import CheckBoxGroup from './checkboxgroup.vue';\nimport './checkboxgroup.scss';\n\nCheckBoxGroup.install = function(Vue) {\n Vue.component(CheckBoxGroup.name, CheckBoxGroup);\n};\n\nexport default CheckBoxGroup;\n","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{class:['nut-checkbox', 'nut-checkbox-size-' + _vm.size]},[_c('input',{class:{ 'nut-checkbox-ani': _vm.animation },attrs:{\"type\":\"checkbox\",\"name\":_vm.name,\"disabled\":_vm.disabled},domProps:{\"checked\":_vm.isChecked,\"value\":_vm.submittedValue},on:{\"change\":_vm.changeEvt}}),_vm._v(\" \"),(_vm.label)?_c('span',{staticClass:\"nut-checkbox-label\"},[_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \")]):_c('span',{staticClass:\"nut-checkbox-label\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkbox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./checkbox.vue?vue&type=script&lang=js&\"","<template>\n <label :class=\"['nut-checkbox', 'nut-checkbox-size-' + size]\">\n <input\n type=\"checkbox\"\n :name=\"name\"\n :class=\"{ 'nut-checkbox-ani': animation }\"\n :disabled=\"disabled\"\n :checked.prop=\"isChecked\"\n :value=\"submittedValue\"\n @change=\"changeEvt\"\n />\n <span class=\"nut-checkbox-label\" v-if=\"label\">\n {{ label }}\n </span>\n <span class=\"nut-checkbox-label\" v-else>\n <slot></slot>\n </span>\n </label>\n</template>\n<script>\nexport default {\n name: 'nut-checkbox',\n props: {\n name: {\n type: String\n },\n size: {\n type: [String, Number, Boolean],\n default: 'base'\n },\n label: {\n type: String,\n default: ''\n },\n value: {\n required: true\n },\n trueValue: {\n default: true\n },\n falseValue: {\n default: false\n },\n submittedValue: {\n type: String,\n default: 'on' // HTML default\n },\n checked: {\n type: Boolean,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false\n },\n animation: {\n type: Boolean,\n default: true\n }\n },\n watch: {\n value() {\n this.isChecked = this.looseEqual(this.value, this.trueValue);\n },\n checked(newValue, oldValue) {\n this.isChecked = newValue;\n }\n },\n data() {\n return {\n isChecked: this.value == this.trueValue || this.checked\n };\n },\n\n mounted() {\n this.$emit('update:checked', this.isChecked ? this.trueValue : this.falseValue, this.label);\n this.$emit('input', this.isChecked ? this.trueValue : this.falseValue, this.label);\n },\n methods: {\n isObject(obj) {\n return obj !== null && typeof obj === 'object';\n },\n looseEqual(a, b) {\n return a == b || (this.isObject(a) && this.isObject(b) ? JSON.stringify(a) === JSON.stringify(b) : false);\n },\n changeEvt(event) {\n const isCheckedPrevious = this.isChecked;\n const isChecked = event.target.checked;\n\n this.$emit('input', isChecked ? this.trueValue : this.falseValue, this.label, event);\n if (isCheckedPrevious !== isChecked) {\n this.$emit('change', isChecked ? this.trueValue : this.falseValue, this.label, event);\n }\n }\n }\n};\n</script>\n","import { render, staticRenderFns } from \"./checkbox.vue?vue&type=template&id=26d19cb3&\"\nimport script from \"./checkbox.vue?vue&type=script&lang=js&\"\nexport * from \"./checkbox.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
:size="item.size ? item.size : size"
|
|
10
10
|
:id="item[keys.id]"
|
|
11
11
|
:checked.sync="item.checked"
|
|
12
|
-
v-model="checkboxValues[
|
|
12
|
+
v-model="checkboxValues[item[keys.id]]"
|
|
13
13
|
@change="changeEvt(arguments, item)"
|
|
14
14
|
>{{ item[keys.label] || item[keys.value] || item }}
|
|
15
15
|
</nut-checkbox>
|
|
@@ -73,7 +73,7 @@ export default {
|
|
|
73
73
|
data() {
|
|
74
74
|
return {
|
|
75
75
|
ignoreChange: false,
|
|
76
|
-
checkboxValues:
|
|
76
|
+
checkboxValues: {},
|
|
77
77
|
initialValue: [],
|
|
78
78
|
};
|
|
79
79
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - circleprogress.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-circleprogress{position:relative}.nut-circleprogress .nut-circleprogress-content{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - circleprogress.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - col.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-col{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;word-break:break-all}.nut-col-offset-1{margin-left:4.16667%}.nut-col-1{width:4.16667%}.nut-col-offset-2{margin-left:8.33333%}.nut-col-2{width:8.33333%}.nut-col-offset-3{margin-left:12.5%}.nut-col-3{width:12.5%}.nut-col-offset-4{margin-left:16.66667%}.nut-col-4{width:16.66667%}.nut-col-offset-5{margin-left:20.83333%}.nut-col-5{width:20.83333%}.nut-col-offset-6{margin-left:25%}.nut-col-6{width:25%}.nut-col-offset-7{margin-left:29.16667%}.nut-col-7{width:29.16667%}.nut-col-offset-8{margin-left:33.33333%}.nut-col-8{width:33.33333%}.nut-col-offset-9{margin-left:37.5%}.nut-col-9{width:37.5%}.nut-col-offset-10{margin-left:41.66667%}.nut-col-10{width:41.66667%}.nut-col-offset-11{margin-left:45.83333%}.nut-col-11{width:45.83333%}.nut-col-offset-12{margin-left:50%}.nut-col-12{width:50%}.nut-col-offset-13{margin-left:54.16667%}.nut-col-13{width:54.16667%}.nut-col-offset-14{margin-left:58.33333%}.nut-col-14{width:58.33333%}.nut-col-offset-15{margin-left:62.5%}.nut-col-15{width:62.5%}.nut-col-offset-16{margin-left:66.66667%}.nut-col-16{width:66.66667%}.nut-col-offset-17{margin-left:70.83333%}.nut-col-17{width:70.83333%}.nut-col-offset-18{margin-left:75%}.nut-col-18{width:75%}.nut-col-offset-19{margin-left:79.16667%}.nut-col-19{width:79.16667%}.nut-col-offset-20{margin-left:83.33333%}.nut-col-20{width:83.33333%}.nut-col-offset-21{margin-left:87.5%}.nut-col-21{width:87.5%}.nut-col-offset-22{margin-left:91.66667%}.nut-col-22{width:91.66667%}.nut-col-offset-23{margin-left:95.83333%}.nut-col-23{width:95.83333%}.nut-col-offset-24{margin-left:100%}.nut-col-24{width:100%}
|
package/dist/packages/col/col.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - collapse.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - collapse.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - collapseitem.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-collapse-item{position:relative}.nut-collapse-item .collapse-item:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:" ";pointer-events:none;right:16px;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);-ms-transform:scaleY(.5);transform:scaleY(.5)}.nut-collapse-item .collapse-item{position:relative;width:100%;overflow:hidden;padding:10px 16px;color:#323233;font-size:14px;line-height:24px;background-color:#fff;-webkit-box-sizing:border-box;box-sizing:border-box}.nut-collapse-item .collapse-item .collapse-icon{display:block;position:absolute;top:50%;margin-top:-10px;right:16px;width:20px;height:20px;line-height:24px;background-image:url(https://img10.360buyimg.com/imagetools/jfs/t1/111306/10/17422/341/5f58aa0eEe9218dd6/28d76a42db334e31.png);background-repeat:no-repeat;background-size:100% 100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;-o-transition:transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.nut-collapse-item .collapse-item .col-expanded{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg)}.nut-collapse-item .collapse-item .subTitle{position:absolute;top:50%;right:40px;margin-top:-12px;color:#969799}.nut-collapse-item .collapse-wrapper{position:relative;height:0;overflow:hidden;-webkit-transition:height .3s ease-in-out;-o-transition:height .3s ease-in-out;transition:height .3s ease-in-out}.nut-collapse-item .collapse-wrapper .collapse-content{padding:12px 16px;color:#969799;font-size:14px;line-height:1.5;background-color:#fff}.nut-collapse-item .nut-collapse-item-disabled{color:#c8c9cc;cursor:not-allowed;pointer-events:none}.nut-collapse-item .nut-collapse-item-disabled .collapse-icon-disabled{background-image:url(https://img12.360buyimg.com/imagetools/jfs/t1/150037/5/8088/344/5f5b0bf2E214aac54/ec3e64ce3fc46200.png);background-repeat:no-repeat;background-size:100% 100%}.nut-collapse-item .nut-collapse-item-left .collapse-item{padding:10px 16px 10px 50px}.nut-collapse-item .nut-collapse-item-left .collapse-item .collapse-icon{left:20px}.nut-collapse-item .nut-collapse-item-left .collapse-item .subTitle{right:16px}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - collapseitem.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - countdown.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - countdown.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - countup.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-countup{display:inline-block;width:100%;padding:5px;color:#000;font-weight:700}.nut-countup .run-number{padding:0;width:100%;overflow:hidden;text-align:center;font-weight:700;position:relative}.nut-countup .run-number li{position:absolute;-webkit-transition:none;-o-transition:none;transition:none;list-style:none}.nut-countup .run-number li span{display:block}.nut-countup .pointstyl{position:absolute;display:block}.nut-countup .run-number-machine-img{overflow:hidden}.nut-countup .run-number-machine-img li{float:left;background-position:center 0;background-repeat:repeat-y;background-attachment:scroll}.nut-countup .run-number-img{position:relative}.nut-countup .run-number-img li{position:absolute;-webkit-transition:none;-o-transition:none;transition:none;display:inline-block;background-position:0 0;background-repeat:no-repeat}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - countup.js, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v2.3.
|
|
2
|
+
* @nutui/nutui v2.3.16 - coupon.css, af3498f17d8696cf297d, Thu Sep 14 2023 20:03:51 GMT+0800 (GMT+08:00)
|
|
3
3
|
* (c) 2017-2020 JDC
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/.nut-coupon{position:relative;width:133px;min-height:76px;padding:7px 12px;text-align:center;background-color:#fff;border-radius:8px;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.nut-coupon-info{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.nut-coupon-imgbox{margin-right:5px}.nut-coupon-img{display:block;width:44px;height:44px}.nut-coupon-desc{width:100%;text-align:left}.nut-coupon-discount{font-weight:700;font-size:24px;color:#e8220e;white-space:nowrap}.nut-coupon-discount .rmb{font-size:14px}.nut-coupon-quota{margin-bottom:4px;font-weight:700;color:#e8220e}.nut-coupon-limitStr,.nut-coupon-quota{font-size:12px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.nut-coupon-limitStr{margin-bottom:7px;color:#8c8c8c}.nut-coupon-btn{width:100%;height:22px;line-height:24px;font-size:14px;text-align:center;color:#e8220e;background:#fdedec;border:1px solid #e8220e;border-radius:10px}.nut-coupon-1 .nut-coupon-info{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.nut-coupon-1 .nut-coupon-quota{text-align:center;font-size:17px}.nut-coupon-use .nut-coupon-btn{color:#fff;background:#f2140c;border-color:#f2140c}.nut-coupon-ban:after{content:"";display:inline-block;width:100%;height:100%;position:absolute;top:0;left:0;background-color:rgba(0,0,0,.4);z-index:2}.nut-coupon-ban .nut-coupon-btn{color:#fff;background:#999;border-color:#999}
|