form-imagining 0.0.21 → 0.0.23
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/dist/{App-117f2401.js → App-fd7659de.js} +5 -5
- package/dist/Code-7048c81b.js +5 -0
- package/dist/Col-02441ae0.js +5 -0
- package/dist/{Form-267b2acf.js → Collapse-94be576e.js} +1 -1
- package/dist/{Demo-cb77eefd.js → Demo-2d97ac33.js} +1 -1
- package/dist/Form-ed4499c2.js +5 -0
- package/dist/GenerateForm-c8b3c09e.js +5 -0
- package/dist/GenerateReport-465d7419.js +5 -0
- package/dist/Grid-fb5e981c.js +5 -0
- package/dist/{HelloWorld-0cfd7df3.js → HelloWorld-6e92b7d2.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-c82959c3.js → 244-d625faed.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-aa8cd9e3.js → 244-45f1b410.js} +1 -1
- package/dist/{Login-fce41eee.js → Login-ec54c046.js} +1 -1
- package/dist/ReportModule-54477a15.js +5 -0
- package/dist/SqlModule-a23dd1f1.js +5 -0
- package/dist/Table-bd384bc8.js +5 -0
- package/dist/arrow-99159823.js +4 -0
- package/dist/{cTable-87c99e69.js → cTable-f5133e30.js} +1 -1
- package/dist/childForm-be1b3446.js +5 -0
- package/dist/collapse-32bbd55b.js +4 -0
- package/dist/{cssMode-d2a84267.js → cssMode-07efef6b.js} +12 -12
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +64 -62
- package/dist/{freemarker2-3efa9ea1.js → freemarker2-ae8021d4.js} +1 -1
- package/dist/{handlebars-72a49cd2.js → handlebars-ad5b899c.js} +1 -1
- package/dist/{html-1af18738.js → html-01325e05.js} +1 -1
- package/dist/{htmlMode-9eeb1349.js → htmlMode-df29c948.js} +10 -10
- package/dist/{index-30b21584.js → index-0522a95d.js} +1 -1
- package/dist/{index-7a0091c2.js → index-aabffd58.js} +1023 -590
- package/dist/{javascript-47f9fb53.js → javascript-541f1ffb.js} +2 -2
- package/dist/{jsonMode-e9558a7f.js → jsonMode-d89a3963.js} +1 -1
- package/dist/{liquid-7869544b.js → liquid-2e88c29d.js} +1 -1
- package/dist/{mdx-fdfe381b.js → mdx-0d0961a8.js} +4 -4
- package/dist/{python-dcb57e90.js → python-86cddec0.js} +1 -1
- package/dist/{razor-f9413e1b.js → razor-6cd1a306.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-9cfa765c.js → tableSelectDemo-47796318.js} +1 -1
- package/dist/{tableSelectDemo2-8d43da9c.js → tableSelectDemo2-330b670e.js} +1 -1
- package/dist/{tsMode-6849c82b.js → tsMode-a56e79a1.js} +1 -1
- package/dist/{typescript-dbbb0167.js → typescript-64933b1b.js} +1 -1
- package/dist/{xml-0082bfd8.js → xml-6f4e791b.js} +1 -1
- package/dist/{yaml-d3ddc3e7.js → yaml-3770bcd0.js} +1 -1
- package/package.json +1 -1
- package/dist/Code-2b650014.js +0 -5
- package/dist/Col-1ad3b02d.js +0 -5
- package/dist/FormPublic-fcfcf793.js +0 -5
- package/dist/GenerateForm-2f713859.js +0 -5
- package/dist/Grid-8c79143b.js +0 -5
- package/dist/ReportModule-297f2362.js +0 -5
- package/dist/SqlModule-329c9c55.js +0 -5
- package/dist/Table-62645938.js +0 -5
- package/dist/childForm-1af05ca1.js +0 -5
|
@@ -1560,7 +1560,7 @@ const props$2 = {
|
|
|
1560
1560
|
function guid() {
|
|
1561
1561
|
return S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4();
|
|
1562
1562
|
}
|
|
1563
|
-
const _hoisted_1$
|
|
1563
|
+
const _hoisted_1$p = { class: "tool" }, _hoisted_2$h = { class: "h3-css" }, _hoisted_3$f = { class: "item move" }, _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
1564
1564
|
__name: "index",
|
|
1565
1565
|
props: {
|
|
1566
1566
|
dataSource: {
|
|
@@ -1580,9 +1580,9 @@ const _hoisted_1$n = { class: "tool" }, _hoisted_2$f = { class: "h3-css" }, _hoi
|
|
|
1580
1580
|
}
|
|
1581
1581
|
return (U, G) => {
|
|
1582
1582
|
const X = resolveComponent("svg-icon"), Q = resolveComponent("a-col");
|
|
1583
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1583
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
1584
1584
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(W.dataSource, (Z) => (openBlock(), createElementBlock(Fragment, null, [
|
|
1585
|
-
createElementVNode("h3", _hoisted_2$
|
|
1585
|
+
createElementVNode("h3", _hoisted_2$h, toDisplayString(Z.name), 1),
|
|
1586
1586
|
createVNode(unref(VueDraggableNext), {
|
|
1587
1587
|
class: "ant-row",
|
|
1588
1588
|
list: Z.list,
|
|
@@ -1605,7 +1605,7 @@ const _hoisted_1$n = { class: "tool" }, _hoisted_2$f = { class: "h3-css" }, _hoi
|
|
|
1605
1605
|
style: { padding: "1px", border: "1px solid #fff" }
|
|
1606
1606
|
}, {
|
|
1607
1607
|
default: withCtx(() => [
|
|
1608
|
-
createElementVNode("div", _hoisted_3$
|
|
1608
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
1609
1609
|
createVNode(X, {
|
|
1610
1610
|
name: ee.icon,
|
|
1611
1611
|
color: "gray",
|
|
@@ -1629,7 +1629,7 @@ const _hoisted_1$n = { class: "tool" }, _hoisted_2$f = { class: "h3-css" }, _hoi
|
|
|
1629
1629
|
for (const [K, U] of C)
|
|
1630
1630
|
H[K] = U;
|
|
1631
1631
|
return H;
|
|
1632
|
-
}, FormTool = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1632
|
+
}, FormTool = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-6f387365"]]), index$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1633
1633
|
__proto__: null,
|
|
1634
1634
|
default: FormTool
|
|
1635
1635
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -5027,13 +5027,13 @@ var UpOutlined = function(C, H) {
|
|
|
5027
5027
|
};
|
|
5028
5028
|
UpOutlined.displayName = "UpOutlined";
|
|
5029
5029
|
UpOutlined.inheritAttrs = !1;
|
|
5030
|
-
const UpOutlined$1 = UpOutlined, _hoisted_1$
|
|
5030
|
+
const UpOutlined$1 = UpOutlined, _hoisted_1$o = { style: { "text-align": "left" } }, _hoisted_2$g = { class: "move" }, _hoisted_3$e = {
|
|
5031
5031
|
key: 0,
|
|
5032
5032
|
class: "widget-view-drag"
|
|
5033
|
-
}, _hoisted_4$
|
|
5033
|
+
}, _hoisted_4$c = { class: "item-model" }, _hoisted_5$b = {
|
|
5034
5034
|
key: 14,
|
|
5035
5035
|
class: "item-action"
|
|
5036
|
-
}, _sfc_main$
|
|
5036
|
+
}, _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
5037
5037
|
__name: "FormInput",
|
|
5038
5038
|
props: {
|
|
5039
5039
|
list: {
|
|
@@ -5085,9 +5085,9 @@ const UpOutlined$1 = UpOutlined, _hoisted_1$m = { style: { "text-align": "left"
|
|
|
5085
5085
|
}
|
|
5086
5086
|
return (Q, Z) => {
|
|
5087
5087
|
const ee = resolveComponent("a-form-item"), te = resolveComponent("a-input"), ne = resolveComponent("a-textarea"), ie = resolveComponent("a-date-picker"), oe = resolveComponent("a-range-picker"), re = resolveComponent("a-switch"), se = resolveComponent("svg-icon"), ae = resolveComponent("a-button"), le = resolveComponent("a-select"), ce = resolveComponent("a-radio-group"), de = resolveComponent("a-checkbox-group"), ue = resolveComponent("a-tree-select"), he = resolveComponent("a-cascader");
|
|
5088
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5089
|
-
createElementVNode("div", _hoisted_2$
|
|
5090
|
-
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5088
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
5089
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
5090
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
|
|
5091
5091
|
createVNode(unref(DragOutlined$1), { style: { padding: "6px" } })
|
|
5092
5092
|
])) : createCommentVNode("", !0)
|
|
5093
5093
|
]),
|
|
@@ -5281,8 +5281,8 @@ const UpOutlined$1 = UpOutlined, _hoisted_1$m = { style: { "text-align": "left"
|
|
|
5281
5281
|
]),
|
|
5282
5282
|
_: 1
|
|
5283
5283
|
}, 8, ["label", "rules"])) : createCommentVNode("", !0),
|
|
5284
|
-
createElementVNode("div", _hoisted_4$
|
|
5285
|
-
W.activeIndex === W.index ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
5284
|
+
createElementVNode("div", _hoisted_4$c, toDisplayString(W.data.model), 1),
|
|
5285
|
+
W.activeIndex === W.index ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
|
|
5286
5286
|
createVNode(unref(CopyOutlined$1), {
|
|
5287
5287
|
style: { padding: "3px 5px" },
|
|
5288
5288
|
onClick: Z[9] || (Z[9] = (ge) => K(W.data))
|
|
@@ -5294,7 +5294,7 @@ const UpOutlined$1 = UpOutlined, _hoisted_1$m = { style: { "text-align": "left"
|
|
|
5294
5294
|
]);
|
|
5295
5295
|
};
|
|
5296
5296
|
}
|
|
5297
|
-
}),
|
|
5297
|
+
}), FormInput_vue_vue_type_style_index_0_scoped_e1fb2224_lang = "", FormInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-e1fb2224"]]), FormInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5298
5298
|
__proto__: null,
|
|
5299
5299
|
default: FormInput
|
|
5300
5300
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -58263,16 +58263,16 @@ const AFlex = defineComponent({
|
|
|
58263
58263
|
}));
|
|
58264
58264
|
};
|
|
58265
58265
|
}
|
|
58266
|
-
}), Flex = withInstall(AFlex), _hoisted_1$
|
|
58266
|
+
}), Flex = withInstall(AFlex), _hoisted_1$n = { class: "move" }, _hoisted_2$f = {
|
|
58267
58267
|
key: 0,
|
|
58268
58268
|
class: "widget-view-drag"
|
|
58269
|
-
}, _hoisted_3$
|
|
58269
|
+
}, _hoisted_3$d = ["onMousedown"], _hoisted_4$b = {
|
|
58270
58270
|
key: 0,
|
|
58271
58271
|
class: "item-action"
|
|
58272
|
-
}, _hoisted_5$
|
|
58272
|
+
}, _hoisted_5$a = {
|
|
58273
58273
|
key: 0,
|
|
58274
58274
|
class: "item-action"
|
|
58275
|
-
}, _sfc_main$
|
|
58275
|
+
}, _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
58276
58276
|
__name: "FormGrid",
|
|
58277
58277
|
props: {
|
|
58278
58278
|
list: {
|
|
@@ -58343,8 +58343,8 @@ const AFlex = defineComponent({
|
|
|
58343
58343
|
return (oe, re) => {
|
|
58344
58344
|
const se = resolveComponent("a-col"), ae = resolveComponent("a-row"), le = resolveComponent("a-form");
|
|
58345
58345
|
return openBlock(), createElementBlock("div", null, [
|
|
58346
|
-
createElementVNode("div", _hoisted_1$
|
|
58347
|
-
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
58346
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
58347
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
58348
58348
|
createVNode(unref(DragOutlined$1), { style: { padding: "6px" } })
|
|
58349
58349
|
])) : createCommentVNode("", !0)
|
|
58350
58350
|
]),
|
|
@@ -58393,11 +58393,11 @@ const AFlex = defineComponent({
|
|
|
58393
58393
|
activeIndex: G.value,
|
|
58394
58394
|
index: W.index + "-" + de + "-" + he
|
|
58395
58395
|
}, null, 8, ["data", "list", "activeIndex", "index"])
|
|
58396
|
-
], 42, _hoisted_3$
|
|
58396
|
+
], 42, _hoisted_3$d))), 256))
|
|
58397
58397
|
]),
|
|
58398
58398
|
_: 2
|
|
58399
58399
|
}, 1032, ["list", "onEnd"]),
|
|
58400
|
-
W.activeIndex === "col-" + W.index + "-" + de ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
58400
|
+
W.activeIndex === "col-" + W.index + "-" + de ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
58401
58401
|
createVNode(unref(CopyOutlined$1), {
|
|
58402
58402
|
style: { padding: "3px 5px" },
|
|
58403
58403
|
onClick: (ue) => te(ce)
|
|
@@ -58409,7 +58409,7 @@ const AFlex = defineComponent({
|
|
|
58409
58409
|
]),
|
|
58410
58410
|
_: 2
|
|
58411
58411
|
}, 1032, ["span", "class", "offset", "onMousedown"]))), 256)),
|
|
58412
|
-
W.activeIndex === W.index ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
58412
|
+
W.activeIndex === W.index ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
|
|
58413
58413
|
createVNode(unref(DeleteOutlined$1), {
|
|
58414
58414
|
style: { padding: "3px 5px", color: "#fff" },
|
|
58415
58415
|
onClick: re[0] || (re[0] = (ce) => ie())
|
|
@@ -58424,16 +58424,16 @@ const AFlex = defineComponent({
|
|
|
58424
58424
|
]);
|
|
58425
58425
|
};
|
|
58426
58426
|
}
|
|
58427
|
-
}), FormGrid_vue_vue_type_style_index_0_scoped_b631c8a4_lang = "", FormGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
58427
|
+
}), FormGrid_vue_vue_type_style_index_0_scoped_b631c8a4_lang = "", FormGrid = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-b631c8a4"]]), FormGrid$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
58428
58428
|
__proto__: null,
|
|
58429
58429
|
default: FormGrid
|
|
58430
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$
|
|
58430
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$m = { id: "table-css" }, _hoisted_2$e = { style: { "text-align": "left", "padding-left": "50px" } }, _hoisted_3$c = { class: "move" }, _hoisted_4$a = {
|
|
58431
58431
|
key: 0,
|
|
58432
58432
|
class: "widget-view-drag"
|
|
58433
|
-
}, _hoisted_5$
|
|
58433
|
+
}, _hoisted_5$9 = ["onClick"], _hoisted_6$9 = {
|
|
58434
58434
|
key: 0,
|
|
58435
58435
|
class: "item-action"
|
|
58436
|
-
}, _sfc_main$
|
|
58436
|
+
}, _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
58437
58437
|
__name: "FormTable",
|
|
58438
58438
|
props: {
|
|
58439
58439
|
list: {
|
|
@@ -58454,83 +58454,85 @@ const AFlex = defineComponent({
|
|
|
58454
58454
|
}
|
|
58455
58455
|
},
|
|
58456
58456
|
setup(W) {
|
|
58457
|
-
const C = useFormStore()
|
|
58458
|
-
|
|
58459
|
-
|
|
58460
|
-
|
|
58457
|
+
const C = useFormStore();
|
|
58458
|
+
storeToRefs(C);
|
|
58459
|
+
const H = W;
|
|
58460
|
+
let K = ref(null), U = ref(!1);
|
|
58461
|
+
function G(ne) {
|
|
58462
|
+
K.value != null && (K.value.className = ""), K.value = ne, U.value = !0, ne.className = "tableClass";
|
|
58461
58463
|
}
|
|
58462
|
-
let
|
|
58463
|
-
function
|
|
58464
|
-
H.
|
|
58465
|
-
title: "自定义列" +
|
|
58464
|
+
let X = 0;
|
|
58465
|
+
function Q() {
|
|
58466
|
+
H.data.tableColumns.push({
|
|
58467
|
+
title: "自定义列" + X,
|
|
58466
58468
|
dataIndex: "code"
|
|
58467
|
-
}),
|
|
58469
|
+
}), X++;
|
|
58468
58470
|
}
|
|
58469
|
-
function
|
|
58470
|
-
|
|
58471
|
-
title: "自定义列" +
|
|
58471
|
+
function Z() {
|
|
58472
|
+
K.value.children == null && Reflect.set(K.value, "children", []), K.value.children.push({
|
|
58473
|
+
title: "自定义列" + X,
|
|
58472
58474
|
dataIndex: "code",
|
|
58473
58475
|
key: "code"
|
|
58474
|
-
}),
|
|
58476
|
+
}), X++;
|
|
58475
58477
|
}
|
|
58476
|
-
function
|
|
58477
|
-
const
|
|
58478
|
-
if (
|
|
58479
|
-
let
|
|
58480
|
-
|
|
58478
|
+
function ee(ne) {
|
|
58479
|
+
const ie = JSON.parse(JSON.stringify(ne));
|
|
58480
|
+
if (H.list && H.list.length > 0) {
|
|
58481
|
+
let oe = H.list.findIndex((re) => re.id == ne.id);
|
|
58482
|
+
oe > -1 && (ie.id = guid(), ie.key = guid(), H.list.splice(oe + 1, 0, ie));
|
|
58481
58483
|
}
|
|
58482
58484
|
}
|
|
58483
|
-
function ne
|
|
58484
|
-
if (
|
|
58485
|
-
let
|
|
58486
|
-
|
|
58485
|
+
function te(ne) {
|
|
58486
|
+
if (H.list && H.list.length > 0) {
|
|
58487
|
+
let ie = H.list.findIndex((oe) => oe.id == ne.id);
|
|
58488
|
+
ie > -1 && H.list.splice(ie, 1);
|
|
58487
58489
|
}
|
|
58488
58490
|
}
|
|
58489
|
-
return (
|
|
58490
|
-
const
|
|
58491
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
58492
|
-
createElementVNode("div", _hoisted_2$
|
|
58493
|
-
createElementVNode("a", { onClick:
|
|
58491
|
+
return (ne, ie) => {
|
|
58492
|
+
const oe = resolveComponent("a-table");
|
|
58493
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
58494
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
58495
|
+
createElementVNode("a", { onClick: Q }, "添加列"),
|
|
58494
58496
|
createTextVNode(" "),
|
|
58495
|
-
unref(
|
|
58497
|
+
unref(U) ? (openBlock(), createElementBlock("a", {
|
|
58496
58498
|
key: 0,
|
|
58497
|
-
onClick:
|
|
58498
|
-
}, "分组『" + toDisplayString(unref(
|
|
58499
|
+
onClick: Z
|
|
58500
|
+
}, "分组『" + toDisplayString(unref(K).title) + "』添加列", 1)) : createCommentVNode("", !0)
|
|
58499
58501
|
]),
|
|
58500
|
-
createElementVNode("div", _hoisted_3$
|
|
58501
|
-
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
58502
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
58503
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
58502
58504
|
createVNode(unref(DragOutlined$1), { style: { padding: "6px" } })
|
|
58503
58505
|
])) : createCommentVNode("", !0)
|
|
58504
58506
|
]),
|
|
58505
|
-
createVNode(
|
|
58506
|
-
columns:
|
|
58507
|
+
createVNode(oe, {
|
|
58508
|
+
columns: W.data.tableColumns,
|
|
58507
58509
|
bordered: "",
|
|
58508
58510
|
size: "middle",
|
|
58509
58511
|
scroll: { y: 240 }
|
|
58510
58512
|
}, {
|
|
58511
|
-
headerCell: withCtx(({ column:
|
|
58513
|
+
headerCell: withCtx(({ column: re }) => [
|
|
58512
58514
|
createElementVNode("div", {
|
|
58513
|
-
onClick: (
|
|
58514
|
-
}, toDisplayString(
|
|
58515
|
+
onClick: (se) => G(re)
|
|
58516
|
+
}, toDisplayString(re.title), 9, _hoisted_5$9)
|
|
58515
58517
|
]),
|
|
58516
58518
|
_: 1
|
|
58517
58519
|
}, 8, ["columns"]),
|
|
58518
|
-
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
58520
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
58519
58521
|
createVNode(unref(CopyOutlined$1), {
|
|
58520
58522
|
style: { padding: "3px 5px" },
|
|
58521
|
-
onClick:
|
|
58523
|
+
onClick: ie[0] || (ie[0] = (re) => ee(W.data))
|
|
58522
58524
|
}),
|
|
58523
58525
|
createVNode(unref(DeleteOutlined$1), {
|
|
58524
|
-
onClick:
|
|
58526
|
+
onClick: ie[1] || (ie[1] = (re) => te(W.data))
|
|
58525
58527
|
})
|
|
58526
58528
|
])) : createCommentVNode("", !0)
|
|
58527
58529
|
]);
|
|
58528
58530
|
};
|
|
58529
58531
|
}
|
|
58530
|
-
}),
|
|
58532
|
+
}), FormTable_vue_vue_type_style_index_0_scoped_159f086b_lang = "", FormTable = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-159f086b"]]), FormTable$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
58531
58533
|
__proto__: null,
|
|
58532
58534
|
default: FormTable
|
|
58533
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$
|
|
58535
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$l = { id: "report-css" }, _hoisted_2$d = { class: "report-table-css" }, _hoisted_3$b = ["onClick"], _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
58534
58536
|
__name: "FormReport",
|
|
58535
58537
|
props: {
|
|
58536
58538
|
data: {
|
|
@@ -58571,23 +58573,23 @@ const AFlex = defineComponent({
|
|
|
58571
58573
|
rules: []
|
|
58572
58574
|
});
|
|
58573
58575
|
}
|
|
58574
|
-
return (Z, ee) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
58576
|
+
return (Z, ee) => (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
58575
58577
|
createElementVNode("div", { style: { "text-align": "left", "padding-left": "50px" } }, [
|
|
58576
58578
|
createElementVNode("a", { onClick: X }, "添加行"),
|
|
58577
58579
|
createTextVNode(" "),
|
|
58578
58580
|
createElementVNode("a", { onClick: Q }, "添加列")
|
|
58579
58581
|
]),
|
|
58580
|
-
createElementVNode("table", _hoisted_2$
|
|
58582
|
+
createElementVNode("table", _hoisted_2$d, [
|
|
58581
58583
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(H).list[W.index].rows, (te, ne) => (openBlock(), createElementBlock("tr", null, [
|
|
58582
58584
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(te.columns, (ie, oe) => (openBlock(), createElementBlock("td", {
|
|
58583
58585
|
class: "report-table-item",
|
|
58584
58586
|
onClick: (re) => G(te)
|
|
58585
|
-
}, " fdfd ", 8, _hoisted_3$
|
|
58587
|
+
}, " fdfd ", 8, _hoisted_3$b))), 256))
|
|
58586
58588
|
]))), 256))
|
|
58587
58589
|
])
|
|
58588
58590
|
]));
|
|
58589
58591
|
}
|
|
58590
|
-
}), FormReport_vue_vue_type_style_index_0_scoped_9eb302b9_lang = "", FormReport = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
58592
|
+
}), FormReport_vue_vue_type_style_index_0_scoped_9eb302b9_lang = "", FormReport = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-9eb302b9"]]), FormReport$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
58591
58593
|
__proto__: null,
|
|
58592
58594
|
default: FormReport
|
|
58593
58595
|
}, Symbol.toStringTag, { value: "Module" })), useDataStore = defineStore({
|
|
@@ -60206,7 +60208,8 @@ function createAxios() {
|
|
|
60206
60208
|
});
|
|
60207
60209
|
}
|
|
60208
60210
|
const defHttp = createAxios();
|
|
60209
|
-
|
|
60211
|
+
ref({ importScript: "", variableScript: "", contentScript: "" });
|
|
60212
|
+
let commonProps$1 = reactive({ hTable: 0, editTable: 0, paginations: {} }), generateData$1 = ref({ html: "", columns: {}, pagScript: {}, variableScript: {}, searchData: [] });
|
|
60210
60213
|
function loadSourceData(W) {
|
|
60211
60214
|
return new Promise((C, H) => {
|
|
60212
60215
|
const K = "/magicapi/zrzy-form/magic/form/source/list";
|
|
@@ -60291,6 +60294,9 @@ function generateHtml(W, C, H, K) {
|
|
|
60291
60294
|
case "tabs":
|
|
60292
60295
|
G += generateTabs(ie, C, H, K);
|
|
60293
60296
|
break;
|
|
60297
|
+
case "collapse":
|
|
60298
|
+
G += generateCollapsePanel(ie, C);
|
|
60299
|
+
break;
|
|
60294
60300
|
default:
|
|
60295
60301
|
G += generateBase(ie, K);
|
|
60296
60302
|
}
|
|
@@ -60438,7 +60444,7 @@ function generateChildForm(W) {
|
|
|
60438
60444
|
}
|
|
60439
60445
|
function generateTabs(W, C, H, K) {
|
|
60440
60446
|
let U = "", G = `width:${W.width}`;
|
|
60441
|
-
|
|
60447
|
+
H.value.variableScript += `let activeTabKey = ref('${W.activeTabKey}');
|
|
60442
60448
|
`, generateData$1.value.variableScript.activeTabKey = W.activeTabKey, U += `<a-tabs v-model:activeKey="activeTabKey" hideAdd type='${W.tabType}' style='${G}'>`;
|
|
60443
60449
|
for (let X = 0; X < W.panes.length; X++) {
|
|
60444
60450
|
let Q = W.panes[X];
|
|
@@ -60455,7 +60461,10 @@ function generateTabs(W, C, H, K) {
|
|
|
60455
60461
|
U += generateGrid(ie, C, K);
|
|
60456
60462
|
break;
|
|
60457
60463
|
case "table":
|
|
60458
|
-
U += generateTable(
|
|
60464
|
+
U += generateTable(ie, X + ne, H, K);
|
|
60465
|
+
break;
|
|
60466
|
+
case "collapse":
|
|
60467
|
+
U += generateCollapsePanel(ie, C);
|
|
60459
60468
|
break;
|
|
60460
60469
|
default:
|
|
60461
60470
|
U += generateBase(ie, K);
|
|
@@ -60467,6 +60476,38 @@ function generateTabs(W, C, H, K) {
|
|
|
60467
60476
|
}
|
|
60468
60477
|
return U += "</a-tabs>", U;
|
|
60469
60478
|
}
|
|
60479
|
+
function generateCollapsePanel(W, C, H, K) {
|
|
60480
|
+
let U = "";
|
|
60481
|
+
const G = `classname="${W.classname}"`, X = `header="${W.header}"`, Q = `width:${W.width}`, Z = `:showArrow="${W.showArrow}"`, ee = `:defaultCollapse="${W.defaultCollapse}"`, te = `collapseType="${W.collapseType}"`;
|
|
60482
|
+
U += `
|
|
60483
|
+
<c-collapse-panel style='${Q}' ${G} ${X} ${Z} ${ee} ${te}>
|
|
60484
|
+
`;
|
|
60485
|
+
let ne = C.labelWidth == null ? "" : `:label-col="{ style: { width:'${C.labelWidth}px'} }"`, ie = W.content.length > 0 ? `<a-form class="form-container" ${ne}>` : "";
|
|
60486
|
+
U += ie;
|
|
60487
|
+
let oe = W.content;
|
|
60488
|
+
for (let se = 0; se < oe.length; se++) {
|
|
60489
|
+
let ae = oe[se];
|
|
60490
|
+
switch (ae.type) {
|
|
60491
|
+
case "childform":
|
|
60492
|
+
U += generateChildForm(ae);
|
|
60493
|
+
break;
|
|
60494
|
+
case "grid":
|
|
60495
|
+
U += generateGrid(ae, C, K);
|
|
60496
|
+
break;
|
|
60497
|
+
case "table":
|
|
60498
|
+
U += generateTable(ae, se, H, K);
|
|
60499
|
+
break;
|
|
60500
|
+
case "tabs":
|
|
60501
|
+
U += generateTabs(ae, C, H, K);
|
|
60502
|
+
break;
|
|
60503
|
+
default:
|
|
60504
|
+
U += generateBase(ae, K);
|
|
60505
|
+
break;
|
|
60506
|
+
}
|
|
60507
|
+
}
|
|
60508
|
+
let re = oe.length > 0 ? "</a-form>" : "";
|
|
60509
|
+
return U += re, U += "</c-collapse-panel>", U;
|
|
60510
|
+
}
|
|
60470
60511
|
function generateGrid(W, C, H, K) {
|
|
60471
60512
|
let U = "";
|
|
60472
60513
|
U += `
|
|
@@ -60603,7 +60644,6 @@ async function generateFormCode(W) {
|
|
|
60603
60644
|
let Q = "";
|
|
60604
60645
|
const Z = W.config, { eventScript: ee, dataSource: te, baseScript: ne, ...ie } = Z;
|
|
60605
60646
|
Q = generateHtml(W.list, ie, C, X).html;
|
|
60606
|
-
debugger;
|
|
60607
60647
|
const oe = generateTs(Z), re = `
|
|
60608
60648
|
<template>
|
|
60609
60649
|
${Q}
|
|
@@ -60650,13 +60690,13 @@ function getViewData() {
|
|
|
60650
60690
|
Reflect.set(H, C[K].value, {});
|
|
60651
60691
|
return H;
|
|
60652
60692
|
}
|
|
60653
|
-
const _hoisted_1$
|
|
60693
|
+
const _hoisted_1$k = { style: { "text-align": "left" } }, _hoisted_2$c = { class: "move" }, _hoisted_3$a = {
|
|
60654
60694
|
key: 0,
|
|
60655
60695
|
class: "widget-view-drag"
|
|
60656
|
-
}, _hoisted_4$
|
|
60696
|
+
}, _hoisted_4$9 = {
|
|
60657
60697
|
key: 0,
|
|
60658
60698
|
class: "item-action"
|
|
60659
|
-
}, _sfc_main$
|
|
60699
|
+
}, _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
60660
60700
|
__name: "FormVue",
|
|
60661
60701
|
props: {
|
|
60662
60702
|
list: {
|
|
@@ -60703,9 +60743,9 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
60703
60743
|
}
|
|
60704
60744
|
return (Z, ee) => {
|
|
60705
60745
|
const te = resolveComponent("a-form-item");
|
|
60706
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
60707
|
-
createElementVNode("div", _hoisted_2$
|
|
60708
|
-
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
60746
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
60747
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
60748
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
60709
60749
|
createVNode(unref(DragOutlined$1), { style: { padding: "6px" } })
|
|
60710
60750
|
])) : createCommentVNode("", !0),
|
|
60711
60751
|
W.data.type == "childform" ? (openBlock(), createBlock(te, {
|
|
@@ -60718,7 +60758,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
60718
60758
|
_: 1
|
|
60719
60759
|
})) : createCommentVNode("", !0)
|
|
60720
60760
|
]),
|
|
60721
|
-
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
60761
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
60722
60762
|
createVNode(unref(DeleteOutlined$1), {
|
|
60723
60763
|
onClick: ee[0] || (ee[0] = (ne) => Q(W.data))
|
|
60724
60764
|
})
|
|
@@ -60726,16 +60766,191 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
60726
60766
|
]);
|
|
60727
60767
|
};
|
|
60728
60768
|
}
|
|
60729
|
-
}), FormVue_vue_vue_type_style_index_0_scoped_ab377417_lang = "", FormVue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
60769
|
+
}), FormVue_vue_vue_type_style_index_0_scoped_ab377417_lang = "", FormVue = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-ab377417"]]), FormVue$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
60730
60770
|
__proto__: null,
|
|
60731
60771
|
default: FormVue
|
|
60732
|
-
}, Symbol.toStringTag, { value: "Module" })), _withScopeId$
|
|
60772
|
+
}, Symbol.toStringTag, { value: "Module" })), _withScopeId$6 = (W) => (pushScopeId("data-v-0459470d"), W = W(), popScopeId(), W), _hoisted_1$j = { class: "move" }, _hoisted_2$b = {
|
|
60733
60773
|
key: 0,
|
|
60734
60774
|
class: "widget-view-drag"
|
|
60735
|
-
}, _hoisted_3$
|
|
60775
|
+
}, _hoisted_3$9 = {
|
|
60776
|
+
key: 0,
|
|
60777
|
+
class: "collapse-btn"
|
|
60778
|
+
}, _hoisted_4$8 = { class: "collapse-form-list" }, _hoisted_5$8 = ["onMousedown"], _hoisted_6$8 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "collapse-default-height" }, null, -1)), _hoisted_7$6 = {
|
|
60736
60779
|
key: 0,
|
|
60737
60780
|
class: "item-action"
|
|
60738
|
-
}, _sfc_main$
|
|
60781
|
+
}, _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
60782
|
+
__name: "FormCollapse",
|
|
60783
|
+
props: {
|
|
60784
|
+
list: {
|
|
60785
|
+
type: Array,
|
|
60786
|
+
default: []
|
|
60787
|
+
},
|
|
60788
|
+
data: {
|
|
60789
|
+
type: Object,
|
|
60790
|
+
default: null
|
|
60791
|
+
},
|
|
60792
|
+
index: {
|
|
60793
|
+
type: String
|
|
60794
|
+
},
|
|
60795
|
+
activeIndex: {
|
|
60796
|
+
type: String
|
|
60797
|
+
}
|
|
60798
|
+
},
|
|
60799
|
+
emits: ["childConfig", "index", "controlConfig"],
|
|
60800
|
+
setup(W, { emit: C }) {
|
|
60801
|
+
const H = useFormStore(), K = W, U = ref("-1"), G = C;
|
|
60802
|
+
watch(
|
|
60803
|
+
() => K.activeIndex,
|
|
60804
|
+
(oe, re) => {
|
|
60805
|
+
U.value = oe;
|
|
60806
|
+
}
|
|
60807
|
+
);
|
|
60808
|
+
function X() {
|
|
60809
|
+
console.log("// 开始拖拽");
|
|
60810
|
+
}
|
|
60811
|
+
function Q(oe) {
|
|
60812
|
+
oe.to.className == "collapse-drag-list" ? U.value = K.index + "-" + oe.newIndex : U.value = oe.newIndex, G("index", U.value);
|
|
60813
|
+
}
|
|
60814
|
+
function Z(oe, re, se) {
|
|
60815
|
+
U.value = re, G("childConfig", oe), G("index", U.value), se.stopPropagation(), se.preventDefault();
|
|
60816
|
+
}
|
|
60817
|
+
function ee(oe) {
|
|
60818
|
+
const re = JSON.parse(JSON.stringify(oe));
|
|
60819
|
+
if (K.list && K.list.length > 0) {
|
|
60820
|
+
let se = K.list.findIndex((ae) => ae.id == oe.id);
|
|
60821
|
+
se > -1 && (re.id = guid(), re.key = guid(), K.list.splice(se + 1, 0, re));
|
|
60822
|
+
}
|
|
60823
|
+
}
|
|
60824
|
+
function te(oe) {
|
|
60825
|
+
if (K.list && K.list.length > 0) {
|
|
60826
|
+
let re = K.list.findIndex((se) => se.id == oe.id);
|
|
60827
|
+
re > -1 && K.list.splice(re, 1);
|
|
60828
|
+
}
|
|
60829
|
+
}
|
|
60830
|
+
function ne(oe) {
|
|
60831
|
+
G("childConfig", oe);
|
|
60832
|
+
}
|
|
60833
|
+
function ie(oe) {
|
|
60834
|
+
U.value = oe;
|
|
60835
|
+
}
|
|
60836
|
+
return (oe, re) => {
|
|
60837
|
+
const se = resolveComponent("svg-icon"), ae = resolveComponent("a-form"), le = resolveComponent("a-form-item");
|
|
60838
|
+
return openBlock(), createElementBlock("div", null, [
|
|
60839
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
60840
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
|
|
60841
|
+
createVNode(unref(DragOutlined$1), { style: { padding: "6px" } })
|
|
60842
|
+
])) : createCommentVNode("", !0),
|
|
60843
|
+
W.data.type == "collapse" ? (openBlock(), createBlock(le, { key: 1 }, {
|
|
60844
|
+
default: withCtx(() => [
|
|
60845
|
+
createElementVNode("div", {
|
|
60846
|
+
class: "collapsePanel",
|
|
60847
|
+
style: normalizeStyle$1({ width: W.data.width })
|
|
60848
|
+
}, [
|
|
60849
|
+
createElementVNode("div", {
|
|
60850
|
+
class: normalizeClass([W.data.classname, "title-between"])
|
|
60851
|
+
}, [
|
|
60852
|
+
createElementVNode("span", null, toDisplayString(W.data.header), 1),
|
|
60853
|
+
W.data.showArrow ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
|
|
60854
|
+
createVNode(se, {
|
|
60855
|
+
name: "arrow",
|
|
60856
|
+
width: "24",
|
|
60857
|
+
height: "24"
|
|
60858
|
+
})
|
|
60859
|
+
])) : createCommentVNode("", !0)
|
|
60860
|
+
], 2),
|
|
60861
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
60862
|
+
createVNode(unref(VueDraggableNext), {
|
|
60863
|
+
class: "collapse-drag-list",
|
|
60864
|
+
list: W.data.content,
|
|
60865
|
+
animation: "300",
|
|
60866
|
+
handle: ".move",
|
|
60867
|
+
group: "itxst",
|
|
60868
|
+
"ghost-class": "ghost",
|
|
60869
|
+
"force-fallback": !0,
|
|
60870
|
+
onStart: X,
|
|
60871
|
+
onEnd: re[0] || (re[0] = (ce) => Q(ce))
|
|
60872
|
+
}, {
|
|
60873
|
+
default: withCtx(() => [
|
|
60874
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(W.data.content, (ce, de) => (openBlock(), createBlock(ae, {
|
|
60875
|
+
class: "form-container",
|
|
60876
|
+
"label-col": { style: { width: unref(H).formData.config.labelWidth + "px" } }
|
|
60877
|
+
}, {
|
|
60878
|
+
default: withCtx(() => [
|
|
60879
|
+
createElementVNode("div", {
|
|
60880
|
+
class: normalizeClass(["widget-view", { active: U.value == W.index + "-" + de }]),
|
|
60881
|
+
onMousedown: (ue) => Z(ce, W.index + "-" + de, ue)
|
|
60882
|
+
}, [
|
|
60883
|
+
ce.type == "childform" ? (openBlock(), createBlock(FormVue, {
|
|
60884
|
+
key: 0,
|
|
60885
|
+
data: ce,
|
|
60886
|
+
list: W.data.content,
|
|
60887
|
+
activeIndex: U.value,
|
|
60888
|
+
index: W.index + "-" + de
|
|
60889
|
+
}, null, 8, ["data", "list", "activeIndex", "index"])) : ce.type == "table" ? (openBlock(), createBlock(FormTable, {
|
|
60890
|
+
key: 1,
|
|
60891
|
+
data: ce,
|
|
60892
|
+
list: W.data.content,
|
|
60893
|
+
activeIndex: U.value,
|
|
60894
|
+
index: W.index + "-" + de
|
|
60895
|
+
}, null, 8, ["data", "list", "activeIndex", "index"])) : ce.type == "grid" ? (openBlock(), createBlock(FormGrid, {
|
|
60896
|
+
key: 2,
|
|
60897
|
+
data: ce,
|
|
60898
|
+
activeIndex: U.value,
|
|
60899
|
+
list: W.data.content,
|
|
60900
|
+
index: W.index + "-" + de,
|
|
60901
|
+
onChildConfig: ne,
|
|
60902
|
+
onIndex: ie
|
|
60903
|
+
}, null, 8, ["data", "activeIndex", "list", "index"])) : ce.type == "tabs" ? (openBlock(), createBlock(FormTabs, {
|
|
60904
|
+
key: 3,
|
|
60905
|
+
data: ce,
|
|
60906
|
+
activeIndex: U.value,
|
|
60907
|
+
list: W.data.content,
|
|
60908
|
+
index: W.index + "-" + de,
|
|
60909
|
+
onChildConfig: ne,
|
|
60910
|
+
onIndex: ie
|
|
60911
|
+
}, null, 8, ["data", "activeIndex", "list", "index"])) : (openBlock(), createBlock(FormInput, {
|
|
60912
|
+
key: 4,
|
|
60913
|
+
data: ce,
|
|
60914
|
+
list: W.data.content,
|
|
60915
|
+
activeIndex: U.value,
|
|
60916
|
+
index: W.index + "-" + de
|
|
60917
|
+
}, null, 8, ["data", "list", "activeIndex", "index"]))
|
|
60918
|
+
], 42, _hoisted_5$8)
|
|
60919
|
+
]),
|
|
60920
|
+
_: 2
|
|
60921
|
+
}, 1032, ["label-col"]))), 256))
|
|
60922
|
+
]),
|
|
60923
|
+
_: 1
|
|
60924
|
+
}, 8, ["list"]),
|
|
60925
|
+
_hoisted_6$8
|
|
60926
|
+
])
|
|
60927
|
+
], 4)
|
|
60928
|
+
]),
|
|
60929
|
+
_: 1
|
|
60930
|
+
})) : createCommentVNode("", !0)
|
|
60931
|
+
]),
|
|
60932
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_7$6, [
|
|
60933
|
+
createVNode(unref(CopyOutlined$1), {
|
|
60934
|
+
style: { padding: "3px 5px" },
|
|
60935
|
+
onClick: re[1] || (re[1] = (ce) => ee(W.data))
|
|
60936
|
+
}),
|
|
60937
|
+
createVNode(unref(DeleteOutlined$1), {
|
|
60938
|
+
onClick: re[2] || (re[2] = (ce) => te(W.data))
|
|
60939
|
+
})
|
|
60940
|
+
])) : createCommentVNode("", !0)
|
|
60941
|
+
]);
|
|
60942
|
+
};
|
|
60943
|
+
}
|
|
60944
|
+
}), FormCollapse_vue_vue_type_style_index_0_scoped_0459470d_lang = "", FormCollapse = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-0459470d"]]), FormCollapse$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
60945
|
+
__proto__: null,
|
|
60946
|
+
default: FormCollapse
|
|
60947
|
+
}, Symbol.toStringTag, { value: "Module" })), _withScopeId$5 = (W) => (pushScopeId("data-v-fe639332"), W = W(), popScopeId(), W), _hoisted_1$i = { class: "move" }, _hoisted_2$a = {
|
|
60948
|
+
key: 0,
|
|
60949
|
+
class: "widget-view-drag"
|
|
60950
|
+
}, _hoisted_3$8 = { class: "tab-slot" }, _hoisted_4$7 = { class: "tab-info" }, _hoisted_5$7 = { class: "tab-close" }, _hoisted_6$7 = { class: "tab-form-list" }, _hoisted_7$5 = ["onMousedown"], _hoisted_8$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "tab-default-height" }, null, -1)), _hoisted_9$5 = {
|
|
60951
|
+
key: 0,
|
|
60952
|
+
class: "item-action"
|
|
60953
|
+
}, _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
60739
60954
|
__name: "FormTabs",
|
|
60740
60955
|
props: {
|
|
60741
60956
|
list: {
|
|
@@ -60755,62 +60970,61 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
60755
60970
|
},
|
|
60756
60971
|
emits: ["childConfig", "index", "controlConfig"],
|
|
60757
60972
|
setup(W, { emit: C }) {
|
|
60758
|
-
useFormStore();
|
|
60759
|
-
const H = W, K = ref("-1"), U = { style: { width: "100px" } }, G = C;
|
|
60973
|
+
const H = useFormStore(), K = W, U = ref("-1"), G = C;
|
|
60760
60974
|
watch(
|
|
60761
|
-
() =>
|
|
60975
|
+
() => K.activeIndex,
|
|
60762
60976
|
(se, ae) => {
|
|
60763
|
-
|
|
60977
|
+
U.value = se;
|
|
60764
60978
|
}
|
|
60765
60979
|
);
|
|
60766
60980
|
const X = () => {
|
|
60767
60981
|
let se = guid();
|
|
60768
|
-
|
|
60982
|
+
K.data.activeTabKey = se, K.data.panes.push({
|
|
60769
60983
|
title: "New Tab",
|
|
60770
60984
|
content: [],
|
|
60771
60985
|
key: se
|
|
60772
60986
|
});
|
|
60773
60987
|
}, Q = (se) => {
|
|
60774
60988
|
let ae = 0;
|
|
60775
|
-
|
|
60989
|
+
K.data.panes.forEach((ce, de) => {
|
|
60776
60990
|
ce.key === se && (ae = de - 1);
|
|
60777
|
-
}),
|
|
60991
|
+
}), K.data.panes = K.data.panes.filter((ce) => ce.key !== se);
|
|
60778
60992
|
let le;
|
|
60779
|
-
|
|
60993
|
+
K.data.panes.length && K.data.activeTabKey === se && (ae >= 0 ? le = K.data.panes[ae].key : le = K.data.panes[0].key), K.data.activeTabKey = le;
|
|
60780
60994
|
};
|
|
60781
60995
|
function Z() {
|
|
60782
60996
|
console.log("// 开始拖拽");
|
|
60783
60997
|
}
|
|
60784
60998
|
function ee(se, ae) {
|
|
60785
|
-
se.to.className == "tab-drag-list" ?
|
|
60999
|
+
se.to.className == "tab-drag-list" ? U.value = K.index + "-" + ae + "-" + se.newIndex : U.value = se.newIndex, G("index", U.value);
|
|
60786
61000
|
}
|
|
60787
61001
|
function te(se, ae, le) {
|
|
60788
|
-
|
|
61002
|
+
U.value = ae, G("childConfig", se), G("index", U.value), le.stopPropagation(), le.preventDefault();
|
|
60789
61003
|
}
|
|
60790
61004
|
function ne(se) {
|
|
60791
61005
|
const ae = JSON.parse(JSON.stringify(se));
|
|
60792
|
-
if (
|
|
60793
|
-
let le =
|
|
60794
|
-
le > -1 && (ae.id = guid(), ae.key = guid(),
|
|
61006
|
+
if (K.list && K.list.length > 0) {
|
|
61007
|
+
let le = K.list.findIndex((ce) => ce.id == se.id);
|
|
61008
|
+
le > -1 && (ae.id = guid(), ae.key = guid(), K.list.splice(le + 1, 0, ae));
|
|
60795
61009
|
}
|
|
60796
61010
|
}
|
|
60797
61011
|
function ie(se) {
|
|
60798
|
-
if (
|
|
60799
|
-
let ae =
|
|
60800
|
-
ae > -1 &&
|
|
61012
|
+
if (K.list && K.list.length > 0) {
|
|
61013
|
+
let ae = K.list.findIndex((le) => le.id == se.id);
|
|
61014
|
+
ae > -1 && K.list.splice(ae, 1);
|
|
60801
61015
|
}
|
|
60802
61016
|
}
|
|
60803
61017
|
function oe(se) {
|
|
60804
61018
|
G("childConfig", se);
|
|
60805
61019
|
}
|
|
60806
61020
|
function re(se) {
|
|
60807
|
-
|
|
61021
|
+
U.value = se;
|
|
60808
61022
|
}
|
|
60809
61023
|
return (se, ae) => {
|
|
60810
61024
|
const le = resolveComponent("a-button"), ce = resolveComponent("a-popconfirm"), de = resolveComponent("a-form"), ue = resolveComponent("a-tab-pane"), he = resolveComponent("a-tabs"), ge = resolveComponent("a-form-item");
|
|
60811
61025
|
return openBlock(), createElementBlock("div", null, [
|
|
60812
|
-
createElementVNode("div", _hoisted_1$
|
|
60813
|
-
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
61026
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
61027
|
+
W.activeIndex == W.index ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
60814
61028
|
createVNode(unref(DragOutlined$1), { style: { padding: "6px" } })
|
|
60815
61029
|
])) : createCommentVNode("", !0),
|
|
60816
61030
|
W.data.type == "tabs" ? (openBlock(), createBlock(ge, { key: 1 }, {
|
|
@@ -60838,10 +61052,10 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
60838
61052
|
key: fe.key,
|
|
60839
61053
|
closable: !1,
|
|
60840
61054
|
"force-render": "",
|
|
60841
|
-
class: normalizeClass({ active:
|
|
61055
|
+
class: normalizeClass({ active: U.value == "pane" + me })
|
|
60842
61056
|
}, {
|
|
60843
61057
|
tab: withCtx(() => [
|
|
60844
|
-
createElementVNode("div", _hoisted_3$
|
|
61058
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
60845
61059
|
createElementVNode("span", _hoisted_4$7, toDisplayString(fe.title), 1),
|
|
60846
61060
|
createVNode(ce, {
|
|
60847
61061
|
title: "内部组件也会一并删除,且不能撤销,确定要删除吗",
|
|
@@ -60872,39 +61086,52 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
60872
61086
|
default: withCtx(() => [
|
|
60873
61087
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(fe.content, (pe, ve) => (openBlock(), createBlock(de, {
|
|
60874
61088
|
class: "form-container",
|
|
60875
|
-
"label-col":
|
|
61089
|
+
"label-col": { style: { width: unref(H).formData.config.labelWidth + "px" } }
|
|
60876
61090
|
}, {
|
|
60877
61091
|
default: withCtx(() => [
|
|
60878
61092
|
createElementVNode("div", {
|
|
60879
|
-
class: normalizeClass(["widget-view", { active:
|
|
61093
|
+
class: normalizeClass(["widget-view", { active: U.value == W.index + "-" + me + "-" + ve }]),
|
|
60880
61094
|
onMousedown: (be) => te(pe, W.index + "-" + me + "-" + ve, be)
|
|
60881
61095
|
}, [
|
|
60882
61096
|
pe.type == "childform" ? (openBlock(), createBlock(FormVue, {
|
|
60883
61097
|
key: 0,
|
|
60884
61098
|
data: pe,
|
|
60885
61099
|
list: fe.content,
|
|
60886
|
-
activeIndex:
|
|
61100
|
+
activeIndex: U.value,
|
|
60887
61101
|
index: W.index + "-" + me + "-" + ve
|
|
60888
|
-
}, null, 8, ["data", "list", "activeIndex", "index"])) :
|
|
60889
|
-
pe.type == "grid" ? (openBlock(), createBlock(FormGrid, {
|
|
61102
|
+
}, null, 8, ["data", "list", "activeIndex", "index"])) : pe.type == "table" ? (openBlock(), createBlock(FormTable, {
|
|
60890
61103
|
key: 1,
|
|
60891
61104
|
data: pe,
|
|
60892
|
-
activeIndex:
|
|
61105
|
+
activeIndex: U.value,
|
|
61106
|
+
list: fe.content,
|
|
61107
|
+
index: W.index + "-" + me + "-" + ve
|
|
61108
|
+
}, null, 8, ["data", "activeIndex", "list", "index"])) : pe.type == "grid" ? (openBlock(), createBlock(FormGrid, {
|
|
61109
|
+
key: 2,
|
|
61110
|
+
data: pe,
|
|
61111
|
+
activeIndex: U.value,
|
|
61112
|
+
list: fe.content,
|
|
61113
|
+
index: W.index + "-" + me + "-" + ve,
|
|
61114
|
+
onChildConfig: oe,
|
|
61115
|
+
onIndex: re
|
|
61116
|
+
}, null, 8, ["data", "activeIndex", "list", "index"])) : pe.type == "collapse" ? (openBlock(), createBlock(FormCollapse, {
|
|
61117
|
+
key: 3,
|
|
61118
|
+
data: pe,
|
|
61119
|
+
activeIndex: U.value,
|
|
60893
61120
|
list: fe.content,
|
|
60894
61121
|
index: W.index + "-" + me + "-" + ve,
|
|
60895
61122
|
onChildConfig: oe,
|
|
60896
61123
|
onIndex: re
|
|
60897
61124
|
}, null, 8, ["data", "activeIndex", "list", "index"])) : (openBlock(), createBlock(FormInput, {
|
|
60898
|
-
key:
|
|
61125
|
+
key: 4,
|
|
60899
61126
|
data: pe,
|
|
60900
61127
|
list: fe.content,
|
|
60901
|
-
activeIndex:
|
|
61128
|
+
activeIndex: U.value,
|
|
60902
61129
|
index: W.index + "-" + me + "-" + ve
|
|
60903
61130
|
}, null, 8, ["data", "list", "activeIndex", "index"]))
|
|
60904
61131
|
], 42, _hoisted_7$5)
|
|
60905
61132
|
]),
|
|
60906
61133
|
_: 2
|
|
60907
|
-
},
|
|
61134
|
+
}, 1032, ["label-col"]))), 256))
|
|
60908
61135
|
]),
|
|
60909
61136
|
_: 2
|
|
60910
61137
|
}, 1032, ["list", "onEnd"]),
|
|
@@ -60932,10 +61159,10 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
60932
61159
|
]);
|
|
60933
61160
|
};
|
|
60934
61161
|
}
|
|
60935
|
-
}),
|
|
61162
|
+
}), FormTabs_vue_vue_type_style_index_0_scoped_fe639332_lang = "", FormTabs = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-fe639332"]]), FormTabs$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
60936
61163
|
__proto__: null,
|
|
60937
61164
|
default: FormTabs
|
|
60938
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$
|
|
61165
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$h = { class: "" }, _hoisted_2$9 = ["onMousedown"], _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
60939
61166
|
__name: "index",
|
|
60940
61167
|
emits: ["controlConfig"],
|
|
60941
61168
|
setup(W, { emit: C }) {
|
|
@@ -60986,7 +61213,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
60986
61213
|
itemKey: ""
|
|
60987
61214
|
}, {
|
|
60988
61215
|
default: withCtx(() => [
|
|
60989
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(K).list, (se, ae) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
61216
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(K).list, (se, ae) => (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
60990
61217
|
createElementVNode("div", {
|
|
60991
61218
|
class: normalizeClass(["widget-col widget-view", { active: U.value == ae.toString() }]),
|
|
60992
61219
|
onMousedown: (le) => X(se, ae.toString(), le)
|
|
@@ -61024,14 +61251,22 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61024
61251
|
onChildConfig: Q,
|
|
61025
61252
|
onIndex: Z,
|
|
61026
61253
|
index: ae.toString()
|
|
61027
|
-
}, null, 8, ["data", "list", "activeIndex", "index"])) : (openBlock(), createBlock(
|
|
61254
|
+
}, null, 8, ["data", "list", "activeIndex", "index"])) : se.type == "collapse" ? (openBlock(), createBlock(FormCollapse, {
|
|
61028
61255
|
key: 5,
|
|
61029
61256
|
data: se,
|
|
61030
61257
|
list: unref(K).list,
|
|
61031
61258
|
activeIndex: U.value,
|
|
61259
|
+
onChildConfig: Q,
|
|
61260
|
+
onIndex: Z,
|
|
61261
|
+
index: ae.toString()
|
|
61262
|
+
}, null, 8, ["data", "list", "activeIndex", "index"])) : (openBlock(), createBlock(FormInput, {
|
|
61263
|
+
key: 6,
|
|
61264
|
+
data: se,
|
|
61265
|
+
list: unref(K).list,
|
|
61266
|
+
activeIndex: U.value,
|
|
61032
61267
|
index: ae.toString()
|
|
61033
61268
|
}, null, 8, ["data", "list", "activeIndex", "index"]))
|
|
61034
|
-
], 42, _hoisted_2$
|
|
61269
|
+
], 42, _hoisted_2$9)
|
|
61035
61270
|
]))), 256))
|
|
61036
61271
|
]),
|
|
61037
61272
|
_: 1
|
|
@@ -61041,10 +61276,10 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61041
61276
|
}, 8, ["label-col"]);
|
|
61042
61277
|
};
|
|
61043
61278
|
}
|
|
61044
|
-
}),
|
|
61279
|
+
}), index_vue_vue_type_style_index_0_scoped_74081ac7_lang = "", FormDesign = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-74081ac7"]]), index$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61045
61280
|
__proto__: null,
|
|
61046
61281
|
default: FormDesign
|
|
61047
|
-
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$
|
|
61282
|
+
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
61048
61283
|
__name: "Grid",
|
|
61049
61284
|
props: {
|
|
61050
61285
|
configData: {
|
|
@@ -61090,7 +61325,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61090
61325
|
}, 8, ["model"]);
|
|
61091
61326
|
};
|
|
61092
61327
|
}
|
|
61093
|
-
}), _sfc_main$
|
|
61328
|
+
}), _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
61094
61329
|
__name: "Col",
|
|
61095
61330
|
props: {
|
|
61096
61331
|
configData: {
|
|
@@ -61182,7 +61417,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61182
61417
|
{ value: "nan2", label: "男2" }
|
|
61183
61418
|
]
|
|
61184
61419
|
}
|
|
61185
|
-
], _withScopeId$4 = (W) => (pushScopeId("data-v-b32d1433"), W = W(), popScopeId(), W), _hoisted_1$
|
|
61420
|
+
], _withScopeId$4 = (W) => (pushScopeId("data-v-b32d1433"), W = W(), popScopeId(), W), _hoisted_1$g = { class: "table-column-setting" }, _hoisted_2$8 = { class: "left" }, _hoisted_3$7 = { class: "left-content" }, _hoisted_4$6 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_5$6 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_6$6 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_7$4 = { class: "treeItem" }, _hoisted_8$4 = { class: "title" }, _hoisted_9$4 = { class: "right" }, _hoisted_10$4 = { class: "right-content" }, _hoisted_11$4 = { key: 0 }, _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
61186
61421
|
__name: "TableColumn",
|
|
61187
61422
|
props: {
|
|
61188
61423
|
configData: {
|
|
@@ -61391,9 +61626,9 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61391
61626
|
onOk: Ce
|
|
61392
61627
|
}, {
|
|
61393
61628
|
default: withCtx(() => [
|
|
61394
|
-
createElementVNode("div", _hoisted_1$
|
|
61395
|
-
createElementVNode("div", _hoisted_2$
|
|
61396
|
-
createElementVNode("div", _hoisted_3$
|
|
61629
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
61630
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
61631
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
61397
61632
|
createVNode(Le, {
|
|
61398
61633
|
style: { "margin-bottom": "10px" },
|
|
61399
61634
|
type: "primary",
|
|
@@ -61584,10 +61819,10 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61584
61819
|
}, 8, ["open"]);
|
|
61585
61820
|
};
|
|
61586
61821
|
}
|
|
61587
|
-
}), TableColumn_vue_vue_type_style_index_0_scoped_b32d1433_lang = "", TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
61822
|
+
}), TableColumn_vue_vue_type_style_index_0_scoped_b32d1433_lang = "", TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-b32d1433"]]), TableColumn$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61588
61823
|
__proto__: null,
|
|
61589
61824
|
default: TableColumn
|
|
61590
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$
|
|
61825
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$f = { key: 0 }, _hoisted_2$7 = { key: 1 }, _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
61591
61826
|
__name: "Table",
|
|
61592
61827
|
props: {
|
|
61593
61828
|
configData: {
|
|
@@ -61687,7 +61922,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61687
61922
|
]),
|
|
61688
61923
|
_: 1
|
|
61689
61924
|
}),
|
|
61690
|
-
W.configData.options.showAction ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
61925
|
+
W.configData.options.showAction ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
61691
61926
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(W.configData.action, (pe, ve) => (openBlock(), createBlock(he, { style: { "padding-bottom": "5px" } }, {
|
|
61692
61927
|
default: withCtx(() => [
|
|
61693
61928
|
createVNode(ue, { span: 9 }, {
|
|
@@ -61755,7 +61990,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61755
61990
|
]),
|
|
61756
61991
|
_: 1
|
|
61757
61992
|
}),
|
|
61758
|
-
W.configData.options.pagination ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
61993
|
+
W.configData.options.pagination ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
61759
61994
|
createVNode(ae, { label: "每页显示数目" }, {
|
|
61760
61995
|
default: withCtx(() => [
|
|
61761
61996
|
createVNode(ge, {
|
|
@@ -61795,7 +62030,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61795
62030
|
], 64);
|
|
61796
62031
|
};
|
|
61797
62032
|
}
|
|
61798
|
-
}), _withScopeId$3 = (W) => (pushScopeId("data-v-12ada039"), W = W(), popScopeId(), W), _hoisted_1$
|
|
62033
|
+
}), _withScopeId$3 = (W) => (pushScopeId("data-v-12ada039"), W = W(), popScopeId(), W), _hoisted_1$e = { style: { height: "40px" } }, _hoisted_2$6 = { style: { float: "right" } }, _hoisted_3$6 = { style: { height: "500px" } }, _hoisted_4$5 = { style: { width: "20%", height: "100%", border: "1px solid #e4e7ed", float: "left" } }, _hoisted_5$5 = ["onClick"], _hoisted_6$5 = { style: { color: "#67c23a", width: "30px", display: "inline-block" } }, _hoisted_7$3 = { style: { width: "80%", height: "100%", float: "left" } }, _hoisted_8$3 = { class: "content" }, _hoisted_9$3 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { style: { color: "blue", "font-size": "12px" } }, "// 默认直接返回响应数据 res,可以在下方对数据进行处理 (res) => { ", -1)), _hoisted_10$3 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_11$3 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { style: { color: "blue", "font-size": "12px" } }, " }", -1)), _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
61799
62034
|
__name: "DataSource",
|
|
61800
62035
|
setup(W) {
|
|
61801
62036
|
ref({ ywh: "22", hell0: "rere" });
|
|
@@ -61832,7 +62067,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61832
62067
|
return (ee, te) => {
|
|
61833
62068
|
const ne = resolveComponent("a-button"), ie = resolveComponent("a-input"), oe = resolveComponent("a-form-item"), re = resolveComponent("a-textarea"), se = resolveComponent("a-radio-button"), ae = resolveComponent("a-radio-group"), le = resolveComponent("a-form");
|
|
61834
62069
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
61835
|
-
createElementVNode("div", _hoisted_1$
|
|
62070
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
61836
62071
|
createVNode(ne, {
|
|
61837
62072
|
type: "link",
|
|
61838
62073
|
primary: "",
|
|
@@ -61846,7 +62081,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61846
62081
|
]),
|
|
61847
62082
|
_: 1
|
|
61848
62083
|
}),
|
|
61849
|
-
createElementVNode("div", _hoisted_2$
|
|
62084
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
61850
62085
|
createVNode(ne, { type: "primary" }, {
|
|
61851
62086
|
default: withCtx(() => [
|
|
61852
62087
|
createTextVNode("保存")
|
|
@@ -61861,7 +62096,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
61861
62096
|
})
|
|
61862
62097
|
])
|
|
61863
62098
|
]),
|
|
61864
|
-
createElementVNode("div", _hoisted_3$
|
|
62099
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
61865
62100
|
createElementVNode("div", _hoisted_4$5, [
|
|
61866
62101
|
createElementVNode("ul", null, [
|
|
61867
62102
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(U), (ce, de) => (openBlock(), createElementBlock("li", {
|
|
@@ -62002,7 +62237,7 @@ const _hoisted_1$i = { style: { "text-align": "left" } }, _hoisted_2$a = { class
|
|
|
62002
62237
|
], 64);
|
|
62003
62238
|
};
|
|
62004
62239
|
}
|
|
62005
|
-
}), DataSource_vue_vue_type_style_index_0_scoped_12ada039_lang = "", DataSource$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
62240
|
+
}), DataSource_vue_vue_type_style_index_0_scoped_12ada039_lang = "", DataSource$1 = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-12ada039"]]), DataSource$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62006
62241
|
__proto__: null,
|
|
62007
62242
|
default: DataSource$1
|
|
62008
62243
|
}, Symbol.toStringTag, { value: "Module" })), editorProps = {
|
|
@@ -112741,7 +112976,7 @@ function createMatches(W) {
|
|
|
112741
112976
|
return C;
|
|
112742
112977
|
}
|
|
112743
112978
|
const _maxLen = 128;
|
|
112744
|
-
function initTable() {
|
|
112979
|
+
function initTable$1() {
|
|
112745
112980
|
const W = [], C = [];
|
|
112746
112981
|
for (let H = 0; H <= _maxLen; H++)
|
|
112747
112982
|
C[H] = 0;
|
|
@@ -112755,7 +112990,7 @@ function initArr(W) {
|
|
|
112755
112990
|
C[H] = 0;
|
|
112756
112991
|
return C;
|
|
112757
112992
|
}
|
|
112758
|
-
const _minWordMatchPos = initArr(2 * _maxLen), _maxWordMatchPos = initArr(2 * _maxLen), _diag = initTable(), _table = initTable(), _arrows = initTable();
|
|
112993
|
+
const _minWordMatchPos = initArr(2 * _maxLen), _maxWordMatchPos = initArr(2 * _maxLen), _diag = initTable$1(), _table = initTable$1(), _arrows = initTable$1();
|
|
112759
112994
|
function isSeparatorAtPos(W, C) {
|
|
112760
112995
|
if (C < 0 || C >= W.length)
|
|
112761
112996
|
return !1;
|
|
@@ -134315,37 +134550,37 @@ registerLanguage({
|
|
|
134315
134550
|
id: "freemarker2",
|
|
134316
134551
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
134317
134552
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
134318
|
-
loader: () => import("./freemarker2-
|
|
134553
|
+
loader: () => import("./freemarker2-ae8021d4.js").then((W) => W.TagAutoInterpolationDollar)
|
|
134319
134554
|
});
|
|
134320
134555
|
registerLanguage({
|
|
134321
134556
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
134322
134557
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
134323
|
-
loader: () => import("./freemarker2-
|
|
134558
|
+
loader: () => import("./freemarker2-ae8021d4.js").then((W) => W.TagAngleInterpolationDollar)
|
|
134324
134559
|
});
|
|
134325
134560
|
registerLanguage({
|
|
134326
134561
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
134327
134562
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
134328
|
-
loader: () => import("./freemarker2-
|
|
134563
|
+
loader: () => import("./freemarker2-ae8021d4.js").then((W) => W.TagBracketInterpolationDollar)
|
|
134329
134564
|
});
|
|
134330
134565
|
registerLanguage({
|
|
134331
134566
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
134332
134567
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
134333
|
-
loader: () => import("./freemarker2-
|
|
134568
|
+
loader: () => import("./freemarker2-ae8021d4.js").then((W) => W.TagAngleInterpolationBracket)
|
|
134334
134569
|
});
|
|
134335
134570
|
registerLanguage({
|
|
134336
134571
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
134337
134572
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
134338
|
-
loader: () => import("./freemarker2-
|
|
134573
|
+
loader: () => import("./freemarker2-ae8021d4.js").then((W) => W.TagBracketInterpolationBracket)
|
|
134339
134574
|
});
|
|
134340
134575
|
registerLanguage({
|
|
134341
134576
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
134342
134577
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
134343
|
-
loader: () => import("./freemarker2-
|
|
134578
|
+
loader: () => import("./freemarker2-ae8021d4.js").then((W) => W.TagAutoInterpolationDollar)
|
|
134344
134579
|
});
|
|
134345
134580
|
registerLanguage({
|
|
134346
134581
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
134347
134582
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
134348
|
-
loader: () => import("./freemarker2-
|
|
134583
|
+
loader: () => import("./freemarker2-ae8021d4.js").then((W) => W.TagAutoInterpolationBracket)
|
|
134349
134584
|
});
|
|
134350
134585
|
/*!-----------------------------------------------------------------------------
|
|
134351
134586
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -134383,7 +134618,7 @@ registerLanguage({
|
|
|
134383
134618
|
extensions: [".handlebars", ".hbs"],
|
|
134384
134619
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
134385
134620
|
mimetypes: ["text/x-handlebars-template"],
|
|
134386
|
-
loader: () => import("./handlebars-
|
|
134621
|
+
loader: () => import("./handlebars-ad5b899c.js")
|
|
134387
134622
|
});
|
|
134388
134623
|
/*!-----------------------------------------------------------------------------
|
|
134389
134624
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -134408,7 +134643,7 @@ registerLanguage({
|
|
|
134408
134643
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
134409
134644
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
134410
134645
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
134411
|
-
loader: () => import("./html-
|
|
134646
|
+
loader: () => import("./html-01325e05.js")
|
|
134412
134647
|
});
|
|
134413
134648
|
/*!-----------------------------------------------------------------------------
|
|
134414
134649
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -134449,7 +134684,7 @@ registerLanguage({
|
|
|
134449
134684
|
filenames: ["jakefile"],
|
|
134450
134685
|
aliases: ["JavaScript", "javascript", "js"],
|
|
134451
134686
|
mimetypes: ["text/javascript"],
|
|
134452
|
-
loader: () => import("./javascript-
|
|
134687
|
+
loader: () => import("./javascript-541f1ffb.js")
|
|
134453
134688
|
});
|
|
134454
134689
|
/*!-----------------------------------------------------------------------------
|
|
134455
134690
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -134524,7 +134759,7 @@ registerLanguage({
|
|
|
134524
134759
|
extensions: [".liquid", ".html.liquid"],
|
|
134525
134760
|
aliases: ["Liquid", "liquid"],
|
|
134526
134761
|
mimetypes: ["application/liquid"],
|
|
134527
|
-
loader: () => import("./liquid-
|
|
134762
|
+
loader: () => import("./liquid-2e88c29d.js")
|
|
134528
134763
|
});
|
|
134529
134764
|
/*!-----------------------------------------------------------------------------
|
|
134530
134765
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -134560,7 +134795,7 @@ registerLanguage({
|
|
|
134560
134795
|
id: "mdx",
|
|
134561
134796
|
extensions: [".mdx"],
|
|
134562
134797
|
aliases: ["MDX", "mdx"],
|
|
134563
|
-
loader: () => import("./mdx-
|
|
134798
|
+
loader: () => import("./mdx-0d0961a8.js")
|
|
134564
134799
|
});
|
|
134565
134800
|
/*!-----------------------------------------------------------------------------
|
|
134566
134801
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -134755,7 +134990,7 @@ registerLanguage({
|
|
|
134755
134990
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
134756
134991
|
aliases: ["Python", "py"],
|
|
134757
134992
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
134758
|
-
loader: () => import("./python-
|
|
134993
|
+
loader: () => import("./python-86cddec0.js")
|
|
134759
134994
|
});
|
|
134760
134995
|
/*!-----------------------------------------------------------------------------
|
|
134761
134996
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -134792,7 +135027,7 @@ registerLanguage({
|
|
|
134792
135027
|
extensions: [".cshtml"],
|
|
134793
135028
|
aliases: ["Razor", "razor"],
|
|
134794
135029
|
mimetypes: ["text/x-cshtml"],
|
|
134795
|
-
loader: () => import("./razor-
|
|
135030
|
+
loader: () => import("./razor-6cd1a306.js")
|
|
134796
135031
|
});
|
|
134797
135032
|
/*!-----------------------------------------------------------------------------
|
|
134798
135033
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -135044,7 +135279,7 @@ registerLanguage({
|
|
|
135044
135279
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
135045
135280
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
135046
135281
|
mimetypes: ["text/typescript"],
|
|
135047
|
-
loader: () => import("./typescript-
|
|
135282
|
+
loader: () => import("./typescript-64933b1b.js")
|
|
135048
135283
|
});
|
|
135049
135284
|
/*!-----------------------------------------------------------------------------
|
|
135050
135285
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -135100,7 +135335,7 @@ registerLanguage({
|
|
|
135100
135335
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
135101
135336
|
aliases: ["XML", "xml"],
|
|
135102
135337
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
135103
|
-
loader: () => import("./xml-
|
|
135338
|
+
loader: () => import("./xml-6f4e791b.js")
|
|
135104
135339
|
});
|
|
135105
135340
|
/*!-----------------------------------------------------------------------------
|
|
135106
135341
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -135113,7 +135348,7 @@ registerLanguage({
|
|
|
135113
135348
|
extensions: [".yaml", ".yml"],
|
|
135114
135349
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
135115
135350
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
135116
|
-
loader: () => import("./yaml-
|
|
135351
|
+
loader: () => import("./yaml-3770bcd0.js")
|
|
135117
135352
|
});
|
|
135118
135353
|
/*!-----------------------------------------------------------------------------
|
|
135119
135354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -135208,7 +135443,7 @@ var LanguageServiceDefaultsImpl$3 = class {
|
|
|
135208
135443
|
}, cssDefaults = new LanguageServiceDefaultsImpl$3("css", optionsDefault$1, modeConfigurationDefault$2), scssDefaults = new LanguageServiceDefaultsImpl$3("scss", optionsDefault$1, modeConfigurationDefault$2), lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, modeConfigurationDefault$2);
|
|
135209
135444
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
135210
135445
|
function getMode$3() {
|
|
135211
|
-
return import("./cssMode-
|
|
135446
|
+
return import("./cssMode-07efef6b.js");
|
|
135212
135447
|
}
|
|
135213
135448
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
135214
135449
|
getMode$3().then((W) => W.setupMode(lessDefaults));
|
|
@@ -135303,7 +135538,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
135303
135538
|
registerHTMLLanguageService
|
|
135304
135539
|
};
|
|
135305
135540
|
function getMode$2() {
|
|
135306
|
-
return import("./htmlMode-
|
|
135541
|
+
return import("./htmlMode-df29c948.js");
|
|
135307
135542
|
}
|
|
135308
135543
|
function registerHTMLLanguageService(W, C = optionsDefault, H = getConfigurationDefault(W)) {
|
|
135309
135544
|
const K = new LanguageServiceDefaultsImpl$2(W, C, H);
|
|
@@ -135380,7 +135615,7 @@ var LanguageServiceDefaultsImpl$1 = class {
|
|
|
135380
135615
|
}, jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault, modeConfigurationDefault$1);
|
|
135381
135616
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
135382
135617
|
function getMode$1() {
|
|
135383
|
-
return import("./jsonMode-
|
|
135618
|
+
return import("./jsonMode-d89a3963.js");
|
|
135384
135619
|
}
|
|
135385
135620
|
monaco_editor_core_exports$1.languages.register({
|
|
135386
135621
|
id: "json",
|
|
@@ -135543,7 +135778,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
135543
135778
|
getJavaScriptWorker
|
|
135544
135779
|
};
|
|
135545
135780
|
function getMode() {
|
|
135546
|
-
return import("./tsMode-
|
|
135781
|
+
return import("./tsMode-a56e79a1.js");
|
|
135547
135782
|
}
|
|
135548
135783
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => getMode().then((W) => W.setupTypeScript(typescriptDefaults)));
|
|
135549
135784
|
monaco_editor_core_exports.languages.onLanguage("javascript", () => getMode().then((W) => W.setupJavaScript(javascriptDefaults)));
|
|
@@ -168824,7 +169059,7 @@ function WorkerWrapper$1() {
|
|
|
168824
169059
|
function WorkerWrapper() {
|
|
168825
169060
|
return new Worker("" + new URL("assets/editor.worker-94ffd778.js", import.meta.url).href);
|
|
168826
169061
|
}
|
|
168827
|
-
const _sfc_main$
|
|
169062
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
168828
169063
|
__name: "monacoEditor",
|
|
168829
169064
|
props: { ...editorProps },
|
|
168830
169065
|
emits: ["update:modelValue", "change", "editor-mounted"],
|
|
@@ -168878,16 +169113,16 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
168878
169113
|
class: "codeEditBox"
|
|
168879
169114
|
}, null, 512));
|
|
168880
169115
|
}
|
|
168881
|
-
}), monacoEditor_vue_vue_type_style_index_0_scoped_5c90f38f_lang = "", monacoEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
169116
|
+
}), monacoEditor_vue_vue_type_style_index_0_scoped_5c90f38f_lang = "", monacoEditor = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-5c90f38f"]]), monacoEditor$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
168882
169117
|
__proto__: null,
|
|
168883
169118
|
default: monacoEditor
|
|
168884
|
-
}, Symbol.toStringTag, { value: "Module" })), _withScopeId$2 = (W) => (pushScopeId("data-v-f4353c64"), W = W(), popScopeId(), W), _hoisted_1$
|
|
169119
|
+
}, Symbol.toStringTag, { value: "Module" })), _withScopeId$2 = (W) => (pushScopeId("data-v-f4353c64"), W = W(), popScopeId(), W), _hoisted_1$d = { style: { height: "40px" } }, _hoisted_2$5 = { style: { float: "right" } }, _hoisted_3$5 = { style: { height: "500px", width: "100%" } }, _hoisted_4$4 = { style: { width: "300px", height: "100%", border: "1px solid #e4e7ed", float: "left", overflow: "auto" } }, _hoisted_5$4 = ["onClick"], _hoisted_6$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { style: { color: "#67c23a" } }, "Function", -1)), _hoisted_7$2 = ["onClick"], _hoisted_8$2 = {
|
|
168885
169120
|
key: 0,
|
|
168886
169121
|
style: { width: "calc(100% - 310px)", height: "100%", float: "left" }
|
|
168887
169122
|
}, _hoisted_9$2 = { class: "content" }, _hoisted_10$2 = { key: 0 }, _hoisted_11$2 = { style: { color: "blue" } }, _hoisted_12$2 = {
|
|
168888
169123
|
key: 1,
|
|
168889
169124
|
style: { color: "blue", "font-size": "12px" }
|
|
168890
|
-
}, _sfc_main$
|
|
169125
|
+
}, _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
168891
169126
|
__name: "TypeScript",
|
|
168892
169127
|
setup(W) {
|
|
168893
169128
|
const C = useFormStore();
|
|
@@ -168924,7 +169159,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
168924
169159
|
return (ee, te) => {
|
|
168925
169160
|
const ne = resolveComponent("a-button"), ie = resolveComponent("a-input"), oe = resolveComponent("a-form-item"), re = resolveComponent("a-switch"), se = resolveComponent("a-form");
|
|
168926
169161
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
168927
|
-
createElementVNode("div", _hoisted_1$
|
|
169162
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
168928
169163
|
createVNode(ne, {
|
|
168929
169164
|
type: "link",
|
|
168930
169165
|
primary: "",
|
|
@@ -168938,7 +169173,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
168938
169173
|
]),
|
|
168939
169174
|
_: 1
|
|
168940
169175
|
}),
|
|
168941
|
-
createElementVNode("div", _hoisted_2$
|
|
169176
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
168942
169177
|
createVNode(ne, {
|
|
168943
169178
|
type: "primary",
|
|
168944
169179
|
onClick: Q
|
|
@@ -168950,7 +169185,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
168950
169185
|
})
|
|
168951
169186
|
])
|
|
168952
169187
|
]),
|
|
168953
|
-
createElementVNode("div", _hoisted_3$
|
|
169188
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
168954
169189
|
createElementVNode("div", _hoisted_4$4, [
|
|
168955
169190
|
createElementVNode("ul", null, [
|
|
168956
169191
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(U), (ae, le) => (openBlock(), createElementBlock("li", {
|
|
@@ -169037,10 +169272,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
169037
169272
|
], 64);
|
|
169038
169273
|
};
|
|
169039
169274
|
}
|
|
169040
|
-
}), TypeScript_vue_vue_type_style_index_0_scoped_f4353c64_lang = "", TypeScript = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
169275
|
+
}), TypeScript_vue_vue_type_style_index_0_scoped_f4353c64_lang = "", TypeScript = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-f4353c64"]]), TypeScript$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
169041
169276
|
__proto__: null,
|
|
169042
169277
|
default: TypeScript
|
|
169043
|
-
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$
|
|
169278
|
+
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
169044
169279
|
__name: "Form",
|
|
169045
169280
|
setup(W) {
|
|
169046
169281
|
const C = useFormStore(), H = ref(!1), K = ref(""), U = ref("");
|
|
@@ -169112,7 +169347,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
169112
169347
|
], 64);
|
|
169113
169348
|
};
|
|
169114
169349
|
}
|
|
169115
|
-
}), _sfc_main$
|
|
169350
|
+
}), _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
169116
169351
|
__name: "Tabs",
|
|
169117
169352
|
props: {
|
|
169118
169353
|
configData: {
|
|
@@ -169198,153 +169433,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
169198
169433
|
});
|
|
169199
169434
|
};
|
|
169200
169435
|
}
|
|
169201
|
-
}), Tabs_vue_vue_type_style_index_0_scoped_7e605405_lang = "", CTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
169436
|
+
}), Tabs_vue_vue_type_style_index_0_scoped_7e605405_lang = "", CTabs = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-7e605405"]]), Tabs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
169202
169437
|
__proto__: null,
|
|
169203
169438
|
default: CTabs
|
|
169204
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
169205
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
169206
|
-
{ title: "样式", bind: "classname", type: "dic", placeholder: "", code: "class" },
|
|
169207
|
-
{
|
|
169208
|
-
title: "位置",
|
|
169209
|
-
bind: "align",
|
|
169210
|
-
type: "radiogroup",
|
|
169211
|
-
children: [
|
|
169212
|
-
{ title: "居左", value: "left" },
|
|
169213
|
-
{ title: "居中", value: "center" },
|
|
169214
|
-
{ title: "居右", value: "right" }
|
|
169215
|
-
]
|
|
169216
|
-
}
|
|
169217
|
-
// { title: '大小', bind: 'font', type: 'inputnumber', placeholder: '' },
|
|
169218
|
-
// { title: '颜色', bind: 'color', type: 'input', placeholder: '' }
|
|
169219
|
-
// { title: '其它扩展', bind: 'extended', type: 'textarea', placeholder: '', rows: '5' }
|
|
169220
|
-
], labelProperties = [
|
|
169221
|
-
// { title: '标题', bind: 'name', type: 'input', placeholder: '' },
|
|
169222
|
-
{ title: "标题", bind: "name", type: "textarea", placeholder: "", rows: 3, required: !0 },
|
|
169223
|
-
{ title: "是否必填", bind: "required", type: "switch", placeholder: "" },
|
|
169224
|
-
{ title: "大小", bind: "font", type: "inputnumber", placeholder: "", min: 10, max: 80 },
|
|
169225
|
-
{ title: "颜色", bind: "color", type: "input", placeholder: "" },
|
|
169226
|
-
{
|
|
169227
|
-
title: "位置",
|
|
169228
|
-
bind: "align",
|
|
169229
|
-
type: "radiogroup",
|
|
169230
|
-
children: [
|
|
169231
|
-
{ title: "居左", value: "left" },
|
|
169232
|
-
{ title: "居中", value: "center" },
|
|
169233
|
-
{ title: "居右", value: "right" }
|
|
169234
|
-
]
|
|
169235
|
-
},
|
|
169236
|
-
{ title: "样式扩展", bind: "cssextended", type: "textarea", placeholder: "", rows: 3 }
|
|
169237
|
-
], titleProperties = [
|
|
169238
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 }
|
|
169239
|
-
], baseProperties$1 = [
|
|
169240
|
-
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
169241
|
-
//tags[允许输入]/multiple[多选]
|
|
169242
|
-
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
169243
|
-
//tags[允许输入]/multiple[多选]
|
|
169244
|
-
{ title: "默认值", bind: "defaultValue", type: "input", placeholder: "" },
|
|
169245
|
-
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
169246
|
-
// { title: '只读', bind: 'disabled', type: 'switch', placeholder: '' },
|
|
169247
|
-
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "pro" }
|
|
169248
|
-
//simple为简单模式pro为全模式
|
|
169249
|
-
], extendProperties$1 = [
|
|
169250
|
-
{ title: "其它扩展", bind: "extended", type: "textarea", placeholder: "", rows: 3 }
|
|
169251
|
-
], selectProperties = [
|
|
169252
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
169253
|
-
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
169254
|
-
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
169255
|
-
//tags[允许输入]/multiple[多选]
|
|
169256
|
-
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
169257
|
-
//tags[允许输入]/multiple[多选]
|
|
169258
|
-
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
169259
|
-
{ title: "允许多选", bind: "multiple", type: "switch", placeholder: "" },
|
|
169260
|
-
// { title: '数据绑定', bind: 'model', type: 'data', placeholder: '' },
|
|
169261
|
-
// { title: '是否必填', bind: 'required', type: 'switch', placeholder: '' },
|
|
169262
|
-
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" },
|
|
169263
|
-
//simple 为简单模式 pro 为全模式
|
|
169264
|
-
// { title: '字典', bind: 'dic', type: 'dicall', placeholder: '' },
|
|
169265
|
-
{ title: "字典选项", bind: "dictType", type: "dicall", placeholder: "" },
|
|
169266
|
-
...extendProperties$1
|
|
169267
|
-
// { title: '样式扩展', bind: 'cssextended', type: 'textarea', placeholder: '' },
|
|
169268
|
-
], btnProperties = [
|
|
169269
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !1 },
|
|
169270
|
-
{ title: "图标", bind: "beforeIcon", type: "iconselect", placeholder: "" },
|
|
169271
|
-
{ title: "按钮类型", bind: "buttonType", type: "buttonType", placeholder: "" },
|
|
169272
|
-
...baseProperties$1,
|
|
169273
|
-
...extendProperties$1
|
|
169274
|
-
], radioProperties = [
|
|
169275
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
169276
|
-
{ title: "选项", bind: "defaultValue", type: "radio", placeholder: "" },
|
|
169277
|
-
...baseProperties$1
|
|
169278
|
-
], checkProperties = [
|
|
169279
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
169280
|
-
// { title: '标题', bind: 'name', type: 'input', placeholder: '', required: true },
|
|
169281
|
-
// { title: '宽度', bind: 'width', type: 'input', placeholder: '' },
|
|
169282
|
-
// { title: '数据绑定', bind: 'model', type: 'data', placeholder: '', required: true, mode: "tags" },//tags[允许输入]/multiple[多选]
|
|
169283
|
-
{ title: "选项", bind: "defaultValue", type: "checkbox", placeholder: "" },
|
|
169284
|
-
...baseProperties$1
|
|
169285
|
-
], inputProperties = [
|
|
169286
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
169287
|
-
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
169288
|
-
...baseProperties$1,
|
|
169289
|
-
{ title: "操作属性", type: "czsx" },
|
|
169290
|
-
{ title: "前缀", bind: "prefix", type: "input", placeholder: "" },
|
|
169291
|
-
{ title: "后缀", bind: "suffix", type: "input", placeholder: "" },
|
|
169292
|
-
...extendProperties$1
|
|
169293
|
-
], textareaProperties = [
|
|
169294
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
169295
|
-
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
169296
|
-
...baseProperties$1,
|
|
169297
|
-
{ title: "行数", bind: "rows", type: "inputnumber", placeholder: "", min: 1, max: 10 },
|
|
169298
|
-
...extendProperties$1
|
|
169299
|
-
], treeSelectProperties = [
|
|
169300
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
169301
|
-
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
169302
|
-
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
169303
|
-
//tags[允许输入]/multiple[多选]
|
|
169304
|
-
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
169305
|
-
//tags[允许输入]/multiple[多选]
|
|
169306
|
-
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
169307
|
-
{ title: "允许多选", bind: "multiple", type: "switch", placeholder: "" },
|
|
169308
|
-
{ title: "数据来源", bind: "treedic", type: "treedic", placeholder: "", required: !0 },
|
|
169309
|
-
// { title: '默认值', bind: 'defaultValue', type: 'treeselect', placeholder: '' },
|
|
169310
|
-
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" }
|
|
169311
|
-
//simple 为简单模式 pro 为全模式
|
|
169312
|
-
], cascaderProperties = [
|
|
169313
|
-
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
169314
|
-
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
169315
|
-
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
169316
|
-
//tags[允许输入]/multiple[多选]
|
|
169317
|
-
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
169318
|
-
//tags[允许输入]/multiple[多选]
|
|
169319
|
-
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
169320
|
-
{ title: "数据来源", bind: "casdic", type: "casdic", placeholder: "", required: !0 },
|
|
169321
|
-
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" }
|
|
169322
|
-
//simple 为简单模式 pro 为全模式
|
|
169323
|
-
], tableSelectProperties = [
|
|
169324
|
-
...titleProperties,
|
|
169325
|
-
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
169326
|
-
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
169327
|
-
//tags[允许输入]/multiple[多选]
|
|
169328
|
-
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
169329
|
-
//tags[允许输入]/multiple[多选]
|
|
169330
|
-
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
169331
|
-
{ title: "下拉表格宽度", bind: "dropMenuWidth", type: "input", placeholder: "" },
|
|
169332
|
-
{ title: "允许多选", bind: "multiple", type: "switch", placeholder: "" },
|
|
169333
|
-
{ title: "数据来源", bind: "tableSource", type: "tableSource", placeholder: "", required: !0 },
|
|
169334
|
-
{ title: "字段绑定", bind: "tableKeyName", type: "tableKeyName", placeholder: "", required: !0 },
|
|
169335
|
-
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" },
|
|
169336
|
-
//simple 为简单模式 pro 为全模式
|
|
169337
|
-
...extendProperties$1
|
|
169338
|
-
], dateProperties = [
|
|
169339
|
-
...titleProperties,
|
|
169340
|
-
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
169341
|
-
...baseProperties$1,
|
|
169342
|
-
...extendProperties$1
|
|
169343
|
-
], childFormProperties = [
|
|
169344
|
-
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
169345
|
-
{ title: "页面地址", bind: "filePath", type: "input", placeholder: "", required: !0 },
|
|
169346
|
-
...extendProperties$1
|
|
169347
|
-
], treeDicts = [
|
|
169439
|
+
}, Symbol.toStringTag, { value: "Module" })), treeDicts = [
|
|
169348
169440
|
{
|
|
169349
169441
|
label: "笔记本",
|
|
169350
169442
|
value: "noteBook",
|
|
@@ -184833,7 +184925,260 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
184833
184925
|
}, getTableDictItemByPath = (W) => {
|
|
184834
184926
|
let C = tableDicts.find((H) => H.filePath == W);
|
|
184835
184927
|
return C ? C.options : [];
|
|
184836
|
-
}, getRuleList = () => [{ value: "string", label: "字符串" }, { value: "email", label: "邮箱地址" }],
|
|
184928
|
+
}, getRuleList = () => [{ value: "string", label: "字符串" }, { value: "email", label: "邮箱地址" }], _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
184929
|
+
__name: "Collapse",
|
|
184930
|
+
props: {
|
|
184931
|
+
configData: {
|
|
184932
|
+
type: Object,
|
|
184933
|
+
default: {}
|
|
184934
|
+
}
|
|
184935
|
+
},
|
|
184936
|
+
setup(W) {
|
|
184937
|
+
return ref(""), (C, H) => {
|
|
184938
|
+
const K = resolveComponent("a-input"), U = resolveComponent("a-form-item"), G = resolveComponent("a-select-option"), X = resolveComponent("a-select"), Q = resolveComponent("a-radio-button"), Z = resolveComponent("a-radio-group"), ee = resolveComponent("a-switch"), te = resolveComponent("a-form");
|
|
184939
|
+
return openBlock(), createBlock(te, {
|
|
184940
|
+
class: "collapse-properties",
|
|
184941
|
+
layout: "vertical",
|
|
184942
|
+
autocomplete: "off"
|
|
184943
|
+
}, {
|
|
184944
|
+
default: withCtx(() => [
|
|
184945
|
+
createVNode(U, { label: "宽度" }, {
|
|
184946
|
+
default: withCtx(() => [
|
|
184947
|
+
createVNode(K, {
|
|
184948
|
+
value: W.configData.width,
|
|
184949
|
+
"onUpdate:value": H[0] || (H[0] = (ne) => W.configData.width = ne)
|
|
184950
|
+
}, null, 8, ["value"])
|
|
184951
|
+
]),
|
|
184952
|
+
_: 1
|
|
184953
|
+
}),
|
|
184954
|
+
createVNode(U, { label: "标题" }, {
|
|
184955
|
+
default: withCtx(() => [
|
|
184956
|
+
createVNode(K, {
|
|
184957
|
+
value: W.configData.header,
|
|
184958
|
+
"onUpdate:value": H[1] || (H[1] = (ne) => W.configData.header = ne)
|
|
184959
|
+
}, null, 8, ["value"])
|
|
184960
|
+
]),
|
|
184961
|
+
_: 1
|
|
184962
|
+
}),
|
|
184963
|
+
createVNode(U, { label: "样式" }, {
|
|
184964
|
+
default: withCtx(() => [
|
|
184965
|
+
createVNode(X, {
|
|
184966
|
+
value: W.configData.classname,
|
|
184967
|
+
"onUpdate:value": H[2] || (H[2] = (ne) => W.configData.classname = ne)
|
|
184968
|
+
}, {
|
|
184969
|
+
default: withCtx(() => [
|
|
184970
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(getDictItemsByCode)("class"), (ne, ie) => (openBlock(), createBlock(G, {
|
|
184971
|
+
value: ne.value
|
|
184972
|
+
}, {
|
|
184973
|
+
default: withCtx(() => [
|
|
184974
|
+
createTextVNode(" 样式" + toDisplayString(ie + 1), 1)
|
|
184975
|
+
]),
|
|
184976
|
+
_: 2
|
|
184977
|
+
}, 1032, ["value"]))), 256))
|
|
184978
|
+
]),
|
|
184979
|
+
_: 1
|
|
184980
|
+
}, 8, ["value"])
|
|
184981
|
+
]),
|
|
184982
|
+
_: 1
|
|
184983
|
+
}),
|
|
184984
|
+
createVNode(U, { label: "触发折叠方式" }, {
|
|
184985
|
+
default: withCtx(() => [
|
|
184986
|
+
createVNode(Z, {
|
|
184987
|
+
value: W.configData.collapseType,
|
|
184988
|
+
"onUpdate:value": H[3] || (H[3] = (ne) => W.configData.collapseType = ne)
|
|
184989
|
+
}, {
|
|
184990
|
+
default: withCtx(() => [
|
|
184991
|
+
createVNode(Q, { value: "row" }, {
|
|
184992
|
+
default: withCtx(() => [
|
|
184993
|
+
createTextVNode("默认")
|
|
184994
|
+
]),
|
|
184995
|
+
_: 1
|
|
184996
|
+
}),
|
|
184997
|
+
createVNode(Q, { value: "icon" }, {
|
|
184998
|
+
default: withCtx(() => [
|
|
184999
|
+
createTextVNode("按钮")
|
|
185000
|
+
]),
|
|
185001
|
+
_: 1
|
|
185002
|
+
}),
|
|
185003
|
+
createVNode(Q, { value: "header" }, {
|
|
185004
|
+
default: withCtx(() => [
|
|
185005
|
+
createTextVNode("标题")
|
|
185006
|
+
]),
|
|
185007
|
+
_: 1
|
|
185008
|
+
})
|
|
185009
|
+
]),
|
|
185010
|
+
_: 1
|
|
185011
|
+
}, 8, ["value"])
|
|
185012
|
+
]),
|
|
185013
|
+
_: 1
|
|
185014
|
+
}),
|
|
185015
|
+
createVNode(U, { label: "是否默认折叠" }, {
|
|
185016
|
+
default: withCtx(() => [
|
|
185017
|
+
createVNode(ee, {
|
|
185018
|
+
checked: W.configData.defaultCollapse,
|
|
185019
|
+
"onUpdate:checked": H[4] || (H[4] = (ne) => W.configData.defaultCollapse = ne)
|
|
185020
|
+
}, null, 8, ["checked"])
|
|
185021
|
+
]),
|
|
185022
|
+
_: 1
|
|
185023
|
+
}),
|
|
185024
|
+
createVNode(U, { label: "是否显示箭头" }, {
|
|
185025
|
+
default: withCtx(() => [
|
|
185026
|
+
createVNode(ee, {
|
|
185027
|
+
checked: W.configData.showArrow,
|
|
185028
|
+
"onUpdate:checked": H[5] || (H[5] = (ne) => W.configData.showArrow = ne)
|
|
185029
|
+
}, null, 8, ["checked"])
|
|
185030
|
+
]),
|
|
185031
|
+
_: 1
|
|
185032
|
+
})
|
|
185033
|
+
]),
|
|
185034
|
+
_: 1
|
|
185035
|
+
});
|
|
185036
|
+
};
|
|
185037
|
+
}
|
|
185038
|
+
}), headerProperties = [
|
|
185039
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
185040
|
+
{ title: "样式", bind: "classname", type: "dic", placeholder: "", code: "class" },
|
|
185041
|
+
{
|
|
185042
|
+
title: "位置",
|
|
185043
|
+
bind: "align",
|
|
185044
|
+
type: "radiogroup",
|
|
185045
|
+
children: [
|
|
185046
|
+
{ title: "居左", value: "left" },
|
|
185047
|
+
{ title: "居中", value: "center" },
|
|
185048
|
+
{ title: "居右", value: "right" }
|
|
185049
|
+
]
|
|
185050
|
+
}
|
|
185051
|
+
// { title: '大小', bind: 'font', type: 'inputnumber', placeholder: '' },
|
|
185052
|
+
// { title: '颜色', bind: 'color', type: 'input', placeholder: '' }
|
|
185053
|
+
// { title: '其它扩展', bind: 'extended', type: 'textarea', placeholder: '', rows: '5' }
|
|
185054
|
+
], labelProperties = [
|
|
185055
|
+
// { title: '标题', bind: 'name', type: 'input', placeholder: '' },
|
|
185056
|
+
{ title: "标题", bind: "name", type: "textarea", placeholder: "", rows: 3, required: !0 },
|
|
185057
|
+
{ title: "是否必填", bind: "required", type: "switch", placeholder: "" },
|
|
185058
|
+
{ title: "大小", bind: "font", type: "inputnumber", placeholder: "", min: 10, max: 80 },
|
|
185059
|
+
{ title: "颜色", bind: "color", type: "input", placeholder: "" },
|
|
185060
|
+
{
|
|
185061
|
+
title: "位置",
|
|
185062
|
+
bind: "align",
|
|
185063
|
+
type: "radiogroup",
|
|
185064
|
+
children: [
|
|
185065
|
+
{ title: "居左", value: "left" },
|
|
185066
|
+
{ title: "居中", value: "center" },
|
|
185067
|
+
{ title: "居右", value: "right" }
|
|
185068
|
+
]
|
|
185069
|
+
},
|
|
185070
|
+
{ title: "样式扩展", bind: "cssextended", type: "textarea", placeholder: "", rows: 3 }
|
|
185071
|
+
], titleProperties = [
|
|
185072
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 }
|
|
185073
|
+
], baseProperties$1 = [
|
|
185074
|
+
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
185075
|
+
//tags[允许输入]/multiple[多选]
|
|
185076
|
+
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
185077
|
+
//tags[允许输入]/multiple[多选]
|
|
185078
|
+
{ title: "默认值", bind: "defaultValue", type: "input", placeholder: "" },
|
|
185079
|
+
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
185080
|
+
// { title: '只读', bind: 'disabled', type: 'switch', placeholder: '' },
|
|
185081
|
+
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "pro" }
|
|
185082
|
+
//simple为简单模式pro为全模式
|
|
185083
|
+
], extendProperties$1 = [
|
|
185084
|
+
{ title: "其它扩展", bind: "extended", type: "textarea", placeholder: "", rows: 3 }
|
|
185085
|
+
], selectProperties = [
|
|
185086
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
185087
|
+
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
185088
|
+
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
185089
|
+
//tags[允许输入]/multiple[多选]
|
|
185090
|
+
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
185091
|
+
//tags[允许输入]/multiple[多选]
|
|
185092
|
+
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
185093
|
+
{ title: "允许多选", bind: "multiple", type: "switch", placeholder: "" },
|
|
185094
|
+
// { title: '数据绑定', bind: 'model', type: 'data', placeholder: '' },
|
|
185095
|
+
// { title: '是否必填', bind: 'required', type: 'switch', placeholder: '' },
|
|
185096
|
+
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" },
|
|
185097
|
+
//simple 为简单模式 pro 为全模式
|
|
185098
|
+
// { title: '字典', bind: 'dic', type: 'dicall', placeholder: '' },
|
|
185099
|
+
{ title: "字典选项", bind: "dictType", type: "dicall", placeholder: "" },
|
|
185100
|
+
...extendProperties$1
|
|
185101
|
+
// { title: '样式扩展', bind: 'cssextended', type: 'textarea', placeholder: '' },
|
|
185102
|
+
], btnProperties = [
|
|
185103
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !1 },
|
|
185104
|
+
{ title: "图标", bind: "beforeIcon", type: "iconselect", placeholder: "" },
|
|
185105
|
+
{ title: "按钮类型", bind: "buttonType", type: "buttonType", placeholder: "" },
|
|
185106
|
+
...baseProperties$1,
|
|
185107
|
+
...extendProperties$1
|
|
185108
|
+
], radioProperties = [
|
|
185109
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
185110
|
+
{ title: "选项", bind: "defaultValue", type: "radio", placeholder: "" },
|
|
185111
|
+
...baseProperties$1
|
|
185112
|
+
], checkProperties = [
|
|
185113
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
185114
|
+
// { title: '标题', bind: 'name', type: 'input', placeholder: '', required: true },
|
|
185115
|
+
// { title: '宽度', bind: 'width', type: 'input', placeholder: '' },
|
|
185116
|
+
// { title: '数据绑定', bind: 'model', type: 'data', placeholder: '', required: true, mode: "tags" },//tags[允许输入]/multiple[多选]
|
|
185117
|
+
{ title: "选项", bind: "defaultValue", type: "checkbox", placeholder: "" },
|
|
185118
|
+
...baseProperties$1
|
|
185119
|
+
], inputProperties = [
|
|
185120
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
185121
|
+
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
185122
|
+
...baseProperties$1,
|
|
185123
|
+
{ title: "操作属性", type: "czsx" },
|
|
185124
|
+
{ title: "前缀", bind: "prefix", type: "input", placeholder: "" },
|
|
185125
|
+
{ title: "后缀", bind: "suffix", type: "input", placeholder: "" },
|
|
185126
|
+
...extendProperties$1
|
|
185127
|
+
], textareaProperties = [
|
|
185128
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
185129
|
+
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
185130
|
+
...baseProperties$1,
|
|
185131
|
+
{ title: "行数", bind: "rows", type: "inputnumber", placeholder: "", min: 1, max: 10 },
|
|
185132
|
+
...extendProperties$1
|
|
185133
|
+
], treeSelectProperties = [
|
|
185134
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
185135
|
+
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
185136
|
+
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
185137
|
+
//tags[允许输入]/multiple[多选]
|
|
185138
|
+
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
185139
|
+
//tags[允许输入]/multiple[多选]
|
|
185140
|
+
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
185141
|
+
{ title: "允许多选", bind: "multiple", type: "switch", placeholder: "" },
|
|
185142
|
+
{ title: "数据来源", bind: "treedic", type: "treedic", placeholder: "", required: !0 },
|
|
185143
|
+
// { title: '默认值', bind: 'defaultValue', type: 'treeselect', placeholder: '' },
|
|
185144
|
+
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" }
|
|
185145
|
+
//simple 为简单模式 pro 为全模式
|
|
185146
|
+
], cascaderProperties = [
|
|
185147
|
+
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
185148
|
+
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
185149
|
+
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
185150
|
+
//tags[允许输入]/multiple[多选]
|
|
185151
|
+
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
185152
|
+
//tags[允许输入]/multiple[多选]
|
|
185153
|
+
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
185154
|
+
{ title: "数据来源", bind: "casdic", type: "casdic", placeholder: "", required: !0 },
|
|
185155
|
+
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" }
|
|
185156
|
+
//simple 为简单模式 pro 为全模式
|
|
185157
|
+
], tableSelectProperties = [
|
|
185158
|
+
...titleProperties,
|
|
185159
|
+
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
185160
|
+
{ title: "绑定查询", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
185161
|
+
//tags[允许输入]/multiple[多选]
|
|
185162
|
+
{ title: "绑定更新", bind: "writeField", type: "dataupdate", placeholder: "", required: !0, mode: "tags" },
|
|
185163
|
+
//tags[允许输入]/multiple[多选]
|
|
185164
|
+
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
185165
|
+
{ title: "下拉表格宽度", bind: "dropMenuWidth", type: "input", placeholder: "" },
|
|
185166
|
+
{ title: "允许多选", bind: "multiple", type: "switch", placeholder: "" },
|
|
185167
|
+
{ title: "数据来源", bind: "tableSource", type: "tableSource", placeholder: "", required: !0 },
|
|
185168
|
+
{ title: "字段绑定", bind: "tableKeyName", type: "tableKeyName", placeholder: "", required: !0 },
|
|
185169
|
+
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" },
|
|
185170
|
+
//simple 为简单模式 pro 为全模式
|
|
185171
|
+
...extendProperties$1
|
|
185172
|
+
], dateProperties = [
|
|
185173
|
+
...titleProperties,
|
|
185174
|
+
{ title: "占位内容", bind: "placeholder", type: "input", placeholder: "" },
|
|
185175
|
+
...baseProperties$1,
|
|
185176
|
+
...extendProperties$1
|
|
185177
|
+
], childFormProperties = [
|
|
185178
|
+
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
185179
|
+
{ title: "页面地址", bind: "filePath", type: "input", placeholder: "", required: !0 },
|
|
185180
|
+
...extendProperties$1
|
|
185181
|
+
], baseProperties = [
|
|
184837
185182
|
{ title: "标题", bind: "name", type: "input", placeholder: "", required: !0 },
|
|
184838
185183
|
{ title: "数据绑定", bind: "model", type: "dataselect", placeholder: "", required: !0 },
|
|
184839
185184
|
//tags[允许输入]/multiple[多选]
|
|
@@ -184872,7 +185217,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
184872
185217
|
{ title: "按钮类型", bind: "buttonType", type: "buttonType", placeholder: "" },
|
|
184873
185218
|
{ title: "宽度", bind: "width", type: "input", placeholder: "" },
|
|
184874
185219
|
...extendProperties
|
|
184875
|
-
], _withScopeId$1 = (W) => (pushScopeId("data-v-
|
|
185220
|
+
], _withScopeId$1 = (W) => (pushScopeId("data-v-927e90e2"), W = W(), popScopeId(), W), _hoisted_1$c = { key: 6 }, _hoisted_2$4 = { key: 7 }, _hoisted_3$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_4$3 = { key: 8 }, _hoisted_5$3 = { key: 9 }, _hoisted_6$3 = { key: 10 }, _hoisted_7$1 = { key: 11 }, _hoisted_8$1 = { key: 12 }, _hoisted_9$1 = { key: 16 }, _hoisted_10$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { style: { color: "#1890ff" } }, "必填", -1)), _hoisted_11$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_12$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_13$1 = { key: 0 }, _hoisted_14$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_15$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_16$1 = { key: 17 }, _hoisted_17$1 = { key: 18 }, _hoisted_18 = { class: "icon-select-modal" }, _hoisted_19 = ["onClick"], _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
184876
185221
|
__name: "Properties",
|
|
184877
185222
|
props: {
|
|
184878
185223
|
configData: {
|
|
@@ -184881,14 +185226,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
184881
185226
|
}
|
|
184882
185227
|
},
|
|
184883
185228
|
setup(W) {
|
|
184884
|
-
const C = getRuleList(), H = useDataStore(), K = computed(() => Object.keys(/* @__PURE__ */ Object.assign({ "/src/assets/svg/btn.svg": () => import("./btn-b21f7c84.js"), "/src/assets/svg/cascader.svg": () => import("./cascader-f7fa37ea.js"), "/src/assets/svg/checkbox.svg": () => import("./checkbox-9b8d83b2.js"), "/src/assets/svg/clear.svg": () => import("./clear-1a0a9f39.js"), "/src/assets/svg/code.svg": () => import("./code-8bc35074.js"), "/src/assets/svg/date.svg": () => import("./date-9c868f87.js"), "/src/assets/svg/empty.svg": () => import("./empty-522f9087.js"), "/src/assets/svg/formvue.svg": () => import("./formvue-60a6a48b.js"), "/src/assets/svg/grid.svg": () => import("./grid-a022fe60.js"), "/src/assets/svg/header.svg": () => import("./header-ece15275.js"), "/src/assets/svg/ing.svg": () => import("./ing-3d76e308.js"), "/src/assets/svg/input.svg": () => import("./input-0a4693f1.js"), "/src/assets/svg/json.svg": () => import("./json-bdb5fbed.js"), "/src/assets/svg/label.svg": () => import("./label-4c915d4b.js"), "/src/assets/svg/placeholder.svg": () => import("./placeholder-353fc87b.js"), "/src/assets/svg/preview.svg": () => import("./preview-c435bde2.js"), "/src/assets/svg/radio.svg": () => import("./radio-c2693f5c.js"), "/src/assets/svg/report.svg": () => import("./report-e73dacb2.js"), "/src/assets/svg/save.svg": () => import("./save-2af76f8e.js"), "/src/assets/svg/select.svg": () => import("./select-99eba5a8.js"), "/src/assets/svg/table.svg": () => import("./table-fe94632c.js"), "/src/assets/svg/tableselect.svg": () => import("./tableselect-56e2fe5a.js"), "/src/assets/svg/tabs.svg": () => import("./tabs-1366a15e.js"), "/src/assets/svg/textarea.svg": () => import("./textarea-56e3ca98.js"), "/src/assets/svg/tree.svg": () => import("./tree-4a52a648.js") })).map((ve) => {
|
|
185229
|
+
const C = getRuleList(), H = useDataStore(), K = computed(() => Object.keys(/* @__PURE__ */ Object.assign({ "/src/assets/svg/arrow.svg": () => import("./arrow-99159823.js"), "/src/assets/svg/btn.svg": () => import("./btn-b21f7c84.js"), "/src/assets/svg/cascader.svg": () => import("./cascader-f7fa37ea.js"), "/src/assets/svg/checkbox.svg": () => import("./checkbox-9b8d83b2.js"), "/src/assets/svg/clear.svg": () => import("./clear-1a0a9f39.js"), "/src/assets/svg/code.svg": () => import("./code-8bc35074.js"), "/src/assets/svg/collapse.svg": () => import("./collapse-32bbd55b.js"), "/src/assets/svg/date.svg": () => import("./date-9c868f87.js"), "/src/assets/svg/empty.svg": () => import("./empty-522f9087.js"), "/src/assets/svg/formvue.svg": () => import("./formvue-60a6a48b.js"), "/src/assets/svg/grid.svg": () => import("./grid-a022fe60.js"), "/src/assets/svg/header.svg": () => import("./header-ece15275.js"), "/src/assets/svg/ing.svg": () => import("./ing-3d76e308.js"), "/src/assets/svg/input.svg": () => import("./input-0a4693f1.js"), "/src/assets/svg/json.svg": () => import("./json-bdb5fbed.js"), "/src/assets/svg/label.svg": () => import("./label-4c915d4b.js"), "/src/assets/svg/placeholder.svg": () => import("./placeholder-353fc87b.js"), "/src/assets/svg/preview.svg": () => import("./preview-c435bde2.js"), "/src/assets/svg/radio.svg": () => import("./radio-c2693f5c.js"), "/src/assets/svg/report.svg": () => import("./report-e73dacb2.js"), "/src/assets/svg/save.svg": () => import("./save-2af76f8e.js"), "/src/assets/svg/select.svg": () => import("./select-99eba5a8.js"), "/src/assets/svg/table.svg": () => import("./table-fe94632c.js"), "/src/assets/svg/tableselect.svg": () => import("./tableselect-56e2fe5a.js"), "/src/assets/svg/tabs.svg": () => import("./tabs-1366a15e.js"), "/src/assets/svg/textarea.svg": () => import("./textarea-56e3ca98.js"), "/src/assets/svg/tree.svg": () => import("./tree-4a52a648.js") })).map((ve) => {
|
|
184885
185230
|
let be = ve.split("/");
|
|
184886
185231
|
return be[be.length - 1].split(".")[0];
|
|
184887
185232
|
}));
|
|
184888
|
-
let U = ref(""), G = computed(() =>
|
|
184889
|
-
debugger;
|
|
184890
|
-
return H.getSelectData.filter((pe) => pe.isList == 0);
|
|
184891
|
-
}), X = computed(() => H.getUpdateData.filter((pe) => pe.isList == 0)), Q = ref(!1);
|
|
185233
|
+
let U = ref(""), G = computed(() => H.getSelectData.filter((pe) => pe.isList == 0)), X = computed(() => H.getUpdateData.filter((pe) => pe.isList == 0)), Q = ref(!1);
|
|
184892
185234
|
const Z = W;
|
|
184893
185235
|
function ee() {
|
|
184894
185236
|
const pe = Z.configData.model;
|
|
@@ -185062,7 +185404,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185062
185404
|
key: 5,
|
|
185063
185405
|
checked: W.configData[Fe.bind],
|
|
185064
185406
|
"onUpdate:checked": (Re) => W.configData[Fe.bind] = Re
|
|
185065
|
-
}, null, 8, ["checked", "onUpdate:checked"])) : Fe.type == "radio" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
185407
|
+
}, null, 8, ["checked", "onUpdate:checked"])) : Fe.type == "radio" ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
185066
185408
|
createVNode(we, {
|
|
185067
185409
|
value: W.configData[Fe.bind],
|
|
185068
185410
|
"onUpdate:value": (Re) => W.configData[Fe.bind] = Re
|
|
@@ -185091,7 +185433,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185091
185433
|
_: 2
|
|
185092
185434
|
}, 1032, ["value", "onUpdate:value"]),
|
|
185093
185435
|
createElementVNode("a", { onClick: he }, "添加选项")
|
|
185094
|
-
])) : Fe.type == "checkbox" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
185436
|
+
])) : Fe.type == "checkbox" ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
185095
185437
|
createVNode(ke, {
|
|
185096
185438
|
value: W.configData[Fe.bind],
|
|
185097
185439
|
"onUpdate:value": (Re) => W.configData[Fe.bind] = Re
|
|
@@ -185118,7 +185460,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185118
185460
|
]),
|
|
185119
185461
|
_: 2
|
|
185120
185462
|
}, 1032, ["checked", "onUpdate:checked"]),
|
|
185121
|
-
_hoisted_3$
|
|
185463
|
+
_hoisted_3$4
|
|
185122
185464
|
], 64))), 256))
|
|
185123
185465
|
]),
|
|
185124
185466
|
_: 2
|
|
@@ -185465,10 +185807,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185465
185807
|
});
|
|
185466
185808
|
};
|
|
185467
185809
|
}
|
|
185468
|
-
}),
|
|
185810
|
+
}), Properties_vue_vue_type_style_index_0_scoped_927e90e2_lang = "", CProperties = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-927e90e2"]]), Properties = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
185469
185811
|
__proto__: null,
|
|
185470
185812
|
default: CProperties
|
|
185471
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$
|
|
185813
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$b = { key: 0 }, _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
185472
185814
|
__name: "index",
|
|
185473
185815
|
props: {
|
|
185474
185816
|
configData: {
|
|
@@ -185492,7 +185834,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185492
185834
|
tab: "字段属性"
|
|
185493
185835
|
}, {
|
|
185494
185836
|
default: withCtx(() => [
|
|
185495
|
-
H.configData.length != 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
185837
|
+
H.configData.length != 0 ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
185496
185838
|
createVNode(G, {
|
|
185497
185839
|
class: "btn-type-css",
|
|
185498
185840
|
size: "small"
|
|
@@ -185505,18 +185847,21 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185505
185847
|
]),
|
|
185506
185848
|
_: 1
|
|
185507
185849
|
}),
|
|
185508
|
-
W.configData.type == "grid" ? (openBlock(), createBlock(_sfc_main$
|
|
185850
|
+
W.configData.type == "grid" ? (openBlock(), createBlock(_sfc_main$t, {
|
|
185509
185851
|
key: 0,
|
|
185510
185852
|
configData: W.configData
|
|
185511
|
-
}, null, 8, ["configData"])) : W.configData.type == "table" ? (openBlock(), createBlock(_sfc_main$
|
|
185853
|
+
}, null, 8, ["configData"])) : W.configData.type == "table" ? (openBlock(), createBlock(_sfc_main$q, {
|
|
185512
185854
|
key: 1,
|
|
185513
185855
|
configData: W.configData
|
|
185514
|
-
}, null, 8, ["configData"])) : W.configData.type == "col" ? (openBlock(), createBlock(_sfc_main$
|
|
185856
|
+
}, null, 8, ["configData"])) : W.configData.type == "col" ? (openBlock(), createBlock(_sfc_main$s, {
|
|
185515
185857
|
key: 2,
|
|
185516
185858
|
configData: W.configData
|
|
185517
185859
|
}, null, 8, ["configData"])) : W.configData.type == "tabs" ? (openBlock(), createBlock(CTabs, {
|
|
185518
185860
|
key: 3,
|
|
185519
185861
|
configData: W.configData
|
|
185862
|
+
}, null, 8, ["configData"])) : W.configData.type == "collapse" ? (openBlock(), createBlock(_sfc_main$k, {
|
|
185863
|
+
key: 4,
|
|
185864
|
+
configData: W.configData
|
|
185520
185865
|
}, null, 8, ["configData"])) : (openBlock(), createBlock(CProperties, {
|
|
185521
185866
|
configData: W.configData,
|
|
185522
185867
|
key: W.configData.type
|
|
@@ -185531,7 +185876,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185531
185876
|
"force-render": ""
|
|
185532
185877
|
}, {
|
|
185533
185878
|
default: withCtx(() => [
|
|
185534
|
-
createVNode(_sfc_main$
|
|
185879
|
+
createVNode(_sfc_main$m)
|
|
185535
185880
|
]),
|
|
185536
185881
|
_: 1
|
|
185537
185882
|
})
|
|
@@ -185540,10 +185885,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185540
185885
|
}, 8, ["activeKey"]);
|
|
185541
185886
|
};
|
|
185542
185887
|
}
|
|
185543
|
-
}),
|
|
185888
|
+
}), index_vue_vue_type_style_index_0_scoped_6f6ed7ab_lang = "", formConfig$1 = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6f6ed7ab"]]), index$6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
185544
185889
|
__proto__: null,
|
|
185545
185890
|
default: formConfig$1
|
|
185546
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$
|
|
185891
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$a = { class: "container" }, _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
185547
185892
|
__name: "Code",
|
|
185548
185893
|
props: {
|
|
185549
185894
|
code: {
|
|
@@ -185560,7 +185905,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
185560
185905
|
let K = ref("");
|
|
185561
185906
|
return onMounted(() => {
|
|
185562
185907
|
C.code != null ? K.value = C.code : K.value = JSON.stringify([H.formData], null, " ");
|
|
185563
|
-
}), (U, G) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
185908
|
+
}), (U, G) => (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
185564
185909
|
createVNode(monacoEditor, {
|
|
185565
185910
|
modelValue: unref(K),
|
|
185566
185911
|
"onUpdate:modelValue": G[0] || (G[0] = (X) => isRef(K) ? K.value = X : K = X),
|
|
@@ -185874,7 +186219,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
185874
186219
|
expired: "二维码已过期",
|
|
185875
186220
|
refresh: "点击刷新"
|
|
185876
186221
|
}
|
|
185877
|
-
}, zhCN = localeValues, _sfc_main$
|
|
186222
|
+
}, zhCN = localeValues, _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
185878
186223
|
__name: "index",
|
|
185879
186224
|
props: {
|
|
185880
186225
|
title: {
|
|
@@ -185914,7 +186259,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
185914
186259
|
}
|
|
185915
186260
|
},
|
|
185916
186261
|
setup(W, { expose: C }) {
|
|
185917
|
-
const H = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
186262
|
+
const H = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-fd7659de.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-6e92b7d2.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-be1b3446.js"), "/src/components/form-widget/widget/collapsePanel.vue": () => Promise.resolve().then(() => collapsePanel), "/src/components/form-widget/widget/tableSelect.vue": () => Promise.resolve().then(() => tableSelect), "/src/components/form-widget/widget/tableSelectDemo.vue": () => import("./tableSelectDemo-47796318.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-330b670e.js"), "/src/components/generate/Demo.vue": () => import("./Demo-2d97ac33.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-c8b3c09e.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-465d7419.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-f5133e30.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-02441ae0.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-94be576e.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/Form.vue": () => import("./Form-ed4499c2.js"), "/src/components/wonderform/config/modules/Grid.vue": () => import("./Grid-fb5e981c.js"), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-d625faed.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-45f1b410.js"), "/src/components/wonderform/config/modules/Properties.vue": () => Promise.resolve().then(() => Properties), "/src/components/wonderform/config/modules/ReportProperties.vue": () => Promise.resolve().then(() => ReportProperties), "/src/components/wonderform/config/modules/Table.vue": () => import("./Table-bd384bc8.js"), "/src/components/wonderform/config/modules/TableColumn.vue": () => Promise.resolve().then(() => TableColumn$1), "/src/components/wonderform/config/modules/Tabs.vue": () => Promise.resolve().then(() => Tabs), "/src/components/wonderform/config/modules/TypeScript.vue": () => Promise.resolve().then(() => TypeScript$1), "/src/components/wonderform/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/src/components/wonderform/design/modules/FormCollapse.vue": () => Promise.resolve().then(() => FormCollapse$1), "/src/components/wonderform/design/modules/FormGrid.vue": () => Promise.resolve().then(() => FormGrid$1), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$1), "/src/components/wonderform/design/modules/FormReport.vue": () => Promise.resolve().then(() => FormReport$1), "/src/components/wonderform/design/modules/FormTable.vue": () => Promise.resolve().then(() => FormTable$1), "/src/components/wonderform/design/modules/FormTabs.vue": () => Promise.resolve().then(() => FormTabs$1), "/src/components/wonderform/design/modules/FormVue.vue": () => Promise.resolve().then(() => FormVue$1), "/src/components/wonderform/dsource/index.vue": () => Promise.resolve().then(() => index$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-a23dd1f1.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-7048c81b.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-54477a15.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/sys/login/Login.vue": () => import("./Login-ec54c046.js"), "/src/views/workbench/index.vue": () => import("./index-0522a95d.js") });
|
|
185918
186263
|
let K = ref(!1), U = ref(!1), G = ref(), X = ref(!1);
|
|
185919
186264
|
const Q = computed(() => defineAsyncComponent(H[`/src/${Z.filePath}.vue`])), Z = W, ee = computed(() => Z.footer ? "" : { footer: null });
|
|
185920
186265
|
C({
|
|
@@ -185991,10 +186336,10 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
185991
186336
|
}, 8, ["locale"]);
|
|
185992
186337
|
};
|
|
185993
186338
|
}
|
|
185994
|
-
}), index_vue_vue_type_style_index_0_scoped_d31ecb52_lang = "", index_vue_vue_type_style_index_1_lang = "", CommonModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
186339
|
+
}), index_vue_vue_type_style_index_0_scoped_d31ecb52_lang = "", index_vue_vue_type_style_index_1_lang = "", CommonModal = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-d31ecb52"]]), index$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
185995
186340
|
__proto__: null,
|
|
185996
186341
|
default: CommonModal
|
|
185997
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$
|
|
186342
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$9 = ["xlink:href"], _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
185998
186343
|
__name: "SvgIcon",
|
|
185999
186344
|
props: {
|
|
186000
186345
|
name: {
|
|
@@ -186024,16 +186369,16 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
186024
186369
|
style: { color: W.color, width: W.width, height: W.height }
|
|
186025
186370
|
}), [
|
|
186026
186371
|
createElementVNode("title", null, toDisplayString(W.title), 1),
|
|
186027
|
-
createElementVNode("use", { "xlink:href": H.value }, null, 8, _hoisted_1$
|
|
186372
|
+
createElementVNode("use", { "xlink:href": H.value }, null, 8, _hoisted_1$9)
|
|
186028
186373
|
], 16));
|
|
186029
186374
|
}
|
|
186030
|
-
}), SvgIcon_vue_vue_type_style_index_0_scoped_64ea95ee_lang = "", SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
186375
|
+
}), SvgIcon_vue_vue_type_style_index_0_scoped_64ea95ee_lang = "", SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-64ea95ee"]]), SvgIcon$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
186031
186376
|
__proto__: null,
|
|
186032
186377
|
default: SvgIcon
|
|
186033
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$
|
|
186378
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$8 = { class: "form-table-css" }, _hoisted_2$3 = { class: "form-table-thead" }, _hoisted_3$3 = { class: "form-table-tbody" }, _hoisted_4$2 = { key: 0 }, _hoisted_5$2 = ["colspan"], _hoisted_6$2 = {
|
|
186034
186379
|
key: 0,
|
|
186035
186380
|
class: "form-table-pagination"
|
|
186036
|
-
}, _sfc_main$
|
|
186381
|
+
}, _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
186037
186382
|
__name: "cTable",
|
|
186038
186383
|
props: {
|
|
186039
186384
|
columns: {
|
|
@@ -186083,13 +186428,13 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
186083
186428
|
return (X, Q) => {
|
|
186084
186429
|
const Z = resolveComponent("a-pagination");
|
|
186085
186430
|
return openBlock(), createElementBlock("div", null, [
|
|
186086
|
-
createElementVNode("table", _hoisted_1$
|
|
186087
|
-
createElementVNode("thead", _hoisted_2$
|
|
186431
|
+
createElementVNode("table", _hoisted_1$8, [
|
|
186432
|
+
createElementVNode("thead", _hoisted_2$3, [
|
|
186088
186433
|
createElementVNode("tr", null, [
|
|
186089
186434
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(W.columns, (ee, te) => (openBlock(), createElementBlock("th", null, toDisplayString(ee.title), 1))), 256))
|
|
186090
186435
|
])
|
|
186091
186436
|
]),
|
|
186092
|
-
createElementVNode("tbody", _hoisted_3$
|
|
186437
|
+
createElementVNode("tbody", _hoisted_3$3, [
|
|
186093
186438
|
W.datasource.length == 0 ? (openBlock(), createElementBlock("tr", _hoisted_4$2, [
|
|
186094
186439
|
createElementVNode("td", {
|
|
186095
186440
|
colspan: W.columns.length,
|
|
@@ -186115,7 +186460,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
186115
186460
|
]);
|
|
186116
186461
|
};
|
|
186117
186462
|
}
|
|
186118
|
-
}), _sfc_main$
|
|
186463
|
+
}), _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
186119
186464
|
__name: "tableSelect",
|
|
186120
186465
|
props: {
|
|
186121
186466
|
value: {
|
|
@@ -186154,7 +186499,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
186154
186499
|
te("update:value", re);
|
|
186155
186500
|
}
|
|
186156
186501
|
});
|
|
186157
|
-
const Q = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
186502
|
+
const Q = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-fd7659de.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-6e92b7d2.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-be1b3446.js"), "/src/components/form-widget/widget/collapsePanel.vue": () => Promise.resolve().then(() => collapsePanel), "/src/components/form-widget/widget/tableSelect.vue": () => Promise.resolve().then(() => tableSelect), "/src/components/form-widget/widget/tableSelectDemo.vue": () => import("./tableSelectDemo-47796318.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-330b670e.js"), "/src/components/generate/Demo.vue": () => import("./Demo-2d97ac33.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-c8b3c09e.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-465d7419.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-f5133e30.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-02441ae0.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-94be576e.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/Form.vue": () => import("./Form-ed4499c2.js"), "/src/components/wonderform/config/modules/Grid.vue": () => import("./Grid-fb5e981c.js"), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-d625faed.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-45f1b410.js"), "/src/components/wonderform/config/modules/Properties.vue": () => Promise.resolve().then(() => Properties), "/src/components/wonderform/config/modules/ReportProperties.vue": () => Promise.resolve().then(() => ReportProperties), "/src/components/wonderform/config/modules/Table.vue": () => import("./Table-bd384bc8.js"), "/src/components/wonderform/config/modules/TableColumn.vue": () => Promise.resolve().then(() => TableColumn$1), "/src/components/wonderform/config/modules/Tabs.vue": () => Promise.resolve().then(() => Tabs), "/src/components/wonderform/config/modules/TypeScript.vue": () => Promise.resolve().then(() => TypeScript$1), "/src/components/wonderform/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/src/components/wonderform/design/modules/FormCollapse.vue": () => Promise.resolve().then(() => FormCollapse$1), "/src/components/wonderform/design/modules/FormGrid.vue": () => Promise.resolve().then(() => FormGrid$1), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$1), "/src/components/wonderform/design/modules/FormReport.vue": () => Promise.resolve().then(() => FormReport$1), "/src/components/wonderform/design/modules/FormTable.vue": () => Promise.resolve().then(() => FormTable$1), "/src/components/wonderform/design/modules/FormTabs.vue": () => Promise.resolve().then(() => FormTabs$1), "/src/components/wonderform/design/modules/FormVue.vue": () => Promise.resolve().then(() => FormVue$1), "/src/components/wonderform/dsource/index.vue": () => Promise.resolve().then(() => index$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-a23dd1f1.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-7048c81b.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-54477a15.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/sys/login/Login.vue": () => import("./Login-ec54c046.js"), "/src/views/workbench/index.vue": () => import("./index-0522a95d.js") }), Z = computed(() => {
|
|
186158
186503
|
if (H.filePath) {
|
|
186159
186504
|
let re = `/src/${H.filePath}.vue`;
|
|
186160
186505
|
return H.filePath ? Object.keys(Q).includes(re) : !1;
|
|
@@ -186207,10 +186552,10 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
186207
186552
|
}, 8, ["visible"]);
|
|
186208
186553
|
};
|
|
186209
186554
|
}
|
|
186210
|
-
}), tableSelect_vue_vue_type_style_index_0_scoped_02648aeb_lang = "", tableSelect_vue_vue_type_style_index_1_lang = "", CTableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
186555
|
+
}), tableSelect_vue_vue_type_style_index_0_scoped_02648aeb_lang = "", tableSelect_vue_vue_type_style_index_1_lang = "", CTableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-02648aeb"]]), tableSelect = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
186211
186556
|
__proto__: null,
|
|
186212
186557
|
default: CTableSelect
|
|
186213
|
-
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$
|
|
186558
|
+
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
186214
186559
|
__name: "childForm",
|
|
186215
186560
|
props: {
|
|
186216
186561
|
filePath: {
|
|
@@ -186219,7 +186564,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
186219
186564
|
}
|
|
186220
186565
|
},
|
|
186221
186566
|
setup(W) {
|
|
186222
|
-
const C = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
186567
|
+
const C = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-fd7659de.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-6e92b7d2.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-be1b3446.js"), "/src/components/form-widget/widget/collapsePanel.vue": () => Promise.resolve().then(() => collapsePanel), "/src/components/form-widget/widget/tableSelect.vue": () => Promise.resolve().then(() => tableSelect), "/src/components/form-widget/widget/tableSelectDemo.vue": () => import("./tableSelectDemo-47796318.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-330b670e.js"), "/src/components/generate/Demo.vue": () => import("./Demo-2d97ac33.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-c8b3c09e.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-465d7419.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-f5133e30.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-02441ae0.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-94be576e.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/Form.vue": () => import("./Form-ed4499c2.js"), "/src/components/wonderform/config/modules/Grid.vue": () => import("./Grid-fb5e981c.js"), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-d625faed.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-45f1b410.js"), "/src/components/wonderform/config/modules/Properties.vue": () => Promise.resolve().then(() => Properties), "/src/components/wonderform/config/modules/ReportProperties.vue": () => Promise.resolve().then(() => ReportProperties), "/src/components/wonderform/config/modules/Table.vue": () => import("./Table-bd384bc8.js"), "/src/components/wonderform/config/modules/TableColumn.vue": () => Promise.resolve().then(() => TableColumn$1), "/src/components/wonderform/config/modules/Tabs.vue": () => Promise.resolve().then(() => Tabs), "/src/components/wonderform/config/modules/TypeScript.vue": () => Promise.resolve().then(() => TypeScript$1), "/src/components/wonderform/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/src/components/wonderform/design/modules/FormCollapse.vue": () => Promise.resolve().then(() => FormCollapse$1), "/src/components/wonderform/design/modules/FormGrid.vue": () => Promise.resolve().then(() => FormGrid$1), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$1), "/src/components/wonderform/design/modules/FormReport.vue": () => Promise.resolve().then(() => FormReport$1), "/src/components/wonderform/design/modules/FormTable.vue": () => Promise.resolve().then(() => FormTable$1), "/src/components/wonderform/design/modules/FormTabs.vue": () => Promise.resolve().then(() => FormTabs$1), "/src/components/wonderform/design/modules/FormVue.vue": () => Promise.resolve().then(() => FormVue$1), "/src/components/wonderform/dsource/index.vue": () => Promise.resolve().then(() => index$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-a23dd1f1.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-7048c81b.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-54477a15.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/sys/login/Login.vue": () => import("./Login-ec54c046.js"), "/src/views/workbench/index.vue": () => import("./index-0522a95d.js") }), H = W, K = computed(() => {
|
|
186223
186568
|
if (H.filePath) {
|
|
186224
186569
|
let G = `/src/${H.filePath}.vue`;
|
|
186225
186570
|
return H.filePath ? Object.keys(C).includes(G) : !1;
|
|
@@ -186236,7 +186581,73 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
186236
186581
|
}));
|
|
186237
186582
|
};
|
|
186238
186583
|
}
|
|
186239
|
-
})
|
|
186584
|
+
}), _hoisted_1$7 = { class: "collapsePanel" }, _hoisted_2$2 = {
|
|
186585
|
+
key: 0,
|
|
186586
|
+
class: "collapse-btn"
|
|
186587
|
+
}, _hoisted_3$2 = { class: "collapse-form-list" }, _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
186588
|
+
__name: "collapsePanel",
|
|
186589
|
+
props: {
|
|
186590
|
+
classname: {
|
|
186591
|
+
type: String,
|
|
186592
|
+
default: "title-css1"
|
|
186593
|
+
},
|
|
186594
|
+
header: {
|
|
186595
|
+
type: String,
|
|
186596
|
+
default: "标题"
|
|
186597
|
+
},
|
|
186598
|
+
showArrow: {
|
|
186599
|
+
type: Boolean,
|
|
186600
|
+
default: !0
|
|
186601
|
+
},
|
|
186602
|
+
defaultCollapse: {
|
|
186603
|
+
type: Boolean,
|
|
186604
|
+
default: !1
|
|
186605
|
+
},
|
|
186606
|
+
collapseType: {
|
|
186607
|
+
type: String,
|
|
186608
|
+
default: "row"
|
|
186609
|
+
}
|
|
186610
|
+
},
|
|
186611
|
+
setup(W) {
|
|
186612
|
+
const C = W;
|
|
186613
|
+
let H = ref(C.defaultCollapse);
|
|
186614
|
+
function K(U) {
|
|
186615
|
+
U == C.collapseType && (H.value = !H.value);
|
|
186616
|
+
}
|
|
186617
|
+
return (U, G) => {
|
|
186618
|
+
const X = resolveComponent("svg-icon");
|
|
186619
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
186620
|
+
createElementVNode("div", {
|
|
186621
|
+
class: normalizeClass([W.classname, "title-between", W.collapseType == "row" ? "clickPointer" : "clickAuto"]),
|
|
186622
|
+
onClick: G[2] || (G[2] = (Q) => K("row"))
|
|
186623
|
+
}, [
|
|
186624
|
+
createElementVNode("span", {
|
|
186625
|
+
class: normalizeClass(W.collapseType == "icon" ? "clickAuto" : "clickPointer"),
|
|
186626
|
+
onClick: G[0] || (G[0] = (Q) => K("header"))
|
|
186627
|
+
}, toDisplayString(W.header), 3),
|
|
186628
|
+
W.showArrow ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
186629
|
+
createVNode(X, {
|
|
186630
|
+
class: normalizeClass(W.collapseType == "header" ? "clickAuto" : "clickPointer"),
|
|
186631
|
+
style: normalizeStyle$1(unref(H) ? { transform: "rotate(180deg)" } : {}),
|
|
186632
|
+
height: "24",
|
|
186633
|
+
name: "arrow",
|
|
186634
|
+
width: "24",
|
|
186635
|
+
onClick: G[1] || (G[1] = (Q) => K("icon"))
|
|
186636
|
+
}, null, 8, ["class", "style"])
|
|
186637
|
+
])) : createCommentVNode("", !0)
|
|
186638
|
+
], 2),
|
|
186639
|
+
withDirectives(createElementVNode("div", _hoisted_3$2, [
|
|
186640
|
+
renderSlot(U.$slots, "default", {}, void 0, !0)
|
|
186641
|
+
], 512), [
|
|
186642
|
+
[vShow, !unref(H)]
|
|
186643
|
+
])
|
|
186644
|
+
]);
|
|
186645
|
+
};
|
|
186646
|
+
}
|
|
186647
|
+
}), collapsePanel_vue_vue_type_style_index_0_scoped_b14d3b84_lang = "", CCollapsePanel = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b14d3b84"]]), collapsePanel = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
186648
|
+
__proto__: null,
|
|
186649
|
+
default: CCollapsePanel
|
|
186650
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
186240
186651
|
var zhCn = { exports: {} };
|
|
186241
186652
|
(function(W, C) {
|
|
186242
186653
|
(function(H, K) {
|
|
@@ -186256,7 +186667,7 @@ var zhCn = { exports: {} };
|
|
|
186256
186667
|
})(zhCn);
|
|
186257
186668
|
dayjs.locale("zh-cn");
|
|
186258
186669
|
function registerGlobComp(W) {
|
|
186259
|
-
W.component("svg-icon", SvgIcon), W.component("c-table", _sfc_main$
|
|
186670
|
+
W.component("svg-icon", SvgIcon), W.component("c-table", _sfc_main$e), W.component("c-table-select", CTableSelect), W.component("c-child-form", _sfc_main$c), W.component("c-collapse-panel", CCollapsePanel), W.use(Layout).use(Input).use(Row).use(Col).use(Form$1).use(Empty$1).use(Tabs$1).use(Modal).use(InputNumber$1).use(Button$2).use(Table$1).use(Pagination).use(ConfigProvider$1).use(Switch$1).use(Select$1).use(Radio).use(Slider$1).use(Dropdown$1).use(Menu$1).use(Divider$1).use(DatePicker$2).use(Collapse).use(Checkbox).use(Tree).use(TreeSelect$1).use(Space$1).use(List$2).use(Popconfirm$1).use(Cascader$1).use(Card$1).use(Flex);
|
|
186260
186671
|
}
|
|
186261
186672
|
function cModal(W) {
|
|
186262
186673
|
let C, H, K;
|
|
@@ -192529,7 +192940,7 @@ const _hoisted_1$6 = { class: "flex-div" }, _sfc_main$9 = /* @__PURE__ */ define
|
|
|
192529
192940
|
onOk: re
|
|
192530
192941
|
}, {
|
|
192531
192942
|
default: withCtx(() => [
|
|
192532
|
-
K.value ? (openBlock(), createBlock(_sfc_main$
|
|
192943
|
+
K.value ? (openBlock(), createBlock(_sfc_main$h, {
|
|
192533
192944
|
key: 0,
|
|
192534
192945
|
code: unref(Q),
|
|
192535
192946
|
language: unref(Z)
|
|
@@ -194789,6 +195200,20 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
194789
195200
|
],
|
|
194790
195201
|
activeTabKey: "Tab1",
|
|
194791
195202
|
tabType: "line"
|
|
195203
|
+
},
|
|
195204
|
+
{
|
|
195205
|
+
id: "2",
|
|
195206
|
+
type: "collapse",
|
|
195207
|
+
name: "折叠面板",
|
|
195208
|
+
icon: "collapse",
|
|
195209
|
+
required: !1,
|
|
195210
|
+
width: "100%",
|
|
195211
|
+
classname: "title-css1",
|
|
195212
|
+
header: "标题123",
|
|
195213
|
+
defaultCollapse: !1,
|
|
195214
|
+
showArrow: !0,
|
|
195215
|
+
collapseType: "row",
|
|
195216
|
+
content: []
|
|
194792
195217
|
}
|
|
194793
195218
|
]
|
|
194794
195219
|
},
|
|
@@ -195011,100 +195436,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
195011
195436
|
});
|
|
195012
195437
|
};
|
|
195013
195438
|
}
|
|
195014
|
-
}), index_vue_vue_type_style_index_0_scoped_6c5a6df9_lang = "",
|
|
195439
|
+
}), index_vue_vue_type_style_index_0_scoped_6c5a6df9_lang = "", CImaginForm = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6c5a6df9"]]), index$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
195015
195440
|
__proto__: null,
|
|
195016
|
-
default:
|
|
195017
|
-
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
195018
|
-
__name: "FormPublic",
|
|
195019
|
-
props: {
|
|
195020
|
-
data: {
|
|
195021
|
-
type: Object,
|
|
195022
|
-
default: []
|
|
195023
|
-
}
|
|
195024
|
-
},
|
|
195025
|
-
setup(__props) {
|
|
195026
|
-
const props = __props;
|
|
195027
|
-
let list = ref(props.data.config.eventScript);
|
|
195028
|
-
const { eventScript, dataSource, baseScript, ...restConfig } = props.data.config, generateData = generateHtml(props.data.list, restConfig), columns = { ...generateData.columns };
|
|
195029
|
-
let viewData = ref({}), demoRefs = [];
|
|
195030
|
-
onBeforeUpdate(() => {
|
|
195031
|
-
demoRefs = [];
|
|
195032
|
-
});
|
|
195033
|
-
const setRef = (W) => {
|
|
195034
|
-
W && demoRefs.push(W);
|
|
195035
|
-
};
|
|
195036
|
-
function saveData() {
|
|
195037
|
-
saveFormData(demoRefs);
|
|
195038
|
-
}
|
|
195039
|
-
const generateVue3 = defineComponent({
|
|
195040
|
-
template: generateData.html,
|
|
195041
|
-
props: {
|
|
195042
|
-
message: String
|
|
195043
|
-
},
|
|
195044
|
-
setup() {
|
|
195045
|
-
let formData = ref([]), datalist = ref([]), formRef = ref();
|
|
195046
|
-
function onSubmit() {
|
|
195047
|
-
return onSubmitForm(formRef.value);
|
|
195048
|
-
}
|
|
195049
|
-
viewData.value = getData();
|
|
195050
|
-
const tableData = props.data.list.filter((W) => W.type == "table"), ilength = tableData.length;
|
|
195051
|
-
let pagination;
|
|
195052
|
-
ilength > 0 && tableData[0].options.pagination && (pagination = ref({
|
|
195053
|
-
total: 0,
|
|
195054
|
-
current: 1,
|
|
195055
|
-
pageSize: tableData[0].options.pageSize
|
|
195056
|
-
}));
|
|
195057
|
-
const events = {};
|
|
195058
|
-
return generateTs(), {
|
|
195059
|
-
formData,
|
|
195060
|
-
onSubmit,
|
|
195061
|
-
formRef,
|
|
195062
|
-
validateFun,
|
|
195063
|
-
validateInfos,
|
|
195064
|
-
// defineExpose,
|
|
195065
|
-
pagination,
|
|
195066
|
-
datalist,
|
|
195067
|
-
columns,
|
|
195068
|
-
viewData,
|
|
195069
|
-
...events,
|
|
195070
|
-
defHttp,
|
|
195071
|
-
onChange
|
|
195072
|
-
};
|
|
195073
|
-
function onChange(W, C) {
|
|
195074
|
-
pagination.value = W, C();
|
|
195075
|
-
}
|
|
195076
|
-
function generateTs() {
|
|
195077
|
-
for (let W = 0; W < list.value.length; W++) {
|
|
195078
|
-
const C = list.value[W];
|
|
195079
|
-
events[C.name] = newFunction(C);
|
|
195080
|
-
}
|
|
195081
|
-
}
|
|
195082
|
-
function newFunction(_data) {
|
|
195083
|
-
return _data.param != "" ? (_params) => {
|
|
195084
|
-
eval(_data.func);
|
|
195085
|
-
} : () => {
|
|
195086
|
-
eval(_data.func);
|
|
195087
|
-
};
|
|
195088
|
-
}
|
|
195089
|
-
}
|
|
195090
|
-
});
|
|
195091
|
-
return (W, C) => {
|
|
195092
|
-
const H = resolveComponent("a-button");
|
|
195093
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
195094
|
-
createVNode(unref(generateVue3), { ref: setRef }),
|
|
195095
|
-
createVNode(H, {
|
|
195096
|
-
type: "Default",
|
|
195097
|
-
onClick: saveData
|
|
195098
|
-
}, {
|
|
195099
|
-
default: withCtx(() => [
|
|
195100
|
-
createTextVNode("保存")
|
|
195101
|
-
]),
|
|
195102
|
-
_: 1
|
|
195103
|
-
})
|
|
195104
|
-
], 64);
|
|
195105
|
-
};
|
|
195106
|
-
}
|
|
195107
|
-
}), FormPublic_vue_vue_type_style_index_0_lang = "", _withScopeId = (W) => (pushScopeId("data-v-b4d8bc9e"), W = W(), popScopeId(), W), _hoisted_1$3 = { key: 6 }, _hoisted_2 = { key: 7 }, _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_4 = { key: 8 }, _hoisted_5 = { key: 9 }, _hoisted_6 = { key: 10 }, _hoisted_7 = { key: 13 }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { color: "#1890ff" } }, "必填", -1)), _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_11 = { key: 0 }, _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_14 = { key: 14 }, _hoisted_15 = { key: 15 }, _hoisted_16 = { class: "icon-select-modal" }, _hoisted_17 = ["onClick"], _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
195441
|
+
default: CImaginForm
|
|
195442
|
+
}, Symbol.toStringTag, { value: "Module" })), _withScopeId = (W) => (pushScopeId("data-v-b4d8bc9e"), W = W(), popScopeId(), W), _hoisted_1$3 = { key: 6 }, _hoisted_2 = { key: 7 }, _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_4 = { key: 8 }, _hoisted_5 = { key: 9 }, _hoisted_6 = { key: 10 }, _hoisted_7 = { key: 13 }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { color: "#1890ff" } }, "必填", -1)), _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_11 = { key: 0 }, _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)), _hoisted_14 = { key: 14 }, _hoisted_15 = { key: 15 }, _hoisted_16 = { class: "icon-select-modal" }, _hoisted_17 = ["onClick"], _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
195108
195443
|
__name: "ReportProperties",
|
|
195109
195444
|
props: {
|
|
195110
195445
|
configData: {
|
|
@@ -195113,7 +195448,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
195113
195448
|
}
|
|
195114
195449
|
},
|
|
195115
195450
|
setup(W) {
|
|
195116
|
-
const C = getRuleList(), H = useDataStore(), K = computed(() => Object.keys(/* @__PURE__ */ Object.assign({ "/src/assets/svg/btn.svg": () => import("./btn-b21f7c84.js"), "/src/assets/svg/cascader.svg": () => import("./cascader-f7fa37ea.js"), "/src/assets/svg/checkbox.svg": () => import("./checkbox-9b8d83b2.js"), "/src/assets/svg/clear.svg": () => import("./clear-1a0a9f39.js"), "/src/assets/svg/code.svg": () => import("./code-8bc35074.js"), "/src/assets/svg/date.svg": () => import("./date-9c868f87.js"), "/src/assets/svg/empty.svg": () => import("./empty-522f9087.js"), "/src/assets/svg/formvue.svg": () => import("./formvue-60a6a48b.js"), "/src/assets/svg/grid.svg": () => import("./grid-a022fe60.js"), "/src/assets/svg/header.svg": () => import("./header-ece15275.js"), "/src/assets/svg/ing.svg": () => import("./ing-3d76e308.js"), "/src/assets/svg/input.svg": () => import("./input-0a4693f1.js"), "/src/assets/svg/json.svg": () => import("./json-bdb5fbed.js"), "/src/assets/svg/label.svg": () => import("./label-4c915d4b.js"), "/src/assets/svg/placeholder.svg": () => import("./placeholder-353fc87b.js"), "/src/assets/svg/preview.svg": () => import("./preview-c435bde2.js"), "/src/assets/svg/radio.svg": () => import("./radio-c2693f5c.js"), "/src/assets/svg/report.svg": () => import("./report-e73dacb2.js"), "/src/assets/svg/save.svg": () => import("./save-2af76f8e.js"), "/src/assets/svg/select.svg": () => import("./select-99eba5a8.js"), "/src/assets/svg/table.svg": () => import("./table-fe94632c.js"), "/src/assets/svg/tableselect.svg": () => import("./tableselect-56e2fe5a.js"), "/src/assets/svg/tabs.svg": () => import("./tabs-1366a15e.js"), "/src/assets/svg/textarea.svg": () => import("./textarea-56e3ca98.js"), "/src/assets/svg/tree.svg": () => import("./tree-4a52a648.js") })).map((he) => {
|
|
195451
|
+
const C = getRuleList(), H = useDataStore(), K = computed(() => Object.keys(/* @__PURE__ */ Object.assign({ "/src/assets/svg/arrow.svg": () => import("./arrow-99159823.js"), "/src/assets/svg/btn.svg": () => import("./btn-b21f7c84.js"), "/src/assets/svg/cascader.svg": () => import("./cascader-f7fa37ea.js"), "/src/assets/svg/checkbox.svg": () => import("./checkbox-9b8d83b2.js"), "/src/assets/svg/clear.svg": () => import("./clear-1a0a9f39.js"), "/src/assets/svg/code.svg": () => import("./code-8bc35074.js"), "/src/assets/svg/collapse.svg": () => import("./collapse-32bbd55b.js"), "/src/assets/svg/date.svg": () => import("./date-9c868f87.js"), "/src/assets/svg/empty.svg": () => import("./empty-522f9087.js"), "/src/assets/svg/formvue.svg": () => import("./formvue-60a6a48b.js"), "/src/assets/svg/grid.svg": () => import("./grid-a022fe60.js"), "/src/assets/svg/header.svg": () => import("./header-ece15275.js"), "/src/assets/svg/ing.svg": () => import("./ing-3d76e308.js"), "/src/assets/svg/input.svg": () => import("./input-0a4693f1.js"), "/src/assets/svg/json.svg": () => import("./json-bdb5fbed.js"), "/src/assets/svg/label.svg": () => import("./label-4c915d4b.js"), "/src/assets/svg/placeholder.svg": () => import("./placeholder-353fc87b.js"), "/src/assets/svg/preview.svg": () => import("./preview-c435bde2.js"), "/src/assets/svg/radio.svg": () => import("./radio-c2693f5c.js"), "/src/assets/svg/report.svg": () => import("./report-e73dacb2.js"), "/src/assets/svg/save.svg": () => import("./save-2af76f8e.js"), "/src/assets/svg/select.svg": () => import("./select-99eba5a8.js"), "/src/assets/svg/table.svg": () => import("./table-fe94632c.js"), "/src/assets/svg/tableselect.svg": () => import("./tableselect-56e2fe5a.js"), "/src/assets/svg/tabs.svg": () => import("./tabs-1366a15e.js"), "/src/assets/svg/textarea.svg": () => import("./textarea-56e3ca98.js"), "/src/assets/svg/tree.svg": () => import("./tree-4a52a648.js") })).map((he) => {
|
|
195117
195452
|
let ge = he.split("/");
|
|
195118
195453
|
return ge[ge.length - 1].split(".")[0];
|
|
195119
195454
|
}));
|
|
@@ -195594,10 +195929,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
195594
195929
|
});
|
|
195595
195930
|
};
|
|
195596
195931
|
}
|
|
195597
|
-
}), ReportProperties_vue_vue_type_style_index_0_scoped_b4d8bc9e_lang = "", CReportProperties = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
195932
|
+
}), ReportProperties_vue_vue_type_style_index_0_scoped_b4d8bc9e_lang = "", CReportProperties = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-b4d8bc9e"]]), ReportProperties = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
195598
195933
|
__proto__: null,
|
|
195599
195934
|
default: CReportProperties
|
|
195600
|
-
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$2 = { key: 0 }, _sfc_main$
|
|
195935
|
+
}, Symbol.toStringTag, { value: "Module" })), _hoisted_1$2 = { key: 0 }, _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
195601
195936
|
__name: "ReportIndex",
|
|
195602
195937
|
props: {
|
|
195603
195938
|
configData: {
|
|
@@ -195634,13 +195969,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
195634
195969
|
]),
|
|
195635
195970
|
_: 1
|
|
195636
195971
|
}),
|
|
195637
|
-
W.configData.type == "grid" ? (openBlock(), createBlock(_sfc_main$
|
|
195972
|
+
W.configData.type == "grid" ? (openBlock(), createBlock(_sfc_main$t, {
|
|
195638
195973
|
key: 0,
|
|
195639
195974
|
configData: W.configData
|
|
195640
|
-
}, null, 8, ["configData"])) : W.configData.type == "table" ? (openBlock(), createBlock(_sfc_main$
|
|
195975
|
+
}, null, 8, ["configData"])) : W.configData.type == "table" ? (openBlock(), createBlock(_sfc_main$q, {
|
|
195641
195976
|
key: 1,
|
|
195642
195977
|
configData: W.configData
|
|
195643
|
-
}, null, 8, ["configData"])) : W.configData.type == "col" ? (openBlock(), createBlock(_sfc_main$
|
|
195978
|
+
}, null, 8, ["configData"])) : W.configData.type == "col" ? (openBlock(), createBlock(_sfc_main$s, {
|
|
195644
195979
|
key: 2,
|
|
195645
195980
|
configData: W.configData
|
|
195646
195981
|
}, null, 8, ["configData"])) : (openBlock(), createBlock(CReportProperties, {
|
|
@@ -195657,7 +195992,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
195657
195992
|
"force-render": ""
|
|
195658
195993
|
}, {
|
|
195659
195994
|
default: withCtx(() => [
|
|
195660
|
-
createVNode(_sfc_main$
|
|
195995
|
+
createVNode(_sfc_main$m)
|
|
195661
195996
|
]),
|
|
195662
195997
|
_: 1
|
|
195663
195998
|
})
|
|
@@ -195666,17 +196001,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
195666
196001
|
}, 8, ["activeKey"]);
|
|
195667
196002
|
};
|
|
195668
196003
|
}
|
|
195669
|
-
}), ReportIndex_vue_vue_type_style_index_0_scoped_8da4445d_lang = "", formConfig = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
196004
|
+
}), ReportIndex_vue_vue_type_style_index_0_scoped_8da4445d_lang = "", formConfig = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-8da4445d"]]), ReportIndex = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
195670
196005
|
__proto__: null,
|
|
195671
196006
|
default: formConfig
|
|
195672
196007
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
195673
|
-
function generateReportTable(W, C, H, K) {
|
|
196008
|
+
function generateReportTable(W, C, H, K, U) {
|
|
195674
196009
|
if (W.isedit, W.options.pagination) {
|
|
195675
|
-
const
|
|
195676
|
-
H.value.variableScript += `paginations.value ={total: 0, current: 1, pageSize: ${
|
|
195677
|
-
|
|
196010
|
+
const oe = W.options.pageSize;
|
|
196011
|
+
H.value.variableScript += `paginations.value ={total: 0, current: 1, pageSize: ${oe}};
|
|
196012
|
+
`, U.value.paginations = { total: 0, current: 1, pageSize: oe };
|
|
195678
196013
|
}
|
|
195679
|
-
let
|
|
196014
|
+
let G = [...W.tableColumns];
|
|
195680
196015
|
H.value.contentScript += `
|
|
195681
196016
|
initTable({viewData: viewData.value, searchInfo: searchInfo});
|
|
195682
196017
|
function search() {
|
|
@@ -195684,8 +196019,8 @@ function generateReportTable(W, C, H, K) {
|
|
|
195684
196019
|
initTable({ viewData: viewData.value, searchInfo: searchInfo });
|
|
195685
196020
|
}
|
|
195686
196021
|
`;
|
|
195687
|
-
let
|
|
195688
|
-
W.options.pagination && (
|
|
196022
|
+
let X = "", Q = "";
|
|
196023
|
+
W.options.pagination && (Q = ':pagination="paginations" @change="onChange"', H.value.contentScript += `
|
|
195689
196024
|
/**
|
|
195690
196025
|
* 分页
|
|
195691
196026
|
* @param pag
|
|
@@ -195696,38 +196031,38 @@ function generateReportTable(W, C, H, K) {
|
|
|
195696
196031
|
initTable({viewData: viewData.value, searchInfo: searchInfo});
|
|
195697
196032
|
}
|
|
195698
196033
|
`);
|
|
195699
|
-
let
|
|
195700
|
-
const
|
|
195701
|
-
let
|
|
196034
|
+
let Z = "";
|
|
196035
|
+
const ee = W.action.length;
|
|
196036
|
+
let te = "";
|
|
195702
196037
|
if (W.options.showAction) {
|
|
195703
|
-
|
|
196038
|
+
G.push({
|
|
195704
196039
|
title: "操作",
|
|
195705
196040
|
key: "action"
|
|
195706
196041
|
});
|
|
195707
|
-
for (let
|
|
195708
|
-
const
|
|
195709
|
-
|
|
196042
|
+
for (let oe = 0; oe < ee; oe++) {
|
|
196043
|
+
const re = W.action[oe];
|
|
196044
|
+
Z += `<a @click="${re.oper}(record)">${re.title}</a>`;
|
|
195710
196045
|
}
|
|
195711
|
-
|
|
196046
|
+
te = `
|
|
195712
196047
|
<template v-if="column.key === 'action'">
|
|
195713
196048
|
<a-space>
|
|
195714
196049
|
<template #split>
|
|
195715
196050
|
<a-divider type="vertical" />
|
|
195716
196051
|
</template>
|
|
195717
|
-
${
|
|
196052
|
+
${Z}
|
|
195718
196053
|
</a-space>
|
|
195719
196054
|
</template>
|
|
195720
196055
|
`;
|
|
195721
196056
|
debugger;
|
|
195722
196057
|
}
|
|
195723
|
-
const
|
|
195724
|
-
H.value.variableScript += `const columns =${
|
|
195725
|
-
let
|
|
196058
|
+
const ne = JSON.stringify(G);
|
|
196059
|
+
H.value.variableScript += `const columns =${ne}`, U.value.columns = ne;
|
|
196060
|
+
let ie = `
|
|
195726
196061
|
<template #bodyCell="{ column, text, record }">
|
|
195727
|
-
${
|
|
196062
|
+
${te}
|
|
195728
196063
|
</template>
|
|
195729
196064
|
`;
|
|
195730
|
-
return
|
|
196065
|
+
return X += `<a-table :columns="columns" :data-source="dataSource" ${W.extended} ${Q} bordered>${ie}</a-table>`, X;
|
|
195731
196066
|
}
|
|
195732
196067
|
function generateReportCode(W, C) {
|
|
195733
196068
|
let H = ref({
|
|
@@ -195749,7 +196084,6 @@ function generateReportCode(W, C) {
|
|
|
195749
196084
|
}), U = "";
|
|
195750
196085
|
const X = useFormStore().formId, Q = W.config, { eventScript: Z, dataSource: ee, baseScript: te, ...ne } = Q;
|
|
195751
196086
|
U = generateHtml1(W.list, ne, H).html;
|
|
195752
|
-
debugger;
|
|
195753
196087
|
const ie = generateTs(Q), oe = `<template>
|
|
195754
196088
|
${U}
|
|
195755
196089
|
</template>
|
|
@@ -195772,10 +196106,10 @@ ${ie}
|
|
|
195772
196106
|
`;
|
|
195773
196107
|
return K.value.html = oe, K.value;
|
|
195774
196108
|
}
|
|
195775
|
-
let generateData = ref({ html: "", columns:
|
|
196109
|
+
let generateData = ref({ html: "", columns: "", pagScript: {}, variableScript: {}, searchData: [], paginations: {} }), commonProps = reactive({ hTable: 0, editTable: 0, paginations: {} });
|
|
195776
196110
|
function generateHtml1(W, C, H) {
|
|
195777
196111
|
const K = "report";
|
|
195778
|
-
useFormStore(), generateData.value = { html: "", columns:
|
|
196112
|
+
useFormStore(), generateData.value = { html: "", columns: "", pagScript: {}, variableScript: {}, searchData: [], paginations: {} };
|
|
195779
196113
|
let U = C.labelWidth == null ? "" : `:label-col="{ style: { width:'${C.labelWidth}px'} }"`, G = '<div ref="formRef" class="cici-form-css">', X = `<a-form ${U} :labelWrap="true">`;
|
|
195780
196114
|
G += X;
|
|
195781
196115
|
let Q = "";
|
|
@@ -195786,19 +196120,116 @@ function generateHtml1(W, C, H) {
|
|
|
195786
196120
|
G += generateGrid(te, C, K, generateData);
|
|
195787
196121
|
break;
|
|
195788
196122
|
case "table":
|
|
195789
|
-
G += generateReportTable(te, ee, H);
|
|
196123
|
+
G += generateReportTable(te, ee, H, K, generateData);
|
|
195790
196124
|
break;
|
|
195791
196125
|
default:
|
|
195792
196126
|
G += generateBase(te, K, generateData);
|
|
195793
196127
|
}
|
|
195794
196128
|
}
|
|
195795
196129
|
const Z = JSON.stringify(generateData.value.searchData);
|
|
195796
|
-
debugger;
|
|
195797
196130
|
return Z != "[]" && (H.value.variableScript += `
|
|
195798
196131
|
const searchInfo=${Z};`), G += `
|
|
195799
196132
|
</a-form></div>`, generateData.value.html = G, generateData.value.pagScript = commonProps.paginations, generateData.value;
|
|
195800
196133
|
}
|
|
195801
|
-
|
|
196134
|
+
let dataSource = ref(), paginations = ref();
|
|
196135
|
+
ref();
|
|
196136
|
+
function initTable(W) {
|
|
196137
|
+
const C = "/imaginform/zrzy-form/report/list";
|
|
196138
|
+
let H = [];
|
|
196139
|
+
for (var K in W.viewData)
|
|
196140
|
+
if (W.viewData[K] != "") {
|
|
196141
|
+
const G = W.searchInfo.filter((X) => X.name == K)[0];
|
|
196142
|
+
H.push({ ...G, value: W.viewData[K] });
|
|
196143
|
+
}
|
|
196144
|
+
const U = {
|
|
196145
|
+
searchData: H,
|
|
196146
|
+
isPage: !0,
|
|
196147
|
+
current: paginations.value.current,
|
|
196148
|
+
size: paginations.value.pageSize
|
|
196149
|
+
};
|
|
196150
|
+
return new Promise((G, X) => {
|
|
196151
|
+
defHttp.post({
|
|
196152
|
+
url: C,
|
|
196153
|
+
data: U
|
|
196154
|
+
}, { withToken: !1 }).then((Q) => {
|
|
196155
|
+
if (Q.code == 200) {
|
|
196156
|
+
const Z = JSON.parse(Q.result);
|
|
196157
|
+
dataSource.value = Z.records, paginations.value.total = Z.total;
|
|
196158
|
+
}
|
|
196159
|
+
});
|
|
196160
|
+
});
|
|
196161
|
+
}
|
|
196162
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
196163
|
+
__name: "GenerateReport",
|
|
196164
|
+
props: {
|
|
196165
|
+
data: {
|
|
196166
|
+
type: Object,
|
|
196167
|
+
default: []
|
|
196168
|
+
}
|
|
196169
|
+
},
|
|
196170
|
+
setup(__props) {
|
|
196171
|
+
const formStore = useFormStore();
|
|
196172
|
+
let list = ref(formStore.formData.config.eventScript);
|
|
196173
|
+
const { eventScript, baseScript, ...restConfig } = formStore.formData.config;
|
|
196174
|
+
let vue3Script = ref({
|
|
196175
|
+
importScript: "",
|
|
196176
|
+
//import导入
|
|
196177
|
+
variableScript: "",
|
|
196178
|
+
//变量
|
|
196179
|
+
contentScript: ""
|
|
196180
|
+
//ts内容
|
|
196181
|
+
});
|
|
196182
|
+
const generateData = generateHtml1(formStore.formData.list, restConfig, vue3Script), columns = JSON.parse(generateData.columns), searchInfo = generateData.searchData;
|
|
196183
|
+
paginations.value = generateData.paginations, onBeforeUpdate(() => {
|
|
196184
|
+
});
|
|
196185
|
+
const generateVue3 = defineComponent({
|
|
196186
|
+
template: generateData.html,
|
|
196187
|
+
props: {
|
|
196188
|
+
message: String
|
|
196189
|
+
},
|
|
196190
|
+
setup() {
|
|
196191
|
+
let viewData = ref({});
|
|
196192
|
+
const events = {};
|
|
196193
|
+
return generateTs(), {
|
|
196194
|
+
// formData,
|
|
196195
|
+
// formRef,
|
|
196196
|
+
search,
|
|
196197
|
+
searchInfo,
|
|
196198
|
+
// defineExpose,
|
|
196199
|
+
paginations,
|
|
196200
|
+
dataSource,
|
|
196201
|
+
// datalist,
|
|
196202
|
+
columns,
|
|
196203
|
+
viewData,
|
|
196204
|
+
initTable,
|
|
196205
|
+
...events,
|
|
196206
|
+
defHttp,
|
|
196207
|
+
onChange
|
|
196208
|
+
};
|
|
196209
|
+
function search() {
|
|
196210
|
+
paginations.value.current = 1, initTable({ viewData: viewData.value, searchInfo });
|
|
196211
|
+
}
|
|
196212
|
+
function onChange(W) {
|
|
196213
|
+
paginations.value = W, initTable({ viewData: viewData.value, searchInfo });
|
|
196214
|
+
}
|
|
196215
|
+
function generateTs() {
|
|
196216
|
+
for (let W = 0; W < list.value.length; W++) {
|
|
196217
|
+
const C = list.value[W];
|
|
196218
|
+
events[C.name] = newFunction(C);
|
|
196219
|
+
}
|
|
196220
|
+
}
|
|
196221
|
+
function newFunction(_data) {
|
|
196222
|
+
return _data.param != "" ? (_params) => {
|
|
196223
|
+
eval(_data.func);
|
|
196224
|
+
} : () => {
|
|
196225
|
+
eval(_data.func);
|
|
196226
|
+
};
|
|
196227
|
+
}
|
|
196228
|
+
}
|
|
196229
|
+
});
|
|
196230
|
+
return (W, C) => (openBlock(), createBlock(unref(generateVue3)));
|
|
196231
|
+
}
|
|
196232
|
+
}), GenerateReport_vue_vue_type_style_index_0_lang = "", _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
195802
196233
|
__name: "index",
|
|
195803
196234
|
props: {
|
|
195804
196235
|
formId: {
|
|
@@ -195878,7 +196309,7 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
195878
196309
|
const re = (ae) => {
|
|
195879
196310
|
K.value = !1;
|
|
195880
196311
|
}, se = () => {
|
|
195881
|
-
const ae = "/magicapi/zrzy-form/magic/form/
|
|
196312
|
+
const ae = "/magicapi/zrzy-form/magic/form/report/edit";
|
|
195882
196313
|
defHttp.post({ url: ae, data: { id: C.formId, content: JSON.stringify(H.formData) } }, { withToken: !1 }).then((le) => {
|
|
195883
196314
|
le == 1 && message.success("保存成功");
|
|
195884
196315
|
});
|
|
@@ -195915,7 +196346,7 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
195915
196346
|
onOk: re
|
|
195916
196347
|
}, {
|
|
195917
196348
|
default: withCtx(() => [
|
|
195918
|
-
K.value ? (openBlock(), createBlock(_sfc_main$
|
|
196349
|
+
K.value ? (openBlock(), createBlock(_sfc_main$h, {
|
|
195919
196350
|
key: 0,
|
|
195920
196351
|
code: unref(Q),
|
|
195921
196352
|
language: unref(Z)
|
|
@@ -195931,7 +196362,7 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
195931
196362
|
onOk: re
|
|
195932
196363
|
}, {
|
|
195933
196364
|
default: withCtx(() => [
|
|
195934
|
-
U.value ? (openBlock(), createBlock(_sfc_main$
|
|
196365
|
+
U.value ? (openBlock(), createBlock(_sfc_main$3, { key: 0 })) : createCommentVNode("", !0)
|
|
195935
196366
|
]),
|
|
195936
196367
|
_: 1
|
|
195937
196368
|
}, 8, ["open"])
|
|
@@ -195939,122 +196370,128 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
195939
196370
|
], 64);
|
|
195940
196371
|
};
|
|
195941
196372
|
}
|
|
195942
|
-
}),
|
|
196373
|
+
}), index_vue_vue_type_style_index_0_scoped_f189e1b9_lang = "", reportHeader = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f189e1b9"]]), index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
195943
196374
|
__proto__: null,
|
|
195944
196375
|
default: reportHeader
|
|
195945
196376
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
195946
196377
|
__name: "ReportModule",
|
|
196378
|
+
props: {
|
|
196379
|
+
formId: {
|
|
196380
|
+
type: Number,
|
|
196381
|
+
default: 8
|
|
196382
|
+
}
|
|
196383
|
+
},
|
|
195947
196384
|
setup(W) {
|
|
195948
|
-
const C = useDataStore();
|
|
195949
|
-
let
|
|
195950
|
-
|
|
195951
|
-
name: "wonder_form",
|
|
195952
|
-
dbType: "1",
|
|
195953
|
-
content: "select * from wonder_form",
|
|
195954
|
-
isLoad: !0
|
|
195955
|
-
}), K = ref();
|
|
196385
|
+
const C = W, H = useDataStore();
|
|
196386
|
+
let K = ref({});
|
|
196387
|
+
U();
|
|
195956
196388
|
function U() {
|
|
195957
|
-
|
|
196389
|
+
defHttp.post({ url: "/magicapi/zrzy-form/magic/form/report/query", data: { id: C.formId } }, { withToken: !1 }).then((Q) => {
|
|
196390
|
+
Q && !Q.message ? K.value = Q : message.error("查询失败");
|
|
196391
|
+
});
|
|
196392
|
+
}
|
|
196393
|
+
let G = ref();
|
|
196394
|
+
function X() {
|
|
196395
|
+
let Q = [], Z = K.value.code;
|
|
195958
196396
|
defHttp.post({
|
|
195959
196397
|
url: "/magicapi/zrzy-form/sql/fileds",
|
|
195960
196398
|
headers: {},
|
|
195961
|
-
data: { sql:
|
|
195962
|
-
}, { withToken: !1 }).then((
|
|
195963
|
-
|
|
195964
|
-
|
|
195965
|
-
}),
|
|
196399
|
+
data: { sql: K.value.dataSource }
|
|
196400
|
+
}, { withToken: !1 }).then((ee) => {
|
|
196401
|
+
ee && !ee.message ? (G.value = ee.result, ee.result.forEach((te) => {
|
|
196402
|
+
Q.push({ value: `${Z}.${te}`, isList: 1 });
|
|
196403
|
+
}), H.addSelectData(Q), H.addSelectTable({ value: `${Z}`, isList: 1 })) : message.error("解析失败");
|
|
195966
196404
|
});
|
|
195967
196405
|
}
|
|
195968
|
-
return (
|
|
195969
|
-
const
|
|
195970
|
-
return openBlock(), createBlock(
|
|
195971
|
-
model: unref(
|
|
195972
|
-
"label-col": { style: { width: "
|
|
196406
|
+
return (Q, Z) => {
|
|
196407
|
+
const ee = resolveComponent("a-input"), te = resolveComponent("a-form-item"), ne = resolveComponent("a-switch"), ie = resolveComponent("a-button"), oe = resolveComponent("a-form");
|
|
196408
|
+
return openBlock(), createBlock(oe, {
|
|
196409
|
+
model: unref(K),
|
|
196410
|
+
"label-col": { style: { width: "150px" } },
|
|
195973
196411
|
layout: "vertical",
|
|
195974
196412
|
autocomplete: "off",
|
|
195975
|
-
onFinish:
|
|
196413
|
+
onFinish: X
|
|
195976
196414
|
}, {
|
|
195977
196415
|
default: withCtx(() => [
|
|
195978
|
-
createVNode(
|
|
196416
|
+
createVNode(te, {
|
|
195979
196417
|
label: "报表编号",
|
|
195980
196418
|
name: "code",
|
|
195981
196419
|
rules: [{ required: !0, message: "报表编号" }]
|
|
195982
196420
|
}, {
|
|
195983
196421
|
default: withCtx(() => [
|
|
195984
|
-
createVNode(
|
|
195985
|
-
value: unref(
|
|
195986
|
-
"onUpdate:value":
|
|
196422
|
+
createVNode(ee, {
|
|
196423
|
+
value: unref(K).code,
|
|
196424
|
+
"onUpdate:value": Z[0] || (Z[0] = (re) => unref(K).code = re),
|
|
195987
196425
|
prefix: "",
|
|
195988
196426
|
suffix: ""
|
|
195989
196427
|
}, null, 8, ["value"])
|
|
195990
196428
|
]),
|
|
195991
196429
|
_: 1
|
|
195992
196430
|
}),
|
|
195993
|
-
createVNode(
|
|
196431
|
+
createVNode(te, {
|
|
195994
196432
|
label: "报表名称",
|
|
195995
|
-
name: "
|
|
196433
|
+
name: "title",
|
|
195996
196434
|
rules: [{ required: !0, message: "报表名称" }]
|
|
195997
196435
|
}, {
|
|
195998
196436
|
default: withCtx(() => [
|
|
195999
|
-
createVNode(
|
|
196000
|
-
value: unref(
|
|
196001
|
-
"onUpdate:value":
|
|
196437
|
+
createVNode(ee, {
|
|
196438
|
+
value: unref(K).title,
|
|
196439
|
+
"onUpdate:value": Z[1] || (Z[1] = (re) => unref(K).title = re),
|
|
196002
196440
|
prefix: "",
|
|
196003
196441
|
suffix: ""
|
|
196004
196442
|
}, null, 8, ["value"])
|
|
196005
196443
|
]),
|
|
196006
196444
|
_: 1
|
|
196007
196445
|
}),
|
|
196008
|
-
createVNode(
|
|
196009
|
-
label: "
|
|
196010
|
-
name: "
|
|
196011
|
-
rules: [{ required: !0 }]
|
|
196446
|
+
createVNode(te, {
|
|
196447
|
+
label: "修改/删除表",
|
|
196448
|
+
name: "tableName",
|
|
196449
|
+
rules: [{ required: !0, message: "数据表名称" }]
|
|
196012
196450
|
}, {
|
|
196013
196451
|
default: withCtx(() => [
|
|
196014
196452
|
createVNode(ee, {
|
|
196015
|
-
value: unref(
|
|
196016
|
-
"onUpdate:value":
|
|
196017
|
-
|
|
196018
|
-
|
|
196019
|
-
style: { width: "100%" }
|
|
196453
|
+
value: unref(K).tableName,
|
|
196454
|
+
"onUpdate:value": Z[2] || (Z[2] = (re) => unref(K).tableName = re),
|
|
196455
|
+
prefix: "",
|
|
196456
|
+
suffix: ""
|
|
196020
196457
|
}, null, 8, ["value"])
|
|
196021
196458
|
]),
|
|
196022
196459
|
_: 1
|
|
196023
196460
|
}),
|
|
196024
|
-
createVNode(
|
|
196461
|
+
createVNode(te, {
|
|
196025
196462
|
label: "是否初屏加载",
|
|
196026
196463
|
name: "isLoad"
|
|
196027
196464
|
}, {
|
|
196028
196465
|
default: withCtx(() => [
|
|
196029
|
-
createVNode(
|
|
196030
|
-
checked: unref(
|
|
196031
|
-
"onUpdate:checked":
|
|
196466
|
+
createVNode(ne, {
|
|
196467
|
+
checked: unref(K).isLoad,
|
|
196468
|
+
"onUpdate:checked": Z[3] || (Z[3] = (re) => unref(K).isLoad = re),
|
|
196032
196469
|
"checked-children": "是",
|
|
196033
196470
|
"un-checked-children": "否"
|
|
196034
196471
|
}, null, 8, ["checked"])
|
|
196035
196472
|
]),
|
|
196036
196473
|
_: 1
|
|
196037
196474
|
}),
|
|
196038
|
-
createVNode(
|
|
196475
|
+
createVNode(te, {
|
|
196039
196476
|
label: "SQL/API",
|
|
196040
|
-
id: "
|
|
196477
|
+
id: "datasource",
|
|
196041
196478
|
rules: [{ required: !0 }]
|
|
196042
196479
|
}, {
|
|
196043
196480
|
default: withCtx(() => [
|
|
196044
196481
|
createVNode(monacoEditor, {
|
|
196045
|
-
modelValue: unref(
|
|
196046
|
-
"onUpdate:modelValue":
|
|
196482
|
+
modelValue: unref(K).dataSource,
|
|
196483
|
+
"onUpdate:modelValue": Z[4] || (Z[4] = (re) => unref(K).dataSource = re),
|
|
196047
196484
|
language: "sql",
|
|
196048
196485
|
style: { width: "100%", border: "1px solid #e5e7eb" },
|
|
196049
196486
|
height: "250px",
|
|
196050
|
-
"update:modelValue": "reportData.
|
|
196487
|
+
"update:modelValue": "reportData.dataSource"
|
|
196051
196488
|
}, null, 8, ["modelValue"])
|
|
196052
196489
|
]),
|
|
196053
196490
|
_: 1
|
|
196054
196491
|
}),
|
|
196055
|
-
createVNode(
|
|
196492
|
+
createVNode(te, { "wrapper-col": { offset: 16, span: 8 } }, {
|
|
196056
196493
|
default: withCtx(() => [
|
|
196057
|
-
createVNode(
|
|
196494
|
+
createVNode(ie, {
|
|
196058
196495
|
type: "primary",
|
|
196059
196496
|
"html-type": "submit"
|
|
196060
196497
|
}, {
|
|
@@ -196076,50 +196513,45 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
196076
196513
|
props: {
|
|
196077
196514
|
id: {
|
|
196078
196515
|
type: Number,
|
|
196079
|
-
default:
|
|
196516
|
+
default: 8
|
|
196080
196517
|
}
|
|
196081
196518
|
},
|
|
196082
196519
|
setup(W) {
|
|
196083
196520
|
const C = useFormStore(), H = W;
|
|
196084
|
-
|
|
196085
|
-
|
|
196086
|
-
|
|
196087
|
-
|
|
196088
|
-
|
|
196089
|
-
|
|
196090
|
-
|
|
196091
|
-
|
|
196092
|
-
|
|
196521
|
+
ref([]);
|
|
196522
|
+
let K = ref(), U = ref();
|
|
196523
|
+
G();
|
|
196524
|
+
function G() {
|
|
196525
|
+
const Z = "/magicapi/zrzy-form/magic/form/report/list";
|
|
196526
|
+
defHttp.post({ url: Z, params: { id: H.id } }, { withToken: !0 }).then((ee) => {
|
|
196527
|
+
const te = ee.list[0];
|
|
196528
|
+
if (U.value = te.code, te.content != "") {
|
|
196529
|
+
const ne = JSON.parse(te.content);
|
|
196530
|
+
C.setFormData(ne);
|
|
196093
196531
|
}
|
|
196094
196532
|
});
|
|
196095
196533
|
}
|
|
196096
|
-
|
|
196097
|
-
|
|
196098
|
-
|
|
196099
|
-
K.value = ne.list;
|
|
196100
|
-
});
|
|
196101
|
-
}
|
|
196102
|
-
const Z = ref("1");
|
|
196103
|
-
function ee(te) {
|
|
196104
|
-
U.value = te;
|
|
196534
|
+
const X = ref("1");
|
|
196535
|
+
function Q(Z) {
|
|
196536
|
+
K.value = Z;
|
|
196105
196537
|
}
|
|
196106
196538
|
return onMounted(() => {
|
|
196107
196539
|
C.setFormId(H.id);
|
|
196108
|
-
}), (
|
|
196109
|
-
const
|
|
196110
|
-
return openBlock(), createBlock(
|
|
196540
|
+
}), (Z, ee) => {
|
|
196541
|
+
const te = resolveComponent("a-tab-pane"), ne = resolveComponent("a-tabs"), ie = resolveComponent("a-layout-sider"), oe = resolveComponent("a-layout-header"), re = resolveComponent("a-layout-content"), se = resolveComponent("a-layout");
|
|
196542
|
+
return openBlock(), createBlock(se, { style: { height: "100%", padding: "5px 5px" } }, {
|
|
196111
196543
|
default: withCtx(() => [
|
|
196112
|
-
createVNode(
|
|
196544
|
+
createVNode(ie, {
|
|
196113
196545
|
width: "270",
|
|
196114
196546
|
style: { left: 0, top: 0, bottom: 0 }
|
|
196115
196547
|
}, {
|
|
196116
196548
|
default: withCtx(() => [
|
|
196117
|
-
createVNode(
|
|
196118
|
-
activeKey:
|
|
196119
|
-
"onUpdate:activeKey":
|
|
196549
|
+
createVNode(ne, {
|
|
196550
|
+
activeKey: X.value,
|
|
196551
|
+
"onUpdate:activeKey": ee[0] || (ee[0] = (ae) => X.value = ae)
|
|
196120
196552
|
}, {
|
|
196121
196553
|
default: withCtx(() => [
|
|
196122
|
-
createVNode(
|
|
196554
|
+
createVNode(te, { key: "1" }, {
|
|
196123
196555
|
tab: withCtx(() => [
|
|
196124
196556
|
createElementVNode("span", null, [
|
|
196125
196557
|
createVNode(unref(DatabaseFilled$1)),
|
|
@@ -196127,11 +196559,11 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
196127
196559
|
])
|
|
196128
196560
|
]),
|
|
196129
196561
|
default: withCtx(() => [
|
|
196130
|
-
createVNode(_sfc_main$1)
|
|
196562
|
+
createVNode(_sfc_main$1, { formId: W.id }, null, 8, ["formId"])
|
|
196131
196563
|
]),
|
|
196132
196564
|
_: 1
|
|
196133
196565
|
}),
|
|
196134
|
-
createVNode(
|
|
196566
|
+
createVNode(te, { key: "2" }, {
|
|
196135
196567
|
tab: withCtx(() => [
|
|
196136
196568
|
createElementVNode("span", null, [
|
|
196137
196569
|
createVNode(unref(AppstoreFilled$1)),
|
|
@@ -196149,21 +196581,21 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
196149
196581
|
]),
|
|
196150
196582
|
_: 1
|
|
196151
196583
|
}),
|
|
196152
|
-
createVNode(
|
|
196584
|
+
createVNode(se, { style: { margin: "0px 5px" } }, {
|
|
196153
196585
|
default: withCtx(() => [
|
|
196154
|
-
createVNode(
|
|
196586
|
+
createVNode(oe, { style: { background: "#fff", border: "1px solid #e4e7ed", borderBottom: "0px" } }, {
|
|
196155
196587
|
default: withCtx(() => [
|
|
196156
196588
|
createVNode(reportHeader, {
|
|
196157
196589
|
formId: W.id,
|
|
196158
|
-
code: unref(
|
|
196590
|
+
code: unref(U)
|
|
196159
196591
|
}, null, 8, ["formId", "code"])
|
|
196160
196592
|
]),
|
|
196161
196593
|
_: 1
|
|
196162
196594
|
}),
|
|
196163
|
-
createVNode(
|
|
196595
|
+
createVNode(re, { style: { overflow: "auto" } }, {
|
|
196164
196596
|
default: withCtx(() => [
|
|
196165
196597
|
createElementVNode("div", _hoisted_1, [
|
|
196166
|
-
createVNode(FormDesign, { onControlConfig:
|
|
196598
|
+
createVNode(FormDesign, { onControlConfig: Q })
|
|
196167
196599
|
])
|
|
196168
196600
|
]),
|
|
196169
196601
|
_: 1
|
|
@@ -196171,12 +196603,12 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
196171
196603
|
]),
|
|
196172
196604
|
_: 1
|
|
196173
196605
|
}),
|
|
196174
|
-
createVNode(
|
|
196606
|
+
createVNode(ie, {
|
|
196175
196607
|
width: "250",
|
|
196176
196608
|
style: { right: 0, top: 0, bottom: 0 }
|
|
196177
196609
|
}, {
|
|
196178
196610
|
default: withCtx(() => [
|
|
196179
|
-
createVNode(formConfig, { configData: unref(
|
|
196611
|
+
createVNode(formConfig, { configData: unref(K) }, null, 8, ["configData"])
|
|
196180
196612
|
]),
|
|
196181
196613
|
_: 1
|
|
196182
196614
|
})
|
|
@@ -196185,35 +196617,36 @@ const _hoisted_1$1 = { class: "flex-div" }, _sfc_main$2 = /* @__PURE__ */ define
|
|
|
196185
196617
|
});
|
|
196186
196618
|
};
|
|
196187
196619
|
}
|
|
196188
|
-
}),
|
|
196620
|
+
}), index_vue_vue_type_style_index_0_scoped_803b48e7_lang = "", ReportImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-803b48e7"]]), index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
196189
196621
|
__proto__: null,
|
|
196190
|
-
default:
|
|
196622
|
+
default: ReportImage
|
|
196191
196623
|
}, Symbol.toStringTag, { value: "Module" })), index = {
|
|
196192
196624
|
install: (W) => {
|
|
196193
|
-
setupStore(W), W.component("CImaginForm",
|
|
196625
|
+
setupStore(W), W.component("CImaginForm", CImaginForm), W.component("CGenerateForm", _sfc_main$a), W.component("CImaginReport", ReportImage), W.component("CCollapsePanel", CCollapsePanel);
|
|
196194
196626
|
}
|
|
196195
196627
|
};
|
|
196196
196628
|
export {
|
|
196197
|
-
|
|
196629
|
+
ReportImage as R,
|
|
196198
196630
|
_export_sfc as _,
|
|
196199
|
-
_sfc_main$
|
|
196631
|
+
_sfc_main$c as a,
|
|
196200
196632
|
validateFun as b,
|
|
196201
196633
|
cModal as c,
|
|
196202
|
-
_sfc_main$
|
|
196203
|
-
_sfc_main$
|
|
196204
|
-
_sfc_main$
|
|
196634
|
+
_sfc_main$a as d,
|
|
196635
|
+
_sfc_main$3 as e,
|
|
196636
|
+
_sfc_main$e as f,
|
|
196205
196637
|
getData as g,
|
|
196206
|
-
_sfc_main$
|
|
196638
|
+
_sfc_main$s as h,
|
|
196207
196639
|
_sfc_main$k as i,
|
|
196208
|
-
_sfc_main$
|
|
196209
|
-
_sfc_main$
|
|
196210
|
-
_sfc_main$
|
|
196211
|
-
_sfc_main$
|
|
196212
|
-
_sfc_main$
|
|
196640
|
+
_sfc_main$m as j,
|
|
196641
|
+
_sfc_main$t as k,
|
|
196642
|
+
_sfc_main$q as l,
|
|
196643
|
+
_sfc_main$8 as m,
|
|
196644
|
+
_sfc_main$h as n,
|
|
196213
196645
|
onSubmitForm as o,
|
|
196214
|
-
|
|
196215
|
-
|
|
196216
|
-
|
|
196646
|
+
_sfc_main$1 as p,
|
|
196647
|
+
monaco_editor_core_star as q,
|
|
196648
|
+
typescriptDefaults as r,
|
|
196649
|
+
index as s,
|
|
196217
196650
|
tableSelectProps as t,
|
|
196218
196651
|
useFormStore as u,
|
|
196219
196652
|
validateInfos as v,
|