star-horse-lowcode 2.7.45 → 2.7.47
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 +5 -2
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +361 -359
- package/dist/types/index.d.ts +25 -33
- package/package.json +8 -8
package/dist/index.es.js
CHANGED
|
@@ -65921,8 +65921,8 @@ const _sfc_main$1Q = defineComponent({
|
|
|
65921
65921
|
};
|
|
65922
65922
|
}
|
|
65923
65923
|
});
|
|
65924
|
-
const _hoisted_1$
|
|
65925
|
-
const _hoisted_2$
|
|
65924
|
+
const _hoisted_1$Z = ["id"];
|
|
65925
|
+
const _hoisted_2$H = {
|
|
65926
65926
|
key: 0,
|
|
65927
65927
|
class: "m-message-icons"
|
|
65928
65928
|
};
|
|
@@ -65985,7 +65985,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
65985
65985
|
onMouseenter: _cache[2] || (_cache[2] = (...args) => _ctx.handleClearTimer && _ctx.handleClearTimer(...args)),
|
|
65986
65986
|
onMouseleave: _cache[3] || (_cache[3] = (...args) => _ctx.handleStartTimer && _ctx.handleStartTimer(...args))
|
|
65987
65987
|
}, [
|
|
65988
|
-
_ctx.iconURL || _ctx.type ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
65988
|
+
_ctx.iconURL || _ctx.type ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
|
|
65989
65989
|
_ctx.iconURL ? (openBlock(), createElementBlock("img", {
|
|
65990
65990
|
key: 0,
|
|
65991
65991
|
src: _ctx.iconURL,
|
|
@@ -66031,7 +66031,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
66031
66031
|
}, _hoisted_12)) : createCommentVNode("", true)
|
|
66032
66032
|
])
|
|
66033
66033
|
], 34)
|
|
66034
|
-
], 14, _hoisted_1$
|
|
66034
|
+
], 14, _hoisted_1$Z)) : createCommentVNode("", true)
|
|
66035
66035
|
]),
|
|
66036
66036
|
_: 3
|
|
66037
66037
|
});
|
|
@@ -66285,41 +66285,6 @@ function getFingerId() {
|
|
|
66285
66285
|
return sessionStorage.getItem("deviceId");
|
|
66286
66286
|
}
|
|
66287
66287
|
|
|
66288
|
-
/*!
|
|
66289
|
-
* vue-router v4.5.1
|
|
66290
|
-
* (c) 2025 Eduardo San Martin Morote
|
|
66291
|
-
* @license MIT
|
|
66292
|
-
*/
|
|
66293
|
-
var NavigationType;
|
|
66294
|
-
(function(NavigationType2) {
|
|
66295
|
-
NavigationType2["pop"] = "pop";
|
|
66296
|
-
NavigationType2["push"] = "push";
|
|
66297
|
-
})(NavigationType || (NavigationType = {}));
|
|
66298
|
-
var NavigationDirection;
|
|
66299
|
-
(function(NavigationDirection2) {
|
|
66300
|
-
NavigationDirection2["back"] = "back";
|
|
66301
|
-
NavigationDirection2["forward"] = "forward";
|
|
66302
|
-
NavigationDirection2["unknown"] = "";
|
|
66303
|
-
})(NavigationDirection || (NavigationDirection = {}));
|
|
66304
|
-
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
66305
|
-
var NavigationFailureType;
|
|
66306
|
-
(function(NavigationFailureType2) {
|
|
66307
|
-
NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
|
|
66308
|
-
NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
|
|
66309
|
-
NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
|
|
66310
|
-
})(NavigationFailureType || (NavigationFailureType = {}));
|
|
66311
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
66312
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
66313
|
-
const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
66314
|
-
const routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
66315
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
66316
|
-
function useRouter() {
|
|
66317
|
-
return inject(routerKey);
|
|
66318
|
-
}
|
|
66319
|
-
function useRoute(_name) {
|
|
66320
|
-
return inject(routeLocationKey);
|
|
66321
|
-
}
|
|
66322
|
-
|
|
66323
66288
|
const userStore = useUserInfoStore(piniaInstance);
|
|
66324
66289
|
const service = axios.create({
|
|
66325
66290
|
baseURL: "/",
|
|
@@ -66344,7 +66309,7 @@ service.interceptors.request.use(
|
|
|
66344
66309
|
}
|
|
66345
66310
|
);
|
|
66346
66311
|
function getMenuId() {
|
|
66347
|
-
const router =
|
|
66312
|
+
const router = window.__hostRouter__;
|
|
66348
66313
|
const meta = router?.currentRoute?.value?.meta;
|
|
66349
66314
|
let menuId = meta?.menuId;
|
|
66350
66315
|
if (!menuId) {
|
|
@@ -93079,9 +93044,64 @@ const batchModifyAction = (items, val, fieldName) => {
|
|
|
93079
93044
|
}
|
|
93080
93045
|
}
|
|
93081
93046
|
};
|
|
93082
|
-
|
|
93083
|
-
|
|
93084
|
-
|
|
93047
|
+
const inputType = ["input", "textarea", "password", "number", "view-markdown", "json", "json-array"];
|
|
93048
|
+
const selectType = ["select", "tselect", "cascader", "autocomplete", "area", "cron", "transfer", "dialog-input", "page-select"];
|
|
93049
|
+
function fieldPlaceholder(item, itemType) {
|
|
93050
|
+
if (!item.preps) {
|
|
93051
|
+
item.preps = {};
|
|
93052
|
+
}
|
|
93053
|
+
if (item.preps["noPlaceholder"]) {
|
|
93054
|
+
delete item.preps["placeholder"];
|
|
93055
|
+
delete item.preps["startPlaceholder"];
|
|
93056
|
+
delete item.preps["endPlaceholder"];
|
|
93057
|
+
delete item.preps["minPlaceholder"];
|
|
93058
|
+
delete item.preps["maxPlaceholder"];
|
|
93059
|
+
return;
|
|
93060
|
+
}
|
|
93061
|
+
if (inputType.includes(itemType)) {
|
|
93062
|
+
item.preps["placeholder"] = item.preps["placeholder"]?.trim() || "请输入" + item.label;
|
|
93063
|
+
} else if (selectType.includes(itemType)) {
|
|
93064
|
+
item.preps["placeholder"] = item.preps["placeholder"]?.trim() || "请选择" + item.label;
|
|
93065
|
+
}
|
|
93066
|
+
if (itemType == "datetime") {
|
|
93067
|
+
if (item?.type?.includes("range")) {
|
|
93068
|
+
item.preps["startPlaceholder"] = item.preps["startPlaceholder"]?.trim() || "请选择开始日期";
|
|
93069
|
+
item.preps["endPlaceholder"] = item.preps["endPlaceholder"]?.trim() || "请选择结束日期";
|
|
93070
|
+
} else {
|
|
93071
|
+
item.preps["placeholder"] = item.preps["placeholder"]?.trim() || "请选择" + item.label;
|
|
93072
|
+
}
|
|
93073
|
+
} else if (itemType == "number-range") {
|
|
93074
|
+
item.preps["minPlaceholder"] = item.preps["minPlaceholder"]?.trim() || "请输入最小值";
|
|
93075
|
+
item.preps["maxPlaceholder"] = item.preps["maxPlaceholder"]?.trim() || "请输入最大值";
|
|
93076
|
+
}
|
|
93077
|
+
}
|
|
93078
|
+
function itemCheck(item) {
|
|
93079
|
+
if (item?.compType == "formItem") {
|
|
93080
|
+
item.label = item.label || item.preps?.label;
|
|
93081
|
+
item.fieldName = item.fieldName || item.preps?.fieldName;
|
|
93082
|
+
item.type = item.type || item.itemType;
|
|
93083
|
+
item.actionName = item.actionName || item.preps?.actionName;
|
|
93084
|
+
item.actions = item.actions || item.preps?.actions;
|
|
93085
|
+
fieldPlaceholder(item, item.type);
|
|
93086
|
+
if (typeof item.actions === "string") {
|
|
93087
|
+
try {
|
|
93088
|
+
item.actions = new Function(item.actions);
|
|
93089
|
+
} catch (e) {
|
|
93090
|
+
console.error("actions 字符串转函数失败:", e);
|
|
93091
|
+
item.actions = null;
|
|
93092
|
+
}
|
|
93093
|
+
}
|
|
93094
|
+
}
|
|
93095
|
+
return item?.itemType + (item?.compType === "container" ? "-container" : "-item");
|
|
93096
|
+
}
|
|
93097
|
+
function createComponent(compInfo) {
|
|
93098
|
+
const app = __starHorseHostApp__;
|
|
93099
|
+
!app && console.log("app is null,please define __starHorseHostApp__");
|
|
93100
|
+
const existingComponent = app.component(compInfo.name);
|
|
93101
|
+
if (existingComponent) {
|
|
93102
|
+
return compInfo.name;
|
|
93103
|
+
}
|
|
93104
|
+
app?.component(compInfo.name, {
|
|
93085
93105
|
components: compInfo.components || {},
|
|
93086
93106
|
template: compInfo.template,
|
|
93087
93107
|
data: () => compInfo.data || {},
|
|
@@ -93094,6 +93114,7 @@ function createComponent(compInfo, app) {
|
|
|
93094
93114
|
onActivated: compInfo.onActivated,
|
|
93095
93115
|
onDeactivated: compInfo.onDeactivated
|
|
93096
93116
|
});
|
|
93117
|
+
return compInfo.name;
|
|
93097
93118
|
}
|
|
93098
93119
|
function removeEmptyCondition(condition) {
|
|
93099
93120
|
const params = [];
|
|
@@ -93195,6 +93216,41 @@ const useSelfOperationStore = defineStore("selfOperation", () => {
|
|
|
93195
93216
|
};
|
|
93196
93217
|
});
|
|
93197
93218
|
|
|
93219
|
+
/*!
|
|
93220
|
+
* vue-router v4.5.1
|
|
93221
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
93222
|
+
* @license MIT
|
|
93223
|
+
*/
|
|
93224
|
+
var NavigationType;
|
|
93225
|
+
(function(NavigationType2) {
|
|
93226
|
+
NavigationType2["pop"] = "pop";
|
|
93227
|
+
NavigationType2["push"] = "push";
|
|
93228
|
+
})(NavigationType || (NavigationType = {}));
|
|
93229
|
+
var NavigationDirection;
|
|
93230
|
+
(function(NavigationDirection2) {
|
|
93231
|
+
NavigationDirection2["back"] = "back";
|
|
93232
|
+
NavigationDirection2["forward"] = "forward";
|
|
93233
|
+
NavigationDirection2["unknown"] = "";
|
|
93234
|
+
})(NavigationDirection || (NavigationDirection = {}));
|
|
93235
|
+
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
93236
|
+
var NavigationFailureType;
|
|
93237
|
+
(function(NavigationFailureType2) {
|
|
93238
|
+
NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
|
|
93239
|
+
NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
|
|
93240
|
+
NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
|
|
93241
|
+
})(NavigationFailureType || (NavigationFailureType = {}));
|
|
93242
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
93243
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
93244
|
+
const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
93245
|
+
const routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
93246
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
93247
|
+
function useRouter() {
|
|
93248
|
+
return inject(routerKey);
|
|
93249
|
+
}
|
|
93250
|
+
function useRoute(_name) {
|
|
93251
|
+
return inject(routeLocationKey);
|
|
93252
|
+
}
|
|
93253
|
+
|
|
93198
93254
|
const userOperation$1 = useSelfOperationStore(piniaInstance);
|
|
93199
93255
|
const userFunction = (code, context, formData) => {
|
|
93200
93256
|
if (!code) {
|
|
@@ -93281,7 +93337,7 @@ function isPromise(obj) {
|
|
|
93281
93337
|
return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function" && typeof obj.catch === "function";
|
|
93282
93338
|
}
|
|
93283
93339
|
|
|
93284
|
-
const _hoisted_1$
|
|
93340
|
+
const _hoisted_1$Y = ["title"];
|
|
93285
93341
|
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
93286
93342
|
__name: "StarHorseIcon",
|
|
93287
93343
|
props: {
|
|
@@ -93328,7 +93384,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
93328
93384
|
"aria-hidden": "false",
|
|
93329
93385
|
class: normalizeClass([svgClass.value, iconName.value]),
|
|
93330
93386
|
title: __props.title
|
|
93331
|
-
}, null, 10, _hoisted_1$
|
|
93387
|
+
}, null, 10, _hoisted_1$Y);
|
|
93332
93388
|
};
|
|
93333
93389
|
}
|
|
93334
93390
|
});
|
|
@@ -93473,21 +93529,11 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
93473
93529
|
}, {
|
|
93474
93530
|
default: withCtx(() => [
|
|
93475
93531
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fieldList, (data, key) => {
|
|
93476
|
-
return openBlock(),
|
|
93477
|
-
key: unref(compKey)(data, key, false, "dyform")
|
|
93478
|
-
|
|
93479
|
-
|
|
93480
|
-
|
|
93481
|
-
field: data,
|
|
93482
|
-
formData: dataForm.value
|
|
93483
|
-
}, null, 8, ["field", "formData"])) : createCommentVNode("", true),
|
|
93484
|
-
data.compType === "formItem" ? (openBlock(), createBlock(resolveDynamicComponent(data.itemType + "-item"), {
|
|
93485
|
-
key: 1,
|
|
93486
|
-
id: data.id,
|
|
93487
|
-
field: data,
|
|
93488
|
-
formData: dataForm.value
|
|
93489
|
-
}, null, 8, ["id", "field", "formData"])) : createCommentVNode("", true)
|
|
93490
|
-
], 64);
|
|
93532
|
+
return openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
93533
|
+
key: unref(compKey)(data, key, false, "dyform"),
|
|
93534
|
+
field: data,
|
|
93535
|
+
formData: dataForm.value
|
|
93536
|
+
}, null, 8, ["field", "formData"]);
|
|
93491
93537
|
}), 128)),
|
|
93492
93538
|
__props.typeModel == "tab" ? (openBlock(), createBlock(_component_el_form_item, { key: 0 }, {
|
|
93493
93539
|
default: withCtx(() => [
|
|
@@ -93765,7 +93811,7 @@ function parseListData(item, val) {
|
|
|
93765
93811
|
return unref(item.preps?.values)?.find((temp) => temp.value == val)?.name || unref(item.preps?.data)?.find((temp) => temp.value == val)?.name || unref(item.optionList)?.find((temp) => temp.value == val)?.name || val;
|
|
93766
93812
|
}
|
|
93767
93813
|
|
|
93768
|
-
const _hoisted_1$
|
|
93814
|
+
const _hoisted_1$X = { style: { "font-size": "12px" } };
|
|
93769
93815
|
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
93770
93816
|
__name: "help",
|
|
93771
93817
|
props: {
|
|
@@ -93789,7 +93835,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
93789
93835
|
})
|
|
93790
93836
|
]),
|
|
93791
93837
|
default: withCtx(() => [
|
|
93792
|
-
createElementVNode("div", _hoisted_1$
|
|
93838
|
+
createElementVNode("div", _hoisted_1$X, [
|
|
93793
93839
|
createElementVNode("pre", null, toDisplayString(__props.message) + "\n ", 1)
|
|
93794
93840
|
])
|
|
93795
93841
|
]),
|
|
@@ -93804,7 +93850,7 @@ const help = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
93804
93850
|
default: _sfc_main$1N
|
|
93805
93851
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
93806
93852
|
|
|
93807
|
-
const _hoisted_1$
|
|
93853
|
+
const _hoisted_1$W = {
|
|
93808
93854
|
key: 2,
|
|
93809
93855
|
style: { "width": "15px" }
|
|
93810
93856
|
};
|
|
@@ -93880,29 +93926,6 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93880
93926
|
itemType.value = "datetime";
|
|
93881
93927
|
}
|
|
93882
93928
|
};
|
|
93883
|
-
const inputType = ["input", "textarea", "password", "number", "view-markdown", "json", "json-array"];
|
|
93884
|
-
const selectType = ["select", "tselect", "cascader", "autocomplete", "area", "cron", "transfer", "dialog-input", "page-select"];
|
|
93885
|
-
const fieldPlaceholder = () => {
|
|
93886
|
-
if (!props.item.preps) {
|
|
93887
|
-
props.item.preps = {};
|
|
93888
|
-
}
|
|
93889
|
-
if (inputType.includes(itemType.value)) {
|
|
93890
|
-
props.item.preps["placeholder"] = "请输入" + props.item.label;
|
|
93891
|
-
} else if (selectType.includes(itemType.value)) {
|
|
93892
|
-
props.item.preps["placeholder"] = "请选择" + props.item.label;
|
|
93893
|
-
}
|
|
93894
|
-
if (itemType.value == "datetime") {
|
|
93895
|
-
if (props.item?.type?.includes("range")) {
|
|
93896
|
-
props.item.preps["startPlaceholder"] = "请选择开始日期";
|
|
93897
|
-
props.item.preps["endPlaceholder"] = "请选择结束日期";
|
|
93898
|
-
} else {
|
|
93899
|
-
props.item.preps["placeholder"] = "请选择" + props.item.label;
|
|
93900
|
-
}
|
|
93901
|
-
} else if (itemType.value == "number-range") {
|
|
93902
|
-
props.item.preps["minPlaceholder"] = "请输入最小值";
|
|
93903
|
-
props.item.preps["maxPlaceholder"] = "请输入最大值";
|
|
93904
|
-
}
|
|
93905
|
-
};
|
|
93906
93929
|
const init = () => {
|
|
93907
93930
|
fieldType();
|
|
93908
93931
|
if (!props.item["id"]) {
|
|
@@ -93910,7 +93933,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
93910
93933
|
}
|
|
93911
93934
|
props.item["clearable"] = true;
|
|
93912
93935
|
props.item["readonly"] = props.item?.readonly || props.isView;
|
|
93913
|
-
fieldPlaceholder();
|
|
93936
|
+
fieldPlaceholder(props.item, itemType.value);
|
|
93914
93937
|
if (props.item.preps) {
|
|
93915
93938
|
let keys = Object.keys(props.item.preps);
|
|
93916
93939
|
for (let key in keys) {
|
|
@@ -94012,11 +94035,10 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
94012
94035
|
isSearch: __props.isSearch,
|
|
94013
94036
|
bareFlag: __props.bareFlag,
|
|
94014
94037
|
field: __props.item,
|
|
94015
|
-
dataIndex: __props.dataIndex,
|
|
94016
94038
|
formData: dataForm.value,
|
|
94017
94039
|
"onUpdate:formData": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event)
|
|
94018
|
-
}, null, 40, ["isDesign", "isSearch", "bareFlag", "field", "
|
|
94019
|
-
__props.item.brotherNodes ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
94040
|
+
}, null, 40, ["isDesign", "isSearch", "bareFlag", "field", "formData"])),
|
|
94041
|
+
__props.item.brotherNodes ? (openBlock(), createElementBlock("div", _hoisted_1$W)) : createCommentVNode("", true),
|
|
94020
94042
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.brotherNodes, (temp, key) => {
|
|
94021
94043
|
return openBlock(), createElementBlock(Fragment, {
|
|
94022
94044
|
key: unref(compKey)(temp, key)
|
|
@@ -94042,7 +94064,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
94042
94064
|
|
|
94043
94065
|
/* unplugin-vue-components disabled */
|
|
94044
94066
|
|
|
94045
|
-
const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-
|
|
94067
|
+
const __unplugin_components_0$a = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-6ce61068"]]);
|
|
94046
94068
|
|
|
94047
94069
|
const StarHorseItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
94048
94070
|
__proto__: null,
|
|
@@ -94112,7 +94134,7 @@ const ShTableListColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
|
|
|
94112
94134
|
default: _sfc_main$1L
|
|
94113
94135
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
94114
94136
|
|
|
94115
|
-
const _hoisted_1$
|
|
94137
|
+
const _hoisted_1$V = {
|
|
94116
94138
|
class: "flex-center",
|
|
94117
94139
|
style: { "gap": "4px", "grid-gap": "4px" }
|
|
94118
94140
|
};
|
|
@@ -94147,7 +94169,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
94147
94169
|
onClose
|
|
94148
94170
|
}, {
|
|
94149
94171
|
default: withCtx(() => [
|
|
94150
|
-
createElementVNode("div", _hoisted_1$
|
|
94172
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
94151
94173
|
createElementVNode("span", null, toDisplayString(_ctx.data[_ctx.displayName]), 1)
|
|
94152
94174
|
])
|
|
94153
94175
|
]),
|
|
@@ -94355,8 +94377,8 @@ function i18n(key, ...args) {
|
|
|
94355
94377
|
}
|
|
94356
94378
|
}
|
|
94357
94379
|
|
|
94358
|
-
const _hoisted_1$
|
|
94359
|
-
const _hoisted_2$
|
|
94380
|
+
const _hoisted_1$U = { class: "di animated animate__fadeIn" };
|
|
94381
|
+
const _hoisted_2$G = { class: "my-header" };
|
|
94360
94382
|
const _hoisted_3$r = { class: "shdialog" };
|
|
94361
94383
|
const _hoisted_4$j = { class: "dialog-body" };
|
|
94362
94384
|
const _hoisted_5$f = {
|
|
@@ -94463,7 +94485,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
94463
94485
|
const _component_el_button = ElButton;
|
|
94464
94486
|
const _component_el_dialog = ElDialog;
|
|
94465
94487
|
return openBlock(), createBlock(Teleport$1, { to: "body" }, [
|
|
94466
|
-
createElementVNode("div", _hoisted_1$
|
|
94488
|
+
createElementVNode("div", _hoisted_1$U, [
|
|
94467
94489
|
createVNode(_component_el_dialog, {
|
|
94468
94490
|
"append-to-body": false,
|
|
94469
94491
|
center: false,
|
|
@@ -94485,7 +94507,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
94485
94507
|
}, {
|
|
94486
94508
|
header: withCtx(({ close }) => [
|
|
94487
94509
|
createElementVNode("h3", { onDblclick: fullScreen }, toDisplayString(__props.title || __props.dialogProps.dialogTitle), 33),
|
|
94488
|
-
createElementVNode("div", _hoisted_2$
|
|
94510
|
+
createElementVNode("div", _hoisted_2$G, [
|
|
94489
94511
|
!__props.hideFullScreenIcon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
94490
94512
|
!!unref(isFullScreen) && __props.draggable ? (openBlock(), createBlock(_component_el_button, {
|
|
94491
94513
|
key: 0,
|
|
@@ -94672,8 +94694,8 @@ const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
|
|
|
94672
94694
|
default: __unplugin_components_0$9
|
|
94673
94695
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
94674
94696
|
|
|
94675
|
-
const _hoisted_1$
|
|
94676
|
-
const _hoisted_2$
|
|
94697
|
+
const _hoisted_1$T = { class: "data-line" };
|
|
94698
|
+
const _hoisted_2$F = { class: "flex-center" };
|
|
94677
94699
|
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
94678
94700
|
__name: "DataPicker",
|
|
94679
94701
|
props: {
|
|
@@ -94876,8 +94898,8 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
94876
94898
|
onNodeClick
|
|
94877
94899
|
}, {
|
|
94878
94900
|
default: withCtx(({ data }) => [
|
|
94879
|
-
createElementVNode("div", _hoisted_1$
|
|
94880
|
-
createElementVNode("div", _hoisted_2$
|
|
94901
|
+
createElementVNode("div", _hoisted_1$T, [
|
|
94902
|
+
createElementVNode("div", _hoisted_2$F, [
|
|
94881
94903
|
createVNode(_component_el_icon, { size: 16 }, {
|
|
94882
94904
|
default: withCtx(() => [
|
|
94883
94905
|
createVNode(_component_School)
|
|
@@ -94927,7 +94949,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
94927
94949
|
|
|
94928
94950
|
const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-08abd960"]]);
|
|
94929
94951
|
|
|
94930
|
-
const _hoisted_1$
|
|
94952
|
+
const _hoisted_1$S = { class: "data-wrapper" };
|
|
94931
94953
|
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
94932
94954
|
__name: "StarHorseDataSelector",
|
|
94933
94955
|
props: {
|
|
@@ -95001,7 +95023,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
95001
95023
|
modelValue: selectData.value,
|
|
95002
95024
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectData.value = $event)
|
|
95003
95025
|
}, null, 8, ["title", "datas", "data-url", "page-size", "display-name", "display-value", "checkStrictly", "multiple", "modelValue"]),
|
|
95004
|
-
createElementVNode("div", _hoisted_1$
|
|
95026
|
+
createElementVNode("div", _hoisted_1$S, [
|
|
95005
95027
|
createVNode(__unplugin_components_0$b, {
|
|
95006
95028
|
onClick: openDataPicker,
|
|
95007
95029
|
cursor: "pointer",
|
|
@@ -95090,8 +95112,8 @@ const StarHorseTableViewColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.
|
|
|
95090
95112
|
default: _sfc_main$1G
|
|
95091
95113
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
95092
95114
|
|
|
95093
|
-
const _hoisted_1$
|
|
95094
|
-
const _hoisted_2$
|
|
95115
|
+
const _hoisted_1$R = { style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" } };
|
|
95116
|
+
const _hoisted_2$E = { class: "tb_title" };
|
|
95095
95117
|
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
95096
95118
|
__name: "StarHorseDataViewTable",
|
|
95097
95119
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -95112,8 +95134,8 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
95112
95134
|
const _component_star_horse_table_view_column = _sfc_main$1G;
|
|
95113
95135
|
const _component_el_table = ElTable;
|
|
95114
95136
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
95115
|
-
createElementVNode("div", _hoisted_1$
|
|
95116
|
-
createElementVNode("div", _hoisted_2$
|
|
95137
|
+
createElementVNode("div", _hoisted_1$R, [
|
|
95138
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
95117
95139
|
createVNode(_component_star_horse_icon, {
|
|
95118
95140
|
"icon-class": "info",
|
|
95119
95141
|
size: "14px"
|
|
@@ -95371,7 +95393,7 @@ const StarHorseDataViewItems = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
|
|
|
95371
95393
|
default: __unplugin_components_0$7
|
|
95372
95394
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
95373
95395
|
|
|
95374
|
-
const _hoisted_1$
|
|
95396
|
+
const _hoisted_1$Q = { class: "star-horse-data-view" };
|
|
95375
95397
|
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
95376
95398
|
__name: "StarHorseDataView",
|
|
95377
95399
|
props: {
|
|
@@ -95463,7 +95485,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
95463
95485
|
});
|
|
95464
95486
|
return (_ctx, _cache) => {
|
|
95465
95487
|
const _component_star_horse_data_view_items = __unplugin_components_0$7;
|
|
95466
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
95488
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
95467
95489
|
createVNode(_component_star_horse_data_view_items, {
|
|
95468
95490
|
commonFormat: __props.dataFormat,
|
|
95469
95491
|
"field-list": __props.fieldList,
|
|
@@ -95484,7 +95506,7 @@ const StarHorseDataView$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
|
|
|
95484
95506
|
default: StarHorseDataView
|
|
95485
95507
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
95486
95508
|
|
|
95487
|
-
const _hoisted_1$
|
|
95509
|
+
const _hoisted_1$P = ["data", "onMouseup", "onMouseenter"];
|
|
95488
95510
|
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
95489
95511
|
...{
|
|
95490
95512
|
name: "PageEditorContentMenu"
|
|
@@ -95638,7 +95660,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
95638
95660
|
"icon-class": item.icon
|
|
95639
95661
|
}, null, 8, ["icon-class"]),
|
|
95640
95662
|
createTextVNode(" " + toDisplayString(item.text), 1)
|
|
95641
|
-
], 42, _hoisted_1$
|
|
95663
|
+
], 42, _hoisted_1$P)) : createCommentVNode("", true)
|
|
95642
95664
|
], 64);
|
|
95643
95665
|
}), 128)),
|
|
95644
95666
|
(openBlock(), createBlock(Teleport$1, { to: "body" }, [
|
|
@@ -96691,8 +96713,8 @@ function dynamicPageContextMenuData(node) {
|
|
|
96691
96713
|
return contentMenuData;
|
|
96692
96714
|
}
|
|
96693
96715
|
|
|
96694
|
-
const _hoisted_1$
|
|
96695
|
-
const _hoisted_2$
|
|
96716
|
+
const _hoisted_1$O = { class: "node__wrapper" };
|
|
96717
|
+
const _hoisted_2$D = {
|
|
96696
96718
|
key: 0,
|
|
96697
96719
|
class: "node-line node-line-left",
|
|
96698
96720
|
style: { "border-width": "1px", "border-color": "red" }
|
|
@@ -96897,8 +96919,8 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
96897
96919
|
onMouseup: endAction,
|
|
96898
96920
|
onMousemove: dragAction
|
|
96899
96921
|
}, [
|
|
96900
|
-
createElementVNode("div", _hoisted_1$
|
|
96901
|
-
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
96922
|
+
createElementVNode("div", _hoisted_1$O, [
|
|
96923
|
+
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$D)) : createCommentVNode("", true),
|
|
96902
96924
|
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_3$q)) : createCommentVNode("", true),
|
|
96903
96925
|
__props.isActive ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(pointList.value, (item, key) => {
|
|
96904
96926
|
return openBlock(), createElementBlock("div", {
|
|
@@ -99660,8 +99682,8 @@ const UTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProper
|
|
|
99660
99682
|
default: _sfc_main$1z
|
|
99661
99683
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
99662
99684
|
|
|
99663
|
-
const _hoisted_1$
|
|
99664
|
-
const _hoisted_2$
|
|
99685
|
+
const _hoisted_1$N = { class: "el-upload__tip" };
|
|
99686
|
+
const _hoisted_2$C = { class: "form-list" };
|
|
99665
99687
|
const _hoisted_3$p = { class: "dynamic-tools" };
|
|
99666
99688
|
const _hoisted_4$h = {
|
|
99667
99689
|
key: 0,
|
|
@@ -99933,7 +99955,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
99933
99955
|
drag: ""
|
|
99934
99956
|
}, {
|
|
99935
99957
|
tip: withCtx(() => [
|
|
99936
|
-
createElementVNode("div", _hoisted_1$
|
|
99958
|
+
createElementVNode("div", _hoisted_1$N, [
|
|
99937
99959
|
_cache[3] || (_cache[3] = createTextVNode(" 只能上传 xls/xlsx 文件类型 ")),
|
|
99938
99960
|
__props.importInfo?.downloadTemplateUrl ? (openBlock(), createBlock(_component_el_button, {
|
|
99939
99961
|
key: 0,
|
|
@@ -99981,7 +100003,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
99981
100003
|
]),
|
|
99982
100004
|
_: 1
|
|
99983
100005
|
}, 8, ["dialogVisible"])) : createCommentVNode("", true),
|
|
99984
|
-
createElementVNode("div", _hoisted_2$
|
|
100006
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
99985
100007
|
createElementVNode("div", _hoisted_3$p, [
|
|
99986
100008
|
!__props.subFlag ? (openBlock(), createElementBlock("div", _hoisted_4$h, [
|
|
99987
100009
|
createVNode(__unplugin_components_0$b, {
|
|
@@ -100509,9 +100531,6 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
100509
100531
|
for (let key in formFields) {
|
|
100510
100532
|
let temp = formFields[key];
|
|
100511
100533
|
let preps = temp?.preps;
|
|
100512
|
-
if (preps?.actionRelation) {
|
|
100513
|
-
temp.preps["actionRelation"](dataForm.value[temp.preps["name"]]);
|
|
100514
|
-
}
|
|
100515
100534
|
if (preps?.actions) {
|
|
100516
100535
|
temp.preps["actions"](dataForm.value);
|
|
100517
100536
|
}
|
|
@@ -100812,7 +100831,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
100812
100831
|
|
|
100813
100832
|
/* unplugin-vue-components disabled */
|
|
100814
100833
|
|
|
100815
|
-
const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-
|
|
100834
|
+
const __unplugin_components_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-81477a81"]]);
|
|
100816
100835
|
|
|
100817
100836
|
const StarHorseForm = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
100818
100837
|
__proto__: null,
|
|
@@ -145959,8 +145978,8 @@ const StarHorseJsonEditor = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
|
|
|
145959
145978
|
default: __unplugin_components_0$5
|
|
145960
145979
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
145961
145980
|
|
|
145962
|
-
const _hoisted_1$
|
|
145963
|
-
const _hoisted_2$
|
|
145981
|
+
const _hoisted_1$M = { class: "system-icon" };
|
|
145982
|
+
const _hoisted_2$B = ["onClick"];
|
|
145964
145983
|
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
145965
145984
|
__name: "StarHorsePopover",
|
|
145966
145985
|
props: {
|
|
@@ -146007,7 +146026,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
146007
146026
|
renderSlot(_ctx.$slots, "default")
|
|
146008
146027
|
]),
|
|
146009
146028
|
default: withCtx(() => [
|
|
146010
|
-
createElementVNode("ul", _hoisted_1$
|
|
146029
|
+
createElementVNode("ul", _hoisted_1$M, [
|
|
146011
146030
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(iconList), (sdata, key) => {
|
|
146012
146031
|
return openBlock(), createElementBlock("li", {
|
|
146013
146032
|
key: unref(compKey)(sdata, key),
|
|
@@ -146025,7 +146044,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
146025
146044
|
]),
|
|
146026
146045
|
_: 2
|
|
146027
146046
|
}, 1032, ["content"])
|
|
146028
|
-
], 10, _hoisted_2$
|
|
146047
|
+
], 10, _hoisted_2$B);
|
|
146029
146048
|
}), 128))
|
|
146030
146049
|
])
|
|
146031
146050
|
]),
|
|
@@ -146194,8 +146213,8 @@ function analysisFields(compList) {
|
|
|
146194
146213
|
return { fieldList, tabNames, objectNames, batchNames };
|
|
146195
146214
|
}
|
|
146196
146215
|
|
|
146197
|
-
const _hoisted_1$
|
|
146198
|
-
const _hoisted_2$
|
|
146216
|
+
const _hoisted_1$L = { class: "search_content" };
|
|
146217
|
+
const _hoisted_2$A = { class: "search_btn" };
|
|
146199
146218
|
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
146200
146219
|
__name: "StarHorseSearchComp",
|
|
146201
146220
|
props: {
|
|
@@ -146286,7 +146305,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
146286
146305
|
const _component_el_button = ElButton;
|
|
146287
146306
|
const _component_el_tooltip = ElTooltip;
|
|
146288
146307
|
const _component_el_form = ElForm;
|
|
146289
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
146308
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
146290
146309
|
__props.formData?.fieldList ? (openBlock(), createBlock(_component_el_form, {
|
|
146291
146310
|
key: 0,
|
|
146292
146311
|
class: "search_area",
|
|
@@ -146383,7 +146402,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
146383
146402
|
}), 256)),
|
|
146384
146403
|
createVNode(_component_el_form_item, { style: { "vertical-align": "middle", "align-items": "center" } }, {
|
|
146385
146404
|
default: withCtx(() => [
|
|
146386
|
-
createElementVNode("div", _hoisted_2$
|
|
146405
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
146387
146406
|
createVNode(_component_el_button, {
|
|
146388
146407
|
onClick: dataSearch,
|
|
146389
146408
|
style: { "background": "var(--star-horse-style)", "color": "var(--star-horse-white)" },
|
|
@@ -157161,7 +157180,7 @@ function requireJquery () {
|
|
|
157161
157180
|
var jqueryExports = requireJquery();
|
|
157162
157181
|
const jQuery = /*@__PURE__*/getDefaultExportFromCjs(jqueryExports);
|
|
157163
157182
|
|
|
157164
|
-
const _hoisted_1$
|
|
157183
|
+
const _hoisted_1$K = ["onClick"];
|
|
157165
157184
|
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
157166
157185
|
__name: "StarHorseTableColumn",
|
|
157167
157186
|
props: {
|
|
@@ -157181,6 +157200,17 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157181
157200
|
emits: ["focusEvent", "blurEvent"],
|
|
157182
157201
|
setup(__props, { emit: __emit }) {
|
|
157183
157202
|
const props = __props;
|
|
157203
|
+
const compInfo = computed(
|
|
157204
|
+
() => {
|
|
157205
|
+
return {
|
|
157206
|
+
...unref(props.item.preps?.compInfo),
|
|
157207
|
+
props: {
|
|
157208
|
+
data: { type: Object },
|
|
157209
|
+
item: { type: Object }
|
|
157210
|
+
}
|
|
157211
|
+
};
|
|
157212
|
+
}
|
|
157213
|
+
);
|
|
157184
157214
|
const currentRow = ref();
|
|
157185
157215
|
const focusEvent = (_column) => {
|
|
157186
157216
|
};
|
|
@@ -157308,19 +157338,11 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157308
157338
|
}, null, 8, ["dataForm", "item", "column", "batchName", "compSize"])
|
|
157309
157339
|
]),
|
|
157310
157340
|
default: withCtx(() => [
|
|
157311
|
-
|
|
157312
|
-
unref(createComponent)({
|
|
157313
|
-
...__props.item.preps.compField,
|
|
157314
|
-
props: {
|
|
157315
|
-
data: { type: Object },
|
|
157316
|
-
item: { type: Object }
|
|
157317
|
-
}
|
|
157318
|
-
}, _ctx.__starHorseHostApp__)
|
|
157319
|
-
), {
|
|
157341
|
+
compInfo.value.name ? (openBlock(), createBlock(resolveDynamicComponent(unref(createComponent)(compInfo.value)), {
|
|
157320
157342
|
key: 0,
|
|
157321
|
-
|
|
157322
|
-
|
|
157323
|
-
}, null, 8, ["
|
|
157343
|
+
item: __props.item,
|
|
157344
|
+
data: scope.row
|
|
157345
|
+
}, null, 8, ["item", "data"])) : createCommentVNode("", true)
|
|
157324
157346
|
]),
|
|
157325
157347
|
_: 2
|
|
157326
157348
|
}, 1032, ["placement"])) : (openBlock(), createBlock(__unplugin_components_0$a, mergeProps({
|
|
@@ -157332,7 +157354,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157332
157354
|
compSize: __props.compSize,
|
|
157333
157355
|
style: { ...__props.item.preps.styles }
|
|
157334
157356
|
}, {
|
|
157335
|
-
[toHandlerKey(__props.item.preps
|
|
157357
|
+
[toHandlerKey(__props.item.preps?.compAction)]: ($event) => __props.item.preps?.compFunc(scope.row)
|
|
157336
157358
|
}), null, 16, ["dataForm", "item", "column", "batchName", "compSize", "style"]))
|
|
157337
157359
|
], 64)) : prototypeCheck(__props.item) ? (openBlock(), createBlock(resolveDynamicComponent(
|
|
157338
157360
|
(__props.item.listPrototypeDisplay === true || __props.item.preps?.listPrototypeDisplay === true ? __props.item.type || "input" : __props.item.listPrototypeDisplay || __props.item.preps?.listPrototypeDisplay) + "-item"
|
|
@@ -157355,7 +157377,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157355
157377
|
}, null, 8, ["dataForm", "item", "column", "batchName", "compSize"])) : (openBlock(), createElementBlock("p", {
|
|
157356
157378
|
key: 1,
|
|
157357
157379
|
onClick: ($event) => cellClick(scope.row, scope.column)
|
|
157358
|
-
}, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$
|
|
157380
|
+
}, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$K))
|
|
157359
157381
|
], 64))
|
|
157360
157382
|
]),
|
|
157361
157383
|
_: 1
|
|
@@ -157366,15 +157388,15 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
157366
157388
|
|
|
157367
157389
|
/* unplugin-vue-components disabled */
|
|
157368
157390
|
|
|
157369
|
-
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-
|
|
157391
|
+
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-3f1b8777"]]);
|
|
157370
157392
|
|
|
157371
157393
|
const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
157372
157394
|
__proto__: null,
|
|
157373
157395
|
default: __unplugin_components_2$1
|
|
157374
157396
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
157375
157397
|
|
|
157376
|
-
const _hoisted_1$
|
|
157377
|
-
const _hoisted_2$
|
|
157398
|
+
const _hoisted_1$J = { class: "table-comp" };
|
|
157399
|
+
const _hoisted_2$z = {
|
|
157378
157400
|
key: 0,
|
|
157379
157401
|
style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
|
|
157380
157402
|
};
|
|
@@ -157558,8 +157580,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
157558
157580
|
const _component_el_table = ElTable;
|
|
157559
157581
|
const _component_el_popover = ElPopover;
|
|
157560
157582
|
const _component_star_horse_table_column = __unplugin_components_2$1;
|
|
157561
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
157562
|
-
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
157583
|
+
return openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
157584
|
+
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
157563
157585
|
createElementVNode("div", _hoisted_3$o, [
|
|
157564
157586
|
createVNode(_component_star_horse_icon, {
|
|
157565
157587
|
"icon-class": "info",
|
|
@@ -157823,11 +157845,11 @@ const useButtonPermissionStore = defineStore("buttonPermission", () => {
|
|
|
157823
157845
|
};
|
|
157824
157846
|
});
|
|
157825
157847
|
|
|
157826
|
-
const _hoisted_1$
|
|
157848
|
+
const _hoisted_1$I = {
|
|
157827
157849
|
key: 0,
|
|
157828
157850
|
class: "inner_button"
|
|
157829
157851
|
};
|
|
157830
|
-
const _hoisted_2$
|
|
157852
|
+
const _hoisted_2$y = { key: 0 };
|
|
157831
157853
|
const _hoisted_3$n = ["onClick", "title"];
|
|
157832
157854
|
const _hoisted_4$f = { class: "flex items-center w-[100%]" };
|
|
157833
157855
|
const _hoisted_5$c = ["onClick"];
|
|
@@ -158009,7 +158031,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
158009
158031
|
const _component_el_sub_menu = ElSubMenu;
|
|
158010
158032
|
const _component_el_menu = ElMenu;
|
|
158011
158033
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
158012
|
-
unref(showType) == "line" && Object.keys(unref(permissions) || {}).length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_1$
|
|
158034
|
+
unref(showType) == "line" && Object.keys(unref(permissions) || {}).length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_1$I, [
|
|
158013
158035
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(buttonList), (item, key) => {
|
|
158014
158036
|
return openBlock(), createElementBlock(Fragment, {
|
|
158015
158037
|
key: unref(compKey)(item, key)
|
|
@@ -158065,7 +158087,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
158065
158087
|
_: 2
|
|
158066
158088
|
}, 1032, ["size"])) : createCommentVNode("", true)
|
|
158067
158089
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
158068
|
-
unref(permissions)[item.authority] && item.authority == "upload" ? (openBlock(), createElementBlock("li", _hoisted_2$
|
|
158090
|
+
unref(permissions)[item.authority] && item.authority == "upload" ? (openBlock(), createElementBlock("li", _hoisted_2$y, [
|
|
158069
158091
|
createVNode(_component_el_upload, {
|
|
158070
158092
|
"auto-upload": true,
|
|
158071
158093
|
"on-change": upload,
|
|
@@ -158242,7 +158264,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
158242
158264
|
|
|
158243
158265
|
/* unplugin-vue-components disabled */
|
|
158244
158266
|
|
|
158245
|
-
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-
|
|
158267
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-dd9a12b9"]]);
|
|
158246
158268
|
|
|
158247
158269
|
const StarHorseButtonList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
158248
158270
|
__proto__: null,
|
|
@@ -158519,7 +158541,7 @@ const tableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
158519
158541
|
default: _sfc_main$1n
|
|
158520
158542
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
158521
158543
|
|
|
158522
|
-
const _hoisted_1$
|
|
158544
|
+
const _hoisted_1$H = { class: "el-dropdown-link" };
|
|
158523
158545
|
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
158524
158546
|
__name: "tablebtn",
|
|
158525
158547
|
props: {
|
|
@@ -158637,7 +158659,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
158637
158659
|
})
|
|
158638
158660
|
]),
|
|
158639
158661
|
default: withCtx(() => [
|
|
158640
|
-
createElementVNode("span", _hoisted_1$
|
|
158662
|
+
createElementVNode("span", _hoisted_1$H, [
|
|
158641
158663
|
createVNode(_component_star_horse_icon, {
|
|
158642
158664
|
"icon-class": "ellipsis",
|
|
158643
158665
|
style: { "color": "var(--star-horse-style)" }
|
|
@@ -158672,8 +158694,8 @@ const tablebtn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
158672
158694
|
default: _sfc_main$1m
|
|
158673
158695
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
158674
158696
|
|
|
158675
|
-
const _hoisted_1$
|
|
158676
|
-
const _hoisted_2$
|
|
158697
|
+
const _hoisted_1$G = { class: "star-horse-table" };
|
|
158698
|
+
const _hoisted_2$x = {
|
|
158677
158699
|
key: 0,
|
|
158678
158700
|
style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
|
|
158679
158701
|
};
|
|
@@ -159389,8 +159411,8 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
159389
159411
|
_: 1,
|
|
159390
159412
|
__: [7]
|
|
159391
159413
|
}, 8, ["dialogVisible"]),
|
|
159392
|
-
createElementVNode("div", _hoisted_1$
|
|
159393
|
-
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
159414
|
+
createElementVNode("div", _hoisted_1$G, [
|
|
159415
|
+
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
|
|
159394
159416
|
createElementVNode("div", _hoisted_3$m, [
|
|
159395
159417
|
__props.title || __props.helpMsg ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
|
|
159396
159418
|
__props.helpMsg ? (openBlock(), createBlock(_sfc_main$1N, {
|
|
@@ -159408,12 +159430,11 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
159408
159430
|
key: 1,
|
|
159409
159431
|
onTableCompFunc: _cache[1] || (_cache[1] = (fun) => tableCompFunc(fun)),
|
|
159410
159432
|
compUrl: __props.compUrl,
|
|
159411
|
-
|
|
159433
|
+
btnPermissions: unref(permissions),
|
|
159412
159434
|
extendBtns: __props.extendBtns,
|
|
159413
159435
|
dialogProps: unref(dialogProps),
|
|
159414
|
-
showType: "dropdown",
|
|
159415
159436
|
preValidFunc: __props.preValidFunc
|
|
159416
|
-
}, null, 8, ["compUrl", "
|
|
159437
|
+
}, null, 8, ["compUrl", "btnPermissions", "extendBtns", "dialogProps", "preValidFunc"])) : createCommentVNode("", true)
|
|
159417
159438
|
]),
|
|
159418
159439
|
createElementVNode("div", _hoisted_5$b, [
|
|
159419
159440
|
createVNode(_component_star_horse_icon, {
|
|
@@ -159738,15 +159759,15 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
159738
159759
|
|
|
159739
159760
|
/* unplugin-vue-components disabled */
|
|
159740
159761
|
|
|
159741
|
-
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-
|
|
159762
|
+
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-e12727ce"]]);
|
|
159742
159763
|
|
|
159743
159764
|
const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
159744
159765
|
__proto__: null,
|
|
159745
159766
|
default: __unplugin_components_1$1
|
|
159746
159767
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
159747
159768
|
|
|
159748
|
-
const _hoisted_1$
|
|
159749
|
-
const _hoisted_2$
|
|
159769
|
+
const _hoisted_1$F = ["onClick"];
|
|
159770
|
+
const _hoisted_2$w = { class: "name" };
|
|
159750
159771
|
const _hoisted_3$l = {
|
|
159751
159772
|
key: 0,
|
|
159752
159773
|
class: "btn"
|
|
@@ -159820,7 +159841,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
159820
159841
|
class: "menu-title",
|
|
159821
159842
|
onClick: ($event) => selectData(item, $event)
|
|
159822
159843
|
}, [
|
|
159823
|
-
createElementVNode("div", _hoisted_2$
|
|
159844
|
+
createElementVNode("div", _hoisted_2$w, toDisplayString(item[__props.preps.label]), 1),
|
|
159824
159845
|
__props.btnVisible || __props.rmvVisible ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
|
|
159825
159846
|
createVNode(_component_el_tooltip, { content: __props.btnTitle }, {
|
|
159826
159847
|
default: withCtx(() => [
|
|
@@ -159846,7 +159867,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
159846
159867
|
_: 2
|
|
159847
159868
|
}, 1032, ["content"])
|
|
159848
159869
|
])) : createCommentVNode("", true)
|
|
159849
|
-
], 8, _hoisted_1$
|
|
159870
|
+
], 8, _hoisted_1$F)
|
|
159850
159871
|
]),
|
|
159851
159872
|
default: withCtx(() => [
|
|
159852
159873
|
createVNode(_component_SubSystemMenu, {
|
|
@@ -159919,11 +159940,11 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
159919
159940
|
|
|
159920
159941
|
const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-6f7c685e"]]);
|
|
159921
159942
|
|
|
159922
|
-
const _hoisted_1$
|
|
159943
|
+
const _hoisted_1$E = {
|
|
159923
159944
|
key: 0,
|
|
159924
159945
|
class: "selected-data gap-2"
|
|
159925
159946
|
};
|
|
159926
|
-
const _hoisted_2$
|
|
159947
|
+
const _hoisted_2$v = { class: "tree-title" };
|
|
159927
159948
|
const _hoisted_3$k = { class: "title flex items-center" };
|
|
159928
159949
|
const _hoisted_4$c = {
|
|
159929
159950
|
key: 0,
|
|
@@ -160197,7 +160218,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
160197
160218
|
})
|
|
160198
160219
|
}, {
|
|
160199
160220
|
default: withCtx(() => [
|
|
160200
|
-
__props.showSelectData && unref(selectedDataList)?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
160221
|
+
__props.showSelectData && unref(selectedDataList)?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
160201
160222
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedDataList), (item) => {
|
|
160202
160223
|
return openBlock(), createBlock(_component_el_tag, {
|
|
160203
160224
|
key: unref(_compKey)(item, item[__props.preps.value]),
|
|
@@ -160211,7 +160232,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
160211
160232
|
}, 1032, ["onClose"]);
|
|
160212
160233
|
}), 128))
|
|
160213
160234
|
])) : createCommentVNode("", true),
|
|
160214
|
-
createElementVNode("div", _hoisted_2$
|
|
160235
|
+
createElementVNode("div", _hoisted_2$v, [
|
|
160215
160236
|
createElementVNode("div", _hoisted_3$k, [
|
|
160216
160237
|
createTextVNode(toDisplayString(__props.treeTitle) + " ", 1),
|
|
160217
160238
|
__props.helpMsg ? (openBlock(), createBlock(_sfc_main$1N, {
|
|
@@ -160765,8 +160786,8 @@ const tableAction = (props, buttonControl) => {
|
|
|
160765
160786
|
buttonControl.undoMergeColDisabled = undoMergeColAction(props);
|
|
160766
160787
|
};
|
|
160767
160788
|
|
|
160768
|
-
const _hoisted_1$
|
|
160769
|
-
const _hoisted_2$
|
|
160789
|
+
const _hoisted_1$D = { class: "component-list" };
|
|
160790
|
+
const _hoisted_2$u = { class: "title" };
|
|
160770
160791
|
const _hoisted_3$j = { id: "container" };
|
|
160771
160792
|
const _hoisted_4$b = ["onClick"];
|
|
160772
160793
|
const _hoisted_5$8 = { id: "basic" };
|
|
@@ -160795,8 +160816,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
160795
160816
|
const _component_el_divider = ElDivider;
|
|
160796
160817
|
const _component_star_horse_icon = __unplugin_components_0$b;
|
|
160797
160818
|
const _component_el_scrollbar = ElScrollbar;
|
|
160798
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
160799
|
-
createElementVNode("div", _hoisted_2$
|
|
160819
|
+
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
160820
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
160800
160821
|
createVNode(_component_el_anchor, {
|
|
160801
160822
|
type: "underline",
|
|
160802
160823
|
container: containerRef.value,
|
|
@@ -160981,11 +161002,11 @@ function fieldCopy(data, type) {
|
|
|
160981
161002
|
return mvData;
|
|
160982
161003
|
}
|
|
160983
161004
|
|
|
160984
|
-
const _hoisted_1$
|
|
161005
|
+
const _hoisted_1$C = {
|
|
160985
161006
|
key: 0,
|
|
160986
161007
|
class: "drag-handler"
|
|
160987
161008
|
};
|
|
160988
|
-
const _hoisted_2$
|
|
161009
|
+
const _hoisted_2$t = {
|
|
160989
161010
|
key: 1,
|
|
160990
161011
|
class: "field-action"
|
|
160991
161012
|
};
|
|
@@ -161183,7 +161204,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
161183
161204
|
onContextmenu: containerContextMenu
|
|
161184
161205
|
}, [
|
|
161185
161206
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
161186
|
-
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
161207
|
+
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
161187
161208
|
createVNode(_component_el_tooltip, { content: "拖动" }, {
|
|
161188
161209
|
default: withCtx(() => [
|
|
161189
161210
|
createVNode(_component_star_horse_icon, {
|
|
@@ -161217,7 +161238,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
161217
161238
|
_: 1
|
|
161218
161239
|
})
|
|
161219
161240
|
])) : createCommentVNode("", true),
|
|
161220
|
-
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
161241
|
+
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
|
|
161221
161242
|
__props.formItem.itemType == "dytable" || __props.formItem.itemType == "box" ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
161222
161243
|
key: 0,
|
|
161223
161244
|
content: "插入行"
|
|
@@ -161281,7 +161302,7 @@ const groupBoxContainer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
|
|
|
161281
161302
|
default: __unplugin_components_1
|
|
161282
161303
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
161283
161304
|
|
|
161284
|
-
const _hoisted_1$
|
|
161305
|
+
const _hoisted_1$B = { class: "comp-item" };
|
|
161285
161306
|
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
161286
161307
|
__name: "box-container",
|
|
161287
161308
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -161372,8 +161393,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
161372
161393
|
list: sdata.items
|
|
161373
161394
|
}, {
|
|
161374
161395
|
item: withCtx(({ element: data }) => [
|
|
161375
|
-
createElementVNode("div", _hoisted_1$
|
|
161376
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
161396
|
+
createElementVNode("div", _hoisted_1$B, [
|
|
161397
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
161377
161398
|
key: data.id,
|
|
161378
161399
|
field: data,
|
|
161379
161400
|
formInfo: __props.formInfo,
|
|
@@ -161399,7 +161420,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
161399
161420
|
}, {
|
|
161400
161421
|
default: withCtx(() => [
|
|
161401
161422
|
(openBlock(true), createElementBlock(Fragment, null, renderList(sdata.items, (data) => {
|
|
161402
|
-
return openBlock(), createBlock(resolveDynamicComponent(
|
|
161423
|
+
return openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
161403
161424
|
field: data,
|
|
161404
161425
|
isDesign: __props.isDesign,
|
|
161405
161426
|
disabled: __props.disabled,
|
|
@@ -161425,15 +161446,15 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
161425
161446
|
|
|
161426
161447
|
/* unplugin-vue-components disabled */
|
|
161427
161448
|
|
|
161428
|
-
const boxContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-
|
|
161449
|
+
const boxContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-b4acf15e"]]);
|
|
161429
161450
|
|
|
161430
161451
|
const boxContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
161431
161452
|
__proto__: null,
|
|
161432
161453
|
default: boxContainer
|
|
161433
161454
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
161434
161455
|
|
|
161435
|
-
const _hoisted_1$
|
|
161436
|
-
const _hoisted_2$
|
|
161456
|
+
const _hoisted_1$A = { class: "card-header flex items-center justify-between" };
|
|
161457
|
+
const _hoisted_2$s = { class: "w-[60%]" };
|
|
161437
161458
|
const _hoisted_3$h = { class: "comp-item" };
|
|
161438
161459
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
161439
161460
|
__name: "card-container",
|
|
@@ -161454,9 +161475,6 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
161454
161475
|
const isDragging = computed(() => designForm.isDragging);
|
|
161455
161476
|
const formData = useModel(__props, "formData");
|
|
161456
161477
|
let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
|
|
161457
|
-
const getComponentName = (data) => {
|
|
161458
|
-
return containerType.includes(data.itemType) ? data.itemType + "-container" : data.itemType + "-item";
|
|
161459
|
-
};
|
|
161460
161478
|
const isContainer = (data) => {
|
|
161461
161479
|
return containerType.includes(data.itemType);
|
|
161462
161480
|
};
|
|
@@ -161516,8 +161534,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
161516
161534
|
shadow: __props.field.preps["shadow"]
|
|
161517
161535
|
}, {
|
|
161518
161536
|
header: withCtx(() => [
|
|
161519
|
-
createElementVNode("div", _hoisted_1$
|
|
161520
|
-
createElementVNode("div", _hoisted_2$
|
|
161537
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
161538
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
161521
161539
|
createTextVNode(toDisplayString(adata.title || adata.tabName) + " ", 1),
|
|
161522
161540
|
adata.helpMsg ? (openBlock(), createBlock(_component_help, {
|
|
161523
161541
|
key: 0,
|
|
@@ -161543,7 +161561,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
161543
161561
|
class: "comp-item",
|
|
161544
161562
|
style: normalizeStyle({ marginTop: isContainer(header) ? "25px" : "10px" })
|
|
161545
161563
|
}, [
|
|
161546
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
161564
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(header)), {
|
|
161547
161565
|
key: header.id,
|
|
161548
161566
|
field: header,
|
|
161549
161567
|
isDesign: __props.isDesign,
|
|
@@ -161579,7 +161597,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
161579
161597
|
}, {
|
|
161580
161598
|
item: withCtx(({ element: item }) => [
|
|
161581
161599
|
createElementVNode("div", _hoisted_3$h, [
|
|
161582
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
161600
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(item)), {
|
|
161583
161601
|
key: item.id,
|
|
161584
161602
|
field: item,
|
|
161585
161603
|
isDesign: __props.isDesign,
|
|
@@ -161609,15 +161627,15 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
161609
161627
|
|
|
161610
161628
|
/* unplugin-vue-components disabled */
|
|
161611
161629
|
|
|
161612
|
-
const cardContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-
|
|
161630
|
+
const cardContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-fd710582"]]);
|
|
161613
161631
|
|
|
161614
161632
|
const cardContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
161615
161633
|
__proto__: null,
|
|
161616
161634
|
default: cardContainer
|
|
161617
161635
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
161618
161636
|
|
|
161619
|
-
const _hoisted_1$
|
|
161620
|
-
const _hoisted_2$
|
|
161637
|
+
const _hoisted_1$z = { class: "collapse-item-title title" };
|
|
161638
|
+
const _hoisted_2$r = { class: "comp-item" };
|
|
161621
161639
|
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
161622
161640
|
__name: "collapse-container",
|
|
161623
161641
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -161636,10 +161654,6 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
161636
161654
|
let designForm = useDesignFormStore(piniaInstance);
|
|
161637
161655
|
const isDragging = computed(() => designForm.isDragging);
|
|
161638
161656
|
const formData = useModel(__props, "formData");
|
|
161639
|
-
let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
|
|
161640
|
-
const getComponentName = (data) => {
|
|
161641
|
-
return containerType.includes(data.itemType) ? data.itemType + "-container" : data.itemType + "-item";
|
|
161642
|
-
};
|
|
161643
161657
|
const checkItem = (adata) => {
|
|
161644
161658
|
if (!adata["items"]) {
|
|
161645
161659
|
adata["items"] = [];
|
|
@@ -161707,7 +161721,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
161707
161721
|
name: adata.tabName
|
|
161708
161722
|
}, {
|
|
161709
161723
|
title: withCtx(() => [
|
|
161710
|
-
createElementVNode("div", _hoisted_1$
|
|
161724
|
+
createElementVNode("div", _hoisted_1$z, [
|
|
161711
161725
|
createElementVNode("div", null, toDisplayString(adata.label || adata.objectName), 1)
|
|
161712
161726
|
])
|
|
161713
161727
|
]),
|
|
@@ -161728,8 +161742,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
161728
161742
|
list: adata["items"]
|
|
161729
161743
|
}, {
|
|
161730
161744
|
item: withCtx(({ element: data }) => [
|
|
161731
|
-
createElementVNode("div", _hoisted_2$
|
|
161732
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
161745
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
161746
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
161733
161747
|
key: data.id,
|
|
161734
161748
|
field: data,
|
|
161735
161749
|
isDesign: __props.isDesign,
|
|
@@ -161762,15 +161776,15 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
161762
161776
|
|
|
161763
161777
|
/* unplugin-vue-components disabled */
|
|
161764
161778
|
|
|
161765
|
-
const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-
|
|
161779
|
+
const collapseContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-c32d2906"]]);
|
|
161766
161780
|
|
|
161767
161781
|
const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
161768
161782
|
__proto__: null,
|
|
161769
161783
|
default: collapseContainer
|
|
161770
161784
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
161771
161785
|
|
|
161772
|
-
const _hoisted_1$
|
|
161773
|
-
const _hoisted_2$
|
|
161786
|
+
const _hoisted_1$y = ["colspan", "rowspan"];
|
|
161787
|
+
const _hoisted_2$q = {
|
|
161774
161788
|
key: 0,
|
|
161775
161789
|
class: "table-cell-action"
|
|
161776
161790
|
};
|
|
@@ -161821,9 +161835,6 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
161821
161835
|
deleteWholeColDisabled: false,
|
|
161822
161836
|
deleteWholeRowDisabled: false
|
|
161823
161837
|
});
|
|
161824
|
-
const getComponentName = (data) => {
|
|
161825
|
-
return data?.itemType + "-item";
|
|
161826
|
-
};
|
|
161827
161838
|
const onDragAdd = (evt, dataList) => {
|
|
161828
161839
|
selectCurrentTd();
|
|
161829
161840
|
let newIndex = evt.newIndex;
|
|
@@ -161940,7 +161951,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
161940
161951
|
createElementVNode("div", {
|
|
161941
161952
|
class: normalizeClass({ "comp-item": data?.preps["headerFlag"] != "Y", "bare-item": data?.preps["headerFlag"] })
|
|
161942
161953
|
}, [
|
|
161943
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
161954
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
161944
161955
|
key: data?.id,
|
|
161945
161956
|
field: data,
|
|
161946
161957
|
formInfo: __props.formInfo,
|
|
@@ -161954,7 +161965,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
161954
161965
|
]),
|
|
161955
161966
|
_: 1
|
|
161956
161967
|
}, 8, ["item-key", "list"]),
|
|
161957
|
-
unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
161968
|
+
unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
|
|
161958
161969
|
createVNode(_component_el_dropdown, {
|
|
161959
161970
|
trigger: "click",
|
|
161960
161971
|
onCommand: handleTableCellCommand,
|
|
@@ -162118,21 +162129,21 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
162118
162129
|
_: 1
|
|
162119
162130
|
}, 8, ["size"])
|
|
162120
162131
|
])) : createCommentVNode("", true)
|
|
162121
|
-
], 46, _hoisted_1$
|
|
162132
|
+
], 46, _hoisted_1$y);
|
|
162122
162133
|
};
|
|
162123
162134
|
}
|
|
162124
162135
|
});
|
|
162125
162136
|
|
|
162126
162137
|
/* unplugin-vue-components disabled */
|
|
162127
162138
|
|
|
162128
|
-
const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-
|
|
162139
|
+
const DytableCol = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-c58af32d"]]);
|
|
162129
162140
|
|
|
162130
162141
|
const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
162131
162142
|
__proto__: null,
|
|
162132
162143
|
default: DytableCol
|
|
162133
162144
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
162134
162145
|
|
|
162135
|
-
const _hoisted_1$
|
|
162146
|
+
const _hoisted_1$x = { class: "dy-tr" };
|
|
162136
162147
|
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
162137
162148
|
__name: "dytable-container",
|
|
162138
162149
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -162166,7 +162177,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
162166
162177
|
}, [
|
|
162167
162178
|
createElementVNode("tbody", null, [
|
|
162168
162179
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps.elements, (row, rowIndex) => {
|
|
162169
|
-
return openBlock(), createElementBlock("tr", _hoisted_1$
|
|
162180
|
+
return openBlock(), createElementBlock("tr", _hoisted_1$x, [
|
|
162170
162181
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row.columns, (td, colIndex) => {
|
|
162171
162182
|
return openBlock(), createBlock(DytableCol, {
|
|
162172
162183
|
field: td,
|
|
@@ -162224,9 +162235,6 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
162224
162235
|
const isDragging = computed(() => designForm.isDragging);
|
|
162225
162236
|
const formData = useModel(__props, "formData");
|
|
162226
162237
|
let containerType = ["tab", "box", "table", "card", "dytable", "collapse"];
|
|
162227
|
-
const getComponentName = (data) => {
|
|
162228
|
-
return containerType.includes(data.itemType) ? data.itemType + "-container" : data.itemType + "-item";
|
|
162229
|
-
};
|
|
162230
162238
|
const isContainer = (data) => {
|
|
162231
162239
|
return containerType.includes(data.itemType);
|
|
162232
162240
|
};
|
|
@@ -162335,7 +162343,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
162335
162343
|
class: "comp-item",
|
|
162336
162344
|
style: normalizeStyle({ marginTop: isContainer(data) ? "25px" : "10px" })
|
|
162337
162345
|
}, [
|
|
162338
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
162346
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
162339
162347
|
key: data.id,
|
|
162340
162348
|
field: data,
|
|
162341
162349
|
isDesign: __props.isDesign,
|
|
@@ -162368,15 +162376,15 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
162368
162376
|
|
|
162369
162377
|
/* unplugin-vue-components disabled */
|
|
162370
162378
|
|
|
162371
|
-
const tabContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-
|
|
162379
|
+
const tabContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-b2686567"]]);
|
|
162372
162380
|
|
|
162373
162381
|
const tabContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
162374
162382
|
__proto__: null,
|
|
162375
162383
|
default: tabContainer
|
|
162376
162384
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
162377
162385
|
|
|
162378
|
-
const _hoisted_1$
|
|
162379
|
-
const _hoisted_2$
|
|
162386
|
+
const _hoisted_1$w = { class: "container-thead" };
|
|
162387
|
+
const _hoisted_2$p = ["onMouseenter", "onMouseleave"];
|
|
162380
162388
|
const _hoisted_3$g = {
|
|
162381
162389
|
key: 0,
|
|
162382
162390
|
class: "td-operator"
|
|
@@ -162405,9 +162413,6 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
162405
162413
|
let isEdit = computed(() => designForm.isEdit);
|
|
162406
162414
|
const isDragging = computed(() => designForm.isDragging);
|
|
162407
162415
|
const formData = useModel(__props, "formData");
|
|
162408
|
-
const getComponentName = (data) => {
|
|
162409
|
-
return data?.itemType + "-item";
|
|
162410
|
-
};
|
|
162411
162416
|
const onDragAdd = (evt, dataList) => {
|
|
162412
162417
|
let newIndex = evt.newIndex;
|
|
162413
162418
|
if (excludeContainerType.includes(draggingItem.value.itemType)) {
|
|
@@ -162493,7 +162498,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
162493
162498
|
border: unref(isEdit) && __props.isDesign ? "1px solid #dfe6ec" : "none"
|
|
162494
162499
|
})
|
|
162495
162500
|
}, [
|
|
162496
|
-
createElementVNode("thead", _hoisted_1$
|
|
162501
|
+
createElementVNode("thead", _hoisted_1$w, [
|
|
162497
162502
|
createElementVNode("tr", null, [
|
|
162498
162503
|
(openBlock(true), createElementBlock(Fragment, null, renderList(parseInt(__props.field.preps.columns || 1), (td) => {
|
|
162499
162504
|
return openBlock(), createElementBlock("th", {
|
|
@@ -162513,7 +162518,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
162513
162518
|
}, 1024)
|
|
162514
162519
|
])) : createCommentVNode("", true),
|
|
162515
162520
|
createTextVNode(" " + toDisplayString(analysisData(td)), 1)
|
|
162516
|
-
], 40, _hoisted_2$
|
|
162521
|
+
], 40, _hoisted_2$p);
|
|
162517
162522
|
}), 256))
|
|
162518
162523
|
])
|
|
162519
162524
|
]),
|
|
@@ -162538,7 +162543,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
162538
162543
|
}, {
|
|
162539
162544
|
item: withCtx(({ element: data }) => [
|
|
162540
162545
|
createElementVNode("div", _hoisted_5$7, [
|
|
162541
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
162546
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
162542
162547
|
key: data?.id,
|
|
162543
162548
|
field: data,
|
|
162544
162549
|
isDesign: __props.isDesign,
|
|
@@ -162566,18 +162571,18 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
162566
162571
|
|
|
162567
162572
|
/* unplugin-vue-components disabled */
|
|
162568
162573
|
|
|
162569
|
-
const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-
|
|
162574
|
+
const tableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-77a5f30f"]]);
|
|
162570
162575
|
|
|
162571
162576
|
const tableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
162572
162577
|
__proto__: null,
|
|
162573
162578
|
default: tableContainer
|
|
162574
162579
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
162575
162580
|
|
|
162576
|
-
const _hoisted_1$
|
|
162581
|
+
const _hoisted_1$v = {
|
|
162577
162582
|
key: 1,
|
|
162578
162583
|
class: "form-item-operation"
|
|
162579
162584
|
};
|
|
162580
|
-
const _hoisted_2$
|
|
162585
|
+
const _hoisted_2$o = {
|
|
162581
162586
|
key: 2,
|
|
162582
162587
|
class: "field-action"
|
|
162583
162588
|
};
|
|
@@ -162686,7 +162691,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
162686
162691
|
message: __props.formItem.preps?.helpMsg
|
|
162687
162692
|
}, null, 8, ["message"])) : createCommentVNode("", true),
|
|
162688
162693
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
162689
|
-
], 6)) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
162694
|
+
], 6)) : (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
162690
162695
|
__props.isDesign ? (openBlock(), createElementBlock("div", {
|
|
162691
162696
|
key: 0,
|
|
162692
162697
|
class: normalizeClass(["w-fill", {
|
|
@@ -162730,7 +162735,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
162730
162735
|
}, null, 8, ["message"])) : createCommentVNode("", true),
|
|
162731
162736
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
162732
162737
|
], 6)),
|
|
162733
|
-
unref(isEdit) && !__props.disabled && unref(currentItemId) == __props.formItem?.preps.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
162738
|
+
unref(isEdit) && !__props.disabled && unref(currentItemId) == __props.formItem?.preps.id ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
|
|
162734
162739
|
__props.parentField?.itemType ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
162735
162740
|
key: 0,
|
|
162736
162741
|
content: "选择父容器"
|
|
@@ -162954,9 +162959,6 @@ const allAction = (context, emits, formData, actionName, isInit = false) => {
|
|
|
162954
162959
|
if (actionName == "input" && actionName != tempName) {
|
|
162955
162960
|
return;
|
|
162956
162961
|
}
|
|
162957
|
-
if (actionName == field.actionName && field.actionRelation) {
|
|
162958
|
-
field.actionRelation(currentData[field.fieldName], currentData["xh"]);
|
|
162959
|
-
}
|
|
162960
162962
|
};
|
|
162961
162963
|
const buttonAction = (context, emits, formData, code) => {
|
|
162962
162964
|
const currentData = isRef(formData) ? formData.value : formData;
|
|
@@ -163101,7 +163103,7 @@ const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
|
|
|
163101
163103
|
default: areaItem
|
|
163102
163104
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
163103
163105
|
|
|
163104
|
-
const _hoisted_1$
|
|
163106
|
+
const _hoisted_1$u = ["fid"];
|
|
163105
163107
|
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
163106
163108
|
__name: "audio-item",
|
|
163107
163109
|
props: {
|
|
@@ -163220,7 +163222,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
163220
163222
|
ref_key: "audio",
|
|
163221
163223
|
ref: audio,
|
|
163222
163224
|
controls: ""
|
|
163223
|
-
}, null, 8, _hoisted_1$
|
|
163225
|
+
}, null, 8, _hoisted_1$u)
|
|
163224
163226
|
]),
|
|
163225
163227
|
_: 1
|
|
163226
163228
|
}, 8, ["isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -163863,8 +163865,8 @@ const colorItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty(
|
|
|
163863
163865
|
default: _sfc_main$11
|
|
163864
163866
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
163865
163867
|
|
|
163866
|
-
const _hoisted_1$
|
|
163867
|
-
const _hoisted_2$
|
|
163868
|
+
const _hoisted_1$t = { class: "popup-result" };
|
|
163869
|
+
const _hoisted_2$n = { class: "popup-result-scroll" };
|
|
163868
163870
|
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
163869
163871
|
__name: "Crontab-Result",
|
|
163870
163872
|
props: {
|
|
@@ -164338,9 +164340,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
164338
164340
|
});
|
|
164339
164341
|
return (_ctx, _cache) => {
|
|
164340
164342
|
const _component_el_tag = ElTag;
|
|
164341
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
164343
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
164342
164344
|
_cache[1] || (_cache[1] = createElementVNode("p", { class: "title" }, "最近5次运行时间", -1)),
|
|
164343
|
-
createElementVNode("div", _hoisted_2$
|
|
164345
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
164344
164346
|
unref(isShow) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(resultList), (item) => {
|
|
164345
164347
|
return openBlock(), createBlock(_component_el_tag, {
|
|
164346
164348
|
class: "my-[5px]",
|
|
@@ -164368,8 +164370,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
164368
164370
|
|
|
164369
164371
|
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-c69e7cfe"]]);
|
|
164370
164372
|
|
|
164371
|
-
const _hoisted_1$
|
|
164372
|
-
const _hoisted_2$
|
|
164373
|
+
const _hoisted_1$s = { class: "cron-content" };
|
|
164374
|
+
const _hoisted_2$m = { class: "cron-item" };
|
|
164373
164375
|
const _hoisted_3$e = { class: "cron-item" };
|
|
164374
164376
|
const _hoisted_4$9 = { class: "cron-item" };
|
|
164375
164377
|
const _hoisted_5$6 = { class: "cron-item" };
|
|
@@ -164469,8 +164471,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
164469
164471
|
const _component_el_input_number = ElInputNumber;
|
|
164470
164472
|
const _component_el_checkbox = ElCheckbox;
|
|
164471
164473
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
164472
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
164473
|
-
createElementVNode("div", _hoisted_2$
|
|
164474
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
164475
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
164474
164476
|
createVNode(_component_el_radio, {
|
|
164475
164477
|
size: "small",
|
|
164476
164478
|
modelValue: unref(radioValue),
|
|
@@ -164595,8 +164597,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
164595
164597
|
}
|
|
164596
164598
|
});
|
|
164597
164599
|
|
|
164598
|
-
const _hoisted_1$
|
|
164599
|
-
const _hoisted_2$
|
|
164600
|
+
const _hoisted_1$r = { class: "cron-content" };
|
|
164601
|
+
const _hoisted_2$l = { class: "cron-item" };
|
|
164600
164602
|
const _hoisted_3$d = { class: "cron-item" };
|
|
164601
164603
|
const _hoisted_4$8 = { class: "cron-item" };
|
|
164602
164604
|
const _hoisted_5$5 = { class: "cron-item" };
|
|
@@ -164693,8 +164695,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
164693
164695
|
const _component_el_input_number = ElInputNumber;
|
|
164694
164696
|
const _component_el_checkbox = ElCheckbox;
|
|
164695
164697
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
164696
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
164697
|
-
createElementVNode("div", _hoisted_2$
|
|
164698
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
164699
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
164698
164700
|
createVNode(_component_el_radio, {
|
|
164699
164701
|
size: "small",
|
|
164700
164702
|
modelValue: unref(radioValue),
|
|
@@ -164816,8 +164818,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
164816
164818
|
}
|
|
164817
164819
|
});
|
|
164818
164820
|
|
|
164819
|
-
const _hoisted_1$
|
|
164820
|
-
const _hoisted_2$
|
|
164821
|
+
const _hoisted_1$q = { class: "cron-content" };
|
|
164822
|
+
const _hoisted_2$k = { class: "cron-item" };
|
|
164821
164823
|
const _hoisted_3$c = { class: "cron-item" };
|
|
164822
164824
|
const _hoisted_4$7 = { class: "cron-item" };
|
|
164823
164825
|
const _hoisted_5$4 = { class: "cron-item" };
|
|
@@ -164914,8 +164916,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
164914
164916
|
const _component_el_input_number = ElInputNumber;
|
|
164915
164917
|
const _component_el_checkbox = ElCheckbox;
|
|
164916
164918
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
164917
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
164918
|
-
createElementVNode("div", _hoisted_2$
|
|
164919
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
164920
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
164919
164921
|
createVNode(_component_el_radio, {
|
|
164920
164922
|
size: "small",
|
|
164921
164923
|
modelValue: unref(radioValue),
|
|
@@ -165036,8 +165038,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
165036
165038
|
}
|
|
165037
165039
|
});
|
|
165038
165040
|
|
|
165039
|
-
const _hoisted_1$
|
|
165040
|
-
const _hoisted_2$
|
|
165041
|
+
const _hoisted_1$p = { class: "cron-content" };
|
|
165042
|
+
const _hoisted_2$j = { class: "cron-item" };
|
|
165041
165043
|
const _hoisted_3$b = { class: "cron-item" };
|
|
165042
165044
|
const _hoisted_4$6 = { class: "cron-item" };
|
|
165043
165045
|
const _hoisted_5$3 = { class: "cron-item" };
|
|
@@ -165165,8 +165167,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
165165
165167
|
const _component_el_input_number = ElInputNumber;
|
|
165166
165168
|
const _component_el_checkbox = ElCheckbox;
|
|
165167
165169
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
165168
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
165169
|
-
createElementVNode("div", _hoisted_2$
|
|
165170
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
165171
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
165170
165172
|
createVNode(_component_el_radio, {
|
|
165171
165173
|
size: "small",
|
|
165172
165174
|
modelValue: unref(radioValue),
|
|
@@ -165342,8 +165344,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
165342
165344
|
}
|
|
165343
165345
|
});
|
|
165344
165346
|
|
|
165345
|
-
const _hoisted_1$
|
|
165346
|
-
const _hoisted_2$
|
|
165347
|
+
const _hoisted_1$o = { class: "cron-content" };
|
|
165348
|
+
const _hoisted_2$i = { class: "cron-item" };
|
|
165347
165349
|
const _hoisted_3$a = { class: "cron-item" };
|
|
165348
165350
|
const _hoisted_4$5 = { class: "cron-item" };
|
|
165349
165351
|
const _hoisted_5$2 = { class: "cron-item" };
|
|
@@ -165440,8 +165442,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
165440
165442
|
const _component_el_input_number = ElInputNumber;
|
|
165441
165443
|
const _component_el_checkbox = ElCheckbox;
|
|
165442
165444
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
165443
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
165444
|
-
createElementVNode("div", _hoisted_2$
|
|
165445
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
165446
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
165445
165447
|
createVNode(_component_el_radio, {
|
|
165446
165448
|
size: "small",
|
|
165447
165449
|
modelValue: unref(radioValue),
|
|
@@ -165562,8 +165564,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
165562
165564
|
}
|
|
165563
165565
|
});
|
|
165564
165566
|
|
|
165565
|
-
const _hoisted_1$
|
|
165566
|
-
const _hoisted_2$
|
|
165567
|
+
const _hoisted_1$n = { class: "cron-content" };
|
|
165568
|
+
const _hoisted_2$h = { class: "cron-item" };
|
|
165567
165569
|
const _hoisted_3$9 = { class: "cron-item" };
|
|
165568
165570
|
const _hoisted_4$4 = { class: "cron-item" };
|
|
165569
165571
|
const _hoisted_5$1 = { class: "cron-item" };
|
|
@@ -165685,8 +165687,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
165685
165687
|
const _component_el_input_number = ElInputNumber;
|
|
165686
165688
|
const _component_el_checkbox = ElCheckbox;
|
|
165687
165689
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
165688
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
165689
|
-
createElementVNode("div", _hoisted_2$
|
|
165690
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
165691
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
165690
165692
|
createVNode(_component_el_radio, {
|
|
165691
165693
|
size: "small",
|
|
165692
165694
|
modelValue: unref(radioValue),
|
|
@@ -165844,8 +165846,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
165844
165846
|
}
|
|
165845
165847
|
});
|
|
165846
165848
|
|
|
165847
|
-
const _hoisted_1$
|
|
165848
|
-
const _hoisted_2$
|
|
165849
|
+
const _hoisted_1$m = { class: "cron-content" };
|
|
165850
|
+
const _hoisted_2$g = { class: "cron-item" };
|
|
165849
165851
|
const _hoisted_3$8 = { class: "cron-item" };
|
|
165850
165852
|
const _hoisted_4$3 = { class: "cron-item" };
|
|
165851
165853
|
const _hoisted_5 = { class: "cron-item" };
|
|
@@ -165950,8 +165952,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
165950
165952
|
const _component_el_input_number = ElInputNumber;
|
|
165951
165953
|
const _component_el_checkbox = ElCheckbox;
|
|
165952
165954
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
165953
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
165954
|
-
createElementVNode("div", _hoisted_2$
|
|
165955
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
165956
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
165955
165957
|
createVNode(_component_el_radio, {
|
|
165956
165958
|
size: "small",
|
|
165957
165959
|
label: 1,
|
|
@@ -166082,8 +166084,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
166082
166084
|
}
|
|
166083
166085
|
});
|
|
166084
166086
|
|
|
166085
|
-
const _hoisted_1$
|
|
166086
|
-
const _hoisted_2$
|
|
166087
|
+
const _hoisted_1$l = { class: "flex flex-col h-full" };
|
|
166088
|
+
const _hoisted_2$f = { class: "flex-grow-1 flex-1 overflow-auto min-h-0" };
|
|
166087
166089
|
const _hoisted_3$7 = { class: "popup-main" };
|
|
166088
166090
|
const _hoisted_4$2 = { class: "popup-result" };
|
|
166089
166091
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
@@ -166322,8 +166324,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
166322
166324
|
const _component_el_tabs = ElTabs;
|
|
166323
166325
|
const _component_el_tag = ElTag;
|
|
166324
166326
|
const _component_CrontabResult = __unplugin_components_3;
|
|
166325
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
166326
|
-
createElementVNode("div", _hoisted_2$
|
|
166327
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
166328
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
166327
166329
|
createVNode(_component_el_tabs, {
|
|
166328
166330
|
type: "border-card",
|
|
166329
166331
|
modelValue: unref(tabActive),
|
|
@@ -166854,6 +166856,8 @@ const departItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
|
|
|
166854
166856
|
default: _sfc_main$R
|
|
166855
166857
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
166856
166858
|
|
|
166859
|
+
const _hoisted_1$k = { class: "search-content" };
|
|
166860
|
+
const _hoisted_2$e = { class: "search_btn" };
|
|
166857
166861
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
166858
166862
|
__name: "dialog-input-item",
|
|
166859
166863
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -166900,7 +166904,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
166900
166904
|
};
|
|
166901
166905
|
const selectItem = (row) => {
|
|
166902
166906
|
let data = "";
|
|
166903
|
-
let needField = props.field.
|
|
166907
|
+
let needField = props.field.preps?.needField;
|
|
166904
166908
|
if (!row || !isJson(row)) {
|
|
166905
166909
|
let selectDatas = dialogInputTableRef.value.multipleSelection;
|
|
166906
166910
|
if (!selectDatas) {
|
|
@@ -166923,8 +166927,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
166923
166927
|
}
|
|
166924
166928
|
});
|
|
166925
166929
|
}
|
|
166926
|
-
if (props.field.
|
|
166927
|
-
props.field.
|
|
166930
|
+
if (props.field.preps?.recall) {
|
|
166931
|
+
props.field.preps?.["recall"](row);
|
|
166928
166932
|
}
|
|
166929
166933
|
closeAction();
|
|
166930
166934
|
};
|
|
@@ -166934,7 +166938,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
166934
166938
|
const showVisible = () => {
|
|
166935
166939
|
dialogInputVisible.value = true;
|
|
166936
166940
|
nextTick(() => {
|
|
166937
|
-
let fields = props.field.
|
|
166941
|
+
let fields = props.field.preps?.needField;
|
|
166938
166942
|
let name = props.field.fieldName;
|
|
166939
166943
|
let realName = name;
|
|
166940
166944
|
if (props.field.aliasName) {
|
|
@@ -166946,8 +166950,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
166946
166950
|
dialogInputTableRef.value?.setDataInfo(name, formData.value[realName]);
|
|
166947
166951
|
});
|
|
166948
166952
|
};
|
|
166949
|
-
onMounted(() => {
|
|
166950
|
-
|
|
166953
|
+
onMounted(async () => {
|
|
166954
|
+
await nextTick();
|
|
166955
|
+
let inputPreps = props.field?.preps;
|
|
166951
166956
|
if (!inputPreps) {
|
|
166952
166957
|
warning("属性" + props.field?.label + "需要配置params 信息");
|
|
166953
166958
|
return;
|
|
@@ -166979,6 +166984,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
166979
166984
|
return (_ctx, _cache) => {
|
|
166980
166985
|
const _component_star_horse_search_comp = __unplugin_components_0$4;
|
|
166981
166986
|
const _component_star_horse_table_comp = __unplugin_components_1$1;
|
|
166987
|
+
const _component_el_card = ElCard;
|
|
166982
166988
|
const _component_star_horse_dialog = __unplugin_components_0$9;
|
|
166983
166989
|
const _component_el_button = ElButton;
|
|
166984
166990
|
const _component_el_input = ElInput;
|
|
@@ -166992,28 +166998,37 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
166992
166998
|
onCloseAction: closeAction
|
|
166993
166999
|
}, {
|
|
166994
167000
|
default: withCtx(() => [
|
|
166995
|
-
createVNode(
|
|
166996
|
-
|
|
166997
|
-
|
|
166998
|
-
|
|
166999
|
-
|
|
167000
|
-
|
|
167001
|
-
|
|
167002
|
-
|
|
167003
|
-
|
|
167004
|
-
|
|
167005
|
-
|
|
167006
|
-
|
|
167007
|
-
|
|
167008
|
-
|
|
167009
|
-
|
|
167010
|
-
|
|
167011
|
-
|
|
167012
|
-
|
|
167013
|
-
|
|
167014
|
-
|
|
167015
|
-
|
|
167016
|
-
|
|
167001
|
+
createVNode(_component_el_card, { class: "inner_content" }, {
|
|
167002
|
+
default: withCtx(() => [
|
|
167003
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
167004
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
167005
|
+
createVNode(_component_star_horse_search_comp, {
|
|
167006
|
+
onSearchData: _cache[0] || (_cache[0] = (data) => dialogInputTableRef.value.createSearchParams(data)),
|
|
167007
|
+
formData: __props.field.preps?.["searchFieldList"],
|
|
167008
|
+
compUrl: __props.field.preps?.["dataUrl"]
|
|
167009
|
+
}, null, 8, ["formData", "compUrl"])
|
|
167010
|
+
])
|
|
167011
|
+
]),
|
|
167012
|
+
createVNode(_component_star_horse_table_comp, {
|
|
167013
|
+
fieldList: {
|
|
167014
|
+
cellEditable: false,
|
|
167015
|
+
fieldList: __props.field.preps?.["fieldList"]
|
|
167016
|
+
},
|
|
167017
|
+
primaryKey: __props.field.preps?.["primaryKey"],
|
|
167018
|
+
compUrl: __props.field.preps?.["dataUrl"],
|
|
167019
|
+
ref_key: "dialogInputTableRef",
|
|
167020
|
+
ref: dialogInputTableRef,
|
|
167021
|
+
dialogInput: true,
|
|
167022
|
+
height: "400px",
|
|
167023
|
+
filterCondition: __props.field.preps?.["filterCondition"],
|
|
167024
|
+
orderBy: __props.field.preps?.["orderBy"],
|
|
167025
|
+
onSelectItem: selectItem,
|
|
167026
|
+
dataFormat: __props.field.preps?.["dataFormat"],
|
|
167027
|
+
disableAction: true
|
|
167028
|
+
}, null, 8, ["fieldList", "primaryKey", "compUrl", "filterCondition", "orderBy", "dataFormat"])
|
|
167029
|
+
]),
|
|
167030
|
+
_: 1
|
|
167031
|
+
})
|
|
167017
167032
|
]),
|
|
167018
167033
|
_: 1
|
|
167019
167034
|
}, 8, ["title", "dialog-visible"]),
|
|
@@ -167057,7 +167072,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
167057
167072
|
|
|
167058
167073
|
/* unplugin-vue-components disabled */
|
|
167059
167074
|
|
|
167060
|
-
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-
|
|
167075
|
+
const dialogInputItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-e4d0752f"]]);
|
|
167061
167076
|
|
|
167062
167077
|
const dialogInputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
167063
167078
|
__proto__: null,
|
|
@@ -184452,12 +184467,6 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
184452
184467
|
}
|
|
184453
184468
|
};
|
|
184454
184469
|
const itemAction = (prep) => {
|
|
184455
|
-
if (prep == actionName.value && props.field?.actionRelation) {
|
|
184456
|
-
props.field?.actionRelation(
|
|
184457
|
-
formData.value[props.field.fieldName],
|
|
184458
|
-
formData.value["xh"]
|
|
184459
|
-
);
|
|
184460
|
-
}
|
|
184461
184470
|
emits("selfFunc", prep, formData.value);
|
|
184462
184471
|
};
|
|
184463
184472
|
const init = async () => {
|
|
@@ -184579,7 +184588,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
184579
184588
|
|
|
184580
184589
|
/* unplugin-vue-components disabled */
|
|
184581
184590
|
|
|
184582
|
-
const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
184591
|
+
const iconItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-c5ceb77a"]]);
|
|
184583
184592
|
|
|
184584
184593
|
const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
184585
184594
|
__proto__: null,
|
|
@@ -184959,7 +184968,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
184959
184968
|
modelValue: dialogInputVisible.value,
|
|
184960
184969
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogInputVisible.value = $event),
|
|
184961
184970
|
disabled: unref(checkIsDisabled)(props),
|
|
184962
|
-
"initial-content": formData.value[__props.field.fieldName],
|
|
184971
|
+
"initial-content": String(formData.value[__props.field.fieldName]),
|
|
184963
184972
|
onConfirm: handleContentConfirm
|
|
184964
184973
|
}, null, 8, ["modelValue", "disabled", "initial-content"]),
|
|
184965
184974
|
createVNode(_component_starhorse_form_item, {
|
|
@@ -185066,7 +185075,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
185066
185075
|
|
|
185067
185076
|
/* unplugin-vue-components disabled */
|
|
185068
185077
|
|
|
185069
|
-
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-
|
|
185078
|
+
const inputItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-6231ef28"]]);
|
|
185070
185079
|
|
|
185071
185080
|
const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
185072
185081
|
__proto__: null,
|
|
@@ -185811,7 +185820,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
185811
185820
|
if (orderBy.value?.length > 0) {
|
|
185812
185821
|
orderByTemp = orderBy.value;
|
|
185813
185822
|
}
|
|
185814
|
-
if (!props.field.
|
|
185823
|
+
if (!props.field.preps?.["dataUrl"]?.pageListUrl) {
|
|
185815
185824
|
return;
|
|
185816
185825
|
}
|
|
185817
185826
|
let params = {
|
|
@@ -185820,16 +185829,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
185820
185829
|
fieldList: searchData.value,
|
|
185821
185830
|
orderBy: orderByTemp
|
|
185822
185831
|
};
|
|
185823
|
-
let url = props.field.
|
|
185824
|
-
if (props.field.
|
|
185832
|
+
let url = props.field.preps?.dataUrl?.pageListUrl;
|
|
185833
|
+
if (props.field.preps?.dataUrl.redirect) {
|
|
185825
185834
|
params = {
|
|
185826
185835
|
url,
|
|
185827
|
-
host: props.field.
|
|
185828
|
-
port: props.field.
|
|
185829
|
-
protocol: props.field.
|
|
185830
|
-
env: props.field.
|
|
185831
|
-
httpMethod: props.field.
|
|
185832
|
-
dataType: props.field.
|
|
185836
|
+
host: props.field.preps?.dataUrl?.host,
|
|
185837
|
+
port: props.field.preps?.dataUrl?.port,
|
|
185838
|
+
protocol: props.field.preps?.dataUrl?.protocol,
|
|
185839
|
+
env: props.field.preps?.dataUrl?.env,
|
|
185840
|
+
httpMethod: props.field.preps?.dataUrl?.httpMethod || "POST",
|
|
185841
|
+
dataType: props.field.preps?.dataUrl?.dataType || "JSON",
|
|
185833
185842
|
searchInfo: params
|
|
185834
185843
|
};
|
|
185835
185844
|
url = "/system-config/redirect/pageList";
|
|
@@ -185854,7 +185863,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
185854
185863
|
loadByPage();
|
|
185855
185864
|
};
|
|
185856
185865
|
const getRowIdentity = (row) => {
|
|
185857
|
-
return row[props.field.
|
|
185866
|
+
return row[props.field.preps?.primaryKey];
|
|
185858
185867
|
};
|
|
185859
185868
|
const handleSelectionChange = (val) => {
|
|
185860
185869
|
multipleSelection.value = val;
|
|
@@ -185862,7 +185871,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
185862
185871
|
};
|
|
185863
185872
|
const selectRow = (row, _column, _evt) => {
|
|
185864
185873
|
const selected = multipleSelection.value.some(
|
|
185865
|
-
(item) => item[props.field.
|
|
185874
|
+
(item) => item[props.field.preps?.primaryKey] === row[props.field.preps?.primaryKey]
|
|
185866
185875
|
);
|
|
185867
185876
|
if (!selected) {
|
|
185868
185877
|
multipleSelection.value.push(row);
|
|
@@ -185873,12 +185882,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
185873
185882
|
assignVal();
|
|
185874
185883
|
};
|
|
185875
185884
|
const loadSourceField = (aliasFirst = true) => {
|
|
185876
|
-
let fields = props.field.
|
|
185877
|
-
let name = aliasFirst ? props.field.
|
|
185885
|
+
let fields = props.field.preps?.["needField"];
|
|
185886
|
+
let name = aliasFirst ? props.field.preps?.["aliasName"] || props.field.fieldName : props.field.fieldName;
|
|
185878
185887
|
return fields?.find((temp) => temp.distField == name)?.sourceField || "";
|
|
185879
185888
|
};
|
|
185880
185889
|
const assignVal = () => {
|
|
185881
|
-
let fields = props.field.
|
|
185890
|
+
let fields = props.field.preps?.["needField"];
|
|
185882
185891
|
let name = props.field.fieldName;
|
|
185883
185892
|
if (fields) {
|
|
185884
185893
|
fields.forEach((temp) => {
|
|
@@ -185895,18 +185904,19 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
185895
185904
|
} else {
|
|
185896
185905
|
formData.value[name] = multipleSelection.value.map((item) => item[name]);
|
|
185897
185906
|
}
|
|
185898
|
-
if (props.field.
|
|
185899
|
-
props.field.
|
|
185907
|
+
if (props.field.preps?.["recall"]) {
|
|
185908
|
+
props.field.preps?.["recall"](multipleSelection.value);
|
|
185900
185909
|
}
|
|
185901
185910
|
};
|
|
185902
185911
|
watch(
|
|
185903
|
-
() => props.field.
|
|
185912
|
+
() => props.field.preps?.["dataUrl"],
|
|
185904
185913
|
() => {
|
|
185905
185914
|
loadByPage();
|
|
185906
185915
|
}
|
|
185907
185916
|
);
|
|
185908
|
-
onMounted(() => {
|
|
185909
|
-
|
|
185917
|
+
onMounted(async () => {
|
|
185918
|
+
await nextTick();
|
|
185919
|
+
let inputPreps = props.field?.preps;
|
|
185910
185920
|
if (!inputPreps) {
|
|
185911
185921
|
warning("属性" + props.field?.label + "需要配置params 信息");
|
|
185912
185922
|
return;
|
|
@@ -185972,10 +185982,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
185972
185982
|
}, {
|
|
185973
185983
|
default: withCtx(() => [
|
|
185974
185984
|
createVNode(_component_star_horse_search_comp, {
|
|
185975
|
-
formData: __props.field.
|
|
185985
|
+
formData: __props.field.preps?.["searchFieldList"],
|
|
185976
185986
|
onSearchData: _cache[0] || (_cache[0] = (data) => searchDataFun(data)),
|
|
185977
185987
|
mutComp: true,
|
|
185978
|
-
compUrl: __props.field.
|
|
185988
|
+
compUrl: __props.field.preps?.["dataUrl"]
|
|
185979
185989
|
}, null, 8, ["formData", "compUrl"]),
|
|
185980
185990
|
createVNode(_component_el_table, {
|
|
185981
185991
|
ref_key: "starHorseTableCompRef",
|
|
@@ -186004,23 +186014,23 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
186004
186014
|
fixed: "left",
|
|
186005
186015
|
"reserve-selection": true
|
|
186006
186016
|
}),
|
|
186007
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.
|
|
186017
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps?.fieldList, (item, key) => {
|
|
186008
186018
|
return openBlock(), createElementBlock(Fragment, {
|
|
186009
186019
|
key: unref(compKey)(item, key)
|
|
186010
186020
|
}, [
|
|
186011
186021
|
Array.isArray(item) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item, (sitem, skey) => {
|
|
186012
186022
|
return openBlock(), createBlock(_component_star_horse_table_column, {
|
|
186013
186023
|
key: unref(compKey)(sitem, skey),
|
|
186014
|
-
compUrl: __props.field.
|
|
186024
|
+
compUrl: __props.field.preps?.["dataUrl"],
|
|
186015
186025
|
cellEditable: false,
|
|
186016
|
-
"data-format": __props.field.
|
|
186026
|
+
"data-format": __props.field.preps?.["dataFormat"],
|
|
186017
186027
|
item: sitem
|
|
186018
186028
|
}, null, 8, ["compUrl", "data-format", "item"]);
|
|
186019
186029
|
}), 128)) : (openBlock(), createBlock(_component_star_horse_table_column, {
|
|
186020
186030
|
key: 1,
|
|
186021
|
-
compUrl: __props.field.
|
|
186031
|
+
compUrl: __props.field.preps?.["dataUrl"],
|
|
186022
186032
|
cellEditable: false,
|
|
186023
|
-
"data-format": __props.field.
|
|
186033
|
+
"data-format": __props.field.preps?.["dataFormat"],
|
|
186024
186034
|
item
|
|
186025
186035
|
}, null, 8, ["compUrl", "data-format", "item"]))
|
|
186026
186036
|
], 64);
|
|
@@ -186058,7 +186068,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
186058
186068
|
|
|
186059
186069
|
/* unplugin-vue-components disabled */
|
|
186060
186070
|
|
|
186061
|
-
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
186071
|
+
const pageSelectItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-e0c75f8e"]]);
|
|
186062
186072
|
|
|
186063
186073
|
const pageSelectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
186064
186074
|
__proto__: null,
|
|
@@ -187286,7 +187296,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
187286
187296
|
default: withCtx(() => [
|
|
187287
187297
|
createVNode(_component_el_tag, mergeProps(__props.field.preps, {
|
|
187288
187298
|
type: tagType(formData.value[__props.field.fieldName]),
|
|
187289
|
-
onClick: _cache[0] || (_cache[0] = ($event) => itemAction("click"))
|
|
187299
|
+
onClick: _cache[0] || (_cache[0] = ($event) => itemAction("click")),
|
|
187300
|
+
class: "relative"
|
|
187290
187301
|
}), {
|
|
187291
187302
|
default: withCtx(() => [
|
|
187292
187303
|
createTextVNode(toDisplayString(__props.callBack && __props.callBack() || formData.value[__props.field.fieldName] || __props.field.preps?.placeholder || "请赋值" + __props.field.label), 1)
|
|
@@ -188303,21 +188314,12 @@ const userItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
188303
188314
|
default: _sfc_main$l
|
|
188304
188315
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
188305
188316
|
|
|
188306
|
-
const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
|
|
188307
|
-
|
|
188308
|
-
|
|
188309
|
-
|
|
188310
|
-
|
|
188311
|
-
|
|
188312
|
-
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
|
|
188313
|
-
reject.bind(
|
|
188314
|
-
null,
|
|
188315
|
-
new Error(
|
|
188316
|
-
"Unknown variable dynamic import: " + path + (path.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : "")
|
|
188317
|
-
)
|
|
188318
|
-
)
|
|
188319
|
-
);
|
|
188320
|
-
});
|
|
188317
|
+
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
188318
|
+
const v = glob$1[path$13];
|
|
188319
|
+
if (v) return typeof v === "function" ? v() : Promise.resolve(v);
|
|
188320
|
+
return new Promise((_, reject) => {
|
|
188321
|
+
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + path$13 + (path$13.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : ""))));
|
|
188322
|
+
});
|
|
188321
188323
|
};
|
|
188322
188324
|
|
|
188323
188325
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
@@ -200593,4 +200595,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
200593
200595
|
fullWidthButton: e
|
|
200594
200596
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
200595
200597
|
|
|
200596
|
-
export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, StarHorseDataView, __unplugin_components_0$7 as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$9 as StarHorseDialog, StarHorseDraggable, __unplugin_components_1$2 as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, StarHorseHmenu, __unplugin_components_0$b as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, formFieldMapping, generateDeviceId, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputItem, isDark, isJson, isPromise, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectItem, signatureItem, _sfc_main$w as sliderItem, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, textItem, textToPinYin, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$l as userItem, _sfc_main$k as usercompItem, uuid, viewMarkdownItem, warning };
|
|
200598
|
+
export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, StarHorseDataView, __unplugin_components_0$7 as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$9 as StarHorseDialog, StarHorseDraggable, __unplugin_components_1$2 as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, StarHorseHmenu, __unplugin_components_0$b as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, fieldPlaceholder, formFieldMapping, generateDeviceId, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputItem, isDark, isJson, isPromise, itemCheck, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectItem, signatureItem, _sfc_main$w as sliderItem, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, textItem, textToPinYin, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$l as userItem, _sfc_main$k as usercompItem, uuid, viewMarkdownItem, warning };
|