@nutui/nutui 4.0.0-beta.1 → 4.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/nutui.es.js +227 -103
- package/dist/nutui.umd.cjs +7 -20061
- package/dist/packages/_es/ActionSheet.js +3 -8
- package/dist/packages/_es/Address.js +4 -9
- package/dist/packages/_es/AddressList.js +6 -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 +2 -7
- package/dist/packages/_es/Cascader.js +14 -9
- package/dist/packages/_es/Category.js +2 -7
- package/dist/packages/_es/CategoryPane.js +2 -7
- package/dist/packages/_es/Cell.js +4 -9
- package/dist/packages/_es/CellGroup.js +2 -7
- package/dist/packages/_es/Checkbox.js +2 -7
- package/dist/packages/_es/CheckboxGroup.js +2 -7
- package/dist/packages/_es/CircleProgress.js +2 -7
- package/dist/packages/_es/Col.js +2 -7
- package/dist/packages/_es/Collapse.js +9 -14
- package/dist/packages/_es/CollapseItem.js +5 -10
- package/dist/packages/_es/Comment.js +5 -10
- package/dist/packages/_es/ConfigProvider.js +38 -11
- package/dist/packages/_es/Countdown.js +2 -7
- package/dist/packages/_es/Countup.js +2 -7
- package/dist/packages/_es/DatePicker.js +4 -9
- package/dist/packages/_es/Dialog.js +16 -28
- package/dist/packages/_es/Divider.js +2 -7
- package/dist/packages/_es/Drag.js +3 -8
- package/dist/packages/_es/Ecard.js +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 +22 -32
- 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/Menu.js +3 -8
- package/dist/packages/_es/MenuItem.js +3 -8
- package/dist/packages/_es/Navbar.js +2 -7
- package/dist/packages/_es/Noticebar.js +12 -16
- package/dist/packages/_es/Notify.js +8 -13
- package/dist/packages/_es/NumberKeyboard.js +3 -8
- package/dist/packages/_es/Overlay.js +2 -7
- package/dist/packages/_es/Pagination.js +2 -7
- package/dist/packages/_es/Picker.js +4 -9
- package/dist/packages/_es/Popover.js +5 -10
- package/dist/packages/_es/Popup.js +3 -8
- package/dist/packages/_es/Price.js +3 -8
- package/dist/packages/_es/Progress.js +2 -7
- package/dist/packages/_es/PullRefresh.js +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 +10 -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 +7 -10
- package/dist/packages/_es/Swipe.js +5 -10
- package/dist/packages/_es/Swiper.js +58 -121
- package/dist/packages/_es/SwiperItem.js +3 -8
- package/dist/packages/_es/Switch.js +3 -8
- package/dist/packages/_es/TabPane.js +4 -9
- package/dist/packages/_es/Tabbar.js +2 -7
- package/dist/packages/_es/TabbarItem.js +12 -32
- package/dist/packages/_es/Table.js +2 -7
- package/dist/packages/_es/Tabs.js +18 -23
- 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 +9 -16
- 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-73a3d722.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
- package/dist/packages/_es/{common-d5c1f4b1.js → common-ceb98554.js} +2 -7
- package/dist/packages/_es/{component-48526d37.js → component-81a4c1d0.js} +0 -5
- package/dist/packages/_es/{index-b05fa625.js → index-1006915b.js} +13 -8
- package/dist/packages/_es/{index-281c4c2c.js → index-1bf0d8ef.js} +5 -10
- package/dist/packages/_es/{index-c70386a5.js → index-29892cda.js} +0 -5
- package/dist/packages/_es/{index-95a5249b.js → index-43c34ac6.js} +0 -5
- package/dist/packages/_es/{index-fe4c328e.js → index-54d03fc1.js} +0 -5
- package/dist/packages/_es/{index-efc0d9e4.js → index-79c5dc33.js} +0 -5
- package/dist/packages/_es/{index-c3e2c58b.js → index-7a7385e4.js} +0 -5
- package/dist/packages/_es/{index.vue_vue_type_script_lang-959515e8.js → index.vue_vue_type_script_lang-1291fceb.js} +1 -6
- package/dist/packages/_es/{index.vue_vue_type_script_lang-5d693346.js → index.vue_vue_type_script_lang-cc5c4086.js} +2 -7
- package/dist/packages/_es/{index.vue_vue_type_script_lang-84b793e8.js → index.vue_vue_type_script_lang-d4c88f85.js} +2 -7
- package/dist/packages/_es/{interceptor-da627865.js → interceptor-956b24fc.js} +1 -6
- package/dist/packages/_es/{mountComponent-75cf7cfe.js → mountComponent-1ece4110.js} +1 -6
- package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
- package/dist/packages/_es/{raf-e90b8c4d.js → raf-729dad54.js} +0 -5
- package/dist/packages/_es/{renderIcon-d470170e.js → renderIcon-3d0fd47c.js} +0 -5
- package/dist/packages/actionsheet/index.mjs +3 -1
- package/dist/packages/actionsheet/style.cjs +2 -2
- package/dist/packages/actionsheet/style.mjs +2 -2
- package/dist/packages/address/index.mjs +3 -1
- package/dist/packages/address/style.cjs +3 -3
- package/dist/packages/address/style.mjs +3 -3
- package/dist/packages/addresslist/index.mjs +3 -1
- package/dist/packages/addresslist/style.cjs +2 -1
- package/dist/packages/addresslist/style.mjs +2 -1
- package/dist/packages/animate/index.mjs +3 -1
- package/dist/packages/audio/index.mjs +3 -1
- package/dist/packages/audio/index.scss +1 -1
- package/dist/packages/audio/style.cjs +1 -1
- package/dist/packages/audio/style.mjs +1 -1
- package/dist/packages/audiooperate/index.mjs +3 -1
- package/dist/packages/audiooperate/style.cjs +1 -1
- package/dist/packages/audiooperate/style.mjs +1 -1
- package/dist/packages/avatar/index.mjs +3 -1
- package/dist/packages/avatargroup/index.mjs +3 -1
- package/dist/packages/backtop/index.mjs +3 -1
- package/dist/packages/badge/index.mjs +3 -1
- package/dist/packages/barrage/index.mjs +3 -1
- package/dist/packages/barrage/index.scss +17 -1
- package/dist/packages/button/index.mjs +3 -1
- package/dist/packages/calendar/index.mjs +3 -1
- package/dist/packages/calendar/index.scss +11 -2
- package/dist/packages/calendar/style.cjs +3 -3
- package/dist/packages/calendar/style.mjs +3 -3
- package/dist/packages/calendaritem/index.mjs +3 -1
- package/dist/packages/card/index.mjs +3 -1
- package/dist/packages/card/style.cjs +2 -2
- package/dist/packages/card/style.mjs +2 -2
- package/dist/packages/cascader/index.mjs +3 -1
- package/dist/packages/cascader/style.cjs +5 -5
- package/dist/packages/cascader/style.mjs +5 -5
- package/dist/packages/category/index.mjs +3 -1
- package/dist/packages/categorypane/index.mjs +3 -1
- package/dist/packages/cell/index.mjs +3 -1
- package/dist/packages/cell/index.scss +3 -1
- package/dist/packages/cellgroup/index.mjs +3 -1
- package/dist/packages/checkbox/index.mjs +3 -1
- package/dist/packages/checkboxgroup/index.mjs +3 -1
- package/dist/packages/circleprogress/index.mjs +3 -1
- package/dist/packages/col/index.mjs +3 -1
- package/dist/packages/collapse/index.mjs +3 -1
- package/dist/packages/collapseitem/index.mjs +3 -1
- package/dist/packages/comment/index.mjs +3 -1
- package/dist/packages/comment/style.cjs +1 -1
- package/dist/packages/comment/style.mjs +1 -1
- package/dist/packages/configprovider/index.mjs +3 -1
- package/dist/packages/countdown/index.mjs +3 -1
- package/dist/packages/countup/index.mjs +3 -1
- package/dist/packages/datepicker/index.mjs +3 -1
- package/dist/packages/datepicker/style.cjs +3 -3
- package/dist/packages/datepicker/style.mjs +3 -3
- package/dist/packages/dialog/index.mjs +5 -2
- package/dist/packages/dialog/style.cjs +3 -3
- package/dist/packages/dialog/style.mjs +3 -3
- package/dist/packages/divider/index.mjs +3 -1
- package/dist/packages/drag/index.mjs +3 -1
- package/dist/packages/ecard/index.mjs +3 -1
- package/dist/packages/ecard/style.cjs +1 -1
- package/dist/packages/ecard/style.mjs +1 -1
- package/dist/packages/elevator/index.mjs +3 -1
- package/dist/packages/ellipsis/index.mjs +3 -1
- package/dist/packages/empty/index.mjs +3 -1
- package/dist/packages/fixednav/index.mjs +3 -1
- package/dist/packages/fixednav/style.cjs +1 -1
- package/dist/packages/fixednav/style.mjs +1 -1
- package/dist/packages/form/index.mjs +3 -1
- package/dist/packages/form/style.cjs +1 -1
- package/dist/packages/form/style.mjs +1 -1
- package/dist/packages/formitem/index.mjs +3 -1
- package/dist/packages/formitem/style.cjs +1 -1
- package/dist/packages/formitem/style.mjs +1 -1
- package/dist/packages/grid/index.mjs +3 -1
- package/dist/packages/griditem/index.mjs +3 -1
- package/dist/packages/image/index.mjs +3 -1
- package/dist/packages/imagepreview/index.mjs +5 -2
- package/dist/packages/imagepreview/style.cjs +5 -5
- package/dist/packages/imagepreview/style.mjs +5 -5
- package/dist/packages/indicator/index.mjs +3 -1
- package/dist/packages/infiniteloading/index.mjs +3 -1
- package/dist/packages/input/index.mjs +3 -1
- package/dist/packages/inputnumber/index.mjs +3 -1
- package/dist/packages/invoice/index.mjs +3 -1
- package/dist/packages/invoice/style.cjs +7 -7
- package/dist/packages/invoice/style.mjs +7 -7
- package/dist/packages/layout/index.mjs +3 -1
- package/dist/packages/list/index.mjs +3 -1
- 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 +1 -6
- package/dist/packages/locale/lang/zh-TW.js +1 -6
- package/dist/packages/menu/index.mjs +3 -1
- package/dist/packages/menuitem/index.mjs +3 -1
- package/dist/packages/menuitem/style.cjs +2 -2
- package/dist/packages/menuitem/style.mjs +2 -2
- package/dist/packages/navbar/index.mjs +3 -1
- package/dist/packages/noticebar/index.mjs +3 -1
- package/dist/packages/noticebar/index.scss +2 -1
- package/dist/packages/notify/index.mjs +5 -2
- package/dist/packages/notify/style.cjs +2 -2
- package/dist/packages/notify/style.mjs +2 -2
- package/dist/packages/numberkeyboard/index.mjs +3 -1
- package/dist/packages/numberkeyboard/index.scss +3 -0
- package/dist/packages/numberkeyboard/style.cjs +2 -2
- package/dist/packages/numberkeyboard/style.mjs +2 -2
- package/dist/packages/overlay/index.mjs +3 -1
- package/dist/packages/pagination/index.mjs +3 -1
- package/dist/packages/picker/index.mjs +3 -1
- package/dist/packages/picker/style.cjs +2 -2
- package/dist/packages/picker/style.mjs +2 -2
- package/dist/packages/popover/index.mjs +3 -1
- package/dist/packages/popover/index.scss +1 -1
- package/dist/packages/popover/style.cjs +2 -2
- package/dist/packages/popover/style.mjs +2 -2
- package/dist/packages/popup/index.mjs +3 -1
- package/dist/packages/popup/style.cjs +1 -1
- package/dist/packages/popup/style.mjs +1 -1
- package/dist/packages/price/index.mjs +3 -1
- package/dist/packages/progress/index.mjs +3 -1
- package/dist/packages/pullrefresh/index.mjs +3 -1
- package/dist/packages/pullrefresh/index.scss +3 -2
- package/dist/packages/radio/index.mjs +3 -1
- package/dist/packages/radio/index.scss +14 -1
- package/dist/packages/radiogroup/index.mjs +3 -1
- package/dist/packages/range/index.mjs +3 -1
- package/dist/packages/range/index.scss +6 -3
- package/dist/packages/rate/index.mjs +3 -1
- package/dist/packages/row/index.mjs +3 -1
- package/dist/packages/searchbar/index.mjs +3 -1
- package/dist/packages/shortpassword/index.mjs +3 -1
- package/dist/packages/shortpassword/style.cjs +2 -2
- package/dist/packages/shortpassword/style.mjs +2 -2
- package/dist/packages/sidenavbar/index.mjs +3 -1
- package/dist/packages/sidenavbaritem/index.mjs +3 -1
- package/dist/packages/signature/index.mjs +3 -1
- package/dist/packages/signature/style.cjs +1 -1
- package/dist/packages/signature/style.mjs +1 -1
- package/dist/packages/skeleton/index.mjs +3 -1
- package/dist/packages/skeleton/style.cjs +1 -1
- package/dist/packages/skeleton/style.mjs +1 -1
- package/dist/packages/sku/index.mjs +3 -1
- package/dist/packages/sku/index.scss +16 -2
- package/dist/packages/sku/style.cjs +4 -4
- package/dist/packages/sku/style.mjs +4 -4
- package/dist/packages/step/index.mjs +3 -1
- package/dist/packages/steps/index.mjs +3 -1
- package/dist/packages/sticky/index.mjs +3 -1
- package/dist/packages/sticky/index.scss +1 -0
- package/dist/packages/subsidenavbar/index.mjs +3 -1
- package/dist/packages/swipe/index.mjs +3 -1
- package/dist/packages/swiper/index.mjs +3 -1
- package/dist/packages/swiperitem/index.mjs +3 -1
- package/dist/packages/switch/index.mjs +3 -1
- package/dist/packages/tabbar/index.mjs +3 -1
- package/dist/packages/tabbaritem/index.mjs +3 -1
- package/dist/packages/tabbaritem/style.cjs +1 -1
- package/dist/packages/tabbaritem/style.mjs +1 -1
- package/dist/packages/table/index.mjs +3 -1
- package/dist/packages/tabpane/index.mjs +3 -1
- package/dist/packages/tabs/index.mjs +3 -1
- package/dist/packages/tabs/style.cjs +1 -1
- package/dist/packages/tabs/style.mjs +1 -1
- package/dist/packages/tag/index.mjs +3 -1
- package/dist/packages/textarea/index.mjs +3 -1
- package/dist/packages/timedetail/index.mjs +3 -1
- package/dist/packages/timedetail/index.scss +14 -1
- package/dist/packages/timepannel/index.mjs +3 -1
- package/dist/packages/timeselect/index.mjs +3 -1
- package/dist/packages/timeselect/style.cjs +2 -2
- package/dist/packages/timeselect/style.mjs +2 -2
- package/dist/packages/toast/index.mjs +5 -2
- package/dist/packages/tour/index.mjs +3 -1
- package/dist/packages/tour/style.cjs +3 -3
- package/dist/packages/tour/style.mjs +3 -3
- package/dist/packages/trendarrow/index.mjs +3 -1
- package/dist/packages/uploader/index.mjs +3 -1
- package/dist/packages/uploader/style.cjs +2 -2
- package/dist/packages/uploader/style.mjs +2 -2
- package/dist/packages/video/index.mjs +3 -1
- package/dist/packages/watermark/index.mjs +3 -1
- package/dist/smartips/attributes.json +289 -293
- package/dist/smartips/tags.json +11 -12
- package/dist/smartips/web-types.json +336 -345
- package/dist/style.css +1 -19
- package/dist/style.js +4 -0
- package/dist/styles/theme-deafult.scss +14 -16
- package/dist/styles/theme-jdt.scss +1 -7
- package/dist/styles/themes/default.scss +54 -54
- package/dist/styles/themes/jdb.scss +53 -54
- package/dist/styles/themes/jddkh.scss +53 -54
- package/dist/styles/themes/jdt.scss +54 -54
- package/dist/styles/variables.scss +8 -11
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -0
- package/dist/types/__VUE/address/index.vue.d.ts +18 -0
- package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +2 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
- package/dist/types/__VUE/cascader/types.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
- package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -2
- package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/dialog/index.d.ts +9 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
- package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/icon/index.vue.d.ts +1 -0
- package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
- package/dist/types/__VUE/input/index.vue.d.ts +2 -2
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -12
- package/dist/types/__VUE/notify/index.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
- package/dist/types/__VUE/popup/common.d.ts +8 -0
- package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
- package/dist/types/__VUE/popup/props.d.ts +8 -0
- package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
- package/dist/types/__VUE/steps/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swiper/index.vue.d.ts +9 -8
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
- package/dist/types/__VUE/toast/index.d.ts +3 -3
- package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +10 -7
- package/package.json +20 -47
- package/dist/packages/_es/Icon.js +0 -12
- package/dist/packages/_es/index.vue_vue_type_script_lang-6a7b6f54.js +0 -12
- package/dist/packages/_es/pxCheck-524650ac.js +0 -11
- package/dist/packages/_es/style.css +0 -16
- package/dist/packages/icon/index.mjs +0 -2
- package/dist/packages/locale/lang/baseLang-d9df8b94.js +0 -10
- package/dist/types/__VUE/configprovider/common.d.ts +0 -20
- package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-48526d37.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { useSlots, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle } from "vue";
|
|
8
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
3
|
+
import { P as Popup, p as popupProps } from "./index-1006915b.js";
|
|
9
4
|
import { Loading } 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
|
import "./Overlay.js";
|
|
13
8
|
const { componentName, create } = createComponent("action-sheet");
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, computed, reactive, watch, toRefs, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, renderSlot, withDirectives, createVNode, vShow, toDisplayString, createElementBlock, Fragment, renderList, normalizeClass, createCommentVNode, normalizeStyle, createTextVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { P as Popup, p as popupProps } from "./index-1006915b.js";
|
|
9
4
|
import Elevator from "./Elevator.js";
|
|
10
5
|
import { Location, Location2, Check, Close, Left } from "@nutui/icons-vue";
|
|
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
8
|
import "./Overlay.js";
|
|
14
|
-
import "./index-
|
|
9
|
+
import "./index-79c5dc33.js";
|
|
15
10
|
const { componentName, create, translate } = createComponent("address");
|
|
16
11
|
const _sfc_main = create({
|
|
17
12
|
components: {
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createVNode, createTextVNode, ref, createBlock, withCtx, reactive, computed, watch, onMounted, normalizeClass, Fragment, renderList, createSlots } from "vue";
|
|
7
|
-
import { c as createComponent, n as floatData } from "./component-
|
|
2
|
+
import { c as createComponent, n as floatData } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Del, Edit } 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 Button from "./Button.js";
|
|
6
|
+
import Swipe from "./Swipe.js";
|
|
11
7
|
import "../locale/lang";
|
|
8
|
+
import "./index-7a7385e4.js";
|
|
12
9
|
const { create: create$3 } = createComponent("addresslist-item");
|
|
13
10
|
const { translate: translate$1 } = createComponent("addresslist");
|
|
14
11
|
const _sfc_main$3 = create$3({
|
|
@@ -373,7 +370,8 @@ const _sfc_main = create({
|
|
|
373
370
|
components: {
|
|
374
371
|
SwipeShell,
|
|
375
372
|
GeneralShell,
|
|
376
|
-
[Button.name]: Button
|
|
373
|
+
[Button.name]: Button,
|
|
374
|
+
[Swipe.name]: Swipe
|
|
377
375
|
},
|
|
378
376
|
emits: ["delIcon", "editIcon", "itemClick", "longCopy", "longSet", "longDel", "swipeDel", "add"],
|
|
379
377
|
setup(props, { emit }) {
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, reactive, computed, openBlock, createElementBlock, createElementVNode, 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("animate");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, reactive, onMounted, watch, provide, toRefs, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, normalizeClass, createBlock, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Service } from "@nutui/icons-vue";
|
|
9
4
|
import Range from "./Range.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-
|
|
13
|
-
import "./index-
|
|
7
|
+
import "./index-7a7385e4.js";
|
|
8
|
+
import "./index-29892cda.js";
|
|
14
9
|
const { componentName, create } = createComponent("audio");
|
|
15
10
|
const _sfc_main = create({
|
|
16
11
|
props: {
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, reactive, ref, useSlots, toRefs, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import Button from "./Button.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
|
import "@nutui/icons-vue";
|
|
12
7
|
const { componentName, create, translate } = createComponent("audio-operate");
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, inject, ref, reactive, onMounted, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, createCommentVNode, Fragment, createTextVNode, 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("avatar");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, ref, computed, onMounted, provide, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("avatar-group");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, onMounted, onUnmounted, onActivated, onDeactivated, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, withModifiers, renderSlot, createVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { r as requestAniFrame, c as cancelRaf } from "./raf-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { r as requestAniFrame, c as cancelRaf } from "./raf-729dad54.js";
|
|
9
4
|
import { Top } 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("backtop");
|
|
13
8
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, computed, openBlock, createElementBlock, withDirectives, createElementVNode, normalizeStyle, renderSlot, vShow, toDisplayString, normalizeClass } 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("badge");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { useSlots, computed, ref, onMounted, onUnmounted, onDeactivated, watch, nextTick, useCssVars, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-48526d37.js";
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
|
|
1
|
+
import { useSlots, computed, ref, onMounted, onUnmounted, onDeactivated, watch, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from "vue";
|
|
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("barrage");
|
|
11
|
-
const
|
|
6
|
+
const _sfc_main = create({
|
|
12
7
|
name: "barrage",
|
|
13
8
|
props: {
|
|
14
9
|
danmu: {
|
|
@@ -71,6 +66,8 @@ const __default__ = create({
|
|
|
71
66
|
danmuList.value = dmList;
|
|
72
67
|
}
|
|
73
68
|
setTimeout(() => {
|
|
69
|
+
var _a2;
|
|
70
|
+
(_a2 = dmBody.value) == null ? void 0 : _a2.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
|
|
74
71
|
run();
|
|
75
72
|
}, 300);
|
|
76
73
|
});
|
|
@@ -103,14 +100,13 @@ const __default__ = create({
|
|
|
103
100
|
const run = () => {
|
|
104
101
|
clearInterval(timer);
|
|
105
102
|
timer = 0;
|
|
106
|
-
timer =
|
|
103
|
+
timer = setTimeout(() => {
|
|
107
104
|
play();
|
|
108
105
|
run();
|
|
109
106
|
}, props.frequency);
|
|
110
107
|
};
|
|
111
|
-
const distance = ref("0");
|
|
112
108
|
const play = () => {
|
|
113
|
-
var _a
|
|
109
|
+
var _a;
|
|
114
110
|
if (!props.loop && index2.value >= danmuList.value.length) {
|
|
115
111
|
return;
|
|
116
112
|
}
|
|
@@ -118,13 +114,7 @@ const __default__ = create({
|
|
|
118
114
|
let el = document.createElement(`view`);
|
|
119
115
|
if (slotDefault && typeof danmuList.value[_index] == "object") {
|
|
120
116
|
el = danmuList.value[_index];
|
|
121
|
-
|
|
122
|
-
el.classList.remove("nut-barrage__item");
|
|
123
|
-
}
|
|
124
|
-
if ((_b = el == null ? void 0 : el.classList) == null ? void 0 : _b.contains("move")) {
|
|
125
|
-
el.classList.remove("move");
|
|
126
|
-
}
|
|
127
|
-
(_c = el == null ? void 0 : el.classList) == null ? void 0 : _c.add("nut-barrage__item");
|
|
117
|
+
(_a = el == null ? void 0 : el.classList) == null ? void 0 : _a.add("nut-barrage__item");
|
|
128
118
|
} else {
|
|
129
119
|
el.innerHTML = danmuList.value[_index];
|
|
130
120
|
el.classList.add("nut-barrage__item");
|
|
@@ -141,11 +131,15 @@ const __default__ = create({
|
|
|
141
131
|
const width = el.offsetWidth;
|
|
142
132
|
el.style.width = width + 20 + "px";
|
|
143
133
|
}
|
|
144
|
-
el.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
|
|
145
|
-
distance.value = "-" + speeds / 1e3 * 150 + "%";
|
|
146
134
|
el.dataset.index = `${_index}`;
|
|
147
135
|
if (slotDefault) {
|
|
148
136
|
index2.value++;
|
|
137
|
+
el.addEventListener("animationend", () => {
|
|
138
|
+
var _a3;
|
|
139
|
+
if ((_a3 = el == null ? void 0 : el.classList) == null ? void 0 : _a3.contains("move")) {
|
|
140
|
+
el.classList.remove("move");
|
|
141
|
+
}
|
|
142
|
+
});
|
|
149
143
|
} else {
|
|
150
144
|
el.addEventListener("animationend", () => {
|
|
151
145
|
dmContainer.value.removeChild(el);
|
|
@@ -154,20 +148,9 @@ const __default__ = create({
|
|
|
154
148
|
}
|
|
155
149
|
});
|
|
156
150
|
};
|
|
157
|
-
return { classTime, classes, danmuList, dmBody, dmContainer, add
|
|
151
|
+
return { classTime, classes, danmuList, dmBody, dmContainer, add };
|
|
158
152
|
}
|
|
159
153
|
});
|
|
160
|
-
const __injectCSSVars__ = () => {
|
|
161
|
-
useCssVars((_ctx) => ({
|
|
162
|
-
"9e8362c8": _ctx.distance
|
|
163
|
-
}));
|
|
164
|
-
};
|
|
165
|
-
const __setup__ = __default__.setup;
|
|
166
|
-
__default__.setup = __setup__ ? (props, ctx) => {
|
|
167
|
-
__injectCSSVars__();
|
|
168
|
-
return __setup__(props, ctx);
|
|
169
|
-
} : __injectCSSVars__;
|
|
170
|
-
const index_vue_vue_type_style_index_0_lang = "";
|
|
171
154
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
172
155
|
return openBlock(), createElementBlock("div", {
|
|
173
156
|
ref: "dmBody",
|
|
@@ -186,7 +169,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
186
169
|
], 2)
|
|
187
170
|
], 2);
|
|
188
171
|
}
|
|
189
|
-
const index = /* @__PURE__ */ _export_sfc(
|
|
172
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
190
173
|
export {
|
|
191
174
|
index as default
|
|
192
175
|
};
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
8
3
|
import { Loading } 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("button");
|
|
12
7
|
const _sfc_main = create({
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, ref, resolveComponent, openBlock, createBlock, withCtx, createSlots, renderSlot, createCommentVNode } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { C as CalendarItem, U as Utils } from "./index-
|
|
9
|
-
import { P as Popup } from "./index-
|
|
10
|
-
import { u as useExpose } from "./index-
|
|
11
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { C as CalendarItem, U as Utils } from "./index-1bf0d8ef.js";
|
|
4
|
+
import { P as Popup } from "./index-1006915b.js";
|
|
5
|
+
import { u as useExpose } from "./index-79c5dc33.js";
|
|
6
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
12
7
|
import "../locale/lang";
|
|
13
|
-
import "./raf-
|
|
8
|
+
import "./raf-729dad54.js";
|
|
14
9
|
import "./Overlay.js";
|
|
15
10
|
import "@nutui/icons-vue";
|
|
16
11
|
const { create } = createComponent("calendar");
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { C } from "./index-281c4c2c.js";
|
|
1
|
+
import { C } from "./index-1bf0d8ef.js";
|
|
7
2
|
import "vue";
|
|
8
|
-
import "./_plugin-vue_export-helper-
|
|
9
|
-
import "./component-
|
|
3
|
+
import "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
4
|
+
import "./component-81a4c1d0.js";
|
|
10
5
|
import "../locale/lang";
|
|
11
|
-
import "./raf-
|
|
12
|
-
import "./index-
|
|
6
|
+
import "./raf-729dad54.js";
|
|
7
|
+
import "./index-79c5dc33.js";
|
|
13
8
|
export {
|
|
14
9
|
C as default
|
|
15
10
|
};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-48526d37.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot, createBlock, createCommentVNode, Fragment, createVNode, withCtx, createTextVNode } from "vue";
|
|
8
3
|
import Price from "./Price.js";
|
|
9
4
|
import Tag from "./Tag.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
7
|
import "@nutui/icons-vue";
|
|
13
8
|
const { create } = createComponent("card");
|
|
@@ -4,18 +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.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
9
|
-
* (c) 2022 @jdf2e.
|
|
10
|
-
* Released under the MIT License.
|
|
11
|
-
*/
|
|
12
7
|
import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
13
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
14
|
-
import { c as createComponent } from "./component-
|
|
8
|
+
import { P as Popup, p as popupProps } from "./index-1006915b.js";
|
|
9
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
15
10
|
import { Loading, Checklist } from "@nutui/icons-vue";
|
|
16
|
-
import
|
|
11
|
+
import Tabs from "./Tabs.js";
|
|
12
|
+
import TabPane from "./TabPane.js";
|
|
13
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
17
14
|
import "./Overlay.js";
|
|
18
15
|
import "../locale/lang";
|
|
16
|
+
import "./pxCheck-c6b9f6b7.js";
|
|
17
|
+
import "./index-29892cda.js";
|
|
18
|
+
import "./index.vue_vue_type_script_lang-cc5c4086.js";
|
|
19
19
|
const formatTree = (tree, parent, config) => tree.map((node) => {
|
|
20
20
|
const { value: valueKey = "value", text: textKey = "text", children: childrenKey = "children" } = config;
|
|
21
21
|
const { [valueKey]: value, [textKey]: text, [childrenKey]: children, ...others } = node;
|
|
@@ -140,7 +140,12 @@ class Tree {
|
|
|
140
140
|
}
|
|
141
141
|
const { create: create$1, translate } = createComponent("cascader-item");
|
|
142
142
|
const _sfc_main$1 = create$1({
|
|
143
|
-
components: {
|
|
143
|
+
components: {
|
|
144
|
+
Loading,
|
|
145
|
+
Checklist,
|
|
146
|
+
[Tabs.name]: Tabs,
|
|
147
|
+
[TabPane.name]: TabPane
|
|
148
|
+
},
|
|
144
149
|
props: {
|
|
145
150
|
visible: Boolean,
|
|
146
151
|
modelValue: Array,
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, 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("category");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-48526d37.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { componentName, create } = createComponent("category-pane");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createCommentVNode, Fragment, createElementVNode, toDisplayString, createTextVNode, createBlock } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { u as useRouter } from "./index-
|
|
9
|
-
import { p as pxCheck } from "./pxCheck-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { u as useRouter } from "./index-54d03fc1.js";
|
|
4
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
10
5
|
import { Right } from "@nutui/icons-vue";
|
|
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
8
|
const { componentName, create } = createComponent("cell");
|
|
14
9
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { computed, openBlock, createElementBlock, normalizeClass, renderSlot, toDisplayString, createCommentVNode, createElementVNode } 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("cell-group");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { c as createComponent } from "./component-48526d37.js";
|
|
1
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
7
2
|
import { inject, reactive, computed, watch, onMounted, getCurrentInstance, h } from "vue";
|
|
8
|
-
import { p as pxCheck } from "./pxCheck-
|
|
3
|
+
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
9
4
|
import { CheckNormal, Checked, CheckDisabled } from "@nutui/icons-vue";
|
|
10
5
|
import "../locale/lang";
|
|
11
6
|
const component = (componentName2, components) => {
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { reactive, provide, computed, watch, h } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { u as useExpose } from "./index-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { u as useExpose } from "./index-79c5dc33.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { create, componentName } = createComponent("checkbox-group");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { useSlots, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, renderList, renderSlot, toDisplayString, createCommentVNode } from "vue";
|
|
7
|
-
import { g as isObject, c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { g as isObject, 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("circle-progress");
|
|
11
6
|
const _sfc_main = create({
|
package/dist/packages/_es/Col.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, 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("col");
|
|
11
6
|
const _sfc_main = create({
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { ref, computed, watch, onMounted, getCurrentInstance, provide, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
7
|
-
import { c as createComponent } from "./component-
|
|
8
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
9
4
|
import "../locale/lang";
|
|
10
5
|
const { create, componentName } = createComponent("collapse");
|
|
11
6
|
const _sfc_main = create({
|
|
12
7
|
props: {
|
|
13
|
-
|
|
8
|
+
modelValue: {
|
|
14
9
|
type: [String, Number, Array],
|
|
15
10
|
default: () => []
|
|
16
11
|
},
|
|
@@ -19,7 +14,7 @@ const _sfc_main = create({
|
|
|
19
14
|
default: false
|
|
20
15
|
}
|
|
21
16
|
},
|
|
22
|
-
emits: ["update:
|
|
17
|
+
emits: ["update:modelValue", "change"],
|
|
23
18
|
setup(props, { emit }) {
|
|
24
19
|
const collapseDom = ref(null);
|
|
25
20
|
const collapseChldren = ref([]);
|
|
@@ -30,7 +25,7 @@ const _sfc_main = create({
|
|
|
30
25
|
};
|
|
31
26
|
});
|
|
32
27
|
watch(
|
|
33
|
-
() => props.
|
|
28
|
+
() => props.modelValue,
|
|
34
29
|
(newval) => {
|
|
35
30
|
let doms = collapseChldren.value;
|
|
36
31
|
Array.from(doms).forEach((item) => {
|
|
@@ -48,11 +43,11 @@ const _sfc_main = create({
|
|
|
48
43
|
collapseChldren.value = getCurrentInstance().provides.collapseParent.children || [];
|
|
49
44
|
});
|
|
50
45
|
const changeVal = (val) => {
|
|
51
|
-
emit("update:
|
|
46
|
+
emit("update:modelValue", val);
|
|
52
47
|
emit("change", val);
|
|
53
48
|
};
|
|
54
49
|
const changeValAry = (name) => {
|
|
55
|
-
const activeItem = props.
|
|
50
|
+
const activeItem = props.modelValue instanceof Object ? Object.values(props.modelValue) : props.modelValue;
|
|
56
51
|
let index2 = -1;
|
|
57
52
|
activeItem.forEach((item, idx) => {
|
|
58
53
|
if (String(item) == String(name)) {
|
|
@@ -63,9 +58,9 @@ const _sfc_main = create({
|
|
|
63
58
|
changeVal(activeItem);
|
|
64
59
|
};
|
|
65
60
|
const isExpanded = (name) => {
|
|
66
|
-
const { accordion,
|
|
61
|
+
const { accordion, modelValue } = props;
|
|
67
62
|
if (accordion) {
|
|
68
|
-
return typeof
|
|
63
|
+
return typeof modelValue === "number" || typeof modelValue === "string" ? modelValue == name : false;
|
|
69
64
|
}
|
|
70
65
|
};
|
|
71
66
|
provide("collapseParent", {
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
|
|
3
|
-
* (c) 2022 @jdf2e.
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
1
|
import { inject, reactive, computed, getCurrentInstance, ref, watch, onMounted, toRefs, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, toDisplayString, createCommentVNode, normalizeStyle, createBlock, resolveDynamicComponent } from "vue";
|
|
7
2
|
import { DownArrow } from "@nutui/icons-vue";
|
|
8
|
-
import { c as createComponent } from "./component-
|
|
9
|
-
import { r as renderIcon } from "./renderIcon-
|
|
10
|
-
import { _ as _export_sfc } from "./_plugin-vue_export-helper-
|
|
3
|
+
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
4
|
+
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
5
|
+
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
11
6
|
import "../locale/lang";
|
|
12
7
|
const { create, componentName } = createComponent("collapse-item");
|
|
13
8
|
const _sfc_main = create({
|
|
@@ -103,7 +98,7 @@ const _sfc_main = create({
|
|
|
103
98
|
const toggleOpen = () => {
|
|
104
99
|
if (parent.props.accordion) {
|
|
105
100
|
nextTick(() => {
|
|
106
|
-
if (currentName.value == parent.props.
|
|
101
|
+
if (currentName.value == parent.props.modelValue) {
|
|
107
102
|
open();
|
|
108
103
|
} else {
|
|
109
104
|
parent.changeVal(currentName.value);
|
|
@@ -130,7 +125,7 @@ const _sfc_main = create({
|
|
|
130
125
|
});
|
|
131
126
|
const init = () => {
|
|
132
127
|
const { name } = props;
|
|
133
|
-
const active = parent && parent.props.
|
|
128
|
+
const active = parent && parent.props.modelValue;
|
|
134
129
|
nextTick(() => {
|
|
135
130
|
if (typeof active == "number" || typeof active == "string") {
|
|
136
131
|
if (name == active) {
|