matrix_components 2.0.393 → 2.0.400
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.
- package/README.md +8 -1
- package/dist/matrix_components.css +1 -1
- package/dist/matrix_components.js +22 -23
- package/dist/matrix_components.umd.cjs +1 -1
- package/package.json +1 -1
- package/dist/ComponentDemo/DialogDemo.vue +0 -210
- package/dist/ComponentDemo/ExampleFormConfig.js +0 -270
- package/dist/ComponentDemo/ExcelDemo.vue +0 -263
- package/dist/ComponentDemo/FormDemo copy 2.vue +0 -658
- package/dist/ComponentDemo/FormDemo copy.vue +0 -656
- package/dist/ComponentDemo/FormDemo.vue +0 -622
- package/dist/ComponentDemo/ImageDemo.vue +0 -27
- package/dist/ComponentDemo/MDDemo.vue +0 -20
- package/dist/ComponentDemo/OfficeDemo.vue +0 -189
- package/dist/ComponentDemo/PdfDemo.vue +0 -207
- package/dist/ComponentDemo/SaturationLineDemo.vue +0 -592
- package/dist/ComponentDemo/SimpleFormConfig.json +0 -97
- package/dist/ComponentDemo/Test.vue +0 -437
- package/dist/ComponentDemo/TestFormConfig.js +0 -129
- package/dist/ComponentDemo/VideoDemo.vue +0 -303
- package/dist/ComponentDemo/WordDemo.vue +0 -191
|
@@ -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());
|
|
@@ -55155,14 +55155,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
55155
55155
|
}
|
|
55156
55156
|
if (triggerEvents && JSON.stringify(oldValue) !== JSON.stringify(item.value) && item.events) {
|
|
55157
55157
|
if (item.events.change && typeof item.events.change === "function") {
|
|
55158
|
-
|
|
55158
|
+
nextTick(() => {
|
|
55159
55159
|
item.events.change(item.value);
|
|
55160
|
-
}
|
|
55160
|
+
});
|
|
55161
55161
|
}
|
|
55162
55162
|
if (item.events.input && typeof item.events.input === "function") {
|
|
55163
|
-
|
|
55163
|
+
nextTick(() => {
|
|
55164
55164
|
item.events.input(item.value);
|
|
55165
|
-
}
|
|
55165
|
+
});
|
|
55166
55166
|
}
|
|
55167
55167
|
}
|
|
55168
55168
|
}
|
|
@@ -55189,14 +55189,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
55189
55189
|
}
|
|
55190
55190
|
if (triggerEvents && JSON.stringify(oldChildValue) !== JSON.stringify(child.value) && child.events) {
|
|
55191
55191
|
if (child.events.change && typeof child.events.change === "function") {
|
|
55192
|
-
|
|
55192
|
+
nextTick(() => {
|
|
55193
55193
|
child.events.change(child.value);
|
|
55194
|
-
}
|
|
55194
|
+
});
|
|
55195
55195
|
}
|
|
55196
55196
|
if (child.events.input && typeof child.events.input === "function") {
|
|
55197
|
-
|
|
55197
|
+
nextTick(() => {
|
|
55198
55198
|
child.events.input(child.value);
|
|
55199
|
-
}
|
|
55199
|
+
});
|
|
55200
55200
|
}
|
|
55201
55201
|
}
|
|
55202
55202
|
}
|
|
@@ -55316,18 +55316,17 @@ 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") {
|
|
55323
|
-
|
|
55322
|
+
nextTick(() => {
|
|
55324
55323
|
node.events.change(value);
|
|
55325
|
-
}
|
|
55324
|
+
});
|
|
55326
55325
|
}
|
|
55327
55326
|
if (node.events.input && typeof node.events.input === "function") {
|
|
55328
|
-
|
|
55327
|
+
nextTick(() => {
|
|
55329
55328
|
node.events.input(value);
|
|
55330
|
-
}
|
|
55329
|
+
});
|
|
55331
55330
|
}
|
|
55332
55331
|
}
|
|
55333
55332
|
}
|
|
@@ -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 ?? "";
|