@nutui/nutui 4.0.0-beta.3 → 4.0.0-beta.30
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 -940
- package/README.md +1 -1
- package/dist/nutui.es.js +227 -103
- package/dist/nutui.umd.js +7 -0
- package/dist/packages/_es/ActionSheet.js +5 -15
- package/dist/packages/_es/Address.js +11 -13
- package/dist/packages/_es/AddressList.js +168 -245
- package/dist/packages/_es/Animate.js +3 -8
- package/dist/packages/_es/Audio.js +11 -10
- package/dist/packages/_es/AudioOperate.js +4 -8
- package/dist/packages/_es/Avatar.js +5 -8
- package/dist/packages/_es/AvatarGroup.js +4 -8
- package/dist/packages/_es/Backtop.js +4 -9
- package/dist/packages/_es/Badge.js +5 -10
- package/dist/packages/_es/Barrage.js +68 -67
- package/dist/packages/_es/Button.js +3 -8
- package/dist/packages/_es/Calendar.js +17 -22
- package/dist/packages/_es/CalendarItem.js +5 -10
- package/dist/packages/_es/Card.js +10 -22
- package/dist/packages/_es/Cascader.js +20 -14
- package/dist/packages/_es/Category.js +5 -8
- package/dist/packages/_es/CategoryPane.js +6 -8
- package/dist/packages/_es/Cell.js +6 -10
- package/dist/packages/_es/CellGroup.js +3 -8
- package/dist/packages/_es/Checkbox.js +3 -8
- package/dist/packages/_es/CheckboxGroup.js +3 -8
- package/dist/packages/_es/CircleProgress.js +3 -8
- package/dist/packages/_es/Col.js +3 -8
- package/dist/packages/_es/Collapse.js +10 -15
- package/dist/packages/_es/CollapseItem.js +10 -14
- package/dist/packages/_es/Comment.js +25 -27
- package/dist/packages/_es/ConfigProvider.js +38 -11
- package/dist/packages/_es/Countdown.js +11 -8
- package/dist/packages/_es/Countup.js +23 -13
- package/dist/packages/_es/DatePicker.js +7 -10
- package/dist/packages/_es/Dialog.js +24 -31
- package/dist/packages/_es/Divider.js +3 -8
- package/dist/packages/_es/Drag.js +4 -9
- package/dist/packages/_es/Ecard.js +4 -9
- package/dist/packages/_es/Elevator.js +4 -9
- package/dist/packages/_es/Ellipsis.js +6 -11
- package/dist/packages/_es/Empty.js +6 -8
- package/dist/packages/_es/FixedNav.js +3 -8
- package/dist/packages/_es/Form.js +3 -8
- package/dist/packages/_es/FormItem.js +5 -10
- package/dist/packages/_es/Grid.js +4 -9
- package/dist/packages/_es/GridItem.js +7 -11
- package/dist/packages/_es/Image.js +4 -9
- package/dist/packages/_es/ImagePreview.js +25 -34
- package/dist/packages/_es/Indicator.js +3 -8
- package/dist/packages/_es/InfiniteLoading.js +6 -19
- package/dist/packages/_es/Input.js +33 -37
- package/dist/packages/_es/InputNumber.js +9 -14
- package/dist/packages/_es/Invoice.js +10 -13
- package/dist/packages/_es/Layout.js +2 -7
- package/dist/packages/_es/List.js +4 -10
- package/dist/packages/_es/Menu.js +4 -9
- package/dist/packages/_es/MenuItem.js +4 -9
- package/dist/packages/_es/Navbar.js +13 -12
- package/dist/packages/_es/Noticebar.js +27 -23
- package/dist/packages/_es/Notify.js +12 -14
- package/dist/packages/_es/NumberKeyboard.js +6 -11
- package/dist/packages/_es/Overlay.js +14 -13
- package/dist/packages/_es/Pagination.js +3 -8
- package/dist/packages/_es/Picker.js +10 -12
- package/dist/packages/_es/Popover.js +6 -12
- package/dist/packages/_es/Popup.js +3 -8
- package/dist/packages/_es/Price.js +4 -9
- package/dist/packages/_es/Progress.js +42 -44
- package/dist/packages/_es/PullRefresh.js +16 -24
- package/dist/packages/_es/Radio.js +3 -8
- package/dist/packages/_es/RadioGroup.js +2 -7
- package/dist/packages/_es/Range.js +5 -10
- package/dist/packages/_es/Rate.js +25 -29
- package/dist/packages/_es/Row.js +3 -8
- package/dist/packages/_es/Searchbar.js +29 -28
- package/dist/packages/_es/ShortPassword.js +15 -19
- package/dist/packages/_es/SideNavbar.js +3 -8
- package/dist/packages/_es/SideNavbarItem.js +3 -8
- package/dist/packages/_es/Signature.js +15 -9
- package/dist/packages/_es/Skeleton.js +15 -12
- package/dist/packages/_es/Sku.js +38 -20
- package/dist/packages/_es/Step.js +3 -8
- package/dist/packages/_es/Steps.js +2 -7
- package/dist/packages/_es/Sticky.js +3 -8
- package/dist/packages/_es/SubSideNavbar.js +8 -11
- package/dist/packages/_es/Swipe.js +6 -11
- package/dist/packages/_es/Swiper.js +60 -126
- package/dist/packages/_es/SwiperItem.js +4 -9
- package/dist/packages/_es/Switch.js +7 -9
- package/dist/packages/_es/TabPane.js +5 -10
- package/dist/packages/_es/Tabbar.js +3 -8
- package/dist/packages/_es/TabbarItem.js +10 -10
- package/dist/packages/_es/Table.js +92 -100
- package/dist/packages/_es/Tabs.js +23 -26
- package/dist/packages/_es/Tag.js +3 -8
- package/dist/packages/_es/Textarea.js +28 -12
- package/dist/packages/_es/TimeDetail.js +3 -12
- package/dist/packages/_es/TimePannel.js +3 -8
- package/dist/packages/_es/TimeSelect.js +5 -10
- package/dist/packages/_es/Toast.js +18 -17
- package/dist/packages/_es/Tour.js +14 -18
- package/dist/packages/_es/TrendArrow.js +5 -10
- package/dist/packages/_es/Uploader.js +23 -25
- package/dist/packages/_es/Video.js +21 -8
- package/dist/packages/_es/Watermark.js +3 -8
- package/dist/packages/_es/{_plugin-vue_export-helper-681cd9ef.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
- package/dist/packages/_es/{common-3175aa92.js → common-b9a5e726.js} +10 -7
- package/dist/packages/_es/{component-0ea0483c.js → component-81a4c1d0.js} +0 -5
- package/dist/packages/_es/{index-3e9b0a98.js → index-29892cda.js} +0 -5
- package/dist/packages/_es/{index-9755c21a.js → index-2ae3ae87.js} +47 -15
- package/dist/packages/_es/{index-6cd5b878.js → index-43c34ac6.js} +0 -5
- package/dist/packages/_es/{index-16a07d20.js → index-54d03fc1.js} +0 -5
- package/dist/packages/_es/{index-78b85d04.js → index-79c5dc33.js} +0 -5
- package/dist/packages/_es/{index-35bfc69c.js → index-7a7385e4.js} +0 -5
- package/dist/packages/_es/{index-d5c47fab.js → index-991c279f.js} +16 -11
- package/dist/packages/_es/{index.vue_vue_type_script_lang-0eef0ccb.js → index.vue_vue_type_script_lang-22dfc112.js} +3 -7
- package/dist/packages/_es/{index.vue_vue_type_script_lang-3fd73141.js → index.vue_vue_type_script_lang-442e4704.js} +4 -8
- package/dist/packages/_es/{index.vue_vue_type_script_lang-a0678df2.js → index.vue_vue_type_script_lang-cc5c4086.js} +3 -8
- package/dist/packages/_es/{interceptor-0db96410.js → interceptor-956b24fc.js} +1 -6
- package/dist/packages/_es/{mountComponent-34479821.js → mountComponent-1ece4110.js} +1 -6
- package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
- package/dist/packages/_es/{raf-8c45e560.js → raf-729dad54.js} +0 -5
- package/dist/packages/_es/{renderIcon-6bea5078.js → renderIcon-3d0fd47c.js} +0 -5
- package/dist/packages/actionsheet/index.mjs +3 -1
- package/dist/packages/actionsheet/style.mjs +3 -2
- package/dist/packages/address/index.mjs +3 -1
- package/dist/packages/address/style.mjs +4 -3
- package/dist/packages/addresslist/index.mjs +3 -1
- package/dist/packages/addresslist/index.scss +14 -3
- package/dist/packages/addresslist/style.mjs +3 -1
- package/dist/packages/animate/index.mjs +3 -1
- package/dist/packages/animate/style.mjs +1 -0
- package/dist/packages/audio/index.mjs +3 -1
- package/dist/packages/audio/index.scss +1 -1
- package/dist/packages/audio/style.mjs +2 -1
- package/dist/packages/audiooperate/index.mjs +3 -1
- package/dist/packages/audiooperate/style.mjs +2 -1
- package/dist/packages/avatar/index.mjs +3 -1
- package/dist/packages/avatar/index.scss +3 -1
- package/dist/packages/avatar/style.mjs +1 -0
- package/dist/packages/avatargroup/index.mjs +3 -1
- package/dist/packages/avatargroup/index.scss +1 -1
- package/dist/packages/avatargroup/style.mjs +1 -0
- package/dist/packages/backtop/index.mjs +3 -1
- package/dist/packages/backtop/style.mjs +1 -0
- package/dist/packages/badge/index.mjs +3 -1
- package/dist/packages/badge/index.scss +7 -3
- package/dist/packages/badge/style.mjs +1 -0
- package/dist/packages/barrage/index.mjs +3 -1
- package/dist/packages/barrage/index.scss +17 -1
- package/dist/packages/barrage/style.mjs +1 -0
- package/dist/packages/button/index.mjs +3 -1
- package/dist/packages/button/index.scss +63 -1
- package/dist/packages/button/style.mjs +1 -0
- package/dist/packages/calendar/index.mjs +3 -1
- package/dist/packages/calendar/index.scss +14 -5
- package/dist/packages/calendar/style.mjs +4 -3
- package/dist/packages/calendaritem/index.mjs +3 -1
- package/dist/packages/calendaritem/style.mjs +1 -0
- package/dist/packages/card/index.mjs +3 -1
- package/dist/packages/card/style.mjs +3 -2
- package/dist/packages/cascader/index.mjs +3 -1
- package/dist/packages/cascader/style.mjs +6 -5
- package/dist/packages/category/index.mjs +3 -1
- package/dist/packages/category/style.mjs +1 -0
- package/dist/packages/categorypane/index.mjs +3 -1
- package/dist/packages/categorypane/style.mjs +1 -0
- package/dist/packages/cell/index.mjs +3 -1
- package/dist/packages/cell/index.scss +5 -1
- package/dist/packages/cell/style.mjs +1 -0
- package/dist/packages/cellgroup/index.mjs +3 -1
- package/dist/packages/cellgroup/style.mjs +1 -0
- package/dist/packages/checkbox/index.mjs +3 -1
- package/dist/packages/checkbox/style.mjs +1 -0
- package/dist/packages/checkboxgroup/index.mjs +3 -1
- package/dist/packages/checkboxgroup/style.mjs +1 -0
- package/dist/packages/circleprogress/index.mjs +3 -1
- package/dist/packages/circleprogress/style.mjs +1 -0
- package/dist/packages/col/index.mjs +3 -1
- package/dist/packages/col/style.mjs +1 -0
- package/dist/packages/collapse/index.mjs +3 -1
- package/dist/packages/collapse/style.mjs +1 -0
- package/dist/packages/collapseitem/index.mjs +3 -1
- package/dist/packages/collapseitem/style.mjs +1 -0
- package/dist/packages/comment/index.mjs +3 -1
- package/dist/packages/comment/index.scss +12 -7
- package/dist/packages/comment/style.mjs +2 -1
- package/dist/packages/configprovider/index.mjs +3 -1
- package/dist/packages/configprovider/style.mjs +1 -0
- package/dist/packages/countdown/index.mjs +3 -1
- package/dist/packages/countdown/style.mjs +1 -0
- package/dist/packages/countup/index.mjs +3 -1
- package/dist/packages/countup/index.scss +1 -0
- package/dist/packages/countup/style.mjs +1 -0
- package/dist/packages/datepicker/index.mjs +3 -1
- package/dist/packages/datepicker/style.mjs +4 -3
- package/dist/packages/dialog/index.mjs +5 -2
- package/dist/packages/dialog/style.mjs +4 -3
- package/dist/packages/divider/index.mjs +3 -1
- package/dist/packages/divider/style.mjs +1 -0
- package/dist/packages/drag/index.mjs +3 -1
- package/dist/packages/drag/style.mjs +1 -0
- package/dist/packages/ecard/index.mjs +3 -1
- package/dist/packages/ecard/index.scss +20 -2
- package/dist/packages/ecard/style.mjs +2 -1
- package/dist/packages/elevator/index.mjs +3 -1
- package/dist/packages/elevator/index.scss +14 -0
- package/dist/packages/elevator/style.mjs +1 -0
- package/dist/packages/ellipsis/index.mjs +3 -1
- package/dist/packages/ellipsis/style.mjs +1 -0
- package/dist/packages/empty/index.mjs +3 -1
- package/dist/packages/empty/style.mjs +1 -0
- package/dist/packages/fixednav/index.mjs +3 -1
- package/dist/packages/fixednav/style.mjs +2 -1
- package/dist/packages/form/index.mjs +3 -1
- package/dist/packages/form/style.mjs +2 -1
- package/dist/packages/formitem/index.mjs +3 -1
- package/dist/packages/formitem/style.mjs +2 -1
- package/dist/packages/grid/index.mjs +3 -1
- package/dist/packages/grid/style.mjs +1 -0
- package/dist/packages/griditem/index.mjs +3 -1
- package/dist/packages/griditem/style.mjs +1 -0
- package/dist/packages/icon/style.mjs +1 -0
- package/dist/packages/image/index.mjs +3 -1
- package/dist/packages/image/style.mjs +1 -0
- package/dist/packages/imagepreview/index.mjs +5 -2
- package/dist/packages/imagepreview/style.mjs +6 -5
- package/dist/packages/indicator/index.mjs +3 -1
- package/dist/packages/indicator/index.scss +4 -4
- package/dist/packages/indicator/style.mjs +1 -0
- package/dist/packages/infiniteloading/index.mjs +3 -1
- package/dist/packages/infiniteloading/style.mjs +1 -0
- package/dist/packages/input/index.mjs +3 -1
- package/dist/packages/input/index.scss +6 -2
- package/dist/packages/input/style.mjs +1 -0
- package/dist/packages/inputnumber/index.mjs +3 -1
- package/dist/packages/inputnumber/index.scss +5 -1
- package/dist/packages/inputnumber/style.mjs +1 -0
- package/dist/packages/invoice/index.mjs +3 -1
- package/dist/packages/invoice/style.mjs +8 -7
- package/dist/packages/layout/index.mjs +3 -1
- package/dist/packages/layout/style.mjs +1 -0
- package/dist/packages/list/index.mjs +3 -1
- package/dist/packages/list/style.mjs +1 -0
- package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
- package/dist/packages/locale/lang/en-US.js +1 -6
- package/dist/packages/locale/lang/id-ID.js +1 -6
- package/dist/packages/locale/lang/index.js +1 -6
- package/dist/packages/locale/lang/zh-CN.js +2 -7
- package/dist/packages/locale/lang/zh-TW.js +1 -6
- package/dist/packages/menu/index.mjs +3 -1
- package/dist/packages/menu/style.mjs +1 -0
- package/dist/packages/menuitem/index.mjs +3 -1
- package/dist/packages/menuitem/style.mjs +3 -2
- package/dist/packages/navbar/index.mjs +3 -1
- package/dist/packages/navbar/style.mjs +1 -0
- package/dist/packages/noticebar/index.mjs +3 -1
- package/dist/packages/noticebar/index.scss +13 -10
- package/dist/packages/noticebar/style.mjs +1 -0
- package/dist/packages/notify/index.mjs +5 -2
- package/dist/packages/notify/style.mjs +3 -2
- package/dist/packages/numberkeyboard/index.mjs +3 -1
- package/dist/packages/numberkeyboard/style.mjs +3 -2
- package/dist/packages/overlay/index.mjs +3 -1
- package/dist/packages/overlay/style.mjs +1 -0
- package/dist/packages/pagination/index.mjs +3 -1
- package/dist/packages/pagination/style.mjs +1 -0
- package/dist/packages/picker/index.mjs +3 -1
- package/dist/packages/picker/style.mjs +3 -2
- package/dist/packages/popover/index.mjs +3 -1
- package/dist/packages/popover/index.scss +1 -1
- package/dist/packages/popover/style.mjs +3 -2
- package/dist/packages/popup/index.mjs +3 -1
- package/dist/packages/popup/style.mjs +2 -1
- package/dist/packages/price/index.mjs +3 -1
- package/dist/packages/price/style.mjs +1 -0
- package/dist/packages/progress/index.mjs +3 -1
- package/dist/packages/progress/index.scss +8 -6
- package/dist/packages/progress/style.mjs +1 -0
- package/dist/packages/pullrefresh/index.mjs +3 -1
- package/dist/packages/pullrefresh/index.scss +4 -3
- package/dist/packages/pullrefresh/style.mjs +1 -0
- package/dist/packages/radio/index.mjs +3 -1
- package/dist/packages/radio/index.scss +14 -2
- package/dist/packages/radio/style.mjs +1 -0
- package/dist/packages/radiogroup/index.mjs +3 -1
- package/dist/packages/radiogroup/style.mjs +1 -0
- package/dist/packages/range/index.mjs +3 -1
- package/dist/packages/range/index.scss +6 -3
- package/dist/packages/range/style.mjs +1 -0
- package/dist/packages/rate/index.mjs +3 -1
- package/dist/packages/rate/index.scss +5 -4
- package/dist/packages/rate/style.mjs +1 -0
- package/dist/packages/row/index.mjs +3 -1
- package/dist/packages/row/style.mjs +1 -0
- package/dist/packages/searchbar/index.mjs +3 -1
- package/dist/packages/searchbar/index.scss +43 -24
- package/dist/packages/searchbar/style.mjs +1 -0
- package/dist/packages/shortpassword/index.mjs +3 -1
- package/dist/packages/shortpassword/style.mjs +3 -2
- package/dist/packages/sidenavbar/index.mjs +3 -1
- package/dist/packages/sidenavbar/style.mjs +1 -0
- package/dist/packages/sidenavbaritem/index.mjs +3 -1
- package/dist/packages/sidenavbaritem/style.mjs +1 -0
- package/dist/packages/signature/index.mjs +3 -1
- package/dist/packages/signature/index.scss +2 -2
- package/dist/packages/signature/style.mjs +2 -1
- package/dist/packages/skeleton/index.mjs +3 -1
- package/dist/packages/skeleton/style.mjs +2 -1
- package/dist/packages/sku/index.mjs +3 -1
- package/dist/packages/sku/index.scss +16 -2
- package/dist/packages/sku/style.mjs +5 -4
- package/dist/packages/step/index.mjs +3 -1
- package/dist/packages/step/index.scss +1 -9
- package/dist/packages/step/style.mjs +1 -0
- package/dist/packages/steps/index.mjs +3 -1
- package/dist/packages/steps/style.mjs +1 -0
- package/dist/packages/sticky/index.mjs +3 -1
- package/dist/packages/sticky/index.scss +2 -0
- package/dist/packages/sticky/style.mjs +1 -0
- package/dist/packages/subsidenavbar/index.mjs +3 -1
- package/dist/packages/subsidenavbar/style.mjs +1 -0
- package/dist/packages/swipe/index.mjs +3 -1
- package/dist/packages/swipe/style.mjs +1 -0
- package/dist/packages/swiper/index.mjs +3 -1
- package/dist/packages/swiper/style.mjs +1 -0
- package/dist/packages/swiperitem/index.mjs +3 -1
- package/dist/packages/swiperitem/style.mjs +1 -0
- package/dist/packages/switch/index.mjs +3 -1
- package/dist/packages/switch/index.scss +7 -0
- package/dist/packages/switch/style.mjs +1 -0
- package/dist/packages/tabbar/index.mjs +3 -1
- package/dist/packages/tabbar/style.mjs +1 -0
- package/dist/packages/tabbaritem/index.mjs +3 -1
- package/dist/packages/tabbaritem/index.scss +6 -0
- package/dist/packages/tabbaritem/style.mjs +2 -1
- package/dist/packages/table/index.mjs +3 -1
- package/dist/packages/table/style.mjs +1 -0
- package/dist/packages/tabpane/index.mjs +3 -1
- package/dist/packages/tabpane/style.mjs +1 -0
- package/dist/packages/tabs/index.mjs +3 -1
- package/dist/packages/tabs/style.mjs +2 -1
- package/dist/packages/tag/index.mjs +3 -1
- package/dist/packages/tag/style.mjs +1 -0
- package/dist/packages/textarea/index.mjs +3 -1
- package/dist/packages/textarea/index.scss +7 -1
- package/dist/packages/textarea/style.mjs +1 -0
- package/dist/packages/timedetail/index.mjs +3 -1
- package/dist/packages/timedetail/index.scss +14 -6
- package/dist/packages/timedetail/style.mjs +1 -0
- package/dist/packages/timepannel/index.mjs +3 -1
- package/dist/packages/timepannel/style.mjs +1 -0
- package/dist/packages/timeselect/index.mjs +3 -1
- package/dist/packages/timeselect/style.mjs +3 -2
- package/dist/packages/toast/index.mjs +5 -2
- package/dist/packages/toast/style.mjs +1 -0
- package/dist/packages/tour/index.mjs +3 -1
- package/dist/packages/tour/index.scss +3 -0
- package/dist/packages/tour/style.mjs +4 -3
- package/dist/packages/trendarrow/index.mjs +3 -1
- package/dist/packages/trendarrow/style.mjs +1 -0
- package/dist/packages/uploader/index.mjs +3 -1
- package/dist/packages/uploader/index.scss +21 -15
- package/dist/packages/uploader/style.mjs +3 -2
- package/dist/packages/video/index.mjs +3 -1
- package/dist/packages/video/style.mjs +1 -0
- package/dist/packages/watermark/index.mjs +3 -1
- package/dist/packages/watermark/style.mjs +1 -0
- package/dist/smartips/web-types.json +738 -810
- package/dist/style.css +1 -1
- package/dist/styles/reset.css +3 -0
- package/dist/styles/themes/default.scss +53 -55
- package/dist/styles/themes/jdb.scss +53 -54
- package/dist/styles/themes/jddkh.scss +53 -54
- package/dist/styles/themes/jdt.scss +53 -55
- package/dist/styles/variables-jdb.scss +7 -14
- package/dist/styles/variables-jddkh.scss +7 -13
- package/dist/styles/variables-jdt.scss +8 -14
- package/dist/styles/variables.scss +16 -25
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -9
- package/dist/types/__VUE/address/index.vue.d.ts +18 -0
- package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +23 -7
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +2 -2
- package/dist/types/__VUE/addresslist/index.vue.d.ts +6 -6
- package/dist/types/__VUE/barrage/index.vue.d.ts +2 -5
- package/dist/types/__VUE/card/index.vue.d.ts +0 -21
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +2 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
- package/dist/types/__VUE/cascader/types.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +2 -2
- package/dist/types/__VUE/comment/index.vue.d.ts +4 -4
- package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -2
- package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/dialog/index.d.ts +9 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
- package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
- package/dist/types/__VUE/icon/index.vue.d.ts +1 -0
- package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +0 -18
- package/dist/types/__VUE/input/index.vue.d.ts +7 -40
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/noticebar/index.vue.d.ts +8 -22
- package/dist/types/__VUE/notify/index.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +1 -10
- package/dist/types/__VUE/popup/common.d.ts +8 -0
- package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
- package/dist/types/__VUE/popup/props.d.ts +8 -0
- package/dist/types/__VUE/progress/index.vue.d.ts +1 -0
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +0 -9
- package/dist/types/__VUE/rate/index.vue.d.ts +18 -12
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
- package/dist/types/__VUE/steps/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swiper/index.vue.d.ts +9 -17
- package/dist/types/__VUE/table/common.d.ts +9 -9
- package/dist/types/__VUE/table/index.vue.d.ts +13 -11
- package/dist/types/__VUE/table/renderColumn.d.ts +9 -9
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/textarea/index.vue.d.ts +6 -1
- package/dist/types/__VUE/timedetail/index.vue.d.ts +0 -9
- package/dist/types/__VUE/toast/index.d.ts +3 -3
- package/dist/types/__VUE/tour/index.vue.d.ts +10 -10
- package/dist/types/index.d.ts +10 -7
- package/package.json +13 -143
- package/dist/nutui.umd.cjs +0 -20046
- package/dist/packages/_es/Icon.js +0 -12
- package/dist/packages/_es/index.vue_vue_type_script_lang-360a52b6.js +0 -12
- package/dist/packages/_es/pxCheck-c22d207b.js +0 -11
- package/dist/packages/_es/style.css +0 -16
- package/dist/packages/actionsheet/style.cjs +0 -3
- package/dist/packages/address/style.cjs +0 -4
- package/dist/packages/addresslist/style.cjs +0 -2
- package/dist/packages/animate/style.cjs +0 -1
- package/dist/packages/audio/style.cjs +0 -2
- package/dist/packages/audiooperate/style.cjs +0 -2
- package/dist/packages/avatar/style.cjs +0 -1
- package/dist/packages/avatargroup/style.cjs +0 -1
- package/dist/packages/backtop/style.cjs +0 -1
- package/dist/packages/badge/style.cjs +0 -1
- package/dist/packages/barrage/style.cjs +0 -1
- package/dist/packages/button/style.cjs +0 -1
- package/dist/packages/calendar/style.cjs +0 -4
- package/dist/packages/calendaritem/style.cjs +0 -1
- package/dist/packages/card/style.cjs +0 -3
- package/dist/packages/cascader/style.cjs +0 -6
- package/dist/packages/category/style.cjs +0 -1
- package/dist/packages/categorypane/style.cjs +0 -1
- package/dist/packages/cell/style.cjs +0 -1
- package/dist/packages/cellgroup/style.cjs +0 -1
- package/dist/packages/checkbox/style.cjs +0 -1
- package/dist/packages/checkboxgroup/style.cjs +0 -1
- package/dist/packages/circleprogress/style.cjs +0 -1
- package/dist/packages/col/style.cjs +0 -1
- package/dist/packages/collapse/style.cjs +0 -1
- package/dist/packages/collapseitem/style.cjs +0 -1
- package/dist/packages/comment/style.cjs +0 -2
- package/dist/packages/configprovider/style.cjs +0 -1
- package/dist/packages/countdown/style.cjs +0 -1
- package/dist/packages/countup/style.cjs +0 -1
- package/dist/packages/datepicker/style.cjs +0 -4
- package/dist/packages/dialog/style.cjs +0 -4
- package/dist/packages/divider/style.cjs +0 -1
- package/dist/packages/drag/style.cjs +0 -1
- package/dist/packages/ecard/style.cjs +0 -2
- package/dist/packages/elevator/style.cjs +0 -1
- package/dist/packages/ellipsis/style.cjs +0 -1
- package/dist/packages/empty/style.cjs +0 -1
- package/dist/packages/fixednav/style.cjs +0 -2
- package/dist/packages/form/style.cjs +0 -2
- package/dist/packages/formitem/style.cjs +0 -2
- package/dist/packages/grid/style.cjs +0 -1
- package/dist/packages/griditem/style.cjs +0 -1
- package/dist/packages/icon/index.mjs +0 -2
- package/dist/packages/icon/style.cjs +0 -1
- package/dist/packages/image/style.cjs +0 -1
- package/dist/packages/imagepreview/style.cjs +0 -6
- package/dist/packages/indicator/style.cjs +0 -1
- package/dist/packages/infiniteloading/style.cjs +0 -1
- package/dist/packages/input/style.cjs +0 -1
- package/dist/packages/inputnumber/style.cjs +0 -1
- package/dist/packages/invoice/style.cjs +0 -8
- package/dist/packages/layout/style.cjs +0 -1
- package/dist/packages/list/style.cjs +0 -1
- package/dist/packages/locale/lang/baseLang-fae9904b.js +0 -10
- package/dist/packages/menu/style.cjs +0 -1
- package/dist/packages/menuitem/style.cjs +0 -3
- package/dist/packages/navbar/style.cjs +0 -1
- package/dist/packages/noticebar/style.cjs +0 -1
- package/dist/packages/notify/style.cjs +0 -3
- package/dist/packages/numberkeyboard/style.cjs +0 -3
- package/dist/packages/overlay/style.cjs +0 -1
- package/dist/packages/pagination/style.cjs +0 -1
- package/dist/packages/picker/style.cjs +0 -3
- package/dist/packages/popover/style.cjs +0 -3
- package/dist/packages/popup/style.cjs +0 -2
- package/dist/packages/price/style.cjs +0 -1
- package/dist/packages/progress/style.cjs +0 -1
- package/dist/packages/pullrefresh/style.cjs +0 -1
- package/dist/packages/radio/style.cjs +0 -1
- package/dist/packages/radiogroup/style.cjs +0 -1
- package/dist/packages/range/style.cjs +0 -1
- package/dist/packages/rate/style.cjs +0 -1
- package/dist/packages/row/style.cjs +0 -1
- package/dist/packages/searchbar/style.cjs +0 -1
- package/dist/packages/shortpassword/style.cjs +0 -3
- package/dist/packages/sidenavbar/style.cjs +0 -1
- package/dist/packages/sidenavbaritem/style.cjs +0 -1
- package/dist/packages/signature/style.cjs +0 -2
- package/dist/packages/skeleton/style.cjs +0 -2
- package/dist/packages/sku/style.cjs +0 -5
- package/dist/packages/step/style.cjs +0 -1
- package/dist/packages/steps/style.cjs +0 -1
- package/dist/packages/sticky/style.cjs +0 -1
- package/dist/packages/subsidenavbar/style.cjs +0 -1
- package/dist/packages/swipe/style.cjs +0 -1
- package/dist/packages/swiper/style.cjs +0 -1
- package/dist/packages/swiperitem/style.cjs +0 -1
- package/dist/packages/switch/style.cjs +0 -1
- package/dist/packages/tabbar/style.cjs +0 -1
- package/dist/packages/tabbaritem/style.cjs +0 -2
- package/dist/packages/table/style.cjs +0 -1
- package/dist/packages/tabpane/style.cjs +0 -1
- package/dist/packages/tabs/style.cjs +0 -2
- package/dist/packages/tag/style.cjs +0 -1
- package/dist/packages/textarea/style.cjs +0 -1
- package/dist/packages/timedetail/style.cjs +0 -1
- package/dist/packages/timepannel/style.cjs +0 -1
- package/dist/packages/timeselect/style.cjs +0 -3
- package/dist/packages/toast/style.cjs +0 -1
- package/dist/packages/tour/style.cjs +0 -4
- package/dist/packages/trendarrow/style.cjs +0 -1
- package/dist/packages/uploader/style.cjs +0 -3
- package/dist/packages/video/style.cjs +0 -1
- package/dist/packages/watermark/style.cjs +0 -1
- package/dist/smartips/attributes.json +0 -2810
- package/dist/smartips/tags.json +0 -1047
- package/dist/styles/theme-deafult.scss +0 -920
- package/dist/styles/theme-jdt.scss +0 -898
- package/dist/styles/variables-var.scss +0 -854
- package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +0 -26
- package/dist/types/__VUE/configprovider/common.d.ts +0 -20
- package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, reactive, ref, useSlots, toRefs, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import Button from "./Button.js";
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
import "@nutui/icons-vue";
|
|
12
7
|
const { componentName, create, translate } = createComponent("audio-operate");
|
|
13
|
-
const _sfc_main =
|
|
8
|
+
const _sfc_main = create({
|
|
14
9
|
props: {
|
|
10
|
+
// 展示的形式 back 倒退 play 开始 or 暂停 forward 快进 mute 静音
|
|
15
11
|
type: {
|
|
16
12
|
type: String,
|
|
17
13
|
default: () => "play"
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, inject, ref, reactive, onMounted, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, createCommentVNode, Fragment, createTextVNode, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("avatar");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
8
|
size: {
|
|
14
9
|
type: String,
|
|
@@ -38,7 +33,9 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
38
33
|
const state = reactive({
|
|
39
34
|
index: 1,
|
|
40
35
|
showMax: false,
|
|
36
|
+
// 是否显示的最大头像个数
|
|
41
37
|
maxIndex: 0
|
|
38
|
+
// avatarGroup里的avatar的个数
|
|
42
39
|
});
|
|
43
40
|
onMounted(() => {
|
|
44
41
|
var _a, _b;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, ref, computed, onMounted, provide, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("avatar-group");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
8
|
maxContent: {
|
|
14
9
|
type: String,
|
|
@@ -62,6 +57,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
62
57
|
});
|
|
63
58
|
return {
|
|
64
59
|
classes,
|
|
60
|
+
// styles,
|
|
65
61
|
avatarGroupRef
|
|
66
62
|
};
|
|
67
63
|
}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, onMounted, onUnmounted, onActivated, onDeactivated, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, withModifiers, renderSlot, createVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { r as requestAniFrame, c as cancelRaf } from "./raf-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { r as requestAniFrame, c as cancelRaf } from "./raf-729dad54.js";
|
|
9
4
|
import { Top } from "@nutui/icons-vue";
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
7
|
const { componentName, create } = createComponent("backtop");
|
|
13
|
-
const _sfc_main =
|
|
8
|
+
const _sfc_main = create({
|
|
14
9
|
components: {
|
|
15
10
|
Top
|
|
16
11
|
},
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, openBlock, createElementBlock, withDirectives, createElementVNode, normalizeStyle, renderSlot, vShow, toDisplayString, normalizeClass } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { create } = createComponent("badge");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
8
|
value: {
|
|
14
9
|
type: [String, Number]
|
|
@@ -77,9 +72,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
77
72
|
class: "nut-badge__icon",
|
|
78
73
|
style: normalizeStyle(_ctx.stl)
|
|
79
74
|
}, [
|
|
80
|
-
renderSlot(_ctx.$slots, "
|
|
75
|
+
renderSlot(_ctx.$slots, "icon")
|
|
81
76
|
], 4), [
|
|
82
|
-
[vShow, !_ctx.hidden && !_ctx.dot]
|
|
77
|
+
[vShow, !_ctx.hidden && !_ctx.dot && _ctx.$slots.icon]
|
|
83
78
|
]),
|
|
84
79
|
renderSlot(_ctx.$slots, "default"),
|
|
85
80
|
withDirectives(createElementVNode("view", {
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { useSlots, computed, ref, onMounted, onUnmounted, onDeactivated, watch, nextTick, useCssVars, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-0ea0483c.js";
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-681cd9ef.js";
|
|
1
|
+
import { useSlots, computed, ref, onMounted, onUnmounted, watch, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from "vue";
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("barrage");
|
|
11
|
-
const
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
name: "barrage",
|
|
13
8
|
props: {
|
|
14
9
|
danmu: {
|
|
@@ -36,8 +31,7 @@ const __default__ = /* @__PURE__ */ create({
|
|
|
36
31
|
default: true
|
|
37
32
|
}
|
|
38
33
|
},
|
|
39
|
-
|
|
40
|
-
setup(props, { slots }) {
|
|
34
|
+
setup(props) {
|
|
41
35
|
const classTime = new Date().getTime();
|
|
42
36
|
const slotDefault = !!useSlots().default;
|
|
43
37
|
const classes = computed(() => {
|
|
@@ -56,34 +50,58 @@ const __default__ = /* @__PURE__ */ create({
|
|
|
56
50
|
const speeds = props.speeds;
|
|
57
51
|
const danmuCWidth = ref(0);
|
|
58
52
|
onMounted(() => {
|
|
59
|
-
|
|
60
|
-
danmuCWidth.value = dmBody.value.offsetWidth;
|
|
53
|
+
init();
|
|
61
54
|
if (slotDefault) {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
danmuList.value = dmList;
|
|
55
|
+
document.addEventListener("visibilitychange", function() {
|
|
56
|
+
if (document.visibilityState === "hidden") {
|
|
57
|
+
clearTime();
|
|
58
|
+
index2.value = 0;
|
|
59
|
+
eleSlot("hidden");
|
|
60
|
+
} else if (document.visibilityState === "visible") {
|
|
61
|
+
init();
|
|
62
|
+
}
|
|
63
|
+
});
|
|
72
64
|
}
|
|
73
|
-
setTimeout(() => {
|
|
74
|
-
run();
|
|
75
|
-
}, 300);
|
|
76
65
|
});
|
|
77
66
|
onUnmounted(() => {
|
|
78
67
|
danmuList.value = [];
|
|
79
|
-
|
|
80
|
-
timer = 0;
|
|
68
|
+
clearTime();
|
|
81
69
|
});
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
70
|
+
const init = () => {
|
|
71
|
+
danmuCWidth.value = dmBody.value.offsetWidth;
|
|
72
|
+
if (slotDefault) {
|
|
73
|
+
eleSlot("init");
|
|
74
|
+
}
|
|
75
|
+
setTimeout(() => {
|
|
76
|
+
var _a;
|
|
77
|
+
(_a = dmBody.value) == null ? void 0 : _a.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
|
|
78
|
+
run();
|
|
79
|
+
}, 300);
|
|
80
|
+
};
|
|
81
|
+
const eleSlot = (flag) => {
|
|
82
|
+
var _a;
|
|
83
|
+
const list = document.getElementsByClassName("slotBody" + classTime);
|
|
84
|
+
let childrens = ((_a = list == null ? void 0 : list[0]) == null ? void 0 : _a.children) || [];
|
|
85
|
+
const dmList = [];
|
|
86
|
+
if (childrens) {
|
|
87
|
+
Array.from(childrens).forEach((item) => {
|
|
88
|
+
if (flag == "init") {
|
|
89
|
+
item.style.opacity = "0";
|
|
90
|
+
dmList.push(item);
|
|
91
|
+
} else {
|
|
92
|
+
item.classList = "";
|
|
93
|
+
item.style = {};
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
if (flag == "init") {
|
|
98
|
+
danmuList.value = dmList;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const clearTime = () => {
|
|
102
|
+
clearTimeout(timer);
|
|
85
103
|
timer = 0;
|
|
86
|
-
}
|
|
104
|
+
};
|
|
87
105
|
watch(
|
|
88
106
|
() => props.danmu,
|
|
89
107
|
(newValue) => {
|
|
@@ -101,16 +119,13 @@ const __default__ = /* @__PURE__ */ create({
|
|
|
101
119
|
}
|
|
102
120
|
};
|
|
103
121
|
const run = () => {
|
|
104
|
-
|
|
105
|
-
timer =
|
|
106
|
-
timer = setInterval(() => {
|
|
122
|
+
clearTime();
|
|
123
|
+
timer = setTimeout(() => {
|
|
107
124
|
play();
|
|
108
|
-
run();
|
|
109
125
|
}, props.frequency);
|
|
110
126
|
};
|
|
111
|
-
const distance = ref("0");
|
|
112
127
|
const play = () => {
|
|
113
|
-
var _a
|
|
128
|
+
var _a;
|
|
114
129
|
if (!props.loop && index2.value >= danmuList.value.length) {
|
|
115
130
|
return;
|
|
116
131
|
}
|
|
@@ -118,13 +133,7 @@ const __default__ = /* @__PURE__ */ create({
|
|
|
118
133
|
let el = document.createElement(`view`);
|
|
119
134
|
if (slotDefault && typeof danmuList.value[_index] == "object") {
|
|
120
135
|
el = danmuList.value[_index];
|
|
121
|
-
|
|
122
|
-
el.classList.remove("nut-barrage__item");
|
|
123
|
-
}
|
|
124
|
-
if ((_b = el == null ? void 0 : el.classList) == null ? void 0 : _b.contains("move")) {
|
|
125
|
-
el.classList.remove("move");
|
|
126
|
-
}
|
|
127
|
-
(_c = el == null ? void 0 : el.classList) == null ? void 0 : _c.add("nut-barrage__item");
|
|
136
|
+
(_a = el == null ? void 0 : el.classList) == null ? void 0 : _a.add("nut-barrage__item");
|
|
128
137
|
} else {
|
|
129
138
|
el.innerHTML = danmuList.value[_index];
|
|
130
139
|
el.classList.add("nut-barrage__item");
|
|
@@ -141,33 +150,25 @@ const __default__ = /* @__PURE__ */ create({
|
|
|
141
150
|
const width = el.offsetWidth;
|
|
142
151
|
el.style.width = width + 20 + "px";
|
|
143
152
|
}
|
|
144
|
-
el.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
index2.value++;
|
|
149
|
-
} else {
|
|
150
|
-
el.addEventListener("animationend", () => {
|
|
153
|
+
el.addEventListener("animationend", () => {
|
|
154
|
+
if (slotDefault) {
|
|
155
|
+
el.classList.remove("move");
|
|
156
|
+
} else {
|
|
151
157
|
dmContainer.value.removeChild(el);
|
|
152
|
-
}
|
|
153
|
-
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
index2.value++;
|
|
161
|
+
if (index2.value >= danmuList.value.length) {
|
|
162
|
+
index2.value = 0;
|
|
154
163
|
}
|
|
164
|
+
el.removeEventListener("animationend", () => {
|
|
165
|
+
});
|
|
166
|
+
run();
|
|
155
167
|
});
|
|
156
168
|
};
|
|
157
|
-
return { classTime, classes, danmuList, dmBody, dmContainer, add
|
|
169
|
+
return { classTime, classes, danmuList, dmBody, dmContainer, add };
|
|
158
170
|
}
|
|
159
171
|
});
|
|
160
|
-
const __injectCSSVars__ = () => {
|
|
161
|
-
useCssVars((_ctx) => ({
|
|
162
|
-
"47b937d5": _ctx.distance
|
|
163
|
-
}));
|
|
164
|
-
};
|
|
165
|
-
const __setup__ = __default__.setup;
|
|
166
|
-
__default__.setup = __setup__ ? (props, ctx) => {
|
|
167
|
-
__injectCSSVars__();
|
|
168
|
-
return __setup__(props, ctx);
|
|
169
|
-
} : __injectCSSVars__;
|
|
170
|
-
const index_vue_vue_type_style_index_0_lang = "";
|
|
171
172
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
172
173
|
return openBlock(), createElementBlock("div", {
|
|
173
174
|
ref: "dmBody",
|
|
@@ -186,7 +187,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
186
187
|
], 2)
|
|
187
188
|
], 2);
|
|
188
189
|
}
|
|
189
|
-
const index = /* @__PURE__ */ _export_sfc(
|
|
190
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
190
191
|
export {
|
|
191
192
|
index as default
|
|
192
193
|
};
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Loading } from "@nutui/icons-vue";
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
const { componentName, create } = createComponent("button");
|
|
12
|
-
const _sfc_main =
|
|
7
|
+
const _sfc_main = create({
|
|
13
8
|
components: { Loading },
|
|
14
9
|
props: {
|
|
15
10
|
color: String,
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, ref, resolveComponent, openBlock, createBlock, withCtx, createSlots, renderSlot, createCommentVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { C as CalendarItem, U as Utils } from "./index-
|
|
9
|
-
import { P as Popup } from "./index-
|
|
10
|
-
import { u as useExpose } from "./index-
|
|
11
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { C as CalendarItem, U as Utils } from "./index-2ae3ae87.js";
|
|
4
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
5
|
+
import { u as useExpose } from "./index-79c5dc33.js";
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
|
-
import "./raf-
|
|
8
|
+
import "./raf-729dad54.js";
|
|
14
9
|
import "./Overlay.js";
|
|
15
10
|
import "@nutui/icons-vue";
|
|
16
11
|
const { create } = createComponent("calendar");
|
|
17
|
-
const _sfc_main =
|
|
12
|
+
const _sfc_main = create({
|
|
18
13
|
components: {
|
|
19
14
|
[CalendarItem.name]: CalendarItem,
|
|
20
15
|
[Popup.name]: Popup
|
|
@@ -91,13 +86,13 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
91
86
|
return slots.btn;
|
|
92
87
|
});
|
|
93
88
|
const topInfo = computed(() => {
|
|
94
|
-
return slots
|
|
89
|
+
return slots["top-info"];
|
|
95
90
|
});
|
|
96
91
|
const dayInfo = computed(() => {
|
|
97
92
|
return slots.day;
|
|
98
93
|
});
|
|
99
94
|
const bottomInfo = computed(() => {
|
|
100
|
-
return slots
|
|
95
|
+
return slots["bottom-info"];
|
|
101
96
|
});
|
|
102
97
|
const calendarRef = ref(null);
|
|
103
98
|
const scrollToDate = (date) => {
|
|
@@ -194,18 +189,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
194
189
|
key: "1"
|
|
195
190
|
} : void 0,
|
|
196
191
|
_ctx.topInfo ? {
|
|
197
|
-
name: "
|
|
192
|
+
name: "top-info",
|
|
198
193
|
fn: withCtx((date) => [
|
|
199
|
-
renderSlot(_ctx.$slots, "
|
|
194
|
+
renderSlot(_ctx.$slots, "top-info", {
|
|
200
195
|
date: date.date
|
|
201
196
|
})
|
|
202
197
|
]),
|
|
203
198
|
key: "2"
|
|
204
199
|
} : void 0,
|
|
205
200
|
_ctx.bottomInfo ? {
|
|
206
|
-
name: "
|
|
201
|
+
name: "bottom-info",
|
|
207
202
|
fn: withCtx((date) => [
|
|
208
|
-
renderSlot(_ctx.$slots, "
|
|
203
|
+
renderSlot(_ctx.$slots, "bottom-info", {
|
|
209
204
|
date: date.date
|
|
210
205
|
})
|
|
211
206
|
]),
|
|
@@ -254,18 +249,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
254
249
|
key: "1"
|
|
255
250
|
} : void 0,
|
|
256
251
|
_ctx.topInfo ? {
|
|
257
|
-
name: "
|
|
252
|
+
name: "top-info",
|
|
258
253
|
fn: withCtx((date) => [
|
|
259
|
-
renderSlot(_ctx.$slots, "
|
|
254
|
+
renderSlot(_ctx.$slots, "top-info", {
|
|
260
255
|
date: date.date
|
|
261
256
|
})
|
|
262
257
|
]),
|
|
263
258
|
key: "2"
|
|
264
259
|
} : void 0,
|
|
265
260
|
_ctx.bottomInfo ? {
|
|
266
|
-
name: "
|
|
261
|
+
name: "bottom-info",
|
|
267
262
|
fn: withCtx((date) => [
|
|
268
|
-
renderSlot(_ctx.$slots, "
|
|
263
|
+
renderSlot(_ctx.$slots, "bottom-info", {
|
|
269
264
|
date: date.date
|
|
270
265
|
})
|
|
271
266
|
]),
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { C } from "./index-9755c21a.js";
|
|
1
|
+
import { C } from "./index-2ae3ae87.js";
|
|
7
2
|
import "vue";
|
|
8
|
-
import "./_plugin-vue_export-helper-
|
|
9
|
-
import "./component-
|
|
3
|
+
import "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
4
|
+
import "./component-81a4c1d0.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
|
-
import "./raf-
|
|
12
|
-
import "./index-
|
|
6
|
+
import "./raf-729dad54.js";
|
|
7
|
+
import "./index-79c5dc33.js";
|
|
13
8
|
export {
|
|
14
9
|
C as default
|
|
15
10
|
};
|
|
@@ -1,49 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-0ea0483c.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot, createBlock, createCommentVNode, Fragment, createVNode, withCtx, createTextVNode } from "vue";
|
|
8
3
|
import Price from "./Price.js";
|
|
9
4
|
import Tag from "./Tag.js";
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
7
|
import "@nutui/icons-vue";
|
|
13
8
|
const { create } = createComponent("card");
|
|
14
|
-
const _sfc_main =
|
|
9
|
+
const _sfc_main = create({
|
|
15
10
|
components: {
|
|
16
11
|
[Price.name]: Price,
|
|
17
12
|
[Tag.name]: Tag
|
|
18
13
|
},
|
|
19
14
|
props: {
|
|
20
15
|
imgUrl: {
|
|
21
|
-
type: String
|
|
22
|
-
default: ""
|
|
16
|
+
type: String
|
|
23
17
|
},
|
|
24
18
|
title: {
|
|
25
|
-
type: String
|
|
26
|
-
default: ""
|
|
19
|
+
type: String
|
|
27
20
|
},
|
|
28
21
|
price: {
|
|
29
|
-
type: String
|
|
30
|
-
default: ""
|
|
22
|
+
type: String
|
|
31
23
|
},
|
|
32
24
|
vipPrice: {
|
|
33
|
-
type: String
|
|
34
|
-
default: ""
|
|
25
|
+
type: String
|
|
35
26
|
},
|
|
36
27
|
shopDesc: {
|
|
37
|
-
type: String
|
|
38
|
-
default: ""
|
|
28
|
+
type: String
|
|
39
29
|
},
|
|
40
30
|
delivery: {
|
|
41
|
-
type: String
|
|
42
|
-
default: ""
|
|
31
|
+
type: String
|
|
43
32
|
},
|
|
44
33
|
shopName: {
|
|
45
|
-
type: String
|
|
46
|
-
default: ""
|
|
34
|
+
type: String
|
|
47
35
|
},
|
|
48
36
|
isNeedPrice: {
|
|
49
37
|
type: Boolean,
|
|
@@ -4,18 +4,18 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
/*!
|
|
8
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
9
|
-
* (c) 2022 @jdf2e.
|
|
10
|
-
* Released under the MIT License.
|
|
11
|
-
*/
|
|
12
7
|
import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
13
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
14
|
-
import { c as createComponent } from "./component-
|
|
8
|
+
import { P as Popup, p as popupProps } from "./index-991c279f.js";
|
|
9
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
15
10
|
import { Loading, Checklist } from "@nutui/icons-vue";
|
|
16
|
-
import
|
|
11
|
+
import Tabs from "./Tabs.js";
|
|
12
|
+
import TabPane from "./TabPane.js";
|
|
13
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
17
14
|
import "./Overlay.js";
|
|
18
15
|
import "../locale/lang";
|
|
16
|
+
import "./pxCheck-c6b9f6b7.js";
|
|
17
|
+
import "./index-29892cda.js";
|
|
18
|
+
import "./index.vue_vue_type_script_lang-cc5c4086.js";
|
|
19
19
|
const formatTree = (tree, parent, config) => tree.map((node) => {
|
|
20
20
|
const { value: valueKey = "value", text: textKey = "text", children: childrenKey = "children" } = config;
|
|
21
21
|
const { [valueKey]: value, [textKey]: text, [childrenKey]: children, ...others } = node;
|
|
@@ -98,6 +98,7 @@ class Tree {
|
|
|
98
98
|
parent.children = formatTree(nodes, parent, this.config);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
+
// for test
|
|
101
102
|
getNodeByValue(value) {
|
|
102
103
|
let foundNode;
|
|
103
104
|
eachTree(this.nodes, (node) => {
|
|
@@ -139,8 +140,13 @@ class Tree {
|
|
|
139
140
|
}
|
|
140
141
|
}
|
|
141
142
|
const { create: create$1, translate } = createComponent("cascader-item");
|
|
142
|
-
const _sfc_main$1 =
|
|
143
|
-
components: {
|
|
143
|
+
const _sfc_main$1 = create$1({
|
|
144
|
+
components: {
|
|
145
|
+
Loading,
|
|
146
|
+
Checklist,
|
|
147
|
+
[Tabs.name]: Tabs,
|
|
148
|
+
[TabPane.name]: TabPane
|
|
149
|
+
},
|
|
144
150
|
props: {
|
|
145
151
|
visible: Boolean,
|
|
146
152
|
modelValue: Array,
|
|
@@ -284,6 +290,7 @@ const _sfc_main$1 = /* @__PURE__ */ create$1({
|
|
|
284
290
|
emit("update:modelValue", emitValue, pathNodes);
|
|
285
291
|
};
|
|
286
292
|
const methods = {
|
|
293
|
+
// 选中一个节点,静默模式不触发事件
|
|
287
294
|
async handleNode(node, silent) {
|
|
288
295
|
const { disabled, loading } = node;
|
|
289
296
|
if (!silent && disabled || !panes.value[tabsCursor.value]) {
|
|
@@ -434,7 +441,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
434
441
|
}
|
|
435
442
|
const CascaderItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
436
443
|
const { create } = createComponent("cascader");
|
|
437
|
-
const _sfc_main =
|
|
444
|
+
const _sfc_main = create({
|
|
438
445
|
components: {
|
|
439
446
|
[CascaderItem.name]: CascaderItem,
|
|
440
447
|
[Popup.name]: Popup
|
|
@@ -515,8 +522,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
515
522
|
position: "bottom",
|
|
516
523
|
"pop-class": "nut-cascader__popup",
|
|
517
524
|
round: "",
|
|
518
|
-
closeable:
|
|
519
|
-
"close-icon": _ctx.closeIcon,
|
|
525
|
+
closeable: _ctx.closeable,
|
|
520
526
|
"destroy-on-close": false,
|
|
521
527
|
"close-icon-position": _ctx.closeIconPosition
|
|
522
528
|
}, {
|
|
@@ -541,7 +547,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
541
547
|
}, null, 8, ["onChange", "onPathChange", "modelValue", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible"])
|
|
542
548
|
]),
|
|
543
549
|
_: 1
|
|
544
|
-
}, 8, ["visible", "closeable", "close-icon
|
|
550
|
+
}, 8, ["visible", "closeable", "close-icon-position"])) : (openBlock(), createBlock(_component_nut_cascader_item, {
|
|
545
551
|
key: 1,
|
|
546
552
|
onChange: _ctx.onChange,
|
|
547
553
|
onPathChange: _ctx.onPathChange,
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("category");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
8
|
+
//分类模式
|
|
13
9
|
type: {
|
|
14
10
|
type: String,
|
|
15
11
|
default: "classify"
|
|
16
12
|
},
|
|
13
|
+
//左侧导航栏
|
|
17
14
|
category: {
|
|
18
15
|
type: Array,
|
|
19
16
|
default: []
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-0ea0483c.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("category-pane");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
8
|
+
//分类模式
|
|
13
9
|
type: {
|
|
14
10
|
type: String,
|
|
15
11
|
default: "classify"
|
|
16
12
|
},
|
|
13
|
+
//右侧导航数据
|
|
17
14
|
categoryChild: {
|
|
18
15
|
type: Array,
|
|
19
16
|
default: () => []
|
|
20
17
|
},
|
|
18
|
+
//模式传入自定义数据
|
|
21
19
|
customCategory: {
|
|
22
20
|
type: Array,
|
|
23
21
|
default: () => []
|