@nutui/nutui 4.0.0-beta.2 → 4.0.0-beta.20
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/README.md +1 -1
- package/dist/nutui.es.js +227 -103
- package/dist/nutui.umd.js +7 -0
- package/dist/packages/_es/ActionSheet.js +4 -14
- package/dist/packages/_es/Address.js +7 -9
- package/dist/packages/_es/AddressList.js +156 -233
- package/dist/packages/_es/Animate.js +2 -7
- package/dist/packages/_es/Audio.js +10 -9
- package/dist/packages/_es/AudioOperate.js +3 -7
- package/dist/packages/_es/Avatar.js +4 -7
- package/dist/packages/_es/AvatarGroup.js +3 -7
- package/dist/packages/_es/Backtop.js +3 -8
- package/dist/packages/_es/Badge.js +2 -7
- package/dist/packages/_es/Barrage.js +31 -54
- package/dist/packages/_es/Button.js +2 -7
- package/dist/packages/_es/Calendar.js +6 -11
- package/dist/packages/_es/CalendarItem.js +5 -10
- package/dist/packages/_es/Card.js +9 -21
- package/dist/packages/_es/Cascader.js +17 -11
- package/dist/packages/_es/Category.js +4 -7
- package/dist/packages/_es/CategoryPane.js +5 -7
- package/dist/packages/_es/Cell.js +5 -9
- package/dist/packages/_es/CellGroup.js +2 -7
- package/dist/packages/_es/Checkbox.js +2 -7
- package/dist/packages/_es/CheckboxGroup.js +2 -7
- package/dist/packages/_es/CircleProgress.js +2 -7
- package/dist/packages/_es/Col.js +2 -7
- package/dist/packages/_es/Collapse.js +9 -14
- package/dist/packages/_es/CollapseItem.js +7 -11
- package/dist/packages/_es/Comment.js +24 -24
- package/dist/packages/_es/ConfigProvider.js +38 -11
- package/dist/packages/_es/Countdown.js +10 -7
- package/dist/packages/_es/Countup.js +22 -12
- package/dist/packages/_es/DatePicker.js +6 -9
- package/dist/packages/_es/Dialog.js +23 -30
- package/dist/packages/_es/Divider.js +2 -7
- package/dist/packages/_es/Drag.js +3 -8
- package/dist/packages/_es/Ecard.js +3 -8
- package/dist/packages/_es/Elevator.js +3 -8
- package/dist/packages/_es/Ellipsis.js +4 -7
- package/dist/packages/_es/Empty.js +5 -7
- package/dist/packages/_es/FixedNav.js +2 -7
- package/dist/packages/_es/Form.js +2 -7
- package/dist/packages/_es/FormItem.js +4 -9
- package/dist/packages/_es/Grid.js +3 -8
- package/dist/packages/_es/GridItem.js +6 -10
- package/dist/packages/_es/Image.js +3 -8
- package/dist/packages/_es/ImagePreview.js +23 -32
- package/dist/packages/_es/Indicator.js +2 -7
- package/dist/packages/_es/InfiniteLoading.js +4 -17
- package/dist/packages/_es/Input.js +32 -36
- package/dist/packages/_es/InputNumber.js +3 -8
- package/dist/packages/_es/Invoice.js +9 -12
- package/dist/packages/_es/Layout.js +1 -6
- package/dist/packages/_es/List.js +3 -9
- package/dist/packages/_es/Menu.js +3 -8
- package/dist/packages/_es/MenuItem.js +3 -8
- package/dist/packages/_es/Navbar.js +8 -7
- package/dist/packages/_es/Noticebar.js +17 -17
- package/dist/packages/_es/Notify.js +11 -13
- package/dist/packages/_es/NumberKeyboard.js +5 -10
- package/dist/packages/_es/Overlay.js +3 -8
- package/dist/packages/_es/Pagination.js +2 -7
- package/dist/packages/_es/Picker.js +8 -10
- package/dist/packages/_es/Popover.js +5 -11
- package/dist/packages/_es/Popup.js +3 -8
- package/dist/packages/_es/Price.js +3 -8
- package/dist/packages/_es/Progress.js +13 -14
- package/dist/packages/_es/PullRefresh.js +15 -23
- package/dist/packages/_es/Radio.js +3 -8
- package/dist/packages/_es/RadioGroup.js +2 -7
- package/dist/packages/_es/Range.js +4 -9
- package/dist/packages/_es/Rate.js +22 -26
- package/dist/packages/_es/Row.js +2 -7
- package/dist/packages/_es/Searchbar.js +7 -11
- package/dist/packages/_es/ShortPassword.js +14 -18
- package/dist/packages/_es/SideNavbar.js +2 -7
- package/dist/packages/_es/SideNavbarItem.js +2 -7
- package/dist/packages/_es/Signature.js +14 -8
- package/dist/packages/_es/Skeleton.js +14 -11
- package/dist/packages/_es/Sku.js +28 -9
- package/dist/packages/_es/Step.js +2 -7
- package/dist/packages/_es/Steps.js +1 -6
- package/dist/packages/_es/Sticky.js +3 -8
- package/dist/packages/_es/SubSideNavbar.js +7 -10
- package/dist/packages/_es/Swipe.js +5 -10
- package/dist/packages/_es/Swiper.js +59 -125
- package/dist/packages/_es/SwiperItem.js +3 -8
- package/dist/packages/_es/Switch.js +3 -8
- package/dist/packages/_es/TabPane.js +4 -9
- package/dist/packages/_es/Tabbar.js +2 -7
- package/dist/packages/_es/TabbarItem.js +17 -32
- package/dist/packages/_es/Table.js +2 -7
- package/dist/packages/_es/Tabs.js +20 -23
- package/dist/packages/_es/Tag.js +2 -7
- package/dist/packages/_es/Textarea.js +3 -7
- package/dist/packages/_es/TimeDetail.js +2 -11
- package/dist/packages/_es/TimePannel.js +2 -7
- package/dist/packages/_es/TimeSelect.js +4 -9
- package/dist/packages/_es/Toast.js +17 -16
- package/dist/packages/_es/Tour.js +11 -15
- package/dist/packages/_es/TrendArrow.js +2 -7
- package/dist/packages/_es/Uploader.js +5 -8
- package/dist/packages/_es/Video.js +20 -7
- package/dist/packages/_es/Watermark.js +2 -7
- package/dist/packages/_es/{_plugin-vue_export-helper-6eba1fc2.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
- package/dist/packages/_es/{common-7e43c968.js → common-b9a5e726.js} +10 -7
- package/dist/packages/_es/{component-1a609d46.js → component-81a4c1d0.js} +0 -5
- package/dist/packages/_es/{index-84decee6.js → index-29892cda.js} +0 -5
- package/dist/packages/_es/{index-80fa48bb.js → index-43c34ac6.js} +0 -5
- package/dist/packages/_es/{index-0a179fe8.js → index-54d03fc1.js} +0 -5
- package/dist/packages/_es/{index-ea36cedc.js → index-79c5dc33.js} +0 -5
- package/dist/packages/_es/{index-0bea707c.js → index-7a7385e4.js} +0 -5
- package/dist/packages/_es/{index-db2c2975.js → index-af79da1a.js} +14 -9
- package/dist/packages/_es/{index-4ccf62e1.js → index-f3a722c9.js} +42 -10
- package/dist/packages/_es/{index.vue_vue_type_script_lang-20115c0e.js → index.vue_vue_type_script_lang-22dfc112.js} +2 -6
- package/dist/packages/_es/{index.vue_vue_type_script_lang-7c0c1b1c.js → index.vue_vue_type_script_lang-442e4704.js} +3 -7
- package/dist/packages/_es/{index.vue_vue_type_script_lang-2e585483.js → index.vue_vue_type_script_lang-cc5c4086.js} +2 -7
- package/dist/packages/_es/{interceptor-0a3b15e4.js → interceptor-956b24fc.js} +1 -6
- package/dist/packages/_es/{mountComponent-add1c908.js → mountComponent-1ece4110.js} +1 -6
- package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
- package/dist/packages/_es/{raf-7bf556c1.js → raf-729dad54.js} +0 -5
- package/dist/packages/_es/{renderIcon-ff803dcd.js → renderIcon-3d0fd47c.js} +0 -5
- package/dist/packages/actionsheet/index.mjs +3 -1
- package/dist/packages/actionsheet/style.mjs +4 -2
- package/dist/packages/address/index.mjs +3 -1
- package/dist/packages/address/style.mjs +6 -3
- package/dist/packages/addresslist/index.mjs +3 -1
- package/dist/packages/addresslist/index.scss +14 -3
- package/dist/packages/addresslist/style.mjs +4 -1
- package/dist/packages/animate/index.mjs +3 -1
- 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/avatargroup/index.mjs +3 -1
- package/dist/packages/avatargroup/index.scss +1 -1
- package/dist/packages/backtop/index.mjs +3 -1
- package/dist/packages/badge/index.mjs +3 -1
- package/dist/packages/badge/index.scss +2 -2
- package/dist/packages/barrage/index.mjs +3 -1
- package/dist/packages/barrage/index.scss +17 -1
- package/dist/packages/button/index.mjs +3 -1
- package/dist/packages/button/index.scss +63 -1
- package/dist/packages/calendar/index.mjs +3 -1
- package/dist/packages/calendar/index.scss +14 -5
- package/dist/packages/calendar/style.mjs +6 -3
- package/dist/packages/calendaritem/index.mjs +3 -1
- package/dist/packages/card/index.mjs +3 -1
- package/dist/packages/card/style.mjs +4 -2
- package/dist/packages/cascader/index.mjs +3 -1
- package/dist/packages/cascader/style.mjs +10 -5
- package/dist/packages/category/index.mjs +3 -1
- package/dist/packages/categorypane/index.mjs +3 -1
- package/dist/packages/cell/index.mjs +3 -1
- package/dist/packages/cell/index.scss +5 -1
- package/dist/packages/cellgroup/index.mjs +3 -1
- package/dist/packages/checkbox/index.mjs +3 -1
- package/dist/packages/checkboxgroup/index.mjs +3 -1
- package/dist/packages/circleprogress/index.mjs +3 -1
- package/dist/packages/col/index.mjs +3 -1
- package/dist/packages/collapse/index.mjs +3 -1
- package/dist/packages/collapseitem/index.mjs +3 -1
- package/dist/packages/comment/index.mjs +3 -1
- package/dist/packages/comment/index.scss +6 -1
- package/dist/packages/comment/style.mjs +2 -1
- package/dist/packages/configprovider/index.mjs +3 -1
- package/dist/packages/countdown/index.mjs +3 -1
- package/dist/packages/countup/index.mjs +3 -1
- package/dist/packages/datepicker/index.mjs +3 -1
- package/dist/packages/datepicker/style.mjs +6 -3
- package/dist/packages/dialog/index.mjs +5 -2
- package/dist/packages/dialog/style.mjs +6 -3
- package/dist/packages/divider/index.mjs +3 -1
- package/dist/packages/drag/index.mjs +3 -1
- package/dist/packages/ecard/index.mjs +3 -1
- package/dist/packages/ecard/style.mjs +2 -1
- package/dist/packages/elevator/index.mjs +3 -1
- package/dist/packages/ellipsis/index.mjs +3 -1
- package/dist/packages/empty/index.mjs +3 -1
- 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/griditem/index.mjs +3 -1
- package/dist/packages/image/index.mjs +3 -1
- package/dist/packages/imagepreview/index.mjs +5 -2
- package/dist/packages/imagepreview/style.mjs +10 -5
- package/dist/packages/indicator/index.mjs +3 -1
- package/dist/packages/indicator/index.scss +4 -4
- package/dist/packages/infiniteloading/index.mjs +3 -1
- package/dist/packages/input/index.mjs +3 -1
- package/dist/packages/input/index.scss +6 -2
- package/dist/packages/inputnumber/index.mjs +3 -1
- package/dist/packages/inputnumber/index.scss +0 -2
- package/dist/packages/invoice/index.mjs +3 -1
- package/dist/packages/invoice/style.mjs +14 -7
- package/dist/packages/layout/index.mjs +3 -1
- package/dist/packages/list/index.mjs +3 -1
- 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/menuitem/index.mjs +3 -1
- package/dist/packages/menuitem/style.mjs +4 -2
- package/dist/packages/navbar/index.mjs +3 -1
- package/dist/packages/noticebar/index.mjs +3 -1
- package/dist/packages/noticebar/index.scss +4 -1
- package/dist/packages/notify/index.mjs +5 -2
- package/dist/packages/notify/style.mjs +4 -2
- package/dist/packages/numberkeyboard/index.mjs +3 -1
- package/dist/packages/numberkeyboard/index.scss +3 -0
- package/dist/packages/numberkeyboard/style.mjs +4 -2
- package/dist/packages/overlay/index.mjs +3 -1
- package/dist/packages/pagination/index.mjs +3 -1
- package/dist/packages/picker/index.mjs +3 -1
- package/dist/packages/picker/style.mjs +4 -2
- package/dist/packages/popover/index.mjs +3 -1
- package/dist/packages/popover/index.scss +1 -1
- package/dist/packages/popover/style.mjs +4 -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/progress/index.mjs +3 -1
- package/dist/packages/progress/index.scss +2 -0
- package/dist/packages/pullrefresh/index.mjs +3 -1
- package/dist/packages/pullrefresh/index.scss +4 -3
- package/dist/packages/radio/index.mjs +3 -1
- package/dist/packages/radio/index.scss +14 -2
- package/dist/packages/radiogroup/index.mjs +3 -1
- package/dist/packages/range/index.mjs +3 -1
- package/dist/packages/range/index.scss +6 -3
- package/dist/packages/rate/index.mjs +3 -1
- package/dist/packages/rate/index.scss +4 -4
- package/dist/packages/row/index.mjs +3 -1
- package/dist/packages/searchbar/index.mjs +3 -1
- package/dist/packages/searchbar/index.scss +4 -8
- package/dist/packages/shortpassword/index.mjs +3 -1
- package/dist/packages/shortpassword/style.mjs +4 -2
- package/dist/packages/sidenavbar/index.mjs +3 -1
- package/dist/packages/sidenavbaritem/index.mjs +3 -1
- 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 +8 -4
- package/dist/packages/step/index.mjs +3 -1
- package/dist/packages/step/index.scss +1 -9
- package/dist/packages/steps/index.mjs +3 -1
- package/dist/packages/sticky/index.mjs +3 -1
- package/dist/packages/sticky/index.scss +2 -0
- package/dist/packages/subsidenavbar/index.mjs +3 -1
- package/dist/packages/swipe/index.mjs +3 -1
- package/dist/packages/swiper/index.mjs +3 -1
- package/dist/packages/swiperitem/index.mjs +3 -1
- package/dist/packages/switch/index.mjs +3 -1
- package/dist/packages/tabbar/index.mjs +3 -1
- package/dist/packages/tabbaritem/index.mjs +3 -1
- package/dist/packages/tabbaritem/index.scss +4 -0
- package/dist/packages/tabbaritem/style.mjs +2 -1
- package/dist/packages/table/index.mjs +3 -1
- package/dist/packages/tabpane/index.mjs +3 -1
- 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/textarea/index.mjs +3 -1
- package/dist/packages/textarea/index.scss +7 -1
- package/dist/packages/timedetail/index.mjs +3 -1
- package/dist/packages/timedetail/index.scss +14 -6
- package/dist/packages/timepannel/index.mjs +3 -1
- package/dist/packages/timeselect/index.mjs +3 -1
- package/dist/packages/timeselect/style.mjs +4 -2
- package/dist/packages/toast/index.mjs +5 -2
- package/dist/packages/tour/index.mjs +3 -1
- package/dist/packages/tour/style.mjs +6 -3
- package/dist/packages/trendarrow/index.mjs +3 -1
- package/dist/packages/uploader/index.mjs +3 -1
- package/dist/packages/uploader/index.scss +1 -1
- package/dist/packages/uploader/style.mjs +4 -2
- package/dist/packages/video/index.mjs +3 -1
- package/dist/packages/watermark/index.mjs +3 -1
- package/dist/smartips/web-types.json +731 -812
- package/dist/style.css +1 -19
- package/dist/style.js +4 -0
- package/dist/styles/reset.css +3 -0
- package/dist/styles/themes/default.scss +50 -51
- package/dist/styles/themes/jdb.scss +50 -51
- package/dist/styles/themes/jddkh.scss +50 -51
- package/dist/styles/themes/jdt.scss +50 -51
- package/dist/styles/variables-jdb.scss +4 -10
- package/dist/styles/variables-jddkh.scss +4 -9
- package/dist/styles/variables-jdt.scss +5 -10
- package/dist/styles/variables.scss +13 -21
- 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 +2 -12
- 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 +16 -10
- 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/tabbaritem/index.vue.d.ts +0 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/textarea/index.vue.d.ts +1 -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 -133
- package/dist/nutui.umd.cjs +0 -20061
- package/dist/packages/_es/Icon.js +0 -12
- package/dist/packages/_es/index.vue_vue_type_script_lang-b8ddf362.js +0 -12
- package/dist/packages/_es/pxCheck-9763aaae.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-d7024f23.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,13 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, inject, getCurrentInstance, onUnmounted, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, vShow, createVNode, mergeProps, withCtx, Fragment, renderList, renderSlot, createCommentVNode, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { P as Popup } from "./index-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { P as Popup } from "./index-af79da1a.js";
|
|
9
4
|
import { Check } 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
|
import "./Overlay.js";
|
|
13
8
|
const { componentName, create } = createComponent("menu-item");
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createVNode, createCommentVNode, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Left } 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("navbar");
|
|
12
7
|
const _sfc_main = create({
|
|
13
8
|
components: { Left },
|
|
14
9
|
props: {
|
|
15
10
|
leftShow: { type: Boolean, default: false },
|
|
11
|
+
//左侧 是否显示返回icon
|
|
16
12
|
title: { type: String, default: "" },
|
|
13
|
+
//中间 文字标题
|
|
17
14
|
titleIcon: { type: Boolean, default: false },
|
|
15
|
+
//中间
|
|
18
16
|
leftText: { type: String, default: "" },
|
|
17
|
+
//左侧文字
|
|
19
18
|
desc: { type: String, default: "" },
|
|
19
|
+
//右侧 按钮文字
|
|
20
20
|
fixed: {
|
|
21
21
|
type: Boolean,
|
|
22
22
|
default: false
|
|
@@ -30,6 +30,7 @@ const _sfc_main = create({
|
|
|
30
30
|
default: false
|
|
31
31
|
},
|
|
32
32
|
placeholder: {
|
|
33
|
+
// 生成一个等高的占位元素
|
|
33
34
|
type: Boolean,
|
|
34
35
|
default: true
|
|
35
36
|
},
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, normalizeStyle, createElementVNode, renderSlot, createBlock, resolveDynamicComponent, createTextVNode, toDisplayString, withModifiers, createCommentVNode, vShow, Fragment, renderList } from "vue";
|
|
7
2
|
import { Notice, CircleClose } from "@nutui/icons-vue";
|
|
8
|
-
import { c as createComponent } from "./component-
|
|
9
|
-
import { r as renderIcon } from "./renderIcon-
|
|
10
|
-
import { p as pxCheck } from "./pxCheck-
|
|
11
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
3
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
4
|
+
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
5
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
8
|
const { componentName, create } = createComponent("noticebar");
|
|
14
9
|
const _sfc_main = create({
|
|
15
10
|
props: {
|
|
11
|
+
// 滚动方向 across 横向 vertical 纵向
|
|
16
12
|
direction: {
|
|
17
13
|
type: String,
|
|
18
14
|
default: "across"
|
|
@@ -48,7 +44,6 @@ const _sfc_main = create({
|
|
|
48
44
|
default: false
|
|
49
45
|
},
|
|
50
46
|
leftIcon: { type: Object || String, default: () => Notice },
|
|
51
|
-
rightIcon: { type: Object || String, default: "" },
|
|
52
47
|
color: {
|
|
53
48
|
type: String,
|
|
54
49
|
default: ""
|
|
@@ -234,6 +229,9 @@ const _sfc_main = create({
|
|
|
234
229
|
emit("click", item);
|
|
235
230
|
};
|
|
236
231
|
const handleClickIcon = () => {
|
|
232
|
+
if (props.closeMode) {
|
|
233
|
+
state.showNoticebar = !props.closeMode;
|
|
234
|
+
}
|
|
237
235
|
emit("close", state.scrollList[0]);
|
|
238
236
|
};
|
|
239
237
|
onMounted(() => {
|
|
@@ -322,7 +320,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
322
320
|
])
|
|
323
321
|
], 38)
|
|
324
322
|
], 512),
|
|
325
|
-
_ctx.closeMode || _ctx
|
|
323
|
+
_ctx.closeMode || _ctx.$slots["right-icon"] ? (openBlock(), createElementBlock("view", {
|
|
326
324
|
key: 0,
|
|
327
325
|
class: "nut-noticebar__page-righticon",
|
|
328
326
|
onClick: _cache[2] || (_cache[2] = withModifiers((...args) => _ctx.onClickIcon && _ctx.onClickIcon(...args), ["stop"]))
|
|
@@ -332,7 +330,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
332
330
|
], 6)), [
|
|
333
331
|
[vShow, _ctx.showNoticebar]
|
|
334
332
|
]) : createCommentVNode("", true),
|
|
335
|
-
_ctx.scrollList.length > 0 && _ctx.direction == "vertical" ? (openBlock(), createElementBlock("view", {
|
|
333
|
+
_ctx.scrollList.length > 0 && _ctx.direction == "vertical" && _ctx.showNoticebar ? (openBlock(), createElementBlock("view", {
|
|
336
334
|
key: 1,
|
|
337
335
|
class: "nut-noticebar__vertical",
|
|
338
336
|
style: normalizeStyle(_ctx.barStyle)
|
|
@@ -367,11 +365,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
367
365
|
class: "go",
|
|
368
366
|
onClick: _cache[4] || (_cache[4] = ($event) => !_ctx.slots.rightIcon && _ctx.handleClickIcon())
|
|
369
367
|
}, [
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
368
|
+
renderSlot(_ctx.$slots, "rightIcon", {}, () => [
|
|
369
|
+
_ctx.closeMode ? (openBlock(), createBlock(_component_CircleClose, {
|
|
370
|
+
key: 0,
|
|
371
|
+
color: _ctx.color,
|
|
372
|
+
size: "11px"
|
|
373
|
+
}, null, 8, ["color"])) : createCommentVNode("", true)
|
|
374
|
+
])
|
|
375
375
|
])
|
|
376
376
|
], 4)) : createCommentVNode("", true)
|
|
377
377
|
], 2);
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, createVNode, render, onMounted, h } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { P as Popup } from "./index-
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { P as Popup } from "./index-af79da1a.js";
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
import "./Overlay.js";
|
|
12
7
|
import "@nutui/icons-vue";
|
|
@@ -113,6 +108,10 @@ const defaultOptions = {
|
|
|
113
108
|
background: void 0,
|
|
114
109
|
duration: 3e3,
|
|
115
110
|
className: "",
|
|
111
|
+
onClose: Function,
|
|
112
|
+
// onClick: null,
|
|
113
|
+
// onOpened: null,
|
|
114
|
+
// textTimer: null,
|
|
116
115
|
teleport: "",
|
|
117
116
|
unmount: new Function()
|
|
118
117
|
};
|
|
@@ -173,6 +172,7 @@ const mountNotify = (opts) => {
|
|
|
173
172
|
opts.teleport = `#notify-${opts.id}`;
|
|
174
173
|
onMounted(() => {
|
|
175
174
|
setTimeout(() => {
|
|
175
|
+
opts.onClose && opts.onClose();
|
|
176
176
|
document.body.removeChild(root);
|
|
177
177
|
}, opts.duration);
|
|
178
178
|
});
|
|
@@ -191,7 +191,7 @@ const errorMsg = (msg) => {
|
|
|
191
191
|
return;
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
|
-
const
|
|
194
|
+
const showNotify = {
|
|
195
195
|
text(msg, obj = {}) {
|
|
196
196
|
errorMsg(msg);
|
|
197
197
|
return mountNotify({ ...obj, msg });
|
|
@@ -217,11 +217,9 @@ const NotifyFunction = {
|
|
|
217
217
|
},
|
|
218
218
|
install(app) {
|
|
219
219
|
app.use(Notify);
|
|
220
|
-
app.config.globalProperties.$notify = NotifyFunction;
|
|
221
220
|
}
|
|
222
221
|
};
|
|
223
222
|
export {
|
|
224
|
-
Notify,
|
|
225
|
-
|
|
226
|
-
NotifyFunction as default
|
|
223
|
+
Notify as default,
|
|
224
|
+
showNotify
|
|
227
225
|
};
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createTextVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { P as Popup } from "./index-
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { P as Popup } from "./index-af79da1a.js";
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
import "./Overlay.js";
|
|
12
7
|
import "@nutui/icons-vue";
|
|
@@ -131,9 +126,9 @@ const _sfc_main = create({
|
|
|
131
126
|
(value) => {
|
|
132
127
|
show.value = value;
|
|
133
128
|
if (value) {
|
|
134
|
-
window.addEventListener("touchstart", clickAway,
|
|
129
|
+
window.addEventListener("touchstart", clickAway, false);
|
|
135
130
|
} else {
|
|
136
|
-
window.removeEventListener("touchstart", clickAway,
|
|
131
|
+
window.removeEventListener("touchstart", clickAway, false);
|
|
137
132
|
}
|
|
138
133
|
}
|
|
139
134
|
);
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, watchEffect, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, withModifiers, normalizeStyle, renderSlot, vShow } from "vue";
|
|
7
|
-
import { b as body, c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { b as body, 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
|
let count = 0;
|
|
11
6
|
const CLSNAME = "nut-overflow-hidden";
|
|
@@ -41,7 +36,7 @@ const _sfc_main = create({
|
|
|
41
36
|
},
|
|
42
37
|
lockScroll: {
|
|
43
38
|
type: Boolean,
|
|
44
|
-
default:
|
|
39
|
+
default: true
|
|
45
40
|
},
|
|
46
41
|
overlayClass: {
|
|
47
42
|
type: String,
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, computed, watchEffect, openBlock, createElementBlock, createElementVNode, normalizeClass, renderSlot, createTextVNode, toDisplayString, Fragment, renderList, createCommentVNode } 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, translate } = createComponent("pagination");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, ref, computed, watch, toRefs, onMounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, resolveComponent, renderSlot, createVNode } from "vue";
|
|
7
|
-
import { c as createComponent, d as preventDefault, e as clamp } from "./component-
|
|
8
|
-
import { p as pxCheck } from "./pxCheck-
|
|
9
|
-
import { u as useTouch } from "./index-
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent, d as preventDefault, e as clamp } from "./component-81a4c1d0.js";
|
|
3
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
4
|
+
import { u as useTouch } from "./index-7a7385e4.js";
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
7
|
const { componentName: componentName$1 } = createComponent("picker");
|
|
13
8
|
const usePicker = (props, emit) => {
|
|
@@ -164,12 +159,14 @@ const usePicker = (props, emit) => {
|
|
|
164
159
|
const { create: create$1 } = createComponent("picker-column");
|
|
165
160
|
const _sfc_main$1 = create$1({
|
|
166
161
|
props: {
|
|
162
|
+
// 当前选中项
|
|
167
163
|
value: [String, Number],
|
|
168
164
|
columnsType: String,
|
|
169
165
|
column: {
|
|
170
166
|
type: Array,
|
|
171
167
|
default: () => []
|
|
172
168
|
},
|
|
169
|
+
// 是否开启3D效果
|
|
173
170
|
threeDimensional: {
|
|
174
171
|
type: Boolean,
|
|
175
172
|
default: true
|
|
@@ -241,7 +238,7 @@ const _sfc_main$1 = create$1({
|
|
|
241
238
|
let dom = roller.value;
|
|
242
239
|
const { transform } = window.getComputedStyle(dom);
|
|
243
240
|
if (props.threeDimensional) {
|
|
244
|
-
const circle = Math.floor(touchDeg.value / 360);
|
|
241
|
+
const circle = Math.floor(parseInt(touchDeg.value) / 360);
|
|
245
242
|
const cos = +transform.split(", ")[5];
|
|
246
243
|
const sin = +transform.split(", ")[6] < 0 ? 180 : 0;
|
|
247
244
|
const endDeg = circle * 360 + Math.acos(cos) / Math.PI * 180 + sin;
|
|
@@ -250,6 +247,7 @@ const _sfc_main$1 = create$1({
|
|
|
250
247
|
state.scrollDistance = +transform.slice(7, transform.length - 1).split(", ")[5];
|
|
251
248
|
}
|
|
252
249
|
}
|
|
250
|
+
preventDefault(event, true);
|
|
253
251
|
state.touchParams.startY = touch.deltaY.value;
|
|
254
252
|
state.touchParams.startTime = Date.now();
|
|
255
253
|
state.transformY = state.scrollDistance;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, computed, onMounted, watch, resolveComponent, openBlock, createElementBlock, Fragment, renderSlot, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, createVNode, withCtx, renderList, withModifiers, createBlock, resolveDynamicComponent, toDisplayString } from "vue";
|
|
7
|
-
import { i as isArray, c as createComponent } from "./component-
|
|
8
|
-
import { r as renderIcon } from "./renderIcon-
|
|
9
|
-
import { u as useRect } from "./index-
|
|
10
|
-
import { P as Popup } from "./index-
|
|
11
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { i as isArray, c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
4
|
+
import { u as useRect } from "./index-29892cda.js";
|
|
5
|
+
import { P as Popup } from "./index-af79da1a.js";
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
8
|
import "./Overlay.js";
|
|
14
9
|
import "@nutui/icons-vue";
|
|
@@ -26,7 +21,6 @@ const _sfc_main = create({
|
|
|
26
21
|
arrowOffset: { type: Number, default: 0 },
|
|
27
22
|
customClass: { type: String, default: "" },
|
|
28
23
|
showArrow: { type: Boolean, default: true },
|
|
29
|
-
iconPrefix: { type: String, default: "nut-icon" },
|
|
30
24
|
duration: { type: [Number, String], default: 0.3 },
|
|
31
25
|
overlay: { type: Boolean, default: false },
|
|
32
26
|
overlayClass: { type: String, default: "" },
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { P } from "./index-db2c2975.js";
|
|
1
|
+
import { P } from "./index-af79da1a.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
6
|
import "./Overlay.js";
|
|
12
7
|
import "@nutui/icons-vue";
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, openBlock, createElementBlock, normalizeClass, createCommentVNode, createElementVNode, 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("price");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -36,7 +31,7 @@ const _sfc_main = create({
|
|
|
36
31
|
},
|
|
37
32
|
size: {
|
|
38
33
|
type: String,
|
|
39
|
-
default: "
|
|
34
|
+
default: "normal"
|
|
40
35
|
}
|
|
41
36
|
},
|
|
42
37
|
setup(props) {
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { useSlots, ref, computed, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Checked } 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 { create } = createComponent("progress");
|
|
12
7
|
const _sfc_main = create({
|
|
@@ -59,9 +54,12 @@ const _sfc_main = create({
|
|
|
59
54
|
const height = ref(props.strokeWidth + "px");
|
|
60
55
|
const progressOuter = ref();
|
|
61
56
|
const insideText = ref();
|
|
57
|
+
const percentage = computed(() => {
|
|
58
|
+
return props.percentage >= 100 ? 100 : props.percentage;
|
|
59
|
+
});
|
|
62
60
|
const bgStyle = computed(() => {
|
|
63
61
|
return {
|
|
64
|
-
width:
|
|
62
|
+
width: percentage.value + "%",
|
|
65
63
|
background: props.strokeColor || ""
|
|
66
64
|
};
|
|
67
65
|
});
|
|
@@ -74,6 +72,7 @@ const _sfc_main = create({
|
|
|
74
72
|
});
|
|
75
73
|
return {
|
|
76
74
|
height,
|
|
75
|
+
percentage,
|
|
77
76
|
bgStyle,
|
|
78
77
|
textStyle,
|
|
79
78
|
progressOuter,
|
|
@@ -83,6 +82,10 @@ const _sfc_main = create({
|
|
|
83
82
|
}
|
|
84
83
|
});
|
|
85
84
|
const _hoisted_1 = { class: "nut-progress" };
|
|
85
|
+
const _hoisted_2 = {
|
|
86
|
+
key: 0,
|
|
87
|
+
class: "nut-progress-text"
|
|
88
|
+
};
|
|
86
89
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
87
90
|
const _component_Checked = resolveComponent("Checked");
|
|
88
91
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -124,11 +127,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
124
127
|
], 4)) : createCommentVNode("", true)
|
|
125
128
|
], 6)
|
|
126
129
|
], 6),
|
|
127
|
-
_ctx.showText && !_ctx.textInside ? (openBlock(), createElementBlock("div",
|
|
128
|
-
key: 0,
|
|
129
|
-
class: "nut-progress-text",
|
|
130
|
-
style: normalizeStyle({ lineHeight: _ctx.height })
|
|
131
|
-
}, [
|
|
130
|
+
_ctx.showText && !_ctx.textInside ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
132
131
|
_ctx.status == "active" || _ctx.status == "" ? (openBlock(), createElementBlock("span", {
|
|
133
132
|
key: 0,
|
|
134
133
|
style: normalizeStyle(_ctx.textStyle)
|
|
@@ -139,7 +138,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
139
138
|
color: "#439422"
|
|
140
139
|
})
|
|
141
140
|
]) : createCommentVNode("", true)
|
|
142
|
-
]
|
|
141
|
+
])) : createCommentVNode("", true)
|
|
143
142
|
]);
|
|
144
143
|
}
|
|
145
144
|
const Progress = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, reactive, computed, watch, nextTick, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createBlock, createCommentVNode, toDisplayString, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent, l as getScrollTopRoot } from "./component-
|
|
8
|
-
import { u as useTouch } from "./index-
|
|
9
|
-
import { p as pxCheck } from "./pxCheck-
|
|
10
|
-
import { u as useScrollParent } from "./index-
|
|
2
|
+
import { c as createComponent, l as getScrollTopRoot } from "./component-81a4c1d0.js";
|
|
3
|
+
import { u as useTouch } from "./index-7a7385e4.js";
|
|
4
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
5
|
+
import { u as useScrollParent } from "./index-43c34ac6.js";
|
|
11
6
|
import { Loading } from "@nutui/icons-vue";
|
|
12
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
7
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
13
8
|
import "../locale/lang";
|
|
14
|
-
const { componentName, create, translate } = createComponent("
|
|
9
|
+
const { componentName, create, translate } = createComponent("pull-refresh");
|
|
15
10
|
const _sfc_main = create({
|
|
16
11
|
props: {
|
|
17
12
|
modelValue: {
|
|
@@ -30,10 +25,10 @@ const _sfc_main = create({
|
|
|
30
25
|
type: String,
|
|
31
26
|
default: translate("loading")
|
|
32
27
|
},
|
|
33
|
-
completeTxt: {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
},
|
|
28
|
+
// completeTxt: {
|
|
29
|
+
// type: String,
|
|
30
|
+
// default: ''
|
|
31
|
+
// },
|
|
37
32
|
headHeight: {
|
|
38
33
|
type: [String, Number],
|
|
39
34
|
default: 50
|
|
@@ -72,8 +67,6 @@ const _sfc_main = create({
|
|
|
72
67
|
return !slots.loosing ? props.loosingTxt : "";
|
|
73
68
|
case "loading":
|
|
74
69
|
return !slots.loading ? props.loadingTxt : "";
|
|
75
|
-
case "complete":
|
|
76
|
-
return !slots.complete ? props.completeTxt : "";
|
|
77
70
|
}
|
|
78
71
|
});
|
|
79
72
|
const getStyle = computed(() => {
|
|
@@ -184,7 +177,7 @@ const _sfc_main = create({
|
|
|
184
177
|
};
|
|
185
178
|
}
|
|
186
179
|
});
|
|
187
|
-
const _hoisted_1 = { class: "nut-
|
|
180
|
+
const _hoisted_1 = { class: "nut-pull-refresh-container-topbox-text" };
|
|
188
181
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
189
182
|
const _component_Loading = resolveComponent("Loading");
|
|
190
183
|
return openBlock(), createElementBlock("div", {
|
|
@@ -195,22 +188,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
195
188
|
onTouchend: _cache[2] || (_cache[2] = (...args) => _ctx.touchEnd && _ctx.touchEnd(...args))
|
|
196
189
|
}, [
|
|
197
190
|
createElementVNode("div", {
|
|
198
|
-
class: "nut-
|
|
191
|
+
class: "nut-pull-refresh-container",
|
|
199
192
|
style: normalizeStyle(_ctx.getStyle)
|
|
200
193
|
}, [
|
|
201
194
|
createElementVNode("div", {
|
|
202
|
-
class: "nut-
|
|
195
|
+
class: "nut-pull-refresh-container-topbox",
|
|
203
196
|
style: normalizeStyle(_ctx.getHeightStyle)
|
|
204
197
|
}, [
|
|
205
198
|
_ctx.status == "loading" && !_ctx.slots.loading ? (openBlock(), createBlock(_component_Loading, {
|
|
206
199
|
key: 0,
|
|
207
|
-
class: "nut-icon-loading nut-
|
|
200
|
+
class: "nut-icon-loading nut-pull-refresh-container-topbox-icon"
|
|
208
201
|
})) : createCommentVNode("", true),
|
|
209
202
|
createElementVNode("div", _hoisted_1, toDisplayString(_ctx.getPullStatus), 1),
|
|
210
203
|
_ctx.status == "pulling" ? renderSlot(_ctx.$slots, "pulling", { key: 1 }) : createCommentVNode("", true),
|
|
211
204
|
_ctx.status == "loosing" ? renderSlot(_ctx.$slots, "loosing", { key: 2 }) : createCommentVNode("", true),
|
|
212
|
-
_ctx.status == "loading" ? renderSlot(_ctx.$slots, "loading", { key: 3 }) : createCommentVNode("", true)
|
|
213
|
-
_ctx.status == "complete" ? renderSlot(_ctx.$slots, "complete", { key: 4 }) : createCommentVNode("", true)
|
|
205
|
+
_ctx.status == "loading" ? renderSlot(_ctx.$slots, "loading", { key: 3 }) : createCommentVNode("", true)
|
|
214
206
|
], 4),
|
|
215
207
|
renderSlot(_ctx.$slots, "default")
|
|
216
208
|
], 4)
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-7c0c1b1c.js";
|
|
1
|
+
import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-442e4704.js";
|
|
7
2
|
import "vue";
|
|
8
|
-
import "./component-
|
|
3
|
+
import "./component-81a4c1d0.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
import "@nutui/icons-vue";
|
|
11
|
-
import "./pxCheck-
|
|
6
|
+
import "./pxCheck-c6b9f6b7.js";
|
|
12
7
|
export {
|
|
13
8
|
_sfc_main as default
|
|
14
9
|
};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-20115c0e.js";
|
|
1
|
+
import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-22dfc112.js";
|
|
7
2
|
import "vue";
|
|
8
|
-
import "./component-
|
|
3
|
+
import "./component-81a4c1d0.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
export {
|
|
11
6
|
_sfc_main as default
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle, withModifiers, Fragment, renderList, createTextVNode, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent, i as isArray } from "./component-
|
|
8
|
-
import { u as useTouch } from "./index-
|
|
9
|
-
import { u as useRect } from "./index-
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent, i as isArray } from "./component-81a4c1d0.js";
|
|
3
|
+
import { u as useTouch } from "./index-7a7385e4.js";
|
|
4
|
+
import { u as useRect } from "./index-29892cda.js";
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
7
|
const { componentName, create } = createComponent("range");
|
|
13
8
|
const _sfc_main = create({
|