star-horse-lowcode 2.8.10 → 2.8.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.es.js +180 -220
- package/dist/types/index.d.ts +82 -72
- package/package.json +6 -6
package/dist/index.es.js
CHANGED
|
@@ -73097,8 +73097,8 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
73097
73097
|
cursor: "pointer"
|
|
73098
73098
|
})
|
|
73099
73099
|
]),
|
|
73100
|
-
_:
|
|
73101
|
-
},
|
|
73100
|
+
_: 1
|
|
73101
|
+
}, 8, ["size", "onClick", "title"])
|
|
73102
73102
|
])
|
|
73103
73103
|
]),
|
|
73104
73104
|
footer: withCtx(() => [
|
|
@@ -78138,8 +78138,15 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
78138
78138
|
const formFields = inject("formFields", {});
|
|
78139
78139
|
const loading = ref(null);
|
|
78140
78140
|
const starHorseFormListRef = ref(null);
|
|
78141
|
+
const enterEvent = (event) => {
|
|
78142
|
+
if (event.key === "Enter") {
|
|
78143
|
+
event.preventDefault();
|
|
78144
|
+
mergeData("continue");
|
|
78145
|
+
}
|
|
78146
|
+
};
|
|
78141
78147
|
const handleAddDetails = (row, type) => {
|
|
78142
78148
|
if (props.staticColumn == "Y" && type != 2) {
|
|
78149
|
+
document.addEventListener("keydown", enterEvent);
|
|
78143
78150
|
dynamicHandleAddForm(row, "add");
|
|
78144
78151
|
} else {
|
|
78145
78152
|
dynamicHandleAddRow(row, type);
|
|
@@ -78187,6 +78194,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
78187
78194
|
};
|
|
78188
78195
|
const closeAction = () => {
|
|
78189
78196
|
rowDialogVisible.value = false;
|
|
78197
|
+
document.removeEventListener("keydown", enterEvent);
|
|
78190
78198
|
};
|
|
78191
78199
|
const dynamicHandleAddRow = (row, type) => {
|
|
78192
78200
|
if (!dataForm.value[props.batchName]) {
|
|
@@ -78495,6 +78503,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
78495
78503
|
class: "sh-columns",
|
|
78496
78504
|
stripe: true,
|
|
78497
78505
|
virtual: true,
|
|
78506
|
+
"max-height": "400px",
|
|
78498
78507
|
"virtual-scroll-threshold": 10,
|
|
78499
78508
|
"virtual-scroll-options": {
|
|
78500
78509
|
scrollSensitivity: 60,
|
|
@@ -78542,8 +78551,8 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
78542
78551
|
_: 1
|
|
78543
78552
|
})
|
|
78544
78553
|
]),
|
|
78545
|
-
_:
|
|
78546
|
-
},
|
|
78554
|
+
_: 1
|
|
78555
|
+
}, 8, ["onMousedown"])
|
|
78547
78556
|
]),
|
|
78548
78557
|
_: 1
|
|
78549
78558
|
}, 8, ["label"]),
|
|
@@ -78622,7 +78631,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
78622
78631
|
|
|
78623
78632
|
/* unplugin-vue-components disabled */
|
|
78624
78633
|
|
|
78625
|
-
const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-
|
|
78634
|
+
const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-7c35ae6d"]]);
|
|
78626
78635
|
|
|
78627
78636
|
const StarHorseFormList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
78628
78637
|
__proto__: null,
|
|
@@ -124865,8 +124874,8 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
124865
124874
|
}, null, 8, ["value", "label"]);
|
|
124866
124875
|
}), 128))
|
|
124867
124876
|
]),
|
|
124868
|
-
_:
|
|
124869
|
-
},
|
|
124877
|
+
_: 1
|
|
124878
|
+
}, 8, ["size", "modelValue", "onUpdate:modelValue"]),
|
|
124870
124879
|
_cache[3] || (_cache[3] = createTextVNode(" ", -1))
|
|
124871
124880
|
], 64)) : createCommentVNode("", true),
|
|
124872
124881
|
createVNode(_component_star_horse_item, {
|
|
@@ -124906,8 +124915,8 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
124906
124915
|
}, null, 8, ["value", "label"]);
|
|
124907
124916
|
}), 128))
|
|
124908
124917
|
]),
|
|
124909
|
-
_:
|
|
124910
|
-
},
|
|
124918
|
+
_: 1
|
|
124919
|
+
}, 8, ["size", "modelValue", "onUpdate:modelValue"]),
|
|
124911
124920
|
_cache[4] || (_cache[4] = createTextVNode(" ", -1))
|
|
124912
124921
|
], 64)) : createCommentVNode("", true),
|
|
124913
124922
|
createVNode(_component_star_horse_item, {
|
|
@@ -130010,7 +130019,6 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
130010
130019
|
return (_ctx, _cache) => {
|
|
130011
130020
|
const _component_help = _sfc_main$1P;
|
|
130012
130021
|
const _component_draggable = resolveComponent("draggable");
|
|
130013
|
-
const _component_el_scrollbar = ElScrollbar;
|
|
130014
130022
|
const _component_el_card = ElCard;
|
|
130015
130023
|
const _component_group_container = __unplugin_components_1;
|
|
130016
130024
|
return openBlock(), createBlock(_component_group_container, {
|
|
@@ -130068,48 +130076,40 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
130068
130076
|
}, null, 40, ["field", "isDesign", "showFormItem", "disabled", "formInfo", "parentField", "formData"]))
|
|
130069
130077
|
], 4)
|
|
130070
130078
|
]),
|
|
130071
|
-
_:
|
|
130072
|
-
},
|
|
130079
|
+
_: 1
|
|
130080
|
+
}, 8, ["onAdd", "onDragover", "item-key", "modelValue", "onUpdate:modelValue"])
|
|
130073
130081
|
], 2)
|
|
130074
130082
|
])
|
|
130075
130083
|
]),
|
|
130076
130084
|
default: withCtx(() => [
|
|
130077
|
-
createVNode(
|
|
130078
|
-
|
|
130079
|
-
|
|
130085
|
+
createVNode(_component_draggable, {
|
|
130086
|
+
onAdd: (evt) => onDragAdd(evt, adata["items"]),
|
|
130087
|
+
onDragover: ($event) => checkItem(adata, "body"),
|
|
130088
|
+
class: normalizeClass(["card-design", { "dragging-area": isDragging.value }]),
|
|
130089
|
+
group: "starHorseGroup",
|
|
130090
|
+
animation: "100",
|
|
130091
|
+
"item-key": unref(uuid)(),
|
|
130092
|
+
ghostClass: "ghost",
|
|
130093
|
+
modelValue: adata["items"],
|
|
130094
|
+
"onUpdate:modelValue": ($event) => adata["items"] = $event
|
|
130080
130095
|
}, {
|
|
130081
|
-
|
|
130082
|
-
|
|
130083
|
-
|
|
130084
|
-
|
|
130085
|
-
|
|
130086
|
-
|
|
130087
|
-
|
|
130088
|
-
|
|
130089
|
-
|
|
130090
|
-
|
|
130091
|
-
|
|
130092
|
-
|
|
130093
|
-
|
|
130094
|
-
|
|
130095
|
-
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(item)), {
|
|
130096
|
-
key: item.id,
|
|
130097
|
-
field: item,
|
|
130098
|
-
isDesign: __props.isDesign,
|
|
130099
|
-
disabled: __props.disabled,
|
|
130100
|
-
showFormItem: __props.showFormItem,
|
|
130101
|
-
formInfo: __props.formInfo,
|
|
130102
|
-
parentField: __props.field,
|
|
130103
|
-
formData: formData.value,
|
|
130104
|
-
"onUpdate:formData": _cache[1] || (_cache[1] = ($event) => formData.value = $event)
|
|
130105
|
-
}, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
|
|
130106
|
-
])
|
|
130107
|
-
]),
|
|
130108
|
-
_: 2
|
|
130109
|
-
}, 1032, ["onAdd", "onDragover", "item-key", "modelValue", "onUpdate:modelValue"])
|
|
130096
|
+
item: withCtx(({ element: item }) => [
|
|
130097
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
130098
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(item)), {
|
|
130099
|
+
key: item.id,
|
|
130100
|
+
field: item,
|
|
130101
|
+
isDesign: __props.isDesign,
|
|
130102
|
+
disabled: __props.disabled,
|
|
130103
|
+
showFormItem: __props.showFormItem,
|
|
130104
|
+
formInfo: __props.formInfo,
|
|
130105
|
+
parentField: __props.field,
|
|
130106
|
+
formData: formData.value,
|
|
130107
|
+
"onUpdate:formData": _cache[1] || (_cache[1] = ($event) => formData.value = $event)
|
|
130108
|
+
}, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
|
|
130109
|
+
])
|
|
130110
130110
|
]),
|
|
130111
|
-
_:
|
|
130112
|
-
},
|
|
130111
|
+
_: 1
|
|
130112
|
+
}, 8, ["onAdd", "onDragover", "class", "item-key", "modelValue", "onUpdate:modelValue"])
|
|
130113
130113
|
]),
|
|
130114
130114
|
_: 2
|
|
130115
130115
|
}, 1032, ["shadow"]);
|
|
@@ -130190,7 +130190,6 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
130190
130190
|
);
|
|
130191
130191
|
return (_ctx, _cache) => {
|
|
130192
130192
|
const _component_draggable = resolveComponent("draggable");
|
|
130193
|
-
const _component_el_scrollbar = ElScrollbar;
|
|
130194
130193
|
const _component_el_collapse_item = ElCollapseItem;
|
|
130195
130194
|
const _component_el_collapse = ElCollapse;
|
|
130196
130195
|
const _component_group_container = __unplugin_components_1;
|
|
@@ -130220,41 +130219,33 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
130220
130219
|
])
|
|
130221
130220
|
]),
|
|
130222
130221
|
default: withCtx(() => [
|
|
130223
|
-
createVNode(
|
|
130224
|
-
|
|
130225
|
-
|
|
130222
|
+
createVNode(_component_draggable, {
|
|
130223
|
+
onAdd: (evt) => onDragAdd(evt, adata["items"]),
|
|
130224
|
+
onDragover: ($event) => checkItem(adata),
|
|
130225
|
+
class: normalizeClass(["card-design", { "dragging-area": isDragging.value }]),
|
|
130226
|
+
group: "starHorseGroup",
|
|
130227
|
+
animation: "100",
|
|
130228
|
+
"item-key": unref(uuid)(),
|
|
130229
|
+
ghostClass: "ghost",
|
|
130230
|
+
list: adata["items"]
|
|
130226
130231
|
}, {
|
|
130227
|
-
|
|
130228
|
-
|
|
130229
|
-
|
|
130230
|
-
|
|
130231
|
-
|
|
130232
|
-
|
|
130233
|
-
|
|
130234
|
-
|
|
130235
|
-
|
|
130236
|
-
|
|
130237
|
-
|
|
130238
|
-
|
|
130239
|
-
|
|
130240
|
-
|
|
130241
|
-
key: data.id,
|
|
130242
|
-
field: data,
|
|
130243
|
-
isDesign: __props.isDesign,
|
|
130244
|
-
disabled: __props.disabled,
|
|
130245
|
-
showFormItem: __props.showFormItem,
|
|
130246
|
-
formInfo: __props.formInfo,
|
|
130247
|
-
parentField: __props.field,
|
|
130248
|
-
formData: formData.value,
|
|
130249
|
-
"onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
|
|
130250
|
-
}, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
|
|
130251
|
-
])
|
|
130252
|
-
]),
|
|
130253
|
-
_: 2
|
|
130254
|
-
}, 1032, ["onAdd", "onDragover", "item-key", "list"])
|
|
130232
|
+
item: withCtx(({ element: data }) => [
|
|
130233
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
130234
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
130235
|
+
key: data.id,
|
|
130236
|
+
field: data,
|
|
130237
|
+
isDesign: __props.isDesign,
|
|
130238
|
+
disabled: __props.disabled,
|
|
130239
|
+
showFormItem: __props.showFormItem,
|
|
130240
|
+
formInfo: __props.formInfo,
|
|
130241
|
+
parentField: __props.field,
|
|
130242
|
+
formData: formData.value,
|
|
130243
|
+
"onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
|
|
130244
|
+
}, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
|
|
130245
|
+
])
|
|
130255
130246
|
]),
|
|
130256
|
-
_:
|
|
130257
|
-
},
|
|
130247
|
+
_: 1
|
|
130248
|
+
}, 8, ["onAdd", "onDragover", "class", "item-key", "list"])
|
|
130258
130249
|
]),
|
|
130259
130250
|
_: 2
|
|
130260
130251
|
}, 1032, ["name"]);
|
|
@@ -130271,7 +130262,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
130271
130262
|
|
|
130272
130263
|
/* unplugin-vue-components disabled */
|
|
130273
130264
|
|
|
130274
|
-
const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-
|
|
130265
|
+
const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-2a746e73"]]);
|
|
130275
130266
|
|
|
130276
130267
|
const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
130277
130268
|
__proto__: null,
|
|
@@ -130631,7 +130622,6 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
130631
130622
|
};
|
|
130632
130623
|
return (_ctx, _cache) => {
|
|
130633
130624
|
const _component_draggable = resolveComponent("draggable");
|
|
130634
|
-
const _component_el_scrollbar = ElScrollbar;
|
|
130635
130625
|
const _component_el_tab_pane = ElTabPane;
|
|
130636
130626
|
const _component_el_tabs = ElTabs;
|
|
130637
130627
|
const _component_group_container = __unplugin_components_1;
|
|
@@ -130667,44 +130657,36 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
130667
130657
|
name: adata["tabName"]
|
|
130668
130658
|
}, {
|
|
130669
130659
|
default: withCtx(() => [
|
|
130670
|
-
createVNode(
|
|
130671
|
-
|
|
130672
|
-
|
|
130660
|
+
createVNode(_component_draggable, {
|
|
130661
|
+
onAdd: (evt) => onDragAdd(evt, adata["items"]),
|
|
130662
|
+
onDragover: ($event) => checkItem(adata),
|
|
130663
|
+
class: normalizeClass(["tab-design", { "dragging-area": isDragging.value }]),
|
|
130664
|
+
group: "starHorseGroup",
|
|
130665
|
+
animation: "100",
|
|
130666
|
+
"item-key": unref(uuid)(),
|
|
130667
|
+
ghostClass: "ghost",
|
|
130668
|
+
list: adata["items"]
|
|
130673
130669
|
}, {
|
|
130674
|
-
|
|
130675
|
-
|
|
130676
|
-
|
|
130677
|
-
|
|
130678
|
-
|
|
130679
|
-
|
|
130680
|
-
|
|
130681
|
-
|
|
130682
|
-
|
|
130683
|
-
|
|
130684
|
-
|
|
130685
|
-
|
|
130686
|
-
|
|
130687
|
-
|
|
130688
|
-
|
|
130689
|
-
|
|
130690
|
-
|
|
130691
|
-
key: data.id,
|
|
130692
|
-
field: data,
|
|
130693
|
-
isDesign: __props.isDesign,
|
|
130694
|
-
disabled: __props.disabled,
|
|
130695
|
-
showFormItem: __props.showFormItem,
|
|
130696
|
-
formInfo: __props.formInfo,
|
|
130697
|
-
parentField: __props.field,
|
|
130698
|
-
formData: formData.value,
|
|
130699
|
-
"onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
|
|
130700
|
-
}, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
|
|
130701
|
-
], 4)
|
|
130702
|
-
]),
|
|
130703
|
-
_: 2
|
|
130704
|
-
}, 1032, ["onAdd", "onDragover", "item-key", "list"])
|
|
130670
|
+
item: withCtx(({ element: data }) => [
|
|
130671
|
+
createElementVNode("div", {
|
|
130672
|
+
class: "comp-item",
|
|
130673
|
+
style: normalizeStyle({ marginTop: isContainer(data) ? "25px" : "10px" })
|
|
130674
|
+
}, [
|
|
130675
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
130676
|
+
key: data.id,
|
|
130677
|
+
field: data,
|
|
130678
|
+
isDesign: __props.isDesign,
|
|
130679
|
+
disabled: __props.disabled,
|
|
130680
|
+
showFormItem: __props.showFormItem,
|
|
130681
|
+
formInfo: __props.formInfo,
|
|
130682
|
+
parentField: __props.field,
|
|
130683
|
+
formData: formData.value,
|
|
130684
|
+
"onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
|
|
130685
|
+
}, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
|
|
130686
|
+
], 4)
|
|
130705
130687
|
]),
|
|
130706
|
-
_:
|
|
130707
|
-
},
|
|
130688
|
+
_: 1
|
|
130689
|
+
}, 8, ["onAdd", "onDragover", "class", "item-key", "list"])
|
|
130708
130690
|
]),
|
|
130709
130691
|
_: 2
|
|
130710
130692
|
}, 1032, ["label", "name"]);
|
|
@@ -130909,8 +130891,8 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
130909
130891
|
}, null, 40, ["field", "showFormItem", "isDesign", "disabled", "formInfo", "parentField", "formData"]))
|
|
130910
130892
|
])
|
|
130911
130893
|
]),
|
|
130912
|
-
_:
|
|
130913
|
-
},
|
|
130894
|
+
_: 1
|
|
130895
|
+
}, 8, ["onAdd", "item-key", "list"])
|
|
130914
130896
|
], 46, _hoisted_4$a);
|
|
130915
130897
|
}), 256))
|
|
130916
130898
|
])
|
|
@@ -249848,76 +249830,68 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
249848
249830
|
const _component_star_horse_icon = __unplugin_components_0$a;
|
|
249849
249831
|
const _component_el_collapse_item = ElCollapseItem;
|
|
249850
249832
|
const _component_el_collapse = ElCollapse;
|
|
249851
|
-
|
|
249852
|
-
return _ctx.item.collapseList?.length > 0 ? (openBlock(), createBlock(_component_el_scrollbar, {
|
|
249833
|
+
return _ctx.item.collapseList?.length > 0 ? (openBlock(), createBlock(_component_el_collapse, mergeProps({
|
|
249853
249834
|
key: 0,
|
|
249854
|
-
|
|
249855
|
-
|
|
249835
|
+
modelValue: _ctx.item.fieldName,
|
|
249836
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.item.fieldName = $event)
|
|
249837
|
+
}, unref(prepsFilter)(_ctx.item.preps), {
|
|
249838
|
+
onChange: _cache[1] || (_cache[1] = (data) => _ctx.item.actions?.["change"]?.(data))
|
|
249839
|
+
}), {
|
|
249856
249840
|
default: withCtx(() => [
|
|
249857
|
-
|
|
249858
|
-
|
|
249859
|
-
|
|
249860
|
-
|
|
249861
|
-
|
|
249862
|
-
|
|
249863
|
-
|
|
249864
|
-
|
|
249865
|
-
|
|
249866
|
-
|
|
249867
|
-
|
|
249868
|
-
|
|
249869
|
-
|
|
249870
|
-
|
|
249871
|
-
|
|
249872
|
-
|
|
249873
|
-
createElementVNode("div", _hoisted_1$6, [
|
|
249874
|
-
createElementVNode("div", _hoisted_2$4, [
|
|
249875
|
-
createTextVNode(toDisplayString(collapseItem.title) + " ", 1),
|
|
249876
|
-
collapseItem.helpMsg ? (openBlock(), createBlock(_component_help, {
|
|
249877
|
-
key: 0,
|
|
249878
|
-
message: collapseItem.helpMsg
|
|
249879
|
-
}, null, 8, ["message"])) : createCommentVNode("", true)
|
|
249880
|
-
]),
|
|
249881
|
-
collapseItem.icon ? (openBlock(), createBlock(_component_star_horse_icon, {
|
|
249882
|
-
key: 0,
|
|
249883
|
-
"icon-class": collapseItem.icon
|
|
249884
|
-
}, null, 8, ["icon-class"])) : createCommentVNode("", true)
|
|
249885
|
-
])
|
|
249886
|
-
]),
|
|
249887
|
-
default: withCtx(() => [
|
|
249888
|
-
createVNode(_sfc_main$1y, {
|
|
249889
|
-
source: _ctx.source,
|
|
249890
|
-
compUrl: _ctx.compUrl,
|
|
249891
|
-
compSize: _ctx.compSize,
|
|
249892
|
-
onAddRow: addRow,
|
|
249893
|
-
onRemoveRow: removeRow,
|
|
249894
|
-
objectName: collapseItem.objectName,
|
|
249895
|
-
dataForm: unref(getFormData)(collapseItem, dataForm.value, _ctx.propPrefix, _ctx.dataIndex, key),
|
|
249896
|
-
dataIndex: unref(getDataIndex)(collapseItem, _ctx.propPrefix, _ctx.dataIndex, key),
|
|
249897
|
-
propPrefix: unref(getPrefix)(collapseItem, _ctx.propPrefix, _ctx.dataIndex, key),
|
|
249898
|
-
fieldList: collapseItem,
|
|
249899
|
-
rules: _ctx.rules,
|
|
249900
|
-
subFormFlag: collapseItem.subFormFlag,
|
|
249901
|
-
primaryKey: _ctx.primaryKey
|
|
249902
|
-
}, null, 8, ["source", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
|
|
249841
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.item.collapseList, (collapseItem, key) => {
|
|
249842
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
249843
|
+
Object.keys(collapseItem).length > 0 ? (openBlock(), createBlock(_component_el_collapse_item, {
|
|
249844
|
+
key: 0,
|
|
249845
|
+
name: collapseItem.tabName || key,
|
|
249846
|
+
disabled: collapseItem.disabled,
|
|
249847
|
+
index: unref(checkObject)(dataForm.value, collapseItem, key, _ctx.dataIndex, _ctx.propPrefix)
|
|
249848
|
+
}, {
|
|
249849
|
+
title: withCtx(() => [
|
|
249850
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
249851
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
249852
|
+
createTextVNode(toDisplayString(collapseItem.title) + " ", 1),
|
|
249853
|
+
collapseItem.helpMsg ? (openBlock(), createBlock(_component_help, {
|
|
249854
|
+
key: 0,
|
|
249855
|
+
message: collapseItem.helpMsg
|
|
249856
|
+
}, null, 8, ["message"])) : createCommentVNode("", true)
|
|
249903
249857
|
]),
|
|
249904
|
-
|
|
249905
|
-
|
|
249906
|
-
|
|
249907
|
-
|
|
249908
|
-
|
|
249909
|
-
|
|
249910
|
-
|
|
249858
|
+
collapseItem.icon ? (openBlock(), createBlock(_component_star_horse_icon, {
|
|
249859
|
+
key: 0,
|
|
249860
|
+
"icon-class": collapseItem.icon
|
|
249861
|
+
}, null, 8, ["icon-class"])) : createCommentVNode("", true)
|
|
249862
|
+
])
|
|
249863
|
+
]),
|
|
249864
|
+
default: withCtx(() => [
|
|
249865
|
+
createVNode(_sfc_main$1y, {
|
|
249866
|
+
source: _ctx.source,
|
|
249867
|
+
compUrl: _ctx.compUrl,
|
|
249868
|
+
compSize: _ctx.compSize,
|
|
249869
|
+
onAddRow: addRow,
|
|
249870
|
+
onRemoveRow: removeRow,
|
|
249871
|
+
objectName: collapseItem.objectName,
|
|
249872
|
+
dataForm: unref(getFormData)(collapseItem, dataForm.value, _ctx.propPrefix, _ctx.dataIndex, key),
|
|
249873
|
+
dataIndex: unref(getDataIndex)(collapseItem, _ctx.propPrefix, _ctx.dataIndex, key),
|
|
249874
|
+
propPrefix: unref(getPrefix)(collapseItem, _ctx.propPrefix, _ctx.dataIndex, key),
|
|
249875
|
+
fieldList: collapseItem,
|
|
249876
|
+
rules: _ctx.rules,
|
|
249877
|
+
subFormFlag: collapseItem.subFormFlag,
|
|
249878
|
+
primaryKey: _ctx.primaryKey
|
|
249879
|
+
}, null, 8, ["source", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
|
|
249880
|
+
]),
|
|
249881
|
+
_: 2
|
|
249882
|
+
}, 1032, ["name", "disabled", "index"])) : createCommentVNode("", true)
|
|
249883
|
+
], 64);
|
|
249884
|
+
}), 256))
|
|
249911
249885
|
]),
|
|
249912
249886
|
_: 1
|
|
249913
|
-
})) : createCommentVNode("", true);
|
|
249887
|
+
}, 16, ["modelValue"])) : createCommentVNode("", true);
|
|
249914
249888
|
};
|
|
249915
249889
|
}
|
|
249916
249890
|
});
|
|
249917
249891
|
|
|
249918
249892
|
/* unplugin-vue-components disabled */
|
|
249919
249893
|
|
|
249920
|
-
const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
249894
|
+
const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b3a2b996"]]);
|
|
249921
249895
|
|
|
249922
249896
|
const collapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
249923
249897
|
__proto__: null,
|
|
@@ -250136,7 +250110,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
250136
250110
|
return (_ctx, _cache) => {
|
|
250137
250111
|
const _component_star_horse_icon = __unplugin_components_0$a;
|
|
250138
250112
|
const _component_star_horse_form_item = _sfc_main$1y;
|
|
250139
|
-
const _component_el_scrollbar = ElScrollbar;
|
|
250140
250113
|
const _component_star_horse_form_table = _sfc_main$1A;
|
|
250141
250114
|
const _component_el_tab_pane = ElTabPane;
|
|
250142
250115
|
return __props.item["disVisible"] ?? Object.keys(__props.item).length > 0 ? (openBlock(), createBlock(_component_el_tab_pane, {
|
|
@@ -250144,7 +250117,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
250144
250117
|
label: __props.item["title"],
|
|
250145
250118
|
name: __props.item.tabName || "tab" + __props.itemKey,
|
|
250146
250119
|
disabled: __props.item.disabled,
|
|
250147
|
-
class: "h-full flex flex-col"
|
|
250120
|
+
class: "h-full flex flex-col w-[99%] mx-auto"
|
|
250148
250121
|
}, {
|
|
250149
250122
|
label: withCtx(() => [
|
|
250150
250123
|
createElementVNode("div", _hoisted_1$4, [
|
|
@@ -250156,29 +250129,22 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
250156
250129
|
])
|
|
250157
250130
|
]),
|
|
250158
250131
|
default: withCtx(() => [
|
|
250159
|
-
__props.parentType == "tab" && __props.item.tableFlag != "Y" || __props.item.formFlag == "Y" ? (openBlock(), createBlock(
|
|
250132
|
+
__props.parentType == "tab" && __props.item.tableFlag != "Y" || __props.item.formFlag == "Y" ? (openBlock(), createBlock(_component_star_horse_form_item, {
|
|
250160
250133
|
key: 0,
|
|
250161
|
-
|
|
250162
|
-
|
|
250163
|
-
|
|
250164
|
-
|
|
250165
|
-
|
|
250166
|
-
|
|
250167
|
-
|
|
250168
|
-
|
|
250169
|
-
|
|
250170
|
-
|
|
250171
|
-
|
|
250172
|
-
|
|
250173
|
-
|
|
250174
|
-
|
|
250175
|
-
rules: __props.rules,
|
|
250176
|
-
subFormFlag: __props.item.subFormFlag,
|
|
250177
|
-
primaryKey: __props.item.primaryKey
|
|
250178
|
-
}, null, 8, ["source", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
|
|
250179
|
-
]),
|
|
250180
|
-
_: 1
|
|
250181
|
-
})) : __props.parentType == "batch" || __props.item.tableFlag == "Y" ? (openBlock(), createBlock(_component_star_horse_form_table, {
|
|
250134
|
+
source: __props.source,
|
|
250135
|
+
compUrl: __props.compUrl,
|
|
250136
|
+
compSize: __props.compSize,
|
|
250137
|
+
onAddRow: addRow,
|
|
250138
|
+
onRemoveRow: removeRow,
|
|
250139
|
+
objectName: __props.item.objectName,
|
|
250140
|
+
dataForm: unref(getFormData)(__props.item, dataForm.value, __props.propPrefix, __props.dataIndex, __props.itemKey),
|
|
250141
|
+
dataIndex: unref(getDataIndex)(__props.item, __props.propPrefix, __props.dataIndex, __props.itemKey),
|
|
250142
|
+
propPrefix: unref(getPrefix)(__props.item, __props.propPrefix, __props.dataIndex, __props.itemKey),
|
|
250143
|
+
fieldList: __props.item,
|
|
250144
|
+
rules: __props.rules,
|
|
250145
|
+
subFormFlag: __props.item.subFormFlag,
|
|
250146
|
+
primaryKey: __props.item.primaryKey
|
|
250147
|
+
}, null, 8, ["source", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])) : __props.parentType == "batch" || __props.item.tableFlag == "Y" ? (openBlock(), createBlock(_component_star_horse_form_table, {
|
|
250182
250148
|
key: 1,
|
|
250183
250149
|
size: __props.compSize,
|
|
250184
250150
|
onAddRow: addRow,
|
|
@@ -250197,7 +250163,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
250197
250163
|
|
|
250198
250164
|
/* unplugin-vue-components disabled */
|
|
250199
250165
|
|
|
250200
|
-
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
250166
|
+
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-31409596"]]);
|
|
250201
250167
|
|
|
250202
250168
|
const tabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
250203
250169
|
__proto__: null,
|
|
@@ -250331,7 +250297,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
250331
250297
|
|
|
250332
250298
|
/* unplugin-vue-components disabled */
|
|
250333
250299
|
|
|
250334
|
-
const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
250300
|
+
const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-70d5f20d"]]);
|
|
250335
250301
|
|
|
250336
250302
|
const tabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
250337
250303
|
__proto__: null,
|
|
@@ -250498,7 +250464,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
250498
250464
|
});
|
|
250499
250465
|
return (_ctx, _cache) => {
|
|
250500
250466
|
const _component_star_horse_data_view_items = _sfc_main$1G;
|
|
250501
|
-
const _component_el_scrollbar = ElScrollbar;
|
|
250502
250467
|
const _component_el_collapse_item = ElCollapseItem;
|
|
250503
250468
|
const _component_el_collapse = ElCollapse;
|
|
250504
250469
|
return __props.item.collapseList?.length > 0 ? (openBlock(), createBlock(_component_el_collapse, {
|
|
@@ -250518,19 +250483,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
250518
250483
|
index: unref(checkObject)(dataForm.value, collapseItem, key, __props.dataIndex, "")
|
|
250519
250484
|
}, {
|
|
250520
250485
|
default: withCtx(() => [
|
|
250521
|
-
createVNode(
|
|
250522
|
-
|
|
250523
|
-
|
|
250524
|
-
|
|
250525
|
-
|
|
250526
|
-
|
|
250527
|
-
|
|
250528
|
-
|
|
250529
|
-
subFormFlag: collapseItem.subFormFlag
|
|
250530
|
-
}, null, 8, ["dataForm", "onUpdate:dataForm", "objectName", "commonFormat", "fieldList", "subFormFlag"])
|
|
250531
|
-
]),
|
|
250532
|
-
_: 2
|
|
250533
|
-
}, 1024)
|
|
250486
|
+
createVNode(_component_star_horse_data_view_items, {
|
|
250487
|
+
dataForm: dataForm.value[collapseItem.objectName],
|
|
250488
|
+
"onUpdate:dataForm": ($event) => dataForm.value[collapseItem.objectName] = $event,
|
|
250489
|
+
objectName: collapseItem.objectName,
|
|
250490
|
+
commonFormat: __props.commonFormat,
|
|
250491
|
+
fieldList: collapseItem,
|
|
250492
|
+
subFormFlag: collapseItem.subFormFlag
|
|
250493
|
+
}, null, 8, ["dataForm", "onUpdate:dataForm", "objectName", "commonFormat", "fieldList", "subFormFlag"])
|
|
250534
250494
|
]),
|
|
250535
250495
|
_: 2
|
|
250536
250496
|
}, 1032, ["title", "name", "index"])) : createCommentVNode("", true)
|
|
@@ -250545,7 +250505,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
250545
250505
|
|
|
250546
250506
|
/* unplugin-vue-components disabled */
|
|
250547
250507
|
|
|
250548
|
-
const viewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
250508
|
+
const viewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a900b0a4"]]);
|
|
250549
250509
|
|
|
250550
250510
|
const viewCollapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
250551
250511
|
__proto__: null,
|