uview-plus 3.1.21 → 3.1.23

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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## 3.1.23(2023-01-15)
2
+ 修复 build:h5 cell 和 notice-bar 点击失效的问题
3
+ 修复小程序端报 alert 和 upload 重复定义的bug
4
+ 感谢@dodu2014
5
+ ## 3.1.22(2023-01-14)
6
+ 增加transpileDependencies检测
1
7
  ## 3.1.21(2023-01-14)
2
8
  修复路由配置合并问题
3
9
  ## 3.1.20(2022-12-16)
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // 看到此报错,是因为没有配置vue.config.js的【transpileDependencies】,详见:https://www.uviewui.com/components/npmSetting.html#_5-cli模式额外配置
2
- //const pleaseSetTranspileDependencies = {}, babelTest = pleaseSetTranspileDependencies?.test
2
+ const pleaseSetTranspileDependencies = {}, babelTest = pleaseSetTranspileDependencies?.test
3
3
 
4
4
  // 引入全局mixin
5
5
  import mixin from './libs/mixin/mixin.js'
@@ -1,190 +1,190 @@
1
- /**
2
- * 此文件的作用为统一配置所有组件的props参数
3
- * 借此用户可以全局覆盖组件的props默认值
4
- * 无需在每个引入组件的页面中都配置一次
5
- */
6
- import config from './config'
7
-
8
- import actionSheet from './props/actionSheet.js'
9
- import album from './props/album.js'
10
- import alert from './props/alert.js'
11
- import avatar from './props/avatar'
12
- import avatarGroup from './props/avatarGroup'
13
- import backtop from './props/backtop'
14
- import badge from './props/badge'
15
- import button from './props/button'
16
- import calendar from './props/calendar'
17
- import carKeyboard from './props/carKeyboard'
18
- import cell from './props/cell'
19
- import cellGroup from './props/cellGroup'
20
- import checkbox from './props/checkbox'
21
- import checkboxGroup from './props/checkboxGroup'
22
- import circleProgress from './props/circleProgress'
23
- import code from './props/code'
24
- import codeInput from './props/codeInput'
25
- import col from './props/col'
26
- import collapse from './props/collapse'
27
- import collapseItem from './props/collapseItem'
28
- import columnNotice from './props/columnNotice'
29
- import countDown from './props/countDown'
30
- import countTo from './props/countTo'
31
- import datetimePicker from './props/datetimePicker'
32
- import divider from './props/divider'
33
- import empty from './props/empty'
34
- import form from './props/form'
35
- import formItem from './props/formItem'
36
- import gap from './props/gap'
37
- import grid from './props/grid'
38
- import gridItem from './props/gridItem'
39
- import icon from './props/icon'
40
- import image from './props/image'
41
- import indexAnchor from './props/indexAnchor'
42
- import indexList from './props/indexList'
43
- import input from './props/input'
44
- import keyboard from './props/keyboard'
45
- import line from './props/line'
46
- import lineProgress from './props/lineProgress'
47
- import link from './props/link'
48
- import list from './props/list'
49
- import listItem from './props/listItem'
50
- import loadingIcon from './props/loadingIcon'
51
- import loadingPage from './props/loadingPage'
52
- import loadmore from './props/loadmore'
53
- import modal from './props/modal'
54
- import navbar from './props/navbar'
55
- import noNetwork from './props/noNetwork'
56
- import noticeBar from './props/noticeBar'
57
- import notify from './props/notify'
58
- import numberBox from './props/numberBox'
59
- import numberKeyboard from './props/numberKeyboard'
60
- import overlay from './props/overlay'
61
- import parse from './props/parse'
62
- import picker from './props/picker'
63
- import popup from './props/popup'
64
- import radio from './props/radio'
65
- import radioGroup from './props/radioGroup'
66
- import rate from './props/rate'
67
- import readMore from './props/readMore'
68
- import row from './props/row'
69
- import rowNotice from './props/rowNotice'
70
- import scrollList from './props/scrollList'
71
- import search from './props/search'
72
- import section from './props/section'
73
- import skeleton from './props/skeleton'
74
- import slider from './props/slider'
75
- import statusBar from './props/statusBar'
76
- import steps from './props/steps'
77
- import stepsItem from './props/stepsItem'
78
- import sticky from './props/sticky'
79
- import subsection from './props/subsection'
80
- import swipeAction from './props/swipeAction'
81
- import swipeActionItem from './props/swipeActionItem'
82
- import swiper from './props/swiper'
83
- import swipterIndicator from './props/swipterIndicator'
84
- import _switch from './props/switch'
85
- import tabbar from './props/tabbar'
86
- import tabbarItem from './props/tabbarItem'
87
- import tabs from './props/tabs'
88
- import tag from './props/tag'
89
- import text from './props/text'
90
- import textarea from './props/textarea'
91
- import toast from './props/toast'
92
- import toolbar from './props/toolbar'
93
- import tooltip from './props/tooltip'
94
- import transition from './props/transition'
95
- import upload from './props/upload'
96
-
97
- const {
98
- color
99
- } = config
100
-
101
- export default {
102
- ...actionSheet,
103
- ...album,
104
- ...alert,
105
- ...avatar,
106
- ...avatarGroup,
107
- ...backtop,
108
- ...badge,
109
- ...button,
110
- ...calendar,
111
- ...carKeyboard,
112
- ...cell,
113
- ...cellGroup,
114
- ...checkbox,
115
- ...checkboxGroup,
116
- ...circleProgress,
117
- ...code,
118
- ...codeInput,
119
- ...col,
120
- ...collapse,
121
- ...collapseItem,
122
- ...columnNotice,
123
- ...countDown,
124
- ...countTo,
125
- ...datetimePicker,
126
- ...divider,
127
- ...empty,
128
- ...form,
129
- ...formItem,
130
- ...gap,
131
- ...grid,
132
- ...gridItem,
133
- ...icon,
134
- ...image,
135
- ...indexAnchor,
136
- ...indexList,
137
- ...input,
138
- ...keyboard,
139
- ...line,
140
- ...lineProgress,
141
- ...link,
142
- ...list,
143
- ...listItem,
144
- ...loadingIcon,
145
- ...loadingPage,
146
- ...loadmore,
147
- ...modal,
148
- ...navbar,
149
- ...noNetwork,
150
- ...noticeBar,
151
- ...notify,
152
- ...numberBox,
153
- ...numberKeyboard,
154
- ...overlay,
155
- ...parse,
156
- ...picker,
157
- ...popup,
158
- ...radio,
159
- ...radioGroup,
160
- ...rate,
161
- ...readMore,
162
- ...row,
163
- ...rowNotice,
164
- ...scrollList,
165
- ...search,
166
- ...section,
167
- ...skeleton,
168
- ...slider,
169
- ...statusBar,
170
- ...steps,
171
- ...stepsItem,
172
- ...sticky,
173
- ...subsection,
174
- ...swipeAction,
175
- ...swipeActionItem,
176
- ...swiper,
177
- ...swipterIndicator,
178
- ..._switch,
179
- ...tabbar,
180
- ...tabbarItem,
181
- ...tabs,
182
- ...tag,
183
- ...text,
184
- ...textarea,
185
- ...toast,
186
- ...toolbar,
187
- ...tooltip,
188
- ...transition,
189
- ...upload
190
- }
1
+ /**
2
+ * 此文件的作用为统一配置所有组件的props参数
3
+ * 借此用户可以全局覆盖组件的props默认值
4
+ * 无需在每个引入组件的页面中都配置一次
5
+ */
6
+ import config from './config'
7
+
8
+ import ActionSheet from './props/actionSheet'
9
+ import Album from './props/album'
10
+ import Alert from './props/alert'
11
+ import Avatar from './props/avatar'
12
+ import AvatarGroup from './props/avatarGroup'
13
+ import Backtop from './props/backtop'
14
+ import Badge from './props/badge'
15
+ import Button from './props/button'
16
+ import Calendar from './props/calendar'
17
+ import CarKeyboard from './props/carKeyboard'
18
+ import Cell from './props/cell'
19
+ import CellGroup from './props/cellGroup'
20
+ import Checkbox from './props/checkbox'
21
+ import CheckboxGroup from './props/checkboxGroup'
22
+ import CircleProgress from './props/circleProgress'
23
+ import Code from './props/code'
24
+ import CodeInput from './props/codeInput'
25
+ import Col from './props/col'
26
+ import Collapse from './props/collapse'
27
+ import CollapseItem from './props/collapseItem'
28
+ import ColumnNotice from './props/columnNotice'
29
+ import CountDown from './props/countDown'
30
+ import CountTo from './props/countTo'
31
+ import DatetimePicker from './props/datetimePicker'
32
+ import Divider from './props/divider'
33
+ import Empty from './props/empty'
34
+ import Form from './props/form'
35
+ import GormItem from './props/formItem'
36
+ import Gap from './props/gap'
37
+ import Grid from './props/grid'
38
+ import GridItem from './props/gridItem'
39
+ import Icon from './props/icon'
40
+ import Image from './props/image'
41
+ import IndexAnchor from './props/indexAnchor'
42
+ import IndexList from './props/indexList'
43
+ import Input from './props/input'
44
+ import Keyboard from './props/keyboard'
45
+ import Line from './props/line'
46
+ import LineProgress from './props/lineProgress'
47
+ import Link from './props/link'
48
+ import List from './props/list'
49
+ import ListItem from './props/listItem'
50
+ import LoadingIcon from './props/loadingIcon'
51
+ import LoadingPage from './props/loadingPage'
52
+ import Loadmore from './props/loadmore'
53
+ import Modal from './props/modal'
54
+ import Navbar from './props/navbar'
55
+ import NoNetwork from './props/noNetwork'
56
+ import NoticeBar from './props/noticeBar'
57
+ import Notify from './props/notify'
58
+ import NumberBox from './props/numberBox'
59
+ import NumberKeyboard from './props/numberKeyboard'
60
+ import Overlay from './props/overlay'
61
+ import Parse from './props/parse'
62
+ import Picker from './props/picker'
63
+ import Popup from './props/popup'
64
+ import Radio from './props/radio'
65
+ import RadioGroup from './props/radioGroup'
66
+ import Rate from './props/rate'
67
+ import ReadMore from './props/readMore'
68
+ import Row from './props/row'
69
+ import RowNotice from './props/rowNotice'
70
+ import ScrollList from './props/scrollList'
71
+ import Search from './props/search'
72
+ import Section from './props/section'
73
+ import Skeleton from './props/skeleton'
74
+ import Slider from './props/slider'
75
+ import StatusBar from './props/statusBar'
76
+ import Steps from './props/steps'
77
+ import StepsItem from './props/stepsItem'
78
+ import Sticky from './props/sticky'
79
+ import Subsection from './props/subsection'
80
+ import SwipeAction from './props/swipeAction'
81
+ import SwipeActionItem from './props/swipeActionItem'
82
+ import Swiper from './props/swiper'
83
+ import SwipterIndicator from './props/swipterIndicator'
84
+ import Switch from './props/switch'
85
+ import Tabbar from './props/tabbar'
86
+ import TabbarItem from './props/tabbarItem'
87
+ import Tabs from './props/tabs'
88
+ import Tag from './props/tag'
89
+ import Text from './props/text'
90
+ import Textarea from './props/textarea'
91
+ import Toast from './props/toast'
92
+ import Toolbar from './props/toolbar'
93
+ import Tooltip from './props/tooltip'
94
+ import Transition from './props/transition'
95
+ import Upload from './props/upload'
96
+
97
+ const {
98
+ color
99
+ } = config
100
+
101
+ export default {
102
+ ...ActionSheet,
103
+ ...Album,
104
+ ...Alert,
105
+ ...Avatar,
106
+ ...AvatarGroup,
107
+ ...Backtop,
108
+ ...Badge,
109
+ ...Button,
110
+ ...Calendar,
111
+ ...CarKeyboard,
112
+ ...Cell,
113
+ ...CellGroup,
114
+ ...Checkbox,
115
+ ...CheckboxGroup,
116
+ ...CircleProgress,
117
+ ...Code,
118
+ ...CodeInput,
119
+ ...Col,
120
+ ...Collapse,
121
+ ...CollapseItem,
122
+ ...ColumnNotice,
123
+ ...CountDown,
124
+ ...CountTo,
125
+ ...DatetimePicker,
126
+ ...Divider,
127
+ ...Empty,
128
+ ...Form,
129
+ ...GormItem,
130
+ ...Gap,
131
+ ...Grid,
132
+ ...GridItem,
133
+ ...Icon,
134
+ ...Image,
135
+ ...IndexAnchor,
136
+ ...IndexList,
137
+ ...Input,
138
+ ...Keyboard,
139
+ ...Line,
140
+ ...LineProgress,
141
+ ...Link,
142
+ ...List,
143
+ ...ListItem,
144
+ ...LoadingIcon,
145
+ ...LoadingPage,
146
+ ...Loadmore,
147
+ ...Modal,
148
+ ...Navbar,
149
+ ...NoNetwork,
150
+ ...NoticeBar,
151
+ ...Notify,
152
+ ...NumberBox,
153
+ ...NumberKeyboard,
154
+ ...Overlay,
155
+ ...Parse,
156
+ ...Picker,
157
+ ...Popup,
158
+ ...Radio,
159
+ ...RadioGroup,
160
+ ...Rate,
161
+ ...ReadMore,
162
+ ...Row,
163
+ ...RowNotice,
164
+ ...ScrollList,
165
+ ...Search,
166
+ ...Section,
167
+ ...Skeleton,
168
+ ...Slider,
169
+ ...StatusBar,
170
+ ...Steps,
171
+ ...StepsItem,
172
+ ...Sticky,
173
+ ...Subsection,
174
+ ...SwipeAction,
175
+ ...SwipeActionItem,
176
+ ...Swiper,
177
+ ...SwipterIndicator,
178
+ ...Switch,
179
+ ...Tabbar,
180
+ ...TabbarItem,
181
+ ...Tabs,
182
+ ...Tag,
183
+ ...Text,
184
+ ...Textarea,
185
+ ...Toast,
186
+ ...Toolbar,
187
+ ...Tooltip,
188
+ ...Transition,
189
+ ...Upload
190
+ }
@@ -88,10 +88,13 @@ export default {
88
88
  openPage(urlKey = 'url') {
89
89
  const url = this[urlKey]
90
90
  if (url) {
91
+ // h5官方回应:发行h5会自动摇树优化,所有使用uni的地方,都会被直接转换成具体的API调用 https://ask.dcloud.net.cn/question/161523?notification_id-1201922__rf-false__item_id-226372
92
+ // 使用封装的 route 进行跳转(直接调用方法),不使用 uni 对象
93
+ this.$u.route({ type: this.linkType, url })
91
94
  // 执行类似uni.navigateTo的方法
92
- uni[this.linkType]({
93
- url
94
- })
95
+ // uni[this.linkType]({
96
+ // url
97
+ // })
95
98
  }
96
99
  },
97
100
  // 查询节点信息
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "uview-plus3.0重磅发布,全面的Vue3移动组件库。",
5
- "version": "3.1.21",
5
+ "version": "3.1.23",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",