@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
|
@@ -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 { 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();
|
|
@@ -23,7 +18,7 @@ const zhCNType = {
|
|
|
23
18
|
minute: translate("minute"),
|
|
24
19
|
seconds: translate("seconds")
|
|
25
20
|
};
|
|
26
|
-
const _sfc_main =
|
|
21
|
+
const _sfc_main = create({
|
|
27
22
|
components: {
|
|
28
23
|
[Picker.name]: Picker
|
|
29
24
|
},
|
|
@@ -67,10 +62,12 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
67
62
|
type: Function,
|
|
68
63
|
default: null
|
|
69
64
|
},
|
|
65
|
+
// 是否开启3D效果
|
|
70
66
|
threeDimensional: {
|
|
71
67
|
type: Boolean,
|
|
72
68
|
default: true
|
|
73
69
|
},
|
|
70
|
+
// 惯性滚动 时长
|
|
74
71
|
swipeDuration: {
|
|
75
72
|
type: [Number, String],
|
|
76
73
|
default: 1e3
|
|
@@ -4,24 +4,18 @@ 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
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-991c279f.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-360a52b6.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
|
-
const _sfc_main =
|
|
18
|
+
const _sfc_main = create({
|
|
25
19
|
inheritAttrs: false,
|
|
26
20
|
components: {
|
|
27
21
|
[Popup.name]: Popup,
|
|
@@ -76,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
76
70
|
footerDirection: {
|
|
77
71
|
type: String,
|
|
78
72
|
default: "horizontal"
|
|
73
|
+
//vertical
|
|
79
74
|
},
|
|
80
75
|
customClass: {
|
|
81
76
|
type: String,
|
|
@@ -165,6 +160,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
160
|
"close-on-click-overlay": _ctx.closeOnClickOverlay,
|
|
166
161
|
"lock-scroll": _ctx.lockScroll,
|
|
167
162
|
"pop-class": _ctx.popClass,
|
|
163
|
+
"overlay-class": _ctx.overlayClass,
|
|
164
|
+
"overlay-style": _ctx.overlayStyle,
|
|
168
165
|
style: normalizeStyle(_ctx.popStyle),
|
|
169
166
|
round: "",
|
|
170
167
|
onClickOverlay: _ctx.closed,
|
|
@@ -223,7 +220,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
223
220
|
], 2)
|
|
224
221
|
]),
|
|
225
222
|
_: 3
|
|
226
|
-
}, 8, ["teleport", "visible", "close-on-click-overlay", "lock-scroll", "pop-class", "style", "onClickOverlay", "onClickCloseIcon"]);
|
|
223
|
+
}, 8, ["teleport", "visible", "close-on-click-overlay", "lock-scroll", "pop-class", "overlay-class", "overlay-style", "style", "onClickOverlay", "onClickCloseIcon"]);
|
|
227
224
|
}
|
|
228
225
|
const Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
229
226
|
class DialogOptions {
|
|
@@ -241,16 +238,13 @@ class DialogOptions {
|
|
|
241
238
|
__publicField(this, "teleport", "body");
|
|
242
239
|
__publicField(this, "id", new Date().getTime());
|
|
243
240
|
__publicField(this, "footerDirection", "horizontal");
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
__publicField(this, "
|
|
247
|
-
|
|
248
|
-
__publicField(this, "onCancel"
|
|
249
|
-
|
|
250
|
-
__publicField(this, "
|
|
251
|
-
});
|
|
252
|
-
__publicField(this, "onClosed", () => {
|
|
253
|
-
});
|
|
241
|
+
//使用横纵方向 可选值 horizontal、vertical
|
|
242
|
+
// function
|
|
243
|
+
__publicField(this, "onUpdate");
|
|
244
|
+
__publicField(this, "onOk");
|
|
245
|
+
__publicField(this, "onCancel");
|
|
246
|
+
__publicField(this, "onOpened");
|
|
247
|
+
__publicField(this, "onClosed");
|
|
254
248
|
__publicField(this, "beforeClose");
|
|
255
249
|
__publicField(this, "visible", true);
|
|
256
250
|
__publicField(this, "noFooter", false);
|
|
@@ -258,17 +252,17 @@ class DialogOptions {
|
|
|
258
252
|
__publicField(this, "noCancelBtn", false);
|
|
259
253
|
__publicField(this, "okBtnDisabled", false);
|
|
260
254
|
__publicField(this, "closeOnPopstate", false);
|
|
261
|
-
__publicField(this, "lockScroll",
|
|
255
|
+
__publicField(this, "lockScroll", true);
|
|
262
256
|
}
|
|
263
257
|
}
|
|
264
258
|
class DialogFunction {
|
|
265
259
|
constructor(_options) {
|
|
266
260
|
__publicField(this, "options", new DialogOptions());
|
|
267
261
|
__publicField(this, "instance");
|
|
268
|
-
|
|
262
|
+
const options = Object.assign(this.options, _options);
|
|
269
263
|
const { unmount } = CreateComponent(options, {
|
|
270
264
|
name: "dialog",
|
|
271
|
-
components: [Popup,
|
|
265
|
+
components: [Popup, Button, Overlay],
|
|
272
266
|
wrapper: (elWarp, root) => {
|
|
273
267
|
return {
|
|
274
268
|
setup() {
|
|
@@ -290,15 +284,14 @@ class DialogFunction {
|
|
|
290
284
|
});
|
|
291
285
|
}
|
|
292
286
|
}
|
|
293
|
-
const
|
|
287
|
+
const showDialog = function(options) {
|
|
294
288
|
return new DialogFunction(options);
|
|
295
289
|
};
|
|
296
|
-
|
|
290
|
+
showDialog.install = (app) => {
|
|
297
291
|
app.use(Dialog);
|
|
298
|
-
app.config.globalProperties.$dialog = _Dialog;
|
|
299
292
|
};
|
|
300
293
|
export {
|
|
301
|
-
Dialog,
|
|
302
294
|
DialogOptions,
|
|
303
|
-
|
|
295
|
+
Dialog as default,
|
|
296
|
+
showDialog
|
|
304
297
|
};
|
|
@@ -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 { 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
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
8
|
contentPosition: {
|
|
14
9
|
type: String,
|
|
@@ -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 { 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
|
-
const _sfc_main =
|
|
7
|
+
const _sfc_main = create({
|
|
13
8
|
props: {
|
|
14
9
|
attract: {
|
|
15
10
|
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 { 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
|
-
const _sfc_main =
|
|
9
|
+
const _sfc_main = create({
|
|
15
10
|
components: {
|
|
16
11
|
[InputNumber.name]: InputNumber
|
|
17
12
|
},
|
|
@@ -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 { 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
|
-
const _sfc_main =
|
|
7
|
+
const _sfc_main = create({
|
|
13
8
|
props: {
|
|
14
9
|
height: {
|
|
15
10
|
type: [Number, String],
|
|
@@ -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, 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
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
8
|
content: {
|
|
14
9
|
type: String,
|
|
@@ -47,7 +42,9 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
47
42
|
const ellipsis = ref();
|
|
48
43
|
const state = reactive({
|
|
49
44
|
exceeded: false,
|
|
45
|
+
//是否超出
|
|
50
46
|
expanded: false
|
|
47
|
+
//是否折叠
|
|
51
48
|
});
|
|
52
49
|
const classes = computed(() => {
|
|
53
50
|
const prefixCls = componentName;
|
|
@@ -59,9 +56,6 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
59
56
|
() => props.content,
|
|
60
57
|
(newV, oldVal) => {
|
|
61
58
|
if (newV != oldVal) {
|
|
62
|
-
if (container) {
|
|
63
|
-
document.body.appendChild(container);
|
|
64
|
-
}
|
|
65
59
|
createContainer();
|
|
66
60
|
}
|
|
67
61
|
}
|
|
@@ -100,6 +94,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
100
94
|
const calcEllipse = () => {
|
|
101
95
|
if (container.offsetHeight <= maxHeight) {
|
|
102
96
|
state.exceeded = false;
|
|
97
|
+
document.body.removeChild(container);
|
|
103
98
|
} else {
|
|
104
99
|
state.exceeded = true;
|
|
105
100
|
const end = props.content.length;
|
|
@@ -1,11 +1,6 @@
|
|
|
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, 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 = {
|
|
@@ -13,18 +8,21 @@ const defaultStatus = {
|
|
|
13
8
|
error: "https://ftcms.jd.com/p/files/61a9e33ee7dcdbcc0ce62736.png",
|
|
14
9
|
network: "https://static-ftcms.jd.com/p/files/61a9e31de7dcdbcc0ce62734.png"
|
|
15
10
|
};
|
|
16
|
-
const _sfc_main =
|
|
11
|
+
const _sfc_main = create({
|
|
17
12
|
props: {
|
|
18
13
|
image: {
|
|
19
14
|
type: String,
|
|
20
15
|
default: "empty"
|
|
16
|
+
//默认empty
|
|
21
17
|
},
|
|
22
18
|
imageSize: {
|
|
23
19
|
type: [Number, String],
|
|
20
|
+
// 图片大小,正方形
|
|
24
21
|
default: ""
|
|
25
22
|
},
|
|
26
23
|
description: {
|
|
27
24
|
type: String,
|
|
25
|
+
// 文字区
|
|
28
26
|
default: ""
|
|
29
27
|
}
|
|
30
28
|
},
|
|
@@ -1,13 +1,8 @@
|
|
|
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
|
-
import { c as createComponent } from "./component-0ea0483c.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) => {
|
|
@@ -78,7 +73,7 @@ const component = (components) => {
|
|
|
78
73
|
};
|
|
79
74
|
};
|
|
80
75
|
const { create } = createComponent("fixed-nav");
|
|
81
|
-
const _sfc_main =
|
|
76
|
+
const _sfc_main = create(
|
|
82
77
|
component({
|
|
83
78
|
[Overlay.name]: Overlay,
|
|
84
79
|
Left
|
|
@@ -1,12 +1,7 @@
|
|
|
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
|
-
import { g as isObject, h as getPropByPath, f as isPromise, c as createComponent } from "./component-0ea0483c.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 {
|
|
@@ -160,7 +155,7 @@ const component = (components) => {
|
|
|
160
155
|
};
|
|
161
156
|
};
|
|
162
157
|
const { create } = createComponent("form");
|
|
163
|
-
const _sfc_main =
|
|
158
|
+
const _sfc_main = create(
|
|
164
159
|
component({
|
|
165
160
|
[CellGroup.name]: CellGroup
|
|
166
161
|
})
|
|
@@ -1,18 +1,13 @@
|
|
|
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
|
-
import { p as pxCheck } from "./pxCheck-c22d207b.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
|
-
const _sfc_main =
|
|
10
|
+
const _sfc_main = create({
|
|
16
11
|
inheritAttrs: false,
|
|
17
12
|
props: {
|
|
18
13
|
prop: {
|
|
@@ -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
|
-
import { c as createComponent } from "./component-0ea0483c.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-b9a5e726.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
|
-
import "./pxCheck-
|
|
5
|
+
import "./pxCheck-c6b9f6b7.js";
|
|
11
6
|
const { create } = createComponent("grid");
|
|
12
|
-
const _sfc_main =
|
|
7
|
+
const _sfc_main = create(component);
|
|
13
8
|
export {
|
|
14
9
|
_sfc_main as default
|
|
15
10
|
};
|
|
@@ -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, 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-b9a5e726.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);
|
|
@@ -29,11 +24,12 @@ function useInject(key) {
|
|
|
29
24
|
};
|
|
30
25
|
}
|
|
31
26
|
const { create, componentName } = createComponent("grid-item");
|
|
32
|
-
const _sfc_main =
|
|
27
|
+
const _sfc_main = create({
|
|
33
28
|
props: {
|
|
34
29
|
text: {
|
|
35
30
|
type: String
|
|
36
31
|
},
|
|
32
|
+
// router
|
|
37
33
|
to: {
|
|
38
34
|
type: [String, Object]
|
|
39
35
|
},
|
|
@@ -1,16 +1,11 @@
|
|
|
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, 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
|
-
const _sfc_main =
|
|
8
|
+
const _sfc_main = create({
|
|
14
9
|
props: {
|
|
15
10
|
src: String,
|
|
16
11
|
fit: {
|
|
@@ -4,27 +4,22 @@ 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
7
|
import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeStyle, createElementBlock, createCommentVNode, ref, onMounted, Fragment, renderList, toDisplayString, normalizeClass, renderSlot, createVNode, h } from "vue";
|
|
13
|
-
import { c as createComponent, e as clamp, d as preventDefault, i as isArray } from "./component-
|
|
14
|
-
import { u as useRect } from "./index-
|
|
15
|
-
import { u as useTouch } from "./index-
|
|
8
|
+
import { c as createComponent, e as clamp, d as preventDefault, i as isArray } from "./component-81a4c1d0.js";
|
|
9
|
+
import { u as useRect } from "./index-29892cda.js";
|
|
10
|
+
import { u as useTouch } from "./index-7a7385e4.js";
|
|
16
11
|
import Video from "./Video.js";
|
|
17
|
-
import
|
|
12
|
+
import SwiperItem from "./SwiperItem.js";
|
|
13
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
18
14
|
import { CircleClose } from "@nutui/icons-vue";
|
|
19
|
-
import { P as Popup } from "./index-
|
|
15
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
20
16
|
import Swiper from "./Swiper.js";
|
|
21
|
-
import
|
|
22
|
-
import { f as funInterceptor } from "./interceptor-0db96410.js";
|
|
17
|
+
import { f as funInterceptor } from "./interceptor-956b24fc.js";
|
|
23
18
|
import "../locale/lang";
|
|
24
|
-
import { C as CreateComponent } from "./mountComponent-
|
|
25
|
-
import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang-360a52b6.js";
|
|
19
|
+
import { C as CreateComponent } from "./mountComponent-1ece4110.js";
|
|
26
20
|
import Overlay from "./Overlay.js";
|
|
27
|
-
import "./index-
|
|
21
|
+
import "./index-79c5dc33.js";
|
|
22
|
+
import "./raf-729dad54.js";
|
|
28
23
|
const baseProps = {
|
|
29
24
|
show: { type: Boolean, default: false },
|
|
30
25
|
initNo: { type: Number, default: 0 },
|
|
@@ -33,7 +28,7 @@ const baseProps = {
|
|
|
33
28
|
maxZoom: { type: Number, default: 3 }
|
|
34
29
|
};
|
|
35
30
|
const { create: create$1 } = createComponent("image-preview-item");
|
|
36
|
-
const _sfc_main$1 =
|
|
31
|
+
const _sfc_main$1 = create$1({
|
|
37
32
|
props: {
|
|
38
33
|
...baseProps,
|
|
39
34
|
image: {
|
|
@@ -55,7 +50,8 @@ const _sfc_main$1 = /* @__PURE__ */ create$1({
|
|
|
55
50
|
},
|
|
56
51
|
emits: ["close", "scale"],
|
|
57
52
|
components: {
|
|
58
|
-
[Video.name]: Video
|
|
53
|
+
[Video.name]: Video,
|
|
54
|
+
[SwiperItem.name]: SwiperItem
|
|
59
55
|
},
|
|
60
56
|
setup(props, { emit }) {
|
|
61
57
|
const state = reactive({
|
|
@@ -282,7 +278,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
282
278
|
}
|
|
283
279
|
const ImagePreviewItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
284
280
|
const { create } = createComponent("image-preview");
|
|
285
|
-
const _sfc_main =
|
|
281
|
+
const _sfc_main = create({
|
|
286
282
|
props: {
|
|
287
283
|
...baseProps,
|
|
288
284
|
images: { type: Array, default: () => [] },
|
|
@@ -297,13 +293,10 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
297
293
|
type: Boolean,
|
|
298
294
|
default: false
|
|
299
295
|
},
|
|
300
|
-
closeIcon: {
|
|
301
|
-
type: String,
|
|
302
|
-
default: "circle-close"
|
|
303
|
-
},
|
|
304
296
|
closeIconPosition: {
|
|
305
297
|
type: String,
|
|
306
298
|
default: "top-right"
|
|
299
|
+
// top-right top-left
|
|
307
300
|
},
|
|
308
301
|
beforeClose: Function,
|
|
309
302
|
isLoop: {
|
|
@@ -316,8 +309,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
316
309
|
ImagePreviewItem,
|
|
317
310
|
CircleClose,
|
|
318
311
|
[Popup.name]: Popup,
|
|
319
|
-
[Swiper.name]: Swiper
|
|
320
|
-
[SwiperItem.name]: SwiperItem
|
|
312
|
+
[Swiper.name]: Swiper
|
|
321
313
|
},
|
|
322
314
|
setup(props, { emit }) {
|
|
323
315
|
const swipeRef = ref();
|
|
@@ -357,6 +349,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
357
349
|
const init = () => {
|
|
358
350
|
if (swipeRef.value) {
|
|
359
351
|
const rect = useRect(swipeRef.value);
|
|
352
|
+
console.log("show");
|
|
360
353
|
state.rootHeight = rect.height;
|
|
361
354
|
state.rootWidth = rect.width;
|
|
362
355
|
}
|
|
@@ -364,6 +357,7 @@ const _sfc_main = /* @__PURE__ */ create({
|
|
|
364
357
|
watch(
|
|
365
358
|
() => props.show,
|
|
366
359
|
(val) => {
|
|
360
|
+
console.log("展示", val);
|
|
367
361
|
state.showPop = val;
|
|
368
362
|
init();
|
|
369
363
|
}
|
|
@@ -477,8 +471,6 @@ class ImagePreviewOptions {
|
|
|
477
471
|
__publicField(this, "maxZoom", 3);
|
|
478
472
|
__publicField(this, "minZoom", 1 / 3);
|
|
479
473
|
__publicField(this, "isLoop", true);
|
|
480
|
-
__publicField(this, "onClose", () => {
|
|
481
|
-
});
|
|
482
474
|
__publicField(this, "teleport", "body");
|
|
483
475
|
}
|
|
484
476
|
}
|
|
@@ -486,9 +478,9 @@ class ImagePreviewFunction {
|
|
|
486
478
|
constructor(_options) {
|
|
487
479
|
__publicField(this, "options", new ImagePreviewOptions());
|
|
488
480
|
const options = Object.assign(this.options, _options);
|
|
489
|
-
const {
|
|
490
|
-
name: "
|
|
491
|
-
components: [Popup, Video, Swiper, SwiperItem,
|
|
481
|
+
const { unmount } = CreateComponent(options, {
|
|
482
|
+
name: "image-preview",
|
|
483
|
+
components: [Popup, Video, Swiper, SwiperItem, Overlay],
|
|
492
484
|
wrapper: () => {
|
|
493
485
|
return {
|
|
494
486
|
setup() {
|
|
@@ -504,13 +496,12 @@ class ImagePreviewFunction {
|
|
|
504
496
|
});
|
|
505
497
|
}
|
|
506
498
|
}
|
|
507
|
-
const
|
|
508
|
-
|
|
499
|
+
const showImagePreview = (options) => new ImagePreviewFunction(options);
|
|
500
|
+
showImagePreview.install = (app) => {
|
|
509
501
|
app.use(ImagePreview);
|
|
510
|
-
app.config.globalProperties.$imagepreview = _ImagePreview;
|
|
511
502
|
};
|
|
512
503
|
export {
|
|
513
|
-
ImagePreview,
|
|
514
504
|
ImagePreviewOptions,
|
|
515
|
-
|
|
505
|
+
ImagePreview as default,
|
|
506
|
+
showImagePreview
|
|
516
507
|
};
|
|
@@ -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 { toRefs, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, toDisplayString } 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 { componentName, create } = createComponent("indicator");
|
|
11
|
-
const _sfc_main =
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
8
|
size: {
|
|
14
9
|
type: Number,
|