matrix_components 2.0.389 → 2.0.391

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.
@@ -54768,13 +54768,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54768
54768
  },
54769
54769
  setup(__props, { expose: __expose }) {
54770
54770
  useCssVars((_ctx) => ({
54771
- "v40225fae": customBackgroundColor.value,
54772
- "v86e5deca": gapV.value,
54773
- "v4d1fe9d2": superLabelWidth.value,
54774
- "v387eb397": subLabelWidth.value,
54775
- "v6114aa7c": height.value,
54776
- "v906c6966": labelWidth.value,
54777
- "v7746a7b6": _ctx.$props.labelColor
54771
+ "v2d6fa5bb": customBackgroundColor.value,
54772
+ "v9577466e": gapV.value,
54773
+ "a9e65638": superLabelWidth.value,
54774
+ "v5f2189ae": subLabelWidth.value,
54775
+ "v778aa370": height.value,
54776
+ "v3392860a": labelWidth.value,
54777
+ "v0da51648": _ctx.$props.labelColor
54778
54778
  }));
54779
54779
  const props = __props;
54780
54780
  const initialValues = ref$1(/* @__PURE__ */ new Map());
@@ -55308,7 +55308,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
55308
55308
  const label = findOptionInTree(options, rowInfo.value);
55309
55309
  return label || rowInfo.value;
55310
55310
  }
55311
- function setFormData(data) {
55311
+ function setFormData(data, triggerEvents = true) {
55312
55312
  if (!data || typeof data !== "object") {
55313
55313
  console.warn("setFormData: 参数必须是一个对象");
55314
55314
  return;
@@ -55317,7 +55317,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
55317
55317
  const node = getFormNodeByKey(key);
55318
55318
  if (node) {
55319
55319
  node.value = value;
55320
- if (node.events) {
55320
+ if (triggerEvents && node.events) {
55321
55321
  if (node.events.change && typeof node.events.change === "function") {
55322
55322
  setTimeout(() => {
55323
55323
  node.events.change(value);
@@ -55621,7 +55621,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
55621
55621
  };
55622
55622
  }
55623
55623
  });
55624
- const NsForm = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-e430073e"]]);
55624
+ const NsForm = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f4a4e876"]]);
55625
55625
  const _hoisted_1$1 = { class: "title-image-view" };
55626
55626
  const _hoisted_2 = { class: "content-model-title" };
55627
55627
  const _hoisted_3 = { class: "title-text" };