@nutui/nutui 4.0.0-beta.3 → 4.0.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -940
- package/README.md +1 -1
- package/dist/nutui.es.js +227 -103
- package/dist/nutui.umd.js +7 -0
- package/dist/packages/_es/ActionSheet.js +5 -15
- package/dist/packages/_es/Address.js +11 -13
- package/dist/packages/_es/AddressList.js +168 -245
- package/dist/packages/_es/Animate.js +3 -8
- package/dist/packages/_es/Audio.js +11 -10
- package/dist/packages/_es/AudioOperate.js +4 -8
- package/dist/packages/_es/Avatar.js +5 -8
- package/dist/packages/_es/AvatarGroup.js +4 -8
- package/dist/packages/_es/Backtop.js +4 -9
- package/dist/packages/_es/Badge.js +5 -10
- package/dist/packages/_es/Barrage.js +68 -67
- package/dist/packages/_es/Button.js +3 -8
- package/dist/packages/_es/Calendar.js +17 -22
- package/dist/packages/_es/CalendarItem.js +5 -10
- package/dist/packages/_es/Card.js +10 -22
- package/dist/packages/_es/Cascader.js +20 -14
- package/dist/packages/_es/Category.js +5 -8
- package/dist/packages/_es/CategoryPane.js +6 -8
- package/dist/packages/_es/Cell.js +6 -10
- package/dist/packages/_es/CellGroup.js +3 -8
- package/dist/packages/_es/Checkbox.js +3 -8
- package/dist/packages/_es/CheckboxGroup.js +3 -8
- package/dist/packages/_es/CircleProgress.js +3 -8
- package/dist/packages/_es/Col.js +3 -8
- package/dist/packages/_es/Collapse.js +10 -15
- package/dist/packages/_es/CollapseItem.js +10 -14
- package/dist/packages/_es/Comment.js +25 -27
- package/dist/packages/_es/ConfigProvider.js +38 -11
- package/dist/packages/_es/Countdown.js +11 -8
- package/dist/packages/_es/Countup.js +23 -13
- package/dist/packages/_es/DatePicker.js +7 -10
- package/dist/packages/_es/Dialog.js +24 -31
- package/dist/packages/_es/Divider.js +3 -8
- package/dist/packages/_es/Drag.js +4 -9
- package/dist/packages/_es/Ecard.js +4 -9
- package/dist/packages/_es/Elevator.js +4 -9
- package/dist/packages/_es/Ellipsis.js +6 -11
- package/dist/packages/_es/Empty.js +6 -8
- package/dist/packages/_es/FixedNav.js +3 -8
- package/dist/packages/_es/Form.js +3 -8
- package/dist/packages/_es/FormItem.js +5 -10
- package/dist/packages/_es/Grid.js +4 -9
- package/dist/packages/_es/GridItem.js +7 -11
- package/dist/packages/_es/Image.js +4 -9
- package/dist/packages/_es/ImagePreview.js +25 -34
- package/dist/packages/_es/Indicator.js +3 -8
- package/dist/packages/_es/InfiniteLoading.js +6 -19
- package/dist/packages/_es/Input.js +33 -37
- package/dist/packages/_es/InputNumber.js +9 -14
- package/dist/packages/_es/Invoice.js +10 -13
- package/dist/packages/_es/Layout.js +2 -7
- package/dist/packages/_es/List.js +4 -10
- package/dist/packages/_es/Menu.js +4 -9
- package/dist/packages/_es/MenuItem.js +4 -9
- package/dist/packages/_es/Navbar.js +13 -12
- package/dist/packages/_es/Noticebar.js +27 -23
- package/dist/packages/_es/Notify.js +12 -14
- package/dist/packages/_es/NumberKeyboard.js +6 -11
- package/dist/packages/_es/Overlay.js +14 -13
- package/dist/packages/_es/Pagination.js +3 -8
- package/dist/packages/_es/Picker.js +10 -12
- package/dist/packages/_es/Popover.js +6 -12
- package/dist/packages/_es/Popup.js +3 -8
- package/dist/packages/_es/Price.js +4 -9
- package/dist/packages/_es/Progress.js +42 -44
- package/dist/packages/_es/PullRefresh.js +16 -24
- package/dist/packages/_es/Radio.js +3 -8
- package/dist/packages/_es/RadioGroup.js +2 -7
- package/dist/packages/_es/Range.js +5 -10
- package/dist/packages/_es/Rate.js +25 -29
- package/dist/packages/_es/Row.js +3 -8
- package/dist/packages/_es/Searchbar.js +29 -28
- package/dist/packages/_es/ShortPassword.js +15 -19
- package/dist/packages/_es/SideNavbar.js +3 -8
- package/dist/packages/_es/SideNavbarItem.js +3 -8
- package/dist/packages/_es/Signature.js +15 -9
- package/dist/packages/_es/Skeleton.js +15 -12
- package/dist/packages/_es/Sku.js +38 -20
- package/dist/packages/_es/Step.js +3 -8
- package/dist/packages/_es/Steps.js +2 -7
- package/dist/packages/_es/Sticky.js +3 -8
- package/dist/packages/_es/SubSideNavbar.js +8 -11
- package/dist/packages/_es/Swipe.js +6 -11
- package/dist/packages/_es/Swiper.js +60 -126
- package/dist/packages/_es/SwiperItem.js +4 -9
- package/dist/packages/_es/Switch.js +7 -9
- package/dist/packages/_es/TabPane.js +5 -10
- package/dist/packages/_es/Tabbar.js +3 -8
- package/dist/packages/_es/TabbarItem.js +10 -10
- package/dist/packages/_es/Table.js +92 -100
- package/dist/packages/_es/Tabs.js +23 -26
- package/dist/packages/_es/Tag.js +3 -8
- package/dist/packages/_es/Textarea.js +28 -12
- package/dist/packages/_es/TimeDetail.js +3 -12
- package/dist/packages/_es/TimePannel.js +3 -8
- package/dist/packages/_es/TimeSelect.js +5 -10
- package/dist/packages/_es/Toast.js +18 -17
- package/dist/packages/_es/Tour.js +14 -18
- package/dist/packages/_es/TrendArrow.js +5 -10
- package/dist/packages/_es/Uploader.js +23 -25
- package/dist/packages/_es/Video.js +21 -8
- package/dist/packages/_es/Watermark.js +3 -8
- package/dist/packages/_es/{_plugin-vue_export-helper-681cd9ef.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
- package/dist/packages/_es/{common-3175aa92.js → common-b9a5e726.js} +10 -7
- package/dist/packages/_es/{component-0ea0483c.js → component-81a4c1d0.js} +0 -5
- package/dist/packages/_es/{index-3e9b0a98.js → index-29892cda.js} +0 -5
- package/dist/packages/_es/{index-9755c21a.js → index-2ae3ae87.js} +47 -15
- package/dist/packages/_es/{index-6cd5b878.js → index-43c34ac6.js} +0 -5
- package/dist/packages/_es/{index-16a07d20.js → index-54d03fc1.js} +0 -5
- package/dist/packages/_es/{index-78b85d04.js → index-79c5dc33.js} +0 -5
- package/dist/packages/_es/{index-35bfc69c.js → index-7a7385e4.js} +0 -5
- package/dist/packages/_es/{index-d5c47fab.js → index-991c279f.js} +16 -11
- package/dist/packages/_es/{index.vue_vue_type_script_lang-0eef0ccb.js → index.vue_vue_type_script_lang-22dfc112.js} +3 -7
- package/dist/packages/_es/{index.vue_vue_type_script_lang-3fd73141.js → index.vue_vue_type_script_lang-442e4704.js} +4 -8
- package/dist/packages/_es/{index.vue_vue_type_script_lang-a0678df2.js → index.vue_vue_type_script_lang-cc5c4086.js} +3 -8
- package/dist/packages/_es/{interceptor-0db96410.js → interceptor-956b24fc.js} +1 -6
- package/dist/packages/_es/{mountComponent-34479821.js → mountComponent-1ece4110.js} +1 -6
- package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
- package/dist/packages/_es/{raf-8c45e560.js → raf-729dad54.js} +0 -5
- package/dist/packages/_es/{renderIcon-6bea5078.js → renderIcon-3d0fd47c.js} +0 -5
- package/dist/packages/actionsheet/index.mjs +3 -1
- package/dist/packages/actionsheet/style.mjs +3 -2
- package/dist/packages/address/index.mjs +3 -1
- package/dist/packages/address/style.mjs +4 -3
- package/dist/packages/addresslist/index.mjs +3 -1
- package/dist/packages/addresslist/index.scss +14 -3
- package/dist/packages/addresslist/style.mjs +3 -1
- package/dist/packages/animate/index.mjs +3 -1
- package/dist/packages/animate/style.mjs +1 -0
- package/dist/packages/audio/index.mjs +3 -1
- package/dist/packages/audio/index.scss +1 -1
- package/dist/packages/audio/style.mjs +2 -1
- package/dist/packages/audiooperate/index.mjs +3 -1
- package/dist/packages/audiooperate/style.mjs +2 -1
- package/dist/packages/avatar/index.mjs +3 -1
- package/dist/packages/avatar/index.scss +3 -1
- package/dist/packages/avatar/style.mjs +1 -0
- package/dist/packages/avatargroup/index.mjs +3 -1
- package/dist/packages/avatargroup/index.scss +1 -1
- package/dist/packages/avatargroup/style.mjs +1 -0
- package/dist/packages/backtop/index.mjs +3 -1
- package/dist/packages/backtop/style.mjs +1 -0
- package/dist/packages/badge/index.mjs +3 -1
- package/dist/packages/badge/index.scss +7 -3
- package/dist/packages/badge/style.mjs +1 -0
- package/dist/packages/barrage/index.mjs +3 -1
- package/dist/packages/barrage/index.scss +17 -1
- package/dist/packages/barrage/style.mjs +1 -0
- package/dist/packages/button/index.mjs +3 -1
- package/dist/packages/button/index.scss +63 -1
- package/dist/packages/button/style.mjs +1 -0
- package/dist/packages/calendar/index.mjs +3 -1
- package/dist/packages/calendar/index.scss +14 -5
- package/dist/packages/calendar/style.mjs +4 -3
- package/dist/packages/calendaritem/index.mjs +3 -1
- package/dist/packages/calendaritem/style.mjs +1 -0
- package/dist/packages/card/index.mjs +3 -1
- package/dist/packages/card/style.mjs +3 -2
- package/dist/packages/cascader/index.mjs +3 -1
- package/dist/packages/cascader/style.mjs +6 -5
- package/dist/packages/category/index.mjs +3 -1
- package/dist/packages/category/style.mjs +1 -0
- package/dist/packages/categorypane/index.mjs +3 -1
- package/dist/packages/categorypane/style.mjs +1 -0
- package/dist/packages/cell/index.mjs +3 -1
- package/dist/packages/cell/index.scss +5 -1
- package/dist/packages/cell/style.mjs +1 -0
- package/dist/packages/cellgroup/index.mjs +3 -1
- package/dist/packages/cellgroup/style.mjs +1 -0
- package/dist/packages/checkbox/index.mjs +3 -1
- package/dist/packages/checkbox/style.mjs +1 -0
- package/dist/packages/checkboxgroup/index.mjs +3 -1
- package/dist/packages/checkboxgroup/style.mjs +1 -0
- package/dist/packages/circleprogress/index.mjs +3 -1
- package/dist/packages/circleprogress/style.mjs +1 -0
- package/dist/packages/col/index.mjs +3 -1
- package/dist/packages/col/style.mjs +1 -0
- package/dist/packages/collapse/index.mjs +3 -1
- package/dist/packages/collapse/style.mjs +1 -0
- package/dist/packages/collapseitem/index.mjs +3 -1
- package/dist/packages/collapseitem/style.mjs +1 -0
- package/dist/packages/comment/index.mjs +3 -1
- package/dist/packages/comment/index.scss +12 -7
- package/dist/packages/comment/style.mjs +2 -1
- package/dist/packages/configprovider/index.mjs +3 -1
- package/dist/packages/configprovider/style.mjs +1 -0
- package/dist/packages/countdown/index.mjs +3 -1
- package/dist/packages/countdown/style.mjs +1 -0
- package/dist/packages/countup/index.mjs +3 -1
- package/dist/packages/countup/index.scss +1 -0
- package/dist/packages/countup/style.mjs +1 -0
- package/dist/packages/datepicker/index.mjs +3 -1
- package/dist/packages/datepicker/style.mjs +4 -3
- package/dist/packages/dialog/index.mjs +5 -2
- package/dist/packages/dialog/style.mjs +4 -3
- package/dist/packages/divider/index.mjs +3 -1
- package/dist/packages/divider/style.mjs +1 -0
- package/dist/packages/drag/index.mjs +3 -1
- package/dist/packages/drag/style.mjs +1 -0
- package/dist/packages/ecard/index.mjs +3 -1
- package/dist/packages/ecard/index.scss +20 -2
- package/dist/packages/ecard/style.mjs +2 -1
- package/dist/packages/elevator/index.mjs +3 -1
- package/dist/packages/elevator/index.scss +14 -0
- package/dist/packages/elevator/style.mjs +1 -0
- package/dist/packages/ellipsis/index.mjs +3 -1
- package/dist/packages/ellipsis/style.mjs +1 -0
- package/dist/packages/empty/index.mjs +3 -1
- package/dist/packages/empty/style.mjs +1 -0
- package/dist/packages/fixednav/index.mjs +3 -1
- package/dist/packages/fixednav/style.mjs +2 -1
- package/dist/packages/form/index.mjs +3 -1
- package/dist/packages/form/style.mjs +2 -1
- package/dist/packages/formitem/index.mjs +3 -1
- package/dist/packages/formitem/style.mjs +2 -1
- package/dist/packages/grid/index.mjs +3 -1
- package/dist/packages/grid/style.mjs +1 -0
- package/dist/packages/griditem/index.mjs +3 -1
- package/dist/packages/griditem/style.mjs +1 -0
- package/dist/packages/icon/style.mjs +1 -0
- package/dist/packages/image/index.mjs +3 -1
- package/dist/packages/image/style.mjs +1 -0
- package/dist/packages/imagepreview/index.mjs +5 -2
- package/dist/packages/imagepreview/style.mjs +6 -5
- package/dist/packages/indicator/index.mjs +3 -1
- package/dist/packages/indicator/index.scss +4 -4
- package/dist/packages/indicator/style.mjs +1 -0
- package/dist/packages/infiniteloading/index.mjs +3 -1
- package/dist/packages/infiniteloading/style.mjs +1 -0
- package/dist/packages/input/index.mjs +3 -1
- package/dist/packages/input/index.scss +6 -2
- package/dist/packages/input/style.mjs +1 -0
- package/dist/packages/inputnumber/index.mjs +3 -1
- package/dist/packages/inputnumber/index.scss +5 -1
- package/dist/packages/inputnumber/style.mjs +1 -0
- package/dist/packages/invoice/index.mjs +3 -1
- package/dist/packages/invoice/style.mjs +8 -7
- package/dist/packages/layout/index.mjs +3 -1
- package/dist/packages/layout/style.mjs +1 -0
- package/dist/packages/list/index.mjs +3 -1
- package/dist/packages/list/style.mjs +1 -0
- package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
- package/dist/packages/locale/lang/en-US.js +1 -6
- package/dist/packages/locale/lang/id-ID.js +1 -6
- package/dist/packages/locale/lang/index.js +1 -6
- package/dist/packages/locale/lang/zh-CN.js +2 -7
- package/dist/packages/locale/lang/zh-TW.js +1 -6
- package/dist/packages/menu/index.mjs +3 -1
- package/dist/packages/menu/style.mjs +1 -0
- package/dist/packages/menuitem/index.mjs +3 -1
- package/dist/packages/menuitem/style.mjs +3 -2
- package/dist/packages/navbar/index.mjs +3 -1
- package/dist/packages/navbar/style.mjs +1 -0
- package/dist/packages/noticebar/index.mjs +3 -1
- package/dist/packages/noticebar/index.scss +13 -10
- package/dist/packages/noticebar/style.mjs +1 -0
- package/dist/packages/notify/index.mjs +5 -2
- package/dist/packages/notify/style.mjs +3 -2
- package/dist/packages/numberkeyboard/index.mjs +3 -1
- package/dist/packages/numberkeyboard/style.mjs +3 -2
- package/dist/packages/overlay/index.mjs +3 -1
- package/dist/packages/overlay/style.mjs +1 -0
- package/dist/packages/pagination/index.mjs +3 -1
- package/dist/packages/pagination/style.mjs +1 -0
- package/dist/packages/picker/index.mjs +3 -1
- package/dist/packages/picker/style.mjs +3 -2
- package/dist/packages/popover/index.mjs +3 -1
- package/dist/packages/popover/index.scss +1 -1
- package/dist/packages/popover/style.mjs +3 -2
- package/dist/packages/popup/index.mjs +3 -1
- package/dist/packages/popup/style.mjs +2 -1
- package/dist/packages/price/index.mjs +3 -1
- package/dist/packages/price/style.mjs +1 -0
- package/dist/packages/progress/index.mjs +3 -1
- package/dist/packages/progress/index.scss +8 -6
- package/dist/packages/progress/style.mjs +1 -0
- package/dist/packages/pullrefresh/index.mjs +3 -1
- package/dist/packages/pullrefresh/index.scss +4 -3
- package/dist/packages/pullrefresh/style.mjs +1 -0
- package/dist/packages/radio/index.mjs +3 -1
- package/dist/packages/radio/index.scss +14 -2
- package/dist/packages/radio/style.mjs +1 -0
- package/dist/packages/radiogroup/index.mjs +3 -1
- package/dist/packages/radiogroup/style.mjs +1 -0
- package/dist/packages/range/index.mjs +3 -1
- package/dist/packages/range/index.scss +6 -3
- package/dist/packages/range/style.mjs +1 -0
- package/dist/packages/rate/index.mjs +3 -1
- package/dist/packages/rate/index.scss +5 -4
- package/dist/packages/rate/style.mjs +1 -0
- package/dist/packages/row/index.mjs +3 -1
- package/dist/packages/row/style.mjs +1 -0
- package/dist/packages/searchbar/index.mjs +3 -1
- package/dist/packages/searchbar/index.scss +43 -24
- package/dist/packages/searchbar/style.mjs +1 -0
- package/dist/packages/shortpassword/index.mjs +3 -1
- package/dist/packages/shortpassword/style.mjs +3 -2
- package/dist/packages/sidenavbar/index.mjs +3 -1
- package/dist/packages/sidenavbar/style.mjs +1 -0
- package/dist/packages/sidenavbaritem/index.mjs +3 -1
- package/dist/packages/sidenavbaritem/style.mjs +1 -0
- package/dist/packages/signature/index.mjs +3 -1
- package/dist/packages/signature/index.scss +2 -2
- package/dist/packages/signature/style.mjs +2 -1
- package/dist/packages/skeleton/index.mjs +3 -1
- package/dist/packages/skeleton/style.mjs +2 -1
- package/dist/packages/sku/index.mjs +3 -1
- package/dist/packages/sku/index.scss +16 -2
- package/dist/packages/sku/style.mjs +5 -4
- package/dist/packages/step/index.mjs +3 -1
- package/dist/packages/step/index.scss +1 -9
- package/dist/packages/step/style.mjs +1 -0
- package/dist/packages/steps/index.mjs +3 -1
- package/dist/packages/steps/style.mjs +1 -0
- package/dist/packages/sticky/index.mjs +3 -1
- package/dist/packages/sticky/index.scss +2 -0
- package/dist/packages/sticky/style.mjs +1 -0
- package/dist/packages/subsidenavbar/index.mjs +3 -1
- package/dist/packages/subsidenavbar/style.mjs +1 -0
- package/dist/packages/swipe/index.mjs +3 -1
- package/dist/packages/swipe/style.mjs +1 -0
- package/dist/packages/swiper/index.mjs +3 -1
- package/dist/packages/swiper/style.mjs +1 -0
- package/dist/packages/swiperitem/index.mjs +3 -1
- package/dist/packages/swiperitem/style.mjs +1 -0
- package/dist/packages/switch/index.mjs +3 -1
- package/dist/packages/switch/index.scss +7 -0
- package/dist/packages/switch/style.mjs +1 -0
- package/dist/packages/tabbar/index.mjs +3 -1
- package/dist/packages/tabbar/style.mjs +1 -0
- package/dist/packages/tabbaritem/index.mjs +3 -1
- package/dist/packages/tabbaritem/index.scss +6 -0
- package/dist/packages/tabbaritem/style.mjs +2 -1
- package/dist/packages/table/index.mjs +3 -1
- package/dist/packages/table/style.mjs +1 -0
- package/dist/packages/tabpane/index.mjs +3 -1
- package/dist/packages/tabpane/style.mjs +1 -0
- package/dist/packages/tabs/index.mjs +3 -1
- package/dist/packages/tabs/style.mjs +2 -1
- package/dist/packages/tag/index.mjs +3 -1
- package/dist/packages/tag/style.mjs +1 -0
- package/dist/packages/textarea/index.mjs +3 -1
- package/dist/packages/textarea/index.scss +7 -1
- package/dist/packages/textarea/style.mjs +1 -0
- package/dist/packages/timedetail/index.mjs +3 -1
- package/dist/packages/timedetail/index.scss +14 -6
- package/dist/packages/timedetail/style.mjs +1 -0
- package/dist/packages/timepannel/index.mjs +3 -1
- package/dist/packages/timepannel/style.mjs +1 -0
- package/dist/packages/timeselect/index.mjs +3 -1
- package/dist/packages/timeselect/style.mjs +3 -2
- package/dist/packages/toast/index.mjs +5 -2
- package/dist/packages/toast/style.mjs +1 -0
- package/dist/packages/tour/index.mjs +3 -1
- package/dist/packages/tour/index.scss +3 -0
- package/dist/packages/tour/style.mjs +4 -3
- package/dist/packages/trendarrow/index.mjs +3 -1
- package/dist/packages/trendarrow/style.mjs +1 -0
- package/dist/packages/uploader/index.mjs +3 -1
- package/dist/packages/uploader/index.scss +21 -15
- package/dist/packages/uploader/style.mjs +3 -2
- package/dist/packages/video/index.mjs +3 -1
- package/dist/packages/video/style.mjs +1 -0
- package/dist/packages/watermark/index.mjs +3 -1
- package/dist/packages/watermark/style.mjs +1 -0
- package/dist/smartips/web-types.json +738 -810
- package/dist/style.css +1 -1
- package/dist/styles/reset.css +3 -0
- package/dist/styles/themes/default.scss +53 -55
- package/dist/styles/themes/jdb.scss +53 -54
- package/dist/styles/themes/jddkh.scss +53 -54
- package/dist/styles/themes/jdt.scss +53 -55
- package/dist/styles/variables-jdb.scss +7 -14
- package/dist/styles/variables-jddkh.scss +7 -13
- package/dist/styles/variables-jdt.scss +8 -14
- package/dist/styles/variables.scss +16 -25
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -9
- package/dist/types/__VUE/address/index.vue.d.ts +18 -0
- package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +23 -7
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +2 -2
- package/dist/types/__VUE/addresslist/index.vue.d.ts +6 -6
- package/dist/types/__VUE/barrage/index.vue.d.ts +2 -5
- package/dist/types/__VUE/card/index.vue.d.ts +0 -21
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +2 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
- package/dist/types/__VUE/cascader/types.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +2 -2
- package/dist/types/__VUE/comment/index.vue.d.ts +4 -4
- package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -2
- package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/dialog/index.d.ts +9 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
- package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
- package/dist/types/__VUE/icon/index.vue.d.ts +1 -0
- package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +0 -18
- package/dist/types/__VUE/input/index.vue.d.ts +7 -40
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/noticebar/index.vue.d.ts +8 -22
- package/dist/types/__VUE/notify/index.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +1 -10
- package/dist/types/__VUE/popup/common.d.ts +8 -0
- package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
- package/dist/types/__VUE/popup/props.d.ts +8 -0
- package/dist/types/__VUE/progress/index.vue.d.ts +1 -0
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +0 -9
- package/dist/types/__VUE/rate/index.vue.d.ts +18 -12
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
- package/dist/types/__VUE/steps/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swiper/index.vue.d.ts +9 -17
- package/dist/types/__VUE/table/common.d.ts +9 -9
- package/dist/types/__VUE/table/index.vue.d.ts +13 -11
- package/dist/types/__VUE/table/renderColumn.d.ts +9 -9
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/textarea/index.vue.d.ts +6 -1
- package/dist/types/__VUE/timedetail/index.vue.d.ts +0 -9
- package/dist/types/__VUE/toast/index.d.ts +3 -3
- package/dist/types/__VUE/tour/index.vue.d.ts +10 -10
- package/dist/types/index.d.ts +10 -7
- package/package.json +13 -143
- package/dist/nutui.umd.cjs +0 -20046
- package/dist/packages/_es/Icon.js +0 -12
- package/dist/packages/_es/index.vue_vue_type_script_lang-360a52b6.js +0 -12
- package/dist/packages/_es/pxCheck-c22d207b.js +0 -11
- package/dist/packages/_es/style.css +0 -16
- package/dist/packages/actionsheet/style.cjs +0 -3
- package/dist/packages/address/style.cjs +0 -4
- package/dist/packages/addresslist/style.cjs +0 -2
- package/dist/packages/animate/style.cjs +0 -1
- package/dist/packages/audio/style.cjs +0 -2
- package/dist/packages/audiooperate/style.cjs +0 -2
- package/dist/packages/avatar/style.cjs +0 -1
- package/dist/packages/avatargroup/style.cjs +0 -1
- package/dist/packages/backtop/style.cjs +0 -1
- package/dist/packages/badge/style.cjs +0 -1
- package/dist/packages/barrage/style.cjs +0 -1
- package/dist/packages/button/style.cjs +0 -1
- package/dist/packages/calendar/style.cjs +0 -4
- package/dist/packages/calendaritem/style.cjs +0 -1
- package/dist/packages/card/style.cjs +0 -3
- package/dist/packages/cascader/style.cjs +0 -6
- package/dist/packages/category/style.cjs +0 -1
- package/dist/packages/categorypane/style.cjs +0 -1
- package/dist/packages/cell/style.cjs +0 -1
- package/dist/packages/cellgroup/style.cjs +0 -1
- package/dist/packages/checkbox/style.cjs +0 -1
- package/dist/packages/checkboxgroup/style.cjs +0 -1
- package/dist/packages/circleprogress/style.cjs +0 -1
- package/dist/packages/col/style.cjs +0 -1
- package/dist/packages/collapse/style.cjs +0 -1
- package/dist/packages/collapseitem/style.cjs +0 -1
- package/dist/packages/comment/style.cjs +0 -2
- package/dist/packages/configprovider/style.cjs +0 -1
- package/dist/packages/countdown/style.cjs +0 -1
- package/dist/packages/countup/style.cjs +0 -1
- package/dist/packages/datepicker/style.cjs +0 -4
- package/dist/packages/dialog/style.cjs +0 -4
- package/dist/packages/divider/style.cjs +0 -1
- package/dist/packages/drag/style.cjs +0 -1
- package/dist/packages/ecard/style.cjs +0 -2
- package/dist/packages/elevator/style.cjs +0 -1
- package/dist/packages/ellipsis/style.cjs +0 -1
- package/dist/packages/empty/style.cjs +0 -1
- package/dist/packages/fixednav/style.cjs +0 -2
- package/dist/packages/form/style.cjs +0 -2
- package/dist/packages/formitem/style.cjs +0 -2
- package/dist/packages/grid/style.cjs +0 -1
- package/dist/packages/griditem/style.cjs +0 -1
- package/dist/packages/icon/index.mjs +0 -2
- package/dist/packages/icon/style.cjs +0 -1
- package/dist/packages/image/style.cjs +0 -1
- package/dist/packages/imagepreview/style.cjs +0 -6
- package/dist/packages/indicator/style.cjs +0 -1
- package/dist/packages/infiniteloading/style.cjs +0 -1
- package/dist/packages/input/style.cjs +0 -1
- package/dist/packages/inputnumber/style.cjs +0 -1
- package/dist/packages/invoice/style.cjs +0 -8
- package/dist/packages/layout/style.cjs +0 -1
- package/dist/packages/list/style.cjs +0 -1
- package/dist/packages/locale/lang/baseLang-fae9904b.js +0 -10
- package/dist/packages/menu/style.cjs +0 -1
- package/dist/packages/menuitem/style.cjs +0 -3
- package/dist/packages/navbar/style.cjs +0 -1
- package/dist/packages/noticebar/style.cjs +0 -1
- package/dist/packages/notify/style.cjs +0 -3
- package/dist/packages/numberkeyboard/style.cjs +0 -3
- package/dist/packages/overlay/style.cjs +0 -1
- package/dist/packages/pagination/style.cjs +0 -1
- package/dist/packages/picker/style.cjs +0 -3
- package/dist/packages/popover/style.cjs +0 -3
- package/dist/packages/popup/style.cjs +0 -2
- package/dist/packages/price/style.cjs +0 -1
- package/dist/packages/progress/style.cjs +0 -1
- package/dist/packages/pullrefresh/style.cjs +0 -1
- package/dist/packages/radio/style.cjs +0 -1
- package/dist/packages/radiogroup/style.cjs +0 -1
- package/dist/packages/range/style.cjs +0 -1
- package/dist/packages/rate/style.cjs +0 -1
- package/dist/packages/row/style.cjs +0 -1
- package/dist/packages/searchbar/style.cjs +0 -1
- package/dist/packages/shortpassword/style.cjs +0 -3
- package/dist/packages/sidenavbar/style.cjs +0 -1
- package/dist/packages/sidenavbaritem/style.cjs +0 -1
- package/dist/packages/signature/style.cjs +0 -2
- package/dist/packages/skeleton/style.cjs +0 -2
- package/dist/packages/sku/style.cjs +0 -5
- package/dist/packages/step/style.cjs +0 -1
- package/dist/packages/steps/style.cjs +0 -1
- package/dist/packages/sticky/style.cjs +0 -1
- package/dist/packages/subsidenavbar/style.cjs +0 -1
- package/dist/packages/swipe/style.cjs +0 -1
- package/dist/packages/swiper/style.cjs +0 -1
- package/dist/packages/swiperitem/style.cjs +0 -1
- package/dist/packages/switch/style.cjs +0 -1
- package/dist/packages/tabbar/style.cjs +0 -1
- package/dist/packages/tabbaritem/style.cjs +0 -2
- package/dist/packages/table/style.cjs +0 -1
- package/dist/packages/tabpane/style.cjs +0 -1
- package/dist/packages/tabs/style.cjs +0 -2
- package/dist/packages/tag/style.cjs +0 -1
- package/dist/packages/textarea/style.cjs +0 -1
- package/dist/packages/timedetail/style.cjs +0 -1
- package/dist/packages/timepannel/style.cjs +0 -1
- package/dist/packages/timeselect/style.cjs +0 -3
- package/dist/packages/toast/style.cjs +0 -1
- package/dist/packages/tour/style.cjs +0 -4
- package/dist/packages/trendarrow/style.cjs +0 -1
- package/dist/packages/uploader/style.cjs +0 -3
- package/dist/packages/video/style.cjs +0 -1
- package/dist/packages/watermark/style.cjs +0 -1
- package/dist/smartips/attributes.json +0 -2810
- package/dist/smartips/tags.json +0 -1047
- package/dist/styles/theme-deafult.scss +0 -920
- package/dist/styles/theme-jdt.scss +0 -898
- package/dist/styles/variables-var.scss +0 -854
- package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +0 -26
- package/dist/types/__VUE/configprovider/common.d.ts +0 -20
- package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
|
@@ -4,18 +4,13 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
9
|
-
* (c) 2022 @jdf2e.
|
|
10
|
-
* Released under the MIT License.
|
|
11
|
-
*/
|
|
12
|
-
import { c as createComponent, T as TypeOfFun } from "./component-0ea0483c.js";
|
|
7
|
+
import { c as createComponent, T as TypeOfFun } from "./component-81a4c1d0.js";
|
|
13
8
|
import { ref, provide, computed, watch, onMounted, onActivated, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode, createVNode, toDisplayString } from "vue";
|
|
14
|
-
import { p as pxCheck } from "./pxCheck-
|
|
15
|
-
import { u as useRect } from "./index-
|
|
16
|
-
import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-
|
|
9
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
10
|
+
import { u as useRect } from "./index-29892cda.js";
|
|
11
|
+
import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-cc5c4086.js";
|
|
17
12
|
import { JoySmile } from "@nutui/icons-vue";
|
|
18
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
13
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
19
14
|
import "../locale/lang";
|
|
20
15
|
class Title {
|
|
21
16
|
constructor() {
|
|
@@ -26,7 +21,7 @@ class Title {
|
|
|
26
21
|
}
|
|
27
22
|
}
|
|
28
23
|
const { create } = createComponent("tabs");
|
|
29
|
-
const _sfc_main =
|
|
24
|
+
const _sfc_main = create({
|
|
30
25
|
components: { [_sfc_main$1.name]: _sfc_main$1, JoySmile },
|
|
31
26
|
props: {
|
|
32
27
|
modelValue: {
|
|
@@ -40,6 +35,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
40
35
|
direction: {
|
|
41
36
|
type: String,
|
|
42
37
|
default: "horizontal"
|
|
38
|
+
//vertical
|
|
43
39
|
},
|
|
44
40
|
size: {
|
|
45
41
|
type: String,
|
|
@@ -48,6 +44,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
48
44
|
type: {
|
|
49
45
|
type: String,
|
|
50
46
|
default: "line"
|
|
47
|
+
//card、line、smile
|
|
51
48
|
},
|
|
52
49
|
titleScroll: {
|
|
53
50
|
type: Boolean,
|
|
@@ -90,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
90
87
|
provide("autoHeight", { autoHeight: computed(() => props.autoHeight) });
|
|
91
88
|
const titles = ref([]);
|
|
92
89
|
const renderTitles = (vnodes) => {
|
|
93
|
-
vnodes.forEach((vnode,
|
|
90
|
+
vnodes.forEach((vnode, index) => {
|
|
94
91
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
95
92
|
let type = vnode.type;
|
|
96
93
|
type = type.name || type;
|
|
@@ -102,7 +99,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
102
99
|
let camelPaneKeyType = TypeOfFun((_f = vnode.props) == null ? void 0 : _f["paneKey"]);
|
|
103
100
|
let camelPaneIndex = camelPaneKeyType == "number" || camelPaneKeyType == "string" ? String((_g = vnode.props) == null ? void 0 : _g["paneKey"]) : null;
|
|
104
101
|
title.title = (_h = vnode.props) == null ? void 0 : _h.title;
|
|
105
|
-
title.paneKey = paneIndex || camelPaneIndex || String(
|
|
102
|
+
title.paneKey = paneIndex || camelPaneIndex || String(index);
|
|
106
103
|
title.disabled = (_i = vnode.props) == null ? void 0 : _i.disabled;
|
|
107
104
|
}
|
|
108
105
|
titles.value.push(title);
|
|
@@ -116,13 +113,13 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
116
113
|
};
|
|
117
114
|
const currentIndex = ref(props.modelValue || 0);
|
|
118
115
|
const findTabsIndex = (value) => {
|
|
119
|
-
let
|
|
116
|
+
let index = titles.value.findIndex((item) => item.paneKey == value);
|
|
120
117
|
if (titles.value.length == 0) {
|
|
121
118
|
console.error("[NutUI] <Tabs> 当前未找到 TabPane 组件元素 , 请检查 .");
|
|
122
|
-
} else if (
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
currentIndex.value =
|
|
119
|
+
} else if (index == -1)
|
|
120
|
+
;
|
|
121
|
+
else {
|
|
122
|
+
currentIndex.value = index;
|
|
126
123
|
}
|
|
127
124
|
};
|
|
128
125
|
const init = (vnodes = ((_a) => (_a = slots.default) == null ? void 0 : _a.call(slots))()) => {
|
|
@@ -188,12 +185,12 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
188
185
|
};
|
|
189
186
|
});
|
|
190
187
|
const methods = {
|
|
191
|
-
tabChange: (item,
|
|
188
|
+
tabChange: (item, index) => {
|
|
192
189
|
emit("click", item);
|
|
193
190
|
if (item.disabled) {
|
|
194
191
|
return;
|
|
195
192
|
}
|
|
196
|
-
currentIndex.value =
|
|
193
|
+
currentIndex.value = index;
|
|
197
194
|
emit("update:modelValue", item.paneKey);
|
|
198
195
|
emit("change", item);
|
|
199
196
|
}
|
|
@@ -231,11 +228,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
228
|
class: normalizeClass(["nut-tabs__titles", { [_ctx.type]: _ctx.type, scrollable: _ctx.titleScroll, [_ctx.size]: _ctx.size }]),
|
|
232
229
|
style: normalizeStyle(_ctx.tabsNavStyle)
|
|
233
230
|
}, [
|
|
234
|
-
_ctx.$slots.titles ? renderSlot(_ctx.$slots, "titles", { key: 0 }) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.titles, (item,
|
|
231
|
+
_ctx.$slots.titles ? renderSlot(_ctx.$slots, "titles", { key: 0 }) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.titles, (item, index) => {
|
|
235
232
|
return openBlock(), createElementBlock("view", {
|
|
236
233
|
class: normalizeClass(["nut-tabs__titles-item", { active: item.paneKey == _ctx.modelValue, disabled: item.disabled }]),
|
|
237
234
|
style: normalizeStyle(_ctx.titleStyle),
|
|
238
|
-
onClick: ($event) => _ctx.tabChange(item,
|
|
235
|
+
onClick: ($event) => _ctx.tabChange(item, index),
|
|
239
236
|
key: item.paneKey
|
|
240
237
|
}, [
|
|
241
238
|
_ctx.type == "line" ? (openBlock(), createElementBlock("view", {
|
|
@@ -263,11 +260,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
263
260
|
class: normalizeClass(["nut-tabs__titles", { [_ctx.type]: _ctx.type, scrollable: _ctx.titleScroll, [_ctx.size]: _ctx.size }]),
|
|
264
261
|
style: normalizeStyle(_ctx.tabsNavStyle)
|
|
265
262
|
}, [
|
|
266
|
-
_ctx.$slots.titles ? renderSlot(_ctx.$slots, "titles", { key: 0 }) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.titles, (item,
|
|
263
|
+
_ctx.$slots.titles ? renderSlot(_ctx.$slots, "titles", { key: 0 }) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.titles, (item, index) => {
|
|
267
264
|
return openBlock(), createElementBlock("view", {
|
|
268
265
|
class: normalizeClass(["nut-tabs__titles-item", { active: item.paneKey == _ctx.modelValue, disabled: item.disabled }]),
|
|
269
266
|
style: normalizeStyle(_ctx.titleStyle),
|
|
270
|
-
onClick: ($event) => _ctx.tabChange(item,
|
|
267
|
+
onClick: ($event) => _ctx.tabChange(item, index),
|
|
271
268
|
key: item.paneKey
|
|
272
269
|
}, [
|
|
273
270
|
_ctx.type == "line" ? (openBlock(), createElementBlock("view", {
|
|
@@ -296,8 +293,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
296
293
|
], 4)
|
|
297
294
|
], 2);
|
|
298
295
|
}
|
|
299
|
-
const
|
|
296
|
+
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
300
297
|
export {
|
|
301
298
|
Title,
|
|
302
|
-
|
|
299
|
+
Tabs as default
|
|
303
300
|
};
|
package/dist/packages/_es/Tag.js
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, createCommentVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Close } from "@nutui/icons-vue";
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
const { componentName, create } = createComponent("tag");
|
|
12
|
-
const _sfc_main =
|
|
7
|
+
const _sfc_main = create({
|
|
13
8
|
props: {
|
|
14
9
|
color: { type: String, default: "" },
|
|
15
10
|
textColor: { type: String, default: "" },
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, computed, onMounted, nextTick, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create, translate } = createComponent("textarea");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
8
|
modelValue: {
|
|
14
9
|
type: String,
|
|
@@ -72,6 +67,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
72
67
|
const styles = computed(() => {
|
|
73
68
|
return {
|
|
74
69
|
textAlign: props.textAlign
|
|
70
|
+
// resize: props.autosize ? 'vertical' : 'none'
|
|
75
71
|
};
|
|
76
72
|
});
|
|
77
73
|
const getContentHeight = () => {
|
|
@@ -107,8 +103,14 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
107
103
|
emit("change", value, event);
|
|
108
104
|
};
|
|
109
105
|
const change = (event) => {
|
|
110
|
-
|
|
111
|
-
|
|
106
|
+
if (!event.target.composing) {
|
|
107
|
+
const input = event.target;
|
|
108
|
+
let value = input.value;
|
|
109
|
+
if (props.maxLength && value.length > Number(props.maxLength)) {
|
|
110
|
+
value = value.slice(0, Number(props.maxLength));
|
|
111
|
+
}
|
|
112
|
+
emitChange(input.value, event);
|
|
113
|
+
}
|
|
112
114
|
};
|
|
113
115
|
const focus = (event) => {
|
|
114
116
|
if (props.disabled)
|
|
@@ -127,6 +129,15 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
127
129
|
emitChange(value, event);
|
|
128
130
|
emit("blur", { value, event });
|
|
129
131
|
};
|
|
132
|
+
const startComposing = ({ target }) => {
|
|
133
|
+
target.composing = true;
|
|
134
|
+
};
|
|
135
|
+
const endComposing = ({ target }) => {
|
|
136
|
+
if (target.composing) {
|
|
137
|
+
target.composing = false;
|
|
138
|
+
target.dispatchEvent(new Event("input"));
|
|
139
|
+
}
|
|
140
|
+
};
|
|
130
141
|
return {
|
|
131
142
|
textareaRef,
|
|
132
143
|
classes,
|
|
@@ -134,7 +145,9 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
134
145
|
change,
|
|
135
146
|
focus,
|
|
136
147
|
blur,
|
|
137
|
-
translate
|
|
148
|
+
translate,
|
|
149
|
+
startComposing,
|
|
150
|
+
endComposing
|
|
138
151
|
};
|
|
139
152
|
}
|
|
140
153
|
});
|
|
@@ -160,7 +173,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
160
173
|
onFocus: _cache[2] || (_cache[2] = (...args) => _ctx.focus && _ctx.focus(...args)),
|
|
161
174
|
maxlength: _ctx.maxLength,
|
|
162
175
|
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
163
|
-
autofocus: _ctx.autofocus
|
|
176
|
+
autofocus: _ctx.autofocus,
|
|
177
|
+
onChange: _cache[3] || (_cache[3] = (...args) => _ctx.endComposing && _ctx.endComposing(...args)),
|
|
178
|
+
onCompositionend: _cache[4] || (_cache[4] = (...args) => _ctx.endComposing && _ctx.endComposing(...args)),
|
|
179
|
+
onCompositionstart: _cache[5] || (_cache[5] = (...args) => _ctx.startComposing && _ctx.startComposing(...args))
|
|
164
180
|
}, null, 44, _hoisted_1),
|
|
165
181
|
_ctx.limitShow ? (openBlock(), createElementBlock("view", _hoisted_2, toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0) + "/" + toDisplayString(_ctx.maxLength), 1)) : createCommentVNode("", true)
|
|
166
182
|
], 2);
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("time-detail");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
name: "timedetail",
|
|
13
8
|
props: {
|
|
14
9
|
times: {
|
|
@@ -16,10 +11,6 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
16
11
|
default: () => {
|
|
17
12
|
return [];
|
|
18
13
|
}
|
|
19
|
-
},
|
|
20
|
-
detailKey: {
|
|
21
|
-
type: [Number, String],
|
|
22
|
-
default: 0
|
|
23
14
|
}
|
|
24
15
|
},
|
|
25
16
|
emits: ["select"],
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("time-pannel");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
name: "timepannel",
|
|
13
8
|
props: {
|
|
14
9
|
name: {
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, provide, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { P as Popup } from "./index-
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
import "./Overlay.js";
|
|
12
7
|
import "@nutui/icons-vue";
|
|
13
8
|
const { componentName, create, translate } = createComponent("time-select");
|
|
14
|
-
const _sfc_main =
|
|
9
|
+
const _sfc_main = create({
|
|
15
10
|
components: {
|
|
16
11
|
[Popup.name]: Popup
|
|
17
12
|
},
|
|
@@ -40,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
40
35
|
},
|
|
41
36
|
lockScroll: {
|
|
42
37
|
type: [Boolean],
|
|
43
|
-
default:
|
|
38
|
+
default: true
|
|
44
39
|
},
|
|
45
40
|
teleportDisable: {
|
|
46
41
|
type: Boolean,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, onMounted, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, vShow, createVNode, render } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { r as renderIcon } from "./renderIcon-
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
|
-
import { C as CreateComponent } from "./mountComponent-
|
|
6
|
+
import { C as CreateComponent } from "./mountComponent-1ece4110.js";
|
|
12
7
|
import { Success, Failure, Tips, Loading } from "@nutui/icons-vue";
|
|
13
8
|
const { create } = createComponent("toast");
|
|
14
|
-
const _sfc_main =
|
|
9
|
+
const _sfc_main = create({
|
|
15
10
|
components: {},
|
|
16
11
|
props: {
|
|
17
12
|
id: String,
|
|
@@ -201,7 +196,9 @@ const defaultOptions = {
|
|
|
201
196
|
msg: "",
|
|
202
197
|
id: "",
|
|
203
198
|
duration: 2e3,
|
|
199
|
+
//显示时间(毫秒)
|
|
204
200
|
center: true,
|
|
201
|
+
// 未实现
|
|
205
202
|
type: "text",
|
|
206
203
|
title: "",
|
|
207
204
|
customClass: "",
|
|
@@ -210,13 +207,19 @@ const defaultOptions = {
|
|
|
210
207
|
iconSize: "20",
|
|
211
208
|
icon: null,
|
|
212
209
|
textAlignCenter: true,
|
|
210
|
+
// 未实现
|
|
213
211
|
loadingRotate: true,
|
|
212
|
+
// 未实现
|
|
214
213
|
bgColor: "",
|
|
215
214
|
onClose: null,
|
|
215
|
+
// 未实现
|
|
216
216
|
unmount: null,
|
|
217
217
|
cover: false,
|
|
218
|
+
//透明遮罩层 // 未实现
|
|
218
219
|
coverColor: "",
|
|
220
|
+
// 未实现
|
|
219
221
|
closeOnClickOverlay: false
|
|
222
|
+
// 未实现
|
|
220
223
|
};
|
|
221
224
|
let idsMap = [];
|
|
222
225
|
let optsMap = [];
|
|
@@ -250,7 +253,7 @@ const updateToast = (opts) => {
|
|
|
250
253
|
}
|
|
251
254
|
const instance = createVNode(Toast, opts);
|
|
252
255
|
render(instance, container);
|
|
253
|
-
return
|
|
256
|
+
return showToast;
|
|
254
257
|
}
|
|
255
258
|
};
|
|
256
259
|
const mountToast = (opts) => {
|
|
@@ -271,7 +274,7 @@ const mountToast = (opts) => {
|
|
|
271
274
|
CreateComponent(opts, {
|
|
272
275
|
wrapper: Toast
|
|
273
276
|
});
|
|
274
|
-
return
|
|
277
|
+
return showToast;
|
|
275
278
|
};
|
|
276
279
|
const errorMsg = (msg) => {
|
|
277
280
|
if (!msg) {
|
|
@@ -279,7 +282,7 @@ const errorMsg = (msg) => {
|
|
|
279
282
|
return;
|
|
280
283
|
}
|
|
281
284
|
};
|
|
282
|
-
const
|
|
285
|
+
const showToast = {
|
|
283
286
|
text(msg, opts = {}) {
|
|
284
287
|
errorMsg(msg);
|
|
285
288
|
return mountToast({ ...opts, type: "text", msg });
|
|
@@ -309,11 +312,9 @@ const ToastFunction = {
|
|
|
309
312
|
},
|
|
310
313
|
install(app) {
|
|
311
314
|
app.use(Toast);
|
|
312
|
-
app.config.globalProperties.$toast = ToastFunction;
|
|
313
315
|
}
|
|
314
316
|
};
|
|
315
317
|
export {
|
|
316
|
-
Toast,
|
|
317
|
-
|
|
318
|
-
ToastFunction as default
|
|
318
|
+
Toast as default,
|
|
319
|
+
showToast
|
|
319
320
|
};
|
|
@@ -1,29 +1,25 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, ref, computed, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, vShow, Fragment, renderList, normalizeStyle, createCommentVNode, createVNode, withCtx, renderSlot, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { u as useRect } from "./index-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { u as useRect } from "./index-29892cda.js";
|
|
9
4
|
import { Close } from "@nutui/icons-vue";
|
|
10
5
|
import Popover from "./Popover.js";
|
|
11
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
|
-
import "./renderIcon-
|
|
14
|
-
import "./index-
|
|
8
|
+
import "./renderIcon-3d0fd47c.js";
|
|
9
|
+
import "./index-991c279f.js";
|
|
15
10
|
import "./Overlay.js";
|
|
16
11
|
const { create } = createComponent("tour");
|
|
17
|
-
const _sfc_main =
|
|
12
|
+
const _sfc_main = create({
|
|
18
13
|
components: {
|
|
19
14
|
[Popover.name]: Popover,
|
|
20
15
|
Close
|
|
21
16
|
},
|
|
22
17
|
props: {
|
|
23
|
-
|
|
18
|
+
modelValue: { type: Boolean, default: false },
|
|
24
19
|
type: {
|
|
25
20
|
type: String,
|
|
26
21
|
default: "step"
|
|
22
|
+
// tile
|
|
27
23
|
},
|
|
28
24
|
steps: {
|
|
29
25
|
type: Array,
|
|
@@ -86,10 +82,10 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
86
82
|
default: true
|
|
87
83
|
}
|
|
88
84
|
},
|
|
89
|
-
emits: ["update:
|
|
85
|
+
emits: ["update:modelValue", "change", "close"],
|
|
90
86
|
setup(props, { emit }) {
|
|
91
87
|
const state = reactive({
|
|
92
|
-
showTour: props.
|
|
88
|
+
showTour: props.modelValue,
|
|
93
89
|
showPopup: false,
|
|
94
90
|
active: 0
|
|
95
91
|
});
|
|
@@ -134,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
134
130
|
state.showTour = false;
|
|
135
131
|
state.showPopup = false;
|
|
136
132
|
emit("close", state.active);
|
|
137
|
-
emit("update:
|
|
133
|
+
emit("update:modelValue", false);
|
|
138
134
|
};
|
|
139
135
|
const handleClickMask = () => {
|
|
140
136
|
props.closeOnClickOverlay && close();
|
|
@@ -144,7 +140,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
144
140
|
getRootPosition();
|
|
145
141
|
});
|
|
146
142
|
watch(
|
|
147
|
-
() => props.
|
|
143
|
+
() => props.modelValue,
|
|
148
144
|
(val) => {
|
|
149
145
|
if (val) {
|
|
150
146
|
getRootPosition();
|
|
@@ -230,7 +226,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
230
226
|
createElementVNode("div", _hoisted_4, [
|
|
231
227
|
createElementVNode("div", _hoisted_5, toDisplayString(_ctx.active + 1) + "/" + toDisplayString(_ctx.steps.length), 1),
|
|
232
228
|
createElementVNode("div", _hoisted_6, [
|
|
233
|
-
renderSlot(_ctx.$slots, "
|
|
229
|
+
renderSlot(_ctx.$slots, "prev-step", {}, () => [
|
|
234
230
|
_ctx.active != 0 && _ctx.showPrevStep ? (openBlock(), createElementBlock("div", {
|
|
235
231
|
key: 0,
|
|
236
232
|
class: "nut-tour-content-bottom-operate-btn",
|
|
@@ -242,7 +238,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
242
238
|
class: "nut-tour-content-bottom-operate-btn active",
|
|
243
239
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.close && _ctx.close(...args))
|
|
244
240
|
}, toDisplayString(_ctx.completeTxt), 1)) : createCommentVNode("", true),
|
|
245
|
-
renderSlot(_ctx.$slots, "
|
|
241
|
+
renderSlot(_ctx.$slots, "next-step", {}, () => [
|
|
246
242
|
_ctx.steps.length - 1 != _ctx.active ? (openBlock(), createElementBlock("div", {
|
|
247
243
|
key: 0,
|
|
248
244
|
class: "nut-tour-content-bottom-operate-btn active",
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.3 Tue Dec 27 2022 17:58:29 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
7
|
-
import { m as myFixed, c as createComponent } from "./component-
|
|
2
|
+
import { m as myFixed, c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { TriangleUp, TriangleDown } from "@nutui/icons-vue";
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
const { componentName, create } = createComponent("trend-arrow");
|
|
12
|
-
const _sfc_main =
|
|
7
|
+
const _sfc_main = create({
|
|
13
8
|
components: { TriangleUp, TriangleDown },
|
|
14
9
|
props: {
|
|
15
10
|
rate: {
|
|
@@ -93,10 +88,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
93
88
|
class: "nut-trend-arrow-icon-before nut-trend-arrow-rate",
|
|
94
89
|
style: normalizeStyle(_ctx.calcStyle)
|
|
95
90
|
}, toDisplayString(_ctx.calcRate), 5)) : createCommentVNode("", true),
|
|
96
|
-
Number(_ctx.rate) !== 0 && _ctx.rateTrend ? renderSlot(_ctx.$slots, "
|
|
91
|
+
Number(_ctx.rate) !== 0 && _ctx.rateTrend ? renderSlot(_ctx.$slots, "up-icon", { key: 1 }, () => [
|
|
97
92
|
createVNode(_component_TriangleUp, { color: _ctx.riseColor }, null, 8, ["color"])
|
|
98
93
|
]) : createCommentVNode("", true),
|
|
99
|
-
Number(_ctx.rate) !== 0 && !_ctx.rateTrend ? renderSlot(_ctx.$slots, "
|
|
94
|
+
Number(_ctx.rate) !== 0 && !_ctx.rateTrend ? renderSlot(_ctx.$slots, "down-icon", { key: 2 }, () => [
|
|
100
95
|
createVNode(_component_TriangleDown, { color: _ctx.dropColor }, null, 8, ["color"])
|
|
101
96
|
]) : createCommentVNode("", true),
|
|
102
97
|
_ctx.arrowLeft ? (openBlock(), createElementBlock("span", {
|
|
@@ -4,17 +4,12 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* Released under the MIT License.
|
|
11
|
-
*/
|
|
12
|
-
import { reactive, computed, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, createElementVNode, toDisplayString, createVNode, createTextVNode } from "vue";
|
|
13
|
-
import { c as createComponent } from "./component-0ea0483c.js";
|
|
14
|
-
import { f as funInterceptor } from "./interceptor-0db96410.js";
|
|
7
|
+
import { reactive, computed, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
8
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
9
|
+
import { f as funInterceptor } from "./interceptor-956b24fc.js";
|
|
15
10
|
import Progress from "./Progress.js";
|
|
16
11
|
import { Photograph, Failure, Loading, Del, Link } from "@nutui/icons-vue";
|
|
17
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
12
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
18
13
|
import "../locale/lang";
|
|
19
14
|
class UploadOptions {
|
|
20
15
|
constructor() {
|
|
@@ -96,7 +91,7 @@ class FileItem {
|
|
|
96
91
|
}
|
|
97
92
|
}
|
|
98
93
|
const { componentName, create, translate } = createComponent("uploader");
|
|
99
|
-
const _sfc_main =
|
|
94
|
+
const _sfc_main = create({
|
|
100
95
|
components: {
|
|
101
96
|
[Progress.name]: Progress,
|
|
102
97
|
Photograph,
|
|
@@ -108,9 +103,11 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
108
103
|
props: {
|
|
109
104
|
name: { type: String, default: "file" },
|
|
110
105
|
url: { type: String, default: "" },
|
|
106
|
+
// defaultFileList: { type: Array, default: () => new Array<FileItem>() },
|
|
111
107
|
timeout: { type: [Number, String], default: 1e3 * 30 },
|
|
112
108
|
fileList: { type: Array, default: () => [] },
|
|
113
109
|
isPreview: { type: Boolean, default: true },
|
|
110
|
+
// picture、list
|
|
114
111
|
listType: { type: String, default: "picture" },
|
|
115
112
|
isDeletable: { type: Boolean, default: true },
|
|
116
113
|
method: { type: String, default: "post" },
|
|
@@ -367,12 +364,14 @@ const _hoisted_7 = {
|
|
|
367
364
|
class: "nut-uploader__preview-img__file"
|
|
368
365
|
};
|
|
369
366
|
const _hoisted_8 = ["onClick"];
|
|
370
|
-
const _hoisted_9 = { class: "
|
|
371
|
-
const _hoisted_10 = {
|
|
367
|
+
const _hoisted_9 = { class: "file__name_tips" };
|
|
368
|
+
const _hoisted_10 = { class: "tips" };
|
|
369
|
+
const _hoisted_11 = {
|
|
372
370
|
key: 1,
|
|
373
371
|
class: "nut-uploader__preview-list"
|
|
374
372
|
};
|
|
375
|
-
const
|
|
373
|
+
const _hoisted_12 = ["onClick"];
|
|
374
|
+
const _hoisted_13 = { class: "file__name_tips" };
|
|
376
375
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
377
376
|
const _component_Failure = resolveComponent("Failure");
|
|
378
377
|
const _component_Loading = resolveComponent("Loading");
|
|
@@ -429,24 +428,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
429
428
|
onClick: ($event) => _ctx.fileItemClick(item),
|
|
430
429
|
class: "nut-uploader__preview-img__file__name"
|
|
431
430
|
}, [
|
|
432
|
-
|
|
433
|
-
createTextVNode(" " + toDisplayString(item.name), 1)
|
|
431
|
+
createElementVNode("view", _hoisted_9, toDisplayString(item.name), 1)
|
|
434
432
|
], 8, _hoisted_8)
|
|
435
433
|
])),
|
|
436
|
-
createElementVNode("view",
|
|
437
|
-
])) : _ctx.listType == "list" ? (openBlock(), createElementBlock("view",
|
|
434
|
+
createElementVNode("view", _hoisted_10, toDisplayString(item.name), 1)
|
|
435
|
+
])) : _ctx.listType == "list" ? (openBlock(), createElementBlock("view", _hoisted_11, [
|
|
438
436
|
createElementVNode("view", {
|
|
439
437
|
onClick: ($event) => _ctx.fileItemClick(item),
|
|
440
438
|
class: normalizeClass(["nut-uploader__preview-img__file__name", [item.status]])
|
|
441
439
|
}, [
|
|
442
|
-
createVNode(_component_Link),
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
440
|
+
createVNode(_component_Link, { class: "nut-uploader__preview-img__file__link" }),
|
|
441
|
+
createElementVNode("view", _hoisted_13, toDisplayString(item.name), 1),
|
|
442
|
+
createVNode(_component_Del, {
|
|
443
|
+
color: "#808080",
|
|
444
|
+
class: "nut-uploader__preview-img__file__del",
|
|
445
|
+
onClick: ($event) => _ctx.onDelete(item, index2)
|
|
446
|
+
}, null, 8, ["onClick"])
|
|
447
|
+
], 10, _hoisted_12),
|
|
450
448
|
item.status == "uploading" ? (openBlock(), createBlock(_component_nut_progress, {
|
|
451
449
|
key: 0,
|
|
452
450
|
size: "small",
|