star-horse-lowcode 2.7.50 → 2.7.52

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
@@ -23384,9 +23384,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
23384
23384
  if (selectionMode.value === "date") {
23385
23385
  value = value;
23386
23386
  let newDate = props.parsedValue ? props.parsedValue.year(value.year()).month(value.month()).date(value.date()) : value;
23387
- if (!checkDateWithinRange(newDate)) {
23388
- newDate = selectableRange.value[0][0].year(value.year()).month(value.month()).date(value.date());
23389
- }
23387
+ if (!checkDateWithinRange(newDate)) ;
23390
23388
  innerDate.value = newDate;
23391
23389
  emit(newDate, showTime.value || keepOpen);
23392
23390
  if (props.type === "datetime") {
@@ -32220,7 +32218,7 @@ let SubMenu$1 = class SubMenu {
32220
32218
  }
32221
32219
  };
32222
32220
 
32223
- let MenuItem$1 = class MenuItem {
32221
+ let MenuItem$2 = class MenuItem {
32224
32222
  constructor(domNode, namespace) {
32225
32223
  this.domNode = domNode;
32226
32224
  this.submenu = null;
@@ -32279,7 +32277,7 @@ let Menu$1 = class Menu {
32279
32277
  const menuChildren = this.domNode.childNodes;
32280
32278
  Array.from(menuChildren).forEach((child) => {
32281
32279
  if (child.nodeType === 1) {
32282
- new MenuItem$1(child, namespace);
32280
+ new MenuItem$2(child, namespace);
32283
32281
  }
32284
32282
  });
32285
32283
  }
@@ -33078,7 +33076,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
33078
33076
  };
33079
33077
  }
33080
33078
  });
33081
- var MenuItem = /* @__PURE__ */ _export_sfc$2(_sfc_main$2Z, [["__file", "menu-item.vue"]]);
33079
+ var MenuItem$1 = /* @__PURE__ */ _export_sfc$2(_sfc_main$2Z, [["__file", "menu-item.vue"]]);
33082
33080
 
33083
33081
  const menuItemGroupProps = {
33084
33082
  title: String
@@ -33113,11 +33111,11 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
33113
33111
  var MenuItemGroup = /* @__PURE__ */ _export_sfc$2(_sfc_main$2Y, [["__file", "menu-item-group.vue"]]);
33114
33112
 
33115
33113
  const ElMenu = withInstall$1(Menu, {
33116
- MenuItem,
33114
+ MenuItem: MenuItem$1,
33117
33115
  MenuItemGroup,
33118
33116
  SubMenu
33119
33117
  });
33120
- const ElMenuItem = withNoopInstall(MenuItem);
33118
+ const ElMenuItem = withNoopInstall(MenuItem$1);
33121
33119
  const ElMenuItemGroup = withNoopInstall(MenuItemGroup);
33122
33120
  const ElSubMenu = withNoopInstall(SubMenu);
33123
33121
 
@@ -69075,7 +69073,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
69075
69073
  width: { type: String, default: "24px" },
69076
69074
  height: { type: String, default: "22px" },
69077
69075
  marginLeft: { type: String, default: "0.1em" },
69078
- marginRight: { type: String, default: "0.1em" },
69076
+ marginRight: { type: String, default: "0.2em" },
69079
69077
  borderRadius: { type: String, default: "5px" },
69080
69078
  boorderPadding: { type: String, default: "3px" },
69081
69079
  // 图标是否有边框
@@ -69086,15 +69084,15 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
69086
69084
  },
69087
69085
  setup(__props) {
69088
69086
  useCssVars((_ctx) => ({
69089
- "6fea7213": __props.cursor,
69090
- "15348369": __props.width,
69091
- "778cefe4": __props.height,
69092
- "141d8506": __props.color,
69093
- "82c66c04": __props.size,
69094
- "22d6cb12": __props.marginLeft,
69095
- "3858f871": __props.marginRight,
69096
- "197a98db": __props.borderRadius,
69097
- "ab5f2926": __props.boorderPadding
69087
+ "56207806": __props.cursor,
69088
+ "f00719d4": __props.width,
69089
+ "5dc2f5d7": __props.height,
69090
+ "f235169a": __props.color,
69091
+ "4671b0b1": __props.size,
69092
+ "51e29f85": __props.marginLeft,
69093
+ "2a709b44": __props.marginRight,
69094
+ "9639c6e4": __props.borderRadius,
69095
+ "0da6ce60": __props.boorderPadding
69098
69096
  }));
69099
69097
  const props = __props;
69100
69098
  const iconName = computed(() => `sh-${props.iconClass}`);
@@ -69126,7 +69124,7 @@ const _export_sfc = (sfc, props) => {
69126
69124
  return target;
69127
69125
  };
69128
69126
 
69129
- const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__scopeId", "data-v-3209fcce"]]);
69127
+ const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__scopeId", "data-v-2fe1f17f"]]);
69130
69128
 
69131
69129
  const StarHorseIcon = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
69132
69130
  __proto__: null,
@@ -69541,6 +69539,13 @@ function checkVisible(item, dataForm) {
69541
69539
  function parseListData(item, val) {
69542
69540
  return unref(item.preps?.values)?.find((temp) => temp.value == val)?.name || unref(item.preps?.data)?.find((temp) => temp.value == val)?.name || unref(item.optionList)?.find((temp) => temp.value == val)?.name || val;
69543
69541
  }
69542
+ function filterProperties(obj, keysToRemove) {
69543
+ Object.keys(obj).forEach((key) => {
69544
+ if (keysToRemove.includes(key)) {
69545
+ delete obj[key];
69546
+ }
69547
+ });
69548
+ }
69544
69549
 
69545
69550
  const _hoisted_1$X = { style: { "font-size": "12px" } };
69546
69551
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
@@ -69643,8 +69648,11 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69643
69648
  }
69644
69649
  };
69645
69650
  const fieldType = () => {
69651
+ const inputList = inputCompList();
69652
+ const dateNameList = dateCompList();
69653
+ const selectNameList = selectCompList();
69646
69654
  itemType.value = props.item?.type || props.item?.fieldType || "input";
69647
- if (dateCompList().includes(itemType.value)) {
69655
+ if (dateNameList.includes(itemType.value)) {
69648
69656
  itemType.value = "datetime";
69649
69657
  }
69650
69658
  if (!props.item.actions) {
@@ -69652,25 +69660,28 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69652
69660
  }
69653
69661
  const keys = Object.keys(props.item.actions);
69654
69662
  if (props.source == 4) {
69655
- const actionKey = inputCompList().includes(itemType.value) ? "keyup.enter" : "change";
69663
+ const actionKey = inputList.includes(itemType.value) ? "keyup.enter" : "change";
69656
69664
  if (!keys.includes(actionKey)) {
69657
69665
  props.item.actions[actionKey] = actionKey;
69658
69666
  }
69659
69667
  } else if (props.source == 5) {
69660
- const actionKey = inputCompList().includes(itemType.value) ? "blur" : selectCompList().includes(itemType.value) ? "change" : null;
69668
+ const actionKey = inputList.includes(itemType.value) ? "blur" : selectNameList.includes(itemType.value) ? "change" : null;
69661
69669
  if (actionKey && !keys.includes(actionKey)) {
69662
69670
  props.item.actions[actionKey] = actionKey;
69663
69671
  }
69664
69672
  }
69665
69673
  };
69674
+ const exclusions = ["name", "id", "label", "itemNameLabel", "autocomplete", "maxLength"];
69666
69675
  const init = () => {
69667
69676
  fieldType();
69668
69677
  if (!props.item["id"]) {
69669
- props.item["id"] = uuid();
69678
+ props.item["id"] = props.item.preps?.id ?? uuid();
69670
69679
  }
69671
69680
  fieldPlaceholder(props.item, itemType.value);
69672
69681
  if (props.item.preps) {
69682
+ filterProperties(props.item.preps, exclusions);
69673
69683
  props.item.preps["readonly"] = props.item?.readonly || props.source == 3;
69684
+ props.item.preps["starHorseFieldSource"] = props.source;
69674
69685
  let keys = Object.keys(props.item.preps);
69675
69686
  for (let key in keys) {
69676
69687
  let val = props.item.preps[key];
@@ -69794,7 +69805,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
69794
69805
 
69795
69806
  /* unplugin-vue-components disabled */
69796
69807
 
69797
- const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-d0209b16"]]);
69808
+ const __unplugin_components_0$9 = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-a1b31b43"]]);
69798
69809
 
69799
69810
  const StarHorseItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
69800
69811
  __proto__: null,
@@ -113458,9 +113469,9 @@ function Mg(t, e) {
113458
113469
  return n();
113459
113470
  } });
113460
113471
  var c = N$2(l, 2), u = N$2(M$1(c), 2), d = M$1(u);
113461
- M$1(d).textContent = "".concat(r ?? "", "+C");
113472
+ M$1(d).textContent = "".concat(r, "+C");
113462
113473
  var f = N$2(d, 2);
113463
- M$1(f).textContent = "".concat(r ?? "", "+X"), M$1(N$2(f, 2)).textContent = "".concat(r ?? "", "+V"), ie$2("click", M$1(N$2(u, 2)), function() {
113474
+ M$1(f).textContent = "".concat(r, "+X"), M$1(N$2(f, 2)).textContent = "".concat(r, "+V"), ie$2("click", M$1(N$2(u, 2)), function() {
113464
113475
  for (var v, h = arguments.length, g = new Array(h), b = 0; b < h; b++) g[b] = arguments[b];
113465
113476
  (v = n()) === null || v === void 0 || v.apply(this, g);
113466
113477
  }), P$4(a, i);
@@ -122047,9 +122058,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
122047
122058
  }, {
122048
122059
  default: withCtx(() => [
122049
122060
  unref(defaultSearch) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(__props.formData.fieldList, (item, index) => {
122050
- return openBlock(), createElementBlock(Fragment, {
122051
- key: unref(compKey)(item, index)
122052
- }, [
122061
+ return openBlock(), createElementBlock(Fragment, null, [
122053
122062
  item.defaultVisible ? (openBlock(), createBlock(_component_el_form_item, {
122054
122063
  key: 0,
122055
122064
  size: unref(compSize),
@@ -122091,7 +122100,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
122091
122100
  _: 2
122092
122101
  }, 1032, ["size", "label", "prop"])) : createCommentVNode("", true)
122093
122102
  ], 64);
122094
- }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(__props.formData?.fieldList, (item) => {
122103
+ }), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(__props.formData?.fieldList, (item) => {
122095
122104
  return openBlock(), createBlock(_component_el_form_item, {
122096
122105
  size: unref(compSize),
122097
122106
  label: item.label,
@@ -122203,7 +122212,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
122203
122212
 
122204
122213
  /* unplugin-vue-components disabled */
122205
122214
 
122206
- const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-cce044ce"]]);
122215
+ const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-f1bc60d8"]]);
122207
122216
 
122208
122217
  const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
122209
122218
  __proto__: null,
@@ -135691,7 +135700,7 @@ const _hoisted_5$9 = {
135691
135700
  };
135692
135701
  const _hoisted_6$4 = { class: "tree-content" };
135693
135702
  const _hoisted_7$3 = { class: "menu-title" };
135694
- const _hoisted_8$2 = { class: "name" };
135703
+ const _hoisted_8$2 = { class: "name flex items-center" };
135695
135704
  const _hoisted_9 = {
135696
135705
  key: 0,
135697
135706
  class: "btn"
@@ -135945,10 +135954,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
135945
135954
  const _component_el_pagination = ElPagination;
135946
135955
  const _component_el_card = ElCard;
135947
135956
  return openBlock(), createBlock(_component_el_card, {
135948
- class: "inner_content",
135957
+ class: "inner_content h-full",
135949
135958
  style: normalizeStyle({
135950
135959
  width: unref(collapse) ? "60px" : "unset",
135951
- height: "100%",
135952
135960
  padding: "unset"
135953
135961
  })
135954
135962
  }, {
@@ -136069,6 +136077,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
136069
136077
  default: withCtx(({ node, data }) => [
136070
136078
  createElementVNode("div", _hoisted_7$3, [
136071
136079
  createElementVNode("div", _hoisted_8$2, [
136080
+ createVNode(_component_star_horse_icon, {
136081
+ "icon-class": data.children?.length > 0 ? "folder" : "document"
136082
+ }, null, 8, ["icon-class"]),
136072
136083
  createTextVNode(toDisplayString(node.label) + " ", 1),
136073
136084
  __props.showCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
136074
136085
  createTextVNode(" (" + toDisplayString(data["code"] || data[__props.preps.code || __props.preps.value || "value"] || "") + ") ", 1)
@@ -136148,7 +136159,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
136148
136159
 
136149
136160
  /* unplugin-vue-components disabled */
136150
136161
 
136151
- const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-d1e821b2"]]);
136162
+ const StarHorseTree = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-6ffd7d08"]]);
136152
136163
 
136153
136164
  const StarHorseTree$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
136154
136165
  __proto__: null,
@@ -136186,10 +136197,12 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
136186
136197
  height: "100%"
136187
136198
  }, {
136188
136199
  default: withCtx(() => [
136189
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
136200
+ _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : renderSlot(_ctx.$slots, "empty", { key: 1 }, void 0, true)
136190
136201
  ]),
136191
136202
  _: 3
136192
- })) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
136203
+ })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
136204
+ _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : renderSlot(_ctx.$slots, "empty", { key: 1 }, void 0, true)
136205
+ ], 64))
136193
136206
  ]),
136194
136207
  _: 3
136195
136208
  }, 16, ["model"]),
@@ -136201,7 +136214,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
136201
136214
 
136202
136215
  /* unplugin-vue-components disabled */
136203
136216
 
136204
- const ShForm = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-43e938b4"]]);
136217
+ const ShForm = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-7127b1b9"]]);
136205
136218
 
136206
136219
  const ShForm$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
136207
136220
  __proto__: null,
@@ -138713,9 +138726,10 @@ const buttonAction = (context, emits, formData, code, evtName = "click") => {
138713
138726
  const checkIsDisabled = (attrs) => {
138714
138727
  const { field } = attrs;
138715
138728
  const fieldName = field.fieldName;
138716
- const isExplicitlyDisabled = attrs?.disabled || attrs.editDisabled || field.disabled || field.preps?.disabled || field.editDisabled || field.preps?.editDisabled;
138717
- const isImplicitlyDisabled = !attrs?.formData?.[`_${fieldName}Editable`] && field?.preps?.disabled === "Y";
138718
- return isExplicitlyDisabled === true || isImplicitlyDisabled === true;
138729
+ const isExplicitlyDisabled = attrs?.disabled || field.disabled || field.preps?.disabled;
138730
+ const eidtDidsabled = (attrs.editDisabled || field.editDisabled || field.preps?.editDisabled) && field.preps?.starHorseFieldSource != 1;
138731
+ const isImplicitlyDisabled = !attrs?.formData?.[`_${fieldName}Editable`] && field?.preps?.disabled;
138732
+ return eidtDidsabled === true || isExplicitlyDisabled === true || isImplicitlyDisabled === true;
138719
138733
  };
138720
138734
 
138721
138735
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
@@ -142499,8 +142513,9 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142499
142513
  "date-format": "YYYY-MM-DD",
142500
142514
  "time-format": "HH:mm"
142501
142515
  }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
142516
+ onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
142502
142517
  modelValue: formData.value[__props.field.fieldName],
142503
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
142518
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[__props.field.fieldName] = $event)
142504
142519
  }), null, 16, ["fid", "disabled", "format", "value-format", "modelValue"])
142505
142520
  ]),
142506
142521
  _: 1
@@ -142511,7 +142526,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
142511
142526
 
142512
142527
  /* unplugin-vue-components disabled */
142513
142528
 
142514
- const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-82e8a02c"]]);
142529
+ const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-c12022cd"]]);
142515
142530
 
142516
142531
  const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
142517
142532
  __proto__: null,
@@ -173960,61 +173975,82 @@ const barcodeItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
173960
173975
  }, Symbol.toStringTag, { value: 'Module' }));
173961
173976
 
173962
173977
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
173963
- __name: "SystemSubMenu",
173978
+ ...{
173979
+ name: "MenuItem"
173980
+ },
173981
+ __name: "MenuItem",
173964
173982
  props: {
173965
173983
  item: { type: Object, required: true },
173984
+ preps: {
173985
+ type: Object,
173986
+ default: () => {
173987
+ return {
173988
+ id: "id",
173989
+ icon: "icon",
173990
+ value: "value",
173991
+ label: "name",
173992
+ children: "children"
173993
+ };
173994
+ }
173995
+ },
173966
173996
  level: { type: Number, default: 1 }
173967
173997
  },
173968
- setup(__props) {
173998
+ emits: ["selectItem"],
173999
+ setup(__props, { emit: __emit }) {
173969
174000
  useCssVars((_ctx) => ({
173970
- "17fa16cb": unref(menuColor)
174001
+ "0e267edb": unref(menuColor)
173971
174002
  }));
173972
174003
  const props = __props;
173973
- const loadMenuFun = inject("loadMenu");
174004
+ const emits = __emit;
174005
+ const selectItem = (item) => {
174006
+ emits("selectItem", item);
174007
+ };
173974
174008
  let menuColor = computed(() => props.level > 1 ? "var(--star-horse-shadow)" : "var(--star-horse-background)");
173975
174009
  return (_ctx, _cache) => {
173976
174010
  const _component_el_icon = ElIcon;
173977
- const _component_SystemSubMenu = resolveComponent("SystemSubMenu", true);
174011
+ const _component_MenuItem = resolveComponent("MenuItem", true);
173978
174012
  const _component_el_sub_menu = ElSubMenu;
173979
174013
  const _component_el_menu_item = ElMenuItem;
173980
- return __props.item.children?.length > 0 ? (openBlock(), createBlock(_component_el_sub_menu, {
174014
+ return __props.item[__props.preps.children ?? "children"]?.length > 0 ? (openBlock(), createBlock(_component_el_sub_menu, {
173981
174015
  key: 0,
173982
174016
  "popper-class": "popper-class",
173983
- index: __props.item.idInformations,
173984
- onClick: _cache[0] || (_cache[0] = ($event) => unref(loadMenuFun)(__props.item.idInformations))
174017
+ index: __props.item[__props.preps.id],
174018
+ onClick: _cache[0] || (_cache[0] = ($event) => selectItem(__props.item))
173985
174019
  }, {
173986
174020
  title: withCtx(() => [
173987
174021
  createVNode(_component_el_icon, { class: "star-icon" }, {
173988
174022
  default: withCtx(() => [
173989
- (openBlock(), createBlock(resolveDynamicComponent(__props.item.sysLogo || "document")))
174023
+ (openBlock(), createBlock(resolveDynamicComponent(__props.item[__props.preps.icon] || "document")))
173990
174024
  ]),
173991
174025
  _: 1
173992
174026
  }),
173993
- createElementVNode("span", null, toDisplayString(__props.item.sysName), 1)
174027
+ createElementVNode("span", null, toDisplayString(__props.item[__props.preps.label]), 1)
173994
174028
  ]),
173995
174029
  default: withCtx(() => [
173996
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.children, (sitem, key) => {
173997
- return openBlock(), createBlock(_component_SystemSubMenu, {
174030
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.item[__props.preps.children ?? "children"], (sitem, key) => {
174031
+ return openBlock(), createBlock(_component_MenuItem, {
173998
174032
  key: unref(compKey)(sitem, key),
173999
174033
  item: sitem,
174000
- level: __props.level + 1
174001
- }, null, 8, ["item", "level"]);
174034
+ level: __props.level + 1,
174035
+ preps: __props.preps,
174036
+ onSelectItem: selectItem
174037
+ }, null, 8, ["item", "level", "preps"]);
174002
174038
  }), 128))
174003
174039
  ]),
174004
174040
  _: 1
174005
174041
  }, 8, ["index"])) : (openBlock(), createBlock(_component_el_menu_item, {
174006
174042
  key: 1,
174007
174043
  "popper-class": "popper-class",
174008
- index: __props.item.idInformations,
174009
- onClick: _cache[1] || (_cache[1] = ($event) => unref(loadMenuFun)(__props.item.idInformations))
174044
+ index: __props.item[__props.preps.id],
174045
+ onClick: _cache[1] || (_cache[1] = ($event) => selectItem(__props.item))
174010
174046
  }, {
174011
174047
  title: withCtx(() => [
174012
- createElementVNode("span", null, toDisplayString(__props.item.sysName), 1)
174048
+ createElementVNode("span", null, toDisplayString(__props.item[__props.preps.label]), 1)
174013
174049
  ]),
174014
174050
  default: withCtx(() => [
174015
174051
  createVNode(_component_el_icon, { class: "star-icon" }, {
174016
174052
  default: withCtx(() => [
174017
- (openBlock(), createBlock(resolveDynamicComponent(__props.item.sysLogo || "document")))
174053
+ (openBlock(), createBlock(resolveDynamicComponent(__props.item[__props.preps.icon] || "document")))
174018
174054
  ]),
174019
174055
  _: 1
174020
174056
  })
@@ -174027,34 +174063,50 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
174027
174063
 
174028
174064
  /* unplugin-vue-components disabled */
174029
174065
 
174030
- const SystemSubMenu = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-5162635c"]]);
174066
+ const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-fb7acce2"]]);
174031
174067
 
174032
174068
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
174033
- __name: "StarHorseHmenu",
174034
- props: {
174069
+ __name: "StarHorseMenu",
174070
+ props: /* @__PURE__ */ mergeModels({
174071
+ preps: {
174072
+ type: Object,
174073
+ default: () => {
174074
+ return {
174075
+ id: "id",
174076
+ value: "value",
174077
+ icon: "icon",
174078
+ label: "name",
174079
+ children: "children"
174080
+ };
174081
+ }
174082
+ }
174083
+ }, {
174035
174084
  "dataList": {},
174036
174085
  "dataListModifiers": {}
174037
- },
174038
- emits: ["update:dataList"],
174039
- setup(__props) {
174086
+ }),
174087
+ emits: /* @__PURE__ */ mergeModels(["selectItem"], ["update:dataList"]),
174088
+ setup(__props, { emit: __emit }) {
174089
+ const emits = __emit;
174040
174090
  let dataList = useModel(__props, "dataList");
174041
174091
  const initData = async () => {
174042
174092
  };
174093
+ const selectItem = (item) => {
174094
+ emits("selectItem", item);
174095
+ };
174043
174096
  onMounted(() => {
174044
174097
  initData();
174045
174098
  });
174046
174099
  return (_ctx, _cache) => {
174047
174100
  const _component_el_menu = ElMenu;
174048
- return openBlock(), createBlock(_component_el_menu, mergeProps({
174049
- class: "system-menu",
174050
- mode: "horizontal"
174051
- }, _ctx.$attrs), {
174101
+ return openBlock(), createBlock(_component_el_menu, mergeProps({ class: "system-menu" }, _ctx.$attrs), {
174052
174102
  default: withCtx(() => [
174053
174103
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(dataList), (sitem, key) => {
174054
- return openBlock(), createBlock(SystemSubMenu, {
174104
+ return openBlock(), createBlock(MenuItem, {
174055
174105
  key: unref(compKey)(sitem, key),
174056
- item: sitem
174057
- }, null, 8, ["item"]);
174106
+ item: sitem,
174107
+ onSelectItem: selectItem,
174108
+ preps: __props.preps
174109
+ }, null, 8, ["item", "preps"]);
174058
174110
  }), 128))
174059
174111
  ]),
174060
174112
  _: 1
@@ -174065,11 +174117,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
174065
174117
 
174066
174118
  /* unplugin-vue-components disabled */
174067
174119
 
174068
- const StarHorseHmenu = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-0513ceaa"]]);
174120
+ const StarHorseMenu = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-d982918d"]]);
174069
174121
 
174070
- const StarHorseHmenu$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
174122
+ const StarHorseMenu$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
174071
174123
  __proto__: null,
174072
- default: StarHorseHmenu
174124
+ default: StarHorseMenu
174073
174125
  }, Symbol.toStringTag, { value: 'Module' }));
174074
174126
 
174075
174127
  const _hoisted_1$8 = ["width", "height"];
@@ -174216,7 +174268,7 @@ const useContinusConfigStore = defineStore(
174216
174268
  {}
174217
174269
  );
174218
174270
 
174219
- 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/StarHorseHmenu.vue": () => Promise.resolve().then(() => StarHorseHmenu$1),"/src/components/system/StarHorseSvg.vue": () => Promise.resolve().then(() => StarHorseSvg$1)
174271
+ const items = /* #__PURE__ */ Object.assign({"/src/components/comp/ShDynamicForm.vue": () => Promise.resolve().then(() => ShDynamicForm),"/src/components/comp/ShForm.vue": () => Promise.resolve().then(() => ShForm$1),"/src/components/comp/ShTableListColumn.vue": () => Promise.resolve().then(() => ShTableListColumn),"/src/components/comp/StarHorseDataSelector.vue": () => Promise.resolve().then(() => StarHorseDataSelector$1),"/src/components/comp/StarHorseDataView.vue": () => Promise.resolve().then(() => StarHorseDataView),"/src/components/comp/StarHorseDataViewItems.vue": () => Promise.resolve().then(() => StarHorseDataViewItems),"/src/components/comp/StarHorseDataViewTable.vue": () => Promise.resolve().then(() => StarHorseDataViewTable),"/src/components/comp/StarHorseDialog.vue": () => Promise.resolve().then(() => StarHorseDialog),"/src/components/comp/StarHorseDraggable.vue": () => Promise.resolve().then(() => StarHorseDraggable$1),"/src/components/comp/StarHorseForm.vue": () => Promise.resolve().then(() => StarHorseForm),"/src/components/comp/StarHorseFormItem.vue": () => Promise.resolve().then(() => StarHorseFormItem),"/src/components/comp/StarHorseFormList.vue": () => Promise.resolve().then(() => StarHorseFormList),"/src/components/comp/StarHorseFormTable.vue": () => Promise.resolve().then(() => StarHorseFormTable),"/src/components/comp/StarHorseIcon.vue": () => Promise.resolve().then(() => StarHorseIcon),"/src/components/comp/StarHorseItem.vue": () => Promise.resolve().then(() => StarHorseItem),"/src/components/comp/StarHorseJsonEditor.vue": () => Promise.resolve().then(() => StarHorseJsonEditor),"/src/components/comp/StarHorsePopover.vue": () => Promise.resolve().then(() => StarHorsePopover),"/src/components/comp/StarHorseSearchComp.vue": () => Promise.resolve().then(() => StarHorseSearchComp),"/src/components/comp/StarHorseStaticTable.vue": () => Promise.resolve().then(() => StarHorseStaticTable$1),"/src/components/comp/StarHorseTableColumn.vue": () => Promise.resolve().then(() => StarHorseTableColumn),"/src/components/comp/StarHorseTableComp.vue": () => Promise.resolve().then(() => StarHorseTableComp),"/src/components/comp/StarHorseTableViewColumn.vue": () => Promise.resolve().then(() => StarHorseTableViewColumn),"/src/components/comp/StarHorseTree.vue": () => Promise.resolve().then(() => StarHorseTree$1),"/src/components/comp/items/UTableColumn.vue": () => Promise.resolve().then(() => UTableColumn),"/src/components/comp/items/boxItem.vue": () => Promise.resolve().then(() => boxItem),"/src/components/comp/items/cardItem.vue": () => Promise.resolve().then(() => cardItem$1),"/src/components/comp/items/collapseItem.vue": () => Promise.resolve().then(() => collapseItem$1),"/src/components/comp/items/dytableItem.vue": () => Promise.resolve().then(() => dytableItem$1),"/src/components/comp/items/otherItem.vue": () => Promise.resolve().then(() => otherItem),"/src/components/comp/items/tabItem.vue": () => Promise.resolve().then(() => tabItem$1),"/src/components/comp/items/tabPanelItem.vue": () => Promise.resolve().then(() => tabPanelItem),"/src/components/comp/items/tableColumn.vue": () => Promise.resolve().then(() => tableColumn),"/src/components/comp/items/tableItem.vue": () => Promise.resolve().then(() => tableItem),"/src/components/comp/items/tablebtn.vue": () => Promise.resolve().then(() => tablebtn),"/src/components/comp/items/viewBoxItem.vue": () => Promise.resolve().then(() => viewBoxItem),"/src/components/comp/items/viewCardItem.vue": () => Promise.resolve().then(() => viewCardItem$1),"/src/components/comp/items/viewCollapseItem.vue": () => Promise.resolve().then(() => viewCollapseItem$1),"/src/components/comp/items/viewDytableItem.vue": () => Promise.resolve().then(() => viewDytableItem$1),"/src/components/comp/items/viewOtherItem.vue": () => Promise.resolve().then(() => viewOtherItem),"/src/components/comp/items/viewTabItem.vue": () => Promise.resolve().then(() => viewTabItem$1),"/src/components/comp/items/viewTabPanelItem.vue": () => Promise.resolve().then(() => viewTabPanelItem),"/src/components/comp/items/viewTableItem.vue": () => Promise.resolve().then(() => viewTableItem),"/src/components/formcomp/container/box-container.vue": () => Promise.resolve().then(() => boxContainer$1),"/src/components/formcomp/container/card-container.vue": () => Promise.resolve().then(() => cardContainer$1),"/src/components/formcomp/container/collapse-container.vue": () => Promise.resolve().then(() => collapseContainer$1),"/src/components/formcomp/container/dytable-col.vue": () => Promise.resolve().then(() => dytableCol),"/src/components/formcomp/container/dytable-container.vue": () => Promise.resolve().then(() => dytableContainer$1),"/src/components/formcomp/container/group-box-container.vue": () => Promise.resolve().then(() => groupBoxContainer),"/src/components/formcomp/container/tab-container.vue": () => Promise.resolve().then(() => tabContainer$1),"/src/components/formcomp/container/table-container.vue": () => Promise.resolve().then(() => tableContainer$1),"/src/components/formcomp/items/area-item.vue": () => Promise.resolve().then(() => areaItem$1),"/src/components/formcomp/items/audio-item.vue": () => Promise.resolve().then(() => audioItem),"/src/components/formcomp/items/autocomplete-item.vue": () => Promise.resolve().then(() => autocompleteItem),"/src/components/formcomp/items/barcode-item.vue": () => Promise.resolve().then(() => barcodeItem),"/src/components/formcomp/items/base-json-item.vue": () => Promise.resolve().then(() => baseJsonItem),"/src/components/formcomp/items/button-item.vue": () => Promise.resolve().then(() => buttonItem$1),"/src/components/formcomp/items/cascade-item.vue": () => Promise.resolve().then(() => cascadeItem$1),"/src/components/formcomp/items/checkbox-item.vue": () => Promise.resolve().then(() => checkboxItem),"/src/components/formcomp/items/color-item.vue": () => Promise.resolve().then(() => colorItem),"/src/components/formcomp/items/cron-item.vue": () => Promise.resolve().then(() => cronItem$1),"/src/components/formcomp/items/datetime-item.vue": () => Promise.resolve().then(() => datetimeItem$1),"/src/components/formcomp/items/depart-item.vue": () => Promise.resolve().then(() => departItem),"/src/components/formcomp/items/dialog-input-item.vue": () => Promise.resolve().then(() => dialogInputItem$1),"/src/components/formcomp/items/divider-item.vue": () => Promise.resolve().then(() => dividerItem),"/src/components/formcomp/items/html-item.vue": () => Promise.resolve().then(() => htmlItem$1),"/src/components/formcomp/items/htmleditor-item.vue": () => Promise.resolve().then(() => htmleditorItem),"/src/components/formcomp/items/icon-item.vue": () => Promise.resolve().then(() => iconItem$1),"/src/components/formcomp/items/image-item.vue": () => Promise.resolve().then(() => imageItem$1),"/src/components/formcomp/items/input-item.vue": () => Promise.resolve().then(() => inputItem$1),"/src/components/formcomp/items/json-array-item.vue": () => Promise.resolve().then(() => jsonArrayItem),"/src/components/formcomp/items/json-item.vue": () => Promise.resolve().then(() => jsonItem),"/src/components/formcomp/items/markdown-item.vue": () => Promise.resolve().then(() => markdownItem$1),"/src/components/formcomp/items/number-item.vue": () => Promise.resolve().then(() => numberItem$1),"/src/components/formcomp/items/number-range-item.vue": () => Promise.resolve().then(() => numberRangeItem$1),"/src/components/formcomp/items/page-select-item.vue": () => Promise.resolve().then(() => pageSelectItem$1),"/src/components/formcomp/items/password-item.vue": () => Promise.resolve().then(() => passwordItem),"/src/components/formcomp/items/qrcode-item.vue": () => Promise.resolve().then(() => qrcodeItem),"/src/components/formcomp/items/radio-item.vue": () => Promise.resolve().then(() => radioItem),"/src/components/formcomp/items/rate-item.vue": () => Promise.resolve().then(() => rateItem),"/src/components/formcomp/items/select-item.vue": () => Promise.resolve().then(() => selectItem$1),"/src/components/formcomp/items/signature-item.vue": () => Promise.resolve().then(() => signatureItem$1),"/src/components/formcomp/items/slider-item.vue": () => Promise.resolve().then(() => sliderItem),"/src/components/formcomp/items/starhorse-form-item.vue": () => Promise.resolve().then(() => starhorseFormItem),"/src/components/formcomp/items/switch-item.vue": () => Promise.resolve().then(() => switchItem),"/src/components/formcomp/items/tag-item.vue": () => Promise.resolve().then(() => tagItem),"/src/components/formcomp/items/text-item.vue": () => Promise.resolve().then(() => textItem),"/src/components/formcomp/items/textarea-item.vue": () => Promise.resolve().then(() => textareaItem),"/src/components/formcomp/items/time-item.vue": () => Promise.resolve().then(() => timeItem$1),"/src/components/formcomp/items/time-picker-item.vue": () => Promise.resolve().then(() => timePickerItem$1),"/src/components/formcomp/items/transfer-item.vue": () => Promise.resolve().then(() => transferItem),"/src/components/formcomp/items/tselect-item.vue": () => Promise.resolve().then(() => tselectItem),"/src/components/formcomp/items/unknown-item.vue": () => Promise.resolve().then(() => unknownItem),"/src/components/formcomp/items/upload-item.vue": () => Promise.resolve().then(() => uploadItem$1),"/src/components/formcomp/items/user-item.vue": () => Promise.resolve().then(() => userItem),"/src/components/formcomp/items/usercomp-item.vue": () => Promise.resolve().then(() => usercompItem),"/src/components/formcomp/items/view-markdown-item.vue": () => Promise.resolve().then(() => viewMarkdownItem$1),"/src/components/system/ContentMenu.vue": () => Promise.resolve().then(() => ContentMenu),"/src/components/system/StarHorseButtonList.vue": () => Promise.resolve().then(() => StarHorseButtonList),"/src/components/system/StarHorseMenu.vue": () => Promise.resolve().then(() => StarHorseMenu$1),"/src/components/system/StarHorseSvg.vue": () => Promise.resolve().then(() => StarHorseSvg$1)
174220
174272
 
174221
174273
 
174222
174274
 
@@ -174856,7 +174908,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
174856
174908
  }, [
174857
174909
  sitem.type != "button" && sitem.type != "usercomp" ? (openBlock(), createBlock(_component_el_col, {
174858
174910
  key: 0,
174859
- span: sitem.colspan || sitem.preps?.colspan || 24 / __props.item.length
174911
+ span: sitem.colspan || sitem.preps?.colspan || 24 / __props.item.filter((temp) => temp.formVisible).length
174860
174912
  }, {
174861
174913
  default: withCtx(() => [
174862
174914
  sitem.formVisible && sitem.label && sitem.preps?.headerFlag != "Y" || unref(checkVisible)(sitem, dataForm.value) ? (openBlock(), createBlock(_component_el_form_item, {
@@ -174894,7 +174946,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
174894
174946
  _: 2
174895
174947
  }, 1032, ["span"])) : (openBlock(), createBlock(_component_el_col, {
174896
174948
  key: 1,
174897
- span: sitem.colspan || sitem.preps?.colspan || 24 / __props.item.length
174949
+ span: sitem.colspan || sitem.preps?.colspan || 24 / __props.item.filter((temp) => temp.formVisible).length
174898
174950
  }, {
174899
174951
  default: withCtx(() => [
174900
174952
  createVNode(_component_star_horse_item, {
@@ -176246,4 +176298,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
176246
176298
  fullWidthButton: e
176247
176299
  }, Symbol.toStringTag, { value: 'Module' }));
176248
176300
 
176249
- 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, StarHorseHmenu, __unplugin_components_0$a as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateCompList, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, fieldPlaceholder, formFieldMapping, generateDeviceId, getDynamicEvents, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputCompList, inputItem, isDark, isJson, isPromise, itemCheck, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectCompList, selectItem, signatureItem, _sfc_main$w as sliderItem, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, _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 };
176301
+ export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, _sfc_main$1C as StarHorseDataView, _sfc_main$1D as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$8 as StarHorseDialog, StarHorseDraggable, __unplugin_components_1$2 as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, __unplugin_components_0$a as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, StarHorseMenu, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateCompList, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, fieldPlaceholder, formFieldMapping, generateDeviceId, getDynamicEvents, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputCompList, inputItem, isDark, isJson, isPromise, itemCheck, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectCompList, selectItem, signatureItem, _sfc_main$w as sliderItem, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, _sfc_main$t as textItem, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$l as userItem, _sfc_main$k as usercompItem, uuid, viewMarkdownItem, warning };