star-horse-lowcode 2.7.10 → 2.7.12
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 +3 -1
- package/dist/index.cjs.js +20 -20
- package/dist/index.es.js +25 -20
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -97185,14 +97185,16 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
97185
97185
|
const _component_star_horse_item = StarHorseItem;
|
|
97186
97186
|
const _component_el_tooltip = ElTooltip;
|
|
97187
97187
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
97188
|
-
__props.item.type == "usercomp" ? (openBlock(),
|
|
97189
|
-
|
|
97190
|
-
|
|
97191
|
-
|
|
97192
|
-
|
|
97193
|
-
|
|
97194
|
-
|
|
97195
|
-
|
|
97188
|
+
__props.item.type == "usercomp" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
97189
|
+
__props.item.formVisible || __props.item.listVisible || __props.item.viewVisible ? (openBlock(), createBlock(_component_star_horse_item, {
|
|
97190
|
+
key: 0,
|
|
97191
|
+
primaryKey: "id",
|
|
97192
|
+
dataForm: dataForm.value,
|
|
97193
|
+
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
97194
|
+
item: __props.item,
|
|
97195
|
+
isView: true
|
|
97196
|
+
}, null, 8, ["dataForm", "item"])) : createCommentVNode("", true)
|
|
97197
|
+
], 64)) : createCommentVNode("", true),
|
|
97196
97198
|
__props.item.formVisible || __props.item.listVisible || __props.item.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
97197
97199
|
createElementVNode("label", null, toDisplayString(__props.item.label) + " :", 1),
|
|
97198
97200
|
createElementVNode("div", _hoisted_2$x, [
|
|
@@ -101891,11 +101893,12 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
101891
101893
|
primaryKey: { type: [String, Object] }
|
|
101892
101894
|
},
|
|
101893
101895
|
setup(__props) {
|
|
101896
|
+
const exclusionFields = ["divider", "button", "usercomp"];
|
|
101894
101897
|
return (_ctx, _cache) => {
|
|
101895
101898
|
const _component_star_horse_form_list = __unplugin_components_0$3;
|
|
101896
101899
|
const _component_sh_table_list_column = _sfc_main$1E;
|
|
101897
101900
|
const _component_el_table_column = ElTableColumn;
|
|
101898
|
-
return __props.item.formVisible ? (openBlock(), createBlock(_component_el_table_column, {
|
|
101901
|
+
return __props.item.formVisible && !exclusionFields.includes(__props.item.type) ? (openBlock(), createBlock(_component_el_table_column, {
|
|
101899
101902
|
key: 0,
|
|
101900
101903
|
prop: __props.item.fieldName,
|
|
101901
101904
|
label: __props.item.label,
|
|
@@ -102566,17 +102569,19 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
102566
102569
|
return (_ctx, _cache) => {
|
|
102567
102570
|
const _component_star_horse_item = StarHorseItem;
|
|
102568
102571
|
const _component_el_form_item = ElFormItem;
|
|
102569
|
-
return __props.item.type == "usercomp" || __props.item.type == "button" ? (openBlock(),
|
|
102570
|
-
|
|
102571
|
-
|
|
102572
|
-
|
|
102573
|
-
|
|
102574
|
-
|
|
102575
|
-
|
|
102576
|
-
|
|
102577
|
-
|
|
102578
|
-
|
|
102579
|
-
|
|
102572
|
+
return __props.item.type == "usercomp" || __props.item.type == "button" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
102573
|
+
unref(checkVisible)(__props.item, dataForm.value) ? (openBlock(), createBlock(_component_star_horse_item, {
|
|
102574
|
+
key: 0,
|
|
102575
|
+
primaryKey: __props.primaryKey,
|
|
102576
|
+
dataForm: dataForm.value,
|
|
102577
|
+
"onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
|
|
102578
|
+
item: __props.item,
|
|
102579
|
+
dataIndex: __props.dataIndex,
|
|
102580
|
+
bareFlag: true,
|
|
102581
|
+
compSize: __props.compSize,
|
|
102582
|
+
isEdit: __props.isEdit
|
|
102583
|
+
}, null, 8, ["primaryKey", "dataForm", "item", "dataIndex", "compSize", "isEdit"])) : createCommentVNode("", true)
|
|
102584
|
+
], 64)) : unref(checkVisible)(__props.item, dataForm.value) ? (openBlock(), createBlock(_component_el_form_item, {
|
|
102580
102585
|
key: 1,
|
|
102581
102586
|
size: __props.compSize,
|
|
102582
102587
|
label: __props.item.preps?.hideLabel == "Y" ? "" : __props.item.label,
|