star-horse-lowcode 2.7.51 → 2.7.53

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);
@@ -69073,7 +69134,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
69073
69134
  width: { type: String, default: "24px" },
69074
69135
  height: { type: String, default: "22px" },
69075
69136
  marginLeft: { type: String, default: "0.1em" },
69076
- marginRight: { type: String, default: "0.1em" },
69137
+ marginRight: { type: String, default: "0.2em" },
69077
69138
  borderRadius: { type: String, default: "5px" },
69078
69139
  boorderPadding: { type: String, default: "3px" },
69079
69140
  // 图标是否有边框
@@ -69084,15 +69145,15 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
69084
69145
  },
69085
69146
  setup(__props) {
69086
69147
  useCssVars((_ctx) => ({
69087
- "6fea7213": __props.cursor,
69088
- "15348369": __props.width,
69089
- "778cefe4": __props.height,
69090
- "141d8506": __props.color,
69091
- "82c66c04": __props.size,
69092
- "22d6cb12": __props.marginLeft,
69093
- "3858f871": __props.marginRight,
69094
- "197a98db": __props.borderRadius,
69095
- "ab5f2926": __props.boorderPadding
69148
+ "c9b9eafe": __props.cursor,
69149
+ "7170253b": __props.width,
69150
+ "ba74ef5c": __props.height,
69151
+ "705926d8": __props.color,
69152
+ "4b46b428": __props.size,
69153
+ "56117c80": __props.marginLeft,
69154
+ "6c7474c3": __props.marginRight,
69155
+ "68cea6c9": __props.borderRadius,
69156
+ "74d8b5db": __props.boorderPadding
69096
69157
  }));
69097
69158
  const props = __props;
69098
69159
  const iconName = computed(() => `sh-${props.iconClass}`);
@@ -69124,7 +69185,7 @@ const _export_sfc = (sfc, props) => {
69124
69185
  return target;
69125
69186
  };
69126
69187
 
69127
- const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__scopeId", "data-v-3209fcce"]]);
69188
+ const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__scopeId", "data-v-7c41d011"]]);
69128
69189
 
69129
69190
  const StarHorseIcon = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
69130
69191
  __proto__: null,
@@ -69336,14 +69397,26 @@ const validTypes = [
69336
69397
  pattern: /^[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?$/
69337
69398
  },
69338
69399
  { message: "只能是字母", value: "letter", pattern: /^[a-zA-Z]*$/ },
69339
- { message: "只能是字母或数字", value: "letterDigit", pattern: /^[a-zA-Z0-9]*$/ },
69400
+ {
69401
+ message: "只能是字母或数字",
69402
+ value: "letterDigit",
69403
+ pattern: /^[a-zA-Z0-9]*$/
69404
+ },
69340
69405
  {
69341
69406
  message: (min, max) => `长度范围须在 ${min} 到 ${max} 之间`,
69342
69407
  value: "dataLength",
69343
69408
  pattern: (min, max) => new RegExp(`^.{${min},${max}}$`)
69344
69409
  },
69345
- { message: "只能是字母、数字和下划线", value: "letterDigitUnderline", pattern: /^[a-zA-Z0-9_]*$/ },
69346
- { message: "只能是字母、数字、下划线和中横线", value: "letterDigitUnderlineHyphen", pattern: /^[a-zA-Z0-9_\-]*$/ },
69410
+ {
69411
+ message: "只能是字母、数字和下划线",
69412
+ value: "letterDigitUnderline",
69413
+ pattern: /^[a-zA-Z0-9_]*$/
69414
+ },
69415
+ {
69416
+ message: "只能是字母、数字、下划线和中横线",
69417
+ value: "letterDigitUnderlineHyphen",
69418
+ pattern: /^[a-zA-Z0-9_\-]*$/
69419
+ },
69347
69420
  {
69348
69421
  message: "密码需包含大写字母、小写字母、数字和特殊字符,长度 8 - 16",
69349
69422
  value: "strongPassword",
@@ -69415,12 +69488,20 @@ function getValidType(type, options) {
69415
69488
  function validMsg(item, dataForm) {
69416
69489
  const rules = [];
69417
69490
  if (item.required && !item.disabled) {
69418
- rules.push({ required: true, message: `${item.label}不能为空`, trigger: "blur" });
69491
+ rules.push({
69492
+ required: true,
69493
+ message: `${item.label}不能为空`,
69494
+ trigger: "blur"
69495
+ });
69419
69496
  }
69420
69497
  if (item.type == "number-range") {
69421
69498
  const splitName = item.preps?.splitName ?? "-";
69422
69499
  const escapedSplit = splitName.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
69423
- rules.push({ pattern: new RegExp(`^\\d+${escapedSplit}\\d+$`), message: '格式应为"最小值-最大值"(如:2-3)', trigger: "blur" });
69500
+ rules.push({
69501
+ pattern: new RegExp(`^\\d+${escapedSplit}\\d+$`),
69502
+ message: '格式应为"最小值-最大值"(如:2-3)',
69503
+ trigger: "blur"
69504
+ });
69424
69505
  rules.push({
69425
69506
  validator: (rule, value, callback) => {
69426
69507
  const minName = item.preps?.minName ?? item.fieldName + "Min";
@@ -69671,7 +69752,14 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69671
69752
  }
69672
69753
  }
69673
69754
  };
69674
- const exclusions = ["name", "id", "label", "itemNameLabel", "autocomplete", "maxLength"];
69755
+ const exclusions = [
69756
+ "name",
69757
+ "id",
69758
+ "label",
69759
+ "itemNameLabel",
69760
+ "autocomplete",
69761
+ "maxLength"
69762
+ ];
69675
69763
  const init = () => {
69676
69764
  fieldType();
69677
69765
  if (!props.item["id"]) {
@@ -69681,6 +69769,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69681
69769
  if (props.item.preps) {
69682
69770
  filterProperties(props.item.preps, exclusions);
69683
69771
  props.item.preps["readonly"] = props.item?.readonly || props.source == 3;
69772
+ props.item.preps["starHorseFieldSource"] = props.source;
69684
69773
  let keys = Object.keys(props.item.preps);
69685
69774
  for (let key in keys) {
69686
69775
  let val = props.item.preps[key];
@@ -69768,7 +69857,9 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69768
69857
  key: 1,
69769
69858
  message: __props.item.helpMsg
69770
69859
  }, null, 8, ["message"])) : createCommentVNode("", true),
69771
- (openBlock(), createBlock(resolveDynamicComponent((dataForm.value && dataForm.value["_" + __props.item.fieldName + "Type"] || itemType.value) + "-item"), {
69860
+ (openBlock(), createBlock(resolveDynamicComponent(
69861
+ (dataForm.value && dataForm.value["_" + __props.item.fieldName + "Type"] || itemType.value) + "-item"
69862
+ ), {
69772
69863
  key: __props.item.id,
69773
69864
  onSelfFunc: actionDispatcher,
69774
69865
  ref_key: "componentRef",
@@ -69804,7 +69895,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69804
69895
 
69805
69896
  /* unplugin-vue-components disabled */
69806
69897
 
69807
- const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-a989bbf0"]]);
69898
+ const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-35c650fd"]]);
69808
69899
 
69809
69900
  const StarHorseItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
69810
69901
  __proto__: null,
@@ -69921,7 +70012,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
69921
70012
 
69922
70013
  /* unplugin-vue-components disabled */
69923
70014
 
69924
- const DataTag = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__scopeId", "data-v-d789aa77"]]);
70015
+ const DataTag = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__scopeId", "data-v-909e3e59"]]);
69925
70016
 
69926
70017
  const zh_CN = {
69927
70018
  "starhorse.copyright": Config.footerTxt,
@@ -70154,7 +70245,13 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
70154
70245
  title: { type: String, default: "" },
70155
70246
  compSize: { type: String, default: Config.compSize }
70156
70247
  },
70157
- emits: ["merge", "mergeDraft", "resetForm", "open", "closeAction"],
70248
+ emits: [
70249
+ "merge",
70250
+ "mergeDraft",
70251
+ "resetForm",
70252
+ "open",
70253
+ "closeAction"
70254
+ ],
70158
70255
  setup(__props, { emit: __emit }) {
70159
70256
  const emits = __emit;
70160
70257
  const props = __props;
@@ -70431,7 +70528,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
70431
70528
 
70432
70529
  /* unplugin-vue-components disabled */
70433
70530
 
70434
- const __unplugin_components_0$8 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-7a2399c1"]]);
70531
+ const __unplugin_components_0$8 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-3406ce7b"]]);
70435
70532
 
70436
70533
  const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
70437
70534
  __proto__: null,
@@ -70691,7 +70788,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
70691
70788
 
70692
70789
  /* unplugin-vue-components disabled */
70693
70790
 
70694
- const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-05d8ee9f"]]);
70791
+ const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-1dc29e8b"]]);
70695
70792
 
70696
70793
  const _hoisted_1$S = { class: "data-wrapper" };
70697
70794
  const _sfc_main$1H = /* @__PURE__ */ defineComponent({
@@ -70800,7 +70897,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
70800
70897
 
70801
70898
  /* unplugin-vue-components disabled */
70802
70899
 
70803
- const StarHorseDataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-039339d4"]]);
70900
+ const StarHorseDataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-b8624195"]]);
70804
70901
 
70805
70902
  const StarHorseDataSelector$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
70806
70903
  __proto__: null,
@@ -70972,7 +71069,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
70972
71069
 
70973
71070
  /* unplugin-vue-components disabled */
70974
71071
 
70975
- const __unplugin_components_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__scopeId", "data-v-308066ad"]]);
71072
+ const __unplugin_components_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__scopeId", "data-v-59f9f69a"]]);
70976
71073
 
70977
71074
  const StarHorseDataViewTable = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
70978
71075
  __proto__: null,
@@ -71057,7 +71154,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
71057
71154
 
71058
71155
  /* unplugin-vue-components disabled */
71059
71156
 
71060
- const __unplugin_components_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-f3de2d99"]]);
71157
+ const __unplugin_components_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-d8fcb24f"]]);
71061
71158
 
71062
71159
  const viewTableItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
71063
71160
  __proto__: null,
@@ -71147,7 +71244,10 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
71147
71244
  globalCondition: { type: Object },
71148
71245
  outerData: { type: Object },
71149
71246
  dynamicForm: { type: Boolean, default: false },
71150
- primaryKey: { type: [String, Object], default: "id" },
71247
+ primaryKey: {
71248
+ type: [String, Object],
71249
+ default: "id"
71250
+ },
71151
71251
  batchFieldName: { type: String, default: "batchFieldList" },
71152
71252
  dataFormat: { type: Function, default: null }
71153
71253
  },
@@ -71426,7 +71526,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
71426
71526
 
71427
71527
  /* unplugin-vue-components disabled */
71428
71528
 
71429
- const __unplugin_components_5 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-73f31f13"]]);
71529
+ const __unplugin_components_5 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-6e139bcc"]]);
71430
71530
 
71431
71531
  const ContentMenu = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
71432
71532
  __proto__: null,
@@ -71878,60 +71978,57 @@ const useDesignFormStore = defineStore("designForm", () => {
71878
71978
  };
71879
71979
  });
71880
71980
 
71881
- const useDesignPageStore = defineStore(
71882
- "designPage",
71883
- () => {
71884
- const nodeList = ref([]);
71885
- const currentNode = ref(null);
71886
- const isEdit = ref(false);
71887
- const defaultZindex = ref(100);
71888
- const clearAll = () => {
71889
- isEdit.value = false;
71890
- nodeList.value = [];
71891
- currentNode.value = null;
71892
- };
71893
- const removeNode = (id) => {
71894
- nodeList.value = nodeList.value.filter((node) => {
71895
- return node.id != id;
71896
- });
71897
- currentNode.value = id == currentNode.value.id ? null : currentNode.value;
71898
- };
71899
- const setNodeList = (list) => {
71900
- nodeList.value = list;
71901
- };
71902
- const addNode = (node) => {
71903
- nodeList.value.push(node);
71904
- };
71905
- const selectNode = (node) => {
71906
- currentNode.value = node;
71907
- };
71908
- const setIsEdit = (edit) => {
71909
- isEdit.value = edit;
71910
- };
71911
- const maxZIndex = () => {
71912
- nodeList.value.sort((a, b) => {
71913
- return (a.zIndex || defaultZindex.value) - (b.zIndex || defaultZindex.value);
71914
- });
71915
- return nodeList.value[0].zIndex || defaultZindex.value;
71916
- };
71917
- const init = () => {
71918
- };
71919
- return {
71920
- nodeList,
71921
- currentNode,
71922
- isEdit,
71923
- defaultZindex,
71924
- setNodeList,
71925
- removeNode,
71926
- addNode,
71927
- selectNode,
71928
- clearAll,
71929
- setIsEdit,
71930
- maxZIndex,
71931
- init
71932
- };
71933
- }
71934
- );
71981
+ const useDesignPageStore = defineStore("designPage", () => {
71982
+ const nodeList = ref([]);
71983
+ const currentNode = ref(null);
71984
+ const isEdit = ref(false);
71985
+ const defaultZindex = ref(100);
71986
+ const clearAll = () => {
71987
+ isEdit.value = false;
71988
+ nodeList.value = [];
71989
+ currentNode.value = null;
71990
+ };
71991
+ const removeNode = (id) => {
71992
+ nodeList.value = nodeList.value.filter((node) => {
71993
+ return node.id != id;
71994
+ });
71995
+ currentNode.value = id == currentNode.value.id ? null : currentNode.value;
71996
+ };
71997
+ const setNodeList = (list) => {
71998
+ nodeList.value = list;
71999
+ };
72000
+ const addNode = (node) => {
72001
+ nodeList.value.push(node);
72002
+ };
72003
+ const selectNode = (node) => {
72004
+ currentNode.value = node;
72005
+ };
72006
+ const setIsEdit = (edit) => {
72007
+ isEdit.value = edit;
72008
+ };
72009
+ const maxZIndex = () => {
72010
+ nodeList.value.sort((a, b) => {
72011
+ return (a.zIndex || defaultZindex.value) - (b.zIndex || defaultZindex.value);
72012
+ });
72013
+ return nodeList.value[0].zIndex || defaultZindex.value;
72014
+ };
72015
+ const init = () => {
72016
+ };
72017
+ return {
72018
+ nodeList,
72019
+ currentNode,
72020
+ isEdit,
72021
+ defaultZindex,
72022
+ setNodeList,
72023
+ removeNode,
72024
+ addNode,
72025
+ selectNode,
72026
+ clearAll,
72027
+ setIsEdit,
72028
+ maxZIndex,
72029
+ init
72030
+ };
72031
+ });
71935
72032
 
71936
72033
  const copyerAction = useCopyerOperationStore(piniaInstance);
71937
72034
  const designForm$2 = useDesignFormStore(piniaInstance);
@@ -72178,7 +72275,10 @@ function paste(parentItem) {
72178
72275
  } else {
72179
72276
  if (getParentComp(copyerData) == "container") {
72180
72277
  const parentContainer = copyerAction.parentContainer;
72181
- copyContainer(parentContainer ? parentContainer.preps?.elements : compList.value, copyerData);
72278
+ copyContainer(
72279
+ parentContainer ? parentContainer.preps?.elements : compList.value,
72280
+ copyerData
72281
+ );
72182
72282
  } else {
72183
72283
  copyerData = JSON.parse(JSON.stringify(copyerData));
72184
72284
  copyerData.id = uuid();
@@ -72687,7 +72787,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
72687
72787
 
72688
72788
  /* unplugin-vue-components disabled */
72689
72789
 
72690
- const StarHorseDraggable = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-e487a34b"]]);
72790
+ const StarHorseDraggable = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-17d7a7de"]]);
72691
72791
 
72692
72792
  const StarHorseDraggable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
72693
72793
  __proto__: null,
@@ -75530,7 +75630,9 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
75530
75630
  nextTick(() => {
75531
75631
  const tryScroll = (attempt = 0) => {
75532
75632
  const tableEl = starHorseFormListRef.value?.$el;
75533
- const scrollContainer = tableEl?.querySelector(".el-table--scrollable-y .el-scrollbar__wrap");
75633
+ const scrollContainer = tableEl?.querySelector(
75634
+ ".el-table--scrollable-y .el-scrollbar__wrap"
75635
+ );
75534
75636
  if (scrollContainer) {
75535
75637
  if (type === 1) {
75536
75638
  scrollContainer.scrollTop = scrollContainer.scrollHeight - scrollContainer.clientHeight;
@@ -75666,7 +75768,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
75666
75768
  onCloseAction: closeAction
75667
75769
  }, {
75668
75770
  default: withCtx(() => [
75669
- createVNode(__unplugin_components_1$2, {
75771
+ createVNode(_sfc_main$1u, {
75670
75772
  fieldList: { fieldList: __props.fieldList },
75671
75773
  ref_key: "rowDataFormRef",
75672
75774
  ref: rowDataFormRef
@@ -75935,7 +76037,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
75935
76037
 
75936
76038
  /* unplugin-vue-components disabled */
75937
76039
 
75938
- const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-bb70380e"]]);
76040
+ const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-173552a4"]]);
75939
76041
 
75940
76042
  const StarHorseFormList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
75941
76043
  __proto__: null,
@@ -76012,7 +76114,10 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
76012
76114
  subFormFlag: { type: String, default: "N" },
76013
76115
  batchName: { type: String, default: "batchDataList" },
76014
76116
  batchFieldName: { type: String, default: "batchFieldList" },
76015
- primaryKey: { type: [String, Object], required: true },
76117
+ primaryKey: {
76118
+ type: [String, Object],
76119
+ required: true
76120
+ },
76016
76121
  rules: { type: Object },
76017
76122
  compSize: { type: String, default: Config.compSize },
76018
76123
  source: { type: Number, default: 1 }
@@ -76205,7 +76310,14 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
76205
76310
  }
76206
76311
  }
76207
76312
  },
76208
- emits: ["refresh", "dataLoaded", "exportData", "removeRow", "addRow", "inited"],
76313
+ emits: [
76314
+ "refresh",
76315
+ "dataLoaded",
76316
+ "exportData",
76317
+ "removeRow",
76318
+ "addRow",
76319
+ "inited"
76320
+ ],
76209
76321
  setup(__props, { expose: __expose, emit: __emit }) {
76210
76322
  const props = __props;
76211
76323
  let userOperation = useSelfOperationStore(piniaInstance);
@@ -76288,7 +76400,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
76288
76400
  };
76289
76401
  const assignStatusName = () => {
76290
76402
  if (dataForm.value.statusCode) {
76291
- let sData = props.selectData.find((item) => item.value === dataForm.value.statusCode);
76403
+ let sData = props.selectData.find(
76404
+ (item) => item.value === dataForm.value.statusCode
76405
+ );
76292
76406
  if (sData) {
76293
76407
  dataForm.value["statusName"] = sData.name;
76294
76408
  }
@@ -76298,7 +76412,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
76298
76412
  if (dataForm.value[item.batchName]) {
76299
76413
  for (let index = 0; index < dataForm.value[item.batchName]?.length; index++) {
76300
76414
  let temp = dataForm.value[item.batchName][index];
76301
- let sData = props.selectData.find((sitem) => sitem.value === temp.statusCode);
76415
+ let sData = props.selectData.find(
76416
+ (sitem) => sitem.value === temp.statusCode
76417
+ );
76302
76418
  if (sData) {
76303
76419
  dataForm.value[item.batchName][index]["statusName"] = sData.name;
76304
76420
  }
@@ -76573,13 +76689,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
76573
76689
  }
76574
76690
  });
76575
76691
 
76576
- /* unplugin-vue-components disabled */
76577
-
76578
- const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-5d489b48"]]);
76579
-
76580
76692
  const StarHorseForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
76581
76693
  __proto__: null,
76582
- default: __unplugin_components_1$2
76694
+ default: _sfc_main$1u
76583
76695
  }, Symbol.toStringTag, { value: 'Module' }));
76584
76696
 
76585
76697
  function e$3(t) {
@@ -121685,7 +121797,13 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
121685
121797
  emits: ["update:modelValue"],
121686
121798
  setup(__props, { expose: __expose }) {
121687
121799
  const json = useModel(__props, "modelValue");
121688
- const queryLanguages = ["javascript", "lodash", "jmespath", "jsonquery", "jsonpath"];
121800
+ const queryLanguages = [
121801
+ "javascript",
121802
+ "lodash",
121803
+ "jmespath",
121804
+ "jsonquery",
121805
+ "jsonpath"
121806
+ ];
121689
121807
  let editor = ref(null);
121690
121808
  const setEditorContent = (value) => {
121691
121809
  };
@@ -121715,7 +121833,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
121715
121833
 
121716
121834
  /* unplugin-vue-components disabled */
121717
121835
 
121718
- const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-13111c8c"]]);
121836
+ const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-fd575312"]]);
121719
121837
 
121720
121838
  const StarHorseJsonEditor = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
121721
121839
  __proto__: null,
@@ -121812,17 +121930,50 @@ const useGlobalConfigStore = defineStore(
121812
121930
  localStorage.setItem("starHorseConfigInfo", JSON.stringify(data));
121813
121931
  Config.buttonStyle.value = data.buttonShowType || "dropdown";
121814
121932
  if (data.themeColor) {
121815
- document.documentElement.style.setProperty("--star-horse-style", data.themeColor);
121816
- document.documentElement.style.setProperty("--el-color-primary", data.themeColor);
121817
- document.documentElement.style.setProperty("--el-select-input-color", data.themeColor);
121818
- document.documentElement.style.setProperty("--el-pagination-button-color", data.themeColor);
121819
- document.documentElement.style.setProperty("--el-tree-expand-icon-color", data.themeColor);
121820
- document.documentElement.style.setProperty("--fc-button-bg-color", data.themeColor);
121821
- document.documentElement.style.setProperty("--fc-button-border-color", data.themeColor);
121822
- document.documentElement.style.setProperty("--fc-button-active-bg-color", data.themeColor);
121823
- document.documentElement.style.setProperty("--fc-button-active-border-color", data.themeColor);
121824
- document.documentElement.style.setProperty("--fc-button-hover-bg-color", data.themeColor);
121825
- document.documentElement.style.setProperty("--fc-button-hover-border-color", data.themeColor);
121933
+ document.documentElement.style.setProperty(
121934
+ "--star-horse-style",
121935
+ data.themeColor
121936
+ );
121937
+ document.documentElement.style.setProperty(
121938
+ "--el-color-primary",
121939
+ data.themeColor
121940
+ );
121941
+ document.documentElement.style.setProperty(
121942
+ "--el-select-input-color",
121943
+ data.themeColor
121944
+ );
121945
+ document.documentElement.style.setProperty(
121946
+ "--el-pagination-button-color",
121947
+ data.themeColor
121948
+ );
121949
+ document.documentElement.style.setProperty(
121950
+ "--el-tree-expand-icon-color",
121951
+ data.themeColor
121952
+ );
121953
+ document.documentElement.style.setProperty(
121954
+ "--fc-button-bg-color",
121955
+ data.themeColor
121956
+ );
121957
+ document.documentElement.style.setProperty(
121958
+ "--fc-button-border-color",
121959
+ data.themeColor
121960
+ );
121961
+ document.documentElement.style.setProperty(
121962
+ "--fc-button-active-bg-color",
121963
+ data.themeColor
121964
+ );
121965
+ document.documentElement.style.setProperty(
121966
+ "--fc-button-active-border-color",
121967
+ data.themeColor
121968
+ );
121969
+ document.documentElement.style.setProperty(
121970
+ "--fc-button-hover-bg-color",
121971
+ data.themeColor
121972
+ );
121973
+ document.documentElement.style.setProperty(
121974
+ "--fc-button-hover-border-color",
121975
+ data.themeColor
121976
+ );
121826
121977
  }
121827
121978
  };
121828
121979
  const clearAll = (isDark = "N") => {
@@ -121978,7 +122129,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
121978
122129
  const emits = __emit;
121979
122130
  const props = __props;
121980
122131
  let configStore = useGlobalConfigStore(piniaInstance);
121981
- let compSize = computed(() => configStore.configFormInfo?.inputSize || Config.compSize);
122132
+ let compSize = computed(
122133
+ () => configStore.configFormInfo?.inputSize || Config.compSize
122134
+ );
121982
122135
  let searchForm = ref({});
121983
122136
  const createSearchParams = (formData) => {
121984
122137
  return analysisSearchData(searchForm.value, formData);
@@ -122056,7 +122209,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
122056
122209
  size: unref(compSize)
122057
122210
  }, {
122058
122211
  default: withCtx(() => [
122059
- unref(defaultSearch) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.formData.fieldList, (item, index) => {
122212
+ unref(defaultSearch) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.formData.fieldList, (item) => {
122060
122213
  return openBlock(), createElementBlock(Fragment, null, [
122061
122214
  item.defaultVisible ? (openBlock(), createBlock(_component_el_form_item, {
122062
122215
  key: 0,
@@ -122211,7 +122364,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
122211
122364
 
122212
122365
  /* unplugin-vue-components disabled */
122213
122366
 
122214
- const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-f1bc60d8"]]);
122367
+ const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-1b3d7d14"]]);
122215
122368
 
122216
122369
  const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
122217
122370
  __proto__: null,
@@ -132941,17 +133094,15 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
132941
133094
  emits: ["focusEvent", "blurEvent"],
132942
133095
  setup(__props, { emit: __emit }) {
132943
133096
  const props = __props;
132944
- const compInfo = computed(
132945
- () => {
132946
- return {
132947
- ...unref(props.item.preps?.compInfo),
132948
- props: {
132949
- data: { type: Object },
132950
- item: { type: Object }
132951
- }
132952
- };
132953
- }
132954
- );
133097
+ const compInfo = computed(() => {
133098
+ return {
133099
+ ...unref(props.item.preps?.compInfo),
133100
+ props: {
133101
+ data: { type: Object },
133102
+ item: { type: Object }
133103
+ }
133104
+ };
133105
+ });
132955
133106
  const currentRow = ref();
132956
133107
  const focusEvent = (_column) => {
132957
133108
  };
@@ -133009,7 +133160,9 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
133009
133160
  return parseDateByType(val, item.type);
133010
133161
  }
133011
133162
  if (item.type == "select" || item.type == "checkbox" || item.type == "radio") {
133012
- fname = item.preps?.values?.find((temp) => String(temp.value) == val)?.name;
133163
+ fname = item.preps?.values?.find(
133164
+ (temp) => String(temp.value) == val
133165
+ )?.name;
133013
133166
  }
133014
133167
  if (fname) {
133015
133168
  return fname;
@@ -133131,7 +133284,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
133131
133284
 
133132
133285
  /* unplugin-vue-components disabled */
133133
133286
 
133134
- const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-44464fc3"]]);
133287
+ const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-f034861b"]]);
133135
133288
 
133136
133289
  const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
133137
133290
  __proto__: null,
@@ -133149,7 +133302,10 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133149
133302
  __name: "StarHorseStaticTable",
133150
133303
  props: {
133151
133304
  //主键
133152
- primaryKey: { type: [String, Object], required: true },
133305
+ primaryKey: {
133306
+ type: [String, Object],
133307
+ required: true
133308
+ },
133153
133309
  //列名
133154
133310
  fieldList: { type: Object, required: true },
133155
133311
  //格式化方法
@@ -133216,7 +133372,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133216
133372
  }
133217
133373
  };
133218
133374
  const moveColumn = () => {
133219
- const tbody = document.querySelector(".sh-columns .el-table__body-wrapper tbody");
133375
+ const tbody = document.querySelector(
133376
+ ".sh-columns .el-table__body-wrapper tbody"
133377
+ );
133220
133378
  if (tbody) {
133221
133379
  Sortable.create(tbody, {
133222
133380
  handle: ".move",
@@ -133256,8 +133414,12 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133256
133414
  if (val.length <= 1) {
133257
133415
  multipleSelection.value = val;
133258
133416
  } else {
133259
- let ids = multipleSelection.value.map((item) => item[props.primaryKey]);
133260
- let datas = val.filter((item) => !ids.includes(item[props.primaryKey]));
133417
+ let ids = multipleSelection.value.map(
133418
+ (item) => item[props.primaryKey]
133419
+ );
133420
+ let datas = val.filter(
133421
+ (item) => !ids.includes(item[props.primaryKey])
133422
+ );
133261
133423
  let data = multipleSelection.value[0];
133262
133424
  shStaticTableCompRef.value?.toggleRowSelection(data, true);
133263
133425
  multipleSelection.value = datas;
@@ -133293,7 +133455,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133293
133455
  shStaticTableCompRef.value.toggleRowSelection(valueElement);
133294
133456
  }
133295
133457
  }
133296
- const selected = multipleSelection.value?.some((item) => item[props.primaryKey] === row[props.primaryKey]);
133458
+ const selected = multipleSelection.value?.some(
133459
+ (item) => item[props.primaryKey] === row[props.primaryKey]
133460
+ );
133297
133461
  if (!selected) {
133298
133462
  multipleSelection.value.push(row);
133299
133463
  shStaticTableCompRef.value?.toggleRowSelection(row);
@@ -133511,7 +133675,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
133511
133675
 
133512
133676
  /* unplugin-vue-components disabled */
133513
133677
 
133514
- const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-aee2066c"]]);
133678
+ const StarHorseStaticTable = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-21b06ee3"]]);
133515
133679
 
133516
133680
  const StarHorseStaticTable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
133517
133681
  __proto__: null,
@@ -133521,7 +133685,9 @@ const StarHorseStaticTable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
133521
133685
  const useButtonPermissionStore = defineStore("buttonPermission", () => {
133522
133686
  const pageBtnPermisson = ref({});
133523
133687
  const currentPermission = ref({});
133524
- const permissionUrlPrefix = ref("/system-config/system/resourcesEntity/permissionResources/");
133688
+ const permissionUrlPrefix = ref(
133689
+ "/system-config/system/resourcesEntity/permissionResources/"
133690
+ );
133525
133691
  const addRoute = async (route) => {
133526
133692
  let data = route ?? (window.__hostRouter__?.currentRoute || window.__hostRouter__);
133527
133693
  const meta = unref(data)?.meta;
@@ -133553,15 +133719,16 @@ const useButtonPermissionStore = defineStore("buttonPermission", () => {
133553
133719
  warning("Session 失效");
133554
133720
  return;
133555
133721
  }
133556
- await postRequest(`${permissionUrlPrefix.value}${userId}/${menuId}`, {}).then(
133557
- (res) => {
133558
- if (res.data.code) {
133559
- console.log(res.data.cnMessage);
133560
- return;
133561
- }
133562
- permissons = res.data.data;
133722
+ await postRequest(
133723
+ `${permissionUrlPrefix.value}${userId}/${menuId}`,
133724
+ {}
133725
+ ).then((res) => {
133726
+ if (res.data.code) {
133727
+ console.log(res.data.cnMessage);
133728
+ return;
133563
133729
  }
133564
- );
133730
+ permissons = res.data.data;
133731
+ });
133565
133732
  if (permissons && permissons.length > 0) {
133566
133733
  addPermission(menuId, permissons);
133567
133734
  } else {
@@ -133622,8 +133789,12 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
133622
133789
  const route = useRoute();
133623
133790
  let configStore = useGlobalConfigStore(piniaInstance);
133624
133791
  let pagePermission = useButtonPermissionStore(piniaInstance);
133625
- let compSize = computed(() => configStore.configFormInfo?.buttonSize || Config.compSize);
133626
- let showType = computed(() => configStore.configFormInfo?.buttonShowType || "dropdown");
133792
+ let compSize = computed(
133793
+ () => configStore.configFormInfo?.buttonSize || Config.compSize
133794
+ );
133795
+ let showType = computed(
133796
+ () => configStore.configFormInfo?.buttonShowType || "dropdown"
133797
+ );
133627
133798
  let permissions = ref({});
133628
133799
  const dataForm = ref({});
133629
133800
  const tableCompFunc = (funcName) => {
@@ -133631,7 +133802,9 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
133631
133802
  };
133632
133803
  const btnOperation = (funcName) => {
133633
133804
  if (props.preValidFunc?.length > 0 && Array.isArray(props.preValidFunc)) {
133634
- const preFunc = props.preValidFunc.find((item) => item.authority == funcName);
133805
+ const preFunc = props.preValidFunc.find(
133806
+ (item) => item.authority == funcName
133807
+ );
133635
133808
  if (preFunc) {
133636
133809
  const result = preFunc.valid?.();
133637
133810
  if (!result) {
@@ -133734,14 +133907,18 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
133734
133907
  if (extBtns?.length > 0) {
133735
133908
  for (let i = 0; i < arr.length; i++) {
133736
133909
  let temp = arr[i];
133737
- if (extBtns.find((item) => item.btnName == temp.btnName && item.authority == temp.authority)) {
133910
+ if (extBtns.find(
133911
+ (item) => item.btnName == temp.btnName && item.authority == temp.authority
133912
+ )) {
133738
133913
  arr.splice(i, 1);
133739
133914
  }
133740
133915
  }
133741
133916
  arr.push(...extBtns);
133742
133917
  }
133743
133918
  }
133744
- arr.sort((a, b) => (a.priority || 100) - (b.priority || 100));
133919
+ arr.sort(
133920
+ (a, b) => (a.priority || 100) - (b.priority || 100)
133921
+ );
133745
133922
  return arr;
133746
133923
  };
133747
133924
  const setFormData = (val) => {
@@ -134007,285 +134184,15 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
134007
134184
 
134008
134185
  /* unplugin-vue-components disabled */
134009
134186
 
134010
- const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-747c1a9f"]]);
134187
+ const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-1d3217a8"]]);
134011
134188
 
134012
134189
  const StarHorseButtonList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
134013
134190
  __proto__: null,
134014
134191
  default: __unplugin_components_2
134015
134192
  }, Symbol.toStringTag, { value: 'Module' }));
134016
134193
 
134017
- const useDynamicFormStore = defineStore("dynamicForm", () => {
134018
- const dataForm = ref({});
134019
- const selectData = ref(null);
134020
- const dataId = ref(null);
134021
- const setSelectData = (data) => {
134022
- selectData.value = data;
134023
- };
134024
- const setDataId = (id) => {
134025
- dataId.value = id;
134026
- };
134027
- const setFormData = (data) => {
134028
- dataForm.value = { ...data };
134029
- };
134030
- const addBatchData = (batchName, data) => {
134031
- let batchDatas = dataForm.value[batchName];
134032
- if (!batchDatas || batchDatas.length == 0) {
134033
- dataForm.value[batchName] = [];
134034
- batchDatas = dataForm.value[batchName];
134035
- }
134036
- batchDatas.push(data);
134037
- };
134038
- const delField = (fieldName) => {
134039
- delete dataForm.value[fieldName];
134040
- };
134041
- const delBatchField = (batchName, fieldName, rowIndex = -1) => {
134042
- const batchDatas = dataForm.value[batchName];
134043
- if (!batchDatas || batchDatas.length == 0) {
134044
- return;
134045
- }
134046
- if (batchDatas instanceof Object) {
134047
- delete batchDatas[fieldName];
134048
- } else {
134049
- if (rowIndex > 0) {
134050
- delete batchDatas[rowIndex - 1][fieldName];
134051
- } else {
134052
- batchDatas.forEach((item) => {
134053
- delete item[fieldName];
134054
- });
134055
- }
134056
- }
134057
- };
134058
- const addOrUpdateField = (fieldName, value) => {
134059
- dataForm.value[fieldName] = value;
134060
- };
134061
- const batchAddOrUpdateField = (batchName, fieldName, value, rowIndex = -1) => {
134062
- let batchDatas = dataForm.value[batchName];
134063
- if (!batchDatas || batchDatas.length == 0) {
134064
- dataForm.value[batchName] = [];
134065
- batchDatas = dataForm.value[batchName];
134066
- }
134067
- if (batchDatas instanceof Object) {
134068
- batchDatas[fieldName] = value;
134069
- } else {
134070
- if (rowIndex > 0) {
134071
- batchDatas[rowIndex - 1][fieldName] = value;
134072
- } else {
134073
- batchDatas.forEach((item) => {
134074
- item[fieldName] = value;
134075
- });
134076
- }
134077
- }
134078
- };
134079
- const renameField = (sourceField, distField, newValue) => {
134080
- if (Object.keys(dataForm.value).includes(distField)) {
134081
- warning("新的属性名已存在,不能进行修改");
134082
- return;
134083
- }
134084
- const bakeValue = dataForm.value[sourceField];
134085
- delete dataForm.value[sourceField];
134086
- dataForm.value[distField] = newValue ? newValue : bakeValue;
134087
- };
134088
- const batchRenameField = (batchName, sourceField, distField, newValue, rowIndex = -1) => {
134089
- const batchDatas = dataForm.value[batchName];
134090
- if (!batchDatas || batchDatas.length == 0) {
134091
- batchAddOrUpdateField(batchName, distField, newValue, rowIndex);
134092
- return;
134093
- }
134094
- const dataFun = (data, sourceField2, distField2, newValue2) => {
134095
- if (Object.keys(data).includes(distField2)) {
134096
- warning("新的属性名已存在,不能进行修改");
134097
- return false;
134098
- }
134099
- const bakeValue = data[sourceField2];
134100
- delete dataForm.value[sourceField2];
134101
- dataForm.value[distField2] = newValue2 || bakeValue;
134102
- return true;
134103
- };
134104
- if (batchDatas instanceof Object) {
134105
- dataFun(batchDatas, sourceField, distField, newValue);
134106
- } else {
134107
- if (rowIndex > 0) {
134108
- dataFun(batchDatas[rowIndex - 1], sourceField, distField, newValue);
134109
- } else {
134110
- batchDatas.forEach((item) => {
134111
- const result = dataFun(item, sourceField, distField, newValue);
134112
- if (!result) {
134113
- return false;
134114
- }
134115
- });
134116
- }
134117
- }
134118
- };
134119
- const getFieldValue = (fieldName) => {
134120
- return dataForm.value[fieldName];
134121
- };
134122
- const getBatchFieldValue = (batchName, fieldName, rowIndex = -1) => {
134123
- const batchDatas = dataForm.value[batchName];
134124
- if (!batchDatas) {
134125
- return;
134126
- }
134127
- if (batchDatas instanceof Object) {
134128
- return batchDatas[fieldName];
134129
- } else {
134130
- if (rowIndex > 0) {
134131
- return batchDatas[rowIndex - 1][fieldName];
134132
- } else {
134133
- return batchDatas.map((item) => item[fieldName]);
134134
- }
134135
- }
134136
- };
134137
- const clearAll = () => {
134138
- dataForm.value = {};
134139
- };
134140
- return {
134141
- dataForm,
134142
- selectData,
134143
- dataId,
134144
- setSelectData,
134145
- setDataId,
134146
- setFormData,
134147
- addBatchData,
134148
- delField,
134149
- delBatchField,
134150
- addOrUpdateField,
134151
- batchAddOrUpdateField,
134152
- renameField,
134153
- batchRenameField,
134154
- getFieldValue,
134155
- getBatchFieldValue,
134156
- clearAll
134157
- };
134158
- });
134159
-
134160
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
134161
- __name: "tableColumn",
134162
- props: {
134163
- //url地址
134164
- compUrl: { type: Object, required: true },
134165
- //列名
134166
- fieldList: { type: Object, required: true },
134167
- //格式化方法
134168
- dataFormat: { type: Function, default: null },
134169
- //是否显示排序
134170
- sortable: { type: Boolean, default: true },
134171
- //是否显示批量属性
134172
- showBatchField: { type: Boolean, default: false },
134173
- compSize: { type: String, default: Config.compSize },
134174
- //全局配置,动态页面使用
134175
- globalConfig: { type: Object, required: false },
134176
- //是否动态页面
134177
- isDynamic: { type: Boolean, default: false }
134178
- },
134179
- setup(__props) {
134180
- return (_ctx, _cache) => {
134181
- const _component_star_horse_table_column = __unplugin_components_2$1;
134182
- return openBlock(), createElementBlock(Fragment, null, [
134183
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.fieldList?.fieldList, (item, index) => {
134184
- return openBlock(), createElementBlock(Fragment, {
134185
- key: unref(compKey)(item, index)
134186
- }, [
134187
- Array.isArray(item) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item, (sitem, key) => {
134188
- return openBlock(), createBlock(_component_star_horse_table_column, {
134189
- "data-format": __props.dataFormat,
134190
- cellEditable: __props.fieldList["cellEditable"],
134191
- item: sitem,
134192
- globalConfig: __props.globalConfig,
134193
- isDynamic: __props.isDynamic,
134194
- sortable: __props.sortable,
134195
- compSize: __props.compSize,
134196
- compUrl: __props.compUrl,
134197
- key: unref(compKey)(sitem, key)
134198
- }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134199
- }), 128)) : item.tabList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.tabList, (tabItems, key) => {
134200
- return openBlock(), createElementBlock(Fragment, {
134201
- key: unref(compKey)(tabItems, key)
134202
- }, [
134203
- (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems.fieldList, (sitem, skey) => {
134204
- return openBlock(), createBlock(_component_star_horse_table_column, {
134205
- "data-format": __props.dataFormat,
134206
- cellEditable: __props.fieldList["cellEditable"],
134207
- item: sitem,
134208
- globalConfig: __props.globalConfig,
134209
- isDynamic: __props.isDynamic,
134210
- sortable: __props.sortable,
134211
- compSize: __props.compSize,
134212
- compUrl: __props.compUrl,
134213
- key: unref(compKey)(sitem, skey)
134214
- }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134215
- }), 128))
134216
- ], 64);
134217
- }), 128)) : item.dytableList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(item.dytableList, (tabItems, key) => {
134218
- return openBlock(), createElementBlock(Fragment, {
134219
- key: unref(compKey)(tabItems, key)
134220
- }, [
134221
- (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems, (sitem, skey) => {
134222
- return openBlock(), createBlock(_component_star_horse_table_column, {
134223
- "data-format": __props.dataFormat,
134224
- cellEditable: __props.fieldList["cellEditable"],
134225
- item: sitem,
134226
- globalConfig: __props.globalConfig,
134227
- isDynamic: __props.isDynamic,
134228
- sortable: __props.sortable,
134229
- compSize: __props.compSize,
134230
- compUrl: __props.compUrl,
134231
- key: unref(compKey)(sitem, skey)
134232
- }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134233
- }), 128))
134234
- ], 64);
134235
- }), 128)) : item.batchFieldList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(item.batchFieldList, (batchItems, key) => {
134236
- return openBlock(), createElementBlock(Fragment, {
134237
- key: unref(compKey)(batchItems, key)
134238
- }, [
134239
- (openBlock(true), createElementBlock(Fragment, null, renderList(batchItems.fieldList, (sitem, skey) => {
134240
- return openBlock(), createBlock(_component_star_horse_table_column, {
134241
- "data-format": __props.dataFormat,
134242
- cellEditable: __props.fieldList["cellEditable"],
134243
- item: sitem,
134244
- globalConfig: __props.globalConfig,
134245
- isDynamic: __props.isDynamic,
134246
- sortable: __props.sortable,
134247
- compSize: __props.compSize,
134248
- compUrl: __props.compUrl,
134249
- key: unref(compKey)(sitem, skey)
134250
- }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134251
- }), 128))
134252
- ], 64);
134253
- }), 128)) : (openBlock(), createBlock(_component_star_horse_table_column, {
134254
- key: 4,
134255
- compUrl: __props.compUrl,
134256
- cellEditable: __props.fieldList["cellEditable"],
134257
- globalConfig: __props.globalConfig,
134258
- isDynamic: __props.isDynamic,
134259
- "data-format": __props.dataFormat,
134260
- sortable: __props.sortable,
134261
- compSize: __props.compSize,
134262
- item
134263
- }, null, 8, ["compUrl", "cellEditable", "globalConfig", "isDynamic", "data-format", "sortable", "compSize", "item"]))
134264
- ], 64);
134265
- }), 128)),
134266
- __props.showBatchField ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.fieldList["batchFieldList"], (item) => {
134267
- return openBlock(), createBlock(_component_star_horse_table_column, {
134268
- key: unref(compKey)(item, item.batchName),
134269
- "data-format": __props.dataFormat,
134270
- compSize: __props.compSize,
134271
- globalConfig: __props.globalConfig,
134272
- isDynamic: __props.isDynamic,
134273
- sortable: __props.sortable,
134274
- item
134275
- }, null, 8, ["data-format", "compSize", "globalConfig", "isDynamic", "sortable", "item"]);
134276
- }), 128)) : createCommentVNode("", true)
134277
- ], 64);
134278
- };
134279
- }
134280
- });
134281
-
134282
- const tableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
134283
- __proto__: null,
134284
- default: _sfc_main$1n
134285
- }, Symbol.toStringTag, { value: 'Module' }));
134286
-
134287
134194
  const _hoisted_1$H = { class: "el-dropdown-link" };
134288
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134195
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
134289
134196
  __name: "tablebtn",
134290
134197
  props: {
134291
134198
  //按钮列表
@@ -134295,7 +134202,10 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134295
134202
  //数据
134296
134203
  row: { type: Object, required: true },
134297
134204
  //按钮隐藏条件
134298
- hideBtnCondition: { type: Array, default: [] },
134205
+ hideBtnCondition: {
134206
+ type: Array,
134207
+ default: []
134208
+ },
134299
134209
  //按钮大小
134300
134210
  compSize: { type: String, default: Config.compSize },
134301
134211
  //按钮默认显示限制,超出按钮个数则折叠显示
@@ -134371,7 +134281,10 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134371
134281
  dropdown: withCtx(() => [
134372
134282
  createVNode(_component_el_dropdown_menu, null, {
134373
134283
  default: withCtx(() => [
134374
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(validButtonList).slice(3, unref(validButtonList).length), (auth, key) => {
134284
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(validButtonList).slice(
134285
+ 3,
134286
+ unref(validButtonList).length
134287
+ ), (auth, key) => {
134375
134288
  return openBlock(), createBlock(_component_el_dropdown_item, {
134376
134289
  key: unref(compKey)(auth, key),
134377
134290
  "v-if": __props.permissions[auth.authority]
@@ -134433,10 +134346,280 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134433
134346
  });
134434
134347
 
134435
134348
  const tablebtn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
134349
+ __proto__: null,
134350
+ default: _sfc_main$1n
134351
+ }, Symbol.toStringTag, { value: 'Module' }));
134352
+
134353
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
134354
+ __name: "tableColumn",
134355
+ props: {
134356
+ //url地址
134357
+ compUrl: { type: Object, required: true },
134358
+ //列名
134359
+ fieldList: { type: Object, required: true },
134360
+ //格式化方法
134361
+ dataFormat: { type: Function, default: null },
134362
+ //是否显示排序
134363
+ sortable: { type: Boolean, default: true },
134364
+ //是否显示批量属性
134365
+ showBatchField: { type: Boolean, default: false },
134366
+ compSize: { type: String, default: Config.compSize },
134367
+ //全局配置,动态页面使用
134368
+ globalConfig: { type: Object, required: false },
134369
+ //是否动态页面
134370
+ isDynamic: { type: Boolean, default: false }
134371
+ },
134372
+ setup(__props) {
134373
+ return (_ctx, _cache) => {
134374
+ const _component_star_horse_table_column = __unplugin_components_2$1;
134375
+ return openBlock(), createElementBlock(Fragment, null, [
134376
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.fieldList?.fieldList, (item, index) => {
134377
+ return openBlock(), createElementBlock(Fragment, {
134378
+ key: unref(compKey)(item, index)
134379
+ }, [
134380
+ Array.isArray(item) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item, (sitem, key) => {
134381
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134382
+ "data-format": __props.dataFormat,
134383
+ cellEditable: __props.fieldList["cellEditable"],
134384
+ item: sitem,
134385
+ globalConfig: __props.globalConfig,
134386
+ isDynamic: __props.isDynamic,
134387
+ sortable: __props.sortable,
134388
+ compSize: __props.compSize,
134389
+ compUrl: __props.compUrl,
134390
+ key: unref(compKey)(sitem, key)
134391
+ }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134392
+ }), 128)) : item.tabList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.tabList, (tabItems, key) => {
134393
+ return openBlock(), createElementBlock(Fragment, {
134394
+ key: unref(compKey)(tabItems, key)
134395
+ }, [
134396
+ (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems.fieldList, (sitem, skey) => {
134397
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134398
+ "data-format": __props.dataFormat,
134399
+ cellEditable: __props.fieldList["cellEditable"],
134400
+ item: sitem,
134401
+ globalConfig: __props.globalConfig,
134402
+ isDynamic: __props.isDynamic,
134403
+ sortable: __props.sortable,
134404
+ compSize: __props.compSize,
134405
+ compUrl: __props.compUrl,
134406
+ key: unref(compKey)(sitem, skey)
134407
+ }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134408
+ }), 128))
134409
+ ], 64);
134410
+ }), 128)) : item.dytableList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(item.dytableList, (tabItems, key) => {
134411
+ return openBlock(), createElementBlock(Fragment, {
134412
+ key: unref(compKey)(tabItems, key)
134413
+ }, [
134414
+ (openBlock(true), createElementBlock(Fragment, null, renderList(tabItems, (sitem, skey) => {
134415
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134416
+ "data-format": __props.dataFormat,
134417
+ cellEditable: __props.fieldList["cellEditable"],
134418
+ item: sitem,
134419
+ globalConfig: __props.globalConfig,
134420
+ isDynamic: __props.isDynamic,
134421
+ sortable: __props.sortable,
134422
+ compSize: __props.compSize,
134423
+ compUrl: __props.compUrl,
134424
+ key: unref(compKey)(sitem, skey)
134425
+ }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134426
+ }), 128))
134427
+ ], 64);
134428
+ }), 128)) : item.batchFieldList?.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(item.batchFieldList, (batchItems, key) => {
134429
+ return openBlock(), createElementBlock(Fragment, {
134430
+ key: unref(compKey)(batchItems, key)
134431
+ }, [
134432
+ (openBlock(true), createElementBlock(Fragment, null, renderList(batchItems.fieldList, (sitem, skey) => {
134433
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134434
+ "data-format": __props.dataFormat,
134435
+ cellEditable: __props.fieldList["cellEditable"],
134436
+ item: sitem,
134437
+ globalConfig: __props.globalConfig,
134438
+ isDynamic: __props.isDynamic,
134439
+ sortable: __props.sortable,
134440
+ compSize: __props.compSize,
134441
+ compUrl: __props.compUrl,
134442
+ key: unref(compKey)(sitem, skey)
134443
+ }, null, 8, ["data-format", "cellEditable", "item", "globalConfig", "isDynamic", "sortable", "compSize", "compUrl"]);
134444
+ }), 128))
134445
+ ], 64);
134446
+ }), 128)) : (openBlock(), createBlock(_component_star_horse_table_column, {
134447
+ key: 4,
134448
+ compUrl: __props.compUrl,
134449
+ cellEditable: __props.fieldList["cellEditable"],
134450
+ globalConfig: __props.globalConfig,
134451
+ isDynamic: __props.isDynamic,
134452
+ "data-format": __props.dataFormat,
134453
+ sortable: __props.sortable,
134454
+ compSize: __props.compSize,
134455
+ item
134456
+ }, null, 8, ["compUrl", "cellEditable", "globalConfig", "isDynamic", "data-format", "sortable", "compSize", "item"]))
134457
+ ], 64);
134458
+ }), 128)),
134459
+ __props.showBatchField ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.fieldList["batchFieldList"], (item) => {
134460
+ return openBlock(), createBlock(_component_star_horse_table_column, {
134461
+ key: unref(compKey)(item, item.batchName),
134462
+ "data-format": __props.dataFormat,
134463
+ compSize: __props.compSize,
134464
+ globalConfig: __props.globalConfig,
134465
+ isDynamic: __props.isDynamic,
134466
+ sortable: __props.sortable,
134467
+ item
134468
+ }, null, 8, ["data-format", "compSize", "globalConfig", "isDynamic", "sortable", "item"]);
134469
+ }), 128)) : createCommentVNode("", true)
134470
+ ], 64);
134471
+ };
134472
+ }
134473
+ });
134474
+
134475
+ const tableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
134436
134476
  __proto__: null,
134437
134477
  default: _sfc_main$1m
134438
134478
  }, Symbol.toStringTag, { value: 'Module' }));
134439
134479
 
134480
+ const useDynamicFormStore = defineStore("dynamicForm", () => {
134481
+ const dataForm = ref({});
134482
+ const selectData = ref(null);
134483
+ const dataId = ref(null);
134484
+ const setSelectData = (data) => {
134485
+ selectData.value = data;
134486
+ };
134487
+ const setDataId = (id) => {
134488
+ dataId.value = id;
134489
+ };
134490
+ const setFormData = (data) => {
134491
+ dataForm.value = { ...data };
134492
+ };
134493
+ const addBatchData = (batchName, data) => {
134494
+ let batchDatas = dataForm.value[batchName];
134495
+ if (!batchDatas || batchDatas.length == 0) {
134496
+ dataForm.value[batchName] = [];
134497
+ batchDatas = dataForm.value[batchName];
134498
+ }
134499
+ batchDatas.push(data);
134500
+ };
134501
+ const delField = (fieldName) => {
134502
+ delete dataForm.value[fieldName];
134503
+ };
134504
+ const delBatchField = (batchName, fieldName, rowIndex = -1) => {
134505
+ const batchDatas = dataForm.value[batchName];
134506
+ if (!batchDatas || batchDatas.length == 0) {
134507
+ return;
134508
+ }
134509
+ if (batchDatas instanceof Object) {
134510
+ delete batchDatas[fieldName];
134511
+ } else {
134512
+ if (rowIndex > 0) {
134513
+ delete batchDatas[rowIndex - 1][fieldName];
134514
+ } else {
134515
+ batchDatas.forEach((item) => {
134516
+ delete item[fieldName];
134517
+ });
134518
+ }
134519
+ }
134520
+ };
134521
+ const addOrUpdateField = (fieldName, value) => {
134522
+ dataForm.value[fieldName] = value;
134523
+ };
134524
+ const batchAddOrUpdateField = (batchName, fieldName, value, rowIndex = -1) => {
134525
+ let batchDatas = dataForm.value[batchName];
134526
+ if (!batchDatas || batchDatas.length == 0) {
134527
+ dataForm.value[batchName] = [];
134528
+ batchDatas = dataForm.value[batchName];
134529
+ }
134530
+ if (batchDatas instanceof Object) {
134531
+ batchDatas[fieldName] = value;
134532
+ } else {
134533
+ if (rowIndex > 0) {
134534
+ batchDatas[rowIndex - 1][fieldName] = value;
134535
+ } else {
134536
+ batchDatas.forEach((item) => {
134537
+ item[fieldName] = value;
134538
+ });
134539
+ }
134540
+ }
134541
+ };
134542
+ const renameField = (sourceField, distField, newValue) => {
134543
+ if (Object.keys(dataForm.value).includes(distField)) {
134544
+ warning("新的属性名已存在,不能进行修改");
134545
+ return;
134546
+ }
134547
+ const bakeValue = dataForm.value[sourceField];
134548
+ delete dataForm.value[sourceField];
134549
+ dataForm.value[distField] = newValue ? newValue : bakeValue;
134550
+ };
134551
+ const batchRenameField = (batchName, sourceField, distField, newValue, rowIndex = -1) => {
134552
+ const batchDatas = dataForm.value[batchName];
134553
+ if (!batchDatas || batchDatas.length == 0) {
134554
+ batchAddOrUpdateField(batchName, distField, newValue, rowIndex);
134555
+ return;
134556
+ }
134557
+ const dataFun = (data, sourceField2, distField2, newValue2) => {
134558
+ if (Object.keys(data).includes(distField2)) {
134559
+ warning("新的属性名已存在,不能进行修改");
134560
+ return false;
134561
+ }
134562
+ const bakeValue = data[sourceField2];
134563
+ delete dataForm.value[sourceField2];
134564
+ dataForm.value[distField2] = newValue2 || bakeValue;
134565
+ return true;
134566
+ };
134567
+ if (batchDatas instanceof Object) {
134568
+ dataFun(batchDatas, sourceField, distField, newValue);
134569
+ } else {
134570
+ if (rowIndex > 0) {
134571
+ dataFun(batchDatas[rowIndex - 1], sourceField, distField, newValue);
134572
+ } else {
134573
+ batchDatas.forEach((item) => {
134574
+ const result = dataFun(item, sourceField, distField, newValue);
134575
+ if (!result) {
134576
+ return false;
134577
+ }
134578
+ });
134579
+ }
134580
+ }
134581
+ };
134582
+ const getFieldValue = (fieldName) => {
134583
+ return dataForm.value[fieldName];
134584
+ };
134585
+ const getBatchFieldValue = (batchName, fieldName, rowIndex = -1) => {
134586
+ const batchDatas = dataForm.value[batchName];
134587
+ if (!batchDatas) {
134588
+ return;
134589
+ }
134590
+ if (batchDatas instanceof Object) {
134591
+ return batchDatas[fieldName];
134592
+ } else {
134593
+ if (rowIndex > 0) {
134594
+ return batchDatas[rowIndex - 1][fieldName];
134595
+ } else {
134596
+ return batchDatas.map((item) => item[fieldName]);
134597
+ }
134598
+ }
134599
+ };
134600
+ const clearAll = () => {
134601
+ dataForm.value = {};
134602
+ };
134603
+ return {
134604
+ dataForm,
134605
+ selectData,
134606
+ dataId,
134607
+ setSelectData,
134608
+ setDataId,
134609
+ setFormData,
134610
+ addBatchData,
134611
+ delField,
134612
+ delBatchField,
134613
+ addOrUpdateField,
134614
+ batchAddOrUpdateField,
134615
+ renameField,
134616
+ batchRenameField,
134617
+ getFieldValue,
134618
+ getBatchFieldValue,
134619
+ clearAll
134620
+ };
134621
+ });
134622
+
134440
134623
  const _hoisted_1$G = { class: "star-horse-table" };
134441
134624
  const _hoisted_2$x = {
134442
134625
  key: 0,
@@ -134464,11 +134647,17 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134464
134647
  //url地址
134465
134648
  compUrl: { type: Object, required: true },
134466
134649
  //主键
134467
- primaryKey: { type: [String, Object], required: true },
134650
+ primaryKey: {
134651
+ type: [String, Object],
134652
+ required: true
134653
+ },
134468
134654
  //列名
134469
134655
  fieldList: { type: Object, required: true },
134470
134656
  //按钮隐藏条件
134471
- hideBtnCondition: { type: Array, default: [] },
134657
+ hideBtnCondition: {
134658
+ type: Array,
134659
+ default: []
134660
+ },
134472
134661
  //是否显示批量属性
134473
134662
  showBatchField: { type: Boolean, default: false },
134474
134663
  //格式化方法
@@ -134541,7 +134730,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134541
134730
  showType(data.tableType == "card" ? "list" : "card");
134542
134731
  return data;
134543
134732
  });
134544
- let compSize = computed(() => configStore.configFormInfo?.inputSize || Config.compSize);
134733
+ let compSize = computed(
134734
+ () => configStore.configFormInfo?.inputSize || Config.compSize
134735
+ );
134545
134736
  const multipleSelection = ref([]);
134546
134737
  const starHorseTableCompRef = ref();
134547
134738
  let pageInfo = reactive({
@@ -134688,7 +134879,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134688
134879
  }
134689
134880
  };
134690
134881
  const moveColumn = () => {
134691
- const tbody = document.querySelector(".sh-columns .el-table__body-wrapper tbody");
134882
+ const tbody = document.querySelector(
134883
+ ".sh-columns .el-table__body-wrapper tbody"
134884
+ );
134692
134885
  if (tbody) {
134693
134886
  Sortable.create(tbody, {
134694
134887
  handle: ".move",
@@ -134775,8 +134968,12 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134775
134968
  }
134776
134969
  multipleSelection.value = filters;
134777
134970
  } else {
134778
- let ids = multipleSelection.value.map((item) => item[keys]);
134779
- multipleSelection.value = val.filter((item) => !ids.includes(item[keys]));
134971
+ let ids = multipleSelection.value.map(
134972
+ (item) => item[keys]
134973
+ );
134974
+ multipleSelection.value = val.filter(
134975
+ (item) => !ids.includes(item[keys])
134976
+ );
134780
134977
  }
134781
134978
  let data = multipleSelection.value[0];
134782
134979
  starHorseTableCompRef.value.toggleRowSelection(data, true);
@@ -134937,7 +135134,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134937
135134
  const filterData = () => {
134938
135135
  let name = unref(inputFieldName);
134939
135136
  if (pageInfo.dataList && name && inputFieldVal.value) {
134940
- let row = pageInfo.dataList.find((item) => item[name] == inputFieldVal.value);
135137
+ let row = pageInfo.dataList.find(
135138
+ (item) => item[name] == inputFieldVal.value
135139
+ );
134941
135140
  if (row) {
134942
135141
  multipleSelection.value.push(row);
134943
135142
  starHorseTableCompRef.value.toggleRowSelection(row, true);
@@ -134968,7 +135167,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
134968
135167
  starHorseTableCompRef.value.toggleRowSelection(valueElement);
134969
135168
  }
134970
135169
  }
134971
- const selected = multipleSelection.value?.some((item) => item[props.primaryKey] === row[props.primaryKey]);
135170
+ const selected = multipleSelection.value?.some(
135171
+ (item) => item[props.primaryKey] === row[props.primaryKey]
135172
+ );
134972
135173
  if (!selected) {
134973
135174
  multipleSelection.value.push(row);
134974
135175
  starHorseTableCompRef.value.toggleRowSelection(row, true);
@@ -135034,7 +135235,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135034
135235
  });
135035
135236
  }
135036
135237
  }
135037
- arr.sort((a, b) => (a.priority || 40) - (b.priority || 40));
135238
+ arr.sort(
135239
+ (a, b) => (a.priority || 40) - (b.priority || 40)
135240
+ );
135038
135241
  return arr;
135039
135242
  };
135040
135243
  const expandCommonFun = (name, row, parentRow) => {
@@ -135077,7 +135280,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135077
135280
  const loadField = () => {
135078
135281
  let { fieldList } = analysisFields(props.fieldList?.fieldList);
135079
135282
  if (fieldList) {
135080
- fieldList.sort((a, b) => (a.priority || 100) - (b.priority || 100));
135283
+ fieldList.sort(
135284
+ (a, b) => (a.priority || 100) - (b.priority || 100)
135285
+ );
135081
135286
  return fieldList.filter((item) => item.listVisible)?.slice(0, 3);
135082
135287
  }
135083
135288
  return [];
@@ -135355,7 +135560,11 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135355
135560
  default: withCtx(() => [
135356
135561
  unref(permissions)[epd.authority] ? (openBlock(), createBlock(_component_star_horse_icon, {
135357
135562
  key: 0,
135358
- onClick: ($event) => expandCommonFun(epd.authority, innerScope.row, scope.row),
135563
+ onClick: ($event) => expandCommonFun(
135564
+ epd.authority,
135565
+ innerScope.row,
135566
+ scope.row
135567
+ ),
135359
135568
  "icon-class": epd.icon || "edit",
135360
135569
  style: { "cursor": "pointer" },
135361
135570
  color: epd.authority == "delete" ? "var(--el-color-danger)" : "var(--star-horse-style)"
@@ -135367,7 +135576,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135367
135576
  ]),
135368
135577
  _: 2
135369
135578
  }, 1024)) : createCommentVNode("", true),
135370
- createVNode(_sfc_main$1n, {
135579
+ createVNode(_sfc_main$1m, {
135371
135580
  fieldList: __props.expandTable,
135372
135581
  compSize: configInfo.value.inputSize,
135373
135582
  compUrl: __props.compUrl,
@@ -135384,7 +135593,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135384
135593
  ]),
135385
135594
  _: 1
135386
135595
  })) : createCommentVNode("", true),
135387
- createVNode(_sfc_main$1n, {
135596
+ createVNode(_sfc_main$1m, {
135388
135597
  fieldList: __props.fieldList,
135389
135598
  compSize: configInfo.value.inputSize,
135390
135599
  compUrl: __props.compUrl,
@@ -135400,7 +135609,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135400
135609
  width: unref(buttonList).length > 3 ? 160 : 110
135401
135610
  }, {
135402
135611
  default: withCtx((scope) => [
135403
- createVNode(_sfc_main$1m, {
135612
+ createVNode(_sfc_main$1n, {
135404
135613
  row: scope.row,
135405
135614
  permissions: unref(permissions),
135406
135615
  buttonList: unref(buttonList),
@@ -135431,11 +135640,15 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135431
135640
  onClick: ($event) => selectRow(data),
135432
135641
  onDblclick: ($event) => editData(data)
135433
135642
  }, [
135434
- createElementVNode("span", null, toDisplayString(__props.dataFormat(unref(cardFieldList)[0]?.fieldName, data[unref(cardFieldList)[0]?.fieldName], data)), 1)
135643
+ createElementVNode("span", null, toDisplayString(__props.dataFormat(
135644
+ unref(cardFieldList)[0]?.fieldName,
135645
+ data[unref(cardFieldList)[0]?.fieldName],
135646
+ data
135647
+ )), 1)
135435
135648
  ], 40, _hoisted_9$1)
135436
135649
  ]),
135437
135650
  footer: withCtx(() => [
135438
- createVNode(_sfc_main$1m, {
135651
+ createVNode(_sfc_main$1n, {
135439
135652
  row: data,
135440
135653
  permissions: unref(permissions),
135441
135654
  buttonList: unref(buttonList),
@@ -135502,7 +135715,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
135502
135715
 
135503
135716
  /* unplugin-vue-components disabled */
135504
135717
 
135505
- const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-10f5a29e"]]);
135718
+ const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-49d9026c"]]);
135506
135719
 
135507
135720
  const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
135508
135721
  __proto__: null,
@@ -135681,7 +135894,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
135681
135894
 
135682
135895
  /* unplugin-vue-components disabled */
135683
135896
 
135684
- const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-6f7c685e"]]);
135897
+ const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-dd41bfa1"]]);
135685
135898
 
135686
135899
  const _hoisted_1$E = {
135687
135900
  key: 0,
@@ -135699,7 +135912,7 @@ const _hoisted_5$9 = {
135699
135912
  };
135700
135913
  const _hoisted_6$4 = { class: "tree-content" };
135701
135914
  const _hoisted_7$3 = { class: "menu-title" };
135702
- const _hoisted_8$2 = { class: "name" };
135915
+ const _hoisted_8$2 = { class: "name flex items-center" };
135703
135916
  const _hoisted_9 = {
135704
135917
  key: 0,
135705
135918
  class: "btn"
@@ -135765,12 +135978,19 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135765
135978
  "treeDatas": {},
135766
135979
  "treeDatasModifiers": {}
135767
135980
  }),
135768
- emits: /* @__PURE__ */ mergeModels(["selectData", "changeCollapse", "addData", "removeData"], ["update:treeDatas"]),
135981
+ emits: /* @__PURE__ */ mergeModels([
135982
+ "selectData",
135983
+ "changeCollapse",
135984
+ "addData",
135985
+ "removeData"
135986
+ ], ["update:treeDatas"]),
135769
135987
  setup(__props, { expose: __expose, emit: __emit }) {
135770
135988
  const props = __props;
135771
135989
  const emits = __emit;
135772
135990
  let configStore = useGlobalConfigStore(piniaInstance);
135773
- let compSize = computed(() => configStore.configFormInfo?.inputSize || Config.compSize);
135991
+ let compSize = computed(
135992
+ () => configStore.configFormInfo?.inputSize || Config.compSize
135993
+ );
135774
135994
  const treeRef = ref();
135775
135995
  const menuTreeRef = ref();
135776
135996
  const searchData = ref("");
@@ -135805,9 +136025,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135805
136025
  if (cmd == "add") {
135806
136026
  emits("addData", {});
135807
136027
  } else if (cmd == "collapse") {
135808
- Object.values(treeRef.value.store.nodesMap).forEach((v) => v.collapse());
136028
+ Object.values(treeRef.value.store.nodesMap).forEach(
136029
+ (v) => v.collapse()
136030
+ );
135809
136031
  } else {
135810
- Object.values(treeRef.value.store.nodesMap).forEach((v) => v.expand());
136032
+ Object.values(treeRef.value.store.nodesMap).forEach(
136033
+ (v) => v.expand()
136034
+ );
135811
136035
  }
135812
136036
  } else {
135813
136037
  const getAllSubNodeIndex = (datas) => {
@@ -135830,7 +136054,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135830
136054
  let selectedDataList = ref([]);
135831
136055
  const operSelectData = (data, checked) => {
135832
136056
  if (checked) {
135833
- let hasData = selectedDataList.value.find((item) => item[props.preps.value] == data[props.preps.value]);
136057
+ let hasData = selectedDataList.value.find(
136058
+ (item) => item[props.preps.value] == data[props.preps.value]
136059
+ );
135834
136060
  if (!hasData) {
135835
136061
  selectedDataList.value.push(data);
135836
136062
  }
@@ -135891,7 +136117,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135891
136117
  };
135892
136118
  const loadByPage = async () => {
135893
136119
  if (props.commonPersons?.length && !isSystemManage()) {
135894
- searchParams.push(createCondition("a.createdBy", props.commonPersons, "in"));
136120
+ searchParams.push(
136121
+ createCondition("a.createdBy", props.commonPersons, "in")
136122
+ );
135895
136123
  }
135896
136124
  let params = {
135897
136125
  currentPage: pageInfo.currentPage,
@@ -135953,10 +136181,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135953
136181
  const _component_el_pagination = ElPagination;
135954
136182
  const _component_el_card = ElCard;
135955
136183
  return openBlock(), createBlock(_component_el_card, {
135956
- class: "inner_content",
136184
+ class: "inner_content h-full",
135957
136185
  style: normalizeStyle({
135958
136186
  width: unref(collapse) ? "60px" : "unset",
135959
- height: "100%",
135960
136187
  padding: "unset"
135961
136188
  })
135962
136189
  }, {
@@ -135964,9 +136191,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135964
136191
  __props.showSelectData && unref(selectedDataList)?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
135965
136192
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedDataList), (item) => {
135966
136193
  return openBlock(), createBlock(_component_el_tag, {
135967
- key: unref(_compKey)(item, item[__props.preps.value]),
135968
136194
  closable: "",
135969
- onClose: ($event) => operSelectData(item, false)
136195
+ onClose: ($event) => operSelectData(item, false),
136196
+ key: unref(_compKey)(item, item[__props.preps.value])
135970
136197
  }, {
135971
136198
  default: withCtx(() => [
135972
136199
  createTextVNode(toDisplayString(item[__props.preps.label]), 1)
@@ -136077,6 +136304,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
136077
136304
  default: withCtx(({ node, data }) => [
136078
136305
  createElementVNode("div", _hoisted_7$3, [
136079
136306
  createElementVNode("div", _hoisted_8$2, [
136307
+ createVNode(_component_star_horse_icon, {
136308
+ "icon-class": data.children?.length > 0 ? "folder" : "document"
136309
+ }, null, 8, ["icon-class"]),
136080
136310
  createTextVNode(toDisplayString(node.label) + " ", 1),
136081
136311
  __props.showCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
136082
136312
  createTextVNode(" (" + toDisplayString(data["code"] || data[__props.preps.code || __props.preps.value || "value"] || "") + ") ", 1)
@@ -136156,7 +136386,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
136156
136386
 
136157
136387
  /* unplugin-vue-components disabled */
136158
136388
 
136159
- const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-d1e821b2"]]);
136389
+ const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-f544e839"]]);
136160
136390
 
136161
136391
  const StarHorseTree$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
136162
136392
  __proto__: null,
@@ -136182,7 +136412,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
136182
136412
  const _component_el_scrollbar = ElScrollbar;
136183
136413
  const _component_el_form = ElForm;
136184
136414
  return openBlock(), createElementBlock(Fragment, null, [
136185
- renderSlot(_ctx.$slots, "header", {}, void 0, true),
136415
+ renderSlot(_ctx.$slots, "header"),
136186
136416
  createVNode(_component_el_form, mergeProps({ model: dataForm.value }, _ctx.$attrs, {
136187
136417
  class: "data-form",
136188
136418
  ref_key: "shFormRef",
@@ -136194,28 +136424,24 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
136194
136424
  height: "100%"
136195
136425
  }, {
136196
136426
  default: withCtx(() => [
136197
- _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : renderSlot(_ctx.$slots, "empty", { key: 1 }, void 0, true)
136427
+ _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : renderSlot(_ctx.$slots, "empty", { key: 1 })
136198
136428
  ]),
136199
136429
  _: 3
136200
136430
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
136201
- _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : renderSlot(_ctx.$slots, "empty", { key: 1 }, void 0, true)
136431
+ _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : renderSlot(_ctx.$slots, "empty", { key: 1 })
136202
136432
  ], 64))
136203
136433
  ]),
136204
136434
  _: 3
136205
136435
  }, 16, ["model"]),
136206
- renderSlot(_ctx.$slots, "button", {}, void 0, true)
136436
+ renderSlot(_ctx.$slots, "button")
136207
136437
  ], 64);
136208
136438
  };
136209
136439
  }
136210
136440
  });
136211
136441
 
136212
- /* unplugin-vue-components disabled */
136213
-
136214
- const ShForm = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-7127b1b9"]]);
136215
-
136216
- const ShForm$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
136442
+ const ShForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
136217
136443
  __proto__: null,
136218
- default: ShForm
136444
+ default: _sfc_main$1i
136219
136445
  }, Symbol.toStringTag, { value: 'Module' }));
136220
136446
 
136221
136447
  const colDataInfo = () => {
@@ -136614,7 +136840,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
136614
136840
  class: "field-item",
136615
136841
  onClick: ($event) => selectData(item)
136616
136842
  }, [
136617
- _cache[4] || (_cache[4] = createTextVNode("   ")),
136843
+ _cache[4] || (_cache[4] = createTextVNode("    ")),
136618
136844
  createElementVNode("div", null, [
136619
136845
  createVNode(_component_star_horse_icon, {
136620
136846
  "icon-class": item.itemIcon
@@ -136637,7 +136863,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
136637
136863
  class: "field-item",
136638
136864
  onClick: ($event) => selectData(item)
136639
136865
  }, [
136640
- _cache[6] || (_cache[6] = createTextVNode("   ")),
136866
+ _cache[6] || (_cache[6] = createTextVNode("    ")),
136641
136867
  createElementVNode("div", null, [
136642
136868
  createVNode(_component_star_horse_icon, {
136643
136869
  "icon-class": item.itemIcon
@@ -136660,7 +136886,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
136660
136886
  class: "field-item",
136661
136887
  onClick: ($event) => selectData(item)
136662
136888
  }, [
136663
- _cache[8] || (_cache[8] = createTextVNode("   ")),
136889
+ _cache[8] || (_cache[8] = createTextVNode("    ")),
136664
136890
  createElementVNode("div", null, [
136665
136891
  createVNode(_component_star_horse_icon, {
136666
136892
  "icon-class": item.itemIcon
@@ -136681,7 +136907,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
136681
136907
 
136682
136908
  /* unplugin-vue-components disabled */
136683
136909
 
136684
- const FieldList = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-bed8633c"]]);
136910
+ const FieldList = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-19524449"]]);
136685
136911
 
136686
136912
  const designForm$1 = useDesignFormStore(piniaInstance);
136687
136913
  const formData = computed(() => designForm$1.formData);
@@ -136738,11 +136964,18 @@ function fieldCopy(data, type) {
136738
136964
  mvData["compType"] = type;
136739
136965
  mvData["itemType"] = reData.itemType;
136740
136966
  if (reData.itemType == "box") {
136741
- mvData.preps["elements"] = [{ rowIndex: 1, columns: [{ colIndex: 1, colspan: 24, items: [] }] }];
136967
+ mvData.preps["elements"] = [
136968
+ { rowIndex: 1, columns: [{ colIndex: 1, colspan: 24, items: [] }] }
136969
+ ];
136742
136970
  } else if (reData.itemType == "table") {
136743
136971
  mvData.preps["elements"] = [{ colIndex: 1, columns: 1, items: [] }];
136744
136972
  } else if (reData.itemType == "dytable") {
136745
- mvData.preps["elements"] = [{ colIndex: 1, columns: [{ colIndex: 1, colspan: 1, rowspan: 1, items: [] }] }];
136973
+ mvData.preps["elements"] = [
136974
+ {
136975
+ colIndex: 1,
136976
+ columns: [{ colIndex: 1, colspan: 1, rowspan: 1, items: [] }]
136977
+ }
136978
+ ];
136746
136979
  }
136747
136980
  return mvData;
136748
136981
  }
@@ -137040,7 +137273,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
137040
137273
 
137041
137274
  /* unplugin-vue-components disabled */
137042
137275
 
137043
- const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-fcb8577d"]]);
137276
+ const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-79633df0"]]);
137044
137277
 
137045
137278
  const groupBoxContainer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137046
137279
  __proto__: null,
@@ -137069,7 +137302,14 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
137069
137302
  let isEdit = computed(() => designForm.isEdit);
137070
137303
  const isDragging = computed(() => designForm.isDragging);
137071
137304
  let boxCompList = computed(() => props.field);
137072
- let excludeContainerType = ["box", "tab", "table", "dytable", "collapse", "card"];
137305
+ let excludeContainerType = [
137306
+ "box",
137307
+ "tab",
137308
+ "table",
137309
+ "dytable",
137310
+ "collapse",
137311
+ "card"
137312
+ ];
137073
137313
  const checkItem = (items) => {
137074
137314
  if (!items["items"]) {
137075
137315
  items["items"] = [];
@@ -137191,7 +137431,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
137191
137431
 
137192
137432
  /* unplugin-vue-components disabled */
137193
137433
 
137194
- const boxContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-c06acb5f"]]);
137434
+ const boxContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-ae6af8ca"]]);
137195
137435
 
137196
137436
  const boxContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137197
137437
  __proto__: null,
@@ -137219,7 +137459,14 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
137219
137459
  let designForm = useDesignFormStore(piniaInstance);
137220
137460
  const isDragging = computed(() => designForm.isDragging);
137221
137461
  const formData = useModel(__props, "formData");
137222
- let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
137462
+ let containerType = [
137463
+ "tab",
137464
+ "box",
137465
+ "table",
137466
+ "card",
137467
+ "dytable",
137468
+ "collapse"
137469
+ ];
137223
137470
  const isContainer = (data) => {
137224
137471
  return containerType.includes(data.itemType);
137225
137472
  };
@@ -137372,7 +137619,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
137372
137619
 
137373
137620
  /* unplugin-vue-components disabled */
137374
137621
 
137375
- const cardContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-6f12a687"]]);
137622
+ const cardContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-e1ae7783"]]);
137376
137623
 
137377
137624
  const cardContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137378
137625
  __proto__: null,
@@ -137521,7 +137768,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
137521
137768
 
137522
137769
  /* unplugin-vue-components disabled */
137523
137770
 
137524
- const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-526b58e1"]]);
137771
+ const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-b81bf226"]]);
137525
137772
 
137526
137773
  const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137527
137774
  __proto__: null,
@@ -137557,7 +137804,14 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
137557
137804
  const props = __props;
137558
137805
  let designForm = useDesignFormStore(piniaInstance);
137559
137806
  let draggingItem = computed(() => designForm.draggingItem);
137560
- let excludeContainerType = ["box", "tab", "table", "dytable", "collapse", "card"];
137807
+ let excludeContainerType = [
137808
+ "box",
137809
+ "tab",
137810
+ "table",
137811
+ "dytable",
137812
+ "collapse",
137813
+ "card"
137814
+ ];
137561
137815
  let currentSubItemId = computed(() => designForm.currentSubItemId);
137562
137816
  let isEdit = computed(() => designForm.isEdit);
137563
137817
  const isDragging = computed(() => designForm.isDragging);
@@ -137694,7 +137948,10 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
137694
137948
  }, {
137695
137949
  item: withCtx(({ element: data }) => [
137696
137950
  createElementVNode("div", {
137697
- class: normalizeClass({ "comp-item": data?.preps["headerFlag"] != "Y", "bare-item": data?.preps["headerFlag"] })
137951
+ class: normalizeClass({
137952
+ "comp-item": data?.preps["headerFlag"] != "Y",
137953
+ "bare-item": data?.preps["headerFlag"]
137954
+ })
137698
137955
  }, [
137699
137956
  (openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
137700
137957
  key: data?.id,
@@ -137881,7 +138138,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
137881
138138
 
137882
138139
  /* unplugin-vue-components disabled */
137883
138140
 
137884
- const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-b8426e0f"]]);
138141
+ const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-2ba233b6"]]);
137885
138142
 
137886
138143
  const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137887
138144
  __proto__: null,
@@ -137954,7 +138211,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
137954
138211
 
137955
138212
  /* unplugin-vue-components disabled */
137956
138213
 
137957
- const dytableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-75a63e4b"]]);
138214
+ const dytableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-7c1492bc"]]);
137958
138215
 
137959
138216
  const dytableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
137960
138217
  __proto__: null,
@@ -137979,7 +138236,14 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
137979
138236
  let designForm = useDesignFormStore(piniaInstance);
137980
138237
  const isDragging = computed(() => designForm.isDragging);
137981
138238
  const formData = useModel(__props, "formData");
137982
- let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
138239
+ let containerType = [
138240
+ "tab",
138241
+ "box",
138242
+ "table",
138243
+ "card",
138244
+ "dytable",
138245
+ "collapse"
138246
+ ];
137983
138247
  const isContainer = (data) => {
137984
138248
  return containerType.includes(data.itemType);
137985
138249
  };
@@ -138121,7 +138385,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
138121
138385
 
138122
138386
  /* unplugin-vue-components disabled */
138123
138387
 
138124
- const tabContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-57f47323"]]);
138388
+ const tabContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-b41a6477"]]);
138125
138389
 
138126
138390
  const tabContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
138127
138391
  __proto__: null,
@@ -138154,7 +138418,14 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138154
138418
  const props = __props;
138155
138419
  let designForm = useDesignFormStore(piniaInstance);
138156
138420
  let draggingItem = computed(() => designForm.draggingItem);
138157
- let excludeContainerType = ["box", "tab", "table", "dytable", "collapse", "card"];
138421
+ let excludeContainerType = [
138422
+ "box",
138423
+ "tab",
138424
+ "table",
138425
+ "dytable",
138426
+ "collapse",
138427
+ "card"
138428
+ ];
138158
138429
  let isEdit = computed(() => designForm.isEdit);
138159
138430
  const isDragging = computed(() => designForm.isDragging);
138160
138431
  const formData = useModel(__props, "formData");
@@ -138211,17 +138482,19 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138211
138482
  currentIndex.value = 0;
138212
138483
  };
138213
138484
  const deleteCol = (index) => {
138214
- operationConfirm("列删除后,对应的组件也会删除,确认删除吗?").then((res) => {
138215
- if (res) {
138216
- let elements = props.field.preps.elements;
138217
- elements.splice(index - 1, 1);
138218
- for (let index2 in elements) {
138219
- elements[index2].colIndex = parseInt(index2) + 1;
138485
+ operationConfirm("列删除后,对应的组件也会删除,确认删除吗?").then(
138486
+ (res) => {
138487
+ if (res) {
138488
+ let elements = props.field.preps.elements;
138489
+ elements.splice(index - 1, 1);
138490
+ for (let index2 in elements) {
138491
+ elements[index2].colIndex = parseInt(index2) + 1;
138492
+ }
138493
+ props.field.preps.columns = props.field.preps.columns - 1;
138494
+ currentIndex.value = 0;
138220
138495
  }
138221
- props.field.preps.columns = props.field.preps.columns - 1;
138222
- currentIndex.value = 0;
138223
138496
  }
138224
- });
138497
+ );
138225
138498
  };
138226
138499
  return (_ctx, _cache) => {
138227
138500
  const _component_el_tooltip = ElTooltip;
@@ -138271,7 +138544,10 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138271
138544
  createElementVNode("tr", null, [
138272
138545
  (openBlock(true), createElementBlock(Fragment, null, renderList(parseInt(__props.field.preps.columns || 1), (td) => {
138273
138546
  return openBlock(), createElementBlock("td", {
138274
- style: normalizeStyle({ width: 100 / parseInt(__props.field.preps.columns || 1) + "%", "margin-top": "5px" }),
138547
+ style: normalizeStyle({
138548
+ width: 100 / parseInt(__props.field.preps.columns || 1) + "%",
138549
+ "margin-top": "5px"
138550
+ }),
138275
138551
  class: normalizeClass(["td-clz", { "dragging-area": isDragging.value }]),
138276
138552
  onMouseenter: (evt) => tdOver(evt, td),
138277
138553
  onMouseleave: (evt) => tdOut(evt)
@@ -138316,7 +138592,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
138316
138592
 
138317
138593
  /* unplugin-vue-components disabled */
138318
138594
 
138319
- const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-d1ed37f0"]]);
138595
+ const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-a3ef3199"]]);
138320
138596
 
138321
138597
  const tableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
138322
138598
  __proto__: null,
@@ -138361,7 +138637,11 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138361
138637
  };
138362
138638
  const selectData = (data) => {
138363
138639
  if (!isEdit.value || isDisabled.value) return;
138364
- designForm.selectItem(props.formItem, data.itemType, getParentComp(props.parentField));
138640
+ designForm.selectItem(
138641
+ props.formItem,
138642
+ data.itemType,
138643
+ getParentComp(props.parentField)
138644
+ );
138365
138645
  };
138366
138646
  const exchangeItem = () => {
138367
138647
  designForm.setComponentVisible(true);
@@ -138429,7 +138709,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138429
138709
  __props.bareFlag === true ? (openBlock(), createElementBlock("div", {
138430
138710
  key: 0,
138431
138711
  class: normalizeClass(["w-fill", { "item-info": __props.formItem.preps?.itemType != "usercomp" }]),
138432
- style: normalizeStyle({ margin: __props.formItem.preps?.itemType == "button" ? "5px auto" : "unset" })
138712
+ style: normalizeStyle({
138713
+ margin: __props.formItem.preps?.itemType == "button" ? "5px auto" : "unset"
138714
+ })
138433
138715
  }, [
138434
138716
  __props.formItem.preps?.helpMsg ? (openBlock(), createBlock(_component_help, {
138435
138717
  key: 0,
@@ -138472,7 +138754,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138472
138754
  "bare-item": true,
138473
138755
  "item-info": __props.formItem.preps?.itemType != "usercomp"
138474
138756
  }]),
138475
- style: normalizeStyle({ margin: __props.formItem?.itemType == "button" ? "5px auto" : "unset" })
138757
+ style: normalizeStyle({
138758
+ margin: __props.formItem?.itemType == "button" ? "5px auto" : "unset"
138759
+ })
138476
138760
  }, [
138477
138761
  __props.formItem.preps?.helpMsg ? (openBlock(), createBlock(_component_help, {
138478
138762
  key: 0,
@@ -138571,7 +138855,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138571
138855
  ], 34)) : (openBlock(), createElementBlock("div", {
138572
138856
  key: 1,
138573
138857
  class: "item-info",
138574
- style: normalizeStyle({ margin: __props.formItem.preps?.itemType == "button" ? "5px auto" : "unset" })
138858
+ style: normalizeStyle({
138859
+ margin: __props.formItem.preps?.itemType == "button" ? "5px auto" : "unset"
138860
+ })
138575
138861
  }, [
138576
138862
  __props.formItem.preps?.helpMsg ? (openBlock(), createBlock(_component_help, {
138577
138863
  key: 0,
@@ -138594,7 +138880,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
138594
138880
 
138595
138881
  /* unplugin-vue-components disabled */
138596
138882
 
138597
- const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-967cf10e"]]);
138883
+ const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-78544621"]]);
138598
138884
 
138599
138885
  const starhorseFormItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
138600
138886
  __proto__: null,
@@ -138650,7 +138936,9 @@ const operationRelation = async (relation, actionName, formData, currentName) =>
138650
138936
  const field = userOperation.getFormItem(fieldName);
138651
138937
  const params = temp.params;
138652
138938
  if (conditon == "dataLinkage") {
138653
- formData[fieldName + "OptionList"] = await compDynamicData({ preps: temp });
138939
+ formData[fieldName + "OptionList"] = await compDynamicData({
138940
+ preps: temp
138941
+ });
138654
138942
  } else if (conditon == "eqDisable" || conditon == "eqDisableOrEditable") {
138655
138943
  formData["_" + fieldName + "Editable"] = !(currentVal == params);
138656
138944
  } else if (conditon == "eqEditable" || conditon == "eqEditableOrDisable") {
@@ -138668,7 +138956,6 @@ const operationRelation = async (relation, actionName, formData, currentName) =>
138668
138956
  };
138669
138957
  const allAction = (context, emits, formData, actionName, isInit = false) => {
138670
138958
  const currentData = unref(formData);
138671
- context.field;
138672
138959
  if (!isInit && actionName != "normal") {
138673
138960
  try {
138674
138961
  emits("selfFunc", actionName, currentData);
@@ -138723,9 +139010,10 @@ const buttonAction = (context, emits, formData, code, evtName = "click") => {
138723
139010
  const checkIsDisabled = (attrs) => {
138724
139011
  const { field } = attrs;
138725
139012
  const fieldName = field.fieldName;
138726
- const isExplicitlyDisabled = attrs?.disabled || attrs.editDisabled || field.disabled || field.preps?.disabled || field.editDisabled || field.preps?.editDisabled;
138727
- const isImplicitlyDisabled = !attrs?.formData?.[`_${fieldName}Editable`] && field?.preps?.disabled === "Y";
138728
- return isExplicitlyDisabled === true || isImplicitlyDisabled === true;
139013
+ const isExplicitlyDisabled = attrs?.disabled || field.disabled || field.preps?.disabled;
139014
+ const eidtDidsabled = (attrs.editDisabled || field.editDisabled || field.preps?.editDisabled) && field.preps?.starHorseFieldSource != 1;
139015
+ const isImplicitlyDisabled = !attrs?.formData?.[`_${fieldName}Editable`] && field?.preps?.disabled;
139016
+ return eidtDidsabled === true || isExplicitlyDisabled === true || isImplicitlyDisabled === true;
138729
139017
  };
138730
139018
 
138731
139019
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
@@ -138804,13 +139092,17 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
138804
139092
  allAction(props, emits, formData, actionName.value, true);
138805
139093
  }
138806
139094
  });
138807
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
138808
- if (val?.length > 0) {
138809
- props.field.preps["options"] = val;
139095
+ watch(
139096
+ () => formData.value[props.field.fieldName + "OptionList"],
139097
+ (val) => {
139098
+ if (val?.length > 0) {
139099
+ props.field.preps["options"] = val;
139100
+ }
139101
+ },
139102
+ {
139103
+ immediate: true
138810
139104
  }
138811
- }, {
138812
- immediate: true
138813
- });
139105
+ );
138814
139106
  return (_ctx, _cache) => {
138815
139107
  const _component_el_cascader = ElCascader;
138816
139108
  const _component_starhorse_form_item = __unplugin_components_0$3;
@@ -138839,7 +139131,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
138839
139131
 
138840
139132
  /* unplugin-vue-components disabled */
138841
139133
 
138842
- const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-0301af79"]]);
139134
+ const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-0af83aee"]]);
138843
139135
 
138844
139136
  const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
138845
139137
  __proto__: null,
@@ -138898,7 +139190,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
138898
139190
  let endOffset = rate * 3;
138899
139191
  let frameCount = endOffset - startOffset;
138900
139192
  let newAudioBuffer;
138901
- newAudioBuffer = new AudioContext().createBuffer(channels, endOffset - startOffset, rate);
139193
+ newAudioBuffer = new AudioContext().createBuffer(
139194
+ channels,
139195
+ endOffset - startOffset,
139196
+ rate
139197
+ );
138902
139198
  let anotherArray = new Float32Array(frameCount);
138903
139199
  let offset = 0;
138904
139200
  for (let channel = 0; channel < channels; channel++) {
@@ -139053,11 +139349,15 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
139053
139349
  cb(results);
139054
139350
  }
139055
139351
  };
139056
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
139057
- if (val?.length > 0) {
139058
- props.field.preps["data"] = val;
139059
- }
139060
- }, { immediate: true });
139352
+ watch(
139353
+ () => formData.value[props.field.fieldName + "OptionList"],
139354
+ (val) => {
139355
+ if (val?.length > 0) {
139356
+ props.field.preps["data"] = val;
139357
+ }
139358
+ },
139359
+ { immediate: true }
139360
+ );
139061
139361
  return (_ctx, _cache) => {
139062
139362
  const _component_el_autocomplete = ElAutocomplete;
139063
139363
  const _component_starhorse_form_item = __unplugin_components_0$3;
@@ -139159,7 +139459,13 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139159
139459
  let params = [];
139160
139460
  dynamicParams?.forEach((dynamicParam) => {
139161
139461
  let value = formData.value[dynamicParam.paramName] ?? dynamicParam.defaultValue;
139162
- params.push(createCondition(dynamicParam.paramName, value, dynamicParam.matchType));
139462
+ params.push(
139463
+ createCondition(
139464
+ dynamicParam.paramName,
139465
+ value,
139466
+ dynamicParam.matchType
139467
+ )
139468
+ );
139163
139469
  });
139164
139470
  urlParam["fieldList"] = params;
139165
139471
  } else {
@@ -139169,33 +139475,35 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139169
139475
  warning("请提供需要调用的接口");
139170
139476
  return;
139171
139477
  }
139172
- httpRequest(action.url, action.method ?? "POST", urlParam).then((res) => {
139173
- console.log(res);
139174
- let reData = res.data;
139175
- if (reData.code) {
139176
- warning(reData.cnMessage);
139177
- return;
139178
- }
139179
- let datas = reData?.data;
139180
- if (action?.afterAction) {
139181
- if (!datas) {
139182
- warning("返回数据为空,无法赋值");
139183
- return;
139184
- }
139185
- if (Array.isArray(datas)) {
139186
- warning("返回数据为数组,无法赋值");
139478
+ httpRequest(action.url, action.method ?? "POST", urlParam).then(
139479
+ (res) => {
139480
+ console.log(res);
139481
+ let reData = res.data;
139482
+ if (reData.code) {
139483
+ warning(reData.cnMessage);
139187
139484
  return;
139188
139485
  }
139189
- if (action?.afterAction == "assignCurrentName") {
139190
- formData.value[props.field.fieldName] = datas;
139191
- } else if (action?.afterAction == "assignForm") {
139192
- let entries = Object.entries(datas);
139193
- entries.forEach(([key, value]) => {
139194
- formData.value[key] = value;
139195
- });
139486
+ let datas = reData?.data;
139487
+ if (action?.afterAction) {
139488
+ if (!datas) {
139489
+ warning("返回数据为空,无法赋值");
139490
+ return;
139491
+ }
139492
+ if (Array.isArray(datas)) {
139493
+ warning("返回数据为数组,无法赋值");
139494
+ return;
139495
+ }
139496
+ if (action?.afterAction == "assignCurrentName") {
139497
+ formData.value[props.field.fieldName] = datas;
139498
+ } else if (action?.afterAction == "assignForm") {
139499
+ let entries = Object.entries(datas);
139500
+ entries.forEach(([key, value]) => {
139501
+ formData.value[key] = value;
139502
+ });
139503
+ }
139196
139504
  }
139197
139505
  }
139198
- });
139506
+ );
139199
139507
  } else if (action?.viewType == "code") {
139200
139508
  if (!action.code) {
139201
139509
  warning("请提供需要执行的代码");
@@ -139226,7 +139534,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139226
139534
  actionName.value = props.field.actionName || "normal";
139227
139535
  });
139228
139536
  return (_ctx, _cache) => {
139229
- const _component_star_horse_form = __unplugin_components_1$2;
139537
+ const _component_star_horse_form = _sfc_main$1u;
139230
139538
  const _component_star_horse_editor = resolveComponent("star-horse-editor");
139231
139539
  const _component_star_horse_dialog = __unplugin_components_0$8;
139232
139540
  const _component_star_horse_icon = __unplugin_components_0$a;
@@ -139296,7 +139604,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
139296
139604
 
139297
139605
  /* unplugin-vue-components disabled */
139298
139606
 
139299
- const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-41c4fc6c"]]);
139607
+ const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-0cdee032"]]);
139300
139608
 
139301
139609
  const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
139302
139610
  __proto__: null,
@@ -139376,13 +139684,17 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
139376
139684
  allAction(props, emits, formData, actionName.value, true);
139377
139685
  }
139378
139686
  });
139379
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
139380
- if (val?.length > 0) {
139381
- props.field.preps["options"] = val;
139687
+ watch(
139688
+ () => formData.value[props.field.fieldName + "OptionList"],
139689
+ (val) => {
139690
+ if (val?.length > 0) {
139691
+ props.field.preps["options"] = val;
139692
+ }
139693
+ },
139694
+ {
139695
+ immediate: true
139382
139696
  }
139383
- }, {
139384
- immediate: true
139385
- });
139697
+ );
139386
139698
  return (_ctx, _cache) => {
139387
139699
  const _component_el_cascader = ElCascader;
139388
139700
  const _component_starhorse_form_item = __unplugin_components_0$3;
@@ -139411,7 +139723,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
139411
139723
 
139412
139724
  /* unplugin-vue-components disabled */
139413
139725
 
139414
- const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-e6cc1828"]]);
139726
+ const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-b42db049"]]);
139415
139727
 
139416
139728
  const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
139417
139729
  __proto__: null,
@@ -139472,11 +139784,15 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
139472
139784
  initData();
139473
139785
  allAction(props, emits, formData, "change", true);
139474
139786
  });
139475
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
139476
- if (val?.length > 0) {
139477
- props.field.preps["values"] = val;
139478
- }
139479
- }, { immediate: true });
139787
+ watch(
139788
+ () => formData.value[props.field.fieldName + "OptionList"],
139789
+ (val) => {
139790
+ if (val?.length > 0) {
139791
+ props.field.preps["values"] = val;
139792
+ }
139793
+ },
139794
+ { immediate: true }
139795
+ );
139480
139796
  return (_ctx, _cache) => {
139481
139797
  const _component_el_checkbox = ElCheckbox;
139482
139798
  const _component_el_checkbox_group = ElCheckboxGroup$1;
@@ -139738,7 +140054,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139738
140054
  thisDD = DD < 10 ? "0" + DD : DD;
139739
140055
  }
139740
140056
  }
139741
- let thisWeek = formatDate(/* @__PURE__ */ new Date(YY + "-" + MM + "-" + thisDD + " 00:00:00"), "week");
140057
+ let thisWeek = formatDate(
140058
+ /* @__PURE__ */ new Date(YY + "-" + MM + "-" + thisDD + " 00:00:00"),
140059
+ "week"
140060
+ );
139742
140061
  if (thisWeek == 0) {
139743
140062
  DD++;
139744
140063
  thisDD = DD < 10 ? "0" + DD : DD;
@@ -139753,7 +140072,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139753
140072
  }
139754
140073
  }
139755
140074
  } else if (dayRule.value == "weekDay") {
139756
- let thisWeek = formatDate(/* @__PURE__ */ new Date(YY + "-" + MM + "-" + DD + " 00:00:00"), "week");
140075
+ let thisWeek = formatDate(
140076
+ /* @__PURE__ */ new Date(YY + "-" + MM + "-" + DD + " 00:00:00"),
140077
+ "week"
140078
+ );
139757
140079
  if (dayRuleSup.value.indexOf(thisWeek) < 0) {
139758
140080
  if (Di == DDate.length - 1) {
139759
140081
  resetDay();
@@ -139766,7 +140088,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139766
140088
  continue;
139767
140089
  }
139768
140090
  } else if (dayRule.value == "assWeek") {
139769
- let thisWeek = formatDate(/* @__PURE__ */ new Date(YY + "-" + MM + "-" + DD + " 00:00:00"), "week");
140091
+ let thisWeek = formatDate(
140092
+ /* @__PURE__ */ new Date(YY + "-" + MM + "-" + DD + " 00:00:00"),
140093
+ "week"
140094
+ );
139770
140095
  if (dayRuleSup.value[1] >= thisWeek) {
139771
140096
  DD = (dayRuleSup.value[0] - 1) * 7 + dayRuleSup.value[1] - thisWeek + 1;
139772
140097
  } else {
@@ -139779,7 +140104,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139779
140104
  thisDD = DD < 10 ? "0" + DD : DD;
139780
140105
  }
139781
140106
  }
139782
- let thisWeek = formatDate(/* @__PURE__ */ new Date(YY + "-" + MM + "-" + thisDD + " 00:00:00"), "week");
140107
+ let thisWeek = formatDate(
140108
+ /* @__PURE__ */ new Date(YY + "-" + MM + "-" + thisDD + " 00:00:00"),
140109
+ "week"
140110
+ );
139783
140111
  if (dayRuleSup.value < thisWeek) {
139784
140112
  DD -= thisWeek - dayRuleSup.value;
139785
140113
  } else if (dayRuleSup.value > thisWeek) {
@@ -139830,7 +140158,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139830
140158
  for (let si = sIdx; si <= sDate.length - 1; si++) {
139831
140159
  let ss = sDate[si] < 10 ? "0" + sDate[si] : sDate[si];
139832
140160
  if (MM !== "00" && DD !== "00") {
139833
- resultArr.push(YY + "-" + MM + "-" + DD + " " + hh + ":" + mm + ":" + ss);
140161
+ resultArr.push(
140162
+ YY + "-" + MM + "-" + DD + " " + hh + ":" + mm + ":" + ss
140163
+ );
139834
140164
  nums++;
139835
140165
  }
139836
140166
  if (nums == 5) break goYear;
@@ -139865,7 +140195,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
139865
140195
  } else {
139866
140196
  resultList.value = resultArr;
139867
140197
  if (resultArr.length !== 5) {
139868
- resultList.value.push("最近100年内只有上面" + resultArr.length + "条结果!");
140198
+ resultList.value.push(
140199
+ "最近100年内只有上面" + resultArr.length + "条结果!"
140200
+ );
139869
140201
  }
139870
140202
  }
139871
140203
  isShow.value = true;
@@ -140103,7 +140435,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
140103
140435
 
140104
140436
  /* unplugin-vue-components disabled */
140105
140437
 
140106
- const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-622d18f9"]]);
140438
+ const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-05335f05"]]);
140107
140439
 
140108
140440
  const _hoisted_1$s = { class: "cron-content" };
140109
140441
  const _hoisted_2$m = { class: "cron-item" };
@@ -141563,13 +141895,13 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
141563
141895
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => isRef(checkboxList) ? checkboxList.value = $event : checkboxList = $event)
141564
141896
  }, {
141565
141897
  default: withCtx(() => [
141566
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekList), (item, index) => {
141898
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekList), (item) => {
141567
141899
  return openBlock(), createBlock(_component_el_checkbox, {
141568
141900
  class: "my-[5px]",
141569
141901
  border: true,
141570
141902
  key: item,
141571
141903
  value: item + 1,
141572
- label: item < 10 ? "0" + item : item
141904
+ label: Number(item) < 10 ? "0" + item : item
141573
141905
  }, null, 8, ["value", "label"]);
141574
141906
  }), 128))
141575
141907
  ]),
@@ -141606,12 +141938,24 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
141606
141938
  let average02 = ref(1);
141607
141939
  let checkboxList = ref([]);
141608
141940
  const cycleTotalFun = () => {
141609
- cycle01.value = props.check?.(cycle01.value, fullYear.value, fullYear.value + 100);
141610
- cycle02.value = props.check?.(cycle02.value, fullYear.value + 1, fullYear.value + 101);
141941
+ cycle01.value = props.check?.(
141942
+ cycle01.value,
141943
+ fullYear.value,
141944
+ fullYear.value + 100
141945
+ );
141946
+ cycle02.value = props.check?.(
141947
+ cycle02.value,
141948
+ fullYear.value + 1,
141949
+ fullYear.value + 101
141950
+ );
141611
141951
  return cycle01.value + "-" + cycle02.value;
141612
141952
  };
141613
141953
  const averageTotalFun = () => {
141614
- average01.value = props.check?.(average01.value, fullYear.value, fullYear.value + 100);
141954
+ average01.value = props.check?.(
141955
+ average01.value,
141956
+ fullYear.value,
141957
+ fullYear.value + 100
141958
+ );
141615
141959
  average02.value = props.check?.(average02.value, 1, 10);
141616
141960
  return average01.value + "/" + average02.value;
141617
141961
  };
@@ -141838,7 +142182,15 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
141838
142182
  const props = __props;
141839
142183
  const emits = __emit;
141840
142184
  let dataValue = useVModel(props, "modelValue", emits);
141841
- let tabTitles = ref(["秒", "分钟", "小时", "日", "月", "周", "年"]);
142185
+ let tabTitles = ref([
142186
+ "秒",
142187
+ "分钟",
142188
+ "小时",
142189
+ "日",
142190
+ "月",
142191
+ "周",
142192
+ "年"
142193
+ ]);
141842
142194
  let tabActive = ref("0");
141843
142195
  const cronsecond = ref();
141844
142196
  const cronmin = ref();
@@ -142280,7 +142632,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
142280
142632
 
142281
142633
  /* unplugin-vue-components disabled */
142282
142634
 
142283
- const Crontab = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-fb0ce684"]]);
142635
+ const Crontab = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-9b1db419"]]);
142284
142636
 
142285
142637
  const _sfc_main$T = /* @__PURE__ */ defineComponent({
142286
142638
  __name: "cron-item",
@@ -142414,7 +142766,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
142414
142766
 
142415
142767
  /* unplugin-vue-components disabled */
142416
142768
 
142417
- const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-122ac10b"]]);
142769
+ const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-0eb2001e"]]);
142418
142770
 
142419
142771
  const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142420
142772
  __proto__: null,
@@ -142509,8 +142861,9 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142509
142861
  "date-format": "YYYY-MM-DD",
142510
142862
  "time-format": "HH:mm"
142511
142863
  }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
142864
+ onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
142512
142865
  modelValue: formData.value[__props.field.fieldName],
142513
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
142866
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
142514
142867
  }), null, 16, ["fid", "disabled", "format", "value-format", "modelValue"])
142515
142868
  ]),
142516
142869
  _: 1
@@ -142521,7 +142874,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142521
142874
 
142522
142875
  /* unplugin-vue-components disabled */
142523
142876
 
142524
- const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-82e8a02c"]]);
142877
+ const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-f6892f36"]]);
142525
142878
 
142526
142879
  const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142527
142880
  __proto__: null,
@@ -142796,7 +143149,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
142796
143149
 
142797
143150
  /* unplugin-vue-components disabled */
142798
143151
 
142799
- const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-3fde5b28"]]);
143152
+ const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-7daedcdf"]]);
142800
143153
 
142801
143154
  const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142802
143155
  __proto__: null,
@@ -142944,7 +143297,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
142944
143297
 
142945
143298
  /* unplugin-vue-components disabled */
142946
143299
 
142947
- const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-b6fa2372"]]);
143300
+ const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-d9d9a95c"]]);
142948
143301
 
142949
143302
  const htmlItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142950
143303
  __proto__: null,
@@ -160101,7 +160454,10 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
160101
160454
  default: withCtx(() => [
160102
160455
  createElementVNode("div", _hoisted_1$i, [
160103
160456
  createVNode(unref(QuillEditor), mergeProps({
160104
- style: { height: __props.field.preps?.height || "300px", "overflow-y": "hidden" },
160457
+ style: {
160458
+ height: __props.field.preps?.height || "300px",
160459
+ "overflow-y": "hidden"
160460
+ },
160105
160461
  modules
160106
160462
  }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
160107
160463
  modelValue: formData.value[__props.field.fieldName],
@@ -160309,7 +160665,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
160309
160665
 
160310
160666
  /* unplugin-vue-components disabled */
160311
160667
 
160312
- const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-023f7835"]]);
160668
+ const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-18485b81"]]);
160313
160669
 
160314
160670
  const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160315
160671
  __proto__: null,
@@ -160542,7 +160898,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
160542
160898
 
160543
160899
  /* unplugin-vue-components disabled */
160544
160900
 
160545
- const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-099b96fb"]]);
160901
+ const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-70ac6f71"]]);
160546
160902
 
160547
160903
  const imageItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160548
160904
  __proto__: null,
@@ -160580,9 +160936,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
160580
160936
  const handleReset = () => {
160581
160937
  content.value = "";
160582
160938
  };
160583
- watch(() => props.initialContent, (newVal) => {
160584
- content.value = newVal || "";
160585
- });
160939
+ watch(
160940
+ () => props.initialContent,
160941
+ (newVal) => {
160942
+ content.value = newVal || "";
160943
+ }
160944
+ );
160586
160945
  return (_ctx, _cache) => {
160587
160946
  const _component_el_input = ElInput;
160588
160947
  const _component_star_horse_dialog = __unplugin_components_0$8;
@@ -160799,7 +161158,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
160799
161158
 
160800
161159
  /* unplugin-vue-components disabled */
160801
161160
 
160802
- const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-0cee7dd9"]]);
161161
+ const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-991cb7cf"]]);
160803
161162
 
160804
161163
  const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160805
161164
  __proto__: null,
@@ -160820,7 +161179,11 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160820
161179
  parentField: { type: Object },
160821
161180
  formInfo: { type: Object },
160822
161181
  // 新增:区分 JSON 对象/数组的关键参数
160823
- dataType: { type: String, default: "object", validator: (v) => ["object", "array"].includes(v) }
161182
+ dataType: {
161183
+ type: String,
161184
+ default: "object",
161185
+ validator: (v) => ["object", "array"].includes(v)
161186
+ }
160824
161187
  }, {
160825
161188
  "formData": {},
160826
161189
  "formDataModifiers": {}
@@ -160838,8 +161201,18 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160838
161201
  {
160839
161202
  batchName: "jsonDatas",
160840
161203
  fieldList: [
160841
- { label: "Name/名称", fieldName: "name", required: true, formVisible: true },
160842
- { label: "Value/值", fieldName: "value", required: true, formVisible: true }
161204
+ {
161205
+ label: "Name/名称",
161206
+ fieldName: "name",
161207
+ required: true,
161208
+ formVisible: true
161209
+ },
161210
+ {
161211
+ label: "Value/值",
161212
+ fieldName: "value",
161213
+ required: true,
161214
+ formVisible: true
161215
+ }
160843
161216
  ]
160844
161217
  }
160845
161218
  ]
@@ -160862,14 +161235,26 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160862
161235
  };
160863
161236
  const selectItem = async () => {
160864
161237
  if (props.field.preps["devType"]) {
160865
- formData.value[props.field.fieldName] = lib$1.stringify(jsonData.value, null, 4);
161238
+ formData.value[props.field.fieldName] = lib$1.stringify(
161239
+ jsonData.value,
161240
+ null,
161241
+ 4
161242
+ );
160866
161243
  } else {
160867
161244
  let flag = false;
160868
- await jsonFormRef.value.$refs.starHorseFormRef.validate((res) => flag = res);
161245
+ await jsonFormRef.value.$refs.starHorseFormRef.validate(
161246
+ (res) => flag = res
161247
+ );
160869
161248
  if (!flag) return;
160870
161249
  const temp = jsonFormRef.value.getFormData().value;
160871
161250
  const dataList = temp["jsonDatas"];
160872
- 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);
161251
+ formData.value[props.field.fieldName] = props.dataType === "object" ? lib$1.stringify(
161252
+ Object.fromEntries(
161253
+ dataList.map(({ name, value }) => [name, value])
161254
+ ),
161255
+ null,
161256
+ 4
161257
+ ) : lib$1.stringify(dataList, null, 4);
160873
161258
  }
160874
161259
  closeAction();
160875
161260
  };
@@ -160877,7 +161262,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160877
161262
  const closeAction = () => dialogInputVisible.value = false;
160878
161263
  return (_ctx, _cache) => {
160879
161264
  const _component_star_horse_json_editor = __unplugin_components_0$5;
160880
- const _component_star_horse_form = __unplugin_components_1$2;
161265
+ const _component_star_horse_form = _sfc_main$1u;
160881
161266
  const _component_star_horse_dialog = __unplugin_components_0$8;
160882
161267
  const _component_el_input = ElInput;
160883
161268
  const _component_star_horse_icon = __unplugin_components_0$a;
@@ -160955,7 +161340,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
160955
161340
 
160956
161341
  /* unplugin-vue-components disabled */
160957
161342
 
160958
- const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-52f2d1b4"]]);
161343
+ const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-3e3840dd"]]);
160959
161344
 
160960
161345
  const baseJsonItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160961
161346
  __proto__: null,
@@ -161182,7 +161567,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
161182
161567
 
161183
161568
  /* unplugin-vue-components disabled */
161184
161569
 
161185
- const markdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-f3c73035"]]);
161570
+ const markdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-a959605c"]]);
161186
161571
 
161187
161572
  const markdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161188
161573
  __proto__: null,
@@ -161287,7 +161672,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
161287
161672
 
161288
161673
  /* unplugin-vue-components disabled */
161289
161674
 
161290
- const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-192ec77d"]]);
161675
+ const numberItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-08a01f3f"]]);
161291
161676
 
161292
161677
  const numberItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161293
161678
  __proto__: null,
@@ -161453,7 +161838,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
161453
161838
 
161454
161839
  /* unplugin-vue-components disabled */
161455
161840
 
161456
- const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8463726f"]]);
161841
+ const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-5b58850f"]]);
161457
161842
 
161458
161843
  const numberRangeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161459
161844
  __proto__: null,
@@ -161528,7 +161913,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
161528
161913
  let value = formData.value[props.field.aliasName || props.field.fieldName];
161529
161914
  if (fieldName && value) {
161530
161915
  if (props.field.preps?.multiple) {
161531
- searchData.value.push(createCondition(fieldName, Array.isArray(value) ? value : value.split(";"), "in"));
161916
+ searchData.value.push(
161917
+ createCondition(
161918
+ fieldName,
161919
+ Array.isArray(value) ? value : value.split(";"),
161920
+ "in"
161921
+ )
161922
+ );
161532
161923
  } else {
161533
161924
  searchData.value.push(createCondition(fieldName, value));
161534
161925
  }
@@ -161609,7 +162000,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
161609
162000
  let name = props.field.fieldName;
161610
162001
  if (fields) {
161611
162002
  fields.forEach((temp) => {
161612
- let value = multipleSelection.value.map((item) => item[temp.sourceField]);
162003
+ let value = multipleSelection.value.map(
162004
+ (item) => item[temp.sourceField]
162005
+ );
161613
162006
  if (!props.field.preps?.multiple) {
161614
162007
  value = value[0];
161615
162008
  }
@@ -161782,7 +162175,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
161782
162175
 
161783
162176
  /* unplugin-vue-components disabled */
161784
162177
 
161785
- const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-87dfd5ae"]]);
162178
+ const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-f33af78d"]]);
161786
162179
 
161787
162180
  const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
161788
162181
  __proto__: null,
@@ -161921,13 +162314,17 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
161921
162314
  initData();
161922
162315
  allAction(props, emits, formData, "change", true);
161923
162316
  });
161924
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
161925
- if (val?.length > 0) {
161926
- props.field.preps["values"] = val;
162317
+ watch(
162318
+ () => formData.value[props.field.fieldName + "OptionList"],
162319
+ (val) => {
162320
+ if (val?.length > 0) {
162321
+ props.field.preps["values"] = val;
162322
+ }
162323
+ },
162324
+ {
162325
+ immediate: true
161927
162326
  }
161928
- }, {
161929
- immediate: true
161930
- });
162327
+ );
161931
162328
  return (_ctx, _cache) => {
161932
162329
  const _component_el_radio_button = ElRadioButton;
161933
162330
  const _component_el_radio = ElRadio;
@@ -162131,16 +162528,26 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
162131
162528
  initData();
162132
162529
  actionName.value = props.field.actionName || "normal";
162133
162530
  if (!props.isSearch) {
162134
- allAction(props, emits, formData, actionName.value, !props.field.preps["needInitLink"]);
162531
+ allAction(
162532
+ props,
162533
+ emits,
162534
+ formData,
162535
+ actionName.value,
162536
+ !props.field.preps["needInitLink"]
162537
+ );
162135
162538
  }
162136
162539
  });
162137
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
162138
- if (val?.length > 0) {
162139
- props.field.preps["values"] = val;
162540
+ watch(
162541
+ () => formData.value[props.field.fieldName + "OptionList"],
162542
+ (val) => {
162543
+ if (val?.length > 0) {
162544
+ props.field.preps["values"] = val;
162545
+ }
162546
+ },
162547
+ {
162548
+ immediate: true
162140
162549
  }
162141
- }, {
162142
- immediate: true
162143
- });
162550
+ );
162144
162551
  return (_ctx, _cache) => {
162145
162552
  const _component_el_option = ElOption;
162146
162553
  const _component_el_select = ElSelect;
@@ -162181,7 +162588,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
162181
162588
 
162182
162589
  /* unplugin-vue-components disabled */
162183
162590
 
162184
- const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5779468f"]]);
162591
+ const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-f819df72"]]);
162185
162592
 
162186
162593
  const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162187
162594
  __proto__: null,
@@ -162765,7 +163172,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
162765
163172
 
162766
163173
  /* unplugin-vue-components disabled */
162767
163174
 
162768
- const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-cb4cf8f6"]]);
163175
+ const signatureItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-e66a7fbe"]]);
162769
163176
 
162770
163177
  const signatureItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
162771
163178
  __proto__: null,
@@ -163275,7 +163682,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
163275
163682
 
163276
163683
  /* unplugin-vue-components disabled */
163277
163684
 
163278
- const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-fc87b4d0"]]);
163685
+ const timeItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-99b3e9a6"]]);
163279
163686
 
163280
163687
  const timeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163281
163688
  __proto__: null,
@@ -163357,7 +163764,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
163357
163764
 
163358
163765
  /* unplugin-vue-components disabled */
163359
163766
 
163360
- const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ac7614bf"]]);
163767
+ const timePickerItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-70a9b23e"]]);
163361
163768
 
163362
163769
  const timePickerItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163363
163770
  __proto__: null,
@@ -163410,9 +163817,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
163410
163817
  const initData = async () => {
163411
163818
  const dataa = await compDynamicData(props.field);
163412
163819
  if (dataa?.length) {
163413
- props.field.preps["values"] = dataa;
163820
+ props.field.preps["data"] = dataa;
163414
163821
  }
163415
- bakeData.value = JSON.parse(JSON.stringify(props.field?.preps["values"] ?? []));
163822
+ bakeData.value = JSON.parse(JSON.stringify(props.field?.preps["data"] ?? []));
163416
163823
  };
163417
163824
  onMounted(() => {
163418
163825
  if (!props.field.preps) {
@@ -163424,13 +163831,17 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
163424
163831
  allAction(props, emits, formData, actionName.value, true);
163425
163832
  }
163426
163833
  });
163427
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
163428
- if (val?.length > 0) {
163429
- props.field.preps["values"] = val;
163834
+ watch(
163835
+ () => formData.value[props.field.fieldName + "OptionList"],
163836
+ (val) => {
163837
+ if (val?.length > 0) {
163838
+ props.field.preps["data"] = val;
163839
+ }
163840
+ },
163841
+ {
163842
+ immediate: true
163430
163843
  }
163431
- }, {
163432
- immediate: true
163433
- });
163844
+ );
163434
163845
  return (_ctx, _cache) => {
163435
163846
  const _component_el_transfer = ElTransfer;
163436
163847
  const _component_starhorse_form_item = __unplugin_components_0$3;
@@ -163537,13 +163948,17 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
163537
163948
  allAction(props, emits, formData, actionName.value, true);
163538
163949
  }
163539
163950
  });
163540
- watch(() => formData.value[props.field.fieldName + "OptionList"], (val) => {
163541
- if (val?.length > 0) {
163542
- props.field.preps["data"] = val;
163951
+ watch(
163952
+ () => formData.value[props.field.fieldName + "OptionList"],
163953
+ (val) => {
163954
+ if (val?.length > 0) {
163955
+ props.field.preps["data"] = val;
163956
+ }
163957
+ },
163958
+ {
163959
+ immediate: true
163543
163960
  }
163544
- }, {
163545
- immediate: true
163546
- });
163961
+ );
163547
163962
  return (_ctx, _cache) => {
163548
163963
  const _component_el_tree_select = ElTreeSelect;
163549
163964
  const _component_starhorse_form_item = __unplugin_components_0$3;
@@ -163704,7 +164119,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
163704
164119
  await nextTick();
163705
164120
  let datas = formData.value[props.field.fieldName];
163706
164121
  if (datas) {
163707
- dataField.value.push({ url: (props.field.preps["context"] || "/system-config") + datas });
164122
+ dataField.value.push({
164123
+ url: (props.field.preps["context"] || "/system-config") + datas
164124
+ });
163708
164125
  }
163709
164126
  let temp = props.field.preps?.headers;
163710
164127
  if (temp && Object.keys(temp).length > 0) {
@@ -163716,7 +164133,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
163716
164133
  () => props.formFieldList,
163717
164134
  (val) => {
163718
164135
  if (val && Object.keys(val).includes(props.field.fieldName)) {
163719
- dataField.value = [{ url: (props.field.preps["context"] || "/system-config") + val[props.field.fieldName] }];
164136
+ dataField.value = [
164137
+ {
164138
+ url: (props.field.preps["context"] || "/system-config") + val[props.field.fieldName]
164139
+ }
164140
+ ];
163720
164141
  }
163721
164142
  },
163722
164143
  { immediate: true, deep: true }
@@ -163790,7 +164211,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
163790
164211
 
163791
164212
  /* unplugin-vue-components disabled */
163792
164213
 
163793
- const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-652f0049"]]);
164214
+ const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-54bdafa6"]]);
163794
164215
 
163795
164216
  const uploadItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163796
164217
  __proto__: null,
@@ -163914,7 +164335,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
163914
164335
  if (fields) {
163915
164336
  name = fields.map((item) => item.sourceField)[0];
163916
164337
  }
163917
- userTableRef.value.$refs.employeeInfoRef.setDataInfo(name, formData.value[realName]);
164338
+ userTableRef.value.$refs.employeeInfoRef.setDataInfo(
164339
+ name,
164340
+ formData.value[realName]
164341
+ );
163918
164342
  });
163919
164343
  };
163920
164344
  return (_ctx, _cache) => {
@@ -172515,7 +172939,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
172515
172939
 
172516
172940
  /* unplugin-vue-components disabled */
172517
172941
 
172518
- const viewMarkdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-3eec27ad"]]);
172942
+ const viewMarkdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-15777ed5"]]);
172519
172943
 
172520
172944
  const viewMarkdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
172521
172945
  __proto__: null,
@@ -173993,14 +174417,16 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
173993
174417
  emits: ["selectItem"],
173994
174418
  setup(__props, { emit: __emit }) {
173995
174419
  useCssVars((_ctx) => ({
173996
- "0e267edb": unref(menuColor)
174420
+ "9ab310e4": unref(menuColor)
173997
174421
  }));
173998
174422
  const props = __props;
173999
174423
  const emits = __emit;
174000
174424
  const selectItem = (item) => {
174001
174425
  emits("selectItem", item);
174002
174426
  };
174003
- let menuColor = computed(() => props.level > 1 ? "var(--star-horse-shadow)" : "var(--star-horse-background)");
174427
+ let menuColor = computed(
174428
+ () => props.level > 1 ? "var(--star-horse-shadow)" : "var(--star-horse-background)"
174429
+ );
174004
174430
  return (_ctx, _cache) => {
174005
174431
  const _component_el_icon = ElIcon;
174006
174432
  const _component_MenuItem = resolveComponent("MenuItem", true);
@@ -174024,11 +174450,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
174024
174450
  default: withCtx(() => [
174025
174451
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.item[__props.preps.children ?? "children"], (sitem, key) => {
174026
174452
  return openBlock(), createBlock(_component_MenuItem, {
174027
- key: unref(compKey)(sitem, key),
174028
174453
  item: sitem,
174029
174454
  level: __props.level + 1,
174030
174455
  preps: __props.preps,
174031
- onSelectItem: selectItem
174456
+ onSelectItem: selectItem,
174457
+ key: unref(compKey)(sitem, key)
174032
174458
  }, null, 8, ["item", "level", "preps"]);
174033
174459
  }), 128))
174034
174460
  ]),
@@ -174058,7 +174484,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
174058
174484
 
174059
174485
  /* unplugin-vue-components disabled */
174060
174486
 
174061
- const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-fb7acce2"]]);
174487
+ const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-eec111f8"]]);
174062
174488
 
174063
174489
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
174064
174490
  __name: "StarHorseMenu",
@@ -174112,7 +174538,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
174112
174538
 
174113
174539
  /* unplugin-vue-components disabled */
174114
174540
 
174115
- const StarHorseMenu = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-d982918d"]]);
174541
+ const StarHorseMenu = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-221dbeb4"]]);
174116
174542
 
174117
174543
  const StarHorseMenu$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
174118
174544
  __proto__: null,
@@ -174140,9 +174566,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
174140
174566
  },
174141
174567
  setup(__props) {
174142
174568
  useCssVars((_ctx) => ({
174143
- "50991ffe": __props.cursor,
174144
- "173812ae": __props.size,
174145
- "d188248a": __props.color
174569
+ "3655dfb4": __props.cursor,
174570
+ "dacda842": __props.size,
174571
+ "80a54176": __props.color
174146
174572
  }));
174147
174573
  const props = __props;
174148
174574
  const svgClass = computed(() => {
@@ -174179,7 +174605,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
174179
174605
 
174180
174606
  /* unplugin-vue-components disabled */
174181
174607
 
174182
- const StarHorseSvg = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-9abc3606"]]);
174608
+ const StarHorseSvg = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-8e96b37d"]]);
174183
174609
 
174184
174610
  const StarHorseSvg$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
174185
174611
  __proto__: null,
@@ -174263,7 +174689,7 @@ const useContinusConfigStore = defineStore(
174263
174689
  {}
174264
174690
  );
174265
174691
 
174266
- 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)
174692
+ 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)
174267
174693
 
174268
174694
 
174269
174695
 
@@ -175040,7 +175466,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
175040
175466
  size: __props.compSize,
175041
175467
  label: headerItem.preps?.hideLabel ? "" : headerItem.label,
175042
175468
  required: headerItem.required,
175043
- prop: unref(loadProp)(unref(getPrefix)(cardItem, __props.propPrefix, __props.dataIndex, key2), headerItem.fieldName, -1, -1),
175469
+ prop: unref(loadProp)(
175470
+ unref(getPrefix)(cardItem, __props.propPrefix, __props.dataIndex, key2),
175471
+ headerItem.fieldName,
175472
+ -1,
175473
+ -1
175474
+ ),
175044
175475
  labelPosition: __props.parentPreps?.labelPosition,
175045
175476
  rules: unref(validMsg)(headerItem, dataForm.value)
175046
175477
  }, {
@@ -175092,7 +175523,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
175092
175523
 
175093
175524
  /* unplugin-vue-components disabled */
175094
175525
 
175095
- const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b1149e92"]]);
175526
+ const cardItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-fe9df9ac"]]);
175096
175527
 
175097
175528
  const cardItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175098
175529
  __proto__: null,
@@ -175213,7 +175644,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
175213
175644
 
175214
175645
  /* unplugin-vue-components disabled */
175215
175646
 
175216
- const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-c13983cf"]]);
175647
+ const collapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-eb12e982"]]);
175217
175648
 
175218
175649
  const collapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175219
175650
  __proto__: null,
@@ -175322,7 +175753,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
175322
175753
 
175323
175754
  /* unplugin-vue-components disabled */
175324
175755
 
175325
- const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-9e27b198"]]);
175756
+ const dytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-ca735455"]]);
175326
175757
 
175327
175758
  const dytableItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175328
175759
  __proto__: null,
@@ -175497,7 +175928,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
175497
175928
 
175498
175929
  /* unplugin-vue-components disabled */
175499
175930
 
175500
- const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-5e581477"]]);
175931
+ const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-9b1b4c46"]]);
175501
175932
 
175502
175933
  const tabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175503
175934
  __proto__: null,
@@ -175636,7 +176067,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
175636
176067
 
175637
176068
  /* unplugin-vue-components disabled */
175638
176069
 
175639
- const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-06654001"]]);
176070
+ const tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-68cfc290"]]);
175640
176071
 
175641
176072
  const tabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175642
176073
  __proto__: null,
@@ -175777,7 +176208,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
175777
176208
 
175778
176209
  /* unplugin-vue-components disabled */
175779
176210
 
175780
- const viewCardItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-157469e0"]]);
176211
+ const viewCardItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-39dcf76b"]]);
175781
176212
 
175782
176213
  const viewCardItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175783
176214
  __proto__: null,
@@ -175854,7 +176285,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
175854
176285
 
175855
176286
  /* unplugin-vue-components disabled */
175856
176287
 
175857
- const viewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-67980705"]]);
176288
+ const viewCollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7d497f01"]]);
175858
176289
 
175859
176290
  const viewCollapseItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175860
176291
  __proto__: null,
@@ -175941,7 +176372,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
175941
176372
 
175942
176373
  /* unplugin-vue-components disabled */
175943
176374
 
175944
- const viewDytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-788b9083"]]);
176375
+ const viewDytableItem = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-64cc620c"]]);
175945
176376
 
175946
176377
  const viewDytableItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
175947
176378
  __proto__: null,
@@ -176074,7 +176505,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
176074
176505
 
176075
176506
  /* unplugin-vue-components disabled */
176076
176507
 
176077
- const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-55d3c4fc"]]);
176508
+ const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b2d10fac"]]);
176078
176509
 
176079
176510
  const viewTabPanelItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
176080
176511
  __proto__: null,
@@ -176162,7 +176593,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
176162
176593
 
176163
176594
  /* unplugin-vue-components disabled */
176164
176595
 
176165
- const viewTabItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d483ef4b"]]);
176596
+ const viewTabItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bb00b470"]]);
176166
176597
 
176167
176598
  const viewTabItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
176168
176599
  __proto__: null,
@@ -176293,4 +176724,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
176293
176724
  fullWidthButton: e
176294
176725
  }, Symbol.toStringTag, { value: 'Module' }));
176295
176726
 
176296
- 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 };
176727
+ 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 };