@nutui/nutui 4.0.0-beta.0 → 4.0.0-beta.10
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 -0
- package/dist/nutui.umd.cjs +7 -20066
- package/dist/packages/_es/ActionSheet.js +3 -8
- package/dist/packages/_es/Address.js +5 -10
- package/dist/packages/_es/AddressList.js +15 -17
- package/dist/packages/_es/Animate.js +2 -7
- package/dist/packages/_es/Audio.js +4 -9
- package/dist/packages/_es/AudioOperate.js +3 -8
- package/dist/packages/_es/Avatar.js +2 -7
- package/dist/packages/_es/AvatarGroup.js +2 -7
- package/dist/packages/_es/Backtop.js +3 -8
- package/dist/packages/_es/Badge.js +2 -7
- package/dist/packages/_es/Barrage.js +17 -34
- 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 +2 -7
- package/dist/packages/_es/Cascader.js +14 -9
- package/dist/packages/_es/Category.js +2 -7
- package/dist/packages/_es/CategoryPane.js +2 -7
- package/dist/packages/_es/Cell.js +4 -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 +5 -10
- package/dist/packages/_es/Comment.js +6 -11
- package/dist/packages/_es/ConfigProvider.js +38 -11
- package/dist/packages/_es/Countdown.js +2 -7
- package/dist/packages/_es/Countup.js +2 -7
- package/dist/packages/_es/DatePicker.js +4 -9
- package/dist/packages/_es/Dialog.js +16 -28
- package/dist/packages/_es/Divider.js +2 -7
- package/dist/packages/_es/Drag.js +3 -8
- package/dist/packages/_es/Ecard.js +4 -9
- package/dist/packages/_es/Elevator.js +3 -8
- package/dist/packages/_es/Ellipsis.js +2 -7
- package/dist/packages/_es/Empty.js +2 -7
- package/dist/packages/_es/FixedNav.js +2 -7
- package/dist/packages/_es/Form.js +3 -8
- package/dist/packages/_es/FormItem.js +4 -9
- package/dist/packages/_es/Grid.js +3 -8
- package/dist/packages/_es/GridItem.js +5 -10
- package/dist/packages/_es/Image.js +3 -8
- package/dist/packages/_es/ImagePreview.js +22 -32
- package/dist/packages/_es/Indicator.js +2 -7
- package/dist/packages/_es/InfiniteLoading.js +4 -9
- package/dist/packages/_es/Input.js +3 -11
- package/dist/packages/_es/InputNumber.js +3 -8
- package/dist/packages/_es/Invoice.js +7 -12
- package/dist/packages/_es/Layout.js +1 -6
- package/dist/packages/_es/List.js +2 -7
- package/dist/packages/_es/Menu.js +3 -8
- package/dist/packages/_es/MenuItem.js +3 -8
- package/dist/packages/_es/Navbar.js +2 -7
- package/dist/packages/_es/Noticebar.js +12 -16
- package/dist/packages/_es/Notify.js +9 -14
- package/dist/packages/_es/NumberKeyboard.js +3 -8
- package/dist/packages/_es/Overlay.js +2 -7
- package/dist/packages/_es/Pagination.js +2 -7
- package/dist/packages/_es/Picker.js +4 -9
- package/dist/packages/_es/Popover.js +5 -10
- package/dist/packages/_es/Popup.js +3 -8
- package/dist/packages/_es/Price.js +3 -8
- package/dist/packages/_es/Progress.js +2 -7
- package/dist/packages/_es/PullRefresh.js +6 -11
- package/dist/packages/_es/Radio.js +4 -10
- package/dist/packages/_es/RadioGroup.js +3 -9
- package/dist/packages/_es/Range.js +4 -9
- package/dist/packages/_es/Rate.js +5 -10
- package/dist/packages/_es/Row.js +2 -7
- package/dist/packages/_es/Searchbar.js +3 -8
- package/dist/packages/_es/ShortPassword.js +3 -8
- package/dist/packages/_es/SideNavbar.js +2 -7
- package/dist/packages/_es/SideNavbarItem.js +2 -7
- package/dist/packages/_es/Signature.js +2 -7
- package/dist/packages/_es/Skeleton.js +2 -7
- package/dist/packages/_es/Sku.js +15 -14
- package/dist/packages/_es/Step.js +2 -7
- package/dist/packages/_es/Steps.js +1 -6
- package/dist/packages/_es/Sticky.js +4 -10
- package/dist/packages/_es/SubSideNavbar.js +7 -10
- package/dist/packages/_es/Swipe.js +5 -10
- package/dist/packages/_es/Swiper.js +58 -121
- 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 +14 -36
- package/dist/packages/_es/Table.js +2 -7
- package/dist/packages/_es/Tabs.js +20 -25
- package/dist/packages/_es/Tag.js +2 -7
- package/dist/packages/_es/Textarea.js +2 -7
- package/dist/packages/_es/TimeDetail.js +2 -7
- package/dist/packages/_es/TimePannel.js +2 -7
- package/dist/packages/_es/TimeSelect.js +3 -8
- package/dist/packages/_es/Toast.js +10 -17
- package/dist/packages/_es/Tour.js +8 -13
- package/dist/packages/_es/TrendArrow.js +2 -7
- package/dist/packages/_es/Uploader.js +6 -11
- package/dist/packages/_es/Video.js +2 -7
- package/dist/packages/_es/Watermark.js +3 -8
- package/dist/packages/_es/{_plugin-vue_export-helper.bf57b04e.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
- package/dist/packages/_es/{common.4b8c0eb2.js → common-ceb98554.js} +2 -7
- package/dist/packages/_es/{component.fb9ce7ad.js → component-81a4c1d0.js} +1 -6
- package/dist/packages/_es/{index.4ed42c18.js → index-1006915b.js} +13 -8
- package/dist/packages/_es/{index.3dd88014.js → index-1bf0d8ef.js} +12 -17
- package/dist/packages/_es/{index.af02c42d.js → index-29892cda.js} +0 -5
- package/dist/packages/_es/{index.1be0d1a5.js → index-43c34ac6.js} +0 -5
- package/dist/packages/_es/{index.51da6a3b.js → index-54d03fc1.js} +0 -5
- package/dist/packages/_es/{index.617ba243.js → index-79c5dc33.js} +0 -5
- package/dist/packages/_es/{index.983240fc.js → index-7a7385e4.js} +0 -5
- package/dist/packages/_es/{index.vue_vue_type_script_lang.6e735bb8.js → index.vue_vue_type_script_lang-1291fceb.js} +1 -6
- package/dist/packages/_es/{index.vue_vue_type_script_lang.ccc15054.js → index.vue_vue_type_script_lang-cc5c4086.js} +2 -7
- package/dist/packages/_es/{index.vue_vue_type_script_lang.43efbcd1.js → index.vue_vue_type_script_lang-d4c88f85.js} +2 -7
- package/dist/packages/_es/{interceptor.ba45688c.js → interceptor-956b24fc.js} +1 -6
- package/dist/packages/_es/{mountComponent.dddeb43c.js → mountComponent-1ece4110.js} +1 -6
- package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
- package/dist/packages/_es/{raf.42b42f63.js → raf-729dad54.js} +0 -5
- package/dist/packages/_es/{renderIcon.f32ed340.js → renderIcon-3d0fd47c.js} +0 -5
- package/dist/packages/actionsheet/index.mjs +4 -0
- package/dist/packages/actionsheet/{index.js → style.cjs} +2 -2
- package/dist/packages/actionsheet/style.mjs +3 -0
- package/dist/packages/address/index.mjs +4 -0
- package/dist/packages/address/{index.js → style.cjs} +3 -3
- package/dist/packages/address/style.mjs +4 -0
- package/dist/packages/addresslist/index.mjs +4 -0
- package/dist/packages/{audiooperate/index.js → addresslist/style.cjs} +2 -1
- package/dist/packages/addresslist/style.mjs +3 -0
- package/dist/packages/animate/index.mjs +4 -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 +4 -0
- package/dist/packages/audio/index.scss +1 -1
- package/dist/packages/audio/{index.js → style.cjs} +1 -1
- package/dist/packages/audio/style.mjs +2 -0
- package/dist/packages/audiooperate/index.mjs +4 -0
- package/dist/packages/{signature/index.js → audiooperate/style.cjs} +1 -1
- package/dist/packages/audiooperate/style.mjs +2 -0
- package/dist/packages/avatar/index.mjs +4 -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 +4 -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 +4 -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 +4 -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 +4 -0
- package/dist/packages/barrage/index.scss +17 -1
- package/dist/packages/barrage/{index.js → style.cjs} +0 -0
- package/dist/packages/barrage/style.mjs +1 -0
- package/dist/packages/button/index.mjs +4 -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 +4 -0
- package/dist/packages/calendar/index.scss +11 -2
- package/dist/packages/calendar/{index.js → style.cjs} +3 -3
- package/dist/packages/calendar/style.mjs +4 -0
- package/dist/packages/calendaritem/index.mjs +4 -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 +4 -0
- package/dist/packages/card/{index.js → style.cjs} +2 -2
- package/dist/packages/card/style.mjs +3 -0
- package/dist/packages/cascader/index.mjs +4 -0
- package/dist/packages/cascader/{index.js → style.cjs} +5 -5
- package/dist/packages/cascader/style.mjs +6 -0
- package/dist/packages/category/index.mjs +4 -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 +4 -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 +4 -0
- package/dist/packages/cell/index.scss +3 -1
- package/dist/packages/cell/{index.js → style.cjs} +0 -0
- package/dist/packages/cell/style.mjs +1 -0
- package/dist/packages/cellgroup/index.mjs +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -0
- package/dist/packages/comment/{index.js → style.cjs} +1 -1
- package/dist/packages/comment/style.mjs +2 -0
- package/dist/packages/configprovider/index.mjs +4 -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 +4 -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 +4 -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 +4 -0
- package/dist/packages/datepicker/{index.js → style.cjs} +3 -3
- package/dist/packages/datepicker/style.mjs +4 -0
- package/dist/packages/dialog/index.mjs +5 -0
- package/dist/packages/dialog/{index.js → style.cjs} +3 -3
- package/dist/packages/dialog/style.mjs +4 -0
- package/dist/packages/divider/index.mjs +4 -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 +4 -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 +4 -0
- package/dist/packages/ecard/{index.js → style.cjs} +1 -1
- package/dist/packages/ecard/style.mjs +2 -0
- package/dist/packages/elevator/index.mjs +4 -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 +4 -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 +4 -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 +4 -0
- package/dist/packages/{popup/index.js → fixednav/style.cjs} +1 -1
- package/dist/packages/fixednav/style.mjs +2 -0
- package/dist/packages/form/index.mjs +4 -0
- package/dist/packages/form/{index.js → style.cjs} +1 -1
- package/dist/packages/form/style.mjs +2 -0
- package/dist/packages/formitem/index.mjs +4 -0
- package/dist/packages/formitem/{index.js → style.cjs} +1 -1
- package/dist/packages/formitem/style.mjs +2 -0
- package/dist/packages/grid/index.mjs +4 -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 +4 -0
- package/dist/packages/griditem/{index.js → style.cjs} +0 -0
- package/dist/packages/griditem/style.mjs +1 -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 +4 -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 +5 -0
- package/dist/packages/imagepreview/{index.js → style.cjs} +5 -5
- package/dist/packages/imagepreview/style.mjs +6 -0
- package/dist/packages/indicator/index.mjs +4 -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 +4 -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 +4 -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 +4 -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 +4 -0
- package/dist/packages/invoice/{index.js → style.cjs} +7 -7
- package/dist/packages/invoice/style.mjs +8 -0
- package/dist/packages/layout/index.mjs +4 -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 +4 -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-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 +110 -115
- package/dist/packages/locale/lang/zh-TW.js +110 -115
- package/dist/packages/menu/index.mjs +4 -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 +4 -0
- package/dist/packages/menuitem/{index.js → style.cjs} +2 -2
- package/dist/packages/menuitem/style.mjs +3 -0
- package/dist/packages/navbar/index.mjs +4 -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 +4 -0
- package/dist/packages/noticebar/index.scss +2 -1
- package/dist/packages/noticebar/{index.js → style.cjs} +0 -0
- package/dist/packages/noticebar/style.mjs +1 -0
- package/dist/packages/notify/index.mjs +5 -0
- package/dist/packages/notify/{index.js → style.cjs} +2 -2
- package/dist/packages/notify/style.mjs +3 -0
- package/dist/packages/numberkeyboard/index.mjs +4 -0
- package/dist/packages/numberkeyboard/index.scss +3 -0
- package/dist/packages/numberkeyboard/{index.js → style.cjs} +2 -2
- package/dist/packages/numberkeyboard/style.mjs +3 -0
- package/dist/packages/overlay/index.mjs +4 -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 +4 -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 +4 -0
- package/dist/packages/picker/style.cjs +3 -0
- package/dist/packages/picker/style.mjs +3 -0
- package/dist/packages/popover/index.mjs +4 -0
- package/dist/packages/popover/index.scss +1 -1
- package/dist/packages/popover/style.cjs +3 -0
- package/dist/packages/popover/style.mjs +3 -0
- package/dist/packages/popup/index.mjs +4 -0
- package/dist/packages/{fixednav/index.js → popup/style.cjs} +1 -1
- package/dist/packages/popup/style.mjs +2 -0
- package/dist/packages/price/index.mjs +4 -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 +4 -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 +4 -0
- package/dist/packages/pullrefresh/index.scss +3 -2
- package/dist/packages/pullrefresh/{index.js → style.cjs} +0 -0
- package/dist/packages/pullrefresh/style.mjs +1 -0
- package/dist/packages/radio/index.mjs +4 -0
- package/dist/packages/radio/index.scss +14 -1
- package/dist/packages/radio/{index.js → style.cjs} +0 -0
- package/dist/packages/radio/style.mjs +1 -0
- package/dist/packages/radiogroup/index.mjs +4 -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 +4 -0
- package/dist/packages/range/index.scss +6 -3
- package/dist/packages/range/{index.js → style.cjs} +0 -0
- package/dist/packages/range/style.mjs +1 -0
- package/dist/packages/rate/index.mjs +4 -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 +4 -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 +4 -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 +4 -0
- package/dist/packages/shortpassword/style.cjs +3 -0
- package/dist/packages/shortpassword/style.mjs +3 -0
- package/dist/packages/sidenavbar/index.mjs +4 -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 +4 -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 +4 -0
- package/dist/packages/{addresslist/index.js → signature/style.cjs} +1 -1
- package/dist/packages/signature/style.mjs +2 -0
- package/dist/packages/skeleton/index.mjs +4 -0
- package/dist/packages/skeleton/{index.js → style.cjs} +1 -1
- package/dist/packages/skeleton/style.mjs +2 -0
- package/dist/packages/sku/index.mjs +4 -0
- package/dist/packages/sku/index.scss +16 -2
- package/dist/packages/sku/{index.js → style.cjs} +4 -4
- package/dist/packages/sku/style.mjs +5 -0
- package/dist/packages/step/index.mjs +4 -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 +4 -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 +4 -0
- package/dist/packages/sticky/index.scss +1 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -0
- package/dist/packages/tabbaritem/{index.js → style.cjs} +1 -1
- package/dist/packages/tabbaritem/style.mjs +2 -0
- package/dist/packages/table/index.mjs +4 -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 +4 -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 +4 -0
- package/dist/packages/tabs/{index.js → style.cjs} +1 -1
- package/dist/packages/tabs/style.mjs +2 -0
- package/dist/packages/tag/index.mjs +4 -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 +4 -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 +4 -0
- package/dist/packages/timedetail/index.scss +14 -1
- package/dist/packages/timedetail/{index.js → style.cjs} +0 -0
- package/dist/packages/timedetail/style.mjs +1 -0
- package/dist/packages/timepannel/index.mjs +4 -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 +4 -0
- package/dist/packages/timeselect/style.cjs +3 -0
- package/dist/packages/timeselect/style.mjs +3 -0
- package/dist/packages/toast/index.mjs +5 -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 +4 -0
- package/dist/packages/tour/{index.js → style.cjs} +3 -3
- package/dist/packages/tour/style.mjs +4 -0
- package/dist/packages/trendarrow/index.mjs +4 -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 +4 -0
- package/dist/packages/uploader/{index.js → style.cjs} +2 -2
- package/dist/packages/uploader/style.mjs +3 -0
- package/dist/packages/video/index.mjs +4 -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 +4 -0
- package/dist/packages/watermark/{index.js → style.cjs} +0 -0
- package/dist/packages/watermark/style.mjs +1 -0
- package/dist/smartips/attributes.json +289 -293
- package/dist/smartips/tags.json +11 -12
- package/dist/smartips/web-types.json +336 -345
- package/dist/style.css +1 -1
- package/dist/styles/{css-variables.scss → theme-deafult.scss} +15 -17
- package/dist/styles/theme-jdt.scss +892 -0
- package/dist/styles/themes/default.scss +52 -52
- package/dist/styles/themes/jdb.scss +51 -52
- package/dist/styles/themes/jddkh.scss +51 -52
- package/dist/styles/themes/jdt.scss +52 -52
- package/dist/styles/variables-jdt.scss +763 -707
- package/dist/styles/variables.scss +803 -733
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -0
- package/dist/types/__VUE/address/index.vue.d.ts +18 -0
- package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
- 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/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/griditem/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/input/index.vue.d.ts +2 -2
- 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 -1
- 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/rate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- 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 -8
- 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/toast/index.d.ts +3 -3
- package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +10 -7
- package/package.json +24 -51
- package/dist/nutui.js +0 -20064
- package/dist/packages/_es/Icon.js +0 -13
- package/dist/packages/_es/index.vue_vue_type_script_lang.de4367bf.js +0 -12
- package/dist/packages/_es/pxCheck.09969b22.js +0 -11
- package/dist/packages/_es/style.css +0 -16
- package/dist/packages/locale/index.scss +0 -1
- package/dist/packages/locale/lang/baseLang.ff3ed8bc.js +0 -10
- package/dist/packages/locale/lang/index.scss +0 -1
- package/dist/packages/picker/index.js +0 -3
- package/dist/packages/popover/index.js +0 -3
- package/dist/packages/shortpassword/index.js +0 -3
- package/dist/packages/timeselect/index.js +0 -3
- package/dist/types/__VUE/configprovider/common.d.ts +0 -20
- package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, computed, watch, onMounted, getCurrentInstance, provide, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component.
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { create, componentName } = createComponent("collapse");
|
|
11
6
|
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
|
-
|
|
8
|
+
modelValue: {
|
|
14
9
|
type: [String, Number, Array],
|
|
15
10
|
default: () => []
|
|
16
11
|
},
|
|
@@ -19,7 +14,7 @@ const _sfc_main = create({
|
|
|
19
14
|
default: false
|
|
20
15
|
}
|
|
21
16
|
},
|
|
22
|
-
emits: ["update:
|
|
17
|
+
emits: ["update:modelValue", "change"],
|
|
23
18
|
setup(props, { emit }) {
|
|
24
19
|
const collapseDom = ref(null);
|
|
25
20
|
const collapseChldren = ref([]);
|
|
@@ -30,7 +25,7 @@ const _sfc_main = create({
|
|
|
30
25
|
};
|
|
31
26
|
});
|
|
32
27
|
watch(
|
|
33
|
-
() => props.
|
|
28
|
+
() => props.modelValue,
|
|
34
29
|
(newval) => {
|
|
35
30
|
let doms = collapseChldren.value;
|
|
36
31
|
Array.from(doms).forEach((item) => {
|
|
@@ -48,11 +43,11 @@ const _sfc_main = create({
|
|
|
48
43
|
collapseChldren.value = getCurrentInstance().provides.collapseParent.children || [];
|
|
49
44
|
});
|
|
50
45
|
const changeVal = (val) => {
|
|
51
|
-
emit("update:
|
|
46
|
+
emit("update:modelValue", val);
|
|
52
47
|
emit("change", val);
|
|
53
48
|
};
|
|
54
49
|
const changeValAry = (name) => {
|
|
55
|
-
const activeItem = props.
|
|
50
|
+
const activeItem = props.modelValue instanceof Object ? Object.values(props.modelValue) : props.modelValue;
|
|
56
51
|
let index2 = -1;
|
|
57
52
|
activeItem.forEach((item, idx) => {
|
|
58
53
|
if (String(item) == String(name)) {
|
|
@@ -63,9 +58,9 @@ const _sfc_main = create({
|
|
|
63
58
|
changeVal(activeItem);
|
|
64
59
|
};
|
|
65
60
|
const isExpanded = (name) => {
|
|
66
|
-
const { accordion,
|
|
61
|
+
const { accordion, modelValue } = props;
|
|
67
62
|
if (accordion) {
|
|
68
|
-
return typeof
|
|
63
|
+
return typeof modelValue === "number" || typeof modelValue === "string" ? modelValue == name : false;
|
|
69
64
|
}
|
|
70
65
|
};
|
|
71
66
|
provide("collapseParent", {
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, reactive, computed, getCurrentInstance, ref, watch, onMounted, toRefs, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, toDisplayString, createCommentVNode, normalizeStyle, createBlock, resolveDynamicComponent } from "vue";
|
|
7
2
|
import { DownArrow } from "@nutui/icons-vue";
|
|
8
|
-
import { c as createComponent } from "./component.
|
|
9
|
-
import { r as renderIcon } from "./renderIcon.
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
3
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
4
|
+
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
7
|
const { create, componentName } = createComponent("collapse-item");
|
|
13
8
|
const _sfc_main = create({
|
|
@@ -103,7 +98,7 @@ const _sfc_main = create({
|
|
|
103
98
|
const toggleOpen = () => {
|
|
104
99
|
if (parent.props.accordion) {
|
|
105
100
|
nextTick(() => {
|
|
106
|
-
if (currentName.value == parent.props.
|
|
101
|
+
if (currentName.value == parent.props.modelValue) {
|
|
107
102
|
open();
|
|
108
103
|
} else {
|
|
109
104
|
parent.changeVal(currentName.value);
|
|
@@ -130,7 +125,7 @@ const _sfc_main = create({
|
|
|
130
125
|
});
|
|
131
126
|
const init = () => {
|
|
132
127
|
const { name } = props;
|
|
133
|
-
const active = parent && parent.props.
|
|
128
|
+
const active = parent && parent.props.modelValue;
|
|
134
129
|
nextTick(() => {
|
|
135
130
|
if (typeof active == "number" || typeof active == "string") {
|
|
136
131
|
if (name == active) {
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createCommentVNode, normalizeClass, toDisplayString, renderSlot, createVNode, ref, watch, onMounted, Fragment, renderList, createBlock, computed, withCtx, normalizeStyle, createTextVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component.
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Right, Fabulous, Comment, MoreX, JoySmile } from "@nutui/icons-vue";
|
|
9
4
|
import Rate from "./Rate.js";
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
|
-
import "./renderIcon.
|
|
13
|
-
import "./pxCheck.
|
|
14
|
-
import "./index.
|
|
7
|
+
import "./renderIcon-3d0fd47c.js";
|
|
8
|
+
import "./pxCheck-c6b9f6b7.js";
|
|
9
|
+
import "./index-7a7385e4.js";
|
|
15
10
|
const { componentName: componentName$3, create: create$3 } = createComponent("comment-header");
|
|
16
11
|
const _sfc_main$3 = create$3({
|
|
17
12
|
props: {
|
|
@@ -206,7 +201,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
206
201
|
src: itI.smallImgUrl ? itI.smallImgUrl : itI.imgUrl
|
|
207
202
|
}, null, 8, _hoisted_5),
|
|
208
203
|
_ctx.type == "multi" && _ctx.totalImages.length > 9 && _ctx.videos.length + index2 > 7 ? (openBlock(), createElementBlock("view", _hoisted_6, [
|
|
209
|
-
createElementVNode("span", null, "
|
|
204
|
+
createElementVNode("span", null, "共 " + toDisplayString(_ctx.totalImages.length) + " 张", 1),
|
|
210
205
|
createVNode(_component_Right, { style: { "width": "12px" } })
|
|
211
206
|
])) : createCommentVNode("", true)
|
|
212
207
|
], 8, _hoisted_4$2)) : createCommentVNode("", true)
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component.fb9ce7ad.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { h } from "vue";
|
|
8
3
|
import "../locale/lang";
|
|
9
|
-
const
|
|
4
|
+
const { componentName, create } = createComponent("config-provider");
|
|
5
|
+
const _sfc_main = create({
|
|
10
6
|
props: {
|
|
11
7
|
theme: { type: String, default: "" },
|
|
12
8
|
themeVars: { type: Object, default: () => {
|
|
@@ -18,16 +14,49 @@ const component = {
|
|
|
18
14
|
str = str.replace(str.charAt(0), str.charAt(0).toLocaleLowerCase());
|
|
19
15
|
return str.replace(/([a-z])([A-Z])/g, (_, p1, p2) => p1 + "-" + p2.toLowerCase());
|
|
20
16
|
};
|
|
17
|
+
const colorRgb = (str) => {
|
|
18
|
+
if (!str)
|
|
19
|
+
return;
|
|
20
|
+
var sColor = str.toLowerCase();
|
|
21
|
+
var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
|
|
22
|
+
if (sColor && reg.test(sColor)) {
|
|
23
|
+
if (sColor.length === 4) {
|
|
24
|
+
var sColorNew = "#";
|
|
25
|
+
for (var i = 1; i < 4; i += 1) {
|
|
26
|
+
sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
|
|
27
|
+
}
|
|
28
|
+
sColor = sColorNew;
|
|
29
|
+
}
|
|
30
|
+
var sColorChange = [];
|
|
31
|
+
for (var i = 1; i < 7; i += 2) {
|
|
32
|
+
sColorChange.push(parseInt("0x" + sColor.slice(i, i + 2)));
|
|
33
|
+
}
|
|
34
|
+
return sColorChange.join(",");
|
|
35
|
+
}
|
|
36
|
+
return null;
|
|
37
|
+
};
|
|
21
38
|
const mapThemeVarsToCSSVars = (themeVars) => {
|
|
39
|
+
var _a;
|
|
22
40
|
if (!themeVars)
|
|
23
41
|
return;
|
|
24
42
|
const cssVars = {};
|
|
43
|
+
const primaryColor = (_a = props == null ? void 0 : props.themeVars) == null ? void 0 : _a.primaryColor;
|
|
44
|
+
if (primaryColor) {
|
|
45
|
+
cssVars[`--nut-address-region-tab-line`] = `linear-gradient(90deg, ${primaryColor} 0%, rgba(${colorRgb(
|
|
46
|
+
primaryColor
|
|
47
|
+
)},0.15) 100%) `;
|
|
48
|
+
cssVars[`--nut-tabs-horizontal-tab-line-color`] = `linear-gradient(90deg, ${primaryColor} 0%, rgba(${colorRgb(
|
|
49
|
+
primaryColor
|
|
50
|
+
)},0.15)100%)`;
|
|
51
|
+
cssVars[`--nut-tabs-vertical-tab-line-color`] = `linear-gradient(180deg, ${primaryColor} 0%, rgba(${colorRgb(
|
|
52
|
+
primaryColor
|
|
53
|
+
)},0.15) 100%) `;
|
|
54
|
+
}
|
|
25
55
|
Object.keys(themeVars).forEach((key) => {
|
|
26
56
|
cssVars[`--nut-${kebabCase(key)}`] = themeVars[key];
|
|
27
57
|
});
|
|
28
58
|
return cssVars;
|
|
29
59
|
};
|
|
30
|
-
console.log(mapThemeVarsToCSSVars(props.themeVars));
|
|
31
60
|
return () => {
|
|
32
61
|
var _a;
|
|
33
62
|
return h(
|
|
@@ -40,9 +69,7 @@ const component = {
|
|
|
40
69
|
);
|
|
41
70
|
};
|
|
42
71
|
}
|
|
43
|
-
};
|
|
44
|
-
const { componentName, create } = createComponent("config-provider");
|
|
45
|
-
const _sfc_main = create(component);
|
|
72
|
+
});
|
|
46
73
|
export {
|
|
47
74
|
_sfc_main as default
|
|
48
75
|
};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, onBeforeMount, watch, toRefs, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
|
-
import { p as padZero, c as createComponent } from "./component.
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
2
|
+
import { p as padZero, 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 getTimeStamp = (timeStr) => {
|
|
11
6
|
if (!timeStr)
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { getCurrentInstance, ref, reactive, watch, nextTick, onMounted, onUnmounted, toRefs, openBlock, createElementBlock, Fragment, normalizeStyle, renderList, createCommentVNode, toDisplayString, createTextVNode } 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 useExtend(apis) {
|
|
11
6
|
const instance = getCurrentInstance();
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, onBeforeMount, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, renderSlot } from "vue";
|
|
7
2
|
import Picker from "./Picker.js";
|
|
8
|
-
import { c as createComponent, a as isDate$1, p as padZero } from "./component.
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
10
|
-
import "./pxCheck.
|
|
11
|
-
import "./index.
|
|
3
|
+
import { c as createComponent, a as isDate$1, p as padZero } from "./component-81a4c1d0.js";
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
|
+
import "./pxCheck-c6b9f6b7.js";
|
|
6
|
+
import "./index-7a7385e4.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
8
|
const { componentName, create, translate } = createComponent("date-picker");
|
|
14
9
|
const currentYear = new Date().getFullYear();
|
|
@@ -4,21 +4,15 @@ 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.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
9
|
-
* (c) 2022 @jdf2e.
|
|
10
|
-
* Released under the MIT License.
|
|
11
|
-
*/
|
|
12
7
|
import { ref, onMounted, watch, computed, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode, resolveDynamicComponent, h } from "vue";
|
|
13
|
-
import { c as createComponent } from "./component.
|
|
14
|
-
import { f as funInterceptor } from "./interceptor.
|
|
15
|
-
import { P as Popup, p as popupProps } from "./index.
|
|
8
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
9
|
+
import { f as funInterceptor } from "./interceptor-956b24fc.js";
|
|
10
|
+
import { P as Popup, p as popupProps } from "./index-1006915b.js";
|
|
16
11
|
import Button from "./Button.js";
|
|
17
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
18
|
-
import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang.de4367bf.js";
|
|
12
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
19
13
|
import Overlay from "./Overlay.js";
|
|
20
14
|
import "../locale/lang";
|
|
21
|
-
import { C as CreateComponent } from "./mountComponent.
|
|
15
|
+
import { C as CreateComponent } from "./mountComponent-1ece4110.js";
|
|
22
16
|
import "@nutui/icons-vue";
|
|
23
17
|
const { componentName, create, translate } = createComponent("dialog");
|
|
24
18
|
const _sfc_main = create({
|
|
@@ -241,16 +235,11 @@ class DialogOptions {
|
|
|
241
235
|
__publicField(this, "teleport", "body");
|
|
242
236
|
__publicField(this, "id", new Date().getTime());
|
|
243
237
|
__publicField(this, "footerDirection", "horizontal");
|
|
244
|
-
__publicField(this, "onUpdate"
|
|
245
|
-
|
|
246
|
-
__publicField(this, "
|
|
247
|
-
|
|
248
|
-
__publicField(this, "
|
|
249
|
-
});
|
|
250
|
-
__publicField(this, "onOpened", () => {
|
|
251
|
-
});
|
|
252
|
-
__publicField(this, "onClosed", () => {
|
|
253
|
-
});
|
|
238
|
+
__publicField(this, "onUpdate");
|
|
239
|
+
__publicField(this, "onOk");
|
|
240
|
+
__publicField(this, "onCancel");
|
|
241
|
+
__publicField(this, "onOpened");
|
|
242
|
+
__publicField(this, "onClosed");
|
|
254
243
|
__publicField(this, "beforeClose");
|
|
255
244
|
__publicField(this, "visible", true);
|
|
256
245
|
__publicField(this, "noFooter", false);
|
|
@@ -265,10 +254,10 @@ class DialogFunction {
|
|
|
265
254
|
constructor(_options) {
|
|
266
255
|
__publicField(this, "options", new DialogOptions());
|
|
267
256
|
__publicField(this, "instance");
|
|
268
|
-
|
|
257
|
+
const options = Object.assign(this.options, _options);
|
|
269
258
|
const { unmount } = CreateComponent(options, {
|
|
270
259
|
name: "dialog",
|
|
271
|
-
components: [Popup,
|
|
260
|
+
components: [Popup, Button, Overlay],
|
|
272
261
|
wrapper: (elWarp, root) => {
|
|
273
262
|
return {
|
|
274
263
|
setup() {
|
|
@@ -290,15 +279,14 @@ class DialogFunction {
|
|
|
290
279
|
});
|
|
291
280
|
}
|
|
292
281
|
}
|
|
293
|
-
const
|
|
282
|
+
const showDialog = function(options) {
|
|
294
283
|
return new DialogFunction(options);
|
|
295
284
|
};
|
|
296
|
-
|
|
285
|
+
showDialog.install = (app) => {
|
|
297
286
|
app.use(Dialog);
|
|
298
|
-
app.config.globalProperties.$dialog = _Dialog;
|
|
299
287
|
};
|
|
300
288
|
export {
|
|
301
|
-
Dialog,
|
|
302
289
|
DialogOptions,
|
|
303
|
-
|
|
290
|
+
Dialog as default,
|
|
291
|
+
showDialog
|
|
304
292
|
};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component.
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("divider");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, reactive, computed, onMounted, onActivated, onDeactivated, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component.
|
|
8
|
-
import { r as requestAniFrame } from "./raf.
|
|
9
|
-
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 { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
const { componentName, create } = createComponent("drag");
|
|
12
7
|
const _sfc_main = create({
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass, withDirectives, vModelText, createTextVNode, createVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component.
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import InputNumber from "./InputNumber.js";
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
|
-
import "./pxCheck.
|
|
6
|
+
import "./pxCheck-c6b9f6b7.js";
|
|
12
7
|
import "@nutui/icons-vue";
|
|
13
8
|
const { create, translate } = createComponent("ecard");
|
|
14
9
|
const _sfc_main = create({
|
|
@@ -54,7 +49,7 @@ const _sfc_main = create({
|
|
|
54
49
|
},
|
|
55
50
|
suffix: {
|
|
56
51
|
type: String,
|
|
57
|
-
default: "
|
|
52
|
+
default: "¥"
|
|
58
53
|
}
|
|
59
54
|
},
|
|
60
55
|
emits: ["inputChange", "changeStep", "inputClick", "change", "update:modelValue"],
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, reactive, computed, onMounted, watch, nextTick, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, toDisplayString, renderSlot, withDirectives, vShow, createCommentVNode, withModifiers } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component.
|
|
8
|
-
import { u as useExpose } from "./index.
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { u as useExpose } from "./index-79c5dc33.js";
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
const { componentName, create } = createComponent("elevator");
|
|
12
7
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, reactive, computed, watch, onMounted, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createTextVNode, 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
|
const { componentName, create } = createComponent("ellipsis");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, computed, openBlock, createElementBlock, createElementVNode, normalizeStyle, renderSlot, Fragment, createCommentVNode, 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, translate } = createComponent("empty");
|
|
11
6
|
const defaultStatus = {
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component.fb9ce7ad.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createBlock, createCommentVNode, renderSlot, createElementVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
|
8
3
|
import Overlay from "./Overlay.js";
|
|
9
4
|
import { Left } from "@nutui/icons-vue";
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
7
|
const { componentName, translate } = createComponent("fixed-nav");
|
|
13
8
|
const component = (components) => {
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { g as isObject, h as getPropByPath, f as isPromise, c as createComponent } from "./component.fb9ce7ad.js";
|
|
1
|
+
import { g as isObject, h as getPropByPath, f as isPromise, c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { computed, reactive, provide, watch, resolveComponent, openBlock, createElementBlock, withModifiers, createVNode, withCtx, renderSlot } from "vue";
|
|
8
3
|
import CellGroup from "./CellGroup.js";
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
const component = (components) => {
|
|
12
7
|
return {
|
|
@@ -81,7 +76,7 @@ const component = (components) => {
|
|
|
81
76
|
});
|
|
82
77
|
};
|
|
83
78
|
if (!prop) {
|
|
84
|
-
console.warn("[NutUI] <FormItem>
|
|
79
|
+
console.warn("[NutUI] <FormItem> 使用 rules 校验规则时 , 必须设置 prop 参数");
|
|
85
80
|
}
|
|
86
81
|
const value = getPropByPath(props.modelValue, prop || "");
|
|
87
82
|
tipMessage({ prop, message: "" });
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { p as pxCheck } from "./pxCheck.09969b22.js";
|
|
1
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
7
2
|
import { inject, provide, computed, resolveComponent, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from "vue";
|
|
8
|
-
import { c as createComponent } from "./component.
|
|
3
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
9
4
|
import Cell from "./Cell.js";
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
|
-
import "./index.
|
|
7
|
+
import "./index-54d03fc1.js";
|
|
13
8
|
import "@nutui/icons-vue";
|
|
14
9
|
const { componentName, create } = createComponent("form-item");
|
|
15
10
|
const _sfc_main = create({
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component.fb9ce7ad.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import "vue";
|
|
8
|
-
import { c as component } from "./common.
|
|
3
|
+
import { c as component } from "./common-ceb98554.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
|
-
import "./pxCheck.
|
|
5
|
+
import "./pxCheck-c6b9f6b7.js";
|
|
11
6
|
const { create } = createComponent("grid");
|
|
12
7
|
const _sfc_main = create(component);
|
|
13
8
|
export {
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, getCurrentInstance, onUnmounted, computed, ref, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, Fragment, createTextVNode, toDisplayString } from "vue";
|
|
7
|
-
import { u as useRouter } from "./index.
|
|
8
|
-
import { c as createComponent } from "./component.
|
|
9
|
-
import { p as pxCheck } from "./pxCheck.
|
|
10
|
-
import { G as GRID_KEY } from "./common.
|
|
11
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
2
|
+
import { u as useRouter } from "./index-54d03fc1.js";
|
|
3
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
4
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
5
|
+
import { G as GRID_KEY } from "./common-ceb98554.js";
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
8
|
function useInject(key) {
|
|
14
9
|
const parent = inject(key, null);
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, useSlots, computed, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot } 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
|
import { Image, ImageError } from "@nutui/icons-vue";
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper.
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
7
|
const { componentName, create } = createComponent("image");
|
|
13
8
|
const _sfc_main = create({
|