@nutui/nutui 4.0.0-beta.6 → 4.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nutui.es.js +223 -102
- package/dist/nutui.umd.cjs +138 -225
- package/dist/packages/_es/ActionSheet.js +3 -8
- package/dist/packages/_es/Address.js +4 -9
- package/dist/packages/_es/AddressList.js +3 -8
- package/dist/packages/_es/Animate.js +2 -7
- package/dist/packages/_es/Audio.js +4 -9
- package/dist/packages/_es/AudioOperate.js +2 -7
- package/dist/packages/_es/Avatar.js +2 -7
- package/dist/packages/_es/AvatarGroup.js +2 -7
- package/dist/packages/_es/Backtop.js +3 -8
- package/dist/packages/_es/Badge.js +2 -7
- package/dist/packages/_es/Barrage.js +17 -34
- package/dist/packages/_es/Button.js +2 -7
- package/dist/packages/_es/Calendar.js +6 -11
- package/dist/packages/_es/CalendarItem.js +5 -10
- package/dist/packages/_es/Card.js +3 -8
- package/dist/packages/_es/Cascader.js +8 -14
- package/dist/packages/_es/Category.js +2 -7
- package/dist/packages/_es/CategoryPane.js +2 -7
- package/dist/packages/_es/Cell.js +4 -9
- package/dist/packages/_es/CellGroup.js +2 -7
- package/dist/packages/_es/Checkbox.js +2 -7
- package/dist/packages/_es/CheckboxGroup.js +2 -7
- package/dist/packages/_es/CircleProgress.js +2 -7
- package/dist/packages/_es/Col.js +2 -7
- package/dist/packages/_es/Collapse.js +2 -7
- package/dist/packages/_es/CollapseItem.js +3 -8
- package/dist/packages/_es/Comment.js +5 -10
- package/dist/packages/_es/ConfigProvider.js +1 -6
- package/dist/packages/_es/Countdown.js +2 -7
- package/dist/packages/_es/Countup.js +2 -7
- package/dist/packages/_es/DatePicker.js +4 -9
- package/dist/packages/_es/Dialog.js +5 -10
- package/dist/packages/_es/Divider.js +2 -7
- package/dist/packages/_es/Drag.js +3 -8
- package/dist/packages/_es/Ecard.js +3 -8
- package/dist/packages/_es/Elevator.js +3 -8
- package/dist/packages/_es/Ellipsis.js +2 -7
- package/dist/packages/_es/Empty.js +2 -7
- package/dist/packages/_es/FixedNav.js +2 -7
- package/dist/packages/_es/Form.js +2 -7
- package/dist/packages/_es/FormItem.js +4 -9
- package/dist/packages/_es/Grid.js +3 -8
- package/dist/packages/_es/GridItem.js +5 -10
- package/dist/packages/_es/Image.js +3 -8
- package/dist/packages/_es/ImagePreview.js +13 -19
- package/dist/packages/_es/Indicator.js +2 -7
- package/dist/packages/_es/InfiniteLoading.js +4 -9
- package/dist/packages/_es/Input.js +2 -7
- package/dist/packages/_es/InputNumber.js +3 -8
- package/dist/packages/_es/Invoice.js +6 -11
- package/dist/packages/_es/Layout.js +1 -6
- package/dist/packages/_es/List.js +2 -7
- package/dist/packages/_es/Loading-5f2ef345.js +59 -0
- package/dist/packages/_es/Loading-ff1ade5e.js +59 -0
- package/dist/packages/_es/Menu.js +3 -8
- package/dist/packages/_es/MenuItem.js +3 -8
- package/dist/packages/_es/Navbar.js +2 -7
- package/dist/packages/_es/Noticebar.js +4 -9
- package/dist/packages/_es/Notify.js +5 -8
- package/dist/packages/_es/NumberKeyboard.js +3 -8
- package/dist/packages/_es/Overlay.js +2 -7
- package/dist/packages/_es/Pagination.js +2 -7
- package/dist/packages/_es/Picker.js +4 -9
- package/dist/packages/_es/Popover.js +5 -10
- package/dist/packages/_es/Popup.js +3 -8
- package/dist/packages/_es/Price.js +2 -7
- package/dist/packages/_es/Progress.js +2 -7
- package/dist/packages/_es/PullRefresh.js +5 -10
- package/dist/packages/_es/Radio.js +3 -8
- package/dist/packages/_es/RadioGroup.js +2 -7
- package/dist/packages/_es/Range.js +4 -9
- package/dist/packages/_es/Rate.js +5 -10
- package/dist/packages/_es/Row.js +2 -7
- package/dist/packages/_es/Searchbar.js +3 -8
- package/dist/packages/_es/ShortPassword.js +3 -8
- package/dist/packages/_es/SideNavbar.js +2 -7
- package/dist/packages/_es/SideNavbarItem.js +2 -7
- package/dist/packages/_es/Signature.js +2 -7
- package/dist/packages/_es/Skeleton.js +2 -7
- package/dist/packages/_es/Sku.js +4 -9
- package/dist/packages/_es/Step.js +2 -7
- package/dist/packages/_es/Steps.js +1 -6
- package/dist/packages/_es/Sticky.js +3 -8
- package/dist/packages/_es/SubSideNavbar.js +2 -7
- package/dist/packages/_es/Swipe.js +3 -8
- package/dist/packages/_es/Swiper.js +58 -121
- package/dist/packages/_es/SwiperItem.js +3 -8
- package/dist/packages/_es/Switch.js +3 -8
- package/dist/packages/_es/TabPane.js +2 -7
- package/dist/packages/_es/Tabbar.js +2 -7
- package/dist/packages/_es/TabbarItem.js +5 -10
- package/dist/packages/_es/Table.js +2 -7
- package/dist/packages/_es/Tabs.js +5 -10
- package/dist/packages/_es/Tag.js +2 -7
- package/dist/packages/_es/Textarea.js +2 -7
- package/dist/packages/_es/TimeDetail.js +2 -7
- package/dist/packages/_es/TimePannel.js +2 -7
- package/dist/packages/_es/TimeSelect.js +3 -8
- package/dist/packages/_es/Toast.js +5 -10
- package/dist/packages/_es/Tour.js +5 -10
- package/dist/packages/_es/TrendArrow.js +2 -7
- package/dist/packages/_es/Uploader.js +3 -8
- package/dist/packages/_es/Video.js +2 -7
- package/dist/packages/_es/Watermark.js +2 -7
- package/dist/packages/_es/{_plugin-vue_export-helper-f84579cd.js → _plugin-vue_export-helper-214bd398.js} +1 -1
- package/dist/packages/_es/_plugin-vue_export-helper-3119770d.js +15 -0
- package/dist/packages/_es/_plugin-vue_export-helper-40ecb205.js +15 -0
- package/dist/packages/_es/_plugin-vue_export-helper-cabb815c.js +15 -0
- package/dist/packages/_es/_plugin-vue_export-helper-cc2b3d55.js +10 -0
- package/dist/packages/_es/{common-8e13240b.js → common-1144cf18.js} +3 -3
- package/dist/packages/_es/common-33d6538d.js +142 -0
- package/dist/packages/_es/common-38afc79e.js +142 -0
- package/dist/packages/_es/common-ceb98554.js +137 -0
- package/dist/packages/_es/common-fcbd940e.js +142 -0
- package/dist/packages/_es/{component-2bf83b98.js → component-555f9132.js} +1 -1
- package/dist/packages/_es/component-81a4c1d0.js +145 -0
- package/dist/packages/_es/component-93f40b7f.js +144 -0
- package/dist/packages/_es/component-cb778481.js +150 -0
- package/dist/packages/_es/component-f9e4b05e.js +144 -0
- package/dist/packages/_es/{index-99be5adc.js → index-122e380e.js} +1 -1
- package/dist/packages/_es/{index-c2175b7b.js → index-15d5ca2c.js} +1 -1
- package/dist/packages/_es/index-16f572cc.js +52 -0
- package/dist/packages/_es/{index-97b8ae5b.js → index-18e7c77e.js} +1 -1
- package/dist/packages/_es/index-22af3a75.js +35 -0
- package/dist/packages/_es/index-29892cda.js +33 -0
- package/dist/packages/_es/{index-175ca86c.js → index-2d3e73a7.js} +3 -3
- package/dist/packages/_es/index-350a8abd.js +809 -0
- package/dist/packages/_es/index-375f2695.js +15 -0
- package/dist/packages/_es/index-43c34ac6.js +30 -0
- package/dist/packages/_es/index-54d03fc1.js +8 -0
- package/dist/packages/_es/{index-da641709.js → index-57aa518c.js} +1 -1
- package/dist/packages/_es/{index-63fdf6d9.js → index-65e55319.js} +1 -1
- package/dist/packages/_es/index-673e467d.js +72 -0
- package/dist/packages/_es/index-69b79b10.js +52 -0
- package/dist/packages/_es/index-7386d8ea.js +35 -0
- package/dist/packages/_es/index-75be4de5.js +72 -0
- package/dist/packages/_es/{index-3e3fbad2.js → index-7653e348.js} +5 -5
- package/dist/packages/_es/index-79c5dc33.js +10 -0
- package/dist/packages/_es/index-7a7385e4.js +67 -0
- package/dist/packages/_es/index-83f367f2.js +15 -0
- package/dist/packages/_es/index-a0ae7438.js +72 -0
- package/dist/packages/_es/index-abb46652.js +13 -0
- package/dist/packages/_es/index-bd90ef5b.js +38 -0
- package/dist/packages/_es/index-da7aa231.js +234 -0
- package/dist/packages/_es/index-dd23f7fc.js +35 -0
- package/dist/packages/_es/index-ec1281d1.js +15 -0
- package/dist/packages/_es/index-ee55d99f.js +814 -0
- package/dist/packages/_es/index-f9640059.js +239 -0
- package/dist/packages/_es/index.taro-15624a72.js +833 -0
- package/dist/packages/_es/index.taro-2ce92fc8.js +76 -0
- package/dist/packages/_es/index.taro-356b6989.js +238 -0
- package/dist/packages/_es/index.taro-5564033f.js +833 -0
- package/dist/packages/_es/index.taro-be0723aa.js +76 -0
- package/dist/packages/_es/index.taro-da1bc684.js +238 -0
- package/dist/packages/_es/index.taro.vue_vue_type_script_lang-5696dfc0.js +102 -0
- package/dist/packages/_es/index.taro.vue_vue_type_script_lang-5b67ab83.js +102 -0
- package/dist/packages/_es/index.vue_vue_type_script_lang-1291fceb.js +45 -0
- package/dist/packages/_es/{index.vue_vue_type_script_lang-1721812a.js → index.vue_vue_type_script_lang-164ba0ab.js} +3 -3
- package/dist/packages/_es/{index.vue_vue_type_script_lang-33f247fa.js → index.vue_vue_type_script_lang-1c056efc.js} +3 -3
- package/dist/packages/_es/{index.vue_vue_type_script_lang-85ad5ab4.js → index.vue_vue_type_script_lang-2c5dd6ac.js} +2 -2
- package/dist/packages/_es/index.vue_vue_type_script_lang-3bc78a6d.js +156 -0
- package/dist/packages/_es/index.vue_vue_type_script_lang-630bc089.js +50 -0
- package/dist/packages/_es/index.vue_vue_type_script_lang-ba9e696d.js +50 -0
- package/dist/packages/_es/index.vue_vue_type_script_lang-cab1cdc4.js +102 -0
- package/dist/packages/_es/index.vue_vue_type_script_lang-cc5c4086.js +151 -0
- package/dist/packages/_es/index.vue_vue_type_script_lang-d4c88f85.js +97 -0
- package/dist/packages/_es/index.vue_vue_type_script_lang-f91aa3ff.js +50 -0
- package/dist/packages/_es/{interceptor-92c6157e.js → interceptor-5d3d8b0a.js} +2 -2
- package/dist/packages/_es/interceptor-956b24fc.js +29 -0
- package/dist/packages/_es/interceptor-bf7033c2.js +34 -0
- package/dist/packages/_es/interceptor-ccd1403c.js +34 -0
- package/dist/packages/_es/interceptor-dbee5851.js +34 -0
- package/dist/packages/_es/{mountComponent-b7bd982c.js → mountComponent-1316c4a2.js} +2 -2
- package/dist/packages/_es/mountComponent-1ece4110.js +39 -0
- package/dist/packages/_es/mountComponent-3f8ea19f.js +44 -0
- package/dist/packages/_es/{pxCheck-f4ea5980.js → pxCheck-110c0d58.js} +1 -1
- package/dist/packages/_es/pxCheck-42d1a00f.js +11 -0
- package/dist/packages/_es/pxCheck-62a0c829.js +11 -0
- package/dist/packages/_es/pxCheck-70f351cb.js +11 -0
- package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
- package/dist/packages/_es/{raf-9ea18668.js → raf-182636f4.js} +1 -1
- package/dist/packages/_es/raf-2ee3bcbb.js +30 -0
- package/dist/packages/_es/raf-6ea498df.js +21 -0
- package/dist/packages/_es/raf-729dad54.js +25 -0
- package/dist/packages/_es/raf-8518c796.js +21 -0
- package/dist/packages/_es/{renderIcon-e359b85f.js → renderIcon-0d8f6335.js} +1 -1
- package/dist/packages/_es/renderIcon-1be33355.js +14 -0
- package/dist/packages/_es/renderIcon-3d0fd47c.js +9 -0
- package/dist/packages/_es/renderIcon-ba0fcba3.js +14 -0
- package/dist/packages/_es/renderIcon-bde9e715.js +14 -0
- package/dist/packages/_es/style_icon-299fd467.js +6 -0
- package/dist/packages/_es/style_icon-8872f331.js +6 -0
- package/dist/packages/barrage/index.scss +17 -1
- package/dist/packages/cell/index.scss +3 -1
- package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
- package/dist/packages/locale/lang/{baseLang-b64fda03.js → baseLang-0e7bcba4.js} +1 -1
- package/dist/packages/locale/lang/baseLang-5db74119.js +10 -0
- package/dist/packages/locale/lang/baseLang-6070c617.js +10 -0
- package/dist/packages/locale/lang/baseLang-8d65df5e.js +10 -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 +1 -6
- package/dist/packages/locale/lang/zh-TW.js +1 -6
- package/dist/packages/popover/index.scss +1 -1
- package/dist/packages/pullrefresh/index.scss +3 -2
- package/dist/smartips/attributes.json +19 -15
- package/dist/smartips/tags.json +3 -2
- package/dist/smartips/web-types.json +32 -23
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +59 -59
- package/dist/styles/themes/jdb.scss +59 -59
- package/dist/styles/themes/jddkh.scss +59 -59
- package/dist/styles/themes/jdt.scss +59 -59
- package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +292 -0
- package/dist/types/__VUE/address/index.taro.vue.d.ts +377 -0
- package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +83 -0
- package/dist/types/__VUE/animate/index.taro.vue.d.ts +54 -0
- package/dist/types/__VUE/avatar/index.taro.vue.d.ts +76 -0
- package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +92 -0
- package/dist/types/__VUE/backtop/index.taro.vue.d.ts +76 -0
- package/dist/types/__VUE/badge/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/barrage/index.taro.vue.d.ts +81 -0
- package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
- package/dist/types/__VUE/button/index.taro.vue.d.ts +117 -0
- package/dist/types/__VUE/calendar/index.taro.vue.d.ts +187 -0
- package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +217 -0
- package/dist/types/__VUE/card/index.taro.vue.d.ts +89 -0
- package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +77 -0
- package/dist/types/__VUE/cascader/index.taro.vue.d.ts +245 -0
- package/dist/types/__VUE/category/index.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +54 -0
- package/dist/types/__VUE/cell/index.taro.vue.d.ts +124 -0
- package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/collapse/index.taro.vue.d.ts +38 -0
- package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +111 -0
- package/dist/types/__VUE/comment/index.taro.vue.d.ts +119 -0
- package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +45 -0
- package/dist/types/__VUE/countdown/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/countup/index.taro.vue.d.ts +213 -0
- package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +232 -0
- package/dist/types/__VUE/dialog/index.taro.vue.d.ts +327 -0
- package/dist/types/__VUE/divider/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/drag/index.taro.vue.d.ts +62 -0
- package/dist/types/__VUE/ecard/index.taro.vue.d.ts +128 -0
- package/dist/types/__VUE/elevator/index.taro.vue.d.ts +119 -0
- package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/empty/index.taro.vue.d.ts +46 -0
- package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +105 -0
- package/dist/types/__VUE/form/index.taro.vue.d.ts +40 -0
- package/dist/types/__VUE/formitem/index.taro.vue.d.ts +114 -0
- package/dist/types/__VUE/grid/index.taro.vue.d.ts +84 -0
- package/dist/types/__VUE/griditem/index.taro.vue.d.ts +22 -0
- package/dist/types/__VUE/icon/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/image/index.taro.vue.d.ts +32 -0
- package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +172 -0
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
- package/dist/types/__VUE/indicator/index.taro.vue.d.ts +70 -0
- package/dist/types/__VUE/input/index.taro.vue.d.ts +257 -0
- package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +116 -0
- package/dist/types/__VUE/invoice/index.taro.vue.d.ts +52 -0
- package/dist/types/__VUE/layout/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/list/index.taro.vue.d.ts +58 -0
- package/dist/types/__VUE/menu/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +89 -0
- package/dist/types/__VUE/navbar/index.taro.vue.d.ts +121 -0
- package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +217 -0
- package/dist/types/__VUE/notify/index.taro.vue.d.ts +97 -0
- package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +132 -0
- package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
- package/dist/types/__VUE/pagination/index.taro.vue.d.ts +111 -0
- package/dist/types/__VUE/picker/index.taro.vue.d.ts +14 -0
- package/dist/types/__VUE/popover/index.taro.vue.d.ts +201 -0
- package/dist/types/__VUE/popup/index.taro.vue.d.ts +201 -0
- package/dist/types/__VUE/price/index.taro.vue.d.ts +87 -0
- package/dist/types/__VUE/progress/index.taro.vue.d.ts +128 -0
- package/dist/types/__VUE/radio/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/range/index.taro.vue.d.ts +158 -0
- package/dist/types/__VUE/rate/index.taro.vue.d.ts +124 -0
- package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +14 -0
- package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +177 -0
- package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +31 -0
- package/dist/types/__VUE/signature/index.taro.vue.d.ts +83 -0
- package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +115 -0
- package/dist/types/__VUE/sku/index.taro.vue.d.ts +182 -0
- package/dist/types/__VUE/steps/index.taro.vue.d.ts +46 -0
- package/dist/types/__VUE/sticky/index.taro.vue.d.ts +47 -0
- package/dist/types/__VUE/swipe/index.taro.vue.d.ts +71 -0
- package/dist/types/__VUE/swiper/index.taro.vue.d.ts +176 -0
- package/dist/types/__VUE/swiper/index.vue.d.ts +8 -7
- package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +18 -0
- package/dist/types/__VUE/switch/index.taro.vue.d.ts +108 -0
- package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +59 -0
- package/dist/types/__VUE/table/index.taro.vue.d.ts +78 -0
- package/dist/types/__VUE/tabs/index.taro.vue.d.ts +164 -0
- package/dist/types/__VUE/tag/index.taro.vue.d.ts +90 -0
- package/dist/types/__VUE/textarea/index.taro.vue.d.ts +122 -0
- package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +47 -0
- package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +91 -0
- package/dist/types/__VUE/toast/index.taro.vue.d.ts +184 -0
- package/dist/types/__VUE/tour/index.taro.vue.d.ts +192 -0
- package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +105 -0
- package/dist/types/__VUE/uploader/index.taro.vue.d.ts +260 -0
- package/dist/types/__VUE/watermark/index.taro.vue.d.ts +175 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +5 -46
|
@@ -1,61 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
import { c as createComponent } from "./component-2bf83b98.js";
|
|
8
|
-
import { u as useExpose } from "./index-99be5adc.js";
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-f84579cd.js";
|
|
1
|
+
import { ref, reactive, computed, provide, onDeactivated, onBeforeUnmount, watch, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode } from "vue";
|
|
2
|
+
import { c as createComponent, e as clamp } from "./component-81a4c1d0.js";
|
|
3
|
+
import { u as useTouch } from "./index-7a7385e4.js";
|
|
4
|
+
import { u as useExpose } from "./index-79c5dc33.js";
|
|
5
|
+
import { r as requestAniFrame } from "./raf-729dad54.js";
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
7
|
import "../locale/lang";
|
|
11
|
-
const DISTANCE = 5;
|
|
12
|
-
function useTouch() {
|
|
13
|
-
const state = reactive({
|
|
14
|
-
startX: 0,
|
|
15
|
-
startY: 0,
|
|
16
|
-
deltaX: 0,
|
|
17
|
-
deltaY: 0,
|
|
18
|
-
offsetX: 0,
|
|
19
|
-
offsetY: 0,
|
|
20
|
-
direction: ""
|
|
21
|
-
});
|
|
22
|
-
const getDirection = (x, y) => {
|
|
23
|
-
if (x > y && x > DISTANCE)
|
|
24
|
-
return "horizontal";
|
|
25
|
-
if (y > x && y > DISTANCE)
|
|
26
|
-
return "vertical";
|
|
27
|
-
return "";
|
|
28
|
-
};
|
|
29
|
-
const reset = () => {
|
|
30
|
-
state.startX = 0;
|
|
31
|
-
state.startY = 0;
|
|
32
|
-
state.deltaX = 0;
|
|
33
|
-
state.deltaY = 0;
|
|
34
|
-
state.offsetX = 0;
|
|
35
|
-
state.offsetY = 0;
|
|
36
|
-
state.direction = "";
|
|
37
|
-
};
|
|
38
|
-
const start = (e) => {
|
|
39
|
-
reset();
|
|
40
|
-
state.startX = e.touches[0].clientX;
|
|
41
|
-
state.startY = e.touches[0].clientY;
|
|
42
|
-
};
|
|
43
|
-
const move = (e) => {
|
|
44
|
-
state.deltaX = e.touches[0].clientX - state.startX;
|
|
45
|
-
state.deltaY = e.touches[0].clientY - state.startY;
|
|
46
|
-
state.offsetX = Math.abs(state.deltaX);
|
|
47
|
-
state.offsetY = Math.abs(state.deltaY);
|
|
48
|
-
if (!state.direction) {
|
|
49
|
-
state.direction = getDirection(state.offsetX, state.offsetY);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
return {
|
|
53
|
-
state,
|
|
54
|
-
start,
|
|
55
|
-
reset,
|
|
56
|
-
move
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
8
|
const { create, componentName } = createComponent("swiper");
|
|
60
9
|
const _sfc_main = create({
|
|
61
10
|
props: {
|
|
@@ -68,7 +17,7 @@ const _sfc_main = create({
|
|
|
68
17
|
default: 0
|
|
69
18
|
},
|
|
70
19
|
direction: {
|
|
71
|
-
type:
|
|
20
|
+
type: String,
|
|
72
21
|
default: "horizontal"
|
|
73
22
|
},
|
|
74
23
|
paginationVisible: {
|
|
@@ -137,11 +86,25 @@ const _sfc_main = create({
|
|
|
137
86
|
};
|
|
138
87
|
});
|
|
139
88
|
const isVertical = computed(() => props.direction === "vertical");
|
|
89
|
+
const classesInner = computed(() => {
|
|
90
|
+
const prefixCls = componentName;
|
|
91
|
+
return {
|
|
92
|
+
[`${prefixCls}-inner`]: true,
|
|
93
|
+
[`${prefixCls}-vertical`]: isVertical.value
|
|
94
|
+
};
|
|
95
|
+
});
|
|
96
|
+
const classesPagination = computed(() => {
|
|
97
|
+
const prefixCls = componentName;
|
|
98
|
+
return {
|
|
99
|
+
[`${prefixCls}-pagination`]: true,
|
|
100
|
+
[`${prefixCls}-pagination-vertical`]: isVertical.value
|
|
101
|
+
};
|
|
102
|
+
});
|
|
140
103
|
const delTa = computed(() => {
|
|
141
|
-
return isVertical.value ? touch.
|
|
104
|
+
return isVertical.value ? touch.deltaY.value : touch.deltaX.value;
|
|
142
105
|
});
|
|
143
106
|
const isCorrectDirection = computed(() => {
|
|
144
|
-
return touch.
|
|
107
|
+
return touch.direction.value === props.direction;
|
|
145
108
|
});
|
|
146
109
|
const childCount = computed(() => state.children.length);
|
|
147
110
|
const size = computed(() => state[isVertical.value ? "height" : "width"]);
|
|
@@ -156,12 +119,7 @@ const _sfc_main = create({
|
|
|
156
119
|
const activePagination = computed(() => (state.active + childCount.value) % childCount.value);
|
|
157
120
|
const getStyle = () => {
|
|
158
121
|
let offset = 0;
|
|
159
|
-
|
|
160
|
-
offset = state.offset;
|
|
161
|
-
} else {
|
|
162
|
-
let val = isVertical.value ? state.rect.height - size.value : state.rect.width - size.value;
|
|
163
|
-
offset = state.offset + (state.active === childCount.value - 1 ? -val / 2 : val / 2);
|
|
164
|
-
}
|
|
122
|
+
offset = state.offset;
|
|
165
123
|
state.style = {
|
|
166
124
|
transitionDuration: `${state.moving ? 0 : props.duration}ms`,
|
|
167
125
|
transform: `translate${isVertical.value ? "Y" : "X"}(${offset}px)`,
|
|
@@ -172,26 +130,27 @@ const _sfc_main = create({
|
|
|
172
130
|
const relation = (child) => {
|
|
173
131
|
var _a;
|
|
174
132
|
let children = [];
|
|
133
|
+
const childrenVNodeLen = state.childrenVNode.length;
|
|
175
134
|
let slot = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots);
|
|
176
135
|
slot = slot.filter((item) => item.children && Array.isArray(item.children));
|
|
177
136
|
slot.forEach((item) => {
|
|
178
137
|
children = children.concat(item.children);
|
|
179
138
|
});
|
|
180
|
-
if (!
|
|
139
|
+
if (!childrenVNodeLen) {
|
|
181
140
|
state.childrenVNode = children.slice();
|
|
182
141
|
child.proxy && state.children.push(child.proxy);
|
|
183
142
|
} else {
|
|
184
|
-
if (
|
|
143
|
+
if (childrenVNodeLen > children.length) {
|
|
185
144
|
state.children = state.children.filter((item) => child.proxy !== item);
|
|
186
|
-
} else if (
|
|
187
|
-
for (let i = 0; i <
|
|
145
|
+
} else if (childrenVNodeLen < children.length) {
|
|
146
|
+
for (let i = 0; i < childrenVNodeLen; i++) {
|
|
188
147
|
if (children[i].key !== state.childrenVNode[i].key) {
|
|
189
148
|
child.proxy && state.children.splice(i, 0, child.proxy);
|
|
190
149
|
child.vnode && state.childrenVNode.splice(i, 0, child.vnode);
|
|
191
150
|
break;
|
|
192
151
|
}
|
|
193
152
|
}
|
|
194
|
-
if (
|
|
153
|
+
if (childrenVNodeLen !== children.length) {
|
|
195
154
|
child.proxy && state.children.push(child.proxy);
|
|
196
155
|
child.vnode && state.childrenVNode.push(child.vnode);
|
|
197
156
|
}
|
|
@@ -201,12 +160,6 @@ const _sfc_main = create({
|
|
|
201
160
|
}
|
|
202
161
|
}
|
|
203
162
|
};
|
|
204
|
-
const range = (num, min, max) => {
|
|
205
|
-
return Math.min(Math.max(num, min), max);
|
|
206
|
-
};
|
|
207
|
-
const requestFrame = (fn) => {
|
|
208
|
-
window.requestAnimationFrame.call(window, fn);
|
|
209
|
-
};
|
|
210
163
|
const getOffset = (active, offset = 0) => {
|
|
211
164
|
let currentPosition = active * size.value;
|
|
212
165
|
if (!props.loop) {
|
|
@@ -214,7 +167,7 @@ const _sfc_main = create({
|
|
|
214
167
|
}
|
|
215
168
|
let targetOffset = offset - currentPosition;
|
|
216
169
|
if (!props.loop) {
|
|
217
|
-
targetOffset =
|
|
170
|
+
targetOffset = clamp(targetOffset, minOffset.value, 0);
|
|
218
171
|
}
|
|
219
172
|
return targetOffset;
|
|
220
173
|
};
|
|
@@ -222,9 +175,9 @@ const _sfc_main = create({
|
|
|
222
175
|
const { active } = state;
|
|
223
176
|
if (pace) {
|
|
224
177
|
if (props.loop) {
|
|
225
|
-
return
|
|
178
|
+
return clamp(active + pace, -1, childCount.value);
|
|
226
179
|
}
|
|
227
|
-
return
|
|
180
|
+
return clamp(active + pace, 0, childCount.value - 1);
|
|
228
181
|
}
|
|
229
182
|
return active;
|
|
230
183
|
};
|
|
@@ -263,48 +216,39 @@ const _sfc_main = create({
|
|
|
263
216
|
const stopAutoPlay = () => {
|
|
264
217
|
clearTimeout(state.autoplayTimer);
|
|
265
218
|
};
|
|
266
|
-
const
|
|
219
|
+
const jump = (pace) => {
|
|
267
220
|
resettPosition();
|
|
268
221
|
touch.reset();
|
|
269
|
-
|
|
270
|
-
|
|
222
|
+
requestAniFrame(() => {
|
|
223
|
+
requestAniFrame(() => {
|
|
271
224
|
state.moving = false;
|
|
272
225
|
move({
|
|
273
|
-
pace
|
|
226
|
+
pace,
|
|
274
227
|
isEmit: true
|
|
275
228
|
});
|
|
276
229
|
});
|
|
277
230
|
});
|
|
278
231
|
};
|
|
232
|
+
const prev = () => {
|
|
233
|
+
jump(-1);
|
|
234
|
+
};
|
|
279
235
|
const next = () => {
|
|
280
|
-
|
|
281
|
-
touch.reset();
|
|
282
|
-
requestFrame(() => {
|
|
283
|
-
requestFrame(() => {
|
|
284
|
-
state.moving = false;
|
|
285
|
-
move({
|
|
286
|
-
pace: 1,
|
|
287
|
-
isEmit: true
|
|
288
|
-
});
|
|
289
|
-
});
|
|
290
|
-
});
|
|
236
|
+
jump(1);
|
|
291
237
|
};
|
|
292
238
|
const to = (index) => {
|
|
293
239
|
resettPosition();
|
|
294
240
|
touch.reset();
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
isEmit: true
|
|
307
|
-
});
|
|
241
|
+
requestAniFrame(() => {
|
|
242
|
+
state.moving = false;
|
|
243
|
+
let targetIndex;
|
|
244
|
+
if (props.loop && childCount.value === index) {
|
|
245
|
+
targetIndex = state.active === 0 ? 0 : index;
|
|
246
|
+
} else {
|
|
247
|
+
targetIndex = index % childCount.value;
|
|
248
|
+
}
|
|
249
|
+
move({
|
|
250
|
+
pace: targetIndex - state.active,
|
|
251
|
+
isEmit: true
|
|
308
252
|
});
|
|
309
253
|
});
|
|
310
254
|
};
|
|
@@ -358,7 +302,7 @@ const _sfc_main = create({
|
|
|
358
302
|
const isShouldMove = Math.abs(speed) > 0.3 || Math.abs(delTa.value) > +(size.value / 2).toFixed(2);
|
|
359
303
|
if (isShouldMove && isCorrectDirection.value) {
|
|
360
304
|
let pace = 0;
|
|
361
|
-
const offset = isVertical.value ? touch.
|
|
305
|
+
const offset = isVertical.value ? touch.offsetY.value : touch.offsetX.value;
|
|
362
306
|
if (props.loop) {
|
|
363
307
|
pace = offset > 0 ? delTa.value > 0 ? -1 : 1 : 0;
|
|
364
308
|
} else {
|
|
@@ -416,10 +360,9 @@ const _sfc_main = create({
|
|
|
416
360
|
return {
|
|
417
361
|
state,
|
|
418
362
|
classes,
|
|
363
|
+
classesInner,
|
|
364
|
+
classesPagination,
|
|
419
365
|
container,
|
|
420
|
-
componentName,
|
|
421
|
-
isVertical,
|
|
422
|
-
slots,
|
|
423
366
|
activePagination,
|
|
424
367
|
onTouchStart,
|
|
425
368
|
onTouchMove,
|
|
@@ -437,21 +380,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
437
380
|
onTouchcancel: _cache[3] || (_cache[3] = (...args) => _ctx.onTouchEnd && _ctx.onTouchEnd(...args))
|
|
438
381
|
}, [
|
|
439
382
|
createElementVNode("view", {
|
|
440
|
-
class: normalizeClass(
|
|
441
|
-
[`${_ctx.componentName}-inner`]: true,
|
|
442
|
-
[`${_ctx.componentName}-vertical`]: _ctx.isVertical
|
|
443
|
-
}),
|
|
383
|
+
class: normalizeClass(_ctx.classesInner),
|
|
444
384
|
style: normalizeStyle(_ctx.state.style)
|
|
445
385
|
}, [
|
|
446
386
|
renderSlot(_ctx.$slots, "default")
|
|
447
387
|
], 6),
|
|
448
388
|
renderSlot(_ctx.$slots, "page"),
|
|
449
|
-
_ctx.paginationVisible && !_ctx
|
|
389
|
+
_ctx.paginationVisible && !_ctx.$slots.page ? (openBlock(), createElementBlock("view", {
|
|
450
390
|
key: 0,
|
|
451
|
-
class: normalizeClass(
|
|
452
|
-
[`${_ctx.componentName}-pagination`]: true,
|
|
453
|
-
[`${_ctx.componentName}-pagination-vertical`]: _ctx.isVertical
|
|
454
|
-
})
|
|
391
|
+
class: normalizeClass(_ctx.classesPagination)
|
|
455
392
|
}, [
|
|
456
393
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.state.children.length, (item, index) => {
|
|
457
394
|
return openBlock(), createElementBlock("i", {
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, getCurrentInstance, reactive, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } 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 { create, componentName } = createComponent("swiper-item");
|
|
12
7
|
const _sfc_main = create({
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, createVNode, createCommentVNode, Fragment, withDirectives, toDisplayString, vShow } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Loading1 } 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("switch");
|
|
12
7
|
const _sfc_main = create({
|
|
@@ -102,7 +97,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
102
97
|
}, [
|
|
103
98
|
createElementVNode("view", _hoisted_1, [
|
|
104
99
|
_ctx.loading ? renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
|
|
105
|
-
createVNode(_component_Loading1)
|
|
100
|
+
createVNode(_component_Loading1, { name: "loading" })
|
|
106
101
|
]) : createCommentVNode("", true),
|
|
107
102
|
_ctx.activeText ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
108
103
|
withDirectives(createElementVNode("view", { class: "nut-switch-label open" }, toDisplayString(_ctx.activeText), 513), [
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { create } = createComponent("tab-pane");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, ref, reactive, provide, watch, onMounted, nextTick, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { create } = createComponent("tabbar");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-2bf83b98.js";
|
|
7
|
-
import { r as renderIcon } from "./renderIcon-e359b85f.js";
|
|
8
|
-
import { u as useRouter } from "./index-da641709.js";
|
|
9
|
-
import Badge from "./Badge.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
2
|
+
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
10
3
|
import { inject, reactive, getCurrentInstance, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, normalizeProps, guardReactiveProps, withCtx, createElementVNode, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, toDisplayString } from "vue";
|
|
11
|
-
import {
|
|
4
|
+
import { u as useRouter } from "./index-54d03fc1.js";
|
|
5
|
+
import Badge from "./Badge.js";
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
8
|
const { create } = createComponent("tabbar-item");
|
|
14
9
|
const _sfc_main = create({
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-2bf83b98.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { h, reactive, computed, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, createTextVNode, toDisplayString, renderSlot, createBlock, createCommentVNode } from "vue";
|
|
8
3
|
import { DownArrow } 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 RenderColumn = {
|
|
12
7
|
setup(props) {
|
|
@@ -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.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
9
|
-
* (c) 2022 @jdf2e.
|
|
10
|
-
* Released under the MIT License.
|
|
11
|
-
*/
|
|
12
|
-
import { c as createComponent, T as TypeOfFun } from "./component-2bf83b98.js";
|
|
13
|
-
import { p as pxCheck } from "./pxCheck-f4ea5980.js";
|
|
14
|
-
import { u as useRect } from "./index-97b8ae5b.js";
|
|
7
|
+
import { c as createComponent, T as TypeOfFun } from "./component-81a4c1d0.js";
|
|
15
8
|
import { ref, provide, computed, watch, onMounted, onActivated, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode, createVNode, toDisplayString } from "vue";
|
|
16
|
-
import {
|
|
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() {
|
package/dist/packages/_es/Tag.js
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 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
7
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 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
6
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("time-detail");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("time-pannel");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 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-da7aa231.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";
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 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-
|
|
10
|
-
import { C as CreateComponent } from "./mountComponent-b7bd982c.js";
|
|
11
|
-
import { Success, Failure, Tips, Loading } from "@nutui/icons-vue";
|
|
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";
|
|
12
5
|
import "../locale/lang";
|
|
6
|
+
import { C as CreateComponent } from "./mountComponent-1ece4110.js";
|
|
7
|
+
import { Success, Failure, Tips, Loading } from "@nutui/icons-vue";
|
|
13
8
|
const { create } = createComponent("toast");
|
|
14
9
|
const _sfc_main = create({
|
|
15
10
|
components: {},
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 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-da7aa231.js";
|
|
15
10
|
import "./Overlay.js";
|
|
16
11
|
const { create } = createComponent("tour");
|
|
17
12
|
const _sfc_main = create({
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
7
|
-
import { m as myFixed, c as createComponent } from "./component-
|
|
2
|
+
import { m as myFixed, c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { TriangleUp, TriangleDown } from "@nutui/icons-vue";
|
|
9
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
const { componentName, create } = createComponent("trend-arrow");
|
|
12
7
|
const _sfc_main = create({
|
|
@@ -4,17 +4,12 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
/*!
|
|
8
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
9
|
-
* (c) 2022 @jdf2e.
|
|
10
|
-
* Released under the MIT License.
|
|
11
|
-
*/
|
|
12
7
|
import { reactive, computed, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, createElementVNode, toDisplayString, createVNode, createTextVNode } from "vue";
|
|
13
|
-
import { c as createComponent } from "./component-
|
|
14
|
-
import { f as funInterceptor } from "./interceptor-
|
|
8
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
9
|
+
import { f as funInterceptor } from "./interceptor-956b24fc.js";
|
|
15
10
|
import Progress from "./Progress.js";
|
|
16
11
|
import { Photograph, Failure, Loading, Del, Link } from "@nutui/icons-vue";
|
|
17
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
12
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
18
13
|
import "../locale/lang";
|
|
19
14
|
class UploadOptions {
|
|
20
15
|
constructor() {
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, ref, computed, watch, nextTick, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, createCommentVNode, withDirectives, vShow, normalizeClass, toDisplayString, normalizeStyle, withModifiers } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
function throttle(fn, delay) {
|
|
11
6
|
let timer = null;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:06 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, watch, computed, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("watermark");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 18:41:23 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
const _export_sfc = (sfc, props) => {
|
|
7
|
+
const target = sfc.__vccOpts || sfc;
|
|
8
|
+
for (const [key, val] of props) {
|
|
9
|
+
target[key] = val;
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
_export_sfc as _
|
|
15
|
+
};
|