@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,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 { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, 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("time-detail");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -16,10 +11,6 @@ const _sfc_main = create({
|
|
|
16
11
|
default: () => {
|
|
17
12
|
return [];
|
|
18
13
|
}
|
|
19
|
-
},
|
|
20
|
-
detailKey: {
|
|
21
|
-
type: [Number, String],
|
|
22
|
-
default: 0
|
|
23
14
|
}
|
|
24
15
|
},
|
|
25
16
|
emits: ["select"],
|
|
@@ -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 { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, 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("time-pannel");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -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 { computed, provide, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, renderSlot } 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";
|
|
@@ -40,7 +35,7 @@ const _sfc_main = create({
|
|
|
40
35
|
},
|
|
41
36
|
lockScroll: {
|
|
42
37
|
type: [Boolean],
|
|
43
|
-
default:
|
|
38
|
+
default: true
|
|
44
39
|
},
|
|
45
40
|
teleportDisable: {
|
|
46
41
|
type: Boolean,
|
|
@@ -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 { reactive, onMounted, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, vShow, createVNode, render } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { r as renderIcon } from "./renderIcon-
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
|
-
import { C as CreateComponent } from "./mountComponent-
|
|
6
|
+
import { C as CreateComponent } from "./mountComponent-1ece4110.js";
|
|
12
7
|
import { Success, Failure, Tips, Loading } from "@nutui/icons-vue";
|
|
13
8
|
const { create } = createComponent("toast");
|
|
14
9
|
const _sfc_main = create({
|
|
@@ -201,7 +196,9 @@ const defaultOptions = {
|
|
|
201
196
|
msg: "",
|
|
202
197
|
id: "",
|
|
203
198
|
duration: 2e3,
|
|
199
|
+
//显示时间(毫秒)
|
|
204
200
|
center: true,
|
|
201
|
+
// 未实现
|
|
205
202
|
type: "text",
|
|
206
203
|
title: "",
|
|
207
204
|
customClass: "",
|
|
@@ -210,13 +207,19 @@ const defaultOptions = {
|
|
|
210
207
|
iconSize: "20",
|
|
211
208
|
icon: null,
|
|
212
209
|
textAlignCenter: true,
|
|
210
|
+
// 未实现
|
|
213
211
|
loadingRotate: true,
|
|
212
|
+
// 未实现
|
|
214
213
|
bgColor: "",
|
|
215
214
|
onClose: null,
|
|
215
|
+
// 未实现
|
|
216
216
|
unmount: null,
|
|
217
217
|
cover: false,
|
|
218
|
+
//透明遮罩层 // 未实现
|
|
218
219
|
coverColor: "",
|
|
220
|
+
// 未实现
|
|
219
221
|
closeOnClickOverlay: false
|
|
222
|
+
// 未实现
|
|
220
223
|
};
|
|
221
224
|
let idsMap = [];
|
|
222
225
|
let optsMap = [];
|
|
@@ -250,7 +253,7 @@ const updateToast = (opts) => {
|
|
|
250
253
|
}
|
|
251
254
|
const instance = createVNode(Toast, opts);
|
|
252
255
|
render(instance, container);
|
|
253
|
-
return
|
|
256
|
+
return showToast;
|
|
254
257
|
}
|
|
255
258
|
};
|
|
256
259
|
const mountToast = (opts) => {
|
|
@@ -271,7 +274,7 @@ const mountToast = (opts) => {
|
|
|
271
274
|
CreateComponent(opts, {
|
|
272
275
|
wrapper: Toast
|
|
273
276
|
});
|
|
274
|
-
return
|
|
277
|
+
return showToast;
|
|
275
278
|
};
|
|
276
279
|
const errorMsg = (msg) => {
|
|
277
280
|
if (!msg) {
|
|
@@ -279,7 +282,7 @@ const errorMsg = (msg) => {
|
|
|
279
282
|
return;
|
|
280
283
|
}
|
|
281
284
|
};
|
|
282
|
-
const
|
|
285
|
+
const showToast = {
|
|
283
286
|
text(msg, opts = {}) {
|
|
284
287
|
errorMsg(msg);
|
|
285
288
|
return mountToast({ ...opts, type: "text", msg });
|
|
@@ -309,11 +312,9 @@ const ToastFunction = {
|
|
|
309
312
|
},
|
|
310
313
|
install(app) {
|
|
311
314
|
app.use(Toast);
|
|
312
|
-
app.config.globalProperties.$toast = ToastFunction;
|
|
313
315
|
}
|
|
314
316
|
};
|
|
315
317
|
export {
|
|
316
|
-
Toast,
|
|
317
|
-
|
|
318
|
-
ToastFunction as default
|
|
318
|
+
Toast as default,
|
|
319
|
+
showToast
|
|
319
320
|
};
|
|
@@ -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 { reactive, ref, computed, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, vShow, Fragment, renderList, normalizeStyle, createCommentVNode, createVNode, withCtx, renderSlot, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { u as useRect } from "./index-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { u as useRect } from "./index-29892cda.js";
|
|
9
4
|
import { Close } from "@nutui/icons-vue";
|
|
10
5
|
import Popover from "./Popover.js";
|
|
11
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
|
-
import "./renderIcon-
|
|
14
|
-
import "./index-
|
|
8
|
+
import "./renderIcon-3d0fd47c.js";
|
|
9
|
+
import "./index-af79da1a.js";
|
|
15
10
|
import "./Overlay.js";
|
|
16
11
|
const { create } = createComponent("tour");
|
|
17
12
|
const _sfc_main = create({
|
|
@@ -20,10 +15,11 @@ const _sfc_main = create({
|
|
|
20
15
|
Close
|
|
21
16
|
},
|
|
22
17
|
props: {
|
|
23
|
-
|
|
18
|
+
modelValue: { type: Boolean, default: false },
|
|
24
19
|
type: {
|
|
25
20
|
type: String,
|
|
26
21
|
default: "step"
|
|
22
|
+
// tile
|
|
27
23
|
},
|
|
28
24
|
steps: {
|
|
29
25
|
type: Array,
|
|
@@ -86,10 +82,10 @@ const _sfc_main = create({
|
|
|
86
82
|
default: true
|
|
87
83
|
}
|
|
88
84
|
},
|
|
89
|
-
emits: ["update:
|
|
85
|
+
emits: ["update:modelValue", "change", "close"],
|
|
90
86
|
setup(props, { emit }) {
|
|
91
87
|
const state = reactive({
|
|
92
|
-
showTour: props.
|
|
88
|
+
showTour: props.modelValue,
|
|
93
89
|
showPopup: false,
|
|
94
90
|
active: 0
|
|
95
91
|
});
|
|
@@ -134,7 +130,7 @@ const _sfc_main = create({
|
|
|
134
130
|
state.showTour = false;
|
|
135
131
|
state.showPopup = false;
|
|
136
132
|
emit("close", state.active);
|
|
137
|
-
emit("update:
|
|
133
|
+
emit("update:modelValue", false);
|
|
138
134
|
};
|
|
139
135
|
const handleClickMask = () => {
|
|
140
136
|
props.closeOnClickOverlay && close();
|
|
@@ -144,7 +140,7 @@ const _sfc_main = create({
|
|
|
144
140
|
getRootPosition();
|
|
145
141
|
});
|
|
146
142
|
watch(
|
|
147
|
-
() => props.
|
|
143
|
+
() => props.modelValue,
|
|
148
144
|
(val) => {
|
|
149
145
|
if (val) {
|
|
150
146
|
getRootPosition();
|
|
@@ -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 { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
7
|
-
import { m as myFixed, c as createComponent } from "./component-
|
|
2
|
+
import { m as myFixed, c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { TriangleUp, TriangleDown } 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("trend-arrow");
|
|
12
7
|
const _sfc_main = create({
|
|
@@ -4,17 +4,12 @@ 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.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
|
|
9
|
-
* (c) 2022 @jdf2e.
|
|
10
|
-
* Released under the MIT License.
|
|
11
|
-
*/
|
|
12
7
|
import { reactive, computed, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, createElementVNode, toDisplayString, createVNode, createTextVNode } from "vue";
|
|
13
|
-
import { c as createComponent } from "./component-
|
|
14
|
-
import { f as funInterceptor } from "./interceptor-
|
|
8
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
9
|
+
import { f as funInterceptor } from "./interceptor-956b24fc.js";
|
|
15
10
|
import Progress from "./Progress.js";
|
|
16
11
|
import { Photograph, Failure, Loading, Del, Link } from "@nutui/icons-vue";
|
|
17
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
12
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
18
13
|
import "../locale/lang";
|
|
19
14
|
class UploadOptions {
|
|
20
15
|
constructor() {
|
|
@@ -108,9 +103,11 @@ const _sfc_main = create({
|
|
|
108
103
|
props: {
|
|
109
104
|
name: { type: String, default: "file" },
|
|
110
105
|
url: { type: String, default: "" },
|
|
106
|
+
// defaultFileList: { type: Array, default: () => new Array<FileItem>() },
|
|
111
107
|
timeout: { type: [Number, String], default: 1e3 * 30 },
|
|
112
108
|
fileList: { type: Array, default: () => [] },
|
|
113
109
|
isPreview: { type: Boolean, default: true },
|
|
110
|
+
// picture、list
|
|
114
111
|
listType: { type: String, default: "picture" },
|
|
115
112
|
isDeletable: { type: Boolean, default: true },
|
|
116
113
|
method: { type: String, default: "post" },
|
|
@@ -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 { reactive, ref, computed, watch, nextTick, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, createCommentVNode, withDirectives, vShow, normalizeClass, toDisplayString, normalizeStyle, withModifiers } 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
|
function throttle(fn, delay) {
|
|
11
6
|
let timer = null;
|
|
@@ -34,13 +29,17 @@ const _sfc_main = create({
|
|
|
34
29
|
type: Object,
|
|
35
30
|
default: {
|
|
36
31
|
autoplay: false,
|
|
32
|
+
//是否自动播放
|
|
37
33
|
volume: 0.5,
|
|
38
34
|
poster: "",
|
|
39
35
|
loop: false,
|
|
40
36
|
controls: true,
|
|
41
37
|
muted: false,
|
|
38
|
+
//是否静音
|
|
42
39
|
disabled: false,
|
|
40
|
+
//禁止操作
|
|
43
41
|
playsinline: false,
|
|
42
|
+
//行内展示
|
|
44
43
|
touchPlay: false,
|
|
45
44
|
preload: ""
|
|
46
45
|
},
|
|
@@ -57,30 +56,44 @@ const _sfc_main = create({
|
|
|
57
56
|
const state = reactive({
|
|
58
57
|
videoElm: null,
|
|
59
58
|
initial: true,
|
|
59
|
+
//控制封面的显示
|
|
60
60
|
showToolbox: false,
|
|
61
|
+
//控制控制器和标题的显示
|
|
62
|
+
// 视频容器元素
|
|
61
63
|
player: {
|
|
62
64
|
$player: null,
|
|
63
65
|
pos: null
|
|
64
66
|
},
|
|
67
|
+
// progress进度条元素
|
|
65
68
|
progressBar: {
|
|
66
69
|
progressElm: null,
|
|
70
|
+
// 进度条DOM对象
|
|
67
71
|
pos: null
|
|
68
72
|
},
|
|
73
|
+
// video控制显示设置
|
|
69
74
|
videoSet: {
|
|
70
75
|
loaded: 0,
|
|
76
|
+
// 缓存长度
|
|
71
77
|
displayTime: "00:00",
|
|
78
|
+
// 进度时间
|
|
72
79
|
totalTime: "00:00",
|
|
80
|
+
// 总时间
|
|
73
81
|
progress: {
|
|
74
82
|
width: 0,
|
|
83
|
+
// 进度条长度
|
|
75
84
|
current: 0
|
|
85
|
+
// 进度条当前位置
|
|
76
86
|
}
|
|
77
87
|
},
|
|
78
88
|
state: {
|
|
79
89
|
controlShow: true,
|
|
80
90
|
vol: 0.5,
|
|
91
|
+
//音量
|
|
81
92
|
currentTime: 0,
|
|
93
|
+
//当前时间
|
|
82
94
|
fullScreen: false,
|
|
83
95
|
playing: false,
|
|
96
|
+
//是否正在播放
|
|
84
97
|
isLoading: false,
|
|
85
98
|
isEnd: false,
|
|
86
99
|
isError: false,
|
|
@@ -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 { reactive, watch, computed, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle } 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("watermark");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -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 { shallowReactive, getCurrentInstance, provide, markRaw, isVNode, computed, h } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { p as pxCheck } from "./pxCheck-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
9
4
|
function flattenVNodes(children, childName) {
|
|
10
5
|
const result = [];
|
|
11
6
|
const traverse = (children2) => {
|
|
@@ -73,33 +68,41 @@ function useProvide(key, childName) {
|
|
|
73
68
|
const { componentName } = createComponent("grid");
|
|
74
69
|
const GRID_KEY = Symbol("grid");
|
|
75
70
|
const gridProps = {
|
|
71
|
+
// 列数
|
|
76
72
|
columnNum: {
|
|
77
73
|
type: [Number, String],
|
|
78
74
|
default: 4
|
|
79
75
|
},
|
|
76
|
+
// 是否显示边框
|
|
80
77
|
border: {
|
|
81
78
|
type: Boolean,
|
|
82
79
|
default: true
|
|
83
80
|
},
|
|
81
|
+
// 格子之间间隔距离
|
|
84
82
|
gutter: {
|
|
85
83
|
type: [Number, String],
|
|
86
84
|
default: 0
|
|
87
85
|
},
|
|
86
|
+
// 是否内容居中
|
|
88
87
|
center: {
|
|
89
88
|
type: Boolean,
|
|
90
89
|
default: true
|
|
91
90
|
},
|
|
91
|
+
// 是否固定正方形
|
|
92
92
|
square: {
|
|
93
93
|
type: Boolean,
|
|
94
94
|
default: false
|
|
95
95
|
},
|
|
96
|
+
// 内容与文字翻转
|
|
96
97
|
reverse: {
|
|
97
98
|
type: Boolean,
|
|
98
99
|
default: false
|
|
99
100
|
},
|
|
101
|
+
// 内容排列方向
|
|
100
102
|
direction: {
|
|
101
103
|
type: String
|
|
102
104
|
},
|
|
105
|
+
// 是否开启点击反馈
|
|
103
106
|
clickable: {
|
|
104
107
|
type: Boolean,
|
|
105
108
|
default: false
|
|
@@ -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
|
-
import { c as createComponent } from "./component-1a609d46.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { reactive, computed, watch, watchEffect, toRefs, resolveComponent, openBlock, createBlock, Teleport, mergeProps, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, vShow } from "vue";
|
|
8
3
|
import Overlay from "./Overlay.js";
|
|
9
4
|
import { Close } 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
|
const popupProps = {
|
|
12
7
|
visible: {
|
|
13
8
|
type: Boolean,
|
|
@@ -23,7 +18,7 @@ const popupProps = {
|
|
|
23
18
|
},
|
|
24
19
|
lockScroll: {
|
|
25
20
|
type: Boolean,
|
|
26
|
-
default:
|
|
21
|
+
default: true
|
|
27
22
|
},
|
|
28
23
|
closeOnClickOverlay: {
|
|
29
24
|
type: Boolean,
|
|
@@ -80,6 +75,14 @@ const popupProps = {
|
|
|
80
75
|
safeAreaInsetBottom: {
|
|
81
76
|
type: Boolean,
|
|
82
77
|
default: false
|
|
78
|
+
},
|
|
79
|
+
overlayClass: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: ""
|
|
82
|
+
},
|
|
83
|
+
overlayStyle: {
|
|
84
|
+
type: Object,
|
|
85
|
+
default: {}
|
|
83
86
|
}
|
|
84
87
|
};
|
|
85
88
|
const initIndex = 2e3;
|
|
@@ -201,8 +204,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
201
204
|
"z-index": _ctx.zIndex,
|
|
202
205
|
"lock-scroll": _ctx.lockScroll,
|
|
203
206
|
duration: _ctx.duration,
|
|
207
|
+
"overlay-class": _ctx.overlayClass,
|
|
208
|
+
"overlay-style": _ctx.overlayStyle,
|
|
204
209
|
onClick: _ctx.onClickOverlay
|
|
205
|
-
}, _ctx.$attrs), null, 16, ["visible", "close-on-click-overlay", "z-index", "lock-scroll", "duration", "onClick"])) : createCommentVNode("", true),
|
|
210
|
+
}, _ctx.$attrs), null, 16, ["visible", "close-on-click-overlay", "z-index", "lock-scroll", "duration", "overlay-class", "overlay-style", "onClick"])) : createCommentVNode("", true),
|
|
206
211
|
createVNode(Transition, {
|
|
207
212
|
name: _ctx.transitionName,
|
|
208
213
|
onAfterEnter: _ctx.onOpened,
|
|
@@ -1,17 +1,20 @@
|
|
|
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, reactive, watch, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle, createTextVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { r as requestAniFrame } from "./raf-
|
|
9
|
-
import { u as useExpose } from "./index-
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { r as requestAniFrame } from "./raf-729dad54.js";
|
|
4
|
+
import { u as useExpose } from "./index-79c5dc33.js";
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
const Utils = {
|
|
7
|
+
/**
|
|
8
|
+
* 是否为闫年
|
|
9
|
+
* @return {Boolse} true|false
|
|
10
|
+
*/
|
|
12
11
|
isLeapYear: function(y) {
|
|
13
12
|
return y % 4 == 0 && y % 100 != 0 || y % 400 == 0;
|
|
14
13
|
},
|
|
14
|
+
/**
|
|
15
|
+
* 返回星期数
|
|
16
|
+
* @return {String}
|
|
17
|
+
*/
|
|
15
18
|
getWhatDay: function(year, month, day) {
|
|
16
19
|
const date = new Date(year + "/" + month + "/" + day);
|
|
17
20
|
const index = date.getDay();
|
|
@@ -26,6 +29,10 @@ const Utils = {
|
|
|
26
29
|
];
|
|
27
30
|
return dayNames[index];
|
|
28
31
|
},
|
|
32
|
+
/**
|
|
33
|
+
* 返回星期数
|
|
34
|
+
* @return {Number}
|
|
35
|
+
*/
|
|
29
36
|
getMonthPreDay: function(year, month) {
|
|
30
37
|
const date = new Date(year + "/" + month + "/01");
|
|
31
38
|
let day = date.getDay();
|
|
@@ -34,6 +41,10 @@ const Utils = {
|
|
|
34
41
|
}
|
|
35
42
|
return day;
|
|
36
43
|
},
|
|
44
|
+
/**
|
|
45
|
+
* 返回月份天数
|
|
46
|
+
* @return {Number}
|
|
47
|
+
*/
|
|
37
48
|
getMonthDays: function(year, month) {
|
|
38
49
|
if (/^0/.test(month)) {
|
|
39
50
|
month = month.split("")[1];
|
|
@@ -54,10 +65,18 @@ const Utils = {
|
|
|
54
65
|
31
|
|
55
66
|
][month];
|
|
56
67
|
},
|
|
68
|
+
/**
|
|
69
|
+
* 补齐数字位数
|
|
70
|
+
* @return {string}
|
|
71
|
+
*/
|
|
57
72
|
getNumTwoBit: function(n) {
|
|
58
73
|
n = Number(n);
|
|
59
74
|
return (n > 9 ? "" : "0") + n;
|
|
60
75
|
},
|
|
76
|
+
/**
|
|
77
|
+
* 日期对象转成字符串
|
|
78
|
+
* @return {string}
|
|
79
|
+
*/
|
|
61
80
|
date2Str: function(date, split) {
|
|
62
81
|
split = split || "-";
|
|
63
82
|
const y = date.getFullYear();
|
|
@@ -65,6 +84,11 @@ const Utils = {
|
|
|
65
84
|
const d = this.getNumTwoBit(date.getDate());
|
|
66
85
|
return [y, m, d].join(split);
|
|
67
86
|
},
|
|
87
|
+
/**
|
|
88
|
+
* 返回日期格式字符串
|
|
89
|
+
* @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
|
|
90
|
+
* @return {string} '2014-12-31'
|
|
91
|
+
*/
|
|
68
92
|
getDay: function(i) {
|
|
69
93
|
i = i || 0;
|
|
70
94
|
let date = new Date();
|
|
@@ -72,6 +96,10 @@ const Utils = {
|
|
|
72
96
|
date = new Date(date.getTime() + diff);
|
|
73
97
|
return this.date2Str(date);
|
|
74
98
|
},
|
|
99
|
+
/**
|
|
100
|
+
* 时间比较
|
|
101
|
+
* @return {Boolean}
|
|
102
|
+
*/
|
|
75
103
|
compareDate: function(date1, date2) {
|
|
76
104
|
const startTime = new Date(date1.replace("-", "/").replace("-", "/"));
|
|
77
105
|
const endTime = new Date(date2.replace("-", "/").replace("-", "/"));
|
|
@@ -80,6 +108,10 @@ const Utils = {
|
|
|
80
108
|
}
|
|
81
109
|
return true;
|
|
82
110
|
},
|
|
111
|
+
/**
|
|
112
|
+
* 时间是否相等
|
|
113
|
+
* @return {Boolean}
|
|
114
|
+
*/
|
|
83
115
|
isEqual: function(date1, date2) {
|
|
84
116
|
const startTime = new Date(date1).getTime();
|
|
85
117
|
const endTime = new Date(date2).getTime();
|
|
@@ -256,7 +288,7 @@ const _sfc_main = create({
|
|
|
256
288
|
if (getClass(day, month) != `${state.dayPrefix}--disabled`) {
|
|
257
289
|
const { type } = props;
|
|
258
290
|
let days = [...month.curData];
|
|
259
|
-
days[2] =
|
|
291
|
+
days[2] = Utils.getNumTwoBit(Number(day.day));
|
|
260
292
|
days[3] = `${days[0]}-${days[1]}-${days[2]}`;
|
|
261
293
|
days[4] = Utils.getWhatDay(+days[0], +days[1], +days[2]);
|
|
262
294
|
if (type == "multiple") {
|
|
@@ -1,10 +1,5 @@
|
|
|
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 { provide, readonly, computed, watch, h } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
const { componentName, create } = createComponent("radio-group");
|
|
9
4
|
const _sfc_main = create({
|
|
10
5
|
props: {
|
|
@@ -15,6 +10,7 @@ const _sfc_main = create({
|
|
|
15
10
|
direction: {
|
|
16
11
|
type: String,
|
|
17
12
|
default: "vertical"
|
|
13
|
+
//horizontal
|
|
18
14
|
},
|
|
19
15
|
textPosition: {
|
|
20
16
|
type: String,
|