cnhis-design-vue 3.4.0-beta.41 → 3.4.0-beta.43

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.
@@ -91,12 +91,12 @@ function useLeft(canvas, propItems, emits, pointTipProps, moveLimit, setPopup, u
91
91
  ...item,
92
92
  isExternal: true
93
93
  }));
94
- const { projectNameMargin = [5, 30], titleWidth = 20 } = left;
94
+ const { projectNameMargin = [5, 30], titleWidth = 20, projectNameLineHeight = 10 } = left;
95
95
  let topY = endY + markHeight + extracorporealCirculationHeight - projectNameMargin[0];
96
96
  const leftX = titleWidth + projectNameMargin[1];
97
97
  const iconList = [];
98
98
  externalIconList.concat(list.reverse()).forEach((item) => {
99
- topY -= 10;
99
+ topY -= projectNameLineHeight;
100
100
  const title = item.title;
101
101
  const { text, icon } = drawTextAndIconGroup(title, item, {
102
102
  text: {
@@ -553,9 +553,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
553
553
  hide: boolean;
554
554
  }>;
555
555
  draggable: boolean;
556
- isHighlightRow: boolean;
557
556
  idx: number;
558
557
  isHighlight: boolean;
558
+ isHighlightRow: boolean;
559
559
  isFieldSet: boolean;
560
560
  fieldDescribeMode: "column" | "tooltip";
561
561
  hideExpressionOption: AnyObject[];
@@ -594,9 +594,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
594
594
  hide: boolean;
595
595
  }>;
596
596
  draggable: boolean;
597
- isHighlightRow: boolean;
598
597
  idx: number;
599
598
  isHighlight: boolean;
599
+ isHighlightRow: boolean;
600
600
  isFieldSet: boolean;
601
601
  fieldDescribeMode: "column" | "tooltip";
602
602
  hideExpressionOption: AnyObject[];
@@ -773,9 +773,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
773
773
  hide: boolean;
774
774
  }>;
775
775
  draggable: boolean;
776
- isHighlightRow: boolean;
777
776
  idx: number;
778
777
  isHighlight: boolean;
778
+ isHighlightRow: boolean;
779
779
  isFieldSet: boolean;
780
780
  fieldDescribeMode: "column" | "tooltip";
781
781
  hideExpressionOption: AnyObject[];
@@ -384,9 +384,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
384
384
  hide: boolean;
385
385
  }>;
386
386
  draggable: boolean;
387
- isHighlightRow: boolean;
388
387
  idx: number;
389
388
  isHighlight: boolean;
389
+ isHighlightRow: boolean;
390
390
  isFieldSet: boolean;
391
391
  fieldDescribeMode: "column" | "tooltip";
392
392
  hideExpressionOption: AnyObject[];
@@ -94,7 +94,8 @@ function createComponent(name, Wrapper, Item) {
94
94
  set: (value) => emit("update:value", value)
95
95
  });
96
96
  const {
97
- renderComplexOption
97
+ renderComplexOption,
98
+ hasComplexOption
98
99
  } = useComplexOptions(props, valueRef);
99
100
  const {
100
101
  labelKey,
@@ -179,7 +180,7 @@ function createComponent(name, Wrapper, Item) {
179
180
  style.width = percentWidth;
180
181
  }
181
182
  }
182
- if (index === options.length - 1) {
183
+ if (index === options.length - 1 && hasComplexOption.value) {
183
184
  classList.push("form-render__lastOption");
184
185
  }
185
186
  return createVNode(Item, {
@@ -6,7 +6,7 @@ import { Close, Mic, MicOff, Videocam, VideocamOff, Call, PersonAdd, ResizeOutli
6
6
  import { getUserDetailApi } from '../api/index.js';
7
7
  import '@vueuse/core';
8
8
  import { $message } from '../utils/index.js';
9
- import 'lodash-es';
9
+ import { remove } from 'lodash-es';
10
10
  import { CHAT_TYPE, SUBSCRIBE_MESSAGE_TYPE } from '../constants/index.js';
11
11
  import '../../../../shared/utils/index.js';
12
12
  import 'date-fns';
@@ -385,6 +385,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
385
385
  try {
386
386
  removeUser(userId);
387
387
  console.log("Cleaned up resources for user:", userId);
388
+ remove(state.currentAVMsg.checkedIds, (id) => id === userId);
388
389
  setTimeout(() => {
389
390
  const user = findUser(userId);
390
391
  if (user) {
@@ -1,5 +1,5 @@
1
1
  var name = "@cnhis-design-vue/shared";
2
- var version = "3.4.0-beta.41";
2
+ var version = "3.4.0-beta.43";
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.4.0-beta.41",
3
+ "version": "3.4.0-beta.43",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -73,5 +73,5 @@
73
73
  "iOS 7",
74
74
  "last 3 iOS versions"
75
75
  ],
76
- "gitHead": "541f2445556b79280b933b0af407e4fd9048bb32"
76
+ "gitHead": "f0a7f225fcd87a9e4607b79812a027d03e927a8f"
77
77
  }