@10yun/cv-mobile-ui 0.5.50 → 0.5.52

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 (114) hide show
  1. package/build/common_func.js +3 -1
  2. package/build/parse-create.js +17 -8
  3. package/build/parse-pages-pkg.js +10 -4
  4. package/empty-devtools.js +3 -0
  5. package/libs/aes.js +50 -0
  6. package/libs/bledefine/bledefine.js +51 -0
  7. package/libs/bledefine/ios-ble-statuscode.js +97 -0
  8. package/libs/nfc/hexiii-nfc.js +236 -0
  9. package/libs/nfc.js +179 -0
  10. package/libs/sdk/html2canvas.js +8 -0
  11. package/libs/sdk/sdk-h5.js +585 -0
  12. package/{plugins → libs}/storage2.js +0 -5
  13. package/{plugins → libs}/storage3.js +0 -4
  14. package/libs/validators/index.js +438 -0
  15. package/libs/weapp-qrcode.js +1108 -0
  16. package/package.json +2 -3
  17. package/ui-cv/components/cv-dialog-share/tui-share.vue +16 -16
  18. package/ui-cv/components/cv-mask-png/cv-mask-png.vue +27 -0
  19. package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +22 -0
  20. package/ui-cv/components/cv-mask-svg/mixins.js +131 -0
  21. package/ui-fireui/components/{fui-actionsheet/fui-actionsheet.vue → u-action-sheet/u-action-sheet.vue} +21 -21
  22. package/ui-fireui/components/{fui-alert/fui-alert.vue → u-alert/u-alert.vue} +13 -13
  23. package/ui-fireui/components/{fui-badge/fui-badge.vue → u-badge/u-badge.vue} +16 -16
  24. package/ui-fireui/components/{fui-bottom-navigation/fui-bottom-navigation.vue → u-bottom-navigation/u-bottom-navigation.vue} +47 -46
  25. package/ui-fireui/components/{fui-bottom-popup/fui-bottom-popup.vue → u-bottom-popup/u-bottom-popup.vue} +9 -8
  26. package/ui-fireui/components/{fui-bubble-popup/fui-bubble-popup.vue → u-bubble-popup/u-bubble-popup.vue} +19 -15
  27. package/ui-fireui/components/{fui-button/fui-button.vue → u-button/u-button.vue} +69 -69
  28. package/ui-fireui/components/u-button/u-button2.vue +553 -0
  29. package/ui-fireui/components/{fui-calendar/fui-calendar.vue → u-calendar/u-calendar.vue} +78 -78
  30. package/ui-fireui/components/u-calendar/u-calendar2.vue +801 -0
  31. package/ui-fireui/components/{fui-card/fui-card.vue → u-card/u-card.vue} +24 -24
  32. package/ui-fireui/components/{fui-cascade-selection/fui-cascade-selection.vue → u-cascade-selection/u-cascade-selection.vue} +32 -32
  33. package/ui-fireui/components/{fui-circular-progress/fui-circular-progress.vue → u-circular-progress/u-circular-progress.vue} +14 -6
  34. package/ui-fireui/components/{fui-collapse/fui-collapse.vue → u-collapse/u-collapse.vue} +19 -19
  35. package/ui-fireui/components/{fui-countdown/fui-countdown.vue → u-countdown/u-countdown.vue} +28 -28
  36. package/ui-fireui/components/{fui-datetime/fui-datetime.vue → u-datetime/u-datetime.vue} +51 -51
  37. package/ui-fireui/components/{fui-divider/fui-divider.vue → u-divider/u-divider.vue} +6 -6
  38. package/ui-fireui/components/{fui-drawer/fui-drawer.vue → u-drawer/u-drawer.vue} +11 -11
  39. package/ui-fireui/components/{fui-dropdown-list/fui-dropdown-list.vue → u-dropdown-list/u-dropdown-list.vue} +11 -6
  40. package/ui-fireui/components/{fui-fab/fui-fab.vue → u-fab/u-fab.vue} +30 -30
  41. package/ui-fireui/components/{fui-footer/fui-footer.vue → u-footer/u-footer.vue} +19 -15
  42. package/ui-fireui/components/{fui-grid/fui-grid.vue → u-grid/u-grid.vue} +13 -5
  43. package/ui-fireui/components/{fui-grid-item/fui-grid-item.vue → u-grid-item/u-grid-item.vue} +19 -19
  44. package/ui-fireui/components/{fui-icon/fui-icon.vue → u-icon/u-icon.vue} +191 -191
  45. package/ui-fireui/components/{fui-image-cropper/fui-image-cropper.vue → u-image-cropper/u-image-cropper.vue} +44 -44
  46. package/ui-fireui/components/{fui-image-group/fui-image-group.vue → u-image-group/u-image-group.vue} +7 -7
  47. package/ui-fireui/components/{fui-keyboard/fui-keyboard.vue → u-keyboard/u-keyboard.vue} +29 -32
  48. package/ui-fireui/components/{fui-keyboard-input/fui-keyboard-input.vue → u-keyboard-input/u-keyboard-input.vue} +9 -9
  49. package/ui-fireui/components/{fui-list-cell/fui-list-cell.vue → u-list-cell/u-list-cell.vue} +23 -23
  50. package/ui-fireui/components/{fui-list-view/fui-list-view.vue → u-list-view/u-list-view.vue} +11 -11
  51. package/ui-fireui/components/{fui-loading/fui-loading.vue → u-loading/u-loading.vue} +6 -6
  52. package/ui-fireui/components/{fui-loadmore/fui-loadmore.vue → u-loadmore/u-loadmore.vue} +15 -15
  53. package/ui-fireui/components/{fui-modal/fui-modal.vue → u-modal/u-modal.vue} +58 -58
  54. package/ui-fireui/components/{fui-navigation-bar/fui-navigation-bar.vue → u-navigation-bar/u-navigation-bar.vue} +11 -10
  55. package/ui-fireui/components/{fui-no-data/fui-no-data.vue → u-no-data/u-no-data.vue} +11 -11
  56. package/ui-fireui/components/{fui-nomore/fui-nomore.vue → u-nomore/u-nomore.vue} +10 -10
  57. package/ui-fireui/components/{fui-numberbox/fui-numberbox.vue → u-numberbox/u-numberbox.vue} +12 -12
  58. package/ui-fireui/components/{fui-numberbox-border/fui-numberbox-border.vue → u-numberbox-border/u-numberbox-border.vue} +10 -10
  59. package/ui-fireui/components/{fui-picture-cropper/fui-picture-cropper.vue → u-picture-cropper/u-picture-cropper.vue} +42 -42
  60. package/ui-fireui/components/u-picture-cropper/u-picture-cropper.wxs +582 -0
  61. package/ui-fireui/components/{fui-round-progress/fui-round-progress.vue → u-round-progress/u-round-progress.vue} +2 -2
  62. package/ui-fireui/components/{fui-scroll-top/fui-scroll-top.vue → u-scroll-top/u-scroll-top.vue} +21 -21
  63. package/ui-fireui/components/{fui-sharemodel/fui-sharemodel.vue → u-share-model/u-share-model.vue} +24 -24
  64. package/ui-fireui/components/{fui-skeleton/fui-skeleton.vue → u-skeleton/u-skeleton.vue} +22 -22
  65. package/ui-fireui/components/{fui-steps/fui-steps.vue → u-steps/u-steps.vue} +27 -27
  66. package/ui-fireui/components/{fui-sticky/fui-sticky.vue → u-sticky/u-sticky.vue} +4 -4
  67. package/ui-fireui/components/{fui-sticky-wxs/fui-sticky-wxs.vue → u-sticky-wxs/u-sticky-wxs.vue} +7 -7
  68. package/ui-fireui/components/u-sticky-wxs/u-sticky.wxs +46 -0
  69. package/ui-fireui/components/{fui-swipe-action/fui-swipe-action.vue → u-swipe-action/u-swipe-action.vue} +11 -11
  70. package/ui-fireui/components/{fui-tabbar/fui-tabbar.vue → u-tabbar/u-tabbar.vue} +26 -30
  71. package/ui-fireui/components/{fui-tabs/fui-tabs.vue → u-tabs/u-tabs.vue} +17 -17
  72. package/ui-fireui/components/{fui-tabs2/fui-tabs2.vue → u-tabs2/u-tabs2.vue} +17 -17
  73. package/ui-fireui/components/{fui-tag/fui-tag.vue → u-tag/u-tag.vue} +362 -374
  74. package/ui-fireui/components/{fui-time-axis/fui-time-axis.vue → u-time-axis/u-time-axis.vue} +3 -3
  75. package/ui-fireui/components/{fui-timeaxis-item/fui-timeaxis-item.vue → u-timeaxis-item/u-timeaxis-item.vue} +4 -4
  76. package/ui-fireui/components/{fui-tips/fui-tips.vue → u-tips/u-tips.vue} +20 -20
  77. package/ui-fireui/components/{fui-toast/fui-toast.vue → u-toast/u-toast.vue} +13 -13
  78. package/ui-fireui/components/{fui-top-dropdown/fui-top-dropdown.vue → u-top-dropdown/u-top-dropdown.vue} +8 -8
  79. package/ui-fireui/components/{fui-upload/fui-upload.vue → u-upload/u-upload.vue} +30 -30
  80. package/ui-fireui/components/u-upload2/u-upload.vue +464 -0
  81. package/ui-fireui/components/{fui-uploadsamll/fui-uploadsamll.vue → u-uploadsamll/u-uploadsamll.vue} +34 -34
  82. package/ui-fireui/css/thorui.css +589 -0
  83. package/ui-fireui/{fireui.css → index.css} +306 -268
  84. package/ui-fireui/nvue/u-circular-progress/gcanvas/bridge/bridge-weex.js +241 -0
  85. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleLinearGradient.js +18 -0
  86. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStylePattern.js +8 -0
  87. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleRadialGradient.js +17 -0
  88. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/RenderingContext.js +666 -0
  89. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ActiveInfo.js +11 -0
  90. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Buffer.js +21 -0
  91. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Framebuffer.js +21 -0
  92. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLenum.js +298 -0
  93. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLmethod.js +142 -0
  94. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLtype.js +23 -0
  95. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Program.js +21 -0
  96. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Renderbuffer.js +21 -0
  97. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/RenderingContext.js +1191 -0
  98. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Shader.js +22 -0
  99. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ShaderPrecisionFormat.js +11 -0
  100. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Texture.js +22 -0
  101. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/UniformLocation.js +22 -0
  102. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/classUtils.js +3 -0
  103. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/canvas.js +74 -0
  104. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/image.js +96 -0
  105. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/tool.js +24 -0
  106. package/ui-fireui/nvue/u-circular-progress/gcanvas/index.js +47 -0
  107. package/ui-fireui/nvue/u-circular-progress/u-circular-progress.nvue +203 -0
  108. package/ui-fireui/nvue/u-icon/icons.js +188 -0
  109. package/ui-fireui/nvue/u-icon/u-icon.vue +78 -0
  110. package/uview-plus/components/u-grid/u-grid.vue +23 -1
  111. package/ui-fireui/components/fui-picture-cropper/fui-picture-cropper.wxs +0 -560
  112. package/ui-fireui/components/fui-rate/fui-rate.vue +0 -167
  113. package/ui-fireui/components/fui-sticky-wxs/fui-sticky.wxs +0 -44
  114. /package/ui-fireui/components/{fui-calendar/fui-calendar.js → u-calendar/u-calendar.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  <template>
2
- <view class="fui-footer-class fui-footer" :class="[fixed ? 'fui-fixed' : '']" :style="{ backgroundColor: backgroundColor }">
3
- <view class="fui-footer-link" v-if="navigate.length > 0">
2
+ <view class="up-footer-class up-footer" :class="[fixed ? 'up-fixed' : '']" :style="{ backgroundColor: backgroundColor }">
3
+ <view class="up-footer-link" v-if="navigate.length > 0">
4
4
  <block v-for="(item, index) in navigate" :key="index">
5
5
  <navigator
6
- class="fui-link"
7
- hover-class="fui-link-hover"
6
+ class="up-link"
7
+ hover-class="up-link-hover"
8
8
  :hover-stop-propagation="true"
9
9
  :style="{ color: item.color || '#596d96', fontSize: (item.size || 28) + 'rpx' }"
10
10
  :open-type="item.type"
@@ -21,7 +21,7 @@
21
21
  </navigator>
22
22
  </block>
23
23
  </view>
24
- <view class="fui-footer-copyright" :style="{ color: color, fontSize: size + 'rpx' }">
24
+ <view class="up-footer-copyright" :style="{ color: color, fontSize: size + 'rpx' }">
25
25
  {{ copyright }}
26
26
  </view>
27
27
  </view>
@@ -70,21 +70,25 @@ export default {
70
70
  </script>
71
71
 
72
72
  <style scoped>
73
- .fui-footer {
73
+ .up-footer {
74
74
  width: 100%;
75
75
  overflow: hidden;
76
76
  padding: 30rpx 24rpx;
77
77
  box-sizing: border-box;
78
78
  }
79
79
 
80
- .fui-fixed {
80
+ .up-fixed {
81
81
  position: fixed;
82
82
  z-index: 9999;
83
+ /* #ifdef H5 */
83
84
  bottom: 0;
84
- left: 0;
85
+ /* #endif */
86
+ /* #ifndef H5 */
87
+ bottom: env(safe-area-inset-bottom);
88
+ /* #endif */
85
89
  }
86
90
 
87
- .fui-footer-link {
91
+ .up-footer-link {
88
92
  color: #596d96;
89
93
  display: flex;
90
94
  align-items: center;
@@ -92,13 +96,13 @@ export default {
92
96
  font-size: 28rpx;
93
97
  }
94
98
 
95
- .fui-link {
99
+ .up-link {
96
100
  position: relative;
97
101
  padding: 0 18rpx;
98
102
  line-height: 1;
99
103
  }
100
104
 
101
- .fui-link::before {
105
+ .up-link::before {
102
106
  content: ' ';
103
107
  position: absolute;
104
108
  right: 0;
@@ -112,20 +116,20 @@ export default {
112
116
  transform: scaleX(0.5);
113
117
  }
114
118
 
115
- .fui-link:last-child::before {
119
+ .up-link:last-child::before {
116
120
  border-right: 0 !important;
117
121
  }
118
122
 
119
- .fui-link-hover {
123
+ .up-link-hover {
120
124
  opacity: 0.5;
121
125
  }
122
126
 
123
- .fui-footer-copyright {
127
+ .up-footer-copyright {
124
128
  font-size: 24rpx;
125
129
  color: #a7a7a7;
126
130
  line-height: 1;
127
131
  text-align: center;
128
132
  padding-top: 16rpx;
129
- padding-bottom: env(safe-area-inset-bottom);
133
+ /* padding-bottom: env(safe-area-inset-bottom); */
130
134
  }
131
135
  </style>
@@ -1,8 +1,9 @@
1
1
  <template>
2
- <view class="fui-grids" :class="{ 'fui-border-top': unlined }">
2
+ <view class="up-grids" :class="{ 'up-border-top': unlined }">
3
3
  <slot></slot>
4
4
  </view>
5
5
  </template>
6
+
6
7
  <script>
7
8
  export default {
8
9
  name: 'fuiGrid',
@@ -15,14 +16,22 @@ export default {
15
16
  }
16
17
  };
17
18
  </script>
19
+
18
20
  <style scoped>
19
- .fui-grids {
21
+ .up-grids {
20
22
  width: 100%;
21
23
  position: relative;
22
24
  overflow: hidden;
25
+
26
+ /* justify-content: space-between; */
27
+
28
+ /* display: flex;
29
+ display: -webkit-flex;
30
+ flex-direction: row;
31
+ flex-wrap: wrap; */
23
32
  }
24
33
 
25
- .fui-grids::after {
34
+ .up-grids::after {
26
35
  content: ' ';
27
36
  position: absolute;
28
37
  left: 0;
@@ -35,8 +44,7 @@ export default {
35
44
  -webkit-transform: scaleY(0.5);
36
45
  transform: scaleY(0.5);
37
46
  }
38
-
39
- .fui-border-top::after {
47
+ .up-border-top::after {
40
48
  border-top: 0 !important;
41
49
  }
42
50
  </style>
@@ -1,13 +1,13 @@
1
1
  <template>
2
2
  <view
3
- class="fui-grid"
4
- :class="[bottom ? '' : 'fui-grid-bottom', 'fui-grid-' + (cell < 2 ? 3 : cell)]"
5
- :hover-class="hover ? 'fui-item-hover' : ''"
3
+ class="up-grid"
4
+ :class="[bottom ? '' : 'up-grid-bottom', 'up-grid-' + (cell < 2 ? 3 : cell)]"
5
+ :hover-class="hover ? 'up-item-hover' : ''"
6
6
  :hover-stay-time="150"
7
7
  :style="{ backgroundColor: backgroundColor }"
8
8
  @tap="handleClick"
9
9
  >
10
- <view class="fui-grid-bg">
10
+ <view class="up-grid-bg">
11
11
  <slot></slot>
12
12
  </view>
13
13
  </view>
@@ -50,53 +50,53 @@ export default {
50
50
  </script>
51
51
 
52
52
  <style scoped>
53
- .fui-grid {
53
+ .up-grid {
54
54
  position: relative;
55
- padding: 12.5rpx 6.25rpx;
55
+ padding: 20px 10px;
56
56
  box-sizing: border-box;
57
57
  background: #fff;
58
58
  float: left;
59
59
  }
60
60
 
61
- .fui-grid-2 {
61
+ .up-grid-2 {
62
62
  width: 50%;
63
63
  }
64
64
 
65
- .fui-grid-3 {
65
+ .up-grid-3 {
66
66
  width: 33.333333333%;
67
67
  }
68
68
 
69
- .fui-grid-4 {
69
+ .up-grid-4 {
70
70
  width: 25%;
71
71
  padding: 30rpx 20rpx !important;
72
72
  }
73
73
 
74
- .fui-grid-5 {
74
+ .up-grid-5 {
75
75
  width: 20%;
76
76
  padding: 20rpx !important;
77
77
  }
78
78
 
79
- .fui-grid-2:nth-of-type(2n)::before {
79
+ .up-grid-2:nth-of-type(2n)::before {
80
80
  width: 0;
81
81
  border-right: 0;
82
82
  }
83
83
 
84
- .fui-grid-3:nth-of-type(3n)::before {
84
+ .up-grid-3:nth-of-type(3n)::before {
85
85
  width: 0;
86
86
  border-right: 0;
87
87
  }
88
88
 
89
- .fui-grid-4:nth-of-type(4n)::before {
89
+ .up-grid-4:nth-of-type(4n)::before {
90
90
  width: 0;
91
91
  border-right: 0;
92
92
  }
93
93
 
94
- .fui-grid-5:nth-of-type(5n)::before {
94
+ .up-grid-5:nth-of-type(5n)::before {
95
95
  width: 0;
96
96
  border-right: 0;
97
97
  }
98
98
 
99
- .fui-grid::before {
99
+ .up-grid::before {
100
100
  content: ' ';
101
101
  position: absolute;
102
102
  right: 0;
@@ -110,7 +110,7 @@ export default {
110
110
  transform: scaleX(0.5);
111
111
  }
112
112
 
113
- .fui-grid::after {
113
+ .up-grid::after {
114
114
  content: ' ';
115
115
  position: absolute;
116
116
  left: 0;
@@ -124,19 +124,19 @@ export default {
124
124
  transform: scaleY(0.5);
125
125
  }
126
126
 
127
- .fui-grid-bottom::after {
127
+ .up-grid-bottom::after {
128
128
  height: 0 !important;
129
129
  border-bottom: 0 !important;
130
130
  }
131
131
 
132
- .fui-grid-bg {
132
+ .up-grid-bg {
133
133
  position: relative;
134
134
  padding: 0;
135
135
  width: 100%;
136
136
  box-sizing: border-box;
137
137
  }
138
138
 
139
- .fui-item-hover {
139
+ .up-item-hover {
140
140
  background-color: #f7f7f9 !important;
141
141
  }
142
142
  </style>