star-horse-lowcode 2.7.24 → 2.7.26
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/README.md +2 -1
- package/dist/assets/index.css +1 -1
- package/dist/components/formcomp/items/starhorse-form-item.vue.d.ts +72 -0
- package/dist/components/formcomp/utils/FieldList.vue.d.ts +8 -0
- package/dist/index.cjs.js +16 -16
- package/dist/index.es.js +1015 -982
- package/dist/index.umd.js +16 -16
- package/dist/store/DesignForm.d.ts +4 -1
- package/package.json +1 -1
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
|
99452
|
-
const
|
|
99453
|
-
|
|
99454
|
-
|
|
99455
|
-
}
|
|
99456
|
-
|
|
99457
|
-
|
|
99458
|
-
|
|
99459
|
-
|
|
99460
|
-
|
|
99461
|
-
|
|
99462
|
-
|
|
99463
|
-
|
|
99464
|
-
|
|
99465
|
-
|
|
99466
|
-
|
|
99467
|
-
|
|
99468
|
-
|
|
99469
|
-
|
|
99470
|
-
|
|
99471
|
-
|
|
99472
|
-
|
|
99473
|
-
|
|
99474
|
-
|
|
99475
|
-
|
|
99476
|
-
|
|
99477
|
-
|
|
99478
|
-
|
|
99479
|
-
|
|
99480
|
-
|
|
99481
|
-
|
|
99482
|
-
|
|
99483
|
-
|
|
99484
|
-
|
|
99485
|
-
|
|
99486
|
-
|
|
99487
|
-
|
|
99488
|
-
|
|
99489
|
-
|
|
99490
|
-
|
|
99491
|
-
|
|
99492
|
-
|
|
99493
|
-
|
|
99494
|
-
|
|
99495
|
-
|
|
99496
|
-
|
|
99497
|
-
|
|
99498
|
-
|
|
99499
|
-
|
|
99500
|
-
|
|
99501
|
-
|
|
99502
|
-
|
|
99503
|
-
|
|
99504
|
-
|
|
99505
|
-
|
|
99506
|
-
|
|
99507
|
-
|
|
99508
|
-
|
|
99509
|
-
|
|
99510
|
-
|
|
99511
|
-
|
|
99512
|
-
|
|
99513
|
-
|
|
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
|
-
|
|
99539
|
-
|
|
99540
|
-
|
|
99541
|
-
|
|
99542
|
-
|
|
99543
|
-
|
|
99544
|
-
|
|
99545
|
-
|
|
99546
|
-
|
|
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
|
-
}
|
|
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
|
-
|
|
99629
|
-
|
|
99630
|
-
|
|
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([]);
|
|
@@ -99641,6 +99541,7 @@ const useDesignFormStore = defineStore("designForm", () => {
|
|
|
99641
99541
|
const allFormDataList = ref([]);
|
|
99642
99542
|
const formInfo = ref({});
|
|
99643
99543
|
const compList = ref([]);
|
|
99544
|
+
const compListNoLayer = ref([]);
|
|
99644
99545
|
const formData = ref({});
|
|
99645
99546
|
const currentComp = ref();
|
|
99646
99547
|
const currentItemType = ref("");
|
|
@@ -99743,63 +99644,92 @@ const useDesignFormStore = defineStore("designForm", () => {
|
|
|
99743
99644
|
const setCompList = (comps) => {
|
|
99744
99645
|
compList.value = comps;
|
|
99745
99646
|
};
|
|
99647
|
+
const selectItemById = (itemId) => {
|
|
99648
|
+
if (compListNoLayer.value?.length == 0) {
|
|
99649
|
+
loadCompNames();
|
|
99650
|
+
}
|
|
99651
|
+
return compListNoLayer.value?.find((item) => item.id == itemId);
|
|
99652
|
+
};
|
|
99746
99653
|
const loadCompNames = () => {
|
|
99747
99654
|
const innerFunc = (datas) => {
|
|
99748
99655
|
const selectList = [];
|
|
99656
|
+
const compList2 = [];
|
|
99749
99657
|
for (const index in datas) {
|
|
99750
99658
|
const temp = datas[index];
|
|
99751
99659
|
if (temp.itemType == "box" || temp.itemType == "dytable") {
|
|
99752
99660
|
const elements = temp.preps.elements;
|
|
99661
|
+
const children = [];
|
|
99753
99662
|
for (const sindex in elements) {
|
|
99754
99663
|
const columns = elements[sindex].columns;
|
|
99755
99664
|
for (const ssindex in columns) {
|
|
99756
99665
|
const column = columns[ssindex];
|
|
99757
99666
|
if (column.items && column.items.length > 0) {
|
|
99758
|
-
|
|
99759
|
-
...column.items?.map((item) => ({ name: item.preps?.label,
|
|
99667
|
+
children.push(
|
|
99668
|
+
...column.items?.map((item) => ({ name: item.preps?.label, id: item.preps?.id, compType: "item", type: item.preps?.itemType, value: item.preps?.name })).filter((item) => item.name)
|
|
99760
99669
|
);
|
|
99670
|
+
compList2.push(...column.items);
|
|
99761
99671
|
}
|
|
99762
99672
|
}
|
|
99763
99673
|
}
|
|
99674
|
+
selectList.push({
|
|
99675
|
+
name: temp.preps?.label ?? temp.preps?.itemNameLabel,
|
|
99676
|
+
value: temp.preps?.name,
|
|
99677
|
+
id: temp.preps?.id,
|
|
99678
|
+
type: temp.itemType,
|
|
99679
|
+
compType: "container",
|
|
99680
|
+
children
|
|
99681
|
+
});
|
|
99764
99682
|
} else if (temp.itemType == "table") {
|
|
99765
99683
|
const elements = temp.preps.elements;
|
|
99766
99684
|
const children = [];
|
|
99767
99685
|
for (const index2 in elements) {
|
|
99768
99686
|
const element = elements[index2];
|
|
99769
|
-
if (element.items
|
|
99687
|
+
if (element.items?.length > 0) {
|
|
99770
99688
|
children.push(
|
|
99771
|
-
...element.items?.map((item) => ({ name: item.preps?.label, value: item.preps?.name })).filter((item) => item.name)
|
|
99689
|
+
...element.items?.map((item) => ({ name: item.preps?.label, id: item.preps?.id, compType: "item", type: item.itemType ?? item.preps?.itemType, value: item.preps?.name })).filter((item) => item.name)
|
|
99772
99690
|
);
|
|
99691
|
+
compList2.push(...element.items);
|
|
99773
99692
|
}
|
|
99774
99693
|
}
|
|
99775
99694
|
selectList.push({
|
|
99776
99695
|
name: temp.preps?.label,
|
|
99777
99696
|
value: temp.preps?.batchFieldName,
|
|
99778
|
-
|
|
99697
|
+
id: temp.id,
|
|
99698
|
+
type: temp.itemType,
|
|
99699
|
+
compType: "container",
|
|
99779
99700
|
children
|
|
99780
99701
|
});
|
|
99781
99702
|
} else if (temp.itemType == "tab" || temp.itemType == "collapse" || temp.itemType == "card") {
|
|
99782
99703
|
const elements = temp.preps?.elements;
|
|
99783
99704
|
for (const index2 in elements) {
|
|
99784
99705
|
const element = elements[index2];
|
|
99706
|
+
const subItems = innerFunc(element.items);
|
|
99785
99707
|
selectList.push({
|
|
99786
99708
|
name: element.label,
|
|
99787
99709
|
value: element.objectName,
|
|
99788
|
-
|
|
99789
|
-
|
|
99710
|
+
id: temp.id,
|
|
99711
|
+
type: temp.itemType,
|
|
99712
|
+
compType: "container",
|
|
99713
|
+
children: subItems.selectList
|
|
99790
99714
|
});
|
|
99715
|
+
compList2.push(...subItems.compList);
|
|
99791
99716
|
}
|
|
99792
99717
|
} else {
|
|
99793
99718
|
selectList.push({
|
|
99794
99719
|
name: temp.preps?.label,
|
|
99795
99720
|
value: temp.preps?.name,
|
|
99796
|
-
|
|
99721
|
+
compType: "item",
|
|
99722
|
+
id: temp.preps?.id,
|
|
99723
|
+
type: temp.itemType ?? temp.preps?.itemType
|
|
99797
99724
|
});
|
|
99798
99725
|
}
|
|
99726
|
+
compList2.push(temp);
|
|
99799
99727
|
}
|
|
99800
|
-
return selectList;
|
|
99728
|
+
return { selectList, compList: compList2 };
|
|
99801
99729
|
};
|
|
99802
|
-
|
|
99730
|
+
const resultDatas = innerFunc(compList.value);
|
|
99731
|
+
compListNoLayer.value = resultDatas.compList;
|
|
99732
|
+
return resultDatas.selectList;
|
|
99803
99733
|
};
|
|
99804
99734
|
const addComp = (comp) => {
|
|
99805
99735
|
if (Array.isArray(comp)) {
|
|
@@ -99945,6 +99875,7 @@ const useDesignFormStore = defineStore("designForm", () => {
|
|
|
99945
99875
|
batchEditFieldVisible,
|
|
99946
99876
|
previewVisible,
|
|
99947
99877
|
shortKeyDisabled,
|
|
99878
|
+
selectItemById,
|
|
99948
99879
|
setAllFormDataList,
|
|
99949
99880
|
setSelfFormDataList,
|
|
99950
99881
|
setFormDataList,
|
|
@@ -99978,10 +99909,322 @@ const useDesignFormStore = defineStore("designForm", () => {
|
|
|
99978
99909
|
};
|
|
99979
99910
|
});
|
|
99980
99911
|
|
|
99912
|
+
const designForm$2 = useDesignFormStore(piniaInstance);
|
|
99913
|
+
const userOperation = useSelfOperationStore(piniaInstance);
|
|
99914
|
+
const isDesign = computed(() => designForm$2.isEdit);
|
|
99915
|
+
const change = (context, formData) => {
|
|
99916
|
+
const field = context.field;
|
|
99917
|
+
const relation = field.preps?.dataRelation;
|
|
99918
|
+
operationRelation(relation, "change", formData, field.preps["name"]);
|
|
99919
|
+
};
|
|
99920
|
+
const input$2 = (context, formData) => {
|
|
99921
|
+
const field = context.field;
|
|
99922
|
+
const relation = field.preps?.dataRelation;
|
|
99923
|
+
operationRelation(relation, "input", formData, field.preps["name"]);
|
|
99924
|
+
};
|
|
99925
|
+
const focus = (context, formData) => {
|
|
99926
|
+
const field = context.field;
|
|
99927
|
+
const relation = field.preps?.dataRelation;
|
|
99928
|
+
operationRelation(relation, "focus", formData, field.preps["name"]);
|
|
99929
|
+
};
|
|
99930
|
+
const blur = (context, formData) => {
|
|
99931
|
+
const field = context.field;
|
|
99932
|
+
const relation = field.preps?.dataRelation;
|
|
99933
|
+
operationRelation(relation, "blur", formData, field.preps["name"]);
|
|
99934
|
+
};
|
|
99935
|
+
const mouseEnter = (context, formData) => {
|
|
99936
|
+
const field = context.field;
|
|
99937
|
+
const relation = field.preps?.dataRelation;
|
|
99938
|
+
operationRelation(relation, "enter", formData, field.preps["name"]);
|
|
99939
|
+
};
|
|
99940
|
+
const operationRelation = async (relation, actionName, formData, currentName) => {
|
|
99941
|
+
if (!relation || actionName != relation.actionName) {
|
|
99942
|
+
return;
|
|
99943
|
+
}
|
|
99944
|
+
const relations = relation?.relationDetails;
|
|
99945
|
+
const currentVal = formData[currentName];
|
|
99946
|
+
if (!relations || relations.length == 0) {
|
|
99947
|
+
return;
|
|
99948
|
+
}
|
|
99949
|
+
for (const index in relations) {
|
|
99950
|
+
const temp = relations[index];
|
|
99951
|
+
const conditon = temp.controlCondition;
|
|
99952
|
+
const fieldName = temp.relationFields;
|
|
99953
|
+
if (!conditon || !fieldName) {
|
|
99954
|
+
continue;
|
|
99955
|
+
}
|
|
99956
|
+
const field = userOperation.getFormItem(fieldName);
|
|
99957
|
+
const params = temp.params;
|
|
99958
|
+
if (conditon == "dataLinkage") {
|
|
99959
|
+
formData[fieldName + "OptionList"] = await compDynamicData(temp);
|
|
99960
|
+
} else if (conditon == "eqDisable" || conditon == "eqDisableOrEditable") {
|
|
99961
|
+
formData["_" + fieldName + "Editable"] = !(currentVal == params);
|
|
99962
|
+
} else if (conditon == "eqEditable" || conditon == "eqEditableOrDisable") {
|
|
99963
|
+
formData["_" + fieldName + "Editable"] = currentVal == params;
|
|
99964
|
+
} else if (conditon == "assignValue") {
|
|
99965
|
+
if (field.itemType == "select" || field.itemType == "tselect" || field.itemType == "autocomplete" || field.itemType == "cascade") {
|
|
99966
|
+
field.preps.values = JSON.parse(params);
|
|
99967
|
+
} else {
|
|
99968
|
+
formData[field.name] = params;
|
|
99969
|
+
}
|
|
99970
|
+
} else if (conditon == "changeType") {
|
|
99971
|
+
field.itemType = params;
|
|
99972
|
+
}
|
|
99973
|
+
}
|
|
99974
|
+
};
|
|
99975
|
+
const allAction = (context, emits, formData, actionName, isInit = false) => {
|
|
99976
|
+
const currentData = isRef(formData) ? formData.value : formData;
|
|
99977
|
+
const field = context.field;
|
|
99978
|
+
if (!isInit && actionName != "normal") {
|
|
99979
|
+
try {
|
|
99980
|
+
emits("selfFunc", actionName, currentData);
|
|
99981
|
+
} catch (e) {
|
|
99982
|
+
error$1("事件触发异常:" + e);
|
|
99983
|
+
}
|
|
99984
|
+
}
|
|
99985
|
+
if (isDesign.value && isInit || actionName == "normal") {
|
|
99986
|
+
return;
|
|
99987
|
+
}
|
|
99988
|
+
const tempName = field.preps?.actionName;
|
|
99989
|
+
switch (actionName) {
|
|
99990
|
+
case "change":
|
|
99991
|
+
change(context, currentData);
|
|
99992
|
+
break;
|
|
99993
|
+
case "input":
|
|
99994
|
+
input$2(context, currentData);
|
|
99995
|
+
break;
|
|
99996
|
+
case "focus":
|
|
99997
|
+
focus(context, currentData);
|
|
99998
|
+
break;
|
|
99999
|
+
case "blur":
|
|
100000
|
+
blur(context, currentData);
|
|
100001
|
+
break;
|
|
100002
|
+
case "enter":
|
|
100003
|
+
case "keydown.enter":
|
|
100004
|
+
mouseEnter(context, currentData);
|
|
100005
|
+
break;
|
|
100006
|
+
default:
|
|
100007
|
+
console.log("不支持的事件:" + actionName);
|
|
100008
|
+
return;
|
|
100009
|
+
}
|
|
100010
|
+
if (actionName == "input" && actionName != tempName) {
|
|
100011
|
+
return;
|
|
100012
|
+
}
|
|
100013
|
+
if (actionName == field.preps["actionName"] && field.preps["actionRelation"]) {
|
|
100014
|
+
field.preps["actionRelation"](currentData[field.preps["name"]], currentData["xh"]);
|
|
100015
|
+
}
|
|
100016
|
+
};
|
|
100017
|
+
const buttonAction = (context, emits, formData, code) => {
|
|
100018
|
+
const currentData = isRef(formData) ? formData.value : formData;
|
|
100019
|
+
if (code) {
|
|
100020
|
+
userFunction(code, context, currentData);
|
|
100021
|
+
} else {
|
|
100022
|
+
const field = context.field;
|
|
100023
|
+
currentData["starHorseBtnName"] = field.preps["name"];
|
|
100024
|
+
if (field.preps["actions"]) {
|
|
100025
|
+
field.preps["actions"](currentData);
|
|
100026
|
+
}
|
|
100027
|
+
emits("selfFunc", currentData);
|
|
100028
|
+
}
|
|
100029
|
+
};
|
|
100030
|
+
const checkIsDisabled = (attrs) => {
|
|
100031
|
+
const { field } = attrs;
|
|
100032
|
+
const fieldName = field.preps?.name;
|
|
100033
|
+
const isExplicitlyDisabled = attrs.disabled === true || attrs.disabled === "Y";
|
|
100034
|
+
const isImplicitlyDisabled = !attrs.formData[`_${fieldName}Editable`] && field.preps?.disabled === "Y";
|
|
100035
|
+
return isExplicitlyDisabled || isImplicitlyDisabled;
|
|
100036
|
+
};
|
|
100037
|
+
|
|
100038
|
+
const _hoisted_1$K = ["data", "onMouseup", "onMouseenter"];
|
|
100039
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
100040
|
+
...{
|
|
100041
|
+
name: "PageEditorContentMenu"
|
|
100042
|
+
},
|
|
100043
|
+
__name: "ContentMenu",
|
|
100044
|
+
props: {
|
|
100045
|
+
menuData: { type: Array, default: () => [] },
|
|
100046
|
+
isSubMenu: { type: Boolean, default: false },
|
|
100047
|
+
autoHide: { type: Boolean, default: true },
|
|
100048
|
+
active: { type: [String, Number], default: "" }
|
|
100049
|
+
},
|
|
100050
|
+
emits: ["hide", "show", "mouseenter"],
|
|
100051
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
100052
|
+
const props = __props;
|
|
100053
|
+
const emit = __emit;
|
|
100054
|
+
const menu = ref();
|
|
100055
|
+
const buttons = ref();
|
|
100056
|
+
const subMenu = ref();
|
|
100057
|
+
const visible = ref(false);
|
|
100058
|
+
const subMenuData = ref([]);
|
|
100059
|
+
const zIndex = useZIndex();
|
|
100060
|
+
const curZIndex = ref(0);
|
|
100061
|
+
const menuPosition = ref({
|
|
100062
|
+
left: 0,
|
|
100063
|
+
top: 0
|
|
100064
|
+
});
|
|
100065
|
+
const menuStyle = computed(() => ({
|
|
100066
|
+
top: `${menuPosition.value.top}px`,
|
|
100067
|
+
left: `${menuPosition.value.left}px`,
|
|
100068
|
+
zIndex: curZIndex.value
|
|
100069
|
+
}));
|
|
100070
|
+
const contains = (el) => menu.value?.contains(el) || subMenu.value?.contains(el);
|
|
100071
|
+
const hide = () => {
|
|
100072
|
+
if (!visible.value) return;
|
|
100073
|
+
visible.value = false;
|
|
100074
|
+
subMenu.value?.hide();
|
|
100075
|
+
emit("hide");
|
|
100076
|
+
};
|
|
100077
|
+
const clickHandler = (item) => {
|
|
100078
|
+
if (!props.autoHide) return;
|
|
100079
|
+
item.handler();
|
|
100080
|
+
hide();
|
|
100081
|
+
};
|
|
100082
|
+
const outsideClickHideHandler = (e) => {
|
|
100083
|
+
if (!props.autoHide) return;
|
|
100084
|
+
const target = e.target;
|
|
100085
|
+
if (!visible.value || !target) {
|
|
100086
|
+
return;
|
|
100087
|
+
}
|
|
100088
|
+
if (contains(target)) {
|
|
100089
|
+
return;
|
|
100090
|
+
}
|
|
100091
|
+
hide();
|
|
100092
|
+
};
|
|
100093
|
+
const setPosition = (e) => {
|
|
100094
|
+
const menuHeight = menu.value?.clientHeight || 0;
|
|
100095
|
+
let top = e.clientY;
|
|
100096
|
+
if (menuHeight + e.clientY > document.body.clientHeight) {
|
|
100097
|
+
top = document.body.clientHeight - menuHeight;
|
|
100098
|
+
}
|
|
100099
|
+
let left = e.clientX;
|
|
100100
|
+
menuPosition.value = {
|
|
100101
|
+
top,
|
|
100102
|
+
left
|
|
100103
|
+
};
|
|
100104
|
+
};
|
|
100105
|
+
const show = (e) => {
|
|
100106
|
+
setTimeout(() => {
|
|
100107
|
+
visible.value = true;
|
|
100108
|
+
nextTick(() => {
|
|
100109
|
+
e && setPosition(e);
|
|
100110
|
+
curZIndex.value = zIndex.nextZIndex();
|
|
100111
|
+
emit("show");
|
|
100112
|
+
});
|
|
100113
|
+
}, 300);
|
|
100114
|
+
};
|
|
100115
|
+
const showSubMenu = (item, index) => {
|
|
100116
|
+
const menuItem = item;
|
|
100117
|
+
if (typeof item !== "object") {
|
|
100118
|
+
return;
|
|
100119
|
+
}
|
|
100120
|
+
subMenuData.value = menuItem.items || [];
|
|
100121
|
+
setTimeout(() => {
|
|
100122
|
+
if (!visible.value) {
|
|
100123
|
+
return;
|
|
100124
|
+
}
|
|
100125
|
+
if (menu.value) {
|
|
100126
|
+
let y = menu.value.offsetTop;
|
|
100127
|
+
if (buttons.value?.[index]?.$el) {
|
|
100128
|
+
const rect = buttons.value?.[index].$el.getBoundingClientRect();
|
|
100129
|
+
y = rect.top;
|
|
100130
|
+
}
|
|
100131
|
+
subMenu.value?.show({
|
|
100132
|
+
clientX: menu.value.offsetLeft + menu.value.clientWidth,
|
|
100133
|
+
clientY: y
|
|
100134
|
+
});
|
|
100135
|
+
}
|
|
100136
|
+
}, 0);
|
|
100137
|
+
};
|
|
100138
|
+
const mouseenterHandler = () => {
|
|
100139
|
+
emit("mouseenter");
|
|
100140
|
+
};
|
|
100141
|
+
onMounted(() => {
|
|
100142
|
+
if (props.isSubMenu) return;
|
|
100143
|
+
globalThis.addEventListener("mousedown", outsideClickHideHandler, true);
|
|
100144
|
+
});
|
|
100145
|
+
onBeforeUnmount(() => {
|
|
100146
|
+
if (props.isSubMenu) return;
|
|
100147
|
+
globalThis.removeEventListener("mousedown", outsideClickHideHandler, true);
|
|
100148
|
+
});
|
|
100149
|
+
__expose({
|
|
100150
|
+
menu,
|
|
100151
|
+
menuPosition,
|
|
100152
|
+
hide,
|
|
100153
|
+
show,
|
|
100154
|
+
contains,
|
|
100155
|
+
setPosition
|
|
100156
|
+
});
|
|
100157
|
+
return (_ctx, _cache) => {
|
|
100158
|
+
const _component_el_divider = ElDivider;
|
|
100159
|
+
const _component_content_menu = resolveComponent("content-menu", true);
|
|
100160
|
+
return openBlock(), createBlock(Transition, { name: "fade" }, {
|
|
100161
|
+
default: withCtx(() => [
|
|
100162
|
+
withDirectives(createElementVNode("div", {
|
|
100163
|
+
class: "content-menu",
|
|
100164
|
+
ref_key: "menu",
|
|
100165
|
+
ref: menu,
|
|
100166
|
+
style: normalizeStyle(menuStyle.value),
|
|
100167
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseenterHandler())
|
|
100168
|
+
}, [
|
|
100169
|
+
renderSlot(_ctx.$slots, "title", {}, void 0, true),
|
|
100170
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.menuData, (item, index) => {
|
|
100171
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
100172
|
+
item.type == "divider" ? (openBlock(), createBlock(_component_el_divider, {
|
|
100173
|
+
key: 0,
|
|
100174
|
+
direction: item.direction
|
|
100175
|
+
}, null, 8, ["direction"])) : createCommentVNode("", true),
|
|
100176
|
+
item.type == "button" && item.display ? (openBlock(), createElementBlock("div", {
|
|
100177
|
+
ref_for: true,
|
|
100178
|
+
ref_key: "buttons",
|
|
100179
|
+
ref: buttons,
|
|
100180
|
+
class: normalizeClass(["menu-item button", { active: __props.active && item.id === __props.active }]),
|
|
100181
|
+
data: item,
|
|
100182
|
+
key: index,
|
|
100183
|
+
onMouseup: ($event) => clickHandler(item),
|
|
100184
|
+
onMouseenter: ($event) => showSubMenu(item, index)
|
|
100185
|
+
}, [
|
|
100186
|
+
createVNode(__unplugin_components_1$5, {
|
|
100187
|
+
"icon-class": item.icon
|
|
100188
|
+
}, null, 8, ["icon-class"]),
|
|
100189
|
+
createTextVNode(" " + toDisplayString(item.text), 1)
|
|
100190
|
+
], 42, _hoisted_1$K)) : createCommentVNode("", true)
|
|
100191
|
+
], 64);
|
|
100192
|
+
}), 256)),
|
|
100193
|
+
(openBlock(), createBlock(Teleport$1, { to: "body" }, [
|
|
100194
|
+
subMenuData.value.length ? (openBlock(), createBlock(_component_content_menu, {
|
|
100195
|
+
key: 0,
|
|
100196
|
+
class: "sub-menu",
|
|
100197
|
+
ref_key: "subMenu",
|
|
100198
|
+
ref: subMenu,
|
|
100199
|
+
active: __props.active,
|
|
100200
|
+
"menu-data": subMenuData.value,
|
|
100201
|
+
"is-sub-menu": true,
|
|
100202
|
+
onHide: hide
|
|
100203
|
+
}, null, 8, ["active", "menu-data"])) : createCommentVNode("", true)
|
|
100204
|
+
]))
|
|
100205
|
+
], 36), [
|
|
100206
|
+
[vShow, visible.value]
|
|
100207
|
+
])
|
|
100208
|
+
]),
|
|
100209
|
+
_: 3
|
|
100210
|
+
});
|
|
100211
|
+
};
|
|
100212
|
+
}
|
|
100213
|
+
});
|
|
100214
|
+
|
|
100215
|
+
/* unplugin-vue-components disabled */
|
|
100216
|
+
|
|
100217
|
+
const __unplugin_components_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-59412667"]]);
|
|
100218
|
+
|
|
100219
|
+
const ContentMenu = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
100220
|
+
__proto__: null,
|
|
100221
|
+
default: __unplugin_components_3$2
|
|
100222
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
100223
|
+
|
|
99981
100224
|
const _hoisted_1$J = { class: "component-list" };
|
|
99982
100225
|
const _hoisted_2$v = { class: "title" };
|
|
99983
100226
|
const _hoisted_3$h = { id: "container" };
|
|
99984
|
-
const _hoisted_4$
|
|
100227
|
+
const _hoisted_4$a = ["onClick"];
|
|
99985
100228
|
const _hoisted_5$7 = { id: "basic" };
|
|
99986
100229
|
const _hoisted_6$4 = ["onClick"];
|
|
99987
100230
|
const _hoisted_7$3 = { id: "self" };
|
|
@@ -100064,7 +100307,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
100064
100307
|
}, null, 8, ["icon-class"]),
|
|
100065
100308
|
createTextVNode(" " + toDisplayString(item.itemName), 1)
|
|
100066
100309
|
])
|
|
100067
|
-
], 8, _hoisted_4$
|
|
100310
|
+
], 8, _hoisted_4$a);
|
|
100068
100311
|
}), 256))
|
|
100069
100312
|
]),
|
|
100070
100313
|
createVNode(_component_el_divider, { "content-position": "left" }, {
|
|
@@ -100226,10 +100469,10 @@ const useDesignPageStore = defineStore(
|
|
|
100226
100469
|
);
|
|
100227
100470
|
|
|
100228
100471
|
const copyerAction = useCopyerOperationStore(piniaInstance);
|
|
100229
|
-
const designForm$
|
|
100472
|
+
const designForm$1 = useDesignFormStore(piniaInstance);
|
|
100230
100473
|
const designPage = useDesignPageStore(piniaInstance);
|
|
100231
|
-
const compList = computed(() => designForm$
|
|
100232
|
-
const currentItemId = computed(() => designForm$
|
|
100474
|
+
const compList = computed(() => designForm$1.compList);
|
|
100475
|
+
const currentItemId = computed(() => designForm$1.currentItemId);
|
|
100233
100476
|
const pasteDisplay = computed(() => {
|
|
100234
100477
|
const action = copyerAction.action;
|
|
100235
100478
|
return !!action;
|
|
@@ -100246,7 +100489,7 @@ const selectItem$2 = (index, currentItems, elements, parentType) => {
|
|
|
100246
100489
|
item = element?.items[element.items?.length - 1];
|
|
100247
100490
|
}
|
|
100248
100491
|
if (item && Object.keys(item).length > 0) {
|
|
100249
|
-
designForm$
|
|
100492
|
+
designForm$1.selectItem(item, item.itemType, parentType);
|
|
100250
100493
|
}
|
|
100251
100494
|
};
|
|
100252
100495
|
function removeItem(isEdit, formItem, parentField) {
|
|
@@ -100290,7 +100533,7 @@ function removeItem(isEdit, formItem, parentField) {
|
|
|
100290
100533
|
const item = dataList[i - 1] || dataList[0];
|
|
100291
100534
|
dataList.splice(i, 1);
|
|
100292
100535
|
if (item && Object.keys(item).length > 0) {
|
|
100293
|
-
designForm$
|
|
100536
|
+
designForm$1.selectItem(item, item.itemType, parentItemType);
|
|
100294
100537
|
}
|
|
100295
100538
|
return;
|
|
100296
100539
|
}
|
|
@@ -100452,7 +100695,7 @@ const copyContainer = (parentComp, currentContainer, isCut = false) => {
|
|
|
100452
100695
|
}
|
|
100453
100696
|
}
|
|
100454
100697
|
parentComp.push(container);
|
|
100455
|
-
designForm$
|
|
100698
|
+
designForm$1.selectItem(container, containerType, "");
|
|
100456
100699
|
};
|
|
100457
100700
|
function cut$2(item, parentItem) {
|
|
100458
100701
|
copyerAction.operation("cut", parentItem, item);
|
|
@@ -100589,7 +100832,7 @@ function dynamicFormContextMenuData(item, parentItem, flag = "scene", recall) {
|
|
|
100589
100832
|
icon: "new",
|
|
100590
100833
|
display: true,
|
|
100591
100834
|
handler: () => {
|
|
100592
|
-
designForm$
|
|
100835
|
+
designForm$1.setComponentVisible(true);
|
|
100593
100836
|
}
|
|
100594
100837
|
});
|
|
100595
100838
|
menus.push({
|
|
@@ -100598,7 +100841,7 @@ function dynamicFormContextMenuData(item, parentItem, flag = "scene", recall) {
|
|
|
100598
100841
|
icon: "select-parent",
|
|
100599
100842
|
display: currentItemId.value != item.id,
|
|
100600
100843
|
handler: () => {
|
|
100601
|
-
designForm$
|
|
100844
|
+
designForm$1.selectItem(item, item?.itemType, "");
|
|
100602
100845
|
}
|
|
100603
100846
|
});
|
|
100604
100847
|
}
|
|
@@ -101020,221 +101263,12 @@ const starhorseFormItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
|
|
|
101020
101263
|
default: __unplugin_components_0$3
|
|
101021
101264
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
101022
101265
|
|
|
101023
|
-
const
|
|
101024
|
-
const
|
|
101025
|
-
|
|
101026
|
-
|
|
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
|
-
|
|
101266
|
+
const _hoisted_1$H = { class: "icon-items" };
|
|
101267
|
+
const _hoisted_2$t = { class: "search-box" };
|
|
101268
|
+
const _hoisted_3$f = { class: "system-icon" };
|
|
101269
|
+
const _hoisted_4$9 = ["onClick", "title"];
|
|
101233
101270
|
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
101234
|
-
|
|
101235
|
-
name: "InputItem"
|
|
101236
|
-
},
|
|
101237
|
-
__name: "input-item",
|
|
101271
|
+
__name: "icon-item",
|
|
101238
101272
|
props: /* @__PURE__ */ mergeModels({
|
|
101239
101273
|
isDesign: {
|
|
101240
101274
|
type: Boolean,
|
|
@@ -101273,28 +101307,58 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
101273
101307
|
const props = __props;
|
|
101274
101308
|
const emits = __emit;
|
|
101275
101309
|
const formData = useModel(__props, "formData");
|
|
101276
|
-
|
|
101310
|
+
let searchName = ref("");
|
|
101311
|
+
let iconList = ref([]);
|
|
101312
|
+
let allIconList = ref([]);
|
|
101313
|
+
let iconType = ref("system");
|
|
101314
|
+
const popoverRef = shallowRef();
|
|
101277
101315
|
let actionName = shallowRef("normal");
|
|
101278
|
-
const
|
|
101279
|
-
|
|
101316
|
+
const assignIcon = (iconName) => {
|
|
101317
|
+
formData.value[props.field.preps["name"]] = iconName;
|
|
101318
|
+
unref(popoverRef).popperRef?.delayHide?.();
|
|
101319
|
+
itemAction("blur");
|
|
101320
|
+
};
|
|
101321
|
+
const dataSearch = () => {
|
|
101322
|
+
if (!searchName.value) {
|
|
101323
|
+
iconList.value = allIconList.value;
|
|
101324
|
+
} else {
|
|
101325
|
+
iconList.value = allIconList.value.filter((item) => {
|
|
101326
|
+
return item.name.toLowerCase().indexOf(searchName.value.toLowerCase()) > -1;
|
|
101327
|
+
});
|
|
101328
|
+
}
|
|
101280
101329
|
};
|
|
101281
101330
|
const itemAction = (prep) => {
|
|
101282
|
-
|
|
101331
|
+
if (prep == actionName.value && props.field.preps["actionRelation"]) {
|
|
101332
|
+
props.field.preps["actionRelation"](
|
|
101333
|
+
formData.value[props.field.preps["name"]],
|
|
101334
|
+
formData.value["xh"]
|
|
101335
|
+
);
|
|
101336
|
+
}
|
|
101337
|
+
emits("selfFunc", prep, formData.value);
|
|
101283
101338
|
};
|
|
101284
101339
|
onMounted(() => {
|
|
101285
101340
|
actionName.value = props.field.preps?.actionName || "normal";
|
|
101341
|
+
if (props.field.preps["values"]?.length > 0) {
|
|
101342
|
+
allIconList.value = props.field.preps["values"];
|
|
101343
|
+
iconType.value = "user";
|
|
101344
|
+
} else if (props.field.preps["iconType"] == "user") {
|
|
101345
|
+
allIconList.value = loadSvgIcons();
|
|
101346
|
+
iconType.value = props.field.preps["iconType"];
|
|
101347
|
+
} else {
|
|
101348
|
+
allIconList.value = loadElementPlusIcon();
|
|
101349
|
+
iconType.value = "system";
|
|
101350
|
+
}
|
|
101351
|
+
iconList.value = allIconList.value;
|
|
101286
101352
|
if (!props.isSearch) {
|
|
101287
101353
|
allAction(props, emits, formData, actionName.value, true);
|
|
101288
101354
|
}
|
|
101289
|
-
initEvent();
|
|
101290
101355
|
});
|
|
101291
101356
|
return (_ctx, _cache) => {
|
|
101292
|
-
const
|
|
101293
|
-
const _component_el_select = ElSelect;
|
|
101294
|
-
const _component_star_horse_icon = __unplugin_components_1$5;
|
|
101357
|
+
const _component_el_avatar = ElAvatar;
|
|
101295
101358
|
const _component_el_input = ElInput;
|
|
101296
|
-
const
|
|
101297
|
-
|
|
101359
|
+
const _component_el_icon = ElIcon;
|
|
101360
|
+
const _component_el_popover = ElPopover;
|
|
101361
|
+
return openBlock(), createBlock(__unplugin_components_0$3, {
|
|
101298
101362
|
isDesign: __props.isDesign,
|
|
101299
101363
|
disabled: __props.disabled,
|
|
101300
101364
|
bareFlag: __props.bareFlag,
|
|
@@ -101302,99 +101366,82 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
101302
101366
|
parentField: __props.parentField
|
|
101303
101367
|
}, {
|
|
101304
101368
|
default: withCtx(() => [
|
|
101305
|
-
createVNode(
|
|
101306
|
-
|
|
101307
|
-
|
|
101308
|
-
|
|
101309
|
-
|
|
101310
|
-
|
|
101311
|
-
|
|
101312
|
-
|
|
101313
|
-
|
|
101314
|
-
|
|
101315
|
-
|
|
101316
|
-
|
|
101317
|
-
|
|
101318
|
-
|
|
101319
|
-
|
|
101320
|
-
|
|
101321
|
-
|
|
101322
|
-
|
|
101323
|
-
|
|
101324
|
-
|
|
101325
|
-
|
|
101326
|
-
|
|
101327
|
-
|
|
101328
|
-
|
|
101329
|
-
|
|
101330
|
-
|
|
101331
|
-
|
|
101332
|
-
|
|
101333
|
-
|
|
101334
|
-
|
|
101335
|
-
|
|
101336
|
-
|
|
101337
|
-
|
|
101338
|
-
|
|
101339
|
-
|
|
101340
|
-
|
|
101341
|
-
|
|
101342
|
-
|
|
101343
|
-
|
|
101344
|
-
|
|
101345
|
-
|
|
101346
|
-
|
|
101347
|
-
|
|
101348
|
-
|
|
101349
|
-
|
|
101350
|
-
|
|
101351
|
-
|
|
101352
|
-
|
|
101353
|
-
|
|
101354
|
-
|
|
101355
|
-
|
|
101356
|
-
|
|
101357
|
-
|
|
101358
|
-
|
|
101359
|
-
|
|
101360
|
-
|
|
101361
|
-
|
|
101362
|
-
|
|
101363
|
-
|
|
101364
|
-
|
|
101365
|
-
|
|
101366
|
-
|
|
101367
|
-
|
|
101368
|
-
|
|
101369
|
-
|
|
101370
|
-
|
|
101371
|
-
|
|
101372
|
-
|
|
101373
|
-
|
|
101374
|
-
|
|
101375
|
-
|
|
101376
|
-
|
|
101377
|
-
|
|
101378
|
-
|
|
101379
|
-
|
|
101380
|
-
|
|
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"])
|
|
101369
|
+
createVNode(_component_el_popover, {
|
|
101370
|
+
"popper-style": { width: "inherit !important" },
|
|
101371
|
+
ref_key: "popoverRef",
|
|
101372
|
+
ref: popoverRef,
|
|
101373
|
+
placement: __props.field.preps["placement"] ?? "bottom-start",
|
|
101374
|
+
disabled: unref(checkIsDisabled)(props) || __props.field.preps["listView"] == "Y",
|
|
101375
|
+
trigger: "click"
|
|
101376
|
+
}, {
|
|
101377
|
+
reference: withCtx(() => [
|
|
101378
|
+
unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_avatar, {
|
|
101379
|
+
key: 0,
|
|
101380
|
+
fit: "fill",
|
|
101381
|
+
shape: "square",
|
|
101382
|
+
style: normalizeStyle({
|
|
101383
|
+
"font-size": __props.field.preps["listView"] == "Y" ? "22px" : "24px",
|
|
101384
|
+
background: __props.field.preps["listView"] == "Y" ? "unset" : "var(--el-avatar-bg-color)"
|
|
101385
|
+
}),
|
|
101386
|
+
icon: formData.value[__props.field.preps["name"]]
|
|
101387
|
+
}, null, 8, ["style", "icon"])) : (openBlock(), createBlock(__unplugin_components_1$5, {
|
|
101388
|
+
key: 1,
|
|
101389
|
+
"icon-class": formData.value[__props.field.preps["name"]],
|
|
101390
|
+
size: "40px",
|
|
101391
|
+
style: { "font-size": "50px", "color": "var(--star-horse-style)", "border-radius": "3px", "border": "1px solid var(--star-horse-light-gray)" },
|
|
101392
|
+
cursor: "pointer"
|
|
101393
|
+
}, null, 8, ["icon-class"]))
|
|
101394
|
+
]),
|
|
101395
|
+
default: withCtx(() => [
|
|
101396
|
+
createElementVNode("div", _hoisted_1$H, [
|
|
101397
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
101398
|
+
createVNode(_component_el_input, {
|
|
101399
|
+
size: __props.formInfo?.size || __props.field?.preps["size"] || "default",
|
|
101400
|
+
modelValue: unref(searchName),
|
|
101401
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchName) ? searchName.value = $event : searchName = $event),
|
|
101402
|
+
onKeydown: withKeys(dataSearch, ["enter"]),
|
|
101403
|
+
clearable: "",
|
|
101404
|
+
placeholder: "请输入要搜索的图标"
|
|
101405
|
+
}, {
|
|
101406
|
+
prefix: withCtx(() => [
|
|
101407
|
+
createVNode(__unplugin_components_1$5, {
|
|
101408
|
+
"icon-class": "search",
|
|
101409
|
+
onClick: dataSearch
|
|
101410
|
+
})
|
|
101411
|
+
]),
|
|
101412
|
+
_: 1
|
|
101413
|
+
}, 8, ["size", "modelValue"])
|
|
101414
|
+
]),
|
|
101415
|
+
createElementVNode("ul", _hoisted_3$f, [
|
|
101416
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(iconList), (sdata) => {
|
|
101417
|
+
return openBlock(), createElementBlock("li", {
|
|
101418
|
+
onClick: ($event) => assignIcon(sdata.value),
|
|
101419
|
+
title: sdata.name,
|
|
101420
|
+
class: normalizeClass({ "icon-active": sdata.value == formData.value[__props.field.preps["name"]] })
|
|
101421
|
+
}, [
|
|
101422
|
+
unref(iconType) == "system" ? (openBlock(), createBlock(_component_el_icon, {
|
|
101423
|
+
key: 0,
|
|
101424
|
+
class: "star-icon",
|
|
101425
|
+
style: { "font-size": "50px", "color": "var(--star-horse-style)" }
|
|
101426
|
+
}, {
|
|
101427
|
+
default: withCtx(() => [
|
|
101428
|
+
(openBlock(), createBlock(resolveDynamicComponent(sdata.value)))
|
|
101429
|
+
]),
|
|
101430
|
+
_: 2
|
|
101431
|
+
}, 1024)) : (openBlock(), createBlock(__unplugin_components_1$5, {
|
|
101432
|
+
key: 1,
|
|
101433
|
+
"icon-class": sdata.value,
|
|
101434
|
+
size: "30px",
|
|
101435
|
+
style: { "font-size": "50px", "color": "var(--star-horse-style)" },
|
|
101436
|
+
cursor: "pointer"
|
|
101437
|
+
}, null, 8, ["icon-class"]))
|
|
101438
|
+
], 10, _hoisted_4$9);
|
|
101439
|
+
}), 256))
|
|
101440
|
+
])
|
|
101441
|
+
])
|
|
101442
|
+
]),
|
|
101443
|
+
_: 1
|
|
101444
|
+
}, 8, ["placement", "disabled"])
|
|
101398
101445
|
]),
|
|
101399
101446
|
_: 1
|
|
101400
101447
|
}, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -101404,9 +101451,9 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
101404
101451
|
|
|
101405
101452
|
/* unplugin-vue-components disabled */
|
|
101406
101453
|
|
|
101407
|
-
const __unplugin_components_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-
|
|
101454
|
+
const __unplugin_components_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-8c5e34f4"]]);
|
|
101408
101455
|
|
|
101409
|
-
const
|
|
101456
|
+
const iconItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
101410
101457
|
__proto__: null,
|
|
101411
101458
|
default: __unplugin_components_1$3
|
|
101412
101459
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -102862,7 +102909,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
102862
102909
|
});
|
|
102863
102910
|
return (_ctx, _cache) => {
|
|
102864
102911
|
const _component_el_input = ElInput;
|
|
102865
|
-
const
|
|
102912
|
+
const _component_icon_item = __unplugin_components_1$3;
|
|
102866
102913
|
const _component_star_horse_form = StarHorseForm;
|
|
102867
102914
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
102868
102915
|
createTextVNode(toDisplayString(dataForm.value) + " ", 1),
|
|
@@ -102870,7 +102917,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
102870
102917
|
modelValue: dataForm.value.txt1,
|
|
102871
102918
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dataForm.value.txt1 = $event)
|
|
102872
102919
|
}, null, 8, ["modelValue"]),
|
|
102873
|
-
createVNode(
|
|
102920
|
+
createVNode(_component_icon_item, {
|
|
102874
102921
|
formData: dataForm.value,
|
|
102875
102922
|
field: {
|
|
102876
102923
|
preps: {
|
|
@@ -103443,7 +103490,7 @@ const ShDynamicForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePrope
|
|
|
103443
103490
|
default: _sfc_main$1q
|
|
103444
103491
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
103445
103492
|
|
|
103446
|
-
const _hoisted_1$
|
|
103493
|
+
const _hoisted_1$G = {
|
|
103447
103494
|
class: "flex-center",
|
|
103448
103495
|
style: { "gap": "4px", "grid-gap": "4px" }
|
|
103449
103496
|
};
|
|
@@ -103478,7 +103525,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
103478
103525
|
onClose
|
|
103479
103526
|
}, {
|
|
103480
103527
|
default: withCtx(() => [
|
|
103481
|
-
createElementVNode("div", _hoisted_1$
|
|
103528
|
+
createElementVNode("div", _hoisted_1$G, [
|
|
103482
103529
|
createElementVNode("span", null, toDisplayString(_ctx.data[_ctx.displayName]), 1)
|
|
103483
103530
|
])
|
|
103484
103531
|
]),
|
|
@@ -103492,8 +103539,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
103492
103539
|
|
|
103493
103540
|
const DataTag = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-fceab815"]]);
|
|
103494
103541
|
|
|
103495
|
-
const _hoisted_1$
|
|
103496
|
-
const _hoisted_2$
|
|
103542
|
+
const _hoisted_1$F = { class: "data-line" };
|
|
103543
|
+
const _hoisted_2$s = { class: "flex-center" };
|
|
103497
103544
|
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
103498
103545
|
__name: "DataPicker",
|
|
103499
103546
|
props: {
|
|
@@ -103696,8 +103743,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
103696
103743
|
onNodeClick
|
|
103697
103744
|
}, {
|
|
103698
103745
|
default: withCtx(({ data }) => [
|
|
103699
|
-
createElementVNode("div", _hoisted_1$
|
|
103700
|
-
createElementVNode("div", _hoisted_2$
|
|
103746
|
+
createElementVNode("div", _hoisted_1$F, [
|
|
103747
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
103701
103748
|
createVNode(_component_el_icon, { size: 16 }, {
|
|
103702
103749
|
default: withCtx(() => [
|
|
103703
103750
|
createVNode(_component_School)
|
|
@@ -103747,7 +103794,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
103747
103794
|
|
|
103748
103795
|
const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-ebcc29a5"]]);
|
|
103749
103796
|
|
|
103750
|
-
const _hoisted_1$
|
|
103797
|
+
const _hoisted_1$E = { class: "data-wrapper" };
|
|
103751
103798
|
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
103752
103799
|
__name: "StarHorseDataSelector",
|
|
103753
103800
|
props: {
|
|
@@ -103821,7 +103868,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
103821
103868
|
modelValue: selectData.value,
|
|
103822
103869
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectData.value = $event)
|
|
103823
103870
|
}, null, 8, ["title", "datas", "data-url", "page-size", "display-name", "display-value", "checkStrictly", "multiple", "modelValue"]),
|
|
103824
|
-
createElementVNode("div", _hoisted_1$
|
|
103871
|
+
createElementVNode("div", _hoisted_1$E, [
|
|
103825
103872
|
createVNode(__unplugin_components_1$5, {
|
|
103826
103873
|
onClick: openDataPicker,
|
|
103827
103874
|
cursor: "pointer",
|
|
@@ -103906,8 +103953,8 @@ const StarHorseTableViewColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.
|
|
|
103906
103953
|
default: _sfc_main$1m
|
|
103907
103954
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
103908
103955
|
|
|
103909
|
-
const _hoisted_1$
|
|
103910
|
-
const _hoisted_2$
|
|
103956
|
+
const _hoisted_1$D = { style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" } };
|
|
103957
|
+
const _hoisted_2$r = { class: "tb_title" };
|
|
103911
103958
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
103912
103959
|
__name: "StarHorseDataViewTable",
|
|
103913
103960
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -103928,8 +103975,8 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
103928
103975
|
const _component_star_horse_table_view_column = _sfc_main$1m;
|
|
103929
103976
|
const _component_el_table = ElTable;
|
|
103930
103977
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
103931
|
-
createElementVNode("div", _hoisted_1$
|
|
103932
|
-
createElementVNode("div", _hoisted_2$
|
|
103978
|
+
createElementVNode("div", _hoisted_1$D, [
|
|
103979
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
103933
103980
|
createVNode(_component_star_horse_icon, {
|
|
103934
103981
|
"icon-class": "info",
|
|
103935
103982
|
size: "14px"
|
|
@@ -104093,12 +104140,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
104093
104140
|
|
|
104094
104141
|
const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-b2f2eaed"]]);
|
|
104095
104142
|
|
|
104096
|
-
const _hoisted_1$
|
|
104143
|
+
const _hoisted_1$C = {
|
|
104097
104144
|
key: 1,
|
|
104098
104145
|
class: "item"
|
|
104099
104146
|
};
|
|
104100
|
-
const _hoisted_2$
|
|
104101
|
-
const _hoisted_3$
|
|
104147
|
+
const _hoisted_2$q = { class: "content" };
|
|
104148
|
+
const _hoisted_3$e = { key: 0 };
|
|
104102
104149
|
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
104103
104150
|
__name: "viewOtherItem",
|
|
104104
104151
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -104141,10 +104188,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
104141
104188
|
isView: true
|
|
104142
104189
|
}, null, 8, ["dataForm", "item"])) : createCommentVNode("", true)
|
|
104143
104190
|
], 64)) : createCommentVNode("", true),
|
|
104144
|
-
__props.item.formVisible || __props.item.listVisible || __props.item.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
104191
|
+
__props.item.formVisible || __props.item.listVisible || __props.item.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
104145
104192
|
createElementVNode("label", null, toDisplayString(__props.item.label) + " :", 1),
|
|
104146
|
-
createElementVNode("div", _hoisted_2$
|
|
104147
|
-
__props.item.type == "textarea" || __props.item.type == "markdown" ? (openBlock(), createElementBlock("pre", _hoisted_3$
|
|
104193
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
104194
|
+
__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
104195
|
key: 1,
|
|
104149
104196
|
content: dataFormat(__props.item)
|
|
104150
104197
|
}, {
|
|
@@ -104160,13 +104207,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
104160
104207
|
}
|
|
104161
104208
|
});
|
|
104162
104209
|
|
|
104163
|
-
const _hoisted_1$
|
|
104210
|
+
const _hoisted_1$B = {
|
|
104164
104211
|
key: 0,
|
|
104165
104212
|
ref: "containerTableRef",
|
|
104166
104213
|
class: /* @__PURE__ */ normalizeClass({ "dynamic-table": true, "instance-table": true })
|
|
104167
104214
|
};
|
|
104168
|
-
const _hoisted_2$
|
|
104169
|
-
const _hoisted_3$
|
|
104215
|
+
const _hoisted_2$p = { class: "dy-tr" };
|
|
104216
|
+
const _hoisted_3$d = ["colspan", "rowspan"];
|
|
104170
104217
|
const _hoisted_4$8 = {
|
|
104171
104218
|
key: 0,
|
|
104172
104219
|
class: "item"
|
|
@@ -104198,10 +104245,10 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
104198
104245
|
});
|
|
104199
104246
|
return (_ctx, _cache) => {
|
|
104200
104247
|
const _component_el_tooltip = ElTooltip;
|
|
104201
|
-
return __props.item.dytableList && __props.item.dytableList.length > 0 ? (openBlock(), createElementBlock("table", _hoisted_1$
|
|
104248
|
+
return __props.item.dytableList && __props.item.dytableList.length > 0 ? (openBlock(), createElementBlock("table", _hoisted_1$B, [
|
|
104202
104249
|
createElementVNode("tbody", null, [
|
|
104203
104250
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.dytableList, (row, rowIndex) => {
|
|
104204
|
-
return openBlock(), createElementBlock("tr", _hoisted_2$
|
|
104251
|
+
return openBlock(), createElementBlock("tr", _hoisted_2$p, [
|
|
104205
104252
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row, (sitem, colIndex) => {
|
|
104206
104253
|
return openBlock(), createElementBlock("td", {
|
|
104207
104254
|
colspan: sitem.preps?.colspan || 1,
|
|
@@ -104225,7 +104272,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
104225
104272
|
}, 1032, ["content"])
|
|
104226
104273
|
])
|
|
104227
104274
|
])) : createCommentVNode("", true)
|
|
104228
|
-
], 12, _hoisted_3$
|
|
104275
|
+
], 12, _hoisted_3$d);
|
|
104229
104276
|
}), 256))
|
|
104230
104277
|
]);
|
|
104231
104278
|
}), 256))
|
|
@@ -104309,7 +104356,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
104309
104356
|
|
|
104310
104357
|
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-d52dfb10"]]);
|
|
104311
104358
|
|
|
104312
|
-
const _hoisted_1$
|
|
104359
|
+
const _hoisted_1$A = { class: "card-header" };
|
|
104313
104360
|
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
104314
104361
|
__name: "viewCardItem",
|
|
104315
104362
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -104334,7 +104381,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
104334
104381
|
shadow: "hover"
|
|
104335
104382
|
}, {
|
|
104336
104383
|
header: withCtx(() => [
|
|
104337
|
-
createElementVNode("div", _hoisted_1$
|
|
104384
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
104338
104385
|
createElementVNode("span", null, toDisplayString(cardItem.title || cardItem.tabName), 1)
|
|
104339
104386
|
])
|
|
104340
104387
|
]),
|
|
@@ -104468,12 +104515,12 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
104468
104515
|
|
|
104469
104516
|
const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-5d53edcc"]]);
|
|
104470
104517
|
|
|
104471
|
-
const _hoisted_1$
|
|
104518
|
+
const _hoisted_1$z = {
|
|
104472
104519
|
key: 0,
|
|
104473
104520
|
class: "item"
|
|
104474
104521
|
};
|
|
104475
|
-
const _hoisted_2$
|
|
104476
|
-
const _hoisted_3$
|
|
104522
|
+
const _hoisted_2$o = { class: "content" };
|
|
104523
|
+
const _hoisted_3$c = { key: 0 };
|
|
104477
104524
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
104478
104525
|
__name: "viewBoxItem",
|
|
104479
104526
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -104516,10 +104563,10 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
104516
104563
|
span: sitem.colspan || sitem.preps?.colspan || 24 / __props.item.length
|
|
104517
104564
|
}, {
|
|
104518
104565
|
default: withCtx(() => [
|
|
104519
|
-
sitem.formVisible || sitem.listVisible || sitem.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
104566
|
+
sitem.formVisible || sitem.listVisible || sitem.viewVisible ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
104520
104567
|
createElementVNode("label", null, toDisplayString(sitem.label) + " :", 1),
|
|
104521
|
-
createElementVNode("div", _hoisted_2$
|
|
104522
|
-
sitem.type == "textarea" || sitem.type == "markdown" ? (openBlock(), createElementBlock("pre", _hoisted_3$
|
|
104568
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
104569
|
+
sitem.type == "textarea" || sitem.type == "markdown" ? (openBlock(), createElementBlock("pre", _hoisted_3$c, toDisplayString(dataFormat(sitem)), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
|
|
104523
104570
|
key: 1,
|
|
104524
104571
|
content: dataFormat(sitem)
|
|
104525
104572
|
}, {
|
|
@@ -104638,7 +104685,7 @@ const StarHorseDataViewItems = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
|
|
|
104638
104685
|
default: __unplugin_components_0$2
|
|
104639
104686
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
104640
104687
|
|
|
104641
|
-
const _hoisted_1$
|
|
104688
|
+
const _hoisted_1$y = { class: "star-horse-data-view" };
|
|
104642
104689
|
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
104643
104690
|
__name: "StarHorseDataView",
|
|
104644
104691
|
props: {
|
|
@@ -104730,7 +104777,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
104730
104777
|
});
|
|
104731
104778
|
return (_ctx, _cache) => {
|
|
104732
104779
|
const _component_star_horse_data_view_items = __unplugin_components_0$2;
|
|
104733
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
104780
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
104734
104781
|
createVNode(_component_star_horse_data_view_items, {
|
|
104735
104782
|
commonFormat: __props.dataFormat,
|
|
104736
104783
|
"field-list": __props.fieldList,
|
|
@@ -104751,13 +104798,13 @@ const StarHorseDataView = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
|
|
|
104751
104798
|
default: __unplugin_components_0$1
|
|
104752
104799
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
104753
104800
|
|
|
104754
|
-
const _hoisted_1$
|
|
104755
|
-
const _hoisted_2$
|
|
104801
|
+
const _hoisted_1$x = { class: "node__wrapper" };
|
|
104802
|
+
const _hoisted_2$n = {
|
|
104756
104803
|
key: 0,
|
|
104757
104804
|
class: "node-line node-line-left",
|
|
104758
104805
|
style: { "border-width": "1px", "border-color": "red" }
|
|
104759
104806
|
};
|
|
104760
|
-
const _hoisted_3$
|
|
104807
|
+
const _hoisted_3$b = {
|
|
104761
104808
|
key: 1,
|
|
104762
104809
|
class: "node-line node-line-top",
|
|
104763
104810
|
style: { "{'border-width'": "'3px', 'border-color': 'red'}" }
|
|
@@ -104957,9 +105004,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
104957
105004
|
onMouseup: endAction,
|
|
104958
105005
|
onMousemove: dragAction
|
|
104959
105006
|
}, [
|
|
104960
|
-
createElementVNode("div", _hoisted_1$
|
|
104961
|
-
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
104962
|
-
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
105007
|
+
createElementVNode("div", _hoisted_1$x, [
|
|
105008
|
+
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$n)) : createCommentVNode("", true),
|
|
105009
|
+
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_3$b)) : createCommentVNode("", true),
|
|
104963
105010
|
__props.isActive ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(pointList.value, (item) => {
|
|
104964
105011
|
return openBlock(), createElementBlock("div", {
|
|
104965
105012
|
class: normalizeClass(["node-point", "node-point-" + item]),
|
|
@@ -150262,8 +150309,8 @@ let icon$2 = [
|
|
|
150262
150309
|
{ label: '放大', menuIcon: 'zoom-in' }
|
|
150263
150310
|
];
|
|
150264
150311
|
|
|
150265
|
-
const _hoisted_1$
|
|
150266
|
-
const _hoisted_2$
|
|
150312
|
+
const _hoisted_1$w = { class: "system-icon" };
|
|
150313
|
+
const _hoisted_2$m = ["onClick"];
|
|
150267
150314
|
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
150268
150315
|
__name: "StarHorsePopover",
|
|
150269
150316
|
props: {
|
|
@@ -150289,7 +150336,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
150289
150336
|
renderSlot(_ctx.$slots, "default")
|
|
150290
150337
|
]),
|
|
150291
150338
|
default: withCtx(() => [
|
|
150292
|
-
createElementVNode("ul", _hoisted_1$
|
|
150339
|
+
createElementVNode("ul", _hoisted_1$w, [
|
|
150293
150340
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(iconList), (sdata) => {
|
|
150294
150341
|
return openBlock(), createElementBlock("li", {
|
|
150295
150342
|
onClick: ($event) => menuIconSelect(sdata.menuIcon),
|
|
@@ -150306,7 +150353,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
150306
150353
|
]),
|
|
150307
150354
|
_: 2
|
|
150308
150355
|
}, 1032, ["content"])
|
|
150309
|
-
], 10, _hoisted_2$
|
|
150356
|
+
], 10, _hoisted_2$m);
|
|
150310
150357
|
}), 256))
|
|
150311
150358
|
])
|
|
150312
150359
|
]),
|
|
@@ -150430,8 +150477,8 @@ function analysisFields(compList) {
|
|
|
150430
150477
|
return { fieldList, tabNames, objectNames, batchNames };
|
|
150431
150478
|
}
|
|
150432
150479
|
|
|
150433
|
-
const _hoisted_1$
|
|
150434
|
-
const _hoisted_2$
|
|
150480
|
+
const _hoisted_1$v = { class: "search_content" };
|
|
150481
|
+
const _hoisted_2$l = { class: "search_btn" };
|
|
150435
150482
|
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
150436
150483
|
__name: "StarHorseSearchComp",
|
|
150437
150484
|
props: {
|
|
@@ -150522,7 +150569,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
150522
150569
|
const _component_el_button = ElButton;
|
|
150523
150570
|
const _component_el_tooltip = ElTooltip;
|
|
150524
150571
|
const _component_el_form = ElForm;
|
|
150525
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
150572
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
150526
150573
|
__props.formData && __props.formData.fieldList ? (openBlock(), createBlock(_component_el_form, {
|
|
150527
150574
|
key: 0,
|
|
150528
150575
|
class: "search_area",
|
|
@@ -150617,7 +150664,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
150617
150664
|
}), 256)),
|
|
150618
150665
|
createVNode(_component_el_form_item, { style: { "vertical-align": "middle", "align-items": "center" } }, {
|
|
150619
150666
|
default: withCtx(() => [
|
|
150620
|
-
createElementVNode("div", _hoisted_2$
|
|
150667
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
150621
150668
|
createVNode(_component_el_button, {
|
|
150622
150669
|
onClick: dataSearch,
|
|
150623
150670
|
style: { "background": "var(--star-horse-style)", "color": "var(--star-horse-white)" },
|
|
@@ -150691,7 +150738,7 @@ const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
|
|
|
150691
150738
|
default: __unplugin_components_0
|
|
150692
150739
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
150693
150740
|
|
|
150694
|
-
const _hoisted_1$
|
|
150741
|
+
const _hoisted_1$u = ["onClick"];
|
|
150695
150742
|
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
150696
150743
|
__name: "StarHorseTableColumn",
|
|
150697
150744
|
props: {
|
|
@@ -150885,7 +150932,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
150885
150932
|
}, null, 8, ["dataForm", "item", "column", "batchName", "compSize"])) : (openBlock(), createElementBlock("p", {
|
|
150886
150933
|
key: 1,
|
|
150887
150934
|
onClick: ($event) => cellClick(scope.row, scope.column)
|
|
150888
|
-
}, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$
|
|
150935
|
+
}, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$u))
|
|
150889
150936
|
], 64))
|
|
150890
150937
|
]),
|
|
150891
150938
|
_: 1
|
|
@@ -150903,12 +150950,12 @@ const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
150903
150950
|
default: __unplugin_components_2$1
|
|
150904
150951
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
150905
150952
|
|
|
150906
|
-
const _hoisted_1$
|
|
150907
|
-
const _hoisted_2$
|
|
150953
|
+
const _hoisted_1$t = { class: "table-comp" };
|
|
150954
|
+
const _hoisted_2$k = {
|
|
150908
150955
|
key: 0,
|
|
150909
150956
|
style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
|
|
150910
150957
|
};
|
|
150911
|
-
const _hoisted_3$
|
|
150958
|
+
const _hoisted_3$a = { class: "tb_title" };
|
|
150912
150959
|
const _hoisted_4$6 = { style: { "display": "flex", "align-items": "center", "flex-direction": "row-reverse" } };
|
|
150913
150960
|
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
150914
150961
|
__name: "StarHorseStaticTable",
|
|
@@ -151088,9 +151135,9 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
151088
151135
|
const _component_el_table = ElTable;
|
|
151089
151136
|
const _component_el_popover = ElPopover;
|
|
151090
151137
|
const _component_star_horse_table_column = __unplugin_components_2$1;
|
|
151091
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
151092
|
-
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
151093
|
-
createElementVNode("div", _hoisted_3$
|
|
151138
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
151139
|
+
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$k, [
|
|
151140
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
151094
151141
|
createVNode(_component_star_horse_icon, {
|
|
151095
151142
|
"icon-class": "info",
|
|
151096
151143
|
size: "14px",
|
|
@@ -151346,12 +151393,12 @@ const useButtonPermissionStore = defineStore("buttonPermission", () => {
|
|
|
151346
151393
|
};
|
|
151347
151394
|
});
|
|
151348
151395
|
|
|
151349
|
-
const _hoisted_1$
|
|
151396
|
+
const _hoisted_1$s = {
|
|
151350
151397
|
key: 0,
|
|
151351
151398
|
class: "inner_button"
|
|
151352
151399
|
};
|
|
151353
|
-
const _hoisted_2$
|
|
151354
|
-
const _hoisted_3$
|
|
151400
|
+
const _hoisted_2$j = { key: 0 };
|
|
151401
|
+
const _hoisted_3$9 = { class: "flex items-center w-[100%]" };
|
|
151355
151402
|
const _hoisted_4$5 = ["onClick"];
|
|
151356
151403
|
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
151357
151404
|
__name: "StarHorseButtonList",
|
|
@@ -151526,7 +151573,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
151526
151573
|
const _component_el_sub_menu = ElSubMenu;
|
|
151527
151574
|
const _component_el_menu = ElMenu;
|
|
151528
151575
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
151529
|
-
unref(showType) == "line" && Object.keys(unref(permissions) || {}).length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_1$
|
|
151576
|
+
unref(showType) == "line" && Object.keys(unref(permissions) || {}).length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_1$s, [
|
|
151530
151577
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(buttonList), (item) => {
|
|
151531
151578
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
151532
151579
|
item.children && item.children.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -151584,7 +151631,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
151584
151631
|
_: 2
|
|
151585
151632
|
}, 1032, ["size"])) : createCommentVNode("", true)
|
|
151586
151633
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
151587
|
-
unref(permissions)[item.authority] ? (openBlock(), createElementBlock("li", _hoisted_2$
|
|
151634
|
+
unref(permissions)[item.authority] ? (openBlock(), createElementBlock("li", _hoisted_2$j, [
|
|
151588
151635
|
item.authority == "upload" ? (openBlock(), createBlock(_component_el_upload, {
|
|
151589
151636
|
key: 0,
|
|
151590
151637
|
"auto-upload": true,
|
|
@@ -151727,7 +151774,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
151727
151774
|
name: "file"
|
|
151728
151775
|
}, {
|
|
151729
151776
|
default: withCtx(() => [
|
|
151730
|
-
createElementVNode("div", _hoisted_3$
|
|
151777
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
151731
151778
|
createVNode(_component_star_horse_icon, {
|
|
151732
151779
|
"icon-class": "excel-upload",
|
|
151733
151780
|
size: "14px"
|
|
@@ -152030,7 +152077,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
152030
152077
|
}
|
|
152031
152078
|
});
|
|
152032
152079
|
|
|
152033
|
-
const _hoisted_1$
|
|
152080
|
+
const _hoisted_1$r = { class: "el-dropdown-link" };
|
|
152034
152081
|
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
152035
152082
|
__name: "tablebtn",
|
|
152036
152083
|
props: {
|
|
@@ -152146,7 +152193,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
152146
152193
|
})
|
|
152147
152194
|
]),
|
|
152148
152195
|
default: withCtx(() => [
|
|
152149
|
-
createElementVNode("span", _hoisted_1$
|
|
152196
|
+
createElementVNode("span", _hoisted_1$r, [
|
|
152150
152197
|
createVNode(_component_star_horse_icon, {
|
|
152151
152198
|
"icon-class": "ellipsis",
|
|
152152
152199
|
style: { "color": "var(--star-horse-style)" }
|
|
@@ -152356,12 +152403,12 @@ var zhCn = {
|
|
|
152356
152403
|
}
|
|
152357
152404
|
};
|
|
152358
152405
|
|
|
152359
|
-
const _hoisted_1$
|
|
152360
|
-
const _hoisted_2$
|
|
152406
|
+
const _hoisted_1$q = { class: "star-horse-table" };
|
|
152407
|
+
const _hoisted_2$i = {
|
|
152361
152408
|
key: 0,
|
|
152362
152409
|
class: "tb_title"
|
|
152363
152410
|
};
|
|
152364
|
-
const _hoisted_3$
|
|
152411
|
+
const _hoisted_3$8 = {
|
|
152365
152412
|
key: 1,
|
|
152366
152413
|
style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
|
|
152367
152414
|
};
|
|
@@ -153074,8 +153121,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
153074
153121
|
])),
|
|
153075
153122
|
_: 1
|
|
153076
153123
|
}, 8, ["dialogVisible"]),
|
|
153077
|
-
createElementVNode("div", _hoisted_1$
|
|
153078
|
-
(__props.title || __props.helpMsg) && !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
153124
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
153125
|
+
(__props.title || __props.helpMsg) && !__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
|
|
153079
153126
|
__props.helpMsg ? (openBlock(), createBlock(_sfc_main$1K, {
|
|
153080
153127
|
key: 0,
|
|
153081
153128
|
message: __props.helpMsg
|
|
@@ -153087,7 +153134,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
153087
153134
|
})),
|
|
153088
153135
|
createTextVNode(" " + toDisplayString(__props.title), 1)
|
|
153089
153136
|
])) : createCommentVNode("", true),
|
|
153090
|
-
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
153137
|
+
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
153091
153138
|
createElementVNode("div", _hoisted_4$4, [
|
|
153092
153139
|
!__props.hideButtonList ? (openBlock(), createBlock(_component_star_horse_button_list, {
|
|
153093
153140
|
key: 0,
|
|
@@ -153429,9 +153476,9 @@ const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.define
|
|
|
153429
153476
|
default: __unplugin_components_1$1
|
|
153430
153477
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
153431
153478
|
|
|
153432
|
-
const _hoisted_1$
|
|
153433
|
-
const _hoisted_2$
|
|
153434
|
-
const _hoisted_3$
|
|
153479
|
+
const _hoisted_1$p = ["onClick"];
|
|
153480
|
+
const _hoisted_2$h = { class: "name" };
|
|
153481
|
+
const _hoisted_3$7 = {
|
|
153435
153482
|
key: 0,
|
|
153436
153483
|
class: "btn"
|
|
153437
153484
|
};
|
|
@@ -153502,8 +153549,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
153502
153549
|
class: "menu-title",
|
|
153503
153550
|
onClick: ($event) => selectData(item, $event)
|
|
153504
153551
|
}, [
|
|
153505
|
-
createElementVNode("div", _hoisted_2$
|
|
153506
|
-
__props.btnVisible || __props.rmvVisible ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
153552
|
+
createElementVNode("div", _hoisted_2$h, toDisplayString(item[__props.preps.label]), 1),
|
|
153553
|
+
__props.btnVisible || __props.rmvVisible ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
153507
153554
|
createVNode(_component_el_tooltip, { content: __props.btnTitle }, {
|
|
153508
153555
|
default: withCtx(() => [
|
|
153509
153556
|
__props.btnVisible ? (openBlock(), createBlock(__unplugin_components_1$5, {
|
|
@@ -153528,7 +153575,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
153528
153575
|
_: 2
|
|
153529
153576
|
}, 1032, ["content"])
|
|
153530
153577
|
])) : createCommentVNode("", true)
|
|
153531
|
-
], 8, _hoisted_1$
|
|
153578
|
+
], 8, _hoisted_1$p)
|
|
153532
153579
|
]),
|
|
153533
153580
|
default: withCtx(() => [
|
|
153534
153581
|
createVNode(_component_SubSystemMenu, {
|
|
@@ -153601,12 +153648,12 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
153601
153648
|
|
|
153602
153649
|
const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-37438d04"]]);
|
|
153603
153650
|
|
|
153604
|
-
const _hoisted_1$
|
|
153651
|
+
const _hoisted_1$o = {
|
|
153605
153652
|
key: 0,
|
|
153606
153653
|
class: "selected-data gap-2"
|
|
153607
153654
|
};
|
|
153608
|
-
const _hoisted_2$
|
|
153609
|
-
const _hoisted_3$
|
|
153655
|
+
const _hoisted_2$g = { class: "tree-title" };
|
|
153656
|
+
const _hoisted_3$6 = { class: "title flex items-center" };
|
|
153610
153657
|
const _hoisted_4$2 = {
|
|
153611
153658
|
key: 0,
|
|
153612
153659
|
class: "btn"
|
|
@@ -153868,7 +153915,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
153868
153915
|
})
|
|
153869
153916
|
}, {
|
|
153870
153917
|
default: withCtx(() => [
|
|
153871
|
-
__props.showSelectData && unref(selectedDataList).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
153918
|
+
__props.showSelectData && unref(selectedDataList).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
153872
153919
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedDataList), (item) => {
|
|
153873
153920
|
return openBlock(), createBlock(_component_el_tag, {
|
|
153874
153921
|
closable: "",
|
|
@@ -153881,8 +153928,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
153881
153928
|
}, 1032, ["onClose"]);
|
|
153882
153929
|
}), 256))
|
|
153883
153930
|
])) : createCommentVNode("", true),
|
|
153884
|
-
createElementVNode("div", _hoisted_2$
|
|
153885
|
-
createElementVNode("div", _hoisted_3$
|
|
153931
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
153932
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
153886
153933
|
createTextVNode(toDisplayString(__props.treeTitle) + " ", 1),
|
|
153887
153934
|
__props.helpMsg ? (openBlock(), createBlock(_sfc_main$1K, {
|
|
153888
153935
|
key: 0,
|
|
@@ -154138,9 +154185,9 @@ function reconnect() {
|
|
|
154138
154185
|
}, 4e3);
|
|
154139
154186
|
}
|
|
154140
154187
|
|
|
154141
|
-
const _hoisted_1$
|
|
154142
|
-
const _hoisted_2$
|
|
154143
|
-
const _hoisted_3$
|
|
154188
|
+
const _hoisted_1$n = { class: "message-body" };
|
|
154189
|
+
const _hoisted_2$f = { class: "message-list" };
|
|
154190
|
+
const _hoisted_3$5 = ["onClick"];
|
|
154144
154191
|
const _hoisted_4$1 = { class: "message-title" };
|
|
154145
154192
|
const _hoisted_5$1 = { class: "message-title-name" };
|
|
154146
154193
|
const _hoisted_6 = { class: "message-title-time" };
|
|
@@ -154394,10 +154441,10 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
154394
154441
|
}, 8, ["value"])
|
|
154395
154442
|
]),
|
|
154396
154443
|
default: withCtx(() => [
|
|
154397
|
-
createElementVNode("div", _hoisted_1$
|
|
154444
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
154398
154445
|
createVNode(_component_el_scrollbar, null, {
|
|
154399
154446
|
default: withCtx(() => [
|
|
154400
|
-
createElementVNode("ul", _hoisted_2$
|
|
154447
|
+
createElementVNode("ul", _hoisted_2$f, [
|
|
154401
154448
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(messageList), (item, index) => {
|
|
154402
154449
|
return openBlock(), createElementBlock("li", {
|
|
154403
154450
|
class: normalizeClass(["message-item", {
|
|
@@ -154410,7 +154457,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
154410
154457
|
createElementVNode("span", _hoisted_5$1, toDisplayString(item.title), 1),
|
|
154411
154458
|
createElementVNode("span", _hoisted_6, toDisplayString(unref(createDatetime)(item.createdTime)), 1)
|
|
154412
154459
|
])
|
|
154413
|
-
], 10, _hoisted_3$
|
|
154460
|
+
], 10, _hoisted_3$5);
|
|
154414
154461
|
}), 128))
|
|
154415
154462
|
])
|
|
154416
154463
|
]),
|
|
@@ -154949,15 +154996,15 @@ function fieldCopy(data, type) {
|
|
|
154949
154996
|
return mvData;
|
|
154950
154997
|
}
|
|
154951
154998
|
|
|
154952
|
-
const _hoisted_1$
|
|
154999
|
+
const _hoisted_1$m = {
|
|
154953
155000
|
key: 0,
|
|
154954
155001
|
class: "drag-handler"
|
|
154955
155002
|
};
|
|
154956
|
-
const _hoisted_2$
|
|
155003
|
+
const _hoisted_2$e = {
|
|
154957
155004
|
key: 1,
|
|
154958
155005
|
class: "field-action"
|
|
154959
155006
|
};
|
|
154960
|
-
const _hoisted_3$
|
|
155007
|
+
const _hoisted_3$4 = {
|
|
154961
155008
|
key: 1,
|
|
154962
155009
|
class: "field-item",
|
|
154963
155010
|
style: { "border": "unset" }
|
|
@@ -155152,7 +155199,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
155152
155199
|
onContextmenu: containerContextMenu
|
|
155153
155200
|
}, [
|
|
155154
155201
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
155155
|
-
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
155202
|
+
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
155156
155203
|
createVNode(_component_el_tooltip, { content: "拖动" }, {
|
|
155157
155204
|
default: withCtx(() => [
|
|
155158
155205
|
createVNode(_component_star_horse_icon, {
|
|
@@ -155186,7 +155233,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
155186
155233
|
_: 1
|
|
155187
155234
|
})
|
|
155188
155235
|
])) : createCommentVNode("", true),
|
|
155189
|
-
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
155236
|
+
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
155190
155237
|
__props.formItem.itemType == "dytable" || __props.formItem.itemType == "box" ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
155191
155238
|
key: 0,
|
|
155192
155239
|
content: "插入行"
|
|
@@ -155233,7 +155280,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
155233
155280
|
"menu-data": unref(dynamicFormContextMenuData)(__props.formItem, __props.parentField, "container")
|
|
155234
155281
|
}, null, 8, ["menu-data"])
|
|
155235
155282
|
]))
|
|
155236
|
-
], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
155283
|
+
], 32)) : (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
155237
155284
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
155238
155285
|
]))
|
|
155239
155286
|
], 64);
|
|
@@ -155250,7 +155297,7 @@ const groupBoxContainer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
|
|
|
155250
155297
|
default: __unplugin_components_1
|
|
155251
155298
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
155252
155299
|
|
|
155253
|
-
const _hoisted_1$
|
|
155300
|
+
const _hoisted_1$l = { class: "comp-item" };
|
|
155254
155301
|
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
155255
155302
|
__name: "box-container",
|
|
155256
155303
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -155342,7 +155389,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
155342
155389
|
list: sdata.items
|
|
155343
155390
|
}, {
|
|
155344
155391
|
item: withCtx(({ element: data }) => [
|
|
155345
|
-
createElementVNode("div", _hoisted_1$
|
|
155392
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
155346
155393
|
(openBlock(), createBlock(resolveDynamicComponent(data.itemType + (data.compType === "container" ? "-container" : "-item")), {
|
|
155347
155394
|
key: data.id,
|
|
155348
155395
|
field: data,
|
|
@@ -155402,9 +155449,9 @@ const boxContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
|
|
|
155402
155449
|
default: boxContainer
|
|
155403
155450
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
155404
155451
|
|
|
155405
|
-
const _hoisted_1$
|
|
155406
|
-
const _hoisted_2$
|
|
155407
|
-
const _hoisted_3$
|
|
155452
|
+
const _hoisted_1$k = { class: "card-header flex items-center justify-between" };
|
|
155453
|
+
const _hoisted_2$d = { class: "w-[60%]" };
|
|
155454
|
+
const _hoisted_3$3 = { class: "comp-item" };
|
|
155408
155455
|
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
155409
155456
|
__name: "card-container",
|
|
155410
155457
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -155486,8 +155533,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
155486
155533
|
shadow: __props.field.preps["shadow"] == "Y"
|
|
155487
155534
|
}, {
|
|
155488
155535
|
header: withCtx(() => [
|
|
155489
|
-
createElementVNode("div", _hoisted_1$
|
|
155490
|
-
createElementVNode("div", _hoisted_2$
|
|
155536
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
155537
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
155491
155538
|
createTextVNode(toDisplayString(adata.title || adata.tabName) + " ", 1),
|
|
155492
155539
|
adata.helpMsg ? (openBlock(), createBlock(_component_help, {
|
|
155493
155540
|
key: 0,
|
|
@@ -155548,7 +155595,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
155548
155595
|
"onUpdate:modelValue": ($event) => adata["items"] = $event
|
|
155549
155596
|
}, {
|
|
155550
155597
|
item: withCtx(({ element: item }) => [
|
|
155551
|
-
createElementVNode("div", _hoisted_3$
|
|
155598
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
155552
155599
|
(openBlock(), createBlock(resolveDynamicComponent(getComponentName(item)), {
|
|
155553
155600
|
key: item.id,
|
|
155554
155601
|
field: item,
|
|
@@ -155586,8 +155633,8 @@ const cardContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
|
|
|
155586
155633
|
default: cardContainer
|
|
155587
155634
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
155588
155635
|
|
|
155589
|
-
const _hoisted_1$
|
|
155590
|
-
const _hoisted_2$
|
|
155636
|
+
const _hoisted_1$j = { class: "collapse-item-title title" };
|
|
155637
|
+
const _hoisted_2$c = { class: "comp-item" };
|
|
155591
155638
|
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
155592
155639
|
__name: "collapse-container",
|
|
155593
155640
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -155678,7 +155725,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
155678
155725
|
name: adata.tabName
|
|
155679
155726
|
}, {
|
|
155680
155727
|
title: withCtx(() => [
|
|
155681
|
-
createElementVNode("div", _hoisted_1$
|
|
155728
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
155682
155729
|
createElementVNode("div", null, toDisplayString(adata.label || adata.objectName), 1)
|
|
155683
155730
|
])
|
|
155684
155731
|
]),
|
|
@@ -155698,7 +155745,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
155698
155745
|
list: adata["items"]
|
|
155699
155746
|
}, {
|
|
155700
155747
|
item: withCtx(({ element: data }) => [
|
|
155701
|
-
createElementVNode("div", _hoisted_2$
|
|
155748
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
155702
155749
|
(openBlock(), createBlock(resolveDynamicComponent(getComponentName(data)), {
|
|
155703
155750
|
key: data.id,
|
|
155704
155751
|
field: data,
|
|
@@ -155739,8 +155786,8 @@ const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
|
|
|
155739
155786
|
default: collapseContainer
|
|
155740
155787
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
155741
155788
|
|
|
155742
|
-
const _hoisted_1$
|
|
155743
|
-
const _hoisted_2$
|
|
155789
|
+
const _hoisted_1$i = ["colspan", "rowspan"];
|
|
155790
|
+
const _hoisted_2$b = {
|
|
155744
155791
|
key: 0,
|
|
155745
155792
|
class: "table-cell-action"
|
|
155746
155793
|
};
|
|
@@ -155922,7 +155969,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
155922
155969
|
]),
|
|
155923
155970
|
_: 1
|
|
155924
155971
|
}, 8, ["list"]),
|
|
155925
|
-
unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
155972
|
+
unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
|
|
155926
155973
|
createVNode(_component_el_dropdown, {
|
|
155927
155974
|
trigger: "click",
|
|
155928
155975
|
onCommand: handleTableCellCommand,
|
|
@@ -156068,7 +156115,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
156068
156115
|
_: 1
|
|
156069
156116
|
}, 8, ["size"])
|
|
156070
156117
|
])) : createCommentVNode("", true)
|
|
156071
|
-
], 46, _hoisted_1$
|
|
156118
|
+
], 46, _hoisted_1$i);
|
|
156072
156119
|
};
|
|
156073
156120
|
}
|
|
156074
156121
|
});
|
|
@@ -156082,7 +156129,7 @@ const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
|
|
|
156082
156129
|
default: DytableCol
|
|
156083
156130
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
156084
156131
|
|
|
156085
|
-
const _hoisted_1$
|
|
156132
|
+
const _hoisted_1$h = { class: "dy-tr" };
|
|
156086
156133
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
156087
156134
|
__name: "dytable-container",
|
|
156088
156135
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -156116,7 +156163,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
156116
156163
|
}, [
|
|
156117
156164
|
createElementVNode("tbody", null, [
|
|
156118
156165
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps.elements, (row, rowIndex) => {
|
|
156119
|
-
return openBlock(), createElementBlock("tr", _hoisted_1$
|
|
156166
|
+
return openBlock(), createElementBlock("tr", _hoisted_1$h, [
|
|
156120
156167
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row.columns, (td, colIndex) => {
|
|
156121
156168
|
return openBlock(), createBlock(DytableCol, {
|
|
156122
156169
|
field: td,
|
|
@@ -156323,9 +156370,9 @@ const tabContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
|
|
|
156323
156370
|
default: tabContainer
|
|
156324
156371
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
156325
156372
|
|
|
156326
|
-
const _hoisted_1$
|
|
156327
|
-
const _hoisted_2$
|
|
156328
|
-
const _hoisted_3$
|
|
156373
|
+
const _hoisted_1$g = { class: "container-thead" };
|
|
156374
|
+
const _hoisted_2$a = ["onMouseenter", "onMouseleave"];
|
|
156375
|
+
const _hoisted_3$2 = {
|
|
156329
156376
|
key: 0,
|
|
156330
156377
|
class: "td-operator"
|
|
156331
156378
|
};
|
|
@@ -156442,14 +156489,14 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
156442
156489
|
border: unref(isEdit) && __props.isDesign ? "1px solid #dfe6ec" : "none"
|
|
156443
156490
|
})
|
|
156444
156491
|
}, [
|
|
156445
|
-
createElementVNode("thead", _hoisted_1$
|
|
156492
|
+
createElementVNode("thead", _hoisted_1$g, [
|
|
156446
156493
|
createElementVNode("tr", null, [
|
|
156447
156494
|
(openBlock(true), createElementBlock(Fragment, null, renderList(parseInt(__props.field.preps.columns || 1), (td) => {
|
|
156448
156495
|
return openBlock(), createElementBlock("th", {
|
|
156449
156496
|
onMouseenter: (evt) => tdOver(evt, td),
|
|
156450
156497
|
onMouseleave: (evt) => tdOut(evt)
|
|
156451
156498
|
}, [
|
|
156452
|
-
unref(currentIndex) == td && unref(isEdit) && __props.isDesign ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
156499
|
+
unref(currentIndex) == td && unref(isEdit) && __props.isDesign ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
156453
156500
|
createVNode(_component_el_tooltip, { content: "删除列" }, {
|
|
156454
156501
|
default: withCtx(() => [
|
|
156455
156502
|
createVNode(__unplugin_components_1$5, {
|
|
@@ -156462,7 +156509,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
156462
156509
|
}, 1024)
|
|
156463
156510
|
])) : createCommentVNode("", true),
|
|
156464
156511
|
createTextVNode(" " + toDisplayString(analysisData(td)), 1)
|
|
156465
|
-
], 40, _hoisted_2$
|
|
156512
|
+
], 40, _hoisted_2$a);
|
|
156466
156513
|
}), 256))
|
|
156467
156514
|
])
|
|
156468
156515
|
]),
|
|
@@ -156570,13 +156617,13 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
156570
156617
|
const initData = async () => {
|
|
156571
156618
|
await nextTick();
|
|
156572
156619
|
props.field.preps["values"] = await compDynamicData(props.field.preps);
|
|
156573
|
-
let data = formData[props.field.preps["name"]];
|
|
156620
|
+
let data = formData.value[props.field.preps["name"]];
|
|
156574
156621
|
if (data) {
|
|
156575
|
-
formData[props.field.preps["name"]] = JSON.parse(data);
|
|
156622
|
+
formData.value[props.field.preps["name"]] = JSON.parse(data);
|
|
156576
156623
|
} else {
|
|
156577
156624
|
setTimeout(() => {
|
|
156578
|
-
let data2 = formData[props.field.preps["name"]];
|
|
156579
|
-
formData[props.field.preps["name"]] = data2 ? JSON.parse(data2) : [];
|
|
156625
|
+
let data2 = formData.value[props.field.preps["name"]];
|
|
156626
|
+
formData.value[props.field.preps["name"]] = data2 ? JSON.parse(data2) : [];
|
|
156580
156627
|
}, 200);
|
|
156581
156628
|
}
|
|
156582
156629
|
};
|
|
@@ -156636,14 +156683,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
156636
156683
|
|
|
156637
156684
|
/* unplugin-vue-components disabled */
|
|
156638
156685
|
|
|
156639
|
-
const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-
|
|
156686
|
+
const areaItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-ceb72a27"]]);
|
|
156640
156687
|
|
|
156641
156688
|
const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
156642
156689
|
__proto__: null,
|
|
156643
156690
|
default: areaItem
|
|
156644
156691
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
156645
156692
|
|
|
156646
|
-
const _hoisted_1$
|
|
156693
|
+
const _hoisted_1$f = ["fid"];
|
|
156647
156694
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
156648
156695
|
__name: "audio-item",
|
|
156649
156696
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -156769,7 +156816,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
156769
156816
|
ref_key: "audio",
|
|
156770
156817
|
ref: audio,
|
|
156771
156818
|
controls: ""
|
|
156772
|
-
}, null, 8, _hoisted_1$
|
|
156819
|
+
}, null, 8, _hoisted_1$f)
|
|
156773
156820
|
]),
|
|
156774
156821
|
_: 1
|
|
156775
156822
|
}, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -156956,7 +157003,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
156956
157003
|
} else {
|
|
156957
157004
|
formData2 = await btnCompRef.value?.getFormData().value;
|
|
156958
157005
|
}
|
|
156959
|
-
formData2[props.field.preps["name"]] = JSON.stringify(unref(formData2));
|
|
157006
|
+
formData2.value[props.field.preps["name"]] = JSON.stringify(unref(formData2));
|
|
156960
157007
|
close();
|
|
156961
157008
|
};
|
|
156962
157009
|
const openDialog = async () => {
|
|
@@ -156973,7 +157020,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
156973
157020
|
let dynamicParams = action.params;
|
|
156974
157021
|
let params = [];
|
|
156975
157022
|
dynamicParams?.forEach((dynamicParam) => {
|
|
156976
|
-
let value = formData[dynamicParam.paramName] ?? dynamicParam.defaultValue;
|
|
157023
|
+
let value = formData.value[dynamicParam.paramName] ?? dynamicParam.defaultValue;
|
|
156977
157024
|
params.push(createCondition(dynamicParam.paramName, value, dynamicParam.matchType));
|
|
156978
157025
|
});
|
|
156979
157026
|
urlParam["fieldList"] = params;
|
|
@@ -157002,11 +157049,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
157002
157049
|
return;
|
|
157003
157050
|
}
|
|
157004
157051
|
if (action?.afterAction == "assignCurrentName") {
|
|
157005
|
-
formData[props.field.preps["name"]] = datas;
|
|
157052
|
+
formData.value[props.field.preps["name"]] = datas;
|
|
157006
157053
|
} else if (action?.afterAction == "assignForm") {
|
|
157007
157054
|
let entries = Object.entries(datas);
|
|
157008
157055
|
entries.forEach(([key, value]) => {
|
|
157009
|
-
formData[key] = value;
|
|
157056
|
+
formData.value[key] = value;
|
|
157010
157057
|
});
|
|
157011
157058
|
}
|
|
157012
157059
|
}
|
|
@@ -157114,7 +157161,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
157114
157161
|
|
|
157115
157162
|
/* unplugin-vue-components disabled */
|
|
157116
157163
|
|
|
157117
|
-
const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-
|
|
157164
|
+
const buttonItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-dd417d64"]]);
|
|
157118
157165
|
|
|
157119
157166
|
const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
157120
157167
|
__proto__: null,
|
|
@@ -157168,13 +157215,13 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
157168
157215
|
const initData = async () => {
|
|
157169
157216
|
await nextTick();
|
|
157170
157217
|
props.field.preps["values"] = await compDynamicData(props.field.preps);
|
|
157171
|
-
let data = formData[props.field.preps["name"]];
|
|
157218
|
+
let data = formData.value[props.field.preps["name"]];
|
|
157172
157219
|
if (isJson(data)) {
|
|
157173
|
-
formData[props.field.preps["name"]] = JSON.parse(data);
|
|
157220
|
+
formData.value[props.field.preps["name"]] = JSON.parse(data);
|
|
157174
157221
|
} else {
|
|
157175
157222
|
setTimeout(() => {
|
|
157176
|
-
let data2 = formData[props.field.preps["name"]];
|
|
157177
|
-
formData[props.field.preps["name"]] = isJson(data2) ? JSON.parse(data2) : [];
|
|
157223
|
+
let data2 = formData.value[props.field.preps["name"]];
|
|
157224
|
+
formData.value[props.field.preps["name"]] = isJson(data2) ? JSON.parse(data2) : [];
|
|
157178
157225
|
}, 200);
|
|
157179
157226
|
}
|
|
157180
157227
|
};
|
|
@@ -157235,7 +157282,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
157235
157282
|
|
|
157236
157283
|
/* unplugin-vue-components disabled */
|
|
157237
157284
|
|
|
157238
|
-
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-
|
|
157285
|
+
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-45c01fec"]]);
|
|
157239
157286
|
|
|
157240
157287
|
const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
157241
157288
|
__proto__: null,
|
|
@@ -159333,8 +159380,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
159333
159380
|
|
|
159334
159381
|
const CrontabYear = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-cbe4ff61"]]);
|
|
159335
159382
|
|
|
159336
|
-
const _hoisted_1$
|
|
159337
|
-
const _hoisted_2$
|
|
159383
|
+
const _hoisted_1$e = { class: "popup-result" };
|
|
159384
|
+
const _hoisted_2$9 = { class: "popup-result-scroll" };
|
|
159338
159385
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
159339
159386
|
__name: "Crontab-Result",
|
|
159340
159387
|
props: {
|
|
@@ -159808,9 +159855,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
159808
159855
|
});
|
|
159809
159856
|
return (_ctx, _cache) => {
|
|
159810
159857
|
const _component_el_tag = ElTag;
|
|
159811
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
159858
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
159812
159859
|
_cache[1] || (_cache[1] = createElementVNode("p", { class: "title" }, "最近5次运行时间", -1)),
|
|
159813
|
-
createElementVNode("div", _hoisted_2$
|
|
159860
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
159814
159861
|
unref(isShow) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(resultList), (item) => {
|
|
159815
159862
|
return openBlock(), createBlock(_component_el_tag, { key: item }, {
|
|
159816
159863
|
default: withCtx(() => [
|
|
@@ -159830,8 +159877,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
159830
159877
|
}
|
|
159831
159878
|
});
|
|
159832
159879
|
|
|
159833
|
-
const _hoisted_1$
|
|
159834
|
-
const _hoisted_2$
|
|
159880
|
+
const _hoisted_1$d = { class: "popup-main" };
|
|
159881
|
+
const _hoisted_2$8 = { class: "popup-result" };
|
|
159835
159882
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
159836
159883
|
__name: "Crontab",
|
|
159837
159884
|
props: {
|
|
@@ -160175,8 +160222,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
160175
160222
|
]),
|
|
160176
160223
|
_: 1
|
|
160177
160224
|
}, 8, ["modelValue"]),
|
|
160178
|
-
createElementVNode("div", _hoisted_1$
|
|
160179
|
-
createElementVNode("div", _hoisted_2$
|
|
160225
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
160226
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
160180
160227
|
_cache[3] || (_cache[3] = createElementVNode("p", { class: "title" }, "时间表达式", -1)),
|
|
160181
160228
|
createElementVNode("table", null, [
|
|
160182
160229
|
createElementVNode("thead", null, [
|
|
@@ -160330,12 +160377,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
160330
160377
|
cronVisible.value = false;
|
|
160331
160378
|
};
|
|
160332
160379
|
const open = () => {
|
|
160333
|
-
cronDataValue.value = formData[props.field.preps["name"]];
|
|
160380
|
+
cronDataValue.value = formData.value[props.field.preps["name"]];
|
|
160334
160381
|
console.log(cronDataValue.value);
|
|
160335
160382
|
cronVisible.value = true;
|
|
160336
160383
|
};
|
|
160337
160384
|
const submit = () => {
|
|
160338
|
-
formData[props.field.preps["name"]] = cronDataValue.value;
|
|
160385
|
+
formData.value[props.field.preps["name"]] = cronDataValue.value;
|
|
160339
160386
|
close();
|
|
160340
160387
|
};
|
|
160341
160388
|
resetForm();
|
|
@@ -160408,7 +160455,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
160408
160455
|
|
|
160409
160456
|
/* unplugin-vue-components disabled */
|
|
160410
160457
|
|
|
160411
|
-
const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-
|
|
160458
|
+
const cronItem = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-6ab822cd"]]);
|
|
160412
160459
|
|
|
160413
160460
|
const cronItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
160414
160461
|
__proto__: null,
|
|
@@ -160458,10 +160505,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
160458
160505
|
let actionName = shallowRef("normal");
|
|
160459
160506
|
const itemAction = (prep) => {
|
|
160460
160507
|
if (prep == "change" && props.field.preps["type"]?.includes("range")) {
|
|
160461
|
-
let val = formData[props.field.preps["name"]];
|
|
160508
|
+
let val = formData.value[props.field.preps["name"]];
|
|
160462
160509
|
if (props.field.preps["needSplitName"] == "Y") {
|
|
160463
|
-
formData[props.field.preps["name"] + "Start"] = val[0];
|
|
160464
|
-
formData[props.field.preps["name"] + "End"] = val[1];
|
|
160510
|
+
formData.value[props.field.preps["name"] + "Start"] = val[0];
|
|
160511
|
+
formData.value[props.field.preps["name"] + "End"] = val[1];
|
|
160465
160512
|
}
|
|
160466
160513
|
}
|
|
160467
160514
|
allAction(props, emits, formData, prep);
|
|
@@ -160519,7 +160566,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
160519
160566
|
|
|
160520
160567
|
/* unplugin-vue-components disabled */
|
|
160521
160568
|
|
|
160522
|
-
const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
160569
|
+
const datetimeItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-9cdc472b"]]);
|
|
160523
160570
|
|
|
160524
160571
|
const datetimeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
160525
160572
|
__proto__: null,
|
|
@@ -160648,13 +160695,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
160648
160695
|
}
|
|
160649
160696
|
let name = props.field.preps["name"];
|
|
160650
160697
|
if (!needField) {
|
|
160651
|
-
formData[name] = data[name];
|
|
160698
|
+
formData.value[name] = data[name];
|
|
160652
160699
|
} else {
|
|
160653
160700
|
needField.forEach((item) => {
|
|
160654
160701
|
if (needField.length == 1) {
|
|
160655
|
-
formData[name] = data[item.sourceField];
|
|
160702
|
+
formData.value[name] = data[item.sourceField];
|
|
160656
160703
|
} else {
|
|
160657
|
-
formData[item.distField] = data[item.sourceField];
|
|
160704
|
+
formData.value[item.distField] = data[item.sourceField];
|
|
160658
160705
|
}
|
|
160659
160706
|
});
|
|
160660
160707
|
}
|
|
@@ -160679,7 +160726,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
160679
160726
|
if (fields) {
|
|
160680
160727
|
name = fields.map((item) => item.sourceField)[0];
|
|
160681
160728
|
}
|
|
160682
|
-
dialogInputTableRef.value?.setDataInfo(name, formData[realName]);
|
|
160729
|
+
dialogInputTableRef.value?.setDataInfo(name, formData.value[realName]);
|
|
160683
160730
|
});
|
|
160684
160731
|
};
|
|
160685
160732
|
onMounted(() => {
|
|
@@ -160775,7 +160822,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
160775
160822
|
|
|
160776
160823
|
/* unplugin-vue-components disabled */
|
|
160777
160824
|
|
|
160778
|
-
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
160825
|
+
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-62e5ae33"]]);
|
|
160779
160826
|
|
|
160780
160827
|
const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
160781
160828
|
__proto__: null,
|
|
@@ -160826,7 +160873,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
160826
160873
|
allAction(props, emits, formData, prep);
|
|
160827
160874
|
};
|
|
160828
160875
|
onMounted(() => {
|
|
160829
|
-
formData[props.field.preps["name"]] = props.field.preps["content"];
|
|
160876
|
+
formData.value[props.field.preps["name"]] = props.field.preps["content"];
|
|
160830
160877
|
});
|
|
160831
160878
|
return (_ctx, _cache) => {
|
|
160832
160879
|
const _component_el_divider = ElDivider;
|
|
@@ -160861,7 +160908,7 @@ const dividerItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
160861
160908
|
default: _sfc_main$x
|
|
160862
160909
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
160863
160910
|
|
|
160864
|
-
const _hoisted_1$
|
|
160911
|
+
const _hoisted_1$c = ["innerHTML"];
|
|
160865
160912
|
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
160866
160913
|
__name: "html-item",
|
|
160867
160914
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -160902,7 +160949,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
160902
160949
|
const props = __props;
|
|
160903
160950
|
const formData = useModel(__props, "formData");
|
|
160904
160951
|
onMounted(() => {
|
|
160905
|
-
formData[props.field.preps["name"]] = props.field.preps["content"];
|
|
160952
|
+
formData.value[props.field.preps["name"]] = props.field.preps["content"];
|
|
160906
160953
|
});
|
|
160907
160954
|
return (_ctx, _cache) => {
|
|
160908
160955
|
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
@@ -160917,7 +160964,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
160917
160964
|
createElementVNode("div", {
|
|
160918
160965
|
class: "user_html",
|
|
160919
160966
|
innerHTML: __props.field.preps["content"]
|
|
160920
|
-
}, null, 8, _hoisted_1$
|
|
160967
|
+
}, null, 8, _hoisted_1$c)
|
|
160921
160968
|
]),
|
|
160922
160969
|
_: 1
|
|
160923
160970
|
}, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -160927,7 +160974,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
160927
160974
|
|
|
160928
160975
|
/* unplugin-vue-components disabled */
|
|
160929
160976
|
|
|
160930
|
-
const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
160977
|
+
const htmlItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-0eb15373"]]);
|
|
160931
160978
|
|
|
160932
160979
|
const htmlItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
160933
160980
|
__proto__: null,
|
|
@@ -178005,7 +178052,7 @@ class ImageUploader {
|
|
|
178005
178052
|
|
|
178006
178053
|
window.ImageUploader = ImageUploader;
|
|
178007
178054
|
|
|
178008
|
-
const _hoisted_1$
|
|
178055
|
+
const _hoisted_1$b = { style: { "border": "1px solid #ccc" } };
|
|
178009
178056
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
178010
178057
|
__name: "htmleditor-item",
|
|
178011
178058
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -178046,173 +178093,41 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
178046
178093
|
const props = __props;
|
|
178047
178094
|
const emits = __emit;
|
|
178048
178095
|
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");
|
|
178096
|
+
let editorConfig = shallowRef({});
|
|
178097
|
+
let toolbarConfig = shallowRef({});
|
|
178098
|
+
const editorRef = shallowRef();
|
|
178099
|
+
const itemAction = (prep) => {
|
|
178100
|
+
allAction(props, emits, formData, prep);
|
|
178175
178101
|
};
|
|
178176
|
-
const
|
|
178177
|
-
|
|
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
|
-
}
|
|
178102
|
+
const handleCreated = (editor) => {
|
|
178103
|
+
editorRef.value = editor;
|
|
178184
178104
|
};
|
|
178185
|
-
const
|
|
178186
|
-
|
|
178187
|
-
|
|
178188
|
-
|
|
178189
|
-
|
|
178190
|
-
|
|
178105
|
+
const modules = {
|
|
178106
|
+
name: "imageUploader",
|
|
178107
|
+
module: ImageUploader,
|
|
178108
|
+
options: {
|
|
178109
|
+
upload: (file) => {
|
|
178110
|
+
return new Promise((resolve, reject) => {
|
|
178111
|
+
const formData2 = new FormData();
|
|
178112
|
+
formData2.append("image", file);
|
|
178113
|
+
postRequest("/upload-image", formData2).then((res) => {
|
|
178114
|
+
console.log(res);
|
|
178115
|
+
resolve(res.data.url);
|
|
178116
|
+
}).catch((err) => {
|
|
178117
|
+
reject("Upload failed");
|
|
178118
|
+
console.error("Error:", err);
|
|
178119
|
+
});
|
|
178120
|
+
});
|
|
178121
|
+
}
|
|
178191
178122
|
}
|
|
178192
|
-
emits("selfFunc", prep, formData);
|
|
178193
178123
|
};
|
|
178194
178124
|
onMounted(() => {
|
|
178195
|
-
|
|
178196
|
-
|
|
178197
|
-
|
|
178198
|
-
|
|
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
|
-
}
|
|
178125
|
+
toolbarConfig.value = {
|
|
178126
|
+
//excludeKeys: ["insertLink", "insertImage", "editImage", "viewImageLink", "insertVideo", "emotion", "fullScreen"],
|
|
178127
|
+
};
|
|
178128
|
+
editorConfig.value = { placeholder: "请输入内容...", MENU_CONF: {} };
|
|
178210
178129
|
});
|
|
178211
178130
|
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
178131
|
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
178217
178132
|
return openBlock(), createBlock(_component_starhorse_form_item, {
|
|
178218
178133
|
isDesign: __props.isDesign,
|
|
@@ -178222,80 +178137,23 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
178222
178137
|
parentField: __props.parentField
|
|
178223
178138
|
}, {
|
|
178224
178139
|
default: withCtx(() => [
|
|
178225
|
-
|
|
178226
|
-
|
|
178227
|
-
|
|
178228
|
-
|
|
178229
|
-
|
|
178230
|
-
|
|
178231
|
-
|
|
178232
|
-
|
|
178233
|
-
|
|
178234
|
-
|
|
178235
|
-
|
|
178236
|
-
|
|
178237
|
-
|
|
178238
|
-
|
|
178239
|
-
|
|
178240
|
-
|
|
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"])
|
|
178140
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
178141
|
+
createVNode(unref(QuillEditor), {
|
|
178142
|
+
style: normalizeStyle({ height: __props.field.preps.height || "300px", "overflow-y": "hidden" }),
|
|
178143
|
+
modules,
|
|
178144
|
+
onChange: _cache[0] || (_cache[0] = ($event) => itemAction("change")),
|
|
178145
|
+
onInput: _cache[1] || (_cache[1] = ($event) => itemAction("input")),
|
|
178146
|
+
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
178147
|
+
onFocus: _cache[3] || (_cache[3] = ($event) => itemAction("focus")),
|
|
178148
|
+
onBlur: _cache[4] || (_cache[4] = ($event) => itemAction("blur")),
|
|
178149
|
+
modelValue: formData.value[__props.field.preps["name"]],
|
|
178150
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => formData.value[__props.field.preps["name"]] = $event),
|
|
178151
|
+
theme: "snow",
|
|
178152
|
+
toolbar: "full",
|
|
178153
|
+
fid: __props.field.preps["name"],
|
|
178154
|
+
onOnCreated: handleCreated
|
|
178155
|
+
}, null, 8, ["style", "modelValue", "fid"])
|
|
178156
|
+
])
|
|
178299
178157
|
]),
|
|
178300
178158
|
_: 1
|
|
178301
178159
|
}, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -178303,13 +178161,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
178303
178161
|
}
|
|
178304
178162
|
});
|
|
178305
178163
|
|
|
178306
|
-
|
|
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({
|
|
178164
|
+
const htmleditorItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
178311
178165
|
__proto__: null,
|
|
178312
|
-
default:
|
|
178166
|
+
default: _sfc_main$v
|
|
178313
178167
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
178314
178168
|
|
|
178315
178169
|
const _hoisted_1$a = {
|
|
@@ -178321,7 +178175,7 @@ const _hoisted_3$1 = {
|
|
|
178321
178175
|
key: 0,
|
|
178322
178176
|
class: "image-remove"
|
|
178323
178177
|
};
|
|
178324
|
-
const _sfc_main$
|
|
178178
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
178325
178179
|
__name: "image-item",
|
|
178326
178180
|
props: /* @__PURE__ */ mergeModels({
|
|
178327
178181
|
isDesign: {
|
|
@@ -178365,18 +178219,18 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
178365
178219
|
let defaultAction = "/system-config/annex/upload/common";
|
|
178366
178220
|
let defaultViewList = shallowRef([]);
|
|
178367
178221
|
const removeImage = () => {
|
|
178368
|
-
formData[props.field.preps["name"]] = "";
|
|
178222
|
+
formData.value[props.field.preps["name"]] = "";
|
|
178369
178223
|
defaultViewList.value = [];
|
|
178370
178224
|
};
|
|
178371
178225
|
const selfAction = (prep, uploadFile, uploadFiles = [], param = {}) => {
|
|
178372
178226
|
if (prep == "success") {
|
|
178373
178227
|
let result = param.data;
|
|
178374
178228
|
let path = (props.field.preps["context"] || "/system-config") + result.path;
|
|
178375
|
-
formData[props.field.preps["name"]] = path;
|
|
178229
|
+
formData.value[props.field.preps["name"]] = path;
|
|
178376
178230
|
defaultViewList.value.push(path);
|
|
178377
178231
|
if (!props.field.preps["keepResult"] || props.field.preps["keepResult"] == "Y") {
|
|
178378
178232
|
Object.entries(result).forEach(([key, value]) => {
|
|
178379
|
-
formData[key] = value;
|
|
178233
|
+
formData.value[key] = value;
|
|
178380
178234
|
});
|
|
178381
178235
|
}
|
|
178382
178236
|
}
|
|
@@ -178540,13 +178394,194 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
178540
178394
|
|
|
178541
178395
|
/* unplugin-vue-components disabled */
|
|
178542
178396
|
|
|
178543
|
-
const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
178397
|
+
const imageItem = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3eedd4a7"]]);
|
|
178544
178398
|
|
|
178545
178399
|
const imageItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
178546
178400
|
__proto__: null,
|
|
178547
178401
|
default: imageItem
|
|
178548
178402
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
178549
178403
|
|
|
178404
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
178405
|
+
...{
|
|
178406
|
+
name: "InputItem"
|
|
178407
|
+
},
|
|
178408
|
+
__name: "input-item",
|
|
178409
|
+
props: /* @__PURE__ */ mergeModels({
|
|
178410
|
+
isDesign: {
|
|
178411
|
+
type: Boolean,
|
|
178412
|
+
default: false
|
|
178413
|
+
},
|
|
178414
|
+
disabled: {
|
|
178415
|
+
type: Boolean,
|
|
178416
|
+
default: false
|
|
178417
|
+
},
|
|
178418
|
+
bareFlag: {
|
|
178419
|
+
type: Boolean,
|
|
178420
|
+
default: false
|
|
178421
|
+
},
|
|
178422
|
+
isSearch: {
|
|
178423
|
+
type: Boolean,
|
|
178424
|
+
default: false
|
|
178425
|
+
},
|
|
178426
|
+
field: {
|
|
178427
|
+
type: Object,
|
|
178428
|
+
default: {}
|
|
178429
|
+
},
|
|
178430
|
+
parentField: {
|
|
178431
|
+
type: Object,
|
|
178432
|
+
default: {}
|
|
178433
|
+
},
|
|
178434
|
+
formInfo: {
|
|
178435
|
+
type: Object,
|
|
178436
|
+
default: {}
|
|
178437
|
+
}
|
|
178438
|
+
}, {
|
|
178439
|
+
"formData": {},
|
|
178440
|
+
"formDataModifiers": {}
|
|
178441
|
+
}),
|
|
178442
|
+
emits: /* @__PURE__ */ mergeModels(["selfFunc", "selectItem"], ["update:formData"]),
|
|
178443
|
+
setup(__props, { emit: __emit }) {
|
|
178444
|
+
const props = __props;
|
|
178445
|
+
const emits = __emit;
|
|
178446
|
+
const formData = useModel(__props, "formData");
|
|
178447
|
+
const inputItemRef = ref();
|
|
178448
|
+
let actionName = shallowRef("normal");
|
|
178449
|
+
const initEvent = async () => {
|
|
178450
|
+
await nextTick();
|
|
178451
|
+
};
|
|
178452
|
+
const itemAction = (prep) => {
|
|
178453
|
+
allAction(props, emits, formData, prep);
|
|
178454
|
+
};
|
|
178455
|
+
onMounted(() => {
|
|
178456
|
+
actionName.value = props.field.preps?.actionName || "normal";
|
|
178457
|
+
if (!props.isSearch) {
|
|
178458
|
+
allAction(props, emits, formData, actionName.value, true);
|
|
178459
|
+
}
|
|
178460
|
+
initEvent();
|
|
178461
|
+
});
|
|
178462
|
+
return (_ctx, _cache) => {
|
|
178463
|
+
const _component_el_option = ElOption;
|
|
178464
|
+
const _component_el_select = ElSelect;
|
|
178465
|
+
const _component_star_horse_icon = __unplugin_components_1$5;
|
|
178466
|
+
const _component_el_input = ElInput;
|
|
178467
|
+
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
178468
|
+
return openBlock(), createBlock(_component_starhorse_form_item, {
|
|
178469
|
+
isDesign: __props.isDesign,
|
|
178470
|
+
disabled: __props.disabled,
|
|
178471
|
+
bareFlag: __props.bareFlag,
|
|
178472
|
+
formItem: __props.field,
|
|
178473
|
+
parentField: __props.parentField
|
|
178474
|
+
}, {
|
|
178475
|
+
default: withCtx(() => [
|
|
178476
|
+
createVNode(_component_el_input, {
|
|
178477
|
+
clearable: __props.field.preps["clearable"] == "Y",
|
|
178478
|
+
disabled: unref(checkIsDisabled)(props),
|
|
178479
|
+
max: __props.field.preps["max"],
|
|
178480
|
+
maxlength: __props.field.preps["maxlength"],
|
|
178481
|
+
min: __props.field.preps["min"],
|
|
178482
|
+
autofocus: __props.field.preps["autofocus"] == "Y",
|
|
178483
|
+
minlength: __props.field.preps["maxlength"],
|
|
178484
|
+
placeholder: __props.field.preps["placeholder"] || "请输入" + (__props.field.preps["label"] || ""),
|
|
178485
|
+
readonly: __props.field.preps["readonly"] == "Y",
|
|
178486
|
+
size: __props.formInfo?.size || __props.field?.preps["size"] || "default",
|
|
178487
|
+
type: "text",
|
|
178488
|
+
ref_key: "inputItemRef",
|
|
178489
|
+
ref: inputItemRef,
|
|
178490
|
+
fid: __props.field.preps["name"],
|
|
178491
|
+
class: "input-with-select",
|
|
178492
|
+
onChange: _cache[3] || (_cache[3] = ($event) => itemAction("change")),
|
|
178493
|
+
onInput: _cache[4] || (_cache[4] = ($event) => itemAction("input")),
|
|
178494
|
+
onKeydown: _cache[5] || (_cache[5] = withKeys(($event) => itemAction("enter"), ["enter"])),
|
|
178495
|
+
onFocus: _cache[6] || (_cache[6] = ($event) => itemAction("focus")),
|
|
178496
|
+
onBlur: _cache[7] || (_cache[7] = ($event) => itemAction("blur")),
|
|
178497
|
+
modelValue: formData.value[__props.field.preps["name"]],
|
|
178498
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => formData.value[__props.field.preps["name"]] = $event)
|
|
178499
|
+
}, createSlots({ _: 2 }, [
|
|
178500
|
+
__props.field.preps["prependText"] ? {
|
|
178501
|
+
name: "prepend",
|
|
178502
|
+
fn: withCtx(() => [
|
|
178503
|
+
createTextVNode(toDisplayString(__props.field.preps["prependText"]), 1)
|
|
178504
|
+
]),
|
|
178505
|
+
key: "0"
|
|
178506
|
+
} : void 0,
|
|
178507
|
+
__props.field.preps["prependList"] ? {
|
|
178508
|
+
name: "prepend",
|
|
178509
|
+
fn: withCtx(() => [
|
|
178510
|
+
createVNode(_component_el_select, {
|
|
178511
|
+
modelValue: formData.value["pre" + __props.field.preps["name"]],
|
|
178512
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value["pre" + __props.field.preps["name"]] = $event)
|
|
178513
|
+
}, {
|
|
178514
|
+
default: withCtx(() => [
|
|
178515
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps["prependList"], (item) => {
|
|
178516
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
178517
|
+
key: item.value,
|
|
178518
|
+
label: item.name,
|
|
178519
|
+
value: item.value
|
|
178520
|
+
}, null, 8, ["label", "value"]);
|
|
178521
|
+
}), 128))
|
|
178522
|
+
]),
|
|
178523
|
+
_: 1
|
|
178524
|
+
}, 8, ["modelValue"])
|
|
178525
|
+
]),
|
|
178526
|
+
key: "1"
|
|
178527
|
+
} : void 0,
|
|
178528
|
+
__props.field.preps["appendText"] ? {
|
|
178529
|
+
name: "append",
|
|
178530
|
+
fn: withCtx(() => [
|
|
178531
|
+
createTextVNode(toDisplayString(__props.field.preps["appendText"]), 1)
|
|
178532
|
+
]),
|
|
178533
|
+
key: "2"
|
|
178534
|
+
} : void 0,
|
|
178535
|
+
__props.field.preps["appendAction"] ? {
|
|
178536
|
+
name: "append",
|
|
178537
|
+
fn: withCtx(() => [
|
|
178538
|
+
createVNode(_component_star_horse_icon, {
|
|
178539
|
+
title: __props.field.preps["appendAction"].actionTitle,
|
|
178540
|
+
style: { "cursor": "pointer" },
|
|
178541
|
+
"icon-class": __props.field.preps["appendAction"].icon || "document",
|
|
178542
|
+
onClick: _cache[1] || (_cache[1] = ($event) => __props.field.preps["appendAction"].actions(formData.value))
|
|
178543
|
+
}, null, 8, ["title", "icon-class"])
|
|
178544
|
+
]),
|
|
178545
|
+
key: "3"
|
|
178546
|
+
} : void 0,
|
|
178547
|
+
__props.field.preps["appendList"] ? {
|
|
178548
|
+
name: "append",
|
|
178549
|
+
fn: withCtx(() => [
|
|
178550
|
+
createVNode(_component_el_select, {
|
|
178551
|
+
modelValue: formData.value["app" + __props.field.preps["name"]],
|
|
178552
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.value["app" + __props.field.preps["name"]] = $event)
|
|
178553
|
+
}, {
|
|
178554
|
+
default: withCtx(() => [
|
|
178555
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps["appendList"], (item) => {
|
|
178556
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
178557
|
+
key: item.value,
|
|
178558
|
+
label: item.name,
|
|
178559
|
+
value: item.value
|
|
178560
|
+
}, null, 8, ["label", "value"]);
|
|
178561
|
+
}), 128))
|
|
178562
|
+
]),
|
|
178563
|
+
_: 1
|
|
178564
|
+
}, 8, ["modelValue"])
|
|
178565
|
+
]),
|
|
178566
|
+
key: "4"
|
|
178567
|
+
} : void 0
|
|
178568
|
+
]), 1032, ["clearable", "disabled", "max", "maxlength", "min", "autofocus", "minlength", "placeholder", "readonly", "size", "fid", "modelValue"])
|
|
178569
|
+
]),
|
|
178570
|
+
_: 1
|
|
178571
|
+
}, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
178572
|
+
};
|
|
178573
|
+
}
|
|
178574
|
+
});
|
|
178575
|
+
|
|
178576
|
+
/* unplugin-vue-components disabled */
|
|
178577
|
+
|
|
178578
|
+
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-343eeecf"]]);
|
|
178579
|
+
|
|
178580
|
+
const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
178581
|
+
__proto__: null,
|
|
178582
|
+
default: inputItem
|
|
178583
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
178584
|
+
|
|
178550
178585
|
const _hoisted_1$9 = { class: "json-comp" };
|
|
178551
178586
|
const _hoisted_2$6 = { class: "json-box" };
|
|
178552
178587
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
@@ -178620,21 +178655,21 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
178620
178655
|
allAction(props, emits, formData, prep);
|
|
178621
178656
|
};
|
|
178622
178657
|
const editJsonData = async () => {
|
|
178623
|
-
let jsonStr =
|
|
178624
|
-
let
|
|
178658
|
+
let jsonStr = formData.value[props.field.preps["name"]];
|
|
178659
|
+
let temp = {};
|
|
178625
178660
|
if (jsonStr) {
|
|
178626
|
-
|
|
178627
|
-
jsonArray.value =
|
|
178661
|
+
temp["jsonDatas"] = JSON.parse(jsonStr);
|
|
178662
|
+
jsonArray.value = temp["jsonDatas"];
|
|
178628
178663
|
}
|
|
178629
178664
|
dialogInputVisible.value = true;
|
|
178630
178665
|
await nextTick();
|
|
178631
178666
|
if (props.field.preps["devType"] != "Y") {
|
|
178632
|
-
jsonFormRef.value.setFormData(
|
|
178667
|
+
jsonFormRef.value.setFormData(temp);
|
|
178633
178668
|
}
|
|
178634
178669
|
};
|
|
178635
178670
|
const selectItem = async () => {
|
|
178636
178671
|
if (props.field.preps["devType"] == "Y") {
|
|
178637
|
-
formData[props.field.preps["name"]] = JSON.stringify(jsonArray.value, null, 4);
|
|
178672
|
+
formData.value[props.field.preps["name"]] = JSON.stringify(jsonArray.value, null, 4);
|
|
178638
178673
|
} else {
|
|
178639
178674
|
let flag = false;
|
|
178640
178675
|
await jsonFormRef.value.$refs.starHorseFormRef.validate((res) => {
|
|
@@ -178643,9 +178678,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
178643
178678
|
if (!flag) {
|
|
178644
178679
|
return;
|
|
178645
178680
|
}
|
|
178646
|
-
let
|
|
178647
|
-
let dataList =
|
|
178648
|
-
|
|
178681
|
+
let temp = jsonFormRef.value.getFormData().value;
|
|
178682
|
+
let dataList = temp["jsonDatas"];
|
|
178683
|
+
formData.value[props.field.preps["name"]] = JSON.stringify(dataList, null, 4);
|
|
178649
178684
|
}
|
|
178650
178685
|
closeAction();
|
|
178651
178686
|
};
|
|
@@ -178744,7 +178779,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
178744
178779
|
|
|
178745
178780
|
/* unplugin-vue-components disabled */
|
|
178746
178781
|
|
|
178747
|
-
const jsonArrayItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
178782
|
+
const jsonArrayItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-5642ee48"]]);
|
|
178748
178783
|
|
|
178749
178784
|
const jsonArrayItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
178750
178785
|
__proto__: null,
|
|
@@ -178824,8 +178859,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
178824
178859
|
allAction(props, emits, formData, prep);
|
|
178825
178860
|
};
|
|
178826
178861
|
const editJsonData = async () => {
|
|
178827
|
-
let jsonStr =
|
|
178828
|
-
let
|
|
178862
|
+
let jsonStr = formData.value[props.field.preps["name"]];
|
|
178863
|
+
let temp = {};
|
|
178829
178864
|
if (jsonStr) {
|
|
178830
178865
|
jsonObject.value = JSON.parse(jsonStr);
|
|
178831
178866
|
let arr = [];
|
|
@@ -178835,17 +178870,17 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
178835
178870
|
value: jsonObject.value[key]
|
|
178836
178871
|
});
|
|
178837
178872
|
}
|
|
178838
|
-
|
|
178873
|
+
temp["jsonDatas"] = arr;
|
|
178839
178874
|
}
|
|
178840
178875
|
dialogInputVisible.value = true;
|
|
178841
178876
|
await nextTick();
|
|
178842
178877
|
if (props.field.preps["devType"] != "Y") {
|
|
178843
|
-
jsonFormRef.value.setFormData(
|
|
178878
|
+
jsonFormRef.value.setFormData(temp);
|
|
178844
178879
|
}
|
|
178845
178880
|
};
|
|
178846
178881
|
const selectItem = async () => {
|
|
178847
178882
|
if (props.field.preps["devType"] == "Y") {
|
|
178848
|
-
formData[props.field.preps["name"]] = JSON.stringify(jsonObject.value, null, 4);
|
|
178883
|
+
formData.value[props.field.preps["name"]] = JSON.stringify(jsonObject.value, null, 4);
|
|
178849
178884
|
} else {
|
|
178850
178885
|
let flag = false;
|
|
178851
178886
|
await jsonFormRef.value.$refs.starHorseFormRef.validate((res) => {
|
|
@@ -178854,13 +178889,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
178854
178889
|
if (!flag) {
|
|
178855
178890
|
return;
|
|
178856
178891
|
}
|
|
178857
|
-
let
|
|
178858
|
-
let dataList =
|
|
178892
|
+
let temp = jsonFormRef.value.getFormData().value;
|
|
178893
|
+
let dataList = temp["jsonDatas"];
|
|
178859
178894
|
let jsonData = {};
|
|
178860
178895
|
dataList.forEach((item) => {
|
|
178861
178896
|
jsonData[item.name] = item.value;
|
|
178862
178897
|
});
|
|
178863
|
-
|
|
178898
|
+
formData.value[props.field.preps["name"]] = JSON.stringify(jsonData, null, 4);
|
|
178864
178899
|
}
|
|
178865
178900
|
closeAction();
|
|
178866
178901
|
};
|
|
@@ -178959,7 +178994,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
178959
178994
|
|
|
178960
178995
|
/* unplugin-vue-components disabled */
|
|
178961
178996
|
|
|
178962
|
-
const jsonItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
178997
|
+
const jsonItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-804417de"]]);
|
|
178963
178998
|
|
|
178964
178999
|
const jsonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
178965
179000
|
__proto__: null,
|
|
@@ -179222,24 +179257,24 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
179222
179257
|
};
|
|
179223
179258
|
useSlots();
|
|
179224
179259
|
const itemAction = (prep) => {
|
|
179225
|
-
let min = formData[props.field.preps["minName"]];
|
|
179226
|
-
let max = formData[props.field.preps["maxName"]];
|
|
179260
|
+
let min = formData.value[props.field.preps["minName"]];
|
|
179261
|
+
let max = formData.value[props.field.preps["maxName"]];
|
|
179227
179262
|
if (max < min) {
|
|
179228
179263
|
warning$3("最大值不能小于最小值");
|
|
179229
179264
|
return;
|
|
179230
179265
|
}
|
|
179231
|
-
formData[props.field.preps["name"]] = `${min}-${max}`;
|
|
179266
|
+
formData.value[props.field.preps["name"]] = `${min}-${max}`;
|
|
179232
179267
|
allAction(props, emits, formData, prep);
|
|
179233
179268
|
};
|
|
179234
179269
|
onMounted(() => {
|
|
179235
179270
|
actionName.value = props.field.preps?.actionName || "normal";
|
|
179236
179271
|
props.field.preps["maxName"] = props.field.preps["name"] + "Max";
|
|
179237
179272
|
props.field.preps["minName"] = props.field.preps["name"] + "Min";
|
|
179238
|
-
let val = formData[props.field.preps["name"]];
|
|
179273
|
+
let val = formData.value[props.field.preps["name"]];
|
|
179239
179274
|
if (val) {
|
|
179240
179275
|
let data = val.split("-");
|
|
179241
|
-
formData[props.field.preps["minName"]] = Number(data[0]);
|
|
179242
|
-
formData[props.field.preps["maxName"]] = Number(data[1]);
|
|
179276
|
+
formData.value[props.field.preps["minName"]] = Number(data[0]);
|
|
179277
|
+
formData.value[props.field.preps["maxName"]] = Number(data[1]);
|
|
179243
179278
|
}
|
|
179244
179279
|
if (!props.isSearch) {
|
|
179245
179280
|
allAction(props, emits, formData, actionName.value, true);
|
|
@@ -179329,7 +179364,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
179329
179364
|
|
|
179330
179365
|
/* unplugin-vue-components disabled */
|
|
179331
179366
|
|
|
179332
|
-
const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
179367
|
+
const numberRangeItem = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e7734a8e"]]);
|
|
179333
179368
|
|
|
179334
179369
|
const numberRangeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
179335
179370
|
__proto__: null,
|
|
@@ -179403,7 +179438,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
179403
179438
|
}
|
|
179404
179439
|
if (isInit) {
|
|
179405
179440
|
let fieldName = loadSourceField();
|
|
179406
|
-
let value = formData[props.field.preps["aliasName"] || props.field.preps["name"]];
|
|
179441
|
+
let value = formData.value[props.field.preps["aliasName"] || props.field.preps["name"]];
|
|
179407
179442
|
if (fieldName && value) {
|
|
179408
179443
|
if ("Y" == props.field.preps["multiple"]) {
|
|
179409
179444
|
searchData.value.push(createCondition(fieldName, Array.isArray(value) ? value : value.split(";"), "in"));
|
|
@@ -179492,13 +179527,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
179492
179527
|
value = value[0];
|
|
179493
179528
|
}
|
|
179494
179529
|
if (fields.length == 1) {
|
|
179495
|
-
formData[name] = value;
|
|
179530
|
+
formData.value[name] = value;
|
|
179496
179531
|
} else {
|
|
179497
|
-
formData[temp.distField] = value;
|
|
179532
|
+
formData.value[temp.distField] = value;
|
|
179498
179533
|
}
|
|
179499
179534
|
});
|
|
179500
179535
|
} else {
|
|
179501
|
-
formData[name] = multipleSelection.value.map((item) => item[name]);
|
|
179536
|
+
formData.value[name] = multipleSelection.value.map((item) => item[name]);
|
|
179502
179537
|
}
|
|
179503
179538
|
if (props.field.preps["recall"]) {
|
|
179504
179539
|
props.field.preps["recall"](multipleSelection.value);
|
|
@@ -179649,7 +179684,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
179649
179684
|
|
|
179650
179685
|
/* unplugin-vue-components disabled */
|
|
179651
179686
|
|
|
179652
|
-
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
179687
|
+
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-36abc49e"]]);
|
|
179653
179688
|
|
|
179654
179689
|
const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
179655
179690
|
__proto__: null,
|
|
@@ -179982,8 +180017,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
179982
180017
|
const props = __props;
|
|
179983
180018
|
const emits = __emit;
|
|
179984
180019
|
const formData = useModel(__props, "formData");
|
|
179985
|
-
shallowRef({ label: "input", required: false });
|
|
179986
|
-
shallowRef("");
|
|
179987
180020
|
let actionName = shallowRef("change");
|
|
179988
180021
|
const itemAction = (prep) => {
|
|
179989
180022
|
allAction(props, emits, formData, prep);
|
|
@@ -180072,7 +180105,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
180072
180105
|
|
|
180073
180106
|
/* unplugin-vue-components disabled */
|
|
180074
180107
|
|
|
180075
|
-
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
180108
|
+
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-32d771ca"]]);
|
|
180076
180109
|
|
|
180077
180110
|
const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
180078
180111
|
__proto__: null,
|
|
@@ -181083,14 +181116,14 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
181083
181116
|
allAction(props, emits, formData, prep);
|
|
181084
181117
|
};
|
|
181085
181118
|
const maxEdit = () => {
|
|
181086
|
-
if (!formData["_" + props.field.preps["name"] + "Editable"] && props.field.preps["disabled"] == "Y") {
|
|
181119
|
+
if (!formData.value["_" + props.field.preps["name"] + "Editable"] && props.field.preps["disabled"] == "Y") {
|
|
181087
181120
|
return;
|
|
181088
181121
|
}
|
|
181089
|
-
dataField.value = formData[props.field.preps["name"]];
|
|
181122
|
+
dataField.value = formData.value[props.field.preps["name"]];
|
|
181090
181123
|
editorDialogVisible.value = true;
|
|
181091
181124
|
};
|
|
181092
181125
|
const dataMerge = () => {
|
|
181093
|
-
formData[props.field.preps["name"]] = dataField.value;
|
|
181126
|
+
formData.value[props.field.preps["name"]] = dataField.value;
|
|
181094
181127
|
};
|
|
181095
181128
|
onMounted(() => {
|
|
181096
181129
|
actionName.value = props.field.preps?.actionName || "normal";
|
|
@@ -181771,10 +181804,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
181771
181804
|
const selfAction = (prep, uploadFile, uploadFiles = [], param = {}) => {
|
|
181772
181805
|
if (prep == "success") {
|
|
181773
181806
|
let result = param.data;
|
|
181774
|
-
formData[props.field.preps["name"]] = result.path;
|
|
181807
|
+
formData.value[props.field.preps["name"]] = result.path;
|
|
181775
181808
|
if (!props.field.preps["keepResult"] || props.field.preps["keepResult"] == "Y") {
|
|
181776
181809
|
Object.entries(result).forEach(([key, value]) => {
|
|
181777
|
-
formData[key] = value;
|
|
181810
|
+
formData.value[key] = value;
|
|
181778
181811
|
});
|
|
181779
181812
|
}
|
|
181780
181813
|
}
|
|
@@ -181783,7 +181816,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
181783
181816
|
};
|
|
181784
181817
|
onMounted(async () => {
|
|
181785
181818
|
await nextTick();
|
|
181786
|
-
let datas = formData[props.field.preps["name"]];
|
|
181819
|
+
let datas = formData.value[props.field.preps["name"]];
|
|
181787
181820
|
if (datas) {
|
|
181788
181821
|
dataField.value.push({ url: (props.field.preps["context"] || "/system-config") + datas });
|
|
181789
181822
|
}
|
|
@@ -181886,7 +181919,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
181886
181919
|
|
|
181887
181920
|
/* unplugin-vue-components disabled */
|
|
181888
181921
|
|
|
181889
|
-
const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
181922
|
+
const uploadItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-8db7a83c"]]);
|
|
181890
181923
|
|
|
181891
181924
|
const uploadItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
181892
181925
|
__proto__: null,
|
|
@@ -181983,14 +182016,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
181983
182016
|
}
|
|
181984
182017
|
}
|
|
181985
182018
|
if (!needField) {
|
|
181986
|
-
formData[name] = temp[name].join(" ");
|
|
181987
|
-
formData[aliasName] = temp[aliasName].join(" ");
|
|
182019
|
+
formData.value[name] = temp[name].join(" ");
|
|
182020
|
+
formData.value[aliasName] = temp[aliasName].join(" ");
|
|
181988
182021
|
} else {
|
|
181989
182022
|
needField.forEach((item) => {
|
|
181990
182023
|
if (needField.length == 1) {
|
|
181991
|
-
formData[name] = temp[item.sourceField].join(" ");
|
|
182024
|
+
formData.value[name] = temp[item.sourceField].join(" ");
|
|
181992
182025
|
} else {
|
|
181993
|
-
formData[item.distField] = temp[item.distField].join(" ");
|
|
182026
|
+
formData.value[item.distField] = temp[item.distField].join(" ");
|
|
181994
182027
|
}
|
|
181995
182028
|
});
|
|
181996
182029
|
}
|
|
@@ -182014,7 +182047,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
182014
182047
|
if (fields) {
|
|
182015
182048
|
name = fields.map((item) => item.sourceField)[0];
|
|
182016
182049
|
}
|
|
182017
|
-
userTableRef.value.$refs.employeeInfoRef.setDataInfo(name, formData[realName]);
|
|
182050
|
+
userTableRef.value.$refs.employeeInfoRef.setDataInfo(name, formData.value[realName]);
|
|
182018
182051
|
});
|
|
182019
182052
|
};
|
|
182020
182053
|
return (_ctx, _cache) => {
|
|
@@ -192212,7 +192245,7 @@ const useContinusConfigStore = defineStore(
|
|
|
192212
192245
|
{}
|
|
192213
192246
|
);
|
|
192214
192247
|
|
|
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
|
|
192248
|
+
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
192249
|
|
|
192217
192250
|
|
|
192218
192251
|
|
|
@@ -195024,4 +195057,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
195024
195057
|
fullWidthButton: e
|
|
195025
195058
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
195026
195059
|
|
|
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,
|
|
195060
|
+
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 };
|