star-horse-lowcode 2.7.9 → 2.7.11
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 +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +7 -6
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -97185,7 +97185,7 @@ 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 == "
|
|
97188
|
+
__props.item.type == "usercomp" ? (openBlock(), createBlock(_component_star_horse_item, {
|
|
97189
97189
|
key: 0,
|
|
97190
97190
|
primaryKey: "id",
|
|
97191
97191
|
dataForm: dataForm.value,
|
|
@@ -101891,11 +101891,12 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
101891
101891
|
primaryKey: { type: [String, Object] }
|
|
101892
101892
|
},
|
|
101893
101893
|
setup(__props) {
|
|
101894
|
+
const exclusionFields = ["divider", "button", "usercomp"];
|
|
101894
101895
|
return (_ctx, _cache) => {
|
|
101895
101896
|
const _component_star_horse_form_list = __unplugin_components_0$3;
|
|
101896
101897
|
const _component_sh_table_list_column = _sfc_main$1E;
|
|
101897
101898
|
const _component_el_table_column = ElTableColumn;
|
|
101898
|
-
return __props.item.formVisible ? (openBlock(), createBlock(_component_el_table_column, {
|
|
101899
|
+
return __props.item.formVisible && !exclusionFields.includes(__props.item.type) ? (openBlock(), createBlock(_component_el_table_column, {
|
|
101899
101900
|
key: 0,
|
|
101900
101901
|
prop: __props.item.fieldName,
|
|
101901
101902
|
label: __props.item.label,
|
|
@@ -102566,7 +102567,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
102566
102567
|
return (_ctx, _cache) => {
|
|
102567
102568
|
const _component_star_horse_item = StarHorseItem;
|
|
102568
102569
|
const _component_el_form_item = ElFormItem;
|
|
102569
|
-
return __props.item.type == "
|
|
102570
|
+
return __props.item.type == "usercomp" || __props.item.type == "button" ? (openBlock(), createBlock(_component_star_horse_item, {
|
|
102570
102571
|
key: 0,
|
|
102571
102572
|
primaryKey: __props.primaryKey,
|
|
102572
102573
|
dataForm: dataForm.value,
|
|
@@ -103156,7 +103157,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
103156
103157
|
default: withCtx(() => [
|
|
103157
103158
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.item, (sitem) => {
|
|
103158
103159
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
103159
|
-
sitem.type != "button" && sitem.type != "
|
|
103160
|
+
sitem.type != "button" && sitem.type != "usercomp" ? (openBlock(), createBlock(_component_el_col, {
|
|
103160
103161
|
key: 0,
|
|
103161
103162
|
span: sitem.colspan || sitem.preps?.colspan || 24 / __props.item.length
|
|
103162
103163
|
}, {
|
|
@@ -110334,7 +110335,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
110334
110335
|
fieldList: {
|
|
110335
110336
|
fieldList: _ctx.field.preps?.fieldList
|
|
110336
110337
|
}
|
|
110337
|
-
}, null, 8, ["fieldList"])) : _ctx.field.preps?.viewType == "
|
|
110338
|
+
}, null, 8, ["fieldList"])) : _ctx.field.preps?.viewType == "usercomp" ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.field.preps?.componentName), {
|
|
110338
110339
|
key: 1,
|
|
110339
110340
|
ref: "btnCompRef",
|
|
110340
110341
|
params: _ctx.field.preps?.params
|
|
@@ -110380,7 +110381,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
110380
110381
|
}, 8, ["isDesign", "bareFlag", "form-item", "parentField"])
|
|
110381
110382
|
], 64);
|
|
110382
110383
|
}
|
|
110383
|
-
const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$C], ["__scopeId", "data-v-
|
|
110384
|
+
const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$C], ["__scopeId", "data-v-17dd4ad1"]]);
|
|
110384
110385
|
|
|
110385
110386
|
const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
110386
110387
|
__proto__: null,
|