super-page-runtime 2.3.37-sit2 → 2.3.37-sit4
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/es/components/runtime/utils/api/page-expose-util.js +131 -131
- package/dist/es/components/runtime/utils/barcode-util.js +5 -5
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +47 -46
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +3 -1
- package/dist/es/components/runtime/utils/charts/chart-util.js +46 -44
- package/dist/es/components/runtime/utils/events/event-util.js +121 -121
- package/dist/es/components/runtime/utils/events/print-label.js +35 -33
- package/dist/es/components/runtime/utils/events/standard-event.js +600 -588
- package/dist/es/components/runtime/utils/events/validator-util.js +154 -150
- package/dist/es/components/runtime/utils/form/scan-util.js +4 -3
- package/dist/es/components/runtime/utils/page-helper-util.js +219 -219
- package/dist/es/components/runtime/utils/page-init-util.js +125 -120
- package/dist/es/components/runtime/utils/page-store.js +21 -21
- package/dist/es/components/runtime/utils/table-utils.js +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +16 -12
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +11 -9
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +13 -12
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +26 -25
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +15 -14
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +16 -15
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +100 -95
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +67 -67
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +27 -23
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +3 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +63 -63
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +11 -9
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +22 -20
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +123 -120
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +39 -38
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +7 -6
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +22 -22
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +32 -32
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +9 -9
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +36 -35
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +56 -55
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +12 -10
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +14 -12
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -15
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +28 -27
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +25 -23
- package/dist/es/components/runtime/views/home-chart.vue.js +9 -9
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +5 -4
- package/dist/es/components/runtime/views/super-page.vue2.js +191 -190
- package/dist/es/style.css +71 -71
- package/package.json +2 -2
package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js
CHANGED
|
@@ -1,79 +1,80 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
2
|
-
import { SuperIcon as
|
|
3
|
-
import { getFormModelFields as
|
|
1
|
+
import { defineComponent as e, ref as n, computed as t, onMounted as l, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as c, normalizeClass as p, unref as v, createSlots as f, withCtx as g, createVNode as m, createCommentVNode as y, createTextVNode as d, toDisplayString as x, createElementVNode as C, createElementBlock as w, Fragment as k } from "vue";
|
|
2
|
+
import { SuperIcon as I } from "agilebuilder-ui";
|
|
3
|
+
import { getFormModelFields as T } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { getModelFieldFromPageContext as V, isNumberDataType as h, setVariableValue as b, getVariableValue as _ } from "../../../../utils/page-helper-util.js";
|
|
5
5
|
import { handleFormEvent as S, handleAfterInitEvent as j, doSuffixOrPrefixClickEvent as R } from "../../../../utils/events/event-util.js";
|
|
6
|
-
import { formatScanRuleSets as O, analysisScanValue as P, setScanAnalysisValue as
|
|
7
|
-
import
|
|
8
|
-
import { isMobileBrowser as
|
|
9
|
-
import
|
|
10
|
-
import { $t as
|
|
11
|
-
import { addRequiredClassUtil as
|
|
6
|
+
import { formatScanRuleSets as O, analysisScanValue as P, setScanAnalysisValue as D } from "../../../../utils/form/scan-util.js";
|
|
7
|
+
import N from "../common/title-suffix-element.vue.js";
|
|
8
|
+
import { isMobileBrowser as q } from "agilebuilder-ui/src/utils/common-util";
|
|
9
|
+
import J from "../../../../utils/eventBus.js";
|
|
10
|
+
import { $t as M } from "../../../../utils/i18n-util.js";
|
|
11
|
+
import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
|
|
12
12
|
const L = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: L2 }) {
|
|
13
13
|
var _a, _b, _c;
|
|
14
|
-
const
|
|
15
|
-
let
|
|
16
|
-
if (
|
|
17
|
-
const e3 = V(A
|
|
18
|
-
e3 && (
|
|
14
|
+
const A = e2, B = A.pageContext.entity ? A.pageContext.entity : {}, F = n("text");
|
|
15
|
+
let $ = T(A.pageContext, A.configure);
|
|
16
|
+
if (A.pageContext.modelFieldsMap) {
|
|
17
|
+
const e3 = V($, A.pageContext);
|
|
18
|
+
e3 && (F.value = h(e3.dataType) ? "number" : "text");
|
|
19
19
|
}
|
|
20
|
-
const E =
|
|
21
|
-
b(
|
|
22
|
-
} }), K =
|
|
23
|
-
let
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
let
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
const E = n(q()), H = A.pageContext.code, U = n($ && $.length > 0 ? H + "__" + $.join("__") : null), W = n(null), G = t({ get: () => _(B, $), set(e3) {
|
|
21
|
+
b(B, $, e3), null != e3 && "" !== e3 && (W.value = "");
|
|
22
|
+
} }), K = n(null), Q = n(null), X = n(null), Y = A.configure.runtime ? A.configure.runtime : {}, Z = n(Y.props ? Y.props : {}), ee = n(!!((_a = Z.value.scan) == null ? void 0 : _a.enable));
|
|
23
|
+
let ne = false;
|
|
24
|
+
const te = window.localStorage.getItem("auth_source");
|
|
25
|
+
te && "dingtalk" === te && (ne = true);
|
|
26
|
+
let le = "";
|
|
27
|
+
const oe = navigator.userAgent;
|
|
28
|
+
le = oe.indexOf("Html5Plus") > 0 ? "app" : "browser";
|
|
29
|
+
const ae = !(!E.value || !le || "app" !== le), ue = n(!!((ae || ne) && ee.value || E.value && ee.value && "https:" === window.location.protocol));
|
|
30
|
+
let ie = {};
|
|
30
31
|
((_b = Z.value.scan) == null ? void 0 : _b.enable) && ((_c = Z.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (O(Z.value.scan.ruleList).then((e3) => {
|
|
31
|
-
|
|
32
|
+
ie = e3;
|
|
32
33
|
}), u(() => G.value, (e3) => {
|
|
33
34
|
e3 = e3.trim();
|
|
34
|
-
const
|
|
35
|
-
|
|
35
|
+
const n2 = P(e3, ie);
|
|
36
|
+
n2 && D(A.pageContext, n2.scanSet, n2.params);
|
|
36
37
|
}));
|
|
37
|
-
const
|
|
38
|
-
function
|
|
39
|
-
return b(
|
|
38
|
+
const re = Y.style, se = Y.class, ce = Y.headerStyle, pe = Y.titleExceedStyle;
|
|
39
|
+
function ve(e3) {
|
|
40
|
+
return b(B, $, e3);
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
l(() => {
|
|
43
|
+
J.$on(U.value + "-scanDone", (e3) => {
|
|
44
|
+
console.log("superPage4444---scanDone--componentId.value=", U.value, "data=", JSON.stringify(e3)), ve(e3.result), S(e3.result, A.pageContext, A.configure, "afterScanDone");
|
|
44
45
|
}), o(() => {
|
|
45
46
|
var _a2;
|
|
46
47
|
const e3 = G.value;
|
|
47
|
-
j(e3,
|
|
48
|
-
});
|
|
48
|
+
j(e3, A.pageContext, A.configure, { formItemRef: K.value, componentRef: Q.value, titleRef: X.value, value: e3, entity: A.pageContext.entity.data, pageData: A.pageContext.entity.page }), ue.value && ((_a2 = Z.value.scan) == null ? void 0 : _a2.autoOpen) && ge();
|
|
49
|
+
}), console.log("input-text");
|
|
49
50
|
}), a(() => {
|
|
50
|
-
|
|
51
|
+
J.$off(U.value + "-scanDone");
|
|
51
52
|
});
|
|
52
|
-
const
|
|
53
|
-
function
|
|
54
|
-
if (
|
|
55
|
-
const e3 = { type: "scan", componentId: U.value, systemCode:
|
|
56
|
-
|
|
57
|
-
} else if (E.value) if ("https:" === window.location.protocol)
|
|
53
|
+
const fe = n(false);
|
|
54
|
+
function ge() {
|
|
55
|
+
if (console.log("scanClick----userAgent=", le), ae || ne) {
|
|
56
|
+
const e3 = { type: "scan", componentId: U.value, systemCode: A.pageContext.systemCode };
|
|
57
|
+
ne && (e3.type = "dingTalkScan"), window.parent.parent ? (console.log("scanClick----window.parent.parent", window.parent.parent), window.parent.parent.postMessage(JSON.stringify(e3), "*")) : window.parent && (console.log("scanClick----window.parent", window.parent), window.parent.postMessage(JSON.stringify(e3), "*"));
|
|
58
|
+
} else if (E.value) if ("https:" === window.location.protocol) fe.value = true;
|
|
58
59
|
else {
|
|
59
|
-
const e3 = { type: "scan", componentId: U.value, systemCode:
|
|
60
|
+
const e3 = { type: "scan", componentId: U.value, systemCode: A.pageContext.systemCode };
|
|
60
61
|
window.parent.postMessage(JSON.stringify(e3), "*");
|
|
61
62
|
}
|
|
62
|
-
else
|
|
63
|
+
else fe.value = true;
|
|
63
64
|
}
|
|
64
|
-
function
|
|
65
|
-
|
|
65
|
+
function me(e3) {
|
|
66
|
+
fe.value = false, ve(e3);
|
|
66
67
|
}
|
|
67
68
|
return L2({ getValue: function() {
|
|
68
|
-
return _(
|
|
69
|
-
}, setValue:
|
|
70
|
-
W.value =
|
|
71
|
-
} }), (e3,
|
|
72
|
-
const
|
|
73
|
-
return s(), r(o2, { ref_key: "formItemRef", ref: K, required: !!Z.value.required, class:
|
|
74
|
-
let
|
|
75
|
-
null !=
|
|
76
|
-
}(e4)), onFocus:
|
|
69
|
+
return _(B, $);
|
|
70
|
+
}, setValue: ve, scanClick: ge, addRequiredClass: function() {
|
|
71
|
+
W.value = z();
|
|
72
|
+
} }), (e3, n2) => {
|
|
73
|
+
const t2 = i("el-input"), l2 = i("scan-code-input-browser"), o2 = i("el-form-item");
|
|
74
|
+
return s(), r(o2, { ref_key: "formItemRef", ref: K, required: !!Z.value.required, class: p(v(se) + (W.value ? " " + W.value : "")), "label-width": Z.value.labelWidth, style: c(v(re)) }, f({ default: g(() => [m(t2, { ref_key: "componentRef", ref: Q, disabled: "disabled" === Z.value.state, readonly: "readonly" === Z.value.state, size: Z.value.size, clearable: Z.value.clearable, placeholder: Z.value.placeholder, maxlength: Z.value.maxLength, "show-word-limit": Z.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": n2[5] || (n2[5] = (e4) => G.value = e4), onInput: n2[6] || (n2[6] = (n3) => v(S)(n3, e3.pageContext, e3.configure, "input")), onChange: n2[7] || (n2[7] = (n3) => v(S)(n3, e3.pageContext, e3.configure, "change")), onBlur: n2[8] || (n2[8] = (e4) => function(e5) {
|
|
75
|
+
let n3 = _(B, $);
|
|
76
|
+
null != n3 && (n3 = n3.trim()), b(B, $, n3), S(e5, A.pageContext, A.configure, "blur");
|
|
77
|
+
}(e4)), onFocus: n2[9] || (n2[9] = (n3) => v(S)(n3, e3.pageContext, e3.configure, "focus")), onClick: n2[10] || (n2[10] = (n3) => v(S)(n3, e3.pageContext, e3.configure, "click")), onClear: n2[11] || (n2[11] = (n3) => v(S)(n3, e3.pageContext, e3.configure, "clear")) }, f({ _: 2 }, ["outer" != Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prefix", fn: g(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(I), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: n2[0] || (n2[0] = (n3) => v(R)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(M)(Z.value.preText)), 1)]), key: "0" } : void 0, "outer" == Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prepend", fn: g(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(I), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: n2[1] || (n2[1] = (n3) => v(R)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(M)(Z.value.preText)), 1)]), key: "1" } : void 0, "outer" != Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "suffix", fn: g(() => [Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(I), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: n2[2] || (n2[2] = (n3) => v(R)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(M)(Z.value.sufText)), 1)]), key: "2" } : void 0, ue.value || "outer" == Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "append", fn: g(() => [ue.value ? (s(), r(v(I), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: n2[3] || (n2[3] = (e4) => ge()) })) : y("", true), Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(I), { key: 1, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: n2[4] || (n2[4] = (n3) => v(R)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(M)(Z.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), fe.value ? (s(), r(l2, { key: 0, onClose: me })) : y("", true)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: g(() => [C("div", { ref_key: "titleRef", ref: X, class: "amb-form-item-label", style: c({ ...v(ce), ...v(pe) }) }, [Z.value.prefixType ? (s(), r(N, { key: 0, pageContext: e3.pageContext, property: Z.value }, null, 8, ["pageContext", "property"])) : (s(), w(k, { key: 1 }, [d(x(v(M)(Z.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
77
78
|
};
|
|
78
79
|
} });
|
|
79
80
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./label-runtime.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = r(e, [["__scopeId", "data-v-
|
|
4
|
+
const t = r(e, [["__scopeId", "data-v-40f0b5f4"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as o, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, createSlots as y, withCtx as g, createCommentVNode as m, createTextVNode as d } from "vue";
|
|
2
2
|
import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue as h, formatValueByType as k } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { SuperIcon as w } from "agilebuilder-ui";
|
|
5
5
|
import { getCustomFunc as T, handleAfterInitEvent as C, handleFormEvent as _ } from "../../../../utils/events/event-util.js";
|
|
6
6
|
import { $t as I } from "../../../../utils/i18n-util.js";
|
|
7
7
|
const b = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px" } }, V = { style: { overflow: "hidden", "white-space": "nowrap" } }, j = ["title"], R = e({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: R2 }) {
|
|
8
|
-
const
|
|
9
|
-
let q = x(
|
|
10
|
-
const O =
|
|
11
|
-
const B = t(W.value.options ? W.value.options : []), G = W.value.formatType
|
|
12
|
-
|
|
8
|
+
const P = e2, S = P.pageContext.entity ? P.pageContext.entity : {};
|
|
9
|
+
let q = x(P.pageContext, P.configure);
|
|
10
|
+
const O = P.configure.runtime ? P.configure.runtime : {}, A = O.style, z = O.class, D = O.headerStyle, E = O.appendClass, F = O.appendStyle, N = O.titleExceedStyle, W = t(O.props ? O.props : {});
|
|
11
|
+
const B = t(W.value.options ? W.value.options : []), G = W.value.formatType;
|
|
12
|
+
console.log("designProperty.value", W.value);
|
|
13
|
+
const H = l(() => {
|
|
14
|
+
let e3 = h(S, q);
|
|
13
15
|
if (G) if (W.value.hasOptions) {
|
|
14
16
|
let t2 = null;
|
|
15
17
|
B.value && (t2 = B.value.filter((t3) => t3.value == e3)), t2 && t2.length > 0 && (e3 = t2[0].label);
|
|
16
18
|
} else if ("custom" === G) {
|
|
17
|
-
const t2 = T(
|
|
18
|
-
t2 && (e3 = t2.apply(t2, [{ pageContext:
|
|
19
|
+
const t2 = T(P.pageContext, W.value.formatFunc);
|
|
20
|
+
t2 && (e3 = t2.apply(t2, [{ pageContext: P.pageContext, configureObj: P.configure, value: e3 }]));
|
|
19
21
|
} else e3 = k(e3, G, W.value);
|
|
20
22
|
return e3 = null == e3 ? "" : e3, e3;
|
|
21
23
|
}), J = t(null), K = t(null), L = t(null);
|
|
22
24
|
return n(() => {
|
|
23
25
|
a(() => {
|
|
24
26
|
const e3 = H.value;
|
|
25
|
-
C(e3,
|
|
27
|
+
C(e3, P.pageContext, P.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
|
|
26
28
|
});
|
|
27
29
|
}), R2({ updateOptions: function(e3) {
|
|
28
30
|
B.value = e3 || [];
|
|
29
31
|
} }), (e3, t2) => {
|
|
30
32
|
const l2 = u("el-form-item");
|
|
31
|
-
return W.value.whetherTittle ? (s(),
|
|
33
|
+
return W.value.whetherTittle ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: L, class: r(f(z)), style: p(f(A)) }, [c("div", b, v(W.value.title), 1)], 6)) : W.value.tittleShow ? (s(), i(l2, { key: 1, ref_key: "formItemRef", ref: J, required: !!W.value.required, class: r([f(z), W.value.contentAlign ? "form-item-align-" + W.value.contentAlign : "formNo" === W.value.showType ? "form-item-align-flex-end" : ""]), "label-width": W.value.labelWidth, style: p(f(A)) }, y({ default: g(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: t2[0] || (t2[0] = (t3) => f(_)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", V, [W.value.preIconValue || W.value.preText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != W.value.iconPosition, "el-input-group__append": "outer" == W.value.iconPosition }), style: p(f(F)) }, [W.value.preIconType && W.value.preIconValue ? (s(), i(f(w), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + v(f(I)(W.value.preText)), 1)], 6)) : m("", true), d(" " + v(H.value), 1)]), W.value.sufIconValue || W.value.sufText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != W.value.iconPosition, "el-input-group__append": "outer" == W.value.iconPosition }) }, [W.value.sufIconType && W.value.sufIconValue ? (s(), i(f(w), { key: 0, style: {}, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : m("", true), c("span", null, " " + v(f(I)(W.value.sufText)), 1)], 2)) : m("", true)], 512)]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: g(() => [c("div", { ref_key: "titleRef", ref: L, style: p({ ...f(D), ...f(N) }) }, v(f(I)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : (s(), o("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(_)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(W.value.prefixIcon) + " " + v(H.value), 9, j), W.value.suffixTxt ? (s(), o("span", { key: 0, class: r(f(E)), style: p(f(F)) }, v(W.value.suffixTxt), 7)) : m("", true)]));
|
|
32
34
|
};
|
|
33
35
|
} });
|
|
34
36
|
export {
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as
|
|
2
|
-
import { getFormModelFields as
|
|
3
|
-
import { getVariableValue as
|
|
4
|
-
import { handleAfterInitEvent as
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as i, resolveComponent as a, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, createSlots as c, withCtx as f, createVNode as g, createCommentVNode as d, createTextVNode as m, toDisplayString as v, createElementVNode as y } from "vue";
|
|
2
|
+
import { getFormModelFields as b } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { getVariableValue as k } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { handleAfterInitEvent as x, handleEvent as C } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import { $t as _ } from "../../../../utils/i18n-util.js";
|
|
6
6
|
import { SuperIcon as h } from "agilebuilder-ui";
|
|
7
7
|
import { analysisValue as R } from "agilebuilder-ui/src/utils/util";
|
|
8
8
|
const T = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
9
9
|
var _a;
|
|
10
|
-
const T2 = e2, j =
|
|
10
|
+
const T2 = e2, j = b(T2.pageContext, T2.configure), w = T2.configure.runtime ? T2.configure.runtime : {}, P = w.style, V = w.class, I = w.headerStyle, S = t(w.props ? w.props : {});
|
|
11
|
+
console.log("designProperty", S.value);
|
|
12
|
+
const $ = t();
|
|
11
13
|
((_a = T2.configure.props) == null ? void 0 : _a.linkPage) && ($.value = T2.configure.props.linkPage);
|
|
12
14
|
let q = S.value.formatting;
|
|
13
15
|
const D = T2.pageContext.entity ? T2.pageContext.entity : {}, J = l(() => {
|
|
14
16
|
var _a2;
|
|
15
|
-
let e3 =
|
|
17
|
+
let e3 = k(D, j);
|
|
16
18
|
if (e3 = null == e3 || null == e3 ? "" : e3, q) e3 = q.replace(/\${value}/g, e3);
|
|
17
19
|
else if ($.value && $.value.displayTextJudge && ((_a2 = $.value.dynamicTags) == null ? void 0 : _a2.length) > 0) {
|
|
18
20
|
const e4 = R($.value.dynamicTags.join("-#-#"), D.data, D.request, D.context, T2.pageContext);
|
|
@@ -22,18 +24,18 @@ const T = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} },
|
|
|
22
24
|
});
|
|
23
25
|
let W = S.value.tooltip, z = null;
|
|
24
26
|
W && (z = l(() => {
|
|
25
|
-
let e3 =
|
|
27
|
+
let e3 = k(D, j);
|
|
26
28
|
return e3 = null == e3 || null == e3 ? "" : e3, W.replace(/\${value}/g, e3);
|
|
27
29
|
}));
|
|
28
30
|
const A = t(null), B = t(null), E = t(null);
|
|
29
|
-
return
|
|
30
|
-
|
|
31
|
+
return n(() => {
|
|
32
|
+
i(() => {
|
|
31
33
|
const e3 = J.value;
|
|
32
|
-
|
|
34
|
+
x(e3, T2.pageContext, T2.configure, { formItemRef: A.value, componentRef: B.value, titleRef: E.value, value: e3, entity: T2.pageContext.entity.data, pageData: T2.pageContext.entity.page });
|
|
33
35
|
});
|
|
34
36
|
}), (e3, t2) => {
|
|
35
|
-
const l2 = a("el-link"),
|
|
36
|
-
return o(), u(
|
|
37
|
+
const l2 = a("el-link"), n2 = a("el-tooltip"), i2 = a("el-form-item");
|
|
38
|
+
return o(), u(i2, { ref_key: "formItemRef", ref: A, class: s(p(V)), "label-width": S.value.labelWidth, style: r(p(P)) }, c({ default: f(() => [g(n2, { disabled: !p(z), content: p(z) }, { default: f(() => [g(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: t2[0] || (t2[0] = (t3) => p(C)(t3, e3.pageContext, e3.configure, "click", { skipValidate: true })) }, { default: f(() => [$.value ? (o(), u(p(h), { key: 0, iconType: $.value.iconType, iconValue: $.value.icon }, null, 8, ["iconType", "iconValue"])) : d("", true), m(" " + v(J.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 2 }, [S.value.tittleShow ? { name: "label", fn: f(() => [y("div", { ref_key: "titleRef", ref: E, style: r({ ...p(I) }), class: "amb-form-item-label" }, v(p(_)(S.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "label-width", "style"]);
|
|
37
39
|
};
|
|
38
40
|
} });
|
|
39
41
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as n, onMounted as a, nextTick as u, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as f, normalizeClass as p, unref as c, createSlots as g, withCtx as v, createVNode as d, createElementBlock as m, Fragment as h, renderList as
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as n, onMounted as a, nextTick as u, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as f, normalizeClass as p, unref as c, createSlots as g, withCtx as v, createVNode as d, createElementBlock as m, Fragment as h, renderList as b, createTextVNode as y, toDisplayString as C, createElementVNode as x } from "vue";
|
|
2
2
|
import { setVariableValue as k, getVariableValue as _, getOptionDatasFromPage as S, autoSetAfterSelect as R, queryOptionDatasources as j } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { getFormModelFields as T } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { handleFormEvent as I, handleAfterInitEvent as q } from "../../../../utils/events/event-util.js";
|
|
@@ -47,6 +47,7 @@ const z = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
|
|
|
47
47
|
Z && clearTimeout(Z), Z = setTimeout(function() {
|
|
48
48
|
const e3 = X();
|
|
49
49
|
e3 != Y && (Y = e3, j(O.pageContext, ee, void 0).then((e4) => {
|
|
50
|
+
console.log("查询失败!", e4);
|
|
50
51
|
}));
|
|
51
52
|
}, 200);
|
|
52
53
|
}
|
|
@@ -74,7 +75,7 @@ const z = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
|
|
|
74
75
|
}
|
|
75
76
|
} }), (e3, t2) => {
|
|
76
77
|
const l2 = i("el-radio"), o2 = i("el-radio-group"), n2 = i("el-form-item");
|
|
77
|
-
return s(), r(n2, { ref_key: "formItemRef", ref: le, required: B.value.required, class: p(c(U) + (D.value ? " " + D.value : "")), "label-width": B.value.labelWidth, style: f(c(F)) }, g({ default: v(() => [d(o2, { ref_key: "componentRef", ref: oe, disabled: "disabled" === B.value.state, size: B.value.size, onChange: B.value.changeMethod, modelValue: P.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => P.value = e4) }, { default: v(() => [(s(true), m(h, null,
|
|
78
|
+
return s(), r(n2, { ref_key: "formItemRef", ref: le, required: B.value.required, class: p(c(U) + (D.value ? " " + D.value : "")), "label-width": B.value.labelWidth, style: f(c(F)) }, g({ default: v(() => [d(o2, { ref_key: "componentRef", ref: oe, disabled: "disabled" === B.value.state, size: B.value.size, onChange: B.value.changeMethod, modelValue: P.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => P.value = e4) }, { default: v(() => [(s(true), m(h, null, b(G.value, (t3) => (s(), r(l2, { key: t3.value, label: t3.value, onClick: (l3) => c(I)(t3.value, e3.pageContext, e3.configure, "click", { values: P.value }) }, { default: v(() => [y(C(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [B.value.tittleShow ? { name: "label", fn: v(() => [x("div", { ref_key: "titleRef", ref: ne, style: f({ ...c($), ...c(A) }), class: "amb-form-item-label" }, C(c(V)(B.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
78
79
|
};
|
|
79
80
|
} });
|
|
80
81
|
export {
|
|
@@ -2,7 +2,7 @@ import t from "./richtext-runtime.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const r = e(t, [["__scopeId", "data-v-
|
|
5
|
+
const r = e(t, [["__scopeId", "data-v-faf97d0c"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, watch as n, onMounted as l, nextTick as o, onBeforeUnmount as i, resolveComponent as a, createElementBlock as r, openBlock as u, Fragment as s, createVNode as c, createBlock as d, createCommentVNode as p, normalizeStyle as f, normalizeClass as m, unref as v, createSlots as g, withCtx as h, createElementVNode as b, toDisplayString as y } from "vue";
|
|
2
2
|
import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
|
|
3
|
-
import { getSizeConfig as
|
|
3
|
+
import { getSizeConfig as w, formatVariableValue as k, getVariableValue as C, setVariableValue as q } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as T, handleFormEvent as S } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import E from "agilebuilder-ui/src/utils/request";
|
|
6
6
|
import { $t as A } from "../../../../utils/i18n-util.js";
|
|
@@ -14,10 +14,10 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
14
14
|
const D = [false, "Source Han Sans CN", "SimSun", "SimHei", "Microsoft YaHei", "KaiTi", "FangSong", "Arial", "Times New Roman", "Verdana", "Georgia", "Courier New"], W = M.import("attributors/style/font");
|
|
15
15
|
W.whitelist = D, M.register(W, true);
|
|
16
16
|
const P = e2, G = t(""), I = P.pageContext.entity ? P.pageContext.entity : {}, K = x(P.pageContext, P.configure), O = P.configure.runtime ? P.configure.runtime : {}, Y = O.style, J = O.class, Q = O.headerStyle, X = O.titleExceedStyle, Z = t(O.props ? O.props : {});
|
|
17
|
-
let ee =
|
|
17
|
+
let ee = w(P.pageContext, P.configure);
|
|
18
18
|
ee && ee.fixHeight && (Y.height || (Y.height = ee.fixHeight + "px"));
|
|
19
19
|
let te = Z.value.value;
|
|
20
|
-
const ne =
|
|
20
|
+
const ne = k(P.pageContext, te), le = t(null);
|
|
21
21
|
let oe = null;
|
|
22
22
|
const ie = t(false), ae = t(0), re = t(false), ue = t(false), se = t("");
|
|
23
23
|
let ce = null, de = Z.value.state;
|
|
@@ -42,8 +42,8 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
const ge = t([]), he = t(false), be = t(null), ye = t(null), xe = t(null);
|
|
45
|
-
let
|
|
46
|
-
function
|
|
45
|
+
let we = null;
|
|
46
|
+
function ke(e3) {
|
|
47
47
|
const t2 = e3.match(/serverPath=([^&"]+)/);
|
|
48
48
|
return t2 ? t2[1] : "";
|
|
49
49
|
}
|
|
@@ -51,7 +51,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
51
51
|
if (!oe) return;
|
|
52
52
|
const t2 = function(e4) {
|
|
53
53
|
let t3 = e4.replace(/<img data-uuid="(.*?)"/g, (e5, t4) => {
|
|
54
|
-
const n3 =
|
|
54
|
+
const n3 = ke(t4), l2 = P.pageContext.backendUrl;
|
|
55
55
|
return `<img src="${L(l2, P.pageContext.isTest)}/common/fs-upload/download?serverPath=${n3}&isShowWatermark=false" data-uuid="${n3}"`;
|
|
56
56
|
});
|
|
57
57
|
return t3 = t3.replace(/\t/g, " "), t3 = t3.replace(/ {2}/g, " "), t3;
|
|
@@ -60,7 +60,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
60
60
|
if (!oe) return;
|
|
61
61
|
oe.root.querySelectorAll("img").forEach((e4) => {
|
|
62
62
|
if (!e4.getAttribute("data-uuid")) {
|
|
63
|
-
const t3 =
|
|
63
|
+
const t3 = ke(e4.src);
|
|
64
64
|
e4.setAttribute("data-uuid", t3);
|
|
65
65
|
}
|
|
66
66
|
});
|
|
@@ -81,7 +81,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
81
81
|
ae.value = e3.length;
|
|
82
82
|
}
|
|
83
83
|
function Ae() {
|
|
84
|
-
N.error({ message: "图片上传失败,请重试", duration: 3e3 });
|
|
84
|
+
console.warn("图片上传失败"), N.error({ message: "图片上传失败,请重试", duration: 3e3 });
|
|
85
85
|
}
|
|
86
86
|
function Le(e3) {
|
|
87
87
|
"Escape" === e3.key && ie.value && (ie.value = false, o(() => {
|
|
@@ -144,7 +144,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
144
144
|
if (!oe) return;
|
|
145
145
|
const t2 = oe.root.getElementsByTagName("img");
|
|
146
146
|
for (const e4 of t2) if (!e4.getAttribute("data-uuid")) {
|
|
147
|
-
const t3 =
|
|
147
|
+
const t3 = ke(e4.src);
|
|
148
148
|
e4.setAttribute("data-uuid", t3);
|
|
149
149
|
}
|
|
150
150
|
if (e3.ops && e3.ops.length > 0) for (const t3 of e3.ops) {
|
|
@@ -159,7 +159,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
159
159
|
const l2 = oe.root.getElementsByTagName("img");
|
|
160
160
|
for (const e6 of l2) e6.src === t4 && (e6.width = 300, e6.src = n2.url, e6.setAttribute("data-uuid", n2.uuid));
|
|
161
161
|
} catch (e5) {
|
|
162
|
-
Ae();
|
|
162
|
+
console.error("上传图片失败", e5), Ae();
|
|
163
163
|
} finally {
|
|
164
164
|
re.value = false;
|
|
165
165
|
}
|
|
@@ -173,14 +173,14 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
173
173
|
q(I, K, e4), e4 && (G.value = "");
|
|
174
174
|
}, 300);
|
|
175
175
|
}(), Ee();
|
|
176
|
-
}), Ee(),
|
|
176
|
+
}), Ee(), we = oe.container, we.addEventListener("click", Me), ve(), o(() => {
|
|
177
177
|
const e3 = C(I, K);
|
|
178
178
|
T(e3, P.pageContext, P.configure, { formItemRef: be.value, componentRef: ye.value, titleRef: xe.value, value: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
|
|
179
179
|
}));
|
|
180
180
|
}), l(() => {
|
|
181
181
|
document.addEventListener("keydown", Le);
|
|
182
182
|
}), i(() => {
|
|
183
|
-
document.removeEventListener("keydown", Le), ce && clearTimeout(ce), le.value && le.value.removeEventListener("focusout", He),
|
|
183
|
+
document.removeEventListener("keydown", Le), ce && clearTimeout(ce), le.value && le.value.removeEventListener("focusout", He), we && we.removeEventListener("click", Me);
|
|
184
184
|
}), B2({ addRequiredClass: function() {
|
|
185
185
|
G.value = H();
|
|
186
186
|
}, setContent: function(e3) {
|
|
@@ -188,10 +188,10 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
|
|
|
188
188
|
}, getContent: function() {
|
|
189
189
|
return oe ? oe.root.innerHTML : "";
|
|
190
190
|
} }), (e3, t2) => {
|
|
191
|
-
const n2 = a("View"), l2 = a("el-icon"), o2 = a("FullScreen"), i2 = a("Close"), x2 = a("el-form-item"),
|
|
192
|
-
return u(), r(s, null, [c(x2, { required: Z.value.required, class: m(v(J) + (G.value ? " " + G.value : "")), "label-width": Z.value.labelWidth, style: f(v(Y)) }, g({ default: h(() => [b("div", { class: m(["richtext-wrapper", { "is-fullscreen": ie.value }]) }, [b("div", { ref_key: "quillEditorRef", ref: le, style: { width: "100%" } }, null, 512), b("div", R, [b("button", { type: "button", class: "toolbar-btn", onClick: Se, title: "预览" }, [c(l2, null, { default: h(() => [c(n2)]), _: 1 })]), b("button", { type: "button", class: "toolbar-btn", onClick: Te, title: ie.value ? "退出全屏" : "全屏编辑" }, [ie.value ? (u(), d(l2, { key: 1 }, { default: h(() => [c(i2)]), _: 1 })) : (u(), d(l2, { key: 0 }, { default: h(() => [c(o2)]), _: 1 }))], 8, _)]), b("div", j, [b("span", V, "字数:" + y(ae.value), 1)]), re.value ? (u(), r("div", $, t2[2] || (t2[2] = [b("div", { class: "loading-spinner" }, null, -1), b("span", null, "图片上传中...", -1)]))) : p("", true)], 2)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: h(() => [b("div", { style: f({ ...v(Q), ...v(X) }) }, y(v(A)(Z.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), he.value ? (u(), d(
|
|
191
|
+
const n2 = a("View"), l2 = a("el-icon"), o2 = a("FullScreen"), i2 = a("Close"), x2 = a("el-form-item"), w2 = a("el-image-viewer"), k2 = a("el-dialog");
|
|
192
|
+
return u(), r(s, null, [c(x2, { required: Z.value.required, class: m(v(J) + (G.value ? " " + G.value : "")), "label-width": Z.value.labelWidth, style: f(v(Y)) }, g({ default: h(() => [b("div", { class: m(["richtext-wrapper", { "is-fullscreen": ie.value }]) }, [b("div", { ref_key: "quillEditorRef", ref: le, style: { width: "100%" } }, null, 512), b("div", R, [b("button", { type: "button", class: "toolbar-btn", onClick: Se, title: "预览" }, [c(l2, null, { default: h(() => [c(n2)]), _: 1 })]), b("button", { type: "button", class: "toolbar-btn", onClick: Te, title: ie.value ? "退出全屏" : "全屏编辑" }, [ie.value ? (u(), d(l2, { key: 1 }, { default: h(() => [c(i2)]), _: 1 })) : (u(), d(l2, { key: 0 }, { default: h(() => [c(o2)]), _: 1 }))], 8, _)]), b("div", j, [b("span", V, "字数:" + y(ae.value), 1)]), re.value ? (u(), r("div", $, t2[2] || (t2[2] = [b("div", { class: "loading-spinner" }, null, -1), b("span", null, "图片上传中...", -1)]))) : p("", true)], 2)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: h(() => [b("div", { style: f({ ...v(Q), ...v(X) }), class: "amb-form-item-label" }, y(v(A)(Z.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), he.value ? (u(), d(w2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
|
|
193
193
|
he.value = false;
|
|
194
|
-
}), "url-list": ge.value }, null, 8, ["url-list"])) : p("", true), c(
|
|
194
|
+
}), "url-list": ge.value }, null, 8, ["url-list"])) : p("", true), c(k2, { modelValue: ue.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ue.value = e4), title: "内容预览", width: "80%", "close-on-click-modal": true, "append-to-body": true, class: "richtext-preview-dialog" }, { default: h(() => [b("div", { class: "richtext-preview-content ql-editor", innerHTML: se.value }, null, 8, z)]), _: 1 }, 8, ["modelValue"])], 64);
|
|
195
195
|
};
|
|
196
196
|
} });
|
|
197
197
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./select-runtime.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const r = t(e, [["__scopeId", "data-v-f0e9b5f0"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|