@nutui/nutui 4.0.0-beta.8 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -940
- package/README.md +1 -1
- package/dist/nutui.es.js +109 -105
- package/dist/nutui.umd.js +7 -0
- package/dist/packages/_es/ActionSheet.js +2 -7
- package/dist/packages/_es/Address.js +7 -4
- package/dist/packages/_es/AddressList.js +164 -239
- package/dist/packages/_es/Audio.js +6 -0
- package/dist/packages/_es/AudioOperate.js +1 -0
- package/dist/packages/_es/Avatar.js +2 -0
- package/dist/packages/_es/AvatarGroup.js +1 -0
- package/dist/packages/_es/Badge.js +2 -2
- package/dist/packages/_es/Barrage.js +60 -42
- package/dist/packages/_es/Calendar.js +12 -12
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +7 -14
- package/dist/packages/_es/Cascader.js +5 -4
- package/dist/packages/_es/Category.js +2 -0
- package/dist/packages/_es/CategoryPane.js +3 -0
- package/dist/packages/_es/Cell.js +1 -0
- package/dist/packages/_es/Collapse.js +7 -7
- package/dist/packages/_es/CollapseItem.js +6 -5
- package/dist/packages/_es/Comment.js +16 -13
- package/dist/packages/_es/ConfigProvider.js +34 -0
- package/dist/packages/_es/Countdown.js +8 -0
- package/dist/packages/_es/Countup.js +20 -5
- package/dist/packages/_es/DatePicker.js +2 -0
- package/dist/packages/_es/Dialog.js +18 -19
- package/dist/packages/_es/Ellipsis.js +3 -3
- package/dist/packages/_es/Empty.js +3 -0
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +2 -1
- package/dist/packages/_es/ImagePreview.js +11 -13
- package/dist/packages/_es/InfiniteLoading.js +1 -9
- package/dist/packages/_es/Input.js +30 -29
- package/dist/packages/_es/InputNumber.js +5 -5
- package/dist/packages/_es/Invoice.js +5 -3
- package/dist/packages/_es/List.js +1 -2
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +10 -4
- package/dist/packages/_es/Noticebar.js +23 -14
- package/dist/packages/_es/Notify.js +7 -6
- package/dist/packages/_es/NumberKeyboard.js +3 -3
- package/dist/packages/_es/Overlay.js +11 -5
- package/dist/packages/_es/Picker.js +4 -1
- package/dist/packages/_es/Popover.js +1 -2
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +39 -36
- package/dist/packages/_es/PullRefresh.js +10 -13
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Rate.js +19 -18
- package/dist/packages/_es/Searchbar.js +25 -19
- package/dist/packages/_es/ShortPassword.js +12 -11
- package/dist/packages/_es/Signature.js +12 -1
- package/dist/packages/_es/Skeleton.js +12 -4
- package/dist/packages/_es/Sku.js +31 -13
- package/dist/packages/_es/Swiper.js +1 -4
- package/dist/packages/_es/Switch.js +4 -1
- package/dist/packages/_es/TabbarItem.js +5 -0
- package/dist/packages/_es/Table.js +90 -93
- package/dist/packages/_es/Tabs.js +5 -3
- package/dist/packages/_es/Textarea.js +25 -4
- package/dist/packages/_es/TimeDetail.js +0 -4
- package/dist/packages/_es/TimeSelect.js +2 -2
- package/dist/packages/_es/Toast.js +13 -7
- package/dist/packages/_es/Tour.js +9 -8
- package/dist/packages/_es/TrendArrow.js +2 -2
- package/dist/packages/_es/Uploader.js +19 -16
- package/dist/packages/_es/Video.js +18 -0
- package/dist/packages/_es/{common-ceb98554.js → common-b9a5e726.js} +8 -0
- package/dist/packages/_es/{index-350a8abd.js → index-2ae3ae87.js} +42 -5
- package/dist/packages/_es/{index-da7aa231.js → index-991c279f.js} +13 -3
- package/dist/packages/_es/{index.vue_vue_type_script_lang-1291fceb.js → index.vue_vue_type_script_lang-22dfc112.js} +1 -0
- package/dist/packages/_es/{index.vue_vue_type_script_lang-d4c88f85.js → index.vue_vue_type_script_lang-442e4704.js} +1 -0
- package/dist/packages/actionsheet/style.mjs +3 -2
- package/dist/packages/address/style.mjs +4 -3
- package/dist/packages/addresslist/index.scss +14 -3
- package/dist/packages/addresslist/style.mjs +3 -2
- package/dist/packages/animate/style.mjs +1 -0
- package/dist/packages/audio/index.scss +1 -1
- package/dist/packages/audio/style.mjs +2 -1
- package/dist/packages/audiooperate/style.mjs +2 -1
- package/dist/packages/avatar/index.scss +3 -1
- package/dist/packages/avatar/style.mjs +1 -0
- package/dist/packages/avatargroup/index.scss +1 -1
- package/dist/packages/avatargroup/style.mjs +1 -0
- package/dist/packages/backtop/style.mjs +1 -0
- package/dist/packages/badge/index.scss +7 -3
- package/dist/packages/badge/style.mjs +1 -0
- package/dist/packages/barrage/style.mjs +1 -0
- package/dist/packages/button/index.scss +63 -1
- package/dist/packages/button/style.mjs +1 -0
- package/dist/packages/calendar/index.scss +14 -5
- package/dist/packages/calendar/style.mjs +4 -3
- package/dist/packages/calendaritem/style.mjs +1 -0
- package/dist/packages/card/style.mjs +3 -2
- package/dist/packages/cascader/style.mjs +6 -5
- package/dist/packages/category/style.mjs +1 -0
- package/dist/packages/categorypane/style.mjs +1 -0
- package/dist/packages/cell/index.scss +2 -0
- package/dist/packages/cell/style.mjs +1 -0
- package/dist/packages/cellgroup/style.mjs +1 -0
- package/dist/packages/checkbox/style.mjs +1 -0
- package/dist/packages/checkboxgroup/style.mjs +1 -0
- package/dist/packages/circleprogress/style.mjs +1 -0
- package/dist/packages/col/style.mjs +1 -0
- package/dist/packages/collapse/style.mjs +1 -0
- package/dist/packages/collapseitem/style.mjs +1 -0
- package/dist/packages/comment/index.scss +12 -7
- package/dist/packages/comment/style.mjs +2 -1
- package/dist/packages/configprovider/style.mjs +1 -0
- package/dist/packages/countdown/style.mjs +1 -0
- package/dist/packages/countup/index.scss +1 -0
- package/dist/packages/countup/style.mjs +1 -0
- package/dist/packages/datepicker/style.mjs +4 -3
- package/dist/packages/dialog/index.mjs +2 -1
- package/dist/packages/dialog/style.mjs +4 -3
- package/dist/packages/divider/style.mjs +1 -0
- package/dist/packages/drag/style.mjs +1 -0
- package/dist/packages/ecard/index.scss +20 -2
- package/dist/packages/ecard/style.mjs +2 -1
- package/dist/packages/elevator/index.scss +14 -0
- package/dist/packages/elevator/style.mjs +1 -0
- package/dist/packages/ellipsis/style.mjs +1 -0
- package/dist/packages/empty/style.mjs +1 -0
- package/dist/packages/fixednav/style.mjs +2 -1
- package/dist/packages/form/style.mjs +2 -1
- package/dist/packages/formitem/style.mjs +2 -1
- package/dist/packages/grid/style.mjs +1 -0
- package/dist/packages/griditem/style.mjs +1 -0
- package/dist/packages/icon/index.scss +1 -0
- package/dist/packages/icon/style.mjs +1 -0
- package/dist/packages/image/style.mjs +1 -0
- package/dist/packages/imagepreview/index.mjs +2 -1
- package/dist/packages/imagepreview/style.mjs +6 -5
- package/dist/packages/indicator/index.scss +4 -4
- package/dist/packages/indicator/style.mjs +1 -0
- package/dist/packages/infiniteloading/style.mjs +1 -0
- package/dist/packages/input/index.scss +6 -2
- package/dist/packages/input/style.mjs +1 -0
- package/dist/packages/inputnumber/index.scss +5 -1
- package/dist/packages/inputnumber/style.mjs +1 -0
- package/dist/packages/invoice/style.mjs +8 -7
- package/dist/packages/layout/style.mjs +1 -0
- package/dist/packages/list/style.mjs +1 -0
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/menu/style.mjs +1 -0
- package/dist/packages/menuitem/style.mjs +3 -2
- package/dist/packages/navbar/style.mjs +1 -0
- package/dist/packages/noticebar/index.scss +13 -10
- package/dist/packages/noticebar/style.mjs +1 -0
- package/dist/packages/notify/index.mjs +2 -1
- package/dist/packages/notify/style.mjs +3 -2
- package/dist/packages/numberkeyboard/style.mjs +3 -2
- package/dist/packages/overlay/style.mjs +1 -0
- package/dist/packages/pagination/style.mjs +1 -0
- package/dist/packages/picker/style.mjs +3 -2
- package/dist/packages/popover/style.mjs +3 -2
- package/dist/packages/popup/style.mjs +2 -1
- package/dist/packages/price/style.mjs +1 -0
- package/dist/packages/progress/index.scss +8 -6
- package/dist/packages/progress/style.mjs +1 -0
- package/dist/packages/pullrefresh/index.scss +1 -1
- package/dist/packages/pullrefresh/style.mjs +1 -0
- package/dist/packages/radio/index.scss +14 -2
- package/dist/packages/radio/style.mjs +1 -0
- package/dist/packages/radiogroup/style.mjs +1 -0
- package/dist/packages/range/index.scss +6 -3
- package/dist/packages/range/style.mjs +1 -0
- package/dist/packages/rate/index.scss +5 -4
- package/dist/packages/rate/style.mjs +1 -0
- package/dist/packages/row/style.mjs +1 -0
- package/dist/packages/searchbar/index.scss +43 -24
- package/dist/packages/searchbar/style.mjs +1 -0
- package/dist/packages/shortpassword/style.mjs +3 -2
- package/dist/packages/sidenavbar/style.mjs +1 -0
- package/dist/packages/sidenavbaritem/style.mjs +1 -0
- package/dist/packages/signature/index.scss +2 -2
- package/dist/packages/signature/style.mjs +2 -1
- package/dist/packages/skeleton/style.mjs +2 -1
- package/dist/packages/sku/index.scss +16 -2
- package/dist/packages/sku/style.mjs +5 -4
- package/dist/packages/step/index.scss +1 -9
- package/dist/packages/step/style.mjs +1 -0
- package/dist/packages/steps/style.mjs +1 -0
- package/dist/packages/sticky/index.scss +1 -0
- package/dist/packages/sticky/style.mjs +1 -0
- package/dist/packages/subsidenavbar/style.mjs +1 -0
- package/dist/packages/swipe/style.mjs +1 -0
- package/dist/packages/swiper/style.mjs +1 -0
- package/dist/packages/swiperitem/style.mjs +1 -0
- package/dist/packages/switch/index.scss +7 -0
- package/dist/packages/switch/style.mjs +1 -0
- package/dist/packages/tabbar/style.mjs +1 -0
- package/dist/packages/tabbaritem/index.scss +6 -0
- package/dist/packages/tabbaritem/style.mjs +2 -1
- package/dist/packages/table/style.mjs +1 -0
- package/dist/packages/tabpane/style.mjs +1 -0
- package/dist/packages/tabs/style.mjs +2 -1
- package/dist/packages/tag/style.mjs +1 -0
- package/dist/packages/textarea/index.scss +7 -1
- package/dist/packages/textarea/style.mjs +1 -0
- package/dist/packages/timedetail/index.scss +14 -6
- package/dist/packages/timedetail/style.mjs +1 -0
- package/dist/packages/timepannel/style.mjs +1 -0
- package/dist/packages/timeselect/style.mjs +3 -2
- package/dist/packages/toast/index.mjs +2 -1
- package/dist/packages/toast/style.mjs +1 -0
- package/dist/packages/tour/index.scss +3 -0
- package/dist/packages/tour/style.mjs +4 -3
- package/dist/packages/trendarrow/style.mjs +1 -0
- package/dist/packages/uploader/index.scss +21 -15
- package/dist/packages/uploader/style.mjs +3 -2
- package/dist/packages/video/style.mjs +1 -0
- package/dist/packages/watermark/style.mjs +1 -0
- package/dist/smartips/web-types.json +709 -790
- package/dist/style.css +1 -1
- package/dist/styles/reset.css +3 -0
- package/dist/styles/themes/default.scss +53 -54
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jddkh.scss +53 -53
- package/dist/styles/themes/jdt.scss +53 -54
- package/dist/styles/variables-jdb.scss +7 -14
- package/dist/styles/variables-jddkh.scss +7 -13
- package/dist/styles/variables-jdt.scss +8 -14
- package/dist/styles/variables.scss +16 -26
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -9
- package/dist/types/__VUE/address/index.vue.d.ts +18 -0
- package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +23 -7
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +2 -2
- package/dist/types/__VUE/addresslist/index.vue.d.ts +6 -6
- package/dist/types/__VUE/barrage/index.vue.d.ts +2 -4
- package/dist/types/__VUE/card/index.vue.d.ts +0 -21
- package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +2 -2
- package/dist/types/__VUE/comment/index.vue.d.ts +4 -4
- package/dist/types/__VUE/dialog/index.d.ts +9 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +0 -18
- package/dist/types/__VUE/input/index.vue.d.ts +6 -39
- package/dist/types/__VUE/noticebar/index.vue.d.ts +6 -20
- package/dist/types/__VUE/notify/index.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +0 -9
- package/dist/types/__VUE/popup/common.d.ts +8 -0
- package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
- package/dist/types/__VUE/popup/props.d.ts +8 -0
- package/dist/types/__VUE/progress/index.vue.d.ts +1 -0
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +0 -9
- package/dist/types/__VUE/rate/index.vue.d.ts +17 -11
- package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
- package/dist/types/__VUE/swiper/index.vue.d.ts +0 -9
- package/dist/types/__VUE/table/common.d.ts +9 -9
- package/dist/types/__VUE/table/index.vue.d.ts +13 -11
- package/dist/types/__VUE/table/renderColumn.d.ts +9 -9
- package/dist/types/__VUE/textarea/index.vue.d.ts +5 -0
- package/dist/types/__VUE/timedetail/index.vue.d.ts +0 -9
- package/dist/types/__VUE/toast/index.d.ts +3 -3
- package/dist/types/__VUE/tour/index.vue.d.ts +9 -9
- package/dist/types/index.d.ts +10 -6
- package/package.json +10 -101
- package/dist/nutui.umd.cjs +0 -19974
- package/dist/packages/_es/Loading-5f2ef345.js +0 -59
- package/dist/packages/_es/Loading-ff1ade5e.js +0 -59
- package/dist/packages/_es/_plugin-vue_export-helper-214bd398.js +0 -15
- package/dist/packages/_es/_plugin-vue_export-helper-3119770d.js +0 -15
- package/dist/packages/_es/_plugin-vue_export-helper-40ecb205.js +0 -15
- package/dist/packages/_es/_plugin-vue_export-helper-cabb815c.js +0 -15
- package/dist/packages/_es/common-1144cf18.js +0 -142
- package/dist/packages/_es/common-33d6538d.js +0 -142
- package/dist/packages/_es/common-38afc79e.js +0 -142
- package/dist/packages/_es/common-fcbd940e.js +0 -142
- package/dist/packages/_es/component-555f9132.js +0 -150
- package/dist/packages/_es/component-93f40b7f.js +0 -144
- package/dist/packages/_es/component-cb778481.js +0 -150
- package/dist/packages/_es/component-f9e4b05e.js +0 -144
- package/dist/packages/_es/index-122e380e.js +0 -15
- package/dist/packages/_es/index-15d5ca2c.js +0 -35
- package/dist/packages/_es/index-16f572cc.js +0 -52
- package/dist/packages/_es/index-18e7c77e.js +0 -38
- package/dist/packages/_es/index-22af3a75.js +0 -35
- package/dist/packages/_es/index-2d3e73a7.js +0 -239
- package/dist/packages/_es/index-375f2695.js +0 -15
- package/dist/packages/_es/index-57aa518c.js +0 -13
- package/dist/packages/_es/index-65e55319.js +0 -72
- package/dist/packages/_es/index-673e467d.js +0 -72
- package/dist/packages/_es/index-69b79b10.js +0 -52
- package/dist/packages/_es/index-7386d8ea.js +0 -35
- package/dist/packages/_es/index-75be4de5.js +0 -72
- package/dist/packages/_es/index-7653e348.js +0 -814
- package/dist/packages/_es/index-83f367f2.js +0 -15
- package/dist/packages/_es/index-a0ae7438.js +0 -72
- package/dist/packages/_es/index-abb46652.js +0 -13
- package/dist/packages/_es/index-bd90ef5b.js +0 -38
- package/dist/packages/_es/index-dd23f7fc.js +0 -35
- package/dist/packages/_es/index-ec1281d1.js +0 -15
- package/dist/packages/_es/index-ee55d99f.js +0 -814
- package/dist/packages/_es/index-f9640059.js +0 -239
- package/dist/packages/_es/index.taro-15624a72.js +0 -833
- package/dist/packages/_es/index.taro-2ce92fc8.js +0 -76
- package/dist/packages/_es/index.taro-356b6989.js +0 -238
- package/dist/packages/_es/index.taro-5564033f.js +0 -833
- package/dist/packages/_es/index.taro-be0723aa.js +0 -76
- package/dist/packages/_es/index.taro-da1bc684.js +0 -238
- package/dist/packages/_es/index.taro.vue_vue_type_script_lang-5696dfc0.js +0 -102
- package/dist/packages/_es/index.taro.vue_vue_type_script_lang-5b67ab83.js +0 -102
- package/dist/packages/_es/index.vue_vue_type_script_lang-164ba0ab.js +0 -102
- package/dist/packages/_es/index.vue_vue_type_script_lang-1c056efc.js +0 -156
- package/dist/packages/_es/index.vue_vue_type_script_lang-2c5dd6ac.js +0 -50
- package/dist/packages/_es/index.vue_vue_type_script_lang-3bc78a6d.js +0 -156
- package/dist/packages/_es/index.vue_vue_type_script_lang-630bc089.js +0 -50
- package/dist/packages/_es/index.vue_vue_type_script_lang-ba9e696d.js +0 -50
- package/dist/packages/_es/index.vue_vue_type_script_lang-cab1cdc4.js +0 -102
- package/dist/packages/_es/index.vue_vue_type_script_lang-f91aa3ff.js +0 -50
- package/dist/packages/_es/interceptor-5d3d8b0a.js +0 -34
- package/dist/packages/_es/interceptor-bf7033c2.js +0 -34
- package/dist/packages/_es/interceptor-ccd1403c.js +0 -34
- package/dist/packages/_es/interceptor-dbee5851.js +0 -34
- package/dist/packages/_es/mountComponent-1316c4a2.js +0 -44
- package/dist/packages/_es/mountComponent-3f8ea19f.js +0 -44
- package/dist/packages/_es/pxCheck-110c0d58.js +0 -11
- package/dist/packages/_es/pxCheck-42d1a00f.js +0 -11
- package/dist/packages/_es/pxCheck-62a0c829.js +0 -11
- package/dist/packages/_es/pxCheck-70f351cb.js +0 -11
- package/dist/packages/_es/raf-182636f4.js +0 -30
- package/dist/packages/_es/raf-2ee3bcbb.js +0 -30
- package/dist/packages/_es/raf-6ea498df.js +0 -21
- package/dist/packages/_es/raf-8518c796.js +0 -21
- package/dist/packages/_es/renderIcon-0d8f6335.js +0 -14
- package/dist/packages/_es/renderIcon-1be33355.js +0 -14
- package/dist/packages/_es/renderIcon-ba0fcba3.js +0 -14
- package/dist/packages/_es/renderIcon-bde9e715.js +0 -14
- package/dist/packages/_es/style.css +0 -16
- package/dist/packages/_es/style_icon-299fd467.js +0 -6
- package/dist/packages/_es/style_icon-8872f331.js +0 -6
- package/dist/packages/actionsheet/style.cjs +0 -3
- package/dist/packages/address/style.cjs +0 -4
- package/dist/packages/addresslist/style.cjs +0 -3
- package/dist/packages/animate/style.cjs +0 -1
- package/dist/packages/audio/style.cjs +0 -2
- package/dist/packages/audiooperate/style.cjs +0 -2
- package/dist/packages/avatar/style.cjs +0 -1
- package/dist/packages/avatargroup/style.cjs +0 -1
- package/dist/packages/backtop/style.cjs +0 -1
- package/dist/packages/badge/style.cjs +0 -1
- package/dist/packages/barrage/style.cjs +0 -1
- package/dist/packages/button/style.cjs +0 -1
- package/dist/packages/calendar/style.cjs +0 -4
- package/dist/packages/calendaritem/style.cjs +0 -1
- package/dist/packages/card/style.cjs +0 -3
- package/dist/packages/cascader/style.cjs +0 -6
- package/dist/packages/category/style.cjs +0 -1
- package/dist/packages/categorypane/style.cjs +0 -1
- package/dist/packages/cell/style.cjs +0 -1
- package/dist/packages/cellgroup/style.cjs +0 -1
- package/dist/packages/checkbox/style.cjs +0 -1
- package/dist/packages/checkboxgroup/style.cjs +0 -1
- package/dist/packages/circleprogress/style.cjs +0 -1
- package/dist/packages/col/style.cjs +0 -1
- package/dist/packages/collapse/style.cjs +0 -1
- package/dist/packages/collapseitem/style.cjs +0 -1
- package/dist/packages/comment/style.cjs +0 -2
- package/dist/packages/configprovider/style.cjs +0 -1
- package/dist/packages/countdown/style.cjs +0 -1
- package/dist/packages/countup/style.cjs +0 -1
- package/dist/packages/datepicker/style.cjs +0 -4
- package/dist/packages/dialog/style.cjs +0 -4
- package/dist/packages/divider/style.cjs +0 -1
- package/dist/packages/drag/style.cjs +0 -1
- package/dist/packages/ecard/style.cjs +0 -2
- package/dist/packages/elevator/style.cjs +0 -1
- package/dist/packages/ellipsis/style.cjs +0 -1
- package/dist/packages/empty/style.cjs +0 -1
- package/dist/packages/fixednav/style.cjs +0 -2
- package/dist/packages/form/style.cjs +0 -2
- package/dist/packages/formitem/style.cjs +0 -2
- package/dist/packages/grid/style.cjs +0 -1
- package/dist/packages/griditem/style.cjs +0 -1
- package/dist/packages/icon/style.cjs +0 -1
- package/dist/packages/image/style.cjs +0 -1
- package/dist/packages/imagepreview/style.cjs +0 -6
- package/dist/packages/indicator/style.cjs +0 -1
- package/dist/packages/infiniteloading/style.cjs +0 -1
- package/dist/packages/input/style.cjs +0 -1
- package/dist/packages/inputnumber/style.cjs +0 -1
- package/dist/packages/invoice/style.cjs +0 -8
- package/dist/packages/layout/style.cjs +0 -1
- package/dist/packages/list/style.cjs +0 -1
- package/dist/packages/locale/lang/baseLang-0e7bcba4.js +0 -10
- package/dist/packages/locale/lang/baseLang-5db74119.js +0 -10
- package/dist/packages/locale/lang/baseLang-6070c617.js +0 -10
- package/dist/packages/locale/lang/baseLang-8d65df5e.js +0 -10
- package/dist/packages/menu/style.cjs +0 -1
- package/dist/packages/menuitem/style.cjs +0 -3
- package/dist/packages/navbar/style.cjs +0 -1
- package/dist/packages/noticebar/style.cjs +0 -1
- package/dist/packages/notify/style.cjs +0 -3
- package/dist/packages/numberkeyboard/style.cjs +0 -3
- package/dist/packages/overlay/style.cjs +0 -1
- package/dist/packages/pagination/style.cjs +0 -1
- package/dist/packages/picker/style.cjs +0 -3
- package/dist/packages/popover/style.cjs +0 -3
- package/dist/packages/popup/style.cjs +0 -2
- package/dist/packages/price/style.cjs +0 -1
- package/dist/packages/progress/style.cjs +0 -1
- package/dist/packages/pullrefresh/style.cjs +0 -1
- package/dist/packages/radio/style.cjs +0 -1
- package/dist/packages/radiogroup/style.cjs +0 -1
- package/dist/packages/range/style.cjs +0 -1
- package/dist/packages/rate/style.cjs +0 -1
- package/dist/packages/row/style.cjs +0 -1
- package/dist/packages/searchbar/style.cjs +0 -1
- package/dist/packages/shortpassword/style.cjs +0 -3
- package/dist/packages/sidenavbar/style.cjs +0 -1
- package/dist/packages/sidenavbaritem/style.cjs +0 -1
- package/dist/packages/signature/style.cjs +0 -2
- package/dist/packages/skeleton/style.cjs +0 -2
- package/dist/packages/sku/style.cjs +0 -5
- package/dist/packages/step/style.cjs +0 -1
- package/dist/packages/steps/style.cjs +0 -1
- package/dist/packages/sticky/style.cjs +0 -1
- package/dist/packages/subsidenavbar/style.cjs +0 -1
- package/dist/packages/swipe/style.cjs +0 -1
- package/dist/packages/swiper/style.cjs +0 -1
- package/dist/packages/swiperitem/style.cjs +0 -1
- package/dist/packages/switch/style.cjs +0 -1
- package/dist/packages/tabbar/style.cjs +0 -1
- package/dist/packages/tabbaritem/style.cjs +0 -2
- package/dist/packages/table/style.cjs +0 -1
- package/dist/packages/tabpane/style.cjs +0 -1
- package/dist/packages/tabs/style.cjs +0 -2
- package/dist/packages/tag/style.cjs +0 -1
- package/dist/packages/textarea/style.cjs +0 -1
- package/dist/packages/timedetail/style.cjs +0 -1
- package/dist/packages/timepannel/style.cjs +0 -1
- package/dist/packages/timeselect/style.cjs +0 -3
- package/dist/packages/toast/style.cjs +0 -1
- package/dist/packages/tour/style.cjs +0 -4
- package/dist/packages/trendarrow/style.cjs +0 -1
- package/dist/packages/uploader/style.cjs +0 -3
- package/dist/packages/video/style.cjs +0 -1
- package/dist/packages/watermark/style.cjs +0 -1
- package/dist/smartips/attributes.json +0 -2814
- package/dist/smartips/tags.json +0 -1048
- package/dist/styles/theme-deafult.scss +0 -919
- package/dist/styles/theme-jdt.scss +0 -892
- package/dist/styles/variables-var.scss +0 -854
- package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +0 -292
- package/dist/types/__VUE/address/index.taro.vue.d.ts +0 -377
- package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +0 -26
- package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +0 -83
- package/dist/types/__VUE/animate/index.taro.vue.d.ts +0 -54
- package/dist/types/__VUE/avatar/index.taro.vue.d.ts +0 -76
- package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +0 -92
- package/dist/types/__VUE/backtop/index.taro.vue.d.ts +0 -76
- package/dist/types/__VUE/badge/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/barrage/index.taro.vue.d.ts +0 -81
- package/dist/types/__VUE/button/index.taro.vue.d.ts +0 -117
- package/dist/types/__VUE/calendar/index.taro.vue.d.ts +0 -187
- package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +0 -217
- package/dist/types/__VUE/card/index.taro.vue.d.ts +0 -89
- package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +0 -77
- package/dist/types/__VUE/cascader/index.taro.vue.d.ts +0 -245
- package/dist/types/__VUE/category/index.taro.vue.d.ts +0 -42
- package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +0 -54
- package/dist/types/__VUE/cell/index.taro.vue.d.ts +0 -124
- package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/collapse/index.taro.vue.d.ts +0 -38
- package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +0 -111
- package/dist/types/__VUE/comment/index.taro.vue.d.ts +0 -119
- package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +0 -45
- package/dist/types/__VUE/countdown/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/countup/index.taro.vue.d.ts +0 -213
- package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +0 -232
- package/dist/types/__VUE/dialog/index.taro.vue.d.ts +0 -327
- package/dist/types/__VUE/divider/index.taro.vue.d.ts +0 -53
- package/dist/types/__VUE/drag/index.taro.vue.d.ts +0 -62
- package/dist/types/__VUE/ecard/index.taro.vue.d.ts +0 -128
- package/dist/types/__VUE/elevator/index.taro.vue.d.ts +0 -119
- package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/empty/index.taro.vue.d.ts +0 -46
- package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +0 -105
- package/dist/types/__VUE/form/index.taro.vue.d.ts +0 -40
- package/dist/types/__VUE/formitem/index.taro.vue.d.ts +0 -114
- package/dist/types/__VUE/grid/index.taro.vue.d.ts +0 -84
- package/dist/types/__VUE/griditem/index.taro.vue.d.ts +0 -22
- package/dist/types/__VUE/icon/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/image/index.taro.vue.d.ts +0 -32
- package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +0 -172
- package/dist/types/__VUE/indicator/index.taro.vue.d.ts +0 -70
- package/dist/types/__VUE/input/index.taro.vue.d.ts +0 -257
- package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +0 -116
- package/dist/types/__VUE/invoice/index.taro.vue.d.ts +0 -52
- package/dist/types/__VUE/layout/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/list/index.taro.vue.d.ts +0 -58
- package/dist/types/__VUE/menu/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +0 -89
- package/dist/types/__VUE/navbar/index.taro.vue.d.ts +0 -121
- package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +0 -217
- package/dist/types/__VUE/notify/index.taro.vue.d.ts +0 -97
- package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +0 -132
- package/dist/types/__VUE/overlay/index.taro.vue.d.ts +0 -85
- package/dist/types/__VUE/pagination/index.taro.vue.d.ts +0 -111
- package/dist/types/__VUE/picker/index.taro.vue.d.ts +0 -14
- package/dist/types/__VUE/popover/index.taro.vue.d.ts +0 -201
- package/dist/types/__VUE/popup/index.taro.vue.d.ts +0 -201
- package/dist/types/__VUE/price/index.taro.vue.d.ts +0 -87
- package/dist/types/__VUE/progress/index.taro.vue.d.ts +0 -128
- package/dist/types/__VUE/radio/index.taro.vue.d.ts +0 -53
- package/dist/types/__VUE/range/index.taro.vue.d.ts +0 -158
- package/dist/types/__VUE/rate/index.taro.vue.d.ts +0 -124
- package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +0 -14
- package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +0 -177
- package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +0 -31
- package/dist/types/__VUE/signature/index.taro.vue.d.ts +0 -83
- package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +0 -115
- package/dist/types/__VUE/sku/index.taro.vue.d.ts +0 -182
- package/dist/types/__VUE/steps/index.taro.vue.d.ts +0 -46
- package/dist/types/__VUE/sticky/index.taro.vue.d.ts +0 -47
- package/dist/types/__VUE/swipe/index.taro.vue.d.ts +0 -71
- package/dist/types/__VUE/swiper/index.taro.vue.d.ts +0 -176
- package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
- package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +0 -18
- package/dist/types/__VUE/switch/index.taro.vue.d.ts +0 -108
- package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +0 -59
- package/dist/types/__VUE/table/index.taro.vue.d.ts +0 -78
- package/dist/types/__VUE/tabs/index.taro.vue.d.ts +0 -164
- package/dist/types/__VUE/tag/index.taro.vue.d.ts +0 -90
- package/dist/types/__VUE/textarea/index.taro.vue.d.ts +0 -122
- package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +0 -47
- package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +0 -42
- package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +0 -91
- package/dist/types/__VUE/toast/index.taro.vue.d.ts +0 -184
- package/dist/types/__VUE/tour/index.taro.vue.d.ts +0 -192
- package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +0 -105
- package/dist/types/__VUE/uploader/index.taro.vue.d.ts +0 -260
- package/dist/types/__VUE/watermark/index.taro.vue.d.ts +0 -175
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
2
2
|
import { useSlots, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle } from "vue";
|
|
3
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
3
|
+
import { P as Popup, p as popupProps } from "./index-991c279f.js";
|
|
4
4
|
import { Loading } from "@nutui/icons-vue";
|
|
5
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
6
|
import "../locale/lang";
|
|
@@ -45,10 +45,6 @@ const _sfc_main = create({
|
|
|
45
45
|
type: Array,
|
|
46
46
|
default: () => []
|
|
47
47
|
},
|
|
48
|
-
isWrapTeleport: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: true
|
|
51
|
-
},
|
|
52
48
|
closeAbled: {
|
|
53
49
|
type: Boolean,
|
|
54
50
|
default: true
|
|
@@ -111,7 +107,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
111
107
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
112
108
|
return openBlock(), createBlock(_component_nut_popup, {
|
|
113
109
|
visible: _ctx.visible,
|
|
114
|
-
isWrapTeleport: _ctx.isWrapTeleport,
|
|
115
110
|
position: "bottom",
|
|
116
111
|
round: "",
|
|
117
112
|
onClickOverlay: _ctx.close,
|
|
@@ -153,7 +148,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
153
148
|
], 2)
|
|
154
149
|
]),
|
|
155
150
|
_: 3
|
|
156
|
-
}, 8, ["visible", "
|
|
151
|
+
}, 8, ["visible", "onClickOverlay", "closeOnClickOverlay"]);
|
|
157
152
|
}
|
|
158
153
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
159
154
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
3
|
+
import { P as Popup, p as popupProps } from "./index-991c279f.js";
|
|
4
4
|
import Elevator from "./Elevator.js";
|
|
5
5
|
import { Location, Location2, Check, Close, Left } from "@nutui/icons-vue";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
@@ -41,14 +41,17 @@ const _sfc_main = create({
|
|
|
41
41
|
type: Array,
|
|
42
42
|
default: () => []
|
|
43
43
|
},
|
|
44
|
+
// 市
|
|
44
45
|
country: {
|
|
45
46
|
type: Array,
|
|
46
47
|
default: () => []
|
|
47
48
|
},
|
|
49
|
+
// 县
|
|
48
50
|
town: {
|
|
49
51
|
type: Array,
|
|
50
52
|
default: () => []
|
|
51
53
|
},
|
|
54
|
+
// 镇
|
|
52
55
|
isShowCustomAddress: {
|
|
53
56
|
type: Boolean,
|
|
54
57
|
default: true
|
|
@@ -372,7 +375,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
372
375
|
class: "nut-address__header-back",
|
|
373
376
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.switchModule && _ctx.switchModule(...args))
|
|
374
377
|
}, [
|
|
375
|
-
renderSlot(_ctx.$slots, "
|
|
378
|
+
renderSlot(_ctx.$slots, "back-icon", {}, () => [
|
|
376
379
|
withDirectives(createVNode(_component_Left, null, null, 512), [
|
|
377
380
|
[vShow, _ctx.type == "exist" && _ctx.privateType == "custom"]
|
|
378
381
|
])
|
|
@@ -383,7 +386,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
383
386
|
class: "nut-address__header-close",
|
|
384
387
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handClose("cross"))
|
|
385
388
|
}, [
|
|
386
|
-
renderSlot(_ctx.$slots, "
|
|
389
|
+
renderSlot(_ctx.$slots, "close-icon", {}, () => [
|
|
387
390
|
createVNode(_component_Close, {
|
|
388
391
|
color: "#cccccc",
|
|
389
392
|
size: "18px"
|
|
@@ -448,7 +451,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
448
451
|
key: index2,
|
|
449
452
|
onClick: ($event) => _ctx.selectedExist(item)
|
|
450
453
|
}, [
|
|
451
|
-
!item.selectedAddress ? renderSlot(_ctx.$slots, "
|
|
454
|
+
!item.selectedAddress ? renderSlot(_ctx.$slots, "unselected-icon", { key: 0 }, () => [
|
|
452
455
|
createVNode(_component_Location2, {
|
|
453
456
|
class: "nut-address-select-icon",
|
|
454
457
|
width: "13px"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createVNode, createTextVNode, ref, createBlock, withCtx, reactive, computed, watch, onMounted, normalizeClass, Fragment, renderList, createSlots } from "vue";
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createVNode, createTextVNode, ref, h, createBlock, resolveDynamicComponent, withCtx, reactive, computed, watch, onMounted, normalizeClass, Fragment, renderList, createSlots } from "vue";
|
|
2
2
|
import { c as createComponent, n as floatData } from "./component-81a4c1d0.js";
|
|
3
3
|
import { Del, Edit } from "@nutui/icons-vue";
|
|
4
4
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
@@ -6,9 +6,9 @@ import Button from "./Button.js";
|
|
|
6
6
|
import Swipe from "./Swipe.js";
|
|
7
7
|
import "../locale/lang";
|
|
8
8
|
import "./index-7a7385e4.js";
|
|
9
|
-
const { create: create$
|
|
10
|
-
const { translate: translate$1 } = createComponent("
|
|
11
|
-
const _sfc_main$
|
|
9
|
+
const { create: create$2 } = createComponent("address-list-item");
|
|
10
|
+
const { translate: translate$1 } = createComponent("address-list");
|
|
11
|
+
const _sfc_main$2 = create$2({
|
|
12
12
|
components: { Del, Edit },
|
|
13
13
|
props: {
|
|
14
14
|
item: {
|
|
@@ -16,7 +16,7 @@ const _sfc_main$3 = create$3({
|
|
|
16
16
|
default: {}
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
emits: ["delIcon", "editIcon", "
|
|
19
|
+
emits: ["delIcon", "editIcon", "clickItem"],
|
|
20
20
|
setup(props, { emit }) {
|
|
21
21
|
const delClick = (event) => {
|
|
22
22
|
emit("delIcon", event, props.item);
|
|
@@ -27,7 +27,7 @@ const _sfc_main$3 = create$3({
|
|
|
27
27
|
event.stopPropagation();
|
|
28
28
|
};
|
|
29
29
|
const contentsClick = (event) => {
|
|
30
|
-
emit("
|
|
30
|
+
emit("clickItem", event, props.item);
|
|
31
31
|
event.stopPropagation();
|
|
32
32
|
};
|
|
33
33
|
return {
|
|
@@ -38,33 +38,33 @@ const _sfc_main$3 = create$3({
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
const _hoisted_1$
|
|
41
|
+
const _hoisted_1$1 = { class: "nut-address-list-item__info" };
|
|
42
42
|
const _hoisted_2$1 = { class: "nut-address-list-item__info-contact" };
|
|
43
|
-
const _hoisted_3
|
|
44
|
-
const _hoisted_4
|
|
45
|
-
const _hoisted_5
|
|
43
|
+
const _hoisted_3 = { class: "nut-address-list-item__info-contact-name" };
|
|
44
|
+
const _hoisted_4 = { class: "nut-address-list-item__info-contact-tel" };
|
|
45
|
+
const _hoisted_5 = {
|
|
46
46
|
key: 0,
|
|
47
47
|
class: "nut-address-list-item__info-contact-default"
|
|
48
48
|
};
|
|
49
|
-
const _hoisted_6
|
|
50
|
-
const _hoisted_7
|
|
51
|
-
function _sfc_render$
|
|
49
|
+
const _hoisted_6 = { class: "nut-address-list-item__info-handle" };
|
|
50
|
+
const _hoisted_7 = { class: "nut-address-list-item__addr" };
|
|
51
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
52
52
|
const _component_Del = resolveComponent("Del");
|
|
53
53
|
const _component_Edit = resolveComponent("Edit");
|
|
54
54
|
return openBlock(), createElementBlock("div", {
|
|
55
55
|
class: "nut-address-list-item",
|
|
56
56
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.contentsClick && _ctx.contentsClick(...args))
|
|
57
57
|
}, [
|
|
58
|
-
createElementVNode("div", _hoisted_1$
|
|
58
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
59
59
|
createElementVNode("div", _hoisted_2$1, [
|
|
60
|
-
renderSlot(_ctx.$slots, "
|
|
61
|
-
createElementVNode("div", _hoisted_3
|
|
62
|
-
createElementVNode("div", _hoisted_4
|
|
63
|
-
_ctx.item.defaultAddress ? (openBlock(), createElementBlock("div", _hoisted_5
|
|
60
|
+
renderSlot(_ctx.$slots, "content-top", {}, () => [
|
|
61
|
+
createElementVNode("div", _hoisted_3, toDisplayString(_ctx.item.addressName), 1),
|
|
62
|
+
createElementVNode("div", _hoisted_4, toDisplayString(_ctx.item.phone), 1),
|
|
63
|
+
_ctx.item.defaultAddress ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(_ctx.translate("default")), 1)) : createCommentVNode("", true)
|
|
64
64
|
])
|
|
65
65
|
]),
|
|
66
|
-
createElementVNode("div", _hoisted_6
|
|
67
|
-
renderSlot(_ctx.$slots, "
|
|
66
|
+
createElementVNode("div", _hoisted_6, [
|
|
67
|
+
renderSlot(_ctx.$slots, "content-icon", {}, () => [
|
|
68
68
|
createVNode(_component_Del, {
|
|
69
69
|
name: "del",
|
|
70
70
|
class: "nut-address-list-item__info-handle-del",
|
|
@@ -78,111 +78,15 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78
78
|
])
|
|
79
79
|
])
|
|
80
80
|
]),
|
|
81
|
-
createElementVNode("div", _hoisted_7
|
|
82
|
-
renderSlot(_ctx.$slots, "
|
|
81
|
+
createElementVNode("div", _hoisted_7, [
|
|
82
|
+
renderSlot(_ctx.$slots, "content-addr", {}, () => [
|
|
83
83
|
createTextVNode(toDisplayString(_ctx.item.fullAddress), 1)
|
|
84
84
|
])
|
|
85
85
|
])
|
|
86
86
|
]);
|
|
87
87
|
}
|
|
88
|
-
const ItemContents = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89
|
-
const { create: create$
|
|
90
|
-
const _sfc_main$2 = create$2({
|
|
91
|
-
props: {
|
|
92
|
-
item: {
|
|
93
|
-
type: Object,
|
|
94
|
-
default: {}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
emits: ["delIcon", "editIcon", "itemClick", "swipeDel"],
|
|
98
|
-
components: {
|
|
99
|
-
ItemContents
|
|
100
|
-
},
|
|
101
|
-
setup(props, { emit }) {
|
|
102
|
-
const moveRef = ref(false);
|
|
103
|
-
const delClick = (event) => {
|
|
104
|
-
emit("delIcon", event, props.item);
|
|
105
|
-
event.stopPropagation();
|
|
106
|
-
};
|
|
107
|
-
const editClick = (event) => {
|
|
108
|
-
emit("editIcon", event, props.item);
|
|
109
|
-
event.stopPropagation();
|
|
110
|
-
};
|
|
111
|
-
const itemClick = (event) => {
|
|
112
|
-
if (moveRef.value)
|
|
113
|
-
return;
|
|
114
|
-
emit("itemClick", event, props.item);
|
|
115
|
-
event.stopPropagation();
|
|
116
|
-
};
|
|
117
|
-
const swipeDelClick = (event) => {
|
|
118
|
-
emit("swipeDel", event, props.item);
|
|
119
|
-
event.stopPropagation();
|
|
120
|
-
};
|
|
121
|
-
const swipestart = () => {
|
|
122
|
-
moveRef.value = false;
|
|
123
|
-
};
|
|
124
|
-
const swipemove = () => {
|
|
125
|
-
moveRef.value = true;
|
|
126
|
-
};
|
|
127
|
-
return {
|
|
128
|
-
delClick,
|
|
129
|
-
editClick,
|
|
130
|
-
itemClick,
|
|
131
|
-
swipeDelClick,
|
|
132
|
-
swipestart,
|
|
133
|
-
swipemove
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
const _hoisted_1$1 = { class: "nut-address-list-swipe" };
|
|
138
|
-
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
139
|
-
const _component_item_contents = resolveComponent("item-contents");
|
|
140
|
-
const _component_nut_button = resolveComponent("nut-button");
|
|
141
|
-
const _component_nut_swipe = resolveComponent("nut-swipe");
|
|
142
|
-
return openBlock(), createBlock(_component_nut_swipe, null, {
|
|
143
|
-
right: withCtx(() => [
|
|
144
|
-
renderSlot(_ctx.$slots, "swiperightbtn", {}, () => [
|
|
145
|
-
createVNode(_component_nut_button, {
|
|
146
|
-
shape: "square",
|
|
147
|
-
style: { "height": "100%" },
|
|
148
|
-
type: "danger",
|
|
149
|
-
onClick: _ctx.swipeDelClick
|
|
150
|
-
}, {
|
|
151
|
-
default: withCtx(() => [
|
|
152
|
-
createTextVNode("删除")
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
}, 8, ["onClick"])
|
|
156
|
-
])
|
|
157
|
-
]),
|
|
158
|
-
default: withCtx(() => [
|
|
159
|
-
createElementVNode("div", _hoisted_1$1, [
|
|
160
|
-
createVNode(_component_item_contents, {
|
|
161
|
-
item: _ctx.item,
|
|
162
|
-
onDelIcon: _ctx.delClick,
|
|
163
|
-
onEditIcon: _ctx.editClick,
|
|
164
|
-
onItemClick: _ctx.itemClick,
|
|
165
|
-
onTouchmove: _ctx.swipemove,
|
|
166
|
-
onTouchstart: _ctx.swipestart
|
|
167
|
-
}, {
|
|
168
|
-
contentTop: withCtx(() => [
|
|
169
|
-
renderSlot(_ctx.$slots, "contentInfo")
|
|
170
|
-
]),
|
|
171
|
-
contentIcon: withCtx(() => [
|
|
172
|
-
renderSlot(_ctx.$slots, "contentIcons")
|
|
173
|
-
]),
|
|
174
|
-
contentAddr: withCtx(() => [
|
|
175
|
-
renderSlot(_ctx.$slots, "contentAddrs")
|
|
176
|
-
]),
|
|
177
|
-
_: 3
|
|
178
|
-
}, 8, ["item", "onDelIcon", "onEditIcon", "onItemClick", "onTouchmove", "onTouchstart"])
|
|
179
|
-
])
|
|
180
|
-
]),
|
|
181
|
-
_: 3
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
const SwipeShell = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
|
|
185
|
-
const { create: create$1 } = createComponent("addresslist-general");
|
|
88
|
+
const ItemContents = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
|
|
89
|
+
const { create: create$1 } = createComponent("address-list-general");
|
|
186
90
|
const _sfc_main$1 = create$1({
|
|
187
91
|
props: {
|
|
188
92
|
item: {
|
|
@@ -192,25 +96,52 @@ const _sfc_main$1 = create$1({
|
|
|
192
96
|
longPress: {
|
|
193
97
|
type: Boolean,
|
|
194
98
|
default: false
|
|
99
|
+
},
|
|
100
|
+
swipeEdition: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
default: false
|
|
195
103
|
}
|
|
196
104
|
},
|
|
197
|
-
emits: ["delIcon", "editIcon", "
|
|
105
|
+
emits: ["delIcon", "editIcon", "clickItem", "longDown", "longCopy", "longSet", "longDel", "swipeDel"],
|
|
198
106
|
components: {
|
|
199
|
-
ItemContents
|
|
107
|
+
ItemContents,
|
|
108
|
+
[Button.name]: Button,
|
|
109
|
+
[Swipe.name]: Swipe
|
|
200
110
|
},
|
|
201
111
|
setup(props, { emit }) {
|
|
112
|
+
const renderCompontent = () => {
|
|
113
|
+
return h(ItemContents, {
|
|
114
|
+
item: props.item,
|
|
115
|
+
onDelIcon(event) {
|
|
116
|
+
delClick(event);
|
|
117
|
+
},
|
|
118
|
+
onEditIcon(event) {
|
|
119
|
+
editClick(event);
|
|
120
|
+
},
|
|
121
|
+
onClickItem(event) {
|
|
122
|
+
clickItem(event);
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
};
|
|
202
126
|
let loop = null;
|
|
127
|
+
const moveRef = ref(false);
|
|
203
128
|
const showMaskRef = ref(false);
|
|
204
|
-
const
|
|
129
|
+
const delClick = (event) => {
|
|
205
130
|
emit("delIcon", event, props.item);
|
|
206
131
|
event.stopPropagation();
|
|
207
132
|
};
|
|
208
|
-
const
|
|
133
|
+
const editClick = (event) => {
|
|
209
134
|
emit("editIcon", event, props.item);
|
|
210
135
|
event.stopPropagation();
|
|
211
136
|
};
|
|
212
|
-
const
|
|
213
|
-
|
|
137
|
+
const clickItem = (event) => {
|
|
138
|
+
if (moveRef.value)
|
|
139
|
+
return;
|
|
140
|
+
emit("clickItem", event, props.item);
|
|
141
|
+
event.stopPropagation();
|
|
142
|
+
};
|
|
143
|
+
const delLongClick = (event) => {
|
|
144
|
+
emit("longDel", event, props.item);
|
|
214
145
|
event.stopPropagation();
|
|
215
146
|
};
|
|
216
147
|
const holdingFunc = (event) => {
|
|
@@ -240,10 +171,6 @@ const _sfc_main$1 = create$1({
|
|
|
240
171
|
emit("longSet", event, props.item);
|
|
241
172
|
event.stopPropagation();
|
|
242
173
|
};
|
|
243
|
-
const delClick = (event) => {
|
|
244
|
-
emit("longDel", event, props.item);
|
|
245
|
-
event.stopPropagation();
|
|
246
|
-
};
|
|
247
174
|
const maskClick = (event) => {
|
|
248
175
|
if (loop != 0) {
|
|
249
176
|
showMaskRef.value = false;
|
|
@@ -251,88 +178,79 @@ const _sfc_main$1 = create$1({
|
|
|
251
178
|
event.stopPropagation();
|
|
252
179
|
event.preventDefault();
|
|
253
180
|
};
|
|
181
|
+
const swipeDelClick = (event) => {
|
|
182
|
+
emit("swipeDel", event, props.item);
|
|
183
|
+
event.stopPropagation();
|
|
184
|
+
};
|
|
185
|
+
const swipestart = () => {
|
|
186
|
+
moveRef.value = false;
|
|
187
|
+
};
|
|
188
|
+
const swipemove = () => {
|
|
189
|
+
moveRef.value = true;
|
|
190
|
+
};
|
|
254
191
|
return {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
192
|
+
renderCompontent,
|
|
193
|
+
showMaskRef,
|
|
194
|
+
clickItem,
|
|
195
|
+
editClick,
|
|
196
|
+
delClick,
|
|
197
|
+
delLongClick,
|
|
258
198
|
holddownstart,
|
|
259
199
|
holddownmove,
|
|
260
200
|
holddownend,
|
|
261
|
-
showMaskRef,
|
|
262
|
-
delClick,
|
|
263
201
|
copyCLick,
|
|
264
202
|
hideMaskClick,
|
|
265
203
|
setDefault,
|
|
266
|
-
maskClick
|
|
204
|
+
maskClick,
|
|
205
|
+
swipeDelClick,
|
|
206
|
+
swipestart,
|
|
207
|
+
swipemove
|
|
267
208
|
};
|
|
268
209
|
}
|
|
269
210
|
});
|
|
270
|
-
const _hoisted_1 = {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
], -1);
|
|
276
|
-
const _hoisted_3 = [
|
|
277
|
-
_hoisted_2
|
|
278
|
-
];
|
|
279
|
-
const _hoisted_4 = /* @__PURE__ */ createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
|
|
280
|
-
/* @__PURE__ */ createTextVNode(" 设置"),
|
|
281
|
-
/* @__PURE__ */ createElementVNode("br"),
|
|
282
|
-
/* @__PURE__ */ createTextVNode("默认 ")
|
|
283
|
-
], -1);
|
|
284
|
-
const _hoisted_5 = [
|
|
285
|
-
_hoisted_4
|
|
286
|
-
];
|
|
287
|
-
const _hoisted_6 = /* @__PURE__ */ createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
|
|
288
|
-
/* @__PURE__ */ createTextVNode(" 删除"),
|
|
289
|
-
/* @__PURE__ */ createElementVNode("br"),
|
|
290
|
-
/* @__PURE__ */ createTextVNode("地址 ")
|
|
291
|
-
], -1);
|
|
292
|
-
const _hoisted_7 = [
|
|
293
|
-
_hoisted_6
|
|
294
|
-
];
|
|
211
|
+
const _hoisted_1 = {
|
|
212
|
+
key: 0,
|
|
213
|
+
class: "nut-address-list-general"
|
|
214
|
+
};
|
|
215
|
+
const _hoisted_2 = { class: "nut-address-list-swipe" };
|
|
295
216
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
296
|
-
const
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
onDelIcon: _ctx.delShellClick,
|
|
301
|
-
onEditIcon: _ctx.editShellClick,
|
|
302
|
-
onItemClick: _ctx.itemShellClick,
|
|
217
|
+
const _component_nut_button = resolveComponent("nut-button");
|
|
218
|
+
const _component_nut_swipe = resolveComponent("nut-swipe");
|
|
219
|
+
return !_ctx.swipeEdition ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
220
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.renderCompontent()), {
|
|
303
221
|
onTouchstart: _ctx.holddownstart,
|
|
304
222
|
onTouchend: _ctx.holddownend,
|
|
305
223
|
onTouchmove: _ctx.holddownmove
|
|
306
224
|
}, {
|
|
307
|
-
|
|
308
|
-
renderSlot(_ctx.$slots, "
|
|
225
|
+
"content-top": withCtx(() => [
|
|
226
|
+
renderSlot(_ctx.$slots, "content-info")
|
|
309
227
|
]),
|
|
310
|
-
|
|
311
|
-
renderSlot(_ctx.$slots, "
|
|
228
|
+
"content-icon": withCtx(() => [
|
|
229
|
+
renderSlot(_ctx.$slots, "content-icons")
|
|
312
230
|
]),
|
|
313
|
-
|
|
314
|
-
renderSlot(_ctx.$slots, "
|
|
231
|
+
"content-addr": withCtx(() => [
|
|
232
|
+
renderSlot(_ctx.$slots, "content-addrs")
|
|
315
233
|
]),
|
|
316
234
|
_: 3
|
|
317
|
-
},
|
|
235
|
+
}, 40, ["onTouchstart", "onTouchend", "onTouchmove"])),
|
|
318
236
|
_ctx.longPress && _ctx.showMaskRef ? (openBlock(), createElementBlock("div", {
|
|
319
237
|
key: 0,
|
|
320
238
|
class: "nut-address-list-general__mask",
|
|
321
239
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.maskClick && _ctx.maskClick(...args))
|
|
322
240
|
}, [
|
|
323
|
-
renderSlot(_ctx.$slots, "
|
|
241
|
+
renderSlot(_ctx.$slots, "longpress-all", {}, () => [
|
|
324
242
|
createElementVNode("div", {
|
|
325
243
|
class: "nut-address-list-general__mask-copy",
|
|
326
244
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.copyCLick && _ctx.copyCLick(...args))
|
|
327
|
-
},
|
|
245
|
+
}, " 复制地址 "),
|
|
328
246
|
createElementVNode("div", {
|
|
329
247
|
class: "nut-address-list-general__mask-set",
|
|
330
248
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.setDefault && _ctx.setDefault(...args))
|
|
331
|
-
},
|
|
249
|
+
}, " 设置默认 "),
|
|
332
250
|
createElementVNode("div", {
|
|
333
251
|
class: "nut-address-list-general__mask-del",
|
|
334
|
-
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.
|
|
335
|
-
},
|
|
252
|
+
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.delLongClick && _ctx.delLongClick(...args))
|
|
253
|
+
}, " 删除地址 ")
|
|
336
254
|
])
|
|
337
255
|
])) : createCommentVNode("", true),
|
|
338
256
|
_ctx.showMaskRef ? (openBlock(), createElementBlock("div", {
|
|
@@ -340,7 +258,43 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
340
258
|
class: "nut-address-list__mask-bottom",
|
|
341
259
|
onClick: _cache[4] || (_cache[4] = (...args) => _ctx.hideMaskClick && _ctx.hideMaskClick(...args))
|
|
342
260
|
})) : createCommentVNode("", true)
|
|
343
|
-
])
|
|
261
|
+
])) : (openBlock(), createBlock(_component_nut_swipe, { key: 1 }, {
|
|
262
|
+
right: withCtx(() => [
|
|
263
|
+
renderSlot(_ctx.$slots, "swipe-right-btn", {}, () => [
|
|
264
|
+
createVNode(_component_nut_button, {
|
|
265
|
+
shape: "square",
|
|
266
|
+
style: { "height": "100%" },
|
|
267
|
+
type: "danger",
|
|
268
|
+
onClick: _ctx.swipeDelClick
|
|
269
|
+
}, {
|
|
270
|
+
default: withCtx(() => [
|
|
271
|
+
createTextVNode("删除")
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
}, 8, ["onClick"])
|
|
275
|
+
])
|
|
276
|
+
]),
|
|
277
|
+
default: withCtx(() => [
|
|
278
|
+
createElementVNode("div", _hoisted_2, [
|
|
279
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.renderCompontent()), {
|
|
280
|
+
onTouchmove: _ctx.swipemove,
|
|
281
|
+
onTouchstart: _ctx.swipestart
|
|
282
|
+
}, {
|
|
283
|
+
"content-top": withCtx(() => [
|
|
284
|
+
renderSlot(_ctx.$slots, "content-info")
|
|
285
|
+
]),
|
|
286
|
+
"content-icon": withCtx(() => [
|
|
287
|
+
renderSlot(_ctx.$slots, "content-icons")
|
|
288
|
+
]),
|
|
289
|
+
"content-addr": withCtx(() => [
|
|
290
|
+
renderSlot(_ctx.$slots, "content-addrs")
|
|
291
|
+
]),
|
|
292
|
+
_: 3
|
|
293
|
+
}, 40, ["onTouchmove", "onTouchstart"]))
|
|
294
|
+
])
|
|
295
|
+
]),
|
|
296
|
+
_: 3
|
|
297
|
+
}));
|
|
344
298
|
}
|
|
345
299
|
const GeneralShell = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
346
300
|
const { componentName, create, translate } = createComponent("address-list");
|
|
@@ -362,18 +316,16 @@ const _sfc_main = create({
|
|
|
362
316
|
type: Boolean,
|
|
363
317
|
default: true
|
|
364
318
|
},
|
|
365
|
-
|
|
319
|
+
dataOptions: {
|
|
366
320
|
type: Object,
|
|
367
321
|
default: {}
|
|
368
322
|
}
|
|
369
323
|
},
|
|
370
324
|
components: {
|
|
371
|
-
SwipeShell,
|
|
372
325
|
GeneralShell,
|
|
373
|
-
[Button.name]: Button
|
|
374
|
-
[Swipe.name]: Swipe
|
|
326
|
+
[Button.name]: Button
|
|
375
327
|
},
|
|
376
|
-
emits: ["delIcon", "editIcon", "
|
|
328
|
+
emits: ["delIcon", "editIcon", "clickItem", "longCopy", "longSet", "longDel", "swipeDel", "add"],
|
|
377
329
|
setup(props, { emit }) {
|
|
378
330
|
const dataArray = ref([]);
|
|
379
331
|
const dataInfo = reactive({
|
|
@@ -390,9 +342,9 @@ const _sfc_main = create({
|
|
|
390
342
|
};
|
|
391
343
|
});
|
|
392
344
|
const trowelData = () => {
|
|
393
|
-
if (Object.keys(props.
|
|
345
|
+
if (Object.keys(props.dataOptions).length > 0) {
|
|
394
346
|
dataArray.value = props.data.map((item) => {
|
|
395
|
-
return floatData(dataInfo, item, props.
|
|
347
|
+
return floatData(dataInfo, item, props.dataOptions);
|
|
396
348
|
});
|
|
397
349
|
}
|
|
398
350
|
};
|
|
@@ -410,7 +362,7 @@ const _sfc_main = create({
|
|
|
410
362
|
event.stopPropagation();
|
|
411
363
|
};
|
|
412
364
|
const clickContentItem = (event, item) => {
|
|
413
|
-
emit("
|
|
365
|
+
emit("clickItem", event, item);
|
|
414
366
|
event.stopPropagation();
|
|
415
367
|
};
|
|
416
368
|
const clickLongCopy = (event, item) => {
|
|
@@ -453,80 +405,53 @@ const _sfc_main = create({
|
|
|
453
405
|
});
|
|
454
406
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
455
407
|
const _component_general_shell = resolveComponent("general-shell");
|
|
456
|
-
const _component_swipe_shell = resolveComponent("swipe-shell");
|
|
457
408
|
const _component_nut_button = resolveComponent("nut-button");
|
|
458
409
|
return openBlock(), createElementBlock("div", {
|
|
459
410
|
class: normalizeClass(_ctx.classes)
|
|
460
411
|
}, [
|
|
461
|
-
|
|
412
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dataArray, (item, index2) => {
|
|
462
413
|
return openBlock(), createBlock(_component_general_shell, {
|
|
463
414
|
key: index2,
|
|
464
415
|
item,
|
|
465
416
|
longPress: _ctx.longPress,
|
|
417
|
+
swipeEdition: _ctx.swipeEdition,
|
|
466
418
|
onDelIcon: _ctx.clickDelIcon,
|
|
467
419
|
onEditIcon: _ctx.clickEditIcon,
|
|
468
|
-
|
|
420
|
+
onClickItem: _ctx.clickContentItem,
|
|
469
421
|
onSwipeDel: _ctx.clickSwipeDel,
|
|
470
422
|
onLongCopy: _ctx.clickLongCopy,
|
|
471
423
|
onLongSet: _ctx.clickLongSet,
|
|
472
424
|
onLongDel: _ctx.clickLongDel
|
|
473
|
-
}, createSlots({
|
|
425
|
+
}, createSlots({
|
|
426
|
+
"content-info": withCtx(() => [
|
|
427
|
+
renderSlot(_ctx.$slots, "item-infos")
|
|
428
|
+
]),
|
|
429
|
+
"content-icons": withCtx(() => [
|
|
430
|
+
renderSlot(_ctx.$slots, "itemicon")
|
|
431
|
+
]),
|
|
432
|
+
"content-addrs": withCtx(() => [
|
|
433
|
+
renderSlot(_ctx.$slots, "itemaddr")
|
|
434
|
+
]),
|
|
435
|
+
_: 2
|
|
436
|
+
}, [
|
|
474
437
|
_ctx.longPress ? {
|
|
475
|
-
name: "
|
|
438
|
+
name: "longpress-all",
|
|
476
439
|
fn: withCtx(() => [
|
|
477
|
-
renderSlot(_ctx.$slots, "
|
|
440
|
+
renderSlot(_ctx.$slots, "longpress-btns")
|
|
478
441
|
]),
|
|
479
442
|
key: "0"
|
|
480
443
|
} : void 0,
|
|
481
|
-
_ctx.
|
|
482
|
-
name: "
|
|
444
|
+
_ctx.swipeEdition ? {
|
|
445
|
+
name: "swipe-right-btn",
|
|
483
446
|
fn: withCtx(() => [
|
|
484
|
-
renderSlot(_ctx.$slots, "
|
|
447
|
+
renderSlot(_ctx.$slots, "swipe-right")
|
|
485
448
|
]),
|
|
486
449
|
key: "1"
|
|
487
|
-
} : void 0,
|
|
488
|
-
_ctx.longPress ? {
|
|
489
|
-
name: "contentAddrs",
|
|
490
|
-
fn: withCtx(() => [
|
|
491
|
-
renderSlot(_ctx.$slots, "itemaddr")
|
|
492
|
-
]),
|
|
493
|
-
key: "2"
|
|
494
|
-
} : void 0,
|
|
495
|
-
_ctx.longPress ? {
|
|
496
|
-
name: "longpressAll",
|
|
497
|
-
fn: withCtx(() => [
|
|
498
|
-
renderSlot(_ctx.$slots, "longpressbtns")
|
|
499
|
-
]),
|
|
500
|
-
key: "3"
|
|
501
450
|
} : void 0
|
|
502
|
-
]), 1032, ["item", "longPress", "onDelIcon", "onEditIcon", "
|
|
503
|
-
}), 128))
|
|
504
|
-
_ctx.swipeEdition ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.dataArray, (item, index2) => {
|
|
505
|
-
return openBlock(), createBlock(_component_swipe_shell, {
|
|
506
|
-
key: index2,
|
|
507
|
-
item,
|
|
508
|
-
onDelIcon: _ctx.clickDelIcon,
|
|
509
|
-
onEditIcon: _ctx.clickEditIcon,
|
|
510
|
-
onItemClick: _ctx.clickContentItem,
|
|
511
|
-
onSwipeDel: _ctx.clickSwipeDel
|
|
512
|
-
}, {
|
|
513
|
-
contentInfo: withCtx(() => [
|
|
514
|
-
renderSlot(_ctx.$slots, "iteminfos")
|
|
515
|
-
]),
|
|
516
|
-
contentIcons: withCtx(() => [
|
|
517
|
-
renderSlot(_ctx.$slots, "itemicon")
|
|
518
|
-
]),
|
|
519
|
-
contentAddrs: withCtx(() => [
|
|
520
|
-
renderSlot(_ctx.$slots, "itemaddr")
|
|
521
|
-
]),
|
|
522
|
-
swiperightbtn: withCtx(() => [
|
|
523
|
-
renderSlot(_ctx.$slots, "swiperight")
|
|
524
|
-
]),
|
|
525
|
-
_: 2
|
|
526
|
-
}, 1032, ["item", "onDelIcon", "onEditIcon", "onItemClick", "onSwipeDel"]);
|
|
527
|
-
}), 128)) : createCommentVNode("", true),
|
|
451
|
+
]), 1032, ["item", "longPress", "swipeEdition", "onDelIcon", "onEditIcon", "onClickItem", "onSwipeDel", "onLongCopy", "onLongSet", "onLongDel"]);
|
|
452
|
+
}), 128)),
|
|
528
453
|
_ctx.showBottomButton ? (openBlock(), createElementBlock("div", {
|
|
529
|
-
key:
|
|
454
|
+
key: 0,
|
|
530
455
|
class: "nut-address-list__bottom",
|
|
531
456
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.addAddress && _ctx.addAddress(...args))
|
|
532
457
|
}, [
|