star-horse-lowcode 2.7.52 → 2.7.54

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
@@ -61988,9 +61988,7 @@ function getLocalIp() {
61988
61988
  return new Promise((resolve) => {
61989
61989
  const pc = new RTCPeerConnection({ iceServers: [] });
61990
61990
  pc.createDataChannel("");
61991
- pc.createOffer().then(
61992
- (offer) => pc.setLocalDescription(offer)
61993
- ).catch((err) => console.error(err));
61991
+ pc.createOffer().then((offer) => pc.setLocalDescription(offer)).catch((err) => console.error(err));
61994
61992
  pc.onicecandidate = (ice) => {
61995
61993
  if (ice.candidate) {
61996
61994
  const ip = ice.candidate.address || ice.candidate.ip || /([0-9]{1,3}(\.[0-9]{1,3}){3})/.exec(ice.candidate.candidate)?.[1];
@@ -62185,7 +62183,9 @@ function getUserInfo() {
62185
62183
  return JSON.parse(userInfo);
62186
62184
  }
62187
62185
  function isSystemManage() {
62188
- const roleList = getUserInfo()?.rolesList?.filter((item) => item.roleType == 3);
62186
+ const roleList = getUserInfo()?.rolesList?.filter(
62187
+ (item) => item.roleType == 3
62188
+ );
62189
62189
  return roleList && roleList.length > 0;
62190
62190
  }
62191
62191
 
@@ -66433,7 +66433,10 @@ service.interceptors.response.use(
66433
66433
  function download(url, param) {
66434
66434
  return new Promise((resolve, reject) => {
66435
66435
  service.post(url, param, { responseType: "blob" }).then((res) => {
66436
- downloadData(res.data, decodeURI(res.headers["content-disposition"]?.split("=")[1]));
66436
+ downloadData(
66437
+ res.data,
66438
+ decodeURI(res.headers["content-disposition"]?.split("=")[1])
66439
+ );
66437
66440
  resolve(null);
66438
66441
  }).catch((err) => {
66439
66442
  console.log(err);
@@ -66479,7 +66482,9 @@ function httpRequest(url, method, data) {
66479
66482
  });
66480
66483
  }
66481
66484
  function uploadRequest(url, data) {
66482
- return service.post(url, data, { headers: { "Content-Type": "multipart/form-data" } });
66485
+ return service.post(url, data, {
66486
+ headers: { "Content-Type": "multipart/form-data" }
66487
+ });
66483
66488
  }
66484
66489
  function trim(data) {
66485
66490
  if (!data) {
@@ -68009,8 +68014,18 @@ function parseDateByType(val, type, needSecond = false, split = "-") {
68009
68014
  if (Array.isArray(val) && type.includes("range")) {
68010
68015
  const start = val[0];
68011
68016
  const end = val[1];
68012
- const formatStart = parseDateByType(start, type.replace("range", ""), needSecond, split);
68013
- const formatEnd = parseDateByType(end, type.replace("range", ""), needSecond, split);
68017
+ const formatStart = parseDateByType(
68018
+ start,
68019
+ type.replace("range", ""),
68020
+ needSecond,
68021
+ split
68022
+ );
68023
+ const formatEnd = parseDateByType(
68024
+ end,
68025
+ type.replace("range", ""),
68026
+ needSecond,
68027
+ split
68028
+ );
68014
68029
  return `${formatStart} 至 ${formatEnd}`;
68015
68030
  }
68016
68031
  let date = val;
@@ -68165,7 +68180,14 @@ function commonParseCodeToName(name, cellValue) {
68165
68180
  if (name == "state" || name.includes("&state")) {
68166
68181
  return cellValue == 1 ? "正常" : "异常";
68167
68182
  }
68168
- const preps = ["createdTime", "updatedTime", "createdTime", "updatedTime", "createTime", "editTime"];
68183
+ const preps = [
68184
+ "createdTime",
68185
+ "updatedTime",
68186
+ "createdTime",
68187
+ "updatedTime",
68188
+ "createTime",
68189
+ "editTime"
68190
+ ];
68169
68191
  const result = preps.find(
68170
68192
  (item) => name?.includes("&" + item) || convertToCamelCase(name)?.toLowerCase() === item.toLowerCase()
68171
68193
  );
@@ -68323,7 +68345,10 @@ function formFieldMapping(fieldList) {
68323
68345
  fieldList2?.forEach((item) => {
68324
68346
  if (item.defaultValue) {
68325
68347
  if (isJson(item.defaultValue)) {
68326
- let subTemp = { ...batchDefaultValues[temp.batchName], ...item.defaultValue };
68348
+ let subTemp = {
68349
+ ...batchDefaultValues[temp.batchName],
68350
+ ...item.defaultValue
68351
+ };
68327
68352
  Object.entries(subTemp).forEach(([key2, value]) => {
68328
68353
  tempData[key2] = value;
68329
68354
  });
@@ -68499,7 +68524,10 @@ async function dynamicUrlOperation(preps, queryInfo, proxyUrl) {
68499
68524
  const childrenOperation = (list) => {
68500
68525
  const options = [];
68501
68526
  list?.forEach((item) => {
68502
- const option = { name: item[temp["selectLabel"]], value: item[temp["selectValue"]] };
68527
+ const option = {
68528
+ name: item[temp["selectLabel"]],
68529
+ value: item[temp["selectValue"]]
68530
+ };
68503
68531
  if (item.children && item.children.length > 0) {
68504
68532
  option.children = childrenOperation(item.children);
68505
68533
  }
@@ -68508,7 +68536,10 @@ async function dynamicUrlOperation(preps, queryInfo, proxyUrl) {
68508
68536
  return options;
68509
68537
  };
68510
68538
  validResult.data.forEach((item) => {
68511
- const option = { name: item[temp["selectLabel"]], value: item[temp["selectValue"]] };
68539
+ const option = {
68540
+ name: item[temp["selectLabel"]],
68541
+ value: item[temp["selectValue"]]
68542
+ };
68512
68543
  if (item.children && item.children.length > 0) {
68513
68544
  option.children = childrenOperation(item.children);
68514
68545
  }
@@ -68561,7 +68592,11 @@ function apiInstance(appName, urlPrefix, condition = []) {
68561
68592
  return postRequest(apiUrls.batchMergeDraftUrl, param);
68562
68593
  };
68563
68594
  apiUrls.loadByIdAction = (id, isView, params = {}) => {
68564
- return loadById(isView ? apiUrls.loadByIdForViewUrl : apiUrls.loadByIdUrl, id, params);
68595
+ return loadById(
68596
+ isView ? apiUrls.loadByIdForViewUrl : apiUrls.loadByIdUrl,
68597
+ id,
68598
+ params
68599
+ );
68565
68600
  };
68566
68601
  apiUrls.deleteAction = (params) => {
68567
68602
  return deleteByIds(apiUrls.deleteUrl, params);
@@ -68722,9 +68757,35 @@ const batchModifyAction = (items, val, fieldName) => {
68722
68757
  }
68723
68758
  }
68724
68759
  };
68725
- const inputType = ["input", "textarea", "password", "number", "view-markdown", "json", "json-array"];
68726
- const selectType = ["select", "tselect", "cascader", "autocomplete", "area", "cron", "transfer", "dialog-input", "page-select"];
68727
- const dateType = ["year", "month", "date", "datetime", "week", "datetimerange", "daterange"];
68760
+ const inputType = [
68761
+ "input",
68762
+ "textarea",
68763
+ "password",
68764
+ "number",
68765
+ "view-markdown",
68766
+ "json",
68767
+ "json-array"
68768
+ ];
68769
+ const selectType = [
68770
+ "select",
68771
+ "tselect",
68772
+ "cascader",
68773
+ "autocomplete",
68774
+ "area",
68775
+ "cron",
68776
+ "transfer",
68777
+ "dialog-input",
68778
+ "page-select"
68779
+ ];
68780
+ const dateType = [
68781
+ "year",
68782
+ "month",
68783
+ "date",
68784
+ "datetime",
68785
+ "week",
68786
+ "datetimerange",
68787
+ "daterange"
68788
+ ];
68728
68789
  function selectCompList() {
68729
68790
  return selectType;
68730
68791
  }
@@ -68778,7 +68839,7 @@ function itemCheck(item) {
68778
68839
  if (typeof item.actions === "string") {
68779
68840
  try {
68780
68841
  item.actions = {
68781
- "click": new Function(item.actions)
68842
+ click: new Function(item.actions)
68782
68843
  };
68783
68844
  } catch (e) {
68784
68845
  console.error("actions 字符串转函数失败:", e);
@@ -68861,7 +68922,7 @@ function getDynamicEvents(props, recall) {
68861
68922
  const actionNames = Object.keys(actions || {});
68862
68923
  const handleEvent = (eventName, e) => {
68863
68924
  if (eventName.includes(".")) {
68864
- const [baseEvent, modifier] = eventName.split(".");
68925
+ const modifier = eventName.split(".")[1];
68865
68926
  if (modifier == e.key.toLowerCase()) {
68866
68927
  console.log("成功触发事件:");
68867
68928
  recall(modifier);
@@ -68872,7 +68933,7 @@ function getDynamicEvents(props, recall) {
68872
68933
  };
68873
68934
  actionNames?.forEach((actionName) => {
68874
68935
  if (actionName.includes(".")) {
68875
- const [baseEvent, modifier] = actionName.split(".");
68936
+ const baseEvent = actionName.split(".")[0];
68876
68937
  events[baseEvent] = (e) => handleEvent(actionName, e);
68877
68938
  } else {
68878
68939
  events[actionName] = (e) => handleEvent(actionName, e);
@@ -69070,12 +69131,10 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
69070
69131
  className: { type: String },
69071
69132
  title: { type: String, default: "" },
69072
69133
  size: { type: String, default: "20px" },
69073
- width: { type: String, default: "24px" },
69074
- height: { type: String, default: "22px" },
69075
69134
  marginLeft: { type: String, default: "0.1em" },
69076
69135
  marginRight: { type: String, default: "0.2em" },
69077
69136
  borderRadius: { type: String, default: "5px" },
69078
- boorderPadding: { type: String, default: "3px" },
69137
+ borderPadding: { type: String, default: "3px" },
69079
69138
  // 图标是否有边框
69080
69139
  boxShow: { type: Boolean, default: false },
69081
69140
  border: { type: Boolean, default: false },
@@ -69084,18 +69143,28 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
69084
69143
  },
69085
69144
  setup(__props) {
69086
69145
  useCssVars((_ctx) => ({
69087
- "56207806": __props.cursor,
69088
- "f00719d4": __props.width,
69089
- "5dc2f5d7": __props.height,
69090
- "f235169a": __props.color,
69091
- "4671b0b1": __props.size,
69092
- "51e29f85": __props.marginLeft,
69093
- "2a709b44": __props.marginRight,
69094
- "9639c6e4": __props.borderRadius,
69095
- "0da6ce60": __props.boorderPadding
69146
+ "7ea77655": __props.cursor,
69147
+ "7084eee7": width.value,
69148
+ "f36c17b4": height.value,
69149
+ "6f6df084": __props.color,
69150
+ "4df1f6c0": __props.size,
69151
+ "71d84358": __props.marginLeft,
69152
+ "1bbe4d6f": __props.marginRight,
69153
+ "ba8038c6": __props.borderRadius,
69154
+ "4b6da666": __props.borderPadding
69096
69155
  }));
69097
69156
  const props = __props;
69098
69157
  const iconName = computed(() => `sh-${props.iconClass}`);
69158
+ const sizeNumber = computed(() => {
69159
+ const numberMatch = props.size.match(/\d+/);
69160
+ return numberMatch ? Number(numberMatch[0]) : 0;
69161
+ });
69162
+ const width = computed(
69163
+ () => sizeNumber.value ? `${sizeNumber.value + 2}px` : props.size
69164
+ );
69165
+ const height = computed(
69166
+ () => sizeNumber.value ? `${sizeNumber.value + 2}px` : props.size
69167
+ );
69099
69168
  const svgClass = computed(() => {
69100
69169
  let cls = props.border ? "sh_icon svg-icon icon-border" : props.boxShow ? "sh_icon svg-icon icon-cls" : "sh_icon svg-icon";
69101
69170
  if (props.className) {
@@ -69124,7 +69193,7 @@ const _export_sfc = (sfc, props) => {
69124
69193
  return target;
69125
69194
  };
69126
69195
 
69127
- const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__scopeId", "data-v-2fe1f17f"]]);
69196
+ const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__scopeId", "data-v-24939aaf"]]);
69128
69197
 
69129
69198
  const StarHorseIcon = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
69130
69199
  __proto__: null,
@@ -69336,14 +69405,26 @@ const validTypes = [
69336
69405
  pattern: /^[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?$/
69337
69406
  },
69338
69407
  { message: "只能是字母", value: "letter", pattern: /^[a-zA-Z]*$/ },
69339
- { message: "只能是字母或数字", value: "letterDigit", pattern: /^[a-zA-Z0-9]*$/ },
69408
+ {
69409
+ message: "只能是字母或数字",
69410
+ value: "letterDigit",
69411
+ pattern: /^[a-zA-Z0-9]*$/
69412
+ },
69340
69413
  {
69341
69414
  message: (min, max) => `长度范围须在 ${min} 到 ${max} 之间`,
69342
69415
  value: "dataLength",
69343
69416
  pattern: (min, max) => new RegExp(`^.{${min},${max}}$`)
69344
69417
  },
69345
- { message: "只能是字母、数字和下划线", value: "letterDigitUnderline", pattern: /^[a-zA-Z0-9_]*$/ },
69346
- { message: "只能是字母、数字、下划线和中横线", value: "letterDigitUnderlineHyphen", pattern: /^[a-zA-Z0-9_\-]*$/ },
69418
+ {
69419
+ message: "只能是字母、数字和下划线",
69420
+ value: "letterDigitUnderline",
69421
+ pattern: /^[a-zA-Z0-9_]*$/
69422
+ },
69423
+ {
69424
+ message: "只能是字母、数字、下划线和中横线",
69425
+ value: "letterDigitUnderlineHyphen",
69426
+ pattern: /^[a-zA-Z0-9_\-]*$/
69427
+ },
69347
69428
  {
69348
69429
  message: "密码需包含大写字母、小写字母、数字和特殊字符,长度 8 - 16",
69349
69430
  value: "strongPassword",
@@ -69415,12 +69496,20 @@ function getValidType(type, options) {
69415
69496
  function validMsg(item, dataForm) {
69416
69497
  const rules = [];
69417
69498
  if (item.required && !item.disabled) {
69418
- rules.push({ required: true, message: `${item.label}不能为空`, trigger: "blur" });
69499
+ rules.push({
69500
+ required: true,
69501
+ message: `${item.label}不能为空`,
69502
+ trigger: "blur"
69503
+ });
69419
69504
  }
69420
69505
  if (item.type == "number-range") {
69421
69506
  const splitName = item.preps?.splitName ?? "-";
69422
69507
  const escapedSplit = splitName.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
69423
- rules.push({ pattern: new RegExp(`^\\d+${escapedSplit}\\d+$`), message: '格式应为"最小值-最大值"(如:2-3)', trigger: "blur" });
69508
+ rules.push({
69509
+ pattern: new RegExp(`^\\d+${escapedSplit}\\d+$`),
69510
+ message: '格式应为"最小值-最大值"(如:2-3)',
69511
+ trigger: "blur"
69512
+ });
69424
69513
  rules.push({
69425
69514
  validator: (rule, value, callback) => {
69426
69515
  const minName = item.preps?.minName ?? item.fieldName + "Min";
@@ -69671,12 +69760,22 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69671
69760
  }
69672
69761
  }
69673
69762
  };
69674
- const exclusions = ["name", "id", "label", "itemNameLabel", "autocomplete", "maxLength"];
69763
+ const exclusions = [
69764
+ "name",
69765
+ "id",
69766
+ "label",
69767
+ "itemNameLabel",
69768
+ "autocomplete",
69769
+ "maxLength"
69770
+ ];
69675
69771
  const init = () => {
69676
69772
  fieldType();
69677
69773
  if (!props.item["id"]) {
69678
69774
  props.item["id"] = props.item.preps?.id ?? uuid();
69679
69775
  }
69776
+ if (!props.item.fieldName) {
69777
+ props.item["fieldName"] = props.item.preps?.name ?? props.item.id;
69778
+ }
69680
69779
  fieldPlaceholder(props.item, itemType.value);
69681
69780
  if (props.item.preps) {
69682
69781
  filterProperties(props.item.preps, exclusions);
@@ -69769,7 +69868,9 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69769
69868
  key: 1,
69770
69869
  message: __props.item.helpMsg
69771
69870
  }, null, 8, ["message"])) : createCommentVNode("", true),
69772
- (openBlock(), createBlock(resolveDynamicComponent((dataForm.value && dataForm.value["_" + __props.item.fieldName + "Type"] || itemType.value) + "-item"), {
69871
+ (openBlock(), createBlock(resolveDynamicComponent(
69872
+ (dataForm.value && dataForm.value["_" + __props.item.fieldName + "Type"] || itemType.value) + "-item"
69873
+ ), {
69773
69874
  key: __props.item.id,
69774
69875
  onSelfFunc: actionDispatcher,
69775
69876
  ref_key: "componentRef",
@@ -69805,7 +69906,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69805
69906
 
69806
69907
  /* unplugin-vue-components disabled */
69807
69908
 
69808
- const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-a1b31b43"]]);
69909
+ const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-74608522"]]);
69809
69910
 
69810
69911
  const StarHorseItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
69811
69912
  __proto__: null,
@@ -69922,7 +70023,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
69922
70023
 
69923
70024
  /* unplugin-vue-components disabled */
69924
70025
 
69925
- const DataTag = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__scopeId", "data-v-d789aa77"]]);
70026
+ const DataTag = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__scopeId", "data-v-909e3e59"]]);
69926
70027
 
69927
70028
  const zh_CN = {
69928
70029
  "starhorse.copyright": Config.footerTxt,
@@ -70155,7 +70256,13 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
70155
70256
  title: { type: String, default: "" },
70156
70257
  compSize: { type: String, default: Config.compSize }
70157
70258
  },
70158
- emits: ["merge", "mergeDraft", "resetForm", "open", "closeAction"],
70259
+ emits: [
70260
+ "merge",
70261
+ "mergeDraft",
70262
+ "resetForm",
70263
+ "open",
70264
+ "closeAction"
70265
+ ],
70159
70266
  setup(__props, { emit: __emit }) {
70160
70267
  const emits = __emit;
70161
70268
  const props = __props;
@@ -70432,7 +70539,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
70432
70539
 
70433
70540
  /* unplugin-vue-components disabled */
70434
70541
 
70435
- const __unplugin_components_0$8 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-7a2399c1"]]);
70542
+ const __unplugin_components_0$8 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-3406ce7b"]]);
70436
70543
 
70437
70544
  const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
70438
70545
  __proto__: null,
@@ -70692,7 +70799,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
70692
70799
 
70693
70800
  /* unplugin-vue-components disabled */
70694
70801
 
70695
- const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-05d8ee9f"]]);
70802
+ const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-1dc29e8b"]]);
70696
70803
 
70697
70804
  const _hoisted_1$S = { class: "data-wrapper" };
70698
70805
  const _sfc_main$1H = /* @__PURE__ */ defineComponent({
@@ -70801,7 +70908,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
70801
70908
 
70802
70909
  /* unplugin-vue-components disabled */
70803
70910
 
70804
- const StarHorseDataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-039339d4"]]);
70911
+ const StarHorseDataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-b8624195"]]);
70805
70912
 
70806
70913
  const StarHorseDataSelector$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
70807
70914
  __proto__: null,
@@ -70973,7 +71080,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
70973
71080
 
70974
71081
  /* unplugin-vue-components disabled */
70975
71082
 
70976
- const __unplugin_components_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__scopeId", "data-v-308066ad"]]);
71083
+ const __unplugin_components_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__scopeId", "data-v-59f9f69a"]]);
70977
71084
 
70978
71085
  const StarHorseDataViewTable = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
70979
71086
  __proto__: null,
@@ -71058,7 +71165,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
71058
71165
 
71059
71166
  /* unplugin-vue-components disabled */
71060
71167
 
71061
- const __unplugin_components_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-f3de2d99"]]);
71168
+ const __unplugin_components_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-d8fcb24f"]]);
71062
71169
 
71063
71170
  const viewTableItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
71064
71171
  __proto__: null,
@@ -71148,7 +71255,10 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
71148
71255
  globalCondition: { type: Object },
71149
71256
  outerData: { type: Object },
71150
71257
  dynamicForm: { type: Boolean, default: false },
71151
- primaryKey: { type: [String, Object], default: "id" },
71258
+ primaryKey: {
71259
+ type: [String, Object],
71260
+ default: "id"
71261
+ },
71152
71262
  batchFieldName: { type: String, default: "batchFieldList" },
71153
71263
  dataFormat: { type: Function, default: null }
71154
71264
  },
@@ -71427,7 +71537,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
71427
71537
 
71428
71538
  /* unplugin-vue-components disabled */
71429
71539
 
71430
- const __unplugin_components_5 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-73f31f13"]]);
71540
+ const __unplugin_components_5 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-6e139bcc"]]);
71431
71541
 
71432
71542
  const ContentMenu = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
71433
71543
  __proto__: null,
@@ -71879,60 +71989,57 @@ const useDesignFormStore = defineStore("designForm", () => {
71879
71989
  };
71880
71990
  });
71881
71991
 
71882
- const useDesignPageStore = defineStore(
71883
- "designPage",
71884
- () => {
71885
- const nodeList = ref([]);
71886
- const currentNode = ref(null);
71887
- const isEdit = ref(false);
71888
- const defaultZindex = ref(100);
71889
- const clearAll = () => {
71890
- isEdit.value = false;
71891
- nodeList.value = [];
71892
- currentNode.value = null;
71893
- };
71894
- const removeNode = (id) => {
71895
- nodeList.value = nodeList.value.filter((node) => {
71896
- return node.id != id;
71897
- });
71898
- currentNode.value = id == currentNode.value.id ? null : currentNode.value;
71899
- };
71900
- const setNodeList = (list) => {
71901
- nodeList.value = list;
71902
- };
71903
- const addNode = (node) => {
71904
- nodeList.value.push(node);
71905
- };
71906
- const selectNode = (node) => {
71907
- currentNode.value = node;
71908
- };
71909
- const setIsEdit = (edit) => {
71910
- isEdit.value = edit;
71911
- };
71912
- const maxZIndex = () => {
71913
- nodeList.value.sort((a, b) => {
71914
- return (a.zIndex || defaultZindex.value) - (b.zIndex || defaultZindex.value);
71915
- });
71916
- return nodeList.value[0].zIndex || defaultZindex.value;
71917
- };
71918
- const init = () => {
71919
- };
71920
- return {
71921
- nodeList,
71922
- currentNode,
71923
- isEdit,
71924
- defaultZindex,
71925
- setNodeList,
71926
- removeNode,
71927
- addNode,
71928
- selectNode,
71929
- clearAll,
71930
- setIsEdit,
71931
- maxZIndex,
71932
- init
71933
- };
71934
- }
71935
- );
71992
+ const useDesignPageStore = defineStore("designPage", () => {
71993
+ const nodeList = ref([]);
71994
+ const currentNode = ref(null);
71995
+ const isEdit = ref(false);
71996
+ const defaultZindex = ref(100);
71997
+ const clearAll = () => {
71998
+ isEdit.value = false;
71999
+ nodeList.value = [];
72000
+ currentNode.value = null;
72001
+ };
72002
+ const removeNode = (id) => {
72003
+ nodeList.value = nodeList.value.filter((node) => {
72004
+ return node.id != id;
72005
+ });
72006
+ currentNode.value = id == currentNode.value.id ? null : currentNode.value;
72007
+ };
72008
+ const setNodeList = (list) => {
72009
+ nodeList.value = list;
72010
+ };
72011
+ const addNode = (node) => {
72012
+ nodeList.value.push(node);
72013
+ };
72014
+ const selectNode = (node) => {
72015
+ currentNode.value = node;
72016
+ };
72017
+ const setIsEdit = (edit) => {
72018
+ isEdit.value = edit;
72019
+ };
72020
+ const maxZIndex = () => {
72021
+ nodeList.value.sort((a, b) => {
72022
+ return (a.zIndex || defaultZindex.value) - (b.zIndex || defaultZindex.value);
72023
+ });
72024
+ return nodeList.value[0].zIndex || defaultZindex.value;
72025
+ };
72026
+ const init = () => {
72027
+ };
72028
+ return {
72029
+ nodeList,
72030
+ currentNode,
72031
+ isEdit,
72032
+ defaultZindex,
72033
+ setNodeList,
72034
+ removeNode,
72035
+ addNode,
72036
+ selectNode,
72037
+ clearAll,
72038
+ setIsEdit,
72039
+ maxZIndex,
72040
+ init
72041
+ };
72042
+ });
71936
72043
 
71937
72044
  const copyerAction = useCopyerOperationStore(piniaInstance);
71938
72045
  const designForm$2 = useDesignFormStore(piniaInstance);
@@ -72179,7 +72286,10 @@ function paste(parentItem) {
72179
72286
  } else {
72180
72287
  if (getParentComp(copyerData) == "container") {
72181
72288
  const parentContainer = copyerAction.parentContainer;
72182
- copyContainer(parentContainer ? parentContainer.preps?.elements : compList.value, copyerData);
72289
+ copyContainer(
72290
+ parentContainer ? parentContainer.preps?.elements : compList.value,
72291
+ copyerData
72292
+ );
72183
72293
  } else {
72184
72294
  copyerData = JSON.parse(JSON.stringify(copyerData));
72185
72295
  copyerData.id = uuid();
@@ -72688,7 +72798,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
72688
72798
 
72689
72799
  /* unplugin-vue-components disabled */
72690
72800
 
72691
- const StarHorseDraggable = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-e487a34b"]]);
72801
+ const StarHorseDraggable = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-17d7a7de"]]);
72692
72802
 
72693
72803
  const StarHorseDraggable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
72694
72804
  __proto__: null,
@@ -75531,7 +75641,9 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
75531
75641
  nextTick(() => {
75532
75642
  const tryScroll = (attempt = 0) => {
75533
75643
  const tableEl = starHorseFormListRef.value?.$el;
75534
- const scrollContainer = tableEl?.querySelector(".el-table--scrollable-y .el-scrollbar__wrap");
75644
+ const scrollContainer = tableEl?.querySelector(
75645
+ ".el-table--scrollable-y .el-scrollbar__wrap"
75646
+ );
75535
75647
  if (scrollContainer) {
75536
75648
  if (type === 1) {
75537
75649
  scrollContainer.scrollTop = scrollContainer.scrollHeight - scrollContainer.clientHeight;
@@ -75667,7 +75779,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
75667
75779
  onCloseAction: closeAction
75668
75780
  }, {
75669
75781
  default: withCtx(() => [
75670
- createVNode(__unplugin_components_1$2, {
75782
+ createVNode(_sfc_main$1u, {
75671
75783
  fieldList: { fieldList: __props.fieldList },
75672
75784
  ref_key: "rowDataFormRef",
75673
75785
  ref: rowDataFormRef
@@ -75936,7 +76048,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
75936
76048
 
75937
76049
  /* unplugin-vue-components disabled */
75938
76050
 
75939
- const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-bb70380e"]]);
76051
+ const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-173552a4"]]);
75940
76052
 
75941
76053
  const StarHorseFormList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
75942
76054
  __proto__: null,
@@ -76013,7 +76125,10 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
76013
76125
  subFormFlag: { type: String, default: "N" },
76014
76126
  batchName: { type: String, default: "batchDataList" },
76015
76127
  batchFieldName: { type: String, default: "batchFieldList" },
76016
- primaryKey: { type: [String, Object], required: true },
76128
+ primaryKey: {
76129
+ type: [String, Object],
76130
+ required: true
76131
+ },
76017
76132
  rules: { type: Object },
76018
76133
  compSize: { type: String, default: Config.compSize },
76019
76134
  source: { type: Number, default: 1 }
@@ -76206,7 +76321,14 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
76206
76321
  }
76207
76322
  }
76208
76323
  },
76209
- emits: ["refresh", "dataLoaded", "exportData", "removeRow", "addRow", "inited"],
76324
+ emits: [
76325
+ "refresh",
76326
+ "dataLoaded",
76327
+ "exportData",
76328
+ "removeRow",
76329
+ "addRow",
76330
+ "inited"
76331
+ ],
76210
76332
  setup(__props, { expose: __expose, emit: __emit }) {
76211
76333
  const props = __props;
76212
76334
  let userOperation = useSelfOperationStore(piniaInstance);
@@ -76289,7 +76411,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
76289
76411
  };
76290
76412
  const assignStatusName = () => {
76291
76413
  if (dataForm.value.statusCode) {
76292
- let sData = props.selectData.find((item) => item.value === dataForm.value.statusCode);
76414
+ let sData = props.selectData.find(
76415
+ (item) => item.value === dataForm.value.statusCode
76416
+ );
76293
76417
  if (sData) {
76294
76418
  dataForm.value["statusName"] = sData.name;
76295
76419
  }
@@ -76299,7 +76423,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
76299
76423
  if (dataForm.value[item.batchName]) {
76300
76424
  for (let index = 0; index < dataForm.value[item.batchName]?.length; index++) {
76301
76425
  let temp = dataForm.value[item.batchName][index];
76302
- let sData = props.selectData.find((sitem) => sitem.value === temp.statusCode);
76426
+ let sData = props.selectData.find(
76427
+ (sitem) => sitem.value === temp.statusCode
76428
+ );
76303
76429
  if (sData) {
76304
76430
  dataForm.value[item.batchName][index]["statusName"] = sData.name;
76305
76431
  }
@@ -76574,13 +76700,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
76574
76700
  }
76575
76701
  });
76576
76702
 
76577
- /* unplugin-vue-components disabled */
76578
-
76579
- const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-5d489b48"]]);
76580
-
76581
76703
  const StarHorseForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
76582
76704
  __proto__: null,
76583
- default: __unplugin_components_1$2
76705
+ default: _sfc_main$1u
76584
76706
  }, Symbol.toStringTag, { value: 'Module' }));
76585
76707
 
76586
76708
  function e$3(t) {
@@ -121686,7 +121808,13 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
121686
121808
  emits: ["update:modelValue"],
121687
121809
  setup(__props, { expose: __expose }) {
121688
121810
  const json = useModel(__props, "modelValue");
121689
- const queryLanguages = ["javascript", "lodash", "jmespath", "jsonquery", "jsonpath"];
121811
+ const queryLanguages = [
121812
+ "javascript",
121813
+ "lodash",
121814
+ "jmespath",
121815
+ "jsonquery",
121816
+ "jsonpath"
121817
+ ];
121690
121818
  let editor = ref(null);
121691
121819
  const setEditorContent = (value) => {
121692
121820
  };
@@ -121716,7 +121844,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
121716
121844
 
121717
121845
  /* unplugin-vue-components disabled */
121718
121846
 
121719
- const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-13111c8c"]]);
121847
+ const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-fd575312"]]);
121720
121848
 
121721
121849
  const StarHorseJsonEditor = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
121722
121850
  __proto__: null,
@@ -121813,17 +121941,50 @@ const useGlobalConfigStore = defineStore(
121813
121941
  localStorage.setItem("starHorseConfigInfo", JSON.stringify(data));
121814
121942
  Config.buttonStyle.value = data.buttonShowType || "dropdown";
121815
121943
  if (data.themeColor) {
121816
- document.documentElement.style.setProperty("--star-horse-style", data.themeColor);
121817
- document.documentElement.style.setProperty("--el-color-primary", data.themeColor);
121818
- document.documentElement.style.setProperty("--el-select-input-color", data.themeColor);
121819
- document.documentElement.style.setProperty("--el-pagination-button-color", data.themeColor);
121820
- document.documentElement.style.setProperty("--el-tree-expand-icon-color", data.themeColor);
121821
- document.documentElement.style.setProperty("--fc-button-bg-color", data.themeColor);
121822
- document.documentElement.style.setProperty("--fc-button-border-color", data.themeColor);
121823
- document.documentElement.style.setProperty("--fc-button-active-bg-color", data.themeColor);
121824
- document.documentElement.style.setProperty("--fc-button-active-border-color", data.themeColor);
121825
- document.documentElement.style.setProperty("--fc-button-hover-bg-color", data.themeColor);
121826
- document.documentElement.style.setProperty("--fc-button-hover-border-color", data.themeColor);
121944
+ document.documentElement.style.setProperty(
121945
+ "--star-horse-style",
121946
+ data.themeColor
121947
+ );
121948
+ document.documentElement.style.setProperty(
121949
+ "--el-color-primary",
121950
+ data.themeColor
121951
+ );
121952
+ document.documentElement.style.setProperty(
121953
+ "--el-select-input-color",
121954
+ data.themeColor
121955
+ );
121956
+ document.documentElement.style.setProperty(
121957
+ "--el-pagination-button-color",
121958
+ data.themeColor
121959
+ );
121960
+ document.documentElement.style.setProperty(
121961
+ "--el-tree-expand-icon-color",
121962
+ data.themeColor
121963
+ );
121964
+ document.documentElement.style.setProperty(
121965
+ "--fc-button-bg-color",
121966
+ data.themeColor
121967
+ );
121968
+ document.documentElement.style.setProperty(
121969
+ "--fc-button-border-color",
121970
+ data.themeColor
121971
+ );
121972
+ document.documentElement.style.setProperty(
121973
+ "--fc-button-active-bg-color",
121974
+ data.themeColor
121975
+ );
121976
+ document.documentElement.style.setProperty(
121977
+ "--fc-button-active-border-color",
121978
+ data.themeColor
121979
+ );
121980
+ document.documentElement.style.setProperty(
121981
+ "--fc-button-hover-bg-color",
121982
+ data.themeColor
121983
+ );
121984
+ document.documentElement.style.setProperty(
121985
+ "--fc-button-hover-border-color",
121986
+ data.themeColor
121987
+ );
121827
121988
  }
121828
121989
  };
121829
121990
  const clearAll = (isDark = "N") => {
@@ -121979,7 +122140,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
121979
122140
  const emits = __emit;
121980
122141
  const props = __props;
121981
122142
  let configStore = useGlobalConfigStore(piniaInstance);
121982
- let compSize = computed(() => configStore.configFormInfo?.inputSize || Config.compSize);
122143
+ let compSize = computed(
122144
+ () => configStore.configFormInfo?.inputSize || Config.compSize
122145
+ );
121983
122146
  let searchForm = ref({});
121984
122147
  const createSearchParams = (formData) => {
121985
122148
  return analysisSearchData(searchForm.value, formData);
@@ -122057,7 +122220,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
122057
122220
  size: unref(compSize)
122058
122221
  }, {
122059
122222
  default: withCtx(() => [
122060
- unref(defaultSearch) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.formData.fieldList, (item, index) => {
122223
+ unref(defaultSearch) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.formData.fieldList, (item) => {
122061
122224
  return openBlock(), createElementBlock(Fragment, null, [
122062
122225
  item.defaultVisible ? (openBlock(), createBlock(_component_el_form_item, {
122063
122226
  key: 0,
@@ -122212,7 +122375,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
122212
122375
 
122213
122376
  /* unplugin-vue-components disabled */
122214
122377
 
122215
- const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-f1bc60d8"]]);
122378
+ const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-1b3d7d14"]]);
122216
122379
 
122217
122380
  const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
122218
122381
  __proto__: null,
@@ -132942,17 +133105,15 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
132942
133105
  emits: ["focusEvent", "blurEvent"],
132943
133106
  setup(__props, { emit: __emit }) {
132944
133107
  const props = __props;
132945
- const compInfo = computed(
132946
- () => {
132947
- return {
132948
- ...unref(props.item.preps?.compInfo),
132949
- props: {
132950
- data: { type: Object },
132951
- item: { type: Object }
132952
- }
132953
- };
132954
- }
132955
- );
133108
+ const compInfo = computed(() => {
133109
+ return {
133110
+ ...unref(props.item.preps?.compInfo),
133111
+ props: {
133112
+ data: { type: Object },
133113
+ item: { type: Object }
133114
+ }
133115
+ };
133116
+ });
132956
133117
  const currentRow = ref();
132957
133118
  const focusEvent = (_column) => {
132958
133119
  };
@@ -133010,7 +133171,9 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
133010
133171
  return parseDateByType(val, item.type);
133011
133172
  }
133012
133173
  if (item.type == "select" || item.type == "checkbox" || item.type == "radio") {
133013
- fname = item.preps?.values?.find((temp) => String(temp.value) == val)?.name;
133174
+ fname = item.preps?.values?.find(
133175
+ (temp) => String(temp.value) == val
133176
+ )?.name;
133014
133177
  }
133015
133178
  if (fname) {
133016
133179
  return fname;
@@ -133132,7 +133295,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
133132
133295
 
133133
133296
  /* unplugin-vue-components disabled */
133134
133297
 
133135
- const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-44464fc3"]]);
133298
+ const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-f034861b"]]);
133136
133299
 
133137
133300
  const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
133138
133301
  __proto__: null,
@@ -133150,7 +133313,10 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133150
133313
  __name: "StarHorseStaticTable",
133151
133314
  props: {
133152
133315
  //主键
133153
- primaryKey: { type: [String, Object], required: true },
133316
+ primaryKey: {
133317
+ type: [String, Object],
133318
+ required: true
133319
+ },
133154
133320
  //列名
133155
133321
  fieldList: { type: Object, required: true },
133156
133322
  //格式化方法
@@ -133217,7 +133383,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133217
133383
  }
133218
133384
  };
133219
133385
  const moveColumn = () => {
133220
- const tbody = document.querySelector(".sh-columns .el-table__body-wrapper tbody");
133386
+ const tbody = document.querySelector(
133387
+ ".sh-columns .el-table__body-wrapper tbody"
133388
+ );
133221
133389
  if (tbody) {
133222
133390
  Sortable.create(tbody, {
133223
133391
  handle: ".move",
@@ -133257,8 +133425,12 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133257
133425
  if (val.length <= 1) {
133258
133426
  multipleSelection.value = val;
133259
133427
  } else {
133260
- let ids = multipleSelection.value.map((item) => item[props.primaryKey]);
133261
- let datas = val.filter((item) => !ids.includes(item[props.primaryKey]));
133428
+ let ids = multipleSelection.value.map(
133429
+ (item) => item[props.primaryKey]
133430
+ );
133431
+ let datas = val.filter(
133432
+ (item) => !ids.includes(item[props.primaryKey])
133433
+ );
133262
133434
  let data = multipleSelection.value[0];
133263
133435
  shStaticTableCompRef.value?.toggleRowSelection(data, true);
133264
133436
  multipleSelection.value = datas;
@@ -133294,7 +133466,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133294
133466
  shStaticTableCompRef.value.toggleRowSelection(valueElement);
133295
133467
  }
133296
133468
  }
133297
- const selected = multipleSelection.value?.some((item) => item[props.primaryKey] === row[props.primaryKey]);
133469
+ const selected = multipleSelection.value?.some(
133470
+ (item) => item[props.primaryKey] === row[props.primaryKey]
133471
+ );
133298
133472
  if (!selected) {
133299
133473
  multipleSelection.value.push(row);
133300
133474
  shStaticTableCompRef.value?.toggleRowSelection(row);
@@ -133512,7 +133686,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133512
133686
 
133513
133687
  /* unplugin-vue-components disabled */
133514
133688
 
133515
- const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-aee2066c"]]);
133689
+ const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-21b06ee3"]]);
133516
133690
 
133517
133691
  const StarHorseStaticTable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
133518
133692
  __proto__: null,
@@ -133522,7 +133696,9 @@ const StarHorseStaticTable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
133522
133696
  const useButtonPermissionStore = defineStore("buttonPermission", () => {
133523
133697
  const pageBtnPermisson = ref({});
133524
133698
  const currentPermission = ref({});
133525
- const permissionUrlPrefix = ref("/system-config/system/resourcesEntity/permissionResources/");
133699
+ const permissionUrlPrefix = ref(
133700
+ "/system-config/system/resourcesEntity/permissionResources/"
133701
+ );
133526
133702
  const addRoute = async (route) => {
133527
133703
  let data = route ?? (window.__hostRouter__?.currentRoute || window.__hostRouter__);
133528
133704
  const meta = unref(data)?.meta;
@@ -133554,15 +133730,16 @@ const useButtonPermissionStore = defineStore("buttonPermission", () => {
133554
133730
  warning("Session 失效");
133555
133731
  return;
133556
133732
  }
133557
- await postRequest(`${permissionUrlPrefix.value}${userId}/${menuId}`, {}).then(
133558
- (res) => {
133559
- if (res.data.code) {
133560
- console.log(res.data.cnMessage);
133561
- return;
133562
- }
133563
- permissons = res.data.data;
133733
+ await postRequest(
133734
+ `${permissionUrlPrefix.value}${userId}/${menuId}`,
133735
+ {}
133736
+ ).then((res) => {
133737
+ if (res.data.code) {
133738
+ console.log(res.data.cnMessage);
133739
+ return;
133564
133740
  }
133565
- );
133741
+ permissons = res.data.data;
133742
+ });
133566
133743
  if (permissons && permissons.length > 0) {
133567
133744
  addPermission(menuId, permissons);
133568
133745
  } else {
@@ -133623,8 +133800,12 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
133623
133800
  const route = useRoute();
133624
133801
  let configStore = useGlobalConfigStore(piniaInstance);
133625
133802
  let pagePermission = useButtonPermissionStore(piniaInstance);
133626
- let compSize = computed(() => configStore.configFormInfo?.buttonSize || Config.compSize);
133627
- let showType = computed(() => configStore.configFormInfo?.buttonShowType || "dropdown");
133803
+ let compSize = computed(
133804
+ () => configStore.configFormInfo?.buttonSize || Config.compSize
133805
+ );
133806
+ let showType = computed(
133807
+ () => configStore.configFormInfo?.buttonShowType || "dropdown"
133808
+ );
133628
133809
  let permissions = ref({});
133629
133810
  const dataForm = ref({});
133630
133811
  const tableCompFunc = (funcName) => {
@@ -133632,7 +133813,9 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
133632
133813
  };
133633
133814
  const btnOperation = (funcName) => {
133634
133815
  if (props.preValidFunc?.length > 0 && Array.isArray(props.preValidFunc)) {
133635
- const preFunc = props.preValidFunc.find((item) => item.authority == funcName);
133816
+ const preFunc = props.preValidFunc.find(
133817
+ (item) => item.authority == funcName
133818
+ );
133636
133819
  if (preFunc) {
133637
133820
  const result = preFunc.valid?.();
133638
133821
  if (!result) {
@@ -133735,14 +133918,18 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
133735
133918
  if (extBtns?.length > 0) {
133736
133919
  for (let i = 0; i < arr.length; i++) {
133737
133920
  let temp = arr[i];
133738
- if (extBtns.find((item) => item.btnName == temp.btnName && item.authority == temp.authority)) {
133921
+ if (extBtns.find(
133922
+ (item) => item.btnName == temp.btnName && item.authority == temp.authority
133923
+ )) {
133739
133924
  arr.splice(i, 1);
133740
133925
  }
133741
133926
  }
133742
133927
  arr.push(...extBtns);
133743
133928
  }
133744
133929
  }
133745
- arr.sort((a, b) => (a.priority || 100) - (b.priority || 100));
133930
+ arr.sort(
133931
+ (a, b) => (a.priority || 100) - (b.priority || 100)
133932
+ );
133746
133933
  return arr;
133747
133934
  };
133748
133935
  const setFormData = (val) => {
@@ -134008,285 +134195,15 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
134008
134195
 
134009
134196
  /* unplugin-vue-components disabled */
134010
134197
 
134011
- const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-747c1a9f"]]);
134198
+ const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-1d3217a8"]]);
134012
134199
 
134013
134200
  const StarHorseButtonList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
134014
134201
  __proto__: null,
134015
134202
  default: __unplugin_components_2
134016
134203
  }, Symbol.toStringTag, { value: 'Module' }));
134017
134204
 
134018
- const useDynamicFormStore = defineStore("dynamicForm", () => {
134019
- const dataForm = ref({});
134020
- const selectData = ref(null);
134021
- const dataId = ref(null);
134022
- const setSelectData = (data) => {
134023
- selectData.value = data;
134024
- };
134025
- const setDataId = (id) => {
134026
- dataId.value = id;
134027
- };
134028
- const setFormData = (data) => {
134029
- dataForm.value = { ...data };
134030
- };
134031
- const addBatchData = (batchName, data) => {
134032
- let batchDatas = dataForm.value[batchName];
134033
- if (!batchDatas || batchDatas.length == 0) {
134034
- dataForm.value[batchName] = [];
134035
- batchDatas = dataForm.value[batchName];
134036
- }
134037
- batchDatas.push(data);
134038
- };
134039
- const delField = (fieldName) => {
134040
- delete dataForm.value[fieldName];
134041
- };
134042
- const delBatchField = (batchName, fieldName, rowIndex = -1) => {
134043
- const batchDatas = dataForm.value[batchName];
134044
- if (!batchDatas || batchDatas.length == 0) {
134045
- return;
134046
- }
134047
- if (batchDatas instanceof Object) {
134048
- delete batchDatas[fieldName];
134049
- } else {
134050
- if (rowIndex > 0) {
134051
- delete batchDatas[rowIndex - 1][fieldName];
134052
- } else {
134053
- batchDatas.forEach((item) => {
134054
- delete item[fieldName];
134055
- });
134056
- }
134057
- }
134058
- };
134059
- const addOrUpdateField = (fieldName, value) => {
134060
- dataForm.value[fieldName] = value;
134061
- };
134062
- const batchAddOrUpdateField = (batchName, fieldName, value, rowIndex = -1) => {
134063
- let batchDatas = dataForm.value[batchName];
134064
- if (!batchDatas || batchDatas.length == 0) {
134065
- dataForm.value[batchName] = [];
134066
- batchDatas = dataForm.value[batchName];
134067
- }
134068
- if (batchDatas instanceof Object) {
134069
- batchDatas[fieldName] = value;
134070
- } else {
134071
- if (rowIndex > 0) {
134072
- batchDatas[rowIndex - 1][fieldName] = value;
134073
- } else {
134074
- batchDatas.forEach((item) => {
134075
- item[fieldName] = value;
134076
- });
134077
- }
134078
- }
134079
- };
134080
- const renameField = (sourceField, distField, newValue) => {
134081
- if (Object.keys(dataForm.value).includes(distField)) {
134082
- warning("新的属性名已存在,不能进行修改");
134083
- return;
134084
- }
134085
- const bakeValue = dataForm.value[sourceField];
134086
- delete dataForm.value[sourceField];
134087
- dataForm.value[distField] = newValue ? newValue : bakeValue;
134088
- };
134089
- const batchRenameField = (batchName, sourceField, distField, newValue, rowIndex = -1) => {
134090
- const batchDatas = dataForm.value[batchName];
134091
- if (!batchDatas || batchDatas.length == 0) {
134092
- batchAddOrUpdateField(batchName, distField, newValue, rowIndex);
134093
- return;
134094
- }
134095
- const dataFun = (data, sourceField2, distField2, newValue2) => {
134096
- if (Object.keys(data).includes(distField2)) {
134097
- warning("新的属性名已存在,不能进行修改");
134098
- return false;
134099
- }
134100
- const bakeValue = data[sourceField2];
134101
- delete dataForm.value[sourceField2];
134102
- dataForm.value[distField2] = newValue2 || bakeValue;
134103
- return true;
134104
- };
134105
- if (batchDatas instanceof Object) {
134106
- dataFun(batchDatas, sourceField, distField, newValue);
134107
- } else {
134108
- if (rowIndex > 0) {
134109
- dataFun(batchDatas[rowIndex - 1], sourceField, distField, newValue);
134110
- } else {
134111
- batchDatas.forEach((item) => {
134112
- const result = dataFun(item, sourceField, distField, newValue);
134113
- if (!result) {
134114
- return false;
134115
- }
134116
- });
134117
- }
134118
- }
134119
- };
134120
- const getFieldValue = (fieldName) => {
134121
- return dataForm.value[fieldName];
134122
- };
134123
- const getBatchFieldValue = (batchName, fieldName, rowIndex = -1) => {
134124
- const batchDatas = dataForm.value[batchName];
134125
- if (!batchDatas) {
134126
- return;
134127
- }
134128
- if (batchDatas instanceof Object) {
134129
- return batchDatas[fieldName];
134130
- } else {
134131
- if (rowIndex > 0) {
134132
- return batchDatas[rowIndex - 1][fieldName];
134133
- } else {
134134
- return batchDatas.map((item) => item[fieldName]);
134135
- }
134136
- }
134137
- };
134138
- const clearAll = () => {
134139
- dataForm.value = {};
134140
- };
134141
- return {
134142
- dataForm,
134143
- selectData,
134144
- dataId,
134145
- setSelectData,
134146
- setDataId,
134147
- setFormData,
134148
- addBatchData,
134149
- delField,
134150
- delBatchField,
134151
- addOrUpdateField,
134152
- batchAddOrUpdateField,
134153
- renameField,
134154
- batchRenameField,
134155
- getFieldValue,
134156
- getBatchFieldValue,
134157
- clearAll
134158
- };
134159
- });
134160
-
134161
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
134162
- __name: "tableColumn",
134163
- props: {
134164
- //url地址
134165
- compUrl: { type: Object, required: true },
134166
- //列名
134167
- fieldList: { type: Object, required: true },
134168
- //格式化方法
134169
- dataFormat: { type: Function, default: null },
134170
- //是否显示排序
134171
- sortable: { type: Boolean, default: true },
134172
- //是否显示批量属性
134173
- showBatchField: { type: Boolean, default: false },
134174
- compSize: { type: String, default: Config.compSize },
134175
- //全局配置,动态页面使用
134176
- globalConfig: { type: Object, required: false },
134177
- //是否动态页面
134178
- isDynamic: { type: Boolean, default: false }
134179
- },
134180
- setup(__props) {
134181
- return (_ctx, _cache) => {
134182
- const _component_star_horse_table_column = __unplugin_components_2$1;
134183
- return openBlock(), createElementBlock(Fragment, null, [
134184
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.fieldList?.fieldList, (item, index) => {
134185
- return openBlock(), createElementBlock(Fragment, {
134186
- key: unref(compKey)(item, index)
134187
- }, [
134188
- Array.isArray(item) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item, (sitem, key) => {
134189
- return openBlock(), createBlock(_component_star_horse_table_column, {
134190
- "data-format": __props.dataFormat,
134191
- cellEditable: __props.fieldList["cellEditable"],
134192
- item: sitem,
134193
- globalConfig: __props.globalConfig,
134194
- isDynamic: __props.isDynamic,
134195
- sortable: __props.sortable,
134196
- compSize: __props.compSize,
134197
- compUrl: __props.compUrl,
134198
- key: unref(compKey)(sitem, key)
134199
- }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134200
- }), 128)) : item.tabList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.tabList, (tabItems, key) => {
134201
- return openBlock(), createElementBlock(Fragment, {
134202
- key: unref(compKey)(tabItems, key)
134203
- }, [
134204
- (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems.fieldList, (sitem, skey) => {
134205
- return openBlock(), createBlock(_component_star_horse_table_column, {
134206
- "data-format": __props.dataFormat,
134207
- cellEditable: __props.fieldList["cellEditable"],
134208
- item: sitem,
134209
- globalConfig: __props.globalConfig,
134210
- isDynamic: __props.isDynamic,
134211
- sortable: __props.sortable,
134212
- compSize: __props.compSize,
134213
- compUrl: __props.compUrl,
134214
- key: unref(compKey)(sitem, skey)
134215
- }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134216
- }), 128))
134217
- ], 64);
134218
- }), 128)) : item.dytableList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(item.dytableList, (tabItems, key) => {
134219
- return openBlock(), createElementBlock(Fragment, {
134220
- key: unref(compKey)(tabItems, key)
134221
- }, [
134222
- (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems, (sitem, skey) => {
134223
- return openBlock(), createBlock(_component_star_horse_table_column, {
134224
- "data-format": __props.dataFormat,
134225
- cellEditable: __props.fieldList["cellEditable"],
134226
- item: sitem,
134227
- globalConfig: __props.globalConfig,
134228
- isDynamic: __props.isDynamic,
134229
- sortable: __props.sortable,
134230
- compSize: __props.compSize,
134231
- compUrl: __props.compUrl,
134232
- key: unref(compKey)(sitem, skey)
134233
- }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134234
- }), 128))
134235
- ], 64);
134236
- }), 128)) : item.batchFieldList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(item.batchFieldList, (batchItems, key) => {
134237
- return openBlock(), createElementBlock(Fragment, {
134238
- key: unref(compKey)(batchItems, key)
134239
- }, [
134240
- (openBlock(true), createElementBlock(Fragment, null, renderList(batchItems.fieldList, (sitem, skey) => {
134241
- return openBlock(), createBlock(_component_star_horse_table_column, {
134242
- "data-format": __props.dataFormat,
134243
- cellEditable: __props.fieldList["cellEditable"],
134244
- item: sitem,
134245
- globalConfig: __props.globalConfig,
134246
- isDynamic: __props.isDynamic,
134247
- sortable: __props.sortable,
134248
- compSize: __props.compSize,
134249
- compUrl: __props.compUrl,
134250
- key: unref(compKey)(sitem, skey)
134251
- }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134252
- }), 128))
134253
- ], 64);
134254
- }), 128)) : (openBlock(), createBlock(_component_star_horse_table_column, {
134255
- key: 4,
134256
- compUrl: __props.compUrl,
134257
- cellEditable: __props.fieldList["cellEditable"],
134258
- globalConfig: __props.globalConfig,
134259
- isDynamic: __props.isDynamic,
134260
- "data-format": __props.dataFormat,
134261
- sortable: __props.sortable,
134262
- compSize: __props.compSize,
134263
- item
134264
- }, null, 8, ["compUrl", "cellEditable", "globalConfig", "isDynamic", "data-format", "sortable", "compSize", "item"]))
134265
- ], 64);
134266
- }), 128)),
134267
- __props.showBatchField ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.fieldList["batchFieldList"], (item) => {
134268
- return openBlock(), createBlock(_component_star_horse_table_column, {
134269
- key: unref(compKey)(item, item.batchName),
134270
- "data-format": __props.dataFormat,
134271
- compSize: __props.compSize,
134272
- globalConfig: __props.globalConfig,
134273
- isDynamic: __props.isDynamic,
134274
- sortable: __props.sortable,
134275
- item
134276
- }, null, 8, ["data-format", "compSize", "globalConfig", "isDynamic", "sortable", "item"]);
134277
- }), 128)) : createCommentVNode("", true)
134278
- ], 64);
134279
- };
134280
- }
134281
- });
134282
-
134283
- const tableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
134284
- __proto__: null,
134285
- default: _sfc_main$1n
134286
- }, Symbol.toStringTag, { value: 'Module' }));
134287
-
134288
134205
  const _hoisted_1$H = { class: "el-dropdown-link" };
134289
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134206
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
134290
134207
  __name: "tablebtn",
134291
134208
  props: {
134292
134209
  //按钮列表
@@ -134296,7 +134213,10 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134296
134213
  //数据
134297
134214
  row: { type: Object, required: true },
134298
134215
  //按钮隐藏条件
134299
- hideBtnCondition: { type: Array, default: [] },
134216
+ hideBtnCondition: {
134217
+ type: Array,
134218
+ default: []
134219
+ },
134300
134220
  //按钮大小
134301
134221
  compSize: { type: String, default: Config.compSize },
134302
134222
  //按钮默认显示限制,超出按钮个数则折叠显示
@@ -134372,7 +134292,10 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134372
134292
  dropdown: withCtx(() => [
134373
134293
  createVNode(_component_el_dropdown_menu, null, {
134374
134294
  default: withCtx(() => [
134375
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(validButtonList).slice(3, unref(validButtonList).length), (auth, key) => {
134295
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(validButtonList).slice(
134296
+ 3,
134297
+ unref(validButtonList).length
134298
+ ), (auth, key) => {
134376
134299
  return openBlock(), createBlock(_component_el_dropdown_item, {
134377
134300
  key: unref(compKey)(auth, key),
134378
134301
  "v-if": __props.permissions[auth.authority]
@@ -134434,10 +134357,280 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134434
134357
  });
134435
134358
 
134436
134359
  const tablebtn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
134360
+ __proto__: null,
134361
+ default: _sfc_main$1n
134362
+ }, Symbol.toStringTag, { value: 'Module' }));
134363
+
134364
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134365
+ __name: "tableColumn",
134366
+ props: {
134367
+ //url地址
134368
+ compUrl: { type: Object, required: true },
134369
+ //列名
134370
+ fieldList: { type: Object, required: true },
134371
+ //格式化方法
134372
+ dataFormat: { type: Function, default: null },
134373
+ //是否显示排序
134374
+ sortable: { type: Boolean, default: true },
134375
+ //是否显示批量属性
134376
+ showBatchField: { type: Boolean, default: false },
134377
+ compSize: { type: String, default: Config.compSize },
134378
+ //全局配置,动态页面使用
134379
+ globalConfig: { type: Object, required: false },
134380
+ //是否动态页面
134381
+ isDynamic: { type: Boolean, default: false }
134382
+ },
134383
+ setup(__props) {
134384
+ return (_ctx, _cache) => {
134385
+ const _component_star_horse_table_column = __unplugin_components_2$1;
134386
+ return openBlock(), createElementBlock(Fragment, null, [
134387
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.fieldList?.fieldList, (item, index) => {
134388
+ return openBlock(), createElementBlock(Fragment, {
134389
+ key: unref(compKey)(item, index)
134390
+ }, [
134391
+ Array.isArray(item) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item, (sitem, key) => {
134392
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134393
+ "data-format": __props.dataFormat,
134394
+ cellEditable: __props.fieldList["cellEditable"],
134395
+ item: sitem,
134396
+ globalConfig: __props.globalConfig,
134397
+ isDynamic: __props.isDynamic,
134398
+ sortable: __props.sortable,
134399
+ compSize: __props.compSize,
134400
+ compUrl: __props.compUrl,
134401
+ key: unref(compKey)(sitem, key)
134402
+ }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134403
+ }), 128)) : item.tabList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.tabList, (tabItems, key) => {
134404
+ return openBlock(), createElementBlock(Fragment, {
134405
+ key: unref(compKey)(tabItems, key)
134406
+ }, [
134407
+ (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems.fieldList, (sitem, skey) => {
134408
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134409
+ "data-format": __props.dataFormat,
134410
+ cellEditable: __props.fieldList["cellEditable"],
134411
+ item: sitem,
134412
+ globalConfig: __props.globalConfig,
134413
+ isDynamic: __props.isDynamic,
134414
+ sortable: __props.sortable,
134415
+ compSize: __props.compSize,
134416
+ compUrl: __props.compUrl,
134417
+ key: unref(compKey)(sitem, skey)
134418
+ }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134419
+ }), 128))
134420
+ ], 64);
134421
+ }), 128)) : item.dytableList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(item.dytableList, (tabItems, key) => {
134422
+ return openBlock(), createElementBlock(Fragment, {
134423
+ key: unref(compKey)(tabItems, key)
134424
+ }, [
134425
+ (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems, (sitem, skey) => {
134426
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134427
+ "data-format": __props.dataFormat,
134428
+ cellEditable: __props.fieldList["cellEditable"],
134429
+ item: sitem,
134430
+ globalConfig: __props.globalConfig,
134431
+ isDynamic: __props.isDynamic,
134432
+ sortable: __props.sortable,
134433
+ compSize: __props.compSize,
134434
+ compUrl: __props.compUrl,
134435
+ key: unref(compKey)(sitem, skey)
134436
+ }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134437
+ }), 128))
134438
+ ], 64);
134439
+ }), 128)) : item.batchFieldList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(item.batchFieldList, (batchItems, key) => {
134440
+ return openBlock(), createElementBlock(Fragment, {
134441
+ key: unref(compKey)(batchItems, key)
134442
+ }, [
134443
+ (openBlock(true), createElementBlock(Fragment, null, renderList(batchItems.fieldList, (sitem, skey) => {
134444
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134445
+ "data-format": __props.dataFormat,
134446
+ cellEditable: __props.fieldList["cellEditable"],
134447
+ item: sitem,
134448
+ globalConfig: __props.globalConfig,
134449
+ isDynamic: __props.isDynamic,
134450
+ sortable: __props.sortable,
134451
+ compSize: __props.compSize,
134452
+ compUrl: __props.compUrl,
134453
+ key: unref(compKey)(sitem, skey)
134454
+ }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134455
+ }), 128))
134456
+ ], 64);
134457
+ }), 128)) : (openBlock(), createBlock(_component_star_horse_table_column, {
134458
+ key: 4,
134459
+ compUrl: __props.compUrl,
134460
+ cellEditable: __props.fieldList["cellEditable"],
134461
+ globalConfig: __props.globalConfig,
134462
+ isDynamic: __props.isDynamic,
134463
+ "data-format": __props.dataFormat,
134464
+ sortable: __props.sortable,
134465
+ compSize: __props.compSize,
134466
+ item
134467
+ }, null, 8, ["compUrl", "cellEditable", "globalConfig", "isDynamic", "data-format", "sortable", "compSize", "item"]))
134468
+ ], 64);
134469
+ }), 128)),
134470
+ __props.showBatchField ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.fieldList["batchFieldList"], (item) => {
134471
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134472
+ key: unref(compKey)(item, item.batchName),
134473
+ "data-format": __props.dataFormat,
134474
+ compSize: __props.compSize,
134475
+ globalConfig: __props.globalConfig,
134476
+ isDynamic: __props.isDynamic,
134477
+ sortable: __props.sortable,
134478
+ item
134479
+ }, null, 8, ["data-format", "compSize", "globalConfig", "isDynamic", "sortable", "item"]);
134480
+ }), 128)) : createCommentVNode("", true)
134481
+ ], 64);
134482
+ };
134483
+ }
134484
+ });
134485
+
134486
+ const tableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
134437
134487
  __proto__: null,
134438
134488
  default: _sfc_main$1m
134439
134489
  }, Symbol.toStringTag, { value: 'Module' }));
134440
134490
 
134491
+ const useDynamicFormStore = defineStore("dynamicForm", () => {
134492
+ const dataForm = ref({});
134493
+ const selectData = ref(null);
134494
+ const dataId = ref(null);
134495
+ const setSelectData = (data) => {
134496
+ selectData.value = data;
134497
+ };
134498
+ const setDataId = (id) => {
134499
+ dataId.value = id;
134500
+ };
134501
+ const setFormData = (data) => {
134502
+ dataForm.value = { ...data };
134503
+ };
134504
+ const addBatchData = (batchName, data) => {
134505
+ let batchDatas = dataForm.value[batchName];
134506
+ if (!batchDatas || batchDatas.length == 0) {
134507
+ dataForm.value[batchName] = [];
134508
+ batchDatas = dataForm.value[batchName];
134509
+ }
134510
+ batchDatas.push(data);
134511
+ };
134512
+ const delField = (fieldName) => {
134513
+ delete dataForm.value[fieldName];
134514
+ };
134515
+ const delBatchField = (batchName, fieldName, rowIndex = -1) => {
134516
+ const batchDatas = dataForm.value[batchName];
134517
+ if (!batchDatas || batchDatas.length == 0) {
134518
+ return;
134519
+ }
134520
+ if (batchDatas instanceof Object) {
134521
+ delete batchDatas[fieldName];
134522
+ } else {
134523
+ if (rowIndex > 0) {
134524
+ delete batchDatas[rowIndex - 1][fieldName];
134525
+ } else {
134526
+ batchDatas.forEach((item) => {
134527
+ delete item[fieldName];
134528
+ });
134529
+ }
134530
+ }
134531
+ };
134532
+ const addOrUpdateField = (fieldName, value) => {
134533
+ dataForm.value[fieldName] = value;
134534
+ };
134535
+ const batchAddOrUpdateField = (batchName, fieldName, value, rowIndex = -1) => {
134536
+ let batchDatas = dataForm.value[batchName];
134537
+ if (!batchDatas || batchDatas.length == 0) {
134538
+ dataForm.value[batchName] = [];
134539
+ batchDatas = dataForm.value[batchName];
134540
+ }
134541
+ if (batchDatas instanceof Object) {
134542
+ batchDatas[fieldName] = value;
134543
+ } else {
134544
+ if (rowIndex > 0) {
134545
+ batchDatas[rowIndex - 1][fieldName] = value;
134546
+ } else {
134547
+ batchDatas.forEach((item) => {
134548
+ item[fieldName] = value;
134549
+ });
134550
+ }
134551
+ }
134552
+ };
134553
+ const renameField = (sourceField, distField, newValue) => {
134554
+ if (Object.keys(dataForm.value).includes(distField)) {
134555
+ warning("新的属性名已存在,不能进行修改");
134556
+ return;
134557
+ }
134558
+ const bakeValue = dataForm.value[sourceField];
134559
+ delete dataForm.value[sourceField];
134560
+ dataForm.value[distField] = newValue ? newValue : bakeValue;
134561
+ };
134562
+ const batchRenameField = (batchName, sourceField, distField, newValue, rowIndex = -1) => {
134563
+ const batchDatas = dataForm.value[batchName];
134564
+ if (!batchDatas || batchDatas.length == 0) {
134565
+ batchAddOrUpdateField(batchName, distField, newValue, rowIndex);
134566
+ return;
134567
+ }
134568
+ const dataFun = (data, sourceField2, distField2, newValue2) => {
134569
+ if (Object.keys(data).includes(distField2)) {
134570
+ warning("新的属性名已存在,不能进行修改");
134571
+ return false;
134572
+ }
134573
+ const bakeValue = data[sourceField2];
134574
+ delete dataForm.value[sourceField2];
134575
+ dataForm.value[distField2] = newValue2 || bakeValue;
134576
+ return true;
134577
+ };
134578
+ if (batchDatas instanceof Object) {
134579
+ dataFun(batchDatas, sourceField, distField, newValue);
134580
+ } else {
134581
+ if (rowIndex > 0) {
134582
+ dataFun(batchDatas[rowIndex - 1], sourceField, distField, newValue);
134583
+ } else {
134584
+ batchDatas.forEach((item) => {
134585
+ const result = dataFun(item, sourceField, distField, newValue);
134586
+ if (!result) {
134587
+ return false;
134588
+ }
134589
+ });
134590
+ }
134591
+ }
134592
+ };
134593
+ const getFieldValue = (fieldName) => {
134594
+ return dataForm.value[fieldName];
134595
+ };
134596
+ const getBatchFieldValue = (batchName, fieldName, rowIndex = -1) => {
134597
+ const batchDatas = dataForm.value[batchName];
134598
+ if (!batchDatas) {
134599
+ return;
134600
+ }
134601
+ if (batchDatas instanceof Object) {
134602
+ return batchDatas[fieldName];
134603
+ } else {
134604
+ if (rowIndex > 0) {
134605
+ return batchDatas[rowIndex - 1][fieldName];
134606
+ } else {
134607
+ return batchDatas.map((item) => item[fieldName]);
134608
+ }
134609
+ }
134610
+ };
134611
+ const clearAll = () => {
134612
+ dataForm.value = {};
134613
+ };
134614
+ return {
134615
+ dataForm,
134616
+ selectData,
134617
+ dataId,
134618
+ setSelectData,
134619
+ setDataId,
134620
+ setFormData,
134621
+ addBatchData,
134622
+ delField,
134623
+ delBatchField,
134624
+ addOrUpdateField,
134625
+ batchAddOrUpdateField,
134626
+ renameField,
134627
+ batchRenameField,
134628
+ getFieldValue,
134629
+ getBatchFieldValue,
134630
+ clearAll
134631
+ };
134632
+ });
134633
+
134441
134634
  const _hoisted_1$G = { class: "star-horse-table" };
134442
134635
  const _hoisted_2$x = {
134443
134636
  key: 0,
@@ -134465,11 +134658,17 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134465
134658
  //url地址
134466
134659
  compUrl: { type: Object, required: true },
134467
134660
  //主键
134468
- primaryKey: { type: [String, Object], required: true },
134661
+ primaryKey: {
134662
+ type: [String, Object],
134663
+ required: true
134664
+ },
134469
134665
  //列名
134470
134666
  fieldList: { type: Object, required: true },
134471
134667
  //按钮隐藏条件
134472
- hideBtnCondition: { type: Array, default: [] },
134668
+ hideBtnCondition: {
134669
+ type: Array,
134670
+ default: []
134671
+ },
134473
134672
  //是否显示批量属性
134474
134673
  showBatchField: { type: Boolean, default: false },
134475
134674
  //格式化方法
@@ -134542,7 +134741,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134542
134741
  showType(data.tableType == "card" ? "list" : "card");
134543
134742
  return data;
134544
134743
  });
134545
- let compSize = computed(() => configStore.configFormInfo?.inputSize || Config.compSize);
134744
+ let compSize = computed(
134745
+ () => configStore.configFormInfo?.inputSize || Config.compSize
134746
+ );
134546
134747
  const multipleSelection = ref([]);
134547
134748
  const starHorseTableCompRef = ref();
134548
134749
  let pageInfo = reactive({
@@ -134689,7 +134890,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134689
134890
  }
134690
134891
  };
134691
134892
  const moveColumn = () => {
134692
- const tbody = document.querySelector(".sh-columns .el-table__body-wrapper tbody");
134893
+ const tbody = document.querySelector(
134894
+ ".sh-columns .el-table__body-wrapper tbody"
134895
+ );
134693
134896
  if (tbody) {
134694
134897
  Sortable.create(tbody, {
134695
134898
  handle: ".move",
@@ -134776,8 +134979,12 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134776
134979
  }
134777
134980
  multipleSelection.value = filters;
134778
134981
  } else {
134779
- let ids = multipleSelection.value.map((item) => item[keys]);
134780
- multipleSelection.value = val.filter((item) => !ids.includes(item[keys]));
134982
+ let ids = multipleSelection.value.map(
134983
+ (item) => item[keys]
134984
+ );
134985
+ multipleSelection.value = val.filter(
134986
+ (item) => !ids.includes(item[keys])
134987
+ );
134781
134988
  }
134782
134989
  let data = multipleSelection.value[0];
134783
134990
  starHorseTableCompRef.value.toggleRowSelection(data, true);
@@ -134938,7 +135145,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134938
135145
  const filterData = () => {
134939
135146
  let name = unref(inputFieldName);
134940
135147
  if (pageInfo.dataList && name && inputFieldVal.value) {
134941
- let row = pageInfo.dataList.find((item) => item[name] == inputFieldVal.value);
135148
+ let row = pageInfo.dataList.find(
135149
+ (item) => item[name] == inputFieldVal.value
135150
+ );
134942
135151
  if (row) {
134943
135152
  multipleSelection.value.push(row);
134944
135153
  starHorseTableCompRef.value.toggleRowSelection(row, true);
@@ -134969,7 +135178,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134969
135178
  starHorseTableCompRef.value.toggleRowSelection(valueElement);
134970
135179
  }
134971
135180
  }
134972
- const selected = multipleSelection.value?.some((item) => item[props.primaryKey] === row[props.primaryKey]);
135181
+ const selected = multipleSelection.value?.some(
135182
+ (item) => item[props.primaryKey] === row[props.primaryKey]
135183
+ );
134973
135184
  if (!selected) {
134974
135185
  multipleSelection.value.push(row);
134975
135186
  starHorseTableCompRef.value.toggleRowSelection(row, true);
@@ -135035,7 +135246,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135035
135246
  });
135036
135247
  }
135037
135248
  }
135038
- arr.sort((a, b) => (a.priority || 40) - (b.priority || 40));
135249
+ arr.sort(
135250
+ (a, b) => (a.priority || 40) - (b.priority || 40)
135251
+ );
135039
135252
  return arr;
135040
135253
  };
135041
135254
  const expandCommonFun = (name, row, parentRow) => {
@@ -135078,7 +135291,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135078
135291
  const loadField = () => {
135079
135292
  let { fieldList } = analysisFields(props.fieldList?.fieldList);
135080
135293
  if (fieldList) {
135081
- fieldList.sort((a, b) => (a.priority || 100) - (b.priority || 100));
135294
+ fieldList.sort(
135295
+ (a, b) => (a.priority || 100) - (b.priority || 100)
135296
+ );
135082
135297
  return fieldList.filter((item) => item.listVisible)?.slice(0, 3);
135083
135298
  }
135084
135299
  return [];
@@ -135356,7 +135571,11 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135356
135571
  default: withCtx(() => [
135357
135572
  unref(permissions)[epd.authority] ? (openBlock(), createBlock(_component_star_horse_icon, {
135358
135573
  key: 0,
135359
- onClick: ($event) => expandCommonFun(epd.authority, innerScope.row, scope.row),
135574
+ onClick: ($event) => expandCommonFun(
135575
+ epd.authority,
135576
+ innerScope.row,
135577
+ scope.row
135578
+ ),
135360
135579
  "icon-class": epd.icon || "edit",
135361
135580
  style: { "cursor": "pointer" },
135362
135581
  color: epd.authority == "delete" ? "var(--el-color-danger)" : "var(--star-horse-style)"
@@ -135368,7 +135587,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135368
135587
  ]),
135369
135588
  _: 2
135370
135589
  }, 1024)) : createCommentVNode("", true),
135371
- createVNode(_sfc_main$1n, {
135590
+ createVNode(_sfc_main$1m, {
135372
135591
  fieldList: __props.expandTable,
135373
135592
  compSize: configInfo.value.inputSize,
135374
135593
  compUrl: __props.compUrl,
@@ -135385,7 +135604,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135385
135604
  ]),
135386
135605
  _: 1
135387
135606
  })) : createCommentVNode("", true),
135388
- createVNode(_sfc_main$1n, {
135607
+ createVNode(_sfc_main$1m, {
135389
135608
  fieldList: __props.fieldList,
135390
135609
  compSize: configInfo.value.inputSize,
135391
135610
  compUrl: __props.compUrl,
@@ -135401,7 +135620,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135401
135620
  width: unref(buttonList).length > 3 ? 160 : 110
135402
135621
  }, {
135403
135622
  default: withCtx((scope) => [
135404
- createVNode(_sfc_main$1m, {
135623
+ createVNode(_sfc_main$1n, {
135405
135624
  row: scope.row,
135406
135625
  permissions: unref(permissions),
135407
135626
  buttonList: unref(buttonList),
@@ -135432,11 +135651,15 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135432
135651
  onClick: ($event) => selectRow(data),
135433
135652
  onDblclick: ($event) => editData(data)
135434
135653
  }, [
135435
- createElementVNode("span", null, toDisplayString(__props.dataFormat(unref(cardFieldList)[0]?.fieldName, data[unref(cardFieldList)[0]?.fieldName], data)), 1)
135654
+ createElementVNode("span", null, toDisplayString(__props.dataFormat(
135655
+ unref(cardFieldList)[0]?.fieldName,
135656
+ data[unref(cardFieldList)[0]?.fieldName],
135657
+ data
135658
+ )), 1)
135436
135659
  ], 40, _hoisted_9$1)
135437
135660
  ]),
135438
135661
  footer: withCtx(() => [
135439
- createVNode(_sfc_main$1m, {
135662
+ createVNode(_sfc_main$1n, {
135440
135663
  row: data,
135441
135664
  permissions: unref(permissions),
135442
135665
  buttonList: unref(buttonList),
@@ -135503,7 +135726,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135503
135726
 
135504
135727
  /* unplugin-vue-components disabled */
135505
135728
 
135506
- const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-10f5a29e"]]);
135729
+ const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-49d9026c"]]);
135507
135730
 
135508
135731
  const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
135509
135732
  __proto__: null,
@@ -135682,7 +135905,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
135682
135905
 
135683
135906
  /* unplugin-vue-components disabled */
135684
135907
 
135685
- const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-6f7c685e"]]);
135908
+ const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-dd41bfa1"]]);
135686
135909
 
135687
135910
  const _hoisted_1$E = {
135688
135911
  key: 0,
@@ -135766,12 +135989,19 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135766
135989
  "treeDatas": {},
135767
135990
  "treeDatasModifiers": {}
135768
135991
  }),
135769
- emits: /* @__PURE__ */ mergeModels(["selectData", "changeCollapse", "addData", "removeData"], ["update:treeDatas"]),
135992
+ emits: /* @__PURE__ */ mergeModels([
135993
+ "selectData",
135994
+ "changeCollapse",
135995
+ "addData",
135996
+ "removeData"
135997
+ ], ["update:treeDatas"]),
135770
135998
  setup(__props, { expose: __expose, emit: __emit }) {
135771
135999
  const props = __props;
135772
136000
  const emits = __emit;
135773
136001
  let configStore = useGlobalConfigStore(piniaInstance);
135774
- let compSize = computed(() => configStore.configFormInfo?.inputSize || Config.compSize);
136002
+ let compSize = computed(
136003
+ () => configStore.configFormInfo?.inputSize || Config.compSize
136004
+ );
135775
136005
  const treeRef = ref();
135776
136006
  const menuTreeRef = ref();
135777
136007
  const searchData = ref("");
@@ -135806,9 +136036,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135806
136036
  if (cmd == "add") {
135807
136037
  emits("addData", {});
135808
136038
  } else if (cmd == "collapse") {
135809
- Object.values(treeRef.value.store.nodesMap).forEach((v) => v.collapse());
136039
+ Object.values(treeRef.value.store.nodesMap).forEach(
136040
+ (v) => v.collapse()
136041
+ );
135810
136042
  } else {
135811
- Object.values(treeRef.value.store.nodesMap).forEach((v) => v.expand());
136043
+ Object.values(treeRef.value.store.nodesMap).forEach(
136044
+ (v) => v.expand()
136045
+ );
135812
136046
  }
135813
136047
  } else {
135814
136048
  const getAllSubNodeIndex = (datas) => {
@@ -135831,7 +136065,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135831
136065
  let selectedDataList = ref([]);
135832
136066
  const operSelectData = (data, checked) => {
135833
136067
  if (checked) {
135834
- let hasData = selectedDataList.value.find((item) => item[props.preps.value] == data[props.preps.value]);
136068
+ let hasData = selectedDataList.value.find(
136069
+ (item) => item[props.preps.value] == data[props.preps.value]
136070
+ );
135835
136071
  if (!hasData) {
135836
136072
  selectedDataList.value.push(data);
135837
136073
  }
@@ -135892,7 +136128,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135892
136128
  };
135893
136129
  const loadByPage = async () => {
135894
136130
  if (props.commonPersons?.length && !isSystemManage()) {
135895
- searchParams.push(createCondition("a.createdBy", props.commonPersons, "in"));
136131
+ searchParams.push(
136132
+ createCondition("a.createdBy", props.commonPersons, "in")
136133
+ );
135896
136134
  }
135897
136135
  let params = {
135898
136136
  currentPage: pageInfo.currentPage,
@@ -135964,9 +136202,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135964
136202
  __props.showSelectData && unref(selectedDataList)?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
135965
136203
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedDataList), (item) => {
135966
136204
  return openBlock(), createBlock(_component_el_tag, {
135967
- key: unref(_compKey)(item, item[__props.preps.value]),
135968
136205
  closable: "",
135969
- onClose: ($event) => operSelectData(item, false)
136206
+ onClose: ($event) => operSelectData(item, false),
136207
+ key: unref(_compKey)(item, item[__props.preps.value])
135970
136208
  }, {
135971
136209
  default: withCtx(() => [
135972
136210
  createTextVNode(toDisplayString(item[__props.preps.label]), 1)
@@ -136159,7 +136397,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
136159
136397
 
136160
136398
  /* unplugin-vue-components disabled */
136161
136399
 
136162
- const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-6ffd7d08"]]);
136400
+ const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-f544e839"]]);
136163
136401
 
136164
136402
  const StarHorseTree$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
136165
136403
  __proto__: null,
@@ -136185,7 +136423,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
136185
136423
  const _component_el_scrollbar = ElScrollbar;
136186
136424
  const _component_el_form = ElForm;
136187
136425
  return openBlock(), createElementBlock(Fragment, null, [
136188
- renderSlot(_ctx.$slots, "header", {}, void 0, true),
136426
+ renderSlot(_ctx.$slots, "header"),
136189
136427
  createVNode(_component_el_form, mergeProps({ model: dataForm.value }, _ctx.$attrs, {
136190
136428
  class: "data-form",
136191
136429
  ref_key: "shFormRef",
@@ -136197,28 +136435,24 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
136197
136435
  height: "100%"
136198
136436
  }, {
136199
136437
  default: withCtx(() => [
136200
- _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : renderSlot(_ctx.$slots, "empty", { key: 1 }, void 0, true)
136438
+ _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : renderSlot(_ctx.$slots, "empty", { key: 1 })
136201
136439
  ]),
136202
136440
  _: 3
136203
136441
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
136204
- _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : renderSlot(_ctx.$slots, "empty", { key: 1 }, void 0, true)
136442
+ _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : renderSlot(_ctx.$slots, "empty", { key: 1 })
136205
136443
  ], 64))
136206
136444
  ]),
136207
136445
  _: 3
136208
136446
  }, 16, ["model"]),
136209
- renderSlot(_ctx.$slots, "button", {}, void 0, true)
136447
+ renderSlot(_ctx.$slots, "button")
136210
136448
  ], 64);
136211
136449
  };
136212
136450
  }
136213
136451
  });
136214
136452
 
136215
- /* unplugin-vue-components disabled */
136216
-
136217
- const ShForm = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-7127b1b9"]]);
136218
-
136219
- const ShForm$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
136453
+ const ShForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
136220
136454
  __proto__: null,
136221
- default: ShForm
136455
+ default: _sfc_main$1i
136222
136456
  }, Symbol.toStringTag, { value: 'Module' }));
136223
136457
 
136224
136458
  const colDataInfo = () => {
@@ -136617,7 +136851,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
136617
136851
  class: "field-item",
136618
136852
  onClick: ($event) => selectData(item)
136619
136853
  }, [
136620
- _cache[4] || (_cache[4] = createTextVNode("   ")),
136854
+ _cache[4] || (_cache[4] = createTextVNode("    ")),
136621
136855
  createElementVNode("div", null, [
136622
136856
  createVNode(_component_star_horse_icon, {
136623
136857
  "icon-class": item.itemIcon
@@ -136640,7 +136874,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
136640
136874
  class: "field-item",
136641
136875
  onClick: ($event) => selectData(item)
136642
136876
  }, [
136643
- _cache[6] || (_cache[6] = createTextVNode("   ")),
136877
+ _cache[6] || (_cache[6] = createTextVNode("    ")),
136644
136878
  createElementVNode("div", null, [
136645
136879
  createVNode(_component_star_horse_icon, {
136646
136880
  "icon-class": item.itemIcon
@@ -136663,7 +136897,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
136663
136897
  class: "field-item",
136664
136898
  onClick: ($event) => selectData(item)
136665
136899
  }, [
136666
- _cache[8] || (_cache[8] = createTextVNode("   ")),
136900
+ _cache[8] || (_cache[8] = createTextVNode("    ")),
136667
136901
  createElementVNode("div", null, [
136668
136902
  createVNode(_component_star_horse_icon, {
136669
136903
  "icon-class": item.itemIcon
@@ -136684,7 +136918,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
136684
136918
 
136685
136919
  /* unplugin-vue-components disabled */
136686
136920
 
136687
- const FieldList = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-bed8633c"]]);
136921
+ const FieldList = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-19524449"]]);
136688
136922
 
136689
136923
  const designForm$1 = useDesignFormStore(piniaInstance);
136690
136924
  const formData = computed(() => designForm$1.formData);
@@ -136741,11 +136975,18 @@ function fieldCopy(data, type) {
136741
136975
  mvData["compType"] = type;
136742
136976
  mvData["itemType"] = reData.itemType;
136743
136977
  if (reData.itemType == "box") {
136744
- mvData.preps["elements"] = [{ rowIndex: 1, columns: [{ colIndex: 1, colspan: 24, items: [] }] }];
136978
+ mvData.preps["elements"] = [
136979
+ { rowIndex: 1, columns: [{ colIndex: 1, colspan: 24, items: [] }] }
136980
+ ];
136745
136981
  } else if (reData.itemType == "table") {
136746
136982
  mvData.preps["elements"] = [{ colIndex: 1, columns: 1, items: [] }];
136747
136983
  } else if (reData.itemType == "dytable") {
136748
- mvData.preps["elements"] = [{ colIndex: 1, columns: [{ colIndex: 1, colspan: 1, rowspan: 1, items: [] }] }];
136984
+ mvData.preps["elements"] = [
136985
+ {
136986
+ colIndex: 1,
136987
+ columns: [{ colIndex: 1, colspan: 1, rowspan: 1, items: [] }]
136988
+ }
136989
+ ];
136749
136990
  }
136750
136991
  return mvData;
136751
136992
  }
@@ -136767,7 +137008,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
136767
137008
  __name: "group-box-container",
136768
137009
  props: {
136769
137010
  isDesign: { type: Boolean, default: false },
136770
- disabled: { type: Object },
137011
+ disabled: { type: Boolean, default: false },
136771
137012
  parentField: { type: Object },
136772
137013
  formItem: { type: Object, required: true }
136773
137014
  },
@@ -136779,7 +137020,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
136779
137020
  let componentVisible = computed(() => {
136780
137021
  return designForm.componentVisible && currentItemId.value == props.formItem?.preps.id;
136781
137022
  });
136782
- let isEdit = computed(() => designForm.isEdit);
137023
+ let isEdit = computed(() => props.isDesign);
136783
137024
  const selectData = () => {
136784
137025
  let container = props.formItem;
136785
137026
  designForm.selectItem(container, container?.itemType, "");
@@ -137043,7 +137284,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
137043
137284
 
137044
137285
  /* unplugin-vue-components disabled */
137045
137286
 
137046
- const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-fcb8577d"]]);
137287
+ const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-d5e8b603"]]);
137047
137288
 
137048
137289
  const groupBoxContainer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137049
137290
  __proto__: null,
@@ -137056,6 +137297,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
137056
137297
  props: /* @__PURE__ */ mergeModels({
137057
137298
  parentField: { type: String },
137058
137299
  isDesign: { type: Boolean, default: false },
137300
+ showFormItem: { type: Boolean, default: false },
137059
137301
  disabled: { type: Object },
137060
137302
  formInfo: { type: Object },
137061
137303
  field: { type: Object }
@@ -137069,10 +137311,17 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
137069
137311
  let designForm = useDesignFormStore(piniaInstance);
137070
137312
  let draggingItem = computed(() => designForm.draggingItem);
137071
137313
  const formData = useModel(__props, "formData");
137072
- let isEdit = computed(() => designForm.isEdit);
137314
+ let isEdit = computed(() => props.isDesign);
137073
137315
  const isDragging = computed(() => designForm.isDragging);
137074
137316
  let boxCompList = computed(() => props.field);
137075
- let excludeContainerType = ["box", "tab", "table", "dytable", "collapse", "card"];
137317
+ let excludeContainerType = [
137318
+ "box",
137319
+ "tab",
137320
+ "table",
137321
+ "dytable",
137322
+ "collapse",
137323
+ "card"
137324
+ ];
137076
137325
  const checkItem = (items) => {
137077
137326
  if (!items["items"]) {
137078
137327
  items["items"] = [];
@@ -137109,6 +137358,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
137109
137358
  const _component_group_box_container = __unplugin_components_1;
137110
137359
  return openBlock(), createBlock(_component_group_box_container, {
137111
137360
  class: "star-horse-form-container",
137361
+ showFormItem: __props.showFormItem,
137112
137362
  isDesign: __props.isDesign,
137113
137363
  disabled: __props.disabled,
137114
137364
  parentField: __props.parentField,
@@ -137146,12 +137396,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
137146
137396
  key: data.id,
137147
137397
  field: data,
137148
137398
  formInfo: __props.formInfo,
137399
+ showFormItem: __props.showFormItem,
137149
137400
  isDesign: __props.isDesign,
137150
137401
  disabled: __props.disabled,
137151
137402
  parentField: unref(boxCompList),
137152
137403
  formData: formData.value,
137153
137404
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
137154
- }, null, 40, ["field", "formInfo", "isDesign", "disabled", "parentField", "formData"]))
137405
+ }, null, 40, ["field", "formInfo", "showFormItem", "isDesign", "disabled", "parentField", "formData"]))
137155
137406
  ])
137156
137407
  ]),
137157
137408
  _: 2
@@ -137172,10 +137423,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
137172
137423
  field: data,
137173
137424
  isDesign: __props.isDesign,
137174
137425
  disabled: __props.disabled,
137426
+ showFormItem: __props.showFormItem,
137175
137427
  formData: formData.value,
137176
137428
  "onUpdate:formData": _cache[1] || (_cache[1] = ($event) => formData.value = $event),
137177
137429
  formInfo: __props.formInfo
137178
- }, null, 40, ["field", "isDesign", "disabled", "formData", "formInfo"]);
137430
+ }, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formData", "formInfo"]);
137179
137431
  }), 256))
137180
137432
  ]),
137181
137433
  _: 2
@@ -137187,14 +137439,14 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
137187
137439
  }), 256))
137188
137440
  ]),
137189
137441
  _: 1
137190
- }, 8, ["isDesign", "disabled", "parentField", "form-item"]);
137442
+ }, 8, ["showFormItem", "isDesign", "disabled", "parentField", "form-item"]);
137191
137443
  };
137192
137444
  }
137193
137445
  });
137194
137446
 
137195
137447
  /* unplugin-vue-components disabled */
137196
137448
 
137197
- const boxContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-c06acb5f"]]);
137449
+ const boxContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-62562dd3"]]);
137198
137450
 
137199
137451
  const boxContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137200
137452
  __proto__: null,
@@ -137209,6 +137461,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
137209
137461
  props: /* @__PURE__ */ mergeModels({
137210
137462
  parentField: { type: String },
137211
137463
  isDesign: { type: Boolean, default: false },
137464
+ showFormItem: { type: Boolean, default: false },
137212
137465
  disabled: { type: Object },
137213
137466
  formInfo: { type: Object },
137214
137467
  field: { type: Object }
@@ -137222,7 +137475,14 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
137222
137475
  let designForm = useDesignFormStore(piniaInstance);
137223
137476
  const isDragging = computed(() => designForm.isDragging);
137224
137477
  const formData = useModel(__props, "formData");
137225
- let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
137478
+ let containerType = [
137479
+ "tab",
137480
+ "box",
137481
+ "table",
137482
+ "card",
137483
+ "dytable",
137484
+ "collapse"
137485
+ ];
137226
137486
  const isContainer = (data) => {
137227
137487
  return containerType.includes(data.itemType);
137228
137488
  };
@@ -137270,6 +137530,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
137270
137530
  const _component_group_box_container = __unplugin_components_1;
137271
137531
  return openBlock(), createBlock(_component_group_box_container, {
137272
137532
  class: "star-horse-form-container",
137533
+ showFormItem: __props.showFormItem,
137273
137534
  isDesign: __props.isDesign,
137274
137535
  disabled: __props.disabled,
137275
137536
  parentField: __props.parentField,
@@ -137313,12 +137574,13 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
137313
137574
  key: header.id,
137314
137575
  field: header,
137315
137576
  isDesign: __props.isDesign,
137577
+ showFormItem: __props.showFormItem,
137316
137578
  disabled: __props.disabled,
137317
137579
  formInfo: __props.formInfo,
137318
137580
  parentField: __props.field,
137319
137581
  formData: formData.value,
137320
137582
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
137321
- }, null, 40, ["field", "isDesign", "disabled", "formInfo", "parentField", "formData"]))
137583
+ }, null, 40, ["field", "isDesign", "showFormItem", "disabled", "formInfo", "parentField", "formData"]))
137322
137584
  ], 4)
137323
137585
  ]),
137324
137586
  _: 2
@@ -137350,11 +137612,12 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
137350
137612
  field: item,
137351
137613
  isDesign: __props.isDesign,
137352
137614
  disabled: __props.disabled,
137615
+ showFormItem: __props.showFormItem,
137353
137616
  formInfo: __props.formInfo,
137354
137617
  parentField: __props.field,
137355
137618
  formData: formData.value,
137356
137619
  "onUpdate:formData": _cache[1] || (_cache[1] = ($event) => formData.value = $event)
137357
- }, null, 40, ["field", "isDesign", "disabled", "formInfo", "parentField", "formData"]))
137620
+ }, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
137358
137621
  ])
137359
137622
  ]),
137360
137623
  _: 2
@@ -137368,14 +137631,14 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
137368
137631
  }), 256))
137369
137632
  ]),
137370
137633
  _: 1
137371
- }, 8, ["isDesign", "disabled", "parentField", "form-item"]);
137634
+ }, 8, ["showFormItem", "isDesign", "disabled", "parentField", "form-item"]);
137372
137635
  };
137373
137636
  }
137374
137637
  });
137375
137638
 
137376
137639
  /* unplugin-vue-components disabled */
137377
137640
 
137378
- const cardContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-6f12a687"]]);
137641
+ const cardContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-a99b99ed"]]);
137379
137642
 
137380
137643
  const cardContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137381
137644
  __proto__: null,
@@ -137389,6 +137652,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
137389
137652
  props: /* @__PURE__ */ mergeModels({
137390
137653
  parentField: { type: String },
137391
137654
  isDesign: { type: Boolean, default: false },
137655
+ showFormItem: { type: Boolean, default: false },
137392
137656
  disabled: { type: Object },
137393
137657
  formInfo: { type: Object },
137394
137658
  field: { type: Object }
@@ -137451,6 +137715,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
137451
137715
  const _component_group_box_container = __unplugin_components_1;
137452
137716
  return openBlock(), createBlock(_component_group_box_container, {
137453
137717
  class: "star-horse-form-container",
137718
+ showFormItem: __props.showFormItem,
137454
137719
  isDesign: __props.isDesign,
137455
137720
  disabled: __props.disabled,
137456
137721
  parentField: __props.parentField,
@@ -137496,11 +137761,12 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
137496
137761
  field: data,
137497
137762
  isDesign: __props.isDesign,
137498
137763
  disabled: __props.disabled,
137764
+ showFormItem: __props.showFormItem,
137499
137765
  formInfo: __props.formInfo,
137500
137766
  parentField: __props.field,
137501
137767
  formData: formData.value,
137502
137768
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
137503
- }, null, 40, ["field", "isDesign", "disabled", "formInfo", "parentField", "formData"]))
137769
+ }, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
137504
137770
  ])
137505
137771
  ]),
137506
137772
  _: 2
@@ -137517,14 +137783,14 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
137517
137783
  }, 8, ["modelValue", "accordion"])
137518
137784
  ]),
137519
137785
  _: 1
137520
- }, 8, ["isDesign", "disabled", "parentField", "form-item"]);
137786
+ }, 8, ["showFormItem", "isDesign", "disabled", "parentField", "form-item"]);
137521
137787
  };
137522
137788
  }
137523
137789
  });
137524
137790
 
137525
137791
  /* unplugin-vue-components disabled */
137526
137792
 
137527
- const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-526b58e1"]]);
137793
+ const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-4ae5d7b7"]]);
137528
137794
 
137529
137795
  const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137530
137796
  __proto__: null,
@@ -137543,6 +137809,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
137543
137809
  formInfo: { type: Object },
137544
137810
  parentComp: { type: Object },
137545
137811
  isDesign: { type: Boolean, default: false },
137812
+ showFormItem: { type: Boolean, default: false },
137546
137813
  disabled: { type: Object },
137547
137814
  field: { type: Object },
137548
137815
  isFirstRow: { type: Boolean, default: false },
@@ -137560,7 +137827,14 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
137560
137827
  const props = __props;
137561
137828
  let designForm = useDesignFormStore(piniaInstance);
137562
137829
  let draggingItem = computed(() => designForm.draggingItem);
137563
- let excludeContainerType = ["box", "tab", "table", "dytable", "collapse", "card"];
137830
+ let excludeContainerType = [
137831
+ "box",
137832
+ "tab",
137833
+ "table",
137834
+ "dytable",
137835
+ "collapse",
137836
+ "card"
137837
+ ];
137564
137838
  let currentSubItemId = computed(() => designForm.currentSubItemId);
137565
137839
  let isEdit = computed(() => designForm.isEdit);
137566
137840
  const isDragging = computed(() => designForm.isDragging);
@@ -137697,18 +137971,22 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
137697
137971
  }, {
137698
137972
  item: withCtx(({ element: data }) => [
137699
137973
  createElementVNode("div", {
137700
- class: normalizeClass({ "comp-item": data?.preps["headerFlag"] != "Y", "bare-item": data?.preps["headerFlag"] })
137974
+ class: normalizeClass({
137975
+ "comp-item": data?.preps["headerFlag"] != "Y",
137976
+ "bare-item": data?.preps["headerFlag"]
137977
+ })
137701
137978
  }, [
137702
137979
  (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
137703
137980
  key: data?.id,
137704
137981
  field: data,
137705
137982
  formInfo: __props.formInfo,
137706
137983
  isDesign: __props.isDesign,
137984
+ showFormItem: __props.showFormItem,
137707
137985
  disabled: __props.disabled,
137708
137986
  parentField: __props.parentField,
137709
137987
  formData: formData.value,
137710
137988
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
137711
- }, null, 40, ["field", "formInfo", "isDesign", "disabled", "parentField", "formData"]))
137989
+ }, null, 40, ["field", "formInfo", "isDesign", "showFormItem", "disabled", "parentField", "formData"]))
137712
137990
  ], 2)
137713
137991
  ]),
137714
137992
  _: 1
@@ -137884,7 +138162,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
137884
138162
 
137885
138163
  /* unplugin-vue-components disabled */
137886
138164
 
137887
- const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-b8426e0f"]]);
138165
+ const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-caa11567"]]);
137888
138166
 
137889
138167
  const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137890
138168
  __proto__: null,
@@ -137897,6 +138175,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
137897
138175
  props: /* @__PURE__ */ mergeModels({
137898
138176
  parentField: { type: String },
137899
138177
  isDesign: { type: Boolean, default: false },
138178
+ showFormItem: { type: Boolean, default: false },
137900
138179
  disabled: { type: Object },
137901
138180
  formInfo: { type: Object },
137902
138181
  field: { type: Object }
@@ -137912,6 +138191,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
137912
138191
  const _component_group_box_container = __unplugin_components_1;
137913
138192
  return openBlock(), createBlock(_component_group_box_container, {
137914
138193
  class: "star-horse-form-container",
138194
+ showFormItem: __props.showFormItem,
137915
138195
  isDesign: __props.isDesign,
137916
138196
  disabled: __props.disabled,
137917
138197
  parentField: __props.parentField,
@@ -137933,6 +138213,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
137933
138213
  formData: formData.value,
137934
138214
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event),
137935
138215
  isDesign: __props.isDesign,
138216
+ showFormItem: __props.showFormItem,
137936
138217
  disabled: __props.disabled,
137937
138218
  isFirstRow: rowIndex == 0,
137938
138219
  parentField: __props.field,
@@ -137942,7 +138223,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
137942
138223
  rowIndex,
137943
138224
  colIndex,
137944
138225
  class: "dy-cell"
137945
- }, null, 8, ["field", "formInfo", "formData", "isDesign", "disabled", "isFirstRow", "parentField", "isLastRow", "isFirstCol", "isLastCol", "rowIndex", "colIndex"]);
138226
+ }, null, 8, ["field", "formInfo", "formData", "isDesign", "showFormItem", "disabled", "isFirstRow", "parentField", "isLastRow", "isFirstCol", "isLastCol", "rowIndex", "colIndex"]);
137946
138227
  }), 256))
137947
138228
  ]);
137948
138229
  }), 256))
@@ -137950,14 +138231,14 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
137950
138231
  ], 512)
137951
138232
  ]),
137952
138233
  _: 1
137953
- }, 8, ["isDesign", "disabled", "parentField", "form-item"]);
138234
+ }, 8, ["showFormItem", "isDesign", "disabled", "parentField", "form-item"]);
137954
138235
  };
137955
138236
  }
137956
138237
  });
137957
138238
 
137958
138239
  /* unplugin-vue-components disabled */
137959
138240
 
137960
- const dytableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-75a63e4b"]]);
138241
+ const dytableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-f3045096"]]);
137961
138242
 
137962
138243
  const dytableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137963
138244
  __proto__: null,
@@ -137969,6 +138250,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
137969
138250
  props: /* @__PURE__ */ mergeModels({
137970
138251
  parentField: { type: String },
137971
138252
  isDesign: { type: Boolean, default: false },
138253
+ showFormItem: { type: Boolean, default: false },
137972
138254
  disabled: { type: Object },
137973
138255
  formInfo: { type: Object },
137974
138256
  field: { type: Object }
@@ -137982,7 +138264,14 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
137982
138264
  let designForm = useDesignFormStore(piniaInstance);
137983
138265
  const isDragging = computed(() => designForm.isDragging);
137984
138266
  const formData = useModel(__props, "formData");
137985
- let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
138267
+ let containerType = [
138268
+ "tab",
138269
+ "box",
138270
+ "table",
138271
+ "card",
138272
+ "dytable",
138273
+ "collapse"
138274
+ ];
137986
138275
  const isContainer = (data) => {
137987
138276
  return containerType.includes(data.itemType);
137988
138277
  };
@@ -138042,6 +138331,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
138042
138331
  const _component_group_box_container = __unplugin_components_1;
138043
138332
  return openBlock(), createBlock(_component_group_box_container, {
138044
138333
  class: "star-horse-form-container",
138334
+ showFormItem: __props.showFormItem,
138045
138335
  isDesign: __props.isDesign,
138046
138336
  disabled: __props.disabled,
138047
138337
  parentField: __props.parentField,
@@ -138096,11 +138386,12 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
138096
138386
  field: data,
138097
138387
  isDesign: __props.isDesign,
138098
138388
  disabled: __props.disabled,
138389
+ showFormItem: __props.showFormItem,
138099
138390
  formInfo: __props.formInfo,
138100
138391
  parentField: __props.field,
138101
138392
  formData: formData.value,
138102
138393
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
138103
- }, null, 40, ["field", "isDesign", "disabled", "formInfo", "parentField", "formData"]))
138394
+ }, null, 40, ["field", "isDesign", "disabled", "showFormItem", "formInfo", "parentField", "formData"]))
138104
138395
  ], 4)
138105
138396
  ]),
138106
138397
  _: 2
@@ -138117,14 +138408,14 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
138117
138408
  }, 8, ["tab-position", "type", "closable", "addable", "editable", "stretch", "modelValue"])
138118
138409
  ]),
138119
138410
  _: 1
138120
- }, 8, ["isDesign", "disabled", "parentField", "form-item"]);
138411
+ }, 8, ["showFormItem", "isDesign", "disabled", "parentField", "form-item"]);
138121
138412
  };
138122
138413
  }
138123
138414
  });
138124
138415
 
138125
138416
  /* unplugin-vue-components disabled */
138126
138417
 
138127
- const tabContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-57f47323"]]);
138418
+ const tabContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-d5e9e5db"]]);
138128
138419
 
138129
138420
  const tabContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
138130
138421
  __proto__: null,
@@ -138144,6 +138435,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138144
138435
  props: /* @__PURE__ */ mergeModels({
138145
138436
  parentField: { type: String },
138146
138437
  isDesign: { type: Boolean, default: false },
138438
+ showFormItem: { type: Boolean, default: false },
138147
138439
  disabled: { type: Object },
138148
138440
  formInfo: { type: Object },
138149
138441
  field: { type: Object }
@@ -138157,8 +138449,15 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138157
138449
  const props = __props;
138158
138450
  let designForm = useDesignFormStore(piniaInstance);
138159
138451
  let draggingItem = computed(() => designForm.draggingItem);
138160
- let excludeContainerType = ["box", "tab", "table", "dytable", "collapse", "card"];
138161
- let isEdit = computed(() => designForm.isEdit);
138452
+ let excludeContainerType = [
138453
+ "box",
138454
+ "tab",
138455
+ "table",
138456
+ "dytable",
138457
+ "collapse",
138458
+ "card"
138459
+ ];
138460
+ let isEdit = computed(() => props.isDesign);
138162
138461
  const isDragging = computed(() => designForm.isDragging);
138163
138462
  const formData = useModel(__props, "formData");
138164
138463
  const onDragAdd = (evt, dataList) => {
@@ -138214,17 +138513,19 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138214
138513
  currentIndex.value = 0;
138215
138514
  };
138216
138515
  const deleteCol = (index) => {
138217
- operationConfirm("列删除后,对应的组件也会删除,确认删除吗?").then((res) => {
138218
- if (res) {
138219
- let elements = props.field.preps.elements;
138220
- elements.splice(index - 1, 1);
138221
- for (let index2 in elements) {
138222
- elements[index2].colIndex = parseInt(index2) + 1;
138516
+ operationConfirm("列删除后,对应的组件也会删除,确认删除吗?").then(
138517
+ (res) => {
138518
+ if (res) {
138519
+ let elements = props.field.preps.elements;
138520
+ elements.splice(index - 1, 1);
138521
+ for (let index2 in elements) {
138522
+ elements[index2].colIndex = parseInt(index2) + 1;
138523
+ }
138524
+ props.field.preps.columns = props.field.preps.columns - 1;
138525
+ currentIndex.value = 0;
138223
138526
  }
138224
- props.field.preps.columns = props.field.preps.columns - 1;
138225
- currentIndex.value = 0;
138226
138527
  }
138227
- });
138528
+ );
138228
138529
  };
138229
138530
  return (_ctx, _cache) => {
138230
138531
  const _component_el_tooltip = ElTooltip;
@@ -138232,6 +138533,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138232
138533
  const _component_group_box_container = __unplugin_components_1;
138233
138534
  return openBlock(), createBlock(_component_group_box_container, {
138234
138535
  class: "star-horse-form-container",
138536
+ showFormItem: __props.showFormItem,
138235
138537
  isDesign: __props.isDesign,
138236
138538
  disabled: __props.disabled,
138237
138539
  parentField: __props.parentField,
@@ -138253,7 +138555,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138253
138555
  onMouseenter: (evt) => tdOver(evt, td),
138254
138556
  onMouseleave: (evt) => tdOut(evt)
138255
138557
  }, [
138256
- unref(currentIndex) == td && unref(isEdit) && __props.isDesign ? (openBlock(), createElementBlock("div", _hoisted_3$g, [
138558
+ unref(currentIndex) == td && __props.isDesign ? (openBlock(), createElementBlock("div", _hoisted_3$g, [
138257
138559
  createVNode(_component_el_tooltip, { content: "删除列" }, {
138258
138560
  default: withCtx(() => [
138259
138561
  createVNode(__unplugin_components_0$a, {
@@ -138274,7 +138576,10 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138274
138576
  createElementVNode("tr", null, [
138275
138577
  (openBlock(true), createElementBlock(Fragment, null, renderList(parseInt(__props.field.preps.columns || 1), (td) => {
138276
138578
  return openBlock(), createElementBlock("td", {
138277
- style: normalizeStyle({ width: 100 / parseInt(__props.field.preps.columns || 1) + "%", "margin-top": "5px" }),
138579
+ style: normalizeStyle({
138580
+ width: 100 / parseInt(__props.field.preps.columns || 1) + "%",
138581
+ "margin-top": "5px"
138582
+ }),
138278
138583
  class: normalizeClass(["td-clz", { "dragging-area": isDragging.value }]),
138279
138584
  onMouseenter: (evt) => tdOver(evt, td),
138280
138585
  onMouseleave: (evt) => tdOut(evt)
@@ -138294,13 +138599,14 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138294
138599
  (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
138295
138600
  key: data?.id,
138296
138601
  field: data,
138602
+ showFormItem: __props.showFormItem,
138297
138603
  isDesign: __props.isDesign,
138298
138604
  disabled: __props.disabled,
138299
138605
  formInfo: __props.formInfo,
138300
138606
  parentField: __props.field,
138301
138607
  formData: formData.value,
138302
138608
  "onUpdate:formData": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
138303
- }, null, 40, ["field", "isDesign", "disabled", "formInfo", "parentField", "formData"]))
138609
+ }, null, 40, ["field", "showFormItem", "isDesign", "disabled", "formInfo", "parentField", "formData"]))
138304
138610
  ])
138305
138611
  ]),
138306
138612
  _: 2
@@ -138312,14 +138618,14 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138312
138618
  ], 4)
138313
138619
  ]),
138314
138620
  _: 1
138315
- }, 8, ["isDesign", "disabled", "parentField", "form-item"]);
138621
+ }, 8, ["showFormItem", "isDesign", "disabled", "parentField", "form-item"]);
138316
138622
  };
138317
138623
  }
138318
138624
  });
138319
138625
 
138320
138626
  /* unplugin-vue-components disabled */
138321
138627
 
138322
- const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-d1ed37f0"]]);
138628
+ const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-0309b037"]]);
138323
138629
 
138324
138630
  const tableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
138325
138631
  __proto__: null,
@@ -138345,6 +138651,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138345
138651
  parentId: { type: Object },
138346
138652
  formItem: { type: Object, required: true },
138347
138653
  isDesign: { type: Boolean, default: false },
138654
+ showFormItem: { type: Boolean, default: false },
138348
138655
  disabled: { type: Boolean, default: false },
138349
138656
  //是否需要css 修饰
138350
138657
  bareFlag: { type: Boolean, default: false }
@@ -138352,7 +138659,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138352
138659
  setup(__props) {
138353
138660
  const props = __props;
138354
138661
  let designForm = useDesignFormStore(piniaInstance);
138355
- let isEdit = computed(() => designForm.isEdit);
138662
+ let isEdit = computed(() => props.isDesign);
138356
138663
  let currentItemId = computed(() => designForm.currentItemId);
138357
138664
  const isDisabled = computed(() => props.disabled);
138358
138665
  let componentVisible = computed(() => {
@@ -138364,7 +138671,11 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138364
138671
  };
138365
138672
  const selectData = (data) => {
138366
138673
  if (!isEdit.value || isDisabled.value) return;
138367
- designForm.selectItem(props.formItem, data.itemType, getParentComp(props.parentField));
138674
+ designForm.selectItem(
138675
+ props.formItem,
138676
+ data.itemType,
138677
+ getParentComp(props.parentField)
138678
+ );
138368
138679
  };
138369
138680
  const exchangeItem = () => {
138370
138681
  designForm.setComponentVisible(true);
@@ -138417,11 +138728,11 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138417
138728
  size: "default",
138418
138729
  onClick: close
138419
138730
  }, {
138420
- default: withCtx(() => _cache[6] || (_cache[6] = [
138731
+ default: withCtx(() => _cache[7] || (_cache[7] = [
138421
138732
  createTextVNode("确定")
138422
138733
  ])),
138423
138734
  _: 1,
138424
- __: [6]
138735
+ __: [7]
138425
138736
  })
138426
138737
  ]),
138427
138738
  default: withCtx(() => [
@@ -138432,7 +138743,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138432
138743
  __props.bareFlag === true ? (openBlock(), createElementBlock("div", {
138433
138744
  key: 0,
138434
138745
  class: normalizeClass(["w-fill", { "item-info": __props.formItem.preps?.itemType != "usercomp" }]),
138435
- style: normalizeStyle({ margin: __props.formItem.preps?.itemType == "button" ? "5px auto" : "unset" })
138746
+ style: normalizeStyle({
138747
+ margin: __props.formItem.preps?.itemType == "button" ? "5px auto" : "unset"
138748
+ })
138436
138749
  }, [
138437
138750
  __props.formItem.preps?.helpMsg ? (openBlock(), createBlock(_component_help, {
138438
138751
  key: 0,
@@ -138440,14 +138753,14 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138440
138753
  }, null, 8, ["message"])) : createCommentVNode("", true),
138441
138754
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
138442
138755
  ], 6)) : (openBlock(), createElementBlock("div", _hoisted_1$v, [
138443
- __props.isDesign ? (openBlock(), createElementBlock("div", {
138756
+ __props.showFormItem ? (openBlock(), createElementBlock("div", {
138444
138757
  key: 0,
138445
138758
  class: normalizeClass(["w-fill", {
138446
138759
  "design-star-horse": unref(isEdit) && !__props.disabled,
138447
138760
  "field-item": true,
138448
138761
  "active-item": unref(currentItemId) == __props.formItem?.preps.id && unref(isEdit) && !__props.disabled
138449
138762
  }]),
138450
- onClick: _cache[5] || (_cache[5] = ($event) => selectData(__props.formItem)),
138763
+ onClick: _cache[6] || (_cache[6] = ($event) => selectData(__props.formItem)),
138451
138764
  onContextmenu: itemContextMenu
138452
138765
  }, [
138453
138766
  __props.parentField?.itemType != "table" && __props.formItem.preps?.itemType != "divider" && __props.formItem?.preps["headerFlag"] != "Y" ? (openBlock(), createBlock(_component_el_form_item, {
@@ -138475,7 +138788,10 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138475
138788
  "bare-item": true,
138476
138789
  "item-info": __props.formItem.preps?.itemType != "usercomp"
138477
138790
  }]),
138478
- style: normalizeStyle({ margin: __props.formItem?.itemType == "button" ? "5px auto" : "unset" })
138791
+ style: normalizeStyle({
138792
+ margin: __props.formItem?.itemType == "button" ? "5px auto" : "unset"
138793
+ }),
138794
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => selectData(__props.formItem), ["stop"]))
138479
138795
  }, [
138480
138796
  __props.formItem.preps?.helpMsg ? (openBlock(), createBlock(_component_help, {
138481
138797
  key: 0,
@@ -138490,7 +138806,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138490
138806
  }, {
138491
138807
  default: withCtx(() => [
138492
138808
  createVNode(_component_star_horse_icon, {
138493
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => selectParentContainer(), ["stop"])),
138809
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => selectParentContainer(), ["stop"])),
138494
138810
  "icon-class": "select-parent",
138495
138811
  cursor: "pointer",
138496
138812
  style: { "color": "var(--star-horse-white)" }
@@ -138515,7 +138831,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138515
138831
  }, {
138516
138832
  default: withCtx(() => [
138517
138833
  createVNode(_component_star_horse_icon, {
138518
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(moveUpItem)(unref(isEdit), __props.formItem?.preps, __props.parentField), ["stop"])),
138834
+ onClick: _cache[2] || (_cache[2] = withModifiers(($event) => unref(moveUpItem)(unref(isEdit), __props.formItem?.preps, __props.parentField), ["stop"])),
138519
138835
  "icon-class": "move-up",
138520
138836
  cursor: "pointer",
138521
138837
  style: { "color": "var(--star-horse-white)" }
@@ -138529,7 +138845,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138529
138845
  }, {
138530
138846
  default: withCtx(() => [
138531
138847
  createVNode(_component_star_horse_icon, {
138532
- onClick: _cache[2] || (_cache[2] = withModifiers(($event) => unref(moveDownItem)(unref(isEdit), __props.formItem?.preps, __props.parentField), ["stop"])),
138848
+ onClick: _cache[3] || (_cache[3] = withModifiers(($event) => unref(moveDownItem)(unref(isEdit), __props.formItem?.preps, __props.parentField), ["stop"])),
138533
138849
  "icon-class": "move-down",
138534
138850
  cursor: "pointer",
138535
138851
  style: { "color": "var(--star-horse-white)" }
@@ -138540,7 +138856,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138540
138856
  createVNode(_component_el_tooltip, { content: "删除组件" }, {
138541
138857
  default: withCtx(() => [
138542
138858
  createVNode(_component_star_horse_icon, {
138543
- onClick: _cache[3] || (_cache[3] = withModifiers(($event) => unref(removeItem)(unref(isEdit), __props.formItem?.preps, __props.parentField), ["stop"])),
138859
+ onClick: _cache[4] || (_cache[4] = withModifiers(($event) => unref(removeItem)(unref(isEdit), __props.formItem?.preps, __props.parentField), ["stop"])),
138544
138860
  "icon-class": "clear-all",
138545
138861
  cursor: "pointer",
138546
138862
  style: { "color": "var(--star-horse-white)" }
@@ -138565,7 +138881,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138565
138881
  default: withCtx(() => [
138566
138882
  createElementVNode("span", {
138567
138883
  style: { "color": "var(--star-horse-white)", "cursor": "pointer" },
138568
- onClick: _cache[4] || (_cache[4] = ($event) => selectData(__props.formItem))
138884
+ onClick: _cache[5] || (_cache[5] = ($event) => selectData(__props.formItem))
138569
138885
  }, toDisplayString(__props.formItem?.preps["itemNameLabel"]), 1)
138570
138886
  ]),
138571
138887
  _: 1
@@ -138574,7 +138890,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138574
138890
  ], 34)) : (openBlock(), createElementBlock("div", {
138575
138891
  key: 1,
138576
138892
  class: "item-info",
138577
- style: normalizeStyle({ margin: __props.formItem.preps?.itemType == "button" ? "5px auto" : "unset" })
138893
+ style: normalizeStyle({
138894
+ margin: __props.formItem.preps?.itemType == "button" ? "5px auto" : "unset"
138895
+ })
138578
138896
  }, [
138579
138897
  __props.formItem.preps?.helpMsg ? (openBlock(), createBlock(_component_help, {
138580
138898
  key: 0,
@@ -138597,7 +138915,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138597
138915
 
138598
138916
  /* unplugin-vue-components disabled */
138599
138917
 
138600
- const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-967cf10e"]]);
138918
+ const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-4c5c23b6"]]);
138601
138919
 
138602
138920
  const starhorseFormItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
138603
138921
  __proto__: null,
@@ -138653,7 +138971,9 @@ const operationRelation = async (relation, actionName, formData, currentName) =>
138653
138971
  const field = userOperation.getFormItem(fieldName);
138654
138972
  const params = temp.params;
138655
138973
  if (conditon == "dataLinkage") {
138656
- formData[fieldName + "OptionList"] = await compDynamicData({ preps: temp });
138974
+ formData[fieldName + "OptionList"] = await compDynamicData({
138975
+ preps: temp
138976
+ });
138657
138977
  } else if (conditon == "eqDisable" || conditon == "eqDisableOrEditable") {
138658
138978
  formData["_" + fieldName + "Editable"] = !(currentVal == params);
138659
138979
  } else if (conditon == "eqEditable" || conditon == "eqEditableOrDisable") {
@@ -138671,7 +138991,6 @@ const operationRelation = async (relation, actionName, formData, currentName) =>
138671
138991
  };
138672
138992
  const allAction = (context, emits, formData, actionName, isInit = false) => {
138673
138993
  const currentData = unref(formData);
138674
- context.field;
138675
138994
  if (!isInit && actionName != "normal") {
138676
138995
  try {
138677
138996
  emits("selfFunc", actionName, currentData);
@@ -138743,6 +139062,10 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
138743
139062
  type: Boolean,
138744
139063
  default: false
138745
139064
  },
139065
+ showFormItem: {
139066
+ type: Boolean,
139067
+ default: false
139068
+ },
138746
139069
  bareFlag: {
138747
139070
  type: Boolean,
138748
139071
  default: false
@@ -138808,17 +139131,22 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
138808
139131
  allAction(props, emits, formData, actionName.value, true);
138809
139132
  }
138810
139133
  });
138811
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
138812
- if (val?.length > 0) {
138813
- props.field.preps["options"] = val;
139134
+ watch(
139135
+ () => formData.value[props.field.fieldName + "OptionList"],
139136
+ (val) => {
139137
+ if (val?.length > 0) {
139138
+ props.field.preps["options"] = val;
139139
+ }
139140
+ },
139141
+ {
139142
+ immediate: true
138814
139143
  }
138815
- }, {
138816
- immediate: true
138817
- });
139144
+ );
138818
139145
  return (_ctx, _cache) => {
138819
139146
  const _component_el_cascader = ElCascader;
138820
139147
  const _component_starhorse_form_item = __unplugin_components_0$3;
138821
139148
  return openBlock(), createBlock(_component_starhorse_form_item, {
139149
+ showFormItem: __props.showFormItem,
138822
139150
  isDesign: __props.isDesign,
138823
139151
  disabled: __props.disabled,
138824
139152
  bareFlag: __props.bareFlag,
@@ -138836,14 +139164,14 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
138836
139164
  }), null, 16, ["fid", "disabled", "modelValue"])
138837
139165
  ]),
138838
139166
  _: 1
138839
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139167
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
138840
139168
  };
138841
139169
  }
138842
139170
  });
138843
139171
 
138844
139172
  /* unplugin-vue-components disabled */
138845
139173
 
138846
- const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-0301af79"]]);
139174
+ const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-ecad820b"]]);
138847
139175
 
138848
139176
  const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
138849
139177
  __proto__: null,
@@ -138862,6 +139190,10 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
138862
139190
  type: Boolean,
138863
139191
  default: false
138864
139192
  },
139193
+ showFormItem: {
139194
+ type: Boolean,
139195
+ default: false
139196
+ },
138865
139197
  bareFlag: {
138866
139198
  type: Boolean,
138867
139199
  default: false
@@ -138902,7 +139234,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
138902
139234
  let endOffset = rate * 3;
138903
139235
  let frameCount = endOffset - startOffset;
138904
139236
  let newAudioBuffer;
138905
- newAudioBuffer = new AudioContext().createBuffer(channels, endOffset - startOffset, rate);
139237
+ newAudioBuffer = new AudioContext().createBuffer(
139238
+ channels,
139239
+ endOffset - startOffset,
139240
+ rate
139241
+ );
138906
139242
  let anotherArray = new Float32Array(frameCount);
138907
139243
  let offset = 0;
138908
139244
  for (let channel = 0; channel < channels; channel++) {
@@ -138957,6 +139293,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
138957
139293
  return (_ctx, _cache) => {
138958
139294
  const _component_starhorse_form_item = __unplugin_components_0$3;
138959
139295
  return openBlock(), createBlock(_component_starhorse_form_item, {
139296
+ showFormItem: __props.showFormItem,
138960
139297
  isDesign: __props.isDesign,
138961
139298
  disabled: __props.disabled,
138962
139299
  bareFlag: __props.bareFlag,
@@ -138972,7 +139309,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
138972
139309
  }, null, 8, _hoisted_1$u)
138973
139310
  ]),
138974
139311
  _: 1
138975
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139312
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
138976
139313
  };
138977
139314
  }
138978
139315
  });
@@ -138993,6 +139330,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
138993
139330
  type: Boolean,
138994
139331
  default: false
138995
139332
  },
139333
+ showFormItem: {
139334
+ type: Boolean,
139335
+ default: false
139336
+ },
138996
139337
  bareFlag: {
138997
139338
  type: Boolean,
138998
139339
  default: false
@@ -139057,15 +139398,20 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
139057
139398
  cb(results);
139058
139399
  }
139059
139400
  };
139060
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
139061
- if (val?.length > 0) {
139062
- props.field.preps["data"] = val;
139063
- }
139064
- }, { immediate: true });
139401
+ watch(
139402
+ () => formData.value[props.field.fieldName + "OptionList"],
139403
+ (val) => {
139404
+ if (val?.length > 0) {
139405
+ props.field.preps["data"] = val;
139406
+ }
139407
+ },
139408
+ { immediate: true }
139409
+ );
139065
139410
  return (_ctx, _cache) => {
139066
139411
  const _component_el_autocomplete = ElAutocomplete;
139067
139412
  const _component_starhorse_form_item = __unplugin_components_0$3;
139068
139413
  return openBlock(), createBlock(_component_starhorse_form_item, {
139414
+ showFormItem: __props.showFormItem,
139069
139415
  isDesign: __props.isDesign,
139070
139416
  disabled: __props.disabled,
139071
139417
  bareFlag: __props.bareFlag,
@@ -139083,7 +139429,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
139083
139429
  }), null, 16, ["fid", "disabled", "modelValue"])
139084
139430
  ]),
139085
139431
  _: 1
139086
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139432
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139087
139433
  };
139088
139434
  }
139089
139435
  });
@@ -139104,6 +139450,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139104
139450
  type: Boolean,
139105
139451
  default: false
139106
139452
  },
139453
+ showFormItem: {
139454
+ type: Boolean,
139455
+ default: false
139456
+ },
139107
139457
  bareFlag: {
139108
139458
  type: Boolean,
139109
139459
  default: false
@@ -139163,7 +139513,13 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139163
139513
  let params = [];
139164
139514
  dynamicParams?.forEach((dynamicParam) => {
139165
139515
  let value = formData.value[dynamicParam.paramName] ?? dynamicParam.defaultValue;
139166
- params.push(createCondition(dynamicParam.paramName, value, dynamicParam.matchType));
139516
+ params.push(
139517
+ createCondition(
139518
+ dynamicParam.paramName,
139519
+ value,
139520
+ dynamicParam.matchType
139521
+ )
139522
+ );
139167
139523
  });
139168
139524
  urlParam["fieldList"] = params;
139169
139525
  } else {
@@ -139173,33 +139529,35 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139173
139529
  warning("请提供需要调用的接口");
139174
139530
  return;
139175
139531
  }
139176
- httpRequest(action.url, action.method ?? "POST", urlParam).then((res) => {
139177
- console.log(res);
139178
- let reData = res.data;
139179
- if (reData.code) {
139180
- warning(reData.cnMessage);
139181
- return;
139182
- }
139183
- let datas = reData?.data;
139184
- if (action?.afterAction) {
139185
- if (!datas) {
139186
- warning("返回数据为空,无法赋值");
139187
- return;
139188
- }
139189
- if (Array.isArray(datas)) {
139190
- warning("返回数据为数组,无法赋值");
139532
+ httpRequest(action.url, action.method ?? "POST", urlParam).then(
139533
+ (res) => {
139534
+ console.log(res);
139535
+ let reData = res.data;
139536
+ if (reData.code) {
139537
+ warning(reData.cnMessage);
139191
139538
  return;
139192
139539
  }
139193
- if (action?.afterAction == "assignCurrentName") {
139194
- formData.value[props.field.fieldName] = datas;
139195
- } else if (action?.afterAction == "assignForm") {
139196
- let entries = Object.entries(datas);
139197
- entries.forEach(([key, value]) => {
139198
- formData.value[key] = value;
139199
- });
139540
+ let datas = reData?.data;
139541
+ if (action?.afterAction) {
139542
+ if (!datas) {
139543
+ warning("返回数据为空,无法赋值");
139544
+ return;
139545
+ }
139546
+ if (Array.isArray(datas)) {
139547
+ warning("返回数据为数组,无法赋值");
139548
+ return;
139549
+ }
139550
+ if (action?.afterAction == "assignCurrentName") {
139551
+ formData.value[props.field.fieldName] = datas;
139552
+ } else if (action?.afterAction == "assignForm") {
139553
+ let entries = Object.entries(datas);
139554
+ entries.forEach(([key, value]) => {
139555
+ formData.value[key] = value;
139556
+ });
139557
+ }
139200
139558
  }
139201
139559
  }
139202
- });
139560
+ );
139203
139561
  } else if (action?.viewType == "code") {
139204
139562
  if (!action.code) {
139205
139563
  warning("请提供需要执行的代码");
@@ -139230,7 +139588,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139230
139588
  actionName.value = props.field.actionName || "normal";
139231
139589
  });
139232
139590
  return (_ctx, _cache) => {
139233
- const _component_star_horse_form = __unplugin_components_1$2;
139591
+ const _component_star_horse_form = _sfc_main$1u;
139234
139592
  const _component_star_horse_editor = resolveComponent("star-horse-editor");
139235
139593
  const _component_star_horse_dialog = __unplugin_components_0$8;
139236
139594
  const _component_star_horse_icon = __unplugin_components_0$a;
@@ -139268,6 +139626,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139268
139626
  _: 1
139269
139627
  }, 8, ["title", "dialogVisible", "boxWidth", "isShowReset", "btnText"]),
139270
139628
  createVNode(_component_starhorse_form_item, {
139629
+ showFormItem: __props.showFormItem,
139271
139630
  isDesign: __props.isDesign,
139272
139631
  disabled: __props.disabled,
139273
139632
  bareFlag: __props.bareFlag,
@@ -139292,7 +139651,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139292
139651
  }, 16, ["disabled"])
139293
139652
  ]),
139294
139653
  _: 1
139295
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
139654
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"])
139296
139655
  ], 64);
139297
139656
  };
139298
139657
  }
@@ -139300,7 +139659,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139300
139659
 
139301
139660
  /* unplugin-vue-components disabled */
139302
139661
 
139303
- const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-41c4fc6c"]]);
139662
+ const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-bc0609d4"]]);
139304
139663
 
139305
139664
  const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
139306
139665
  __proto__: null,
@@ -139318,6 +139677,10 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
139318
139677
  type: Boolean,
139319
139678
  default: false
139320
139679
  },
139680
+ showFormItem: {
139681
+ type: Boolean,
139682
+ default: false
139683
+ },
139321
139684
  bareFlag: {
139322
139685
  type: Boolean,
139323
139686
  default: false
@@ -139380,17 +139743,22 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
139380
139743
  allAction(props, emits, formData, actionName.value, true);
139381
139744
  }
139382
139745
  });
139383
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
139384
- if (val?.length > 0) {
139385
- props.field.preps["options"] = val;
139746
+ watch(
139747
+ () => formData.value[props.field.fieldName + "OptionList"],
139748
+ (val) => {
139749
+ if (val?.length > 0) {
139750
+ props.field.preps["options"] = val;
139751
+ }
139752
+ },
139753
+ {
139754
+ immediate: true
139386
139755
  }
139387
- }, {
139388
- immediate: true
139389
- });
139756
+ );
139390
139757
  return (_ctx, _cache) => {
139391
139758
  const _component_el_cascader = ElCascader;
139392
139759
  const _component_starhorse_form_item = __unplugin_components_0$3;
139393
139760
  return openBlock(), createBlock(_component_starhorse_form_item, {
139761
+ showFormItem: __props.showFormItem,
139394
139762
  isDesign: __props.isDesign,
139395
139763
  disabled: __props.disabled,
139396
139764
  bareFlag: __props.bareFlag,
@@ -139408,14 +139776,14 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
139408
139776
  }), null, 16, ["fid", "disabled", "modelValue"])
139409
139777
  ]),
139410
139778
  _: 1
139411
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139779
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139412
139780
  };
139413
139781
  }
139414
139782
  });
139415
139783
 
139416
139784
  /* unplugin-vue-components disabled */
139417
139785
 
139418
- const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-e6cc1828"]]);
139786
+ const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-c479d7ac"]]);
139419
139787
 
139420
139788
  const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
139421
139789
  __proto__: null,
@@ -139433,6 +139801,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
139433
139801
  type: Boolean,
139434
139802
  default: false
139435
139803
  },
139804
+ showFormItem: {
139805
+ type: Boolean,
139806
+ default: false
139807
+ },
139436
139808
  bareFlag: {
139437
139809
  type: Boolean,
139438
139810
  default: false
@@ -139476,16 +139848,21 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
139476
139848
  initData();
139477
139849
  allAction(props, emits, formData, "change", true);
139478
139850
  });
139479
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
139480
- if (val?.length > 0) {
139481
- props.field.preps["values"] = val;
139482
- }
139483
- }, { immediate: true });
139851
+ watch(
139852
+ () => formData.value[props.field.fieldName + "OptionList"],
139853
+ (val) => {
139854
+ if (val?.length > 0) {
139855
+ props.field.preps["values"] = val;
139856
+ }
139857
+ },
139858
+ { immediate: true }
139859
+ );
139484
139860
  return (_ctx, _cache) => {
139485
139861
  const _component_el_checkbox = ElCheckbox;
139486
139862
  const _component_el_checkbox_group = ElCheckboxGroup$1;
139487
139863
  const _component_starhorse_form_item = __unplugin_components_0$3;
139488
139864
  return openBlock(), createBlock(_component_starhorse_form_item, {
139865
+ showFormItem: __props.showFormItem,
139489
139866
  isDesign: __props.isDesign,
139490
139867
  disabled: __props.disabled,
139491
139868
  bareFlag: __props.bareFlag,
@@ -139516,7 +139893,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
139516
139893
  }, 16, ["fid", "disabled", "readonly", "modelValue"])
139517
139894
  ]),
139518
139895
  _: 1
139519
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139896
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139520
139897
  };
139521
139898
  }
139522
139899
  });
@@ -139537,6 +139914,10 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
139537
139914
  type: Boolean,
139538
139915
  default: false
139539
139916
  },
139917
+ showFormItem: {
139918
+ type: Boolean,
139919
+ default: false
139920
+ },
139540
139921
  bareFlag: {
139541
139922
  type: Boolean,
139542
139923
  default: false
@@ -139578,6 +139959,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
139578
139959
  const _component_el_color_picker = ElColorPicker;
139579
139960
  const _component_starhorse_form_item = __unplugin_components_0$3;
139580
139961
  return openBlock(), createBlock(_component_starhorse_form_item, {
139962
+ showFormItem: __props.showFormItem,
139581
139963
  isDesign: __props.isDesign,
139582
139964
  disabled: __props.disabled,
139583
139965
  bareFlag: __props.bareFlag,
@@ -139594,7 +139976,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
139594
139976
  }), null, 16, ["fid", "disabled", "modelValue"])
139595
139977
  ]),
139596
139978
  _: 1
139597
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139979
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
139598
139980
  };
139599
139981
  }
139600
139982
  });
@@ -139742,7 +140124,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139742
140124
  thisDD = DD < 10 ? "0" + DD : DD;
139743
140125
  }
139744
140126
  }
139745
- let thisWeek = formatDate(/* @__PURE__ */ new Date(YY + "-" + MM + "-" + thisDD + " 00:00:00"), "week");
140127
+ let thisWeek = formatDate(
140128
+ /* @__PURE__ */ new Date(YY + "-" + MM + "-" + thisDD + " 00:00:00"),
140129
+ "week"
140130
+ );
139746
140131
  if (thisWeek == 0) {
139747
140132
  DD++;
139748
140133
  thisDD = DD < 10 ? "0" + DD : DD;
@@ -139757,7 +140142,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139757
140142
  }
139758
140143
  }
139759
140144
  } else if (dayRule.value == "weekDay") {
139760
- let thisWeek = formatDate(/* @__PURE__ */ new Date(YY + "-" + MM + "-" + DD + " 00:00:00"), "week");
140145
+ let thisWeek = formatDate(
140146
+ /* @__PURE__ */ new Date(YY + "-" + MM + "-" + DD + " 00:00:00"),
140147
+ "week"
140148
+ );
139761
140149
  if (dayRuleSup.value.indexOf(thisWeek) < 0) {
139762
140150
  if (Di == DDate.length - 1) {
139763
140151
  resetDay();
@@ -139770,7 +140158,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139770
140158
  continue;
139771
140159
  }
139772
140160
  } else if (dayRule.value == "assWeek") {
139773
- let thisWeek = formatDate(/* @__PURE__ */ new Date(YY + "-" + MM + "-" + DD + " 00:00:00"), "week");
140161
+ let thisWeek = formatDate(
140162
+ /* @__PURE__ */ new Date(YY + "-" + MM + "-" + DD + " 00:00:00"),
140163
+ "week"
140164
+ );
139774
140165
  if (dayRuleSup.value[1] >= thisWeek) {
139775
140166
  DD = (dayRuleSup.value[0] - 1) * 7 + dayRuleSup.value[1] - thisWeek + 1;
139776
140167
  } else {
@@ -139783,7 +140174,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139783
140174
  thisDD = DD < 10 ? "0" + DD : DD;
139784
140175
  }
139785
140176
  }
139786
- let thisWeek = formatDate(/* @__PURE__ */ new Date(YY + "-" + MM + "-" + thisDD + " 00:00:00"), "week");
140177
+ let thisWeek = formatDate(
140178
+ /* @__PURE__ */ new Date(YY + "-" + MM + "-" + thisDD + " 00:00:00"),
140179
+ "week"
140180
+ );
139787
140181
  if (dayRuleSup.value < thisWeek) {
139788
140182
  DD -= thisWeek - dayRuleSup.value;
139789
140183
  } else if (dayRuleSup.value > thisWeek) {
@@ -139834,7 +140228,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139834
140228
  for (let si = sIdx; si <= sDate.length - 1; si++) {
139835
140229
  let ss = sDate[si] < 10 ? "0" + sDate[si] : sDate[si];
139836
140230
  if (MM !== "00" && DD !== "00") {
139837
- resultArr.push(YY + "-" + MM + "-" + DD + " " + hh + ":" + mm + ":" + ss);
140231
+ resultArr.push(
140232
+ YY + "-" + MM + "-" + DD + " " + hh + ":" + mm + ":" + ss
140233
+ );
139838
140234
  nums++;
139839
140235
  }
139840
140236
  if (nums == 5) break goYear;
@@ -139869,7 +140265,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139869
140265
  } else {
139870
140266
  resultList.value = resultArr;
139871
140267
  if (resultArr.length !== 5) {
139872
- resultList.value.push("最近100年内只有上面" + resultArr.length + "条结果!");
140268
+ resultList.value.push(
140269
+ "最近100年内只有上面" + resultArr.length + "条结果!"
140270
+ );
139873
140271
  }
139874
140272
  }
139875
140273
  isShow.value = true;
@@ -140107,7 +140505,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
140107
140505
 
140108
140506
  /* unplugin-vue-components disabled */
140109
140507
 
140110
- const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-622d18f9"]]);
140508
+ const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-05335f05"]]);
140111
140509
 
140112
140510
  const _hoisted_1$s = { class: "cron-content" };
140113
140511
  const _hoisted_2$m = { class: "cron-item" };
@@ -141567,13 +141965,13 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
141567
141965
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => isRef(checkboxList) ? checkboxList.value = $event : checkboxList = $event)
141568
141966
  }, {
141569
141967
  default: withCtx(() => [
141570
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekList), (item, index) => {
141968
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekList), (item) => {
141571
141969
  return openBlock(), createBlock(_component_el_checkbox, {
141572
141970
  class: "my-[5px]",
141573
141971
  border: true,
141574
141972
  key: item,
141575
141973
  value: item + 1,
141576
- label: item < 10 ? "0" + item : item
141974
+ label: Number(item) < 10 ? "0" + item : item
141577
141975
  }, null, 8, ["value", "label"]);
141578
141976
  }), 128))
141579
141977
  ]),
@@ -141610,12 +142008,24 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
141610
142008
  let average02 = ref(1);
141611
142009
  let checkboxList = ref([]);
141612
142010
  const cycleTotalFun = () => {
141613
- cycle01.value = props.check?.(cycle01.value, fullYear.value, fullYear.value + 100);
141614
- cycle02.value = props.check?.(cycle02.value, fullYear.value + 1, fullYear.value + 101);
142011
+ cycle01.value = props.check?.(
142012
+ cycle01.value,
142013
+ fullYear.value,
142014
+ fullYear.value + 100
142015
+ );
142016
+ cycle02.value = props.check?.(
142017
+ cycle02.value,
142018
+ fullYear.value + 1,
142019
+ fullYear.value + 101
142020
+ );
141615
142021
  return cycle01.value + "-" + cycle02.value;
141616
142022
  };
141617
142023
  const averageTotalFun = () => {
141618
- average01.value = props.check?.(average01.value, fullYear.value, fullYear.value + 100);
142024
+ average01.value = props.check?.(
142025
+ average01.value,
142026
+ fullYear.value,
142027
+ fullYear.value + 100
142028
+ );
141619
142029
  average02.value = props.check?.(average02.value, 1, 10);
141620
142030
  return average01.value + "/" + average02.value;
141621
142031
  };
@@ -141842,7 +142252,15 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
141842
142252
  const props = __props;
141843
142253
  const emits = __emit;
141844
142254
  let dataValue = useVModel(props, "modelValue", emits);
141845
- let tabTitles = ref(["秒", "分钟", "小时", "日", "月", "周", "年"]);
142255
+ let tabTitles = ref([
142256
+ "秒",
142257
+ "分钟",
142258
+ "小时",
142259
+ "日",
142260
+ "月",
142261
+ "周",
142262
+ "年"
142263
+ ]);
141846
142264
  let tabActive = ref("0");
141847
142265
  const cronsecond = ref();
141848
142266
  const cronmin = ref();
@@ -142284,7 +142702,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
142284
142702
 
142285
142703
  /* unplugin-vue-components disabled */
142286
142704
 
142287
- const Crontab = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-fb0ce684"]]);
142705
+ const Crontab = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-9b1db419"]]);
142288
142706
 
142289
142707
  const _sfc_main$T = /* @__PURE__ */ defineComponent({
142290
142708
  __name: "cron-item",
@@ -142297,6 +142715,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
142297
142715
  type: Boolean,
142298
142716
  default: false
142299
142717
  },
142718
+ showFormItem: {
142719
+ type: Boolean,
142720
+ default: false
142721
+ },
142300
142722
  bareFlag: {
142301
142723
  type: Boolean,
142302
142724
  default: false
@@ -142386,6 +142808,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
142386
142808
  _: 1
142387
142809
  }, 8, ["dialog-visible"]),
142388
142810
  createVNode(_component_starhorse_form_item, {
142811
+ showFormItem: __props.showFormItem,
142389
142812
  isDesign: __props.isDesign,
142390
142813
  disabled: __props.disabled,
142391
142814
  bareFlag: __props.bareFlag,
@@ -142410,7 +142833,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
142410
142833
  }, 16, ["fid", "modelValue"])
142411
142834
  ]),
142412
142835
  _: 1
142413
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
142836
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"])
142414
142837
  ], 64);
142415
142838
  };
142416
142839
  }
@@ -142418,7 +142841,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
142418
142841
 
142419
142842
  /* unplugin-vue-components disabled */
142420
142843
 
142421
- const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-122ac10b"]]);
142844
+ const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-88058100"]]);
142422
142845
 
142423
142846
  const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142424
142847
  __proto__: null,
@@ -142436,6 +142859,10 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142436
142859
  type: Boolean,
142437
142860
  default: false
142438
142861
  },
142862
+ showFormItem: {
142863
+ type: Boolean,
142864
+ default: false
142865
+ },
142439
142866
  bareFlag: {
142440
142867
  type: Boolean,
142441
142868
  default: false
@@ -142497,6 +142924,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142497
142924
  const _component_el_date_picker = ElDatePicker;
142498
142925
  const _component_starhorse_form_item = __unplugin_components_0$3;
142499
142926
  return openBlock(), createBlock(_component_starhorse_form_item, {
142927
+ showFormItem: __props.showFormItem,
142500
142928
  isDesign: __props.isDesign,
142501
142929
  disabled: __props.disabled,
142502
142930
  bareFlag: __props.bareFlag,
@@ -142519,14 +142947,14 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142519
142947
  }), null, 16, ["fid", "disabled", "format", "value-format", "modelValue"])
142520
142948
  ]),
142521
142949
  _: 1
142522
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
142950
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
142523
142951
  };
142524
142952
  }
142525
142953
  });
142526
142954
 
142527
142955
  /* unplugin-vue-components disabled */
142528
142956
 
142529
- const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-c12022cd"]]);
142957
+ const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-c8a7001a"]]);
142530
142958
 
142531
142959
  const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142532
142960
  __proto__: null,
@@ -142544,6 +142972,10 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
142544
142972
  type: Boolean,
142545
142973
  default: false
142546
142974
  },
142975
+ showFormItem: {
142976
+ type: Boolean,
142977
+ default: false
142978
+ },
142547
142979
  bareFlag: {
142548
142980
  type: Boolean,
142549
142981
  default: false
@@ -142568,6 +143000,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
142568
143000
  return (_ctx, _cache) => {
142569
143001
  const _component_starhorse_form_item = __unplugin_components_0$3;
142570
143002
  return openBlock(), createBlock(_component_starhorse_form_item, {
143003
+ showFormItem: __props.showFormItem,
142571
143004
  isDesign: __props.isDesign,
142572
143005
  disabled: __props.disabled,
142573
143006
  bareFlag: __props.bareFlag,
@@ -142579,7 +143012,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
142579
143012
  ])),
142580
143013
  _: 1,
142581
143014
  __: [0]
142582
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
143015
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
142583
143016
  };
142584
143017
  }
142585
143018
  });
@@ -142602,6 +143035,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
142602
143035
  type: Boolean,
142603
143036
  default: false
142604
143037
  },
143038
+ showFormItem: {
143039
+ type: Boolean,
143040
+ default: false
143041
+ },
142605
143042
  bareFlag: {
142606
143043
  type: Boolean,
142607
143044
  default: false
@@ -142766,6 +143203,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
142766
143203
  _: 1
142767
143204
  }, 8, ["title", "dialog-visible"]),
142768
143205
  createVNode(_component_starhorse_form_item, {
143206
+ showFormItem: __props.showFormItem,
142769
143207
  isDesign: __props.isDesign,
142770
143208
  disabled: __props.disabled,
142771
143209
  bareFlag: __props.bareFlag,
@@ -142793,7 +143231,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
142793
143231
  }, 16, ["disabled", "fid", "modelValue"])
142794
143232
  ]),
142795
143233
  _: 1
142796
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
143234
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"])
142797
143235
  ], 64);
142798
143236
  };
142799
143237
  }
@@ -142801,7 +143239,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
142801
143239
 
142802
143240
  /* unplugin-vue-components disabled */
142803
143241
 
142804
- const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-3fde5b28"]]);
143242
+ const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-f7f14025"]]);
142805
143243
 
142806
143244
  const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142807
143245
  __proto__: null,
@@ -142819,6 +143257,10 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
142819
143257
  type: Boolean,
142820
143258
  default: false
142821
143259
  },
143260
+ showFormItem: {
143261
+ type: Boolean,
143262
+ default: false
143263
+ },
142822
143264
  bareFlag: {
142823
143265
  type: Boolean,
142824
143266
  default: false
@@ -142856,6 +143298,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
142856
143298
  const _component_el_divider = ElDivider;
142857
143299
  const _component_starhorse_form_item = __unplugin_components_0$3;
142858
143300
  return openBlock(), createBlock(_component_starhorse_form_item, {
143301
+ showFormItem: __props.showFormItem,
142859
143302
  isDesign: __props.isDesign,
142860
143303
  disabled: __props.disabled,
142861
143304
  bareFlag: __props.bareFlag,
@@ -142875,7 +143318,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
142875
143318
  }, 16, ["direction", "content-position"])
142876
143319
  ]),
142877
143320
  _: 1
142878
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
143321
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
142879
143322
  };
142880
143323
  }
142881
143324
  });
@@ -142897,6 +143340,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
142897
143340
  type: Boolean,
142898
143341
  default: false
142899
143342
  },
143343
+ showFormItem: {
143344
+ type: Boolean,
143345
+ default: false
143346
+ },
142900
143347
  bareFlag: {
142901
143348
  type: Boolean,
142902
143349
  default: false
@@ -142929,6 +143376,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
142929
143376
  return (_ctx, _cache) => {
142930
143377
  const _component_starhorse_form_item = __unplugin_components_0$3;
142931
143378
  return openBlock(), createBlock(_component_starhorse_form_item, {
143379
+ showFormItem: __props.showFormItem,
142932
143380
  isDesign: __props.isDesign,
142933
143381
  disabled: __props.disabled,
142934
143382
  bareFlag: __props.bareFlag,
@@ -142942,14 +143390,14 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
142942
143390
  }, null, 8, _hoisted_1$j)
142943
143391
  ]),
142944
143392
  _: 1
142945
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
143393
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
142946
143394
  };
142947
143395
  }
142948
143396
  });
142949
143397
 
142950
143398
  /* unplugin-vue-components disabled */
142951
143399
 
142952
- const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-b6fa2372"]]);
143400
+ const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-8b032760"]]);
142953
143401
 
142954
143402
  const htmlItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142955
143403
  __proto__: null,
@@ -160039,6 +160487,10 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
160039
160487
  type: Boolean,
160040
160488
  default: false
160041
160489
  },
160490
+ showFormItem: {
160491
+ type: Boolean,
160492
+ default: false
160493
+ },
160042
160494
  bareFlag: {
160043
160495
  type: Boolean,
160044
160496
  default: false
@@ -160097,6 +160549,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
160097
160549
  return (_ctx, _cache) => {
160098
160550
  const _component_starhorse_form_item = __unplugin_components_0$3;
160099
160551
  return openBlock(), createBlock(_component_starhorse_form_item, {
160552
+ showFormItem: __props.showFormItem,
160100
160553
  isDesign: __props.isDesign,
160101
160554
  disabled: __props.disabled,
160102
160555
  bareFlag: __props.bareFlag,
@@ -160106,7 +160559,10 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
160106
160559
  default: withCtx(() => [
160107
160560
  createElementVNode("div", _hoisted_1$i, [
160108
160561
  createVNode(unref(QuillEditor), mergeProps({
160109
- style: { height: __props.field.preps?.height || "300px", "overflow-y": "hidden" },
160562
+ style: {
160563
+ height: __props.field.preps?.height || "300px",
160564
+ "overflow-y": "hidden"
160565
+ },
160110
160566
  modules
160111
160567
  }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
160112
160568
  modelValue: formData.value[__props.field.fieldName],
@@ -160119,7 +160575,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
160119
160575
  ])
160120
160576
  ]),
160121
160577
  _: 1
160122
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
160578
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
160123
160579
  };
160124
160580
  }
160125
160581
  });
@@ -160144,6 +160600,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
160144
160600
  type: Boolean,
160145
160601
  default: false
160146
160602
  },
160603
+ showFormItem: {
160604
+ type: Boolean,
160605
+ default: false
160606
+ },
160147
160607
  bareFlag: {
160148
160608
  type: Boolean,
160149
160609
  default: false
@@ -160215,6 +160675,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
160215
160675
  const _component_el_icon = ElIcon;
160216
160676
  const _component_el_popover = ElPopover;
160217
160677
  return openBlock(), createBlock(__unplugin_components_0$3, {
160678
+ showFormItem: __props.showFormItem,
160218
160679
  isDesign: __props.isDesign,
160219
160680
  disabled: __props.disabled,
160220
160681
  bareFlag: __props.bareFlag,
@@ -160245,9 +160706,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
160245
160706
  key: 1,
160246
160707
  "icon-class": formData.value[__props.field.fieldName],
160247
160708
  size: "30px",
160248
- width: "30px",
160249
- height: "30px",
160250
- style: { "font-size": "50px", "color": "var(--star-horse-style)", "border-radius": "3px", "border": "1px solid var(--star-horse-light-gray)" },
160709
+ style: { "color": "var(--star-horse-style)", "border-radius": "3px", "border": "1px solid var(--star-horse-light-gray)" },
160251
160710
  cursor: "pointer"
160252
160711
  }, null, 8, ["icon-class"]))
160253
160712
  ]),
@@ -160307,14 +160766,14 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
160307
160766
  }, 8, ["placement", "disabled"])
160308
160767
  ]),
160309
160768
  _: 1
160310
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
160769
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
160311
160770
  };
160312
160771
  }
160313
160772
  });
160314
160773
 
160315
160774
  /* unplugin-vue-components disabled */
160316
160775
 
160317
- const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-023f7835"]]);
160776
+ const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-3496de2c"]]);
160318
160777
 
160319
160778
  const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160320
160779
  __proto__: null,
@@ -160341,6 +160800,10 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
160341
160800
  type: Boolean,
160342
160801
  default: false
160343
160802
  },
160803
+ showFormItem: {
160804
+ type: Boolean,
160805
+ default: false
160806
+ },
160344
160807
  bareFlag: {
160345
160808
  type: Boolean,
160346
160809
  default: false
@@ -160404,6 +160867,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
160404
160867
  const _component_el_image = ElImage;
160405
160868
  const _component_starhorse_form_item = __unplugin_components_0$3;
160406
160869
  return openBlock(), createBlock(_component_starhorse_form_item, {
160870
+ showFormItem: __props.showFormItem,
160407
160871
  isDesign: __props.isDesign,
160408
160872
  disabled: __props.disabled,
160409
160873
  bareFlag: __props.bareFlag,
@@ -160540,14 +161004,14 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
160540
161004
  ]))
160541
161005
  ]),
160542
161006
  _: 1
160543
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161007
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
160544
161008
  };
160545
161009
  }
160546
161010
  });
160547
161011
 
160548
161012
  /* unplugin-vue-components disabled */
160549
161013
 
160550
- const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-099b96fb"]]);
161014
+ const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-7b39e8a0"]]);
160551
161015
 
160552
161016
  const imageItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160553
161017
  __proto__: null,
@@ -160570,6 +161034,10 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
160570
161034
  type: Boolean,
160571
161035
  default: false
160572
161036
  },
161037
+ showFormItem: {
161038
+ type: Boolean,
161039
+ default: false
161040
+ },
160573
161041
  placeholder: String,
160574
161042
  initialContent: String
160575
161043
  },
@@ -160585,9 +161053,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
160585
161053
  const handleReset = () => {
160586
161054
  content.value = "";
160587
161055
  };
160588
- watch(() => props.initialContent, (newVal) => {
160589
- content.value = newVal || "";
160590
- });
161056
+ watch(
161057
+ () => props.initialContent,
161058
+ (newVal) => {
161059
+ content.value = newVal || "";
161060
+ }
161061
+ );
160591
161062
  return (_ctx, _cache) => {
160592
161063
  const _component_el_input = ElInput;
160593
161064
  const _component_star_horse_dialog = __unplugin_components_0$8;
@@ -160633,6 +161104,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
160633
161104
  type: Boolean,
160634
161105
  default: false
160635
161106
  },
161107
+ showFormItem: {
161108
+ type: Boolean,
161109
+ default: false
161110
+ },
160636
161111
  bareFlag: {
160637
161112
  type: Boolean,
160638
161113
  default: false
@@ -160705,6 +161180,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
160705
161180
  onConfirm: handleContentConfirm
160706
161181
  }, null, 8, ["modelValue", "disabled", "initial-content"]),
160707
161182
  createVNode(_component_starhorse_form_item, {
161183
+ showFormItem: __props.showFormItem,
160708
161184
  isDesign: __props.isDesign,
160709
161185
  disabled: __props.disabled,
160710
161186
  bareFlag: __props.bareFlag,
@@ -160796,7 +161272,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
160796
161272
  ]), 1040, ["disabled", "fid", "modelValue"])
160797
161273
  ]),
160798
161274
  _: 1
160799
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
161275
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"])
160800
161276
  ], 64);
160801
161277
  };
160802
161278
  }
@@ -160804,7 +161280,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
160804
161280
 
160805
161281
  /* unplugin-vue-components disabled */
160806
161282
 
160807
- const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-0cee7dd9"]]);
161283
+ const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-84c2697d"]]);
160808
161284
 
160809
161285
  const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160810
161286
  __proto__: null,
@@ -160818,6 +161294,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160818
161294
  __name: "base-json-item",
160819
161295
  props: /* @__PURE__ */ mergeModels({
160820
161296
  isDesign: { type: Boolean, default: false },
161297
+ showFormItem: { type: Boolean, default: false },
160821
161298
  disabled: { type: Boolean, default: false },
160822
161299
  bareFlag: { type: Boolean, default: false },
160823
161300
  isSearch: { type: Boolean, default: false },
@@ -160825,7 +161302,11 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160825
161302
  parentField: { type: Object },
160826
161303
  formInfo: { type: Object },
160827
161304
  // 新增:区分 JSON 对象/数组的关键参数
160828
- dataType: { type: String, default: "object", validator: (v) => ["object", "array"].includes(v) }
161305
+ dataType: {
161306
+ type: String,
161307
+ default: "object",
161308
+ validator: (v) => ["object", "array"].includes(v)
161309
+ }
160829
161310
  }, {
160830
161311
  "formData": {},
160831
161312
  "formDataModifiers": {}
@@ -160843,8 +161324,18 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160843
161324
  {
160844
161325
  batchName: "jsonDatas",
160845
161326
  fieldList: [
160846
- { label: "Name/名称", fieldName: "name", required: true, formVisible: true },
160847
- { label: "Value/值", fieldName: "value", required: true, formVisible: true }
161327
+ {
161328
+ label: "Name/名称",
161329
+ fieldName: "name",
161330
+ required: true,
161331
+ formVisible: true
161332
+ },
161333
+ {
161334
+ label: "Value/值",
161335
+ fieldName: "value",
161336
+ required: true,
161337
+ formVisible: true
161338
+ }
160848
161339
  ]
160849
161340
  }
160850
161341
  ]
@@ -160867,14 +161358,26 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160867
161358
  };
160868
161359
  const selectItem = async () => {
160869
161360
  if (props.field.preps["devType"]) {
160870
- formData.value[props.field.fieldName] = lib$1.stringify(jsonData.value, null, 4);
161361
+ formData.value[props.field.fieldName] = lib$1.stringify(
161362
+ jsonData.value,
161363
+ null,
161364
+ 4
161365
+ );
160871
161366
  } else {
160872
161367
  let flag = false;
160873
- await jsonFormRef.value.$refs.starHorseFormRef.validate((res) => flag = res);
161368
+ await jsonFormRef.value.$refs.starHorseFormRef.validate(
161369
+ (res) => flag = res
161370
+ );
160874
161371
  if (!flag) return;
160875
161372
  const temp = jsonFormRef.value.getFormData().value;
160876
161373
  const dataList = temp["jsonDatas"];
160877
- formData.value[props.field.fieldName] = props.dataType === "object" ? lib$1.stringify(Object.fromEntries(dataList.map(({ name, value }) => [name, value])), null, 4) : lib$1.stringify(dataList, null, 4);
161374
+ formData.value[props.field.fieldName] = props.dataType === "object" ? lib$1.stringify(
161375
+ Object.fromEntries(
161376
+ dataList.map(({ name, value }) => [name, value])
161377
+ ),
161378
+ null,
161379
+ 4
161380
+ ) : lib$1.stringify(dataList, null, 4);
160878
161381
  }
160879
161382
  closeAction();
160880
161383
  };
@@ -160882,7 +161385,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160882
161385
  const closeAction = () => dialogInputVisible.value = false;
160883
161386
  return (_ctx, _cache) => {
160884
161387
  const _component_star_horse_json_editor = __unplugin_components_0$5;
160885
- const _component_star_horse_form = __unplugin_components_1$2;
161388
+ const _component_star_horse_form = _sfc_main$1u;
160886
161389
  const _component_star_horse_dialog = __unplugin_components_0$8;
160887
161390
  const _component_el_input = ElInput;
160888
161391
  const _component_star_horse_icon = __unplugin_components_0$a;
@@ -160914,6 +161417,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160914
161417
  createVNode(_component_starhorse_form_item, {
160915
161418
  isDesign: __props.isDesign,
160916
161419
  disabled: __props.disabled,
161420
+ showFormItem: __props.showFormItem,
160917
161421
  bareFlag: __props.bareFlag,
160918
161422
  formItem: __props.field,
160919
161423
  parentField: __props.parentField
@@ -160952,7 +161456,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160952
161456
  ])
160953
161457
  ]),
160954
161458
  _: 1
160955
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
161459
+ }, 8, ["isDesign", "disabled", "showFormItem", "bareFlag", "formItem", "parentField"])
160956
161460
  ], 64);
160957
161461
  };
160958
161462
  }
@@ -160960,7 +161464,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160960
161464
 
160961
161465
  /* unplugin-vue-components disabled */
160962
161466
 
160963
- const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-52f2d1b4"]]);
161467
+ const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-f43e0219"]]);
160964
161468
 
160965
161469
  const baseJsonItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160966
161470
  __proto__: null,
@@ -160978,6 +161482,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
160978
161482
  type: Boolean,
160979
161483
  default: false
160980
161484
  },
161485
+ showFormItem: {
161486
+ type: Boolean,
161487
+ default: false
161488
+ },
160981
161489
  bareFlag: {
160982
161490
  type: Boolean,
160983
161491
  default: false
@@ -161023,6 +161531,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
161023
161531
  return openBlock(), createBlock(_component_base_json_item, {
161024
161532
  isDesign: __props.isDesign,
161025
161533
  disabled: __props.disabled,
161534
+ showFormItem: __props.showFormItem,
161026
161535
  field: __props.field,
161027
161536
  onSelectItem: itemAction,
161028
161537
  formInfo: __props.formInfo,
@@ -161031,7 +161540,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
161031
161540
  onSelfFunc: itemAction,
161032
161541
  parentField: __props.parentField,
161033
161542
  dataType: "array"
161034
- }, null, 8, ["isDesign", "disabled", "field", "formInfo", "formData", "parentField"]);
161543
+ }, null, 8, ["isDesign", "disabled", "showFormItem", "field", "formInfo", "formData", "parentField"]);
161035
161544
  };
161036
161545
  }
161037
161546
  });
@@ -161052,6 +161561,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
161052
161561
  type: Boolean,
161053
161562
  default: false
161054
161563
  },
161564
+ showFormItem: {
161565
+ type: Boolean,
161566
+ default: false
161567
+ },
161055
161568
  bareFlag: {
161056
161569
  type: Boolean,
161057
161570
  default: false
@@ -161097,6 +161610,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
161097
161610
  return openBlock(), createBlock(_component_base_json_item, {
161098
161611
  isDesign: __props.isDesign,
161099
161612
  disabled: __props.disabled,
161613
+ showFormItem: __props.showFormItem,
161100
161614
  field: __props.field,
161101
161615
  onSelectItem: itemAction,
161102
161616
  formInfo: __props.formInfo,
@@ -161105,7 +161619,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
161105
161619
  onSelfFunc: itemAction,
161106
161620
  parentField: __props.parentField,
161107
161621
  dataType: "object"
161108
- }, null, 8, ["isDesign", "disabled", "field", "formInfo", "formData", "parentField"]);
161622
+ }, null, 8, ["isDesign", "disabled", "showFormItem", "field", "formInfo", "formData", "parentField"]);
161109
161623
  };
161110
161624
  }
161111
161625
  });
@@ -161126,6 +161640,10 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
161126
161640
  type: Boolean,
161127
161641
  default: false
161128
161642
  },
161643
+ showFormItem: {
161644
+ type: Boolean,
161645
+ default: false
161646
+ },
161129
161647
  bareFlag: {
161130
161648
  type: Boolean,
161131
161649
  default: false
@@ -161163,6 +161681,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
161163
161681
  const _component_MdEditor = resolveComponent("MdEditor");
161164
161682
  const _component_starhorse_form_item = __unplugin_components_0$3;
161165
161683
  return openBlock(), createBlock(_component_starhorse_form_item, {
161684
+ showFormItem: __props.showFormItem,
161166
161685
  isDesign: __props.isDesign,
161167
161686
  disabled: __props.disabled,
161168
161687
  bareFlag: __props.bareFlag,
@@ -161180,14 +161699,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
161180
161699
  }, __props.field.preps, { class: "markdown-editor" }), null, 16, ["modelValue"])
161181
161700
  ]),
161182
161701
  _: 1
161183
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161702
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161184
161703
  };
161185
161704
  }
161186
161705
  });
161187
161706
 
161188
161707
  /* unplugin-vue-components disabled */
161189
161708
 
161190
- const markdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-f3c73035"]]);
161709
+ const markdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-02d17bde"]]);
161191
161710
 
161192
161711
  const markdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161193
161712
  __proto__: null,
@@ -161210,6 +161729,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
161210
161729
  type: Boolean,
161211
161730
  default: false
161212
161731
  },
161732
+ showFormItem: {
161733
+ type: Boolean,
161734
+ default: false
161735
+ },
161213
161736
  bareFlag: {
161214
161737
  type: Boolean,
161215
161738
  default: false
@@ -161261,6 +161784,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
161261
161784
  const _component_el_input_number = ElInputNumber;
161262
161785
  const _component_starhorse_form_item = __unplugin_components_0$3;
161263
161786
  return openBlock(), createBlock(_component_starhorse_form_item, {
161787
+ showFormItem: __props.showFormItem,
161264
161788
  isDesign: __props.isDesign,
161265
161789
  disabled: __props.disabled,
161266
161790
  bareFlag: __props.bareFlag,
@@ -161285,14 +161809,14 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
161285
161809
  }, 16, ["fid", "disabled", "modelValue"])
161286
161810
  ]),
161287
161811
  _: 1
161288
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161812
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161289
161813
  };
161290
161814
  }
161291
161815
  });
161292
161816
 
161293
161817
  /* unplugin-vue-components disabled */
161294
161818
 
161295
- const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-192ec77d"]]);
161819
+ const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-831c633d"]]);
161296
161820
 
161297
161821
  const numberItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161298
161822
  __proto__: null,
@@ -161312,6 +161836,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
161312
161836
  type: Boolean,
161313
161837
  default: false
161314
161838
  },
161839
+ showFormItem: {
161840
+ type: Boolean,
161841
+ default: false
161842
+ },
161315
161843
  bareFlag: {
161316
161844
  type: Boolean,
161317
161845
  default: false
@@ -161396,6 +161924,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
161396
161924
  const _component_el_input_number = ElInputNumber;
161397
161925
  const _component_starhorse_form_item = __unplugin_components_0$3;
161398
161926
  return openBlock(), createBlock(_component_starhorse_form_item, {
161927
+ showFormItem: __props.showFormItem,
161399
161928
  isDesign: __props.isDesign,
161400
161929
  disabled: __props.disabled,
161401
161930
  bareFlag: __props.bareFlag,
@@ -161451,14 +161980,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
161451
161980
  ])
161452
161981
  ]),
161453
161982
  _: 1
161454
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161983
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161455
161984
  };
161456
161985
  }
161457
161986
  });
161458
161987
 
161459
161988
  /* unplugin-vue-components disabled */
161460
161989
 
161461
- const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8463726f"]]);
161990
+ const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-37ee7849"]]);
161462
161991
 
161463
161992
  const numberRangeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161464
161993
  __proto__: null,
@@ -161476,6 +162005,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
161476
162005
  type: Boolean,
161477
162006
  default: false
161478
162007
  },
162008
+ showFormItem: {
162009
+ type: Boolean,
162010
+ default: false
162011
+ },
161479
162012
  bareFlag: {
161480
162013
  type: Boolean,
161481
162014
  default: false
@@ -161533,7 +162066,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
161533
162066
  let value = formData.value[props.field.aliasName || props.field.fieldName];
161534
162067
  if (fieldName && value) {
161535
162068
  if (props.field.preps?.multiple) {
161536
- searchData.value.push(createCondition(fieldName, Array.isArray(value) ? value : value.split(";"), "in"));
162069
+ searchData.value.push(
162070
+ createCondition(
162071
+ fieldName,
162072
+ Array.isArray(value) ? value : value.split(";"),
162073
+ "in"
162074
+ )
162075
+ );
161537
162076
  } else {
161538
162077
  searchData.value.push(createCondition(fieldName, value));
161539
162078
  }
@@ -161614,7 +162153,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
161614
162153
  let name = props.field.fieldName;
161615
162154
  if (fields) {
161616
162155
  fields.forEach((temp) => {
161617
- let value = multipleSelection.value.map((item) => item[temp.sourceField]);
162156
+ let value = multipleSelection.value.map(
162157
+ (item) => item[temp.sourceField]
162158
+ );
161618
162159
  if (!props.field.preps?.multiple) {
161619
162160
  value = value[0];
161620
162161
  }
@@ -161679,6 +162220,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
161679
162220
  const _component_el_select = ElSelect;
161680
162221
  const _component_starhorse_form_item = __unplugin_components_0$3;
161681
162222
  return openBlock(), createBlock(_component_starhorse_form_item, {
162223
+ showFormItem: __props.showFormItem,
161682
162224
  isDesign: __props.isDesign,
161683
162225
  disabled: __props.disabled,
161684
162226
  bareFlag: __props.bareFlag,
@@ -161780,14 +162322,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
161780
162322
  }, 16, ["fid", "disabled", "modelValue"])
161781
162323
  ]),
161782
162324
  _: 1
161783
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162325
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161784
162326
  };
161785
162327
  }
161786
162328
  });
161787
162329
 
161788
162330
  /* unplugin-vue-components disabled */
161789
162331
 
161790
- const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-87dfd5ae"]]);
162332
+ const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-6a951bb9"]]);
161791
162333
 
161792
162334
  const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161793
162335
  __proto__: null,
@@ -161805,6 +162347,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
161805
162347
  type: Boolean,
161806
162348
  default: false
161807
162349
  },
162350
+ showFormItem: {
162351
+ type: Boolean,
162352
+ default: false
162353
+ },
161808
162354
  bareFlag: {
161809
162355
  type: Boolean,
161810
162356
  default: false
@@ -161846,6 +162392,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
161846
162392
  const _component_el_input = ElInput;
161847
162393
  const _component_starhorse_form_item = __unplugin_components_0$3;
161848
162394
  return openBlock(), createBlock(_component_starhorse_form_item, {
162395
+ showFormItem: __props.showFormItem,
161849
162396
  isDesign: __props.isDesign,
161850
162397
  disabled: __props.disabled,
161851
162398
  bareFlag: __props.bareFlag,
@@ -161862,7 +162409,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
161862
162409
  }), null, 16, ["fid", "disabled", "modelValue"])
161863
162410
  ]),
161864
162411
  _: 1
161865
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162412
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161866
162413
  };
161867
162414
  }
161868
162415
  });
@@ -161883,6 +162430,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
161883
162430
  type: Boolean,
161884
162431
  default: false
161885
162432
  },
162433
+ showFormItem: {
162434
+ type: Boolean,
162435
+ default: false
162436
+ },
161886
162437
  bareFlag: {
161887
162438
  type: Boolean,
161888
162439
  default: false
@@ -161926,19 +162477,24 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
161926
162477
  initData();
161927
162478
  allAction(props, emits, formData, "change", true);
161928
162479
  });
161929
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
161930
- if (val?.length > 0) {
161931
- props.field.preps["values"] = val;
162480
+ watch(
162481
+ () => formData.value[props.field.fieldName + "OptionList"],
162482
+ (val) => {
162483
+ if (val?.length > 0) {
162484
+ props.field.preps["values"] = val;
162485
+ }
162486
+ },
162487
+ {
162488
+ immediate: true
161932
162489
  }
161933
- }, {
161934
- immediate: true
161935
- });
162490
+ );
161936
162491
  return (_ctx, _cache) => {
161937
162492
  const _component_el_radio_button = ElRadioButton;
161938
162493
  const _component_el_radio = ElRadio;
161939
162494
  const _component_el_radio_group = ElRadioGroup;
161940
162495
  const _component_starhorse_form_item = __unplugin_components_0$3;
161941
162496
  return openBlock(), createBlock(_component_starhorse_form_item, {
162497
+ showFormItem: __props.showFormItem,
161942
162498
  isDesign: __props.isDesign,
161943
162499
  disabled: __props.disabled,
161944
162500
  bareFlag: __props.bareFlag,
@@ -161978,7 +162534,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
161978
162534
  }, 16, ["fid", "disabled", "readonly", "text-color", "modelValue"])
161979
162535
  ]),
161980
162536
  _: 1
161981
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162537
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
161982
162538
  };
161983
162539
  }
161984
162540
  });
@@ -161999,6 +162555,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
161999
162555
  type: Boolean,
162000
162556
  default: false
162001
162557
  },
162558
+ showFormItem: {
162559
+ type: Boolean,
162560
+ default: false
162561
+ },
162002
162562
  bareFlag: {
162003
162563
  type: Boolean,
162004
162564
  default: false
@@ -162036,6 +162596,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
162036
162596
  const _component_el_rate = ElRate;
162037
162597
  const _component_starhorse_form_item = __unplugin_components_0$3;
162038
162598
  return openBlock(), createBlock(_component_starhorse_form_item, {
162599
+ showFormItem: __props.showFormItem,
162039
162600
  isDesign: __props.isDesign,
162040
162601
  disabled: __props.disabled,
162041
162602
  bareFlag: __props.bareFlag,
@@ -162053,7 +162614,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
162053
162614
  }), null, 16, ["fid", "disabled", "modelValue"])
162054
162615
  ]),
162055
162616
  _: 1
162056
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162617
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162057
162618
  };
162058
162619
  }
162059
162620
  });
@@ -162074,6 +162635,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
162074
162635
  type: Boolean,
162075
162636
  default: false
162076
162637
  },
162638
+ showFormItem: {
162639
+ type: Boolean,
162640
+ default: false
162641
+ },
162077
162642
  bareFlag: {
162078
162643
  type: Boolean,
162079
162644
  default: false
@@ -162136,21 +162701,32 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
162136
162701
  initData();
162137
162702
  actionName.value = props.field.actionName || "normal";
162138
162703
  if (!props.isSearch) {
162139
- allAction(props, emits, formData, actionName.value, !props.field.preps["needInitLink"]);
162704
+ allAction(
162705
+ props,
162706
+ emits,
162707
+ formData,
162708
+ actionName.value,
162709
+ !props.field.preps["needInitLink"]
162710
+ );
162140
162711
  }
162141
162712
  });
162142
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
162143
- if (val?.length > 0) {
162144
- props.field.preps["values"] = val;
162713
+ watch(
162714
+ () => formData.value[props.field.fieldName + "OptionList"],
162715
+ (val) => {
162716
+ if (val?.length > 0) {
162717
+ props.field.preps["values"] = val;
162718
+ }
162719
+ },
162720
+ {
162721
+ immediate: true
162145
162722
  }
162146
- }, {
162147
- immediate: true
162148
- });
162723
+ );
162149
162724
  return (_ctx, _cache) => {
162150
162725
  const _component_el_option = ElOption;
162151
162726
  const _component_el_select = ElSelect;
162152
162727
  const _component_starhorse_form_item = __unplugin_components_0$3;
162153
162728
  return openBlock(), createBlock(_component_starhorse_form_item, {
162729
+ showFormItem: __props.showFormItem,
162154
162730
  isDesign: __props.isDesign,
162155
162731
  disabled: __props.disabled,
162156
162732
  bareFlag: __props.bareFlag,
@@ -162179,14 +162755,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
162179
162755
  }, 16, ["fid", "disabled", "modelValue"])
162180
162756
  ]),
162181
162757
  _: 1
162182
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162758
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162183
162759
  };
162184
162760
  }
162185
162761
  });
162186
162762
 
162187
162763
  /* unplugin-vue-components disabled */
162188
162764
 
162189
- const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5779468f"]]);
162765
+ const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-8dbf6caf"]]);
162190
162766
 
162191
162767
  const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162192
162768
  __proto__: null,
@@ -162606,6 +163182,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
162606
163182
  type: Boolean,
162607
163183
  default: false
162608
163184
  },
163185
+ showFormItem: {
163186
+ type: Boolean,
163187
+ default: false
163188
+ },
162609
163189
  bareFlag: {
162610
163190
  type: Boolean,
162611
163191
  default: false
@@ -162693,6 +163273,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
162693
163273
  _: 1
162694
163274
  }, 8, ["dialog-visible"]),
162695
163275
  createVNode(_component_starhorse_form_item, {
163276
+ showFormItem: __props.showFormItem,
162696
163277
  isDesign: __props.isDesign,
162697
163278
  disabled: __props.disabled,
162698
163279
  bareFlag: __props.bareFlag,
@@ -162762,7 +163343,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
162762
163343
  ])
162763
163344
  ]),
162764
163345
  _: 1
162765
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
163346
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"])
162766
163347
  ], 64);
162767
163348
  };
162768
163349
  }
@@ -162770,7 +163351,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
162770
163351
 
162771
163352
  /* unplugin-vue-components disabled */
162772
163353
 
162773
- const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-cb4cf8f6"]]);
163354
+ const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-bf193677"]]);
162774
163355
 
162775
163356
  const signatureItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162776
163357
  __proto__: null,
@@ -162788,6 +163369,10 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
162788
163369
  type: Boolean,
162789
163370
  default: false
162790
163371
  },
163372
+ showFormItem: {
163373
+ type: Boolean,
163374
+ default: false
163375
+ },
162791
163376
  bareFlag: {
162792
163377
  type: Boolean,
162793
163378
  default: false
@@ -162825,6 +163410,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
162825
163410
  const _component_el_slider = ElSlider;
162826
163411
  const _component_starhorse_form_item = __unplugin_components_0$3;
162827
163412
  return openBlock(), createBlock(_component_starhorse_form_item, {
163413
+ showFormItem: __props.showFormItem,
162828
163414
  isDesign: __props.isDesign,
162829
163415
  disabled: __props.disabled,
162830
163416
  bareFlag: __props.bareFlag,
@@ -162843,7 +163429,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
162843
163429
  }), null, 16, ["fid", "disabled", "step", "modelValue"])
162844
163430
  ]),
162845
163431
  _: 1
162846
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163432
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162847
163433
  };
162848
163434
  }
162849
163435
  });
@@ -162864,6 +163450,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
162864
163450
  type: Boolean,
162865
163451
  default: false
162866
163452
  },
163453
+ showFormItem: {
163454
+ type: Boolean,
163455
+ default: false
163456
+ },
162867
163457
  bareFlag: {
162868
163458
  type: Boolean,
162869
163459
  default: false
@@ -162912,6 +163502,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
162912
163502
  const _component_el_switch = ElSwitch;
162913
163503
  const _component_starhorse_form_item = __unplugin_components_0$3;
162914
163504
  return openBlock(), createBlock(_component_starhorse_form_item, {
163505
+ showFormItem: __props.showFormItem,
162915
163506
  isDesign: __props.isDesign,
162916
163507
  disabled: __props.disabled,
162917
163508
  bareFlag: __props.bareFlag,
@@ -162928,7 +163519,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
162928
163519
  }), null, 16, ["fid", "disabled", "modelValue"])
162929
163520
  ]),
162930
163521
  _: 1
162931
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163522
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
162932
163523
  };
162933
163524
  }
162934
163525
  });
@@ -162949,6 +163540,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
162949
163540
  type: Boolean,
162950
163541
  default: false
162951
163542
  },
163543
+ showFormItem: {
163544
+ type: Boolean,
163545
+ default: false
163546
+ },
162952
163547
  bareFlag: {
162953
163548
  type: Boolean,
162954
163549
  default: false
@@ -162993,6 +163588,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
162993
163588
  const _component_el_tag = ElTag;
162994
163589
  const _component_starhorse_form_item = __unplugin_components_0$3;
162995
163590
  return openBlock(), createBlock(_component_starhorse_form_item, {
163591
+ showFormItem: __props.showFormItem,
162996
163592
  isDesign: __props.isDesign,
162997
163593
  disabled: __props.disabled,
162998
163594
  bareFlag: __props.bareFlag,
@@ -163012,7 +163608,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
163012
163608
  }, 16, ["type"])
163013
163609
  ]),
163014
163610
  _: 1
163015
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163611
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163016
163612
  };
163017
163613
  }
163018
163614
  });
@@ -163033,6 +163629,10 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
163033
163629
  type: Boolean,
163034
163630
  default: false
163035
163631
  },
163632
+ showFormItem: {
163633
+ type: Boolean,
163634
+ default: false
163635
+ },
163036
163636
  bareFlag: {
163037
163637
  type: Boolean,
163038
163638
  default: false
@@ -163066,6 +163666,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
163066
163666
  return (_ctx, _cache) => {
163067
163667
  const _component_starhorse_form_item = __unplugin_components_0$3;
163068
163668
  return openBlock(), createBlock(_component_starhorse_form_item, {
163669
+ showFormItem: __props.showFormItem,
163069
163670
  isDesign: __props.isDesign,
163070
163671
  disabled: __props.disabled,
163071
163672
  bareFlag: __props.bareFlag,
@@ -163097,7 +163698,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
163097
163698
  ])
163098
163699
  ]),
163099
163700
  _: 1
163100
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163701
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163101
163702
  };
163102
163703
  }
163103
163704
  });
@@ -163118,6 +163719,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
163118
163719
  type: Boolean,
163119
163720
  default: false
163120
163721
  },
163722
+ showFormItem: {
163723
+ type: Boolean,
163724
+ default: false
163725
+ },
163121
163726
  bareFlag: {
163122
163727
  type: Boolean,
163123
163728
  default: false
@@ -163174,6 +163779,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
163174
163779
  onConfirm: handleContentConfirm
163175
163780
  }, null, 8, ["modelValue", "disabled", "initial-content"]),
163176
163781
  createVNode(_component_starhorse_form_item, {
163782
+ showFormItem: __props.showFormItem,
163177
163783
  isDesign: __props.isDesign,
163178
163784
  disabled: __props.disabled,
163179
163785
  bareFlag: __props.bareFlag,
@@ -163191,7 +163797,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
163191
163797
  }), null, 16, ["disabled", "fid", "modelValue"])
163192
163798
  ]),
163193
163799
  _: 1
163194
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
163800
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"])
163195
163801
  ], 64);
163196
163802
  };
163197
163803
  }
@@ -163213,6 +163819,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
163213
163819
  type: Boolean,
163214
163820
  default: false
163215
163821
  },
163822
+ showFormItem: {
163823
+ type: Boolean,
163824
+ default: false
163825
+ },
163216
163826
  bareFlag: {
163217
163827
  type: Boolean,
163218
163828
  default: false
@@ -163254,6 +163864,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
163254
163864
  const _component_el_time_select = ElTimeSelect;
163255
163865
  const _component_starhorse_form_item = __unplugin_components_0$3;
163256
163866
  return openBlock(), createBlock(_component_starhorse_form_item, {
163867
+ showFormItem: __props.showFormItem,
163257
163868
  isDesign: __props.isDesign,
163258
163869
  disabled: __props.disabled,
163259
163870
  bareFlag: __props.bareFlag,
@@ -163273,14 +163884,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
163273
163884
  }), null, 16, ["fid", "disabled", "start", "end", "step", "modelValue"])
163274
163885
  ]),
163275
163886
  _: 1
163276
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163887
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163277
163888
  };
163278
163889
  }
163279
163890
  });
163280
163891
 
163281
163892
  /* unplugin-vue-components disabled */
163282
163893
 
163283
- const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-fc87b4d0"]]);
163894
+ const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-13ccd7ec"]]);
163284
163895
 
163285
163896
  const timeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163286
163897
  __proto__: null,
@@ -163298,6 +163909,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
163298
163909
  type: Boolean,
163299
163910
  default: false
163300
163911
  },
163912
+ showFormItem: {
163913
+ type: Boolean,
163914
+ default: false
163915
+ },
163301
163916
  bareFlag: {
163302
163917
  type: Boolean,
163303
163918
  default: false
@@ -163339,6 +163954,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
163339
163954
  const _component_el_time_picker = ElTimePicker;
163340
163955
  const _component_starhorse_form_item = __unplugin_components_0$3;
163341
163956
  return openBlock(), createBlock(_component_starhorse_form_item, {
163957
+ showFormItem: __props.showFormItem,
163342
163958
  isDesign: __props.isDesign,
163343
163959
  disabled: __props.disabled,
163344
163960
  bareFlag: __props.bareFlag,
@@ -163355,14 +163971,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
163355
163971
  }), null, 16, ["fid", "disabled", "modelValue"])
163356
163972
  ]),
163357
163973
  _: 1
163358
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163974
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163359
163975
  };
163360
163976
  }
163361
163977
  });
163362
163978
 
163363
163979
  /* unplugin-vue-components disabled */
163364
163980
 
163365
- const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ac7614bf"]]);
163981
+ const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ea5d872d"]]);
163366
163982
 
163367
163983
  const timePickerItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163368
163984
  __proto__: null,
@@ -163380,6 +163996,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
163380
163996
  type: Boolean,
163381
163997
  default: false
163382
163998
  },
163999
+ showFormItem: {
164000
+ type: Boolean,
164001
+ default: false
164002
+ },
163383
164003
  bareFlag: {
163384
164004
  type: Boolean,
163385
164005
  default: false
@@ -163415,9 +164035,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
163415
164035
  const initData = async () => {
163416
164036
  const dataa = await compDynamicData(props.field);
163417
164037
  if (dataa?.length) {
163418
- props.field.preps["values"] = dataa;
164038
+ props.field.preps["data"] = dataa;
163419
164039
  }
163420
- bakeData.value = JSON.parse(JSON.stringify(props.field?.preps["values"] ?? []));
164040
+ bakeData.value = JSON.parse(JSON.stringify(props.field?.preps["data"] ?? []));
163421
164041
  };
163422
164042
  onMounted(() => {
163423
164043
  if (!props.field.preps) {
@@ -163429,17 +164049,22 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
163429
164049
  allAction(props, emits, formData, actionName.value, true);
163430
164050
  }
163431
164051
  });
163432
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
163433
- if (val?.length > 0) {
163434
- props.field.preps["values"] = val;
164052
+ watch(
164053
+ () => formData.value[props.field.fieldName + "OptionList"],
164054
+ (val) => {
164055
+ if (val?.length > 0) {
164056
+ props.field.preps["data"] = val;
164057
+ }
164058
+ },
164059
+ {
164060
+ immediate: true
163435
164061
  }
163436
- }, {
163437
- immediate: true
163438
- });
164062
+ );
163439
164063
  return (_ctx, _cache) => {
163440
164064
  const _component_el_transfer = ElTransfer;
163441
164065
  const _component_starhorse_form_item = __unplugin_components_0$3;
163442
164066
  return openBlock(), createBlock(_component_starhorse_form_item, {
164067
+ showFormItem: __props.showFormItem,
163443
164068
  isDesign: __props.isDesign,
163444
164069
  disabled: __props.disabled,
163445
164070
  bareFlag: __props.bareFlag,
@@ -163455,7 +164080,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
163455
164080
  }), null, 16, ["fid", "modelValue"])
163456
164081
  ]),
163457
164082
  _: 1
163458
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
164083
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163459
164084
  };
163460
164085
  }
163461
164086
  });
@@ -163476,6 +164101,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
163476
164101
  type: Boolean,
163477
164102
  default: false
163478
164103
  },
164104
+ showFormItem: {
164105
+ type: Boolean,
164106
+ default: false
164107
+ },
163479
164108
  bareFlag: {
163480
164109
  type: Boolean,
163481
164110
  default: false
@@ -163542,17 +164171,22 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
163542
164171
  allAction(props, emits, formData, actionName.value, true);
163543
164172
  }
163544
164173
  });
163545
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
163546
- if (val?.length > 0) {
163547
- props.field.preps["data"] = val;
164174
+ watch(
164175
+ () => formData.value[props.field.fieldName + "OptionList"],
164176
+ (val) => {
164177
+ if (val?.length > 0) {
164178
+ props.field.preps["data"] = val;
164179
+ }
164180
+ },
164181
+ {
164182
+ immediate: true
163548
164183
  }
163549
- }, {
163550
- immediate: true
163551
- });
164184
+ );
163552
164185
  return (_ctx, _cache) => {
163553
164186
  const _component_el_tree_select = ElTreeSelect;
163554
164187
  const _component_starhorse_form_item = __unplugin_components_0$3;
163555
164188
  return openBlock(), createBlock(_component_starhorse_form_item, {
164189
+ showFormItem: __props.showFormItem,
163556
164190
  isDesign: __props.isDesign,
163557
164191
  disabled: __props.disabled,
163558
164192
  bareFlag: __props.bareFlag,
@@ -163573,7 +164207,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
163573
164207
  }), null, 16, ["fid", "disabled", "modelValue"])
163574
164208
  ]),
163575
164209
  _: 1
163576
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
164210
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163577
164211
  };
163578
164212
  }
163579
164213
  });
@@ -163594,6 +164228,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
163594
164228
  type: Boolean,
163595
164229
  default: false
163596
164230
  },
164231
+ showFormItem: {
164232
+ type: Boolean,
164233
+ default: false
164234
+ },
163597
164235
  bareFlag: {
163598
164236
  type: Boolean,
163599
164237
  default: false
@@ -163618,6 +164256,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
163618
164256
  return (_ctx, _cache) => {
163619
164257
  const _component_starhorse_form_item = __unplugin_components_0$3;
163620
164258
  return openBlock(), createBlock(_component_starhorse_form_item, {
164259
+ showFormItem: __props.showFormItem,
163621
164260
  isDesign: __props.isDesign,
163622
164261
  disabled: __props.disabled,
163623
164262
  bareFlag: __props.bareFlag,
@@ -163629,7 +164268,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
163629
164268
  ])),
163630
164269
  _: 1,
163631
164270
  __: [0]
163632
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
164271
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163633
164272
  };
163634
164273
  }
163635
164274
  });
@@ -163655,6 +164294,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
163655
164294
  type: Boolean,
163656
164295
  default: false
163657
164296
  },
164297
+ showFormItem: {
164298
+ type: Boolean,
164299
+ default: false
164300
+ },
163658
164301
  bareFlag: {
163659
164302
  type: Boolean,
163660
164303
  default: false
@@ -163709,7 +164352,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
163709
164352
  await nextTick();
163710
164353
  let datas = formData.value[props.field.fieldName];
163711
164354
  if (datas) {
163712
- dataField.value.push({ url: (props.field.preps["context"] || "/system-config") + datas });
164355
+ dataField.value.push({
164356
+ url: (props.field.preps["context"] || "/system-config") + datas
164357
+ });
163713
164358
  }
163714
164359
  let temp = props.field.preps?.headers;
163715
164360
  if (temp && Object.keys(temp).length > 0) {
@@ -163721,7 +164366,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
163721
164366
  () => props.formFieldList,
163722
164367
  (val) => {
163723
164368
  if (val && Object.keys(val).includes(props.field.fieldName)) {
163724
- dataField.value = [{ url: (props.field.preps["context"] || "/system-config") + val[props.field.fieldName] }];
164369
+ dataField.value = [
164370
+ {
164371
+ url: (props.field.preps["context"] || "/system-config") + val[props.field.fieldName]
164372
+ }
164373
+ ];
163725
164374
  }
163726
164375
  },
163727
164376
  { immediate: true, deep: true }
@@ -163733,6 +164382,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
163733
164382
  const _component_el_upload = ElUpload;
163734
164383
  const _component_starhorse_form_item = __unplugin_components_0$3;
163735
164384
  return openBlock(), createBlock(_component_starhorse_form_item, {
164385
+ showFormItem: __props.showFormItem,
163736
164386
  isDesign: __props.isDesign,
163737
164387
  disabled: __props.disabled,
163738
164388
  bareFlag: __props.bareFlag,
@@ -163788,14 +164438,14 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
163788
164438
  ]), 1040, ["fid", "disabled", "headers", "on-change", "on-error", "on-exceed", "on-preview", "on-progress", "on-remove", "on-success", "file-list"])
163789
164439
  ]),
163790
164440
  _: 1
163791
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
164441
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
163792
164442
  };
163793
164443
  }
163794
164444
  });
163795
164445
 
163796
164446
  /* unplugin-vue-components disabled */
163797
164447
 
163798
- const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-652f0049"]]);
164448
+ const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8d6cb6f7"]]);
163799
164449
 
163800
164450
  const uploadItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163801
164451
  __proto__: null,
@@ -163814,6 +164464,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
163814
164464
  type: Boolean,
163815
164465
  default: false
163816
164466
  },
164467
+ showFormItem: {
164468
+ type: Boolean,
164469
+ default: false
164470
+ },
163817
164471
  bareFlag: {
163818
164472
  type: Boolean,
163819
164473
  default: false
@@ -163919,7 +164573,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
163919
164573
  if (fields) {
163920
164574
  name = fields.map((item) => item.sourceField)[0];
163921
164575
  }
163922
- userTableRef.value.$refs.employeeInfoRef.setDataInfo(name, formData.value[realName]);
164576
+ userTableRef.value.$refs.employeeInfoRef.setDataInfo(
164577
+ name,
164578
+ formData.value[realName]
164579
+ );
163923
164580
  });
163924
164581
  };
163925
164582
  return (_ctx, _cache) => {
@@ -163949,6 +164606,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
163949
164606
  _: 1
163950
164607
  }, 8, ["title", "dialog-visible"]),
163951
164608
  createVNode(_component_starhorse_form_item, {
164609
+ showFormItem: __props.showFormItem,
163952
164610
  isDesign: __props.isDesign,
163953
164611
  disabled: __props.disabled,
163954
164612
  bareFlag: __props.bareFlag,
@@ -163976,7 +164634,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
163976
164634
  }, 16, ["disabled", "options", "fid", "modelValue"])
163977
164635
  ]),
163978
164636
  _: 1
163979
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"])
164637
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"])
163980
164638
  ], 64);
163981
164639
  };
163982
164640
  }
@@ -164006,6 +164664,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
164006
164664
  type: Boolean,
164007
164665
  default: false
164008
164666
  },
164667
+ showFormItem: {
164668
+ type: Boolean,
164669
+ default: false
164670
+ },
164009
164671
  bareFlag: {
164010
164672
  type: Boolean,
164011
164673
  default: false
@@ -164060,6 +164722,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
164060
164722
  return (_ctx, _cache) => {
164061
164723
  const _component_starhorse_form_item = __unplugin_components_0$3;
164062
164724
  return openBlock(), createBlock(_component_starhorse_form_item, {
164725
+ showFormItem: __props.showFormItem,
164063
164726
  isDesign: __props.isDesign,
164064
164727
  disabled: __props.disabled,
164065
164728
  bareFlag: __props.bareFlag,
@@ -164068,16 +164731,17 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
164068
164731
  }, {
164069
164732
  default: withCtx(() => [
164070
164733
  (openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), mergeProps({
164734
+ showFormItem: __props.showFormItem,
164071
164735
  isDesign: __props.isDesign,
164072
164736
  disabled: __props.disabled,
164073
164737
  bareFlag: __props.bareFlag
164074
164738
  }, __props.field["preps"], {
164075
164739
  dataForm: formData.value,
164076
164740
  "onUpdate:dataForm": _cache[0] || (_cache[0] = ($event) => formData.value = $event)
164077
- }), null, 16, ["isDesign", "disabled", "bareFlag", "dataForm"]))
164741
+ }), null, 16, ["showFormItem", "isDesign", "disabled", "bareFlag", "dataForm"]))
164078
164742
  ]),
164079
164743
  _: 1
164080
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
164744
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
164081
164745
  };
164082
164746
  }
164083
164747
  });
@@ -172455,6 +173119,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
172455
173119
  type: Boolean,
172456
173120
  default: false
172457
173121
  },
173122
+ showFormItem: {
173123
+ type: Boolean,
173124
+ default: false
173125
+ },
172458
173126
  bareFlag: {
172459
173127
  type: Boolean,
172460
173128
  default: false
@@ -172498,6 +173166,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
172498
173166
  return (_ctx, _cache) => {
172499
173167
  const _component_starhorse_form_item = __unplugin_components_0$3;
172500
173168
  return openBlock(), createBlock(_component_starhorse_form_item, {
173169
+ showFormItem: __props.showFormItem,
172501
173170
  isDesign: __props.isDesign,
172502
173171
  disabled: __props.disabled,
172503
173172
  bareFlag: __props.bareFlag,
@@ -172513,14 +173182,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
172513
173182
  }, null, 8, _hoisted_1$9)
172514
173183
  ]),
172515
173184
  _: 1
172516
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
173185
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
172517
173186
  };
172518
173187
  }
172519
173188
  });
172520
173189
 
172521
173190
  /* unplugin-vue-components disabled */
172522
173191
 
172523
- const viewMarkdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-3eec27ad"]]);
173192
+ const viewMarkdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-c4e43e21"]]);
172524
173193
 
172525
173194
  const viewMarkdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
172526
173195
  __proto__: null,
@@ -173785,6 +174454,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
173785
174454
  type: Boolean,
173786
174455
  default: false
173787
174456
  },
174457
+ showFormItem: {
174458
+ type: Boolean,
174459
+ default: false
174460
+ },
173788
174461
  bareFlag: {
173789
174462
  type: Boolean,
173790
174463
  default: false
@@ -173841,6 +174514,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
173841
174514
  return (_ctx, _cache) => {
173842
174515
  const _component_starhorse_form_item = __unplugin_components_0$3;
173843
174516
  return openBlock(), createBlock(_component_starhorse_form_item, {
174517
+ showFormItem: __props.showFormItem,
173844
174518
  isDesign: __props.isDesign,
173845
174519
  disabled: __props.disabled,
173846
174520
  bareFlag: __props.bareFlag,
@@ -173851,7 +174525,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
173851
174525
  createVNode(QrcodeVue, mergeProps({ value: dataValue.value }, __props.field.preps, { "image-settings": imageSettings.value }), null, 16, ["value", "image-settings"])
173852
174526
  ]),
173853
174527
  _: 1
173854
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
174528
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
173855
174529
  };
173856
174530
  }
173857
174531
  });
@@ -173874,6 +174548,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
173874
174548
  type: Boolean,
173875
174549
  default: false
173876
174550
  },
174551
+ showFormItem: {
174552
+ type: Boolean,
174553
+ default: false
174554
+ },
173877
174555
  bareFlag: {
173878
174556
  type: Boolean,
173879
174557
  default: false
@@ -173951,6 +174629,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
173951
174629
  return (_ctx, _cache) => {
173952
174630
  const _component_starhorse_form_item = __unplugin_components_0$3;
173953
174631
  return openBlock(), createBlock(_component_starhorse_form_item, {
174632
+ showFormItem: __props.showFormItem,
173954
174633
  isDesign: __props.isDesign,
173955
174634
  disabled: __props.disabled,
173956
174635
  bareFlag: __props.bareFlag,
@@ -173964,7 +174643,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
173964
174643
  }, null, 8, ["value", "options"])
173965
174644
  ]),
173966
174645
  _: 1
173967
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
174646
+ }, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
173968
174647
  };
173969
174648
  }
173970
174649
  });
@@ -173998,14 +174677,16 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
173998
174677
  emits: ["selectItem"],
173999
174678
  setup(__props, { emit: __emit }) {
174000
174679
  useCssVars((_ctx) => ({
174001
- "0e267edb": unref(menuColor)
174680
+ "9ab310e4": unref(menuColor)
174002
174681
  }));
174003
174682
  const props = __props;
174004
174683
  const emits = __emit;
174005
174684
  const selectItem = (item) => {
174006
174685
  emits("selectItem", item);
174007
174686
  };
174008
- let menuColor = computed(() => props.level > 1 ? "var(--star-horse-shadow)" : "var(--star-horse-background)");
174687
+ let menuColor = computed(
174688
+ () => props.level > 1 ? "var(--star-horse-shadow)" : "var(--star-horse-background)"
174689
+ );
174009
174690
  return (_ctx, _cache) => {
174010
174691
  const _component_el_icon = ElIcon;
174011
174692
  const _component_MenuItem = resolveComponent("MenuItem", true);
@@ -174029,11 +174710,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
174029
174710
  default: withCtx(() => [
174030
174711
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.item[__props.preps.children ?? "children"], (sitem, key) => {
174031
174712
  return openBlock(), createBlock(_component_MenuItem, {
174032
- key: unref(compKey)(sitem, key),
174033
174713
  item: sitem,
174034
174714
  level: __props.level + 1,
174035
174715
  preps: __props.preps,
174036
- onSelectItem: selectItem
174716
+ onSelectItem: selectItem,
174717
+ key: unref(compKey)(sitem, key)
174037
174718
  }, null, 8, ["item", "level", "preps"]);
174038
174719
  }), 128))
174039
174720
  ]),
@@ -174063,7 +174744,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
174063
174744
 
174064
174745
  /* unplugin-vue-components disabled */
174065
174746
 
174066
- const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-fb7acce2"]]);
174747
+ const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-eec111f8"]]);
174067
174748
 
174068
174749
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
174069
174750
  __name: "StarHorseMenu",
@@ -174117,7 +174798,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
174117
174798
 
174118
174799
  /* unplugin-vue-components disabled */
174119
174800
 
174120
- const StarHorseMenu = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-d982918d"]]);
174801
+ const StarHorseMenu = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-221dbeb4"]]);
174121
174802
 
174122
174803
  const StarHorseMenu$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
174123
174804
  __proto__: null,
@@ -174145,9 +174826,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
174145
174826
  },
174146
174827
  setup(__props) {
174147
174828
  useCssVars((_ctx) => ({
174148
- "50991ffe": __props.cursor,
174149
- "173812ae": __props.size,
174150
- "d188248a": __props.color
174829
+ "3655dfb4": __props.cursor,
174830
+ "dacda842": __props.size,
174831
+ "80a54176": __props.color
174151
174832
  }));
174152
174833
  const props = __props;
174153
174834
  const svgClass = computed(() => {
@@ -174184,7 +174865,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
174184
174865
 
174185
174866
  /* unplugin-vue-components disabled */
174186
174867
 
174187
- const StarHorseSvg = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-9abc3606"]]);
174868
+ const StarHorseSvg = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-8e96b37d"]]);
174188
174869
 
174189
174870
  const StarHorseSvg$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
174190
174871
  __proto__: null,
@@ -174268,7 +174949,7 @@ const useContinusConfigStore = defineStore(
174268
174949
  {}
174269
174950
  );
174270
174951
 
174271
- const items = /* #__PURE__ */ Object.assign({"/src/components/comp/ShDynamicForm.vue": () => Promise.resolve().then(() => ShDynamicForm),"/src/components/comp/ShForm.vue": () => Promise.resolve().then(() => ShForm$1),"/src/components/comp/ShTableListColumn.vue": () => Promise.resolve().then(() => ShTableListColumn),"/src/components/comp/StarHorseDataSelector.vue": () => Promise.resolve().then(() => StarHorseDataSelector$1),"/src/components/comp/StarHorseDataView.vue": () => Promise.resolve().then(() => StarHorseDataView),"/src/components/comp/StarHorseDataViewItems.vue": () => Promise.resolve().then(() => StarHorseDataViewItems),"/src/components/comp/StarHorseDataViewTable.vue": () => Promise.resolve().then(() => StarHorseDataViewTable),"/src/components/comp/StarHorseDialog.vue": () => Promise.resolve().then(() => StarHorseDialog),"/src/components/comp/StarHorseDraggable.vue": () => Promise.resolve().then(() => StarHorseDraggable$1),"/src/components/comp/StarHorseForm.vue": () => Promise.resolve().then(() => StarHorseForm),"/src/components/comp/StarHorseFormItem.vue": () => Promise.resolve().then(() => StarHorseFormItem),"/src/components/comp/StarHorseFormList.vue": () => Promise.resolve().then(() => StarHorseFormList),"/src/components/comp/StarHorseFormTable.vue": () => Promise.resolve().then(() => StarHorseFormTable),"/src/components/comp/StarHorseIcon.vue": () => Promise.resolve().then(() => StarHorseIcon),"/src/components/comp/StarHorseItem.vue": () => Promise.resolve().then(() => StarHorseItem),"/src/components/comp/StarHorseJsonEditor.vue": () => Promise.resolve().then(() => StarHorseJsonEditor),"/src/components/comp/StarHorsePopover.vue": () => Promise.resolve().then(() => StarHorsePopover),"/src/components/comp/StarHorseSearchComp.vue": () => Promise.resolve().then(() => StarHorseSearchComp),"/src/components/comp/StarHorseStaticTable.vue": () => Promise.resolve().then(() => StarHorseStaticTable$1),"/src/components/comp/StarHorseTableColumn.vue": () => Promise.resolve().then(() => StarHorseTableColumn),"/src/components/comp/StarHorseTableComp.vue": () => Promise.resolve().then(() => StarHorseTableComp),"/src/components/comp/StarHorseTableViewColumn.vue": () => Promise.resolve().then(() => StarHorseTableViewColumn),"/src/components/comp/StarHorseTree.vue": () => Promise.resolve().then(() => StarHorseTree$1),"/src/components/comp/items/UTableColumn.vue": () => Promise.resolve().then(() => UTableColumn),"/src/components/comp/items/boxItem.vue": () => Promise.resolve().then(() => boxItem),"/src/components/comp/items/cardItem.vue": () => Promise.resolve().then(() => cardItem$1),"/src/components/comp/items/collapseItem.vue": () => Promise.resolve().then(() => collapseItem$1),"/src/components/comp/items/dytableItem.vue": () => Promise.resolve().then(() => dytableItem$1),"/src/components/comp/items/otherItem.vue": () => Promise.resolve().then(() => otherItem),"/src/components/comp/items/tabItem.vue": () => Promise.resolve().then(() => tabItem$1),"/src/components/comp/items/tabPanelItem.vue": () => Promise.resolve().then(() => tabPanelItem),"/src/components/comp/items/tableColumn.vue": () => Promise.resolve().then(() => tableColumn),"/src/components/comp/items/tableItem.vue": () => Promise.resolve().then(() => tableItem),"/src/components/comp/items/tablebtn.vue": () => Promise.resolve().then(() => tablebtn),"/src/components/comp/items/viewBoxItem.vue": () => Promise.resolve().then(() => viewBoxItem),"/src/components/comp/items/viewCardItem.vue": () => Promise.resolve().then(() => viewCardItem$1),"/src/components/comp/items/viewCollapseItem.vue": () => Promise.resolve().then(() => viewCollapseItem$1),"/src/components/comp/items/viewDytableItem.vue": () => Promise.resolve().then(() => viewDytableItem$1),"/src/components/comp/items/viewOtherItem.vue": () => Promise.resolve().then(() => viewOtherItem),"/src/components/comp/items/viewTabItem.vue": () => Promise.resolve().then(() => viewTabItem$1),"/src/components/comp/items/viewTabPanelItem.vue": () => Promise.resolve().then(() => viewTabPanelItem),"/src/components/comp/items/viewTableItem.vue": () => Promise.resolve().then(() => viewTableItem),"/src/components/formcomp/container/box-container.vue": () => Promise.resolve().then(() => boxContainer$1),"/src/components/formcomp/container/card-container.vue": () => Promise.resolve().then(() => cardContainer$1),"/src/components/formcomp/container/collapse-container.vue": () => Promise.resolve().then(() => collapseContainer$1),"/src/components/formcomp/container/dytable-col.vue": () => Promise.resolve().then(() => dytableCol),"/src/components/formcomp/container/dytable-container.vue": () => Promise.resolve().then(() => dytableContainer$1),"/src/components/formcomp/container/group-box-container.vue": () => Promise.resolve().then(() => groupBoxContainer),"/src/components/formcomp/container/tab-container.vue": () => Promise.resolve().then(() => tabContainer$1),"/src/components/formcomp/container/table-container.vue": () => Promise.resolve().then(() => tableContainer$1),"/src/components/formcomp/items/area-item.vue": () => Promise.resolve().then(() => areaItem$1),"/src/components/formcomp/items/audio-item.vue": () => Promise.resolve().then(() => audioItem),"/src/components/formcomp/items/autocomplete-item.vue": () => Promise.resolve().then(() => autocompleteItem),"/src/components/formcomp/items/barcode-item.vue": () => Promise.resolve().then(() => barcodeItem),"/src/components/formcomp/items/base-json-item.vue": () => Promise.resolve().then(() => baseJsonItem),"/src/components/formcomp/items/button-item.vue": () => Promise.resolve().then(() => buttonItem$1),"/src/components/formcomp/items/cascade-item.vue": () => Promise.resolve().then(() => cascadeItem$1),"/src/components/formcomp/items/checkbox-item.vue": () => Promise.resolve().then(() => checkboxItem),"/src/components/formcomp/items/color-item.vue": () => Promise.resolve().then(() => colorItem),"/src/components/formcomp/items/cron-item.vue": () => Promise.resolve().then(() => cronItem$1),"/src/components/formcomp/items/datetime-item.vue": () => Promise.resolve().then(() => datetimeItem$1),"/src/components/formcomp/items/depart-item.vue": () => Promise.resolve().then(() => departItem),"/src/components/formcomp/items/dialog-input-item.vue": () => Promise.resolve().then(() => dialogInputItem$1),"/src/components/formcomp/items/divider-item.vue": () => Promise.resolve().then(() => dividerItem),"/src/components/formcomp/items/html-item.vue": () => Promise.resolve().then(() => htmlItem$1),"/src/components/formcomp/items/htmleditor-item.vue": () => Promise.resolve().then(() => htmleditorItem),"/src/components/formcomp/items/icon-item.vue": () => Promise.resolve().then(() => iconItem$1),"/src/components/formcomp/items/image-item.vue": () => Promise.resolve().then(() => imageItem$1),"/src/components/formcomp/items/input-item.vue": () => Promise.resolve().then(() => inputItem$1),"/src/components/formcomp/items/json-array-item.vue": () => Promise.resolve().then(() => jsonArrayItem),"/src/components/formcomp/items/json-item.vue": () => Promise.resolve().then(() => jsonItem),"/src/components/formcomp/items/markdown-item.vue": () => Promise.resolve().then(() => markdownItem$1),"/src/components/formcomp/items/number-item.vue": () => Promise.resolve().then(() => numberItem$1),"/src/components/formcomp/items/number-range-item.vue": () => Promise.resolve().then(() => numberRangeItem$1),"/src/components/formcomp/items/page-select-item.vue": () => Promise.resolve().then(() => pageSelectItem$1),"/src/components/formcomp/items/password-item.vue": () => Promise.resolve().then(() => passwordItem),"/src/components/formcomp/items/qrcode-item.vue": () => Promise.resolve().then(() => qrcodeItem),"/src/components/formcomp/items/radio-item.vue": () => Promise.resolve().then(() => radioItem),"/src/components/formcomp/items/rate-item.vue": () => Promise.resolve().then(() => rateItem),"/src/components/formcomp/items/select-item.vue": () => Promise.resolve().then(() => selectItem$1),"/src/components/formcomp/items/signature-item.vue": () => Promise.resolve().then(() => signatureItem$1),"/src/components/formcomp/items/slider-item.vue": () => Promise.resolve().then(() => sliderItem),"/src/components/formcomp/items/starhorse-form-item.vue": () => Promise.resolve().then(() => starhorseFormItem),"/src/components/formcomp/items/switch-item.vue": () => Promise.resolve().then(() => switchItem),"/src/components/formcomp/items/tag-item.vue": () => Promise.resolve().then(() => tagItem),"/src/components/formcomp/items/text-item.vue": () => Promise.resolve().then(() => textItem),"/src/components/formcomp/items/textarea-item.vue": () => Promise.resolve().then(() => textareaItem),"/src/components/formcomp/items/time-item.vue": () => Promise.resolve().then(() => timeItem$1),"/src/components/formcomp/items/time-picker-item.vue": () => Promise.resolve().then(() => timePickerItem$1),"/src/components/formcomp/items/transfer-item.vue": () => Promise.resolve().then(() => transferItem),"/src/components/formcomp/items/tselect-item.vue": () => Promise.resolve().then(() => tselectItem),"/src/components/formcomp/items/unknown-item.vue": () => Promise.resolve().then(() => unknownItem),"/src/components/formcomp/items/upload-item.vue": () => Promise.resolve().then(() => uploadItem$1),"/src/components/formcomp/items/user-item.vue": () => Promise.resolve().then(() => userItem),"/src/components/formcomp/items/usercomp-item.vue": () => Promise.resolve().then(() => usercompItem),"/src/components/formcomp/items/view-markdown-item.vue": () => Promise.resolve().then(() => viewMarkdownItem$1),"/src/components/system/ContentMenu.vue": () => Promise.resolve().then(() => ContentMenu),"/src/components/system/StarHorseButtonList.vue": () => Promise.resolve().then(() => StarHorseButtonList),"/src/components/system/StarHorseMenu.vue": () => Promise.resolve().then(() => StarHorseMenu$1),"/src/components/system/StarHorseSvg.vue": () => Promise.resolve().then(() => StarHorseSvg$1)
174952
+ const items = /* #__PURE__ */ Object.assign({"/src/components/comp/ShDynamicForm.vue": () => Promise.resolve().then(() => ShDynamicForm),"/src/components/comp/ShForm.vue": () => Promise.resolve().then(() => ShForm),"/src/components/comp/ShTableListColumn.vue": () => Promise.resolve().then(() => ShTableListColumn),"/src/components/comp/StarHorseDataSelector.vue": () => Promise.resolve().then(() => StarHorseDataSelector$1),"/src/components/comp/StarHorseDataView.vue": () => Promise.resolve().then(() => StarHorseDataView),"/src/components/comp/StarHorseDataViewItems.vue": () => Promise.resolve().then(() => StarHorseDataViewItems),"/src/components/comp/StarHorseDataViewTable.vue": () => Promise.resolve().then(() => StarHorseDataViewTable),"/src/components/comp/StarHorseDialog.vue": () => Promise.resolve().then(() => StarHorseDialog),"/src/components/comp/StarHorseDraggable.vue": () => Promise.resolve().then(() => StarHorseDraggable$1),"/src/components/comp/StarHorseForm.vue": () => Promise.resolve().then(() => StarHorseForm),"/src/components/comp/StarHorseFormItem.vue": () => Promise.resolve().then(() => StarHorseFormItem),"/src/components/comp/StarHorseFormList.vue": () => Promise.resolve().then(() => StarHorseFormList),"/src/components/comp/StarHorseFormTable.vue": () => Promise.resolve().then(() => StarHorseFormTable),"/src/components/comp/StarHorseIcon.vue": () => Promise.resolve().then(() => StarHorseIcon),"/src/components/comp/StarHorseItem.vue": () => Promise.resolve().then(() => StarHorseItem),"/src/components/comp/StarHorseJsonEditor.vue": () => Promise.resolve().then(() => StarHorseJsonEditor),"/src/components/comp/StarHorsePopover.vue": () => Promise.resolve().then(() => StarHorsePopover),"/src/components/comp/StarHorseSearchComp.vue": () => Promise.resolve().then(() => StarHorseSearchComp),"/src/components/comp/StarHorseStaticTable.vue": () => Promise.resolve().then(() => StarHorseStaticTable$1),"/src/components/comp/StarHorseTableColumn.vue": () => Promise.resolve().then(() => StarHorseTableColumn),"/src/components/comp/StarHorseTableComp.vue": () => Promise.resolve().then(() => StarHorseTableComp),"/src/components/comp/StarHorseTableViewColumn.vue": () => Promise.resolve().then(() => StarHorseTableViewColumn),"/src/components/comp/StarHorseTree.vue": () => Promise.resolve().then(() => StarHorseTree$1),"/src/components/comp/items/UTableColumn.vue": () => Promise.resolve().then(() => UTableColumn),"/src/components/comp/items/boxItem.vue": () => Promise.resolve().then(() => boxItem),"/src/components/comp/items/cardItem.vue": () => Promise.resolve().then(() => cardItem$1),"/src/components/comp/items/collapseItem.vue": () => Promise.resolve().then(() => collapseItem$1),"/src/components/comp/items/dytableItem.vue": () => Promise.resolve().then(() => dytableItem$1),"/src/components/comp/items/otherItem.vue": () => Promise.resolve().then(() => otherItem),"/src/components/comp/items/tabItem.vue": () => Promise.resolve().then(() => tabItem$1),"/src/components/comp/items/tabPanelItem.vue": () => Promise.resolve().then(() => tabPanelItem),"/src/components/comp/items/tableColumn.vue": () => Promise.resolve().then(() => tableColumn),"/src/components/comp/items/tableItem.vue": () => Promise.resolve().then(() => tableItem),"/src/components/comp/items/tablebtn.vue": () => Promise.resolve().then(() => tablebtn),"/src/components/comp/items/viewBoxItem.vue": () => Promise.resolve().then(() => viewBoxItem),"/src/components/comp/items/viewCardItem.vue": () => Promise.resolve().then(() => viewCardItem$1),"/src/components/comp/items/viewCollapseItem.vue": () => Promise.resolve().then(() => viewCollapseItem$1),"/src/components/comp/items/viewDytableItem.vue": () => Promise.resolve().then(() => viewDytableItem$1),"/src/components/comp/items/viewOtherItem.vue": () => Promise.resolve().then(() => viewOtherItem),"/src/components/comp/items/viewTabItem.vue": () => Promise.resolve().then(() => viewTabItem$1),"/src/components/comp/items/viewTabPanelItem.vue": () => Promise.resolve().then(() => viewTabPanelItem),"/src/components/comp/items/viewTableItem.vue": () => Promise.resolve().then(() => viewTableItem),"/src/components/formcomp/container/box-container.vue": () => Promise.resolve().then(() => boxContainer$1),"/src/components/formcomp/container/card-container.vue": () => Promise.resolve().then(() => cardContainer$1),"/src/components/formcomp/container/collapse-container.vue": () => Promise.resolve().then(() => collapseContainer$1),"/src/components/formcomp/container/dytable-col.vue": () => Promise.resolve().then(() => dytableCol),"/src/components/formcomp/container/dytable-container.vue": () => Promise.resolve().then(() => dytableContainer$1),"/src/components/formcomp/container/group-box-container.vue": () => Promise.resolve().then(() => groupBoxContainer),"/src/components/formcomp/container/tab-container.vue": () => Promise.resolve().then(() => tabContainer$1),"/src/components/formcomp/container/table-container.vue": () => Promise.resolve().then(() => tableContainer$1),"/src/components/formcomp/items/area-item.vue": () => Promise.resolve().then(() => areaItem$1),"/src/components/formcomp/items/audio-item.vue": () => Promise.resolve().then(() => audioItem),"/src/components/formcomp/items/autocomplete-item.vue": () => Promise.resolve().then(() => autocompleteItem),"/src/components/formcomp/items/barcode-item.vue": () => Promise.resolve().then(() => barcodeItem),"/src/components/formcomp/items/base-json-item.vue": () => Promise.resolve().then(() => baseJsonItem),"/src/components/formcomp/items/button-item.vue": () => Promise.resolve().then(() => buttonItem$1),"/src/components/formcomp/items/cascade-item.vue": () => Promise.resolve().then(() => cascadeItem$1),"/src/components/formcomp/items/checkbox-item.vue": () => Promise.resolve().then(() => checkboxItem),"/src/components/formcomp/items/color-item.vue": () => Promise.resolve().then(() => colorItem),"/src/components/formcomp/items/cron-item.vue": () => Promise.resolve().then(() => cronItem$1),"/src/components/formcomp/items/datetime-item.vue": () => Promise.resolve().then(() => datetimeItem$1),"/src/components/formcomp/items/depart-item.vue": () => Promise.resolve().then(() => departItem),"/src/components/formcomp/items/dialog-input-item.vue": () => Promise.resolve().then(() => dialogInputItem$1),"/src/components/formcomp/items/divider-item.vue": () => Promise.resolve().then(() => dividerItem),"/src/components/formcomp/items/html-item.vue": () => Promise.resolve().then(() => htmlItem$1),"/src/components/formcomp/items/htmleditor-item.vue": () => Promise.resolve().then(() => htmleditorItem),"/src/components/formcomp/items/icon-item.vue": () => Promise.resolve().then(() => iconItem$1),"/src/components/formcomp/items/image-item.vue": () => Promise.resolve().then(() => imageItem$1),"/src/components/formcomp/items/input-item.vue": () => Promise.resolve().then(() => inputItem$1),"/src/components/formcomp/items/json-array-item.vue": () => Promise.resolve().then(() => jsonArrayItem),"/src/components/formcomp/items/json-item.vue": () => Promise.resolve().then(() => jsonItem),"/src/components/formcomp/items/markdown-item.vue": () => Promise.resolve().then(() => markdownItem$1),"/src/components/formcomp/items/number-item.vue": () => Promise.resolve().then(() => numberItem$1),"/src/components/formcomp/items/number-range-item.vue": () => Promise.resolve().then(() => numberRangeItem$1),"/src/components/formcomp/items/page-select-item.vue": () => Promise.resolve().then(() => pageSelectItem$1),"/src/components/formcomp/items/password-item.vue": () => Promise.resolve().then(() => passwordItem),"/src/components/formcomp/items/qrcode-item.vue": () => Promise.resolve().then(() => qrcodeItem),"/src/components/formcomp/items/radio-item.vue": () => Promise.resolve().then(() => radioItem),"/src/components/formcomp/items/rate-item.vue": () => Promise.resolve().then(() => rateItem),"/src/components/formcomp/items/select-item.vue": () => Promise.resolve().then(() => selectItem$1),"/src/components/formcomp/items/signature-item.vue": () => Promise.resolve().then(() => signatureItem$1),"/src/components/formcomp/items/slider-item.vue": () => Promise.resolve().then(() => sliderItem),"/src/components/formcomp/items/starhorse-form-item.vue": () => Promise.resolve().then(() => starhorseFormItem),"/src/components/formcomp/items/switch-item.vue": () => Promise.resolve().then(() => switchItem),"/src/components/formcomp/items/tag-item.vue": () => Promise.resolve().then(() => tagItem),"/src/components/formcomp/items/text-item.vue": () => Promise.resolve().then(() => textItem),"/src/components/formcomp/items/textarea-item.vue": () => Promise.resolve().then(() => textareaItem),"/src/components/formcomp/items/time-item.vue": () => Promise.resolve().then(() => timeItem$1),"/src/components/formcomp/items/time-picker-item.vue": () => Promise.resolve().then(() => timePickerItem$1),"/src/components/formcomp/items/transfer-item.vue": () => Promise.resolve().then(() => transferItem),"/src/components/formcomp/items/tselect-item.vue": () => Promise.resolve().then(() => tselectItem),"/src/components/formcomp/items/unknown-item.vue": () => Promise.resolve().then(() => unknownItem),"/src/components/formcomp/items/upload-item.vue": () => Promise.resolve().then(() => uploadItem$1),"/src/components/formcomp/items/user-item.vue": () => Promise.resolve().then(() => userItem),"/src/components/formcomp/items/usercomp-item.vue": () => Promise.resolve().then(() => usercompItem),"/src/components/formcomp/items/view-markdown-item.vue": () => Promise.resolve().then(() => viewMarkdownItem$1),"/src/components/system/ContentMenu.vue": () => Promise.resolve().then(() => ContentMenu),"/src/components/system/StarHorseButtonList.vue": () => Promise.resolve().then(() => StarHorseButtonList),"/src/components/system/StarHorseMenu.vue": () => Promise.resolve().then(() => StarHorseMenu$1),"/src/components/system/StarHorseSvg.vue": () => Promise.resolve().then(() => StarHorseSvg$1)
174272
174953
 
174273
174954
 
174274
174955
 
@@ -175045,7 +175726,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
175045
175726
  size: __props.compSize,
175046
175727
  label: headerItem.preps?.hideLabel ? "" : headerItem.label,
175047
175728
  required: headerItem.required,
175048
- prop: unref(loadProp)(unref(getPrefix)(cardItem, __props.propPrefix, __props.dataIndex, key2), headerItem.fieldName, -1, -1),
175729
+ prop: unref(loadProp)(
175730
+ unref(getPrefix)(cardItem, __props.propPrefix, __props.dataIndex, key2),
175731
+ headerItem.fieldName,
175732
+ -1,
175733
+ -1
175734
+ ),
175049
175735
  labelPosition: __props.parentPreps?.labelPosition,
175050
175736
  rules: unref(validMsg)(headerItem, dataForm.value)
175051
175737
  }, {
@@ -175097,7 +175783,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
175097
175783
 
175098
175784
  /* unplugin-vue-components disabled */
175099
175785
 
175100
- const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b1149e92"]]);
175786
+ const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-fe9df9ac"]]);
175101
175787
 
175102
175788
  const cardItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175103
175789
  __proto__: null,
@@ -175218,7 +175904,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
175218
175904
 
175219
175905
  /* unplugin-vue-components disabled */
175220
175906
 
175221
- const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-c13983cf"]]);
175907
+ const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-eb12e982"]]);
175222
175908
 
175223
175909
  const collapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175224
175910
  __proto__: null,
@@ -175327,7 +176013,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
175327
176013
 
175328
176014
  /* unplugin-vue-components disabled */
175329
176015
 
175330
- const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-9e27b198"]]);
176016
+ const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-ca735455"]]);
175331
176017
 
175332
176018
  const dytableItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175333
176019
  __proto__: null,
@@ -175502,7 +176188,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
175502
176188
 
175503
176189
  /* unplugin-vue-components disabled */
175504
176190
 
175505
- const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-5e581477"]]);
176191
+ const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-9b1b4c46"]]);
175506
176192
 
175507
176193
  const tabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175508
176194
  __proto__: null,
@@ -175641,7 +176327,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
175641
176327
 
175642
176328
  /* unplugin-vue-components disabled */
175643
176329
 
175644
- const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-06654001"]]);
176330
+ const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-68cfc290"]]);
175645
176331
 
175646
176332
  const tabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175647
176333
  __proto__: null,
@@ -175782,7 +176468,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
175782
176468
 
175783
176469
  /* unplugin-vue-components disabled */
175784
176470
 
175785
- const viewCardItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-157469e0"]]);
176471
+ const viewCardItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-39dcf76b"]]);
175786
176472
 
175787
176473
  const viewCardItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175788
176474
  __proto__: null,
@@ -175859,7 +176545,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
175859
176545
 
175860
176546
  /* unplugin-vue-components disabled */
175861
176547
 
175862
- const viewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-67980705"]]);
176548
+ const viewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7d497f01"]]);
175863
176549
 
175864
176550
  const viewCollapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175865
176551
  __proto__: null,
@@ -175946,7 +176632,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
175946
176632
 
175947
176633
  /* unplugin-vue-components disabled */
175948
176634
 
175949
- const viewDytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-788b9083"]]);
176635
+ const viewDytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-64cc620c"]]);
175950
176636
 
175951
176637
  const viewDytableItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175952
176638
  __proto__: null,
@@ -176079,7 +176765,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
176079
176765
 
176080
176766
  /* unplugin-vue-components disabled */
176081
176767
 
176082
- const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-55d3c4fc"]]);
176768
+ const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b2d10fac"]]);
176083
176769
 
176084
176770
  const viewTabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
176085
176771
  __proto__: null,
@@ -176167,7 +176853,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
176167
176853
 
176168
176854
  /* unplugin-vue-components disabled */
176169
176855
 
176170
- const viewTabItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d483ef4b"]]);
176856
+ const viewTabItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bb00b470"]]);
176171
176857
 
176172
176858
  const viewTabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
176173
176859
  __proto__: null,
@@ -176298,4 +176984,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
176298
176984
  fullWidthButton: e
176299
176985
  }, Symbol.toStringTag, { value: 'Module' }));
176300
176986
 
176301
- 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, _sfc_main$1C as StarHorseDataView, _sfc_main$1D as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$8 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, __unplugin_components_0$a as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, StarHorseMenu, _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, _sfc_main$t as textItem, _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 };
176987
+ export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, _sfc_main$1i as ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, _sfc_main$1C as StarHorseDataView, _sfc_main$1D as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$8 as StarHorseDialog, StarHorseDraggable, _sfc_main$1u as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, __unplugin_components_0$a as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, StarHorseMenu, _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, _sfc_main$t as textItem, _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 };