star-horse-lowcode 2.8.2 → 2.8.4
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 +2 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +252 -190
- package/dist/types/index.d.ts +12 -4
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -68600,9 +68600,9 @@ function formFieldMapping(fieldList) {
|
|
|
68600
68600
|
fieldName: item.fieldName
|
|
68601
68601
|
});
|
|
68602
68602
|
}
|
|
68603
|
+
formFields.push(item);
|
|
68603
68604
|
});
|
|
68604
68605
|
batchDefaultValues[temp.batchName + "DefaultValue"].push(tempData);
|
|
68605
|
-
formFields.push(...fieldList2);
|
|
68606
68606
|
}
|
|
68607
68607
|
};
|
|
68608
68608
|
const fieldsOperation = (dataList, defaultData) => {
|
|
@@ -68628,8 +68628,8 @@ function formFieldMapping(fieldList) {
|
|
|
68628
68628
|
fieldName: item.fieldName
|
|
68629
68629
|
});
|
|
68630
68630
|
}
|
|
68631
|
+
formFields.push(item);
|
|
68631
68632
|
});
|
|
68632
|
-
formFields.push(...temp);
|
|
68633
68633
|
} else if (temp["tabList"] || temp["collapseList"] || temp["cardList"]) {
|
|
68634
68634
|
const tabList = temp["tabList"] || temp["collapseList"] || temp["cardList"];
|
|
68635
68635
|
for (const index in tabList) {
|
|
@@ -69492,6 +69492,7 @@ const fieldAssign = (props, relationFields, values) => {
|
|
|
69492
69492
|
const field = props.formInfo?.find((field2) => field2.fieldName == item);
|
|
69493
69493
|
if (field) {
|
|
69494
69494
|
let flag = false;
|
|
69495
|
+
field.formVisible = true;
|
|
69495
69496
|
Object.entries(record).forEach(([key, value]) => {
|
|
69496
69497
|
if (value.includes(field.itemType ?? field.type)) {
|
|
69497
69498
|
field.preps[key] = values;
|
|
@@ -69500,86 +69501,127 @@ const fieldAssign = (props, relationFields, values) => {
|
|
|
69500
69501
|
}
|
|
69501
69502
|
});
|
|
69502
69503
|
if (!flag) {
|
|
69503
|
-
|
|
69504
|
+
if (isJson(values)) {
|
|
69505
|
+
Object.entries(values).forEach(([key, value]) => {
|
|
69506
|
+
field.preps[key] = value;
|
|
69507
|
+
});
|
|
69508
|
+
} else if (!Array.isArray(values)) {
|
|
69509
|
+
field.defaultValue = values;
|
|
69510
|
+
}
|
|
69504
69511
|
}
|
|
69505
69512
|
}
|
|
69506
69513
|
});
|
|
69507
69514
|
};
|
|
69508
69515
|
const dataLinkage = async (props, item, e) => {
|
|
69509
|
-
|
|
69510
|
-
if (!relationFields) {
|
|
69516
|
+
if (item.isWorking) {
|
|
69511
69517
|
return;
|
|
69512
69518
|
}
|
|
69513
|
-
|
|
69514
|
-
|
|
69515
|
-
|
|
69516
|
-
|
|
69517
|
-
|
|
69518
|
-
tempParams.queryParams.push(
|
|
69519
|
-
createCondition(item.matchFieldName, e, item.matchType)
|
|
69520
|
-
);
|
|
69521
|
-
const resultData = await dynamicUrlOperation({
|
|
69522
|
-
preps: {
|
|
69523
|
-
...tempParams
|
|
69519
|
+
item.isWorking = true;
|
|
69520
|
+
try {
|
|
69521
|
+
let { relationFields, params, matchFieldValue } = item;
|
|
69522
|
+
if (!Array.isArray(matchFieldValue)) {
|
|
69523
|
+
matchFieldValue = matchFieldValue ? [matchFieldValue] : [];
|
|
69524
69524
|
}
|
|
69525
|
-
|
|
69526
|
-
|
|
69525
|
+
if (matchFieldValue.length > 0 && !matchFieldValue.includes(item.controlCondition)) {
|
|
69526
|
+
return;
|
|
69527
|
+
}
|
|
69528
|
+
if (!Array.isArray(relationFields)) {
|
|
69529
|
+
relationFields = [relationFields];
|
|
69530
|
+
}
|
|
69531
|
+
const tempParams = { ...params };
|
|
69532
|
+
if (item.controlCondition == "asParamDataLinkage") {
|
|
69533
|
+
tempParams.queryParams = tempParams.queryParams || [];
|
|
69534
|
+
tempParams.queryParams.push(
|
|
69535
|
+
createCondition(item.matchFieldName, e, item.matchType)
|
|
69536
|
+
);
|
|
69537
|
+
}
|
|
69538
|
+
const resultData = await dynamicUrlOperation({
|
|
69539
|
+
preps: {
|
|
69540
|
+
...tempParams
|
|
69541
|
+
}
|
|
69542
|
+
});
|
|
69543
|
+
fieldAssign(props, relationFields, resultData);
|
|
69544
|
+
} finally {
|
|
69545
|
+
item.isWorking = false;
|
|
69546
|
+
}
|
|
69527
69547
|
};
|
|
69528
|
-
const eqDisableOrEditable = (props, item, e
|
|
69529
|
-
let { relationFields,
|
|
69530
|
-
if (
|
|
69548
|
+
const eqDisableOrEditable = (props, item, e) => {
|
|
69549
|
+
let { relationFields, matchFieldValue } = item;
|
|
69550
|
+
if (item.isWorking) {
|
|
69531
69551
|
return;
|
|
69532
69552
|
}
|
|
69533
|
-
if (!Array.isArray(
|
|
69534
|
-
|
|
69553
|
+
if (!Array.isArray(matchFieldValue)) {
|
|
69554
|
+
matchFieldValue = matchFieldValue ? [matchFieldValue] : [];
|
|
69535
69555
|
}
|
|
69536
|
-
|
|
69537
|
-
|
|
69538
|
-
if (
|
|
69539
|
-
|
|
69556
|
+
try {
|
|
69557
|
+
item.isWorking = true;
|
|
69558
|
+
if (!Array.isArray(relationFields)) {
|
|
69559
|
+
relationFields = [relationFields];
|
|
69540
69560
|
}
|
|
69541
|
-
|
|
69561
|
+
relationFields?.forEach(async (sitem) => {
|
|
69562
|
+
const field = props.formInfo?.find(
|
|
69563
|
+
(field2) => field2.fieldName == sitem
|
|
69564
|
+
);
|
|
69565
|
+
if (field) {
|
|
69566
|
+
if (!field.preps) {
|
|
69567
|
+
field.preps = {};
|
|
69568
|
+
}
|
|
69569
|
+
if (item.controlCondition == "eqHide") {
|
|
69570
|
+
field.formVisible = !matchFieldValue.includes(e);
|
|
69571
|
+
} else if (item.controlCondition == "eqVisible") {
|
|
69572
|
+
field.formVisible = matchFieldValue.includes(e);
|
|
69573
|
+
} else if (item.controlCondition == "eqEditable") {
|
|
69574
|
+
field.preps["disabled"] = !matchFieldValue.includes(e);
|
|
69575
|
+
} else if (item.controlCondition == "eqDisable") {
|
|
69576
|
+
field.preps["disabled"] = matchFieldValue.includes(e);
|
|
69577
|
+
}
|
|
69578
|
+
}
|
|
69579
|
+
});
|
|
69580
|
+
} finally {
|
|
69581
|
+
item.isWorking = false;
|
|
69582
|
+
}
|
|
69542
69583
|
};
|
|
69543
69584
|
const assignValue = (props, item, e) => {
|
|
69544
|
-
let { relationFields,
|
|
69545
|
-
if (!relationFields) {
|
|
69546
|
-
return;
|
|
69547
|
-
}
|
|
69585
|
+
let { relationFields, staticDatas } = item;
|
|
69548
69586
|
if (!Array.isArray(relationFields)) {
|
|
69549
69587
|
relationFields = [relationFields];
|
|
69550
69588
|
}
|
|
69551
|
-
fieldAssign(props, relationFields,
|
|
69589
|
+
fieldAssign(props, relationFields, staticDatas);
|
|
69552
69590
|
};
|
|
69553
69591
|
const changeType = (props, item, e) => {
|
|
69554
|
-
let { relationFields
|
|
69555
|
-
if (!relationFields) {
|
|
69556
|
-
return;
|
|
69557
|
-
}
|
|
69592
|
+
let { relationFields } = item;
|
|
69558
69593
|
if (!Array.isArray(relationFields)) {
|
|
69559
69594
|
relationFields = [relationFields];
|
|
69560
69595
|
}
|
|
69561
|
-
relationFields?.forEach(async (
|
|
69562
|
-
const field = props.formInfo?.find(
|
|
69596
|
+
relationFields?.forEach(async (sitem) => {
|
|
69597
|
+
const field = props.formInfo?.find(
|
|
69598
|
+
(field2) => field2.fieldName == sitem
|
|
69599
|
+
);
|
|
69563
69600
|
if (field) {
|
|
69564
|
-
field.itemType =
|
|
69601
|
+
field.itemType = item.staticDatas;
|
|
69565
69602
|
}
|
|
69566
69603
|
});
|
|
69567
69604
|
};
|
|
69568
69605
|
const relationEvent = (props, relationDetails, e, actionName) => {
|
|
69569
69606
|
relationDetails?.forEach((item) => {
|
|
69570
|
-
|
|
69607
|
+
let { controlCondition, relationFields, matchFieldValue } = item;
|
|
69608
|
+
if (!Array.isArray(matchFieldValue)) {
|
|
69609
|
+
matchFieldValue = matchFieldValue ? [matchFieldValue] : [];
|
|
69610
|
+
}
|
|
69611
|
+
if (!relationFields) {
|
|
69612
|
+
return;
|
|
69613
|
+
}
|
|
69571
69614
|
switch (controlCondition) {
|
|
69572
69615
|
//数据联动
|
|
69573
|
-
case "
|
|
69616
|
+
case "eqConditionDataLinkage":
|
|
69617
|
+
case "asParamDataLinkage":
|
|
69574
69618
|
dataLinkage(props, item, e);
|
|
69575
69619
|
break;
|
|
69576
69620
|
case "eqDisable":
|
|
69577
|
-
case "
|
|
69578
|
-
eqDisableOrEditable(props, item, e, true);
|
|
69579
|
-
break;
|
|
69621
|
+
case "eqHide":
|
|
69580
69622
|
case "eqEditable":
|
|
69581
|
-
case "
|
|
69582
|
-
eqDisableOrEditable(props, item, e
|
|
69623
|
+
case "eqVisible":
|
|
69624
|
+
eqDisableOrEditable(props, item, e);
|
|
69583
69625
|
break;
|
|
69584
69626
|
case "assignValue":
|
|
69585
69627
|
assignValue(props, item);
|
|
@@ -69630,13 +69672,13 @@ const checkIsDisabled = (attrs) => {
|
|
|
69630
69672
|
const isImplicitlyDisabled = !attrs?.formData?.[`_${fieldName}Editable`] && field?.preps?.disabled;
|
|
69631
69673
|
return eidtDidsabled === true || isExplicitlyDisabled === true || isImplicitlyDisabled === true;
|
|
69632
69674
|
};
|
|
69633
|
-
const initRelationEvent = (props, formData) => {
|
|
69675
|
+
const initRelationEvent = (props, formData, needWatch) => {
|
|
69634
69676
|
const dataRelation = props.field.preps?.dataRelation;
|
|
69635
69677
|
const actionName = dataRelation?.actionName;
|
|
69636
69678
|
if (actionName) {
|
|
69637
|
-
if (Object.keys(formData.value || {}).length == 0 || !formData.value[props.field
|
|
69679
|
+
if ((Object.keys(formData.value || {}).length == 0 || !formData.value?.[props.field?.fieldName]) && needWatch) {
|
|
69638
69680
|
const stop = watch(
|
|
69639
|
-
() => formData.value[props.field
|
|
69681
|
+
() => formData.value?.[props.field?.fieldName],
|
|
69640
69682
|
(val) => {
|
|
69641
69683
|
if (val) {
|
|
69642
69684
|
relationEvent(
|
|
@@ -69665,7 +69707,7 @@ const initCompCallEvent = (props, emits, formData) => {
|
|
|
69665
69707
|
(val) => {
|
|
69666
69708
|
if (val) {
|
|
69667
69709
|
doInitCallEvent(props, emits, formData);
|
|
69668
|
-
initRelationEvent(props, val);
|
|
69710
|
+
initRelationEvent(props, val, false);
|
|
69669
69711
|
stop();
|
|
69670
69712
|
}
|
|
69671
69713
|
},
|
|
@@ -69675,7 +69717,7 @@ const initCompCallEvent = (props, emits, formData) => {
|
|
|
69675
69717
|
}
|
|
69676
69718
|
doInitCallEvent(props, emits, formData);
|
|
69677
69719
|
}
|
|
69678
|
-
initRelationEvent(props, formData);
|
|
69720
|
+
initRelationEvent(props, formData, true);
|
|
69679
69721
|
};
|
|
69680
69722
|
const doInitCallEvent = (props, emits, formData) => {
|
|
69681
69723
|
const events = Object.keys(props.field.actions || {});
|
|
@@ -69971,37 +70013,49 @@ const useZIndex = (zIndexOverrides) => {
|
|
|
69971
70013
|
nextZIndex
|
|
69972
70014
|
};
|
|
69973
70015
|
};
|
|
70016
|
+
const handleEvent = (eventName, e, recall) => {
|
|
70017
|
+
if (eventName.includes(".")) {
|
|
70018
|
+
const modifier = eventName.split(".")[1];
|
|
70019
|
+
if (modifier == e.key.toLowerCase()) {
|
|
70020
|
+
console.log("成功触发事件:", eventName);
|
|
70021
|
+
recall && recall(modifier);
|
|
70022
|
+
}
|
|
70023
|
+
} else {
|
|
70024
|
+
recall && recall(eventName);
|
|
70025
|
+
}
|
|
70026
|
+
};
|
|
70027
|
+
const baseEvent = (eventName, recall) => {
|
|
70028
|
+
return function handler(e) {
|
|
70029
|
+
handleEvent(eventName, e, recall);
|
|
70030
|
+
};
|
|
70031
|
+
};
|
|
70032
|
+
const baseRelationEvent = (props, relationDetails, actionName) => {
|
|
70033
|
+
return function handler(e) {
|
|
70034
|
+
handleEvent(actionName, e, (tempName) => {
|
|
70035
|
+
relationEvent(props, relationDetails, e);
|
|
70036
|
+
});
|
|
70037
|
+
};
|
|
70038
|
+
};
|
|
69974
70039
|
function getDynamicEvents(props, recall) {
|
|
69975
70040
|
const events = {};
|
|
69976
70041
|
const actions = props.field.actions;
|
|
69977
70042
|
const actionNames = Object.keys(actions || {});
|
|
69978
|
-
const handleEvent = (eventName, e, subReCall) => {
|
|
69979
|
-
if (eventName.includes(".")) {
|
|
69980
|
-
const modifier = eventName.split(".")[1];
|
|
69981
|
-
if (modifier == e.key.toLowerCase()) {
|
|
69982
|
-
console.log("成功触发事件:", eventName);
|
|
69983
|
-
recall && recall(modifier);
|
|
69984
|
-
subReCall && subReCall(modifier);
|
|
69985
|
-
}
|
|
69986
|
-
} else {
|
|
69987
|
-
recall && recall(eventName);
|
|
69988
|
-
subReCall && subReCall(eventName);
|
|
69989
|
-
}
|
|
69990
|
-
};
|
|
69991
70043
|
actionNames?.forEach((actionName2) => {
|
|
69992
70044
|
if (actionName2.includes(".")) {
|
|
69993
|
-
const
|
|
69994
|
-
events[
|
|
70045
|
+
const baseEventName = actionName2.split(".")[0];
|
|
70046
|
+
events[baseEventName] = baseEvent(actionName2, recall);
|
|
69995
70047
|
} else {
|
|
69996
|
-
events[actionName2] = (
|
|
70048
|
+
events[actionName2] = baseEvent(actionName2, recall);
|
|
69997
70049
|
}
|
|
69998
70050
|
});
|
|
69999
70051
|
const dataRelation = props.field.preps?.dataRelation;
|
|
70000
70052
|
const actionName = dataRelation?.actionName;
|
|
70001
70053
|
if (actionName) {
|
|
70002
|
-
events[actionName] = (
|
|
70003
|
-
|
|
70004
|
-
|
|
70054
|
+
events[actionName] = baseRelationEvent(
|
|
70055
|
+
props,
|
|
70056
|
+
dataRelation?.relationDetails,
|
|
70057
|
+
actionName
|
|
70058
|
+
);
|
|
70005
70059
|
}
|
|
70006
70060
|
return events;
|
|
70007
70061
|
}
|
|
@@ -70026,15 +70080,15 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
70026
70080
|
},
|
|
70027
70081
|
setup(__props) {
|
|
70028
70082
|
useCssVars((_ctx) => ({
|
|
70029
|
-
"
|
|
70030
|
-
"
|
|
70031
|
-
"
|
|
70032
|
-
"
|
|
70033
|
-
"
|
|
70034
|
-
"
|
|
70035
|
-
"
|
|
70036
|
-
"
|
|
70037
|
-
"
|
|
70083
|
+
"782dd034": __props.cursor,
|
|
70084
|
+
"382745b0": width.value,
|
|
70085
|
+
"7fd04e05": height.value,
|
|
70086
|
+
"3a554276": __props.color,
|
|
70087
|
+
"72b33c5f": __props.size,
|
|
70088
|
+
"ffe79e9a": __props.marginLeft,
|
|
70089
|
+
"fc5f7220": __props.marginRight,
|
|
70090
|
+
"0225cb88": __props.borderRadius,
|
|
70091
|
+
"74e743a7": __props.borderPadding
|
|
70038
70092
|
}));
|
|
70039
70093
|
const props = __props;
|
|
70040
70094
|
const iconName = computed(() => `sh-${props.iconClass}`);
|
|
@@ -70076,7 +70130,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
70076
70130
|
return target;
|
|
70077
70131
|
};
|
|
70078
70132
|
|
|
70079
|
-
const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__scopeId", "data-v-
|
|
70133
|
+
const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__scopeId", "data-v-90bdc4ca"]]);
|
|
70080
70134
|
|
|
70081
70135
|
const StarHorseIcon = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
70082
70136
|
__proto__: null,
|
|
@@ -70792,7 +70846,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
70792
70846
|
|
|
70793
70847
|
/* unplugin-vue-components disabled */
|
|
70794
70848
|
|
|
70795
|
-
const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__scopeId", "data-v-
|
|
70849
|
+
const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__scopeId", "data-v-292ccc85"]]);
|
|
70796
70850
|
|
|
70797
70851
|
const StarHorseItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
70798
70852
|
__proto__: null,
|
|
@@ -71376,7 +71430,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
71376
71430
|
|
|
71377
71431
|
/* unplugin-vue-components disabled */
|
|
71378
71432
|
|
|
71379
|
-
const __unplugin_components_0$8 = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-
|
|
71433
|
+
const __unplugin_components_0$8 = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-49e22847"]]);
|
|
71380
71434
|
|
|
71381
71435
|
const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
71382
71436
|
__proto__: null,
|
|
@@ -71805,7 +71859,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
71805
71859
|
|
|
71806
71860
|
/* unplugin-vue-components disabled */
|
|
71807
71861
|
|
|
71808
|
-
const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-
|
|
71862
|
+
const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-2b54b42e"]]);
|
|
71809
71863
|
|
|
71810
71864
|
const _hoisted_1$V = { class: "flex items-center" };
|
|
71811
71865
|
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
@@ -72003,7 +72057,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
72003
72057
|
|
|
72004
72058
|
/* unplugin-vue-components disabled */
|
|
72005
72059
|
|
|
72006
|
-
const StarHorseDataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__scopeId", "data-v-
|
|
72060
|
+
const StarHorseDataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__scopeId", "data-v-a48a8515"]]);
|
|
72007
72061
|
|
|
72008
72062
|
const StarHorseDataSelector$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
72009
72063
|
__proto__: null,
|
|
@@ -72175,7 +72229,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
72175
72229
|
|
|
72176
72230
|
/* unplugin-vue-components disabled */
|
|
72177
72231
|
|
|
72178
|
-
const __unplugin_components_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-
|
|
72232
|
+
const __unplugin_components_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-ec85755c"]]);
|
|
72179
72233
|
|
|
72180
72234
|
const StarHorseDataViewTable = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
72181
72235
|
__proto__: null,
|
|
@@ -72260,7 +72314,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
72260
72314
|
|
|
72261
72315
|
/* unplugin-vue-components disabled */
|
|
72262
72316
|
|
|
72263
|
-
const __unplugin_components_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-
|
|
72317
|
+
const __unplugin_components_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-d8fcb24f"]]);
|
|
72264
72318
|
|
|
72265
72319
|
const viewTableItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
72266
72320
|
__proto__: null,
|
|
@@ -72632,7 +72686,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
72632
72686
|
|
|
72633
72687
|
/* unplugin-vue-components disabled */
|
|
72634
72688
|
|
|
72635
|
-
const __unplugin_components_5 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-
|
|
72689
|
+
const __unplugin_components_5 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-913899fe"]]);
|
|
72636
72690
|
|
|
72637
72691
|
const ContentMenu = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
72638
72692
|
__proto__: null,
|
|
@@ -73502,7 +73556,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
73502
73556
|
|
|
73503
73557
|
/* unplugin-vue-components disabled */
|
|
73504
73558
|
|
|
73505
|
-
const StarHorseDraggable = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-
|
|
73559
|
+
const StarHorseDraggable = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-17d7a7de"]]);
|
|
73506
73560
|
|
|
73507
73561
|
const StarHorseDraggable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
73508
73562
|
__proto__: null,
|
|
@@ -76758,7 +76812,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
76758
76812
|
|
|
76759
76813
|
/* unplugin-vue-components disabled */
|
|
76760
76814
|
|
|
76761
|
-
const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-
|
|
76815
|
+
const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-0d923809"]]);
|
|
76762
76816
|
|
|
76763
76817
|
const StarHorseFormList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
76764
76818
|
__proto__: null,
|
|
@@ -122563,7 +122617,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
122563
122617
|
|
|
122564
122618
|
/* unplugin-vue-components disabled */
|
|
122565
122619
|
|
|
122566
|
-
const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-
|
|
122620
|
+
const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-fd575312"]]);
|
|
122567
122621
|
|
|
122568
122622
|
const StarHorseJsonEditor = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
122569
122623
|
__proto__: null,
|
|
@@ -123094,7 +123148,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
123094
123148
|
|
|
123095
123149
|
/* unplugin-vue-components disabled */
|
|
123096
123150
|
|
|
123097
|
-
const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-
|
|
123151
|
+
const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-4b72a29c"]]);
|
|
123098
123152
|
|
|
123099
123153
|
const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
123100
123154
|
__proto__: null,
|
|
@@ -123313,7 +123367,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
123313
123367
|
|
|
123314
123368
|
/* unplugin-vue-components disabled */
|
|
123315
123369
|
|
|
123316
|
-
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-
|
|
123370
|
+
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-59157f23"]]);
|
|
123317
123371
|
|
|
123318
123372
|
const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
123319
123373
|
__proto__: null,
|
|
@@ -123704,7 +123758,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
123704
123758
|
|
|
123705
123759
|
/* unplugin-vue-components disabled */
|
|
123706
123760
|
|
|
123707
|
-
const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-
|
|
123761
|
+
const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-21b06ee3"]]);
|
|
123708
123762
|
|
|
123709
123763
|
const StarHorseStaticTable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
123710
123764
|
__proto__: null,
|
|
@@ -124131,7 +124185,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
124131
124185
|
|
|
124132
124186
|
/* unplugin-vue-components disabled */
|
|
124133
124187
|
|
|
124134
|
-
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-
|
|
124188
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-43fe29f0"]]);
|
|
124135
124189
|
|
|
124136
124190
|
const StarHorseButtonList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
124137
124191
|
__proto__: null,
|
|
@@ -125753,7 +125807,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
125753
125807
|
|
|
125754
125808
|
/* unplugin-vue-components disabled */
|
|
125755
125809
|
|
|
125756
|
-
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-
|
|
125810
|
+
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-f97ea38a"]]);
|
|
125757
125811
|
|
|
125758
125812
|
const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
125759
125813
|
__proto__: null,
|
|
@@ -125932,7 +125986,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
125932
125986
|
|
|
125933
125987
|
/* unplugin-vue-components disabled */
|
|
125934
125988
|
|
|
125935
|
-
const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-
|
|
125989
|
+
const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-dd41bfa1"]]);
|
|
125936
125990
|
|
|
125937
125991
|
const _hoisted_1$H = {
|
|
125938
125992
|
key: 0,
|
|
@@ -126437,7 +126491,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
126437
126491
|
|
|
126438
126492
|
/* unplugin-vue-components disabled */
|
|
126439
126493
|
|
|
126440
|
-
const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-
|
|
126494
|
+
const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-48dc6089"]]);
|
|
126441
126495
|
|
|
126442
126496
|
const StarHorseTree$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
126443
126497
|
__proto__: null,
|
|
@@ -127139,7 +127193,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
127139
127193
|
|
|
127140
127194
|
/* unplugin-vue-components disabled */
|
|
127141
127195
|
|
|
127142
|
-
const FieldList = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-
|
|
127196
|
+
const FieldList = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-379f73e6"]]);
|
|
127143
127197
|
|
|
127144
127198
|
const designForm = useDesignFormStore(piniaInstance);
|
|
127145
127199
|
const formData = computed(() => designForm.formData);
|
|
@@ -127477,7 +127531,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
127477
127531
|
|
|
127478
127532
|
/* unplugin-vue-components disabled */
|
|
127479
127533
|
|
|
127480
|
-
const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-
|
|
127534
|
+
const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-2cc8070c"]]);
|
|
127481
127535
|
|
|
127482
127536
|
const groupContainer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
127483
127537
|
__proto__: null,
|
|
@@ -127503,34 +127557,36 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
127503
127557
|
setup(__props, { emit: __emit }) {
|
|
127504
127558
|
const props = __props;
|
|
127505
127559
|
const emits = __emit;
|
|
127506
|
-
|
|
127560
|
+
const checkMenuStatus = () => {
|
|
127507
127561
|
const moveFlag = !props.field.items?.length;
|
|
127508
127562
|
const elements = props.parentField.preps.elements;
|
|
127509
127563
|
const lastRow = props.isFirstRow ? 0 : elements[props.rowIndex - 1]?.columns.length;
|
|
127510
127564
|
const currentRow = elements[props.rowIndex].columns.length;
|
|
127511
127565
|
const nextRow = props.isLastRow ? null : elements[props.rowIndex + 1]?.columns.length;
|
|
127566
|
+
const isFullColumn = props.type == "dytable" && elements?.length == parseInt(props.field.rowspan);
|
|
127512
127567
|
return {
|
|
127513
127568
|
mergeLeftColDisabled: props.isFirstCol,
|
|
127514
127569
|
mergeRightColDisabled: props.isLastCol,
|
|
127515
127570
|
mergeWholeRowDisabled: false,
|
|
127516
|
-
mergeWholeColDisabled:
|
|
127571
|
+
mergeWholeColDisabled: isFullColumn,
|
|
127517
127572
|
mergeAboveRowDisabled: props.isFirstRow || lastRow != currentRow,
|
|
127518
127573
|
mergeBelowRowDisabled: props.isLastRow || nextRow != currentRow,
|
|
127519
127574
|
undoMergeRowDisabled: props.field.rowspan == 1,
|
|
127520
127575
|
undoMergeColDisabled: props.field.colspan == 1,
|
|
127521
127576
|
//第一行,或者没有数据禁用
|
|
127522
|
-
moveRowUpDisabled: props.isFirstRow || moveFlag,
|
|
127523
|
-
moveRowDownDisabled: props.isLastRow || moveFlag,
|
|
127524
|
-
moveColLeftDisabled: props.isFirstCol || moveFlag,
|
|
127525
|
-
moveColRightDisabled: props.isLastCol || moveFlag,
|
|
127526
|
-
moveRowUpFirstDisabled: props.isFirstRow || moveFlag,
|
|
127527
|
-
moveRowDownLastDisabled: props.isLastRow || moveFlag,
|
|
127528
|
-
moveColLeftFirstDisabled: props.isFirstCol || moveFlag,
|
|
127529
|
-
moveColRightLastDisabled: props.isLastCol || moveFlag,
|
|
127577
|
+
moveRowUpDisabled: isFullColumn || props.isFirstRow || moveFlag,
|
|
127578
|
+
moveRowDownDisabled: isFullColumn || props.isLastRow || moveFlag,
|
|
127579
|
+
moveColLeftDisabled: isFullColumn || props.isFirstCol || moveFlag,
|
|
127580
|
+
moveColRightDisabled: isFullColumn || props.isLastCol || moveFlag,
|
|
127581
|
+
moveRowUpFirstDisabled: isFullColumn || props.isFirstRow || moveFlag,
|
|
127582
|
+
moveRowDownLastDisabled: isFullColumn || props.isLastRow || moveFlag,
|
|
127583
|
+
moveColLeftFirstDisabled: isFullColumn || props.isFirstCol || moveFlag,
|
|
127584
|
+
moveColRightLastDisabled: isFullColumn || props.isLastCol || moveFlag,
|
|
127530
127585
|
deleteWholeColDisabled: false,
|
|
127531
127586
|
deleteWholeRowDisabled: false
|
|
127532
127587
|
};
|
|
127533
|
-
}
|
|
127588
|
+
};
|
|
127589
|
+
let buttonControl = computed(() => checkMenuStatus());
|
|
127534
127590
|
const configDialog = ref(false);
|
|
127535
127591
|
const handleTableCellCommand = (command) => {
|
|
127536
127592
|
if (command.includes("Config")) {
|
|
@@ -127551,6 +127607,13 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
127551
127607
|
onMounted(() => {
|
|
127552
127608
|
init();
|
|
127553
127609
|
});
|
|
127610
|
+
watch(
|
|
127611
|
+
() => props.field,
|
|
127612
|
+
() => {
|
|
127613
|
+
checkMenuStatus();
|
|
127614
|
+
},
|
|
127615
|
+
{ deep: true, immediate: true }
|
|
127616
|
+
);
|
|
127554
127617
|
watch(
|
|
127555
127618
|
() => props.parentField,
|
|
127556
127619
|
() => tableAction(props, buttonControl.value, props.type),
|
|
@@ -127919,7 +127982,6 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
127919
127982
|
tableCellOperation(command, props, "box");
|
|
127920
127983
|
};
|
|
127921
127984
|
const selectCurrentTd = () => {
|
|
127922
|
-
console.log(props.field);
|
|
127923
127985
|
designForm.setSubItemId(props.field._uuid);
|
|
127924
127986
|
};
|
|
127925
127987
|
const checkItem = (items) => {
|
|
@@ -128396,7 +128458,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
128396
128458
|
|
|
128397
128459
|
/* unplugin-vue-components disabled */
|
|
128398
128460
|
|
|
128399
|
-
const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-
|
|
128461
|
+
const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-b7c0e787"]]);
|
|
128400
128462
|
|
|
128401
128463
|
const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
128402
128464
|
__proto__: null,
|
|
@@ -128582,6 +128644,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
128582
128644
|
disabled: __props.disabled,
|
|
128583
128645
|
rowIndex: __props.rowIndex,
|
|
128584
128646
|
colIndex: __props.colIndex,
|
|
128647
|
+
type: "dytable",
|
|
128585
128648
|
onCommand: handleTableCellCommand
|
|
128586
128649
|
}, null, 8, ["field", "parentField", "isFirstCol", "isLastCol", "isFirstRow", "isLastRow", "disabled", "rowIndex", "colIndex"])
|
|
128587
128650
|
])) : createCommentVNode("", true)
|
|
@@ -128592,7 +128655,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
128592
128655
|
|
|
128593
128656
|
/* unplugin-vue-components disabled */
|
|
128594
128657
|
|
|
128595
|
-
const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-
|
|
128658
|
+
const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-0de8920d"]]);
|
|
128596
128659
|
|
|
128597
128660
|
const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
128598
128661
|
__proto__: null,
|
|
@@ -128668,7 +128731,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
128668
128731
|
|
|
128669
128732
|
/* unplugin-vue-components disabled */
|
|
128670
128733
|
|
|
128671
|
-
const dytableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-
|
|
128734
|
+
const dytableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-867432e7"]]);
|
|
128672
128735
|
|
|
128673
128736
|
const dytableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
128674
128737
|
__proto__: null,
|
|
@@ -129051,7 +129114,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
129051
129114
|
|
|
129052
129115
|
/* unplugin-vue-components disabled */
|
|
129053
129116
|
|
|
129054
|
-
const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-
|
|
129117
|
+
const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-78f70ead"]]);
|
|
129055
129118
|
|
|
129056
129119
|
const tableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
129057
129120
|
__proto__: null,
|
|
@@ -129344,7 +129407,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
129344
129407
|
|
|
129345
129408
|
/* unplugin-vue-components disabled */
|
|
129346
129409
|
|
|
129347
|
-
const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-
|
|
129410
|
+
const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-90a916cb"]]);
|
|
129348
129411
|
|
|
129349
129412
|
const starhorseFormItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
129350
129413
|
__proto__: null,
|
|
@@ -129434,7 +129497,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
129434
129497
|
default: withCtx(() => [
|
|
129435
129498
|
createVNode(_component_el_cascader, mergeProps({
|
|
129436
129499
|
fid: _ctx.field.fieldName
|
|
129437
|
-
}, _ctx.field.preps, {
|
|
129500
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
129438
129501
|
disabled: unref(checkIsDisabled)(props)
|
|
129439
129502
|
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
129440
129503
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
@@ -129449,7 +129512,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
129449
129512
|
|
|
129450
129513
|
/* unplugin-vue-components disabled */
|
|
129451
129514
|
|
|
129452
|
-
const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-
|
|
129515
|
+
const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-c481f296"]]);
|
|
129453
129516
|
|
|
129454
129517
|
const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
129455
129518
|
__proto__: null,
|
|
@@ -129659,7 +129722,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
129659
129722
|
fid: _ctx.field.fieldName,
|
|
129660
129723
|
disabled: unref(checkIsDisabled)(props),
|
|
129661
129724
|
"fetch-suggestions": querySearch
|
|
129662
|
-
}, _ctx.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
129725
|
+
}, unref(prepsFilter)(_ctx.field.preps), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
129663
129726
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
129664
129727
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
129665
129728
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
@@ -129850,7 +129913,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
129850
129913
|
default: withCtx(() => [
|
|
129851
129914
|
createVNode(_component_el_button, mergeProps({
|
|
129852
129915
|
disabled: unref(checkIsDisabled)(props)
|
|
129853
|
-
}, _ctx.field.preps, {
|
|
129916
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
129854
129917
|
onClick: _cache[0] || (_cache[0] = ($event) => dynamicFunc(_ctx.field.preps?.code))
|
|
129855
129918
|
}), {
|
|
129856
129919
|
default: withCtx(() => [
|
|
@@ -129873,7 +129936,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
129873
129936
|
|
|
129874
129937
|
/* unplugin-vue-components disabled */
|
|
129875
129938
|
|
|
129876
|
-
const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
129939
|
+
const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-de366f68"]]);
|
|
129877
129940
|
|
|
129878
129941
|
const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
129879
129942
|
__proto__: null,
|
|
@@ -130049,7 +130112,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
130049
130112
|
default: withCtx(() => [
|
|
130050
130113
|
createVNode(_component_el_cascader, mergeProps({
|
|
130051
130114
|
fid: _ctx.field.fieldName
|
|
130052
|
-
}, _ctx.field.preps, {
|
|
130115
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
130053
130116
|
disabled: unref(checkIsDisabled)(props)
|
|
130054
130117
|
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
130055
130118
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
@@ -130135,7 +130198,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
130135
130198
|
|
|
130136
130199
|
/* unplugin-vue-components disabled */
|
|
130137
130200
|
|
|
130138
|
-
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-
|
|
130201
|
+
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-cebddac7"]]);
|
|
130139
130202
|
|
|
130140
130203
|
const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
130141
130204
|
__proto__: null,
|
|
@@ -130206,9 +130269,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
130206
130269
|
default: withCtx(() => [
|
|
130207
130270
|
createVNode(_component_el_checkbox_group, mergeProps({
|
|
130208
130271
|
fid: _ctx.field.fieldName,
|
|
130209
|
-
disabled: unref(checkIsDisabled)(props)
|
|
130210
|
-
|
|
130211
|
-
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
130272
|
+
disabled: unref(checkIsDisabled)(props)
|
|
130273
|
+
}, unref(prepsFilter)(props), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
130212
130274
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
130213
130275
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
130214
130276
|
}), {
|
|
@@ -130224,7 +130286,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
130224
130286
|
}), 256))
|
|
130225
130287
|
]),
|
|
130226
130288
|
_: 1
|
|
130227
|
-
}, 16, ["fid", "disabled", "
|
|
130289
|
+
}, 16, ["fid", "disabled", "modelValue"])
|
|
130228
130290
|
]),
|
|
130229
130291
|
_: 1
|
|
130230
130292
|
}, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "field", "parentField"]);
|
|
@@ -130282,7 +130344,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
130282
130344
|
createVNode(_component_el_color_picker, mergeProps({
|
|
130283
130345
|
fid: _ctx.field.fieldName,
|
|
130284
130346
|
disabled: unref(checkIsDisabled)(props)
|
|
130285
|
-
}, _ctx.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
130347
|
+
}, unref(prepsFilter)(_ctx.field.preps), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
130286
130348
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
130287
130349
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
130288
130350
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
@@ -130817,7 +130879,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
130817
130879
|
|
|
130818
130880
|
/* unplugin-vue-components disabled */
|
|
130819
130881
|
|
|
130820
|
-
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-
|
|
130882
|
+
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-a4ddfda2"]]);
|
|
130821
130883
|
|
|
130822
130884
|
const _hoisted_1$u = { class: "cron-content" };
|
|
130823
130885
|
const _hoisted_2$o = { class: "cron-item" };
|
|
@@ -133014,7 +133076,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
133014
133076
|
|
|
133015
133077
|
/* unplugin-vue-components disabled */
|
|
133016
133078
|
|
|
133017
|
-
const Crontab = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-
|
|
133079
|
+
const Crontab = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-7a6f7680"]]);
|
|
133018
133080
|
|
|
133019
133081
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
133020
133082
|
__name: "cron-item",
|
|
@@ -133131,7 +133193,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
133131
133193
|
|
|
133132
133194
|
/* unplugin-vue-components disabled */
|
|
133133
133195
|
|
|
133134
|
-
const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-
|
|
133196
|
+
const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-9d0cafc1"]]);
|
|
133135
133197
|
|
|
133136
133198
|
const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
133137
133199
|
__proto__: null,
|
|
@@ -133202,7 +133264,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
133202
133264
|
createVNode(_component_el_date_picker, mergeProps({
|
|
133203
133265
|
fid: _ctx.field.fieldName,
|
|
133204
133266
|
disabled: unref(checkIsDisabled)(props)
|
|
133205
|
-
}, _ctx.field.preps, {
|
|
133267
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
133206
133268
|
format: _ctx.field.preps?.format || "YYYY-MM-DD HH:mm:ss",
|
|
133207
133269
|
"value-format": _ctx.field.preps?.valueFormat,
|
|
133208
133270
|
"date-format": "YYYY-MM-DD",
|
|
@@ -133221,7 +133283,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
133221
133283
|
|
|
133222
133284
|
/* unplugin-vue-components disabled */
|
|
133223
133285
|
|
|
133224
|
-
const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-
|
|
133286
|
+
const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-16e3ccaf"]]);
|
|
133225
133287
|
|
|
133226
133288
|
const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
133227
133289
|
__proto__: null,
|
|
@@ -133439,7 +133501,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
133439
133501
|
createVNode(_component_el_input, mergeProps({
|
|
133440
133502
|
disabled: unref(checkIsDisabled)(props),
|
|
133441
133503
|
type: "text"
|
|
133442
|
-
}, _ctx.field.preps, {
|
|
133504
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
133443
133505
|
fid: _ctx.field.fieldName
|
|
133444
133506
|
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
133445
133507
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
@@ -133464,7 +133526,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
133464
133526
|
|
|
133465
133527
|
/* unplugin-vue-components disabled */
|
|
133466
133528
|
|
|
133467
|
-
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-
|
|
133529
|
+
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-cc7182c1"]]);
|
|
133468
133530
|
|
|
133469
133531
|
const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
133470
133532
|
__proto__: null,
|
|
@@ -133582,7 +133644,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
133582
133644
|
|
|
133583
133645
|
/* unplugin-vue-components disabled */
|
|
133584
133646
|
|
|
133585
|
-
const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-
|
|
133647
|
+
const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-ee6ef472"]]);
|
|
133586
133648
|
|
|
133587
133649
|
const htmlItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
133588
133650
|
__proto__: null,
|
|
@@ -150729,7 +150791,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
150729
150791
|
"overflow-y": "hidden"
|
|
150730
150792
|
},
|
|
150731
150793
|
modules
|
|
150732
|
-
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
150794
|
+
}, unref(prepsFilter)(props), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
150733
150795
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
150734
150796
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event),
|
|
150735
150797
|
theme: "snow",
|
|
@@ -150923,7 +150985,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
150923
150985
|
|
|
150924
150986
|
/* unplugin-vue-components disabled */
|
|
150925
150987
|
|
|
150926
|
-
const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-
|
|
150988
|
+
const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-001b0103"]]);
|
|
150927
150989
|
|
|
150928
150990
|
const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
150929
150991
|
__proto__: null,
|
|
@@ -151139,7 +151201,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
151139
151201
|
|
|
151140
151202
|
/* unplugin-vue-components disabled */
|
|
151141
151203
|
|
|
151142
|
-
const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
151204
|
+
const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-d561ca11"]]);
|
|
151143
151205
|
|
|
151144
151206
|
const imageItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
151145
151207
|
__proto__: null,
|
|
@@ -151296,7 +151358,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
151296
151358
|
default: withCtx(() => [
|
|
151297
151359
|
createVNode(_component_el_input, mergeProps({
|
|
151298
151360
|
disabled: unref(checkIsDisabled)(props)
|
|
151299
|
-
}, _ctx.field.preps, {
|
|
151361
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
151300
151362
|
type: "text",
|
|
151301
151363
|
ref_key: "inputItemRef",
|
|
151302
151364
|
ref: inputItemRef,
|
|
@@ -151386,7 +151448,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
151386
151448
|
|
|
151387
151449
|
/* unplugin-vue-components disabled */
|
|
151388
151450
|
|
|
151389
|
-
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
151451
|
+
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-277d463f"]]);
|
|
151390
151452
|
|
|
151391
151453
|
const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
151392
151454
|
__proto__: null,
|
|
@@ -151570,7 +151632,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
151570
151632
|
|
|
151571
151633
|
/* unplugin-vue-components disabled */
|
|
151572
151634
|
|
|
151573
|
-
const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-
|
|
151635
|
+
const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-c5fe21a2"]]);
|
|
151574
151636
|
|
|
151575
151637
|
const baseJsonItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
151576
151638
|
__proto__: null,
|
|
@@ -203209,7 +203271,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
203209
203271
|
language: "zh-CN",
|
|
203210
203272
|
previewTheme: "default",
|
|
203211
203273
|
codeTheme: "github"
|
|
203212
|
-
}, _ctx.field.preps, { class: "markdown-editor" }), null, 16, ["modelValue"])
|
|
203274
|
+
}, unref(prepsFilter)(_ctx.field.preps), { class: "markdown-editor" }), null, 16, ["modelValue"])
|
|
203213
203275
|
]),
|
|
203214
203276
|
_: 1
|
|
203215
203277
|
}, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "field", "parentField"]);
|
|
@@ -203219,7 +203281,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
203219
203281
|
|
|
203220
203282
|
/* unplugin-vue-components disabled */
|
|
203221
203283
|
|
|
203222
|
-
const markdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
203284
|
+
const markdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-e8c73824"]]);
|
|
203223
203285
|
|
|
203224
203286
|
const markdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
203225
203287
|
__proto__: null,
|
|
@@ -203286,7 +203348,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
203286
203348
|
createVNode(_component_el_input_number, mergeProps({
|
|
203287
203349
|
fid: _ctx.field.fieldName,
|
|
203288
203350
|
disabled: unref(checkIsDisabled)(props)
|
|
203289
|
-
}, _ctx.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
203351
|
+
}, unref(prepsFilter)(_ctx.field.preps), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
203290
203352
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
203291
203353
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
203292
203354
|
}), {
|
|
@@ -203307,7 +203369,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
203307
203369
|
|
|
203308
203370
|
/* unplugin-vue-components disabled */
|
|
203309
203371
|
|
|
203310
|
-
const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
203372
|
+
const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-b8e8df9f"]]);
|
|
203311
203373
|
|
|
203312
203374
|
const numberItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
203313
203375
|
__proto__: null,
|
|
@@ -203413,7 +203475,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
203413
203475
|
fid: minName.value,
|
|
203414
203476
|
controls: false,
|
|
203415
203477
|
disabled: unref(checkIsDisabled)(props)
|
|
203416
|
-
}, _ctx.field.preps, {
|
|
203478
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
203417
203479
|
placeholder: _ctx.field.preps?.minPlaceholder,
|
|
203418
203480
|
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
203419
203481
|
onBlur: handleBlur,
|
|
@@ -203428,7 +203490,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
203428
203490
|
fid: maxName.value,
|
|
203429
203491
|
controls: false,
|
|
203430
203492
|
disabled: unref(checkIsDisabled)(props)
|
|
203431
|
-
}, _ctx.field.preps, {
|
|
203493
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
203432
203494
|
onChange: _cache[2] || (_cache[2] = ($event) => itemAction("change")),
|
|
203433
203495
|
onBlur: handleBlur,
|
|
203434
203496
|
onFocus: handleFocus,
|
|
@@ -203452,7 +203514,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
203452
203514
|
|
|
203453
203515
|
/* unplugin-vue-components disabled */
|
|
203454
203516
|
|
|
203455
|
-
const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-
|
|
203517
|
+
const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-78dc5aa2"]]);
|
|
203456
203518
|
|
|
203457
203519
|
const numberRangeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
203458
203520
|
__proto__: null,
|
|
@@ -203730,7 +203792,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
203730
203792
|
default: withCtx(() => [
|
|
203731
203793
|
createVNode(_component_el_select, mergeProps({
|
|
203732
203794
|
fid: _ctx.field.fieldName
|
|
203733
|
-
}, _ctx.field.preps, {
|
|
203795
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
203734
203796
|
disabled: unref(checkIsDisabled)(props)
|
|
203735
203797
|
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
203736
203798
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
@@ -203849,7 +203911,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
203849
203911
|
|
|
203850
203912
|
/* unplugin-vue-components disabled */
|
|
203851
203913
|
|
|
203852
|
-
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
203914
|
+
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-10cadb61"]]);
|
|
203853
203915
|
|
|
203854
203916
|
const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
203855
203917
|
__proto__: null,
|
|
@@ -203901,7 +203963,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
203901
203963
|
createVNode(_component_el_input, mergeProps({
|
|
203902
203964
|
fid: _ctx.field.fieldName,
|
|
203903
203965
|
disabled: unref(checkIsDisabled)(props)
|
|
203904
|
-
}, _ctx.field.preps, { type: "password" }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
203966
|
+
}, unref(prepsFilter)(_ctx.field.preps), { type: "password" }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
203905
203967
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
203906
203968
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
203907
203969
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
@@ -204068,7 +204130,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
204068
204130
|
default: withCtx(() => [
|
|
204069
204131
|
createVNode(_component_el_rate, mergeProps({
|
|
204070
204132
|
fid: _ctx.field.fieldName
|
|
204071
|
-
}, _ctx.field.preps, {
|
|
204133
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
204072
204134
|
disabled: unref(checkIsDisabled)(props),
|
|
204073
204135
|
onChange: itemAction,
|
|
204074
204136
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
@@ -204311,7 +204373,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
204311
204373
|
|
|
204312
204374
|
/* unplugin-vue-components disabled */
|
|
204313
204375
|
|
|
204314
|
-
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
204376
|
+
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-2d4ab92c"]]);
|
|
204315
204377
|
|
|
204316
204378
|
const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
204317
204379
|
__proto__: null,
|
|
@@ -204880,7 +204942,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
204880
204942
|
|
|
204881
204943
|
/* unplugin-vue-components disabled */
|
|
204882
204944
|
|
|
204883
|
-
const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
204945
|
+
const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-dd94b6d6"]]);
|
|
204884
204946
|
|
|
204885
204947
|
const signatureItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
204886
204948
|
__proto__: null,
|
|
@@ -204932,7 +204994,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
204932
204994
|
createVNode(_component_el_slider, mergeProps({
|
|
204933
204995
|
fid: _ctx.field.fieldName,
|
|
204934
204996
|
disabled: unref(checkIsDisabled)(props)
|
|
204935
|
-
}, _ctx.field.preps, {
|
|
204997
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
204936
204998
|
step: _ctx.field.preps?.step ?? 1,
|
|
204937
204999
|
onChange: itemAction,
|
|
204938
205000
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
@@ -205002,7 +205064,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
205002
205064
|
createVNode(_component_el_switch, mergeProps({
|
|
205003
205065
|
fid: _ctx.field.fieldName,
|
|
205004
205066
|
disabled: unref(checkIsDisabled)(props)
|
|
205005
|
-
}, _ctx.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205067
|
+
}, unref(prepsFilter)(_ctx.field.preps), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205006
205068
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
205007
205069
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
205008
205070
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
@@ -205062,7 +205124,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
205062
205124
|
parentField: _ctx.parentField
|
|
205063
205125
|
}, {
|
|
205064
205126
|
default: withCtx(() => [
|
|
205065
|
-
createVNode(_component_el_tag, mergeProps(_ctx.field.preps, {
|
|
205127
|
+
createVNode(_component_el_tag, mergeProps(unref(prepsFilter)(_ctx.field.preps), {
|
|
205066
205128
|
type: tagType(formData.value[_ctx.field.fieldName]),
|
|
205067
205129
|
onClick: _cache[0] || (_cache[0] = ($event) => itemAction("click")),
|
|
205068
205130
|
class: "relative"
|
|
@@ -205215,7 +205277,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
205215
205277
|
onDblclick: maxEdit,
|
|
205216
205278
|
disabled: unref(checkIsDisabled)(props),
|
|
205217
205279
|
fid: _ctx.field.fieldName
|
|
205218
|
-
}, _ctx.field.preps, { type: "textarea" }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205280
|
+
}, unref(prepsFilter)(_ctx.field.preps), { type: "textarea" }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205219
205281
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
205220
205282
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
205221
205283
|
}), null, 16, ["disabled", "fid", "modelValue"])
|
|
@@ -205280,7 +205342,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
205280
205342
|
start: _ctx.field.preps?.start || "00:00",
|
|
205281
205343
|
end: _ctx.field.preps?.end || "24:00",
|
|
205282
205344
|
step: _ctx.field.preps?.step || "00:05"
|
|
205283
|
-
}, _ctx.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205345
|
+
}, unref(prepsFilter)(_ctx.field.preps), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205284
205346
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
205285
205347
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
205286
205348
|
}), null, 16, ["fid", "disabled", "start", "end", "step", "modelValue"])
|
|
@@ -205293,7 +205355,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
205293
205355
|
|
|
205294
205356
|
/* unplugin-vue-components disabled */
|
|
205295
205357
|
|
|
205296
|
-
const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
205358
|
+
const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-99def2f8"]]);
|
|
205297
205359
|
|
|
205298
205360
|
const timeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
205299
205361
|
__proto__: null,
|
|
@@ -205345,7 +205407,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
205345
205407
|
createVNode(_component_el_time_picker, mergeProps({
|
|
205346
205408
|
fid: _ctx.field.fieldName,
|
|
205347
205409
|
disabled: unref(checkIsDisabled)(props)
|
|
205348
|
-
}, _ctx.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205410
|
+
}, unref(prepsFilter)(_ctx.field.preps), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205349
205411
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
205350
205412
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
205351
205413
|
}), null, 16, ["fid", "disabled", "modelValue"])
|
|
@@ -205358,7 +205420,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
205358
205420
|
|
|
205359
205421
|
/* unplugin-vue-components disabled */
|
|
205360
205422
|
|
|
205361
|
-
const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
205423
|
+
const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-458f167a"]]);
|
|
205362
205424
|
|
|
205363
205425
|
const timePickerItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
205364
205426
|
__proto__: null,
|
|
@@ -205432,7 +205494,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
205432
205494
|
default: withCtx(() => [
|
|
205433
205495
|
createVNode(_component_el_transfer, mergeProps({
|
|
205434
205496
|
fid: _ctx.field?.preps["name"]
|
|
205435
|
-
}, _ctx.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205497
|
+
}, unref(prepsFilter)(_ctx.field.preps), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
205436
205498
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
205437
205499
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
205438
205500
|
}), null, 16, ["fid", "modelValue"])
|
|
@@ -205592,7 +205654,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
205592
205654
|
fid: _ctx.field.fieldName,
|
|
205593
205655
|
disabled: unref(checkIsDisabled)(props),
|
|
205594
205656
|
"default-expand-all": true
|
|
205595
|
-
}, _ctx.field.preps, {
|
|
205657
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
205596
205658
|
"filter-node-method": filterNodeMethod,
|
|
205597
205659
|
"render-content": renderContent
|
|
205598
205660
|
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
@@ -205800,7 +205862,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
205800
205862
|
fid: _ctx.field.fieldName,
|
|
205801
205863
|
disabled: unref(checkIsDisabled)(props),
|
|
205802
205864
|
headers: unref(headers)
|
|
205803
|
-
}, _ctx.field.preps, {
|
|
205865
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
205804
205866
|
"on-change": (uploadFile, uploadFiles) => selfAction("change", uploadFile, uploadFiles),
|
|
205805
205867
|
"on-error": (error, uploadFile, uploadFiles) => selfAction("error", uploadFile, uploadFiles, error),
|
|
205806
205868
|
"on-exceed": (files, uploadFiles) => selfAction("exceed", files, uploadFiles),
|
|
@@ -205851,7 +205913,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
205851
205913
|
|
|
205852
205914
|
/* unplugin-vue-components disabled */
|
|
205853
205915
|
|
|
205854
|
-
const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
205916
|
+
const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-fab47ad8"]]);
|
|
205855
205917
|
|
|
205856
205918
|
const uploadItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
205857
205919
|
__proto__: null,
|
|
@@ -206005,7 +206067,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
206005
206067
|
options: unref(userOptionList),
|
|
206006
206068
|
whole: true,
|
|
206007
206069
|
fid: _ctx.field.fieldName
|
|
206008
|
-
}, _ctx.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
206070
|
+
}, unref(prepsFilter)(_ctx.field.preps), toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
206009
206071
|
modelValue: formData.value[_ctx.field.fieldName],
|
|
206010
206072
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[_ctx.field.fieldName] = $event)
|
|
206011
206073
|
}), {
|
|
@@ -206081,7 +206143,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
206081
206143
|
loadComponent();
|
|
206082
206144
|
});
|
|
206083
206145
|
watch(
|
|
206084
|
-
() =>
|
|
206146
|
+
() => props.field.preps?.compName,
|
|
206085
206147
|
() => {
|
|
206086
206148
|
loadComponent();
|
|
206087
206149
|
},
|
|
@@ -206181,7 +206243,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
206181
206243
|
|
|
206182
206244
|
/* unplugin-vue-components disabled */
|
|
206183
206245
|
|
|
206184
|
-
const viewMarkdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
206246
|
+
const viewMarkdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-2ee361a9"]]);
|
|
206185
206247
|
|
|
206186
206248
|
const viewMarkdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
206187
206249
|
__proto__: null,
|
|
@@ -207494,7 +207556,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
207494
207556
|
parentField: _ctx.parentField
|
|
207495
207557
|
}, {
|
|
207496
207558
|
default: withCtx(() => [
|
|
207497
|
-
createVNode(QrcodeVue, mergeProps({ value: dataValue.value }, _ctx.field.preps, { "image-settings": imageSettings.value }), null, 16, ["value", "image-settings"])
|
|
207559
|
+
createVNode(QrcodeVue, mergeProps({ value: dataValue.value }, unref(prepsFilter)(_ctx.field.preps), { "image-settings": imageSettings.value }), null, 16, ["value", "image-settings"])
|
|
207498
207560
|
]),
|
|
207499
207561
|
_: 1
|
|
207500
207562
|
}, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "field", "parentField"]);
|
|
@@ -218331,7 +218393,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
218331
218393
|
emits: ["selectItem"],
|
|
218332
218394
|
setup(__props, { emit: __emit }) {
|
|
218333
218395
|
useCssVars((_ctx) => ({
|
|
218334
|
-
"
|
|
218396
|
+
"08d733bc": unref(menuColor)
|
|
218335
218397
|
}));
|
|
218336
218398
|
const props = __props;
|
|
218337
218399
|
const emits = __emit;
|
|
@@ -218398,7 +218460,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
218398
218460
|
|
|
218399
218461
|
/* unplugin-vue-components disabled */
|
|
218400
218462
|
|
|
218401
|
-
const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
218463
|
+
const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-acc0cdac"]]);
|
|
218402
218464
|
|
|
218403
218465
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
218404
218466
|
__name: "StarHorseMenu",
|
|
@@ -218452,7 +218514,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
218452
218514
|
|
|
218453
218515
|
/* unplugin-vue-components disabled */
|
|
218454
218516
|
|
|
218455
|
-
const StarHorseMenu = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
218517
|
+
const StarHorseMenu = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a071fd23"]]);
|
|
218456
218518
|
|
|
218457
218519
|
const StarHorseMenu$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
218458
218520
|
__proto__: null,
|
|
@@ -218480,9 +218542,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
218480
218542
|
},
|
|
218481
218543
|
setup(__props) {
|
|
218482
218544
|
useCssVars((_ctx) => ({
|
|
218483
|
-
"
|
|
218484
|
-
"
|
|
218485
|
-
"
|
|
218545
|
+
"3655dfb4": __props.cursor,
|
|
218546
|
+
"dacda842": __props.size,
|
|
218547
|
+
"80a54176": __props.color
|
|
218486
218548
|
}));
|
|
218487
218549
|
const props = __props;
|
|
218488
218550
|
const svgClass = computed(() => {
|
|
@@ -218519,7 +218581,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
218519
218581
|
|
|
218520
218582
|
/* unplugin-vue-components disabled */
|
|
218521
218583
|
|
|
218522
|
-
const StarHorseSvg = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
218584
|
+
const StarHorseSvg = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-8e96b37d"]]);
|
|
218523
218585
|
|
|
218524
218586
|
const StarHorseSvg$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
218525
218587
|
__proto__: null,
|
|
@@ -247958,7 +248020,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
247958
248020
|
|
|
247959
248021
|
/* unplugin-vue-components disabled */
|
|
247960
248022
|
|
|
247961
|
-
const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
248023
|
+
const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-ae52bde1"]]);
|
|
247962
248024
|
|
|
247963
248025
|
const cardItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
247964
248026
|
__proto__: null,
|
|
@@ -248078,7 +248140,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
248078
248140
|
|
|
248079
248141
|
/* unplugin-vue-components disabled */
|
|
248080
248142
|
|
|
248081
|
-
const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
248143
|
+
const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-4078cd04"]]);
|
|
248082
248144
|
|
|
248083
248145
|
const collapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
248084
248146
|
__proto__: null,
|
|
@@ -248186,7 +248248,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
248186
248248
|
|
|
248187
248249
|
/* unplugin-vue-components disabled */
|
|
248188
248250
|
|
|
248189
|
-
const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
248251
|
+
const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-6d737227"]]);
|
|
248190
248252
|
|
|
248191
248253
|
const dytableItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
248192
248254
|
__proto__: null,
|
|
@@ -248360,7 +248422,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
248360
248422
|
|
|
248361
248423
|
/* unplugin-vue-components disabled */
|
|
248362
248424
|
|
|
248363
|
-
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
248425
|
+
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-2450e0bd"]]);
|
|
248364
248426
|
|
|
248365
248427
|
const tabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
248366
248428
|
__proto__: null,
|
|
@@ -248498,7 +248560,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
248498
248560
|
|
|
248499
248561
|
/* unplugin-vue-components disabled */
|
|
248500
248562
|
|
|
248501
|
-
const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
248563
|
+
const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-14a707c2"]]);
|
|
248502
248564
|
|
|
248503
248565
|
const tabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
248504
248566
|
__proto__: null,
|
|
@@ -248639,7 +248701,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
248639
248701
|
|
|
248640
248702
|
/* unplugin-vue-components disabled */
|
|
248641
248703
|
|
|
248642
|
-
const viewCardItem = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
248704
|
+
const viewCardItem = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-39dcf76b"]]);
|
|
248643
248705
|
|
|
248644
248706
|
const viewCardItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
248645
248707
|
__proto__: null,
|
|
@@ -248716,7 +248778,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
248716
248778
|
|
|
248717
248779
|
/* unplugin-vue-components disabled */
|
|
248718
248780
|
|
|
248719
|
-
const viewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
248781
|
+
const viewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7d497f01"]]);
|
|
248720
248782
|
|
|
248721
248783
|
const viewCollapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
248722
248784
|
__proto__: null,
|
|
@@ -248803,7 +248865,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
248803
248865
|
|
|
248804
248866
|
/* unplugin-vue-components disabled */
|
|
248805
248867
|
|
|
248806
|
-
const viewDytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
248868
|
+
const viewDytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-64cc620c"]]);
|
|
248807
248869
|
|
|
248808
248870
|
const viewDytableItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
248809
248871
|
__proto__: null,
|
|
@@ -248936,7 +248998,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
248936
248998
|
|
|
248937
248999
|
/* unplugin-vue-components disabled */
|
|
248938
249000
|
|
|
248939
|
-
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
249001
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-b2d10fac"]]);
|
|
248940
249002
|
|
|
248941
249003
|
const viewTabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
248942
249004
|
__proto__: null,
|
|
@@ -249024,7 +249086,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
249024
249086
|
|
|
249025
249087
|
/* unplugin-vue-components disabled */
|
|
249026
249088
|
|
|
249027
|
-
const viewTabItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
249089
|
+
const viewTabItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-bb00b470"]]);
|
|
249028
249090
|
|
|
249029
249091
|
const viewTabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
249030
249092
|
__proto__: null,
|
|
@@ -249096,7 +249158,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249096
249158
|
createVNode(unref(StarHorseDataSelector), mergeProps({
|
|
249097
249159
|
modelValue: pickerData.value,
|
|
249098
249160
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => pickerData.value = $event)
|
|
249099
|
-
}, _ctx.field.preps, {
|
|
249161
|
+
}, unref(prepsFilter)(_ctx.field.preps), {
|
|
249100
249162
|
"onUpdate:selectedData": _cache[1] || (_cache[1] = (data) => itemAction("change")),
|
|
249101
249163
|
onSelectedData: _cache[2] || (_cache[2] = (data) => itemAction("change"))
|
|
249102
249164
|
}), null, 16, ["modelValue"])
|