uview-plus 3.7.36 → 3.8.32

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 (132) hide show
  1. package/README.md +0 -1
  2. package/changelog.md +2047 -1782
  3. package/components/u-action-sheet/u-action-sheet.vue +54 -16
  4. package/components/u-agreement/u-agreement.vue +2 -1
  5. package/components/u-alert/u-alert.vue +8 -10
  6. package/components/u-button/u-button.vue +35 -5
  7. package/components/u-calendar/calendar.js +1 -0
  8. package/components/u-calendar/header.vue +98 -9
  9. package/components/u-calendar/month.vue +10 -7
  10. package/components/u-calendar/props.js +5 -0
  11. package/components/u-calendar/u-calendar.vue +109 -2
  12. package/components/u-car-keyboard/u-car-keyboard.vue +7 -7
  13. package/components/u-card/u-card.vue +6 -6
  14. package/components/u-cascader/u-cascader.vue +32 -12
  15. package/components/u-cate-tab/u-cate-tab.vue +49 -48
  16. package/components/u-cell/u-cell.vue +24 -4
  17. package/components/u-cell-group/u-cell-group.vue +10 -3
  18. package/components/u-checkbox/u-checkbox.vue +6 -6
  19. package/components/u-choose/u-choose.vue +9 -4
  20. package/components/u-city-locate/u-city-locate.vue +28 -22
  21. package/components/u-color-picker/u-color-picker.vue +15 -15
  22. package/components/u-cropper/u-cropper.vue +409 -387
  23. package/components/u-datetime-picker/u-datetime-picker.vue +79 -10
  24. package/components/u-dragsort/u-dragsort.vue +3 -0
  25. package/components/u-dropdown/u-dropdown.vue +15 -2
  26. package/components/u-dropdown-item/u-dropdown-item.vue +3 -3
  27. package/components/u-form-item/u-form-item.vue +6 -1
  28. package/components/u-gap/u-gap.vue +5 -1
  29. package/components/u-goods-sku/u-goods-sku.vue +16 -15
  30. package/components/u-index-anchor/u-index-anchor.vue +13 -2
  31. package/components/u-index-list/u-index-list.vue +18 -5
  32. package/components/u-input/input.js +3 -3
  33. package/components/u-input/u-input.vue +27 -5
  34. package/components/u-keyboard/u-keyboard.vue +11 -6
  35. package/components/u-loading-page/loadingPage.js +1 -1
  36. package/components/u-loading-page/u-loading-page.vue +18 -12
  37. package/components/u-navbar/navbar.js +2 -3
  38. package/components/u-navbar/theme-vars.scss +21 -0
  39. package/components/u-navbar/u-navbar.vue +30 -6
  40. package/components/u-notice-bar/theme-vars.scss +25 -0
  41. package/components/u-notice-bar/u-notice-bar.vue +24 -5
  42. package/components/u-number-box/numberBox.js +4 -4
  43. package/components/u-number-box/u-number-box.vue +27 -13
  44. package/components/u-number-keyboard/u-number-keyboard.vue +6 -6
  45. package/components/u-picker/picker.js +43 -43
  46. package/components/u-picker/u-picker.vue +14 -2
  47. package/components/u-popup/popup.js +1 -1
  48. package/components/u-popup/u-popup.vue +14 -6
  49. package/components/u-poster/u-poster.vue +12 -10
  50. package/components/u-pull-refresh/u-pull-refresh.vue +6 -6
  51. package/components/u-qrcode/qrcode.js +35 -29
  52. package/components/u-qrcode/u-qrcode.vue +17 -12
  53. package/components/u-radio/u-radio.vue +6 -6
  54. package/components/u-rate/rate.js +2 -2
  55. package/components/u-rate/u-rate.vue +98 -21
  56. package/components/u-search/search.js +3 -3
  57. package/components/u-search/u-search.vue +29 -6
  58. package/components/u-select/u-select.vue +141 -73
  59. package/components/u-signature/u-signature.vue +35 -16
  60. package/components/u-skeleton/u-skeleton.vue +7 -2
  61. package/components/u-slider/u-slider.vue +30 -31
  62. package/components/u-steps-item/u-steps-item.vue +20 -17
  63. package/components/u-subsection/theme-vars.scss +41 -0
  64. package/components/u-subsection/u-subsection.vue +69 -16
  65. package/components/u-swipe-action-item/u-swipe-action-item.vue +11 -5
  66. package/components/u-switch/theme-vars.scss +41 -0
  67. package/components/u-switch/u-switch.vue +44 -15
  68. package/components/u-tabbar/u-tabbar.vue +5 -5
  69. package/components/u-tabbar-item/u-tabbar-item.vue +16 -5
  70. package/components/u-table/u-table.vue +18 -3
  71. package/components/u-table2/tableRow.vue +43 -41
  72. package/components/u-table2/u-table2.vue +56 -50
  73. package/components/u-tabs/u-tabs.vue +14 -1
  74. package/components/u-tag/theme-vars.scss +21 -0
  75. package/components/u-tag/u-tag.vue +17 -7
  76. package/components/u-td/u-td.vue +5 -3
  77. package/components/u-text/text.js +1 -1
  78. package/components/u-text/u-text.vue +15 -13
  79. package/components/u-textarea/props.js +2 -2
  80. package/components/u-textarea/textarea.js +1 -1
  81. package/components/u-textarea/u-textarea.vue +115 -61
  82. package/components/u-th/u-th.vue +5 -4
  83. package/components/u-title/u-title.vue +1 -0
  84. package/components/u-toast/u-toast.vue +13 -9
  85. package/components/u-tooltip/u-tooltip.vue +1 -0
  86. package/components/u-tree/u-tree.vue +491 -51
  87. package/components/u-upload/u-upload.vue +34 -6
  88. package/index.js +178 -27
  89. package/index.scss +5 -1
  90. package/libs/config/color.js +1 -2
  91. package/libs/config/config.js +2 -0
  92. package/libs/config/props.js +1 -1
  93. package/libs/css/theme-vars-core.scss +201 -0
  94. package/libs/css/theme-vars.scss +1 -0
  95. package/libs/function/index.js +7 -7
  96. package/libs/mixin/mixin.js +111 -4
  97. package/libs/root/index.js +151 -0
  98. package/libs/root/nvue-root.vue +72 -0
  99. package/libs/root/page.js +269 -0
  100. package/libs/root/root-toast-host.vue +31 -0
  101. package/libs/root/root.js +44 -0
  102. package/libs/root/runtime.js +11 -0
  103. package/libs/root/utils.js +115 -0
  104. package/libs/theme/runtime.js +392 -0
  105. package/libs/theme/theme.js +682 -0
  106. package/libs/util/gcanvas/bridge/bridge-weex.js +0 -0
  107. package/libs/util/gcanvas/context-2d/FillStyleLinearGradient.js +0 -0
  108. package/libs/util/gcanvas/context-2d/FillStylePattern.js +0 -0
  109. package/libs/util/gcanvas/context-2d/FillStyleRadialGradient.js +0 -0
  110. package/libs/util/gcanvas/context-2d/RenderingContext.js +0 -0
  111. package/libs/util/gcanvas/context-webgl/ActiveInfo.js +0 -0
  112. package/libs/util/gcanvas/context-webgl/Buffer.js +0 -0
  113. package/libs/util/gcanvas/context-webgl/Framebuffer.js +0 -0
  114. package/libs/util/gcanvas/context-webgl/GLenum.js +0 -0
  115. package/libs/util/gcanvas/context-webgl/GLmethod.js +0 -0
  116. package/libs/util/gcanvas/context-webgl/GLtype.js +0 -0
  117. package/libs/util/gcanvas/context-webgl/Program.js +0 -0
  118. package/libs/util/gcanvas/context-webgl/Renderbuffer.js +0 -0
  119. package/libs/util/gcanvas/context-webgl/RenderingContext.js +0 -0
  120. package/libs/util/gcanvas/context-webgl/Shader.js +0 -0
  121. package/libs/util/gcanvas/context-webgl/ShaderPrecisionFormat.js +0 -0
  122. package/libs/util/gcanvas/context-webgl/Texture.js +0 -0
  123. package/libs/util/gcanvas/context-webgl/UniformLocation.js +0 -0
  124. package/libs/util/gcanvas/context-webgl/classUtils.js +0 -0
  125. package/libs/util/gcanvas/env/canvas.js +0 -0
  126. package/libs/util/gcanvas/env/image.js +0 -0
  127. package/libs/util/gcanvas/env/tool.js +0 -0
  128. package/libs/util/gcanvas/index.js +0 -0
  129. package/package.json +3 -2
  130. package/theme.scss +113 -32
  131. package/types/comps/qrcode.d.ts +6 -0
  132. package/types/index.d.ts +47 -2
@@ -800,7 +800,7 @@ export default {
800
800
  &__content {
801
801
  width: 100%;
802
802
  padding: 20px;
803
- background-color: #fff;
803
+ background-color: var(--up-card-bg-color, #fff);
804
804
  }
805
805
 
806
806
  &__header {
@@ -811,7 +811,7 @@ export default {
811
811
  &__title {
812
812
  font-size: 18px;
813
813
  font-weight: bold;
814
- color: #333;
814
+ color: var(--up-main-color, #333);
815
815
  }
816
816
 
817
817
  &__switch {
@@ -904,8 +904,8 @@ export default {
904
904
  position: absolute;
905
905
  width: 4px;
906
906
  height: 16px;
907
- background: #fff;
908
- border: 1px solid #ccc;
907
+ background: var(--up-card-bg-color, #fff);
908
+ border: 1px solid var(--up-border-color, #ccc);
909
909
  border-radius: 2px;
910
910
  transform: translateX(-50%);
911
911
  top: -2px;
@@ -938,7 +938,7 @@ export default {
938
938
  height: 0;
939
939
  border-left: 8px solid transparent;
940
940
  border-right: 8px solid transparent;
941
- border-top: 10px solid #333;
941
+ border-top: 10px solid var(--up-main-color, #333);
942
942
  z-index: 10;
943
943
  }
944
944
 
@@ -949,7 +949,7 @@ export default {
949
949
  width: 20px;
950
950
  height: 20px;
951
951
  border-radius: 50%;
952
- border: 2px solid #fff;
952
+ border: 2px solid var(--up-card-bg-color, #fff);
953
953
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
954
954
  }
955
955
 
@@ -974,12 +974,12 @@ export default {
974
974
  height: 20px;
975
975
  border-radius: 50%;
976
976
  margin-right: 5px;
977
- border: 1px solid #eee;
977
+ border: 1px solid var(--up-border-color, #eee);
978
978
  }
979
979
 
980
980
  &-percent {
981
981
  font-size: 12px;
982
- color: #666;
982
+ color: var(--up-content-color, #666);
983
983
  margin-right: 5px;
984
984
  }
985
985
 
@@ -1006,15 +1006,15 @@ export default {
1006
1006
  position: relative;
1007
1007
  margin: 10px auto;
1008
1008
  cursor: pointer;
1009
- border: 2px solid #eee;
1009
+ border: 2px solid var(--up-border-color, #eee);
1010
1010
  }
1011
1011
 
1012
1012
  &__direction-pointer {
1013
1013
  position: absolute;
1014
1014
  width: 6px;
1015
1015
  height: 6px;
1016
- background: #fff;
1017
- border: 2px solid #333;
1016
+ background: var(--up-card-bg-color, #fff);
1017
+ border: 2px solid var(--up-main-color, #333);
1018
1018
  border-radius: 50%;
1019
1019
  transform: translate(-50%, -50%);
1020
1020
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
@@ -1034,7 +1034,7 @@ export default {
1034
1034
  display: block;
1035
1035
  margin-bottom: 10px;
1036
1036
  font-size: 14px;
1037
- color: #666;
1037
+ color: var(--up-content-color, #666);
1038
1038
  }
1039
1039
 
1040
1040
  &-list {
@@ -1049,7 +1049,7 @@ export default {
1049
1049
  border-radius: 50%;
1050
1050
  margin-right: 10px;
1051
1051
  margin-bottom: 10px;
1052
- border: 1px solid #eee;
1052
+ border: 1px solid var(--up-border-color, #eee);
1053
1053
  cursor: pointer;
1054
1054
  }
1055
1055
  }
@@ -1069,13 +1069,13 @@ export default {
1069
1069
  width: 40px;
1070
1070
  height: 40px;
1071
1071
  border-radius: 4px;
1072
- border: 1px solid #eee;
1072
+ border: 1px solid var(--up-border-color, #eee);
1073
1073
  margin-right: 10px;
1074
1074
  }
1075
1075
 
1076
1076
  &__preview-text {
1077
1077
  font-size: 14px;
1078
- color: #333;
1078
+ color: var(--up-main-color, #333);
1079
1079
  flex: 1;
1080
1080
  overflow: hidden;
1081
1081
  text-overflow: ellipsis;