@nutui/nutui 4.0.0-beta.0 → 4.0.0-beta.1
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/dist/nutui.es.js +103 -0
- package/dist/nutui.umd.cjs +117 -122
- package/dist/packages/_es/ActionSheet.js +4 -4
- package/dist/packages/_es/Address.js +6 -6
- package/dist/packages/_es/AddressList.js +12 -12
- package/dist/packages/_es/Animate.js +3 -3
- package/dist/packages/_es/Audio.js +5 -5
- package/dist/packages/_es/AudioOperate.js +4 -4
- package/dist/packages/_es/Avatar.js +3 -3
- package/dist/packages/_es/AvatarGroup.js +3 -3
- package/dist/packages/_es/Backtop.js +4 -4
- package/dist/packages/_es/Badge.js +3 -3
- package/dist/packages/_es/Barrage.js +3 -3
- package/dist/packages/_es/Button.js +3 -3
- package/dist/packages/_es/Calendar.js +7 -7
- package/dist/packages/_es/CalendarItem.js +6 -6
- package/dist/packages/_es/Card.js +3 -3
- package/dist/packages/_es/Cascader.js +4 -4
- package/dist/packages/_es/Category.js +3 -3
- package/dist/packages/_es/CategoryPane.js +3 -3
- package/dist/packages/_es/Cell.js +5 -5
- package/dist/packages/_es/CellGroup.js +3 -3
- package/dist/packages/_es/Checkbox.js +3 -3
- package/dist/packages/_es/CheckboxGroup.js +3 -3
- package/dist/packages/_es/CircleProgress.js +3 -3
- package/dist/packages/_es/Col.js +3 -3
- package/dist/packages/_es/Collapse.js +3 -3
- package/dist/packages/_es/CollapseItem.js +4 -4
- package/dist/packages/_es/Comment.js +7 -7
- package/dist/packages/_es/ConfigProvider.js +2 -2
- package/dist/packages/_es/Countdown.js +3 -3
- package/dist/packages/_es/Countup.js +3 -3
- package/dist/packages/_es/DatePicker.js +5 -5
- package/dist/packages/_es/Dialog.js +7 -7
- package/dist/packages/_es/Divider.js +3 -3
- package/dist/packages/_es/Drag.js +4 -4
- package/dist/packages/_es/Ecard.js +5 -5
- package/dist/packages/_es/Elevator.js +4 -4
- package/dist/packages/_es/Ellipsis.js +3 -3
- package/dist/packages/_es/Empty.js +3 -3
- package/dist/packages/_es/FixedNav.js +3 -3
- package/dist/packages/_es/Form.js +4 -4
- package/dist/packages/_es/FormItem.js +5 -5
- package/dist/packages/_es/Grid.js +4 -4
- package/dist/packages/_es/GridItem.js +6 -6
- package/dist/packages/_es/Icon.js +4 -5
- package/dist/packages/_es/Image.js +4 -4
- package/dist/packages/_es/ImagePreview.js +10 -10
- package/dist/packages/_es/Indicator.js +3 -3
- package/dist/packages/_es/InfiniteLoading.js +5 -5
- package/dist/packages/_es/Input.js +4 -7
- package/dist/packages/_es/InputNumber.js +4 -4
- package/dist/packages/_es/Invoice.js +8 -8
- package/dist/packages/_es/Layout.js +2 -2
- package/dist/packages/_es/List.js +3 -3
- package/dist/packages/_es/Menu.js +4 -4
- package/dist/packages/_es/MenuItem.js +4 -4
- package/dist/packages/_es/Navbar.js +3 -3
- package/dist/packages/_es/Noticebar.js +5 -5
- package/dist/packages/_es/Notify.js +5 -5
- package/dist/packages/_es/NumberKeyboard.js +4 -4
- package/dist/packages/_es/Overlay.js +3 -3
- package/dist/packages/_es/Pagination.js +3 -3
- package/dist/packages/_es/Picker.js +5 -5
- package/dist/packages/_es/Popover.js +6 -6
- package/dist/packages/_es/Popup.js +4 -4
- package/dist/packages/_es/Price.js +3 -3
- package/dist/packages/_es/Progress.js +3 -3
- package/dist/packages/_es/PullRefresh.js +7 -7
- package/dist/packages/_es/Radio.js +5 -6
- package/dist/packages/_es/RadioGroup.js +4 -5
- package/dist/packages/_es/Range.js +5 -5
- package/dist/packages/_es/Rate.js +6 -6
- package/dist/packages/_es/Row.js +3 -3
- package/dist/packages/_es/Searchbar.js +4 -4
- package/dist/packages/_es/ShortPassword.js +4 -4
- package/dist/packages/_es/SideNavbar.js +3 -3
- package/dist/packages/_es/SideNavbarItem.js +3 -3
- package/dist/packages/_es/Signature.js +3 -3
- package/dist/packages/_es/Skeleton.js +3 -3
- package/dist/packages/_es/Sku.js +9 -9
- package/dist/packages/_es/Step.js +3 -3
- package/dist/packages/_es/Steps.js +2 -2
- package/dist/packages/_es/Sticky.js +5 -6
- package/dist/packages/_es/SubSideNavbar.js +3 -3
- package/dist/packages/_es/Swipe.js +4 -4
- package/dist/packages/_es/Swiper.js +4 -4
- package/dist/packages/_es/SwiperItem.js +4 -4
- package/dist/packages/_es/Switch.js +3 -3
- package/dist/packages/_es/TabPane.js +3 -3
- package/dist/packages/_es/Tabbar.js +3 -3
- package/dist/packages/_es/TabbarItem.js +8 -10
- package/dist/packages/_es/Table.js +3 -3
- package/dist/packages/_es/Tabs.js +8 -8
- package/dist/packages/_es/Tag.js +3 -3
- package/dist/packages/_es/Textarea.js +3 -3
- package/dist/packages/_es/TimeDetail.js +3 -3
- package/dist/packages/_es/TimePannel.js +3 -3
- package/dist/packages/_es/TimeSelect.js +4 -4
- package/dist/packages/_es/Toast.js +6 -6
- package/dist/packages/_es/Tour.js +9 -9
- package/dist/packages/_es/TrendArrow.js +3 -3
- package/dist/packages/_es/Uploader.js +7 -7
- package/dist/packages/_es/Video.js +3 -3
- package/dist/packages/_es/Watermark.js +4 -4
- package/dist/packages/_es/{_plugin-vue_export-helper.bf57b04e.js → _plugin-vue_export-helper-73a3d722.js} +1 -1
- package/dist/packages/_es/{common.4b8c0eb2.js → common-d5c1f4b1.js} +3 -3
- package/dist/packages/_es/{component.fb9ce7ad.js → component-48526d37.js} +2 -2
- package/dist/packages/_es/{index.3dd88014.js → index-281c4c2c.js} +12 -12
- package/dist/packages/_es/{index.1be0d1a5.js → index-95a5249b.js} +1 -1
- package/dist/packages/_es/{index.4ed42c18.js → index-b05fa625.js} +3 -3
- package/dist/packages/_es/{index.983240fc.js → index-c3e2c58b.js} +1 -1
- package/dist/packages/_es/{index.af02c42d.js → index-c70386a5.js} +1 -1
- package/dist/packages/_es/{index.617ba243.js → index-efc0d9e4.js} +1 -1
- package/dist/packages/_es/{index.51da6a3b.js → index-fe4c328e.js} +1 -1
- package/dist/packages/_es/{index.vue_vue_type_script_lang.ccc15054.js → index.vue_vue_type_script_lang-5d693346.js} +3 -3
- package/dist/packages/_es/{index.vue_vue_type_script_lang.de4367bf.js → index.vue_vue_type_script_lang-6a7b6f54.js} +2 -2
- package/dist/packages/_es/{index.vue_vue_type_script_lang.43efbcd1.js → index.vue_vue_type_script_lang-84b793e8.js} +3 -3
- package/dist/packages/_es/{index.vue_vue_type_script_lang.6e735bb8.js → index.vue_vue_type_script_lang-959515e8.js} +2 -2
- package/dist/packages/_es/{interceptor.ba45688c.js → interceptor-da627865.js} +2 -2
- package/dist/packages/_es/{mountComponent.dddeb43c.js → mountComponent-75cf7cfe.js} +2 -2
- package/dist/packages/_es/{pxCheck.09969b22.js → pxCheck-524650ac.js} +1 -1
- package/dist/packages/_es/{raf.42b42f63.js → raf-e90b8c4d.js} +1 -1
- package/dist/packages/_es/{renderIcon.f32ed340.js → renderIcon-d470170e.js} +1 -1
- package/dist/packages/actionsheet/index.mjs +2 -0
- package/dist/packages/actionsheet/{index.js → style.cjs} +0 -0
- package/dist/packages/actionsheet/style.mjs +3 -0
- package/dist/packages/address/index.mjs +2 -0
- package/dist/packages/address/{index.js → style.cjs} +0 -0
- package/dist/packages/address/style.mjs +4 -0
- package/dist/packages/addresslist/index.mjs +2 -0
- package/dist/packages/addresslist/{index.js → style.cjs} +0 -0
- package/dist/packages/addresslist/style.mjs +2 -0
- package/dist/packages/animate/index.mjs +2 -0
- package/dist/packages/animate/{index.js → style.cjs} +0 -0
- package/dist/packages/animate/style.mjs +1 -0
- package/dist/packages/audio/index.mjs +2 -0
- package/dist/packages/audio/{index.js → style.cjs} +0 -0
- package/dist/packages/audio/style.mjs +2 -0
- package/dist/packages/audiooperate/index.mjs +2 -0
- package/dist/packages/audiooperate/{index.js → style.cjs} +0 -0
- package/dist/packages/audiooperate/style.mjs +2 -0
- package/dist/packages/avatar/index.mjs +2 -0
- package/dist/packages/avatar/{index.js → style.cjs} +0 -0
- package/dist/packages/avatar/style.mjs +1 -0
- package/dist/packages/avatargroup/index.mjs +2 -0
- package/dist/packages/avatargroup/{index.js → style.cjs} +0 -0
- package/dist/packages/avatargroup/style.mjs +1 -0
- package/dist/packages/backtop/index.mjs +2 -0
- package/dist/packages/backtop/{index.js → style.cjs} +0 -0
- package/dist/packages/backtop/style.mjs +1 -0
- package/dist/packages/badge/index.mjs +2 -0
- package/dist/packages/badge/{index.js → style.cjs} +0 -0
- package/dist/packages/badge/style.mjs +1 -0
- package/dist/packages/barrage/index.mjs +2 -0
- package/dist/packages/barrage/{index.js → style.cjs} +0 -0
- package/dist/packages/barrage/style.mjs +1 -0
- package/dist/packages/button/index.mjs +2 -0
- package/dist/packages/button/{index.js → style.cjs} +0 -0
- package/dist/packages/button/style.mjs +1 -0
- package/dist/packages/calendar/index.mjs +2 -0
- package/dist/packages/calendar/{index.js → style.cjs} +0 -0
- package/dist/packages/calendar/style.mjs +4 -0
- package/dist/packages/calendaritem/index.mjs +2 -0
- package/dist/packages/calendaritem/{index.js → style.cjs} +0 -0
- package/dist/packages/calendaritem/style.mjs +1 -0
- package/dist/packages/card/index.mjs +2 -0
- package/dist/packages/card/{index.js → style.cjs} +0 -0
- package/dist/packages/card/style.mjs +3 -0
- package/dist/packages/cascader/index.mjs +2 -0
- package/dist/packages/cascader/{index.js → style.cjs} +0 -0
- package/dist/packages/cascader/style.mjs +6 -0
- package/dist/packages/category/index.mjs +2 -0
- package/dist/packages/category/{index.js → style.cjs} +0 -0
- package/dist/packages/category/style.mjs +1 -0
- package/dist/packages/categorypane/index.mjs +2 -0
- package/dist/packages/categorypane/{index.js → style.cjs} +0 -0
- package/dist/packages/categorypane/style.mjs +1 -0
- package/dist/packages/cell/index.mjs +2 -0
- package/dist/packages/cell/{index.js → style.cjs} +0 -0
- package/dist/packages/cell/style.mjs +1 -0
- package/dist/packages/cellgroup/index.mjs +2 -0
- package/dist/packages/cellgroup/{index.js → style.cjs} +0 -0
- package/dist/packages/cellgroup/style.mjs +1 -0
- package/dist/packages/checkbox/index.mjs +2 -0
- package/dist/packages/checkbox/{index.js → style.cjs} +0 -0
- package/dist/packages/checkbox/style.mjs +1 -0
- package/dist/packages/checkboxgroup/index.mjs +2 -0
- package/dist/packages/checkboxgroup/{index.js → style.cjs} +0 -0
- package/dist/packages/checkboxgroup/style.mjs +1 -0
- package/dist/packages/circleprogress/index.mjs +2 -0
- package/dist/packages/circleprogress/{index.js → style.cjs} +0 -0
- package/dist/packages/circleprogress/style.mjs +1 -0
- package/dist/packages/col/index.mjs +2 -0
- package/dist/packages/col/{index.js → style.cjs} +0 -0
- package/dist/packages/col/style.mjs +1 -0
- package/dist/packages/collapse/index.mjs +2 -0
- package/dist/packages/collapse/{index.js → style.cjs} +0 -0
- package/dist/packages/collapse/style.mjs +1 -0
- package/dist/packages/collapseitem/index.mjs +2 -0
- package/dist/packages/collapseitem/{index.js → style.cjs} +0 -0
- package/dist/packages/collapseitem/style.mjs +1 -0
- package/dist/packages/comment/index.mjs +2 -0
- package/dist/packages/comment/{index.js → style.cjs} +0 -0
- package/dist/packages/comment/style.mjs +2 -0
- package/dist/packages/configprovider/index.mjs +2 -0
- package/dist/packages/configprovider/{index.js → style.cjs} +0 -0
- package/dist/packages/configprovider/style.mjs +1 -0
- package/dist/packages/countdown/index.mjs +2 -0
- package/dist/packages/countdown/{index.js → style.cjs} +0 -0
- package/dist/packages/countdown/style.mjs +1 -0
- package/dist/packages/countup/index.mjs +2 -0
- package/dist/packages/countup/{index.js → style.cjs} +0 -0
- package/dist/packages/countup/style.mjs +1 -0
- package/dist/packages/datepicker/index.mjs +2 -0
- package/dist/packages/datepicker/{index.js → style.cjs} +0 -0
- package/dist/packages/datepicker/style.mjs +4 -0
- package/dist/packages/dialog/index.mjs +2 -0
- package/dist/packages/dialog/{index.js → style.cjs} +0 -0
- package/dist/packages/dialog/style.mjs +4 -0
- package/dist/packages/divider/index.mjs +2 -0
- package/dist/packages/divider/{index.js → style.cjs} +0 -0
- package/dist/packages/divider/style.mjs +1 -0
- package/dist/packages/drag/index.mjs +2 -0
- package/dist/packages/drag/{index.js → style.cjs} +0 -0
- package/dist/packages/drag/style.mjs +1 -0
- package/dist/packages/ecard/index.mjs +2 -0
- package/dist/packages/ecard/{index.js → style.cjs} +0 -0
- package/dist/packages/ecard/style.mjs +2 -0
- package/dist/packages/elevator/index.mjs +2 -0
- package/dist/packages/elevator/{index.js → style.cjs} +0 -0
- package/dist/packages/elevator/style.mjs +1 -0
- package/dist/packages/ellipsis/index.mjs +2 -0
- package/dist/packages/ellipsis/{index.js → style.cjs} +0 -0
- package/dist/packages/ellipsis/style.mjs +1 -0
- package/dist/packages/empty/index.mjs +2 -0
- package/dist/packages/empty/{index.js → style.cjs} +0 -0
- package/dist/packages/empty/style.mjs +1 -0
- package/dist/packages/fixednav/index.mjs +2 -0
- package/dist/packages/fixednav/{index.js → style.cjs} +0 -0
- package/dist/packages/fixednav/style.mjs +2 -0
- package/dist/packages/form/index.mjs +2 -0
- package/dist/packages/form/{index.js → style.cjs} +0 -0
- package/dist/packages/form/style.mjs +2 -0
- package/dist/packages/formitem/index.mjs +2 -0
- package/dist/packages/formitem/{index.js → style.cjs} +0 -0
- package/dist/packages/formitem/style.mjs +2 -0
- package/dist/packages/grid/index.mjs +2 -0
- package/dist/packages/grid/{index.js → style.cjs} +0 -0
- package/dist/packages/grid/style.mjs +1 -0
- package/dist/packages/griditem/index.mjs +2 -0
- package/dist/packages/griditem/{index.js → style.cjs} +0 -0
- package/dist/packages/griditem/style.mjs +1 -0
- package/dist/packages/icon/index.mjs +2 -0
- package/dist/packages/icon/{index.js → style.cjs} +0 -0
- package/dist/packages/icon/style.mjs +1 -0
- package/dist/packages/image/index.mjs +2 -0
- package/dist/packages/image/{index.js → style.cjs} +0 -0
- package/dist/packages/image/style.mjs +1 -0
- package/dist/packages/imagepreview/index.mjs +2 -0
- package/dist/packages/imagepreview/{index.js → style.cjs} +0 -0
- package/dist/packages/imagepreview/style.mjs +6 -0
- package/dist/packages/indicator/index.mjs +2 -0
- package/dist/packages/indicator/{index.js → style.cjs} +0 -0
- package/dist/packages/indicator/style.mjs +1 -0
- package/dist/packages/infiniteloading/index.mjs +2 -0
- package/dist/packages/infiniteloading/{index.js → style.cjs} +0 -0
- package/dist/packages/infiniteloading/style.mjs +1 -0
- package/dist/packages/input/index.mjs +2 -0
- package/dist/packages/input/{index.js → style.cjs} +0 -0
- package/dist/packages/input/style.mjs +1 -0
- package/dist/packages/inputnumber/index.mjs +2 -0
- package/dist/packages/inputnumber/{index.js → style.cjs} +0 -0
- package/dist/packages/inputnumber/style.mjs +1 -0
- package/dist/packages/invoice/index.mjs +2 -0
- package/dist/packages/invoice/{index.js → style.cjs} +0 -0
- package/dist/packages/invoice/style.mjs +8 -0
- package/dist/packages/layout/index.mjs +2 -0
- package/dist/packages/layout/{index.js → style.cjs} +0 -0
- package/dist/packages/layout/style.mjs +1 -0
- package/dist/packages/list/index.mjs +2 -0
- package/dist/packages/list/{index.js → style.cjs} +0 -0
- package/dist/packages/list/style.mjs +1 -0
- package/dist/packages/locale/lang/{baseLang.ff3ed8bc.js → baseLang-d9df8b94.js} +1 -1
- package/dist/packages/locale/lang/en-US.js +2 -2
- package/dist/packages/locale/lang/id-ID.js +2 -2
- package/dist/packages/locale/lang/index.js +2 -2
- package/dist/packages/locale/lang/zh-CN.js +111 -111
- package/dist/packages/locale/lang/zh-TW.js +111 -111
- package/dist/packages/menu/index.mjs +2 -0
- package/dist/packages/menu/{index.js → style.cjs} +0 -0
- package/dist/packages/menu/style.mjs +1 -0
- package/dist/packages/menuitem/index.mjs +2 -0
- package/dist/packages/menuitem/{index.js → style.cjs} +0 -0
- package/dist/packages/menuitem/style.mjs +3 -0
- package/dist/packages/navbar/index.mjs +2 -0
- package/dist/packages/navbar/{index.js → style.cjs} +0 -0
- package/dist/packages/navbar/style.mjs +1 -0
- package/dist/packages/noticebar/index.mjs +2 -0
- package/dist/packages/noticebar/{index.js → style.cjs} +0 -0
- package/dist/packages/noticebar/style.mjs +1 -0
- package/dist/packages/notify/index.mjs +2 -0
- package/dist/packages/notify/{index.js → style.cjs} +0 -0
- package/dist/packages/notify/style.mjs +3 -0
- package/dist/packages/numberkeyboard/index.mjs +2 -0
- package/dist/packages/numberkeyboard/{index.js → style.cjs} +0 -0
- package/dist/packages/numberkeyboard/style.mjs +3 -0
- package/dist/packages/overlay/index.mjs +2 -0
- package/dist/packages/overlay/{index.js → style.cjs} +0 -0
- package/dist/packages/overlay/style.mjs +1 -0
- package/dist/packages/pagination/index.mjs +2 -0
- package/dist/packages/pagination/{index.js → style.cjs} +0 -0
- package/dist/packages/pagination/style.mjs +1 -0
- package/dist/packages/picker/index.mjs +2 -0
- package/dist/packages/picker/{index.js → style.cjs} +0 -0
- package/dist/packages/picker/style.mjs +3 -0
- package/dist/packages/popover/index.mjs +2 -0
- package/dist/packages/popover/{index.js → style.cjs} +0 -0
- package/dist/packages/popover/style.mjs +3 -0
- package/dist/packages/popup/index.mjs +2 -0
- package/dist/packages/popup/{index.js → style.cjs} +0 -0
- package/dist/packages/popup/style.mjs +2 -0
- package/dist/packages/price/index.mjs +2 -0
- package/dist/packages/price/{index.js → style.cjs} +0 -0
- package/dist/packages/price/style.mjs +1 -0
- package/dist/packages/progress/index.mjs +2 -0
- package/dist/packages/progress/{index.js → style.cjs} +0 -0
- package/dist/packages/progress/style.mjs +1 -0
- package/dist/packages/pullrefresh/index.mjs +2 -0
- package/dist/packages/pullrefresh/{index.js → style.cjs} +0 -0
- package/dist/packages/pullrefresh/style.mjs +1 -0
- package/dist/packages/radio/index.mjs +2 -0
- package/dist/packages/radio/{index.js → style.cjs} +0 -0
- package/dist/packages/radio/style.mjs +1 -0
- package/dist/packages/radiogroup/index.mjs +2 -0
- package/dist/packages/radiogroup/{index.js → style.cjs} +0 -0
- package/dist/packages/radiogroup/style.mjs +1 -0
- package/dist/packages/range/index.mjs +2 -0
- package/dist/packages/range/{index.js → style.cjs} +0 -0
- package/dist/packages/range/style.mjs +1 -0
- package/dist/packages/rate/index.mjs +2 -0
- package/dist/packages/rate/{index.js → style.cjs} +0 -0
- package/dist/packages/rate/style.mjs +1 -0
- package/dist/packages/row/index.mjs +2 -0
- package/dist/packages/row/{index.js → style.cjs} +0 -0
- package/dist/packages/row/style.mjs +1 -0
- package/dist/packages/searchbar/index.mjs +2 -0
- package/dist/packages/searchbar/{index.js → style.cjs} +0 -0
- package/dist/packages/searchbar/style.mjs +1 -0
- package/dist/packages/shortpassword/index.mjs +2 -0
- package/dist/packages/shortpassword/{index.js → style.cjs} +0 -0
- package/dist/packages/shortpassword/style.mjs +3 -0
- package/dist/packages/sidenavbar/index.mjs +2 -0
- package/dist/packages/sidenavbar/{index.js → style.cjs} +0 -0
- package/dist/packages/sidenavbar/style.mjs +1 -0
- package/dist/packages/sidenavbaritem/index.mjs +2 -0
- package/dist/packages/sidenavbaritem/{index.js → style.cjs} +0 -0
- package/dist/packages/sidenavbaritem/style.mjs +1 -0
- package/dist/packages/signature/index.mjs +2 -0
- package/dist/packages/signature/{index.js → style.cjs} +0 -0
- package/dist/packages/signature/style.mjs +2 -0
- package/dist/packages/skeleton/index.mjs +2 -0
- package/dist/packages/skeleton/{index.js → style.cjs} +0 -0
- package/dist/packages/skeleton/style.mjs +2 -0
- package/dist/packages/sku/index.mjs +2 -0
- package/dist/packages/sku/{index.js → style.cjs} +0 -0
- package/dist/packages/sku/style.mjs +5 -0
- package/dist/packages/step/index.mjs +2 -0
- package/dist/packages/step/{index.js → style.cjs} +0 -0
- package/dist/packages/step/style.mjs +1 -0
- package/dist/packages/steps/index.mjs +2 -0
- package/dist/packages/steps/{index.js → style.cjs} +0 -0
- package/dist/packages/steps/style.mjs +1 -0
- package/dist/packages/sticky/index.mjs +2 -0
- package/dist/packages/sticky/{index.js → style.cjs} +0 -0
- package/dist/packages/sticky/style.mjs +1 -0
- package/dist/packages/subsidenavbar/index.mjs +2 -0
- package/dist/packages/subsidenavbar/{index.js → style.cjs} +0 -0
- package/dist/packages/subsidenavbar/style.mjs +1 -0
- package/dist/packages/swipe/index.mjs +2 -0
- package/dist/packages/swipe/{index.js → style.cjs} +0 -0
- package/dist/packages/swipe/style.mjs +1 -0
- package/dist/packages/swiper/index.mjs +2 -0
- package/dist/packages/swiper/{index.js → style.cjs} +0 -0
- package/dist/packages/swiper/style.mjs +1 -0
- package/dist/packages/swiperitem/index.mjs +2 -0
- package/dist/packages/swiperitem/{index.js → style.cjs} +0 -0
- package/dist/packages/swiperitem/style.mjs +1 -0
- package/dist/packages/switch/index.mjs +2 -0
- package/dist/packages/switch/{index.js → style.cjs} +0 -0
- package/dist/packages/switch/style.mjs +1 -0
- package/dist/packages/tabbar/index.mjs +2 -0
- package/dist/packages/tabbar/{index.js → style.cjs} +0 -0
- package/dist/packages/tabbar/style.mjs +1 -0
- package/dist/packages/tabbaritem/index.mjs +2 -0
- package/dist/packages/tabbaritem/{index.js → style.cjs} +0 -0
- package/dist/packages/tabbaritem/style.mjs +2 -0
- package/dist/packages/table/index.mjs +2 -0
- package/dist/packages/table/{index.js → style.cjs} +0 -0
- package/dist/packages/table/style.mjs +1 -0
- package/dist/packages/tabpane/index.mjs +2 -0
- package/dist/packages/tabpane/{index.js → style.cjs} +0 -0
- package/dist/packages/tabpane/style.mjs +1 -0
- package/dist/packages/tabs/index.mjs +2 -0
- package/dist/packages/tabs/{index.js → style.cjs} +0 -0
- package/dist/packages/tabs/style.mjs +2 -0
- package/dist/packages/tag/index.mjs +2 -0
- package/dist/packages/tag/{index.js → style.cjs} +0 -0
- package/dist/packages/tag/style.mjs +1 -0
- package/dist/packages/textarea/index.mjs +2 -0
- package/dist/packages/textarea/{index.js → style.cjs} +0 -0
- package/dist/packages/textarea/style.mjs +1 -0
- package/dist/packages/timedetail/index.mjs +2 -0
- package/dist/packages/timedetail/{index.js → style.cjs} +0 -0
- package/dist/packages/timedetail/style.mjs +1 -0
- package/dist/packages/timepannel/index.mjs +2 -0
- package/dist/packages/timepannel/{index.js → style.cjs} +0 -0
- package/dist/packages/timepannel/style.mjs +1 -0
- package/dist/packages/timeselect/index.mjs +2 -0
- package/dist/packages/timeselect/{index.js → style.cjs} +0 -0
- package/dist/packages/timeselect/style.mjs +3 -0
- package/dist/packages/toast/index.mjs +2 -0
- package/dist/packages/toast/{index.js → style.cjs} +0 -0
- package/dist/packages/toast/style.mjs +1 -0
- package/dist/packages/tour/index.mjs +2 -0
- package/dist/packages/tour/{index.js → style.cjs} +0 -0
- package/dist/packages/tour/style.mjs +4 -0
- package/dist/packages/trendarrow/index.mjs +2 -0
- package/dist/packages/trendarrow/{index.js → style.cjs} +0 -0
- package/dist/packages/trendarrow/style.mjs +1 -0
- package/dist/packages/uploader/index.mjs +2 -0
- package/dist/packages/uploader/{index.js → style.cjs} +0 -0
- package/dist/packages/uploader/style.mjs +3 -0
- package/dist/packages/video/index.mjs +2 -0
- package/dist/packages/video/{index.js → style.cjs} +0 -0
- package/dist/packages/video/style.mjs +1 -0
- package/dist/packages/watermark/index.mjs +2 -0
- package/dist/packages/watermark/{index.js → style.cjs} +0 -0
- package/dist/packages/watermark/style.mjs +1 -0
- package/dist/smartips/web-types.json +1 -1
- package/dist/style.css +19 -1
- package/dist/styles/{css-variables.scss → theme-deafult.scss} +1 -1
- package/dist/styles/theme-jdt.scss +898 -0
- package/dist/styles/themes/default.scss +48 -48
- package/dist/styles/themes/jdb.scss +48 -48
- package/dist/styles/themes/jddkh.scss +48 -48
- package/dist/styles/themes/jdt.scss +48 -48
- package/dist/styles/variables-jdt.scss +763 -707
- package/dist/styles/variables.scss +806 -733
- package/dist/types/index.d.ts +1 -1
- package/package.json +8 -8
- package/dist/nutui.js +0 -20064
- package/dist/packages/locale/index.scss +0 -1
- package/dist/packages/locale/lang/index.scss +0 -1
- package/dist/style.js +0 -4
package/dist/nutui.es.js
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export * from "./packages/Button/index.mjs";
|
|
2
|
+
export * from "./packages/Cell/index.mjs";
|
|
3
|
+
export * from "./packages/CellGroup/index.mjs";
|
|
4
|
+
export * from "./packages/Icon/index.mjs";
|
|
5
|
+
export * from "./packages/Overlay/index.mjs";
|
|
6
|
+
export * from "./packages/Popup/index.mjs";
|
|
7
|
+
export * from "./packages/ConfigProvider/index.mjs";
|
|
8
|
+
export * from "./packages/Image/index.mjs";
|
|
9
|
+
export * from "./packages/Layout/index.mjs";
|
|
10
|
+
export * from "./packages/Col/index.mjs";
|
|
11
|
+
export * from "./packages/Row/index.mjs";
|
|
12
|
+
export * from "./packages/Sticky/index.mjs";
|
|
13
|
+
export * from "./packages/Divider/index.mjs";
|
|
14
|
+
export * from "./packages/Grid/index.mjs";
|
|
15
|
+
export * from "./packages/GridItem/index.mjs";
|
|
16
|
+
export * from "./packages/Navbar/index.mjs";
|
|
17
|
+
export * from "./packages/FixedNav/index.mjs";
|
|
18
|
+
export * from "./packages/Menu/index.mjs";
|
|
19
|
+
export * from "./packages/MenuItem/index.mjs";
|
|
20
|
+
export * from "./packages/Tabbar/index.mjs";
|
|
21
|
+
export * from "./packages/TabbarItem/index.mjs";
|
|
22
|
+
export * from "./packages/Elevator/index.mjs";
|
|
23
|
+
export * from "./packages/Pagination/index.mjs";
|
|
24
|
+
export * from "./packages/Tabs/index.mjs";
|
|
25
|
+
export * from "./packages/TabPane/index.mjs";
|
|
26
|
+
export * from "./packages/Indicator/index.mjs";
|
|
27
|
+
export * from "./packages/SideNavbar/index.mjs";
|
|
28
|
+
export * from "./packages/SideNavbarItem/index.mjs";
|
|
29
|
+
export * from "./packages/SubSideNavbar/index.mjs";
|
|
30
|
+
export * from "./packages/Range/index.mjs";
|
|
31
|
+
export * from "./packages/Searchbar/index.mjs";
|
|
32
|
+
export * from "./packages/Cascader/index.mjs";
|
|
33
|
+
export * from "./packages/Calendar/index.mjs";
|
|
34
|
+
export * from "./packages/Checkbox/index.mjs";
|
|
35
|
+
export * from "./packages/CheckboxGroup/index.mjs";
|
|
36
|
+
export * from "./packages/DatePicker/index.mjs";
|
|
37
|
+
export * from "./packages/InputNumber/index.mjs";
|
|
38
|
+
export * from "./packages/Input/index.mjs";
|
|
39
|
+
export * from "./packages/Radio/index.mjs";
|
|
40
|
+
export * from "./packages/RadioGroup/index.mjs";
|
|
41
|
+
export * from "./packages/Rate/index.mjs";
|
|
42
|
+
export * from "./packages/CalendarItem/index.mjs";
|
|
43
|
+
export * from "./packages/Picker/index.mjs";
|
|
44
|
+
export * from "./packages/ShortPassword/index.mjs";
|
|
45
|
+
export * from "./packages/Textarea/index.mjs";
|
|
46
|
+
export * from "./packages/Uploader/index.mjs";
|
|
47
|
+
export * from "./packages/NumberKeyboard/index.mjs";
|
|
48
|
+
export * from "./packages/Form/index.mjs";
|
|
49
|
+
export * from "./packages/FormItem/index.mjs";
|
|
50
|
+
export * from "./packages/Swipe/index.mjs";
|
|
51
|
+
export * from "./packages/ActionSheet/index.mjs";
|
|
52
|
+
export * from "./packages/Backtop/index.mjs";
|
|
53
|
+
export * from "./packages/Drag/index.mjs";
|
|
54
|
+
export * from "./packages/Dialog/index.mjs";
|
|
55
|
+
export * from "./packages/InfiniteLoading/index.mjs";
|
|
56
|
+
export * from "./packages/PullRefresh/index.mjs";
|
|
57
|
+
export * from "./packages/Notify/index.mjs";
|
|
58
|
+
export * from "./packages/Switch/index.mjs";
|
|
59
|
+
export * from "./packages/Toast/index.mjs";
|
|
60
|
+
export * from "./packages/Audio/index.mjs";
|
|
61
|
+
export * from "./packages/AudioOperate/index.mjs";
|
|
62
|
+
export * from "./packages/Avatar/index.mjs";
|
|
63
|
+
export * from "./packages/AvatarGroup/index.mjs";
|
|
64
|
+
export * from "./packages/List/index.mjs";
|
|
65
|
+
export * from "./packages/Progress/index.mjs";
|
|
66
|
+
export * from "./packages/CircleProgress/index.mjs";
|
|
67
|
+
export * from "./packages/Noticebar/index.mjs";
|
|
68
|
+
export * from "./packages/Empty/index.mjs";
|
|
69
|
+
export * from "./packages/Video/index.mjs";
|
|
70
|
+
export * from "./packages/Steps/index.mjs";
|
|
71
|
+
export * from "./packages/Step/index.mjs";
|
|
72
|
+
export * from "./packages/Swiper/index.mjs";
|
|
73
|
+
export * from "./packages/SwiperItem/index.mjs";
|
|
74
|
+
export * from "./packages/Price/index.mjs";
|
|
75
|
+
export * from "./packages/ImagePreview/index.mjs";
|
|
76
|
+
export * from "./packages/Countup/index.mjs";
|
|
77
|
+
export * from "./packages/Countdown/index.mjs";
|
|
78
|
+
export * from "./packages/Badge/index.mjs";
|
|
79
|
+
export * from "./packages/Tag/index.mjs";
|
|
80
|
+
export * from "./packages/Popover/index.mjs";
|
|
81
|
+
export * from "./packages/Skeleton/index.mjs";
|
|
82
|
+
export * from "./packages/Collapse/index.mjs";
|
|
83
|
+
export * from "./packages/CollapseItem/index.mjs";
|
|
84
|
+
export * from "./packages/Table/index.mjs";
|
|
85
|
+
export * from "./packages/Animate/index.mjs";
|
|
86
|
+
export * from "./packages/Ellipsis/index.mjs";
|
|
87
|
+
export * from "./packages/Watermark/index.mjs";
|
|
88
|
+
export * from "./packages/TrendArrow/index.mjs";
|
|
89
|
+
export * from "./packages/Tour/index.mjs";
|
|
90
|
+
export * from "./packages/Address/index.mjs";
|
|
91
|
+
export * from "./packages/Barrage/index.mjs";
|
|
92
|
+
export * from "./packages/Signature/index.mjs";
|
|
93
|
+
export * from "./packages/TimeSelect/index.mjs";
|
|
94
|
+
export * from "./packages/TimePannel/index.mjs";
|
|
95
|
+
export * from "./packages/TimeDetail/index.mjs";
|
|
96
|
+
export * from "./packages/Sku/index.mjs";
|
|
97
|
+
export * from "./packages/Card/index.mjs";
|
|
98
|
+
export * from "./packages/Ecard/index.mjs";
|
|
99
|
+
export * from "./packages/AddressList/index.mjs";
|
|
100
|
+
export * from "./packages/Category/index.mjs";
|
|
101
|
+
export * from "./packages/CategoryPane/index.mjs";
|
|
102
|
+
export * from "./packages/Comment/index.mjs";
|
|
103
|
+
export * from "./packages/Invoice/index.mjs";
|
package/dist/nutui.umd.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
/*!
|
|
8
|
-
* @nutui/nutui v4.0.0-beta.
|
|
8
|
+
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:53 GMT+0800 (中国标准时间)
|
|
9
9
|
* (c) 2022 @jdf2e.
|
|
10
10
|
* Released under the MIT License.
|
|
11
11
|
*/
|
|
@@ -15,116 +15,116 @@ var __publicField = (obj, key, value) => {
|
|
|
15
15
|
"use strict";
|
|
16
16
|
class BaseLang {
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
let Lang$1 = class Lang extends BaseLang {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
21
|
-
__publicField(this, "save", "
|
|
22
|
-
__publicField(this, "confirm", "
|
|
23
|
-
__publicField(this, "cancel", "
|
|
24
|
-
__publicField(this, "done", "
|
|
25
|
-
__publicField(this, "noData", "
|
|
26
|
-
__publicField(this, "placeholder", "
|
|
27
|
-
__publicField(this, "select", "
|
|
21
|
+
__publicField(this, "save", "保存");
|
|
22
|
+
__publicField(this, "confirm", "确认");
|
|
23
|
+
__publicField(this, "cancel", "取消");
|
|
24
|
+
__publicField(this, "done", "完成");
|
|
25
|
+
__publicField(this, "noData", "暂无数据");
|
|
26
|
+
__publicField(this, "placeholder", "请输入");
|
|
27
|
+
__publicField(this, "select", "请选择");
|
|
28
28
|
__publicField(this, "video", {
|
|
29
|
-
errorTip: "
|
|
30
|
-
clickRetry: "
|
|
29
|
+
errorTip: "视频加载失败",
|
|
30
|
+
clickRetry: "点击重试"
|
|
31
31
|
});
|
|
32
32
|
__publicField(this, "fixednav", {
|
|
33
|
-
activeText: "
|
|
34
|
-
unActiveText: "
|
|
33
|
+
activeText: "收起导航",
|
|
34
|
+
unActiveText: "快速导航"
|
|
35
35
|
});
|
|
36
36
|
__publicField(this, "pagination", {
|
|
37
|
-
prev: "
|
|
38
|
-
next: "
|
|
37
|
+
prev: "上一页",
|
|
38
|
+
next: "下一页"
|
|
39
39
|
});
|
|
40
40
|
__publicField(this, "calendaritem", {
|
|
41
|
-
weekdays: ["
|
|
42
|
-
end: "
|
|
43
|
-
start: "
|
|
44
|
-
title: "
|
|
45
|
-
monthTitle: (year, month) => `${year}
|
|
46
|
-
today: "
|
|
41
|
+
weekdays: ["日", "一", "二", "三", "四", "五", "六"],
|
|
42
|
+
end: "结束",
|
|
43
|
+
start: "开始",
|
|
44
|
+
title: "日历选择",
|
|
45
|
+
monthTitle: (year, month) => `${year}年${month}月`,
|
|
46
|
+
today: "今天"
|
|
47
47
|
});
|
|
48
48
|
__publicField(this, "shortpassword", {
|
|
49
|
-
title: "
|
|
50
|
-
desc: "
|
|
51
|
-
tips: "
|
|
49
|
+
title: "请输入密码",
|
|
50
|
+
desc: "您使用了虚拟资产,请进行验证",
|
|
51
|
+
tips: "忘记密码"
|
|
52
52
|
});
|
|
53
53
|
__publicField(this, "uploader", {
|
|
54
|
-
ready: "
|
|
55
|
-
readyUpload: "
|
|
56
|
-
waitingUpload: "
|
|
57
|
-
uploading: "
|
|
58
|
-
success: "
|
|
59
|
-
error: "
|
|
54
|
+
ready: "准备完成",
|
|
55
|
+
readyUpload: "准备上传",
|
|
56
|
+
waitingUpload: "等待上传",
|
|
57
|
+
uploading: "上传中",
|
|
58
|
+
success: "上传成功",
|
|
59
|
+
error: "上传失败"
|
|
60
60
|
});
|
|
61
61
|
__publicField(this, "countdown", {
|
|
62
|
-
day: "
|
|
63
|
-
hour: "
|
|
64
|
-
minute: "
|
|
65
|
-
second: "
|
|
62
|
+
day: "天",
|
|
63
|
+
hour: "时",
|
|
64
|
+
minute: "分",
|
|
65
|
+
second: "秒"
|
|
66
66
|
});
|
|
67
67
|
__publicField(this, "address", {
|
|
68
|
-
selectRegion: "
|
|
69
|
-
deliveryTo: "
|
|
70
|
-
chooseAnotherAddress: "
|
|
68
|
+
selectRegion: "请选择所在地区",
|
|
69
|
+
deliveryTo: "配送至",
|
|
70
|
+
chooseAnotherAddress: "选择其他地址"
|
|
71
71
|
});
|
|
72
72
|
__publicField(this, "signature", {
|
|
73
|
-
reSign: "
|
|
74
|
-
unSupportTpl: "
|
|
73
|
+
reSign: "重签",
|
|
74
|
+
unSupportTpl: "对不起,当前浏览器不支持Canvas,无法使用本控件!"
|
|
75
75
|
});
|
|
76
76
|
__publicField(this, "ecard", {
|
|
77
|
-
chooseText: "
|
|
78
|
-
otherValueText: "
|
|
79
|
-
placeholder: "
|
|
77
|
+
chooseText: "请选择电子卡面值",
|
|
78
|
+
otherValueText: "其他面值",
|
|
79
|
+
placeholder: "请输入1-5000整数"
|
|
80
80
|
});
|
|
81
81
|
__publicField(this, "timeselect", {
|
|
82
|
-
pickupTime: "
|
|
82
|
+
pickupTime: "取件时间"
|
|
83
83
|
});
|
|
84
84
|
__publicField(this, "sku", {
|
|
85
|
-
buyNow: "
|
|
86
|
-
buyNumber: "
|
|
87
|
-
addToCart: "
|
|
85
|
+
buyNow: "立即购买",
|
|
86
|
+
buyNumber: "购买数量",
|
|
87
|
+
addToCart: "加入购物车"
|
|
88
88
|
});
|
|
89
89
|
__publicField(this, "skuheader", {
|
|
90
|
-
skuId: "
|
|
90
|
+
skuId: "商品编号"
|
|
91
91
|
});
|
|
92
92
|
__publicField(this, "addresslist", {
|
|
93
|
-
addAddress: "
|
|
94
|
-
default: "
|
|
93
|
+
addAddress: "新建地址",
|
|
94
|
+
default: "默认"
|
|
95
95
|
});
|
|
96
96
|
__publicField(this, "comment", {
|
|
97
|
-
complaintsText: "
|
|
98
|
-
additionalReview: (day) =>
|
|
99
|
-
additionalImages: (length) => `${length}
|
|
97
|
+
complaintsText: "我要投诉",
|
|
98
|
+
additionalReview: (day) => `购买${day}天后追评`,
|
|
99
|
+
additionalImages: (length) => `${length}张追评图片`
|
|
100
100
|
});
|
|
101
101
|
__publicField(this, "infiniteloading", {
|
|
102
|
-
loading: "
|
|
103
|
-
pullTxt: "
|
|
104
|
-
loadMoreTxt: "
|
|
102
|
+
loading: "加载中...",
|
|
103
|
+
pullTxt: "松开刷新",
|
|
104
|
+
loadMoreTxt: "哎呀,这里是底部了啦"
|
|
105
105
|
});
|
|
106
106
|
__publicField(this, "datepicker", {
|
|
107
|
-
year: "
|
|
108
|
-
month: "
|
|
109
|
-
day: "
|
|
110
|
-
hour: "
|
|
111
|
-
min: "
|
|
112
|
-
seconds: "
|
|
107
|
+
year: "年",
|
|
108
|
+
month: "月",
|
|
109
|
+
day: "日",
|
|
110
|
+
hour: "时",
|
|
111
|
+
min: "分",
|
|
112
|
+
seconds: "秒"
|
|
113
113
|
});
|
|
114
114
|
__publicField(this, "audiooperate", {
|
|
115
|
-
back: "
|
|
116
|
-
start: "
|
|
117
|
-
pause: "
|
|
118
|
-
forward: "
|
|
119
|
-
mute: "
|
|
115
|
+
back: "倒退",
|
|
116
|
+
start: "开始",
|
|
117
|
+
pause: "暂停",
|
|
118
|
+
forward: "快进",
|
|
119
|
+
mute: "静音"
|
|
120
120
|
});
|
|
121
121
|
__publicField(this, "pullrefresh", {
|
|
122
|
-
pulling: "
|
|
123
|
-
loosing: "
|
|
124
|
-
loading: "
|
|
122
|
+
pulling: "下拉刷新",
|
|
123
|
+
loosing: "释放刷新",
|
|
124
|
+
loading: "加载中..."
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
|
-
}
|
|
127
|
+
};
|
|
128
128
|
class Lang extends BaseLang {
|
|
129
129
|
constructor() {
|
|
130
130
|
super(...arguments);
|
|
@@ -349,7 +349,7 @@ var __publicField = (obj, key, value) => {
|
|
|
349
349
|
};
|
|
350
350
|
function myFixed(num, digit = 2) {
|
|
351
351
|
if (Object.is(parseFloat(num), NaN)) {
|
|
352
|
-
return console.log(
|
|
352
|
+
return console.log(`传入的值:${num}不是一个数字`);
|
|
353
353
|
}
|
|
354
354
|
num = parseFloat(num);
|
|
355
355
|
return (Math.round((num + Number.EPSILON) * Math.pow(10, digit)) / Math.pow(10, digit)).toFixed(digit);
|
|
@@ -2691,25 +2691,23 @@ var __publicField = (obj, key, value) => {
|
|
|
2691
2691
|
});
|
|
2692
2692
|
const router = useRouter();
|
|
2693
2693
|
const relation = (child) => {
|
|
2694
|
-
var _a;
|
|
2695
2694
|
if (child.proxy) {
|
|
2696
2695
|
parent.children.push(child.proxy);
|
|
2697
2696
|
const index = parent.children.indexOf(child.proxy);
|
|
2698
|
-
state.index =
|
|
2697
|
+
state.index = props.name ?? index;
|
|
2699
2698
|
}
|
|
2700
2699
|
};
|
|
2701
2700
|
relation(vue.getCurrentInstance());
|
|
2702
2701
|
const active = vue.computed(() => state.index === state.active);
|
|
2703
2702
|
function change() {
|
|
2704
|
-
|
|
2705
|
-
let key = (_a = props.name) != null ? _a : state.index;
|
|
2703
|
+
let key = props.name ?? state.index;
|
|
2706
2704
|
let index = null;
|
|
2707
2705
|
if (props.name) {
|
|
2708
2706
|
index = parent.children.findIndex((item) => {
|
|
2709
2707
|
return item.name == key;
|
|
2710
2708
|
});
|
|
2711
2709
|
}
|
|
2712
|
-
parent.changeIndex(index
|
|
2710
|
+
parent.changeIndex(index ?? key, state.index);
|
|
2713
2711
|
}
|
|
2714
2712
|
const choosed = vue.computed(() => {
|
|
2715
2713
|
if (parent) {
|
|
@@ -3316,9 +3314,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3316
3314
|
const findTabsIndex = (value) => {
|
|
3317
3315
|
let index = titles.value.findIndex((item) => item.paneKey == value);
|
|
3318
3316
|
if (titles.value.length == 0) {
|
|
3319
|
-
console.error("[NutUI] <Tabs>
|
|
3317
|
+
console.error("[NutUI] <Tabs> 当前未找到 TabPane 组件元素 , 请检查 .");
|
|
3320
3318
|
} else if (index == -1) {
|
|
3321
|
-
console.error("[NutUI] <Tabs>
|
|
3319
|
+
console.error("[NutUI] <Tabs> 请检查 v-model 值是否为 paneKey ,如 paneKey 未设置,请采用下标控制 .");
|
|
3322
3320
|
} else {
|
|
3323
3321
|
currentIndex.value = index;
|
|
3324
3322
|
}
|
|
@@ -5044,13 +5042,13 @@ var __publicField = (obj, key, value) => {
|
|
|
5044
5042
|
const date = new Date(year + "/" + month + "/" + day);
|
|
5045
5043
|
const index = date.getDay();
|
|
5046
5044
|
const dayNames = [
|
|
5047
|
-
"
|
|
5048
|
-
"
|
|
5049
|
-
"
|
|
5050
|
-
"
|
|
5051
|
-
"
|
|
5052
|
-
"
|
|
5053
|
-
"
|
|
5045
|
+
"星期日",
|
|
5046
|
+
"星期一",
|
|
5047
|
+
"星期二",
|
|
5048
|
+
"星期三",
|
|
5049
|
+
"星期四",
|
|
5050
|
+
"星期五",
|
|
5051
|
+
"星期六"
|
|
5054
5052
|
];
|
|
5055
5053
|
return dayNames[index];
|
|
5056
5054
|
},
|
|
@@ -7519,10 +7517,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7519
7517
|
setup(props, { emit, slots }) {
|
|
7520
7518
|
const active = vue.ref(false);
|
|
7521
7519
|
const inputRef = vue.ref();
|
|
7522
|
-
const getModelValue = () =>
|
|
7523
|
-
var _a;
|
|
7524
|
-
return String((_a = props.modelValue) != null ? _a : "");
|
|
7525
|
-
};
|
|
7520
|
+
const getModelValue = () => String(props.modelValue ?? "");
|
|
7526
7521
|
const renderInput = (type) => {
|
|
7527
7522
|
return vue.h("input", {
|
|
7528
7523
|
style: styles,
|
|
@@ -8348,7 +8343,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8348
8343
|
__publicField(this, "beforeXhrUpload");
|
|
8349
8344
|
}
|
|
8350
8345
|
}
|
|
8351
|
-
|
|
8346
|
+
let Uploader$1 = class Uploader {
|
|
8352
8347
|
constructor(options) {
|
|
8353
8348
|
__publicField(this, "options");
|
|
8354
8349
|
this.options = options;
|
|
@@ -8389,10 +8384,10 @@ var __publicField = (obj, key, value) => {
|
|
|
8389
8384
|
xhr.send(options.formData);
|
|
8390
8385
|
}
|
|
8391
8386
|
} else {
|
|
8392
|
-
console.warn("
|
|
8387
|
+
console.warn("浏览器不支持 XMLHttpRequest");
|
|
8393
8388
|
}
|
|
8394
8389
|
}
|
|
8395
|
-
}
|
|
8390
|
+
};
|
|
8396
8391
|
const { translate: translate$k } = createComponent("uploader");
|
|
8397
8392
|
class FileItem {
|
|
8398
8393
|
constructor() {
|
|
@@ -8877,7 +8872,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8877
8872
|
class: "nut-uploader__preview-img__file__name"
|
|
8878
8873
|
}, [
|
|
8879
8874
|
vue.createVNode(_component_Link, { color: "#808080" }),
|
|
8880
|
-
vue.createTextVNode("
|
|
8875
|
+
vue.createTextVNode(" " + vue.toDisplayString(item.name), 1)
|
|
8881
8876
|
], 8, _hoisted_8$a)
|
|
8882
8877
|
])),
|
|
8883
8878
|
vue.createElementVNode("view", _hoisted_9$8, vue.toDisplayString(item.name), 1)
|
|
@@ -8887,7 +8882,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8887
8882
|
class: vue.normalizeClass(["nut-uploader__preview-img__file__name", [item.status]])
|
|
8888
8883
|
}, [
|
|
8889
8884
|
vue.createVNode(_component_Link),
|
|
8890
|
-
vue.createTextVNode("
|
|
8885
|
+
vue.createTextVNode(" " + vue.toDisplayString(item.name), 1)
|
|
8891
8886
|
], 10, _hoisted_11$4),
|
|
8892
8887
|
vue.createVNode(_component_Del, {
|
|
8893
8888
|
color: "#808080",
|
|
@@ -9266,7 +9261,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9266
9261
|
});
|
|
9267
9262
|
};
|
|
9268
9263
|
if (!prop) {
|
|
9269
|
-
console.warn("[NutUI] <FormItem>
|
|
9264
|
+
console.warn("[NutUI] <FormItem> 使用 rules 校验规则时 , 必须设置 prop 参数");
|
|
9270
9265
|
}
|
|
9271
9266
|
const value = getPropByPath(props.modelValue, prop || "");
|
|
9272
9267
|
tipMessage({ prop, message: "" });
|
|
@@ -10763,7 +10758,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10763
10758
|
vue.watch(
|
|
10764
10759
|
() => props.modelValue,
|
|
10765
10760
|
(val) => {
|
|
10766
|
-
console.log("
|
|
10761
|
+
console.log("监听", val);
|
|
10767
10762
|
if (val) {
|
|
10768
10763
|
setPullStatus(+props.headHeight, true);
|
|
10769
10764
|
vue.nextTick(() => emit("refresh"));
|
|
@@ -10997,7 +10992,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10997
10992
|
};
|
|
10998
10993
|
const errorMsg$1 = (msg) => {
|
|
10999
10994
|
if (!msg) {
|
|
11000
|
-
console.warn("[NutUI Notify]: msg
|
|
10995
|
+
console.warn("[NutUI Notify]: msg不能为空");
|
|
11001
10996
|
return;
|
|
11002
10997
|
}
|
|
11003
10998
|
};
|
|
@@ -11403,7 +11398,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11403
11398
|
};
|
|
11404
11399
|
const errorMsg = (msg) => {
|
|
11405
11400
|
if (!msg) {
|
|
11406
|
-
console.warn("[NutUI Toast]: msg
|
|
11401
|
+
console.warn("[NutUI Toast]: msg不能为空");
|
|
11407
11402
|
return;
|
|
11408
11403
|
}
|
|
11409
11404
|
};
|
|
@@ -11748,7 +11743,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11748
11743
|
size: "small"
|
|
11749
11744
|
}, {
|
|
11750
11745
|
default: vue.withCtx(() => [
|
|
11751
|
-
vue.createTextVNode("
|
|
11746
|
+
vue.createTextVNode("快进")
|
|
11752
11747
|
]),
|
|
11753
11748
|
_: 1
|
|
11754
11749
|
})) : vue.createCommentVNode("", true),
|
|
@@ -16465,7 +16460,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16465
16460
|
state.base64Url = canvas.toDataURL();
|
|
16466
16461
|
}
|
|
16467
16462
|
} else {
|
|
16468
|
-
throw new Error("
|
|
16463
|
+
throw new Error("当前环境不支持Canvas");
|
|
16469
16464
|
}
|
|
16470
16465
|
};
|
|
16471
16466
|
init();
|
|
@@ -16637,15 +16632,15 @@ var __publicField = (obj, key, value) => {
|
|
|
16637
16632
|
},
|
|
16638
16633
|
nextStepTxt: {
|
|
16639
16634
|
type: String,
|
|
16640
|
-
default: "
|
|
16635
|
+
default: "下一步"
|
|
16641
16636
|
},
|
|
16642
16637
|
prevStepTxt: {
|
|
16643
16638
|
type: String,
|
|
16644
|
-
default: "
|
|
16639
|
+
default: "上一步"
|
|
16645
16640
|
},
|
|
16646
16641
|
completeTxt: {
|
|
16647
16642
|
type: String,
|
|
16648
|
-
default: "
|
|
16643
|
+
default: "完成"
|
|
16649
16644
|
},
|
|
16650
16645
|
mask: {
|
|
16651
16646
|
type: Boolean,
|
|
@@ -16957,7 +16952,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16957
16952
|
return [];
|
|
16958
16953
|
data.forEach((item) => {
|
|
16959
16954
|
if (!item.title) {
|
|
16960
|
-
console.error("[NutUI] <Address>
|
|
16955
|
+
console.error("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");
|
|
16961
16956
|
return;
|
|
16962
16957
|
}
|
|
16963
16958
|
});
|
|
@@ -17958,7 +17953,7 @@ var __publicField = (obj, key, value) => {
|
|
|
17958
17953
|
thousands: false
|
|
17959
17954
|
}, null, 8, ["price"])),
|
|
17960
17955
|
_ctx.getSlots("sku-header-extra") ? vue.renderSlot(_ctx.$slots, "sku-header-extra", { key: 2 }) : vue.createCommentVNode("", true),
|
|
17961
|
-
_ctx.goods.skuId && !_ctx.getSlots("sku-header-extra") ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$d, vue.toDisplayString(_ctx.translate("skuId")) + "
|
|
17956
|
+
_ctx.goods.skuId && !_ctx.getSlots("sku-header-extra") ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$d, vue.toDisplayString(_ctx.translate("skuId")) + " : " + vue.toDisplayString(_ctx.goods.skuId), 1)) : vue.createCommentVNode("", true)
|
|
17962
17957
|
])
|
|
17963
17958
|
]);
|
|
17964
17959
|
}
|
|
@@ -18046,7 +18041,7 @@ var __publicField = (obj, key, value) => {
|
|
|
18046
18041
|
},
|
|
18047
18042
|
stepperTitle: {
|
|
18048
18043
|
type: String,
|
|
18049
|
-
default: "
|
|
18044
|
+
default: "购买数量"
|
|
18050
18045
|
}
|
|
18051
18046
|
},
|
|
18052
18047
|
emits: ["click", "changeSku", "changeStepper", "clickBtnOptions", "overLimit", "reduce", "add"],
|
|
@@ -18129,15 +18124,15 @@ var __publicField = (obj, key, value) => {
|
|
|
18129
18124
|
},
|
|
18130
18125
|
buyText: {
|
|
18131
18126
|
type: String,
|
|
18132
|
-
default: "
|
|
18127
|
+
default: "立即购买"
|
|
18133
18128
|
},
|
|
18134
18129
|
addCartText: {
|
|
18135
18130
|
type: String,
|
|
18136
|
-
default: "
|
|
18131
|
+
default: "加入购物车"
|
|
18137
18132
|
},
|
|
18138
18133
|
confirmText: {
|
|
18139
18134
|
type: String,
|
|
18140
|
-
default: "
|
|
18135
|
+
default: "确定"
|
|
18141
18136
|
}
|
|
18142
18137
|
},
|
|
18143
18138
|
emits: ["click", "changeSku", "changeBuyCount", "clickBtnOperate"],
|
|
@@ -18571,7 +18566,7 @@ var __publicField = (obj, key, value) => {
|
|
|
18571
18566
|
},
|
|
18572
18567
|
suffix: {
|
|
18573
18568
|
type: String,
|
|
18574
|
-
default: "
|
|
18569
|
+
default: "¥"
|
|
18575
18570
|
}
|
|
18576
18571
|
},
|
|
18577
18572
|
emits: ["inputChange", "changeStep", "inputClick", "change", "update:modelValue"],
|
|
@@ -18828,7 +18823,7 @@ var __publicField = (obj, key, value) => {
|
|
|
18828
18823
|
onClick: _ctx.swipeDelClick
|
|
18829
18824
|
}, {
|
|
18830
18825
|
default: vue.withCtx(() => [
|
|
18831
|
-
vue.createTextVNode("
|
|
18826
|
+
vue.createTextVNode("删除")
|
|
18832
18827
|
]),
|
|
18833
18828
|
_: 1
|
|
18834
18829
|
}, 8, ["onClick"])
|
|
@@ -18948,25 +18943,25 @@ var __publicField = (obj, key, value) => {
|
|
|
18948
18943
|
});
|
|
18949
18944
|
const _hoisted_1$7 = { class: "nut-address-list-general" };
|
|
18950
18945
|
const _hoisted_2$7 = /* @__PURE__ */ vue.createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
|
|
18951
|
-
/* @__PURE__ */ vue.createTextVNode("
|
|
18946
|
+
/* @__PURE__ */ vue.createTextVNode(" 复制"),
|
|
18952
18947
|
/* @__PURE__ */ vue.createElementVNode("br"),
|
|
18953
|
-
/* @__PURE__ */ vue.createTextVNode("
|
|
18948
|
+
/* @__PURE__ */ vue.createTextVNode("地址 ")
|
|
18954
18949
|
], -1);
|
|
18955
18950
|
const _hoisted_3$6 = [
|
|
18956
18951
|
_hoisted_2$7
|
|
18957
18952
|
];
|
|
18958
18953
|
const _hoisted_4$6 = /* @__PURE__ */ vue.createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
|
|
18959
|
-
/* @__PURE__ */ vue.createTextVNode("
|
|
18954
|
+
/* @__PURE__ */ vue.createTextVNode(" 设置"),
|
|
18960
18955
|
/* @__PURE__ */ vue.createElementVNode("br"),
|
|
18961
|
-
/* @__PURE__ */ vue.createTextVNode("
|
|
18956
|
+
/* @__PURE__ */ vue.createTextVNode("默认 ")
|
|
18962
18957
|
], -1);
|
|
18963
18958
|
const _hoisted_5$3 = [
|
|
18964
18959
|
_hoisted_4$6
|
|
18965
18960
|
];
|
|
18966
18961
|
const _hoisted_6$2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
|
|
18967
|
-
/* @__PURE__ */ vue.createTextVNode("
|
|
18962
|
+
/* @__PURE__ */ vue.createTextVNode(" 删除"),
|
|
18968
18963
|
/* @__PURE__ */ vue.createElementVNode("br"),
|
|
18969
|
-
/* @__PURE__ */ vue.createTextVNode("
|
|
18964
|
+
/* @__PURE__ */ vue.createTextVNode("地址 ")
|
|
18970
18965
|
], -1);
|
|
18971
18966
|
const _hoisted_7$1 = [
|
|
18972
18967
|
_hoisted_6$2
|
|
@@ -19056,10 +19051,10 @@ var __publicField = (obj, key, value) => {
|
|
|
19056
19051
|
const dataArray = vue.ref([]);
|
|
19057
19052
|
const dataInfo = vue.reactive({
|
|
19058
19053
|
id: 2,
|
|
19059
|
-
addressName: "
|
|
19054
|
+
addressName: "姓名",
|
|
19060
19055
|
phone: "123****4567",
|
|
19061
19056
|
defaultAddress: false,
|
|
19062
|
-
fullAddress: "
|
|
19057
|
+
fullAddress: "北京市通州区测试测试测试测试测试测试测试测试测试"
|
|
19063
19058
|
});
|
|
19064
19059
|
const classes = vue.computed(() => {
|
|
19065
19060
|
const prefixCls = componentName$7;
|
|
@@ -19574,7 +19569,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19574
19569
|
src: itI.smallImgUrl ? itI.smallImgUrl : itI.imgUrl
|
|
19575
19570
|
}, null, 8, _hoisted_5),
|
|
19576
19571
|
_ctx.type == "multi" && _ctx.totalImages.length > 9 && _ctx.videos.length + index > 7 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6, [
|
|
19577
|
-
vue.createElementVNode("span", null, "
|
|
19572
|
+
vue.createElementVNode("span", null, "共 " + vue.toDisplayString(_ctx.totalImages.length) + " 张", 1),
|
|
19578
19573
|
vue.createVNode(_component_Right, { style: { "width": "12px" } })
|
|
19579
19574
|
])) : vue.createCommentVNode("", true)
|
|
19580
19575
|
], 8, _hoisted_4$2)) : vue.createCommentVNode("", true)
|
|
@@ -19935,7 +19930,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19935
19930
|
onClick: _ctx.submitFun
|
|
19936
19931
|
}, {
|
|
19937
19932
|
default: vue.withCtx(() => [
|
|
19938
|
-
vue.createTextVNode("
|
|
19933
|
+
vue.createTextVNode("提交审批")
|
|
19939
19934
|
]),
|
|
19940
19935
|
_: 1
|
|
19941
19936
|
}, 8, ["onClick"])
|
|
@@ -19953,7 +19948,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19953
19948
|
}
|
|
19954
19949
|
});
|
|
19955
19950
|
}
|
|
19956
|
-
const version = "4.0.0-beta.
|
|
19951
|
+
const version = "4.0.0-beta.1";
|
|
19957
19952
|
const nutui_vue_build = { install, version, Locale };
|
|
19958
19953
|
exports2.ActionSheet = ActionSheet;
|
|
19959
19954
|
exports2.Address = Address;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.
|
|
2
|
+
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { c as createComponent } from "./component.
|
|
6
|
+
import { c as createComponent } from "./component-48526d37.js";
|
|
7
7
|
import { useSlots, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle } from "vue";
|
|
8
|
-
import { P as Popup, p as popupProps } from "./index.
|
|
8
|
+
import { P as Popup, p as popupProps } from "./index-b05fa625.js";
|
|
9
9
|
import { Loading } from "@nutui/icons-vue";
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
10
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
|
|
11
11
|
import "../locale/lang";
|
|
12
12
|
import "./Overlay.js";
|
|
13
13
|
const { componentName, create } = createComponent("action-sheet");
|