star-horse-lowcode 2.7.24 → 2.7.25

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
@@ -4265,7 +4265,7 @@ const _hoisted_2$D = {
4265
4265
  class: "m-message-icons"
4266
4266
  };
4267
4267
  const _hoisted_3$n = ["src"];
4268
- const _hoisted_4$c = { class: "m-message-content" };
4268
+ const _hoisted_4$d = { class: "m-message-content" };
4269
4269
  const _hoisted_5$a = {
4270
4270
  key: 0,
4271
4271
  class: "m-message--title"
@@ -4334,7 +4334,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
4334
4334
  class: "m-message--icon"
4335
4335
  }, null, 8, ["name"])) : createCommentVNode("", true)
4336
4336
  ])) : createCommentVNode("", true),
4337
- createElementVNode("div", _hoisted_4$c, [
4337
+ createElementVNode("div", _hoisted_4$d, [
4338
4338
  _ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
4339
4339
  renderSlot(_ctx.$slots, "title", {}, () => [
4340
4340
  createTextVNode(toDisplayString(_ctx.title), 1)
@@ -93785,7 +93785,7 @@ function i18n(key, ...args) {
93785
93785
  const _hoisted_1$S = { class: "di animated animate__fadeIn" };
93786
93786
  const _hoisted_2$C = { class: "my-header" };
93787
93787
  const _hoisted_3$m = { class: "shdialog" };
93788
- const _hoisted_4$b = { class: "dialog-body" };
93788
+ const _hoisted_4$c = { class: "dialog-body" };
93789
93789
  const _hoisted_5$9 = {
93790
93790
  key: 0,
93791
93791
  class: "dialog-footer"
@@ -94070,7 +94070,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
94070
94070
  default: withCtx(() => [
94071
94071
  renderSlot(_ctx.$slots, "header", {}, void 0, true),
94072
94072
  createElementVNode("div", _hoisted_3$m, [
94073
- createElementVNode("div", _hoisted_4$b, [
94073
+ createElementVNode("div", _hoisted_4$c, [
94074
94074
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
94075
94075
  ])
94076
94076
  ])
@@ -97551,7 +97551,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
97551
97551
  const _hoisted_1$P = { class: "el-upload__tip" };
97552
97552
  const _hoisted_2$A = { class: "form-list" };
97553
97553
  const _hoisted_3$k = { class: "dynamic-tools" };
97554
- const _hoisted_4$a = {
97554
+ const _hoisted_4$b = {
97555
97555
  key: 0,
97556
97556
  class: "flex items-center"
97557
97557
  };
@@ -97859,7 +97859,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
97859
97859
  }, 8, ["dialogVisible"])) : createCommentVNode("", true),
97860
97860
  createElementVNode("div", _hoisted_2$A, [
97861
97861
  createElementVNode("div", _hoisted_3$k, [
97862
- !__props.subFlag ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
97862
+ !__props.subFlag ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
97863
97863
  createVNode(__unplugin_components_1$5, {
97864
97864
  "icon-class": "config",
97865
97865
  size: "14px"
@@ -99448,191 +99448,91 @@ const StarHorseForm$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
99448
99448
  default: StarHorseForm
99449
99449
  }, Symbol.toStringTag, { value: 'Module' }));
99450
99450
 
99451
- const _hoisted_1$K = ["data", "onMouseup", "onMouseenter"];
99452
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
99453
- ...{
99454
- name: "PageEditorContentMenu"
99455
- },
99456
- __name: "ContentMenu",
99457
- props: {
99458
- menuData: { type: Array, default: () => [] },
99459
- isSubMenu: { type: Boolean, default: false },
99460
- autoHide: { type: Boolean, default: true },
99461
- active: { type: [String, Number], default: "" }
99462
- },
99463
- emits: ["hide", "show", "mouseenter"],
99464
- setup(__props, { expose: __expose, emit: __emit }) {
99465
- const props = __props;
99466
- const emit = __emit;
99467
- const menu = ref();
99468
- const buttons = ref();
99469
- const subMenu = ref();
99470
- const visible = ref(false);
99471
- const subMenuData = ref([]);
99472
- const zIndex = useZIndex();
99473
- const curZIndex = ref(0);
99474
- const menuPosition = ref({
99475
- left: 0,
99476
- top: 0
99477
- });
99478
- const menuStyle = computed(() => ({
99479
- top: `${menuPosition.value.top}px`,
99480
- left: `${menuPosition.value.left}px`,
99481
- zIndex: curZIndex.value
99482
- }));
99483
- const contains = (el) => menu.value?.contains(el) || subMenu.value?.contains(el);
99484
- const hide = () => {
99485
- if (!visible.value) return;
99486
- visible.value = false;
99487
- subMenu.value?.hide();
99488
- emit("hide");
99489
- };
99490
- const clickHandler = (item) => {
99491
- if (!props.autoHide) return;
99492
- item.handler();
99493
- hide();
99494
- };
99495
- const outsideClickHideHandler = (e) => {
99496
- if (!props.autoHide) return;
99497
- const target = e.target;
99498
- if (!visible.value || !target) {
99499
- return;
99500
- }
99501
- if (contains(target)) {
99502
- return;
99503
- }
99504
- hide();
99505
- };
99506
- const setPosition = (e) => {
99507
- const menuHeight = menu.value?.clientHeight || 0;
99508
- let top = e.clientY;
99509
- if (menuHeight + e.clientY > document.body.clientHeight) {
99510
- top = document.body.clientHeight - menuHeight;
99511
- }
99512
- let left = e.clientX;
99513
- menuPosition.value = {
99514
- top,
99515
- left
99516
- };
99517
- };
99518
- const show = (e) => {
99519
- setTimeout(() => {
99520
- visible.value = true;
99521
- nextTick(() => {
99522
- e && setPosition(e);
99523
- curZIndex.value = zIndex.nextZIndex();
99524
- emit("show");
99525
- });
99526
- }, 300);
99527
- };
99528
- const showSubMenu = (item, index) => {
99529
- const menuItem = item;
99530
- if (typeof item !== "object") {
99531
- return;
99532
- }
99533
- subMenuData.value = menuItem.items || [];
99534
- setTimeout(() => {
99535
- if (!visible.value) {
99536
- return;
99451
+ const userOperation$1 = useSelfOperationStore(piniaInstance);
99452
+ const userFunction = (code, context, formData) => {
99453
+ if (!code) {
99454
+ return;
99455
+ }
99456
+ const formFields = userOperation$1.fieldItemList;
99457
+ const formInstance = userOperation$1.formInstance;
99458
+ const fun = new Function(
99459
+ "currentField",
99460
+ "formData",
99461
+ "formFields",
99462
+ "formInstance",
99463
+ "userInfo",
99464
+ "postRequest",
99465
+ "getRequest",
99466
+ "download",
99467
+ "upload",
99468
+ code
99469
+ );
99470
+ fun.call(
99471
+ void 0,
99472
+ context.formInfo,
99473
+ formData,
99474
+ formFields,
99475
+ formInstance,
99476
+ getUserInfo(),
99477
+ postRequest,
99478
+ getRequest,
99479
+ download$2,
99480
+ uploadRequest
99481
+ );
99482
+ };
99483
+ function userAction(tableRef, primaryKey, datas) {
99484
+ const btnList = [];
99485
+ if (datas && datas.length > 0) {
99486
+ datas.forEach((item) => {
99487
+ const content = item["funcName"];
99488
+ if (item["eventType"] == "interface") {
99489
+ if (item["authority"] == "download") {
99490
+ item["funcName"] = (row) => {
99491
+ const fieldList = [];
99492
+ fieldList.push(createCondition(primaryKey, row[primaryKey]));
99493
+ download$2(content, {
99494
+ fieldList
99495
+ }).catch((e) => {
99496
+ warning$3(e.message);
99497
+ });
99498
+ };
99499
+ } else {
99500
+ item["funcName"] = (row) => {
99501
+ const fieldList = [];
99502
+ fieldList.push(createCondition(primaryKey, row[primaryKey]));
99503
+ postRequest(content, {
99504
+ fieldList
99505
+ }).then((res) => {
99506
+ if (res.data.code) {
99507
+ warning$3(res.data.cnMessage);
99508
+ return;
99509
+ }
99510
+ success("操作成功");
99511
+ tableRef.value?.loadByPage();
99512
+ });
99513
+ };
99537
99514
  }
99538
- if (menu.value) {
99539
- let y = menu.value.offsetTop;
99540
- if (buttons.value?.[index]?.$el) {
99541
- const rect = buttons.value?.[index].$el.getBoundingClientRect();
99542
- y = rect.top;
99543
- }
99544
- subMenu.value?.show({
99545
- clientX: menu.value.offsetLeft + menu.value.clientWidth,
99546
- clientY: y
99515
+ } else if (item["eventType"] == "dialog") {
99516
+ warning$3("暂未实现");
99517
+ } else if (item["eventType"] == "page") {
99518
+ let router = useRouter() && window.__hostRouter__;
99519
+ item["funcName"] = (row) => {
99520
+ router.push({
99521
+ path: content,
99522
+ query: {
99523
+ param: JSON.stringify(row)
99524
+ }
99547
99525
  });
99548
- }
99549
- }, 0);
99550
- };
99551
- const mouseenterHandler = () => {
99552
- emit("mouseenter");
99553
- };
99554
- onMounted(() => {
99555
- if (props.isSubMenu) return;
99556
- globalThis.addEventListener("mousedown", outsideClickHideHandler, true);
99557
- });
99558
- onBeforeUnmount(() => {
99559
- if (props.isSubMenu) return;
99560
- globalThis.removeEventListener("mousedown", outsideClickHideHandler, true);
99561
- });
99562
- __expose({
99563
- menu,
99564
- menuPosition,
99565
- hide,
99566
- show,
99567
- contains,
99568
- setPosition
99526
+ };
99527
+ }
99528
+ btnList.push(item);
99569
99529
  });
99570
- return (_ctx, _cache) => {
99571
- const _component_el_divider = ElDivider;
99572
- const _component_content_menu = resolveComponent("content-menu", true);
99573
- return openBlock(), createBlock(Transition, { name: "fade" }, {
99574
- default: withCtx(() => [
99575
- withDirectives(createElementVNode("div", {
99576
- class: "content-menu",
99577
- ref_key: "menu",
99578
- ref: menu,
99579
- style: normalizeStyle(menuStyle.value),
99580
- onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseenterHandler())
99581
- }, [
99582
- renderSlot(_ctx.$slots, "title", {}, void 0, true),
99583
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.menuData, (item, index) => {
99584
- return openBlock(), createElementBlock(Fragment, null, [
99585
- item.type == "divider" ? (openBlock(), createBlock(_component_el_divider, {
99586
- key: 0,
99587
- direction: item.direction
99588
- }, null, 8, ["direction"])) : createCommentVNode("", true),
99589
- item.type == "button" && item.display ? (openBlock(), createElementBlock("div", {
99590
- ref_for: true,
99591
- ref_key: "buttons",
99592
- ref: buttons,
99593
- class: normalizeClass(["menu-item button", { active: __props.active && item.id === __props.active }]),
99594
- data: item,
99595
- key: index,
99596
- onMouseup: ($event) => clickHandler(item),
99597
- onMouseenter: ($event) => showSubMenu(item, index)
99598
- }, [
99599
- createVNode(__unplugin_components_1$5, {
99600
- "icon-class": item.icon
99601
- }, null, 8, ["icon-class"]),
99602
- createTextVNode(" " + toDisplayString(item.text), 1)
99603
- ], 42, _hoisted_1$K)) : createCommentVNode("", true)
99604
- ], 64);
99605
- }), 256)),
99606
- (openBlock(), createBlock(Teleport$1, { to: "body" }, [
99607
- subMenuData.value.length ? (openBlock(), createBlock(_component_content_menu, {
99608
- key: 0,
99609
- class: "sub-menu",
99610
- ref_key: "subMenu",
99611
- ref: subMenu,
99612
- active: __props.active,
99613
- "menu-data": subMenuData.value,
99614
- "is-sub-menu": true,
99615
- onHide: hide
99616
- }, null, 8, ["active", "menu-data"])) : createCommentVNode("", true)
99617
- ]))
99618
- ], 36), [
99619
- [vShow, visible.value]
99620
- ])
99621
- ]),
99622
- _: 3
99623
- });
99624
- };
99625
99530
  }
99626
- });
99627
-
99628
- /* unplugin-vue-components disabled */
99629
-
99630
- const __unplugin_components_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-59412667"]]);
99631
-
99632
- const ContentMenu = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
99633
- __proto__: null,
99634
- default: __unplugin_components_3$2
99635
- }, Symbol.toStringTag, { value: 'Module' }));
99531
+ return btnList;
99532
+ }
99533
+ function isPromise(obj) {
99534
+ return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function" && typeof obj.catch === "function";
99535
+ }
99636
99536
 
99637
99537
  const useDesignFormStore = defineStore("designForm", () => {
99638
99538
  const containerList = ref([]);
@@ -99978,10 +99878,322 @@ const useDesignFormStore = defineStore("designForm", () => {
99978
99878
  };
99979
99879
  });
99980
99880
 
99881
+ const designForm$2 = useDesignFormStore(piniaInstance);
99882
+ const userOperation = useSelfOperationStore(piniaInstance);
99883
+ const isDesign = computed(() => designForm$2.isEdit);
99884
+ const change = (context, formData) => {
99885
+ const field = context.field;
99886
+ const relation = field.preps?.dataRelation;
99887
+ operationRelation(relation, "change", formData, field.preps["name"]);
99888
+ };
99889
+ const input$2 = (context, formData) => {
99890
+ const field = context.field;
99891
+ const relation = field.preps?.dataRelation;
99892
+ operationRelation(relation, "input", formData, field.preps["name"]);
99893
+ };
99894
+ const focus = (context, formData) => {
99895
+ const field = context.field;
99896
+ const relation = field.preps?.dataRelation;
99897
+ operationRelation(relation, "focus", formData, field.preps["name"]);
99898
+ };
99899
+ const blur = (context, formData) => {
99900
+ const field = context.field;
99901
+ const relation = field.preps?.dataRelation;
99902
+ operationRelation(relation, "blur", formData, field.preps["name"]);
99903
+ };
99904
+ const mouseEnter = (context, formData) => {
99905
+ const field = context.field;
99906
+ const relation = field.preps?.dataRelation;
99907
+ operationRelation(relation, "enter", formData, field.preps["name"]);
99908
+ };
99909
+ const operationRelation = async (relation, actionName, formData, currentName) => {
99910
+ if (!relation || actionName != relation.actionName) {
99911
+ return;
99912
+ }
99913
+ const relations = relation?.relationDetails;
99914
+ const currentVal = formData[currentName];
99915
+ if (!relations || relations.length == 0) {
99916
+ return;
99917
+ }
99918
+ for (const index in relations) {
99919
+ const temp = relations[index];
99920
+ const conditon = temp.controlCondition;
99921
+ const fieldName = temp.relationFields;
99922
+ if (!conditon || !fieldName) {
99923
+ continue;
99924
+ }
99925
+ const field = userOperation.getFormItem(fieldName);
99926
+ const params = temp.params;
99927
+ if (conditon == "dataLinkage") {
99928
+ formData[fieldName + "OptionList"] = await compDynamicData(temp);
99929
+ } else if (conditon == "eqDisable" || conditon == "eqDisableOrEditable") {
99930
+ formData["_" + fieldName + "Editable"] = !(currentVal == params);
99931
+ } else if (conditon == "eqEditable" || conditon == "eqEditableOrDisable") {
99932
+ formData["_" + fieldName + "Editable"] = currentVal == params;
99933
+ } else if (conditon == "assignValue") {
99934
+ if (field.itemType == "select" || field.itemType == "tselect" || field.itemType == "autocomplete" || field.itemType == "cascade") {
99935
+ field.preps.values = JSON.parse(params);
99936
+ } else {
99937
+ formData[field.name] = params;
99938
+ }
99939
+ } else if (conditon == "changeType") {
99940
+ field.itemType = params;
99941
+ }
99942
+ }
99943
+ };
99944
+ const allAction = (context, emits, formData, actionName, isInit = false) => {
99945
+ const currentData = isRef(formData) ? formData.value : formData;
99946
+ const field = context.field;
99947
+ if (!isInit && actionName != "normal") {
99948
+ try {
99949
+ emits("selfFunc", actionName, currentData);
99950
+ } catch (e) {
99951
+ error$1("事件触发异常:" + e);
99952
+ }
99953
+ }
99954
+ if (isDesign.value && isInit || actionName == "normal") {
99955
+ return;
99956
+ }
99957
+ const tempName = field.preps?.actionName;
99958
+ switch (actionName) {
99959
+ case "change":
99960
+ change(context, currentData);
99961
+ break;
99962
+ case "input":
99963
+ input$2(context, currentData);
99964
+ break;
99965
+ case "focus":
99966
+ focus(context, currentData);
99967
+ break;
99968
+ case "blur":
99969
+ blur(context, currentData);
99970
+ break;
99971
+ case "enter":
99972
+ case "keydown.enter":
99973
+ mouseEnter(context, currentData);
99974
+ break;
99975
+ default:
99976
+ console.log("不支持的事件:" + actionName);
99977
+ return;
99978
+ }
99979
+ if (actionName == "input" && actionName != tempName) {
99980
+ return;
99981
+ }
99982
+ if (actionName == field.preps["actionName"] && field.preps["actionRelation"]) {
99983
+ field.preps["actionRelation"](currentData[field.preps["name"]], currentData["xh"]);
99984
+ }
99985
+ };
99986
+ const buttonAction = (context, emits, formData, code) => {
99987
+ const currentData = isRef(formData) ? formData.value : formData;
99988
+ if (code) {
99989
+ userFunction(code, context, currentData);
99990
+ } else {
99991
+ const field = context.field;
99992
+ currentData["starHorseBtnName"] = field.preps["name"];
99993
+ if (field.preps["actions"]) {
99994
+ field.preps["actions"](currentData);
99995
+ }
99996
+ emits("selfFunc", currentData);
99997
+ }
99998
+ };
99999
+ const checkIsDisabled = (attrs) => {
100000
+ const { field } = attrs;
100001
+ const fieldName = field.preps?.name;
100002
+ const isExplicitlyDisabled = attrs.disabled === true || attrs.disabled === "Y";
100003
+ const isImplicitlyDisabled = !attrs.formData[`_${fieldName}Editable`] && field.preps?.disabled === "Y";
100004
+ return isExplicitlyDisabled || isImplicitlyDisabled;
100005
+ };
100006
+
100007
+ const _hoisted_1$K = ["data", "onMouseup", "onMouseenter"];
100008
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
100009
+ ...{
100010
+ name: "PageEditorContentMenu"
100011
+ },
100012
+ __name: "ContentMenu",
100013
+ props: {
100014
+ menuData: { type: Array, default: () => [] },
100015
+ isSubMenu: { type: Boolean, default: false },
100016
+ autoHide: { type: Boolean, default: true },
100017
+ active: { type: [String, Number], default: "" }
100018
+ },
100019
+ emits: ["hide", "show", "mouseenter"],
100020
+ setup(__props, { expose: __expose, emit: __emit }) {
100021
+ const props = __props;
100022
+ const emit = __emit;
100023
+ const menu = ref();
100024
+ const buttons = ref();
100025
+ const subMenu = ref();
100026
+ const visible = ref(false);
100027
+ const subMenuData = ref([]);
100028
+ const zIndex = useZIndex();
100029
+ const curZIndex = ref(0);
100030
+ const menuPosition = ref({
100031
+ left: 0,
100032
+ top: 0
100033
+ });
100034
+ const menuStyle = computed(() => ({
100035
+ top: `${menuPosition.value.top}px`,
100036
+ left: `${menuPosition.value.left}px`,
100037
+ zIndex: curZIndex.value
100038
+ }));
100039
+ const contains = (el) => menu.value?.contains(el) || subMenu.value?.contains(el);
100040
+ const hide = () => {
100041
+ if (!visible.value) return;
100042
+ visible.value = false;
100043
+ subMenu.value?.hide();
100044
+ emit("hide");
100045
+ };
100046
+ const clickHandler = (item) => {
100047
+ if (!props.autoHide) return;
100048
+ item.handler();
100049
+ hide();
100050
+ };
100051
+ const outsideClickHideHandler = (e) => {
100052
+ if (!props.autoHide) return;
100053
+ const target = e.target;
100054
+ if (!visible.value || !target) {
100055
+ return;
100056
+ }
100057
+ if (contains(target)) {
100058
+ return;
100059
+ }
100060
+ hide();
100061
+ };
100062
+ const setPosition = (e) => {
100063
+ const menuHeight = menu.value?.clientHeight || 0;
100064
+ let top = e.clientY;
100065
+ if (menuHeight + e.clientY > document.body.clientHeight) {
100066
+ top = document.body.clientHeight - menuHeight;
100067
+ }
100068
+ let left = e.clientX;
100069
+ menuPosition.value = {
100070
+ top,
100071
+ left
100072
+ };
100073
+ };
100074
+ const show = (e) => {
100075
+ setTimeout(() => {
100076
+ visible.value = true;
100077
+ nextTick(() => {
100078
+ e && setPosition(e);
100079
+ curZIndex.value = zIndex.nextZIndex();
100080
+ emit("show");
100081
+ });
100082
+ }, 300);
100083
+ };
100084
+ const showSubMenu = (item, index) => {
100085
+ const menuItem = item;
100086
+ if (typeof item !== "object") {
100087
+ return;
100088
+ }
100089
+ subMenuData.value = menuItem.items || [];
100090
+ setTimeout(() => {
100091
+ if (!visible.value) {
100092
+ return;
100093
+ }
100094
+ if (menu.value) {
100095
+ let y = menu.value.offsetTop;
100096
+ if (buttons.value?.[index]?.$el) {
100097
+ const rect = buttons.value?.[index].$el.getBoundingClientRect();
100098
+ y = rect.top;
100099
+ }
100100
+ subMenu.value?.show({
100101
+ clientX: menu.value.offsetLeft + menu.value.clientWidth,
100102
+ clientY: y
100103
+ });
100104
+ }
100105
+ }, 0);
100106
+ };
100107
+ const mouseenterHandler = () => {
100108
+ emit("mouseenter");
100109
+ };
100110
+ onMounted(() => {
100111
+ if (props.isSubMenu) return;
100112
+ globalThis.addEventListener("mousedown", outsideClickHideHandler, true);
100113
+ });
100114
+ onBeforeUnmount(() => {
100115
+ if (props.isSubMenu) return;
100116
+ globalThis.removeEventListener("mousedown", outsideClickHideHandler, true);
100117
+ });
100118
+ __expose({
100119
+ menu,
100120
+ menuPosition,
100121
+ hide,
100122
+ show,
100123
+ contains,
100124
+ setPosition
100125
+ });
100126
+ return (_ctx, _cache) => {
100127
+ const _component_el_divider = ElDivider;
100128
+ const _component_content_menu = resolveComponent("content-menu", true);
100129
+ return openBlock(), createBlock(Transition, { name: "fade" }, {
100130
+ default: withCtx(() => [
100131
+ withDirectives(createElementVNode("div", {
100132
+ class: "content-menu",
100133
+ ref_key: "menu",
100134
+ ref: menu,
100135
+ style: normalizeStyle(menuStyle.value),
100136
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseenterHandler())
100137
+ }, [
100138
+ renderSlot(_ctx.$slots, "title", {}, void 0, true),
100139
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.menuData, (item, index) => {
100140
+ return openBlock(), createElementBlock(Fragment, null, [
100141
+ item.type == "divider" ? (openBlock(), createBlock(_component_el_divider, {
100142
+ key: 0,
100143
+ direction: item.direction
100144
+ }, null, 8, ["direction"])) : createCommentVNode("", true),
100145
+ item.type == "button" && item.display ? (openBlock(), createElementBlock("div", {
100146
+ ref_for: true,
100147
+ ref_key: "buttons",
100148
+ ref: buttons,
100149
+ class: normalizeClass(["menu-item button", { active: __props.active && item.id === __props.active }]),
100150
+ data: item,
100151
+ key: index,
100152
+ onMouseup: ($event) => clickHandler(item),
100153
+ onMouseenter: ($event) => showSubMenu(item, index)
100154
+ }, [
100155
+ createVNode(__unplugin_components_1$5, {
100156
+ "icon-class": item.icon
100157
+ }, null, 8, ["icon-class"]),
100158
+ createTextVNode(" " + toDisplayString(item.text), 1)
100159
+ ], 42, _hoisted_1$K)) : createCommentVNode("", true)
100160
+ ], 64);
100161
+ }), 256)),
100162
+ (openBlock(), createBlock(Teleport$1, { to: "body" }, [
100163
+ subMenuData.value.length ? (openBlock(), createBlock(_component_content_menu, {
100164
+ key: 0,
100165
+ class: "sub-menu",
100166
+ ref_key: "subMenu",
100167
+ ref: subMenu,
100168
+ active: __props.active,
100169
+ "menu-data": subMenuData.value,
100170
+ "is-sub-menu": true,
100171
+ onHide: hide
100172
+ }, null, 8, ["active", "menu-data"])) : createCommentVNode("", true)
100173
+ ]))
100174
+ ], 36), [
100175
+ [vShow, visible.value]
100176
+ ])
100177
+ ]),
100178
+ _: 3
100179
+ });
100180
+ };
100181
+ }
100182
+ });
100183
+
100184
+ /* unplugin-vue-components disabled */
100185
+
100186
+ const __unplugin_components_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-59412667"]]);
100187
+
100188
+ const ContentMenu = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
100189
+ __proto__: null,
100190
+ default: __unplugin_components_3$2
100191
+ }, Symbol.toStringTag, { value: 'Module' }));
100192
+
99981
100193
  const _hoisted_1$J = { class: "component-list" };
99982
100194
  const _hoisted_2$v = { class: "title" };
99983
100195
  const _hoisted_3$h = { id: "container" };
99984
- const _hoisted_4$9 = ["onClick"];
100196
+ const _hoisted_4$a = ["onClick"];
99985
100197
  const _hoisted_5$7 = { id: "basic" };
99986
100198
  const _hoisted_6$4 = ["onClick"];
99987
100199
  const _hoisted_7$3 = { id: "self" };
@@ -100064,7 +100276,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
100064
100276
  }, null, 8, ["icon-class"]),
100065
100277
  createTextVNode("  " + toDisplayString(item.itemName), 1)
100066
100278
  ])
100067
- ], 8, _hoisted_4$9);
100279
+ ], 8, _hoisted_4$a);
100068
100280
  }), 256))
100069
100281
  ]),
100070
100282
  createVNode(_component_el_divider, { "content-position": "left" }, {
@@ -100226,10 +100438,10 @@ const useDesignPageStore = defineStore(
100226
100438
  );
100227
100439
 
100228
100440
  const copyerAction = useCopyerOperationStore(piniaInstance);
100229
- const designForm$2 = useDesignFormStore(piniaInstance);
100441
+ const designForm$1 = useDesignFormStore(piniaInstance);
100230
100442
  const designPage = useDesignPageStore(piniaInstance);
100231
- const compList = computed(() => designForm$2.compList);
100232
- const currentItemId = computed(() => designForm$2.currentItemId);
100443
+ const compList = computed(() => designForm$1.compList);
100444
+ const currentItemId = computed(() => designForm$1.currentItemId);
100233
100445
  const pasteDisplay = computed(() => {
100234
100446
  const action = copyerAction.action;
100235
100447
  return !!action;
@@ -100246,7 +100458,7 @@ const selectItem$2 = (index, currentItems, elements, parentType) => {
100246
100458
  item = element?.items[element.items?.length - 1];
100247
100459
  }
100248
100460
  if (item && Object.keys(item).length > 0) {
100249
- designForm$2.selectItem(item, item.itemType, parentType);
100461
+ designForm$1.selectItem(item, item.itemType, parentType);
100250
100462
  }
100251
100463
  };
100252
100464
  function removeItem(isEdit, formItem, parentField) {
@@ -100290,7 +100502,7 @@ function removeItem(isEdit, formItem, parentField) {
100290
100502
  const item = dataList[i - 1] || dataList[0];
100291
100503
  dataList.splice(i, 1);
100292
100504
  if (item && Object.keys(item).length > 0) {
100293
- designForm$2.selectItem(item, item.itemType, parentItemType);
100505
+ designForm$1.selectItem(item, item.itemType, parentItemType);
100294
100506
  }
100295
100507
  return;
100296
100508
  }
@@ -100452,7 +100664,7 @@ const copyContainer = (parentComp, currentContainer, isCut = false) => {
100452
100664
  }
100453
100665
  }
100454
100666
  parentComp.push(container);
100455
- designForm$2.selectItem(container, containerType, "");
100667
+ designForm$1.selectItem(container, containerType, "");
100456
100668
  };
100457
100669
  function cut$2(item, parentItem) {
100458
100670
  copyerAction.operation("cut", parentItem, item);
@@ -100589,7 +100801,7 @@ function dynamicFormContextMenuData(item, parentItem, flag = "scene", recall) {
100589
100801
  icon: "new",
100590
100802
  display: true,
100591
100803
  handler: () => {
100592
- designForm$2.setComponentVisible(true);
100804
+ designForm$1.setComponentVisible(true);
100593
100805
  }
100594
100806
  });
100595
100807
  menus.push({
@@ -100598,7 +100810,7 @@ function dynamicFormContextMenuData(item, parentItem, flag = "scene", recall) {
100598
100810
  icon: "select-parent",
100599
100811
  display: currentItemId.value != item.id,
100600
100812
  handler: () => {
100601
- designForm$2.selectItem(item, item?.itemType, "");
100813
+ designForm$1.selectItem(item, item?.itemType, "");
100602
100814
  }
100603
100815
  });
100604
100816
  }
@@ -101020,221 +101232,12 @@ const starhorseFormItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
101020
101232
  default: __unplugin_components_0$3
101021
101233
  }, Symbol.toStringTag, { value: 'Module' }));
101022
101234
 
101023
- const userOperation$1 = useSelfOperationStore(piniaInstance);
101024
- const userFunction = (code, context, formData) => {
101025
- if (!code) {
101026
- return;
101027
- }
101028
- const formFields = userOperation$1.fieldItemList;
101029
- const formInstance = userOperation$1.formInstance;
101030
- const fun = new Function(
101031
- "currentField",
101032
- "formData",
101033
- "formFields",
101034
- "formInstance",
101035
- "userInfo",
101036
- "postRequest",
101037
- "getRequest",
101038
- "download",
101039
- "upload",
101040
- code
101041
- );
101042
- fun.call(
101043
- void 0,
101044
- context.formInfo,
101045
- formData,
101046
- formFields,
101047
- formInstance,
101048
- getUserInfo(),
101049
- postRequest,
101050
- getRequest,
101051
- download$2,
101052
- uploadRequest
101053
- );
101054
- };
101055
- function userAction(tableRef, primaryKey, datas) {
101056
- const btnList = [];
101057
- if (datas && datas.length > 0) {
101058
- datas.forEach((item) => {
101059
- const content = item["funcName"];
101060
- if (item["eventType"] == "interface") {
101061
- if (item["authority"] == "download") {
101062
- item["funcName"] = (row) => {
101063
- const fieldList = [];
101064
- fieldList.push(createCondition(primaryKey, row[primaryKey]));
101065
- download$2(content, {
101066
- fieldList
101067
- }).catch((e) => {
101068
- warning$3(e.message);
101069
- });
101070
- };
101071
- } else {
101072
- item["funcName"] = (row) => {
101073
- const fieldList = [];
101074
- fieldList.push(createCondition(primaryKey, row[primaryKey]));
101075
- postRequest(content, {
101076
- fieldList
101077
- }).then((res) => {
101078
- if (res.data.code) {
101079
- warning$3(res.data.cnMessage);
101080
- return;
101081
- }
101082
- success("操作成功");
101083
- tableRef.value?.loadByPage();
101084
- });
101085
- };
101086
- }
101087
- } else if (item["eventType"] == "dialog") {
101088
- warning$3("暂未实现");
101089
- } else if (item["eventType"] == "page") {
101090
- let router = useRouter() && window.__hostRouter__;
101091
- item["funcName"] = (row) => {
101092
- router.push({
101093
- path: content,
101094
- query: {
101095
- param: JSON.stringify(row)
101096
- }
101097
- });
101098
- };
101099
- }
101100
- btnList.push(item);
101101
- });
101102
- }
101103
- return btnList;
101104
- }
101105
- function isPromise(obj) {
101106
- return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function" && typeof obj.catch === "function";
101107
- }
101108
-
101109
- const designForm$1 = useDesignFormStore(piniaInstance);
101110
- const userOperation = useSelfOperationStore(piniaInstance);
101111
- const isDesign = computed(() => designForm$1.isEdit);
101112
- const change = (context, formData) => {
101113
- const field = context.field;
101114
- const relation = field.preps?.dataRelation;
101115
- operationRelation(relation, "change", formData, field.preps["name"]);
101116
- };
101117
- const input$2 = (context, formData) => {
101118
- const field = context.field;
101119
- const relation = field.preps?.dataRelation;
101120
- operationRelation(relation, "input", formData, field.preps["name"]);
101121
- };
101122
- const focus = (context, formData) => {
101123
- const field = context.field;
101124
- const relation = field.preps?.dataRelation;
101125
- operationRelation(relation, "focus", formData, field.preps["name"]);
101126
- };
101127
- const blur = (context, formData) => {
101128
- const field = context.field;
101129
- const relation = field.preps?.dataRelation;
101130
- operationRelation(relation, "blur", formData, field.preps["name"]);
101131
- };
101132
- const mouseEnter = (context, formData) => {
101133
- const field = context.field;
101134
- const relation = field.preps?.dataRelation;
101135
- operationRelation(relation, "enter", formData, field.preps["name"]);
101136
- };
101137
- const operationRelation = async (relation, actionName, formData, currentName) => {
101138
- if (!relation || actionName != relation.actionName) {
101139
- return;
101140
- }
101141
- const relations = relation?.relationDetails;
101142
- const currentVal = formData[currentName];
101143
- if (!relations || relations.length == 0) {
101144
- return;
101145
- }
101146
- for (const index in relations) {
101147
- const temp = relations[index];
101148
- const conditon = temp.controlCondition;
101149
- const fieldName = temp.relationFields;
101150
- if (!conditon || !fieldName) {
101151
- continue;
101152
- }
101153
- const field = userOperation.getFormItem(fieldName);
101154
- const params = temp.params;
101155
- if (conditon == "dataLinkage") {
101156
- formData[fieldName + "OptionList"] = await compDynamicData(temp);
101157
- } else if (conditon == "eqDisable" || conditon == "eqDisableOrEditable") {
101158
- formData["_" + fieldName + "Editable"] = !(currentVal == params);
101159
- } else if (conditon == "eqEditable" || conditon == "eqEditableOrDisable") {
101160
- formData["_" + fieldName + "Editable"] = currentVal == params;
101161
- } else if (conditon == "assignValue") {
101162
- if (field.itemType == "select" || field.itemType == "tselect" || field.itemType == "autocomplete" || field.itemType == "cascade") {
101163
- field.preps.values = JSON.parse(params);
101164
- } else {
101165
- formData[field.name] = params;
101166
- }
101167
- } else if (conditon == "changeType") {
101168
- field.itemType = params;
101169
- }
101170
- }
101171
- };
101172
- const allAction = (context, emits, formData, actionName, isInit = false) => {
101173
- const field = context.field;
101174
- if (!isInit && actionName != "normal") {
101175
- try {
101176
- emits("selfFunc", actionName, formData);
101177
- } catch (e) {
101178
- error$1("事件触发异常:" + e);
101179
- }
101180
- }
101181
- if (isDesign.value && isInit || actionName == "normal") {
101182
- return;
101183
- }
101184
- const tempName = field.preps?.actionName;
101185
- switch (actionName) {
101186
- case "change":
101187
- change(context, formData);
101188
- break;
101189
- case "input":
101190
- input$2(context, formData);
101191
- break;
101192
- case "focus":
101193
- focus(context, formData);
101194
- break;
101195
- case "blur":
101196
- blur(context, formData);
101197
- break;
101198
- case "enter":
101199
- case "keydown.enter":
101200
- mouseEnter(context, formData);
101201
- break;
101202
- default:
101203
- console.log("不支持的事件:" + actionName);
101204
- return;
101205
- }
101206
- if (actionName == "input" && actionName != tempName) {
101207
- return;
101208
- }
101209
- if (actionName == field.preps["actionName"] && field.preps["actionRelation"]) {
101210
- field.preps["actionRelation"](formData[field.preps["name"]], formData["xh"]);
101211
- }
101212
- };
101213
- const buttonAction = (context, emits, formData, code) => {
101214
- if (code) {
101215
- userFunction(code, context, formData);
101216
- } else {
101217
- const field = context.field;
101218
- formData["starHorseBtnName"] = field.preps["name"];
101219
- if (field.preps["actions"]) {
101220
- field.preps["actions"](formData);
101221
- }
101222
- emits("selfFunc", formData);
101223
- }
101224
- };
101225
- const checkIsDisabled = (attrs) => {
101226
- const { field } = attrs;
101227
- const fieldName = field.preps?.name;
101228
- const isExplicitlyDisabled = attrs.disabled === true || attrs.disabled === "Y";
101229
- const isImplicitlyDisabled = !attrs.formData[`_${fieldName}Editable`] && field.preps?.disabled === "Y";
101230
- return isExplicitlyDisabled || isImplicitlyDisabled;
101231
- };
101232
-
101235
+ const _hoisted_1$H = { class: "icon-items" };
101236
+ const _hoisted_2$t = { class: "search-box" };
101237
+ const _hoisted_3$f = { class: "system-icon" };
101238
+ const _hoisted_4$9 = ["onClick", "title"];
101233
101239
  const _sfc_main$1s = /* @__PURE__ */ defineComponent({
101234
- ...{
101235
- name: "InputItem"
101236
- },
101237
- __name: "input-item",
101240
+ __name: "icon-item",
101238
101241
  props: /* @__PURE__ */ mergeModels({
101239
101242
  isDesign: {
101240
101243
  type: Boolean,
@@ -101273,28 +101276,58 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
101273
101276
  const props = __props;
101274
101277
  const emits = __emit;
101275
101278
  const formData = useModel(__props, "formData");
101276
- const inputItemRef = ref();
101279
+ let searchName = ref("");
101280
+ let iconList = ref([]);
101281
+ let allIconList = ref([]);
101282
+ let iconType = ref("system");
101283
+ const popoverRef = shallowRef();
101277
101284
  let actionName = shallowRef("normal");
101278
- const initEvent = async () => {
101279
- await nextTick();
101285
+ const assignIcon = (iconName) => {
101286
+ formData.value[props.field.preps["name"]] = iconName;
101287
+ unref(popoverRef).popperRef?.delayHide?.();
101288
+ itemAction("blur");
101289
+ };
101290
+ const dataSearch = () => {
101291
+ if (!searchName.value) {
101292
+ iconList.value = allIconList.value;
101293
+ } else {
101294
+ iconList.value = allIconList.value.filter((item) => {
101295
+ return item.name.toLowerCase().indexOf(searchName.value.toLowerCase()) > -1;
101296
+ });
101297
+ }
101280
101298
  };
101281
101299
  const itemAction = (prep) => {
101282
- allAction(props, emits, formData, prep);
101300
+ if (prep == actionName.value && props.field.preps["actionRelation"]) {
101301
+ props.field.preps["actionRelation"](
101302
+ formData.value[props.field.preps["name"]],
101303
+ formData.value["xh"]
101304
+ );
101305
+ }
101306
+ emits("selfFunc", prep, formData.value);
101283
101307
  };
101284
101308
  onMounted(() => {
101285
101309
  actionName.value = props.field.preps?.actionName || "normal";
101310
+ if (props.field.preps["values"]?.length > 0) {
101311
+ allIconList.value = props.field.preps["values"];
101312
+ iconType.value = "user";
101313
+ } else if (props.field.preps["iconType"] == "user") {
101314
+ allIconList.value = loadSvgIcons();
101315
+ iconType.value = props.field.preps["iconType"];
101316
+ } else {
101317
+ allIconList.value = loadElementPlusIcon();
101318
+ iconType.value = "system";
101319
+ }
101320
+ iconList.value = allIconList.value;
101286
101321
  if (!props.isSearch) {
101287
101322
  allAction(props, emits, formData, actionName.value, true);
101288
101323
  }
101289
- initEvent();
101290
101324
  });
101291
101325
  return (_ctx, _cache) => {
101292
- const _component_el_option = ElOption;
101293
- const _component_el_select = ElSelect;
101294
- const _component_star_horse_icon = __unplugin_components_1$5;
101326
+ const _component_el_avatar = ElAvatar;
101295
101327
  const _component_el_input = ElInput;
101296
- const _component_starhorse_form_item = __unplugin_components_0$3;
101297
- return openBlock(), createBlock(_component_starhorse_form_item, {
101328
+ const _component_el_icon = ElIcon;
101329
+ const _component_el_popover = ElPopover;
101330
+ return openBlock(), createBlock(__unplugin_components_0$3, {
101298
101331
  isDesign: __props.isDesign,
101299
101332
  disabled: __props.disabled,
101300
101333
  bareFlag: __props.bareFlag,
@@ -101302,99 +101335,82 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
101302
101335
  parentField: __props.parentField
101303
101336
  }, {
101304
101337
  default: withCtx(() => [
101305
- createVNode(_component_el_input, {
101306
- clearable: __props.field.preps["clearable"] == "Y",
101307
- disabled: unref(checkIsDisabled)(props),
101308
- max: __props.field.preps["max"],
101309
- maxlength: __props.field.preps["maxlength"],
101310
- min: __props.field.preps["min"],
101311
- autofocus: __props.field.preps["autofocus"] == "Y",
101312
- minlength: __props.field.preps["maxlength"],
101313
- placeholder: __props.field.preps["placeholder"] || "请输入" + (__props.field.preps["label"] || ""),
101314
- readonly: __props.field.preps["readonly"] == "Y",
101315
- size: __props.formInfo?.size || __props.field?.preps["size"] || "default",
101316
- type: "text",
101317
- ref_key: "inputItemRef",
101318
- ref: inputItemRef,
101319
- fid: __props.field.preps["name"],
101320
- class: "input-with-select",
101321
- onChange: _cache[3] || (_cache[3] = ($event) => itemAction("change")),
101322
- onInput: _cache[4] || (_cache[4] = ($event) => itemAction("input")),
101323
- onKeydown: _cache[5] || (_cache[5] = withKeys(($event) => itemAction("enter"), ["enter"])),
101324
- onFocus: _cache[6] || (_cache[6] = ($event) => itemAction("focus")),
101325
- onBlur: _cache[7] || (_cache[7] = ($event) => itemAction("blur")),
101326
- modelValue: formData.value[__props.field.preps["name"]],
101327
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => formData.value[__props.field.preps["name"]] = $event)
101328
- }, createSlots({ _: 2 }, [
101329
- __props.field.preps["prependText"] ? {
101330
- name: "prepend",
101331
- fn: withCtx(() => [
101332
- createTextVNode(toDisplayString(__props.field.preps["prependText"]), 1)
101333
- ]),
101334
- key: "0"
101335
- } : void 0,
101336
- __props.field.preps["prependList"] ? {
101337
- name: "prepend",
101338
- fn: withCtx(() => [
101339
- createVNode(_component_el_select, {
101340
- modelValue: formData.value["pre" + __props.field.preps["name"]],
101341
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value["pre" + __props.field.preps["name"]] = $event)
101342
- }, {
101343
- default: withCtx(() => [
101344
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps["prependList"], (item) => {
101345
- return openBlock(), createBlock(_component_el_option, {
101346
- key: item.value,
101347
- label: item.name,
101348
- value: item.value
101349
- }, null, 8, ["label", "value"]);
101350
- }), 128))
101351
- ]),
101352
- _: 1
101353
- }, 8, ["modelValue"])
101354
- ]),
101355
- key: "1"
101356
- } : void 0,
101357
- __props.field.preps["appendText"] ? {
101358
- name: "append",
101359
- fn: withCtx(() => [
101360
- createTextVNode(toDisplayString(__props.field.preps["appendText"]), 1)
101361
- ]),
101362
- key: "2"
101363
- } : void 0,
101364
- __props.field.preps["appendAction"] ? {
101365
- name: "append",
101366
- fn: withCtx(() => [
101367
- createVNode(_component_star_horse_icon, {
101368
- title: __props.field.preps["appendAction"].actionTitle,
101369
- style: { "cursor": "pointer" },
101370
- "icon-class": __props.field.preps["appendAction"].icon || "document",
101371
- onClick: _cache[1] || (_cache[1] = ($event) => __props.field.preps["appendAction"].actions(formData.value))
101372
- }, null, 8, ["title", "icon-class"])
101373
- ]),
101374
- key: "3"
101375
- } : void 0,
101376
- __props.field.preps["appendList"] ? {
101377
- name: "append",
101378
- fn: withCtx(() => [
101379
- createVNode(_component_el_select, {
101380
- modelValue: formData.value["app" + __props.field.preps["name"]],
101381
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.value["app" + __props.field.preps["name"]] = $event)
101382
- }, {
101383
- default: withCtx(() => [
101384
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps["appendList"], (item) => {
101385
- return openBlock(), createBlock(_component_el_option, {
101386
- key: item.value,
101387
- label: item.name,
101388
- value: item.value
101389
- }, null, 8, ["label", "value"]);
101390
- }), 128))
101391
- ]),
101392
- _: 1
101393
- }, 8, ["modelValue"])
101394
- ]),
101395
- key: "4"
101396
- } : void 0
101397
- ]), 1032, ["clearable", "disabled", "max", "maxlength", "min", "autofocus", "minlength", "placeholder", "readonly", "size", "fid", "modelValue"])
101338
+ createVNode(_component_el_popover, {
101339
+ "popper-style": { width: "inherit !important" },
101340
+ ref_key: "popoverRef",
101341
+ ref: popoverRef,
101342
+ placement: __props.field.preps["placement"] ?? "bottom-start",
101343
+ disabled: unref(checkIsDisabled)(props) || __props.field.preps["listView"] == "Y",
101344
+ trigger: "click"
101345
+ }, {
101346
+ reference: withCtx(() => [
101347
+ unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_avatar, {
101348
+ key: 0,
101349
+ fit: "fill",
101350
+ shape: "square",
101351
+ style: normalizeStyle({
101352
+ "font-size": __props.field.preps["listView"] == "Y" ? "22px" : "24px",
101353
+ background: __props.field.preps["listView"] == "Y" ? "unset" : "var(--el-avatar-bg-color)"
101354
+ }),
101355
+ icon: formData.value[__props.field.preps["name"]]
101356
+ }, null, 8, ["style", "icon"])) : (openBlock(), createBlock(__unplugin_components_1$5, {
101357
+ key: 1,
101358
+ "icon-class": formData.value[__props.field.preps["name"]],
101359
+ size: "40px",
101360
+ style: { "font-size": "50px", "color": "var(--star-horse-style)", "border-radius": "3px", "border": "1px solid var(--star-horse-light-gray)" },
101361
+ cursor: "pointer"
101362
+ }, null, 8, ["icon-class"]))
101363
+ ]),
101364
+ default: withCtx(() => [
101365
+ createElementVNode("div", _hoisted_1$H, [
101366
+ createElementVNode("div", _hoisted_2$t, [
101367
+ createVNode(_component_el_input, {
101368
+ size: __props.formInfo?.size || __props.field?.preps["size"] || "default",
101369
+ modelValue: unref(searchName),
101370
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchName) ? searchName.value = $event : searchName = $event),
101371
+ onKeydown: withKeys(dataSearch, ["enter"]),
101372
+ clearable: "",
101373
+ placeholder: "请输入要搜索的图标"
101374
+ }, {
101375
+ prefix: withCtx(() => [
101376
+ createVNode(__unplugin_components_1$5, {
101377
+ "icon-class": "search",
101378
+ onClick: dataSearch
101379
+ })
101380
+ ]),
101381
+ _: 1
101382
+ }, 8, ["size", "modelValue"])
101383
+ ]),
101384
+ createElementVNode("ul", _hoisted_3$f, [
101385
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(iconList), (sdata) => {
101386
+ return openBlock(), createElementBlock("li", {
101387
+ onClick: ($event) => assignIcon(sdata.value),
101388
+ title: sdata.name,
101389
+ class: normalizeClass({ "icon-active": sdata.value == formData.value[__props.field.preps["name"]] })
101390
+ }, [
101391
+ unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_icon, {
101392
+ key: 0,
101393
+ class: "star-icon",
101394
+ style: { "font-size": "50px", "color": "var(--star-horse-style)" }
101395
+ }, {
101396
+ default: withCtx(() => [
101397
+ (openBlock(), createBlock(resolveDynamicComponent(sdata.value)))
101398
+ ]),
101399
+ _: 2
101400
+ }, 1024)) : (openBlock(), createBlock(__unplugin_components_1$5, {
101401
+ key: 1,
101402
+ "icon-class": sdata.value,
101403
+ size: "30px",
101404
+ style: { "font-size": "50px", "color": "var(--star-horse-style)" },
101405
+ cursor: "pointer"
101406
+ }, null, 8, ["icon-class"]))
101407
+ ], 10, _hoisted_4$9);
101408
+ }), 256))
101409
+ ])
101410
+ ])
101411
+ ]),
101412
+ _: 1
101413
+ }, 8, ["placement", "disabled"])
101398
101414
  ]),
101399
101415
  _: 1
101400
101416
  }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
@@ -101404,9 +101420,9 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
101404
101420
 
101405
101421
  /* unplugin-vue-components disabled */
101406
101422
 
101407
- const __unplugin_components_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-343eeecf"]]);
101423
+ const __unplugin_components_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-8c5e34f4"]]);
101408
101424
 
101409
- const inputItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
101425
+ const iconItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
101410
101426
  __proto__: null,
101411
101427
  default: __unplugin_components_1$3
101412
101428
  }, Symbol.toStringTag, { value: 'Module' }));
@@ -102862,7 +102878,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
102862
102878
  });
102863
102879
  return (_ctx, _cache) => {
102864
102880
  const _component_el_input = ElInput;
102865
- const _component_input_item = __unplugin_components_1$3;
102881
+ const _component_icon_item = __unplugin_components_1$3;
102866
102882
  const _component_star_horse_form = StarHorseForm;
102867
102883
  return openBlock(), createElementBlock(Fragment, null, [
102868
102884
  createTextVNode(toDisplayString(dataForm.value) + " ", 1),
@@ -102870,7 +102886,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
102870
102886
  modelValue: dataForm.value.txt1,
102871
102887
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dataForm.value.txt1 = $event)
102872
102888
  }, null, 8, ["modelValue"]),
102873
- createVNode(_component_input_item, {
102889
+ createVNode(_component_icon_item, {
102874
102890
  formData: dataForm.value,
102875
102891
  field: {
102876
102892
  preps: {
@@ -103443,7 +103459,7 @@ const ShDynamicForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePrope
103443
103459
  default: _sfc_main$1q
103444
103460
  }, Symbol.toStringTag, { value: 'Module' }));
103445
103461
 
103446
- const _hoisted_1$H = {
103462
+ const _hoisted_1$G = {
103447
103463
  class: "flex-center",
103448
103464
  style: { "gap": "4px", "grid-gap": "4px" }
103449
103465
  };
@@ -103478,7 +103494,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
103478
103494
  onClose
103479
103495
  }, {
103480
103496
  default: withCtx(() => [
103481
- createElementVNode("div", _hoisted_1$H, [
103497
+ createElementVNode("div", _hoisted_1$G, [
103482
103498
  createElementVNode("span", null, toDisplayString(_ctx.data[_ctx.displayName]), 1)
103483
103499
  ])
103484
103500
  ]),
@@ -103492,8 +103508,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
103492
103508
 
103493
103509
  const DataTag = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-fceab815"]]);
103494
103510
 
103495
- const _hoisted_1$G = { class: "data-line" };
103496
- const _hoisted_2$t = { class: "flex-center" };
103511
+ const _hoisted_1$F = { class: "data-line" };
103512
+ const _hoisted_2$s = { class: "flex-center" };
103497
103513
  const _sfc_main$1o = /* @__PURE__ */ defineComponent({
103498
103514
  __name: "DataPicker",
103499
103515
  props: {
@@ -103696,8 +103712,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
103696
103712
  onNodeClick
103697
103713
  }, {
103698
103714
  default: withCtx(({ data }) => [
103699
- createElementVNode("div", _hoisted_1$G, [
103700
- createElementVNode("div", _hoisted_2$t, [
103715
+ createElementVNode("div", _hoisted_1$F, [
103716
+ createElementVNode("div", _hoisted_2$s, [
103701
103717
  createVNode(_component_el_icon, { size: 16 }, {
103702
103718
  default: withCtx(() => [
103703
103719
  createVNode(_component_School)
@@ -103747,7 +103763,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
103747
103763
 
103748
103764
  const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-ebcc29a5"]]);
103749
103765
 
103750
- const _hoisted_1$F = { class: "data-wrapper" };
103766
+ const _hoisted_1$E = { class: "data-wrapper" };
103751
103767
  const _sfc_main$1n = /* @__PURE__ */ defineComponent({
103752
103768
  __name: "StarHorseDataSelector",
103753
103769
  props: {
@@ -103821,7 +103837,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
103821
103837
  modelValue: selectData.value,
103822
103838
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectData.value = $event)
103823
103839
  }, null, 8, ["title", "datas", "data-url", "page-size", "display-name", "display-value", "checkStrictly", "multiple", "modelValue"]),
103824
- createElementVNode("div", _hoisted_1$F, [
103840
+ createElementVNode("div", _hoisted_1$E, [
103825
103841
  createVNode(__unplugin_components_1$5, {
103826
103842
  onClick: openDataPicker,
103827
103843
  cursor: "pointer",
@@ -103906,8 +103922,8 @@ const StarHorseTableViewColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.
103906
103922
  default: _sfc_main$1m
103907
103923
  }, Symbol.toStringTag, { value: 'Module' }));
103908
103924
 
103909
- const _hoisted_1$E = { style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" } };
103910
- const _hoisted_2$s = { class: "tb_title" };
103925
+ const _hoisted_1$D = { style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" } };
103926
+ const _hoisted_2$r = { class: "tb_title" };
103911
103927
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
103912
103928
  __name: "StarHorseDataViewTable",
103913
103929
  props: /* @__PURE__ */ mergeModels({
@@ -103928,8 +103944,8 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
103928
103944
  const _component_star_horse_table_view_column = _sfc_main$1m;
103929
103945
  const _component_el_table = ElTable;
103930
103946
  return openBlock(), createElementBlock(Fragment, null, [
103931
- createElementVNode("div", _hoisted_1$E, [
103932
- createElementVNode("div", _hoisted_2$s, [
103947
+ createElementVNode("div", _hoisted_1$D, [
103948
+ createElementVNode("div", _hoisted_2$r, [
103933
103949
  createVNode(_component_star_horse_icon, {
103934
103950
  "icon-class": "info",
103935
103951
  size: "14px"
@@ -104093,12 +104109,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
104093
104109
 
104094
104110
  const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-b2f2eaed"]]);
104095
104111
 
104096
- const _hoisted_1$D = {
104112
+ const _hoisted_1$C = {
104097
104113
  key: 1,
104098
104114
  class: "item"
104099
104115
  };
104100
- const _hoisted_2$r = { class: "content" };
104101
- const _hoisted_3$f = { key: 0 };
104116
+ const _hoisted_2$q = { class: "content" };
104117
+ const _hoisted_3$e = { key: 0 };
104102
104118
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
104103
104119
  __name: "viewOtherItem",
104104
104120
  props: /* @__PURE__ */ mergeModels({
@@ -104141,10 +104157,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
104141
104157
  isView: true
104142
104158
  }, null, 8, ["dataForm", "item"])) : createCommentVNode("", true)
104143
104159
  ], 64)) : createCommentVNode("", true),
104144
- __props.item.formVisible || __props.item.listVisible || __props.item.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
104160
+ __props.item.formVisible || __props.item.listVisible || __props.item.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
104145
104161
  createElementVNode("label", null, toDisplayString(__props.item.label) + " :", 1),
104146
- createElementVNode("div", _hoisted_2$r, [
104147
- __props.item.type == "textarea" || __props.item.type == "markdown" ? (openBlock(), createElementBlock("pre", _hoisted_3$f, toDisplayString(dataFormat(__props.item)), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
104162
+ createElementVNode("div", _hoisted_2$q, [
104163
+ __props.item.type == "textarea" || __props.item.type == "markdown" ? (openBlock(), createElementBlock("pre", _hoisted_3$e, toDisplayString(dataFormat(__props.item)), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
104148
104164
  key: 1,
104149
104165
  content: dataFormat(__props.item)
104150
104166
  }, {
@@ -104160,13 +104176,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
104160
104176
  }
104161
104177
  });
104162
104178
 
104163
- const _hoisted_1$C = {
104179
+ const _hoisted_1$B = {
104164
104180
  key: 0,
104165
104181
  ref: "containerTableRef",
104166
104182
  class: /* @__PURE__ */ normalizeClass({ "dynamic-table": true, "instance-table": true })
104167
104183
  };
104168
- const _hoisted_2$q = { class: "dy-tr" };
104169
- const _hoisted_3$e = ["colspan", "rowspan"];
104184
+ const _hoisted_2$p = { class: "dy-tr" };
104185
+ const _hoisted_3$d = ["colspan", "rowspan"];
104170
104186
  const _hoisted_4$8 = {
104171
104187
  key: 0,
104172
104188
  class: "item"
@@ -104198,10 +104214,10 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
104198
104214
  });
104199
104215
  return (_ctx, _cache) => {
104200
104216
  const _component_el_tooltip = ElTooltip;
104201
- return __props.item.dytableList && __props.item.dytableList.length > 0 ? (openBlock(), createElementBlock("table", _hoisted_1$C, [
104217
+ return __props.item.dytableList && __props.item.dytableList.length > 0 ? (openBlock(), createElementBlock("table", _hoisted_1$B, [
104202
104218
  createElementVNode("tbody", null, [
104203
104219
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.dytableList, (row, rowIndex) => {
104204
- return openBlock(), createElementBlock("tr", _hoisted_2$q, [
104220
+ return openBlock(), createElementBlock("tr", _hoisted_2$p, [
104205
104221
  (openBlock(true), createElementBlock(Fragment, null, renderList(row, (sitem, colIndex) => {
104206
104222
  return openBlock(), createElementBlock("td", {
104207
104223
  colspan: sitem.preps?.colspan || 1,
@@ -104225,7 +104241,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
104225
104241
  }, 1032, ["content"])
104226
104242
  ])
104227
104243
  ])) : createCommentVNode("", true)
104228
- ], 12, _hoisted_3$e);
104244
+ ], 12, _hoisted_3$d);
104229
104245
  }), 256))
104230
104246
  ]);
104231
104247
  }), 256))
@@ -104309,7 +104325,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
104309
104325
 
104310
104326
  const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-d52dfb10"]]);
104311
104327
 
104312
- const _hoisted_1$B = { class: "card-header" };
104328
+ const _hoisted_1$A = { class: "card-header" };
104313
104329
  const _sfc_main$1g = /* @__PURE__ */ defineComponent({
104314
104330
  __name: "viewCardItem",
104315
104331
  props: /* @__PURE__ */ mergeModels({
@@ -104334,7 +104350,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
104334
104350
  shadow: "hover"
104335
104351
  }, {
104336
104352
  header: withCtx(() => [
104337
- createElementVNode("div", _hoisted_1$B, [
104353
+ createElementVNode("div", _hoisted_1$A, [
104338
104354
  createElementVNode("span", null, toDisplayString(cardItem.title || cardItem.tabName), 1)
104339
104355
  ])
104340
104356
  ]),
@@ -104468,12 +104484,12 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
104468
104484
 
104469
104485
  const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-5d53edcc"]]);
104470
104486
 
104471
- const _hoisted_1$A = {
104487
+ const _hoisted_1$z = {
104472
104488
  key: 0,
104473
104489
  class: "item"
104474
104490
  };
104475
- const _hoisted_2$p = { class: "content" };
104476
- const _hoisted_3$d = { key: 0 };
104491
+ const _hoisted_2$o = { class: "content" };
104492
+ const _hoisted_3$c = { key: 0 };
104477
104493
  const _sfc_main$1e = /* @__PURE__ */ defineComponent({
104478
104494
  __name: "viewBoxItem",
104479
104495
  props: /* @__PURE__ */ mergeModels({
@@ -104516,10 +104532,10 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
104516
104532
  span: sitem.colspan || sitem.preps?.colspan || 24 / __props.item.length
104517
104533
  }, {
104518
104534
  default: withCtx(() => [
104519
- sitem.formVisible || sitem.listVisible || sitem.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
104535
+ sitem.formVisible || sitem.listVisible || sitem.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
104520
104536
  createElementVNode("label", null, toDisplayString(sitem.label) + " :", 1),
104521
- createElementVNode("div", _hoisted_2$p, [
104522
- sitem.type == "textarea" || sitem.type == "markdown" ? (openBlock(), createElementBlock("pre", _hoisted_3$d, toDisplayString(dataFormat(sitem)), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
104537
+ createElementVNode("div", _hoisted_2$o, [
104538
+ sitem.type == "textarea" || sitem.type == "markdown" ? (openBlock(), createElementBlock("pre", _hoisted_3$c, toDisplayString(dataFormat(sitem)), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
104523
104539
  key: 1,
104524
104540
  content: dataFormat(sitem)
104525
104541
  }, {
@@ -104638,7 +104654,7 @@ const StarHorseDataViewItems = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
104638
104654
  default: __unplugin_components_0$2
104639
104655
  }, Symbol.toStringTag, { value: 'Module' }));
104640
104656
 
104641
- const _hoisted_1$z = { class: "star-horse-data-view" };
104657
+ const _hoisted_1$y = { class: "star-horse-data-view" };
104642
104658
  const _sfc_main$1c = /* @__PURE__ */ defineComponent({
104643
104659
  __name: "StarHorseDataView",
104644
104660
  props: {
@@ -104730,7 +104746,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
104730
104746
  });
104731
104747
  return (_ctx, _cache) => {
104732
104748
  const _component_star_horse_data_view_items = __unplugin_components_0$2;
104733
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
104749
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
104734
104750
  createVNode(_component_star_horse_data_view_items, {
104735
104751
  commonFormat: __props.dataFormat,
104736
104752
  "field-list": __props.fieldList,
@@ -104751,13 +104767,13 @@ const StarHorseDataView = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
104751
104767
  default: __unplugin_components_0$1
104752
104768
  }, Symbol.toStringTag, { value: 'Module' }));
104753
104769
 
104754
- const _hoisted_1$y = { class: "node__wrapper" };
104755
- const _hoisted_2$o = {
104770
+ const _hoisted_1$x = { class: "node__wrapper" };
104771
+ const _hoisted_2$n = {
104756
104772
  key: 0,
104757
104773
  class: "node-line node-line-left",
104758
104774
  style: { "border-width": "1px", "border-color": "red" }
104759
104775
  };
104760
- const _hoisted_3$c = {
104776
+ const _hoisted_3$b = {
104761
104777
  key: 1,
104762
104778
  class: "node-line node-line-top",
104763
104779
  style: { "{'border-width'": "'3px', 'border-color': 'red'}" }
@@ -104957,9 +104973,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
104957
104973
  onMouseup: endAction,
104958
104974
  onMousemove: dragAction
104959
104975
  }, [
104960
- createElementVNode("div", _hoisted_1$y, [
104961
- __props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$o)) : createCommentVNode("", true),
104962
- __props.isActive ? (openBlock(), createElementBlock("div", _hoisted_3$c)) : createCommentVNode("", true),
104976
+ createElementVNode("div", _hoisted_1$x, [
104977
+ __props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$n)) : createCommentVNode("", true),
104978
+ __props.isActive ? (openBlock(), createElementBlock("div", _hoisted_3$b)) : createCommentVNode("", true),
104963
104979
  __props.isActive ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(pointList.value, (item) => {
104964
104980
  return openBlock(), createElementBlock("div", {
104965
104981
  class: normalizeClass(["node-point", "node-point-" + item]),
@@ -150262,8 +150278,8 @@ let icon$2 = [
150262
150278
  { label: '放大', menuIcon: 'zoom-in' }
150263
150279
  ];
150264
150280
 
150265
- const _hoisted_1$x = { class: "system-icon" };
150266
- const _hoisted_2$n = ["onClick"];
150281
+ const _hoisted_1$w = { class: "system-icon" };
150282
+ const _hoisted_2$m = ["onClick"];
150267
150283
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
150268
150284
  __name: "StarHorsePopover",
150269
150285
  props: {
@@ -150289,7 +150305,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
150289
150305
  renderSlot(_ctx.$slots, "default")
150290
150306
  ]),
150291
150307
  default: withCtx(() => [
150292
- createElementVNode("ul", _hoisted_1$x, [
150308
+ createElementVNode("ul", _hoisted_1$w, [
150293
150309
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(iconList), (sdata) => {
150294
150310
  return openBlock(), createElementBlock("li", {
150295
150311
  onClick: ($event) => menuIconSelect(sdata.menuIcon),
@@ -150306,7 +150322,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
150306
150322
  ]),
150307
150323
  _: 2
150308
150324
  }, 1032, ["content"])
150309
- ], 10, _hoisted_2$n);
150325
+ ], 10, _hoisted_2$m);
150310
150326
  }), 256))
150311
150327
  ])
150312
150328
  ]),
@@ -150430,8 +150446,8 @@ function analysisFields(compList) {
150430
150446
  return { fieldList, tabNames, objectNames, batchNames };
150431
150447
  }
150432
150448
 
150433
- const _hoisted_1$w = { class: "search_content" };
150434
- const _hoisted_2$m = { class: "search_btn" };
150449
+ const _hoisted_1$v = { class: "search_content" };
150450
+ const _hoisted_2$l = { class: "search_btn" };
150435
150451
  const _sfc_main$18 = /* @__PURE__ */ defineComponent({
150436
150452
  __name: "StarHorseSearchComp",
150437
150453
  props: {
@@ -150522,7 +150538,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
150522
150538
  const _component_el_button = ElButton;
150523
150539
  const _component_el_tooltip = ElTooltip;
150524
150540
  const _component_el_form = ElForm;
150525
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
150541
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
150526
150542
  __props.formData && __props.formData.fieldList ? (openBlock(), createBlock(_component_el_form, {
150527
150543
  key: 0,
150528
150544
  class: "search_area",
@@ -150617,7 +150633,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
150617
150633
  }), 256)),
150618
150634
  createVNode(_component_el_form_item, { style: { "vertical-align": "middle", "align-items": "center" } }, {
150619
150635
  default: withCtx(() => [
150620
- createElementVNode("div", _hoisted_2$m, [
150636
+ createElementVNode("div", _hoisted_2$l, [
150621
150637
  createVNode(_component_el_button, {
150622
150638
  onClick: dataSearch,
150623
150639
  style: { "background": "var(--star-horse-style)", "color": "var(--star-horse-white)" },
@@ -150691,7 +150707,7 @@ const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
150691
150707
  default: __unplugin_components_0
150692
150708
  }, Symbol.toStringTag, { value: 'Module' }));
150693
150709
 
150694
- const _hoisted_1$v = ["onClick"];
150710
+ const _hoisted_1$u = ["onClick"];
150695
150711
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
150696
150712
  __name: "StarHorseTableColumn",
150697
150713
  props: {
@@ -150885,7 +150901,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
150885
150901
  }, null, 8, ["dataForm", "item", "column", "batchName", "compSize"])) : (openBlock(), createElementBlock("p", {
150886
150902
  key: 1,
150887
150903
  onClick: ($event) => cellClick(scope.row, scope.column)
150888
- }, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$v))
150904
+ }, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$u))
150889
150905
  ], 64))
150890
150906
  ]),
150891
150907
  _: 1
@@ -150903,12 +150919,12 @@ const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
150903
150919
  default: __unplugin_components_2$1
150904
150920
  }, Symbol.toStringTag, { value: 'Module' }));
150905
150921
 
150906
- const _hoisted_1$u = { class: "table-comp" };
150907
- const _hoisted_2$l = {
150922
+ const _hoisted_1$t = { class: "table-comp" };
150923
+ const _hoisted_2$k = {
150908
150924
  key: 0,
150909
150925
  style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
150910
150926
  };
150911
- const _hoisted_3$b = { class: "tb_title" };
150927
+ const _hoisted_3$a = { class: "tb_title" };
150912
150928
  const _hoisted_4$6 = { style: { "display": "flex", "align-items": "center", "flex-direction": "row-reverse" } };
150913
150929
  const _sfc_main$16 = /* @__PURE__ */ defineComponent({
150914
150930
  __name: "StarHorseStaticTable",
@@ -151088,9 +151104,9 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
151088
151104
  const _component_el_table = ElTable;
151089
151105
  const _component_el_popover = ElPopover;
151090
151106
  const _component_star_horse_table_column = __unplugin_components_2$1;
151091
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
151092
- !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
151093
- createElementVNode("div", _hoisted_3$b, [
151107
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
151108
+ !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$k, [
151109
+ createElementVNode("div", _hoisted_3$a, [
151094
151110
  createVNode(_component_star_horse_icon, {
151095
151111
  "icon-class": "info",
151096
151112
  size: "14px",
@@ -151346,12 +151362,12 @@ const useButtonPermissionStore = defineStore("buttonPermission", () => {
151346
151362
  };
151347
151363
  });
151348
151364
 
151349
- const _hoisted_1$t = {
151365
+ const _hoisted_1$s = {
151350
151366
  key: 0,
151351
151367
  class: "inner_button"
151352
151368
  };
151353
- const _hoisted_2$k = { key: 0 };
151354
- const _hoisted_3$a = { class: "flex items-center w-[100%]" };
151369
+ const _hoisted_2$j = { key: 0 };
151370
+ const _hoisted_3$9 = { class: "flex items-center w-[100%]" };
151355
151371
  const _hoisted_4$5 = ["onClick"];
151356
151372
  const _sfc_main$15 = /* @__PURE__ */ defineComponent({
151357
151373
  __name: "StarHorseButtonList",
@@ -151526,7 +151542,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
151526
151542
  const _component_el_sub_menu = ElSubMenu;
151527
151543
  const _component_el_menu = ElMenu;
151528
151544
  return openBlock(), createElementBlock(Fragment, null, [
151529
- unref(showType) == "line" && Object.keys(unref(permissions) || {}).length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_1$t, [
151545
+ unref(showType) == "line" && Object.keys(unref(permissions) || {}).length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_1$s, [
151530
151546
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(buttonList), (item) => {
151531
151547
  return openBlock(), createElementBlock(Fragment, null, [
151532
151548
  item.children && item.children.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -151584,7 +151600,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
151584
151600
  _: 2
151585
151601
  }, 1032, ["size"])) : createCommentVNode("", true)
151586
151602
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
151587
- unref(permissions)[item.authority] ? (openBlock(), createElementBlock("li", _hoisted_2$k, [
151603
+ unref(permissions)[item.authority] ? (openBlock(), createElementBlock("li", _hoisted_2$j, [
151588
151604
  item.authority == "upload" ? (openBlock(), createBlock(_component_el_upload, {
151589
151605
  key: 0,
151590
151606
  "auto-upload": true,
@@ -151727,7 +151743,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
151727
151743
  name: "file"
151728
151744
  }, {
151729
151745
  default: withCtx(() => [
151730
- createElementVNode("div", _hoisted_3$a, [
151746
+ createElementVNode("div", _hoisted_3$9, [
151731
151747
  createVNode(_component_star_horse_icon, {
151732
151748
  "icon-class": "excel-upload",
151733
151749
  size: "14px"
@@ -152030,7 +152046,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
152030
152046
  }
152031
152047
  });
152032
152048
 
152033
- const _hoisted_1$s = { class: "el-dropdown-link" };
152049
+ const _hoisted_1$r = { class: "el-dropdown-link" };
152034
152050
  const _sfc_main$13 = /* @__PURE__ */ defineComponent({
152035
152051
  __name: "tablebtn",
152036
152052
  props: {
@@ -152146,7 +152162,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
152146
152162
  })
152147
152163
  ]),
152148
152164
  default: withCtx(() => [
152149
- createElementVNode("span", _hoisted_1$s, [
152165
+ createElementVNode("span", _hoisted_1$r, [
152150
152166
  createVNode(_component_star_horse_icon, {
152151
152167
  "icon-class": "ellipsis",
152152
152168
  style: { "color": "var(--star-horse-style)" }
@@ -152356,12 +152372,12 @@ var zhCn = {
152356
152372
  }
152357
152373
  };
152358
152374
 
152359
- const _hoisted_1$r = { class: "star-horse-table" };
152360
- const _hoisted_2$j = {
152375
+ const _hoisted_1$q = { class: "star-horse-table" };
152376
+ const _hoisted_2$i = {
152361
152377
  key: 0,
152362
152378
  class: "tb_title"
152363
152379
  };
152364
- const _hoisted_3$9 = {
152380
+ const _hoisted_3$8 = {
152365
152381
  key: 1,
152366
152382
  style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
152367
152383
  };
@@ -153074,8 +153090,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
153074
153090
  ])),
153075
153091
  _: 1
153076
153092
  }, 8, ["dialogVisible"]),
153077
- createElementVNode("div", _hoisted_1$r, [
153078
- (__props.title || __props.helpMsg) && !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$j, [
153093
+ createElementVNode("div", _hoisted_1$q, [
153094
+ (__props.title || __props.helpMsg) && !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
153079
153095
  __props.helpMsg ? (openBlock(), createBlock(_sfc_main$1K, {
153080
153096
  key: 0,
153081
153097
  message: __props.helpMsg
@@ -153087,7 +153103,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
153087
153103
  })),
153088
153104
  createTextVNode(" " + toDisplayString(__props.title), 1)
153089
153105
  ])) : createCommentVNode("", true),
153090
- !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
153106
+ !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
153091
153107
  createElementVNode("div", _hoisted_4$4, [
153092
153108
  !__props.hideButtonList ? (openBlock(), createBlock(_component_star_horse_button_list, {
153093
153109
  key: 0,
@@ -153429,9 +153445,9 @@ const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.define
153429
153445
  default: __unplugin_components_1$1
153430
153446
  }, Symbol.toStringTag, { value: 'Module' }));
153431
153447
 
153432
- const _hoisted_1$q = ["onClick"];
153433
- const _hoisted_2$i = { class: "name" };
153434
- const _hoisted_3$8 = {
153448
+ const _hoisted_1$p = ["onClick"];
153449
+ const _hoisted_2$h = { class: "name" };
153450
+ const _hoisted_3$7 = {
153435
153451
  key: 0,
153436
153452
  class: "btn"
153437
153453
  };
@@ -153502,8 +153518,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
153502
153518
  class: "menu-title",
153503
153519
  onClick: ($event) => selectData(item, $event)
153504
153520
  }, [
153505
- createElementVNode("div", _hoisted_2$i, toDisplayString(item[__props.preps.label]), 1),
153506
- __props.btnVisible || __props.rmvVisible ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
153521
+ createElementVNode("div", _hoisted_2$h, toDisplayString(item[__props.preps.label]), 1),
153522
+ __props.btnVisible || __props.rmvVisible ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
153507
153523
  createVNode(_component_el_tooltip, { content: __props.btnTitle }, {
153508
153524
  default: withCtx(() => [
153509
153525
  __props.btnVisible ? (openBlock(), createBlock(__unplugin_components_1$5, {
@@ -153528,7 +153544,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
153528
153544
  _: 2
153529
153545
  }, 1032, ["content"])
153530
153546
  ])) : createCommentVNode("", true)
153531
- ], 8, _hoisted_1$q)
153547
+ ], 8, _hoisted_1$p)
153532
153548
  ]),
153533
153549
  default: withCtx(() => [
153534
153550
  createVNode(_component_SubSystemMenu, {
@@ -153601,12 +153617,12 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
153601
153617
 
153602
153618
  const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-37438d04"]]);
153603
153619
 
153604
- const _hoisted_1$p = {
153620
+ const _hoisted_1$o = {
153605
153621
  key: 0,
153606
153622
  class: "selected-data gap-2"
153607
153623
  };
153608
- const _hoisted_2$h = { class: "tree-title" };
153609
- const _hoisted_3$7 = { class: "title flex items-center" };
153624
+ const _hoisted_2$g = { class: "tree-title" };
153625
+ const _hoisted_3$6 = { class: "title flex items-center" };
153610
153626
  const _hoisted_4$2 = {
153611
153627
  key: 0,
153612
153628
  class: "btn"
@@ -153868,7 +153884,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
153868
153884
  })
153869
153885
  }, {
153870
153886
  default: withCtx(() => [
153871
- __props.showSelectData && unref(selectedDataList).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
153887
+ __props.showSelectData && unref(selectedDataList).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
153872
153888
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedDataList), (item) => {
153873
153889
  return openBlock(), createBlock(_component_el_tag, {
153874
153890
  closable: "",
@@ -153881,8 +153897,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
153881
153897
  }, 1032, ["onClose"]);
153882
153898
  }), 256))
153883
153899
  ])) : createCommentVNode("", true),
153884
- createElementVNode("div", _hoisted_2$h, [
153885
- createElementVNode("div", _hoisted_3$7, [
153900
+ createElementVNode("div", _hoisted_2$g, [
153901
+ createElementVNode("div", _hoisted_3$6, [
153886
153902
  createTextVNode(toDisplayString(__props.treeTitle) + " ", 1),
153887
153903
  __props.helpMsg ? (openBlock(), createBlock(_sfc_main$1K, {
153888
153904
  key: 0,
@@ -154138,9 +154154,9 @@ function reconnect() {
154138
154154
  }, 4e3);
154139
154155
  }
154140
154156
 
154141
- const _hoisted_1$o = { class: "message-body" };
154142
- const _hoisted_2$g = { class: "message-list" };
154143
- const _hoisted_3$6 = ["onClick"];
154157
+ const _hoisted_1$n = { class: "message-body" };
154158
+ const _hoisted_2$f = { class: "message-list" };
154159
+ const _hoisted_3$5 = ["onClick"];
154144
154160
  const _hoisted_4$1 = { class: "message-title" };
154145
154161
  const _hoisted_5$1 = { class: "message-title-name" };
154146
154162
  const _hoisted_6 = { class: "message-title-time" };
@@ -154394,10 +154410,10 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
154394
154410
  }, 8, ["value"])
154395
154411
  ]),
154396
154412
  default: withCtx(() => [
154397
- createElementVNode("div", _hoisted_1$o, [
154413
+ createElementVNode("div", _hoisted_1$n, [
154398
154414
  createVNode(_component_el_scrollbar, null, {
154399
154415
  default: withCtx(() => [
154400
- createElementVNode("ul", _hoisted_2$g, [
154416
+ createElementVNode("ul", _hoisted_2$f, [
154401
154417
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(messageList), (item, index) => {
154402
154418
  return openBlock(), createElementBlock("li", {
154403
154419
  class: normalizeClass(["message-item", {
@@ -154410,7 +154426,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
154410
154426
  createElementVNode("span", _hoisted_5$1, toDisplayString(item.title), 1),
154411
154427
  createElementVNode("span", _hoisted_6, toDisplayString(unref(createDatetime)(item.createdTime)), 1)
154412
154428
  ])
154413
- ], 10, _hoisted_3$6);
154429
+ ], 10, _hoisted_3$5);
154414
154430
  }), 128))
154415
154431
  ])
154416
154432
  ]),
@@ -154949,15 +154965,15 @@ function fieldCopy(data, type) {
154949
154965
  return mvData;
154950
154966
  }
154951
154967
 
154952
- const _hoisted_1$n = {
154968
+ const _hoisted_1$m = {
154953
154969
  key: 0,
154954
154970
  class: "drag-handler"
154955
154971
  };
154956
- const _hoisted_2$f = {
154972
+ const _hoisted_2$e = {
154957
154973
  key: 1,
154958
154974
  class: "field-action"
154959
154975
  };
154960
- const _hoisted_3$5 = {
154976
+ const _hoisted_3$4 = {
154961
154977
  key: 1,
154962
154978
  class: "field-item",
154963
154979
  style: { "border": "unset" }
@@ -155152,7 +155168,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
155152
155168
  onContextmenu: containerContextMenu
155153
155169
  }, [
155154
155170
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
155155
- unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
155171
+ unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
155156
155172
  createVNode(_component_el_tooltip, { content: "拖动" }, {
155157
155173
  default: withCtx(() => [
155158
155174
  createVNode(_component_star_horse_icon, {
@@ -155186,7 +155202,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
155186
155202
  _: 1
155187
155203
  })
155188
155204
  ])) : createCommentVNode("", true),
155189
- unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
155205
+ unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
155190
155206
  __props.formItem.itemType == "dytable" || __props.formItem.itemType == "box" ? (openBlock(), createBlock(_component_el_tooltip, {
155191
155207
  key: 0,
155192
155208
  content: "插入行"
@@ -155233,7 +155249,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
155233
155249
  "menu-data": unref(dynamicFormContextMenuData)(__props.formItem, __props.parentField, "container")
155234
155250
  }, null, 8, ["menu-data"])
155235
155251
  ]))
155236
- ], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$5, [
155252
+ ], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$4, [
155237
155253
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
155238
155254
  ]))
155239
155255
  ], 64);
@@ -155250,7 +155266,7 @@ const groupBoxContainer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
155250
155266
  default: __unplugin_components_1
155251
155267
  }, Symbol.toStringTag, { value: 'Module' }));
155252
155268
 
155253
- const _hoisted_1$m = { class: "comp-item" };
155269
+ const _hoisted_1$l = { class: "comp-item" };
155254
155270
  const _sfc_main$Y = /* @__PURE__ */ defineComponent({
155255
155271
  __name: "box-container",
155256
155272
  props: /* @__PURE__ */ mergeModels({
@@ -155342,7 +155358,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
155342
155358
  list: sdata.items
155343
155359
  }, {
155344
155360
  item: withCtx(({ element: data }) => [
155345
- createElementVNode("div", _hoisted_1$m, [
155361
+ createElementVNode("div", _hoisted_1$l, [
155346
155362
  (openBlock(), createBlock(resolveDynamicComponent(data.itemType + (data.compType === "container" ? "-container" : "-item")), {
155347
155363
  key: data.id,
155348
155364
  field: data,
@@ -155402,9 +155418,9 @@ const boxContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
155402
155418
  default: boxContainer
155403
155419
  }, Symbol.toStringTag, { value: 'Module' }));
155404
155420
 
155405
- const _hoisted_1$l = { class: "card-header flex items-center justify-between" };
155406
- const _hoisted_2$e = { class: "w-[60%]" };
155407
- const _hoisted_3$4 = { class: "comp-item" };
155421
+ const _hoisted_1$k = { class: "card-header flex items-center justify-between" };
155422
+ const _hoisted_2$d = { class: "w-[60%]" };
155423
+ const _hoisted_3$3 = { class: "comp-item" };
155408
155424
  const _sfc_main$X = /* @__PURE__ */ defineComponent({
155409
155425
  __name: "card-container",
155410
155426
  props: /* @__PURE__ */ mergeModels({
@@ -155486,8 +155502,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
155486
155502
  shadow: __props.field.preps["shadow"] == "Y"
155487
155503
  }, {
155488
155504
  header: withCtx(() => [
155489
- createElementVNode("div", _hoisted_1$l, [
155490
- createElementVNode("div", _hoisted_2$e, [
155505
+ createElementVNode("div", _hoisted_1$k, [
155506
+ createElementVNode("div", _hoisted_2$d, [
155491
155507
  createTextVNode(toDisplayString(adata.title || adata.tabName) + " ", 1),
155492
155508
  adata.helpMsg ? (openBlock(), createBlock(_component_help, {
155493
155509
  key: 0,
@@ -155548,7 +155564,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
155548
155564
  "onUpdate:modelValue": ($event) => adata["items"] = $event
155549
155565
  }, {
155550
155566
  item: withCtx(({ element: item }) => [
155551
- createElementVNode("div", _hoisted_3$4, [
155567
+ createElementVNode("div", _hoisted_3$3, [
155552
155568
  (openBlock(), createBlock(resolveDynamicComponent(getComponentName(item)), {
155553
155569
  key: item.id,
155554
155570
  field: item,
@@ -155586,8 +155602,8 @@ const cardContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
155586
155602
  default: cardContainer
155587
155603
  }, Symbol.toStringTag, { value: 'Module' }));
155588
155604
 
155589
- const _hoisted_1$k = { class: "collapse-item-title title" };
155590
- const _hoisted_2$d = { class: "comp-item" };
155605
+ const _hoisted_1$j = { class: "collapse-item-title title" };
155606
+ const _hoisted_2$c = { class: "comp-item" };
155591
155607
  const _sfc_main$W = /* @__PURE__ */ defineComponent({
155592
155608
  __name: "collapse-container",
155593
155609
  props: /* @__PURE__ */ mergeModels({
@@ -155678,7 +155694,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
155678
155694
  name: adata.tabName
155679
155695
  }, {
155680
155696
  title: withCtx(() => [
155681
- createElementVNode("div", _hoisted_1$k, [
155697
+ createElementVNode("div", _hoisted_1$j, [
155682
155698
  createElementVNode("div", null, toDisplayString(adata.label || adata.objectName), 1)
155683
155699
  ])
155684
155700
  ]),
@@ -155698,7 +155714,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
155698
155714
  list: adata["items"]
155699
155715
  }, {
155700
155716
  item: withCtx(({ element: data }) => [
155701
- createElementVNode("div", _hoisted_2$d, [
155717
+ createElementVNode("div", _hoisted_2$c, [
155702
155718
  (openBlock(), createBlock(resolveDynamicComponent(getComponentName(data)), {
155703
155719
  key: data.id,
155704
155720
  field: data,
@@ -155739,8 +155755,8 @@ const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
155739
155755
  default: collapseContainer
155740
155756
  }, Symbol.toStringTag, { value: 'Module' }));
155741
155757
 
155742
- const _hoisted_1$j = ["colspan", "rowspan"];
155743
- const _hoisted_2$c = {
155758
+ const _hoisted_1$i = ["colspan", "rowspan"];
155759
+ const _hoisted_2$b = {
155744
155760
  key: 0,
155745
155761
  class: "table-cell-action"
155746
155762
  };
@@ -155922,7 +155938,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
155922
155938
  ]),
155923
155939
  _: 1
155924
155940
  }, 8, ["list"]),
155925
- unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
155941
+ unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
155926
155942
  createVNode(_component_el_dropdown, {
155927
155943
  trigger: "click",
155928
155944
  onCommand: handleTableCellCommand,
@@ -156068,7 +156084,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
156068
156084
  _: 1
156069
156085
  }, 8, ["size"])
156070
156086
  ])) : createCommentVNode("", true)
156071
- ], 46, _hoisted_1$j);
156087
+ ], 46, _hoisted_1$i);
156072
156088
  };
156073
156089
  }
156074
156090
  });
@@ -156082,7 +156098,7 @@ const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
156082
156098
  default: DytableCol
156083
156099
  }, Symbol.toStringTag, { value: 'Module' }));
156084
156100
 
156085
- const _hoisted_1$i = { class: "dy-tr" };
156101
+ const _hoisted_1$h = { class: "dy-tr" };
156086
156102
  const _sfc_main$U = /* @__PURE__ */ defineComponent({
156087
156103
  __name: "dytable-container",
156088
156104
  props: /* @__PURE__ */ mergeModels({
@@ -156116,7 +156132,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
156116
156132
  }, [
156117
156133
  createElementVNode("tbody", null, [
156118
156134
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps.elements, (row, rowIndex) => {
156119
- return openBlock(), createElementBlock("tr", _hoisted_1$i, [
156135
+ return openBlock(), createElementBlock("tr", _hoisted_1$h, [
156120
156136
  (openBlock(true), createElementBlock(Fragment, null, renderList(row.columns, (td, colIndex) => {
156121
156137
  return openBlock(), createBlock(DytableCol, {
156122
156138
  field: td,
@@ -156323,9 +156339,9 @@ const tabContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
156323
156339
  default: tabContainer
156324
156340
  }, Symbol.toStringTag, { value: 'Module' }));
156325
156341
 
156326
- const _hoisted_1$h = { class: "container-thead" };
156327
- const _hoisted_2$b = ["onMouseenter", "onMouseleave"];
156328
- const _hoisted_3$3 = {
156342
+ const _hoisted_1$g = { class: "container-thead" };
156343
+ const _hoisted_2$a = ["onMouseenter", "onMouseleave"];
156344
+ const _hoisted_3$2 = {
156329
156345
  key: 0,
156330
156346
  class: "td-operator"
156331
156347
  };
@@ -156442,14 +156458,14 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
156442
156458
  border: unref(isEdit) && __props.isDesign ? "1px solid #dfe6ec" : "none"
156443
156459
  })
156444
156460
  }, [
156445
- createElementVNode("thead", _hoisted_1$h, [
156461
+ createElementVNode("thead", _hoisted_1$g, [
156446
156462
  createElementVNode("tr", null, [
156447
156463
  (openBlock(true), createElementBlock(Fragment, null, renderList(parseInt(__props.field.preps.columns || 1), (td) => {
156448
156464
  return openBlock(), createElementBlock("th", {
156449
156465
  onMouseenter: (evt) => tdOver(evt, td),
156450
156466
  onMouseleave: (evt) => tdOut(evt)
156451
156467
  }, [
156452
- unref(currentIndex) == td && unref(isEdit) && __props.isDesign ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
156468
+ unref(currentIndex) == td && unref(isEdit) && __props.isDesign ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
156453
156469
  createVNode(_component_el_tooltip, { content: "删除列" }, {
156454
156470
  default: withCtx(() => [
156455
156471
  createVNode(__unplugin_components_1$5, {
@@ -156462,7 +156478,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
156462
156478
  }, 1024)
156463
156479
  ])) : createCommentVNode("", true),
156464
156480
  createTextVNode(" " + toDisplayString(analysisData(td)), 1)
156465
- ], 40, _hoisted_2$b);
156481
+ ], 40, _hoisted_2$a);
156466
156482
  }), 256))
156467
156483
  ])
156468
156484
  ]),
@@ -156570,13 +156586,13 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
156570
156586
  const initData = async () => {
156571
156587
  await nextTick();
156572
156588
  props.field.preps["values"] = await compDynamicData(props.field.preps);
156573
- let data = formData[props.field.preps["name"]];
156589
+ let data = formData.value[props.field.preps["name"]];
156574
156590
  if (data) {
156575
- formData[props.field.preps["name"]] = JSON.parse(data);
156591
+ formData.value[props.field.preps["name"]] = JSON.parse(data);
156576
156592
  } else {
156577
156593
  setTimeout(() => {
156578
- let data2 = formData[props.field.preps["name"]];
156579
- formData[props.field.preps["name"]] = data2 ? JSON.parse(data2) : [];
156594
+ let data2 = formData.value[props.field.preps["name"]];
156595
+ formData.value[props.field.preps["name"]] = data2 ? JSON.parse(data2) : [];
156580
156596
  }, 200);
156581
156597
  }
156582
156598
  };
@@ -156636,14 +156652,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
156636
156652
 
156637
156653
  /* unplugin-vue-components disabled */
156638
156654
 
156639
- const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-34a52f78"]]);
156655
+ const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-ceb72a27"]]);
156640
156656
 
156641
156657
  const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
156642
156658
  __proto__: null,
156643
156659
  default: areaItem
156644
156660
  }, Symbol.toStringTag, { value: 'Module' }));
156645
156661
 
156646
- const _hoisted_1$g = ["fid"];
156662
+ const _hoisted_1$f = ["fid"];
156647
156663
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
156648
156664
  __name: "audio-item",
156649
156665
  props: /* @__PURE__ */ mergeModels({
@@ -156769,7 +156785,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
156769
156785
  ref_key: "audio",
156770
156786
  ref: audio,
156771
156787
  controls: ""
156772
- }, null, 8, _hoisted_1$g)
156788
+ }, null, 8, _hoisted_1$f)
156773
156789
  ]),
156774
156790
  _: 1
156775
156791
  }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
@@ -156956,7 +156972,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
156956
156972
  } else {
156957
156973
  formData2 = await btnCompRef.value?.getFormData().value;
156958
156974
  }
156959
- formData2[props.field.preps["name"]] = JSON.stringify(unref(formData2));
156975
+ formData2.value[props.field.preps["name"]] = JSON.stringify(unref(formData2));
156960
156976
  close();
156961
156977
  };
156962
156978
  const openDialog = async () => {
@@ -156973,7 +156989,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
156973
156989
  let dynamicParams = action.params;
156974
156990
  let params = [];
156975
156991
  dynamicParams?.forEach((dynamicParam) => {
156976
- let value = formData[dynamicParam.paramName] ?? dynamicParam.defaultValue;
156992
+ let value = formData.value[dynamicParam.paramName] ?? dynamicParam.defaultValue;
156977
156993
  params.push(createCondition(dynamicParam.paramName, value, dynamicParam.matchType));
156978
156994
  });
156979
156995
  urlParam["fieldList"] = params;
@@ -157002,11 +157018,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
157002
157018
  return;
157003
157019
  }
157004
157020
  if (action?.afterAction == "assignCurrentName") {
157005
- formData[props.field.preps["name"]] = datas;
157021
+ formData.value[props.field.preps["name"]] = datas;
157006
157022
  } else if (action?.afterAction == "assignForm") {
157007
157023
  let entries = Object.entries(datas);
157008
157024
  entries.forEach(([key, value]) => {
157009
- formData[key] = value;
157025
+ formData.value[key] = value;
157010
157026
  });
157011
157027
  }
157012
157028
  }
@@ -157114,7 +157130,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
157114
157130
 
157115
157131
  /* unplugin-vue-components disabled */
157116
157132
 
157117
- const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-74a9f38b"]]);
157133
+ const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-dd417d64"]]);
157118
157134
 
157119
157135
  const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
157120
157136
  __proto__: null,
@@ -157168,13 +157184,13 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
157168
157184
  const initData = async () => {
157169
157185
  await nextTick();
157170
157186
  props.field.preps["values"] = await compDynamicData(props.field.preps);
157171
- let data = formData[props.field.preps["name"]];
157187
+ let data = formData.value[props.field.preps["name"]];
157172
157188
  if (isJson(data)) {
157173
- formData[props.field.preps["name"]] = JSON.parse(data);
157189
+ formData.value[props.field.preps["name"]] = JSON.parse(data);
157174
157190
  } else {
157175
157191
  setTimeout(() => {
157176
- let data2 = formData[props.field.preps["name"]];
157177
- formData[props.field.preps["name"]] = isJson(data2) ? JSON.parse(data2) : [];
157192
+ let data2 = formData.value[props.field.preps["name"]];
157193
+ formData.value[props.field.preps["name"]] = isJson(data2) ? JSON.parse(data2) : [];
157178
157194
  }, 200);
157179
157195
  }
157180
157196
  };
@@ -157235,7 +157251,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
157235
157251
 
157236
157252
  /* unplugin-vue-components disabled */
157237
157253
 
157238
- const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-7aa37a54"]]);
157254
+ const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-45c01fec"]]);
157239
157255
 
157240
157256
  const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
157241
157257
  __proto__: null,
@@ -159333,8 +159349,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
159333
159349
 
159334
159350
  const CrontabYear = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-cbe4ff61"]]);
159335
159351
 
159336
- const _hoisted_1$f = { class: "popup-result" };
159337
- const _hoisted_2$a = { class: "popup-result-scroll" };
159352
+ const _hoisted_1$e = { class: "popup-result" };
159353
+ const _hoisted_2$9 = { class: "popup-result-scroll" };
159338
159354
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
159339
159355
  __name: "Crontab-Result",
159340
159356
  props: {
@@ -159808,9 +159824,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
159808
159824
  });
159809
159825
  return (_ctx, _cache) => {
159810
159826
  const _component_el_tag = ElTag;
159811
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
159827
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
159812
159828
  _cache[1] || (_cache[1] = createElementVNode("p", { class: "title" }, "最近5次运行时间", -1)),
159813
- createElementVNode("div", _hoisted_2$a, [
159829
+ createElementVNode("div", _hoisted_2$9, [
159814
159830
  unref(isShow) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(resultList), (item) => {
159815
159831
  return openBlock(), createBlock(_component_el_tag, { key: item }, {
159816
159832
  default: withCtx(() => [
@@ -159830,8 +159846,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
159830
159846
  }
159831
159847
  });
159832
159848
 
159833
- const _hoisted_1$e = { class: "popup-main" };
159834
- const _hoisted_2$9 = { class: "popup-result" };
159849
+ const _hoisted_1$d = { class: "popup-main" };
159850
+ const _hoisted_2$8 = { class: "popup-result" };
159835
159851
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
159836
159852
  __name: "Crontab",
159837
159853
  props: {
@@ -160175,8 +160191,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
160175
160191
  ]),
160176
160192
  _: 1
160177
160193
  }, 8, ["modelValue"]),
160178
- createElementVNode("div", _hoisted_1$e, [
160179
- createElementVNode("div", _hoisted_2$9, [
160194
+ createElementVNode("div", _hoisted_1$d, [
160195
+ createElementVNode("div", _hoisted_2$8, [
160180
160196
  _cache[3] || (_cache[3] = createElementVNode("p", { class: "title" }, "时间表达式", -1)),
160181
160197
  createElementVNode("table", null, [
160182
160198
  createElementVNode("thead", null, [
@@ -160330,12 +160346,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
160330
160346
  cronVisible.value = false;
160331
160347
  };
160332
160348
  const open = () => {
160333
- cronDataValue.value = formData[props.field.preps["name"]];
160349
+ cronDataValue.value = formData.value[props.field.preps["name"]];
160334
160350
  console.log(cronDataValue.value);
160335
160351
  cronVisible.value = true;
160336
160352
  };
160337
160353
  const submit = () => {
160338
- formData[props.field.preps["name"]] = cronDataValue.value;
160354
+ formData.value[props.field.preps["name"]] = cronDataValue.value;
160339
160355
  close();
160340
160356
  };
160341
160357
  resetForm();
@@ -160408,7 +160424,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
160408
160424
 
160409
160425
  /* unplugin-vue-components disabled */
160410
160426
 
160411
- const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-b767a440"]]);
160427
+ const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-6ab822cd"]]);
160412
160428
 
160413
160429
  const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160414
160430
  __proto__: null,
@@ -160458,10 +160474,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
160458
160474
  let actionName = shallowRef("normal");
160459
160475
  const itemAction = (prep) => {
160460
160476
  if (prep == "change" && props.field.preps["type"]?.includes("range")) {
160461
- let val = formData[props.field.preps["name"]];
160477
+ let val = formData.value[props.field.preps["name"]];
160462
160478
  if (props.field.preps["needSplitName"] == "Y") {
160463
- formData[props.field.preps["name"] + "Start"] = val[0];
160464
- formData[props.field.preps["name"] + "End"] = val[1];
160479
+ formData.value[props.field.preps["name"] + "Start"] = val[0];
160480
+ formData.value[props.field.preps["name"] + "End"] = val[1];
160465
160481
  }
160466
160482
  }
160467
160483
  allAction(props, emits, formData, prep);
@@ -160519,7 +160535,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
160519
160535
 
160520
160536
  /* unplugin-vue-components disabled */
160521
160537
 
160522
- const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-1d612c27"]]);
160538
+ const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-9cdc472b"]]);
160523
160539
 
160524
160540
  const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160525
160541
  __proto__: null,
@@ -160648,13 +160664,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
160648
160664
  }
160649
160665
  let name = props.field.preps["name"];
160650
160666
  if (!needField) {
160651
- formData[name] = data[name];
160667
+ formData.value[name] = data[name];
160652
160668
  } else {
160653
160669
  needField.forEach((item) => {
160654
160670
  if (needField.length == 1) {
160655
- formData[name] = data[item.sourceField];
160671
+ formData.value[name] = data[item.sourceField];
160656
160672
  } else {
160657
- formData[item.distField] = data[item.sourceField];
160673
+ formData.value[item.distField] = data[item.sourceField];
160658
160674
  }
160659
160675
  });
160660
160676
  }
@@ -160679,7 +160695,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
160679
160695
  if (fields) {
160680
160696
  name = fields.map((item) => item.sourceField)[0];
160681
160697
  }
160682
- dialogInputTableRef.value?.setDataInfo(name, formData[realName]);
160698
+ dialogInputTableRef.value?.setDataInfo(name, formData.value[realName]);
160683
160699
  });
160684
160700
  };
160685
160701
  onMounted(() => {
@@ -160775,7 +160791,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
160775
160791
 
160776
160792
  /* unplugin-vue-components disabled */
160777
160793
 
160778
- const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-26da5ebf"]]);
160794
+ const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-62e5ae33"]]);
160779
160795
 
160780
160796
  const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160781
160797
  __proto__: null,
@@ -160826,7 +160842,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
160826
160842
  allAction(props, emits, formData, prep);
160827
160843
  };
160828
160844
  onMounted(() => {
160829
- formData[props.field.preps["name"]] = props.field.preps["content"];
160845
+ formData.value[props.field.preps["name"]] = props.field.preps["content"];
160830
160846
  });
160831
160847
  return (_ctx, _cache) => {
160832
160848
  const _component_el_divider = ElDivider;
@@ -160861,7 +160877,7 @@ const dividerItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
160861
160877
  default: _sfc_main$x
160862
160878
  }, Symbol.toStringTag, { value: 'Module' }));
160863
160879
 
160864
- const _hoisted_1$d = ["innerHTML"];
160880
+ const _hoisted_1$c = ["innerHTML"];
160865
160881
  const _sfc_main$w = /* @__PURE__ */ defineComponent({
160866
160882
  __name: "html-item",
160867
160883
  props: /* @__PURE__ */ mergeModels({
@@ -160902,7 +160918,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
160902
160918
  const props = __props;
160903
160919
  const formData = useModel(__props, "formData");
160904
160920
  onMounted(() => {
160905
- formData[props.field.preps["name"]] = props.field.preps["content"];
160921
+ formData.value[props.field.preps["name"]] = props.field.preps["content"];
160906
160922
  });
160907
160923
  return (_ctx, _cache) => {
160908
160924
  const _component_starhorse_form_item = __unplugin_components_0$3;
@@ -160917,7 +160933,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
160917
160933
  createElementVNode("div", {
160918
160934
  class: "user_html",
160919
160935
  innerHTML: __props.field.preps["content"]
160920
- }, null, 8, _hoisted_1$d)
160936
+ }, null, 8, _hoisted_1$c)
160921
160937
  ]),
160922
160938
  _: 1
160923
160939
  }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
@@ -160927,7 +160943,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
160927
160943
 
160928
160944
  /* unplugin-vue-components disabled */
160929
160945
 
160930
- const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-0c8f5b74"]]);
160946
+ const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-0eb15373"]]);
160931
160947
 
160932
160948
  const htmlItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
160933
160949
  __proto__: null,
@@ -178005,7 +178021,7 @@ class ImageUploader {
178005
178021
 
178006
178022
  window.ImageUploader = ImageUploader;
178007
178023
 
178008
- const _hoisted_1$c = { style: { "border": "1px solid #ccc" } };
178024
+ const _hoisted_1$b = { style: { "border": "1px solid #ccc" } };
178009
178025
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
178010
178026
  __name: "htmleditor-item",
178011
178027
  props: /* @__PURE__ */ mergeModels({
@@ -178046,173 +178062,41 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
178046
178062
  const props = __props;
178047
178063
  const emits = __emit;
178048
178064
  const formData = useModel(__props, "formData");
178049
- let editorConfig = shallowRef({});
178050
- let toolbarConfig = shallowRef({});
178051
- const editorRef = shallowRef();
178052
- const itemAction = (prep) => {
178053
- allAction(props, emits, formData, prep);
178054
- };
178055
- const handleCreated = (editor) => {
178056
- editorRef.value = editor;
178057
- };
178058
- const modules = {
178059
- name: "imageUploader",
178060
- module: ImageUploader,
178061
- options: {
178062
- upload: (file) => {
178063
- return new Promise((resolve, reject) => {
178064
- const formData2 = new FormData();
178065
- formData2.append("image", file);
178066
- postRequest("/upload-image", formData2).then((res) => {
178067
- console.log(res);
178068
- resolve(res.data.url);
178069
- }).catch((err) => {
178070
- reject("Upload failed");
178071
- console.error("Error:", err);
178072
- });
178073
- });
178074
- }
178075
- }
178076
- };
178077
- onMounted(() => {
178078
- toolbarConfig.value = {
178079
- //excludeKeys: ["insertLink", "insertImage", "editImage", "viewImageLink", "insertVideo", "emotion", "fullScreen"],
178080
- };
178081
- editorConfig.value = { placeholder: "请输入内容...", MENU_CONF: {} };
178082
- });
178083
- return (_ctx, _cache) => {
178084
- const _component_starhorse_form_item = __unplugin_components_0$3;
178085
- return openBlock(), createBlock(_component_starhorse_form_item, {
178086
- isDesign: __props.isDesign,
178087
- disabled: __props.disabled,
178088
- bareFlag: __props.bareFlag,
178089
- formItem: __props.field,
178090
- parentField: __props.parentField
178091
- }, {
178092
- default: withCtx(() => [
178093
- createElementVNode("div", _hoisted_1$c, [
178094
- createVNode(unref(QuillEditor), {
178095
- style: normalizeStyle({ height: __props.field.preps.height || "300px", "overflow-y": "hidden" }),
178096
- modules,
178097
- onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
178098
- onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
178099
- onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
178100
- onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
178101
- onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
178102
- modelValue: formData.value[__props.field.preps["name"]],
178103
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.preps["name"]] = $event),
178104
- theme: "snow",
178105
- toolbar: "full",
178106
- fid: __props.field.preps["name"],
178107
- onOnCreated: handleCreated
178108
- }, null, 8, ["style", "modelValue", "fid"])
178109
- ])
178110
- ]),
178111
- _: 1
178112
- }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
178113
- };
178114
- }
178115
- });
178116
-
178117
- const htmleditorItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
178118
- __proto__: null,
178119
- default: _sfc_main$v
178120
- }, Symbol.toStringTag, { value: 'Module' }));
178121
-
178122
- const _hoisted_1$b = { class: "search-box" };
178123
- const _hoisted_2$8 = { class: "system-icon" };
178124
- const _hoisted_3$2 = ["onClick", "title"];
178125
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
178126
- __name: "icon-item",
178127
- props: /* @__PURE__ */ mergeModels({
178128
- isDesign: {
178129
- type: Boolean,
178130
- default: false
178131
- },
178132
- disabled: {
178133
- type: Boolean,
178134
- default: false
178135
- },
178136
- bareFlag: {
178137
- type: Boolean,
178138
- default: false
178139
- },
178140
- isSearch: {
178141
- type: Boolean,
178142
- default: false
178143
- },
178144
- field: {
178145
- type: Object,
178146
- default: {}
178147
- },
178148
- parentField: {
178149
- type: Object,
178150
- default: {}
178151
- },
178152
- formInfo: {
178153
- type: Object,
178154
- default: {}
178155
- }
178156
- }, {
178157
- "formData": {},
178158
- "formDataModifiers": {}
178159
- }),
178160
- emits: /* @__PURE__ */ mergeModels(["selfFunc", "selectItem"], ["update:formData"]),
178161
- setup(__props, { emit: __emit }) {
178162
- const props = __props;
178163
- const emits = __emit;
178164
- const formData = useModel(__props, "formData");
178165
- let searchName = ref("");
178166
- let iconList = ref([]);
178167
- let allIconList = ref([]);
178168
- let iconType = ref("system");
178169
- const popoverRef = shallowRef();
178170
- let actionName = shallowRef("normal");
178171
- const assignIcon = (iconName) => {
178172
- formData[props.field.preps["name"]] = iconName;
178173
- unref(popoverRef).popperRef?.delayHide?.();
178174
- itemAction("blur");
178065
+ let editorConfig = shallowRef({});
178066
+ let toolbarConfig = shallowRef({});
178067
+ const editorRef = shallowRef();
178068
+ const itemAction = (prep) => {
178069
+ allAction(props, emits, formData, prep);
178175
178070
  };
178176
- const dataSearch = () => {
178177
- if (!searchName.value) {
178178
- iconList.value = allIconList.value;
178179
- } else {
178180
- iconList.value = allIconList.value.filter((item) => {
178181
- return item.name.toLowerCase().indexOf(searchName.value.toLowerCase()) > -1;
178182
- });
178183
- }
178071
+ const handleCreated = (editor) => {
178072
+ editorRef.value = editor;
178184
178073
  };
178185
- const itemAction = (prep) => {
178186
- if (prep == actionName.value && props.field.preps["actionRelation"]) {
178187
- props.field.preps["actionRelation"](
178188
- formData[props.field.preps["name"]],
178189
- formData["xh"]
178190
- );
178074
+ const modules = {
178075
+ name: "imageUploader",
178076
+ module: ImageUploader,
178077
+ options: {
178078
+ upload: (file) => {
178079
+ return new Promise((resolve, reject) => {
178080
+ const formData2 = new FormData();
178081
+ formData2.append("image", file);
178082
+ postRequest("/upload-image", formData2).then((res) => {
178083
+ console.log(res);
178084
+ resolve(res.data.url);
178085
+ }).catch((err) => {
178086
+ reject("Upload failed");
178087
+ console.error("Error:", err);
178088
+ });
178089
+ });
178090
+ }
178191
178091
  }
178192
- emits("selfFunc", prep, formData);
178193
178092
  };
178194
178093
  onMounted(() => {
178195
- actionName.value = props.field.preps?.actionName || "normal";
178196
- if (props.field.preps["values"]?.length > 0) {
178197
- allIconList.value = props.field.preps["values"];
178198
- iconType.value = "user";
178199
- } else if (props.field.preps["iconType"] == "user") {
178200
- allIconList.value = loadSvgIcons();
178201
- iconType.value = props.field.preps["iconType"];
178202
- } else {
178203
- allIconList.value = loadElementPlusIcon();
178204
- iconType.value = "system";
178205
- }
178206
- iconList.value = allIconList.value;
178207
- if (!props.isSearch) {
178208
- allAction(props, emits, formData, actionName.value, true);
178209
- }
178094
+ toolbarConfig.value = {
178095
+ //excludeKeys: ["insertLink", "insertImage", "editImage", "viewImageLink", "insertVideo", "emotion", "fullScreen"],
178096
+ };
178097
+ editorConfig.value = { placeholder: "请输入内容...", MENU_CONF: {} };
178210
178098
  });
178211
178099
  return (_ctx, _cache) => {
178212
- const _component_el_avatar = ElAvatar;
178213
- const _component_el_input = ElInput;
178214
- const _component_el_icon = ElIcon;
178215
- const _component_el_popover = ElPopover;
178216
178100
  const _component_starhorse_form_item = __unplugin_components_0$3;
178217
178101
  return openBlock(), createBlock(_component_starhorse_form_item, {
178218
178102
  isDesign: __props.isDesign,
@@ -178222,80 +178106,23 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
178222
178106
  parentField: __props.parentField
178223
178107
  }, {
178224
178108
  default: withCtx(() => [
178225
- createVNode(_component_el_popover, {
178226
- "popper-style": { width: "inherit !important" },
178227
- ref_key: "popoverRef",
178228
- ref: popoverRef,
178229
- placement: __props.field.preps["placement"] ?? "bottom-end",
178230
- disabled: unref(checkIsDisabled)(props) || __props.field.preps["listView"] == "Y",
178231
- trigger: "click"
178232
- }, {
178233
- reference: withCtx(() => [
178234
- unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_avatar, {
178235
- key: 0,
178236
- fit: "fill",
178237
- shape: "square",
178238
- style: normalizeStyle({
178239
- "font-size": __props.field.preps["listView"] == "Y" ? "22px" : "24px",
178240
- background: __props.field.preps["listView"] == "Y" ? "unset" : "var(--el-avatar-bg-color)"
178241
- }),
178242
- icon: formData.value[__props.field.preps["name"]]
178243
- }, null, 8, ["style", "icon"])) : (openBlock(), createBlock(__unplugin_components_1$5, {
178244
- key: 1,
178245
- "icon-class": formData.value[__props.field.preps["name"]],
178246
- size: "40px",
178247
- style: { "font-size": "50px", "color": "var(--star-horse-style)", "border-radius": "3px", "border": "1px solid var(--star-horse-light-gray)" },
178248
- cursor: "pointer"
178249
- }, null, 8, ["icon-class"]))
178250
- ]),
178251
- default: withCtx(() => [
178252
- createElementVNode("div", _hoisted_1$b, [
178253
- createVNode(_component_el_input, {
178254
- size: __props.formInfo?.size || __props.field?.preps["size"] || "default",
178255
- modelValue: unref(searchName),
178256
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchName) ? searchName.value = $event : searchName = $event),
178257
- onKeydown: withKeys(dataSearch, ["enter"]),
178258
- clearable: "",
178259
- placeholder: "请输入要搜索的图标"
178260
- }, {
178261
- prefix: withCtx(() => [
178262
- createVNode(__unplugin_components_1$5, {
178263
- "icon-class": "search",
178264
- onClick: dataSearch
178265
- })
178266
- ]),
178267
- _: 1
178268
- }, 8, ["size", "modelValue"])
178269
- ]),
178270
- createElementVNode("ul", _hoisted_2$8, [
178271
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(iconList), (sdata) => {
178272
- return openBlock(), createElementBlock("li", {
178273
- onClick: ($event) => assignIcon(sdata.value),
178274
- title: sdata.name,
178275
- class: normalizeClass({ "icon-active": sdata.value == formData.value[__props.field.preps["name"]] })
178276
- }, [
178277
- unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_icon, {
178278
- key: 0,
178279
- class: "star-icon",
178280
- style: { "font-size": "50px", "color": "var(--star-horse-style)" }
178281
- }, {
178282
- default: withCtx(() => [
178283
- (openBlock(), createBlock(resolveDynamicComponent(sdata.value)))
178284
- ]),
178285
- _: 2
178286
- }, 1024)) : (openBlock(), createBlock(__unplugin_components_1$5, {
178287
- key: 1,
178288
- "icon-class": sdata.value,
178289
- size: "30px",
178290
- style: { "font-size": "50px", "color": "var(--star-horse-style)" },
178291
- cursor: "pointer"
178292
- }, null, 8, ["icon-class"]))
178293
- ], 10, _hoisted_3$2);
178294
- }), 256))
178295
- ])
178296
- ]),
178297
- _: 1
178298
- }, 8, ["placement", "disabled"])
178109
+ createElementVNode("div", _hoisted_1$b, [
178110
+ createVNode(unref(QuillEditor), {
178111
+ style: normalizeStyle({ height: __props.field.preps.height || "300px", "overflow-y": "hidden" }),
178112
+ modules,
178113
+ onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
178114
+ onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
178115
+ onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
178116
+ onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
178117
+ onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
178118
+ modelValue: formData.value[__props.field.preps["name"]],
178119
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.preps["name"]] = $event),
178120
+ theme: "snow",
178121
+ toolbar: "full",
178122
+ fid: __props.field.preps["name"],
178123
+ onOnCreated: handleCreated
178124
+ }, null, 8, ["style", "modelValue", "fid"])
178125
+ ])
178299
178126
  ]),
178300
178127
  _: 1
178301
178128
  }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
@@ -178303,13 +178130,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
178303
178130
  }
178304
178131
  });
178305
178132
 
178306
- /* unplugin-vue-components disabled */
178307
-
178308
- const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-55eb15ca"]]);
178309
-
178310
- const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
178133
+ const htmleditorItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
178311
178134
  __proto__: null,
178312
- default: iconItem
178135
+ default: _sfc_main$v
178313
178136
  }, Symbol.toStringTag, { value: 'Module' }));
178314
178137
 
178315
178138
  const _hoisted_1$a = {
@@ -178321,7 +178144,7 @@ const _hoisted_3$1 = {
178321
178144
  key: 0,
178322
178145
  class: "image-remove"
178323
178146
  };
178324
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
178147
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
178325
178148
  __name: "image-item",
178326
178149
  props: /* @__PURE__ */ mergeModels({
178327
178150
  isDesign: {
@@ -178365,18 +178188,18 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
178365
178188
  let defaultAction = "/system-config/annex/upload/common";
178366
178189
  let defaultViewList = shallowRef([]);
178367
178190
  const removeImage = () => {
178368
- formData[props.field.preps["name"]] = "";
178191
+ formData.value[props.field.preps["name"]] = "";
178369
178192
  defaultViewList.value = [];
178370
178193
  };
178371
178194
  const selfAction = (prep, uploadFile, uploadFiles = [], param = {}) => {
178372
178195
  if (prep == "success") {
178373
178196
  let result = param.data;
178374
178197
  let path = (props.field.preps["context"] || "/system-config") + result.path;
178375
- formData[props.field.preps["name"]] = path;
178198
+ formData.value[props.field.preps["name"]] = path;
178376
178199
  defaultViewList.value.push(path);
178377
178200
  if (!props.field.preps["keepResult"] || props.field.preps["keepResult"] == "Y") {
178378
178201
  Object.entries(result).forEach(([key, value]) => {
178379
- formData[key] = value;
178202
+ formData.value[key] = value;
178380
178203
  });
178381
178204
  }
178382
178205
  }
@@ -178540,13 +178363,194 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
178540
178363
 
178541
178364
  /* unplugin-vue-components disabled */
178542
178365
 
178543
- const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-3f13101c"]]);
178366
+ const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3eedd4a7"]]);
178544
178367
 
178545
178368
  const imageItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
178546
178369
  __proto__: null,
178547
178370
  default: imageItem
178548
178371
  }, Symbol.toStringTag, { value: 'Module' }));
178549
178372
 
178373
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
178374
+ ...{
178375
+ name: "InputItem"
178376
+ },
178377
+ __name: "input-item",
178378
+ props: /* @__PURE__ */ mergeModels({
178379
+ isDesign: {
178380
+ type: Boolean,
178381
+ default: false
178382
+ },
178383
+ disabled: {
178384
+ type: Boolean,
178385
+ default: false
178386
+ },
178387
+ bareFlag: {
178388
+ type: Boolean,
178389
+ default: false
178390
+ },
178391
+ isSearch: {
178392
+ type: Boolean,
178393
+ default: false
178394
+ },
178395
+ field: {
178396
+ type: Object,
178397
+ default: {}
178398
+ },
178399
+ parentField: {
178400
+ type: Object,
178401
+ default: {}
178402
+ },
178403
+ formInfo: {
178404
+ type: Object,
178405
+ default: {}
178406
+ }
178407
+ }, {
178408
+ "formData": {},
178409
+ "formDataModifiers": {}
178410
+ }),
178411
+ emits: /* @__PURE__ */ mergeModels(["selfFunc", "selectItem"], ["update:formData"]),
178412
+ setup(__props, { emit: __emit }) {
178413
+ const props = __props;
178414
+ const emits = __emit;
178415
+ const formData = useModel(__props, "formData");
178416
+ const inputItemRef = ref();
178417
+ let actionName = shallowRef("normal");
178418
+ const initEvent = async () => {
178419
+ await nextTick();
178420
+ };
178421
+ const itemAction = (prep) => {
178422
+ allAction(props, emits, formData, prep);
178423
+ };
178424
+ onMounted(() => {
178425
+ actionName.value = props.field.preps?.actionName || "normal";
178426
+ if (!props.isSearch) {
178427
+ allAction(props, emits, formData, actionName.value, true);
178428
+ }
178429
+ initEvent();
178430
+ });
178431
+ return (_ctx, _cache) => {
178432
+ const _component_el_option = ElOption;
178433
+ const _component_el_select = ElSelect;
178434
+ const _component_star_horse_icon = __unplugin_components_1$5;
178435
+ const _component_el_input = ElInput;
178436
+ const _component_starhorse_form_item = __unplugin_components_0$3;
178437
+ return openBlock(), createBlock(_component_starhorse_form_item, {
178438
+ isDesign: __props.isDesign,
178439
+ disabled: __props.disabled,
178440
+ bareFlag: __props.bareFlag,
178441
+ formItem: __props.field,
178442
+ parentField: __props.parentField
178443
+ }, {
178444
+ default: withCtx(() => [
178445
+ createVNode(_component_el_input, {
178446
+ clearable: __props.field.preps["clearable"] == "Y",
178447
+ disabled: unref(checkIsDisabled)(props),
178448
+ max: __props.field.preps["max"],
178449
+ maxlength: __props.field.preps["maxlength"],
178450
+ min: __props.field.preps["min"],
178451
+ autofocus: __props.field.preps["autofocus"] == "Y",
178452
+ minlength: __props.field.preps["maxlength"],
178453
+ placeholder: __props.field.preps["placeholder"] || "请输入" + (__props.field.preps["label"] || ""),
178454
+ readonly: __props.field.preps["readonly"] == "Y",
178455
+ size: __props.formInfo?.size || __props.field?.preps["size"] || "default",
178456
+ type: "text",
178457
+ ref_key: "inputItemRef",
178458
+ ref: inputItemRef,
178459
+ fid: __props.field.preps["name"],
178460
+ class: "input-with-select",
178461
+ onChange: _cache[3] || (_cache[3] = ($event) => itemAction("change")),
178462
+ onInput: _cache[4] || (_cache[4] = ($event) => itemAction("input")),
178463
+ onKeydown: _cache[5] || (_cache[5] = withKeys(($event) => itemAction("enter"), ["enter"])),
178464
+ onFocus: _cache[6] || (_cache[6] = ($event) => itemAction("focus")),
178465
+ onBlur: _cache[7] || (_cache[7] = ($event) => itemAction("blur")),
178466
+ modelValue: formData.value[__props.field.preps["name"]],
178467
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => formData.value[__props.field.preps["name"]] = $event)
178468
+ }, createSlots({ _: 2 }, [
178469
+ __props.field.preps["prependText"] ? {
178470
+ name: "prepend",
178471
+ fn: withCtx(() => [
178472
+ createTextVNode(toDisplayString(__props.field.preps["prependText"]), 1)
178473
+ ]),
178474
+ key: "0"
178475
+ } : void 0,
178476
+ __props.field.preps["prependList"] ? {
178477
+ name: "prepend",
178478
+ fn: withCtx(() => [
178479
+ createVNode(_component_el_select, {
178480
+ modelValue: formData.value["pre" + __props.field.preps["name"]],
178481
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value["pre" + __props.field.preps["name"]] = $event)
178482
+ }, {
178483
+ default: withCtx(() => [
178484
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps["prependList"], (item) => {
178485
+ return openBlock(), createBlock(_component_el_option, {
178486
+ key: item.value,
178487
+ label: item.name,
178488
+ value: item.value
178489
+ }, null, 8, ["label", "value"]);
178490
+ }), 128))
178491
+ ]),
178492
+ _: 1
178493
+ }, 8, ["modelValue"])
178494
+ ]),
178495
+ key: "1"
178496
+ } : void 0,
178497
+ __props.field.preps["appendText"] ? {
178498
+ name: "append",
178499
+ fn: withCtx(() => [
178500
+ createTextVNode(toDisplayString(__props.field.preps["appendText"]), 1)
178501
+ ]),
178502
+ key: "2"
178503
+ } : void 0,
178504
+ __props.field.preps["appendAction"] ? {
178505
+ name: "append",
178506
+ fn: withCtx(() => [
178507
+ createVNode(_component_star_horse_icon, {
178508
+ title: __props.field.preps["appendAction"].actionTitle,
178509
+ style: { "cursor": "pointer" },
178510
+ "icon-class": __props.field.preps["appendAction"].icon || "document",
178511
+ onClick: _cache[1] || (_cache[1] = ($event) => __props.field.preps["appendAction"].actions(formData.value))
178512
+ }, null, 8, ["title", "icon-class"])
178513
+ ]),
178514
+ key: "3"
178515
+ } : void 0,
178516
+ __props.field.preps["appendList"] ? {
178517
+ name: "append",
178518
+ fn: withCtx(() => [
178519
+ createVNode(_component_el_select, {
178520
+ modelValue: formData.value["app" + __props.field.preps["name"]],
178521
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.value["app" + __props.field.preps["name"]] = $event)
178522
+ }, {
178523
+ default: withCtx(() => [
178524
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps["appendList"], (item) => {
178525
+ return openBlock(), createBlock(_component_el_option, {
178526
+ key: item.value,
178527
+ label: item.name,
178528
+ value: item.value
178529
+ }, null, 8, ["label", "value"]);
178530
+ }), 128))
178531
+ ]),
178532
+ _: 1
178533
+ }, 8, ["modelValue"])
178534
+ ]),
178535
+ key: "4"
178536
+ } : void 0
178537
+ ]), 1032, ["clearable", "disabled", "max", "maxlength", "min", "autofocus", "minlength", "placeholder", "readonly", "size", "fid", "modelValue"])
178538
+ ]),
178539
+ _: 1
178540
+ }, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
178541
+ };
178542
+ }
178543
+ });
178544
+
178545
+ /* unplugin-vue-components disabled */
178546
+
178547
+ const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-343eeecf"]]);
178548
+
178549
+ const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
178550
+ __proto__: null,
178551
+ default: inputItem
178552
+ }, Symbol.toStringTag, { value: 'Module' }));
178553
+
178550
178554
  const _hoisted_1$9 = { class: "json-comp" };
178551
178555
  const _hoisted_2$6 = { class: "json-box" };
178552
178556
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
@@ -178620,21 +178624,21 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
178620
178624
  allAction(props, emits, formData, prep);
178621
178625
  };
178622
178626
  const editJsonData = async () => {
178623
- let jsonStr = formData2[props.field.preps["name"]];
178624
- let formData2 = {};
178627
+ let jsonStr = formData.value[props.field.preps["name"]];
178628
+ let temp = {};
178625
178629
  if (jsonStr) {
178626
- formData2["jsonDatas"] = JSON.parse(jsonStr);
178627
- jsonArray.value = formData2["jsonDatas"];
178630
+ temp["jsonDatas"] = JSON.parse(jsonStr);
178631
+ jsonArray.value = temp["jsonDatas"];
178628
178632
  }
178629
178633
  dialogInputVisible.value = true;
178630
178634
  await nextTick();
178631
178635
  if (props.field.preps["devType"] != "Y") {
178632
- jsonFormRef.value.setFormData(formData2);
178636
+ jsonFormRef.value.setFormData(temp);
178633
178637
  }
178634
178638
  };
178635
178639
  const selectItem = async () => {
178636
178640
  if (props.field.preps["devType"] == "Y") {
178637
- formData[props.field.preps["name"]] = JSON.stringify(jsonArray.value, null, 4);
178641
+ formData.value[props.field.preps["name"]] = JSON.stringify(jsonArray.value, null, 4);
178638
178642
  } else {
178639
178643
  let flag = false;
178640
178644
  await jsonFormRef.value.$refs.starHorseFormRef.validate((res) => {
@@ -178643,9 +178647,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
178643
178647
  if (!flag) {
178644
178648
  return;
178645
178649
  }
178646
- let formData2 = jsonFormRef.value.getFormData().value;
178647
- let dataList = formData2["jsonDatas"];
178648
- formData2[props.field.preps["name"]] = JSON.stringify(dataList, null, 4);
178650
+ let temp = jsonFormRef.value.getFormData().value;
178651
+ let dataList = temp["jsonDatas"];
178652
+ formData.value[props.field.preps["name"]] = JSON.stringify(dataList, null, 4);
178649
178653
  }
178650
178654
  closeAction();
178651
178655
  };
@@ -178744,7 +178748,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
178744
178748
 
178745
178749
  /* unplugin-vue-components disabled */
178746
178750
 
178747
- const jsonArrayItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2763c473"]]);
178751
+ const jsonArrayItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-5642ee48"]]);
178748
178752
 
178749
178753
  const jsonArrayItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
178750
178754
  __proto__: null,
@@ -178824,8 +178828,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
178824
178828
  allAction(props, emits, formData, prep);
178825
178829
  };
178826
178830
  const editJsonData = async () => {
178827
- let jsonStr = formData2[props.field.preps["name"]];
178828
- let formData2 = {};
178831
+ let jsonStr = formData.value[props.field.preps["name"]];
178832
+ let temp = {};
178829
178833
  if (jsonStr) {
178830
178834
  jsonObject.value = JSON.parse(jsonStr);
178831
178835
  let arr = [];
@@ -178835,17 +178839,17 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
178835
178839
  value: jsonObject.value[key]
178836
178840
  });
178837
178841
  }
178838
- formData2["jsonDatas"] = arr;
178842
+ temp["jsonDatas"] = arr;
178839
178843
  }
178840
178844
  dialogInputVisible.value = true;
178841
178845
  await nextTick();
178842
178846
  if (props.field.preps["devType"] != "Y") {
178843
- jsonFormRef.value.setFormData(formData2);
178847
+ jsonFormRef.value.setFormData(temp);
178844
178848
  }
178845
178849
  };
178846
178850
  const selectItem = async () => {
178847
178851
  if (props.field.preps["devType"] == "Y") {
178848
- formData[props.field.preps["name"]] = JSON.stringify(jsonObject.value, null, 4);
178852
+ formData.value[props.field.preps["name"]] = JSON.stringify(jsonObject.value, null, 4);
178849
178853
  } else {
178850
178854
  let flag = false;
178851
178855
  await jsonFormRef.value.$refs.starHorseFormRef.validate((res) => {
@@ -178854,13 +178858,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
178854
178858
  if (!flag) {
178855
178859
  return;
178856
178860
  }
178857
- let formData2 = jsonFormRef.value.getFormData().value;
178858
- let dataList = formData2["jsonDatas"];
178861
+ let temp = jsonFormRef.value.getFormData().value;
178862
+ let dataList = temp["jsonDatas"];
178859
178863
  let jsonData = {};
178860
178864
  dataList.forEach((item) => {
178861
178865
  jsonData[item.name] = item.value;
178862
178866
  });
178863
- formData2[props.field.preps["name"]] = JSON.stringify(jsonData, null, 4);
178867
+ formData.value[props.field.preps["name"]] = JSON.stringify(jsonData, null, 4);
178864
178868
  }
178865
178869
  closeAction();
178866
178870
  };
@@ -178959,7 +178963,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
178959
178963
 
178960
178964
  /* unplugin-vue-components disabled */
178961
178965
 
178962
- const jsonItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-ca61a57a"]]);
178966
+ const jsonItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-804417de"]]);
178963
178967
 
178964
178968
  const jsonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
178965
178969
  __proto__: null,
@@ -179222,24 +179226,24 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
179222
179226
  };
179223
179227
  useSlots();
179224
179228
  const itemAction = (prep) => {
179225
- let min = formData[props.field.preps["minName"]];
179226
- let max = formData[props.field.preps["maxName"]];
179229
+ let min = formData.value[props.field.preps["minName"]];
179230
+ let max = formData.value[props.field.preps["maxName"]];
179227
179231
  if (max < min) {
179228
179232
  warning$3("最大值不能小于最小值");
179229
179233
  return;
179230
179234
  }
179231
- formData[props.field.preps["name"]] = `${min}-${max}`;
179235
+ formData.value[props.field.preps["name"]] = `${min}-${max}`;
179232
179236
  allAction(props, emits, formData, prep);
179233
179237
  };
179234
179238
  onMounted(() => {
179235
179239
  actionName.value = props.field.preps?.actionName || "normal";
179236
179240
  props.field.preps["maxName"] = props.field.preps["name"] + "Max";
179237
179241
  props.field.preps["minName"] = props.field.preps["name"] + "Min";
179238
- let val = formData[props.field.preps["name"]];
179242
+ let val = formData.value[props.field.preps["name"]];
179239
179243
  if (val) {
179240
179244
  let data = val.split("-");
179241
- formData[props.field.preps["minName"]] = Number(data[0]);
179242
- formData[props.field.preps["maxName"]] = Number(data[1]);
179245
+ formData.value[props.field.preps["minName"]] = Number(data[0]);
179246
+ formData.value[props.field.preps["maxName"]] = Number(data[1]);
179243
179247
  }
179244
179248
  if (!props.isSearch) {
179245
179249
  allAction(props, emits, formData, actionName.value, true);
@@ -179329,7 +179333,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
179329
179333
 
179330
179334
  /* unplugin-vue-components disabled */
179331
179335
 
179332
- const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-45fcaa19"]]);
179336
+ const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e7734a8e"]]);
179333
179337
 
179334
179338
  const numberRangeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
179335
179339
  __proto__: null,
@@ -179403,7 +179407,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
179403
179407
  }
179404
179408
  if (isInit) {
179405
179409
  let fieldName = loadSourceField();
179406
- let value = formData[props.field.preps["aliasName"] || props.field.preps["name"]];
179410
+ let value = formData.value[props.field.preps["aliasName"] || props.field.preps["name"]];
179407
179411
  if (fieldName && value) {
179408
179412
  if ("Y" == props.field.preps["multiple"]) {
179409
179413
  searchData.value.push(createCondition(fieldName, Array.isArray(value) ? value : value.split(";"), "in"));
@@ -179492,13 +179496,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
179492
179496
  value = value[0];
179493
179497
  }
179494
179498
  if (fields.length == 1) {
179495
- formData[name] = value;
179499
+ formData.value[name] = value;
179496
179500
  } else {
179497
- formData[temp.distField] = value;
179501
+ formData.value[temp.distField] = value;
179498
179502
  }
179499
179503
  });
179500
179504
  } else {
179501
- formData[name] = multipleSelection.value.map((item) => item[name]);
179505
+ formData.value[name] = multipleSelection.value.map((item) => item[name]);
179502
179506
  }
179503
179507
  if (props.field.preps["recall"]) {
179504
179508
  props.field.preps["recall"](multipleSelection.value);
@@ -179649,7 +179653,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
179649
179653
 
179650
179654
  /* unplugin-vue-components disabled */
179651
179655
 
179652
- const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-e56dbb0a"]]);
179656
+ const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-36abc49e"]]);
179653
179657
 
179654
179658
  const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
179655
179659
  __proto__: null,
@@ -179982,8 +179986,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
179982
179986
  const props = __props;
179983
179987
  const emits = __emit;
179984
179988
  const formData = useModel(__props, "formData");
179985
- shallowRef({ label: "input", required: false });
179986
- shallowRef("");
179987
179989
  let actionName = shallowRef("change");
179988
179990
  const itemAction = (prep) => {
179989
179991
  allAction(props, emits, formData, prep);
@@ -180072,7 +180074,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
180072
180074
 
180073
180075
  /* unplugin-vue-components disabled */
180074
180076
 
180075
- const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-7354bb88"]]);
180077
+ const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-32d771ca"]]);
180076
180078
 
180077
180079
  const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
180078
180080
  __proto__: null,
@@ -181083,14 +181085,14 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
181083
181085
  allAction(props, emits, formData, prep);
181084
181086
  };
181085
181087
  const maxEdit = () => {
181086
- if (!formData["_" + props.field.preps["name"] + "Editable"] && props.field.preps["disabled"] == "Y") {
181088
+ if (!formData.value["_" + props.field.preps["name"] + "Editable"] && props.field.preps["disabled"] == "Y") {
181087
181089
  return;
181088
181090
  }
181089
- dataField.value = formData[props.field.preps["name"]];
181091
+ dataField.value = formData.value[props.field.preps["name"]];
181090
181092
  editorDialogVisible.value = true;
181091
181093
  };
181092
181094
  const dataMerge = () => {
181093
- formData[props.field.preps["name"]] = dataField.value;
181095
+ formData.value[props.field.preps["name"]] = dataField.value;
181094
181096
  };
181095
181097
  onMounted(() => {
181096
181098
  actionName.value = props.field.preps?.actionName || "normal";
@@ -181771,10 +181773,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
181771
181773
  const selfAction = (prep, uploadFile, uploadFiles = [], param = {}) => {
181772
181774
  if (prep == "success") {
181773
181775
  let result = param.data;
181774
- formData[props.field.preps["name"]] = result.path;
181776
+ formData.value[props.field.preps["name"]] = result.path;
181775
181777
  if (!props.field.preps["keepResult"] || props.field.preps["keepResult"] == "Y") {
181776
181778
  Object.entries(result).forEach(([key, value]) => {
181777
- formData[key] = value;
181779
+ formData.value[key] = value;
181778
181780
  });
181779
181781
  }
181780
181782
  }
@@ -181783,7 +181785,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
181783
181785
  };
181784
181786
  onMounted(async () => {
181785
181787
  await nextTick();
181786
- let datas = formData[props.field.preps["name"]];
181788
+ let datas = formData.value[props.field.preps["name"]];
181787
181789
  if (datas) {
181788
181790
  dataField.value.push({ url: (props.field.preps["context"] || "/system-config") + datas });
181789
181791
  }
@@ -181886,7 +181888,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
181886
181888
 
181887
181889
  /* unplugin-vue-components disabled */
181888
181890
 
181889
- const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-84cbda74"]]);
181891
+ const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-8db7a83c"]]);
181890
181892
 
181891
181893
  const uploadItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
181892
181894
  __proto__: null,
@@ -181983,14 +181985,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
181983
181985
  }
181984
181986
  }
181985
181987
  if (!needField) {
181986
- formData[name] = temp[name].join(" ");
181987
- formData[aliasName] = temp[aliasName].join(" ");
181988
+ formData.value[name] = temp[name].join(" ");
181989
+ formData.value[aliasName] = temp[aliasName].join(" ");
181988
181990
  } else {
181989
181991
  needField.forEach((item) => {
181990
181992
  if (needField.length == 1) {
181991
- formData[name] = temp[item.sourceField].join(" ");
181993
+ formData.value[name] = temp[item.sourceField].join(" ");
181992
181994
  } else {
181993
- formData[item.distField] = temp[item.distField].join(" ");
181995
+ formData.value[item.distField] = temp[item.distField].join(" ");
181994
181996
  }
181995
181997
  });
181996
181998
  }
@@ -182014,7 +182016,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
182014
182016
  if (fields) {
182015
182017
  name = fields.map((item) => item.sourceField)[0];
182016
182018
  }
182017
- userTableRef.value.$refs.employeeInfoRef.setDataInfo(name, formData[realName]);
182019
+ userTableRef.value.$refs.employeeInfoRef.setDataInfo(name, formData.value[realName]);
182018
182020
  });
182019
182021
  };
182020
182022
  return (_ctx, _cache) => {
@@ -192212,7 +192214,7 @@ const useContinusConfigStore = defineStore(
192212
192214
  {}
192213
192215
  );
192214
192216
 
192215
- 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$1),"/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$1),"/src/components/comp/StarHorseJsonEditor.vue": () => Promise.resolve().then(() => StarHorseJsonEditor$1),"/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/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/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),"/src/components/formcomp/items/json-array-item.vue": () => Promise.resolve().then(() => jsonArrayItem$1),"/src/components/formcomp/items/json-item.vue": () => Promise.resolve().then(() => jsonItem$1),"/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$1),"/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)
192217
+ 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$1),"/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$1),"/src/components/comp/StarHorseJsonEditor.vue": () => Promise.resolve().then(() => StarHorseJsonEditor$1),"/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/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/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),"/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$1),"/src/components/formcomp/items/json-item.vue": () => Promise.resolve().then(() => jsonItem$1),"/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$1),"/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)
192216
192218
 
192217
192219
 
192218
192220
 
@@ -195024,4 +195026,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
195024
195026
  fullWidthButton: e
195025
195027
  }, Symbol.toStringTag, { value: 'Module' }));
195026
195028
 
195027
- export { __unplugin_components_3$2 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, messageItem as MessageItem, _sfc_main$1q as ShDynamicForm, ShForm, _sfc_main$1I as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, __unplugin_components_0$1 as StarHorseDataView, __unplugin_components_0$2 as StarHorseDataViewItems, __unplugin_components_3$1 as StarHorseDataViewTable, __unplugin_components_0$5 as StarHorseDialog, StarHorseDraggable, StarHorseForm, _sfc_main$1x as StarHorseFormItem, __unplugin_components_0$4 as StarHorseFormList, _sfc_main$1F as StarHorseFormTable, StarHorseHmenu, __unplugin_components_1$5 as StarHorseIcon, StarHorseJsonEditor, _sfc_main$19 as StarHorsePopover, __unplugin_components_0 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1m as StarHorseTableViewColumn, StarHorseTree, analysisField, apiInstance, areaItem, ascOrDesc, _sfc_main$Q as audioItem, _sfc_main$P as autocompleteItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$M as checkboxItem, closeLoad, collapseContainer, _sfc_main$L as colorItem, commonDataFormat, commonField, commonParseCodeToName, compDynamicData, convertToCamelCase, copy$3 as copy, createComponent, createCondition, createDate, createDatetime, createFilter, createJoinCondition, createTree, cronItem, currentDate, currentMonthRange, dataType, dateParse, dateTypes, datetimeItem, dbConfigList, index as default, deleteByIds, _sfc_main$z as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$x as dividerItem, download$2 as download, downloadData, downloadFile, dynamicUrlOperation, dytableContainer, error$1 as error, filterTree, findNodesWithValue, formFieldMapping, generateDeviceId, getFingerId, getMenuId, getRequest, getValidateImg, htmlItem, _sfc_main$v as htmleditorItem, httpMethod, httpRequest, iconItem, imageItem, imagesPreview, __unplugin_components_1$3 as inputItem, isDark, isJson, isPromise, jsonArrayItem, jsonItem, load, loadById, loadConfigedMenus, loadCustomInfo, loadData, loadDepartmentInfo, loadDepartments, loadDict, loadElementPlusIcon, loadGetData, loadMenusInfo, loadPagePermission, loadRoleDatas, loadRolesInfo, loadSvgIcons, loadSystemInfo, loadSystems, markdownItem, message$2 as message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, parseFormData, _sfc_main$m as passwordItem, permissionMenus, permissionResources, piniaInstance, postRequest, printerList, _sfc_main$3 as qrcodeItem, _sfc_main$l as radioItem, _sfc_main$k as rateItem, redirectUrlOperation, relationFieldOperation, removeEmptyCondition, rowClassName, rtCode, searchData, searchMatchList, selectItem, selectMenusTreeData, setCssVar, signatureItem, _sfc_main$h as sliderItem, success, _sfc_main$g as switchItem, tabContainer, tableContainer, _sfc_main$f as tagItem, textItem, textToPinYin, _sfc_main$d as textareaItem, timeItem, timePickerItem, toggle, toggleDark, _sfc_main$a as transferItem, treeCheckChange, trim, _sfc_main$9 as tselectItem, _sfc_main$8 as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$6 as userItem, _sfc_main$5 as usercompItem, uuid, validDataUrl, viewMarkdownItem, warning$3 as warning };
195029
+ export { __unplugin_components_3$2 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, messageItem as MessageItem, _sfc_main$1q as ShDynamicForm, ShForm, _sfc_main$1I as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, __unplugin_components_0$1 as StarHorseDataView, __unplugin_components_0$2 as StarHorseDataViewItems, __unplugin_components_3$1 as StarHorseDataViewTable, __unplugin_components_0$5 as StarHorseDialog, StarHorseDraggable, StarHorseForm, _sfc_main$1x as StarHorseFormItem, __unplugin_components_0$4 as StarHorseFormList, _sfc_main$1F as StarHorseFormTable, StarHorseHmenu, __unplugin_components_1$5 as StarHorseIcon, StarHorseJsonEditor, _sfc_main$19 as StarHorsePopover, __unplugin_components_0 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1m as StarHorseTableViewColumn, StarHorseTree, analysisField, apiInstance, areaItem, ascOrDesc, _sfc_main$Q as audioItem, _sfc_main$P as autocompleteItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$M as checkboxItem, closeLoad, collapseContainer, _sfc_main$L as colorItem, commonDataFormat, commonField, commonParseCodeToName, compDynamicData, convertToCamelCase, copy$3 as copy, createComponent, createCondition, createDate, createDatetime, createFilter, createJoinCondition, createTree, cronItem, currentDate, currentMonthRange, dataType, dateParse, dateTypes, datetimeItem, dbConfigList, index as default, deleteByIds, _sfc_main$z as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$x as dividerItem, download$2 as download, downloadData, downloadFile, dynamicUrlOperation, dytableContainer, error$1 as error, filterTree, findNodesWithValue, formFieldMapping, generateDeviceId, getFingerId, getMenuId, getRequest, getValidateImg, htmlItem, _sfc_main$v as htmleditorItem, httpMethod, httpRequest, __unplugin_components_1$3 as iconItem, imageItem, imagesPreview, inputItem, isDark, isJson, isPromise, jsonArrayItem, jsonItem, load, loadById, loadConfigedMenus, loadCustomInfo, loadData, loadDepartmentInfo, loadDepartments, loadDict, loadElementPlusIcon, loadGetData, loadMenusInfo, loadPagePermission, loadRoleDatas, loadRolesInfo, loadSvgIcons, loadSystemInfo, loadSystems, markdownItem, message$2 as message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, parseFormData, _sfc_main$m as passwordItem, permissionMenus, permissionResources, piniaInstance, postRequest, printerList, _sfc_main$3 as qrcodeItem, _sfc_main$l as radioItem, _sfc_main$k as rateItem, redirectUrlOperation, relationFieldOperation, removeEmptyCondition, rowClassName, rtCode, searchData, searchMatchList, selectItem, selectMenusTreeData, setCssVar, signatureItem, _sfc_main$h as sliderItem, success, _sfc_main$g as switchItem, tabContainer, tableContainer, _sfc_main$f as tagItem, textItem, textToPinYin, _sfc_main$d as textareaItem, timeItem, timePickerItem, toggle, toggleDark, _sfc_main$a as transferItem, treeCheckChange, trim, _sfc_main$9 as tselectItem, _sfc_main$8 as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$6 as userItem, _sfc_main$5 as usercompItem, uuid, validDataUrl, viewMarkdownItem, warning$3 as warning };