uview-plus 3.1.23 → 3.1.25

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.
Files changed (79) hide show
  1. package/changelog.md +4 -0
  2. package/components/u-action-sheet/u-action-sheet.vue +1 -1
  3. package/components/u-album/u-album.vue +1 -1
  4. package/components/u-alert/u-alert.vue +1 -1
  5. package/components/u-avatar/u-avatar.vue +1 -1
  6. package/components/u-avatar-group/u-avatar-group.vue +1 -1
  7. package/components/u-button/u-button.vue +1 -1
  8. package/components/u-calendar/month.vue +1 -1
  9. package/components/u-calendar/u-calendar.vue +4 -4
  10. package/components/u-calendar/util.js +85 -85
  11. package/components/u-checkbox-group/u-checkbox-group.vue +1 -1
  12. package/components/u-circle-progress/u-circle-progress.vue +1 -1
  13. package/components/u-code/u-code.vue +1 -1
  14. package/components/u-code-input/u-code-input.vue +1 -1
  15. package/components/u-col/u-col.vue +1 -1
  16. package/components/u-collapse/u-collapse.vue +1 -1
  17. package/components/u-collapse-item/u-collapse-item.vue +6 -6
  18. package/components/u-column-notice/u-column-notice.vue +1 -1
  19. package/components/u-count-to/u-count-to.vue +1 -1
  20. package/components/u-datetime-picker/u-datetime-picker.vue +1 -1
  21. package/components/u-divider/u-divider.vue +1 -1
  22. package/components/u-dropdown/u-dropdown.vue +48 -48
  23. package/components/u-empty/u-empty.vue +1 -1
  24. package/components/u-form/u-form.vue +3 -3
  25. package/components/u-form-item/u-form-item.vue +1 -1
  26. package/components/u-gap/u-gap.vue +1 -1
  27. package/components/u-grid/u-grid.vue +1 -1
  28. package/components/u-grid-item/u-grid-item.vue +1 -1
  29. package/components/u-icon/u-icon.vue +1 -1
  30. package/components/u-keyboard/u-keyboard.vue +1 -1
  31. package/components/u-line/u-line.vue +1 -1
  32. package/components/u-line-progress/u-line-progress.vue +1 -1
  33. package/components/u-link/u-link.vue +1 -1
  34. package/components/u-list/u-list.vue +1 -1
  35. package/components/u-list-item/u-list-item.vue +1 -1
  36. package/components/u-loading-icon/u-loading-icon.vue +3 -3
  37. package/components/u-loading-page/u-loading-page.vue +1 -1
  38. package/components/u-loadmore/u-loadmore.vue +1 -1
  39. package/components/u-modal/u-modal.vue +3 -3
  40. package/components/u-navbar/u-navbar.vue +1 -1
  41. package/components/u-no-network/u-no-network.vue +1 -1
  42. package/components/u-notice-bar/u-notice-bar.vue +1 -1
  43. package/components/u-overlay/u-overlay.vue +1 -1
  44. package/components/u-parse/node/node.vue +576 -500
  45. package/components/u-parse/parser.js +1250 -992
  46. package/components/u-parse/props.js +4 -3
  47. package/components/u-parse/u-parse.vue +461 -336
  48. package/components/u-popup/u-popup.vue +3 -3
  49. package/components/u-radio/u-radio.vue +1 -1
  50. package/components/u-radio-group/u-radio-group.vue +1 -1
  51. package/components/u-rate/u-rate.vue +1 -1
  52. package/components/u-read-more/u-read-more.vue +1 -1
  53. package/components/u-row/u-row.vue +1 -1
  54. package/components/u-row-notice/u-row-notice.vue +1 -1
  55. package/components/u-safe-bottom/u-safe-bottom.vue +3 -3
  56. package/components/u-scroll-list/u-scroll-list.vue +1 -1
  57. package/components/u-search/u-search.vue +1 -1
  58. package/components/u-skeleton/u-skeleton.vue +1 -1
  59. package/components/u-sticky/u-sticky.vue +1 -1
  60. package/components/u-subsection/u-subsection.vue +1 -1
  61. package/components/u-swipe-action/u-swipe-action.vue +1 -1
  62. package/components/u-swipe-action-item/u-swipe-action-item.vue +1 -1
  63. package/components/u-swiper/u-swiper.vue +1 -1
  64. package/components/u-swiper-indicator/u-swiper-indicator.vue +1 -1
  65. package/components/u-switch/u-switch.vue +1 -1
  66. package/components/u-tabbar/u-tabbar.vue +1 -1
  67. package/components/u-tabbar-item/u-tabbar-item.vue +1 -1
  68. package/components/u-table/u-table.vue +1 -1
  69. package/components/u-tabs/u-tabs.vue +2 -2
  70. package/components/u-tabs-item/u-tabs-item.vue +1 -1
  71. package/components/u-tag/u-tag.vue +3 -3
  72. package/components/u-text/u-text.vue +1 -1
  73. package/components/u-textarea/u-textarea.vue +1 -1
  74. package/components/u-toast/u-toast.vue +1 -1
  75. package/components/u-toolbar/u-toolbar.vue +1 -1
  76. package/components/u-tooltip/u-tooltip.vue +2 -2
  77. package/libs/util/dayjs.min.js +1 -0
  78. package/package.json +1 -1
  79. package/components/u-parse/parser-es-module.js +0 -1122
@@ -45,14 +45,14 @@
45
45
  </template>
46
46
 
47
47
  <script>
48
- import props from './props.js';
49
- import mpMixin from '../../libs/mixin/mpMixin.js';
48
+ import props from './props.js';
49
+ import mpMixin from '../../libs/mixin/mpMixin.js';
50
50
  import mixin from '../../libs/mixin/mixin.js';
51
51
 
52
52
  /**
53
53
  * popup 弹窗
54
54
  * @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义
55
- * @tutorial https://www.uviewui.com/components/popup.html
55
+ * @tutorial https://ijry.github.io/uview-plus/components/popup.html
56
56
  * @property {Boolean} show 是否展示弹窗 (默认 false )
57
57
  * @property {Boolean} overlay 是否显示遮罩 (默认 true )
58
58
  * @property {String} mode 弹出方向(默认 'bottom' )
@@ -39,7 +39,7 @@
39
39
  /**
40
40
  * radio 单选框
41
41
  * @description 单选框用于有一个选择,用户只能选择其中一个的场景。搭配u-radio-group使用
42
- * @tutorial https://www.uviewui.com/components/radio.html
42
+ * @tutorial https://ijry.github.io/uview-plus/components/radio.html
43
43
  * @property {String | Number} name radio的名称
44
44
  * @property {String} shape 形状,square为方形,circle为圆型
45
45
  * @property {Boolean} disabled 是否禁用
@@ -15,7 +15,7 @@
15
15
  /**
16
16
  * radioRroup 单选框父组件
17
17
  * @description 单选框用于有一个选择,用户只能选择其中一个的场景。搭配u-radio使用
18
- * @tutorial https://www.uviewui.com/components/radio.html
18
+ * @tutorial https://ijry.github.io/uview-plus/components/radio.html
19
19
  * @property {String | Number | Boolean} value 绑定的值
20
20
  * @property {Boolean} disabled 是否禁用所有radio(默认 false )
21
21
  * @property {String} shape 外观形状,shape-方形,circle-圆形(默认 circle )
@@ -84,7 +84,7 @@
84
84
  /**
85
85
  * rate 评分
86
86
  * @description 该组件一般用于满意度调查,星型评分的场景
87
- * @tutorial https://www.uviewui.com/components/rate.html
87
+ * @tutorial https://ijry.github.io/uview-plus/components/rate.html
88
88
  * @property {String | Number} value 用于v-model双向绑定选中的星星数量 (默认 1 )
89
89
  * @property {String | Number} count 最多可选的星星数量 (默认 5 )
90
90
  * @property {Boolean} disabled 是否禁止用户操作 (默认 false )
@@ -55,7 +55,7 @@
55
55
  /**
56
56
  * readMore 阅读更多
57
57
  * @description 该组件一般用于内容较长,预先收起一部分,点击展开全部内容的场景。
58
- * @tutorial https://www.uviewui.com/components/readMore.html
58
+ * @tutorial https://ijry.github.io/uview-plus/components/readMore.html
59
59
  * @property {String | Number} showHeight 内容超出此高度才会显示展开全文按钮,单位px(默认 400 )
60
60
  * @property {Boolean} toggle 展开后是否显示收起按钮(默认 false )
61
61
  * @property {String} closeText 关闭时的提示文字(默认 '展开阅读全文' )
@@ -19,7 +19,7 @@
19
19
  /**
20
20
  * Row 栅格系统中的行
21
21
  * @description 通过基础的 12 分栏,迅速简便地创建布局
22
- * @tutorial https://www.uviewui.com/components/layout.html
22
+ * @tutorial https://ijry.github.io/uview-plus/components/layout.html
23
23
  * @property {String | Number} gutter 栅格间隔,左右各为此值的一半,单位px (默认 0 )
24
24
  * @property {String} justify 水平排列方式(微信小程序暂不支持) 可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`) (默认 'start' )
25
25
  * @property {String} align 垂直排列方式 (默认 'center' )
@@ -62,7 +62,7 @@
62
62
  /**
63
63
  * RowNotice 滚动通知中的水平滚动模式
64
64
  * @description 水平滚动
65
- * @tutorial https://www.uviewui.com/components/noticeBar.html
65
+ * @tutorial https://ijry.github.io/uview-plus/components/noticeBar.html
66
66
  * @property {String | Number} text 显示的内容,字符串
67
67
  * @property {String} icon 是否显示左侧的音量图标 (默认 'volume' )
68
68
  * @property {String} mode 通告模式,link-显示右箭头,closable-显示右侧关闭图标
@@ -8,13 +8,13 @@
8
8
  </template>
9
9
 
10
10
  <script>
11
- import props from "./props.js";
12
- import mpMixin from '../../libs/mixin/mpMixin.js';
11
+ import props from "./props.js";
12
+ import mpMixin from '../../libs/mixin/mpMixin.js';
13
13
  import mixin from '../../libs/mixin/mixin.js';
14
14
  /**
15
15
  * SafeBottom 底部安全区
16
16
  * @description 这个适配,主要是针对IPhone X等一些底部带指示条的机型,指示条的操作区域与页面底部存在重合,容易导致用户误操作,因此我们需要针对这些机型进行底部安全区适配。
17
- * @tutorial https://www.uviewui.com/components/safeAreaInset.html
17
+ * @tutorial https://ijry.github.io/uview-plus/components/safeAreaInset.html
18
18
  * @property {type} prop_name
19
19
  * @property {Object} customStyle 定义需要用到的外部样式
20
20
  *
@@ -82,7 +82,7 @@
82
82
  /**
83
83
  * scrollList 横向滚动列表
84
84
  * @description 该组件一般用于同时展示多个商品、分类的场景,也可以完成左右滑动的列表。
85
- * @tutorial https://www.uviewui.com/components/scrollList.html
85
+ * @tutorial https://ijry.github.io/uview-plus/components/scrollList.html
86
86
  * @property {String | Number} indicatorWidth 指示器的整体宽度 (默认 50 )
87
87
  * @property {String | Number} indicatorBarWidth 滑块的宽度 (默认 20 )
88
88
  * @property {Boolean} indicator 是否显示面板指示器 (默认 true )
@@ -79,7 +79,7 @@
79
79
  /**
80
80
  * search 搜索框
81
81
  * @description 搜索组件,集成了常见搜索框所需功能,用户可以一键引入,开箱即用。
82
- * @tutorial https://www.uviewui.com/components/search.html
82
+ * @tutorial https://ijry.github.io/uview-plus/components/search.html
83
83
  * @property {String} shape 搜索框形状,round-圆形,square-方形(默认 'round' )
84
84
  * @property {String} bgColor 搜索框背景颜色(默认 '#f2f2f2' )
85
85
  * @property {String} placeholder 占位文字内容(默认 '请输入关键字' )
@@ -60,7 +60,7 @@
60
60
  /**
61
61
  * Skeleton 骨架屏
62
62
  * @description 骨架屏一般用于页面在请求远程数据尚未完成时,页面用灰色块预显示本来的页面结构,给用户更好的体验。
63
- * @tutorial https://www.uviewui.com/components/skeleton.html
63
+ * @tutorial https://ijry.github.io/uview-plus/components/skeleton.html
64
64
  * @property {Boolean} loading 是否显示骨架占位图,设置为false将会展示子组件内容 (默认 true )
65
65
  * @property {Boolean} animate 是否开启动画效果 (默认 true )
66
66
  * @property {String | Number} rows 段落占位图行数 (默认 0 )
@@ -20,7 +20,7 @@
20
20
  /**
21
21
  * sticky 吸顶
22
22
  * @description 该组件与CSS中position: sticky属性实现的效果一致,当组件达到预设的到顶部距离时, 就会固定在指定位置,组件位置大于预设的顶部距离时,会重新按照正常的布局排列。
23
- * @tutorial https://www.uviewui.com/components/sticky.html
23
+ * @tutorial https://ijry.github.io/uview-plus/components/sticky.html
24
24
  * @property {String | Number} offsetTop 吸顶时与顶部的距离,单位px(默认 0 )
25
25
  * @property {String | Number} customNavHeight 自定义导航栏的高度 (h5 默认44 其他默认 0 )
26
26
  * @property {Boolean} disabled 是否开启吸顶功能 (默认 false )
@@ -58,7 +58,7 @@ import mixin from '../../libs/mixin/mixin.js';
58
58
  /**
59
59
  * Subsection 分段器
60
60
  * @description 该分段器一般用于用户从几个选项中选择某一个的场景
61
- * @tutorial https://www.uviewui.com/components/subsection.html
61
+ * @tutorial https://ijry.github.io/uview-plus/components/subsection.html
62
62
  * @property {Array} list tab的数据
63
63
  * @property {String | Number} current 当前活动的tab的index(默认 0 )
64
64
  * @property {String} activeColor 激活时的颜色(默认 '#3c9cff' )
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * SwipeAction 滑动单元格
13
13
  * @description 该组件一般用于左滑唤出操作菜单的场景,用的最多的是左滑删除操作
14
- * @tutorial https://www.uviewui.com/components/swipeAction.html
14
+ * @tutorial https://ijry.github.io/uview-plus/components/swipeAction.html
15
15
  * @property {Boolean} autoClose 是否自动关闭其他swipe按钮组
16
16
  * @event {Function(index)} click 点击组件时触发
17
17
  * @example <u-swipe-action><u-swipe-action-item :rightOptions="options1" ></u-swipe-action-item></u-swipe-action>
@@ -59,7 +59,7 @@
59
59
  /**
60
60
  * SwipeActionItem 滑动单元格子组件
61
61
  * @description 该组件一般用于左滑唤出操作菜单的场景,用的最多的是左滑删除操作
62
- * @tutorial https://www.uviewui.com/components/swipeAction.html
62
+ * @tutorial https://ijry.github.io/uview-plus/components/swipeAction.html
63
63
  * @property {Boolean} show 控制打开或者关闭(默认 false )
64
64
  * @property {String | Number} index 标识符,如果是v-for,可用index索引
65
65
  * @property {Boolean} disabled 是否禁用(默认 false )
@@ -96,7 +96,7 @@
96
96
  /**
97
97
  * Swiper 轮播图
98
98
  * @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用,
99
- * @tutorial https://www.uviewui.com/components/swiper.html
99
+ * @tutorial https://ijry.github.io/uview-plus/components/swiper.html
100
100
  * @property {Array} list 轮播图数据
101
101
  * @property {Boolean} indicator 是否显示面板指示器(默认 false )
102
102
  * @property {String} indicatorActiveColor 指示器非激活颜色(默认 '#FFFFFF' )
@@ -38,7 +38,7 @@
38
38
  /**
39
39
  * SwiperIndicator 轮播图指示器
40
40
  * @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用,
41
- * @tutorial https://www.uviewui.com/components/swiper.html
41
+ * @tutorial https://ijry.github.io/uview-plus/components/swiper.html
42
42
  * @property {String | Number} length 轮播的长度(默认 0 )
43
43
  * @property {String | Number} current 当前处于活动状态的轮播的索引(默认 0 )
44
44
  * @property {String} indicatorActiveColor 指示器非激活颜色
@@ -44,7 +44,7 @@
44
44
  /**
45
45
  * switch 开关选择器
46
46
  * @description 选择开关一般用于只有两个选择,且只能选其一的场景。
47
- * @tutorial https://www.uviewui.com/components/switch.html
47
+ * @tutorial https://ijry.github.io/uview-plus/components/switch.html
48
48
  * @property {Boolean} loading 是否处于加载中(默认 false )
49
49
  * @property {Boolean} disabled 是否禁用(默认 false )
50
50
  * @property {String | Number} size 开关尺寸,单位px (默认 25 )
@@ -32,7 +32,7 @@
32
32
  /**
33
33
  * Tabbar 底部导航栏
34
34
  * @description 此组件提供了自定义tabbar的能力。
35
- * @tutorial https://www.uviewui.com/components/tabbar.html
35
+ * @tutorial https://ijry.github.io/uview-plus/components/tabbar.html
36
36
  * @property {String | Number} value 当前匹配项的name
37
37
  * @property {Boolean} safeAreaInsetBottom 是否为iPhoneX留出底部安全距离(默认 true )
38
38
  * @property {Boolean} border 是否显示上方边框(默认 true )
@@ -49,7 +49,7 @@
49
49
  /**
50
50
  * TabbarItem 底部导航栏子组件
51
51
  * @description 此组件提供了自定义tabbar的能力。
52
- * @tutorial https://www.uviewui.com/components/tabbar.html
52
+ * @tutorial https://ijry.github.io/uview-plus/components/tabbar.html
53
53
  * @property {String | Number} name item标签的名称,作为与u-tabbar的value参数匹配的标识符
54
54
  * @property {String} icon uView内置图标或者绝对路径的图片
55
55
  * @property {String | Number} badge 右上角的角标提示信息
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Table 表格
13
13
  * @description 表格组件一般用于展示大量结构化数据的场景 本组件标签类似HTML的table表格,由table、tr、th、td四个组件组成
14
- * @tutorial https://www.uviewui.com/components/table.html
14
+ * @tutorial https://ijry.github.io/uview-plus/components/table.html
15
15
  * @example <u-table><u-tr><u-th>学校</u-th </u-tr> <u-tr><u-td>浙江大学</u-td> </u-tr> <u-tr><u-td>清华大学</u-td> </u-tr></u-table>
16
16
  */
17
17
  export default {
@@ -90,7 +90,7 @@
90
90
  /**
91
91
  * Tabs 标签
92
92
  * @description tabs标签组件,在标签多的时候,可以配置为左右滑动,标签少的时候,可以禁止滑动。 该组件的一个特点是配置为滚动模式时,激活的tab会自动移动到组件的中间位置。
93
- * @tutorial https://www.uviewui.com/components/tabs.html
93
+ * @tutorial https://ijry.github.io/uview-plus/components/tabs.html
94
94
  * @property {String | Number} duration 滑块移动一次所需的时间,单位秒(默认 200 )
95
95
  * @property {String | Number} swierWidth swiper的宽度(默认 '750rpx' )
96
96
  * @property {String} keyName 从`list`元素对象中读取的键名(默认 'name' )
@@ -271,7 +271,7 @@
271
271
  // 获取各个标签的尺寸
272
272
  queryRect(el, item) {
273
273
  // #ifndef APP-NVUE
274
- // $uGetRect为uView自带的节点查询简化方法,详见文档介绍:https://www.uviewui.com/js/getRect.html
274
+ // $uGetRect为uView自带的节点查询简化方法,详见文档介绍:https://ijry.github.io/uview-plus/js/getRect.html
275
275
  // 组件内部一般用this.$uGetRect,对外的为uni.$u.getRect,二者功能一致,名称不同
276
276
  return new Promise(resolve => {
277
277
  this.$uGetRect(`.${el}`).then(size => {
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * TabsItem tabs标签组件的自组件
13
13
  * @description tabs标签组件,在标签多的时候,可以配置为左右滑动,标签少的时候,可以禁止滑动。 该组件的一个特点是配置为滚动模式时,激活的tab会自动移动到组件的中间位置。
14
- * @tutorial https://www.uviewui.com/components/tabs.html
14
+ * @tutorial https://ijry.github.io/uview-plus/components/tabs.html
15
15
  * @property {type} prop_name
16
16
  * @event {Function()}
17
17
  * @example
@@ -56,13 +56,13 @@
56
56
  </template>
57
57
 
58
58
  <script>
59
- import props from './props.js';
60
- import mpMixin from '../../libs/mixin/mpMixin.js';
59
+ import props from './props.js';
60
+ import mpMixin from '../../libs/mixin/mpMixin.js';
61
61
  import mixin from '../../libs/mixin/mixin.js';
62
62
  /**
63
63
  * Tag 标签
64
64
  * @description tag组件一般用于标记和选择,我们提供了更加丰富的表现形式,能够较全面的涵盖您的使用场景
65
- * @tutorial https://www.uviewui.com/components/tag.html
65
+ * @tutorial https://ijry.github.io/uview-plus/components/tag.html
66
66
  * @property {String} type 标签类型info、primary、success、warning、error (默认 'primary' )
67
67
  * @property {Boolean | String} disabled 不可用(默认 false )
68
68
  * @property {String} size 标签的大小,large,medium,mini (默认 'medium' )
@@ -79,7 +79,7 @@ import props from './props.js'
79
79
  /**
80
80
  * Text 文本
81
81
  * @description 此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义,text组件几乎涵盖您能使用的大部分场景。
82
- * @tutorial https://www.uviewui.com/components/loading.html
82
+ * @tutorial https://ijry.github.io/uview-plus/components/loading.html
83
83
  * @property {String} type 主题颜色
84
84
  * @property {Boolean} show 是否显示(默认 true )
85
85
  * @property {String | Number} text 显示的值
@@ -47,7 +47,7 @@ import mixin from '../../libs/mixin/mixin.js';
47
47
  /**
48
48
  * Textarea 文本域
49
49
  * @description 文本域此组件满足了可能出现的表单信息补充,编辑等实际逻辑的功能,内置了字数校验等
50
- * @tutorial https://www.uviewui.com/components/textarea.html
50
+ * @tutorial https://ijry.github.io/uview-plus/components/textarea.html
51
51
  *
52
52
  * @property {String | Number} value 输入框的内容
53
53
  * @property {String | Number} placeholder 输入框为空时占位符
@@ -44,7 +44,7 @@
44
44
  /**
45
45
  * toast 消息提示
46
46
  * @description 此组件表现形式类似uni的uni.showToastAPI,但也有不同的地方。
47
- * @tutorial https://www.uviewui.com/components/toast.html
47
+ * @tutorial https://ijry.github.io/uview-plus/components/toast.html
48
48
  * @property {String | Number} zIndex toast展示时的zIndex值 (默认 10090 )
49
49
  * @property {Boolean} loading 是否加载中 (默认 false )
50
50
  * @property {String | Number} message 显示的文字内容
@@ -42,7 +42,7 @@
42
42
  /**
43
43
  * Toolbar 工具条
44
44
  * @description
45
- * @tutorial https://www.uviewui.com/components/toolbar.html
45
+ * @tutorial https://ijry.github.io/uview-plus/components/toolbar.html
46
46
  * @property {Boolean} show 是否展示工具条(默认 true )
47
47
  * @property {String} cancelText 取消按钮的文字(默认 '取消' )
48
48
  * @property {String} confirmText 确认按钮的文字(默认 '确认' )
@@ -103,7 +103,7 @@
103
103
  /**
104
104
  * Tooltip
105
105
  * @description
106
- * @tutorial https://www.uviewui.com/components/tooltip.html
106
+ * @tutorial https://ijry.github.io/uview-plus/components/tooltip.html
107
107
  * @property {String | Number} text 需要显示的提示文字
108
108
  * @property {String | Number} copyText 点击复制按钮时,复制的文本,为空则使用text值
109
109
  * @property {String | Number} size 文本大小(默认 14 )
@@ -219,7 +219,7 @@
219
219
  // 查询内容高度
220
220
  queryRect(ref) {
221
221
  // #ifndef APP-NVUE
222
- // $uGetRect为uView自带的节点查询简化方法,详见文档介绍:https://www.uviewui.com/js/getRect.html
222
+ // $uGetRect为uView自带的节点查询简化方法,详见文档介绍:https://ijry.github.io/uview-plus/js/getRect.html
223
223
  // 组件内部一般用this.$uGetRect,对外的为uni.$u.getRect,二者功能一致,名称不同
224
224
  return new Promise(resolve => {
225
225
  this.$uGetRect(`#${ref}`).then(size => {
@@ -0,0 +1 @@
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),l=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||$[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));
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.23",
5
+ "version": "3.1.25",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",