element-less 0.0.70 → 0.0.71
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/components.d.ts +1 -0
- package/custom/dynamic/common/interfaces/dynamicComponentType.d.ts +1 -0
- package/custom/dynamic/common/propertys/index.d.ts +1 -0
- package/custom/dynamic/common/propertys/requestForm.d.ts +456 -0
- package/custom/dynamic/designerView/src/schemaFieldEditor.vue.d.ts +9 -0
- package/custom/requestForm/index.d.ts +90 -0
- package/custom/requestForm/src/requestForm.d.ts +12 -0
- package/custom/requestForm/src/requestForm.vue.d.ts +48 -0
- package/custom/waterFall/index.d.ts +6 -6
- package/custom/waterFall/src/lib/components/Waterfall.vue.d.ts +1 -1
- package/custom/waterFall/src/waterFall.vue.d.ts +12 -12
- package/element-less.cjs +1 -1
- package/element-less.iife.js +1 -1
- package/element-less.js +110 -108
- package/element-less.umd.cjs +1 -1
- package/elementui/radio/index.d.ts +2 -2
- package/elementui/segmented/index.d.ts +1 -1
- package/elementui/select/index.d.ts +1 -1
- package/elementui/upload/index.d.ts +4 -4
- package/elementui/upload/src/upload.vue.d.ts +1 -1
- package/global.d.ts +1 -0
- package/{index-AMD8Nr9_.js → index-B8iHDuyg.js} +1842 -865
- package/index-D2_Ffw2X.cjs +1 -0
- package/{inner-D0l83fj6.js → inner-L97xvW77.js} +10 -9
- package/inner-mujhq8s8.cjs +1 -0
- package/{innerItem-hCYuS1Ma.js → innerItem-DZT7gaYq.js} +1 -1
- package/{innerItem-tLsRiBeT.cjs → innerItem-Dt9vRyey.cjs} +1 -1
- package/{mode-csharp-C5KSEWQK.cjs → mode-csharp-B8gSfoYt.cjs} +1 -1
- package/{mode-csharp-BlAPRtxP.js → mode-csharp-DRL6iOsg.js} +1 -1
- package/{mode-css-CAkG9EHC.cjs → mode-css-BKQrbOqL.cjs} +1 -1
- package/{mode-css-C3ZC-V7X.js → mode-css-CVbsNLio.js} +1 -1
- package/{mode-javascript-lomz8qCz.js → mode-javascript-BIpkDE77.js} +1 -1
- package/{mode-javascript-Ce-uXRtx.cjs → mode-javascript-Jnhe7ejL.cjs} +1 -1
- package/{mode-json-BQVTlnPx.js → mode-json-CuyvB_kf.js} +1 -1
- package/{mode-json-B8qhc0kL.cjs → mode-json-LbMnm4dK.cjs} +1 -1
- package/{mode-mysql-Cou6xANN.js → mode-mysql-BPWNA-Mx.js} +1 -1
- package/{mode-mysql-CH-VE50-.cjs → mode-mysql-ChXX0s6O.cjs} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/index-P1FBo0tW.cjs +0 -1
- package/inner-DUAGMe9Q.cjs +0 -1
|
@@ -7,6 +7,7 @@ import pkg from "file-saver";
|
|
|
7
7
|
import * as XLSX from "xlsx";
|
|
8
8
|
import { ElMessageBox, ElMessage, ElNotification, formItemProps as formItemProps$2, formProps as formProps$2, ElSpace, inputProps as inputProps$1, inputEmits, radioProps as radioProps$1, checkboxProps as checkboxProps$1, useId, ElCheckboxButton, ElCheckbox, ElRadioButton, ElRadio, rowProps as rowProps$1, useNamespace, rowContextKey, colProps, ElForm, ElButton, paginationProps, ElLoading, menuProps as menuProps$1, ElMenu, menuItemProps as menuItemProps$1, menuItemEmits, ElMenuItem, subMenuProps as subMenuProps$1, ElSubMenu, switchProps as switchProps$1, imageProps as imageProps$1, imageViewerProps as imageViewerProps$1, autocompleteProps as autocompleteProps$1, cascaderProps as cascaderProps$1, dialogProps as dialogProps$2, drawerProps as drawerProps$1, dropdownProps as dropdownProps$1, sliderProps as sliderProps$1, inputNumberProps as inputNumberProps$1, uploadProps as uploadProps$1, timePickerDefaultProps, datePickerProps as datePickerProps$1, tabsProps as tabsProps$1, colorPickerProps as colorPickerProps$1, segmentedProps as segmentedProps$1, tagProps as tagProps$1, ElContainer, useSizeProp as useSizeProp$1 } from "element-plus";
|
|
9
9
|
import { useClipboard, onClickOutside, useResizeObserver, useDebounceFn } from "@vueuse/core";
|
|
10
|
+
import JsonEditorVue from "json-editor-vue";
|
|
10
11
|
import lodash, { debounce as debounce$2 } from "lodash";
|
|
11
12
|
import draggable from "vuedraggable";
|
|
12
13
|
import Sortable from "sortablejs";
|
|
@@ -16,7 +17,6 @@ import prism from "prismjs";
|
|
|
16
17
|
import ace from "ace-builds";
|
|
17
18
|
import { createEditor, DomEditor, createToolbar } from "@wangeditor/editor";
|
|
18
19
|
import VueJsonViewer from "vue-json-viewer";
|
|
19
|
-
import JsonEditorVue from "json-editor-vue";
|
|
20
20
|
function OrderedMap(content) {
|
|
21
21
|
this.content = content;
|
|
22
22
|
}
|
|
@@ -26579,6 +26579,21 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
26579
26579
|
]));
|
|
26580
26580
|
}
|
|
26581
26581
|
}), arrow_down_default = _sfc_main6;
|
|
26582
|
+
var _sfc_main12 = /* @__PURE__ */ defineComponent({
|
|
26583
|
+
name: "ArrowUp",
|
|
26584
|
+
__name: "arrow-up",
|
|
26585
|
+
setup(__props) {
|
|
26586
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
26587
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26588
|
+
viewBox: "0 0 1024 1024"
|
|
26589
|
+
}, [
|
|
26590
|
+
createElementVNode("path", {
|
|
26591
|
+
fill: "currentColor",
|
|
26592
|
+
d: "m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"
|
|
26593
|
+
})
|
|
26594
|
+
]));
|
|
26595
|
+
}
|
|
26596
|
+
}), arrow_up_default = _sfc_main12;
|
|
26582
26597
|
var _sfc_main43 = /* @__PURE__ */ defineComponent({
|
|
26583
26598
|
name: "Check",
|
|
26584
26599
|
__name: "check",
|
|
@@ -26677,6 +26692,21 @@ var _sfc_main201 = /* @__PURE__ */ defineComponent({
|
|
|
26677
26692
|
]));
|
|
26678
26693
|
}
|
|
26679
26694
|
}), plus_default = _sfc_main201;
|
|
26695
|
+
var _sfc_main283 = /* @__PURE__ */ defineComponent({
|
|
26696
|
+
name: "View",
|
|
26697
|
+
__name: "view",
|
|
26698
|
+
setup(__props) {
|
|
26699
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
26700
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26701
|
+
viewBox: "0 0 1024 1024"
|
|
26702
|
+
}, [
|
|
26703
|
+
createElementVNode("path", {
|
|
26704
|
+
fill: "currentColor",
|
|
26705
|
+
d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"
|
|
26706
|
+
})
|
|
26707
|
+
]));
|
|
26708
|
+
}
|
|
26709
|
+
}), view_default = _sfc_main283;
|
|
26680
26710
|
var _sfc_main292 = /* @__PURE__ */ defineComponent({
|
|
26681
26711
|
name: "ZoomIn",
|
|
26682
26712
|
__name: "zoom-in",
|
|
@@ -26819,7 +26849,7 @@ const _export_sfc$1 = (sfc, props2) => {
|
|
|
26819
26849
|
}
|
|
26820
26850
|
return target;
|
|
26821
26851
|
};
|
|
26822
|
-
const _sfc_main$
|
|
26852
|
+
const _sfc_main$2t = /* @__PURE__ */ Object.assign({ name: "ElsTiptapEditor" }, {
|
|
26823
26853
|
__name: "tipTapEditor",
|
|
26824
26854
|
props: tipTapEditorProps,
|
|
26825
26855
|
emits: [
|
|
@@ -27319,7 +27349,7 @@ const _sfc_main$2r = /* @__PURE__ */ Object.assign({ name: "ElsTiptapEditor" },
|
|
|
27319
27349
|
};
|
|
27320
27350
|
}
|
|
27321
27351
|
});
|
|
27322
|
-
const TipTapEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27352
|
+
const TipTapEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$2t, [["__scopeId", "data-v-329f0d4d"]]);
|
|
27323
27353
|
const { saveAs } = pkg;
|
|
27324
27354
|
function _toConsumableArray(e) {
|
|
27325
27355
|
if (Array.isArray(e)) {
|
|
@@ -32751,17 +32781,17 @@ function filterGlobalDataFields(options2, query) {
|
|
|
32751
32781
|
return result;
|
|
32752
32782
|
}, []);
|
|
32753
32783
|
}
|
|
32754
|
-
const _hoisted_1$
|
|
32755
|
-
const _hoisted_2$
|
|
32756
|
-
const _hoisted_3$
|
|
32757
|
-
const _hoisted_4$
|
|
32758
|
-
const _hoisted_5$
|
|
32759
|
-
const _hoisted_6$
|
|
32760
|
-
const _hoisted_7$
|
|
32761
|
-
const _hoisted_8$
|
|
32762
|
-
const _hoisted_9$
|
|
32763
|
-
const _hoisted_10$
|
|
32764
|
-
const _hoisted_11$
|
|
32784
|
+
const _hoisted_1$1t = { class: "fp-panel" };
|
|
32785
|
+
const _hoisted_2$C = { class: "fp-search" };
|
|
32786
|
+
const _hoisted_3$t = ["onClick"];
|
|
32787
|
+
const _hoisted_4$k = { class: "fp-name" };
|
|
32788
|
+
const _hoisted_5$i = { class: "fp-code" };
|
|
32789
|
+
const _hoisted_6$e = ["onClick"];
|
|
32790
|
+
const _hoisted_7$c = { class: "fp-name" };
|
|
32791
|
+
const _hoisted_8$9 = { class: "fp-code" };
|
|
32792
|
+
const _hoisted_9$7 = ["onClick"];
|
|
32793
|
+
const _hoisted_10$5 = { class: "fp-name" };
|
|
32794
|
+
const _hoisted_11$5 = { class: "fp-code" };
|
|
32765
32795
|
const _hoisted_12$4 = ["onClick"];
|
|
32766
32796
|
const _hoisted_13$4 = { class: "fp-name" };
|
|
32767
32797
|
const _hoisted_14$4 = { class: "fp-code" };
|
|
@@ -32787,7 +32817,7 @@ const _hoisted_33$1 = {
|
|
|
32787
32817
|
key: 4,
|
|
32788
32818
|
class: "fp-empty"
|
|
32789
32819
|
};
|
|
32790
|
-
const _sfc_main$
|
|
32820
|
+
const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
32791
32821
|
...{ name: "ElsFieldPicker" },
|
|
32792
32822
|
__name: "fieldPicker",
|
|
32793
32823
|
props: {
|
|
@@ -32995,8 +33025,8 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
32995
33025
|
], true)
|
|
32996
33026
|
]),
|
|
32997
33027
|
default: withCtx(() => [
|
|
32998
|
-
createElementVNode("div", _hoisted_1$
|
|
32999
|
-
createElementVNode("div", _hoisted_2$
|
|
33028
|
+
createElementVNode("div", _hoisted_1$1t, [
|
|
33029
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
33000
33030
|
createVNode(_component_el_input, {
|
|
33001
33031
|
modelValue: search.value,
|
|
33002
33032
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
|
|
@@ -33035,9 +33065,9 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
33035
33065
|
createElementVNode("span", {
|
|
33036
33066
|
class: normalizeClass(["fp-badge", TYPE_CLASS[item.dataTypeName]])
|
|
33037
33067
|
}, toDisplayString(TYPE_LABEL[item.dataTypeName] || item.dataTypeName), 3),
|
|
33038
|
-
createElementVNode("span", _hoisted_4$
|
|
33039
|
-
createElementVNode("span", _hoisted_5$
|
|
33040
|
-
], 8, _hoisted_3$
|
|
33068
|
+
createElementVNode("span", _hoisted_4$k, toDisplayString(item.label), 1),
|
|
33069
|
+
createElementVNode("span", _hoisted_5$i, toDisplayString(item.sub), 1)
|
|
33070
|
+
], 8, _hoisted_3$t)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
33041
33071
|
createElementVNode("div", {
|
|
33042
33072
|
class: "fp-item fp-item--container",
|
|
33043
33073
|
onClick: ($event) => toggleCurrContainer(item.keyCode)
|
|
@@ -33051,9 +33081,9 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
33051
33081
|
_: 1
|
|
33052
33082
|
}, 8, ["class"]),
|
|
33053
33083
|
_cache[3] || (_cache[3] = createElementVNode("span", { class: "fp-badge fp-t-obj" }, "{ }", -1)),
|
|
33054
|
-
createElementVNode("span", _hoisted_7$
|
|
33055
|
-
createElementVNode("span", _hoisted_8$
|
|
33056
|
-
], 8, _hoisted_6$
|
|
33084
|
+
createElementVNode("span", _hoisted_7$c, toDisplayString(item.keyName), 1),
|
|
33085
|
+
createElementVNode("span", _hoisted_8$9, toDisplayString(item.keyCode), 1)
|
|
33086
|
+
], 8, _hoisted_6$e),
|
|
33057
33087
|
expandedCurrContainers.value.includes(item.keyCode) ? (openBlock(true), createElementBlock(Fragment$1, { key: 0 }, renderList(item.children, (child) => {
|
|
33058
33088
|
return openBlock(), createElementBlock("div", {
|
|
33059
33089
|
key: child.value,
|
|
@@ -33063,9 +33093,9 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
33063
33093
|
createElementVNode("span", {
|
|
33064
33094
|
class: normalizeClass(["fp-badge", TYPE_CLASS[child.dataTypeName]])
|
|
33065
33095
|
}, toDisplayString(TYPE_LABEL[child.dataTypeName] || child.dataTypeName), 3),
|
|
33066
|
-
createElementVNode("span", _hoisted_10$
|
|
33067
|
-
createElementVNode("span", _hoisted_11$
|
|
33068
|
-
], 8, _hoisted_9$
|
|
33096
|
+
createElementVNode("span", _hoisted_10$5, toDisplayString(child.label), 1),
|
|
33097
|
+
createElementVNode("span", _hoisted_11$5, toDisplayString(child.sub), 1)
|
|
33098
|
+
], 8, _hoisted_9$7);
|
|
33069
33099
|
}), 128)) : createCommentVNode("", true)
|
|
33070
33100
|
], 64))
|
|
33071
33101
|
], 64);
|
|
@@ -33213,23 +33243,23 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
33213
33243
|
};
|
|
33214
33244
|
}
|
|
33215
33245
|
});
|
|
33216
|
-
const FieldPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33217
|
-
const _hoisted_1$
|
|
33218
|
-
const _hoisted_2$
|
|
33219
|
-
const _hoisted_3$
|
|
33220
|
-
const _hoisted_4$
|
|
33246
|
+
const FieldPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$2s, [["__scopeId", "data-v-f7844c2e"]]);
|
|
33247
|
+
const _hoisted_1$1s = { class: "condition-builder-trigger" };
|
|
33248
|
+
const _hoisted_2$B = { class: "cb-dialog-body" };
|
|
33249
|
+
const _hoisted_3$s = { class: "cb-header" };
|
|
33250
|
+
const _hoisted_4$j = {
|
|
33221
33251
|
key: 0,
|
|
33222
33252
|
class: "cb-no-fields"
|
|
33223
33253
|
};
|
|
33224
|
-
const _hoisted_5$
|
|
33225
|
-
const _hoisted_6$
|
|
33254
|
+
const _hoisted_5$h = { class: "cb-conditions" };
|
|
33255
|
+
const _hoisted_6$d = {
|
|
33226
33256
|
key: 0,
|
|
33227
33257
|
class: "cb-logic-row"
|
|
33228
33258
|
};
|
|
33229
|
-
const _hoisted_7$
|
|
33230
|
-
const _hoisted_8$
|
|
33259
|
+
const _hoisted_7$b = { class: "cb-condition-row" };
|
|
33260
|
+
const _hoisted_8$8 = { class: "cb-field-label" };
|
|
33231
33261
|
const nodePattern = "(currNode|parentNode|rootNode)";
|
|
33232
|
-
const _sfc_main$
|
|
33262
|
+
const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
33233
33263
|
...{ name: "ElsConditionBuilder" },
|
|
33234
33264
|
__name: "conditionBuilder",
|
|
33235
33265
|
props: {
|
|
@@ -33740,7 +33770,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
33740
33770
|
const _component_el_input = resolveComponent("el-input");
|
|
33741
33771
|
const _component_Plus = resolveComponent("Plus");
|
|
33742
33772
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
33743
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33773
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1s, [
|
|
33744
33774
|
createVNode(_component_el_button, {
|
|
33745
33775
|
size: "small",
|
|
33746
33776
|
style: { "width": "100%" },
|
|
@@ -33791,8 +33821,8 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
33791
33821
|
})
|
|
33792
33822
|
]),
|
|
33793
33823
|
default: withCtx(() => [
|
|
33794
|
-
createElementVNode("div", _hoisted_2$
|
|
33795
|
-
createElementVNode("div", _hoisted_3$
|
|
33824
|
+
createElementVNode("div", _hoisted_2$B, [
|
|
33825
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
33796
33826
|
createVNode(_component_el_button_group, { size: "small" }, {
|
|
33797
33827
|
default: withCtx(() => [
|
|
33798
33828
|
createVNode(_component_el_button, {
|
|
@@ -33838,13 +33868,13 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
33838
33868
|
description: "当前表达式较复杂,无法转为可视化模式,请继续使用代码模式编辑。"
|
|
33839
33869
|
})) : createCommentVNode("", true),
|
|
33840
33870
|
mode.value === "visual" ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
33841
|
-
!allFieldOptions.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
33871
|
+
!allFieldOptions.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$j, [..._cache[7] || (_cache[7] = [
|
|
33842
33872
|
createElementVNode("span", null, "暂无可用字段", -1)
|
|
33843
33873
|
])])) : createCommentVNode("", true),
|
|
33844
|
-
createElementVNode("div", _hoisted_5$
|
|
33874
|
+
createElementVNode("div", _hoisted_5$h, [
|
|
33845
33875
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(localConditions.value, (cond, i) => {
|
|
33846
33876
|
return openBlock(), createElementBlock(Fragment$1, { key: i }, [
|
|
33847
|
-
i > 0 ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
33877
|
+
i > 0 ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
|
|
33848
33878
|
createVNode(_component_el_radio_group, {
|
|
33849
33879
|
modelValue: localConditions.value[i - 1].logicOp,
|
|
33850
33880
|
"onUpdate:modelValue": ($event) => localConditions.value[i - 1].logicOp = $event,
|
|
@@ -33867,7 +33897,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
33867
33897
|
_: 1
|
|
33868
33898
|
}, 8, ["modelValue", "onUpdate:modelValue"])
|
|
33869
33899
|
])) : createCommentVNode("", true),
|
|
33870
|
-
createElementVNode("div", _hoisted_7$
|
|
33900
|
+
createElementVNode("div", _hoisted_7$b, [
|
|
33871
33901
|
createVNode(FieldPicker, {
|
|
33872
33902
|
class: "cb-field-picker",
|
|
33873
33903
|
onSelect: (opt) => applyFieldSelect(cond, opt)
|
|
@@ -33880,7 +33910,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
33880
33910
|
key: 0,
|
|
33881
33911
|
class: normalizeClass(["cb-type-badge", TYPE_CLASS[cond.dataTypeName]])
|
|
33882
33912
|
}, toDisplayString(TYPE_LABEL[cond.dataTypeName] || cond.dataTypeName), 3)) : createCommentVNode("", true),
|
|
33883
|
-
createElementVNode("span", _hoisted_8$
|
|
33913
|
+
createElementVNode("span", _hoisted_8$8, toDisplayString(cond.fieldName || "选择字段..."), 1),
|
|
33884
33914
|
createVNode(_component_el_icon, { class: "cb-field-arrow" }, {
|
|
33885
33915
|
default: withCtx(() => [
|
|
33886
33916
|
createVNode(_component_ArrowDown)
|
|
@@ -34015,27 +34045,27 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
34015
34045
|
};
|
|
34016
34046
|
}
|
|
34017
34047
|
});
|
|
34018
|
-
const ConditionBuilderVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34019
|
-
const _hoisted_1$
|
|
34020
|
-
const _hoisted_2$
|
|
34048
|
+
const ConditionBuilderVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2r, [["__scopeId", "data-v-3580b83f"]]);
|
|
34049
|
+
const _hoisted_1$1r = { class: "expr-input-wrapper" };
|
|
34050
|
+
const _hoisted_2$A = {
|
|
34021
34051
|
key: 0,
|
|
34022
34052
|
class: "expr-mode-badge"
|
|
34023
34053
|
};
|
|
34024
|
-
const _hoisted_3$
|
|
34025
|
-
const _hoisted_4$
|
|
34026
|
-
const _hoisted_5$
|
|
34054
|
+
const _hoisted_3$r = { class: "expr-dialog-header" };
|
|
34055
|
+
const _hoisted_4$i = { class: "expr-toolbar-right" };
|
|
34056
|
+
const _hoisted_5$g = {
|
|
34027
34057
|
key: 0,
|
|
34028
34058
|
class: "expr-mode-hint"
|
|
34029
34059
|
};
|
|
34030
|
-
const _hoisted_6$
|
|
34060
|
+
const _hoisted_6$c = {
|
|
34031
34061
|
key: 1,
|
|
34032
34062
|
class: "expr-mode-hint expr-mode-hint--expr"
|
|
34033
34063
|
};
|
|
34034
|
-
const _hoisted_7$
|
|
34064
|
+
const _hoisted_7$a = {
|
|
34035
34065
|
key: 2,
|
|
34036
34066
|
class: "expr-mode-hint expr-mode-hint--raw"
|
|
34037
34067
|
};
|
|
34038
|
-
const _sfc_main$
|
|
34068
|
+
const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
34039
34069
|
...{ name: "ElsExpressionInput" },
|
|
34040
34070
|
__name: "expressionInput",
|
|
34041
34071
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -34256,7 +34286,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
34256
34286
|
const _component_el_button_group = resolveComponent("el-button-group");
|
|
34257
34287
|
const _component_el_input = resolveComponent("el-input");
|
|
34258
34288
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
34259
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34289
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1r, [
|
|
34260
34290
|
createVNode(TipTapEditor, {
|
|
34261
34291
|
class: "expr-compact",
|
|
34262
34292
|
modelValue: modelValue.value,
|
|
@@ -34270,7 +34300,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
34270
34300
|
resizable: true,
|
|
34271
34301
|
border: true
|
|
34272
34302
|
}, null, 8, ["modelValue", "options", "renderOption", "placeholder"]),
|
|
34273
|
-
isExprMode.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
34303
|
+
isExprMode.value ? (openBlock(), createElementBlock("span", _hoisted_2$A, "JS")) : createCommentVNode("", true),
|
|
34274
34304
|
createVNode(_component_el_tooltip, {
|
|
34275
34305
|
content: "扩展编辑",
|
|
34276
34306
|
placement: "top"
|
|
@@ -34316,7 +34346,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
34316
34346
|
})
|
|
34317
34347
|
]),
|
|
34318
34348
|
default: withCtx(() => [
|
|
34319
|
-
createElementVNode("div", _hoisted_3$
|
|
34349
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
34320
34350
|
_cache[13] || (_cache[13] = createElementVNode("div", { class: "expr-vars-hint" }, [
|
|
34321
34351
|
createTextVNode(" 可用变量:"),
|
|
34322
34352
|
createElementVNode("code", null, "currNode"),
|
|
@@ -34332,7 +34362,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
34332
34362
|
createElementVNode("code", null, "{}"),
|
|
34333
34363
|
createTextVNode(" 插入字段引用 ")
|
|
34334
34364
|
], -1)),
|
|
34335
|
-
createElementVNode("div", _hoisted_4$
|
|
34365
|
+
createElementVNode("div", _hoisted_4$i, [
|
|
34336
34366
|
createVNode(FieldPicker, { onSelect: onPickerSelectDialog }, {
|
|
34337
34367
|
trigger: withCtx(() => [
|
|
34338
34368
|
createVNode(_component_el_tooltip, {
|
|
@@ -34392,15 +34422,15 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
34392
34422
|
})
|
|
34393
34423
|
])
|
|
34394
34424
|
]),
|
|
34395
|
-
editMode.value === "template" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
34425
|
+
editMode.value === "template" ? (openBlock(), createElementBlock("div", _hoisted_5$g, [..._cache[14] || (_cache[14] = [
|
|
34396
34426
|
createTextVNode(" 字符串插值模式:用 ", -1),
|
|
34397
34427
|
createElementVNode("code", null, "{{expr}}", -1),
|
|
34398
34428
|
createTextVNode(" 嵌入表达式,适合文本拼接,如 ", -1),
|
|
34399
34429
|
createElementVNode("code", null, "你好,{{currNode['name'].value}}", -1)
|
|
34400
|
-
])])) : editMode.value === "expression" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
34430
|
+
])])) : editMode.value === "expression" ? (openBlock(), createElementBlock("div", _hoisted_6$c, [..._cache[15] || (_cache[15] = [
|
|
34401
34431
|
createTextVNode(" JS 表达式模式:整体作为一个 JS 表达式求值,支持三元、运算符等,如 ", -1),
|
|
34402
34432
|
createElementVNode("code", null, "currNode['age'].value > 18 ? '成年' : '未成年'", -1)
|
|
34403
|
-
])])) : (openBlock(), createElementBlock("div", _hoisted_7$
|
|
34433
|
+
])])) : (openBlock(), createElementBlock("div", _hoisted_7$a, [..._cache[16] || (_cache[16] = [
|
|
34404
34434
|
createTextVNode(" 源码模式:直接编辑原始字符串。以 ", -1),
|
|
34405
34435
|
createElementVNode("code", null, ":", -1),
|
|
34406
34436
|
createTextVNode(" 开头为 JS 表达式,", -1),
|
|
@@ -34446,202 +34476,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
34446
34476
|
};
|
|
34447
34477
|
}
|
|
34448
34478
|
});
|
|
34449
|
-
const ExpressionInputVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34450
|
-
Number.prototype.toFixedNumber = function toFixedNumber(digits = 2) {
|
|
34451
|
-
return parseFloat(this.toFixed(digits));
|
|
34452
|
-
};
|
|
34453
|
-
Number.prototype.appendPx = function() {
|
|
34454
|
-
if (this) {
|
|
34455
|
-
return this + "px";
|
|
34456
|
-
}
|
|
34457
|
-
return "";
|
|
34458
|
-
};
|
|
34459
|
-
Number.prototype.formatDate = function(format2) {
|
|
34460
|
-
if (!this) {
|
|
34461
|
-
return "";
|
|
34462
|
-
}
|
|
34463
|
-
return utils.formatDate(this, format2);
|
|
34464
|
-
};
|
|
34465
|
-
String.prototype.setPowerPublicQuery = function(excludeQuery = "") {
|
|
34466
|
-
if (!this) {
|
|
34467
|
-
return "";
|
|
34468
|
-
}
|
|
34469
|
-
let url = this;
|
|
34470
|
-
let currParms = location.href.split("?")[1];
|
|
34471
|
-
if (currParms) {
|
|
34472
|
-
let dtParms = currParms.split("&");
|
|
34473
|
-
const excludeParams = excludeQuery.split(",");
|
|
34474
|
-
dtParms.forEach((ele) => {
|
|
34475
|
-
let parmKeyValue = ele.split("=");
|
|
34476
|
-
if (ele && (ele.includes("Power_") || ele.includes("Transfer_")) && !url.includes(parmKeyValue[0]) && !excludeParams.includes(parmKeyValue[0])) {
|
|
34477
|
-
url = url.indexOf("?") == -1 ? url + "?" + parmKeyValue[0] + "=" + parmKeyValue[1] : url + "&" + parmKeyValue[0] + "=" + parmKeyValue[1];
|
|
34478
|
-
}
|
|
34479
|
-
});
|
|
34480
|
-
}
|
|
34481
|
-
return url.toString();
|
|
34482
|
-
}, String.prototype.setTransferParams = function(transferParams) {
|
|
34483
|
-
if (!this || !transferParams) {
|
|
34484
|
-
return (this == null ? void 0 : this.toString()) || "";
|
|
34485
|
-
}
|
|
34486
|
-
let url = this.toString();
|
|
34487
|
-
Object.entries(transferParams).forEach(([key, value]) => {
|
|
34488
|
-
if (value !== void 0 && value !== null && value !== "") {
|
|
34489
|
-
const paramName = "Transfer_" + key;
|
|
34490
|
-
url = url.addUrlParameter(paramName, value);
|
|
34491
|
-
}
|
|
34492
|
-
});
|
|
34493
|
-
return url.toString();
|
|
34494
|
-
}, String.prototype.toCamel = function() {
|
|
34495
|
-
return this.toString().replace(/-([a-z])/g, function(match, letter) {
|
|
34496
|
-
console.log(match);
|
|
34497
|
-
return letter.toUpperCase();
|
|
34498
|
-
});
|
|
34499
|
-
};
|
|
34500
|
-
String.prototype.toKebabCase = function() {
|
|
34501
|
-
const currVal = this.toString().replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
34502
|
-
if (currVal.startsWith("-")) {
|
|
34503
|
-
return currVal.substring(1);
|
|
34504
|
-
}
|
|
34505
|
-
return currVal;
|
|
34506
|
-
};
|
|
34507
|
-
String.prototype.appendPx = function() {
|
|
34508
|
-
if (!this) {
|
|
34509
|
-
return "";
|
|
34510
|
-
}
|
|
34511
|
-
if (utils.isNumber(this.toString())) {
|
|
34512
|
-
return this + "px";
|
|
34513
|
-
}
|
|
34514
|
-
return this.toString();
|
|
34515
|
-
};
|
|
34516
|
-
String.prototype.toList = function(valueSeparator = ",") {
|
|
34517
|
-
if (this) {
|
|
34518
|
-
return this.toString().split(valueSeparator);
|
|
34519
|
-
}
|
|
34520
|
-
return [];
|
|
34521
|
-
};
|
|
34522
|
-
String.prototype.toListNumber = function(valueSeparator = ",") {
|
|
34523
|
-
if (this) {
|
|
34524
|
-
return this.toString().split(valueSeparator).map((ele) => parseFloat(ele));
|
|
34525
|
-
}
|
|
34526
|
-
return [];
|
|
34527
|
-
};
|
|
34528
|
-
String.prototype.toBool = function toBool() {
|
|
34529
|
-
if (this.toLowerCase() === "true") {
|
|
34530
|
-
return true;
|
|
34531
|
-
} else if (this.toLowerCase() === "false") {
|
|
34532
|
-
return false;
|
|
34533
|
-
}
|
|
34534
|
-
return false;
|
|
34535
|
-
};
|
|
34536
|
-
String.prototype.toInt = function toInt() {
|
|
34537
|
-
if (utils.isNumber(this.toString())) {
|
|
34538
|
-
return parseInt(this.toString());
|
|
34539
|
-
}
|
|
34540
|
-
return 0;
|
|
34541
|
-
};
|
|
34542
|
-
String.prototype.toFloat = function toFloat(digits = 2) {
|
|
34543
|
-
if (!digits) {
|
|
34544
|
-
return parseFloat(this.toString());
|
|
34545
|
-
}
|
|
34546
|
-
return parseFloat(parseFloat(this.toString()).toFixed(digits));
|
|
34547
|
-
};
|
|
34548
|
-
String.prototype.cutWord = function(len) {
|
|
34549
|
-
if (this) {
|
|
34550
|
-
if (this.length > len) {
|
|
34551
|
-
return this.substring(0, len) + "...";
|
|
34552
|
-
}
|
|
34553
|
-
}
|
|
34554
|
-
return this.toString();
|
|
34555
|
-
};
|
|
34556
|
-
String.prototype.downloadFile = function(filename = "") {
|
|
34557
|
-
utils.downloadFile(this.toString(), filename);
|
|
34558
|
-
};
|
|
34559
|
-
String.prototype.replacePowerUrl = function replacePowerUrl() {
|
|
34560
|
-
try {
|
|
34561
|
-
let currUrl = this;
|
|
34562
|
-
if (this && this.indexOf("{Power_CoteID}") > -1 && location.host) {
|
|
34563
|
-
currUrl = this.replace("{Power_CoteID}", location.host.split(".")[0]);
|
|
34564
|
-
}
|
|
34565
|
-
if (this && this.indexOf("{Power_Environment}") > -1 && location.host) {
|
|
34566
|
-
if (location.host.split(".").length == 5) {
|
|
34567
|
-
currUrl = currUrl.replace("{Power_Environment}", location.host.split(".")[2]);
|
|
34568
|
-
} else if (location.host.split(".").length == 4) {
|
|
34569
|
-
currUrl = currUrl.replace("{Power_Environment}", location.host.split(".")[1]);
|
|
34570
|
-
}
|
|
34571
|
-
}
|
|
34572
|
-
if (this && this.indexOf("{Power_CoteDeptID}") > -1) {
|
|
34573
|
-
let currCoteDeptID = utils.getUrlParms("Power_CoteDeptID");
|
|
34574
|
-
if (!currCoteDeptID) {
|
|
34575
|
-
currCoteDeptID = "0";
|
|
34576
|
-
}
|
|
34577
|
-
currUrl = currUrl.replace("{Power_CoteDeptID}", currCoteDeptID);
|
|
34578
|
-
}
|
|
34579
|
-
return currUrl.toString();
|
|
34580
|
-
} catch (err) {
|
|
34581
|
-
console.log(err);
|
|
34582
|
-
}
|
|
34583
|
-
return this.toString();
|
|
34584
|
-
};
|
|
34585
|
-
String.prototype.addUrlParameter = function addUrlParameter(param, value) {
|
|
34586
|
-
if (value === void 0) {
|
|
34587
|
-
return this.toString();
|
|
34588
|
-
}
|
|
34589
|
-
if (this.toString().indexOf(param) > -1) {
|
|
34590
|
-
var oUrl = this.toString();
|
|
34591
|
-
return oUrl.replace(new RegExp("/(" + param + "=)([^&]*)/gi"), param + "=" + value);
|
|
34592
|
-
}
|
|
34593
|
-
let cSymbol = this.indexOf("?") > -1 ? "&" : "?";
|
|
34594
|
-
return `${this}${cSymbol}${param}=${value}`;
|
|
34595
|
-
};
|
|
34596
|
-
String.prototype.post = function post(postdata, axiosInstance2) {
|
|
34597
|
-
return utils.post(this.toString(), postdata, axiosInstance2);
|
|
34598
|
-
};
|
|
34599
|
-
String.prototype.get = function get3(postdata, axiosInstance2) {
|
|
34600
|
-
return utils.get(this.toString(), postdata, axiosInstance2);
|
|
34601
|
-
};
|
|
34602
|
-
String.prototype.postWithCancel = function post2(postdata, cancel, axiosInstance2) {
|
|
34603
|
-
return utils.postWithCancel(this.toString(), postdata, cancel, axiosInstance2);
|
|
34604
|
-
};
|
|
34605
|
-
String.prototype.getWithCancel = function get22(postdata, cancel, axiosInstance2) {
|
|
34606
|
-
return utils.getWithCancel(this.toString(), postdata, cancel, axiosInstance2);
|
|
34607
|
-
};
|
|
34608
|
-
String.prototype.fetchStream = function fetchStream(processFunc, data, options2 = {}) {
|
|
34609
|
-
return utils.fetchStream(this.toString(), processFunc, data, options2);
|
|
34610
|
-
};
|
|
34611
|
-
String.prototype.fetchSSE = function fetchSSE(processFunc, data, options2 = {}) {
|
|
34612
|
-
return utils.fetchSSE(this.toString(), processFunc, data, options2);
|
|
34613
|
-
};
|
|
34614
|
-
String.prototype.upload = function upload(formdata) {
|
|
34615
|
-
return utils.post(this.toString(), formdata);
|
|
34616
|
-
};
|
|
34617
|
-
String.prototype.trimQuotes = function trimQuotes() {
|
|
34618
|
-
return this.toString().replace(/^['"]|['"]$/g, "");
|
|
34619
|
-
};
|
|
34620
|
-
String.prototype.trimComma = function trimComma() {
|
|
34621
|
-
return this.toString().replace(/^,+/, "").replace(/,+$/, "");
|
|
34622
|
-
};
|
|
34623
|
-
String.prototype.md5 = function md5() {
|
|
34624
|
-
return utils.md5(this.toString());
|
|
34625
|
-
};
|
|
34626
|
-
String.prototype.formatDate = function(format2) {
|
|
34627
|
-
if (!this) {
|
|
34628
|
-
return "";
|
|
34629
|
-
}
|
|
34630
|
-
return utils.formatDate(this.toString(), format2);
|
|
34631
|
-
};
|
|
34632
|
-
String.prototype.getUrlParms = function(paramName) {
|
|
34633
|
-
let vars = this.split("&");
|
|
34634
|
-
if (this.indexOf("?") > -1) {
|
|
34635
|
-
vars = this.split("?")[1].split("&");
|
|
34636
|
-
}
|
|
34637
|
-
for (var i = 0; i < vars.length; i++) {
|
|
34638
|
-
var pair = vars[i].split("=");
|
|
34639
|
-
if (pair[0] === paramName) {
|
|
34640
|
-
return pair[1];
|
|
34641
|
-
}
|
|
34642
|
-
}
|
|
34643
|
-
return "";
|
|
34644
|
-
};
|
|
34479
|
+
const ExpressionInputVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2q, [["__scopeId", "data-v-4cf2ed46"]]);
|
|
34645
34480
|
const formItemProps$1 = buildProps({
|
|
34646
34481
|
...formItemProps$2,
|
|
34647
34482
|
/**
|
|
@@ -34883,12 +34718,12 @@ class TBaseCom {
|
|
|
34883
34718
|
}
|
|
34884
34719
|
}
|
|
34885
34720
|
const formItemProps = formItemProps$1;
|
|
34886
|
-
const _hoisted_1$
|
|
34887
|
-
const _hoisted_2$
|
|
34888
|
-
const _hoisted_3$
|
|
34889
|
-
const _hoisted_4$
|
|
34890
|
-
const _hoisted_5$
|
|
34891
|
-
const _sfc_main$
|
|
34721
|
+
const _hoisted_1$1q = ["innerHTML"];
|
|
34722
|
+
const _hoisted_2$z = { class: "els-form-item-label" };
|
|
34723
|
+
const _hoisted_3$q = ["innerHTML"];
|
|
34724
|
+
const _hoisted_4$h = { class: "els-form-item-append" };
|
|
34725
|
+
const _hoisted_5$f = ["innerHTML"];
|
|
34726
|
+
const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
34892
34727
|
...{ name: "ElsFormItem" },
|
|
34893
34728
|
__name: "formItem",
|
|
34894
34729
|
props: formItemProps,
|
|
@@ -35071,10 +34906,10 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
35071
34906
|
placement: "top"
|
|
35072
34907
|
}, {
|
|
35073
34908
|
content: withCtx(() => [
|
|
35074
|
-
createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_3$
|
|
34909
|
+
createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_3$q)
|
|
35075
34910
|
]),
|
|
35076
34911
|
default: withCtx(() => [
|
|
35077
|
-
createElementVNode("span", _hoisted_4$
|
|
34912
|
+
createElementVNode("span", _hoisted_4$h, [
|
|
35078
34913
|
createVNode(_component_el_icon, { style: { "margin-left": "5px", "cursor": "pointer" } }, {
|
|
35079
34914
|
default: withCtx(() => [
|
|
35080
34915
|
createVNode(_component_Question_Filled)
|
|
@@ -35089,7 +34924,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
35089
34924
|
key: 2,
|
|
35090
34925
|
innerHTML: _ctx.suffixContent,
|
|
35091
34926
|
class: "els-form-item-append"
|
|
35092
|
-
}, null, 8, _hoisted_5$
|
|
34927
|
+
}, null, 8, _hoisted_5$f)) : createCommentVNode("", true),
|
|
35093
34928
|
unref(slots).error ? renderSlot(_ctx.$slots, "error", { key: 3 }, void 0, true) : createCommentVNode("", true)
|
|
35094
34929
|
]),
|
|
35095
34930
|
_: 2
|
|
@@ -35105,10 +34940,10 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
35105
34940
|
fn: withCtx(() => [
|
|
35106
34941
|
createVNode(_component_el_tooltip, { placement: "top" }, {
|
|
35107
34942
|
content: withCtx(() => [
|
|
35108
|
-
createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_1$
|
|
34943
|
+
createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_1$1q)
|
|
35109
34944
|
]),
|
|
35110
34945
|
default: withCtx(() => [
|
|
35111
|
-
createElementVNode("span", _hoisted_2$
|
|
34946
|
+
createElementVNode("span", _hoisted_2$z, [
|
|
35112
34947
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
35113
34948
|
createVNode(_component_el_icon, { style: { "margin-left": "5px", "cursor": "pointer" } }, {
|
|
35114
34949
|
default: withCtx(() => [
|
|
@@ -35127,9 +34962,9 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
35127
34962
|
};
|
|
35128
34963
|
}
|
|
35129
34964
|
});
|
|
35130
|
-
const FormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34965
|
+
const FormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$2p, [["__scopeId", "data-v-53c65fe2"]]);
|
|
35131
34966
|
const ElsFormItem = withInstall$1(FormItem);
|
|
35132
|
-
const _sfc_main$
|
|
34967
|
+
const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
35133
34968
|
...{ name: "ElsFormNode" },
|
|
35134
34969
|
__name: "formNode",
|
|
35135
34970
|
props: formItemProps$1,
|
|
@@ -35195,7 +35030,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
35195
35030
|
};
|
|
35196
35031
|
}
|
|
35197
35032
|
});
|
|
35198
|
-
const FormNode = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35033
|
+
const FormNode = /* @__PURE__ */ _export_sfc$1(_sfc_main$2o, [["__scopeId", "data-v-c800fb00"]]);
|
|
35199
35034
|
const ElsFormNode = withInstall$1(FormNode);
|
|
35200
35035
|
function _isSlot$5(s) {
|
|
35201
35036
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
@@ -35360,171 +35195,640 @@ class TBaseTree extends TBaseFormItem {
|
|
|
35360
35195
|
return this._isMobile.value && this.mobileRender ? this.mobileRender(this._selectState) : this.pcRender(this._selectState);
|
|
35361
35196
|
}
|
|
35362
35197
|
}
|
|
35363
|
-
const
|
|
35198
|
+
const jsonEditorProps = buildProps({
|
|
35364
35199
|
...formItemProps$1,
|
|
35365
|
-
|
|
35366
|
-
|
|
35367
|
-
|
|
35368
|
-
|
|
35369
|
-
|
|
35370
|
-
width: {
|
|
35371
|
-
type: [Number, String]
|
|
35372
|
-
},
|
|
35373
|
-
trim: {
|
|
35374
|
-
type: Boolean,
|
|
35375
|
-
default: false
|
|
35376
|
-
},
|
|
35377
|
-
encode: {
|
|
35378
|
-
type: Boolean,
|
|
35379
|
-
default: false
|
|
35200
|
+
/**
|
|
35201
|
+
* @description 绑定值
|
|
35202
|
+
*/
|
|
35203
|
+
modelValue: {
|
|
35204
|
+
type: [String, Object]
|
|
35380
35205
|
},
|
|
35381
|
-
|
|
35206
|
+
/**
|
|
35207
|
+
* @description 值类型 String|Object
|
|
35208
|
+
*/
|
|
35209
|
+
valueType: {
|
|
35382
35210
|
type: String,
|
|
35383
|
-
|
|
35211
|
+
values: ["String", "Object"]
|
|
35384
35212
|
}
|
|
35385
35213
|
});
|
|
35386
|
-
class
|
|
35214
|
+
let JsonEditor$1 = class JsonEditor extends TBaseFormItem {
|
|
35387
35215
|
constructor(props2, ctx) {
|
|
35388
35216
|
super(props2, ctx);
|
|
35389
|
-
__publicField(this, "
|
|
35390
|
-
this._childType.value = "input";
|
|
35217
|
+
__publicField(this, "jsonEditor", ref());
|
|
35391
35218
|
}
|
|
35392
35219
|
watchModelValue() {
|
|
35393
35220
|
watch(this._modelValue, (val) => {
|
|
35394
|
-
|
|
35395
|
-
|
|
35396
|
-
|
|
35397
|
-
this.encodeValue.value = currValue;
|
|
35398
|
-
if (this._props.encodeType === "url") {
|
|
35399
|
-
this._comValue.value = decodeURIComponent(this.encodeValue.value);
|
|
35400
|
-
}
|
|
35221
|
+
if (val) {
|
|
35222
|
+
if (typeof val === "object") {
|
|
35223
|
+
this._comValue.value = val;
|
|
35401
35224
|
} else {
|
|
35402
|
-
this._comValue.value =
|
|
35225
|
+
this._comValue.value = JSON.parse(val);
|
|
35403
35226
|
}
|
|
35404
35227
|
}
|
|
35405
35228
|
}, {
|
|
35406
|
-
immediate: true
|
|
35229
|
+
immediate: true,
|
|
35230
|
+
deep: true
|
|
35407
35231
|
});
|
|
35408
35232
|
}
|
|
35409
|
-
|
|
35410
|
-
|
|
35411
|
-
|
|
35412
|
-
|
|
35413
|
-
|
|
35414
|
-
|
|
35415
|
-
|
|
35416
|
-
|
|
35417
|
-
|
|
35418
|
-
|
|
35419
|
-
|
|
35420
|
-
|
|
35421
|
-
|
|
35422
|
-
|
|
35423
|
-
|
|
35424
|
-
|
|
35425
|
-
|
|
35426
|
-
|
|
35427
|
-
|
|
35428
|
-
|
|
35233
|
+
watchComValue() {
|
|
35234
|
+
watch(this._comValue, (val) => {
|
|
35235
|
+
if (typeof val === "string") {
|
|
35236
|
+
try {
|
|
35237
|
+
JSON.parse(val);
|
|
35238
|
+
} catch {
|
|
35239
|
+
return;
|
|
35240
|
+
}
|
|
35241
|
+
}
|
|
35242
|
+
if (typeof this._modelValue.value === "object" || this._props.valueType === "Object") {
|
|
35243
|
+
if (typeof val === "string") {
|
|
35244
|
+
try {
|
|
35245
|
+
const currValue = JSON.parse(val);
|
|
35246
|
+
this.returnValue(currValue);
|
|
35247
|
+
} catch (err) {
|
|
35248
|
+
}
|
|
35249
|
+
} else {
|
|
35250
|
+
this.returnValue(val);
|
|
35251
|
+
}
|
|
35252
|
+
return;
|
|
35253
|
+
}
|
|
35254
|
+
if (typeof val === "object") {
|
|
35255
|
+
this.returnValue(JSON.stringify(val));
|
|
35256
|
+
return;
|
|
35257
|
+
}
|
|
35258
|
+
this.returnValue(val);
|
|
35259
|
+
}, {
|
|
35260
|
+
deep: true
|
|
35261
|
+
});
|
|
35429
35262
|
}
|
|
35430
35263
|
pcRender() {
|
|
35431
|
-
|
|
35432
|
-
|
|
35433
|
-
|
|
35434
|
-
append: append2,
|
|
35435
|
-
...inheritsSlot
|
|
35436
|
-
} = this._slots;
|
|
35437
|
-
return createVNode(Fragment$1, null, [createVNode(resolveComponent("el-input"), mergeProps({
|
|
35438
|
-
"style": [{
|
|
35439
|
-
width: inputWidth.appendPx()
|
|
35440
|
-
}]
|
|
35441
|
-
}, this._componentProps.value, {
|
|
35264
|
+
return createVNode(Fragment$1, null, [createVNode("div", {
|
|
35265
|
+
"class": "els-jsoneditor"
|
|
35266
|
+
}, [createVNode(JsonEditorVue, mergeProps({
|
|
35442
35267
|
"modelValue": this._comValue.value,
|
|
35443
35268
|
"onUpdate:modelValue": ($event) => this._comValue.value = $event
|
|
35444
|
-
}
|
|
35445
|
-
|
|
35446
|
-
|
|
35447
|
-
|
|
35448
|
-
})]);
|
|
35269
|
+
}, this._attrs, {
|
|
35270
|
+
"ref": this.jsonEditor,
|
|
35271
|
+
"mode": "text"
|
|
35272
|
+
}), null)])]);
|
|
35449
35273
|
}
|
|
35450
|
-
}
|
|
35451
|
-
const _sfc_main$
|
|
35452
|
-
name: "
|
|
35274
|
+
};
|
|
35275
|
+
const _sfc_main$2n = defineComponent({
|
|
35276
|
+
name: "ElsJsonEditor",
|
|
35453
35277
|
inheritAttrs: false,
|
|
35454
|
-
props:
|
|
35278
|
+
props: jsonEditorProps,
|
|
35455
35279
|
setup(props2, ctx) {
|
|
35456
|
-
const
|
|
35457
|
-
return () =>
|
|
35280
|
+
const editor = new JsonEditor$1(props2, ctx);
|
|
35281
|
+
return () => editor.render();
|
|
35458
35282
|
},
|
|
35459
|
-
emits:
|
|
35283
|
+
emits: ["update:modelValue"]
|
|
35460
35284
|
});
|
|
35461
|
-
const
|
|
35462
|
-
|
|
35463
|
-
|
|
35464
|
-
|
|
35285
|
+
const JsonEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$2n, [["__scopeId", "data-v-ebf6dbd5"]]);
|
|
35286
|
+
const ElsJsonEditor = withInstall$1(JsonEditor2);
|
|
35287
|
+
const _hoisted_1$1p = { class: "els-schema-field-editor" };
|
|
35288
|
+
const _hoisted_2$y = { class: "els-schema-field-editor__toolbar" };
|
|
35289
|
+
const _hoisted_3$p = {
|
|
35290
|
+
key: 0,
|
|
35291
|
+
class: "els-schema-field-editor__rows"
|
|
35292
|
+
};
|
|
35293
|
+
const _hoisted_4$g = {
|
|
35294
|
+
key: 1,
|
|
35295
|
+
class: "els-schema-field-editor__empty"
|
|
35296
|
+
};
|
|
35297
|
+
const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
35298
|
+
...{ name: "ElsSchemaFieldEditor" },
|
|
35299
|
+
__name: "schemaFieldEditor",
|
|
35300
|
+
props: {
|
|
35301
|
+
"modelValue": { default: "{}" },
|
|
35302
|
+
"modelModifiers": {}
|
|
35303
|
+
},
|
|
35304
|
+
emits: ["update:modelValue"],
|
|
35305
|
+
setup(__props) {
|
|
35306
|
+
const modelValue = useModel$1(__props, "modelValue");
|
|
35307
|
+
const typeOptions = [
|
|
35308
|
+
{ label: "文本", value: "String" },
|
|
35309
|
+
{ label: "数字", value: "Number" },
|
|
35310
|
+
{ label: "布尔", value: "Bool" },
|
|
35311
|
+
{ label: "数组", value: "Array" },
|
|
35312
|
+
{ label: "对象", value: "Object" }
|
|
35313
|
+
];
|
|
35314
|
+
let uid = 0;
|
|
35315
|
+
function nextId() {
|
|
35316
|
+
uid += 1;
|
|
35317
|
+
return "row_" + uid;
|
|
35318
|
+
}
|
|
35319
|
+
function normalizeType(type) {
|
|
35320
|
+
const t2 = String(type || "String").toLowerCase();
|
|
35321
|
+
if (t2 === "number") return "Number";
|
|
35322
|
+
if (t2 === "bool" || t2 === "boolean") return "Bool";
|
|
35323
|
+
if (t2 === "array") return "Array";
|
|
35324
|
+
if (t2 === "object") return "Object";
|
|
35325
|
+
return "String";
|
|
35326
|
+
}
|
|
35327
|
+
function parseModelValue(raw) {
|
|
35328
|
+
let data = {};
|
|
35329
|
+
try {
|
|
35330
|
+
data = raw ? JSON.parse(raw) : {};
|
|
35331
|
+
} catch {
|
|
35332
|
+
data = {};
|
|
35333
|
+
}
|
|
35334
|
+
if (!data || typeof data !== "object" || Array.isArray(data)) data = {};
|
|
35335
|
+
const result = [];
|
|
35336
|
+
for (const label in data) {
|
|
35337
|
+
const value = data[label];
|
|
35338
|
+
if (typeof value === "string") {
|
|
35339
|
+
result.push({ id: nextId(), label, path: value, type: "String" });
|
|
35340
|
+
} else if (value && typeof value === "object" && typeof value.name === "string") {
|
|
35341
|
+
result.push({ id: nextId(), label, path: value.name, type: normalizeType(value.type) });
|
|
35342
|
+
}
|
|
35343
|
+
}
|
|
35344
|
+
return result;
|
|
35345
|
+
}
|
|
35346
|
+
const rows = ref(parseModelValue(modelValue.value));
|
|
35347
|
+
const mode = ref("list");
|
|
35348
|
+
let syncingFromSelf = false;
|
|
35349
|
+
watch(modelValue, (val) => {
|
|
35350
|
+
if (syncingFromSelf) return;
|
|
35351
|
+
rows.value = parseModelValue(val || "{}");
|
|
35352
|
+
});
|
|
35353
|
+
function serialize() {
|
|
35354
|
+
const data = {};
|
|
35355
|
+
rows.value.forEach((row) => {
|
|
35356
|
+
if (!row.label || !row.path) return;
|
|
35357
|
+
data[row.label] = { name: row.path, type: row.type };
|
|
35358
|
+
});
|
|
35359
|
+
syncingFromSelf = true;
|
|
35360
|
+
modelValue.value = JSON.stringify(data);
|
|
35361
|
+
requestAnimationFrame(() => {
|
|
35362
|
+
syncingFromSelf = false;
|
|
35363
|
+
});
|
|
35364
|
+
}
|
|
35365
|
+
watch(rows, serialize, { deep: true });
|
|
35366
|
+
function handleAddRow() {
|
|
35367
|
+
rows.value.push({ id: nextId(), label: "", path: "", type: "String" });
|
|
35368
|
+
}
|
|
35369
|
+
function handleRemoveRow(row) {
|
|
35370
|
+
rows.value = rows.value.filter((r) => r.id !== row.id);
|
|
35371
|
+
}
|
|
35372
|
+
return (_ctx, _cache) => {
|
|
35373
|
+
const _component_el_button = resolveComponent("el-button");
|
|
35374
|
+
const _component_el_input = resolveComponent("el-input");
|
|
35375
|
+
const _component_el_option = resolveComponent("el-option");
|
|
35376
|
+
const _component_el_select = resolveComponent("el-select");
|
|
35377
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
35378
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1p, [
|
|
35379
|
+
createElementVNode("div", _hoisted_2$y, [
|
|
35380
|
+
_cache[2] || (_cache[2] = createElementVNode("span", { class: "els-schema-field-editor__hint" }, "声明响应里有哪些字段,其他组件可在数据绑定面板里直接选用", -1)),
|
|
35381
|
+
createVNode(_component_el_button, {
|
|
35382
|
+
link: "",
|
|
35383
|
+
type: "primary",
|
|
35384
|
+
size: "small",
|
|
35385
|
+
onClick: _cache[0] || (_cache[0] = ($event) => mode.value = mode.value === "list" ? "json" : "list")
|
|
35386
|
+
}, {
|
|
35387
|
+
default: withCtx(() => [
|
|
35388
|
+
createTextVNode(toDisplayString(mode.value === "list" ? "JSON 编辑" : "列表编辑"), 1)
|
|
35389
|
+
]),
|
|
35390
|
+
_: 1
|
|
35391
|
+
})
|
|
35392
|
+
]),
|
|
35393
|
+
mode.value === "list" ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
35394
|
+
rows.value.length ? (openBlock(), createElementBlock("div", _hoisted_3$p, [
|
|
35395
|
+
_cache[3] || (_cache[3] = createElementVNode("div", { class: "els-schema-field-editor__head" }, [
|
|
35396
|
+
createElementVNode("span", null, "展示名称"),
|
|
35397
|
+
createElementVNode("span", null, "接口字段"),
|
|
35398
|
+
createElementVNode("span", null, "类型"),
|
|
35399
|
+
createElementVNode("span")
|
|
35400
|
+
], -1)),
|
|
35401
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(rows.value, (row) => {
|
|
35402
|
+
return openBlock(), createElementBlock("div", {
|
|
35403
|
+
class: "els-schema-field-editor__row",
|
|
35404
|
+
key: row.id
|
|
35405
|
+
}, [
|
|
35406
|
+
createVNode(_component_el_input, {
|
|
35407
|
+
modelValue: row.label,
|
|
35408
|
+
"onUpdate:modelValue": ($event) => row.label = $event,
|
|
35409
|
+
placeholder: "如:用户名"
|
|
35410
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
35411
|
+
createVNode(_component_el_input, {
|
|
35412
|
+
modelValue: row.path,
|
|
35413
|
+
"onUpdate:modelValue": ($event) => row.path = $event,
|
|
35414
|
+
placeholder: "如:user.name"
|
|
35415
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
35416
|
+
createVNode(_component_el_select, {
|
|
35417
|
+
modelValue: row.type,
|
|
35418
|
+
"onUpdate:modelValue": ($event) => row.type = $event
|
|
35419
|
+
}, {
|
|
35420
|
+
default: withCtx(() => [
|
|
35421
|
+
(openBlock(), createElementBlock(Fragment$1, null, renderList(typeOptions, (opt) => {
|
|
35422
|
+
return createVNode(_component_el_option, {
|
|
35423
|
+
key: opt.value,
|
|
35424
|
+
label: opt.label,
|
|
35425
|
+
value: opt.value
|
|
35426
|
+
}, null, 8, ["label", "value"]);
|
|
35427
|
+
}), 64))
|
|
35428
|
+
]),
|
|
35429
|
+
_: 1
|
|
35430
|
+
}, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
35431
|
+
createVNode(_component_el_icon, {
|
|
35432
|
+
class: "els-schema-field-editor__remove",
|
|
35433
|
+
onClick: ($event) => handleRemoveRow(row)
|
|
35434
|
+
}, {
|
|
35435
|
+
default: withCtx(() => [
|
|
35436
|
+
createVNode(unref(delete_default))
|
|
35437
|
+
]),
|
|
35438
|
+
_: 1
|
|
35439
|
+
}, 8, ["onClick"])
|
|
35440
|
+
]);
|
|
35441
|
+
}), 128))
|
|
35442
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$g, "暂无字段,点击下方按钮添加")),
|
|
35443
|
+
createVNode(_component_el_button, {
|
|
35444
|
+
class: "els-schema-field-editor__add",
|
|
35445
|
+
onClick: handleAddRow
|
|
35446
|
+
}, {
|
|
35447
|
+
default: withCtx(() => [
|
|
35448
|
+
createVNode(_component_el_icon, null, {
|
|
35449
|
+
default: withCtx(() => [
|
|
35450
|
+
createVNode(unref(plus_default))
|
|
35451
|
+
]),
|
|
35452
|
+
_: 1
|
|
35453
|
+
}),
|
|
35454
|
+
_cache[4] || (_cache[4] = createTextVNode("添加字段 ", -1))
|
|
35455
|
+
]),
|
|
35456
|
+
_: 1
|
|
35457
|
+
})
|
|
35458
|
+
], 64)) : (openBlock(), createBlock(unref(ElsJsonEditor), {
|
|
35459
|
+
key: 1,
|
|
35460
|
+
modelValue: modelValue.value,
|
|
35461
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => modelValue.value = $event),
|
|
35462
|
+
mode: "tree",
|
|
35463
|
+
"main-menu-bar": true,
|
|
35464
|
+
"navigation-bar": false,
|
|
35465
|
+
"status-bar": false
|
|
35466
|
+
}, null, 8, ["modelValue"]))
|
|
35467
|
+
]);
|
|
35468
|
+
};
|
|
35465
35469
|
}
|
|
35466
|
-
|
|
35467
|
-
|
|
35468
|
-
|
|
35469
|
-
|
|
35470
|
-
|
|
35471
|
-
|
|
35472
|
-
|
|
35470
|
+
});
|
|
35471
|
+
const SchemaFieldEditorVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2m, [["__scopeId", "data-v-43e169bb"]]);
|
|
35472
|
+
Number.prototype.toFixedNumber = function toFixedNumber(digits = 2) {
|
|
35473
|
+
return parseFloat(this.toFixed(digits));
|
|
35474
|
+
};
|
|
35475
|
+
Number.prototype.appendPx = function() {
|
|
35476
|
+
if (this) {
|
|
35477
|
+
return this + "px";
|
|
35473
35478
|
}
|
|
35474
|
-
|
|
35475
|
-
|
|
35476
|
-
|
|
35477
|
-
|
|
35478
|
-
|
|
35479
|
-
setup(props2, ctx) {
|
|
35480
|
-
const input = new Textarea(props2, ctx);
|
|
35481
|
-
return () => input.render();
|
|
35479
|
+
return "";
|
|
35480
|
+
};
|
|
35481
|
+
Number.prototype.formatDate = function(format2) {
|
|
35482
|
+
if (!this) {
|
|
35483
|
+
return "";
|
|
35482
35484
|
}
|
|
35483
|
-
|
|
35484
|
-
|
|
35485
|
-
|
|
35486
|
-
|
|
35487
|
-
|
|
35488
|
-
|
|
35489
|
-
|
|
35490
|
-
|
|
35491
|
-
|
|
35492
|
-
|
|
35493
|
-
|
|
35494
|
-
|
|
35495
|
-
|
|
35496
|
-
|
|
35497
|
-
|
|
35498
|
-
|
|
35499
|
-
|
|
35500
|
-
|
|
35501
|
-
|
|
35502
|
-
|
|
35503
|
-
|
|
35504
|
-
|
|
35505
|
-
|
|
35506
|
-
|
|
35507
|
-
|
|
35508
|
-
|
|
35509
|
-
|
|
35510
|
-
|
|
35511
|
-
|
|
35512
|
-
|
|
35513
|
-
|
|
35514
|
-
|
|
35515
|
-
|
|
35516
|
-
|
|
35517
|
-
|
|
35518
|
-
|
|
35519
|
-
|
|
35520
|
-
|
|
35521
|
-
|
|
35522
|
-
|
|
35523
|
-
|
|
35524
|
-
|
|
35525
|
-
|
|
35526
|
-
|
|
35527
|
-
|
|
35485
|
+
return utils.formatDate(this, format2);
|
|
35486
|
+
};
|
|
35487
|
+
String.prototype.setPowerPublicQuery = function(excludeQuery = "") {
|
|
35488
|
+
if (!this) {
|
|
35489
|
+
return "";
|
|
35490
|
+
}
|
|
35491
|
+
let url = this;
|
|
35492
|
+
let currParms = location.href.split("?")[1];
|
|
35493
|
+
if (currParms) {
|
|
35494
|
+
let dtParms = currParms.split("&");
|
|
35495
|
+
const excludeParams = excludeQuery.split(",");
|
|
35496
|
+
dtParms.forEach((ele) => {
|
|
35497
|
+
let parmKeyValue = ele.split("=");
|
|
35498
|
+
if (ele && (ele.includes("Power_") || ele.includes("Transfer_")) && !url.includes(parmKeyValue[0]) && !excludeParams.includes(parmKeyValue[0])) {
|
|
35499
|
+
url = url.indexOf("?") == -1 ? url + "?" + parmKeyValue[0] + "=" + parmKeyValue[1] : url + "&" + parmKeyValue[0] + "=" + parmKeyValue[1];
|
|
35500
|
+
}
|
|
35501
|
+
});
|
|
35502
|
+
}
|
|
35503
|
+
return url.toString();
|
|
35504
|
+
}, String.prototype.setTransferParams = function(transferParams) {
|
|
35505
|
+
if (!this || !transferParams) {
|
|
35506
|
+
return (this == null ? void 0 : this.toString()) || "";
|
|
35507
|
+
}
|
|
35508
|
+
let url = this.toString();
|
|
35509
|
+
Object.entries(transferParams).forEach(([key, value]) => {
|
|
35510
|
+
if (value !== void 0 && value !== null && value !== "") {
|
|
35511
|
+
const paramName = "Transfer_" + key;
|
|
35512
|
+
url = url.addUrlParameter(paramName, value);
|
|
35513
|
+
}
|
|
35514
|
+
});
|
|
35515
|
+
return url.toString();
|
|
35516
|
+
}, String.prototype.toCamel = function() {
|
|
35517
|
+
return this.toString().replace(/-([a-z])/g, function(match, letter) {
|
|
35518
|
+
console.log(match);
|
|
35519
|
+
return letter.toUpperCase();
|
|
35520
|
+
});
|
|
35521
|
+
};
|
|
35522
|
+
String.prototype.toKebabCase = function() {
|
|
35523
|
+
const currVal = this.toString().replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
35524
|
+
if (currVal.startsWith("-")) {
|
|
35525
|
+
return currVal.substring(1);
|
|
35526
|
+
}
|
|
35527
|
+
return currVal;
|
|
35528
|
+
};
|
|
35529
|
+
String.prototype.appendPx = function() {
|
|
35530
|
+
if (!this) {
|
|
35531
|
+
return "";
|
|
35532
|
+
}
|
|
35533
|
+
if (utils.isNumber(this.toString())) {
|
|
35534
|
+
return this + "px";
|
|
35535
|
+
}
|
|
35536
|
+
return this.toString();
|
|
35537
|
+
};
|
|
35538
|
+
String.prototype.toList = function(valueSeparator = ",") {
|
|
35539
|
+
if (this) {
|
|
35540
|
+
return this.toString().split(valueSeparator);
|
|
35541
|
+
}
|
|
35542
|
+
return [];
|
|
35543
|
+
};
|
|
35544
|
+
String.prototype.toListNumber = function(valueSeparator = ",") {
|
|
35545
|
+
if (this) {
|
|
35546
|
+
return this.toString().split(valueSeparator).map((ele) => parseFloat(ele));
|
|
35547
|
+
}
|
|
35548
|
+
return [];
|
|
35549
|
+
};
|
|
35550
|
+
String.prototype.toBool = function toBool() {
|
|
35551
|
+
if (this.toLowerCase() === "true") {
|
|
35552
|
+
return true;
|
|
35553
|
+
} else if (this.toLowerCase() === "false") {
|
|
35554
|
+
return false;
|
|
35555
|
+
}
|
|
35556
|
+
return false;
|
|
35557
|
+
};
|
|
35558
|
+
String.prototype.toInt = function toInt() {
|
|
35559
|
+
if (utils.isNumber(this.toString())) {
|
|
35560
|
+
return parseInt(this.toString());
|
|
35561
|
+
}
|
|
35562
|
+
return 0;
|
|
35563
|
+
};
|
|
35564
|
+
String.prototype.toFloat = function toFloat(digits = 2) {
|
|
35565
|
+
if (!digits) {
|
|
35566
|
+
return parseFloat(this.toString());
|
|
35567
|
+
}
|
|
35568
|
+
return parseFloat(parseFloat(this.toString()).toFixed(digits));
|
|
35569
|
+
};
|
|
35570
|
+
String.prototype.cutWord = function(len) {
|
|
35571
|
+
if (this) {
|
|
35572
|
+
if (this.length > len) {
|
|
35573
|
+
return this.substring(0, len) + "...";
|
|
35574
|
+
}
|
|
35575
|
+
}
|
|
35576
|
+
return this.toString();
|
|
35577
|
+
};
|
|
35578
|
+
String.prototype.downloadFile = function(filename = "") {
|
|
35579
|
+
utils.downloadFile(this.toString(), filename);
|
|
35580
|
+
};
|
|
35581
|
+
String.prototype.replacePowerUrl = function replacePowerUrl() {
|
|
35582
|
+
try {
|
|
35583
|
+
let currUrl = this;
|
|
35584
|
+
if (this && this.indexOf("{Power_CoteID}") > -1 && location.host) {
|
|
35585
|
+
currUrl = this.replace("{Power_CoteID}", location.host.split(".")[0]);
|
|
35586
|
+
}
|
|
35587
|
+
if (this && this.indexOf("{Power_Environment}") > -1 && location.host) {
|
|
35588
|
+
if (location.host.split(".").length == 5) {
|
|
35589
|
+
currUrl = currUrl.replace("{Power_Environment}", location.host.split(".")[2]);
|
|
35590
|
+
} else if (location.host.split(".").length == 4) {
|
|
35591
|
+
currUrl = currUrl.replace("{Power_Environment}", location.host.split(".")[1]);
|
|
35592
|
+
}
|
|
35593
|
+
}
|
|
35594
|
+
if (this && this.indexOf("{Power_CoteDeptID}") > -1) {
|
|
35595
|
+
let currCoteDeptID = utils.getUrlParms("Power_CoteDeptID");
|
|
35596
|
+
if (!currCoteDeptID) {
|
|
35597
|
+
currCoteDeptID = "0";
|
|
35598
|
+
}
|
|
35599
|
+
currUrl = currUrl.replace("{Power_CoteDeptID}", currCoteDeptID);
|
|
35600
|
+
}
|
|
35601
|
+
return currUrl.toString();
|
|
35602
|
+
} catch (err) {
|
|
35603
|
+
console.log(err);
|
|
35604
|
+
}
|
|
35605
|
+
return this.toString();
|
|
35606
|
+
};
|
|
35607
|
+
String.prototype.addUrlParameter = function addUrlParameter(param, value) {
|
|
35608
|
+
if (value === void 0) {
|
|
35609
|
+
return this.toString();
|
|
35610
|
+
}
|
|
35611
|
+
if (this.toString().indexOf(param) > -1) {
|
|
35612
|
+
var oUrl = this.toString();
|
|
35613
|
+
return oUrl.replace(new RegExp("/(" + param + "=)([^&]*)/gi"), param + "=" + value);
|
|
35614
|
+
}
|
|
35615
|
+
let cSymbol = this.indexOf("?") > -1 ? "&" : "?";
|
|
35616
|
+
return `${this}${cSymbol}${param}=${value}`;
|
|
35617
|
+
};
|
|
35618
|
+
String.prototype.post = function post(postdata, axiosInstance2) {
|
|
35619
|
+
return utils.post(this.toString(), postdata, axiosInstance2);
|
|
35620
|
+
};
|
|
35621
|
+
String.prototype.get = function get3(postdata, axiosInstance2) {
|
|
35622
|
+
return utils.get(this.toString(), postdata, axiosInstance2);
|
|
35623
|
+
};
|
|
35624
|
+
String.prototype.postWithCancel = function post2(postdata, cancel, axiosInstance2) {
|
|
35625
|
+
return utils.postWithCancel(this.toString(), postdata, cancel, axiosInstance2);
|
|
35626
|
+
};
|
|
35627
|
+
String.prototype.getWithCancel = function get22(postdata, cancel, axiosInstance2) {
|
|
35628
|
+
return utils.getWithCancel(this.toString(), postdata, cancel, axiosInstance2);
|
|
35629
|
+
};
|
|
35630
|
+
String.prototype.fetchStream = function fetchStream(processFunc, data, options2 = {}) {
|
|
35631
|
+
return utils.fetchStream(this.toString(), processFunc, data, options2);
|
|
35632
|
+
};
|
|
35633
|
+
String.prototype.fetchSSE = function fetchSSE(processFunc, data, options2 = {}) {
|
|
35634
|
+
return utils.fetchSSE(this.toString(), processFunc, data, options2);
|
|
35635
|
+
};
|
|
35636
|
+
String.prototype.upload = function upload(formdata) {
|
|
35637
|
+
return utils.post(this.toString(), formdata);
|
|
35638
|
+
};
|
|
35639
|
+
String.prototype.trimQuotes = function trimQuotes() {
|
|
35640
|
+
return this.toString().replace(/^['"]|['"]$/g, "");
|
|
35641
|
+
};
|
|
35642
|
+
String.prototype.trimComma = function trimComma() {
|
|
35643
|
+
return this.toString().replace(/^,+/, "").replace(/,+$/, "");
|
|
35644
|
+
};
|
|
35645
|
+
String.prototype.md5 = function md5() {
|
|
35646
|
+
return utils.md5(this.toString());
|
|
35647
|
+
};
|
|
35648
|
+
String.prototype.formatDate = function(format2) {
|
|
35649
|
+
if (!this) {
|
|
35650
|
+
return "";
|
|
35651
|
+
}
|
|
35652
|
+
return utils.formatDate(this.toString(), format2);
|
|
35653
|
+
};
|
|
35654
|
+
String.prototype.getUrlParms = function(paramName) {
|
|
35655
|
+
let vars = this.split("&");
|
|
35656
|
+
if (this.indexOf("?") > -1) {
|
|
35657
|
+
vars = this.split("?")[1].split("&");
|
|
35658
|
+
}
|
|
35659
|
+
for (var i = 0; i < vars.length; i++) {
|
|
35660
|
+
var pair = vars[i].split("=");
|
|
35661
|
+
if (pair[0] === paramName) {
|
|
35662
|
+
return pair[1];
|
|
35663
|
+
}
|
|
35664
|
+
}
|
|
35665
|
+
return "";
|
|
35666
|
+
};
|
|
35667
|
+
const inputProps = buildProps({
|
|
35668
|
+
...formItemProps$1,
|
|
35669
|
+
...inputProps$1,
|
|
35670
|
+
modelValue: String,
|
|
35671
|
+
prefixTag: String,
|
|
35672
|
+
suffixTag: String,
|
|
35673
|
+
mention: Boolean,
|
|
35674
|
+
width: {
|
|
35675
|
+
type: [Number, String]
|
|
35676
|
+
},
|
|
35677
|
+
trim: {
|
|
35678
|
+
type: Boolean,
|
|
35679
|
+
default: false
|
|
35680
|
+
},
|
|
35681
|
+
encode: {
|
|
35682
|
+
type: Boolean,
|
|
35683
|
+
default: false
|
|
35684
|
+
},
|
|
35685
|
+
encodeType: {
|
|
35686
|
+
type: String,
|
|
35687
|
+
default: "url"
|
|
35688
|
+
}
|
|
35689
|
+
});
|
|
35690
|
+
class Input extends TBaseFormItem {
|
|
35691
|
+
constructor(props2, ctx) {
|
|
35692
|
+
super(props2, ctx);
|
|
35693
|
+
__publicField(this, "encodeValue", ref());
|
|
35694
|
+
this._childType.value = "input";
|
|
35695
|
+
}
|
|
35696
|
+
watchModelValue() {
|
|
35697
|
+
watch(this._modelValue, (val) => {
|
|
35698
|
+
const currValue = val;
|
|
35699
|
+
if (currValue) {
|
|
35700
|
+
if (this._props.encode) {
|
|
35701
|
+
this.encodeValue.value = currValue;
|
|
35702
|
+
if (this._props.encodeType === "url") {
|
|
35703
|
+
this._comValue.value = decodeURIComponent(this.encodeValue.value);
|
|
35704
|
+
}
|
|
35705
|
+
} else {
|
|
35706
|
+
this._comValue.value = currValue;
|
|
35707
|
+
}
|
|
35708
|
+
}
|
|
35709
|
+
}, {
|
|
35710
|
+
immediate: true
|
|
35711
|
+
});
|
|
35712
|
+
}
|
|
35713
|
+
returnValue(val) {
|
|
35714
|
+
let currValue = val;
|
|
35715
|
+
if (this._props.encode) {
|
|
35716
|
+
currValue = encodeURIComponent(val);
|
|
35717
|
+
}
|
|
35718
|
+
if (this._props.trim) {
|
|
35719
|
+
currValue = currValue.trim();
|
|
35720
|
+
}
|
|
35721
|
+
this._returnModelValue(currValue);
|
|
35722
|
+
this._defaultEmits("input", currValue);
|
|
35723
|
+
}
|
|
35724
|
+
mobileRender() {
|
|
35725
|
+
const inputPlaceholder = this._props.placeholder || "请输入" + (this._props.label ?? "");
|
|
35726
|
+
return createVNode(Fragment$1, null, [createVNode(resolveComponent("van-field"), mergeProps(this._componentProps.value, {
|
|
35727
|
+
"modelValue": this._comValue.value,
|
|
35728
|
+
"onUpdate:modelValue": ($event) => this._comValue.value = $event,
|
|
35729
|
+
"label": this._props.label,
|
|
35730
|
+
"rules": this._formRules,
|
|
35731
|
+
"placeholder": inputPlaceholder
|
|
35732
|
+
}), null)]);
|
|
35733
|
+
}
|
|
35734
|
+
pcRender() {
|
|
35735
|
+
const inputWidth = !this._props.width && this._formInputWidth ? this._formInputWidth.value : this._props.width ?? "";
|
|
35736
|
+
const {
|
|
35737
|
+
prepend: prepend2,
|
|
35738
|
+
append: append2,
|
|
35739
|
+
...inheritsSlot
|
|
35740
|
+
} = this._slots;
|
|
35741
|
+
return createVNode(Fragment$1, null, [createVNode(resolveComponent("el-input"), mergeProps({
|
|
35742
|
+
"style": [{
|
|
35743
|
+
width: inputWidth.appendPx()
|
|
35744
|
+
}]
|
|
35745
|
+
}, this._componentProps.value, {
|
|
35746
|
+
"modelValue": this._comValue.value,
|
|
35747
|
+
"onUpdate:modelValue": ($event) => this._comValue.value = $event
|
|
35748
|
+
}), {
|
|
35749
|
+
prepend: this._props.prefixTag ? () => this._props.prefixTag : null,
|
|
35750
|
+
append: this._props.suffixTag ? () => this._props.suffixTag : null,
|
|
35751
|
+
...inheritsSlot
|
|
35752
|
+
})]);
|
|
35753
|
+
}
|
|
35754
|
+
}
|
|
35755
|
+
const _sfc_main$2l = defineComponent({
|
|
35756
|
+
name: "ElsInput",
|
|
35757
|
+
inheritAttrs: false,
|
|
35758
|
+
props: inputProps,
|
|
35759
|
+
setup(props2, ctx) {
|
|
35760
|
+
const input = new Input(props2, ctx);
|
|
35761
|
+
return () => input.render();
|
|
35762
|
+
},
|
|
35763
|
+
emits: inputEmits
|
|
35764
|
+
});
|
|
35765
|
+
const ElsInput = withInstall$1(_sfc_main$2l);
|
|
35766
|
+
class Textarea extends TBaseFormItem {
|
|
35767
|
+
constructor(props2, ctx) {
|
|
35768
|
+
super(props2, ctx);
|
|
35769
|
+
}
|
|
35770
|
+
pcRender() {
|
|
35771
|
+
return createVNode(Fragment$1, null, [createVNode(ElsInput, mergeProps(this._attrProps.value, {
|
|
35772
|
+
"createFormItem": false,
|
|
35773
|
+
"type": "textarea",
|
|
35774
|
+
"modelValue": this._comValue.value,
|
|
35775
|
+
"onUpdate:modelValue": ($event) => this._comValue.value = $event
|
|
35776
|
+
}), null)]);
|
|
35777
|
+
}
|
|
35778
|
+
}
|
|
35779
|
+
const _sfc_main$2k = defineComponent({
|
|
35780
|
+
name: "ElsTextarea",
|
|
35781
|
+
inheritAttrs: false,
|
|
35782
|
+
props: inputProps,
|
|
35783
|
+
setup(props2, ctx) {
|
|
35784
|
+
const input = new Textarea(props2, ctx);
|
|
35785
|
+
return () => input.render();
|
|
35786
|
+
}
|
|
35787
|
+
});
|
|
35788
|
+
const ElsTextarea = withInstall$1(_sfc_main$2k);
|
|
35789
|
+
const inputRangeProps = buildProps({
|
|
35790
|
+
...inputProps,
|
|
35791
|
+
/**
|
|
35792
|
+
* @description 范围组件开始字段名
|
|
35793
|
+
*/
|
|
35794
|
+
propStart: String,
|
|
35795
|
+
/**
|
|
35796
|
+
* @description 范围组件结束字段名
|
|
35797
|
+
*/
|
|
35798
|
+
propEnd: String,
|
|
35799
|
+
/**
|
|
35800
|
+
* @description 开始值
|
|
35801
|
+
*/
|
|
35802
|
+
start: String,
|
|
35803
|
+
/**
|
|
35804
|
+
* @description 结束值
|
|
35805
|
+
*/
|
|
35806
|
+
end: String,
|
|
35807
|
+
/**
|
|
35808
|
+
* @description 开始占位符
|
|
35809
|
+
*/
|
|
35810
|
+
startPlaceholder: {
|
|
35811
|
+
type: String
|
|
35812
|
+
},
|
|
35813
|
+
/**
|
|
35814
|
+
* @description 结束占位符
|
|
35815
|
+
*/
|
|
35816
|
+
endPlaceholder: String,
|
|
35817
|
+
/**
|
|
35818
|
+
* @description 范围查询包含等于
|
|
35819
|
+
*/
|
|
35820
|
+
queryRangeOrEqual: {
|
|
35821
|
+
type: Boolean,
|
|
35822
|
+
default: true
|
|
35823
|
+
},
|
|
35824
|
+
/**
|
|
35825
|
+
* @description 查询类型Date
|
|
35826
|
+
*/
|
|
35827
|
+
isNumber: {
|
|
35828
|
+
type: Boolean,
|
|
35829
|
+
default: true
|
|
35830
|
+
},
|
|
35831
|
+
/**
|
|
35528
35832
|
* @description 值分隔符
|
|
35529
35833
|
*/
|
|
35530
35834
|
valueSeparator: {
|
|
@@ -37975,11 +38279,11 @@ const optionGroupProps = buildProps({
|
|
|
37975
38279
|
*/
|
|
37976
38280
|
label: String
|
|
37977
38281
|
});
|
|
37978
|
-
const _hoisted_1$
|
|
38282
|
+
const _hoisted_1$1o = {
|
|
37979
38283
|
key: 1,
|
|
37980
38284
|
style: { "width": "100%" }
|
|
37981
38285
|
};
|
|
37982
|
-
const _hoisted_2$
|
|
38286
|
+
const _hoisted_2$x = { class: "els-radio-group-item" };
|
|
37983
38287
|
const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
37984
38288
|
...{ name: "ElsOptionGroup" },
|
|
37985
38289
|
__name: "optionGroup",
|
|
@@ -38003,8 +38307,8 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
|
38003
38307
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
38004
38308
|
]),
|
|
38005
38309
|
_: 3
|
|
38006
|
-
}, 16, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
38007
|
-
createElementVNode("div", _hoisted_2$
|
|
38310
|
+
}, 16, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_1$1o, [
|
|
38311
|
+
createElementVNode("div", _hoisted_2$x, toDisplayString(_ctx.label), 1),
|
|
38008
38312
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(attrs))), void 0, true)
|
|
38009
38313
|
]));
|
|
38010
38314
|
};
|
|
@@ -39182,11 +39486,11 @@ const tableColumnProps = Object.assign({}, defaults_default$1, buildProps({
|
|
|
39182
39486
|
}
|
|
39183
39487
|
}
|
|
39184
39488
|
}));
|
|
39185
|
-
const _hoisted_1$
|
|
39186
|
-
const _hoisted_2$
|
|
39187
|
-
const _hoisted_3$
|
|
39188
|
-
const _hoisted_4$
|
|
39189
|
-
const _hoisted_5$
|
|
39489
|
+
const _hoisted_1$1n = { key: 0 };
|
|
39490
|
+
const _hoisted_2$w = ["innerHTML"];
|
|
39491
|
+
const _hoisted_3$o = ["innerHTML"];
|
|
39492
|
+
const _hoisted_4$f = ["innerHTML"];
|
|
39493
|
+
const _hoisted_5$e = {
|
|
39190
39494
|
key: 0,
|
|
39191
39495
|
class: "el-table-tr-split"
|
|
39192
39496
|
};
|
|
@@ -39407,7 +39711,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
39407
39711
|
column,
|
|
39408
39712
|
$index
|
|
39409
39713
|
}, () => [
|
|
39410
|
-
_ctx.tip ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
39714
|
+
_ctx.tip ? (openBlock(), createElementBlock("span", _hoisted_1$1n, [
|
|
39411
39715
|
createTextVNode(toDisplayString(unref(attrs)["label"]) + " ", 1),
|
|
39412
39716
|
createVNode(_component_el_tooltip, {
|
|
39413
39717
|
content: _ctx.tip,
|
|
@@ -39435,7 +39739,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
39435
39739
|
_ctx.prop ? (openBlock(), createElementBlock("span", {
|
|
39436
39740
|
key: 0,
|
|
39437
39741
|
innerHTML: row[_ctx.prop]
|
|
39438
|
-
}, null, 8, _hoisted_2$
|
|
39742
|
+
}, null, 8, _hoisted_2$w)) : createCommentVNode("", true)
|
|
39439
39743
|
]) : (_ctx.isEdit === false || !unref(tableGlobalData).isEdit && (!row.edit || _ctx.isEdit !== true)) && _ctx.prop ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
39440
39744
|
_ctx.type == "image" ? (openBlock(), createBlock(_component_els_image, {
|
|
39441
39745
|
key: 0,
|
|
@@ -39484,12 +39788,12 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
39484
39788
|
_ctx.compareField && _ctx.prop ? (openBlock(), createElementBlock("span", {
|
|
39485
39789
|
key: 0,
|
|
39486
39790
|
innerHTML: compareValue(row)
|
|
39487
|
-
}, null, 8, _hoisted_3$
|
|
39791
|
+
}, null, 8, _hoisted_3$o)) : (_ctx.isLocaleString || _ctx.isAvgDay || _ctx.dateFormatter) && _ctx.prop ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
39488
39792
|
createTextVNode(toDisplayString(formatterText(row[_ctx.prop])), 1)
|
|
39489
39793
|
], 64)) : _ctx.prop ? (openBlock(), createElementBlock("span", {
|
|
39490
39794
|
key: 2,
|
|
39491
39795
|
innerHTML: row[_ctx.prop]
|
|
39492
|
-
}, null, 8, _hoisted_4$
|
|
39796
|
+
}, null, 8, _hoisted_4$f)) : createCommentVNode("", true)
|
|
39493
39797
|
])
|
|
39494
39798
|
], 64)) : !unref(tableGlobalData).isEdit && (!row.edit || !_ctx.isEdit) || !_ctx.prop ? (openBlock(), createElementBlock(Fragment$1, { key: 2 }, [
|
|
39495
39799
|
_ctx.type == "operate" ? (openBlock(), createBlock(_component_els_menu_dropdown, {
|
|
@@ -39514,7 +39818,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
39514
39818
|
column,
|
|
39515
39819
|
$index
|
|
39516
39820
|
}),
|
|
39517
|
-
_ctx.hasBottomBorder ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
39821
|
+
_ctx.hasBottomBorder ? (openBlock(), createElementBlock("div", _hoisted_5$e)) : createCommentVNode("", true)
|
|
39518
39822
|
], 64)) : renderSlot(_ctx.$slots, "default", {
|
|
39519
39823
|
key: 3,
|
|
39520
39824
|
row,
|
|
@@ -40306,25 +40610,25 @@ const tableProps = Object.assign({}, defaults_default, buildProps({
|
|
|
40306
40610
|
/** @description 导出事件 */
|
|
40307
40611
|
onExport: Function
|
|
40308
40612
|
}));
|
|
40309
|
-
const _hoisted_1$
|
|
40613
|
+
const _hoisted_1$1m = {
|
|
40310
40614
|
key: 0,
|
|
40311
40615
|
class: "select_container"
|
|
40312
40616
|
};
|
|
40313
|
-
const _hoisted_2$
|
|
40314
|
-
const _hoisted_3$
|
|
40315
|
-
const _hoisted_4$
|
|
40617
|
+
const _hoisted_2$v = { key: 0 };
|
|
40618
|
+
const _hoisted_3$n = ["innerHTML"];
|
|
40619
|
+
const _hoisted_4$e = {
|
|
40316
40620
|
key: 1,
|
|
40317
40621
|
class: "drag-oper"
|
|
40318
40622
|
};
|
|
40319
|
-
const _hoisted_5$
|
|
40623
|
+
const _hoisted_5$d = {
|
|
40320
40624
|
key: 0,
|
|
40321
40625
|
class: "els-bottom-scroll-fixed"
|
|
40322
40626
|
};
|
|
40323
|
-
const _hoisted_6$
|
|
40627
|
+
const _hoisted_6$b = {
|
|
40324
40628
|
key: 1,
|
|
40325
40629
|
style: { "margin-top": "8px" }
|
|
40326
40630
|
};
|
|
40327
|
-
const _hoisted_7$
|
|
40631
|
+
const _hoisted_7$9 = {
|
|
40328
40632
|
key: 2,
|
|
40329
40633
|
class: "pagination-container",
|
|
40330
40634
|
style: { "margin-top": "10px" }
|
|
@@ -42040,7 +42344,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
42040
42344
|
const _component_els_menu_context = resolveComponent("els-menu-context");
|
|
42041
42345
|
const _directive_loading = resolveDirective("loading");
|
|
42042
42346
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
42043
|
-
_ctx.showCheckField ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
42347
|
+
_ctx.showCheckField ? (openBlock(), createElementBlock("div", _hoisted_1$1m, [
|
|
42044
42348
|
createVNode(unref(draggable), {
|
|
42045
42349
|
list: unref(tableCheckData).checkRows,
|
|
42046
42350
|
"item-key": dataKey.value.toString(),
|
|
@@ -42054,7 +42358,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
42054
42358
|
}, {
|
|
42055
42359
|
default: withCtx(() => [
|
|
42056
42360
|
renderSlot(_ctx.$slots, "checklabel", { checkItem: element }, () => [
|
|
42057
|
-
_ctx.showCheckField ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
42361
|
+
_ctx.showCheckField ? (openBlock(), createElementBlock("span", _hoisted_2$v, toDisplayString(element[_ctx.showCheckField]), 1)) : createCommentVNode("", true)
|
|
42058
42362
|
], true)
|
|
42059
42363
|
]),
|
|
42060
42364
|
_: 2
|
|
@@ -42101,7 +42405,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
42101
42405
|
props2.columnRender ? (openBlock(), createElementBlock("div", {
|
|
42102
42406
|
key: 0,
|
|
42103
42407
|
innerHTML: props2.columnRender(row, column, $index)
|
|
42104
|
-
}, null, 8, _hoisted_3$
|
|
42408
|
+
}, null, 8, _hoisted_3$n)) : renderSlot(_ctx.$slots, column.slotName || column.prop, mergeProps({
|
|
42105
42409
|
key: 1,
|
|
42106
42410
|
ref_for: true
|
|
42107
42411
|
}, { row, $index }), void 0, true)
|
|
@@ -42154,7 +42458,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
42154
42458
|
]),
|
|
42155
42459
|
_: 2
|
|
42156
42460
|
}, 1032, ["onClick", "type"])
|
|
42157
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
42461
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$e, [
|
|
42158
42462
|
createVNode(_component_el_tooltip, { content: "添加子节点" }, {
|
|
42159
42463
|
default: withCtx(() => [
|
|
42160
42464
|
row.children ? (openBlock(), createBlock(_component_el_icon, {
|
|
@@ -42209,7 +42513,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
42209
42513
|
target: "." + unref(tagID)
|
|
42210
42514
|
}, {
|
|
42211
42515
|
default: withCtx(() => [
|
|
42212
|
-
!unref(dataLoading) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
42516
|
+
!unref(dataLoading) ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
42213
42517
|
createVNode(_component_el_scrollbar, {
|
|
42214
42518
|
ref_key: "bottomScroll",
|
|
42215
42519
|
ref: bottomScroll,
|
|
@@ -42230,7 +42534,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
42230
42534
|
]),
|
|
42231
42535
|
_: 3
|
|
42232
42536
|
}, 512)),
|
|
42233
|
-
_ctx.isEdit && _ctx.canAddRow ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
42537
|
+
_ctx.isEdit && _ctx.canAddRow ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
|
|
42234
42538
|
createVNode(_component_el_button, {
|
|
42235
42539
|
type: "primary",
|
|
42236
42540
|
text: "",
|
|
@@ -42244,7 +42548,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
42244
42548
|
_: 1
|
|
42245
42549
|
})
|
|
42246
42550
|
])) : createCommentVNode("", true),
|
|
42247
|
-
_ctx.hasPage && (_ctx.isClientPage || unref(currPageTotal) > 0) ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
42551
|
+
_ctx.hasPage && (_ctx.isClientPage || unref(currPageTotal) > 0) ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
|
|
42248
42552
|
createVNode(_component_el_pagination, mergeProps({
|
|
42249
42553
|
background: "",
|
|
42250
42554
|
small: "",
|
|
@@ -42758,7 +43062,7 @@ const menuEmits = {
|
|
|
42758
43062
|
click: (item) => {
|
|
42759
43063
|
}
|
|
42760
43064
|
};
|
|
42761
|
-
const _hoisted_1$
|
|
43065
|
+
const _hoisted_1$1l = {
|
|
42762
43066
|
key: 0,
|
|
42763
43067
|
class: "menu-filterable"
|
|
42764
43068
|
};
|
|
@@ -42995,7 +43299,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
42995
43299
|
default: withCtx(() => [
|
|
42996
43300
|
createVNode(_component_el_collapse_transition, null, {
|
|
42997
43301
|
default: withCtx(() => [
|
|
42998
|
-
_ctx.filterable && (_ctx.url || _ctx.data) ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
43302
|
+
_ctx.filterable && (_ctx.url || _ctx.data) ? (openBlock(), createElementBlock("span", _hoisted_1$1l, [
|
|
42999
43303
|
createVNode(_component_el_input, {
|
|
43000
43304
|
modelValue: searchKey.value,
|
|
43001
43305
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
|
|
@@ -43038,9 +43342,9 @@ const menuItemProps = buildProps({
|
|
|
43038
43342
|
type: Object
|
|
43039
43343
|
}
|
|
43040
43344
|
});
|
|
43041
|
-
const _hoisted_1$
|
|
43042
|
-
const _hoisted_2$
|
|
43043
|
-
const _hoisted_3$
|
|
43345
|
+
const _hoisted_1$1k = ["title"];
|
|
43346
|
+
const _hoisted_2$u = ["title"];
|
|
43347
|
+
const _hoisted_3$m = ["title"];
|
|
43044
43348
|
const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
43045
43349
|
...{ name: "ElsMenuItem", inheritAttrs: false },
|
|
43046
43350
|
__name: "menuItem",
|
|
@@ -43076,7 +43380,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
43076
43380
|
_ctx.item.label ? (openBlock(), createElementBlock("span", {
|
|
43077
43381
|
key: 0,
|
|
43078
43382
|
title: _ctx.item.label
|
|
43079
|
-
}, toDisplayString(_ctx.item.label), 9, _hoisted_1$
|
|
43383
|
+
}, toDisplayString(_ctx.item.label), 9, _hoisted_1$1k)) : createCommentVNode("", true)
|
|
43080
43384
|
]),
|
|
43081
43385
|
default: withCtx(() => [
|
|
43082
43386
|
_ctx.item.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
|
|
@@ -43105,7 +43409,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
43105
43409
|
_ctx.item.label ? (openBlock(), createElementBlock("span", {
|
|
43106
43410
|
key: 0,
|
|
43107
43411
|
title: _ctx.item.label
|
|
43108
|
-
}, toDisplayString(_ctx.item.label), 9, _hoisted_2$
|
|
43412
|
+
}, toDisplayString(_ctx.item.label), 9, _hoisted_2$u)) : createCommentVNode("", true)
|
|
43109
43413
|
], 2)
|
|
43110
43414
|
]),
|
|
43111
43415
|
default: withCtx(() => [
|
|
@@ -43124,7 +43428,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
43124
43428
|
citem.label ? (openBlock(), createElementBlock("span", {
|
|
43125
43429
|
key: 0,
|
|
43126
43430
|
title: citem.label
|
|
43127
|
-
}, toDisplayString(citem.label), 9, _hoisted_3$
|
|
43431
|
+
}, toDisplayString(citem.label), 9, _hoisted_3$m)) : createCommentVNode("", true)
|
|
43128
43432
|
]),
|
|
43129
43433
|
default: withCtx(() => [
|
|
43130
43434
|
citem.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
|
|
@@ -43286,8 +43590,8 @@ const imageProps = buildProps({
|
|
|
43286
43590
|
*/
|
|
43287
43591
|
onSwitch: Function
|
|
43288
43592
|
});
|
|
43289
|
-
const _hoisted_1$
|
|
43290
|
-
const _hoisted_2$
|
|
43593
|
+
const _hoisted_1$1j = ["width"];
|
|
43594
|
+
const _hoisted_2$t = ["innerHTML"];
|
|
43291
43595
|
const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
43292
43596
|
...{ name: "ElsImage", inheritAttrs: false },
|
|
43293
43597
|
__name: "image",
|
|
@@ -43362,12 +43666,12 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
|
43362
43666
|
"data-spm-anchor-id": "a313x.7781069.0.i10",
|
|
43363
43667
|
class: "selected"
|
|
43364
43668
|
}, null, -1)
|
|
43365
|
-
])], 8, _hoisted_1$
|
|
43669
|
+
])], 8, _hoisted_1$1j)),
|
|
43366
43670
|
_ctx.emptyDesc ? (openBlock(), createElementBlock("div", {
|
|
43367
43671
|
key: 0,
|
|
43368
43672
|
innerHTML: _ctx.emptyDesc,
|
|
43369
43673
|
class: "els_image_empty_desc"
|
|
43370
|
-
}, null, 8, _hoisted_2$
|
|
43674
|
+
}, null, 8, _hoisted_2$t)) : createCommentVNode("", true)
|
|
43371
43675
|
], 4)) : (openBlock(true), createElementBlock(Fragment$1, { key: 1 }, renderList(thumbnailPicUrls.value, (item, index) => {
|
|
43372
43676
|
var _a2, _b2;
|
|
43373
43677
|
return openBlock(), createBlock(_component_el_image, mergeProps({ ref_for: true }, props2, {
|
|
@@ -43939,8 +44243,8 @@ const dialogProps = buildProps({
|
|
|
43939
44243
|
*/
|
|
43940
44244
|
cancel: Function
|
|
43941
44245
|
});
|
|
43942
|
-
const _hoisted_1$
|
|
43943
|
-
const _hoisted_2$
|
|
44246
|
+
const _hoisted_1$1i = ["src"];
|
|
44247
|
+
const _hoisted_2$s = ["src"];
|
|
43944
44248
|
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
43945
44249
|
...{
|
|
43946
44250
|
name: "ElsDialog"
|
|
@@ -44090,7 +44394,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
44090
44394
|
src: dialogUrl.value.setPowerPublicQuery(),
|
|
44091
44395
|
frameborder: "0",
|
|
44092
44396
|
style: normalizeStyle(contentStyle.value)
|
|
44093
|
-
}, null, 12, _hoisted_1$
|
|
44397
|
+
}, null, 12, _hoisted_1$1i)) : createCommentVNode("", true)
|
|
44094
44398
|
])
|
|
44095
44399
|
], 4)), [
|
|
44096
44400
|
[_directive_loading, pageLoading.value]
|
|
@@ -44124,7 +44428,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
44124
44428
|
src: dialogUrl.value.setPowerPublicQuery(),
|
|
44125
44429
|
frameborder: "0",
|
|
44126
44430
|
style: normalizeStyle(contentStyle.value)
|
|
44127
|
-
}, null, 12, _hoisted_2$
|
|
44431
|
+
}, null, 12, _hoisted_2$s)) : createCommentVNode("", true)
|
|
44128
44432
|
])
|
|
44129
44433
|
], 4)), [
|
|
44130
44434
|
[_directive_loading, pageLoading.value]
|
|
@@ -44177,7 +44481,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
44177
44481
|
}
|
|
44178
44482
|
});
|
|
44179
44483
|
const ElsDialog = withInstall$1(_sfc_main$1P);
|
|
44180
|
-
const _hoisted_1$
|
|
44484
|
+
const _hoisted_1$1h = ["src"];
|
|
44181
44485
|
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
44182
44486
|
...{
|
|
44183
44487
|
name: "ElsDrawer"
|
|
@@ -44280,7 +44584,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
44280
44584
|
src: drawerUrl.value,
|
|
44281
44585
|
frameborder: "0",
|
|
44282
44586
|
style: { "height": "calc(100vh - 48px)", "width": "100%" }
|
|
44283
|
-
}, null, 8, _hoisted_1$
|
|
44587
|
+
}, null, 8, _hoisted_1$1h)) : createCommentVNode("", true)
|
|
44284
44588
|
])
|
|
44285
44589
|
]),
|
|
44286
44590
|
_: 2
|
|
@@ -44402,9 +44706,9 @@ const dropdownProps = buildProps({
|
|
|
44402
44706
|
*/
|
|
44403
44707
|
placeholder: String
|
|
44404
44708
|
});
|
|
44405
|
-
const _hoisted_1$
|
|
44406
|
-
const _hoisted_2$
|
|
44407
|
-
const _hoisted_3$
|
|
44709
|
+
const _hoisted_1$1g = { class: "el-dropdown-link" };
|
|
44710
|
+
const _hoisted_2$r = ["innerHTML"];
|
|
44711
|
+
const _hoisted_3$l = ["innerHTML"];
|
|
44408
44712
|
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
44409
44713
|
...{
|
|
44410
44714
|
name: "ElsDropdown"
|
|
@@ -44477,8 +44781,8 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
44477
44781
|
]),
|
|
44478
44782
|
default: withCtx(() => [
|
|
44479
44783
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
44480
|
-
createElementVNode("span", _hoisted_1$
|
|
44481
|
-
createElementVNode("span", { innerHTML: showTitle.value }, null, 8, _hoisted_2$
|
|
44784
|
+
createElementVNode("span", _hoisted_1$1g, [
|
|
44785
|
+
createElementVNode("span", { innerHTML: showTitle.value }, null, 8, _hoisted_2$r),
|
|
44482
44786
|
createVNode(_component_el_icon, { class: "el-icon--right" }, {
|
|
44483
44787
|
default: withCtx(() => [
|
|
44484
44788
|
createVNode(_component_arrow_down)
|
|
@@ -44505,7 +44809,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
44505
44809
|
name: "title",
|
|
44506
44810
|
fn: withCtx(() => [
|
|
44507
44811
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
44508
|
-
createElementVNode("span", { innerHTML: _ctx.title }, null, 8, _hoisted_3$
|
|
44812
|
+
createElementVNode("span", { innerHTML: _ctx.title }, null, 8, _hoisted_3$l)
|
|
44509
44813
|
])
|
|
44510
44814
|
]),
|
|
44511
44815
|
key: "0"
|
|
@@ -44514,7 +44818,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
44514
44818
|
};
|
|
44515
44819
|
}
|
|
44516
44820
|
});
|
|
44517
|
-
const _hoisted_1$
|
|
44821
|
+
const _hoisted_1$1f = {
|
|
44518
44822
|
key: 0,
|
|
44519
44823
|
class: "els-dropdown-group"
|
|
44520
44824
|
};
|
|
@@ -44534,7 +44838,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
44534
44838
|
});
|
|
44535
44839
|
return (_ctx, _cache) => {
|
|
44536
44840
|
const _component_van_dropdown_menu = resolveComponent("van-dropdown-menu");
|
|
44537
|
-
return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
44841
|
+
return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1f, [
|
|
44538
44842
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
44539
44843
|
])) : (openBlock(), createBlock(_component_van_dropdown_menu, normalizeProps(mergeProps({ key: 1 }, unref(attrs))), {
|
|
44540
44844
|
default: withCtx(() => [
|
|
@@ -46578,7 +46882,7 @@ const tabsProps = buildProps({
|
|
|
46578
46882
|
default: "未知选项"
|
|
46579
46883
|
}
|
|
46580
46884
|
});
|
|
46581
|
-
const _hoisted_1$
|
|
46885
|
+
const _hoisted_1$1e = {
|
|
46582
46886
|
class: "els-node",
|
|
46583
46887
|
style: { "--margin-bottom": "0px" }
|
|
46584
46888
|
};
|
|
@@ -46603,7 +46907,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
46603
46907
|
return (_ctx, _cache) => {
|
|
46604
46908
|
const _component_els_option = resolveComponent("els-option");
|
|
46605
46909
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
46606
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
46910
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1e, [
|
|
46607
46911
|
createVNode(_component_el_tabs, mergeProps({
|
|
46608
46912
|
modelValue: unref(selectValue),
|
|
46609
46913
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(selectValue) ? selectValue.value = $event : null),
|
|
@@ -46865,8 +47169,8 @@ const menuContextProps = buildProps({
|
|
|
46865
47169
|
default: 120
|
|
46866
47170
|
}
|
|
46867
47171
|
});
|
|
46868
|
-
const _hoisted_1$
|
|
46869
|
-
const _hoisted_2$
|
|
47172
|
+
const _hoisted_1$1d = ["onClick"];
|
|
47173
|
+
const _hoisted_2$q = { class: "els-context-info" };
|
|
46870
47174
|
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
46871
47175
|
...{ name: "ElsMenuContext" },
|
|
46872
47176
|
__name: "menuContext",
|
|
@@ -46947,8 +47251,8 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
46947
47251
|
]),
|
|
46948
47252
|
_: 2
|
|
46949
47253
|
}, 1024)) : createCommentVNode("", true),
|
|
46950
|
-
createElementVNode("span", _hoisted_2$
|
|
46951
|
-
], 8, _hoisted_1$
|
|
47254
|
+
createElementVNode("span", _hoisted_2$q, toDisplayString(item[unref(nameFieldname)]), 1)
|
|
47255
|
+
], 8, _hoisted_1$1d);
|
|
46952
47256
|
}), 128))
|
|
46953
47257
|
], 6)), [
|
|
46954
47258
|
[vShow, modelValue.value]
|
|
@@ -46986,12 +47290,12 @@ const menuDropdownProps = buildProps({
|
|
|
46986
47290
|
*/
|
|
46987
47291
|
onClick: Function
|
|
46988
47292
|
});
|
|
46989
|
-
const _hoisted_1$
|
|
47293
|
+
const _hoisted_1$1c = {
|
|
46990
47294
|
key: 0,
|
|
46991
47295
|
class: "els-table-operate"
|
|
46992
47296
|
};
|
|
46993
|
-
const _hoisted_2$
|
|
46994
|
-
const _hoisted_3$
|
|
47297
|
+
const _hoisted_2$p = { class: "els-table-operate-link" };
|
|
47298
|
+
const _hoisted_3$k = ["onClick"];
|
|
46995
47299
|
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
46996
47300
|
...{ name: "ElsMenuDropdown" },
|
|
46997
47301
|
__name: "menuDropdown",
|
|
@@ -47043,7 +47347,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
47043
47347
|
const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
|
|
47044
47348
|
const _component_el_dropdown = resolveComponent("el-dropdown");
|
|
47045
47349
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
47046
|
-
return unref(nameFieldname) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
47350
|
+
return unref(nameFieldname) ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
|
|
47047
47351
|
unref(isMobile) ? (openBlock(), createBlock(_component_el_link, {
|
|
47048
47352
|
key: 0,
|
|
47049
47353
|
type: "primary",
|
|
@@ -47093,7 +47397,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
47093
47397
|
})
|
|
47094
47398
|
]),
|
|
47095
47399
|
default: withCtx(() => [
|
|
47096
|
-
createElementVNode("span", _hoisted_2$
|
|
47400
|
+
createElementVNode("span", _hoisted_2$p, [
|
|
47097
47401
|
createTextVNode(toDisplayString(_ctx.unFoldCount > 0 ? "更多操作" : "操作") + " ", 1),
|
|
47098
47402
|
createVNode(_component_el_icon, { class: "el-icon--right" }, {
|
|
47099
47403
|
default: withCtx(() => [
|
|
@@ -47133,7 +47437,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
47133
47437
|
class: "center",
|
|
47134
47438
|
onClick: ($event) => menuCommand(item),
|
|
47135
47439
|
style: { "line-height": "50px", "border-bottom": "1px solid #dcdcdc" }
|
|
47136
|
-
}, toDisplayString(item.MenuName), 9, _hoisted_3$
|
|
47440
|
+
}, toDisplayString(item.MenuName), 9, _hoisted_3$k);
|
|
47137
47441
|
}), 256))
|
|
47138
47442
|
]),
|
|
47139
47443
|
_: 1
|
|
@@ -47193,13 +47497,13 @@ const menuToolProps = buildProps({
|
|
|
47193
47497
|
*/
|
|
47194
47498
|
onUploaded: Function
|
|
47195
47499
|
});
|
|
47196
|
-
const _hoisted_1$
|
|
47197
|
-
const _hoisted_2$
|
|
47198
|
-
const _hoisted_3$
|
|
47500
|
+
const _hoisted_1$1b = { class: "els-tool-menu" };
|
|
47501
|
+
const _hoisted_2$o = { class: "els-tool-menu-button" };
|
|
47502
|
+
const _hoisted_3$j = {
|
|
47199
47503
|
key: 0,
|
|
47200
47504
|
class: "operationlog"
|
|
47201
47505
|
};
|
|
47202
|
-
const _hoisted_4$
|
|
47506
|
+
const _hoisted_4$d = { style: { "text-align": "center", "margin-top": "20px" } };
|
|
47203
47507
|
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
47204
47508
|
...{ name: "ElsMenuTool" },
|
|
47205
47509
|
__name: "menuTool",
|
|
@@ -47350,8 +47654,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
47350
47654
|
const _component_el_upload = resolveComponent("el-upload");
|
|
47351
47655
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
47352
47656
|
const _component_els_dialog = resolveComponent("els-dialog");
|
|
47353
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
47354
|
-
createElementVNode("div", _hoisted_2$
|
|
47657
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1b, [
|
|
47658
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
47355
47659
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(menuData, (menu) => {
|
|
47356
47660
|
return openBlock(), createBlock(_component_el_button, mergeProps({
|
|
47357
47661
|
type: unref(colorFieldname) && menu[unref(colorFieldname)],
|
|
@@ -47454,7 +47758,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
47454
47758
|
]), 1040, ["type", "icon", "native-type", "loading", "onClick"]);
|
|
47455
47759
|
}), 128))
|
|
47456
47760
|
]),
|
|
47457
|
-
_ctx.mutiSaveUrl || _ctx.logUrl || _ctx.docUrl || _ctx.noteUrl ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
47761
|
+
_ctx.mutiSaveUrl || _ctx.logUrl || _ctx.docUrl || _ctx.noteUrl ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
|
|
47458
47762
|
_ctx.mutiSaveUrl && !isTableEdit.value ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
47459
47763
|
key: 0,
|
|
47460
47764
|
placement: "bottom-end",
|
|
@@ -47578,7 +47882,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
47578
47882
|
])]),
|
|
47579
47883
|
_: 1
|
|
47580
47884
|
}, 8, ["href"])),
|
|
47581
|
-
createElementVNode("div", _hoisted_4$
|
|
47885
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
47582
47886
|
createVNode(_component_el_upload, {
|
|
47583
47887
|
multiple: "",
|
|
47584
47888
|
drag: "",
|
|
@@ -47680,11 +47984,11 @@ const captionProps = buildProps({
|
|
|
47680
47984
|
default: "150px"
|
|
47681
47985
|
}
|
|
47682
47986
|
});
|
|
47683
|
-
const _hoisted_1$
|
|
47987
|
+
const _hoisted_1$1a = {
|
|
47684
47988
|
key: 0,
|
|
47685
47989
|
class: "els-caption-sub-header"
|
|
47686
47990
|
};
|
|
47687
|
-
const _hoisted_2$
|
|
47991
|
+
const _hoisted_2$n = { class: "els-caption-title" };
|
|
47688
47992
|
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
47689
47993
|
...{ name: "ElsCaption" },
|
|
47690
47994
|
__name: "caption",
|
|
@@ -47733,10 +48037,10 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
47733
48037
|
key: 0,
|
|
47734
48038
|
class: normalizeClass(["els-caption", { "els-left-caption": _ctx.type == "left" }])
|
|
47735
48039
|
}, [
|
|
47736
|
-
_ctx.type == "left" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
48040
|
+
_ctx.type == "left" ? (openBlock(), createElementBlock("span", _hoisted_1$1a, [..._cache[2] || (_cache[2] = [
|
|
47737
48041
|
createElementVNode("i", { class: "dec" }, null, -1)
|
|
47738
48042
|
])])) : createCommentVNode("", true),
|
|
47739
|
-
createElementVNode("span", _hoisted_2$
|
|
48043
|
+
createElementVNode("span", _hoisted_2$n, [
|
|
47740
48044
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
47741
48045
|
createTextVNode(toDisplayString(modelValue.value || _ctx.title), 1)
|
|
47742
48046
|
], true),
|
|
@@ -47781,6 +48085,330 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
47781
48085
|
});
|
|
47782
48086
|
const Caption = /* @__PURE__ */ _export_sfc$1(_sfc_main$1w, [["__scopeId", "data-v-72cb8719"]]);
|
|
47783
48087
|
const ElsCaption = withInstall$1(Caption);
|
|
48088
|
+
const requestFormProps = buildProps({
|
|
48089
|
+
/**
|
|
48090
|
+
* @description 绑定值,子组件的字段值会自动聚合到此对象
|
|
48091
|
+
*/
|
|
48092
|
+
modelValue: {
|
|
48093
|
+
type: Object,
|
|
48094
|
+
default: () => ({})
|
|
48095
|
+
},
|
|
48096
|
+
/**
|
|
48097
|
+
* @description 请求地址
|
|
48098
|
+
*/
|
|
48099
|
+
requestUrl: String,
|
|
48100
|
+
/**
|
|
48101
|
+
* @description 请求方式 GET|POST|SSE
|
|
48102
|
+
*/
|
|
48103
|
+
requestMethod: {
|
|
48104
|
+
type: String,
|
|
48105
|
+
default: "POST"
|
|
48106
|
+
},
|
|
48107
|
+
/**
|
|
48108
|
+
* @description 提交按钮文本
|
|
48109
|
+
*/
|
|
48110
|
+
submitLabel: {
|
|
48111
|
+
type: String,
|
|
48112
|
+
default: "提交"
|
|
48113
|
+
},
|
|
48114
|
+
/**
|
|
48115
|
+
* @description 返回值结构定义(仅供设计器字段选择器使用,不影响实际请求逻辑)
|
|
48116
|
+
*/
|
|
48117
|
+
returnSchema: String,
|
|
48118
|
+
/**
|
|
48119
|
+
* @description 节点自身的字段标识,由渲染层自动传入。设置时返回数据整体挂载到 globalData[keyCode] 下,未设置则扁平合并到 globalData 根节点
|
|
48120
|
+
*/
|
|
48121
|
+
keyCode: String
|
|
48122
|
+
});
|
|
48123
|
+
const _hoisted_1$19 = { class: "els-request-form__meta" };
|
|
48124
|
+
const _hoisted_2$m = { class: "els-request-form__method" };
|
|
48125
|
+
const _hoisted_3$i = ["title"];
|
|
48126
|
+
const _hoisted_4$c = {
|
|
48127
|
+
key: 0,
|
|
48128
|
+
class: "els-request-form__result"
|
|
48129
|
+
};
|
|
48130
|
+
const _hoisted_5$c = { class: "els-request-form__result-header" };
|
|
48131
|
+
const _hoisted_6$a = { class: "els-request-form__result-title" };
|
|
48132
|
+
const _hoisted_7$8 = {
|
|
48133
|
+
key: 1,
|
|
48134
|
+
class: "els-request-form__result-time"
|
|
48135
|
+
};
|
|
48136
|
+
const _hoisted_8$7 = { class: "els-request-form__result-actions" };
|
|
48137
|
+
const _hoisted_9$6 = { class: "els-request-form__result-body" };
|
|
48138
|
+
const _hoisted_10$4 = {
|
|
48139
|
+
key: 0,
|
|
48140
|
+
class: "els-request-form__result-code"
|
|
48141
|
+
};
|
|
48142
|
+
const _hoisted_11$4 = { class: "els-request-form__footer" };
|
|
48143
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
48144
|
+
...{ name: "ElsRequestForm" },
|
|
48145
|
+
__name: "requestForm",
|
|
48146
|
+
props: /* @__PURE__ */ mergeModels(requestFormProps, {
|
|
48147
|
+
"modelValue": { default: () => ({}) },
|
|
48148
|
+
"modelModifiers": {}
|
|
48149
|
+
}),
|
|
48150
|
+
emits: /* @__PURE__ */ mergeModels(["success", "error"], ["update:modelValue"]),
|
|
48151
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
48152
|
+
const props2 = __props;
|
|
48153
|
+
const emit = __emit;
|
|
48154
|
+
const { getValue: getValue2 } = useProps();
|
|
48155
|
+
const getGlobalData = getValue2("getGlobalData", () => ({}));
|
|
48156
|
+
const { $codeField, $messageField, $dataField, $success } = utils.getApiConfig();
|
|
48157
|
+
const modelValue = useModel$1(__props, "modelValue");
|
|
48158
|
+
const loading = ref(false);
|
|
48159
|
+
const sseAbort = ref(null);
|
|
48160
|
+
const resultVisible = ref(false);
|
|
48161
|
+
const resultExpanded = ref(true);
|
|
48162
|
+
const resultStatus = ref("");
|
|
48163
|
+
const resultData = ref(void 0);
|
|
48164
|
+
const resultTime = ref("");
|
|
48165
|
+
const methodTheme = computed(() => {
|
|
48166
|
+
const map2 = { GET: "success", POST: "primary", SSE: "warning" };
|
|
48167
|
+
return map2[props2.requestMethod] || "primary";
|
|
48168
|
+
});
|
|
48169
|
+
function applyResult(data) {
|
|
48170
|
+
const globalData = getGlobalData();
|
|
48171
|
+
if (!globalData || data === void 0 || data === null) return;
|
|
48172
|
+
if (props2.keyCode) {
|
|
48173
|
+
globalData[props2.keyCode] = data;
|
|
48174
|
+
} else if (typeof data === "object") {
|
|
48175
|
+
Object.assign(globalData, data);
|
|
48176
|
+
}
|
|
48177
|
+
}
|
|
48178
|
+
function formatResult(data) {
|
|
48179
|
+
if (data === void 0) return "";
|
|
48180
|
+
if (typeof data === "string") return data;
|
|
48181
|
+
try {
|
|
48182
|
+
return JSON.stringify(data, null, 2);
|
|
48183
|
+
} catch {
|
|
48184
|
+
return String(data);
|
|
48185
|
+
}
|
|
48186
|
+
}
|
|
48187
|
+
const resultText = computed(() => formatResult(resultData.value));
|
|
48188
|
+
const hasResult = computed(() => resultData.value !== void 0);
|
|
48189
|
+
const resultTitle = computed(() => {
|
|
48190
|
+
if (!hasResult.value) return "暂无结果";
|
|
48191
|
+
return resultStatus.value === "error" ? "请求异常" : "请求结果";
|
|
48192
|
+
});
|
|
48193
|
+
function setResult(data, status = "success", append2 = false) {
|
|
48194
|
+
if (append2) {
|
|
48195
|
+
const list = Array.isArray(resultData.value) ? resultData.value : resultData.value === void 0 ? [] : [resultData.value];
|
|
48196
|
+
resultData.value = [...list, data];
|
|
48197
|
+
} else {
|
|
48198
|
+
resultData.value = data;
|
|
48199
|
+
}
|
|
48200
|
+
resultStatus.value = status;
|
|
48201
|
+
resultTime.value = (/* @__PURE__ */ new Date()).toLocaleString();
|
|
48202
|
+
resultVisible.value = true;
|
|
48203
|
+
resultExpanded.value = true;
|
|
48204
|
+
}
|
|
48205
|
+
function clearResult() {
|
|
48206
|
+
resultData.value = void 0;
|
|
48207
|
+
resultStatus.value = "";
|
|
48208
|
+
resultTime.value = "";
|
|
48209
|
+
resultVisible.value = false;
|
|
48210
|
+
}
|
|
48211
|
+
function copyResult() {
|
|
48212
|
+
if (!resultText.value) return;
|
|
48213
|
+
utils.clip(resultText.value);
|
|
48214
|
+
}
|
|
48215
|
+
function handleResponse(res) {
|
|
48216
|
+
const append2 = props2.requestMethod === "SSE";
|
|
48217
|
+
if (res && res[$codeField] !== void 0) {
|
|
48218
|
+
if (res[$codeField] != $success) {
|
|
48219
|
+
ProxyElsMessage.error(res[$messageField]);
|
|
48220
|
+
setResult(res, "error", append2);
|
|
48221
|
+
emit("error", res);
|
|
48222
|
+
return;
|
|
48223
|
+
}
|
|
48224
|
+
const data = res[$dataField];
|
|
48225
|
+
applyResult(data);
|
|
48226
|
+
setResult(res, "success", append2);
|
|
48227
|
+
emit("success", data);
|
|
48228
|
+
return;
|
|
48229
|
+
}
|
|
48230
|
+
applyResult(res);
|
|
48231
|
+
setResult(res, "success", append2);
|
|
48232
|
+
emit("success", res);
|
|
48233
|
+
}
|
|
48234
|
+
function extractErrorMessage(err) {
|
|
48235
|
+
var _a, _b, _c;
|
|
48236
|
+
return ((_a = err == null ? void 0 : err.data) == null ? void 0 : _a[$messageField]) || ((_c = (_b = err == null ? void 0 : err.response) == null ? void 0 : _b.data) == null ? void 0 : _c[$messageField]) || (err == null ? void 0 : err.message) || "请求失败";
|
|
48237
|
+
}
|
|
48238
|
+
function normalizeError(err) {
|
|
48239
|
+
var _a;
|
|
48240
|
+
return ((_a = err == null ? void 0 : err.response) == null ? void 0 : _a.data) || (err == null ? void 0 : err.data) || {
|
|
48241
|
+
message: extractErrorMessage(err)
|
|
48242
|
+
};
|
|
48243
|
+
}
|
|
48244
|
+
async function handleSubmit() {
|
|
48245
|
+
if (loading.value || !props2.requestUrl) return;
|
|
48246
|
+
loading.value = true;
|
|
48247
|
+
clearResult();
|
|
48248
|
+
const params = { ...modelValue.value || {} };
|
|
48249
|
+
try {
|
|
48250
|
+
if (props2.requestMethod === "GET") {
|
|
48251
|
+
const res = await utils.get(props2.requestUrl, params);
|
|
48252
|
+
handleResponse(res);
|
|
48253
|
+
} else if (props2.requestMethod === "SSE") {
|
|
48254
|
+
await new Promise((resolve2, reject) => {
|
|
48255
|
+
const { abort, promise } = utils.fetchSSE(props2.requestUrl, (message, isDone) => {
|
|
48256
|
+
if (isDone || !message) return;
|
|
48257
|
+
try {
|
|
48258
|
+
handleResponse(JSON.parse(message));
|
|
48259
|
+
} catch {
|
|
48260
|
+
handleResponse(message);
|
|
48261
|
+
}
|
|
48262
|
+
}, params);
|
|
48263
|
+
sseAbort.value = abort;
|
|
48264
|
+
promise.then(resolve2).catch(reject);
|
|
48265
|
+
});
|
|
48266
|
+
} else {
|
|
48267
|
+
const res = await utils.post(props2.requestUrl, params);
|
|
48268
|
+
handleResponse(res);
|
|
48269
|
+
}
|
|
48270
|
+
} catch (err) {
|
|
48271
|
+
ProxyElsMessage.error(extractErrorMessage(err));
|
|
48272
|
+
setResult(normalizeError(err), "error");
|
|
48273
|
+
emit("error", err);
|
|
48274
|
+
} finally {
|
|
48275
|
+
loading.value = false;
|
|
48276
|
+
sseAbort.value = null;
|
|
48277
|
+
}
|
|
48278
|
+
}
|
|
48279
|
+
function handleAbort() {
|
|
48280
|
+
var _a;
|
|
48281
|
+
(_a = sseAbort.value) == null ? void 0 : _a.call(sseAbort);
|
|
48282
|
+
}
|
|
48283
|
+
__expose({ submit: handleSubmit, abort: handleAbort });
|
|
48284
|
+
return (_ctx, _cache) => {
|
|
48285
|
+
const _component_el_form = resolveComponent("el-form");
|
|
48286
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
48287
|
+
const _component_el_tag = resolveComponent("el-tag");
|
|
48288
|
+
const _component_el_button = resolveComponent("el-button");
|
|
48289
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
48290
|
+
const _component_el_empty = resolveComponent("el-empty");
|
|
48291
|
+
return openBlock(), createElementBlock("div", {
|
|
48292
|
+
class: normalizeClass(["els-request-form", [`els-request-form--${methodTheme.value}`, { "is-loading": loading.value }]])
|
|
48293
|
+
}, [
|
|
48294
|
+
_cache[1] || (_cache[1] = createElementVNode("span", { class: "els-request-form__accent" }, null, -1)),
|
|
48295
|
+
createElementVNode("div", _hoisted_1$19, [
|
|
48296
|
+
createElementVNode("span", _hoisted_2$m, toDisplayString(_ctx.requestMethod), 1),
|
|
48297
|
+
createElementVNode("span", {
|
|
48298
|
+
class: "els-request-form__url",
|
|
48299
|
+
title: _ctx.requestUrl
|
|
48300
|
+
}, toDisplayString(_ctx.requestUrl || "未配置接口地址"), 9, _hoisted_3$i)
|
|
48301
|
+
]),
|
|
48302
|
+
createVNode(_component_el_form, {
|
|
48303
|
+
model: modelValue.value,
|
|
48304
|
+
class: "els-request-form__body"
|
|
48305
|
+
}, {
|
|
48306
|
+
default: withCtx(() => [
|
|
48307
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
48308
|
+
]),
|
|
48309
|
+
_: 3
|
|
48310
|
+
}, 8, ["model"]),
|
|
48311
|
+
resultVisible.value || loading.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
48312
|
+
createElementVNode("div", _hoisted_5$c, [
|
|
48313
|
+
createElementVNode("div", _hoisted_6$a, [
|
|
48314
|
+
createVNode(_component_el_icon, null, {
|
|
48315
|
+
default: withCtx(() => [
|
|
48316
|
+
createVNode(unref(view_default))
|
|
48317
|
+
]),
|
|
48318
|
+
_: 1
|
|
48319
|
+
}),
|
|
48320
|
+
createElementVNode("span", null, toDisplayString(resultTitle.value), 1),
|
|
48321
|
+
resultStatus.value ? (openBlock(), createBlock(_component_el_tag, {
|
|
48322
|
+
key: 0,
|
|
48323
|
+
type: resultStatus.value === "error" ? "danger" : "success",
|
|
48324
|
+
size: "small",
|
|
48325
|
+
effect: "light"
|
|
48326
|
+
}, {
|
|
48327
|
+
default: withCtx(() => [
|
|
48328
|
+
createTextVNode(toDisplayString(resultStatus.value === "error" ? "失败" : "成功"), 1)
|
|
48329
|
+
]),
|
|
48330
|
+
_: 1
|
|
48331
|
+
}, 8, ["type"])) : createCommentVNode("", true),
|
|
48332
|
+
resultTime.value ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString(resultTime.value), 1)) : createCommentVNode("", true)
|
|
48333
|
+
]),
|
|
48334
|
+
createElementVNode("div", _hoisted_8$7, [
|
|
48335
|
+
createVNode(_component_el_tooltip, {
|
|
48336
|
+
content: "复制结果",
|
|
48337
|
+
placement: "top"
|
|
48338
|
+
}, {
|
|
48339
|
+
default: withCtx(() => [
|
|
48340
|
+
createVNode(_component_el_button, {
|
|
48341
|
+
text: "",
|
|
48342
|
+
icon: unref(copy_document_default),
|
|
48343
|
+
disabled: !hasResult.value,
|
|
48344
|
+
onClick: copyResult
|
|
48345
|
+
}, null, 8, ["icon", "disabled"])
|
|
48346
|
+
]),
|
|
48347
|
+
_: 1
|
|
48348
|
+
}),
|
|
48349
|
+
createVNode(_component_el_tooltip, {
|
|
48350
|
+
content: "清空结果",
|
|
48351
|
+
placement: "top"
|
|
48352
|
+
}, {
|
|
48353
|
+
default: withCtx(() => [
|
|
48354
|
+
createVNode(_component_el_button, {
|
|
48355
|
+
text: "",
|
|
48356
|
+
icon: unref(delete_default),
|
|
48357
|
+
disabled: !hasResult.value && !loading.value,
|
|
48358
|
+
onClick: clearResult
|
|
48359
|
+
}, null, 8, ["icon", "disabled"])
|
|
48360
|
+
]),
|
|
48361
|
+
_: 1
|
|
48362
|
+
}),
|
|
48363
|
+
createVNode(_component_el_tooltip, {
|
|
48364
|
+
content: resultExpanded.value ? "收起结果" : "展开结果",
|
|
48365
|
+
placement: "top"
|
|
48366
|
+
}, {
|
|
48367
|
+
default: withCtx(() => [
|
|
48368
|
+
createVNode(_component_el_button, {
|
|
48369
|
+
text: "",
|
|
48370
|
+
icon: resultExpanded.value ? unref(arrow_up_default) : unref(arrow_down_default),
|
|
48371
|
+
onClick: _cache[0] || (_cache[0] = ($event) => resultExpanded.value = !resultExpanded.value)
|
|
48372
|
+
}, null, 8, ["icon"])
|
|
48373
|
+
]),
|
|
48374
|
+
_: 1
|
|
48375
|
+
}, 8, ["content"])
|
|
48376
|
+
])
|
|
48377
|
+
]),
|
|
48378
|
+
withDirectives(createElementVNode("div", _hoisted_9$6, [
|
|
48379
|
+
hasResult.value ? (openBlock(), createElementBlock("pre", _hoisted_10$4, toDisplayString(resultText.value), 1)) : loading.value ? (openBlock(), createBlock(_component_el_empty, {
|
|
48380
|
+
key: 1,
|
|
48381
|
+
description: "请求中...",
|
|
48382
|
+
"image-size": 72
|
|
48383
|
+
})) : (openBlock(), createBlock(_component_el_empty, {
|
|
48384
|
+
key: 2,
|
|
48385
|
+
description: "暂无结果",
|
|
48386
|
+
"image-size": 72
|
|
48387
|
+
}))
|
|
48388
|
+
], 512), [
|
|
48389
|
+
[vShow, resultExpanded.value]
|
|
48390
|
+
])
|
|
48391
|
+
])) : createCommentVNode("", true),
|
|
48392
|
+
createElementVNode("div", _hoisted_11$4, [
|
|
48393
|
+
createVNode(_component_el_button, {
|
|
48394
|
+
type: "primary",
|
|
48395
|
+
class: "els-request-form__submit",
|
|
48396
|
+
disabled: !_ctx.requestUrl,
|
|
48397
|
+
loading: loading.value,
|
|
48398
|
+
onClick: handleSubmit
|
|
48399
|
+
}, {
|
|
48400
|
+
default: withCtx(() => [
|
|
48401
|
+
createTextVNode(toDisplayString(_ctx.submitLabel || "提交"), 1)
|
|
48402
|
+
]),
|
|
48403
|
+
_: 1
|
|
48404
|
+
}, 8, ["disabled", "loading"])
|
|
48405
|
+
])
|
|
48406
|
+
], 2);
|
|
48407
|
+
};
|
|
48408
|
+
}
|
|
48409
|
+
});
|
|
48410
|
+
const RequestForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$1v, [["__scopeId", "data-v-22a202b2"]]);
|
|
48411
|
+
const ElsRequestForm = withInstall$1(RequestForm);
|
|
47784
48412
|
const dataModalProps = buildProps({
|
|
47785
48413
|
...formItemProps$1,
|
|
47786
48414
|
/**
|
|
@@ -48096,7 +48724,7 @@ let DataModal$1 = class DataModal extends TBaseFormItem {
|
|
|
48096
48724
|
})]);
|
|
48097
48725
|
}
|
|
48098
48726
|
};
|
|
48099
|
-
const _sfc_main$
|
|
48727
|
+
const _sfc_main$1u = defineComponent({
|
|
48100
48728
|
name: "ElsDataModal",
|
|
48101
48729
|
inheritAttrs: false,
|
|
48102
48730
|
props: dataModalProps,
|
|
@@ -48106,9 +48734,9 @@ const _sfc_main$1v = defineComponent({
|
|
|
48106
48734
|
},
|
|
48107
48735
|
emits: ["update:select", "update:modelValue", "update:select-label"]
|
|
48108
48736
|
});
|
|
48109
|
-
const DataModal2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
48737
|
+
const DataModal2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1u, [["__scopeId", "data-v-68c1b3ab"]]);
|
|
48110
48738
|
const ElsDataModal = withInstall$1(DataModal2);
|
|
48111
|
-
const _sfc_main$
|
|
48739
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
48112
48740
|
...{ name: "ElsButtonSelect" },
|
|
48113
48741
|
__name: "buttonSelect",
|
|
48114
48742
|
props: {
|
|
@@ -48150,8 +48778,8 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
48150
48778
|
};
|
|
48151
48779
|
}
|
|
48152
48780
|
});
|
|
48153
|
-
const ElsButtonSelect = withInstall$1(_sfc_main$
|
|
48154
|
-
const _sfc_main$
|
|
48781
|
+
const ElsButtonSelect = withInstall$1(_sfc_main$1t);
|
|
48782
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
48155
48783
|
...{ name: "ElsButtonSearch" },
|
|
48156
48784
|
__name: "buttonSearch",
|
|
48157
48785
|
emits: ["click"],
|
|
@@ -48197,8 +48825,8 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
48197
48825
|
};
|
|
48198
48826
|
}
|
|
48199
48827
|
});
|
|
48200
|
-
const ElsButtonSearch = withInstall$1(_sfc_main$
|
|
48201
|
-
const _sfc_main$
|
|
48828
|
+
const ElsButtonSearch = withInstall$1(_sfc_main$1s);
|
|
48829
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
48202
48830
|
...{ name: "ElsButtonExport" },
|
|
48203
48831
|
__name: "buttonExport",
|
|
48204
48832
|
props: {
|
|
@@ -48244,7 +48872,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
48244
48872
|
};
|
|
48245
48873
|
}
|
|
48246
48874
|
});
|
|
48247
|
-
const ElsButtonExport = withInstall$1(_sfc_main$
|
|
48875
|
+
const ElsButtonExport = withInstall$1(_sfc_main$1r);
|
|
48248
48876
|
const listProps = buildProps({
|
|
48249
48877
|
/**
|
|
48250
48878
|
* @description 绑定的列表数据
|
|
@@ -48363,7 +48991,7 @@ const _hoisted_5$b = {
|
|
|
48363
48991
|
};
|
|
48364
48992
|
const _hoisted_6$9 = { class: "els-list-index" };
|
|
48365
48993
|
const _hoisted_7$7 = { class: "els-list-handle" };
|
|
48366
|
-
const _sfc_main$
|
|
48994
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
48367
48995
|
...{ name: "ElsList", inheritAttrs: false },
|
|
48368
48996
|
__name: "list",
|
|
48369
48997
|
props: /* @__PURE__ */ mergeModels(listProps, {
|
|
@@ -48767,10 +49395,10 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
48767
49395
|
};
|
|
48768
49396
|
}
|
|
48769
49397
|
});
|
|
48770
|
-
const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
49398
|
+
const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$1q, [["__scopeId", "data-v-daf08a14"]]);
|
|
48771
49399
|
const ElsList = withInstall$1(List);
|
|
48772
49400
|
const _hoisted_1$17 = { class: "custom-block-title" };
|
|
48773
|
-
const _sfc_main$
|
|
49401
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
48774
49402
|
...{ name: "ElsTip" },
|
|
48775
49403
|
__name: "tip",
|
|
48776
49404
|
props: {
|
|
@@ -48795,7 +49423,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
48795
49423
|
};
|
|
48796
49424
|
}
|
|
48797
49425
|
});
|
|
48798
|
-
const Tip = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
49426
|
+
const Tip = /* @__PURE__ */ _export_sfc$1(_sfc_main$1p, [["__scopeId", "data-v-c950eb09"]]);
|
|
48799
49427
|
const tipProps = buildProps({
|
|
48800
49428
|
/**
|
|
48801
49429
|
* @description 标题
|
|
@@ -48911,7 +49539,7 @@ let InputTag$1 = class InputTag extends TBaseFormItem {
|
|
|
48911
49539
|
})])]);
|
|
48912
49540
|
}
|
|
48913
49541
|
};
|
|
48914
|
-
const _sfc_main$
|
|
49542
|
+
const _sfc_main$1o = defineComponent({
|
|
48915
49543
|
name: "ElsInputTag",
|
|
48916
49544
|
inheritAttrs: false,
|
|
48917
49545
|
props: inputTagProps,
|
|
@@ -48920,7 +49548,7 @@ const _sfc_main$1p = defineComponent({
|
|
|
48920
49548
|
return () => sw.render();
|
|
48921
49549
|
}
|
|
48922
49550
|
});
|
|
48923
|
-
const InputTag2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
49551
|
+
const InputTag2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["__scopeId", "data-v-c1f0387c"]]);
|
|
48924
49552
|
const ElsInputTag = withInstall$1(InputTag2);
|
|
48925
49553
|
const property_input = [
|
|
48926
49554
|
{
|
|
@@ -71380,6 +72008,356 @@ const property_cascader = [
|
|
|
71380
72008
|
}
|
|
71381
72009
|
}
|
|
71382
72010
|
];
|
|
72011
|
+
const property_requestForm = [
|
|
72012
|
+
{
|
|
72013
|
+
"keyID": "rf_root",
|
|
72014
|
+
"keyName": "Form",
|
|
72015
|
+
"keyCode": "rf_root_code",
|
|
72016
|
+
"children": [
|
|
72017
|
+
{
|
|
72018
|
+
"keyID": "rf_row_url",
|
|
72019
|
+
"keyName": "栅格行",
|
|
72020
|
+
"keyCode": "rf_row_url_code",
|
|
72021
|
+
"children": [
|
|
72022
|
+
{
|
|
72023
|
+
"keyID": "rf_requestUrl",
|
|
72024
|
+
"keyName": "请求地址",
|
|
72025
|
+
"keyCode": "requestUrl",
|
|
72026
|
+
"children": [],
|
|
72027
|
+
"dataType": "String",
|
|
72028
|
+
"arrayDataType": "",
|
|
72029
|
+
"componentTypeLabel": "表达式输入框",
|
|
72030
|
+
"componentType": "ExpressionInput",
|
|
72031
|
+
"formItem": true,
|
|
72032
|
+
"config": {
|
|
72033
|
+
"arrayConfig": {},
|
|
72034
|
+
"baseConfig": {
|
|
72035
|
+
"width": "",
|
|
72036
|
+
"placeholder": "请输入请求地址,如 /api/user/info"
|
|
72037
|
+
},
|
|
72038
|
+
"formConfig": {
|
|
72039
|
+
"labelWidth": "",
|
|
72040
|
+
"tip": "",
|
|
72041
|
+
"tipPosition": "left",
|
|
72042
|
+
"suffixContent": "",
|
|
72043
|
+
"required": false,
|
|
72044
|
+
"requiredMessage": "",
|
|
72045
|
+
"validType": "",
|
|
72046
|
+
"validExpression": "",
|
|
72047
|
+
"validMessage": "",
|
|
72048
|
+
"validMethod": ""
|
|
72049
|
+
},
|
|
72050
|
+
"advancedConfig": {
|
|
72051
|
+
"style": "",
|
|
72052
|
+
"vif": "",
|
|
72053
|
+
"disabled": "",
|
|
72054
|
+
"eventChange": ""
|
|
72055
|
+
}
|
|
72056
|
+
}
|
|
72057
|
+
}
|
|
72058
|
+
],
|
|
72059
|
+
"dataType": "None",
|
|
72060
|
+
"arrayDataType": "",
|
|
72061
|
+
"componentTypeLabel": "栅格行",
|
|
72062
|
+
"componentType": "Row",
|
|
72063
|
+
"formItem": false,
|
|
72064
|
+
"config": {
|
|
72065
|
+
"formConfig": {},
|
|
72066
|
+
"baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
|
|
72067
|
+
"advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
|
|
72068
|
+
"arrayConfig": {}
|
|
72069
|
+
}
|
|
72070
|
+
},
|
|
72071
|
+
{
|
|
72072
|
+
"keyID": "rf_row_method",
|
|
72073
|
+
"keyName": "栅格行",
|
|
72074
|
+
"keyCode": "rf_row_method_code",
|
|
72075
|
+
"children": [
|
|
72076
|
+
{
|
|
72077
|
+
"keyID": "rf_requestMethod",
|
|
72078
|
+
"keyName": "请求方式",
|
|
72079
|
+
"keyCode": "requestMethod",
|
|
72080
|
+
"children": [],
|
|
72081
|
+
"dataType": "String",
|
|
72082
|
+
"componentType": "Radio",
|
|
72083
|
+
"defaultValue": "POST",
|
|
72084
|
+
"config": {
|
|
72085
|
+
"arrayConfig": {},
|
|
72086
|
+
"baseConfig": {
|
|
72087
|
+
"type": "button",
|
|
72088
|
+
"dataType": 1,
|
|
72089
|
+
"data": [
|
|
72090
|
+
{ "label": "GET", "value": "GET" },
|
|
72091
|
+
{ "label": "POST", "value": "POST" },
|
|
72092
|
+
{ "label": "SSE", "value": "SSE" }
|
|
72093
|
+
]
|
|
72094
|
+
},
|
|
72095
|
+
"formConfig": {
|
|
72096
|
+
"labelWidth": "",
|
|
72097
|
+
"tip": "",
|
|
72098
|
+
"tipPosition": "left",
|
|
72099
|
+
"suffixContent": "",
|
|
72100
|
+
"required": false,
|
|
72101
|
+
"requiredMessage": "",
|
|
72102
|
+
"validType": "",
|
|
72103
|
+
"validExpression": "",
|
|
72104
|
+
"validMessage": "",
|
|
72105
|
+
"validMethod": ""
|
|
72106
|
+
},
|
|
72107
|
+
"advancedConfig": {
|
|
72108
|
+
"style": "",
|
|
72109
|
+
"vif": "",
|
|
72110
|
+
"disabled": "",
|
|
72111
|
+
"eventChange": ""
|
|
72112
|
+
}
|
|
72113
|
+
},
|
|
72114
|
+
"formItem": true
|
|
72115
|
+
}
|
|
72116
|
+
],
|
|
72117
|
+
"dataType": "None",
|
|
72118
|
+
"arrayDataType": "",
|
|
72119
|
+
"componentTypeLabel": "栅格行",
|
|
72120
|
+
"componentType": "Row",
|
|
72121
|
+
"formItem": false,
|
|
72122
|
+
"config": {
|
|
72123
|
+
"formConfig": {},
|
|
72124
|
+
"baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
|
|
72125
|
+
"advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
|
|
72126
|
+
"arrayConfig": {}
|
|
72127
|
+
}
|
|
72128
|
+
},
|
|
72129
|
+
{
|
|
72130
|
+
"keyID": "rf_row_submitLabel",
|
|
72131
|
+
"keyName": "栅格行",
|
|
72132
|
+
"keyCode": "rf_row_submitLabel_code",
|
|
72133
|
+
"children": [
|
|
72134
|
+
{
|
|
72135
|
+
"keyID": "rf_submitLabel",
|
|
72136
|
+
"keyName": "提交按钮文本",
|
|
72137
|
+
"keyCode": "submitLabel",
|
|
72138
|
+
"children": [],
|
|
72139
|
+
"dataType": "String",
|
|
72140
|
+
"componentType": "Input",
|
|
72141
|
+
"defaultValue": "提交",
|
|
72142
|
+
"config": {
|
|
72143
|
+
"arrayConfig": {},
|
|
72144
|
+
"baseConfig": {
|
|
72145
|
+
"width": "",
|
|
72146
|
+
"placeholder": ""
|
|
72147
|
+
},
|
|
72148
|
+
"formConfig": {
|
|
72149
|
+
"labelWidth": "",
|
|
72150
|
+
"tip": "",
|
|
72151
|
+
"tipPosition": "left",
|
|
72152
|
+
"suffixContent": "",
|
|
72153
|
+
"required": false,
|
|
72154
|
+
"requiredMessage": "",
|
|
72155
|
+
"validType": "",
|
|
72156
|
+
"validExpression": "",
|
|
72157
|
+
"validMessage": "",
|
|
72158
|
+
"validMethod": ""
|
|
72159
|
+
},
|
|
72160
|
+
"advancedConfig": {
|
|
72161
|
+
"style": "",
|
|
72162
|
+
"vif": "",
|
|
72163
|
+
"disabled": "",
|
|
72164
|
+
"eventChange": ""
|
|
72165
|
+
}
|
|
72166
|
+
},
|
|
72167
|
+
"formItem": true
|
|
72168
|
+
}
|
|
72169
|
+
],
|
|
72170
|
+
"dataType": "None",
|
|
72171
|
+
"arrayDataType": "",
|
|
72172
|
+
"componentTypeLabel": "栅格行",
|
|
72173
|
+
"componentType": "Row",
|
|
72174
|
+
"formItem": false,
|
|
72175
|
+
"config": {
|
|
72176
|
+
"formConfig": {},
|
|
72177
|
+
"baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
|
|
72178
|
+
"advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
|
|
72179
|
+
"arrayConfig": {}
|
|
72180
|
+
}
|
|
72181
|
+
},
|
|
72182
|
+
{
|
|
72183
|
+
"keyID": "rf_row_returnSchema",
|
|
72184
|
+
"keyName": "栅格行",
|
|
72185
|
+
"keyCode": "rf_row_returnSchema_code",
|
|
72186
|
+
"children": [
|
|
72187
|
+
{
|
|
72188
|
+
"keyID": "rf_returnSchema",
|
|
72189
|
+
"keyName": "返回值结构定义",
|
|
72190
|
+
"keyCode": "returnSchema",
|
|
72191
|
+
"children": [],
|
|
72192
|
+
"dataType": "String",
|
|
72193
|
+
"componentType": "SchemaFieldEditor",
|
|
72194
|
+
"defaultValue": "{}",
|
|
72195
|
+
"config": {
|
|
72196
|
+
"arrayConfig": {},
|
|
72197
|
+
"baseConfig": {},
|
|
72198
|
+
"formConfig": {
|
|
72199
|
+
"labelWidth": "",
|
|
72200
|
+
"tip": '点击"添加字段",填写展示名称和接口返回的字段路径(如 user.name),供其他组件在数据绑定面板中选择,不影响实际请求逻辑',
|
|
72201
|
+
"tipPosition": "left",
|
|
72202
|
+
"suffixContent": "",
|
|
72203
|
+
"required": false,
|
|
72204
|
+
"requiredMessage": "",
|
|
72205
|
+
"validType": "",
|
|
72206
|
+
"validExpression": "",
|
|
72207
|
+
"validMessage": "",
|
|
72208
|
+
"validMethod": ""
|
|
72209
|
+
},
|
|
72210
|
+
"advancedConfig": {
|
|
72211
|
+
"style": "",
|
|
72212
|
+
"vif": "",
|
|
72213
|
+
"disabled": "",
|
|
72214
|
+
"eventChange": ""
|
|
72215
|
+
}
|
|
72216
|
+
},
|
|
72217
|
+
"formItem": true
|
|
72218
|
+
}
|
|
72219
|
+
],
|
|
72220
|
+
"dataType": "None",
|
|
72221
|
+
"arrayDataType": "",
|
|
72222
|
+
"componentTypeLabel": "栅格行",
|
|
72223
|
+
"componentType": "Row",
|
|
72224
|
+
"formItem": false,
|
|
72225
|
+
"config": {
|
|
72226
|
+
"formConfig": {},
|
|
72227
|
+
"baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
|
|
72228
|
+
"advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
|
|
72229
|
+
"arrayConfig": {}
|
|
72230
|
+
}
|
|
72231
|
+
},
|
|
72232
|
+
{
|
|
72233
|
+
"keyID": "rf_eventSuccess",
|
|
72234
|
+
"keyName": "请求成功事件",
|
|
72235
|
+
"keyCode": "eventSuccess",
|
|
72236
|
+
"children": [],
|
|
72237
|
+
"dataType": "String",
|
|
72238
|
+
"componentTypeLabel": "弹窗选择",
|
|
72239
|
+
"componentType": "DataModal",
|
|
72240
|
+
"icon": "share",
|
|
72241
|
+
"operateType": "button",
|
|
72242
|
+
"slots": [
|
|
72243
|
+
{
|
|
72244
|
+
"name": "default",
|
|
72245
|
+
"children": [
|
|
72246
|
+
{
|
|
72247
|
+
"keyID": "rf_eventSuccess_tip",
|
|
72248
|
+
"keyName": "页面提示",
|
|
72249
|
+
"keyCode": "",
|
|
72250
|
+
"children": [],
|
|
72251
|
+
"dataType": "None",
|
|
72252
|
+
"dataTypeName": "None",
|
|
72253
|
+
"arrayDataTypeName": "",
|
|
72254
|
+
"arrayDataType": "",
|
|
72255
|
+
"componentGroup": "Show",
|
|
72256
|
+
"componentTypeLabel": "页面提示",
|
|
72257
|
+
"componentTypeName": "Tip",
|
|
72258
|
+
"componentName": "ElsTip",
|
|
72259
|
+
"componentType": "Tip",
|
|
72260
|
+
"formItem": false,
|
|
72261
|
+
"componentShow": true,
|
|
72262
|
+
"icon": "tips",
|
|
72263
|
+
"slots": [],
|
|
72264
|
+
"config": {
|
|
72265
|
+
"formConfig": {},
|
|
72266
|
+
"baseConfig": {
|
|
72267
|
+
"title": "事件参数",
|
|
72268
|
+
"content": "响应数据:$event,组件:refs,全局数据:globalData,工具类:utils。请求成功后会自动按 returnRoot 把响应数据写入 globalData,此事件用于额外的自定义逻辑(非必需,可留空)"
|
|
72269
|
+
},
|
|
72270
|
+
"advancedConfig": {},
|
|
72271
|
+
"arrayConfig": {}
|
|
72272
|
+
}
|
|
72273
|
+
},
|
|
72274
|
+
{
|
|
72275
|
+
"keyID": "rf_eventSuccess_editor",
|
|
72276
|
+
"keyName": "编辑事件",
|
|
72277
|
+
"keyCode": "default",
|
|
72278
|
+
"children": [],
|
|
72279
|
+
"dataType": "String",
|
|
72280
|
+
"dataTypeName": "String",
|
|
72281
|
+
"arrayDataTypeName": "",
|
|
72282
|
+
"arrayDataType": "",
|
|
72283
|
+
"componentGroup": "Form",
|
|
72284
|
+
"componentTypeLabel": "Ace编辑器",
|
|
72285
|
+
"componentTypeName": "AceEditor",
|
|
72286
|
+
"componentName": "ElsAceEditor",
|
|
72287
|
+
"componentType": "AceEditor",
|
|
72288
|
+
"formItem": true,
|
|
72289
|
+
"componentShow": true,
|
|
72290
|
+
"icon": "text-style",
|
|
72291
|
+
"slots": [],
|
|
72292
|
+
"config": {
|
|
72293
|
+
"formConfig": {},
|
|
72294
|
+
"baseConfig": {
|
|
72295
|
+
"rows": 10,
|
|
72296
|
+
"readonly": false,
|
|
72297
|
+
"theme": "",
|
|
72298
|
+
"language": ""
|
|
72299
|
+
},
|
|
72300
|
+
"advancedConfig": {},
|
|
72301
|
+
"arrayConfig": {}
|
|
72302
|
+
}
|
|
72303
|
+
}
|
|
72304
|
+
]
|
|
72305
|
+
}
|
|
72306
|
+
],
|
|
72307
|
+
"config": {
|
|
72308
|
+
"formConfig": {},
|
|
72309
|
+
"baseConfig": {
|
|
72310
|
+
"buttonLabel": "编辑事件",
|
|
72311
|
+
"buttonWidth": "100%",
|
|
72312
|
+
"hasInput": false,
|
|
72313
|
+
"inputWidth": "",
|
|
72314
|
+
"title": "请求成功事件",
|
|
72315
|
+
"width": "",
|
|
72316
|
+
"height": "",
|
|
72317
|
+
"targetType": "",
|
|
72318
|
+
"url": "",
|
|
72319
|
+
"dataUrl": "",
|
|
72320
|
+
"buttonComponent": "",
|
|
72321
|
+
"showBadge": true,
|
|
72322
|
+
"buttonProps": { "bg": true, "text": true, "type": "info" },
|
|
72323
|
+
"function_confirm": ""
|
|
72324
|
+
},
|
|
72325
|
+
"advancedConfig": {},
|
|
72326
|
+
"arrayConfig": {}
|
|
72327
|
+
},
|
|
72328
|
+
"formItem": true
|
|
72329
|
+
}
|
|
72330
|
+
],
|
|
72331
|
+
"dataType": "None",
|
|
72332
|
+
"arrayDataType": "",
|
|
72333
|
+
"componentTypeLabel": "Form表单",
|
|
72334
|
+
"componentType": "Form",
|
|
72335
|
+
"config": {
|
|
72336
|
+
"baseConfig": {
|
|
72337
|
+
"inline": false,
|
|
72338
|
+
"labelPosition": "top",
|
|
72339
|
+
"labelWidth": "",
|
|
72340
|
+
"labelSuffix": "",
|
|
72341
|
+
"hideRequiredAsterisk": false,
|
|
72342
|
+
"requireAsteriskPosition": "",
|
|
72343
|
+
"showMessage": true,
|
|
72344
|
+
"inlineMessage": false,
|
|
72345
|
+
"statusIcon": false,
|
|
72346
|
+
"disabled": false,
|
|
72347
|
+
"scrollToError": false,
|
|
72348
|
+
"scrollIntoViewOptions": false
|
|
72349
|
+
},
|
|
72350
|
+
"advancedConfig": {
|
|
72351
|
+
"style": "",
|
|
72352
|
+
"vif": "",
|
|
72353
|
+
"disabled": "",
|
|
72354
|
+
"eventChange": ""
|
|
72355
|
+
},
|
|
72356
|
+
"arrayConfig": {}
|
|
72357
|
+
},
|
|
72358
|
+
"formItem": false
|
|
72359
|
+
}
|
|
72360
|
+
];
|
|
71383
72361
|
const dynamicComponentTypes = [
|
|
71384
72362
|
{
|
|
71385
72363
|
componentName: "ElsInput",
|
|
@@ -72043,6 +73021,21 @@ const dynamicComponentTypes = [
|
|
|
72043
73021
|
isShow: true,
|
|
72044
73022
|
inline: true,
|
|
72045
73023
|
slots: ["default", "content"]
|
|
73024
|
+
},
|
|
73025
|
+
{
|
|
73026
|
+
componentName: "ElsRequestForm",
|
|
73027
|
+
icon: "send",
|
|
73028
|
+
label: "请求表单",
|
|
73029
|
+
value: "RequestForm",
|
|
73030
|
+
type: "RequestForm",
|
|
73031
|
+
dataTypes: ["Object"],
|
|
73032
|
+
defaultPropertys: {},
|
|
73033
|
+
propertys: property_requestForm,
|
|
73034
|
+
events: ["success"],
|
|
73035
|
+
group: "Container",
|
|
73036
|
+
formItem: true,
|
|
73037
|
+
isShow: true,
|
|
73038
|
+
excludeFromResult: true
|
|
72046
73039
|
}
|
|
72047
73040
|
];
|
|
72048
73041
|
const dynamicDataTypes = [
|
|
@@ -72188,6 +73181,7 @@ class DynamicHandler {
|
|
|
72188
73181
|
item.componentName = currcomponentType == null ? void 0 : currcomponentType.componentName;
|
|
72189
73182
|
item.formItem = currcomponentType == null ? void 0 : currcomponentType.formItem;
|
|
72190
73183
|
item.componentGroup = currcomponentType == null ? void 0 : currcomponentType.group;
|
|
73184
|
+
item.excludeFromResult = currcomponentType == null ? void 0 : currcomponentType.excludeFromResult;
|
|
72191
73185
|
if (((currDataType == null ? void 0 : currDataType.type) === "Object" || (currDataType == null ? void 0 : currDataType.type) === "Array") && !item.componentTypeName) {
|
|
72192
73186
|
item.formItem = true;
|
|
72193
73187
|
item.componentGroup = "Form";
|
|
@@ -72589,6 +73583,9 @@ class DynamicHandler {
|
|
|
72589
73583
|
}
|
|
72590
73584
|
itemValue(item) {
|
|
72591
73585
|
let currValue = {};
|
|
73586
|
+
if (item.excludeFromResult) {
|
|
73587
|
+
return currValue;
|
|
73588
|
+
}
|
|
72592
73589
|
if (item.formItem || item.componentGroup === "Form" || item.dataTypeName == "Array" || item.dataType === "Object") {
|
|
72593
73590
|
if (item.dataTypeName == "Object" && item.keyCode && !item.componentTypeName) {
|
|
72594
73591
|
currValue[item.keyCode] = this.childResult(item);
|
|
@@ -72628,7 +73625,7 @@ const _hoisted_2$k = {
|
|
|
72628
73625
|
key: 0,
|
|
72629
73626
|
class: "els-tool"
|
|
72630
73627
|
};
|
|
72631
|
-
const _sfc_main$
|
|
73628
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
72632
73629
|
...{
|
|
72633
73630
|
name: "ElsContainer"
|
|
72634
73631
|
},
|
|
@@ -73209,7 +74206,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
73209
74206
|
};
|
|
73210
74207
|
}
|
|
73211
74208
|
});
|
|
73212
|
-
const Container = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
74209
|
+
const Container = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["__scopeId", "data-v-b15ec31d"]]);
|
|
73213
74210
|
const ElsContainer = withInstall$1(Container);
|
|
73214
74211
|
const createProps = buildProps({
|
|
73215
74212
|
/**
|
|
@@ -73246,7 +74243,7 @@ const createProps = buildProps({
|
|
|
73246
74243
|
const _hoisted_1$15 = { class: "els-dynamic-create" };
|
|
73247
74244
|
const _hoisted_2$j = { style: { "margin-bottom": "10px" } };
|
|
73248
74245
|
const _hoisted_3$g = { class: "dialog-footer" };
|
|
73249
|
-
const _sfc_main$
|
|
74246
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
73250
74247
|
...{
|
|
73251
74248
|
name: "ElsDynamicCreate"
|
|
73252
74249
|
},
|
|
@@ -73544,7 +74541,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
73544
74541
|
};
|
|
73545
74542
|
}
|
|
73546
74543
|
});
|
|
73547
|
-
const ElsDynamicCreate = withInstall$1(_sfc_main$
|
|
74544
|
+
const ElsDynamicCreate = withInstall$1(_sfc_main$1m);
|
|
73548
74545
|
const _hoisted_1$14 = {
|
|
73549
74546
|
key: 0,
|
|
73550
74547
|
class: "tag-name"
|
|
@@ -73649,7 +74646,7 @@ const _hoisted_36 = {
|
|
|
73649
74646
|
};
|
|
73650
74647
|
const _hoisted_37 = { class: "els-dynamic-d-oper" };
|
|
73651
74648
|
const _hoisted_38 = { class: "dialog-footer" };
|
|
73652
|
-
const _sfc_main$
|
|
74649
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
73653
74650
|
...{
|
|
73654
74651
|
name: "ElsDynamicDesigner"
|
|
73655
74652
|
},
|
|
@@ -73667,7 +74664,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
73667
74664
|
emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
|
|
73668
74665
|
setup(__props, { emit: __emit }) {
|
|
73669
74666
|
const DynamicDesignerInnerItem = defineAsyncComponent(() => {
|
|
73670
|
-
return import("./innerItem-
|
|
74667
|
+
return import("./innerItem-DZT7gaYq.js");
|
|
73671
74668
|
});
|
|
73672
74669
|
const { getValue: getValue2 } = useProps();
|
|
73673
74670
|
const tagID = getValue2("tagID");
|
|
@@ -73998,7 +74995,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
73998
74995
|
};
|
|
73999
74996
|
}
|
|
74000
74997
|
});
|
|
74001
|
-
const DynamicDesignerInner = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
74998
|
+
const DynamicDesignerInner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-9f8f7295"]]);
|
|
74002
74999
|
const designerProps = buildProps({
|
|
74003
75000
|
...formItemProps$1,
|
|
74004
75001
|
/**
|
|
@@ -74127,7 +75124,7 @@ const designerProps = buildProps({
|
|
|
74127
75124
|
}
|
|
74128
75125
|
});
|
|
74129
75126
|
const _hoisted_1$13 = { class: "els-dynamic-config-tool" };
|
|
74130
|
-
const _sfc_main$
|
|
75127
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
74131
75128
|
...{
|
|
74132
75129
|
name: "ElsDynamicDesigner"
|
|
74133
75130
|
},
|
|
@@ -74193,7 +75190,17 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
74193
75190
|
dataTypes: ["String"],
|
|
74194
75191
|
isShow: false
|
|
74195
75192
|
}];
|
|
74196
|
-
|
|
75193
|
+
const schemaFieldEditorTypes = [{
|
|
75194
|
+
componentName: "ElsSchemaFieldEditor",
|
|
75195
|
+
label: "字段结构编辑器",
|
|
75196
|
+
value: "SchemaFieldEditor",
|
|
75197
|
+
type: "SchemaFieldEditor",
|
|
75198
|
+
group: "Form",
|
|
75199
|
+
formItem: true,
|
|
75200
|
+
dataTypes: ["String"],
|
|
75201
|
+
isShow: false
|
|
75202
|
+
}];
|
|
75203
|
+
currComponentTypes.value.push(...conditionBuilderTypes, ...expressionInputTypes, ...schemaFieldEditorTypes);
|
|
74197
75204
|
const dynamicHandler = new DynamicHandler(currDynamicDataType.value, currComponentTypes.value);
|
|
74198
75205
|
function getConverToJsonResult(obj2) {
|
|
74199
75206
|
return dynamicHandler.jsonToConfig(obj2);
|
|
@@ -74548,7 +75555,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
74548
75555
|
};
|
|
74549
75556
|
}
|
|
74550
75557
|
});
|
|
74551
|
-
const Designer = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75558
|
+
const Designer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["__scopeId", "data-v-f7275d9d"]]);
|
|
74552
75559
|
const ElsDynamicDesigner = withInstall$1(Designer);
|
|
74553
75560
|
const renderProps = buildProps({
|
|
74554
75561
|
...formItemProps$1,
|
|
@@ -74638,7 +75645,7 @@ const renderProps = buildProps({
|
|
|
74638
75645
|
});
|
|
74639
75646
|
const _hoisted_1$12 = { class: "els-node els-dynamic-render" };
|
|
74640
75647
|
const _hoisted_2$h = { class: "els-dynamic-render-inner" };
|
|
74641
|
-
const _sfc_main$
|
|
75648
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
74642
75649
|
...{
|
|
74643
75650
|
name: "ElsDynamicRender"
|
|
74644
75651
|
},
|
|
@@ -74647,10 +75654,10 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
74647
75654
|
emits: ["update:modelValue"],
|
|
74648
75655
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
74649
75656
|
const DynamicRenderInner = defineAsyncComponent(() => {
|
|
74650
|
-
return import("./inner-
|
|
75657
|
+
return import("./inner-L97xvW77.js").then((n) => n.i);
|
|
74651
75658
|
});
|
|
74652
75659
|
const DynamicRenderForm = defineAsyncComponent(() => {
|
|
74653
|
-
return import("./inner-
|
|
75660
|
+
return import("./inner-L97xvW77.js").then((n) => n.f);
|
|
74654
75661
|
});
|
|
74655
75662
|
const props2 = __props;
|
|
74656
75663
|
const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
|
|
@@ -74868,10 +75875,10 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
74868
75875
|
};
|
|
74869
75876
|
}
|
|
74870
75877
|
});
|
|
74871
|
-
const DynamicRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75878
|
+
const DynamicRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["__scopeId", "data-v-7093d0ee"]]);
|
|
74872
75879
|
const _hoisted_1$11 = { class: "els-node els-dynamic-render" };
|
|
74873
75880
|
const _hoisted_2$g = { class: "els-dynamic-render-inner" };
|
|
74874
|
-
const _sfc_main$
|
|
75881
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
74875
75882
|
...{
|
|
74876
75883
|
name: "ElsDynamicRenderAsync"
|
|
74877
75884
|
},
|
|
@@ -74880,10 +75887,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
74880
75887
|
emits: ["update:modelValue"],
|
|
74881
75888
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
74882
75889
|
const DynamicRenderInnerAsync = defineAsyncComponent(() => {
|
|
74883
|
-
return import("./inner-
|
|
75890
|
+
return import("./inner-L97xvW77.js").then((n) => n.i);
|
|
74884
75891
|
});
|
|
74885
75892
|
const DynamicRenderFormAsync = defineAsyncComponent(() => {
|
|
74886
|
-
return import("./inner-
|
|
75893
|
+
return import("./inner-L97xvW77.js").then((n) => n.f);
|
|
74887
75894
|
});
|
|
74888
75895
|
const props2 = __props;
|
|
74889
75896
|
const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
|
|
@@ -75091,14 +76098,14 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
75091
76098
|
};
|
|
75092
76099
|
}
|
|
75093
76100
|
});
|
|
75094
|
-
const DynamicRenderAsync = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
76101
|
+
const DynamicRenderAsync = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["__scopeId", "data-v-a96b65cd"]]);
|
|
75095
76102
|
const renderAsync = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
75096
76103
|
__proto__: null,
|
|
75097
76104
|
default: DynamicRenderAsync
|
|
75098
76105
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
75099
76106
|
const ElsRender = withInstall$1(DynamicRender);
|
|
75100
76107
|
const ElsRenderAsync = withInstall$1(DynamicRenderAsync);
|
|
75101
|
-
const _sfc_main$
|
|
76108
|
+
const _sfc_main$1h = {};
|
|
75102
76109
|
const _hoisted_1$10 = {
|
|
75103
76110
|
width: "24",
|
|
75104
76111
|
height: "24",
|
|
@@ -75142,8 +76149,8 @@ function _sfc_render$H(_ctx, _cache) {
|
|
|
75142
76149
|
}, null, -1)
|
|
75143
76150
|
])]);
|
|
75144
76151
|
}
|
|
75145
|
-
const Text = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75146
|
-
const _sfc_main$
|
|
76152
|
+
const Text = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$H]]);
|
|
76153
|
+
const _sfc_main$1g = {};
|
|
75147
76154
|
const _hoisted_1$$ = {
|
|
75148
76155
|
width: "24",
|
|
75149
76156
|
height: "24",
|
|
@@ -75156,8 +76163,8 @@ function _sfc_render$G(_ctx, _cache) {
|
|
|
75156
76163
|
createStaticVNode('<path d="M9.58303 27.1824C7.86719 28.3542 7.00928 30.2934 7.00928 33.0002C7.00928 37.0602 12.0001 44.0002 16.5006 44.0002C21.001 44.0002 23.6111 44.0002 28.016 44.0002C32.421 44.0002 35.0965 40.1495 35.0965 37.0602C35.0965 32.9069 35.0965 28.7536 35.0965 24.6002C35.0965 22.8072 33.6456 21.3522 31.8525 21.3472C30.0659 21.3422 28.6135 22.7865 28.6085 24.5731C28.6085 24.5761 28.6085 24.5791 28.6085 24.5821V24.6836" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M10.9814 29.4453V7.66246C10.9814 5.88568 12.4218 4.44531 14.1986 4.44531C15.9754 4.44531 17.4157 5.88568 17.4157 7.66246V23.6479" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M17.4155 24.0001V19.8076C17.4155 18.2589 18.671 17.0034 20.2197 17.0034C21.7684 17.0034 23.0239 18.2589 23.0239 19.8076V24.4272" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23 24.6583V21.8076C23 20.2589 24.2555 19.0034 25.8042 19.0034C27.3529 19.0034 28.6084 20.2589 28.6084 21.8076V25.0034" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 8H41" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M36 12.5L37.6667 11L41 8L37.6667 5L36 3.5" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 6)
|
|
75157
76164
|
])]);
|
|
75158
76165
|
}
|
|
75159
|
-
const HandDrag = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75160
|
-
const _sfc_main$
|
|
76166
|
+
const HandDrag = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$G]]);
|
|
76167
|
+
const _sfc_main$1f = {};
|
|
75161
76168
|
const _hoisted_1$_ = {
|
|
75162
76169
|
width: "24",
|
|
75163
76170
|
height: "24",
|
|
@@ -75183,8 +76190,8 @@ function _sfc_render$F(_ctx, _cache) {
|
|
|
75183
76190
|
}, null, -1)
|
|
75184
76191
|
])]);
|
|
75185
76192
|
}
|
|
75186
|
-
const ExpandTextInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75187
|
-
const _sfc_main$
|
|
76193
|
+
const ExpandTextInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_render$F]]);
|
|
76194
|
+
const _sfc_main$1e = {};
|
|
75188
76195
|
const _hoisted_1$Z = {
|
|
75189
76196
|
width: "24",
|
|
75190
76197
|
height: "24",
|
|
@@ -75197,8 +76204,8 @@ function _sfc_render$E(_ctx, _cache) {
|
|
|
75197
76204
|
createStaticVNode('<path d="M20 9H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20 19H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20 29H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20 39H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6 29H12V32L6 38V39H12" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 11L9 9V19M9 19H7M9 19H11" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 6)
|
|
75198
76205
|
])]);
|
|
75199
76206
|
}
|
|
75200
|
-
const ListNumbers = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75201
|
-
const _sfc_main$
|
|
76207
|
+
const ListNumbers = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sfc_render$E]]);
|
|
76208
|
+
const _sfc_main$1d = {};
|
|
75202
76209
|
const _hoisted_1$Y = {
|
|
75203
76210
|
width: "24",
|
|
75204
76211
|
height: "24",
|
|
@@ -75239,8 +76246,8 @@ function _sfc_render$D(_ctx, _cache) {
|
|
|
75239
76246
|
}, null, -1)
|
|
75240
76247
|
])]);
|
|
75241
76248
|
}
|
|
75242
|
-
const SwitchOne = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75243
|
-
const _sfc_main$
|
|
76249
|
+
const SwitchOne = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["render", _sfc_render$D]]);
|
|
76250
|
+
const _sfc_main$1c = {};
|
|
75244
76251
|
const _hoisted_1$X = {
|
|
75245
76252
|
width: "24",
|
|
75246
76253
|
height: "24",
|
|
@@ -75253,8 +76260,8 @@ function _sfc_render$C(_ctx, _cache) {
|
|
|
75253
76260
|
createStaticVNode('<path fill-rule="evenodd" clip-rule="evenodd" d="M20 24H44H20Z" fill="none"></path><path d="M20 24H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M20 38H44H20Z" fill="none"></path><path d="M20 38H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M20 10H44H20Z" fill="none"></path><path d="M20 10H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><rect x="4" y="34" width="8" height="8" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect><rect x="4" y="20" width="8" height="8" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect><rect x="4" y="6" width="8" height="8" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect>', 9)
|
|
75254
76261
|
])]);
|
|
75255
76262
|
}
|
|
75256
|
-
const ListCheckbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75257
|
-
const _sfc_main$
|
|
76263
|
+
const ListCheckbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["render", _sfc_render$C]]);
|
|
76264
|
+
const _sfc_main$1b = {};
|
|
75258
76265
|
const _hoisted_1$W = {
|
|
75259
76266
|
width: "24",
|
|
75260
76267
|
height: "24",
|
|
@@ -75294,8 +76301,8 @@ function _sfc_render$B(_ctx, _cache) {
|
|
|
75294
76301
|
}, null, -1)
|
|
75295
76302
|
])]);
|
|
75296
76303
|
}
|
|
75297
|
-
const FullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75298
|
-
const _sfc_main$
|
|
76304
|
+
const FullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_render$B]]);
|
|
76305
|
+
const _sfc_main$1a = {};
|
|
75299
76306
|
const _hoisted_1$V = {
|
|
75300
76307
|
width: "24",
|
|
75301
76308
|
height: "24",
|
|
@@ -75325,8 +76332,8 @@ function _sfc_render$A(_ctx, _cache) {
|
|
|
75325
76332
|
}, null, -1)
|
|
75326
76333
|
])]);
|
|
75327
76334
|
}
|
|
75328
|
-
const RadioTwo = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75329
|
-
const _sfc_main$
|
|
76335
|
+
const RadioTwo = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["render", _sfc_render$A]]);
|
|
76336
|
+
const _sfc_main$19 = {};
|
|
75330
76337
|
const _hoisted_1$U = {
|
|
75331
76338
|
width: "24",
|
|
75332
76339
|
height: "24",
|
|
@@ -75339,8 +76346,8 @@ function _sfc_render$z(_ctx, _cache) {
|
|
|
75339
76346
|
createStaticVNode('<path d="M44 24C44 22.8954 43.1046 22 42 22C40.8954 22 40 22.8954 40 24H44ZM24 8C25.1046 8 26 7.10457 26 6C26 4.89543 25.1046 4 24 4V8ZM39 40H9V44H39V40ZM8 39V9H4V39H8ZM40 24V39H44V24H40ZM9 8H24V4H9V8ZM9 40C8.44772 40 8 39.5523 8 39H4C4 41.7614 6.23857 44 9 44V40ZM39 44C41.7614 44 44 41.7614 44 39H40C40 39.5523 39.5523 40 39 40V44ZM8 9C8 8.44772 8.44771 8 9 8V4C6.23858 4 4 6.23857 4 9H8Z" fill="#333"></path><path d="M6 35L16.6931 25.198C17.4389 24.5143 18.5779 24.4953 19.3461 25.1538L32 36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M28 31L32.7735 26.2265C33.4772 25.5228 34.5914 25.4436 35.3877 26.0408L42 31" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M30 12L42 12" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M36 6V18" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 5)
|
|
75340
76347
|
])]);
|
|
75341
76348
|
}
|
|
75342
|
-
const AddPicture = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75343
|
-
const _sfc_main$
|
|
76349
|
+
const AddPicture = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render", _sfc_render$z]]);
|
|
76350
|
+
const _sfc_main$18 = {};
|
|
75344
76351
|
const _hoisted_1$T = {
|
|
75345
76352
|
width: "24",
|
|
75346
76353
|
height: "24",
|
|
@@ -75353,8 +76360,8 @@ function _sfc_render$y(_ctx, _cache) {
|
|
|
75353
76360
|
createStaticVNode('<rect x="6" y="6" width="30" height="30" rx="2" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect><path d="M42 12V39C42 40.6569 40.6569 42 39 42H12" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6 25L13.6562 18.1944C14.4204 17.5152 15.5738 17.5216 16.3303 18.2094L26 27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 23L26.7849 19.0125C27.4971 18.4191 28.5237 18.3928 29.2653 18.949L36 24" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6 19L6 27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M36 19V27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 6)
|
|
75354
76361
|
])]);
|
|
75355
76362
|
}
|
|
75356
|
-
const PictureAlbum = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75357
|
-
const _sfc_main$
|
|
76363
|
+
const PictureAlbum = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["render", _sfc_render$y]]);
|
|
76364
|
+
const _sfc_main$17 = {};
|
|
75358
76365
|
const _hoisted_1$S = {
|
|
75359
76366
|
width: "24",
|
|
75360
76367
|
height: "24",
|
|
@@ -75367,8 +76374,8 @@ function _sfc_render$x(_ctx, _cache) {
|
|
|
75367
76374
|
createStaticVNode('<mask id="icon-27acf327f10b972" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48" style="mask-type:alpha;"><path d="M48 0H0V48H48V0Z" fill="#333"></path></mask><g mask="url(#icon-27acf327f10b972)"><path d="M6 24.0083V42H42V24" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M33 15L24 6L15 15" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23.9917 32V6" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path></g>', 2)
|
|
75368
76375
|
])]);
|
|
75369
76376
|
}
|
|
75370
|
-
const Upload2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75371
|
-
const _sfc_main$
|
|
76377
|
+
const Upload2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["render", _sfc_render$x]]);
|
|
76378
|
+
const _sfc_main$16 = {};
|
|
75372
76379
|
const _hoisted_1$R = {
|
|
75373
76380
|
width: "24",
|
|
75374
76381
|
height: "24",
|
|
@@ -75401,8 +76408,8 @@ function _sfc_render$w(_ctx, _cache) {
|
|
|
75401
76408
|
}, null, -1)
|
|
75402
76409
|
])]);
|
|
75403
76410
|
}
|
|
75404
|
-
const Share = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75405
|
-
const _sfc_main$
|
|
76411
|
+
const Share = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["render", _sfc_render$w]]);
|
|
76412
|
+
const _sfc_main$15 = {};
|
|
75406
76413
|
const _hoisted_1$Q = {
|
|
75407
76414
|
width: "24",
|
|
75408
76415
|
height: "24",
|
|
@@ -75415,8 +76422,8 @@ function _sfc_render$v(_ctx, _cache) {
|
|
|
75415
76422
|
createStaticVNode('<rect x="4" y="4" width="40" height="40" rx="2" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></rect><path d="M4 14H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><line x1="44" y1="11" x2="44" y2="23" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></line><path d="M12 22H16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 22H26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M32 22H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 29H16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 29H26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M32 29H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 36H16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 36H26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M32 36H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><line x1="4" y1="11" x2="4" y2="23" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></line>', 13)
|
|
75416
76423
|
])]);
|
|
75417
76424
|
}
|
|
75418
|
-
const CalendarDot = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75419
|
-
const _sfc_main$
|
|
76425
|
+
const CalendarDot = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["render", _sfc_render$v]]);
|
|
76426
|
+
const _sfc_main$14 = {};
|
|
75420
76427
|
const _hoisted_1$P = {
|
|
75421
76428
|
width: "24",
|
|
75422
76429
|
height: "24",
|
|
@@ -75442,8 +76449,8 @@ function _sfc_render$u(_ctx, _cache) {
|
|
|
75442
76449
|
}, null, -1)
|
|
75443
76450
|
])]);
|
|
75444
76451
|
}
|
|
75445
|
-
const Time = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75446
|
-
const _sfc_main$
|
|
76452
|
+
const Time = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$u]]);
|
|
76453
|
+
const _sfc_main$13 = {};
|
|
75447
76454
|
const _hoisted_1$O = {
|
|
75448
76455
|
width: "24",
|
|
75449
76456
|
height: "24",
|
|
@@ -75456,8 +76463,8 @@ function _sfc_render$t(_ctx, _cache) {
|
|
|
75456
76463
|
createStaticVNode('<path d="M38 20H18V28H38V20Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></path><path d="M32 6H18V14H32V6Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></path><path d="M44 34H18V42H44V34Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></path><path d="M17 10H5" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 24H5" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 38H5" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 44V4" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 7)
|
|
75457
76464
|
])]);
|
|
75458
76465
|
}
|
|
75459
|
-
const TreeList = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75460
|
-
const _sfc_main$
|
|
76466
|
+
const TreeList = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$t]]);
|
|
76467
|
+
const _sfc_main$12 = {};
|
|
75461
76468
|
const _hoisted_1$N = {
|
|
75462
76469
|
width: "24",
|
|
75463
76470
|
height: "24",
|
|
@@ -75483,8 +76490,8 @@ function _sfc_render$s(_ctx, _cache) {
|
|
|
75483
76490
|
}, null, -1)
|
|
75484
76491
|
])]);
|
|
75485
76492
|
}
|
|
75486
|
-
const Planet = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75487
|
-
const _sfc_main$
|
|
76493
|
+
const Planet = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["render", _sfc_render$s]]);
|
|
76494
|
+
const _sfc_main$11 = {};
|
|
75488
76495
|
const _hoisted_1$M = {
|
|
75489
76496
|
width: "24",
|
|
75490
76497
|
height: "24",
|
|
@@ -75513,8 +76520,8 @@ function _sfc_render$r(_ctx, _cache) {
|
|
|
75513
76520
|
}, null, -1)
|
|
75514
76521
|
])]);
|
|
75515
76522
|
}
|
|
75516
|
-
const Word = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75517
|
-
const _sfc_main$
|
|
76523
|
+
const Word = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$r]]);
|
|
76524
|
+
const _sfc_main$10 = {};
|
|
75518
76525
|
const _hoisted_1$L = {
|
|
75519
76526
|
width: "24",
|
|
75520
76527
|
height: "24",
|
|
@@ -75527,8 +76534,8 @@ function _sfc_render$q(_ctx, _cache) {
|
|
|
75527
76534
|
createStaticVNode('<path d="M32 6H42V16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 32L19.1875 27M31 32L28.8125 27M19.1875 27L24 16L28.8125 27M19.1875 27H28.8125" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 6H6V16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M32 42H42V32" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 42H6V32" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 5)
|
|
75528
76535
|
])]);
|
|
75529
76536
|
}
|
|
75530
|
-
const TextStyle = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75531
|
-
const _sfc_main
|
|
76537
|
+
const TextStyle = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$q]]);
|
|
76538
|
+
const _sfc_main$$ = {};
|
|
75532
76539
|
const _hoisted_1$K = {
|
|
75533
76540
|
width: "24",
|
|
75534
76541
|
height: "24",
|
|
@@ -75572,8 +76579,8 @@ function _sfc_render$p(_ctx, _cache) {
|
|
|
75572
76579
|
}, null, -1)
|
|
75573
76580
|
])]);
|
|
75574
76581
|
}
|
|
75575
|
-
const LayoutTwo = /* @__PURE__ */ _export_sfc$1(_sfc_main
|
|
75576
|
-
const _sfc_main
|
|
76582
|
+
const LayoutTwo = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$p]]);
|
|
76583
|
+
const _sfc_main$_ = {};
|
|
75577
76584
|
const _hoisted_1$J = {
|
|
75578
76585
|
width: "24",
|
|
75579
76586
|
height: "24",
|
|
@@ -75586,8 +76593,8 @@ function _sfc_render$o(_ctx, _cache) {
|
|
|
75586
76593
|
createStaticVNode('<rect x="6" y="6" width="36" height="36" rx="3" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect><path d="M34 6V42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 6V42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M31 42H37" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 42H17" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 6H17" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M30 6H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 7)
|
|
75587
76594
|
])]);
|
|
75588
76595
|
}
|
|
75589
|
-
const Margin = /* @__PURE__ */ _export_sfc$1(_sfc_main
|
|
75590
|
-
const _sfc_main$
|
|
76596
|
+
const Margin = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$o]]);
|
|
76597
|
+
const _sfc_main$Z = {};
|
|
75591
76598
|
const _hoisted_1$I = {
|
|
75592
76599
|
width: "24",
|
|
75593
76600
|
height: "24",
|
|
@@ -75617,8 +76624,8 @@ function _sfc_render$n(_ctx, _cache) {
|
|
|
75617
76624
|
}, null, -1)
|
|
75618
76625
|
])]);
|
|
75619
76626
|
}
|
|
75620
|
-
const Label = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75621
|
-
const _sfc_main$
|
|
76627
|
+
const Label = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$n]]);
|
|
76628
|
+
const _sfc_main$Y = {};
|
|
75622
76629
|
const _hoisted_1$H = {
|
|
75623
76630
|
width: "24",
|
|
75624
76631
|
height: "24",
|
|
@@ -75654,8 +76661,8 @@ function _sfc_render$m(_ctx, _cache) {
|
|
|
75654
76661
|
}, null, -1)
|
|
75655
76662
|
])]);
|
|
75656
76663
|
}
|
|
75657
|
-
const Bookmark = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75658
|
-
const _sfc_main$
|
|
76664
|
+
const Bookmark = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$m]]);
|
|
76665
|
+
const _sfc_main$X = {};
|
|
75659
76666
|
const _hoisted_1$G = {
|
|
75660
76667
|
width: "24",
|
|
75661
76668
|
height: "24",
|
|
@@ -75668,8 +76675,8 @@ function _sfc_render$l(_ctx, _cache) {
|
|
|
75668
76675
|
createStaticVNode('<rect x="6" y="6" width="36" height="36" rx="3" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></rect><path d="M6 14H40" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M30 22H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M30 30H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23 22H24" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23 30H24" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 6L14 42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 7)
|
|
75669
76676
|
])]);
|
|
75670
76677
|
}
|
|
75671
|
-
const FormOne = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75672
|
-
const _sfc_main$
|
|
76678
|
+
const FormOne = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$l]]);
|
|
76679
|
+
const _sfc_main$W = {};
|
|
75673
76680
|
const _hoisted_1$F = {
|
|
75674
76681
|
width: "24",
|
|
75675
76682
|
height: "24",
|
|
@@ -75709,8 +76716,8 @@ function _sfc_render$k(_ctx, _cache) {
|
|
|
75709
76716
|
}, null, -1)
|
|
75710
76717
|
])]);
|
|
75711
76718
|
}
|
|
75712
|
-
const MenuUnfold = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75713
|
-
const _sfc_main$
|
|
76719
|
+
const MenuUnfold = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$k]]);
|
|
76720
|
+
const _sfc_main$V = {};
|
|
75714
76721
|
const _hoisted_1$E = {
|
|
75715
76722
|
width: "24",
|
|
75716
76723
|
height: "24",
|
|
@@ -75743,8 +76750,8 @@ function _sfc_render$j(_ctx, _cache) {
|
|
|
75743
76750
|
}, null, -1)
|
|
75744
76751
|
])]);
|
|
75745
76752
|
}
|
|
75746
|
-
const HamburgerButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75747
|
-
const _sfc_main$
|
|
76753
|
+
const HamburgerButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$j]]);
|
|
76754
|
+
const _sfc_main$U = {};
|
|
75748
76755
|
const _hoisted_1$D = {
|
|
75749
76756
|
width: "24",
|
|
75750
76757
|
height: "24",
|
|
@@ -75757,8 +76764,8 @@ function _sfc_render$i(_ctx, _cache) {
|
|
|
75757
76764
|
createStaticVNode('<path d="M4 10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V38C44 39.1046 43.1046 40 42 40H6C4.89543 40 4 39.1046 4 38V10Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></path><path d="M4 16H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M27 32H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M44 10V26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M4 10V26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 5)
|
|
75758
76765
|
])]);
|
|
75759
76766
|
}
|
|
75760
|
-
const BankCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75761
|
-
const _sfc_main$
|
|
76767
|
+
const BankCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$i]]);
|
|
76768
|
+
const _sfc_main$T = {};
|
|
75762
76769
|
const _hoisted_1$C = {
|
|
75763
76770
|
width: "24",
|
|
75764
76771
|
height: "24",
|
|
@@ -75790,8 +76797,8 @@ function _sfc_render$h(_ctx, _cache) {
|
|
|
75790
76797
|
}, null, -1)
|
|
75791
76798
|
])]);
|
|
75792
76799
|
}
|
|
75793
|
-
const Code = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75794
|
-
const _sfc_main$
|
|
76800
|
+
const Code = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$h]]);
|
|
76801
|
+
const _sfc_main$S = {};
|
|
75795
76802
|
const _hoisted_1$B = {
|
|
75796
76803
|
width: "24",
|
|
75797
76804
|
height: "24",
|
|
@@ -75804,8 +76811,8 @@ function _sfc_render$g(_ctx, _cache) {
|
|
|
75804
76811
|
createStaticVNode('<path d="M5 24H43" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 38H27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M37 38H43" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 10H27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 38H11" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 10H11" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M37 10H43" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 7)
|
|
75805
76812
|
])]);
|
|
75806
76813
|
}
|
|
75807
|
-
const DividingLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75808
|
-
const _sfc_main$
|
|
76814
|
+
const DividingLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$g]]);
|
|
76815
|
+
const _sfc_main$R = {};
|
|
75809
76816
|
const _hoisted_1$A = {
|
|
75810
76817
|
width: "24",
|
|
75811
76818
|
height: "24",
|
|
@@ -75839,8 +76846,8 @@ function _sfc_render$f(_ctx, _cache) {
|
|
|
75839
76846
|
}, null, -1)
|
|
75840
76847
|
])]);
|
|
75841
76848
|
}
|
|
75842
|
-
const Tips = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75843
|
-
const _sfc_main$
|
|
76849
|
+
const Tips = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$f]]);
|
|
76850
|
+
const _sfc_main$Q = {};
|
|
75844
76851
|
const _hoisted_1$z = {
|
|
75845
76852
|
width: "24",
|
|
75846
76853
|
height: "24",
|
|
@@ -75853,8 +76860,8 @@ function _sfc_render$e(_ctx, _cache) {
|
|
|
75853
76860
|
createStaticVNode('<path d="M44 8H4V38H19L24 43L29 38H44V8Z" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 15L20 32" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M28 15L27 32" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M33 20L16 20" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M32 27L15 27" stroke="#333" stroke-width="4" stroke-linecap="round"></path>', 5)
|
|
75854
76861
|
])]);
|
|
75855
76862
|
}
|
|
75856
|
-
const TopicDiscussion = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75857
|
-
const _sfc_main$
|
|
76863
|
+
const TopicDiscussion = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$e]]);
|
|
76864
|
+
const _sfc_main$P = {};
|
|
75858
76865
|
const _hoisted_1$y = {
|
|
75859
76866
|
width: "25",
|
|
75860
76867
|
height: "25",
|
|
@@ -75875,8 +76882,8 @@ function _sfc_render$d(_ctx, _cache) {
|
|
|
75875
76882
|
}, null, -1)
|
|
75876
76883
|
])]);
|
|
75877
76884
|
}
|
|
75878
|
-
const Back = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75879
|
-
const _sfc_main$
|
|
76885
|
+
const Back = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$d]]);
|
|
76886
|
+
const _sfc_main$O = {};
|
|
75880
76887
|
const _hoisted_1$x = {
|
|
75881
76888
|
width: "25",
|
|
75882
76889
|
height: "25",
|
|
@@ -75897,8 +76904,8 @@ function _sfc_render$c(_ctx, _cache) {
|
|
|
75897
76904
|
}, null, -1)
|
|
75898
76905
|
])]);
|
|
75899
76906
|
}
|
|
75900
|
-
const Next = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75901
|
-
const _sfc_main$
|
|
76907
|
+
const Next = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$c]]);
|
|
76908
|
+
const _sfc_main$N = {};
|
|
75902
76909
|
const _hoisted_1$w = {
|
|
75903
76910
|
t: "1722952350799",
|
|
75904
76911
|
class: "icon",
|
|
@@ -75918,8 +76925,8 @@ function _sfc_render$b(_ctx, _cache) {
|
|
|
75918
76925
|
}, null, -1)
|
|
75919
76926
|
])]);
|
|
75920
76927
|
}
|
|
75921
|
-
const Json = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75922
|
-
const _sfc_main$
|
|
76928
|
+
const Json = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$b]]);
|
|
76929
|
+
const _sfc_main$M = {};
|
|
75923
76930
|
const _hoisted_1$v = {
|
|
75924
76931
|
width: "25",
|
|
75925
76932
|
height: "25",
|
|
@@ -75959,8 +76966,8 @@ function _sfc_render$a(_ctx, _cache) {
|
|
|
75959
76966
|
}, null, -1)
|
|
75960
76967
|
])]);
|
|
75961
76968
|
}
|
|
75962
|
-
const Platte = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75963
|
-
const _sfc_main$
|
|
76969
|
+
const Platte = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$a]]);
|
|
76970
|
+
const _sfc_main$L = {};
|
|
75964
76971
|
const _hoisted_1$u = {
|
|
75965
76972
|
t: "1722952854816",
|
|
75966
76973
|
class: "icon",
|
|
@@ -75983,8 +76990,8 @@ function _sfc_render$9(_ctx, _cache) {
|
|
|
75983
76990
|
}, null, -1)
|
|
75984
76991
|
])]);
|
|
75985
76992
|
}
|
|
75986
|
-
const QueryForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
75987
|
-
const _sfc_main$
|
|
76993
|
+
const QueryForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$9]]);
|
|
76994
|
+
const _sfc_main$K = {};
|
|
75988
76995
|
const _hoisted_1$t = {
|
|
75989
76996
|
t: "1722953108155",
|
|
75990
76997
|
class: "icon",
|
|
@@ -76015,8 +77022,8 @@ function _sfc_render$8(_ctx, _cache) {
|
|
|
76015
77022
|
}, null, -1)
|
|
76016
77023
|
])]);
|
|
76017
77024
|
}
|
|
76018
|
-
const ExportButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
76019
|
-
const _sfc_main$
|
|
77025
|
+
const ExportButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$8]]);
|
|
77026
|
+
const _sfc_main$J = {};
|
|
76020
77027
|
const _hoisted_1$s = {
|
|
76021
77028
|
t: "1722953211989",
|
|
76022
77029
|
class: "icon",
|
|
@@ -76035,8 +77042,8 @@ function _sfc_render$7(_ctx, _cache) {
|
|
|
76035
77042
|
}, null, -1)
|
|
76036
77043
|
])]);
|
|
76037
77044
|
}
|
|
76038
|
-
const Table = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
76039
|
-
const _sfc_main$
|
|
77045
|
+
const Table = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$7]]);
|
|
77046
|
+
const _sfc_main$I = {};
|
|
76040
77047
|
const _hoisted_1$r = {
|
|
76041
77048
|
t: "1722953305278",
|
|
76042
77049
|
class: "icon",
|
|
@@ -76059,8 +77066,8 @@ function _sfc_render$6(_ctx, _cache) {
|
|
|
76059
77066
|
}, null, -1)
|
|
76060
77067
|
])]);
|
|
76061
77068
|
}
|
|
76062
|
-
const SearchButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
76063
|
-
const _sfc_main$
|
|
77069
|
+
const SearchButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$6]]);
|
|
77070
|
+
const _sfc_main$H = {};
|
|
76064
77071
|
const _hoisted_1$q = {
|
|
76065
77072
|
t: "1722953426019",
|
|
76066
77073
|
class: "icon",
|
|
@@ -76083,8 +77090,8 @@ function _sfc_render$5(_ctx, _cache) {
|
|
|
76083
77090
|
}, null, -1)
|
|
76084
77091
|
])]);
|
|
76085
77092
|
}
|
|
76086
|
-
const Tag = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
76087
|
-
const _sfc_main$
|
|
77093
|
+
const Tag = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$5]]);
|
|
77094
|
+
const _sfc_main$G = {};
|
|
76088
77095
|
const _hoisted_1$p = {
|
|
76089
77096
|
t: "1722953581253",
|
|
76090
77097
|
class: "icon",
|
|
@@ -76107,8 +77114,8 @@ function _sfc_render$4(_ctx, _cache) {
|
|
|
76107
77114
|
}, null, -1)
|
|
76108
77115
|
])]);
|
|
76109
77116
|
}
|
|
76110
|
-
const DataType = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
76111
|
-
const _sfc_main$
|
|
77117
|
+
const DataType = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$4]]);
|
|
77118
|
+
const _sfc_main$F = {};
|
|
76112
77119
|
const _hoisted_1$o = {
|
|
76113
77120
|
t: "1722953747058",
|
|
76114
77121
|
class: "icon",
|
|
@@ -76153,8 +77160,8 @@ function _sfc_render$3(_ctx, _cache) {
|
|
|
76153
77160
|
}, null, -1)
|
|
76154
77161
|
])]);
|
|
76155
77162
|
}
|
|
76156
|
-
const Button = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
76157
|
-
const _sfc_main$
|
|
77163
|
+
const Button = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$3]]);
|
|
77164
|
+
const _sfc_main$E = {};
|
|
76158
77165
|
const _hoisted_1$n = {
|
|
76159
77166
|
t: "1722953911617",
|
|
76160
77167
|
class: "icon",
|
|
@@ -76179,8 +77186,8 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
76179
77186
|
}, null, -1)
|
|
76180
77187
|
])]);
|
|
76181
77188
|
}
|
|
76182
|
-
const Select2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
76183
|
-
const _sfc_main$
|
|
77189
|
+
const Select2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$2]]);
|
|
77190
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
76184
77191
|
__name: "index",
|
|
76185
77192
|
props: {
|
|
76186
77193
|
name: {}
|
|
@@ -76245,7 +77252,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
76245
77252
|
};
|
|
76246
77253
|
}
|
|
76247
77254
|
});
|
|
76248
|
-
const _sfc_main$
|
|
77255
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
76249
77256
|
__name: "baseSetting",
|
|
76250
77257
|
props: {
|
|
76251
77258
|
"nodeItem": { default: () => {
|
|
@@ -76328,7 +77335,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
76328
77335
|
]),
|
|
76329
77336
|
_: 1
|
|
76330
77337
|
}),
|
|
76331
|
-
currSelectItem.value.formItem ? (openBlock(), createBlock(_component_els_input, {
|
|
77338
|
+
currSelectItem.value.formItem && !currSelectItem.value.excludeFromResult ? (openBlock(), createBlock(_component_els_input, {
|
|
76332
77339
|
key: 0,
|
|
76333
77340
|
label: "字段名",
|
|
76334
77341
|
prop: "keyCode",
|
|
@@ -76433,13 +77440,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
76433
77440
|
};
|
|
76434
77441
|
}
|
|
76435
77442
|
});
|
|
76436
|
-
const DynamicDesignerViewBaseSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
77443
|
+
const DynamicDesignerViewBaseSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-106df2fe"]]);
|
|
76437
77444
|
const _hoisted_1$m = { class: "se-root" };
|
|
76438
77445
|
const _hoisted_2$f = { class: "se-margin-zone" };
|
|
76439
77446
|
const _hoisted_3$e = { class: "se-row" };
|
|
76440
77447
|
const _hoisted_4$9 = { class: "se-padding-zone" };
|
|
76441
77448
|
const _hoisted_5$9 = { class: "se-row" };
|
|
76442
|
-
const _sfc_main$
|
|
77449
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
76443
77450
|
__name: "spacingEditor",
|
|
76444
77451
|
props: {
|
|
76445
77452
|
"modelValue": { default: () => ({}) },
|
|
@@ -76854,7 +77861,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
76854
77861
|
};
|
|
76855
77862
|
}
|
|
76856
77863
|
});
|
|
76857
|
-
const SpacingEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
77864
|
+
const SpacingEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["__scopeId", "data-v-f8633774"]]);
|
|
76858
77865
|
function buildSpacingCss(advancedConfig) {
|
|
76859
77866
|
if (!advancedConfig) return "";
|
|
76860
77867
|
const parts = [];
|
|
@@ -77177,7 +78184,7 @@ function useComponentRef(nodeItem, dyComponent) {
|
|
|
77177
78184
|
}
|
|
77178
78185
|
});
|
|
77179
78186
|
}
|
|
77180
|
-
const _sfc_main$
|
|
78187
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
77181
78188
|
...{
|
|
77182
78189
|
inheritAttrs: false
|
|
77183
78190
|
},
|
|
@@ -77229,7 +78236,7 @@ const _hoisted_1$l = {
|
|
|
77229
78236
|
};
|
|
77230
78237
|
const _hoisted_2$e = { class: "els-dynamic-d-v-item-move" };
|
|
77231
78238
|
const _hoisted_3$d = { key: 0 };
|
|
77232
|
-
const _sfc_main$
|
|
78239
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
77233
78240
|
__name: "operate",
|
|
77234
78241
|
props: {
|
|
77235
78242
|
nodeItem: {},
|
|
@@ -77261,7 +78268,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
77261
78268
|
const _component_Delete = resolveComponent("Delete");
|
|
77262
78269
|
const _component_Rank = resolveComponent("Rank");
|
|
77263
78270
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
77264
|
-
__props.nodeItem.componentGroup == "Form" || __props.nodeItem.formItem && __props.nodeItem.keyCode ? (openBlock(), createElementBlock("span", _hoisted_1$l, [
|
|
78271
|
+
!__props.nodeItem.excludeFromResult && (__props.nodeItem.componentGroup == "Form" || __props.nodeItem.formItem && __props.nodeItem.keyCode) ? (openBlock(), createElementBlock("span", _hoisted_1$l, [
|
|
77265
78272
|
createElementVNode("span", null, toDisplayString(__props.nodeItem.keyCode), 1),
|
|
77266
78273
|
createElementVNode("span", null, toDisplayString(__props.nodeItem.dataTypeName === "Array" && !__props.nodeItem.componentType || __props.nodeItem.arrayDataTypeName ? `Array
|
|
77267
78274
|
<${__props.nodeItem.arrayDataTypeName ? __props.nodeItem.arrayDataTypeName : "T"}>` : __props.nodeItem.dataTypeName), 1)
|
|
@@ -77314,9 +78321,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
77314
78321
|
};
|
|
77315
78322
|
}
|
|
77316
78323
|
});
|
|
77317
|
-
const DynamicDesignerViewOperate = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
78324
|
+
const DynamicDesignerViewOperate = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-7cc3e387"]]);
|
|
77318
78325
|
const _hoisted_1$k = { key: 1 };
|
|
77319
|
-
const _sfc_main$
|
|
78326
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
77320
78327
|
__name: "wrap",
|
|
77321
78328
|
props: /* @__PURE__ */ mergeModels({
|
|
77322
78329
|
parentNode: {},
|
|
@@ -77345,7 +78352,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
77345
78352
|
});
|
|
77346
78353
|
const wrapStyle = computed(() => {
|
|
77347
78354
|
var _a;
|
|
77348
|
-
|
|
78355
|
+
const minHeight = nodeItem.value.componentName === "ElsRequestForm" ? 100 : 30;
|
|
78356
|
+
return `min-height:${minHeight}px;width:100%;padding:10px 0px;` + ((_a = componentProps.value) == null ? void 0 : _a.style);
|
|
77349
78357
|
});
|
|
77350
78358
|
function handleAddComponent(e) {
|
|
77351
78359
|
recordComponent();
|
|
@@ -77484,9 +78492,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
77484
78492
|
};
|
|
77485
78493
|
}
|
|
77486
78494
|
});
|
|
77487
|
-
const DynamicDesignerViewWrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
78495
|
+
const DynamicDesignerViewWrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-534deb2f"]]);
|
|
77488
78496
|
const _hoisted_1$j = ["innerHTML"];
|
|
77489
|
-
const _sfc_main$
|
|
78497
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
77490
78498
|
...{
|
|
77491
78499
|
inheritAttrs: false
|
|
77492
78500
|
},
|
|
@@ -77557,7 +78565,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
77557
78565
|
const _hoisted_1$i = ["data-restrict-child", "data-restrict-parent", "data-type"];
|
|
77558
78566
|
const _hoisted_2$d = { class: "component-inner" };
|
|
77559
78567
|
const _hoisted_3$c = { class: "component-inner-wrap" };
|
|
77560
|
-
const _sfc_main$
|
|
78568
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
77561
78569
|
__name: "inner",
|
|
77562
78570
|
props: {
|
|
77563
78571
|
"nodeItem": { default: () => {
|
|
@@ -77618,19 +78626,19 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
77618
78626
|
key: 0,
|
|
77619
78627
|
parentNode: nodeItem.value,
|
|
77620
78628
|
nodeItem: nodeItem.value
|
|
77621
|
-
}, null, 8, ["parentNode", "nodeItem"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" && nodeItem.value.keyCode ? (openBlock(), createBlock(_sfc_main$
|
|
78629
|
+
}, null, 8, ["parentNode", "nodeItem"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" && nodeItem.value.keyCode ? (openBlock(), createBlock(_sfc_main$x, {
|
|
77622
78630
|
key: 1,
|
|
77623
78631
|
nodeItem: nodeItem.value,
|
|
77624
78632
|
style: normalizeStyle(nodeItem.value.config.advancedConfig.style),
|
|
77625
78633
|
title: nodeItem.value.keyName,
|
|
77626
78634
|
modelValue: nodeItem.value.value,
|
|
77627
78635
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nodeItem.value.value = $event)
|
|
77628
|
-
}, null, 8, ["nodeItem", "style", "title", "modelValue"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" ? (openBlock(), createBlock(_sfc_main$
|
|
78636
|
+
}, null, 8, ["nodeItem", "style", "title", "modelValue"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" ? (openBlock(), createBlock(_sfc_main$x, {
|
|
77629
78637
|
key: 2,
|
|
77630
78638
|
nodeItem: nodeItem.value,
|
|
77631
78639
|
style: normalizeStyle(nodeItem.value.config.advancedConfig.style),
|
|
77632
78640
|
title: nodeItem.value.keyName
|
|
77633
|
-
}, null, 8, ["nodeItem", "style", "title"])) : unref(isMobile) && (nodeItem.value.componentTypeName === "Input" || nodeItem.value.componentTypeName === "Textarea") ? (openBlock(), createBlock(_sfc_main$
|
|
78641
|
+
}, null, 8, ["nodeItem", "style", "title"])) : unref(isMobile) && (nodeItem.value.componentTypeName === "Input" || nodeItem.value.componentTypeName === "Textarea") ? (openBlock(), createBlock(_sfc_main$A, mergeProps({
|
|
77634
78642
|
key: 3,
|
|
77635
78643
|
disabled: unref(renderDisabled)()
|
|
77636
78644
|
}, unref(formProps2), {
|
|
@@ -77647,10 +78655,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
77647
78655
|
title: nodeItem.value.keyName
|
|
77648
78656
|
}, {
|
|
77649
78657
|
default: withCtx(() => [
|
|
77650
|
-
createVNode(_sfc_main$
|
|
78658
|
+
createVNode(_sfc_main$A, { nodeItem: nodeItem.value }, null, 8, ["nodeItem"])
|
|
77651
78659
|
]),
|
|
77652
78660
|
_: 1
|
|
77653
|
-
}, 8, ["title"])) : (openBlock(), createBlock(_sfc_main$
|
|
78661
|
+
}, 8, ["title"])) : (openBlock(), createBlock(_sfc_main$A, {
|
|
77654
78662
|
key: 1,
|
|
77655
78663
|
disabled: unref(renderDisabled)(),
|
|
77656
78664
|
nodeItem: nodeItem.value
|
|
@@ -77687,7 +78695,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
77687
78695
|
default: withCtx(() => [
|
|
77688
78696
|
createElementVNode("div", _hoisted_2$d, [
|
|
77689
78697
|
createElementVNode("div", _hoisted_3$c, [
|
|
77690
|
-
createVNode(_sfc_main$
|
|
78698
|
+
createVNode(_sfc_main$u, {
|
|
77691
78699
|
renderData: slot.children,
|
|
77692
78700
|
minHeight: "100",
|
|
77693
78701
|
isMobile: unref(isMobile)
|
|
@@ -77708,8 +78716,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
77708
78716
|
};
|
|
77709
78717
|
}
|
|
77710
78718
|
});
|
|
77711
|
-
const DynamicDesignerViewInner = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
77712
|
-
const _sfc_main$
|
|
78719
|
+
const DynamicDesignerViewInner = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-39ddb864"]]);
|
|
78720
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
77713
78721
|
__name: "form",
|
|
77714
78722
|
props: /* @__PURE__ */ mergeModels({
|
|
77715
78723
|
isRoot: { type: Boolean }
|
|
@@ -77849,8 +78857,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
77849
78857
|
};
|
|
77850
78858
|
}
|
|
77851
78859
|
});
|
|
77852
|
-
const DynamicDesignerViewForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
77853
|
-
const _sfc_main$
|
|
78860
|
+
const DynamicDesignerViewForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-06406908"]]);
|
|
78861
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
77854
78862
|
__name: "body",
|
|
77855
78863
|
props: /* @__PURE__ */ mergeModels({
|
|
77856
78864
|
isMobile: { type: Boolean },
|
|
@@ -78184,7 +79192,7 @@ const _hoisted_29 = { class: "pc-content" };
|
|
|
78184
79192
|
const _hoisted_30 = { class: "form-canvas" };
|
|
78185
79193
|
const _hoisted_31 = { class: "view-data" };
|
|
78186
79194
|
const _hoisted_32 = { class: "json-card" };
|
|
78187
|
-
const _sfc_main$
|
|
79195
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
78188
79196
|
...{
|
|
78189
79197
|
name: "ElsDynamicDesignerView",
|
|
78190
79198
|
inheritAttrs: false
|
|
@@ -78259,6 +79267,16 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
78259
79267
|
dataTypes: ["String"],
|
|
78260
79268
|
isShow: false
|
|
78261
79269
|
}];
|
|
79270
|
+
const schemaFieldEditorTypes = [{
|
|
79271
|
+
componentName: "ElsSchemaFieldEditor",
|
|
79272
|
+
label: "字段结构编辑器",
|
|
79273
|
+
value: "SchemaFieldEditor",
|
|
79274
|
+
type: "SchemaFieldEditor",
|
|
79275
|
+
group: "Form",
|
|
79276
|
+
formItem: true,
|
|
79277
|
+
dataTypes: ["String"],
|
|
79278
|
+
isShow: false
|
|
79279
|
+
}];
|
|
78262
79280
|
const currComponentTypes = ref([]);
|
|
78263
79281
|
if (componentData) {
|
|
78264
79282
|
currComponentTypes.value = componentData;
|
|
@@ -78280,7 +79298,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
78280
79298
|
});
|
|
78281
79299
|
}
|
|
78282
79300
|
}
|
|
78283
|
-
currComponentTypes.value.push(...conditionBuilderTypes, ...expressionInputTypes);
|
|
79301
|
+
currComponentTypes.value.push(...conditionBuilderTypes, ...expressionInputTypes, ...schemaFieldEditorTypes);
|
|
78284
79302
|
const objectData = ref([
|
|
78285
79303
|
{
|
|
78286
79304
|
keyID: "id_" + utils.randomNumber().toString(),
|
|
@@ -78377,6 +79395,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
78377
79395
|
icon: ele.icon,
|
|
78378
79396
|
operateType: ele.operateType,
|
|
78379
79397
|
inline: ele.inline,
|
|
79398
|
+
excludeFromResult: ele.excludeFromResult,
|
|
78380
79399
|
slots,
|
|
78381
79400
|
config: {
|
|
78382
79401
|
formConfig: {},
|
|
@@ -78632,13 +79651,18 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
78632
79651
|
);
|
|
78633
79652
|
const allFormFields = computed(() => {
|
|
78634
79653
|
const result = [];
|
|
78635
|
-
|
|
78636
|
-
|
|
79654
|
+
let selectedRfScope = null;
|
|
79655
|
+
function collect(items, containerPath = [], containerKeyNames = [], rfScope = null) {
|
|
79656
|
+
var _a2, _b2, _c, _d, _e;
|
|
78637
79657
|
if (!items) return;
|
|
78638
79658
|
for (const item of items) {
|
|
79659
|
+
const ownRfScope = item.componentName === "ElsRequestForm" ? item.keyID : rfScope;
|
|
79660
|
+
if (item.keyID === ((_a2 = currSelectItem.value) == null ? void 0 : _a2.keyID)) {
|
|
79661
|
+
selectedRfScope = ownRfScope;
|
|
79662
|
+
}
|
|
78639
79663
|
const isObjContainer = item.dataType === "Object" && item.keyCode && !item.componentTypeName;
|
|
78640
79664
|
const isArrayContainer = item.dataType === "Array" && item.keyCode;
|
|
78641
|
-
if (item.formItem && item.keyCode && item.componentGroup === "Form" && item.dataType !== "Object" && item.keyCode !== ((
|
|
79665
|
+
if (item.formItem && item.keyCode && item.componentGroup === "Form" && item.dataType !== "Object" && item.keyCode !== ((_b2 = currSelectItem.value) == null ? void 0 : _b2.keyCode)) {
|
|
78642
79666
|
const typeName = item.componentTypeName || item.componentType || "";
|
|
78643
79667
|
result.push({
|
|
78644
79668
|
keyCode: item.keyCode,
|
|
@@ -78647,21 +79671,56 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
78647
79671
|
containerPath,
|
|
78648
79672
|
containerKeyNames,
|
|
78649
79673
|
componentType: typeName,
|
|
78650
|
-
componentOptions: SELECT_TYPES_FIELD.includes(typeName) ? ((
|
|
78651
|
-
multiple: isMultiSelectField(item, typeName)
|
|
79674
|
+
componentOptions: SELECT_TYPES_FIELD.includes(typeName) ? ((_d = (_c = item.config) == null ? void 0 : _c.baseConfig) == null ? void 0 : _d.data) || null : null,
|
|
79675
|
+
multiple: isMultiSelectField(item, typeName),
|
|
79676
|
+
rfScope: ownRfScope
|
|
78652
79677
|
});
|
|
78653
79678
|
}
|
|
78654
79679
|
if (!isArrayContainer) {
|
|
78655
79680
|
const newPath = isObjContainer ? [...containerPath, item.keyCode] : containerPath;
|
|
78656
79681
|
const newNames = isObjContainer ? [...containerKeyNames, item.keyName || item.keyCode] : containerKeyNames;
|
|
78657
|
-
collect(item.children, newPath, newNames);
|
|
78658
|
-
(
|
|
79682
|
+
collect(item.children, newPath, newNames, ownRfScope);
|
|
79683
|
+
(_e = item.slots) == null ? void 0 : _e.forEach((s) => collect(s.children, newPath, newNames, ownRfScope));
|
|
78659
79684
|
}
|
|
78660
79685
|
}
|
|
78661
79686
|
}
|
|
78662
79687
|
collect(renderData.value);
|
|
78663
79688
|
const seen = /* @__PURE__ */ new Set();
|
|
78664
|
-
return result.filter((f) => !seen.has(f.keyCode) && !!seen.add(f.keyCode));
|
|
79689
|
+
return result.filter((f) => f.rfScope === null || f.rfScope === selectedRfScope).filter((f) => !seen.has(f.keyCode) && !!seen.add(f.keyCode));
|
|
79690
|
+
});
|
|
79691
|
+
const requestFormGlobalDataSchema = computed(() => {
|
|
79692
|
+
const schema2 = {};
|
|
79693
|
+
function collect(items) {
|
|
79694
|
+
var _a2, _b2, _c;
|
|
79695
|
+
if (!items) return;
|
|
79696
|
+
for (const item of items) {
|
|
79697
|
+
if (item.componentName === "ElsRequestForm") {
|
|
79698
|
+
const raw = (_b2 = (_a2 = item.config) == null ? void 0 : _a2.baseConfig) == null ? void 0 : _b2.returnSchema;
|
|
79699
|
+
if (raw) {
|
|
79700
|
+
try {
|
|
79701
|
+
const parsed = JSON.parse(raw);
|
|
79702
|
+
if (parsed && typeof parsed === "object") {
|
|
79703
|
+
if (item.keyCode) {
|
|
79704
|
+
schema2[item.keyCode] = parsed;
|
|
79705
|
+
} else {
|
|
79706
|
+
Object.assign(schema2, parsed);
|
|
79707
|
+
}
|
|
79708
|
+
}
|
|
79709
|
+
} catch (e) {
|
|
79710
|
+
}
|
|
79711
|
+
}
|
|
79712
|
+
}
|
|
79713
|
+
collect(item.children);
|
|
79714
|
+
(_c = item.slots) == null ? void 0 : _c.forEach((s) => collect(s.children));
|
|
79715
|
+
}
|
|
79716
|
+
}
|
|
79717
|
+
collect(renderData.value);
|
|
79718
|
+
return schema2;
|
|
79719
|
+
});
|
|
79720
|
+
const mergedGlobalDataTemplate = computed(() => {
|
|
79721
|
+
const requestFormSchema = requestFormGlobalDataSchema.value;
|
|
79722
|
+
if (!Object.keys(requestFormSchema).length) return props2.globalData || null;
|
|
79723
|
+
return lodash.merge({}, props2.globalData || {}, requestFormSchema);
|
|
78665
79724
|
});
|
|
78666
79725
|
function findItemContext(targetKeyID) {
|
|
78667
79726
|
function traverse(items) {
|
|
@@ -78894,8 +79953,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
78894
79953
|
},
|
|
78895
79954
|
recordComponent,
|
|
78896
79955
|
getAllFormFields: () => allFormFields.value,
|
|
78897
|
-
getGlobalDataKeys: () =>
|
|
78898
|
-
|
|
79956
|
+
getGlobalDataKeys: () => {
|
|
79957
|
+
const merged = mergedGlobalDataTemplate.value;
|
|
79958
|
+
return merged ? getGlobalDataFieldKeys(merged) : props2.globalDataFields || [];
|
|
79959
|
+
},
|
|
79960
|
+
getGlobalDataTemplate: () => mergedGlobalDataTemplate.value,
|
|
78899
79961
|
getSiblingFields: () => {
|
|
78900
79962
|
if (!currSelectItem.value) return allFormFields.value;
|
|
78901
79963
|
const ctx = findItemContext(currSelectItem.value.keyID);
|
|
@@ -79004,7 +80066,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79004
80066
|
key: index,
|
|
79005
80067
|
"data-restrict-parent": element.restrictParent
|
|
79006
80068
|
}, [
|
|
79007
|
-
element.icon && !element.icon.startsWith("http") ? (openBlock(), createBlock(_sfc_main$
|
|
80069
|
+
element.icon && !element.icon.startsWith("http") ? (openBlock(), createBlock(_sfc_main$D, {
|
|
79008
80070
|
key: 0,
|
|
79009
80071
|
name: element.icon
|
|
79010
80072
|
}, null, 8, ["name"])) : element.icon ? (openBlock(), createElementBlock("img", {
|
|
@@ -79046,7 +80108,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79046
80108
|
"data-restrict-parent": element.restrictParent,
|
|
79047
80109
|
key: index
|
|
79048
80110
|
}, [
|
|
79049
|
-
element.icon ? (openBlock(), createBlock(_sfc_main$
|
|
80111
|
+
element.icon ? (openBlock(), createBlock(_sfc_main$D, {
|
|
79050
80112
|
key: 0,
|
|
79051
80113
|
name: element.icon
|
|
79052
80114
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
@@ -79101,7 +80163,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79101
80163
|
"data-type": "Col",
|
|
79102
80164
|
key: index
|
|
79103
80165
|
}, [
|
|
79104
|
-
element.icon ? (openBlock(), createBlock(_sfc_main$
|
|
80166
|
+
element.icon ? (openBlock(), createBlock(_sfc_main$D, {
|
|
79105
80167
|
key: 0,
|
|
79106
80168
|
name: element.icon
|
|
79107
80169
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
@@ -79134,7 +80196,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79134
80196
|
"data-type": element.dataTypeName,
|
|
79135
80197
|
key: index
|
|
79136
80198
|
}, [
|
|
79137
|
-
createVNode(_sfc_main$
|
|
80199
|
+
createVNode(_sfc_main$D, {
|
|
79138
80200
|
name: element.icon
|
|
79139
80201
|
}, null, 8, ["name"]),
|
|
79140
80202
|
createTextVNode(" " + toDisplayString(element.componentTypeLabel), 1)
|
|
@@ -79215,7 +80277,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79215
80277
|
"data-restrict-parent": element.restrictParent,
|
|
79216
80278
|
key: index
|
|
79217
80279
|
}, [
|
|
79218
|
-
createVNode(_sfc_main$
|
|
80280
|
+
createVNode(_sfc_main$D, {
|
|
79219
80281
|
name: element.icon
|
|
79220
80282
|
}, null, 8, ["name"]),
|
|
79221
80283
|
createTextVNode(" " + toDisplayString(element.componentTypeLabel), 1)
|
|
@@ -79246,7 +80308,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79246
80308
|
class: "container-widget-item",
|
|
79247
80309
|
key: index
|
|
79248
80310
|
}, [
|
|
79249
|
-
createVNode(_sfc_main$
|
|
80311
|
+
createVNode(_sfc_main$D, {
|
|
79250
80312
|
name: element.icon
|
|
79251
80313
|
}, null, 8, ["name"]),
|
|
79252
80314
|
createTextVNode(" " + toDisplayString(element.componentTypeLabel), 1)
|
|
@@ -79285,7 +80347,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79285
80347
|
disabled: isDisabledUndo.value
|
|
79286
80348
|
}, {
|
|
79287
80349
|
default: withCtx(() => [
|
|
79288
|
-
createVNode(_sfc_main$
|
|
80350
|
+
createVNode(_sfc_main$D, { name: "back" })
|
|
79289
80351
|
]),
|
|
79290
80352
|
_: 1
|
|
79291
80353
|
}, 8, ["disabled"])) : createCommentVNode("", true),
|
|
@@ -79296,7 +80358,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79296
80358
|
disabled: isDisabledReDo.value
|
|
79297
80359
|
}, {
|
|
79298
80360
|
default: withCtx(() => [
|
|
79299
|
-
createVNode(_sfc_main$
|
|
80361
|
+
createVNode(_sfc_main$D, { name: "next" })
|
|
79300
80362
|
]),
|
|
79301
80363
|
_: 1
|
|
79302
80364
|
}, 8, ["disabled"])) : createCommentVNode("", true),
|
|
@@ -79480,11 +80542,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79480
80542
|
])
|
|
79481
80543
|
])
|
|
79482
80544
|
])) : (openBlock(), createElementBlock("div", _hoisted_18$1, [
|
|
79483
|
-
deviceType.value == "H5" ? (openBlock(), createBlock(_sfc_main$
|
|
80545
|
+
deviceType.value == "H5" ? (openBlock(), createBlock(_sfc_main$u, {
|
|
79484
80546
|
key: 0,
|
|
79485
80547
|
isMobile: true,
|
|
79486
80548
|
renderData: renderData.value
|
|
79487
|
-
}, null, 8, ["renderData"])) : (openBlock(), createBlock(_sfc_main$
|
|
80549
|
+
}, null, 8, ["renderData"])) : (openBlock(), createBlock(_sfc_main$u, {
|
|
79488
80550
|
key: 1,
|
|
79489
80551
|
type: deviceType.value,
|
|
79490
80552
|
renderData: renderData.value
|
|
@@ -79789,7 +80851,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
79789
80851
|
};
|
|
79790
80852
|
}
|
|
79791
80853
|
});
|
|
79792
|
-
const DesignerView = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
80854
|
+
const DesignerView = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__scopeId", "data-v-fdd95ac4"]]);
|
|
79793
80855
|
const ElsDesignerView = withInstall$1(DesignerView);
|
|
79794
80856
|
(function(Prism2) {
|
|
79795
80857
|
var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
@@ -80309,7 +81371,7 @@ const ElsDesignerView = withInstall$1(DesignerView);
|
|
|
80309
81371
|
}
|
|
80310
81372
|
});
|
|
80311
81373
|
})();
|
|
80312
|
-
const _sfc_main$
|
|
81374
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
80313
81375
|
...{
|
|
80314
81376
|
name: "ElsHighlight",
|
|
80315
81377
|
inheritAttrs: false
|
|
@@ -80347,7 +81409,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
80347
81409
|
};
|
|
80348
81410
|
}
|
|
80349
81411
|
});
|
|
80350
|
-
const ElsHighlight = withInstall$1(_sfc_main$
|
|
81412
|
+
const ElsHighlight = withInstall$1(_sfc_main$s);
|
|
80351
81413
|
const uEditorProps = buildProps({
|
|
80352
81414
|
...formItemProps$1,
|
|
80353
81415
|
/**
|
|
@@ -80467,7 +81529,7 @@ class UEditor extends TBaseFormItem {
|
|
|
80467
81529
|
}, null)]);
|
|
80468
81530
|
}
|
|
80469
81531
|
}
|
|
80470
|
-
const _sfc_main$
|
|
81532
|
+
const _sfc_main$r = defineComponent({
|
|
80471
81533
|
name: "ElsUEditor",
|
|
80472
81534
|
inheritAttrs: false,
|
|
80473
81535
|
props: uEditorProps,
|
|
@@ -80477,7 +81539,7 @@ const _sfc_main$s = defineComponent({
|
|
|
80477
81539
|
},
|
|
80478
81540
|
emits: ["update:modelValue"]
|
|
80479
81541
|
});
|
|
80480
|
-
const ElsUEditor = withInstall$1(_sfc_main$
|
|
81542
|
+
const ElsUEditor = withInstall$1(_sfc_main$r);
|
|
80481
81543
|
const aceEditorProps = buildProps({
|
|
80482
81544
|
...formItemProps$1,
|
|
80483
81545
|
/**
|
|
@@ -80528,31 +81590,31 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
|
|
|
80528
81590
|
__publicField(this, "editor", ref());
|
|
80529
81591
|
onMounted(() => {
|
|
80530
81592
|
if (props2.language === "json") {
|
|
80531
|
-
const currModule = import("./mode-json-
|
|
81593
|
+
const currModule = import("./mode-json-CuyvB_kf.js").then((n) => n.m);
|
|
80532
81594
|
currModule.then((res) => {
|
|
80533
81595
|
ace.config.setModuleUrl("ace/mode/json", res);
|
|
80534
81596
|
this.init();
|
|
80535
81597
|
});
|
|
80536
81598
|
} else if (props2.language === "javascript") {
|
|
80537
|
-
const currModule = import("./mode-javascript-
|
|
81599
|
+
const currModule = import("./mode-javascript-BIpkDE77.js").then((n) => n.m);
|
|
80538
81600
|
currModule.then((res) => {
|
|
80539
81601
|
ace.config.setModuleUrl("ace/mode/javascript", res);
|
|
80540
81602
|
this.init();
|
|
80541
81603
|
});
|
|
80542
81604
|
} else if (props2.language === "csharp") {
|
|
80543
|
-
const currModule = import("./mode-csharp-
|
|
81605
|
+
const currModule = import("./mode-csharp-DRL6iOsg.js").then((n) => n.m);
|
|
80544
81606
|
currModule.then((res) => {
|
|
80545
81607
|
ace.config.setModuleUrl("ace/mode/csharp", res);
|
|
80546
81608
|
this.init();
|
|
80547
81609
|
});
|
|
80548
81610
|
} else if (props2.language === "mysql") {
|
|
80549
|
-
const currModule = import("./mode-mysql-
|
|
81611
|
+
const currModule = import("./mode-mysql-BPWNA-Mx.js").then((n) => n.m);
|
|
80550
81612
|
currModule.then((res) => {
|
|
80551
81613
|
ace.config.setModuleUrl("ace/mode/mysql", res);
|
|
80552
81614
|
this.init();
|
|
80553
81615
|
});
|
|
80554
81616
|
} else if (props2.language === "css") {
|
|
80555
|
-
const currModule = import("./mode-css-
|
|
81617
|
+
const currModule = import("./mode-css-CVbsNLio.js").then((n) => n.m);
|
|
80556
81618
|
currModule.then((res) => {
|
|
80557
81619
|
ace.config.setModuleUrl("ace/mode/css", res);
|
|
80558
81620
|
this.init();
|
|
@@ -80621,7 +81683,7 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
|
|
|
80621
81683
|
}, null)])])]);
|
|
80622
81684
|
}
|
|
80623
81685
|
};
|
|
80624
|
-
const _sfc_main$
|
|
81686
|
+
const _sfc_main$q = defineComponent({
|
|
80625
81687
|
name: "ElsAceEditor",
|
|
80626
81688
|
inheritAttrs: false,
|
|
80627
81689
|
props: aceEditorProps,
|
|
@@ -80631,7 +81693,7 @@ const _sfc_main$r = defineComponent({
|
|
|
80631
81693
|
},
|
|
80632
81694
|
emits: ["update:modelValue", "formatter"]
|
|
80633
81695
|
});
|
|
80634
|
-
const AceEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
81696
|
+
const AceEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__scopeId", "data-v-bbf3dec5"]]);
|
|
80635
81697
|
const ElsAceEditor = withInstall$1(AceEditor2);
|
|
80636
81698
|
const mdEditorProps = buildProps({
|
|
80637
81699
|
...formItemProps$1,
|
|
@@ -80733,7 +81795,7 @@ class MdEditor extends TBaseFormItem {
|
|
|
80733
81795
|
}, null)])]);
|
|
80734
81796
|
}
|
|
80735
81797
|
}
|
|
80736
|
-
const _sfc_main$
|
|
81798
|
+
const _sfc_main$p = defineComponent({
|
|
80737
81799
|
name: "ElsMdEditor",
|
|
80738
81800
|
inheritAttrs: false,
|
|
80739
81801
|
props: mdEditorProps,
|
|
@@ -80743,7 +81805,7 @@ const _sfc_main$q = defineComponent({
|
|
|
80743
81805
|
},
|
|
80744
81806
|
emits: ["update:modelValue", "update:html"]
|
|
80745
81807
|
});
|
|
80746
|
-
const ElsMdEditor = withInstall$1(_sfc_main$
|
|
81808
|
+
const ElsMdEditor = withInstall$1(_sfc_main$p);
|
|
80747
81809
|
var __defProp$1 = Object.defineProperty;
|
|
80748
81810
|
var __defProps = Object.defineProperties;
|
|
80749
81811
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -80906,7 +81968,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80906
81968
|
return openBlock(), createElementBlock("div", _hoisted_1$1$1, null, 512);
|
|
80907
81969
|
}
|
|
80908
81970
|
var Editor3 = /* @__PURE__ */ _export_sfc(_sfc_main$1$1, [["render", _sfc_render$1]]);
|
|
80909
|
-
const _sfc_main$
|
|
81971
|
+
const _sfc_main$o = defineComponent({
|
|
80910
81972
|
props: {
|
|
80911
81973
|
editor: {
|
|
80912
81974
|
type: Object
|
|
@@ -80952,7 +82014,7 @@ const _hoisted_1$g = { ref: "selector" };
|
|
|
80952
82014
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
80953
82015
|
return openBlock(), createElementBlock("div", _hoisted_1$g, null, 512);
|
|
80954
82016
|
}
|
|
80955
|
-
var Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82017
|
+
var Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
|
|
80956
82018
|
const wangEditorProps = buildProps({
|
|
80957
82019
|
...formItemProps$1,
|
|
80958
82020
|
/**
|
|
@@ -81084,7 +82146,7 @@ let WangEditor$1 = class WangEditor extends TBaseFormItem {
|
|
|
81084
82146
|
}), null)])]);
|
|
81085
82147
|
}
|
|
81086
82148
|
};
|
|
81087
|
-
const _sfc_main$
|
|
82149
|
+
const _sfc_main$n = defineComponent({
|
|
81088
82150
|
name: "ElsWangEditor",
|
|
81089
82151
|
inheritAttrs: false,
|
|
81090
82152
|
props: wangEditorProps,
|
|
@@ -81094,7 +82156,7 @@ const _sfc_main$o = defineComponent({
|
|
|
81094
82156
|
},
|
|
81095
82157
|
emits: ["update:modelValue"]
|
|
81096
82158
|
});
|
|
81097
|
-
const WangEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
82159
|
+
const WangEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-21475bac"]]);
|
|
81098
82160
|
const ElsWangEditor = withInstall$1(WangEditor2);
|
|
81099
82161
|
const jsonViewerProps = buildProps({
|
|
81100
82162
|
/**
|
|
@@ -81105,7 +82167,7 @@ const jsonViewerProps = buildProps({
|
|
|
81105
82167
|
}
|
|
81106
82168
|
});
|
|
81107
82169
|
const _hoisted_1$f = { class: "json-viewer" };
|
|
81108
|
-
const _sfc_main$
|
|
82170
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
81109
82171
|
...{
|
|
81110
82172
|
name: "ElsJsonViewer",
|
|
81111
82173
|
inheritAttrs: false
|
|
@@ -81141,96 +82203,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
81141
82203
|
};
|
|
81142
82204
|
}
|
|
81143
82205
|
});
|
|
81144
|
-
const ElsJsonViewer = withInstall$1(_sfc_main$
|
|
81145
|
-
const jsonEditorProps = buildProps({
|
|
81146
|
-
...formItemProps$1,
|
|
81147
|
-
/**
|
|
81148
|
-
* @description 绑定值
|
|
81149
|
-
*/
|
|
81150
|
-
modelValue: {
|
|
81151
|
-
type: [String, Object]
|
|
81152
|
-
},
|
|
81153
|
-
/**
|
|
81154
|
-
* @description 值类型 String|Object
|
|
81155
|
-
*/
|
|
81156
|
-
valueType: {
|
|
81157
|
-
type: String,
|
|
81158
|
-
values: ["String", "Object"]
|
|
81159
|
-
}
|
|
81160
|
-
});
|
|
81161
|
-
let JsonEditor$1 = class JsonEditor extends TBaseFormItem {
|
|
81162
|
-
constructor(props2, ctx) {
|
|
81163
|
-
super(props2, ctx);
|
|
81164
|
-
__publicField(this, "jsonEditor", ref());
|
|
81165
|
-
}
|
|
81166
|
-
watchModelValue() {
|
|
81167
|
-
watch(this._modelValue, (val) => {
|
|
81168
|
-
if (val) {
|
|
81169
|
-
if (typeof val === "object") {
|
|
81170
|
-
this._comValue.value = val;
|
|
81171
|
-
} else {
|
|
81172
|
-
this._comValue.value = JSON.parse(val);
|
|
81173
|
-
}
|
|
81174
|
-
}
|
|
81175
|
-
}, {
|
|
81176
|
-
immediate: true,
|
|
81177
|
-
deep: true
|
|
81178
|
-
});
|
|
81179
|
-
}
|
|
81180
|
-
watchComValue() {
|
|
81181
|
-
watch(this._comValue, (val) => {
|
|
81182
|
-
if (typeof val === "string") {
|
|
81183
|
-
try {
|
|
81184
|
-
JSON.parse(val);
|
|
81185
|
-
} catch {
|
|
81186
|
-
return;
|
|
81187
|
-
}
|
|
81188
|
-
}
|
|
81189
|
-
if (typeof this._modelValue.value === "object" || this._props.valueType === "Object") {
|
|
81190
|
-
if (typeof val === "string") {
|
|
81191
|
-
try {
|
|
81192
|
-
const currValue = JSON.parse(val);
|
|
81193
|
-
this.returnValue(currValue);
|
|
81194
|
-
} catch (err) {
|
|
81195
|
-
}
|
|
81196
|
-
} else {
|
|
81197
|
-
this.returnValue(val);
|
|
81198
|
-
}
|
|
81199
|
-
return;
|
|
81200
|
-
}
|
|
81201
|
-
if (typeof val === "object") {
|
|
81202
|
-
this.returnValue(JSON.stringify(val));
|
|
81203
|
-
return;
|
|
81204
|
-
}
|
|
81205
|
-
this.returnValue(val);
|
|
81206
|
-
}, {
|
|
81207
|
-
deep: true
|
|
81208
|
-
});
|
|
81209
|
-
}
|
|
81210
|
-
pcRender() {
|
|
81211
|
-
return createVNode(Fragment$1, null, [createVNode("div", {
|
|
81212
|
-
"class": "els-jsoneditor"
|
|
81213
|
-
}, [createVNode(JsonEditorVue, mergeProps({
|
|
81214
|
-
"modelValue": this._comValue.value,
|
|
81215
|
-
"onUpdate:modelValue": ($event) => this._comValue.value = $event
|
|
81216
|
-
}, this._attrs, {
|
|
81217
|
-
"ref": this.jsonEditor,
|
|
81218
|
-
"mode": "text"
|
|
81219
|
-
}), null)])]);
|
|
81220
|
-
}
|
|
81221
|
-
};
|
|
81222
|
-
const _sfc_main$m = defineComponent({
|
|
81223
|
-
name: "ElsJsonEditor",
|
|
81224
|
-
inheritAttrs: false,
|
|
81225
|
-
props: jsonEditorProps,
|
|
81226
|
-
setup(props2, ctx) {
|
|
81227
|
-
const editor = new JsonEditor$1(props2, ctx);
|
|
81228
|
-
return () => editor.render();
|
|
81229
|
-
},
|
|
81230
|
-
emits: ["update:modelValue"]
|
|
81231
|
-
});
|
|
81232
|
-
const JsonEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-ebf6dbd5"]]);
|
|
81233
|
-
const ElsJsonEditor = withInstall$1(JsonEditor2);
|
|
82206
|
+
const ElsJsonViewer = withInstall$1(_sfc_main$m);
|
|
81234
82207
|
const _hoisted_1$e = { class: "els-workpain" };
|
|
81235
82208
|
const _hoisted_2$b = { style: { "display": "flex" } };
|
|
81236
82209
|
const _hoisted_3$a = { style: { "display": "flex" } };
|
|
@@ -89569,7 +90542,8 @@ const components = [
|
|
|
89569
90542
|
ElsAMap,
|
|
89570
90543
|
ElsWaterfall,
|
|
89571
90544
|
ElsLazyImage,
|
|
89572
|
-
ElsTiptapEditor
|
|
90545
|
+
ElsTiptapEditor,
|
|
90546
|
+
ElsRequestForm
|
|
89573
90547
|
];
|
|
89574
90548
|
const ElementLess = {
|
|
89575
90549
|
install(app, options2 = {}) {
|
|
@@ -89580,6 +90554,7 @@ const ElementLess = {
|
|
|
89580
90554
|
});
|
|
89581
90555
|
app.component("ElsConditionBuilder", ConditionBuilderVue);
|
|
89582
90556
|
app.component("ElsExpressionInput", ExpressionInputVue);
|
|
90557
|
+
app.component("ElsSchemaFieldEditor", SchemaFieldEditorVue);
|
|
89583
90558
|
setConfig(options2);
|
|
89584
90559
|
app.config.globalProperties.$utils = utils;
|
|
89585
90560
|
app.config.globalProperties.$less_message = ProxyElsMessage;
|
|
@@ -89617,7 +90592,7 @@ export {
|
|
|
89617
90592
|
ElsDialog as Z,
|
|
89618
90593
|
_export_sfc$1 as _,
|
|
89619
90594
|
useRender as a,
|
|
89620
|
-
|
|
90595
|
+
Radio$1 as a$,
|
|
89621
90596
|
ElsDropdown as a0,
|
|
89622
90597
|
ElsDropdownGroup as a1,
|
|
89623
90598
|
ElsDynamicDesigner as a2,
|
|
@@ -89628,33 +90603,33 @@ export {
|
|
|
89628
90603
|
ElsHighlight as a7,
|
|
89629
90604
|
ElsImage as a8,
|
|
89630
90605
|
ElsImageViewer as a9,
|
|
89631
|
-
|
|
89632
|
-
|
|
89633
|
-
|
|
89634
|
-
|
|
89635
|
-
|
|
89636
|
-
|
|
89637
|
-
|
|
89638
|
-
|
|
89639
|
-
|
|
89640
|
-
|
|
89641
|
-
|
|
89642
|
-
|
|
89643
|
-
|
|
89644
|
-
|
|
89645
|
-
|
|
89646
|
-
|
|
89647
|
-
|
|
89648
|
-
|
|
89649
|
-
|
|
89650
|
-
|
|
89651
|
-
|
|
89652
|
-
|
|
89653
|
-
|
|
89654
|
-
|
|
89655
|
-
|
|
89656
|
-
|
|
89657
|
-
|
|
90606
|
+
ElsSegmented as aA,
|
|
90607
|
+
ElsSelect as aB,
|
|
90608
|
+
ElsSlider as aC,
|
|
90609
|
+
ElsStampBadge as aD,
|
|
90610
|
+
ElsSwitch as aE,
|
|
90611
|
+
ElsTable as aF,
|
|
90612
|
+
ElsTabs as aG,
|
|
90613
|
+
ElsTextarea as aH,
|
|
90614
|
+
ElsTimePicker as aI,
|
|
90615
|
+
ElsTimePickerRange as aJ,
|
|
90616
|
+
ElsTip as aK,
|
|
90617
|
+
ElsTiptapEditor as aL,
|
|
90618
|
+
ElsTree as aM,
|
|
90619
|
+
ElsTreeSelect as aN,
|
|
90620
|
+
ElsUEditor as aO,
|
|
90621
|
+
ElsUpload as aP,
|
|
90622
|
+
ElsWangEditor as aQ,
|
|
90623
|
+
ElsWaterfall as aR,
|
|
90624
|
+
ElsWorkFlow as aS,
|
|
90625
|
+
ElsWorkPlan as aT,
|
|
90626
|
+
Input as aU,
|
|
90627
|
+
InputNumber as aV,
|
|
90628
|
+
InputRange as aW,
|
|
90629
|
+
InputTag$1 as aX,
|
|
90630
|
+
JsonEditor$1 as aY,
|
|
90631
|
+
MdEditor as aZ,
|
|
90632
|
+
Option as a_,
|
|
89658
90633
|
ElsInput as aa,
|
|
89659
90634
|
ElsInputNumber as ab,
|
|
89660
90635
|
ElsInputRange as ac,
|
|
@@ -89679,87 +90654,89 @@ export {
|
|
|
89679
90654
|
ElsRadioButton as av,
|
|
89680
90655
|
ElsRender as aw,
|
|
89681
90656
|
ElsRenderAsync as ax,
|
|
89682
|
-
|
|
89683
|
-
|
|
90657
|
+
ElsRequestForm as ay,
|
|
90658
|
+
ElsRow as az,
|
|
89684
90659
|
buildSpacingCss as b,
|
|
89685
|
-
|
|
89686
|
-
|
|
89687
|
-
|
|
89688
|
-
|
|
89689
|
-
|
|
89690
|
-
|
|
89691
|
-
|
|
89692
|
-
|
|
89693
|
-
|
|
89694
|
-
|
|
89695
|
-
|
|
89696
|
-
|
|
89697
|
-
|
|
89698
|
-
|
|
89699
|
-
|
|
89700
|
-
|
|
89701
|
-
|
|
89702
|
-
|
|
89703
|
-
|
|
89704
|
-
|
|
89705
|
-
|
|
89706
|
-
|
|
89707
|
-
|
|
89708
|
-
|
|
89709
|
-
|
|
89710
|
-
|
|
89711
|
-
|
|
89712
|
-
|
|
89713
|
-
|
|
89714
|
-
|
|
89715
|
-
|
|
89716
|
-
|
|
89717
|
-
|
|
89718
|
-
|
|
89719
|
-
|
|
89720
|
-
|
|
89721
|
-
|
|
89722
|
-
|
|
89723
|
-
|
|
89724
|
-
|
|
89725
|
-
|
|
89726
|
-
|
|
89727
|
-
|
|
89728
|
-
|
|
89729
|
-
|
|
89730
|
-
|
|
89731
|
-
|
|
89732
|
-
|
|
89733
|
-
|
|
89734
|
-
|
|
89735
|
-
|
|
89736
|
-
|
|
89737
|
-
|
|
89738
|
-
|
|
89739
|
-
|
|
89740
|
-
|
|
89741
|
-
|
|
89742
|
-
|
|
89743
|
-
|
|
89744
|
-
|
|
89745
|
-
|
|
89746
|
-
|
|
89747
|
-
|
|
89748
|
-
|
|
90660
|
+
setResponseInterceptors as b$,
|
|
90661
|
+
Segmented as b0,
|
|
90662
|
+
Select$1 as b1,
|
|
90663
|
+
Slider as b2,
|
|
90664
|
+
Switch as b3,
|
|
90665
|
+
TimePicker as b4,
|
|
90666
|
+
TimePickerRange as b5,
|
|
90667
|
+
Tree$1 as b6,
|
|
90668
|
+
UEditor as b7,
|
|
90669
|
+
Upload$2 as b8,
|
|
90670
|
+
WangEditor$1 as b9,
|
|
90671
|
+
imageViewerProps as bA,
|
|
90672
|
+
inputNumberProps as bB,
|
|
90673
|
+
inputProps as bC,
|
|
90674
|
+
inputRangeProps as bD,
|
|
90675
|
+
inputTagProps as bE,
|
|
90676
|
+
jsonEditorProps as bF,
|
|
90677
|
+
jsonViewerProps as bG,
|
|
90678
|
+
listProps as bH,
|
|
90679
|
+
loadAsyncComponent as bI,
|
|
90680
|
+
loadSkeletonAsyncComponent as bJ,
|
|
90681
|
+
mdEditorProps as bK,
|
|
90682
|
+
menuContextProps as bL,
|
|
90683
|
+
menuDropdownProps as bM,
|
|
90684
|
+
menuEmits as bN,
|
|
90685
|
+
menuItemProps as bO,
|
|
90686
|
+
menuProps as bP,
|
|
90687
|
+
menuToolProps as bQ,
|
|
90688
|
+
optionGroupProps as bR,
|
|
90689
|
+
optionProps as bS,
|
|
90690
|
+
radioProps as bT,
|
|
90691
|
+
renderProps as bU,
|
|
90692
|
+
requestFormProps as bV,
|
|
90693
|
+
segmentedProps as bW,
|
|
90694
|
+
selectProps as bX,
|
|
90695
|
+
setConfig as bY,
|
|
90696
|
+
setJwtToken as bZ,
|
|
90697
|
+
setRequestInterceptors as b_,
|
|
90698
|
+
aceEditorProps as ba,
|
|
90699
|
+
autocompleteProps as bb,
|
|
90700
|
+
captionProps as bc,
|
|
90701
|
+
cascaderProps as bd,
|
|
90702
|
+
checkboxProps as be,
|
|
90703
|
+
collapseTransitionProps as bf,
|
|
90704
|
+
colorPickerProps as bg,
|
|
90705
|
+
containerProps as bh,
|
|
90706
|
+
createAxiosInstance as bi,
|
|
90707
|
+
dataModalProps as bj,
|
|
90708
|
+
datePickerProps as bk,
|
|
90709
|
+
datePickerRangeProps as bl,
|
|
90710
|
+
ElementLess as bm,
|
|
90711
|
+
defaultConfig as bn,
|
|
90712
|
+
designerProps as bo,
|
|
90713
|
+
designerViewProps as bp,
|
|
90714
|
+
dialogProps as bq,
|
|
90715
|
+
drawerProps as br,
|
|
90716
|
+
dropdownProps as bs,
|
|
90717
|
+
formItemProps as bt,
|
|
90718
|
+
formProps as bu,
|
|
90719
|
+
formQueryProps as bv,
|
|
90720
|
+
getAxiosConfig as bw,
|
|
90721
|
+
getAxiosInstance as bx,
|
|
90722
|
+
globalConfig as by,
|
|
90723
|
+
imageProps as bz,
|
|
89749
90724
|
utils as c,
|
|
89750
|
-
|
|
89751
|
-
|
|
89752
|
-
|
|
89753
|
-
|
|
89754
|
-
|
|
89755
|
-
|
|
89756
|
-
|
|
89757
|
-
|
|
89758
|
-
|
|
89759
|
-
|
|
89760
|
-
|
|
89761
|
-
|
|
89762
|
-
|
|
90725
|
+
sliderProps as c0,
|
|
90726
|
+
stampBadgeProps as c1,
|
|
90727
|
+
switchProps as c2,
|
|
90728
|
+
tableColumnProps as c3,
|
|
90729
|
+
tableProps as c4,
|
|
90730
|
+
tabsProps as c5,
|
|
90731
|
+
timePickerProps as c6,
|
|
90732
|
+
timePickerRangeProps as c7,
|
|
90733
|
+
tipProps as c8,
|
|
90734
|
+
tipTapEditorProps as c9,
|
|
90735
|
+
treeProps as ca,
|
|
90736
|
+
uEditorProps as cb,
|
|
90737
|
+
uploadProps as cc,
|
|
90738
|
+
wangEditorProps as cd,
|
|
90739
|
+
workFlowProps as ce,
|
|
89763
90740
|
useComponentRef as d,
|
|
89764
90741
|
DynamicRenderAsync as e,
|
|
89765
90742
|
DynamicDesignerInner as f,
|