cnhis-design-vue 3.3.3-beta.66 → 3.3.3-beta.67

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.
@@ -50,7 +50,8 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, computedX, c
50
50
  function drwaPainScaleValue(item) {
51
51
  const {
52
52
  list: listItem = [],
53
- spaceGridNumber = 5,
53
+ spaceGridNumber = 1,
54
+ numberVerticalPosition = "bottom",
54
55
  showScale,
55
56
  showNumber,
56
57
  position,
@@ -84,7 +85,7 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, computedX, c
84
85
  const listLen = listItem.length;
85
86
  listItem.forEach((v, i) => {
86
87
  let top = painOriginY.endY - i * yCellHeight * spaceGridNumber;
87
- if (i === 0 && painSurplusCell[1] === 0) {
88
+ if (i === 0 && painSurplusCell[1] === 0 && (spaceGridNumber == 1 || numberVerticalPosition === "bottom")) {
88
89
  top = endY - 5;
89
90
  }
90
91
  const isMaxMinNumber = i === 0 || i === listLen - 1;
@@ -227,9 +227,10 @@ function useTemperatureChart(canvas, props, emits, canvasRef, pointTipProps, poi
227
227
  if (!painItem)
228
228
  return 0;
229
229
  const {
230
- numberVerticalPosition = "bottom"
230
+ numberVerticalPosition = "bottom",
231
+ spaceGridNumber = 1
231
232
  } = painItem;
232
- return numberVerticalPosition === "center" ? yCellHeight.value / 2 : 0;
233
+ return numberVerticalPosition === "center" ? yCellHeight.value * spaceGridNumber / 2 : 0;
233
234
  });
234
235
  const painIndex = computed(() => {
235
236
  const {
@@ -3649,7 +3649,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
3649
3649
  };
3650
3650
  isForward: boolean;
3651
3651
  };
3652
- trtc: import("trtc-sdk-v5").default;
3652
+ trtc: import("trtc-sdk-v5").TRTC;
3653
3653
  timing: import("vue").Ref<string>;
3654
3654
  voiceClose: import("vue").Ref<boolean>;
3655
3655
  isAudio: import("vue").ComputedRef<boolean>;
@@ -3650,7 +3650,7 @@ declare const _default: import("vue").DefineComponent<{
3650
3650
  };
3651
3651
  isForward: boolean;
3652
3652
  };
3653
- trtc: import("trtc-sdk-v5").default;
3653
+ trtc: import("trtc-sdk-v5").TRTC;
3654
3654
  timing: import("vue").Ref<string>;
3655
3655
  voiceClose: import("vue").Ref<boolean>;
3656
3656
  isAudio: import("vue").ComputedRef<boolean>;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{}, {
58
58
  };
59
59
  isForward: boolean;
60
60
  };
61
- trtc: import("trtc-sdk-v5").default;
61
+ trtc: import("trtc-sdk-v5").TRTC;
62
62
  timing: import("vue").Ref<string>;
63
63
  voiceClose: import("vue").Ref<boolean>;
64
64
  isAudio: import("vue").ComputedRef<boolean>;
@@ -1,5 +1,5 @@
1
1
  var name = "@cnhis-design-vue/shared";
2
- var version = "3.3.3-beta.66";
2
+ var version = "3.3.3-beta.67";
3
3
  var main = "index.ts";
4
4
  var peerDependencies = {
5
5
  "naive-ui": "^2.30.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.3.3-beta.66",
3
+ "version": "3.3.3-beta.67",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -74,5 +74,5 @@
74
74
  "iOS 7",
75
75
  "last 3 iOS versions"
76
76
  ],
77
- "gitHead": "46407b955b3f963f404a998732fa02b72f446895"
77
+ "gitHead": "0d3b16a90e477c41a401d8753454bfbd52332077"
78
78
  }