@nutui/nutui 4.3.14 → 4.3.15-beta.2
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 +19 -0
- package/README.md +2 -2
- package/dist/nutui.es.js +2 -14
- package/dist/nutui.umd.js +19829 -1
- package/dist/packages/{Interceptor-CBzqGJrl.js → Interceptor-aNUpilAP.js} +1 -1
- package/dist/packages/actionsheet/ActionSheet.js +17 -11
- package/dist/packages/address/Address.js +139 -121
- package/dist/packages/addresslist/AddressList.js +22 -11
- package/dist/packages/animate/Animate.js +1 -1
- package/dist/packages/avatar/Avatar.js +1 -1
- package/dist/packages/avatarcropper/AvatarCropper.js +329 -126
- package/dist/packages/avatargroup/AvatarGroup.js +17 -10
- package/dist/packages/backtop/Backtop.js +42 -88
- package/dist/packages/badge/Badge.js +4 -2
- package/dist/packages/barrage/Barrage.js +76 -130
- package/dist/packages/button/Button.js +15 -8
- package/dist/packages/calendar/Calendar.js +173 -152
- package/dist/packages/calendarcard/CalendarCard.js +33 -61
- package/dist/packages/card/Card.js +12 -4
- package/dist/packages/cascader/Cascader.js +49 -37
- package/dist/packages/category/Category.js +13 -12
- package/dist/packages/categorypane/CategoryPane.js +13 -8
- package/dist/packages/cell/Cell.js +10 -16
- package/dist/packages/cellgroup/CellGroup.js +4 -2
- package/dist/packages/checkbox/Checkbox.js +1 -1
- package/dist/packages/circleprogress/CircleProgress.js +53 -69
- package/dist/packages/col/Col.js +1 -1
- package/dist/packages/collapse/Collapse.js +1 -1
- package/dist/packages/collapseitem/CollapseItem.js +74 -39
- package/dist/packages/comment/Comment.js +46 -24
- package/dist/packages/configprovider/ConfigProvider.js +1 -1
- package/dist/packages/countdown/Countdown.js +2 -2
- package/dist/packages/countup/Countup.js +53 -66
- package/dist/packages/datepicker/DatePicker.js +12 -7
- package/dist/packages/dialog/Dialog.js +27 -96
- package/dist/packages/dialog/index.mjs +1 -2
- package/dist/packages/divider/Divider.js +1 -1
- package/dist/packages/drag/Drag.js +95 -58
- package/dist/packages/ecard/Ecard.js +19 -16
- package/dist/packages/elevator/Elevator.js +86 -73
- package/dist/packages/ellipsis/Ellipsis.js +223 -121
- package/dist/packages/empty/Empty.js +5 -3
- package/dist/packages/fixednav/FixedNav.js +12 -7
- package/dist/packages/form/Form.js +2 -2
- package/dist/packages/formitem/FormItem.js +3 -1
- package/dist/packages/grid/Grid.js +1 -1
- package/dist/packages/griditem/GridItem.js +5 -15
- package/dist/packages/imagepreview/ImagePreview.js +192 -400
- package/dist/packages/imagepreview/index.mjs +1 -2
- package/dist/packages/{index-BOB4ytqZ.js → index-IxPZmHlb.js} +2 -2
- package/dist/packages/index-m0Wcof-q.js +69 -0
- package/dist/packages/{index-wLaOjIn1.js → index.taro-CNxLoYer.js} +6 -7
- package/dist/packages/index.taro.vue_vue_type_script_setup_true_lang-JJ7hr71Y.js +17 -0
- package/dist/packages/indicator/Indicator.js +2 -2
- package/dist/packages/input/Input.js +87 -70
- package/dist/packages/inputnumber/InputNumber.js +22 -14
- package/dist/packages/invoice/Invoice.js +3 -2
- package/dist/packages/list/List.js +114 -56
- package/dist/packages/menu/Menu.js +45 -40
- package/dist/packages/menuitem/MenuItem.js +53 -47
- package/dist/packages/navbar/Navbar.js +31 -17
- package/dist/packages/noticebar/Noticebar.js +68 -43
- package/dist/packages/notify/Notify.js +10 -157
- package/dist/packages/notify/index.mjs +1 -2
- package/dist/packages/numberkeyboard/NumberKeyboard.js +103 -109
- package/dist/packages/overlay/Overlay.js +6 -34
- package/dist/packages/pagination/Pagination.js +8 -5
- package/dist/packages/picker/Picker.js +113 -26
- package/dist/packages/popover/Popover.js +158 -88
- package/dist/packages/popup/Popup.js +1 -1
- package/dist/packages/price/Price.js +16 -3
- package/dist/packages/progress/Progress.js +7 -4
- package/dist/packages/radio/Radio.js +11 -12
- package/dist/packages/radiogroup/RadioGroup.js +2 -2
- package/dist/packages/{raf-c01wDYCo.js → raf-CzJhCkQo.js} +0 -9
- package/dist/packages/range/Range.js +139 -71
- package/dist/packages/rate/Rate.js +15 -49
- package/dist/packages/row/Row.js +1 -1
- package/dist/packages/searchbar/Searchbar.js +35 -27
- package/dist/packages/shortpassword/ShortPassword.js +51 -43
- package/dist/packages/sidenavbar/SideNavbar.js +3 -14
- package/dist/packages/sidenavbaritem/SideNavbarItem.js +2 -2
- package/dist/packages/signature/Signature.js +148 -106
- package/dist/packages/skeleton/Skeleton.js +6 -3
- package/dist/packages/sku/Sku.js +66 -42
- package/dist/packages/space/Space.js +2 -2
- package/dist/packages/step/Step.js +5 -2
- package/dist/packages/steps/Steps.js +1 -1
- package/dist/packages/sticky/Sticky.js +32 -71
- package/dist/packages/subsidenavbar/SubSideNavbar.js +13 -5
- package/dist/packages/swipe/Swipe.js +37 -14
- package/dist/packages/swipegroup/SwipeGroup.js +2 -2
- package/dist/packages/swiper/Swiper.js +73 -24
- package/dist/packages/switch/Switch.js +6 -4
- package/dist/packages/tabbar/Tabbar.js +23 -24
- package/dist/packages/tabbaritem/TabbarItem.js +8 -3
- package/dist/packages/table/Table.js +10 -6
- package/dist/packages/tabs/Tabs.js +146 -150
- package/dist/packages/tag/Tag.js +5 -5
- package/dist/packages/textarea/Textarea.js +144 -69
- package/dist/packages/timedetail/TimeDetail.js +2 -2
- package/dist/packages/timepannel/TimePannel.js +2 -2
- package/dist/packages/timeselect/TimeSelect.js +9 -11
- package/dist/packages/toast/Toast.js +50 -186
- package/dist/packages/toast/index.mjs +1 -2
- package/dist/packages/tour/Tour.js +145 -99
- package/dist/packages/trendarrow/TrendArrow.js +7 -4
- package/dist/packages/uploader/Uploader.js +263 -106
- package/dist/packages/{util-D1pvnUYu.js → util-2G3mRQeF.js} +5 -17
- package/dist/packages/watermark/Watermark.js +95 -35
- package/dist/smartips/web-types.json +380 -770
- package/dist/style.css +1 -1
- package/dist/styles/base-jda.css +1 -0
- package/dist/styles/themes/default.scss +0 -1
- package/dist/styles/themes/jda.scss +106 -0
- package/dist/styles/themes/jdb.scss +0 -1
- package/dist/styles/themes/jddkh.scss +0 -1
- package/dist/styles/themes/jdt.scss +0 -1
- package/dist/styles/variables-jda.scss +945 -0
- package/dist/types/__VUE/actionsheet/{index.vue.d.ts → index.taro.vue.d.ts} +5 -112
- package/dist/types/__VUE/address/{index.vue.d.ts → index.taro.vue.d.ts} +139 -412
- package/dist/types/__VUE/addresslist/components/{GeneralShell.vue.d.ts → GeneralShell.taro.vue.d.ts} +45 -134
- package/dist/types/__VUE/addresslist/components/ItemContents.taro.vue.d.ts +27 -0
- package/dist/types/__VUE/addresslist/{index.vue.d.ts → index.taro.vue.d.ts} +85 -155
- package/dist/types/__VUE/animate/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/avatarcropper/{index.vue.d.ts → index.taro.vue.d.ts} +90 -147
- package/dist/types/__VUE/backtop/{backtop.vue.d.ts → backtop.taro.vue.d.ts} +8 -19
- package/dist/types/__VUE/backtop/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/badge/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/barrage/{index.vue.d.ts → index.taro.vue.d.ts} +10 -5
- package/dist/types/__VUE/button/{button.vue.d.ts → button.taro.vue.d.ts} +7 -1
- package/dist/types/__VUE/button/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/calendar/{index.vue.d.ts → index.taro.vue.d.ts} +59 -94
- package/dist/types/__VUE/calendarcard/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/calendaritem/{index.vue.d.ts → index.taro.vue.d.ts} +22 -4
- package/dist/types/__VUE/card/{index.vue.d.ts → index.taro.vue.d.ts} +13 -13
- package/dist/types/__VUE/cascader/{cascader-item.vue.d.ts → cascader-item.taro.vue.d.ts} +47 -229
- package/dist/types/__VUE/cascader/{index.vue.d.ts → index.taro.vue.d.ts} +50 -287
- package/dist/types/__VUE/category/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
- package/dist/types/__VUE/cell/{cell.vue.d.ts → cell.taro.vue.d.ts} +0 -15
- package/dist/types/__VUE/cell/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/cellgroup/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/circleprogress/{circle-progress.vue.d.ts → circle-progress.taro.vue.d.ts} +0 -4
- package/dist/types/__VUE/circleprogress/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/col/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/collapse/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/collapseitem/collapse-item.taro.vue.d.ts +94 -0
- package/dist/types/__VUE/collapseitem/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/comment/components/CmtBottom.taro.vue.d.ts +47 -0
- package/dist/types/__VUE/comment/components/CmtHeader.taro.vue.d.ts +122 -0
- package/dist/types/__VUE/comment/components/{CmtImages.vue.d.ts → CmtImages.taro.vue.d.ts} +2 -55
- package/dist/types/__VUE/comment/index.taro.vue.d.ts +333 -0
- package/dist/types/__VUE/countdown/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/countup/{index.vue.d.ts → index.taro.vue.d.ts} +5 -7
- package/dist/types/__VUE/datepicker/{index.vue.d.ts → index.taro.vue.d.ts} +31 -2
- package/dist/types/__VUE/dialog/{index.vue.d.ts → index.taro.vue.d.ts} +52 -85
- package/dist/types/__VUE/divider/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/drag/{index.vue.d.ts → index.taro.vue.d.ts} +2 -0
- package/dist/types/__VUE/elevator/{index.vue.d.ts → index.taro.vue.d.ts} +40 -5
- package/dist/types/__VUE/ellipsis/{index.vue.d.ts → index.taro.vue.d.ts} +11 -6
- package/dist/types/__VUE/empty/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/fixednav/{index.vue.d.ts → index.taro.vue.d.ts} +2 -55
- package/dist/types/__VUE/form/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/formitem/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/grid/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/griditem/{grid-item.vue.d.ts → grid-item.taro.vue.d.ts} +3 -21
- package/dist/types/__VUE/griditem/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +732 -0
- package/dist/types/__VUE/indicator/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/input/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/input/{input.vue.d.ts → input.taro.vue.d.ts} +14 -6
- package/dist/types/__VUE/inputnumber/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/invoice/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/layout/{index.d.ts → index.taro.d.ts} +1 -1
- package/dist/types/__VUE/list/{index.vue.d.ts → index.taro.vue.d.ts} +32 -4
- package/dist/types/__VUE/menu/index.taro.vue.d.ts +104 -0
- package/dist/types/__VUE/menuitem/{index.vue.d.ts → index.taro.vue.d.ts} +22 -114
- package/dist/types/__VUE/navbar/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/noticebar/{index.vue.d.ts → index.taro.vue.d.ts} +9 -116
- package/dist/types/__VUE/notify/{index.vue.d.ts → index.taro.vue.d.ts} +2 -66
- package/dist/types/__VUE/numberkeyboard/{index.vue.d.ts → index.taro.vue.d.ts} +14 -60
- package/dist/types/__VUE/overlay/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/picker/{index.vue.d.ts → index.taro.vue.d.ts} +31 -2
- package/dist/types/__VUE/popover/{index.vue.d.ts → index.taro.vue.d.ts} +4 -56
- package/dist/types/__VUE/popup/{index.vue.d.ts → index.taro.vue.d.ts} +3 -56
- package/dist/types/__VUE/price/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/progress/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/radio/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/radiogroup/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/range/{index.vue.d.ts → index.taro.vue.d.ts} +3 -2
- package/dist/types/__VUE/rate/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/rate/rate.taro.vue.d.ts +95 -0
- package/dist/types/__VUE/row/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/scroll-view/index.taro.vue.d.ts +9 -0
- package/dist/types/__VUE/searchbar/{index.vue.d.ts → index.taro.vue.d.ts} +23 -121
- package/dist/types/__VUE/shortpassword/{index.vue.d.ts → index.taro.vue.d.ts} +5 -112
- package/dist/types/__VUE/sidenavbar/{index.vue.d.ts → index.taro.vue.d.ts} +0 -9
- package/dist/types/__VUE/signature/{index.vue.d.ts → index.taro.vue.d.ts} +53 -31
- package/dist/types/__VUE/skeleton/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/sku/components/{SkuHeader.vue.d.ts → SkuHeader.taro.vue.d.ts} +6 -6
- package/dist/types/__VUE/sku/{index.vue.d.ts → index.taro.vue.d.ts} +25 -62
- package/dist/types/__VUE/step/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/steps/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/sticky/{index.vue.d.ts → index.taro.vue.d.ts} +7 -26
- package/dist/types/__VUE/subsidenavbar/index.taro.vue.d.ts +45 -0
- package/dist/types/__VUE/swipe/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/swipegroup/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/swiper/{index.vue.d.ts → index.taro.vue.d.ts} +6 -5
- package/dist/types/__VUE/switch/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/tabbar/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/tabbaritem/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/table/{index.vue.d.ts → index.taro.vue.d.ts} +2 -55
- package/dist/types/__VUE/tabs/{index.vue.d.ts → index.taro.vue.d.ts} +27 -118
- package/dist/types/__VUE/tag/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/textarea/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/textarea/{textarea.vue.d.ts → textarea.taro.vue.d.ts} +1 -1
- package/dist/types/__VUE/timeselect/{index.vue.d.ts → index.taro.vue.d.ts} +3 -66
- package/dist/types/__VUE/toast/{index.vue.d.ts → index.taro.vue.d.ts} +16 -12
- package/dist/types/__VUE/tour/{index.vue.d.ts → index.taro.vue.d.ts} +13 -121
- package/dist/types/__VUE/trendarrow/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/__VUE/uploader/{index.vue.d.ts → index.taro.vue.d.ts} +268 -286
- package/dist/types/__VUE/watermark/{index.d.ts → index.taro.d.ts} +2 -2
- package/dist/types/index.d.ts +145 -155
- package/package.json +1 -1
- package/dist/nutui.js +0 -15854
- package/dist/packages/audio/Audio.js +0 -271
- package/dist/packages/audio/index.mjs +0 -2
- package/dist/packages/audiooperate/AudioOperate.js +0 -125
- package/dist/packages/audiooperate/index.mjs +0 -2
- package/dist/packages/image/Image.js +0 -167
- package/dist/packages/image/index.mjs +0 -2
- package/dist/packages/index-B1qsj2XR.js +0 -33
- package/dist/packages/index-BvmDLUYP.js +0 -31
- package/dist/packages/index-aiGQ-EiA.js +0 -8
- package/dist/packages/infiniteloading/InfiniteLoading.js +0 -184
- package/dist/packages/infiniteloading/index.mjs +0 -2
- package/dist/packages/mountComponent-CLi4Nz91.js +0 -39
- package/dist/packages/pullrefresh/PullRefresh.js +0 -240
- package/dist/packages/pullrefresh/index.mjs +0 -2
- package/dist/packages/types-BMA1Y94E.js +0 -4
- package/dist/packages/video/Video.js +0 -449
- package/dist/packages/video/index.mjs +0 -2
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +0 -134
- package/dist/types/__VUE/audio/index.vue.d.ts +0 -323
- package/dist/types/__VUE/audio/types.d.ts +0 -3
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +0 -229
- package/dist/types/__VUE/collapseitem/collapse-item.vue.d.ts +0 -201
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +0 -208
- package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +0 -248
- package/dist/types/__VUE/comment/index.vue.d.ts +0 -728
- package/dist/types/__VUE/dialog/index.d.ts +0 -44
- package/dist/types/__VUE/image/image.vue.d.ts +0 -111
- package/dist/types/__VUE/image/index.d.ts +0 -6
- package/dist/types/__VUE/image/types.d.ts +0 -2
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +0 -267
- package/dist/types/__VUE/imagepreview/index.d.ts +0 -36
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -1088
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +0 -140
- package/dist/types/__VUE/menu/index.vue.d.ts +0 -210
- package/dist/types/__VUE/notify/index.d.ts +0 -22
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +0 -200
- package/dist/types/__VUE/rate/rate.vue.d.ts +0 -208
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +0 -152
- package/dist/types/__VUE/toast/index.d.ts +0 -12
- package/dist/types/__VUE/video/index.vue.d.ts +0 -149
- package/dist/packages/{index-Do4_KY74.js → index.taro-Do4_KY74.js} +0 -0
- package/dist/types/__VUE/animate/{animate.vue.d.ts → animate.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/avatar/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/avatargroup/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/badge/{badge.vue.d.ts → badge.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/calendarcard/{calendar-card.vue.d.ts → calendar-card.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/calendarcard/{icon.d.ts → icon.taro.d.ts} +0 -0
- package/dist/types/__VUE/categorypane/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/cellgroup/{cell-group.vue.d.ts → cell-group.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/checkbox/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/checkboxgroup/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/col/{col.vue.d.ts → col.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/collapse/{collapse.vue.d.ts → collapse.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/configprovider/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/countdown/{countdown.vue.d.ts → countdown.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/divider/{divider.vue.d.ts → divider.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/ecard/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/empty/{empty.vue.d.ts → empty.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/form/{form.vue.d.ts → form.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/formitem/{form-item.vue.d.ts → form-item.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/grid/{grid.vue.d.ts → grid.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/indicator/{indicator.vue.d.ts → indicator.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/inputnumber/{input-number.vue.d.ts → input-number.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/invoice/{invoice.vue.d.ts → invoice.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/layout/{layout.vue.d.ts → layout.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/navbar/{navbar.vue.d.ts → navbar.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/overlay/{overlay.vue.d.ts → overlay.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/pagination/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/price/{price.vue.d.ts → price.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/progress/{progress.vue.d.ts → progress.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/radio/{radio.vue.d.ts → radio.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/radiogroup/{radio-group.vue.d.ts → radio-group.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/row/{row.vue.d.ts → row.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/sidenavbaritem/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/skeleton/{skeleton.vue.d.ts → skeleton.taro.vue.d.ts} +2 -2
- package/dist/types/__VUE/sku/components/{SkuStepper.vue.d.ts → SkuStepper.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/space/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/step/{step.vue.d.ts → step.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/steps/{steps.vue.d.ts → steps.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/swipe/{swipe.vue.d.ts → swipe.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/swipegroup/{swipe-group.vue.d.ts → swipe-group.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/swiperitem/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/switch/{switch.vue.d.ts → switch.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/tabbar/{tabbar.vue.d.ts → tabbar.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/tabbaritem/{tabbar-item.vue.d.ts → tabbar-item.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/tabpane/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/tag/{tag.vue.d.ts → tag.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/timedetail/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/timepannel/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
- package/dist/types/__VUE/trendarrow/{trend-arrow.vue.d.ts → trend-arrow.taro.vue.d.ts} +1 -1
- package/dist/types/__VUE/watermark/{watermark.vue.d.ts → watermark.taro.vue.d.ts} +2 -2
|
@@ -17,73 +17,37 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { h, defineComponent, ref, computed, watchEffect, withDirectives, openBlock, createElementBlock, createElementVNode, createVNode, unref, toDisplayString, Fragment, renderList, normalizeClass, renderSlot,
|
|
20
|
+
import { h, defineComponent, ref, computed, watchEffect, withDirectives, openBlock, createElementBlock, createElementVNode, createVNode, unref, createTextVNode, toDisplayString, Fragment, renderList, normalizeClass, renderSlot, vShow } from "vue";
|
|
21
21
|
import { U as Utils } from "../date-DHXcwF1m.js";
|
|
22
|
-
import { u as useLocale } from "../index-
|
|
22
|
+
import { u as useLocale } from "../index-IxPZmHlb.js";
|
|
23
23
|
import { w as withInstall } from "../with-install-Ch3FF0uS.js";
|
|
24
|
+
const left = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNNi42MDUgOS40OWEuNzcxLjc3MSAwIDAgMSAwLS45OGwzLjYtNC4zNzJhLjc3MS43NzEgMCAwIDEgMS4xOS45ODFMOC4yIDlsMy4xOTcgMy44ODFhLjc3MS43NzEgMCAxIDEtMS4xOTEuOThsLTMuNi00LjM3eiIvPjwvc3ZnPg==";
|
|
25
|
+
const right = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNMTEuMzk2IDkuNDlhLjc3MS43NzEgMCAwIDAgMC0uOThsLTMuNi00LjM3MmEuNzcxLjc3MSAwIDAgMC0xLjE5MS45ODFMOS44IDlsLTMuMTk2IDMuODgxYS43NzEuNzcxIDAgMCAwIDEuMTkuOThsMy42LTQuMzd6Ii8+PC9zdmc+";
|
|
26
|
+
const doubleLeft = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNMTMuODUzIDQuMDI2YS43NzEuNzcxIDAgMCAxIC4xMiAxLjA4NUwxMC44NjQgOWwzLjExIDMuODg5YS43NzEuNzcxIDAgMSAxLTEuMjA0Ljk2M2wtMy40OTgtNC4zN2EuNzcxLjc3MSAwIDAgMSAwLS45NjRsMy40OTctNC4zNzFhLjc3MS43NzEgMCAwIDEgMS4wODQtLjEyem0tNS4yNDUgMGEuNzcxLjc3MSAwIDAgMSAuMTIgMS4wODVMNS42MTcgOWwzLjExMSAzLjg4OWEuNzcxLjc3MSAwIDAgMS0xLjIwNS45NjNsLTMuNDk3LTQuMzdhLjc3MS43NzEgMCAwIDEgMC0uOTY0bDMuNDk3LTQuMzcxYS43NzEuNzcxIDAgMCAxIDEuMDg1LS4xMnoiLz48L3N2Zz4=";
|
|
27
|
+
const doubleRight = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNNC4xNDcgMTMuOTc0YS43NzEuNzcxIDAgMCAxLS4xMi0xLjA4NUw3LjEzNiA5IDQuMDI4IDUuMTFhLjc3MS43NzEgMCAxIDEgMS4yMDQtLjk2M2wzLjQ5NyA0LjM3MWEuNzcxLjc3MSAwIDAgMSAwIC45NjRsLTMuNDk3IDQuMzcxYS43NzEuNzcxIDAgMCAxLTEuMDg0LjEyem01LjI0NSAwYS43NzEuNzcxIDAgMCAxLS4xMi0xLjA4NUwxMi4zODMgOSA5LjI3MiA1LjExYS43NzEuNzcxIDAgMSAxIDEuMjA1LS45NjNsMy40OTcgNC4zNzFhLjc3MS43NzEgMCAwIDEgMCAuOTY0bC0zLjQ5NyA0LjM3MWEuNzcxLjc3MSAwIDAgMS0xLjA4NS4xMnoiLz48L3N2Zz4=";
|
|
28
|
+
const Icon = (url) => {
|
|
29
|
+
const style = {
|
|
30
|
+
background: `url('${url}') no-repeat center`,
|
|
31
|
+
backgroundSize: "100% 100%",
|
|
32
|
+
width: "18px",
|
|
33
|
+
height: "18px",
|
|
34
|
+
display: "block"
|
|
35
|
+
};
|
|
36
|
+
return h("view", {
|
|
37
|
+
style
|
|
38
|
+
});
|
|
39
|
+
};
|
|
24
40
|
const Left = () => {
|
|
25
|
-
return
|
|
26
|
-
"svg",
|
|
27
|
-
{
|
|
28
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
-
width: "18",
|
|
30
|
-
height: "18",
|
|
31
|
-
viewBox: "0 0 18 18"
|
|
32
|
-
},
|
|
33
|
-
[
|
|
34
|
-
h("path", {
|
|
35
|
-
d: "M6.605 9.49a.771.771 0 0 1 0-.98l3.6-4.372a.771.771 0 0 1 1.19.981L8.2 9l3.197 3.881a.771.771 0 1 1-1.191.98l-3.6-4.37Z"
|
|
36
|
-
})
|
|
37
|
-
]
|
|
38
|
-
);
|
|
41
|
+
return Icon(left);
|
|
39
42
|
};
|
|
40
43
|
const Right = () => {
|
|
41
|
-
return
|
|
42
|
-
"svg",
|
|
43
|
-
{
|
|
44
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
45
|
-
width: "18",
|
|
46
|
-
height: "18",
|
|
47
|
-
viewBox: "0 0 18 18"
|
|
48
|
-
},
|
|
49
|
-
[
|
|
50
|
-
h("path", {
|
|
51
|
-
d: "M11.396 9.49a.771.771 0 0 0 0-.98l-3.6-4.372a.771.771 0 0 0-1.191.981L9.8 9l-3.196 3.881a.771.771 0 0 0 1.19.98l3.6-4.37Z"
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
);
|
|
44
|
+
return Icon(right);
|
|
55
45
|
};
|
|
56
46
|
const DoubleLeft = () => {
|
|
57
|
-
return
|
|
58
|
-
"svg",
|
|
59
|
-
{
|
|
60
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
61
|
-
width: "18",
|
|
62
|
-
height: "18",
|
|
63
|
-
viewBox: "0 0 18 18"
|
|
64
|
-
},
|
|
65
|
-
[
|
|
66
|
-
h("path", {
|
|
67
|
-
d: "M13.853 4.026a.771.771 0 0 1 .12 1.085L10.864 9l3.11 3.889a.771.771 0 1 1-1.204.963L9.272 9.482a.771.771 0 0 1 0-.964l3.497-4.371a.771.771 0 0 1 1.084-.12Zm-5.245 0a.771.771 0 0 1 .12 1.085L5.617 9l3.111 3.889a.771.771 0 0 1-1.205.963L4.026 9.482a.771.771 0 0 1 0-.964l3.497-4.371a.771.771 0 0 1 1.085-.12Z"
|
|
68
|
-
})
|
|
69
|
-
]
|
|
70
|
-
);
|
|
47
|
+
return Icon(doubleLeft);
|
|
71
48
|
};
|
|
72
49
|
const DoubleRight = () => {
|
|
73
|
-
return
|
|
74
|
-
"svg",
|
|
75
|
-
{
|
|
76
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
77
|
-
width: "18",
|
|
78
|
-
height: "18",
|
|
79
|
-
viewBox: "0 0 18 18"
|
|
80
|
-
},
|
|
81
|
-
[
|
|
82
|
-
h("path", {
|
|
83
|
-
d: "M4.147 13.974a.771.771 0 0 1-.12-1.085L7.136 9 4.028 5.11a.771.771 0 1 1 1.204-.963l3.497 4.371a.771.771 0 0 1 0 .964l-3.497 4.371a.771.771 0 0 1-1.084.12Zm5.245 0a.771.771 0 0 1-.12-1.085L12.383 9 9.272 5.11a.771.771 0 1 1 1.205-.963l3.497 4.371a.771.771 0 0 1 0 .964l-3.497 4.371a.771.771 0 0 1-1.085.12Z"
|
|
84
|
-
})
|
|
85
|
-
]
|
|
86
|
-
);
|
|
50
|
+
return Icon(doubleRight);
|
|
87
51
|
};
|
|
88
52
|
const convertDateToDay = (date) => {
|
|
89
53
|
return date ? {
|
|
@@ -200,7 +164,7 @@ const cN = "NutCalendarCard";
|
|
|
200
164
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
201
165
|
name: cN
|
|
202
166
|
}), {
|
|
203
|
-
__name: "calendar-card",
|
|
167
|
+
__name: "calendar-card.taro",
|
|
204
168
|
props: {
|
|
205
169
|
type: { default: "single" },
|
|
206
170
|
firstDayOfWeek: { default: 0 },
|
|
@@ -416,8 +380,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
416
380
|
}
|
|
417
381
|
case "week": {
|
|
418
382
|
if (innerValue.value.length === 2 || innerValue.value.length === 0) {
|
|
419
|
-
const [
|
|
420
|
-
change([
|
|
383
|
+
const [left2, right2] = getCurrentWeekDays(day, props.firstDayOfWeek);
|
|
384
|
+
change([left2, right2]);
|
|
421
385
|
} else {
|
|
422
386
|
console.warn("[NutUI] Calendar week error");
|
|
423
387
|
}
|
|
@@ -442,6 +406,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
442
406
|
}, [
|
|
443
407
|
createVNode(unref(DoubleLeft))
|
|
444
408
|
]),
|
|
409
|
+
_cache[4] || (_cache[4] = createTextVNode()),
|
|
445
410
|
createElementVNode("div", {
|
|
446
411
|
class: "left",
|
|
447
412
|
onClick: _cache[1] || (_cache[1] = ($event) => jump(-1))
|
|
@@ -449,7 +414,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
449
414
|
createVNode(unref(Left))
|
|
450
415
|
])
|
|
451
416
|
]),
|
|
417
|
+
_cache[6] || (_cache[6] = createTextVNode()),
|
|
452
418
|
createElementVNode("div", _hoisted_4, toDisplayString(unref(translate)("monthTitle", month.value.year, month.value.month)), 1),
|
|
419
|
+
_cache[7] || (_cache[7] = createTextVNode()),
|
|
453
420
|
createElementVNode("div", _hoisted_5, [
|
|
454
421
|
createElementVNode("div", {
|
|
455
422
|
class: "right",
|
|
@@ -457,6 +424,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
457
424
|
}, [
|
|
458
425
|
createVNode(unref(Right))
|
|
459
426
|
]),
|
|
427
|
+
_cache[5] || (_cache[5] = createTextVNode()),
|
|
460
428
|
createElementVNode("div", {
|
|
461
429
|
class: "double-right",
|
|
462
430
|
onClick: _cache[3] || (_cache[3] = ($event) => jump(12))
|
|
@@ -465,6 +433,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
465
433
|
])
|
|
466
434
|
])
|
|
467
435
|
]),
|
|
436
|
+
_cache[11] || (_cache[11] = createTextVNode()),
|
|
468
437
|
createElementVNode("div", _hoisted_6, [
|
|
469
438
|
createElementVNode("div", _hoisted_7, [
|
|
470
439
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weekHeader.value, (d) => {
|
|
@@ -474,6 +443,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
474
443
|
}, toDisplayString(d.name), 3);
|
|
475
444
|
}), 128))
|
|
476
445
|
]),
|
|
446
|
+
_cache[10] || (_cache[10] = createTextVNode()),
|
|
477
447
|
createElementVNode("div", _hoisted_8, [
|
|
478
448
|
(openBlock(true), createElementBlock(Fragment, null, renderList(days.value, (day) => {
|
|
479
449
|
return openBlock(), createElementBlock("div", {
|
|
@@ -484,11 +454,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
484
454
|
createElementVNode("div", _hoisted_10, [
|
|
485
455
|
renderSlot(_ctx.$slots, "top", { day })
|
|
486
456
|
]),
|
|
457
|
+
_cache[8] || (_cache[8] = createTextVNode()),
|
|
487
458
|
createElementVNode("div", _hoisted_11, [
|
|
488
459
|
renderSlot(_ctx.$slots, "default", { day }, () => [
|
|
489
460
|
createTextVNode(toDisplayString(day.date), 1)
|
|
490
461
|
])
|
|
491
462
|
]),
|
|
463
|
+
_cache[9] || (_cache[9] = createTextVNode()),
|
|
492
464
|
createElementVNode("div", _hoisted_12, [
|
|
493
465
|
renderSlot(_ctx.$slots, "bottom", { day })
|
|
494
466
|
])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
2
|
-
import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot, createVNode, createCommentVNode, withCtx
|
|
2
|
+
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, renderSlot, createVNode, createCommentVNode, withCtx } from "vue";
|
|
3
3
|
import { Price as _sfc_main$1 } from "../price/Price.js";
|
|
4
4
|
import { Tag as _sfc_main$2 } from "../tag/Tag.js";
|
|
5
5
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
@@ -59,20 +59,24 @@ const _hoisted_9 = { class: "nut-card__right__shop__name" };
|
|
|
59
59
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60
60
|
const _component_nut_price = resolveComponent("nut-price");
|
|
61
61
|
const _component_nut_tag = resolveComponent("nut-tag");
|
|
62
|
-
return openBlock(), createElementBlock("
|
|
62
|
+
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
63
63
|
createElementVNode("div", _hoisted_2, [
|
|
64
64
|
createElementVNode("img", {
|
|
65
65
|
src: _ctx.imgUrl,
|
|
66
66
|
alt: ""
|
|
67
67
|
}, null, 8, _hoisted_3)
|
|
68
68
|
]),
|
|
69
|
+
_cache[7] || (_cache[7] = createTextVNode()),
|
|
69
70
|
createElementVNode("div", _hoisted_4, [
|
|
70
71
|
createElementVNode("div", _hoisted_5, toDisplayString(_ctx.title), 1),
|
|
72
|
+
_cache[3] || (_cache[3] = createTextVNode()),
|
|
71
73
|
renderSlot(_ctx.$slots, "prolist"),
|
|
74
|
+
_cache[4] || (_cache[4] = createTextVNode()),
|
|
72
75
|
_ctx.isNeedPrice ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
73
76
|
renderSlot(_ctx.$slots, "price", {}, () => [
|
|
74
77
|
createVNode(_component_nut_price, { price: _ctx.price }, null, 8, ["price"])
|
|
75
78
|
]),
|
|
79
|
+
_cache[0] || (_cache[0] = createTextVNode()),
|
|
76
80
|
renderSlot(_ctx.$slots, "origin", {}, () => [
|
|
77
81
|
createVNode(_component_nut_price, {
|
|
78
82
|
class: "nut-card__right__price__origin",
|
|
@@ -80,6 +84,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80
84
|
}, null, 8, ["price"])
|
|
81
85
|
])
|
|
82
86
|
])) : createCommentVNode("", true),
|
|
87
|
+
_cache[5] || (_cache[5] = createTextVNode()),
|
|
83
88
|
createElementVNode("div", _hoisted_7, [
|
|
84
89
|
renderSlot(_ctx.$slots, "shop-tag", {}, () => [
|
|
85
90
|
createVNode(_component_nut_tag, { type: "danger" }, {
|
|
@@ -88,6 +93,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
88
93
|
]),
|
|
89
94
|
_: 1
|
|
90
95
|
}),
|
|
96
|
+
_cache[1] || (_cache[1] = createTextVNode()),
|
|
91
97
|
createVNode(_component_nut_tag, { plain: "" }, {
|
|
92
98
|
default: withCtx(() => [
|
|
93
99
|
createTextVNode(toDisplayString(_ctx.delivery), 1)
|
|
@@ -96,14 +102,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
96
102
|
})
|
|
97
103
|
])
|
|
98
104
|
]),
|
|
105
|
+
_cache[6] || (_cache[6] = createTextVNode()),
|
|
99
106
|
createElementVNode("div", _hoisted_8, [
|
|
100
107
|
createElementVNode("div", _hoisted_9, toDisplayString(_ctx.shopName), 1),
|
|
108
|
+
_cache[2] || (_cache[2] = createTextVNode()),
|
|
101
109
|
renderSlot(_ctx.$slots, "footer")
|
|
102
110
|
])
|
|
103
111
|
])
|
|
104
112
|
]);
|
|
105
113
|
}
|
|
106
|
-
const
|
|
114
|
+
const index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
107
115
|
export {
|
|
108
|
-
|
|
116
|
+
index_taro as default
|
|
109
117
|
};
|
|
@@ -51,13 +51,14 @@ var __async = (__this, __arguments, generator) => {
|
|
|
51
51
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
|
-
import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString,
|
|
55
|
-
import { N as NutPopup, p as popupProps } from "../index-wLaOjIn1.js";
|
|
54
|
+
import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, createVNode, normalizeClass, toDisplayString, createTextVNode, createCommentVNode } from "vue";
|
|
56
55
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
57
|
-
import {
|
|
56
|
+
import { N as NutPopup, p as popupProps } from "../index.taro-CNxLoYer.js";
|
|
57
|
+
import { _ as _sfc_main$2 } from "../index.taro.vue_vue_type_script_setup_true_lang-JJ7hr71Y.js";
|
|
58
|
+
import { Loading, Checklist } from "@nutui/icons-vue-taro";
|
|
58
59
|
import NutTabs from "../tabs/Tabs.js";
|
|
59
60
|
import NutTabPane from "../tabpane/TabPane.js";
|
|
60
|
-
import { u as useLocale } from "../index-
|
|
61
|
+
import { u as useLocale } from "../index-IxPZmHlb.js";
|
|
61
62
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
62
63
|
const formatTree = (tree, parent, config) => tree.map((node) => {
|
|
63
64
|
const { value: valueKey = "value", text: textKey = "text", children: childrenKey = "children" } = config;
|
|
@@ -184,7 +185,8 @@ const _sfc_main$1 = create$1({
|
|
|
184
185
|
Loading,
|
|
185
186
|
Checklist,
|
|
186
187
|
NutTabs,
|
|
187
|
-
NutTabPane
|
|
188
|
+
NutTabPane,
|
|
189
|
+
NutScrollView: _sfc_main$2
|
|
188
190
|
},
|
|
189
191
|
props: {
|
|
190
192
|
visible: Boolean,
|
|
@@ -287,8 +289,8 @@ const _sfc_main$1 = create$1({
|
|
|
287
289
|
}
|
|
288
290
|
if (needToSync.length && currentValue === props.modelValue) {
|
|
289
291
|
const pathNodes = tree.value.getPathNodesByValue(needToSync);
|
|
290
|
-
pathNodes.map((node,
|
|
291
|
-
tabsCursor.value =
|
|
292
|
+
pathNodes.map((node, index) => {
|
|
293
|
+
tabsCursor.value = index;
|
|
292
294
|
methods.handleNode(node, true);
|
|
293
295
|
});
|
|
294
296
|
}
|
|
@@ -425,6 +427,7 @@ const _hoisted_3 = { class: "nut-cascader-item__title" };
|
|
|
425
427
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
426
428
|
const _component_Loading = resolveComponent("Loading");
|
|
427
429
|
const _component_Checklist = resolveComponent("Checklist");
|
|
430
|
+
const _component_nut_scroll_view = resolveComponent("nut-scroll-view");
|
|
428
431
|
const _component_nut_tab_pane = resolveComponent("nut-tab-pane");
|
|
429
432
|
const _component_nut_tabs = resolveComponent("nut-tabs");
|
|
430
433
|
return openBlock(), createBlock(_component_nut_tabs, {
|
|
@@ -435,34 +438,43 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
435
438
|
onClick: _ctx.handleTabClick
|
|
436
439
|
}, {
|
|
437
440
|
default: withCtx(() => [
|
|
438
|
-
!_ctx.initLoading && _ctx.panes.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.panes, (pane,
|
|
441
|
+
!_ctx.initLoading && _ctx.panes.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.panes, (pane, index) => {
|
|
439
442
|
return openBlock(), createBlock(_component_nut_tab_pane, {
|
|
440
|
-
key:
|
|
443
|
+
key: index,
|
|
441
444
|
title: _ctx.formatTabTitle(pane)
|
|
442
445
|
}, {
|
|
443
446
|
default: withCtx(() => [
|
|
444
447
|
createElementVNode("view", _hoisted_1$1, [
|
|
445
|
-
(
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
448
|
+
createVNode(_component_nut_scroll_view, {
|
|
449
|
+
"scroll-y": true,
|
|
450
|
+
style: { "height": "100%" }
|
|
451
|
+
}, {
|
|
452
|
+
default: withCtx(() => [
|
|
453
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(pane.nodes, (node) => {
|
|
454
|
+
return openBlock(), createElementBlock("view", {
|
|
455
|
+
key: node.value,
|
|
456
|
+
class: normalizeClass(["nut-cascader-item", { active: _ctx.isSelected(pane, node), disabled: node.disabled }]),
|
|
457
|
+
"aria-checked": _ctx.isSelected(pane, node),
|
|
458
|
+
"aria-disabled": node.disabled || void 0,
|
|
459
|
+
role: "menuitemradio",
|
|
460
|
+
onClick: ($event) => _ctx.handleNode(node, false)
|
|
461
|
+
}, [
|
|
462
|
+
createElementVNode("view", _hoisted_3, toDisplayString(node.text), 1),
|
|
463
|
+
_cache[1] || (_cache[1] = createTextVNode()),
|
|
464
|
+
node.loading ? (openBlock(), createBlock(_component_Loading, {
|
|
465
|
+
key: 0,
|
|
466
|
+
class: "nut-cascader-item__icon-loading",
|
|
467
|
+
name: "loading"
|
|
468
|
+
})) : (openBlock(), createBlock(_component_Checklist, {
|
|
469
|
+
key: 1,
|
|
470
|
+
class: "nut-cascader-item__icon-check",
|
|
471
|
+
name: "checklist"
|
|
472
|
+
}))
|
|
473
|
+
], 10, _hoisted_2);
|
|
474
|
+
}), 128))
|
|
475
|
+
]),
|
|
476
|
+
_: 2
|
|
477
|
+
}, 1024)
|
|
466
478
|
])
|
|
467
479
|
]),
|
|
468
480
|
_: 2
|
|
@@ -471,7 +483,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
471
483
|
key: 1,
|
|
472
484
|
title: "Loading..."
|
|
473
485
|
}, {
|
|
474
|
-
default: withCtx(() => _cache[
|
|
486
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
475
487
|
createElementVNode("view", { class: "nut-cascader-pane" }, null, -1)
|
|
476
488
|
])),
|
|
477
489
|
_: 1
|
|
@@ -562,12 +574,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
562
574
|
position: "bottom",
|
|
563
575
|
"pop-class": "nut-cascader__popup",
|
|
564
576
|
round: "",
|
|
565
|
-
"lock-scroll": _ctx.lockScroll,
|
|
566
|
-
teleport: _ctx.teleport,
|
|
567
|
-
"teleport-disable": _ctx.teleportDisable,
|
|
568
577
|
closeable: _ctx.closeable,
|
|
569
578
|
"destroy-on-close": false,
|
|
570
579
|
"close-icon-position": _ctx.closeIconPosition,
|
|
580
|
+
"lock-scroll": _ctx.lockScroll,
|
|
581
|
+
"catch-move": _ctx.lockScroll,
|
|
571
582
|
"z-index": _ctx.zIndex
|
|
572
583
|
}, {
|
|
573
584
|
default: withCtx(() => [
|
|
@@ -576,6 +587,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
576
587
|
class: "nut-cascader__bar",
|
|
577
588
|
innerHTML: _ctx.title
|
|
578
589
|
}, null, 8, _hoisted_1)) : createCommentVNode("", true),
|
|
590
|
+
_cache[1] || (_cache[1] = createTextVNode()),
|
|
579
591
|
createVNode(_component_nut_cascader_item, {
|
|
580
592
|
"model-value": _ctx.innerValue,
|
|
581
593
|
options: _ctx.options,
|
|
@@ -591,7 +603,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
591
603
|
}, null, 8, ["model-value", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible", "onChange", "onPathChange"])
|
|
592
604
|
]),
|
|
593
605
|
_: 1
|
|
594
|
-
}, 8, ["visible", "
|
|
606
|
+
}, 8, ["visible", "closeable", "close-icon-position", "lock-scroll", "catch-move", "z-index"])) : (openBlock(), createBlock(_component_nut_cascader_item, {
|
|
595
607
|
key: 1,
|
|
596
608
|
"model-value": _ctx.innerValue,
|
|
597
609
|
options: _ctx.options,
|
|
@@ -606,7 +618,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
606
618
|
onPathChange: _ctx.onPathChange
|
|
607
619
|
}, null, 8, ["model-value", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible", "onChange", "onPathChange"]));
|
|
608
620
|
}
|
|
609
|
-
const
|
|
621
|
+
const index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
610
622
|
export {
|
|
611
|
-
|
|
623
|
+
index_taro as default
|
|
612
624
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
1
|
+
import { ref, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, createTextVNode, renderSlot } from "vue";
|
|
2
2
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
3
3
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
4
4
|
const { create } = createComponent("category");
|
|
@@ -12,15 +12,15 @@ const _sfc_main = create({
|
|
|
12
12
|
// 左侧导航栏
|
|
13
13
|
category: {
|
|
14
14
|
type: Array,
|
|
15
|
-
default: []
|
|
15
|
+
default: () => []
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(props, { emit }) {
|
|
19
19
|
const checkIndex = ref(0);
|
|
20
20
|
const categoryLeft = ref(false);
|
|
21
|
-
const getChildList = (
|
|
22
|
-
checkIndex.value =
|
|
23
|
-
emit("change",
|
|
21
|
+
const getChildList = (index) => {
|
|
22
|
+
checkIndex.value = index;
|
|
23
|
+
emit("change", index);
|
|
24
24
|
};
|
|
25
25
|
return {
|
|
26
26
|
getChildList,
|
|
@@ -34,26 +34,27 @@ const _hoisted_2 = { class: "nut-category__cateList" };
|
|
|
34
34
|
const _hoisted_3 = { key: 0 };
|
|
35
35
|
const _hoisted_4 = ["onClick"];
|
|
36
36
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37
|
-
return openBlock(), createElementBlock("
|
|
37
|
+
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
38
38
|
createElementVNode("div", _hoisted_2, [
|
|
39
39
|
_ctx.type == "classify" || _ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
40
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.category, (item,
|
|
40
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.category, (item, index) => {
|
|
41
41
|
return openBlock(), createElementBlock("div", {
|
|
42
|
-
key:
|
|
42
|
+
key: index,
|
|
43
43
|
class: "nut-category__cateListLeft"
|
|
44
44
|
}, [
|
|
45
45
|
createElementVNode("div", {
|
|
46
|
-
class: normalizeClass([_ctx.checkIndex ==
|
|
47
|
-
onClick: ($event) => _ctx.getChildList(
|
|
46
|
+
class: normalizeClass([_ctx.checkIndex == index ? "nut-category__cateListItemChecked" : "nut-category__cateListItem"]),
|
|
47
|
+
onClick: ($event) => _ctx.getChildList(index)
|
|
48
48
|
}, toDisplayString(item.catName), 11, _hoisted_4)
|
|
49
49
|
]);
|
|
50
50
|
}), 128))
|
|
51
51
|
])) : createCommentVNode("", true),
|
|
52
|
+
_cache[0] || (_cache[0] = createTextVNode()),
|
|
52
53
|
renderSlot(_ctx.$slots, "default")
|
|
53
54
|
])
|
|
54
55
|
]);
|
|
55
56
|
}
|
|
56
|
-
const
|
|
57
|
+
const index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
+
index_taro as default
|
|
59
60
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
2
|
-
import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
+
import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createTextVNode, createCommentVNode } from "vue";
|
|
3
3
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
4
4
|
const { create } = createComponent("category-pane");
|
|
5
5
|
const _sfc_main = create({
|
|
@@ -59,11 +59,12 @@ const _hoisted_13 = {
|
|
|
59
59
|
};
|
|
60
60
|
const _hoisted_14 = ["onClick"];
|
|
61
61
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62
|
-
return openBlock(), createElementBlock("
|
|
62
|
+
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
63
63
|
_ctx.type == "classify" ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
64
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item,
|
|
65
|
-
return openBlock(), createElementBlock("div", { key:
|
|
64
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index) => {
|
|
65
|
+
return openBlock(), createElementBlock("div", { key: index }, [
|
|
66
66
|
createElementVNode("div", _hoisted_3, toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
67
|
+
_cache[1] || (_cache[1] = createTextVNode()),
|
|
67
68
|
(item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
68
69
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
|
|
69
70
|
return openBlock(), createElementBlock("div", {
|
|
@@ -75,6 +76,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75
76
|
class: "nut-category-pane__childImg",
|
|
76
77
|
src: sku.backImg
|
|
77
78
|
}, null, 8, _hoisted_6),
|
|
79
|
+
_cache[0] || (_cache[0] = createTextVNode()),
|
|
78
80
|
createElementVNode("div", _hoisted_7, toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
79
81
|
], 8, _hoisted_5);
|
|
80
82
|
}), 128))
|
|
@@ -82,10 +84,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82
84
|
]);
|
|
83
85
|
}), 128))
|
|
84
86
|
])) : createCommentVNode("", true),
|
|
87
|
+
_cache[3] || (_cache[3] = createTextVNode()),
|
|
85
88
|
_ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
86
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item,
|
|
87
|
-
return openBlock(), createElementBlock("div", { key:
|
|
89
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index) => {
|
|
90
|
+
return openBlock(), createElementBlock("div", { key: index }, [
|
|
88
91
|
createElementVNode("div", _hoisted_9, toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
92
|
+
_cache[2] || (_cache[2] = createTextVNode()),
|
|
89
93
|
(item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
90
94
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
|
|
91
95
|
return openBlock(), createElementBlock("div", {
|
|
@@ -100,6 +104,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
100
104
|
]);
|
|
101
105
|
}), 128))
|
|
102
106
|
])) : createCommentVNode("", true),
|
|
107
|
+
_cache[4] || (_cache[4] = createTextVNode()),
|
|
103
108
|
_ctx.type == "custom" ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
104
109
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.customCategory, (sku, key) => {
|
|
105
110
|
return openBlock(), createElementBlock("div", {
|
|
@@ -111,7 +116,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
111
116
|
])) : createCommentVNode("", true)
|
|
112
117
|
]);
|
|
113
118
|
}
|
|
114
|
-
const
|
|
119
|
+
const index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
115
120
|
export {
|
|
116
|
-
|
|
121
|
+
index_taro as default
|
|
117
122
|
};
|
|
@@ -17,10 +17,9 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createCommentVNode, Fragment, createElementVNode, toDisplayString,
|
|
21
|
-
import { u as useRouter } from "../index-aiGQ-EiA.js";
|
|
20
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createCommentVNode, createTextVNode, Fragment, createElementVNode, toDisplayString, createBlock, unref } from "vue";
|
|
22
21
|
import { p as pxCheck } from "../pxCheck-DN6FYV6q.js";
|
|
23
|
-
import { Right } from "@nutui/icons-vue";
|
|
22
|
+
import { Right } from "@nutui/icons-vue-taro";
|
|
24
23
|
import { w as withInstall } from "../with-install-Ch3FF0uS.js";
|
|
25
24
|
const _hoisted_1 = {
|
|
26
25
|
key: 0,
|
|
@@ -35,7 +34,7 @@ const _hoisted_4 = { class: "nut-cell__title-desc" };
|
|
|
35
34
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
36
35
|
name: "NutCell"
|
|
37
36
|
}), {
|
|
38
|
-
__name: "cell",
|
|
37
|
+
__name: "cell.taro",
|
|
39
38
|
props: {
|
|
40
39
|
title: { default: "" },
|
|
41
40
|
subTitle: { default: "" },
|
|
@@ -44,10 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
44
43
|
isLink: { type: Boolean, default: false },
|
|
45
44
|
roundRadius: { default: "" },
|
|
46
45
|
center: { type: Boolean, default: false },
|
|
47
|
-
size: { default: "normal" }
|
|
48
|
-
to: {},
|
|
49
|
-
replace: { type: Boolean, default: false },
|
|
50
|
-
url: { default: "" }
|
|
46
|
+
size: { default: "normal" }
|
|
51
47
|
},
|
|
52
48
|
emits: ["click"],
|
|
53
49
|
setup(__props, { emit: __emit }) {
|
|
@@ -57,12 +53,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
57
53
|
const prefixCls = "nut-cell";
|
|
58
54
|
return {
|
|
59
55
|
[prefixCls]: true,
|
|
60
|
-
[`${prefixCls}--clickable`]: props.isLink
|
|
56
|
+
[`${prefixCls}--clickable`]: props.isLink,
|
|
61
57
|
[`${prefixCls}--center`]: props.center,
|
|
62
58
|
[`${prefixCls}--large`]: props.size === "large"
|
|
63
59
|
};
|
|
64
60
|
});
|
|
65
|
-
const router = useRouter();
|
|
66
61
|
const baseStyle = computed(() => {
|
|
67
62
|
return {
|
|
68
63
|
borderRadius: pxCheck(props.roundRadius)
|
|
@@ -75,11 +70,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
75
70
|
});
|
|
76
71
|
const handleClick = (event) => {
|
|
77
72
|
emit("click", event);
|
|
78
|
-
if (props.to && router) {
|
|
79
|
-
router[props.replace ? "replace" : "push"](props.to);
|
|
80
|
-
} else if (props.url) {
|
|
81
|
-
props.replace ? location.replace(props.url) : location.href = props.url;
|
|
82
|
-
}
|
|
83
73
|
};
|
|
84
74
|
return (_ctx, _cache) => {
|
|
85
75
|
return openBlock(), createElementBlock("view", {
|
|
@@ -91,16 +81,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
91
81
|
_ctx.$slots.icon ? (openBlock(), createElementBlock("view", _hoisted_1, [
|
|
92
82
|
renderSlot(_ctx.$slots, "icon")
|
|
93
83
|
])) : createCommentVNode("", true),
|
|
84
|
+
_cache[1] || (_cache[1] = createTextVNode()),
|
|
94
85
|
_ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2, [
|
|
95
86
|
_ctx.subTitle ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
96
87
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
97
88
|
createElementVNode("view", _hoisted_3, toDisplayString(_ctx.title), 1)
|
|
98
89
|
]),
|
|
90
|
+
_cache[0] || (_cache[0] = createTextVNode()),
|
|
99
91
|
createElementVNode("view", _hoisted_4, toDisplayString(_ctx.subTitle), 1)
|
|
100
92
|
], 64)) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
|
|
101
93
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
102
94
|
])
|
|
103
95
|
])) : createCommentVNode("", true),
|
|
96
|
+
_cache[2] || (_cache[2] = createTextVNode()),
|
|
104
97
|
_ctx.desc || _ctx.$slots.desc ? (openBlock(), createElementBlock("view", {
|
|
105
98
|
key: 2,
|
|
106
99
|
class: normalizeClass(["nut-cell__value", { "nut-cell__value--alone": !_ctx.title && !_ctx.subTitle && !_ctx.$slots.title }]),
|
|
@@ -110,8 +103,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
110
103
|
createTextVNode(toDisplayString(_ctx.desc), 1)
|
|
111
104
|
])
|
|
112
105
|
], 6)) : createCommentVNode("", true),
|
|
106
|
+
_cache[3] || (_cache[3] = createTextVNode()),
|
|
113
107
|
renderSlot(_ctx.$slots, "link", {}, () => [
|
|
114
|
-
_ctx.isLink
|
|
108
|
+
_ctx.isLink ? (openBlock(), createBlock(unref(Right), {
|
|
115
109
|
key: 0,
|
|
116
110
|
class: "nut-cell__link"
|
|
117
111
|
})) : createCommentVNode("", true)
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, openBlock, createElementBlock, renderSlot, toDisplayString, createCommentVNode, createElementVNode } from "vue";
|
|
20
|
+
import { defineComponent, openBlock, createElementBlock, renderSlot, toDisplayString, createCommentVNode, createTextVNode, createElementVNode } from "vue";
|
|
21
21
|
import { w as withInstall } from "../with-install-Ch3FF0uS.js";
|
|
22
22
|
const _hoisted_1 = { class: "nut-cell-group" };
|
|
23
23
|
const _hoisted_2 = {
|
|
@@ -32,7 +32,7 @@ const _hoisted_4 = { class: "nut-cell-group__wrap" };
|
|
|
32
32
|
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
33
33
|
name: "NutCellGroup"
|
|
34
34
|
}), {
|
|
35
|
-
__name: "cell-group",
|
|
35
|
+
__name: "cell-group.taro",
|
|
36
36
|
props: {
|
|
37
37
|
title: { default: "" },
|
|
38
38
|
desc: { default: "" }
|
|
@@ -41,7 +41,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
41
41
|
return (_ctx, _cache) => {
|
|
42
42
|
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
43
43
|
_ctx.$slots.title ? renderSlot(_ctx.$slots, "title", { key: 0 }) : _ctx.title ? (openBlock(), createElementBlock("view", _hoisted_2, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
44
|
+
_cache[0] || (_cache[0] = createTextVNode()),
|
|
44
45
|
_ctx.$slots.desc ? renderSlot(_ctx.$slots, "desc", { key: 2 }) : _ctx.desc ? (openBlock(), createElementBlock("view", _hoisted_3, toDisplayString(_ctx.desc), 1)) : createCommentVNode("", true),
|
|
46
|
+
_cache[1] || (_cache[1] = createTextVNode()),
|
|
45
47
|
createElementVNode("view", _hoisted_4, [
|
|
46
48
|
renderSlot(_ctx.$slots, "default")
|
|
47
49
|
])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toRef, inject, reactive, computed, watch, onMounted, getCurrentInstance, onBeforeUnmount, h } from "vue";
|
|
2
2
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
3
|
-
import { CheckNormal, Checked, CheckDisabled } from "@nutui/icons-vue";
|
|
3
|
+
import { CheckNormal, Checked, CheckDisabled } from "@nutui/icons-vue-taro";
|
|
4
4
|
import { p as pxCheck } from "../pxCheck-DN6FYV6q.js";
|
|
5
5
|
import { C as CHECKBOX_KEY } from "../types-48N1bMrT.js";
|
|
6
6
|
import { u as useFormDisabled } from "../common-BH7uB7Cn.js";
|