star-horse-lowcode 2.7.65 → 2.7.67
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 +3 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +597 -188
- package/dist/types/index.d.ts +30 -0
- package/package.json +3 -3
- package/.env.development +0 -3
- package/.env.production +0 -3
- package/.eslintrc-auto-import.json +0 -77
- package/.gitignore +0 -27
- package/.idea/.gitignore +0 -5
- package/.idea/MarsCodeWorkspaceAppSettings.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -7
- package/.idea/modules.xml +0 -8
- package/.idea/testcode.iml +0 -12
- package/.idea/vcs.xml +0 -6
- package/.idea/watcherTasks.xml +0 -4
- package/.idea/workspace.xml +0 -207
- package/.npmignore +0 -21
- package/.prettierignore +0 -26
- package/auto-imports.d.ts +0 -137
- package/components.d.ts +0 -189
- package/eslint.config.js +0 -37
- package/index.html +0 -14
- package/package-lock.json +0 -8276
- package/prettier.config.js +0 -20
- package/public/logo.svg +0 -660
- package/src/App.vue +0 -11
- package/src/api/date_utils.ts +0 -219
- package/src/api/finger_utils.ts +0 -71
- package/src/api/form_utils.ts +0 -281
- package/src/api/jquery.min.js +0 -2
- package/src/api/pcas-code.json +0 -1
- package/src/api/settings.ts +0 -81
- package/src/api/star_horse_apis.ts +0 -196
- package/src/api/star_horse_utils.ts +0 -797
- package/src/api/system.ts +0 -351
- package/src/api/user_func.ts +0 -147
- package/src/api/valid_utils.ts +0 -165
- package/src/assets/css/index.scss +0 -908
- package/src/assets/icons.css +0 -574
- package/src/assets/star-horse-icons.woff +0 -0
- package/src/components/comp/ShDynamicForm.vue +0 -160
- package/src/components/comp/ShForm.vue +0 -30
- package/src/components/comp/ShTableListColumn.vue +0 -61
- package/src/components/comp/StarHorseDataSelector.vue +0 -139
- package/src/components/comp/StarHorseDataView.vue +0 -110
- package/src/components/comp/StarHorseDataViewItems.vue +0 -61
- package/src/components/comp/StarHorseDataViewTable.vue +0 -102
- package/src/components/comp/StarHorseDialog.vue +0 -383
- package/src/components/comp/StarHorseDraggable.vue +0 -401
- package/src/components/comp/StarHorseForm.vue +0 -458
- package/src/components/comp/StarHorseFormItem.vue +0 -82
- package/src/components/comp/StarHorseFormList.vue +0 -516
- package/src/components/comp/StarHorseFormTable.vue +0 -56
- package/src/components/comp/StarHorseIcon.vue +0 -76
- package/src/components/comp/StarHorseItem.vue +0 -302
- package/src/components/comp/StarHorseJsonEditor.vue +0 -115
- package/src/components/comp/StarHorsePopover.vue +0 -66
- package/src/components/comp/StarHorseSearchComp.vue +0 -253
- package/src/components/comp/StarHorseStaticTable.vue +0 -395
- package/src/components/comp/StarHorseTableColumn.vue +0 -249
- package/src/components/comp/StarHorseTableComp.vue +0 -1193
- package/src/components/comp/StarHorseTableViewColumn.vue +0 -61
- package/src/components/comp/StarHorseTree.vue +0 -494
- package/src/components/comp/index.ts +0 -22
- package/src/components/comp/items/UTableColumn.vue +0 -65
- package/src/components/comp/items/boxItem.vue +0 -98
- package/src/components/comp/items/callitem.ts +0 -9
- package/src/components/comp/items/cardItem.vue +0 -152
- package/src/components/comp/items/collapseItem.vue +0 -134
- package/src/components/comp/items/dytableItem.vue +0 -135
- package/src/components/comp/items/otherItem.vue +0 -65
- package/src/components/comp/items/tabItem.vue +0 -155
- package/src/components/comp/items/tabPanelItem.vue +0 -110
- package/src/components/comp/items/tableColumn.vue +0 -129
- package/src/components/comp/items/tableItem.vue +0 -97
- package/src/components/comp/items/tablebtn.vue +0 -158
- package/src/components/comp/items/viewBoxItem.vue +0 -55
- package/src/components/comp/items/viewCardItem.vue +0 -47
- package/src/components/comp/items/viewCollapseItem.vue +0 -71
- package/src/components/comp/items/viewDytableItem.vue +0 -77
- package/src/components/comp/items/viewOtherItem.vue +0 -55
- package/src/components/comp/items/viewTabItem.vue +0 -77
- package/src/components/comp/items/viewTabPanelItem.vue +0 -54
- package/src/components/comp/items/viewTableItem.vue +0 -74
- package/src/components/comp/selfcomp.ts +0 -9
- package/src/components/comp/utils/DataPicker.vue +0 -302
- package/src/components/comp/utils/DataTag.vue +0 -51
- package/src/components/cron/Crontab-Day.vue +0 -230
- package/src/components/cron/Crontab-Hour.vue +0 -165
- package/src/components/cron/Crontab-Min.vue +0 -166
- package/src/components/cron/Crontab-Month.vue +0 -166
- package/src/components/cron/Crontab-Result.vue +0 -615
- package/src/components/cron/Crontab-Second.vue +0 -185
- package/src/components/cron/Crontab-Week.vue +0 -208
- package/src/components/cron/Crontab-Year.vue +0 -183
- package/src/components/cron/Crontab.vue +0 -474
- package/src/components/enums/ModuleEnums.ts +0 -10
- package/src/components/enums/ServiceEnums.ts +0 -18
- package/src/components/formcomp/container/box-container.vue +0 -162
- package/src/components/formcomp/container/callitem.ts +0 -9
- package/src/components/formcomp/container/card-container.vue +0 -170
- package/src/components/formcomp/container/collapse-container.vue +0 -133
- package/src/components/formcomp/container/dytable-col.vue +0 -448
- package/src/components/formcomp/container/dytable-container.vue +0 -57
- package/src/components/formcomp/container/dytableUtils.ts +0 -358
- package/src/components/formcomp/container/group-box-container.vue +0 -331
- package/src/components/formcomp/container/index.ts +0 -6
- package/src/components/formcomp/container/tab-container.vue +0 -153
- package/src/components/formcomp/container/table-container.vue +0 -249
- package/src/components/formcomp/items/allitem.ts +0 -9
- package/src/components/formcomp/items/area-item.vue +0 -116
- package/src/components/formcomp/items/audio-item.vue +0 -163
- package/src/components/formcomp/items/autocomplete-item.vue +0 -118
- package/src/components/formcomp/items/barcode-item.vue +0 -87
- package/src/components/formcomp/items/base-json-item.vue +0 -207
- package/src/components/formcomp/items/button-item.vue +0 -228
- package/src/components/formcomp/items/cascade-item.vue +0 -113
- package/src/components/formcomp/items/checkbox-item.vue +0 -97
- package/src/components/formcomp/items/color-item.vue +0 -70
- package/src/components/formcomp/items/cron-item.vue +0 -115
- package/src/components/formcomp/items/datetime-item.vue +0 -99
- package/src/components/formcomp/items/depart-item.vue +0 -51
- package/src/components/formcomp/items/dialog-input-item.vue +0 -207
- package/src/components/formcomp/items/divider-item.vue +0 -66
- package/src/components/formcomp/items/html-item.vue +0 -65
- package/src/components/formcomp/items/htmleditor-item.vue +0 -104
- package/src/components/formcomp/items/icon-item.vue +0 -195
- package/src/components/formcomp/items/image-item.vue +0 -247
- package/src/components/formcomp/items/index.ts +0 -44
- package/src/components/formcomp/items/input-item.vue +0 -150
- package/src/components/formcomp/items/json-array-item.vue +0 -67
- package/src/components/formcomp/items/json-item.vue +0 -66
- package/src/components/formcomp/items/markdown-item.vue +0 -77
- package/src/components/formcomp/items/number-item.vue +0 -94
- package/src/components/formcomp/items/number-range-item.vue +0 -278
- package/src/components/formcomp/items/page-select-item.vue +0 -407
- package/src/components/formcomp/items/password-item.vue +0 -71
- package/src/components/formcomp/items/qrcode-item.vue +0 -84
- package/src/components/formcomp/items/radio-item.vue +0 -112
- package/src/components/formcomp/items/rate-item.vue +0 -68
- package/src/components/formcomp/items/select-item.vue +0 -133
- package/src/components/formcomp/items/signature-item.vue +0 -216
- package/src/components/formcomp/items/slider-item.vue +0 -68
- package/src/components/formcomp/items/starhorse-form-item.vue +0 -334
- package/src/components/formcomp/items/switch-item.vue +0 -77
- package/src/components/formcomp/items/tag-item.vue +0 -77
- package/src/components/formcomp/items/text-item.vue +0 -75
- package/src/components/formcomp/items/textarea-item.vue +0 -85
- package/src/components/formcomp/items/time-item.vue +0 -77
- package/src/components/formcomp/items/time-picker-item.vue +0 -74
- package/src/components/formcomp/items/transfer-item.vue +0 -93
- package/src/components/formcomp/items/tselect-item.vue +0 -121
- package/src/components/formcomp/items/unknown-item.vue +0 -51
- package/src/components/formcomp/items/upload-item.vue +0 -189
- package/src/components/formcomp/items/user-item.vue +0 -177
- package/src/components/formcomp/items/usercomp-item.vue +0 -85
- package/src/components/formcomp/items/view-markdown-item.vue +0 -77
- package/src/components/formcomp/utils/EditDataDialog.vue +0 -67
- package/src/components/formcomp/utils/FieldList.vue +0 -125
- package/src/components/formcomp/utils/ItemRelationEventUtils.ts +0 -284
- package/src/components/help.vue +0 -31
- package/src/components/menu/MenuItem.vue +0 -95
- package/src/components/menu/SubMenu.vue +0 -68
- package/src/components/menu/SubSystemMenu.vue +0 -142
- package/src/components/register.ts +0 -24
- package/src/components/system/ContentMenu.vue +0 -260
- package/src/components/system/StarHorseButtonList.vue +0 -344
- package/src/components/system/StarHorseMenu.vue +0 -97
- package/src/components/system/StarHorseSvg.vue +0 -62
- package/src/components/system/SystemComp.ts +0 -9
- package/src/components/system/index.ts +0 -4
- package/src/components/types/ApiUrls.ts +0 -168
- package/src/components/types/BtnAction.ts +0 -51
- package/src/components/types/BtnAuth.ts +0 -43
- package/src/components/types/CompInfo.ts +0 -81
- package/src/components/types/DialogProps.ts +0 -55
- package/src/components/types/DyCompField.ts +0 -23
- package/src/components/types/DynamicNode.ts +0 -42
- package/src/components/types/MenusInfo.ts +0 -45
- package/src/components/types/PageFieldInfo.ts +0 -530
- package/src/components/types/PageProps.ts +0 -25
- package/src/components/types/Params.ts +0 -93
- package/src/components/types/RuleType.ts +0 -10
- package/src/components/types/SearchProps.ts +0 -42
- package/src/components/types/ShortKey.ts +0 -30
- package/src/components/types/StarHorseType.ts +0 -18
- package/src/components/types/index.ts +0 -15
- package/src/config/element.ts +0 -15
- package/src/config/styles.ts +0 -4
- package/src/index.ts +0 -98
- package/src/install.ts +0 -33
- package/src/lang/en_US.ts +0 -81
- package/src/lang/index.ts +0 -35
- package/src/lang/zh_CN.ts +0 -84
- package/src/main.ts +0 -57
- package/src/plugins/AblesPlugin.ts +0 -618
- package/src/plugins/registerCompPlugin.ts +0 -15
- package/src/sample/test.vue +0 -9
- package/src/store/ButtonPermission.ts +0 -101
- package/src/store/ConsumerView.ts +0 -52
- package/src/store/ContinusConfig.ts +0 -78
- package/src/store/CopyerOperation.ts +0 -74
- package/src/store/DesignForm.ts +0 -481
- package/src/store/DesignPage.ts +0 -59
- package/src/store/DynamicForm.ts +0 -241
- package/src/store/GlobalConfig.ts +0 -90
- package/src/store/SelfOperation.ts +0 -95
- package/src/store/UserInfo.ts +0 -88
- package/src/store/index.ts +0 -6
- package/src/theme/localStorge.ts +0 -16
- package/src/theme/theme.ts +0 -27
- package/src/utils/FieldOperationUtils.ts +0 -91
- package/src/utils/auth.ts +0 -83
- package/src/utils/message.ts +0 -69
- package/src/utils/preview.ts +0 -125
- package/tsconfig.json +0 -39
- package/tsconfig.node.json +0 -10
- package/vite-env.d.ts +0 -16
- package/vite.config.ts +0 -162
- package/yarn.lock +0 -4627
package/dist/index.es.js
CHANGED
|
@@ -62583,8 +62583,8 @@ const _sfc_main$1Q = defineComponent({
|
|
|
62583
62583
|
};
|
|
62584
62584
|
}
|
|
62585
62585
|
});
|
|
62586
|
-
const _hoisted_1$
|
|
62587
|
-
const _hoisted_2$
|
|
62586
|
+
const _hoisted_1$10 = ["id"];
|
|
62587
|
+
const _hoisted_2$K = {
|
|
62588
62588
|
key: 0,
|
|
62589
62589
|
class: "m-message-icons"
|
|
62590
62590
|
};
|
|
@@ -62647,7 +62647,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62647
62647
|
onMouseenter: _cache[2] || (_cache[2] = (...args) => _ctx.handleClearTimer && _ctx.handleClearTimer(...args)),
|
|
62648
62648
|
onMouseleave: _cache[3] || (_cache[3] = (...args) => _ctx.handleStartTimer && _ctx.handleStartTimer(...args))
|
|
62649
62649
|
}, [
|
|
62650
|
-
_ctx.iconURL || _ctx.type ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
62650
|
+
_ctx.iconURL || _ctx.type ? (openBlock(), createElementBlock("div", _hoisted_2$K, [
|
|
62651
62651
|
_ctx.iconURL ? (openBlock(), createElementBlock("img", {
|
|
62652
62652
|
key: 0,
|
|
62653
62653
|
src: _ctx.iconURL,
|
|
@@ -62693,7 +62693,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62693
62693
|
}, _hoisted_12)) : createCommentVNode("", true)
|
|
62694
62694
|
])
|
|
62695
62695
|
], 34)
|
|
62696
|
-
], 14, _hoisted_1$
|
|
62696
|
+
], 14, _hoisted_1$10)) : createCommentVNode("", true)
|
|
62697
62697
|
]),
|
|
62698
62698
|
_: 3
|
|
62699
62699
|
});
|
|
@@ -68883,6 +68883,21 @@ function dialogPreps(title = "编辑", batchTitle = "批量编辑") {
|
|
|
68883
68883
|
viewVisible: false
|
|
68884
68884
|
});
|
|
68885
68885
|
}
|
|
68886
|
+
function uriEncode(param) {
|
|
68887
|
+
return encodeURIComponent(param);
|
|
68888
|
+
}
|
|
68889
|
+
function uriDecode(param) {
|
|
68890
|
+
return decodeURIComponent(param);
|
|
68891
|
+
}
|
|
68892
|
+
function base64Encode(param) {
|
|
68893
|
+
return btoa(param);
|
|
68894
|
+
}
|
|
68895
|
+
function objectToBase64(object) {
|
|
68896
|
+
return base64Encode(JSON.stringify(object));
|
|
68897
|
+
}
|
|
68898
|
+
function base64Decode(param) {
|
|
68899
|
+
return atob(param);
|
|
68900
|
+
}
|
|
68886
68901
|
|
|
68887
68902
|
const byteToHex = [];
|
|
68888
68903
|
for (let i = 0; i < 256; ++i) {
|
|
@@ -69328,7 +69343,7 @@ function isPromise(obj) {
|
|
|
69328
69343
|
return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function" && typeof obj.catch === "function";
|
|
69329
69344
|
}
|
|
69330
69345
|
|
|
69331
|
-
const _hoisted_1
|
|
69346
|
+
const _hoisted_1$$ = ["title"];
|
|
69332
69347
|
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
69333
69348
|
__name: "StarHorseIcon",
|
|
69334
69349
|
props: {
|
|
@@ -69383,7 +69398,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
69383
69398
|
"aria-hidden": "false",
|
|
69384
69399
|
class: normalizeClass([svgClass.value, iconName.value]),
|
|
69385
69400
|
title: __props.title
|
|
69386
|
-
}, null, 10, _hoisted_1
|
|
69401
|
+
}, null, 10, _hoisted_1$$);
|
|
69387
69402
|
};
|
|
69388
69403
|
}
|
|
69389
69404
|
});
|
|
@@ -69841,7 +69856,7 @@ function filterProperties(obj, keysToRemove) {
|
|
|
69841
69856
|
});
|
|
69842
69857
|
}
|
|
69843
69858
|
|
|
69844
|
-
const _hoisted_1$
|
|
69859
|
+
const _hoisted_1$_ = { style: { "font-size": "12px" } };
|
|
69845
69860
|
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
69846
69861
|
__name: "help",
|
|
69847
69862
|
props: {
|
|
@@ -69865,7 +69880,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
69865
69880
|
})
|
|
69866
69881
|
]),
|
|
69867
69882
|
default: withCtx(() => [
|
|
69868
|
-
createElementVNode("div", _hoisted_1$
|
|
69883
|
+
createElementVNode("div", _hoisted_1$_, [
|
|
69869
69884
|
createElementVNode("pre", null, toDisplayString(__props.message) + "\n ", 1)
|
|
69870
69885
|
])
|
|
69871
69886
|
]),
|
|
@@ -69880,7 +69895,7 @@ const help = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
69880
69895
|
default: _sfc_main$1N
|
|
69881
69896
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
69882
69897
|
|
|
69883
|
-
const _hoisted_1$
|
|
69898
|
+
const _hoisted_1$Z = {
|
|
69884
69899
|
key: 2,
|
|
69885
69900
|
style: { "width": "15px" }
|
|
69886
69901
|
};
|
|
@@ -70088,7 +70103,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
70088
70103
|
formData: dataForm.value,
|
|
70089
70104
|
"onUpdate:formData": _cache[0] || (_cache[0] = ($event) => dataForm.value = $event)
|
|
70090
70105
|
}, null, 40, ["isSearch", "bareFlag", "field", "formData"])),
|
|
70091
|
-
__props.item.brotherNodes ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
70106
|
+
__props.item.brotherNodes ? (openBlock(), createElementBlock("div", _hoisted_1$Z)) : createCommentVNode("", true),
|
|
70092
70107
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.item.brotherNodes, (temp, key) => {
|
|
70093
70108
|
return openBlock(), createElementBlock(Fragment, {
|
|
70094
70109
|
key: unref(compKey)(temp, key)
|
|
@@ -70183,7 +70198,7 @@ const ShTableListColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
|
|
|
70183
70198
|
default: _sfc_main$1L
|
|
70184
70199
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
70185
70200
|
|
|
70186
|
-
const _hoisted_1$
|
|
70201
|
+
const _hoisted_1$Y = {
|
|
70187
70202
|
class: "flex-center",
|
|
70188
70203
|
style: { "gap": "4px", "grid-gap": "4px" }
|
|
70189
70204
|
};
|
|
@@ -70218,7 +70233,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
70218
70233
|
onClose
|
|
70219
70234
|
}, {
|
|
70220
70235
|
default: withCtx(() => [
|
|
70221
|
-
createElementVNode("div", _hoisted_1$
|
|
70236
|
+
createElementVNode("div", _hoisted_1$Y, [
|
|
70222
70237
|
createElementVNode("span", null, toDisplayString(_ctx.data[_ctx.displayName]), 1)
|
|
70223
70238
|
])
|
|
70224
70239
|
]),
|
|
@@ -70430,8 +70445,8 @@ function i18n(key, ...args) {
|
|
|
70430
70445
|
}
|
|
70431
70446
|
}
|
|
70432
70447
|
|
|
70433
|
-
const _hoisted_1$
|
|
70434
|
-
const _hoisted_2$
|
|
70448
|
+
const _hoisted_1$X = { class: "di animated animate__fadeIn" };
|
|
70449
|
+
const _hoisted_2$J = { class: "my-header" };
|
|
70435
70450
|
const _hoisted_3$s = { class: "shdialog" };
|
|
70436
70451
|
const _hoisted_4$j = { class: "dialog-body" };
|
|
70437
70452
|
const _hoisted_5$f = {
|
|
@@ -70544,7 +70559,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70544
70559
|
const _component_el_button = ElButton;
|
|
70545
70560
|
const _component_el_dialog = ElDialog;
|
|
70546
70561
|
return openBlock(), createBlock(Teleport$1, { to: "body" }, [
|
|
70547
|
-
createElementVNode("div", _hoisted_1$
|
|
70562
|
+
createElementVNode("div", _hoisted_1$X, [
|
|
70548
70563
|
createVNode(_component_el_dialog, {
|
|
70549
70564
|
"append-to-body": false,
|
|
70550
70565
|
center: false,
|
|
@@ -70566,7 +70581,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
70566
70581
|
}, {
|
|
70567
70582
|
header: withCtx(({ close }) => [
|
|
70568
70583
|
createElementVNode("h3", { onDblclick: fullScreen }, toDisplayString(__props.title || (__props.source == 3 ? unref(i18n)("dialog.viewTitle") : unref(i18n)("dialog.editTitle"))), 33),
|
|
70569
|
-
createElementVNode("div", _hoisted_2$
|
|
70584
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
70570
70585
|
!__props.hideFullScreenIcon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
70571
70586
|
!!unref(isFullScreen) && __props.draggable ? (openBlock(), createBlock(_component_el_button, {
|
|
70572
70587
|
key: 0,
|
|
@@ -70753,8 +70768,8 @@ const StarHorseDialog = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
|
|
|
70753
70768
|
default: __unplugin_components_0$8
|
|
70754
70769
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
70755
70770
|
|
|
70756
|
-
const _hoisted_1$
|
|
70757
|
-
const _hoisted_2$
|
|
70771
|
+
const _hoisted_1$W = { class: "data-line" };
|
|
70772
|
+
const _hoisted_2$I = { class: "menu-title" };
|
|
70758
70773
|
const _hoisted_3$r = { class: "flex flex-row items-center" };
|
|
70759
70774
|
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
70760
70775
|
__name: "DataPicker",
|
|
@@ -70958,8 +70973,8 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
70958
70973
|
onNodeClick
|
|
70959
70974
|
}, {
|
|
70960
70975
|
default: withCtx(({ data }) => [
|
|
70961
|
-
createElementVNode("div", _hoisted_1$
|
|
70962
|
-
createElementVNode("div", _hoisted_2$
|
|
70976
|
+
createElementVNode("div", _hoisted_1$W, [
|
|
70977
|
+
createElementVNode("div", _hoisted_2$I, [
|
|
70963
70978
|
createElementVNode("div", _hoisted_3$r, [
|
|
70964
70979
|
createVNode(_component_star_horse_icon, {
|
|
70965
70980
|
"icon-class": data.children?.length > 0 ? "folder" : "document"
|
|
@@ -71008,7 +71023,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
71008
71023
|
|
|
71009
71024
|
const DataPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-e4748deb"]]);
|
|
71010
71025
|
|
|
71011
|
-
const _hoisted_1$
|
|
71026
|
+
const _hoisted_1$V = { class: "data-wrapper" };
|
|
71012
71027
|
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
71013
71028
|
__name: "StarHorseDataSelector",
|
|
71014
71029
|
props: {
|
|
@@ -71082,7 +71097,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
71082
71097
|
modelValue: selectData.value,
|
|
71083
71098
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectData.value = $event)
|
|
71084
71099
|
}, null, 8, ["title", "datas", "data-url", "page-size", "display-name", "display-value", "checkStrictly", "multiple", "modelValue"]),
|
|
71085
|
-
createElementVNode("div", _hoisted_1$
|
|
71100
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
71086
71101
|
createVNode(__unplugin_components_0$a, {
|
|
71087
71102
|
onClick: openDataPicker,
|
|
71088
71103
|
cursor: "pointer",
|
|
@@ -71171,11 +71186,11 @@ const StarHorseTableViewColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.
|
|
|
71171
71186
|
default: _sfc_main$1G
|
|
71172
71187
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
71173
71188
|
|
|
71174
|
-
const _hoisted_1$
|
|
71189
|
+
const _hoisted_1$U = {
|
|
71175
71190
|
class: "flex justify-between w-full",
|
|
71176
71191
|
style: { "border-bottom": "var(--star-horse-style) 1px solid" }
|
|
71177
71192
|
};
|
|
71178
|
-
const _hoisted_2$
|
|
71193
|
+
const _hoisted_2$H = { class: "tb_title flex flex-row items-center" };
|
|
71179
71194
|
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
71180
71195
|
__name: "StarHorseDataViewTable",
|
|
71181
71196
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -71196,8 +71211,8 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
71196
71211
|
const _component_star_horse_table_view_column = _sfc_main$1G;
|
|
71197
71212
|
const _component_el_table = ElTable;
|
|
71198
71213
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
71199
|
-
createElementVNode("div", _hoisted_1$
|
|
71200
|
-
createElementVNode("div", _hoisted_2$
|
|
71214
|
+
createElementVNode("div", _hoisted_1$U, [
|
|
71215
|
+
createElementVNode("div", _hoisted_2$H, [
|
|
71201
71216
|
createVNode(_component_star_horse_icon, {
|
|
71202
71217
|
"icon-class": "info",
|
|
71203
71218
|
size: "14px"
|
|
@@ -71451,7 +71466,7 @@ const StarHorseDataViewItems = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
|
|
|
71451
71466
|
default: _sfc_main$1D
|
|
71452
71467
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
71453
71468
|
|
|
71454
|
-
const _hoisted_1$
|
|
71469
|
+
const _hoisted_1$T = { class: "flex h-full w-full flex-col" };
|
|
71455
71470
|
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
71456
71471
|
__name: "StarHorseDataView",
|
|
71457
71472
|
props: {
|
|
@@ -71546,7 +71561,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
71546
71561
|
});
|
|
71547
71562
|
return (_ctx, _cache) => {
|
|
71548
71563
|
const _component_star_horse_data_view_items = _sfc_main$1D;
|
|
71549
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
71564
|
+
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
71550
71565
|
createVNode(_component_star_horse_data_view_items, {
|
|
71551
71566
|
commonFormat: __props.dataFormat,
|
|
71552
71567
|
"field-list": __props.fieldList,
|
|
@@ -71563,7 +71578,7 @@ const StarHorseDataView = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
|
|
|
71563
71578
|
default: _sfc_main$1C
|
|
71564
71579
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
71565
71580
|
|
|
71566
|
-
const _hoisted_1$
|
|
71581
|
+
const _hoisted_1$S = ["data", "onMouseup", "onMouseenter"];
|
|
71567
71582
|
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
71568
71583
|
...{
|
|
71569
71584
|
name: "PageEditorContentMenu"
|
|
@@ -71717,7 +71732,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
71717
71732
|
"icon-class": item.icon
|
|
71718
71733
|
}, null, 8, ["icon-class"]),
|
|
71719
71734
|
createTextVNode(" " + toDisplayString(item.text), 1)
|
|
71720
|
-
], 42, _hoisted_1$
|
|
71735
|
+
], 42, _hoisted_1$S)) : createCommentVNode("", true)
|
|
71721
71736
|
], 64);
|
|
71722
71737
|
}), 128)),
|
|
71723
71738
|
(openBlock(), createBlock(Teleport$1, { to: "body" }, [
|
|
@@ -72770,8 +72785,8 @@ function dynamicPageContextMenuData(node) {
|
|
|
72770
72785
|
return contentMenuData;
|
|
72771
72786
|
}
|
|
72772
72787
|
|
|
72773
|
-
const _hoisted_1$
|
|
72774
|
-
const _hoisted_2$
|
|
72788
|
+
const _hoisted_1$R = { class: "node__wrapper" };
|
|
72789
|
+
const _hoisted_2$G = {
|
|
72775
72790
|
key: 0,
|
|
72776
72791
|
class: "node-line node-line-left",
|
|
72777
72792
|
style: { "border-width": "1px", "border-color": "red" }
|
|
@@ -72976,8 +72991,8 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
72976
72991
|
onMouseup: endAction,
|
|
72977
72992
|
onMousemove: dragAction
|
|
72978
72993
|
}, [
|
|
72979
|
-
createElementVNode("div", _hoisted_1$
|
|
72980
|
-
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
72994
|
+
createElementVNode("div", _hoisted_1$R, [
|
|
72995
|
+
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_2$G)) : createCommentVNode("", true),
|
|
72981
72996
|
__props.isActive ? (openBlock(), createElementBlock("div", _hoisted_3$q)) : createCommentVNode("", true),
|
|
72982
72997
|
__props.isActive ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(pointList.value, (item, key) => {
|
|
72983
72998
|
return openBlock(), createElementBlock("div", {
|
|
@@ -75743,8 +75758,8 @@ const UTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProper
|
|
|
75743
75758
|
default: _sfc_main$1z
|
|
75744
75759
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
75745
75760
|
|
|
75746
|
-
const _hoisted_1$
|
|
75747
|
-
const _hoisted_2$
|
|
75761
|
+
const _hoisted_1$Q = { class: "el-upload__tip" };
|
|
75762
|
+
const _hoisted_2$F = { class: "form-list" };
|
|
75748
75763
|
const _hoisted_3$p = { class: "dynamic-tools" };
|
|
75749
75764
|
const _hoisted_4$h = {
|
|
75750
75765
|
key: 0,
|
|
@@ -76025,7 +76040,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
76025
76040
|
drag: ""
|
|
76026
76041
|
}, {
|
|
76027
76042
|
tip: withCtx(() => [
|
|
76028
|
-
createElementVNode("div", _hoisted_1$
|
|
76043
|
+
createElementVNode("div", _hoisted_1$Q, [
|
|
76029
76044
|
_cache[3] || (_cache[3] = createTextVNode(" 只能上传 xls/xlsx 文件类型 ", -1)),
|
|
76030
76045
|
__props.importInfo?.downloadTemplateUrl ? (openBlock(), createBlock(_component_el_button, {
|
|
76031
76046
|
key: 0,
|
|
@@ -76073,7 +76088,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
76073
76088
|
]),
|
|
76074
76089
|
_: 1
|
|
76075
76090
|
}, 8, ["dialogVisible"])) : createCommentVNode("", true),
|
|
76076
|
-
createElementVNode("div", _hoisted_2$
|
|
76091
|
+
createElementVNode("div", _hoisted_2$F, [
|
|
76077
76092
|
createElementVNode("div", _hoisted_3$p, [
|
|
76078
76093
|
!__props.subFlag ? (openBlock(), createElementBlock("div", _hoisted_4$h, [
|
|
76079
76094
|
createVNode(__unplugin_components_0$a, {
|
|
@@ -122064,8 +122079,8 @@ const StarHorseJsonEditor = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
|
|
|
122064
122079
|
default: __unplugin_components_0$5
|
|
122065
122080
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
122066
122081
|
|
|
122067
|
-
const _hoisted_1$
|
|
122068
|
-
const _hoisted_2$
|
|
122082
|
+
const _hoisted_1$P = { class: "system-icon" };
|
|
122083
|
+
const _hoisted_2$E = ["onClick"];
|
|
122069
122084
|
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
122070
122085
|
__name: "StarHorsePopover",
|
|
122071
122086
|
props: {
|
|
@@ -122112,7 +122127,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
122112
122127
|
renderSlot(_ctx.$slots, "default")
|
|
122113
122128
|
]),
|
|
122114
122129
|
default: withCtx(() => [
|
|
122115
|
-
createElementVNode("ul", _hoisted_1$
|
|
122130
|
+
createElementVNode("ul", _hoisted_1$P, [
|
|
122116
122131
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(iconList), (sdata, key) => {
|
|
122117
122132
|
return openBlock(), createElementBlock("li", {
|
|
122118
122133
|
key: unref(compKey)(sdata, key),
|
|
@@ -122130,7 +122145,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
122130
122145
|
]),
|
|
122131
122146
|
_: 2
|
|
122132
122147
|
}, 1032, ["content"])
|
|
122133
|
-
], 10, _hoisted_2$
|
|
122148
|
+
], 10, _hoisted_2$E);
|
|
122134
122149
|
}), 128))
|
|
122135
122150
|
])
|
|
122136
122151
|
]),
|
|
@@ -122332,8 +122347,8 @@ function analysisFields(compList) {
|
|
|
122332
122347
|
return { fieldList, tabNames, objectNames, batchNames };
|
|
122333
122348
|
}
|
|
122334
122349
|
|
|
122335
|
-
const _hoisted_1$
|
|
122336
|
-
const _hoisted_2$
|
|
122350
|
+
const _hoisted_1$O = { class: "search_content" };
|
|
122351
|
+
const _hoisted_2$D = { class: "search_btn" };
|
|
122337
122352
|
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
122338
122353
|
__name: "StarHorseSearchComp",
|
|
122339
122354
|
props: {
|
|
@@ -122426,7 +122441,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
122426
122441
|
const _component_el_button = ElButton;
|
|
122427
122442
|
const _component_el_tooltip = ElTooltip;
|
|
122428
122443
|
const _component_el_form = ElForm;
|
|
122429
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
122444
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
122430
122445
|
__props.formData?.fieldList ? (openBlock(), createBlock(_component_el_form, {
|
|
122431
122446
|
key: 0,
|
|
122432
122447
|
class: "search_area",
|
|
@@ -122519,7 +122534,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
122519
122534
|
}), 256)),
|
|
122520
122535
|
createVNode(_component_el_form_item, { style: { "vertical-align": "middle", "align-items": "center" } }, {
|
|
122521
122536
|
default: withCtx(() => [
|
|
122522
|
-
createElementVNode("div", _hoisted_2$
|
|
122537
|
+
createElementVNode("div", _hoisted_2$D, [
|
|
122523
122538
|
createVNode(_component_el_button, {
|
|
122524
122539
|
onClick: dataSearch,
|
|
122525
122540
|
style: { "background": "var(--star-horse-style)", "color": "var(--star-horse-white)" },
|
|
@@ -122595,7 +122610,7 @@ const StarHorseSearchComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
|
|
|
122595
122610
|
default: __unplugin_components_0$4
|
|
122596
122611
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
122597
122612
|
|
|
122598
|
-
const _hoisted_1$
|
|
122613
|
+
const _hoisted_1$N = ["onClick"];
|
|
122599
122614
|
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
122600
122615
|
__name: "StarHorseTableColumn",
|
|
122601
122616
|
props: {
|
|
@@ -122796,7 +122811,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
122796
122811
|
}, null, 8, ["dataForm", "onUpdate:dataForm", "item", "column", "batchName", "compSize", "source"])) : (openBlock(), createElementBlock("p", {
|
|
122797
122812
|
key: 1,
|
|
122798
122813
|
onClick: ($event) => cellClick(scope.row, scope.column)
|
|
122799
|
-
}, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$
|
|
122814
|
+
}, toDisplayString(currentDataFormat(scope)), 9, _hoisted_1$N))
|
|
122800
122815
|
], 64))
|
|
122801
122816
|
]),
|
|
122802
122817
|
_: 1
|
|
@@ -122814,8 +122829,8 @@ const StarHorseTableColumn = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
122814
122829
|
default: __unplugin_components_2$1
|
|
122815
122830
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
122816
122831
|
|
|
122817
|
-
const _hoisted_1$
|
|
122818
|
-
const _hoisted_2$
|
|
122832
|
+
const _hoisted_1$M = { class: "table-comp" };
|
|
122833
|
+
const _hoisted_2$C = {
|
|
122819
122834
|
key: 0,
|
|
122820
122835
|
style: { "display": "flex", "justify-content": "space-between", "width": "100%", "border-bottom": "var(--star-horse-style) 1px solid" }
|
|
122821
122836
|
};
|
|
@@ -123010,8 +123025,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
123010
123025
|
const _component_el_table = ElTable;
|
|
123011
123026
|
const _component_el_popover = ElPopover;
|
|
123012
123027
|
const _component_star_horse_table_column = __unplugin_components_2$1;
|
|
123013
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
123014
|
-
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
123028
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
123029
|
+
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
|
|
123015
123030
|
createElementVNode("div", _hoisted_3$o, [
|
|
123016
123031
|
createVNode(_component_star_horse_icon, {
|
|
123017
123032
|
"icon-class": "info",
|
|
@@ -123205,8 +123220,8 @@ const StarHorseStaticTable$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
|
|
|
123205
123220
|
default: StarHorseStaticTable
|
|
123206
123221
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
123207
123222
|
|
|
123208
|
-
const _hoisted_1$
|
|
123209
|
-
const _hoisted_2$
|
|
123223
|
+
const _hoisted_1$L = { class: "flex items-center w-[100%]" };
|
|
123224
|
+
const _hoisted_2$B = ["onClick"];
|
|
123210
123225
|
const _hoisted_3$n = {
|
|
123211
123226
|
key: 1,
|
|
123212
123227
|
class: "inner_button"
|
|
@@ -123482,7 +123497,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
123482
123497
|
name: "file"
|
|
123483
123498
|
}, {
|
|
123484
123499
|
default: withCtx(() => [
|
|
123485
|
-
createElementVNode("div", _hoisted_1$
|
|
123500
|
+
createElementVNode("div", _hoisted_1$L, [
|
|
123486
123501
|
createVNode(_component_star_horse_icon, {
|
|
123487
123502
|
"icon-class": "excel-upload",
|
|
123488
123503
|
size: "14px"
|
|
@@ -123506,7 +123521,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
123506
123521
|
key: 0,
|
|
123507
123522
|
message: item.helpMsg
|
|
123508
123523
|
}, null, 8, ["message"])) : createCommentVNode("", true)
|
|
123509
|
-
], 8, _hoisted_2$
|
|
123524
|
+
], 8, _hoisted_2$B))
|
|
123510
123525
|
]),
|
|
123511
123526
|
_: 2
|
|
123512
123527
|
}, 1032, ["index"])) : createCommentVNode("", true)
|
|
@@ -123632,7 +123647,7 @@ const StarHorseButtonList = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
|
|
|
123632
123647
|
default: __unplugin_components_2
|
|
123633
123648
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
123634
123649
|
|
|
123635
|
-
const _hoisted_1$
|
|
123650
|
+
const _hoisted_1$K = { class: "el-dropdown-link" };
|
|
123636
123651
|
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
123637
123652
|
__name: "tablebtn",
|
|
123638
123653
|
props: {
|
|
@@ -123756,7 +123771,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
123756
123771
|
})
|
|
123757
123772
|
]),
|
|
123758
123773
|
default: withCtx(() => [
|
|
123759
|
-
createElementVNode("span", _hoisted_1$
|
|
123774
|
+
createElementVNode("span", _hoisted_1$K, [
|
|
123760
123775
|
createVNode(_component_star_horse_icon, {
|
|
123761
123776
|
"icon-class": "ellipsis",
|
|
123762
123777
|
style: { "color": "var(--star-horse-style)" }
|
|
@@ -124134,8 +124149,8 @@ const useDynamicFormStore = defineStore("dynamicForm", () => {
|
|
|
124134
124149
|
};
|
|
124135
124150
|
});
|
|
124136
124151
|
|
|
124137
|
-
const _hoisted_1$
|
|
124138
|
-
const _hoisted_2$
|
|
124152
|
+
const _hoisted_1$J = { class: "star-horse-table" };
|
|
124153
|
+
const _hoisted_2$A = {
|
|
124139
124154
|
key: 0,
|
|
124140
124155
|
class: "flex w-full justify-between",
|
|
124141
124156
|
style: { "border-bottom": "var(--star-horse-style) 1px solid" }
|
|
@@ -124877,8 +124892,8 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
124877
124892
|
_: 1,
|
|
124878
124893
|
__: [7]
|
|
124879
124894
|
}, 8, ["dialogVisible"]),
|
|
124880
|
-
createElementVNode("div", _hoisted_1$
|
|
124881
|
-
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
124895
|
+
createElementVNode("div", _hoisted_1$J, [
|
|
124896
|
+
!__props.dialogInput ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
|
|
124882
124897
|
createElementVNode("div", _hoisted_3$m, [
|
|
124883
124898
|
__props.title || __props.helpMsg ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
|
|
124884
124899
|
__props.helpMsg ? (openBlock(), createBlock(_sfc_main$1N, {
|
|
@@ -125251,8 +125266,8 @@ const StarHorseTableComp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.define
|
|
|
125251
125266
|
default: __unplugin_components_1$1
|
|
125252
125267
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
125253
125268
|
|
|
125254
|
-
const _hoisted_1$
|
|
125255
|
-
const _hoisted_2$
|
|
125269
|
+
const _hoisted_1$I = ["onClick"];
|
|
125270
|
+
const _hoisted_2$z = { class: "name" };
|
|
125256
125271
|
const _hoisted_3$l = {
|
|
125257
125272
|
key: 0,
|
|
125258
125273
|
class: "btn"
|
|
@@ -125326,7 +125341,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
125326
125341
|
class: "menu-title",
|
|
125327
125342
|
onClick: ($event) => selectData(item, $event)
|
|
125328
125343
|
}, [
|
|
125329
|
-
createElementVNode("div", _hoisted_2$
|
|
125344
|
+
createElementVNode("div", _hoisted_2$z, toDisplayString(item[__props.preps.label]), 1),
|
|
125330
125345
|
__props.btnVisible || __props.rmvVisible ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
|
|
125331
125346
|
createVNode(_component_el_tooltip, { content: __props.btnTitle }, {
|
|
125332
125347
|
default: withCtx(() => [
|
|
@@ -125352,7 +125367,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
125352
125367
|
_: 2
|
|
125353
125368
|
}, 1032, ["content"])
|
|
125354
125369
|
])) : createCommentVNode("", true)
|
|
125355
|
-
], 8, _hoisted_1$
|
|
125370
|
+
], 8, _hoisted_1$I)
|
|
125356
125371
|
]),
|
|
125357
125372
|
default: withCtx(() => [
|
|
125358
125373
|
createVNode(_component_SubSystemMenu, {
|
|
@@ -125425,11 +125440,11 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
125425
125440
|
|
|
125426
125441
|
const SubSystemMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-dd41bfa1"]]);
|
|
125427
125442
|
|
|
125428
|
-
const _hoisted_1$
|
|
125443
|
+
const _hoisted_1$H = {
|
|
125429
125444
|
key: 0,
|
|
125430
125445
|
class: "selected-data gap-2"
|
|
125431
125446
|
};
|
|
125432
|
-
const _hoisted_2$
|
|
125447
|
+
const _hoisted_2$y = { class: "tree-title" };
|
|
125433
125448
|
const _hoisted_3$k = { class: "title flex items-center" };
|
|
125434
125449
|
const _hoisted_4$c = {
|
|
125435
125450
|
key: 0,
|
|
@@ -125718,7 +125733,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
125718
125733
|
})
|
|
125719
125734
|
}, {
|
|
125720
125735
|
default: withCtx(() => [
|
|
125721
|
-
__props.showSelectData && unref(selectedDataList)?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
125736
|
+
__props.showSelectData && unref(selectedDataList)?.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
125722
125737
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedDataList), (item) => {
|
|
125723
125738
|
return openBlock(), createBlock(_component_el_tag, {
|
|
125724
125739
|
closable: "",
|
|
@@ -125732,7 +125747,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
125732
125747
|
}, 1032, ["onClose"]);
|
|
125733
125748
|
}), 128))
|
|
125734
125749
|
])) : createCommentVNode("", true),
|
|
125735
|
-
createElementVNode("div", _hoisted_2$
|
|
125750
|
+
createElementVNode("div", _hoisted_2$y, [
|
|
125736
125751
|
createElementVNode("div", _hoisted_3$k, [
|
|
125737
125752
|
createTextVNode(toDisplayString(__props.treeTitle) + " ", 1),
|
|
125738
125753
|
__props.helpMsg ? (openBlock(), createBlock(_sfc_main$1N, {
|
|
@@ -126299,8 +126314,8 @@ const tableAction = (props, buttonControl) => {
|
|
|
126299
126314
|
buttonControl.undoMergeColDisabled = undoMergeColAction(props);
|
|
126300
126315
|
};
|
|
126301
126316
|
|
|
126302
|
-
const _hoisted_1$
|
|
126303
|
-
const _hoisted_2$
|
|
126317
|
+
const _hoisted_1$G = { class: "component-list" };
|
|
126318
|
+
const _hoisted_2$x = { class: "title" };
|
|
126304
126319
|
const _hoisted_3$j = { id: "container" };
|
|
126305
126320
|
const _hoisted_4$b = ["onClick"];
|
|
126306
126321
|
const _hoisted_5$8 = { id: "basic" };
|
|
@@ -126329,8 +126344,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
126329
126344
|
const _component_el_divider = ElDivider;
|
|
126330
126345
|
const _component_star_horse_icon = __unplugin_components_0$a;
|
|
126331
126346
|
const _component_el_scrollbar = ElScrollbar;
|
|
126332
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
126333
|
-
createElementVNode("div", _hoisted_2$
|
|
126347
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
126348
|
+
createElementVNode("div", _hoisted_2$x, [
|
|
126334
126349
|
createVNode(_component_el_anchor, {
|
|
126335
126350
|
type: "underline",
|
|
126336
126351
|
container: containerRef.value,
|
|
@@ -126522,11 +126537,11 @@ function fieldCopy(data, type) {
|
|
|
126522
126537
|
return mvData;
|
|
126523
126538
|
}
|
|
126524
126539
|
|
|
126525
|
-
const _hoisted_1$
|
|
126540
|
+
const _hoisted_1$F = {
|
|
126526
126541
|
key: 0,
|
|
126527
126542
|
class: "drag-handler"
|
|
126528
126543
|
};
|
|
126529
|
-
const _hoisted_2$
|
|
126544
|
+
const _hoisted_2$w = {
|
|
126530
126545
|
key: 1,
|
|
126531
126546
|
class: "field-action"
|
|
126532
126547
|
};
|
|
@@ -126724,7 +126739,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
126724
126739
|
onContextmenu: containerContextMenu
|
|
126725
126740
|
}, [
|
|
126726
126741
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
126727
|
-
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
126742
|
+
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
126728
126743
|
createVNode(_component_el_tooltip, { content: "拖动" }, {
|
|
126729
126744
|
default: withCtx(() => [
|
|
126730
126745
|
createVNode(_component_star_horse_icon, {
|
|
@@ -126758,7 +126773,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
126758
126773
|
_: 1
|
|
126759
126774
|
})
|
|
126760
126775
|
])) : createCommentVNode("", true),
|
|
126761
|
-
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
126776
|
+
unref(isEdit) && __props.isDesign && unref(currentItemId) == __props.formItem.id ? (openBlock(), createElementBlock("div", _hoisted_2$w, [
|
|
126762
126777
|
__props.formItem.itemType == "dytable" || __props.formItem.itemType == "box" ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
126763
126778
|
key: 0,
|
|
126764
126779
|
content: "插入行"
|
|
@@ -126822,7 +126837,7 @@ const groupBoxContainer = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineP
|
|
|
126822
126837
|
default: __unplugin_components_1
|
|
126823
126838
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
126824
126839
|
|
|
126825
|
-
const _hoisted_1$
|
|
126840
|
+
const _hoisted_1$E = { class: "comp-item" };
|
|
126826
126841
|
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
126827
126842
|
__name: "box-container",
|
|
126828
126843
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -126922,7 +126937,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
126922
126937
|
list: sdata.items
|
|
126923
126938
|
}, {
|
|
126924
126939
|
item: withCtx(({ element: data }) => [
|
|
126925
|
-
createElementVNode("div", _hoisted_1$
|
|
126940
|
+
createElementVNode("div", _hoisted_1$E, [
|
|
126926
126941
|
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
126927
126942
|
key: data.id,
|
|
126928
126943
|
field: data,
|
|
@@ -126984,8 +126999,8 @@ const boxContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
|
|
|
126984
126999
|
default: boxContainer
|
|
126985
127000
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
126986
127001
|
|
|
126987
|
-
const _hoisted_1$
|
|
126988
|
-
const _hoisted_2$
|
|
127002
|
+
const _hoisted_1$D = { class: "card-header flex items-center justify-between" };
|
|
127003
|
+
const _hoisted_2$v = { class: "w-[60%]" };
|
|
126989
127004
|
const _hoisted_3$h = { class: "comp-item" };
|
|
126990
127005
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
126991
127006
|
__name: "card-container",
|
|
@@ -127074,8 +127089,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
127074
127089
|
shadow: __props.field.preps["shadow"]
|
|
127075
127090
|
}, {
|
|
127076
127091
|
header: withCtx(() => [
|
|
127077
|
-
createElementVNode("div", _hoisted_1$
|
|
127078
|
-
createElementVNode("div", _hoisted_2$
|
|
127092
|
+
createElementVNode("div", _hoisted_1$D, [
|
|
127093
|
+
createElementVNode("div", _hoisted_2$v, [
|
|
127079
127094
|
createTextVNode(toDisplayString(adata.title || adata.tabName) + " ", 1),
|
|
127080
127095
|
adata.helpMsg ? (openBlock(), createBlock(_component_help, {
|
|
127081
127096
|
key: 0,
|
|
@@ -127176,8 +127191,8 @@ const cardContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
|
|
|
127176
127191
|
default: cardContainer
|
|
127177
127192
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
127178
127193
|
|
|
127179
|
-
const _hoisted_1$
|
|
127180
|
-
const _hoisted_2$
|
|
127194
|
+
const _hoisted_1$C = { class: "collapse-item-title title" };
|
|
127195
|
+
const _hoisted_2$u = { class: "comp-item" };
|
|
127181
127196
|
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
127182
127197
|
__name: "collapse-container",
|
|
127183
127198
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -127265,7 +127280,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
127265
127280
|
name: adata.tabName
|
|
127266
127281
|
}, {
|
|
127267
127282
|
title: withCtx(() => [
|
|
127268
|
-
createElementVNode("div", _hoisted_1$
|
|
127283
|
+
createElementVNode("div", _hoisted_1$C, [
|
|
127269
127284
|
createElementVNode("div", null, toDisplayString(adata.label || adata.objectName), 1)
|
|
127270
127285
|
])
|
|
127271
127286
|
]),
|
|
@@ -127286,7 +127301,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
127286
127301
|
list: adata["items"]
|
|
127287
127302
|
}, {
|
|
127288
127303
|
item: withCtx(({ element: data }) => [
|
|
127289
|
-
createElementVNode("div", _hoisted_2$
|
|
127304
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
127290
127305
|
(openBlock(), createBlock(resolveDynamicComponent(unref(itemCheck)(data)), {
|
|
127291
127306
|
key: data.id,
|
|
127292
127307
|
field: data,
|
|
@@ -127328,8 +127343,8 @@ const collapseContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defin
|
|
|
127328
127343
|
default: collapseContainer
|
|
127329
127344
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
127330
127345
|
|
|
127331
|
-
const _hoisted_1$
|
|
127332
|
-
const _hoisted_2$
|
|
127346
|
+
const _hoisted_1$B = ["colspan", "rowspan"];
|
|
127347
|
+
const _hoisted_2$t = {
|
|
127333
127348
|
key: 0,
|
|
127334
127349
|
class: "table-cell-action"
|
|
127335
127350
|
};
|
|
@@ -127522,7 +127537,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
127522
127537
|
]),
|
|
127523
127538
|
_: 1
|
|
127524
127539
|
}, 8, ["item-key", "list"]),
|
|
127525
|
-
unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
127540
|
+
unref(isEdit) && __props.isDesign && unref(currentSubItemId) == __props.field._uuid ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
|
|
127526
127541
|
createVNode(_component_el_dropdown, {
|
|
127527
127542
|
trigger: "click",
|
|
127528
127543
|
onCommand: handleTableCellCommand,
|
|
@@ -127686,7 +127701,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
127686
127701
|
_: 1
|
|
127687
127702
|
}, 8, ["size"])
|
|
127688
127703
|
])) : createCommentVNode("", true)
|
|
127689
|
-
], 46, _hoisted_1$
|
|
127704
|
+
], 46, _hoisted_1$B);
|
|
127690
127705
|
};
|
|
127691
127706
|
}
|
|
127692
127707
|
});
|
|
@@ -127700,7 +127715,7 @@ const dytableCol = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
|
|
|
127700
127715
|
default: DytableCol
|
|
127701
127716
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
127702
127717
|
|
|
127703
|
-
const _hoisted_1$
|
|
127718
|
+
const _hoisted_1$A = { class: "dy-tr" };
|
|
127704
127719
|
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
127705
127720
|
__name: "dytable-container",
|
|
127706
127721
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -127736,7 +127751,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
127736
127751
|
}, [
|
|
127737
127752
|
createElementVNode("tbody", null, [
|
|
127738
127753
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps.elements, (row, rowIndex) => {
|
|
127739
|
-
return openBlock(), createElementBlock("tr", _hoisted_1$
|
|
127754
|
+
return openBlock(), createElementBlock("tr", _hoisted_1$A, [
|
|
127740
127755
|
(openBlock(true), createElementBlock(Fragment, null, renderList(row.columns, (td, colIndex) => {
|
|
127741
127756
|
return openBlock(), createBlock(DytableCol, {
|
|
127742
127757
|
field: td,
|
|
@@ -127953,8 +127968,8 @@ const tabContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
|
|
|
127953
127968
|
default: tabContainer
|
|
127954
127969
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
127955
127970
|
|
|
127956
|
-
const _hoisted_1$
|
|
127957
|
-
const _hoisted_2$
|
|
127971
|
+
const _hoisted_1$z = { class: "container-thead" };
|
|
127972
|
+
const _hoisted_2$s = ["onMouseenter", "onMouseleave"];
|
|
127958
127973
|
const _hoisted_3$g = {
|
|
127959
127974
|
key: 0,
|
|
127960
127975
|
class: "td-operator"
|
|
@@ -128079,7 +128094,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
128079
128094
|
border: unref(isEdit) && __props.isDesign ? "1px solid #dfe6ec" : "none"
|
|
128080
128095
|
})
|
|
128081
128096
|
}, [
|
|
128082
|
-
createElementVNode("thead", _hoisted_1$
|
|
128097
|
+
createElementVNode("thead", _hoisted_1$z, [
|
|
128083
128098
|
createElementVNode("tr", null, [
|
|
128084
128099
|
(openBlock(true), createElementBlock(Fragment, null, renderList(parseInt(__props.field.preps.columns || 1), (td) => {
|
|
128085
128100
|
return openBlock(), createElementBlock("th", {
|
|
@@ -128099,7 +128114,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
128099
128114
|
}, 1024)
|
|
128100
128115
|
])) : createCommentVNode("", true),
|
|
128101
128116
|
createTextVNode(" " + toDisplayString(analysisData(td)), 1)
|
|
128102
|
-
], 40, _hoisted_2$
|
|
128117
|
+
], 40, _hoisted_2$s);
|
|
128103
128118
|
}), 256))
|
|
128104
128119
|
])
|
|
128105
128120
|
]),
|
|
@@ -128163,11 +128178,11 @@ const tableContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
|
|
|
128163
128178
|
default: tableContainer
|
|
128164
128179
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
128165
128180
|
|
|
128166
|
-
const _hoisted_1$
|
|
128181
|
+
const _hoisted_1$y = {
|
|
128167
128182
|
key: 1,
|
|
128168
128183
|
class: "form-item-operation"
|
|
128169
128184
|
};
|
|
128170
|
-
const _hoisted_2$
|
|
128185
|
+
const _hoisted_2$r = {
|
|
128171
128186
|
key: 2,
|
|
128172
128187
|
class: "field-action"
|
|
128173
128188
|
};
|
|
@@ -128283,7 +128298,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
128283
128298
|
message: __props.formItem.preps?.helpMsg
|
|
128284
128299
|
}, null, 8, ["message"])) : createCommentVNode("", true),
|
|
128285
128300
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128286
|
-
], 6)) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
128301
|
+
], 6)) : (openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
128287
128302
|
__props.showFormItem ? (openBlock(), createElementBlock("div", {
|
|
128288
128303
|
key: 0,
|
|
128289
128304
|
class: normalizeClass(["w-fill", {
|
|
@@ -128330,7 +128345,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
128330
128345
|
}, null, 8, ["message"])) : createCommentVNode("", true),
|
|
128331
128346
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128332
128347
|
], 6)),
|
|
128333
|
-
unref(isEdit) && !__props.disabled && unref(currentItemId) == __props.formItem?.preps.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
128348
|
+
unref(isEdit) && !__props.disabled && unref(currentItemId) == __props.formItem?.preps.id ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
128334
128349
|
__props.parentField?.itemType ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
128335
128350
|
key: 0,
|
|
128336
128351
|
content: "选择父容器"
|
|
@@ -128731,7 +128746,7 @@ const areaItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
|
|
|
128731
128746
|
default: areaItem
|
|
128732
128747
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
128733
128748
|
|
|
128734
|
-
const _hoisted_1$
|
|
128749
|
+
const _hoisted_1$x = ["fid"];
|
|
128735
128750
|
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
128736
128751
|
__name: "audio-item",
|
|
128737
128752
|
props: {
|
|
@@ -128859,7 +128874,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
128859
128874
|
ref_key: "audio",
|
|
128860
128875
|
ref: audio,
|
|
128861
128876
|
controls: ""
|
|
128862
|
-
}, null, 8, _hoisted_1$
|
|
128877
|
+
}, null, 8, _hoisted_1$x)
|
|
128863
128878
|
]),
|
|
128864
128879
|
_: 1
|
|
128865
128880
|
}, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -129214,6 +129229,11 @@ const buttonItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProper
|
|
|
129214
129229
|
default: buttonItem
|
|
129215
129230
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
129216
129231
|
|
|
129232
|
+
const _hoisted_1$w = {
|
|
129233
|
+
key: 1,
|
|
129234
|
+
class: "flex-row flex w-full justify-between"
|
|
129235
|
+
};
|
|
129236
|
+
const _hoisted_2$q = { class: "flex-row flex justify-center w-[35%] mx-auto my-0" };
|
|
129217
129237
|
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
129218
129238
|
__name: "cascade-item",
|
|
129219
129239
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -129256,9 +129276,73 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
129256
129276
|
const props = __props;
|
|
129257
129277
|
const emits = __emit;
|
|
129258
129278
|
const formData = useModel(__props, "formData");
|
|
129279
|
+
const checkAll = ref(false);
|
|
129280
|
+
const indeterminate = ref(false);
|
|
129281
|
+
const isAdding = ref(false);
|
|
129282
|
+
const optionName = ref("");
|
|
129283
|
+
const getAllValuePaths = computed(() => {
|
|
129284
|
+
const codeName = props.field.preps.props?.code || props.field.preps.props?.value || "value";
|
|
129285
|
+
const result = [];
|
|
129286
|
+
const queue = props.field.preps.options.map(
|
|
129287
|
+
(node) => ({ node, path: [node[codeName]] })
|
|
129288
|
+
);
|
|
129289
|
+
while (queue.length > 0) {
|
|
129290
|
+
const { node, path } = queue.shift();
|
|
129291
|
+
if (node.children?.length) {
|
|
129292
|
+
node.children.forEach((child) => {
|
|
129293
|
+
queue.push({ node: child, path: [...path, child[codeName]] });
|
|
129294
|
+
});
|
|
129295
|
+
} else {
|
|
129296
|
+
result.push(path);
|
|
129297
|
+
}
|
|
129298
|
+
}
|
|
129299
|
+
return result;
|
|
129300
|
+
});
|
|
129259
129301
|
const itemAction = (prep) => {
|
|
129260
129302
|
allAction(props, emits, formData, prep);
|
|
129261
129303
|
};
|
|
129304
|
+
const onAddOption = () => {
|
|
129305
|
+
isAdding.value = true;
|
|
129306
|
+
};
|
|
129307
|
+
const onConfirm = () => {
|
|
129308
|
+
if (!optionName.value) {
|
|
129309
|
+
warning("请输入选项名称");
|
|
129310
|
+
return;
|
|
129311
|
+
}
|
|
129312
|
+
const labelName = props.field.preps.props?.label || "label";
|
|
129313
|
+
const codeName = props.field.preps.props?.code || props.field.preps.props?.value || "value";
|
|
129314
|
+
if (props.field.preps.options.find((item) => item[codeName] == optionName.value)) {
|
|
129315
|
+
warning("选项名称重复");
|
|
129316
|
+
return;
|
|
129317
|
+
}
|
|
129318
|
+
const temp = {};
|
|
129319
|
+
temp[labelName] = optionName.value;
|
|
129320
|
+
temp[codeName] = optionName.value;
|
|
129321
|
+
props.field.preps.options.push(temp);
|
|
129322
|
+
isAdding.value = false;
|
|
129323
|
+
};
|
|
129324
|
+
const clear = () => {
|
|
129325
|
+
optionName.value = "";
|
|
129326
|
+
isAdding.value = false;
|
|
129327
|
+
};
|
|
129328
|
+
const handleCheckAll = (val) => {
|
|
129329
|
+
indeterminate.value = false;
|
|
129330
|
+
if (val) {
|
|
129331
|
+
const collectValues = (nodes) => {
|
|
129332
|
+
let values = [];
|
|
129333
|
+
nodes.forEach((node) => {
|
|
129334
|
+
values.push(node.value);
|
|
129335
|
+
if (node.children) {
|
|
129336
|
+
values = values.concat(collectValues(node.children));
|
|
129337
|
+
}
|
|
129338
|
+
});
|
|
129339
|
+
return values;
|
|
129340
|
+
};
|
|
129341
|
+
formData.value[props.field.fieldName] = collectValues(props.field.preps.options);
|
|
129342
|
+
} else {
|
|
129343
|
+
formData.value[props.field.fieldName] = [];
|
|
129344
|
+
}
|
|
129345
|
+
};
|
|
129262
129346
|
const initData = async () => {
|
|
129263
129347
|
await nextTick();
|
|
129264
129348
|
const dataa = await compDynamicData(props.field);
|
|
@@ -129279,14 +129363,27 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
129279
129363
|
if (!props.field.preps) {
|
|
129280
129364
|
props.field.preps = {};
|
|
129281
129365
|
}
|
|
129282
|
-
props.field.preps
|
|
129283
|
-
|
|
129284
|
-
|
|
129285
|
-
|
|
129286
|
-
|
|
129366
|
+
if (!props.field.preps.props) {
|
|
129367
|
+
props.field.preps["props"] = {
|
|
129368
|
+
label: "name",
|
|
129369
|
+
multiple: props.field?.preps?.multiple,
|
|
129370
|
+
checkStrictly: true
|
|
129371
|
+
};
|
|
129372
|
+
}
|
|
129287
129373
|
initData();
|
|
129288
129374
|
initCompCallEvent(props, emits, formData);
|
|
129289
129375
|
});
|
|
129376
|
+
watch(formData.value[props.field.fieldName], (val) => {
|
|
129377
|
+
if (val.length === 0) {
|
|
129378
|
+
checkAll.value = false;
|
|
129379
|
+
indeterminate.value = false;
|
|
129380
|
+
} else if (val.length === getAllValuePaths.value.length) {
|
|
129381
|
+
checkAll.value = true;
|
|
129382
|
+
indeterminate.value = false;
|
|
129383
|
+
} else {
|
|
129384
|
+
indeterminate.value = true;
|
|
129385
|
+
}
|
|
129386
|
+
});
|
|
129290
129387
|
watch(
|
|
129291
129388
|
() => formData.value[props.field.fieldName + "OptionList"],
|
|
129292
129389
|
(val) => {
|
|
@@ -129299,6 +129396,9 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
129299
129396
|
}
|
|
129300
129397
|
);
|
|
129301
129398
|
return (_ctx, _cache) => {
|
|
129399
|
+
const _component_el_checkbox = ElCheckbox;
|
|
129400
|
+
const _component_el_button = ElButton;
|
|
129401
|
+
const _component_el_input = ElInput;
|
|
129302
129402
|
const _component_el_cascader = ElCascader;
|
|
129303
129403
|
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
129304
129404
|
return openBlock(), createBlock(_component_starhorse_form_item, {
|
|
@@ -129316,8 +129416,79 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
129316
129416
|
disabled: unref(checkIsDisabled)(props)
|
|
129317
129417
|
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
129318
129418
|
modelValue: formData.value[__props.field.fieldName],
|
|
129319
|
-
"onUpdate:modelValue": _cache[
|
|
129320
|
-
}),
|
|
129419
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
129420
|
+
}), createSlots({ _: 2 }, [
|
|
129421
|
+
__props.field.preps.multiple ? {
|
|
129422
|
+
name: "header",
|
|
129423
|
+
fn: withCtx(() => [
|
|
129424
|
+
createVNode(_component_el_checkbox, {
|
|
129425
|
+
modelValue: checkAll.value,
|
|
129426
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkAll.value = $event),
|
|
129427
|
+
indeterminate: indeterminate.value,
|
|
129428
|
+
onChange: handleCheckAll
|
|
129429
|
+
}, {
|
|
129430
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
129431
|
+
createTextVNode(" 全部 ", -1)
|
|
129432
|
+
])),
|
|
129433
|
+
_: 1,
|
|
129434
|
+
__: [3]
|
|
129435
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
129436
|
+
]),
|
|
129437
|
+
key: "0"
|
|
129438
|
+
} : void 0,
|
|
129439
|
+
__props.field.preps?.showFooter ? {
|
|
129440
|
+
name: "footer",
|
|
129441
|
+
fn: withCtx(() => [
|
|
129442
|
+
!isAdding.value ? (openBlock(), createBlock(_component_el_button, {
|
|
129443
|
+
key: 0,
|
|
129444
|
+
text: "",
|
|
129445
|
+
bg: "",
|
|
129446
|
+
size: "small",
|
|
129447
|
+
onClick: onAddOption
|
|
129448
|
+
}, {
|
|
129449
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
129450
|
+
createTextVNode(" 添加选项 ", -1)
|
|
129451
|
+
])),
|
|
129452
|
+
_: 1,
|
|
129453
|
+
__: [4]
|
|
129454
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
129455
|
+
createVNode(_component_el_input, {
|
|
129456
|
+
modelValue: optionName.value,
|
|
129457
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => optionName.value = $event),
|
|
129458
|
+
class: "option-input flex-1",
|
|
129459
|
+
placeholder: "请输入选项名称",
|
|
129460
|
+
size: "small"
|
|
129461
|
+
}, null, 8, ["modelValue"]),
|
|
129462
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
129463
|
+
createVNode(_component_el_button, {
|
|
129464
|
+
type: "primary",
|
|
129465
|
+
icon: "add",
|
|
129466
|
+
size: "small",
|
|
129467
|
+
onClick: onConfirm
|
|
129468
|
+
}, {
|
|
129469
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
129470
|
+
createTextVNode(" 添加 ", -1)
|
|
129471
|
+
])),
|
|
129472
|
+
_: 1,
|
|
129473
|
+
__: [5]
|
|
129474
|
+
}),
|
|
129475
|
+
createVNode(_component_el_button, {
|
|
129476
|
+
size: "small",
|
|
129477
|
+
icon: "cancel",
|
|
129478
|
+
onClick: clear
|
|
129479
|
+
}, {
|
|
129480
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
129481
|
+
createTextVNode("取消", -1)
|
|
129482
|
+
])),
|
|
129483
|
+
_: 1,
|
|
129484
|
+
__: [6]
|
|
129485
|
+
})
|
|
129486
|
+
])
|
|
129487
|
+
]))
|
|
129488
|
+
]),
|
|
129489
|
+
key: "1"
|
|
129490
|
+
} : void 0
|
|
129491
|
+
]), 1040, ["fid", "disabled", "modelValue"])
|
|
129321
129492
|
]),
|
|
129322
129493
|
_: 1
|
|
129323
129494
|
}, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -129327,7 +129498,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
129327
129498
|
|
|
129328
129499
|
/* unplugin-vue-components disabled */
|
|
129329
129500
|
|
|
129330
|
-
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-
|
|
129501
|
+
const cascadeItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-1ef61770"]]);
|
|
129331
129502
|
|
|
129332
129503
|
const cascadeItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
129333
129504
|
__proto__: null,
|
|
@@ -129526,8 +129697,8 @@ const colorItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty(
|
|
|
129526
129697
|
default: _sfc_main$11
|
|
129527
129698
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
129528
129699
|
|
|
129529
|
-
const _hoisted_1$
|
|
129530
|
-
const _hoisted_2$
|
|
129700
|
+
const _hoisted_1$v = { class: "popup-result" };
|
|
129701
|
+
const _hoisted_2$p = { class: "popup-result-scroll" };
|
|
129531
129702
|
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
129532
129703
|
__name: "Crontab-Result",
|
|
129533
129704
|
props: {
|
|
@@ -130017,9 +130188,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
130017
130188
|
});
|
|
130018
130189
|
return (_ctx, _cache) => {
|
|
130019
130190
|
const _component_el_tag = ElTag;
|
|
130020
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
130191
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
130021
130192
|
_cache[1] || (_cache[1] = createElementVNode("p", { class: "title" }, "最近5次运行时间", -1)),
|
|
130022
|
-
createElementVNode("div", _hoisted_2$
|
|
130193
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
130023
130194
|
unref(isShow) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(resultList), (item) => {
|
|
130024
130195
|
return openBlock(), createBlock(_component_el_tag, {
|
|
130025
130196
|
class: "my-[5px]",
|
|
@@ -130047,8 +130218,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
130047
130218
|
|
|
130048
130219
|
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-05335f05"]]);
|
|
130049
130220
|
|
|
130050
|
-
const _hoisted_1$
|
|
130051
|
-
const _hoisted_2$
|
|
130221
|
+
const _hoisted_1$u = { class: "cron-content" };
|
|
130222
|
+
const _hoisted_2$o = { class: "cron-item" };
|
|
130052
130223
|
const _hoisted_3$e = { class: "cron-item" };
|
|
130053
130224
|
const _hoisted_4$9 = { class: "cron-item" };
|
|
130054
130225
|
const _hoisted_5$6 = { class: "cron-item" };
|
|
@@ -130148,8 +130319,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
130148
130319
|
const _component_el_input_number = ElInputNumber;
|
|
130149
130320
|
const _component_el_checkbox = ElCheckbox;
|
|
130150
130321
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
130151
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
130152
|
-
createElementVNode("div", _hoisted_2$
|
|
130322
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
130323
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
130153
130324
|
createVNode(_component_el_radio, {
|
|
130154
130325
|
size: "small",
|
|
130155
130326
|
modelValue: unref(radioValue),
|
|
@@ -130274,8 +130445,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
130274
130445
|
}
|
|
130275
130446
|
});
|
|
130276
130447
|
|
|
130277
|
-
const _hoisted_1$
|
|
130278
|
-
const _hoisted_2$
|
|
130448
|
+
const _hoisted_1$t = { class: "cron-content" };
|
|
130449
|
+
const _hoisted_2$n = { class: "cron-item" };
|
|
130279
130450
|
const _hoisted_3$d = { class: "cron-item" };
|
|
130280
130451
|
const _hoisted_4$8 = { class: "cron-item" };
|
|
130281
130452
|
const _hoisted_5$5 = { class: "cron-item" };
|
|
@@ -130372,8 +130543,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
130372
130543
|
const _component_el_input_number = ElInputNumber;
|
|
130373
130544
|
const _component_el_checkbox = ElCheckbox;
|
|
130374
130545
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
130375
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
130376
|
-
createElementVNode("div", _hoisted_2$
|
|
130546
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
130547
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
130377
130548
|
createVNode(_component_el_radio, {
|
|
130378
130549
|
size: "small",
|
|
130379
130550
|
modelValue: unref(radioValue),
|
|
@@ -130495,8 +130666,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
130495
130666
|
}
|
|
130496
130667
|
});
|
|
130497
130668
|
|
|
130498
|
-
const _hoisted_1$
|
|
130499
|
-
const _hoisted_2$
|
|
130669
|
+
const _hoisted_1$s = { class: "cron-content" };
|
|
130670
|
+
const _hoisted_2$m = { class: "cron-item" };
|
|
130500
130671
|
const _hoisted_3$c = { class: "cron-item" };
|
|
130501
130672
|
const _hoisted_4$7 = { class: "cron-item" };
|
|
130502
130673
|
const _hoisted_5$4 = { class: "cron-item" };
|
|
@@ -130593,8 +130764,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
130593
130764
|
const _component_el_input_number = ElInputNumber;
|
|
130594
130765
|
const _component_el_checkbox = ElCheckbox;
|
|
130595
130766
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
130596
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
130597
|
-
createElementVNode("div", _hoisted_2$
|
|
130767
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
130768
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
130598
130769
|
createVNode(_component_el_radio, {
|
|
130599
130770
|
size: "small",
|
|
130600
130771
|
modelValue: unref(radioValue),
|
|
@@ -130715,8 +130886,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
130715
130886
|
}
|
|
130716
130887
|
});
|
|
130717
130888
|
|
|
130718
|
-
const _hoisted_1$
|
|
130719
|
-
const _hoisted_2$
|
|
130889
|
+
const _hoisted_1$r = { class: "cron-content" };
|
|
130890
|
+
const _hoisted_2$l = { class: "cron-item" };
|
|
130720
130891
|
const _hoisted_3$b = { class: "cron-item" };
|
|
130721
130892
|
const _hoisted_4$6 = { class: "cron-item" };
|
|
130722
130893
|
const _hoisted_5$3 = { class: "cron-item" };
|
|
@@ -130844,8 +131015,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
130844
131015
|
const _component_el_input_number = ElInputNumber;
|
|
130845
131016
|
const _component_el_checkbox = ElCheckbox;
|
|
130846
131017
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
130847
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
130848
|
-
createElementVNode("div", _hoisted_2$
|
|
131018
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
131019
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
130849
131020
|
createVNode(_component_el_radio, {
|
|
130850
131021
|
size: "small",
|
|
130851
131022
|
modelValue: unref(radioValue),
|
|
@@ -131021,8 +131192,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
131021
131192
|
}
|
|
131022
131193
|
});
|
|
131023
131194
|
|
|
131024
|
-
const _hoisted_1$
|
|
131025
|
-
const _hoisted_2$
|
|
131195
|
+
const _hoisted_1$q = { class: "cron-content" };
|
|
131196
|
+
const _hoisted_2$k = { class: "cron-item" };
|
|
131026
131197
|
const _hoisted_3$a = { class: "cron-item" };
|
|
131027
131198
|
const _hoisted_4$5 = { class: "cron-item" };
|
|
131028
131199
|
const _hoisted_5$2 = { class: "cron-item" };
|
|
@@ -131119,8 +131290,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
131119
131290
|
const _component_el_input_number = ElInputNumber;
|
|
131120
131291
|
const _component_el_checkbox = ElCheckbox;
|
|
131121
131292
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
131122
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
131123
|
-
createElementVNode("div", _hoisted_2$
|
|
131293
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
131294
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
131124
131295
|
createVNode(_component_el_radio, {
|
|
131125
131296
|
size: "small",
|
|
131126
131297
|
modelValue: unref(radioValue),
|
|
@@ -131241,8 +131412,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
131241
131412
|
}
|
|
131242
131413
|
});
|
|
131243
131414
|
|
|
131244
|
-
const _hoisted_1$
|
|
131245
|
-
const _hoisted_2$
|
|
131415
|
+
const _hoisted_1$p = { class: "cron-content" };
|
|
131416
|
+
const _hoisted_2$j = { class: "cron-item" };
|
|
131246
131417
|
const _hoisted_3$9 = { class: "cron-item" };
|
|
131247
131418
|
const _hoisted_4$4 = { class: "cron-item" };
|
|
131248
131419
|
const _hoisted_5$1 = { class: "cron-item" };
|
|
@@ -131364,8 +131535,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
131364
131535
|
const _component_el_input_number = ElInputNumber;
|
|
131365
131536
|
const _component_el_checkbox = ElCheckbox;
|
|
131366
131537
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
131367
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
131368
|
-
createElementVNode("div", _hoisted_2$
|
|
131538
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
131539
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
131369
131540
|
createVNode(_component_el_radio, {
|
|
131370
131541
|
size: "small",
|
|
131371
131542
|
modelValue: unref(radioValue),
|
|
@@ -131523,8 +131694,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
131523
131694
|
}
|
|
131524
131695
|
});
|
|
131525
131696
|
|
|
131526
|
-
const _hoisted_1$
|
|
131527
|
-
const _hoisted_2$
|
|
131697
|
+
const _hoisted_1$o = { class: "cron-content" };
|
|
131698
|
+
const _hoisted_2$i = { class: "cron-item" };
|
|
131528
131699
|
const _hoisted_3$8 = { class: "cron-item" };
|
|
131529
131700
|
const _hoisted_4$3 = { class: "cron-item" };
|
|
131530
131701
|
const _hoisted_5 = { class: "cron-item" };
|
|
@@ -131641,8 +131812,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
131641
131812
|
const _component_el_input_number = ElInputNumber;
|
|
131642
131813
|
const _component_el_checkbox = ElCheckbox;
|
|
131643
131814
|
const _component_el_checkbox_group = ElCheckboxGroup$1;
|
|
131644
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
131645
|
-
createElementVNode("div", _hoisted_2$
|
|
131815
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
131816
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
131646
131817
|
createVNode(_component_el_radio, {
|
|
131647
131818
|
size: "small",
|
|
131648
131819
|
label: 1,
|
|
@@ -131773,8 +131944,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
131773
131944
|
}
|
|
131774
131945
|
});
|
|
131775
131946
|
|
|
131776
|
-
const _hoisted_1$
|
|
131777
|
-
const _hoisted_2$
|
|
131947
|
+
const _hoisted_1$n = { class: "flex flex-col h-full" };
|
|
131948
|
+
const _hoisted_2$h = { class: "flex-grow-1 flex-1 overflow-auto min-h-0" };
|
|
131778
131949
|
const _hoisted_3$7 = { class: "popup-main" };
|
|
131779
131950
|
const _hoisted_4$2 = { class: "popup-result" };
|
|
131780
131951
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
@@ -132021,8 +132192,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
132021
132192
|
const _component_el_tabs = ElTabs;
|
|
132022
132193
|
const _component_el_tag = ElTag;
|
|
132023
132194
|
const _component_CrontabResult = __unplugin_components_3;
|
|
132024
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
132025
|
-
createElementVNode("div", _hoisted_2$
|
|
132195
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
132196
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
132026
132197
|
createVNode(_component_el_tabs, {
|
|
132027
132198
|
type: "border-card",
|
|
132028
132199
|
modelValue: unref(tabActive),
|
|
@@ -132553,8 +132724,8 @@ const departItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
|
|
|
132553
132724
|
default: _sfc_main$R
|
|
132554
132725
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
132555
132726
|
|
|
132556
|
-
const _hoisted_1$
|
|
132557
|
-
const _hoisted_2$
|
|
132727
|
+
const _hoisted_1$m = { class: "search-content" };
|
|
132728
|
+
const _hoisted_2$g = { class: "search_btn" };
|
|
132558
132729
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
132559
132730
|
__name: "dialog-input-item",
|
|
132560
132731
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -132697,8 +132868,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
132697
132868
|
default: withCtx(() => [
|
|
132698
132869
|
createVNode(_component_el_card, { class: "inner_content" }, {
|
|
132699
132870
|
default: withCtx(() => [
|
|
132700
|
-
createElementVNode("div", _hoisted_1$
|
|
132701
|
-
createElementVNode("div", _hoisted_2$
|
|
132871
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
132872
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
132702
132873
|
createVNode(_component_star_horse_search_comp, {
|
|
132703
132874
|
onSearchData: _cache[0] || (_cache[0] = (data) => dialogInputTableRef.value.createSearchParams(data)),
|
|
132704
132875
|
formData: __props.field.preps?.["searchFieldList"],
|
|
@@ -132855,7 +133026,7 @@ const dividerItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
132855
133026
|
default: _sfc_main$P
|
|
132856
133027
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
132857
133028
|
|
|
132858
|
-
const _hoisted_1$
|
|
133029
|
+
const _hoisted_1$l = ["innerHTML"];
|
|
132859
133030
|
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
132860
133031
|
__name: "html-item",
|
|
132861
133032
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -132914,7 +133085,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
132914
133085
|
createElementVNode("div", {
|
|
132915
133086
|
class: "user_html",
|
|
132916
133087
|
innerHTML: formData.value[__props.field.fieldName] || __props.field.preps?.content
|
|
132917
|
-
}, null, 8, _hoisted_1$
|
|
133088
|
+
}, null, 8, _hoisted_1$l)
|
|
132918
133089
|
]),
|
|
132919
133090
|
_: 1
|
|
132920
133091
|
}, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -150002,7 +150173,7 @@ class ImageUploader {
|
|
|
150002
150173
|
|
|
150003
150174
|
window.ImageUploader = ImageUploader;
|
|
150004
150175
|
|
|
150005
|
-
const _hoisted_1$
|
|
150176
|
+
const _hoisted_1$k = { style: { "border": "1px solid #ccc" } };
|
|
150006
150177
|
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
150007
150178
|
__name: "htmleditor-item",
|
|
150008
150179
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -150084,7 +150255,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
150084
150255
|
parentField: __props.parentField
|
|
150085
150256
|
}, {
|
|
150086
150257
|
default: withCtx(() => [
|
|
150087
|
-
createElementVNode("div", _hoisted_1$
|
|
150258
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
150088
150259
|
createVNode(unref(QuillEditor), mergeProps({
|
|
150089
150260
|
style: {
|
|
150090
150261
|
height: __props.field.preps?.height || "300px",
|
|
@@ -150112,8 +150283,8 @@ const htmleditorItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
|
|
|
150112
150283
|
default: _sfc_main$N
|
|
150113
150284
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
150114
150285
|
|
|
150115
|
-
const _hoisted_1$
|
|
150116
|
-
const _hoisted_2$
|
|
150286
|
+
const _hoisted_1$j = { class: "icon-items" };
|
|
150287
|
+
const _hoisted_2$f = { class: "search-box" };
|
|
150117
150288
|
const _hoisted_3$6 = { class: "system-icon" };
|
|
150118
150289
|
const _hoisted_4$1 = ["onClick", "title"];
|
|
150119
150290
|
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
@@ -150241,8 +150412,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
150241
150412
|
}, null, 8, ["icon-class"]))
|
|
150242
150413
|
]),
|
|
150243
150414
|
default: withCtx(() => [
|
|
150244
|
-
createElementVNode("div", _hoisted_1$
|
|
150245
|
-
createElementVNode("div", _hoisted_2$
|
|
150415
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
150416
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
150246
150417
|
createVNode(_component_el_input, {
|
|
150247
150418
|
modelValue: unref(searchName),
|
|
150248
150419
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchName) ? searchName.value = $event : searchName = $event),
|
|
@@ -150310,11 +150481,11 @@ const iconItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
|
|
|
150310
150481
|
default: iconItem
|
|
150311
150482
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
150312
150483
|
|
|
150313
|
-
const _hoisted_1$
|
|
150484
|
+
const _hoisted_1$i = {
|
|
150314
150485
|
key: 1,
|
|
150315
150486
|
class: "image-area"
|
|
150316
150487
|
};
|
|
150317
|
-
const _hoisted_2$
|
|
150488
|
+
const _hoisted_2$e = { class: "image-slot" };
|
|
150318
150489
|
const _hoisted_3$5 = {
|
|
150319
150490
|
key: 0,
|
|
150320
150491
|
class: "image-remove"
|
|
@@ -150439,7 +150610,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
150439
150610
|
}, 8, ["on-change", "on-error", "on-exceed", "on-preview", "on-progress", "on-remove", "on-success", "action", "headers"])
|
|
150440
150611
|
]),
|
|
150441
150612
|
_: 1
|
|
150442
|
-
}, 8, ["placeholder", "modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
150613
|
+
}, 8, ["placeholder", "modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
150443
150614
|
createVNode(_component_el_image, {
|
|
150444
150615
|
style: normalizeStyle({
|
|
150445
150616
|
width: formData.value[__props.field.fieldName] ? __props.field.preps?.width || "100px" : "100%",
|
|
@@ -150494,7 +150665,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
150494
150665
|
}, 8, ["on-change", "on-error", "on-exceed", "on-preview", "on-progress", "on-remove", "on-success", "action", "headers"])
|
|
150495
150666
|
]),
|
|
150496
150667
|
placeholder: withCtx(() => [
|
|
150497
|
-
createElementVNode("div", _hoisted_2$
|
|
150668
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
150498
150669
|
createVNode(_component_el_icon, null, {
|
|
150499
150670
|
default: withCtx(() => [
|
|
150500
150671
|
createVNode(_component_icon_picture)
|
|
@@ -150809,8 +150980,8 @@ const inputItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
150809
150980
|
default: inputItem
|
|
150810
150981
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
150811
150982
|
|
|
150812
|
-
const _hoisted_1$
|
|
150813
|
-
const _hoisted_2$
|
|
150983
|
+
const _hoisted_1$h = { class: "json-comp" };
|
|
150984
|
+
const _hoisted_2$d = { class: "json-box" };
|
|
150814
150985
|
const _hoisted_3$4 = { class: "json-btn" };
|
|
150815
150986
|
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
150816
150987
|
__name: "base-json-item",
|
|
@@ -150945,8 +151116,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
150945
151116
|
parentField: __props.parentField
|
|
150946
151117
|
}, {
|
|
150947
151118
|
default: withCtx(() => [
|
|
150948
|
-
createElementVNode("div", _hoisted_1$
|
|
150949
|
-
createElementVNode("div", _hoisted_2$
|
|
151119
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
151120
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
150950
151121
|
createVNode(_component_el_input, mergeProps({
|
|
150951
151122
|
fid: __props.field.fieldName,
|
|
150952
151123
|
disabled: unref(checkIsDisabled)(props),
|
|
@@ -151227,8 +151398,8 @@ const markdownItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProp
|
|
|
151227
151398
|
default: markdownItem
|
|
151228
151399
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
151229
151400
|
|
|
151230
|
-
const _hoisted_1$
|
|
151231
|
-
const _hoisted_2$
|
|
151401
|
+
const _hoisted_1$g = { key: 0 };
|
|
151402
|
+
const _hoisted_2$c = { key: 0 };
|
|
151232
151403
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
151233
151404
|
...{
|
|
151234
151405
|
name: "NumberItem"
|
|
@@ -151310,10 +151481,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
151310
151481
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
151311
151482
|
}), {
|
|
151312
151483
|
prefix: withCtx(() => [
|
|
151313
|
-
__props.field.preps?.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
151484
|
+
__props.field.preps?.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$g, toDisplayString(__props.field.preps["prefix"]), 1)) : createCommentVNode("", true)
|
|
151314
151485
|
]),
|
|
151315
151486
|
suffix: withCtx(() => [
|
|
151316
|
-
__props.field.preps?.suffix ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
151487
|
+
__props.field.preps?.suffix ? (openBlock(), createElementBlock("span", _hoisted_2$c, toDisplayString(__props.field.preps["suffix"]), 1)) : createCommentVNode("", true)
|
|
151317
151488
|
]),
|
|
151318
151489
|
_: 1
|
|
151319
151490
|
}, 16, ["fid", "disabled", "modelValue"])
|
|
@@ -151333,8 +151504,8 @@ const numberItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProper
|
|
|
151333
151504
|
default: numberItem
|
|
151334
151505
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
151335
151506
|
|
|
151336
|
-
const _hoisted_1$
|
|
151337
|
-
const _hoisted_2$
|
|
151507
|
+
const _hoisted_1$f = { class: "number-range-container" };
|
|
151508
|
+
const _hoisted_2$b = { class: "to" };
|
|
151338
151509
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
151339
151510
|
__name: "number-range-item",
|
|
151340
151511
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -151438,7 +151609,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
151438
151609
|
parentField: __props.parentField
|
|
151439
151610
|
}, {
|
|
151440
151611
|
default: withCtx(() => [
|
|
151441
|
-
createElementVNode("div", _hoisted_1$
|
|
151612
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
151442
151613
|
__props.field.preps?.prefix ? (openBlock(), createElementBlock("div", {
|
|
151443
151614
|
key: 0,
|
|
151444
151615
|
class: normalizeClass({ "slot-default": unref(slotStyle) === "default", "slot-pend ": true })
|
|
@@ -151462,7 +151633,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
151462
151633
|
modelValue: formData.value[minName.value],
|
|
151463
151634
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formData.value[minName.value] = $event)
|
|
151464
151635
|
}), null, 16, ["fid", "disabled", "placeholder", "modelValue"]),
|
|
151465
|
-
createElementVNode("div", _hoisted_2$
|
|
151636
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
151466
151637
|
createElementVNode("span", null, toDisplayString(splitName.value), 1)
|
|
151467
151638
|
]),
|
|
151468
151639
|
createVNode(_component_el_input_number, mergeProps({
|
|
@@ -152199,6 +152370,11 @@ const rateItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
152199
152370
|
default: _sfc_main$z
|
|
152200
152371
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
152201
152372
|
|
|
152373
|
+
const _hoisted_1$e = {
|
|
152374
|
+
key: 1,
|
|
152375
|
+
class: "flex-row flex w-full justify-between"
|
|
152376
|
+
};
|
|
152377
|
+
const _hoisted_2$a = { class: "flex-row flex justify-center w-[35%] mx-auto my-0" };
|
|
152202
152378
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
152203
152379
|
__name: "select-item",
|
|
152204
152380
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -152241,6 +152417,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
152241
152417
|
const props = __props;
|
|
152242
152418
|
const emits = __emit;
|
|
152243
152419
|
const formData = useModel(__props, "formData");
|
|
152420
|
+
const checkAll = ref(false);
|
|
152421
|
+
const indeterminate = ref(false);
|
|
152422
|
+
const isAdding = ref(false);
|
|
152423
|
+
const optionName = ref("");
|
|
152244
152424
|
const itemAction = (prep) => {
|
|
152245
152425
|
allAction(props, emits, formData, prep);
|
|
152246
152426
|
};
|
|
@@ -152250,6 +152430,36 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
152250
152430
|
props.field.preps["values"] = dataa;
|
|
152251
152431
|
}
|
|
152252
152432
|
};
|
|
152433
|
+
const onAddOption = () => {
|
|
152434
|
+
isAdding.value = true;
|
|
152435
|
+
};
|
|
152436
|
+
const onConfirm = () => {
|
|
152437
|
+
if (!optionName.value) {
|
|
152438
|
+
warning("请输入选项名称");
|
|
152439
|
+
return;
|
|
152440
|
+
}
|
|
152441
|
+
if (props.field.preps.values.find((_) => _.value == optionName.value)) {
|
|
152442
|
+
warning("选项名称重复");
|
|
152443
|
+
return;
|
|
152444
|
+
}
|
|
152445
|
+
props.field.preps.values.push({
|
|
152446
|
+
name: optionName.value,
|
|
152447
|
+
value: optionName.value
|
|
152448
|
+
});
|
|
152449
|
+
isAdding.value = false;
|
|
152450
|
+
};
|
|
152451
|
+
const clear = () => {
|
|
152452
|
+
optionName.value = "";
|
|
152453
|
+
isAdding.value = false;
|
|
152454
|
+
};
|
|
152455
|
+
const handleCheckAll = (val) => {
|
|
152456
|
+
indeterminate.value = false;
|
|
152457
|
+
if (val) {
|
|
152458
|
+
formData.value[props.field.fieldName] = props.field.preps.values.map((_) => _.value);
|
|
152459
|
+
} else {
|
|
152460
|
+
formData.value[props.field.fieldName] = [];
|
|
152461
|
+
}
|
|
152462
|
+
};
|
|
152253
152463
|
const remoteMethod = async (queryString) => {
|
|
152254
152464
|
let temp = props.field.preps;
|
|
152255
152465
|
let dataSource = temp["dataSource"];
|
|
@@ -152287,7 +152497,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
152287
152497
|
}
|
|
152288
152498
|
);
|
|
152289
152499
|
return (_ctx, _cache) => {
|
|
152500
|
+
const _component_el_checkbox = ElCheckbox;
|
|
152290
152501
|
const _component_el_option = ElOption;
|
|
152502
|
+
const _component_el_button = ElButton;
|
|
152503
|
+
const _component_el_input = ElInput;
|
|
152291
152504
|
const _component_el_select = ElSelect;
|
|
152292
152505
|
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
152293
152506
|
return openBlock(), createBlock(_component_starhorse_form_item, {
|
|
@@ -152304,8 +152517,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
152304
152517
|
disabled: unref(checkIsDisabled)(props)
|
|
152305
152518
|
}, __props.field.preps, { "remote-method": remoteMethod }, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
152306
152519
|
modelValue: formData.value[__props.field.fieldName],
|
|
152307
|
-
"onUpdate:modelValue": _cache[
|
|
152308
|
-
}), {
|
|
152520
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
152521
|
+
}), createSlots({
|
|
152309
152522
|
default: withCtx(() => [
|
|
152310
152523
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.field.preps?.values, (items) => {
|
|
152311
152524
|
return openBlock(), createBlock(_component_el_option, {
|
|
@@ -152316,8 +152529,79 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
152316
152529
|
}, null, 8, ["disabled", "label", "value"]);
|
|
152317
152530
|
}), 128))
|
|
152318
152531
|
]),
|
|
152319
|
-
_:
|
|
152320
|
-
},
|
|
152532
|
+
_: 2
|
|
152533
|
+
}, [
|
|
152534
|
+
__props.field.preps.multiple ? {
|
|
152535
|
+
name: "header",
|
|
152536
|
+
fn: withCtx(() => [
|
|
152537
|
+
createVNode(_component_el_checkbox, {
|
|
152538
|
+
modelValue: checkAll.value,
|
|
152539
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkAll.value = $event),
|
|
152540
|
+
indeterminate: indeterminate.value,
|
|
152541
|
+
onChange: handleCheckAll
|
|
152542
|
+
}, {
|
|
152543
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
152544
|
+
createTextVNode(" 全部 ", -1)
|
|
152545
|
+
])),
|
|
152546
|
+
_: 1,
|
|
152547
|
+
__: [3]
|
|
152548
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
152549
|
+
]),
|
|
152550
|
+
key: "0"
|
|
152551
|
+
} : void 0,
|
|
152552
|
+
__props.field.preps?.showFooter ? {
|
|
152553
|
+
name: "footer",
|
|
152554
|
+
fn: withCtx(() => [
|
|
152555
|
+
!isAdding.value ? (openBlock(), createBlock(_component_el_button, {
|
|
152556
|
+
key: 0,
|
|
152557
|
+
text: "",
|
|
152558
|
+
bg: "",
|
|
152559
|
+
size: "small",
|
|
152560
|
+
onClick: onAddOption
|
|
152561
|
+
}, {
|
|
152562
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
152563
|
+
createTextVNode(" 添加选项 ", -1)
|
|
152564
|
+
])),
|
|
152565
|
+
_: 1,
|
|
152566
|
+
__: [4]
|
|
152567
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
152568
|
+
createVNode(_component_el_input, {
|
|
152569
|
+
modelValue: optionName.value,
|
|
152570
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => optionName.value = $event),
|
|
152571
|
+
class: "option-input flex-1",
|
|
152572
|
+
placeholder: "请输入选项名称",
|
|
152573
|
+
size: "small"
|
|
152574
|
+
}, null, 8, ["modelValue"]),
|
|
152575
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
152576
|
+
createVNode(_component_el_button, {
|
|
152577
|
+
type: "primary",
|
|
152578
|
+
icon: "add",
|
|
152579
|
+
size: "small",
|
|
152580
|
+
onClick: onConfirm
|
|
152581
|
+
}, {
|
|
152582
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
152583
|
+
createTextVNode(" 添加 ", -1)
|
|
152584
|
+
])),
|
|
152585
|
+
_: 1,
|
|
152586
|
+
__: [5]
|
|
152587
|
+
}),
|
|
152588
|
+
createVNode(_component_el_button, {
|
|
152589
|
+
size: "small",
|
|
152590
|
+
icon: "cancel",
|
|
152591
|
+
onClick: clear
|
|
152592
|
+
}, {
|
|
152593
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
152594
|
+
createTextVNode("取消", -1)
|
|
152595
|
+
])),
|
|
152596
|
+
_: 1,
|
|
152597
|
+
__: [6]
|
|
152598
|
+
})
|
|
152599
|
+
])
|
|
152600
|
+
]))
|
|
152601
|
+
]),
|
|
152602
|
+
key: "1"
|
|
152603
|
+
} : void 0
|
|
152604
|
+
]), 1040, ["fid", "disabled", "modelValue"])
|
|
152321
152605
|
]),
|
|
152322
152606
|
_: 1
|
|
152323
152607
|
}, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -152327,7 +152611,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
152327
152611
|
|
|
152328
152612
|
/* unplugin-vue-components disabled */
|
|
152329
152613
|
|
|
152330
|
-
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
152614
|
+
const selectItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-31411989"]]);
|
|
152331
152615
|
|
|
152332
152616
|
const selectItem$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
152333
152617
|
__proto__: null,
|
|
@@ -152734,8 +153018,8 @@ var SmoothSignature = /*#__PURE__*/function () {
|
|
|
152734
153018
|
return SmoothSignature;
|
|
152735
153019
|
}();
|
|
152736
153020
|
|
|
152737
|
-
const _hoisted_1$
|
|
152738
|
-
const _hoisted_2$
|
|
153021
|
+
const _hoisted_1$d = { class: "pcDemo" };
|
|
153022
|
+
const _hoisted_2$9 = { class: "inner_button" };
|
|
152739
153023
|
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
152740
153024
|
__name: "signature-item",
|
|
152741
153025
|
props: {
|
|
@@ -152846,8 +153130,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
152846
153130
|
parentField: __props.parentField
|
|
152847
153131
|
}, {
|
|
152848
153132
|
default: withCtx(() => [
|
|
152849
|
-
createElementVNode("div", _hoisted_1$
|
|
152850
|
-
createElementVNode("div", _hoisted_2$
|
|
153133
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
153134
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
152851
153135
|
createVNode(_component_el_menu, {
|
|
152852
153136
|
mode: "horizontal",
|
|
152853
153137
|
style: { "height": "inherit", "width": "100%" }
|
|
@@ -153635,6 +153919,11 @@ const transferItem = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProper
|
|
|
153635
153919
|
default: _sfc_main$p
|
|
153636
153920
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
153637
153921
|
|
|
153922
|
+
const _hoisted_1$c = {
|
|
153923
|
+
key: 1,
|
|
153924
|
+
class: "flex-row flex w-full justify-between"
|
|
153925
|
+
};
|
|
153926
|
+
const _hoisted_2$8 = { class: "flex-row flex justify-center w-[35%] mx-auto my-0" };
|
|
153638
153927
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
153639
153928
|
__name: "tselect-item",
|
|
153640
153929
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -153677,9 +153966,55 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
153677
153966
|
const props = __props;
|
|
153678
153967
|
const emits = __emit;
|
|
153679
153968
|
const formData = useModel(__props, "formData");
|
|
153969
|
+
const checkAll = ref(false);
|
|
153970
|
+
const indeterminate = ref(false);
|
|
153971
|
+
const isAdding = ref(false);
|
|
153972
|
+
const optionName = ref("");
|
|
153680
153973
|
const itemAction = (prep) => {
|
|
153681
153974
|
allAction(props, emits, formData, prep);
|
|
153682
153975
|
};
|
|
153976
|
+
const onAddOption = () => {
|
|
153977
|
+
isAdding.value = true;
|
|
153978
|
+
};
|
|
153979
|
+
const onConfirm = () => {
|
|
153980
|
+
if (!optionName.value) {
|
|
153981
|
+
warning("请输入选项名称");
|
|
153982
|
+
return;
|
|
153983
|
+
}
|
|
153984
|
+
const labelName = props.field.preps.props?.label || "label";
|
|
153985
|
+
const codeName = props.field.preps.props?.code || props.field.preps.props?.value || "value";
|
|
153986
|
+
if (props.field.preps.data.find((item) => item[codeName] == optionName.value)) {
|
|
153987
|
+
warning("选项名称重复");
|
|
153988
|
+
return;
|
|
153989
|
+
}
|
|
153990
|
+
const temp = {};
|
|
153991
|
+
temp[labelName] = optionName.value;
|
|
153992
|
+
temp[codeName] = optionName.value;
|
|
153993
|
+
props.field.preps.data.push(temp);
|
|
153994
|
+
isAdding.value = false;
|
|
153995
|
+
};
|
|
153996
|
+
const clear = () => {
|
|
153997
|
+
optionName.value = "";
|
|
153998
|
+
isAdding.value = false;
|
|
153999
|
+
};
|
|
154000
|
+
const handleCheckAll = (val) => {
|
|
154001
|
+
indeterminate.value = false;
|
|
154002
|
+
if (val) {
|
|
154003
|
+
const collectValues = (nodes) => {
|
|
154004
|
+
let values = [];
|
|
154005
|
+
nodes.forEach((node) => {
|
|
154006
|
+
values.push(node.value);
|
|
154007
|
+
if (node.children) {
|
|
154008
|
+
values = values.concat(collectValues(node.children));
|
|
154009
|
+
}
|
|
154010
|
+
});
|
|
154011
|
+
return values;
|
|
154012
|
+
};
|
|
154013
|
+
formData.value[props.field.fieldName] = collectValues(props.field.preps.data);
|
|
154014
|
+
} else {
|
|
154015
|
+
formData.value[props.field.fieldName] = [];
|
|
154016
|
+
}
|
|
154017
|
+
};
|
|
153683
154018
|
const filterNodeMethod = (value, data) => {
|
|
153684
154019
|
let name = props.field.preps["props"]?.label || "label";
|
|
153685
154020
|
return data[name].includes(value);
|
|
@@ -153724,6 +154059,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
153724
154059
|
}
|
|
153725
154060
|
);
|
|
153726
154061
|
return (_ctx, _cache) => {
|
|
154062
|
+
const _component_el_checkbox = ElCheckbox;
|
|
154063
|
+
const _component_el_button = ElButton;
|
|
154064
|
+
const _component_el_input = ElInput;
|
|
153727
154065
|
const _component_el_tree_select = ElTreeSelect;
|
|
153728
154066
|
const _component_starhorse_form_item = __unplugin_components_0$3;
|
|
153729
154067
|
return openBlock(), createBlock(_component_starhorse_form_item, {
|
|
@@ -153744,8 +154082,79 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
153744
154082
|
"render-content": renderContent
|
|
153745
154083
|
}, toHandlers(unref(getDynamicEvents)(props, itemAction)), {
|
|
153746
154084
|
modelValue: formData.value[__props.field.fieldName],
|
|
153747
|
-
"onUpdate:modelValue": _cache[
|
|
153748
|
-
}),
|
|
154085
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formData.value[__props.field.fieldName] = $event)
|
|
154086
|
+
}), createSlots({ _: 2 }, [
|
|
154087
|
+
__props.field.preps.multiple ? {
|
|
154088
|
+
name: "header",
|
|
154089
|
+
fn: withCtx(() => [
|
|
154090
|
+
createVNode(_component_el_checkbox, {
|
|
154091
|
+
modelValue: checkAll.value,
|
|
154092
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkAll.value = $event),
|
|
154093
|
+
indeterminate: indeterminate.value,
|
|
154094
|
+
onChange: handleCheckAll
|
|
154095
|
+
}, {
|
|
154096
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
154097
|
+
createTextVNode(" 全部 ", -1)
|
|
154098
|
+
])),
|
|
154099
|
+
_: 1,
|
|
154100
|
+
__: [3]
|
|
154101
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
154102
|
+
]),
|
|
154103
|
+
key: "0"
|
|
154104
|
+
} : void 0,
|
|
154105
|
+
__props.field.preps?.showFooter ? {
|
|
154106
|
+
name: "footer",
|
|
154107
|
+
fn: withCtx(() => [
|
|
154108
|
+
!isAdding.value ? (openBlock(), createBlock(_component_el_button, {
|
|
154109
|
+
key: 0,
|
|
154110
|
+
text: "",
|
|
154111
|
+
bg: "",
|
|
154112
|
+
size: "small",
|
|
154113
|
+
onClick: onAddOption
|
|
154114
|
+
}, {
|
|
154115
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
154116
|
+
createTextVNode(" 添加选项 ", -1)
|
|
154117
|
+
])),
|
|
154118
|
+
_: 1,
|
|
154119
|
+
__: [4]
|
|
154120
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
154121
|
+
createVNode(_component_el_input, {
|
|
154122
|
+
modelValue: optionName.value,
|
|
154123
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => optionName.value = $event),
|
|
154124
|
+
class: "option-input flex-1",
|
|
154125
|
+
placeholder: "请输入选项名称",
|
|
154126
|
+
size: "small"
|
|
154127
|
+
}, null, 8, ["modelValue"]),
|
|
154128
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
154129
|
+
createVNode(_component_el_button, {
|
|
154130
|
+
type: "primary",
|
|
154131
|
+
icon: "add",
|
|
154132
|
+
size: "small",
|
|
154133
|
+
onClick: onConfirm
|
|
154134
|
+
}, {
|
|
154135
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
154136
|
+
createTextVNode(" 添加 ", -1)
|
|
154137
|
+
])),
|
|
154138
|
+
_: 1,
|
|
154139
|
+
__: [5]
|
|
154140
|
+
}),
|
|
154141
|
+
createVNode(_component_el_button, {
|
|
154142
|
+
size: "small",
|
|
154143
|
+
icon: "cancel",
|
|
154144
|
+
onClick: clear
|
|
154145
|
+
}, {
|
|
154146
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
154147
|
+
createTextVNode("取消", -1)
|
|
154148
|
+
])),
|
|
154149
|
+
_: 1,
|
|
154150
|
+
__: [6]
|
|
154151
|
+
})
|
|
154152
|
+
])
|
|
154153
|
+
]))
|
|
154154
|
+
]),
|
|
154155
|
+
key: "1"
|
|
154156
|
+
} : void 0
|
|
154157
|
+
]), 1040, ["fid", "disabled", "modelValue"])
|
|
153749
154158
|
]),
|
|
153750
154159
|
_: 1
|
|
153751
154160
|
}, 8, ["showFormItem", "isDesign", "disabled", "bareFlag", "formItem", "parentField"]);
|
|
@@ -177230,4 +177639,4 @@ const stringStylesDT93GIY_ = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
177230
177639
|
fullWidthButton: e
|
|
177231
177640
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
177232
177641
|
|
|
177233
|
-
export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, _sfc_main$1i as ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, _sfc_main$1C as StarHorseDataView, _sfc_main$1D as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$8 as StarHorseDialog, StarHorseDraggable, _sfc_main$1u as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, __unplugin_components_0$a as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, StarHorseMenu, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateCompList, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, fieldPlaceholder, formFieldMapping, generateDeviceId, getAxiosInstance, getDynamicEvents, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputCompList, inputItem, isDark, isJson, isPromise, itemCheck, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectCompList, selectItem, signatureItem, _sfc_main$w as sliderItem, starHorseAxios, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, _sfc_main$t as textItem, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, useButtonPermissionStore, useConsumerViewStore, useContinusConfigStore, useCopyerOperationStore, useDesignFormStore, useDesignPageStore, useDynamicFormStore, useGlobalConfigStore, useSelfOperationStore, useUserInfoStore, useZIndex, userAction, userFunction, _sfc_main$l as userItem, _sfc_main$k as usercompItem, uuid, viewMarkdownItem, warning };
|
|
177642
|
+
export { __unplugin_components_5 as ContentMenu, DEFAULT_INITIAL_Z_INDEX, _sfc_main$1O as ShDynamicForm, _sfc_main$1i as ShForm, _sfc_main$1L as ShTableListColumn, __unplugin_components_2 as StarHorseButtonList, StarHorseDataSelector, _sfc_main$1C as StarHorseDataView, _sfc_main$1D as StarHorseDataViewItems, __unplugin_components_2$2 as StarHorseDataViewTable, __unplugin_components_0$8 as StarHorseDialog, StarHorseDraggable, _sfc_main$1u as StarHorseForm, _sfc_main$1v as StarHorseFormItem, __unplugin_components_0$6 as StarHorseFormList, _sfc_main$1x as StarHorseFormTable, __unplugin_components_0$a as StarHorseIcon, __unplugin_components_0$5 as StarHorseJsonEditor, StarHorseMenu, _sfc_main$1s as StarHorsePopover, __unplugin_components_0$4 as StarHorseSearchComp, StarHorseStaticTable, StarHorseSvg, __unplugin_components_2$1 as StarHorseTableColumn, __unplugin_components_1$1 as StarHorseTableComp, _sfc_main$1G as StarHorseTableViewColumn, StarHorseTree, apiInstance, areaItem, _sfc_main$16 as audioItem, _sfc_main$15 as autocompleteItem, _sfc_main$h as barcodeItem, base64Decode, base64Encode, batchFieldDefaultValues, batchModifyAction, blobData, boxContainer, buttonItem, camelCaseToUnderline, cardContainer, cascadeItem, _sfc_main$12 as checkboxItem, closeLoad, collapseContainer, _sfc_main$11 as colorItem, commonParseCodeToName, compDynamicData, compKey, convertToCamelCase, copy$1 as copy, copyText, createComponent, createCondition, createDate, createDatetime, createFilter, createTree, cronItem, currentDate, currentMonthRange, dateCompList, dateParse, dateTypes, datetimeItem, index as default, deleteByIds, _sfc_main$R as departItem, dialogInputItem, dialogPreps, dictData, _sfc_main$P as dividerItem, download, downloadData, dynamicUrlOperation, dytableContainer, error$1 as error, fieldPlaceholder, formFieldMapping, generateDeviceId, getAxiosInstance, getDynamicEvents, getFingerId, getMenuId, getRequest, htmlItem, _sfc_main$N as htmleditorItem, httpRequest, iconItem, imageItem, inputCompList, inputItem, isDark, isJson, isPromise, itemCheck, _sfc_main$H as jsonArrayItem, _sfc_main$G as jsonItem, load, loadById, loadData, loadGetData, markdownItem, message, monthRange, numberItem, numberRangeItem, objectToBase64, operationConfirm, pageSelectItem, parseDateByType, _sfc_main$B as passwordItem, piniaInstance, postRequest, _sfc_main$i as qrcodeItem, _sfc_main$A as radioItem, _sfc_main$z as rateItem, removeEmptyCondition, rowClassName, searchData, searchMatchList, selectCompList, selectItem, signatureItem, _sfc_main$w as sliderItem, starHorseAxios, success, _sfc_main$v as switchItem, tabContainer, tableContainer, _sfc_main$u as tagItem, _sfc_main$t as textItem, _sfc_main$s as textareaItem, timeItem, timePickerItem, toggle, _sfc_main$p as transferItem, trim, _sfc_main$o as tselectItem, _sfc_main$n as unknownItem, uploadItem, uploadRequest, uriDecode, uriEncode, 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 };
|