star-horse-lowcode 2.7.46 → 2.7.48

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/dist/index.es.js CHANGED
@@ -65921,8 +65921,8 @@ const _sfc_main$1Q = defineComponent({
65921
65921
  };
65922
65922
  }
65923
65923
  });
65924
- const _hoisted_1$Y = ["id"];
65925
- const _hoisted_2$G = {
65924
+ const _hoisted_1$Z = ["id"];
65925
+ const _hoisted_2$H = {
65926
65926
  key: 0,
65927
65927
  class: "m-message-icons"
65928
65928
  };
@@ -65985,7 +65985,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
65985
65985
  onMouseenter: _cache[2] || (_cache[2] = (...args) => _ctx.handleClearTimer && _ctx.handleClearTimer(...args)),
65986
65986
  onMouseleave: _cache[3] || (_cache[3] = (...args) => _ctx.handleStartTimer && _ctx.handleStartTimer(...args))
65987
65987
  }, [
65988
- _ctx.iconURL || _ctx.type ? (openBlock(), createElementBlock("div", _hoisted_2$G, [
65988
+ _ctx.iconURL || _ctx.type ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
65989
65989
  _ctx.iconURL ? (openBlock(), createElementBlock("img", {
65990
65990
  key: 0,
65991
65991
  src: _ctx.iconURL,
@@ -66031,7 +66031,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
66031
66031
  }, _hoisted_12)) : createCommentVNode("", true)
66032
66032
  ])
66033
66033
  ], 34)
66034
- ], 14, _hoisted_1$Y)) : createCommentVNode("", true)
66034
+ ], 14, _hoisted_1$Z)) : createCommentVNode("", true)
66035
66035
  ]),
66036
66036
  _: 3
66037
66037
  });
@@ -66346,7 +66346,7 @@ service.interceptors.response.use(
66346
66346
  function download(url, param) {
66347
66347
  return new Promise((resolve, reject) => {
66348
66348
  service.post(url, param, { responseType: "blob" }).then((res) => {
66349
- downloadData(res.data, decodeURI(res.headers["content-disposition"].split("=")[1]));
66349
+ downloadData(res.data, decodeURI(res.headers["content-disposition"]?.split("=")[1]));
66350
66350
  resolve(null);
66351
66351
  }).catch((err) => {
66352
66352
  console.log(err);
@@ -92643,7 +92643,6 @@ function formFieldMapping(fieldList) {
92643
92643
  if (item.actions) {
92644
92644
  actions.push({
92645
92645
  batchName: temp.batchName,
92646
- actionNames: item.actionName,
92647
92646
  actions: item.actions,
92648
92647
  fieldName: item.fieldName
92649
92648
  });
@@ -92671,7 +92670,6 @@ function formFieldMapping(fieldList) {
92671
92670
  }
92672
92671
  if (item.actions) {
92673
92672
  actions.push({
92674
- actionNames: item.actionName,
92675
92673
  actions: item.actions,
92676
92674
  fieldName: item.fieldName
92677
92675
  });
@@ -92701,7 +92699,6 @@ function formFieldMapping(fieldList) {
92701
92699
  }
92702
92700
  if (temp.actions) {
92703
92701
  actions.push({
92704
- actionNames: temp.actionName,
92705
92702
  actions: temp.actions,
92706
92703
  fieldName: temp.fieldName
92707
92704
  });
@@ -93044,6 +93041,73 @@ const batchModifyAction = (items, val, fieldName) => {
93044
93041
  }
93045
93042
  }
93046
93043
  };
93044
+ const inputType = ["input", "textarea", "password", "number", "view-markdown", "json", "json-array"];
93045
+ const selectType = ["select", "tselect", "cascader", "autocomplete", "area", "cron", "transfer", "dialog-input", "page-select"];
93046
+ const dateType = ["year", "month", "date", "datetime", "week", "datetimerange", "daterange"];
93047
+ function selectCompList() {
93048
+ return selectType;
93049
+ }
93050
+ function inputCompList() {
93051
+ return inputType;
93052
+ }
93053
+ function dateCompList() {
93054
+ return dateType;
93055
+ }
93056
+ function fieldPlaceholder(item, itemType) {
93057
+ if (!item.preps) {
93058
+ item.preps = {};
93059
+ }
93060
+ if (item.preps["noPlaceholder"]) {
93061
+ delete item.preps["placeholder"];
93062
+ delete item.preps["startPlaceholder"];
93063
+ delete item.preps["endPlaceholder"];
93064
+ delete item.preps["minPlaceholder"];
93065
+ delete item.preps["maxPlaceholder"];
93066
+ return;
93067
+ }
93068
+ if (inputType.includes(itemType)) {
93069
+ item.preps["placeholder"] = item.preps["placeholder"]?.trim() || "请输入" + item.label;
93070
+ } else if (selectType.includes(itemType)) {
93071
+ item.preps["placeholder"] = item.preps["placeholder"]?.trim() || "请选择" + item.label;
93072
+ }
93073
+ if (itemType == "datetime") {
93074
+ if (item?.type?.includes("range")) {
93075
+ item.preps["startPlaceholder"] = item.preps["startPlaceholder"]?.trim() || "请选择开始日期";
93076
+ item.preps["endPlaceholder"] = item.preps["endPlaceholder"]?.trim() || "请选择结束日期";
93077
+ } else {
93078
+ item.preps["placeholder"] = item.preps["placeholder"]?.trim() || "请选择" + item.label;
93079
+ }
93080
+ } else if (itemType == "number-range") {
93081
+ item.preps["minPlaceholder"] = item.preps["minPlaceholder"]?.trim() || "请输入最小值";
93082
+ item.preps["maxPlaceholder"] = item.preps["maxPlaceholder"]?.trim() || "请输入最大值";
93083
+ }
93084
+ }
93085
+ function itemCheck(item) {
93086
+ if (item?.compType == "formItem") {
93087
+ item.label = item.label || item.preps?.label;
93088
+ item.fieldName = item.fieldName || item.preps?.fieldName;
93089
+ item.type = item.type || item.itemType;
93090
+ item.actions = item.actions || item.preps?.actions;
93091
+ fieldPlaceholder(item, item.type);
93092
+ if (typeof item.actions === "string") {
93093
+ try {
93094
+ item.actions = {
93095
+ "click": new Function(item.actions)
93096
+ };
93097
+ } catch (e) {
93098
+ console.error("actions 字符串转函数失败:", e);
93099
+ item.actions = null;
93100
+ }
93101
+ } else if (isJson(item.actions)) {
93102
+ let tempRecord = {};
93103
+ Object.entries(item.actions).forEach(([key, value]) => {
93104
+ tempRecord[key] = new Function(value);
93105
+ });
93106
+ item.actions = tempRecord;
93107
+ }
93108
+ }
93109
+ return item?.itemType + (item?.compType === "container" ? "-container" : "-item");
93110
+ }
93047
93111
  function createComponent(compInfo) {
93048
93112
  const app = __starHorseHostApp__;
93049
93113
  !app && console.log("app is null,please define __starHorseHostApp__");
@@ -93105,6 +93169,31 @@ const useZIndex = (zIndexOverrides) => {
93105
93169
  nextZIndex
93106
93170
  };
93107
93171
  };
93172
+ function getDynamicEvents(props, recall) {
93173
+ const events = {};
93174
+ const actions = props.field.actions;
93175
+ const actionNames = Object.keys(actions || {});
93176
+ const handleEvent = (eventName, e) => {
93177
+ if (eventName.includes(".")) {
93178
+ const [baseEvent, modifier] = eventName.split(".");
93179
+ if (modifier == e.key.toLowerCase()) {
93180
+ console.log("成功触发事件:");
93181
+ recall(modifier);
93182
+ }
93183
+ } else {
93184
+ recall(eventName);
93185
+ }
93186
+ };
93187
+ actionNames?.forEach((actionName) => {
93188
+ if (actionName.includes(".")) {
93189
+ const [baseEvent, modifier] = actionName.split(".");
93190
+ events[baseEvent] = (e) => handleEvent(actionName, e);
93191
+ } else {
93192
+ events[actionName] = (e) => handleEvent(actionName, e);
93193
+ }
93194
+ });
93195
+ return events;
93196
+ }
93108
93197
 
93109
93198
  const useSelfOperationStore = defineStore("selfOperation", () => {
93110
93199
  const formFieldList = ref({});
@@ -93287,7 +93376,7 @@ function isPromise(obj) {
93287
93376
  return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function" && typeof obj.catch === "function";
93288
93377
  }
93289
93378
 
93290
- const _hoisted_1$X = ["title"];
93379
+ const _hoisted_1$Y = ["title"];
93291
93380
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
93292
93381
  __name: "StarHorseIcon",
93293
93382
  props: {
@@ -93334,7 +93423,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
93334
93423
  "aria-hidden": "false",
93335
93424
  class: normalizeClass([svgClass.value, iconName.value]),
93336
93425
  title: __props.title
93337
- }, null, 10, _hoisted_1$X);
93426
+ }, null, 10, _hoisted_1$Y);
93338
93427
  };
93339
93428
  }
93340
93429
  });
@@ -93479,21 +93568,11 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
93479
93568
  }, {
93480
93569
  default: withCtx(() => [
93481
93570
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.fieldList, (data, key) => {
93482
- return openBlock(), createElementBlock(Fragment, {
93483
- key: unref(compKey)(data, key, false, "dyform")
93484
- }, [
93485
- data.compType === "container" ? (openBlock(), createBlock(resolveDynamicComponent(data.itemType + "-container"), {
93486
- key: unref(compKey)(data, key, true),
93487
- field: data,
93488
- formData: dataForm.value
93489
- }, null, 8, ["field", "formData"])) : createCommentVNode("", true),
93490
- data.compType === "formItem" ? (openBlock(), createBlock(resolveDynamicComponent(data.itemType + "-item"), {
93491
- key: 1,
93492
- id: data.id,
93493
- field: data,
93494
- formData: dataForm.value
93495
- }, null, 8, ["id", "field", "formData"])) : createCommentVNode("", true)
93496
- ], 64);
93571
+ return openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
93572
+ key: unref(compKey)(data, key, false, "dyform"),
93573
+ field: data,
93574
+ formData: dataForm.value
93575
+ }, null, 8, ["field", "formData"]);
93497
93576
  }), 128)),
93498
93577
  __props.typeModel == "tab" ? (openBlock(), createBlock(_component_el_form_item, { key: 0 }, {
93499
93578
  default: withCtx(() => [
@@ -93771,7 +93850,7 @@ function parseListData(item, val) {
93771
93850
  return unref(item.preps?.values)?.find((temp) => temp.value == val)?.name || unref(item.preps?.data)?.find((temp) => temp.value == val)?.name || unref(item.optionList)?.find((temp) => temp.value == val)?.name || val;
93772
93851
  }
93773
93852
 
93774
- const _hoisted_1$W = { style: { "font-size": "12px" } };
93853
+ const _hoisted_1$X = { style: { "font-size": "12px" } };
93775
93854
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
93776
93855
  __name: "help",
93777
93856
  props: {
@@ -93795,7 +93874,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
93795
93874
  })
93796
93875
  ]),
93797
93876
  default: withCtx(() => [
93798
- createElementVNode("div", _hoisted_1$W, [
93877
+ createElementVNode("div", _hoisted_1$X, [
93799
93878
  createElementVNode("pre", null, toDisplayString(__props.message) + "\n ", 1)
93800
93879
  ])
93801
93880
  ]),
@@ -93810,7 +93889,7 @@ const help = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
93810
93889
  default: _sfc_main$1N
93811
93890
  }, Symbol.toStringTag, { value: 'Module' }));
93812
93891
 
93813
- const _hoisted_1$V = {
93892
+ const _hoisted_1$W = {
93814
93893
  key: 2,
93815
93894
  style: { "width": "15px" }
93816
93895
  };
@@ -93825,15 +93904,10 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93825
93904
  bareFlag: { type: Boolean, default: false },
93826
93905
  batchName: { type: String, default: "" },
93827
93906
  compSize: { type: String, default: Config.compSize },
93828
- isSearch: { type: Boolean, default: false },
93829
- //是否查询数据
93830
93907
  showLabel: { type: Boolean, default: true },
93831
93908
  //是否显示标签
93832
- isEdit: { type: Boolean, default: false },
93833
- //是否编辑数据
93834
- isView: { type: Boolean, default: false },
93835
- //是否视图数据
93836
- isDesign: { type: Boolean, default: false }
93909
+ source: { type: Number, default: 1 }
93910
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
93837
93911
  }, {
93838
93912
  "dataForm": {},
93839
93913
  "dataFormModifiers": {}
@@ -93846,9 +93920,6 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93846
93920
  const itemType = ref("input");
93847
93921
  const emit = __emit;
93848
93922
  const formFields = inject("formFields", {});
93849
- const defaultAction = ref("normal");
93850
- const typeList = ["select", "tselect", "date", "daterange"];
93851
- const actionName = ref();
93852
93923
  const componentRef = ref();
93853
93924
  const isDragging = ref(false);
93854
93925
  const startX = ref(0);
@@ -93856,21 +93927,22 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93856
93927
  const dragWidth = ref(null);
93857
93928
  const bareStyle = computed(() => ({
93858
93929
  height: itemType.value != "button" ? "100%" : "inherit",
93859
- minWidth: props.isSearch ? "200px" : "unset",
93860
- maxHeight: props.isSearch ? "500px" : "unset",
93861
- width: props.isSearch ? dragWidth.value || props.item.minWidth || "inherit" : "100%",
93930
+ minWidth: props.source == 4 ? "200px" : "unset",
93931
+ maxHeight: props.source == 4 ? "500px" : "unset",
93932
+ width: props.source == 4 ? dragWidth.value || props.item.minWidth || "inherit" : "100%",
93862
93933
  position: "relative"
93863
93934
  }));
93864
93935
  const actionDispatcher = (act, ...params) => {
93865
- if (props.isSearch) {
93866
- if (!act || act == "focus" || act == "blur") {
93936
+ if (props.source == 4) {
93937
+ if (!act) {
93867
93938
  return;
93868
93939
  }
93869
93940
  emit("dataSearch", params);
93870
93941
  } else {
93871
- let actionFun = props.item.actions;
93872
- if (actionFun && actionName.value == act) {
93873
- actionFun(dataForm.value, params);
93942
+ let actions = props.item.actions;
93943
+ const eventNames = Object.keys(actions || {});
93944
+ if (eventNames?.length > 0 && eventNames.includes(act) && typeof actions[act] == "function") {
93945
+ actions[act](dataForm.value, params);
93874
93946
  }
93875
93947
  if (act == "focus") {
93876
93948
  emit("focus", props.column, params);
@@ -93879,34 +93951,25 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93879
93951
  }
93880
93952
  }
93881
93953
  };
93882
- const dateType = ["year", "month", "date", "datetime", "week", "datetimerange", "daterange"];
93883
93954
  const fieldType = () => {
93884
93955
  itemType.value = props.item?.type || props.item?.fieldType || "input";
93885
- if (dateType.includes(itemType.value)) {
93956
+ if (dateCompList().includes(itemType.value)) {
93886
93957
  itemType.value = "datetime";
93887
93958
  }
93888
- };
93889
- const inputType = ["input", "textarea", "password", "number", "view-markdown", "json", "json-array"];
93890
- const selectType = ["select", "tselect", "cascader", "autocomplete", "area", "cron", "transfer", "dialog-input", "page-select"];
93891
- const fieldPlaceholder = () => {
93892
- if (!props.item.preps) {
93893
- props.item.preps = {};
93894
- }
93895
- if (inputType.includes(itemType.value)) {
93896
- props.item.preps["placeholder"] = "请输入" + props.item.label;
93897
- } else if (selectType.includes(itemType.value)) {
93898
- props.item.preps["placeholder"] = "请选择" + props.item.label;
93959
+ if (!props.item.actions) {
93960
+ props.item["actions"] = {};
93899
93961
  }
93900
- if (itemType.value == "datetime") {
93901
- if (props.item?.type?.includes("range")) {
93902
- props.item.preps["startPlaceholder"] = "请选择开始日期";
93903
- props.item.preps["endPlaceholder"] = "请选择结束日期";
93904
- } else {
93905
- props.item.preps["placeholder"] = "请选择" + props.item.label;
93962
+ const keys = Object.keys(props.item.actions);
93963
+ if (props.source == 4) {
93964
+ const actionKey = inputCompList().includes(itemType.value) ? "keyup.enter" : "change";
93965
+ if (!keys.includes(actionKey)) {
93966
+ props.item.actions[actionKey] = actionKey;
93967
+ }
93968
+ } else if (props.source == 5) {
93969
+ const actionKey = inputCompList().includes(itemType.value) ? "blur" : selectCompList().includes(itemType.value) ? "change" : null;
93970
+ if (actionKey && !keys.includes(actionKey)) {
93971
+ props.item.actions[actionKey] = actionKey;
93906
93972
  }
93907
- } else if (itemType.value == "number-range") {
93908
- props.item.preps["minPlaceholder"] = "请输入最小值";
93909
- props.item.preps["maxPlaceholder"] = "请输入最大值";
93910
93973
  }
93911
93974
  };
93912
93975
  const init = () => {
@@ -93915,8 +93978,8 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93915
93978
  props.item["id"] = uuid();
93916
93979
  }
93917
93980
  props.item["clearable"] = true;
93918
- props.item["readonly"] = props.item?.readonly || props.isView;
93919
- fieldPlaceholder();
93981
+ props.item["readonly"] = props.item?.readonly || props.source == 3;
93982
+ fieldPlaceholder(props.item, itemType.value);
93920
93983
  if (props.item.preps) {
93921
93984
  let keys = Object.keys(props.item.preps);
93922
93985
  for (let key in keys) {
@@ -93930,7 +93993,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93930
93993
  };
93931
93994
  const compPreps = () => {
93932
93995
  fieldType();
93933
- if (!props.isSearch && formFields) {
93996
+ if (props.source != 4 && formFields) {
93934
93997
  let fieldName = props.item.fieldName;
93935
93998
  if (props.batchName) {
93936
93999
  let batchFields = formFields[props.batchName];
@@ -93947,7 +94010,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93947
94010
  formFields[fieldName] = props.item;
93948
94011
  }
93949
94012
  }
93950
- if (!props.isSearch) {
94013
+ if (props.source != 4) {
93951
94014
  userOperation.addFormItem(props.item);
93952
94015
  }
93953
94016
  if (!dataForm.value[props.item?.fieldName] && props.item?.defaultValue) {
@@ -93985,10 +94048,6 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
93985
94048
  }
93986
94049
  };
93987
94050
  onMounted(() => {
93988
- if (typeList.includes(props.item?.type) || typeList.includes(props.item?.fieldType)) {
93989
- defaultAction.value = "change";
93990
- }
93991
- actionName.value = props.item?.actionName ?? defaultAction.value;
93992
94051
  init();
93993
94052
  });
93994
94053
  return (_ctx, _cache) => {
@@ -94000,7 +94059,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
94000
94059
  onMouseup: stopDrag,
94001
94060
  onMouseleave: stopDrag
94002
94061
  }, [
94003
- itemType.value != "button" && __props.isSearch ? (openBlock(), createElementBlock("div", {
94062
+ itemType.value != "button" && __props.source == 4 ? (openBlock(), createElementBlock("div", {
94004
94063
  key: 0,
94005
94064
  class: "drag-handle",
94006
94065
  onMousedown: withModifiers(startDrag, ["prevent"])
@@ -94012,16 +94071,15 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
94012
94071
  (openBlock(), createBlock(resolveDynamicComponent((dataForm.value && dataForm.value["_" + __props.item.fieldName + "Type"] || itemType.value) + "-item"), {
94013
94072
  key: __props.item.id,
94014
94073
  onSelfFunc: actionDispatcher,
94015
- isDesign: __props.isDesign,
94016
94074
  ref_key: "componentRef",
94017
94075
  ref: componentRef,
94018
- isSearch: __props.isSearch,
94076
+ isSearch: __props.source == 4,
94019
94077
  bareFlag: __props.bareFlag,
94020
94078
  field: __props.item,
94021
94079
  formData: dataForm.value,
94022
94080
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event)
94023
- }, null, 40, ["isDesign", "isSearch", "bareFlag", "field", "formData"])),
94024
- __props.item.brotherNodes ? (openBlock(), createElementBlock("div", _hoisted_1$V)) : createCommentVNode("", true),
94081
+ }, null, 40, ["isSearch", "bareFlag", "field", "formData"])),
94082
+ __props.item.brotherNodes ? (openBlock(), createElementBlock("div", _hoisted_1$W)) : createCommentVNode("", true),
94025
94083
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.brotherNodes, (temp, key) => {
94026
94084
  return openBlock(), createElementBlock(Fragment, {
94027
94085
  key: unref(compKey)(temp, key)
@@ -94033,11 +94091,10 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
94033
94091
  dataForm: dataForm.value,
94034
94092
  "onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => dataForm.value = $event),
94035
94093
  item: temp,
94036
- isDesign: __props.isDesign,
94037
94094
  dataIndex: __props.dataIndex,
94038
94095
  bareFlag: true,
94039
- isEdit: __props.isEdit
94040
- }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "isDesign", "dataIndex", "isEdit"])) : createCommentVNode("", true)
94096
+ source: __props.source
94097
+ }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])) : createCommentVNode("", true)
94041
94098
  ], 64);
94042
94099
  }), 128))
94043
94100
  ], 38);
@@ -94047,7 +94104,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
94047
94104
 
94048
94105
  /* unplugin-vue-components disabled */
94049
94106
 
94050
- const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-b2f76090"]]);
94107
+ const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-49f5ae3e"]]);
94051
94108
 
94052
94109
  const StarHorseItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
94053
94110
  __proto__: null,
@@ -94064,11 +94121,12 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
94064
94121
  primaryKey: { type: [String, Object] },
94065
94122
  batchName: { type: String, default: "batchDataList" },
94066
94123
  rules: { type: Object },
94067
- size: { type: String, default: Config.compSize }
94124
+ size: { type: String, default: Config.compSize },
94125
+ source: { type: Number, default: 1 }
94126
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
94068
94127
  },
94069
94128
  setup(__props) {
94070
94129
  const props = __props;
94071
- const dialogProps = inject("dialogProps");
94072
94130
  const dataFormat = (val) => {
94073
94131
  const type = props.item.type;
94074
94132
  if (val) {
@@ -94103,8 +94161,8 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
94103
94161
  batchName: __props.batchName,
94104
94162
  item: __props.item,
94105
94163
  "data-form": __props.dataForm,
94106
- isEdit: unref(dialogProps)?.ids && unref(dialogProps)?.ids != -1
94107
- }, null, 8, ["primaryKey", "compSize", "batchName", "item", "data-form", "isEdit"])
94164
+ source: __props.source
94165
+ }, null, 8, ["primaryKey", "compSize", "batchName", "item", "data-form", "source"])
94108
94166
  ]),
94109
94167
  _: 1
94110
94168
  }, 8, ["size", "rules", "prop"]));
@@ -94117,7 +94175,7 @@ const ShTableListColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
94117
94175
  default: _sfc_main$1L
94118
94176
  }, Symbol.toStringTag, { value: 'Module' }));
94119
94177
 
94120
- const _hoisted_1$U = {
94178
+ const _hoisted_1$V = {
94121
94179
  class: "flex-center",
94122
94180
  style: { "gap": "4px", "grid-gap": "4px" }
94123
94181
  };
@@ -94152,7 +94210,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
94152
94210
  onClose
94153
94211
  }, {
94154
94212
  default: withCtx(() => [
94155
- createElementVNode("div", _hoisted_1$U, [
94213
+ createElementVNode("div", _hoisted_1$V, [
94156
94214
  createElementVNode("span", null, toDisplayString(_ctx.data[_ctx.displayName]), 1)
94157
94215
  ])
94158
94216
  ]),
@@ -94211,6 +94269,8 @@ const zh_CN = {
94211
94269
  "dialog.fullScreen": "最大化",
94212
94270
  "dialog.resize": "还原",
94213
94271
  "dialog.close": "关闭",
94272
+ "dialog.editTitle": "编辑",
94273
+ "dialog.viewTitle": "查看",
94214
94274
  /**
94215
94275
  * 流程设计器
94216
94276
  */
@@ -94290,6 +94350,8 @@ const en_US = {
94290
94350
  "dialog.fullScreen": "FullScreen",
94291
94351
  "dialog.resize": "Restore",
94292
94352
  "dialog.close": "Close",
94353
+ "dialog.editTitle": "Edit",
94354
+ "dialog.viewTitle": "View",
94293
94355
  /**
94294
94356
  * 流程设计器
94295
94357
  */
@@ -94360,8 +94422,8 @@ function i18n(key, ...args) {
94360
94422
  }
94361
94423
  }
94362
94424
 
94363
- const _hoisted_1$T = { class: "di animated animate__fadeIn" };
94364
- const _hoisted_2$F = { class: "my-header" };
94425
+ const _hoisted_1$U = { class: "di animated animate__fadeIn" };
94426
+ const _hoisted_2$G = { class: "my-header" };
94365
94427
  const _hoisted_3$r = { class: "shdialog" };
94366
94428
  const _hoisted_4$j = { class: "dialog-body" };
94367
94429
  const _hoisted_5$f = {
@@ -94376,7 +94438,8 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
94376
94438
  isShowReset: { type: Boolean, default: true },
94377
94439
  isShowSave: { type: Boolean, default: false },
94378
94440
  isShowBtnContinue: { type: Boolean, default: false },
94379
- isView: { type: Boolean, default: false },
94441
+ source: { type: Number, default: 1 },
94442
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
94380
94443
  draggable: { type: Boolean, default: true },
94381
94444
  boxHeight: { type: String, default: "60%" },
94382
94445
  boxWidth: { type: String, default: "60%" },
@@ -94422,7 +94485,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
94422
94485
  if (props.dialogProps?.batchEditVisible || props.isBatch) {
94423
94486
  props.dialogProps.batchEditVisible = false;
94424
94487
  }
94425
- if (props.dialogProps.viewVisible || props.isView) {
94488
+ if (props.dialogProps.viewVisible || props.source == 3) {
94426
94489
  props.dialogProps.viewVisible = false;
94427
94490
  }
94428
94491
  if (props.dialogProps.editVisible) {
@@ -94468,7 +94531,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
94468
94531
  const _component_el_button = ElButton;
94469
94532
  const _component_el_dialog = ElDialog;
94470
94533
  return openBlock(), createBlock(Teleport$1, { to: "body" }, [
94471
- createElementVNode("div", _hoisted_1$T, [
94534
+ createElementVNode("div", _hoisted_1$U, [
94472
94535
  createVNode(_component_el_dialog, {
94473
94536
  "append-to-body": false,
94474
94537
  center: false,
@@ -94489,8 +94552,8 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
94489
94552
  style: normalizeStyle(dialogStyle.value)
94490
94553
  }, {
94491
94554
  header: withCtx(({ close }) => [
94492
- createElementVNode("h3", { onDblclick: fullScreen }, toDisplayString(__props.title || __props.dialogProps.dialogTitle), 33),
94493
- createElementVNode("div", _hoisted_2$F, [
94555
+ createElementVNode("h3", { onDblclick: fullScreen }, toDisplayString(__props.title || (__props.source == 3 ? unref(i18n)("dialog.viewTitle") : unref(i18n)("dialog.editTitle"))), 33),
94556
+ createElementVNode("div", _hoisted_2$G, [
94494
94557
  !__props.hideFullScreenIcon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
94495
94558
  !!unref(isFullScreen) && __props.draggable ? (openBlock(), createBlock(_component_el_button, {
94496
94559
  key: 0,
@@ -94546,7 +94609,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
94546
94609
  ])
94547
94610
  ]),
94548
94611
  footer: withCtx(() => [
94549
- !__props.isView ? (openBlock(), createElementBlock("span", _hoisted_5$f, [
94612
+ __props.source != 3 ? (openBlock(), createElementBlock("span", _hoisted_5$f, [
94550
94613
  renderSlot(_ctx.$slots, "extend", {}, void 0, true),
94551
94614
  createVNode(_component_el_button, {
94552
94615
  onClick: _cache[0] || (_cache[0] = ($event) => operation("merge", "close")),
@@ -94670,15 +94733,15 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
94670
94733
 
94671
94734
  /* unplugin-vue-components disabled */
94672
94735
 
94673
- const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-0ac182f9"]]);
94736
+ const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-ac561350"]]);
94674
94737
 
94675
94738
  const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
94676
94739
  __proto__: null,
94677
94740
  default: __unplugin_components_0$9
94678
94741
  }, Symbol.toStringTag, { value: 'Module' }));
94679
94742
 
94680
- const _hoisted_1$S = { class: "data-line" };
94681
- const _hoisted_2$E = { class: "flex-center" };
94743
+ const _hoisted_1$T = { class: "data-line" };
94744
+ const _hoisted_2$F = { class: "flex-center" };
94682
94745
  const _sfc_main$1I = /* @__PURE__ */ defineComponent({
94683
94746
  __name: "DataPicker",
94684
94747
  props: {
@@ -94881,8 +94944,8 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
94881
94944
  onNodeClick
94882
94945
  }, {
94883
94946
  default: withCtx(({ data }) => [
94884
- createElementVNode("div", _hoisted_1$S, [
94885
- createElementVNode("div", _hoisted_2$E, [
94947
+ createElementVNode("div", _hoisted_1$T, [
94948
+ createElementVNode("div", _hoisted_2$F, [
94886
94949
  createVNode(_component_el_icon, { size: 16 }, {
94887
94950
  default: withCtx(() => [
94888
94951
  createVNode(_component_School)
@@ -94932,7 +94995,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
94932
94995
 
94933
94996
  const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-08abd960"]]);
94934
94997
 
94935
- const _hoisted_1$R = { class: "data-wrapper" };
94998
+ const _hoisted_1$S = { class: "data-wrapper" };
94936
94999
  const _sfc_main$1H = /* @__PURE__ */ defineComponent({
94937
95000
  __name: "StarHorseDataSelector",
94938
95001
  props: {
@@ -95006,7 +95069,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
95006
95069
  modelValue: selectData.value,
95007
95070
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectData.value = $event)
95008
95071
  }, null, 8, ["title", "datas", "data-url", "page-size", "display-name", "display-value", "checkStrictly", "multiple", "modelValue"]),
95009
- createElementVNode("div", _hoisted_1$R, [
95072
+ createElementVNode("div", _hoisted_1$S, [
95010
95073
  createVNode(__unplugin_components_0$b, {
95011
95074
  onClick: openDataPicker,
95012
95075
  cursor: "pointer",
@@ -95095,8 +95158,8 @@ const StarHorseTableViewColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.
95095
95158
  default: _sfc_main$1G
95096
95159
  }, Symbol.toStringTag, { value: 'Module' }));
95097
95160
 
95098
- const _hoisted_1$Q = { style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" } };
95099
- const _hoisted_2$D = { class: "tb_title" };
95161
+ const _hoisted_1$R = { style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" } };
95162
+ const _hoisted_2$E = { class: "tb_title" };
95100
95163
  const _sfc_main$1F = /* @__PURE__ */ defineComponent({
95101
95164
  __name: "StarHorseDataViewTable",
95102
95165
  props: /* @__PURE__ */ mergeModels({
@@ -95117,8 +95180,8 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
95117
95180
  const _component_star_horse_table_view_column = _sfc_main$1G;
95118
95181
  const _component_el_table = ElTable;
95119
95182
  return openBlock(), createElementBlock(Fragment, null, [
95120
- createElementVNode("div", _hoisted_1$Q, [
95121
- createElementVNode("div", _hoisted_2$D, [
95183
+ createElementVNode("div", _hoisted_1$R, [
95184
+ createElementVNode("div", _hoisted_2$E, [
95122
95185
  createVNode(_component_star_horse_icon, {
95123
95186
  "icon-class": "info",
95124
95187
  size: "14px"
@@ -95376,7 +95439,7 @@ const StarHorseDataViewItems = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
95376
95439
  default: __unplugin_components_0$7
95377
95440
  }, Symbol.toStringTag, { value: 'Module' }));
95378
95441
 
95379
- const _hoisted_1$P = { class: "star-horse-data-view" };
95442
+ const _hoisted_1$Q = { class: "star-horse-data-view" };
95380
95443
  const _sfc_main$1C = /* @__PURE__ */ defineComponent({
95381
95444
  __name: "StarHorseDataView",
95382
95445
  props: {
@@ -95468,7 +95531,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
95468
95531
  });
95469
95532
  return (_ctx, _cache) => {
95470
95533
  const _component_star_horse_data_view_items = __unplugin_components_0$7;
95471
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
95534
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
95472
95535
  createVNode(_component_star_horse_data_view_items, {
95473
95536
  commonFormat: __props.dataFormat,
95474
95537
  "field-list": __props.fieldList,
@@ -95489,7 +95552,7 @@ const StarHorseDataView$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
95489
95552
  default: StarHorseDataView
95490
95553
  }, Symbol.toStringTag, { value: 'Module' }));
95491
95554
 
95492
- const _hoisted_1$O = ["data", "onMouseup", "onMouseenter"];
95555
+ const _hoisted_1$P = ["data", "onMouseup", "onMouseenter"];
95493
95556
  const _sfc_main$1B = /* @__PURE__ */ defineComponent({
95494
95557
  ...{
95495
95558
  name: "PageEditorContentMenu"
@@ -95643,7 +95706,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
95643
95706
  "icon-class": item.icon
95644
95707
  }, null, 8, ["icon-class"]),
95645
95708
  createTextVNode(" " + toDisplayString(item.text), 1)
95646
- ], 42, _hoisted_1$O)) : createCommentVNode("", true)
95709
+ ], 42, _hoisted_1$P)) : createCommentVNode("", true)
95647
95710
  ], 64);
95648
95711
  }), 128)),
95649
95712
  (openBlock(), createBlock(Teleport$1, { to: "body" }, [
@@ -96696,8 +96759,8 @@ function dynamicPageContextMenuData(node) {
96696
96759
  return contentMenuData;
96697
96760
  }
96698
96761
 
96699
- const _hoisted_1$N = { class: "node__wrapper" };
96700
- const _hoisted_2$C = {
96762
+ const _hoisted_1$O = { class: "node__wrapper" };
96763
+ const _hoisted_2$D = {
96701
96764
  key: 0,
96702
96765
  class: "node-line node-line-left",
96703
96766
  style: { "border-width": "1px", "border-color": "red" }
@@ -96902,8 +96965,8 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
96902
96965
  onMouseup: endAction,
96903
96966
  onMousemove: dragAction
96904
96967
  }, [
96905
- createElementVNode("div", _hoisted_1$N, [
96906
- __props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$C)) : createCommentVNode("", true),
96968
+ createElementVNode("div", _hoisted_1$O, [
96969
+ __props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$D)) : createCommentVNode("", true),
96907
96970
  __props.isActive ? (openBlock(), createElementBlock("div", _hoisted_3$q)) : createCommentVNode("", true),
96908
96971
  __props.isActive ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(pointList.value, (item, key) => {
96909
96972
  return openBlock(), createElementBlock("div", {
@@ -99609,7 +99672,9 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
99609
99672
  staticColumn: { type: String, default: "Y" },
99610
99673
  size: { type: String, default: Config.compSize },
99611
99674
  batchName: { type: String, default: "batchDataList" },
99612
- primaryKey: { type: [String, Object] }
99675
+ primaryKey: { type: [String, Object] },
99676
+ source: { type: Number, default: 1 }
99677
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
99613
99678
  },
99614
99679
  setup(__props) {
99615
99680
  const _compKey = compKey;
@@ -99638,21 +99703,23 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
99638
99703
  initRows: sitem["initRows"],
99639
99704
  subFlag: true,
99640
99705
  size: __props.size,
99706
+ source: __props.source,
99641
99707
  defaultValues: unref(batchFieldDefaultValues)(sitem, scope.row),
99642
99708
  "field-list": sitem["fieldList"],
99643
99709
  rules: sitem["rules"] || __props.rules
99644
- }, null, 8, ["dataForm", "onUpdate:dataForm", "compUrl", "primaryKey", "batchName", "initRows", "size", "defaultValues", "field-list", "rules"]);
99710
+ }, null, 8, ["dataForm", "onUpdate:dataForm", "compUrl", "primaryKey", "batchName", "initRows", "size", "source", "defaultValues", "field-list", "rules"]);
99645
99711
  }), 128)) : (openBlock(), createBlock(_component_sh_table_list_column, {
99646
99712
  key: 1,
99647
99713
  primaryKey: __props.primaryKey,
99648
99714
  batchName: __props.batchName,
99649
99715
  dataForm: scope.row,
99650
99716
  size: __props.size,
99717
+ source: __props.source,
99651
99718
  rules: __props.rules,
99652
99719
  staticColumn: __props.staticColumn,
99653
99720
  item: __props.item,
99654
99721
  index: scope.$index
99655
- }, null, 8, ["primaryKey", "batchName", "dataForm", "size", "rules", "staticColumn", "item", "index"]))
99722
+ }, null, 8, ["primaryKey", "batchName", "dataForm", "size", "source", "rules", "staticColumn", "item", "index"]))
99656
99723
  ]),
99657
99724
  _: 1
99658
99725
  }, 8, ["prop", "label", "min-width"])) : createCommentVNode("", true);
@@ -99665,8 +99732,8 @@ const UTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProper
99665
99732
  default: _sfc_main$1z
99666
99733
  }, Symbol.toStringTag, { value: 'Module' }));
99667
99734
 
99668
- const _hoisted_1$M = { class: "el-upload__tip" };
99669
- const _hoisted_2$B = { class: "form-list" };
99735
+ const _hoisted_1$N = { class: "el-upload__tip" };
99736
+ const _hoisted_2$C = { class: "form-list" };
99670
99737
  const _hoisted_3$p = { class: "dynamic-tools" };
99671
99738
  const _hoisted_4$h = {
99672
99739
  key: 0,
@@ -99692,7 +99759,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
99692
99759
  rules: { type: Object },
99693
99760
  staticColumn: { type: String, default: "Y" },
99694
99761
  size: { type: String, default: Config.compSize },
99695
- isView: { type: Boolean, default: false },
99762
+ source: { type: Number, default: 1 },
99763
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
99696
99764
  showCheckBox: { type: Boolean, default: false },
99697
99765
  selectAll: { type: Boolean, default: false },
99698
99766
  subFlag: { type: Boolean, default: false }
@@ -99918,7 +99986,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
99918
99986
  title: "导入文件",
99919
99987
  dialogVisible: unref(importDialogVisible),
99920
99988
  boxWidth: "30%",
99921
- isView: true,
99989
+ source: 3,
99922
99990
  draggable: false,
99923
99991
  onCloseAction: _cache[0] || (_cache[0] = ($event) => isRef(importDialogVisible) ? importDialogVisible.value = false : importDialogVisible = false)
99924
99992
  }, {
@@ -99938,7 +100006,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
99938
100006
  drag: ""
99939
100007
  }, {
99940
100008
  tip: withCtx(() => [
99941
- createElementVNode("div", _hoisted_1$M, [
100009
+ createElementVNode("div", _hoisted_1$N, [
99942
100010
  _cache[3] || (_cache[3] = createTextVNode(" 只能上传 xls/xlsx 文件类型 ")),
99943
100011
  __props.importInfo?.downloadTemplateUrl ? (openBlock(), createBlock(_component_el_button, {
99944
100012
  key: 0,
@@ -99986,7 +100054,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
99986
100054
  ]),
99987
100055
  _: 1
99988
100056
  }, 8, ["dialogVisible"])) : createCommentVNode("", true),
99989
- createElementVNode("div", _hoisted_2$B, [
100057
+ createElementVNode("div", _hoisted_2$C, [
99990
100058
  createElementVNode("div", _hoisted_3$p, [
99991
100059
  !__props.subFlag ? (openBlock(), createElementBlock("div", _hoisted_4$h, [
99992
100060
  createVNode(__unplugin_components_0$b, {
@@ -100001,7 +100069,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
100001
100069
  }, null, 8, ["message"])) : createCommentVNode("", true)
100002
100070
  ])) : createCommentVNode("", true),
100003
100071
  createElementVNode("div", _hoisted_5$d, [
100004
- !__props.isView ? (openBlock(), createElementBlock("ul", _hoisted_6$7, [
100072
+ __props.source != 3 ? (openBlock(), createElementBlock("ul", _hoisted_6$7, [
100005
100073
  __props.importInfo?.importDataUrl && !__props.subFlag ? (openBlock(), createElementBlock("li", {
100006
100074
  key: 0,
100007
100075
  onClick: excelOperation
@@ -100109,19 +100177,21 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
100109
100177
  key: unref(compKey)(temp, skey),
100110
100178
  size: __props.size,
100111
100179
  rules: __props.rules,
100180
+ source: __props.source,
100112
100181
  batchName: __props.batchName,
100113
100182
  primaryKey: __props.primaryKey,
100114
100183
  staticColumn: __props.staticColumn
100115
- }, null, 8, ["item", "size", "rules", "batchName", "primaryKey", "staticColumn"]);
100184
+ }, null, 8, ["item", "size", "rules", "source", "batchName", "primaryKey", "staticColumn"]);
100116
100185
  }), 128)) : item.formVisible ? (openBlock(), createBlock(_sfc_main$1z, {
100117
100186
  key: 1,
100118
100187
  item,
100119
100188
  size: __props.size,
100120
100189
  rules: __props.rules,
100190
+ source: __props.source,
100121
100191
  batchName: __props.batchName,
100122
100192
  primaryKey: __props.primaryKey,
100123
100193
  staticColumn: __props.staticColumn
100124
- }, null, 8, ["item", "size", "rules", "batchName", "primaryKey", "staticColumn"])) : createCommentVNode("", true)
100194
+ }, null, 8, ["item", "size", "rules", "source", "batchName", "primaryKey", "staticColumn"])) : createCommentVNode("", true)
100125
100195
  ], 64);
100126
100196
  }), 128)),
100127
100197
  createVNode(_component_el_table_column, {
@@ -100129,7 +100199,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
100129
100199
  label: "操作",
100130
100200
  width: "80"
100131
100201
  }, createSlots({ _: 2 }, [
100132
- !__props.isView ? {
100202
+ __props.source != 3 ? {
100133
100203
  name: "default",
100134
100204
  fn: withCtx((scope) => [
100135
100205
  __props.staticColumn == "Y" ? (openBlock(), createBlock(__unplugin_components_0$b, {
@@ -100153,7 +100223,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
100153
100223
  }, 8, ["data", "size", "row-class-name", "use-virtual"])), [
100154
100224
  [_directive_loading, loading.value]
100155
100225
  ]),
100156
- !__props.isView ? (openBlock(), createElementBlock("div", {
100226
+ __props.source != 3 ? (openBlock(), createElementBlock("div", {
100157
100227
  key: 0,
100158
100228
  class: "add-row",
100159
100229
  onClick: _cache[1] || (_cache[1] = ($event) => handleAddDetails(null, 1))
@@ -100172,7 +100242,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
100172
100242
 
100173
100243
  /* unplugin-vue-components disabled */
100174
100244
 
100175
- const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-17de27ea"]]);
100245
+ const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-62880445"]]);
100176
100246
 
100177
100247
  const StarHorseFormList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
100178
100248
  __proto__: null,
@@ -100185,7 +100255,9 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
100185
100255
  item: { type: Object, required: true },
100186
100256
  rules: { type: Object },
100187
100257
  initRows: { type: Number, default: 0 },
100188
- size: { type: String, default: Config.compSize }
100258
+ size: { type: String, default: Config.compSize },
100259
+ source: { type: Number, default: 1 }
100260
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
100189
100261
  }, {
100190
100262
  "dataForm": {},
100191
100263
  "dataFormModifiers": {}
@@ -100227,8 +100299,9 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
100227
100299
  ref_key: "currentTableRef",
100228
100300
  ref: currentTableRef,
100229
100301
  fieldList: __props.item["fieldList"],
100302
+ source: __props.source,
100230
100303
  rules: __props.item["rules"] || __props.rules
100231
- }, null, 8, ["dataForm", "compUrl", "primaryKey", "batchName", "initRows", "batchUrl", "title", "size", "helpMsg", "staticColumn", "downloadTemplateUrl", "importInfo", "defaultValues", "fieldList", "rules"])) : createCommentVNode("", true);
100304
+ }, null, 8, ["dataForm", "compUrl", "primaryKey", "batchName", "initRows", "batchUrl", "title", "size", "helpMsg", "staticColumn", "downloadTemplateUrl", "importInfo", "defaultValues", "fieldList", "source", "rules"])) : createCommentVNode("", true);
100232
100305
  };
100233
100306
  }
100234
100307
  });
@@ -100252,7 +100325,8 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
100252
100325
  primaryKey: { type: [String, Object], required: true },
100253
100326
  rules: { type: Object },
100254
100327
  compSize: { type: String, default: Config.compSize },
100255
- isView: { type: Boolean, default: false }
100328
+ source: { type: Number, default: 1 }
100329
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
100256
100330
  }, {
100257
100331
  "dataForm": {},
100258
100332
  "dataFormModifiers": {}
@@ -100343,8 +100417,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
100343
100417
  primaryKey: { type: [String, Object] },
100344
100418
  compSize: { type: String, default: Config.compSize },
100345
100419
  rules: { type: Object },
100346
- isView: { type: Boolean, default: false },
100347
- isEdit: { type: Boolean, default: true }
100420
+ source: { type: Number, default: 1 }
100421
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
100348
100422
  }, {
100349
100423
  "dataForm": {},
100350
100424
  "dataFormModifiers": {}
@@ -100352,7 +100426,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
100352
100426
  emits: ["update:dataForm"],
100353
100427
  setup(__props) {
100354
100428
  const dataForm = useModel(__props, "dataForm");
100355
- const dialogProps = inject("dialogProps", {});
100429
+ inject("dialogProps", {});
100356
100430
  const checkItemType = (item) => {
100357
100431
  if (Array.isArray(item)) {
100358
100432
  return "box-item";
@@ -100383,15 +100457,14 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
100383
100457
  compSize: __props.compSize,
100384
100458
  compUrl: __props.compUrl,
100385
100459
  subFormFlag: __props.subFormFlag,
100386
- isView: __props.isView,
100460
+ source: __props.source,
100387
100461
  objectName: __props.objectName,
100388
100462
  dataIndex: __props.dataIndex,
100389
100463
  propPrefix: __props.propPrefix,
100390
100464
  dataForm: dataForm.value,
100391
100465
  "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
100392
- parentPreps: __props.fieldList.preps,
100393
- isEdit: !__props.isEdit || !unref(dialogProps)?.ids || unref(dialogProps)?.ids == -1
100394
- }, null, 40, ["Key", "primary-key", "item", "rules", "batchFieldName", "batchName", "compSize", "compUrl", "subFormFlag", "isView", "objectName", "dataIndex", "propPrefix", "dataForm", "parentPreps", "isEdit"]);
100466
+ parentPreps: __props.fieldList.preps
100467
+ }, null, 40, ["Key", "primary-key", "item", "rules", "batchFieldName", "batchName", "compSize", "compUrl", "subFormFlag", "source", "objectName", "dataIndex", "propPrefix", "dataForm", "parentPreps"]);
100395
100468
  }), 128)),
100396
100469
  createVNode(_component_table_item, {
100397
100470
  "primary-key": __props.primaryKey,
@@ -100402,15 +100475,14 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
100402
100475
  compSize: __props.compSize,
100403
100476
  compUrl: __props.compUrl,
100404
100477
  subFormFlag: __props.subFormFlag,
100405
- isView: __props.isView,
100478
+ source: __props.source,
100406
100479
  objectName: __props.objectName,
100407
100480
  dataIndex: __props.dataIndex,
100408
100481
  propPrefix: __props.propPrefix,
100409
100482
  dataForm: dataForm.value,
100410
100483
  "onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => dataForm.value = $event),
100411
- parentPreps: __props.fieldList.preps,
100412
- isEdit: !__props.isEdit || !unref(dialogProps)?.ids || unref(dialogProps)?.ids == -1
100413
- }, null, 8, ["primary-key", "item", "rules", "batchFieldName", "batchName", "compSize", "compUrl", "subFormFlag", "isView", "objectName", "dataIndex", "propPrefix", "dataForm", "parentPreps", "isEdit"])
100484
+ parentPreps: __props.fieldList.preps
100485
+ }, null, 8, ["primary-key", "item", "rules", "batchFieldName", "batchName", "compSize", "compUrl", "subFormFlag", "source", "objectName", "dataIndex", "propPrefix", "dataForm", "parentPreps"])
100414
100486
  ], 64);
100415
100487
  };
100416
100488
  }
@@ -100436,7 +100508,6 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
100436
100508
  labelPosition: { type: String, default: "left" },
100437
100509
  typeModel: { type: String },
100438
100510
  dynamicForm: { type: Boolean, default: false },
100439
- isView: { type: Boolean, default: false },
100440
100511
  selectData: {
100441
100512
  type: Array,
100442
100513
  default: () => {
@@ -100454,6 +100525,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
100454
100525
  const emits = __emit;
100455
100526
  const starHorseFormRef = ref(null);
100456
100527
  const dataForm = ref({});
100528
+ const source = ref(1);
100457
100529
  const exportData = () => {
100458
100530
  emits("exportData", dataForm.value);
100459
100531
  };
@@ -100514,9 +100586,6 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
100514
100586
  for (let key in formFields) {
100515
100587
  let temp = formFields[key];
100516
100588
  let preps = temp?.preps;
100517
- if (preps?.actionRelation) {
100518
- temp.preps["actionRelation"](dataForm.value[temp.preps["name"]]);
100519
- }
100520
100589
  if (preps?.actions) {
100521
100590
  temp.preps["actions"](dataForm.value);
100522
100591
  }
@@ -100712,8 +100781,10 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
100712
100781
  (val) => {
100713
100782
  console.log("ids", val);
100714
100783
  if (!val || val == -1) {
100784
+ source.value = 1;
100715
100785
  setFormData(dataForm.value);
100716
100786
  } else {
100787
+ source.value = 2;
100717
100788
  loadData();
100718
100789
  }
100719
100790
  },
@@ -100765,12 +100836,12 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
100765
100836
  compSize: __props.formSize,
100766
100837
  dataForm: dataForm.value,
100767
100838
  "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
100768
- isView: __props.isView,
100839
+ source: source.value,
100769
100840
  onAddRow: addRow,
100770
100841
  onRemoveRow: removeRow,
100771
100842
  batchName: __props.batchName,
100772
100843
  batchFieldName: __props.batchFieldName
100773
- }, null, 8, ["primaryKey", "compUrl", "fieldList", "rules", "compSize", "dataForm", "isView", "batchName", "batchFieldName"])
100844
+ }, null, 8, ["primaryKey", "compUrl", "fieldList", "rules", "compSize", "dataForm", "source", "batchName", "batchFieldName"])
100774
100845
  ]),
100775
100846
  _: 1
100776
100847
  }, 8, ["model", "size", "rules", "label-position"])
@@ -100817,7 +100888,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
100817
100888
 
100818
100889
  /* unplugin-vue-components disabled */
100819
100890
 
100820
- const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-08a8517a"]]);
100891
+ const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-fa2112eb"]]);
100821
100892
 
100822
100893
  const StarHorseForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
100823
100894
  __proto__: null,
@@ -145964,8 +146035,8 @@ const StarHorseJsonEditor = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
145964
146035
  default: __unplugin_components_0$5
145965
146036
  }, Symbol.toStringTag, { value: 'Module' }));
145966
146037
 
145967
- const _hoisted_1$L = { class: "system-icon" };
145968
- const _hoisted_2$A = ["onClick"];
146038
+ const _hoisted_1$M = { class: "system-icon" };
146039
+ const _hoisted_2$B = ["onClick"];
145969
146040
  const _sfc_main$1s = /* @__PURE__ */ defineComponent({
145970
146041
  __name: "StarHorsePopover",
145971
146042
  props: {
@@ -146012,7 +146083,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
146012
146083
  renderSlot(_ctx.$slots, "default")
146013
146084
  ]),
146014
146085
  default: withCtx(() => [
146015
- createElementVNode("ul", _hoisted_1$L, [
146086
+ createElementVNode("ul", _hoisted_1$M, [
146016
146087
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(iconList), (sdata, key) => {
146017
146088
  return openBlock(), createElementBlock("li", {
146018
146089
  key: unref(compKey)(sdata, key),
@@ -146030,7 +146101,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
146030
146101
  ]),
146031
146102
  _: 2
146032
146103
  }, 1032, ["content"])
146033
- ], 10, _hoisted_2$A);
146104
+ ], 10, _hoisted_2$B);
146034
146105
  }), 128))
146035
146106
  ])
146036
146107
  ]),
@@ -146199,8 +146270,8 @@ function analysisFields(compList) {
146199
146270
  return { fieldList, tabNames, objectNames, batchNames };
146200
146271
  }
146201
146272
 
146202
- const _hoisted_1$K = { class: "search_content" };
146203
- const _hoisted_2$z = { class: "search_btn" };
146273
+ const _hoisted_1$L = { class: "search_content" };
146274
+ const _hoisted_2$A = { class: "search_btn" };
146204
146275
  const _sfc_main$1r = /* @__PURE__ */ defineComponent({
146205
146276
  __name: "StarHorseSearchComp",
146206
146277
  props: {
@@ -146291,7 +146362,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
146291
146362
  const _component_el_button = ElButton;
146292
146363
  const _component_el_tooltip = ElTooltip;
146293
146364
  const _component_el_form = ElForm;
146294
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
146365
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
146295
146366
  __props.formData?.fieldList ? (openBlock(), createBlock(_component_el_form, {
146296
146367
  key: 0,
146297
146368
  class: "search_area",
@@ -146336,9 +146407,8 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
146336
146407
  "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => isRef(searchForm) ? searchForm.value = $event : searchForm = $event),
146337
146408
  compSize: unref(compSize),
146338
146409
  item,
146339
- isSearch: true,
146340
- onDataSearch: dataSearch,
146341
- isEdit: true
146410
+ source: 4,
146411
+ onDataSearch: dataSearch
146342
146412
  }, null, 8, ["data-form", "compSize", "item"])
146343
146413
  ]),
146344
146414
  _: 2
@@ -146378,9 +146448,8 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
146378
146448
  "onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => isRef(searchForm) ? searchForm.value = $event : searchForm = $event),
146379
146449
  compSize: unref(compSize),
146380
146450
  item,
146381
- isSearch: true,
146382
- onDataSearch: dataSearch,
146383
- isEdit: true
146451
+ source: 4,
146452
+ onDataSearch: dataSearch
146384
146453
  }, null, 8, ["data-form", "compSize", "item"])
146385
146454
  ]),
146386
146455
  _: 2
@@ -146388,7 +146457,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
146388
146457
  }), 256)),
146389
146458
  createVNode(_component_el_form_item, { style: { "vertical-align": "middle", "align-items": "center" } }, {
146390
146459
  default: withCtx(() => [
146391
- createElementVNode("div", _hoisted_2$z, [
146460
+ createElementVNode("div", _hoisted_2$A, [
146392
146461
  createVNode(_component_el_button, {
146393
146462
  onClick: dataSearch,
146394
146463
  style: { "background": "var(--star-horse-style)", "color": "var(--star-horse-white)" },
@@ -146457,7 +146526,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
146457
146526
 
146458
146527
  /* unplugin-vue-components disabled */
146459
146528
 
146460
- const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-23f3a05c"]]);
146529
+ const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-eac357a7"]]);
146461
146530
 
146462
146531
  const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
146463
146532
  __proto__: null,
@@ -157166,7 +157235,7 @@ function requireJquery () {
157166
157235
  var jqueryExports = requireJquery();
157167
157236
  const jQuery = /*@__PURE__*/getDefaultExportFromCjs(jqueryExports);
157168
157237
 
157169
- const _hoisted_1$J = ["onClick"];
157238
+ const _hoisted_1$K = ["onClick"];
157170
157239
  const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157171
157240
  __name: "StarHorseTableColumn",
157172
157241
  props: {
@@ -157181,7 +157250,9 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157181
157250
  isDynamic: { type: Boolean, default: false },
157182
157251
  //是否显示排序
157183
157252
  sortable: { type: Boolean, default: true },
157184
- compSize: { type: String, default: Config.compSize }
157253
+ compSize: { type: String, default: Config.compSize },
157254
+ source: { type: Number, default: 5 }
157255
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
157185
157256
  },
157186
157257
  emits: ["focusEvent", "blurEvent"],
157187
157258
  setup(__props, { emit: __emit }) {
@@ -157292,6 +157363,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157292
157363
  };
157293
157364
  };
157294
157365
  return (_ctx, _cache) => {
157366
+ const _component_star_horse_item = __unplugin_components_0$a;
157295
157367
  const _component_el_popover = ElPopover;
157296
157368
  const _component_el_table_column = ElTableColumn;
157297
157369
  return __props.item.listVisible ? (openBlock(), createBlock(_component_el_table_column, {
@@ -157314,7 +157386,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157314
157386
  onShow: showOperation
157315
157387
  }, {
157316
157388
  reference: withCtx(() => [
157317
- createVNode(__unplugin_components_0$a, {
157389
+ createVNode(_component_star_horse_item, {
157318
157390
  dataForm: scope.row,
157319
157391
  item: __props.item,
157320
157392
  column: scope.column,
@@ -157331,7 +157403,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157331
157403
  }, null, 8, ["item", "data"])) : createCommentVNode("", true)
157332
157404
  ]),
157333
157405
  _: 2
157334
- }, 1032, ["placement"])) : (openBlock(), createBlock(__unplugin_components_0$a, mergeProps({
157406
+ }, 1032, ["placement"])) : (openBlock(), createBlock(_component_star_horse_item, mergeProps({
157335
157407
  key: 1,
157336
157408
  dataForm: scope.row,
157337
157409
  item: __props.item,
@@ -157351,7 +157423,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157351
157423
  field: createPreps(__props.item),
157352
157424
  formData: scope.row
157353
157425
  }, null, 8, ["callBack", "field", "formData"])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
157354
- scope.row.isSelected && (scope.row.selectName == __props.item.hideName || scope.row.selectName == __props.item.fieldName) ? (openBlock(), createBlock(__unplugin_components_0$a, {
157426
+ scope.row.isSelected && (scope.row.selectName == __props.item.hideName || scope.row.selectName == __props.item.fieldName) ? (openBlock(), createBlock(_component_star_horse_item, {
157355
157427
  key: 0,
157356
157428
  dataForm: scope.row,
157357
157429
  item: __props.item,
@@ -157359,11 +157431,12 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157359
157431
  batchName: __props.batchName,
157360
157432
  onFocus: focusEvent,
157361
157433
  compSize: __props.compSize,
157362
- onBlur: blurEvent
157363
- }, null, 8, ["dataForm", "item", "column", "batchName", "compSize"])) : (openBlock(), createElementBlock("p", {
157434
+ onBlur: blurEvent,
157435
+ source: __props.source
157436
+ }, null, 8, ["dataForm", "item", "column", "batchName", "compSize", "source"])) : (openBlock(), createElementBlock("p", {
157364
157437
  key: 1,
157365
157438
  onClick: ($event) => cellClick(scope.row, scope.column)
157366
- }, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$J))
157439
+ }, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$K))
157367
157440
  ], 64))
157368
157441
  ]),
157369
157442
  _: 1
@@ -157374,15 +157447,15 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
157374
157447
 
157375
157448
  /* unplugin-vue-components disabled */
157376
157449
 
157377
- const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-3f1b8777"]]);
157450
+ const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-4ff3477d"]]);
157378
157451
 
157379
157452
  const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
157380
157453
  __proto__: null,
157381
157454
  default: __unplugin_components_2$1
157382
157455
  }, Symbol.toStringTag, { value: 'Module' }));
157383
157456
 
157384
- const _hoisted_1$I = { class: "table-comp" };
157385
- const _hoisted_2$y = {
157457
+ const _hoisted_1$J = { class: "table-comp" };
157458
+ const _hoisted_2$z = {
157386
157459
  key: 0,
157387
157460
  style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
157388
157461
  };
@@ -157566,8 +157639,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
157566
157639
  const _component_el_table = ElTable;
157567
157640
  const _component_el_popover = ElPopover;
157568
157641
  const _component_star_horse_table_column = __unplugin_components_2$1;
157569
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
157570
- !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
157642
+ return openBlock(), createElementBlock("div", _hoisted_1$J, [
157643
+ !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
157571
157644
  createElementVNode("div", _hoisted_3$o, [
157572
157645
  createVNode(_component_star_horse_icon, {
157573
157646
  "icon-class": "info",
@@ -157831,11 +157904,11 @@ const useButtonPermissionStore = defineStore("buttonPermission", () => {
157831
157904
  };
157832
157905
  });
157833
157906
 
157834
- const _hoisted_1$H = {
157907
+ const _hoisted_1$I = {
157835
157908
  key: 0,
157836
157909
  class: "inner_button"
157837
157910
  };
157838
- const _hoisted_2$x = { key: 0 };
157911
+ const _hoisted_2$y = { key: 0 };
157839
157912
  const _hoisted_3$n = ["onClick", "title"];
157840
157913
  const _hoisted_4$f = { class: "flex items-center w-[100%]" };
157841
157914
  const _hoisted_5$c = ["onClick"];
@@ -158017,7 +158090,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
158017
158090
  const _component_el_sub_menu = ElSubMenu;
158018
158091
  const _component_el_menu = ElMenu;
158019
158092
  return openBlock(), createElementBlock(Fragment, null, [
158020
- unref(showType) == "line" && Object.keys(unref(permissions) || {}).length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_1$H, [
158093
+ unref(showType) == "line" && Object.keys(unref(permissions) || {}).length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_1$I, [
158021
158094
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(buttonList), (item, key) => {
158022
158095
  return openBlock(), createElementBlock(Fragment, {
158023
158096
  key: unref(compKey)(item, key)
@@ -158073,7 +158146,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
158073
158146
  _: 2
158074
158147
  }, 1032, ["size"])) : createCommentVNode("", true)
158075
158148
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
158076
- unref(permissions)[item.authority] && item.authority == "upload" ? (openBlock(), createElementBlock("li", _hoisted_2$x, [
158149
+ unref(permissions)[item.authority] && item.authority == "upload" ? (openBlock(), createElementBlock("li", _hoisted_2$y, [
158077
158150
  createVNode(_component_el_upload, {
158078
158151
  "auto-upload": true,
158079
158152
  "on-change": upload,
@@ -158527,7 +158600,7 @@ const tableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
158527
158600
  default: _sfc_main$1n
158528
158601
  }, Symbol.toStringTag, { value: 'Module' }));
158529
158602
 
158530
- const _hoisted_1$G = { class: "el-dropdown-link" };
158603
+ const _hoisted_1$H = { class: "el-dropdown-link" };
158531
158604
  const _sfc_main$1m = /* @__PURE__ */ defineComponent({
158532
158605
  __name: "tablebtn",
158533
158606
  props: {
@@ -158645,7 +158718,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
158645
158718
  })
158646
158719
  ]),
158647
158720
  default: withCtx(() => [
158648
- createElementVNode("span", _hoisted_1$G, [
158721
+ createElementVNode("span", _hoisted_1$H, [
158649
158722
  createVNode(_component_star_horse_icon, {
158650
158723
  "icon-class": "ellipsis",
158651
158724
  style: { "color": "var(--star-horse-style)" }
@@ -158680,8 +158753,8 @@ const tablebtn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
158680
158753
  default: _sfc_main$1m
158681
158754
  }, Symbol.toStringTag, { value: 'Module' }));
158682
158755
 
158683
- const _hoisted_1$F = { class: "star-horse-table" };
158684
- const _hoisted_2$w = {
158756
+ const _hoisted_1$G = { class: "star-horse-table" };
158757
+ const _hoisted_2$x = {
158685
158758
  key: 0,
158686
158759
  style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
158687
158760
  };
@@ -159141,7 +159214,6 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
159141
159214
  };
159142
159215
  const loadByPage = () => {
159143
159216
  let url = props.compUrl?.pageListUrl;
159144
- console.log("url", url);
159145
159217
  let params = createParams();
159146
159218
  if (props.compUrl?.redirect) {
159147
159219
  params = {
@@ -159397,8 +159469,8 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
159397
159469
  _: 1,
159398
159470
  __: [7]
159399
159471
  }, 8, ["dialogVisible"]),
159400
- createElementVNode("div", _hoisted_1$F, [
159401
- !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$w, [
159472
+ createElementVNode("div", _hoisted_1$G, [
159473
+ !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
159402
159474
  createElementVNode("div", _hoisted_3$m, [
159403
159475
  __props.title || __props.helpMsg ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
159404
159476
  __props.helpMsg ? (openBlock(), createBlock(_sfc_main$1N, {
@@ -159745,15 +159817,15 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
159745
159817
 
159746
159818
  /* unplugin-vue-components disabled */
159747
159819
 
159748
- const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-e12727ce"]]);
159820
+ const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-8463d6ef"]]);
159749
159821
 
159750
159822
  const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
159751
159823
  __proto__: null,
159752
159824
  default: __unplugin_components_1$1
159753
159825
  }, Symbol.toStringTag, { value: 'Module' }));
159754
159826
 
159755
- const _hoisted_1$E = ["onClick"];
159756
- const _hoisted_2$v = { class: "name" };
159827
+ const _hoisted_1$F = ["onClick"];
159828
+ const _hoisted_2$w = { class: "name" };
159757
159829
  const _hoisted_3$l = {
159758
159830
  key: 0,
159759
159831
  class: "btn"
@@ -159827,7 +159899,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
159827
159899
  class: "menu-title",
159828
159900
  onClick: ($event) => selectData(item, $event)
159829
159901
  }, [
159830
- createElementVNode("div", _hoisted_2$v, toDisplayString(item[__props.preps.label]), 1),
159902
+ createElementVNode("div", _hoisted_2$w, toDisplayString(item[__props.preps.label]), 1),
159831
159903
  __props.btnVisible || __props.rmvVisible ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
159832
159904
  createVNode(_component_el_tooltip, { content: __props.btnTitle }, {
159833
159905
  default: withCtx(() => [
@@ -159853,7 +159925,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
159853
159925
  _: 2
159854
159926
  }, 1032, ["content"])
159855
159927
  ])) : createCommentVNode("", true)
159856
- ], 8, _hoisted_1$E)
159928
+ ], 8, _hoisted_1$F)
159857
159929
  ]),
159858
159930
  default: withCtx(() => [
159859
159931
  createVNode(_component_SubSystemMenu, {
@@ -159926,11 +159998,11 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
159926
159998
 
159927
159999
  const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-6f7c685e"]]);
159928
160000
 
159929
- const _hoisted_1$D = {
160001
+ const _hoisted_1$E = {
159930
160002
  key: 0,
159931
160003
  class: "selected-data gap-2"
159932
160004
  };
159933
- const _hoisted_2$u = { class: "tree-title" };
160005
+ const _hoisted_2$v = { class: "tree-title" };
159934
160006
  const _hoisted_3$k = { class: "title flex items-center" };
159935
160007
  const _hoisted_4$c = {
159936
160008
  key: 0,
@@ -160204,7 +160276,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
160204
160276
  })
160205
160277
  }, {
160206
160278
  default: withCtx(() => [
160207
- __props.showSelectData && unref(selectedDataList)?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
160279
+ __props.showSelectData && unref(selectedDataList)?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
160208
160280
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedDataList), (item) => {
160209
160281
  return openBlock(), createBlock(_component_el_tag, {
160210
160282
  key: unref(_compKey)(item, item[__props.preps.value]),
@@ -160218,7 +160290,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
160218
160290
  }, 1032, ["onClose"]);
160219
160291
  }), 128))
160220
160292
  ])) : createCommentVNode("", true),
160221
- createElementVNode("div", _hoisted_2$u, [
160293
+ createElementVNode("div", _hoisted_2$v, [
160222
160294
  createElementVNode("div", _hoisted_3$k, [
160223
160295
  createTextVNode(toDisplayString(__props.treeTitle) + " ", 1),
160224
160296
  __props.helpMsg ? (openBlock(), createBlock(_sfc_main$1N, {
@@ -160772,8 +160844,8 @@ const tableAction = (props, buttonControl) => {
160772
160844
  buttonControl.undoMergeColDisabled = undoMergeColAction(props);
160773
160845
  };
160774
160846
 
160775
- const _hoisted_1$C = { class: "component-list" };
160776
- const _hoisted_2$t = { class: "title" };
160847
+ const _hoisted_1$D = { class: "component-list" };
160848
+ const _hoisted_2$u = { class: "title" };
160777
160849
  const _hoisted_3$j = { id: "container" };
160778
160850
  const _hoisted_4$b = ["onClick"];
160779
160851
  const _hoisted_5$8 = { id: "basic" };
@@ -160802,8 +160874,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
160802
160874
  const _component_el_divider = ElDivider;
160803
160875
  const _component_star_horse_icon = __unplugin_components_0$b;
160804
160876
  const _component_el_scrollbar = ElScrollbar;
160805
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
160806
- createElementVNode("div", _hoisted_2$t, [
160877
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
160878
+ createElementVNode("div", _hoisted_2$u, [
160807
160879
  createVNode(_component_el_anchor, {
160808
160880
  type: "underline",
160809
160881
  container: containerRef.value,
@@ -160988,11 +161060,11 @@ function fieldCopy(data, type) {
160988
161060
  return mvData;
160989
161061
  }
160990
161062
 
160991
- const _hoisted_1$B = {
161063
+ const _hoisted_1$C = {
160992
161064
  key: 0,
160993
161065
  class: "drag-handler"
160994
161066
  };
160995
- const _hoisted_2$s = {
161067
+ const _hoisted_2$t = {
160996
161068
  key: 1,
160997
161069
  class: "field-action"
160998
161070
  };
@@ -161190,7 +161262,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
161190
161262
  onContextmenu: containerContextMenu
161191
161263
  }, [
161192
161264
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
161193
- unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
161265
+ unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
161194
161266
  createVNode(_component_el_tooltip, { content: "拖动" }, {
161195
161267
  default: withCtx(() => [
161196
161268
  createVNode(_component_star_horse_icon, {
@@ -161224,7 +161296,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
161224
161296
  _: 1
161225
161297
  })
161226
161298
  ])) : createCommentVNode("", true),
161227
- unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
161299
+ unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
161228
161300
  __props.formItem.itemType == "dytable" || __props.formItem.itemType == "box" ? (openBlock(), createBlock(_component_el_tooltip, {
161229
161301
  key: 0,
161230
161302
  content: "插入行"
@@ -161288,7 +161360,7 @@ const groupBoxContainer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
161288
161360
  default: __unplugin_components_1
161289
161361
  }, Symbol.toStringTag, { value: 'Module' }));
161290
161362
 
161291
- const _hoisted_1$A = { class: "comp-item" };
161363
+ const _hoisted_1$B = { class: "comp-item" };
161292
161364
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
161293
161365
  __name: "box-container",
161294
161366
  props: /* @__PURE__ */ mergeModels({
@@ -161379,8 +161451,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
161379
161451
  list: sdata.items
161380
161452
  }, {
161381
161453
  item: withCtx(({ element: data }) => [
161382
- createElementVNode("div", _hoisted_1$A, [
161383
- (openBlock(), createBlock(resolveDynamicComponent(data.itemType + (data.compType === "container" ? "-container" : "-item")), {
161454
+ createElementVNode("div", _hoisted_1$B, [
161455
+ (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
161384
161456
  key: data.id,
161385
161457
  field: data,
161386
161458
  formInfo: __props.formInfo,
@@ -161406,7 +161478,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
161406
161478
  }, {
161407
161479
  default: withCtx(() => [
161408
161480
  (openBlock(true), createElementBlock(Fragment, null, renderList(sdata.items, (data) => {
161409
- return openBlock(), createBlock(resolveDynamicComponent(data.itemType + (data.compType === "container" ? "-container" : "-item")), {
161481
+ return openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
161410
161482
  field: data,
161411
161483
  isDesign: __props.isDesign,
161412
161484
  disabled: __props.disabled,
@@ -161432,15 +161504,15 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
161432
161504
 
161433
161505
  /* unplugin-vue-components disabled */
161434
161506
 
161435
- const boxContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-a4de5ea5"]]);
161507
+ const boxContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-b4acf15e"]]);
161436
161508
 
161437
161509
  const boxContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161438
161510
  __proto__: null,
161439
161511
  default: boxContainer
161440
161512
  }, Symbol.toStringTag, { value: 'Module' }));
161441
161513
 
161442
- const _hoisted_1$z = { class: "card-header flex items-center justify-between" };
161443
- const _hoisted_2$r = { class: "w-[60%]" };
161514
+ const _hoisted_1$A = { class: "card-header flex items-center justify-between" };
161515
+ const _hoisted_2$s = { class: "w-[60%]" };
161444
161516
  const _hoisted_3$h = { class: "comp-item" };
161445
161517
  const _sfc_main$1e = /* @__PURE__ */ defineComponent({
161446
161518
  __name: "card-container",
@@ -161461,9 +161533,6 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
161461
161533
  const isDragging = computed(() => designForm.isDragging);
161462
161534
  const formData = useModel(__props, "formData");
161463
161535
  let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
161464
- const getComponentName = (data) => {
161465
- return containerType.includes(data.itemType) ? data.itemType + "-container" : data.itemType + "-item";
161466
- };
161467
161536
  const isContainer = (data) => {
161468
161537
  return containerType.includes(data.itemType);
161469
161538
  };
@@ -161523,8 +161592,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
161523
161592
  shadow: __props.field.preps["shadow"]
161524
161593
  }, {
161525
161594
  header: withCtx(() => [
161526
- createElementVNode("div", _hoisted_1$z, [
161527
- createElementVNode("div", _hoisted_2$r, [
161595
+ createElementVNode("div", _hoisted_1$A, [
161596
+ createElementVNode("div", _hoisted_2$s, [
161528
161597
  createTextVNode(toDisplayString(adata.title || adata.tabName) + " ", 1),
161529
161598
  adata.helpMsg ? (openBlock(), createBlock(_component_help, {
161530
161599
  key: 0,
@@ -161550,7 +161619,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
161550
161619
  class: "comp-item",
161551
161620
  style: normalizeStyle({ marginTop: isContainer(header) ? "25px" : "10px" })
161552
161621
  }, [
161553
- (openBlock(), createBlock(resolveDynamicComponent(getComponentName(header)), {
161622
+ (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(header)), {
161554
161623
  key: header.id,
161555
161624
  field: header,
161556
161625
  isDesign: __props.isDesign,
@@ -161586,7 +161655,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
161586
161655
  }, {
161587
161656
  item: withCtx(({ element: item }) => [
161588
161657
  createElementVNode("div", _hoisted_3$h, [
161589
- (openBlock(), createBlock(resolveDynamicComponent(getComponentName(item)), {
161658
+ (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(item)), {
161590
161659
  key: item.id,
161591
161660
  field: item,
161592
161661
  isDesign: __props.isDesign,
@@ -161616,15 +161685,15 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
161616
161685
 
161617
161686
  /* unplugin-vue-components disabled */
161618
161687
 
161619
- const cardContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-babf0990"]]);
161688
+ const cardContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-fd710582"]]);
161620
161689
 
161621
161690
  const cardContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161622
161691
  __proto__: null,
161623
161692
  default: cardContainer
161624
161693
  }, Symbol.toStringTag, { value: 'Module' }));
161625
161694
 
161626
- const _hoisted_1$y = { class: "collapse-item-title title" };
161627
- const _hoisted_2$q = { class: "comp-item" };
161695
+ const _hoisted_1$z = { class: "collapse-item-title title" };
161696
+ const _hoisted_2$r = { class: "comp-item" };
161628
161697
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
161629
161698
  __name: "collapse-container",
161630
161699
  props: /* @__PURE__ */ mergeModels({
@@ -161643,10 +161712,6 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
161643
161712
  let designForm = useDesignFormStore(piniaInstance);
161644
161713
  const isDragging = computed(() => designForm.isDragging);
161645
161714
  const formData = useModel(__props, "formData");
161646
- let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
161647
- const getComponentName = (data) => {
161648
- return containerType.includes(data.itemType) ? data.itemType + "-container" : data.itemType + "-item";
161649
- };
161650
161715
  const checkItem = (adata) => {
161651
161716
  if (!adata["items"]) {
161652
161717
  adata["items"] = [];
@@ -161714,7 +161779,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
161714
161779
  name: adata.tabName
161715
161780
  }, {
161716
161781
  title: withCtx(() => [
161717
- createElementVNode("div", _hoisted_1$y, [
161782
+ createElementVNode("div", _hoisted_1$z, [
161718
161783
  createElementVNode("div", null, toDisplayString(adata.label || adata.objectName), 1)
161719
161784
  ])
161720
161785
  ]),
@@ -161735,8 +161800,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
161735
161800
  list: adata["items"]
161736
161801
  }, {
161737
161802
  item: withCtx(({ element: data }) => [
161738
- createElementVNode("div", _hoisted_2$q, [
161739
- (openBlock(), createBlock(resolveDynamicComponent(getComponentName(data)), {
161803
+ createElementVNode("div", _hoisted_2$r, [
161804
+ (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
161740
161805
  key: data.id,
161741
161806
  field: data,
161742
161807
  isDesign: __props.isDesign,
@@ -161769,15 +161834,15 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
161769
161834
 
161770
161835
  /* unplugin-vue-components disabled */
161771
161836
 
161772
- const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-f504bd4b"]]);
161837
+ const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-c32d2906"]]);
161773
161838
 
161774
161839
  const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161775
161840
  __proto__: null,
161776
161841
  default: collapseContainer
161777
161842
  }, Symbol.toStringTag, { value: 'Module' }));
161778
161843
 
161779
- const _hoisted_1$x = ["colspan", "rowspan"];
161780
- const _hoisted_2$p = {
161844
+ const _hoisted_1$y = ["colspan", "rowspan"];
161845
+ const _hoisted_2$q = {
161781
161846
  key: 0,
161782
161847
  class: "table-cell-action"
161783
161848
  };
@@ -161828,9 +161893,6 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
161828
161893
  deleteWholeColDisabled: false,
161829
161894
  deleteWholeRowDisabled: false
161830
161895
  });
161831
- const getComponentName = (data) => {
161832
- return data?.itemType + "-item";
161833
- };
161834
161896
  const onDragAdd = (evt, dataList) => {
161835
161897
  selectCurrentTd();
161836
161898
  let newIndex = evt.newIndex;
@@ -161947,7 +162009,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
161947
162009
  createElementVNode("div", {
161948
162010
  class: normalizeClass({ "comp-item": data?.preps["headerFlag"] != "Y", "bare-item": data?.preps["headerFlag"] })
161949
162011
  }, [
161950
- (openBlock(), createBlock(resolveDynamicComponent(getComponentName(data)), {
162012
+ (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
161951
162013
  key: data?.id,
161952
162014
  field: data,
161953
162015
  formInfo: __props.formInfo,
@@ -161961,7 +162023,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
161961
162023
  ]),
161962
162024
  _: 1
161963
162025
  }, 8, ["item-key", "list"]),
161964
- unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$p, [
162026
+ unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
161965
162027
  createVNode(_component_el_dropdown, {
161966
162028
  trigger: "click",
161967
162029
  onCommand: handleTableCellCommand,
@@ -162125,21 +162187,21 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
162125
162187
  _: 1
162126
162188
  }, 8, ["size"])
162127
162189
  ])) : createCommentVNode("", true)
162128
- ], 46, _hoisted_1$x);
162190
+ ], 46, _hoisted_1$y);
162129
162191
  };
162130
162192
  }
162131
162193
  });
162132
162194
 
162133
162195
  /* unplugin-vue-components disabled */
162134
162196
 
162135
- const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-e9efc9a3"]]);
162197
+ const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-c58af32d"]]);
162136
162198
 
162137
162199
  const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162138
162200
  __proto__: null,
162139
162201
  default: DytableCol
162140
162202
  }, Symbol.toStringTag, { value: 'Module' }));
162141
162203
 
162142
- const _hoisted_1$w = { class: "dy-tr" };
162204
+ const _hoisted_1$x = { class: "dy-tr" };
162143
162205
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
162144
162206
  __name: "dytable-container",
162145
162207
  props: /* @__PURE__ */ mergeModels({
@@ -162173,7 +162235,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
162173
162235
  }, [
162174
162236
  createElementVNode("tbody", null, [
162175
162237
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps.elements, (row, rowIndex) => {
162176
- return openBlock(), createElementBlock("tr", _hoisted_1$w, [
162238
+ return openBlock(), createElementBlock("tr", _hoisted_1$x, [
162177
162239
  (openBlock(true), createElementBlock(Fragment, null, renderList(row.columns, (td, colIndex) => {
162178
162240
  return openBlock(), createBlock(DytableCol, {
162179
162241
  field: td,
@@ -162231,9 +162293,6 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
162231
162293
  const isDragging = computed(() => designForm.isDragging);
162232
162294
  const formData = useModel(__props, "formData");
162233
162295
  let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
162234
- const getComponentName = (data) => {
162235
- return containerType.includes(data.itemType) ? data.itemType + "-container" : data.itemType + "-item";
162236
- };
162237
162296
  const isContainer = (data) => {
162238
162297
  return containerType.includes(data.itemType);
162239
162298
  };
@@ -162342,7 +162401,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
162342
162401
  class: "comp-item",
162343
162402
  style: normalizeStyle({ marginTop: isContainer(data) ? "25px" : "10px" })
162344
162403
  }, [
162345
- (openBlock(), createBlock(resolveDynamicComponent(getComponentName(data)), {
162404
+ (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
162346
162405
  key: data.id,
162347
162406
  field: data,
162348
162407
  isDesign: __props.isDesign,
@@ -162375,15 +162434,15 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
162375
162434
 
162376
162435
  /* unplugin-vue-components disabled */
162377
162436
 
162378
- const tabContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-ded502f4"]]);
162437
+ const tabContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-b2686567"]]);
162379
162438
 
162380
162439
  const tabContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162381
162440
  __proto__: null,
162382
162441
  default: tabContainer
162383
162442
  }, Symbol.toStringTag, { value: 'Module' }));
162384
162443
 
162385
- const _hoisted_1$v = { class: "container-thead" };
162386
- const _hoisted_2$o = ["onMouseenter", "onMouseleave"];
162444
+ const _hoisted_1$w = { class: "container-thead" };
162445
+ const _hoisted_2$p = ["onMouseenter", "onMouseleave"];
162387
162446
  const _hoisted_3$g = {
162388
162447
  key: 0,
162389
162448
  class: "td-operator"
@@ -162412,9 +162471,6 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
162412
162471
  let isEdit = computed(() => designForm.isEdit);
162413
162472
  const isDragging = computed(() => designForm.isDragging);
162414
162473
  const formData = useModel(__props, "formData");
162415
- const getComponentName = (data) => {
162416
- return data?.itemType + "-item";
162417
- };
162418
162474
  const onDragAdd = (evt, dataList) => {
162419
162475
  let newIndex = evt.newIndex;
162420
162476
  if (excludeContainerType.includes(draggingItem.value.itemType)) {
@@ -162500,7 +162556,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
162500
162556
  border: unref(isEdit) && __props.isDesign ? "1px solid #dfe6ec" : "none"
162501
162557
  })
162502
162558
  }, [
162503
- createElementVNode("thead", _hoisted_1$v, [
162559
+ createElementVNode("thead", _hoisted_1$w, [
162504
162560
  createElementVNode("tr", null, [
162505
162561
  (openBlock(true), createElementBlock(Fragment, null, renderList(parseInt(__props.field.preps.columns || 1), (td) => {
162506
162562
  return openBlock(), createElementBlock("th", {
@@ -162520,7 +162576,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
162520
162576
  }, 1024)
162521
162577
  ])) : createCommentVNode("", true),
162522
162578
  createTextVNode(" " + toDisplayString(analysisData(td)), 1)
162523
- ], 40, _hoisted_2$o);
162579
+ ], 40, _hoisted_2$p);
162524
162580
  }), 256))
162525
162581
  ])
162526
162582
  ]),
@@ -162545,7 +162601,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
162545
162601
  }, {
162546
162602
  item: withCtx(({ element: data }) => [
162547
162603
  createElementVNode("div", _hoisted_5$7, [
162548
- (openBlock(), createBlock(resolveDynamicComponent(getComponentName(data)), {
162604
+ (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
162549
162605
  key: data?.id,
162550
162606
  field: data,
162551
162607
  isDesign: __props.isDesign,
@@ -162573,18 +162629,18 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
162573
162629
 
162574
162630
  /* unplugin-vue-components disabled */
162575
162631
 
162576
- const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-98d19a9a"]]);
162632
+ const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-77a5f30f"]]);
162577
162633
 
162578
162634
  const tableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162579
162635
  __proto__: null,
162580
162636
  default: tableContainer
162581
162637
  }, Symbol.toStringTag, { value: 'Module' }));
162582
162638
 
162583
- const _hoisted_1$u = {
162639
+ const _hoisted_1$v = {
162584
162640
  key: 1,
162585
162641
  class: "form-item-operation"
162586
162642
  };
162587
- const _hoisted_2$n = {
162643
+ const _hoisted_2$o = {
162588
162644
  key: 2,
162589
162645
  class: "field-action"
162590
162646
  };
@@ -162658,7 +162714,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
162658
162714
  return openBlock(), createElementBlock(Fragment, null, [
162659
162715
  createVNode(__unplugin_components_0$9, {
162660
162716
  "box-width": "450px",
162661
- "is-view": true,
162717
+ source: 3,
162662
162718
  "full-screen": false,
162663
162719
  title: "更换组件",
162664
162720
  "self-func": true,
@@ -162693,7 +162749,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
162693
162749
  message: __props.formItem.preps?.helpMsg
162694
162750
  }, null, 8, ["message"])) : createCommentVNode("", true),
162695
162751
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
162696
- ], 6)) : (openBlock(), createElementBlock("div", _hoisted_1$u, [
162752
+ ], 6)) : (openBlock(), createElementBlock("div", _hoisted_1$v, [
162697
162753
  __props.isDesign ? (openBlock(), createElementBlock("div", {
162698
162754
  key: 0,
162699
162755
  class: normalizeClass(["w-fill", {
@@ -162737,7 +162793,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
162737
162793
  }, null, 8, ["message"])) : createCommentVNode("", true),
162738
162794
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
162739
162795
  ], 6)),
162740
- unref(isEdit) && !__props.disabled && unref(currentItemId) == __props.formItem?.preps.id ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
162796
+ unref(isEdit) && !__props.disabled && unref(currentItemId) == __props.formItem?.preps.id ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
162741
162797
  __props.parentField?.itemType ? (openBlock(), createBlock(_component_el_tooltip, {
162742
162798
  key: 0,
162743
162799
  content: "选择父容器"
@@ -162851,7 +162907,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
162851
162907
 
162852
162908
  /* unplugin-vue-components disabled */
162853
162909
 
162854
- const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-547161cb"]]);
162910
+ const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-4ef3650e"]]);
162855
162911
 
162856
162912
  const starhorseFormItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162857
162913
  __proto__: null,
@@ -162925,7 +162981,8 @@ const operationRelation = async (relation, actionName, formData, currentName) =>
162925
162981
  };
162926
162982
  const allAction = (context, emits, formData, actionName, isInit = false) => {
162927
162983
  const currentData = isRef(formData) ? formData.value : formData;
162928
- const field = context.field;
162984
+ console.log(currentData);
162985
+ context.field;
162929
162986
  if (!isInit && actionName != "normal") {
162930
162987
  try {
162931
162988
  emits("selfFunc", actionName, currentData);
@@ -162933,10 +162990,9 @@ const allAction = (context, emits, formData, actionName, isInit = false) => {
162933
162990
  error$1("事件触发异常:" + e);
162934
162991
  }
162935
162992
  }
162936
- if (isDesign.value && isInit || actionName == "normal") {
162993
+ if (isDesign.value && isInit) {
162937
162994
  return;
162938
162995
  }
162939
- const tempName = field.preps?.actionName;
162940
162996
  switch (actionName) {
162941
162997
  case "change":
162942
162998
  change(context, currentData);
@@ -162958,12 +163014,6 @@ const allAction = (context, emits, formData, actionName, isInit = false) => {
162958
163014
  console.log("不支持的事件:" + actionName);
162959
163015
  return;
162960
163016
  }
162961
- if (actionName == "input" && actionName != tempName) {
162962
- return;
162963
- }
162964
- if (actionName == field.actionName && field.actionRelation) {
162965
- field.actionRelation(currentData[field.fieldName], currentData["xh"]);
162966
- }
162967
163017
  };
162968
163018
  const buttonAction = (context, emits, formData, code) => {
162969
163019
  const currentData = isRef(formData) ? formData.value : formData;
@@ -163083,14 +163133,12 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
163083
163133
  createVNode(_component_el_cascader, mergeProps({
163084
163134
  fid: __props.field.fieldName
163085
163135
  }, __props.field.preps, {
163086
- disabled: unref(checkIsDisabled)(props),
163087
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
163088
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
163089
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
163090
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
163091
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
163136
+ disabled: unref(checkIsDisabled)(props)
163137
+ }, {
163138
+ [toHandlerKey(__props.field.actionName)]: _cache[0] || (_cache[0] = ($event) => itemAction(__props.field.actionName))
163139
+ }, {
163092
163140
  modelValue: formData.value[__props.field.fieldName],
163093
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
163141
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
163094
163142
  }), null, 16, ["fid", "disabled", "modelValue"])
163095
163143
  ]),
163096
163144
  _: 1
@@ -163101,14 +163149,14 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
163101
163149
 
163102
163150
  /* unplugin-vue-components disabled */
163103
163151
 
163104
- const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-bddf9349"]]);
163152
+ const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-a70c90ef"]]);
163105
163153
 
163106
163154
  const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163107
163155
  __proto__: null,
163108
163156
  default: areaItem
163109
163157
  }, Symbol.toStringTag, { value: 'Module' }));
163110
163158
 
163111
- const _hoisted_1$t = ["fid"];
163159
+ const _hoisted_1$u = ["fid"];
163112
163160
  const _sfc_main$16 = /* @__PURE__ */ defineComponent({
163113
163161
  __name: "audio-item",
163114
163162
  props: {
@@ -163227,7 +163275,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
163227
163275
  ref_key: "audio",
163228
163276
  ref: audio,
163229
163277
  controls: ""
163230
- }, null, 8, _hoisted_1$t)
163278
+ }, null, 8, _hoisted_1$u)
163231
163279
  ]),
163232
163280
  _: 1
163233
163281
  }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
@@ -163336,13 +163384,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
163336
163384
  disabled: unref(checkIsDisabled)(props),
163337
163385
  "fetch-suggestions": querySearch
163338
163386
  }, __props.field.preps, {
163339
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
163340
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
163341
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
163342
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
163343
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
163387
+ [toHandlerKey(__props.field.actionName)]: _cache[0] || (_cache[0] = ($event) => itemAction(__props.field.actionName))
163388
+ }, {
163344
163389
  modelValue: formData.value[__props.field.fieldName],
163345
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
163390
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
163346
163391
  }), null, 16, ["fid", "disabled", "modelValue"])
163347
163392
  ]),
163348
163393
  _: 1
@@ -163659,14 +163704,10 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
163659
163704
  createVNode(_component_el_cascader, mergeProps({
163660
163705
  fid: __props.field.fieldName
163661
163706
  }, __props.field.preps, {
163662
- disabled: unref(checkIsDisabled)(props),
163663
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
163664
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
163665
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
163666
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
163667
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
163707
+ disabled: unref(checkIsDisabled)(props)
163708
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
163668
163709
  modelValue: formData.value[__props.field.fieldName],
163669
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
163710
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
163670
163711
  }), null, 16, ["fid", "disabled", "modelValue"])
163671
163712
  ]),
163672
163713
  _: 1
@@ -163677,7 +163718,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
163677
163718
 
163678
163719
  /* unplugin-vue-components disabled */
163679
163720
 
163680
- const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-e368169b"]]);
163721
+ const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-05f2279b"]]);
163681
163722
 
163682
163723
  const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163683
163724
  __proto__: null,
@@ -163850,13 +163891,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
163850
163891
  createVNode(_component_el_color_picker, mergeProps({
163851
163892
  fid: __props.field.fieldName,
163852
163893
  disabled: unref(checkIsDisabled)(props)
163853
- }, __props.field.preps, {
163854
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
163855
- onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => itemAction("enter"), ["enter"])),
163856
- onFocus: _cache[2] || (_cache[2] = ($event) => itemAction("focus")),
163857
- onBlur: _cache[3] || (_cache[3] = ($event) => itemAction("blur")),
163894
+ }, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
163858
163895
  modelValue: formData.value[__props.field.fieldName],
163859
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formData.value[__props.field.fieldName] = $event)
163896
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
163860
163897
  }), null, 16, ["fid", "disabled", "modelValue"])
163861
163898
  ]),
163862
163899
  _: 1
@@ -163870,12 +163907,12 @@ const colorItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty(
163870
163907
  default: _sfc_main$11
163871
163908
  }, Symbol.toStringTag, { value: 'Module' }));
163872
163909
 
163873
- const _hoisted_1$s = { class: "popup-result" };
163874
- const _hoisted_2$m = { class: "popup-result-scroll" };
163910
+ const _hoisted_1$t = { class: "popup-result" };
163911
+ const _hoisted_2$n = { class: "popup-result-scroll" };
163875
163912
  const _sfc_main$10 = /* @__PURE__ */ defineComponent({
163876
163913
  __name: "Crontab-Result",
163877
163914
  props: {
163878
- ex: { type: Object }
163915
+ ex: { type: String }
163879
163916
  },
163880
163917
  setup(__props) {
163881
163918
  const props = __props;
@@ -164345,9 +164382,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
164345
164382
  });
164346
164383
  return (_ctx, _cache) => {
164347
164384
  const _component_el_tag = ElTag;
164348
- return openBlock(), createElementBlock("div", _hoisted_1$s, [
164385
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
164349
164386
  _cache[1] || (_cache[1] = createElementVNode("p", { class: "title" }, "最近5次运行时间", -1)),
164350
- createElementVNode("div", _hoisted_2$m, [
164387
+ createElementVNode("div", _hoisted_2$n, [
164351
164388
  unref(isShow) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(resultList), (item) => {
164352
164389
  return openBlock(), createBlock(_component_el_tag, {
164353
164390
  class: "my-[5px]",
@@ -164373,10 +164410,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
164373
164410
 
164374
164411
  /* unplugin-vue-components disabled */
164375
164412
 
164376
- const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-c69e7cfe"]]);
164413
+ const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-622d18f9"]]);
164377
164414
 
164378
- const _hoisted_1$r = { class: "cron-content" };
164379
- const _hoisted_2$l = { class: "cron-item" };
164415
+ const _hoisted_1$s = { class: "cron-content" };
164416
+ const _hoisted_2$m = { class: "cron-item" };
164380
164417
  const _hoisted_3$e = { class: "cron-item" };
164381
164418
  const _hoisted_4$9 = { class: "cron-item" };
164382
164419
  const _hoisted_5$6 = { class: "cron-item" };
@@ -164476,8 +164513,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
164476
164513
  const _component_el_input_number = ElInputNumber;
164477
164514
  const _component_el_checkbox = ElCheckbox;
164478
164515
  const _component_el_checkbox_group = ElCheckboxGroup$1;
164479
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
164480
- createElementVNode("div", _hoisted_2$l, [
164516
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
164517
+ createElementVNode("div", _hoisted_2$m, [
164481
164518
  createVNode(_component_el_radio, {
164482
164519
  size: "small",
164483
164520
  modelValue: unref(radioValue),
@@ -164602,8 +164639,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
164602
164639
  }
164603
164640
  });
164604
164641
 
164605
- const _hoisted_1$q = { class: "cron-content" };
164606
- const _hoisted_2$k = { class: "cron-item" };
164642
+ const _hoisted_1$r = { class: "cron-content" };
164643
+ const _hoisted_2$l = { class: "cron-item" };
164607
164644
  const _hoisted_3$d = { class: "cron-item" };
164608
164645
  const _hoisted_4$8 = { class: "cron-item" };
164609
164646
  const _hoisted_5$5 = { class: "cron-item" };
@@ -164700,8 +164737,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
164700
164737
  const _component_el_input_number = ElInputNumber;
164701
164738
  const _component_el_checkbox = ElCheckbox;
164702
164739
  const _component_el_checkbox_group = ElCheckboxGroup$1;
164703
- return openBlock(), createElementBlock("div", _hoisted_1$q, [
164704
- createElementVNode("div", _hoisted_2$k, [
164740
+ return openBlock(), createElementBlock("div", _hoisted_1$r, [
164741
+ createElementVNode("div", _hoisted_2$l, [
164705
164742
  createVNode(_component_el_radio, {
164706
164743
  size: "small",
164707
164744
  modelValue: unref(radioValue),
@@ -164823,8 +164860,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
164823
164860
  }
164824
164861
  });
164825
164862
 
164826
- const _hoisted_1$p = { class: "cron-content" };
164827
- const _hoisted_2$j = { class: "cron-item" };
164863
+ const _hoisted_1$q = { class: "cron-content" };
164864
+ const _hoisted_2$k = { class: "cron-item" };
164828
164865
  const _hoisted_3$c = { class: "cron-item" };
164829
164866
  const _hoisted_4$7 = { class: "cron-item" };
164830
164867
  const _hoisted_5$4 = { class: "cron-item" };
@@ -164921,8 +164958,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
164921
164958
  const _component_el_input_number = ElInputNumber;
164922
164959
  const _component_el_checkbox = ElCheckbox;
164923
164960
  const _component_el_checkbox_group = ElCheckboxGroup$1;
164924
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
164925
- createElementVNode("div", _hoisted_2$j, [
164961
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
164962
+ createElementVNode("div", _hoisted_2$k, [
164926
164963
  createVNode(_component_el_radio, {
164927
164964
  size: "small",
164928
164965
  modelValue: unref(radioValue),
@@ -165043,8 +165080,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
165043
165080
  }
165044
165081
  });
165045
165082
 
165046
- const _hoisted_1$o = { class: "cron-content" };
165047
- const _hoisted_2$i = { class: "cron-item" };
165083
+ const _hoisted_1$p = { class: "cron-content" };
165084
+ const _hoisted_2$j = { class: "cron-item" };
165048
165085
  const _hoisted_3$b = { class: "cron-item" };
165049
165086
  const _hoisted_4$6 = { class: "cron-item" };
165050
165087
  const _hoisted_5$3 = { class: "cron-item" };
@@ -165172,8 +165209,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
165172
165209
  const _component_el_input_number = ElInputNumber;
165173
165210
  const _component_el_checkbox = ElCheckbox;
165174
165211
  const _component_el_checkbox_group = ElCheckboxGroup$1;
165175
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
165176
- createElementVNode("div", _hoisted_2$i, [
165212
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
165213
+ createElementVNode("div", _hoisted_2$j, [
165177
165214
  createVNode(_component_el_radio, {
165178
165215
  size: "small",
165179
165216
  modelValue: unref(radioValue),
@@ -165349,8 +165386,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
165349
165386
  }
165350
165387
  });
165351
165388
 
165352
- const _hoisted_1$n = { class: "cron-content" };
165353
- const _hoisted_2$h = { class: "cron-item" };
165389
+ const _hoisted_1$o = { class: "cron-content" };
165390
+ const _hoisted_2$i = { class: "cron-item" };
165354
165391
  const _hoisted_3$a = { class: "cron-item" };
165355
165392
  const _hoisted_4$5 = { class: "cron-item" };
165356
165393
  const _hoisted_5$2 = { class: "cron-item" };
@@ -165447,8 +165484,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
165447
165484
  const _component_el_input_number = ElInputNumber;
165448
165485
  const _component_el_checkbox = ElCheckbox;
165449
165486
  const _component_el_checkbox_group = ElCheckboxGroup$1;
165450
- return openBlock(), createElementBlock("div", _hoisted_1$n, [
165451
- createElementVNode("div", _hoisted_2$h, [
165487
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
165488
+ createElementVNode("div", _hoisted_2$i, [
165452
165489
  createVNode(_component_el_radio, {
165453
165490
  size: "small",
165454
165491
  modelValue: unref(radioValue),
@@ -165569,8 +165606,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
165569
165606
  }
165570
165607
  });
165571
165608
 
165572
- const _hoisted_1$m = { class: "cron-content" };
165573
- const _hoisted_2$g = { class: "cron-item" };
165609
+ const _hoisted_1$n = { class: "cron-content" };
165610
+ const _hoisted_2$h = { class: "cron-item" };
165574
165611
  const _hoisted_3$9 = { class: "cron-item" };
165575
165612
  const _hoisted_4$4 = { class: "cron-item" };
165576
165613
  const _hoisted_5$1 = { class: "cron-item" };
@@ -165692,8 +165729,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
165692
165729
  const _component_el_input_number = ElInputNumber;
165693
165730
  const _component_el_checkbox = ElCheckbox;
165694
165731
  const _component_el_checkbox_group = ElCheckboxGroup$1;
165695
- return openBlock(), createElementBlock("div", _hoisted_1$m, [
165696
- createElementVNode("div", _hoisted_2$g, [
165732
+ return openBlock(), createElementBlock("div", _hoisted_1$n, [
165733
+ createElementVNode("div", _hoisted_2$h, [
165697
165734
  createVNode(_component_el_radio, {
165698
165735
  size: "small",
165699
165736
  modelValue: unref(radioValue),
@@ -165851,8 +165888,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
165851
165888
  }
165852
165889
  });
165853
165890
 
165854
- const _hoisted_1$l = { class: "cron-content" };
165855
- const _hoisted_2$f = { class: "cron-item" };
165891
+ const _hoisted_1$m = { class: "cron-content" };
165892
+ const _hoisted_2$g = { class: "cron-item" };
165856
165893
  const _hoisted_3$8 = { class: "cron-item" };
165857
165894
  const _hoisted_4$3 = { class: "cron-item" };
165858
165895
  const _hoisted_5 = { class: "cron-item" };
@@ -165957,8 +165994,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
165957
165994
  const _component_el_input_number = ElInputNumber;
165958
165995
  const _component_el_checkbox = ElCheckbox;
165959
165996
  const _component_el_checkbox_group = ElCheckboxGroup$1;
165960
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
165961
- createElementVNode("div", _hoisted_2$f, [
165997
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
165998
+ createElementVNode("div", _hoisted_2$g, [
165962
165999
  createVNode(_component_el_radio, {
165963
166000
  size: "small",
165964
166001
  label: 1,
@@ -166089,8 +166126,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
166089
166126
  }
166090
166127
  });
166091
166128
 
166092
- const _hoisted_1$k = { class: "flex flex-col h-full" };
166093
- const _hoisted_2$e = { class: "flex-grow-1 flex-1 overflow-auto min-h-0" };
166129
+ const _hoisted_1$l = { class: "flex flex-col h-full" };
166130
+ const _hoisted_2$f = { class: "flex-grow-1 flex-1 overflow-auto min-h-0" };
166094
166131
  const _hoisted_3$7 = { class: "popup-main" };
166095
166132
  const _hoisted_4$2 = { class: "popup-result" };
166096
166133
  const _sfc_main$U = /* @__PURE__ */ defineComponent({
@@ -166329,8 +166366,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
166329
166366
  const _component_el_tabs = ElTabs;
166330
166367
  const _component_el_tag = ElTag;
166331
166368
  const _component_CrontabResult = __unplugin_components_3;
166332
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
166333
- createElementVNode("div", _hoisted_2$e, [
166369
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
166370
+ createElementVNode("div", _hoisted_2$f, [
166334
166371
  createVNode(_component_el_tabs, {
166335
166372
  type: "border-card",
166336
166373
  modelValue: unref(tabActive),
@@ -166622,11 +166659,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
166622
166659
  });
166623
166660
  return (_ctx, _cache) => {
166624
166661
  const _component_el_scrollbar = ElScrollbar;
166662
+ const _component_star_horse_dialog = __unplugin_components_0$9;
166625
166663
  const _component_el_button = ElButton;
166626
166664
  const _component_el_input = ElInput;
166627
166665
  const _component_starhorse_form_item = __unplugin_components_0$3;
166628
166666
  return openBlock(), createElementBlock(Fragment, null, [
166629
- createVNode(__unplugin_components_0$9, {
166667
+ createVNode(_component_star_horse_dialog, {
166630
166668
  title: "Crontab 配置器",
166631
166669
  "box-width": "50%",
166632
166670
  "self-func": true,
@@ -166658,16 +166696,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
166658
166696
  parentField: __props.parentField
166659
166697
  }, {
166660
166698
  default: withCtx(() => [
166661
- createVNode(_component_el_input, {
166662
- fid: __props.field.fieldName,
166663
- onChange: _cache[1] || (_cache[1] = ($event) => itemAction("change")),
166664
- onInput: _cache[2] || (_cache[2] = ($event) => itemAction("input")),
166665
- onKeydown: _cache[3] || (_cache[3] = withKeys(($event) => itemAction("enter"), ["enter"])),
166666
- onFocus: _cache[4] || (_cache[4] = ($event) => itemAction("focus")),
166667
- onBlur: _cache[5] || (_cache[5] = ($event) => itemAction("blur")),
166699
+ createVNode(_component_el_input, mergeProps({
166700
+ fid: __props.field.fieldName
166701
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
166668
166702
  modelValue: formData.value[__props.field.fieldName],
166669
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => formData.value[__props.field.fieldName] = $event)
166670
- }, {
166703
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
166704
+ }), {
166671
166705
  append: withCtx(() => [
166672
166706
  createVNode(_component_el_button, {
166673
166707
  icon: "Clock",
@@ -166676,7 +166710,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
166676
166710
  }, null, 8, ["disabled"])
166677
166711
  ]),
166678
166712
  _: 1
166679
- }, 8, ["fid", "modelValue"])
166713
+ }, 16, ["fid", "modelValue"])
166680
166714
  ]),
166681
166715
  _: 1
166682
166716
  }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
@@ -166687,7 +166721,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
166687
166721
 
166688
166722
  /* unplugin-vue-components disabled */
166689
166723
 
166690
- const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-51ffd9e5"]]);
166724
+ const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-0d61b7ed"]]);
166691
166725
 
166692
166726
  const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
166693
166727
  __proto__: null,
@@ -166780,14 +166814,10 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
166780
166814
  format: __props.field.preps?.format || "YYYY-MM-DD HH:mm:ss",
166781
166815
  "value-format": __props.field.preps?.valueFormat,
166782
166816
  "date-format": "YYYY-MM-DD",
166783
- "time-format": "HH:mm",
166784
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
166785
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
166786
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
166787
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
166788
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
166817
+ "time-format": "HH:mm"
166818
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
166789
166819
  modelValue: formData.value[__props.field.fieldName],
166790
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
166820
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
166791
166821
  }), null, 16, ["fid", "disabled", "format", "value-format", "modelValue"])
166792
166822
  ]),
166793
166823
  _: 1
@@ -166798,7 +166828,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
166798
166828
 
166799
166829
  /* unplugin-vue-components disabled */
166800
166830
 
166801
- const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-ea8a6189"]]);
166831
+ const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-6fbfb2a1"]]);
166802
166832
 
166803
166833
  const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
166804
166834
  __proto__: null,
@@ -166861,6 +166891,8 @@ const departItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
166861
166891
  default: _sfc_main$R
166862
166892
  }, Symbol.toStringTag, { value: 'Module' }));
166863
166893
 
166894
+ const _hoisted_1$k = { class: "search-content" };
166895
+ const _hoisted_2$e = { class: "search_btn" };
166864
166896
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
166865
166897
  __name: "dialog-input-item",
166866
166898
  props: /* @__PURE__ */ mergeModels({
@@ -166907,7 +166939,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
166907
166939
  };
166908
166940
  const selectItem = (row) => {
166909
166941
  let data = "";
166910
- let needField = props.field.params?.needField;
166942
+ let needField = props.field.preps?.needField;
166911
166943
  if (!row || !isJson(row)) {
166912
166944
  let selectDatas = dialogInputTableRef.value.multipleSelection;
166913
166945
  if (!selectDatas) {
@@ -166930,8 +166962,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
166930
166962
  }
166931
166963
  });
166932
166964
  }
166933
- if (props.field.params?.recall) {
166934
- props.field.params["recall"](row);
166965
+ if (props.field.preps?.recall) {
166966
+ props.field.preps?.["recall"](row);
166935
166967
  }
166936
166968
  closeAction();
166937
166969
  };
@@ -166941,7 +166973,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
166941
166973
  const showVisible = () => {
166942
166974
  dialogInputVisible.value = true;
166943
166975
  nextTick(() => {
166944
- let fields = props.field.params.needField;
166976
+ let fields = props.field.preps?.needField;
166945
166977
  let name = props.field.fieldName;
166946
166978
  let realName = name;
166947
166979
  if (props.field.aliasName) {
@@ -166953,8 +166985,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
166953
166985
  dialogInputTableRef.value?.setDataInfo(name, formData.value[realName]);
166954
166986
  });
166955
166987
  };
166956
- onMounted(() => {
166957
- let inputPreps = props.field?.params;
166988
+ onMounted(async () => {
166989
+ await nextTick();
166990
+ let inputPreps = props.field?.preps;
166958
166991
  if (!inputPreps) {
166959
166992
  warning("属性" + props.field?.label + "需要配置params 信息");
166960
166993
  return;
@@ -166986,6 +167019,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
166986
167019
  return (_ctx, _cache) => {
166987
167020
  const _component_star_horse_search_comp = __unplugin_components_0$4;
166988
167021
  const _component_star_horse_table_comp = __unplugin_components_1$1;
167022
+ const _component_el_card = ElCard;
166989
167023
  const _component_star_horse_dialog = __unplugin_components_0$9;
166990
167024
  const _component_el_button = ElButton;
166991
167025
  const _component_el_input = ElInput;
@@ -166999,28 +167033,37 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
166999
167033
  onCloseAction: closeAction
167000
167034
  }, {
167001
167035
  default: withCtx(() => [
167002
- createVNode(_component_star_horse_search_comp, {
167003
- onSearchData: _cache[0] || (_cache[0] = (data) => dialogInputTableRef.value.createSearchParams(data)),
167004
- formData: __props.field.params["searchFieldList"],
167005
- compUrl: __props.field.params["dataUrl"]
167006
- }, null, 8, ["formData", "compUrl"]),
167007
- createVNode(_component_star_horse_table_comp, {
167008
- fieldList: {
167009
- cellEditable: false,
167010
- fieldList: __props.field.params["fieldList"]
167011
- },
167012
- primaryKey: __props.field.params["primaryKey"],
167013
- compUrl: __props.field.params["dataUrl"],
167014
- ref_key: "dialogInputTableRef",
167015
- ref: dialogInputTableRef,
167016
- dialogInput: true,
167017
- height: "400px",
167018
- filterCondition: __props.field.params["filterCondition"],
167019
- orderBy: __props.field.params["orderBy"],
167020
- onSelectItem: selectItem,
167021
- dataFormat: __props.field.params["dataFormat"],
167022
- disableAction: true
167023
- }, null, 8, ["fieldList", "primaryKey", "compUrl", "filterCondition", "orderBy", "dataFormat"])
167036
+ createVNode(_component_el_card, { class: "inner_content" }, {
167037
+ default: withCtx(() => [
167038
+ createElementVNode("div", _hoisted_1$k, [
167039
+ createElementVNode("div", _hoisted_2$e, [
167040
+ createVNode(_component_star_horse_search_comp, {
167041
+ onSearchData: _cache[0] || (_cache[0] = (data) => dialogInputTableRef.value.createSearchParams(data)),
167042
+ formData: __props.field.preps?.["searchFieldList"],
167043
+ compUrl: __props.field.preps?.["dataUrl"]
167044
+ }, null, 8, ["formData", "compUrl"])
167045
+ ])
167046
+ ]),
167047
+ createVNode(_component_star_horse_table_comp, {
167048
+ fieldList: {
167049
+ cellEditable: false,
167050
+ fieldList: __props.field.preps?.["fieldList"]
167051
+ },
167052
+ primaryKey: __props.field.preps?.["primaryKey"],
167053
+ compUrl: __props.field.preps?.["dataUrl"],
167054
+ ref_key: "dialogInputTableRef",
167055
+ ref: dialogInputTableRef,
167056
+ dialogInput: true,
167057
+ height: "400px",
167058
+ filterCondition: __props.field.preps?.["filterCondition"],
167059
+ orderBy: __props.field.preps?.["orderBy"],
167060
+ onSelectItem: selectItem,
167061
+ dataFormat: __props.field.preps?.["dataFormat"],
167062
+ disableAction: true
167063
+ }, null, 8, ["fieldList", "primaryKey", "compUrl", "filterCondition", "orderBy", "dataFormat"])
167064
+ ]),
167065
+ _: 1
167066
+ })
167024
167067
  ]),
167025
167068
  _: 1
167026
167069
  }, 8, ["title", "dialog-visible"]),
@@ -167036,14 +167079,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
167036
167079
  disabled: unref(checkIsDisabled)(props),
167037
167080
  type: "text"
167038
167081
  }, __props.field.preps, {
167039
- fid: __props.field.fieldName,
167040
- onChange: _cache[1] || (_cache[1] = ($event) => itemAction("change")),
167041
- onInput: _cache[2] || (_cache[2] = ($event) => itemAction("input")),
167042
- onKeydown: _cache[3] || (_cache[3] = withKeys(($event) => itemAction("enter"), ["enter"])),
167043
- onFocus: _cache[4] || (_cache[4] = ($event) => itemAction("focus")),
167044
- onBlur: _cache[5] || (_cache[5] = ($event) => itemAction("blur")),
167082
+ fid: __props.field.fieldName
167083
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
167045
167084
  modelValue: formData.value[__props.field.fieldName],
167046
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => formData.value[__props.field.fieldName] = $event)
167085
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
167047
167086
  }), {
167048
167087
  append: withCtx(() => [
167049
167088
  createVNode(_component_el_button, {
@@ -167064,7 +167103,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
167064
167103
 
167065
167104
  /* unplugin-vue-components disabled */
167066
167105
 
167067
- const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-45d1bf07"]]);
167106
+ const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-018f532d"]]);
167068
167107
 
167069
167108
  const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
167070
167109
  __proto__: null,
@@ -167126,16 +167165,16 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
167126
167165
  parentField: __props.parentField
167127
167166
  }, {
167128
167167
  default: withCtx(() => [
167129
- createVNode(_component_el_divider, {
167130
- direction: __props.field.preps?.direction || "horizontal",
167131
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
167168
+ createVNode(_component_el_divider, mergeProps({
167169
+ direction: __props.field.preps?.direction || "horizontal"
167170
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
167132
167171
  "content-position": __props.field.preps?.contentPosition || "center"
167133
- }, {
167172
+ }), {
167134
167173
  default: withCtx(() => [
167135
167174
  createTextVNode(toDisplayString(__props.field.preps?.content), 1)
167136
167175
  ]),
167137
167176
  _: 1
167138
- }, 8, ["direction", "content-position"])
167177
+ }, 16, ["direction", "content-position"])
167139
167178
  ]),
167140
167179
  _: 1
167141
167180
  }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
@@ -184368,21 +184407,17 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
184368
184407
  }, {
184369
184408
  default: withCtx(() => [
184370
184409
  createElementVNode("div", _hoisted_1$i, [
184371
- createVNode(unref(QuillEditor), {
184372
- style: normalizeStyle({ height: __props.field.preps?.height || "300px", "overflow-y": "hidden" }),
184373
- modules,
184374
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
184375
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
184376
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
184377
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
184378
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
184410
+ createVNode(unref(QuillEditor), mergeProps({
184411
+ style: { height: __props.field.preps?.height || "300px", "overflow-y": "hidden" },
184412
+ modules
184413
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
184379
184414
  modelValue: formData.value[__props.field.fieldName],
184380
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event),
184415
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event),
184381
184416
  theme: "snow",
184382
184417
  toolbar: "full",
184383
184418
  fid: __props.field.fieldName,
184384
184419
  onOnCreated: handleCreated
184385
- }, null, 8, ["style", "modelValue", "fid"])
184420
+ }), null, 16, ["style", "modelValue", "fid"])
184386
184421
  ])
184387
184422
  ]),
184388
184423
  _: 1
@@ -184459,12 +184494,6 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
184459
184494
  }
184460
184495
  };
184461
184496
  const itemAction = (prep) => {
184462
- if (prep == actionName.value && props.field?.actionRelation) {
184463
- props.field?.actionRelation(
184464
- formData.value[props.field.fieldName],
184465
- formData.value["xh"]
184466
- );
184467
- }
184468
184497
  emits("selfFunc", prep, formData.value);
184469
184498
  };
184470
184499
  const init = async () => {
@@ -184504,16 +184533,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
184504
184533
  trigger: "click"
184505
184534
  }, {
184506
184535
  reference: withCtx(() => [
184507
- unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_avatar, {
184536
+ unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_avatar, mergeProps({
184508
184537
  key: 0,
184509
184538
  fit: "fill",
184510
184539
  shape: "square",
184511
- style: normalizeStyle({
184540
+ style: {
184512
184541
  "font-size": __props.field.preps?.listView ? "22px" : "24px",
184513
184542
  background: __props.field.preps?.listView ? "unset" : "var(--el-avatar-bg-color)"
184514
- }),
184543
+ }
184544
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
184515
184545
  icon: formData.value[__props.field.fieldName]
184516
- }, null, 8, ["style", "icon"])) : (openBlock(), createBlock(__unplugin_components_0$b, {
184546
+ }), null, 16, ["style", "icon"])) : (openBlock(), createBlock(__unplugin_components_0$b, {
184517
184547
  key: 1,
184518
184548
  "icon-class": formData.value[__props.field.fieldName],
184519
184549
  size: "30px",
@@ -184586,7 +184616,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
184586
184616
 
184587
184617
  /* unplugin-vue-components disabled */
184588
184618
 
184589
- const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-2cd1e69d"]]);
184619
+ const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-166941e0"]]);
184590
184620
 
184591
184621
  const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
184592
184622
  __proto__: null,
@@ -184956,13 +184986,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
184956
184986
  initEvent();
184957
184987
  });
184958
184988
  return (_ctx, _cache) => {
184989
+ const _component_EditDataDialog = _sfc_main$K;
184959
184990
  const _component_el_option = ElOption;
184960
184991
  const _component_el_select = ElSelect;
184961
184992
  const _component_star_horse_icon = __unplugin_components_0$b;
184962
184993
  const _component_el_input = ElInput;
184963
184994
  const _component_starhorse_form_item = __unplugin_components_0$3;
184964
184995
  return openBlock(), createElementBlock(Fragment, null, [
184965
- createVNode(_sfc_main$K, {
184996
+ createVNode(_component_EditDataDialog, {
184966
184997
  modelValue: dialogInputVisible.value,
184967
184998
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogInputVisible.value = $event),
184968
184999
  disabled: unref(checkIsDisabled)(props),
@@ -184984,15 +185015,11 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
184984
185015
  ref_key: "inputItemRef",
184985
185016
  ref: inputItemRef,
184986
185017
  fid: __props.field.fieldName,
184987
- class: "input-with-select",
184988
- onChange: _cache[4] || (_cache[4] = ($event) => itemAction("change")),
184989
- onInput: _cache[5] || (_cache[5] = ($event) => itemAction("input")),
184990
- onKeydown: _cache[6] || (_cache[6] = withKeys(($event) => itemAction("enter"), ["enter"])),
184991
- onFocus: _cache[7] || (_cache[7] = ($event) => itemAction("focus")),
184992
- onBlur: _cache[8] || (_cache[8] = ($event) => itemAction("blur")),
185018
+ class: "input-with-select"
185019
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
184993
185020
  onDblclick: editContent,
184994
185021
  modelValue: formData.value[__props.field.fieldName],
184995
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => formData.value[__props.field.fieldName] = $event)
185022
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formData.value[__props.field.fieldName] = $event)
184996
185023
  }), createSlots({ _: 2 }, [
184997
185024
  __props.field.preps?.prependText ? {
184998
185025
  name: "prepend",
@@ -185073,7 +185100,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
185073
185100
 
185074
185101
  /* unplugin-vue-components disabled */
185075
185102
 
185076
- const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-6231ef28"]]);
185103
+ const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-12eed1e4"]]);
185077
185104
 
185078
185105
  const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
185079
185106
  __proto__: null,
@@ -185197,26 +185224,22 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
185197
185224
  type: "textarea",
185198
185225
  resize: "vertical",
185199
185226
  readonly: ""
185200
- }, __props.field.preps, {
185201
- onChange: _cache[1] || (_cache[1] = ($event) => itemAction("change")),
185202
- onInput: _cache[2] || (_cache[2] = ($event) => itemAction("input")),
185203
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
185204
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
185227
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
185205
185228
  modelValue: formData.value[__props.field.fieldName],
185206
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
185229
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
185207
185230
  }), null, 16, ["fid", "disabled", "rows", "modelValue"])
185208
185231
  ]),
185209
185232
  createElementVNode("div", _hoisted_3$4, [
185210
185233
  createVNode(_component_star_horse_icon, {
185211
185234
  class: "w-full",
185212
- onClick: _cache[6] || (_cache[6] = ($event) => editJsonData(false)),
185235
+ onClick: _cache[2] || (_cache[2] = ($event) => editJsonData(false)),
185213
185236
  "icon-class": "edit",
185214
185237
  style: { "cursor": "pointer" },
185215
185238
  title: "设计模式编辑"
185216
185239
  }),
185217
- _cache[8] || (_cache[8] = createElementVNode("div", { class: "h-[10px]" }, null, -1)),
185240
+ _cache[4] || (_cache[4] = createElementVNode("div", { class: "h-[10px]" }, null, -1)),
185218
185241
  createVNode(_component_star_horse_icon, {
185219
- onClick: _cache[7] || (_cache[7] = ($event) => editJsonData(true)),
185242
+ onClick: _cache[3] || (_cache[3] = ($event) => editJsonData(true)),
185220
185243
  "icon-class": "code",
185221
185244
  style: { "cursor": "pointer" },
185222
185245
  title: "开发模式编辑"
@@ -185233,7 +185256,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
185233
185256
 
185234
185257
  /* unplugin-vue-components disabled */
185235
185258
 
185236
- const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-ced68f6b"]]);
185259
+ const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-7df92781"]]);
185237
185260
 
185238
185261
  const baseJsonItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
185239
185262
  __proto__: null,
@@ -185544,14 +185567,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
185544
185567
  createVNode(_component_el_input_number, mergeProps({
185545
185568
  fid: __props.field.fieldName,
185546
185569
  disabled: unref(checkIsDisabled)(props)
185547
- }, __props.field.preps, {
185548
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
185549
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
185550
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
185551
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
185552
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
185570
+ }, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
185553
185571
  modelValue: formData.value[__props.field.fieldName],
185554
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
185572
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
185555
185573
  }), {
185556
185574
  prefix: withCtx(() => [
185557
185575
  __props.field.preps?.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$e, toDisplayString(__props.field.preps["prefix"]), 1)) : createCommentVNode("", true)
@@ -185570,7 +185588,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
185570
185588
 
185571
185589
  /* unplugin-vue-components disabled */
185572
185590
 
185573
- const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-c9d6df45"]]);
185591
+ const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-dc058d7c"]]);
185574
185592
 
185575
185593
  const numberItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
185576
185594
  __proto__: null,
@@ -185818,7 +185836,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
185818
185836
  if (orderBy.value?.length > 0) {
185819
185837
  orderByTemp = orderBy.value;
185820
185838
  }
185821
- if (!props.field.params["dataUrl"]?.pageListUrl) {
185839
+ if (!props.field.preps?.["dataUrl"]?.pageListUrl) {
185822
185840
  return;
185823
185841
  }
185824
185842
  let params = {
@@ -185827,16 +185845,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
185827
185845
  fieldList: searchData.value,
185828
185846
  orderBy: orderByTemp
185829
185847
  };
185830
- let url = props.field.params.dataUrl?.pageListUrl;
185831
- if (props.field.params.dataUrl.redirect) {
185848
+ let url = props.field.preps?.dataUrl?.pageListUrl;
185849
+ if (props.field.preps?.dataUrl.redirect) {
185832
185850
  params = {
185833
185851
  url,
185834
- host: props.field.params.dataUrl?.host,
185835
- port: props.field.params.dataUrl?.port,
185836
- protocol: props.field.params.dataUrl?.protocol,
185837
- env: props.field.params.dataUrl?.env,
185838
- httpMethod: props.field.params.dataUrl?.httpMethod || "POST",
185839
- dataType: props.field.params.dataUrl?.dataType || "JSON",
185852
+ host: props.field.preps?.dataUrl?.host,
185853
+ port: props.field.preps?.dataUrl?.port,
185854
+ protocol: props.field.preps?.dataUrl?.protocol,
185855
+ env: props.field.preps?.dataUrl?.env,
185856
+ httpMethod: props.field.preps?.dataUrl?.httpMethod || "POST",
185857
+ dataType: props.field.preps?.dataUrl?.dataType || "JSON",
185840
185858
  searchInfo: params
185841
185859
  };
185842
185860
  url = "/system-config/redirect/pageList";
@@ -185861,7 +185879,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
185861
185879
  loadByPage();
185862
185880
  };
185863
185881
  const getRowIdentity = (row) => {
185864
- return row[props.field.params.primaryKey];
185882
+ return row[props.field.preps?.primaryKey];
185865
185883
  };
185866
185884
  const handleSelectionChange = (val) => {
185867
185885
  multipleSelection.value = val;
@@ -185869,7 +185887,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
185869
185887
  };
185870
185888
  const selectRow = (row, _column, _evt) => {
185871
185889
  const selected = multipleSelection.value.some(
185872
- (item) => item[props.field.params.primaryKey] === row[props.field.params.primaryKey]
185890
+ (item) => item[props.field.preps?.primaryKey] === row[props.field.preps?.primaryKey]
185873
185891
  );
185874
185892
  if (!selected) {
185875
185893
  multipleSelection.value.push(row);
@@ -185880,12 +185898,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
185880
185898
  assignVal();
185881
185899
  };
185882
185900
  const loadSourceField = (aliasFirst = true) => {
185883
- let fields = props.field.params["needField"];
185884
- let name = aliasFirst ? props.field.params["aliasName"] || props.field.fieldName : props.field.fieldName;
185901
+ let fields = props.field.preps?.["needField"];
185902
+ let name = aliasFirst ? props.field.preps?.["aliasName"] || props.field.fieldName : props.field.fieldName;
185885
185903
  return fields?.find((temp) => temp.distField == name)?.sourceField || "";
185886
185904
  };
185887
185905
  const assignVal = () => {
185888
- let fields = props.field.params["needField"];
185906
+ let fields = props.field.preps?.["needField"];
185889
185907
  let name = props.field.fieldName;
185890
185908
  if (fields) {
185891
185909
  fields.forEach((temp) => {
@@ -185902,18 +185920,19 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
185902
185920
  } else {
185903
185921
  formData.value[name] = multipleSelection.value.map((item) => item[name]);
185904
185922
  }
185905
- if (props.field.params["recall"]) {
185906
- props.field.params["recall"](multipleSelection.value);
185923
+ if (props.field.preps?.["recall"]) {
185924
+ props.field.preps?.["recall"](multipleSelection.value);
185907
185925
  }
185908
185926
  };
185909
185927
  watch(
185910
- () => props.field.params["dataUrl"],
185928
+ () => props.field.preps?.["dataUrl"],
185911
185929
  () => {
185912
185930
  loadByPage();
185913
185931
  }
185914
185932
  );
185915
- onMounted(() => {
185916
- let inputPreps = props.field?.params;
185933
+ onMounted(async () => {
185934
+ await nextTick();
185935
+ let inputPreps = props.field?.preps;
185917
185936
  if (!inputPreps) {
185918
185937
  warning("属性" + props.field?.label + "需要配置params 信息");
185919
185938
  return;
@@ -185963,14 +185982,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
185963
185982
  createVNode(_component_el_select, mergeProps({
185964
185983
  fid: __props.field.fieldName
185965
185984
  }, __props.field.preps, {
185966
- disabled: unref(checkIsDisabled)(props),
185967
- onChange: _cache[4] || (_cache[4] = ($event) => itemAction("change")),
185968
- onInput: _cache[5] || (_cache[5] = ($event) => itemAction("input")),
185969
- onKeydown: _cache[6] || (_cache[6] = withKeys(($event) => itemAction("enter"), ["enter"])),
185970
- onFocus: _cache[7] || (_cache[7] = ($event) => itemAction("focus")),
185971
- onBlur: _cache[8] || (_cache[8] = ($event) => itemAction("blur")),
185985
+ disabled: unref(checkIsDisabled)(props)
185986
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
185972
185987
  modelValue: formData.value[__props.field.fieldName],
185973
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => formData.value[__props.field.fieldName] = $event)
185988
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formData.value[__props.field.fieldName] = $event)
185974
185989
  }), {
185975
185990
  empty: withCtx(() => [
185976
185991
  createVNode(_component_el_card, {
@@ -185979,10 +185994,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
185979
185994
  }, {
185980
185995
  default: withCtx(() => [
185981
185996
  createVNode(_component_star_horse_search_comp, {
185982
- formData: __props.field.params["searchFieldList"],
185997
+ formData: __props.field.preps?.["searchFieldList"],
185983
185998
  onSearchData: _cache[0] || (_cache[0] = (data) => searchDataFun(data)),
185984
185999
  mutComp: true,
185985
- compUrl: __props.field.params["dataUrl"]
186000
+ compUrl: __props.field.preps?.["dataUrl"]
185986
186001
  }, null, 8, ["formData", "compUrl"]),
185987
186002
  createVNode(_component_el_table, {
185988
186003
  ref_key: "starHorseTableCompRef",
@@ -186011,23 +186026,23 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
186011
186026
  fixed: "left",
186012
186027
  "reserve-selection": true
186013
186028
  }),
186014
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.params?.fieldList, (item, key) => {
186029
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps?.fieldList, (item, key) => {
186015
186030
  return openBlock(), createElementBlock(Fragment, {
186016
186031
  key: unref(compKey)(item, key)
186017
186032
  }, [
186018
186033
  Array.isArray(item) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item, (sitem, skey) => {
186019
186034
  return openBlock(), createBlock(_component_star_horse_table_column, {
186020
186035
  key: unref(compKey)(sitem, skey),
186021
- compUrl: __props.field.params["dataUrl"],
186036
+ compUrl: __props.field.preps?.["dataUrl"],
186022
186037
  cellEditable: false,
186023
- "data-format": __props.field.params["dataFormat"],
186038
+ "data-format": __props.field.preps?.["dataFormat"],
186024
186039
  item: sitem
186025
186040
  }, null, 8, ["compUrl", "data-format", "item"]);
186026
186041
  }), 128)) : (openBlock(), createBlock(_component_star_horse_table_column, {
186027
186042
  key: 1,
186028
- compUrl: __props.field.params["dataUrl"],
186043
+ compUrl: __props.field.preps?.["dataUrl"],
186029
186044
  cellEditable: false,
186030
- "data-format": __props.field.params["dataFormat"],
186045
+ "data-format": __props.field.preps?.["dataFormat"],
186031
186046
  item
186032
186047
  }, null, 8, ["compUrl", "data-format", "item"]))
186033
186048
  ], 64);
@@ -186065,7 +186080,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
186065
186080
 
186066
186081
  /* unplugin-vue-components disabled */
186067
186082
 
186068
- const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-84679042"]]);
186083
+ const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-e6e29722"]]);
186069
186084
 
186070
186085
  const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
186071
186086
  __proto__: null,
@@ -186134,15 +186149,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
186134
186149
  createVNode(_component_el_input, mergeProps({
186135
186150
  fid: __props.field.fieldName,
186136
186151
  disabled: unref(checkIsDisabled)(props)
186137
- }, __props.field.preps, {
186138
- type: "password",
186139
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
186140
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
186141
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
186142
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
186143
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
186152
+ }, __props.field.preps, { type: "password" }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
186144
186153
  modelValue: formData.value[__props.field.fieldName],
186145
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
186154
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
186146
186155
  }), null, 16, ["fid", "disabled", "modelValue"])
186147
186156
  ]),
186148
186157
  _: 1
@@ -186445,15 +186454,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
186445
186454
  createVNode(_component_el_select, mergeProps({
186446
186455
  fid: __props.field.fieldName,
186447
186456
  disabled: unref(checkIsDisabled)(props)
186448
- }, __props.field.preps, {
186449
- "remote-method": remoteMethod,
186450
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
186451
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
186452
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
186453
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
186454
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
186457
+ }, __props.field.preps, { "remote-method": remoteMethod }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
186455
186458
  modelValue: formData.value[__props.field.fieldName],
186456
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
186459
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
186457
186460
  }), {
186458
186461
  default: withCtx(() => [
186459
186462
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps?.values, (items) => {
@@ -186476,7 +186479,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
186476
186479
 
186477
186480
  /* unplugin-vue-components disabled */
186478
186481
 
186479
- const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-b54742f7"]]);
186482
+ const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-0c27dda5"]]);
186480
186483
 
186481
186484
  const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
186482
186485
  __proto__: null,
@@ -186971,7 +186974,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
186971
186974
  return openBlock(), createElementBlock(Fragment, null, [
186972
186975
  createVNode(__unplugin_components_0$9, {
186973
186976
  "dialog-visible": unref(previewDialog),
186974
- "is-view": true,
186977
+ source: 3,
186975
186978
  "self-func": true,
186976
186979
  onCloseAction: _cache[0] || (_cache[0] = ($event) => isRef(previewDialog) ? previewDialog.value = false : previewDialog = false)
186977
186980
  }, {
@@ -187060,7 +187063,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
187060
187063
 
187061
187064
  /* unplugin-vue-components disabled */
187062
187065
 
187063
- const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-c6d74305"]]);
187066
+ const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-f59077d6"]]);
187064
187067
 
187065
187068
  const signatureItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
187066
187069
  __proto__: null,
@@ -187212,10 +187215,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
187212
187215
  createVNode(_component_el_switch, mergeProps({
187213
187216
  fid: __props.field.fieldName,
187214
187217
  disabled: unref(checkIsDisabled)(props)
187215
- }, __props.field.preps, {
187216
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
187218
+ }, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
187217
187219
  modelValue: formData.value[__props.field.fieldName],
187218
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
187220
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
187219
187221
  }), null, 16, ["fid", "disabled", "modelValue"])
187220
187222
  ]),
187221
187223
  _: 1
@@ -187480,15 +187482,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
187480
187482
  onDblclick: maxEdit,
187481
187483
  disabled: unref(checkIsDisabled)(props),
187482
187484
  fid: __props.field.fieldName
187483
- }, __props.field.preps, {
187484
- type: "textarea",
187485
- onChange: _cache[1] || (_cache[1] = ($event) => itemAction("change")),
187486
- onInput: _cache[2] || (_cache[2] = ($event) => itemAction("input")),
187487
- onKeydown: _cache[3] || (_cache[3] = withKeys(($event) => itemAction("enter"), ["enter"])),
187488
- onFocus: _cache[4] || (_cache[4] = ($event) => itemAction("focus")),
187489
- onBlur: _cache[5] || (_cache[5] = ($event) => itemAction("blur")),
187485
+ }, __props.field.preps, { type: "textarea" }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
187490
187486
  modelValue: formData.value[__props.field.fieldName],
187491
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => formData.value[__props.field.fieldName] = $event)
187487
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
187492
187488
  }), null, 16, ["disabled", "fid", "modelValue"])
187493
187489
  ]),
187494
187490
  _: 1
@@ -187568,14 +187564,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
187568
187564
  start: __props.field.preps?.start || "00:00",
187569
187565
  end: __props.field.preps?.end || "24:00",
187570
187566
  step: __props.field.preps?.step || "00:05"
187571
- }, __props.field.preps, {
187572
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
187573
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
187574
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
187575
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
187576
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
187567
+ }, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
187577
187568
  modelValue: formData.value[__props.field.fieldName],
187578
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
187569
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
187579
187570
  }), null, 16, ["fid", "disabled", "start", "end", "step", "modelValue"])
187580
187571
  ]),
187581
187572
  _: 1
@@ -187586,7 +187577,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
187586
187577
 
187587
187578
  /* unplugin-vue-components disabled */
187588
187579
 
187589
- const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-6bbd5db9"]]);
187580
+ const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-23cb2e56"]]);
187590
187581
 
187591
187582
  const timeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
187592
187583
  __proto__: null,
@@ -187655,14 +187646,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
187655
187646
  createVNode(_component_el_time_picker, mergeProps({
187656
187647
  fid: __props.field.fieldName,
187657
187648
  disabled: unref(checkIsDisabled)(props)
187658
- }, __props.field.preps, {
187659
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
187660
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
187661
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
187662
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
187663
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
187649
+ }, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
187664
187650
  modelValue: formData.value[__props.field.fieldName],
187665
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
187651
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
187666
187652
  }), null, 16, ["fid", "disabled", "modelValue"])
187667
187653
  ]),
187668
187654
  _: 1
@@ -187673,7 +187659,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
187673
187659
 
187674
187660
  /* unplugin-vue-components disabled */
187675
187661
 
187676
- const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-bb793eb8"]]);
187662
+ const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ef18c53e"]]);
187677
187663
 
187678
187664
  const timePickerItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
187679
187665
  __proto__: null,
@@ -187760,14 +187746,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
187760
187746
  default: withCtx(() => [
187761
187747
  createVNode(_component_el_transfer, mergeProps({
187762
187748
  fid: __props.field?.preps["name"]
187763
- }, __props.field.preps, {
187764
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
187765
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
187766
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
187767
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
187768
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
187749
+ }, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
187769
187750
  modelValue: formData.value[__props.field.fieldName],
187770
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
187751
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
187771
187752
  }), null, 16, ["fid", "modelValue"])
187772
187753
  ]),
187773
187754
  _: 1
@@ -187882,14 +187863,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
187882
187863
  "default-expand-all": true
187883
187864
  }, __props.field.preps, {
187884
187865
  "filter-node-method": filterNodeMethod,
187885
- "render-content": renderContent,
187886
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
187887
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
187888
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
187889
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
187890
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
187866
+ "render-content": renderContent
187867
+ }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
187891
187868
  modelValue: formData.value[__props.field.fieldName],
187892
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.fieldName] = $event)
187869
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
187893
187870
  }), null, 16, ["fid", "disabled", "modelValue"])
187894
187871
  ]),
187895
187872
  _: 1
@@ -188281,13 +188258,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
188281
188258
  options: unref(userOptionList),
188282
188259
  whole: true,
188283
188260
  fid: __props.field.fieldName
188284
- }, __props.field.preps, {
188285
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
188286
- onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => itemAction("enter"), ["enter"])),
188287
- onFocus: _cache[2] || (_cache[2] = ($event) => itemAction("focus")),
188288
- onBlur: _cache[3] || (_cache[3] = ($event) => itemAction("blur")),
188261
+ }, __props.field.preps, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
188289
188262
  modelValue: formData.value[__props.field.fieldName],
188290
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formData.value[__props.field.fieldName] = $event)
188263
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
188291
188264
  }), {
188292
188265
  append: withCtx(() => [
188293
188266
  createVNode(_component_star_horse_icon, {
@@ -188311,21 +188284,12 @@ const userItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
188311
188284
  default: _sfc_main$l
188312
188285
  }, Symbol.toStringTag, { value: 'Module' }));
188313
188286
 
188314
- const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
188315
- const v = glob[path];
188316
- if (v) {
188317
- return typeof v === "function" ? v() : Promise.resolve(v);
188318
- }
188319
- return new Promise((_, reject) => {
188320
- (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
188321
- reject.bind(
188322
- null,
188323
- new Error(
188324
- "Unknown variable dynamic import: " + path + (path.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : "")
188325
- )
188326
- )
188327
- );
188328
- });
188287
+ const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
188288
+ const v = glob$1[path$13];
188289
+ if (v) return typeof v === "function" ? v() : Promise.resolve(v);
188290
+ return new Promise((_, reject) => {
188291
+ (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + path$13 + (path$13.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : ""))));
188292
+ });
188329
188293
  };
188330
188294
 
188331
188295
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
@@ -199178,8 +199142,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
199178
199142
  primaryKey: { type: [String, Object] },
199179
199143
  rules: { type: Object },
199180
199144
  compSize: { type: String, default: Config.compSize },
199181
- isView: { type: Boolean, default: false },
199182
- isEdit: { type: Boolean, default: false }
199145
+ source: { type: Number, default: 1 }
199146
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
199183
199147
  }, {
199184
199148
  "dataForm": {},
199185
199149
  "dataFormModifiers": {}
@@ -199225,8 +199189,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
199225
199189
  "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
199226
199190
  item: sitem,
199227
199191
  dataIndex: __props.dataIndex,
199228
- isEdit: __props.isEdit
199229
- }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "isEdit"])
199192
+ source: __props.source
199193
+ }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])
199230
199194
  ]),
199231
199195
  _: 2
199232
199196
  }, 1032, ["size", "label", "required", "prop", "labelPosition", "rules"])) : sitem.viewVisible || unref(checkVisible)(sitem, dataForm.value) ? (openBlock(), createBlock(_component_star_horse_item, {
@@ -199237,8 +199201,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
199237
199201
  "onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => dataForm.value = $event),
199238
199202
  item: sitem,
199239
199203
  dataIndex: __props.dataIndex,
199240
- isEdit: __props.isEdit
199241
- }, null, 8, ["compSize", "primaryKey", "dataForm", "item", "dataIndex", "isEdit"])) : createCommentVNode("", true)
199204
+ source: __props.source
199205
+ }, null, 8, ["compSize", "primaryKey", "dataForm", "item", "dataIndex", "source"])) : createCommentVNode("", true)
199242
199206
  ]),
199243
199207
  _: 2
199244
199208
  }, 1032, ["span"])) : (openBlock(), createBlock(_component_el_col, {
@@ -199253,8 +199217,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
199253
199217
  "onUpdate:dataForm": _cache[2] || (_cache[2] = ($event) => dataForm.value = $event),
199254
199218
  item: sitem,
199255
199219
  dataIndex: __props.dataIndex,
199256
- isEdit: __props.isEdit
199257
- }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "isEdit"])
199220
+ source: __props.source
199221
+ }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])
199258
199222
  ]),
199259
199223
  _: 2
199260
199224
  }, 1032, ["span"]))
@@ -199291,8 +199255,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
199291
199255
  primaryKey: { type: [String, Object] },
199292
199256
  rules: { type: Object },
199293
199257
  compSize: { type: String, default: Config.compSize },
199294
- isView: { type: Boolean, default: false },
199295
- isEdit: { type: Boolean, default: false }
199258
+ source: { type: Number, default: 1 }
199259
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
199296
199260
  }, {
199297
199261
  "dataForm": {},
199298
199262
  "dataFormModifiers": {}
@@ -199352,14 +199316,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
199352
199316
  style: { "flex": "1" },
199353
199317
  compSize: __props.compSize,
199354
199318
  bareFlag: true,
199355
- isView: __props.isView,
199319
+ source: __props.source,
199356
199320
  primaryKey: __props.primaryKey,
199357
199321
  item: headerItem,
199358
199322
  dataForm: unref(getFormData)(cardItem, dataForm.value, __props.propPrefix, __props.dataIndex, key2),
199359
199323
  dataIndex: unref(getDataIndex)(cardItem, __props.propPrefix, __props.dataIndex, key2),
199360
- propPrefix: unref(getPrefix)(cardItem, __props.propPrefix, __props.dataIndex, key2),
199361
- isEdit: __props.isEdit
199362
- }, null, 8, ["compSize", "isView", "primaryKey", "item", "dataForm", "dataIndex", "propPrefix", "isEdit"])
199324
+ propPrefix: unref(getPrefix)(cardItem, __props.propPrefix, __props.dataIndex, key2)
199325
+ }, null, 8, ["compSize", "source", "primaryKey", "item", "dataForm", "dataIndex", "propPrefix"])
199363
199326
  ]),
199364
199327
  _: 2
199365
199328
  }, 1032, ["size", "label", "required", "prop", "labelPosition", "rules"])) : createCommentVNode("", true)
@@ -199369,7 +199332,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
199369
199332
  ]),
199370
199333
  default: withCtx(() => [
199371
199334
  createVNode(_sfc_main$1v, {
199372
- isView: __props.isView,
199335
+ source: __props.source,
199373
199336
  compUrl: __props.compUrl,
199374
199337
  compSize: __props.compSize,
199375
199338
  dataForm: unref(getFormData)(cardItem, dataForm.value, __props.propPrefix, __props.dataIndex, key),
@@ -199384,7 +199347,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
199384
199347
  rules: __props.rules,
199385
199348
  subFormFlag: cardItem.subFormFlag,
199386
199349
  primaryKey: __props.primaryKey
199387
- }, null, 8, ["isView", "compUrl", "compSize", "dataForm", "dataIndex", "propPrefix", "objectName", "fieldList", "rules", "subFormFlag", "primaryKey"])
199350
+ }, null, 8, ["source", "compUrl", "compSize", "dataForm", "dataIndex", "propPrefix", "objectName", "fieldList", "rules", "subFormFlag", "primaryKey"])
199388
199351
  ]),
199389
199352
  _: 2
199390
199353
  }, 1032, ["index"])) : createCommentVNode("", true)
@@ -199396,7 +199359,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
199396
199359
 
199397
199360
  /* unplugin-vue-components disabled */
199398
199361
 
199399
- const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-4a27afb1"]]);
199362
+ const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-924441a1"]]);
199400
199363
 
199401
199364
  const cardItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
199402
199365
  __proto__: null,
@@ -199422,8 +199385,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
199422
199385
  primaryKey: { type: [String, Object] },
199423
199386
  rules: { type: Object },
199424
199387
  compSize: { type: String, default: Config.compSize },
199425
- isView: { type: Boolean, default: false },
199426
- isEdit: { type: Boolean, default: false }
199388
+ source: { type: Number, default: 1 }
199389
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
199427
199390
  }, {
199428
199391
  "dataForm": {},
199429
199392
  "dataFormModifiers": {}
@@ -199485,7 +199448,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
199485
199448
  ]),
199486
199449
  default: withCtx(() => [
199487
199450
  createVNode(_sfc_main$1v, {
199488
- isView: __props.isView,
199451
+ source: __props.source,
199489
199452
  compUrl: __props.compUrl,
199490
199453
  compSize: __props.compSize,
199491
199454
  onAddRow: addRow,
@@ -199500,7 +199463,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
199500
199463
  rules: __props.rules,
199501
199464
  subFormFlag: collapseItem.subFormFlag,
199502
199465
  primaryKey: __props.primaryKey
199503
- }, null, 8, ["isView", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
199466
+ }, null, 8, ["source", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
199504
199467
  ]),
199505
199468
  _: 2
199506
199469
  }, 1032, ["name", "disabled", "index"])) : createCommentVNode("", true)
@@ -199518,7 +199481,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
199518
199481
 
199519
199482
  /* unplugin-vue-components disabled */
199520
199483
 
199521
- const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-f74b0289"]]);
199484
+ const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b909d458"]]);
199522
199485
 
199523
199486
  const collapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
199524
199487
  __proto__: null,
@@ -199548,8 +199511,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
199548
199511
  primaryKey: { type: [String, Object] },
199549
199512
  rules: { type: Object },
199550
199513
  compSize: { type: String, default: Config.compSize },
199551
- isView: { type: Boolean, default: false },
199552
- isEdit: { type: Boolean, default: false }
199514
+ source: { type: Number, default: 1 }
199515
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
199553
199516
  }, {
199554
199517
  "dataForm": {},
199555
199518
  "dataFormModifiers": {}
@@ -199571,7 +199534,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
199571
199534
  }, [
199572
199535
  (openBlock(true), createElementBlock(Fragment, null, renderList(row, (sitem, colIndex) => {
199573
199536
  return openBlock(), createElementBlock("td", {
199574
- key: (colIndex),
199537
+ key: unref(compKey)(sitem, colIndex),
199575
199538
  colspan: sitem.preps?.colspan || 1,
199576
199539
  rowspan: sitem.preps?.rowspan || 1,
199577
199540
  class: normalizeClass({ "title-style": sitem.preps?.labelFlag == "Y" }),
@@ -199601,8 +199564,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
199601
199564
  "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
199602
199565
  item: sitem,
199603
199566
  dataIndex: __props.dataIndex,
199604
- isEdit: __props.isEdit
199605
- }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "isEdit"])
199567
+ source: __props.source
199568
+ }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])
199606
199569
  ]),
199607
199570
  _: 2
199608
199571
  }, 1032, ["size", "label", "required", "prop", "labelPosition", "rules"])) : sitem.formVisible || sitem.viewVisible ? (openBlock(), createBlock(_component_star_horse_item, {
@@ -199614,8 +199577,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
199614
199577
  item: sitem,
199615
199578
  style: { "width": "100%", "height": "100%" },
199616
199579
  dataIndex: __props.dataIndex,
199617
- isEdit: __props.isEdit
199618
- }, null, 8, ["compSize", "primaryKey", "dataForm", "item", "dataIndex", "isEdit"])) : createCommentVNode("", true)
199580
+ source: __props.source
199581
+ }, null, 8, ["compSize", "primaryKey", "dataForm", "item", "dataIndex", "source"])) : createCommentVNode("", true)
199619
199582
  ], 14, _hoisted_2$3);
199620
199583
  }), 128))
199621
199584
  ]);
@@ -199628,7 +199591,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
199628
199591
 
199629
199592
  /* unplugin-vue-components disabled */
199630
199593
 
199631
- const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-67c6d655"]]);
199594
+ const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-7ce25e08"]]);
199632
199595
 
199633
199596
  const dytableItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
199634
199597
  __proto__: null,
@@ -199652,8 +199615,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
199652
199615
  primaryKey: { type: [String, Object] },
199653
199616
  rules: { type: Object },
199654
199617
  compSize: { type: String, default: Config.compSize },
199655
- isView: { type: Boolean, default: false },
199656
- isEdit: { type: Boolean, default: false }
199618
+ source: { type: Number, default: 1 }
199619
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
199657
199620
  }, {
199658
199621
  "dataForm": {},
199659
199622
  "dataFormModifiers": {}
@@ -199676,8 +199639,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
199676
199639
  dataIndex: __props.dataIndex,
199677
199640
  bareFlag: true,
199678
199641
  compSize: __props.compSize,
199679
- isEdit: __props.isEdit
199680
- }, null, 8, ["primaryKey", "dataForm", "item", "dataIndex", "compSize", "isEdit"])) : createCommentVNode("", true)
199642
+ source: __props.source
199643
+ }, null, 8, ["primaryKey", "dataForm", "item", "dataIndex", "compSize", "source"])) : createCommentVNode("", true)
199681
199644
  ], 64)) : unref(checkVisible)(__props.item, dataForm.value) ? (openBlock(), createBlock(_component_el_form_item, {
199682
199645
  key: 1,
199683
199646
  size: __props.compSize,
@@ -199695,8 +199658,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
199695
199658
  "onUpdate:dataForm": _cache[1] || (_cache[1] = ($event) => dataForm.value = $event),
199696
199659
  item: __props.item,
199697
199660
  dataIndex: __props.dataIndex,
199698
- isEdit: __props.isEdit
199699
- }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "isEdit"])
199661
+ source: __props.source
199662
+ }, null, 8, ["primaryKey", "compSize", "dataForm", "item", "dataIndex", "source"])
199700
199663
  ]),
199701
199664
  _: 1
199702
199665
  }, 8, ["size", "label", "required", "rules", "prop", "label-position"])) : createCommentVNode("", true);
@@ -199722,7 +199685,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
199722
199685
  propPrefix: { type: String, default: "" },
199723
199686
  rules: { type: Object },
199724
199687
  compSize: { type: String, default: Config.compSize },
199725
- isView: { type: Boolean, default: false },
199688
+ source: { type: Number, default: 1 },
199689
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
199726
199690
  parentType: { type: String, default: "" }
199727
199691
  }, {
199728
199692
  "dataForm": {},
@@ -199769,7 +199733,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
199769
199733
  }, {
199770
199734
  default: withCtx(() => [
199771
199735
  createVNode(_component_star_horse_form_item, {
199772
- isView: __props.isView,
199736
+ source: __props.source,
199773
199737
  compUrl: __props.compUrl,
199774
199738
  compSize: __props.compSize,
199775
199739
  onAddRow: addRow,
@@ -199782,7 +199746,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
199782
199746
  rules: __props.rules,
199783
199747
  subFormFlag: __props.item.subFormFlag,
199784
199748
  primaryKey: __props.item.primaryKey
199785
- }, null, 8, ["isView", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
199749
+ }, null, 8, ["source", "compUrl", "compSize", "objectName", "dataForm", "dataIndex", "propPrefix", "fieldList", "rules", "subFormFlag", "primaryKey"])
199786
199750
  ]),
199787
199751
  _: 1
199788
199752
  })) : __props.parentType == "batch" || __props.item.tableFlag == "Y" ? (openBlock(), createBlock(_component_star_horse_form_table, {
@@ -199804,7 +199768,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
199804
199768
 
199805
199769
  /* unplugin-vue-components disabled */
199806
199770
 
199807
- const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-d0f783d9"]]);
199771
+ const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-5b1cf92f"]]);
199808
199772
 
199809
199773
  const tabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
199810
199774
  __proto__: null,
@@ -199828,7 +199792,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
199828
199792
  primaryKey: { type: [String, Object] },
199829
199793
  rules: { type: Object },
199830
199794
  compSize: { type: String, default: Config.compSize },
199831
- isView: { type: Boolean, default: false }
199795
+ source: { type: Number, default: 1 }
199796
+ //调用来源1 表单新增 2 表单编辑 3 查看视图 4 查询 5 列表 6 表单设计 7 页面设计
199832
199797
  }, {
199833
199798
  "dataForm": {},
199834
199799
  "dataFormModifiers": {}
@@ -199878,7 +199843,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
199878
199843
  item: tabItem,
199879
199844
  dataIndex: __props.dataIndex,
199880
199845
  itemKey: key,
199881
- isView: __props.isView,
199846
+ source: __props.source,
199882
199847
  parentType: "tab",
199883
199848
  compUrl: __props.compUrl,
199884
199849
  compSize: __props.compSize,
@@ -199888,7 +199853,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
199888
199853
  "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
199889
199854
  onRemoveRow: removeRow,
199890
199855
  rules: __props.rules
199891
- }, null, 8, ["item", "dataIndex", "itemKey", "isView", "compUrl", "compSize", "propPrefix", "dataForm", "rules"]);
199856
+ }, null, 8, ["item", "dataIndex", "itemKey", "source", "compUrl", "compSize", "propPrefix", "dataForm", "rules"]);
199892
199857
  }), 128))
199893
199858
  ]),
199894
199859
  _: 1
@@ -199906,7 +199871,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
199906
199871
  item: sitem,
199907
199872
  dataIndex: __props.dataIndex,
199908
199873
  itemKey: key,
199909
- isView: __props.isView,
199874
+ source: __props.source,
199910
199875
  compUrl: __props.compUrl,
199911
199876
  compSize: __props.compSize,
199912
199877
  parentType: "batch",
@@ -199916,7 +199881,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
199916
199881
  "onUpdate:dataForm": _cache[2] || (_cache[2] = ($event) => dataForm.value = $event),
199917
199882
  onRemoveRow: removeRow,
199918
199883
  rules: __props.rules
199919
- }, null, 8, ["item", "dataIndex", "itemKey", "isView", "compUrl", "compSize", "propPrefix", "dataForm", "rules"]);
199884
+ }, null, 8, ["item", "dataIndex", "itemKey", "source", "compUrl", "compSize", "propPrefix", "dataForm", "rules"]);
199920
199885
  }), 128))
199921
199886
  ]),
199922
199887
  _: 1
@@ -199943,7 +199908,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
199943
199908
 
199944
199909
  /* unplugin-vue-components disabled */
199945
199910
 
199946
- const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-092cb26b"]]);
199911
+ const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-45c223e5"]]);
199947
199912
 
199948
199913
  const tabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
199949
199914
  __proto__: null,
@@ -200300,7 +200265,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
200300
200265
  dataForm: dataForm.value,
200301
200266
  "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event),
200302
200267
  item: __props.item,
200303
- isView: true
200268
+ source: 3
200304
200269
  }, null, 8, ["dataForm", "item"])) : createCommentVNode("", true)
200305
200270
  ], 64)) : createCommentVNode("", true),
200306
200271
  __props.item.formVisible || __props.item.listVisible || __props.item.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1, [
@@ -200601,4 +200566,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
200601
200566
  fullWidthButton: e
200602
200567
  }, Symbol.toStringTag, { value: 'Module' }));
200603
200568
 
200604
- export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, StarHorseDataView, __unplugin_components_0$7 as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$9 as StarHorseDialog, StarHorseDraggable, __unplugin_components_1$2 as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, StarHorseHmenu, __unplugin_components_0$b as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, formFieldMapping, generateDeviceId, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputItem, isDark, isJson, isPromise, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectItem, signatureItem, _sfc_main$w as sliderItem, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, textItem, textToPinYin, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$l as userItem, _sfc_main$k as usercompItem, uuid, viewMarkdownItem, warning };
200569
+ export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, StarHorseDataView, __unplugin_components_0$7 as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$9 as StarHorseDialog, StarHorseDraggable, __unplugin_components_1$2 as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, StarHorseHmenu, __unplugin_components_0$b as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateCompList, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, fieldPlaceholder, formFieldMapping, generateDeviceId, getDynamicEvents, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputCompList, inputItem, isDark, isJson, isPromise, itemCheck, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectCompList, selectItem, signatureItem, _sfc_main$w as sliderItem, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, textItem, textToPinYin, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$l as userItem, _sfc_main$k as usercompItem, uuid, viewMarkdownItem, warning };