starfish-form-custom 1.0.44 → 1.0.46
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/.pnpm-debug.log +828 -828
- package/components.d.ts +0 -2
- package/dist/{formAction-48f1f081.mjs → formAction-b76664af.mjs} +44 -52
- package/dist/{index-e7b2d7c0.mjs → index-0aa74f91.mjs} +40 -93
- package/dist/{index-e8b18d70.mjs → index-7fc8db96.mjs} +17 -22
- package/dist/{index-c2fdc90f.mjs → index-d1c1ba4b.mjs} +55 -81
- package/dist/{main-c6aa3683.mjs → main-d99755be.mjs} +273 -518
- package/dist/{starfish-form-ac5dbff7.mjs → starfish-form-0baee1df.mjs} +13 -9
- package/dist/starfish-form.mjs +1 -1
- package/dist/style.css +23 -130
- package/dist/types/form/src/common/Loading.vue.d.ts +2 -2
- package/dist/types/form/src/main.d.ts +17 -10
- package/dist/types/form/src/starfish-form.vue.d.ts +17 -10
- package/dist/types/form/src/utils/fieldProps.d.ts +4 -0
- package/package.json +43 -52
- package/src/components/CheckBox/index.vue +2 -2
- package/src/components/Date/index.vue +2 -2
- package/src/components/DateTime/index.vue +2 -2
- package/src/components/InputNumber/index.vue +2 -2
- package/src/components/Radio/index.vue +9 -1
- package/src/components/RichText/index.vue +65 -180
- package/src/components/Rule/index.vue +2 -2
- package/src/components/Rule/rules.js +3 -3
- package/src/components/Selected/index.vue +2 -2
- package/src/components/Selecteds/index.vue +2 -2
- package/src/components/Switch/index.vue +1 -1
- package/src/components/Text/index.vue +2 -2
- package/src/components/TextArea/index.vue +2 -2
- package/src/starfish-form.vue +8 -3
- package/src/styles/formedit.scss +115 -115
- package/src/styles/keyvalueConfig.scss +56 -56
- package/src/utils/customHooks.ts +0 -1
- package/src/utils/fieldProps.ts +5 -1
- package/stats.html +2230 -2123
- package/dist/types/form/src/common/formAction.vue.d.ts +0 -85
- package/dist/types/form/src/components/RichText/MenuBar.vue.d.ts +0 -34
- package/dist/types/form/src/components/RichText/MenuItem.vue.d.ts +0 -42
- package/src/components/RichText/MenuBar.vue +0 -144
- package/src/components/RichText/MenuItem.vue +0 -98
|
@@ -4,7 +4,7 @@ import 'element-plus/es/components/icon/style/css';
|
|
|
4
4
|
import 'element-plus/es/components/input/style/css';
|
|
5
5
|
import 'element-plus/es/components/checkbox/style/css';
|
|
6
6
|
import 'element-plus/es/components/tooltip/style/css';
|
|
7
|
-
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, createBlock, withCtx, Fragment, renderList, createVNode, withDirectives, inject, computed, ref, createTextVNode, getCurrentInstance, watch,
|
|
7
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, createBlock, withCtx, Fragment, renderList, createVNode, withDirectives, inject, computed, ref, createTextVNode, getCurrentInstance, watch, vShow, resolveDynamicComponent, nextTick, reactive, defineAsyncComponent } from 'vue';
|
|
8
8
|
import { SemiSelect, Top, Bottom, Delete, Edit } from '@element-plus/icons-vue';
|
|
9
9
|
import 'element-plus/es/components/loading/style/css';
|
|
10
10
|
import 'element-plus/es/components/dropdown/style/css';
|
|
@@ -970,6 +970,10 @@ const fieldProps = {
|
|
|
970
970
|
type: Boolean,
|
|
971
971
|
default: false
|
|
972
972
|
},
|
|
973
|
+
search: {
|
|
974
|
+
type: Boolean,
|
|
975
|
+
default: false
|
|
976
|
+
},
|
|
973
977
|
labelalign: {
|
|
974
978
|
type: String,
|
|
975
979
|
default: "top"
|
|
@@ -1005,7 +1009,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
1005
1009
|
return target;
|
|
1006
1010
|
};
|
|
1007
1011
|
|
|
1008
|
-
const _sfc_main$
|
|
1012
|
+
const _sfc_main$r = defineComponent({
|
|
1009
1013
|
ControlType: "KeyValueConfig",
|
|
1010
1014
|
// 必须与文件名匹配
|
|
1011
1015
|
nameCn: "\u952E\u503C\u5BF9\u5339\u914D",
|
|
@@ -1101,27 +1105,20 @@ const _sfc_main$t = defineComponent({
|
|
|
1101
1105
|
};
|
|
1102
1106
|
}
|
|
1103
1107
|
});
|
|
1104
|
-
const _hoisted_1$
|
|
1108
|
+
const _hoisted_1$p = {
|
|
1105
1109
|
key: 0,
|
|
1106
1110
|
class: "item_require"
|
|
1107
1111
|
};
|
|
1108
|
-
const _hoisted_2$
|
|
1109
|
-
const _hoisted_3$
|
|
1110
|
-
const _hoisted_4$
|
|
1111
|
-
const _hoisted_5$
|
|
1112
|
-
const _hoisted_6$
|
|
1113
|
-
const _hoisted_7$1 =
|
|
1114
|
-
const _hoisted_8$1 =
|
|
1115
|
-
const _hoisted_9$1 =
|
|
1112
|
+
const _hoisted_2$e = { class: "keyValueSelect" };
|
|
1113
|
+
const _hoisted_3$3 = { class: "keyValueInput" };
|
|
1114
|
+
const _hoisted_4$1 = { class: "inputItem" };
|
|
1115
|
+
const _hoisted_5$1 = { class: "inputItem" };
|
|
1116
|
+
const _hoisted_6$1 = { class: "keyValueControl" };
|
|
1117
|
+
const _hoisted_7$1 = ["onClick"];
|
|
1118
|
+
const _hoisted_8$1 = ["onClick"];
|
|
1119
|
+
const _hoisted_9$1 = ["onClick"];
|
|
1116
1120
|
const _hoisted_10$1 = ["onClick"];
|
|
1117
|
-
|
|
1118
|
-
const _hoisted_12$1 = [
|
|
1119
|
-
_hoisted_11$1
|
|
1120
|
-
];
|
|
1121
|
-
const _hoisted_13$1 = ["onClick"];
|
|
1122
|
-
const _hoisted_14$1 = ["onClick"];
|
|
1123
|
-
const _hoisted_15$1 = ["onClick"];
|
|
1124
|
-
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1121
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1125
1122
|
const _component_el_tooltip = ElTooltip;
|
|
1126
1123
|
const _component_el_checkbox = ElCheckbox;
|
|
1127
1124
|
const _component_el_input = ElInput;
|
|
@@ -1137,7 +1134,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1137
1134
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
1138
1135
|
}, [
|
|
1139
1136
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
1140
|
-
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1137
|
+
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$p, "*")) : createCommentVNode("", true),
|
|
1141
1138
|
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
1142
1139
|
key: 1,
|
|
1143
1140
|
class: "item",
|
|
@@ -1145,9 +1142,9 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1145
1142
|
content: _ctx.item.data.tip,
|
|
1146
1143
|
placement: "top"
|
|
1147
1144
|
}, {
|
|
1148
|
-
default: withCtx(() => [
|
|
1149
|
-
|
|
1150
|
-
]),
|
|
1145
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
1146
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
1147
|
+
])]),
|
|
1151
1148
|
_: 1
|
|
1152
1149
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
1153
1150
|
], 6),
|
|
@@ -1160,16 +1157,16 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1160
1157
|
class: "starfish-keyValueItem",
|
|
1161
1158
|
key: index
|
|
1162
1159
|
}, [
|
|
1163
|
-
createElementVNode("div",
|
|
1160
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
1164
1161
|
createVNode(_component_el_checkbox, {
|
|
1165
1162
|
modelValue: items.select,
|
|
1166
1163
|
"onUpdate:modelValue": ($event) => items.select = $event,
|
|
1167
1164
|
onChange: ($event) => _ctx.getChangeSelect(items)
|
|
1168
1165
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
1169
1166
|
]),
|
|
1170
|
-
createElementVNode("div",
|
|
1171
|
-
createElementVNode("div",
|
|
1172
|
-
|
|
1167
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
1168
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
1169
|
+
_cache[1] || (_cache[1] = createElementVNode("span", null, "\u6587\u672C\uFF1A", -1)),
|
|
1173
1170
|
createElementVNode("div", null, [
|
|
1174
1171
|
createVNode(_component_el_input, {
|
|
1175
1172
|
modelValue: items.label,
|
|
@@ -1179,8 +1176,8 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1179
1176
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onInput"])
|
|
1180
1177
|
])
|
|
1181
1178
|
]),
|
|
1182
|
-
createElementVNode("div",
|
|
1183
|
-
|
|
1179
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
1180
|
+
_cache[2] || (_cache[2] = createElementVNode("span", null, "\u503C\uFF1A", -1)),
|
|
1184
1181
|
createElementVNode("div", null, [
|
|
1185
1182
|
createVNode(_component_el_input, {
|
|
1186
1183
|
modelValue: items.value,
|
|
@@ -1191,11 +1188,13 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1191
1188
|
])
|
|
1192
1189
|
])
|
|
1193
1190
|
]),
|
|
1194
|
-
createElementVNode("div",
|
|
1191
|
+
createElementVNode("div", _hoisted_6$1, [
|
|
1195
1192
|
createElementVNode("div", {
|
|
1196
1193
|
class: "add",
|
|
1197
1194
|
onClick: ($event) => _ctx.addItem(index)
|
|
1198
|
-
},
|
|
1195
|
+
}, [..._cache[3] || (_cache[3] = [
|
|
1196
|
+
createElementVNode("i", { class: "iconfontui icon-zengjia" }, null, -1)
|
|
1197
|
+
])], 8, _hoisted_7$1),
|
|
1199
1198
|
createElementVNode("div", {
|
|
1200
1199
|
class: "remove",
|
|
1201
1200
|
onClick: ($event) => _ctx.removeItem(index)
|
|
@@ -1209,7 +1208,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1209
1208
|
]),
|
|
1210
1209
|
_: 1
|
|
1211
1210
|
})
|
|
1212
|
-
], 8,
|
|
1211
|
+
], 8, _hoisted_8$1),
|
|
1213
1212
|
createElementVNode("div", {
|
|
1214
1213
|
class: "top",
|
|
1215
1214
|
onClick: ($event) => _ctx.handleTop(index)
|
|
@@ -1220,7 +1219,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1220
1219
|
]),
|
|
1221
1220
|
_: 1
|
|
1222
1221
|
})
|
|
1223
|
-
], 8,
|
|
1222
|
+
], 8, _hoisted_9$1),
|
|
1224
1223
|
createElementVNode("div", {
|
|
1225
1224
|
class: "bottom",
|
|
1226
1225
|
onClick: ($event) => _ctx.handleBottom(index)
|
|
@@ -1231,21 +1230,21 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1231
1230
|
]),
|
|
1232
1231
|
_: 1
|
|
1233
1232
|
})
|
|
1234
|
-
], 8,
|
|
1233
|
+
], 8, _hoisted_10$1)
|
|
1235
1234
|
])
|
|
1236
1235
|
]);
|
|
1237
1236
|
}), 128))
|
|
1238
1237
|
], 4)
|
|
1239
1238
|
], 2);
|
|
1240
1239
|
}
|
|
1241
|
-
const KeyValueConfig = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1240
|
+
const KeyValueConfig = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
|
|
1242
1241
|
|
|
1243
1242
|
const __vite_glob_0_0 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1244
1243
|
__proto__: null,
|
|
1245
1244
|
default: KeyValueConfig
|
|
1246
1245
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1247
1246
|
|
|
1248
|
-
const _sfc_main$
|
|
1247
|
+
const _sfc_main$q = defineComponent({
|
|
1249
1248
|
ControlType: "KeyValueConfigMult",
|
|
1250
1249
|
// 必须与文件名匹配
|
|
1251
1250
|
nameCn: "\u591A\u9009\u952E\u503C\u5BF9\u5339\u914D",
|
|
@@ -1335,27 +1334,20 @@ const _sfc_main$s = defineComponent({
|
|
|
1335
1334
|
};
|
|
1336
1335
|
}
|
|
1337
1336
|
});
|
|
1338
|
-
const _hoisted_1$
|
|
1337
|
+
const _hoisted_1$o = {
|
|
1339
1338
|
key: 0,
|
|
1340
1339
|
class: "item_require"
|
|
1341
1340
|
};
|
|
1342
|
-
const _hoisted_2$
|
|
1343
|
-
const _hoisted_3$
|
|
1344
|
-
const _hoisted_4
|
|
1345
|
-
const _hoisted_5
|
|
1346
|
-
const _hoisted_6
|
|
1347
|
-
const _hoisted_7 =
|
|
1348
|
-
const _hoisted_8 =
|
|
1349
|
-
const _hoisted_9 =
|
|
1341
|
+
const _hoisted_2$d = { class: "keyValueSelect" };
|
|
1342
|
+
const _hoisted_3$2 = { class: "keyValueInput" };
|
|
1343
|
+
const _hoisted_4 = { class: "inputItem" };
|
|
1344
|
+
const _hoisted_5 = { class: "inputItem" };
|
|
1345
|
+
const _hoisted_6 = { class: "keyValueControl" };
|
|
1346
|
+
const _hoisted_7 = ["onClick"];
|
|
1347
|
+
const _hoisted_8 = ["onClick"];
|
|
1348
|
+
const _hoisted_9 = ["onClick"];
|
|
1350
1349
|
const _hoisted_10 = ["onClick"];
|
|
1351
|
-
|
|
1352
|
-
const _hoisted_12 = [
|
|
1353
|
-
_hoisted_11
|
|
1354
|
-
];
|
|
1355
|
-
const _hoisted_13 = ["onClick"];
|
|
1356
|
-
const _hoisted_14 = ["onClick"];
|
|
1357
|
-
const _hoisted_15 = ["onClick"];
|
|
1358
|
-
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1350
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1359
1351
|
const _component_el_tooltip = ElTooltip;
|
|
1360
1352
|
const _component_el_checkbox = ElCheckbox;
|
|
1361
1353
|
const _component_el_input = ElInput;
|
|
@@ -1371,7 +1363,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1371
1363
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
1372
1364
|
}, [
|
|
1373
1365
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
1374
|
-
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1366
|
+
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$o, "*")) : createCommentVNode("", true),
|
|
1375
1367
|
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
1376
1368
|
key: 1,
|
|
1377
1369
|
class: "item",
|
|
@@ -1379,9 +1371,9 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1379
1371
|
content: _ctx.item.data.tip,
|
|
1380
1372
|
placement: "top"
|
|
1381
1373
|
}, {
|
|
1382
|
-
default: withCtx(() => [
|
|
1383
|
-
|
|
1384
|
-
]),
|
|
1374
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
1375
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
1376
|
+
])]),
|
|
1385
1377
|
_: 1
|
|
1386
1378
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
1387
1379
|
], 6),
|
|
@@ -1394,16 +1386,16 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1394
1386
|
class: "starfish-keyValueItem",
|
|
1395
1387
|
key: index
|
|
1396
1388
|
}, [
|
|
1397
|
-
createElementVNode("div",
|
|
1389
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
1398
1390
|
createVNode(_component_el_checkbox, {
|
|
1399
1391
|
modelValue: items.select,
|
|
1400
1392
|
"onUpdate:modelValue": ($event) => items.select = $event,
|
|
1401
1393
|
onChange: ($event) => _ctx.getChangeSelect(items)
|
|
1402
1394
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
1403
1395
|
]),
|
|
1404
|
-
createElementVNode("div",
|
|
1405
|
-
createElementVNode("div",
|
|
1406
|
-
|
|
1396
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
1397
|
+
createElementVNode("div", _hoisted_4, [
|
|
1398
|
+
_cache[3] || (_cache[3] = createElementVNode("span", null, "\u6587\u672C\uFF1A", -1)),
|
|
1407
1399
|
createElementVNode("div", null, [
|
|
1408
1400
|
createVNode(_component_el_input, {
|
|
1409
1401
|
modelValue: items.label,
|
|
@@ -1413,8 +1405,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1413
1405
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1414
1406
|
])
|
|
1415
1407
|
]),
|
|
1416
|
-
createElementVNode("div",
|
|
1417
|
-
|
|
1408
|
+
createElementVNode("div", _hoisted_5, [
|
|
1409
|
+
_cache[4] || (_cache[4] = createElementVNode("span", null, "\u503C\uFF1A", -1)),
|
|
1418
1410
|
createElementVNode("div", null, [
|
|
1419
1411
|
createVNode(_component_el_input, {
|
|
1420
1412
|
modelValue: items.value,
|
|
@@ -1425,11 +1417,13 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1425
1417
|
])
|
|
1426
1418
|
])
|
|
1427
1419
|
]),
|
|
1428
|
-
createElementVNode("div",
|
|
1420
|
+
createElementVNode("div", _hoisted_6, [
|
|
1429
1421
|
createElementVNode("div", {
|
|
1430
1422
|
class: "add",
|
|
1431
1423
|
onClick: ($event) => _ctx.addItem(index)
|
|
1432
|
-
},
|
|
1424
|
+
}, [..._cache[5] || (_cache[5] = [
|
|
1425
|
+
createElementVNode("i", { class: "iconfontui icon-zengjia" }, null, -1)
|
|
1426
|
+
])], 8, _hoisted_7),
|
|
1433
1427
|
createElementVNode("div", {
|
|
1434
1428
|
class: "remove",
|
|
1435
1429
|
onClick: ($event) => _ctx.removeItem(index)
|
|
@@ -1443,7 +1437,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1443
1437
|
]),
|
|
1444
1438
|
_: 1
|
|
1445
1439
|
})
|
|
1446
|
-
], 8,
|
|
1440
|
+
], 8, _hoisted_8),
|
|
1447
1441
|
createElementVNode("div", {
|
|
1448
1442
|
class: "top",
|
|
1449
1443
|
onClick: ($event) => _ctx.handleTop(index)
|
|
@@ -1454,7 +1448,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1454
1448
|
]),
|
|
1455
1449
|
_: 1
|
|
1456
1450
|
})
|
|
1457
|
-
], 8,
|
|
1451
|
+
], 8, _hoisted_9),
|
|
1458
1452
|
createElementVNode("div", {
|
|
1459
1453
|
class: "bottom",
|
|
1460
1454
|
onClick: ($event) => _ctx.handleBottom(index)
|
|
@@ -1465,14 +1459,14 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1465
1459
|
]),
|
|
1466
1460
|
_: 1
|
|
1467
1461
|
})
|
|
1468
|
-
], 8,
|
|
1462
|
+
], 8, _hoisted_10)
|
|
1469
1463
|
])
|
|
1470
1464
|
]);
|
|
1471
1465
|
}), 128))
|
|
1472
1466
|
], 4)
|
|
1473
1467
|
], 2);
|
|
1474
1468
|
}
|
|
1475
|
-
const KeyValueConfigMult = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1469
|
+
const KeyValueConfigMult = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q]]);
|
|
1476
1470
|
|
|
1477
1471
|
const __vite_glob_0_1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1478
1472
|
__proto__: null,
|
|
@@ -1481,24 +1475,25 @@ const __vite_glob_0_1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
|
|
|
1481
1475
|
|
|
1482
1476
|
/* unplugin-vue-components disabled */const Loading_vue_vue_type_style_index_0_scoped_true_lang$1 = '';
|
|
1483
1477
|
|
|
1484
|
-
const _sfc_main$
|
|
1485
|
-
|
|
1478
|
+
const _sfc_main$p = {};
|
|
1479
|
+
|
|
1480
|
+
const _hoisted_1$n = { class: "loading" };
|
|
1486
1481
|
|
|
1487
|
-
function _sfc_render$
|
|
1482
|
+
function _sfc_render$p(_ctx, _cache) {
|
|
1488
1483
|
const _directive_loading = ElLoadingDirective;
|
|
1489
1484
|
|
|
1490
|
-
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
1485
|
+
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$n, null, 512)), [
|
|
1491
1486
|
[_directive_loading, true]
|
|
1492
1487
|
])
|
|
1493
1488
|
}
|
|
1494
|
-
const Loading$1 = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
1489
|
+
const Loading$1 = /*#__PURE__*/_export_sfc(_sfc_main$p, [['render',_sfc_render$p],['__scopeId',"data-v-2b901926"]]);
|
|
1495
1490
|
|
|
1496
1491
|
const __vite_glob_0_2 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1497
1492
|
__proto__: null,
|
|
1498
1493
|
default: Loading$1
|
|
1499
1494
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1500
1495
|
|
|
1501
|
-
const _sfc_main$
|
|
1496
|
+
const _sfc_main$o = defineComponent({
|
|
1502
1497
|
ControlType: "Action",
|
|
1503
1498
|
// 必须与文件名匹配
|
|
1504
1499
|
isHide: true,
|
|
@@ -1529,13 +1524,11 @@ const _sfc_main$q = defineComponent({
|
|
|
1529
1524
|
};
|
|
1530
1525
|
}
|
|
1531
1526
|
});
|
|
1532
|
-
const _hoisted_1$
|
|
1527
|
+
const _hoisted_1$m = {
|
|
1533
1528
|
key: 0,
|
|
1534
1529
|
class: "item_require"
|
|
1535
1530
|
};
|
|
1536
|
-
|
|
1537
|
-
const _hoisted_3$e = /* @__PURE__ */ createTextVNode(" \u65B0\u5EFA\u52A8\u4F5C+ ");
|
|
1538
|
-
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1531
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1539
1532
|
const _component_el_tooltip = ElTooltip;
|
|
1540
1533
|
const _component_el_option = ElOption;
|
|
1541
1534
|
const _component_el_select = ElSelect;
|
|
@@ -1559,7 +1552,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1559
1552
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
1560
1553
|
}, [
|
|
1561
1554
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
1562
|
-
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1555
|
+
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$m, "*")) : createCommentVNode("", true),
|
|
1563
1556
|
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
1564
1557
|
key: 1,
|
|
1565
1558
|
class: "item",
|
|
@@ -1567,9 +1560,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1567
1560
|
content: _ctx.item.data.tip,
|
|
1568
1561
|
placement: "top"
|
|
1569
1562
|
}, {
|
|
1570
|
-
default: withCtx(() => [
|
|
1571
|
-
|
|
1572
|
-
]),
|
|
1563
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
1564
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
1565
|
+
])]),
|
|
1573
1566
|
_: 1
|
|
1574
1567
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
1575
1568
|
], 6),
|
|
@@ -1610,8 +1603,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1610
1603
|
}, null, 8, ["label", "value"]);
|
|
1611
1604
|
}), 128))
|
|
1612
1605
|
]),
|
|
1613
|
-
_:
|
|
1614
|
-
},
|
|
1606
|
+
_: 1
|
|
1607
|
+
}, 8, ["modelValue", "onUpdate:modelValue", "size"])
|
|
1615
1608
|
]),
|
|
1616
1609
|
_: 2
|
|
1617
1610
|
}, 1024),
|
|
@@ -1634,8 +1627,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1634
1627
|
_: 1
|
|
1635
1628
|
})
|
|
1636
1629
|
]),
|
|
1637
|
-
_:
|
|
1638
|
-
},
|
|
1630
|
+
_: 1
|
|
1631
|
+
}, 8, ["size", "onClick"]),
|
|
1639
1632
|
createVNode(_component_el_button, {
|
|
1640
1633
|
type: "danger",
|
|
1641
1634
|
circle: "",
|
|
@@ -1650,8 +1643,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1650
1643
|
_: 1
|
|
1651
1644
|
})
|
|
1652
1645
|
]),
|
|
1653
|
-
_:
|
|
1654
|
-
},
|
|
1646
|
+
_: 1
|
|
1647
|
+
}, 8, ["size", "onClick"])
|
|
1655
1648
|
]),
|
|
1656
1649
|
_: 2
|
|
1657
1650
|
}, 1024)
|
|
@@ -1690,9 +1683,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1690
1683
|
style: { "width": "100%" },
|
|
1691
1684
|
size: _ctx.size
|
|
1692
1685
|
}, {
|
|
1693
|
-
default: withCtx(() => [
|
|
1694
|
-
|
|
1695
|
-
]),
|
|
1686
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
1687
|
+
createTextVNode(" \u65B0\u5EFA\u52A8\u4F5C+ ", -1)
|
|
1688
|
+
])]),
|
|
1696
1689
|
_: 1
|
|
1697
1690
|
}, 8, ["size"])
|
|
1698
1691
|
]),
|
|
@@ -1707,14 +1700,14 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1707
1700
|
}, null, 8, ["item", "data"])
|
|
1708
1701
|
], 2);
|
|
1709
1702
|
}
|
|
1710
|
-
const action = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1703
|
+
const action = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o]]);
|
|
1711
1704
|
|
|
1712
1705
|
const __vite_glob_0_3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1713
1706
|
__proto__: null,
|
|
1714
1707
|
default: action
|
|
1715
1708
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1716
1709
|
|
|
1717
|
-
const _sfc_main$
|
|
1710
|
+
const _sfc_main$n = defineComponent({
|
|
1718
1711
|
ControlType: "ListConfig",
|
|
1719
1712
|
// 必须与文件名匹配
|
|
1720
1713
|
nameCn: "\u6805\u683C\u5217\u8868\u914D\u7F6E",
|
|
@@ -1739,8 +1732,7 @@ const _sfc_main$p = defineComponent({
|
|
|
1739
1732
|
};
|
|
1740
1733
|
}
|
|
1741
1734
|
});
|
|
1742
|
-
|
|
1743
|
-
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1735
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1744
1736
|
const _component_el_input_number = ElInputNumber;
|
|
1745
1737
|
const _component_Delete = resolveComponent("Delete");
|
|
1746
1738
|
const _component_el_icon = ElIcon;
|
|
@@ -1789,8 +1781,8 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1789
1781
|
_: 1
|
|
1790
1782
|
})
|
|
1791
1783
|
]),
|
|
1792
|
-
_:
|
|
1793
|
-
},
|
|
1784
|
+
_: 1
|
|
1785
|
+
}, 8, ["onClick"])
|
|
1794
1786
|
]),
|
|
1795
1787
|
_: 2
|
|
1796
1788
|
}, 1024);
|
|
@@ -1800,22 +1792,22 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1800
1792
|
onClick: _ctx.onAdd,
|
|
1801
1793
|
size: "default"
|
|
1802
1794
|
}, {
|
|
1803
|
-
default: withCtx(() => [
|
|
1804
|
-
|
|
1805
|
-
]),
|
|
1795
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
1796
|
+
createTextVNode("\u6DFB\u52A0", -1)
|
|
1797
|
+
])]),
|
|
1806
1798
|
_: 1
|
|
1807
1799
|
}, 8, ["onClick"])
|
|
1808
1800
|
], 4)
|
|
1809
1801
|
], 2);
|
|
1810
1802
|
}
|
|
1811
|
-
const listConfig = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1803
|
+
const listConfig = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
|
|
1812
1804
|
|
|
1813
1805
|
const __vite_glob_0_4 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1814
1806
|
__proto__: null,
|
|
1815
1807
|
default: listConfig
|
|
1816
1808
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1817
1809
|
|
|
1818
|
-
const _sfc_main$
|
|
1810
|
+
const _sfc_main$m = defineComponent({
|
|
1819
1811
|
ControlType: "Panel",
|
|
1820
1812
|
// 必须与文件名匹配
|
|
1821
1813
|
isHide: true,
|
|
@@ -1838,10 +1830,7 @@ const _sfc_main$o = defineComponent({
|
|
|
1838
1830
|
};
|
|
1839
1831
|
}
|
|
1840
1832
|
});
|
|
1841
|
-
|
|
1842
|
-
const _hoisted_2$i = /* @__PURE__ */ createElementVNode("i", { class: "iconfontui icon-bars handle" }, null, -1);
|
|
1843
|
-
const _hoisted_3$d = /* @__PURE__ */ createTextVNode("\u6DFB\u52A0\u9762\u677F");
|
|
1844
|
-
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1833
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1845
1834
|
const _component_el_tooltip = ElTooltip;
|
|
1846
1835
|
const _component_el_col = ElCol;
|
|
1847
1836
|
const _component_el_input = ElInput;
|
|
@@ -1864,9 +1853,9 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1864
1853
|
content: "\u53EF\u62D6\u62FD\u8C03\u6574\u987A\u5E8F",
|
|
1865
1854
|
placement: "top"
|
|
1866
1855
|
}, {
|
|
1867
|
-
default: withCtx(() => [
|
|
1868
|
-
|
|
1869
|
-
]),
|
|
1856
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
1857
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
1858
|
+
])]),
|
|
1870
1859
|
_: 1
|
|
1871
1860
|
})
|
|
1872
1861
|
], 6),
|
|
@@ -1889,11 +1878,11 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1889
1878
|
createVNode(_component_el_row, { gutter: 10 }, {
|
|
1890
1879
|
default: withCtx(() => [
|
|
1891
1880
|
createVNode(_component_el_col, { span: 1.5 }, {
|
|
1892
|
-
default: withCtx(() => [
|
|
1893
|
-
|
|
1894
|
-
]),
|
|
1881
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
1882
|
+
createElementVNode("i", { class: "iconfontui icon-bars handle" }, null, -1)
|
|
1883
|
+
])]),
|
|
1895
1884
|
_: 1
|
|
1896
|
-
}
|
|
1885
|
+
}),
|
|
1897
1886
|
createVNode(_component_el_col, {
|
|
1898
1887
|
class: "list-group-item",
|
|
1899
1888
|
span: 14
|
|
@@ -1924,8 +1913,8 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1924
1913
|
_: 1
|
|
1925
1914
|
})
|
|
1926
1915
|
]),
|
|
1927
|
-
_:
|
|
1928
|
-
},
|
|
1916
|
+
_: 1
|
|
1917
|
+
}, 8, ["onClick"])
|
|
1929
1918
|
]),
|
|
1930
1919
|
_: 2
|
|
1931
1920
|
}, 1024)
|
|
@@ -1944,9 +1933,9 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1944
1933
|
onClick: _ctx.add,
|
|
1945
1934
|
size: "default"
|
|
1946
1935
|
}, {
|
|
1947
|
-
default: withCtx(() => [
|
|
1948
|
-
|
|
1949
|
-
]),
|
|
1936
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
1937
|
+
createTextVNode("\u6DFB\u52A0\u9762\u677F", -1)
|
|
1938
|
+
])]),
|
|
1950
1939
|
_: 1
|
|
1951
1940
|
}, 8, ["onClick"])
|
|
1952
1941
|
]),
|
|
@@ -1955,7 +1944,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1955
1944
|
], 4)
|
|
1956
1945
|
], 2);
|
|
1957
1946
|
}
|
|
1958
|
-
const panel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1947
|
+
const panel = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
|
|
1959
1948
|
|
|
1960
1949
|
const __vite_glob_0_5 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1961
1950
|
__proto__: null,
|
|
@@ -1968,7 +1957,6 @@ function useWatch(props) {
|
|
|
1968
1957
|
watch(
|
|
1969
1958
|
() => props.data[props.item.data.fieldName],
|
|
1970
1959
|
(val, oldVal) => {
|
|
1971
|
-
console.log("watch", val, oldVal, "props.item.data", props.item.data);
|
|
1972
1960
|
if (props.item.data.action && props.item.data.action.onChange) {
|
|
1973
1961
|
window.VApp.$Flex.funcExec(props.item.data.action.onChange, vm.proxy, [val, oldVal, props.data]);
|
|
1974
1962
|
}
|
|
@@ -1981,7 +1969,7 @@ function useWatch(props) {
|
|
|
1981
1969
|
}
|
|
1982
1970
|
}
|
|
1983
1971
|
|
|
1984
|
-
const _sfc_main$
|
|
1972
|
+
const _sfc_main$l = defineComponent({
|
|
1985
1973
|
ControlType: "RadioGroup",
|
|
1986
1974
|
// 必须与文件名匹配
|
|
1987
1975
|
isHide: true,
|
|
@@ -1992,23 +1980,22 @@ const _sfc_main$n = defineComponent({
|
|
|
1992
1980
|
useWatch(props);
|
|
1993
1981
|
}
|
|
1994
1982
|
});
|
|
1995
|
-
const _hoisted_1$
|
|
1996
|
-
const _hoisted_2$
|
|
1983
|
+
const _hoisted_1$l = { class: "label" };
|
|
1984
|
+
const _hoisted_2$c = {
|
|
1997
1985
|
key: 0,
|
|
1998
1986
|
class: "item_require"
|
|
1999
1987
|
};
|
|
2000
|
-
const _hoisted_3$
|
|
2001
|
-
|
|
2002
|
-
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1988
|
+
const _hoisted_3$1 = { class: "control" };
|
|
1989
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2003
1990
|
const _component_el_tooltip = ElTooltip;
|
|
2004
1991
|
const _component_el_radio_button = ElRadioButton;
|
|
2005
1992
|
const _component_el_radio_group = ElRadioGroup;
|
|
2006
1993
|
return openBlock(), createElementBlock("div", {
|
|
2007
1994
|
class: normalizeClass(["starfish-formitem", _ctx.drag ? "formCover" : ""])
|
|
2008
1995
|
}, [
|
|
2009
|
-
createElementVNode("div", _hoisted_1$
|
|
1996
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
2010
1997
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label), 1),
|
|
2011
|
-
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1998
|
+
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true),
|
|
2012
1999
|
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2013
2000
|
key: 1,
|
|
2014
2001
|
class: "item",
|
|
@@ -2016,13 +2003,13 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2016
2003
|
content: _ctx.item.data.tip,
|
|
2017
2004
|
placement: "top"
|
|
2018
2005
|
}, {
|
|
2019
|
-
default: withCtx(() => [
|
|
2020
|
-
|
|
2021
|
-
]),
|
|
2006
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
2007
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
2008
|
+
])]),
|
|
2022
2009
|
_: 1
|
|
2023
2010
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
2024
2011
|
]),
|
|
2025
|
-
createElementVNode("div",
|
|
2012
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
2026
2013
|
createVNode(_component_el_radio_group, {
|
|
2027
2014
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2028
2015
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -2041,14 +2028,14 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2041
2028
|
])
|
|
2042
2029
|
], 2);
|
|
2043
2030
|
}
|
|
2044
|
-
const radiogroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2031
|
+
const radiogroup = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l]]);
|
|
2045
2032
|
|
|
2046
2033
|
const __vite_glob_0_6 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2047
2034
|
__proto__: null,
|
|
2048
2035
|
default: radiogroup
|
|
2049
2036
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2050
2037
|
|
|
2051
|
-
const _sfc_main$
|
|
2038
|
+
const _sfc_main$k = defineComponent({
|
|
2052
2039
|
ControlType: "CheckBox",
|
|
2053
2040
|
// 必须与文件名匹配
|
|
2054
2041
|
nameCn: "\u590D\u9009\u6846",
|
|
@@ -2066,13 +2053,12 @@ const _sfc_main$m = defineComponent({
|
|
|
2066
2053
|
useWatch(props);
|
|
2067
2054
|
}
|
|
2068
2055
|
});
|
|
2069
|
-
const _hoisted_1$
|
|
2056
|
+
const _hoisted_1$k = {
|
|
2070
2057
|
key: 0,
|
|
2071
2058
|
class: "item_require"
|
|
2072
2059
|
};
|
|
2073
|
-
const _hoisted_2$
|
|
2074
|
-
|
|
2075
|
-
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2060
|
+
const _hoisted_2$b = { key: 0 };
|
|
2061
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2076
2062
|
const _component_el_tooltip = ElTooltip;
|
|
2077
2063
|
const _component_el_checkbox = ElCheckbox;
|
|
2078
2064
|
const _component_el_checkbox_group = ElCheckboxGroup;
|
|
@@ -2083,18 +2069,18 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2083
2069
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
2084
2070
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
2085
2071
|
}, [
|
|
2086
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2072
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" && !_ctx.search ? (openBlock(), createElementBlock("span", _hoisted_1$k, "*")) : createCommentVNode("", true),
|
|
2087
2073
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
2088
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2074
|
+
_ctx.item.data.tip && !_ctx.readonly && !_ctx.search ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2089
2075
|
key: 1,
|
|
2090
2076
|
class: "item",
|
|
2091
2077
|
effect: "dark",
|
|
2092
2078
|
content: _ctx.item.data.tip,
|
|
2093
2079
|
placement: "top"
|
|
2094
2080
|
}, {
|
|
2095
|
-
default: withCtx(() => [
|
|
2096
|
-
|
|
2097
|
-
]),
|
|
2081
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
2082
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
2083
|
+
])]),
|
|
2098
2084
|
_: 1
|
|
2099
2085
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
2100
2086
|
], 6),
|
|
@@ -2102,7 +2088,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2102
2088
|
class: "control",
|
|
2103
2089
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
2104
2090
|
}, [
|
|
2105
|
-
!_ctx.drag && _ctx.data[_ctx.item.data.fieldName] && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
2091
|
+
!_ctx.drag && _ctx.data[_ctx.item.data.fieldName] && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$b, toDisplayString(Array.isArray(_ctx.data[_ctx.item.data.fieldName]) ? _ctx.data[_ctx.item.data.fieldName].join(",") || "--" : _ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag && _ctx.data[_ctx.item.data.fieldName] ? (openBlock(), createBlock(_component_el_checkbox_group, {
|
|
2106
2092
|
key: 1,
|
|
2107
2093
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2108
2094
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -2151,7 +2137,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2151
2137
|
], 4)
|
|
2152
2138
|
], 2);
|
|
2153
2139
|
}
|
|
2154
|
-
const index$e = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2140
|
+
const index$e = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k]]);
|
|
2155
2141
|
|
|
2156
2142
|
const __vite_glob_0_7 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2157
2143
|
__proto__: null,
|
|
@@ -2160,7 +2146,7 @@ const __vite_glob_0_7 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePro
|
|
|
2160
2146
|
|
|
2161
2147
|
/* unplugin-vue-components disabled */const index_vue_vue_type_style_index_0_scoped_true_lang = '';
|
|
2162
2148
|
|
|
2163
|
-
const _sfc_main$
|
|
2149
|
+
const _sfc_main$j = defineComponent({
|
|
2164
2150
|
ControlType: "ColorSelect",
|
|
2165
2151
|
// 必须与文件名匹配
|
|
2166
2152
|
nameCn: "\u989C\u8272\u9009\u62E9",
|
|
@@ -2174,15 +2160,13 @@ const _sfc_main$l = defineComponent({
|
|
|
2174
2160
|
useWatch(props);
|
|
2175
2161
|
}
|
|
2176
2162
|
});
|
|
2177
|
-
const
|
|
2178
|
-
const _hoisted_1$k = {
|
|
2163
|
+
const _hoisted_1$j = {
|
|
2179
2164
|
key: 0,
|
|
2180
2165
|
class: "item_require"
|
|
2181
2166
|
};
|
|
2182
|
-
const _hoisted_2$
|
|
2183
|
-
const _hoisted_3
|
|
2184
|
-
|
|
2185
|
-
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2167
|
+
const _hoisted_2$a = { key: 0 };
|
|
2168
|
+
const _hoisted_3 = { key: 1 };
|
|
2169
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2186
2170
|
const _component_el_tooltip = ElTooltip;
|
|
2187
2171
|
const _component_el_input = ElInput;
|
|
2188
2172
|
const _component_el_color_picker = ElColorPicker;
|
|
@@ -2194,7 +2178,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2194
2178
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
2195
2179
|
}, [
|
|
2196
2180
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
2197
|
-
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2181
|
+
_ctx.item.data.required ? (openBlock(), createElementBlock("span", _hoisted_1$j, "*")) : createCommentVNode("", true),
|
|
2198
2182
|
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2199
2183
|
key: 1,
|
|
2200
2184
|
class: "item",
|
|
@@ -2202,9 +2186,9 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2202
2186
|
content: _ctx.item.data.tip,
|
|
2203
2187
|
placement: "top"
|
|
2204
2188
|
}, {
|
|
2205
|
-
default: withCtx(() => [
|
|
2206
|
-
|
|
2207
|
-
]),
|
|
2189
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
2190
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
2191
|
+
])]),
|
|
2208
2192
|
_: 1
|
|
2209
2193
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
2210
2194
|
], 6),
|
|
@@ -2212,7 +2196,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2212
2196
|
class: "control",
|
|
2213
2197
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
2214
2198
|
}, [
|
|
2215
|
-
_ctx.drag ? (openBlock(), createElementBlock("div",
|
|
2199
|
+
_ctx.drag ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
2216
2200
|
createVNode(_component_el_input, {
|
|
2217
2201
|
modelValue: _ctx.item.data.default,
|
|
2218
2202
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.item.data.default = $event),
|
|
@@ -2227,7 +2211,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2227
2211
|
size: _ctx.size
|
|
2228
2212
|
}, null, 8, ["modelValue", "size"])
|
|
2229
2213
|
])) : createCommentVNode("", true),
|
|
2230
|
-
!_ctx.drag ? (openBlock(), createElementBlock("div",
|
|
2214
|
+
!_ctx.drag ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
2231
2215
|
createVNode(_component_el_input, {
|
|
2232
2216
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2233
2217
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -2245,14 +2229,14 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2245
2229
|
], 4)
|
|
2246
2230
|
], 2);
|
|
2247
2231
|
}
|
|
2248
|
-
const index$d = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2232
|
+
const index$d = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-4ce4907e"]]);
|
|
2249
2233
|
|
|
2250
2234
|
const __vite_glob_0_8 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2251
2235
|
__proto__: null,
|
|
2252
2236
|
default: index$d
|
|
2253
2237
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2254
2238
|
|
|
2255
|
-
const _sfc_main$
|
|
2239
|
+
const _sfc_main$i = defineComponent({
|
|
2256
2240
|
ControlType: "Date",
|
|
2257
2241
|
// 必须与文件名匹配
|
|
2258
2242
|
nameCn: "\u65E5\u671F",
|
|
@@ -2313,13 +2297,12 @@ const _sfc_main$k = defineComponent({
|
|
|
2313
2297
|
};
|
|
2314
2298
|
}
|
|
2315
2299
|
});
|
|
2316
|
-
const _hoisted_1$
|
|
2300
|
+
const _hoisted_1$i = {
|
|
2317
2301
|
key: 0,
|
|
2318
2302
|
class: "item_require"
|
|
2319
2303
|
};
|
|
2320
|
-
const _hoisted_2$
|
|
2321
|
-
|
|
2322
|
-
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2304
|
+
const _hoisted_2$9 = { key: 1 };
|
|
2305
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2323
2306
|
const _component_el_tooltip = ElTooltip;
|
|
2324
2307
|
const _component_el_date_picker = ElDatePicker;
|
|
2325
2308
|
return openBlock(), createElementBlock("div", {
|
|
@@ -2329,18 +2312,18 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2329
2312
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
2330
2313
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
2331
2314
|
}, [
|
|
2332
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2315
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" && !_ctx.search ? (openBlock(), createElementBlock("span", _hoisted_1$i, "*")) : createCommentVNode("", true),
|
|
2333
2316
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
2334
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2317
|
+
_ctx.item.data.tip && !_ctx.readonly && !_ctx.search ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2335
2318
|
key: 1,
|
|
2336
2319
|
class: "item",
|
|
2337
2320
|
effect: "dark",
|
|
2338
2321
|
content: _ctx.item.data.tip,
|
|
2339
2322
|
placement: "top"
|
|
2340
2323
|
}, {
|
|
2341
|
-
default: withCtx(() => [
|
|
2342
|
-
|
|
2343
|
-
]),
|
|
2324
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
2325
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
2326
|
+
])]),
|
|
2344
2327
|
_: 1
|
|
2345
2328
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
2346
2329
|
], 6),
|
|
@@ -2361,7 +2344,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2361
2344
|
disabled: _ctx.item.data.state === "disabled",
|
|
2362
2345
|
readonly: _ctx.item.data.state === "readonly"
|
|
2363
2346
|
}, null, 8, ["modelValue", "type", "format", "value-format", "placeholder", "size", "disabled", "readonly"])) : createCommentVNode("", true),
|
|
2364
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
2347
|
+
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$9, toDisplayString(_ctx.formatReadonlyDate(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.format)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
2365
2348
|
key: 2,
|
|
2366
2349
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2367
2350
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -2377,14 +2360,14 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2377
2360
|
], 4)
|
|
2378
2361
|
], 2);
|
|
2379
2362
|
}
|
|
2380
|
-
const index$c = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2363
|
+
const index$c = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i]]);
|
|
2381
2364
|
|
|
2382
2365
|
const __vite_glob_0_9 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2383
2366
|
__proto__: null,
|
|
2384
2367
|
default: index$c
|
|
2385
2368
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2386
2369
|
|
|
2387
|
-
const _sfc_main$
|
|
2370
|
+
const _sfc_main$h = defineComponent({
|
|
2388
2371
|
ControlType: "DateTime",
|
|
2389
2372
|
// 必须与文件名匹配
|
|
2390
2373
|
nameCn: "\u65E5\u671F\u65F6\u95F4",
|
|
@@ -2431,13 +2414,12 @@ const _sfc_main$j = defineComponent({
|
|
|
2431
2414
|
};
|
|
2432
2415
|
}
|
|
2433
2416
|
});
|
|
2434
|
-
const _hoisted_1$
|
|
2417
|
+
const _hoisted_1$h = {
|
|
2435
2418
|
key: 0,
|
|
2436
2419
|
class: "item_require"
|
|
2437
2420
|
};
|
|
2438
|
-
const _hoisted_2$
|
|
2439
|
-
|
|
2440
|
-
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2421
|
+
const _hoisted_2$8 = { key: 1 };
|
|
2422
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2441
2423
|
const _component_el_tooltip = ElTooltip;
|
|
2442
2424
|
const _component_el_date_picker = ElDatePicker;
|
|
2443
2425
|
return openBlock(), createElementBlock("div", {
|
|
@@ -2447,18 +2429,18 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2447
2429
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
2448
2430
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
2449
2431
|
}, [
|
|
2450
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2432
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" && !_ctx.search ? (openBlock(), createElementBlock("span", _hoisted_1$h, "*")) : createCommentVNode("", true),
|
|
2451
2433
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
2452
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2434
|
+
_ctx.item.data.tip && !_ctx.readonly && !_ctx.search ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2453
2435
|
key: 1,
|
|
2454
2436
|
class: "item",
|
|
2455
2437
|
effect: "dark",
|
|
2456
2438
|
content: _ctx.item.data.tip,
|
|
2457
2439
|
placement: "top"
|
|
2458
2440
|
}, {
|
|
2459
|
-
default: withCtx(() => [
|
|
2460
|
-
|
|
2461
|
-
]),
|
|
2441
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
2442
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
2443
|
+
])]),
|
|
2462
2444
|
_: 1
|
|
2463
2445
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
2464
2446
|
], 6),
|
|
@@ -2476,7 +2458,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2476
2458
|
disabled: _ctx.item.data.state === "disabled",
|
|
2477
2459
|
readonly: _ctx.item.data.state === "readonly"
|
|
2478
2460
|
}, null, 8, ["modelValue", "placeholder", "size", "disabled", "readonly"])) : createCommentVNode("", true),
|
|
2479
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
2461
|
+
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$8, toDisplayString(_ctx.formatReadonlyDate(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.format)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
2480
2462
|
key: 2,
|
|
2481
2463
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2482
2464
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -2489,14 +2471,14 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2489
2471
|
], 4)
|
|
2490
2472
|
], 2);
|
|
2491
2473
|
}
|
|
2492
|
-
const index$b = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2474
|
+
const index$b = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h]]);
|
|
2493
2475
|
|
|
2494
2476
|
const __vite_glob_0_10 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2495
2477
|
__proto__: null,
|
|
2496
2478
|
default: index$b
|
|
2497
2479
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2498
2480
|
|
|
2499
|
-
const _sfc_main$
|
|
2481
|
+
const _sfc_main$g = defineComponent({
|
|
2500
2482
|
ControlType: "InputNumber",
|
|
2501
2483
|
// 必须与文件名匹配
|
|
2502
2484
|
nameCn: "\u8BA1\u6570\u5668",
|
|
@@ -2540,13 +2522,12 @@ const _sfc_main$i = defineComponent({
|
|
|
2540
2522
|
};
|
|
2541
2523
|
}
|
|
2542
2524
|
});
|
|
2543
|
-
const _hoisted_1$
|
|
2525
|
+
const _hoisted_1$g = {
|
|
2544
2526
|
key: 0,
|
|
2545
2527
|
class: "item_require"
|
|
2546
2528
|
};
|
|
2547
|
-
const _hoisted_2$
|
|
2548
|
-
|
|
2549
|
-
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2529
|
+
const _hoisted_2$7 = { key: 1 };
|
|
2530
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2550
2531
|
const _component_el_tooltip = ElTooltip;
|
|
2551
2532
|
const _component_el_input_number = ElInputNumber;
|
|
2552
2533
|
return openBlock(), createElementBlock("div", {
|
|
@@ -2560,18 +2541,18 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2560
2541
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
2561
2542
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
2562
2543
|
}, [
|
|
2563
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2544
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" && !_ctx.search ? (openBlock(), createElementBlock("span", _hoisted_1$g, "*")) : createCommentVNode("", true),
|
|
2564
2545
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
2565
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2546
|
+
_ctx.item.data.tip && !_ctx.readonly && !_ctx.search ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2566
2547
|
key: 1,
|
|
2567
2548
|
class: "item",
|
|
2568
2549
|
effect: "dark",
|
|
2569
2550
|
content: _ctx.item.data.tip,
|
|
2570
2551
|
placement: "top"
|
|
2571
2552
|
}, {
|
|
2572
|
-
default: withCtx(() => [
|
|
2573
|
-
|
|
2574
|
-
]),
|
|
2553
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
2554
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
2555
|
+
])]),
|
|
2575
2556
|
_: 1
|
|
2576
2557
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
2577
2558
|
], 6),
|
|
@@ -2589,7 +2570,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2589
2570
|
precision: _ctx.item.data.precision,
|
|
2590
2571
|
disabled: _ctx.item.data.state === "disabled" || _ctx.item.data.state === "readonly"
|
|
2591
2572
|
}, null, 8, ["modelValue", "controls-position", "size", "precision", "disabled"])) : createCommentVNode("", true),
|
|
2592
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
2573
|
+
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(_ctx.formatReadonlyNumber(_ctx.data[_ctx.item.data.fieldName], _ctx.item.data.precision)), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_input_number, {
|
|
2593
2574
|
key: 2,
|
|
2594
2575
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2595
2576
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -2604,14 +2585,14 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2604
2585
|
], 4)
|
|
2605
2586
|
], 2);
|
|
2606
2587
|
}
|
|
2607
|
-
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2588
|
+
const index$a = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g]]);
|
|
2608
2589
|
|
|
2609
2590
|
const __vite_glob_0_11 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2610
2591
|
__proto__: null,
|
|
2611
2592
|
default: index$a
|
|
2612
2593
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2613
2594
|
|
|
2614
|
-
const _sfc_main$
|
|
2595
|
+
const _sfc_main$f = defineComponent({
|
|
2615
2596
|
ControlType: "Radio",
|
|
2616
2597
|
// 必须与文件名匹配
|
|
2617
2598
|
nameCn: "\u5355\u9009\u6846",
|
|
@@ -2629,13 +2610,12 @@ const _sfc_main$h = defineComponent({
|
|
|
2629
2610
|
useWatch(props);
|
|
2630
2611
|
}
|
|
2631
2612
|
});
|
|
2632
|
-
const _hoisted_1$
|
|
2613
|
+
const _hoisted_1$f = {
|
|
2633
2614
|
key: 0,
|
|
2634
2615
|
class: "item_require"
|
|
2635
2616
|
};
|
|
2636
|
-
const _hoisted_2$
|
|
2637
|
-
|
|
2638
|
-
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2617
|
+
const _hoisted_2$6 = { key: 0 };
|
|
2618
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2639
2619
|
const _component_el_tooltip = ElTooltip;
|
|
2640
2620
|
const _component_el_radio = ElRadio;
|
|
2641
2621
|
const _component_el_radio_group = ElRadioGroup;
|
|
@@ -2650,18 +2630,18 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2650
2630
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
2651
2631
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
2652
2632
|
}, [
|
|
2653
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2633
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$f, "*")) : createCommentVNode("", true),
|
|
2654
2634
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
2655
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2635
|
+
_ctx.item.data.tip && !_ctx.readonly ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
2656
2636
|
key: 1,
|
|
2657
2637
|
class: "item",
|
|
2658
2638
|
effect: "dark",
|
|
2659
2639
|
content: _ctx.item.data.tip,
|
|
2660
2640
|
placement: "top"
|
|
2661
2641
|
}, {
|
|
2662
|
-
default: withCtx(() => [
|
|
2663
|
-
|
|
2664
|
-
]),
|
|
2642
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
2643
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
2644
|
+
])]),
|
|
2665
2645
|
_: 1
|
|
2666
2646
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
2667
2647
|
], 6),
|
|
@@ -2669,7 +2649,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2669
2649
|
class: "control",
|
|
2670
2650
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
2671
2651
|
}, [
|
|
2672
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
2652
|
+
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$6, toDisplayString(_ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_radio_group, {
|
|
2673
2653
|
key: 1,
|
|
2674
2654
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
2675
2655
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -2720,226 +2700,13 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2720
2700
|
[vShow, _ctx.item.data.label !== "\u8BA1\u6570\u5668\u5C3A\u5BF8\u7C7B\u578B"]
|
|
2721
2701
|
]);
|
|
2722
2702
|
}
|
|
2723
|
-
const index$9 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2703
|
+
const index$9 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f]]);
|
|
2724
2704
|
|
|
2725
2705
|
const __vite_glob_0_12 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2726
2706
|
__proto__: null,
|
|
2727
2707
|
default: index$9
|
|
2728
2708
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2729
2709
|
|
|
2730
|
-
/* unplugin-vue-components disabled */const MenuItem_vue_vue_type_style_index_0_scoped_true_lang = '';
|
|
2731
|
-
|
|
2732
|
-
const _sfc_main$g = defineComponent({
|
|
2733
|
-
name: "MenuItem",
|
|
2734
|
-
props: {
|
|
2735
|
-
icon: {
|
|
2736
|
-
type: String,
|
|
2737
|
-
required: true
|
|
2738
|
-
},
|
|
2739
|
-
title: {
|
|
2740
|
-
type: String,
|
|
2741
|
-
required: true
|
|
2742
|
-
},
|
|
2743
|
-
action: {
|
|
2744
|
-
type: Function,
|
|
2745
|
-
required: true
|
|
2746
|
-
},
|
|
2747
|
-
isActive: {
|
|
2748
|
-
type: Function,
|
|
2749
|
-
default: null
|
|
2750
|
-
}
|
|
2751
|
-
},
|
|
2752
|
-
setup(props) {
|
|
2753
|
-
const titleMap = {
|
|
2754
|
-
"Bold": "\u7C97\u4F53",
|
|
2755
|
-
"Italic": "\u659C\u4F53",
|
|
2756
|
-
"Strike": "\u5220\u9664\u7EBF",
|
|
2757
|
-
"Code": "\u884C\u5185\u4EE3\u7801",
|
|
2758
|
-
"Heading 1": "\u6807\u9898 1",
|
|
2759
|
-
"Heading 2": "\u6807\u9898 2",
|
|
2760
|
-
"Paragraph": "\u6BB5\u843D",
|
|
2761
|
-
"Bullet list": "\u65E0\u5E8F\u5217\u8868",
|
|
2762
|
-
"Ordered list": "\u6709\u5E8F\u5217\u8868",
|
|
2763
|
-
"Code block": "\u4EE3\u7801\u5757",
|
|
2764
|
-
"Blockquote": "\u5F15\u7528\u5757",
|
|
2765
|
-
"Horizontal rule": "\u6C34\u5E73\u5206\u5272\u7EBF",
|
|
2766
|
-
"Undo": "\u64A4\u9500",
|
|
2767
|
-
"Redo": "\u91CD\u505A"
|
|
2768
|
-
};
|
|
2769
|
-
const chineseTitle = computed(() => {
|
|
2770
|
-
return titleMap[props.title] || props.title;
|
|
2771
|
-
});
|
|
2772
|
-
return {
|
|
2773
|
-
chineseTitle
|
|
2774
|
-
};
|
|
2775
|
-
}
|
|
2776
|
-
});
|
|
2777
|
-
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2778
|
-
const _component_el_tooltip = ElTooltip;
|
|
2779
|
-
return openBlock(), createBlock(_component_el_tooltip, {
|
|
2780
|
-
effect: "dark",
|
|
2781
|
-
content: _ctx.chineseTitle,
|
|
2782
|
-
placement: "top"
|
|
2783
|
-
}, {
|
|
2784
|
-
default: withCtx(() => [
|
|
2785
|
-
createElementVNode("button", {
|
|
2786
|
-
class: normalizeClass(["menu-item", { "is-active": _ctx.isActive && _ctx.isActive() }]),
|
|
2787
|
-
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.action && _ctx.action(...args), ["stop"]))
|
|
2788
|
-
}, [
|
|
2789
|
-
createElementVNode("i", {
|
|
2790
|
-
class: normalizeClass([`ri-${_ctx.icon}`, "menu-icon"])
|
|
2791
|
-
}, null, 2)
|
|
2792
|
-
], 2)
|
|
2793
|
-
]),
|
|
2794
|
-
_: 1
|
|
2795
|
-
}, 8, ["content"]);
|
|
2796
|
-
}
|
|
2797
|
-
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-05298bcd"]]);
|
|
2798
|
-
|
|
2799
|
-
const __vite_glob_0_14 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2800
|
-
__proto__: null,
|
|
2801
|
-
default: __unplugin_components_0
|
|
2802
|
-
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2803
|
-
|
|
2804
|
-
/* unplugin-vue-components disabled */const MenuBar_vue_vue_type_style_index_0_scoped_true_lang = '';
|
|
2805
|
-
|
|
2806
|
-
const _sfc_main$f = defineComponent({
|
|
2807
|
-
name: "MenuBar",
|
|
2808
|
-
components: {
|
|
2809
|
-
MenuItem: __unplugin_components_0
|
|
2810
|
-
},
|
|
2811
|
-
props: {
|
|
2812
|
-
editor: {
|
|
2813
|
-
type: Object,
|
|
2814
|
-
required: true
|
|
2815
|
-
}
|
|
2816
|
-
},
|
|
2817
|
-
setup(props) {
|
|
2818
|
-
const items = [
|
|
2819
|
-
{
|
|
2820
|
-
icon: "bold",
|
|
2821
|
-
title: "Bold",
|
|
2822
|
-
action: () => props.editor.chain().focus().toggleBold().run(),
|
|
2823
|
-
isActive: () => props.editor.isActive("bold")
|
|
2824
|
-
},
|
|
2825
|
-
{
|
|
2826
|
-
icon: "italic",
|
|
2827
|
-
title: "Italic",
|
|
2828
|
-
action: () => props.editor.chain().focus().toggleItalic().run(),
|
|
2829
|
-
isActive: () => props.editor.isActive("italic")
|
|
2830
|
-
},
|
|
2831
|
-
{
|
|
2832
|
-
icon: "strikethrough",
|
|
2833
|
-
title: "Strike",
|
|
2834
|
-
action: () => props.editor.chain().focus().toggleStrike().run(),
|
|
2835
|
-
isActive: () => props.editor.isActive("strike")
|
|
2836
|
-
},
|
|
2837
|
-
{
|
|
2838
|
-
icon: "code-view",
|
|
2839
|
-
title: "Code",
|
|
2840
|
-
action: () => props.editor.chain().focus().toggleCode().run(),
|
|
2841
|
-
isActive: () => props.editor.isActive("code")
|
|
2842
|
-
},
|
|
2843
|
-
{
|
|
2844
|
-
type: "divider"
|
|
2845
|
-
},
|
|
2846
|
-
{
|
|
2847
|
-
icon: "h-1",
|
|
2848
|
-
title: "Heading 1",
|
|
2849
|
-
action: () => props.editor.chain().focus().toggleHeading({ level: 1 }).run(),
|
|
2850
|
-
isActive: () => props.editor.isActive("heading", { level: 1 })
|
|
2851
|
-
},
|
|
2852
|
-
{
|
|
2853
|
-
icon: "h-2",
|
|
2854
|
-
title: "Heading 2",
|
|
2855
|
-
action: () => props.editor.chain().focus().toggleHeading({ level: 2 }).run(),
|
|
2856
|
-
isActive: () => props.editor.isActive("heading", { level: 2 })
|
|
2857
|
-
},
|
|
2858
|
-
{
|
|
2859
|
-
icon: "paragraph",
|
|
2860
|
-
title: "Paragraph",
|
|
2861
|
-
action: () => props.editor.chain().focus().setParagraph().run(),
|
|
2862
|
-
isActive: () => props.editor.isActive("paragraph")
|
|
2863
|
-
},
|
|
2864
|
-
{
|
|
2865
|
-
icon: "list-unordered",
|
|
2866
|
-
title: "Bullet list",
|
|
2867
|
-
action: () => props.editor.chain().focus().toggleBulletList().run(),
|
|
2868
|
-
isActive: () => props.editor.isActive("bulletList")
|
|
2869
|
-
},
|
|
2870
|
-
{
|
|
2871
|
-
icon: "list-ordered",
|
|
2872
|
-
title: "Ordered list",
|
|
2873
|
-
action: () => props.editor.chain().focus().toggleOrderedList().run(),
|
|
2874
|
-
isActive: () => props.editor.isActive("orderedList")
|
|
2875
|
-
},
|
|
2876
|
-
{
|
|
2877
|
-
icon: "code-box-line",
|
|
2878
|
-
title: "Code block",
|
|
2879
|
-
action: () => props.editor.chain().focus().toggleCodeBlock().run(),
|
|
2880
|
-
isActive: () => props.editor.isActive("codeBlock")
|
|
2881
|
-
},
|
|
2882
|
-
{
|
|
2883
|
-
type: "divider"
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
icon: "double-quotes-l",
|
|
2887
|
-
title: "Blockquote",
|
|
2888
|
-
action: () => props.editor.chain().focus().toggleBlockquote().run(),
|
|
2889
|
-
isActive: () => props.editor.isActive("blockquote")
|
|
2890
|
-
},
|
|
2891
|
-
{
|
|
2892
|
-
icon: "separator",
|
|
2893
|
-
title: "Horizontal rule",
|
|
2894
|
-
action: () => props.editor.chain().focus().setHorizontalRule().run()
|
|
2895
|
-
},
|
|
2896
|
-
{
|
|
2897
|
-
type: "divider"
|
|
2898
|
-
},
|
|
2899
|
-
{
|
|
2900
|
-
icon: "arrow-go-back-line",
|
|
2901
|
-
title: "Undo",
|
|
2902
|
-
action: () => props.editor.chain().focus().undo().run()
|
|
2903
|
-
},
|
|
2904
|
-
{
|
|
2905
|
-
icon: "arrow-go-forward-line",
|
|
2906
|
-
title: "Redo",
|
|
2907
|
-
action: () => props.editor.chain().focus().redo().run()
|
|
2908
|
-
}
|
|
2909
|
-
];
|
|
2910
|
-
return {
|
|
2911
|
-
items
|
|
2912
|
-
};
|
|
2913
|
-
}
|
|
2914
|
-
});
|
|
2915
|
-
const _hoisted_1$f = { class: "editor__header" };
|
|
2916
|
-
const _hoisted_2$a = {
|
|
2917
|
-
key: 0,
|
|
2918
|
-
class: "divider"
|
|
2919
|
-
};
|
|
2920
|
-
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2921
|
-
const _component_MenuItem = __unplugin_components_0;
|
|
2922
|
-
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
2923
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
|
|
2924
|
-
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
2925
|
-
item.type === "divider" ? (openBlock(), createElementBlock("div", _hoisted_2$a)) : (openBlock(), createBlock(_component_MenuItem, {
|
|
2926
|
-
key: 1,
|
|
2927
|
-
icon: item.icon,
|
|
2928
|
-
title: item.title,
|
|
2929
|
-
action: item.action,
|
|
2930
|
-
"is-active": item.isActive
|
|
2931
|
-
}, null, 8, ["icon", "title", "action", "is-active"]))
|
|
2932
|
-
], 64);
|
|
2933
|
-
}), 128))
|
|
2934
|
-
]);
|
|
2935
|
-
}
|
|
2936
|
-
const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-714af93c"]]);
|
|
2937
|
-
|
|
2938
|
-
const __vite_glob_0_13 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2939
|
-
__proto__: null,
|
|
2940
|
-
default: __unplugin_components_1
|
|
2941
|
-
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2942
|
-
|
|
2943
2710
|
const ruleJson = [
|
|
2944
2711
|
{
|
|
2945
2712
|
ControlType: "Radio",
|
|
@@ -3261,7 +3028,7 @@ const ruleJsonData = {
|
|
|
3261
3028
|
ruleJson: ruleJson
|
|
3262
3029
|
};
|
|
3263
3030
|
|
|
3264
|
-
const
|
|
3031
|
+
const __vite_glob_0_13 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3265
3032
|
__proto__: null,
|
|
3266
3033
|
default: ruleJsonData,
|
|
3267
3034
|
ruleJson
|
|
@@ -3294,7 +3061,7 @@ const validatePhone = `(rule, value, callback) => {
|
|
|
3294
3061
|
if (value === "" || value == null) {
|
|
3295
3062
|
callback(new Error("请输入"));
|
|
3296
3063
|
} else if (!/^1(?:3\d|4[4-9]|5[0-35-9]|6[67]|7[013-8]|8\d|9\d)\d{8}$/.test(value)) {
|
|
3297
|
-
callback(new Error("
|
|
3064
|
+
callback(new Error("请输入正确的电话号码"));
|
|
3298
3065
|
}
|
|
3299
3066
|
callback();
|
|
3300
3067
|
}`;
|
|
@@ -3304,7 +3071,7 @@ const validateIdCard = `(rule, value, callback) => {
|
|
|
3304
3071
|
if (value === "" || value == null) {
|
|
3305
3072
|
callback(new Error("请输入"));
|
|
3306
3073
|
} else if (!/^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(value)) {
|
|
3307
|
-
callback(new Error("
|
|
3074
|
+
callback(new Error("请输入正确的身份证号"));
|
|
3308
3075
|
}
|
|
3309
3076
|
callback();
|
|
3310
3077
|
}`;
|
|
@@ -3315,7 +3082,7 @@ const validateEmail = `
|
|
|
3315
3082
|
if (value === "" || value == null) {
|
|
3316
3083
|
callback(new Error("请输入"));
|
|
3317
3084
|
} else if (!/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(value)) {
|
|
3318
|
-
callback(new Error("
|
|
3085
|
+
callback(new Error("请输入正确的邮箱"));
|
|
3319
3086
|
}
|
|
3320
3087
|
callback();
|
|
3321
3088
|
}`;
|
|
@@ -3358,7 +3125,7 @@ const ruleList = [
|
|
|
3358
3125
|
},
|
|
3359
3126
|
];
|
|
3360
3127
|
|
|
3361
|
-
const
|
|
3128
|
+
const __vite_glob_0_14 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3362
3129
|
__proto__: null,
|
|
3363
3130
|
default: ruleList
|
|
3364
3131
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3395,8 +3162,7 @@ const _hoisted_1$e = {
|
|
|
3395
3162
|
key: 0,
|
|
3396
3163
|
class: "item_require"
|
|
3397
3164
|
};
|
|
3398
|
-
const _hoisted_2$
|
|
3399
|
-
const _hoisted_3$5 = { key: 1 };
|
|
3165
|
+
const _hoisted_2$5 = { key: 1 };
|
|
3400
3166
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3401
3167
|
const _component_el_tooltip = ElTooltip;
|
|
3402
3168
|
const _component_el_option = ElOption;
|
|
@@ -3412,18 +3178,18 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3412
3178
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
3413
3179
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
3414
3180
|
}, [
|
|
3415
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$e, "*")) : createCommentVNode("", true),
|
|
3181
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" && !_ctx.search ? (openBlock(), createElementBlock("span", _hoisted_1$e, "*")) : createCommentVNode("", true),
|
|
3416
3182
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
3417
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3183
|
+
_ctx.item.data.tip && !_ctx.readonly && !_ctx.search ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3418
3184
|
key: 1,
|
|
3419
3185
|
class: "item",
|
|
3420
3186
|
effect: "dark",
|
|
3421
3187
|
content: _ctx.item.data.tip,
|
|
3422
3188
|
placement: "top"
|
|
3423
3189
|
}, {
|
|
3424
|
-
default: withCtx(() => [
|
|
3425
|
-
|
|
3426
|
-
]),
|
|
3190
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
3191
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
3192
|
+
])]),
|
|
3427
3193
|
_: 1
|
|
3428
3194
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
3429
3195
|
], 6),
|
|
@@ -3451,7 +3217,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3451
3217
|
]),
|
|
3452
3218
|
_: 1
|
|
3453
3219
|
}, 8, ["modelValue", "placeholder", "size", "disabled"])) : createCommentVNode("", true),
|
|
3454
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
3220
|
+
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$5, toDisplayString(_ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_select, {
|
|
3455
3221
|
key: 2,
|
|
3456
3222
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
3457
3223
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -3478,7 +3244,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3478
3244
|
}
|
|
3479
3245
|
const index$8 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]);
|
|
3480
3246
|
|
|
3481
|
-
const
|
|
3247
|
+
const __vite_glob_0_15 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3482
3248
|
__proto__: null,
|
|
3483
3249
|
default: index$8
|
|
3484
3250
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3532,8 +3298,7 @@ const _hoisted_1$d = {
|
|
|
3532
3298
|
key: 0,
|
|
3533
3299
|
class: "item_require"
|
|
3534
3300
|
};
|
|
3535
|
-
const _hoisted_2$
|
|
3536
|
-
const _hoisted_3$4 = { key: 1 };
|
|
3301
|
+
const _hoisted_2$4 = { key: 1 };
|
|
3537
3302
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3538
3303
|
const _component_el_tooltip = ElTooltip;
|
|
3539
3304
|
const _component_el_option = ElOption;
|
|
@@ -3549,18 +3314,18 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3549
3314
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
3550
3315
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
3551
3316
|
}, [
|
|
3552
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$d, "*")) : createCommentVNode("", true),
|
|
3317
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" && !_ctx.search ? (openBlock(), createElementBlock("span", _hoisted_1$d, "*")) : createCommentVNode("", true),
|
|
3553
3318
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
3554
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3319
|
+
_ctx.item.data.tip && !_ctx.readonly && !_ctx.search ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3555
3320
|
key: 1,
|
|
3556
3321
|
class: "item",
|
|
3557
3322
|
effect: "dark",
|
|
3558
3323
|
content: _ctx.item.data.tip,
|
|
3559
3324
|
placement: "top"
|
|
3560
3325
|
}, {
|
|
3561
|
-
default: withCtx(() => [
|
|
3562
|
-
|
|
3563
|
-
]),
|
|
3326
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
3327
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
3328
|
+
])]),
|
|
3564
3329
|
_: 1
|
|
3565
3330
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
3566
3331
|
], 6),
|
|
@@ -3588,7 +3353,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3588
3353
|
}), 128))
|
|
3589
3354
|
]),
|
|
3590
3355
|
_: 1
|
|
3591
|
-
}, 8, ["modelValue", "placeholder", "disabled", "size"])) : !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
3356
|
+
}, 8, ["modelValue", "placeholder", "disabled", "size"])) : !_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$4, toDisplayString(_ctx.getReadonlyDisplayValue()), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
3592
3357
|
key: 2,
|
|
3593
3358
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
3594
3359
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -3616,7 +3381,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3616
3381
|
}
|
|
3617
3382
|
const index$7 = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d]]);
|
|
3618
3383
|
|
|
3619
|
-
const
|
|
3384
|
+
const __vite_glob_0_16 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3620
3385
|
__proto__: null,
|
|
3621
3386
|
default: index$7
|
|
3622
3387
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3650,11 +3415,6 @@ const _hoisted_1$c = {
|
|
|
3650
3415
|
key: 0,
|
|
3651
3416
|
class: "item_require"
|
|
3652
3417
|
};
|
|
3653
|
-
const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
3654
|
-
const _hoisted_3$3 = /* @__PURE__ */ createTextVNode("\u5DF2\u8BBE\u7F6E");
|
|
3655
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode("\u672A\u8BBE\u7F6E");
|
|
3656
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u666E\u901A\u8BBE\u7F6E");
|
|
3657
|
-
const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u9AD8\u7EA7\u8BBE\u7F6E");
|
|
3658
3418
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3659
3419
|
const _component_el_tooltip = ElTooltip;
|
|
3660
3420
|
const _component_el_button = ElButton;
|
|
@@ -3676,9 +3436,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3676
3436
|
content: _ctx.item.data.tip,
|
|
3677
3437
|
placement: "top"
|
|
3678
3438
|
}, {
|
|
3679
|
-
default: withCtx(() => [
|
|
3680
|
-
|
|
3681
|
-
]),
|
|
3439
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
3440
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
3441
|
+
])]),
|
|
3682
3442
|
_: 1
|
|
3683
3443
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
3684
3444
|
], 6),
|
|
@@ -3692,9 +3452,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3692
3452
|
type: "primary",
|
|
3693
3453
|
size: _ctx.size
|
|
3694
3454
|
}, {
|
|
3695
|
-
default: withCtx(() => [
|
|
3696
|
-
|
|
3697
|
-
]),
|
|
3455
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
3456
|
+
createTextVNode("\u5DF2\u8BBE\u7F6E", -1)
|
|
3457
|
+
])]),
|
|
3698
3458
|
_: 1
|
|
3699
3459
|
}, 8, ["size"])) : (openBlock(), createBlock(_component_el_button, {
|
|
3700
3460
|
key: 1,
|
|
@@ -3702,9 +3462,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3702
3462
|
type: "primary",
|
|
3703
3463
|
size: _ctx.size
|
|
3704
3464
|
}, {
|
|
3705
|
-
default: withCtx(() => [
|
|
3706
|
-
|
|
3707
|
-
]),
|
|
3465
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
3466
|
+
createTextVNode("\u672A\u8BBE\u7F6E", -1)
|
|
3467
|
+
])]),
|
|
3708
3468
|
_: 1
|
|
3709
3469
|
}, 8, ["size"])),
|
|
3710
3470
|
createElementVNode("div", null, [
|
|
@@ -3713,9 +3473,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3713
3473
|
size: _ctx.size,
|
|
3714
3474
|
onClick: _ctx.onConditionSet
|
|
3715
3475
|
}, {
|
|
3716
|
-
default: withCtx(() => [
|
|
3717
|
-
|
|
3718
|
-
]),
|
|
3476
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
3477
|
+
createTextVNode("\u666E\u901A\u8BBE\u7F6E", -1)
|
|
3478
|
+
])]),
|
|
3719
3479
|
_: 1
|
|
3720
3480
|
}, 8, ["size", "onClick"]),
|
|
3721
3481
|
createVNode(_component_el_button, {
|
|
@@ -3723,9 +3483,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3723
3483
|
size: _ctx.size,
|
|
3724
3484
|
onClick: _ctx.onHighConditionSet
|
|
3725
3485
|
}, {
|
|
3726
|
-
default: withCtx(() => [
|
|
3727
|
-
|
|
3728
|
-
]),
|
|
3486
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
3487
|
+
createTextVNode("\u9AD8\u7EA7\u8BBE\u7F6E", -1)
|
|
3488
|
+
])]),
|
|
3729
3489
|
_: 1
|
|
3730
3490
|
}, 8, ["size", "onClick"]),
|
|
3731
3491
|
createVNode(_component_ConditionSelect, {
|
|
@@ -3746,7 +3506,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3746
3506
|
}
|
|
3747
3507
|
const index$6 = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c]]);
|
|
3748
3508
|
|
|
3749
|
-
const
|
|
3509
|
+
const __vite_glob_0_17 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3750
3510
|
__proto__: null,
|
|
3751
3511
|
default: index$6
|
|
3752
3512
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3773,7 +3533,6 @@ const _hoisted_1$b = {
|
|
|
3773
3533
|
key: 0,
|
|
3774
3534
|
class: "item_require"
|
|
3775
3535
|
};
|
|
3776
|
-
const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
3777
3536
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3778
3537
|
const _component_el_tooltip = ElTooltip;
|
|
3779
3538
|
const _component_el_slider = ElSlider;
|
|
@@ -3793,9 +3552,9 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3793
3552
|
content: _ctx.item.data.tip,
|
|
3794
3553
|
placement: "top"
|
|
3795
3554
|
}, {
|
|
3796
|
-
default: withCtx(() => [
|
|
3797
|
-
|
|
3798
|
-
]),
|
|
3555
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
3556
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
3557
|
+
])]),
|
|
3799
3558
|
_: 1
|
|
3800
3559
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
3801
3560
|
], 6),
|
|
@@ -3824,7 +3583,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3824
3583
|
}
|
|
3825
3584
|
const index$5 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b]]);
|
|
3826
3585
|
|
|
3827
|
-
const
|
|
3586
|
+
const __vite_glob_0_18 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3828
3587
|
__proto__: null,
|
|
3829
3588
|
default: index$5
|
|
3830
3589
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3850,7 +3609,6 @@ const _hoisted_1$a = {
|
|
|
3850
3609
|
key: 0,
|
|
3851
3610
|
class: "item_require"
|
|
3852
3611
|
};
|
|
3853
|
-
const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
3854
3612
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3855
3613
|
const _component_el_tooltip = ElTooltip;
|
|
3856
3614
|
const _component_el_switch = ElSwitch;
|
|
@@ -3867,16 +3625,16 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3867
3625
|
}, [
|
|
3868
3626
|
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$a, "*")) : createCommentVNode("", true),
|
|
3869
3627
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
3870
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3628
|
+
_ctx.item.data.tip && !_ctx.readonly ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3871
3629
|
key: 1,
|
|
3872
3630
|
class: "item",
|
|
3873
3631
|
effect: "dark",
|
|
3874
3632
|
content: _ctx.item.data.tip,
|
|
3875
3633
|
placement: "top"
|
|
3876
3634
|
}, {
|
|
3877
|
-
default: withCtx(() => [
|
|
3878
|
-
|
|
3879
|
-
]),
|
|
3635
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
3636
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
3637
|
+
])]),
|
|
3880
3638
|
_: 1
|
|
3881
3639
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
3882
3640
|
], 6),
|
|
@@ -3903,7 +3661,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3903
3661
|
}
|
|
3904
3662
|
const index$4 = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]);
|
|
3905
3663
|
|
|
3906
|
-
const
|
|
3664
|
+
const __vite_glob_0_19 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
3907
3665
|
__proto__: null,
|
|
3908
3666
|
default: index$4
|
|
3909
3667
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -3944,8 +3702,7 @@ const _hoisted_1$9 = {
|
|
|
3944
3702
|
key: 0,
|
|
3945
3703
|
class: "item_require"
|
|
3946
3704
|
};
|
|
3947
|
-
const _hoisted_2$
|
|
3948
|
-
const _hoisted_3$2 = { key: 1 };
|
|
3705
|
+
const _hoisted_2$3 = { key: 1 };
|
|
3949
3706
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3950
3707
|
const _component_el_tooltip = ElTooltip;
|
|
3951
3708
|
const _component_el_input = ElInput;
|
|
@@ -3960,18 +3717,18 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3960
3717
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
3961
3718
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
3962
3719
|
}, [
|
|
3963
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$9, "*")) : createCommentVNode("", true),
|
|
3720
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" && !_ctx.search ? (openBlock(), createElementBlock("span", _hoisted_1$9, "*")) : createCommentVNode("", true),
|
|
3964
3721
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
3965
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3722
|
+
_ctx.item.data.tip && !_ctx.readonly && !_ctx.search ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3966
3723
|
key: 1,
|
|
3967
3724
|
class: "item",
|
|
3968
3725
|
effect: "dark",
|
|
3969
3726
|
content: _ctx.item.data.tip,
|
|
3970
3727
|
placement: "top"
|
|
3971
3728
|
}, {
|
|
3972
|
-
default: withCtx(() => [
|
|
3973
|
-
|
|
3974
|
-
]),
|
|
3729
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
3730
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
3731
|
+
])]),
|
|
3975
3732
|
_: 1
|
|
3976
3733
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
3977
3734
|
], 6),
|
|
@@ -3993,7 +3750,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3993
3750
|
minlength: _ctx.item.data.minLength,
|
|
3994
3751
|
class: normalizeClass("input-" + _ctx.item.data.align)
|
|
3995
3752
|
}, null, 8, ["modelValue", "placeholder", "size", "disabled", "readonly", "maxlength", "minlength", "class"])) : createCommentVNode("", true),
|
|
3996
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
3753
|
+
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$3, toDisplayString(_ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_input, {
|
|
3997
3754
|
key: 2,
|
|
3998
3755
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
3999
3756
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.data[_ctx.item.data.fieldName] = $event),
|
|
@@ -4014,7 +3771,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4014
3771
|
}
|
|
4015
3772
|
const index$3 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9]]);
|
|
4016
3773
|
|
|
4017
|
-
const
|
|
3774
|
+
const __vite_glob_0_20 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4018
3775
|
__proto__: null,
|
|
4019
3776
|
default: index$3
|
|
4020
3777
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4054,8 +3811,7 @@ const _hoisted_1$8 = {
|
|
|
4054
3811
|
key: 0,
|
|
4055
3812
|
class: "item_require"
|
|
4056
3813
|
};
|
|
4057
|
-
const _hoisted_2$
|
|
4058
|
-
const _hoisted_3$1 = { key: 1 };
|
|
3814
|
+
const _hoisted_2$2 = { key: 1 };
|
|
4059
3815
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4060
3816
|
const _component_el_tooltip = ElTooltip;
|
|
4061
3817
|
const _component_el_input = ElInput;
|
|
@@ -4070,18 +3826,18 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4070
3826
|
class: normalizeClass(["label", "label_" + _ctx.labelalign]),
|
|
4071
3827
|
style: normalizeStyle({ width: _ctx.labelWidth + "px" })
|
|
4072
3828
|
}, [
|
|
4073
|
-
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" ? (openBlock(), createElementBlock("span", _hoisted_1$8, "*")) : createCommentVNode("", true),
|
|
3829
|
+
_ctx.item.data.required && !_ctx.readonly && _ctx.item.data.state !== "readonly" && !_ctx.search ? (openBlock(), createElementBlock("span", _hoisted_1$8, "*")) : createCommentVNode("", true),
|
|
4074
3830
|
createElementVNode("label", null, toDisplayString(_ctx.item.data.label) + toDisplayString(_ctx.suffix), 1),
|
|
4075
|
-
_ctx.item.data.tip ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
3831
|
+
_ctx.item.data.tip && !_ctx.readonly && !_ctx.search ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
4076
3832
|
key: 1,
|
|
4077
3833
|
class: "item",
|
|
4078
3834
|
effect: "dark",
|
|
4079
3835
|
content: _ctx.item.data.tip,
|
|
4080
3836
|
placement: "top"
|
|
4081
3837
|
}, {
|
|
4082
|
-
default: withCtx(() => [
|
|
4083
|
-
|
|
4084
|
-
]),
|
|
3838
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
3839
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
3840
|
+
])]),
|
|
4085
3841
|
_: 1
|
|
4086
3842
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
4087
3843
|
], 6),
|
|
@@ -4102,7 +3858,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4102
3858
|
autosize: _ctx.item.data.autoHeight,
|
|
4103
3859
|
size: _ctx.size
|
|
4104
3860
|
}, null, 8, ["modelValue", "placeholder", "disabled", "readonly", "maxlength", "minlength", "autosize", "size"])) : createCommentVNode("", true),
|
|
4105
|
-
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span",
|
|
3861
|
+
!_ctx.drag && (_ctx.item.data.state === "readonly" || _ctx.readonly) ? (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(_ctx.data[_ctx.item.data.fieldName] || "--"), 1)) : !_ctx.drag ? (openBlock(), createBlock(_component_el_input, {
|
|
4106
3862
|
key: 2,
|
|
4107
3863
|
type: "textarea",
|
|
4108
3864
|
modelValue: _ctx.data[_ctx.item.data.fieldName],
|
|
@@ -4122,7 +3878,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4122
3878
|
}
|
|
4123
3879
|
const index$2 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8]]);
|
|
4124
3880
|
|
|
4125
|
-
const
|
|
3881
|
+
const __vite_glob_0_21 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4126
3882
|
__proto__: null,
|
|
4127
3883
|
default: index$2
|
|
4128
3884
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4147,7 +3903,6 @@ const _hoisted_1$7 = {
|
|
|
4147
3903
|
key: 0,
|
|
4148
3904
|
class: "item_require"
|
|
4149
3905
|
};
|
|
4150
|
-
const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
|
|
4151
3906
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4152
3907
|
const _component_el_tooltip = ElTooltip;
|
|
4153
3908
|
const _component_el_time_select = ElTimeSelect;
|
|
@@ -4167,9 +3922,9 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4167
3922
|
content: _ctx.item.data.tip,
|
|
4168
3923
|
placement: "top"
|
|
4169
3924
|
}, {
|
|
4170
|
-
default: withCtx(() => [
|
|
4171
|
-
|
|
4172
|
-
]),
|
|
3925
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
3926
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
3927
|
+
])]),
|
|
4173
3928
|
_: 1
|
|
4174
3929
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
4175
3930
|
], 6),
|
|
@@ -4206,7 +3961,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4206
3961
|
}
|
|
4207
3962
|
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7]]);
|
|
4208
3963
|
|
|
4209
|
-
const
|
|
3964
|
+
const __vite_glob_0_22 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4210
3965
|
__proto__: null,
|
|
4211
3966
|
default: index$1
|
|
4212
3967
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4247,7 +4002,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4247
4002
|
}
|
|
4248
4003
|
const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
|
|
4249
4004
|
|
|
4250
|
-
const
|
|
4005
|
+
const __vite_glob_0_23 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4251
4006
|
__proto__: null,
|
|
4252
4007
|
default: Divider
|
|
4253
4008
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4292,8 +4047,7 @@ const _hoisted_1$5 = {
|
|
|
4292
4047
|
key: 0,
|
|
4293
4048
|
class: "label"
|
|
4294
4049
|
};
|
|
4295
|
-
const _hoisted_2$1 =
|
|
4296
|
-
const _hoisted_3 = { class: "control" };
|
|
4050
|
+
const _hoisted_2$1 = { class: "control" };
|
|
4297
4051
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4298
4052
|
const _component_el_tooltip = ElTooltip;
|
|
4299
4053
|
const _component_el_alert = ElAlert;
|
|
@@ -4309,13 +4063,13 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4309
4063
|
content: _ctx.item.data.tip,
|
|
4310
4064
|
placement: "top"
|
|
4311
4065
|
}, {
|
|
4312
|
-
default: withCtx(() => [
|
|
4313
|
-
|
|
4314
|
-
]),
|
|
4066
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
4067
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
4068
|
+
])]),
|
|
4315
4069
|
_: 1
|
|
4316
4070
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
4317
4071
|
])) : createCommentVNode("", true),
|
|
4318
|
-
createElementVNode("div",
|
|
4072
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
4319
4073
|
createVNode(_component_el_alert, {
|
|
4320
4074
|
title: _ctx.item.data.title,
|
|
4321
4075
|
type: _ctx.item.data.infotype,
|
|
@@ -4331,7 +4085,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4331
4085
|
}
|
|
4332
4086
|
const Info = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
|
|
4333
4087
|
|
|
4334
|
-
const
|
|
4088
|
+
const __vite_glob_0_24 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4335
4089
|
__proto__: null,
|
|
4336
4090
|
default: Info
|
|
4337
4091
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4473,7 +4227,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4473
4227
|
}
|
|
4474
4228
|
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]);
|
|
4475
4229
|
|
|
4476
|
-
const
|
|
4230
|
+
const __vite_glob_0_25 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4477
4231
|
__proto__: null,
|
|
4478
4232
|
default: Tabs
|
|
4479
4233
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4619,7 +4373,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4619
4373
|
}
|
|
4620
4374
|
const collapse = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3]]);
|
|
4621
4375
|
|
|
4622
|
-
const
|
|
4376
|
+
const __vite_glob_0_26 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4623
4377
|
__proto__: null,
|
|
4624
4378
|
default: collapse
|
|
4625
4379
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4789,7 +4543,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4789
4543
|
}
|
|
4790
4544
|
const grid = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
|
|
4791
4545
|
|
|
4792
|
-
const
|
|
4546
|
+
const __vite_glob_0_27 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4793
4547
|
__proto__: null,
|
|
4794
4548
|
default: grid
|
|
4795
4549
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -4935,7 +4689,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4935
4689
|
}
|
|
4936
4690
|
const table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
4937
4691
|
|
|
4938
|
-
const
|
|
4692
|
+
const __vite_glob_0_28 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4939
4693
|
__proto__: null,
|
|
4940
4694
|
default: table
|
|
4941
4695
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -5564,6 +5318,7 @@ const _ = new Flex();
|
|
|
5564
5318
|
/* unplugin-vue-components disabled */const Loading_vue_vue_type_style_index_0_scoped_true_lang = '';
|
|
5565
5319
|
|
|
5566
5320
|
const _sfc_main = {};
|
|
5321
|
+
|
|
5567
5322
|
const _hoisted_1 = { class: "loading" };
|
|
5568
5323
|
|
|
5569
5324
|
function _sfc_render(_ctx, _cache) {
|
|
@@ -5576,7 +5331,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
5576
5331
|
const Loading = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__scopeId',"data-v-5c6e2e4a"]]);
|
|
5577
5332
|
|
|
5578
5333
|
const utilFuns = {};
|
|
5579
|
-
const files = /* #__PURE__ */ Object.assign({"./common/KeyValueConfig.vue": __vite_glob_0_0,"./common/KeyValueConfigMult.vue": __vite_glob_0_1,"./common/Loading.vue": __vite_glob_0_2,"./common/action.vue": __vite_glob_0_3,"./common/listConfig.vue": __vite_glob_0_4,"./common/panel.vue": __vite_glob_0_5,"./common/radiogroup.vue": __vite_glob_0_6,"./components/CheckBox/index.vue": __vite_glob_0_7,"./components/ColorSelect/index.vue": __vite_glob_0_8,"./components/Date/index.vue": __vite_glob_0_9,"./components/DateTime/index.vue": __vite_glob_0_10,"./components/InputNumber/index.vue": __vite_glob_0_11,"./components/Radio/index.vue": __vite_glob_0_12,"./components/
|
|
5334
|
+
const files = /* #__PURE__ */ Object.assign({"./common/KeyValueConfig.vue": __vite_glob_0_0,"./common/KeyValueConfigMult.vue": __vite_glob_0_1,"./common/Loading.vue": __vite_glob_0_2,"./common/action.vue": __vite_glob_0_3,"./common/listConfig.vue": __vite_glob_0_4,"./common/panel.vue": __vite_glob_0_5,"./common/radiogroup.vue": __vite_glob_0_6,"./components/CheckBox/index.vue": __vite_glob_0_7,"./components/ColorSelect/index.vue": __vite_glob_0_8,"./components/Date/index.vue": __vite_glob_0_9,"./components/DateTime/index.vue": __vite_glob_0_10,"./components/InputNumber/index.vue": __vite_glob_0_11,"./components/Radio/index.vue": __vite_glob_0_12,"./components/Rule/ruleform.json": __vite_glob_0_13,"./components/Rule/rules.js": __vite_glob_0_14,"./components/Selected/index.vue": __vite_glob_0_15,"./components/Selecteds/index.vue": __vite_glob_0_16,"./components/ShowRule/index.vue": __vite_glob_0_17,"./components/Slider/index.vue": __vite_glob_0_18,"./components/Switch/index.vue": __vite_glob_0_19,"./components/Text/index.vue": __vite_glob_0_20,"./components/TextArea/index.vue": __vite_glob_0_21,"./components/Time/index.vue": __vite_glob_0_22,"./layout/Divider.vue": __vite_glob_0_23,"./layout/Info.vue": __vite_glob_0_24,"./layout/Tabs.vue": __vite_glob_0_25,"./layout/collapse.vue": __vite_glob_0_26,"./layout/grid.vue": __vite_glob_0_27,"./layout/table.vue": __vite_glob_0_28});
|
|
5580
5335
|
Object.keys(files).forEach((fileName) => {
|
|
5581
5336
|
const result = files[fileName].default;
|
|
5582
5337
|
if (fileName.indexOf(".vue") != -1) {
|
|
@@ -5584,7 +5339,7 @@ Object.keys(files).forEach((fileName) => {
|
|
|
5584
5339
|
}
|
|
5585
5340
|
});
|
|
5586
5341
|
const RichText = defineAsyncComponent({
|
|
5587
|
-
loader: () => import('./index-
|
|
5342
|
+
loader: () => import('./index-0aa74f91.mjs'),
|
|
5588
5343
|
loadingComponent: Loading
|
|
5589
5344
|
});
|
|
5590
5345
|
RichText.ControlType = "RichText";
|
|
@@ -5593,7 +5348,7 @@ RichText.icon = "icon-textEdit";
|
|
|
5593
5348
|
RichText.formConfig = getFormConfig("RichText");
|
|
5594
5349
|
utilFuns[RichText.ControlType] = RichText;
|
|
5595
5350
|
const jsonEditor = defineAsyncComponent({
|
|
5596
|
-
loader: () => import('./index-
|
|
5351
|
+
loader: () => import('./index-7fc8db96.mjs'),
|
|
5597
5352
|
loadingComponent: Loading
|
|
5598
5353
|
});
|
|
5599
5354
|
jsonEditor.ControlType = "JsonEditor";
|
|
@@ -5603,14 +5358,14 @@ jsonEditor.formConfig = getFormConfig("JsonEditor", [{ fieldName: "default", com
|
|
|
5603
5358
|
jsonEditor.rule = _.getJsonValidate();
|
|
5604
5359
|
utilFuns[jsonEditor.ControlType] = jsonEditor;
|
|
5605
5360
|
const formAction = defineAsyncComponent({
|
|
5606
|
-
loader: () => import('./formAction-
|
|
5361
|
+
loader: () => import('./formAction-b76664af.mjs'),
|
|
5607
5362
|
loadingComponent: Loading
|
|
5608
5363
|
});
|
|
5609
5364
|
formAction.ControlType = "FormAction";
|
|
5610
5365
|
formAction.isHide = true;
|
|
5611
5366
|
utilFuns[formAction.ControlType] = formAction;
|
|
5612
5367
|
const Rule = defineAsyncComponent({
|
|
5613
|
-
loader: () => import('./index-
|
|
5368
|
+
loader: () => import('./index-d1c1ba4b.mjs'),
|
|
5614
5369
|
loadingComponent: Loading
|
|
5615
5370
|
});
|
|
5616
5371
|
Rule.ControlType = "Rule";
|
|
@@ -5619,9 +5374,9 @@ utilFuns[Rule.ControlType] = Rule;
|
|
|
5619
5374
|
const install = (app) => {
|
|
5620
5375
|
app.config.globalProperties.$formcomponents = utilFuns;
|
|
5621
5376
|
};
|
|
5622
|
-
const Dynamicform = defineAsyncComponent(() => import('./starfish-form-
|
|
5377
|
+
const Dynamicform = defineAsyncComponent(() => import('./starfish-form-0baee1df.mjs'));
|
|
5623
5378
|
const main = {
|
|
5624
5379
|
install
|
|
5625
5380
|
};
|
|
5626
5381
|
|
|
5627
|
-
export { Dynamicform as D, _export_sfc as _,
|
|
5382
|
+
export { Dynamicform as D, _export_sfc as _, _ as a, ruleJsonData as b, fieldProps as f, getFormConfig as g, main as m, ruleList as r, useWatch as u };
|