matrix_components 2.0.395 → 2.0.401
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
|
-
"
|
|
54772
|
-
"
|
|
54773
|
-
"
|
|
54774
|
-
"
|
|
54775
|
-
"
|
|
54776
|
-
"
|
|
54777
|
-
"
|
|
54771
|
+
"v699488de": customBackgroundColor.value,
|
|
54772
|
+
"v44f94833": gapV.value,
|
|
54773
|
+
"v4535833a": superLabelWidth.value,
|
|
54774
|
+
"v3c7b86ff": subLabelWidth.value,
|
|
54775
|
+
"v249b474c": height.value,
|
|
54776
|
+
"v1ea3f0e5": labelWidth.value,
|
|
54777
|
+
"v7f48f1c4": _ctx.$props.labelColor
|
|
54778
54778
|
}));
|
|
54779
54779
|
const props = __props;
|
|
54780
54780
|
const initialValues = ref$1(/* @__PURE__ */ new Map());
|
|
@@ -55316,7 +55316,6 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
55316
55316
|
for (const [key, value] of Object.entries(data)) {
|
|
55317
55317
|
const node = getFormNodeByKey(key);
|
|
55318
55318
|
if (node) {
|
|
55319
|
-
debugger;
|
|
55320
55319
|
node.value = value;
|
|
55321
55320
|
if (triggerEvents && node.events) {
|
|
55322
55321
|
if (node.events.change && typeof node.events.change === "function") {
|
|
@@ -55622,7 +55621,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
55622
55621
|
};
|
|
55623
55622
|
}
|
|
55624
55623
|
});
|
|
55625
|
-
const NsForm = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
55624
|
+
const NsForm = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1cbe3748"]]);
|
|
55626
55625
|
const _hoisted_1$1 = { class: "title-image-view" };
|
|
55627
55626
|
const _hoisted_2 = { class: "content-model-title" };
|
|
55628
55627
|
const _hoisted_3 = { class: "title-text" };
|
|
@@ -55670,7 +55669,7 @@ function getAllFormKvData(rows) {
|
|
|
55670
55669
|
for (let colIndex = 0; colIndex < row.length; colIndex++) {
|
|
55671
55670
|
const item = row[colIndex];
|
|
55672
55671
|
if (item.key) {
|
|
55673
|
-
if ((item == null ? void 0 : item.value) && (item == null ? void 0 : item.delValue) && Array.isArray(item.value) && Array.isArray(item.delValue)
|
|
55672
|
+
if ((item == null ? void 0 : item.value) && (item == null ? void 0 : item.delValue) && Array.isArray(item.value) && Array.isArray(item.delValue)) {
|
|
55674
55673
|
result[item.key] = [...item.value, ...item.delValue];
|
|
55675
55674
|
} else {
|
|
55676
55675
|
result[item.key] = item.value ?? "";
|
|
@@ -55680,7 +55679,7 @@ function getAllFormKvData(rows) {
|
|
|
55680
55679
|
for (let childIndex = 0; childIndex < item.children.length; childIndex++) {
|
|
55681
55680
|
const child = item.children[childIndex];
|
|
55682
55681
|
if (child.key) {
|
|
55683
|
-
if ((child == null ? void 0 : child.value) && (child == null ? void 0 : child.delValue) && Array.isArray(child.value) && Array.isArray(child.delValue)
|
|
55682
|
+
if ((child == null ? void 0 : child.value) && (child == null ? void 0 : child.delValue) && Array.isArray(child.value) && Array.isArray(child.delValue)) {
|
|
55684
55683
|
result[child.key] = [...child.value, ...child.delValue];
|
|
55685
55684
|
} else {
|
|
55686
55685
|
result[child.key] = child.value ?? "";
|